Skip to content

Commit

Permalink
added comments regarding reserve emission metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
markuspluna committed Jul 29, 2024
1 parent 895845f commit 371aa77
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pool/src/emissions/manager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ use super::distributor;
/// Metadata for a pool's reserve emission configuration
#[contracttype]
pub struct ReserveEmissionMetadata {
pub res_index: u32,
pub res_type: u32,
pub share: u64,
pub res_index: u32, // index of the reserve as defined by the ReserveConfig
pub res_type: u32, // 0 for liabilities, 1 for supply
pub share: u64, // percent of the total pool emissions this reserve should receive. Scaled to 7 decimals
}

/// Set the pool emissions
Expand Down

0 comments on commit 371aa77

Please sign in to comment.