Contract 0x1C61D42EFAFe3c627998f2d53D897DBFD99d7fF9 1

 

Contract Overview

Balance:
0 Ether

EtherValue:
$0.00

Token:
 
Txn Hash
Method
Block
From
To
Value
0xb3da34be82510a9c4b75bdf12dcad84770891d54b8a6959a95028b0f94840969Set90359462019-12-02 3:40:461101 days 5 hrs ago0x2b85cf38b64e42231c455c09b434169324e71e26 IN  0x1c61d42efafe3c627998f2d53d897dbfd99d7ff90 Ether0.000066721
0xdab10613454b42b641c4af4dcdcc600c9f3e0d9199f32e58df0fcf1bbe037551Set88186412019-10-27 1:00:501137 days 8 hrs ago0xc23c7c5c8315c1c281cceb2420be4d8f9d4cc29a IN  0x1c61d42efafe3c627998f2d53d897dbfd99d7ff90 Ether0.000066721
0x4c1a6b8e5495a3483b54a1e4854e8c8633377ea935a37a9fdcffec9e994ce62aSet87001872019-10-08 8:05:491156 days 1 hr agoENS Name blank.eth IN  0x1c61d42efafe3c627998f2d53d897dbfd99d7ff90 Ether0.000066661
0x2a58c16b9329de6114a1c3855939b8e5cf976d24781c2e2f41bb960871803559Set82071772019-07-23 13:19:331232 days 19 hrs ago0x7ca271ee2471982f3463e3040bdaf075900e374f IN  0x1c61d42efafe3c627998f2d53d897dbfd99d7ff90 Ether0.000066851
0x8fd86ccc1359e6c5363bd0a659028c4934cf13bbed8426e9033d16da4956c42fSet81633462019-07-16 17:55:511239 days 15 hrs ago0x8bb4f7f71a4a86e50c21f0a67c11dd05bb85a6bb IN  0x1c61d42efafe3c627998f2d53d897dbfd99d7ff90 Ether0.0017586420
0xca4312fb0ff6e19d344251ebb24aafebd765524d78807aab6ab1f8c23a99523bSet80406182019-06-27 14:57:141258 days 18 hrs ago0x91276fd2525976a1d0383636b31b274f38f90871 IN  0x1c61d42efafe3c627998f2d53d897dbfd99d7ff90 Ether0.00021476
0xbdb9ada74eabfb95631190b1c33fb7d305794c490dcce2864e86670ff8b17a48Set79823282019-06-18 12:37:141267 days 20 hrs ago0x24822a36767f8e70622ed800706141c3faeac326 IN  0x1c61d42efafe3c627998f2d53d897dbfd99d7ff90 Ether0.000149163
0xc26a0783dae5d3bc386f9f1944a4f8c6a5bc1136ae55ae542316e53d9eb06448Set79053842019-06-06 11:33:131279 days 21 hrs ago0x14559df3fbe66cab6f893d8dd53f7bfe68de9c65 IN  0x1c61d42efafe3c627998f2d53d897dbfd99d7ff90 Ether0.000406656.1
0xb48bd4c8ef919c90654dfa052124567d24ea48bdb919d3456b3e36dd59d68686Set78059562019-05-21 22:43:171295 days 10 hrs ago0x5325b1bb7375fe369fd9731234537944c807b102 IN  0x1c61d42efafe3c627998f2d53d897dbfd99d7ff90 Ether0.00005011
0x70d9a6a8a8d718a70a61590807044c986ff1bdb75c4d4927b5f1acbd3ab4ca9dSet77363682019-05-11 1:51:091306 days 7 hrs ago0xa77bd177a37dbcf25c4a23c8357372230e371e07 IN  0x1c61d42efafe3c627998f2d53d897dbfd99d7ff90 Ether0.000066661
0xb6039943c944454f3775c06edd5d2ca10d7d9586a69c7d1348589beef4b824c6Set76731982019-05-01 4:59:041316 days 4 hrs ago0x91276fd2525976a1d0383636b31b274f38f90871 IN  0x1c61d42efafe3c627998f2d53d897dbfd99d7ff90 Ether0.000174573
0xdb8bc02d06f356ad4f29a28de9a0665b3bd7863f0142564021794bbfada11b57Set75216472019-04-07 14:40:401339 days 18 hrs ago0xa064835e4a7269f326867db878d8d7836df66362 IN  0x1c61d42efafe3c627998f2d53d897dbfd99d7ff90 Ether0.00013322
0x709f6da8bcde2066aee42b0139161510104b001e305c060858aebf27c7daad80Set74244842019-03-23 10:48:131354 days 22 hrs ago0xa4e4477d290dd672d917aa2709e0125849bfd146 IN  0x1c61d42efafe3c627998f2d53d897dbfd99d7ff90 Ether0.000066791
0xa77f38c5ad5c88145704bbf85d8d406a3580eaa602330d94ecb9bbc777d6036aSet74112132019-03-21 9:01:401357 days 16 mins ago0x357ceb140dc2daa435fa704fe16f864bcf0147c5 IN  0x1c61d42efafe3c627998f2d53d897dbfd99d7ff90 Ether0.00010022
0xc2998364ec49f09b228859d5794d2d5ffedd2313b3fa2593225ff2444b58e74fSet74111612019-03-21 8:48:361357 days 29 mins ago0x357ceb140dc2daa435fa704fe16f864bcf0147c5 IN  0x1c61d42efafe3c627998f2d53d897dbfd99d7ff90 Ether0.000133842
0xee28c9c3a0cae0ae89f227f6e4b40881fcf1734122db3d72231d22300ea4a49fSet73490762019-03-11 17:00:251366 days 16 hrs ago0x569dc44572acace7fc76933f2117f4cbe7b3f435 IN  0x1c61d42efafe3c627998f2d53d897dbfd99d7ff90 Ether0.000133842
0x020a9f36f1ac6721ae7666e17549443406ef9ca1ad7567a88bd3c23f2e9f1c26Set73076452019-03-05 6:06:031373 days 3 hrs ago0xc48494efa9fa9ff3b713fb1371cc111d6a884a78 IN  0x1c61d42efafe3c627998f2d53d897dbfd99d7ff90 Ether0.000333645
0x7baf0ffd55b25565d7e69117502615ae1fdd2e795a6325e546ee02dba89a94deSet72850762019-03-01 17:14:411376 days 16 hrs ago0x5325b1bb7375fe369fd9731234537944c807b102 IN  0x1c61d42efafe3c627998f2d53d897dbfd99d7ff90 Ether0.000051381
0xf120cd6cb77412ae6a30115a0c6518a3a505d3b63d13dc1e1b0d2da6b5815b89Set72400202019-02-19 10:54:011386 days 22 hrs ago0x9f197e560c762134381ec9a2b99cc63fe7c2d539 IN  0x1c61d42efafe3c627998f2d53d897dbfd99d7ff90 Ether0.000536398
0x78f9287a0f33c2067a77662e492428fed84c3a034313ccc2a7f479babfd562cdSet72306592019-02-17 5:26:001389 days 3 hrs ago0xc9220184701a9ce4881a8bba3ad002b7e8f70199 IN  0x1c61d42efafe3c627998f2d53d897dbfd99d7ff90 Ether0.00033465
0xc77ac14fb2ed140f5db867b3d91e2ddc00877ab5935b98c74ddac46c418af204Set72211612019-02-14 23:02:361391 days 10 hrs ago0xd9cc93af3954f352cda20137a7702de8acc70774 IN  0x1c61d42efafe3c627998f2d53d897dbfd99d7ff90 Ether0.000133842
0xd90630efb2b4c33892f0fd6517ea99de16c449e0da1fd25b3d3f0f0b86a2d04eSet72090622019-02-12 1:49:441394 days 7 hrs ago0xa0007b7f3f9d3b402817af51aded90751a239b3d IN  0x1c61d42efafe3c627998f2d53d897dbfd99d7ff90 Ether0.000066921
0x988d5f79b6da11eb65dd9b9f1f389ba62843360d7b3e7d81dc59aae5982e778cSet70972402019-01-20 7:27:121417 days 1 hr ago0xf3d04485b9ed7bfcd68776015f4d02cb451371eb IN  0x1c61d42efafe3c627998f2d53d897dbfd99d7ff90 Ether0.000149543
0xef073d9717fab7e3230dd562201e2cba13751b6a9c4b5acf71050834f1159684Set70972402019-01-20 7:27:121417 days 1 hr ago0xf3d04485b9ed7bfcd68776015f4d02cb451371eb IN  0x1c61d42efafe3c627998f2d53d897dbfd99d7ff90 Ether0.000070753
0x5944254a5e53eb25df507cdd97d29aa70e39e9d5e312b92ff2ec8984b8024628Set70971142019-01-20 6:58:581417 days 2 hrs ago0xf3d04485b9ed7bfcd68776015f4d02cb451371eb IN  0x1c61d42efafe3c627998f2d53d897dbfd99d7ff90 Ether0.000201333
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Nicks

