More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 1,084 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Set | 20453084 | 132 days ago | IN | 0 ETH | 0.00002444 | ||||
Set | 9035946 | 1839 days ago | IN | 0 ETH | 0.00006672 | ||||
Set | 8818641 | 1875 days ago | IN | 0 ETH | 0.00006672 | ||||
Set | 8700187 | 1894 days ago | IN | 0 ETH | 0.00006666 | ||||
Set | 8207177 | 1970 days ago | IN | 0 ETH | 0.00006685 | ||||
Set | 8163346 | 1977 days ago | IN | 0 ETH | 0.00175864 | ||||
Set | 8040618 | 1996 days ago | IN | 0 ETH | 0.0002147 | ||||
Set | 7982328 | 2005 days ago | IN | 0 ETH | 0.00014916 | ||||
Set | 7905384 | 2017 days ago | IN | 0 ETH | 0.00040665 | ||||
Set | 7805956 | 2033 days ago | IN | 0 ETH | 0.0000501 | ||||
Set | 7736368 | 2044 days ago | IN | 0 ETH | 0.00006666 | ||||
Set | 7673198 | 2054 days ago | IN | 0 ETH | 0.00017457 | ||||
Set | 7521647 | 2077 days ago | IN | 0 ETH | 0.0001332 | ||||
Set | 7424484 | 2092 days ago | IN | 0 ETH | 0.00006679 | ||||
Set | 7411213 | 2095 days ago | IN | 0 ETH | 0.0001002 | ||||
Set | 7411161 | 2095 days ago | IN | 0 ETH | 0.00013384 | ||||
Set | 7349076 | 2104 days ago | IN | 0 ETH | 0.00013384 | ||||
Set | 7307645 | 2111 days ago | IN | 0 ETH | 0.00033364 | ||||
Set | 7285076 | 2114 days ago | IN | 0 ETH | 0.00005138 | ||||
Set | 7240020 | 2124 days ago | IN | 0 ETH | 0.00053639 | ||||
Set | 7230659 | 2127 days ago | IN | 0 ETH | 0.0003346 | ||||
Set | 7221161 | 2129 days ago | IN | 0 ETH | 0.00013384 | ||||
Set | 7209062 | 2132 days ago | IN | 0 ETH | 0.00006692 | ||||
Set | 7097240 | 2155 days ago | IN | 0 ETH | 0.00014954 | ||||
Set | 7097240 | 2155 days ago | IN | 0 ETH | 0.00007075 |
Loading...
Loading
Contract Name:
Nicks
Compiler Version
v0.4.20-nightly.2018.1.29+commit.a668b9de
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/** *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
- No Contract Security Audit Submitted- Submit Audit Here
[{"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"}]
Contract Creation Code
6060604052341561000f57600080fd5b6108ae8061001e6000396000f3006060604052600436106100615763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416634ed3885e8114610066578063920ffa26146100b9578063a59aef4e14610126578063bbcbefd0146101bc575b600080fd5b341561007157600080fd5b6100b760046024813581810190830135806020601f820181900481020160405190810160405281815292919060208401838380828437509496506101cf95505050505050565b005b34156100c457600080fd5b61010a60046024813581810190830135806020601f820181900481020160405190810160405281815292919060208401838380828437509496506104ac95505050505050565b604051600160a060020a03909116815260200160405180910390f35b341561013157600080fd5b610145600160a060020a0360043516610524565b60405160208082528190810183818151815260200191508051906020019080838360005b83811015610181578082015183820152602001610169565b50505050905090810190601f1680156101ae5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156101c757600080fd5b6100b76105f0565b60008060028351116101e057600080fd5b60006101eb846104ac565b600160a060020a0316146101fe57600080fd5b505033600160a060020a0381166000908152602081905260408120805490916002600183161561010002600019019092169190910411156103655781600160a060020a031681604051808280546001816001161561010002031660029004801561029f5780601f1061027d57610100808354040283529182019161029f565b820191906000526020600020905b81548152906001019060200180831161028b575b505091505060405180910390207fc5b1e78906cea6c780f8b9ad00acbd3678a664f6146c97d3b1a6562a1cd885bb60405160405180910390a360018160405180828054600181600116156101000203166002900480156103365780601f10610314576101008083540402835291820191610336565b820191906000526020600020905b815481529060010190602001808311610322575b50509283525050602001604051908190039020805473ffffffffffffffffffffffffffffffffffffffff191690555b600160a060020a038216600090815260208190526040902083805161038e92916020019061078e565b50816001846040518082805190602001908083835b602083106103c25780518252601f1990920191602091820191016103a3565b6001836020036101000a038019825116818451168082178552505050505050905001915050908152602001604051908190039020805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a039283161790558216836040518082805190602001908083835b6020831061044f5780518252601f199092019160209182019101610430565b6001836020036101000a038019825116818451161790925250505091909101925060409150505180910390207f496595ced95720268cf8bc60bae3f35024ff2a130f73ac4e20f5c1eaca35db9960405160405180910390a3505050565b60006001826040518082805190602001908083835b602083106104e05780518252601f1990920191602091820191016104c1565b6001836020036101000a03801982511681845116808217855250505050505090500191505090815260200160405190819003902054600160a060020a031692915050565b61052c61080c565b60008083600160a060020a0316600160a060020a031681526020019081526020016000208054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156105e45780601f106105b9576101008083540402835291602001916105e4565b820191906000526020600020905b8154815290600101906020018083116105c757829003601f168201915b50505050509050919050565b600160a060020a03331660009081526020819052604081205481906002600019610100600184161502019091160481901161062a57600080fd5b505033600160a060020a03811660008181526020819052604090819020919082905180828054600181600116156101000203166002900480156106a45780601f106106825761010080835404028352918201916106a4565b820191906000526020600020905b815481529060010190602001808311610690575b505091505060405180910390207fc5b1e78906cea6c780f8b9ad00acbd3678a664f6146c97d3b1a6562a1cd885bb60405160405180910390a3600181604051808280546001816001161561010002031660029004801561073b5780601f1061071957610100808354040283529182019161073b565b820191906000526020600020905b815481529060010190602001808311610727575b50509283525050602001604051908190039020805473ffffffffffffffffffffffffffffffffffffffff19169055600160a060020a038216600090815260208190526040812061078a9161081e565b5050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106107cf57805160ff19168380011785556107fc565b828001600101855582156107fc579182015b828111156107fc5782518255916020019190600101906107e1565b50610808929150610865565b5090565b60206040519081016040526000815290565b50805460018160011615610100020316600290046000825580601f106108445750610862565b601f0160209004906000526020600020908101906108629190610865565b50565b61087f91905b80821115610808576000815560010161086b565b905600a165627a7a7230582047cd99d0206860d927c77e518a3dba574f0a45df269347bd759ae47b4c5a98960029
Deployed Bytecode
0x6060604052600436106100615763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416634ed3885e8114610066578063920ffa26146100b9578063a59aef4e14610126578063bbcbefd0146101bc575b600080fd5b341561007157600080fd5b6100b760046024813581810190830135806020601f820181900481020160405190810160405281815292919060208401838380828437509496506101cf95505050505050565b005b34156100c457600080fd5b61010a60046024813581810190830135806020601f820181900481020160405190810160405281815292919060208401838380828437509496506104ac95505050505050565b604051600160a060020a03909116815260200160405180910390f35b341561013157600080fd5b610145600160a060020a0360043516610524565b60405160208082528190810183818151815260200191508051906020019080838360005b83811015610181578082015183820152602001610169565b50505050905090810190601f1680156101ae5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156101c757600080fd5b6100b76105f0565b60008060028351116101e057600080fd5b60006101eb846104ac565b600160a060020a0316146101fe57600080fd5b505033600160a060020a0381166000908152602081905260408120805490916002600183161561010002600019019092169190910411156103655781600160a060020a031681604051808280546001816001161561010002031660029004801561029f5780601f1061027d57610100808354040283529182019161029f565b820191906000526020600020905b81548152906001019060200180831161028b575b505091505060405180910390207fc5b1e78906cea6c780f8b9ad00acbd3678a664f6146c97d3b1a6562a1cd885bb60405160405180910390a360018160405180828054600181600116156101000203166002900480156103365780601f10610314576101008083540402835291820191610336565b820191906000526020600020905b815481529060010190602001808311610322575b50509283525050602001604051908190039020805473ffffffffffffffffffffffffffffffffffffffff191690555b600160a060020a038216600090815260208190526040902083805161038e92916020019061078e565b50816001846040518082805190602001908083835b602083106103c25780518252601f1990920191602091820191016103a3565b6001836020036101000a038019825116818451168082178552505050505050905001915050908152602001604051908190039020805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a039283161790558216836040518082805190602001908083835b6020831061044f5780518252601f199092019160209182019101610430565b6001836020036101000a038019825116818451161790925250505091909101925060409150505180910390207f496595ced95720268cf8bc60bae3f35024ff2a130f73ac4e20f5c1eaca35db9960405160405180910390a3505050565b60006001826040518082805190602001908083835b602083106104e05780518252601f1990920191602091820191016104c1565b6001836020036101000a03801982511681845116808217855250505050505090500191505090815260200160405190819003902054600160a060020a031692915050565b61052c61080c565b60008083600160a060020a0316600160a060020a031681526020019081526020016000208054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156105e45780601f106105b9576101008083540402835291602001916105e4565b820191906000526020600020905b8154815290600101906020018083116105c757829003601f168201915b50505050509050919050565b600160a060020a03331660009081526020819052604081205481906002600019610100600184161502019091160481901161062a57600080fd5b505033600160a060020a03811660008181526020819052604090819020919082905180828054600181600116156101000203166002900480156106a45780601f106106825761010080835404028352918201916106a4565b820191906000526020600020905b815481529060010190602001808311610690575b505091505060405180910390207fc5b1e78906cea6c780f8b9ad00acbd3678a664f6146c97d3b1a6562a1cd885bb60405160405180910390a3600181604051808280546001816001161561010002031660029004801561073b5780601f1061071957610100808354040283529182019161073b565b820191906000526020600020905b815481529060010190602001808311610727575b50509283525050602001604051908190039020805473ffffffffffffffffffffffffffffffffffffffff19169055600160a060020a038216600090815260208190526040812061078a9161081e565b5050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106107cf57805160ff19168380011785556107fc565b828001600101855582156107fc579182015b828111156107fc5782518255916020019190600101906107e1565b50610808929150610865565b5090565b60206040519081016040526000815290565b50805460018160011615610100020316600290046000825580601f106108445750610862565b601f0160209004906000526020600020908101906108629190610865565b50565b61087f91905b80821115610808576000815560010161086b565b905600a165627a7a7230582047cd99d0206860d927c77e518a3dba574f0a45df269347bd759ae47b4c5a98960029
Swarm Source
bzzr://47cd99d0206860d927c77e518a3dba574f0a45df269347bd759ae47b4c5a9896
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
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.