In-depth lesson · Smart contracts
Where it is found
Every point the Smart contracts reports back under this heading, best-backed first, each with the reports it is seen in.
-
Functions that make external calls to tokens, native currency or NFTs before updating state.
Seen in 18 reports
-
Any contract that calls transfer or transferFrom directly on an arbitrary token.
Seen in 6 reports
-
Price feeds, pool share weights and Curve or Balancer pool oracles used for lending and vaults.
Seen in 6 reports
-
Strategy allocation and deallocation functions in vaults.
Seen in 5 reports
-
Contracts that accept arbitrary ERC20 tokens as assets, collateral or rewards.
Seen in 3 reports
-
Initialise and setup functions on newly deployed contracts.
Seen in 3 reports
-
Staking withdraw and service creation in a service protocol.
Seen in 3 reports
-
Vault deposit, withdraw and redeem functions across yield and staking protocols.
Seen in 1 report
-
Liquidation and force repay paths.
-
DEX aggregator integrations and their approval handling.
Seen in 1 report
-
Reward accumulation updates in staking and vault contracts.
Seen in 1 report
-
Burn-from and total supply accounting.
Seen in 1 report
-
Session call signing and partial signature handling.
Seen in 1 report
-
ERC20 recovery functions in staking contracts.
Seen in 1 report
-
Leave functions in bottom-up checkpoint systems.
Seen in 1 report