add change registry controller

This commit is contained in:
Barry Gitarts 2018-08-08 16:54:18 -04:00
parent a6d87a206f
commit 0fd43951dc
2 changed files with 5 additions and 4 deletions

View File

@ -8,8 +8,6 @@ import { withFormik } from 'formik';
import { hash } from 'eth-ens-namehash'; import { hash } from 'eth-ens-namehash';
import { debounce } from 'lodash/fp'; import { debounce } from 'lodash/fp';
setTimeout(() => { ENSSubdomainRegistry.methods.controller().call(console.log)}, 2000)
const { methods: { owner } } = ENSRegistry; const { methods: { owner } } = ENSRegistry;
const delay = debounce(500); const delay = debounce(500);

View File

@ -8,6 +8,7 @@ import AddDomain from './ens/addDomain';
import RegisterSubDomain from './ens/registerSubDomain'; import RegisterSubDomain from './ens/registerSubDomain';
import TokenPermissions from './standard/TokenPermission'; import TokenPermissions from './standard/TokenPermission';
import SetupENS from './ens/setupENS'; import SetupENS from './ens/setupENS';
import UpdateController from './ens/updateController';
const FieldGroup = ({ id, label, help, ...props }) => ( const FieldGroup = ({ id, label, help, ...props }) => (
<FormGroup controlId={id}> <FormGroup controlId={id}>
@ -17,9 +18,11 @@ const FieldGroup = ({ id, label, help, ...props }) => (
</FormGroup> </FormGroup>
) )
const ENSSubManagement = (props) => ( const ENSSubManagement = props => (
<Fragment> <Fragment>
<h2 style={{textAlign: 'center'}}>Subdomain Management</h2> <h2 style={{ textAlign: 'center' }}>Subdomain Management</h2>
<h3>Change Registry Controller</h3>
<UpdateController />
<h3>Add/Update Domain Price</h3> <h3>Add/Update Domain Price</h3>
<AddDomain /> <AddDomain />
<hr/> <hr/>