Documentation
¶
Index ¶
- Constants
- type AdapterBalance
- type AdapterMetadata
- type AdapterRegistry
- type AdapterRegistryCaller
- func (_AdapterRegistry *AdapterRegistryCaller) GetAdapterBalance(opts *bind.CallOpts, account common.Address, adapter common.Address, ...) (AdapterBalance, error)
- func (_AdapterRegistry *AdapterRegistryCaller) GetAdapterBalances(opts *bind.CallOpts, account common.Address, adapters []common.Address) ([]AdapterBalance, error)
- func (_AdapterRegistry *AdapterRegistryCaller) GetBalances(opts *bind.CallOpts, account common.Address) ([]ProtocolBalance, error)
- func (_AdapterRegistry *AdapterRegistryCaller) GetFinalFullTokenBalance(opts *bind.CallOpts, tokenType string, token common.Address) (FullTokenBalance, error)
- func (_AdapterRegistry *AdapterRegistryCaller) GetFullTokenBalance(opts *bind.CallOpts, tokenType string, token common.Address) (FullTokenBalance, error)
- func (_AdapterRegistry *AdapterRegistryCaller) GetProtocolAdapters(opts *bind.CallOpts, protocolName string) ([]common.Address, error)
- func (_AdapterRegistry *AdapterRegistryCaller) GetProtocolBalances(opts *bind.CallOpts, account common.Address, protocolNames []string) ([]ProtocolBalance, error)
- func (_AdapterRegistry *AdapterRegistryCaller) GetProtocolMetadata(opts *bind.CallOpts, protocolName string) (ProtocolMetadata, error)
- func (_AdapterRegistry *AdapterRegistryCaller) GetProtocolNames(opts *bind.CallOpts) ([]string, error)
- func (_AdapterRegistry *AdapterRegistryCaller) GetSupportedTokens(opts *bind.CallOpts, adapter common.Address) ([]common.Address, error)
- func (_AdapterRegistry *AdapterRegistryCaller) GetTokenAdapter(opts *bind.CallOpts, tokenAdapterName string) (common.Address, error)
- func (_AdapterRegistry *AdapterRegistryCaller) GetTokenAdapterNames(opts *bind.CallOpts) ([]string, error)
- func (_AdapterRegistry *AdapterRegistryCaller) IsValidProtocol(opts *bind.CallOpts, protocolName string) (bool, error)
- func (_AdapterRegistry *AdapterRegistryCaller) IsValidTokenAdapter(opts *bind.CallOpts, tokenAdapterName string) (bool, error)
- func (_AdapterRegistry *AdapterRegistryCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- type AdapterRegistryCallerRaw
- type AdapterRegistryCallerSession
- func (_AdapterRegistry *AdapterRegistryCallerSession) GetAdapterBalance(account common.Address, adapter common.Address, tokens []common.Address) (AdapterBalance, error)
- func (_AdapterRegistry *AdapterRegistryCallerSession) GetAdapterBalances(account common.Address, adapters []common.Address) ([]AdapterBalance, error)
- func (_AdapterRegistry *AdapterRegistryCallerSession) GetBalances(account common.Address) ([]ProtocolBalance, error)
- func (_AdapterRegistry *AdapterRegistryCallerSession) GetFinalFullTokenBalance(tokenType string, token common.Address) (FullTokenBalance, error)
- func (_AdapterRegistry *AdapterRegistryCallerSession) GetFullTokenBalance(tokenType string, token common.Address) (FullTokenBalance, error)
- func (_AdapterRegistry *AdapterRegistryCallerSession) GetProtocolAdapters(protocolName string) ([]common.Address, error)
- func (_AdapterRegistry *AdapterRegistryCallerSession) GetProtocolBalances(account common.Address, protocolNames []string) ([]ProtocolBalance, error)
- func (_AdapterRegistry *AdapterRegistryCallerSession) GetProtocolMetadata(protocolName string) (ProtocolMetadata, error)
- func (_AdapterRegistry *AdapterRegistryCallerSession) GetProtocolNames() ([]string, error)
- func (_AdapterRegistry *AdapterRegistryCallerSession) GetSupportedTokens(adapter common.Address) ([]common.Address, error)
- func (_AdapterRegistry *AdapterRegistryCallerSession) GetTokenAdapter(tokenAdapterName string) (common.Address, error)
- func (_AdapterRegistry *AdapterRegistryCallerSession) GetTokenAdapterNames() ([]string, error)
- func (_AdapterRegistry *AdapterRegistryCallerSession) IsValidProtocol(protocolName string) (bool, error)
- func (_AdapterRegistry *AdapterRegistryCallerSession) IsValidTokenAdapter(tokenAdapterName string) (bool, error)
- func (_AdapterRegistry *AdapterRegistryCallerSession) Owner() (common.Address, error)
- type AdapterRegistryFilterer
- func (_AdapterRegistry *AdapterRegistryFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*AdapterRegistryOwnershipTransferredIterator, error)
- func (_AdapterRegistry *AdapterRegistryFilterer) ParseOwnershipTransferred(log types.Log) (*AdapterRegistryOwnershipTransferred, error)
- func (_AdapterRegistry *AdapterRegistryFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *AdapterRegistryOwnershipTransferred, ...) (event.Subscription, error)
- type AdapterRegistryOwnershipTransferred
- type AdapterRegistryOwnershipTransferredIterator
- type AdapterRegistryRaw
- func (_AdapterRegistry *AdapterRegistryRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_AdapterRegistry *AdapterRegistryRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_AdapterRegistry *AdapterRegistryRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type AdapterRegistrySession
- func (_AdapterRegistry *AdapterRegistrySession) AddProtocolAdapters(protocolName string, adapters []common.Address, tokens [][]common.Address) (*types.Transaction, error)
- func (_AdapterRegistry *AdapterRegistrySession) AddProtocols(protocolNames []string, metadata []ProtocolMetadata, ...) (*types.Transaction, error)
- func (_AdapterRegistry *AdapterRegistrySession) AddTokenAdapters(tokenAdapterNames []string, adapters []common.Address) (*types.Transaction, error)
- func (_AdapterRegistry *AdapterRegistrySession) GetAdapterBalance(account common.Address, adapter common.Address, tokens []common.Address) (AdapterBalance, error)
- func (_AdapterRegistry *AdapterRegistrySession) GetAdapterBalances(account common.Address, adapters []common.Address) ([]AdapterBalance, error)
- func (_AdapterRegistry *AdapterRegistrySession) GetBalances(account common.Address) ([]ProtocolBalance, error)
- func (_AdapterRegistry *AdapterRegistrySession) GetFinalFullTokenBalance(tokenType string, token common.Address) (FullTokenBalance, error)
- func (_AdapterRegistry *AdapterRegistrySession) GetFullTokenBalance(tokenType string, token common.Address) (FullTokenBalance, error)
- func (_AdapterRegistry *AdapterRegistrySession) GetProtocolAdapters(protocolName string) ([]common.Address, error)
- func (_AdapterRegistry *AdapterRegistrySession) GetProtocolBalances(account common.Address, protocolNames []string) ([]ProtocolBalance, error)
- func (_AdapterRegistry *AdapterRegistrySession) GetProtocolMetadata(protocolName string) (ProtocolMetadata, error)
- func (_AdapterRegistry *AdapterRegistrySession) GetProtocolNames() ([]string, error)
- func (_AdapterRegistry *AdapterRegistrySession) GetSupportedTokens(adapter common.Address) ([]common.Address, error)
- func (_AdapterRegistry *AdapterRegistrySession) GetTokenAdapter(tokenAdapterName string) (common.Address, error)
- func (_AdapterRegistry *AdapterRegistrySession) GetTokenAdapterNames() ([]string, error)
- func (_AdapterRegistry *AdapterRegistrySession) IsValidProtocol(protocolName string) (bool, error)
- func (_AdapterRegistry *AdapterRegistrySession) IsValidTokenAdapter(tokenAdapterName string) (bool, error)
- func (_AdapterRegistry *AdapterRegistrySession) Owner() (common.Address, error)
- func (_AdapterRegistry *AdapterRegistrySession) RemoveProtocolAdapters(protocolName string, adapterIndices []*big.Int) (*types.Transaction, error)
- func (_AdapterRegistry *AdapterRegistrySession) RemoveProtocols(protocolNames []string) (*types.Transaction, error)
- func (_AdapterRegistry *AdapterRegistrySession) RemoveTokenAdapters(tokenAdapterNames []string) (*types.Transaction, error)
- func (_AdapterRegistry *AdapterRegistrySession) TransferOwnership(_owner common.Address) (*types.Transaction, error)
- func (_AdapterRegistry *AdapterRegistrySession) UpdateProtocolAdapter(protocolName string, index *big.Int, newAdapterAddress common.Address, ...) (*types.Transaction, error)
- func (_AdapterRegistry *AdapterRegistrySession) UpdateProtocolMetadata(protocolName string, name string, description string, websiteURL string, ...) (*types.Transaction, error)
- func (_AdapterRegistry *AdapterRegistrySession) UpdateTokenAdapter(tokenAdapterName string, adapter common.Address) (*types.Transaction, error)
- type AdapterRegistryTransactor
- func (_AdapterRegistry *AdapterRegistryTransactor) AddProtocolAdapters(opts *bind.TransactOpts, protocolName string, adapters []common.Address, ...) (*types.Transaction, error)
- func (_AdapterRegistry *AdapterRegistryTransactor) AddProtocols(opts *bind.TransactOpts, protocolNames []string, metadata []ProtocolMetadata, ...) (*types.Transaction, error)
- func (_AdapterRegistry *AdapterRegistryTransactor) AddTokenAdapters(opts *bind.TransactOpts, tokenAdapterNames []string, adapters []common.Address) (*types.Transaction, error)
- func (_AdapterRegistry *AdapterRegistryTransactor) RemoveProtocolAdapters(opts *bind.TransactOpts, protocolName string, adapterIndices []*big.Int) (*types.Transaction, error)
- func (_AdapterRegistry *AdapterRegistryTransactor) RemoveProtocols(opts *bind.TransactOpts, protocolNames []string) (*types.Transaction, error)
- func (_AdapterRegistry *AdapterRegistryTransactor) RemoveTokenAdapters(opts *bind.TransactOpts, tokenAdapterNames []string) (*types.Transaction, error)
- func (_AdapterRegistry *AdapterRegistryTransactor) TransferOwnership(opts *bind.TransactOpts, _owner common.Address) (*types.Transaction, error)
- func (_AdapterRegistry *AdapterRegistryTransactor) UpdateProtocolAdapter(opts *bind.TransactOpts, protocolName string, index *big.Int, ...) (*types.Transaction, error)
- func (_AdapterRegistry *AdapterRegistryTransactor) UpdateProtocolMetadata(opts *bind.TransactOpts, protocolName string, name string, description string, ...) (*types.Transaction, error)
- func (_AdapterRegistry *AdapterRegistryTransactor) UpdateTokenAdapter(opts *bind.TransactOpts, tokenAdapterName string, adapter common.Address) (*types.Transaction, error)
- type AdapterRegistryTransactorRaw
- type AdapterRegistryTransactorSession
- func (_AdapterRegistry *AdapterRegistryTransactorSession) AddProtocolAdapters(protocolName string, adapters []common.Address, tokens [][]common.Address) (*types.Transaction, error)
- func (_AdapterRegistry *AdapterRegistryTransactorSession) AddProtocols(protocolNames []string, metadata []ProtocolMetadata, ...) (*types.Transaction, error)
- func (_AdapterRegistry *AdapterRegistryTransactorSession) AddTokenAdapters(tokenAdapterNames []string, adapters []common.Address) (*types.Transaction, error)
- func (_AdapterRegistry *AdapterRegistryTransactorSession) RemoveProtocolAdapters(protocolName string, adapterIndices []*big.Int) (*types.Transaction, error)
- func (_AdapterRegistry *AdapterRegistryTransactorSession) RemoveProtocols(protocolNames []string) (*types.Transaction, error)
- func (_AdapterRegistry *AdapterRegistryTransactorSession) RemoveTokenAdapters(tokenAdapterNames []string) (*types.Transaction, error)
- func (_AdapterRegistry *AdapterRegistryTransactorSession) TransferOwnership(_owner common.Address) (*types.Transaction, error)
- func (_AdapterRegistry *AdapterRegistryTransactorSession) UpdateProtocolAdapter(protocolName string, index *big.Int, newAdapterAddress common.Address, ...) (*types.Transaction, error)
- func (_AdapterRegistry *AdapterRegistryTransactorSession) UpdateProtocolMetadata(protocolName string, name string, description string, websiteURL string, ...) (*types.Transaction, error)
- func (_AdapterRegistry *AdapterRegistryTransactorSession) UpdateTokenAdapter(tokenAdapterName string, adapter common.Address) (*types.Transaction, error)
- type FullTokenBalance
- type ProtocolBalance
- type ProtocolMetadata
- type TokenBalance
- type TokenMetadata
Constants ¶
const AdapterRegistryABI = "" /* 17652-byte string literal not displayed */
AdapterRegistryABI is the input ABI used to generate the binding from.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdapterBalance ¶
type AdapterBalance struct { Metadata AdapterMetadata Balances []FullTokenBalance }
AdapterBalance is an auto generated low-level Go binding around an user-defined struct.
type AdapterMetadata ¶
AdapterMetadata is an auto generated low-level Go binding around an user-defined struct.
type AdapterRegistry ¶
type AdapterRegistry struct { AdapterRegistryCaller // Read-only binding to the contract AdapterRegistryTransactor // Write-only binding to the contract AdapterRegistryFilterer // Log filterer for contract events }
AdapterRegistry is an auto generated Go binding around an Ethereum contract.
func NewAdapterRegistry ¶
func NewAdapterRegistry(address common.Address, backend bind.ContractBackend) (*AdapterRegistry, error)
NewAdapterRegistry creates a new instance of AdapterRegistry, bound to a specific deployed contract.
type AdapterRegistryCaller ¶
type AdapterRegistryCaller struct {
// contains filtered or unexported fields
}
AdapterRegistryCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewAdapterRegistryCaller ¶
func NewAdapterRegistryCaller(address common.Address, caller bind.ContractCaller) (*AdapterRegistryCaller, error)
NewAdapterRegistryCaller creates a new read-only instance of AdapterRegistry, bound to a specific deployed contract.
func (*AdapterRegistryCaller) GetAdapterBalance ¶
func (_AdapterRegistry *AdapterRegistryCaller) GetAdapterBalance(opts *bind.CallOpts, account common.Address, adapter common.Address, tokens []common.Address) (AdapterBalance, error)
GetAdapterBalance is a free data retrieval call binding the contract method 0x4bf9649b.
Solidity: function getAdapterBalance(address account, address adapter, address[] tokens) view returns(AdapterBalance)
func (*AdapterRegistryCaller) GetAdapterBalances ¶
func (_AdapterRegistry *AdapterRegistryCaller) GetAdapterBalances(opts *bind.CallOpts, account common.Address, adapters []common.Address) ([]AdapterBalance, error)
GetAdapterBalances is a free data retrieval call binding the contract method 0xa2aef46d.
Solidity: function getAdapterBalances(address account, address[] adapters) view returns([]AdapterBalance)
func (*AdapterRegistryCaller) GetBalances ¶
func (_AdapterRegistry *AdapterRegistryCaller) GetBalances(opts *bind.CallOpts, account common.Address) ([]ProtocolBalance, error)
GetBalances is a free data retrieval call binding the contract method 0xc84aae17.
Solidity: function getBalances(address account) view returns([]ProtocolBalance)
func (*AdapterRegistryCaller) GetFinalFullTokenBalance ¶
func (_AdapterRegistry *AdapterRegistryCaller) GetFinalFullTokenBalance(opts *bind.CallOpts, tokenType string, token common.Address) (FullTokenBalance, error)
GetFinalFullTokenBalance is a free data retrieval call binding the contract method 0xa81d9a09.
Solidity: function getFinalFullTokenBalance(string tokenType, address token) view returns(FullTokenBalance)
func (*AdapterRegistryCaller) GetFullTokenBalance ¶
func (_AdapterRegistry *AdapterRegistryCaller) GetFullTokenBalance(opts *bind.CallOpts, tokenType string, token common.Address) (FullTokenBalance, error)
GetFullTokenBalance is a free data retrieval call binding the contract method 0x56098b38.
Solidity: function getFullTokenBalance(string tokenType, address token) view returns(FullTokenBalance)
func (*AdapterRegistryCaller) GetProtocolAdapters ¶
func (_AdapterRegistry *AdapterRegistryCaller) GetProtocolAdapters(opts *bind.CallOpts, protocolName string) ([]common.Address, error)
GetProtocolAdapters is a free data retrieval call binding the contract method 0xeff70322.
Solidity: function getProtocolAdapters(string protocolName) view returns(address[])
func (*AdapterRegistryCaller) GetProtocolBalances ¶
func (_AdapterRegistry *AdapterRegistryCaller) GetProtocolBalances(opts *bind.CallOpts, account common.Address, protocolNames []string) ([]ProtocolBalance, error)
GetProtocolBalances is a free data retrieval call binding the contract method 0x85c6a793.
Solidity: function getProtocolBalances(address account, string[] protocolNames) view returns([]ProtocolBalance)
func (*AdapterRegistryCaller) GetProtocolMetadata ¶
func (_AdapterRegistry *AdapterRegistryCaller) GetProtocolMetadata(opts *bind.CallOpts, protocolName string) (ProtocolMetadata, error)
GetProtocolMetadata is a free data retrieval call binding the contract method 0xd857da49.
Solidity: function getProtocolMetadata(string protocolName) view returns(ProtocolMetadata)
func (*AdapterRegistryCaller) GetProtocolNames ¶
func (_AdapterRegistry *AdapterRegistryCaller) GetProtocolNames(opts *bind.CallOpts) ([]string, error)
GetProtocolNames is a free data retrieval call binding the contract method 0x3b692f52.
Solidity: function getProtocolNames() view returns(string[])
func (*AdapterRegistryCaller) GetSupportedTokens ¶
func (_AdapterRegistry *AdapterRegistryCaller) GetSupportedTokens(opts *bind.CallOpts, adapter common.Address) ([]common.Address, error)
GetSupportedTokens is a free data retrieval call binding the contract method 0x07526acf.
Solidity: function getSupportedTokens(address adapter) view returns(address[])
func (*AdapterRegistryCaller) GetTokenAdapter ¶
func (_AdapterRegistry *AdapterRegistryCaller) GetTokenAdapter(opts *bind.CallOpts, tokenAdapterName string) (common.Address, error)
GetTokenAdapter is a free data retrieval call binding the contract method 0x54fa3382.
Solidity: function getTokenAdapter(string tokenAdapterName) view returns(address)
func (*AdapterRegistryCaller) GetTokenAdapterNames ¶
func (_AdapterRegistry *AdapterRegistryCaller) GetTokenAdapterNames(opts *bind.CallOpts) ([]string, error)
GetTokenAdapterNames is a free data retrieval call binding the contract method 0xc0680cd3.
Solidity: function getTokenAdapterNames() view returns(string[])
func (*AdapterRegistryCaller) IsValidProtocol ¶
func (_AdapterRegistry *AdapterRegistryCaller) IsValidProtocol(opts *bind.CallOpts, protocolName string) (bool, error)
IsValidProtocol is a free data retrieval call binding the contract method 0xcb874d33.
Solidity: function isValidProtocol(string protocolName) view returns(bool)
func (*AdapterRegistryCaller) IsValidTokenAdapter ¶
func (_AdapterRegistry *AdapterRegistryCaller) IsValidTokenAdapter(opts *bind.CallOpts, tokenAdapterName string) (bool, error)
IsValidTokenAdapter is a free data retrieval call binding the contract method 0xe9dd5f25.
Solidity: function isValidTokenAdapter(string tokenAdapterName) view returns(bool)
type AdapterRegistryCallerRaw ¶
type AdapterRegistryCallerRaw struct {
Contract *AdapterRegistryCaller // Generic read-only contract binding to access the raw methods on
}
AdapterRegistryCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*AdapterRegistryCallerRaw) Call ¶
func (_AdapterRegistry *AdapterRegistryCallerRaw) 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 AdapterRegistryCallerSession ¶
type AdapterRegistryCallerSession struct { Contract *AdapterRegistryCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
AdapterRegistryCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*AdapterRegistryCallerSession) GetAdapterBalance ¶
func (_AdapterRegistry *AdapterRegistryCallerSession) GetAdapterBalance(account common.Address, adapter common.Address, tokens []common.Address) (AdapterBalance, error)
GetAdapterBalance is a free data retrieval call binding the contract method 0x4bf9649b.
Solidity: function getAdapterBalance(address account, address adapter, address[] tokens) view returns(AdapterBalance)
func (*AdapterRegistryCallerSession) GetAdapterBalances ¶
func (_AdapterRegistry *AdapterRegistryCallerSession) GetAdapterBalances(account common.Address, adapters []common.Address) ([]AdapterBalance, error)
GetAdapterBalances is a free data retrieval call binding the contract method 0xa2aef46d.
Solidity: function getAdapterBalances(address account, address[] adapters) view returns([]AdapterBalance)
func (*AdapterRegistryCallerSession) GetBalances ¶
func (_AdapterRegistry *AdapterRegistryCallerSession) GetBalances(account common.Address) ([]ProtocolBalance, error)
GetBalances is a free data retrieval call binding the contract method 0xc84aae17.
Solidity: function getBalances(address account) view returns([]ProtocolBalance)
func (*AdapterRegistryCallerSession) GetFinalFullTokenBalance ¶
func (_AdapterRegistry *AdapterRegistryCallerSession) GetFinalFullTokenBalance(tokenType string, token common.Address) (FullTokenBalance, error)
GetFinalFullTokenBalance is a free data retrieval call binding the contract method 0xa81d9a09.
Solidity: function getFinalFullTokenBalance(string tokenType, address token) view returns(FullTokenBalance)
func (*AdapterRegistryCallerSession) GetFullTokenBalance ¶
func (_AdapterRegistry *AdapterRegistryCallerSession) GetFullTokenBalance(tokenType string, token common.Address) (FullTokenBalance, error)
GetFullTokenBalance is a free data retrieval call binding the contract method 0x56098b38.
Solidity: function getFullTokenBalance(string tokenType, address token) view returns(FullTokenBalance)
func (*AdapterRegistryCallerSession) GetProtocolAdapters ¶
func (_AdapterRegistry *AdapterRegistryCallerSession) GetProtocolAdapters(protocolName string) ([]common.Address, error)
GetProtocolAdapters is a free data retrieval call binding the contract method 0xeff70322.
Solidity: function getProtocolAdapters(string protocolName) view returns(address[])
func (*AdapterRegistryCallerSession) GetProtocolBalances ¶
func (_AdapterRegistry *AdapterRegistryCallerSession) GetProtocolBalances(account common.Address, protocolNames []string) ([]ProtocolBalance, error)
GetProtocolBalances is a free data retrieval call binding the contract method 0x85c6a793.
Solidity: function getProtocolBalances(address account, string[] protocolNames) view returns([]ProtocolBalance)
func (*AdapterRegistryCallerSession) GetProtocolMetadata ¶
func (_AdapterRegistry *AdapterRegistryCallerSession) GetProtocolMetadata(protocolName string) (ProtocolMetadata, error)
GetProtocolMetadata is a free data retrieval call binding the contract method 0xd857da49.
Solidity: function getProtocolMetadata(string protocolName) view returns(ProtocolMetadata)
func (*AdapterRegistryCallerSession) GetProtocolNames ¶
func (_AdapterRegistry *AdapterRegistryCallerSession) GetProtocolNames() ([]string, error)
GetProtocolNames is a free data retrieval call binding the contract method 0x3b692f52.
Solidity: function getProtocolNames() view returns(string[])
func (*AdapterRegistryCallerSession) GetSupportedTokens ¶
func (_AdapterRegistry *AdapterRegistryCallerSession) GetSupportedTokens(adapter common.Address) ([]common.Address, error)
GetSupportedTokens is a free data retrieval call binding the contract method 0x07526acf.
Solidity: function getSupportedTokens(address adapter) view returns(address[])
func (*AdapterRegistryCallerSession) GetTokenAdapter ¶
func (_AdapterRegistry *AdapterRegistryCallerSession) GetTokenAdapter(tokenAdapterName string) (common.Address, error)
GetTokenAdapter is a free data retrieval call binding the contract method 0x54fa3382.
Solidity: function getTokenAdapter(string tokenAdapterName) view returns(address)
func (*AdapterRegistryCallerSession) GetTokenAdapterNames ¶
func (_AdapterRegistry *AdapterRegistryCallerSession) GetTokenAdapterNames() ([]string, error)
GetTokenAdapterNames is a free data retrieval call binding the contract method 0xc0680cd3.
Solidity: function getTokenAdapterNames() view returns(string[])
func (*AdapterRegistryCallerSession) IsValidProtocol ¶
func (_AdapterRegistry *AdapterRegistryCallerSession) IsValidProtocol(protocolName string) (bool, error)
IsValidProtocol is a free data retrieval call binding the contract method 0xcb874d33.
Solidity: function isValidProtocol(string protocolName) view returns(bool)
func (*AdapterRegistryCallerSession) IsValidTokenAdapter ¶
func (_AdapterRegistry *AdapterRegistryCallerSession) IsValidTokenAdapter(tokenAdapterName string) (bool, error)
IsValidTokenAdapter is a free data retrieval call binding the contract method 0xe9dd5f25.
Solidity: function isValidTokenAdapter(string tokenAdapterName) view returns(bool)
type AdapterRegistryFilterer ¶
type AdapterRegistryFilterer struct {
// contains filtered or unexported fields
}
AdapterRegistryFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewAdapterRegistryFilterer ¶
func NewAdapterRegistryFilterer(address common.Address, filterer bind.ContractFilterer) (*AdapterRegistryFilterer, error)
NewAdapterRegistryFilterer creates a new log filterer instance of AdapterRegistry, bound to a specific deployed contract.
func (*AdapterRegistryFilterer) FilterOwnershipTransferred ¶
func (_AdapterRegistry *AdapterRegistryFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*AdapterRegistryOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*AdapterRegistryFilterer) ParseOwnershipTransferred ¶
func (_AdapterRegistry *AdapterRegistryFilterer) ParseOwnershipTransferred(log types.Log) (*AdapterRegistryOwnershipTransferred, error)
ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*AdapterRegistryFilterer) WatchOwnershipTransferred ¶
func (_AdapterRegistry *AdapterRegistryFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *AdapterRegistryOwnershipTransferred, 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)
type AdapterRegistryOwnershipTransferred ¶
type AdapterRegistryOwnershipTransferred struct { PreviousOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
AdapterRegistryOwnershipTransferred represents a OwnershipTransferred event raised by the AdapterRegistry contract.
type AdapterRegistryOwnershipTransferredIterator ¶
type AdapterRegistryOwnershipTransferredIterator struct { Event *AdapterRegistryOwnershipTransferred // Event containing the contract specifics and raw log // contains filtered or unexported fields }
AdapterRegistryOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the AdapterRegistry contract.
func (*AdapterRegistryOwnershipTransferredIterator) Close ¶
func (it *AdapterRegistryOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*AdapterRegistryOwnershipTransferredIterator) Error ¶
func (it *AdapterRegistryOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*AdapterRegistryOwnershipTransferredIterator) Next ¶
func (it *AdapterRegistryOwnershipTransferredIterator) 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 AdapterRegistryRaw ¶
type AdapterRegistryRaw struct {
Contract *AdapterRegistry // Generic contract binding to access the raw methods on
}
AdapterRegistryRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*AdapterRegistryRaw) Call ¶
func (_AdapterRegistry *AdapterRegistryRaw) 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 (*AdapterRegistryRaw) Transact ¶
func (_AdapterRegistry *AdapterRegistryRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*AdapterRegistryRaw) Transfer ¶
func (_AdapterRegistry *AdapterRegistryRaw) 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 AdapterRegistrySession ¶
type AdapterRegistrySession struct { Contract *AdapterRegistry // 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 }
AdapterRegistrySession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*AdapterRegistrySession) AddProtocolAdapters ¶
func (_AdapterRegistry *AdapterRegistrySession) AddProtocolAdapters(protocolName string, adapters []common.Address, tokens [][]common.Address) (*types.Transaction, error)
AddProtocolAdapters is a paid mutator transaction binding the contract method 0xbefe43a3.
Solidity: function addProtocolAdapters(string protocolName, address[] adapters, address[][] tokens) returns()
func (*AdapterRegistrySession) AddProtocols ¶
func (_AdapterRegistry *AdapterRegistrySession) AddProtocols(protocolNames []string, metadata []ProtocolMetadata, adapters [][]common.Address, tokens [][][]common.Address) (*types.Transaction, error)
AddProtocols is a paid mutator transaction binding the contract method 0x83c0a76e.
Solidity: function addProtocols(string[] protocolNames, []ProtocolMetadata metadata, address[][] adapters, address[][][] tokens) returns()
func (*AdapterRegistrySession) AddTokenAdapters ¶
func (_AdapterRegistry *AdapterRegistrySession) AddTokenAdapters(tokenAdapterNames []string, adapters []common.Address) (*types.Transaction, error)
AddTokenAdapters is a paid mutator transaction binding the contract method 0x70be4eda.
Solidity: function addTokenAdapters(string[] tokenAdapterNames, address[] adapters) returns()
func (*AdapterRegistrySession) GetAdapterBalance ¶
func (_AdapterRegistry *AdapterRegistrySession) GetAdapterBalance(account common.Address, adapter common.Address, tokens []common.Address) (AdapterBalance, error)
GetAdapterBalance is a free data retrieval call binding the contract method 0x4bf9649b.
Solidity: function getAdapterBalance(address account, address adapter, address[] tokens) view returns(AdapterBalance)
func (*AdapterRegistrySession) GetAdapterBalances ¶
func (_AdapterRegistry *AdapterRegistrySession) GetAdapterBalances(account common.Address, adapters []common.Address) ([]AdapterBalance, error)
GetAdapterBalances is a free data retrieval call binding the contract method 0xa2aef46d.
Solidity: function getAdapterBalances(address account, address[] adapters) view returns([]AdapterBalance)
func (*AdapterRegistrySession) GetBalances ¶
func (_AdapterRegistry *AdapterRegistrySession) GetBalances(account common.Address) ([]ProtocolBalance, error)
GetBalances is a free data retrieval call binding the contract method 0xc84aae17.
Solidity: function getBalances(address account) view returns([]ProtocolBalance)
func (*AdapterRegistrySession) GetFinalFullTokenBalance ¶
func (_AdapterRegistry *AdapterRegistrySession) GetFinalFullTokenBalance(tokenType string, token common.Address) (FullTokenBalance, error)
GetFinalFullTokenBalance is a free data retrieval call binding the contract method 0xa81d9a09.
Solidity: function getFinalFullTokenBalance(string tokenType, address token) view returns(FullTokenBalance)
func (*AdapterRegistrySession) GetFullTokenBalance ¶
func (_AdapterRegistry *AdapterRegistrySession) GetFullTokenBalance(tokenType string, token common.Address) (FullTokenBalance, error)
GetFullTokenBalance is a free data retrieval call binding the contract method 0x56098b38.
Solidity: function getFullTokenBalance(string tokenType, address token) view returns(FullTokenBalance)
func (*AdapterRegistrySession) GetProtocolAdapters ¶
func (_AdapterRegistry *AdapterRegistrySession) GetProtocolAdapters(protocolName string) ([]common.Address, error)
GetProtocolAdapters is a free data retrieval call binding the contract method 0xeff70322.
Solidity: function getProtocolAdapters(string protocolName) view returns(address[])
func (*AdapterRegistrySession) GetProtocolBalances ¶
func (_AdapterRegistry *AdapterRegistrySession) GetProtocolBalances(account common.Address, protocolNames []string) ([]ProtocolBalance, error)
GetProtocolBalances is a free data retrieval call binding the contract method 0x85c6a793.
Solidity: function getProtocolBalances(address account, string[] protocolNames) view returns([]ProtocolBalance)
func (*AdapterRegistrySession) GetProtocolMetadata ¶
func (_AdapterRegistry *AdapterRegistrySession) GetProtocolMetadata(protocolName string) (ProtocolMetadata, error)
GetProtocolMetadata is a free data retrieval call binding the contract method 0xd857da49.
Solidity: function getProtocolMetadata(string protocolName) view returns(ProtocolMetadata)
func (*AdapterRegistrySession) GetProtocolNames ¶
func (_AdapterRegistry *AdapterRegistrySession) GetProtocolNames() ([]string, error)
GetProtocolNames is a free data retrieval call binding the contract method 0x3b692f52.
Solidity: function getProtocolNames() view returns(string[])
func (*AdapterRegistrySession) GetSupportedTokens ¶
func (_AdapterRegistry *AdapterRegistrySession) GetSupportedTokens(adapter common.Address) ([]common.Address, error)
GetSupportedTokens is a free data retrieval call binding the contract method 0x07526acf.
Solidity: function getSupportedTokens(address adapter) view returns(address[])
func (*AdapterRegistrySession) GetTokenAdapter ¶
func (_AdapterRegistry *AdapterRegistrySession) GetTokenAdapter(tokenAdapterName string) (common.Address, error)
GetTokenAdapter is a free data retrieval call binding the contract method 0x54fa3382.
Solidity: function getTokenAdapter(string tokenAdapterName) view returns(address)
func (*AdapterRegistrySession) GetTokenAdapterNames ¶
func (_AdapterRegistry *AdapterRegistrySession) GetTokenAdapterNames() ([]string, error)
GetTokenAdapterNames is a free data retrieval call binding the contract method 0xc0680cd3.
Solidity: function getTokenAdapterNames() view returns(string[])
func (*AdapterRegistrySession) IsValidProtocol ¶
func (_AdapterRegistry *AdapterRegistrySession) IsValidProtocol(protocolName string) (bool, error)
IsValidProtocol is a free data retrieval call binding the contract method 0xcb874d33.
Solidity: function isValidProtocol(string protocolName) view returns(bool)
func (*AdapterRegistrySession) IsValidTokenAdapter ¶
func (_AdapterRegistry *AdapterRegistrySession) IsValidTokenAdapter(tokenAdapterName string) (bool, error)
IsValidTokenAdapter is a free data retrieval call binding the contract method 0xe9dd5f25.
Solidity: function isValidTokenAdapter(string tokenAdapterName) view returns(bool)
func (*AdapterRegistrySession) Owner ¶
func (_AdapterRegistry *AdapterRegistrySession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*AdapterRegistrySession) RemoveProtocolAdapters ¶
func (_AdapterRegistry *AdapterRegistrySession) RemoveProtocolAdapters(protocolName string, adapterIndices []*big.Int) (*types.Transaction, error)
RemoveProtocolAdapters is a paid mutator transaction binding the contract method 0x00778353.
Solidity: function removeProtocolAdapters(string protocolName, uint256[] adapterIndices) returns()
func (*AdapterRegistrySession) RemoveProtocols ¶
func (_AdapterRegistry *AdapterRegistrySession) RemoveProtocols(protocolNames []string) (*types.Transaction, error)
RemoveProtocols is a paid mutator transaction binding the contract method 0x657ea762.
Solidity: function removeProtocols(string[] protocolNames) returns()
func (*AdapterRegistrySession) RemoveTokenAdapters ¶
func (_AdapterRegistry *AdapterRegistrySession) RemoveTokenAdapters(tokenAdapterNames []string) (*types.Transaction, error)
RemoveTokenAdapters is a paid mutator transaction binding the contract method 0x9d392fa0.
Solidity: function removeTokenAdapters(string[] tokenAdapterNames) returns()
func (*AdapterRegistrySession) TransferOwnership ¶
func (_AdapterRegistry *AdapterRegistrySession) TransferOwnership(_owner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address _owner) returns()
func (*AdapterRegistrySession) UpdateProtocolAdapter ¶
func (_AdapterRegistry *AdapterRegistrySession) UpdateProtocolAdapter(protocolName string, index *big.Int, newAdapterAddress common.Address, newSupportedTokens []common.Address) (*types.Transaction, error)
UpdateProtocolAdapter is a paid mutator transaction binding the contract method 0xdeebabcc.
Solidity: function updateProtocolAdapter(string protocolName, uint256 index, address newAdapterAddress, address[] newSupportedTokens) returns()
func (*AdapterRegistrySession) UpdateProtocolMetadata ¶
func (_AdapterRegistry *AdapterRegistrySession) UpdateProtocolMetadata(protocolName string, name string, description string, websiteURL string, iconURL string) (*types.Transaction, error)
UpdateProtocolMetadata is a paid mutator transaction binding the contract method 0xb2c687d0.
Solidity: function updateProtocolMetadata(string protocolName, string name, string description, string websiteURL, string iconURL) returns()
func (*AdapterRegistrySession) UpdateTokenAdapter ¶
func (_AdapterRegistry *AdapterRegistrySession) UpdateTokenAdapter(tokenAdapterName string, adapter common.Address) (*types.Transaction, error)
UpdateTokenAdapter is a paid mutator transaction binding the contract method 0x2dc909f6.
Solidity: function updateTokenAdapter(string tokenAdapterName, address adapter) returns()
type AdapterRegistryTransactor ¶
type AdapterRegistryTransactor struct {
// contains filtered or unexported fields
}
AdapterRegistryTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewAdapterRegistryTransactor ¶
func NewAdapterRegistryTransactor(address common.Address, transactor bind.ContractTransactor) (*AdapterRegistryTransactor, error)
NewAdapterRegistryTransactor creates a new write-only instance of AdapterRegistry, bound to a specific deployed contract.
func (*AdapterRegistryTransactor) AddProtocolAdapters ¶
func (_AdapterRegistry *AdapterRegistryTransactor) AddProtocolAdapters(opts *bind.TransactOpts, protocolName string, adapters []common.Address, tokens [][]common.Address) (*types.Transaction, error)
AddProtocolAdapters is a paid mutator transaction binding the contract method 0xbefe43a3.
Solidity: function addProtocolAdapters(string protocolName, address[] adapters, address[][] tokens) returns()
func (*AdapterRegistryTransactor) AddProtocols ¶
func (_AdapterRegistry *AdapterRegistryTransactor) AddProtocols(opts *bind.TransactOpts, protocolNames []string, metadata []ProtocolMetadata, adapters [][]common.Address, tokens [][][]common.Address) (*types.Transaction, error)
AddProtocols is a paid mutator transaction binding the contract method 0x83c0a76e.
Solidity: function addProtocols(string[] protocolNames, []ProtocolMetadata metadata, address[][] adapters, address[][][] tokens) returns()
func (*AdapterRegistryTransactor) AddTokenAdapters ¶
func (_AdapterRegistry *AdapterRegistryTransactor) AddTokenAdapters(opts *bind.TransactOpts, tokenAdapterNames []string, adapters []common.Address) (*types.Transaction, error)
AddTokenAdapters is a paid mutator transaction binding the contract method 0x70be4eda.
Solidity: function addTokenAdapters(string[] tokenAdapterNames, address[] adapters) returns()
func (*AdapterRegistryTransactor) RemoveProtocolAdapters ¶
func (_AdapterRegistry *AdapterRegistryTransactor) RemoveProtocolAdapters(opts *bind.TransactOpts, protocolName string, adapterIndices []*big.Int) (*types.Transaction, error)
RemoveProtocolAdapters is a paid mutator transaction binding the contract method 0x00778353.
Solidity: function removeProtocolAdapters(string protocolName, uint256[] adapterIndices) returns()
func (*AdapterRegistryTransactor) RemoveProtocols ¶
func (_AdapterRegistry *AdapterRegistryTransactor) RemoveProtocols(opts *bind.TransactOpts, protocolNames []string) (*types.Transaction, error)
RemoveProtocols is a paid mutator transaction binding the contract method 0x657ea762.
Solidity: function removeProtocols(string[] protocolNames) returns()
func (*AdapterRegistryTransactor) RemoveTokenAdapters ¶
func (_AdapterRegistry *AdapterRegistryTransactor) RemoveTokenAdapters(opts *bind.TransactOpts, tokenAdapterNames []string) (*types.Transaction, error)
RemoveTokenAdapters is a paid mutator transaction binding the contract method 0x9d392fa0.
Solidity: function removeTokenAdapters(string[] tokenAdapterNames) returns()
func (*AdapterRegistryTransactor) TransferOwnership ¶
func (_AdapterRegistry *AdapterRegistryTransactor) TransferOwnership(opts *bind.TransactOpts, _owner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address _owner) returns()
func (*AdapterRegistryTransactor) UpdateProtocolAdapter ¶
func (_AdapterRegistry *AdapterRegistryTransactor) UpdateProtocolAdapter(opts *bind.TransactOpts, protocolName string, index *big.Int, newAdapterAddress common.Address, newSupportedTokens []common.Address) (*types.Transaction, error)
UpdateProtocolAdapter is a paid mutator transaction binding the contract method 0xdeebabcc.
Solidity: function updateProtocolAdapter(string protocolName, uint256 index, address newAdapterAddress, address[] newSupportedTokens) returns()
func (*AdapterRegistryTransactor) UpdateProtocolMetadata ¶
func (_AdapterRegistry *AdapterRegistryTransactor) UpdateProtocolMetadata(opts *bind.TransactOpts, protocolName string, name string, description string, websiteURL string, iconURL string) (*types.Transaction, error)
UpdateProtocolMetadata is a paid mutator transaction binding the contract method 0xb2c687d0.
Solidity: function updateProtocolMetadata(string protocolName, string name, string description, string websiteURL, string iconURL) returns()
func (*AdapterRegistryTransactor) UpdateTokenAdapter ¶
func (_AdapterRegistry *AdapterRegistryTransactor) UpdateTokenAdapter(opts *bind.TransactOpts, tokenAdapterName string, adapter common.Address) (*types.Transaction, error)
UpdateTokenAdapter is a paid mutator transaction binding the contract method 0x2dc909f6.
Solidity: function updateTokenAdapter(string tokenAdapterName, address adapter) returns()
type AdapterRegistryTransactorRaw ¶
type AdapterRegistryTransactorRaw struct {
Contract *AdapterRegistryTransactor // Generic write-only contract binding to access the raw methods on
}
AdapterRegistryTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*AdapterRegistryTransactorRaw) Transact ¶
func (_AdapterRegistry *AdapterRegistryTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*AdapterRegistryTransactorRaw) Transfer ¶
func (_AdapterRegistry *AdapterRegistryTransactorRaw) 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 AdapterRegistryTransactorSession ¶
type AdapterRegistryTransactorSession struct { Contract *AdapterRegistryTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
AdapterRegistryTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*AdapterRegistryTransactorSession) AddProtocolAdapters ¶
func (_AdapterRegistry *AdapterRegistryTransactorSession) AddProtocolAdapters(protocolName string, adapters []common.Address, tokens [][]common.Address) (*types.Transaction, error)
AddProtocolAdapters is a paid mutator transaction binding the contract method 0xbefe43a3.
Solidity: function addProtocolAdapters(string protocolName, address[] adapters, address[][] tokens) returns()
func (*AdapterRegistryTransactorSession) AddProtocols ¶
func (_AdapterRegistry *AdapterRegistryTransactorSession) AddProtocols(protocolNames []string, metadata []ProtocolMetadata, adapters [][]common.Address, tokens [][][]common.Address) (*types.Transaction, error)
AddProtocols is a paid mutator transaction binding the contract method 0x83c0a76e.
Solidity: function addProtocols(string[] protocolNames, []ProtocolMetadata metadata, address[][] adapters, address[][][] tokens) returns()
func (*AdapterRegistryTransactorSession) AddTokenAdapters ¶
func (_AdapterRegistry *AdapterRegistryTransactorSession) AddTokenAdapters(tokenAdapterNames []string, adapters []common.Address) (*types.Transaction, error)
AddTokenAdapters is a paid mutator transaction binding the contract method 0x70be4eda.
Solidity: function addTokenAdapters(string[] tokenAdapterNames, address[] adapters) returns()
func (*AdapterRegistryTransactorSession) RemoveProtocolAdapters ¶
func (_AdapterRegistry *AdapterRegistryTransactorSession) RemoveProtocolAdapters(protocolName string, adapterIndices []*big.Int) (*types.Transaction, error)
RemoveProtocolAdapters is a paid mutator transaction binding the contract method 0x00778353.
Solidity: function removeProtocolAdapters(string protocolName, uint256[] adapterIndices) returns()
func (*AdapterRegistryTransactorSession) RemoveProtocols ¶
func (_AdapterRegistry *AdapterRegistryTransactorSession) RemoveProtocols(protocolNames []string) (*types.Transaction, error)
RemoveProtocols is a paid mutator transaction binding the contract method 0x657ea762.
Solidity: function removeProtocols(string[] protocolNames) returns()
func (*AdapterRegistryTransactorSession) RemoveTokenAdapters ¶
func (_AdapterRegistry *AdapterRegistryTransactorSession) RemoveTokenAdapters(tokenAdapterNames []string) (*types.Transaction, error)
RemoveTokenAdapters is a paid mutator transaction binding the contract method 0x9d392fa0.
Solidity: function removeTokenAdapters(string[] tokenAdapterNames) returns()
func (*AdapterRegistryTransactorSession) TransferOwnership ¶
func (_AdapterRegistry *AdapterRegistryTransactorSession) TransferOwnership(_owner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address _owner) returns()
func (*AdapterRegistryTransactorSession) UpdateProtocolAdapter ¶
func (_AdapterRegistry *AdapterRegistryTransactorSession) UpdateProtocolAdapter(protocolName string, index *big.Int, newAdapterAddress common.Address, newSupportedTokens []common.Address) (*types.Transaction, error)
UpdateProtocolAdapter is a paid mutator transaction binding the contract method 0xdeebabcc.
Solidity: function updateProtocolAdapter(string protocolName, uint256 index, address newAdapterAddress, address[] newSupportedTokens) returns()
func (*AdapterRegistryTransactorSession) UpdateProtocolMetadata ¶
func (_AdapterRegistry *AdapterRegistryTransactorSession) UpdateProtocolMetadata(protocolName string, name string, description string, websiteURL string, iconURL string) (*types.Transaction, error)
UpdateProtocolMetadata is a paid mutator transaction binding the contract method 0xb2c687d0.
Solidity: function updateProtocolMetadata(string protocolName, string name, string description, string websiteURL, string iconURL) returns()
func (*AdapterRegistryTransactorSession) UpdateTokenAdapter ¶
func (_AdapterRegistry *AdapterRegistryTransactorSession) UpdateTokenAdapter(tokenAdapterName string, adapter common.Address) (*types.Transaction, error)
UpdateTokenAdapter is a paid mutator transaction binding the contract method 0x2dc909f6.
Solidity: function updateTokenAdapter(string tokenAdapterName, address adapter) returns()
type FullTokenBalance ¶
type FullTokenBalance struct { Base TokenBalance Underlying []TokenBalance }
FullTokenBalance is an auto generated low-level Go binding around an user-defined struct.
type ProtocolBalance ¶
type ProtocolBalance struct { Metadata ProtocolMetadata AdapterBalances []AdapterBalance }
ProtocolBalance is an auto generated low-level Go binding around an user-defined struct.
type ProtocolMetadata ¶
type ProtocolMetadata struct { Name string Description string WebsiteURL string IconURL string Version *big.Int }
ProtocolMetadata is an auto generated low-level Go binding around an user-defined struct.
type TokenBalance ¶
type TokenBalance struct { Metadata TokenMetadata Amount *big.Int }
TokenBalance is an auto generated low-level Go binding around an user-defined struct.