ETH Price: $3,101.72 (-5.07%)
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Claim152948662022-08-07 11:22:55909 days ago1659871375IN
0xDfaec0bE...8aFFF5d16
0 ETH0.000444825.85017989
Claim151908482022-07-22 6:45:15926 days ago1658472315IN
0xDfaec0bE...8aFFF5d16
0 ETH0.000579477.61440072
Claim149792992022-06-17 13:03:31960 days ago1655471011IN
0xDfaec0bE...8aFFF5d16
0 ETH0.0040107743.05342361
Claim149619362022-06-14 13:20:37963 days ago1655212837IN
0xDfaec0bE...8aFFF5d16
0 ETH0.0042689245.80193816
Claim149505012022-06-12 13:53:48965 days ago1655042028IN
0xDfaec0bE...8aFFF5d16
0 ETH0.0025705627.59602088
Claim149115012022-06-05 22:22:00972 days ago1654467720IN
0xDfaec0bE...8aFFF5d16
0 ETH0.0042945546.09276321
Claim148868832022-06-01 20:31:51976 days ago1654115511IN
0xDfaec0bE...8aFFF5d16
0 ETH0.0085100391.31727157
Claim148617342022-05-28 17:56:41980 days ago1653760601IN
0xDfaec0bE...8aFFF5d16
0 ETH0.0009701412.75493672
Claim148587212022-05-28 6:30:34981 days ago1653719434IN
0xDfaec0bE...8aFFF5d16
0 ETH0.0015992217.16424423
Claim148534792022-05-27 9:52:33981 days ago1653645153IN
0xDfaec0bE...8aFFF5d16
0 ETH0.0016265521.38116716
Claim148363892022-05-24 14:53:22984 days ago1653404002IN
0xDfaec0bE...8aFFF5d16
0 ETH0.0040744543.74547704
Claim148305392022-05-23 16:09:33985 days ago1653322173IN
0xDfaec0bE...8aFFF5d16
0 ETH0.0020723622.24712746
Claim148266302022-05-23 1:03:27986 days ago1653267807IN
0xDfaec0bE...8aFFF5d16
0 ETH0.0024305526.10249056
Claim148250332022-05-22 18:51:24986 days ago1653245484IN
0xDfaec0bE...8aFFF5d16
0 ETH0.0011311512.13947286
Claim148244362022-05-22 16:32:15986 days ago1653237135IN
0xDfaec0bE...8aFFF5d16
0 ETH0.0021855923.45257161
Claim148242542022-05-22 15:49:18986 days ago1653234558IN
0xDfaec0bE...8aFFF5d16
0 ETH0.0025089226.93077432
Claim148193612022-05-21 20:34:37987 days ago1653165277IN
0xDfaec0bE...8aFFF5d16
0 ETH0.0012926313.87362038
Claim148173602022-05-21 12:50:20987 days ago1653137420IN
0xDfaec0bE...8aFFF5d16
0 ETH0.0014043915.07280346
Claim148154232022-05-21 5:18:33988 days ago1653110313IN
0xDfaec0bE...8aFFF5d16
0 ETH0.0013136317.26737569
Claim148143592022-05-21 1:04:20988 days ago1653095060IN
0xDfaec0bE...8aFFF5d16
0 ETH0.0035877147.15719321
Claim148115082022-05-20 13:56:39988 days ago1653054999IN
0xDfaec0bE...8aFFF5d16
0 ETH0.0025495327.36021801
Claim148113442022-05-20 13:17:31988 days ago1653052651IN
0xDfaec0bE...8aFFF5d16
0 ETH0.0031463133.77252486
Claim148110662022-05-20 12:15:15988 days ago1653048915IN
0xDfaec0bE...8aFFF5d16
0 ETH0.0022137623.77685966
Claim148089352022-05-20 4:00:28989 days ago1653019228IN
0xDfaec0bE...8aFFF5d16
0 ETH0.0016788218.01473147
Claim148089302022-05-20 3:59:29989 days ago1653019169IN
0xDfaec0bE...8aFFF5d16
0 ETH0.0016255317.4428465
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
PlanktoonsAirdrop

