ETH Price: $3,799.77 (-2.01%)
Gas: 7 Gwei

Contract

0xdbc3088Dfebc3cc6A84B0271DaDe2696DB00Af38
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Value
Claim Weeks199746692024-05-29 9:37:1122 mins ago1716975431IN
Kleros Curate: PNK Merkle Drop
0 ETH0.0085803610.62602203
Claim Weeks199437032024-05-25 1:46:234 days ago1716601583IN
Kleros Curate: PNK Merkle Drop
0 ETH0.001863294.53777237
Claim Weeks199419052024-05-24 19:44:114 days ago1716579851IN
Kleros Curate: PNK Merkle Drop
0 ETH0.009140756.58303176
Claim Weeks199347722024-05-23 19:49:235 days ago1716493763IN
Kleros Curate: PNK Merkle Drop
0 ETH0.0019381512.11716471
Claim Weeks199318802024-05-23 10:06:595 days ago1716458819IN
Kleros Curate: PNK Merkle Drop
0 ETH0.001584718.12222608
Claim Weeks199303472024-05-23 4:58:596 days ago1716440339IN
Kleros Curate: PNK Merkle Drop
0 ETH0.003477763.79322979
Claim Weeks199125862024-05-20 17:20:478 days ago1716225647IN
Kleros Curate: PNK Merkle Drop
0 ETH0.0035717722.32739039
Claim Weeks199110242024-05-20 12:05:358 days ago1716206735IN
Kleros Curate: PNK Merkle Drop
0 ETH0.001077535.49741707
Claim Weeks199106632024-05-20 10:53:118 days ago1716202391IN
Kleros Curate: PNK Merkle Drop
0 ETH0.010920987.47756408
Claim Weeks199067932024-05-19 21:53:479 days ago1716155627IN
Kleros Curate: PNK Merkle Drop
0 ETH0.001493662.87790854
Claim Weeks198939612024-05-18 2:49:1111 days ago1716000551IN
Kleros Curate: PNK Merkle Drop
0 ETH0.00331682.92116077
Claim Weeks198639112024-05-13 21:54:3515 days ago1715637275IN
Kleros Curate: PNK Merkle Drop
0 ETH0.000699764.4000003
Claim Weeks198508102024-05-12 1:57:1117 days ago1715479031IN
Kleros Curate: PNK Merkle Drop
0 ETH0.00063773.98654788
Claim Weeks198507272024-05-12 1:40:1117 days ago1715478011IN
Kleros Curate: PNK Merkle Drop
0 ETH0.000436962.78278587
Claim Weeks198506892024-05-12 1:32:3517 days ago1715477555IN
Kleros Curate: PNK Merkle Drop
0 ETH0.000535883.41273639
Claim Weeks198466102024-05-11 11:52:2317 days ago1715428343IN
Kleros Curate: PNK Merkle Drop
0 ETH0.002401855.39838664
Claim Weeks198409012024-05-10 16:42:5918 days ago1715359379IN
Kleros Curate: PNK Merkle Drop
0 ETH0.001076876.73160275
Claim Weeks198404352024-05-10 15:08:4718 days ago1715353727IN
Kleros Curate: PNK Merkle Drop
0 ETH0.0035510211.82283649
Claim Weeks198251042024-05-08 11:40:2320 days ago1715168423IN
Kleros Curate: PNK Merkle Drop
0 ETH0.000885194.51697014
Claim Weeks198215812024-05-07 23:51:3521 days ago1715125895IN
Kleros Curate: PNK Merkle Drop
0 ETH0.000632164.12226524
Claim Weeks198142802024-05-06 23:20:1122 days ago1715037611IN
Kleros Curate: PNK Merkle Drop
0 ETH0.000624523.90474496
Seed Allocations197888762024-05-03 10:04:5925 days ago1714730699IN
Kleros Curate: PNK Merkle Drop
0 ETH0.000948556.22565481
Transfer Ownersh...197713172024-04-30 23:11:2328 days ago1714518683IN
Kleros Curate: PNK Merkle Drop
0 ETH0.000164035.69283239
Claim Weeks197528242024-04-28 9:08:3531 days ago1714295315IN
Kleros Curate: PNK Merkle Drop
0 ETH0.001744717.57685253
Claim Weeks197197032024-04-23 17:52:3535 days ago1713894755IN
Kleros Curate: PNK Merkle Drop
0 ETH0.0034994615.07953281
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:
MerkleRedeem

