Skip to content

Commit

Permalink
biohack<>usdt auction
Browse files Browse the repository at this point in the history
  • Loading branch information
Siddharth2207 committed Jan 31, 2025
1 parent 0bbef62 commit f46f8b5
Showing 1 changed file with 200 additions and 0 deletions.
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 @@ -188,6 +188,10 @@ tokens:
network: ethereum
address: 0x03AA6298F1370642642415EDC0db8b957783e8D6
decimals: 18
ethereum-biohack:
network: ethereum
address: 0x07c8b9deae988726Fd443EA8c3C1367F98a31F9c
decimals: 18
ethereum-usdc:
network: ethereum
address: 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48
Expand Down Expand Up @@ -533,6 +537,20 @@ orders:
- token: ethereum-usdt
outputs:
- token: ethereum-lock
ethereum-biohack-usdt:
orderbook: ethereum
network: ethereum
inputs:
- token: ethereum-biohack
outputs:
- token: ethereum-usdt
ethereum-usdt-biohack:
orderbook: ethereum
network: ethereum
inputs:
- token: ethereum-usdt
outputs:
- token: ethereum-biohack
flare-sflr-wflr:
orderbook: flare
network: flare
Expand Down Expand Up @@ -972,6 +990,12 @@ deployments:
ethereum-usdt-lock:
order: ethereum-usdt-lock
scenario: ethereum
ethereum-biohack-usdt:
order: ethereum-biohack-usdt
scenario: ethereum
ethereum-usdt-biohack:
order: ethereum-usdt-biohack
scenario: ethereum
flare-sflr-wflr:
order: flare-sflr-wflr
scenario: flare-sflr-baseline
Expand Down Expand Up @@ -6634,6 +6658,182 @@ gui:
The initial LOCK per USDT to kickoff the first auction. (e.g. 0.9 LOCK per USDT)
min: 0

- deployment: ethereum-usdt-biohack
name: Sell BIOHACK for USDT on Ethereum.
description: >
Swap BIOHACK for USDT on Ethereum mainnet.
deposits:
- token: ethereum-biohack
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 (BIOHACK per period)
description: >
The amount of BIOHACK to spend each budget period.
min: 0
- binding: max-trade-amount
name: Maximum trade size (BIOHACK)
description: >
The maximum amount of BIOHACK to sell in a single auction.
min: 0
- binding: min-trade-amount
name: Minimum trade size (BIOHACK)
description: >
The minimum amount of BIOHACK 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 BIOHACK
description: >
The absolute minimum amount of USDT per BIOHACK that the auction will trade at. (e.g. 3 USDT per BIOHACK)
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 BIOHACK
description: >
The initial USDT per BIOHACK to kickoff the first auction. (e.g. 4.8 USDT per BIOHACK)
min: 0

- deployment: ethereum-biohack-usdt
name: Sell USDT for BIOHACK on Ethereum.
description: >
Swap USDT for BIOHACK 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 BIOHACK per USDT
description: >
The absolute minimum amount of BIOHACK per USDT that the auction will trade at. (e.g. 0.1 BIOHACK 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 BIOHACK per USDT
description: >
The initial BIOHACK per USDT to kickoff the first auction. (e.g. 0.2 BIOHACK per USDT)
min: 0

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

0 comments on commit f46f8b5

Please sign in to comment.