Skip to content

Commit

Permalink
Issue [Bug]: VRGDA attributes cant be set as not public #105 (#106)
Browse files Browse the repository at this point in the history
  • Loading branch information
bengineer42 authored Oct 2, 2024
1 parent cb18bd9 commit 7f3f11d
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions crates/defi/src/auction/vrgda.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@ pub impl TVRGDATrait<T, +VRGDAVarsTrait<T>, +VRGDATargetTimeTrait<T>> of VRGDATr
/// decay constant, and per-time-unit rate.
#[derive(Copy, Drop, Serde, starknet::Store)]
pub struct LinearVRGDA {
target_price: Fixed,
decay_constant: Fixed,
target_units_per_time: Fixed,
pub target_price: Fixed,
pub decay_constant: Fixed,
pub target_units_per_time: Fixed,
}


Expand Down Expand Up @@ -84,10 +84,10 @@ pub impl LinearVRGDAImpl = TVRGDATrait<LinearVRGDA>;

#[derive(Copy, Drop, Serde, starknet::Store)]
pub struct LogisticVRGDA {
target_price: Fixed,
decay_constant: Fixed,
max_sellable: Fixed,
time_scale: Fixed, // target time to sell 46% of units
pub target_price: Fixed,
pub decay_constant: Fixed,
pub max_sellable: Fixed,
pub time_scale: Fixed, // target time to sell 46% of units
}

impl LogisticVRGDAVarsImpl of VRGDAVarsTrait<LogisticVRGDA> {
Expand Down

0 comments on commit 7f3f11d

Please sign in to comment.