pub enum CliCommand<'a> {
Show 60 variants PairAcceptProtocolFeeAuthority { clmm_config: Pubkey, }, PairCollectFee { mint: Pubkey, }, PairCollectPartnerFee { partner: Pubkey, clmmpool: Pubkey, }, PairCollectProtocolFee { clmmpool: Pubkey, }, PairCreatePoolTemplate { output_file: &'a str, }, PairCreatePool { entry_file: &'a str, }, PairInfo { pair_key: Pubkey, }, PairTicks, PairConfigCreateTemplate { output_file: &'a str, }, PairConfigCreate { entry_file: &'a str, }, PairConfigInfo { config_key: Pubkey, }, PairFeeTierCreateTemplate { output_file: &'a str, }, PairFeeTierCreate { entry_file: &'a str, }, PairFeeTierInfo { fee_tier: Pubkey, }, PairPartnerCreateTemplate { output_file: &'a str, }, PairPartnerCreate { entry_file: &'a str, }, PairPartnerInfo { partner: Pubkey, }, PairTickArrayCreateTemplate { output_file: &'a str, }, PairTickArrayCreate { entry_file: &'a str, }, PairTransferProtocolFeeAuthority { clmm_config: Pubkey, new_authority: Pubkey, }, PairConfigProtocolFeeRateUpdate { clmm_config: Pubkey, new_protocol_fee_rate: u16, }, PairFeeRateUpdate { fee_tier: Pubkey, clmmpool: Pubkey, }, PairPartnerUpdate { partner: Pubkey, new_fee_rate: Option<u16>, new_claim_authority: Option<Pubkey>, }, PairProtocolFeeRateUpdate { clmmpool: Pubkey, }, PairSwap { clmmpool: Pubkey, a_to_b: bool, by_amount_in: bool, price_limit_tick: i32, amount: f64, slid: f64, }, PositionOpen { clmmpool: Pubkey, tick_lower_index: i32, tick_upper_index: i32, }, PositionRemove { mint: Pubkey, }, PositionDecrease { mint: Pubkey, amount_a: f64, amount_b: f64, slid: f64, }, PositionIncrease { mint: Pubkey, amount_a: f64, amount_b: f64, slid: f64, }, PositionList, PositionInfo { mint: Pubkey, }, TickInfo { pool: Pubkey, tick_index: i32, }, TickArrayIndex { pool: Pubkey, tick_index: Option<i32>, array_index: Option<u16>, }, TickMapInfo { pool: Pubkey, array_index: u16, }, TickPrice { tick: i32, }, MathTickToSqrtPrice { tick: i32, }, MathSqrtPriceToTick { price: u128, }, MathTokenAMount, MathLiquity, MathDecodeDepositFixToken, FarmingQuarryMineNew { rewarder: Pubkey, mint: Pubkey, famine_ts: u64, share: u64, }, FarmingQuarryMineList, FarmingQuarryMineInfo { rewarder: Pubkey, mint: Pubkey, }, FarmingQuarryUpdateShare { rewarder: Pubkey, mint: Pubkey, share: u64, }, FarmingQuarrySetFamine { rewarder: Pubkey, mint: Pubkey, ts: u64, }, FarmingMineRewarderNew { wrapper: Pubkey, annual_rate: u64, }, FarmingMineRewarderList, FarmingMineRewarderInfo { rewarder: Pubkey, }, FarmingMineRewarderSetAnnualRate { rewarder: Pubkey, rate: u64, }, FarmingMineRewarderSyncQuarryRewards { rewarder: Pubkey, mint: &'a str, }, FarmingMintWrapperNew { mint: Pubkey, hardcap: u64, }, FarmingMintWrapperList, FarmingMintWrapperInfo { wrapper: Pubkey, }, FarmingMintWrapperBackAuthority { wrapper: Pubkey, authority: Pubkey, }, FarmingMintWrapperTransferAuthority { wrapper: Pubkey, }, FarmingMinterNew { wrapper: Pubkey, allowance: u64, authority: Pubkey, }, FarmingMinterList { wrapper: &'a str, }, FarmingMinterInfo { wrapper: Pubkey, authority: Pubkey, }, FarmingMinterUpdate { wrapper: Pubkey, allowance: u64, authority: Pubkey, }, FarmingMinterMint { wrapper: Pubkey, owner: Pubkey, amount: f64, },
}

Variants

PairAcceptProtocolFeeAuthority

Fields

clmm_config: Pubkey

PairCollectFee

Fields

mint: Pubkey

PairCollectPartnerFee

Fields

partner: Pubkey
clmmpool: Pubkey