Compiler Version
v0.6.8+commit.0bbfe453

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license
File 1 of 5 : MerkleRedeem.sol
// SPDX-License-Identifier: MIT

/**
 * Original code taken from: https://github.com/balancer-labs/erc20-redeemable/blob/13d478a043ec7bfce7abefe708d027dfe3e2ea84/merkle/contracts/MerkleRedeem.sol
 * Only comments and events were added, some variable names changed for clarity and the compiler version was upgraded to 0.7.x.
 *
 * @reviewers: [@hbarcelos]
 * @auditors: []
 * @bounties: []
 * @deployments: []
 */
pragma solidity 0.6.8;
pragma experimental ABIEncoderV2;

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

/**
 * @title Distribution of tokens in a recurrent fashion.
 */
contract MerkleRedeem is Ownable {
    /// @dev The address of the token being distributed.
    IERC20 public token;

    /**
     * @dev To be emitted when a claim is made.
     * @param _claimant The address of the claimant.
     * @param _balance The amount being claimed.
     */
    event Claimed(address _claimant, uint256 _balance);

    /// @dev The merkle roots of each week. weekMerkleRoots[week].
    mapping(uint => bytes32) public weekMerkleRoots;

    /// @dev Keeps track of the claim status for the given period and claimant. claimed[period][claimant].
    mapping(uint => mapping(address => bool)) public claimed;

    /**
     * @param _token The address of the token being distributed.
     */
    constructor(
        address _token
    ) public {
        token = IERC20(_token);
    }

    /**
     * @dev Effectively pays a claimant.
     * @param _liquidityProvider The address of the claimant.
     * @param _balance The amount being claimed.
     */
    function disburse(
        address _liquidityProvider,
        uint _balance
    )
        private
    {
        if (_balance > 0) {
            emit Claimed(_liquidityProvider, _balance);
            require(token.transfer(_liquidityProvider, _balance), "ERR_TRANSFER_FAILED");
        }
    }

    /**
     * @notice Makes a claim for a given claimant in a week.
     * @param _liquidityProvider The address of the claimant.
     * @param _week The week for the claim.
     * @param _claimedBalance The amount being claimed.
     * @param _merkleProof The merkle proof for the claim, sorted from the leaf to the root of the tree.
     */
    function claimWeek(
        address _liquidityProvider,
        uint _week,
        uint _claimedBalance,
        bytes32[] memory _merkleProof
    )
        public
    {
        require(!claimed[_week][_liquidityProvider]);
        require(verifyClaim(_liquidityProvider, _week, _claimedBalance, _merkleProof), 'Incorrect merkle proof');

        claimed[_week][_liquidityProvider] = true;
        disburse(_liquidityProvider, _claimedBalance);
    }

    struct Claim {
        // The week the claim is related to.
        uint week;
        // The amount being claimed.
        uint balance;
        // The merkle proof for the claim, sorted from the leaf to the root of the tree.
        bytes32[] merkleProof;
    }

    /**
     * @notice Makes multiple claims for a given claimant.
     * @param _liquidityProvider The address of the claimant.
     * @param claims An array of claims containing the week, balance and the merkle proof.
     */
    function claimWeeks(
        address _liquidityProvider,
        Claim[] memory claims
    )
        public
    {
        uint totalBalance = 0;
        Claim memory claim ;
        for(uint i = 0; i < claims.length; i++) {
            claim = claims[i];

            require(!claimed[claim.week][_liquidityProvider]);
            require(verifyClaim(_liquidityProvider, claim.week, claim.balance, claim.merkleProof), 'Incorrect merkle proof');

            totalBalance += claim.balance;
            claimed[claim.week][_liquidityProvider] = true;
        }
        disburse(_liquidityProvider, totalBalance);
    }

    /**
     * @notice Gets the claim status for given claimant from `_begin` to `_end` weeks.
     * @param _liquidityProvider The address of the claimant.
     * @param _begin The week to start with (inclusive).
     * @param _end The week to end with (inclusive).
     */
    function claimStatus(
        address _liquidityProvider,
        uint _begin,
        uint _end
    )
        external
        view
        returns (bool[] memory)
    {
        uint size = 1 + _end - _begin;
        bool[] memory arr = new bool[](size);
        for(uint i = 0; i < size; i++) {
            arr[i] = claimed[_begin + i][_liquidityProvider];
        }
        return arr;
    }

    /**
     * @notice Gets all merkle roots for from `_begin` to `_end` weeks.
     * @param _begin The week to start with (inclusive).
     * @param _end The week to end with (inclusive).
     */
    function merkleRoots(
        uint _begin,
        uint _end
    )
        external
        view
        returns (bytes32[] memory)
    {
        uint size = 1 + _end - _begin;
        bytes32[] memory arr = new bytes32[](size);
        for(uint i = 0; i < size; i++) {
            arr[i] = weekMerkleRoots[_begin + i];
        }
        return arr;
    }

    /**
     * @notice Verifies a claim.
     * @param _liquidityProvider The address of the claimant.
     * @param _week The week for the claim.
     * @param _claimedBalance The amount being claimed.
     * @param _merkleProof The merkle proof for the claim, sorted from the leaf to the root of the tree.
     */
    function verifyClaim(
        address _liquidityProvider,
        uint _week,
        uint _claimedBalance,
        bytes32[] memory _merkleProof
    )
        public
        view
        returns (bool valid)
    {
        bytes32 leaf = keccak256(abi.encodePacked(_liquidityProvider, _claimedBalance));
        return MerkleProof.verify(_merkleProof, weekMerkleRoots[_week], leaf);
    }

    /**
     * @notice Seeds a new round for the airdrop.
     * @dev Will transfer tokens from the owner to this contract.
     * @param _week The airdrop week.
     * @param _merkleRoot The merkle root of the claims for that period.
     * @param _totalAllocation The amount of tokens allocated for the distribution.
     */
    function seedAllocations(
        uint _week,
        bytes32 _merkleRoot,
        uint _totalAllocation
    )
        external
        onlyOwner
    {
        require(weekMerkleRoots[_week] == bytes32(0), "cannot rewrite merkle root");
        weekMerkleRoots[_week] = _merkleRoot;

        require(token.transferFrom(msg.sender, address(this), _totalAllocation), "ERR_TRANSFER_FAILED");
    }
}

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

