express-relay 0.8.0

Pyth Express Relay program for handling permissioning and bid distribution
Documentation
use anchor_lang::prelude::*;

#[error_code]
pub enum ErrorCode {
    #[msg("Fee split(s) larger than fee precision")]
    FeeSplitLargerThanPrecision,
    #[msg("Fees higher than bid")]
    FeesHigherThanBid,
    #[msg("Deadline passed")]
    DeadlinePassed,
    #[msg("Invalid CPI into submit bid instruction")]
    InvalidCPISubmitBid,
    #[msg("Missing permission")]
    MissingPermission,
    #[msg("Multiple permissions")]
    MultiplePermissions,
    #[msg("Insufficient searcher funds")]
    InsufficientSearcherFunds,
    #[msg("Insufficient funds for rent")]
    InsufficientRent,
    #[msg("Invalid referral fee")]
    InvalidReferralFee,
    #[msg("Insufficient user funds")]
    InsufficientUserFunds,
}