PairCollectProtocolFee

Fields

clmmpool: Pubkey

PairCreatePoolTemplate

Fields

output_file: &'a str

PairCreatePool

Fields

entry_file: &'a str

PairInfo

Fields

pair_key: Pubkey

PairTicks

PairConfigCreateTemplate

Fields

output_file: &'a str

PairConfigCreate

Fields

entry_file: &'a str

PairConfigInfo

Fields

config_key: Pubkey

PairFeeTierCreateTemplate

Fields

output_file: &'a str

PairFeeTierCreate

Fields

entry_file: &'a str

PairFeeTierInfo

Fields

fee_tier: Pubkey

PairPartnerCreateTemplate

Fields

output_file: &'a str

PairPartnerCreate

Fields

entry_file: &'a str

PairPartnerInfo

Fields

partner: Pubkey

PairTickArrayCreateTemplate

Fields

output_file: &'a str

PairTickArrayCreate

Fields

entry_file: &'a str

PairTransferProtocolFeeAuthority

Fields

clmm_config: Pubkey
new_authority: Pubkey

PairConfigProtocolFeeRateUpdate

Fields

clmm_config: Pubkey
new_protocol_fee_rate: u16

PairFeeRateUpdate

Fields

fee_tier: Pubkey
clmmpool: Pubkey

PairPartnerUpdate

Fields

partner: Pubkey
new_fee_rate: Option<u16>
new_claim_authority: Option<Pubkey>

PairProtocolFeeRateUpdate

Fields

clmmpool: Pubkey

PairSwap

Fields

clmmpool: Pubkey
a_to_b: bool
by_amount_in: bool
price_limit_tick: i32
amount: f64
slid: f64

PositionOpen

Fields

clmmpool: Pubkey
tick_lower_index: i32
tick_upper_index: i32

PositionRemove

Fields

mint: Pubkey

PositionDecrease

Fields

mint: Pubkey
amount_a: f64
amount_b: f64
slid: f64

PositionIncrease

Fields

mint: Pubkey
amount_a: f64
amount_b: f64
slid: f64

PositionList

PositionInfo

Fields

mint: Pubkey

TickInfo

Fields

pool: Pubkey
tick_index: i32

TickArrayIndex

Fields

pool: Pubkey
tick_index: Option<i32>
array_index: Option<u16>

TickMapInfo

Fields

pool: Pubkey
array_index: u16

TickPrice

Fields

tick: i32

MathTickToSqrtPrice

Fields

tick: i32

MathSqrtPriceToTick

Fields

price: u128

MathTokenAMount

MathLiquity

MathDecodeDepositFixToken

FarmingQuarryMineNew

Fields

rewarder: Pubkey
mint: Pubkey
famine_ts: u64
share: u64

FarmingQuarryMineList

FarmingQuarryMineInfo

Fields

rewarder: Pubkey
mint: Pubkey

FarmingQuarryUpdateShare

Fields

rewarder: Pubkey
mint: Pubkey
share: u64

FarmingQuarrySetFamine

Fields

rewarder: Pubkey
mint: Pubkey
ts: u64

FarmingMineRewarderNew

Fields

wrapper: Pubkey
annual_rate: u64

FarmingMineRewarderList

FarmingMineRewarderInfo

Fields

rewarder: Pubkey

FarmingMineRewarderSetAnnualRate

Fields

rewarder: Pubkey
rate: u64

FarmingMineRewarderSyncQuarryRewards

Fields

rewarder: Pubkey
mint: &'a str

FarmingMintWrapperNew

Fields

mint: Pubkey
hardcap: u64

FarmingMintWrapperList

FarmingMintWrapperInfo

Fields

wrapper: Pubkey

FarmingMintWrapperBackAuthority

Fields

wrapper: Pubkey
authority: Pubkey

FarmingMintWrapperTransferAuthority

Fields

wrapper: Pubkey

FarmingMinterNew

Fields

wrapper: Pubkey
allowance: u64
authority: Pubkey

FarmingMinterList

Fields

wrapper: &'a str

FarmingMinterInfo

Fields

wrapper: Pubkey
authority: Pubkey

FarmingMinterUpdate

Fields

wrapper: Pubkey
allowance: u64
authority: Pubkey

FarmingMinterMint

Fields

wrapper: Pubkey
owner: Pubkey
amount: f64

Trait Implementations

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The alignment of pointer.

The type for initializers.

Initializes a with the given initializer. Read more

Dereferences the given pointer. Read more

Mutably dereferences the given pointer. Read more

Drops the object pointed to by the given pointer. Read more

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more