usdc-plus-exchange 0.1.8

USDC <-> USDC+ exchange library for the Reflect protocol.
Documentation
use anchor_lang::prelude::*;

#[error_code]
pub enum ReflectErrorCodes {
    #[msg("Invalid spot market account")]
    InvalidUsdcSpotMarketAccount,    
    #[msg("Invalid reflect user account")]
    InvalidReflectUserAccount,   
    #[msg("Invalid usdc controller account")]
    InvalidUsdcControllerAccount,   
    #[msg("Math error")]
    MathError,
    #[msg("Conversion failed")]
    ConversionFailed,
    #[msg("Can't transmute")]
    SpotMarketNotFound,
    #[msg("Can't transmute")]
    FailedUnwrap,
    #[msg("Insufincet data")]
    InsufficientData,
    #[msg("Deserialisation error")]
    DeserializationError,    
    #[msg("Math error")]
    MathOverflow
}