Content pfp
Content
@
https://warpcast.com/~/channel/streme
0 reply
0 recast
0 reaction

Mark Carey ๐ŸŽฉ๐Ÿซ‚ pfp
Mark Carey ๐ŸŽฉ๐Ÿซ‚
@markcarey
Calling any Solidity devs for a 2 minute smart contract audit! This is a @gigbot.eth gig with a reward of 10,000,000 $STREME. The StremeStakingRewardsFunder.sol contact is a simple contract that aims to provide a collective funding mechanism where users pool their /streme staking rewards. Functions include: - enable users to deposit any amount of a specific staked /streme coin (which earn streaming rewards to the holder of the staked tokens) - enable depositors to withdraw at any time, never locked - enable the MANAGER (admin) to withdraw ONLY the streamed rewards (the unstaked version of the /streme coin) - enable the admin to force withdrawals, but ONLY to the depositor's wallet - enable the admin to pause deposits ONLY (withdrawals cannot be paused nor disabled) https://github.com/streme-fun/streme-contracts/blob/main/contracts/StremeStakingRewardsFunder.sol
9 replies
30 recasts
46 reactions

lopezonchain.base.eth pfp
lopezonchain.base.eth
@lopezonchain.eth
It is pretty nice! The only things I can think of are: - Rewards are not for the stakers or how you know how to distribute them afterwards? Looking at events/txs? The contract has amount deposited but not dates or if it was one time deposit or different times or whatever - Prevent people sending coins directly to the contract to prevent loss of funds (to prevent loss of funds or spam tokens)
1 reply
0 recast
0 reaction

Mark Carey ๐ŸŽฉ๐Ÿซ‚ pfp
Mark Carey ๐ŸŽฉ๐Ÿซ‚
@markcarey
The goal here is collective funding. The depositors are basically agreeing to **donate** their staking rewards to the fund for the duration of their deposit. They expect only to receive the amount they deposited, and nothing more. For this reason, timestamps are not needed. They can withdraw at any time and start receiving the staking rewards again. I don't think it is possible to prevent people from sending token directly to the contract (also it's unlikely that they would do so). But if you have suggestions...
1 reply
0 recast
1 reaction

lopezonchain.base.eth pfp
lopezonchain.base.eth
@lopezonchain.eth
Ohh I understand now, fine! Well, yeah sorry it is late and I had a long day lmao. I was trying to say preventing lost of funds with native coin, just with a fallback and receive preventing native coin being sent in there Tokens are never in there so cant prevent it, you are right
0 reply
0 recast
1 reaction