Contract Overview
Balance: 0.011000000000001054 Ether
Transactions: 66 txns
 Latest 25 transactions from a total of 66 transactions

TxHash Age From To Value [TxFee]
0xfeda9542afe02d1a9228a0e08368fbdbe5e5b9f7b7f2ed7cf461ac9a128ed2d119 days 19 hrs ago0x4def50b588c27e5ccd3087d9f003a2f6272f4808  IN   0x408f56c4541bd00ec836102d06f7ee6a2a8206781 wei0.000030198
0x92682c0ce7526b443e0b3878eee793e715dec67ae0db22712c91f8d30b5173a419 days 19 hrs ago0x4def50b588c27e5ccd3087d9f003a2f6272f4808  IN   0x408f56c4541bd00ec836102d06f7ee6a2a8206781 wei0.000030198
0xba6c3dca71679a974e72a67d3677c2a0d3d90e7a7aceb19a118165cbaad60f5121 days 20 hrs ago0x4def50b588c27e5ccd3087d9f003a2f6272f4808  IN   0x408f56c4541bd00ec836102d06f7ee6a2a8206781 wei0.000030198
0x3be14b17b981800a646498fac730f58a4e17fe29cf79016063f528d9f868e48921 days 20 hrs ago0x4def50b588c27e5ccd3087d9f003a2f6272f4808  IN   0x408f56c4541bd00ec836102d06f7ee6a2a8206781 wei0.000030198
0xff73426f7ddaa6fb5000b450b6eeeec8baeec7b8f9d460fd2c9298b6480ea8d921 days 21 hrs ago0x4def50b588c27e5ccd3087d9f003a2f6272f4808  IN   0x408f56c4541bd00ec836102d06f7ee6a2a8206781 wei0.000030198
0x4da174766e58071395b486a5793026b7675bedf532a71d3a77ad4a72603baa1b21 days 21 hrs ago0x4def50b588c27e5ccd3087d9f003a2f6272f4808  IN   0x408f56c4541bd00ec836102d06f7ee6a2a8206781 wei0.000030198
0x7a080227dea0c5a1e27364d7bc3111246b7d5b71a2445364fa356147cd57f19e21 days 21 hrs ago0x4def50b588c27e5ccd3087d9f003a2f6272f4808  IN   0x408f56c4541bd00ec836102d06f7ee6a2a8206780 Ether0.000023498
0xe1008ec59563cae18a6e78889b1209c631edfbffba1aedadb498a38f14b48df921 days 21 hrs ago0x4def50b588c27e5ccd3087d9f003a2f6272f4808  IN   0x408f56c4541bd00ec836102d06f7ee6a2a8206781 wei0.000030198
0x9c6ecb8b8b3cc7730d91bb2678ce5c7fcefbdeb6468366341befa20ab5ae09d721 days 22 hrs ago0x4def50b588c27e5ccd3087d9f003a2f6272f4808  IN   0x408f56c4541bd00ec836102d06f7ee6a2a8206781 wei0.000021636
0xf81ab82e95356a3a30908cd6bb1301fcab658c9999a2db4f960ef13737dc5bfe21 days 22 hrs ago0x4def50b588c27e5ccd3087d9f003a2f6272f4808  IN   0x408f56c4541bd00ec836102d06f7ee6a2a8206781 wei0.000030198
0x63bb9af3c2f22b5ff1ebf126edc2fe384d2f539d36f7b672bcfa2b6f30820f9c21 days 22 hrs ago0x4def50b588c27e5ccd3087d9f003a2f6272f4808  IN   0x408f56c4541bd00ec836102d06f7ee6a2a8206781 wei0.000021636
0xf308903c3dd609f80b1e94ba42c70131b41e67c0b08413d8eb46cda4139f2b7f21 days 22 hrs ago0x4def50b588c27e5ccd3087d9f003a2f6272f4808  IN   0x408f56c4541bd00ec836102d06f7ee6a2a8206781 wei0.000030198
0x1a4bf698731eae7bd0a392617c238c2f9b95c49b29a7a6868f9c0eff2b1565cc23 days 12 hrs ago0x4def50b588c27e5ccd3087d9f003a2f6272f4808  IN   0x408f56c4541bd00ec836102d06f7ee6a2a8206781 wei0.000030198
0x3a6c27bf13fc2721de7cfe05abe86f2310e31b22edf9356828721a8bc3b4a06223 days 12 hrs ago0x4def50b588c27e5ccd3087d9f003a2f6272f4808  IN   0x408f56c4541bd00ec836102d06f7ee6a2a8206780 Ether0.000023498
0x0077e13a93bb5202147400723e5256ce0430fd951c109e73f470ebfd7b0d347b25 days 13 hrs ago0x0cd64c7ffa9fdddd39c8eef84e4d78bcc718fb88  IN   0x408f56c4541bd00ec836102d06f7ee6a2a8206781 wei0.000021046
0xf154ab7747bdf339fe26c7032caae378a1850dc31e01f53041de4463e132cc7f25 days 13 hrs ago0x0cd64c7ffa9fdddd39c8eef84e4d78bcc718fb88  IN   0x408f56c4541bd00ec836102d06f7ee6a2a8206781 wei0.000021046
0xd51a1250a7c57342cf387b8e12c41389dc727c4dd25f9f03be67b7c2f23b0f0225 days 13 hrs ago0x0cd64c7ffa9fdddd39c8eef84e4d78bcc718fb88  IN   0x408f56c4541bd00ec836102d06f7ee6a2a8206781 wei0.000021046
0xc7256dee030699741d01adff605b07bad3a21b62ac7ddc97e6ea91f8e0234f1125 days 13 hrs ago0x0cd64c7ffa9fdddd39c8eef84e4d78bcc718fb88  IN   0x408f56c4541bd00ec836102d06f7ee6a2a8206781 wei0.000021046
0x47a6afdd73c79a8831fac7041d3ddd42dda4416409803c94889553f221179bd825 days 13 hrs ago0x0cd64c7ffa9fdddd39c8eef84e4d78bcc718fb88  IN   0x408f56c4541bd00ec836102d06f7ee6a2a8206781 wei0.000021046
0x65a21e6cbc860cba193958de2f6e8e0c1bd276925dcb5189708c79418c28d81325 days 13 hrs ago0x0cd64c7ffa9fdddd39c8eef84e4d78bcc718fb88  IN   0x408f56c4541bd00ec836102d06f7ee6a2a8206781 wei0.000021046
0x46ce83a31cfdc8e2b40110dd112cb5a3354598f34f8620bb1eb049e3bccc74c125 days 13 hrs ago0x0cd64c7ffa9fdddd39c8eef84e4d78bcc718fb88  IN   0x408f56c4541bd00ec836102d06f7ee6a2a8206781 wei0.000021046
0xe4770988a5c1f87f36564750f160ee86c2443fe689e6feaeb81196d219f4082825 days 13 hrs ago0x0cd64c7ffa9fdddd39c8eef84e4d78bcc718fb88  IN   0x408f56c4541bd00ec836102d06f7ee6a2a8206781 wei0.000021046
0x7a1cc292e545fcc4850988e8891e581d7a4253cb66eca93816d22e1d610def8925 days 13 hrs ago0x0cd64c7ffa9fdddd39c8eef84e4d78bcc718fb88  IN   0x408f56c4541bd00ec836102d06f7ee6a2a8206781 wei0.000021046
0x48dbc726d5a1dbfc059b4747f2c12d54fb1509940fd948d20760ddb7ae6b968025 days 13 hrs ago0x0cd64c7ffa9fdddd39c8eef84e4d78bcc718fb88  IN   0x408f56c4541bd00ec836102d06f7ee6a2a8206781 wei0.000021046
0x5079742688cca1f1434458e442b745706f5c8707111affbba9cc3691f28b7b5125 days 13 hrs ago0x0cd64c7ffa9fdddd39c8eef84e4d78bcc718fb88  IN   0x408f56c4541bd00ec836102d06f7ee6a2a8206781 wei0.000021046
[ Download CSV Export  ] 
 Internal Transactions as a result of Contract Execution
 Latest 25 Internal Txns, Click here To View More View All
