registrarreader

package
v3.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 19, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ContractABI = ContractMetaData.ABI

ContractABI is the input ABI used to generate the binding from. Deprecated: Use ContractMetaData.ABI instead.

View Source
var ContractMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"contractENS\",\"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\":\"contractENS\",\"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\"}]",
}

ContractMetaData contains all meta data concerning the Contract contract.

Functions

This section is empty.

Types

type Contract

type Contract struct {
	ContractCaller     // Read-only binding to the contract
	ContractTransactor // Write-only binding to the contract
	ContractFilterer   // Log filterer for contract events
}

Contract is an auto generated Go binding around an Ethereum contract.

func NewContract

func NewContract(address common.Address, backend bind.ContractBackend) (*Contract, error)

NewContract creates a new instance of Contract, bound to a specific deployed contract.

type ContractApproval

type ContractApproval struct {
	Owner    common.Address
	Approved common.Address
	TokenId  *big.Int
	Raw      types.Log // Blockchain specific contextual infos
}

ContractApproval represents a Approval event raised by the Contract contract.

type ContractApprovalForAll

type ContractApprovalForAll struct {
	Owner    common.Address
	Operator common.Address
	Approved bool
	Raw      types.Log // Blockchain specific contextual infos
}

ContractApprovalForAll represents a ApprovalForAll event raised by the Contract contract.

type ContractApprovalForAllIterator

