Skip to content

In-depth lesson · Smart contracts

Year by year: 2022

What the disclosed Smart contracts reports of each year show, newest first: what first appeared, what kept working and what turned up less.

Back to the lesson 1 to 6 of 6 (of 21 in all)

Clear the search

2022

6 points

New this year2

  1. Checking whether the oracle can return a stale or deprecated pool price and whether the protocol handles it appears clearly in this year's reports.

    Seen in 2 reports
  2. Making the price oracle revert and checking whether the swap or fee burning path falls back to no slippage check appears in the disclosed reports.

    Seen in 1 report

Kept working4

  1. Functions making external calls to tokens, native currency or NFTs before updating state were the largest group of findings, in the disclosed reports.

    Seen in 6 reports
  2. Price feeds, pool share weights and Curve or Balancer pool oracles used for lending and vaults remained productive, in the disclosed reports.

    Seen in 4 reports
  3. Contracts accepting arbitrary ERC20 tokens as assets, collateral or rewards were tested with several token variants and broke accounting, in the disclosed reports.

    Seen in 2 reports
  4. Calling every transfer and transferFrom path with a token returning false or no value exposed silent continuations, in the disclosed reports.

    Seen in 2 reports