Documentation ¶
Index ¶
- Variables
- type BalanceBatcher
- type Call
- type CallResponse
- type MultiCall
- type MultiCaller
- func (caller *MultiCaller) AddCall(contract *rocketpool.Contract, output interface{}, method string, ...) error
- func (caller *MultiCaller) Execute(requireSuccess bool, opts *bind.CallOpts) ([]CallResponse, error)
- func (caller *MultiCaller) FlexibleCall(requireSuccess bool, opts *bind.CallOpts) ([]Result, error)
- type Result
Constants ¶
This section is empty.
Variables ¶
View Source
var BalancesABI string = "" /* 602-byte string literal not displayed */
View Source
var MulticallABI string = "" /* 4459-byte string literal not displayed */
Functions ¶
This section is empty.
Types ¶
type BalanceBatcher ¶
type BalanceBatcher struct { Client rocketpool.ExecutionClient ABI abi.ABI ContractAddress common.Address }
func NewBalanceBatcher ¶
func NewBalanceBatcher(client rocketpool.ExecutionClient, address common.Address) (*BalanceBatcher, error)
func (*BalanceBatcher) GetEthBalances ¶
type Call ¶
type Call struct { Method string `json:"method"` Target common.Address `json:"target"` CallData []byte `json:"call_data"` Contract *rocketpool.Contract // contains filtered or unexported fields }
func (Call) GetMultiCall ¶
type CallResponse ¶
type MultiCaller ¶
type MultiCaller struct { Client rocketpool.ExecutionClient ABI abi.ABI ContractAddress common.Address // contains filtered or unexported fields }
func NewMultiCaller ¶
func NewMultiCaller(client rocketpool.ExecutionClient, multicallerAddress common.Address) (*MultiCaller, error)
func (*MultiCaller) AddCall ¶
func (caller *MultiCaller) AddCall(contract *rocketpool.Contract, output interface{}, method string, args ...interface{}) error
func (*MultiCaller) Execute ¶
func (caller *MultiCaller) Execute(requireSuccess bool, opts *bind.CallOpts) ([]CallResponse, error)
func (*MultiCaller) FlexibleCall ¶
Click to show internal directories.
Click to hide internal directories.