type ContractApprovalForAllIterator struct {
	Event *ContractApprovalForAll // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

ContractApprovalForAllIterator is returned from FilterApprovalForAll and is used to iterate over the raw logs and unpacked data for ApprovalForAll events raised by the Contract contract.

func (*ContractApprovalForAllIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*ContractApprovalForAllIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractApprovalForAllIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type ContractApprovalIterator

type ContractApprovalIterator struct {
	Event *ContractApproval // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

ContractApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the Contract contract.

func (*ContractApprovalIterator) Close

func (it *ContractApprovalIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*ContractApprovalIterator) Error

func (it *ContractApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractApprovalIterator) Next

func (it *ContractApprovalIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type ContractCaller

type ContractCaller struct {
	// contains filtered or unexported fields
}

ContractCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewContractCaller

func NewContractCaller(address common.Address, caller bind.ContractCaller) (*ContractCaller, error)

NewContractCaller creates a new read-only instance of Contract, bound to a specific deployed contract.

func (*ContractCaller) Available

func (_Contract *ContractCaller) Available(opts *bind.CallOpts, id *big.Int) (bool, error)

Available is a free data retrieval call binding the contract method 0x96e494e8.

Solidity: function available(uint256 id) view returns(bool)

func (*ContractCaller) BalanceOf

func (_Contract *ContractCaller) BalanceOf(opts *bind.CallOpts, owner common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address owner) view returns(uint256)

func (*ContractCaller) BaseNode

func (_Contract *ContractCaller) BaseNode(opts *bind.CallOpts) ([32]byte, error)

BaseNode is a free data retrieval call binding the contract method 0xddf7fcb0.

Solidity: function baseNode() view returns(bytes32)

func (*ContractCaller) Controllers

func (_Contract *ContractCaller) Controllers(opts *bind.CallOpts, arg0 common.Address) (bool, error)

Controllers is a free data retrieval call binding the contract method 0xda8c229e.

Solidity: function controllers(address ) view returns(bool)

func (*ContractCaller) Ens

func (_Contract *ContractCaller) Ens(opts *bind.CallOpts) (common.Address, error)

Ens is a free data retrieval call binding the contract method 0x3f15457f.

Solidity: function ens() view returns(address)

func (*ContractCaller) GRACEPERIOD

func (_Contract *ContractCaller) GRACEPERIOD(opts *bind.CallOpts) (*big.Int, error)

GRACEPERIOD is a free data retrieval call binding the contract method 0xc1a287e2.

Solidity: function GRACE_PERIOD() view returns(uint256)

func (*ContractCaller) GetApproved

func (_Contract *ContractCaller) GetApproved(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error)

GetApproved is a free data retrieval call binding the contract method 0x081812fc.

Solidity: function getApproved(uint256 tokenId) view returns(address)

func (*ContractCaller) IsApprovedForAll

func (_Contract *ContractCaller) IsApprovedForAll(opts *bind.CallOpts, owner common.Address, operator common.Address) (bool, error)

IsApprovedForAll is a free data retrieval call binding the contract method 0xe985e9c5.

Solidity: function isApprovedForAll(address owner, address operator) view returns(bool)

func (*ContractCaller) IsOwner

func (_Contract *ContractCaller) IsOwner(opts *bind.CallOpts) (bool, error)

IsOwner is a free data retrieval call binding the contract method 0x8f32d59b.

Solidity: function isOwner() view returns(bool)

func (*ContractCaller) NameExpires

func (_Contract *ContractCaller) NameExpires(opts *bind.CallOpts, id *big.Int) (*big.Int, error)

NameExpires is a free data retrieval call binding the contract method 0xd6e4fa86.

Solidity: function nameExpires(uint256 id) view returns(uint256)

func (*ContractCaller) Owner

func (_Contract *ContractCaller) Owner(opts *bind.CallOpts) (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*ContractCaller) OwnerOf

func (_Contract *ContractCaller) OwnerOf(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error)

OwnerOf is a free data retrieval call binding the contract method 0x6352211e.

Solidity: function ownerOf(uint256 tokenId) view returns(address)

func (*ContractCaller) SupportsInterface

func (_Contract *ContractCaller) SupportsInterface(opts *bind.CallOpts, interfaceID [4]byte) (bool, error)

SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.

Solidity: function supportsInterface(bytes4 interfaceID) view returns(bool)

type ContractCallerRaw

type ContractCallerRaw struct {
	Contract *ContractCaller // Generic read-only contract binding to access the raw methods on
}

ContractCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*ContractCallerRaw) Call

func (_Contract *ContractCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

type ContractCallerSession

type ContractCallerSession struct {
	Contract *ContractCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts   // Call options to use throughout this session
}

ContractCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*ContractCallerSession) Available

func (_Contract *ContractCallerSession) Available(id *big.Int) (bool, error)

Available is a free data retrieval call binding the contract method 0x96e494e8.

Solidity: function available(uint256 id) view returns(bool)

func (*ContractCallerSession) BalanceOf

func (_Contract *ContractCallerSession) BalanceOf(owner common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address owner) view returns(uint256)

func (*ContractCallerSession) BaseNode

func (_Contract *ContractCallerSession) BaseNode() ([32]byte, error)

BaseNode is a free data retrieval call binding the contract method 0xddf7fcb0.

Solidity: function baseNode() view returns(bytes32)

func (*ContractCallerSession) Controllers

func (_Contract *ContractCallerSession) Controllers(arg0 common.Address) (bool, error)

Controllers is a free data retrieval call binding the contract method 0xda8c229e.

Solidity: function controllers(address ) view returns(bool)

func (*ContractCallerSession) Ens

func (_Contract *ContractCallerSession) Ens() (common.Address, error)

Ens is a free data retrieval call binding the contract method 0x3f15457f.

Solidity: function ens() view returns(address)

func (*ContractCallerSession) GRACEPERIOD

func (_Contract *ContractCallerSession) GRACEPERIOD() (*big.Int, error)

GRACEPERIOD is a free data retrieval call binding the contract method 0xc1a287e2.

Solidity: function GRACE_PERIOD() view returns(uint256)

func (*ContractCallerSession) GetApproved

func (_Contract *ContractCallerSession) GetApproved(tokenId *big.Int) (common.Address, error)

GetApproved is a free data retrieval call binding the contract method 0x081812fc.

Solidity: function getApproved(uint256 tokenId) view returns(address)

func (*ContractCallerSession) IsApprovedForAll

func (_Contract *ContractCallerSession) IsApprovedForAll(owner common.Address, operator common.Address) (bool, error)

IsApprovedForAll is a free data retrieval call binding the contract method 0xe985e9c5.

Solidity: function isApprovedForAll(address owner, address operator) view returns(bool)

func (*ContractCallerSession) IsOwner

func (_Contract *ContractCallerSession) IsOwner() (bool, error)

IsOwner is a free data retrieval call binding the contract method 0x8f32d59b.

Solidity: function isOwner() view returns(bool)

func (*ContractCallerSession) NameExpires

func (_Contract *ContractCallerSession) NameExpires(id *big.Int) (*big.Int, error)

NameExpires is a free data retrieval call binding the contract method 0xd6e4fa86.

Solidity: function nameExpires(uint256 id) view returns(uint256)

func (*ContractCallerSession) Owner

func (_Contract *ContractCallerSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*ContractCallerSession) OwnerOf

func (_Contract *ContractCallerSession) OwnerOf(tokenId *big.Int) (common.Address, error)

OwnerOf is a free data retrieval call binding the contract method 0x6352211e.

Solidity: function ownerOf(uint256 tokenId) view returns(address)

func (*ContractCallerSession) SupportsInterface

func (_Contract *ContractCallerSession) SupportsInterface(interfaceID [4]byte) (bool, error)

SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.

Solidity: function supportsInterface(bytes4 interfaceID) view returns(bool)

type ContractControllerAdded

type ContractControllerAdded struct {
	Controller common.Address
	Raw        types.Log // Blockchain specific contextual infos
}

ContractControllerAdded represents a ControllerAdded event raised by the Contract contract.

type ContractControllerAddedIterator

type ContractControllerAddedIterator struct {
	Event *ContractControllerAdded // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

ContractControllerAddedIterator is returned from FilterControllerAdded and is used to iterate over the raw logs and unpacked data for ControllerAdded events raised by the Contract contract.

func (*ContractControllerAddedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*ContractControllerAddedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractControllerAddedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type ContractControllerRemoved

type ContractControllerRemoved struct {
	Controller common.Address
	Raw        types.Log // Blockchain specific contextual infos
}

ContractControllerRemoved represents a ControllerRemoved event raised by the Contract contract.

type ContractControllerRemovedIterator

type ContractControllerRemovedIterator struct {
	Event *ContractControllerRemoved // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

ContractControllerRemovedIterator is returned from FilterControllerRemoved and is used to iterate over the raw logs and unpacked data for ControllerRemoved events raised by the Contract contract.

func (*ContractControllerRemovedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*ContractControllerRemovedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractControllerRemovedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type ContractFilterer

type ContractFilterer struct {
	// contains filtered or unexported fields
}

ContractFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewContractFilterer

func NewContractFilterer(address common.Address, filterer bind.ContractFilterer) (*ContractFilterer, error)

NewContractFilterer creates a new log filterer instance of Contract, bound to a specific deployed contract.

func (*ContractFilterer) FilterApproval

func (_Contract *ContractFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, approved []common.Address, tokenId []*big.Int) (*ContractApprovalIterator, error)

FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId)

func (*ContractFilterer) FilterApprovalForAll

func (_Contract *ContractFilterer) FilterApprovalForAll(opts *bind.FilterOpts, owner []common.Address, operator []common.Address) (*ContractApprovalForAllIterator, error)

FilterApprovalForAll is a free log retrieval operation binding the contract event 0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31.

Solidity: event ApprovalForAll(address indexed owner, address indexed operator, bool approved)

func (*ContractFilterer) FilterControllerAdded

func (_Contract *ContractFilterer) FilterControllerAdded(opts *bind.FilterOpts, controller []common.Address) (*ContractControllerAddedIterator, error)

FilterControllerAdded is a free log retrieval operation binding the contract event 0x0a8bb31534c0ed46f380cb867bd5c803a189ced9a764e30b3a4991a9901d7474.

Solidity: event ControllerAdded(address indexed controller)

func (*ContractFilterer) FilterControllerRemoved

func (_Contract *ContractFilterer) FilterControllerRemoved(opts *bind.FilterOpts, controller []common.Address) (*ContractControllerRemovedIterator, error)

FilterControllerRemoved is a free log retrieval operation binding the contract event 0x33d83959be2573f5453b12eb9d43b3499bc57d96bd2f067ba44803c859e81113.

Solidity: event ControllerRemoved(address indexed controller)

func (*ContractFilterer) FilterNameMigrated

func (_Contract *ContractFilterer) FilterNameMigrated(opts *bind.FilterOpts, id []*big.Int, owner []common.Address) (*ContractNameMigratedIterator, error)

FilterNameMigrated is a free log retrieval operation binding the contract event 0xea3d7e1195a15d2ddcd859b01abd4c6b960fa9f9264e499a70a90c7f0c64b717.

Solidity: event NameMigrated(uint256 indexed id, address indexed owner, uint256 expires)

func (*ContractFilterer) FilterNameRegistered

func (_Contract *ContractFilterer) FilterNameRegistered(opts *bind.FilterOpts, id []*big.Int, owner []common.Address) (*ContractNameRegisteredIterator, error)

FilterNameRegistered is a free log retrieval operation binding the contract event 0xb3d987963d01b2f68493b4bdb130988f157ea43070d4ad840fee0466ed9370d9.

Solidity: event NameRegistered(uint256 indexed id, address indexed owner, uint256 expires)

func (*ContractFilterer) FilterNameRenewed

func (_Contract *ContractFilterer) FilterNameRenewed(opts *bind.FilterOpts, id []*big.Int) (*ContractNameRenewedIterator, error)

FilterNameRenewed is a free log retrieval operation binding the contract event 0x9b87a00e30f1ac65d898f070f8a3488fe60517182d0a2098e1b4b93a54aa9bd6.

Solidity: event NameRenewed(uint256 indexed id, uint256 expires)

func (*ContractFilterer) FilterOwnershipTransferred

func (_Contract *ContractFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*ContractOwnershipTransferredIterator, error)

FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*ContractFilterer) FilterTransfer

func (_Contract *ContractFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address, tokenId []*big.Int) (*ContractTransferIterator, error)

FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 indexed tokenId)

func (*ContractFilterer) ParseApproval

func (_Contract *ContractFilterer) ParseApproval(log types.Log) (*ContractApproval, error)

ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId)

func (*ContractFilterer) ParseApprovalForAll

func (_Contract *ContractFilterer) ParseApprovalForAll(log types.Log) (*ContractApprovalForAll, error)

ParseApprovalForAll is a log parse operation binding the contract event 0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31.

Solidity: event ApprovalForAll(address indexed owner, address indexed operator, bool approved)

func (*ContractFilterer) ParseControllerAdded

func (_Contract *ContractFilterer) ParseControllerAdded(log types.Log) (*ContractControllerAdded, error)

ParseControllerAdded is a log parse operation binding the contract event 0x0a8bb31534c0ed46f380cb867bd5c803a189ced9a764e30b3a4991a9901d7474.

Solidity: event ControllerAdded(address indexed controller)

func (*ContractFilterer) ParseControllerRemoved

func (_Contract *ContractFilterer) ParseControllerRemoved(log types.Log) (*ContractControllerRemoved, error)

ParseControllerRemoved is a log parse operation binding the contract event 0x33d83959be2573f5453b12eb9d43b3499bc57d96bd2f067ba44803c859e81113.

Solidity: event ControllerRemoved(address indexed controller)

func (*ContractFilterer) ParseNameMigrated

func (_Contract *ContractFilterer) ParseNameMigrated(log types.Log) (*ContractNameMigrated, error)

ParseNameMigrated is a log parse operation binding the contract event 0xea3d7e1195a15d2ddcd859b01abd4c6b960fa9f9264e499a70a90c7f0c64b717.

Solidity: event NameMigrated(uint256 indexed id, address indexed owner, uint256 expires)

func (*ContractFilterer) ParseNameRegistered

func (_Contract *ContractFilterer) ParseNameRegistered(log types.Log) (*ContractNameRegistered, error)

ParseNameRegistered is a log parse operation binding the contract event 0xb3d987963d01b2f68493b4bdb130988f157ea43070d4ad840fee0466ed9370d9.

Solidity: event NameRegistered(uint256 indexed id, address indexed owner, uint256 expires)

func (*ContractFilterer) ParseNameRenewed

func (_Contract *ContractFilterer) ParseNameRenewed(log types.Log) (*ContractNameRenewed, error)

ParseNameRenewed is a log parse operation binding the contract event 0x9b87a00e30f1ac65d898f070f8a3488fe60517182d0a2098e1b4b93a54aa9bd6.

Solidity: event NameRenewed(uint256 indexed id, uint256 expires)

func (*ContractFilterer) ParseOwnershipTransferred

func (_Contract *ContractFilterer) ParseOwnershipTransferred(log types.Log) (*ContractOwnershipTransferred, error)

ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*ContractFilterer) ParseTransfer

func (_Contract *ContractFilterer) ParseTransfer(log types.Log) (*ContractTransfer, error)

ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 indexed tokenId)

func (*ContractFilterer) WatchApproval

func (_Contract *ContractFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ContractApproval, owner []common.Address, approved []common.Address, tokenId []*big.Int) (event.Subscription, error)

WatchApproval is a free log subscription operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId)

func (*ContractFilterer) WatchApprovalForAll

func (_Contract *ContractFilterer) WatchApprovalForAll(opts *bind.WatchOpts, sink chan<- *ContractApprovalForAll, owner []common.Address, operator []common.Address) (event.Subscription, error)

WatchApprovalForAll is a free log subscription operation binding the contract event 0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31.

Solidity: event ApprovalForAll(address indexed owner, address indexed operator, bool approved)

func (*ContractFilterer) WatchControllerAdded

func (_Contract *ContractFilterer) WatchControllerAdded(opts *bind.WatchOpts, sink chan<- *ContractControllerAdded, controller []common.Address) (event.Subscription, error)

WatchControllerAdded is a free log subscription operation binding the contract event 0x0a8bb31534c0ed46f380cb867bd5c803a189ced9a764e30b3a4991a9901d7474.

Solidity: event ControllerAdded(address indexed controller)

func (*ContractFilterer) WatchControllerRemoved

func (_Contract *ContractFilterer) WatchControllerRemoved(opts *bind.WatchOpts, sink chan<- *ContractControllerRemoved, controller []common.Address) (event.Subscription, error)

WatchControllerRemoved is a free log subscription operation binding the contract event 0x33d83959be2573f5453b12eb9d43b3499bc57d96bd2f067ba44803c859e81113.

