Documentation ¶
Index ¶
- Variables
- type Walletregistry
- type WalletregistryCaller
- func (_Walletregistry *WalletregistryCaller) AddressProvider(opts *bind.CallOpts) (common.Address, error)
- func (_Walletregistry *WalletregistryCaller) AddressProviderTarget(opts *bind.CallOpts) (common.Address, error)
- func (_Walletregistry *WalletregistryCaller) ExecutorRegistry(opts *bind.CallOpts) (common.Address, error)
- func (_Walletregistry *WalletregistryCaller) GetSubAccountsForWallet(opts *bind.CallOpts, _wallet common.Address) ([]common.Address, error)
- func (_Walletregistry *WalletregistryCaller) IsWallet(opts *bind.CallOpts, arg0 common.Address) (bool, error)
- func (_Walletregistry *WalletregistryCaller) PolicyRegistry(opts *bind.CallOpts) (common.Address, error)
- func (_Walletregistry *WalletregistryCaller) SubAccountToWallet(opts *bind.CallOpts, subAccount common.Address) (common.Address, error)
- func (_Walletregistry *WalletregistryCaller) WalletRegistry(opts *bind.CallOpts) (common.Address, error)
- func (_Walletregistry *WalletregistryCaller) WalletToSubAccountList(opts *bind.CallOpts, wallet common.Address, arg1 *big.Int) (common.Address, error)
- type WalletregistryCallerRaw
- type WalletregistryCallerSession
- func (_Walletregistry *WalletregistryCallerSession) AddressProvider() (common.Address, error)
- func (_Walletregistry *WalletregistryCallerSession) AddressProviderTarget() (common.Address, error)
- func (_Walletregistry *WalletregistryCallerSession) ExecutorRegistry() (common.Address, error)
- func (_Walletregistry *WalletregistryCallerSession) GetSubAccountsForWallet(_wallet common.Address) ([]common.Address, error)
- func (_Walletregistry *WalletregistryCallerSession) IsWallet(arg0 common.Address) (bool, error)
- func (_Walletregistry *WalletregistryCallerSession) PolicyRegistry() (common.Address, error)
- func (_Walletregistry *WalletregistryCallerSession) SubAccountToWallet(subAccount common.Address) (common.Address, error)
- func (_Walletregistry *WalletregistryCallerSession) WalletRegistry() (common.Address, error)
- func (_Walletregistry *WalletregistryCallerSession) WalletToSubAccountList(wallet common.Address, arg1 *big.Int) (common.Address, error)
- type WalletregistryFilterer
- func (_Walletregistry *WalletregistryFilterer) FilterRegisterSubAccount(opts *bind.FilterOpts, wallet []common.Address, subAccount []common.Address) (*WalletregistryRegisterSubAccountIterator, error)
- func (_Walletregistry *WalletregistryFilterer) FilterRegisterWallet(opts *bind.FilterOpts, wallet []common.Address) (*WalletregistryRegisterWalletIterator, error)
- func (_Walletregistry *WalletregistryFilterer) ParseRegisterSubAccount(log types.Log) (*WalletregistryRegisterSubAccount, error)
- func (_Walletregistry *WalletregistryFilterer) ParseRegisterWallet(log types.Log) (*WalletregistryRegisterWallet, error)
- func (_Walletregistry *WalletregistryFilterer) WatchRegisterSubAccount(opts *bind.WatchOpts, sink chan<- *WalletregistryRegisterSubAccount, ...) (event.Subscription, error)
- func (_Walletregistry *WalletregistryFilterer) WatchRegisterWallet(opts *bind.WatchOpts, sink chan<- *WalletregistryRegisterWallet, ...) (event.Subscription, error)
- type WalletregistryRaw
- func (_Walletregistry *WalletregistryRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Walletregistry *WalletregistryRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Walletregistry *WalletregistryRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type WalletregistryRegisterSubAccount
- type WalletregistryRegisterSubAccountIterator
- type WalletregistryRegisterWallet
- type WalletregistryRegisterWalletIterator
- type WalletregistrySession
- func (_Walletregistry *WalletregistrySession) AddressProvider() (common.Address, error)
- func (_Walletregistry *WalletregistrySession) AddressProviderTarget() (common.Address, error)
- func (_Walletregistry *WalletregistrySession) ExecutorRegistry() (common.Address, error)
- func (_Walletregistry *WalletregistrySession) GetSubAccountsForWallet(_wallet common.Address) ([]common.Address, error)
- func (_Walletregistry *WalletregistrySession) IsWallet(arg0 common.Address) (bool, error)
- func (_Walletregistry *WalletregistrySession) PolicyRegistry() (common.Address, error)
- func (_Walletregistry *WalletregistrySession) RegisterSubAccount(_wallet common.Address, _subAccount common.Address) (*types.Transaction, error)
- func (_Walletregistry *WalletregistrySession) RegisterWallet() (*types.Transaction, error)
- func (_Walletregistry *WalletregistrySession) SubAccountToWallet(subAccount common.Address) (common.Address, error)
- func (_Walletregistry *WalletregistrySession) WalletRegistry() (common.Address, error)
- func (_Walletregistry *WalletregistrySession) WalletToSubAccountList(wallet common.Address, arg1 *big.Int) (common.Address, error)
- type WalletregistryTransactor
- type WalletregistryTransactorRaw
- type WalletregistryTransactorSession
Constants ¶
This section is empty.
Variables ¶
var WalletregistryABI = WalletregistryMetaData.ABI
WalletregistryABI is the input ABI used to generate the binding from. Deprecated: Use WalletregistryMetaData.ABI instead.
var WalletregistryMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_addressProvider\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"AlreadyRegistered\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidAddress\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidAddressProvider\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidSender\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"IsSubAccount\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"NotGovernance\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"wallet\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"subAccount\",\"type\":\"address\"}],\"name\":\"RegisterSubAccount\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"wallet\",\"type\":\"address\"}],\"name\":\"RegisterWallet\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"addressProvider\",\"outputs\":[{\"internalType\":\"contractAddressProvider\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"addressProviderTarget\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"executorRegistry\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_wallet\",\"type\":\"address\"}],\"name\":\"getSubAccountsForWallet\",\"outputs\":[{\"internalType\":\"address[]\",\"name\":\"\",\"type\":\"address[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"isWallet\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"policyRegistry\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_wallet\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_subAccount\",\"type\":\"address\"}],\"name\":\"registerSubAccount\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"registerWallet\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"subAccount\",\"type\":\"address\"}],\"name\":\"subAccountToWallet\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"wallet\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"walletRegistry\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"wallet\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"walletToSubAccountList\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"subAccountList\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
}
WalletregistryMetaData contains all meta data concerning the Walletregistry contract.
Functions ¶
This section is empty.
Types ¶
type Walletregistry ¶
type Walletregistry struct { WalletregistryCaller // Read-only binding to the contract WalletregistryTransactor // Write-only binding to the contract WalletregistryFilterer // Log filterer for contract events }
Walletregistry is an auto generated Go binding around an Ethereum contract.
func NewWalletregistry ¶
func NewWalletregistry(address common.Address, backend bind.ContractBackend) (*Walletregistry, error)
NewWalletregistry creates a new instance of Walletregistry, bound to a specific deployed contract.
type WalletregistryCaller ¶
type WalletregistryCaller struct {
// contains filtered or unexported fields
}
WalletregistryCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewWalletregistryCaller ¶
func NewWalletregistryCaller(address common.Address, caller bind.ContractCaller) (*WalletregistryCaller, error)
NewWalletregistryCaller creates a new read-only instance of Walletregistry, bound to a specific deployed contract.
func (*WalletregistryCaller) AddressProvider ¶
func (_Walletregistry *WalletregistryCaller) AddressProvider(opts *bind.CallOpts) (common.Address, error)
AddressProvider is a free data retrieval call binding the contract method 0x2954018c.
Solidity: function addressProvider() view returns(address)
func (*WalletregistryCaller) AddressProviderTarget ¶
func (_Walletregistry *WalletregistryCaller) AddressProviderTarget(opts *bind.CallOpts) (common.Address, error)
AddressProviderTarget is a free data retrieval call binding the contract method 0x21b1e480.
Solidity: function addressProviderTarget() view returns(address)
func (*WalletregistryCaller) ExecutorRegistry ¶
func (_Walletregistry *WalletregistryCaller) ExecutorRegistry(opts *bind.CallOpts) (common.Address, error)
ExecutorRegistry is a free data retrieval call binding the contract method 0xb1cebbe0.
Solidity: function executorRegistry() view returns(address)
func (*WalletregistryCaller) GetSubAccountsForWallet ¶
func (_Walletregistry *WalletregistryCaller) GetSubAccountsForWallet(opts *bind.CallOpts, _wallet common.Address) ([]common.Address, error)
GetSubAccountsForWallet is a free data retrieval call binding the contract method 0x281f60c1.
Solidity: function getSubAccountsForWallet(address _wallet) view returns(address[])
func (*WalletregistryCaller) IsWallet ¶
func (_Walletregistry *WalletregistryCaller) IsWallet(opts *bind.CallOpts, arg0 common.Address) (bool, error)
IsWallet is a free data retrieval call binding the contract method 0xce5570ec.
Solidity: function isWallet(address ) view returns(bool)
func (*WalletregistryCaller) PolicyRegistry ¶
func (_Walletregistry *WalletregistryCaller) PolicyRegistry(opts *bind.CallOpts) (common.Address, error)
PolicyRegistry is a free data retrieval call binding the contract method 0x1c4dd7d0.
Solidity: function policyRegistry() view returns(address)
func (*WalletregistryCaller) SubAccountToWallet ¶
func (_Walletregistry *WalletregistryCaller) SubAccountToWallet(opts *bind.CallOpts, subAccount common.Address) (common.Address, error)
SubAccountToWallet is a free data retrieval call binding the contract method 0x0db142f2.
Solidity: function subAccountToWallet(address subAccount) view returns(address wallet)
func (*WalletregistryCaller) WalletRegistry ¶
func (_Walletregistry *WalletregistryCaller) WalletRegistry(opts *bind.CallOpts) (common.Address, error)
WalletRegistry is a free data retrieval call binding the contract method 0xab7aa6ad.
Solidity: function walletRegistry() view returns(address)
func (*WalletregistryCaller) WalletToSubAccountList ¶
func (_Walletregistry *WalletregistryCaller) WalletToSubAccountList(opts *bind.CallOpts, wallet common.Address, arg1 *big.Int) (common.Address, error)
WalletToSubAccountList is a free data retrieval call binding the contract method 0x588d65fb.
Solidity: function walletToSubAccountList(address wallet, uint256 ) view returns(address subAccountList)
type WalletregistryCallerRaw ¶
type WalletregistryCallerRaw struct {
Contract *WalletregistryCaller // Generic read-only contract binding to access the raw methods on
}
WalletregistryCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*WalletregistryCallerRaw) Call ¶
func (_Walletregistry *WalletregistryCallerRaw) 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 WalletregistryCallerSession ¶
type WalletregistryCallerSession struct { Contract *WalletregistryCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
WalletregistryCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*WalletregistryCallerSession) AddressProvider ¶
func (_Walletregistry *WalletregistryCallerSession) AddressProvider() (common.Address, error)
AddressProvider is a free data retrieval call binding the contract method 0x2954018c.
Solidity: function addressProvider() view returns(address)
func (*WalletregistryCallerSession) AddressProviderTarget ¶
func (_Walletregistry *WalletregistryCallerSession) AddressProviderTarget() (common.Address, error)
AddressProviderTarget is a free data retrieval call binding the contract method 0x21b1e480.
Solidity: function addressProviderTarget() view returns(address)
func (*WalletregistryCallerSession) ExecutorRegistry ¶
func (_Walletregistry *WalletregistryCallerSession) ExecutorRegistry() (common.Address, error)
ExecutorRegistry is a free data retrieval call binding the contract method 0xb1cebbe0.
Solidity: function executorRegistry() view returns(address)
func (*WalletregistryCallerSession) GetSubAccountsForWallet ¶
func (_Walletregistry *WalletregistryCallerSession) GetSubAccountsForWallet(_wallet common.Address) ([]common.Address, error)
GetSubAccountsForWallet is a free data retrieval call binding the contract method 0x281f60c1.
Solidity: function getSubAccountsForWallet(address _wallet) view returns(address[])
func (*WalletregistryCallerSession) IsWallet ¶
func (_Walletregistry *WalletregistryCallerSession) IsWallet(arg0 common.Address) (bool, error)
IsWallet is a free data retrieval call binding the contract method 0xce5570ec.
Solidity: function isWallet(address ) view returns(bool)
func (*WalletregistryCallerSession) PolicyRegistry ¶
func (_Walletregistry *WalletregistryCallerSession) PolicyRegistry() (common.Address, error)
PolicyRegistry is a free data retrieval call binding the contract method 0x1c4dd7d0.
Solidity: function policyRegistry() view returns(address)
func (*WalletregistryCallerSession) SubAccountToWallet ¶
func (_Walletregistry *WalletregistryCallerSession) SubAccountToWallet(subAccount common.Address) (common.Address, error)
SubAccountToWallet is a free data retrieval call binding the contract method 0x0db142f2.
Solidity: function subAccountToWallet(address subAccount) view returns(address wallet)
func (*WalletregistryCallerSession) WalletRegistry ¶
func (_Walletregistry *WalletregistryCallerSession) WalletRegistry() (common.Address, error)
WalletRegistry is a free data retrieval call binding the contract method 0xab7aa6ad.
Solidity: function walletRegistry() view returns(address)
func (*WalletregistryCallerSession) WalletToSubAccountList ¶
func (_Walletregistry *WalletregistryCallerSession) WalletToSubAccountList(wallet common.Address, arg1 *big.Int) (common.Address, error)
WalletToSubAccountList is a free data retrieval call binding the contract method 0x588d65fb.
Solidity: function walletToSubAccountList(address wallet, uint256 ) view returns(address subAccountList)
type WalletregistryFilterer ¶
type WalletregistryFilterer struct {
// contains filtered or unexported fields
}
WalletregistryFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewWalletregistryFilterer ¶
func NewWalletregistryFilterer(address common.Address, filterer bind.ContractFilterer) (*WalletregistryFilterer, error)
NewWalletregistryFilterer creates a new log filterer instance of Walletregistry, bound to a specific deployed contract.
func (*WalletregistryFilterer) FilterRegisterSubAccount ¶
func (_Walletregistry *WalletregistryFilterer) FilterRegisterSubAccount(opts *bind.FilterOpts, wallet []common.Address, subAccount []common.Address) (*WalletregistryRegisterSubAccountIterator, error)
FilterRegisterSubAccount is a free log retrieval operation binding the contract event 0xacb9c63c1050d69261995b89893bf1e5e1fe8f53647db9747212d022f59bea84.
Solidity: event RegisterSubAccount(address indexed wallet, address indexed subAccount)
func (*WalletregistryFilterer) FilterRegisterWallet ¶
func (_Walletregistry *WalletregistryFilterer) FilterRegisterWallet(opts *bind.FilterOpts, wallet []common.Address) (*WalletregistryRegisterWalletIterator, error)
FilterRegisterWallet is a free log retrieval operation binding the contract event 0x3de0c4f89978c8c9ac219df0e8813f0b4a3df2fad979b3e3607cbe6c0ce6c764.
Solidity: event RegisterWallet(address indexed wallet)
func (*WalletregistryFilterer) ParseRegisterSubAccount ¶
func (_Walletregistry *WalletregistryFilterer) ParseRegisterSubAccount(log types.Log) (*WalletregistryRegisterSubAccount, error)
ParseRegisterSubAccount is a log parse operation binding the contract event 0xacb9c63c1050d69261995b89893bf1e5e1fe8f53647db9747212d022f59bea84.
Solidity: event RegisterSubAccount(address indexed wallet, address indexed subAccount)
func (*WalletregistryFilterer) ParseRegisterWallet ¶
func (_Walletregistry *WalletregistryFilterer) ParseRegisterWallet(log types.Log) (*WalletregistryRegisterWallet, error)
ParseRegisterWallet is a log parse operation binding the contract event 0x3de0c4f89978c8c9ac219df0e8813f0b4a3df2fad979b3e3607cbe6c0ce6c764.
Solidity: event RegisterWallet(address indexed wallet)
func (*WalletregistryFilterer) WatchRegisterSubAccount ¶
func (_Walletregistry *WalletregistryFilterer) WatchRegisterSubAccount(opts *bind.WatchOpts, sink chan<- *WalletregistryRegisterSubAccount, wallet []common.Address, subAccount []common.Address) (event.Subscription, error)
WatchRegisterSubAccount is a free log subscription operation binding the contract event 0xacb9c63c1050d69261995b89893bf1e5e1fe8f53647db9747212d022f59bea84.
Solidity: event RegisterSubAccount(address indexed wallet, address indexed subAccount)
func (*WalletregistryFilterer) WatchRegisterWallet ¶
func (_Walletregistry *WalletregistryFilterer) WatchRegisterWallet(opts *bind.WatchOpts, sink chan<- *WalletregistryRegisterWallet, wallet []common.Address) (event.Subscription, error)
WatchRegisterWallet is a free log subscription operation binding the contract event 0x3de0c4f89978c8c9ac219df0e8813f0b4a3df2fad979b3e3607cbe6c0ce6c764.
Solidity: event RegisterWallet(address indexed wallet)
type WalletregistryRaw ¶
type WalletregistryRaw struct {
Contract *Walletregistry // Generic contract binding to access the raw methods on
}
WalletregistryRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*WalletregistryRaw) Call ¶
func (_Walletregistry *WalletregistryRaw) 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 (*WalletregistryRaw) Transact ¶
func (_Walletregistry *WalletregistryRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*WalletregistryRaw) Transfer ¶
func (_Walletregistry *WalletregistryRaw) 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 WalletregistryRegisterSubAccount ¶
type WalletregistryRegisterSubAccount struct { Wallet common.Address SubAccount common.Address Raw types.Log // Blockchain specific contextual infos }
WalletregistryRegisterSubAccount represents a RegisterSubAccount event raised by the Walletregistry contract.
type WalletregistryRegisterSubAccountIterator ¶
type WalletregistryRegisterSubAccountIterator struct { Event *WalletregistryRegisterSubAccount // Event containing the contract specifics and raw log // contains filtered or unexported fields }
WalletregistryRegisterSubAccountIterator is returned from FilterRegisterSubAccount and is used to iterate over the raw logs and unpacked data for RegisterSubAccount events raised by the Walletregistry contract.
func (*WalletregistryRegisterSubAccountIterator) Close ¶
func (it *WalletregistryRegisterSubAccountIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*WalletregistryRegisterSubAccountIterator) Error ¶
func (it *WalletregistryRegisterSubAccountIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*WalletregistryRegisterSubAccountIterator) Next ¶
func (it *WalletregistryRegisterSubAccountIterator) 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 WalletregistryRegisterWallet ¶
type WalletregistryRegisterWallet struct { Wallet common.Address Raw types.Log // Blockchain specific contextual infos }
WalletregistryRegisterWallet represents a RegisterWallet event raised by the Walletregistry contract.
type WalletregistryRegisterWalletIterator ¶
type WalletregistryRegisterWalletIterator struct { Event *WalletregistryRegisterWallet // Event containing the contract specifics and raw log // contains filtered or unexported fields }
WalletregistryRegisterWalletIterator is returned from FilterRegisterWallet and is used to iterate over the raw logs and unpacked data for RegisterWallet events raised by the Walletregistry contract.
func (*WalletregistryRegisterWalletIterator) Close ¶
func (it *WalletregistryRegisterWalletIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*WalletregistryRegisterWalletIterator) Error ¶
func (it *WalletregistryRegisterWalletIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*WalletregistryRegisterWalletIterator) Next ¶
func (it *WalletregistryRegisterWalletIterator) 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 WalletregistrySession ¶
type WalletregistrySession struct { Contract *Walletregistry // 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 }
WalletregistrySession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*WalletregistrySession) AddressProvider ¶
func (_Walletregistry *WalletregistrySession) AddressProvider() (common.Address, error)
AddressProvider is a free data retrieval call binding the contract method 0x2954018c.
Solidity: function addressProvider() view returns(address)
func (*WalletregistrySession) AddressProviderTarget ¶
func (_Walletregistry *WalletregistrySession) AddressProviderTarget() (common.Address, error)
AddressProviderTarget is a free data retrieval call binding the contract method 0x21b1e480.
Solidity: function addressProviderTarget() view returns(address)
func (*WalletregistrySession) ExecutorRegistry ¶
func (_Walletregistry *WalletregistrySession) ExecutorRegistry() (common.Address, error)
ExecutorRegistry is a free data retrieval call binding the contract method 0xb1cebbe0.
Solidity: function executorRegistry() view returns(address)
func (*WalletregistrySession) GetSubAccountsForWallet ¶
func (_Walletregistry *WalletregistrySession) GetSubAccountsForWallet(_wallet common.Address) ([]common.Address, error)
GetSubAccountsForWallet is a free data retrieval call binding the contract method 0x281f60c1.
Solidity: function getSubAccountsForWallet(address _wallet) view returns(address[])
func (*WalletregistrySession) IsWallet ¶
func (_Walletregistry *WalletregistrySession) IsWallet(arg0 common.Address) (bool, error)
IsWallet is a free data retrieval call binding the contract method 0xce5570ec.
Solidity: function isWallet(address ) view returns(bool)
func (*WalletregistrySession) PolicyRegistry ¶
func (_Walletregistry *WalletregistrySession) PolicyRegistry() (common.Address, error)
PolicyRegistry is a free data retrieval call binding the contract method 0x1c4dd7d0.
Solidity: function policyRegistry() view returns(address)
func (*WalletregistrySession) RegisterSubAccount ¶
func (_Walletregistry *WalletregistrySession) RegisterSubAccount(_wallet common.Address, _subAccount common.Address) (*types.Transaction, error)
RegisterSubAccount is a paid mutator transaction binding the contract method 0x13784dec.
Solidity: function registerSubAccount(address _wallet, address _subAccount) returns()
func (*WalletregistrySession) RegisterWallet ¶
func (_Walletregistry *WalletregistrySession) RegisterWallet() (*types.Transaction, error)
RegisterWallet is a paid mutator transaction binding the contract method 0x33ff495a.
Solidity: function registerWallet() returns()
func (*WalletregistrySession) SubAccountToWallet ¶
func (_Walletregistry *WalletregistrySession) SubAccountToWallet(subAccount common.Address) (common.Address, error)
SubAccountToWallet is a free data retrieval call binding the contract method 0x0db142f2.
Solidity: function subAccountToWallet(address subAccount) view returns(address wallet)
func (*WalletregistrySession) WalletRegistry ¶
func (_Walletregistry *WalletregistrySession) WalletRegistry() (common.Address, error)
WalletRegistry is a free data retrieval call binding the contract method 0xab7aa6ad.
Solidity: function walletRegistry() view returns(address)
func (*WalletregistrySession) WalletToSubAccountList ¶
func (_Walletregistry *WalletregistrySession) WalletToSubAccountList(wallet common.Address, arg1 *big.Int) (common.Address, error)
WalletToSubAccountList is a free data retrieval call binding the contract method 0x588d65fb.
Solidity: function walletToSubAccountList(address wallet, uint256 ) view returns(address subAccountList)
type WalletregistryTransactor ¶
type WalletregistryTransactor struct {
// contains filtered or unexported fields
}
WalletregistryTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewWalletregistryTransactor ¶
func NewWalletregistryTransactor(address common.Address, transactor bind.ContractTransactor) (*WalletregistryTransactor, error)
NewWalletregistryTransactor creates a new write-only instance of Walletregistry, bound to a specific deployed contract.
func (*WalletregistryTransactor) RegisterSubAccount ¶
func (_Walletregistry *WalletregistryTransactor) RegisterSubAccount(opts *bind.TransactOpts, _wallet common.Address, _subAccount common.Address) (*types.Transaction, error)
RegisterSubAccount is a paid mutator transaction binding the contract method 0x13784dec.
Solidity: function registerSubAccount(address _wallet, address _subAccount) returns()
func (*WalletregistryTransactor) RegisterWallet ¶
func (_Walletregistry *WalletregistryTransactor) RegisterWallet(opts *bind.TransactOpts) (*types.Transaction, error)
RegisterWallet is a paid mutator transaction binding the contract method 0x33ff495a.
Solidity: function registerWallet() returns()
type WalletregistryTransactorRaw ¶
type WalletregistryTransactorRaw struct {
Contract *WalletregistryTransactor // Generic write-only contract binding to access the raw methods on
}
WalletregistryTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*WalletregistryTransactorRaw) Transact ¶
func (_Walletregistry *WalletregistryTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*WalletregistryTransactorRaw) Transfer ¶
func (_Walletregistry *WalletregistryTransactorRaw) 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 WalletregistryTransactorSession ¶
type WalletregistryTransactorSession struct { Contract *WalletregistryTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
WalletregistryTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*WalletregistryTransactorSession) RegisterSubAccount ¶
func (_Walletregistry *WalletregistryTransactorSession) RegisterSubAccount(_wallet common.Address, _subAccount common.Address) (*types.Transaction, error)
RegisterSubAccount is a paid mutator transaction binding the contract method 0x13784dec.
Solidity: function registerSubAccount(address _wallet, address _subAccount) returns()
func (*WalletregistryTransactorSession) RegisterWallet ¶
func (_Walletregistry *WalletregistryTransactorSession) RegisterWallet() (*types.Transaction, error)
RegisterWallet is a paid mutator transaction binding the contract method 0x33ff495a.
Solidity: function registerWallet() returns()