JPEG'd contest - Picodes's results

Bridging the gap between DeFi and NFTs.

General Information

Platform: Code4rena

Start Date: 07/04/2022

Pot Size: $100,000 USDC

Total HM: 20

Participants: 62

Period: 7 days

Judge: LSDan

Total Solo HM: 11

Id: 107

League: ETH

JPEG'd

Findings Distribution

Researcher Performance

Rank: 38/62

Findings: 2

Award: $233.17

🌟 Selected for report: 0

🚀 Solo Findings: 0

Awards

152.5804 USDC - $152.58

Labels

bug
QA (Quality Assurance)
sponsor acknowledged

External Links

##Tokens should implement Permit for integrations purposes

Team should consider implementing ERC2612 https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC20/extensions/draft-ERC20Permit.sol as it enables a lot of powerful integrations where you can skip the approval step and do everything in 1 transaction. It can also simply JPEG UX.

https://github.com/code-423n4/2022-04-jpegd/blob/main/contracts/tokens/StableCoin.sol https://github.com/code-423n4/2022-04-jpegd/blob/main/contracts/tokens/JPEG.sol

##Trust placed in DAOs seems highly dangerous and could be avoided https://github.com/code-423n4/2022-04-jpegd/blob/e72861a9ccb707ced9015166fbded5c97c6991b6/contracts/vaults/FungibleAssetVaultForDAO.sol#L18

Here, why not implementing safeguards for DAOs Fungible Vaults ? Like you could burn borrowed assets on their behalf, or withdraw and do a by hand liquidation with some governance functions

Awards

80.5853 USDC - $80.59

Labels

bug
G (Gas Optimization)
sponsor acknowledged

External Links

https://github.com/code-423n4/2022-04-jpegd/blob/e72861a9ccb707ced9015166fbded5c97c6991b6/contracts/vaults/NFTVault.sol#L76

stablecoin could be made constant or immutable, that is to say could be written in the implementation’s byte code as should be the same across all vaults.

AuditHub

A portfolio for auditors, a security profile for protocols, a hub for web3 security.

Built bymalatrax © 2024

Auditors

Browse

Contests

Browse

Get in touch

ContactTwitter