Skip to content
ReferenceError reference

Reference

Error reference

Every refusal the program can return for the instructions documented here, with what to change.

ErrorMessageFix
AssetCountA fund holds between 2 and 8 assetspublish 2 to 8 mints
QuoteMintFirstThe first asset must be the configured quote mintput USDC first
DuplicateMintThe same mint appears twice in one fundremove the repeat
BadWeightsWeights must each be at least the minimum and sum to 10000 bpsevery weight at least 100 bps, total exactly 10,000
BadCovenantThe covenant itself is malformedcaps 100 to 10,000 bps, cash floor at most USDC's cap, fee bounds inside 10 to 2,000
GammaOutOfBoundsFee parameter outside the covenant or program boundschoose a fee inside the covenant
GammaStepTooLargeFee parameter moved too far or too soonat most 25 bps per change, one change a day
RoyaltyTooHighRoyalty above the program ceilingat most 2,000 bps
CovenantViolationWeights break the covenant engraved at publishkeep every weight under its cap and USDC at or above the floor
DriftTooFastTarget weights would move faster than the drift limitset end later: at most 2 points a day per weight
BadGlideGlide window is malformedstart no earlier than now, end after start
UnsupportedMintMint has an extension this pool cannot hold safelysee Security and trust for the screened extensions
AccountMismatchAccount list does not match the pool's assetspass (mint, vault, your account) per asset, in pool order
AmountCountWrong number of per-asset amountsone amount per asset
BadStatusPool is not open for this actionseed before trading; publish before seeding
SeedTooSmallSeed amount below the minimumat least 1,000 base units of every asset
ReserveExhaustedUpdate would empty an assettake out less
NoOpUpdate changes nothingsend a non-zero delta
InvariantViolatedUpdate breaks the pool invariant: it would take value from the holderspay more in or take less out; requote
ZeroSharesZero sharesask for at least one base unit
SlippageInRequired amount above the caller's maximumraise max_amounts or requote
SlippageOutAmount out below the caller's minimumlower min_amounts or requote
BadSkipMaskSkip mask names an asset the pool does not holdonly set bits below the asset count
NothingToClaimNothing to claimwait for owed shares or a deferred balance
MathOverflowArithmetic overflowuse smaller amounts