Created
October 15, 2017 21:47
-
-
Save georgek146/dc0a3d5ef3076243d55eee945a412ea6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pragma solidity 0.4.9; | |
contract StockPurchase { | |
address public VNT; | |
string public Agreement = "https://gateway.ipfs.io/ipfs/QmVp1R6yEJARm6mrGTzSpU8Lo4QGk4ZQbxWMRcniUQJS4z"; | |
string public auth = "When execute() is called the Vega Network is digitally signing the Ageement."; | |
function execute() public constant returns (string) { | |
return auth; | |
} | |
function() { | |
if(msg.sender != VNT) throw; | |
execute(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment