ETH Price: $3,823.63 (+4.80%)

Contract

0xC1BE9895D1fe36f164F5b878A76865205ECB40B7
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Put70270512019-01-07 18:16:592165 days ago1546885019IN
0xC1BE9895...05ECB40B7
0 ETH0.0021382741
Put70265662019-01-07 16:09:372165 days ago1546877377IN
0xC1BE9895...05ECB40B7
0 ETH0.0021382741
Put69861762018-12-31 14:13:532172 days ago1546265633IN
0xC1BE9895...05ECB40B7
0 ETH0.0030926460
Put69545962018-12-26 6:06:472177 days ago1545804407IN
0xC1BE9895...05ECB40B7
0 ETH0.000062642.71
Put69545492018-12-26 5:55:312177 days ago1545803731IN
0xC1BE9895...05ECB40B7
0 ETH0.000141882.71
Put69201312018-12-20 10:04:502183 days ago1545300290IN
0xC1BE9895...05ECB40B7
0 ETH0.0010471220
Put69200392018-12-20 9:41:442183 days ago1545298904IN
0xC1BE9895...05ECB40B7
0 ETH0.000620
Put69059672018-12-17 23:52:422185 days ago1545090762IN
0xC1BE9895...05ECB40B7
0 ETH0.000130382.5
Put68783102018-12-13 9:52:032190 days ago1544694723IN
0xC1BE9895...05ECB40B7
0 ETH0.0005235610
Put68048302018-12-01 6:07:472202 days ago1543644467IN
0xC1BE9895...05ECB40B7
0 ETH0.0021382741
Transfer67887472018-11-28 14:47:052205 days ago1543416425IN
0xC1BE9895...05ECB40B7
0.00001 ETH0.000340216.2
Put67795832018-11-27 2:01:152206 days ago1543284075IN
0xC1BE9895...05ECB40B7
0 ETH0.0020883341
Put67418442018-11-20 21:44:192212 days ago1542750259IN
0xC1BE9895...05ECB40B7
0 ETH0.0021299541
Put67232452018-11-17 20:23:532215 days ago1542486233IN
0xC1BE9895...05ECB40B7
0 ETH0.000261785
Put67043602018-11-14 18:15:002219 days ago1542219300IN
0xC1BE9895...05ECB40B7
0 ETH0.000942418
Put66963962018-11-13 10:42:012220 days ago1542105721IN
0xC1BE9895...05ECB40B7
0 ETH0.000261785
Put66911602018-11-12 14:22:552221 days ago1542032575IN
0xC1BE9895...05ECB40B7
0 ETH0.0021465941
Put66892722018-11-12 6:54:052221 days ago1542005645IN
0xC1BE9895...05ECB40B7
0 ETH0.0013869660
Put66892652018-11-12 6:52:342221 days ago1542005554IN
0xC1BE9895...05ECB40B7
0 ETH0.0021382741
Put66860132018-11-11 18:01:292222 days ago1541959289IN
0xC1BE9895...05ECB40B7
0 ETH0.0020883341
Put66853842018-11-11 15:35:282222 days ago1541950528IN
0xC1BE9895...05ECB40B7
0 ETH0.0051832499
Put66853042018-11-11 15:16:032222 days ago1541949363IN
0xC1BE9895...05ECB40B7
0 ETH0.000156453
Put66484032018-11-05 14:04:502228 days ago1541426690IN
0xC1BE9895...05ECB40B7
0 ETH0.000469379
Put66321422018-11-02 22:07:382230 days ago1541196458IN
0xC1BE9895...05ECB40B7
0 ETH0.0021465941
Put66206182018-11-01 0:37:102232 days ago1541032630IN
0xC1BE9895...05ECB40B7
0 ETH0.0013612526
View all transactions

Advanced mode:
Parent Transaction Hash Block From To
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
MyWishEosRegister

Compiler Version
v0.4.25+commit.59dbf8f1

Optimization Enabled:
Yes with 200 runs

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

pragma solidity ^0.4.25;

contract MyWishEosRegister {
    event RegisterAdd(address indexed, string, bytes32);
    mapping(address => bytes32) private register;
    
    function put(string _eosAccountName) external {
        require(register[msg.sender] == 0, "address already bound");
        bytes memory byteString = bytes(_eosAccountName);
        require(byteString.length == 12, "worng length");

        for (uint i = 0; i < 12; i ++) {
            byte b = byteString[i];
            require((b >= 48 && b <= 53) || (b >= 97 && b <= 122), "wrong symbol");
        }
        bytes32 result;
        assembly {
            result := mload(add(byteString, 0x20))
        }
        register[msg.sender] = result;
        emit RegisterAdd(msg.sender, _eosAccountName, result);
    }

    
    function get(address _addr) public view returns (string memory result) {
        bytes32 eos = register[_addr];
        if (eos == 0) {
            return;
        }
        result = "............";
        assembly {
            mstore(add(result, 0x20), eos)
        }
    }

    
    function get() public view returns (string memory) {
        return get(msg.sender);
    }
}

Contract Security Audit

