Contract 0x08a2246DCB48DB6a5a9e1F6bC082752FCEDdD106

 

TxHash Block Age From To Value [TxFee]
0x3c2860f641cbb4e1f9e64dad7666ef15d50ce706436ef1c632172e4a4a0cb08874002515 hrs 5 mins ago0xe4d10e792009916744dca0445ac826174c9ee39b IN  0x08a2246dcb48db6a5a9e1f6bc082752fceddd1060 Ether0.000348408
0xa51b115a0c958a1832cffa1acb6d6b5891c36c8dc71f0aba2bdfcaf8a2c6a17773994078 hrs 20 mins ago0xface7017d797dfbf435d2a9b101c6331ae1e2347 IN  0x08a2246dcb48db6a5a9e1f6bc082752fceddd1060 Ether0.0003826152
0x03c07b1ea126067d7e469b41a9292fd5b893e1f6d5f36722881c5c9e7050eb5373993998 hrs 21 mins ago0xee5f00a94ef58831fb5e133d1ca87c8928a1673f IN  0x08a2246dcb48db6a5a9e1f6bc082752fceddd1060 Ether0.0003826152
0xfcd2777c88a889afd63f3623de8d87d1089eb34a62370c8b11a5f17a4f1a4eef73993978 hrs 22 mins ago0x1165463ece746fac4af9089deda9a9b79c27a8f8 IN  0x08a2246dcb48db6a5a9e1f6bc082752fceddd1060 Ether0.0003826152
0x6ce3bd4e1ce3da9061dafe50df7001831ce1de7d58e08ce7db2285dbf6bb4afc73993958 hrs 22 mins ago0xface7017d797dfbf435d2a9b101c6331ae1e2347 IN  0x08a2246dcb48db6a5a9e1f6bc082752fceddd1060 Ether0.0003819816
0x1f99c72741f21525f26197c94e609ae28b2da4d80520b94d52aaaa2be5d702ce73993648 hrs 29 mins ago0x1165463ece746fac4af9089deda9a9b79c27a8f8 IN  0x08a2246dcb48db6a5a9e1f6bc082752fceddd1060 Ether0.0002550768
0xfb970946a42c00c082402ba7921b85c821e29a0c5cc32741b6db8811792a6de373993648 hrs 29 mins ago0xee5f00a94ef58831fb5e133d1ca87c8928a1673f IN  0x08a2246dcb48db6a5a9e1f6bc082752fceddd1060 Ether0.0002550768
0x80f55d0e34dc49afb62bf0d6a68439273b6c2a3787e8ce05e3f5df8c4d26c55173993318 hrs 35 mins ago0xee5f00a94ef58831fb5e133d1ca87c8928a1673f IN  0x08a2246dcb48db6a5a9e1f6bc082752fceddd1060 Ether0.0003826152
0x9a15f37ef19f4b1ed7858216e7fb83f94bda2b6a9eb4072f2574d356159e1c5173993318 hrs 35 mins ago0xface7017d797dfbf435d2a9b101c6331ae1e2347 IN  0x08a2246dcb48db6a5a9e1f6bc082752fceddd1060 Ether0.0003826152
0x94b1eff3ec04000d2bd3b83678fd7a01690770cd5776536a9a83f7a40df4923f73992958 hrs 42 mins ago0x1165463ece746fac4af9089deda9a9b79c27a8f8 IN  0x08a2246dcb48db6a5a9e1f6bc082752fceddd1060 Ether0.0003826152
0x8410b00732097238e74bd9f6172a4e238cee975ef16f7b8f39e83e11a15bda8073992738 hrs 48 mins ago0xface7017d797dfbf435d2a9b101c6331ae1e2347 IN  0x08a2246dcb48db6a5a9e1f6bc082752fceddd1060 Ether0.0003540768
0x68f79d8560c8f028f6b4febd21c2923bb3daae5e3389ad1e29694d7c02ee790a73991629 hrs 14 mins ago0x1e102b46547ebd218546be895b09a7971a98c9d9 IN  0x08a2246dcb48db6a5a9e1f6bc082752fceddd1060 Ether0.000425832
0x6d3056d9e733cef3d45baf04ef9b57bcaca54b959ebbd40c462187ebcd95055873991139 hrs 24 mins ago0xc353d80ead556732cae4f804f034a4d6d8336f9b IN  0x08a2246dcb48db6a5a9e1f6bc082752fceddd1060 Ether0.0003832488
0x8941bf471835c8b696f4f4393b4b921c5458b20b5de4a2ff51752eb7a782cf6373990849 hrs 31 mins ago0x1165463ece746fac4af9089deda9a9b79c27a8f8 IN  0x08a2246dcb48db6a5a9e1f6bc082752fceddd1060 Ether0.0003826152
0x77e7ee490dd4b15ff665f4ad12bd07efb821f82e8cbc05bcf3fad58dedcd66ac73990849 hrs 31 mins ago0xee5f00a94ef58831fb5e133d1ca87c8928a1673f IN  0x08a2246dcb48db6a5a9e1f6bc082752fceddd1060 Ether0.0003826152
0x925226ed10951536810e610b820e64f927e43408b874088dca2ec8d6848afcbd73990599 hrs 38 mins ago0xface7017d797dfbf435d2a9b101c6331ae1e2347 IN  0x08a2246dcb48db6a5a9e1f6bc082752fceddd1060 Ether0.0003832488
0xfb0c8e9c9b40938285ab1b4014af2a2c4ec8c4c48588aa1748860df32f3e35e573989759 hrs 55 mins ago0x0c2245d536a486393fdfdc3a946f6c48a3539d92 IN  0x08a2246dcb48db6a5a9e1f6bc082752fceddd1060 Ether0.0001703328
0x5762e415b6271822ad79e524e362d90b2cef312eb383ae3da72278c8bd8002b1739893910 hrs 4 mins ago0xee5f00a94ef58831fb5e133d1ca87c8928a1673f IN  0x08a2246dcb48db6a5a9e1f6bc082752fceddd1060 Ether0.0002360512
0x7b0406ffc816b24102f9d43e28edd62d940c27c5178465808be737c6c78802d4739869510 hrs 58 mins ago0x3462e5a279eb720d0ead2afc81a05e95b72ea9f2 IN  0x08a2246dcb48db6a5a9e1f6bc082752fceddd1060 Ether0.000295064
0xc45a89bb0cd8449c8d25648f932c5bac23d0cd0ec1c3a9c77233a638375f7553739860911 hrs 19 mins ago0x1165463ece746fac4af9089deda9a9b79c27a8f8 IN  0x08a2246dcb48db6a5a9e1f6bc082752fceddd1060 Ether0.0002550768
0xb1737ebe41b65e7f358684330fd7586714ad2043261e694b3f9a366eb9990c32739860411 hrs 20 mins ago0xface7017d797dfbf435d2a9b101c6331ae1e2347 IN  0x08a2246dcb48db6a5a9e1f6bc082752fceddd1060 Ether0.0002975896
0xa4ff235a6eb59a6996d92c9e8b917a0907c02fa094b37a410a85191638e34026739857911 hrs 26 mins ago0xee5f00a94ef58831fb5e133d1ca87c8928a1673f IN  0x08a2246dcb48db6a5a9e1f6bc082752fceddd1060 Ether0.0002975896
0x3444b6267c42536b047eba63e6c23f349927a1f19f26ea893e7a84b37a483c4b739816112 hrs 59 mins ago0x1165463ece746fac4af9089deda9a9b79c27a8f8 IN  0x08a2246dcb48db6a5a9e1f6bc082752fceddd1060 Ether0.0002550768
0x2a6141574699acbd2d05e8d356b7adb77e668f6fdaf54e10aa9b6c01c6c679fc739814013 hrs 4 mins ago0xface7017d797dfbf435d2a9b101c6331ae1e2347 IN  0x08a2246dcb48db6a5a9e1f6bc082752fceddd1060 Ether0.00023807168
0x780270c0a4d5a34fae3ad6427f6ee736ba6f8a05faefe3a3b43bfb8346d59847739809013 hrs 14 mins ago0xee5f00a94ef58831fb5e133d1ca87c8928a1673f IN  0x08a2246dcb48db6a5a9e1f6bc082752fceddd1060 Ether0.0001700512
[ Download CSV Export 

Internal Transactions as a result of Contract Execution

Parent TxHash Block Age From To Value
Warning: The compiled contract might be susceptible to ExpExponentCleanup (medium/high-severity), EventStructWrongData (very low-severity) Solidity Compiler Bugs.

Contract Source Code Verified (Exact Match)

Contract Name:
City

Compiler Version
v0.4.24+commit.e67f0147

Optimization Enabled:
No

Runs (Optimizer):
200

Contract Source Code

pragma solidity ^0.4.21;


contract City {
    address public owner;
    string public name;
    string public symbol;
    uint8 public decimals = 18;
    uint256 public totalSupply;
    mapping (address => uint256) public balanceOf;
    mapping (address => bool) public frozenAccount;

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

    event FrozenFunds(address target, bool frozen);

    function City(uint256 initialSupply, string tokenName, string tokenSymbol) public{
        owner = msg.sender;
        totalSupply = initialSupply * 10 ** uint256(decimals);
        balanceOf[msg.sender] = totalSupply;
        name = tokenName;
        symbol = tokenSymbol;
    }

    function transfer(address _to, uint _value) public{
        address _from = msg.sender;
        require(!frozenAccount[_from]);
        require(_to != 0x0);
        require(balanceOf[_from] >= _value);
        require(balanceOf[_to] + _value > balanceOf[_to]);
        uint previousBalances = balanceOf[_from] + balanceOf[_to];
        balanceOf[_from] -= _value;
        balanceOf[_to] += _value;
        Transfer(_from, _to, _value);
        assert(balanceOf[_from] + balanceOf[_to] == previousBalances);
    }

    function freezeAccount(address target, bool freeze) public{
        require(msg.sender == owner);
        frozenAccount[target] = freeze;
        FrozenFunds(target, freeze);
    }
}

Contract ABI

[{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint8"}],"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":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transfer","outputs":[],"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":false,"inputs":[{"name":"target","type":"address"},{"name":"freeze","type":"bool"}],"name":"freezeAccount","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"inputs":[{"name":"initialSupply","type":"uint256"},{"name":"tokenName","type":"string"},{"name":"tokenSymbol","type":"string"}],"payable":false,"stateMutability":"nonpayable","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"},{"anonymous":false,"inputs":[{"indexed":false,"name":"target","type":"address"},{"indexed":false,"name":"frozen","type":"bool"}],"name":"FrozenFunds","type":"event"}]

Contract Creation Code

60806040526012600360006101000a81548160ff021916908360ff16021790555034801561002c57600080fd5b50604051610c27380380610c27833981018060405281019080805190602001909291908051820192919060200180518201929190505050336000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600360009054906101000a900460ff1660ff16600a0a8302600481905550600454600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816001908051906020019061011d92919061013d565b50806002908051906020019061013492919061013d565b505050506101e2565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061017e57805160ff19168380011785556101ac565b828001600101855582156101ac579182015b828111156101ab578251825591602001919060010190610190565b5b5090506101b991906101bd565b5090565b6101df91905b808211156101db5760008160009055506001016101c3565b5090565b90565b610a36806101f16000396000f300608060405260043610610099576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806306fdde031461009e57806318160ddd1461012e578063313ce5671461015957806370a082311461018a5780638da5cb5b146101e157806395d89b4114610238578063a9059cbb146102c8578063b414d4b614610315578063e724529c14610370575b600080fd5b3480156100aa57600080fd5b506100b36103bf565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156100f35780820151818401526020810190506100d8565b50505050905090810190601f1680156101205780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561013a57600080fd5b5061014361045d565b6040518082815260200191505060405180910390f35b34801561016557600080fd5b5061016e610463565b604051808260ff1660ff16815260200191505060405180910390f35b34801561019657600080fd5b506101cb600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610476565b6040518082815260200191505060405180910390f35b3480156101ed57600080fd5b506101f661048e565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561024457600080fd5b5061024d6104b3565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561028d578082015181840152602081019050610272565b50505050905090810190601f1680156102ba5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156102d457600080fd5b50610313600480360381019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610551565b005b34801561032157600080fd5b50610356600480360381019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506108c5565b604051808215151515815260200191505060405180910390f35b34801561037c57600080fd5b506103bd600480360381019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035151590602001909291905050506108e5565b005b60018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156104555780601f1061042a57610100808354040283529160200191610455565b820191906000526020600020905b81548152906001019060200180831161043857829003601f168201915b505050505081565b60045481565b600360009054906101000a900460ff1681565b60056020528060005260406000206000915090505481565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60028054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156105495780601f1061051e57610100808354040283529160200191610549565b820191906000526020600020905b81548152906001019060200180831161052c57829003601f168201915b505050505081565b600080339150600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161515156105b057600080fd5b60008473ffffffffffffffffffffffffffffffffffffffff16141515156105d657600080fd5b82600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541015151561062457600080fd5b600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205483600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054011115156106b257600080fd5b600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205401905082600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254039250508190555082600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef856040518082815260200191505060405180910390a380600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054011415156108bf57fe5b50505050565b60066020528060005260406000206000915054906101000a900460ff1681565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561094057600080fd5b80600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055507f48335238b4855f35377ed80f164e8c6f3c366e54ac00b96a6402d4a9814a03a58282604051808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001821515151581526020019250505060405180910390a150505600a165627a7a72305820e5412a76b9d53451dc062cef3dbf1c975664be283627618768de6d805ab43aed002900000000000000000000000000000000000000000000000000000002540be400000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000004434954590000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044349545900000000000000000000000000000000000000000000000000000000

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

00000000000000000000000000000000000000000000000000000002540be400000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000004434954590000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044349545900000000000000000000000000000000000000000000000000000000

-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000002540be400
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [4] : 4349545900000000000000000000000000000000000000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [6] : 4349545900000000000000000000000000000000000000000000000000000000

Swarm Source

bzzr://e5412a76b9d53451dc062cef3dbf1c975664be283627618768de6d805ab43aed
Block Age Transaction Difficulty GasUsed Reward
Block Age Uncle Number Difficulty GasUsed Reward
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.