Documentation ¶
Index ¶
- func CheckAddSharesParams(fromInfo keys.Info, passWd string, valAddrs []string) error
- func CheckCancelOrderParams(fromInfo keys.Info, passWd string, orderIDs []string) error
- func CheckCreatePoolParams(fromInfo keys.Info, passWd, poolName, minLockAmountStr, yieldToken string) error
- func CheckDexAssetsParams(fromInfo keys.Info, passWd, baseAsset, quoteAsset string) error
- func CheckKeyParams(fromInfo keys.Info, passWd string) error
- func CheckNewOrderParams(fromInfo keys.Info, passWd string, ...) error
- func CheckPoolNameParams(fromInfo keys.Info, passWd, poolName string) error
- func CheckProductParams(fromInfo keys.Info, passWd, product string) error
- func CheckProposalOperation(fromInfo keys.Info, passWd string, proposalID uint64) error
- func CheckQueryHeightParams(height int64) error
- func CheckQueryOrderDetailParams(orderID string) error
- func CheckQueryOrdersParams(addrStr, product, side string, start, end, page, perPage int) (perPageRet int, err error)
- func CheckQueryRecentTxRecordParams(product string, start, end, page, perPage int) (perPageRet int, err error)
- func CheckQueryTickersParams(count []int) (countRet int, err error)
- func CheckQueryTokenInfoParams(ownerAddr, symbol string) error
- func CheckQueryTransactionsParams(addrStr string, typeCode, start, end, page, perPage int) (perPageRet int, err error)
- func CheckQueryTxResultParams(tmEventStrs []string, page, perPage int) error
- func CheckSendParams(fromInfo keys.Info, passWd, toAddr string) error
- func CheckTokenEditParams(fromInfo keys.Info, passWd, symbol, description, wholeName string, ...) error
- func CheckTokenIssueParams(fromInfo keys.Info, passWd, orgSymbol, wholeName, tokenDesc string) error
- func CheckTransferUnitsParams(fromInfo keys.Info, passWd string, transfers []tokentypes.TransferUnit) error
- func IsValidAccAddr(addrStr string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckAddSharesParams ¶
CheckAddSharesParams gives a quick validity check for the input params of multi-voting
func CheckCancelOrderParams ¶
CheckCancelOrderParams gives a quick validity check for the input params for cancelling orders
func CheckCreatePoolParams ¶
func CheckCreatePoolParams(fromInfo keys.Info, passWd, poolName, minLockAmountStr, yieldToken string) error
CheckCreatePoolParams gives a quick validity check for the input params of creating pool in farm
func CheckDexAssetsParams ¶
CheckDexAssetsParams gives a quick validity check for the input params of dex assets
func CheckKeyParams ¶
CheckKeyParams gives a basic validity check for the input key params
func CheckNewOrderParams ¶
func CheckNewOrderParams(fromInfo keys.Info, passWd string, products, sides, prices, quantities []string) error
CheckNewOrderParams gives a quick validity check for the input params for placing orders
func CheckPoolNameParams ¶
CheckPoolNameParams gives a quick validity check for the input params of the pool name in farm
func CheckProductParams ¶
CheckProductParams gives a quick validity check for the input product params
func CheckProposalOperation ¶
CheckProposalOperation gives a quick validity check for the input params of the proposal operation with proposal ID
func CheckQueryHeightParams ¶
CheckQueryHeightParams gives a quick validity check for the input params of query tendermint data with height
func CheckQueryOrderDetailParams ¶
CheckQueryOrderDetailParams gives a quick validity check for the input params of query order detail
func CheckQueryOrdersParams ¶
func CheckQueryOrdersParams(addrStr, product, side string, start, end, page, perPage int) (perPageRet int, err error)
CheckQueryOrdersParams gives a quick validity check for the input params of query orders
func CheckQueryRecentTxRecordParams ¶
func CheckQueryRecentTxRecordParams(product string, start, end, page, perPage int) (perPageRet int, err error)
CheckQueryRecentTxRecordParams gives a quick validity check for the input params of query recent tx record
func CheckQueryTickersParams ¶
CheckQueryTickersParams gives a quick validity check for the input params of query tickers
func CheckQueryTokenInfoParams ¶
CheckQueryTokenInfoParams gives a quick validity check for the input params of query token info
func CheckQueryTransactionsParams ¶
func CheckQueryTransactionsParams(addrStr string, typeCode, start, end, page, perPage int) (perPageRet int, err error)
CheckQueryTransactionsParams gives a quick validity check for the input params of query transactions
func CheckQueryTxResultParams ¶
CheckQueryTxResultParams gives a quick validity check for txs query by searching string
func CheckSendParams ¶
CheckSendParams gives a quick validity check for the input params of transferring
func CheckTokenEditParams ¶
func CheckTokenEditParams(fromInfo keys.Info, passWd, symbol, description, wholeName string, isDescEdit, isWholeNameEdit bool) error
CheckTokenEditParams gives a quick validity check for the input params of token info editing
func CheckTokenIssueParams ¶
func CheckTokenIssueParams(fromInfo keys.Info, passWd, orgSymbol, wholeName, tokenDesc string) error
CheckTokenIssueParams gives a quick validity check for the input params of token issuing
func CheckTransferUnitsParams ¶
func CheckTransferUnitsParams(fromInfo keys.Info, passWd string, transfers []tokentypes.TransferUnit) error
CheckTransferUnitsParams gives a quick validity check for the input params of multi-send
func IsValidAccAddr ¶
IsValidAccAddr gives a quick validity check for an address string
Types ¶
This section is empty.