-
Notifications
You must be signed in to change notification settings - Fork 3
/
liquidationBotEnv
82 lines (66 loc) · 2.03 KB
/
liquidationBotEnv
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
# Required
LIQWID_CONFIG=liqwid-mainnet-config.json
WALLET_MNEMONIC=word1 word2 word3
# Optional account index to use for this wallet
# WALLET_ACCOUNT=0
# Server config for ogmios
OGMIOS_PORT=1337
OGMIOS_HOST=localhost
OGMIOS_SECURE=false
OGMIOS_PATH=
# Server config for blockfrost
BLOCKFROST_PORT=
BLOCKFROST_HOST=
BLOCKFROST_SECURE=
BLOCKFROST_PATH=/
# Set verbose output
# (enabled when uncommented with any value set)
# VERBOSE=true
# Use different logger (DefaultLogger | NoColourLogger | NoControlLogger)
# LOGGER=NoColourLogger
# Market to run liquidations in,
# and the asset you need to fund the bot wallet with
MARKET=Ada
# MARKET=DJED
# MARKET=SHEN
# MARKET=IUSD
# Retry interval
INTERVAL=20
# Address to expose a 'heartbeat' request
HEARTBEAT_ADDR=127.0.0.1
HEARTBEAT_PORT=2002
# Set a minimum amount of "buffer" of underlying
# assets which the bot wont use for liquidations.
# This is required to keep some Ada to pay for
# transaction fees.
# This defaults to 0 if uncommented
# For ADA Markets, transactions may fail with too low
# a buffer. It's recommended to set this to 30 ADA
# (30M lovelace)
# BUFFER=30000000
# Enable the profit-check, ensuring that
# liquidations transactions aren't making a loss
# in real-value at the time of the transaction.
# Enabled when uncommented with any value set
CHECK_PROFIT=true
# Add a minimum percentage of profit
# to ensure when making Liquidations.
# This can be useful to account for
# DEX fees, slippage, tx fees & further price
# drops since the transaction.
# NOTE: If this is set higher than the current
# liquidation bonus, you will not make any liquidations
PROFIT_AMOUNT=1
# Enable automatically redeeming the seized
# QTokens.
# Enabled when uncommented with any value set
# ENABLE_REDEEMS=true
# Send seized QTokens to an address, or,
# when ENABLE_REDEEMS is set, send redemeed
# underlying.
# Accepts Bech32 (addr1... format),
# or raw CBOR Hex
# NOTE: This currently does not accept
# native/plutus script addresses, and ignores
# the Staking credential.
# SEND_TO_ADDRESS=<your address here>