Documentation
¶
Index ¶
- Constants
- Variables
- type IRegistry
- type IRegistryCaller
- func (_IRegistry *IRegistryCaller) GetAllNames(opts *bind.CallOpts) ([]string, error)
- func (_IRegistry *IRegistryCaller) GetAllRecords(opts *bind.CallOpts, name string) ([]IRegistryRecord, error)
- func (_IRegistry *IRegistryCaller) Names(opts *bind.CallOpts, arg0 *big.Int) (string, error)
- func (_IRegistry *IRegistryCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_IRegistry *IRegistryCaller) Records(opts *bind.CallOpts, arg0 string, arg1 *big.Int) (struct{ ... }, error)
- type IRegistryCallerRaw
- type IRegistryCallerSession
- func (_IRegistry *IRegistryCallerSession) GetAllNames() ([]string, error)
- func (_IRegistry *IRegistryCallerSession) GetAllRecords(name string) ([]IRegistryRecord, error)
- func (_IRegistry *IRegistryCallerSession) Names(arg0 *big.Int) (string, error)
- func (_IRegistry *IRegistryCallerSession) Owner() (common.Address, error)
- func (_IRegistry *IRegistryCallerSession) Records(arg0 string, arg1 *big.Int) (struct{ ... }, error)
- type IRegistryFilterer
- func (_IRegistry *IRegistryFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*IRegistryOwnershipTransferredIterator, error)
- func (_IRegistry *IRegistryFilterer) FilterRegistered(opts *bind.FilterOpts, addr []common.Address, activation []*big.Int) (*IRegistryRegisteredIterator, error)
- func (_IRegistry *IRegistryFilterer) ParseOwnershipTransferred(log types.Log) (*IRegistryOwnershipTransferred, error)
- func (_IRegistry *IRegistryFilterer) ParseRegistered(log types.Log) (*IRegistryRegistered, error)
- func (_IRegistry *IRegistryFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *IRegistryOwnershipTransferred, ...) (event.Subscription, error)
- func (_IRegistry *IRegistryFilterer) WatchRegistered(opts *bind.WatchOpts, sink chan<- *IRegistryRegistered, addr []common.Address, ...) (event.Subscription, error)
- type IRegistryOwnershipTransferred
- type IRegistryOwnershipTransferredIterator
- type IRegistryRaw
- func (_IRegistry *IRegistryRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_IRegistry *IRegistryRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_IRegistry *IRegistryRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type IRegistryRecord
- type IRegistryRegistered
- type IRegistryRegisteredIterator
- type IRegistrySession
- func (_IRegistry *IRegistrySession) GetActiveAddr(name string) (*types.Transaction, error)
- func (_IRegistry *IRegistrySession) GetAllNames() ([]string, error)
- func (_IRegistry *IRegistrySession) GetAllRecords(name string) ([]IRegistryRecord, error)
- func (_IRegistry *IRegistrySession) Names(arg0 *big.Int) (string, error)
- func (_IRegistry *IRegistrySession) Owner() (common.Address, error)
- func (_IRegistry *IRegistrySession) Records(arg0 string, arg1 *big.Int) (struct{ ... }, error)
- func (_IRegistry *IRegistrySession) Register(name string, addr common.Address, activation *big.Int) (*types.Transaction, error)
- func (_IRegistry *IRegistrySession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- type IRegistryTransactor
- func (_IRegistry *IRegistryTransactor) GetActiveAddr(opts *bind.TransactOpts, name string) (*types.Transaction, error)
- func (_IRegistry *IRegistryTransactor) Register(opts *bind.TransactOpts, name string, addr common.Address, activation *big.Int) (*types.Transaction, error)
- func (_IRegistry *IRegistryTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- type IRegistryTransactorRaw
- type IRegistryTransactorSession
- func (_IRegistry *IRegistryTransactorSession) GetActiveAddr(name string) (*types.Transaction, error)
- func (_IRegistry *IRegistryTransactorSession) Register(name string, addr common.Address, activation *big.Int) (*types.Transaction, error)
- func (_IRegistry *IRegistryTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- type Registry
- type RegistryCaller
- func (_Registry *RegistryCaller) GetActiveAddr(opts *bind.CallOpts, name string) (common.Address, error)
- func (_Registry *RegistryCaller) GetAllNames(opts *bind.CallOpts) ([]string, error)
- func (_Registry *RegistryCaller) GetAllRecords(opts *bind.CallOpts, name string) ([]IRegistryRecord, error)
- func (_Registry *RegistryCaller) Names(opts *bind.CallOpts, arg0 *big.Int) (string, error)
- func (_Registry *RegistryCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_Registry *RegistryCaller) Records(opts *bind.CallOpts, arg0 string, arg1 *big.Int) (struct{ ... }, error)
- type RegistryCallerRaw
- type RegistryCallerSession
- func (_Registry *RegistryCallerSession) GetActiveAddr(name string) (common.Address, error)
- func (_Registry *RegistryCallerSession) GetAllNames() ([]string, error)
- func (_Registry *RegistryCallerSession) GetAllRecords(name string) ([]IRegistryRecord, error)
- func (_Registry *RegistryCallerSession) Names(arg0 *big.Int) (string, error)
- func (_Registry *RegistryCallerSession) Owner() (common.Address, error)
- func (_Registry *RegistryCallerSession) Records(arg0 string, arg1 *big.Int) (struct{ ... }, error)
- type RegistryFilterer
- func (_Registry *RegistryFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*RegistryOwnershipTransferredIterator, error)
- func (_Registry *RegistryFilterer) FilterRegistered(opts *bind.FilterOpts, addr []common.Address, activation []*big.Int) (*RegistryRegisteredIterator, error)
- func (_Registry *RegistryFilterer) ParseOwnershipTransferred(log types.Log) (*RegistryOwnershipTransferred, error)
- func (_Registry *RegistryFilterer) ParseRegistered(log types.Log) (*RegistryRegistered, error)
- func (_Registry *RegistryFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *RegistryOwnershipTransferred, ...) (event.Subscription, error)
- func (_Registry *RegistryFilterer) WatchRegistered(opts *bind.WatchOpts, sink chan<- *RegistryRegistered, addr []common.Address, ...) (event.Subscription, error)
- type RegistryOwnershipTransferred
- type RegistryOwnershipTransferredIterator
- type RegistryRaw
- func (_Registry *RegistryRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Registry *RegistryRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Registry *RegistryRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type RegistryRegistered
- type RegistryRegisteredIterator
- type RegistrySession
- func (_Registry *RegistrySession) GetActiveAddr(name string) (common.Address, error)
- func (_Registry *RegistrySession) GetAllNames() ([]string, error)
- func (_Registry *RegistrySession) GetAllRecords(name string) ([]IRegistryRecord, error)
- func (_Registry *RegistrySession) Names(arg0 *big.Int) (string, error)
- func (_Registry *RegistrySession) Owner() (common.Address, error)
- func (_Registry *RegistrySession) Records(arg0 string, arg1 *big.Int) (struct{ ... }, error)
- func (_Registry *RegistrySession) Register(name string, addr common.Address, activation *big.Int) (*types.Transaction, error)
- func (_Registry *RegistrySession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- type RegistryTransactor
- type RegistryTransactorRaw
- type RegistryTransactorSession
Constants ¶
const IRegistryBinRuntime = ``
IRegistryBinRuntime is the compiled bytecode used for adding genesis block without deploying code.
const RegistryBinRuntime = `` /* 7026-byte string literal not displayed */
RegistryBinRuntime is the compiled bytecode used for adding genesis block without deploying code.
Variables ¶
var IRegistryABI = IRegistryMetaData.ABI
IRegistryABI is the input ABI used to generate the binding from. Deprecated: Use IRegistryMetaData.ABI instead.
var IRegistryFuncSigs = IRegistryMetaData.Sigs
IRegistryFuncSigs maps the 4-byte function signature to its string representation. Deprecated: Use IRegistryMetaData.Sigs instead.
var IRegistryMetaData = &bind.MetaData{ ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"activation\",\"type\":\"uint256\"}],\"name\":\"Registered\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"}],\"name\":\"getActiveAddr\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getAllNames\",\"outputs\":[{\"internalType\":\"string[]\",\"name\":\"\",\"type\":\"string[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"}],\"name\":\"getAllRecords\",\"outputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"activation\",\"type\":\"uint256\"}],\"internalType\":\"structIRegistry.Record[]\",\"name\":\"\",\"type\":\"tuple[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"names\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"records\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"activation\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"activation\",\"type\":\"uint256\"}],\"name\":\"register\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]", Sigs: map[string]string{ "e2693e3f": "getActiveAddr(string)", "fb825e5f": "getAllNames()", "78d573a2": "getAllRecords(string)", "4622ab03": "names(uint256)", "8da5cb5b": "owner()", "3b51650d": "records(string,uint256)", "d393c871": "register(string,address,uint256)", "f2fde38b": "transferOwnership(address)", }, }
IRegistryMetaData contains all meta data concerning the IRegistry contract.
var RegistryABI = RegistryMetaData.ABI
RegistryABI is the input ABI used to generate the binding from. Deprecated: Use RegistryMetaData.ABI instead.
var RegistryBin = RegistryMetaData.Bin
RegistryBin is the compiled bytecode used for deploying new contracts. Deprecated: Use RegistryMetaData.Bin instead.
var RegistryFuncSigs = RegistryMetaData.Sigs
RegistryFuncSigs maps the 4-byte function signature to its string representation. Deprecated: Use RegistryMetaData.Sigs instead.
var RegistryMetaData = &bind.MetaData{ ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"activation\",\"type\":\"uint256\"}],\"name\":\"Registered\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"}],\"name\":\"getActiveAddr\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getAllNames\",\"outputs\":[{\"internalType\":\"string[]\",\"name\":\"\",\"type\":\"string[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"}],\"name\":\"getAllRecords\",\"outputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"activation\",\"type\":\"uint256\"}],\"internalType\":\"structIRegistry.Record[]\",\"name\":\"\",\"type\":\"tuple[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"names\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"records\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"activation\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"activation\",\"type\":\"uint256\"}],\"name\":\"register\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]", Sigs: map[string]string{ "e2693e3f": "getActiveAddr(string)", "fb825e5f": "getAllNames()", "78d573a2": "getAllRecords(string)", "4622ab03": "names(uint256)", "8da5cb5b": "owner()", "3b51650d": "records(string,uint256)", "d393c871": "register(string,address,uint256)", "f2fde38b": "transferOwnership(address)", }, Bin: "0x608060405234801561001057600080fd5b50610db9806100206000396000f3fe608060405234801561001057600080fd5b50600436106100885760003560e01c8063d393c8711161005b578063d393c87114610129578063e2693e3f1461013e578063f2fde38b14610151578063fb825e5f1461016457600080fd5b80633b51650d1461008d5780634622ab03146100c457806378d573a2146100e45780638da5cb5b14610104575b600080fd5b6100a061009b366004610975565b610179565b604080516001600160a01b0390931683526020830191909152015b60405180910390f35b6100d76100d23660046109ba565b6101ce565b6040516100bb9190610a23565b6100f76100f2366004610a3d565b61027a565b6040516100bb9190610a7a565b6002546001600160a01b03165b6040516001600160a01b0390911681526020016100bb565b61013c610137366004610aee565b61030d565b005b61011161014c366004610a3d565b61062b565b61013c61015f366004610b45565b610722565b61016c6107f9565b6040516100bb9190610b60565b815160208184018101805160008252928201918501919091209190528054829081106101a457600080fd5b6000918252602090912060029091020180546001909101546001600160a01b039091169250905082565b600181815481106101de57600080fd5b9060005260206000200160009150905080546101f990610bc2565b80601f016020809104026020016040519081016040528092919081815260200182805461022590610bc2565b80156102725780601f1061024757610100808354040283529160200191610272565b820191906000526020600020905b81548152906001019060200180831161025557829003601f168201915b505050505081565b606060008260405161028c9190610bfc565b9081526020016040518091039020805480602002602001604051908101604052809291908181526020016000905b82821015610302576000848152602090819020604080518082019091526002850290910180546001600160a01b031682526001908101548284015290835290920191016102ba565b505050509050919050565b6002546001600160a01b031633146103585760405162461bcd60e51b81526020600482015260096024820152682737ba1037bbb732b960b91b60448201526064015b60405180910390fd5b8260008160405160200161036c9190610bfc565b604051602081830303815290604052905080516000036103bd5760405162461bcd60e51b815260206004820152600c60248201526b456d70747920737472696e6760a01b604482015260640161034f565b4383116104165760405162461bcd60e51b815260206004820152602160248201527f43616e277420726567697374657220636f6e74726163742066726f6d207061736044820152601d60fa1b606482015260840161034f565b600080866040516104279190610bfc565b90815260405190819003602001902054905060008190036104f3576001805480820182556000919091527fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf60161047d8782610c67565b5060008660405161048e9190610bfc565b90815260408051602092819003830181208183019092526001600160a01b0388811682528382018881528354600180820186556000958652959094209251600290940290920180546001600160a01b03191693909116929092178255519101556105e1565b600080876040516105049190610bfc565b90815260405190819003602001902061051e600184610d3d565b8154811061052e5761052e610d56565b90600052602060002090600202019050438160010154116105be576000876040516105599190610bfc565b90815260408051602092819003830181208183019092526001600160a01b0389811682528382018981528354600180820186556000958652959094209251600290940290920180546001600160a01b03191693909116929092178255519101556105df565b80546001600160a01b0319166001600160a01b038716178155600181018590555b505b83856001600160a01b03167f142e1fdac7ecccbc62af925f0b4039db26847b625602e56b1421dfbc8a0e4f308860405161061b9190610a23565b60405180910390a3505050505050565b60008060008360405161063e9190610bfc565b908152604051908190036020019020549050805b801561071857436000856040516106699190610bfc565b908152604051908190036020019020610683600184610d3d565b8154811061069357610693610d56565b90600052602060002090600202016001015411610706576000846040516106ba9190610bfc565b9081526040519081900360200190206106d4600183610d3d565b815481106106e4576106e4610d56565b60009182526020909120600290910201546001600160a01b0316949350505050565b8061071081610d6c565b915050610652565b5060009392505050565b6002546001600160a01b031633146107685760405162461bcd60e51b81526020600482015260096024820152682737ba1037bbb732b960b91b604482015260640161034f565b6001600160a01b0381166107ad5760405162461bcd60e51b815260206004820152600c60248201526b5a65726f206164647265737360a01b604482015260640161034f565b600280546001600160a01b0319166001600160a01b03831690811790915560405133907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a350565b60606001805480602002602001604051908101604052809291908181526020016000905b828210156108c957838290600052602060002001805461083c90610bc2565b80601f016020809104026020016040519081016040528092919081815260200182805461086890610bc2565b80156108b55780601f1061088a576101008083540402835291602001916108b5565b820191906000526020600020905b81548152906001019060200180831161089857829003601f168201915b50505050508152602001906001019061081d565b50505050905090565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126108f957600080fd5b813567ffffffffffffffff80821115610914576109146108d2565b604051601f8301601f19908116603f0116810190828211818310171561093c5761093c6108d2565b8160405283815286602085880101111561095557600080fd5b836020870160208301376000602085830101528094505050505092915050565b6000806040838503121561098857600080fd5b823567ffffffffffffffff81111561099f57600080fd5b6109ab858286016108e8565b95602094909401359450505050565b6000602082840312156109cc57600080fd5b5035919050565b60005b838110156109ee5781810151838201526020016109d6565b50506000910152565b60008151808452610a0f8160208601602086016109d3565b601f01601f19169290920160200192915050565b602081526000610a3660208301846109f7565b9392505050565b600060208284031215610a4f57600080fd5b813567ffffffffffffffff811115610a6657600080fd5b610a72848285016108e8565b949350505050565b602080825282518282018190526000919060409081850190868401855b82811015610ac557815180516001600160a01b03168552860151868501529284019290850190600101610a97565b5091979650505050505050565b80356001600160a01b0381168114610ae957600080fd5b919050565b600080600060608486031215610b0357600080fd5b833567ffffffffffffffff811115610b1a57600080fd5b610b26868287016108e8565b935050610b3560208501610ad2565b9150604084013590509250925092565b600060208284031215610b5757600080fd5b610a3682610ad2565b6000602080830181845280855180835260408601915060408160051b870101925083870160005b82811015610bb557603f19888603018452610ba38583516109f7565b94509285019290850190600101610b87565b5092979650505050505050565b600181811c90821680610bd657607f821691505b602082108103610bf657634e487b7160e01b600052602260045260246000fd5b50919050565b60008251610c0e8184602087016109d3565b9190910192915050565b601f821115610c6257600081815260208120601f850160051c81016020861015610c3f5750805b601f850160051c820191505b81811015610c5e57828155600101610c4b565b5050505b505050565b815167ffffffffffffffff811115610c8157610c816108d2565b610c9581610c8f8454610bc2565b84610c18565b602080601f831160018114610cca5760008415610cb25750858301515b600019600386901b1c1916600185901b178555610c5e565b600085815260208120601f198616915b82811015610cf957888601518255948401946001909101908401610cda565b5085821015610d175787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b81810381811115610d5057610d50610d27565b92915050565b634e487b7160e01b600052603260045260246000fd5b600081610d7b57610d7b610d27565b50600019019056fea26469706673582212207827db2c3fa285bade50a28b40aa6855f9e0fef4940fe6b0997050d3e392458964736f6c63430008130033", }
RegistryMetaData contains all meta data concerning the Registry contract.
Functions ¶
This section is empty.
Types ¶
type IRegistry ¶
type IRegistry struct { IRegistryCaller // Read-only binding to the contract IRegistryTransactor // Write-only binding to the contract IRegistryFilterer // Log filterer for contract events }
IRegistry is an auto generated Go binding around a Kaia contract.
func NewIRegistry ¶
NewIRegistry creates a new instance of IRegistry, bound to a specific deployed contract.
type IRegistryCaller ¶
type IRegistryCaller struct {
// contains filtered or unexported fields
}
IRegistryCaller is an auto generated read-only Go binding around a Kaia contract.
func NewIRegistryCaller ¶
func NewIRegistryCaller(address common.Address, caller bind.ContractCaller) (*IRegistryCaller, error)
NewIRegistryCaller creates a new read-only instance of IRegistry, bound to a specific deployed contract.
func (*IRegistryCaller) GetAllNames ¶
func (_IRegistry *IRegistryCaller) GetAllNames(opts *bind.CallOpts) ([]string, error)
GetAllNames is a free data retrieval call binding the contract method 0xfb825e5f.
Solidity: function getAllNames() view returns(string[])
func (*IRegistryCaller) GetAllRecords ¶
func (_IRegistry *IRegistryCaller) GetAllRecords(opts *bind.CallOpts, name string) ([]IRegistryRecord, error)
GetAllRecords is a free data retrieval call binding the contract method 0x78d573a2.
Solidity: function getAllRecords(string name) view returns((address,uint256)[])
func (*IRegistryCaller) Names ¶
Names is a free data retrieval call binding the contract method 0x4622ab03.
Solidity: function names(uint256 ) view returns(string)
func (*IRegistryCaller) Owner ¶
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*IRegistryCaller) Records ¶
func (_IRegistry *IRegistryCaller) Records(opts *bind.CallOpts, arg0 string, arg1 *big.Int) (struct { Addr common.Address Activation *big.Int }, error, )
Records is a free data retrieval call binding the contract method 0x3b51650d.
Solidity: function records(string , uint256 ) view returns(address addr, uint256 activation)
type IRegistryCallerRaw ¶
type IRegistryCallerRaw struct {
Contract *IRegistryCaller // Generic read-only contract binding to access the raw methods on
}
IRegistryCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract.
func (*IRegistryCallerRaw) Call ¶
func (_IRegistry *IRegistryCallerRaw) 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 IRegistryCallerSession ¶
type IRegistryCallerSession struct { Contract *IRegistryCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
IRegistryCallerSession is an auto generated read-only Go binding around a Kaia contract, with pre-set call options.
func (*IRegistryCallerSession) GetAllNames ¶
func (_IRegistry *IRegistryCallerSession) GetAllNames() ([]string, error)
GetAllNames is a free data retrieval call binding the contract method 0xfb825e5f.
Solidity: function getAllNames() view returns(string[])
func (*IRegistryCallerSession) GetAllRecords ¶
func (_IRegistry *IRegistryCallerSession) GetAllRecords(name string) ([]IRegistryRecord, error)
GetAllRecords is a free data retrieval call binding the contract method 0x78d573a2.
Solidity: function getAllRecords(string name) view returns((address,uint256)[])
func (*IRegistryCallerSession) Names ¶
func (_IRegistry *IRegistryCallerSession) Names(arg0 *big.Int) (string, error)
Names is a free data retrieval call binding the contract method 0x4622ab03.
Solidity: function names(uint256 ) view returns(string)
func (*IRegistryCallerSession) Owner ¶
func (_IRegistry *IRegistryCallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*IRegistryCallerSession) Records ¶
func (_IRegistry *IRegistryCallerSession) Records(arg0 string, arg1 *big.Int) (struct { Addr common.Address Activation *big.Int }, error, )
Records is a free data retrieval call binding the contract method 0x3b51650d.
Solidity: function records(string , uint256 ) view returns(address addr, uint256 activation)
type IRegistryFilterer ¶
type IRegistryFilterer struct {
// contains filtered or unexported fields
}
IRegistryFilterer is an auto generated log filtering Go binding around a Kaia contract events.
func NewIRegistryFilterer ¶
func NewIRegistryFilterer(address common.Address, filterer bind.ContractFilterer) (*IRegistryFilterer, error)
NewIRegistryFilterer creates a new log filterer instance of IRegistry, bound to a specific deployed contract.
func (*IRegistryFilterer) FilterOwnershipTransferred ¶
func (_IRegistry *IRegistryFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*IRegistryOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*IRegistryFilterer) FilterRegistered ¶
func (_IRegistry *IRegistryFilterer) FilterRegistered(opts *bind.FilterOpts, addr []common.Address, activation []*big.Int) (*IRegistryRegisteredIterator, error)
FilterRegistered is a free log retrieval operation binding the contract event 0x142e1fdac7ecccbc62af925f0b4039db26847b625602e56b1421dfbc8a0e4f30.
Solidity: event Registered(string name, address indexed addr, uint256 indexed activation)
func (*IRegistryFilterer) ParseOwnershipTransferred ¶
func (_IRegistry *IRegistryFilterer) ParseOwnershipTransferred(log types.Log) (*IRegistryOwnershipTransferred, error)
ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*IRegistryFilterer) ParseRegistered ¶
func (_IRegistry *IRegistryFilterer) ParseRegistered(log types.Log) (*IRegistryRegistered, error)
ParseRegistered is a log parse operation binding the contract event 0x142e1fdac7ecccbc62af925f0b4039db26847b625602e56b1421dfbc8a0e4f30.
Solidity: event Registered(string name, address indexed addr, uint256 indexed activation)
func (*IRegistryFilterer) WatchOwnershipTransferred ¶
func (_IRegistry *IRegistryFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *IRegistryOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)
WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*IRegistryFilterer) WatchRegistered ¶
func (_IRegistry *IRegistryFilterer) WatchRegistered(opts *bind.WatchOpts, sink chan<- *IRegistryRegistered, addr []common.Address, activation []*big.Int) (event.Subscription, error)
WatchRegistered is a free log subscription operation binding the contract event 0x142e1fdac7ecccbc62af925f0b4039db26847b625602e56b1421dfbc8a0e4f30.
Solidity: event Registered(string name, address indexed addr, uint256 indexed activation)
type IRegistryOwnershipTransferred ¶
type IRegistryOwnershipTransferred struct { PreviousOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
IRegistryOwnershipTransferred represents a OwnershipTransferred event raised by the IRegistry contract.
type IRegistryOwnershipTransferredIterator ¶
type IRegistryOwnershipTransferredIterator struct { Event *IRegistryOwnershipTransferred // Event containing the contract specifics and raw log // contains filtered or unexported fields }
IRegistryOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the IRegistry contract.
func (*IRegistryOwnershipTransferredIterator) Close ¶
func (it *IRegistryOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*IRegistryOwnershipTransferredIterator) Error ¶
func (it *IRegistryOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*IRegistryOwnershipTransferredIterator) Next ¶
func (it *IRegistryOwnershipTransferredIterator) 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 IRegistryRaw ¶
type IRegistryRaw struct {
Contract *IRegistry // Generic contract binding to access the raw methods on
}
IRegistryRaw is an auto generated low-level Go binding around a Kaia contract.
func (*IRegistryRaw) Call ¶
func (_IRegistry *IRegistryRaw) 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 (*IRegistryRaw) Transact ¶
func (_IRegistry *IRegistryRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IRegistryRaw) Transfer ¶
func (_IRegistry *IRegistryRaw) 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 IRegistryRecord ¶
IRegistryRecord is an auto generated low-level Go binding around an user-defined struct.
type IRegistryRegistered ¶
type IRegistryRegistered struct { Name string Addr common.Address Activation *big.Int Raw types.Log // Blockchain specific contextual infos }
IRegistryRegistered represents a Registered event raised by the IRegistry contract.
type IRegistryRegisteredIterator ¶
type IRegistryRegisteredIterator struct { Event *IRegistryRegistered // Event containing the contract specifics and raw log // contains filtered or unexported fields }
IRegistryRegisteredIterator is returned from FilterRegistered and is used to iterate over the raw logs and unpacked data for Registered events raised by the IRegistry contract.
func (*IRegistryRegisteredIterator) Close ¶
func (it *IRegistryRegisteredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*IRegistryRegisteredIterator) Error ¶
func (it *IRegistryRegisteredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*IRegistryRegisteredIterator) Next ¶
func (it *IRegistryRegisteredIterator) 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 IRegistrySession ¶
type IRegistrySession struct { Contract *IRegistry // 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 }
IRegistrySession is an auto generated Go binding around a Kaia contract, with pre-set call and transact options.
func (*IRegistrySession) GetActiveAddr ¶
func (_IRegistry *IRegistrySession) GetActiveAddr(name string) (*types.Transaction, error)
GetActiveAddr is a paid mutator transaction binding the contract method 0xe2693e3f.
Solidity: function getActiveAddr(string name) returns(address)
func (*IRegistrySession) GetAllNames ¶
func (_IRegistry *IRegistrySession) GetAllNames() ([]string, error)
GetAllNames is a free data retrieval call binding the contract method 0xfb825e5f.
Solidity: function getAllNames() view returns(string[])
func (*IRegistrySession) GetAllRecords ¶
func (_IRegistry *IRegistrySession) GetAllRecords(name string) ([]IRegistryRecord, error)
GetAllRecords is a free data retrieval call binding the contract method 0x78d573a2.
Solidity: function getAllRecords(string name) view returns((address,uint256)[])
func (*IRegistrySession) Names ¶
func (_IRegistry *IRegistrySession) Names(arg0 *big.Int) (string, error)
Names is a free data retrieval call binding the contract method 0x4622ab03.
Solidity: function names(uint256 ) view returns(string)
func (*IRegistrySession) Owner ¶
func (_IRegistry *IRegistrySession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*IRegistrySession) Records ¶
func (_IRegistry *IRegistrySession) Records(arg0 string, arg1 *big.Int) (struct { Addr common.Address Activation *big.Int }, error, )
Records is a free data retrieval call binding the contract method 0x3b51650d.
Solidity: function records(string , uint256 ) view returns(address addr, uint256 activation)
func (*IRegistrySession) Register ¶
func (_IRegistry *IRegistrySession) Register(name string, addr common.Address, activation *big.Int) (*types.Transaction, error)
Register is a paid mutator transaction binding the contract method 0xd393c871.
Solidity: function register(string name, address addr, uint256 activation) returns()
func (*IRegistrySession) TransferOwnership ¶
func (_IRegistry *IRegistrySession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
type IRegistryTransactor ¶
type IRegistryTransactor struct {
// contains filtered or unexported fields
}
IRegistryTransactor is an auto generated write-only Go binding around a Kaia contract.
func NewIRegistryTransactor ¶
func NewIRegistryTransactor(address common.Address, transactor bind.ContractTransactor) (*IRegistryTransactor, error)
NewIRegistryTransactor creates a new write-only instance of IRegistry, bound to a specific deployed contract.
func (*IRegistryTransactor) GetActiveAddr ¶
func (_IRegistry *IRegistryTransactor) GetActiveAddr(opts *bind.TransactOpts, name string) (*types.Transaction, error)
GetActiveAddr is a paid mutator transaction binding the contract method 0xe2693e3f.
Solidity: function getActiveAddr(string name) returns(address)
func (*IRegistryTransactor) Register ¶
func (_IRegistry *IRegistryTransactor) Register(opts *bind.TransactOpts, name string, addr common.Address, activation *big.Int) (*types.Transaction, error)
Register is a paid mutator transaction binding the contract method 0xd393c871.
Solidity: function register(string name, address addr, uint256 activation) returns()
func (*IRegistryTransactor) TransferOwnership ¶
func (_IRegistry *IRegistryTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
type IRegistryTransactorRaw ¶
type IRegistryTransactorRaw struct {
Contract *IRegistryTransactor // Generic write-only contract binding to access the raw methods on
}
IRegistryTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract.
func (*IRegistryTransactorRaw) Transact ¶
func (_IRegistry *IRegistryTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IRegistryTransactorRaw) Transfer ¶
func (_IRegistry *IRegistryTransactorRaw) 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 IRegistryTransactorSession ¶
type IRegistryTransactorSession struct { Contract *IRegistryTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
IRegistryTransactorSession is an auto generated write-only Go binding around a Kaia contract, with pre-set transact options.
func (*IRegistryTransactorSession) GetActiveAddr ¶
func (_IRegistry *IRegistryTransactorSession) GetActiveAddr(name string) (*types.Transaction, error)
GetActiveAddr is a paid mutator transaction binding the contract method 0xe2693e3f.
Solidity: function getActiveAddr(string name) returns(address)
func (*IRegistryTransactorSession) Register ¶
func (_IRegistry *IRegistryTransactorSession) Register(name string, addr common.Address, activation *big.Int) (*types.Transaction, error)
Register is a paid mutator transaction binding the contract method 0xd393c871.
Solidity: function register(string name, address addr, uint256 activation) returns()
func (*IRegistryTransactorSession) TransferOwnership ¶
func (_IRegistry *IRegistryTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
type Registry ¶
type Registry struct { RegistryCaller // Read-only binding to the contract RegistryTransactor // Write-only binding to the contract RegistryFilterer // Log filterer for contract events }
Registry is an auto generated Go binding around a Kaia contract.
func DeployRegistry ¶
func DeployRegistry(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *Registry, error)
DeployRegistry deploys a new Kaia contract, binding an instance of Registry to it.
func NewRegistry ¶
NewRegistry creates a new instance of Registry, bound to a specific deployed contract.
type RegistryCaller ¶
type RegistryCaller struct {
// contains filtered or unexported fields
}
RegistryCaller is an auto generated read-only Go binding around a Kaia contract.
func NewRegistryCaller ¶
func NewRegistryCaller(address common.Address, caller bind.ContractCaller) (*RegistryCaller, error)
NewRegistryCaller creates a new read-only instance of Registry, bound to a specific deployed contract.
func (*RegistryCaller) GetActiveAddr ¶
func (_Registry *RegistryCaller) GetActiveAddr(opts *bind.CallOpts, name string) (common.Address, error)
GetActiveAddr is a free data retrieval call binding the contract method 0xe2693e3f.
Solidity: function getActiveAddr(string name) view returns(address)
func (*RegistryCaller) GetAllNames ¶
func (_Registry *RegistryCaller) GetAllNames(opts *bind.CallOpts) ([]string, error)
GetAllNames is a free data retrieval call binding the contract method 0xfb825e5f.
Solidity: function getAllNames() view returns(string[])
func (*RegistryCaller) GetAllRecords ¶
func (_Registry *RegistryCaller) GetAllRecords(opts *bind.CallOpts, name string) ([]IRegistryRecord, error)
GetAllRecords is a free data retrieval call binding the contract method 0x78d573a2.
Solidity: function getAllRecords(string name) view returns((address,uint256)[])
func (*RegistryCaller) Names ¶
Names is a free data retrieval call binding the contract method 0x4622ab03.
Solidity: function names(uint256 ) view returns(string)
func (*RegistryCaller) Owner ¶
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*RegistryCaller) Records ¶
func (_Registry *RegistryCaller) Records(opts *bind.CallOpts, arg0 string, arg1 *big.Int) (struct { Addr common.Address Activation *big.Int }, error, )
Records is a free data retrieval call binding the contract method 0x3b51650d.
Solidity: function records(string , uint256 ) view returns(address addr, uint256 activation)
type RegistryCallerRaw ¶
type RegistryCallerRaw struct {
Contract *RegistryCaller // Generic read-only contract binding to access the raw methods on
}
RegistryCallerRaw is an auto generated low-level read-only Go binding around a Kaia contract.
func (*RegistryCallerRaw) Call ¶
func (_Registry *RegistryCallerRaw) 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 RegistryCallerSession ¶
type RegistryCallerSession struct { Contract *RegistryCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
RegistryCallerSession is an auto generated read-only Go binding around a Kaia contract, with pre-set call options.
func (*RegistryCallerSession) GetActiveAddr ¶
func (_Registry *RegistryCallerSession) GetActiveAddr(name string) (common.Address, error)
GetActiveAddr is a free data retrieval call binding the contract method 0xe2693e3f.
Solidity: function getActiveAddr(string name) view returns(address)
func (*RegistryCallerSession) GetAllNames ¶
func (_Registry *RegistryCallerSession) GetAllNames() ([]string, error)
GetAllNames is a free data retrieval call binding the contract method 0xfb825e5f.
Solidity: function getAllNames() view returns(string[])
func (*RegistryCallerSession) GetAllRecords ¶
func (_Registry *RegistryCallerSession) GetAllRecords(name string) ([]IRegistryRecord, error)
GetAllRecords is a free data retrieval call binding the contract method 0x78d573a2.
Solidity: function getAllRecords(string name) view returns((address,uint256)[])
func (*RegistryCallerSession) Names ¶
func (_Registry *RegistryCallerSession) Names(arg0 *big.Int) (string, error)
Names is a free data retrieval call binding the contract method 0x4622ab03.
Solidity: function names(uint256 ) view returns(string)
func (*RegistryCallerSession) Owner ¶
func (_Registry *RegistryCallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*RegistryCallerSession) Records ¶
func (_Registry *RegistryCallerSession) Records(arg0 string, arg1 *big.Int) (struct { Addr common.Address Activation *big.Int }, error, )
Records is a free data retrieval call binding the contract method 0x3b51650d.
Solidity: function records(string , uint256 ) view returns(address addr, uint256 activation)
type RegistryFilterer ¶
type RegistryFilterer struct {
// contains filtered or unexported fields
}
RegistryFilterer is an auto generated log filtering Go binding around a Kaia contract events.
func NewRegistryFilterer ¶
func NewRegistryFilterer(address common.Address, filterer bind.ContractFilterer) (*RegistryFilterer, error)
NewRegistryFilterer creates a new log filterer instance of Registry, bound to a specific deployed contract.
func (*RegistryFilterer) FilterOwnershipTransferred ¶
func (_Registry *RegistryFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*RegistryOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*RegistryFilterer) FilterRegistered ¶
func (_Registry *RegistryFilterer) FilterRegistered(opts *bind.FilterOpts, addr []common.Address, activation []*big.Int) (*RegistryRegisteredIterator, error)
FilterRegistered is a free log retrieval operation binding the contract event 0x142e1fdac7ecccbc62af925f0b4039db26847b625602e56b1421dfbc8a0e4f30.
Solidity: event Registered(string name, address indexed addr, uint256 indexed activation)
func (*RegistryFilterer) ParseOwnershipTransferred ¶
func (_Registry *RegistryFilterer) ParseOwnershipTransferred(log types.Log) (*RegistryOwnershipTransferred, error)
ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*RegistryFilterer) ParseRegistered ¶
func (_Registry *RegistryFilterer) ParseRegistered(log types.Log) (*RegistryRegistered, error)
ParseRegistered is a log parse operation binding the contract event 0x142e1fdac7ecccbc62af925f0b4039db26847b625602e56b1421dfbc8a0e4f30.
Solidity: event Registered(string name, address indexed addr, uint256 indexed activation)
func (*RegistryFilterer) WatchOwnershipTransferred ¶
func (_Registry *RegistryFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *RegistryOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)
WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*RegistryFilterer) WatchRegistered ¶
func (_Registry *RegistryFilterer) WatchRegistered(opts *bind.WatchOpts, sink chan<- *RegistryRegistered, addr []common.Address, activation []*big.Int) (event.Subscription, error)
WatchRegistered is a free log subscription operation binding the contract event 0x142e1fdac7ecccbc62af925f0b4039db26847b625602e56b1421dfbc8a0e4f30.
Solidity: event Registered(string name, address indexed addr, uint256 indexed activation)
type RegistryOwnershipTransferred ¶
type RegistryOwnershipTransferred struct { PreviousOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
RegistryOwnershipTransferred represents a OwnershipTransferred event raised by the Registry contract.
type RegistryOwnershipTransferredIterator ¶
type RegistryOwnershipTransferredIterator struct { Event *RegistryOwnershipTransferred // Event containing the contract specifics and raw log // contains filtered or unexported fields }
RegistryOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the Registry contract.
func (*RegistryOwnershipTransferredIterator) Close ¶
func (it *RegistryOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*RegistryOwnershipTransferredIterator) Error ¶
func (it *RegistryOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*RegistryOwnershipTransferredIterator) Next ¶
func (it *RegistryOwnershipTransferredIterator) 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 RegistryRaw ¶
type RegistryRaw struct {
Contract *Registry // Generic contract binding to access the raw methods on
}
RegistryRaw is an auto generated low-level Go binding around a Kaia contract.
func (*RegistryRaw) Call ¶
func (_Registry *RegistryRaw) 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 (*RegistryRaw) Transact ¶
func (_Registry *RegistryRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*RegistryRaw) Transfer ¶
func (_Registry *RegistryRaw) 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 RegistryRegistered ¶
type RegistryRegistered struct { Name string Addr common.Address Activation *big.Int Raw types.Log // Blockchain specific contextual infos }
RegistryRegistered represents a Registered event raised by the Registry contract.
type RegistryRegisteredIterator ¶
type RegistryRegisteredIterator struct { Event *RegistryRegistered // Event containing the contract specifics and raw log // contains filtered or unexported fields }
RegistryRegisteredIterator is returned from FilterRegistered and is used to iterate over the raw logs and unpacked data for Registered events raised by the Registry contract.
func (*RegistryRegisteredIterator) Close ¶
func (it *RegistryRegisteredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*RegistryRegisteredIterator) Error ¶
func (it *RegistryRegisteredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*RegistryRegisteredIterator) Next ¶
func (it *RegistryRegisteredIterator) 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 RegistrySession ¶
type RegistrySession struct { Contract *Registry // 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 }
RegistrySession is an auto generated Go binding around a Kaia contract, with pre-set call and transact options.
func (*RegistrySession) GetActiveAddr ¶
func (_Registry *RegistrySession) GetActiveAddr(name string) (common.Address, error)
GetActiveAddr is a free data retrieval call binding the contract method 0xe2693e3f.
Solidity: function getActiveAddr(string name) view returns(address)
func (*RegistrySession) GetAllNames ¶
func (_Registry *RegistrySession) GetAllNames() ([]string, error)
GetAllNames is a free data retrieval call binding the contract method 0xfb825e5f.
Solidity: function getAllNames() view returns(string[])
func (*RegistrySession) GetAllRecords ¶
func (_Registry *RegistrySession) GetAllRecords(name string) ([]IRegistryRecord, error)
GetAllRecords is a free data retrieval call binding the contract method 0x78d573a2.
Solidity: function getAllRecords(string name) view returns((address,uint256)[])
func (*RegistrySession) Names ¶
func (_Registry *RegistrySession) Names(arg0 *big.Int) (string, error)
Names is a free data retrieval call binding the contract method 0x4622ab03.
Solidity: function names(uint256 ) view returns(string)
func (*RegistrySession) Owner ¶
func (_Registry *RegistrySession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*RegistrySession) Records ¶
func (_Registry *RegistrySession) Records(arg0 string, arg1 *big.Int) (struct { Addr common.Address Activation *big.Int }, error, )
Records is a free data retrieval call binding the contract method 0x3b51650d.
Solidity: function records(string , uint256 ) view returns(address addr, uint256 activation)
func (*RegistrySession) Register ¶
func (_Registry *RegistrySession) Register(name string, addr common.Address, activation *big.Int) (*types.Transaction, error)
Register is a paid mutator transaction binding the contract method 0xd393c871.
Solidity: function register(string name, address addr, uint256 activation) returns()
func (*RegistrySession) TransferOwnership ¶
func (_Registry *RegistrySession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
type RegistryTransactor ¶
type RegistryTransactor struct {
// contains filtered or unexported fields
}
RegistryTransactor is an auto generated write-only Go binding around a Kaia contract.
func NewRegistryTransactor ¶
func NewRegistryTransactor(address common.Address, transactor bind.ContractTransactor) (*RegistryTransactor, error)
NewRegistryTransactor creates a new write-only instance of Registry, bound to a specific deployed contract.
func (*RegistryTransactor) Register ¶
func (_Registry *RegistryTransactor) Register(opts *bind.TransactOpts, name string, addr common.Address, activation *big.Int) (*types.Transaction, error)
Register is a paid mutator transaction binding the contract method 0xd393c871.
Solidity: function register(string name, address addr, uint256 activation) returns()
func (*RegistryTransactor) TransferOwnership ¶
func (_Registry *RegistryTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
type RegistryTransactorRaw ¶
type RegistryTransactorRaw struct {
Contract *RegistryTransactor // Generic write-only contract binding to access the raw methods on
}
RegistryTransactorRaw is an auto generated low-level write-only Go binding around a Kaia contract.
func (*RegistryTransactorRaw) Transact ¶
func (_Registry *RegistryTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*RegistryTransactorRaw) Transfer ¶
func (_Registry *RegistryTransactorRaw) 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 RegistryTransactorSession ¶
type RegistryTransactorSession struct { Contract *RegistryTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
RegistryTransactorSession is an auto generated write-only Go binding around a Kaia contract, with pre-set transact options.
func (*RegistryTransactorSession) Register ¶
func (_Registry *RegistryTransactorSession) Register(name string, addr common.Address, activation *big.Int) (*types.Transaction, error)
Register is a paid mutator transaction binding the contract method 0xd393c871.
Solidity: function register(string name, address addr, uint256 activation) returns()
func (*RegistryTransactorSession) TransferOwnership ¶
func (_Registry *RegistryTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()