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

J. Valeska πŸ¦ŠπŸŽ©πŸ«‚ pfp
J. Valeska πŸ¦ŠπŸŽ©πŸ«‚
@jvaleska.eth
LN 31-32 IERC20 public constant TOKEN = IERC20(0xfee293840D23B0B2De8C55e1Cf7A9F01C157767c); the address should be DEGEN token address!? (I guess it is okay for testing?)
3 replies
0 recast
3 reactions

Ryan J. Shaw pfp
Ryan J. Shaw
@rjs
IMO 1 is not an issue because the owner already controls the entire treasury and users have no expectation of the owner locking anything, nor does it impact user funds (could change if e.g. owner says I'm locking for a year you should too! ) 2 I also pointed out and users should definitely be mad aware of the risk, ideally shouldn't be possible
1 reply
0 recast
0 reaction

Jerry-d πŸ–πŸ‘½πŸŽ© ↑ pfp
Jerry-d πŸ–πŸ‘½πŸŽ© ↑
@jerry-d
Hey J-V! Tipping you on behalf of Jacek πŸ˜„πŸŽ­ 1700 $DEGEN
3 replies
0 recast
0 reaction

Itsai βŒβ—¨-β—¨ pfp
Itsai βŒβ—¨-β—¨
@itsai
I knew you where cool but not so cool bro 😎
0 reply
0 recast
0 reaction

Jacek.degen.eth 🎩 pfp
Jacek.degen.eth 🎩
@jacek
This is a fair point. I was considering that in the future we might vote on adjusting the lock duration. However, I think a better approach is to launch separate contracts with different lock periods, such as 1 year and 3 months, based on demand. We'll also modify the lock duration function so that it can only be reduced. If we need to reduce the lock period to 0, it will apply to all users, and there will be no way to increase it again.
0 reply
0 recast
0 reaction

Jacek.degen.eth 🎩 pfp
Jacek.degen.eth 🎩
@jacek
Also, once the new season kicks off, I'll tip you. I've fallen behind on my tipping lately, and now I'm down to a 5-tip limit, lol. This season seriously needs an upgrade. Sending 5 $DEGEN for now.
9 replies
0 recast
11 reactions

ash pfp
ash
@ashmoney.eth
3000 $degen
2 replies
0 recast
0 reaction

assayer pfp
assayer
@assayer
5 $degen because of the great job, but mostly because it is probably the only chance ever that my tip = @jacek tip πŸ˜‚ 🀣 πŸ˜‚ 🀣 πŸ˜‚ 🀣 πŸ˜‚ 🀣 πŸ˜‚ 🀣
1 reply
0 recast
0 reaction

Ramsey  🎩🀝  pfp
Ramsey 🎩🀝
@ramsey
500 $DEGEN for this great discovery.
2 replies
0 recast
0 reaction

Taye 🎩 pfp
Taye 🎩
@casedup
Whoa you did a damn great job. 5500 $DEGEN
1 reply
0 recast
0 reaction

jp 🎩 pfp
jp 🎩
@jpfraneto.eth
you are awesome 1618 $degen
1 reply
0 recast
0 reaction

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

FCP pfp
FCP
@fuckcoolpussy.eth
good work 2000 $degen
3 replies
0 recast
0 reaction