Documentation ¶
Index ¶
- Constants
- func GetCmdBatch(queryRoute string, cdc *codec.Codec) *cobra.Command
- func GetCmdBond(queryRoute string, cdc *codec.Codec) *cobra.Command
- func GetCmdBonds(queryRoute string, cdc *codec.Codec) *cobra.Command
- func GetCmdBuy(cdc *codec.Codec) *cobra.Command
- func GetCmdBuyPrice(queryRoute string, cdc *codec.Codec) *cobra.Command
- func GetCmdCreateBond(cdc *codec.Codec) *cobra.Command
- func GetCmdCurrentPrice(queryRoute string, cdc *codec.Codec) *cobra.Command
- func GetCmdCurrentReserve(queryRoute string, cdc *codec.Codec) *cobra.Command
- func GetCmdCustomPrice(queryRoute string, cdc *codec.Codec) *cobra.Command
- func GetCmdEditBond(cdc *codec.Codec) *cobra.Command
- func GetCmdLastBatch(queryRoute string, cdc *codec.Codec) *cobra.Command
- func GetCmdMakeOutcomePayment(cdc *codec.Codec) *cobra.Command
- func GetCmdQueryParams(cdc *codec.Codec) *cobra.Command
- func GetCmdSell(cdc *codec.Codec) *cobra.Command
- func GetCmdSellReturn(queryRoute string, cdc *codec.Codec) *cobra.Command
- func GetCmdSwap(cdc *codec.Codec) *cobra.Command
- func GetCmdSwapReturn(queryRoute string, cdc *codec.Codec) *cobra.Command
- func GetCmdWithdrawShare(cdc *codec.Codec) *cobra.Command
- func GetQueryCmd(storeKey string, cdc *codec.Codec) *cobra.Command
- func GetTxCmd(cdc *codec.Codec) *cobra.Command
Constants ¶
View Source
const ( FlagToken = "token" FlagName = "name" FlagDescription = "description" FlagFunctionType = "function-type" FlagFunctionParameters = "function-parameters" FlagReserveTokens = "reserve-tokens" FlagTxFeePercentage = "tx-fee-percentage" FlagExitFeePercentage = "exit-fee-percentage" FlagFeeAddress = "fee-address" FlagMaxSupply = "max-supply" FlagOrderQuantityLimits = "order-quantity-limits" FlagSanityRate = "sanity-rate" FlagSanityMarginPercentage = "sanity-margin-percentage" FlagAllowSells = "allow-sells" FlagSigners = "signers" FlagBatchBlocks = "batch-blocks" FlagOutcomePayment = "outcome-payment" )
Variables ¶
This section is empty.
Functions ¶
func GetCmdCurrentPrice ¶
func GetCmdCurrentReserve ¶
func GetCmdQueryParams ¶
GetCmdQueryParams implements a command to fetch bonds parameters.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.