Feature Tip: Add private address tag to any address under My Name Tag !
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
|
|||||
---|---|---|---|---|---|---|---|---|---|
Set Wallet | 5817110 | 2233 days ago | IN | 0 ETH | 0.00062271 |
Latest 1 internal transaction
Advanced mode:
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
5758599 | 2243 days ago | Contract Creation | 0 ETH |
Loading...
Loading
Contract Name:
ITO
Compiler Version
v0.4.20+commit.3155dd80
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2018-06-09 */ pragma solidity ^0.4.18; // File: contracts/ownership/Ownable.sol /** * @title Ownable * @dev The Ownable contract has an owner address, and provides basic authorization control * functions, this simplifies the implementation of "user permissions". */ contract Ownable { address public owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev The Ownable constructor sets the original `owner` of the contract to the sender * account. */ function Ownable() public { owner = msg.sender; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(msg.sender == owner); _; } /** * @dev Allows the current owner to transfer control of the contract to a newOwner. * @param newOwner The address to transfer ownership to. */ function transferOwnership(address newOwner) public onlyOwner { require(newOwner != address(0)); OwnershipTransferred(owner, newOwner); owner = newOwner; } } // File: contracts/math/SafeMath.sol /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ library SafeMath { 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; } 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; } function sub(uint256 a, uint256 b) internal pure returns (uint256) { assert(b <= a); return a - b; } function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; assert(c >= a); return c; } } // File: contracts/token/ERC20Basic.sol /** * @title ERC20Basic * @dev Simpler version of ERC20 interface * @dev see https://github.com/ethereum/EIPs/issues/179 */ contract ERC20Basic { uint256 public totalSupply; function balanceOf(address who) public view returns (uint256); function transfer(address to, uint256 value) public returns (bool); event Transfer(address indexed from, address indexed to, uint256 value); } // File: contracts/token/BasicToken.sol /** * @title Basic token * @dev Basic version of StandardToken, with no allowances. */ contract BasicToken is ERC20Basic { using SafeMath for uint256; mapping(address => uint256) balances; /** * @dev transfer token for a specified address * @param _to The address to transfer to. * @param _value The amount to be transferred. */ function transfer(address _to, uint256 _value) public returns (bool) { require(_to != address(0)); require(_value <= balances[msg.sender]); // SafeMath.sub will throw if there is not enough balance. balances[msg.sender] = balances[msg.sender].sub(_value); balances[_to] = balances[_to].add(_value); Transfer(msg.sender, _to, _value); return true; } /** * @dev Gets the balance of the specified address. * @param _owner The address to query the the balance of. * @return An uint256 representing the amount owned by the passed address. */ function balanceOf(address _owner) public view returns (uint256 balance) { return balances[_owner]; } } // File: contracts/token/ERC20.sol /** * @title ERC20 interface * @dev see https://github.com/ethereum/EIPs/issues/20 */ contract ERC20 is ERC20Basic { function allowance(address owner, address spender) public view returns (uint256); function transferFrom(address from, address to, uint256 value) public returns (bool); function approve(address spender, uint256 value) public returns (bool); event Approval(address indexed owner, address indexed spender, uint256 value); } // File: contracts/token/StandardToken.sol /** * @title Standard ERC20 token * * @dev Implementation of the basic standard token. * @dev https://github.com/ethereum/EIPs/issues/20 * @dev Based on code by FirstBlood: https://github.com/Firstbloodio/token/blob/master/smart_contract/FirstBloodToken.sol */ contract StandardToken is ERC20, BasicToken { mapping (address => mapping (address => uint256)) internal allowed; /** * @dev Transfer tokens from one address to another * @param _from address The address which you want to send tokens from * @param _to address The address which you want to transfer to * @param _value uint256 the amount of tokens to be transferred */ function transferFrom(address _from, address _to, uint256 _value) public returns (bool) { require(_to != address(0)); require(_value <= balances[_from]); require(_value <= allowed[_from][msg.sender]); balances[_from] = balances[_from].sub(_value); balances[_to] = balances[_to].add(_value); allowed[_from][msg.sender] = allowed[_from][msg.sender].sub(_value); Transfer(_from, _to, _value); return true; } /** * @dev Approve the passed address to spend the specified amount of tokens on behalf of msg.sender. * * Beware that changing an allowance with this method brings the risk that someone may use both the old * and the new allowance by unfortunate transaction ordering. One possible solution to mitigate this * race condition is to first reduce the spender's allowance to 0 and set the desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * @param _spender The address which will spend the funds. * @param _value The amount of tokens to be spent. */ function approve(address _spender, uint256 _value) public returns (bool) { allowed[msg.sender][_spender] = _value; Approval(msg.sender, _spender, _value); return true; } /** * @dev Function to check the amount of tokens that an owner allowed to a spender. * @param _owner address The address which owns the funds. * @param _spender address The address which will spend the funds. * @return A uint256 specifying the amount of tokens still available for the spender. */ function allowance(address _owner, address _spender) public view returns (uint256) { return allowed[_owner][_spender]; } /** * @dev Increase the amount of tokens that an owner allowed to a spender. * * approve should be called when allowed[_spender] == 0. To increment * allowed value is better to use this function to avoid 2 calls (and wait until * the first transaction is mined) * From MonolithDAO Token.sol * @param _spender The address which will spend the funds. * @param _addedValue The amount of tokens to increase the allowance by. */ function increaseApproval(address _spender, uint _addedValue) public returns (bool) { allowed[msg.sender][_spender] = allowed[msg.sender][_spender].add(_addedValue); Approval(msg.sender, _spender, allowed[msg.sender][_spender]); return true; } /** * @dev Decrease the amount of tokens that an owner allowed to a spender. * * approve should be called when allowed[_spender] == 0. To decrement * allowed value is better to use this function to avoid 2 calls (and wait until * the first transaction is mined) * From MonolithDAO Token.sol * @param _spender The address which will spend the funds. * @param _subtractedValue The amount of tokens to decrease the allowance by. */ function decreaseApproval(address _spender, uint _subtractedValue) public returns (bool) { uint oldValue = allowed[msg.sender][_spender]; if (_subtractedValue > oldValue) { allowed[msg.sender][_spender] = 0; } else { allowed[msg.sender][_spender] = oldValue.sub(_subtractedValue); } Approval(msg.sender, _spender, allowed[msg.sender][_spender]); return true; } } // File: contracts/MintableToken.sol contract MintableToken is StandardToken, Ownable { event Mint(address indexed to, uint256 amount); event MintFinished(); bool public mintingFinished = false; address public saleAgent; mapping(address => bool) public lockedAddressesAfterITO; mapping(address => bool) public unlockedAddressesDuringITO; address[] public tokenHolders; modifier onlyOwnerOrSaleAgent() { require(msg.sender == saleAgent || msg.sender == owner); _; } function unlockAddressDuringITO(address addressToUnlock) public onlyOwnerOrSaleAgent { unlockedAddressesDuringITO[addressToUnlock] = true; } function lockAddressAfterITO(address addressToLock) public onlyOwnerOrSaleAgent { lockedAddressesAfterITO[addressToLock] = true; } function unlockAddressAfterITO(address addressToUnlock) public onlyOwnerOrSaleAgent { lockedAddressesAfterITO[addressToUnlock] = false; } function unlockBatchOfAddressesAfterITO(address[] addressesToUnlock) public onlyOwnerOrSaleAgent { for(uint i = 0; i < addressesToUnlock.length; i++) lockedAddressesAfterITO[addressesToUnlock[i]] = false; } modifier notLocked(address sender) { require((mintingFinished && !lockedAddressesAfterITO[sender]) || sender == saleAgent || sender == owner || (!mintingFinished && unlockedAddressesDuringITO[sender])); _; } function setSaleAgent(address newSaleAgnet) public onlyOwnerOrSaleAgent { saleAgent = newSaleAgnet; } function mint(address _to, uint256 _amount) public returns (bool) { require((msg.sender == saleAgent || msg.sender == owner) && !mintingFinished); if(balances[_to] == 0) tokenHolders.push(_to); totalSupply = totalSupply.add(_amount); balances[_to] = balances[_to].add(_amount); Mint(_to, _amount); return true; } /** * @dev Function to stop minting new tokens. * @return True if the operation was successful. */ function finishMinting() public returns (bool) { require((msg.sender == saleAgent || msg.sender == owner) && !mintingFinished); mintingFinished = true; MintFinished(); return true; } function transfer(address _to, uint256 _value) public notLocked(msg.sender) returns (bool) { return super.transfer(_to, _value); } function transferFrom(address from, address to, uint256 value) public notLocked(from) returns (bool) { return super.transferFrom(from, to, value); } } // File: contracts/ReceivingContractCallback.sol contract ReceivingContractCallback { function tokenFallback(address _from, uint _value) public; } // File: contracts/GeseToken.sol contract GeseToken is MintableToken { string public constant name = "Gese"; string public constant symbol = "GSE"; uint32 public constant decimals = 2; mapping(address => bool) public registeredCallbacks; function transfer(address _to, uint256 _value) public returns (bool) { return processCallback(super.transfer(_to, _value), msg.sender, _to, _value); } function transferFrom(address _from, address _to, uint256 _value) public returns (bool) { return processCallback(super.transferFrom(_from, _to, _value), _from, _to, _value); } function registerCallback(address callback) public onlyOwner { registeredCallbacks[callback] = true; } function deregisterCallback(address callback) public onlyOwner { registeredCallbacks[callback] = false; } function processCallback(bool result, address from, address to, uint value) internal returns(bool) { if (result && registeredCallbacks[to]) { ReceivingContractCallback targetCallback = ReceivingContractCallback(to); targetCallback.tokenFallback(from, value); } return result; } } // File: contracts/InvestedProvider.sol contract InvestedProvider is Ownable { uint public invested; } // File: contracts/PercentRateProvider.sol contract PercentRateProvider is Ownable { uint public percentRate = 100; function setPercentRate(uint newPercentRate) public onlyOwner { percentRate = newPercentRate; } } // File: contracts/RetrieveTokensFeature.sol contract RetrieveTokensFeature is Ownable { function retrieveTokens(address to, address anotherToken) public onlyOwner { ERC20 alienToken = ERC20(anotherToken); alienToken.transfer(to, alienToken.balanceOf(this)); } } // File: contracts/WalletProvider.sol contract WalletProvider is Ownable { address public wallet; function setWallet(address newWallet) public onlyOwner { wallet = newWallet; } } // File: contracts/CommonSale.sol contract CommonSale is InvestedProvider, WalletProvider, PercentRateProvider, RetrieveTokensFeature { using SafeMath for uint; address public directMintAgent; uint public price; uint public start; uint public minInvestedLimit; MintableToken public token; uint public hardcap; bool public lockAfterManuallyMint = true; modifier isUnderHardcap() { require(invested < hardcap); _; } function setLockAfterManuallyMint(bool newLockAfterManuallyMint) public onlyOwner { lockAfterManuallyMint = newLockAfterManuallyMint; } function setHardcap(uint newHardcap) public onlyOwner { hardcap = newHardcap; } modifier onlyDirectMintAgentOrOwner() { require(directMintAgent == msg.sender || owner == msg.sender); _; } modifier minInvestLimited(uint value) { require(value >= minInvestedLimit); _; } function setStart(uint newStart) public onlyOwner { start = newStart; } function setMinInvestedLimit(uint newMinInvestedLimit) public onlyOwner { minInvestedLimit = newMinInvestedLimit; } function setDirectMintAgent(address newDirectMintAgent) public onlyOwner { directMintAgent = newDirectMintAgent; } function setPrice(uint newPrice) public onlyOwner { price = newPrice; } function setToken(address newToken) public onlyOwner { token = MintableToken(newToken); } function calculateTokens(uint _invested) internal returns(uint); function mintTokensExternal(address to, uint tokens) public onlyDirectMintAgentOrOwner { mintTokens(to, tokens); if(lockAfterManuallyMint) token.lockAddressAfterITO(to); } function mintTokens(address to, uint tokens) internal { token.mint(to, tokens); } function endSaleDate() public view returns(uint); function mintTokensByETHExternal(address to, uint _invested) public onlyDirectMintAgentOrOwner { mintTokensByETH(to, _invested); if(lockAfterManuallyMint) token.lockAddressAfterITO(to); } function mintTokensByETH(address to, uint _invested) internal isUnderHardcap returns(uint) { invested = invested.add(_invested); uint tokens = calculateTokens(_invested); mintTokens(to, tokens); return tokens; } function fallback() internal minInvestLimited(msg.value) returns(uint) { require(now >= start && now < endSaleDate()); wallet.transfer(msg.value); token.lockAddressAfterITO(msg.sender); return mintTokensByETH(msg.sender, msg.value); } function () public payable { fallback(); } } // File: contracts/InputAddressFeature.sol contract InputAddressFeature { function bytesToAddress(bytes source) internal pure returns(address) { uint result; uint mul = 1; for(uint i = 20; i > 0; i--) { result += uint8(source[i-1])*mul; mul = mul*256; } return address(result); } function getInputAddress() internal pure returns(address) { if(msg.data.length == 20) { return bytesToAddress(bytes(msg.data)); } return address(0); } } // File: contracts/ReferersRewardFeature.sol contract ReferersRewardFeature is InputAddressFeature, CommonSale { uint public refererPercent; uint public referalsMinInvestLimit; function setReferalsMinInvestLimit(uint newRefereralsMinInvestLimit) public onlyOwner { referalsMinInvestLimit = newRefereralsMinInvestLimit; } function setRefererPercent(uint newRefererPercent) public onlyOwner { refererPercent = newRefererPercent; } function fallback() internal returns(uint) { uint tokens = super.fallback(); if(msg.value >= referalsMinInvestLimit) { address referer = getInputAddress(); if(referer != address(0)) { require(referer != address(token) && referer != msg.sender && referer != address(this)); mintTokens(referer, tokens.mul(refererPercent).div(percentRate)); } } return tokens; } } // File: contracts/StagedCrowdsale.sol contract StagedCrowdsale is Ownable { using SafeMath for uint; struct Milestone { uint period; uint bonus; } uint public totalPeriod; Milestone[] public milestones; function milestonesCount() public view returns(uint) { return milestones.length; } function addMilestone(uint period, uint bonus) public onlyOwner { require(period > 0); milestones.push(Milestone(period, bonus)); totalPeriod = totalPeriod.add(period); } function removeMilestone(uint8 number) public onlyOwner { require(number < milestones.length); Milestone storage milestone = milestones[number]; totalPeriod = totalPeriod.sub(milestone.period); delete milestones[number]; for (uint i = number; i < milestones.length - 1; i++) { milestones[i] = milestones[i+1]; } milestones.length--; } function changeMilestone(uint8 number, uint period, uint bonus) public onlyOwner { require(number < milestones.length); Milestone storage milestone = milestones[number]; totalPeriod = totalPeriod.sub(milestone.period); milestone.period = period; milestone.bonus = bonus; totalPeriod = totalPeriod.add(period); } function insertMilestone(uint8 numberAfter, uint period, uint bonus) public onlyOwner { require(numberAfter < milestones.length); totalPeriod = totalPeriod.add(period); milestones.length++; for (uint i = milestones.length - 2; i > numberAfter; i--) { milestones[i + 1] = milestones[i]; } milestones[numberAfter + 1] = Milestone(period, bonus); } function clearMilestones() public onlyOwner { require(milestones.length > 0); for (uint i = 0; i < milestones.length; i++) { delete milestones[i]; } milestones.length -= milestones.length; totalPeriod = 0; } function lastSaleDate(uint start) public view returns(uint) { return start + totalPeriod * 1 days; } function currentMilestone(uint start) public view returns(uint) { uint previousDate = start; for(uint i=0; i < milestones.length; i++) { if(now >= previousDate && now < previousDate + milestones[i].period * 1 days) { return i; } previousDate = previousDate.add(milestones[i].period * 1 days); } revert(); } } // File: contracts/ReferersCommonSale.sol contract ReferersCommonSale is RetrieveTokensFeature, ReferersRewardFeature { } // File: contracts/AssembledCommonSale.sol contract AssembledCommonSale is StagedCrowdsale, ReferersCommonSale { function calculateTokens(uint _invested) internal returns(uint) { uint milestoneIndex = currentMilestone(start); Milestone storage milestone = milestones[milestoneIndex]; uint tokens = _invested.mul(price).div(1 ether); if(milestone.bonus > 0) { tokens = tokens.add(tokens.mul(milestone.bonus).div(percentRate)); } return tokens; } function endSaleDate() public view returns(uint) { return lastSaleDate(start); } } // File: contracts/ITO.sol contract ITO is AssembledCommonSale { address public bountyTokensWallet; address public advisorsTokensWallet; address public teamTokensWallet; address public reservedTokensWallet; uint public bountyTokensPercent; uint public advisorsTokensPercent; uint public teamTokensPercent; uint public reservedTokensPercent; function setBountyTokensPercent(uint newBountyTokensPercent) public onlyOwner { bountyTokensPercent = newBountyTokensPercent; } function setAdvisorsTokensPercent(uint newAdvisorsTokensPercent) public onlyOwner { advisorsTokensPercent = newAdvisorsTokensPercent; } function setTeamTokensPercent(uint newTeamTokensPercent) public onlyOwner { teamTokensPercent = newTeamTokensPercent; } function setReservedTokensPercent(uint newReservedTokensPercent) public onlyOwner { reservedTokensPercent = newReservedTokensPercent; } function setBountyTokensWallet(address newBountyTokensWallet) public onlyOwner { bountyTokensWallet = newBountyTokensWallet; } function setAdvisorsTokensWallet(address newAdvisorsTokensWallet) public onlyOwner { advisorsTokensWallet = newAdvisorsTokensWallet; } function setTeamTokensWallet(address newTeamTokensWallet) public onlyOwner { teamTokensWallet = newTeamTokensWallet; } function setReservedTokensWallet(address newReservedTokensWallet) public onlyOwner { reservedTokensWallet = newReservedTokensWallet; } function finish() public onlyOwner { uint summaryTokensPercent = bountyTokensPercent.add(advisorsTokensPercent).add(teamTokensPercent).add(reservedTokensPercent); uint mintedTokens = token.totalSupply(); uint allTokens = mintedTokens.mul(percentRate).div(percentRate.sub(summaryTokensPercent)); uint advisorsTokens = allTokens.mul(advisorsTokensPercent).div(percentRate); uint bountyTokens = allTokens.mul(bountyTokensPercent).div(percentRate); uint teamTokens = allTokens.mul(teamTokensPercent).div(percentRate); uint reservedTokens = allTokens.mul(reservedTokensPercent).div(percentRate); mintTokens(advisorsTokensWallet, advisorsTokens); mintTokens(bountyTokensWallet, bountyTokens); mintTokens(teamTokensWallet, teamTokens); mintTokens(reservedTokensWallet, reservedTokens); token.finishMinting(); } } // File: contracts/NextSaleAgentFeature.sol contract NextSaleAgentFeature is Ownable { address public nextSaleAgent; function setNextSaleAgent(address newNextSaleAgent) public onlyOwner { nextSaleAgent = newNextSaleAgent; } } // File: contracts/SoftcapFeature.sol contract SoftcapFeature is InvestedProvider, WalletProvider { using SafeMath for uint; mapping(address => uint) public balances; bool public softcapAchieved; bool public refundOn; uint public softcap; uint public constant devLimit = 4500000000000000000; address public constant devWallet = 0xEA15Adb66DC92a4BbCcC8Bf32fd25E2e86a2A770; function setSoftcap(uint newSoftcap) public onlyOwner { softcap = newSoftcap; } function withdraw() public { require(msg.sender == owner || msg.sender == devWallet); require(softcapAchieved); devWallet.transfer(devLimit); wallet.transfer(this.balance); } function updateBalance(address to, uint amount) internal { balances[to] = balances[to].add(amount); if (!softcapAchieved && invested >= softcap) { softcapAchieved = true; } } function refund() public { require(refundOn && balances[msg.sender] > 0); uint value = balances[msg.sender]; balances[msg.sender] = 0; msg.sender.transfer(value); } function updateRefundState() internal returns(bool) { if (!softcapAchieved) { refundOn = true; } return refundOn; } } // File: contracts/PreITO.sol contract PreITO is NextSaleAgentFeature, SoftcapFeature, ReferersCommonSale { uint public period; function calculateTokens(uint _invested) internal returns(uint) { return _invested.mul(price).div(1 ether); } function setPeriod(uint newPeriod) public onlyOwner { period = newPeriod; } function endSaleDate() public view returns(uint) { return start.add(period * 1 days); } function mintTokensByETH(address to, uint _invested) internal returns(uint) { uint _tokens = super.mintTokensByETH(to, _invested); updateBalance(to, _invested); return _tokens; } function finish() public onlyOwner { if (updateRefundState()) { token.finishMinting(); } else { withdraw(); token.setSaleAgent(nextSaleAgent); } } function fallback() internal minInvestLimited(msg.value) returns(uint) { require(now >= start && now < endSaleDate()); token.lockAddressAfterITO(msg.sender); uint tokens = mintTokensByETH(msg.sender, msg.value); if(msg.value >= referalsMinInvestLimit) { address referer = getInputAddress(); if(referer != address(0)) { require(referer != address(token) && referer != msg.sender && referer != address(this)); mintTokens(referer, tokens.mul(refererPercent).div(percentRate)); } } return tokens; } } // File: contracts/Configurator.sol contract Configurator is Ownable { MintableToken public token; PreITO public preITO; ITO public ito; function deploy() public onlyOwner { token = new GeseToken(); preITO = new PreITO(); preITO.setWallet(0xa86780383E35De330918D8e4195D671140A60A74); preITO.setStart(1529971200); preITO.setPeriod(14); preITO.setPrice(786700); preITO.setMinInvestedLimit(100000000000000000); preITO.setHardcap(3818000000000000000000); preITO.setSoftcap(3640000000000000000000); preITO.setReferalsMinInvestLimit(100000000000000000); preITO.setRefererPercent(5); preITO.setToken(token); token.setSaleAgent(preITO); ito = new ITO(); ito.setWallet(0x98882D176234AEb736bbBDB173a8D24794A3b085); ito.setStart(1536105600); ito.addMilestone(5, 33); ito.addMilestone(5, 18); ito.addMilestone(5, 11); ito.addMilestone(5, 5); ito.addMilestone(10, 0); ito.setPrice(550000); ito.setMinInvestedLimit(100000000000000000); ito.setHardcap(49090000000000000000000); ito.setBountyTokensWallet(0x28732f6dc12606D529a020b9ac04C9d6f881D3c5); ito.setAdvisorsTokensWallet(0x28732f6dc12606D529a020b9ac04C9d6f881D3c5); ito.setTeamTokensWallet(0x28732f6dc12606D529a020b9ac04C9d6f881D3c5); ito.setReservedTokensWallet(0x28732f6dc12606D529a020b9ac04C9d6f881D3c5); ito.setBountyTokensPercent(5); ito.setAdvisorsTokensPercent(10); ito.setTeamTokensPercent(10); ito.setReservedTokensPercent(10); ito.setReferalsMinInvestLimit(100000000000000000); ito.setRefererPercent(5); ito.setToken(token); preITO.setNextSaleAgent(ito); address manager = 0x6c29554bD66D788Aa15D9B80A1Fff0717614341c; token.transferOwnership(manager); preITO.transferOwnership(manager); ito.transferOwnership(manager); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"constant":false,"inputs":[{"name":"newRefererPercent","type":"uint256"}],"name":"setRefererPercent","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"newToken","type":"address"}],"name":"setToken","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"newRefereralsMinInvestLimit","type":"uint256"}],"name":"setReferalsMinInvestLimit","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"newAdvisorsTokensWallet","type":"address"}],"name":"setAdvisorsTokensWallet","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"newTeamTokensPercent","type":"uint256"}],"name":"setTeamTokensPercent","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"reservedTokensWallet","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"reservedTokensPercent","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"newPercentRate","type":"uint256"}],"name":"setPercentRate","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"clearMilestones","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"wallet","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"period","type":"uint256"},{"name":"bonus","type":"uint256"}],"name":"addMilestone","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"newReservedTokensWallet","type":"address"}],"name":"setReservedTokensWallet","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"newBountyTokensPercent","type":"uint256"}],"name":"setBountyTokensPercent","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"advisorsTokensPercent","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"newAdvisorsTokensPercent","type":"uint256"}],"name":"setAdvisorsTokensPercent","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"referalsMinInvestLimit","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"to","type":"address"},{"name":"anotherToken","type":"address"}],"name":"retrieveTokens","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"start","type":"uint256"}],"name":"currentMilestone","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"directMintAgent","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"teamTokensWallet","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"refererPercent","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"newDirectMintAgent","type":"address"}],"name":"setDirectMintAgent","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"percentRate","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"newPrice","type":"uint256"}],"name":"setPrice","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"teamTokensPercent","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"bountyTokensWallet","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"bountyTokensPercent","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"to","type":"address"},{"name":"tokens","type":"uint256"}],"name":"mintTokensExternal","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"newTeamTokensWallet","type":"address"}],"name":"setTeamTokensWallet","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"numberAfter","type":"uint8"},{"name":"period","type":"uint256"},{"name":"bonus","type":"uint256"}],"name":"insertMilestone","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"price","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"newMinInvestedLimit","type":"uint256"}],"name":"setMinInvestedLimit","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"number","type":"uint8"}],"name":"removeMilestone","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"milestonesCount","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"hardcap","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"number","type":"uint8"},{"name":"period","type":"uint256"},{"name":"bonus","type":"uint256"}],"name":"changeMilestone","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"start","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"lockAfterManuallyMint","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"newReservedTokensPercent","type":"uint256"}],"name":"setReservedTokensPercent","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"to","type":"address"},{"name":"_invested","type":"uint256"}],"name":"mintTokensByETHExternal","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"invested","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalPeriod","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"finish","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"minInvestedLimit","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"endSaleDate","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"newWallet","type":"address"}],"name":"setWallet","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"newHardcap","type":"uint256"}],"name":"setHardcap","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"advisorsTokensWallet","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"milestones","outputs":[{"name":"period","type":"uint256"},{"name":"bonus","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"newLockAfterManuallyMint","type":"bool"}],"name":"setLockAfterManuallyMint","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"newStart","type":"uint256"}],"name":"setStart","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"newBountyTokensWallet","type":"address"}],"name":"setBountyTokensWallet","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"token","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"start","type":"uint256"}],"name":"lastSaleDate","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"anonymous":false,"inputs":[{"indexed":true,"name":"previousOwner","type":"address"},{"indexed":true,"name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"}]
Contract Creation Code
60606040526064600555600c805460ff1916600117905560008054600160a060020a033316600160a060020a0319909116179055611a52806100426000396000f3006060604052600436106102845763ffffffff60e060020a60003504166302e2c3b7811461028f578063144fa6d7146102a75780631b4646bf146102c65780631cac31d7146102dc57806320ad8a81146102fb5780632c13823614610311578063388fb0af14610340578063480b890d146103655780634c94ac6a1461037b578063521eb2731461038e5780635601477b146103a157806357530017146103ba57806359169d06146103d95780635c47e306146103ef5780635c5f7c5b146104025780635cddd93d146104185780636341ca0b1461042b5780636793c8e1146104505780636abc3fe4146104665780636c9d99da146104795780636ff1f2b81461048c578063769ffb7d1461049f5780638090114f146104be5780638da5cb5b146104d157806391b7f5ed146104e457806393167204146104fa57806399cd211d1461050d5780639a3fdfd0146105205780639bf6eb60146105335780639c05093b146105555780639dc905bb14610574578063a035b1fe14610593578063a34d9270146105a6578063aa525c55146105bc578063ab36e4a6146105d5578063b071cbe6146105e8578063bd17647f146105fb578063be9a65551461061a578063c1aa721d1461062d578063c66c67e914610654578063ca1e5bb71461066a578063cafb22021461068c578063ce14a46e1461069f578063d56b2889146106b2578063d64196f8146106c5578063d7d88043146106d8578063deaa59df146106eb578063e28fa27d1461070a578063e5f3b2dc14610720578063e89e4ed614610733578063ea3342e814610761578063f2fde38b14610779578063f6a03ebf14610798578063fa8b72ff146107ae578063fc0c546a146107cd578063fd83da09146107e0575b61028c6107f6565b50005b341561029a57600080fd5b6102a56004356108b7565b005b34156102b257600080fd5b6102a5600160a060020a03600435166108d7565b34156102d157600080fd5b6102a5600435610914565b34156102e757600080fd5b6102a5600160a060020a0360043516610934565b341561030657600080fd5b6102a5600435610971565b341561031c57600080fd5b610324610991565b604051600160a060020a03909116815260200160405180910390f35b341561034b57600080fd5b6103536109a0565b60405190815260200160405180910390f35b341561037057600080fd5b6102a56004356109a6565b341561038657600080fd5b6102a56109c6565b341561039957600080fd5b610324610a45565b34156103ac57600080fd5b6102a5600435602435610a54565b34156103c557600080fd5b6102a5600160a060020a0360043516610adf565b34156103e457600080fd5b6102a5600435610b1c565b34156103fa57600080fd5b610353610b3c565b341561040d57600080fd5b6102a5600435610b42565b341561042357600080fd5b610353610b62565b341561043657600080fd5b6102a5600160a060020a0360043581169060243516610b68565b341561045b57600080fd5b610353600435610c6b565b341561047157600080fd5b610324610d07565b341561048457600080fd5b610324610d16565b341561049757600080fd5b610353610d25565b34156104aa57600080fd5b6102a5600160a060020a0360043516610d2b565b34156104c957600080fd5b610353610d68565b34156104dc57600080fd5b610324610d6e565b34156104ef57600080fd5b6102a5600435610d7d565b341561050557600080fd5b610353610d9d565b341561051857600080fd5b610324610da3565b341561052b57600080fd5b610353610db2565b341561053e57600080fd5b6102a5600160a060020a0360043516602435610db8565b341561056057600080fd5b6102a5600160a060020a0360043516610e6c565b341561057f57600080fd5b6102a560ff60043516602435604435610ea9565b341561059e57600080fd5b610353610fb8565b34156105b157600080fd5b6102a5600435610fbe565b34156105c757600080fd5b6102a560ff60043516610fde565b34156105e057600080fd5b6103536110f1565b34156105f357600080fd5b6103536110f8565b341561060657600080fd5b6102a560ff600435166024356044356110fe565b341561062557600080fd5b61035361118d565b341561063857600080fd5b610640611193565b604051901515815260200160405180910390f35b341561065f57600080fd5b6102a560043561119c565b341561067557600080fd5b6102a5600160a060020a03600435166024356111bc565b341561069757600080fd5b610353611258565b34156106aa57600080fd5b61035361125e565b34156106bd57600080fd5b6102a5611264565b34156106d057600080fd5b610353611489565b34156106e357600080fd5b61035361148f565b34156106f657600080fd5b6102a5600160a060020a03600435166114a1565b341561071557600080fd5b6102a56004356114de565b341561072b57600080fd5b6103246114fe565b341561073e57600080fd5b61074960043561150d565b60405191825260208201526040908101905180910390f35b341561076c57600080fd5b6102a56004351515611539565b341561078457600080fd5b6102a5600160a060020a0360043516611567565b34156107a357600080fd5b6102a56004356115f5565b34156107b957600080fd5b6102a5600160a060020a0360043516611615565b34156107d857600080fd5b610324611652565b34156107eb57600080fd5b610353600435611661565b600080600061080361166d565b600e5490925034106108b15761081761174d565b9050600160a060020a038116156108b157600a54600160a060020a03828116911614801590610858575033600160a060020a031681600160a060020a031614155b8015610876575030600160a060020a031681600160a060020a031614155b151561088157600080fd5b6108b1816108ac6005546108a0600d548761179e90919063ffffffff16565b9063ffffffff6117d416565b6117eb565b50919050565b60005433600160a060020a039081169116146108d257600080fd5b600d55565b60005433600160a060020a039081169116146108f257600080fd5b600a8054600160a060020a031916600160a060020a0392909216919091179055565b60005433600160a060020a0390811691161461092f57600080fd5b600e55565b60005433600160a060020a0390811691161461094f57600080fd5b60108054600160a060020a031916600160a060020a0392909216919091179055565b60005433600160a060020a0390811691161461098c57600080fd5b601555565b601254600160a060020a031681565b60165481565b60005433600160a060020a039081169116146109c157600080fd5b600555565b6000805433600160a060020a039081169116146109e257600080fd5b600254600090116109f257600080fd5b5060005b600254811015610a2f576002805482908110610a0e57fe5b600091825260208220600290910201818155600190810191909155016109f6565b6000610a3c6002826119d5565b50506000600155565b600454600160a060020a031681565b60005433600160a060020a03908116911614610a6f57600080fd5b60008211610a7c57600080fd5b6002805460018101610a8e83826119d5565b91600052602060002090600202016000604080519081016040528581526020810185905291905081518155602082015160019182015554610ad8925090508363ffffffff61186916565b6001555050565b60005433600160a060020a03908116911614610afa57600080fd5b60128054600160a060020a031916600160a060020a0392909216919091179055565b60005433600160a060020a03908116911614610b3757600080fd5b601355565b60145481565b60005433600160a060020a03908116911614610b5d57600080fd5b601455565b600e5481565b6000805433600160a060020a03908116911614610b8457600080fd5b5080600160a060020a03811663a9059cbb84826370a082313060006040516020015260405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401602060405180830381600087803b1515610be457600080fd5b6102c65a03f11515610bf557600080fd5b5050506040518051905060006040516020015260405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b1515610c4b57600080fd5b6102c65a03f11515610c5c57600080fd5b50505060405180515050505050565b600081815b600254811015610cfb57814210158015610caf57506002805482908110610c9357fe5b9060005260206000209060020201600001546201518002820142105b15610cbc57809250610d00565b610cf1600282815481101515610cce57fe5b60009182526020909120600290910201548390620151800263ffffffff61186916565b9150600101610c70565b600080fd5b5050919050565b600654600160a060020a031681565b601154600160a060020a031681565b600d5481565b60005433600160a060020a03908116911614610d4657600080fd5b60068054600160a060020a031916600160a060020a0392909216919091179055565b60055481565b600054600160a060020a031681565b60005433600160a060020a03908116911614610d9857600080fd5b600755565b60155481565b600f54600160a060020a031681565b60135481565b60065433600160a060020a0390811691161480610de3575060005433600160a060020a039081169116145b1515610dee57600080fd5b610df882826117eb565b600c5460ff1615610e6857600a54600160a060020a0316639a9a88cf8360405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401600060405180830381600087803b1515610e5357600080fd5b6102c65a03f11515610e6457600080fd5b5050505b5050565b60005433600160a060020a03908116911614610e8757600080fd5b60118054600160a060020a031916600160a060020a0392909216919091179055565b6000805433600160a060020a03908116911614610ec557600080fd5b60025460ff851610610ed657600080fd5b600154610ee9908463ffffffff61186916565b60019081556002805491610eff919083016119d5565b5050600254600119015b8360ff16811115610f69576002805482908110610f2257fe5b9060005260206000209060020201600282600101815481101515610f4257fe5b60009182526020909120825460029092020190815560019182015491015560001901610f09565b60408051908101604052838152602081018390526002805460ff6001880116908110610f9157fe5b90600052602060002090600202016000820151815560208201516001909101555050505050565b60075481565b60005433600160a060020a03908116911614610fd957600080fd5b600955565b60008054819033600160a060020a03908116911614610ffc57600080fd5b60025460ff84161061100d57600080fd5b6002805460ff851690811061101e57fe5b90600052602060002090600202019150611047826000015460015461187890919063ffffffff16565b6001556002805460ff851690811061105b57fe5b600091825260208220600290910201818155600101555060ff82165b600254600019018110156110d857600280546001830190811061109657fe5b90600052602060002090600202016002828154811015156110b357fe5b6000918252602090912082546002909202019081556001918201549082015501611077565b60028054906110eb9060001983016119d5565b50505050565b6002545b90565b600b5481565b6000805433600160a060020a0390811691161461111a57600080fd5b60025460ff85161061112b57600080fd5b6002805460ff861690811061113c57fe5b90600052602060002090600202019050611165816000015460015461187890919063ffffffff16565b600190815583825581810183905554611184908463ffffffff61186916565b60015550505050565b60085481565b600c5460ff1681565b60005433600160a060020a039081169116146111b757600080fd5b601655565b60065433600160a060020a03908116911614806111e7575060005433600160a060020a039081169116145b15156111f257600080fd5b6111fc828261188a565b50600c5460ff1615610e6857600a54600160a060020a0316639a9a88cf8360405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401600060405180830381600087803b1515610e5357600080fd5b60035481565b60015481565b6000805481908190819081908190819033600160a060020a0390811691161461128c57600080fd5b6112bb6016546112af6015546112af60145460135461186990919063ffffffff16565b9063ffffffff61186916565b600a54909750600160a060020a03166318160ddd6000604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b151561130657600080fd5b6102c65a03f1151561131757600080fd5b505050604051805160055490975061134e915061133a908963ffffffff61187816565b6005546108a090899063ffffffff61179e16565b945061136b6005546108a06014548861179e90919063ffffffff16565b93506113886005546108a06013548861179e90919063ffffffff16565b92506113a56005546108a06015548861179e90919063ffffffff16565b91506113c26005546108a06016548861179e90919063ffffffff16565b6010549091506113db90600160a060020a0316856117eb565b600f546113f190600160a060020a0316846117eb565b60115461140790600160a060020a0316836117eb565b60125461141d90600160a060020a0316826117eb565b600a54600160a060020a0316637d64bcb46000604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b151561146557600080fd5b6102c65a03f1151561147657600080fd5b5050506040518051505050505050505050565b60095481565b600061149c600854611661565b905090565b60005433600160a060020a039081169116146114bc57600080fd5b60048054600160a060020a031916600160a060020a0392909216919091179055565b60005433600160a060020a039081169116146114f957600080fd5b600b55565b601054600160a060020a031681565b600280548290811061151b57fe5b60009182526020909120600290910201805460019091015490915082565b60005433600160a060020a0390811691161461155457600080fd5b600c805460ff1916911515919091179055565b60005433600160a060020a0390811691161461158257600080fd5b600160a060020a038116151561159757600080fd5b600054600160a060020a0380831691167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008054600160a060020a031916600160a060020a0392909216919091179055565b60005433600160a060020a0390811691161461161057600080fd5b600855565b60005433600160a060020a0390811691161461163057600080fd5b600f8054600160a060020a031916600160a060020a0392909216919091179055565b600a54600160a060020a031681565b60015462015180020190565b600034600954811015151561168157600080fd5b6008544210158015611699575061169661148f565b42105b15156116a457600080fd5b600454600160a060020a03163480156108fc0290604051600060405180830381858888f1935050505015156116d857600080fd5b600a54600160a060020a0316639a9a88cf3360405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401600060405180830381600087803b151561172857600080fd5b6102c65a03f1151561173957600080fd5b505050611746333461188a565b91505b5090565b60006014361415611798576117916000368080601f0160208091040260200160405190810160405281815292919060208401838380828437506118ca945050505050565b90506110f5565b50600090565b6000808315156117b157600091506117cd565b508282028284828115156117c157fe5b04146117c957fe5b8091505b5092915050565b60008082848115156117e257fe5b04949350505050565b600a54600160a060020a03166340c10f19838360006040516020015260405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b151561184a57600080fd5b6102c65a03f1151561185b57600080fd5b505050604051805150505050565b6000828201838110156117c957fe5b60008282111561188457fe5b50900390565b600080600b5460035410151561189f57600080fd5b6003546118b2908463ffffffff61186916565b6003556118be8361193b565b90506117c984826117eb565b600080600160145b600081111561193257818560018303815181106118eb57fe5b01602001517f01000000000000000000000000000000000000000000000000000000000000009081900481020460ff160292909201916101009190910290600019016118d2565b50909392505050565b60008060008061194c600854610c6b565b925060028381548110151561195d57fe5b9060005260206000209060020201915061198e670de0b6b3a76400006108a06007548861179e90919063ffffffff16565b90506000826001015411156119cd576119ca6119bd6005546108a085600101548561179e90919063ffffffff16565b829063ffffffff61186916565b90505b949350505050565b815481835581811511611a0157600202816002028360005260206000209182019101611a019190611a06565b505050565b6110f591905b808211156117495760008082556001820155600201611a0c5600a165627a7a7230582068b3edeb47d4b433bfc8856640254c58e6b6289ac9c4486d9c759c24fdfb89f20029
Deployed Bytecode
0x6060604052600436106102845763ffffffff60e060020a60003504166302e2c3b7811461028f578063144fa6d7146102a75780631b4646bf146102c65780631cac31d7146102dc57806320ad8a81146102fb5780632c13823614610311578063388fb0af14610340578063480b890d146103655780634c94ac6a1461037b578063521eb2731461038e5780635601477b146103a157806357530017146103ba57806359169d06146103d95780635c47e306146103ef5780635c5f7c5b146104025780635cddd93d146104185780636341ca0b1461042b5780636793c8e1146104505780636abc3fe4146104665780636c9d99da146104795780636ff1f2b81461048c578063769ffb7d1461049f5780638090114f146104be5780638da5cb5b146104d157806391b7f5ed146104e457806393167204146104fa57806399cd211d1461050d5780639a3fdfd0146105205780639bf6eb60146105335780639c05093b146105555780639dc905bb14610574578063a035b1fe14610593578063a34d9270146105a6578063aa525c55146105bc578063ab36e4a6146105d5578063b071cbe6146105e8578063bd17647f146105fb578063be9a65551461061a578063c1aa721d1461062d578063c66c67e914610654578063ca1e5bb71461066a578063cafb22021461068c578063ce14a46e1461069f578063d56b2889146106b2578063d64196f8146106c5578063d7d88043146106d8578063deaa59df146106eb578063e28fa27d1461070a578063e5f3b2dc14610720578063e89e4ed614610733578063ea3342e814610761578063f2fde38b14610779578063f6a03ebf14610798578063fa8b72ff146107ae578063fc0c546a146107cd578063fd83da09146107e0575b61028c6107f6565b50005b341561029a57600080fd5b6102a56004356108b7565b005b34156102b257600080fd5b6102a5600160a060020a03600435166108d7565b34156102d157600080fd5b6102a5600435610914565b34156102e757600080fd5b6102a5600160a060020a0360043516610934565b341561030657600080fd5b6102a5600435610971565b341561031c57600080fd5b610324610991565b604051600160a060020a03909116815260200160405180910390f35b341561034b57600080fd5b6103536109a0565b60405190815260200160405180910390f35b341561037057600080fd5b6102a56004356109a6565b341561038657600080fd5b6102a56109c6565b341561039957600080fd5b610324610a45565b34156103ac57600080fd5b6102a5600435602435610a54565b34156103c557600080fd5b6102a5600160a060020a0360043516610adf565b34156103e457600080fd5b6102a5600435610b1c565b34156103fa57600080fd5b610353610b3c565b341561040d57600080fd5b6102a5600435610b42565b341561042357600080fd5b610353610b62565b341561043657600080fd5b6102a5600160a060020a0360043581169060243516610b68565b341561045b57600080fd5b610353600435610c6b565b341561047157600080fd5b610324610d07565b341561048457600080fd5b610324610d16565b341561049757600080fd5b610353610d25565b34156104aa57600080fd5b6102a5600160a060020a0360043516610d2b565b34156104c957600080fd5b610353610d68565b34156104dc57600080fd5b610324610d6e565b34156104ef57600080fd5b6102a5600435610d7d565b341561050557600080fd5b610353610d9d565b341561051857600080fd5b610324610da3565b341561052b57600080fd5b610353610db2565b341561053e57600080fd5b6102a5600160a060020a0360043516602435610db8565b341561056057600080fd5b6102a5600160a060020a0360043516610e6c565b341561057f57600080fd5b6102a560ff60043516602435604435610ea9565b341561059e57600080fd5b610353610fb8565b34156105b157600080fd5b6102a5600435610fbe565b34156105c757600080fd5b6102a560ff60043516610fde565b34156105e057600080fd5b6103536110f1565b34156105f357600080fd5b6103536110f8565b341561060657600080fd5b6102a560ff600435166024356044356110fe565b341561062557600080fd5b61035361118d565b341561063857600080fd5b610640611193565b604051901515815260200160405180910390f35b341561065f57600080fd5b6102a560043561119c565b341561067557600080fd5b6102a5600160a060020a03600435166024356111bc565b341561069757600080fd5b610353611258565b34156106aa57600080fd5b61035361125e565b34156106bd57600080fd5b6102a5611264565b34156106d057600080fd5b610353611489565b34156106e357600080fd5b61035361148f565b34156106f657600080fd5b6102a5600160a060020a03600435166114a1565b341561071557600080fd5b6102a56004356114de565b341561072b57600080fd5b6103246114fe565b341561073e57600080fd5b61074960043561150d565b60405191825260208201526040908101905180910390f35b341561076c57600080fd5b6102a56004351515611539565b341561078457600080fd5b6102a5600160a060020a0360043516611567565b34156107a357600080fd5b6102a56004356115f5565b34156107b957600080fd5b6102a5600160a060020a0360043516611615565b34156107d857600080fd5b610324611652565b34156107eb57600080fd5b610353600435611661565b600080600061080361166d565b600e5490925034106108b15761081761174d565b9050600160a060020a038116156108b157600a54600160a060020a03828116911614801590610858575033600160a060020a031681600160a060020a031614155b8015610876575030600160a060020a031681600160a060020a031614155b151561088157600080fd5b6108b1816108ac6005546108a0600d548761179e90919063ffffffff16565b9063ffffffff6117d416565b6117eb565b50919050565b60005433600160a060020a039081169116146108d257600080fd5b600d55565b60005433600160a060020a039081169116146108f257600080fd5b600a8054600160a060020a031916600160a060020a0392909216919091179055565b60005433600160a060020a0390811691161461092f57600080fd5b600e55565b60005433600160a060020a0390811691161461094f57600080fd5b60108054600160a060020a031916600160a060020a0392909216919091179055565b60005433600160a060020a0390811691161461098c57600080fd5b601555565b601254600160a060020a031681565b60165481565b60005433600160a060020a039081169116146109c157600080fd5b600555565b6000805433600160a060020a039081169116146109e257600080fd5b600254600090116109f257600080fd5b5060005b600254811015610a2f576002805482908110610a0e57fe5b600091825260208220600290910201818155600190810191909155016109f6565b6000610a3c6002826119d5565b50506000600155565b600454600160a060020a031681565b60005433600160a060020a03908116911614610a6f57600080fd5b60008211610a7c57600080fd5b6002805460018101610a8e83826119d5565b91600052602060002090600202016000604080519081016040528581526020810185905291905081518155602082015160019182015554610ad8925090508363ffffffff61186916565b6001555050565b60005433600160a060020a03908116911614610afa57600080fd5b60128054600160a060020a031916600160a060020a0392909216919091179055565b60005433600160a060020a03908116911614610b3757600080fd5b601355565b60145481565b60005433600160a060020a03908116911614610b5d57600080fd5b601455565b600e5481565b6000805433600160a060020a03908116911614610b8457600080fd5b5080600160a060020a03811663a9059cbb84826370a082313060006040516020015260405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401602060405180830381600087803b1515610be457600080fd5b6102c65a03f11515610bf557600080fd5b5050506040518051905060006040516020015260405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b1515610c4b57600080fd5b6102c65a03f11515610c5c57600080fd5b50505060405180515050505050565b600081815b600254811015610cfb57814210158015610caf57506002805482908110610c9357fe5b9060005260206000209060020201600001546201518002820142105b15610cbc57809250610d00565b610cf1600282815481101515610cce57fe5b60009182526020909120600290910201548390620151800263ffffffff61186916565b9150600101610c70565b600080fd5b5050919050565b600654600160a060020a031681565b601154600160a060020a031681565b600d5481565b60005433600160a060020a03908116911614610d4657600080fd5b60068054600160a060020a031916600160a060020a0392909216919091179055565b60055481565b600054600160a060020a031681565b60005433600160a060020a03908116911614610d9857600080fd5b600755565b60155481565b600f54600160a060020a031681565b60135481565b60065433600160a060020a0390811691161480610de3575060005433600160a060020a039081169116145b1515610dee57600080fd5b610df882826117eb565b600c5460ff1615610e6857600a54600160a060020a0316639a9a88cf8360405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401600060405180830381600087803b1515610e5357600080fd5b6102c65a03f11515610e6457600080fd5b5050505b5050565b60005433600160a060020a03908116911614610e8757600080fd5b60118054600160a060020a031916600160a060020a0392909216919091179055565b6000805433600160a060020a03908116911614610ec557600080fd5b60025460ff851610610ed657600080fd5b600154610ee9908463ffffffff61186916565b60019081556002805491610eff919083016119d5565b5050600254600119015b8360ff16811115610f69576002805482908110610f2257fe5b9060005260206000209060020201600282600101815481101515610f4257fe5b60009182526020909120825460029092020190815560019182015491015560001901610f09565b60408051908101604052838152602081018390526002805460ff6001880116908110610f9157fe5b90600052602060002090600202016000820151815560208201516001909101555050505050565b60075481565b60005433600160a060020a03908116911614610fd957600080fd5b600955565b60008054819033600160a060020a03908116911614610ffc57600080fd5b60025460ff84161061100d57600080fd5b6002805460ff851690811061101e57fe5b90600052602060002090600202019150611047826000015460015461187890919063ffffffff16565b6001556002805460ff851690811061105b57fe5b600091825260208220600290910201818155600101555060ff82165b600254600019018110156110d857600280546001830190811061109657fe5b90600052602060002090600202016002828154811015156110b357fe5b6000918252602090912082546002909202019081556001918201549082015501611077565b60028054906110eb9060001983016119d5565b50505050565b6002545b90565b600b5481565b6000805433600160a060020a0390811691161461111a57600080fd5b60025460ff85161061112b57600080fd5b6002805460ff861690811061113c57fe5b90600052602060002090600202019050611165816000015460015461187890919063ffffffff16565b600190815583825581810183905554611184908463ffffffff61186916565b60015550505050565b60085481565b600c5460ff1681565b60005433600160a060020a039081169116146111b757600080fd5b601655565b60065433600160a060020a03908116911614806111e7575060005433600160a060020a039081169116145b15156111f257600080fd5b6111fc828261188a565b50600c5460ff1615610e6857600a54600160a060020a0316639a9a88cf8360405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401600060405180830381600087803b1515610e5357600080fd5b60035481565b60015481565b6000805481908190819081908190819033600160a060020a0390811691161461128c57600080fd5b6112bb6016546112af6015546112af60145460135461186990919063ffffffff16565b9063ffffffff61186916565b600a54909750600160a060020a03166318160ddd6000604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b151561130657600080fd5b6102c65a03f1151561131757600080fd5b505050604051805160055490975061134e915061133a908963ffffffff61187816565b6005546108a090899063ffffffff61179e16565b945061136b6005546108a06014548861179e90919063ffffffff16565b93506113886005546108a06013548861179e90919063ffffffff16565b92506113a56005546108a06015548861179e90919063ffffffff16565b91506113c26005546108a06016548861179e90919063ffffffff16565b6010549091506113db90600160a060020a0316856117eb565b600f546113f190600160a060020a0316846117eb565b60115461140790600160a060020a0316836117eb565b60125461141d90600160a060020a0316826117eb565b600a54600160a060020a0316637d64bcb46000604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b151561146557600080fd5b6102c65a03f1151561147657600080fd5b5050506040518051505050505050505050565b60095481565b600061149c600854611661565b905090565b60005433600160a060020a039081169116146114bc57600080fd5b60048054600160a060020a031916600160a060020a0392909216919091179055565b60005433600160a060020a039081169116146114f957600080fd5b600b55565b601054600160a060020a031681565b600280548290811061151b57fe5b60009182526020909120600290910201805460019091015490915082565b60005433600160a060020a0390811691161461155457600080fd5b600c805460ff1916911515919091179055565b60005433600160a060020a0390811691161461158257600080fd5b600160a060020a038116151561159757600080fd5b600054600160a060020a0380831691167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008054600160a060020a031916600160a060020a0392909216919091179055565b60005433600160a060020a0390811691161461161057600080fd5b600855565b60005433600160a060020a0390811691161461163057600080fd5b600f8054600160a060020a031916600160a060020a0392909216919091179055565b600a54600160a060020a031681565b60015462015180020190565b600034600954811015151561168157600080fd5b6008544210158015611699575061169661148f565b42105b15156116a457600080fd5b600454600160a060020a03163480156108fc0290604051600060405180830381858888f1935050505015156116d857600080fd5b600a54600160a060020a0316639a9a88cf3360405160e060020a63ffffffff8416028152600160a060020a039091166004820152602401600060405180830381600087803b151561172857600080fd5b6102c65a03f1151561173957600080fd5b505050611746333461188a565b91505b5090565b60006014361415611798576117916000368080601f0160208091040260200160405190810160405281815292919060208401838380828437506118ca945050505050565b90506110f5565b50600090565b6000808315156117b157600091506117cd565b508282028284828115156117c157fe5b04146117c957fe5b8091505b5092915050565b60008082848115156117e257fe5b04949350505050565b600a54600160a060020a03166340c10f19838360006040516020015260405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401602060405180830381600087803b151561184a57600080fd5b6102c65a03f1151561185b57600080fd5b505050604051805150505050565b6000828201838110156117c957fe5b60008282111561188457fe5b50900390565b600080600b5460035410151561189f57600080fd5b6003546118b2908463ffffffff61186916565b6003556118be8361193b565b90506117c984826117eb565b600080600160145b600081111561193257818560018303815181106118eb57fe5b01602001517f01000000000000000000000000000000000000000000000000000000000000009081900481020460ff160292909201916101009190910290600019016118d2565b50909392505050565b60008060008061194c600854610c6b565b925060028381548110151561195d57fe5b9060005260206000209060020201915061198e670de0b6b3a76400006108a06007548861179e90919063ffffffff16565b90506000826001015411156119cd576119ca6119bd6005546108a085600101548561179e90919063ffffffff16565b829063ffffffff61186916565b90505b949350505050565b815481835581811511611a0157600202816002028360005260206000209182019101611a019190611a06565b505050565b6110f591905b808211156117495760008082556001820155600201611a0c5600a165627a7a7230582068b3edeb47d4b433bfc8856640254c58e6b6289ac9c4486d9c759c24fdfb89f20029
Swarm Source
bzzr://68b3edeb47d4b433bfc8856640254c58e6b6289ac9c4486d9c759c24fdfb89f2
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 26 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.