Versions in this module Expand all Collapse all v0 v0.4.1 Dec 25, 2018 v0.4.0 Dec 24, 2018 Changes in this version + const ARTICLE_ADDRES_ERR + const ARTICLE_AUTHOR_SHARE_ERR + const ARTICLE_BUY_DATE_ERR + const ARTICLE_COMMUNITY_SHARE_ERR + const ARTICLE_INVESTOR_DATE_ERR + const ARTICLE_INVESTOR_SHARE_ERR + const ARTICLE_ORIGIN_ERR + const ARTICLE_ORIGIN_SHARE_ERR + const ARTICLE_PRIV_AUTHOR_ERR + const ARTICLE_PRIV_ERR + const ARTICLE_QUERY_ERR + const ARTICLE_SENDTX_ERR + func GetArticle(cdc *amino.Codec, key string) string + func NewArticle(cdc *amino.Codec, ctx *config.CLIConfig, ...) string + func NewArticleCmd(cdc *wire.Codec) *cobra.Command + func QueryArticleCmd(cdc *wire.Codec) *cobra.Command + type AricleStub struct + func NewCoinsStub() AricleStub + func (astub AricleStub) EndBlockNotify(ctx context.Context) + func (astub AricleStub) RegisterCdc(cdc *go_amino.Codec) + func (astub AricleStub) ResultNotify(ctx context.Context, txQcpResult interface{}) *types.Result + func (astub AricleStub) StartX(base *baseapp.QstarsBaseApp) error + func (cstub AricleStub) CustomerQuery(ctx context.Context, route []string, req abci.RequestQuery) (res []byte, err types.Error) + func (cstub AricleStub) Name() string + type ArticleTx struct + ArticleHash string + Authoraddress types.Address + BuyHours int + Gas types.BigInt + InvestHours int + OriginalAuthor types.Address + ShareAuthor int + ShareCommunity int + ShareInvestor int + ShareOriginalAuthor int + func NewArticlesTx(authoraddress, originalAuthor types.Address, articleHash string, ...) *ArticleTx + func (tx *ArticleTx) CalcGas() types.BigInt + func (tx *ArticleTx) Exec(ctx context.Context) (result types.Result, crossTxQcp *txs.TxQcp) + func (tx *ArticleTx) GetGasPayer() types.Address + func (tx *ArticleTx) GetSignData() (ret []byte) + func (tx *ArticleTx) GetSigner() []types.Address + func (tx *ArticleTx) ValidateData(ctx context.Context) error + func (tx ArticleTx) Name() string