Skip to content

Commit

Permalink
runtime-sdk: Put explicit pool addresses in the comments
Browse files Browse the repository at this point in the history
  • Loading branch information
matevz committed Sep 22, 2023
1 parent e57d909 commit ae0fd93
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions runtime-sdk/src/modules/accounts/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -252,9 +252,13 @@ pub mod state {
pub struct Module;

/// Module's address that has the common pool.
///
/// oasis1qz78phkdan64g040cvqvqpwkplfqf6tj6uwcsh30
pub static ADDRESS_COMMON_POOL: Lazy<Address> =
Lazy::new(|| Address::from_module(MODULE_NAME, "common-pool"));
/// Module's address that has the fee accumulator.
///
/// oasis1qp3r8hgsnphajmfzfuaa8fhjag7e0yt35cjxq0u4
pub static ADDRESS_FEE_ACCUMULATOR: Lazy<Address> =
Lazy::new(|| Address::from_module(MODULE_NAME, "fee-accumulator"));

Expand Down
2 changes: 2 additions & 0 deletions runtime-sdk/src/modules/rewards/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,8 @@ pub struct Module<Accounts: modules::accounts::API> {
}

/// Module's address that has the reward pool.
///
/// oasis1qp7x0q9qahahhjas0xde8w0v04ctp4pqzu5mhjav
pub static ADDRESS_REWARD_POOL: Lazy<Address> =
Lazy::new(|| Address::from_module(MODULE_NAME, "reward-pool"));

Expand Down

0 comments on commit ae0fd93

Please sign in to comment.