pragma solidity >=0.6.0 <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 () internal {
        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 3 of 5 : MerkleProof.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

/**
 * @dev These functions deal with verification of Merkle trees (hash trees),
 */
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 4 of 5 : IERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <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 5 of 5 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <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 GSN 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 payable) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes memory) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

Settings
{
  "evmVersion": "istanbul",
  "libraries": {},
  "metadata": {
    "bytecodeHash": "ipfs",
    "useLiteralContent": true
  },
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "remappings": [],
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_token","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_claimant","type":"address"},{"indexed":false,"internalType":"uint256","name":"_balance","type":"uint256"}],"name":"Claimed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[{"internalType":"address","name":"_liquidityProvider","type":"address"},{"internalType":"uint256","name":"_begin","type":"uint256"},{"internalType":"uint256","name":"_end","type":"uint256"}],"name":"claimStatus","outputs":[{"internalType":"bool[]","name":"","type":"bool[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_liquidityProvider","type":"address"},{"internalType":"uint256","name":"_week","type":"uint256"},{"internalType":"uint256","name":"_claimedBalance","type":"uint256"},{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"claimWeek","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_liquidityProvider","type":"address"},{"components":[{"internalType":"uint256","name":"week","type":"uint256"},{"internalType":"uint256","name":"balance","type":"uint256"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"internalType":"struct MerkleRedeem.Claim[]","name":"claims","type":"tuple[]"}],"name":"claimWeeks","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"address","name":"","type":"address"}],"name":"claimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_begin","type":"uint256"},{"internalType":"uint256","name":"_end","type":"uint256"}],"name":"merkleRoots","outputs":[{"internalType":"bytes32[]","name":"","type":"bytes32[]"}],"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":"uint256","name":"_week","type":"uint256"},{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"},{"internalType":"uint256","name":"_totalAllocation","type":"uint256"}],"name":"seedAllocations","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"token","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_liquidityProvider","type":"address"},{"internalType":"uint256","name":"_week","type":"uint256"},{"internalType":"uint256","name":"_claimedBalance","type":"uint256"},{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"verifyClaim","outputs":[{"internalType":"bool","name":"valid","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"weekMerkleRoots","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"}]

608060405234801561001057600080fd5b50604051610fbf380380610fbf83398101604081905261002f916100b5565b60006100426001600160e01b036100b116565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600180546001600160a01b0319166001600160a01b03929092169190911790556100e3565b3390565b6000602082840312156100c6578081fd5b81516001600160a01b03811681146100dc578182fd5b9392505050565b610ecd806100f26000396000f3fe608060405234801561001057600080fd5b50600436106100b45760003560e01c80638da5cb5b116100715780638da5cb5b14610152578063c804c39a14610167578063dd8c9c9d1461017a578063eb0d07f51461019a578063f2fde38b146101ad578063fc0c546a146101c0576100b4565b8063120aa877146100b957806339436b00146100e257806347fb23c1146101025780634cd488ab1461012257806358b4e4b414610137578063715018a61461014a575b600080fd5b6100cc6100c7366004610bb6565b6101c8565b6040516100d99190610d2d565b60405180910390f35b6100f56100f0366004610c0d565b6101e8565b6040516100d99190610cf5565b610115610110366004610aeb565b61027e565b6040516100d99190610caf565b610135610130366004610be2565b610332565b005b610135610145366004610b1e565b61045f565b6101356104f4565b61015a61057d565b6040516100d99190610c5e565b610135610175366004610a4d565b61058c565b61018d610188366004610b9e565b61066d565b6040516100d99190610d38565b6100cc6101a8366004610b1e565b61067f565b6101356101bb366004610a2b565b6106d5565b61015a610795565b600360209081526000928352604080842090915290825290205460ff1681565b6060828203600101818167ffffffffffffffff8111801561020857600080fd5b50604051908082528060200260200182016040528015610232578160200160208202803683370190505b50905060005b8281101561027357858101600090815260026020526040902054825183908390811061026057fe5b6020908102919091010152600101610238565b509150505b92915050565b6060828203600101818167ffffffffffffffff8111801561029e57600080fd5b506040519080825280602002602001820160405280156102c8578160200160208202803683370190505b50905060005b828110156103285785810160009081526003602090815260408083206001600160a01b038b168452909152902054825160ff9091169083908390811061031057fe5b911515602092830291909101909101526001016102ce565b5095945050505050565b61033a6107a4565b6001600160a01b031661034b61057d565b6001600160a01b03161461037a5760405162461bcd60e51b815260040161037190610db7565b60405180910390fd5b600083815260026020526040902054156103a65760405162461bcd60e51b815260040161037190610e19565b6000838152600260205260409081902083905560015490516323b872dd60e01b81526001600160a01b03909116906323b872dd906103ec90339030908690600401610c72565b602060405180830381600087803b15801561040657600080fd5b505af115801561041a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061043e9190610b7e565b61045a5760405162461bcd60e51b815260040161037190610dec565b505050565b60008381526003602090815260408083206001600160a01b038816845290915290205460ff161561048f57600080fd5b61049b8484848461067f565b6104b75760405162461bcd60e51b815260040161037190610d87565b60008381526003602090815260408083206001600160a01b03881684529091529020805460ff191660011790556104ee84836107a8565b50505050565b6104fc6107a4565b6001600160a01b031661050d61057d565b6001600160a01b0316146105335760405162461bcd60e51b815260040161037190610db7565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031690565b6000610596610928565b60005b8351811015610662578381815181106105ae57fe5b602090810291909101810151805160009081526003835260408082206001600160a01b038a168352909352919091205490925060ff16156105ee57600080fd5b6106068583600001518460200151856040015161067f565b6106225760405162461bcd60e51b815260040161037190610d87565b602080830151835160009081526003835260408082206001600160a01b038a16835290935291909120805460ff1916600190811790915593019201610599565b506104ee84836107a8565b60026020526000908152604090205481565b6000808584604051602001610695929190610c2e565b6040516020818303038152906040528051906020012090506106cb8360026000888152602001908152602001600020548361088b565b9695505050505050565b6106dd6107a4565b6001600160a01b03166106ee61057d565b6001600160a01b0316146107145760405162461bcd60e51b815260040161037190610db7565b6001600160a01b03811661073a5760405162461bcd60e51b815260040161037190610d41565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6001546001600160a01b031681565b3390565b8015610887577fd8138f8a3f377c5259ca548e70e4c2de94f129f5a11036a15b69513cba2b426a82826040516107df929190610c96565b60405180910390a160015460405163a9059cbb60e01b81526001600160a01b039091169063a9059cbb906108199085908590600401610c96565b602060405180830381600087803b15801561083357600080fd5b505af1158015610847573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061086b9190610b7e565b6108875760405162461bcd60e51b815260040161037190610dec565b5050565b600081815b855181101561091d5760008682815181106108a757fe5b602002602001015190508083116108e85782816040516020016108cb929190610c50565b604051602081830303815290604052805190602001209250610914565b80836040516020016108fb929190610c50565b6040516020818303038152906040528051906020012092505b50600101610890565b509092149392505050565b60405180606001604052806000815260200160008152602001606081525090565b80356001600160a01b038116811461027857600080fd5b600082601f830112610970578081fd5b813561098361097e82610e77565b610e50565b8181529150602080830190848101818402860182018710156109a457600080fd5b60005b848110156109c3578135845292820192908201906001016109a7565b505050505092915050565b6000606082840312156109df578081fd5b6109e96060610e50565b90508135815260208201356020820152604082013567ffffffffffffffff811115610a1357600080fd5b610a1f84828501610960565b60408301525092915050565b600060208284031215610a3c578081fd5b610a468383610949565b9392505050565b60008060408385031215610a5f578081fd5b610a698484610949565b915060208084013567ffffffffffffffff811115610a85578283fd5b80850186601f820112610a96578384fd5b80359150610aa661097e83610e77565b82815283810190828501865b85811015610adb57610ac98b8884358801016109ce565b84529286019290860190600101610ab2565b5096999098509650505050505050565b600080600060608486031215610aff578081fd5b610b098585610949565b95602085013595506040909401359392505050565b60008060008060808587031215610b33578081fd5b610b3d8686610949565b93506020850135925060408501359150606085013567ffffffffffffffff811115610b66578182fd5b610b7287828801610960565b91505092959194509250565b600060208284031215610b8f578081fd5b81518015158114610a46578182fd5b600060208284031215610baf578081fd5b5035919050565b60008060408385031215610bc8578182fd5b82359150610bd98460208501610949565b90509250929050565b600080600060608486031215610bf6578283fd5b505081359360208301359350604090920135919050565b60008060408385031215610c1f578182fd5b50508035926020909101359150565b60609290921b6bffffffffffffffffffffffff19168252601482015260340190565b918252602082015260400190565b6001600160a01b0391909116815260200190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b6001600160a01b03929092168252602082015260400190565b6020808252825182820181905260009190848201906040850190845b81811015610ce9578351151583529284019291840191600101610ccb565b50909695505050505050565b6020808252825182820181905260009190848201906040850190845b81811015610ce957835183529284019291840191600101610d11565b901515815260200190565b90815260200190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b60208082526016908201527524b731b7b93932b1ba1036b2b935b63290383937b7b360511b604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526013908201527211549497d514905394d1915497d19052531151606a1b604082015260600190565b6020808252601a908201527f63616e6e6f742072657772697465206d65726b6c6520726f6f74000000000000604082015260600190565b60405181810167ffffffffffffffff81118282101715610e6f57600080fd5b604052919050565b600067ffffffffffffffff821115610e8d578081fd5b506020908102019056fea2646970667358221220296eac005c7f95edb24611c66f89fda0554fdb45eefce851f379d955ac72932064736f6c6343000608003300000000000000000000000093ed3fbe21207ec2e8f2d3c3de6e058cb73bc04d

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100b45760003560e01c80638da5cb5b116100715780638da5cb5b14610152578063c804c39a14610167578063dd8c9c9d1461017a578063eb0d07f51461019a578063f2fde38b146101ad578063fc0c546a146101c0576100b4565b8063120aa877146100b957806339436b00146100e257806347fb23c1146101025780634cd488ab1461012257806358b4e4b414610137578063715018a61461014a575b600080fd5b6100cc6100c7366004610bb6565b6101c8565b6040516100d99190610d2d565b60405180910390f35b6100f56100f0366004610c0d565b6101e8565b6040516100d99190610cf5565b610115610110366004610aeb565b61027e565b6040516100d99190610caf565b610135610130366004610be2565b610332565b005b610135610145366004610b1e565b61045f565b6101356104f4565b61015a61057d565b6040516100d99190610c5e565b610135610175366004610a4d565b61058c565b61018d610188366004610b9e565b61066d565b6040516100d99190610d38565b6100cc6101a8366004610b1e565b61067f565b6101356101bb366004610a2b565b6106d5565b61015a610795565b600360209081526000928352604080842090915290825290205460ff1681565b6060828203600101818167ffffffffffffffff8111801561020857600080fd5b50604051908082528060200260200182016040528015610232578160200160208202803683370190505b50905060005b8281101561027357858101600090815260026020526040902054825183908390811061026057fe5b6020908102919091010152600101610238565b509150505b92915050565b6060828203600101818167ffffffffffffffff8111801561029e57600080fd5b506040519080825280602002602001820160405280156102c8578160200160208202803683370190505b50905060005b828110156103285785810160009081526003602090815260408083206001600160a01b038b168452909152902054825160ff9091169083908390811061031057fe5b911515602092830291909101909101526001016102ce565b5095945050505050565b61033a6107a4565b6001600160a01b031661034b61057d565b6001600160a01b03161461037a5760405162461bcd60e51b815260040161037190610db7565b60405180910390fd5b600083815260026020526040902054156103a65760405162461bcd60e51b815260040161037190610e19565b6000838152600260205260409081902083905560015490516323b872dd60e01b81526001600160a01b03909116906323b872dd906103ec90339030908690600401610c72565b602060405180830381600087803b15801561040657600080fd5b505af115801561041a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061043e9190610b7e565b61045a5760405162461bcd60e51b815260040161037190610dec565b505050565b60008381526003602090815260408083206001600160a01b038816845290915290205460ff161561048f57600080fd5b61049b8484848461067f565b6104b75760405162461bcd60e51b815260040161037190610d87565b60008381526003602090815260408083206001600160a01b03881684529091529020805460ff191660011790556104ee84836107a8565b50505050565b6104fc6107a4565b6001600160a01b031661050d61057d565b6001600160a01b0316146105335760405162461bcd60e51b815260040161037190610db7565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031690565b6000610596610928565b60005b8351811015610662578381815181106105ae57fe5b602090810291909101810151805160009081526003835260408082206001600160a01b038a168352909352919091205490925060ff16156105ee57600080fd5b6106068583600001518460200151856040015161067f565b6106225760405162461bcd60e51b815260040161037190610d87565b602080830151835160009081526003835260408082206001600160a01b038a16835290935291909120805460ff1916600190811790915593019201610599565b506104ee84836107a8565b60026020526000908152604090205481565b6000808584604051602001610695929190610c2e565b6040516020818303038152906040528051906020012090506106cb8360026000888152602001908152602001600020548361088b565b9695505050505050565b6106dd6107a4565b6001600160a01b03166106ee61057d565b6001600160a01b0316146107145760405162461bcd60e51b815260040161037190610db7565b6001600160a01b03811661073a5760405162461bcd60e51b815260040161037190610d41565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6001546001600160a01b031681565b3390565b8015610887577fd8138f8a3f377c5259ca548e70e4c2de94f129f5a11036a15b69513cba2b426a82826040516107df929190610c96565b60405180910390a160015460405163a9059cbb60e01b81526001600160a01b039091169063a9059cbb906108199085908590600401610c96565b602060405180830381600087803b15801561083357600080fd5b505af1158015610847573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061086b9190610b7e565b6108875760405162461bcd60e51b815260040161037190610dec565b5050565b600081815b855181101561091d5760008682815181106108a757fe5b602002602001015190508083116108e85782816040516020016108cb929190610c50565b604051602081830303815290604052805190602001209250610914565b80836040516020016108fb929190610c50565b6040516020818303038152906040528051906020012092505b50600101610890565b509092149392505050565b60405180606001604052806000815260200160008152602001606081525090565b80356001600160a01b038116811461027857600080fd5b600082601f830112610970578081fd5b813561098361097e82610e77565b610e50565b8181529150602080830190848101818402860182018710156109a457600080fd5b60005b848110156109c3578135845292820192908201906001016109a7565b505050505092915050565b6000606082840312156109df578081fd5b6109e96060610e50565b90508135815260208201356020820152604082013567ffffffffffffffff811115610a1357600080fd5b610a1f84828501610960565b60408301525092915050565b600060208284031215610a3c578081fd5b610a468383610949565b9392505050565b60008060408385031215610a5f578081fd5b610a698484610949565b915060208084013567ffffffffffffffff811115610a85578283fd5b80850186601f820112610a96578384fd5b80359150610aa661097e83610e77565b82815283810190828501865b85811015610adb57610ac98b8884358801016109ce565b84529286019290860190600101610ab2565b5096999098509650505050505050565b600080600060608486031215610aff578081fd5b610b098585610949565b95602085013595506040909401359392505050565b60008060008060808587031215610b33578081fd5b610b3d8686610949565b93506020850135925060408501359150606085013567ffffffffffffffff811115610b66578182fd5b610b7287828801610960565b91505092959194509250565b600060208284031215610b8f578081fd5b81518015158114610a46578182fd5b600060208284031215610baf578081fd5b5035919050565b60008060408385031215610bc8578182fd5b82359150610bd98460208501610949565b90509250929050565b600080600060608486031215610bf6578283fd5b505081359360208301359350604090920135919050565b60008060408385031215610c1f578182fd5b50508035926020909101359150565b60609290921b6bffffffffffffffffffffffff19168252601482015260340190565b918252602082015260400190565b6001600160a01b0391909116815260200190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b6001600160a01b03929092168252602082015260400190565b6020808252825182820181905260009190848201906040850190845b81811015610ce9578351151583529284019291840191600101610ccb565b50909695505050505050565b6020808252825182820181905260009190848201906040850190845b81811015610ce957835183529284019291840191600101610d11565b901515815260200190565b90815260200190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b60208082526016908201527524b731b7b93932b1ba1036b2b935b63290383937b7b360511b604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526013908201527211549497d514905394d1915497d19052531151606a1b604082015260600190565b6020808252601a908201527f63616e6e6f742072657772697465206d65726b6c6520726f6f74000000000000604082015260600190565b60405181810167ffffffffffffffff81118282101715610e6f57600080fd5b604052919050565b600067ffffffffffffffff821115610e8d578081fd5b506020908102019056fea2646970667358221220296eac005c7f95edb24611c66f89fda0554fdb45eefce851f379d955ac72932064736f6c63430006080033

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

00000000000000000000000093ed3fbe21207ec2e8f2d3c3de6e058cb73bc04d

-----Decoded View---------------
Arg [0] : _token (address): 0x93ED3FBe21207Ec2E8f2d3c3de6e058Cb73Bc04d

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 00000000000000000000000093ed3fbe21207ec2e8f2d3c3de6e058cb73bc04d


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.