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

(DO NOT MERGE) COFEK Setup #326

Open
wants to merge 10 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
6 changes: 4 additions & 2 deletions app/_components/StrategyCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,11 @@ export const StrategyCard = ({ data }: { data: StrategyFile }) => {
<Markdown rehypePlugins={[rehypeRaw]}>{data.descriptionMD}</Markdown>
</div>
<div className="flex flex-col xl:grid xl:grid-cols-2 2xl:grid-cols-3 gap-4">
{data.yamlData.gui.deployments.map((deployment, i: number) => (
{data.yamlData.gui.deployments !== undefined &&
data.yamlData.gui.deployments.map((deployment, i: number) => (
<DeploymentCard key={i} deployment={deployment} slug={data.fileName} />
))}
))
}
</div>
</div>
);
Expand Down
77 changes: 0 additions & 77 deletions public/_strategies/raindex/0-fixed-limit/fixed-limit.rain
Original file line number Diff line number Diff line change
Expand Up @@ -146,83 +146,6 @@ gui:
name: Fixed limit
description: >
Fixed limit order strategy
deployments:
- deployment: base-weth-usdc
name: Buy WETH with USDC on Base.
description:
Buy WETH with USDC for fixed price on Base network.
deposits:
- token: base-usdc
min: 0
presets:
- 0
- 10
- 100
- 1000
- 10000

fields:
- binding: fixed-io
name: WETH price in USDC ($ per ETH)
min: 1000

- deployment: flare-wflr-eusdt
name: Buy WFLR with eUSDT on Flare.
description:
Buy WFLR with eUSDT (Enosys USDT) for fixed price on Flare network.
deposits:
- token: flare-eusdt
min: 0
presets:
- 0
- 10
- 100
- 1000
- 10000

fields:
- binding: fixed-io
name: WFLR price in eUSDT ($ per WFLR)
min: 0

- deployment: flare-slfr-wflr
name: Buy SFLR with WFLR on Flare.
description:
Buy SFLR with WFLR for fixed price on Flare network.
deposits:
- token: flare-wflr
min: 0
presets:
- 0
- 100
- 1000
- 10000
- 100000

fields:
- binding: fixed-io
name: SFLR price in WFLR (WFLR per SFLR)
min: 1

- deployment: flare-usdce-weth
name: Buy WETH with USDC.e on Flare.
description:
Buy WETH with USDC.e (Bridged USDC on Stargate) for fixed price on Flare network.
deposits:
- token: flare-usdce
min: 0
presets:
- 0
- 10
- 100
- 1000
- 10000

fields:
- binding: fixed-io
name: WETH price in USDC.e ($ per ETH)
min: 1000

---
#raindex-subparser !The subparser to use.

Expand Down
Loading
Loading