executor

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: May 29, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BondExecutor

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

func NewBondExecutor

func NewBondExecutor(strict bool) *BondExecutor

func (*BondExecutor) Execute

func (e *BondExecutor) Execute(trx *tx.Tx, sb sandbox.Sandbox) error

func (*BondExecutor) Fee

func (e *BondExecutor) Fee() int64

type SortitionExecutor

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

func NewSortitionExecutor

func NewSortitionExecutor(strict bool) *SortitionExecutor

func (*SortitionExecutor) Execute

func (e *SortitionExecutor) Execute(trx *tx.Tx, sb sandbox.Sandbox) error

func (*SortitionExecutor) Fee

func (e *SortitionExecutor) Fee() int64

type TransferExecutor added in v0.11.0

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

func NewTransferExecutor added in v0.11.0

func NewTransferExecutor(strict bool) *TransferExecutor

func (*TransferExecutor) Execute added in v0.11.0

func (e *TransferExecutor) Execute(trx *tx.Tx, sb sandbox.Sandbox) error

func (*TransferExecutor) Fee added in v0.11.0

func (e *TransferExecutor) Fee() int64

type UnbondExecutor

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

func NewUnbondExecutor

func NewUnbondExecutor(strict bool) *UnbondExecutor

func (*UnbondExecutor) Execute

func (e *UnbondExecutor) Execute(trx *tx.Tx, sb sandbox.Sandbox) error

func (*UnbondExecutor) Fee

func (e *UnbondExecutor) Fee() int64

Fee will return unbond execution fee.

type WithdrawExecutor

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

func NewWithdrawExecutor

func NewWithdrawExecutor(strict bool) *WithdrawExecutor

func (*WithdrawExecutor) Execute

func (e *WithdrawExecutor) Execute(trx *tx.Tx, sb sandbox.Sandbox) error

func (*WithdrawExecutor) Fee

func (e *WithdrawExecutor) Fee() int64

Jump to

Keyboard shortcuts

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