cli

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2023 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FlagAssetSymbol                    = "symbol"
	FlagUnits                          = "units"
	FlagSentAssetSymbol                = "sentSymbol"
	FlagReceivedAssetSymbol            = "receivedSymbol"
	FlagNativeAssetAmount              = "nativeAmount"
	FlagExternalAssetAmount            = "externalAmount"
	FlagWBasisPoints                   = "wBasis"
	FlagAsymmetry                      = "asymmetry"
	FlagWithdrawUnits                  = "withdrawUnits"
	FlagAmount                         = "sentAmount"
	FlagMinimumReceivingAmount         = "minReceivingAmount"
	FlagLiquidityRemovalLockPeriod     = "lockPeriod"
	FlagLiquidityRemovalCancelPeriod   = "cancelPeriod"
	FlagDefaultMultiplier              = "defaultMultiplier"
	FlagRewardPeriods                  = "path"
	FlagBlockRate                      = "blockRate"
	FlagRunningRate                    = "runningRate"
	FlagEndCurrentPolicy               = "endPolicy"
	FlagPeriodGovernanceRate           = "rGov"
	FlagPmtpPeriodEpochLength          = "epochLength"
	FlagPmtpPeriodStartBlock           = "pmtp_start"
	FlagPmtpPeriodEndBlock             = "pmtp_end"
	FlagNewPolicy                      = "newPolicy"
	FlagMintParams                     = "mint-params"
	FlagMinter                         = "minter"
	FlagSymmetryThreshold              = "threshold"
	FlagSymmetryRatioThreshold         = "ratio"
	FlagMaxFuryLiquidityThreshold      = "maxFuryLiquidityThreshold"
	FlagMaxFuryLiquidityThresholdAsset = "maxFuryLiquidityThresholdAsset"
	FlagLiquidityProtectionEpochLength = "epochLength"
	FlagCurrentFuryLiquidityThreshold  = "currentFuryLiquidityThreshold"
	FlagLiquidityProtectionIsActive    = "isActive"
	FlagProviderDistributionPeriods    = "path"
	FlagSwapFeeParams                  = "path"
)

Variables

View Source
var (
	FsAssetSymbol                     = flag.NewFlagSet("", flag.ContinueOnError)
	FsUnits                           = flag.NewFlagSet("", flag.ContinueOnError)
	FsNativeAssetAmount               = flag.NewFlagSet("", flag.ContinueOnError)
	FsExternalAssetAmount             = flag.NewFlagSet("", flag.ContinueOnError)
	FsWBasisPoints                    = flag.NewFlagSet("", flag.ContinueOnError)
	FsAsymmetry                       = flag.NewFlagSet("", flag.ContinueOnError)
	FsWithdrawUnits                   = flag.NewFlagSet("", flag.ContinueOnError)
	FsSentAssetSymbol                 = flag.NewFlagSet("", flag.ContinueOnError)
	FsReceivedAssetSymbol             = flag.NewFlagSet("", flag.ContinueOnError)
	FsAmount                          = flag.NewFlagSet("", flag.ContinueOnError)
	FsMinReceivingAmount              = flag.NewFlagSet("", flag.ContinueOnError)
	FsLiquidityRemovalLockPeriod      = flag.NewFlagSet("", flag.ContinueOnError)
	FsLiquidityRemovalCancelPeriod    = flag.NewFlagSet("", flag.ContinueOnError)
	FsDefaultMultiplier               = flag.NewFlagSet("", flag.ContinueOnError)
	FsFlagRewardPeriods               = flag.NewFlagSet("", flag.ContinueOnError)
	FsBlockRate                       = flag.NewFlagSet("", flag.ContinueOnError)
	FsRunningRate                     = flag.NewFlagSet("", flag.ContinueOnError)
	FsEndCurrentPolicy                = flag.NewFlagSet("", flag.ContinueOnError)
	FsPeriodGovernanceRate            = flag.NewFlagSet("", flag.ContinueOnError)
	FsPmtpPeriodEpochLength           = flag.NewFlagSet("", flag.ContinueOnError)
	FsPmtpPeriodStartBlock            = flag.NewFlagSet("", flag.ContinueOnError)
	FsFlagPmtpPeriodEndBlock          = flag.NewFlagSet("", flag.ContinueOnError)
	FsFlagNewPolicy                   = flag.NewFlagSet("", flag.ContinueOnError)
	FsFlagMintParams                  = flag.NewFlagSet("", flag.ContinueOnError)
	FsFlagMinter                      = flag.NewFlagSet("", flag.ContinueOnError)
	FsSymmetryThreshold               = flag.NewFlagSet("", flag.ContinueOnError)
	FsSymmetryRatioThreshold          = flag.NewFlagSet("", flag.ContinueOnError)
	FsMaxFuryLiquidityThreshold       = flag.NewFlagSet("", flag.ContinueOnError)
	FsMaxFuryLiquidityThresholdAsset  = flag.NewFlagSet("", flag.ContinueOnError)
	FsLiquidityThresholdIsActive      = flag.NewFlagSet("", flag.ContinueOnError)
	FsLiquidityProtectionEpochLength  = flag.NewFlagSet("", flag.ContinueOnError)
	FsCurrentFuryLiquidityThreshold   = flag.NewFlagSet("", flag.ContinueOnError)
	FsFlagProviderDistributionPeriods = flag.NewFlagSet("", flag.ContinueOnError)
	FsFlagSwapFeeParams               = flag.NewFlagSet("", flag.ContinueOnError)
)

