Update nssa/program_methods/guest/src/bin/amm.rs

Co-authored-by: Daniil Polyakov <arjentix@gmail.com>
This commit is contained in:
jonesmarvin8 2025-12-22 11:41:19 -05:00 committed by GitHub
parent c30ba4be1a
commit 32de4e2990
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -71,9 +71,11 @@ struct PoolDefinition {
liquidity_pool_supply: u128,
reserve_a: u128,
reserve_b: u128,
fees: u128, // fees are currently not used
active: bool, // a pool becomes inactive (active = false)
// once all of its liquidity has been removed (e.g., reserves are emptied and liquidity_pool_supply = 0)
/// Fees are currently not used
fees: u128,
/// A pool becomes inactive (active = false)
/// once all of its liquidity has been removed (e.g., reserves are emptied and liquidity_pool_supply = 0)
active: bool,
}
impl PoolDefinition {