ETH Price: $2,396.87 (-3.27%)

Contract

0xFe9924C9Ca1E43f06ef006bc6b9Ba2E5F20Ea49E
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Redeem189233192024-01-03 0:39:23274 days ago1704242363IN
0xFe9924C9...5F20Ea49E
0 ETH0.0010908215.25271965
Redeem176868262023-07-13 20:02:47447 days ago1689278567IN
0xFe9924C9...5F20Ea49E
0 ETH0.0038028153.17955437
Redeem166947282023-02-24 0:43:35587 days ago1677199415IN
0xFe9924C9...5F20Ea49E
0 ETH0.0023383634.12220277
Redeem166572652023-02-18 18:22:11592 days ago1676744531IN
0xFe9924C9...5F20Ea49E
0 ETH0.0017449624.39254166
Redeem161420442022-12-08 19:21:11664 days ago1670527271IN
0xFe9924C9...5F20Ea49E
0 ETH0.0019095921.54936008
Redeem156356622022-09-29 1:16:59735 days ago1664414219IN
0xFe9924C9...5F20Ea49E
0 ETH0.000646467.29851026
Redeem149850942022-06-18 12:57:14837 days ago1655557034IN
0xFe9924C9...5F20Ea49E
0 ETH0.0009746511
Redeem147447712022-05-09 21:40:43877 days ago1652132443IN
0xFe9924C9...5F20Ea49E
0 ETH0.0055717262.8727505
Redeem141852312022-02-11 14:16:39964 days ago1644588999IN
0xFe9924C9...5F20Ea49E
0 ETH0.0038541153.9
Redeem137627162021-12-08 4:25:391030 days ago1638937539IN
0xFe9924C9...5F20Ea49E
0 ETH0.0056690863.98149908
Redeem136769552021-11-24 11:26:041043 days ago1637753164IN
0xFe9924C9...5F20Ea49E
0 ETH0.00692896.90743237
Redeem135584032021-11-05 19:11:581062 days ago1636139518IN
0xFe9924C9...5F20Ea49E
0 ETH0.01136865159
Redeem132993142021-09-26 4:32:021103 days ago1632630722IN
0xFe9924C9...5F20Ea49E
0 ETH0.0033827238.17754004
Redeem132934382021-09-25 6:54:191103 days ago1632552859IN
0xFe9924C9...5F20Ea49E
0 ETH0.002814231.74983266
Redeem132322632021-09-15 19:41:531113 days ago1631734913IN
0xFe9924C9...5F20Ea49E
0 ETH0.0083331994
Redeem132109812021-09-12 12:32:241116 days ago1631449944IN
0xFe9924C9...5F20Ea49E
0 ETH0.0033867147.36202263
Redeem132109392021-09-12 12:23:211116 days ago1631449401IN
0xFe9924C9...5F20Ea49E
0 ETH0.0023118232.33
Redeem131188822021-08-29 6:51:571130 days ago1630219917IN
0xFe9924C9...5F20Ea49E
0 ETH0.0041953349
Redeem131134462021-08-28 10:53:421131 days ago1630148022IN
0xFe9924C9...5F20Ea49E
0 ETH0.0044777150.53909375
Redeem130254322021-08-14 20:23:591145 days ago1628972639IN
0xFe9924C9...5F20Ea49E
0 ETH0.005315760
Redeem130092322021-08-12 8:23:481147 days ago1628756628IN
0xFe9924C9...5F20Ea49E
0 ETH0.0039334355
Redeem130009972021-08-11 1:37:221149 days ago1628645842IN
0xFe9924C9...5F20Ea49E
0 ETH0.0040024856
Redeem129872022021-08-08 22:40:591151 days ago1628462459IN
0xFe9924C9...5F20Ea49E
0 ETH0.0022762933.22724968
Redeem129241942021-07-30 1:43:101161 days ago1627609390IN
0xFe9924C9...5F20Ea49E
0 ETH0.0024809428.00000145
Redeem129067202021-07-27 7:00:141163 days ago1627369214IN
0xFe9924C9...5F20Ea49E
0 ETH0.0009366813.1
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:
PendingXTKRewardsSnapshot

Compiler Version
v0.8.0+commit.c7dfd78e

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 5 : Airdrop.sol
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.0;

import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";

