Skip to content

Instantly share code, notes, and snippets.

View djenning90's full-sized avatar

David "DJ" Jennings djenning90

  • Venteur
  • San Francisco, CA
  • 16:32 (UTC -08:00)
View GitHub Profile
@djenning90
djenning90 / ProxyToken.sol
Created April 13, 2019 20:47
MediaRich.io Dyncoin proxy token (DYNP)
pragma solidity ^0.5.7;
/**
* @dev Implements a contract to add password-protection support to API calls of child contracts.
* This is secure through storage of only the keccak256 hash of the password, which is irreversible.
* Critically, all sensitive methods have private visibility.
*
* Deployed to Ethereum address: 0xabfe059e98b75b9293b341d461dad649fef25cf9
*
* As implemented, the password has contract-wide scope. This does not implement per-account passwords,
@djenning90
djenning90 / DaveCoin.sol
Created May 24, 2018 21:46
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.4.24+commit.e67f0147.js&optimize=false&gist=
pragma solidity ^0.4.18;
// ----------------------------------------------------------------------------
// 'DaveCoin' token contract
//
// Deployed to : 0x66e0fe82cf8a11F8cc879Eb498622FC3619Db5E5
// Symbol : DAVE
// Name : DaveCoin Token
// Total supply: 100000000 (one hundred million)
// Decimals : 6