From 677cbe078bb74635e208ee7a77785f0b81df02d1 Mon Sep 17 00:00:00 2001 From: Dmitri Tsumak Date: Fri, 8 Jan 2021 05:38:19 +0200 Subject: [PATCH] Add notifiers parameters --- .dockerignore | 1 + .gitignore | 1 + README.md | 6 +++++- 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.dockerignore b/.dockerignore index 5a6ab92..79829db 100644 --- a/.dockerignore +++ b/.dockerignore @@ -5,3 +5,4 @@ venv Dockerfile .dockerignore .gitignore +settings.txt diff --git a/.gitignore b/.gitignore index a474aca..2e735d8 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ __pycache__/ venv .mypy_cache .idea +settings.txt diff --git a/README.md b/README.md index ca8a4fa..5e66299 100644 --- a/README.md +++ b/README.md @@ -86,7 +86,9 @@ where `settings.txt` is an environment file with [Settings](#settings). | BALANCE_REPORTERS_CONTRACT_ADDRESS | The address of the [Balance Reporters Contract](https://github.com/stakewise/contracts/blob/0b7a80e0f8fe0ffcc428fcf4392955b636dc723e/contracts/BalanceReporters.sol). | Yes | - | | REWARD_ETH_CONTRACT_ADDRESS | The address of the [Reward ETH Token Contract](https://github.com/stakewise/contracts/blob/0b7a80e0f8fe0ffcc428fcf4392955b636dc723e/contracts/tokens/RewardEthToken.sol). | Yes | - | | STAKED_ETH_CONTRACT_ADDRESS | The address of the [Staked ETH Token Contract](https://github.com/stakewise/contracts/blob/0b7a80e0f8fe0ffcc428fcf4392955b636dc723e/contracts/tokens/StakedEthToken.sol). | Yes | - | -| REPORTER_PRIVATE_KEY | The ETH1 private key of the operator (see `Generating Private Key` below). | Yes | - | +| REPORTER_PRIVATE_KEY | The ETH1 private key of the operator (see `Generating Private Key` below). | Yes | - | +| NOTIFIERS_TELEGRAM_TOKEN | Telegram chat token where notifications about low balance or errors will be sent. | Yes | - | +| NOTIFIERS_TELEGRAM_CHAT_ID | Telegram chat ID where notifications about low balance or errors will be sent. | Yes | - | ## Example settings @@ -107,6 +109,8 @@ POOL_CONTRACT_ADDRESS=0xD60F7AE203Ba7c54e2712975E93313a1824b67e1 REWARD_ETH_CONTRACT_ADDRESS=0xCFAAb3f925c9cd6F3B3a7c9Af9389EA2F3D7de78 STAKED_ETH_CONTRACT_ADDRESS=0x124dd949ce16de90A0440527f8b9321080DFC888 REPORTER_PRIVATE_KEY=0x +NOTIFIERS_TELEGRAM_TOKEN=12345token +NOTIFIERS_TELEGRAM_CHAT_ID=123456 EOL ```