pub enum PumpfunInstruction {
Show 36 variants
AdminSetCreator(AdminSetCreator),
AdminSetIdlAuthority(AdminSetIdlAuthority),
AdminUpdateTokenIncentives(AdminUpdateTokenIncentives),
Buy(Buy),
ClaimTokenIncentives(ClaimTokenIncentives),
CloseUserVolumeAccumulator(CloseUserVolumeAccumulator),
CollectCreatorFee(CollectCreatorFee),
Create(Create),
CreateV2(CreateV2),
ExtendAccount(ExtendAccount),
InitUserVolumeAccumulator(InitUserVolumeAccumulator),
Initialize(Initialize),
Migrate(Migrate),
Sell(Sell),
SetCreator(SetCreator),
SetMetaplexCreator(SetMetaplexCreator),
SetParams(SetParams),
SyncUserVolumeAccumulator(SyncUserVolumeAccumulator),
UpdateGlobalAuthority(UpdateGlobalAuthority),
AdminSetCreatorEvent(AdminSetCreatorEvent),
AdminSetIdlAuthorityEvent(AdminSetIdlAuthorityEvent),
AdminUpdateTokenIncentivesEvent(AdminUpdateTokenIncentivesEvent),
ClaimTokenIncentivesEvent(ClaimTokenIncentivesEvent),
CloseUserVolumeAccumulatorEvent(CloseUserVolumeAccumulatorEvent),
CollectCreatorFeeEvent(CollectCreatorFeeEvent),
CompleteEvent(CompleteEvent),
CompletePumpAmmMigrationEvent(CompletePumpAmmMigrationEvent),
CreateEvent(CreateEvent),
ExtendAccountEvent(ExtendAccountEvent),
InitUserVolumeAccumulatorEvent(InitUserVolumeAccumulatorEvent),
SetCreatorEvent(SetCreatorEvent),
SetMetaplexCreatorEvent(SetMetaplexCreatorEvent),
SetParamsEvent(SetParamsEvent),
SyncUserVolumeAccumulatorEvent(SyncUserVolumeAccumulatorEvent),
TradeEvent(TradeEvent),
UpdateGlobalAuthorityEvent(UpdateGlobalAuthorityEvent),
}Variants§
AdminSetCreator(AdminSetCreator)
AdminSetIdlAuthority(AdminSetIdlAuthority)
AdminUpdateTokenIncentives(AdminUpdateTokenIncentives)
Buy(Buy)
ClaimTokenIncentives(ClaimTokenIncentives)
CloseUserVolumeAccumulator(CloseUserVolumeAccumulator)
CollectCreatorFee(CollectCreatorFee)
Create(Create)
CreateV2(CreateV2)
ExtendAccount(ExtendAccount)
InitUserVolumeAccumulator(InitUserVolumeAccumulator)
Initialize(Initialize)
Migrate(Migrate)
Sell(Sell)
SetCreator(SetCreator)
SetMetaplexCreator(SetMetaplexCreator)
SetParams(SetParams)
SyncUserVolumeAccumulator(SyncUserVolumeAccumulator)
UpdateGlobalAuthority(UpdateGlobalAuthority)
AdminSetCreatorEvent(AdminSetCreatorEvent)
AdminSetIdlAuthorityEvent(AdminSetIdlAuthorityEvent)
AdminUpdateTokenIncentivesEvent(AdminUpdateTokenIncentivesEvent)
ClaimTokenIncentivesEvent(ClaimTokenIncentivesEvent)
CloseUserVolumeAccumulatorEvent(CloseUserVolumeAccumulatorEvent)
CollectCreatorFeeEvent(CollectCreatorFeeEvent)
CompleteEvent(CompleteEvent)
CompletePumpAmmMigrationEvent(CompletePumpAmmMigrationEvent)
CreateEvent(CreateEvent)
ExtendAccountEvent(ExtendAccountEvent)
InitUserVolumeAccumulatorEvent(InitUserVolumeAccumulatorEvent)
SetCreatorEvent(SetCreatorEvent)
SetMetaplexCreatorEvent(SetMetaplexCreatorEvent)
SetParamsEvent(SetParamsEvent)
SyncUserVolumeAccumulatorEvent(SyncUserVolumeAccumulatorEvent)
TradeEvent(TradeEvent)
UpdateGlobalAuthorityEvent(UpdateGlobalAuthorityEvent)
Implementations§
Source§impl PumpfunInstruction
impl PumpfunInstruction
pub fn get_instruction_type(&self) -> PumpfunInstructionType
Trait Implementations§
Source§impl Clone for PumpfunInstruction
impl Clone for PumpfunInstruction
Source§fn clone(&self) -> PumpfunInstruction
fn clone(&self) -> PumpfunInstruction
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 Debug for PumpfunInstruction
impl Debug for PumpfunInstruction
Source§impl<'de> Deserialize<'de> for PumpfunInstruction
impl<'de> Deserialize<'de> for PumpfunInstruction
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 Hash for PumpfunInstruction
impl Hash for PumpfunInstruction
Source§impl PartialEq for PumpfunInstruction
impl PartialEq for PumpfunInstruction
Source§impl Serialize for PumpfunInstruction
impl Serialize for PumpfunInstruction
impl Eq for PumpfunInstruction
impl StructuralPartialEq for PumpfunInstruction
Auto Trait Implementations§
impl Freeze for PumpfunInstruction
impl RefUnwindSafe for PumpfunInstruction
impl Send for PumpfunInstruction
impl Sync for PumpfunInstruction
impl Unpin for PumpfunInstruction
impl UnwindSafe for PumpfunInstruction
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