From 49435afd1128a17c8093ac23ec64f2488abf7e94 Mon Sep 17 00:00:00 2001 From: Harsh Kumar Date: Wed, 27 Dec 2023 01:14:42 +0530 Subject: [PATCH 1/5] Create usdc-transfers-polygon --- examples/usdc-transfers-polygon | 52 +++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 examples/usdc-transfers-polygon diff --git a/examples/usdc-transfers-polygon b/examples/usdc-transfers-polygon new file mode 100644 index 0000000..9d5b1d6 --- /dev/null +++ b/examples/usdc-transfers-polygon @@ -0,0 +1,52 @@ +## USDC Transfers on Polygon + +### Description + +Get a QuickAlert anytime there is a USDC transaction on Polygon Mainnet + +### Blockchain & Network + +Polygon Mainnet + +### Expression Values + +- `0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174` contract address of **USDC** on **Polygon Mainnet** + +### Expression +``` +tx_logs_address == '0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174' +``` + +### Expected Result + +``` +{ +"block_number":51589765 +"topic":"raw-polygon-mainnet" +"chain":"polygon-mainnet" + "block":{ + "baseFeePerGas":"0x1b2d03f5fd" + "difficulty":"0x18" + "extraData":"0xd88301010083626f7289676f312e32302e3130856c696e757800000000000000ff2d69fd6af78b43ff65a6bcad5a34ce33777fa9f486683a9a66003d41c6218068bad679b9ddd003be7502a9367e6069ec966c5506b477095da9e11505bcfaa200" + "gasLimit":"0x1c9c380" + "gasUsed":"0xffc7b7" + "hash":"0x43e94e8c1af8ffb6dca7c8124e3239f66ac7f14e3115c458c8ec4fc3a675f4a9" + "logsBloom":"0x1c7c00f532850182fea8c004c4b4d040fa24530fee5d4b6809943c5a950b3d1d13281829ec45647641678810a11701710a02c330d31e6402a591f290612aa491884cb8e5182fc8e8e6e4abc9786aa0ab411505c4c571858cb5cbe2e697f7024268c4027986a750bcb89557d2a0068915808ebd55a100167da37be5ba49281469827322b680fd50200900d3ac171f99a0744b2fc1be15839a61434a76044229a0e24b0993d5709f044c22884e02dfbfa0f8f81c4b30b643132021b823405de7ddab3d52469261991d9b0788e2c84057604477ae422004c812c4578c9f2a71330b95d0a4a240408071240d2d8a6781778dc21080e752329859d44a501f46163d02" + "miner":"0x0000000000000000000000000000000000000000" + "mixHash":"0x0000000000000000000000000000000000000000000000000000000000000000" + "nonce":"0x0000000000000000" + "number":"0x3133285" + "parentHash":"0xbd9d18c144beca2432bf1371b9e175d8b318ec344582bc9afc2693b562bd8e72" + "receiptsRoot":"0x6bfd77cc6826c7017571efb6c19467903cbfc166cea9107fa35a66b8091d021b" + "sha3Uncles":"0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + "size":"0xd11f" + "stateRoot":"0x7113091e77fb53f9b3c4a9411c61d579c92107a51b2156e406f9f18082bebbf3" + "timestamp":"0x658b286d" + "totalDifficulty":"0x36fd4ae4" + "transactions": // Details of individual transactions in the block + "transactionsRoot":"0xb280a097de28fba6851c4641e43a7b9e6eee61247443e38ed427a137a4ee8bcf" + "uncles":[] + } + "receipts": [...] +} +``` From 444bb71a463ee0c53432a63aaa1b4bc7fd64a317 Mon Sep 17 00:00:00 2001 From: Harsh Kumar Date: Wed, 27 Dec 2023 01:17:33 +0530 Subject: [PATCH 2/5] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 75a6cd7..13e7f15 100644 --- a/README.md +++ b/README.md @@ -49,6 +49,7 @@ To use the example alerts, simply copy the expression details from the example a - [$BLUR Airdrop Claimed meets a certain threshold of tokens](examples/blur-whale-claims.md) - Blocks - [Block Number Alert - Get alerts when a specific block is mined](examples/block-number-alert.md) + - [USDC Transactions Alert - Get alerts anytime there is a USDC transcation on Polygon Mainnet](examples/usdc-transactions-polygon.md) ### Contribution Guide We welcome contributions from the community to share their examples! If you'd like to contribute, please follow these guidelines: From d9bb9144b3b7f26df366a8e3d196f0742beb6de2 Mon Sep 17 00:00:00 2001 From: Harsh Kumar Date: Wed, 27 Dec 2023 01:18:11 +0530 Subject: [PATCH 3/5] Rename usdc-transfers-polygon to usdc-transfers-polygon.md --- examples/{usdc-transfers-polygon => usdc-transfers-polygon.md} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename examples/{usdc-transfers-polygon => usdc-transfers-polygon.md} (100%) diff --git a/examples/usdc-transfers-polygon b/examples/usdc-transfers-polygon.md similarity index 100% rename from examples/usdc-transfers-polygon rename to examples/usdc-transfers-polygon.md From a1900b951e99f0e58c04c895a666b1c264590685 Mon Sep 17 00:00:00 2001 From: Harsh Kumar Date: Wed, 27 Dec 2023 01:18:59 +0530 Subject: [PATCH 4/5] Rename usdc-transfers-polygon.md to usdc-transactions-polygon.md --- .../{usdc-transfers-polygon.md => usdc-transactions-polygon.md} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename examples/{usdc-transfers-polygon.md => usdc-transactions-polygon.md} (100%) diff --git a/examples/usdc-transfers-polygon.md b/examples/usdc-transactions-polygon.md similarity index 100% rename from examples/usdc-transfers-polygon.md rename to examples/usdc-transactions-polygon.md From 0b08bf9b67601ffd4b871f211076338a6d64d13f Mon Sep 17 00:00:00 2001 From: Harsh Kumar Date: Wed, 27 Dec 2023 01:19:15 +0530 Subject: [PATCH 5/5] Update usdc-transactions-polygon.md --- examples/usdc-transactions-polygon.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/usdc-transactions-polygon.md b/examples/usdc-transactions-polygon.md index 9d5b1d6..dcb9a9c 100644 --- a/examples/usdc-transactions-polygon.md +++ b/examples/usdc-transactions-polygon.md @@ -1,4 +1,4 @@ -## USDC Transfers on Polygon +## USDC Transactions on Polygon ### Description