Sponsored:   Ubex.com - Additional 17% of tokens are available for purchase! Trading on exchanges already started.
Contract Overview
Balance: 0 Ether
Ether Value: $0
Transactions: 12 txns
Token Tracker: ThanahCoin (THC)
Misc
Address Watch: Add To Watch List
Contract Creator: 0xcc2761db9b8a0bff3aef245e6d052401fa1bf478at txn 0x19e9e6295a9f7cae06d7a80ac41a205bbcf2e8b6bc2c815db1ade2c13b173dcd
Token Balances:
 Latest 12 txns

TxHash Age From To Value [TxFee]
0x695c2ef898cb237641daf820137cbbfd820293bc202db5d99534be67b3891307166 days 11 hrs ago0x756a9840a209b9cb03600d166652d0d560d07640  IN   0xc7b4cab2a65d1d70d3e418aa18c3cc2da4215ef60 Ether0.001081815
0x3f6f469bd7cf49c35b984ca06ddc046dcd2772c61139cef1bc43c4d92e017fc1167 days 8 hrs ago0x756a9840a209b9cb03600d166652d0d560d07640  IN   0xc7b4cab2a65d1d70d3e418aa18c3cc2da4215ef60 Ether0.001081815
0x3a875e6bb96ca1c44785762e60aae8d7137ce057a6151cf68623b04b2fc9efe4168 days 9 hrs ago0x756a9840a209b9cb03600d166652d0d560d07640  IN   0xc7b4cab2a65d1d70d3e418aa18c3cc2da4215ef60 Ether0.000768054
0xe0bb54b3c77ddd5cd2f7f0a4b75d9a3bbce2b3561347bdde62d240479047d58e168 days 9 hrs ago0x756a9840a209b9cb03600d166652d0d560d07640  IN   0xc7b4cab2a65d1d70d3e418aa18c3cc2da4215ef60 Ether0.001081815
0x5ffa63c86ed28053011903f60f3c1ff68eca08f5b0a95661f88bf32dc2b6a4a1265 days 17 hrs ago0x756a9840a209b9cb03600d166652d0d560d07640  IN   0xc7b4cab2a65d1d70d3e418aa18c3cc2da4215ef60 Ether0.000765366
0x5961725afde0f972bbb1898f2337172b62c8104f844442db2543ca902c43f121265 days 17 hrs ago0x756a9840a209b9cb03600d166652d0d560d07640  IN   0xc7b4cab2a65d1d70d3e418aa18c3cc2da4215ef60 Ether0.001081815
0x9037d497a443d2f504eac53830c6fd6d8f0e8cd6b8cb9e85063898cf0a26a976266 days 9 hrs ago0x756a9840a209b9cb03600d166652d0d560d07640  IN   0xc7b4cab2a65d1d70d3e418aa18c3cc2da4215ef60 Ether0.000765366
0x77e789527cb05225ec1d26de0b41d9936a0eb6a202d43a6f3d7043e67cf6a425266 days 9 hrs ago0x756a9840a209b9cb03600d166652d0d560d07640  IN   0xc7b4cab2a65d1d70d3e418aa18c3cc2da4215ef60 Ether0.001081815
0xbe254037c20ab24db3ba8e063ad35806c946e0505ecc63f68d9beff5cd387329278 days 10 hrs ago0x756a9840a209b9cb03600d166652d0d560d07640  IN   0xc7b4cab2a65d1d70d3e418aa18c3cc2da4215ef60 Ether0.000765366
0x61e2ee400d45c1221a953a475011fb13d53c5ff4c1d9fee7496b374da78b9423278 days 10 hrs ago0x756a9840a209b9cb03600d166652d0d560d07640  IN   0xc7b4cab2a65d1d70d3e418aa18c3cc2da4215ef60 Ether0.001396815
0xf69d62dd55158eae81f4057ac32870eaadb0fedf22c99743d154aa66b2d9eec2298 days 9 hrs ago0xcc2761db9b8a0bff3aef245e6d052401fa1bf478  IN   0xc7b4cab2a65d1d70d3e418aa18c3cc2da4215ef60 Ether0.000096515
0x19e9e6295a9f7cae06d7a80ac41a205bbcf2e8b6bc2c815db1ade2c13b173dcd298 days 9 hrs ago0xcc2761db9b8a0bff3aef245e6d052401fa1bf478  IN    Contract Creation0 Ether0.000541675
[ Download CSV Export  ] 
 Internal Transactions as a result of Contract Execution
View All
ParentTxHash Block Age From To Value
Warning: The compiled contract might be susceptible to ZeroFunctionSelector (very low-severity) Solidity compiler bugs.

Contract Source Code Verified (Exact match)
Contract Name: ThanahCoin
Compiler Version: v0.4.15+commit.bbb8e64f
Optimization Enabled: Yes
Runs (Optimiser):  200



  Contract Source Code   Find Similiar Contracts

