diff --git a/src/content/protocols/pancakeswap-v3-bsc.md b/src/content/protocols/pancakeswap-v3-bsc.md new file mode 100644 index 000000000..e7d27cec8 --- /dev/null +++ b/src/content/protocols/pancakeswap-v3-bsc.md @@ -0,0 +1,126 @@ +--- +protocol: "PancakeswapAMM-v3" +website: "https://pancakeswap.finance/home" +x: "https://x.com/pancakeswap" +github: ["https://github.com/pancakeswap"] +defillama_slug: ["pancakeswap-amm-v3"] +chain: "Binance Smart Chain" +stage: 0 +reasons: ["remove", "if none"] +risks: ["x", "x", "x", "x", "x"] +author: ["eliasbourgon"] +submission_date: "2025-04-26" +publish_date: "1970-01-01" +update_date: "1970-01-01" +--- + +# Summary + +Add a summary of the protocols. What is it? What does it do? etc. + +# Overview + +## Chain + +See for more guidance. + +> Chain score: Low/Medium/High + +## Upgradeability + +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 + +For some practical guidance follow this steps. It will help you in writing a nice report: + +1. Run the [permission scanner](https://github.com/deficollective/permission-scanner) + +2. 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 + +3. Get a mechanistic and precise understanding of each permissioned function + +4. Assess impact for each function, look out for + + - loss/blocking of user funds + - loss of unclaimed yield + - change expected behavior significantly (blacklisting/kyc/fees/...) + +5. Write the impact column based on your understanding + + - A good tipp when writing the impact column below, think of least 2,3 sentences: + + 1. First sentence: what it does technically, e.g "It assigns a new address to the owner variable" + 2. Second: what is the impact within the system, e.g "The owner is permissioned to raise fees" + 3. Third: Imagine faulty or malicious action, e.g "The malicious owner could raise fees to 100%, redirecting all future yield. + +6. Summarise and abstract away technical details in this section here (`## Upgradeability`) + +> Upgradeability score: Low/Medium/High + +## Autonomy + +See for more guidance. + +> Autonomy score: Low/Medium/High + +## Exit Window + +See for more guidance. + +> Exit Window score: Low/Medium/High + +## Accessibility + +See for more guidance. + +> Accessibility score: Low/Medium/High + +# Technical Analysis + +## Contracts + +| Contract Name | Address | +|---------------|---------------------------------------------| +| contract 1 | [0x123](https://etherscan.io/address/0x123) | +| contract 2 | [0x456](https://etherscan.io/address/0x456) | + +## Permission owners + +| Name | Account | Type | +|------|---------------------------------------------|--------------| +| name | [0x...](https://etherscan.io/address/0x...) | Multisig x/y | +| name | [0x...](https://etherscan.io/address/0x...) | Contract | +| name | [0x...](https://etherscan.io/address/0x...) | EOA | + +## Permissions + +| Contract | Function | Impact | Owner | +|----------|----------|------------------------------------------|----------| +| contract name | functionname | Description in 3 Sentences. | owner of the permission | +| contract name | functionname | First sentence: what it does technically, e.g "It assigns a new address to the owner variable". | owner of the permission | +| contract name | functionname | Second sentence: what is the impact within the system, e.g "The owner is permissioned to raise fees". | owner of the permission | +| contract name | functionname | 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 | + +## Dependencies + +Explain the autonomy section in more technical details. + +## Exit Window + +Explain the exit window in more technical details. + +# Security Council + +See for guidance. + +change ✅ or ❌ accordingly + +| ✅ /❌ | Requirement | +|--------|---------------------------------------------------------| +| ❌ | At least 7 signers | +| ❌ | At least 51% threshold | +| ❌ | At least 50% non-insider signers | +| ❌ | Signers are publicly announced (with name or pseudonym) |