ETH Price: $3,759.45 (+2.75%)
Gas: 6 Gwei

Token

Hormitech (HOR)
 

Overview

Max Total Supply

200,000 HOR

Holders

3

Total Transfers

-

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 0 Decimals)

Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
HormitechToken

Compiler Version
v0.4.19+commit.c4cbbb05

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
/**
 *Submitted for verification at Etherscan.io on 2018-01-15
*/

pragma solidity ^0.4.13;

contract owned {
    /* Owner definition. */
    address public owner; // Owner address.
    function owned() internal {
        owner = msg.sender;
    }
    modifier onlyOwner {
        require(msg.sender == owner); _;
    }
    function transferOwnership(address newOwner) onlyOwner public{
        owner = newOwner;
    }
}

contract token { 
    /* Base token definition. */
    string  public name;        // Name for the token.
    string  public symbol;      // Symbol for the token.
    uint8   public decimals;    // Number of decimals of the token.
    uint256 public totalSupply; // Total of tokens created.

    // Array containing the balance foreach address.
    mapping (address => uint256) public balanceOf;
    // Array containing foreach address, an array containing each approved address and the amount of tokens it can spend.
    mapping (address => mapping (address => uint256)) public allowance;

    /* This generates a public event on the blockchain that will notify about a transfer done. */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /* Initializes the contract */
    function token(uint256 initialSupply, string tokenName, uint8 decimalUnits, string tokenSymbol) internal {
        balanceOf[msg.sender] = initialSupply; // Gives the creator all initial tokens.
        totalSupply           = initialSupply; // Update total supply.
        name                  = tokenName;     // Set the name for display purposes.
        symbol                = tokenSymbol;   // Set the symbol for display purposes.
        decimals              = decimalUnits;  // Amount of decimals for display purposes.
    }

    /* Internal transfer, only can be called by this contract. */
    function _transfer(address _from, address _to, uint _value) internal {
        require(_to != 0x0);                               // Prevent transfer to 0x0 address.
        require(balanceOf[_from] > _value);                // Check if the sender has enough.
        require(balanceOf[_to] + _value > balanceOf[_to]); // Check for overflows.
        balanceOf[_from] -= _value; // Subtract from the sender.
        balanceOf[_to]   += _value; // Add the same to the recipient.
        Transfer(_from, _to, _value); // Notifies the blockchain about the transfer.
    }

    /// @notice Send `_value` tokens to `_to` from your account.
    /// @param _to The address of the recipient.
    /// @param _value The amount to send.
    function transfer(address _to, uint256 _value) public {
        _transfer(msg.sender, _to, _value);
    }

    /// @notice Send `_value` tokens to `_to` in behalf of `_from`.
    /// @param _from The address of the sender.
    /// @param _to The address of the recipient.
    /// @param _value The amount to send.
    function transferFrom(address _from, address _to, uint256 _value) public returns (bool success) {
        require(_value <= allowance[_from][msg.sender]); // Check allowance.
        allowance[_from][msg.sender] -= _value; // Updates the allowance array, substracting the amount sent.
        _transfer(_from, _to, _value); // Makes the transfer.
        return true;
    }

    /// @notice Allows `_spender` to spend a maximum of `_value` tokens in your behalf.
    /// @param _spender The address authorized to spend.
    /// @param _value The max amount they can spend.
    function approve(address _spender, uint256 _value) public returns (bool success) {
        allowance[msg.sender][_spender] = _value; // Adds a new register to allowance, permiting _spender to use _value of your tokens.
        return true;
    }
}

