reflect-sdk 0.1.0

Rust SDK for minting and redeeming USDC+ on Reflect
Documentation
//! This code was AUTOGENERATED using the codama library.
//! Please DO NOT EDIT THIS FILE, instead use visitors
//! to add features, then rerun codama to update it.
//!
//! <https://github.com/codama-idl/codama>
//!

use solana_pubkey::Pubkey;
use borsh::BorshSerialize;
use borsh::BorshDeserialize;

#[derive(BorshSerialize, BorshDeserialize, Clone, Debug, Eq, PartialEq)]
#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
pub struct Issue {
/// Amount of stable created.
pub stable_amount: u64,
/// Total stable in circulation at start.
pub start_stable_supply: u64,
/// Amount of SPL locked.
pub spl_amount: u64,
/// Mint of the SPL.
#[cfg_attr(feature = "serde", serde(with = "serde_with::As::<serde_with::DisplayFromStr>"))]
pub mint: Pubkey,
/// Price of the SPL.
pub spl_price: i64,
/// Index of the stratgey.
pub strategy_idx: u8,
}