pragma solidity ^0.4.15;

contract ThanahCoin {
    
    event Transfer(address indexed from, address indexed to, uint256 value);

    string public name;
    string public symbol;
    uint8 public decimals;

    uint public totalSupply;
    uint public availableSupply;
    mapping (address => uint256) public balanceOf;

    uint private lastBlock;    
    uint private coinsPerBlock;

    function ThanahCoin() {
        name = "ThanahCoin";
        symbol = "THC";
        decimals = 0;
        lastBlock = block.number;
        totalSupply = 0;
        availableSupply = 0;
        coinsPerBlock = 144;
    }

    function transfer(address _to, uint256 _value) {
        
        require(balanceOf[msg.sender] >= _value);
        require(balanceOf[_to] + _value >= balanceOf[_to]);

        balanceOf[msg.sender] -= _value;
        balanceOf[_to] += _value;

        Transfer(msg.sender, _to, _value);

    }

    function issue(address _to) {

        _mintCoins();

        uint issuedCoins = availableSupply / 100;

        availableSupply -= issuedCoins;
        balanceOf[_to] += issuedCoins;

        Transfer(0, _to, issuedCoins);

    }

    function _mintCoins() internal {

        uint elapsedBlocks = block.number - lastBlock;
        lastBlock = block.number;

        uint mintedCoins = elapsedBlocks * coinsPerBlock;

        totalSupply += mintedCoins;
        availableSupply += mintedCoins;

    }
}

    Contract ABI  
[{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint8"}],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"balanceOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"}],"name":"issue","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"availableSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transfer","outputs":[],"payable":false,"type":"function"},{"inputs":[],"payable":false,"type":"constructor"},{"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"}]

  Contract Creation Code Switch To Opcodes View
6060604052341561000f57600080fd5b5b60408051908101604052600a81527f5468616e6168436f696e00000000000000000000000000000000000000000000602082015260009080516100579291602001906100c3565b5060408051908101604052600381527f54484300000000000000000000000000000000000000000000000000000000006020820152600190805161009f9291602001906100c3565b506002805460ff19169055436006556000600381905560045560906007555b610163565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061010457805160ff1916838001178555610131565b82800160010185558215610131579182015b82811115610131578251825591602001919060010190610116565b5b5061013e929150610142565b5090565b61016091905b8082111561013e5760008155600101610148565b5090565b90565b61057a806101726000396000f3006060604052361561008b5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde03811461009057806318160ddd1461011b578063313ce5671461014057806370a082311461016957806371e928af1461019a5780637ecc2b56146101bb57806395d89b41146101e0578063a9059cbb1461026b575b600080fd5b341561009b57600080fd5b6100a361028f565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156100e05780820151818401525b6020016100c7565b50505050905090810190601f16801561010d5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561012657600080fd5b61012e61032d565b60405190815260200160405180910390f35b341561014b57600080fd5b610153610333565b60405160ff909116815260200160405180910390f35b341561017457600080fd5b61012e600160a060020a036004351661033c565b60405190815260200160405180910390f35b34156101a557600080fd5b6101b9600160a060020a036004351661034e565b005b34156101c657600080fd5b61012e6103c9565b60405190815260200160405180910390f35b34156101eb57600080fd5b6100a36103cf565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156100e05780820151818401525b6020016100c7565b50505050905090810190601f16801561010d5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561027657600080fd5b6101b9600160a060020a036004351660243561046d565b005b60008054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156103255780601f106102fa57610100808354040283529160200191610325565b820191906000526020600020905b81548152906001019060200180831161030857829003601f168201915b505050505081565b60035481565b60025460ff1681565b60056020526000908152604090205481565b6000610358610524565b6004546064905b6004805492909104918290039055600160a060020a03831660008181526005602052604080822080548501905592935090917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9084905190815260200160405180910390a35b5050565b60045481565b60018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156103255780601f106102fa57610100808354040283529160200191610325565b820191906000526020600020905b81548152906001019060200180831161030857829003601f168201915b505050505081565b600160a060020a0333166000908152600560205260409020548190101561049357600080fd5b600160a060020a03821660009081526005602052604090205481810110156104ba57600080fd5b600160a060020a033381166000818152600560205260408082208054869003905592851680825290839020805485019055917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9084905190815260200160405180910390a35b5050565b600680544391829055600754600380549290930390810291820190925560048054820190555b50505600a165627a7a72305820f834cc692ae311598065e1fda2dbf6c49ab82225f582f0c4f478f8e9e25cb5570029

   Swarm Source:
bzzr://f834cc692ae311598065e1fda2dbf6c49ab82225f582f0c4f478f8e9e25cb557

 

View All
Block Age txn Difficulty GasUsed Reward
View All
Block Age UncleNumber Difficulty GasUsed Reward
Make sure to use the "downvote" button for any spammy posts, and the "upvote" for interesting conversations.