ETH Price: $3,344.34 (-1.05%)

Contract

0x15421e439e436A93b77d05cE836Bf94605803A16
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Claim Tokens214807132024-12-25 16:34:112 days ago1735144451IN
0x15421e43...605803A16
0 ETH0.000575249.35784215
Claim Tokens214736192024-12-24 16:48:353 days ago1735058915IN
0x15421e43...605803A16
0 ETH0.0006497910.57060185
Claim Tokens214563872024-12-22 6:56:475 days ago1734850607IN
0x15421e43...605803A16
0 ETH0.000122974
Claim Tokens214250052024-12-17 21:40:4710 days ago1734471647IN
0x15421e43...605803A16
0 ETH0.0010133916.48541806
Claim Tokens214245152024-12-17 20:02:1110 days ago1734465731IN
0x15421e43...605803A16
0 ETH0.0012650120.57874207
Claim Tokens214242212024-12-17 19:03:2310 days ago1734462203IN
0x15421e43...605803A16
0 ETH0.001428223.23347095
Claim Tokens214178442024-12-16 21:42:4711 days ago1734385367IN
0x15421e43...605803A16
0 ETH0.0010969717.84505513
Claim Tokens214107572024-12-15 21:59:4712 days ago1734299987IN
0x15421e43...605803A16
0 ETH0.0003426811.14655792
Claim Tokens214107562024-12-15 21:59:3512 days ago1734299975IN
0x15421e43...605803A16
0 ETH0.0006745810.97391769
Claim Tokens214093732024-12-15 17:21:1112 days ago1734283271IN
0x15421e43...605803A16
0 ETH0.0007056511.47934493
Claim Tokens214092392024-12-15 16:54:2312 days ago1734281663IN
0x15421e43...605803A16
0 ETH0.0007625212.40438099
Claim Tokens214092332024-12-15 16:53:1112 days ago1734281591IN
0x15421e43...605803A16
0 ETH0.0008260813.43842531
Claim Tokens214037172024-12-14 22:23:5913 days ago1734215039IN
0x15421e43...605803A16
0 ETH0.0007627712.40854004
Claim Tokens213943952024-12-13 15:09:4714 days ago1734102587IN
0x15421e43...605803A16
0 ETH0.0014867824.18636817
Claim Tokens213940102024-12-13 13:52:3514 days ago1734097955IN
0x15421e43...605803A16
0 ETH0.0010186616.57128441
Claim Tokens213910002024-12-13 3:47:4715 days ago1734061667IN
0x15421e43...605803A16
0 ETH0.000530911.96481957
Claim Tokens213900692024-12-13 0:40:2315 days ago1734050423IN
0x15421e43...605803A16
0 ETH0.0007792112.67593514
Claim Tokens213893082024-12-12 22:07:2315 days ago1734041243IN
0x15421e43...605803A16
0 ETH0.0013986722.75297974
Claim Tokens213885522024-12-12 19:35:3515 days ago1734032135IN
0x15421e43...605803A16
0 ETH0.0016944727.56503544
Claim Tokens213864162024-12-12 12:26:3515 days ago1734006395IN
0x15421e43...605803A16
0 ETH0.0007698817.35070521
Claim Tokens213852792024-12-12 8:37:4715 days ago1733992667IN
0x15421e43...605803A16
0 ETH0.0009886516.08309269
Claim Tokens213820422024-12-11 21:47:4716 days ago1733953667IN
0x15421e43...605803A16
0 ETH0.0013168621.42226265
Claim Tokens213792842024-12-11 12:32:3516 days ago1733920355IN
0x15421e43...605803A16
0 ETH0.0011688119.01372311
Claim Tokens213791372024-12-11 12:03:1116 days ago1733918591IN
0x15421e43...605803A16
0 ETH0.000450914.66651079
Claim Tokens213748542024-12-10 21:41:1117 days ago1733866871IN
0x15421e43...605803A16
0 ETH0.0013968522.72338273
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:
ClaimContract

Compiler Version
v0.8.20+commit.a1b79de6

Optimization Enabled:
Yes with 200 runs

