Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SimulatedBackend ¶
SimulatedBackend is a simulated blockchain. Deprecated: use package github.com/codecodeorg/opgeth/ethclient/simulated instead.
func NewSimulatedBackend
deprecated
func NewSimulatedBackend(alloc types.GenesisAlloc, gasLimit uint64) *SimulatedBackend
NewSimulatedBackend creates a new binding backend using a simulated blockchain for testing purposes.
A simulated backend always uses chainID 1337.
Deprecated: please use simulated.Backend from package github.com/codecodeorg/opgeth/ethclient/simulated instead.
func NewSimulatedBackendFromConfig ¶
func NewSimulatedBackendFromConfig(cfg ethconfig.Config) *SimulatedBackend
Click to show internal directories.
Click to hide internal directories.