Documentation ¶
Index ¶
- Constants
- Variables
- func GetCmdClaimHTLC() *cobra.Command
- func GetCmdCreateHTLC() *cobra.Command
- func GetCmdQueryAssetSupplies() *cobra.Command
- func GetCmdQueryAssetSupply() *cobra.Command
- func GetCmdQueryHTLC() *cobra.Command
- func GetCmdQueryParams() *cobra.Command
- func GetQueryCmd() *cobra.Command
- func NewTxCmd() *cobra.Command
Constants ¶
View Source
const ( FlagTo = "to" FlagReceiverOnOtherChain = "receiver-on-other-chain" FlagSenderOnOtherChain = "sender-on-other-chain" FlagAmount = "amount" FlagHashLock = "hash-lock" FlagTimeLock = "time-lock" FlagTimestamp = "timestamp" FlagSecret = "secret" FlagTransfer = "transfer" )
Variables ¶
View Source
var FsCreateHTLC = flag.NewFlagSet("", flag.ContinueOnError)
Functions ¶
func GetCmdClaimHTLC ¶
GetCmdClaimHTLC implements claiming an HTLC command
func GetCmdCreateHTLC ¶
GetCmdCreateHTLC implements creating an HTLC command
func GetCmdQueryAssetSupplies ¶
GetCmdQueryAssetSupplies queries AssetSupplies in the store
func GetCmdQueryAssetSupply ¶
GetCmdQueryAssetSupply queries as asset's current in swap supply, active, supply, and supply limit
func GetCmdQueryHTLC ¶
GetCmdQueryHTLC implements the query HTLC command.
func GetCmdQueryParams ¶
GetCmdQueryParams implements the query params command.
func GetQueryCmd ¶
GetQueryCmd returns the cli query commands for the module.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.