Documentation ¶
Index ¶
- Constants
- type BigIntJSONString
- type CallResult
- type Config
- type Multicall
- type Option
- type Result
- type ViewCall
- func (call ViewCall) ArgsCallData() ([]byte, error)
- func (call ViewCall) ArgumentTypes() []string
- func (call ViewCall) CallData() ([]byte, error)
- func (call ViewCall) Decode(raw []byte) ([]interface{}, error)
- func (call ViewCall) GetArgument(index int, argumentType string) (interface{}, error)
- func (call ViewCall) MethodCallData() ([]byte, error)
- func (call ViewCall) ReturnTypes() []string
- func (call ViewCall) Validate() error
- type ViewCalls
Constants ¶
View Source
const ( // MainnetMulticall : Multicall contract address on mainnet MainnetAddress = "0x5eb3fa2dfecdde21c950813c665e9364fa609bd2" // RopstenMulticall : Multicall contract address on Ropsten RopstenAddress = "0xf3ad7e31b052ff96566eedd218a823430e74b406" )
View Source
const AggregateMethod = "0x17352e13"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BigIntJSONString ¶
func (BigIntJSONString) MarshalJSON ¶
func (i BigIntJSONString) MarshalJSON() ([]byte, error)
type CallResult ¶
type Multicall ¶
type Result ¶
type Result struct { BlockNumber uint64 Calls map[string]CallResult }
type ViewCall ¶
func NewViewCall ¶
func (ViewCall) ArgsCallData ¶
func (ViewCall) ArgumentTypes ¶
func (ViewCall) GetArgument ¶
func (ViewCall) MethodCallData ¶
func (ViewCall) ReturnTypes ¶
Click to show internal directories.
Click to hide internal directories.