ETH Price: $3,371.23 (-2.51%)

Contract

0x719df507C020E37a577e5Ca5FC8CD38E2F311840
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Transfer Foreign...192711882024-02-20 20:07:47310 days ago1708459667IN
0x719df507...E2F311840
0 ETH0.0129290143.98866493
Add To Whitelist192711522024-02-20 20:00:35310 days ago1708459235IN
0x719df507...E2F311840
0 ETH0.0028807258.7532314
Claim Tokens192636302024-02-19 18:43:11311 days ago1708368191IN
0x719df507...E2F311840
0 ETH0.0021511630.71691028
Transfer Ownersh...192497422024-02-17 19:46:35313 days ago1708199195IN
0x719df507...E2F311840
0 ETH0.0006031721.0775923
Claim Tokens191621862024-02-05 12:51:47325 days ago1707137507IN
0x719df507...E2F311840
0 ETH0.0014344720.48308831
Claim Tokens191047122024-01-28 11:22:47333 days ago1706440967IN
0x719df507...E2F311840
0 ETH0.0012487217.83083699
Claim Tokens191011732024-01-27 23:27:35334 days ago1706398055IN
0x719df507...E2F311840
0 ETH0.0009149213.06445578
Claim Tokens190324642024-01-18 8:09:11343 days ago1705565351IN
0x719df507...E2F311840
0 ETH0.0025311236.14246799
Claim Tokens189998672024-01-13 18:50:35348 days ago1705171835IN
0x719df507...E2F311840
0 ETH0.0016404723.42467887
Claim Tokens189982422024-01-13 13:22:47348 days ago1705152167IN
0x719df507...E2F311840
0 ETH0.001286218.36599998
Claim Tokens189936782024-01-12 22:04:23349 days ago1705097063IN
0x719df507...E2F311840
0 ETH0.0026336537.60650816
Claim Tokens189696802024-01-09 13:23:35352 days ago1704806615IN
0x719df507...E2F311840
0 ETH0.0015672322.37889633
Claim Tokens189685382024-01-09 9:33:23352 days ago1704792803IN
0x719df507...E2F311840
0 ETH0.0012552917.92454935
Claim Tokens189640762024-01-08 18:29:47353 days ago1704738587IN
0x719df507...E2F311840
0 ETH0.0022046231.48030686
Claim Tokens189620192024-01-08 11:31:59353 days ago1704713519IN
0x719df507...E2F311840
0 ETH0.0011473816.38378731
Claim Tokens189619192024-01-08 11:10:59353 days ago1704712259IN
0x719df507...E2F311840
0 ETH0.001218417.39776479
Claim Tokens189614802024-01-08 9:41:59353 days ago1704706919IN
0x719df507...E2F311840
0 ETH0.0011821816.88070147
Claim Tokens189492282024-01-06 16:06:59355 days ago1704557219IN
0x719df507...E2F311840
0 ETH0.0017155524.49670901
Claim Tokens189472022024-01-06 9:10:47355 days ago1704532247IN
0x719df507...E2F311840
0 ETH0.0009134813.04383494
Claim Tokens189437862024-01-05 21:39:23356 days ago1704490763IN
0x719df507...E2F311840
0 ETH0.0011869916.94933197
Claim Tokens189404392024-01-05 10:20:11356 days ago1704450011IN
0x719df507...E2F311840
0 ETH0.0012690718.12130447
Claim Tokens189402222024-01-05 9:35:23356 days ago1704447323IN
0x719df507...E2F311840
0 ETH0.0012849318.34786453
Claim Tokens189390962024-01-05 5:47:47356 days ago1704433667IN
0x719df507...E2F311840
0 ETH0.0012015117.15662493
Claim Tokens189371692024-01-04 23:17:11357 days ago1704410231IN
0x719df507...E2F311840
0 ETH0.0010645420.11154157
Claim Tokens189359062024-01-04 18:59:47357 days ago1704394787IN
0x719df507...E2F311840
0 ETH0.001444520.62639139
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:
CTF_AirdropClaim

Compiler Version
v0.8.19+commit.7dd6d404

Optimization Enabled:
Yes with 2000 runs

Other Settings:
default evmVersion, MIT license
/**
 *Submitted for verification at Etherscan.io on 2023-12-26
*/

/**

CTF Airdrop Claim DApp

Website: https://ctf.vision

Twitter: https://twitter.com/CommunityTF

Telegram: https://t.me/communitytrustfund

*/
//SPDX-License-Identifier: MIT

// File: @openzeppelin/contracts/utils/Context.sol


// OpenZeppelin Contracts (last updated v5.0.0) (utils/Context.sol)

pragma solidity ^0.8.19;

