bridge_ui: terra2 mainnet beta

This commit is contained in:
Evan Gray 2022-06-22 15:28:39 +00:00 committed by Evan Gray
parent 3a20c774f0
commit e6bbf58743
5 changed files with 28 additions and 21 deletions

View File

@ -8,7 +8,7 @@
"name": "test_ui",
"version": "0.1.0",
"dependencies": {
"@certusone/wormhole-sdk": "^0.4.3",
"@certusone/wormhole-sdk": "^0.4.4",
"@material-ui/core": "^4.12.2",
"@material-ui/icons": "^4.11.2",
"@material-ui/lab": "^4.0.0-alpha.60",
@ -2132,9 +2132,9 @@
}
},
"node_modules/@certusone/wormhole-sdk": {
"version": "0.4.3",
"resolved": "https://registry.npmjs.org/@certusone/wormhole-sdk/-/wormhole-sdk-0.4.3.tgz",
"integrity": "sha512-2rjH30gzbSWsMBcUOHT1ql9/1x5R2/WQwXFATU/9Vg3qcTKJn8z/kbvU/doHAHuX4OYeoFj3QXQ3qDuwkJl3ig==",
"version": "0.4.4",
"resolved": "https://registry.npmjs.org/@certusone/wormhole-sdk/-/wormhole-sdk-0.4.4.tgz",
"integrity": "sha512-3/7nuNEMWIZU0LnjvMqRxcoVKo34Cw9VFt/QE9fWRtVFY3PFrYGmdBSAIYjH6JZ73jQj/CawKFCoRr0SLjrPxw==",
"dependencies": {
"@improbable-eng/grpc-web": "^0.14.0",
"@solana/spl-token": "^0.1.8",
@ -46765,9 +46765,9 @@
}
},
"@certusone/wormhole-sdk": {
"version": "0.4.3",
"resolved": "https://registry.npmjs.org/@certusone/wormhole-sdk/-/wormhole-sdk-0.4.3.tgz",
"integrity": "sha512-2rjH30gzbSWsMBcUOHT1ql9/1x5R2/WQwXFATU/9Vg3qcTKJn8z/kbvU/doHAHuX4OYeoFj3QXQ3qDuwkJl3ig==",
"version": "0.4.4",
"resolved": "https://registry.npmjs.org/@certusone/wormhole-sdk/-/wormhole-sdk-0.4.4.tgz",
"integrity": "sha512-3/7nuNEMWIZU0LnjvMqRxcoVKo34Cw9VFt/QE9fWRtVFY3PFrYGmdBSAIYjH6JZ73jQj/CawKFCoRr0SLjrPxw==",
"requires": {
"@improbable-eng/grpc-web": "^0.14.0",
"@solana/spl-token": "^0.1.8",

View File

@ -3,7 +3,7 @@
"version": "0.1.0",
"private": true,
"dependencies": {
"@certusone/wormhole-sdk": "^0.4.3",
"@certusone/wormhole-sdk": "^0.4.4",
"@material-ui/core": "^4.12.2",
"@material-ui/icons": "^4.11.2",
"@material-ui/lab": "^4.0.0-alpha.60",

View File

@ -122,6 +122,11 @@ export const CHAINS: ChainInfo[] =
name: "Terra Classic",
logo: terraIcon,
},
{
id: CHAIN_ID_TERRA2,
name: "Terra",
logo: terra2Icon,
},
]
: CLUSTER === "testnet"
? [
@ -244,7 +249,9 @@ export const CHAINS: ChainInfo[] =
},
];
export const BETA_CHAINS: ChainId[] =
CLUSTER === "mainnet" ? [CHAIN_ID_ACALA, CHAIN_ID_KLAYTN] : [];
CLUSTER === "mainnet"
? [CHAIN_ID_ACALA, CHAIN_ID_KLAYTN, CHAIN_ID_TERRA2]
: [];
export const CHAINS_WITH_NFT_SUPPORT = CHAINS.filter(
({ id }) =>
id === CHAIN_ID_AVAX ||
@ -809,15 +816,15 @@ export const TERRA_TOKEN_BRIDGE_ADDRESS =
: "terra10pyejy66429refv3g35g2t7am0was7ya7kz2a4";
export const TERRA2_BRIDGE_ADDRESS =
CLUSTER === "mainnet"
? ""
? CONTRACTS.MAINNET.terra2.core
: CLUSTER === "testnet"
? ""
? CONTRACTS.TESTNET.terra2.core
: "terra14hj2tavq8fpesdwxxcu44rty3hh90vhujrvcmstl4zr3txmfvw9ssrc8au";
export const TERRA2_TOKEN_BRIDGE_ADDRESS =
CLUSTER === "mainnet"
? ""
? CONTRACTS.MAINNET.terra2.token_bridge
: CLUSTER === "testnet"
? ""
? CONTRACTS.TESTNET.terra2.token_bridge
: "terra1nc5tatafv6eyq7llkr2gv50ff9e22mnf70qgjlv737ktmt4eswrquka9l6";
export const ALGORAND_BRIDGE_ID = BigInt(
CLUSTER === "mainnet" ? "0" : CLUSTER === "testnet" ? "86525623" : "4"

View File

@ -9,7 +9,7 @@
"version": "1.0.0",
"dependencies": {
"@celo-tools/celo-ethers-wrapper": "^0.1.0",
"@certusone/wormhole-sdk": "^0.4.3",
"@certusone/wormhole-sdk": "^0.4.4",
"@solana/web3.js": "^1.22.0",
"@terra-money/terra.js": "^3.1.3",
"axios": "^0.24.0",
@ -542,9 +542,9 @@
}
},
"node_modules/@certusone/wormhole-sdk": {
"version": "0.4.3",
"resolved": "https://registry.npmjs.org/@certusone/wormhole-sdk/-/wormhole-sdk-0.4.3.tgz",
"integrity": "sha512-2rjH30gzbSWsMBcUOHT1ql9/1x5R2/WQwXFATU/9Vg3qcTKJn8z/kbvU/doHAHuX4OYeoFj3QXQ3qDuwkJl3ig==",
"version": "0.4.4",
"resolved": "https://registry.npmjs.org/@certusone/wormhole-sdk/-/wormhole-sdk-0.4.4.tgz",
"integrity": "sha512-3/7nuNEMWIZU0LnjvMqRxcoVKo34Cw9VFt/QE9fWRtVFY3PFrYGmdBSAIYjH6JZ73jQj/CawKFCoRr0SLjrPxw==",
"dependencies": {
"@improbable-eng/grpc-web": "^0.14.0",
"@solana/spl-token": "^0.1.8",
@ -10933,9 +10933,9 @@
"requires": {}
},
"@certusone/wormhole-sdk": {
"version": "0.4.3",
"resolved": "https://registry.npmjs.org/@certusone/wormhole-sdk/-/wormhole-sdk-0.4.3.tgz",
"integrity": "sha512-2rjH30gzbSWsMBcUOHT1ql9/1x5R2/WQwXFATU/9Vg3qcTKJn8z/kbvU/doHAHuX4OYeoFj3QXQ3qDuwkJl3ig==",
"version": "0.4.4",
"resolved": "https://registry.npmjs.org/@certusone/wormhole-sdk/-/wormhole-sdk-0.4.4.tgz",
"integrity": "sha512-3/7nuNEMWIZU0LnjvMqRxcoVKo34Cw9VFt/QE9fWRtVFY3PFrYGmdBSAIYjH6JZ73jQj/CawKFCoRr0SLjrPxw==",
"requires": {
"@improbable-eng/grpc-web": "^0.14.0",
"@solana/spl-token": "^0.1.8",

View File

@ -3,7 +3,7 @@
"version": "1.0.0",
"dependencies": {
"@celo-tools/celo-ethers-wrapper": "^0.1.0",
"@certusone/wormhole-sdk": "^0.4.3",
"@certusone/wormhole-sdk": "^0.4.4",
"@solana/web3.js": "^1.22.0",
"@terra-money/terra.js": "^3.1.3",
"axios": "^0.24.0",