The StakingWithDelayedWithdrawalContract is a smart contract built for staking ERC20 tokens, using Solidity 0.8.19 and OpenZeppelin's upgradeable libraries. It allows users to stake a specific token, referred to as the stakingToken, with defined periods for thawing and withdrawal. The thawing period refers to the time staked tokens must remain locked before becoming available, while the withdrawal period refers to the time that must pass after a withdrawal request is made before tokens can be withdrawn. Overall, the StakingWithDelayedWithdrawalContract provides a clear and efficient method for managing token staking in decentralized finance applications.
Low | Medium | High | Critical | Total | |
---|---|---|---|---|---|
Not fixed | - | - | 1 | - | 1 |
Fixed | 2 | 3 | 1 | - | 6 |
Total | 2 | 3 | 2 | 0 | 7 |
# | File Name |
---|---|
1 | StakingWithDelayedWithdrawalContract.sol |