ERC-20
Overview
Max Total Supply
392,000,000 ADH
Holders
5,330
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
8,721.571107376065525075 ADHValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
AdHiveToken
Compiler Version
v0.4.19+commit.c4cbbb05
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2018-01-09 */ pragma solidity ^0.4.13; contract Receiver { function tokenFallback(address from, uint value, bytes data); } /* * ERC20 interface * see https://github.com/ethereum/EIPs/issues/20 */ contract ERC20 { uint public totalSupply; function balanceOf(address who) public constant returns (uint); function allowance(address owner, address spender) public constant returns (uint); function transfer(address to, uint value) public returns (bool ok); function transferFrom(address from, address to, uint value) public returns (bool ok); function approve(address spender, uint value) public returns (bool ok); event Transfer(address indexed from, address indexed to, uint value); event Approval(address indexed owner, address indexed spender, uint value); } /** * Math operations with safety checks */ contract SafeMath { function safeMul(uint a, uint b) internal returns (uint) { uint c = a * b; assert(a == 0 || c / a == b); return c; } function safeDiv(uint a, uint b) internal returns (uint) { assert(b > 0); uint c = a / b; assert(a == b * c + a % b); return c; } function safeSub(uint a, uint b) internal returns (uint) { assert(b <= a); return a - b; } function safeAdd(uint a, uint b) internal returns (uint) { uint c = a + b; assert(c>=a && c>=b); return c; } function max64(uint64 a, uint64 b) internal constant returns (uint64) { return a >= b ? a : b; } function min64(uint64 a, uint64 b) internal constant returns (uint64) { return a < b ? a : b; } function max256(uint256 a, uint256 b) internal constant returns (uint256) { return a >= b ? a : b; } function min256(uint256 a, uint256 b) internal constant returns (uint256) { return a < b ? a : b; } function assert(bool assertion) internal { if (!assertion) { revert(); } } } /** * Standard ERC20 token with Short Hand Attack and approve() race condition mitigation. * * Based on code by FirstBlood: * https://github.com/Firstbloodio/token/blob/master/smart_contract/FirstBloodToken.sol */ contract StandardToken is ERC20, SafeMath { event Transfer(address indexed from, address indexed to, uint indexed value, bytes data); /* Token supply got increased and a new owner received these tokens */ event Minted(address receiver, uint amount); /* Actual balances of token holders */ mapping(address => uint) balances; /* approve() allowances */ mapping (address => mapping (address => uint)) allowed; /** * * Fix for the ERC20 short address attack * * http://vessenes.com/the-erc20-short-address-attack-explained/ */ modifier onlyPayloadSize(uint size) { if(msg.data.length != size + 4) { revert(); } _; } function transfer(address _to, uint _value) onlyPayloadSize(2 * 32) public returns (bool success) { bytes memory _empty; return transfer(_to, _value, _empty); } function transfer(address _to, uint _value, bytes _data) public returns (bool success) { balances[msg.sender] = safeSub(balances[msg.sender], _value); balances[_to] = safeAdd(balances[_to], _value); Transfer(msg.sender, _to, _value, _data); Transfer(msg.sender, _to, _value); if (isContract(_to)) { Receiver(_to).tokenFallback(msg.sender, _value, _data); } return true; } // ERC223 fetch contract size (must be nonzero to be a contract) function isContract( address _addr ) private returns (bool) { uint length; _addr = _addr; assembly { length := extcodesize(_addr) } return (length > 0); } function transferFrom(address _from, address _to, uint _value) public returns (bool success) { uint _allowance = allowed[_from][msg.sender]; // Check is not needed because safeSub(_allowance, _value) will already throw if this condition is not met // if (_value > _allowance) revert(); balances[_to] = safeAdd(balances[_to], _value); balances[_from] = safeSub(balances[_from], _value); allowed[_from][msg.sender] = safeSub(_allowance, _value); Transfer(_from, _to, _value); return true; } function balanceOf(address _owner) public constant returns (uint balance) { return balances[_owner]; } function approve(address _spender, uint _value) public returns (bool success) { // To change the approve amount you first have to reduce the addresses` // allowance to zero by calling `approve(_spender, 0)` if it is not // already 0 to mitigate the race condition described here: // https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 if ((_value != 0) && (allowed[msg.sender][_spender] != 0)) revert(); allowed[msg.sender][_spender] = _value; Approval(msg.sender, _spender, _value); return true; } function allowance(address _owner, address _spender) public constant returns (uint remaining) { return allowed[_owner][_spender]; } /** * Atomic increment of approved spending * * Works around https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * */ function addApproval(address _spender, uint _addedValue) public onlyPayloadSize(2 * 32) returns (bool success) { uint oldValue = allowed[msg.sender][_spender]; allowed[msg.sender][_spender] = safeAdd(oldValue, _addedValue); Approval(msg.sender, _spender, allowed[msg.sender][_spender]); return true; } /** * Atomic decrement of approved spending. * * Works around https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 */ function subApproval(address _spender, uint _subtractedValue) public onlyPayloadSize(2 * 32) returns (bool success) { uint oldVal = allowed[msg.sender][_spender]; if (_subtractedValue > oldVal) { allowed[msg.sender][_spender] = 0; } else { allowed[msg.sender][_spender] = safeSub(oldVal, _subtractedValue); } Approval(msg.sender, _spender, allowed[msg.sender][_spender]); return true; } } contract BurnableToken is StandardToken { address public constant BURN_ADDRESS = 0; /** How many tokens we burned */ event Burned(address burner, uint burnedAmount); /** * Burn extra tokens from a balance. * */ function burn(uint burnAmount) public { address burner = msg.sender; balances[burner] = safeSub(balances[burner], burnAmount); totalSupply = safeSub(totalSupply, burnAmount); Burned(burner, burnAmount); } } /** * Upgrade agent interface inspired by Lunyr. * * Upgrade agent transfers tokens to a new contract. * Upgrade agent itself can be the token contract, or just a middle man contract doing the heavy lifting. */ contract UpgradeAgent { uint public originalSupply; /** Interface marker */ function isUpgradeAgent() public constant returns (bool) { return true; } function upgradeFrom(address _from, uint256 _value) public; } /** * A token upgrade mechanism where users can opt-in amount of tokens to the next smart contract revision. * * First envisioned by Golem and Lunyr projects. */ contract UpgradeableToken is StandardToken { /** Contract / person who can set the upgrade path. This can be the same as team multisig wallet, as what it is with its default value. */ address public upgradeMaster; /** The next contract where the tokens will be migrated. */ UpgradeAgent public upgradeAgent; /** How many tokens we have upgraded by now. */ uint256 public totalUpgraded; /** * Upgrade states. * * - NotAllowed: The child contract has not reached a condition where the upgrade can bgun * - WaitingForAgent: Token allows upgrade, but we don't have a new agent yet * - ReadyToUpgrade: The agent is set, but not a single token has been upgraded yet * - Upgrading: Upgrade agent is set and the balance holders can upgrade their tokens * */ enum UpgradeState {Unknown, NotAllowed, WaitingForAgent, ReadyToUpgrade, Upgrading} /** * Somebody has upgraded some of his tokens. */ event Upgrade(address indexed _from, address indexed _to, uint256 _value); /** * New upgrade agent available. */ event UpgradeAgentSet(address agent); /** * Do not allow construction without upgrade master set. */ function UpgradeableToken(address _upgradeMaster) public { upgradeMaster = _upgradeMaster; } /** * Allow the token holder to upgrade some of their tokens to a new contract. */ function upgrade(uint256 value) public { UpgradeState state = getUpgradeState(); if(!(state == UpgradeState.ReadyToUpgrade || state == UpgradeState.Upgrading)) { // Called in a bad state revert(); } // Validate input value. if (value == 0) revert(); balances[msg.sender] = safeSub(balances[msg.sender], value); // Take tokens out from circulation totalSupply = safeSub(totalSupply, value); totalUpgraded = safeAdd(totalUpgraded, value); // Upgrade agent reissues the tokens upgradeAgent.upgradeFrom(msg.sender, value); Upgrade(msg.sender, upgradeAgent, value); } /** * Set an upgrade agent that handles */ function setUpgradeAgent(address agent) external { if(!canUpgrade()) { // The token is not yet in a state that we could think upgrading revert(); } if (agent == 0x0) revert(); // Only a master can designate the next agent if (msg.sender != upgradeMaster) revert(); // Upgrade has already begun for an agent if (getUpgradeState() == UpgradeState.Upgrading) revert(); upgradeAgent = UpgradeAgent(agent); // Bad interface if(!upgradeAgent.isUpgradeAgent()) revert(); // Make sure that token supplies match in source and target if (upgradeAgent.originalSupply() != totalSupply) revert(); UpgradeAgentSet(upgradeAgent); } /** * Get the state of the token upgrade. */ function getUpgradeState() public constant returns(UpgradeState) { if(!canUpgrade()) return UpgradeState.NotAllowed; else if(address(upgradeAgent) == 0x00) return UpgradeState.WaitingForAgent; else if(totalUpgraded == 0) return UpgradeState.ReadyToUpgrade; else return UpgradeState.Upgrading; } /** * Change the upgrade master. * * This allows us to set a new owner for the upgrade mechanism. */ function setUpgradeMaster(address master) public { if (master == 0x0) revert(); if (msg.sender != upgradeMaster) revert(); upgradeMaster = master; } /** * Child contract can enable to provide the condition when the upgrade can begun. */ function canUpgrade() public constant returns(bool) { return true; } } contract AdHiveToken is BurnableToken, UpgradeableToken { string public name; string public symbol; uint public decimals; address public owner; bool public mintingFinished = false; mapping(address => uint) public previligedBalances; /** List of agents that are allowed to create new tokens */ mapping(address => bool) public mintAgents; event MintingAgentChanged(address addr, bool state); modifier onlyOwner() { if(msg.sender != owner) revert(); _; } modifier onlyMintAgent() { // Only crowdsale contracts are allowed to mint new tokens if(!mintAgents[msg.sender]) revert(); _; } /** Make sure we are not done yet. */ modifier canMint() { if(mintingFinished) revert(); _; } modifier onlyNotSame(address _from, address _to) { if(_from == _to) revert(); _; } function transferOwnership(address newOwner) public onlyOwner { if (newOwner != address(0)) { owner = newOwner; } } function AdHiveToken(address _owner, string _name, string _symbol, uint _totalSupply, uint _decimals) public UpgradeableToken(_owner) { name = _name; symbol = _symbol; decimals = _decimals; totalSupply = _totalSupply * 10 ** uint(decimals); // Allocate initial balance to the owner balances[_owner] = totalSupply; // save the owner owner = _owner; } function mintingFinish() public onlyOwner { mintingFinished = true; } // privileged transfer function transferPrivileged(address _to, uint _value) public onlyOwner returns (bool success) { balances[msg.sender] = safeSub(balances[msg.sender], _value); balances[_to] = safeAdd(balances[_to], _value); previligedBalances[_to] = safeAdd(previligedBalances[_to], _value); Transfer(msg.sender, _to, _value); return true; } // get priveleged balance function getPrivilegedBalance(address _owner) public constant returns (uint balance) { return previligedBalances[_owner]; } // admin only can transfer from the privileged accounts function transferFromPrivileged(address _from, address _to, uint _value) public onlyOwner onlyNotSame(_from, _to) returns (bool success) { uint availablePrevilegedBalance = previligedBalances[_from]; balances[_from] = safeSub(balances[_from], _value); balances[_to] = safeAdd(balances[_to], _value); previligedBalances[_from] = safeSub(availablePrevilegedBalance, _value); Transfer(_from, _to, _value); return true; } /** * Create new tokens and allocate them to an address.. * * Only callably by a crowdsale contract (mint agent). */ function mint(address receiver, uint amount) onlyMintAgent canMint public { amount *= 10 ** uint(decimals); totalSupply = safeAdd(totalSupply, amount); balances[receiver] = safeAdd(balances[receiver], amount); // This will make the mint transaction apper in EtherScan.io // We can remove this after there is a standardized minting event Transfer(0, receiver, amount); } /** * Owner can allow a crowdsale contract to mint new tokens. */ function setMintAgent(address addr, bool state) onlyOwner canMint public { mintAgents[addr] = state; MintingAgentChanged(addr, state); } }
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":"success","type":"bool"}],"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":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transferPrivileged","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_from","type":"address"},{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transferFrom","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"mintingFinish","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"receiver","type":"address"},{"name":"amount","type":"uint256"}],"name":"mint","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"burnAmount","type":"uint256"}],"name":"burn","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"mintAgents","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"addr","type":"address"},{"name":"state","type":"bool"}],"name":"setMintAgent","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"value","type":"uint256"}],"name":"upgrade","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_from","type":"address"},{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transferFromPrivileged","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"upgradeAgent","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"upgradeMaster","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"}],"name":"balanceOf","outputs":[{"name":"balance","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"getUpgradeState","outputs":[{"name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"previligedBalances","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":true,"inputs":[],"name":"canUpgrade","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transfer","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"}],"name":"getPrivilegedBalance","outputs":[{"name":"balance","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_addedValue","type":"uint256"}],"name":"addApproval","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_value","type":"uint256"},{"name":"_data","type":"bytes"}],"name":"transfer","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"totalUpgraded","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"agent","type":"address"}],"name":"setUpgradeAgent","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"},{"name":"_spender","type":"address"}],"name":"allowance","outputs":[{"name":"remaining","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_subtractedValue","type":"uint256"}],"name":"subApproval","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"BURN_ADDRESS","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"master","type":"address"}],"name":"setUpgradeMaster","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"inputs":[{"name":"_owner","type":"address"},{"name":"_name","type":"string"},{"name":"_symbol","type":"string"},{"name":"_totalSupply","type":"uint256"},{"name":"_decimals","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"name":"addr","type":"address"},{"indexed":false,"name":"state","type":"bool"}],"name":"MintingAgentChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"_from","type":"address"},{"indexed":true,"name":"_to","type":"address"},{"indexed":false,"name":"_value","type":"uint256"}],"name":"Upgrade","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"agent","type":"address"}],"name":"UpgradeAgentSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"burner","type":"address"},{"indexed":false,"name":"burnedAmount","type":"uint256"}],"name":"Burned","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"from","type":"address"},{"indexed":true,"name":"to","type":"address"},{"indexed":true,"name":"value","type":"uint256"},{"indexed":false,"name":"data","type":"bytes"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"receiver","type":"address"},{"indexed":false,"name":"amount","type":"uint256"}],"name":"Minted","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":"owner","type":"address"},{"indexed":true,"name":"spender","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Approval","type":"event"}]
Contract Creation Code
60606040526009805460a060020a60ff021916905534156200002057600080fd5b6040516200183b3803806200183b83398101604052808051919060200180518201919060200180518201919060200180519190602001805160038054600160a060020a031916600160a060020a0389161790559150600690508480516200008c929160200190620000e5565b506007838051620000a2929160200190620000e5565b506008819055600a0a026000818155600160a060020a039094168085526001602052604090942055505060098054600160a060020a03191690911790556200018a565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200012857805160ff191683800117855562000158565b8280016001018555821562000158579182015b82811115620001585782518255916020019190600101906200013b565b50620001669291506200016a565b5090565b6200018791905b8082111562000166576000815560010162000171565b90565b6116a1806200019a6000396000f3006060604052600436106101875763ffffffff60e060020a60003504166305d2035b811461018c57806306fdde03146101b3578063095ea7b31461023d57806318160ddd1461025f5780631a017f3f1461028457806323b872dd146102a6578063313ce567146102ce5780633ba8c9a7146102e157806340c10f19146102f657806342966c681461031857806342c1867b1461032e578063432146751461034d57806345977d03146103715780635d3171d9146103875780635de4ccb0146103af578063600440cb146103de57806370a08231146103f15780638444b391146104105780638c133a77146104475780638da5cb5b1461046657806395d89b41146104795780639738968c1461048c578063a9059cbb1461049f578063ab7e9dca146104c1578063ac3cb72c146104e0578063be45fd6214610502578063c752ff6214610567578063d7e7088a1461057a578063dd62ed3e14610599578063e2301d02146105be578063f2fde38b146105e0578063fccc2813146105ff578063ffeb7d7514610612575b600080fd5b341561019757600080fd5b61019f610631565b604051901515815260200160405180910390f35b34156101be57600080fd5b6101c6610641565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156102025780820151838201526020016101ea565b50505050905090810190601f16801561022f5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561024857600080fd5b61019f600160a060020a03600435166024356106df565b341561026a57600080fd5b610272610787565b60405190815260200160405180910390f35b341561028f57600080fd5b61019f600160a060020a036004351660243561078d565b34156102b157600080fd5b61019f600160a060020a036004358116906024351660443561087b565b34156102d957600080fd5b61027261096a565b34156102ec57600080fd5b6102f4610970565b005b341561030157600080fd5b6102f4600160a060020a03600435166024356109b1565b341561032357600080fd5b6102f4600435610a6e565b341561033957600080fd5b61019f600160a060020a0360043516610b04565b341561035857600080fd5b6102f4600160a060020a03600435166024351515610b19565b341561037c57600080fd5b6102f4600435610bbc565b341561039257600080fd5b61019f600160a060020a0360043581169060243516604435610d13565b34156103ba57600080fd5b6103c2610e29565b604051600160a060020a03909116815260200160405180910390f35b34156103e957600080fd5b6103c2610e38565b34156103fc57600080fd5b610272600160a060020a0360043516610e47565b341561041b57600080fd5b610423610e62565b6040518082600481111561043357fe5b60ff16815260200191505060405180910390f35b341561045257600080fd5b610272600160a060020a0360043516610eac565b341561047157600080fd5b6103c2610ebe565b341561048457600080fd5b6101c6610ecd565b341561049757600080fd5b61019f610f38565b34156104aa57600080fd5b61019f600160a060020a0360043516602435610f3d565b34156104cc57600080fd5b610272600160a060020a0360043516610f6a565b34156104eb57600080fd5b61019f600160a060020a0360043516602435610f85565b341561050d57600080fd5b61019f60048035600160a060020a03169060248035919060649060443590810190830135806020601f8201819004810201604051908101604052818152929190602084018383808284375094965061103795505050505050565b341561057257600080fd5b610272611275565b341561058557600080fd5b6102f4600160a060020a036004351661127b565b34156105a457600080fd5b610272600160a060020a0360043581169060243516611432565b34156105c957600080fd5b61019f600160a060020a036004351660243561145d565b34156105eb57600080fd5b6102f4600160a060020a036004351661153d565b341561060a57600080fd5b6103c2611593565b341561061d57600080fd5b6102f4600160a060020a0360043516611598565b60095460a060020a900460ff1681565b60068054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156106d75780601f106106ac576101008083540402835291602001916106d7565b820191906000526020600020905b8154815290600101906020018083116106ba57829003601f168201915b505050505081565b600081158015906107145750600160a060020a0333811660009081526002602090815260408083209387168352929052205415155b1561071e57600080fd5b600160a060020a03338116600081815260026020908152604080832094881680845294909152908190208590557f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a350600192915050565b60005481565b60095460009033600160a060020a039081169116146107ab57600080fd5b600160a060020a0333166000908152600160205260409020546107ce90836115f7565b600160a060020a0333811660009081526001602052604080822093909355908516815220546107fd908361160b565b600160a060020a038416600090815260016020908152604080832093909355600a9052205461082c908361160b565b600160a060020a038085166000818152600a602052604090819020939093559133909116906000805160206116568339815191529085905190815260200160405180910390a350600192915050565b600160a060020a0380841660009081526002602090815260408083203385168452825280832054938616835260019091528120549091906108bc908461160b565b600160a060020a0380861660009081526001602052604080822093909355908716815220546108eb90846115f7565b600160a060020a03861660009081526001602052604090205561090e81846115f7565b600160a060020a03808716600081815260026020908152604080832033861684529091529081902093909355908616916000805160206116568339815191529086905190815260200160405180910390a3506001949350505050565b60085481565b60095433600160a060020a0390811691161461098b57600080fd5b6009805474ff0000000000000000000000000000000000000000191660a060020a179055565b600160a060020a0333166000908152600b602052604090205460ff1615156109d857600080fd5b60095460a060020a900460ff16156109ef57600080fd5b600854600a0a81029050610a056000548261160b565b6000908155600160a060020a038316815260016020526040902054610a2a908261160b565b600160a060020a0383166000818152600160205260408082209390935590916000805160206116568339815191529084905190815260200160405180910390a35050565b33600160a060020a038116600090815260016020526040902054610a9290836115f7565b600160a060020a03821660009081526001602052604081209190915554610ab990836115f7565b6000557f696de425f79f4a40bc6d2122ca50507f0efbeabbff86a84871b7196ab8ea8df78183604051600160a060020a03909216825260208201526040908101905180910390a15050565b600b6020526000908152604090205460ff1681565b60095433600160a060020a03908116911614610b3457600080fd5b60095460a060020a900460ff1615610b4b57600080fd5b600160a060020a0382166000908152600b602052604090819020805460ff19168315151790557f4b0adf6c802794c7dde28a08a4e07131abcff3bf9603cd71f14f90bec7865efa908390839051600160a060020a039092168252151560208201526040908101905180910390a15050565b6000610bc6610e62565b90506003816004811115610bd657fe5b1480610bed57506004816004811115610beb57fe5b145b1515610bf857600080fd5b811515610c0457600080fd5b600160a060020a033316600090815260016020526040902054610c2790836115f7565b600160a060020a03331660009081526001602052604081209190915554610c4e90836115f7565b600055600554610c5e908361160b565b600555600454600160a060020a031663753e88e5338460405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401600060405180830381600087803b1515610cb757600080fd5b6102c65a03f11515610cc857600080fd5b5050600454600160a060020a03908116915033167f7e5c344a8141a805725cb476f76c6953b842222b967edd1f78ddb6e8b3f397ac8460405190815260200160405180910390a35050565b600954600090819033600160a060020a03908116911614610d3357600080fd5b848480600160a060020a031682600160a060020a03161415610d5457600080fd5b600160a060020a0387166000908152600a6020908152604080832054600190925290912054909350610d8690866115f7565b600160a060020a038089166000908152600160205260408082209390935590881681522054610db5908661160b565b600160a060020a038716600090815260016020526040902055610dd883866115f7565b600160a060020a038089166000818152600a60205260409081902093909355908816916000805160206116568339815191529088905190815260200160405180910390a35060019695505050505050565b600454600160a060020a031681565b600354600160a060020a031681565b600160a060020a031660009081526001602052604090205490565b6000610e6c610f38565b1515610e7a57506001610ea9565b600454600160a060020a03161515610e9457506002610ea9565b6005541515610ea557506003610ea9565b5060045b90565b600a6020526000908152604090205481565b600954600160a060020a031681565b60078054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156106d75780601f106106ac576101008083540402835291602001916106d7565b600190565b6000610f47611643565b604036604414610f5657600080fd5b610f61858584611037565b95945050505050565b600160a060020a03166000908152600a602052604090205490565b600080604036604414610f9757600080fd5b600160a060020a033381166000908152600260209081526040808320938916835292905220549150610fc9828561160b565b600160a060020a033381166000818152600260209081526040808320948b168084529490915290819020849055919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591905190815260200160405180910390a3506001949350505050565b600160a060020a03331660009081526001602052604081205461105a90846115f7565b600160a060020a033381166000908152600160205260408082209390935590861681522054611089908461160b565b600160a060020a038086166000818152600160205260409081902093909355859290913316907fe19260aff97b920c7df27010903aeb9c8d2be5d310a2c67824cf3f15396e4c169086905160208082528190810183818151815260200191508051906020019080838360005b8381101561110d5780820151838201526020016110f5565b50505050905090810190601f16801561113a5780820380516001836020036101000a031916815260200191505b509250505060405180910390a483600160a060020a031633600160a060020a03166000805160206116568339815191528560405190815260200160405180910390a36111858461162f565b1561126b5783600160a060020a031663c0ee0b8a3385856040518463ffffffff1660e060020a0281526004018084600160a060020a0316600160a060020a0316815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b838110156112095780820151838201526020016111f1565b50505050905090810190601f1680156112365780820380516001836020036101000a031916815260200191505b50945050505050600060405180830381600087803b151561125657600080fd5b6102c65a03f1151561126757600080fd5b5050505b5060019392505050565b60055481565b611283610f38565b151561128e57600080fd5b600160a060020a03811615156112a357600080fd5b60035433600160a060020a039081169116146112be57600080fd5b60046112c8610e62565b60048111156112d357fe5b14156112de57600080fd5b6004805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a038381169190911791829055166361d3d7a66000604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b151561134957600080fd5b6102c65a03f1151561135a57600080fd5b50505060405180519050151561136f57600080fd5b600080546004549091600160a060020a0390911690634b2ba0dd90604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b15156113bf57600080fd5b6102c65a03f115156113d057600080fd5b505050604051805190501415156113e657600080fd5b6004547f7845d5aa74cc410e35571258d954f23b82276e160fe8c188fa80566580f279cc90600160a060020a0316604051600160a060020a03909116815260200160405180910390a150565b600160a060020a03918216600090815260026020908152604080832093909416825291909152205490565b60008060403660441461146f57600080fd5b600160a060020a033381166000908152600260209081526040808320938916835292905220549150818411156114cc57600160a060020a0333811660009081526002602090815260408083209389168352929052908120556114d6565b610fc982856115f7565b600160a060020a033381166000818152600260209081526040808320948a168084529490915290819020547f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925915190815260200160405180910390a3506001949350505050565b60095433600160a060020a0390811691161461155857600080fd5b600160a060020a03811615611590576009805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0383161790555b50565b600081565b600160a060020a03811615156115ad57600080fd5b60035433600160a060020a039081169116146115c857600080fd5b6003805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600061160583831115611637565b50900390565b60008282016116288482108015906116235750838210155b611637565b9392505050565b6000903b1190565b80151561159057600080fd5b602060405190810160405260008152905600ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa165627a7a723058200e2e84b73ca0069f6d677d4c49e964914a747b1acd96cb0d1b6ed8c122e96ec70029000000000000000000000000ab69de3290db5a515b004bd7841e5a22c23f73d700000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000001ad274800000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000000c41644869766520546f6b656e000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000034144480000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x6060604052600436106101875763ffffffff60e060020a60003504166305d2035b811461018c57806306fdde03146101b3578063095ea7b31461023d57806318160ddd1461025f5780631a017f3f1461028457806323b872dd146102a6578063313ce567146102ce5780633ba8c9a7146102e157806340c10f19146102f657806342966c681461031857806342c1867b1461032e578063432146751461034d57806345977d03146103715780635d3171d9146103875780635de4ccb0146103af578063600440cb146103de57806370a08231146103f15780638444b391146104105780638c133a77146104475780638da5cb5b1461046657806395d89b41146104795780639738968c1461048c578063a9059cbb1461049f578063ab7e9dca146104c1578063ac3cb72c146104e0578063be45fd6214610502578063c752ff6214610567578063d7e7088a1461057a578063dd62ed3e14610599578063e2301d02146105be578063f2fde38b146105e0578063fccc2813146105ff578063ffeb7d7514610612575b600080fd5b341561019757600080fd5b61019f610631565b604051901515815260200160405180910390f35b34156101be57600080fd5b6101c6610641565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156102025780820151838201526020016101ea565b50505050905090810190601f16801561022f5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561024857600080fd5b61019f600160a060020a03600435166024356106df565b341561026a57600080fd5b610272610787565b60405190815260200160405180910390f35b341561028f57600080fd5b61019f600160a060020a036004351660243561078d565b34156102b157600080fd5b61019f600160a060020a036004358116906024351660443561087b565b34156102d957600080fd5b61027261096a565b34156102ec57600080fd5b6102f4610970565b005b341561030157600080fd5b6102f4600160a060020a03600435166024356109b1565b341561032357600080fd5b6102f4600435610a6e565b341561033957600080fd5b61019f600160a060020a0360043516610b04565b341561035857600080fd5b6102f4600160a060020a03600435166024351515610b19565b341561037c57600080fd5b6102f4600435610bbc565b341561039257600080fd5b61019f600160a060020a0360043581169060243516604435610d13565b34156103ba57600080fd5b6103c2610e29565b604051600160a060020a03909116815260200160405180910390f35b34156103e957600080fd5b6103c2610e38565b34156103fc57600080fd5b610272600160a060020a0360043516610e47565b341561041b57600080fd5b610423610e62565b6040518082600481111561043357fe5b60ff16815260200191505060405180910390f35b341561045257600080fd5b610272600160a060020a0360043516610eac565b341561047157600080fd5b6103c2610ebe565b341561048457600080fd5b6101c6610ecd565b341561049757600080fd5b61019f610f38565b34156104aa57600080fd5b61019f600160a060020a0360043516602435610f3d565b34156104cc57600080fd5b610272600160a060020a0360043516610f6a565b34156104eb57600080fd5b61019f600160a060020a0360043516602435610f85565b341561050d57600080fd5b61019f60048035600160a060020a03169060248035919060649060443590810190830135806020601f8201819004810201604051908101604052818152929190602084018383808284375094965061103795505050505050565b341561057257600080fd5b610272611275565b341561058557600080fd5b6102f4600160a060020a036004351661127b565b34156105a457600080fd5b610272600160a060020a0360043581169060243516611432565b34156105c957600080fd5b61019f600160a060020a036004351660243561145d565b34156105eb57600080fd5b6102f4600160a060020a036004351661153d565b341561060a57600080fd5b6103c2611593565b341561061d57600080fd5b6102f4600160a060020a0360043516611598565b60095460a060020a900460ff1681565b60068054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156106d75780601f106106ac576101008083540402835291602001916106d7565b820191906000526020600020905b8154815290600101906020018083116106ba57829003601f168201915b505050505081565b600081158015906107145750600160a060020a0333811660009081526002602090815260408083209387168352929052205415155b1561071e57600080fd5b600160a060020a03338116600081815260026020908152604080832094881680845294909152908190208590557f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a350600192915050565b60005481565b60095460009033600160a060020a039081169116146107ab57600080fd5b600160a060020a0333166000908152600160205260409020546107ce90836115f7565b600160a060020a0333811660009081526001602052604080822093909355908516815220546107fd908361160b565b600160a060020a038416600090815260016020908152604080832093909355600a9052205461082c908361160b565b600160a060020a038085166000818152600a602052604090819020939093559133909116906000805160206116568339815191529085905190815260200160405180910390a350600192915050565b600160a060020a0380841660009081526002602090815260408083203385168452825280832054938616835260019091528120549091906108bc908461160b565b600160a060020a0380861660009081526001602052604080822093909355908716815220546108eb90846115f7565b600160a060020a03861660009081526001602052604090205561090e81846115f7565b600160a060020a03808716600081815260026020908152604080832033861684529091529081902093909355908616916000805160206116568339815191529086905190815260200160405180910390a3506001949350505050565b60085481565b60095433600160a060020a0390811691161461098b57600080fd5b6009805474ff0000000000000000000000000000000000000000191660a060020a179055565b600160a060020a0333166000908152600b602052604090205460ff1615156109d857600080fd5b60095460a060020a900460ff16156109ef57600080fd5b600854600a0a81029050610a056000548261160b565b6000908155600160a060020a038316815260016020526040902054610a2a908261160b565b600160a060020a0383166000818152600160205260408082209390935590916000805160206116568339815191529084905190815260200160405180910390a35050565b33600160a060020a038116600090815260016020526040902054610a9290836115f7565b600160a060020a03821660009081526001602052604081209190915554610ab990836115f7565b6000557f696de425f79f4a40bc6d2122ca50507f0efbeabbff86a84871b7196ab8ea8df78183604051600160a060020a03909216825260208201526040908101905180910390a15050565b600b6020526000908152604090205460ff1681565b60095433600160a060020a03908116911614610b3457600080fd5b60095460a060020a900460ff1615610b4b57600080fd5b600160a060020a0382166000908152600b602052604090819020805460ff19168315151790557f4b0adf6c802794c7dde28a08a4e07131abcff3bf9603cd71f14f90bec7865efa908390839051600160a060020a039092168252151560208201526040908101905180910390a15050565b6000610bc6610e62565b90506003816004811115610bd657fe5b1480610bed57506004816004811115610beb57fe5b145b1515610bf857600080fd5b811515610c0457600080fd5b600160a060020a033316600090815260016020526040902054610c2790836115f7565b600160a060020a03331660009081526001602052604081209190915554610c4e90836115f7565b600055600554610c5e908361160b565b600555600454600160a060020a031663753e88e5338460405160e060020a63ffffffff8516028152600160a060020a0390921660048301526024820152604401600060405180830381600087803b1515610cb757600080fd5b6102c65a03f11515610cc857600080fd5b5050600454600160a060020a03908116915033167f7e5c344a8141a805725cb476f76c6953b842222b967edd1f78ddb6e8b3f397ac8460405190815260200160405180910390a35050565b600954600090819033600160a060020a03908116911614610d3357600080fd5b848480600160a060020a031682600160a060020a03161415610d5457600080fd5b600160a060020a0387166000908152600a6020908152604080832054600190925290912054909350610d8690866115f7565b600160a060020a038089166000908152600160205260408082209390935590881681522054610db5908661160b565b600160a060020a038716600090815260016020526040902055610dd883866115f7565b600160a060020a038089166000818152600a60205260409081902093909355908816916000805160206116568339815191529088905190815260200160405180910390a35060019695505050505050565b600454600160a060020a031681565b600354600160a060020a031681565b600160a060020a031660009081526001602052604090205490565b6000610e6c610f38565b1515610e7a57506001610ea9565b600454600160a060020a03161515610e9457506002610ea9565b6005541515610ea557506003610ea9565b5060045b90565b600a6020526000908152604090205481565b600954600160a060020a031681565b60078054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156106d75780601f106106ac576101008083540402835291602001916106d7565b600190565b6000610f47611643565b604036604414610f5657600080fd5b610f61858584611037565b95945050505050565b600160a060020a03166000908152600a602052604090205490565b600080604036604414610f9757600080fd5b600160a060020a033381166000908152600260209081526040808320938916835292905220549150610fc9828561160b565b600160a060020a033381166000818152600260209081526040808320948b168084529490915290819020849055919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591905190815260200160405180910390a3506001949350505050565b600160a060020a03331660009081526001602052604081205461105a90846115f7565b600160a060020a033381166000908152600160205260408082209390935590861681522054611089908461160b565b600160a060020a038086166000818152600160205260409081902093909355859290913316907fe19260aff97b920c7df27010903aeb9c8d2be5d310a2c67824cf3f15396e4c169086905160208082528190810183818151815260200191508051906020019080838360005b8381101561110d5780820151838201526020016110f5565b50505050905090810190601f16801561113a5780820380516001836020036101000a031916815260200191505b509250505060405180910390a483600160a060020a031633600160a060020a03166000805160206116568339815191528560405190815260200160405180910390a36111858461162f565b1561126b5783600160a060020a031663c0ee0b8a3385856040518463ffffffff1660e060020a0281526004018084600160a060020a0316600160a060020a0316815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b838110156112095780820151838201526020016111f1565b50505050905090810190601f1680156112365780820380516001836020036101000a031916815260200191505b50945050505050600060405180830381600087803b151561125657600080fd5b6102c65a03f1151561126757600080fd5b5050505b5060019392505050565b60055481565b611283610f38565b151561128e57600080fd5b600160a060020a03811615156112a357600080fd5b60035433600160a060020a039081169116146112be57600080fd5b60046112c8610e62565b60048111156112d357fe5b14156112de57600080fd5b6004805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a038381169190911791829055166361d3d7a66000604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b151561134957600080fd5b6102c65a03f1151561135a57600080fd5b50505060405180519050151561136f57600080fd5b600080546004549091600160a060020a0390911690634b2ba0dd90604051602001526040518163ffffffff1660e060020a028152600401602060405180830381600087803b15156113bf57600080fd5b6102c65a03f115156113d057600080fd5b505050604051805190501415156113e657600080fd5b6004547f7845d5aa74cc410e35571258d954f23b82276e160fe8c188fa80566580f279cc90600160a060020a0316604051600160a060020a03909116815260200160405180910390a150565b600160a060020a03918216600090815260026020908152604080832093909416825291909152205490565b60008060403660441461146f57600080fd5b600160a060020a033381166000908152600260209081526040808320938916835292905220549150818411156114cc57600160a060020a0333811660009081526002602090815260408083209389168352929052908120556114d6565b610fc982856115f7565b600160a060020a033381166000818152600260209081526040808320948a168084529490915290819020547f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925915190815260200160405180910390a3506001949350505050565b60095433600160a060020a0390811691161461155857600080fd5b600160a060020a03811615611590576009805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0383161790555b50565b600081565b600160a060020a03811615156115ad57600080fd5b60035433600160a060020a039081169116146115c857600080fd5b6003805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600061160583831115611637565b50900390565b60008282016116288482108015906116235750838210155b611637565b9392505050565b6000903b1190565b80151561159057600080fd5b602060405190810160405260008152905600ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa165627a7a723058200e2e84b73ca0069f6d677d4c49e964914a747b1acd96cb0d1b6ed8c122e96ec70029
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000ab69de3290db5a515b004bd7841e5a22c23f73d700000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000001ad274800000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000000c41644869766520546f6b656e000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000034144480000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _owner (address): 0xaB69DE3290Db5A515B004bd7841E5A22C23F73D7
Arg [1] : _name (string): AdHive Token
Arg [2] : _symbol (string): ADH
Arg [3] : _totalSupply (uint256): 450000000
Arg [4] : _decimals (uint256): 18
-----Encoded View---------------
9 Constructor Arguments found :
Arg [0] : 000000000000000000000000ab69de3290db5a515b004bd7841e5a22c23f73d7
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [3] : 000000000000000000000000000000000000000000000000000000001ad27480
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000012
Arg [5] : 000000000000000000000000000000000000000000000000000000000000000c
Arg [6] : 41644869766520546f6b656e0000000000000000000000000000000000000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [8] : 4144480000000000000000000000000000000000000000000000000000000000
Swarm Source
bzzr://0e2e84b73ca0069f6d677d4c49e964914a747b1acd96cb0d1b6ed8c122e96ec7
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.