Skip to content

Instantly share code, notes, and snippets.


George K georgek146

View GitHub Profile
View Jack
View gist:7c9bcc987cf992d9c80525cfb327581b
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 / gist:e95138b34586fc078d85f5204e32b829
Created Dec 9, 2017
View gist:e95138b34586fc078d85f5204e32b829
View CDRCalculator.sol
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
View address
View StockPurchase.sol
pragma solidity 0.4.9;
contract StockPurchase {
address public VNT;
string public Agreement = "";
string public auth = "When execute() is called the Vega Network is digitally signing the Ageement.";
function execute() public constant returns (string) {
View address
You can’t perform that action at this time.