cli

package
v0.0.0-...-ff73d50 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2024 License: GPL-3.0 Imports: 14 Imported by: 0

Documentation

Overview

nolint

Index

Constants

View Source
const (
	FlagTo        = "to"
	FlagAmount    = "amount"
	FlagHashLock  = "hash-lock"
	FlagTimeLock  = "time-lock"
	FlagTimestamp = "timestamp"
	FlagSecret    = "secret"
)

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