cli

package
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: May 14, 2024 License: Apache-2.0 Imports: 14 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

nolint

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 added in v1.4.0

func GetCmdQueryAssetSupplies() *cobra.Command

GetCmdQueryAssetSupplies queries AssetSupplies in the store

func GetCmdQueryAssetSupply added in v1.4.0

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 added in v1.4.0

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