UNPKG

@unstoppabledomains/resolution

Version:
756 lines (755 loc) 17.7 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = [ { inputs: [ { internalType: 'contract ENS', name: '_ens', type: 'address', }, { internalType: 'bytes32', name: '_baseNode', type: 'bytes32', }, ], payable: false, stateMutability: 'nonpayable', type: 'constructor', }, { anonymous: false, inputs: [ { indexed: true, internalType: 'address', name: 'owner', type: 'address', }, { indexed: true, internalType: 'address', name: 'approved', type: 'address', }, { indexed: true, internalType: 'uint256', name: 'tokenId', type: 'uint256', }, ], name: 'Approval', type: 'event', }, { anonymous: false, inputs: [ { indexed: true, internalType: 'address', name: 'owner', type: 'address', }, { indexed: true, internalType: 'address', name: 'operator', type: 'address', }, { indexed: false, internalType: 'bool', name: 'approved', type: 'bool', }, ], name: 'ApprovalForAll', type: 'event', }, { anonymous: false, inputs: [ { indexed: true, internalType: 'address', name: 'controller', type: 'address', }, ], name: 'ControllerAdded', type: 'event', }, { anonymous: false, inputs: [ { indexed: true, internalType: 'address', name: 'controller', type: 'address', }, ], name: 'ControllerRemoved', type: 'event', }, { anonymous: false, inputs: [ { indexed: true, internalType: 'uint256', name: 'id', type: 'uint256', }, { indexed: true, internalType: 'address', name: 'owner', type: 'address', }, { indexed: false, internalType: 'uint256', name: 'expires', type: 'uint256', }, ], name: 'NameMigrated', type: 'event', }, { anonymous: false, inputs: [ { indexed: true, internalType: 'uint256', name: 'id', type: 'uint256', }, { indexed: true, internalType: 'address', name: 'owner', type: 'address', }, { indexed: false, internalType: 'uint256', name: 'expires', type: 'uint256', }, ], name: 'NameRegistered', type: 'event', }, { anonymous: false, inputs: [ { indexed: true, internalType: 'uint256', name: 'id', type: 'uint256', }, { indexed: false, internalType: 'uint256', name: 'expires', type: 'uint256', }, ], name: 'NameRenewed', type: 'event', }, { anonymous: false, inputs: [ { indexed: true, internalType: 'address', name: 'previousOwner', type: 'address', }, { indexed: true, internalType: 'address', name: 'newOwner', type: 'address', }, ], name: 'OwnershipTransferred', type: 'event', }, { anonymous: false, inputs: [ { indexed: true, internalType: 'address', name: 'from', type: 'address', }, { indexed: true, internalType: 'address', name: 'to', type: 'address', }, { indexed: true, internalType: 'uint256', name: 'tokenId', type: 'uint256', }, ], name: 'Transfer', type: 'event', }, { constant: true, inputs: [], name: 'GRACE_PERIOD', outputs: [ { internalType: 'uint256', name: '', type: 'uint256', }, ], payable: false, stateMutability: 'view', type: 'function', }, { constant: false, inputs: [ { internalType: 'address', name: 'controller', type: 'address', }, ], name: 'addController', outputs: [], payable: false, stateMutability: 'nonpayable', type: 'function', }, { constant: false, inputs: [ { internalType: 'address', name: 'to', type: 'address', }, { internalType: 'uint256', name: 'tokenId', type: 'uint256', }, ], name: 'approve', outputs: [], payable: false, stateMutability: 'nonpayable', type: 'function', }, { constant: true, inputs: [ { internalType: 'uint256', name: 'id', type: 'uint256', }, ], name: 'available', outputs: [ { internalType: 'bool', name: '', type: 'bool', }, ], payable: false, stateMutability: 'view', type: 'function', }, { constant: true, inputs: [ { internalType: 'address', name: 'owner', type: 'address', }, ], name: 'balanceOf', outputs: [ { internalType: 'uint256', name: '', type: 'uint256', }, ], payable: false, stateMutability: 'view', type: 'function', }, { constant: true, inputs: [], name: 'baseNode', outputs: [ { internalType: 'bytes32', name: '', type: 'bytes32', }, ], payable: false, stateMutability: 'view', type: 'function', }, { constant: true, inputs: [ { internalType: 'address', name: '', type: 'address', }, ], name: 'controllers', outputs: [ { internalType: 'bool', name: '', type: 'bool', }, ], payable: false, stateMutability: 'view', type: 'function', }, { constant: true, inputs: [], name: 'ens', outputs: [ { internalType: 'contract ENS', name: '', type: 'address', }, ], payable: false, stateMutability: 'view', type: 'function', }, { constant: true, inputs: [ { internalType: 'uint256', name: 'tokenId', type: 'uint256', }, ], name: 'getApproved', outputs: [ { internalType: 'address', name: '', type: 'address', }, ], payable: false, stateMutability: 'view', type: 'function', }, { constant: true, inputs: [ { internalType: 'address', name: 'owner', type: 'address', }, { internalType: 'address', name: 'operator', type: 'address', }, ], name: 'isApprovedForAll', outputs: [ { internalType: 'bool', name: '', type: 'bool', }, ], payable: false, stateMutability: 'view', type: 'function', }, { constant: true, inputs: [], name: 'isOwner', outputs: [ { internalType: 'bool', name: '', type: 'bool', }, ], payable: false, stateMutability: 'view', type: 'function', }, { constant: true, inputs: [ { internalType: 'uint256', name: 'id', type: 'uint256', }, ], name: 'nameExpires', outputs: [ { internalType: 'uint256', name: '', type: 'uint256', }, ], payable: false, stateMutability: 'view', type: 'function', }, { constant: true, inputs: [], name: 'owner', outputs: [ { internalType: 'address', name: '', type: 'address', }, ], payable: false, stateMutability: 'view', type: 'function', }, { constant: true, inputs: [ { internalType: 'uint256', name: 'tokenId', type: 'uint256', }, ], name: 'ownerOf', outputs: [ { internalType: 'address', name: '', type: 'address', }, ], payable: false, stateMutability: 'view', type: 'function', }, { constant: false, inputs: [ { internalType: 'uint256', name: 'id', type: 'uint256', }, { internalType: 'address', name: 'owner', type: 'address', }, ], name: 'reclaim', outputs: [], payable: false, stateMutability: 'nonpayable', type: 'function', }, { constant: false, inputs: [ { internalType: 'uint256', name: 'id', type: 'uint256', }, { internalType: 'address', name: 'owner', type: 'address', }, { internalType: 'uint256', name: 'duration', type: 'uint256', }, ], name: 'register', outputs: [ { internalType: 'uint256', name: '', type: 'uint256', }, ], payable: false, stateMutability: 'nonpayable', type: 'function', }, { constant: false, inputs: [ { internalType: 'uint256', name: 'id', type: 'uint256', }, { internalType: 'address', name: 'owner', type: 'address', }, { internalType: 'uint256', name: 'duration', type: 'uint256', }, ], name: 'registerOnly', outputs: [ { internalType: 'uint256', name: '', type: 'uint256', }, ], payable: false, stateMutability: 'nonpayable', type: 'function', }, { constant: false, inputs: [ { internalType: 'address', name: 'controller', type: 'address', }, ], name: 'removeController', outputs: [], payable: false, stateMutability: 'nonpayable', type: 'function', }, { constant: false, inputs: [ { internalType: 'uint256', name: 'id', type: 'uint256', }, { internalType: 'uint256', name: 'duration', type: 'uint256', }, ], name: 'renew', outputs: [ { internalType: 'uint256', name: '', type: 'uint256', }, ], payable: false, stateMutability: 'nonpayable', type: 'function', }, { constant: false, inputs: [], name: 'renounceOwnership', outputs: [], payable: false, stateMutability: 'nonpayable', type: 'function', }, { constant: false, inputs: [ { internalType: 'address', name: 'from', type: 'address', }, { internalType: 'address', name: 'to', type: 'address', }, { internalType: 'uint256', name: 'tokenId', type: 'uint256', }, ], name: 'safeTransferFrom', outputs: [], payable: false, stateMutability: 'nonpayable', type: 'function', }, { constant: false, inputs: [ { internalType: 'address', name: 'from', type: 'address', }, { internalType: 'address', name: 'to', type: 'address', }, { internalType: 'uint256', name: 'tokenId', type: 'uint256', }, { internalType: 'bytes', name: '_data', type: 'bytes', }, ], name: 'safeTransferFrom', outputs: [], payable: false, stateMutability: 'nonpayable', type: 'function', }, { constant: false, inputs: [ { internalType: 'address', name: 'to', type: 'address', }, { internalType: 'bool', name: 'approved', type: 'bool', }, ], name: 'setApprovalForAll', outputs: [], payable: false, stateMutability: 'nonpayable', type: 'function', }, { constant: false, inputs: [ { internalType: 'address', name: 'resolver', type: 'address', }, ], name: 'setResolver', outputs: [], payable: false, stateMutability: 'nonpayable', type: 'function', }, { constant: true, inputs: [ { internalType: 'bytes4', name: 'interfaceID', type: 'bytes4', }, ], name: 'supportsInterface', outputs: [ { internalType: 'bool', name: '', type: 'bool', }, ], payable: false, stateMutability: 'view', type: 'function', }, { constant: false, inputs: [ { internalType: 'address', name: 'from', type: 'address', }, { internalType: 'address', name: 'to', type: 'address', }, { internalType: 'uint256', name: 'tokenId', type: 'uint256', }, ], name: 'transferFrom', outputs: [], payable: false, stateMutability: 'nonpayable', type: 'function', }, { constant: false, inputs: [ { internalType: 'address', name: 'newOwner', type: 'address', }, ], name: 'transferOwnership', outputs: [], payable: false, stateMutability: 'nonpayable', type: 'function', }, ];