/**
 * Contract which implements a merkle airdrop for a given token
 * Based on an account balance snapshot stored in a merkle tree
 */
contract PendingXTKRewardsSnapshot is Ownable {

    IERC20 token;

    bytes32 root; // merkle tree root

    mapping (uint256 => uint256) _redeemed;

    constructor (IERC20 _token, bytes32 _root) {
        token = _token;
        root = _root;
    }

    // Check if a given reward has already been redeemed
    function redeemed(uint256 index) public view returns (uint256 redeemedBlock, uint256 redeemedMask) {
        redeemedBlock = _redeemed[index / 256];
        redeemedMask = (uint256(1) << uint256(index % 256));
        require((redeemedBlock & redeemedMask) == 0, "Tokens have already been redeemed");
    }

    // Get airdrop tokens assigned to address
    // Requires sending merkle proof to the function
    function redeem(uint256 index, address recipient, uint256 amount, bytes32[] memory merkleProof) public {
        // Make sure msg.sender is the recipient of this airdrop
        require(msg.sender == recipient, "The reward recipient should be the transaction sender");

        // Make sure the tokens have not already been redeemed
        (uint256 redeemedBlock, uint256 redeemedMask) = redeemed(index);
        _redeemed[index / 256] = redeemedBlock | redeemedMask;

        // Compute the merkle leaf from index, recipient and amount
        bytes32 leaf = keccak256(abi.encodePacked(index, recipient, amount));
        // verify the proof is valid
        require(MerkleProof.verify(merkleProof, root, leaf), "Proof is not valid");
        // Redeem!
        token.transfer(recipient, amount);
    }

    function recoverToken() external onlyOwner {
        token.transfer(msg.sender, token.balanceOf(address(this)));
    }
}

File 2 of 5 : IERC20.sol
// SPDX-License-Identifier: MIT

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 3 of 5 : Ownable.sol
// SPDX-License-Identifier: MIT

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 () {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), 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 {
        emit OwnershipTransferred(_owner, address(0));
        _owner = 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");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

File 4 of 5 : MerkleProof.sol
// SPDX-License-Identifier: MIT

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) {
        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));
            }
        }

        // Check if the computed hash (root) is equal to the provided root
        return computedHash == root;
    }
}

