mirror of
https://github.com/logos-blockchain/lssa.git
synced 2026-01-02 13:23:10 +00:00
Update nssa/program_methods/guest/src/bin/amm.rs
Co-authored-by: Daniil Polyakov <arjentix@gmail.com>
This commit is contained in:
parent
c30ba4be1a
commit
32de4e2990
@ -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 {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user