Score the smart contract in question 1 to 5 in the following categories, then use the total to determine the code review level required.

0+: Peer review

15+: +Internal audit

20+: +Code Arena audit

30+: +Full audit

Anything that requires an internal audit or more, send to Sam Sun as well.

Financial impact is scored exclusively on Asset Holding and Wallet Allowances. Other categories should consider only the added complexity, and therefore added difficulty to understand what the code does.

Asset Holding

Double score. Consider amount of protocol assets held, or with allowances for, proportional to the total held by the protocol, with 10 for 100%, 8 for 50%, 6 for 25%, 4 for 10% and 2 for 5%. Consider underlying, fyTokens, pool tokens and strategy tokens, at least.

Wallet Allowances

Consider proportion of asset types that the contract will move or have allowances for, with 5 for 100%, 4 for 50%, 3 for 25%, 2 for 10% and 1 for 5%. Consider underlying, fyTokens, pool tokens and strategy tokens, at least.

Math

Consider elements like fixed point math, number of different formulas, use of exponentials, and others.

Proxies

If the contract uses delegatecall, that’s a 5.