diff --git a/starter-project/README.md b/starter-project/README.md index 6bac239..d48f80a 100644 --- a/starter-project/README.md +++ b/starter-project/README.md @@ -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 @@ -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) diff --git a/starter-project/py/Dockerfile b/starter-project/py/Dockerfile index 993107b..e91d303 100644 --- a/starter-project/py/Dockerfile +++ b/starter-project/py/Dockerfile @@ -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