pub enum MeteoraPoolsProgramInstruction {
Show 44 variants
InitializePermissionedPool(InitializePermissionedPool),
InitializePermissionlessPool(InitializePermissionlessPool),
InitializePermissionlessPoolWithFeeTier(InitializePermissionlessPoolWithFeeTier),
EnableOrDisablePool(EnableOrDisablePool),
Swap(Swap),
RemoveLiquiditySingleSide(RemoveLiquiditySingleSide),
AddImbalanceLiquidity(AddImbalanceLiquidity),
RemoveBalanceLiquidity(RemoveBalanceLiquidity),
AddBalanceLiquidity(AddBalanceLiquidity),
SetPoolFees(SetPoolFees),
OverrideCurveParam(OverrideCurveParam),
GetPoolInfo(GetPoolInfo),
BootstrapLiquidity(BootstrapLiquidity),
CreateMintMetadata(CreateMintMetadata),
CreateLockEscrow(CreateLockEscrow),
Lock(Lock),
ClaimFee(ClaimFee),
CreateConfig(CreateConfig),
CloseConfig(CloseConfig),
InitializePermissionlessConstantProductPoolWithConfig(InitializePermissionlessConstantProductPoolWithConfig),
InitializePermissionlessConstantProductPoolWithConfig2(InitializePermissionlessConstantProductPoolWithConfig2),
InitializeCustomizablePermissionlessConstantProductPool(InitializeCustomizablePermissionlessConstantProductPool),
UpdateActivationPoint(UpdateActivationPoint),
WithdrawProtocolFees(WithdrawProtocolFees),
SetWhitelistedVault(SetWhitelistedVault),
PartnerClaimFee(PartnerClaimFee),
AddLiquidityEvent(AddLiquidityEvent),
RemoveLiquidityEvent(RemoveLiquidityEvent),
BootstrapLiquidityEvent(BootstrapLiquidityEvent),
SwapEvent(SwapEvent),
SetPoolFeesEvent(SetPoolFeesEvent),
PoolInfoEvent(PoolInfoEvent),
TransferAdminEvent(TransferAdminEvent),
OverrideCurveParamEvent(OverrideCurveParamEvent),
PoolCreatedEvent(PoolCreatedEvent),
PoolEnabledEvent(PoolEnabledEvent),
MigrateFeeAccountEvent(MigrateFeeAccountEvent),
CreateLockEscrowEvent(CreateLockEscrowEvent),
LockEvent(LockEvent),
ClaimFeeEvent(ClaimFeeEvent),
CreateConfigEvent(CreateConfigEvent),
CloseConfigEvent(CloseConfigEvent),
WithdrawProtocolFeesEvent(WithdrawProtocolFeesEvent),
PartnerClaimFeesEvent(PartnerClaimFeesEvent),
}Variants§
InitializePermissionedPool(InitializePermissionedPool)
InitializePermissionlessPool(InitializePermissionlessPool)
InitializePermissionlessPoolWithFeeTier(InitializePermissionlessPoolWithFeeTier)
EnableOrDisablePool(EnableOrDisablePool)
Swap(Swap)
RemoveLiquiditySingleSide(RemoveLiquiditySingleSide)
AddImbalanceLiquidity(AddImbalanceLiquidity)
RemoveBalanceLiquidity(RemoveBalanceLiquidity)
AddBalanceLiquidity(AddBalanceLiquidity)
SetPoolFees(SetPoolFees)
OverrideCurveParam(OverrideCurveParam)
GetPoolInfo(GetPoolInfo)
BootstrapLiquidity(BootstrapLiquidity)
CreateMintMetadata(CreateMintMetadata)
CreateLockEscrow(CreateLockEscrow)
Lock(Lock)
ClaimFee(ClaimFee)
CreateConfig(CreateConfig)
CloseConfig(CloseConfig)
InitializePermissionlessConstantProductPoolWithConfig(InitializePermissionlessConstantProductPoolWithConfig)
InitializePermissionlessConstantProductPoolWithConfig2(InitializePermissionlessConstantProductPoolWithConfig2)
InitializeCustomizablePermissionlessConstantProductPool(InitializeCustomizablePermissionlessConstantProductPool)
UpdateActivationPoint(UpdateActivationPoint)
WithdrawProtocolFees(WithdrawProtocolFees)
SetWhitelistedVault(SetWhitelistedVault)
PartnerClaimFee(PartnerClaimFee)
AddLiquidityEvent(AddLiquidityEvent)
RemoveLiquidityEvent(RemoveLiquidityEvent)
BootstrapLiquidityEvent(BootstrapLiquidityEvent)
SwapEvent(SwapEvent)
SetPoolFeesEvent(SetPoolFeesEvent)
PoolInfoEvent(PoolInfoEvent)
TransferAdminEvent(TransferAdminEvent)
OverrideCurveParamEvent(OverrideCurveParamEvent)
PoolCreatedEvent(PoolCreatedEvent)
PoolEnabledEvent(PoolEnabledEvent)
MigrateFeeAccountEvent(MigrateFeeAccountEvent)
CreateLockEscrowEvent(CreateLockEscrowEvent)
LockEvent(LockEvent)
ClaimFeeEvent(ClaimFeeEvent)
CreateConfigEvent(CreateConfigEvent)
CloseConfigEvent(CloseConfigEvent)
WithdrawProtocolFeesEvent(WithdrawProtocolFeesEvent)
PartnerClaimFeesEvent(PartnerClaimFeesEvent)
Implementations§
Trait Implementations§
Source§impl Clone for MeteoraPoolsProgramInstruction
impl Clone for MeteoraPoolsProgramInstruction
Source§fn clone(&self) -> MeteoraPoolsProgramInstruction
fn clone(&self) -> MeteoraPoolsProgramInstruction
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'de> Deserialize<'de> for MeteoraPoolsProgramInstruction
impl<'de> Deserialize<'de> for MeteoraPoolsProgramInstruction
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for MeteoraPoolsProgramInstruction
impl PartialEq for MeteoraPoolsProgramInstruction
Source§fn eq(&self, other: &MeteoraPoolsProgramInstruction) -> bool
fn eq(&self, other: &MeteoraPoolsProgramInstruction) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MeteoraPoolsProgramInstruction
Auto Trait Implementations§
impl Freeze for MeteoraPoolsProgramInstruction
impl RefUnwindSafe for MeteoraPoolsProgramInstruction
impl Send for MeteoraPoolsProgramInstruction
impl Sync for MeteoraPoolsProgramInstruction
impl Unpin for MeteoraPoolsProgramInstruction
impl UnwindSafe for MeteoraPoolsProgramInstruction
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more