#[repr(u32)]pub enum PumpError {
Show 71 variants
NotAuthorized = 6_000,
AlreadyInitialized = 6_001,
TooMuchSolRequired = 6_002,
TooLittleSolReceived = 6_003,
MintDoesNotMatchBondingCurve = 6_004,
BondingCurveComplete = 6_005,
BondingCurveNotComplete = 6_006,
NotInitialized = 6_007,
WithdrawTooFrequent = 6_008,
NewSizeShouldBeGreaterThanCurrentSize = 6_009,
AccountTypeNotSupported = 6_010,
InitialRealTokenReservesShouldBeLessThanTokenTotalSupply = 6_011,
InitialVirtualTokenReservesShouldBeGreaterThanInitialRealTokenReserves = 6_012,
FeeBasisPointsGreaterThanMaximum = 6_013,
AllZerosWithdrawAuthority = 6_014,
PoolMigrationFeeShouldBeLessThanFinalRealSolReserves = 6_015,
PoolMigrationFeeShouldBeGreaterThanCreatorFeePlusMaxMigrateFees = 6_016,
DisabledWithdraw = 6_017,
DisabledMigrate = 6_018,
InvalidCreator = 6_019,
BuyZeroAmount = 6_020,
NotEnoughTokensToBuy = 6_021,
SellZeroAmount = 6_022,
NotEnoughTokensToSell = 6_023,
Overflow = 6_024,
Truncation = 6_025,
DivisionByZero = 6_026,
NotEnoughRemainingAccounts = 6_027,
AllFeeRecipientsShouldBeNonZero = 6_028,
UnsortedNotUniqueFeeRecipients = 6_029,
CreatorShouldNotBeZero = 6_030,
StartTimeInThePast = 6_031,
EndTimeInThePast = 6_032,
EndTimeBeforeStartTime = 6_033,
TimeRangeTooLarge = 6_034,
EndTimeBeforeCurrentDay = 6_035,
SupplyUpdateForFinishedRange = 6_036,
DayIndexAfterEndIndex = 6_037,
DayInActiveRange = 6_038,
InvalidIncentiveMint = 6_039,
BuyNotEnoughSolToCoverRent = 6_040,
BuyNotEnoughSolToCoverFees = 6_041,
BuySlippageBelowMinTokensOut = 6_042,
NameTooLong = 6_043,
SymbolTooLong = 6_044,
UriTooLong = 6_045,
CreateV2Disabled = 6_046,
CpitializeMayhemFailed = 6_047,
MayhemModeDisabled = 6_048,
CreatorMigratedToSharingConfig = 6_049,
UnableToDistributeCreatorVaultMigratedToSharingConfig = 6_050,
SharingConfigNotActive = 6_051,
UnableToDistributeCreatorFeesToExecutableRecipient = 6_052,
BondingCurveAndSharingConfigCreatorMismatch = 6_053,
ShareholdersAndRemainingAccountsMismatch = 6_054,
InvalidShareBps = 6_055,
CashbackNotEnabled = 6_056,
BuybackFeeRecipientNotAuthorized = 6_057,
AllBuybackFeeRecipientsShouldBeNonZero = 6_058,
NotUniqueBuybackFeeRecipients = 6_059,
BuybackBasisPointsOutOfRange = 6_060,
WrongBuybackFeeRecipientsCount = 6_061,
BuybackFeeRecipientMissing = 6_062,
UnsupportedQuoteMint = 6_063,
InvalidQuoteTokenProgram = 6_064,
InvalidAssociatedQuoteBondingCurve = 6_065,
QuoteMintWhitelistFull = 6_066,
QuoteMintAlreadyWhitelisted = 6_067,
QuoteMintNotWhitelisted = 6_068,
QuoteMintNotEligibleForWhitelist = 6_069,
UnableToDistributeCreatorFeesToUninitializedAccount = 6_070,
}Variants§
NotAuthorized = 6_000
AlreadyInitialized = 6_001
TooMuchSolRequired = 6_002
TooLittleSolReceived = 6_003
MintDoesNotMatchBondingCurve = 6_004
BondingCurveComplete = 6_005
BondingCurveNotComplete = 6_006
NotInitialized = 6_007
WithdrawTooFrequent = 6_008
NewSizeShouldBeGreaterThanCurrentSize = 6_009
AccountTypeNotSupported = 6_010
InitialRealTokenReservesShouldBeLessThanTokenTotalSupply = 6_011
InitialVirtualTokenReservesShouldBeGreaterThanInitialRealTokenReserves = 6_012
FeeBasisPointsGreaterThanMaximum = 6_013
AllZerosWithdrawAuthority = 6_014
PoolMigrationFeeShouldBeLessThanFinalRealSolReserves = 6_015
PoolMigrationFeeShouldBeGreaterThanCreatorFeePlusMaxMigrateFees = 6_016
DisabledWithdraw = 6_017
DisabledMigrate = 6_018
InvalidCreator = 6_019
BuyZeroAmount = 6_020
NotEnoughTokensToBuy = 6_021
SellZeroAmount = 6_022
NotEnoughTokensToSell = 6_023
Overflow = 6_024
Truncation = 6_025
DivisionByZero = 6_026
NotEnoughRemainingAccounts = 6_027
AllFeeRecipientsShouldBeNonZero = 6_028
UnsortedNotUniqueFeeRecipients = 6_029
CreatorShouldNotBeZero = 6_030
StartTimeInThePast = 6_031
EndTimeInThePast = 6_032
EndTimeBeforeStartTime = 6_033
TimeRangeTooLarge = 6_034
EndTimeBeforeCurrentDay = 6_035
SupplyUpdateForFinishedRange = 6_036
DayIndexAfterEndIndex = 6_037
DayInActiveRange = 6_038
InvalidIncentiveMint = 6_039
BuyNotEnoughSolToCoverRent = 6_040
BuyNotEnoughSolToCoverFees = 6_041
BuySlippageBelowMinTokensOut = 6_042
NameTooLong = 6_043
SymbolTooLong = 6_044
UriTooLong = 6_045
CreateV2Disabled = 6_046
CpitializeMayhemFailed = 6_047
MayhemModeDisabled = 6_048
CreatorMigratedToSharingConfig = 6_049
UnableToDistributeCreatorVaultMigratedToSharingConfig = 6_050
SharingConfigNotActive = 6_051
UnableToDistributeCreatorFeesToExecutableRecipient = 6_052
BondingCurveAndSharingConfigCreatorMismatch = 6_053
CashbackNotEnabled = 6_056
BuybackFeeRecipientNotAuthorized = 6_057
AllBuybackFeeRecipientsShouldBeNonZero = 6_058
NotUniqueBuybackFeeRecipients = 6_059
BuybackBasisPointsOutOfRange = 6_060
WrongBuybackFeeRecipientsCount = 6_061
BuybackFeeRecipientMissing = 6_062
UnsupportedQuoteMint = 6_063
InvalidQuoteTokenProgram = 6_064
InvalidAssociatedQuoteBondingCurve = 6_065
QuoteMintWhitelistFull = 6_066
QuoteMintAlreadyWhitelisted = 6_067
QuoteMintNotWhitelisted = 6_068
QuoteMintNotEligibleForWhitelist = 6_069
UnableToDistributeCreatorFeesToUninitializedAccount = 6_070
Implementations§
Trait Implementations§
impl Copy for PumpError
Auto Trait Implementations§
impl Freeze for PumpError
impl RefUnwindSafe for PumpError
impl Send for PumpError
impl Sync for PumpError
impl Unpin for PumpError
impl UnsafeUnpin for PumpError
impl UnwindSafe for PumpError
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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