Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterCodec(cdc *amino.Codec)
- type TxInitQCP
- func (tx TxInitQCP) CalcGas() btypes.BigInt
- func (tx TxInitQCP) Exec(ctx context.Context) (result btypes.Result, crossTxQcp *txs.TxQcp)
- func (tx TxInitQCP) GetGasPayer() btypes.Address
- func (tx TxInitQCP) GetSignData() (ret []byte)
- func (tx TxInitQCP) GetSigner() []btypes.Address
- func (tx TxInitQCP) ValidateData(ctx context.Context) error
Constants ¶
View Source
const GasForCreateQCP = uint64(1.8*qtypes.QOSUnit) * qtypes.GasPerUnitCost // 1.8 QOS
Variables ¶
View Source
var Cdc = baseabci.MakeQBaseCodec()
Functions ¶
func RegisterCodec ¶
Types ¶
type TxInitQCP ¶
type TxInitQCP struct {
Creator btypes.Address `json:"creator"` //创建账户
QCPCA *cert.Certificate `json:"ca_qcp"` //CA信息
}
init QCP
func (TxInitQCP) GetGasPayer ¶
func (TxInitQCP) GetSignData ¶
Click to show internal directories.
Click to hide internal directories.