Skip to content

Commit

Permalink
deploy bsc and polygon
Browse files Browse the repository at this point in the history
  • Loading branch information
jarvisnn committed Jul 20, 2021
1 parent 16cacaa commit 49eda63
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 5 deletions.
20 changes: 16 additions & 4 deletions contracts.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,18 @@
"SmartWalletSwapProxy": "0xE7314051BCFD832398e232f2c274278c44121a3f",
"FetchTokenBalances": "0x813718C50df497BC136d5d6dfc0E0aDA8AB0C93e"
},
"bsc_mainnet": {
"smartWalletImplementation": "0x52643C0C0CCABd8C70baF5f1b6842886f0f8b953",
"smartWalletProxy": "0x051DC16b2ECB366984d1074dCC07c342a9463999",
"fetchTokenBalances": "0xB8C6Ed80688a2674623D89A0AaBD3a87507B1868",
"fetchAaveDataWrapper": "0xE7314051BCFD832398e232f2c274278c44121a3f",
"swapContracts": {
"uniSwap": "0x813718C50df497BC136d5d6dfc0E0aDA8AB0C93e"
},
"lendingContracts": {
"compoundLending": "0x6deaAe9d76991db2943064Bca84e00f63c46C0A3"
}
},
"bsc_testnet": {
"smartWalletImplementation": "0x25750A5FED63A79ddE8E516f8A0D3C4EbA656F79",
"smartWalletProxy": "0xA58573970cfFAd93309071cE9aff46b8A35eC62B",
Expand Down Expand Up @@ -45,16 +57,16 @@
}
},
"polygon_mainnet": {
"smartWalletImplementation": "0x60fc810EA972809d729FCE0043B82a58766596ee",
"smartWalletImplementation": "0xa303f067D511673832e57ACEF3d4FE6F333557e4",
"smartWalletProxy": "0x70270c228c5b4279d1578799926873aa72446ccd",
"fetchTokenBalances": "0xf351Dd5EC89e5ac6c9125262853c74E714C1d56a",
"fetchAaveDataWrapper": "0x8C27aBf05DE1d4847c3924566C3cBAFec6eFb42A",
"swapContracts": {
"uniSwap": "0x66f54006B47d1b381b5B933F2De9bf05a6B4Eb40",
"kyberDmm": "0xAE0505c0C30Dc0EA077cDB4Ed1B2BB894D9c6B65"
"uniSwap": "0xCD71a25dd27804dA933C0240Aa227e5Ce281Bb26",
"kyberDmm": "0x52643C0C0CCABd8C70baF5f1b6842886f0f8b953"
},
"lendingContracts": {
"aaveV2": "0x2bcfCaA40395F4f38Ad1aFa8915BF11d9df8Cf56"
"aaveV2": "0xB8C6Ed80688a2674623D89A0AaBD3a87507B1868"
}
}
}
1 change: 1 addition & 0 deletions hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ if (PRIVATE_KEY) {
chainId: 56,
accounts: [PRIVATE_KEY],
timeout: 20000,
gasPrice: 5 * 1e9,
};
}

Expand Down
1 change: 1 addition & 0 deletions scripts/config_bsc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ export const BscConfig: Record<string, IConfig> = {
routers: [
'0x10ed43c718714eb63d5aa57b78b54704e256024e', // panceke v2
'0x05ff2b0db69458a0750badebc4f9e13add608c7f', // pancake v1
'0x1b02dA8Cb0d097eB8D57A175b88c7D8b47997506', // sushiswap
],
},

Expand Down
2 changes: 1 addition & 1 deletion scripts/deployLogic.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import {
import {Contract} from '@ethersproject/contracts';
import {IAaveV2Config} from './config_utils';
import {sleep, zeroAddress} from '../test/helper';
import {BigNumber, PopulatedTransaction} from 'ethers';
import {PopulatedTransaction} from 'ethers';
import {TransactionRequest} from '@ethersproject/abstract-provider';
import {multisig} from '../hardhat.config';
import EthersSafe from '@gnosis.pm/safe-core-sdk';
Expand Down

0 comments on commit 49eda63

Please sign in to comment.