-
Notifications
You must be signed in to change notification settings - Fork 1
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
feat: Meson & Stargate token API #211
Merged
Merged
Changes from all commits
Commits
Show all changes
42 commits
Select commit
Hold shift + click to select a range
517bf53
feat: Aggregate Meson API
Halibao-Lala 1744cd7
feat: Update meson token name, symbol and address
Halibao-Lala bcd6263
Merge branch 'server/stargateAPI' into feat/tokenApi1216
Halibao-Lala adb2607
feat: Stargate token aggregation
Halibao-Lala b930ad4
feat: Add more token info to token element
wenty22 9879ab1
Merge pull request #213 from bnb-chain/wenty/token-info
wenty22 30af8b3
chore: Release
wenty22 61cbb0e
fix: Modify optimism endpointID to 30111
wenty22 ef7a857
fix: Fix security issues
wenty22 7488a4b
feat: Use all chains for bridge
wenty22 9244015
chore: Update dockerfile
wenty22 320933b
Merge pull request #215 from bnb-chain/wenty/api
wenty22 8b2f3c3
chore: Update dockerfile
wenty22 ad8aa32
Merge pull request #216 from bnb-chain/wenty/api
wenty22 0aece29
Merge branch 'main' into feat/tokenApi1216
wenty22 18ad352
chore: Update dockerfile
wenty22 8e29d84
Merge pull request #217 from bnb-chain/wenty/api
wenty22 68a8453
chore: Update dockerfile
wenty22 c4f3ee7
feat: Update token element's info
wenty22 d037d3b
chore: Running app as a non-root user
wenty22 635b330
chore: Running app as a non-root user
wenty22 2f58d3c
Merge pull request #220 from bnb-chain/alpha/server
wenty22 2538636
feat: Remove duplicated tokens for stargate
wenty22 9db88fb
chore: Update code owners
wenty22 d13f59d
fix: Modify klaytn's rpc url
wenty22 008c36a
fix: Filter native token for meson
wenty22 7174249
fix: Remove duplicated token on meson
wenty22 7caf17e
fix: Fix meson token display symbol issue
wenty22 46c3814
fix: Fix tron does not display due to its id
wenty22 fb84eb5
fix: Fix tron does not display due to its id
wenty22 e19a76c
feat: Add cache time to server
wenty22 2cfa824
feat: Add cache time to server
wenty22 22ef9ea
feat: Remove simulation logic
wenty22 10212b5
feat: Handle adaptor error
Halibao-Lala 10d6a39
feat: Filter out stargate token without endpointID
Halibao-Lala 6a85850
fix: Fix stargate fee display issue
Halibao-Lala 9827ecd
feat: Add api error handler
Halibao-Lala 68de75d
chore: Add error return value
Halibao-Lala 0854dd5
chore: Display proper error messages
Halibao-Lala 003572b
chore: Remove error return value
Halibao-Lala 5d08223
fix: Fix stargate fee display text and handle api error
Halibao-Lala be8248c
chore: Remove unused files
Halibao-Lala 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
Validating CODEOWNERS rules …
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
* @aiden-cao @wenty22 @Halibao-Lala @doge95 | ||
* @aiden-cao @wenty22 @Halibao-Lala @doge95 @robot-ux |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
"@bnb-chain/canonical-bridge-widget": patch | ||
"@bnb-chain/canonical-bridge-sdk": patch | ||
--- | ||
|
||
Use stargate & meson api to fetch chain & token config |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
"@bnb-chain/canonical-bridge-widget": patch | ||
"@bnb-chain/canonical-bridge-sdk": patch | ||
--- | ||
|
||
Remove duplicated tokens for stargate |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@bnb-chain/canonical-bridge-widget": patch | ||
--- | ||
|
||
Fix stargate fee display and handle api error |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
"@bnb-chain/canonical-bridge-widget": patch | ||
"@bnb-chain/canonical-bridge-sdk": patch | ||
--- | ||
|
||
Update token element's info |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
"@bnb-chain/canonical-bridge-widget": patch | ||
"@bnb-chain/canonical-bridge-sdk": patch | ||
--- | ||
|
||
Fix meson token display symbol issue |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@bnb-chain/canonical-bridge-widget": patch | ||
--- | ||
|
||
Fix tron does not display due to its id |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"mode": "pre", | ||
"tag": "alpha", | ||
"initialVersions": { | ||
"@bnb-chain/canonical-bridge-sdk": "0.4.5", | ||
"@bnb-chain/canonical-bridge-widget": "0.5.15" | ||
}, | ||
"changesets": [ | ||
"bright-impalas-sniff", | ||
"dull-moose-deliver", | ||
"hungry-doors-lick", | ||
"itchy-dots-enjoy", | ||
"poor-kings-compete", | ||
"serious-cars-worry" | ||
] | ||
} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@bnb-chain/canonical-bridge-widget": patch | ||
--- | ||
|
||
Add more token info to token element |
This file contains 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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -60,6 +60,7 @@ | |
"tronwallet", | ||
"tronweb", | ||
"unauthenticate", | ||
"vconsole", | ||
"viem", | ||
"Wagmi", | ||
"walletkit" | ||
|
This file contains 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 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 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 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 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 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 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 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
15 changes: 15 additions & 0 deletions
15
apps/canonical-bridge-ui/core/components/VConsole/index.tsx
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import { useMemo } from 'react'; | ||
|
||
export function VConsole() { | ||
useMemo(async () => { | ||
if (typeof window !== 'undefined') { | ||
try { | ||
new (await import('vconsole')).default(); | ||
} catch (err) { | ||
// eslint-disable-next-line no-console | ||
console.log(`Init vconsole error!`, err); | ||
} | ||
} | ||
}, []); | ||
return null; | ||
} |
This file contains 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 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 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.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be dev env only?