From 9b1cc5adcfd570a1360a223e34333a754e500c63 Mon Sep 17 00:00:00 2001 From: 0xBossanova <0xBossanova@proton.me> Date: Mon, 10 Jul 2023 14:47:45 +0200 Subject: [PATCH] chore: update examples --- .../envs/examples/.env.injective.example | 1 + .../envs/examples/.env.juno.example | 0 .../envs/examples/.env.terra.dex.example | 0 .../examples/.env.terra.liquidation.example | 37 +++++++++++++++++++ 4 files changed, 38 insertions(+) rename .env.injective.example => src/envs/examples/.env.injective.example (99%) rename .env.juno.example => src/envs/examples/.env.juno.example (100%) rename .env.terra.example => src/envs/examples/.env.terra.dex.example (100%) create mode 100644 src/envs/examples/.env.terra.liquidation.example diff --git a/.env.injective.example b/src/envs/examples/.env.injective.example similarity index 99% rename from .env.injective.example rename to src/envs/examples/.env.injective.example index 8f6fc88..9b75648 100644 --- a/.env.injective.example +++ b/src/envs/examples/.env.injective.example @@ -1,4 +1,5 @@ ##GENERAL SETTINGS +SETUP_TYPE="dex" WALLET_MNEMONIC="" USE_MEMPOOL="1" GAS_USAGE_PER_HOP="500000" diff --git a/.env.juno.example b/src/envs/examples/.env.juno.example similarity index 100% rename from .env.juno.example rename to src/envs/examples/.env.juno.example diff --git a/.env.terra.example b/src/envs/examples/.env.terra.dex.example similarity index 100% rename from .env.terra.example rename to src/envs/examples/.env.terra.dex.example diff --git a/src/envs/examples/.env.terra.liquidation.example b/src/envs/examples/.env.terra.liquidation.example new file mode 100644 index 0000000..c6b12f8 --- /dev/null +++ b/src/envs/examples/.env.terra.liquidation.example @@ -0,0 +1,37 @@ +##GENERAL SETTINGS +SETUP_TYPE="liquidation" +WALLET_MNEMONIC="" ##change this +USE_MEMPOOL="1" +GAS_USAGE_PER_HOP="620000" #defines the gas usage per hop, 2 hop arb pays 1400000 gas, 3 hop will pay 2100000 etc +PROFIT_THRESHOLD="5000" +MAX_PATH_HOPS="4" + +##LOGGING ENVIRONMENT VARIABLES, optional +#SLACK_TOKEN = "" +#SLACK_CHANNEL = "" +#TELEGRAM_CHAT_ID = "" +#TELEGRAM_BOT_TOKEN = "" +#DISCORD_WEBHOOK_URL= "" +EXTERNAL_EXEMPT_CODES="4, 5, 6, 8" #Skip errorcodes to not log externally +SIGN_OF_LIFE="30" #Sign of Life in Minutes. E.g. "30" + +##SKIP SPECIFIC ENVIRONMENT VARIABLES FOR CURRENT CHAIN +USE_SKIP = "0" +SKIP_URL= "http://phoenix-1-api.skip.money" +SKIP_BID_WALLET= "terra1kdx075ghexr2l6mx4mgn37deshu9fn59r9zq9v" +SKIP_BID_RATE="0.1" #e.g. 10% of the profit is used as a bid to win the auction +TRY_WITHOUT_SKIP="0" # Try without skip if the next Validator is not using skip. Send a standard Tx through the Mempool. More Risk! 0 == false + +# Addresses to Blacklist. Needed against Spam Txs. +# For more Info Discord Channel Developers/Bot-Support +IGNORE_ADDRESSES='[""]' +TIMEOUT_DURATION="100" # Timeout Duration for Addresses in Blocks + +##TERRA SETTINGS +BASE_DENOM="uluna" +GAS_DENOM="uluna" +CHAIN_PREFIX="terra" +USE_RPC_URL_SCRAPER="0" +RPC_URL=[""] ##change this +GAS_UNIT_PRICE="0.015" +OVERSEER_ADDRESSES='["terra1l6rq7905263uqmayurtulzc09sfcgxdedsfen7m0y6wf28s49tvqdkwau9","terra10qnsw3wn4uaxs7en2kynhet2dsyy76lmprh2ptcz85d8hu59gkuqcpndnv"]'