Staking contract for users to lock their deposits for a fixed amount of time to generate voting power.
pub enum ExecuteMsg {
Deposit {},
Withdraw { amount: Uint128 },
Stake { lock_amount: u128 },
Unstake { unlock_amount: u128 },
}
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 is newly instantiated with zero funds.
⭐ Goal for the challenge:
- Demonstrate how an unprivileged user can achieve an unfair amount of voting power.