common flagsets to add to various functions

Functions

func GetCmdAddLiquidity

func GetCmdAddLiquidity() *cobra.Command

func GetCmdAddRewardPeriod

func GetCmdAddRewardPeriod() *cobra.Command

func GetCmdAllLps

func GetCmdAllLps(queryRoute string) *cobra.Command

func GetCmdAssets

func GetCmdAssets(queryRoute string) *cobra.Command

func GetCmdCancelUnlockLiquidity

func GetCmdCancelUnlockLiquidity() *cobra.Command

func GetCmdCreatePool

func GetCmdCreatePool() *cobra.Command

func GetCmdDecommissionPool

func GetCmdDecommissionPool() *cobra.Command

func GetCmdLiquidityProtectionParams

func GetCmdLiquidityProtectionParams(queryRoute string) *cobra.Command

func GetCmdLiquidityProvider

func GetCmdLiquidityProvider(queryRoute string) *cobra.Command

func GetCmdLpList

func GetCmdLpList(queryRoute string) *cobra.Command

func GetCmdModifyLiquidityProtectionRates

func GetCmdModifyLiquidityProtectionRates() *cobra.Command

func GetCmdModifyPmtpRates

func GetCmdModifyPmtpRates() *cobra.Command

func GetCmdParams

func GetCmdParams(queryRoute string) *cobra.Command

func GetCmdPmtpParams

func GetCmdPmtpParams(queryRoute string) *cobra.Command

func GetCmdPool

func GetCmdPool(queryRoute string) *cobra.Command

func GetCmdPoolShareEstimate

func GetCmdPoolShareEstimate(queryRoute string) *cobra.Command

func GetCmdPools

func GetCmdPools(queryRoute string) *cobra.Command

func GetCmdProviderDistributionParams

func GetCmdProviderDistributionParams(queryRoute string) *cobra.Command

func GetCmdRemoveLiquidity

func GetCmdRemoveLiquidity() *cobra.Command

func GetCmdRemoveLiquidityUnits

func GetCmdRemoveLiquidityUnits() *cobra.Command

func GetCmdRewardsParams

func GetCmdRewardsParams(queryRoute string) *cobra.Command

func GetCmdSetProviderDistributionPeriods

func GetCmdSetProviderDistributionPeriods() *cobra.Command

func GetCmdSetSwapFeeParams

func GetCmdSetSwapFeeParams() *cobra.Command

func GetCmdSetSymmetryThreshold

func GetCmdSetSymmetryThreshold() *cobra.Command

func GetCmdSwap

func GetCmdSwap() *cobra.Command

func GetCmdSwapFeeParams

func GetCmdSwapFeeParams(queryRoute string) *cobra.Command

func GetCmdUnlockLiquidity

func GetCmdUnlockLiquidity() *cobra.Command

func GetCmdUpdateLiquidityProtectionParams

func GetCmdUpdateLiquidityProtectionParams() *cobra.Command

func GetCmdUpdatePmtpParams

func GetCmdUpdatePmtpParams() *cobra.Command

func GetCmdUpdateRewardParams

func GetCmdUpdateRewardParams() *cobra.Command

func GetCmdUpdateStakingRewards

func GetCmdUpdateStakingRewards() *cobra.Command

func GetQueryCmd

func GetQueryCmd(queryRoute string) *cobra.Command

func GetTxCmd

func GetTxCmd() *cobra.Command

GetTxCmd 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