Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Decouple and upgrade dependencies to the latest versions #220

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@
},
"slither.solcPath": "",
"slither.hiddenDetectors": []
}
}
4 changes: 4 additions & 0 deletions web3-actions/priceFeedMonitor/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
Inside this directory, you will find the code for the RedStone Price Feed monitoring using Tenderly Web3 Actions. This code is used to monitor the price feed of the RedStone smart contracts for different token pairs and trigger alerts if the price feed was not updated for a certain period of time. In this case, the alert is sent to Opsgenie.

## Install Tenderly CLI

If you haven't already, install [Tenderly CLI](https://github.com/Tenderly/tenderly-cli#installation).

Before you go on, you need to login with CLI, using your Tenderly credentials:
Expand All @@ -15,13 +16,15 @@ tenderly login

Before you can build and publish/deploy the Web3 Actions, you need modify the configuration `.yaml` file for the project.
Some configuration files inside this directory are:

- [`lskUsd.yaml`](./lskUsd.yaml) - configuration file for the RedStone price feed monitoring for the LSK/USD token pair
- [`ethUsd.yaml`](./ethUsd.yaml) - configuration file for the RedStone price feed monitoring for the ETH/USD token pair
- [`usdtUsd.yaml`](./usdtUsd.yaml) - configuration file for the RedStone price feed monitoring for the USDT/USD token pair
- [`usdcUsd.yaml`](./usdcUsd.yaml) - configuration file for the RedStone price feed monitoring for the USDC/USD token pair
- [`wbtcUsd.yaml`](./wbtcUsd.yaml) - configuration file for the RedStone price feed monitoring for the WBTC/USD token pair

You need to provide the following information in the configuration file(s), under `actions`:

- `YOUR_ACCOUNT_SLUG` - your Tenderly account
- `YOUR_PROJECT_SLUG` - your Tenderly project

Expand All @@ -40,4 +43,5 @@ tenderly actions publish --project-config [yaml_filename_without_extension]
or
tenderly actions deploy --project-config [yaml_filename_without_extension]
```

`publish` is used to publish the Web3 Actions to the Tenderly platform without deploying them.
2 changes: 1 addition & 1 deletion web3-actions/priceFeedMonitor/ethUsd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ actions:
type: periodic
periodic:
interval: 1h
execution_type: parallel
execution_type: parallel
2 changes: 1 addition & 1 deletion web3-actions/priceFeedMonitor/lskUsd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ actions:
type: periodic
periodic:
interval: 1h
execution_type: parallel
execution_type: parallel
Loading
Loading