Compiler Version
v0.8.12+commit.f00d7308

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 9 : PlanktoonsAirdrop.sol
//SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

/*

    Planktoons airdrop contract
        https://planktoons.io

*/

import {MerkleAirdrop} from "./MerkleAirdrop.sol";

contract PlanktoonsAirdrop is MerkleAirdrop {
    string public constant name = "PlanktoonsAirdrop";
}

File 2 of 9 : MerkleAirdrop.sol
//SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import {Ownable} from "@openzeppelin/contracts/access/Ownable.sol";
import {IERC20} from "@openzeppelin/contracts/interfaces/IERC20.sol";
import {IERC165} from "@openzeppelin/contracts/interfaces/IERC165.sol";
import {MerkleProof} from "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";

/// @notice Simple merkle airdrop contract. Claimed tokens come from reserves
/// held by the contract
contract MerkleAirdrop is Ownable {
    // ---
    // Events
    // ---

    /// @notice Tokens were claimed for a recipient
    event TokensClaimed(address recipient, uint256 amount);

    // ---
    // Errors
    // ---

    /// @notice The contract has already been set up
    error AlreadySetup();

    /// @notice A claim was attempted with an invalid claim list proof.
    error InvalidClaim();

    /// @notice A claim on behalf of another address came from an account with no allowance.
    error NotApproved();

    // ---
    // Storage
    // ---

    /// @notice The merkle root of the claim list tree.
    bytes32 public claimListRoot;

    /// @notice The airdropped token
    IERC20 public token;

    // tokens claimed so far
    mapping(address => uint256) private _claimed;

    // ---
    // Admin
    // ---

    /// @notice Set the airdropped token, merkle root, and do an initial
    /// deposit. Only callable by owner, only callable once.
    function setup(
        IERC20 token_,
        uint256 deposit,
        bytes32 root
    ) external onlyOwner {
        if (token != IERC20(address(0))) revert AlreadySetup();

        token = token_;
        claimListRoot = root;

        // reverts if contract not approved to spend msg.sender tokens
        // reverts if insufficient balance in msg.sender
        // reverts if invalid token reference
        // reverts if deposit = 0
        token_.transferFrom(msg.sender, address(this), deposit);
    }

    /// @notice Set the merkle root of the claim tree. Only callable by owner.
    function setClaimListRoot(bytes32 root) external onlyOwner {
        claimListRoot = root;
    }

    // ---
    // End users
    // ---

    /// @notice Claim msg.sender's airdropped tokens.
    function claim(uint256 maxClaimable, bytes32[] calldata proof)
        external
        returns (uint256)
    {
        return _claimFor(msg.sender, maxClaimable, proof);
    }

    /// @notice Permissionlessly claim tokens on behalf of another account.
    function claimFor(
        address recipient,
        uint256 maxClaimable,
        bytes32[] calldata proof
    ) external returns (uint256) {
        return _claimFor(recipient, maxClaimable, proof);
    }

    function _claimFor(
        address recipient,
        uint256 maxClaimable,
        bytes32[] calldata proof
    ) internal returns (uint256) {
        bool isValid = MerkleProof.verify(
            proof,
            claimListRoot,
            keccak256(abi.encodePacked(recipient, maxClaimable))
        );

        if (!isValid) revert InvalidClaim();

        uint256 claimed = _claimed[recipient];
        uint256 toClaim = claimed < maxClaimable ? maxClaimable - claimed : 0;

        // allow silent / non-reverting nop
        if (toClaim == 0) return 0;

        _claimed[recipient] = maxClaimable;
        emit TokensClaimed(recipient, toClaim);

        // reverts if insufficient reserve balance
        token.transfer(recipient, toClaim);

        return toClaim;
    }

    // ---
    // Views
    // ---

    /// @notice Returns the total amount of tokens claimed for an account
    function totalClaimed(address account) external view returns (uint256) {
        return _claimed[account];
    }
}

