bms

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2024 License: MIT Imports: 19 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ChainID

func ChainID() *big.Int

func GetEOA

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

func GetEOAs

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

func GetOwner

func GetOwner(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