File 5 of 5 : Context.sol
// SPDX-License-Identifier: MIT

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) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"contract IERC20","name":"_token","type":"address"},{"internalType":"bytes32","name":"_root","type":"bytes32"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"recoverToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"redeem","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"redeemed","outputs":[{"internalType":"uint256","name":"redeemedBlock","type":"uint256"},{"internalType":"uint256","name":"redeemedMask","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b50604051620013e3380380620013e383398181016040528101906200003791906200016d565b6000620000496200013760201b60201c565b9050806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35081600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600281905550505062000234565b600033905090565b600081519050620001508162000200565b92915050565b60008151905062000167816200021a565b92915050565b600080604083850312156200018157600080fd5b6000620001918582860162000156565b9250506020620001a4858286016200013f565b9150509250929050565b6000620001bb82620001e0565b9050919050565b6000819050919050565b6000620001d982620001ae565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6200020b81620001c2565b81146200021757600080fd5b50565b6200022581620001cc565b81146200023157600080fd5b50565b61119f80620002446000396000f3fe608060405234801561001057600080fd5b50600436106100625760003560e01c80635f867d4e14610067578063715018a6146100715780637ed0f1c11461007b5780638da5cb5b146100ac578063e7ef921a146100ca578063f2fde38b146100e6575b600080fd5b61006f610102565b005b6100796102da565b005b61009560048036038101906100909190610a78565b610414565b6040516100a3929190610ea7565b60405180910390f35b6100b4610498565b6040516100c19190610dc3565b60405180910390f35b6100e460048036038101906100df9190610aca565b6104c1565b005b61010060048036038101906100fb9190610a26565b61069a565b005b61010a610843565b73ffffffffffffffffffffffffffffffffffffffff16610128610498565b73ffffffffffffffffffffffffffffffffffffffff161461017e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161017590610e67565b60405180910390fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016102189190610dc3565b60206040518083038186803b15801561023057600080fd5b505afa158015610244573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102689190610aa1565b6040518363ffffffff1660e01b8152600401610285929190610dde565b602060405180830381600087803b15801561029f57600080fd5b505af11580156102b3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102d79190610a4f565b50565b6102e2610843565b73ffffffffffffffffffffffffffffffffffffffff16610300610498565b73ffffffffffffffffffffffffffffffffffffffff1614610356576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161034d90610e67565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b60008060036000610100856104299190610f3e565b8152602001908152602001600020549150610100836104489190611042565b6001901b9050600081831614610493576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161048a90610e27565b60405180910390fd5b915091565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b8273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461052f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161052690610e87565b60405180910390fd5b60008061053b86610414565b9150915080821760036000610100896105549190610f3e565b815260200190815260200160002081905550600086868660405160200161057d93929190610d86565b6040516020818303038152906040528051906020012090506105a2846002548361084b565b6105e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105d890610e47565b60405180910390fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb87876040518363ffffffff1660e01b815260040161063e929190610dde565b602060405180830381600087803b15801561065857600080fd5b505af115801561066c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106909190610a4f565b5050505050505050565b6106a2610843565b73ffffffffffffffffffffffffffffffffffffffff166106c0610498565b73ffffffffffffffffffffffffffffffffffffffff1614610716576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161070d90610e67565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610786576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161077d90610e07565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600033905090565b60008082905060005b8551811015610919576000868281518110610898577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015190508083116108d95782816040516020016108bc929190610d5a565b604051602081830303815290604052805190602001209250610905565b80836040516020016108ec929190610d5a565b6040516020818303038152906040528051906020012092505b50808061091190610fc1565b915050610854565b508381149150509392505050565b600061093a61093584610f01565b610ed0565b9050808382526020820190508285602086028201111561095957600080fd5b60005b85811015610989578161096f88826109e7565b84526020840193506020830192505060018101905061095c565b5050509392505050565b6000813590506109a28161110d565b92915050565b600082601f8301126109b957600080fd5b81356109c9848260208601610927565b91505092915050565b6000815190506109e181611124565b92915050565b6000813590506109f68161113b565b92915050565b600081359050610a0b81611152565b92915050565b600081519050610a2081611152565b92915050565b600060208284031215610a3857600080fd5b6000610a4684828501610993565b91505092915050565b600060208284031215610a6157600080fd5b6000610a6f848285016109d2565b91505092915050565b600060208284031215610a8a57600080fd5b6000610a98848285016109fc565b91505092915050565b600060208284031215610ab357600080fd5b6000610ac184828501610a11565b91505092915050565b60008060008060808587031215610ae057600080fd5b6000610aee878288016109fc565b9450506020610aff87828801610993565b9350506040610b10878288016109fc565b925050606085013567ffffffffffffffff811115610b2d57600080fd5b610b39878288016109a8565b91505092959194509250565b610b4e81610f6f565b82525050565b610b65610b6082610f6f565b61100a565b82525050565b610b7c610b7782610f8d565b61101c565b82525050565b6000610b8f602683610f2d565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000610bf5602183610f2d565b91507f546f6b656e73206861766520616c7265616479206265656e2072656465656d6560008301527f64000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000610c5b601283610f2d565b91507f50726f6f66206973206e6f742076616c696400000000000000000000000000006000830152602082019050919050565b6000610c9b602083610f2d565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b6000610cdb603583610f2d565b91507f5468652072657761726420726563697069656e742073686f756c64206265207460008301527f6865207472616e73616374696f6e2073656e64657200000000000000000000006020830152604082019050919050565b610d3d81610fb7565b82525050565b610d54610d4f82610fb7565b611038565b82525050565b6000610d668285610b6b565b602082019150610d768284610b6b565b6020820191508190509392505050565b6000610d928286610d43565b602082019150610da28285610b54565b601482019150610db28284610d43565b602082019150819050949350505050565b6000602082019050610dd86000830184610b45565b92915050565b6000604082019050610df36000830185610b45565b610e006020830184610d34565b9392505050565b60006020820190508181036000830152610e2081610b82565b9050919050565b60006020820190508181036000830152610e4081610be8565b9050919050565b60006020820190508181036000830152610e6081610c4e565b9050919050565b60006020820190508181036000830152610e8081610c8e565b9050919050565b60006020820190508181036000830152610ea081610cce565b9050919050565b6000604082019050610ebc6000830185610d34565b610ec96020830184610d34565b9392505050565b6000604051905081810181811067ffffffffffffffff82111715610ef757610ef66110d1565b5b8060405250919050565b600067ffffffffffffffff821115610f1c57610f1b6110d1565b5b602082029050602081019050919050565b600082825260208201905092915050565b6000610f4982610fb7565b9150610f5483610fb7565b925082610f6457610f636110a2565b5b828204905092915050565b6000610f7a82610f97565b9050919050565b60008115159050919050565b6000819050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b6000610fcc82610fb7565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415610fff57610ffe611073565b5b600182019050919050565b600061101582611026565b9050919050565b6000819050919050565b600061103182611100565b9050919050565b6000819050919050565b600061104d82610fb7565b915061105883610fb7565b925082611068576110676110a2565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60008160601b9050919050565b61111681610f6f565b811461112157600080fd5b50565b61112d81610f81565b811461113857600080fd5b50565b61114481610f8d565b811461114f57600080fd5b50565b61115b81610fb7565b811461116657600080fd5b5056fea2646970667358221220b26dfa81ac40dcd23cc4bee6425bddc72122b9cf1e0de035a0f21706dcda2eec64736f6c634300080000330000000000000000000000007f3edcdd180dbe4819bd98fee8929b5cedb3adeb7b0ff3b42cf12846cff5e52d03721239d512b302f84c55a871226adeec5047b8

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100625760003560e01c80635f867d4e14610067578063715018a6146100715780637ed0f1c11461007b5780638da5cb5b146100ac578063e7ef921a146100ca578063f2fde38b146100e6575b600080fd5b61006f610102565b005b6100796102da565b005b61009560048036038101906100909190610a78565b610414565b6040516100a3929190610ea7565b60405180910390f35b6100b4610498565b6040516100c19190610dc3565b60405180910390f35b6100e460048036038101906100df9190610aca565b6104c1565b005b61010060048036038101906100fb9190610a26565b61069a565b005b61010a610843565b73ffffffffffffffffffffffffffffffffffffffff16610128610498565b73ffffffffffffffffffffffffffffffffffffffff161461017e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161017590610e67565b60405180910390fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016102189190610dc3565b60206040518083038186803b15801561023057600080fd5b505afa158015610244573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102689190610aa1565b6040518363ffffffff1660e01b8152600401610285929190610dde565b602060405180830381600087803b15801561029f57600080fd5b505af11580156102b3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102d79190610a4f565b50565b6102e2610843565b73ffffffffffffffffffffffffffffffffffffffff16610300610498565b73ffffffffffffffffffffffffffffffffffffffff1614610356576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161034d90610e67565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b60008060036000610100856104299190610f3e565b8152602001908152602001600020549150610100836104489190611042565b6001901b9050600081831614610493576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161048a90610e27565b60405180910390fd5b915091565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b8273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461052f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161052690610e87565b60405180910390fd5b60008061053b86610414565b9150915080821760036000610100896105549190610f3e565b815260200190815260200160002081905550600086868660405160200161057d93929190610d86565b6040516020818303038152906040528051906020012090506105a2846002548361084b565b6105e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105d890610e47565b60405180910390fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb87876040518363ffffffff1660e01b815260040161063e929190610dde565b602060405180830381600087803b15801561065857600080fd5b505af115801561066c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106909190610a4f565b5050505050505050565b6106a2610843565b73ffffffffffffffffffffffffffffffffffffffff166106c0610498565b73ffffffffffffffffffffffffffffffffffffffff1614610716576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161070d90610e67565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610786576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161077d90610e07565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600033905090565b60008082905060005b8551811015610919576000868281518110610898577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015190508083116108d95782816040516020016108bc929190610d5a565b604051602081830303815290604052805190602001209250610905565b80836040516020016108ec929190610d5a565b6040516020818303038152906040528051906020012092505b50808061091190610fc1565b915050610854565b508381149150509392505050565b600061093a61093584610f01565b610ed0565b9050808382526020820190508285602086028201111561095957600080fd5b60005b85811015610989578161096f88826109e7565b84526020840193506020830192505060018101905061095c565b5050509392505050565b6000813590506109a28161110d565b92915050565b600082601f8301126109b957600080fd5b81356109c9848260208601610927565b91505092915050565b6000815190506109e181611124565b92915050565b6000813590506109f68161113b565b92915050565b600081359050610a0b81611152565b92915050565b600081519050610a2081611152565b92915050565b600060208284031215610a3857600080fd5b6000610a4684828501610993565b91505092915050565b600060208284031215610a6157600080fd5b6000610a6f848285016109d2565b91505092915050565b600060208284031215610a8a57600080fd5b6000610a98848285016109fc565b91505092915050565b600060208284031215610ab357600080fd5b6000610ac184828501610a11565b91505092915050565b60008060008060808587031215610ae057600080fd5b6000610aee878288016109fc565b9450506020610aff87828801610993565b9350506040610b10878288016109fc565b925050606085013567ffffffffffffffff811115610b2d57600080fd5b610b39878288016109a8565b91505092959194509250565b610b4e81610f6f565b82525050565b610b65610b6082610f6f565b61100a565b82525050565b610b7c610b7782610f8d565b61101c565b82525050565b6000610b8f602683610f2d565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000610bf5602183610f2d565b91507f546f6b656e73206861766520616c7265616479206265656e2072656465656d6560008301527f64000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000610c5b601283610f2d565b91507f50726f6f66206973206e6f742076616c696400000000000000000000000000006000830152602082019050919050565b6000610c9b602083610f2d565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b6000610cdb603583610f2d565b91507f5468652072657761726420726563697069656e742073686f756c64206265207460008301527f6865207472616e73616374696f6e2073656e64657200000000000000000000006020830152604082019050919050565b610d3d81610fb7565b82525050565b610d54610d4f82610fb7565b611038565b82525050565b6000610d668285610b6b565b602082019150610d768284610b6b565b6020820191508190509392505050565b6000610d928286610d43565b602082019150610da28285610b54565b601482019150610db28284610d43565b602082019150819050949350505050565b6000602082019050610dd86000830184610b45565b92915050565b6000604082019050610df36000830185610b45565b610e006020830184610d34565b9392505050565b60006020820190508181036000830152610e2081610b82565b9050919050565b60006020820190508181036000830152610e4081610be8565b9050919050565b60006020820190508181036000830152610e6081610c4e565b9050919050565b60006020820190508181036000830152610e8081610c8e565b9050919050565b60006020820190508181036000830152610ea081610cce565b9050919050565b6000604082019050610ebc6000830185610d34565b610ec96020830184610d34565b9392505050565b6000604051905081810181811067ffffffffffffffff82111715610ef757610ef66110d1565b5b8060405250919050565b600067ffffffffffffffff821115610f1c57610f1b6110d1565b5b602082029050602081019050919050565b600082825260208201905092915050565b6000610f4982610fb7565b9150610f5483610fb7565b925082610f6457610f636110a2565b5b828204905092915050565b6000610f7a82610f97565b9050919050565b60008115159050919050565b6000819050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b6000610fcc82610fb7565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415610fff57610ffe611073565b5b600182019050919050565b600061101582611026565b9050919050565b6000819050919050565b600061103182611100565b9050919050565b6000819050919050565b600061104d82610fb7565b915061105883610fb7565b925082611068576110676110a2565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60008160601b9050919050565b61111681610f6f565b811461112157600080fd5b50565b61112d81610f81565b811461113857600080fd5b50565b61114481610f8d565b811461114f57600080fd5b50565b61115b81610fb7565b811461116657600080fd5b5056fea2646970667358221220b26dfa81ac40dcd23cc4bee6425bddc72122b9cf1e0de035a0f21706dcda2eec64736f6c63430008000033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

0000000000000000000000007f3edcdd180dbe4819bd98fee8929b5cedb3adeb7b0ff3b42cf12846cff5e52d03721239d512b302f84c55a871226adeec5047b8

-----Decoded View---------------
Arg [0] : _token (address): 0x7F3EDcdD180Dbe4819Bd98FeE8929b5cEdB3AdEB
Arg [1] : _root (bytes32): 0x7b0ff3b42cf12846cff5e52d03721239d512b302f84c55a871226adeec5047b8

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 0000000000000000000000007f3edcdd180dbe4819bd98fee8929b5cedb3adeb
Arg [1] : 7b0ff3b42cf12846cff5e52d03721239d512b302f84c55a871226adeec5047b8


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.