Documentation ¶
Index ¶
- Constants
- Variables
- type ApproveAndCallFallBack
- type ApproveAndCallFallBackCaller
- type ApproveAndCallFallBackCallerRaw
- type ApproveAndCallFallBackCallerSession
- type ApproveAndCallFallBackFilterer
- type ApproveAndCallFallBackRaw
- func (_ApproveAndCallFallBack *ApproveAndCallFallBackRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_ApproveAndCallFallBack *ApproveAndCallFallBackRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_ApproveAndCallFallBack *ApproveAndCallFallBackRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ApproveAndCallFallBackSession
- type ApproveAndCallFallBackTransactor
- type ApproveAndCallFallBackTransactorRaw
- type ApproveAndCallFallBackTransactorSession
- type Controlled
- type ControlledCaller
- type ControlledCallerRaw
- type ControlledCallerSession
- type ControlledFilterer
- type ControlledRaw
- func (_Controlled *ControlledRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Controlled *ControlledRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Controlled *ControlledRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ControlledSession
- type ControlledTransactor
- type ControlledTransactorRaw
- type ControlledTransactorSession
- type UsernameRegistrar
- type UsernameRegistrarCaller
- func (_UsernameRegistrar *UsernameRegistrarCaller) Accounts(opts *bind.CallOpts, arg0 [32]byte) (struct{ ... }, error)
- func (_UsernameRegistrar *UsernameRegistrarCaller) Controller(opts *bind.CallOpts) (common.Address, error)
- func (_UsernameRegistrar *UsernameRegistrarCaller) EnsNode(opts *bind.CallOpts) ([32]byte, error)
- func (_UsernameRegistrar *UsernameRegistrarCaller) EnsRegistry(opts *bind.CallOpts) (common.Address, error)
- func (_UsernameRegistrar *UsernameRegistrarCaller) GetAccountBalance(opts *bind.CallOpts, _label [32]byte) (*big.Int, error)
- func (_UsernameRegistrar *UsernameRegistrarCaller) GetAccountOwner(opts *bind.CallOpts, _label [32]byte) (common.Address, error)
- func (_UsernameRegistrar *UsernameRegistrarCaller) GetCreationTime(opts *bind.CallOpts, _label [32]byte) (*big.Int, error)
- func (_UsernameRegistrar *UsernameRegistrarCaller) GetExpirationTime(opts *bind.CallOpts, _label [32]byte) (*big.Int, error)
- func (_UsernameRegistrar *UsernameRegistrarCaller) GetPrice(opts *bind.CallOpts) (*big.Int, error)
- func (_UsernameRegistrar *UsernameRegistrarCaller) GetSlashRewardPart(opts *bind.CallOpts, _label [32]byte) (*big.Int, error)
- func (_UsernameRegistrar *UsernameRegistrarCaller) ParentRegistry(opts *bind.CallOpts) (common.Address, error)
- func (_UsernameRegistrar *UsernameRegistrarCaller) Price(opts *bind.CallOpts) (*big.Int, error)
- func (_UsernameRegistrar *UsernameRegistrarCaller) ReleaseDelay(opts *bind.CallOpts) (*big.Int, error)
- func (_UsernameRegistrar *UsernameRegistrarCaller) ReserveAmount(opts *bind.CallOpts) (*big.Int, error)
- func (_UsernameRegistrar *UsernameRegistrarCaller) ReservedUsernamesMerkleRoot(opts *bind.CallOpts) ([32]byte, error)
- func (_UsernameRegistrar *UsernameRegistrarCaller) Resolver(opts *bind.CallOpts) (common.Address, error)
- func (_UsernameRegistrar *UsernameRegistrarCaller) State(opts *bind.CallOpts) (uint8, error)
- func (_UsernameRegistrar *UsernameRegistrarCaller) Token(opts *bind.CallOpts) (common.Address, error)
- func (_UsernameRegistrar *UsernameRegistrarCaller) UsernameMinLength(opts *bind.CallOpts) (*big.Int, error)
- type UsernameRegistrarCallerRaw
- type UsernameRegistrarCallerSession
- func (_UsernameRegistrar *UsernameRegistrarCallerSession) Accounts(arg0 [32]byte) (struct{ ... }, error)
- func (_UsernameRegistrar *UsernameRegistrarCallerSession) Controller() (common.Address, error)
- func (_UsernameRegistrar *UsernameRegistrarCallerSession) EnsNode() ([32]byte, error)
- func (_UsernameRegistrar *UsernameRegistrarCallerSession) EnsRegistry() (common.Address, error)
- func (_UsernameRegistrar *UsernameRegistrarCallerSession) GetAccountBalance(_label [32]byte) (*big.Int, error)
- func (_UsernameRegistrar *UsernameRegistrarCallerSession) GetAccountOwner(_label [32]byte) (common.Address, error)
- func (_UsernameRegistrar *UsernameRegistrarCallerSession) GetCreationTime(_label [32]byte) (*big.Int, error)
- func (_UsernameRegistrar *UsernameRegistrarCallerSession) GetExpirationTime(_label [32]byte) (*big.Int, error)
- func (_UsernameRegistrar *UsernameRegistrarCallerSession) GetPrice() (*big.Int, error)
- func (_UsernameRegistrar *UsernameRegistrarCallerSession) GetSlashRewardPart(_label [32]byte) (*big.Int, error)
- func (_UsernameRegistrar *UsernameRegistrarCallerSession) ParentRegistry() (common.Address, error)
- func (_UsernameRegistrar *UsernameRegistrarCallerSession) Price() (*big.Int, error)
- func (_UsernameRegistrar *UsernameRegistrarCallerSession) ReleaseDelay() (*big.Int, error)
- func (_UsernameRegistrar *UsernameRegistrarCallerSession) ReserveAmount() (*big.Int, error)
- func (_UsernameRegistrar *UsernameRegistrarCallerSession) ReservedUsernamesMerkleRoot() ([32]byte, error)
- func (_UsernameRegistrar *UsernameRegistrarCallerSession) Resolver() (common.Address, error)
- func (_UsernameRegistrar *UsernameRegistrarCallerSession) State() (uint8, error)
- func (_UsernameRegistrar *UsernameRegistrarCallerSession) Token() (common.Address, error)
- func (_UsernameRegistrar *UsernameRegistrarCallerSession) UsernameMinLength() (*big.Int, error)
- type UsernameRegistrarFilterer
- func (_UsernameRegistrar *UsernameRegistrarFilterer) FilterRegistryMoved(opts *bind.FilterOpts) (*UsernameRegistrarRegistryMovedIterator, error)
- func (_UsernameRegistrar *UsernameRegistrarFilterer) FilterRegistryPrice(opts *bind.FilterOpts) (*UsernameRegistrarRegistryPriceIterator, error)
- func (_UsernameRegistrar *UsernameRegistrarFilterer) FilterRegistryState(opts *bind.FilterOpts) (*UsernameRegistrarRegistryStateIterator, error)
- func (_UsernameRegistrar *UsernameRegistrarFilterer) FilterUsernameOwner(opts *bind.FilterOpts, nameHash [][32]byte) (*UsernameRegistrarUsernameOwnerIterator, error)
- func (_UsernameRegistrar *UsernameRegistrarFilterer) ParseRegistryMoved(log types.Log) (*UsernameRegistrarRegistryMoved, error)
- func (_UsernameRegistrar *UsernameRegistrarFilterer) ParseRegistryPrice(log types.Log) (*UsernameRegistrarRegistryPrice, error)
- func (_UsernameRegistrar *UsernameRegistrarFilterer) ParseRegistryState(log types.Log) (*UsernameRegistrarRegistryState, error)
- func (_UsernameRegistrar *UsernameRegistrarFilterer) ParseUsernameOwner(log types.Log) (*UsernameRegistrarUsernameOwner, error)
- func (_UsernameRegistrar *UsernameRegistrarFilterer) WatchRegistryMoved(opts *bind.WatchOpts, sink chan<- *UsernameRegistrarRegistryMoved) (event.Subscription, error)
- func (_UsernameRegistrar *UsernameRegistrarFilterer) WatchRegistryPrice(opts *bind.WatchOpts, sink chan<- *UsernameRegistrarRegistryPrice) (event.Subscription, error)
- func (_UsernameRegistrar *UsernameRegistrarFilterer) WatchRegistryState(opts *bind.WatchOpts, sink chan<- *UsernameRegistrarRegistryState) (event.Subscription, error)
- func (_UsernameRegistrar *UsernameRegistrarFilterer) WatchUsernameOwner(opts *bind.WatchOpts, sink chan<- *UsernameRegistrarUsernameOwner, ...) (event.Subscription, error)
- type UsernameRegistrarRaw
- func (_UsernameRegistrar *UsernameRegistrarRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_UsernameRegistrar *UsernameRegistrarRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_UsernameRegistrar *UsernameRegistrarRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type UsernameRegistrarRegistryMoved
- type UsernameRegistrarRegistryMovedIterator
- type UsernameRegistrarRegistryPrice
- type UsernameRegistrarRegistryPriceIterator
- type UsernameRegistrarRegistryState
- type UsernameRegistrarRegistryStateIterator
- type UsernameRegistrarSession
- func (_UsernameRegistrar *UsernameRegistrarSession) Accounts(arg0 [32]byte) (struct{ ... }, error)
- func (_UsernameRegistrar *UsernameRegistrarSession) Activate(_price *big.Int) (*types.Transaction, error)
- func (_UsernameRegistrar *UsernameRegistrarSession) ChangeController(_newController common.Address) (*types.Transaction, error)
- func (_UsernameRegistrar *UsernameRegistrarSession) Controller() (common.Address, error)
- func (_UsernameRegistrar *UsernameRegistrarSession) DropUsername(_label [32]byte) (*types.Transaction, error)
- func (_UsernameRegistrar *UsernameRegistrarSession) EnsNode() ([32]byte, error)
- func (_UsernameRegistrar *UsernameRegistrarSession) EnsRegistry() (common.Address, error)
- func (_UsernameRegistrar *UsernameRegistrarSession) EraseNode(_labels [][32]byte) (*types.Transaction, error)
- func (_UsernameRegistrar *UsernameRegistrarSession) GetAccountBalance(_label [32]byte) (*big.Int, error)
- func (_UsernameRegistrar *UsernameRegistrarSession) GetAccountOwner(_label [32]byte) (common.Address, error)
- func (_UsernameRegistrar *UsernameRegistrarSession) GetCreationTime(_label [32]byte) (*big.Int, error)
- func (_UsernameRegistrar *UsernameRegistrarSession) GetExpirationTime(_label [32]byte) (*big.Int, error)
- func (_UsernameRegistrar *UsernameRegistrarSession) GetPrice() (*big.Int, error)
- func (_UsernameRegistrar *UsernameRegistrarSession) GetSlashRewardPart(_label [32]byte) (*big.Int, error)
- func (_UsernameRegistrar *UsernameRegistrarSession) MigrateRegistry(_price *big.Int) (*types.Transaction, error)
- func (_UsernameRegistrar *UsernameRegistrarSession) MigrateUsername(_label [32]byte, _tokenBalance *big.Int, _creationTime *big.Int, ...) (*types.Transaction, error)
- func (_UsernameRegistrar *UsernameRegistrarSession) MoveAccount(_label [32]byte, _newRegistry common.Address) (*types.Transaction, error)
- func (_UsernameRegistrar *UsernameRegistrarSession) MoveRegistry(_newRegistry common.Address) (*types.Transaction, error)
- func (_UsernameRegistrar *UsernameRegistrarSession) ParentRegistry() (common.Address, error)
- func (_UsernameRegistrar *UsernameRegistrarSession) Price() (*big.Int, error)
- func (_UsernameRegistrar *UsernameRegistrarSession) ReceiveApproval(_from common.Address, _amount *big.Int, _token common.Address, _data []byte) (*types.Transaction, error)
- func (_UsernameRegistrar *UsernameRegistrarSession) Register(_label [32]byte, _account common.Address, _pubkeyA [32]byte, _pubkeyB [32]byte) (*types.Transaction, error)
- func (_UsernameRegistrar *UsernameRegistrarSession) Release(_label [32]byte) (*types.Transaction, error)
- func (_UsernameRegistrar *UsernameRegistrarSession) ReleaseDelay() (*big.Int, error)
- func (_UsernameRegistrar *UsernameRegistrarSession) ReserveAmount() (*big.Int, error)
- func (_UsernameRegistrar *UsernameRegistrarSession) ReserveSlash(_secret [32]byte) (*types.Transaction, error)
- func (_UsernameRegistrar *UsernameRegistrarSession) ReservedUsernamesMerkleRoot() ([32]byte, error)
- func (_UsernameRegistrar *UsernameRegistrarSession) Resolver() (common.Address, error)
- func (_UsernameRegistrar *UsernameRegistrarSession) SetResolver(_resolver common.Address) (*types.Transaction, error)
- func (_UsernameRegistrar *UsernameRegistrarSession) SlashAddressLikeUsername(_username string, _reserveSecret *big.Int) (*types.Transaction, error)
- func (_UsernameRegistrar *UsernameRegistrarSession) SlashInvalidUsername(_username string, _offendingPos *big.Int, _reserveSecret *big.Int) (*types.Transaction, error)
- func (_UsernameRegistrar *UsernameRegistrarSession) SlashReservedUsername(_username string, _proof [][32]byte, _reserveSecret *big.Int) (*types.Transaction, error)
- func (_UsernameRegistrar *UsernameRegistrarSession) SlashSmallUsername(_username string, _reserveSecret *big.Int) (*types.Transaction, error)
- func (_UsernameRegistrar *UsernameRegistrarSession) State() (uint8, error)
- func (_UsernameRegistrar *UsernameRegistrarSession) Token() (common.Address, error)
- func (_UsernameRegistrar *UsernameRegistrarSession) UpdateAccountOwner(_label [32]byte) (*types.Transaction, error)
- func (_UsernameRegistrar *UsernameRegistrarSession) UpdateRegistryPrice(_price *big.Int) (*types.Transaction, error)
- func (_UsernameRegistrar *UsernameRegistrarSession) UsernameMinLength() (*big.Int, error)
- func (_UsernameRegistrar *UsernameRegistrarSession) WithdrawExcessBalance(_token common.Address, _beneficiary common.Address) (*types.Transaction, error)
- func (_UsernameRegistrar *UsernameRegistrarSession) WithdrawWrongNode(_domainHash [32]byte, _beneficiary common.Address) (*types.Transaction, error)
- type UsernameRegistrarTransactor
- func (_UsernameRegistrar *UsernameRegistrarTransactor) Activate(opts *bind.TransactOpts, _price *big.Int) (*types.Transaction, error)
- func (_UsernameRegistrar *UsernameRegistrarTransactor) ChangeController(opts *bind.TransactOpts, _newController common.Address) (*types.Transaction, error)
- func (_UsernameRegistrar *UsernameRegistrarTransactor) DropUsername(opts *bind.TransactOpts, _label [32]byte) (*types.Transaction, error)
- func (_UsernameRegistrar *UsernameRegistrarTransactor) EraseNode(opts *bind.TransactOpts, _labels [][32]byte) (*types.Transaction, error)
- func (_UsernameRegistrar *UsernameRegistrarTransactor) MigrateRegistry(opts *bind.TransactOpts, _price *big.Int) (*types.Transaction, error)
- func (_UsernameRegistrar *UsernameRegistrarTransactor) MigrateUsername(opts *bind.TransactOpts, _label [32]byte, _tokenBalance *big.Int, ...) (*types.Transaction, error)
- func (_UsernameRegistrar *UsernameRegistrarTransactor) MoveAccount(opts *bind.TransactOpts, _label [32]byte, _newRegistry common.Address) (*types.Transaction, error)
- func (_UsernameRegistrar *UsernameRegistrarTransactor) MoveRegistry(opts *bind.TransactOpts, _newRegistry common.Address) (*types.Transaction, error)
- func (_UsernameRegistrar *UsernameRegistrarTransactor) ReceiveApproval(opts *bind.TransactOpts, _from common.Address, _amount *big.Int, ...) (*types.Transaction, error)
- func (_UsernameRegistrar *UsernameRegistrarTransactor) Register(opts *bind.TransactOpts, _label [32]byte, _account common.Address, ...) (*types.Transaction, error)
- func (_UsernameRegistrar *UsernameRegistrarTransactor) Release(opts *bind.TransactOpts, _label [32]byte) (*types.Transaction, error)
- func (_UsernameRegistrar *UsernameRegistrarTransactor) ReserveSlash(opts *bind.TransactOpts, _secret [32]byte) (*types.Transaction, error)
- func (_UsernameRegistrar *UsernameRegistrarTransactor) SetResolver(opts *bind.TransactOpts, _resolver common.Address) (*types.Transaction, error)
- func (_UsernameRegistrar *UsernameRegistrarTransactor) SlashAddressLikeUsername(opts *bind.TransactOpts, _username string, _reserveSecret *big.Int) (*types.Transaction, error)
- func (_UsernameRegistrar *UsernameRegistrarTransactor) SlashInvalidUsername(opts *bind.TransactOpts, _username string, _offendingPos *big.Int, ...) (*types.Transaction, error)
- func (_UsernameRegistrar *UsernameRegistrarTransactor) SlashReservedUsername(opts *bind.TransactOpts, _username string, _proof [][32]byte, ...) (*types.Transaction, error)
- func (_UsernameRegistrar *UsernameRegistrarTransactor) SlashSmallUsername(opts *bind.TransactOpts, _username string, _reserveSecret *big.Int) (*types.Transaction, error)
- func (_UsernameRegistrar *UsernameRegistrarTransactor) UpdateAccountOwner(opts *bind.TransactOpts, _label [32]byte) (*types.Transaction, error)
- func (_UsernameRegistrar *UsernameRegistrarTransactor) UpdateRegistryPrice(opts *bind.TransactOpts, _price *big.Int) (*types.Transaction, error)
- func (_UsernameRegistrar *UsernameRegistrarTransactor) WithdrawExcessBalance(opts *bind.TransactOpts, _token common.Address, _beneficiary common.Address) (*types.Transaction, error)
- func (_UsernameRegistrar *UsernameRegistrarTransactor) WithdrawWrongNode(opts *bind.TransactOpts, _domainHash [32]byte, _beneficiary common.Address) (*types.Transaction, error)
- type UsernameRegistrarTransactorRaw
- type UsernameRegistrarTransactorSession
- func (_UsernameRegistrar *UsernameRegistrarTransactorSession) Activate(_price *big.Int) (*types.Transaction, error)
- func (_UsernameRegistrar *UsernameRegistrarTransactorSession) ChangeController(_newController common.Address) (*types.Transaction, error)
- func (_UsernameRegistrar *UsernameRegistrarTransactorSession) DropUsername(_label [32]byte) (*types.Transaction, error)
- func (_UsernameRegistrar *UsernameRegistrarTransactorSession) EraseNode(_labels [][32]byte) (*types.Transaction, error)
- func (_UsernameRegistrar *UsernameRegistrarTransactorSession) MigrateRegistry(_price *big.Int) (*types.Transaction, error)
- func (_UsernameRegistrar *UsernameRegistrarTransactorSession) MigrateUsername(_label [32]byte, _tokenBalance *big.Int, _creationTime *big.Int, ...) (*types.Transaction, error)
- func (_UsernameRegistrar *UsernameRegistrarTransactorSession) MoveAccount(_label [32]byte, _newRegistry common.Address) (*types.Transaction, error)
- func (_UsernameRegistrar *UsernameRegistrarTransactorSession) MoveRegistry(_newRegistry common.Address) (*types.Transaction, error)
- func (_UsernameRegistrar *UsernameRegistrarTransactorSession) ReceiveApproval(_from common.Address, _amount *big.Int, _token common.Address, _data []byte) (*types.Transaction, error)
- func (_UsernameRegistrar *UsernameRegistrarTransactorSession) Register(_label [32]byte, _account common.Address, _pubkeyA [32]byte, _pubkeyB [32]byte) (*types.Transaction, error)
- func (_UsernameRegistrar *UsernameRegistrarTransactorSession) Release(_label [32]byte) (*types.Transaction, error)
- func (_UsernameRegistrar *UsernameRegistrarTransactorSession) ReserveSlash(_secret [32]byte) (*types.Transaction, error)
- func (_UsernameRegistrar *UsernameRegistrarTransactorSession) SetResolver(_resolver common.Address) (*types.Transaction, error)
- func (_UsernameRegistrar *UsernameRegistrarTransactorSession) SlashAddressLikeUsername(_username string, _reserveSecret *big.Int) (*types.Transaction, error)
- func (_UsernameRegistrar *UsernameRegistrarTransactorSession) SlashInvalidUsername(_username string, _offendingPos *big.Int, _reserveSecret *big.Int) (*types.Transaction, error)
- func (_UsernameRegistrar *UsernameRegistrarTransactorSession) SlashReservedUsername(_username string, _proof [][32]byte, _reserveSecret *big.Int) (*types.Transaction, error)
- func (_UsernameRegistrar *UsernameRegistrarTransactorSession) SlashSmallUsername(_username string, _reserveSecret *big.Int) (*types.Transaction, error)
- func (_UsernameRegistrar *UsernameRegistrarTransactorSession) UpdateAccountOwner(_label [32]byte) (*types.Transaction, error)
- func (_UsernameRegistrar *UsernameRegistrarTransactorSession) UpdateRegistryPrice(_price *big.Int) (*types.Transaction, error)
- func (_UsernameRegistrar *UsernameRegistrarTransactorSession) WithdrawExcessBalance(_token common.Address, _beneficiary common.Address) (*types.Transaction, error)
- func (_UsernameRegistrar *UsernameRegistrarTransactorSession) WithdrawWrongNode(_domainHash [32]byte, _beneficiary common.Address) (*types.Transaction, error)
- type UsernameRegistrarUsernameOwner
- type UsernameRegistrarUsernameOwnerIterator
Constants ¶
const ApproveAndCallFallBackABI = "" /* 322-byte string literal not displayed */
ApproveAndCallFallBackABI is the input ABI used to generate the binding from.
const ControlledABI = "" /* 384-byte string literal not displayed */
ControlledABI is the input ABI used to generate the binding from.
const UsernameRegistrarABI = "" /* 9507-byte string literal not displayed */
UsernameRegistrarABI is the input ABI used to generate the binding from.
Variables ¶
var ApproveAndCallFallBackFuncSigs = map[string]string{
"8f4ffcb1": "receiveApproval(address,uint256,address,bytes)",
}
ApproveAndCallFallBackFuncSigs maps the 4-byte function signature to its string representation.
var ControlledFuncSigs = map[string]string{
"3cebb823": "changeController(address)",
"f77c4791": "controller()",
}
ControlledFuncSigs maps the 4-byte function signature to its string representation.
var UsernameRegistrarFuncSigs = map[string]string{
"bc529c43": "accounts(bytes32)",
"b260c42a": "activate(uint256)",
"3cebb823": "changeController(address)",
"f77c4791": "controller()",
"f9e54282": "dropUsername(bytes32)",
"ddbcf3a1": "ensNode()",
"7d73b231": "ensRegistry()",
"de10f04b": "eraseNode(bytes32[])",
"ebf701e0": "getAccountBalance(bytes32)",
"aacffccf": "getAccountOwner(bytes32)",
"6f79301d": "getCreationTime(bytes32)",
"a1454830": "getExpirationTime(bytes32)",
"98d5fdca": "getPrice()",
"8382b460": "getSlashRewardPart(bytes32)",
"98f038ff": "migrateRegistry(uint256)",
"80cd0015": "migrateUsername(bytes32,uint256,uint256,address)",
"c23e61b9": "moveAccount(bytes32,address)",
"e882c3ce": "moveRegistry(address)",
"c9b84d4d": "parentRegistry()",
"a035b1fe": "price()",
"8f4ffcb1": "receiveApproval(address,uint256,address,bytes)",
"b82fedbb": "register(bytes32,address,bytes32,bytes32)",
"67d42a8b": "release(bytes32)",
"7195bf23": "releaseDelay()",
"4b09b72a": "reserveAmount()",
"05c24481": "reserveSlash(bytes32)",
"07f908cb": "reservedUsernamesMerkleRoot()",
"04f3bcec": "resolver()",
"4e543b26": "setResolver(address)",
"8cf7b7a4": "slashAddressLikeUsername(string,uint256)",
"40784ebd": "slashInvalidUsername(string,uint256,uint256)",
"40b1ad52": "slashReservedUsername(string,bytes32[],uint256)",
"96bba9a8": "slashSmallUsername(string,uint256)",
"c19d93fb": "state()",
"fc0c546a": "token()",
"32e1ed24": "updateAccountOwner(bytes32)",
"860e9b0f": "updateRegistryPrice(uint256)",
"59ad0209": "usernameMinLength()",
"307c7a0d": "withdrawExcessBalance(address,address)",
"afe12e77": "withdrawWrongNode(bytes32,address)",
}
UsernameRegistrarFuncSigs maps the 4-byte function signature to its string representation.
Functions ¶
This section is empty.
Types ¶
type ApproveAndCallFallBack ¶
type ApproveAndCallFallBack struct { ApproveAndCallFallBackCaller // Read-only binding to the contract ApproveAndCallFallBackTransactor // Write-only binding to the contract ApproveAndCallFallBackFilterer // Log filterer for contract events }
ApproveAndCallFallBack is an auto generated Go binding around an Ethereum contract.
func NewApproveAndCallFallBack ¶
func NewApproveAndCallFallBack(address common.Address, backend bind.ContractBackend) (*ApproveAndCallFallBack, error)
NewApproveAndCallFallBack creates a new instance of ApproveAndCallFallBack, bound to a specific deployed contract.
type ApproveAndCallFallBackCaller ¶
type ApproveAndCallFallBackCaller struct {
// contains filtered or unexported fields
}
ApproveAndCallFallBackCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewApproveAndCallFallBackCaller ¶
func NewApproveAndCallFallBackCaller(address common.Address, caller bind.ContractCaller) (*ApproveAndCallFallBackCaller, error)
NewApproveAndCallFallBackCaller creates a new read-only instance of ApproveAndCallFallBack, bound to a specific deployed contract.
type ApproveAndCallFallBackCallerRaw ¶
type ApproveAndCallFallBackCallerRaw struct {
Contract *ApproveAndCallFallBackCaller // Generic read-only contract binding to access the raw methods on
}
ApproveAndCallFallBackCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*ApproveAndCallFallBackCallerRaw) Call ¶
func (_ApproveAndCallFallBack *ApproveAndCallFallBackCallerRaw) 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 ApproveAndCallFallBackCallerSession ¶
type ApproveAndCallFallBackCallerSession struct { Contract *ApproveAndCallFallBackCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
ApproveAndCallFallBackCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
type ApproveAndCallFallBackFilterer ¶
type ApproveAndCallFallBackFilterer struct {
// contains filtered or unexported fields
}
ApproveAndCallFallBackFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewApproveAndCallFallBackFilterer ¶
func NewApproveAndCallFallBackFilterer(address common.Address, filterer bind.ContractFilterer) (*ApproveAndCallFallBackFilterer, error)
NewApproveAndCallFallBackFilterer creates a new log filterer instance of ApproveAndCallFallBack, bound to a specific deployed contract.
type ApproveAndCallFallBackRaw ¶
type ApproveAndCallFallBackRaw struct {
Contract *ApproveAndCallFallBack // Generic contract binding to access the raw methods on
}
ApproveAndCallFallBackRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*ApproveAndCallFallBackRaw) Call ¶
func (_ApproveAndCallFallBack *ApproveAndCallFallBackRaw) 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 (*ApproveAndCallFallBackRaw) Transact ¶
func (_ApproveAndCallFallBack *ApproveAndCallFallBackRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ApproveAndCallFallBackRaw) Transfer ¶
func (_ApproveAndCallFallBack *ApproveAndCallFallBackRaw) 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 ApproveAndCallFallBackSession ¶
type ApproveAndCallFallBackSession struct { Contract *ApproveAndCallFallBack // 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 }
ApproveAndCallFallBackSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*ApproveAndCallFallBackSession) ReceiveApproval ¶
func (_ApproveAndCallFallBack *ApproveAndCallFallBackSession) ReceiveApproval(from common.Address, _amount *big.Int, _token common.Address, _data []byte) (*types.Transaction, error)
ReceiveApproval is a paid mutator transaction binding the contract method 0x8f4ffcb1.
Solidity: function receiveApproval(address from, uint256 _amount, address _token, bytes _data) returns()
type ApproveAndCallFallBackTransactor ¶
type ApproveAndCallFallBackTransactor struct {
// contains filtered or unexported fields
}
ApproveAndCallFallBackTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewApproveAndCallFallBackTransactor ¶
func NewApproveAndCallFallBackTransactor(address common.Address, transactor bind.ContractTransactor) (*ApproveAndCallFallBackTransactor, error)
NewApproveAndCallFallBackTransactor creates a new write-only instance of ApproveAndCallFallBack, bound to a specific deployed contract.
func (*ApproveAndCallFallBackTransactor) ReceiveApproval ¶
func (_ApproveAndCallFallBack *ApproveAndCallFallBackTransactor) ReceiveApproval(opts *bind.TransactOpts, from common.Address, _amount *big.Int, _token common.Address, _data []byte) (*types.Transaction, error)
ReceiveApproval is a paid mutator transaction binding the contract method 0x8f4ffcb1.
Solidity: function receiveApproval(address from, uint256 _amount, address _token, bytes _data) returns()
type ApproveAndCallFallBackTransactorRaw ¶
type ApproveAndCallFallBackTransactorRaw struct {
Contract *ApproveAndCallFallBackTransactor // Generic write-only contract binding to access the raw methods on
}
ApproveAndCallFallBackTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*ApproveAndCallFallBackTransactorRaw) Transact ¶
func (_ApproveAndCallFallBack *ApproveAndCallFallBackTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ApproveAndCallFallBackTransactorRaw) Transfer ¶
func (_ApproveAndCallFallBack *ApproveAndCallFallBackTransactorRaw) 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 ApproveAndCallFallBackTransactorSession ¶
type ApproveAndCallFallBackTransactorSession struct { Contract *ApproveAndCallFallBackTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
ApproveAndCallFallBackTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*ApproveAndCallFallBackTransactorSession) ReceiveApproval ¶
func (_ApproveAndCallFallBack *ApproveAndCallFallBackTransactorSession) ReceiveApproval(from common.Address, _amount *big.Int, _token common.Address, _data []byte) (*types.Transaction, error)
ReceiveApproval is a paid mutator transaction binding the contract method 0x8f4ffcb1.
Solidity: function receiveApproval(address from, uint256 _amount, address _token, bytes _data) returns()
type Controlled ¶
type Controlled struct { ControlledCaller // Read-only binding to the contract ControlledTransactor // Write-only binding to the contract ControlledFilterer // Log filterer for contract events }
Controlled is an auto generated Go binding around an Ethereum contract.
func NewControlled ¶
func NewControlled(address common.Address, backend bind.ContractBackend) (*Controlled, error)
NewControlled creates a new instance of Controlled, bound to a specific deployed contract.
type ControlledCaller ¶
type ControlledCaller struct {
// contains filtered or unexported fields
}
ControlledCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewControlledCaller ¶
func NewControlledCaller(address common.Address, caller bind.ContractCaller) (*ControlledCaller, error)
NewControlledCaller creates a new read-only instance of Controlled, bound to a specific deployed contract.
func (*ControlledCaller) Controller ¶
Controller is a free data retrieval call binding the contract method 0xf77c4791.
Solidity: function controller() view returns(address)
type ControlledCallerRaw ¶
type ControlledCallerRaw struct {
Contract *ControlledCaller // Generic read-only contract binding to access the raw methods on
}
ControlledCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*ControlledCallerRaw) Call ¶
func (_Controlled *ControlledCallerRaw) 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 ControlledCallerSession ¶
type ControlledCallerSession struct { Contract *ControlledCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
ControlledCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*ControlledCallerSession) Controller ¶
func (_Controlled *ControlledCallerSession) Controller() (common.Address, error)
Controller is a free data retrieval call binding the contract method 0xf77c4791.
Solidity: function controller() view returns(address)
type ControlledFilterer ¶
type ControlledFilterer struct {
// contains filtered or unexported fields
}
ControlledFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewControlledFilterer ¶
func NewControlledFilterer(address common.Address, filterer bind.ContractFilterer) (*ControlledFilterer, error)
NewControlledFilterer creates a new log filterer instance of Controlled, bound to a specific deployed contract.
type ControlledRaw ¶
type ControlledRaw struct {
Contract *Controlled // Generic contract binding to access the raw methods on
}
ControlledRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*ControlledRaw) Call ¶
func (_Controlled *ControlledRaw) 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 (*ControlledRaw) Transact ¶
func (_Controlled *ControlledRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ControlledRaw) Transfer ¶
func (_Controlled *ControlledRaw) 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 ControlledSession ¶
type ControlledSession struct { Contract *Controlled // 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 }
ControlledSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*ControlledSession) ChangeController ¶
func (_Controlled *ControlledSession) ChangeController(_newController common.Address) (*types.Transaction, error)
ChangeController is a paid mutator transaction binding the contract method 0x3cebb823.
Solidity: function changeController(address _newController) returns()
func (*ControlledSession) Controller ¶
func (_Controlled *ControlledSession) Controller() (common.Address, error)
Controller is a free data retrieval call binding the contract method 0xf77c4791.
Solidity: function controller() view returns(address)
type ControlledTransactor ¶
type ControlledTransactor struct {
// contains filtered or unexported fields
}
ControlledTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewControlledTransactor ¶
func NewControlledTransactor(address common.Address, transactor bind.ContractTransactor) (*ControlledTransactor, error)
NewControlledTransactor creates a new write-only instance of Controlled, bound to a specific deployed contract.
func (*ControlledTransactor) ChangeController ¶
func (_Controlled *ControlledTransactor) ChangeController(opts *bind.TransactOpts, _newController common.Address) (*types.Transaction, error)
ChangeController is a paid mutator transaction binding the contract method 0x3cebb823.
Solidity: function changeController(address _newController) returns()
type ControlledTransactorRaw ¶
type ControlledTransactorRaw struct {
Contract *ControlledTransactor // Generic write-only contract binding to access the raw methods on
}
ControlledTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*ControlledTransactorRaw) Transact ¶
func (_Controlled *ControlledTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ControlledTransactorRaw) Transfer ¶
func (_Controlled *ControlledTransactorRaw) 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 ControlledTransactorSession ¶
type ControlledTransactorSession struct { Contract *ControlledTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
ControlledTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*ControlledTransactorSession) ChangeController ¶
func (_Controlled *ControlledTransactorSession) ChangeController(_newController common.Address) (*types.Transaction, error)
ChangeController is a paid mutator transaction binding the contract method 0x3cebb823.
Solidity: function changeController(address _newController) returns()
type UsernameRegistrar ¶
type UsernameRegistrar struct { UsernameRegistrarCaller // Read-only binding to the contract UsernameRegistrarTransactor // Write-only binding to the contract UsernameRegistrarFilterer // Log filterer for contract events }
UsernameRegistrar is an auto generated Go binding around an Ethereum contract.
func NewUsernameRegistrar ¶
func NewUsernameRegistrar(address common.Address, backend bind.ContractBackend) (*UsernameRegistrar, error)
NewUsernameRegistrar creates a new instance of UsernameRegistrar, bound to a specific deployed contract.
type UsernameRegistrarCaller ¶
type UsernameRegistrarCaller struct {
// contains filtered or unexported fields
}
UsernameRegistrarCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewUsernameRegistrarCaller ¶
func NewUsernameRegistrarCaller(address common.Address, caller bind.ContractCaller) (*UsernameRegistrarCaller, error)
NewUsernameRegistrarCaller creates a new read-only instance of UsernameRegistrar, bound to a specific deployed contract.
func (*UsernameRegistrarCaller) Accounts ¶
func (_UsernameRegistrar *UsernameRegistrarCaller) Accounts(opts *bind.CallOpts, arg0 [32]byte) (struct { Balance *big.Int CreationTime *big.Int Owner common.Address }, error)
Accounts is a free data retrieval call binding the contract method 0xbc529c43.
Solidity: function accounts(bytes32 ) view returns(uint256 balance, uint256 creationTime, address owner)
func (*UsernameRegistrarCaller) Controller ¶
func (_UsernameRegistrar *UsernameRegistrarCaller) Controller(opts *bind.CallOpts) (common.Address, error)
Controller is a free data retrieval call binding the contract method 0xf77c4791.
Solidity: function controller() view returns(address)
func (*UsernameRegistrarCaller) EnsNode ¶
func (_UsernameRegistrar *UsernameRegistrarCaller) EnsNode(opts *bind.CallOpts) ([32]byte, error)
EnsNode is a free data retrieval call binding the contract method 0xddbcf3a1.
Solidity: function ensNode() view returns(bytes32)
func (*UsernameRegistrarCaller) EnsRegistry ¶
func (_UsernameRegistrar *UsernameRegistrarCaller) EnsRegistry(opts *bind.CallOpts) (common.Address, error)
EnsRegistry is a free data retrieval call binding the contract method 0x7d73b231.
Solidity: function ensRegistry() view returns(address)
func (*UsernameRegistrarCaller) GetAccountBalance ¶
func (_UsernameRegistrar *UsernameRegistrarCaller) GetAccountBalance(opts *bind.CallOpts, _label [32]byte) (*big.Int, error)
GetAccountBalance is a free data retrieval call binding the contract method 0xebf701e0.
Solidity: function getAccountBalance(bytes32 _label) view returns(uint256 accountBalance)
func (*UsernameRegistrarCaller) GetAccountOwner ¶
func (_UsernameRegistrar *UsernameRegistrarCaller) GetAccountOwner(opts *bind.CallOpts, _label [32]byte) (common.Address, error)
GetAccountOwner is a free data retrieval call binding the contract method 0xaacffccf.
Solidity: function getAccountOwner(bytes32 _label) view returns(address owner)
func (*UsernameRegistrarCaller) GetCreationTime ¶
func (_UsernameRegistrar *UsernameRegistrarCaller) GetCreationTime(opts *bind.CallOpts, _label [32]byte) (*big.Int, error)
GetCreationTime is a free data retrieval call binding the contract method 0x6f79301d.
Solidity: function getCreationTime(bytes32 _label) view returns(uint256 creationTime)
func (*UsernameRegistrarCaller) GetExpirationTime ¶
func (_UsernameRegistrar *UsernameRegistrarCaller) GetExpirationTime(opts *bind.CallOpts, _label [32]byte) (*big.Int, error)
GetExpirationTime is a free data retrieval call binding the contract method 0xa1454830.
Solidity: function getExpirationTime(bytes32 _label) view returns(uint256 releaseTime)
func (*UsernameRegistrarCaller) GetPrice ¶
GetPrice is a free data retrieval call binding the contract method 0x98d5fdca.
Solidity: function getPrice() view returns(uint256 registryPrice)
func (*UsernameRegistrarCaller) GetSlashRewardPart ¶
func (_UsernameRegistrar *UsernameRegistrarCaller) GetSlashRewardPart(opts *bind.CallOpts, _label [32]byte) (*big.Int, error)
GetSlashRewardPart is a free data retrieval call binding the contract method 0x8382b460.
Solidity: function getSlashRewardPart(bytes32 _label) view returns(uint256 partReward)
func (*UsernameRegistrarCaller) ParentRegistry ¶
func (_UsernameRegistrar *UsernameRegistrarCaller) ParentRegistry(opts *bind.CallOpts) (common.Address, error)
ParentRegistry is a free data retrieval call binding the contract method 0xc9b84d4d.
Solidity: function parentRegistry() view returns(address)
func (*UsernameRegistrarCaller) Price ¶
Price is a free data retrieval call binding the contract method 0xa035b1fe.
Solidity: function price() view returns(uint256)
func (*UsernameRegistrarCaller) ReleaseDelay ¶
func (_UsernameRegistrar *UsernameRegistrarCaller) ReleaseDelay(opts *bind.CallOpts) (*big.Int, error)
ReleaseDelay is a free data retrieval call binding the contract method 0x7195bf23.
Solidity: function releaseDelay() view returns(uint256)
func (*UsernameRegistrarCaller) ReserveAmount ¶
func (_UsernameRegistrar *UsernameRegistrarCaller) ReserveAmount(opts *bind.CallOpts) (*big.Int, error)
ReserveAmount is a free data retrieval call binding the contract method 0x4b09b72a.
Solidity: function reserveAmount() view returns(uint256)
func (*UsernameRegistrarCaller) ReservedUsernamesMerkleRoot ¶
func (_UsernameRegistrar *UsernameRegistrarCaller) ReservedUsernamesMerkleRoot(opts *bind.CallOpts) ([32]byte, error)
ReservedUsernamesMerkleRoot is a free data retrieval call binding the contract method 0x07f908cb.
Solidity: function reservedUsernamesMerkleRoot() view returns(bytes32)
func (*UsernameRegistrarCaller) Resolver ¶
func (_UsernameRegistrar *UsernameRegistrarCaller) Resolver(opts *bind.CallOpts) (common.Address, error)
Resolver is a free data retrieval call binding the contract method 0x04f3bcec.
Solidity: function resolver() view returns(address)
func (*UsernameRegistrarCaller) State ¶
func (_UsernameRegistrar *UsernameRegistrarCaller) State(opts *bind.CallOpts) (uint8, error)
State is a free data retrieval call binding the contract method 0xc19d93fb.
Solidity: function state() view returns(uint8)
func (*UsernameRegistrarCaller) Token ¶
func (_UsernameRegistrar *UsernameRegistrarCaller) Token(opts *bind.CallOpts) (common.Address, error)
Token is a free data retrieval call binding the contract method 0xfc0c546a.
Solidity: function token() view returns(address)
func (*UsernameRegistrarCaller) UsernameMinLength ¶
func (_UsernameRegistrar *UsernameRegistrarCaller) UsernameMinLength(opts *bind.CallOpts) (*big.Int, error)
UsernameMinLength is a free data retrieval call binding the contract method 0x59ad0209.
Solidity: function usernameMinLength() view returns(uint256)
type UsernameRegistrarCallerRaw ¶
type UsernameRegistrarCallerRaw struct {
Contract *UsernameRegistrarCaller // Generic read-only contract binding to access the raw methods on
}
UsernameRegistrarCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*UsernameRegistrarCallerRaw) Call ¶
func (_UsernameRegistrar *UsernameRegistrarCallerRaw) 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 UsernameRegistrarCallerSession ¶
type UsernameRegistrarCallerSession struct { Contract *UsernameRegistrarCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
UsernameRegistrarCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*UsernameRegistrarCallerSession) Accounts ¶
func (_UsernameRegistrar *UsernameRegistrarCallerSession) Accounts(arg0 [32]byte) (struct { Balance *big.Int CreationTime *big.Int Owner common.Address }, error)
Accounts is a free data retrieval call binding the contract method 0xbc529c43.
Solidity: function accounts(bytes32 ) view returns(uint256 balance, uint256 creationTime, address owner)
func (*UsernameRegistrarCallerSession) Controller ¶
func (_UsernameRegistrar *UsernameRegistrarCallerSession) Controller() (common.Address, error)
Controller is a free data retrieval call binding the contract method 0xf77c4791.
Solidity: function controller() view returns(address)
func (*UsernameRegistrarCallerSession) EnsNode ¶
func (_UsernameRegistrar *UsernameRegistrarCallerSession) EnsNode() ([32]byte, error)
EnsNode is a free data retrieval call binding the contract method 0xddbcf3a1.
Solidity: function ensNode() view returns(bytes32)
func (*UsernameRegistrarCallerSession) EnsRegistry ¶
func (_UsernameRegistrar *UsernameRegistrarCallerSession) EnsRegistry() (common.Address, error)
EnsRegistry is a free data retrieval call binding the contract method 0x7d73b231.
Solidity: function ensRegistry() view returns(address)
func (*UsernameRegistrarCallerSession) GetAccountBalance ¶
func (_UsernameRegistrar *UsernameRegistrarCallerSession) GetAccountBalance(_label [32]byte) (*big.Int, error)
GetAccountBalance is a free data retrieval call binding the contract method 0xebf701e0.
Solidity: function getAccountBalance(bytes32 _label) view returns(uint256 accountBalance)
func (*UsernameRegistrarCallerSession) GetAccountOwner ¶
func (_UsernameRegistrar *UsernameRegistrarCallerSession) GetAccountOwner(_label [32]byte) (common.Address, error)
GetAccountOwner is a free data retrieval call binding the contract method 0xaacffccf.
Solidity: function getAccountOwner(bytes32 _label) view returns(address owner)
func (*UsernameRegistrarCallerSession) GetCreationTime ¶
func (_UsernameRegistrar *UsernameRegistrarCallerSession) GetCreationTime(_label [32]byte) (*big.Int, error)
GetCreationTime is a free data retrieval call binding the contract method 0x6f79301d.
Solidity: function getCreationTime(bytes32 _label) view returns(uint256 creationTime)
func (*UsernameRegistrarCallerSession) GetExpirationTime ¶
func (_UsernameRegistrar *UsernameRegistrarCallerSession) GetExpirationTime(_label [32]byte) (*big.Int, error)
GetExpirationTime is a free data retrieval call binding the contract method 0xa1454830.
Solidity: function getExpirationTime(bytes32 _label) view returns(uint256 releaseTime)
func (*UsernameRegistrarCallerSession) GetPrice ¶
func (_UsernameRegistrar *UsernameRegistrarCallerSession) GetPrice() (*big.Int, error)
GetPrice is a free data retrieval call binding the contract method 0x98d5fdca.
Solidity: function getPrice() view returns(uint256 registryPrice)
func (*UsernameRegistrarCallerSession) GetSlashRewardPart ¶
func (_UsernameRegistrar *UsernameRegistrarCallerSession) GetSlashRewardPart(_label [32]byte) (*big.Int, error)
GetSlashRewardPart is a free data retrieval call binding the contract method 0x8382b460.
Solidity: function getSlashRewardPart(bytes32 _label) view returns(uint256 partReward)
func (*UsernameRegistrarCallerSession) ParentRegistry ¶
func (_UsernameRegistrar *UsernameRegistrarCallerSession) ParentRegistry() (common.Address, error)
ParentRegistry is a free data retrieval call binding the contract method 0xc9b84d4d.
Solidity: function parentRegistry() view returns(address)
func (*UsernameRegistrarCallerSession) Price ¶
func (_UsernameRegistrar *UsernameRegistrarCallerSession) Price() (*big.Int, error)
Price is a free data retrieval call binding the contract method 0xa035b1fe.
Solidity: function price() view returns(uint256)
func (*UsernameRegistrarCallerSession) ReleaseDelay ¶
func (_UsernameRegistrar *UsernameRegistrarCallerSession) ReleaseDelay() (*big.Int, error)
ReleaseDelay is a free data retrieval call binding the contract method 0x7195bf23.
Solidity: function releaseDelay() view returns(uint256)
func (*UsernameRegistrarCallerSession) ReserveAmount ¶
func (_UsernameRegistrar *UsernameRegistrarCallerSession) ReserveAmount() (*big.Int, error)
ReserveAmount is a free data retrieval call binding the contract method 0x4b09b72a.
Solidity: function reserveAmount() view returns(uint256)
func (*UsernameRegistrarCallerSession) ReservedUsernamesMerkleRoot ¶
func (_UsernameRegistrar *UsernameRegistrarCallerSession) ReservedUsernamesMerkleRoot() ([32]byte, error)
ReservedUsernamesMerkleRoot is a free data retrieval call binding the contract method 0x07f908cb.
Solidity: function reservedUsernamesMerkleRoot() view returns(bytes32)
func (*UsernameRegistrarCallerSession) Resolver ¶
func (_UsernameRegistrar *UsernameRegistrarCallerSession) Resolver() (common.Address, error)
Resolver is a free data retrieval call binding the contract method 0x04f3bcec.
Solidity: function resolver() view returns(address)
func (*UsernameRegistrarCallerSession) State ¶
func (_UsernameRegistrar *UsernameRegistrarCallerSession) State() (uint8, error)
State is a free data retrieval call binding the contract method 0xc19d93fb.
Solidity: function state() view returns(uint8)
func (*UsernameRegistrarCallerSession) Token ¶
func (_UsernameRegistrar *UsernameRegistrarCallerSession) Token() (common.Address, error)
Token is a free data retrieval call binding the contract method 0xfc0c546a.
Solidity: function token() view returns(address)
func (*UsernameRegistrarCallerSession) UsernameMinLength ¶
func (_UsernameRegistrar *UsernameRegistrarCallerSession) UsernameMinLength() (*big.Int, error)
UsernameMinLength is a free data retrieval call binding the contract method 0x59ad0209.
Solidity: function usernameMinLength() view returns(uint256)
type UsernameRegistrarFilterer ¶
type UsernameRegistrarFilterer struct {
// contains filtered or unexported fields
}
UsernameRegistrarFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewUsernameRegistrarFilterer ¶
func NewUsernameRegistrarFilterer(address common.Address, filterer bind.ContractFilterer) (*UsernameRegistrarFilterer, error)
NewUsernameRegistrarFilterer creates a new log filterer instance of UsernameRegistrar, bound to a specific deployed contract.
func (*UsernameRegistrarFilterer) FilterRegistryMoved ¶
func (_UsernameRegistrar *UsernameRegistrarFilterer) FilterRegistryMoved(opts *bind.FilterOpts) (*UsernameRegistrarRegistryMovedIterator, error)
FilterRegistryMoved is a free log retrieval operation binding the contract event 0xce0afb4c27dbd57a3646e2d639557521bfb05a42dc0ec50f9c1fe13d92e3e6d6.
Solidity: event RegistryMoved(address newRegistry)
func (*UsernameRegistrarFilterer) FilterRegistryPrice ¶
func (_UsernameRegistrar *UsernameRegistrarFilterer) FilterRegistryPrice(opts *bind.FilterOpts) (*UsernameRegistrarRegistryPriceIterator, error)
FilterRegistryPrice is a free log retrieval operation binding the contract event 0x45d3cd7c7bd7d211f00610f51660b2f114c7833e0c52ef3603c6d41ed07a7458.
Solidity: event RegistryPrice(uint256 price)
func (*UsernameRegistrarFilterer) FilterRegistryState ¶
func (_UsernameRegistrar *UsernameRegistrarFilterer) FilterRegistryState(opts *bind.FilterOpts) (*UsernameRegistrarRegistryStateIterator, error)
FilterRegistryState is a free log retrieval operation binding the contract event 0xee85d4d9a9722e814f07db07f29734cd5a97e0e58781ad41ae4572193b1caea0.
Solidity: event RegistryState(uint8 state)
func (*UsernameRegistrarFilterer) FilterUsernameOwner ¶
func (_UsernameRegistrar *UsernameRegistrarFilterer) FilterUsernameOwner(opts *bind.FilterOpts, nameHash [][32]byte) (*UsernameRegistrarUsernameOwnerIterator, error)
FilterUsernameOwner is a free log retrieval operation binding the contract event 0xd2da4206c3fa95b8fc1ee48627023d322b59cc7218e14cb95cf0c0fe562f2e4d.
Solidity: event UsernameOwner(bytes32 indexed nameHash, address owner)
func (*UsernameRegistrarFilterer) ParseRegistryMoved ¶
func (_UsernameRegistrar *UsernameRegistrarFilterer) ParseRegistryMoved(log types.Log) (*UsernameRegistrarRegistryMoved, error)
ParseRegistryMoved is a log parse operation binding the contract event 0xce0afb4c27dbd57a3646e2d639557521bfb05a42dc0ec50f9c1fe13d92e3e6d6.
Solidity: event RegistryMoved(address newRegistry)
func (*UsernameRegistrarFilterer) ParseRegistryPrice ¶
func (_UsernameRegistrar *UsernameRegistrarFilterer) ParseRegistryPrice(log types.Log) (*UsernameRegistrarRegistryPrice, error)
ParseRegistryPrice is a log parse operation binding the contract event 0x45d3cd7c7bd7d211f00610f51660b2f114c7833e0c52ef3603c6d41ed07a7458.
Solidity: event RegistryPrice(uint256 price)
func (*UsernameRegistrarFilterer) ParseRegistryState ¶
func (_UsernameRegistrar *UsernameRegistrarFilterer) ParseRegistryState(log types.Log) (*UsernameRegistrarRegistryState, error)
ParseRegistryState is a log parse operation binding the contract event 0xee85d4d9a9722e814f07db07f29734cd5a97e0e58781ad41ae4572193b1caea0.
Solidity: event RegistryState(uint8 state)
func (*UsernameRegistrarFilterer) ParseUsernameOwner ¶
func (_UsernameRegistrar *UsernameRegistrarFilterer) ParseUsernameOwner(log types.Log) (*UsernameRegistrarUsernameOwner, error)
ParseUsernameOwner is a log parse operation binding the contract event 0xd2da4206c3fa95b8fc1ee48627023d322b59cc7218e14cb95cf0c0fe562f2e4d.
Solidity: event UsernameOwner(bytes32 indexed nameHash, address owner)
func (*UsernameRegistrarFilterer) WatchRegistryMoved ¶
func (_UsernameRegistrar *UsernameRegistrarFilterer) WatchRegistryMoved(opts *bind.WatchOpts, sink chan<- *UsernameRegistrarRegistryMoved) (event.Subscription, error)
WatchRegistryMoved is a free log subscription operation binding the contract event 0xce0afb4c27dbd57a3646e2d639557521bfb05a42dc0ec50f9c1fe13d92e3e6d6.
Solidity: event RegistryMoved(address newRegistry)
func (*UsernameRegistrarFilterer) WatchRegistryPrice ¶
func (_UsernameRegistrar *UsernameRegistrarFilterer) WatchRegistryPrice(opts *bind.WatchOpts, sink chan<- *UsernameRegistrarRegistryPrice) (event.Subscription, error)
WatchRegistryPrice is a free log subscription operation binding the contract event 0x45d3cd7c7bd7d211f00610f51660b2f114c7833e0c52ef3603c6d41ed07a7458.
Solidity: event RegistryPrice(uint256 price)
func (*UsernameRegistrarFilterer) WatchRegistryState ¶
func (_UsernameRegistrar *UsernameRegistrarFilterer) WatchRegistryState(opts *bind.WatchOpts, sink chan<- *UsernameRegistrarRegistryState) (event.Subscription, error)
WatchRegistryState is a free log subscription operation binding the contract event 0xee85d4d9a9722e814f07db07f29734cd5a97e0e58781ad41ae4572193b1caea0.
Solidity: event RegistryState(uint8 state)
func (*UsernameRegistrarFilterer) WatchUsernameOwner ¶
func (_UsernameRegistrar *UsernameRegistrarFilterer) WatchUsernameOwner(opts *bind.WatchOpts, sink chan<- *UsernameRegistrarUsernameOwner, nameHash [][32]byte) (event.Subscription, error)
WatchUsernameOwner is a free log subscription operation binding the contract event 0xd2da4206c3fa95b8fc1ee48627023d322b59cc7218e14cb95cf0c0fe562f2e4d.
Solidity: event UsernameOwner(bytes32 indexed nameHash, address owner)
type UsernameRegistrarRaw ¶
type UsernameRegistrarRaw struct {
Contract *UsernameRegistrar // Generic contract binding to access the raw methods on
}
UsernameRegistrarRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*UsernameRegistrarRaw) Call ¶
func (_UsernameRegistrar *UsernameRegistrarRaw) 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 (*UsernameRegistrarRaw) Transact ¶
func (_UsernameRegistrar *UsernameRegistrarRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*UsernameRegistrarRaw) Transfer ¶
func (_UsernameRegistrar *UsernameRegistrarRaw) 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 UsernameRegistrarRegistryMoved ¶
type UsernameRegistrarRegistryMoved struct { NewRegistry common.Address Raw types.Log // Blockchain specific contextual infos }
UsernameRegistrarRegistryMoved represents a RegistryMoved event raised by the UsernameRegistrar contract.
type UsernameRegistrarRegistryMovedIterator ¶
type UsernameRegistrarRegistryMovedIterator struct { Event *UsernameRegistrarRegistryMoved // Event containing the contract specifics and raw log // contains filtered or unexported fields }
UsernameRegistrarRegistryMovedIterator is returned from FilterRegistryMoved and is used to iterate over the raw logs and unpacked data for RegistryMoved events raised by the UsernameRegistrar contract.
func (*UsernameRegistrarRegistryMovedIterator) Close ¶
func (it *UsernameRegistrarRegistryMovedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*UsernameRegistrarRegistryMovedIterator) Error ¶
func (it *UsernameRegistrarRegistryMovedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*UsernameRegistrarRegistryMovedIterator) Next ¶
func (it *UsernameRegistrarRegistryMovedIterator) 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 UsernameRegistrarRegistryPrice ¶
type UsernameRegistrarRegistryPrice struct { Price *big.Int Raw types.Log // Blockchain specific contextual infos }
UsernameRegistrarRegistryPrice represents a RegistryPrice event raised by the UsernameRegistrar contract.
type UsernameRegistrarRegistryPriceIterator ¶
type UsernameRegistrarRegistryPriceIterator struct { Event *UsernameRegistrarRegistryPrice // Event containing the contract specifics and raw log // contains filtered or unexported fields }
UsernameRegistrarRegistryPriceIterator is returned from FilterRegistryPrice and is used to iterate over the raw logs and unpacked data for RegistryPrice events raised by the UsernameRegistrar contract.
func (*UsernameRegistrarRegistryPriceIterator) Close ¶
func (it *UsernameRegistrarRegistryPriceIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*UsernameRegistrarRegistryPriceIterator) Error ¶
func (it *UsernameRegistrarRegistryPriceIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*UsernameRegistrarRegistryPriceIterator) Next ¶
func (it *UsernameRegistrarRegistryPriceIterator) 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 UsernameRegistrarRegistryState ¶
type UsernameRegistrarRegistryState struct { State uint8 Raw types.Log // Blockchain specific contextual infos }
UsernameRegistrarRegistryState represents a RegistryState event raised by the UsernameRegistrar contract.
type UsernameRegistrarRegistryStateIterator ¶
type UsernameRegistrarRegistryStateIterator struct { Event *UsernameRegistrarRegistryState // Event containing the contract specifics and raw log // contains filtered or unexported fields }
UsernameRegistrarRegistryStateIterator is returned from FilterRegistryState and is used to iterate over the raw logs and unpacked data for RegistryState events raised by the UsernameRegistrar contract.
func (*UsernameRegistrarRegistryStateIterator) Close ¶
func (it *UsernameRegistrarRegistryStateIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*UsernameRegistrarRegistryStateIterator) Error ¶
func (it *UsernameRegistrarRegistryStateIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*UsernameRegistrarRegistryStateIterator) Next ¶
func (it *UsernameRegistrarRegistryStateIterator) 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 UsernameRegistrarSession ¶
type UsernameRegistrarSession struct { Contract *UsernameRegistrar // 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 }
UsernameRegistrarSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*UsernameRegistrarSession) Accounts ¶
func (_UsernameRegistrar *UsernameRegistrarSession) Accounts(arg0 [32]byte) (struct { Balance *big.Int CreationTime *big.Int Owner common.Address }, error)
Accounts is a free data retrieval call binding the contract method 0xbc529c43.
Solidity: function accounts(bytes32 ) view returns(uint256 balance, uint256 creationTime, address owner)
func (*UsernameRegistrarSession) Activate ¶
func (_UsernameRegistrar *UsernameRegistrarSession) Activate(_price *big.Int) (*types.Transaction, error)
Activate is a paid mutator transaction binding the contract method 0xb260c42a.
Solidity: function activate(uint256 _price) returns()
func (*UsernameRegistrarSession) ChangeController ¶
func (_UsernameRegistrar *UsernameRegistrarSession) ChangeController(_newController common.Address) (*types.Transaction, error)
ChangeController is a paid mutator transaction binding the contract method 0x3cebb823.
Solidity: function changeController(address _newController) returns()
func (*UsernameRegistrarSession) Controller ¶
func (_UsernameRegistrar *UsernameRegistrarSession) Controller() (common.Address, error)
Controller is a free data retrieval call binding the contract method 0xf77c4791.
Solidity: function controller() view returns(address)
func (*UsernameRegistrarSession) DropUsername ¶
func (_UsernameRegistrar *UsernameRegistrarSession) DropUsername(_label [32]byte) (*types.Transaction, error)
DropUsername is a paid mutator transaction binding the contract method 0xf9e54282.
Solidity: function dropUsername(bytes32 _label) returns()
func (*UsernameRegistrarSession) EnsNode ¶
func (_UsernameRegistrar *UsernameRegistrarSession) EnsNode() ([32]byte, error)
EnsNode is a free data retrieval call binding the contract method 0xddbcf3a1.
Solidity: function ensNode() view returns(bytes32)
func (*UsernameRegistrarSession) EnsRegistry ¶
func (_UsernameRegistrar *UsernameRegistrarSession) EnsRegistry() (common.Address, error)
EnsRegistry is a free data retrieval call binding the contract method 0x7d73b231.
Solidity: function ensRegistry() view returns(address)
func (*UsernameRegistrarSession) EraseNode ¶
func (_UsernameRegistrar *UsernameRegistrarSession) EraseNode(_labels [][32]byte) (*types.Transaction, error)
EraseNode is a paid mutator transaction binding the contract method 0xde10f04b.
Solidity: function eraseNode(bytes32[] _labels) returns()
func (*UsernameRegistrarSession) GetAccountBalance ¶
func (_UsernameRegistrar *UsernameRegistrarSession) GetAccountBalance(_label [32]byte) (*big.Int, error)
GetAccountBalance is a free data retrieval call binding the contract method 0xebf701e0.
Solidity: function getAccountBalance(bytes32 _label) view returns(uint256 accountBalance)
func (*UsernameRegistrarSession) GetAccountOwner ¶
func (_UsernameRegistrar *UsernameRegistrarSession) GetAccountOwner(_label [32]byte) (common.Address, error)
GetAccountOwner is a free data retrieval call binding the contract method 0xaacffccf.
Solidity: function getAccountOwner(bytes32 _label) view returns(address owner)
func (*UsernameRegistrarSession) GetCreationTime ¶
func (_UsernameRegistrar *UsernameRegistrarSession) GetCreationTime(_label [32]byte) (*big.Int, error)
GetCreationTime is a free data retrieval call binding the contract method 0x6f79301d.
Solidity: function getCreationTime(bytes32 _label) view returns(uint256 creationTime)
func (*UsernameRegistrarSession) GetExpirationTime ¶
func (_UsernameRegistrar *UsernameRegistrarSession) GetExpirationTime(_label [32]byte) (*big.Int, error)
GetExpirationTime is a free data retrieval call binding the contract method 0xa1454830.
Solidity: function getExpirationTime(bytes32 _label) view returns(uint256 releaseTime)
func (*UsernameRegistrarSession) GetPrice ¶
func (_UsernameRegistrar *UsernameRegistrarSession) GetPrice() (*big.Int, error)
GetPrice is a free data retrieval call binding the contract method 0x98d5fdca.
Solidity: function getPrice() view returns(uint256 registryPrice)
func (*UsernameRegistrarSession) GetSlashRewardPart ¶
func (_UsernameRegistrar *UsernameRegistrarSession) GetSlashRewardPart(_label [32]byte) (*big.Int, error)
GetSlashRewardPart is a free data retrieval call binding the contract method 0x8382b460.
Solidity: function getSlashRewardPart(bytes32 _label) view returns(uint256 partReward)
func (*UsernameRegistrarSession) MigrateRegistry ¶
func (_UsernameRegistrar *UsernameRegistrarSession) MigrateRegistry(_price *big.Int) (*types.Transaction, error)
MigrateRegistry is a paid mutator transaction binding the contract method 0x98f038ff.
Solidity: function migrateRegistry(uint256 _price) returns()
func (*UsernameRegistrarSession) MigrateUsername ¶
func (_UsernameRegistrar *UsernameRegistrarSession) MigrateUsername(_label [32]byte, _tokenBalance *big.Int, _creationTime *big.Int, _accountOwner common.Address) (*types.Transaction, error)
MigrateUsername is a paid mutator transaction binding the contract method 0x80cd0015.
Solidity: function migrateUsername(bytes32 _label, uint256 _tokenBalance, uint256 _creationTime, address _accountOwner) returns()
func (*UsernameRegistrarSession) MoveAccount ¶
func (_UsernameRegistrar *UsernameRegistrarSession) MoveAccount(_label [32]byte, _newRegistry common.Address) (*types.Transaction, error)
MoveAccount is a paid mutator transaction binding the contract method 0xc23e61b9.
Solidity: function moveAccount(bytes32 _label, address _newRegistry) returns()
func (*UsernameRegistrarSession) MoveRegistry ¶
func (_UsernameRegistrar *UsernameRegistrarSession) MoveRegistry(_newRegistry common.Address) (*types.Transaction, error)
MoveRegistry is a paid mutator transaction binding the contract method 0xe882c3ce.
Solidity: function moveRegistry(address _newRegistry) returns()
func (*UsernameRegistrarSession) ParentRegistry ¶
func (_UsernameRegistrar *UsernameRegistrarSession) ParentRegistry() (common.Address, error)
ParentRegistry is a free data retrieval call binding the contract method 0xc9b84d4d.
Solidity: function parentRegistry() view returns(address)
func (*UsernameRegistrarSession) Price ¶
func (_UsernameRegistrar *UsernameRegistrarSession) Price() (*big.Int, error)
Price is a free data retrieval call binding the contract method 0xa035b1fe.
Solidity: function price() view returns(uint256)
func (*UsernameRegistrarSession) ReceiveApproval ¶
func (_UsernameRegistrar *UsernameRegistrarSession) ReceiveApproval(_from common.Address, _amount *big.Int, _token common.Address, _data []byte) (*types.Transaction, error)
ReceiveApproval is a paid mutator transaction binding the contract method 0x8f4ffcb1.
Solidity: function receiveApproval(address _from, uint256 _amount, address _token, bytes _data) returns()
func (*UsernameRegistrarSession) Register ¶
func (_UsernameRegistrar *UsernameRegistrarSession) Register(_label [32]byte, _account common.Address, _pubkeyA [32]byte, _pubkeyB [32]byte) (*types.Transaction, error)
Register is a paid mutator transaction binding the contract method 0xb82fedbb.
Solidity: function register(bytes32 _label, address _account, bytes32 _pubkeyA, bytes32 _pubkeyB) returns(bytes32 namehash)
func (*UsernameRegistrarSession) Release ¶
func (_UsernameRegistrar *UsernameRegistrarSession) Release(_label [32]byte) (*types.Transaction, error)
Release is a paid mutator transaction binding the contract method 0x67d42a8b.
Solidity: function release(bytes32 _label) returns()
func (*UsernameRegistrarSession) ReleaseDelay ¶
func (_UsernameRegistrar *UsernameRegistrarSession) ReleaseDelay() (*big.Int, error)
ReleaseDelay is a free data retrieval call binding the contract method 0x7195bf23.
Solidity: function releaseDelay() view returns(uint256)
func (*UsernameRegistrarSession) ReserveAmount ¶
func (_UsernameRegistrar *UsernameRegistrarSession) ReserveAmount() (*big.Int, error)
ReserveAmount is a free data retrieval call binding the contract method 0x4b09b72a.
Solidity: function reserveAmount() view returns(uint256)
func (*UsernameRegistrarSession) ReserveSlash ¶
func (_UsernameRegistrar *UsernameRegistrarSession) ReserveSlash(_secret [32]byte) (*types.Transaction, error)
ReserveSlash is a paid mutator transaction binding the contract method 0x05c24481.
Solidity: function reserveSlash(bytes32 _secret) returns()
func (*UsernameRegistrarSession) ReservedUsernamesMerkleRoot ¶
func (_UsernameRegistrar *UsernameRegistrarSession) ReservedUsernamesMerkleRoot() ([32]byte, error)
ReservedUsernamesMerkleRoot is a free data retrieval call binding the contract method 0x07f908cb.
Solidity: function reservedUsernamesMerkleRoot() view returns(bytes32)
func (*UsernameRegistrarSession) Resolver ¶
func (_UsernameRegistrar *UsernameRegistrarSession) Resolver() (common.Address, error)
Resolver is a free data retrieval call binding the contract method 0x04f3bcec.
Solidity: function resolver() view returns(address)
func (*UsernameRegistrarSession) SetResolver ¶
func (_UsernameRegistrar *UsernameRegistrarSession) 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 (*UsernameRegistrarSession) SlashAddressLikeUsername ¶
func (_UsernameRegistrar *UsernameRegistrarSession) SlashAddressLikeUsername(_username string, _reserveSecret *big.Int) (*types.Transaction, error)
SlashAddressLikeUsername is a paid mutator transaction binding the contract method 0x8cf7b7a4.
Solidity: function slashAddressLikeUsername(string _username, uint256 _reserveSecret) returns()
func (*UsernameRegistrarSession) SlashInvalidUsername ¶
func (_UsernameRegistrar *UsernameRegistrarSession) SlashInvalidUsername(_username string, _offendingPos *big.Int, _reserveSecret *big.Int) (*types.Transaction, error)
SlashInvalidUsername is a paid mutator transaction binding the contract method 0x40784ebd.
Solidity: function slashInvalidUsername(string _username, uint256 _offendingPos, uint256 _reserveSecret) returns()
func (*UsernameRegistrarSession) SlashReservedUsername ¶
func (_UsernameRegistrar *UsernameRegistrarSession) SlashReservedUsername(_username string, _proof [][32]byte, _reserveSecret *big.Int) (*types.Transaction, error)
SlashReservedUsername is a paid mutator transaction binding the contract method 0x40b1ad52.
Solidity: function slashReservedUsername(string _username, bytes32[] _proof, uint256 _reserveSecret) returns()
func (*UsernameRegistrarSession) SlashSmallUsername ¶
func (_UsernameRegistrar *UsernameRegistrarSession) SlashSmallUsername(_username string, _reserveSecret *big.Int) (*types.Transaction, error)
SlashSmallUsername is a paid mutator transaction binding the contract method 0x96bba9a8.
Solidity: function slashSmallUsername(string _username, uint256 _reserveSecret) returns()
func (*UsernameRegistrarSession) State ¶
func (_UsernameRegistrar *UsernameRegistrarSession) State() (uint8, error)
State is a free data retrieval call binding the contract method 0xc19d93fb.
Solidity: function state() view returns(uint8)
func (*UsernameRegistrarSession) Token ¶
func (_UsernameRegistrar *UsernameRegistrarSession) Token() (common.Address, error)
Token is a free data retrieval call binding the contract method 0xfc0c546a.
Solidity: function token() view returns(address)
func (*UsernameRegistrarSession) UpdateAccountOwner ¶
func (_UsernameRegistrar *UsernameRegistrarSession) UpdateAccountOwner(_label [32]byte) (*types.Transaction, error)
UpdateAccountOwner is a paid mutator transaction binding the contract method 0x32e1ed24.
Solidity: function updateAccountOwner(bytes32 _label) returns()
func (*UsernameRegistrarSession) UpdateRegistryPrice ¶
func (_UsernameRegistrar *UsernameRegistrarSession) UpdateRegistryPrice(_price *big.Int) (*types.Transaction, error)
UpdateRegistryPrice is a paid mutator transaction binding the contract method 0x860e9b0f.
Solidity: function updateRegistryPrice(uint256 _price) returns()
func (*UsernameRegistrarSession) UsernameMinLength ¶
func (_UsernameRegistrar *UsernameRegistrarSession) UsernameMinLength() (*big.Int, error)
UsernameMinLength is a free data retrieval call binding the contract method 0x59ad0209.
Solidity: function usernameMinLength() view returns(uint256)
func (*UsernameRegistrarSession) WithdrawExcessBalance ¶
func (_UsernameRegistrar *UsernameRegistrarSession) WithdrawExcessBalance(_token common.Address, _beneficiary common.Address) (*types.Transaction, error)
WithdrawExcessBalance is a paid mutator transaction binding the contract method 0x307c7a0d.
Solidity: function withdrawExcessBalance(address _token, address _beneficiary) returns()
func (*UsernameRegistrarSession) WithdrawWrongNode ¶
func (_UsernameRegistrar *UsernameRegistrarSession) WithdrawWrongNode(_domainHash [32]byte, _beneficiary common.Address) (*types.Transaction, error)
WithdrawWrongNode is a paid mutator transaction binding the contract method 0xafe12e77.
Solidity: function withdrawWrongNode(bytes32 _domainHash, address _beneficiary) returns()
type UsernameRegistrarTransactor ¶
type UsernameRegistrarTransactor struct {
// contains filtered or unexported fields
}
UsernameRegistrarTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewUsernameRegistrarTransactor ¶
func NewUsernameRegistrarTransactor(address common.Address, transactor bind.ContractTransactor) (*UsernameRegistrarTransactor, error)
NewUsernameRegistrarTransactor creates a new write-only instance of UsernameRegistrar, bound to a specific deployed contract.
func (*UsernameRegistrarTransactor) Activate ¶
func (_UsernameRegistrar *UsernameRegistrarTransactor) Activate(opts *bind.TransactOpts, _price *big.Int) (*types.Transaction, error)
Activate is a paid mutator transaction binding the contract method 0xb260c42a.
Solidity: function activate(uint256 _price) returns()
func (*UsernameRegistrarTransactor) ChangeController ¶
func (_UsernameRegistrar *UsernameRegistrarTransactor) ChangeController(opts *bind.TransactOpts, _newController common.Address) (*types.Transaction, error)
ChangeController is a paid mutator transaction binding the contract method 0x3cebb823.
Solidity: function changeController(address _newController) returns()
func (*UsernameRegistrarTransactor) DropUsername ¶
func (_UsernameRegistrar *UsernameRegistrarTransactor) DropUsername(opts *bind.TransactOpts, _label [32]byte) (*types.Transaction, error)
DropUsername is a paid mutator transaction binding the contract method 0xf9e54282.
Solidity: function dropUsername(bytes32 _label) returns()
func (*UsernameRegistrarTransactor) EraseNode ¶
func (_UsernameRegistrar *UsernameRegistrarTransactor) EraseNode(opts *bind.TransactOpts, _labels [][32]byte) (*types.Transaction, error)
EraseNode is a paid mutator transaction binding the contract method 0xde10f04b.
Solidity: function eraseNode(bytes32[] _labels) returns()
func (*UsernameRegistrarTransactor) MigrateRegistry ¶
func (_UsernameRegistrar *UsernameRegistrarTransactor) MigrateRegistry(opts *bind.TransactOpts, _price *big.Int) (*types.Transaction, error)
MigrateRegistry is a paid mutator transaction binding the contract method 0x98f038ff.
Solidity: function migrateRegistry(uint256 _price) returns()
func (*UsernameRegistrarTransactor) MigrateUsername ¶
func (_UsernameRegistrar *UsernameRegistrarTransactor) MigrateUsername(opts *bind.TransactOpts, _label [32]byte, _tokenBalance *big.Int, _creationTime *big.Int, _accountOwner common.Address) (*types.Transaction, error)
MigrateUsername is a paid mutator transaction binding the contract method 0x80cd0015.
Solidity: function migrateUsername(bytes32 _label, uint256 _tokenBalance, uint256 _creationTime, address _accountOwner) returns()
func (*UsernameRegistrarTransactor) MoveAccount ¶
func (_UsernameRegistrar *UsernameRegistrarTransactor) MoveAccount(opts *bind.TransactOpts, _label [32]byte, _newRegistry common.Address) (*types.Transaction, error)
MoveAccount is a paid mutator transaction binding the contract method 0xc23e61b9.
Solidity: function moveAccount(bytes32 _label, address _newRegistry) returns()
func (*UsernameRegistrarTransactor) MoveRegistry ¶
func (_UsernameRegistrar *UsernameRegistrarTransactor) MoveRegistry(opts *bind.TransactOpts, _newRegistry common.Address) (*types.Transaction, error)
MoveRegistry is a paid mutator transaction binding the contract method 0xe882c3ce.
Solidity: function moveRegistry(address _newRegistry) returns()
func (*UsernameRegistrarTransactor) ReceiveApproval ¶
func (_UsernameRegistrar *UsernameRegistrarTransactor) ReceiveApproval(opts *bind.TransactOpts, _from common.Address, _amount *big.Int, _token common.Address, _data []byte) (*types.Transaction, error)
ReceiveApproval is a paid mutator transaction binding the contract method 0x8f4ffcb1.
Solidity: function receiveApproval(address _from, uint256 _amount, address _token, bytes _data) returns()
func (*UsernameRegistrarTransactor) Register ¶
func (_UsernameRegistrar *UsernameRegistrarTransactor) Register(opts *bind.TransactOpts, _label [32]byte, _account common.Address, _pubkeyA [32]byte, _pubkeyB [32]byte) (*types.Transaction, error)
Register is a paid mutator transaction binding the contract method 0xb82fedbb.
Solidity: function register(bytes32 _label, address _account, bytes32 _pubkeyA, bytes32 _pubkeyB) returns(bytes32 namehash)
func (*UsernameRegistrarTransactor) Release ¶
func (_UsernameRegistrar *UsernameRegistrarTransactor) Release(opts *bind.TransactOpts, _label [32]byte) (*types.Transaction, error)
Release is a paid mutator transaction binding the contract method 0x67d42a8b.
Solidity: function release(bytes32 _label) returns()
func (*UsernameRegistrarTransactor) ReserveSlash ¶
func (_UsernameRegistrar *UsernameRegistrarTransactor) ReserveSlash(opts *bind.TransactOpts, _secret [32]byte) (*types.Transaction, error)
ReserveSlash is a paid mutator transaction binding the contract method 0x05c24481.
Solidity: function reserveSlash(bytes32 _secret) returns()
func (*UsernameRegistrarTransactor) SetResolver ¶
func (_UsernameRegistrar *UsernameRegistrarTransactor) 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 (*UsernameRegistrarTransactor) SlashAddressLikeUsername ¶
func (_UsernameRegistrar *UsernameRegistrarTransactor) SlashAddressLikeUsername(opts *bind.TransactOpts, _username string, _reserveSecret *big.Int) (*types.Transaction, error)
SlashAddressLikeUsername is a paid mutator transaction binding the contract method 0x8cf7b7a4.
Solidity: function slashAddressLikeUsername(string _username, uint256 _reserveSecret) returns()
func (*UsernameRegistrarTransactor) SlashInvalidUsername ¶
func (_UsernameRegistrar *UsernameRegistrarTransactor) SlashInvalidUsername(opts *bind.TransactOpts, _username string, _offendingPos *big.Int, _reserveSecret *big.Int) (*types.Transaction, error)
SlashInvalidUsername is a paid mutator transaction binding the contract method 0x40784ebd.
Solidity: function slashInvalidUsername(string _username, uint256 _offendingPos, uint256 _reserveSecret) returns()
func (*UsernameRegistrarTransactor) SlashReservedUsername ¶
func (_UsernameRegistrar *UsernameRegistrarTransactor) SlashReservedUsername(opts *bind.TransactOpts, _username string, _proof [][32]byte, _reserveSecret *big.Int) (*types.Transaction, error)
SlashReservedUsername is a paid mutator transaction binding the contract method 0x40b1ad52.
Solidity: function slashReservedUsername(string _username, bytes32[] _proof, uint256 _reserveSecret) returns()
func (*UsernameRegistrarTransactor) SlashSmallUsername ¶
func (_UsernameRegistrar *UsernameRegistrarTransactor) SlashSmallUsername(opts *bind.TransactOpts, _username string, _reserveSecret *big.Int) (*types.Transaction, error)
SlashSmallUsername is a paid mutator transaction binding the contract method 0x96bba9a8.
Solidity: function slashSmallUsername(string _username, uint256 _reserveSecret) returns()
func (*UsernameRegistrarTransactor) UpdateAccountOwner ¶
func (_UsernameRegistrar *UsernameRegistrarTransactor) UpdateAccountOwner(opts *bind.TransactOpts, _label [32]byte) (*types.Transaction, error)
UpdateAccountOwner is a paid mutator transaction binding the contract method 0x32e1ed24.
Solidity: function updateAccountOwner(bytes32 _label) returns()
func (*UsernameRegistrarTransactor) UpdateRegistryPrice ¶
func (_UsernameRegistrar *UsernameRegistrarTransactor) UpdateRegistryPrice(opts *bind.TransactOpts, _price *big.Int) (*types.Transaction, error)
UpdateRegistryPrice is a paid mutator transaction binding the contract method 0x860e9b0f.
Solidity: function updateRegistryPrice(uint256 _price) returns()
func (*UsernameRegistrarTransactor) WithdrawExcessBalance ¶
func (_UsernameRegistrar *UsernameRegistrarTransactor) WithdrawExcessBalance(opts *bind.TransactOpts, _token common.Address, _beneficiary common.Address) (*types.Transaction, error)
WithdrawExcessBalance is a paid mutator transaction binding the contract method 0x307c7a0d.
Solidity: function withdrawExcessBalance(address _token, address _beneficiary) returns()
func (*UsernameRegistrarTransactor) WithdrawWrongNode ¶
func (_UsernameRegistrar *UsernameRegistrarTransactor) WithdrawWrongNode(opts *bind.TransactOpts, _domainHash [32]byte, _beneficiary common.Address) (*types.Transaction, error)
WithdrawWrongNode is a paid mutator transaction binding the contract method 0xafe12e77.
Solidity: function withdrawWrongNode(bytes32 _domainHash, address _beneficiary) returns()
type UsernameRegistrarTransactorRaw ¶
type UsernameRegistrarTransactorRaw struct {
Contract *UsernameRegistrarTransactor // Generic write-only contract binding to access the raw methods on
}
UsernameRegistrarTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*UsernameRegistrarTransactorRaw) Transact ¶
func (_UsernameRegistrar *UsernameRegistrarTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*UsernameRegistrarTransactorRaw) Transfer ¶
func (_UsernameRegistrar *UsernameRegistrarTransactorRaw) 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 UsernameRegistrarTransactorSession ¶
type UsernameRegistrarTransactorSession struct { Contract *UsernameRegistrarTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
UsernameRegistrarTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*UsernameRegistrarTransactorSession) Activate ¶
func (_UsernameRegistrar *UsernameRegistrarTransactorSession) Activate(_price *big.Int) (*types.Transaction, error)
Activate is a paid mutator transaction binding the contract method 0xb260c42a.
Solidity: function activate(uint256 _price) returns()
func (*UsernameRegistrarTransactorSession) ChangeController ¶
func (_UsernameRegistrar *UsernameRegistrarTransactorSession) ChangeController(_newController common.Address) (*types.Transaction, error)
ChangeController is a paid mutator transaction binding the contract method 0x3cebb823.
Solidity: function changeController(address _newController) returns()
func (*UsernameRegistrarTransactorSession) DropUsername ¶
func (_UsernameRegistrar *UsernameRegistrarTransactorSession) DropUsername(_label [32]byte) (*types.Transaction, error)
DropUsername is a paid mutator transaction binding the contract method 0xf9e54282.
Solidity: function dropUsername(bytes32 _label) returns()
func (*UsernameRegistrarTransactorSession) EraseNode ¶
func (_UsernameRegistrar *UsernameRegistrarTransactorSession) EraseNode(_labels [][32]byte) (*types.Transaction, error)
EraseNode is a paid mutator transaction binding the contract method 0xde10f04b.
Solidity: function eraseNode(bytes32[] _labels) returns()
func (*UsernameRegistrarTransactorSession) MigrateRegistry ¶
func (_UsernameRegistrar *UsernameRegistrarTransactorSession) MigrateRegistry(_price *big.Int) (*types.Transaction, error)
MigrateRegistry is a paid mutator transaction binding the contract method 0x98f038ff.
Solidity: function migrateRegistry(uint256 _price) returns()
func (*UsernameRegistrarTransactorSession) MigrateUsername ¶
func (_UsernameRegistrar *UsernameRegistrarTransactorSession) MigrateUsername(_label [32]byte, _tokenBalance *big.Int, _creationTime *big.Int, _accountOwner common.Address) (*types.Transaction, error)
MigrateUsername is a paid mutator transaction binding the contract method 0x80cd0015.
Solidity: function migrateUsername(bytes32 _label, uint256 _tokenBalance, uint256 _creationTime, address _accountOwner) returns()
func (*UsernameRegistrarTransactorSession) MoveAccount ¶
func (_UsernameRegistrar *UsernameRegistrarTransactorSession) MoveAccount(_label [32]byte, _newRegistry common.Address) (*types.Transaction, error)
MoveAccount is a paid mutator transaction binding the contract method 0xc23e61b9.
Solidity: function moveAccount(bytes32 _label, address _newRegistry) returns()
func (*UsernameRegistrarTransactorSession) MoveRegistry ¶
func (_UsernameRegistrar *UsernameRegistrarTransactorSession) MoveRegistry(_newRegistry common.Address) (*types.Transaction, error)
MoveRegistry is a paid mutator transaction binding the contract method 0xe882c3ce.
Solidity: function moveRegistry(address _newRegistry) returns()
func (*UsernameRegistrarTransactorSession) ReceiveApproval ¶
func (_UsernameRegistrar *UsernameRegistrarTransactorSession) ReceiveApproval(_from common.Address, _amount *big.Int, _token common.Address, _data []byte) (*types.Transaction, error)
ReceiveApproval is a paid mutator transaction binding the contract method 0x8f4ffcb1.
Solidity: function receiveApproval(address _from, uint256 _amount, address _token, bytes _data) returns()
func (*UsernameRegistrarTransactorSession) Register ¶
func (_UsernameRegistrar *UsernameRegistrarTransactorSession) Register(_label [32]byte, _account common.Address, _pubkeyA [32]byte, _pubkeyB [32]byte) (*types.Transaction, error)
Register is a paid mutator transaction binding the contract method 0xb82fedbb.
Solidity: function register(bytes32 _label, address _account, bytes32 _pubkeyA, bytes32 _pubkeyB) returns(bytes32 namehash)
func (*UsernameRegistrarTransactorSession) Release ¶
func (_UsernameRegistrar *UsernameRegistrarTransactorSession) Release(_label [32]byte) (*types.Transaction, error)
Release is a paid mutator transaction binding the contract method 0x67d42a8b.
Solidity: function release(bytes32 _label) returns()
func (*UsernameRegistrarTransactorSession) ReserveSlash ¶
func (_UsernameRegistrar *UsernameRegistrarTransactorSession) ReserveSlash(_secret [32]byte) (*types.Transaction, error)
ReserveSlash is a paid mutator transaction binding the contract method 0x05c24481.
Solidity: function reserveSlash(bytes32 _secret) returns()
func (*UsernameRegistrarTransactorSession) SetResolver ¶
func (_UsernameRegistrar *UsernameRegistrarTransactorSession) 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 (*UsernameRegistrarTransactorSession) SlashAddressLikeUsername ¶
func (_UsernameRegistrar *UsernameRegistrarTransactorSession) SlashAddressLikeUsername(_username string, _reserveSecret *big.Int) (*types.Transaction, error)
SlashAddressLikeUsername is a paid mutator transaction binding the contract method 0x8cf7b7a4.
Solidity: function slashAddressLikeUsername(string _username, uint256 _reserveSecret) returns()
func (*UsernameRegistrarTransactorSession) SlashInvalidUsername ¶
func (_UsernameRegistrar *UsernameRegistrarTransactorSession) SlashInvalidUsername(_username string, _offendingPos *big.Int, _reserveSecret *big.Int) (*types.Transaction, error)
SlashInvalidUsername is a paid mutator transaction binding the contract method 0x40784ebd.
Solidity: function slashInvalidUsername(string _username, uint256 _offendingPos, uint256 _reserveSecret) returns()
func (*UsernameRegistrarTransactorSession) SlashReservedUsername ¶
func (_UsernameRegistrar *UsernameRegistrarTransactorSession) SlashReservedUsername(_username string, _proof [][32]byte, _reserveSecret *big.Int) (*types.Transaction, error)
SlashReservedUsername is a paid mutator transaction binding the contract method 0x40b1ad52.
Solidity: function slashReservedUsername(string _username, bytes32[] _proof, uint256 _reserveSecret) returns()
func (*UsernameRegistrarTransactorSession) SlashSmallUsername ¶
func (_UsernameRegistrar *UsernameRegistrarTransactorSession) SlashSmallUsername(_username string, _reserveSecret *big.Int) (*types.Transaction, error)
SlashSmallUsername is a paid mutator transaction binding the contract method 0x96bba9a8.
Solidity: function slashSmallUsername(string _username, uint256 _reserveSecret) returns()
func (*UsernameRegistrarTransactorSession) UpdateAccountOwner ¶
func (_UsernameRegistrar *UsernameRegistrarTransactorSession) UpdateAccountOwner(_label [32]byte) (*types.Transaction, error)
UpdateAccountOwner is a paid mutator transaction binding the contract method 0x32e1ed24.
Solidity: function updateAccountOwner(bytes32 _label) returns()
func (*UsernameRegistrarTransactorSession) UpdateRegistryPrice ¶
func (_UsernameRegistrar *UsernameRegistrarTransactorSession) UpdateRegistryPrice(_price *big.Int) (*types.Transaction, error)
UpdateRegistryPrice is a paid mutator transaction binding the contract method 0x860e9b0f.
Solidity: function updateRegistryPrice(uint256 _price) returns()
func (*UsernameRegistrarTransactorSession) WithdrawExcessBalance ¶
func (_UsernameRegistrar *UsernameRegistrarTransactorSession) WithdrawExcessBalance(_token common.Address, _beneficiary common.Address) (*types.Transaction, error)
WithdrawExcessBalance is a paid mutator transaction binding the contract method 0x307c7a0d.
Solidity: function withdrawExcessBalance(address _token, address _beneficiary) returns()
func (*UsernameRegistrarTransactorSession) WithdrawWrongNode ¶
func (_UsernameRegistrar *UsernameRegistrarTransactorSession) WithdrawWrongNode(_domainHash [32]byte, _beneficiary common.Address) (*types.Transaction, error)
WithdrawWrongNode is a paid mutator transaction binding the contract method 0xafe12e77.
Solidity: function withdrawWrongNode(bytes32 _domainHash, address _beneficiary) returns()
type UsernameRegistrarUsernameOwner ¶
type UsernameRegistrarUsernameOwner struct { NameHash [32]byte Owner common.Address Raw types.Log // Blockchain specific contextual infos }
UsernameRegistrarUsernameOwner represents a UsernameOwner event raised by the UsernameRegistrar contract.
type UsernameRegistrarUsernameOwnerIterator ¶
type UsernameRegistrarUsernameOwnerIterator struct { Event *UsernameRegistrarUsernameOwner // Event containing the contract specifics and raw log // contains filtered or unexported fields }
UsernameRegistrarUsernameOwnerIterator is returned from FilterUsernameOwner and is used to iterate over the raw logs and unpacked data for UsernameOwner events raised by the UsernameRegistrar contract.
func (*UsernameRegistrarUsernameOwnerIterator) Close ¶
func (it *UsernameRegistrarUsernameOwnerIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*UsernameRegistrarUsernameOwnerIterator) Error ¶
func (it *UsernameRegistrarUsernameOwnerIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*UsernameRegistrarUsernameOwnerIterator) Next ¶
func (it *UsernameRegistrarUsernameOwnerIterator) 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.