Solidity: event ControllerRemoved(address indexed controller)

func (*ContractFilterer) WatchNameMigrated

func (_Contract *ContractFilterer) WatchNameMigrated(opts *bind.WatchOpts, sink chan<- *ContractNameMigrated, id []*big.Int, owner []common.Address) (event.Subscription, error)

WatchNameMigrated is a free log subscription operation binding the contract event 0xea3d7e1195a15d2ddcd859b01abd4c6b960fa9f9264e499a70a90c7f0c64b717.

Solidity: event NameMigrated(uint256 indexed id, address indexed owner, uint256 expires)

func (*ContractFilterer) WatchNameRegistered

func (_Contract *ContractFilterer) WatchNameRegistered(opts *bind.WatchOpts, sink chan<- *ContractNameRegistered, id []*big.Int, owner []common.Address) (event.Subscription, error)

WatchNameRegistered is a free log subscription operation binding the contract event 0xb3d987963d01b2f68493b4bdb130988f157ea43070d4ad840fee0466ed9370d9.

Solidity: event NameRegistered(uint256 indexed id, address indexed owner, uint256 expires)

func (*ContractFilterer) WatchNameRenewed

func (_Contract *ContractFilterer) WatchNameRenewed(opts *bind.WatchOpts, sink chan<- *ContractNameRenewed, id []*big.Int) (event.Subscription, error)

