1
0
mirror of https://github.com/dap-ps/discover.git synced 2025-01-31 03:26:13 +00:00
discover/config/contracts.js
2020-03-20 08:11:35 -04:00

71 lines
2.0 KiB
JavaScript

module.exports = {
default: {
dappAutoEnable: false,
gas: 'auto',
gasPrice: '10000000000', // 10gwei. TODO: Set a proper gas price for deployment. See ethgasstation.info
strategy: 'explicit',
deploy: {
Discover: {
args: ['$MiniMeToken'],
},
},
},
development: {
dappConnection: [
'$WEB3',
'https://ropsten.infura.io/v3/8675214b97b44e96b70d05326c61fd6a',
],
deploy: {
Discover: {
args:["0xbF5d8683b9BE6C43fcA607eb2a6f2626A18837a6"]
},
DiscoverKyberSwap: {
args: ["$Discover", "0x818E6FECD516Ecc3849DAf6845e3EC868087B755", "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee", "0xbF5d8683b9BE6C43fcA607eb2a6f2626A18837a6", "0x0000000000000000000000000000000000000000", 20]
}
},
tracking: 'shared.development.chains.json',
},
testnet: {
dappConnection: [
'$WEB3',
'https://ropsten.infura.io/v3/8675214b97b44e96b70d05326c61fd6a',
],
deploy: {
Discover: {
args:["0xbF5d8683b9BE6C43fcA607eb2a6f2626A18837a6"]
},
DiscoverKyberSwap: {
args: ["$Discover", "0x818E6FECD516Ecc3849DAf6845e3EC868087B755", "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee", "0xbF5d8683b9BE6C43fcA607eb2a6f2626A18837a6", "0x0000000000000000000000000000000000000000", 20]
}
},
tracking: 'shared.testnet.chains.json',
},
livenet: {
dappConnection: [
'$WEB3',
'https://mainnet.infura.io/v3/8675214b97b44e96b70d05326c61fd6a',
],
deploy: {
MiniMeTokenFactory: {
deploy: false,
},
MiniMeToken: {
address: '0x744d70fdbe2ba4cf95131626614a1763df805b9e', // Mainnet SNT address
},
Discover: {
address: '0x5bCF2767F86f14eDd82053bfBfd5069F68C2C5F8',
},
DiscoverKyberSwap: {
args: ["$Discover", "0x818E6FECD516Ecc3849DAf6845e3EC868087B755", "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee", "0x744d70fdbe2ba4cf95131626614a1763df805b9e", "0x0000000000000000000000000000000000000000", 20]
}
},
tracking: 'shared.mainnet.chains.json',
},
}