Skip to content

Instantly share code, notes, and snippets.

View georgek146's full-sized avatar

George K georgek146

View GitHub Profile
@georgek146
georgek146 / Jack
Created December 15, 2017 07:43
wallet
0xbc286E74Da7C1eDaAc1855143E2099436f29201B
pragma solidity ^0.4.6;
import "./owned.sol";
import "./priceTicker.sol";
contract tokenRecipient {
function receiveApproval(address _from, uint256 _value, address _token, bytes _extraData);
}
contract Hedge is owned {
@georgek146
georgek146 / gist:e95138b34586fc078d85f5204e32b829
Created December 9, 2017 04:24
0xd1ce3920cB68f02f33B22c0ECa874cEd6d2cc841
0xd1ce3920cB68f02f33B22c0ECa874cEd6d2cc841
0xd1ce3920cB68f02f33B22c0ECa874cEd6d2cc841
pragma solidity ^0.4.15;
/*
* @title CDRCalculator
* @description helper functions used to calculate CDR for voters
* @notes When pure keyword is supported all functions are pure,
* when libraries are expanded this would be a good candidate.
* for now the additional complexity of linking doesn't outweigh the ease of
* an inheritance based approach
*/
0x7433F38495f9DFDdf67701066218dD58dCE247b9
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) {
0xAF89b0FcFd3aFA194B61504eF07fB5ce74E65069