Compiler Version
v0.4.20-nightly.2018.1.29+commit.a668b9de

Optimization Enabled:
Yes with 200 runs

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

pragma solidity ^0.4.18;

contract Nicks {
  mapping (address => string) private nickOfOwner;
  mapping (string => address) private ownerOfNick;

  event Set (string indexed _nick, address indexed _owner);
  event Unset (string indexed _nick, address indexed _owner);

  function Nicks () public {
  }

  function nickOf (address _owner) public view returns (string _nick) {
    return nickOfOwner[_owner];
  }

  function ownerOf (string _nick) public view returns (address _owner) {
    return ownerOfNick[_nick];
  }

  function set (string _nick) public {
    require(bytes(_nick).length > 2);
    require(ownerOf(_nick) == address(0));

    address owner = msg.sender;
    string storage oldNick = nickOfOwner[owner];

    if (bytes(oldNick).length > 0) {
      Unset(oldNick, owner);
      delete ownerOfNick[oldNick];
    }

    nickOfOwner[owner] = _nick;
    ownerOfNick[_nick] = owner;
    Set(_nick, owner);
  }

  function unset () public {
    require(bytes(nickOfOwner[msg.sender]).length > 0);

    address owner = msg.sender;
    string storage oldNick = nickOfOwner[owner];

    Unset(oldNick, owner);

    delete ownerOfNick[oldNick];
    delete nickOfOwner[owner];
  }
}

