From ae0fd935482e19a823b48f1f0d29dc135908bfd7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matev=C5=BE=20Jekovec?= Date: Fri, 22 Sep 2023 11:57:47 +0200 Subject: [PATCH] runtime-sdk: Put explicit pool addresses in the comments --- runtime-sdk/src/modules/accounts/mod.rs | 4 ++++ runtime-sdk/src/modules/rewards/mod.rs | 2 ++ 2 files changed, 6 insertions(+) diff --git a/runtime-sdk/src/modules/accounts/mod.rs b/runtime-sdk/src/modules/accounts/mod.rs index a27f7f8f34..c8f13a7f88 100644 --- a/runtime-sdk/src/modules/accounts/mod.rs +++ b/runtime-sdk/src/modules/accounts/mod.rs @@ -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
= Lazy::new(|| Address::from_module(MODULE_NAME, "common-pool")); /// Module's address that has the fee accumulator. +/// +/// oasis1qp3r8hgsnphajmfzfuaa8fhjag7e0yt35cjxq0u4 pub static ADDRESS_FEE_ACCUMULATOR: Lazy
= Lazy::new(|| Address::from_module(MODULE_NAME, "fee-accumulator")); diff --git a/runtime-sdk/src/modules/rewards/mod.rs b/runtime-sdk/src/modules/rewards/mod.rs index bbcae5ed5f..f5e10546c9 100644 --- a/runtime-sdk/src/modules/rewards/mod.rs +++ b/runtime-sdk/src/modules/rewards/mod.rs @@ -87,6 +87,8 @@ pub struct Module { } /// Module's address that has the reward pool. +/// +/// oasis1qp7x0q9qahahhjas0xde8w0v04ctp4pqzu5mhjav pub static ADDRESS_REWARD_POOL: Lazy
= Lazy::new(|| Address::from_module(MODULE_NAME, "reward-pool"));