Versions in this module Expand all Collapse all v1 v1.0.0 Oct 25, 2024 Changes in this version + type CallRequest struct + AllowFailure bool + CallData []byte + Target common.Address + func NewCallRequest(target common.Address, packedCallData []byte, allowFailure bool) CallRequest + type CallResult struct + Data []byte + Success bool + func MulticallRaw(cfg *MulticallConfig, calls []CallRequest) ([]CallResult, error) + type MulticallConfig struct + BatchSize int + Client *ethclient.Client + MulticallAddress common.Address + Timeout time.Duration + func NewDefaultMulticallConfig(client *ethclient.Client, multicallAddress common.Address) *MulticallConfig + func NewMulticallConfig(client *ethclient.Client, multicallAddress common.Address, batchSize int, ...) *MulticallConfig