contract HormitechToken is owned, token {
    /* Specific token definition for -HormitechToken-. */
    uint256 public sellPrice         = 5000000000000000;  // Price applied if someone wants to sell a token.
    uint256 public buyPrice          = 10000000000000000; // Price applied if someone wants to buy a token.
    bool    public closeBuy          = false;             // If true, nobody will be able to buy.
    bool    public closeSell         = false;             // If true, nobody will be able to sell.
    uint256 public tokensAvailable   = balanceOf[this];   // Number of tokens available for sell.
    uint256 public solvency          = this.balance;      // Amount of Ether available to pay sales.
    uint256 public profit            = 0;                 // Shows the actual profit for the company.
    address public comisionGetter = 0xCd8bf69ad65c5158F0cfAA599bBF90d7f4b52Bb0; // The address that gets the comisions paid.
    mapping (address => bool) public frozenAccount; // Array containing foreach address if it's frozen or not.

    /* This generates a public event on the blockchain that will notify about an address being freezed. */
    event FrozenFunds(address target, bool frozen);
    /* This generates a public event on the blockchain that will notify about an addition of Ether to the contract. */
    event LogDeposit(address sender, uint amount);
    /* This generates a public event on the blockchain that will notify about a Withdrawal of Ether from the contract. */
    event LogWithdrawal(address receiver, uint amount);

    /* Initializes the contract */
    function HormitechToken(uint256 initialSupply, string tokenName, uint8 decimalUnits, string tokenSymbol) public token (initialSupply, tokenName, decimalUnits, tokenSymbol) {}

    /* Internal transfer, only can be called by this contract */
    function _transfer(address _from, address _to, uint _value) internal {
        require(_to != 0x0);                               // Prevent transfer to 0x0 address.
        require(balanceOf[_from] >= _value);               // Check if the sender has enough.
        require(balanceOf[_to] + _value > balanceOf[_to]); // Check for overflows.
        require(!frozenAccount[_from]);                    // Check if sender is frozen.
        require(!frozenAccount[_to]);                      // Check if recipient is frozen.
		balanceOf[_from] -= _value; // Subtracts _value tokens from the sender.
        balanceOf[_to]   += _value; // Adds the same amount to the recipient.
        _updateTokensAvailable(balanceOf[this]); // Update the balance of tokens available if necessary.
        Transfer(_from, _to, _value); // Notifies the blockchain about the transfer.
    }

    function refillTokens(uint256 _value) public onlyOwner{
        // Owner sends tokens to the contract.
        _transfer(msg.sender, this, _value);
    }

    /* Overrides basic transfer function due to comision value */
    function transfer(address _to, uint256 _value) public {
    	// This function requires a comision value of 0.4% of the market value.
        uint market_value = _value * sellPrice;
        uint comision = market_value * 4 / 1000;
        // The token smart-contract pays comision, else the transfer is not possible.
        require(this.balance >= comision);
        comisionGetter.transfer(comision); // Transfers comision to the comisionGetter.
        _transfer(msg.sender, _to, _value);
    }

    /* Overrides basic transferFrom function due to comision value */
    function transferFrom(address _from, address _to, uint256 _value) public returns (bool success) {
        require(_value <= allowance[_from][msg.sender]); // Check allowance.
        // This function requires a comision value of 0.4% of the market value.
        uint market_value = _value * sellPrice;
        uint comision = market_value * 4 / 1000;
        // The token smart-contract pays comision, else the transfer is not possible.
        require(this.balance >= comision);
        comisionGetter.transfer(comision); // Transfers comision to the comisionGetter.
        allowance[_from][msg.sender] -= _value; // Updates the allowance array, substracting the amount sent.
        _transfer(_from, _to, _value); // Makes the transfer.
        return true;
    }

    /* Internal, updates the balance of tokens available. */
    function _updateTokensAvailable(uint256 _tokensAvailable) internal { tokensAvailable = _tokensAvailable; }

    /* Internal, updates the balance of Ether available in order to cover potential sales. */
    function _updateSolvency(uint256 _solvency) internal { solvency = _solvency; }

    /* Internal, updates the profit value */
    function _updateProfit(uint256 _increment, bool add) internal{
        if (add){
            // Increase the profit value
            profit = profit + _increment;
        }else{
            // Decrease the profit value
            if(_increment > profit){ profit = 0; }
            else{ profit = profit - _increment; }
        }
    }

    /// @notice Create `mintedAmount` tokens and send it to `target`.
    /// @param target Address to receive the tokens.
    /// @param mintedAmount The amount of tokens target will receive.
    function mintToken(address target, uint256 mintedAmount) onlyOwner public {
        balanceOf[target] += mintedAmount; // Updates target's balance.
        totalSupply       += mintedAmount; // Updates totalSupply.
        _updateTokensAvailable(balanceOf[this]); // Update the balance of tokens available if necessary.
        Transfer(0, this, mintedAmount);      // Notifies the blockchain about the tokens created.
        Transfer(this, target, mintedAmount); // Notifies the blockchain about the transfer to target.
    }

    /// @notice `freeze? Prevent | Allow` `target` from sending & receiving tokens.
    /// @param target Address to be frozen.
    /// @param freeze Either to freeze target or not.
    function freezeAccount(address target, bool freeze) onlyOwner public {
        frozenAccount[target] = freeze; // Sets the target status. True if it's frozen, False if it's not.
        FrozenFunds(target, freeze); // Notifies the blockchain about the change of state.
    }

    /// @notice Allow addresses to pay `newBuyPrice`ETH when buying and receive `newSellPrice`ETH when selling, foreach token bought/sold.
    /// @param newSellPrice Price applied when an address sells its tokens, amount in WEI (1ETH = 10¹⁸WEI).
    /// @param newBuyPrice Price applied when an address buys tokens, amount in WEI (1ETH = 10¹⁸WEI).
    function setPrices(uint256 newSellPrice, uint256 newBuyPrice) onlyOwner public {
        sellPrice = newSellPrice; // Updates the buying price.
        buyPrice = newBuyPrice;   // Updates the selling price.
    }

    /// @notice Sets the state of buy and sell operations
    /// @param isClosedBuy True if buy operations are closed, False if opened.
    /// @param isClosedSell True if sell operations are closed, False if opened.
    function setStatus(bool isClosedBuy, bool isClosedSell) onlyOwner public {
        closeBuy = isClosedBuy;   // Updates the state of buy operations.
        closeSell = isClosedSell; // Updates the state of sell operations.
    }

    /// @notice Deposits Ether to the contract
    function deposit() payable public returns(bool success) {
        require((this.balance + msg.value) > this.balance); // Checks for overflows.
        //Contract has already received the Ether when this function is executed.
        _updateSolvency(this.balance);   // Updates the solvency value of the contract.
        _updateProfit(msg.value, false); // Decrease profit value.
        // Decrease because deposits will be done mostly by the owner.
        // Possible donations won't count as profit for the company, but in favor of the investors.
        LogDeposit(msg.sender, msg.value); // Notifies the blockchain about the Ether received.
        return true;
    }

    /// @notice The owner withdraws Ether from the contract.
    /// @param amountInWeis Amount of ETH in WEI which will be withdrawed.
    function withdraw(uint amountInWeis) onlyOwner public {
        LogWithdrawal(msg.sender, amountInWeis); // Notifies the blockchain about the withdrawal.
        _updateSolvency( (this.balance - amountInWeis) ); // Updates the solvency value of the contract.
        _updateProfit(amountInWeis, true);                // Increase the profit value.
        owner.transfer(amountInWeis); // Sends the Ether to owner address.
    }

    /// @notice Buy tokens from contract by sending Ether.
    function buy() public payable {
        require(!closeBuy); //Buy operations must be opened
        uint amount = msg.value / buyPrice; //Calculates the amount of tokens to be sent
        uint market_value = amount * buyPrice; //Market value for this amount
        uint comision = market_value * 4 / 1000; //Calculates the comision for this transaction
        uint profit_in_transaction = market_value - (amount * sellPrice) - comision; //Calculates the relative profit for this transaction
        require(this.balance >= comision); //The token smart-contract pays comision, else the operation is not possible.
        comisionGetter.transfer(comision); //Transfers comision to the comisionGetter.
        _transfer(this, msg.sender, amount); //Makes the transfer of tokens.
        _updateSolvency((this.balance - profit_in_transaction)); //Updates the solvency value of the contract.
        _updateProfit(profit_in_transaction, true); //Increase the profit value.
        owner.transfer(profit_in_transaction); //Sends profit to the owner of the contract.
    }

    /// @notice Sell `amount` tokens to the contract.
    /// @param amount amount of tokens to be sold.
    function sell(uint256 amount) public {
        require(!closeSell); //Sell operations must be opened
        uint market_value = amount * sellPrice; //Market value for this amount
        uint comision = market_value * 4 / 1000; //Calculates the comision for this transaction
        uint amount_weis = market_value + comision; //Total in weis that must be paid
        require(this.balance >= amount_weis); //Contract must have enough weis
        comisionGetter.transfer(comision); //Transfers comision to the comisionGetter
        _transfer(msg.sender, this, amount); //Makes the transfer of tokens, the contract receives the tokens.
        _updateSolvency( (this.balance - amount_weis) ); //Updates the solvency value of the contract.
        msg.sender.transfer(market_value); //Sends Ether to the seller.
    }

    /// Default function, sender buys tokens by sending ether to the contract:
    function () public payable { buy(); }
}

