Content pfp
Content
@
https://opensea.io/collection/dev-21
0 reply
0 recast
2 reactions

Jacek.degen.eth 🎩 pfp
Jacek.degen.eth 🎩
@jacek
If you're a Solidity dev and interested in helping out Degen by auditing or reviewing our Locked Degen ERC-20 contract, we'd love your support. Your help in finding bugs or suggesting code improvements would be greatly appreciated! Thanks! https://github.com/degen-token/degen-smart-contracts/pull/22
29 replies
35 recasts
211 reactions

J. Valeska πŸ¦ŠπŸŽ©πŸ«‚ pfp
J. Valeska πŸ¦ŠπŸŽ©πŸ«‚
@jvaleska.eth
some people is asking about it.. and I had to stop my audit.. after found it.. LN 130 - updateLockDuration() function This allow the owner to change the locking period.. between 0-365 days. LN 118 - if (block.timestamp <= depositTimestamps[msg.sender] + lockDuration) revert... This check on lockDuration in the withdraw function allows the owner to do some tricks with the locking period: - the owner could lock and unlock by managing to do a sandwich: updateLockFunction-withdraw-updateLockFunction, withdrawing without respecting the lock. And, setting it again locking users funds. - the owner could extend the locking period, from an initial 0 days to 1 year. Locking user funds for 1 year without user "permission".
13 replies
0 recast
6 reactions

kenny 🎩 pfp
kenny 🎩
@kenny
13333 $DEGEN
3 replies
0 recast
0 reaction

J. Valeska πŸ¦ŠπŸŽ©πŸ«‚ pfp
J. Valeska πŸ¦ŠπŸŽ©πŸ«‚
@jvaleska.eth
thank you so much πŸ’œ
1 reply
0 recast
0 reaction

kenny 🎩 pfp
kenny 🎩
@kenny
thank you for keeping up degens safe!
0 reply
0 recast
0 reaction