Contract Overview
Balance: 0 Ether
Ether Value: $0
Transactions: 101 txns
Misc:
Address Watch: Add To Watch List
Contract Creator: 0xac80f8fefe1f14f40fff2bf96210a5b46e0dfd26at txn 0xa16295c24fd9106a2e4decb5388f41be7444f477258aa019adbd74e3e525ef87
 Latest 25 transactions from a total of 101 transactions

TxHash Age From To Value [TxFee]
0x0e24d8d84730d063f3b29b0f67b7aa1eb70f4e6a83ed848a4cebba922e43c8723 days 22 hrs ago0x0053ed772af5674126c285ec0516930bfb24bfc4  IN   0x2e645469f354bb4f5c8a05b3b30a929361cf77ec0 Ether0.001076448
0x8470828633c6db3278b608091eb3513a5f3053dd42e8ad15d53eed27f743789c6 days 5 hrs ago0x8d3e809fbd258083a5ba004a527159da535c8aba  IN   0x2e645469f354bb4f5c8a05b3b30a929361cf77ec0 Ether0.000171626
0x768199cd66030c235901226ceb1fb59d77bb8688ecb1bf7837355583158a2b9e63 days 7 hrs ago0xbc8dafeaca658ae0857c80d8aa6de4d487577c63  IN   0x2e645469f354bb4f5c8a05b3b30a929361cf77ec0 Ether0.001693776
0xf0f3b67d5be558e4d6d07e73da8f70396803a73bb4313b5b275d94784afe2b5e63 days 8 hrs ago0xbc8dafeaca658ae0857c80d8aa6de4d487577c63  IN   0x2e645469f354bb4f5c8a05b3b30a929361cf77ec0 Ether0.00429504
0x9eebf210e6eed19167d5c7f08636ed5fe055601617c992459392eeaa33ca379f63 days 8 hrs ago0xbc8dafeaca658ae0857c80d8aa6de4d487577c63  IN   0x2e645469f354bb4f5c8a05b3b30a929361cf77ec0 Ether0.00216
0xb5a36c595a782a53347a3cd9ecb5dcd5e2720a2eec6acacd8007d5afbda750be64 days 19 hrs ago0x0773cbc2c55cd6354a61b7bcbca52d9dccd56534  IN   0x2e645469f354bb4f5c8a05b3b30a929361cf77ec0 Ether0.000604065
0x885956a6033e07e1ef4517c793d185cbfd93a0d3f33972628139590fa86ef64c65 days 12 hrs ago0xe075958a14159a44e7132309f36364b60a4c1b8f  IN   0x2e645469f354bb4f5c8a05b3b30a929361cf77ec0 Ether0.0000229
0x753912f8af56a79b473967b8c8909f015d2bc8b4d2bf969068330e494ce8f21465 days 20 hrs ago0x54133efc67ee491bdbdd3145e1b6cd9fdc671324  IN   0x2e645469f354bb4f5c8a05b3b30a929361cf77ec0 Ether0.000039913
0xe1203c9d391e9d46fcfb5086e31195da5f061e20d888a2716f5298a9a9c9ce8e65 days 21 hrs ago0x54133efc67ee491bdbdd3145e1b6cd9fdc671324  IN   0x2e645469f354bb4f5c8a05b3b30a929361cf77ec0 Ether0.000038237
0x336a8d7be63ed9e6990a8656d61f0eb4c355ac29de8986fae2cafc508383c0ea66 days 3 hrs ago0xe075958a14159a44e7132309f36364b60a4c1b8f  IN   0x2e645469f354bb4f5c8a05b3b30a929361cf77ec0 Ether0.000201419
0xbdf35d553d8a42440486bd0a185b1be4c6cbf81ed639d5e7d799e0a4b870b2d166 days 23 hrs ago0x0e05f225c558b19b2eeeb6e9b3e204409ae503c8  IN   0x2e645469f354bb4f5c8a05b3b30a929361cf77ec0 Ether0.000401877
0xb3e022a5e9cfa1f04d58e437c514f2b9901275139eeb12cba4bc3be5e33d581667 days 3 hrs ago0x17ca22b74ae37adf6b9bc69a628e03f67533b50d  IN   0x2e645469f354bb4f5c8a05b3b30a929361cf77ec0 Ether0.000178768
0x2442ea1757133168103d5d708baf4a638e95caa1ca95785644fbd314e1d7e05367 days 12 hrs ago0xd150847f38707297ad6499d587c44f3e13155fe8  IN   0x2e645469f354bb4f5c8a05b3b30a929361cf77ec0 Ether0.000919080563
0x977450a3d073d9fdce6079a4857b8f823b43feb19a38c07e8d5b7352523715fe68 days 36 mins ago0x0ecd7cbdb5b6d11551bd81fa74b79d145cfe8a81  IN   0x2e645469f354bb4f5c8a05b3b30a929361cf77ec0 Ether0.00201419
0x61b157f7b090842453f7a6a0f074c6ed56eaa573a18b16f397f92973bbfc41e368 days 6 hrs ago0xd9c4475e2dd89a9a0ad0c1e9a1e1bb28df7ba298  IN   0x2e645469f354bb4f5c8a05b3b30a929361cf77ec0 Ether0.00161084
0x2bfbaf9f18a879363fdd5da8bceb20b3b5474b6255c43667ff69f8d76d6d608569 days 2 hrs ago0xb7907dcd5b4044e0ea3e1b67390acceee85333a4  IN   0x2e645469f354bb4f5c8a05b3b30a929361cf77ec0 Ether0.001415124
0xee4d980988fc2efdb09d68d17d7a4526a0fc276e2c4b6ac27e6b3b1288cb619a69 days 4 hrs ago0x0e3755d390801da61b8e22f00578e1a921d435b2  IN   0x2e645469f354bb4f5c8a05b3b30a929361cf77ec0 Ether0.000202059
0xd6d44943354a9cf62f4890e0fecf5e20368bd9ea8ebbbf4bc8ba0fa2c6bdf4b174 days 23 hrs ago0x09e38590865f72c68325d8f57565ba326f943727  IN   0x2e645469f354bb4f5c8a05b3b30a929361cf77ec0 Ether0.000178896
0xa22eff1c5c2f695dad95ee5e85b86b5fac01ed9d46ac6d49df492fdfcff859c979 days 19 hrs ago0x54133efc67ee491bdbdd3145e1b6cd9fdc671324  IN   0x2e645469f354bb4f5c8a05b3b30a929361cf77ec0 Ether0.00005583
0x8d1e3d4b50a2085eafa8d4e0558b1ff8cff0305f4e08ce9639b3927f03d2b83a79 days 21 hrs ago0xad295612c77bd6531378b617179c8d6df9f33580  IN   0x2e645469f354bb4f5c8a05b3b30a929361cf77ec0 Ether0.000178832
0xc4cbe6c4497cfce542263b9cb9603bd03f429da4366512e1aa415d0e9d0f121280 days 18 hrs ago0x0eabffd8ce94ab2387fc44ba32642af0c58af433  IN   0x2e645469f354bb4f5c8a05b3b30a929361cf77ec0 Ether0.000201739
0xf5ef9a16b75fd2254ce3f7d27aef89dda73bd93c10a5d4d1ca771e78d30aa06781 days 18 hrs ago0x4d3e7def9600997c565f7d805dc6bbdf96d6cd49  IN   0x2e645469f354bb4f5c8a05b3b30a929361cf77ec0 Ether0.00071584
0x24ecfce40689702ac41ab489565ed61f9e8ba5bf808662f6e186b7c363a2034385 days 15 hrs ago0x2a8600bbdaab254a2f8a8e00912799295c3dd601  IN   0x2e645469f354bb4f5c8a05b3b30a929361cf77ec0 Ether0.000807724
0x0dc1f9328c243b7afe148fedc83df41bcaf8977d3283d2536b4cba3933af45ba89 days 16 hrs ago0x0b973296a185a3bf629f3e828b6770a5bd28cf42  IN   0x2e645469f354bb4f5c8a05b3b30a929361cf77ec0 Ether0.0012729717
0xecfcc12181ba22a9a7491a90d7938859506467033b07ae1f16f0256c82f8ee81100 days 18 hrs ago0x8d3e809fbd258083a5ba004a527159da535c8aba  IN   0x2e645469f354bb4f5c8a05b3b30a929361cf77ec0 Ether0.0000970128
[ Download CSV Export  ] 
 Internal Transactions as a result of Contract Execution
