executor

package
v0.0.0-...-f9c6c1d Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	GasLimit = 200000
)

Functions

This section is empty.

Types

type Executor

type Executor struct {
	// contains filtered or unexported fields
}

func NewExecutor

func NewExecutor(
	transactor Transactor,
	signer signing.Signing,
	signatureChn chan *tssSigning.SignatureData,
) *Executor

func (*Executor) Execute

func (e *Executor) Execute(to common.Address, value *big.Int, data []byte) error

Execute assembles signature and sends transaction on the Ethereum network

type Transactor

type Transactor interface {
	Transact(signedTx *types.Transaction) error
	GetNonce() (uint64, error)
	GetChainID() *big.Int
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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