Skip to content

Instantly share code, notes, and snippets.

View sherlock-shi-x's full-sized avatar
🤠
Hoooooa

Sherlock sherlock-shi-x

🤠
Hoooooa
View GitHub Profile
0x00be6aC2F72bA93CF19d99Bef53C2bD50710d777
@sherlock-shi-x
sherlock-shi-x / 0x00be6aC2F72bA93CF19d99Bef53C2bD50710d777
Created November 23, 2017 14:47
0x00be6aC2F72bA93CF19d99Bef53C2bD50710d777
0x00be6aC2F72bA93CF19d99Bef53C2bD50710d777
pragma solidity ^0.4.18;
contract RegData {
mapping (uint256 => address) private itemOwner;
mapping (uint256 => uint256) private itemPrice;
address private owner;
mapping (address => bool) private admins;
pragma solidity ^0.4.18;
library SafeMath {
/**
* @dev Multiplies two numbers, throws on overflow.
*/
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
if (a == 0) {
return 0;
pragma solidity ^0.4.18;
library SafeMath {
/**
* @dev Multiplies two numbers, throws on overflow.
*/
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
if (a == 0) {
return 0;
pragma solidity ^0.4.18;
library SafeMath {
/**
* @dev Multiplies two numbers, throws on overflow.
*/
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
if (a == 0) {
return 0;
pragma solidity ^0.4.18;
contract BotAlice {
address owner;
mapping (address => bool) isAdmins;
IMainContract private iMainContract;
IBotBob private iBotBob;
pragma solidity ^0.4.18;
contract BotBob {
address owner;
mapping (address => bool) isAdmins;
IMainContract private iMainContract;
@sherlock-shi-x
sherlock-shi-x / sponsorToken.sol
Last active March 22, 2018 12:04 — forked from lychees/sponsorToken.sol
sponsorToken.sol
pragma solidity ^0.4.20;
library SafeMath {
/**
* @dev Multiplies two numbers, throws on overflow.
*/
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
if (a == 0) {
return 0;
@sherlock-shi-x
sherlock-shi-x / moe.sol
Last active February 22, 2018 02:19
moe
pragma solidity ^0.4.19;
library SafeMath {
/**
* @dev Multiplies two numbers, throws on overflow.
*/
function mul(uint256 a, uint256 b) internal pure returns (uint256) {
if (a == 0) {
return 0;