Documentation ¶
Index ¶
- Variables
- func RegisterCodec(cdc *amino.Codec)
- func ValidateData(ctx context.Context, msg types.Approve) error
- type TxCancelApprove
- func (tx TxCancelApprove) CalcGas() btypes.BigInt
- func (tx TxCancelApprove) Exec(ctx context.Context) (result btypes.Result, crossTxQcps *txs.TxQcp)
- func (tx TxCancelApprove) GetGasPayer() btypes.AccAddress
- func (tx TxCancelApprove) GetSignData() (ret []byte)
- func (tx TxCancelApprove) GetSigner() []btypes.AccAddress
- func (tx TxCancelApprove) ValidateData(ctx context.Context) error
- func (tx TxCancelApprove) ValidateInputs() error
- type TxCreateApprove
- func (tx TxCreateApprove) CalcGas() btypes.BigInt
- func (tx TxCreateApprove) Exec(ctx context.Context) (result btypes.Result, crossTxQcps *txs.TxQcp)
- func (tx TxCreateApprove) GetGasPayer() btypes.AccAddress
- func (tx TxCreateApprove) GetSignData() (ret []byte)
- func (tx TxCreateApprove) GetSigner() []btypes.AccAddress
- func (tx TxCreateApprove) ValidateData(ctx context.Context) error
- type TxDecreaseApprove
- func (tx TxDecreaseApprove) CalcGas() btypes.BigInt
- func (tx TxDecreaseApprove) Exec(ctx context.Context) (result btypes.Result, crossTxQcps *txs.TxQcp)
- func (tx TxDecreaseApprove) GetGasPayer() btypes.AccAddress
- func (tx TxDecreaseApprove) GetSignData() (ret []byte)
- func (tx TxDecreaseApprove) GetSigner() []btypes.AccAddress
- func (tx TxDecreaseApprove) ValidateData(ctx context.Context) error
- type TxIncreaseApprove
- func (tx TxIncreaseApprove) CalcGas() btypes.BigInt
- func (tx TxIncreaseApprove) Exec(ctx context.Context) (result btypes.Result, crossTxQcps *txs.TxQcp)
- func (tx TxIncreaseApprove) GetGasPayer() btypes.AccAddress
- func (tx TxIncreaseApprove) GetSignData() (ret []byte)
- func (tx TxIncreaseApprove) GetSigner() []btypes.AccAddress
- func (tx TxIncreaseApprove) ValidateData(ctx context.Context) error
- type TxUseApprove
- func (tx TxUseApprove) CalcGas() btypes.BigInt
- func (tx TxUseApprove) Exec(ctx context.Context) (result btypes.Result, crossTxQcps *txs.TxQcp)
- func (tx TxUseApprove) GetGasPayer() btypes.AccAddress
- func (tx TxUseApprove) GetSignData() (ret []byte)
- func (tx TxUseApprove) GetSigner() []btypes.AccAddress
- func (tx TxUseApprove) ValidateData(ctx context.Context) error
Constants ¶
This section is empty.
Variables ¶
View Source
var Cdc = baseabci.MakeQBaseCodec()
Functions ¶
func RegisterCodec ¶
func RegisterCodec(cdc *amino.Codec)
Types ¶
type TxCancelApprove ¶
type TxCancelApprove struct { From btypes.AccAddress `json:"from"` // 授权账号 To btypes.AccAddress `json:"to"` // 被授权账号 }
取消授权 Tx
func (TxCancelApprove) GetGasPayer ¶
func (tx TxCancelApprove) GetGasPayer() btypes.AccAddress
Gas Payer:被授权账号
func (TxCancelApprove) GetSigner ¶
func (tx TxCancelApprove) GetSigner() []btypes.AccAddress
签名账号:被授权账号
func (TxCancelApprove) ValidateData ¶
func (tx TxCancelApprove) ValidateData(ctx context.Context) error
参数校验
func (TxCancelApprove) ValidateInputs ¶ added in v0.0.8
func (tx TxCancelApprove) ValidateInputs() error
基础参数校验
type TxCreateApprove ¶
创建授权
func (TxCreateApprove) GetGasPayer ¶
func (tx TxCreateApprove) GetGasPayer() btypes.AccAddress
Gas Payer:授权账号
func (TxCreateApprove) GetSignData ¶ added in v0.0.8
func (tx TxCreateApprove) GetSignData() (ret []byte)
签名字节
func (TxCreateApprove) GetSigner ¶
func (tx TxCreateApprove) GetSigner() []btypes.AccAddress
签名账号:授权账号
func (TxCreateApprove) ValidateData ¶
func (tx TxCreateApprove) ValidateData(ctx context.Context) error
参数校验
type TxDecreaseApprove ¶
减少授权
func (TxDecreaseApprove) Exec ¶
func (tx TxDecreaseApprove) Exec(ctx context.Context) (result btypes.Result, crossTxQcps *txs.TxQcp)
执行交易并返回交易结果,QOS公链执行交易crossTxQcps为空
func (TxDecreaseApprove) GetGasPayer ¶
func (tx TxDecreaseApprove) GetGasPayer() btypes.AccAddress
Gas Payer:授权账号
func (TxDecreaseApprove) GetSignData ¶ added in v0.0.8
func (tx TxDecreaseApprove) GetSignData() (ret []byte)
签名字节
func (TxDecreaseApprove) GetSigner ¶
func (tx TxDecreaseApprove) GetSigner() []btypes.AccAddress
签名账号:授权账号
func (TxDecreaseApprove) ValidateData ¶
func (tx TxDecreaseApprove) ValidateData(ctx context.Context) error
参数校验
type TxIncreaseApprove ¶
增加授权
func (TxIncreaseApprove) Exec ¶
func (tx TxIncreaseApprove) Exec(ctx context.Context) (result btypes.Result, crossTxQcps *txs.TxQcp)
执行交易并返回交易结果,QOS公链执行交易crossTxQcps为空
func (TxIncreaseApprove) GetGasPayer ¶
func (tx TxIncreaseApprove) GetGasPayer() btypes.AccAddress
Gas Payer:授权账号
func (TxIncreaseApprove) GetSignData ¶ added in v0.0.8
func (tx TxIncreaseApprove) GetSignData() (ret []byte)
签名字节
func (TxIncreaseApprove) GetSigner ¶
func (tx TxIncreaseApprove) GetSigner() []btypes.AccAddress
签名账号:授权账号
func (TxIncreaseApprove) ValidateData ¶
func (tx TxIncreaseApprove) ValidateData(ctx context.Context) error
参数校验
type TxUseApprove ¶
使用授权
func (TxUseApprove) GetGasPayer ¶
func (tx TxUseApprove) GetGasPayer() btypes.AccAddress
Gas Payer:被授权账户
func (TxUseApprove) GetSignData ¶ added in v0.0.8
func (tx TxUseApprove) GetSignData() (ret []byte)
签名字节
func (TxUseApprove) ValidateData ¶
func (tx TxUseApprove) ValidateData(ctx context.Context) error
参数校验
Click to show internal directories.
Click to hide internal directories.