Documentation ¶
Index ¶
- func NewTxQcp(chainID, from, to string, height int64, sequence int64, msg string) *txs.TxQcp
- type TxMsg
- func (tx *TxMsg) CalcGas() btypes.BigInt
- func (tx *TxMsg) Exec(ctx context.Context) (result btypes.Result, crossTxQcps *txs.TxQcp)
- func (tx *TxMsg) GetGasPayer() btypes.Address
- func (tx *TxMsg) GetSignData() []byte
- func (tx *TxMsg) GetSigner() []btypes.Address
- func (tx *TxMsg) ValidateData(ctx context.Context) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type TxMsg ¶
type TxMsg struct {
Data string `json:"data"`
}
TxMsg implements interface of txs.ITx
func (*TxMsg) GetGasPayer ¶
GetGasPayer implements interface of txs.ITx
func (*TxMsg) GetSignData ¶
GetSignData implements interface of txs.ITx
Click to show internal directories.
Click to hide internal directories.