Skip to content

Commit

Permalink
fix keys
Browse files Browse the repository at this point in the history
  • Loading branch information
Siddharth2207 committed Aug 1, 2024
1 parent 8a762d1 commit dec576d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
16 changes: 8 additions & 8 deletions strategies/ruby/buy-curve.rain
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,10 @@ deployments:
#uniswap-words !The address for orderbook subparser.
#scale-factor !Scale factor for buy curve.

#in-token-key 0x10b2c7dd2f0c383e8445066430f62720e189027b16a56ad4212eefac8e6c77ed
#out-token-key 0x469017709316f7f258096e4e2ac47b89e1a104ffa810dcd5c906f95726cdbf78
#in-reserve-key 0x9ab12bc4bd54bd37acb958637d7fe14ddeef508ad5d626b50af490dad0dbf197
#out-reserve-key 0xf1c2eb58238d7f8a14e41d826612621aace3c0329f0b1c963912f844470a44b4
#in-token-key "in-token-key"
#out-token-key "out-token-key"
#in-reserve-key "in-reserve-key"
#out-reserve-key "out-reserve-key"

#plottables !Bindings for the plottable source.

Expand All @@ -85,12 +85,12 @@ deployments:
#calculate-io
using-words-from orderbook-subparser uniswap-words

out-tkn-amount: get(0x469017709316f7f258096e4e2ac47b89e1a104ffa810dcd5c906f95726cdbf78),
in-tkn-amount: get(0x10b2c7dd2f0c383e8445066430f62720e189027b16a56ad4212eefac8e6c77ed),
out-tkn-amount: get(out-token-key),
in-tkn-amount: get(in-token-key),
buyback-tkn-amount: saturating-sub(out-tkn-amount in-tkn-amount),

in-reserve-amount: get(0x9ab12bc4bd54bd37acb958637d7fe14ddeef508ad5d626b50af490dad0dbf197),
out-reserve-amount: get(0xf1c2eb58238d7f8a14e41d826612621aace3c0329f0b1c963912f844470a44b4),
in-reserve-amount: get(in-reserve-key),
out-reserve-amount: get(out-reserve-key),
buyback-reserve-budget: saturating-sub(in-reserve-amount out-reserve-amount),

amount io-ratio: max-value() mul(
Expand Down
8 changes: 4 additions & 4 deletions strategies/ruby/sell-curve.rain
Original file line number Diff line number Diff line change
Expand Up @@ -138,10 +138,10 @@ deployments:
#ensure-sale-start !Binding to ensure sale has began.
#test-now !Binding to simulate current time.

#in-token-key 0x10b2c7dd2f0c383e8445066430f62720e189027b16a56ad4212eefac8e6c77ed
#out-token-key 0x469017709316f7f258096e4e2ac47b89e1a104ffa810dcd5c906f95726cdbf78
#in-reserve-key 0x9ab12bc4bd54bd37acb958637d7fe14ddeef508ad5d626b50af490dad0dbf197
#out-reserve-key 0xf1c2eb58238d7f8a14e41d826612621aace3c0329f0b1c963912f844470a44b4
#in-token-key "in-token-key"
#out-token-key "out-token-key"
#in-reserve-key "in-reserve-key"
#out-reserve-key "out-reserve-key"

#plottables-prod
:;
Expand Down

0 comments on commit dec576d

Please sign in to comment.