View All
ParentTxHash Block Age From To Value
Warning: The Compiled Contract might be susceptible to ExpExponentCleanup (medium/high-severity), EventStructWrongData (very low-severity) SolidityCompiler Bugs.

Contract Source Code Verified (Exact Match)
Contract Name: GravatarRegistry
Compiler Text: v0.4.24-nightly.2018.4.19+commit.27d79906
Optimization Enabled: No
Runs (Optimiser):  200



  Contract Source Code   Find Similiar Contracts

pragma solidity ^0.4.2;

contract GravatarRegistry {
  event NewGravatar(uint id, address owner, string displayName, string imageUrl);
  event UpdatedGravatar(uint id, address owner, string displayName, string imageUrl);

  struct Gravatar {
    address owner;
    string displayName;
    string imageUrl;
  }

  Gravatar[] public gravatars;

  mapping (uint => address) public gravatarToOwner;
  mapping (address => uint) public ownerToGravatar;

  function createGravatar(string _displayName, string _imageUrl) public {
    require(ownerToGravatar[msg.sender] == 0);
    uint id = gravatars.push(Gravatar(msg.sender, _displayName, _imageUrl)) - 1;

    gravatarToOwner[id] = msg.sender;
    ownerToGravatar[msg.sender] = id;

    emit NewGravatar(id, msg.sender, _displayName, _imageUrl);
  }

  function getGravatar(address owner) public view returns (string, string) {
    uint id = ownerToGravatar[owner];
    return (gravatars[id].displayName, gravatars[id].imageUrl);
  }

  function updateGravatarName(string _displayName) public {
    require(ownerToGravatar[msg.sender] != 0);
    require(msg.sender == gravatars[ownerToGravatar[msg.sender]].owner);

    uint id = ownerToGravatar[msg.sender];

    gravatars[id].displayName = _displayName;
    emit UpdatedGravatar(id, msg.sender, _displayName, gravatars[id].imageUrl);
  }

  function updateGravatarImage(string _imageUrl) public {
    require(ownerToGravatar[msg.sender] != 0);
    require(msg.sender == gravatars[ownerToGravatar[msg.sender]].owner);

    uint id = ownerToGravatar[msg.sender];

    gravatars[id].imageUrl =  _imageUrl;
    emit UpdatedGravatar(id, msg.sender, gravatars[id].displayName, _imageUrl);
  }

  // the gravatar at position 0 of gravatars[]
  // is fake
  // it's a mythical gravatar
  // that doesn't really exist
  // dani will invoke this function once when this contract is deployed
  // but then no more
  function setMythicalGravatar() public {
    require(msg.sender == 0x8d3e809Fbd258083a5Ba004a527159Da535c8abA);
    gravatars.push(Gravatar(0x0, " ", " "));
  }
}

    Contract ABI  
