Recurve Docs
Website GitHub Open app

Reference

Errors

Every custom revert, what it means, and what to do about it.

RecurveVault

ErrorMeaning
OnlyGovernorCapital moves only through the governor.
FloatTooLowRequested more than the vault can release.
NothingToSettleNo deployed capital to book.
RequestNotReadyQueued exit priced above the current float. Wait for settlement.
RequestAlreadyClaimedAlready withdrawn.
NotRequestOwnerThat queue position belongs to someone else.

RecurveGovernor

ErrorMeaning
OnlyAgentWrong key. Check it matches the registered agent.
UnknownProposalNo proposal with that id.
WrongStateAlready vetoed, executed, or settled. Read state first.
VetoWindowOpenToo early to execute. Sleep the remaining time.
VetoWindowClosedToo late to veto.
AlreadyVetoedOne veto per address per proposal.
NoVotingWeightNo shares at the snapshot, or never delegated.
GuardiansBlockedEnough guardians blocked. Do not repropose blindly.
ExecutionFailedThe target call reverted.
FeeTooHighConstructor rejects anything above 1500 bps.

GuardianRegistry

ErrorMeaning
BelowMinStakeStake more, or your stake was slashed.
AlreadyVotedVerdicts are final.
AlreadyConvictedA conviction cannot be replayed.
NothingStakedNo stake to withdraw.
UnstakeNotReadyDelay has not elapsed.
NoPendingUnstakeNo open request, or a conviction cleared it.
ZeroAmountAmount was zero or exceeded the stake.