Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 1 from a total of 1 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
0x60606040 | 5713718 | 2243 days ago | IN | Create: EtherPiggyBank | 0 ETH | 0.02504039 |
Loading...
Loading
Contract Name:
EtherPiggyBank
Compiler Version
v0.4.18+commit.9cf6e910
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2018-06-01 */ pragma solidity ^0.4.18; // // EtherPiggyBank // (etherpiggybank.com) // // <`--'\>______ // /. . `' \ // (`') , @ // `-._, / // )-)_/--( > // '''' '''' // // Invest Ethereum into a long term stable solution where // your investment can grow organically as the system expands. // You will gain +1.5% of your invested Ethereum every day that // you leave it in the Ether Piggy Bank! // You can withdraw your investments at any time but it will // incur a 20% withdrawal fee (~13 days of investing). // You can also invest your profits back into your account and // your gains will compound the more you do this! // // Big players can compete for the investment positions available, // every time someone makes a deposit into the Ether Piggy Bank, // they will receive a percentage of that sale in their // affiliate commision. // You can buy this position off anyone and double it's current // buying price but every 3-7 days (depending on the position), // the buying price will halve until it reaches 0.125 ether. // Upon buying, the previous investor gets 75% of the buying price, // the dev gets 5% and the rest goes into the contract to encourage // an all round balanced ecosystem! // // You will also receive a 5% bonus, which will appear in your // affiliate commission, by referring another player to the game // via your referral URL! It's a HYIP on a smart contract, fully // transparent and you'll never need to worry about an exit scam or // someone taking all the money and leaving! contract EtherPiggyBank { // investment tracking for each address mapping (address => uint256) public investedETH; mapping (address => uint256) public lastInvest; // for referrals and investor positions mapping (address => uint256) public affiliateCommision; uint256 REF_BONUS = 4; // 4% of the ether invested // goes into the ref address' affiliate commision uint256 DEV_TAX = 1; // 1% of all ether invested // goes into the dev address' affiliate commision uint256 BASE_PRICE = 0.125 ether; // 1/8 ether uint256 INHERITANCE_TAX = 75; // 75% will be returned to the // investor if their position is purchased, the rest will // go to the contract and the dev uint256 DEV_TRANSFER_TAX = 5; // this means that when purchased the sale will be distrubuted: // 75% to the old position owner // 5% to the dev // and 20% to the contract for all the other investors // ^ this will encourage a healthy ecosystem struct InvestorPosition { address investor; uint256 startingLevel; uint256 startingTime; uint256 halfLife; uint256 percentageCut; } InvestorPosition[] investorPositions; address dev; // start up the contract! function EtherPiggyBank() public { // set the dev address dev = msg.sender; // make the gold level investor investorPositions.push(InvestorPosition({ investor: dev, startingLevel: 5, // 1/8 ether * 2^5 = 4 ether startingTime: now, halfLife: 7 days, // 7 days until the level decreases percentageCut: 5 // with 5% cut of all investments })); // make the silver level investor investorPositions.push(InvestorPosition({ investor: dev, startingLevel: 4, // 1/8 ether * 2^4 = 2 ether startingTime: now, halfLife: 5 days, // 5 days until the level decreases percentageCut: 3 // with 3% cut of all investments })); // make the bronze level investor investorPositions.push(InvestorPosition({ investor: dev, startingLevel: 3, // 1/8 ether * 2^3 = 1 ether startingTime: now, halfLife: 3 days, // 3 days until the level decreases percentageCut: 1 // with 1% cut of all investments })); } function investETH(address referral) public payable { require(msg.value >= 0.01 ether); if (getProfit(msg.sender) > 0) { uint256 profit = getProfit(msg.sender); lastInvest[msg.sender] = now; msg.sender.transfer(profit); } uint256 amount = msg.value; // handle all of our investor positions first bool flaggedRef = (referral == msg.sender || referral == dev); // ref cannot be the sender or the dev for(uint256 i = 0; i < investorPositions.length; i++) { InvestorPosition memory position = investorPositions[i]; // check that our ref isn't an investor too if (position.investor == referral) { flaggedRef = true; } // we cannot claim on our own investments if (position.investor != msg.sender) { uint256 commision = SafeMath.div(SafeMath.mul(amount, position.percentageCut), 100); affiliateCommision[position.investor] = SafeMath.add(affiliateCommision[position.investor], commision); } } // now for the referral (if we have one) if (!flaggedRef && referral != 0x0) { uint256 refBonus = SafeMath.div(SafeMath.mul(amount, REF_BONUS), 100); // 4% affiliateCommision[referral] = SafeMath.add(affiliateCommision[referral], refBonus); } // hand out the dev tax uint256 devTax = SafeMath.div(SafeMath.mul(amount, DEV_TAX), 100); // 1% affiliateCommision[dev] = SafeMath.add(affiliateCommision[dev], devTax); // now put it in your own piggy bank! investedETH[msg.sender] = SafeMath.add(investedETH[msg.sender], amount); lastInvest[msg.sender] = now; } function divestETH() public { uint256 profit = getProfit(msg.sender); // 20% fee on taking capital out uint256 capital = investedETH[msg.sender]; uint256 fee = SafeMath.div(capital, 5); capital = SafeMath.sub(capital, fee); uint256 total = SafeMath.add(capital, profit); require(total > 0); investedETH[msg.sender] = 0; lastInvest[msg.sender] = now; msg.sender.transfer(total); } function withdraw() public{ uint256 profit = getProfit(msg.sender); require(profit > 0); lastInvest[msg.sender] = now; msg.sender.transfer(profit); } function withdrawAffiliateCommision() public { require(affiliateCommision[msg.sender] > 0); uint256 commision = affiliateCommision[msg.sender]; affiliateCommision[msg.sender] = 0; msg.sender.transfer(commision); } function reinvestProfit() public { uint256 profit = getProfit(msg.sender); require(profit > 0); lastInvest[msg.sender] = now; investedETH[msg.sender] = SafeMath.add(investedETH[msg.sender], profit); } function inheritInvestorPosition(uint256 index) public payable { require(investorPositions.length > index); require(msg.sender == tx.origin); InvestorPosition storage position = investorPositions[index]; uint256 currentLevel = getCurrentLevel(position.startingLevel, position.startingTime, position.halfLife); uint256 currentPrice = getCurrentPrice(currentLevel); require(msg.value >= currentPrice); uint256 purchaseExcess = SafeMath.sub(msg.value, currentPrice); position.startingLevel = currentLevel + 1; position.startingTime = now; // now do the transfers uint256 inheritanceTax = SafeMath.div(SafeMath.mul(currentPrice, INHERITANCE_TAX), 100); // 75% position.investor.transfer(inheritanceTax); position.investor = msg.sender; // set the new investor address // now the dev transfer tax uint256 devTransferTax = SafeMath.div(SafeMath.mul(currentPrice, DEV_TRANSFER_TAX), 100); // 5% dev.transfer(devTransferTax); // and finally the excess msg.sender.transfer(purchaseExcess); // after this point there will be 20% of currentPrice left in the contract // this will be automatically go towards paying for profits and withdrawals } function getInvestorPosition(uint256 index) public view returns(address investor, uint256 currentPrice, uint256 halfLife, uint256 percentageCut) { InvestorPosition memory position = investorPositions[index]; return (position.investor, getCurrentPrice(getCurrentLevel(position.startingLevel, position.startingTime, position.halfLife)), position.halfLife, position.percentageCut); } function getCurrentPrice(uint256 currentLevel) internal view returns(uint256) { return BASE_PRICE * 2**currentLevel; // ** is exponent, price doubles every level } function getCurrentLevel(uint256 startingLevel, uint256 startingTime, uint256 halfLife) internal view returns(uint256) { uint256 timePassed = SafeMath.sub(now, startingTime); uint256 levelsPassed = SafeMath.div(timePassed, halfLife); if (startingLevel < levelsPassed) { return 0; } return SafeMath.sub(startingLevel,levelsPassed); } function getProfitFromSender() public view returns(uint256){ return getProfit(msg.sender); } function getProfit(address customer) public view returns(uint256){ uint256 secondsPassed = SafeMath.sub(now, lastInvest[customer]); return SafeMath.div(SafeMath.mul(secondsPassed, investedETH[customer]), 5760000); // = days * amount * 0.015 (+1.5% per day) } function getAffiliateCommision() public view returns(uint256){ return affiliateCommision[msg.sender]; } function getInvested() public view returns(uint256){ return investedETH[msg.sender]; } function getBalance() public view returns(uint256){ return this.balance; } } 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":false,"inputs":[],"name":"divestETH","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"getBalance","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"withdraw","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"getAffiliateCommision","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"affiliateCommision","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"getProfitFromSender","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"index","type":"uint256"}],"name":"getInvestorPosition","outputs":[{"name":"investor","type":"address"},{"name":"currentPrice","type":"uint256"},{"name":"halfLife","type":"uint256"},{"name":"percentageCut","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"referral","type":"address"}],"name":"investETH","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"lastInvest","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"getInvested","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"customer","type":"address"}],"name":"getProfit","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"index","type":"uint256"}],"name":"inheritInvestorPosition","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"investedETH","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"reinvestProfit","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"withdrawAffiliateCommision","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"}]
Contract Creation Code
6060604052600460035560016004556701bc16d674ec8000600555604b600655600560075534156200003057600080fd5b33600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600880548060010182816200008791906200037d565b9160005260206000209060050201600060a060405190810160405280600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016005815260200142815260200162093a8081526020016005815250909190915060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160010155604082015181600201556060820151816003015560808201518160040155505050600880548060010182816200018991906200037d565b9160005260206000209060050201600060a060405190810160405280600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001600481526020014281526020016206978081526020016003815250909190915060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160010155604082015181600201556060820151816003015560808201518160040155505050600880548060010182816200028b91906200037d565b9160005260206000209060050201600060a060405190810160405280600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001600381526020014281526020016203f48081526020016001815250909190915060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550602082015181600101556040820151816002015560608201518160030155608082015181600401555050506200041b565b815481835581811511620003ad57600502816005028360005260206000209182019101620003ac9190620003b2565b5b505050565b6200041891905b808211156200041457600080820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff0219169055600182016000905560028201600090556003820160009055600482016000905550600501620003b9565b5090565b90565b6113dc806200042b6000396000f3006060604052600436106100db576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff1680631054d657146100e057806312065fe0146100f55780633ccfd60b1461011e57806343c6e10d146101335780635c5f02651461015c5780635f3619b1146101a95780636a4d4bb8146101d25780637a99ba4f1461024a5780637be0051014610278578063befc3e2b146102c5578063c600e1dc146102ee578063cc6d8ba61461033b578063d86479df14610353578063e3b61135146103a0578063f09dd7c6146103b5575b600080fd5b34156100eb57600080fd5b6100f36103ca565b005b341561010057600080fd5b61010861051e565b6040518082815260200191505060405180910390f35b341561012957600080fd5b61013161053d565b005b341561013e57600080fd5b6101466105e0565b6040518082815260200191505060405180910390f35b341561016757600080fd5b610193600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610627565b6040518082815260200191505060405180910390f35b34156101b457600080fd5b6101bc61063f565b6040518082815260200191505060405180910390f35b34156101dd57600080fd5b6101f3600480803590602001909190505061064f565b604051808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200184815260200183815260200182815260200194505050505060405180910390f35b610276600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610744565b005b341561028357600080fd5b6102af600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610d17565b6040518082815260200191505060405180910390f35b34156102d057600080fd5b6102d8610d2f565b6040518082815260200191505060405180910390f35b34156102f957600080fd5b610325600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610d75565b6040518082815260200191505060405180910390f35b6103516004808035906020019091905050610e1f565b005b341561035e57600080fd5b61038a600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190505061106a565b6040518082815260200191505060405180910390f35b34156103ab57600080fd5b6103b3611082565b005b34156103c057600080fd5b6103c861116f565b005b6000806000806103d933610d75565b93506000803373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549250610427836005611288565b915061043383836112a3565b925061043f83856112bc565b905060008111151561045057600080fd5b60008060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555042600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050151561051857600080fd5b50505050565b60003073ffffffffffffffffffffffffffffffffffffffff1631905090565b600061054833610d75565b905060008111151561055957600080fd5b42600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f1935050505015156105dd57600080fd5b50565b6000600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905090565b60026020528060005260406000206000915090505481565b600061064a33610d75565b905090565b60008060008061065d61136a565b60088681548110151561066c57fe5b906000526020600020906005020160a060405190810160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016001820154815260200160028201548152602001600382015481526020016004820154815250509050806000015161072a6107258360200151846040015185606001516112da565b61131e565b826060015183608001519450945094509450509193509193565b60008060008061075261136a565b6000806000662386f26fc10000341015151561076d57600080fd5b600061077833610d75565b111561080e5761078733610d75565b975042600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055503373ffffffffffffffffffffffffffffffffffffffff166108fc899081150290604051600060405180830381858888f19350505050151561080d57600080fd5b5b3496503373ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff1614806108985750600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff16145b9550600094505b600880549050851015610a87576008858154811015156108bb57fe5b906000526020600020906005020160a060405190810160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200160018201548152602001600282015481526020016003820154815260200160048201548152505093508873ffffffffffffffffffffffffffffffffffffffff16846000015173ffffffffffffffffffffffffffffffffffffffff16141561099257600195505b3373ffffffffffffffffffffffffffffffffffffffff16846000015173ffffffffffffffffffffffffffffffffffffffff16141515610a7a576109e36109dc88866080015161132f565b6064611288565b9250610a3260026000866000015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054846112bc565b60026000866000015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b848060010195505061089f565b85158015610aac575060008973ffffffffffffffffffffffffffffffffffffffff1614155b15610b5657610ac7610ac08860035461132f565b6064611288565b9150610b12600260008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054836112bc565b600260008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b610b6c610b658860045461132f565b6064611288565b9050610bd960026000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054826112bc565b60026000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550610c866000803373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054886112bc565b6000803373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555042600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550505050505050505050565b60016020528060005260406000206000915090505481565b60008060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905090565b600080610dc142600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546112a3565b9050610e17610e0e826000808773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461132f565b6257e400611288565b915050919050565b60008060008060008086600880549050111515610e3b57600080fd5b3273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610e7557600080fd5b600887815481101515610e8457fe5b90600052602060002090600502019550610eab8660010154876002015488600301546112da565b9450610eb68561131e565b9350833410151515610ec757600080fd5b610ed134856112a3565b9250600185018660010181905550428660020181905550610efe610ef78560065461132f565b6064611288565b91508560000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f193505050501515610f6457600080fd5b338660000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550610fbd610fb68560075461132f565b6064611288565b9050600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050151561102157600080fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc849081150290604051600060405180830381858888f19350505050151561106157600080fd5b50505050505050565b60006020528060005260406000206000915090505481565b600061108d33610d75565b905060008111151561109e57600080fd5b42600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061112a6000803373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054826112bc565b6000803373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555050565b600080600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541115156111be57600080fd5b600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490506000600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050151561128557600080fd5b50565b600080828481151561129657fe5b0490508091505092915050565b60008282111515156112b157fe5b818303905092915050565b60008082840190508381101515156112d057fe5b8091505092915050565b60008060006112e942866112a3565b91506112f58285611288565b9050808610156113085760009250611315565b61131286826112a3565b92505b50509392505050565b60008160020a600554029050919050565b60008060008414156113445760009150611363565b828402905082848281151561135557fe5b0414151561135f57fe5b8091505b5092915050565b60a060405190810160405280600073ffffffffffffffffffffffffffffffffffffffff1681526020016000815260200160008152602001600081526020016000815250905600a165627a7a7230582042eab08ee921d67f8cbeba2767d091005d7492bd3d8b668b37d16ad25d4fe8500029
Deployed Bytecode
0x6060604052600436106100db576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff1680631054d657146100e057806312065fe0146100f55780633ccfd60b1461011e57806343c6e10d146101335780635c5f02651461015c5780635f3619b1146101a95780636a4d4bb8146101d25780637a99ba4f1461024a5780637be0051014610278578063befc3e2b146102c5578063c600e1dc146102ee578063cc6d8ba61461033b578063d86479df14610353578063e3b61135146103a0578063f09dd7c6146103b5575b600080fd5b34156100eb57600080fd5b6100f36103ca565b005b341561010057600080fd5b61010861051e565b6040518082815260200191505060405180910390f35b341561012957600080fd5b61013161053d565b005b341561013e57600080fd5b6101466105e0565b6040518082815260200191505060405180910390f35b341561016757600080fd5b610193600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610627565b6040518082815260200191505060405180910390f35b34156101b457600080fd5b6101bc61063f565b6040518082815260200191505060405180910390f35b34156101dd57600080fd5b6101f3600480803590602001909190505061064f565b604051808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200184815260200183815260200182815260200194505050505060405180910390f35b610276600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610744565b005b341561028357600080fd5b6102af600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610d17565b6040518082815260200191505060405180910390f35b34156102d057600080fd5b6102d8610d2f565b6040518082815260200191505060405180910390f35b34156102f957600080fd5b610325600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610d75565b6040518082815260200191505060405180910390f35b6103516004808035906020019091905050610e1f565b005b341561035e57600080fd5b61038a600480803573ffffffffffffffffffffffffffffffffffffffff1690602001909190505061106a565b6040518082815260200191505060405180910390f35b34156103ab57600080fd5b6103b3611082565b005b34156103c057600080fd5b6103c861116f565b005b6000806000806103d933610d75565b93506000803373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549250610427836005611288565b915061043383836112a3565b925061043f83856112bc565b905060008111151561045057600080fd5b60008060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555042600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050151561051857600080fd5b50505050565b60003073ffffffffffffffffffffffffffffffffffffffff1631905090565b600061054833610d75565b905060008111151561055957600080fd5b42600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f1935050505015156105dd57600080fd5b50565b6000600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905090565b60026020528060005260406000206000915090505481565b600061064a33610d75565b905090565b60008060008061065d61136a565b60088681548110151561066c57fe5b906000526020600020906005020160a060405190810160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016001820154815260200160028201548152602001600382015481526020016004820154815250509050806000015161072a6107258360200151846040015185606001516112da565b61131e565b826060015183608001519450945094509450509193509193565b60008060008061075261136a565b6000806000662386f26fc10000341015151561076d57600080fd5b600061077833610d75565b111561080e5761078733610d75565b975042600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055503373ffffffffffffffffffffffffffffffffffffffff166108fc899081150290604051600060405180830381858888f19350505050151561080d57600080fd5b5b3496503373ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff1614806108985750600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff16145b9550600094505b600880549050851015610a87576008858154811015156108bb57fe5b906000526020600020906005020160a060405190810160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200160018201548152602001600282015481526020016003820154815260200160048201548152505093508873ffffffffffffffffffffffffffffffffffffffff16846000015173ffffffffffffffffffffffffffffffffffffffff16141561099257600195505b3373ffffffffffffffffffffffffffffffffffffffff16846000015173ffffffffffffffffffffffffffffffffffffffff16141515610a7a576109e36109dc88866080015161132f565b6064611288565b9250610a3260026000866000015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054846112bc565b60026000866000015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b848060010195505061089f565b85158015610aac575060008973ffffffffffffffffffffffffffffffffffffffff1614155b15610b5657610ac7610ac08860035461132f565b6064611288565b9150610b12600260008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054836112bc565b600260008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b610b6c610b658860045461132f565b6064611288565b9050610bd960026000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054826112bc565b60026000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550610c866000803373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054886112bc565b6000803373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555042600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550505050505050505050565b60016020528060005260406000206000915090505481565b60008060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905090565b600080610dc142600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546112a3565b9050610e17610e0e826000808773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461132f565b6257e400611288565b915050919050565b60008060008060008086600880549050111515610e3b57600080fd5b3273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610e7557600080fd5b600887815481101515610e8457fe5b90600052602060002090600502019550610eab8660010154876002015488600301546112da565b9450610eb68561131e565b9350833410151515610ec757600080fd5b610ed134856112a3565b9250600185018660010181905550428660020181905550610efe610ef78560065461132f565b6064611288565b91508560000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f193505050501515610f6457600080fd5b338660000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550610fbd610fb68560075461132f565b6064611288565b9050600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050151561102157600080fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc849081150290604051600060405180830381858888f19350505050151561106157600080fd5b50505050505050565b60006020528060005260406000206000915090505481565b600061108d33610d75565b905060008111151561109e57600080fd5b42600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061112a6000803373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054826112bc565b6000803373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555050565b600080600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541115156111be57600080fd5b600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490506000600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050151561128557600080fd5b50565b600080828481151561129657fe5b0490508091505092915050565b60008282111515156112b157fe5b818303905092915050565b60008082840190508381101515156112d057fe5b8091505092915050565b60008060006112e942866112a3565b91506112f58285611288565b9050808610156113085760009250611315565b61131286826112a3565b92505b50509392505050565b60008160020a600554029050919050565b60008060008414156113445760009150611363565b828402905082848281151561135557fe5b0414151561135f57fe5b8091505b5092915050565b60a060405190810160405280600073ffffffffffffffffffffffffffffffffffffffff1681526020016000815260200160008152602001600081526020016000815250905600a165627a7a7230582042eab08ee921d67f8cbeba2767d091005d7492bd3d8b668b37d16ad25d4fe8500029
Swarm Source
bzzr://42eab08ee921d67f8cbeba2767d091005d7492bd3d8b668b37d16ad25d4fe850
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 26 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ 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.