cli

package
v0.0.0-...-96f998e Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: Apache-2.0 Imports: 14 Imported by: 1

Documentation

Index

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

func GetCmdClaimHTLC() *cobra.Command

GetCmdClaimHTLC implements claiming an HTLC command

func GetCmdCreateHTLC

func GetCmdCreateHTLC() *cobra.Command

GetCmdCreateHTLC implements creating an HTLC command

func GetCmdQueryAssetSupplies

func GetCmdQueryAssetSupplies() *cobra.Command

GetCmdQueryAssetSupplies queries AssetSupplies in the store

func GetCmdQueryAssetSupply

func GetCmdQueryAssetSupply() *cobra.Command

GetCmdQueryAssetSupply queries as asset's current in swap supply, active, supply, and supply limit

func GetCmdQueryHTLC

func GetCmdQueryHTLC() *cobra.Command

GetCmdQueryHTLC implements the query HTLC command.

func GetCmdQueryParams

func GetCmdQueryParams() *cobra.Command

GetCmdQueryParams implements the query params command.

func GetQueryCmd

func GetQueryCmd() *cobra.Command

GetQueryCmd returns the cli query commands for the module.

func NewTxCmd

func NewTxCmd() *cobra.Command

NewTxCmd returns the transaction commands for this module

Types

This section is empty.

Jump to

Keyboard shortcuts

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