Skip to content

Commit

Permalink
update starter project README
Browse files Browse the repository at this point in the history
  • Loading branch information
haseebrabbani committed Apr 7, 2022
1 parent 3fd681c commit 0ba8c12
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
13 changes: 6 additions & 7 deletions starter-project/README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# High Gas Agent
# Large Tether Transfer Agent

## Description

This agent detects transactions with high gas consumption
This agent detects transactions with large Tether transfers

## Supported Chains

Expand All @@ -14,14 +14,13 @@ This agent detects transactions with high gas consumption
Describe each of the type of alerts fired by this agent

- FORTA-1
- Fired when a transaction consumes more gas than 1,000,000 gas
- Severity is always set to "medium" (mention any conditions where it could be something else)
- Type is always set to "suspicious" (mention any conditions where it could be something else)
- Fired when a transaction contains a Tether transfer over 10,000 USDT
- Severity is always set to "low" (mention any conditions where it could be something else)
- Type is always set to "info" (mention any conditions where it could be something else)
- Mention any other type of metadata fields included with this alert

## Test Data

The agent behaviour can be verified with the following transactions:

- 0x1b71dcc24657989f920d627c7768f545d70fcb861c9a05824f7f5d056968aeee (1,094,700 gas)
- 0x8df0579bf65e859f87c45b485b8f1879c56bc818043c3a0d6870c410b5013266 (2,348,226 gas)
- 0x3a0f757030beec55c22cbc545dd8a844cbbb2e6019461769e1bc3f3a95d10826 (15,000 USDT)
1 change: 1 addition & 0 deletions starter-project/py/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ RUN python3 -m pip install --user -r requirements.txt

# Final stage: copy over Python dependencies and install production Node dependencies
FROM node:12-alpine
# this python version should match the build stage python version
RUN apk add python3
COPY --from=builder /root/.local /root/.local
ENV PATH=/root/.local:$PATH
Expand Down

0 comments on commit 0ba8c12

Please sign in to comment.