Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fast one side #340

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
200 changes: 200 additions & 0 deletions public/_strategies/raindex/1-auction-dca/auction-dca.rain
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,10 @@ tokens:
network: base
address: 0x655A51e6803faF50D4acE80fa501af2F29C856cF
decimals: 18
ethereum-rkfi:
network: ethereum
address: 0x65fda84473084ba2cca8452883e6ea3561092234
decimals: 18
ethereum-weth:
network: ethereum
address: 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2
Expand Down Expand Up @@ -479,6 +483,20 @@ orders:
- token: ethereum-usdt
outputs:
- token: ethereum-lock
ethereum-rkfi-usdt:
orderbook: ethereum
network: ethereum
inputs:
- token: ethereum-rkfi
outputs:
- token: ethereum-usdt
ethereum-usdt-rkfi:
orderbook: ethereum
network: ethereum
inputs:
- token: ethereum-usdt
outputs:
- token: ethereum-rkfi
flare-sflr-wflr:
orderbook: flare
network: flare
Expand Down Expand Up @@ -900,6 +918,12 @@ deployments:
ethereum-usdt-lock:
order: ethereum-usdt-lock
scenario: ethereum
ethereum-rkfi-usdt:
order: ethereum-rkfi-usdt
scenario: ethereum
ethereum-usdt-rkfi:
order: ethereum-usdt-rkfi
scenario: ethereum
flare-sflr-wflr:
order: flare-sflr-wflr
scenario: flare-sflr-baseline
Expand Down Expand Up @@ -5935,6 +5959,182 @@ gui:
The initial LOCK per USDT to kickoff the first auction. (e.g. 0.9 LOCK per USDT)
min: 0

- deployment: ethereum-usdt-rkfi
name: Sell RKFI for USDT on Ethereum.
description: >
Swap RKFI for USDT on Ethereum mainnet.
deposits:
- token: ethereum-rkfi
min: 0
presets:
- 0
- 250
- 750
- 1250
- 5000
- 10000

fields:
- binding: time-per-amount-epoch
name: Budget period (in seconds)
description: >
The budget is spent over this time period.
min: 1
presets:
- name: Per minute (60)
value: 60
- name: Per hour (3600)
value: 3600
- name: Per day (86400)
value: 86400
- name: Per week (604800)
value: 604800
- binding: amount-per-epoch
name: Budget (RKFI per period)
description: >
The amount of RKFI to spend each budget period.
min: 0
- binding: max-trade-amount
name: Maximum trade size (RKFI)
description: >
The maximum amount of RKFI to sell in a single auction.
min: 0
- binding: min-trade-amount
name: Minimum trade size (RKFI)
description: >
The minimum amount of RKFI to sell in a single auction.
min: 0
- binding: time-per-trade-epoch
name: Auction period (in seconds)
description: >
The auction period is the time between each auction price halvening.
presets:
- name: Every hour (3600)
value: 3600
- name: Every 2 hours (7200)
value: 7200
- binding: baseline
name: Baseline USDT per RKFI
description: >
The absolute minimum amount of USDT per RKFI that the auction will trade at. (e.g. 0.0005 USDT per RKFI)
min: 0
- binding: next-trade-multiplier
name: Auction start multiplier
description: >
The multiplier to apply to the last trade to kick off the next auction.
min: 1.01
presets:
- name: 1.01x
value: 1.01
- name: 1.02x
value: 1.02
- name: 1.05x
value: 1.05
- binding: next-trade-baseline-multiplier
name: Auction end multiplier
description: >
The multiplier to apply to the last trade to set the baseline for the next auction.
presets:
- name: Disabled (0)
value: 0
- name: 0.9x
value: 0.9
- name: 0.95x
value: 0.95
- binding: initial-io
name: Kickoff USDT per RKFI
description: >
The initial USDT per RKFI to kickoff the first auction. (e.g. 0.0013 USDT per RKFI)
min: 0

- deployment: ethereum-rkfi-usdt
name: Sell USDT for RKFI on Ethereum.
description: >
Swap USDT for RKFI on Ethereum mainnet.
deposits:
- token: ethereum-usdt
min: 0
presets:
- 0
- 100
- 200
- 500
- 1000
- 2000

fields:
- binding: time-per-amount-epoch
name: Budget period (in seconds)
description: >
The budget is spent over this time period.
min: 1
presets:
- name: Per minute (60)
value: 60
- name: Per hour (3600)
value: 3600
- name: Per day (86400)
value: 86400
- name: Per week (604800)
value: 604800
- binding: amount-per-epoch
name: Budget (USDT per period)
description: >
The amount of USDT to spend each budget period.
min: 0
- binding: max-trade-amount
name: Maximum trade size (USDT)
description: >
The maximum amount of USDT to sell in a single auction.
min: 0
- binding: min-trade-amount
name: Minimum trade size (USDT)
description: >
The minimum amount of USDT to sell in a single auction.
min: 0
- binding: time-per-trade-epoch
name: Auction period (in seconds)
description: >
The auction period is the time between each auction price halvening.
presets:
- name: Every hour (3600)
value: 3600
- name: Every 2 hours (7200)
value: 7200
- binding: baseline
name: Baseline RKFI per USDT
description: >
The absolute minimum amount of RKFI per USDT that the auction will trade at. (e.g. 600 RKFI per USDT)
min: 0
- binding: next-trade-multiplier
name: Auction start multiplier
description: >
The multiplier to apply to the last trade to kick off the next auction.
min: 1.01
presets:
- name: 1.01x
value: 1.01
- name: 1.02x
value: 1.02
- name: 1.05x
value: 1.05
- binding: next-trade-baseline-multiplier
name: Auction end multiplier
description: >
The multiplier to apply to the last trade to set the baseline for the next auction.
presets:
- name: Disabled (0)
value: 0
- name: 0.9x
value: 0.9
- name: 0.95x
value: 0.95
- binding: initial-io
name: Kickoff RKFI per USDT
description: >
The initial RKFI per USDT to kickoff the first auction. (e.g. 750 RKFI per USDT)
min: 0

- deployment: flare-cysflr-cusdx
name: Sell cUSDX for cysFLR on Flare.
description: >
Expand Down
Loading
Loading