txs

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2019 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTxQcp

func NewTxQcp(chainID, from, to string, height int64, sequence int64, msg string) *txs.TxQcp

NewTxQcp create a new TxQcp

Types

type TxMsg

type TxMsg struct {
	Data string `json:"data"`
}

TxMsg implements interface of txs.ITx

func (*TxMsg) CalcGas

func (tx *TxMsg) CalcGas() btypes.BigInt

CalcGas implements interface of txs.ITx

func (*TxMsg) Exec

func (tx *TxMsg) Exec(ctx context.Context) (result btypes.Result, crossTxQcps *txs.TxQcp)

Exec implements interface of txs.ITx

func (*TxMsg) GetGasPayer

func (tx *TxMsg) GetGasPayer() btypes.Address

GetGasPayer implements interface of txs.ITx

func (*TxMsg) GetSignData

func (tx *TxMsg) GetSignData() []byte

GetSignData implements interface of txs.ITx

func (*TxMsg) GetSigner

func (tx *TxMsg) GetSigner() []btypes.Address

GetSigner implements interface of txs.ITx

func (*TxMsg) ValidateData

func (tx *TxMsg) ValidateData(ctx context.Context) error

ValidateData implements interface of txs.ITx

Jump to

Keyboard shortcuts

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