Other Settings:
paris EvmVersion, MIT license
/**
 *Submitted for verification at Etherscan.io on 2024-08-01
*/

// SPDX-License-Identifier: AGPL-3.0-or-later
pragma solidity 0.8.20;

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

/**
 * @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;
    }

    function _contextSuffixLength() internal view virtual returns (uint256) {
        return 0;
    }
}

/**
 * @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);
    }
}

/**
 * @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);
}

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        _nonReentrantBefore();
        _;
        _nonReentrantAfter();
    }

    function _nonReentrantBefore() private {
        // On the first call to nonReentrant, _status will be _NOT_ENTERED
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;
    }

    function _nonReentrantAfter() private {
        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Returns true if the reentrancy guard is currently set to "entered", which indicates there is a
     * `nonReentrant` function in the call stack.
     */
    function _reentrancyGuardEntered() internal view returns (bool) {
        return _status == _ENTERED;
    }
}

contract ClaimContract is Ownable, ReentrancyGuard{

    address public tokenAddress;
    bool public isClaimActive = true;
    mapping (address user => uint256 amount) public userBalance;

    constructor(address _tokenAddress) Ownable(msg.sender){
        tokenAddress = _tokenAddress;
    }
    
    function claimTokens() public nonReentrant {
        require(isClaimActive, "Claim is not active");
        require(userBalance[msg.sender] > 0, "No tokens to claim");
        require(tokenAddress != address(0), "Invalid token address");
        require(IERC20(tokenAddress).balanceOf(address(this)) >= userBalance[msg.sender], "Insufficient balance");
        uint256 amount = userBalance[msg.sender];
        userBalance[msg.sender] = 0;
        IERC20(tokenAddress).transfer(msg.sender, amount);
    }

    function toggleClaim() public onlyOwner {
        isClaimActive = !isClaimActive;
    }

    function updateTokenAddress(address _tokenAddress) public onlyOwner {
        tokenAddress = _tokenAddress;
    }

    function setBalance(address user, uint256 amount) public onlyOwner {
        userBalance[user] = amount;
    }

    function setBalanceBulk(address[] memory users, uint256[] memory amounts) public onlyOwner {
        require(users.length == amounts.length, "Invalid input");
        for(uint i = 0; i < users.length; i++){
            userBalance[users[i]] = amounts[i];
        }
    }
    
    function emergenceyWithdrawTokens() public onlyOwner {
        IERC20(tokenAddress).transfer(owner(), IERC20(tokenAddress).balanceOf(address(this)));
    }

    function withdraw() public payable onlyOwner {
        (bool success, ) = payable(msg.sender).call{
            value: address(this).balance
        }("");
        require(success);
    }

}

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"},{"inputs":[],"name":"claimTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"emergenceyWithdrawTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"isClaimActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"address","name":"user","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setBalance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"users","type":"address[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"name":"setBalanceBulk","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"toggleClaim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"tokenAddress","outputs":[{"internalType":"address","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":"_tokenAddress","type":"address"}],"name":"updateTokenAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"userBalance","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"}]

60806040526002805460ff60a01b1916600160a01b17905534801561002357600080fd5b50604051610c60380380610c60833981016040819052610042916100eb565b338061006857604051631e4fbdf760e01b81526000600482015260240160405180910390fd5b6100718161009b565b5060018055600280546001600160a01b0319166001600160a01b039290921691909117905561011b565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000602082840312156100fd57600080fd5b81516001600160a01b038116811461011457600080fd5b9392505050565b610b368061012a6000396000f3fe6080604052600436106100c25760003560e01c80638da5cb5b1161007f578063d112974511610059578063d1129745146101fe578063e30443bc14610213578063f2fde38b14610233578063fa7e685b1461025357600080fd5b80638da5cb5b1461018c5780639d76ea58146101be578063c594d151146101de57600080fd5b80630103c92b146100c75780633ccfd60b1461010757806348c54b9d146101115780636691461a14610126578063715018a6146101465780637fc278031461015b575b600080fd5b3480156100d357600080fd5b506100f46100e23660046108a6565b60036020526000908152604090205481565b6040519081526020015b60405180910390f35b61010f610268565b005b34801561011d57600080fd5b5061010f6102c8565b34801561013257600080fd5b5061010f6101413660046108a6565b610521565b34801561015257600080fd5b5061010f61054b565b34801561016757600080fd5b5060025461017c90600160a01b900460ff1681565b60405190151581526020016100fe565b34801561019857600080fd5b506000546001600160a01b03165b6040516001600160a01b0390911681526020016100fe565b3480156101ca57600080fd5b506002546101a6906001600160a01b031681565b3480156101ea57600080fd5b5061010f6101f936600461099e565b61055d565b34801561020a57600080fd5b5061010f610626565b34801561021f57600080fd5b5061010f61022e366004610a5e565b61064f565b34801561023f57600080fd5b5061010f61024e3660046108a6565b610673565b34801561025f57600080fd5b5061010f6106ae565b6102706107b4565b604051600090339047908381818185875af1925050503d80600081146102b2576040519150601f19603f3d011682016040523d82523d6000602084013e6102b7565b606091505b50509050806102c557600080fd5b50565b6102d06107e1565b600254600160a01b900460ff166103245760405162461bcd60e51b8152602060048201526013602482015272436c61696d206973206e6f742061637469766560681b60448201526064015b60405180910390fd5b336000908152600360205260409020546103755760405162461bcd60e51b81526020600482015260126024820152714e6f20746f6b656e7320746f20636c61696d60701b604482015260640161031b565b6002546001600160a01b03166103c55760405162461bcd60e51b8152602060048201526015602482015274496e76616c696420746f6b656e206164647265737360581b604482015260640161031b565b33600090815260036020526040908190205460025491516370a0823160e01b815230600482015290916001600160a01b0316906370a0823190602401602060405180830381865afa15801561041e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104429190610a88565b10156104875760405162461bcd60e51b8152602060048201526014602482015273496e73756666696369656e742062616c616e636560601b604482015260640161031b565b336000818152600360205260408082208054929055600254905163a9059cbb60e01b815260048101939093526024830182905290916001600160a01b039091169063a9059cbb906044016020604051808303816000875af11580156104f0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105149190610aa1565b505061051f60018055565b565b6105296107b4565b600280546001600160a01b0319166001600160a01b0392909216919091179055565b6105536107b4565b61051f600061083a565b6105656107b4565b80518251146105a65760405162461bcd60e51b815260206004820152600d60248201526c125b9d985b1a59081a5b9c1d5d609a1b604482015260640161031b565b60005b8251811015610621578181815181106105c4576105c4610ac3565b6020026020010151600360008584815181106105e2576105e2610ac3565b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002081905550808061061990610ad9565b9150506105a9565b505050565b61062e6107b4565b6002805460ff60a01b198116600160a01b9182900460ff1615909102179055565b6106576107b4565b6001600160a01b03909116600090815260036020526040902055565b61067b6107b4565b6001600160a01b0381166106a557604051631e4fbdf760e01b81526000600482015260240161031b565b6102c58161083a565b6106b66107b4565b6002546001600160a01b031663a9059cbb6106d96000546001600160a01b031690565b6002546040516370a0823160e01b81523060048201526001600160a01b03909116906370a0823190602401602060405180830381865afa158015610721573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107459190610a88565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044016020604051808303816000875af1158015610790573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102c59190610aa1565b6000546001600160a01b0316331461051f5760405163118cdaa760e01b815233600482015260240161031b565b6002600154036108335760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015260640161031b565b6002600155565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80356001600160a01b03811681146108a157600080fd5b919050565b6000602082840312156108b857600080fd5b6108c18261088a565b9392505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715610907576109076108c8565b604052919050565b600067ffffffffffffffff821115610929576109296108c8565b5060051b60200190565b600082601f83011261094457600080fd5b813560206109596109548361090f565b6108de565b82815260059290921b8401810191818101908684111561097857600080fd5b8286015b84811015610993578035835291830191830161097c565b509695505050505050565b600080604083850312156109b157600080fd5b823567ffffffffffffffff808211156109c957600080fd5b818501915085601f8301126109dd57600080fd5b813560206109ed6109548361090f565b82815260059290921b84018101918181019089841115610a0c57600080fd5b948201945b83861015610a3157610a228661088a565b82529482019490820190610a11565b96505086013592505080821115610a4757600080fd5b50610a5485828601610933565b9150509250929050565b60008060408385031215610a7157600080fd5b610a7a8361088a565b946020939093013593505050565b600060208284031215610a9a57600080fd5b5051919050565b600060208284031215610ab357600080fd5b815180151581146108c157600080fd5b634e487b7160e01b600052603260045260246000fd5b600060018201610af957634e487b7160e01b600052601160045260246000fd5b506001019056fea2646970667358221220c5851484e76d41fb1378c48ec32d0759c0a6394f107c5ee0812de014f746590864736f6c6343000814003300000000000000000000000099ba8b1b6657dd873aa491c83794862fc4ae4c6d

Deployed Bytecode

0x6080604052600436106100c25760003560e01c80638da5cb5b1161007f578063d112974511610059578063d1129745146101fe578063e30443bc14610213578063f2fde38b14610233578063fa7e685b1461025357600080fd5b80638da5cb5b1461018c5780639d76ea58146101be578063c594d151146101de57600080fd5b80630103c92b146100c75780633ccfd60b1461010757806348c54b9d146101115780636691461a14610126578063715018a6146101465780637fc278031461015b575b600080fd5b3480156100d357600080fd5b506100f46100e23660046108a6565b60036020526000908152604090205481565b6040519081526020015b60405180910390f35b61010f610268565b005b34801561011d57600080fd5b5061010f6102c8565b34801561013257600080fd5b5061010f6101413660046108a6565b610521565b34801561015257600080fd5b5061010f61054b565b34801561016757600080fd5b5060025461017c90600160a01b900460ff1681565b60405190151581526020016100fe565b34801561019857600080fd5b506000546001600160a01b03165b6040516001600160a01b0390911681526020016100fe565b3480156101ca57600080fd5b506002546101a6906001600160a01b031681565b3480156101ea57600080fd5b5061010f6101f936600461099e565b61055d565b34801561020a57600080fd5b5061010f610626565b34801561021f57600080fd5b5061010f61022e366004610a5e565b61064f565b34801561023f57600080fd5b5061010f61024e3660046108a6565b610673565b34801561025f57600080fd5b5061010f6106ae565b6102706107b4565b604051600090339047908381818185875af1925050503d80600081146102b2576040519150601f19603f3d011682016040523d82523d6000602084013e6102b7565b606091505b50509050806102c557600080fd5b50565b6102d06107e1565b600254600160a01b900460ff166103245760405162461bcd60e51b8152602060048201526013602482015272436c61696d206973206e6f742061637469766560681b60448201526064015b60405180910390fd5b336000908152600360205260409020546103755760405162461bcd60e51b81526020600482015260126024820152714e6f20746f6b656e7320746f20636c61696d60701b604482015260640161031b565b6002546001600160a01b03166103c55760405162461bcd60e51b8152602060048201526015602482015274496e76616c696420746f6b656e206164647265737360581b604482015260640161031b565b33600090815260036020526040908190205460025491516370a0823160e01b815230600482015290916001600160a01b0316906370a0823190602401602060405180830381865afa15801561041e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104429190610a88565b10156104875760405162461bcd60e51b8152602060048201526014602482015273496e73756666696369656e742062616c616e636560601b604482015260640161031b565b336000818152600360205260408082208054929055600254905163a9059cbb60e01b815260048101939093526024830182905290916001600160a01b039091169063a9059cbb906044016020604051808303816000875af11580156104f0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105149190610aa1565b505061051f60018055565b565b6105296107b4565b600280546001600160a01b0319166001600160a01b0392909216919091179055565b6105536107b4565b61051f600061083a565b6105656107b4565b80518251146105a65760405162461bcd60e51b815260206004820152600d60248201526c125b9d985b1a59081a5b9c1d5d609a1b604482015260640161031b565b60005b8251811015610621578181815181106105c4576105c4610ac3565b6020026020010151600360008584815181106105e2576105e2610ac3565b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002081905550808061061990610ad9565b9150506105a9565b505050565b61062e6107b4565b6002805460ff60a01b198116600160a01b9182900460ff1615909102179055565b6106576107b4565b6001600160a01b03909116600090815260036020526040902055565b61067b6107b4565b6001600160a01b0381166106a557604051631e4fbdf760e01b81526000600482015260240161031b565b6102c58161083a565b6106b66107b4565b6002546001600160a01b031663a9059cbb6106d96000546001600160a01b031690565b6002546040516370a0823160e01b81523060048201526001600160a01b03909116906370a0823190602401602060405180830381865afa158015610721573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107459190610a88565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044016020604051808303816000875af1158015610790573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102c59190610aa1565b6000546001600160a01b0316331461051f5760405163118cdaa760e01b815233600482015260240161031b565b6002600154036108335760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015260640161031b565b6002600155565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80356001600160a01b03811681146108a157600080fd5b919050565b6000602082840312156108b857600080fd5b6108c18261088a565b9392505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715610907576109076108c8565b604052919050565b600067ffffffffffffffff821115610929576109296108c8565b5060051b60200190565b600082601f83011261094457600080fd5b813560206109596109548361090f565b6108de565b82815260059290921b8401810191818101908684111561097857600080fd5b8286015b84811015610993578035835291830191830161097c565b509695505050505050565b600080604083850312156109b157600080fd5b823567ffffffffffffffff808211156109c957600080fd5b818501915085601f8301126109dd57600080fd5b813560206109ed6109548361090f565b82815260059290921b84018101918181019089841115610a0c57600080fd5b948201945b83861015610a3157610a228661088a565b82529482019490820190610a11565b96505086013592505080821115610a4757600080fd5b50610a5485828601610933565b9150509250929050565b60008060408385031215610a7157600080fd5b610a7a8361088a565b946020939093013593505050565b600060208284031215610a9a57600080fd5b5051919050565b600060208284031215610ab357600080fd5b815180151581146108c157600080fd5b634e487b7160e01b600052603260045260246000fd5b600060018201610af957634e487b7160e01b600052601160045260246000fd5b506001019056fea2646970667358221220c5851484e76d41fb1378c48ec32d0759c0a6394f107c5ee0812de014f746590864736f6c63430008140033

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

00000000000000000000000099ba8b1b6657dd873aa491c83794862fc4ae4c6d

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

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 00000000000000000000000099ba8b1b6657dd873aa491c83794862fc4ae4c6d


Deployed Bytecode Sourcemap

9815:1822:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9947:59;;;;;;;;;;-1:-1:-1;9947:59:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;;529:25:1;;;517:2;502:18;9947:59:0;;;;;;;;11440:192;;;:::i;:::-;;10128:512;;;;;;;;;;;;;:::i;10745:115::-;;;;;;;;;;-1:-1:-1;10745:115:0;;;;;:::i;:::-;;:::i;3192:103::-;;;;;;;;;;;;;:::i;9908:32::-;;;;;;;;;;-1:-1:-1;9908:32:0;;;;-1:-1:-1;;;9908:32:0;;;;;;;;;730:14:1;;723:22;705:41;;693:2;678:18;9908:32:0;565:187:1;2517:87:0;;;;;;;;;;-1:-1:-1;2563:7:0;2590:6;-1:-1:-1;;;;;2590:6:0;2517:87;;;-1:-1:-1;;;;;921:32:1;;;903:51;;891:2;876:18;2517:87:0;757:203:1;9874:27:0;;;;;;;;;;-1:-1:-1;9874:27:0;;;;-1:-1:-1;;;;;9874:27:0;;;10988:275;;;;;;;;;;-1:-1:-1;10988:275:0;;;;;:::i;:::-;;:::i;10648:89::-;;;;;;;;;;;;;:::i;10868:112::-;;;;;;;;;;-1:-1:-1;10868:112:0;;;;;:::i;:::-;;:::i;3450:220::-;;;;;;;;;;-1:-1:-1;3450:220:0;;;;;:::i;:::-;;:::i;11275:157::-;;;;;;;;;;;;;:::i;11440:192::-;2403:13;:11;:13::i;:::-;11515:82:::1;::::0;11497:12:::1;::::0;11523:10:::1;::::0;11561:21:::1;::::0;11497:12;11515:82;11497:12;11515:82;11561:21;11523:10;11515:82:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11496:101;;;11616:7;11608:16;;;::::0;::::1;;11485:147;11440:192::o:0;10128:512::-;8920:21;:19;:21::i;:::-;10190:13:::1;::::0;-1:-1:-1;;;10190:13:0;::::1;;;10182:45;;;::::0;-1:-1:-1;;;10182:45:0;;4054:2:1;10182:45:0::1;::::0;::::1;4036:21:1::0;4093:2;4073:18;;;4066:30;-1:-1:-1;;;4112:18:1;;;4105:49;4171:18;;10182:45:0::1;;;;;;;;;10258:10;10272:1;10246:23:::0;;;:11:::1;:23;::::0;;;;;10238:58:::1;;;::::0;-1:-1:-1;;;10238:58:0;;4402:2:1;10238:58:0::1;::::0;::::1;4384:21:1::0;4441:2;4421:18;;;4414:30;-1:-1:-1;;;4460:18:1;;;4453:48;4518:18;;10238:58:0::1;4200:342:1::0;10238:58:0::1;10315:12;::::0;-1:-1:-1;;;;;10315:12:0::1;10307:60;;;::::0;-1:-1:-1;;;10307:60:0;;4749:2:1;10307:60:0::1;::::0;::::1;4731:21:1::0;4788:2;4768:18;;;4761:30;-1:-1:-1;;;4807:18:1;;;4800:51;4868:18;;10307:60:0::1;4547:345:1::0;10307:60:0::1;10447:10;10435:23;::::0;;;:11:::1;:23;::::0;;;;;;;10393:12:::1;::::0;10386:45;;-1:-1:-1;;;10386:45:0;;10425:4:::1;10386:45;::::0;::::1;903:51:1::0;10435:23:0;;-1:-1:-1;;;;;10393:12:0::1;::::0;10386:30:::1;::::0;876:18:1;;10386:45:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:72;;10378:105;;;::::0;-1:-1:-1;;;10378:105:0;;5288:2:1;10378:105:0::1;::::0;::::1;5270:21:1::0;5327:2;5307:18;;;5300:30;-1:-1:-1;;;5346:18:1;;;5339:50;5406:18;;10378:105:0::1;5086:344:1::0;10378:105:0::1;10523:10;10494:14;10511:23:::0;;;:11:::1;:23;::::0;;;;;;;10545:27;;;10590:12:::1;::::0;10583:49;;-1:-1:-1;;;10583:49:0;;::::1;::::0;::::1;5609:51:1::0;;;;5676:18;;;5669:34;;;10511:23:0;;-1:-1:-1;;;;;10590:12:0;;::::1;::::0;10583:29:::1;::::0;5582:18:1;;10583:49:0::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;10171:469;8964:20:::0;8358:1;9484:22;;9301:213;8964:20;10128:512::o;10745:115::-;2403:13;:11;:13::i;:::-;10824:12:::1;:28:::0;;-1:-1:-1;;;;;;10824:28:0::1;-1:-1:-1::0;;;;;10824:28:0;;;::::1;::::0;;;::::1;::::0;;10745:115::o;3192:103::-;2403:13;:11;:13::i;:::-;3257:30:::1;3284:1;3257:18;:30::i;10988:275::-:0;2403:13;:11;:13::i;:::-;11114:7:::1;:14;11098:5;:12;:30;11090:56;;;::::0;-1:-1:-1;;;11090:56:0;;6198:2:1;11090:56:0::1;::::0;::::1;6180:21:1::0;6237:2;6217:18;;;6210:30;-1:-1:-1;;;6256:18:1;;;6249:43;6309:18;;11090:56:0::1;5996:337:1::0;11090:56:0::1;11161:6;11157:99;11177:5;:12;11173:1;:16;11157:99;;;11234:7;11242:1;11234:10;;;;;;;;:::i;:::-;;;;;;;11210:11;:21;11222:5;11228:1;11222:8;;;;;;;;:::i;:::-;;;;;;;-1:-1:-1::0;;;;;11210:21:0::1;-1:-1:-1::0;;;;;11210:21:0::1;;;;;;;;;;;;:34;;;;11191:3;;;;;:::i;:::-;;;;11157:99;;;;10988:275:::0;;:::o;10648:89::-;2403:13;:11;:13::i;:::-;10716::::1;::::0;;-1:-1:-1;;;;10699:30:0;::::1;-1:-1:-1::0;;;10716:13:0;;;::::1;;;10715:14;10699:30:::0;;::::1;;::::0;;10648:89::o;10868:112::-;2403:13;:11;:13::i;:::-;-1:-1:-1;;;;;10946:17:0;;::::1;;::::0;;;:11:::1;:17;::::0;;;;:26;10868:112::o;3450:220::-;2403:13;:11;:13::i;:::-;-1:-1:-1;;;;;3535:22:0;::::1;3531:93;;3581:31;::::0;-1:-1:-1;;;3581:31:0;;3609:1:::1;3581:31;::::0;::::1;903:51:1::0;876:18;;3581:31:0::1;757:203:1::0;3531:93:0::1;3634:28;3653:8;3634:18;:28::i;11275:157::-:0;2403:13;:11;:13::i;:::-;11346:12:::1;::::0;-1:-1:-1;;;;;11346:12:0::1;11339:29;11369:7;2563::::0;2590:6;-1:-1:-1;;;;;2590:6:0;;2517:87;11369:7:::1;11385:12;::::0;11378:45:::1;::::0;-1:-1:-1;;;11378:45:0;;11417:4:::1;11378:45;::::0;::::1;903:51:1::0;-1:-1:-1;;;;;11385:12:0;;::::1;::::0;11378:30:::1;::::0;876:18:1;;11378:45:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;11339:85;::::0;-1:-1:-1;;;;;;11339:85:0::1;::::0;;;;;;-1:-1:-1;;;;;5627:32:1;;;11339:85:0::1;::::0;::::1;5609:51:1::0;5676:18;;;5669:34;5582:18;;11339:85:0::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;2682:166::-:0;2563:7;2590:6;-1:-1:-1;;;;;2590:6:0;765:10;2742:23;2738:103;;2789:40;;-1:-1:-1;;;2789:40:0;;765:10;2789:40;;;903:51:1;876:18;;2789:40:0;757:203:1;9000:293:0;8402:1;9134:7;;:19;9126:63;;;;-1:-1:-1;;;9126:63:0;;6909:2:1;9126:63:0;;;6891:21:1;6948:2;6928:18;;;6921:30;6987:33;6967:18;;;6960:61;7038:18;;9126:63:0;6707:355:1;9126:63:0;8402:1;9267:7;:18;9000:293::o;3830:191::-;3904:16;3923:6;;-1:-1:-1;;;;;3940:17:0;;;-1:-1:-1;;;;;;3940:17:0;;;;;;3973:40;;3923:6;;;;;;;3973:40;;3904:16;3973:40;3893:128;3830:191;:::o;14:173:1:-;82:20;;-1:-1:-1;;;;;131:31:1;;121:42;;111:70;;177:1;174;167:12;111:70;14:173;;;:::o;192:186::-;251:6;304:2;292:9;283:7;279:23;275:32;272:52;;;320:1;317;310:12;272:52;343:29;362:9;343:29;:::i;:::-;333:39;192:186;-1:-1:-1;;;192:186:1:o;965:127::-;1026:10;1021:3;1017:20;1014:1;1007:31;1057:4;1054:1;1047:15;1081:4;1078:1;1071:15;1097:275;1168:2;1162:9;1233:2;1214:13;;-1:-1:-1;;1210:27:1;1198:40;;1268:18;1253:34;;1289:22;;;1250:62;1247:88;;;1315:18;;:::i;:::-;1351:2;1344:22;1097:275;;-1:-1:-1;1097:275:1:o;1377:183::-;1437:4;1470:18;1462:6;1459:30;1456:56;;;1492:18;;:::i;:::-;-1:-1:-1;1537:1:1;1533:14;1549:4;1529:25;;1377:183::o;1565:662::-;1619:5;1672:3;1665:4;1657:6;1653:17;1649:27;1639:55;;1690:1;1687;1680:12;1639:55;1726:6;1713:20;1752:4;1776:60;1792:43;1832:2;1792:43;:::i;:::-;1776:60;:::i;:::-;1870:15;;;1956:1;1952:10;;;;1940:23;;1936:32;;;1901:12;;;;1980:15;;;1977:35;;;2008:1;2005;1998:12;1977:35;2044:2;2036:6;2032:15;2056:142;2072:6;2067:3;2064:15;2056:142;;;2138:17;;2126:30;;2176:12;;;;2089;;2056:142;;;-1:-1:-1;2216:5:1;1565:662;-1:-1:-1;;;;;;1565:662:1:o;2232:1146::-;2350:6;2358;2411:2;2399:9;2390:7;2386:23;2382:32;2379:52;;;2427:1;2424;2417:12;2379:52;2467:9;2454:23;2496:18;2537:2;2529:6;2526:14;2523:34;;;2553:1;2550;2543:12;2523:34;2591:6;2580:9;2576:22;2566:32;;2636:7;2629:4;2625:2;2621:13;2617:27;2607:55;;2658:1;2655;2648:12;2607:55;2694:2;2681:16;2716:4;2740:60;2756:43;2796:2;2756:43;:::i;2740:60::-;2834:15;;;2916:1;2912:10;;;;2904:19;;2900:28;;;2865:12;;;;2940:19;;;2937:39;;;2972:1;2969;2962:12;2937:39;2996:11;;;;3016:148;3032:6;3027:3;3024:15;3016:148;;;3098:23;3117:3;3098:23;:::i;:::-;3086:36;;3049:12;;;;3142;;;;3016:148;;;3183:5;-1:-1:-1;;3226:18:1;;3213:32;;-1:-1:-1;;3257:16:1;;;3254:36;;;3286:1;3283;3276:12;3254:36;;3309:63;3364:7;3353:8;3342:9;3338:24;3309:63;:::i;:::-;3299:73;;;2232:1146;;;;;:::o;3383:254::-;3451:6;3459;3512:2;3500:9;3491:7;3487:23;3483:32;3480:52;;;3528:1;3525;3518:12;3480:52;3551:29;3570:9;3551:29;:::i;:::-;3541:39;3627:2;3612:18;;;;3599:32;;-1:-1:-1;;;3383:254:1:o;4897:184::-;4967:6;5020:2;5008:9;4999:7;4995:23;4991:32;4988:52;;;5036:1;5033;5026:12;4988:52;-1:-1:-1;5059:16:1;;4897:184;-1:-1:-1;4897:184:1:o;5714:277::-;5781:6;5834:2;5822:9;5813:7;5809:23;5805:32;5802:52;;;5850:1;5847;5840:12;5802:52;5882:9;5876:16;5935:5;5928:13;5921:21;5914:5;5911:32;5901:60;;5957:1;5954;5947:12;6338:127;6399:10;6394:3;6390:20;6387:1;6380:31;6430:4;6427:1;6420:15;6454:4;6451:1;6444:15;6470:232;6509:3;6530:17;;;6527:140;;6589:10;6584:3;6580:20;6577:1;6570:31;6624:4;6621:1;6614:15;6652:4;6649:1;6642:15;6527:140;-1:-1:-1;6694:1:1;6683:13;;6470:232::o

Swarm Source

ipfs://c5851484e76d41fb1378c48ec32d0759c0a6394f107c5ee0812de014f7465908

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.