fix: распаковать источник из обёртки smart-updown в корень ветки

This commit is contained in:
2026-09-02 15:36:21 +03:00
parent a9d54feab6
commit 5cf3a7a8d1
35 changed files with 0 additions and 0 deletions
@@ -0,0 +1,34 @@
use anchor_lang::prelude::*;
#[error_code]
pub enum SmartUpdownError {
#[msg("Operation is paused")]
Paused,
#[msg("Only the admin can perform this action")]
NotAdmin,
#[msg("Only the relayer is allowed to close bets")]
NotRelayer,
#[msg("Amount below the allowed minimum")]
AmountBelowMin,
#[msg("Amount above the allowed maximum")]
AmountAboveMax,
#[msg("Invalid side value")]
InvalidSide,
#[msg("Bet is already finalized")]
BetAlreadyFinalized,
#[msg("Bet cannot be closed before expiry")]
NotExpired,
#[msg("Bet id mismatch")]
BetIdMismatch,
#[msg("Payout exceeds vault solvency")]
InsufficientVault,
}