Sponsored Link:   Qravity - the only blockchain entertainment production studio and distributor. Learn more.
Contract Overview
Balance: 0 Ether
Ether Value: $0
Transactions: 18 txns
 Latest 18 txns


TxHash Age From To Value [TxFee]
0xf2aa6ae46c06acca9edc1427785f053ad215c3297a524e05fc05abd5c553cd9485 days 8 hrs ago0x332777864cce8879efe2356de27946b643be38d0  IN   0xd95f7e9f21de73eddd7861d4e6e54d9d2b7357be0 Ether0.000144748
0xebeaa80a1c34fa8b74c2f658b00aed0e699b676ae1da37630c7ec293d3fbe53685 days 15 hrs ago0xdba4a6b1289ccd37261c196eb3f8a21898398f78  IN   0xd95f7e9f21de73eddd7861d4e6e54d9d2b7357be0 Ether0.000045346
0xb3223133364df813d9469a1e270dcd28c8f24a3f8c6ff91d11c94f91f3d0a0b585 days 21 hrs ago0x28943b5bbf077a39bb6e8603ac9703bccfd1cc30  IN   0xd95f7e9f21de73eddd7861d4e6e54d9d2b7357be0 Ether0.000144748
0x0a35de6efab0702fe4c5ca287ad4992ede4269dbb90117467555ae459dfa486985 days 22 hrs ago0x28943b5bbf077a39bb6e8603ac9703bccfd1cc30  IN   0xd95f7e9f21de73eddd7861d4e6e54d9d2b7357be0 Ether0.000063856
0xffffbfb3493b3a3c76cb807db01ce15a6990448dfd70a230ebd420f452611d9285 days 22 hrs ago0x817072fa599f1a3f4a7ef7cf899f639365a00764  IN   0xd95f7e9f21de73eddd7861d4e6e54d9d2b7357be0 Ether0.000144748
0x774601e7b7b1fadd09a9c6b36d176b1c54f2af4f82f349e879e5a3981135e6cc85 days 22 hrs ago0x817072fa599f1a3f4a7ef7cf899f639365a00764  IN   0xd95f7e9f21de73eddd7861d4e6e54d9d2b7357be0 Ether0.000289496
0xb59db5ea306b9c82c383026eb362a3d58a547e585867e0de54c93725d0345e0385 days 22 hrs ago0x28943b5bbf077a39bb6e8603ac9703bccfd1cc30  IN   0xd95f7e9f21de73eddd7861d4e6e54d9d2b7357be0 Ether0.000144748
0x6933de267fcc6aa902517df421d8fa97763d836def5adac02d0a91a41c9ae2c885 days 22 hrs ago0x817072fa599f1a3f4a7ef7cf899f639365a00764  IN   0xd95f7e9f21de73eddd7861d4e6e54d9d2b7357be0 Ether0.000090692
0xa7b854418ac4e31b07afe7f6e1e16646528984a0c4219d3e0d7504fa091b76ce85 days 22 hrs ago0x332777864cce8879efe2356de27946b643be38d0  IN   0xd95f7e9f21de73eddd7861d4e6e54d9d2b7357be0 Ether0.000090692
0x2232029aebddb17e0411d511d6ede7fc77d165db574238b5f7223947f099568f86 days 4 hrs ago0x28943b5bbf077a39bb6e8603ac9703bccfd1cc30  IN   0xd95f7e9f21de73eddd7861d4e6e54d9d2b7357be0 Ether0.000366702
0x6d4f732713d71ae52c69261b919a3fa64fe6954d7d381f5cb73cb0ac24176cf186 days 4 hrs ago0x28943b5bbf077a39bb6e8603ac9703bccfd1cc30  IN   0xd95f7e9f21de73eddd7861d4e6e54d9d2b7357be0 Ether0.000182076
0xbb8d7b8955de37b905d4bb6586d570ce39087b8129a73acecb00b9292dfebe7a86 days 4 hrs ago0x28943b5bbf077a39bb6e8603ac9703bccfd1cc30  IN   0xd95f7e9f21de73eddd7861d4e6e54d9d2b7357be0 Ether0.0001304878
0xbdb6f1052ec881cea33d6b6cdeb10974edc47138da6d8527fbd4187554ba77cd86 days 4 hrs ago0x28943b5bbf077a39bb6e8603ac9703bccfd1cc30  IN   0xd95f7e9f21de73eddd7861d4e6e54d9d2b7357be0 Ether0.0001244186
0x57e14b081604b6f7c4e8048b4f06f5e29b91d87a3cd2c897bf953cfbe2d770b886 days 4 hrs ago0x28943b5bbf077a39bb6e8603ac9703bccfd1cc30  IN   0xd95f7e9f21de73eddd7861d4e6e54d9d2b7357be0 Ether0.000182076
0x312dc6dd5222527ecb5688d4c820b9b0585548a0574c4dab84578774e940966b86 days 4 hrs ago0x28943b5bbf077a39bb6e8603ac9703bccfd1cc30  IN   0xd95f7e9f21de73eddd7861d4e6e54d9d2b7357be0 Ether0.000121384
0x297c2c3462cb497fb44075f8b6178b8fd78841004a31887c34ee8810bf8c042286 days 4 hrs ago0x28943b5bbf077a39bb6e8603ac9703bccfd1cc30  IN   0xd95f7e9f21de73eddd7861d4e6e54d9d2b7357be0 Ether0.000060692
0x6680cba6388f7823d674d1464d5022db11b9748637d2671ba06168e949f0bfc186 days 4 hrs ago0x28943b5bbf077a39bb6e8603ac9703bccfd1cc30  IN   0xd95f7e9f21de73eddd7861d4e6e54d9d2b7357be0 Ether0.0001859186
0xc4bc383c76389dadda0ad0ecfea099e18e6885af6049bcea3955397086a1168086 days 22 hrs ago0xf6d5e8445a3c26ca9492b951ce9af6b559701d2f  IN    Contract Creation0 Ether0.0020790864
[ Download CSV Export  ] 
 Internal Transactions as a result of Contract Execution
