Skip to content

Instantly share code, notes, and snippets.

@georgek146
Created October 15, 2017 21:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save georgek146/dc0a3d5ef3076243d55eee945a412ea6 to your computer and use it in GitHub Desktop.
Save georgek146/dc0a3d5ef3076243d55eee945a412ea6 to your computer and use it in GitHub Desktop.
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