Contract Security Audit

Contract ABI

[{"constant":false,"inputs":[{"name":"newSellPrice","type":"uint256"},{"name":"newBuyPrice","type":"uint256"}],"name":"setPrices","outputs":[],"payable":false,"stateMutability":"nonpayable","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":"_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":false,"inputs":[{"name":"amountInWeis","type":"uint256"}],"name":"withdraw","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"sellPrice","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"comisionGetter","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"tokensAvailable","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"profit","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"balanceOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"solvency","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"target","type":"address"},{"name":"mintedAmount","type":"uint256"}],"name":"mintToken","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_value","type":"uint256"}],"name":"refillTokens","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"buyPrice","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":"buy","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transfer","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"isClosedBuy","type":"bool"},{"name":"isClosedSell","type":"bool"}],"name":"setStatus","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"frozenAccount","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"closeSell","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"closeBuy","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"deposit","outputs":[{"name":"success","type":"bool"}],"payable":true,"stateMutability":"payable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"},{"name":"","type":"address"}],"name":"allowance","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"amount","type":"uint256"}],"name":"sell","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"target","type":"address"},{"name":"freeze","type":"bool"}],"name":"freezeAccount","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"inputs":[{"name":"initialSupply","type":"uint256"},{"name":"tokenName","type":"string"},{"name":"decimalUnits","type":"uint8"},{"name":"tokenSymbol","type":"string"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"anonymous":false,"inputs":[{"indexed":false,"name":"target","type":"address"},{"indexed":false,"name":"frozen","type":"bool"}],"name":"FrozenFunds","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"sender","type":"address"},{"indexed":false,"name":"amount","type":"uint256"}],"name":"LogDeposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"receiver","type":"address"},{"indexed":false,"name":"amount","type":"uint256"}],"name":"LogWithdrawal","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"}]