File 3 of 9 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

pragma solidity ^0.8.0;

import "../utils/Context.sol";

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _transferOwnership(_msgSender());
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(address(0));
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 4 of 9 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (interfaces/IERC20.sol)

pragma solidity ^0.8.0;

import "../token/ERC20/IERC20.sol";

File 5 of 9 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (interfaces/IERC165.sol)

pragma solidity ^0.8.0;

import "../utils/introspection/IERC165.sol";

File 6 of 9 : MerkleProof.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Trees proofs.
 *
 * The proofs can be generated using the JavaScript library
 * https://github.com/miguelmota/merkletreejs[merkletreejs].
 * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled.
 *
 * See `test/utils/cryptography/MerkleProof.test.js` for some examples.
 */
library MerkleProof {
    /**
     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
     * defined by `root`. For this, a `proof` must be provided, containing
     * sibling hashes on the branch from the leaf to the root of the tree. Each
     * pair of leaves and each pair of pre-images are assumed to be sorted.
     */
    function verify(
        bytes32[] memory proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProof(proof, leaf) == root;
    }

    /**
     * @dev Returns the rebuilt hash obtained by traversing a Merklee tree up
     * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt
     * hash matches the root of the tree. When processing the proof, the pairs
     * of leafs & pre-images are assumed to be sorted.
     *
     * _Available since v4.4._
     */
    function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            bytes32 proofElement = proof[i];
            if (computedHash <= proofElement) {
                // Hash(current computed hash + current element of the proof)
                computedHash = keccak256(abi.encodePacked(computedHash, proofElement));
            } else {
                // Hash(current element of the proof + current computed hash)
                computedHash = keccak256(abi.encodePacked(proofElement, computedHash));
            }
        }
        return computedHash;
    }
}

File 7 of 9 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

/**
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}

File 8 of 9 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `sender` to `recipient` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) external returns (bool);

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);
}

File 9 of 9 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC165 standard, as defined in the
 * https://eips.ethereum.org/EIPS/eip-165[EIP].
 *
 * Implementers can declare support of contract interfaces, which can then be
 * queried by others ({ERC165Checker}).
 *
 * For an implementation, see {ERC165}.
 */
