Skip to content

Commit

Permalink
comments
Browse files Browse the repository at this point in the history
  • Loading branch information
hardyjosh committed Jan 9, 2024
1 parent 84f8581 commit 8f8c730
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions scripts-v3/DeployStrategy/strat.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export const RAINSTRING_JITTERY_BINOMIAL =
export const RAINSTRING_CALCULATE_ORDER_SELL =
// Sushi needs the usdt amount as 6 decimals (tether's native size).
"target-usdt-amount: decimal18-scale-n<6 1>(target-usdt-amount18)," +
// Try to average a 12 mins cooldown, so the max is 24 mins.
// Try to average an 18 mins cooldown, so the max is 36 mins.
"max-cooldown18: 2160e18," +
// Seed the rng with the hash of the last time to make it distinct from the
// amount random multiplier.
Expand Down Expand Up @@ -51,7 +51,7 @@ export const RAINSTRING_CALCULATE_ORDER_SELL =
export const RAINSTRING_CALCULATE_ORDER_BUY =
// Sushi needs the usdt amount as 6 decimals (tether's native size).
"target-usdt-amount: decimal18-scale-n<6>(target-usdt-amount18)," +
// Try to average a 12 mins cooldown, so the max is 24 mins.
// Try to average an 18 mins cooldown, so the max is 36 mins.
"max-cooldown18: 2160e18," +
// Seed the rng with the hash of the last time to make it distinct from the
// amount random multiplier.
Expand Down
4 changes: 2 additions & 2 deletions src/4SushiV2StratBinomial.sol
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ bytes constant RAINSTRING_PRELUDE =
bytes constant RAINSTRING_CALCULATE_ORDER_SELL =
// Sushi needs the usdt amount as 6 decimals (tether's native size).
"target-usdt-amount: decimal18-scale-n<6 1>(target-usdt-amount18),"
// Try to average a 12 mins cooldown, so the max is 24 mins.
// Try to average an 18 mins cooldown, so the max is 36 mins.
"max-cooldown18: 2160e18,"
// Seed the rng with the hash of the last time to make it distinct from the
// amount random multiplier.
Expand Down Expand Up @@ -191,7 +191,7 @@ bytes constant EXPECTED_SELL_BYTECODE =
bytes constant RAINSTRING_CALCULATE_ORDER_BUY =
// Sushi needs the usdt amount as 6 decimals (tether's native size).
"target-usdt-amount: decimal18-scale-n<6>(target-usdt-amount18),"
// Try to average a 12 mins cooldown, so the max is 24 mins.
// Try to average an 18 mins cooldown, so the max is 36 mins.
"max-cooldown18: 2160e18,"
// Seed the rng with the hash of the last time to make it distinct from the
// amount random multiplier.
Expand Down

0 comments on commit 8f8c730

Please sign in to comment.