Documentation ¶
Index ¶
- Constants
- Variables
- func GetCmdAddLiquidity() *cobra.Command
- func GetCmdAddRewardPeriod() *cobra.Command
- func GetCmdAllLps(queryRoute string) *cobra.Command
- func GetCmdAssets(queryRoute string) *cobra.Command
- func GetCmdCancelUnlockLiquidity() *cobra.Command
- func GetCmdCreatePool() *cobra.Command
- func GetCmdDecommissionPool() *cobra.Command
- func GetCmdLiquidityProvider(queryRoute string) *cobra.Command
- func GetCmdLpList(queryRoute string) *cobra.Command
- func GetCmdModifyPmtpRates() *cobra.Command
- func GetCmdParams(queryRoute string) *cobra.Command
- func GetCmdPmtpParams(queryRoute string) *cobra.Command
- func GetCmdPool(queryRoute string) *cobra.Command
- func GetCmdPools(queryRoute string) *cobra.Command
- func GetCmdRemoveLiquidity() *cobra.Command
- func GetCmdRemoveLiquidityUnits() *cobra.Command
- func GetCmdRewardsParams(queryRoute string) *cobra.Command
- func GetCmdSetSymmetryThreshold() *cobra.Command
- func GetCmdSwap() *cobra.Command
- func GetCmdUnlockLiquidity() *cobra.Command
- func GetCmdUpdatePmtpParams() *cobra.Command
- func GetCmdUpdateRewardParams() *cobra.Command
- func GetCmdUpdateStakingRewards() *cobra.Command
- func GetCmdUpgradeParams(queryRoute string) *cobra.Command
- func GetQueryCmd(queryRoute string) *cobra.Command
- func GetTxCmd() *cobra.Command
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" )
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) )
common flagsets to add to various functions
Functions ¶
func GetCmdAddLiquidity ¶
func GetCmdAddRewardPeriod ¶ added in v0.13.0
func GetCmdAllLps ¶
func GetCmdAssets ¶
func GetCmdCancelUnlockLiquidity ¶ added in v0.13.2
func GetCmdCreatePool ¶
func GetCmdDecommissionPool ¶
func GetCmdLiquidityProvider ¶
func GetCmdLpList ¶
func GetCmdModifyPmtpRates ¶ added in v0.13.0
func GetCmdParams ¶ added in v0.13.0
func GetCmdPmtpParams ¶ added in v0.13.0
func GetCmdPool ¶
func GetCmdPools ¶
func GetCmdRemoveLiquidity ¶
func GetCmdRemoveLiquidityUnits ¶ added in v0.13.0
func GetCmdRewardsParams ¶ added in v0.13.0
func GetCmdSetSymmetryThreshold ¶ added in v0.13.1
func GetCmdSwap ¶
func GetCmdUnlockLiquidity ¶ added in v0.13.0
func GetCmdUpdatePmtpParams ¶ added in v0.13.0
func GetCmdUpdateRewardParams ¶ added in v0.13.0
func GetCmdUpdateStakingRewards ¶ added in v0.13.0
func GetCmdUpgradeParams ¶
func GetQueryCmd ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.