mirror of
https://github.com/status-im/ens-usernames.git
synced 2025-02-09 09:03:47 +00:00
use deployed testnet address for safemath
console.log inputs for setPrice for multisig use
This commit is contained in:
parent
0fd43951dc
commit
928602da81
@ -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,
|
||||
|
@ -85,6 +85,9 @@
|
||||
"ENSSubdomainRegistry": {
|
||||
"address": "0xb1C47B61CDaeee3fA85Fe8B93FcE6311165E6291"
|
||||
},
|
||||
"SafeMath": {
|
||||
"address": "0x0F9992f7737f9ba3aceD170D4D1259cb2CEcc050"
|
||||
},
|
||||
"ERC20Receiver": { "deploy": false }
|
||||
}
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user