View All
ParentTxHash Block Age From To Value
Contract Source Code Verified (Exact match)
Contract Name: Numa
Compiler Version: v0.4.19+commit.c4cbbb05
Optimization Enabled: No
Runs (Optimiser):  200



  Contract Source Code   Find Similiar Contracts

pragma solidity ^0.4.2;

contract Numa {
    mapping(address => bytes32) public users;
    Message[] public messages;

    struct Message {
        address sender;
        bytes32 ipfsHash;
    }

    event UserUpdated(
        address indexed sender,
        bytes32 indexed ipfsHash
    );

    event MessageCreated(
        uint indexed id,
        address indexed sender,
        bytes32 indexed ipfsHash
    );
    
    event MessageUpdated(
        uint indexed id,
        address indexed sender,
        bytes32 indexed ipfsHash
    );

    function Numa() public { }

    function messagesLength() public view returns (uint) {
        return messages.length;
    }

    function createMessage(bytes32 ipfsHash) public {
        messages.length++;
        uint index = messages.length - 1;

        messages[index].ipfsHash = ipfsHash;
        messages[index].sender = msg.sender;

        MessageCreated(index, msg.sender, ipfsHash);
    }

    function updateMessage(uint id, bytes32 ipfsHash) public {
        require(messages.length > id);
        require(messages[id].sender == msg.sender);
        
        messages[id].ipfsHash = ipfsHash;

        MessageUpdated(id, msg.sender, ipfsHash);
    }

    function updateUser(bytes32 ipfsHash) public {
        users[msg.sender] = ipfsHash;
        UserUpdated(msg.sender, ipfsHash);
    }

}

    Contract ABI  
