diff --git a/oracle/common.js b/oracle/common.js index 11c455b0..6b9898fa 100644 --- a/oracle/common.js +++ b/oracle/common.js @@ -8,12 +8,12 @@ const contract = new web3.eth.Contract(ctrt.abi); console.log(JSON.stringify(process.env.env)); switch (process.env.env) { case "rinkeby": - console.log("0x491bC043672B9286fA02FA7e0d6A3E5A0384A31A"); - contract.options.address = "0x491bC043672B9286fA02FA7e0d6A3E5A0384A31A"; + console.log("0x762a042b8B9f9f0d3179e992d965c11785219599"); + contract.options.address = "0x762a042b8B9f9f0d3179e992d965c11785219599"; break; case "testnet": - console.log("0x491bC043672B9286fA02FA7e0d6A3E5A0384A31A"); - contract.options.address = "0x491bC043672B9286fA02FA7e0d6A3E5A0384A31A"; + console.log("0x762a042b8B9f9f0d3179e992d965c11785219599"); + contract.options.address = "0x762a042b8B9f9f0d3179e992d965c11785219599"; break; case "mainnet": console.log("0x6F60FdED6303e73A83ef99c53963407f415e80b9"); diff --git a/oracle/ctrt.js b/oracle/ctrt.js index 0854a730..aadc48de 100644 --- a/oracle/ctrt.js +++ b/oracle/ctrt.js @@ -2,5 +2,5 @@ module.exports = { abi:[{"constant":false,"inputs":[{"name":"_addr","type":"string"},{"name":"_amount","type":"uint256"},{"name":"_fee","type":"uint256"}],"name":"receivePayload","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"anonymous":false,"inputs":[{"indexed":false,"name":"_addr","type":"string"},{"indexed":false,"name":"_amount","type":"uint256"},{"indexed":false,"name":"_crosschainamount","type":"uint256"},{"indexed":true,"name":"_sender","type":"address"}],"name":"PayloadReceived","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"_sender","type":"address"},{"indexed":false,"name":"_amount","type":"uint256"},{"indexed":true,"name":"_black","type":"address"}],"name":"EtherDeposited","type":"event"}], - address: "0x491bC043672B9286fA02FA7e0d6A3E5A0384A31A" + address: "0x762a042b8B9f9f0d3179e992d965c11785219599" }