Error codes / BonkSwap
BonkSwap error codes
Every custom error code published by BonkSwap, with what it means and what to do about it.
BSwp6bEBihVLdqJRKGgzjcGLHkcTuzmSo1TQkHepzH8p
- 6000 · 0x1770DeltaTooBig
Delta greater than provider's tokens
- 6001 · 0x1771TokenUnderflow
An arithmetic operation inside the program went out of range. In exchanges this usually means the amount, price or liquidity at that moment produced a number the pool cannot represent, often a trade far larger than the pool can absorb.
- 6002 · 0x1772WrongRatio
Wrong tokens ratio
- 6003 · 0x1773TooMuchShares
Too much shares provided
- 6004 · 0x1774SwapToBig
Swap too big
- 6005 · 0x1775FeeExceeded
Fee exceeded 100%
- 6007 · 0x1777ScalesNotEqual
Scales have to be equal
- 6008 · 0x1778FeeExceededDeltaOut
Fees exceeded delta_out
- 6009 · 0x1779PriceLimitExceeded
Price limit exceeded
- 6010 · 0x177aMintMismatch
Mint mismatch
- 6011 · 0x177bTokensAreTheSame
Tokens are the same
- 6012 · 0x177cWrongFarm
Cannot add supply to wrong farm
- 6013 · 0x177dRewardsExceedingSupply
Cannot withdraw rewards exceeding supply left
- 6014 · 0x177eFarmNotEnded
Farm has not ended, cannot add additional rewards
- 6015 · 0x177fZeroAmount
Must provide a nonzero amount
- 6016 · 0x1780InvariantDecreased
Invariant has changed