[{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"messages","outputs":[{"name":"sender","type":"address"},{"name":"ipfsHash","type":"bytes32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"id","type":"uint256"},{"name":"ipfsHash","type":"bytes32"}],"name":"updateMessage","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"ipfsHash","type":"bytes32"}],"name":"createMessage","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"ipfsHash","type":"bytes32"}],"name":"updateUser","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"users","outputs":[{"name":"","type":"bytes32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"messagesLength","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"name":"sender","type":"address"},{"indexed":true,"name":"ipfsHash","type":"bytes32"}],"name":"UserUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"id","type":"uint256"},{"indexed":true,"name":"sender","type":"address"},{"indexed":true,"name":"ipfsHash","type":"bytes32"}],"name":"MessageCreated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"id","type":"uint256"},{"indexed":true,"name":"sender","type":"address"},{"indexed":true,"name":"ipfsHash","type":"bytes32"}],"name":"MessageUpdated","type":"event"}]

  Contract Creation Code Switch To Opcodes View
6060604052341561000f57600080fd5b61059a8061001e6000396000f300606060405260043610610078576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff1680630d80fefd1461007d578063491fd263146100ef57806375a73ed31461011f5780637faff87614610146578063a87430ba1461016d578063e11dba54146101c2575b600080fd5b341561008857600080fd5b61009e60048080359060200190919050506101eb565b604051808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182600019166000191681526020019250505060405180910390f35b34156100fa57600080fd5b61011d60048080359060200190919080356000191690602001909190505061023e565b005b341561012a57600080fd5b610144600480803560001916906020019091905050610341565b005b341561015157600080fd5b61016b600480803560001916906020019091905050610437565b005b341561017857600080fd5b6101a4600480803573ffffffffffffffffffffffffffffffffffffffff169060200190919050506104c9565b60405180826000191660001916815260200191505060405180910390f35b34156101cd57600080fd5b6101d56104e1565b6040518082815260200191505060405180910390f35b6001818154811015156101fa57fe5b90600052602060002090600202016000915090508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060010154905082565b8160018054905011151561025157600080fd5b3373ffffffffffffffffffffffffffffffffffffffff1660018381548110151561027757fe5b906000526020600020906002020160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415156102cb57600080fd5b806001838154811015156102db57fe5b9060005260206000209060020201600101816000191690555080600019163373ffffffffffffffffffffffffffffffffffffffff16837fabe9248821ddaf4dca61083cf0ce0fbe633cb4badf679f3e63e7d841fbb437cd60405160405180910390a45050565b60006001805480919060010161035791906104ee565b50600180805490500390508160018281548110151561037257fe5b906000526020600020906002020160010181600019169055503360018281548110151561039b57fe5b906000526020600020906002020160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081600019163373ffffffffffffffffffffffffffffffffffffffff16827f93c1b18749e6d6d3bcfdfbf098f3acb2b13122b367d45915d5c0706883c15bd760405160405180910390a45050565b806000803373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020816000191690555080600019163373ffffffffffffffffffffffffffffffffffffffff167f6c46eb453c5219d7665e4dda98f6200b9c6978d989806dfc2d2b17dc03609c5360405160405180910390a350565b60006020528060005260406000206000915090505481565b6000600180549050905090565b81548183558181151161051b5760020281600202836000526020600020918201910161051a9190610520565b5b505050565b61056b91905b8082111561056757600080820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff0219169055600182016000905550600201610526565b5090565b905600a165627a7a72305820433afe0d1a50702e576e97afabea26fe4fe2422951a6e6af4d145ef227bea8b30029

   Swarm Source:
bzzr://433afe0d1a50702e576e97afabea26fe4fe2422951a6e6af4d145ef227bea8b3

 

View All
Block Age txn Difficulty GasUsed Reward
View All
Block Age UncleNumber Difficulty GasUsed Reward
Make sure to use the "downvote" button for any spammy posts, and the "upvote" for interesting conversations.