Documentation
¶
Index ¶
- type SendTx
- func (tx *SendTx) CalcGas() btypes.BigInt
- func (tx *SendTx) Exec(ctx context.Context) (result btypes.Result, crossTxQcps *txs.TxQcp)
- func (tx *SendTx) GetGasPayer() btypes.AccAddress
- func (tx *SendTx) GetSignData() []byte
- func (tx *SendTx) GetSigner() []btypes.AccAddress
- func (tx *SendTx) ValidateData(ctx context.Context) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SendTx ¶
type SendTx struct {
From btypes.AccAddress `json:"from"`
To btypes.AccAddress `json:"to"`
Coin btypes.BaseCoin `json:"coin"`
}
func NewSendTx ¶
func NewSendTx(from btypes.AccAddress, to btypes.AccAddress, coin btypes.BaseCoin) SendTx
func (*SendTx) GetGasPayer ¶
func (tx *SendTx) GetGasPayer() btypes.AccAddress
func (*SendTx) GetSignData ¶
func (*SendTx) GetSigner ¶
func (tx *SendTx) GetSigner() []btypes.AccAddress
Click to show internal directories.
Click to hide internal directories.