ETH Price: $2,165.27 (+0.20%)

Transaction Decoder

Block:
8671247 at Oct-03-2019 07:51:28 PM +UTC
Transaction Fee:
0.000134983 ETH $0.29
Gas Used:
134,983 Gas / 1 Gwei

Account State Difference:

  Address   Before After State Difference Code
(zhizhu.top)
1,390.930782914615785175 Eth1,390.930917897615785175 Eth0.000134983
0x61958A8C...8Ce71387F
0x8805c4f9...DfC2B6151
2.088313067339977784 Eth
Nonce: 5577
2.088178084339977784 Eth
Nonce: 5578
0.000134983

Execution Trace

Bitmonds.take( Bitmond=524657385440100, Owner=eqjL8BeGLO/PQLMWWKFIxb6rbvL+rVZXJ55r1VX0c9o=:wBW3Cu3q7A8mXDc9o/kMZi )
pragma solidity ^0.4.23;

contract Bitmonds {
    struct BitmondsOwner {
        string bitmond;
        string owner;
    }

    BitmondsOwner[] internal registry;

    function take(string Bitmond, string Owner) public {
        registry.push(BitmondsOwner(Bitmond, Owner));
    }

    function lookup(string Bitmond) public view returns (string Owner) {
        for (uint i = 0; i < registry.length; i++) {
            if (compareStrings(Bitmond, registry[i].bitmond)) {
                Owner = registry[i].owner;
            }
        }
    }

    function compareStrings (string a, string b) internal pure returns (bool) {
        return (keccak256(a) == keccak256(b));
    }
}