Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
// A dummy private key used to build *bind.TransactOpts for simulation.
DummyPk, _ = crypto.GenerateKey()
// A default state override to ensure the zero address always has sufficient funds.
DefaultStateOverrides = map[string]TraceStateOverrides{
common.HexToAddress("0x").Hex(): {Balance: hexutil.Big(*big.NewInt(0).SetUint64(math.MaxUint64))},
}
)
Functions ¶
This section is empty.
Types ¶
type TraceCallOpts ¶
type TraceCallOpts struct { Tracer string `json:"tracer"` StateOverrides map[string]TraceStateOverrides `json:"stateOverrides"` }
type TraceCallReq ¶
type TraceStateOverrides ¶ added in v0.6.19
Click to show internal directories.
Click to hide internal directories.