| chain | the name of the chain on which the protocol is deployed | |||||
|---|---|---|---|---|---|---|
| stage | 0 | |||||
| reasons |
|
|||||
| risks |
|
|||||
| author |
|
|||||
| submission_date | 1970-01-01 | |||||
| publish_date | 1970-01-01 | |||||
| update_date | 1970-01-01 |
Add a summary of the protocols. What is it? What does it do? etc.
See http://defiscan.info/framework#chain for more guidance.
Chain score: Low/Medium/High
In the upgradability section & risk we address bytecode upgrades and parameter changes that are permissioned.
We wrote a section explaining the Upgradeability Risk in our framework here: See http://defiscan.info/framework#upgradability
For some practical guidance follow this steps. It will help you in writing a nice report:
- Run the permission scanner
- Fill in all the permissioned functions in the table (
## Permissions)- Remember: Each function with a permission needs to be considered when determining the risk on Upgradability
- Get a mechanistic and precise understanding of each permissioned function
- Assess impact for each function, look out for
- loss/blocking of user funds
- loss of unclaimed yield
- change expected behavior significantly (blacklisting/kyc/fees/...)
- Write the impact column based on your understanding
- A good tipp when writing the impact column below, think of least 2,3 sentences:
- First sentence: what it does technically, e.g "It assigns a new address to the owner variable"
- Second: what is the impact within the system, e.g "The owner is permissioned to raise fees"
- Third: Imagine faulty or malicious action, e.g "The malicious owner could raise fees to 100%, redirecting all future yield.
- Summarise and abstract away technical details in this section here (
## Upgradeability)
Upgradeability score: Low/Medium/High
See http://defiscan.info/framework#autonomy for more guidance.
Autonomy score: Low/Medium/High
See http://defiscan.info/framework#exit-window for more guidance.
Exit Window score: Low/Medium/High
See http://defiscan.info/framework#accessibility for more guidance.
Accessibility score: Low/Medium/High
Some text in form of:
The xyz protocol achieves High centralization risk scores for its Upgradeability, Autonomy and Exit Window dimensions. It thus ranks Stage 0.
The protocol could reach Stage 1 by ...
The project additionally could advance to Stage 2 if ...
(Here, anything worth mentioning about what critical permissions you excluded from the scope or some elements that xyz protocol does in a unique way. If nothing seems relevant, just say that :)
Here include the diagram. Please explain what the main contracts are doing within the diagram.
Go into more detail of the oracle, bridge, or other dependency the defi protocol is using
Here anything relevant to the governance, in this case it could be what you highlighted in "Upgrade Process"
New table with all the multisigs
| Name | Account | Type | ≥ 7 signers | ≥ 51% threshold | ≥ 50% non-insider | Signers public |
|---|---|---|---|---|---|---|
| Team Multisig | 0x123 | Multisig | ✅ | ❌ | ❌ | ✅ |
| Contract Name | Address |
|---|---|
| contract 1 | 0x123 |
| contract 2 | 0x456 |
| Name | Account | Type |
|---|---|---|
| name | 0x... | Multisig x/y |
| name | 0x... | Contract |
| name | 0x... | EOA |
| Contract | Function | Impact | Owner |
|---|---|---|---|
| contract name | functionname | First sentence: what it does technically, e.g "It assigns a new address to the owner variable". Second sentence: what is the impact within the system, e.g "The owner is permissioned to raise fees". Third sentence: Imagine faulty or malicious action, e.g "The malicious owner could raise fees to 100%, redirecting all future yield. | owner of the permission |