-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.toml.example
More file actions
67 lines (62 loc) · 1.17 KB
/
config.toml.example
File metadata and controls
67 lines (62 loc) · 1.17 KB
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
[[chain]]
name = "optimism"
chain_id = 1_234
rpc_url = "http://..."
ws_url = "ws://..."
start_block = 1_234
block_batch_size = 1_000
max_tx_retry = 3
min_order_val = 1
max_order_val = 100_000
profitability_threshold = 0.1
order_contract_address = 0xc1a0
filler_poll_interval = 500
[[chain.tokens]]
name = "USD Coin"
symbol = "USDC"
type = "ERC20"
address = "0x123"
decimals = 18
price_feed = "xyz"
display_decimals = 2
image = "https://..."
[[chain.tokens]]
name = "DAI"
symbol = "DAI"
type = "ERC20"
address = "0x356"
decimals = 18
price_feed = "xyz"
display_decimals = 2
image = "https://..."
[[chain]]
name = "arbitrum"
chain_id = 1_242
rpc_url = "http://..."
ws_url = "ws://..."
start_block = 4_241
block_batch_size = 1_024
max_tx_retry = 3
min_order_val = 100
max_order_val = 200_000
profitability_threshold = 0.1
order_contract_address = 0xadd10
filler_poll_interval = 250
[[chain.tokens]]
name = "USD Coin"
symbol = "USDC"
type = "ERC20"
address = "0x883"
decimals = 18
price_feed = "xyz"
display_decimals = 2
image = "https://..."
[[chain.tokens]]
name = "DAI"
symbol = "DAI"
type = "ERC20"
address = "0x236"
decimals = 18
price_feed = "xyz"
display_decimals = 2
image = "https://..."