Skip to content

Include new mainnet fork changes #1218

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 35 commits into from
Jun 28, 2024
Merged

Conversation

mcclurejt
Copy link
Contributor

No description provided.

jackburrus and others added 30 commits June 11, 2024 14:49
* check if shares is pegged

* move into variable
* show short apr after open

* adds short apr after open

* Rename label

* updates per comments
* check if closed longs

* fix total values for closed

* remove console log

* remove typecasting

* move total variable

* split into two hooks

* moved is loading

* adds enabled param
* Remove conversions from ReadStethHyperdrive and ReadWriteStethHyperdrive

* Create usePrepareSharesIn and usePrepareSharesOut

* minor cleanup in aisle useAccruedYield

* Update usePreviewOpenLong to prepare shares in

* Update usePreviewCloseLong to prepare shares out

* Update useMaxLong to prepare shares out

* Update useCloseLong to prepare shares in

* Update useOpenLong to prepare shares in

* Update useAddLiquidity to prepare shares in

* Update usePreviewAddLiquidity to prepare shares in

* Update usePreviewRedeemWithdrawalShares to convert shares out

* Update useRedeemWithdrawalShares to prepare shares in

* Update useRemoveLiquidity to prepare shares in

* Update usePreviewRemoveLiquidity to prepare shares in and out

* Update useMaxShort to prepare shares out

* Update useOpenShort to prepare shares in

* Update usePreviewOpenShort to prepare shares out

* Update useCloseShort to prepare shares in

* Update usePreviewCloseShort to prepare shares out

* Fix sign in prepareSharesOut

* Remove unnecessary extra conversions that caused loss of precision

* early return
* Upgrade to latest daisy

* Add texture svgs

* Darken backdrop on modals

* Add size prop to LabelValue

* Add size and horizontal props to Stat

* Add modalHeader prop to Modal

* Remove Well from TransactionPreview component

* Add header to open long modal

* Re-organize the OpenLongPreview, put market impact in daisy-collapse

* Refactor to ModalHeader component

* Fix layout shift on focus

* Add xsmall size to Stat component

* move getRemainingTimeLabel to own file

* Refactor CloseLongForm and CloseLongModalButton to use new modal style

* Create base component for CollapseSection

* Refactor OpenShort

* Refactor Close Short

* Tweak stat size

* Add '.00' if rate is a whole number

* tweak spacing

* Slightly dim the before text color for market impact

* Refactor Add Liquidity modal

* Refactor Remove liquidity form

* Refactor withdrawal shares

* Throw error in getSubheadingLabel utils

* inline
* throw test error

* updates per comments
* Fix gap when using stat without a label

* Prevent wrapping by using condensed label

* Simplify props to just what's used

* Code cleanups

* Polish Term Completed badges in close modals

* Add docblock
* add step to README

* add bridge page

* add gopher package

* cleanup
* Add VPN page

* Remove pasted code from trm message

* Add restricted countries route
* add gopher dependency

* move this to the consumer

* use index for file names, ignore out dir

* add hooks

* add stats to bridge page.

* update hooks to match repo style

* flatten, use makeQueryKey

* prevent error

TS18003: No inputs were found in config file
* Polish tooltips in OpenLong and OpenShort previews

* Remove bolding

* Make the text color less bright on zeros when empty state in OpenLongPreview

* Update tooltips and text brightness on OpenShortPreview

* Cleanup layout in AddLiquidityPreview, fix active color on LP stat

* Show market short rate by default in Open Short preview

* Indent balances for easier scanning

* Flip condition
* Re-use type

* Add Your Transaction table

* Remove unused z index

* Default to all transactions if no account connected
* add gopher stubs

* add comment
* updates connect button

* version picker added

* version picker cleanup

* cleanup

* updates per comments
* add ui to switch to bridge modal

* refactor OpenLongModal

* add BridgeAssetsModal

* allow multi modal mode

* toggle between modal uis

* put behind feature flag
* capitalize delv

* cap github
* Update artifacts to 1.0.12

* Update appconfig

* Add missing field to 42069 config.

* Fix SDK types

* Update hyperwasm

* Final fixes
* Add link to v1.0.6 pools in version picker"

* Add link to v1.0.6 pools in version picker, remove version picker from behind feature flag
sentilesdal and others added 5 commits June 26, 2024 14:13
* Add registry address for mainnet and generation script

* Build appconfig for mainnet

* Bump husky version, use npx

---------

Co-authored-by: Ryan Goree <[email protected]>
Copy link

vercel bot commented Jun 28, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
hyperdrive-mainnet-production ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 28, 2024 5:08am
hyperdrive-mainnet-staging ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 28, 2024 5:08am
hyperdrive-sepolia-production ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 28, 2024 5:08am
hyperdrive-sepolia-staging ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 28, 2024 5:08am
testnet-v1 ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 28, 2024 5:08am
testnet-v1.0.6 ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 28, 2024 5:08am
2 Ignored Deployments
Name Status Preview Comments Updated (UTC)
hyperdrive-js ⬜️ Ignored (Inspect) Jun 28, 2024 5:08am
trading-competition ⬜️ Ignored (Inspect) Jun 28, 2024 5:08am

Copy link

changeset-bot bot commented Jun 28, 2024

⚠️ No Changeset found

Latest commit: a5b4515

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants