geth

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Chain

type Chain struct {
	Client *client.ETHClient
	// contains filtered or unexported fields
}

func InitializeChain

func InitializeChain(ctx context.Context, rpcAddress string, mnemonic string) (*Chain, error)

func NewChain

func NewChain(client *client.ETHClient, ethChainId int64, mnemonic string) *Chain

func (*Chain) CallOpts

func (chain *Chain) CallOpts(ctx context.Context, index uint32) *bind.CallOpts

func (*Chain) TxOpts

func (chain *Chain) TxOpts(ctx context.Context, index uint32) *bind.TransactOpts

func (*Chain) WaitAndCheckStatus added in v0.0.3

func (chain *Chain) WaitAndCheckStatus(ctx context.Context, tx *types.Transaction) error

Jump to

Keyboard shortcuts

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