Skip to content

Commit

Permalink
chore(scripts): deploy service contracts (#167)
Browse files Browse the repository at this point in the history
* chore(scripts): deploy service contracts

* gas service for arbitrum/celo

* comment fix

* typo fix

* fix config

* add kava mainnet info

* upgrade testnet gas service

* Revert "comment fix"

This reverts commit 6c6aa95.

* Revert "typo fix"

This reverts commit 46d1f51.

* update node version in gh workflow

* update info

* allow passing default gas options

* remove hero config
  • Loading branch information
milapsheth authored Feb 3, 2023
1 parent b24a92c commit 3e7d675
Show file tree
Hide file tree
Showing 7 changed files with 293 additions and 106 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
strategy:
matrix:
node-version:
- 14.x
- 18.x
os:
- ubuntu-22.04
runs-on: ${{ matrix.os }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
strategy:
matrix:
node-version:
- 14.x
- 18.x
os:
- ubuntu-22.04
runs-on: ${{ matrix.os }}
Expand Down
137 changes: 123 additions & 14 deletions info/mainnet.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"tokenName": "Ether",
"tokenSymbol": "ETH",
"wrappedSymbol": "WETH",
"gasReceiver": "0x2d5d7d31F671F86C782533cc367F14109a082712",
"AxelarGasService": {
"salt": "AxelarGasService",
"address": "0x2d5d7d31F671F86C782533cc367F14109a082712",
Expand All @@ -18,7 +19,10 @@
"AxelarDepositService": {
"salt": "AxelarDepositService",
"wrappedSymbol": "WETH",
"refundIssuer": "0x345662ABfE0E257E23552A434D02Ef274cCb6A90"
"refundIssuer": "0x4f671f34d2d23fec3eE3087E3A0221f8D314D9dF",
"address": "0xc1DCb196BA862B337Aa23eDA1Cb9503C0801b955",
"implementation": "0xd883C8bA523253c93d97b6C7a5087a7B5ff23d79",
"deployer": "0xd55cd98cdE61c3CcE1286F9aF50cDbF16f5dba5b"
}
},
{
Expand All @@ -30,6 +34,7 @@
"tokenName": "Avax",
"tokenSymbol": "AVAX",
"wrappedSymbol": "WAVAX",
"gasReceiver": "0x2d5d7d31F671F86C782533cc367F14109a082712",
"AxelarGasService": {
"salt": "AxelarGasService",
"address": "0x2d5d7d31F671F86C782533cc367F14109a082712",
Expand All @@ -39,19 +44,23 @@
},
"AxelarDepositService": {
"salt": "AxelarDepositService",
"wrappedSymbol": "",
"refundIssuer": "0x345662ABfE0E257E23552A434D02Ef274cCb6A90"
"wrappedSymbol": "WAVAX",
"refundIssuer": "0x4f671f34d2d23fec3eE3087E3A0221f8D314D9dF",
"address": "0xc1DCb196BA862B337Aa23eDA1Cb9503C0801b955",
"implementation": "0xd883C8bA523253c93d97b6C7a5087a7B5ff23d79",
"deployer": "0xd55cd98cdE61c3CcE1286F9aF50cDbF16f5dba5b"
}
},
{
"name": "Fantom",
"chainId": 250,
"gateway": "0x304acf330bbE08d1e512eefaa92F6a57871fD895",
"rpc": "https://rpc.ftm.tools",
"rpc": "https://fantom-mainnet.public.blastapi.io",
"constAddressDeployer": "0x98b2920d53612483f91f12ed7754e51b4a77919e",
"tokenName": "Fantom",
"tokenSymbol": "FTM",
"wrappedSymbol": "WFTM",
"gasReceiver": "0x2d5d7d31F671F86C782533cc367F14109a082712",
"AxelarGasService": {
"salt": "AxelarGasService",
"address": "0x2d5d7d31F671F86C782533cc367F14109a082712",
Expand All @@ -61,19 +70,23 @@
},
"AxelarDepositService": {
"salt": "AxelarDepositService",
"wrappedSymbol": "",
"refundIssuer": "0x345662ABfE0E257E23552A434D02Ef274cCb6A90"
"wrappedSymbol": "WFTM",
"refundIssuer": "0x4f671f34d2d23fec3eE3087E3A0221f8D314D9dF",
"address": "0xc1DCb196BA862B337Aa23eDA1Cb9503C0801b955",
"implementation": "0xd883C8bA523253c93d97b6C7a5087a7B5ff23d79",
"deployer": "0xd55cd98cdE61c3CcE1286F9aF50cDbF16f5dba5b"
}
},
{
"name": "Polygon",
"chainId": 137,
"gateway": "0x6f015F16De9fC8791b234eF68D486d2bF203FBA8",
"rpc": "https://polygon-rpc.com/",
"rpc": "https://matic-mainnet.chainstacklabs.com",
"constAddressDeployer": "0x98b2920d53612483f91f12ed7754e51b4a77919e",
"tokenName": "Matic",
"tokenSymbol": "MATIC",
"wrappedSymbol": "WMATIC",
"gasReceiver": "0x2d5d7d31F671F86C782533cc367F14109a082712",
"AxelarGasService": {
"salt": "AxelarGasService",
"address": "0x2d5d7d31F671F86C782533cc367F14109a082712",
Expand All @@ -83,8 +96,14 @@
},
"AxelarDepositService": {
"salt": "AxelarDepositService",
"wrappedSymbol": "",
"refundIssuer": "0x345662ABfE0E257E23552A434D02Ef274cCb6A90"
"wrappedSymbol": "WMATIC",
"refundIssuer": "0x4f671f34d2d23fec3eE3087E3A0221f8D314D9dF",
"address": "0xc1DCb196BA862B337Aa23eDA1Cb9503C0801b955",
"implementation": "0xd883C8bA523253c93d97b6C7a5087a7B5ff23d79",
"deployer": "0xd55cd98cdE61c3CcE1286F9aF50cDbF16f5dba5b"
},
"gasOptions": {
"gasLimit": 6e6
}
},
{
Expand All @@ -96,6 +115,7 @@
"tokenName": "Glimmer",
"tokenSymbol": "GLMR",
"wrappedSymbol": "WGLMR",
"gasReceiver": "0x2d5d7d31F671F86C782533cc367F14109a082712",
"AxelarGasService": {
"salt": "AxelarGasService",
"address": "0x2d5d7d31F671F86C782533cc367F14109a082712",
Expand All @@ -105,8 +125,11 @@
},
"AxelarDepositService": {
"salt": "AxelarDepositService",
"wrappedSymbol": "",
"refundIssuer": "0x345662ABfE0E257E23552A434D02Ef274cCb6A90"
"wrappedSymbol": "WGLMR",
"refundIssuer": "0x4f671f34d2d23fec3eE3087E3A0221f8D314D9dF",
"address": "0xc1DCb196BA862B337Aa23eDA1Cb9503C0801b955",
"implementation": "0xd883C8bA523253c93d97b6C7a5087a7B5ff23d79",
"deployer": "0xd55cd98cdE61c3CcE1286F9aF50cDbF16f5dba5b"
}
},
{
Expand All @@ -118,6 +141,7 @@
"tokenName": "Binance Coin",
"tokenSymbol": "BNB",
"wrappedSymbol": "WBNB",
"gasReceiver": "0x2d5d7d31F671F86C782533cc367F14109a082712",
"AxelarGasService": {
"salt": "AxelarGasService",
"address": "0x2d5d7d31F671F86C782533cc367F14109a082712",
Expand All @@ -127,8 +151,11 @@
},
"AxelarDepositService": {
"salt": "AxelarDepositService",
"wrappedSymbol": "",
"refundIssuer": "0x345662ABfE0E257E23552A434D02Ef274cCb6A90"
"wrappedSymbol": "WBNB",
"refundIssuer": "0x4f671f34d2d23fec3eE3087E3A0221f8D314D9dF",
"address": "0xc1DCb196BA862B337Aa23eDA1Cb9503C0801b955",
"implementation": "0xd883C8bA523253c93d97b6C7a5087a7B5ff23d79",
"deployer": "0xd55cd98cdE61c3CcE1286F9aF50cDbF16f5dba5b"
}
},
{
Expand All @@ -140,6 +167,7 @@
"tokenName": "Eth",
"tokenSymbol": "ETH",
"wrappedSymbol": "WETH",
"gasReceiver": "0x2d5d7d31F671F86C782533cc367F14109a082712",
"AxelarGasService": {
"salt": "AxelarGasService",
"address": "0x2d5d7d31F671F86C782533cc367F14109a082712",
Expand All @@ -150,7 +178,88 @@
"AxelarDepositService": {
"salt": "AxelarDepositService",
"wrappedSymbol": "",
"refundIssuer": "0x345662ABfE0E257E23552A434D02Ef274cCb6A90"
"refundIssuer": "0x4f671f34d2d23fec3eE3087E3A0221f8D314D9dF",
"address": "0xc1DCb196BA862B337Aa23eDA1Cb9503C0801b955",
"implementation": "0xd883C8bA523253c93d97b6C7a5087a7B5ff23d79",
"deployer": "0xd55cd98cdE61c3CcE1286F9aF50cDbF16f5dba5b"
}
},
{
"name": "Arbitrum",
"chainId": 42161,
"gateway": "0xe432150cce91c13a887f7D836923d5597adD8E31",
"rpc": "https://arb1.arbitrum.io/rpc",
"constAddressDeployer": "0x98b2920d53612483f91f12ed7754e51b4a77919e",
"tokenName": "Eth",
"tokenSymbol": "ETH",
"gasReceiver": "0x2d5d7d31F671F86C782533cc367F14109a082712",
"AxelarGasService": {
"salt": "AxelarGasService",
"collector": "0x345662ABfE0E257E23552A434D02Ef274cCb6A90",
"address": "0x2d5d7d31F671F86C782533cc367F14109a082712",
"implementation": "0xfEF5c90d84a1C93804496f5e7fbf98ec0C85243C",
"deployer": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05"
},
"AxelarDepositService": {
"salt": "AxelarDepositService",
"wrappedSymbol": "",
"refundIssuer": "0x4f671f34d2d23fec3eE3087E3A0221f8D314D9dF",
"address": "0xc1DCb196BA862B337Aa23eDA1Cb9503C0801b955",
"implementation": "0xBeE52844E35985c1B6729A6B88980209358F9979",
"deployer": "0xd55cd98cdE61c3CcE1286F9aF50cDbF16f5dba5b"
},
"gasOptions": {
"gasLimit": 20e6
}
},
{
"name": "Celo",
"chainId": 42220,
"gateway": "0xe432150cce91c13a887f7D836923d5597adD8E31",
"rpc": "https://forno.celo.org",
"constAddressDeployer": "0x98b2920d53612483f91f12ed7754e51b4a77919e",
"tokenName": "Celo",
"tokenSymbol": "CELO",
"gasReceiver": "0x2d5d7d31F671F86C782533cc367F14109a082712",
"AxelarGasService": {
"salt": "AxelarGasService",
"collector": "0x345662ABfE0E257E23552A434D02Ef274cCb6A90",
"address": "0x2d5d7d31F671F86C782533cc367F14109a082712",
"implementation": "0xfEF5c90d84a1C93804496f5e7fbf98ec0C85243C",
"deployer": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05"
},
"AxelarDepositService": {
"salt": "AxelarDepositService",
"wrappedSymbol": "",
"refundIssuer": "0x4f671f34d2d23fec3eE3087E3A0221f8D314D9dF",
"address": "0xc1DCb196BA862B337Aa23eDA1Cb9503C0801b955",
"implementation": "0xb6241272C569767072e0587098415DF6BA0aaEe9",
"deployer": "0xd55cd98cdE61c3CcE1286F9aF50cDbF16f5dba5b"
}
},
{
"name": "Kava",
"chainId": 2222,
"gateway": "0xe432150cce91c13a887f7D836923d5597adD8E31",
"rpc": "https://evm.kava.io",
"constAddressDeployer": "0x98b2920d53612483f91f12ed7754e51b4a77919e",
"tokenName": "Kava",
"tokenSymbol": "KAVA",
"gasReceiver": "0x2d5d7d31F671F86C782533cc367F14109a082712",
"AxelarGasService": {
"salt": "AxelarGasService",
"collector": "0x345662ABfE0E257E23552A434D02Ef274cCb6A90",
"address": "0x2d5d7d31F671F86C782533cc367F14109a082712",
"implementation": "0xfEF5c90d84a1C93804496f5e7fbf98ec0C85243C",
"deployer": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05"
},
"AxelarDepositService": {
"salt": "AxelarDepositService",
"wrappedSymbol": "",
"refundIssuer": "0x4f671f34d2d23fec3eE3087E3A0221f8D314D9dF",
"address": "0xc1DCb196BA862B337Aa23eDA1Cb9503C0801b955",
"implementation": "0xd883C8bA523253c93d97b6C7a5087a7B5ff23d79",
"deployer": "0xd55cd98cdE61c3CcE1286F9aF50cDbF16f5dba5b"
}
}
]
Loading

0 comments on commit 3e7d675

Please sign in to comment.