CryptoAudit on Nostr: Due to the huge use of Chainlink to request off-chain pricing data, we must check ...
Due to the huge use of Chainlink to request off-chain pricing data, we must check that the pricing data is not stale. Because if this happens, the prices will not reflect the current pricing and this will cause loss of funds for the user or the platform.
```
(, int256 price, , , ) = priceFeedDAIETH.latestRoundData();
```
Published at
2024-09-14 18:54:35Event JSON
{
"id": "3ac5fa0ac0a2859304f6783b747e420e282f3c062a5cda244824d3aa85970da6",
"pubkey": "daf7f4ccb8f4129d093c5b72d94423d8ff76b894dcf2789931aa62cf429e95a6",
"created_at": 1726340075,
"kind": 1,
"tags": [
[
"r",
"priceFeedDAIETH.latestRoundData"
]
],
"content": "Due to the huge use of Chainlink to request off-chain pricing data, we must check that the pricing data is not stale. Because if this happens, the prices will not reflect the current pricing and this will cause loss of funds for the user or the platform.\n```\n(, int256 price, , , ) = priceFeedDAIETH.latestRoundData();\n```",
"sig": "7b06f6853e2a55f3466272bb7c6700662c075d9f4887f24237a270bddcab31c8b7b465c814d10d297a90b1c8604aaaf3664c24bd80f7db2e34633a3a0054f5c2"
}