Smart contract that allows user deposit for a locked period before unlocking them.
pub enum ExecuteMsg {
Deposit {},
Withdraw { ids: Vec<u64> },
}
Please check the challenge's integration_tests for expected usage examples. You can use these tests as a base to create your exploit Proof of Concept.
🏠 Base scenario:
- The contract contains initial funds.
USER
deposits funds into the contract.
⭐ Goal for the challenge:
- Demonstrate how an unprivileged user can drain all funds inside the contract.