Contract ABI

[{"constant":false,"inputs":[{"name":"_eosAccountName","type":"string"}],"name":"put","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"get","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_addr","type":"address"}],"name":"get","outputs":[{"name":"result","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"anonymous":false,"inputs":[{"indexed":true,"name":"","type":"address"},{"indexed":false,"name":"","type":"string"},{"indexed":false,"name":"","type":"bytes32"}],"name":"RegisterAdd","type":"event"}]

608060405234801561001057600080fd5b506104f6806100206000396000f3006080604052600436106100565763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416634c21eb07811461005b5780636d4ce63c1461007d578063c2bc2efc14610107575b600080fd5b34801561006757600080fd5b5061007b6004803560248101910135610135565b005b34801561008957600080fd5b50610092610467565b6040805160208082528351818301528351919283929083019185019080838360005b838110156100cc5781810151838201526020016100b4565b50505050905090810190601f1680156100f95780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561011357600080fd5b5061009273ffffffffffffffffffffffffffffffffffffffff60043516610477565b336000908152602081905260408120546060919081908190156101b957604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f6164647265737320616c726561647920626f756e640000000000000000000000604482015290519081900360640190fd5b85858080601f01602080910402602001604051908101604052809392919081815260200183838082843782019150505050505093508351600c14151561026057604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600c60248201527f776f726e67206c656e6774680000000000000000000000000000000000000000604482015290519081900360640190fd5b600092505b600c8310156103ef57838381518110151561027c57fe5b01602001517f0100000000000000000000000000000000000000000000000000000000000000908190040291507f3000000000000000000000000000000000000000000000000000000000000000600160f860020a031983161080159061030d57507f3500000000000000000000000000000000000000000000000000000000000000600160f860020a0319831611155b8061037757507f6100000000000000000000000000000000000000000000000000000000000000600160f860020a031983161080159061037757507f7a00000000000000000000000000000000000000000000000000000000000000600160f860020a0319831611155b15156103e457604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600c60248201527f77726f6e672073796d626f6c0000000000000000000000000000000000000000604482015290519081900360640190fd5b600190920191610265565b506020838101513360008181528084526040908190208390558051938401839052808452830187905290917fe308632be6ce11ab1f60ecf5ca874a0652c3dcca9900b7bc641087bebda56e3a9088908890859080606081018585808284376040519201829003965090945050505050a2505050505050565b606061047233610477565b905090565b73ffffffffffffffffffffffffffffffffffffffff81166000908152602081905260409020546060908015156104ac576104c4565b60408051808201909152600c81526020810182905291505b509190505600a165627a7a723058205836ff30b668f796621ad90cef2e97b5a5509588a55b55b597766f6182dd30e60029

Deployed Bytecode

0x6080604052600436106100565763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416634c21eb07811461005b5780636d4ce63c1461007d578063c2bc2efc14610107575b600080fd5b34801561006757600080fd5b5061007b6004803560248101910135610135565b005b34801561008957600080fd5b50610092610467565b6040805160208082528351818301528351919283929083019185019080838360005b838110156100cc5781810151838201526020016100b4565b50505050905090810190601f1680156100f95780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561011357600080fd5b5061009273ffffffffffffffffffffffffffffffffffffffff60043516610477565b336000908152602081905260408120546060919081908190156101b957604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f6164647265737320616c726561647920626f756e640000000000000000000000604482015290519081900360640190fd5b85858080601f01602080910402602001604051908101604052809392919081815260200183838082843782019150505050505093508351600c14151561026057604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600c60248201527f776f726e67206c656e6774680000000000000000000000000000000000000000604482015290519081900360640190fd5b600092505b600c8310156103ef57838381518110151561027c57fe5b01602001517f0100000000000000000000000000000000000000000000000000000000000000908190040291507f3000000000000000000000000000000000000000000000000000000000000000600160f860020a031983161080159061030d57507f3500000000000000000000000000000000000000000000000000000000000000600160f860020a0319831611155b8061037757507f6100000000000000000000000000000000000000000000000000000000000000600160f860020a031983161080159061037757507f7a00000000000000000000000000000000000000000000000000000000000000600160f860020a0319831611155b15156103e457604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600c60248201527f77726f6e672073796d626f6c0000000000000000000000000000000000000000604482015290519081900360640190fd5b600190920191610265565b506020838101513360008181528084526040908190208390558051938401839052808452830187905290917fe308632be6ce11ab1f60ecf5ca874a0652c3dcca9900b7bc641087bebda56e3a9088908890859080606081018585808284376040519201829003965090945050505050a2505050505050565b606061047233610477565b905090565b73ffffffffffffffffffffffffffffffffffffffff81166000908152602081905260409020546060908015156104ac576104c4565b60408051808201909152600c81526020810182905291505b509190505600a165627a7a723058205836ff30b668f796621ad90cef2e97b5a5509588a55b55b597766f6182dd30e60029

Swarm Source

bzzr://5836ff30b668f796621ad90cef2e97b5a5509588a55b55b597766f6182dd30e6

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
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.