-
Notifications
You must be signed in to change notification settings - Fork 4
/
example.env
104 lines (72 loc) · 3.27 KB
/
example.env
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
# Git branch to track for docker compose
DOCKER_CHANNEL=master
# private key of the matchmaker bot's wallet
BOT_WALLET_PRIVATEKEY="123..."
# mnemonic phrase
MNEMONIC=""
# RPC URL(s) that will be provider for interacting with evm, use different providers if more than 1 is specified to prevent banning.
# for specifying more than 1 RPC in the env, separate them by a comma and a space
RPC_URL="https://polygon-mainnet.g.alchemy.com/v2/{API_KEY}, https://rpc.ankr.com/polygon/{API_KEY}"
# Option to explicitly use these rpc for write transactions, such as flashbots or mev protect rpc to protect against mev attacks.
WRITE_RPC=""
# arb contract address
ARB_ADDRESS="0x123..."
# generic arb contract address
GENERIC_ARB_ADDRESS="0x123..."
# Option to filter the subgraph query results with orderbook contract address
ORDERBOOK_ADDRESS="0x123..."
# one or more subgraph urls to read orders details from, can be used in combination with ORDERS
# for more than 1 subgraphs, seperate them by comma and a space
SUBGRAPH="https://api.thegraph.com/subgraphs/name/org1/sg1, https://api.thegraph.com/subgraphs/name/org2/sg2"
# list of liquidity providers names seperated by a comma for each
LIQUIDITY_PROVIDERS="sushiswapv2,uniswapv3,quickswap"
# gas coverage percentage for each transaction to be considered profitable to be submitted
GAS_COVER="100"
# Option to filter the subgraph query results with a specific order hash
ORDER_HASH=""
# Option to filter the subgraph query results with a specific order owner address
ORDER_OWNER=""
# Seconds to wait between each arb round, default is 10
SLEEP=10
# Option to maximize maxIORatio
MAX_RATIO="true"
# Optional seconds to wait for the transaction to mine before disregarding it
TIMEOUT=""
# number of hops of binary search, if left unspecified will be 1 by default
HOPS=11
# api key for heyperDx platfomr to send spans to, if not set will send traces to localhost
HYPERDX_API_KEY=""
# trace/spans service name, defaults to "arb-bot" if not set
TRACER_SERVICE_NAME=""
# The amount of retries for the same order, max is 3, default is 1
RETRIES=1
# Option to specify time (in minutes) between pools updates, default is 0 minutes
POOL_UPDATE_INTERVAL=
# number of excess wallets for submitting txs, requires mnemonic option
WALLET_COUNT=
# topup amount for excess accounts, requires mnemonic option
TOPUP_AMOUNT=
# Minimum bot's wallet gas token balance before alering
BOT_MIN_BALANCE=
# Specifies owned order to get funded once their vault goes below the specified threshold
# example: token,vaultId,threshold,toptupamount;token,vaultId,threshold,toptupamount;...
SELF_FUND_ORDERS=
# Specifies the owner limit, in form of owner1=limit,owner2=limit,... , example: 0x123456=12,0x3456=44
OWNER_PROFILE=
# Allows to use public RPCs as fallbacks, default is false
PUBLIC_RPC=
# Specifies the routing mode 'multi' or 'single' or 'full', default is 'single'
ROUTE="single"
# Option to multiply the gas price fetched from the rpc as percentage, default is 107, ie +7%
GAS_PRICE_MULTIPLIER=
# Option to multiply the gas limit estimation from the rpc as percentage, default is 108, ie +8%
GAS_LIMIT_MULTIPLIER=
# Option to set a static gas limit for all submitting txs
TX_GAS=
# test rpcs vars
TEST_POLYGON_RPC=
TEST_BASE_RPC=
TEST_FLARE_RPC=
TEST_ETH_RPC=
TEST_BSC_RPC=
TEST_ARBITRUM_RPC=