params

package
v1.5.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 22, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckAddSharesParams

func CheckAddSharesParams(fromInfo keys.Info, passWd string, valAddrs []string) error

CheckAddSharesParams gives a quick validity check for the input params of multi-voting

func CheckCancelOrderParams

func CheckCancelOrderParams(fromInfo keys.Info, passWd string, orderIDs []string) error

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

func CheckDexAssetsParams(fromInfo keys.Info, passWd, baseAsset, quoteAsset string) error

CheckDexAssetsParams gives a quick validity check for the input params of dex assets

func CheckKeyParams

func CheckKeyParams(fromInfo keys.Info, passWd string) error

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

func CheckPoolNameParams(fromInfo keys.Info, passWd, poolName string) error

CheckPoolNameParams gives a quick validity check for the input params of the pool name in farm

func CheckProductParams

func CheckProductParams(fromInfo keys.Info, passWd, product string) error

CheckProductParams gives a quick validity check for the input product params

func CheckProposalOperation

func CheckProposalOperation(fromInfo keys.Info, passWd string, proposalID uint64) error

CheckProposalOperation gives a quick validity check for the input params of the proposal operation with proposal ID

func CheckQueryHeightParams

func CheckQueryHeightParams(height int64) error

CheckQueryHeightParams gives a quick validity check for the input params of query tendermint data with height

func CheckQueryOrderDetailParams

func CheckQueryOrderDetailParams(orderID string) error

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

func CheckQueryTickersParams(count []int) (countRet int, err error)

CheckQueryTickersParams gives a quick validity check for the input params of query tickers

func CheckQueryTokenInfoParams

func CheckQueryTokenInfoParams(ownerAddr, symbol string) error

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

func CheckQueryTxResultParams(tmEventStrs []string, page, perPage int) error

CheckQueryTxResultParams gives a quick validity check for txs query by searching string

func CheckSendParams

func CheckSendParams(fromInfo keys.Info, passWd, toAddr string) error

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

func IsValidAccAddr(addrStr string) error

IsValidAccAddr gives a quick validity check for an address string

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL