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
0x1Ce49acBe73e0dbB80e0F1F9bf5eC5FEF6C49c07
pragma solidity ^0.4.21;
/// @author MinakoKojima (https://github.com/lychees)
contract SponsorToken{
address public owner;
mapping (address => bool) public admins;
struct Order {
address[] sponsors;
pragma solidity ^0.4.21;
/// @author MinakoKojima (https://github.com/lychees)
contract SponsorToken{
address public owner;
mapping (address => bool) public admins;
struct Order {
address issuer;
@jin10086
jin10086 / storage.sol
Created May 11, 2018 02:19
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.23+commit.124ca40d.js&optimize=true&gist=
pragma solidity ^0.4.23;
contract Storage {
uint8 data;
function set(uint8 x) public {
data = x;
}
@jin10086
jin10086 / Counter.sol
Created May 19, 2018 20:02
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=builtin&optimize=false&gist=
pragma solidity ^0.4.23;
contract Counter {
uint private count = 0;
function increment() public {
count += 1;
}
function decrement() public {
@jin10086
jin10086 / Counter.sol
Created June 13, 2018 10:02
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.23;
contract Counter {
uint private count = 0;
function increment() public {
count += 1;
}
function decrement() public {
@jin10086
jin10086 / Counter.sol
Created June 13, 2018 10: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=false&gist=
pragma solidity ^0.4.23;
contract Counter {
uint private count = 0;
function increment() public {
count += 1;
}
function decrement() public {
@jin10086
jin10086 / Counter.sol
Created June 13, 2018 10:10
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.23;
contract Counter {
uint private count = 0;
function increment() public {
count += 1;
}
function decrement() public {
@jin10086
jin10086 / Counter.sol
Created June 13, 2018 10:27
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.23;
contract Counter {
uint private count = 0;
function increment() public {
count += 1;
}
function decrement() public {
@jin10086
jin10086 / Counter.sol
Created June 30, 2018 13:02
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.23;
contract Counter {
uint private count = 0;
function increment() public {
count += 1;
}
function decrement() public {