Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Fund ¶
func Fund(backend *SimulatedBackend, sk *ecdsa.PrivateKey, recipient common.Address) error
func MustMineSuccessfully ¶
func MustMineSuccessfully(backend *SimulatedBackend, tx *types.Transaction) error
Types ¶
type SimulatedBackend ¶
type SimulatedBackend struct {
backends.SimulatedBackend
}
func GetSimBackend ¶
func GetSimBackend() (*SimulatedBackend, *ecdsa.PrivateKey)
func (*SimulatedBackend) SendTransaction ¶
func (s *SimulatedBackend) SendTransaction(ctx context.Context, tx *types.Transaction) error
Click to show internal directories.
Click to hide internal directories.