Overview
ETH Balance
0.000497298005333111 ETH
Eth Value
$1.63 (@ $3,274.76/ETH)More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 157 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Hatch Eggs | 5778636 | 2405 days ago | IN | 0 ETH | 0.00005899 | ||||
Hatch Eggs | 5716296 | 2416 days ago | IN | 0 ETH | 0.00058998 | ||||
Hatch Eggs | 5716152 | 2416 days ago | IN | 0 ETH | 0.00058998 | ||||
Sell Eggs | 5713450 | 2416 days ago | IN | 0 ETH | 0.00093334 | ||||
Hatch Eggs | 5710883 | 2417 days ago | IN | 0 ETH | 0.00058998 | ||||
Hatch Eggs | 5710334 | 2417 days ago | IN | 0 ETH | 0.00070797 | ||||
Sell Eggs | 5705224 | 2418 days ago | IN | 0 ETH | 0.000525 | ||||
Hatch Eggs | 5705061 | 2418 days ago | IN | 0 ETH | 0.00053098 | ||||
Hatch Eggs | 5702676 | 2418 days ago | IN | 0 ETH | 0.00070797 | ||||
Hatch Eggs | 5699571 | 2419 days ago | IN | 0 ETH | 0.00058998 | ||||
Hatch Eggs | 5692548 | 2420 days ago | IN | 0 ETH | 0.00064897 | ||||
Hatch Eggs | 5685415 | 2421 days ago | IN | 0 ETH | 0.00035404 | ||||
Hatch Eggs | 5682665 | 2422 days ago | IN | 0 ETH | 0.00035398 | ||||
Hatch Eggs | 5679433 | 2422 days ago | IN | 0 ETH | 0.00059008 | ||||
Hatch Eggs | 5676593 | 2423 days ago | IN | 0 ETH | 0.00023603 | ||||
Sell Eggs | 5673963 | 2423 days ago | IN | 0 ETH | 0.00040833 | ||||
Hatch Eggs | 5671245 | 2424 days ago | IN | 0 ETH | 0.00059008 | ||||
Sell Eggs | 5671089 | 2424 days ago | IN | 0 ETH | 0.00029162 | ||||
Sell Eggs | 5670145 | 2424 days ago | IN | 0 ETH | 0.000525 | ||||
Hatch Eggs | 5668548 | 2424 days ago | IN | 0 ETH | 0.00048397 | ||||
Sell Eggs | 5664735 | 2425 days ago | IN | 0 ETH | 0.00034659 | ||||
Hatch Eggs | 5664726 | 2425 days ago | IN | 0 ETH | 0.00041743 | ||||
Buy Eggs | 5663943 | 2425 days ago | IN | 0.005 ETH | 0.00060137 | ||||
Sell Eggs | 5662253 | 2425 days ago | IN | 0 ETH | 0.00087486 | ||||
Sell Eggs | 5661027 | 2425 days ago | IN | 0 ETH | 0.00069988 |
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Block |
From
|
To
|
|||
---|---|---|---|---|---|---|
5713450 | 2416 days ago | 0.00076802 ETH | ||||
5713450 | 2416 days ago | 0.000032 ETH | ||||
5705224 | 2418 days ago | 0.00740888 ETH | ||||
5705224 | 2418 days ago | 0.0003087 ETH | ||||
5673963 | 2423 days ago | 0.00368253 ETH | ||||
5673963 | 2423 days ago | 0.00015343 ETH | ||||
5671089 | 2424 days ago | 0.00141186 ETH | ||||
5671089 | 2424 days ago | 0.00005882 ETH | ||||
5670145 | 2424 days ago | 0.00352875 ETH | ||||
5670145 | 2424 days ago | 0.00014703 ETH | ||||
5664735 | 2425 days ago | 0.00585736 ETH | ||||
5664735 | 2425 days ago | 0.00024405 ETH | ||||
5663943 | 2425 days ago | 0.0002 ETH | ||||
5662253 | 2425 days ago | 0.00841707 ETH | ||||
5662253 | 2425 days ago | 0.00035071 ETH | ||||
5661027 | 2425 days ago | 0.01082693 ETH | ||||
5661027 | 2425 days ago | 0.00045112 ETH | ||||
5659432 | 2426 days ago | 0.0004 ETH | ||||
5659155 | 2426 days ago | 0.00184665 ETH | ||||
5659155 | 2426 days ago | 0.00007694 ETH | ||||
5655938 | 2426 days ago | 0.00214833 ETH | ||||
5655938 | 2426 days ago | 0.00008951 ETH | ||||
5653746 | 2427 days ago | 0.01506797 ETH | ||||
5653746 | 2427 days ago | 0.00062783 ETH | ||||
5652604 | 2427 days ago | 0.00566851 ETH |
Loading...
Loading
Contract Name:
CrabFarm
Compiler Version
v0.4.24+commit.e67f0147
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2018-05-18 */ pragma solidity ^0.4.18; // solhint-disable-line contract CrabFarm { uint256 public EGGS_TO_HATCH_1CRAB = 43200; // every 12 hours uint256 PSN = 10000; uint256 PSNH = 5000; bool public initialized = false; address public ceoAddress; mapping (address => uint256) public hatchery; mapping (address => uint256) public claimedEggs; mapping (address => uint256) public lastHatch; mapping (address => address) public referrals; uint256 public marketEggs; event Buy(address _from, uint256 _eggs); event Sell(address _from, uint256 _eggs); event Hatch(address _from, uint256 _eggs, uint256 _crabs); constructor() public { ceoAddress=msg.sender; } function hatchEggs(address ref) public { require(initialized); if(referrals[msg.sender] == 0 && referrals[msg.sender] != msg.sender){ referrals[msg.sender] = ref; } uint256 eggsUsed = getMyEggs(); uint256 newCrabs = SafeMath.div(eggsUsed, EGGS_TO_HATCH_1CRAB); hatchery[msg.sender] = SafeMath.add(hatchery[msg.sender], newCrabs); claimedEggs[msg.sender] = 0; lastHatch[msg.sender] = now; //send referral eggs claimedEggs[referrals[msg.sender]] = SafeMath.add(claimedEggs[referrals[msg.sender]],SafeMath.div(eggsUsed,5)); //boost market to nerf crab hoarding marketEggs=SafeMath.add(marketEggs,SafeMath.div(eggsUsed,10)); emit Hatch(msg.sender, eggsUsed, newCrabs); } function sellEggs() public { require(initialized); uint256 hasEggs = getMyEggs(); uint256 eggValue = calculateEggSell(hasEggs); uint256 fee = calculateDevFee(eggValue); claimedEggs[msg.sender] = 0; lastHatch[msg.sender] = now; marketEggs = SafeMath.add(marketEggs,hasEggs); ceoAddress.transfer(fee); msg.sender.transfer(SafeMath.sub(eggValue,fee)); emit Sell(msg.sender, hasEggs); } function buyEggs() public payable { require(initialized); uint256 eggsBought = calculateEggBuy(msg.value,SafeMath.sub(address(this).balance,msg.value)); eggsBought = SafeMath.sub(eggsBought, calculateDevFee(eggsBought)); ceoAddress.transfer(calculateDevFee(msg.value)); claimedEggs[msg.sender] = SafeMath.add(claimedEggs[msg.sender], eggsBought); emit Buy(msg.sender, eggsBought); } //magic trade balancing algorithm function calculateTrade(uint256 rt,uint256 rs, uint256 bs) public view returns(uint256){ //(PSN*bs)/(PSNH+((PSN*rs+PSNH*rt)/rt)); return SafeMath.div(SafeMath.mul(PSN,bs),SafeMath.add(PSNH,SafeMath.div(SafeMath.add(SafeMath.mul(PSN,rs),SafeMath.mul(PSNH,rt)),rt))); } function calculateEggSell(uint256 eggs) public view returns(uint256){ return calculateTrade(eggs,marketEggs, address(this).balance); } function calculateEggBuy(uint256 eth,uint256 contractBalance) public view returns(uint256){ return calculateTrade(eth,contractBalance,marketEggs); } function calculateEggBuySimple(uint256 eth) public view returns(uint256){ return calculateEggBuy(eth, address(this).balance); } function calculateDevFee(uint256 amount) public view returns(uint256){ return SafeMath.div(SafeMath.mul(amount,4),100); } function seedMarket(uint256 eggs) public payable { require(msg.sender == ceoAddress); require(marketEggs == 0); initialized = true; marketEggs = eggs; } function claimFreeCrab() public{ require(initialized); require(hatchery[msg.sender] == 0); lastHatch[msg.sender] = now; hatchery[msg.sender] = 300; } function getBalance() public view returns(uint256){ return address(this).balance; } function getMyCrabs() public view returns(uint256){ return hatchery[msg.sender]; } function getMyEggs() public view returns(uint256){ return SafeMath.add(claimedEggs[msg.sender], getEggsSinceLastHatch(msg.sender)); } function getEggsSinceLastHatch(address _address) public view returns(uint256){ uint256 secondsPassed = min(EGGS_TO_HATCH_1CRAB, SafeMath.sub(now, lastHatch[_address])); return SafeMath.mul(secondsPassed, hatchery[_address]); } function min(uint256 a, uint256 b) private pure returns (uint256) { return a < b ? a : b; } } library SafeMath { /** * @dev Multiplies two numbers, throws on overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { if (a == 0) { return 0; } uint256 c = a * b; assert(c / a == b); return c; } /** * @dev Integer division of two numbers, truncating the quotient. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { // assert(b > 0); // Solidity automatically throws when dividing by 0 uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } /** * @dev Substracts two numbers, throws on overflow (i.e. if subtrahend is greater than minuend). */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { assert(b <= a); return a - b; } /** * @dev Adds two numbers, throws on overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; assert(c >= a); return c; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"constant":true,"inputs":[],"name":"ceoAddress","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"getBalance","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"getMyCrabs","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"initialized","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"rt","type":"uint256"},{"name":"rs","type":"uint256"},{"name":"bs","type":"uint256"}],"name":"calculateTrade","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"eth","type":"uint256"},{"name":"contractBalance","type":"uint256"}],"name":"calculateEggBuy","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"marketEggs","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"sellEggs","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"eggs","type":"uint256"}],"name":"seedMarket","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":false,"inputs":[{"name":"ref","type":"address"}],"name":"hatchEggs","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"getMyEggs","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"lastHatch","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"buyEggs","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"hatchery","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"claimedEggs","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"eth","type":"uint256"}],"name":"calculateEggBuySimple","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"EGGS_TO_HATCH_1CRAB","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"eggs","type":"uint256"}],"name":"calculateEggSell","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"amount","type":"uint256"}],"name":"calculateDevFee","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"referrals","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_address","type":"address"}],"name":"getEggsSinceLastHatch","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"claimFreeCrab","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"name":"_from","type":"address"},{"indexed":false,"name":"_eggs","type":"uint256"}],"name":"Buy","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"_from","type":"address"},{"indexed":false,"name":"_eggs","type":"uint256"}],"name":"Sell","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"_from","type":"address"},{"indexed":false,"name":"_eggs","type":"uint256"},{"indexed":false,"name":"_crabs","type":"uint256"}],"name":"Hatch","type":"event"}]
Contract Creation Code
608060405261a8c06000556127106001556113886002556000600360006101000a81548160ff02191690831515021790555034801561003d57600080fd5b5033600360016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555061145a8061008e6000396000f300608060405260043610610128576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff1680630a0f81681461012d57806312065fe01461018457806313defbd9146101af578063158ef93e146101da578063229824c41461020957806326fd84221461025e5780632e9392bb146102a95780633955f0fe146102d45780633b653755146102eb5780633ec862a81461030b57806343ce74221461034e578063467ece79146103795780634f74acfe146103d05780635bbaee67146103da57806372670361146104315780637e56fde5146104885780638ba19d4f146104c95780638e316327146104f45780639a8cea82146105355780639ca423b314610576578063d7c8843b146105f9578063e190d1b514610650575b600080fd5b34801561013957600080fd5b50610142610667565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561019057600080fd5b5061019961068d565b6040518082815260200191505060405180910390f35b3480156101bb57600080fd5b506101c46106ac565b6040518082815260200191505060405180910390f35b3480156101e657600080fd5b506101ef6106f3565b604051808215151515815260200191505060405180910390f35b34801561021557600080fd5b50610248600480360381019080803590602001909291908035906020019092919080359060200190929190505050610706565b6040518082815260200191505060405180910390f35b34801561026a57600080fd5b506102936004803603810190808035906020019092919080359060200190929190505050610759565b6040518082815260200191505060405180910390f35b3480156102b557600080fd5b506102be610770565b6040518082815260200191505060405180910390f35b3480156102e057600080fd5b506102e9610776565b005b6103096004803603810190808035906020019092919050505061097a565b005b34801561031757600080fd5b5061034c600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610a0c565b005b34801561035a57600080fd5b50610363610ed3565b6040518082815260200191505060405180910390f35b34801561038557600080fd5b506103ba600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610f2b565b6040518082815260200191505060405180910390f35b6103d8610f43565b005b3480156103e657600080fd5b5061041b600480360381019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061110b565b6040518082815260200191505060405180910390f35b34801561043d57600080fd5b50610472600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611123565b6040518082815260200191505060405180910390f35b34801561049457600080fd5b506104b36004803603810190808035906020019092919050505061113b565b6040518082815260200191505060405180910390f35b3480156104d557600080fd5b506104de611165565b6040518082815260200191505060405180910390f35b34801561050057600080fd5b5061051f6004803603810190808035906020019092919050505061116b565b6040518082815260200191505060405180910390f35b34801561054157600080fd5b5061056060048036038101908080359060200190929190505050611198565b6040518082815260200191505060405180910390f35b34801561058257600080fd5b506105b7600480360381019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506111b6565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561060557600080fd5b5061063a600480360381019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506111e9565b6040518082815260200191505060405180910390f35b34801561065c57600080fd5b50610665611293565b005b600360019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60003073ffffffffffffffffffffffffffffffffffffffff1631905090565b6000600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905090565b600360009054906101000a900460ff1681565b600061075061071760015484611388565b61074b60025461074661074061072f6001548a611388565b61073b6002548c611388565b6113c3565b896113e1565b6113c3565b6113e1565b90509392505050565b60006107688383600854610706565b905092915050565b60085481565b6000806000600360009054906101000a900460ff16151561079657600080fd5b61079e610ed3565b92506107a98361116b565b91506107b482611198565b90506000600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555042600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061084b600854846113c3565b600881905550600360019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f193505050501580156108b9573d6000803e3d6000fd5b503373ffffffffffffffffffffffffffffffffffffffff166108fc6108de84846113fc565b9081150290604051600060405180830381858888f19350505050158015610909573d6000803e3d6000fd5b507f5e5e995ce3133561afceaa51a9a154d5db228cd7525d34df5185582c18d3df093384604051808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019250505060405180910390a1505050565b600360019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156109d657600080fd5b60006008541415156109e757600080fd5b6001600360006101000a81548160ff0219169083151502179055508060088190555050565b600080600360009054906101000a900460ff161515610a2a57600080fd5b6000600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16148015610b3a57503373ffffffffffffffffffffffffffffffffffffffff16600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614155b15610bbe5782600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b610bc6610ed3565b9150610bd4826000546113e1565b9050610c1f600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054826113c3565b600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506000600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555042600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550610d9d60056000600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610d988460056113e1565b6113c3565b60056000600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550610e55600854610e5084600a6113e1565b6113c3565b6008819055507fb38ba9b1c21d14e92c6b24ace95218359ca7727f16a3e622617817dd9f38305c338383604051808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001838152602001828152602001935050505060405180910390a1505050565b6000610f26600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610f21336111e9565b6113c3565b905090565b60066020528060005260406000206000915090505481565b6000600360009054906101000a900460ff161515610f6057600080fd5b610f8a34610f853073ffffffffffffffffffffffffffffffffffffffff1631346113fc565b610759565b9050610f9e81610f9983611198565b6113fc565b9050600360019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc610fe534611198565b9081150290604051600060405180830381858888f19350505050158015611010573d6000803e3d6000fd5b5061105a600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054826113c3565b600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055507fe3d4187f6ca4248660cc0ac8b8056515bac4a8132be2eca31d6d0cc170722a7e3382604051808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019250505060405180910390a150565b60046020528060005260406000206000915090505481565b60056020528060005260406000206000915090505481565b600061115e823073ffffffffffffffffffffffffffffffffffffffff1631610759565b9050919050565b60005481565b6000611191826008543073ffffffffffffffffffffffffffffffffffffffff1631610706565b9050919050565b60006111af6111a8836004611388565b60646113e1565b9050919050565b60076020528060005260406000206000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008061124060005461123b42600660008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546113fc565b611415565b905061128b81600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611388565b915050919050565b600360009054906101000a900460ff1615156112ae57600080fd5b6000600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541415156112fc57600080fd5b42600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061012c600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550565b600080600084141561139d57600091506113bc565b82840290508284828115156113ae57fe5b041415156113b857fe5b8091505b5092915050565b60008082840190508381101515156113d757fe5b8091505092915050565b60008082848115156113ef57fe5b0490508091505092915050565b600082821115151561140a57fe5b818303905092915050565b60008183106114245781611426565b825b9050929150505600a165627a7a723058205fe0e456fa94d1d0c57643036e3850270501aa1aa726f176cda6c17c427bc3230029
Deployed Bytecode
0x608060405260043610610128576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff1680630a0f81681461012d57806312065fe01461018457806313defbd9146101af578063158ef93e146101da578063229824c41461020957806326fd84221461025e5780632e9392bb146102a95780633955f0fe146102d45780633b653755146102eb5780633ec862a81461030b57806343ce74221461034e578063467ece79146103795780634f74acfe146103d05780635bbaee67146103da57806372670361146104315780637e56fde5146104885780638ba19d4f146104c95780638e316327146104f45780639a8cea82146105355780639ca423b314610576578063d7c8843b146105f9578063e190d1b514610650575b600080fd5b34801561013957600080fd5b50610142610667565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561019057600080fd5b5061019961068d565b6040518082815260200191505060405180910390f35b3480156101bb57600080fd5b506101c46106ac565b6040518082815260200191505060405180910390f35b3480156101e657600080fd5b506101ef6106f3565b604051808215151515815260200191505060405180910390f35b34801561021557600080fd5b50610248600480360381019080803590602001909291908035906020019092919080359060200190929190505050610706565b6040518082815260200191505060405180910390f35b34801561026a57600080fd5b506102936004803603810190808035906020019092919080359060200190929190505050610759565b6040518082815260200191505060405180910390f35b3480156102b557600080fd5b506102be610770565b6040518082815260200191505060405180910390f35b3480156102e057600080fd5b506102e9610776565b005b6103096004803603810190808035906020019092919050505061097a565b005b34801561031757600080fd5b5061034c600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610a0c565b005b34801561035a57600080fd5b50610363610ed3565b6040518082815260200191505060405180910390f35b34801561038557600080fd5b506103ba600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610f2b565b6040518082815260200191505060405180910390f35b6103d8610f43565b005b3480156103e657600080fd5b5061041b600480360381019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061110b565b6040518082815260200191505060405180910390f35b34801561043d57600080fd5b50610472600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611123565b6040518082815260200191505060405180910390f35b34801561049457600080fd5b506104b36004803603810190808035906020019092919050505061113b565b6040518082815260200191505060405180910390f35b3480156104d557600080fd5b506104de611165565b6040518082815260200191505060405180910390f35b34801561050057600080fd5b5061051f6004803603810190808035906020019092919050505061116b565b6040518082815260200191505060405180910390f35b34801561054157600080fd5b5061056060048036038101908080359060200190929190505050611198565b6040518082815260200191505060405180910390f35b34801561058257600080fd5b506105b7600480360381019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506111b6565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561060557600080fd5b5061063a600480360381019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506111e9565b6040518082815260200191505060405180910390f35b34801561065c57600080fd5b50610665611293565b005b600360019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60003073ffffffffffffffffffffffffffffffffffffffff1631905090565b6000600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905090565b600360009054906101000a900460ff1681565b600061075061071760015484611388565b61074b60025461074661074061072f6001548a611388565b61073b6002548c611388565b6113c3565b896113e1565b6113c3565b6113e1565b90509392505050565b60006107688383600854610706565b905092915050565b60085481565b6000806000600360009054906101000a900460ff16151561079657600080fd5b61079e610ed3565b92506107a98361116b565b91506107b482611198565b90506000600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555042600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061084b600854846113c3565b600881905550600360019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f193505050501580156108b9573d6000803e3d6000fd5b503373ffffffffffffffffffffffffffffffffffffffff166108fc6108de84846113fc565b9081150290604051600060405180830381858888f19350505050158015610909573d6000803e3d6000fd5b507f5e5e995ce3133561afceaa51a9a154d5db228cd7525d34df5185582c18d3df093384604051808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019250505060405180910390a1505050565b600360019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156109d657600080fd5b60006008541415156109e757600080fd5b6001600360006101000a81548160ff0219169083151502179055508060088190555050565b600080600360009054906101000a900460ff161515610a2a57600080fd5b6000600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16148015610b3a57503373ffffffffffffffffffffffffffffffffffffffff16600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614155b15610bbe5782600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b610bc6610ed3565b9150610bd4826000546113e1565b9050610c1f600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054826113c3565b600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506000600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555042600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550610d9d60056000600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610d988460056113e1565b6113c3565b60056000600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550610e55600854610e5084600a6113e1565b6113c3565b6008819055507fb38ba9b1c21d14e92c6b24ace95218359ca7727f16a3e622617817dd9f38305c338383604051808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001838152602001828152602001935050505060405180910390a1505050565b6000610f26600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610f21336111e9565b6113c3565b905090565b60066020528060005260406000206000915090505481565b6000600360009054906101000a900460ff161515610f6057600080fd5b610f8a34610f853073ffffffffffffffffffffffffffffffffffffffff1631346113fc565b610759565b9050610f9e81610f9983611198565b6113fc565b9050600360019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc610fe534611198565b9081150290604051600060405180830381858888f19350505050158015611010573d6000803e3d6000fd5b5061105a600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054826113c3565b600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055507fe3d4187f6ca4248660cc0ac8b8056515bac4a8132be2eca31d6d0cc170722a7e3382604051808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019250505060405180910390a150565b60046020528060005260406000206000915090505481565b60056020528060005260406000206000915090505481565b600061115e823073ffffffffffffffffffffffffffffffffffffffff1631610759565b9050919050565b60005481565b6000611191826008543073ffffffffffffffffffffffffffffffffffffffff1631610706565b9050919050565b60006111af6111a8836004611388565b60646113e1565b9050919050565b60076020528060005260406000206000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008061124060005461123b42600660008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546113fc565b611415565b905061128b81600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611388565b915050919050565b600360009054906101000a900460ff1615156112ae57600080fd5b6000600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541415156112fc57600080fd5b42600660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061012c600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550565b600080600084141561139d57600091506113bc565b82840290508284828115156113ae57fe5b041415156113b857fe5b8091505b5092915050565b60008082840190508381101515156113d757fe5b8091505092915050565b60008082848115156113ef57fe5b0490508091505092915050565b600082821115151561140a57fe5b818303905092915050565b60008183106114245781611426565b825b9050929150505600a165627a7a723058205fe0e456fa94d1d0c57643036e3850270501aa1aa726f176cda6c17c427bc3230029
Swarm Source
bzzr://5fe0e456fa94d1d0c57643036e3850270501aa1aa726f176cda6c17c427bc323
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|---|---|---|---|---|
ETH | Ether (ETH) | 100.00% | $3,278.5 | 0.0004973 | $1.63 |
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.