feat(stablecoin): add RedemptionPriceState account type

closes #160
This commit is contained in:
Andrea Franz
2026-08-19 11:53:45 +02:00
parent d9b7366990
commit 4e087e6ff6
3 changed files with 158 additions and 0 deletions
+6
View File
@@ -4,6 +4,8 @@ pub mod math;
pub mod protocol_parameters;
pub mod redemption_price_state;
pub mod stability_fee_accumulator;
use borsh::{BorshDeserialize, BorshSerialize};
@@ -14,6 +16,10 @@ use nssa_core::{
pub use protocol_parameters::{
compute_protocol_parameters_pda, compute_protocol_parameters_pda_seed, ProtocolParameters,
};
pub use redemption_price_state::{
compute_redemption_price_state_pda, compute_redemption_price_state_pda_seed,
RedemptionPriceState,
};
use serde::{Deserialize, Serialize};
use spel_framework_macros::account_type;
pub use stability_fee_accumulator::{