Documentation
¶
Index ¶
Constants ¶
View Source
const ( // MainnetMulticall : Multicall contract address on mainnet MainnetAddress = "0x5eb3fa2dfecdde21c950813c665e9364fa609bd2" // RopstenMulticall : Multicall contract address on Ropsten RopstenAddress = "0xf3ad7e31b052ff96566eedd218a823430e74b406" )
View Source
const AggregateMethod = "0xd0707b67"
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 CallResult struct { //Success bool Raw []byte Decoded []interface{} }
type Multicall ¶
type Result ¶
type Result struct { BlockNumber uint64 Calls map[string]CallResult }
type ViewCall ¶
type ViewCall struct {
// contains filtered or unexported fields
}
func NewViewCall ¶
Click to show internal directories.
Click to hide internal directories.