add swapproxy on mainnet
This commit is contained in:
parent
ec97602466
commit
34aead1e07
|
@ -227,6 +227,18 @@ module.exports = {
|
||||||
],
|
],
|
||||||
strategy: 'explicit',
|
strategy: 'explicit',
|
||||||
tracking: './livenet.chains.json',
|
tracking: './livenet.chains.json',
|
||||||
|
deployment: {
|
||||||
|
accounts: [
|
||||||
|
{
|
||||||
|
privateKeyFile: secret.privateKeyFile,
|
||||||
|
password: secret.password
|
||||||
|
}
|
||||||
|
],
|
||||||
|
host: "mainnet.infura.io/v3/a2687d7078ff46d3b5f3f58cb97d3e44",
|
||||||
|
port: false,
|
||||||
|
protocol: 'https',
|
||||||
|
type: "rpc"
|
||||||
|
},
|
||||||
contracts: {
|
contracts: {
|
||||||
LPVault: {},
|
LPVault: {},
|
||||||
LiquidPledging: {
|
LiquidPledging: {
|
||||||
|
@ -246,11 +258,22 @@ module.exports = {
|
||||||
},
|
},
|
||||||
SNT: {
|
SNT: {
|
||||||
address: '0x744d70FDBE2Ba4CF95131626614a1763DF805B9E'
|
address: '0x744d70FDBE2Ba4CF95131626614a1763DF805B9E'
|
||||||
|
},
|
||||||
|
SwapProxy: {
|
||||||
|
address: "0xacfe5d28d867b85403150c80db03acb15e54560e",
|
||||||
|
args: [
|
||||||
|
'$LiquidPledging',
|
||||||
|
"0x818E6FECD516Ecc3849DAf6845e3EC868087B755",
|
||||||
|
"0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
|
||||||
|
"0x0000000000000000000000000000000000000000",
|
||||||
|
20
|
||||||
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
afterDeploy: async (dependencies) => {
|
afterDeploy: async (dependencies) => {
|
||||||
await dependencies.contracts.LiquidPledging.methods.initialize(dependencies.contracts.LPVault.options.address).send({from: dependencies.web3.eth.defaultAccount, gas: 1000000});
|
await dependencies.contracts.LiquidPledging.methods.initialize(dependencies.contracts.LPVault.options.address).send({from: dependencies.web3.eth.defaultAccount, gas: 1000000});
|
||||||
await dependencies.contracts.LPVault.methods.initialize(dependencies.contracts.LiquidPledging.options.address).send({from: dependencies.web3.eth.defaultAccount, gas: 1000000});
|
await dependencies.contracts.LPVault.methods.initialize(dependencies.contracts.LiquidPledging.options.address).send({from: dependencies.web3.eth.defaultAccount, gas: 1000000});
|
||||||
|
await dependencies.contracts.LPVault.methods.setAutopay(true).send({from: dependencies.web3.eth.defaultAccount, gas: 1000000});
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
@ -28,6 +28,10 @@
|
||||||
"0x3d0ad20751a1113f792d12598df6a74de849795c3090e38ef0e23b013e5470b6": {
|
"0x3d0ad20751a1113f792d12598df6a74de849795c3090e38ef0e23b013e5470b6": {
|
||||||
"name": "cETH",
|
"name": "cETH",
|
||||||
"address": "0x4Ddc2D193948926D02f9B1fE9e1daa0718270ED5"
|
"address": "0x4Ddc2D193948926D02f9B1fE9e1daa0718270ED5"
|
||||||
|
},
|
||||||
|
"0xc09457fd28c8ada6814c50387837bcb7392cd98a35f88360e92e959e69d5d59d": {
|
||||||
|
"name": "SwapProxy",
|
||||||
|
"address": "0xacFE5d28D867B85403150c80db03ACB15e54560E"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue