From efcb602ee9c5d599dec82a0a28bd2db5f9b96cb6 Mon Sep 17 00:00:00 2001 From: Barry Gitarts Date: Wed, 2 Jan 2019 15:32:28 -0500 Subject: [PATCH] add rinkeby addresses --- app/dapp.js | 2 +- config/contracts.js | 33 ++++++++++++++++++++++----------- 2 files changed, 23 insertions(+), 12 deletions(-) diff --git a/app/dapp.js b/app/dapp.js index bf4b5e1..c5c1ba8 100644 --- a/app/dapp.js +++ b/app/dapp.js @@ -31,7 +31,7 @@ class App extends React.Component { const { environment } = EmbarkJS const isInitialized = await vaultPledgingNeedsInit() if (!!isInitialized) { - console.log('mock_time:', await LiquidPledging.mock_time.call()) + if (environment === 'development') console.log('mock_time:', await LiquidPledging.mock_time.call()) const lpAllowance = await getLpAllowance() const fundProfiles = await getProfileEvents() const allPledges = await getAllPledges() diff --git a/config/contracts.js b/config/contracts.js index 0118ab1..88b4aab 100644 --- a/config/contracts.js +++ b/config/contracts.js @@ -119,22 +119,33 @@ module.exports = { ], strategy: 'explicit', contracts: { - LPVault: {}, - LiquidPledging: {}, - RecoveryVault: {}, + LPVault: { + address: "0x6732c6Cd8DA14C7E065b51689410058815657427", + }, + LiquidPledging: { + address: "0x314159265dd8dbb310642f98f50c066173c1259b" + }, + RecoveryVault: { + address: "0xeF6daB6A9b17379DBaAF4d6d54C96F8Bf3c945e5" + }, LPFactory: { - args: { - _vaultBase: '$LPVault', - _lpBase: '$LiquidPledging', + address: "0x4d3d8aB9b20B6D95215Bc7Df0426c9DFcB0D61fb" + // args: { + // _vaultBase: '$LPVault', + // _lpBase: '$LiquidPledging', }, }, // contracts for testing - StandardToken: {}, - Kernel: { - file: "@aragon/os/contracts/kernel/Kernel.sol" + StandardToken: { + address: "0x6732c6Cd8DA14C7E065b51689410058815657427" + }, + Kernel: { + address: "0x31CE00C0F0126cff08E91A83271f4e1a3624Fa6A", + file: "@aragon/os/contracts/kernel/Kernel.sol" }, - ACL: { - file: "@aragon/os/contracts/acl/ACL.sol" + ACL: { + address: "0x74dDdbaFD8001Ae38971c23c6dc250A82aD37552", + file: "@aragon/os/contracts/acl/ACL.sol" } } },