/**
 * @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: @openzeppelin/contracts/access/Ownable.sol


// OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol)

pragma solidity ^0.8.19;


/**
 * @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.
 *
 * The initial owner is set to the address provided by the deployer. 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;

    /**
     * @dev The caller account is not authorized to perform an operation.
     */
    error OwnableUnauthorizedAccount(address account);

    /**
     * @dev The owner is not a valid owner account. (eg. `address(0)`)
     */
    error OwnableInvalidOwner(address owner);

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

    /**
     * @dev Initializes the contract setting the address provided by the deployer as the initial owner.
     */
    constructor(address initialOwner) {
        if (initialOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _transferOwnership(initialOwner);
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        if (owner() != _msgSender()) {
            revert OwnableUnauthorizedAccount(_msgSender());
        }
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby disabling 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 {
        if (newOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _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: @openzeppelin/contracts/token/ERC20/IERC20.sol


// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.19;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @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);

    /**
     * @dev Returns the value of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

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

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

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

// File: claim.sol


pragma solidity ^0.8.19;



contract CTF_AirdropClaim is Ownable(msg.sender) {
    IERC20 public token;  // The ERC-20 token to be stored
    mapping(address => uint256) public whitelist; // Whitelist of addresses and their claimable token amounts

    event TokenDeposited(address indexed depositor, uint256 amount);
    event Whitelisted();
    event TokensClaimed(address indexed account, uint256 amount);

    constructor(address _tokenAddress) {
        token = IERC20(_tokenAddress);
    }

    // Deposit tokens into the contract
    function depositTokens(uint256 amount) external onlyOwner {
        require(amount > 0, "Amount must be greater than 0");
        require(token.transferFrom(msg.sender, address(this), amount), "Token transfer failed");
        emit TokenDeposited(msg.sender, amount);
    }

    // Add addresses to the whitelist with a specified claimable amount
    function addToWhitelist(address[] memory accounts, uint256[] memory amounts) external onlyOwner {
        require(accounts.length == amounts.length, "Input arrays must have the same length");
        
        for (uint256 i = 0; i < accounts.length; i++) {
            address account = accounts[i];
            uint256 amount = amounts[i];
            require(account != address(0), "Invalid address");
            require(amount > 0, "Claimable amount must be greater than 0");
            unchecked {
                whitelist[account] = whitelist[account] + amount; // Add to existing claimable amount
            }
        }
        emit Whitelisted();
    }

    // Allows whitelisted addresses to claim tokens
    function claimTokens() external {
        require(whitelist[msg.sender] > 0, "Address is not whitelisted or has already claimed");
        
        uint256 claimableAmount = whitelist[msg.sender];
        whitelist[msg.sender] = 0;
        
        require(token.transfer(msg.sender, claimableAmount), "Token transfer failed");
        emit TokensClaimed(msg.sender, claimableAmount);
    }

    function getApprovedClaimableAmount(address account) public view returns (uint256) {
        return whitelist[account];
    }

    // Owner can remove addresses from the whitelist
    function removeFromWhitelist(address[] memory accounts) external onlyOwner {
        for (uint256 i = 0; i < accounts.length; i++) {
            address account = accounts[i];
            require(whitelist[account] > 0, "Address is not whitelisted");
            whitelist[account] = 0;
        }
    }

    function transferForeignToken(address _token, address _to)
        external
        onlyOwner
        returns (bool _sent)
    {
        require(_token != address(0), "_token address cannot be 0");
       
        uint256 _contractBalance = IERC20(_token).balanceOf(address(this));
        _sent = IERC20(_token).transfer(_to, _contractBalance);
    }

    // withdraw ETH if stuck or someone sends to the address
    function withdrawStuckETH() external onlyOwner {
        bool success;
        (success, ) = address(msg.sender).call{value: address(this).balance}(
            ""
        );
    }


}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_tokenAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","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":true,"internalType":"address","name":"depositor","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"TokenDeposited","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"TokensClaimed","type":"event"},{"anonymous":false,"inputs":[],"name":"Whitelisted","type":"event"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"name":"addToWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"depositTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getApprovedClaimableAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"}],"name":"removeFromWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"token","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"address","name":"_to","type":"address"}],"name":"transferForeignToken","outputs":[{"internalType":"bool","name":"_sent","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"whitelist","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawStuckETH","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405234801561001057600080fd5b50604051610f25380380610f2583398101604081905261002f916100d4565b338061005557604051631e4fbdf760e01b81526000600482015260240160405180910390fd5b61005e81610084565b50600180546001600160a01b0319166001600160a01b0392909216919091179055610104565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000602082840312156100e657600080fd5b81516001600160a01b03811681146100fd57600080fd5b9392505050565b610e12806101136000396000f3fe608060405234801561001057600080fd5b50600436106100d45760003560e01c8063d0f380b511610081578063f5648a4f1161005b578063f5648a4f146101c8578063f8d50542146101d0578063fc0c546a146101e357600080fd5b8063d0f380b514610179578063dd49756e146101a2578063f2fde38b146101b557600080fd5b80638366e79a116100b25780638366e79a146100fe5780638da5cb5b146101265780639b19251a1461014b57600080fd5b806348c54b9d146100d9578063548db174146100e3578063715018a6146100f6575b600080fd5b6100e16101f6565b005b6100e16100f1366004610be7565b6103a8565b6100e161047d565b61011161010c366004610c1c565b610491565b60405190151581526020015b60405180910390f35b6000546001600160a01b03165b6040516001600160a01b03909116815260200161011d565b61016b610159366004610c4f565b60026020526000908152604090205481565b60405190815260200161011d565b61016b610187366004610c4f565b6001600160a01b031660009081526002602052604090205490565b6100e16101b0366004610c71565b61060d565b6100e16101c3366004610c4f565b610777565b6100e16107ce565b6100e16101de366004610c8a565b610823565b600154610133906001600160a01b031681565b3360009081526002602052604090205461027d5760405162461bcd60e51b815260206004820152603160248201527f41646472657373206973206e6f742077686974656c6973746564206f7220686160448201527f7320616c726561647920636c61696d656400000000000000000000000000000060648201526084015b60405180910390fd5b33600081815260026020526040808220805492905560015490517fa9059cbb00000000000000000000000000000000000000000000000000000000815260048101939093526024830182905290916001600160a01b039091169063a9059cbb906044016020604051808303816000875af11580156102ff573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103239190610d45565b61036f5760405162461bcd60e51b815260206004820152601560248201527f546f6b656e207472616e73666572206661696c656400000000000000000000006044820152606401610274565b60405181815233907f896e034966eaaf1adc54acc0f257056febbd300c9e47182cf761982cf1f5e430906020015b60405180910390a250565b6103b0610a22565b60005b81518110156104795760008282815181106103d0576103d0610d67565b60200260200101519050600060026000836001600160a01b03166001600160a01b03168152602001908152602001600020541161044f5760405162461bcd60e51b815260206004820152601a60248201527f41646472657373206973206e6f742077686974656c69737465640000000000006044820152606401610274565b6001600160a01b03166000908152600260205260408120558061047181610d7d565b9150506103b3565b5050565b610485610a22565b61048f6000610a68565b565b600061049b610a22565b6001600160a01b0383166104f15760405162461bcd60e51b815260206004820152601a60248201527f5f746f6b656e20616464726573732063616e6e6f7420626520300000000000006044820152606401610274565b6040517f70a082310000000000000000000000000000000000000000000000000000000081523060048201526000906001600160a01b038516906370a0823190602401602060405180830381865afa158015610551573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105759190610dc3565b6040517fa9059cbb0000000000000000000000000000000000000000000000000000000081526001600160a01b038581166004830152602482018390529192509085169063a9059cbb906044016020604051808303816000875af11580156105e1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106059190610d45565b949350505050565b610615610a22565b600081116106655760405162461bcd60e51b815260206004820152601d60248201527f416d6f756e74206d7573742062652067726561746572207468616e20300000006044820152606401610274565b6001546040517f23b872dd000000000000000000000000000000000000000000000000000000008152336004820152306024820152604481018390526001600160a01b03909116906323b872dd906064016020604051808303816000875af11580156106d5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106f99190610d45565b6107455760405162461bcd60e51b815260206004820152601560248201527f546f6b656e207472616e73666572206661696c656400000000000000000000006044820152606401610274565b60405181815233907fbc7c8a4d8049a3f99a02f2a20640c206a2e4d3f2fa54fd20da9f01fda3620cda9060200161039d565b61077f610a22565b6001600160a01b0381166107c2576040517f1e4fbdf700000000000000000000000000000000000000000000000000000000815260006004820152602401610274565b6107cb81610a68565b50565b6107d6610a22565b604051600090339047908381818185875af1925050503d8060008114610818576040519150601f19603f3d011682016040523d82523d6000602084013e61081d565b606091505b50505050565b61082b610a22565b80518251146108a25760405162461bcd60e51b815260206004820152602660248201527f496e70757420617272617973206d7573742068617665207468652073616d652060448201527f6c656e67746800000000000000000000000000000000000000000000000000006064820152608401610274565b60005b82518110156109f45760008382815181106108c2576108c2610d67565b6020026020010151905060008383815181106108e0576108e0610d67565b6020026020010151905060006001600160a01b0316826001600160a01b03160361094c5760405162461bcd60e51b815260206004820152600f60248201527f496e76616c6964206164647265737300000000000000000000000000000000006044820152606401610274565b600081116109c25760405162461bcd60e51b815260206004820152602760248201527f436c61696d61626c6520616d6f756e74206d757374206265206772656174657260448201527f207468616e2030000000000000000000000000000000000000000000000000006064820152608401610274565b6001600160a01b03909116600090815260026020526040902080549091019055806109ec81610d7d565b9150506108a5565b506040517ffaac6f7b73571e6f06171e5156473d0ddf887bc0094873c01215da330575278d90600090a15050565b6000546001600160a01b0316331461048f576040517f118cdaa7000000000000000000000000000000000000000000000000000000008152336004820152602401610274565b600080546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b634e487b7160e01b600052604160045260246000fd5b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff81118282101715610b2d57610b2d610ad0565b604052919050565b600067ffffffffffffffff821115610b4f57610b4f610ad0565b5060051b60200190565b80356001600160a01b0381168114610b7057600080fd5b919050565b600082601f830112610b8657600080fd5b81356020610b9b610b9683610b35565b610ae6565b82815260059290921b84018101918181019086841115610bba57600080fd5b8286015b84811015610bdc57610bcf81610b59565b8352918301918301610bbe565b509695505050505050565b600060208284031215610bf957600080fd5b813567ffffffffffffffff811115610c1057600080fd5b61060584828501610b75565b60008060408385031215610c2f57600080fd5b610c3883610b59565b9150610c4660208401610b59565b90509250929050565b600060208284031215610c6157600080fd5b610c6a82610b59565b9392505050565b600060208284031215610c8357600080fd5b5035919050565b60008060408385031215610c9d57600080fd5b823567ffffffffffffffff80821115610cb557600080fd5b610cc186838701610b75565b9350602091508185013581811115610cd857600080fd5b85019050601f81018613610ceb57600080fd5b8035610cf9610b9682610b35565b81815260059190911b82018301908381019088831115610d1857600080fd5b928401925b82841015610d3657833582529284019290840190610d1d565b80955050505050509250929050565b600060208284031215610d5757600080fd5b81518015158114610c6a57600080fd5b634e487b7160e01b600052603260045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203610dbc57634e487b7160e01b600052601160045260246000fd5b5060010190565b600060208284031215610dd557600080fd5b505191905056fea26469706673582212203151c21a27b59b129ee501fd1d35c67f8a7a8e0364325ef40113b2edb65c9c5a64736f6c6343000813003300000000000000000000000052e11b84b027c2d44a57e9c632e9a6895450a772

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100d45760003560e01c8063d0f380b511610081578063f5648a4f1161005b578063f5648a4f146101c8578063f8d50542146101d0578063fc0c546a146101e357600080fd5b8063d0f380b514610179578063dd49756e146101a2578063f2fde38b146101b557600080fd5b80638366e79a116100b25780638366e79a146100fe5780638da5cb5b146101265780639b19251a1461014b57600080fd5b806348c54b9d146100d9578063548db174146100e3578063715018a6146100f6575b600080fd5b6100e16101f6565b005b6100e16100f1366004610be7565b6103a8565b6100e161047d565b61011161010c366004610c1c565b610491565b60405190151581526020015b60405180910390f35b6000546001600160a01b03165b6040516001600160a01b03909116815260200161011d565b61016b610159366004610c4f565b60026020526000908152604090205481565b60405190815260200161011d565b61016b610187366004610c4f565b6001600160a01b031660009081526002602052604090205490565b6100e16101b0366004610c71565b61060d565b6100e16101c3366004610c4f565b610777565b6100e16107ce565b6100e16101de366004610c8a565b610823565b600154610133906001600160a01b031681565b3360009081526002602052604090205461027d5760405162461bcd60e51b815260206004820152603160248201527f41646472657373206973206e6f742077686974656c6973746564206f7220686160448201527f7320616c726561647920636c61696d656400000000000000000000000000000060648201526084015b60405180910390fd5b33600081815260026020526040808220805492905560015490517fa9059cbb00000000000000000000000000000000000000000000000000000000815260048101939093526024830182905290916001600160a01b039091169063a9059cbb906044016020604051808303816000875af11580156102ff573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103239190610d45565b61036f5760405162461bcd60e51b815260206004820152601560248201527f546f6b656e207472616e73666572206661696c656400000000000000000000006044820152606401610274565b60405181815233907f896e034966eaaf1adc54acc0f257056febbd300c9e47182cf761982cf1f5e430906020015b60405180910390a250565b6103b0610a22565b60005b81518110156104795760008282815181106103d0576103d0610d67565b60200260200101519050600060026000836001600160a01b03166001600160a01b03168152602001908152602001600020541161044f5760405162461bcd60e51b815260206004820152601a60248201527f41646472657373206973206e6f742077686974656c69737465640000000000006044820152606401610274565b6001600160a01b03166000908152600260205260408120558061047181610d7d565b9150506103b3565b5050565b610485610a22565b61048f6000610a68565b565b600061049b610a22565b6001600160a01b0383166104f15760405162461bcd60e51b815260206004820152601a60248201527f5f746f6b656e20616464726573732063616e6e6f7420626520300000000000006044820152606401610274565b6040517f70a082310000000000000000000000000000000000000000000000000000000081523060048201526000906001600160a01b038516906370a0823190602401602060405180830381865afa158015610551573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105759190610dc3565b6040517fa9059cbb0000000000000000000000000000000000000000000000000000000081526001600160a01b038581166004830152602482018390529192509085169063a9059cbb906044016020604051808303816000875af11580156105e1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106059190610d45565b949350505050565b610615610a22565b600081116106655760405162461bcd60e51b815260206004820152601d60248201527f416d6f756e74206d7573742062652067726561746572207468616e20300000006044820152606401610274565b6001546040517f23b872dd000000000000000000000000000000000000000000000000000000008152336004820152306024820152604481018390526001600160a01b03909116906323b872dd906064016020604051808303816000875af11580156106d5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106f99190610d45565b6107455760405162461bcd60e51b815260206004820152601560248201527f546f6b656e207472616e73666572206661696c656400000000000000000000006044820152606401610274565b60405181815233907fbc7c8a4d8049a3f99a02f2a20640c206a2e4d3f2fa54fd20da9f01fda3620cda9060200161039d565b61077f610a22565b6001600160a01b0381166107c2576040517f1e4fbdf700000000000000000000000000000000000000000000000000000000815260006004820152602401610274565b6107cb81610a68565b50565b6107d6610a22565b604051600090339047908381818185875af1925050503d8060008114610818576040519150601f19603f3d011682016040523d82523d6000602084013e61081d565b606091505b50505050565b61082b610a22565b80518251146108a25760405162461bcd60e51b815260206004820152602660248201527f496e70757420617272617973206d7573742068617665207468652073616d652060448201527f6c656e67746800000000000000000000000000000000000000000000000000006064820152608401610274565b60005b82518110156109f45760008382815181106108c2576108c2610d67565b6020026020010151905060008383815181106108e0576108e0610d67565b6020026020010151905060006001600160a01b0316826001600160a01b03160361094c5760405162461bcd60e51b815260206004820152600f60248201527f496e76616c6964206164647265737300000000000000000000000000000000006044820152606401610274565b600081116109c25760405162461bcd60e51b815260206004820152602760248201527f436c61696d61626c6520616d6f756e74206d757374206265206772656174657260448201527f207468616e2030000000000000000000000000000000000000000000000000006064820152608401610274565b6001600160a01b03909116600090815260026020526040902080549091019055806109ec81610d7d565b9150506108a5565b506040517ffaac6f7b73571e6f06171e5156473d0ddf887bc0094873c01215da330575278d90600090a15050565b6000546001600160a01b0316331461048f576040517f118cdaa7000000000000000000000000000000000000000000000000000000008152336004820152602401610274565b600080546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b634e487b7160e01b600052604160045260246000fd5b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff81118282101715610b2d57610b2d610ad0565b604052919050565b600067ffffffffffffffff821115610b4f57610b4f610ad0565b5060051b60200190565b80356001600160a01b0381168114610b7057600080fd5b919050565b600082601f830112610b8657600080fd5b81356020610b9b610b9683610b35565b610ae6565b82815260059290921b84018101918181019086841115610bba57600080fd5b8286015b84811015610bdc57610bcf81610b59565b8352918301918301610bbe565b509695505050505050565b600060208284031215610bf957600080fd5b813567ffffffffffffffff811115610c1057600080fd5b61060584828501610b75565b60008060408385031215610c2f57600080fd5b610c3883610b59565b9150610c4660208401610b59565b90509250929050565b600060208284031215610c6157600080fd5b610c6a82610b59565b9392505050565b600060208284031215610c8357600080fd5b5035919050565b60008060408385031215610c9d57600080fd5b823567ffffffffffffffff80821115610cb557600080fd5b610cc186838701610b75565b9350602091508185013581811115610cd857600080fd5b85019050601f81018613610ceb57600080fd5b8035610cf9610b9682610b35565b81815260059190911b82018301908381019088831115610d1857600080fd5b928401925b82841015610d3657833582529284019290840190610d1d565b80955050505050509250929050565b600060208284031215610d5757600080fd5b81518015158114610c6a57600080fd5b634e487b7160e01b600052603260045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203610dbc57634e487b7160e01b600052601160045260246000fd5b5060010190565b600060208284031215610dd557600080fd5b505191905056fea26469706673582212203151c21a27b59b129ee501fd1d35c67f8a7a8e0364325ef40113b2edb65c9c5a64736f6c63430008130033

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

00000000000000000000000052e11b84b027c2d44a57e9c632e9a6895450a772

-----Decoded View---------------
Arg [0] : _tokenAddress (address): 0x52E11b84b027c2D44a57e9C632E9A6895450a772

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 00000000000000000000000052e11b84b027c2d44a57e9c632e9a6895450a772


Deployed Bytecode Sourcemap

7225:3154:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8846:398;;;:::i;:::-;;9441:308;;;;;;:::i;:::-;;:::i;3445:103::-;;;:::i;9757:360::-;;;;;;:::i;:::-;;:::i;:::-;;;2387:14:1;;2380:22;2362:41;;2350:2;2335:18;9757:360:0;;;;;;;;2770:87;2816:7;2843:6;-1:-1:-1;;;;;2843:6:0;2770:87;;;-1:-1:-1;;;;;2578:55:1;;;2560:74;;2548:2;2533:18;2770:87:0;2414:226:1;7341:44:0;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;2982:25:1;;;2970:2;2955:18;7341:44:0;2836:177:1;9252:127:0;;;;;;:::i;:::-;-1:-1:-1;;;;;9353:18:0;9326:7;9353:18;;;:9;:18;;;;;;;9252:127;7751:277;;;;;;:::i;:::-;;:::i;3703:220::-;;;;;;:::i;:::-;;:::i;10187:185::-;;;:::i;8109:676::-;;;;;;:::i;:::-;;:::i;7281:19::-;;;;;-1:-1:-1;;;;;7281:19:0;;;8846:398;8907:10;8921:1;8897:21;;;:9;:21;;;;;;8889:87;;;;-1:-1:-1;;;8889:87:0;;4793:2:1;8889:87:0;;;4775:21:1;4832:2;4812:18;;;4805:30;4871:34;4851:18;;;4844:62;4942:19;4922:18;;;4915:47;4979:19;;8889:87:0;;;;;;;;;9033:10;8997:23;9023:21;;;:9;:21;;;;;;;;9055:25;;;-1:-1:-1;9109:5:0;:43;;;;;;;;5183:74:1;;;;5273:18;;;5266:34;;;9023:21:0;;-1:-1:-1;;;;;9109:5:0;;;;:14;;5156:18:1;;9109:43:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;9101:77;;;;-1:-1:-1;;;9101:77:0;;5795:2:1;9101:77:0;;;5777:21:1;5834:2;5814:18;;;5807:30;5873:23;5853:18;;;5846:51;5914:18;;9101:77:0;5593:345:1;9101:77:0;9194:42;;2982:25:1;;;9208:10:0;;9194:42;;2970:2:1;2955:18;9194:42:0;;;;;;;;8878:366;8846:398::o;9441:308::-;2656:13;:11;:13::i;:::-;9532:9:::1;9527:215;9551:8;:15;9547:1;:19;9527:215;;;9588:15;9606:8;9615:1;9606:11;;;;;;;;:::i;:::-;;;;;;;9588:29;;9661:1;9640:9;:18;9650:7;-1:-1:-1::0;;;;;9640:18:0::1;-1:-1:-1::0;;;;;9640:18:0::1;;;;;;;;;;;;;:22;9632:61;;;::::0;-1:-1:-1;;;9632:61:0;;6334:2:1;9632:61:0::1;::::0;::::1;6316:21:1::0;6373:2;6353:18;;;6346:30;6412:28;6392:18;;;6385:56;6458:18;;9632:61:0::1;6132:350:1::0;9632:61:0::1;-1:-1:-1::0;;;;;9708:18:0::1;9729:1;9708:18:::0;;;:9:::1;:18;::::0;;;;:22;9568:3;::::1;::::0;::::1;:::i;:::-;;;;9527:215;;;;9441:308:::0;:::o;3445:103::-;2656:13;:11;:13::i;:::-;3510:30:::1;3537:1;3510:18;:30::i;:::-;3445:103::o:0;9757:360::-;9871:10;2656:13;:11;:13::i;:::-;-1:-1:-1;;;;;9907:20:0;::::1;9899:59;;;::::0;-1:-1:-1;;;9899:59:0;;7043:2:1;9899:59:0::1;::::0;::::1;7025:21:1::0;7082:2;7062:18;;;7055:30;7121:28;7101:18;;;7094:56;7167:18;;9899:59:0::1;6841:350:1::0;9899:59:0::1;10005:39;::::0;;;;10038:4:::1;10005:39;::::0;::::1;2560:74:1::0;9978:24:0::1;::::0;-1:-1:-1;;;;;10005:24:0;::::1;::::0;::::1;::::0;2533:18:1;;10005:39:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;10063:46;::::0;;;;-1:-1:-1;;;;;5201:55:1;;;10063:46:0::1;::::0;::::1;5183:74:1::0;5273:18;;;5266:34;;;9978:66:0;;-1:-1:-1;10063:23:0;;::::1;::::0;::::1;::::0;5156:18:1;;10063:46:0::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;10055:54:::0;9757:360;-1:-1:-1;;;;9757:360:0:o;7751:277::-;2656:13;:11;:13::i;:::-;7837:1:::1;7828:6;:10;7820:52;;;::::0;-1:-1:-1;;;7820:52:0;;7587:2:1;7820:52:0::1;::::0;::::1;7569:21:1::0;7626:2;7606:18;;;7599:30;7665:31;7645:18;;;7638:59;7714:18;;7820:52:0::1;7385:353:1::0;7820:52:0::1;7891:5;::::0;:53:::1;::::0;;;;7910:10:::1;7891:53;::::0;::::1;8006:34:1::0;7930:4:0::1;8056:18:1::0;;;8049:43;8108:18;;;8101:34;;;-1:-1:-1;;;;;7891:5:0;;::::1;::::0;:18:::1;::::0;7918::1;;7891:53:0::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;7883:87;;;::::0;-1:-1:-1;;;7883:87:0;;5795:2:1;7883:87:0::1;::::0;::::1;5777:21:1::0;5834:2;5814:18;;;5807:30;5873:23;5853:18;;;5846:51;5914:18;;7883:87:0::1;5593:345:1::0;7883:87:0::1;7986:34;::::0;2982:25:1;;;8001:10:0::1;::::0;7986:34:::1;::::0;2970:2:1;2955:18;7986:34:0::1;2836:177:1::0;3703:220:0;2656:13;:11;:13::i;:::-;-1:-1:-1;;;;;3788:22:0;::::1;3784:93;;3834:31;::::0;::::1;::::0;;3862:1:::1;3834:31;::::0;::::1;2560:74:1::0;2533:18;;3834:31:0::1;2414:226:1::0;3784:93:0::1;3887:28;3906:8;3887:18;:28::i;:::-;3703:220:::0;:::o;10187:185::-;2656:13;:11;:13::i;:::-;10282:82:::1;::::0;10245:12:::1;::::0;10290:10:::1;::::0;10314:21:::1;::::0;10245:12;10282:82;10245:12;10282:82;10314:21;10290:10;10282:82:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1::0;;;;10187:185:0:o;8109:676::-;2656:13;:11;:13::i;:::-;8243:7:::1;:14;8224:8;:15;:33;8216:84;;;::::0;-1:-1:-1;;;8216:84:0;;8558:2:1;8216:84:0::1;::::0;::::1;8540:21:1::0;8597:2;8577:18;;;8570:30;8636:34;8616:18;;;8609:62;8707:8;8687:18;;;8680:36;8733:19;;8216:84:0::1;8356:402:1::0;8216:84:0::1;8326:9;8321:428;8345:8;:15;8341:1;:19;8321:428;;;8382:15;8400:8;8409:1;8400:11;;;;;;;;:::i;:::-;;;;;;;8382:29;;8426:14;8443:7;8451:1;8443:10;;;;;;;;:::i;:::-;;;;;;;8426:27;;8495:1;-1:-1:-1::0;;;;;8476:21:0::1;:7;-1:-1:-1::0;;;;;8476:21:0::1;::::0;8468:49:::1;;;::::0;-1:-1:-1;;;8468:49:0;;8965:2:1;8468:49:0::1;::::0;::::1;8947:21:1::0;9004:2;8984:18;;;8977:30;9043:17;9023:18;;;9016:45;9078:18;;8468:49:0::1;8763:339:1::0;8468:49:0::1;8549:1;8540:6;:10;8532:62;;;::::0;-1:-1:-1;;;8532:62:0;;9309:2:1;8532:62:0::1;::::0;::::1;9291:21:1::0;9348:2;9328:18;;;9321:30;9387:34;9367:18;;;9360:62;9458:9;9438:18;;;9431:37;9485:19;;8532:62:0::1;9107:403:1::0;8532:62:0::1;-1:-1:-1::0;;;;;8659:18:0;;::::1;;::::0;;;:9:::1;:18;::::0;;;;;;:27;;::::1;8638:48:::0;;8362:3;::::1;::::0;::::1;:::i;:::-;;;;8321:428;;;-1:-1:-1::0;8764:13:0::1;::::0;::::1;::::0;;;::::1;8109:676:::0;;:::o;2935:166::-;2816:7;2843:6;-1:-1:-1;;;;;2843:6:0;966:10;2995:23;2991:103;;3042:40;;;;;966:10;3042:40;;;2560:74:1;2533:18;;3042:40:0;2414:226:1;4083:191:0;4157:16;4176:6;;-1:-1:-1;;;;;4193:17:0;;;;;;;;;;4226:40;;4176:6;;;;;;;4226:40;;4157:16;4226:40;4146:128;4083:191;:::o;14:184:1:-;-1:-1:-1;;;63:1:1;56:88;163:4;160:1;153:15;187:4;184:1;177:15;203:334;274:2;268:9;330:2;320:13;;335:66;316:86;304:99;;433:18;418:34;;454:22;;;415:62;412:88;;;480:18;;:::i;:::-;516:2;509:22;203:334;;-1:-1:-1;203:334:1:o;542:183::-;602:4;635:18;627:6;624:30;621:56;;;657:18;;:::i;:::-;-1:-1:-1;702:1:1;698:14;714:4;694:25;;542:183::o;730:196::-;798:20;;-1:-1:-1;;;;;847:54:1;;837:65;;827:93;;916:1;913;906:12;827:93;730:196;;;:::o;931:668::-;985:5;1038:3;1031:4;1023:6;1019:17;1015:27;1005:55;;1056:1;1053;1046:12;1005:55;1092:6;1079:20;1118:4;1142:60;1158:43;1198:2;1158:43;:::i;:::-;1142:60;:::i;:::-;1236:15;;;1322:1;1318:10;;;;1306:23;;1302:32;;;1267:12;;;;1346:15;;;1343:35;;;1374:1;1371;1364:12;1343:35;1410:2;1402:6;1398:15;1422:148;1438:6;1433:3;1430:15;1422:148;;;1504:23;1523:3;1504:23;:::i;:::-;1492:36;;1548:12;;;;1455;;1422:148;;;-1:-1:-1;1588:5:1;931:668;-1:-1:-1;;;;;;931:668:1:o;1604:348::-;1688:6;1741:2;1729:9;1720:7;1716:23;1712:32;1709:52;;;1757:1;1754;1747:12;1709:52;1797:9;1784:23;1830:18;1822:6;1819:30;1816:50;;;1862:1;1859;1852:12;1816:50;1885:61;1938:7;1929:6;1918:9;1914:22;1885:61;:::i;1957:260::-;2025:6;2033;2086:2;2074:9;2065:7;2061:23;2057:32;2054:52;;;2102:1;2099;2092:12;2054:52;2125:29;2144:9;2125:29;:::i;:::-;2115:39;;2173:38;2207:2;2196:9;2192:18;2173:38;:::i;:::-;2163:48;;1957:260;;;;;:::o;2645:186::-;2704:6;2757:2;2745:9;2736:7;2732:23;2728:32;2725:52;;;2773:1;2770;2763:12;2725:52;2796:29;2815:9;2796:29;:::i;:::-;2786:39;2645:186;-1:-1:-1;;;2645:186:1:o;3018:180::-;3077:6;3130:2;3118:9;3109:7;3105:23;3101:32;3098:52;;;3146:1;3143;3136:12;3098:52;-1:-1:-1;3169:23:1;;3018:180;-1:-1:-1;3018:180:1:o;3203:1138::-;3321:6;3329;3382:2;3370:9;3361:7;3357:23;3353:32;3350:52;;;3398:1;3395;3388:12;3350:52;3438:9;3425:23;3467:18;3508:2;3500:6;3497:14;3494:34;;;3524:1;3521;3514:12;3494:34;3547:61;3600:7;3591:6;3580:9;3576:22;3547:61;:::i;:::-;3537:71;;3627:2;3617:12;;3682:2;3671:9;3667:18;3654:32;3711:2;3701:8;3698:16;3695:36;;;3727:1;3724;3717:12;3695:36;3750:24;;;-1:-1:-1;3805:4:1;3797:13;;3793:27;-1:-1:-1;3783:55:1;;3834:1;3831;3824:12;3783:55;3870:2;3857:16;3893:60;3909:43;3949:2;3909:43;:::i;3893:60::-;3987:15;;;4069:1;4065:10;;;;4057:19;;4053:28;;;4018:12;;;;4093:19;;;4090:39;;;4125:1;4122;4115:12;4090:39;4149:11;;;;4169:142;4185:6;4180:3;4177:15;4169:142;;;4251:17;;4239:30;;4202:12;;;;4289;;;;4169:142;;;4330:5;4320:15;;;;;;;3203:1138;;;;;:::o;5311:277::-;5378:6;5431:2;5419:9;5410:7;5406:23;5402:32;5399:52;;;5447:1;5444;5437:12;5399:52;5479:9;5473:16;5532:5;5525:13;5518:21;5511:5;5508:32;5498:60;;5554:1;5551;5544:12;5943:184;-1:-1:-1;;;5992:1:1;5985:88;6092:4;6089:1;6082:15;6116:4;6113:1;6106:15;6487:349;6526:3;6557:66;6550:5;6547:77;6544:257;;-1:-1:-1;;;6654:1:1;6647:88;6758:4;6755:1;6748:15;6786:4;6783:1;6776:15;6544:257;-1:-1:-1;6828:1:1;6817:13;;6487:349::o;7196:184::-;7266:6;7319:2;7307:9;7298:7;7294:23;7290:32;7287:52;;;7335:1;7332;7325:12;7287:52;-1:-1:-1;7358:16:1;;7196:184;-1:-1:-1;7196:184:1:o

Swarm Source

ipfs://3151c21a27b59b129ee501fd1d35c67f8a7a8e0364325ef40113b2edb65c9c5a

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.