bms

package
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 18, 2024 License: MIT Imports: 19 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

Functions

func GetEoa added in v0.3.0

func GetEoa(chainID *big.Int) (*bind.TransactOpts, error)

func GetEoaAt added in v0.3.0

func GetEoaAt(chainID *big.Int, index uint32) (*bind.TransactOpts, error)

func GetEoas added in v0.3.0

func GetEoas(chainID *big.Int, count int) ([]*bind.TransactOpts, error)

func GetTEoa added in v0.3.0

func GetTEoa(t *testing.T) *bind.TransactOpts

func GetTEoas added in v0.3.0

func GetTEoas(t *testing.T, count int) []*bind.TransactOpts

func GetTOwner added in v0.3.0

func GetTOwner(t *testing.T) *bind.TransactOpts

Types

type Backend

type Backend struct {
	simulated.Backend
	simulated.Client
	Owner *bind.TransactOpts
}

func NewBacked

func NewBacked(t *testing.T) *Backend

func (*Backend) EstimateGas

func (ec *Backend) EstimateGas(ctx context.Context, call ethereum.CallMsg) (uint64, error)

func (*Backend) SendTransaction

func (ec *Backend) SendTransaction(ctx context.Context, tx *types.Transaction) error

func (*Backend) SuggestGasPrice

func (ec *Backend) SuggestGasPrice(ctx context.Context) (*big.Int, error)

func (*Backend) SuggestGasTipCap

func (ec *Backend) SuggestGasTipCap(ctx context.Context) (*big.Int, error)

func (*Backend) TransactionReceipt

func (ec *Backend) TransactionReceipt(ctx context.Context, txHash common.Hash) (*types.Receipt, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL