Skip to content

Commit

Permalink
Merge pull request #67 from ben-jay-amin/fix-vrgda-storage
Browse files Browse the repository at this point in the history
Changed starknet::Storage to starknet::Store
  • Loading branch information
ponderingdemocritus authored May 30, 2024
2 parents 95972da + 9cfd97b commit f6a4379
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/src/defi/auction/vrgda.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ impl TVRGDATrait<T, +VRGDAVarsTrait<T>, +VRGDATargetTimeTrait<T>> of VRGDATrait<
/// A Linear Variable Rate Gradual Dutch Auction (VRGDA) struct.
/// Represents an auction where the price decays linearly based on the target price,
/// decay constant, and per-time-unit rate.
#[derive(Copy, Drop, Serde, starknet::Storage)]
#[derive(Copy, Drop, Serde, starknet::Store)]
struct LinearVRGDA {
target_price: Fixed,
decay_constant: Fixed,
Expand Down Expand Up @@ -81,7 +81,7 @@ impl LinearVRGDATargetTimeImpl of VRGDATargetTimeTrait<LinearVRGDA> {

impl LinearVRGDAImpl = TVRGDATrait<LinearVRGDA>;

#[derive(Copy, Drop, Serde, starknet::Storage)]
#[derive(Copy, Drop, Serde, starknet::Store)]
struct LogisticVRGDA {
target_price: Fixed,
decay_constant: Fixed,
Expand Down

0 comments on commit f6a4379

Please sign in to comment.