Platform: Code4rena
Start Date: 04/02/2022
End Date: 06/02/2022
Period: 3 days
Status: Completed
Pot Size: $30,000 USDC
Participants: 37
Reporter: liveactionllama
Judge: leastwood
Id: 84
League: ETH
Auditor per page
The Citadel DAO is a black hole for Bitcoin in DeFi and the biggest user of BadgerDAOs products. Its goal is to acquire BTC and other assets that will support its mission of growing the largest BTC focused treasury in DeFi. Initial bootstrap of its treasury will be through a token sale program whose contract is in this audit contest.
The goal of this contest is to determine if the token sale contract is:
Specific care should be put in:
TokenSaleUpgradeable.sol - Allows a whitelisted user to deposit a tokenIn
and after the claiming period begins claim Citadel Tokens.
git submodule update --init --recursive pip install -r requirements.txt yarn install curl -L https://foundry.paradigm.xyz | bash
brownie test forge test
Because the folder is named 2022-02-badger-citadel, brownie will have issues in running the tests, just rename the folder and you'll be fine