Feature Tip: Add private address tag to any address under My Name Tag !
More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 2,534 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Claim Free Eggs | 6519280 | 2262 days ago | IN | 0 ETH | 0.00004997 | ||||
Claim Free Eggs | 6378683 | 2284 days ago | IN | 0 ETH | 0.00004997 | ||||
Claim Free Eggs | 6362404 | 2287 days ago | IN | 0 ETH | 0.0001749 | ||||
Hatch Eggs | 6359915 | 2288 days ago | IN | 0 ETH | 0.00019236 | ||||
Hatch Eggs | 6359557 | 2288 days ago | IN | 0 ETH | 0.0002164 | ||||
Steal Pot | 6357665 | 2288 days ago | IN | 0 ETH | 0.0011129 | ||||
Sell Eggs | 6357655 | 2288 days ago | IN | 0 ETH | 0.00027963 | ||||
Sell Eggs | 6357651 | 2288 days ago | IN | 0 ETH | 0.00023898 | ||||
Sell Eggs | 6357651 | 2288 days ago | IN | 0 ETH | 0.00023898 | ||||
Sell Eggs | 6357644 | 2288 days ago | IN | 0 ETH | 0.00032898 | ||||
Hatch Eggs | 6357644 | 2288 days ago | IN | 0 ETH | 0.00065888 | ||||
Sell Eggs | 6357643 | 2288 days ago | IN | 0 ETH | 0.00027963 | ||||
Sell Eggs | 6357642 | 2288 days ago | IN | 0 ETH | 0.00027963 | ||||
Hatch Eggs | 6357642 | 2288 days ago | IN | 0 ETH | 0.00046567 | ||||
Sell Eggs | 6357640 | 2288 days ago | IN | 0 ETH | 0.00027408 | ||||
Buy Eggs | 6357637 | 2288 days ago | IN | 0.2 ETH | 0.0003258 | ||||
Hatch Eggs | 6357583 | 2288 days ago | IN | 0 ETH | 0.00030744 | ||||
Hatch Eggs | 6357444 | 2288 days ago | IN | 0 ETH | 0.00025626 | ||||
Hatch Eggs | 6357442 | 2288 days ago | IN | 0 ETH | 0.00029104 | ||||
Hatch Eggs | 6357375 | 2288 days ago | IN | 0 ETH | 0.00030744 | ||||
Sell Eggs | 6357315 | 2288 days ago | IN | 0 ETH | 0.00021926 | ||||
Sell Eggs | 6357179 | 2288 days ago | IN | 0 ETH | 0.00027415 | ||||
Hatch Eggs | 6357045 | 2288 days ago | IN | 0 ETH | 0.00020501 | ||||
Hatch Eggs | 6356983 | 2288 days ago | IN | 0 ETH | 0.00029104 | ||||
Hatch Eggs | 6356952 | 2288 days ago | IN | 0 ETH | 0.00040992 |
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Block |
From
|
To
|
|||
---|---|---|---|---|---|---|
6357665 | 2288 days ago | 5.90004819 ETH | ||||
6357655 | 2288 days ago | 0.00005419 ETH | ||||
6357651 | 2288 days ago | 0.02564012 ETH | ||||
6357651 | 2288 days ago | 0.00164112 ETH | ||||
6357644 | 2288 days ago | 0.00233016 ETH | ||||
6357643 | 2288 days ago | 0.00765634 ETH | ||||
6357642 | 2288 days ago | 0.00756209 ETH | ||||
6357640 | 2288 days ago | 0.00033492 ETH | ||||
6357637 | 2288 days ago | 0.002 ETH | ||||
6357637 | 2288 days ago | 0.008 ETH | ||||
6357315 | 2288 days ago | 0.00085549 ETH | ||||
6357179 | 2288 days ago | 0.00229903 ETH | ||||
6356082 | 2288 days ago | 0.02577622 ETH | ||||
6355910 | 2288 days ago | 0.03874844 ETH | ||||
6355900 | 2288 days ago | 0.03860581 ETH | ||||
6355894 | 2288 days ago | 0.00517554 ETH | ||||
6355674 | 2288 days ago | 0.00801116 ETH | ||||
6355049 | 2288 days ago | 0.00095108 ETH | ||||
6354759 | 2288 days ago | 0.02756979 ETH | ||||
6354587 | 2288 days ago | 0.04670543 ETH | ||||
6354496 | 2288 days ago | 0.03527185 ETH | ||||
6354478 | 2288 days ago | 0.0358176 ETH | ||||
6354206 | 2288 days ago | 0.00002623 ETH | ||||
6354203 | 2288 days ago | 0.00833314 ETH | ||||
6353882 | 2289 days ago | 0.03032529 ETH |
Loading...
Loading
Contract Name:
ShrimpFarmer
Compiler Version
v0.4.24+commit.e67f0147
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2018-09-01 */ pragma solidity ^0.4.18; // solhint-disable-line contract VerifyToken { function totalSupply() public constant returns (uint); function balanceOf(address tokenOwner) public constant returns (uint balance); function allowance(address tokenOwner, address spender) public constant returns (uint remaining); function transfer(address to, uint tokens) public returns (bool success); function approve(address spender, uint tokens) public returns (bool success); function transferFrom(address from, address to, uint tokens) public returns (bool success); bool public activated; event Transfer(address indexed from, address indexed to, uint tokens); event Approval(address indexed tokenOwner, address indexed spender, uint tokens); } contract ApproveAndCallFallBack { function receiveApproval(address from, uint256 tokens, address token, bytes data) public; } contract EthVerifyCore{ mapping (address => bool) public verifiedUsers; } contract ShrimpFarmer is ApproveAndCallFallBack{ using SafeMath for uint; address vrfAddress=0x5BD574410F3A2dA202bABBa1609330Db02aD64C2;//0x5BD574410F3A2dA202bABBa1609330Db02aD64C2; VerifyToken vrfcontract=VerifyToken(vrfAddress); //257977574257854071311765966 // 10000000000 //uint256 EGGS_PER_SHRIMP_PER_SECOND=1; uint256 public EGGS_TO_HATCH_1SHRIMP=86400;//86400 uint public VRF_EGG_COST=(1000000000000000000*300)/EGGS_TO_HATCH_1SHRIMP; //uint256 public STARTING_SHRIMP=300; uint256 PSN=100000000000000; uint256 PSNH=50000000000000; uint public POT_DRAIN_TIME=12 hours;//24 hours; uint public HATCH_COOLDOWN=6 hours;//6 hours; bool public initialized=false; //bool public completed=false; address public ceoAddress; address public dev2; mapping (address => uint256) public hatcheryShrimp; mapping (address => uint256) public claimedEggs; mapping (address => uint256) public lastHatch; mapping (address => bool) public hasClaimedFree; uint256 public marketEggs; EthVerifyCore public ethVerify=EthVerifyCore(0x1c307A39511C16F74783fCd0091a921ec29A0b51);//0x1c307A39511C16F74783fCd0091a921ec29A0b51); uint public lastBidTime;//last time someone bid for the pot address public currentWinner; //uint public potEth=0; uint public totalHatcheryShrimp=0; uint public prizeEth=0;//eth specifically set aside for the pot function ShrimpFarmer() public{ ceoAddress=msg.sender; dev2=address(0x95096780Efd48FA66483Bc197677e89f37Ca0CB5); lastBidTime=now; currentWinner=msg.sender; } function finalizeIfNecessary() public{ if(lastBidTime.add(POT_DRAIN_TIME)<now){ currentWinner.transfer(this.balance);//winner gets everything initialized=false; //completed=true; } } function getPotCost() public view returns(uint){ return totalHatcheryShrimp.div(100); } function stealPot() public { finalizeIfNecessary(); if(initialized){ _hatchEggs(0); uint cost=getPotCost(); hatcheryShrimp[msg.sender]=hatcheryShrimp[msg.sender].sub(cost);//cost is 1% of total shrimp totalHatcheryShrimp=totalHatcheryShrimp.add(cost); lastBidTime=now; currentWinner=msg.sender; } } function hatchEggs(address ref) public{ require(lastHatch[msg.sender].add(HATCH_COOLDOWN)<now); _hatchEggs(ref); } function _hatchEggs(address ref) private{ require(initialized); uint256 eggsUsed=getMyEggs(); uint256 newShrimp=SafeMath.div(eggsUsed,EGGS_TO_HATCH_1SHRIMP); hatcheryShrimp[msg.sender]=SafeMath.add(hatcheryShrimp[msg.sender],newShrimp); totalHatcheryShrimp=totalHatcheryShrimp.add(newShrimp); claimedEggs[msg.sender]=0; lastHatch[msg.sender]=now; //send referral eggs require(ref!=msg.sender); if(ref!=0){ claimedEggs[ref]=claimedEggs[ref].add(eggsUsed.div(7)); } //boost market to nerf shrimp hoarding marketEggs=SafeMath.add(marketEggs,SafeMath.div(eggsUsed,7)); } function sellEggs() public{ require(initialized); uint256 hasEggs=getMyEggs(); uint256 eggValue=calculateEggSell(hasEggs); //uint256 fee=devFee(eggValue); uint potfee=potFee(eggValue); claimedEggs[msg.sender]=0; lastHatch[msg.sender]=now; marketEggs=SafeMath.add(marketEggs,hasEggs); //ceoAddress.transfer(fee); prizeEth=prizeEth.add(potfee); msg.sender.transfer(eggValue.sub(potfee)); } function buyEggs() public payable{ require(initialized); uint256 eggsBought=calculateEggBuy(msg.value,SafeMath.sub(this.balance,msg.value)); eggsBought=eggsBought.sub(devFee(eggsBought)); eggsBought=eggsBought.sub(devFee2(eggsBought)); ceoAddress.transfer(devFee(msg.value)); dev2.transfer(devFee2(msg.value)); claimedEggs[msg.sender]=SafeMath.add(claimedEggs[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,this.balance.sub(prizeEth)); } function calculateEggBuy(uint256 eth,uint256 contractBalance) public view returns(uint256){ return calculateTrade(eth,contractBalance.sub(prizeEth),marketEggs); } function calculateEggBuySimple(uint256 eth) public view returns(uint256){ return calculateEggBuy(eth,this.balance); } function potFee(uint amount) public view returns(uint){ return SafeMath.div(SafeMath.mul(amount,20),100); } function devFee(uint256 amount) public view returns(uint256){ return SafeMath.div(SafeMath.mul(amount,4),100); } function devFee2(uint256 amount) public view returns(uint256){ return SafeMath.div(amount,100); } function seedMarket(uint256 eggs) public payable{ require(msg.sender==ceoAddress); require(!initialized); //require(marketEggs==0); initialized=true; marketEggs=eggs; lastBidTime=now; } //to correct a mistake necessitating a redeploy of the contract function setPreShrimp(address holder,uint shrimp){ require(!initialized); require(msg.sender==ceoAddress); claimedEggs[holder]=shrimp*EGGS_TO_HATCH_1SHRIMP; } //Tokens are exchanged for shrimp by sending them to this contract with ApproveAndCall function receiveApproval(address from, uint256 tokens, address token, bytes data) public{ require(!initialized); require(msg.sender==vrfAddress); vrfcontract.transferFrom(from,this,tokens); claimedEggs[from]=claimedEggs[from].add(tokens.div(VRF_EGG_COST)); } //allow sending eth to the contract function () public payable {} function claimFreeEggs() public{ require(ethVerify.verifiedUsers(msg.sender)); require(initialized); require(!hasClaimedFree[msg.sender]); claimedEggs[msg.sender]=claimedEggs[msg.sender].add(getFreeEggs()); hasClaimedFree[msg.sender]=true; //require(hatcheryShrimp[msg.sender]==0); //lastHatch[msg.sender]=now; //hatcheryShrimp[msg.sender]=hatcheryShrimp[msg.sender].add(STARTING_SHRIMP); } function getFreeEggs() public view returns(uint){ return min(calculateEggBuySimple(this.balance.div(100)),calculateEggBuySimple(0.05 ether)); } function getBalance() public view returns(uint256){ return this.balance; } function getMyShrimp() public view returns(uint256){ return hatcheryShrimp[msg.sender]; } function getMyEggs() public view returns(uint256){ return SafeMath.add(claimedEggs[msg.sender],getEggsSinceLastHatch(msg.sender)); } function getEggsSinceLastHatch(address adr) public view returns(uint256){ uint256 secondsPassed=min(EGGS_TO_HATCH_1SHRIMP,SafeMath.sub(now,lastHatch[adr])); return SafeMath.mul(secondsPassed,hatcheryShrimp[adr]); } 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":"","type":"address"}],"name":"hasClaimedFree","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"ethVerify","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"ceoAddress","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"prizeEth","outputs":[{"name":"","type":"uint256"}],"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":"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":"getFreeEggs","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"getPotCost","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":true,"inputs":[{"name":"amount","type":"uint256"}],"name":"devFee","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"ref","type":"address"}],"name":"hatchEggs","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"stealPot","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":"lastBidTime","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"HATCH_COOLDOWN","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalHatcheryShrimp","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":"EGGS_TO_HATCH_1SHRIMP","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"hatcheryShrimp","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":"dev2","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"VRF_EGG_COST","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":false,"inputs":[{"name":"from","type":"address"},{"name":"tokens","type":"uint256"},{"name":"token","type":"address"},{"name":"data","type":"bytes"}],"name":"receiveApproval","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"currentWinner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"claimFreeEggs","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"POT_DRAIN_TIME","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"getMyShrimp","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"amount","type":"uint256"}],"name":"potFee","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"finalizeIfNecessary","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"holder","type":"address"},{"name":"shrimp","type":"uint256"}],"name":"setPreShrimp","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"adr","type":"address"}],"name":"getEggsSinceLastHatch","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"amount","type":"uint256"}],"name":"devFee2","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":true,"stateMutability":"payable","type":"fallback"}]
Contract Creation Code
608060405260008054600160a060020a0319908116735bd574410f3a2da202babba1609330db02ad64c217808355600180548316600160a060020a0390921691909117905562015180600255660c55f7bc23038e600355655af3107a4000600455652d79883d200060055561a8c06006556154606007556008805460ff19169055600f8054909116731c307a39511c16f74783fcd0091a921ec29a0b5117905560128190556013553480156100b357600080fd5b506008805461010060a860020a03191633610100810291909117909155600980547395096780efd48fa66483bc197677e89f37ca0cb5600160a060020a03199182161790915542601055601180549091169091179055611047806101186000396000f3006080604052600436106101e25763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166302b8230c81146101e457806308722e78146102195780630a0f81681461024a5780630ec0692a1461025f57806312065fe014610286578063158ef93e1461029b578063229824c4146102b057806322e58557146102ce57806323d7e089146102e357806326fd8422146102f85780632e9392bb146103135780633955f0fe146103285780633b6537551461033d5780633bc0461a146103485780633ec862a814610360578063421a57271461038157806343ce742214610396578063467ece79146103ab5780634f74acfe146103cc578063642ab4b1146103d4578063682baa3a146103e95780636bc46fb2146103fe5780637267036114610413578063732e77d0146104345780637e2cb974146104495780637e56fde51461046a5780638013f3a71461048257806388af6534146104975780638e316327146104ac5780638f4ffcb1146104c4578063aabe2fe314610534578063ae20bf1514610549578063b697fc931461055e578063c2127e0314610573578063ce8883af14610588578063cf99d935146105a0578063d4cde43c146105b5578063d7c8843b146105d9578063ea3f190e146105fa575b005b3480156101f057600080fd5b50610205600160a060020a0360043516610612565b604080519115158252519081900360200190f35b34801561022557600080fd5b5061022e610627565b60408051600160a060020a039092168252519081900360200190f35b34801561025657600080fd5b5061022e610636565b34801561026b57600080fd5b5061027461064a565b60408051918252519081900360200190f35b34801561029257600080fd5b50610274610650565b3480156102a757600080fd5b50610205610655565b3480156102bc57600080fd5b5061027460043560243560443561065e565b3480156102da57600080fd5b506102746106ab565b3480156102ef57600080fd5b506102746106e4565b34801561030457600080fd5b506102746004356024356106fb565b34801561031f57600080fd5b50610274610725565b34801561033457600080fd5b506101e261072b565b6101e26004356107eb565b34801561035457600080fd5b5061027460043561082d565b34801561036c57600080fd5b506101e2600160a060020a036004351661084a565b34801561038d57600080fd5b506101e2610885565b3480156103a257600080fd5b5061027461091b565b3480156103b757600080fd5b50610274600160a060020a036004351661093b565b6101e261094d565b3480156103e057600080fd5b50610274610a55565b3480156103f557600080fd5b50610274610a5b565b34801561040a57600080fd5b50610274610a61565b34801561041f57600080fd5b50610274600160a060020a0360043516610a67565b34801561044057600080fd5b50610274610a79565b34801561045557600080fd5b50610274600160a060020a0360043516610a7f565b34801561047657600080fd5b50610274600435610a91565b34801561048e57600080fd5b5061022e610a9e565b3480156104a357600080fd5b50610274610aad565b3480156104b857600080fd5b50610274600435610ab3565b3480156104d057600080fd5b50604080516020601f6064356004818101359283018490048402850184019095528184526101e294600160a060020a03813581169560248035966044359093169536956084949201918190840183828082843750949750610ae09650505050505050565b34801561054057600080fd5b5061022e610c07565b34801561055557600080fd5b506101e2610c16565b34801561056a57600080fd5b50610274610d30565b34801561057f57600080fd5b50610274610d36565b34801561059457600080fd5b50610274600435610d49565b3480156105ac57600080fd5b506101e2610d59565b3480156105c157600080fd5b506101e2600160a060020a0360043516602435610dbf565b3480156105e557600080fd5b50610274600160a060020a0360043516610e0d565b34801561060657600080fd5b50610274600435610e6c565b600d6020526000908152604090205460ff1681565b600f54600160a060020a031681565b6008546101009004600160a060020a031681565b60135481565b303190565b60085460ff1681565b60006106a361066f60045484610e79565b61069e6005546106936106986106876004548a610e79565b6106936005548c610e79565b610eaf565b89610ebe565b610ebe565b949350505050565b60006106df6106ca6106c53031606463ffffffff610ebe16565b610a91565b6106da66b1a2bc2ec50000610a91565b610ed5565b905090565b6012546000906106df90606463ffffffff610ebe16565b600061071e8361071660135485610eeb90919063ffffffff16565b600e5461065e565b9392505050565b600e5481565b6008546000908190819060ff16151561074357600080fd5b61074b61091b565b925061075683610ab3565b915061076182610d49565b336000908152600b60209081526040808320839055600c9091529020429055600e549091506107909084610eaf565b600e556013546107a6908263ffffffff610eaf16565b601355336108fc6107bd848463ffffffff610eeb16565b6040518115909202916000818181858888f193505050501580156107e5573d6000803e3d6000fd5b50505050565b6008546101009004600160a060020a0316331461080757600080fd5b60085460ff161561081757600080fd5b6008805460ff19166001179055600e5542601055565b600061084461083d836004610e79565b6064610ebe565b92915050565b600754336000908152600c6020526040902054429161086f919063ffffffff610eaf16565b1061087957600080fd5b61088281610efd565b50565b600061088f610d59565b60085460ff1615610882576108a46000610efd565b6108ac6106e4565b336000908152600a60205260409020549091506108cf908263ffffffff610eeb16565b336000908152600a60205260409020556012546108f2908263ffffffff610eaf16565b601255426010556011805473ffffffffffffffffffffffffffffffffffffffff19163317905550565b336000818152600b602052604081205490916106df919061069390610e0d565b600c6020526000908152604090205481565b60085460009060ff16151561096157600080fd5b61097534610970303182610eeb565b6106fb565b90506109906109838261082d565b829063ffffffff610eeb16565b905061099e61098382610e6c565b6008549091506101009004600160a060020a03166108fc6109be3461082d565b6040518115909202916000818181858888f193505050501580156109e6573d6000803e3d6000fd5b50600954600160a060020a03166108fc6109ff34610e6c565b6040518115909202916000818181858888f19350505050158015610a27573d6000803e3d6000fd5b50336000908152600b6020526040902054610a429082610eaf565b336000908152600b602052604090205550565b60105481565b60075481565b60125481565b600b6020526000908152604090205481565b60025481565b600a6020526000908152604090205481565b60006108448230316106fb565b600954600160a060020a031681565b60035481565b600061084482600e54610adb60135430600160a060020a031631610eeb90919063ffffffff16565b61065e565b60085460ff1615610af057600080fd5b600054600160a060020a03163314610b0757600080fd5b600154604080517f23b872dd000000000000000000000000000000000000000000000000000000008152600160a060020a03878116600483015230602483015260448201879052915191909216916323b872dd9160648083019260209291908290030181600087803b158015610b7c57600080fd5b505af1158015610b90573d6000803e3d6000fd5b505050506040513d6020811015610ba657600080fd5b5050600354610be590610bc090859063ffffffff610ebe16565b600160a060020a0386166000908152600b60205260409020549063ffffffff610eaf16565b600160a060020a039094166000908152600b6020526040902093909355505050565b601154600160a060020a031681565b600f54604080517fe35fe3660000000000000000000000000000000000000000000000000000000081523360048201529051600160a060020a039092169163e35fe366916024808201926020929091908290030181600087803b158015610c7c57600080fd5b505af1158015610c90573d6000803e3d6000fd5b505050506040513d6020811015610ca657600080fd5b50511515610cb357600080fd5b60085460ff161515610cc457600080fd5b336000908152600d602052604090205460ff1615610ce157600080fd5b610d08610cec6106ab565b336000908152600b60205260409020549063ffffffff610eaf16565b336000908152600b6020908152604080832093909355600d905220805460ff19166001179055565b60065481565b336000908152600a602052604090205490565b600061084461083d836014610e79565b42610d71600654601054610eaf90919063ffffffff16565b1015610dbd57601154604051600160a060020a0390911690303180156108fc02916000818181858888f19350505050158015610db1573d6000803e3d6000fd5b506008805460ff191690555b565b60085460ff1615610dcf57600080fd5b6008546101009004600160a060020a03163314610deb57600080fd5b600254600160a060020a039092166000908152600b6020526040902091029055565b600080610e456002546106da42600c600088600160a060020a0316600160a060020a0316815260200190815260200160002054610eeb565b600160a060020a0384166000908152600a602052604090205490915061071e908290610e79565b6000610844826064610ebe565b600080831515610e8c5760009150610ea8565b50828202828482811515610e9c57fe5b0414610ea457fe5b8091505b5092915050565b600082820183811015610ea457fe5b6000808284811515610ecc57fe5b04949350505050565b6000818310610ee4578161071e565b5090919050565b600082821115610ef757fe5b50900390565b600854600090819060ff161515610f1357600080fd5b610f1b61091b565b9150610f2982600254610ebe565b336000908152600a6020526040902054909150610f469082610eaf565b336000908152600a6020526040902055601254610f69908263ffffffff610eaf16565b601255336000818152600b60209081526040808320839055600c9091529020429055600160a060020a0384161415610fa057600080fd5b600160a060020a0383161561100257610fe8610fc383600763ffffffff610ebe16565b600160a060020a0385166000908152600b60205260409020549063ffffffff610eaf16565b600160a060020a0384166000908152600b60205260409020555b611013600e54610693846007610ebe565b600e555050505600a165627a7a72305820fb9763358bd4ebde5c9be4a4f2f1b5b557b358c82dd1ca984df0955c8785697d0029
Deployed Bytecode
0x6080604052600436106101e25763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166302b8230c81146101e457806308722e78146102195780630a0f81681461024a5780630ec0692a1461025f57806312065fe014610286578063158ef93e1461029b578063229824c4146102b057806322e58557146102ce57806323d7e089146102e357806326fd8422146102f85780632e9392bb146103135780633955f0fe146103285780633b6537551461033d5780633bc0461a146103485780633ec862a814610360578063421a57271461038157806343ce742214610396578063467ece79146103ab5780634f74acfe146103cc578063642ab4b1146103d4578063682baa3a146103e95780636bc46fb2146103fe5780637267036114610413578063732e77d0146104345780637e2cb974146104495780637e56fde51461046a5780638013f3a71461048257806388af6534146104975780638e316327146104ac5780638f4ffcb1146104c4578063aabe2fe314610534578063ae20bf1514610549578063b697fc931461055e578063c2127e0314610573578063ce8883af14610588578063cf99d935146105a0578063d4cde43c146105b5578063d7c8843b146105d9578063ea3f190e146105fa575b005b3480156101f057600080fd5b50610205600160a060020a0360043516610612565b604080519115158252519081900360200190f35b34801561022557600080fd5b5061022e610627565b60408051600160a060020a039092168252519081900360200190f35b34801561025657600080fd5b5061022e610636565b34801561026b57600080fd5b5061027461064a565b60408051918252519081900360200190f35b34801561029257600080fd5b50610274610650565b3480156102a757600080fd5b50610205610655565b3480156102bc57600080fd5b5061027460043560243560443561065e565b3480156102da57600080fd5b506102746106ab565b3480156102ef57600080fd5b506102746106e4565b34801561030457600080fd5b506102746004356024356106fb565b34801561031f57600080fd5b50610274610725565b34801561033457600080fd5b506101e261072b565b6101e26004356107eb565b34801561035457600080fd5b5061027460043561082d565b34801561036c57600080fd5b506101e2600160a060020a036004351661084a565b34801561038d57600080fd5b506101e2610885565b3480156103a257600080fd5b5061027461091b565b3480156103b757600080fd5b50610274600160a060020a036004351661093b565b6101e261094d565b3480156103e057600080fd5b50610274610a55565b3480156103f557600080fd5b50610274610a5b565b34801561040a57600080fd5b50610274610a61565b34801561041f57600080fd5b50610274600160a060020a0360043516610a67565b34801561044057600080fd5b50610274610a79565b34801561045557600080fd5b50610274600160a060020a0360043516610a7f565b34801561047657600080fd5b50610274600435610a91565b34801561048e57600080fd5b5061022e610a9e565b3480156104a357600080fd5b50610274610aad565b3480156104b857600080fd5b50610274600435610ab3565b3480156104d057600080fd5b50604080516020601f6064356004818101359283018490048402850184019095528184526101e294600160a060020a03813581169560248035966044359093169536956084949201918190840183828082843750949750610ae09650505050505050565b34801561054057600080fd5b5061022e610c07565b34801561055557600080fd5b506101e2610c16565b34801561056a57600080fd5b50610274610d30565b34801561057f57600080fd5b50610274610d36565b34801561059457600080fd5b50610274600435610d49565b3480156105ac57600080fd5b506101e2610d59565b3480156105c157600080fd5b506101e2600160a060020a0360043516602435610dbf565b3480156105e557600080fd5b50610274600160a060020a0360043516610e0d565b34801561060657600080fd5b50610274600435610e6c565b600d6020526000908152604090205460ff1681565b600f54600160a060020a031681565b6008546101009004600160a060020a031681565b60135481565b303190565b60085460ff1681565b60006106a361066f60045484610e79565b61069e6005546106936106986106876004548a610e79565b6106936005548c610e79565b610eaf565b89610ebe565b610ebe565b949350505050565b60006106df6106ca6106c53031606463ffffffff610ebe16565b610a91565b6106da66b1a2bc2ec50000610a91565b610ed5565b905090565b6012546000906106df90606463ffffffff610ebe16565b600061071e8361071660135485610eeb90919063ffffffff16565b600e5461065e565b9392505050565b600e5481565b6008546000908190819060ff16151561074357600080fd5b61074b61091b565b925061075683610ab3565b915061076182610d49565b336000908152600b60209081526040808320839055600c9091529020429055600e549091506107909084610eaf565b600e556013546107a6908263ffffffff610eaf16565b601355336108fc6107bd848463ffffffff610eeb16565b6040518115909202916000818181858888f193505050501580156107e5573d6000803e3d6000fd5b50505050565b6008546101009004600160a060020a0316331461080757600080fd5b60085460ff161561081757600080fd5b6008805460ff19166001179055600e5542601055565b600061084461083d836004610e79565b6064610ebe565b92915050565b600754336000908152600c6020526040902054429161086f919063ffffffff610eaf16565b1061087957600080fd5b61088281610efd565b50565b600061088f610d59565b60085460ff1615610882576108a46000610efd565b6108ac6106e4565b336000908152600a60205260409020549091506108cf908263ffffffff610eeb16565b336000908152600a60205260409020556012546108f2908263ffffffff610eaf16565b601255426010556011805473ffffffffffffffffffffffffffffffffffffffff19163317905550565b336000818152600b602052604081205490916106df919061069390610e0d565b600c6020526000908152604090205481565b60085460009060ff16151561096157600080fd5b61097534610970303182610eeb565b6106fb565b90506109906109838261082d565b829063ffffffff610eeb16565b905061099e61098382610e6c565b6008549091506101009004600160a060020a03166108fc6109be3461082d565b6040518115909202916000818181858888f193505050501580156109e6573d6000803e3d6000fd5b50600954600160a060020a03166108fc6109ff34610e6c565b6040518115909202916000818181858888f19350505050158015610a27573d6000803e3d6000fd5b50336000908152600b6020526040902054610a429082610eaf565b336000908152600b602052604090205550565b60105481565b60075481565b60125481565b600b6020526000908152604090205481565b60025481565b600a6020526000908152604090205481565b60006108448230316106fb565b600954600160a060020a031681565b60035481565b600061084482600e54610adb60135430600160a060020a031631610eeb90919063ffffffff16565b61065e565b60085460ff1615610af057600080fd5b600054600160a060020a03163314610b0757600080fd5b600154604080517f23b872dd000000000000000000000000000000000000000000000000000000008152600160a060020a03878116600483015230602483015260448201879052915191909216916323b872dd9160648083019260209291908290030181600087803b158015610b7c57600080fd5b505af1158015610b90573d6000803e3d6000fd5b505050506040513d6020811015610ba657600080fd5b5050600354610be590610bc090859063ffffffff610ebe16565b600160a060020a0386166000908152600b60205260409020549063ffffffff610eaf16565b600160a060020a039094166000908152600b6020526040902093909355505050565b601154600160a060020a031681565b600f54604080517fe35fe3660000000000000000000000000000000000000000000000000000000081523360048201529051600160a060020a039092169163e35fe366916024808201926020929091908290030181600087803b158015610c7c57600080fd5b505af1158015610c90573d6000803e3d6000fd5b505050506040513d6020811015610ca657600080fd5b50511515610cb357600080fd5b60085460ff161515610cc457600080fd5b336000908152600d602052604090205460ff1615610ce157600080fd5b610d08610cec6106ab565b336000908152600b60205260409020549063ffffffff610eaf16565b336000908152600b6020908152604080832093909355600d905220805460ff19166001179055565b60065481565b336000908152600a602052604090205490565b600061084461083d836014610e79565b42610d71600654601054610eaf90919063ffffffff16565b1015610dbd57601154604051600160a060020a0390911690303180156108fc02916000818181858888f19350505050158015610db1573d6000803e3d6000fd5b506008805460ff191690555b565b60085460ff1615610dcf57600080fd5b6008546101009004600160a060020a03163314610deb57600080fd5b600254600160a060020a039092166000908152600b6020526040902091029055565b600080610e456002546106da42600c600088600160a060020a0316600160a060020a0316815260200190815260200160002054610eeb565b600160a060020a0384166000908152600a602052604090205490915061071e908290610e79565b6000610844826064610ebe565b600080831515610e8c5760009150610ea8565b50828202828482811515610e9c57fe5b0414610ea457fe5b8091505b5092915050565b600082820183811015610ea457fe5b6000808284811515610ecc57fe5b04949350505050565b6000818310610ee4578161071e565b5090919050565b600082821115610ef757fe5b50900390565b600854600090819060ff161515610f1357600080fd5b610f1b61091b565b9150610f2982600254610ebe565b336000908152600a6020526040902054909150610f469082610eaf565b336000908152600a6020526040902055601254610f69908263ffffffff610eaf16565b601255336000818152600b60209081526040808320839055600c9091529020429055600160a060020a0384161415610fa057600080fd5b600160a060020a0383161561100257610fe8610fc383600763ffffffff610ebe16565b600160a060020a0385166000908152600b60205260409020549063ffffffff610eaf16565b600160a060020a0384166000908152600b60205260409020555b611013600e54610693846007610ebe565b600e555050505600a165627a7a72305820fb9763358bd4ebde5c9be4a4f2f1b5b557b358c82dd1ca984df0955c8785697d0029
Swarm Source
bzzr://fb9763358bd4ebde5c9be4a4f2f1b5b557b358c82dd1ca984df0955c8785697d
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
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.