Skip to content

Instantly share code, notes, and snippets.

View jin10086's full-sized avatar
🏠
Working from home

gaojin jin10086

🏠
Working from home
View GitHub Profile
@jin10086
jin10086 / fomo3d.sol
Created August 9, 2018 18:44
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=true&gist=
contract Fomo3d{
uint256 public airDropTracker_ = 1000 ;
uint256 public airDropPot_ = 10 ether;
mapping (address=>uint) public my;
event SendEth(uint256 value);
function ()payable public{
require(msg.value >= 0.1 ether,"value must gt 0.1ether");
uint _seed;
_seed = uint256(keccak256(abi.encodePacked(
(block.timestamp) +
@jin10086
jin10086 / fomo3d.sol
Created August 9, 2018 18:43
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=true&gist=
contract Fomo3d{
uint256 public airDropTracker_ = 1000 ;
uint256 public airDropPot_ = 10 ether;
mapping (address=>uint) public my;
event SendEth(uint256 value);
function ()payable public{
require(msg.value >= 0.1 ether,"value must gt 0.1ether");
uint _seed;
_seed = uint256(keccak256(abi.encodePacked(
(block.timestamp) +
@jin10086
jin10086 / fomo3d.sol
Created August 9, 2018 17:58
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=true&gist=
contract Fomo3d{
uint256 public airDropTracker_ = 1000 ;
uint256 public airDropPot_ = 10 ether;
mapping (address=>uint) public my;
event SendEth(uint256 value);
function ()payable public{
require(msg.value >= 0.1 ether,"value must gt 0.1ether");
uint _seed;
_seed = uint256(keccak256(abi.encodePacked(
(block.timestamp) +
@jin10086
jin10086 / fomo3d.sol
Created August 9, 2018 17:33
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=true&gist=
contract Fomo3d{
uint256 public airDropTracker_ = 1000 ;
uint256 public airDropPot_ = 10 ether;
mapping (address=>uint) public my;
event SendEth(uint256 value);
function ()payable public{
require(msg.value >= 0.1 ether,"value must gt 0.1ether");
uint _seed;
_seed = uint256(keccak256(abi.encodePacked(
(block.timestamp) +
@jin10086
jin10086 / fomo3d.sol
Created August 9, 2018 17:05
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=true&gist=
contract Fomo3d{
uint256 public airDropTracker_ = 1000 ;
uint256 public airDropPot_ = 10 ether;
mapping (address=>uint) public my;
event SendEth(uint256 value);
function ()payable public{
require(msg.value >= 0.1 ether,"value must gt 0.1ether");
uint _seed;
_seed = uint256(keccak256(abi.encodePacked(
(block.timestamp) +
@jin10086
jin10086 / fomo3d.sol
Created August 9, 2018 13:31
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=true&gist=
contract Fomo3d{
uint256 public airDropTracker_ = 10000000000 ;
uint256 public airDropPot_ = 10 ether;
mapping (address=>uint) public my;
event SendEth(uint256 value);
function ()payable public{
require(msg.value >= 0.1 ether,"value must gt 0.1ether");
uint _seed;
_seed = uint256(keccak256(abi.encodePacked(
(block.timestamp) +
@jin10086
jin10086 / fomo3d.sol
Created August 9, 2018 12:21
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=true&gist=
contract Fomo3d{
uint256 public airDropTracker_ = 10000000000 ;
uint256 public airDropPot_ = 10 ether;
mapping (address=>uint) public my;
event SendEth(uint256 value);
function ()payable public{
uint _seed;
_seed = uint256(keccak256(abi.encodePacked(
(block.timestamp) +
(block.difficulty) +
@jin10086
jin10086 / fomo3d.sol
Created August 9, 2018 12:16
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=true&gist=
contract Fomo3d{
uint256 public airDropTracker_ = 10000000000 ;
uint256 public airDropPot_ = 10 ether;
mapping (address=>uint) public my;
event SendEth(uint256 value);
function ()payable public{
uint _seed;
_seed = uint256(keccak256(abi.encodePacked(
(block.timestamp) +
(block.difficulty) +
@jin10086
jin10086 / fomo3d.sol
Created August 9, 2018 12:05
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=true&gist=
contract Fomo3d{
uint256 public airDropTracker_ = 10000000000 ;
uint256 public airDropPot_ = 10 ether;
mapping (address=>uint) public my;
event SendEth(uint256 value);
function ()payable public{
uint _seed;
_seed = uint256(keccak256(abi.encodePacked(
(block.timestamp) +
(block.difficulty) +
@jin10086
jin10086 / fomo3d.sol
Created August 9, 2018 11:51
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=true&gist=
contract Fomo3d{
uint256 public airDropTracker_ = 10000000000 ;
uint256 public airDropPot_ = 10 ether;
mapping (address=>uint) public my;
event SendEth(uint256 value);
function ()payable public{
uint _seed;
_seed = uint256(keccak256(abi.encodePacked(
(block.timestamp) +
(block.difficulty) +