606060409081526611c37937e08000600755662386f26fc100006008556009805461ffff19169055600160a060020a0330166000818152600560205291822054600a5531600b55600c55600d8054600160a060020a03191673cd8bf69ad65c5158f0cfaa599bbf90d7f4b52bb0179055341561007a57600080fd5b604051620010c6380380620010c683398101604052808051919060200180518201919060200180519190602001805160008054600160a060020a033316600160a060020a0319909116811782558152600560205260409020869055600486905590910190508383838360018380516100f692916020019061012c565b50600281805161010a92916020019061012c565b50506003805460ff191660ff92909216919091179055506101c7945050505050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061016d57805160ff191683800117855561019a565b8280016001018555821561019a579182015b8281111561019a57825182559160200191906001019061017f565b506101a69291506101aa565b5090565b6101c491905b808211156101a657600081556001016101b0565b90565b610eef80620001d76000396000f3006060604052600436106101745763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166305fefda7811461017e57806306fdde0314610197578063095ea7b31461022157806318160ddd1461025757806323b872dd1461027c5780632e1a7d4d146102a4578063313ce567146102ba5780634b750334146102e35780635c4fb1c5146102f657806360659a921461032557806366d16cc31461033857806370a082311461034b578063773c50491461036a57806379c650681461037d5780637ef5b6ea1461039f5780638620410b146103b55780638da5cb5b146103c857806395d89b41146103db578063a6f2ae3a14610174578063a9059cbb146103ee578063b3c2eac114610410578063b414d4b61461042d578063ba83c9701461044c578063c6ab5cdc1461045f578063d0e30db014610472578063dd62ed3e1461047a578063e4849b321461049f578063e724529c146104b5578063f2fde38b146104d9575b61017c6104f8565b005b341561018957600080fd5b61017c6004356024356105ef565b34156101a257600080fd5b6101aa610615565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156101e65780820151838201526020016101ce565b50505050905090810190601f1680156102135780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561022c57600080fd5b610243600160a060020a03600435166024356106b3565b604051901515815260200160405180910390f35b341561026257600080fd5b61026a6106e3565b60405190815260200160405180910390f35b341561028757600080fd5b610243600160a060020a03600435811690602435166044356106e9565b34156102af57600080fd5b61017c6004356107c0565b34156102c557600080fd5b6102cd610875565b60405160ff909116815260200160405180910390f35b34156102ee57600080fd5b61026a61087e565b341561030157600080fd5b610309610884565b604051600160a060020a03909116815260200160405180910390f35b341561033057600080fd5b61026a610893565b341561034357600080fd5b61026a610899565b341561035657600080fd5b61026a600160a060020a036004351661089f565b341561037557600080fd5b61026a6108b1565b341561038857600080fd5b61017c600160a060020a03600435166024356108b7565b34156103aa57600080fd5b61017c600435610995565b34156103c057600080fd5b61026a6109bb565b34156103d357600080fd5b6103096109c1565b34156103e657600080fd5b6101aa6109d0565b34156103f957600080fd5b61017c600160a060020a0360043516602435610a3b565b341561041b57600080fd5b61017c60043515156024351515610a9e565b341561043857600080fd5b610243600160a060020a0360043516610adc565b341561045757600080fd5b610243610af1565b341561046a57600080fd5b610243610aff565b610243610b08565b341561048557600080fd5b61026a600160a060020a0360043581169060243516610b8c565b34156104aa57600080fd5b61017c600435610ba9565b34156104c057600080fd5b61017c600160a060020a03600435166024351515610c75565b34156104e457600080fd5b61017c600160a060020a0360043516610d01565b60095460009081908190819060ff161561051157600080fd5b6008543481151561051e57fe5b6008549190049450840292506103e86004840204915081600754850284030390508130600160a060020a0316311015151561055857600080fd5b600d54600160a060020a031682156108fc0283604051600060405180830381858888f19350505050151561058b57600080fd5b610596303386610d4b565b6105ab8130600160a060020a03163103610e84565b6105b6816001610e89565b600054600160a060020a031681156108fc0282604051600060405180830381858888f1935050505015156105e957600080fd5b50505050565b60005433600160a060020a0390811691161461060a57600080fd5b600791909155600855565b60018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156106ab5780601f10610680576101008083540402835291602001916106ab565b820191906000526020600020905b81548152906001019060200180831161068e57829003601f168201915b505050505081565b600160a060020a033381166000908152600660209081526040808320938616835292905220819055600192915050565b60045481565b600160a060020a038084166000908152600660209081526040808320339094168352929052908120548190819084111561072257600080fd5b505060075482026103e8600482020430600160a060020a0316318190101561074957600080fd5b600d54600160a060020a031681156108fc0282604051600060405180830381858888f19350505050151561077c57600080fd5b600160a060020a03808716600090815260066020908152604080832033909416835292905220805485900390556107b4868686610d4b565b50600195945050505050565b60005433600160a060020a039081169116146107db57600080fd5b7fb4214c8c54fc7442f36d3682f59aebaf09358a4431835b30efb29d52cf9e1e913382604051600160a060020a03909216825260208201526040908101905180910390a16108348130600160a060020a03163103610e84565b61083f816001610e89565b600054600160a060020a031681156108fc0282604051600060405180830381858888f19350505050151561087257600080fd5b50565b60035460ff1681565b60075481565b600d54600160a060020a031681565b600a5481565b600c5481565b60056020526000908152604090205481565b600b5481565b60005433600160a060020a039081169116146108d257600080fd5b600160a060020a038083166000908152600560205260408082208054850190556004805485019055309092168152205461090b90610ebe565b30600160a060020a031660007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405190815260200160405180910390a381600160a060020a031630600160a060020a03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405190815260200160405180910390a35050565b60005433600160a060020a039081169116146109b057600080fd5b610872333083610d4b565b60085481565b600054600160a060020a031681565b60028054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156106ab5780601f10610680576101008083540402835291602001916106ab565b60075481026103e8600482020430600160a060020a03163181901015610a6057600080fd5b600d54600160a060020a031681156108fc0282604051600060405180830381858888f193505050501515610a9357600080fd5b6105e9338585610d4b565b60005433600160a060020a03908116911614610ab957600080fd5b6009805460ff19169215159290921761ff00191661010091151591909102179055565b600e6020526000908152604090205460ff1681565b600954610100900460ff1681565b60095460ff1681565b6000600160a060020a03301680319031340111610b2457600080fd5b610b3730600160a060020a031631610e84565b610b42346000610e89565b7f1b851e1031ef35a238e6c67d0c7991162390df915f70eaf9098dbf0b175a61983334604051600160a060020a03909216825260208201526040908101905180910390a150600190565b600660209081526000928352604080842090915290825290205481565b60095460009081908190610100900460ff1615610bc557600080fd5b5050600754820290506103e8600482020480820130600160a060020a03163181901015610bf157600080fd5b600d54600160a060020a031682156108fc0283604051600060405180830381858888f193505050501515610c2457600080fd5b610c2f333086610d4b565b610c448130600160a060020a03163103610e84565b600160a060020a03331683156108fc0284604051600060405180830381858888f1935050505015156105e957600080fd5b60005433600160a060020a03908116911614610c9057600080fd5b600160a060020a0382166000908152600e602052604090819020805460ff19168315151790557f48335238b4855f35377ed80f164e8c6f3c366e54ac00b96a6402d4a9814a03a5908390839051600160a060020a039092168252151560208201526040908101905180910390a15050565b60005433600160a060020a03908116911614610d1c57600080fd5b6000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600160a060020a0382161515610d6057600080fd5b600160a060020a03831660009081526005602052604090205481901015610d8657600080fd5b600160a060020a03821660009081526005602052604090205481810111610dac57600080fd5b600160a060020a0383166000908152600e602052604090205460ff1615610dd257600080fd5b600160a060020a0382166000908152600e602052604090205460ff1615610df857600080fd5b600160a060020a038084166000908152600560205260408082208054859003905584831682528082208054850190553090921681522054610e3890610ebe565b81600160a060020a031683600160a060020a03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405190815260200160405180910390a3505050565b600b55565b8015610e9c57600c805483019055610eba565b600c54821115610eb0576000600c55610eba565b600c805483900390555b5050565b600a555600a165627a7a7230582030b0dc59feefb952bf8d1dbe0821af7a01fbf2d9980afb2a46152137cfea050a00290000000000000000000000000000000000000000000000000000000000030d400000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000009486f726d697465636800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003484f520000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x6060604052600436106101745763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166305fefda7811461017e57806306fdde0314610197578063095ea7b31461022157806318160ddd1461025757806323b872dd1461027c5780632e1a7d4d146102a4578063313ce567146102ba5780634b750334146102e35780635c4fb1c5146102f657806360659a921461032557806366d16cc31461033857806370a082311461034b578063773c50491461036a57806379c650681461037d5780637ef5b6ea1461039f5780638620410b146103b55780638da5cb5b146103c857806395d89b41146103db578063a6f2ae3a14610174578063a9059cbb146103ee578063b3c2eac114610410578063b414d4b61461042d578063ba83c9701461044c578063c6ab5cdc1461045f578063d0e30db014610472578063dd62ed3e1461047a578063e4849b321461049f578063e724529c146104b5578063f2fde38b146104d9575b61017c6104f8565b005b341561018957600080fd5b61017c6004356024356105ef565b34156101a257600080fd5b6101aa610615565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156101e65780820151838201526020016101ce565b50505050905090810190601f1680156102135780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561022c57600080fd5b610243600160a060020a03600435166024356106b3565b604051901515815260200160405180910390f35b341561026257600080fd5b61026a6106e3565b60405190815260200160405180910390f35b341561028757600080fd5b610243600160a060020a03600435811690602435166044356106e9565b34156102af57600080fd5b61017c6004356107c0565b34156102c557600080fd5b6102cd610875565b60405160ff909116815260200160405180910390f35b34156102ee57600080fd5b61026a61087e565b341561030157600080fd5b610309610884565b604051600160a060020a03909116815260200160405180910390f35b341561033057600080fd5b61026a610893565b341561034357600080fd5b61026a610899565b341561035657600080fd5b61026a600160a060020a036004351661089f565b341561037557600080fd5b61026a6108b1565b341561038857600080fd5b61017c600160a060020a03600435166024356108b7565b34156103aa57600080fd5b61017c600435610995565b34156103c057600080fd5b61026a6109bb565b34156103d357600080fd5b6103096109c1565b34156103e657600080fd5b6101aa6109d0565b34156103f957600080fd5b61017c600160a060020a0360043516602435610a3b565b341561041b57600080fd5b61017c60043515156024351515610a9e565b341561043857600080fd5b610243600160a060020a0360043516610adc565b341561045757600080fd5b610243610af1565b341561046a57600080fd5b610243610aff565b610243610b08565b341561048557600080fd5b61026a600160a060020a0360043581169060243516610b8c565b34156104aa57600080fd5b61017c600435610ba9565b34156104c057600080fd5b61017c600160a060020a03600435166024351515610c75565b34156104e457600080fd5b61017c600160a060020a0360043516610d01565b60095460009081908190819060ff161561051157600080fd5b6008543481151561051e57fe5b6008549190049450840292506103e86004840204915081600754850284030390508130600160a060020a0316311015151561055857600080fd5b600d54600160a060020a031682156108fc0283604051600060405180830381858888f19350505050151561058b57600080fd5b610596303386610d4b565b6105ab8130600160a060020a03163103610e84565b6105b6816001610e89565b600054600160a060020a031681156108fc0282604051600060405180830381858888f1935050505015156105e957600080fd5b50505050565b60005433600160a060020a0390811691161461060a57600080fd5b600791909155600855565b60018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156106ab5780601f10610680576101008083540402835291602001916106ab565b820191906000526020600020905b81548152906001019060200180831161068e57829003601f168201915b505050505081565b600160a060020a033381166000908152600660209081526040808320938616835292905220819055600192915050565b60045481565b600160a060020a038084166000908152600660209081526040808320339094168352929052908120548190819084111561072257600080fd5b505060075482026103e8600482020430600160a060020a0316318190101561074957600080fd5b600d54600160a060020a031681156108fc0282604051600060405180830381858888f19350505050151561077c57600080fd5b600160a060020a03808716600090815260066020908152604080832033909416835292905220805485900390556107b4868686610d4b565b50600195945050505050565b60005433600160a060020a039081169116146107db57600080fd5b7fb4214c8c54fc7442f36d3682f59aebaf09358a4431835b30efb29d52cf9e1e913382604051600160a060020a03909216825260208201526040908101905180910390a16108348130600160a060020a03163103610e84565b61083f816001610e89565b600054600160a060020a031681156108fc0282604051600060405180830381858888f19350505050151561087257600080fd5b50565b60035460ff1681565b60075481565b600d54600160a060020a031681565b600a5481565b600c5481565b60056020526000908152604090205481565b600b5481565b60005433600160a060020a039081169116146108d257600080fd5b600160a060020a038083166000908152600560205260408082208054850190556004805485019055309092168152205461090b90610ebe565b30600160a060020a031660007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405190815260200160405180910390a381600160a060020a031630600160a060020a03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405190815260200160405180910390a35050565b60005433600160a060020a039081169116146109b057600080fd5b610872333083610d4b565b60085481565b600054600160a060020a031681565b60028054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156106ab5780601f10610680576101008083540402835291602001916106ab565b60075481026103e8600482020430600160a060020a03163181901015610a6057600080fd5b600d54600160a060020a031681156108fc0282604051600060405180830381858888f193505050501515610a9357600080fd5b6105e9338585610d4b565b60005433600160a060020a03908116911614610ab957600080fd5b6009805460ff19169215159290921761ff00191661010091151591909102179055565b600e6020526000908152604090205460ff1681565b600954610100900460ff1681565b60095460ff1681565b6000600160a060020a03301680319031340111610b2457600080fd5b610b3730600160a060020a031631610e84565b610b42346000610e89565b7f1b851e1031ef35a238e6c67d0c7991162390df915f70eaf9098dbf0b175a61983334604051600160a060020a03909216825260208201526040908101905180910390a150600190565b600660209081526000928352604080842090915290825290205481565b60095460009081908190610100900460ff1615610bc557600080fd5b5050600754820290506103e8600482020480820130600160a060020a03163181901015610bf157600080fd5b600d54600160a060020a031682156108fc0283604051600060405180830381858888f193505050501515610c2457600080fd5b610c2f333086610d4b565b610c448130600160a060020a03163103610e84565b600160a060020a03331683156108fc0284604051600060405180830381858888f1935050505015156105e957600080fd5b60005433600160a060020a03908116911614610c9057600080fd5b600160a060020a0382166000908152600e602052604090819020805460ff19168315151790557f48335238b4855f35377ed80f164e8c6f3c366e54ac00b96a6402d4a9814a03a5908390839051600160a060020a039092168252151560208201526040908101905180910390a15050565b60005433600160a060020a03908116911614610d1c57600080fd5b6000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600160a060020a0382161515610d6057600080fd5b600160a060020a03831660009081526005602052604090205481901015610d8657600080fd5b600160a060020a03821660009081526005602052604090205481810111610dac57600080fd5b600160a060020a0383166000908152600e602052604090205460ff1615610dd257600080fd5b600160a060020a0382166000908152600e602052604090205460ff1615610df857600080fd5b600160a060020a038084166000908152600560205260408082208054859003905584831682528082208054850190553090921681522054610e3890610ebe565b81600160a060020a031683600160a060020a03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405190815260200160405180910390a3505050565b600b55565b8015610e9c57600c805483019055610eba565b600c54821115610eb0576000600c55610eba565b600c805483900390555b5050565b600a555600a165627a7a7230582030b0dc59feefb952bf8d1dbe0821af7a01fbf2d9980afb2a46152137cfea050a0029

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

0000000000000000000000000000000000000000000000000000000000030d400000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000009486f726d697465636800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003484f520000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : initialSupply (uint256): 200000
Arg [1] : tokenName (string): Hormitech
Arg [2] : decimalUnits (uint8): 0
Arg [3] : tokenSymbol (string): HOR

-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000030d40
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [3] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000009
Arg [5] : 486f726d69746563680000000000000000000000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [7] : 484f520000000000000000000000000000000000000000000000000000000000


Swarm Source

bzzr://30b0dc59feefb952bf8d1dbe0821af7a01fbf2d9980afb2a46152137cfea050a
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.