use deployed testnet address for safemath

console.log inputs for setPrice for multisig use
This commit is contained in:
Barry Gitarts 2018-08-09 11:56:19 -04:00
parent 0fd43951dc
commit 928602da81
2 changed files with 9 additions and 0 deletions

View File

@ -70,6 +70,12 @@ const AddDomain = withFormik({
const { methods: { domains, setDomainPrice, updateDomainPrice } } = ENSSubdomainRegistry;
const hashedDomain = hash(domainName);
const { state } = await getDomain(hashedDomain, domains);
console.log(
'Inputs for setPrice',
Number(state) ? 'updateDomainPrice' : 'setDomainPrice',
hashedDomain,
web3.utils.toWei(domainPrice.toString(), 'ether'),
);
setPrice(
Number(state) ? updateDomainPrice : setDomainPrice,
hashedDomain,

View File

@ -85,6 +85,9 @@
"ENSSubdomainRegistry": {
"address": "0xb1C47B61CDaeee3fA85Fe8B93FcE6311165E6291"
},
"SafeMath": {
"address": "0x0F9992f7737f9ba3aceD170D4D1259cb2CEcc050"
},
"ERC20Receiver": { "deploy": false }
}
},