-
Notifications
You must be signed in to change notification settings - Fork 3
Add option to buy or sell eth #730
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
Changes from all commits
Commits
Show all changes
49 commits
Select commit
Hold shift + click to select a range
bd22d14
Add Eth to token config
ebma 3b16b33
Add support for onramping ETH
ebma 992f38b
Fix quote for offramping ETH
ebma 3d707e6
Fix quote for on and offramping ETH
ebma 4531527
Adjust decimals in exchange rate to accommodate lower numbers
ebma 40481a7
Change wording of errors
ebma 1a58074
Change logging of error
ebma 1a6ed70
Add function to derive max decimals for token symbol
ebma a511693
Ensure that the max decimals are always reflected for the NumericInput
ebma 9c28fe2
Remove log
ebma 26a95e8
Merge branch 'staging' into 719-add-option-to-buy-or-sell-eth
ebma 0fe8816
Merge branch 'staging' into 719-add-option-to-buy-or-sell-eth
ebma 2e20ba3
Add support for native token balances in on-chain token hooks
ebma c42de5f
Fix query for evm and assethub native token
ebma 33c1ff8
Fix wrong validator called for brl offramp
ebma 17f5fd7
Fix rampId not passed in calls to API endpoints
ebma e8a5c9a
Add support for native token transfers by skipping approval checks
ebma b7a73df
Add network icons for eth
ebma e67c9b4
Streamline `updateRamp` and `startRamp` endpoints with respect to pas…
ebma 360b6c8
Fix wrong input amount used for nabla swap in non-stablecoin case
ebma 789a551
Improve check if token arrived for pendulumToMoonbeam phase
ebma 85fab1a
Adjust token types and add new type `pendulumRepresentative`
ebma fac47c6
Use correct currency for nabla currency conversions related to soft a…
ebma 1cddf01
Fix compilation issue
ebma 3541ba5
Fix type issue
ebma fc4cb59
Fix wrong configuration of ETH on BSC and show 6 decimals for non-sta…
ebma 56825f9
Remove unnecessary } from logged messages
ebma 1127604
Adjust error message
ebma dd45c45
Query status from squidrouter
ebma 8ecffd9
Adjust error message
ebma cd90498
Fix wrong import
ebma ad0651c
Fix 'includes' config of biome too strict
ebma 04e6879
Define `bun` as packageManager in package.json
ebma bc0b97f
Remove logs
ebma 6e46dce
Simplify
ebma 57e53e2
Adjust decimals shown for eth to `4`
ebma 2196eff
Fix typo
ebma 5d7d2c8
Show warning for max amount of native token
ebma 95e6b1a
Change log
ebma fa51b48
Refactor functions in gross-output.ts
ebma 2978fa1
Refactor inputAmountForNablaSwap function
ebma 4596e36
Remove some type assertions
ebma ee30ad6
Adjust comment
ebma ebd23c5
Refactor NumericInput component to use imported trimToMaxDecimals fun…
ebma fa602e5
Refactor number handling to use Big.js consistently and simplify deci…
ebma bff584e
Revert change in useOnchainTokenBalance.ts
ebma 91cb2d4
Refactor useEvmNativeBalance and useAssetHubNativeBalance hooks to re…
ebma c92e1f1
Simplify error
ebma 6051710
Fix conditions to include native tokens
ebma File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.