[{"constant":false,"inputs":[{"name":"_imageUrl","type":"string"}],"name":"updateGravatarImage","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"setMythicalGravatar","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"owner","type":"address"}],"name":"getGravatar","outputs":[{"name":"","type":"string"},{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"gravatarToOwner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"ownerToGravatar","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_displayName","type":"string"}],"name":"updateGravatarName","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_displayName","type":"string"},{"name":"_imageUrl","type":"string"}],"name":"createGravatar","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"gravatars","outputs":[{"name":"owner","type":"address"},{"name":"displayName","type":"string"},{"name":"imageUrl","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"anonymous":false,"inputs":[{"indexed":false,"name":"id","type":"uint256"},{"indexed":false,"name":"owner","type":"address"},{"indexed":false,"name":"displayName","type":"string"},{"indexed":false,"name":"imageUrl","type":"string"}],"name":"NewGravatar","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"id","type":"uint256"},{"indexed":false,"name":"owner","type":"address"},{"indexed":false,"name":"displayName","type":"string"},{"indexed":false,"name":"imageUrl","type":"string"}],"name":"UpdatedGravatar","type":"event"}]

  Contract Creation Code Switch To Opcodes View
608060405234801561001057600080fd5b50611507806100206000396000f30060806040526004361061008d576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806281d6e5146100925780631d4f2c6d146100fb578063359c1f721461011257806388d0d3911461023a578063a5ac3634146102a7578063b18588fb146102fe578063cdb3344a14610367578063d5ce24ed14610416575b600080fd5b34801561009e57600080fd5b506100f9600480360381019080803590602001908201803590602001908080601f016020809104026020016040519081016040528093929190818152602001838380828437820191505050505050919291929050505061055b565b005b34801561010757600080fd5b50610110610860565b005b34801561011e57600080fd5b50610153600480360381019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506109fe565b604051808060200180602001838103835285818151815260200191508051906020019080838360005b8381101561019757808201518184015260208101905061017c565b50505050905090810190601f1680156101c45780820380516001836020036101000a031916815260200191505b50838103825284818151815260200191508051906020019080838360005b838110156101fd5780820151818401526020810190506101e2565b50505050905090810190601f16801561022a5780820380516001836020036101000a031916815260200191505b5094505050505060405180910390f35b34801561024657600080fd5b5061026560048036038101908080359060200190929190505050610bc7565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b3480156102b357600080fd5b506102e8600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610bfa565b6040518082815260200191505060405180910390f35b34801561030a57600080fd5b50610365600480360381019080803590602001908201803590602001908080601f0160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509192919290505050610c12565b005b34801561037357600080fd5b50610414600480360381019080803590602001908201803590602001908080601f0160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509192919290803590602001908201803590602001908080601f0160208091040260200160405190810160405280939291908181526020018383808284378201915050505050509192919290505050610f17565b005b34801561042257600080fd5b506104416004803603810190808035906020019092919050505061122d565b604051808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018060200180602001838103835285818151815260200191508051906020019080838360005b838110156104b757808201518184015260208101905061049c565b50505050905090810190601f1680156104e45780820380516001836020036101000a031916815260200191505b50838103825284818151815260200191508051906020019080838360005b8381101561051d578082015181840152602081019050610502565b50505050905090810190601f16801561054a5780820380516001836020036101000a031916815260200191505b509550505050505060405180910390f35b600080600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054141515156105ab57600080fd5b6000600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020548154811015156105f957fe5b906000526020600020906003020160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561066457600080fd5b600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050816000828154811015156106b657fe5b906000526020600020906003020160020190805190602001906106da9291906113b6565b507f76571b7a897a1509c641587568218a290018fbdc8b9a724f17b77ff0eec22c0c813360008481548110151561070d57fe5b906000526020600020906003020160010185604051808581526020018473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200180602001806020018381038352858181546001816001161561010002031660029004815260200191508054600181600116156101000203166002900480156107e45780601f106107b9576101008083540402835291602001916107e4565b820191906000526020600020905b8154815290600101906020018083116107c757829003601f168201915b5050838103825284818151815260200191508051906020019080838360005b8381101561081e578082015181840152602081019050610803565b50505050905090810190601f16801561084b5780820380516001836020036101000a031916815260200191505b50965050505050505060405180910390a15050565b738d3e809fbd258083a5ba004a527159da535c8aba73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156108ae57600080fd5b6000606060405190810160405280600073ffffffffffffffffffffffffffffffffffffffff1681526020016040805190810160405280600181526020017f200000000000000000000000000000000000000000000000000000000000000081525081526020016040805190810160405280600181526020017f20000000000000000000000000000000000000000000000000000000000000008152508152509080600181540180825580915050906001820390600052602060002090600302016000909192909190915060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160010190805190602001906109db929190611436565b5060408201518160020190805190602001906109f8929190611436565b50505050565b6060806000600260008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050600081815481101515610a5457fe5b9060005260206000209060030201600101600082815481101515610a7457fe5b9060005260206000209060030201600201818054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610b1a5780601f10610aef57610100808354040283529160200191610b1a565b820191906000526020600020905b815481529060010190602001808311610afd57829003601f168201915b50505050509150808054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610bb65780601f10610b8b57610100808354040283529160200191610bb6565b820191906000526020600020905b815481529060010190602001808311610b9957829003601f168201915b505050505090509250925050915091565b60016020528060005260406000206000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60026020528060005260406000206000915090505481565b600080600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205414151515610c6257600080fd5b6000600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054815481101515610cb057fe5b906000526020600020906003020160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141515610d1b57600080fd5b600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081600082815481101515610d6d57fe5b90600052602060002090600302016001019080519060200190610d919291906113b6565b507f76571b7a897a1509c641587568218a290018fbdc8b9a724f17b77ff0eec22c0c813384600085815481101515610dc557fe5b9060005260206000209060030201600201604051808581526020018473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018060200180602001838103835285818151815260200191508051906020019080838360005b83811015610e52578082015181840152602081019050610e37565b50505050905090810190601f168015610e7f5780820380516001836020036101000a031916815260200191505b50838103825284818154600181600116156101000203166002900481526020019150805460018160011615610100020316600290048015610f015780601f10610ed657610100808354040283529160200191610f01565b820191906000526020600020905b815481529060010190602001808311610ee457829003601f168201915b5050965050505050505060405180910390a15050565b600080600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054141515610f6657600080fd5b600160006060604051908101604052803373ffffffffffffffffffffffffffffffffffffffff168152602001868152602001858152509080600181540180825580915050906001820390600052602060002090600302016000909192909190915060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550602082015181600101908051906020019061102a929190611436565b506040820151816002019080519060200190611047929190611436565b505050039050336001600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055507f9ab3aefb2ba6dc12910ac1bce4692cf5c3c0d06cff16327c64a3ef78228b130b81338585604051808581526020018473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018060200180602001838103835285818151815260200191508051906020019080838360005b83811015611184578082015181840152602081019050611169565b50505050905090810190601f1680156111b15780820380516001836020036101000a031916815260200191505b50838103825284818151815260200191508051906020019080838360005b838110156111ea5780820151818401526020810190506111cf565b50505050905090810190601f1680156112175780820380516001836020036101000a031916815260200191505b50965050505050505060405180910390a1505050565b60008181548110151561123c57fe5b90600052602060002090600302016000915090508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690806001018054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561130e5780601f106112e35761010080835404028352916020019161130e565b820191906000526020600020905b8154815290600101906020018083116112f157829003601f168201915b505050505090806002018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156113ac5780601f10611381576101008083540402835291602001916113ac565b820191906000526020600020905b81548152906001019060200180831161138f57829003601f168201915b5050505050905083565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106113f757805160ff1916838001178555611425565b82800160010185558215611425579182015b82811115611424578251825591602001919060010190611409565b5b50905061143291906114b6565b5090565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061147757805160ff19168380011785556114a5565b828001600101855582156114a5579182015b828111156114a4578251825591602001919060010190611489565b5b5090506114b291906114b6565b5090565b6114d891905b808211156114d45760008160009055506001016114bc565b5090565b905600a165627a7a723058202cbc73df056dd8a39602676403b941d328a97101c460674c6ad76c6a9e87dc690029

   Swarm Source:
bzzr://2cbc73df056dd8a39602676403b941d328a97101c460674c6ad76c6a9e87dc69

 

View All
Block Age transaction Difficulty GasUsed Reward
View All
Block Age UncleNumber Difficulty GasUsed Reward
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.