interface IERC165 {
    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
}

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[],"name":"AlreadySetup","type":"error"},{"inputs":[],"name":"InvalidClaim","type":"error"},{"inputs":[],"name":"NotApproved","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"recipient","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"TokensClaimed","type":"event"},{"inputs":[{"internalType":"uint256","name":"maxClaimable","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"claim","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"maxClaimable","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"claimFor","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimListRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"root","type":"bytes32"}],"name":"setClaimListRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token_","type":"address"},{"internalType":"uint256","name":"deposit","type":"uint256"},{"internalType":"bytes32","name":"root","type":"bytes32"}],"name":"setup","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"token","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"totalClaimed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405234801561001057600080fd5b5061001a3361001f565b61006f565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b61097d8061007e6000396000f3fe608060405234801561001057600080fd5b50600436106100a95760003560e01c80637c8fd2eb116100715780637c8fd2eb1461013b5780638da5cb5b1461014e578063ef5d9ae814610173578063f22140b71461019c578063f2fde38b146101af578063fc0c546a146101c257600080fd5b806306fdde03146100ae5780632376ef86146100f45780632f52ebb714610109578063602d561e1461012a578063715018a614610133575b600080fd5b6100de604051806040016040528060118152602001700506c616e6b746f6f6e7341697264726f7607c1b81525081565b6040516100eb91906106c2565b60405180910390f35b61010761010236600461072c565b6101d5565b005b61011c6101173660046107ad565b6102c7565b6040519081526020016100eb565b61011c60015481565b6101076102dd565b61011c6101493660046107f9565b610313565b6000546001600160a01b03165b6040516001600160a01b0390911681526020016100eb565b61011c610181366004610855565b6001600160a01b031660009081526003602052604090205490565b6101076101aa366004610879565b61032a565b6101076101bd366004610855565b610359565b60025461015b906001600160a01b031681565b6000546001600160a01b031633146102085760405162461bcd60e51b81526004016101ff90610892565b60405180910390fd5b6002546001600160a01b03161561023257604051637735869160e01b815260040160405180910390fd5b600280546001600160a01b0319166001600160a01b03851690811790915560018290556040516323b872dd60e01b8152336004820152306024820152604481018490526323b872dd906064016020604051808303816000875af115801561029d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102c191906108c7565b50505050565b60006102d5338585856103f4565b949350505050565b6000546001600160a01b031633146103075760405162461bcd60e51b81526004016101ff90610892565b61031160006105b0565b565b6000610321858585856103f4565b95945050505050565b6000546001600160a01b031633146103545760405162461bcd60e51b81526004016101ff90610892565b600155565b6000546001600160a01b031633146103835760405162461bcd60e51b81526004016101ff90610892565b6001600160a01b0381166103e85760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016101ff565b6103f1816105b0565b50565b600080610474848480806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506001546040516bffffffffffffffffffffffff1960608d901b166020820152603481018b9052909250605401905060405160208183030381529060405280519060200120610600565b90508061049457604051633b4f091f60e21b815260040160405180910390fd5b6001600160a01b038616600090815260036020526040812054908682106104bc5760006104c6565b6104c682886108ff565b9050806104d957600093505050506102d5565b6001600160a01b0388166000818152600360209081526040918290208a9055815192835282018390527f896e034966eaaf1adc54acc0f257056febbd300c9e47182cf761982cf1f5e430910160405180910390a160025460405163a9059cbb60e01b81526001600160a01b038a81166004830152602482018490529091169063a9059cbb906044016020604051808303816000875af1158015610580573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105a491906108c7565b50979650505050505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60008261060d8584610616565b14949350505050565b600081815b84518110156106ba57600085828151811061063857610638610916565b6020026020010151905080831161067a5760408051602081018590529081018290526060016040516020818303038152906040528051906020012092506106a7565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b50806106b28161092c565b91505061061b565b509392505050565b600060208083528351808285015260005b818110156106ef578581018301518582016040015282016106d3565b81811115610701576000604083870101525b50601f01601f1916929092016040019392505050565b6001600160a01b03811681146103f157600080fd5b60008060006060848603121561074157600080fd5b833561074c81610717565b95602085013595506040909401359392505050565b60008083601f84011261077357600080fd5b50813567ffffffffffffffff81111561078b57600080fd5b6020830191508360208260051b85010111156107a657600080fd5b9250929050565b6000806000604084860312156107c257600080fd5b83359250602084013567ffffffffffffffff8111156107e057600080fd5b6107ec86828701610761565b9497909650939450505050565b6000806000806060858703121561080f57600080fd5b843561081a81610717565b935060208501359250604085013567ffffffffffffffff81111561083d57600080fd5b61084987828801610761565b95989497509550505050565b60006020828403121561086757600080fd5b813561087281610717565b9392505050565b60006020828403121561088b57600080fd5b5035919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6000602082840312156108d957600080fd5b8151801515811461087257600080fd5b634e487b7160e01b600052601160045260246000fd5b600082821015610911576109116108e9565b500390565b634e487b7160e01b600052603260045260246000fd5b6000600019821415610940576109406108e9565b506001019056fea2646970667358221220e6b488614c82d27b5aa799be2cbb319b78a0cb8e9a15fcbad1452e9f41d8cbbf64736f6c634300080c0033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100a95760003560e01c80637c8fd2eb116100715780637c8fd2eb1461013b5780638da5cb5b1461014e578063ef5d9ae814610173578063f22140b71461019c578063f2fde38b146101af578063fc0c546a146101c257600080fd5b806306fdde03146100ae5780632376ef86146100f45780632f52ebb714610109578063602d561e1461012a578063715018a614610133575b600080fd5b6100de604051806040016040528060118152602001700506c616e6b746f6f6e7341697264726f7607c1b81525081565b6040516100eb91906106c2565b60405180910390f35b61010761010236600461072c565b6101d5565b005b61011c6101173660046107ad565b6102c7565b6040519081526020016100eb565b61011c60015481565b6101076102dd565b61011c6101493660046107f9565b610313565b6000546001600160a01b03165b6040516001600160a01b0390911681526020016100eb565b61011c610181366004610855565b6001600160a01b031660009081526003602052604090205490565b6101076101aa366004610879565b61032a565b6101076101bd366004610855565b610359565b60025461015b906001600160a01b031681565b6000546001600160a01b031633146102085760405162461bcd60e51b81526004016101ff90610892565b60405180910390fd5b6002546001600160a01b03161561023257604051637735869160e01b815260040160405180910390fd5b600280546001600160a01b0319166001600160a01b03851690811790915560018290556040516323b872dd60e01b8152336004820152306024820152604481018490526323b872dd906064016020604051808303816000875af115801561029d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102c191906108c7565b50505050565b60006102d5338585856103f4565b949350505050565b6000546001600160a01b031633146103075760405162461bcd60e51b81526004016101ff90610892565b61031160006105b0565b565b6000610321858585856103f4565b95945050505050565b6000546001600160a01b031633146103545760405162461bcd60e51b81526004016101ff90610892565b600155565b6000546001600160a01b031633146103835760405162461bcd60e51b81526004016101ff90610892565b6001600160a01b0381166103e85760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016101ff565b6103f1816105b0565b50565b600080610474848480806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506001546040516bffffffffffffffffffffffff1960608d901b166020820152603481018b9052909250605401905060405160208183030381529060405280519060200120610600565b90508061049457604051633b4f091f60e21b815260040160405180910390fd5b6001600160a01b038616600090815260036020526040812054908682106104bc5760006104c6565b6104c682886108ff565b9050806104d957600093505050506102d5565b6001600160a01b0388166000818152600360209081526040918290208a9055815192835282018390527f896e034966eaaf1adc54acc0f257056febbd300c9e47182cf761982cf1f5e430910160405180910390a160025460405163a9059cbb60e01b81526001600160a01b038a81166004830152602482018490529091169063a9059cbb906044016020604051808303816000875af1158015610580573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105a491906108c7565b50979650505050505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60008261060d8584610616565b14949350505050565b600081815b84518110156106ba57600085828151811061063857610638610916565b6020026020010151905080831161067a5760408051602081018590529081018290526060016040516020818303038152906040528051906020012092506106a7565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b50806106b28161092c565b91505061061b565b509392505050565b600060208083528351808285015260005b818110156106ef578581018301518582016040015282016106d3565b81811115610701576000604083870101525b50601f01601f1916929092016040019392505050565b6001600160a01b03811681146103f157600080fd5b60008060006060848603121561074157600080fd5b833561074c81610717565b95602085013595506040909401359392505050565b60008083601f84011261077357600080fd5b50813567ffffffffffffffff81111561078b57600080fd5b6020830191508360208260051b85010111156107a657600080fd5b9250929050565b6000806000604084860312156107c257600080fd5b83359250602084013567ffffffffffffffff8111156107e057600080fd5b6107ec86828701610761565b9497909650939450505050565b6000806000806060858703121561080f57600080fd5b843561081a81610717565b935060208501359250604085013567ffffffffffffffff81111561083d57600080fd5b61084987828801610761565b95989497509550505050565b60006020828403121561086757600080fd5b813561087281610717565b9392505050565b60006020828403121561088b57600080fd5b5035919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6000602082840312156108d957600080fd5b8151801515811461087257600080fd5b634e487b7160e01b600052601160045260246000fd5b600082821015610911576109116108e9565b500390565b634e487b7160e01b600052603260045260246000fd5b6000600019821415610940576109406108e9565b506001019056fea2646970667358221220e6b488614c82d27b5aa799be2cbb319b78a0cb8e9a15fcbad1452e9f41d8cbbf64736f6c634300080c0033

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.