executor

package
v1.0.6 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2023 License: GPL-3.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	MaxGasPrice = big.NewInt(500 * params.GWei)
)

Functions

This section is empty.

Types

type CallArgs

type CallArgs struct {
	From     common.Address  `json:"from"`
	To       *common.Address `json:"to"`
	Gas      hexutil.Uint64  `json:"gas"`
	GasPrice hexutil.Big     `json:"gasPrice"`
	Value    hexutil.Big     `json:"value"`
	Data     hexutil.Bytes   `json:"data"`
}

type GasHelper

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

func NewGasHelper

func NewGasHelper(blockchain *core.BlockChain, chain simpletrigger.SimpleChain) *GasHelper

func (*GasHelper) GetBalance added in v1.0.6

func (h *GasHelper) GetBalance(addr common.Address) (*big.Int, error)

type SimpleExecutor

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

func NewSimpleExecutor

func NewSimpleExecutor(chain simpletrigger.SimpleChain, anchor common.Address, contract common.Address, qdb queueDB) (
	*SimpleExecutor, error)

func (*SimpleExecutor) PromoteTransaction added in v1.0.6

func (exe *SimpleExecutor) PromoteTransaction()

func (*SimpleExecutor) SignHash added in v1.0.6

func (exe *SimpleExecutor) SignHash(hash []byte) ([]byte, error)

func (*SimpleExecutor) Start

func (exe *SimpleExecutor) Start()

func (*SimpleExecutor) Stop

func (exe *SimpleExecutor) Stop()

func (*SimpleExecutor) SubmitTransaction

func (exe *SimpleExecutor) SubmitTransaction(rtxs []*cc.ReceptTransaction)

type TranParam

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

Jump to

Keyboard shortcuts

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