From ab3561e641e2bc28f13bc74cebb9e2e64913fab3 Mon Sep 17 00:00:00 2001 From: rouzwelt Date: Wed, 4 Dec 2024 20:44:41 +0000 Subject: [PATCH] init --- .../_strategies/raindex/4-canary/canary.rain | 83 +++++++++++++++++++ 1 file changed, 83 insertions(+) diff --git a/public/_strategies/raindex/4-canary/canary.rain b/public/_strategies/raindex/4-canary/canary.rain index f3aa33a8..34e7ad4b 100644 --- a/public/_strategies/raindex/4-canary/canary.rain +++ b/public/_strategies/raindex/4-canary/canary.rain @@ -6,23 +6,37 @@ networks: chain-id: 8453 network-id: 8453 currency: ETH + arbitrum: + rpc: https://rpc.ankr.com/arbitrum + chain-id: 42161 + network-id: 42161 + currency: ETH subgraphs: base: https://api.goldsky.com/api/public/project_clv14x04y9kzi01saerx7bxpg/subgraphs/ob4-base/0.7/gn + arbitrum: https://api.goldsky.com/api/public/project_clv14x04y9kzi01saerx7bxpg/subgraphs/ob4-arbitrum/0.1/gn metaboards: base: https://api.goldsky.com/api/public/project_clv14x04y9kzi01saerx7bxpg/subgraphs/mb-base-0x59401C93/0.1/gn + arbitrum: https://api.goldsky.com/api/public/project_clv14x04y9kzi01saerx7bxpg/subgraphs/mb-arbitrum/0.1/gn orderbooks: base: address: 0xd2938e7c9fe3597f78832ce780feb61945c377d7 network: base subgraph: base + arbitrum: + address: 0x550878091b2B1506069F61ae59e3A5484Bca9166 + network: arbitrum + subgraph: arbitrum deployers: base: address: 0xC1A14cE2fd58A3A2f99deCb8eDd866204eE07f8D network: base + arbitrum: + address: 0x9B0D254bd858208074De3d2DaF5af11b3D2F377F + network: arbitrum tokens: base-usdc: @@ -33,6 +47,14 @@ tokens: network: base address: 0x4200000000000000000000000000000000000006 decimals: 18 + arb-usdt: + network: arbitrum + address: 0xFd086bC7CD5C481DCC9C85ebE478A1C0b69FCbb9 + decimals: 6 + arb-weth: + network: arbitrum + address: 0x82aF49447D8a07e3bd95BD0d56f35241523fBab1 + decimals: 18 orders: base: @@ -43,6 +65,14 @@ orders: - token: base-usdc outputs: - token: base-weth + arbitrum: + orderbook: arbitrum + network: arbitrum + inputs: + # Input is irrelevant because we always set the IO ratio to 0. + - token: arb-usdt + outputs: + - token: arb-weth scenarios: base: @@ -51,11 +81,20 @@ scenarios: runs: 1 bindings: raindex-subparser: 0x662dFd6d5B6DF94E07A60954901D3001c24F856a + arbitrum: + deployer: arbitrum + orderbook: arbitrum + runs: 1 + bindings: + raindex-subparser: 0xb06202aA3Fe7d85171fB7aA5f17011d17E63f382 deployments: base: order: base scenario: base + arbitrum: + order: arbitrum + scenario: arbitrum gui: name: Canary @@ -107,6 +146,50 @@ gui: - name: 1 hour value: 3600 + - deployment: arbitrum + name: Canary on Arbitrum. + description: + A simple strategy that gives a bounty to the solver regularly. + deposits: + - token: arb-weth + min: 0 + presets: + - 0 + - 0.001 + - 0.01 + fields: + - binding: cooldown + name: Cooldown between possible trades in seconds. + min: 120 + presets: + - name: Two minutes (120) + value: 120 + - name: Five minutes (300) + value: 300 + - name: 1 hour (3600) + value: 3600 + - binding: min-bounty + name: Minimum bounty to give to the solver (in ETH). + min: 0 + presets: + - value: 0 + - value: 0.0000003 + - binding: max-bounty + name: Maximum bounty to give to the solver (in ETH). + min: 0 + presets: + - value: 0.00005 + - binding: time-per-epoch + name: Total auction duration in seconds. + min: 1 + presets: + - name: 5 minutes + value: 300 + - name: 15 minutes + value: 900 + - name: 1 hour + value: 3600 + --- #raindex-subparser !The subparser contract address for Raindex. #cooldown !The time in seconds between possible trades.