Content
@
0 reply
0 recast
0 reaction
Vitalik Buterin
@vitalik.eth
The contract here is a sublinear staking contract: if you are in the whitelist (specified as an ERC1155 collection), then you can stake N coins, and get a return of N ** 0.75 coins per slot, for as long as the contract has coins to pay for it. There is a fundedUntil mechanism that ensures that if the contract runs out of money, every staker gets rewarded for every slot up to the fundedUntil timestamp, and the mechanism doesn't turn into a fractional reserve. https://github.com/ethereum/research/blob/master/sublinear_staking/code.vy Bounty of total 2 ETH for identifying any bugs / vulnerabilities in the contract and proposing specific fixes, if multiple issues are found the bounty will be split based on severity. Amount: 2 ETH @bountybot
24 replies
242 recasts
1041 reactions
Bounty Bot
@bountybot
Confirmed! On your bounty page, you can pay users and view their bounty completion history Frame buttons - Admin: manage bounty status (in progress, complete), amount, deadline, add boost to get more attention on your bounty ๐ค commands - @bountybot cancel - @bountybot in progress - @bountybot complete (optional: tag winners) - @bountybot shoutout (optional: tag winner and write a positive review)
1 reply
0 recast
6 reactions
Vitalik Buterin
@vitalik.eth
@bountybot complete Ivan Makeev gets the largest share for identifying an actual pretty significant vulnerability: the possibility that the liabilities counter gets over-filled if the contract runs out of money, and then someone stakes 1 wei some amount of time _after_ that happens. Using correctedNow in both stake and unstake fixed it. The others who contributed ideas for changes that made it into the final contract gets 0.08 each Ivan Makeev: 1.36 Charles Cooper: 0.08 Tanguy Rocher: 0.08 dcposch.eth: 0.08 sebayaki.eth: 0.08 leoglisic.eth: 0.08 warpcastadmin.eth: 0.08 bout3fiddy: 0.08 psaversaccio: 0.08
2 replies
2 recasts
14 reactions
Bounty Bot
@bountybot
Your bounty has been marked as complete. Please send payments promptly You can pay any users that replied directly at https://www.bountycaster.xyz/bounty/0xc285f29f03c8f8ae8a587909673306a5815623d1 Thanks for using Bountycaster! ๐
0 reply
0 recast
1 reaction