Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.