Skip to content

Instantly share code, notes, and snippets.

George K georgek146

Block or report user

Report or block georgek146

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View Jack
0xbc286E74Da7C1eDaAc1855143E2099436f29201B
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
georgek146 / gist:e95138b34586fc078d85f5204e32b829
Created Dec 9, 2017
0xd1ce3920cB68f02f33B22c0ECa874cEd6d2cc841
View gist:e95138b34586fc078d85f5204e32b829
0xd1ce3920cB68f02f33B22c0ECa874cEd6d2cc841
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
0x7433F38495f9DFDdf67701066218dD58dCE247b9
View StockPurchase.sol
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) {
View address
0xAF89b0FcFd3aFA194B61504eF07fB5ce74E65069
You can’t perform that action at this time.