ERC-20
Overview
Max Total Supply
1,000,000,000.000000803538085 HILL
Holders
368
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
1,734.104046242775 HILLValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Source Code Verified (Exact Match)
Contract Name:
Token
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-05-18 */ 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/InvestedProvider.sol contract InvestedProvider is Ownable { uint public invested; } // File: contracts/AddressesFilterFeature.sol contract AddressesFilterFeature is Ownable { mapping(address => bool) public allowedAddresses; function addAllowedAddress(address allowedAddress) public onlyOwner { allowedAddresses[allowedAddress] = true; } function removeAllowedAddress(address allowedAddress) public onlyOwner { allowedAddresses[allowedAddress] = false; } } // 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 AddressesFilterFeature, StandardToken { event Mint(address indexed to, uint256 amount); event MintFinished(); bool public mintingFinished = false; address public saleAgent; mapping (address => uint) public initialBalances; modifier notLocked(address _from) { require(_from == owner || _from == saleAgent || allowedAddresses[_from] || mintingFinished); _; } function setSaleAgent(address newSaleAgnet) public { require(msg.sender == saleAgent || msg.sender == owner); saleAgent = newSaleAgnet; } function mint(address _to, uint256 _amount) public returns (bool) { require((msg.sender == saleAgent || msg.sender == owner) && !mintingFinished); totalSupply = totalSupply.add(_amount); balances[_to] = balances[_to].add(_amount); initialBalances[_to] = balances[_to]; Mint(_to, _amount); Transfer(address(0), _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/TokenProvider.sol contract TokenProvider is Ownable { MintableToken public token; function setToken(address newToken) public onlyOwner { token = MintableToken(newToken); } } // File: contracts/MintTokensInterface.sol contract MintTokensInterface is TokenProvider { function mintTokens(address to, uint tokens) internal; } // File: contracts/MintTokensFeature.sol contract MintTokensFeature is MintTokensInterface { function mintTokens(address to, uint tokens) internal { token.mint(to, tokens); } } // File: contracts/PercentRateProvider.sol contract PercentRateProvider { uint public percentRate = 100; } // File: contracts/PercentRateFeature.sol contract PercentRateFeature is Ownable, PercentRateProvider { 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, PercentRateFeature, RetrieveTokensFeature, MintTokensFeature { using SafeMath for uint; address public directMintAgent; uint public price; uint public start; uint public minInvestedLimit; //MintableToken public token; uint public hardcap; modifier isUnderHardcap() { require(invested < hardcap); _; } 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); } /* function mintTokens(address to, uint tokens) internal { token.mint(this, tokens); token.transfer(to, tokens); } */ function endSaleDate() public view returns(uint); function mintTokensByETHExternal(address to, uint _invested) public onlyDirectMintAgentOrOwner returns(uint) { return mintTokensByETH(to, _invested); } 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); return mintTokensByETH(msg.sender, msg.value); } function () public payable { fallback(); } } // File: contracts/TimeCountBonusFeature.sol contract TimeCountBonusFeature is CommonSale { struct Milestone { uint hardcap; uint price; uint period; uint invested; uint closed; } uint public period; Milestone[] public milestones; function milestonesCount() public constant returns(uint) { return milestones.length; } function addMilestone(uint _hardcap, uint _price, uint _period) public onlyOwner { require(_hardcap > 0 && _price > 0 && _period > 0); Milestone memory milestone = Milestone(_hardcap.mul(1 ether), _price, _period, 0, 0); milestones.push(milestone); hardcap = hardcap.add(milestone.hardcap); period = period.add(milestone.period); } function removeMilestone(uint8 number) public onlyOwner { require(number >=0 && number < milestones.length); Milestone storage milestone = milestones[number]; hardcap = hardcap.sub(milestone.hardcap); period = period.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 _hardcap, uint _price, uint _period) public onlyOwner { require(number >= 0 &&number < milestones.length); Milestone storage milestone = milestones[number]; hardcap = hardcap.sub(milestone.hardcap); period = period.sub(milestone.period); milestone.hardcap = _hardcap.mul(1 ether); milestone.price = _price; milestone.period = _period; hardcap = hardcap.add(milestone.hardcap); period = period.add(milestone.period); } function insertMilestone(uint8 numberAfter, uint _hardcap, uint _price, uint _period) public onlyOwner { require(numberAfter < milestones.length); Milestone memory milestone = Milestone(_hardcap.mul(1 ether), _price, _period, 0, 0); hardcap = hardcap.add(milestone.hardcap); period = period.add(milestone.period); milestones.length++; for (uint i = milestones.length - 2; i > numberAfter; i--) { milestones[i + 1] = milestones[i]; } milestones[numberAfter + 1] = milestone; } function clearMilestones() public onlyOwner { for (uint i = 0; i < milestones.length; i++) { delete milestones[i]; } milestones.length = 0; hardcap = 0; period = 0; } function endSaleDate() public view returns(uint) { return start.add(period * 1 days); } function currentMilestone() public constant returns(uint) { uint closeTime = start; for(uint i=0; i < milestones.length; i++) { closeTime += milestones[i].period.mul(1 days); if(milestones[i].closed == 0 && now < closeTime) { return i; } } revert(); } function calculateTokens(uint _invested) internal returns(uint) { uint milestoneIndex = currentMilestone(); Milestone storage milestone = milestones[milestoneIndex]; uint tokens = milestone.price.mul(_invested).div(1 ether); // update milestone milestone.invested = milestone.invested.add(_invested); if(milestone.invested >= milestone.hardcap) { milestone.closed = now; } return tokens; } } // File: contracts/AssembledCommonSale.sol contract AssembledCommonSale is TimeCountBonusFeature { } // File: contracts/WalletsPercents.sol contract WalletsPercents is Ownable { address[] public wallets; mapping (address => uint) percents; function addWallet(address wallet, uint percent) public onlyOwner { wallets.push(wallet); percents[wallet] = percent; } function cleanWallets() public onlyOwner { wallets.length = 0; } } // File: contracts/ExtendedWalletsMintTokensFeature.sol //import './PercentRateProvider.sol'; contract ExtendedWalletsMintTokensFeature is /*PercentRateProvider,*/ MintTokensInterface, WalletsPercents { using SafeMath for uint; uint public percentRate = 100; function mintExtendedTokens() public onlyOwner { uint summaryTokensPercent = 0; for(uint i = 0; i < wallets.length; i++) { summaryTokensPercent = summaryTokensPercent.add(percents[wallets[i]]); } uint mintedTokens = token.totalSupply(); uint allTokens = mintedTokens.mul(percentRate).div(percentRate.sub(summaryTokensPercent)); for(uint k = 0; k < wallets.length; k++) { mintTokens(wallets[k], allTokens.mul(percents[wallets[k]]).div(percentRate)); } } } // File: contracts/SoftcapFeature.sol contract SoftcapFeature is InvestedProvider, WalletProvider { using SafeMath for uint; mapping(address => uint) public balances; bool public softcapAchieved; bool public refundOn; bool public feePayed; uint public softcap; uint public constant devLimit = 7500000000000000000; 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); if(!feePayed) { devWallet.transfer(devLimit); feePayed = true; } 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/TeamWallet.sol contract TeamWallet is Ownable{ address public token; address public crowdsale; uint public lockPeriod; uint public endLock; bool public started; modifier onlyCrowdsale() { require(crowdsale == msg.sender); _; } function setToken (address _token) public onlyOwner{ token = _token; } function setCrowdsale (address _crowdsale) public onlyOwner{ crowdsale = _crowdsale; } function setLockPeriod (uint _lockDays) public onlyOwner{ require(!started); lockPeriod = 1 days * _lockDays; } function start () public onlyCrowdsale{ started = true; endLock = now + lockPeriod; } function withdrawTokens (address _to) public onlyOwner{ require(now > endLock); ERC20 ERC20token = ERC20(token); ERC20token.transfer(_to, ERC20token.balanceOf(this)); } } // File: contracts/ITO.sol contract ITO is ExtendedWalletsMintTokensFeature, SoftcapFeature, AssembledCommonSale { address public teamWallet; bool public paused; function setTeamWallet (address _teamWallet) public onlyOwner{ teamWallet = _teamWallet; } 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(); mintExtendedTokens(); token.finishMinting(); TeamWallet tWallet = TeamWallet(teamWallet); tWallet.start(); } } function fallback() internal minInvestLimited(msg.value) returns(uint) { require(now >= start && now < endSaleDate()); require(!paused); return mintTokensByETH(msg.sender, msg.value); } function pauseITO() public onlyOwner { paused = true; } function continueITO() public onlyOwner { paused = false; } } // File: contracts/ReceivingContractCallback.sol contract ReceivingContractCallback { function tokenFallback(address _from, uint _value) public; } // File: contracts/Token.sol contract Token is MintableToken { string public constant name = "HelixHill"; string public constant symbol = "HILL"; uint32 public constant decimals = 18; 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/Configurator.sol contract Configurator is Ownable { Token public token; ITO public ito; TeamWallet public teamWallet; function deploy() public onlyOwner { address manager = 0xd6561BF111dAfe86A896D6c844F82AE4a5bbc707; token = new Token(); ito = new ITO(); teamWallet = new TeamWallet(); token.setSaleAgent(ito); ito.setStart(1530622800); ito.addMilestone(2000, 5000000000000000000000, 146); ito.addMilestone(1000, 2000000000000000000000, 30); ito.addMilestone(1000, 1950000000000000000000, 30); ito.addMilestone(2000, 1800000000000000000000, 30); ito.addMilestone(3000, 1750000000000000000000, 30); ito.addMilestone(3500, 1600000000000000000000, 30); ito.addMilestone(4000, 1550000000000000000000, 30); ito.addMilestone(4500, 1500000000000000000000, 30); ito.addMilestone(5000, 1450000000000000000000, 30); ito.addMilestone(6000, 1400000000000000000000, 30); ito.addMilestone(8000, 1000000000000000000000, 30); ito.setSoftcap(2000000000000000000000); ito.setMinInvestedLimit(100000000000000000); ito.setWallet(0x3047e47EfC33cF8f6F9C3bdD1ACcaEda75B66f2A); ito.addWallet(0xe129b76dF45bFE35FE4a3fA52986CC8004538C98, 6); ito.addWallet(0x26Db091BF1Bcc2c439A2cA7140D76B4e909C7b4e, 2); ito.addWallet(teamWallet, 15); ito.addWallet(0x2A3b94CB5b9E10E12f97c72d6B5E09BD5A0E6bF1, 12); ito.setPercentRate(100); ito.setToken(token); ito.setTeamWallet(teamWallet); teamWallet.setToken(token); teamWallet.setCrowdsale(ito); teamWallet.setLockPeriod(180); token.transferOwnership(manager); ito.transferOwnership(manager); teamWallet.transferOwnership(manager); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"constant":true,"inputs":[],"name":"mintingFinished","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_value","type":"uint256"}],"name":"approve","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"newSaleAgnet","type":"address"}],"name":"setSaleAgent","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_from","type":"address"},{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transferFrom","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"allowedAddress","type":"address"}],"name":"removeAllowedAddress","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_amount","type":"uint256"}],"name":"mint","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"allowedAddresses","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"callback","type":"address"}],"name":"deregisterCallback","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_subtractedValue","type":"uint256"}],"name":"decreaseApproval","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"}],"name":"balanceOf","outputs":[{"name":"balance","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"finishMinting","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"allowedAddress","type":"address"}],"name":"addAllowedAddress","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"initialBalances","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":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transfer","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"saleAgent","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"callback","type":"address"}],"name":"registerCallback","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_addedValue","type":"uint256"}],"name":"increaseApproval","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"},{"name":"_spender","type":"address"}],"name":"allowance","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"registeredCallbacks","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"anonymous":false,"inputs":[{"indexed":true,"name":"to","type":"address"},{"indexed":false,"name":"amount","type":"uint256"}],"name":"Mint","type":"event"},{"anonymous":false,"inputs":[],"name":"MintFinished","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"owner","type":"address"},{"indexed":true,"name":"spender","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"from","type":"address"},{"indexed":true,"name":"to","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"previousOwner","type":"address"},{"indexed":true,"name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"}]
Contract Creation Code
60606040526005805460ff1916905560008054600160a060020a033316600160a060020a03199091161790556110938061003a6000396000f3006060604052600436106101485763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166305d2035b811461014d57806306fdde0314610174578063095ea7b3146101fe57806314133a7c1461022057806318160ddd1461024157806323b872dd14610266578063313ce5671461028e5780633c9d93b8146102ba57806340c10f19146102d95780634120657a146102fb5780634c66326d1461031a578063661884631461033957806370a082311461035b5780637d64bcb41461037a57806381788e2b1461038d5780638ce1e6a2146103ac5780638da5cb5b146103cb57806395d89b41146103fa578063a9059cbb1461040d578063b1d6a2f01461042f578063cf1b037c14610442578063d73dd62314610461578063dd62ed3e14610483578063f2fde38b146104a8578063f308846f146104c7575b600080fd5b341561015857600080fd5b6101606104e6565b604051901515815260200160405180910390f35b341561017f57600080fd5b6101876104ef565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156101c35780820151838201526020016101ab565b50505050905090810190601f1680156101f05780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561020957600080fd5b610160600160a060020a0360043516602435610526565b341561022b57600080fd5b61023f600160a060020a0360043516610592565b005b341561024c57600080fd5b610254610602565b60405190815260200160405180910390f35b341561027157600080fd5b610160600160a060020a0360043581169060243516604435610608565b341561029957600080fd5b6102a1610628565b60405163ffffffff909116815260200160405180910390f35b34156102c557600080fd5b61023f600160a060020a036004351661062d565b34156102e457600080fd5b610160600160a060020a0360043516602435610669565b341561030657600080fd5b610160600160a060020a036004351661079c565b341561032557600080fd5b61023f600160a060020a03600435166107b1565b341561034457600080fd5b610160600160a060020a03600435166024356107ed565b341561036657600080fd5b610254600160a060020a03600435166108e7565b341561038557600080fd5b610160610902565b341561039857600080fd5b61023f600160a060020a036004351661098e565b34156103b757600080fd5b610254600160a060020a03600435166109d0565b34156103d657600080fd5b6103de6109e2565b604051600160a060020a03909116815260200160405180910390f35b341561040557600080fd5b6101876109f1565b341561041857600080fd5b610160600160a060020a0360043516602435610a28565b341561043a57600080fd5b6103de610a46565b341561044d57600080fd5b61023f600160a060020a0360043516610a5a565b341561046c57600080fd5b610160600160a060020a0360043516602435610a99565b341561048e57600080fd5b610254600160a060020a0360043581169060243516610b3d565b34156104b357600080fd5b61023f600160a060020a0360043516610b68565b34156104d257600080fd5b610160600160a060020a0360043516610c03565b60055460ff1681565b60408051908101604052600981527f48656c697848696c6c0000000000000000000000000000000000000000000000602082015281565b600160a060020a03338116600081815260046020908152604080832094871680845294909152808220859055909291907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a350600192915050565b60055433600160a060020a039081166101009092041614806105c2575060005433600160a060020a039081169116145b15156105cd57600080fd5b60058054600160a060020a039092166101000274ffffffffffffffffffffffffffffffffffffffff0019909216919091179055565b60025481565b6000610620610618858585610c18565b858585610c98565b949350505050565b601281565b60005433600160a060020a0390811691161461064857600080fd5b600160a060020a03166000908152600160205260409020805460ff19169055565b60055460009033600160a060020a0390811661010090920416148061069c575060005433600160a060020a039081169116145b80156106ab575060055460ff16155b15156106b657600080fd5b6002546106c9908363ffffffff610d5316565b600255600160a060020a0383166000908152600360205260409020546106f5908363ffffffff610d5316565b600160a060020a038416600081815260036020908152604080832085905560069091529081902092909255907f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d41213968859084905190815260200160405180910390a2600160a060020a03831660007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405190815260200160405180910390a350600192915050565b60016020526000908152604090205460ff1681565b60005433600160a060020a039081169116146107cc57600080fd5b600160a060020a03166000908152600760205260409020805460ff19169055565b600160a060020a0333811660009081526004602090815260408083209386168352929052908120548083111561084a57600160a060020a033381166000908152600460209081526040808320938816835292905290812055610881565b61085a818463ffffffff610d6216565b600160a060020a033381166000908152600460209081526040808320938916835292905220555b600160a060020a0333811660008181526004602090815260408083209489168084529490915290819020547f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925915190815260200160405180910390a35060019392505050565b600160a060020a031660009081526003602052604090205490565b60055460009033600160a060020a03908116610100909204161480610935575060005433600160a060020a039081169116145b8015610944575060055460ff16155b151561094f57600080fd5b6005805460ff191660011790557fae5184fba832cb2b1f702aca6117b8d265eaf03ad33eb133f19dde0f5920fa0860405160405180910390a150600190565b60005433600160a060020a039081169116146109a957600080fd5b600160a060020a03166000908152600160208190526040909120805460ff19169091179055565b60066020526000908152604090205481565b600054600160a060020a031681565b60408051908101604052600481527f48494c4c00000000000000000000000000000000000000000000000000000000602082015281565b6000610a3f610a378484610d74565b338585610c98565b9392505050565b6005546101009004600160a060020a031681565b60005433600160a060020a03908116911614610a7557600080fd5b600160a060020a03166000908152600760205260409020805460ff19166001179055565b600160a060020a033381166000908152600460209081526040808320938616835292905290812054610ad1908363ffffffff610d5316565b600160a060020a0333811660008181526004602090815260408083209489168084529490915290819020849055919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591905190815260200160405180910390a350600192915050565b600160a060020a03918216600090815260046020908152604080832093909416825291909152205490565b60005433600160a060020a03908116911614610b8357600080fd5b600160a060020a0381161515610b9857600080fd5b600054600160a060020a0380831691167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b60076020526000908152604090205460ff1681565b600080548490600160a060020a0380831691161480610c495750600554600160a060020a0382811661010090920416145b80610c6c5750600160a060020a03811660009081526001602052604090205460ff165b80610c79575060055460ff165b1515610c8457600080fd5b610c8f858585610dea565b95945050505050565b600080858015610cc05750600160a060020a03841660009081526007602052604090205460ff165b15610d49575082600160a060020a038116633b66d02b86856040517c010000000000000000000000000000000000000000000000000000000063ffffffff8516028152600160a060020a0390921660048301526024820152604401600060405180830381600087803b1515610d3457600080fd5b6102c65a03f11515610d4557600080fd5b5050505b5093949350505050565b600082820183811015610a3f57fe5b600082821115610d6e57fe5b50900390565b600080543390600160a060020a0380831691161480610da55750600554600160a060020a0382811661010090920416145b80610dc85750600160a060020a03811660009081526001602052604090205460ff165b80610dd5575060055460ff165b1515610de057600080fd5b6106208484610f6c565b6000600160a060020a0383161515610e0157600080fd5b600160a060020a038416600090815260036020526040902054821115610e2657600080fd5b600160a060020a0380851660009081526004602090815260408083203390941683529290522054821115610e5957600080fd5b600160a060020a038416600090815260036020526040902054610e82908363ffffffff610d6216565b600160a060020a038086166000908152600360205260408082209390935590851681522054610eb7908363ffffffff610d5316565b600160a060020a03808516600090815260036020908152604080832094909455878316825260048152838220339093168252919091522054610eff908363ffffffff610d6216565b600160a060020a03808616600081815260046020908152604080832033861684529091529081902093909355908516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a35060019392505050565b6000600160a060020a0383161515610f8357600080fd5b600160a060020a033316600090815260036020526040902054821115610fa857600080fd5b600160a060020a033316600090815260036020526040902054610fd1908363ffffffff610d6216565b600160a060020a033381166000908152600360205260408082209390935590851681522054611006908363ffffffff610d5316565b600160a060020a0380851660008181526003602052604090819020939093559133909116907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a3506001929150505600a165627a7a72305820f765092226122938b8289396ef49d030153cb85cb3362d7bef9f739c2a8a6f810029
Deployed Bytecode
0x6060604052600436106101485763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166305d2035b811461014d57806306fdde0314610174578063095ea7b3146101fe57806314133a7c1461022057806318160ddd1461024157806323b872dd14610266578063313ce5671461028e5780633c9d93b8146102ba57806340c10f19146102d95780634120657a146102fb5780634c66326d1461031a578063661884631461033957806370a082311461035b5780637d64bcb41461037a57806381788e2b1461038d5780638ce1e6a2146103ac5780638da5cb5b146103cb57806395d89b41146103fa578063a9059cbb1461040d578063b1d6a2f01461042f578063cf1b037c14610442578063d73dd62314610461578063dd62ed3e14610483578063f2fde38b146104a8578063f308846f146104c7575b600080fd5b341561015857600080fd5b6101606104e6565b604051901515815260200160405180910390f35b341561017f57600080fd5b6101876104ef565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156101c35780820151838201526020016101ab565b50505050905090810190601f1680156101f05780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561020957600080fd5b610160600160a060020a0360043516602435610526565b341561022b57600080fd5b61023f600160a060020a0360043516610592565b005b341561024c57600080fd5b610254610602565b60405190815260200160405180910390f35b341561027157600080fd5b610160600160a060020a0360043581169060243516604435610608565b341561029957600080fd5b6102a1610628565b60405163ffffffff909116815260200160405180910390f35b34156102c557600080fd5b61023f600160a060020a036004351661062d565b34156102e457600080fd5b610160600160a060020a0360043516602435610669565b341561030657600080fd5b610160600160a060020a036004351661079c565b341561032557600080fd5b61023f600160a060020a03600435166107b1565b341561034457600080fd5b610160600160a060020a03600435166024356107ed565b341561036657600080fd5b610254600160a060020a03600435166108e7565b341561038557600080fd5b610160610902565b341561039857600080fd5b61023f600160a060020a036004351661098e565b34156103b757600080fd5b610254600160a060020a03600435166109d0565b34156103d657600080fd5b6103de6109e2565b604051600160a060020a03909116815260200160405180910390f35b341561040557600080fd5b6101876109f1565b341561041857600080fd5b610160600160a060020a0360043516602435610a28565b341561043a57600080fd5b6103de610a46565b341561044d57600080fd5b61023f600160a060020a0360043516610a5a565b341561046c57600080fd5b610160600160a060020a0360043516602435610a99565b341561048e57600080fd5b610254600160a060020a0360043581169060243516610b3d565b34156104b357600080fd5b61023f600160a060020a0360043516610b68565b34156104d257600080fd5b610160600160a060020a0360043516610c03565b60055460ff1681565b60408051908101604052600981527f48656c697848696c6c0000000000000000000000000000000000000000000000602082015281565b600160a060020a03338116600081815260046020908152604080832094871680845294909152808220859055909291907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a350600192915050565b60055433600160a060020a039081166101009092041614806105c2575060005433600160a060020a039081169116145b15156105cd57600080fd5b60058054600160a060020a039092166101000274ffffffffffffffffffffffffffffffffffffffff0019909216919091179055565b60025481565b6000610620610618858585610c18565b858585610c98565b949350505050565b601281565b60005433600160a060020a0390811691161461064857600080fd5b600160a060020a03166000908152600160205260409020805460ff19169055565b60055460009033600160a060020a0390811661010090920416148061069c575060005433600160a060020a039081169116145b80156106ab575060055460ff16155b15156106b657600080fd5b6002546106c9908363ffffffff610d5316565b600255600160a060020a0383166000908152600360205260409020546106f5908363ffffffff610d5316565b600160a060020a038416600081815260036020908152604080832085905560069091529081902092909255907f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d41213968859084905190815260200160405180910390a2600160a060020a03831660007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405190815260200160405180910390a350600192915050565b60016020526000908152604090205460ff1681565b60005433600160a060020a039081169116146107cc57600080fd5b600160a060020a03166000908152600760205260409020805460ff19169055565b600160a060020a0333811660009081526004602090815260408083209386168352929052908120548083111561084a57600160a060020a033381166000908152600460209081526040808320938816835292905290812055610881565b61085a818463ffffffff610d6216565b600160a060020a033381166000908152600460209081526040808320938916835292905220555b600160a060020a0333811660008181526004602090815260408083209489168084529490915290819020547f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925915190815260200160405180910390a35060019392505050565b600160a060020a031660009081526003602052604090205490565b60055460009033600160a060020a03908116610100909204161480610935575060005433600160a060020a039081169116145b8015610944575060055460ff16155b151561094f57600080fd5b6005805460ff191660011790557fae5184fba832cb2b1f702aca6117b8d265eaf03ad33eb133f19dde0f5920fa0860405160405180910390a150600190565b60005433600160a060020a039081169116146109a957600080fd5b600160a060020a03166000908152600160208190526040909120805460ff19169091179055565b60066020526000908152604090205481565b600054600160a060020a031681565b60408051908101604052600481527f48494c4c00000000000000000000000000000000000000000000000000000000602082015281565b6000610a3f610a378484610d74565b338585610c98565b9392505050565b6005546101009004600160a060020a031681565b60005433600160a060020a03908116911614610a7557600080fd5b600160a060020a03166000908152600760205260409020805460ff19166001179055565b600160a060020a033381166000908152600460209081526040808320938616835292905290812054610ad1908363ffffffff610d5316565b600160a060020a0333811660008181526004602090815260408083209489168084529490915290819020849055919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591905190815260200160405180910390a350600192915050565b600160a060020a03918216600090815260046020908152604080832093909416825291909152205490565b60005433600160a060020a03908116911614610b8357600080fd5b600160a060020a0381161515610b9857600080fd5b600054600160a060020a0380831691167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b60076020526000908152604090205460ff1681565b600080548490600160a060020a0380831691161480610c495750600554600160a060020a0382811661010090920416145b80610c6c5750600160a060020a03811660009081526001602052604090205460ff165b80610c79575060055460ff165b1515610c8457600080fd5b610c8f858585610dea565b95945050505050565b600080858015610cc05750600160a060020a03841660009081526007602052604090205460ff165b15610d49575082600160a060020a038116633b66d02b86856040517c010000000000000000000000000000000000000000000000000000000063ffffffff8516028152600160a060020a0390921660048301526024820152604401600060405180830381600087803b1515610d3457600080fd5b6102c65a03f11515610d4557600080fd5b5050505b5093949350505050565b600082820183811015610a3f57fe5b600082821115610d6e57fe5b50900390565b600080543390600160a060020a0380831691161480610da55750600554600160a060020a0382811661010090920416145b80610dc85750600160a060020a03811660009081526001602052604090205460ff165b80610dd5575060055460ff165b1515610de057600080fd5b6106208484610f6c565b6000600160a060020a0383161515610e0157600080fd5b600160a060020a038416600090815260036020526040902054821115610e2657600080fd5b600160a060020a0380851660009081526004602090815260408083203390941683529290522054821115610e5957600080fd5b600160a060020a038416600090815260036020526040902054610e82908363ffffffff610d6216565b600160a060020a038086166000908152600360205260408082209390935590851681522054610eb7908363ffffffff610d5316565b600160a060020a03808516600090815260036020908152604080832094909455878316825260048152838220339093168252919091522054610eff908363ffffffff610d6216565b600160a060020a03808616600081815260046020908152604080832033861684529091529081902093909355908516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a35060019392505050565b6000600160a060020a0383161515610f8357600080fd5b600160a060020a033316600090815260036020526040902054821115610fa857600080fd5b600160a060020a033316600090815260036020526040902054610fd1908363ffffffff610d6216565b600160a060020a033381166000908152600360205260408082209390935590851681522054611006908363ffffffff610d5316565b600160a060020a0380851660008181526003602052604090819020939093559133909116907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a3506001929150505600a165627a7a72305820f765092226122938b8289396ef49d030153cb85cb3362d7bef9f739c2a8a6f810029
Swarm Source
bzzr://f765092226122938b8289396ef49d030153cb85cb3362d7bef9f739c2a8a6f81
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.