Versions in this module Expand all Collapse all v0 v0.0.16 Feb 4, 2021 Changes in this version + const AggregateMethod + const MainnetAddress + const RopstenAddress + type BigIntJSONString big.Int + func (i BigIntJSONString) MarshalJSON() ([]byte, error) + type CallResult struct + Decoded []interface{} + Raw []byte + Success bool + type Config struct + Gas string + MulticallAddress string + type Multicall interface + Call func(calls ViewCalls, block string) (*Result, error) + CallRaw func(calls ViewCalls, block string) (*Result, error) + Contract func() string + func New(eth ethrpc.ETHInterface, opts ...Option) (Multicall, error) + type Option func(*Config) + func ContractAddress(address string) Option + func SetGas(gas uint64) Option + func SetGasHex(gas string) Option + type Result struct + BlockNumber uint64 + Calls map[string]CallResult + type ViewCall struct + func NewViewCall(id, target, method string, arguments []interface{}) ViewCall + func (call ViewCall) Validate() error + type ViewCalls []ViewCall