ParentTxHash Block Age From To Value
0xfeda9542afe02d1a9228a0e08368fbdbe5e5b9f7b7f2ed7cf461ac9a128ed2d1474424519 days 19 hrs ago0x408f56c4541bd00ec836102d06f7ee6a2a8206780x4def50b588c27e5ccd3087d9f003a2f6272f48081 wei
0x92682c0ce7526b443e0b3878eee793e715dec67ae0db22712c91f8d30b5173a4474424319 days 19 hrs ago0x408f56c4541bd00ec836102d06f7ee6a2a8206780x4def50b588c27e5ccd3087d9f003a2f6272f48081 wei
0xba6c3dca71679a974e72a67d3677c2a0d3d90e7a7aceb19a118165cbaad60f51473173421 days 20 hrs ago0x408f56c4541bd00ec836102d06f7ee6a2a8206780x4def50b588c27e5ccd3087d9f003a2f6272f48081 wei
0x3be14b17b981800a646498fac730f58a4e17fe29cf79016063f528d9f868e489473162321 days 20 hrs ago0x408f56c4541bd00ec836102d06f7ee6a2a8206780x4def50b588c27e5ccd3087d9f003a2f6272f48081 wei
0xff73426f7ddaa6fb5000b450b6eeeec8baeec7b8f9d460fd2c9298b6480ea8d9473140021 days 21 hrs ago0x408f56c4541bd00ec836102d06f7ee6a2a8206780x4def50b588c27e5ccd3087d9f003a2f6272f48081 wei
0x4da174766e58071395b486a5793026b7675bedf532a71d3a77ad4a72603baa1b473129821 days 21 hrs ago0x408f56c4541bd00ec836102d06f7ee6a2a8206780x4def50b588c27e5ccd3087d9f003a2f6272f48081 wei
0x7a080227dea0c5a1e27364d7bc3111246b7d5b71a2445364fa356147cd57f19e473129521 days 21 hrs ago0x408f56c4541bd00ec836102d06f7ee6a2a8206780x4def50b588c27e5ccd3087d9f003a2f6272f48080 Ether
0xe1008ec59563cae18a6e78889b1209c631edfbffba1aedadb498a38f14b48df9473118221 days 21 hrs ago0x408f56c4541bd00ec836102d06f7ee6a2a8206780x4def50b588c27e5ccd3087d9f003a2f6272f48081 wei
0xf81ab82e95356a3a30908cd6bb1301fcab658c9999a2db4f960ef13737dc5bfe473105521 days 22 hrs ago0x408f56c4541bd00ec836102d06f7ee6a2a8206780x4def50b588c27e5ccd3087d9f003a2f6272f48081 wei
0xf308903c3dd609f80b1e94ba42c70131b41e67c0b08413d8eb46cda4139f2b7f473093721 days 22 hrs ago0x408f56c4541bd00ec836102d06f7ee6a2a8206780x4def50b588c27e5ccd3087d9f003a2f6272f48081 wei
0x1a4bf698731eae7bd0a392617c238c2f9b95c49b29a7a6868f9c0eff2b1565cc472089023 days 12 hrs ago0x408f56c4541bd00ec836102d06f7ee6a2a8206780x4def50b588c27e5ccd3087d9f003a2f6272f48081 wei
0x3a6c27bf13fc2721de7cfe05abe86f2310e31b22edf9356828721a8bc3b4a062472086523 days 12 hrs ago0x408f56c4541bd00ec836102d06f7ee6a2a8206780x4def50b588c27e5ccd3087d9f003a2f6272f48080 Ether
0x76c0e67a06c8f8f67281aee389bd31acbd1dd99162630c7056fbf197fcd1544d471313924 days 21 hrs ago0x05d9cbee05e82d492ad66842fc7c0cb363b384ea0x408f56c4541bd00ec836102d06f7ee6a2a8206780 Ether
0x4077f7b5b143d532d8575ac380bf4543c902698a92e39a0253b1d896937c7128471217825 days 44 mins ago0x05d9cbee05e82d492ad66842fc7c0cb363b384ea0x408f56c4541bd00ec836102d06f7ee6a2a8206780 Ether
0x864be7825fa64284e8f81b0304f5b00b379b6783a00669237c83d8b095a6a8f5470959225 days 11 hrs ago0x5d6c527e4c5fc7c2b53ed73bae101471211a99790x408f56c4541bd00ec836102d06f7ee6a2a82067810 wei
0x864be7825fa64284e8f81b0304f5b00b379b6783a00669237c83d8b095a6a8f5470959225 days 11 hrs ago0x408f56c4541bd00ec836102d06f7ee6a2a8206780x5d6c527e4c5fc7c2b53ed73bae101471211a997910 wei
0x864be7825fa64284e8f81b0304f5b00b379b6783a00669237c83d8b095a6a8f5470959225 days 11 hrs ago0x5d6c527e4c5fc7c2b53ed73bae101471211a99790x408f56c4541bd00ec836102d06f7ee6a2a82067810 wei
0xa186c48f9b8a3a0e568c7f283f91ae8aea09e06d4dbd9c50c67193a34abab917470891825 days 14 hrs ago0x408f56c4541bd00ec836102d06f7ee6a2a8206780xcf7cdc48c4c715d7a466add440f5e326279fe3800 Ether
0x71428efa6de161c73bd1aefc11c4c836576d96abde7cceca64abee40d2eeb63b470855225 days 15 hrs ago0x05d9cbee05e82d492ad66842fc7c0cb363b384ea0x408f56c4541bd00ec836102d06f7ee6a2a8206780 Ether
0x68eb29c1b7e509235190a0750948594cc02e11233d925b9b062070096fdc92ed470846725 days 15 hrs ago0xc5f2295ff9aabbcc899f364d72cb751c3659d19b0x408f56c4541bd00ec836102d06f7ee6a2a8206781 wei
0x68eb29c1b7e509235190a0750948594cc02e11233d925b9b062070096fdc92ed470846725 days 15 hrs ago0x408f56c4541bd00ec836102d06f7ee6a2a8206780xc5f2295ff9aabbcc899f364d72cb751c3659d19b1 wei
0x68eb29c1b7e509235190a0750948594cc02e11233d925b9b062070096fdc92ed470846725 days 15 hrs ago0xc5f2295ff9aabbcc899f364d72cb751c3659d19b0x408f56c4541bd00ec836102d06f7ee6a2a8206781 wei
0xdc85174e7246e5682533cefc4ab0b9cb445644493465cbd89ccf919dad2e9af7470843825 days 15 hrs ago0x408f56c4541bd00ec836102d06f7ee6a2a8206780x3dbe697f72f0a5739e5665a3215d28f66a24bf310 Ether
0x9dda877b36e52a04366eec1688094669ba1b4cd564e82e78653dfc25710c3b24470835725 days 16 hrs ago0x0ebadebad1876a8166bab1b5439fad152c4fbe260x408f56c4541bd00ec836102d06f7ee6a2a8206780.001 Ether
0x9dda877b36e52a04366eec1688094669ba1b4cd564e82e78653dfc25710c3b24470835725 days 16 hrs ago0x408f56c4541bd00ec836102d06f7ee6a2a8206780x0ebadebad1876a8166bab1b5439fad152c4fbe260.001 Ether
[ Download CSV Export  ] 
Contract Source Code Verified (Exact Match)
Contract Name: ChristmasStocking
Compiler Text: v0.5.0+commit.1d4f565a
Optimization Enabled: No
Runs (Optimiser):  200



  Contract Source Code   Find Similiar Contracts

pragma solidity >0.4.99 <0.6.0;

// File: contracts/SafeMath.sol

library SafeMath {
  function add(uint256 a, uint256 b) internal pure returns (uint256) {
    uint256 c = a + b;
    require(c >= a);
    return c;
  }

  function sub(uint256 a, uint256 b) internal pure returns (uint256) {
    require(a >= b);
    uint256 c = a - b;
    return c;
  }

  function mul(uint256 a, uint256 b) internal pure returns (uint256) {
    if (a == 0) {
      return 0;
    }
    uint256 c = a * b;
    require(c / a == b);
    return c;
  }

  function div(uint256 a, uint256 b) internal pure returns (uint256) {
    require(b > 0);
    uint256 c = a / b;
    return c;
  }

  function mod(uint256 a, uint256 b) internal pure returns (uint256) {
    require(b > 0);
    uint256 c = a % b;
    return c;
  }
}

// File: contracts/ChristmasStocking.sol

contract ChristmasStocking {
  using SafeMath for uint256;

  bool private _isOpen;
  mapping(address => uint256) private _balances;

  constructor() public {
    _isOpen = false;
  }

  function isOpen() public view returns (bool) {
    return _isOpen;
  }

  function balanceOf(address who) public view returns (uint256) {
    return _balances[who];
  }

  function deposit() payable public {
    _isOpen = true;
    (bool success,) = msg.sender.call.value(msg.value)(abi.encodePacked());
    require(success);
    _isOpen = false;
  }

  function bribe() payable public {
    require(_isOpen);
    _balances[tx.origin] = _balances[tx.origin].add(msg.value);
  }

  function withdraw() public {
    uint256 balance = _balances[msg.sender];
    _balances[msg.sender] = 0;
    msg.sender.transfer(balance);
  }
}

    Contract ABI  
[{"constant":false,"inputs":[],"name":"bribe","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":false,"inputs":[],"name":"withdraw","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"isOpen","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"who","type":"address"}],"name":"balanceOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"deposit","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"}]

  Contract Creation Code Switch To Opcodes View
608060405234801561001057600080fd5b5060008060006101000a81548160ff0219169083151502179055506104738061003a6000396000f3fe60806040526004361061006d576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806337d0208c146100725780633ccfd60b1461007c57806347535d7b1461009357806370a08231146100c2578063d0e30db014610127575b600080fd5b61007a610131565b005b34801561008857600080fd5b506100916101e2565b005b34801561009f57600080fd5b506100a86102b5565b604051808215151515815260200191505060405180910390f35b3480156100ce57600080fd5b50610111600480360360208110156100e557600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506102cb565b6040518082815260200191505060405180910390f35b61012f610314565b005b6000809054906101000a900460ff16151561014b57600080fd5b61019d34600160003273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461042690919063ffffffff16565b600160003273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550565b6000600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490506000600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f193505050501580156102b1573d6000803e3d6000fd5b5050565b60008060009054906101000a900460ff16905090565b6000600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60016000806101000a81548160ff02191690831515021790555060003373ffffffffffffffffffffffffffffffffffffffff16346040516020016040516020818303038152906040526040518082805190602001908083835b602083101515610392578051825260208201915060208101905060208303925061036d565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d80600081146103f4576040519150601f19603f3d011682016040523d82523d6000602084013e6103f9565b606091505b5050905080151561040957600080fd5b60008060006101000a81548160ff02191690831515021790555050565b600080828401905083811015151561043d57600080fd5b809150509291505056fea165627a7a72305820f95b8aea22b700103f72aa1f61c4148db386e56799cae5b5b8635ee1d2bdfdb80029

   Swarm Source:
bzzr://f95b8aea22b700103f72aa1f61c4148db386e56799cae5b5b8635ee1d2bdfdb8

 

View All
Block Age transaction Difficulty GasUsed Reward
View All
Block Age UncleNumber Difficulty GasUsed Reward