Contract Security Audit

Contract ABI

[{"constant":false,"inputs":[{"name":"_nick","type":"string"}],"name":"set","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_nick","type":"string"}],"name":"ownerOf","outputs":[{"name":"_owner","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"}],"name":"nickOf","outputs":[{"name":"_nick","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"unset","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"name":"_nick","type":"string"},{"indexed":true,"name":"_owner","type":"address"}],"name":"Set","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"_nick","type":"string"},{"indexed":true,"name":"_owner","type":"address"}],"name":"Unset","type":"event"}]

6060604052341561000f57600080fd5b6108ae8061001e6000396000f3006060604052600436106100615763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416634ed3885e8114610066578063920ffa26146100b9578063a59aef4e14610126578063bbcbefd0146101bc575b600080fd5b341561007157600080fd5b6100b760046024813581810190830135806020601f820181900481020160405190810160405281815292919060208401838380828437509496506101cf95505050505050565b005b34156100c457600080fd5b61010a60046024813581810190830135806020601f820181900481020160405190810160405281815292919060208401838380828437509496506104ac95505050505050565b604051600160a060020a03909116815260200160405180910390f35b341561013157600080fd5b610145600160a060020a0360043516610524565b60405160208082528190810183818151815260200191508051906020019080838360005b83811015610181578082015183820152602001610169565b50505050905090810190601f1680156101ae5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156101c757600080fd5b6100b76105f0565b60008060028351116101e057600080fd5b60006101eb846104ac565b600160a060020a0316146101fe57600080fd5b505033600160a060020a0381166000908152602081905260408120805490916002600183161561010002600019019092169190910411156103655781600160a060020a031681604051808280546001816001161561010002031660029004801561029f5780601f1061027d57610100808354040283529182019161029f565b820191906000526020600020905b81548152906001019060200180831161028b575b505091505060405180910390207fc5b1e78906cea6c780f8b9ad00acbd3678a664f6146c97d3b1a6562a1cd885bb60405160405180910390a360018160405180828054600181600116156101000203166002900480156103365780601f10610314576101008083540402835291820191610336565b820191906000526020600020905b815481529060010190602001808311610322575b50509283525050602001604051908190039020805473ffffffffffffffffffffffffffffffffffffffff191690555b600160a060020a038216600090815260208190526040902083805161038e92916020019061078e565b50816001846040518082805190602001908083835b602083106103c25780518252601f1990920191602091820191016103a3565b6001836020036101000a038019825116818451168082178552505050505050905001915050908152602001604051908190039020805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a039283161790558216836040518082805190602001908083835b6020831061044f5780518252601f199092019160209182019101610430565b6001836020036101000a038019825116818451161790925250505091909101925060409150505180910390207f496595ced95720268cf8bc60bae3f35024ff2a130f73ac4e20f5c1eaca35db9960405160405180910390a3505050565b60006001826040518082805190602001908083835b602083106104e05780518252601f1990920191602091820191016104c1565b6001836020036101000a03801982511681845116808217855250505050505090500191505090815260200160405190819003902054600160a060020a031692915050565b61052c61080c565b60008083600160a060020a0316600160a060020a031681526020019081526020016000208054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156105e45780601f106105b9576101008083540402835291602001916105e4565b820191906000526020600020905b8154815290600101906020018083116105c757829003601f168201915b50505050509050919050565b600160a060020a03331660009081526020819052604081205481906002600019610100600184161502019091160481901161062a57600080fd5b505033600160a060020a03811660008181526020819052604090819020919082905180828054600181600116156101000203166002900480156106a45780601f106106825761010080835404028352918201916106a4565b820191906000526020600020905b815481529060010190602001808311610690575b505091505060405180910390207fc5b1e78906cea6c780f8b9ad00acbd3678a664f6146c97d3b1a6562a1cd885bb60405160405180910390a3600181604051808280546001816001161561010002031660029004801561073b5780601f1061071957610100808354040283529182019161073b565b820191906000526020600020905b815481529060010190602001808311610727575b50509283525050602001604051908190039020805473ffffffffffffffffffffffffffffffffffffffff19169055600160a060020a038216600090815260208190526040812061078a9161081e565b5050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106107cf57805160ff19168380011785556107fc565b828001600101855582156107fc579182015b828111156107fc5782518255916020019190600101906107e1565b50610808929150610865565b5090565b60206040519081016040526000815290565b50805460018160011615610100020316600290046000825580601f106108445750610862565b601f0160209004906000526020600020908101906108629190610865565b50565b61087f91905b80821115610808576000815560010161086b565b905600a165627a7a7230582047cd99d0206860d927c77e518a3dba574f0a45df269347bd759ae47b4c5a98960029

Swarm Source

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

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.