Versions in this module Expand all Collapse all v1 v1.0.2 Jul 20, 2022 v1.0.1 Jul 20, 2022 Changes in this version + const AggregateMethod + const DefaultGasValue + var AggregateMethodBytes []byte + type BigIntJSONString big.Int + func (i BigIntJSONString) MarshalJSON() ([]byte, error) + type CallResult struct + Decoded []interface{} + Raw []byte + type Config struct + Gas uint64 + 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(_client royal.EthClient, opts ...Option) (Multicall, error) + type Option func(*Config) + func SetContractAddress(address string) Option + func SetGas(gas uint64) 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