-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathconfig.yml
274 lines (263 loc) · 10.5 KB
/
config.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
# IMPORTANT: Replace all values within <angle_brackets> with your specific configuration details.
# Do NOT leave any angle brackets in the final configuration.
metrics:
prometheus_address: "0.0.0.0:8001"
coingecko:
base_url: "https://pro-api.coingecko.com/api/v3/"
# API key is optional here. If you do not have an API key, you can remove the
# api_key option all together. If you have a coin gecko API key, we will use
# it to get more up to date gas costs. If you specify an API key, you should
# reduce the requests per minute and cache refresh interval according to your
# keys limits. The values are currently set for no API key use.
api_key: <api_key>
requests_per_minute: 2
cache_refresh_interval: "15m"
order_filler:
worker_count: 10
transfer_monitor:
poll_interval: 5s
# The fund_rebalancer config is optional. If you do not want the solver to
# rebalance your funds across chains via Skip GO (via the CCTP slow path CCTP, they
# will not be fast transferred via Skip Go Fast), you can omit the
# fund_rebalancer config all together.
fund_rebalancer:
1:
target_amount: 0
min_allowed_amount: 0
max_rebalancing_gas_cost_uusdc: "10000000"
profitable_rebalance_timeout: 1h
transfer_cost_cap_uusdc: "30000000"
42161:
target_amount: 0
min_allowed_amount: 0
max_rebalancing_gas_cost_uusdc: "1000000"
profitable_rebalance_timeout: 1h
transfer_cost_cap_uusdc: "2000000"
43114:
target_amount: 0
min_allowed_amount: 0
max_rebalancing_gas_cost_uusdc: "1000000"
profitable_rebalance_timeout: 1h
transfer_cost_cap_uusdc: "2000000"
137:
target_amount: 0
min_allowed_amount: 0
max_rebalancing_gas_cost_uusdc: "1000000"
profitable_rebalance_timeout: 1h
transfer_cost_cap_uusdc: "2000000"
8453:
target_amount: 0
min_allowed_amount: 0
max_rebalancing_gas_cost_uusdc: "1000000"
profitable_rebalance_timeout: 1h
transfer_cost_cap_uusdc: "2000000"
10:
target_amount: 0
min_allowed_amount: 0
max_rebalancing_gas_cost_uusdc: "1000000"
profitable_rebalance_timeout: 1h
transfer_cost_cap_uusdc: "2000000"
osmosis-1:
target_amount: 1000000000000000
min_allowed_amount: 1000000000000000
max_rebalancing_gas_cost_uusdc: "1000000"
profitable_rebalance_timeout: 1h
transfer_cost_cap_uusdc: "2000000"
chains:
1:
chain_name: "ethereum"
chain_id: "1"
type: "evm"
environment: "mainnet"
gas_token_symbol: "ETH"
gas_token_decimals: 18
gas_token_coingecko_id: "ethereum"
hyperlane_domain: "1"
fast_transfer_contract_address: 0xe7935104c9670015b21c6300e5b95d2f75474cda
quick_start_num_blocks_back: 300000
num_block_confirmations_before_fill: <num_block_confirmations_before_fill> # e.g. 1
max_rebalancing_gas_cost_uusdc: "20000000"
solver_address: <solver_address>
usdc_denom: "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48"
min_fee_bps: 10
batch_uusdc_settle_up_threshold: <settle_up_threshold> # 1/2 of destination inventory evenly distributed across source chains
min_profit_margin_bps: 8
evm:
rpc: <ethereum_rpc_server_url>
rpc_basic_auth_var: <env_var_with_server_password>
signer_gas_balance:
warning_threshold_wei: 1000000
critical_threshold_wei: 1000000
relayer:
mailbox_address: "0xc005dc82818d67AF737725bD4bf75435d065D239"
profitable_relay_timeout: 1h
relay_cost_cap_uusdc: 40000000
43114:
chain_name: "avalanche"
chain_id: "43114"
type: "evm"
environment: "mainnet"
gas_token_symbol: "AVAX"
gas_token_decimals: 18
gas_token_coingecko_id: "avalanche-2"
hyperlane_domain: "43114"
fast_transfer_contract_address: 0xD415B02A7E91dBAf92EAa4721F9289CFB7f4E1cF
quick_start_num_blocks_back: 300000
num_block_confirmations_before_fill: <num_block_confirmations_before_fill> # e.g. 1
solver_address: <solver_address>
usdc_denom: "0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E"
min_fee_bps: 10
batch_uusdc_settle_up_threshold: <settle_up_threshold> # 1/2 of destination inventory evenly distributed across source chains
min_profit_margin_bps: 8
evm:
rpc: <avalanche_rpc_server_url>
rpc_basic_auth_var: <env_var_with_server_password>
signer_gas_balance:
warning_threshold_wei: 1000000000000000000 # 1 avax
critical_threshold_wei: 500000000000000000 # 0.5 avax
relayer:
mailbox_address: "0xFf06aFcaABaDDd1fb08371f9ccA15D73D51FeBD6"
profitable_relay_timeout: 1h
relay_cost_cap_uusdc: 1000000
10:
chain_name: "optimism"
chain_id: "10"
type: evm
environment: "mainnet"
gas_token_symbol: "ETH"
gas_token_decimals: 18
gas_token_coingecko_id: "ethereum"
hyperlane_domain: "10"
fast_transfer_contract_address: 0x0f479de4fd3144642f1af88e3797b1821724f703
quick_start_num_blocks_back: 300000
num_block_confirmations_before_fill: <num_block_confirmations_before_fill> # e.g. 1
solver_address: <solver_address>
usdc_denom: "0x0b2c639c533813f4aa9d7837caf62653d097ff85"
min_fee_bps: 10
batch_uusdc_settle_up_threshold: <settle_up_threshold> # 1/2 of destination inventory evenly distributed across source chains
min_profit_margin_bps: 8
evm:
rpc: <optimism_rpc_server_url>
rpc_basic_auth_var: <env_var_with_server_password>
signer_gas_balance:
warning_threshold_wei: 10000000000000000 # .01 eth ~ $30
critical_threshold_wei: 1000000000000000 # .001 eth ~ $3
relayer:
mailbox_address: "0xd4C1905BB1D26BC93DAC913e13CaCC278CdCC80D"
profitable_relay_timeout: 1h
relay_cost_cap_uusdc: 1000000
42161:
chain_name: "arbitrum"
chain_id: "42161"
type: evm
environment: "mainnet"
gas_token_symbol: "ETH"
gas_token_decimals: 18
gas_token_coingecko_id: "ethereum"
fast_transfer_contract_address: 0x23cb6147e5600c23d1fb5543916d3d5457c9b54c
solver_address: <solver_address>
usdc_denom: "0xaf88d065e77c8cC2239327C5EDb3A432268e5831"
hyperlane_domain: "42161"
quick_start_num_blocks_back: 300000
num_block_confirmations_before_fill: <num_block_confirmations_before_fill> # e.g. 1
min_fee_bps: 10
batch_uusdc_settle_up_threshold: <settle_up_threshold> # 1/2 of destination inventory evenly distributed across source chains
min_profit_margin_bps: 8
evm:
rpc: <arbitrum_rpc_server_url> # e.g. "https://arb1.arbitrum.io/rpc"
rpc_basic_auth_var: <env_var_with_server_password>
signer_gas_balance:
warning_threshold_wei: 10000000000000000 # .01 eth ~ $30
critical_threshold_wei: 1000000000000000 # .001 eth ~ $3
relayer:
mailbox_address: "0x979Ca5202784112f4738403dBec5D0F3B9daabB9"
profitable_relay_timeout: 1h
relay_cost_cap_uusdc: 1000000
osmosis-1:
chain_name: "osmosis"
chain_id: "osmosis-1"
type: "cosmos"
environment: "mainnet"
gas_token_symbol: "OSMO"
gas_token_decimals: 6
gas_token_coingecko_id: "osmosis"
quick_start_num_blocks_back: 300000
num_block_confirmations_before_fill: <num_block_confirmations_before_fill> # e.g. 1
fast_transfer_contract_address: osmo1vy34lpt5zlj797w7zqdta3qfq834kapx88qtgudy7jgljztj567s73ny82
solver_address: <solver_address>
hyperlane_domain: "875"
usdc_denom: "ibc/498A0751C798A0D9A389AA3691123DADA57DAA4FE165D5C75894505B876BA6E4"
cosmos:
address_prefix: "osmo"
rpc: <osmosis_rpc_server_url>
rpc_basic_auth_var: <env_var_with_server_password>
grpc: <osmosis_grpc_server_url>
grpc_tls_enabled: <grpc_tls_enabled> # e.g. false
min_fill_size: 1000000
max_fill_size: 1000000000
signer_gas_balance:
warning_threshold_wei: 100000000 # 100 osmo ~ $50
critical_threshold_wei: 40000000 # 40 osmo ~ $20
gas_price: 0.0025
gas_denom: "uosmo"
relayer:
validator_announce_contract_address: "osmo147r8mfdsngswujgkr4tln9rhcrzz6yq0xn448ksd96mlcmp9wg6stvznke"
merkle_hook_contract_address: "osmo1e765uc5mctl7rz8dzl9decl5ghgxggeqyxutkjp2xkggrg6zma3qgdq2g4"
mailbox_address: "osmo1r6u37zv47ke4d2k9tkzun72ch466w6594kv8gqgrtmsvf7qxpm9sj95v98"
profitable_relay_timeout: 1h
relay_cost_cap_uusdc: 1000000
8453:
chain_name: "base"
chain_id: "8453"
type: evm
environment: "mainnet"
gas_token_symbol: "ETH"
gas_token_decimals: 18
gas_token_coingecko_id: "ethereum"
fast_transfer_contract_address: 0x43d090025aaa6c8693b71952b910ac55ccb56bbb
num_block_confirmations_before_fill: <num_block_confirmations_before_fill> # e.g. 1
quick_start_num_blocks_back: 300000
hyperlane_domain: "8453"
solver_address: <solver_address> # e.g. "0x8EB49E3D65d74967CC0Fe987FA2d015ae816352E"
usdc_denom: "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
min_fee_bps: 10
batch_uusdc_settle_up_threshold: <settle_up_threshold> # 1/2 of destination inventory evenly distributed across source chains
min_profit_margin_bps: 8
evm:
rpc: <base_mainnet_rpc_server_url> # e.g. "https://mainnet.base.org"
rpc_basic_auth_var: <env_var_with_server_password>
signer_gas_balance:
warning_threshold_wei: 10000000000000000 # .01 eth ~ $30
critical_threshold_wei: 1000000000000000 # .001 eth ~ $3
relayer:
mailbox_address: "0xeA87ae93Fa0019a82A727bfd3eBd1cFCa8f64f1D"
profitable_relay_timeout: 1h
relay_cost_cap_uusdc: 1000000
137:
chain_name: "polygon"
chain_id: "137"
type: evm
environment: "mainnet"
gas_token_symbol: "MATIC"
gas_token_decimals: 18
gas_token_coingecko_id: "matic-network"
fast_transfer_contract_address: 0x3ffaf8d0d33226302e3a0ae48367cf1dd2023b1f
num_block_confirmations_before_fill: <num_block_confirmations_before_fill> # e.g. 1
quick_start_num_blocks_back: 300000
hyperlane_domain: "137"
solver_address: <solver_address> # e.g. "0x8EB49E3D65d74967CC0Fe987FA2d015ae816352E"
usdc_denom: "0x3c499c542cef5e3811e1192ce70d8cc03d5c3359"
min_fee_bps: 10
batch_uusdc_settle_up_threshold: <settle_up_threshold> # 1/2 of destination inventory evenly distributed across source chains
min_profit_margin_bps: 8
evm:
rpc: <polygon_mainnet_rpc_server_url> # e.g. "https://polygon-rpc.com"
rpc_basic_auth_var: <env_var_with_server_password>
signer_gas_balance:
warning_threshold_wei: 1000000000000000000 # 1 matic
critical_threshold_wei: 500000000000000000 # 0.5 matic
min_gas_tip_cap: 30000000000
relayer:
mailbox_address: "0x5d934f4e2f797775e53561bB72aca21ba36B96BB"
profitable_relay_timeout: 1h
relay_cost_cap_uusdc: 1000000