Skip to content

Commit

Permalink
Add notifiers parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
tsudmi committed Jan 8, 2021
1 parent 4a85299 commit 677cbe0
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ venv
Dockerfile
.dockerignore
.gitignore
settings.txt
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ __pycache__/
venv
.mypy_cache
.idea
settings.txt
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -107,6 +109,8 @@ POOL_CONTRACT_ADDRESS=0xD60F7AE203Ba7c54e2712975E93313a1824b67e1
REWARD_ETH_CONTRACT_ADDRESS=0xCFAAb3f925c9cd6F3B3a7c9Af9389EA2F3D7de78
STAKED_ETH_CONTRACT_ADDRESS=0x124dd949ce16de90A0440527f8b9321080DFC888
REPORTER_PRIVATE_KEY=0x<private_key>
NOTIFIERS_TELEGRAM_TOKEN=12345token
NOTIFIERS_TELEGRAM_CHAT_ID=123456
EOL
```

Expand Down

0 comments on commit 677cbe0

Please sign in to comment.