add mainnet addresses

This commit is contained in:
Barry Gitarts 2019-06-10 13:14:15 -04:00 committed by Barry G
parent ff5b3b5ab0
commit 4e9bb20c2d
2 changed files with 27 additions and 2 deletions

View File

@ -201,7 +201,32 @@ module.exports = {
}),
// merges with the settings in default
// used with "embark run livenet"
livenet: {},
livenet: {
enabled: true,
dappConnection: [
'$WEB3'
],
strategy: 'explicit',
tracking: './livenet.chains.json',
contracts: {
LPVault: {},
LiquidPledging: {},
RecoveryVault: {},
LPFactory: {
args: {
_vaultBase: '$LPVault',
_lpBase: '$LiquidPledging',
}
},
SNT: {
address: '0x89d24a6b4ccb1b6faa2625fe562bdd9a23260359'
}
},
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.LPVault.methods.initialize(dependencies.contracts.LiquidPledging.options.address).send({from: dependencies.web3.eth.defaultAccount, gas: 1000000});
}
},
// you can name an environment with specific settings and then specify with
// "embark run custom_name" or "embark blockchain custom_name"

View File

@ -6,7 +6,7 @@ export const TOKEN_COIN_API = 'https://raw.githubusercontent.com/TrustWallet/tok
export const TOKEN_API = 'https://raw.githubusercontent.com/TrustWallet/tokens/master/tokens'
export const currencies = [
{
value: 'WETH',
value: '0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2',
label: 'Wrapped Ether',
img: `${TOKEN_COIN_API}/60.png`,
width: '5%'