WatchNameRenewed is a free log subscription operation binding the contract event 0x9b87a00e30f1ac65d898f070f8a3488fe60517182d0a2098e1b4b93a54aa9bd6.

Solidity: event NameRenewed(uint256 indexed id, uint256 expires)

func (*ContractFilterer) WatchOwnershipTransferred

func (_Contract *ContractFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *ContractOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*ContractFilterer) WatchTransfer

func (_Contract *ContractFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ContractTransfer, from []common.Address, to []common.Address, tokenId []*big.Int) (event.Subscription, error)

WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 indexed tokenId)

type ContractNameMigrated

type ContractNameMigrated struct {
	Id      *big.Int
	Owner   common.Address
	Expires *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

ContractNameMigrated represents a NameMigrated event raised by the Contract contract.

type ContractNameMigratedIterator

type ContractNameMigratedIterator struct {
	Event *ContractNameMigrated // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

ContractNameMigratedIterator is returned from FilterNameMigrated and is used to iterate over the raw logs and unpacked data for NameMigrated events raised by the Contract contract.

func (*ContractNameMigratedIterator) Close

func (it *ContractNameMigratedIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*ContractNameMigratedIterator) Error

func (it *ContractNameMigratedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractNameMigratedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type ContractNameRegistered

type ContractNameRegistered struct {
	Id      *big.Int
	Owner   common.Address
	Expires *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

ContractNameRegistered represents a NameRegistered event raised by the Contract contract.

type ContractNameRegisteredIterator

type ContractNameRegisteredIterator struct {
	Event *ContractNameRegistered // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

ContractNameRegisteredIterator is returned from FilterNameRegistered and is used to iterate over the raw logs and unpacked data for NameRegistered events raised by the Contract contract.

func (*ContractNameRegisteredIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*ContractNameRegisteredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractNameRegisteredIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type ContractNameRenewed

type ContractNameRenewed struct {
	Id      *big.Int
	Expires *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

ContractNameRenewed represents a NameRenewed event raised by the Contract contract.

type ContractNameRenewedIterator

type ContractNameRenewedIterator struct {
	Event *ContractNameRenewed // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

ContractNameRenewedIterator is returned from FilterNameRenewed and is used to iterate over the raw logs and unpacked data for NameRenewed events raised by the Contract contract.

func (*ContractNameRenewedIterator) Close

func (it *ContractNameRenewedIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*ContractNameRenewedIterator) Error

func (it *ContractNameRenewedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractNameRenewedIterator) Next

func (it *ContractNameRenewedIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type ContractOwnershipTransferred

type ContractOwnershipTransferred struct {
	PreviousOwner common.Address
	NewOwner      common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

ContractOwnershipTransferred represents a OwnershipTransferred event raised by the Contract contract.

type ContractOwnershipTransferredIterator

type ContractOwnershipTransferredIterator struct {
	Event *ContractOwnershipTransferred // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

ContractOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the Contract contract.

func (*ContractOwnershipTransferredIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*ContractOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractOwnershipTransferredIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type ContractRaw

type ContractRaw struct {
	Contract *Contract // Generic contract binding to access the raw methods on
}

ContractRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*ContractRaw) Call

func (_Contract *ContractRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

func (*ContractRaw) Transact

func (_Contract *ContractRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*ContractRaw) Transfer

func (_Contract *ContractRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type ContractSession

type ContractSession struct {
	Contract     *Contract         // Generic contract binding to set the session for
	CallOpts     bind.CallOpts     // Call options to use throughout this session
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

ContractSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*ContractSession) AddController

func (_Contract *ContractSession) AddController(controller common.Address) (*types.Transaction, error)

AddController is a paid mutator transaction binding the contract method 0xa7fc7a07.

Solidity: function addController(address controller) returns()

func (*ContractSession) Approve

func (_Contract *ContractSession) Approve(to common.Address, tokenId *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address to, uint256 tokenId) returns()

func (*ContractSession) Available

func (_Contract *ContractSession) Available(id *big.Int) (bool, error)

Available is a free data retrieval call binding the contract method 0x96e494e8.

Solidity: function available(uint256 id) view returns(bool)

func (*ContractSession) BalanceOf

func (_Contract *ContractSession) BalanceOf(owner common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address owner) view returns(uint256)

func (*ContractSession) BaseNode

func (_Contract *ContractSession) BaseNode() ([32]byte, error)

BaseNode is a free data retrieval call binding the contract method 0xddf7fcb0.

Solidity: function baseNode() view returns(bytes32)

func (*ContractSession) Controllers

func (_Contract *ContractSession) Controllers(arg0 common.Address) (bool, error)

Controllers is a free data retrieval call binding the contract method 0xda8c229e.

Solidity: function controllers(address ) view returns(bool)

func (*ContractSession) Ens

func (_Contract *ContractSession) Ens() (common.Address, error)

Ens is a free data retrieval call binding the contract method 0x3f15457f.

Solidity: function ens() view returns(address)

func (*ContractSession) GRACEPERIOD

func (_Contract *ContractSession) GRACEPERIOD() (*big.Int, error)

GRACEPERIOD is a free data retrieval call binding the contract method 0xc1a287e2.

Solidity: function GRACE_PERIOD() view returns(uint256)

func (*ContractSession) GetApproved

func (_Contract *ContractSession) GetApproved(tokenId *big.Int) (common.Address, error)

GetApproved is a free data retrieval call binding the contract method 0x081812fc.

Solidity: function getApproved(uint256 tokenId) view returns(address)

func (*ContractSession) IsApprovedForAll

func (_Contract *ContractSession) IsApprovedForAll(owner common.Address, operator common.Address) (bool, error)

IsApprovedForAll is a free data retrieval call binding the contract method 0xe985e9c5.

Solidity: function isApprovedForAll(address owner, address operator) view returns(bool)

func (*ContractSession) IsOwner

func (_Contract *ContractSession) IsOwner() (bool, error)

IsOwner is a free data retrieval call binding the contract method 0x8f32d59b.

Solidity: function isOwner() view returns(bool)

func (*ContractSession) NameExpires

func (_Contract *ContractSession) NameExpires(id *big.Int) (*big.Int, error)

NameExpires is a free data retrieval call binding the contract method 0xd6e4fa86.

Solidity: function nameExpires(uint256 id) view returns(uint256)

func (*ContractSession) Owner

func (_Contract *ContractSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*ContractSession) OwnerOf

func (_Contract *ContractSession) OwnerOf(tokenId *big.Int) (common.Address, error)

OwnerOf is a free data retrieval call binding the contract method 0x6352211e.

Solidity: function ownerOf(uint256 tokenId) view returns(address)

func (*ContractSession) Reclaim

func (_Contract *ContractSession) Reclaim(id *big.Int, owner common.Address) (*types.Transaction, error)

Reclaim is a paid mutator transaction binding the contract method 0x28ed4f6c.

Solidity: function reclaim(uint256 id, address owner) returns()

func (*ContractSession) Register

func (_Contract *ContractSession) Register(id *big.Int, owner common.Address, duration *big.Int) (*types.Transaction, error)

Register is a paid mutator transaction binding the contract method 0xfca247ac.

Solidity: function register(uint256 id, address owner, uint256 duration) returns(uint256)

func (*ContractSession) RegisterOnly

func (_Contract *ContractSession) RegisterOnly(id *big.Int, owner common.Address, duration *big.Int) (*types.Transaction, error)

RegisterOnly is a paid mutator transaction binding the contract method 0x0e297b45.

Solidity: function registerOnly(uint256 id, address owner, uint256 duration) returns(uint256)

func (*ContractSession) RemoveController

func (_Contract *ContractSession) RemoveController(controller common.Address) (*types.Transaction, error)

RemoveController is a paid mutator transaction binding the contract method 0xf6a74ed7.

Solidity: function removeController(address controller) returns()

func (*ContractSession) Renew

func (_Contract *ContractSession) Renew(id *big.Int, duration *big.Int) (*types.Transaction, error)

Renew is a paid mutator transaction binding the contract method 0xc475abff.

Solidity: function renew(uint256 id, uint256 duration) returns(uint256)

func (*ContractSession) RenounceOwnership

func (_Contract *ContractSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*ContractSession) SafeTransferFrom

func (_Contract *ContractSession) SafeTransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)

SafeTransferFrom is a paid mutator transaction binding the contract method 0x42842e0e.

Solidity: function safeTransferFrom(address from, address to, uint256 tokenId) returns()

func (*ContractSession) SafeTransferFrom0

func (_Contract *ContractSession) SafeTransferFrom0(from common.Address, to common.Address, tokenId *big.Int, _data []byte) (*types.Transaction, error)

SafeTransferFrom0 is a paid mutator transaction binding the contract method 0xb88d4fde.

Solidity: function safeTransferFrom(address from, address to, uint256 tokenId, bytes _data) returns()

func (*ContractSession) SetApprovalForAll

func (_Contract *ContractSession) SetApprovalForAll(to common.Address, approved bool) (*types.Transaction, error)

SetApprovalForAll is a paid mutator transaction binding the contract method 0xa22cb465.

Solidity: function setApprovalForAll(address to, bool approved) returns()

func (*ContractSession) SetResolver

func (_Contract *ContractSession) SetResolver(resolver common.Address) (*types.Transaction, error)

SetResolver is a paid mutator transaction binding the contract method 0x4e543b26.

Solidity: function setResolver(address resolver) returns()

func (*ContractSession) SupportsInterface

func (_Contract *ContractSession) SupportsInterface(interfaceID [4]byte) (bool, error)

SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.

Solidity: function supportsInterface(bytes4 interfaceID) view returns(bool)

func (*ContractSession) TransferFrom

func (_Contract *ContractSession) TransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address from, address to, uint256 tokenId) returns()

func (*ContractSession) TransferOwnership

func (_Contract *ContractSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

type ContractTransactor

type ContractTransactor struct {
	// contains filtered or unexported fields
}

ContractTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewContractTransactor

func NewContractTransactor(address common.Address, transactor bind.ContractTransactor) (*ContractTransactor, error)

NewContractTransactor creates a new write-only instance of Contract, bound to a specific deployed contract.

func (*ContractTransactor) AddController

func (_Contract *ContractTransactor) AddController(opts *bind.TransactOpts, controller common.Address) (*types.Transaction, error)

AddController is a paid mutator transaction binding the contract method 0xa7fc7a07.

Solidity: function addController(address controller) returns()

func (*ContractTransactor) Approve

func (_Contract *ContractTransactor) Approve(opts *bind.TransactOpts, to common.Address, tokenId *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address to, uint256 tokenId) returns()

func (*ContractTransactor) Reclaim

func (_Contract *ContractTransactor) Reclaim(opts *bind.TransactOpts, id *big.Int, owner common.Address) (*types.Transaction, error)

Reclaim is a paid mutator transaction binding the contract method 0x28ed4f6c.

Solidity: function reclaim(uint256 id, address owner) returns()

func (*ContractTransactor) Register

func (_Contract *ContractTransactor) Register(opts *bind.TransactOpts, id *big.Int, owner common.Address, duration *big.Int) (*types.Transaction, error)

Register is a paid mutator transaction binding the contract method 0xfca247ac.

Solidity: function register(uint256 id, address owner, uint256 duration) returns(uint256)

func (*ContractTransactor) RegisterOnly

func (_Contract *ContractTransactor) RegisterOnly(opts *bind.TransactOpts, id *big.Int, owner common.Address, duration *big.Int) (*types.Transaction, error)

RegisterOnly is a paid mutator transaction binding the contract method 0x0e297b45.

Solidity: function registerOnly(uint256 id, address owner, uint256 duration) returns(uint256)

func (*ContractTransactor) RemoveController

func (_Contract *ContractTransactor) RemoveController(opts *bind.TransactOpts, controller common.Address) (*types.Transaction, error)

RemoveController is a paid mutator transaction binding the contract method 0xf6a74ed7.

Solidity: function removeController(address controller) returns()

func (*ContractTransactor) Renew

func (_Contract *ContractTransactor) Renew(opts *bind.TransactOpts, id *big.Int, duration *big.Int) (*types.Transaction, error)

Renew is a paid mutator transaction binding the contract method 0xc475abff.

Solidity: function renew(uint256 id, uint256 duration) returns(uint256)

func (*ContractTransactor) RenounceOwnership

func (_Contract *ContractTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*ContractTransactor) SafeTransferFrom

func (_Contract *ContractTransactor) SafeTransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)

SafeTransferFrom is a paid mutator transaction binding the contract method 0x42842e0e.

Solidity: function safeTransferFrom(address from, address to, uint256 tokenId) returns()

func (*ContractTransactor) SafeTransferFrom0

func (_Contract *ContractTransactor) SafeTransferFrom0(opts *bind.TransactOpts, from common.Address, to common.Address, tokenId *big.Int, _data []byte) (*types.Transaction, error)

SafeTransferFrom0 is a paid mutator transaction binding the contract method 0xb88d4fde.

Solidity: function safeTransferFrom(address from, address to, uint256 tokenId, bytes _data) returns()

func (*ContractTransactor) SetApprovalForAll

func (_Contract *ContractTransactor) SetApprovalForAll(opts *bind.TransactOpts, to common.Address, approved bool) (*types.Transaction, error)

SetApprovalForAll is a paid mutator transaction binding the contract method 0xa22cb465.

Solidity: function setApprovalForAll(address to, bool approved) returns()

func (*ContractTransactor) SetResolver

func (_Contract *ContractTransactor) SetResolver(opts *bind.TransactOpts, resolver common.Address) (*types.Transaction, error)

SetResolver is a paid mutator transaction binding the contract method 0x4e543b26.

Solidity: function setResolver(address resolver) returns()

func (*ContractTransactor) TransferFrom

func (_Contract *ContractTransactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address from, address to, uint256 tokenId) returns()

func (*ContractTransactor) TransferOwnership

func (_Contract *ContractTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

type ContractTransactorRaw

type ContractTransactorRaw struct {
	Contract *ContractTransactor // Generic write-only contract binding to access the raw methods on
}

ContractTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*ContractTransactorRaw) Transact

func (_Contract *ContractTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*ContractTransactorRaw) Transfer

func (_Contract *ContractTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type ContractTransactorSession

type ContractTransactorSession struct {
	Contract     *ContractTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts   // Transaction auth options to use throughout this session
}

ContractTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*ContractTransactorSession) AddController

func (_Contract *ContractTransactorSession) AddController(controller common.Address) (*types.Transaction, error)

AddController is a paid mutator transaction binding the contract method 0xa7fc7a07.

Solidity: function addController(address controller) returns()

func (*ContractTransactorSession) Approve

func (_Contract *ContractTransactorSession) Approve(to common.Address, tokenId *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address to, uint256 tokenId) returns()

func (*ContractTransactorSession) Reclaim

func (_Contract *ContractTransactorSession) Reclaim(id *big.Int, owner common.Address) (*types.Transaction, error)

Reclaim is a paid mutator transaction binding the contract method 0x28ed4f6c.

Solidity: function reclaim(uint256 id, address owner) returns()

func (*ContractTransactorSession) Register

func (_Contract *ContractTransactorSession) Register(id *big.Int, owner common.Address, duration *big.Int) (*types.Transaction, error)

Register is a paid mutator transaction binding the contract method 0xfca247ac.

Solidity: function register(uint256 id, address owner, uint256 duration) returns(uint256)

func (*ContractTransactorSession) RegisterOnly

func (_Contract *ContractTransactorSession) RegisterOnly(id *big.Int, owner common.Address, duration *big.Int) (*types.Transaction, error)

RegisterOnly is a paid mutator transaction binding the contract method 0x0e297b45.

Solidity: function registerOnly(uint256 id, address owner, uint256 duration) returns(uint256)

func (*ContractTransactorSession) RemoveController

func (_Contract *ContractTransactorSession) RemoveController(controller common.Address) (*types.Transaction, error)

RemoveController is a paid mutator transaction binding the contract method 0xf6a74ed7.

Solidity: function removeController(address controller) returns()

func (*ContractTransactorSession) Renew

func (_Contract *ContractTransactorSession) Renew(id *big.Int, duration *big.Int) (*types.Transaction, error)

Renew is a paid mutator transaction binding the contract method 0xc475abff.

Solidity: function renew(uint256 id, uint256 duration) returns(uint256)

func (*ContractTransactorSession) RenounceOwnership

func (_Contract *ContractTransactorSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*ContractTransactorSession) SafeTransferFrom

func (_Contract *ContractTransactorSession) SafeTransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)

SafeTransferFrom is a paid mutator transaction binding the contract method 0x42842e0e.

Solidity: function safeTransferFrom(address from, address to, uint256 tokenId) returns()

func (*ContractTransactorSession) SafeTransferFrom0

func (_Contract *ContractTransactorSession) SafeTransferFrom0(from common.Address, to common.Address, tokenId *big.Int, _data []byte) (*types.Transaction, error)

SafeTransferFrom0 is a paid mutator transaction binding the contract method 0xb88d4fde.

Solidity: function safeTransferFrom(address from, address to, uint256 tokenId, bytes _data) returns()

func (*ContractTransactorSession) SetApprovalForAll

func (_Contract *ContractTransactorSession) SetApprovalForAll(to common.Address, approved bool) (*types.Transaction, error)

SetApprovalForAll is a paid mutator transaction binding the contract method 0xa22cb465.

Solidity: function setApprovalForAll(address to, bool approved) returns()

func (*ContractTransactorSession) SetResolver

func (_Contract *ContractTransactorSession) SetResolver(resolver common.Address) (*types.Transaction, error)

SetResolver is a paid mutator transaction binding the contract method 0x4e543b26.

Solidity: function setResolver(address resolver) returns()

func (*ContractTransactorSession) TransferFrom

func (_Contract *ContractTransactorSession) TransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address from, address to, uint256 tokenId) returns()

func (*ContractTransactorSession) TransferOwnership

func (_Contract *ContractTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

type ContractTransfer

type ContractTransfer struct {
	From    common.Address
	To      common.Address
	TokenId *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

ContractTransfer represents a Transfer event raised by the Contract contract.

type ContractTransferIterator

type ContractTransferIterator struct {
	Event *ContractTransfer // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

ContractTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the Contract contract.

func (*ContractTransferIterator) Close

func (it *ContractTransferIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*ContractTransferIterator) Error

func (it *ContractTransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractTransferIterator) Next

func (it *ContractTransferIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL