Contract Overview
Balance: 0 Ether
Transactions: 4 txns
 Latest 4 txns

TxHash Age From To Value [TxFee]
0x508ae1b8473928839e246894ad44881a5b03c8ab4e662c5342fc156b8e645d5297 days 1 hr ago0x5479a9ec6386db424b563ef059fc127042543a5d  IN   0xeecc8fa365d32c2a6d60a77986f1dc0cd0b4172c0 Ether0.000029755
0x4113547efd9bf0f9e9b387f9d9e29c788d046793001d66f7eb68bea6b44064be97 days 1 hr ago0x5479a9ec6386db424b563ef059fc127042543a5d  IN   0xeecc8fa365d32c2a6d60a77986f1dc0cd0b4172c0 Ether0.000044755
0x179c1f50412602f7989c90e2e08a6f57ca564433047f688b9f558784c1458770138 days 19 hrs ago0xaebbd80fd7dae979d965a3a5b09bbcd23eb40e5f  IN   0xeecc8fa365d32c2a6d60a77986f1dc0cd0b4172c0 Ether0.000492305
0xe75ee25580aba780e87f3d4514398e05b31f0bd331e78f9f3568ccbd029e2625138 days 21 hrs ago0xaebbd80fd7dae979d965a3a5b09bbcd23eb40e5f  IN    Contract Creation0 Ether0.003215465
[ 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: FreeNapkins
Compiler Text: v0.4.24+commit.e67f0147
Optimization Enabled: No
Runs (Optimiser):  200



  Contract Source Code   Find Similiar Contracts

pragma solidity ^0.4.18;

contract EthVerifyCore{
  mapping (address => bool) public verifiedUsers;
}
contract FreeNapkins{
  mapping (address => uint256) public napkinCount;
  EthVerifyCore public ethVerify=EthVerifyCore(0x286A090b31462890cD9Bf9f167b610Ed8AA8bD1a);

  function getFreeNapkins() public{
    //causes transaction to be reverted if user is not verified. Ensures fair napkin distribution.
    require(ethVerify.verifiedUsers(msg.sender));
    //50 napkin limit per user
    require(napkinCount[msg.sender]<=50);
    //give user 10 free free napkins
    napkinCount[msg.sender]+=10;
  }
}

    Contract ABI  
[{"constant":true,"inputs":[],"name":"ethVerify","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"getFreeNapkins","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"napkinCount","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"}]

  Contract Creation Code Switch To Opcodes View
608060405273286a090b31462890cd9bf9f167b610ed8aa8bd1a600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555034801561006557600080fd5b5061032b806100756000396000f300608060405260043610610057576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806308722e781461005c57806348a73e96146100b357806365c2367f146100ca575b600080fd5b34801561006857600080fd5b50610071610121565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b3480156100bf57600080fd5b506100c8610147565b005b3480156100d657600080fd5b5061010b600480360381019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506102e7565b6040518082815260200191505060405180910390f35b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663e35fe366336040518263ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001915050602060405180830381600087803b15801561020457600080fd5b505af1158015610218573d6000803e3d6000fd5b505050506040513d602081101561022e57600080fd5b8101908080519060200190929190505050151561024a57600080fd5b60326000803373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541115151561029857600080fd5b600a6000803373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550565b600060205280600052604060002060009150905054815600a165627a7a723058209c6ea7bc86178610cff864476978a0d597491b79b473ec9d941f1e3d2e3c16400029

   Swarm Source:
bzzr://9c6ea7bc86178610cff864476978a0d597491b79b473ec9d941f1e3d2e3c1640

 

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