
Due to the decentralized nature of EthMadness — payouts are not immediate. The ‘judging’ period takes place in two phases:
We have just finished this phase!
- that advanced marked the tournament as complete and advanced the contract to the ‘oracle vote’ state.
- These are our oracle vote transaction — , , , .
- And is the transaction that advanced the contract state from the ‘oracle vote’ state to the ‘reveal’ state (which we are currently in and is described below).
2) A week long ‘reveal period’. This mechanism exists due to the price of executing bracket scoring. With 200 brackets, the gas cost of the execution would’ve been manageable, but with 100,000 brackets, we’d run out of gas if we tried to judge all the brackets — effectively DDoSing the contract. Instead, we use a common pattern of a reveal period — where anyone can submit a transaction that says — ‘my bracket was the 1st place bracket, please verify that, and then the payout should go to me’.
To make things easy, we’re submitting the ‘reveals’ for each winning bracket since there’s not much at stake here, given we’re the ones who put up the prize pool. If instead ,players had submitted their own buy-ins, it would be important for players to submit their own reveals. Anyone can still submit a reveal for our current bracket challenge, but we thought it’d be easier to submit them on behalf of the top brackets.
For example, you could execute the claimTopEntry method — — with the encoded bracket data that was submitted via the UI and associated with a specific address.
Once the reveal period is over, we can advance the contract to the completed state, which will trigger the DAI payouts. Long story short, winners will receive their Dai payouts in about a week!
Published at Wed, 10 Apr 2019 17:15:29 +0000