Skip to content
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 

Blueprint Contract Base for Hedge Platform

Includes basic ERC20 token creation, escrow vault and oraclize API verification.

Learn more at: https://rublix.io

Contract:

BlueprintAlpha.sol

Additional Libraries Required:

oraclizeAPI.sol
strings.sol

Variables:

1. Expiration
2. Predicted price
3. API to use

Description

This contract allows the creator to submit a "Blueprint" to the Ethereum network in the form of a smart contract. Other individuals may places "bets" on this contract by sending their ERC20 tokens to it.

  • If the creator is correct with his prediction all of the tokens in the betting pool will be rewarded to the "Blueprint" creator.
  • If the creator is incorrect with his prediction all of the tokens in the betting pool will be returned to the participants.

The contract can be modified to have contract creator put in token stake to even out the playfield.

About

Hedge Application Smart Contracts

Resources

License

Releases

No releases published

Packages

No packages published