Documentation ¶
Index ¶
- func GetCmdClaimAtomicSwap(cdc *codec.Codec) *cobra.Command
- func GetCmdCreateAtomicSwap(cdc *codec.Codec) *cobra.Command
- func GetCmdRefundAtomicSwap(cdc *codec.Codec) *cobra.Command
- func GetQueryCmd(queryRoute string, cdc *codec.Codec) *cobra.Command
- func GetTxCmd(cdc *codec.Codec) *cobra.Command
- func QueryCalcRandomNumberHashCmd(queryRoute string, cdc *codec.Codec) *cobra.Command
- func QueryCalcSwapIDCmd(queryRoute string, cdc *codec.Codec) *cobra.Command
- func QueryGetAssetSuppliesCmd(queryRoute string, cdc *codec.Codec) *cobra.Command
- func QueryGetAssetSupplyCmd(queryRoute string, cdc *codec.Codec) *cobra.Command
- func QueryGetAtomicSwapCmd(queryRoute string, cdc *codec.Codec) *cobra.Command
- func QueryGetAtomicSwapsCmd(queryRoute string, cdc *codec.Codec) *cobra.Command
- func QueryParamsCmd(queryRoute string, cdc *codec.Codec) *cobra.Command
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCmdClaimAtomicSwap ¶
GetCmdClaimAtomicSwap cli command for claiming an atomic swap
func GetCmdCreateAtomicSwap ¶
GetCmdCreateAtomicSwap cli command for creating atomic swaps
func GetCmdRefundAtomicSwap ¶
GetCmdRefundAtomicSwap cli command for claiming an atomic swap
func GetQueryCmd ¶
GetQueryCmd returns the cli query commands for this module
func QueryCalcRandomNumberHashCmd ¶
QueryCalcRandomNumberHashCmd calculates the random number hash for a number and timestamp
func QueryCalcSwapIDCmd ¶
QueryCalcSwapIDCmd calculates the swapID for a random number hash, sender, and sender other chain
func QueryGetAssetSuppliesCmd ¶ added in v0.8.0
QueryGetAssetSuppliesCmd queries AssetSupplies in the store
func QueryGetAssetSupplyCmd ¶
QueryGetAssetSupplyCmd queries as asset's current in swap supply, active, supply, and supply limit
func QueryGetAtomicSwapCmd ¶
QueryGetAtomicSwapCmd queries an AtomicSwap by swapID
func QueryGetAtomicSwapsCmd ¶
QueryGetAtomicSwapsCmd queries AtomicSwaps in the store
Types ¶
This section is empty.