Introducing Harber.io- combining prediction markets and NFTs for the first time
“Don’t bet on it, own it”
If you think Manchester United will win the English Premier League, instead of simply putting money on them, rent the Manchester United token.
Harber.io is a unique gambling platform, built on top of Augur. There is one NFT per team/outcome. To rent a token, users set a daily rental price and deposit DAI to fund the rent. Token ownership changes via modified Harberger tax rules.
At the end of the season/event, all holders of the winning NFT will receive a split of the total rental payments in proportion to how long they have held the token. Unlike more traditional gambling, your winnings are not determined by how much money you invest. All that matters is how long you own the token for.
Augur V2 is used as an Oracle. All rental payments are funnelled straight to Augur and used to purchase ‘complete sets’, or a share of every outcome. Upon market resolution, these are sold and the proceeds distributed to the winners.
Tokens are fully ERC721 compliant (and can be viewed in any ERC721 wallet) with the exception that only the contract can modify the owner.
How does it work?
To rent a token, simply choose a daily rental price and deposit some DAI to fund the rent. If the token is already owned, no problem- just set a higher rental price and you will immediately become the new owner. Unlike traditional Harberger Tax rules, the new owner does not need to pay anything to the previous owner.
Users are free to withdraw their unused deposits at any time.
If your deposit runs out (or you withdraw it), token ownership will revert to the previous owner. Crucially, the price will also revert to what it was at the time- you will never end up paying a higher rental price than you originally set. If there are no previous owners, the token becomes unowned, and the price is set to zero.
For a more fleshed out and numerical example, see the ‘Example Flow’ in the Github readme here.
Harber will be funded by a 1% fee on rent.
This is my first dapp and would welcome any feedback or suggestions (or if you would like to get involved). My telegram is mcplums.