Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A hashrate insurance based on hashrate contract #26

Open
0xSSoul opened this issue Jul 9, 2019 · 0 comments
Open

A hashrate insurance based on hashrate contract #26

0xSSoul opened this issue Jul 9, 2019 · 0 comments

Comments

@0xSSoul
Copy link
Member

0xSSoul commented Jul 9, 2019

A insurance smart contract for hedger (miner) could be constructed on the hashrate contract and Uniswap Protocol.

Insurance smart contract interface:

  • buy():
    • buy a serial of hashrate contract short position tokens from Uniswap Protocol.
      • eg. buy short position tokens expiration in 14/28/42/56 days.
  • speculate():
    • mint a pair of long and short position tokens by sending collateral to Market Protocol
    • deposit the short position tokens to Uniswap's liquidity pool

The hedgers call buy(). The speculaters() call speculate. Thanks to the Uniswap Protocol, the process of trading this insurance is asynchronous and the price is determined by supply and demand.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant