Documentation ¶
Index ¶
Constants ¶
View Source
const DefaultMaxRetries = 3
Variables ¶
View Source
var ( ErrChainIdNotListed = errors.New("chain ID is not listed at chainid.network") ErrLocalChainNameMismatch = errors.New("local chain name does not match name from chainid.network") ErrChainIdDuplicated = errors.New("chain ID is duplicated") ErrChainNameDuplicated = errors.New("chain name duplicated") ErrChainPublicRpcNotListed = errors.New("chain public RPC not listed in chainid.network") )
Functions ¶
Types ¶
type BytecodeAndImmutableReferences ¶
type BytecodeAndImmutableReferences struct { Bytecode []byte `json:"object"` ImmutableReferences map[string][]ImmutableReference `json:"immutableReferences"` }
Define a struct to represent the structure of the JSON data
type ImmutableReference ¶
ImmutableReference to store the start/length of a contract's immutable references. Immutables are directly assigned values once or are initialized in a constructor. They are encoded in the contract bytecode, and the AST that is generated by the compiler has info about the offset & length within the bytecode.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.