Defi Hack is a set of solidity smart contract CTF challenges. I’ve decided to implement them using Hardhat+Typescript to make completing the challenges easier for others. Check out the repo here. Hints below for each level if you’re stuck and want a nudge.
Hints
- May The Force Be With You: Looks like MiniMeToken doesn’t implement the ERC20 standard.
- DiscoLP: Comment says depositToken(..) only accepts JIMBO/JAMBO tokens.
- P2PSwapper: What’s the default value for a mapping(x => uint)?
- FakerDAO: Looks like price() is a function of token reserves in the pair when it’s called.
- Main Khinkal Chef: I’d sure be nice to take control of MainChef.
Reach out on twitter.