make bridge imbalance fields accesible aka public

Signed-off-by: Uncle Stretch <uncle.stretch@ghostchain.io>
This commit is contained in:
Uncle Stretch 2025-06-02 19:11:11 +03:00
parent b3f85f426c
commit f3d8ee3ab2
Signed by: str3tch
GPG Key ID: 84F3190747EE79AA
3 changed files with 4 additions and 4 deletions

2
Cargo.lock generated
View File

@ -3648,7 +3648,7 @@ dependencies = [
[[package]]
name = "ghost-networks"
version = "0.1.2"
version = "0.1.3"
dependencies = [
"frame-benchmarking",
"frame-support",

View File

@ -1,6 +1,6 @@
[package]
name = "ghost-networks"
version = "0.1.2"
version = "0.1.3"
license.workspace = true
authors.workspace = true
edition.workspace = true

View File

@ -63,8 +63,8 @@ pub struct NetworkData {
#[derive(Default, Encode, Decode, Clone, PartialEq, Eq, RuntimeDebug, TypeInfo)]
pub struct BridgeAdjustment<Balance> {
bridged_out: Balance,
bridged_in: Balance,
pub bridged_out: Balance,
pub bridged_in: Balance,
}
pub struct BridgedInflationCurve<RewardCurve, T>(core::marker::PhantomData<(RewardCurve, T)>);