-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(mayan): MayanBridgeFacet v1.0.0 (#606)
* update templates for deploy/update * Generate boilerplate for Mayan Bridge Facet * Add interface * Basic outline * Add constants * Initial tests * Use SDK to fetch accurate values for tests * Refactor to take fees from bridge token * Update tests * Update natspec * Deploy to staging * Create demo script * fix decimals for USDT on BSC * Update docs and scripts * Use wormhole chainIds * Redeploy * Use correct wormhole chainid * Redeploy to staging * Get wormhold mappings from storage * Remove unneeded param * fixes * Rename facet to work with backend naming conventions * Rename mayanBridgeData to mayanData * Fix base wormhole chain id * fix json * deploy to prod + test EVM -> Solana
- Loading branch information
Showing
25 changed files
with
1,454 additions
and
23 deletions.
There are no files selected for viewing
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,93 @@ | ||
{ | ||
"bridges": { | ||
"mainnet": { | ||
"bridge": "0xF3f04555f8FdA510bfC77820FD6eB8446f59E72d" | ||
}, | ||
"bsc": { | ||
"bridge": "0xF3f04555f8FdA510bfC77820FD6eB8446f59E72d" | ||
}, | ||
"polygon": { | ||
"bridge": "0xF3f04555f8FdA510bfC77820FD6eB8446f59E72d" | ||
}, | ||
"avalanche": { | ||
"bridge": "0xF3f04555f8FdA510bfC77820FD6eB8446f59E72d" | ||
}, | ||
"arbitrum": { | ||
"bridge": "0xF3f04555f8FdA510bfC77820FD6eB8446f59E72d" | ||
} | ||
}, | ||
"chains": [ | ||
{ | ||
"chainId": 1151111081099710, | ||
"wormholeChainId": 1 | ||
}, | ||
{ | ||
"chainId": 1, | ||
"wormholeChainId": 2 | ||
}, | ||
{ | ||
"chainId": 56, | ||
"wormholeChainId": 4 | ||
}, | ||
{ | ||
"chainId": 137, | ||
"wormholeChainId": 5 | ||
}, | ||
{ | ||
"chainId": 43114, | ||
"wormholeChainId": 6 | ||
}, | ||
{ | ||
"chainId": 4262, | ||
"wormholeChainId": 7 | ||
}, | ||
{ | ||
"chainId": 1313161554, | ||
"wormholeChainId": 9 | ||
}, | ||
{ | ||
"chainId": 250, | ||
"wormholeChainId": 10 | ||
}, | ||
{ | ||
"chainId": 686, | ||
"wormholeChainId": 11 | ||
}, | ||
{ | ||
"chainId": 787, | ||
"wormholeChainId": 12 | ||
}, | ||
{ | ||
"chainId": 8217, | ||
"wormholeChainId": 13 | ||
}, | ||
{ | ||
"chainId": 42220, | ||
"wormholeChainId": 14 | ||
}, | ||
{ | ||
"chainId": 1284, | ||
"wormholeChainId": 16 | ||
}, | ||
{ | ||
"chainId": 42161, | ||
"wormholeChainId": 23 | ||
}, | ||
{ | ||
"chainId": 10, | ||
"wormholeChainId": 24 | ||
}, | ||
{ | ||
"chainId": 100, | ||
"wormholeChainId": 25 | ||
}, | ||
{ | ||
"chainId": 8453, | ||
"wormholeChainId": 30 | ||
}, | ||
{ | ||
"chainId": 534352, | ||
"wormholeChainId": 34 | ||
} | ||
] | ||
} |
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
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
Oops, something went wrong.