Documentation ¶
Index ¶
- func BuyAd(cdc *wire.Codec, chainId, articleHash, coins, privatekey string, ...) string
- func BuyAdBackground(cdc *wire.Codec, txb string, timeout time.Duration) string
- func BuyadCmd(cdc *wire.Codec) *cobra.Command
- func RetrieveBuyer(cdc *wire.Codec, articleHash string) string
- type BuyTx
- func (it BuyTx) CalcGas() qbasetypes.BigInt
- func (it BuyTx) Exec(ctx context.Context) (result qbasetypes.Result, crossTxQcps *txs.TxQcp)
- func (it BuyTx) GetGasPayer() qbasetypes.Address
- func (it BuyTx) GetSignData() []byte
- func (it BuyTx) GetSigner() []qbasetypes.Address
- func (it BuyTx) Name() string
- func (it BuyTx) ValidateData(ctx context.Context) error
- type BuyadStub
- func (kv BuyadStub) CustomerQuery(ctx ctx.Context, route []string, req abci.RequestQuery) (res []byte, err qbasetypes.Error)
- func (bs BuyadStub) EndBlockNotify(ctx context.Context)
- func (kv BuyadStub) Name() string
- func (bs BuyadStub) RegisterCdc(cdc *go_amino.Codec)
- func (bs BuyadStub) ResultNotify(ctx context.Context, txQcpResult interface{}) *qbasetypes.Result
- func (bs BuyadStub) StartX(base *baseapp.QstarsBaseApp) error
- type ResultBuy
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuyAd ¶
func BuyAd(cdc *wire.Codec, chainId, articleHash, coins, privatekey string, qosnonce, qscnonce int64) string
BuyAd 投资广告
func BuyAdBackground ¶
BuyAdBackground 提交到链上
Types ¶
type BuyTx ¶
func (BuyTx) CalcGas ¶
func (it BuyTx) CalcGas() qbasetypes.BigInt
func (BuyTx) GetGasPayer ¶
func (it BuyTx) GetGasPayer() qbasetypes.Address
func (BuyTx) GetSignData ¶
func (BuyTx) GetSigner ¶
func (it BuyTx) GetSigner() []qbasetypes.Address
type BuyadStub ¶
type BuyadStub struct { }
func (BuyadStub) CustomerQuery ¶
func (kv BuyadStub) CustomerQuery(ctx ctx.Context, route []string, req abci.RequestQuery) (res []byte, err qbasetypes.Error)
func (BuyadStub) EndBlockNotify ¶
func (BuyadStub) RegisterCdc ¶
func (BuyadStub) ResultNotify ¶
func (bs BuyadStub) ResultNotify(ctx context.Context, txQcpResult interface{}) *qbasetypes.Result
type ResultBuy ¶
type ResultBuy struct { Code string `json:"code"` Reason string `json:"reason,omitempty"` Result json.RawMessage `json:"result,omitempty"` }
func InternalError ¶
func NewResultBuy ¶
Click to show internal directories.
Click to hide internal directories.