ETH Price: $3,846.00 (+2.37%)
Gas: 6 Gwei

Contract

0x6c81AaeDdAaC4D889921CF40f075207853597678
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Value
Add Contract174302612023-06-07 18:26:23354 days ago1686162383IN
0x6c81AaeD...853597678
0 ETH0.0030522530.77454965
0x60806040174274002023-06-07 8:46:11354 days ago1686127571IN
 Create: FUEGOAirdrop
0 ETH0.0374933420

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
FUEGOAirdrop

Compiler Version
v0.8.18+commit.87f61d96

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 9 : FuegoAirdrop.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.11;

import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/utils/introspection/ERC165Checker.sol";
import "@openzeppelin/contracts/utils/structs/EnumerableSet.sol";
import "@openzeppelin/contracts/access/Ownable.sol";


contract FUEGOAirdrop is Ownable {

    using SafeMath for uint256;
    using EnumerableSet for EnumerableSet.AddressSet;

    EnumerableSet.AddressSet private approvedContracts;

    IERC20 public tokenContract;
    mapping(address => mapping(uint256 => bool)) public tokensClaimedByContract;
    uint256 public maxClaimPerTransaction;
    uint256 public numTokensPerNFT;

    event TokensClaimed(address _sender, address _contract, uint256 _claimAmount);
    event ContractApproved(address _contract);
    event ContractUnapproved(address _contract);
    event Withdraw(uint256 _amount);

    constructor(address _tokenAddress) {

        tokenContract = IERC20(_tokenAddress);
        maxClaimPerTransaction = 20;
        numTokensPerNFT = 10000 ether;

    }

    /**
      * @notice claim ERC20 Tokens stored in this faucet contract using ERC721 tokens on approved contracts
      * @dev maximum of 10 tokenIds can be used per claim transaction
      * @param _contractAddress address of ERC721 contract for tokenId references 
      * @param _tokenIds array of token numbers owned by sender
      */
    function claim(address _contractAddress, uint256[] calldata _tokenIds) public {
        require(_tokenIds.length > 0,"Must provide at least 1 NFT token");
        require(_tokenIds.length <= maxClaimPerTransaction,"Must provide 20 or less tokens per transaction");
        require(isContractApproved(_contractAddress),"Contract address not approved for the faucet");

        IERC721 contract_ = IERC721(_contractAddress); 
        
        for(uint256 i = 0; i < _tokenIds.length; i++){
            require(contract_.ownerOf(_tokenIds[i])==msg.sender,"Sender does not own all tokens submitted");
            require(!tokensClaimedByContract[_contractAddress][_tokenIds[i]],"Token already claimed");
            tokensClaimedByContract[_contractAddress][_tokenIds[i]] = true;
        }

        uint256 numFuegoTokens = _tokenIds.length.mul(numTokensPerNFT);
        require(tokenContract.balanceOf(address(this)) >= numFuegoTokens, "Not enough tokens remaining in faucet");
        require(tokenContract.transfer(msg.sender,numFuegoTokens),"Error sending coins to caller");
        
        emit TokensClaimed(msg.sender, _contractAddress, numFuegoTokens);
    }

    /**
      * @notice add ERC721 contract to the approved list for the faucet
      * @param _contractAddress address of ERC721 contract
      */
    function addContract(address _contractAddress) public onlyOwner {
        require(_contractAddress != address(this), "Cannot add smart to itself");
        require(ERC165Checker.supportsInterface(_contractAddress, type(IERC721).interfaceId), "Contract must support IERC721");
        require(approvedContracts.add(_contractAddress), "Contract already approved");

        emit ContractApproved(_contractAddress);
    }

    /**
      * @notice remove ERC721 contract from the approved list for the faucet
      * @param _contractAddress address of ERC721 contract
      */
    function removeContract(address _contractAddress) public onlyOwner {
        require(approvedContracts.remove(_contractAddress),"Contract not on the approved list");
        
        emit ContractUnapproved(_contractAddress);
    }

    /**
      * @notice withdraw remaining ERC20 tokens stored in faucet to Owner
      */
    function withdrawBalance() public onlyOwner {
        uint256 balance = tokenContract.balanceOf(address(this));
        require(tokenContract.transfer(msg.sender,balance),"Error sending coins to caller");

        emit Withdraw(balance);
    }

    /**
      * @notice check if a contract is approved
      * @param _contractAddress address of ERC721 contract
      */
    function isContractApproved(address _contractAddress) public view returns (bool) {
        return approvedContracts.contains(_contractAddress);
    }

    /**
      * @notice get list of approved contracts
      * @dev unbounded and to be used for read-only
      */
    function getApprovedContracts() public view returns (address[] memory){
        return approvedContracts.values();
    }

}

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

pragma solidity ^0.8.0;

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

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

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

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

    /**
     * @dev 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 {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

    /**
     * @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 {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _transferOwnership(newOwner);
    }

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

File 4 of 9 : EnumerableSet.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (utils/structs/EnumerableSet.sol)
// This file was procedurally generated from scripts/generate/templates/EnumerableSet.js.

pragma solidity ^0.8.0;

/**
 * @dev Library for managing
 * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive
 * types.
 *
 * Sets have the following properties:
 *
 * - Elements are added, removed, and checked for existence in constant time
 * (O(1)).
 * - Elements are enumerated in O(n). No guarantees are made on the ordering.
 *
 * ```solidity
 * contract Example {
 *     // Add the library methods
 *     using EnumerableSet for EnumerableSet.AddressSet;
 *
 *     // Declare a set state variable
 *     EnumerableSet.AddressSet private mySet;
 * }
 * ```
 *
 * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)
 * and `uint256` (`UintSet`) are supported.
 *
 * [WARNING]
 * ====
 * Trying to delete such a structure from storage will likely result in data corruption, rendering the structure
 * unusable.
 * See https://github.com/ethereum/solidity/pull/11843[ethereum/solidity#11843] for more info.
 *
 * In order to clean an EnumerableSet, you can either remove all elements one by one or create a fresh instance using an
 * array of EnumerableSet.
 * ====
 */
library EnumerableSet {
    // To implement this library for multiple types with as little code
    // repetition as possible, we write it in terms of a generic Set type with
    // bytes32 values.
    // The Set implementation uses private functions, and user-facing
    // implementations (such as AddressSet) are just wrappers around the
    // underlying Set.
    // This means that we can only create new EnumerableSets for types that fit
    // in bytes32.

    struct Set {
        // Storage of set values
        bytes32[] _values;
        // Position of the value in the `values` array, plus 1 because index 0
        // means a value is not in the set.
        mapping(bytes32 => uint256) _indexes;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function _add(Set storage set, bytes32 value) private returns (bool) {
        if (!_contains(set, value)) {
            set._values.push(value);
            // The value is stored at length-1, but we add 1 to all indexes
            // and use 0 as a sentinel value
            set._indexes[value] = set._values.length;
            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function _remove(Set storage set, bytes32 value) private returns (bool) {
        // We read and store the value's index to prevent multiple reads from the same storage slot
        uint256 valueIndex = set._indexes[value];

        if (valueIndex != 0) {
            // Equivalent to contains(set, value)
            // To delete an element from the _values array in O(1), we swap the element to delete with the last one in
            // the array, and then remove the last element (sometimes called as 'swap and pop').
            // This modifies the order of the array, as noted in {at}.

            uint256 toDeleteIndex = valueIndex - 1;
            uint256 lastIndex = set._values.length - 1;

            if (lastIndex != toDeleteIndex) {
                bytes32 lastValue = set._values[lastIndex];

                // Move the last value to the index where the value to delete is
                set._values[toDeleteIndex] = lastValue;
                // Update the index for the moved value
                set._indexes[lastValue] = valueIndex; // Replace lastValue's index to valueIndex
            }

            // Delete the slot where the moved value was stored
            set._values.pop();

            // Delete the index for the deleted slot
            delete set._indexes[value];

            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function _contains(Set storage set, bytes32 value) private view returns (bool) {
        return set._indexes[value] != 0;
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function _length(Set storage set) private view returns (uint256) {
        return set._values.length;
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function _at(Set storage set, uint256 index) private view returns (bytes32) {
        return set._values[index];
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function _values(Set storage set) private view returns (bytes32[] memory) {
        return set._values;
    }

    // Bytes32Set

    struct Bytes32Set {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(Bytes32Set storage set, bytes32 value) internal returns (bool) {
        return _add(set._inner, value);
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) {
        return _remove(set._inner, value);
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) {
        return _contains(set._inner, value);
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(Bytes32Set storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) {
        return _at(set._inner, index);
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(Bytes32Set storage set) internal view returns (bytes32[] memory) {
        bytes32[] memory store = _values(set._inner);
        bytes32[] memory result;

        /// @solidity memory-safe-assembly
        assembly {
            result := store
        }

        return result;
    }

    // AddressSet

    struct AddressSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(AddressSet storage set, address value) internal returns (bool) {
        return _add(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(AddressSet storage set, address value) internal returns (bool) {
        return _remove(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(AddressSet storage set, address value) internal view returns (bool) {
        return _contains(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(AddressSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(AddressSet storage set, uint256 index) internal view returns (address) {
        return address(uint160(uint256(_at(set._inner, index))));
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(AddressSet storage set) internal view returns (address[] memory) {
        bytes32[] memory store = _values(set._inner);
        address[] memory result;

        /// @solidity memory-safe-assembly
        assembly {
            result := store
        }

        return result;
    }

    // UintSet

    struct UintSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(UintSet storage set, uint256 value) internal returns (bool) {
        return _add(set._inner, bytes32(value));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(UintSet storage set, uint256 value) internal returns (bool) {
        return _remove(set._inner, bytes32(value));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(UintSet storage set, uint256 value) internal view returns (bool) {
        return _contains(set._inner, bytes32(value));
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(UintSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(UintSet storage set, uint256 index) internal view returns (uint256) {
        return uint256(_at(set._inner, index));
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(UintSet storage set) internal view returns (uint256[] memory) {
        bytes32[] memory store = _values(set._inner);
        uint256[] memory result;

        /// @solidity memory-safe-assembly
        assembly {
            result := store
        }

        return result;
    }
}

File 5 of 9 : ERC165Checker.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (utils/introspection/ERC165Checker.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

/**
 * @dev Library used to query support of an interface declared via {IERC165}.
 *
 * Note that these functions return the actual result of the query: they do not
 * `revert` if an interface is not supported. It is up to the caller to decide
 * what to do in these cases.
 */
library ERC165Checker {
    // As per the EIP-165 spec, no interface should ever match 0xffffffff
    bytes4 private constant _INTERFACE_ID_INVALID = 0xffffffff;

    /**
     * @dev Returns true if `account` supports the {IERC165} interface.
     */
    function supportsERC165(address account) internal view returns (bool) {
        // Any contract that implements ERC165 must explicitly indicate support of
        // InterfaceId_ERC165 and explicitly indicate non-support of InterfaceId_Invalid
        return
            supportsERC165InterfaceUnchecked(account, type(IERC165).interfaceId) &&
            !supportsERC165InterfaceUnchecked(account, _INTERFACE_ID_INVALID);
    }

    /**
     * @dev Returns true if `account` supports the interface defined by
     * `interfaceId`. Support for {IERC165} itself is queried automatically.
     *
     * See {IERC165-supportsInterface}.
     */
    function supportsInterface(address account, bytes4 interfaceId) internal view returns (bool) {
        // query support of both ERC165 as per the spec and support of _interfaceId
        return supportsERC165(account) && supportsERC165InterfaceUnchecked(account, interfaceId);
    }

    /**
     * @dev Returns a boolean array where each value corresponds to the
     * interfaces passed in and whether they're supported or not. This allows
     * you to batch check interfaces for a contract where your expectation
     * is that some interfaces may not be supported.
     *
     * See {IERC165-supportsInterface}.
     *
     * _Available since v3.4._
     */
    function getSupportedInterfaces(
        address account,
        bytes4[] memory interfaceIds
    ) internal view returns (bool[] memory) {
        // an array of booleans corresponding to interfaceIds and whether they're supported or not
        bool[] memory interfaceIdsSupported = new bool[](interfaceIds.length);

        // query support of ERC165 itself
        if (supportsERC165(account)) {
            // query support of each interface in interfaceIds
            for (uint256 i = 0; i < interfaceIds.length; i++) {
                interfaceIdsSupported[i] = supportsERC165InterfaceUnchecked(account, interfaceIds[i]);
            }
        }

        return interfaceIdsSupported;
    }

    /**
     * @dev Returns true if `account` supports all the interfaces defined in
     * `interfaceIds`. Support for {IERC165} itself is queried automatically.
     *
     * Batch-querying can lead to gas savings by skipping repeated checks for
     * {IERC165} support.
     *
     * See {IERC165-supportsInterface}.
     */
    function supportsAllInterfaces(address account, bytes4[] memory interfaceIds) internal view returns (bool) {
        // query support of ERC165 itself
        if (!supportsERC165(account)) {
            return false;
        }

        // query support of each interface in interfaceIds
        for (uint256 i = 0; i < interfaceIds.length; i++) {
            if (!supportsERC165InterfaceUnchecked(account, interfaceIds[i])) {
                return false;
            }
        }

        // all interfaces supported
        return true;
    }

    /**
     * @notice Query if a contract implements an interface, does not check ERC165 support
     * @param account The address of the contract to query for support of an interface
     * @param interfaceId The interface identifier, as specified in ERC-165
     * @return true if the contract at account indicates support of the interface with
     * identifier interfaceId, false otherwise
     * @dev Assumes that account contains a contract that supports ERC165, otherwise
     * the behavior of this method is undefined. This precondition can be checked
     * with {supportsERC165}.
     *
     * Some precompiled contracts will falsely indicate support for a given interface, so caution
     * should be exercised when using this function.
     *
     * Interface identification is specified in ERC-165.
     */
    function supportsERC165InterfaceUnchecked(address account, bytes4 interfaceId) internal view returns (bool) {
        // prepare call
        bytes memory encodedParams = abi.encodeWithSelector(IERC165.supportsInterface.selector, interfaceId);

        // perform static call
        bool success;
        uint256 returnSize;
        uint256 returnValue;
        assembly {
            success := staticcall(30000, account, add(encodedParams, 0x20), mload(encodedParams), 0x00, 0x20)
            returnSize := returndatasize()
            returnValue := mload(0x00)
        }

        return success && returnSize >= 0x20 && returnValue > 0;
    }
}

File 6 of 9 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

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

File 7 of 9 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev Required interface of an ERC721 compliant contract.
 */
interface IERC721 is IERC165 {
    /**
     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.
     */
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.
     */
    event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.
     */
    event ApprovalForAll(address indexed owner, address indexed operator, bool approved);

    /**
     * @dev Returns the number of tokens in ``owner``'s account.
     */
    function balanceOf(address owner) external view returns (uint256 balance);

    /**
     * @dev Returns the owner of the `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function ownerOf(uint256 tokenId) external view returns (address owner);

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(address from, address to, uint256 tokenId, bytes calldata data) external;

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must have been allowed to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(address from, address to, uint256 tokenId) external;

    /**
     * @dev Transfers `tokenId` token from `from` to `to`.
     *
     * WARNING: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721
     * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must
     * understand this adds an external call which potentially creates a reentrancy vulnerability.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(address from, address to, uint256 tokenId) external;

    /**
     * @dev Gives permission to `to` to transfer `tokenId` token to another account.
     * The approval is cleared when the token is transferred.
     *
     * Only a single account can be approved at a time, so approving the zero address clears previous approvals.
     *
     * Requirements:
     *
     * - The caller must own the token or be an approved operator.
     * - `tokenId` must exist.
     *
     * Emits an {Approval} event.
     */
    function approve(address to, uint256 tokenId) external;

    /**
     * @dev Approve or remove `operator` as an operator for the caller.
     * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.
     *
     * Requirements:
     *
     * - The `operator` cannot be the caller.
     *
     * Emits an {ApprovalForAll} event.
     */
    function setApprovalForAll(address operator, bool approved) external;

    /**
     * @dev Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

    /**
     * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
     *
     * See {setApprovalForAll}
     */
    function isApprovedForAll(address owner, address operator) external view returns (bool);
}

File 8 of 9 : SafeMath.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (utils/math/SafeMath.sol)

pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}

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

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

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

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_tokenAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_contract","type":"address"}],"name":"ContractApproved","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_contract","type":"address"}],"name":"ContractUnapproved","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_sender","type":"address"},{"indexed":false,"internalType":"address","name":"_contract","type":"address"},{"indexed":false,"internalType":"uint256","name":"_claimAmount","type":"uint256"}],"name":"TokensClaimed","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"Withdraw","type":"event"},{"inputs":[{"internalType":"address","name":"_contractAddress","type":"address"}],"name":"addContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_contractAddress","type":"address"},{"internalType":"uint256[]","name":"_tokenIds","type":"uint256[]"}],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getApprovedContracts","outputs":[{"internalType":"address[]","name":"","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_contractAddress","type":"address"}],"name":"isContractApproved","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxClaimPerTransaction","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"numTokensPerNFT","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":"_contractAddress","type":"address"}],"name":"removeContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"tokenContract","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"tokensClaimedByContract","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawBalance","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b5060405162002184380380620021848339818101604052810190620000379190620001ee565b620000576200004b620000b860201b60201c565b620000c060201b60201c565b80600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550601460058190555069021e19e0c9bab24000006006819055505062000220565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620001b68262000189565b9050919050565b620001c881620001a9565b8114620001d457600080fd5b50565b600081519050620001e881620001bd565b92915050565b60006020828403121562000207576200020662000184565b5b60006200021784828501620001d7565b91505092915050565b611f5480620002306000396000f3fe608060405234801561001057600080fd5b50600436106100cf5760003560e01c8063862ea1ba1161008c5780638da5cb5b116100665780638da5cb5b146101c8578063a548e5ea146101e6578063c375c2ef14610216578063f2fde38b14610232576100cf565b8063862ea1ba1461016e57806387ad8c681461018c5780638aa20ecb146101aa576100cf565b8063070d39d9146100d4578063457182781461010457806355a373d6146101205780635f539d691461013e5780635fd8c7101461015a578063715018a614610164575b600080fd5b6100ee60048036038101906100e9919061125d565b61024e565b6040516100fb91906112a5565b60405180910390f35b61011e60048036038101906101199190611325565b61026b565b005b6101286107bc565b60405161013591906113e4565b60405180910390f35b6101586004803603810190610153919061125d565b6107e2565b005b61016261094e565b005b61016c610b0f565b005b610176610b23565b60405161018391906114bd565b60405180910390f35b610194610b34565b6040516101a191906114f8565b60405180910390f35b6101b2610b3a565b6040516101bf91906114f8565b60405180910390f35b6101d0610b40565b6040516101dd9190611522565b60405180910390f35b61020060048036038101906101fb9190611569565b610b69565b60405161020d91906112a5565b60405180910390f35b610230600480360381019061022b919061125d565b610b98565b005b61024c6004803603810190610247919061125d565b610c2d565b005b6000610264826001610cb090919063ffffffff16565b9050919050565b600082829050116102b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016102a89061162c565b60405180910390fd5b6005548282905011156102f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016102f0906116be565b60405180910390fd5b6103028361024e565b610341576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161033890611750565b60405180910390fd5b600083905060005b838390508110156105a0573373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16636352211e86868581811061039a57610399611770565b5b905060200201356040518263ffffffff1660e01b81526004016103bd91906114f8565b602060405180830381865afa1580156103da573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103fe91906117b4565b73ffffffffffffffffffffffffffffffffffffffff1614610454576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161044b90611853565b60405180910390fd5b600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008585848181106104a8576104a7611770565b5b90506020020135815260200190815260200160002060009054906101000a900460ff161561050b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610502906118bf565b60405180910390fd5b6001600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600086868581811061056157610560611770565b5b90506020020135815260200190815260200160002060006101000a81548160ff02191690831515021790555080806105989061190e565b915050610349565b5060006105bb60065485859050610ce090919063ffffffff16565b905080600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016106199190611522565b602060405180830381865afa158015610636573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061065a919061196b565b101561069b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161069290611a0a565b60405180910390fd5b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33836040518363ffffffff1660e01b81526004016106f8929190611a2a565b6020604051808303816000875af1158015610717573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061073b9190611a7f565b61077a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161077190611af8565b60405180910390fd5b7fa86305abc2db271df4609aa86a8d044bc11fb36939841bfdad6c1ab2b26e94713386836040516107ad93929190611b18565b60405180910390a15050505050565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6107ea610cf6565b3073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610858576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161084f90611b9b565b60405180910390fd5b610882817f80ac58cd00000000000000000000000000000000000000000000000000000000610d74565b6108c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108b890611c07565b60405180910390fd5b6108d5816001610d9990919063ffffffff16565b610914576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161090b90611c73565b60405180910390fd5b7faf42961ad755cade79794d4122cb0afedc32bf55a0c716dd085fbee2afc6ac55816040516109439190611522565b60405180910390a150565b610956610cf6565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016109b39190611522565b602060405180830381865afa1580156109d0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109f4919061196b565b9050600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33836040518363ffffffff1660e01b8152600401610a53929190611a2a565b6020604051808303816000875af1158015610a72573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a969190611a7f565b610ad5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610acc90611af8565b60405180910390fd5b7f5b6b431d4476a211bb7d41c20d1aab9ae2321deee0d20be3d9fc9b1093fa6e3d81604051610b0491906114f8565b60405180910390a150565b610b17610cf6565b610b216000610dc9565b565b6060610b2f6001610e8d565b905090565b60065481565b60055481565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60046020528160005260406000206020528060005260406000206000915091509054906101000a900460ff1681565b610ba0610cf6565b610bb4816001610eae90919063ffffffff16565b610bf3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bea90611d05565b60405180910390fd5b7f97fd609c50722d17887170f33e7e8ae86421f650c02b82d6fe1e4ac9ef2842d481604051610c229190611522565b60405180910390a150565b610c35610cf6565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610ca4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c9b90611d97565b60405180910390fd5b610cad81610dc9565b50565b6000610cd8836000018373ffffffffffffffffffffffffffffffffffffffff1660001b610ede565b905092915050565b60008183610cee9190611db7565b905092915050565b610cfe610f01565b73ffffffffffffffffffffffffffffffffffffffff16610d1c610b40565b73ffffffffffffffffffffffffffffffffffffffff1614610d72576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d6990611e45565b60405180910390fd5b565b6000610d7f83610f09565b8015610d915750610d908383610f56565b5b905092915050565b6000610dc1836000018373ffffffffffffffffffffffffffffffffffffffff1660001b611015565b905092915050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60606000610e9d83600001611085565b905060608190508092505050919050565b6000610ed6836000018373ffffffffffffffffffffffffffffffffffffffff1660001b6110e1565b905092915050565b600080836001016000848152602001908152602001600020541415905092915050565b600033905090565b6000610f35827f01ffc9a700000000000000000000000000000000000000000000000000000000610f56565b8015610f4f5750610f4d8263ffffffff60e01b610f56565b155b9050919050565b6000806301ffc9a760e01b83604051602401610f729190611ea0565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff838183161783525050505090506000806000602060008551602087018a617530fa92503d91506000519050828015610ffd575060208210155b80156110095750600081115b94505050505092915050565b60006110218383610ede565b61107a57826000018290806001815401808255809150506001900390600052602060002001600090919091909150558260000180549050836001016000848152602001908152602001600020819055506001905061107f565b600090505b92915050565b6060816000018054806020026020016040519081016040528092919081815260200182805480156110d557602002820191906000526020600020905b8154815260200190600101908083116110c1575b50505050509050919050565b600080836001016000848152602001908152602001600020549050600081146111e95760006001826111139190611ebb565b905060006001866000018054905061112b9190611ebb565b905081811461119a57600086600001828154811061114c5761114b611770565b5b90600052602060002001549050808760000184815481106111705761116f611770565b5b90600052602060002001819055508387600101600083815260200190815260200160002081905550505b856000018054806111ae576111ad611eef565b5b6001900381819060005260206000200160009055905585600101600086815260200190815260200160002060009055600193505050506111ef565b60009150505b92915050565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061122a826111ff565b9050919050565b61123a8161121f565b811461124557600080fd5b50565b60008135905061125781611231565b92915050565b600060208284031215611273576112726111f5565b5b600061128184828501611248565b91505092915050565b60008115159050919050565b61129f8161128a565b82525050565b60006020820190506112ba6000830184611296565b92915050565b600080fd5b600080fd5b600080fd5b60008083601f8401126112e5576112e46112c0565b5b8235905067ffffffffffffffff811115611302576113016112c5565b5b60208301915083602082028301111561131e5761131d6112ca565b5b9250929050565b60008060006040848603121561133e5761133d6111f5565b5b600061134c86828701611248565b935050602084013567ffffffffffffffff81111561136d5761136c6111fa565b5b611379868287016112cf565b92509250509250925092565b6000819050919050565b60006113aa6113a56113a0846111ff565b611385565b6111ff565b9050919050565b60006113bc8261138f565b9050919050565b60006113ce826113b1565b9050919050565b6113de816113c3565b82525050565b60006020820190506113f960008301846113d5565b92915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6114348161121f565b82525050565b6000611446838361142b565b60208301905092915050565b6000602082019050919050565b600061146a826113ff565b611474818561140a565b935061147f8361141b565b8060005b838110156114b0578151611497888261143a565b97506114a283611452565b925050600181019050611483565b5085935050505092915050565b600060208201905081810360008301526114d7818461145f565b905092915050565b6000819050919050565b6114f2816114df565b82525050565b600060208201905061150d60008301846114e9565b92915050565b61151c8161121f565b82525050565b60006020820190506115376000830184611513565b92915050565b611546816114df565b811461155157600080fd5b50565b6000813590506115638161153d565b92915050565b600080604083850312156115805761157f6111f5565b5b600061158e85828601611248565b925050602061159f85828601611554565b9150509250929050565b600082825260208201905092915050565b7f4d7573742070726f76696465206174206c656173742031204e465420746f6b6560008201527f6e00000000000000000000000000000000000000000000000000000000000000602082015250565b60006116166021836115a9565b9150611621826115ba565b604082019050919050565b6000602082019050818103600083015261164581611609565b9050919050565b7f4d7573742070726f76696465203230206f72206c65737320746f6b656e73207060008201527f6572207472616e73616374696f6e000000000000000000000000000000000000602082015250565b60006116a8602e836115a9565b91506116b38261164c565b604082019050919050565b600060208201905081810360008301526116d78161169b565b9050919050565b7f436f6e74726163742061646472657373206e6f7420617070726f76656420666f60008201527f7220746865206661756365740000000000000000000000000000000000000000602082015250565b600061173a602c836115a9565b9150611745826116de565b604082019050919050565b600060208201905081810360008301526117698161172d565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000815190506117ae81611231565b92915050565b6000602082840312156117ca576117c96111f5565b5b60006117d88482850161179f565b91505092915050565b7f53656e64657220646f6573206e6f74206f776e20616c6c20746f6b656e73207360008201527f75626d6974746564000000000000000000000000000000000000000000000000602082015250565b600061183d6028836115a9565b9150611848826117e1565b604082019050919050565b6000602082019050818103600083015261186c81611830565b9050919050565b7f546f6b656e20616c726561647920636c61696d65640000000000000000000000600082015250565b60006118a96015836115a9565b91506118b482611873565b602082019050919050565b600060208201905081810360008301526118d88161189c565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000611919826114df565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361194b5761194a6118df565b5b600182019050919050565b6000815190506119658161153d565b92915050565b600060208284031215611981576119806111f5565b5b600061198f84828501611956565b91505092915050565b7f4e6f7420656e6f75676820746f6b656e732072656d61696e696e6720696e206660008201527f6175636574000000000000000000000000000000000000000000000000000000602082015250565b60006119f46025836115a9565b91506119ff82611998565b604082019050919050565b60006020820190508181036000830152611a23816119e7565b9050919050565b6000604082019050611a3f6000830185611513565b611a4c60208301846114e9565b9392505050565b611a5c8161128a565b8114611a6757600080fd5b50565b600081519050611a7981611a53565b92915050565b600060208284031215611a9557611a946111f5565b5b6000611aa384828501611a6a565b91505092915050565b7f4572726f722073656e64696e6720636f696e7320746f2063616c6c6572000000600082015250565b6000611ae2601d836115a9565b9150611aed82611aac565b602082019050919050565b60006020820190508181036000830152611b1181611ad5565b9050919050565b6000606082019050611b2d6000830186611513565b611b3a6020830185611513565b611b4760408301846114e9565b949350505050565b7f43616e6e6f742061646420736d61727420746f20697473656c66000000000000600082015250565b6000611b85601a836115a9565b9150611b9082611b4f565b602082019050919050565b60006020820190508181036000830152611bb481611b78565b9050919050565b7f436f6e7472616374206d75737420737570706f72742049455243373231000000600082015250565b6000611bf1601d836115a9565b9150611bfc82611bbb565b602082019050919050565b60006020820190508181036000830152611c2081611be4565b9050919050565b7f436f6e747261637420616c726561647920617070726f76656400000000000000600082015250565b6000611c5d6019836115a9565b9150611c6882611c27565b602082019050919050565b60006020820190508181036000830152611c8c81611c50565b9050919050565b7f436f6e7472616374206e6f74206f6e2074686520617070726f766564206c697360008201527f7400000000000000000000000000000000000000000000000000000000000000602082015250565b6000611cef6021836115a9565b9150611cfa82611c93565b604082019050919050565b60006020820190508181036000830152611d1e81611ce2565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000611d816026836115a9565b9150611d8c82611d25565b604082019050919050565b60006020820190508181036000830152611db081611d74565b9050919050565b6000611dc2826114df565b9150611dcd836114df565b9250828202611ddb816114df565b91508282048414831517611df257611df16118df565b5b5092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000611e2f6020836115a9565b9150611e3a82611df9565b602082019050919050565b60006020820190508181036000830152611e5e81611e22565b9050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b611e9a81611e65565b82525050565b6000602082019050611eb56000830184611e91565b92915050565b6000611ec6826114df565b9150611ed1836114df565b9250828203905081811115611ee957611ee86118df565b5b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fdfea26469706673582212206cf4a52182bc6c984571b5b2a4a3a0a0c0a596ee7f4c94f9b5d3e8b1e649794264736f6c63430008120033000000000000000000000000f93a26a41df2d39650d32f2bffae90e3c5286da9

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100cf5760003560e01c8063862ea1ba1161008c5780638da5cb5b116100665780638da5cb5b146101c8578063a548e5ea146101e6578063c375c2ef14610216578063f2fde38b14610232576100cf565b8063862ea1ba1461016e57806387ad8c681461018c5780638aa20ecb146101aa576100cf565b8063070d39d9146100d4578063457182781461010457806355a373d6146101205780635f539d691461013e5780635fd8c7101461015a578063715018a614610164575b600080fd5b6100ee60048036038101906100e9919061125d565b61024e565b6040516100fb91906112a5565b60405180910390f35b61011e60048036038101906101199190611325565b61026b565b005b6101286107bc565b60405161013591906113e4565b60405180910390f35b6101586004803603810190610153919061125d565b6107e2565b005b61016261094e565b005b61016c610b0f565b005b610176610b23565b60405161018391906114bd565b60405180910390f35b610194610b34565b6040516101a191906114f8565b60405180910390f35b6101b2610b3a565b6040516101bf91906114f8565b60405180910390f35b6101d0610b40565b6040516101dd9190611522565b60405180910390f35b61020060048036038101906101fb9190611569565b610b69565b60405161020d91906112a5565b60405180910390f35b610230600480360381019061022b919061125d565b610b98565b005b61024c6004803603810190610247919061125d565b610c2d565b005b6000610264826001610cb090919063ffffffff16565b9050919050565b600082829050116102b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016102a89061162c565b60405180910390fd5b6005548282905011156102f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016102f0906116be565b60405180910390fd5b6103028361024e565b610341576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161033890611750565b60405180910390fd5b600083905060005b838390508110156105a0573373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16636352211e86868581811061039a57610399611770565b5b905060200201356040518263ffffffff1660e01b81526004016103bd91906114f8565b602060405180830381865afa1580156103da573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103fe91906117b4565b73ffffffffffffffffffffffffffffffffffffffff1614610454576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161044b90611853565b60405180910390fd5b600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008585848181106104a8576104a7611770565b5b90506020020135815260200190815260200160002060009054906101000a900460ff161561050b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610502906118bf565b60405180910390fd5b6001600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600086868581811061056157610560611770565b5b90506020020135815260200190815260200160002060006101000a81548160ff02191690831515021790555080806105989061190e565b915050610349565b5060006105bb60065485859050610ce090919063ffffffff16565b905080600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016106199190611522565b602060405180830381865afa158015610636573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061065a919061196b565b101561069b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161069290611a0a565b60405180910390fd5b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33836040518363ffffffff1660e01b81526004016106f8929190611a2a565b6020604051808303816000875af1158015610717573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061073b9190611a7f565b61077a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161077190611af8565b60405180910390fd5b7fa86305abc2db271df4609aa86a8d044bc11fb36939841bfdad6c1ab2b26e94713386836040516107ad93929190611b18565b60405180910390a15050505050565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6107ea610cf6565b3073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610858576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161084f90611b9b565b60405180910390fd5b610882817f80ac58cd00000000000000000000000000000000000000000000000000000000610d74565b6108c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108b890611c07565b60405180910390fd5b6108d5816001610d9990919063ffffffff16565b610914576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161090b90611c73565b60405180910390fd5b7faf42961ad755cade79794d4122cb0afedc32bf55a0c716dd085fbee2afc6ac55816040516109439190611522565b60405180910390a150565b610956610cf6565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016109b39190611522565b602060405180830381865afa1580156109d0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109f4919061196b565b9050600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33836040518363ffffffff1660e01b8152600401610a53929190611a2a565b6020604051808303816000875af1158015610a72573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a969190611a7f565b610ad5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610acc90611af8565b60405180910390fd5b7f5b6b431d4476a211bb7d41c20d1aab9ae2321deee0d20be3d9fc9b1093fa6e3d81604051610b0491906114f8565b60405180910390a150565b610b17610cf6565b610b216000610dc9565b565b6060610b2f6001610e8d565b905090565b60065481565b60055481565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60046020528160005260406000206020528060005260406000206000915091509054906101000a900460ff1681565b610ba0610cf6565b610bb4816001610eae90919063ffffffff16565b610bf3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bea90611d05565b60405180910390fd5b7f97fd609c50722d17887170f33e7e8ae86421f650c02b82d6fe1e4ac9ef2842d481604051610c229190611522565b60405180910390a150565b610c35610cf6565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610ca4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c9b90611d97565b60405180910390fd5b610cad81610dc9565b50565b6000610cd8836000018373ffffffffffffffffffffffffffffffffffffffff1660001b610ede565b905092915050565b60008183610cee9190611db7565b905092915050565b610cfe610f01565b73ffffffffffffffffffffffffffffffffffffffff16610d1c610b40565b73ffffffffffffffffffffffffffffffffffffffff1614610d72576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d6990611e45565b60405180910390fd5b565b6000610d7f83610f09565b8015610d915750610d908383610f56565b5b905092915050565b6000610dc1836000018373ffffffffffffffffffffffffffffffffffffffff1660001b611015565b905092915050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60606000610e9d83600001611085565b905060608190508092505050919050565b6000610ed6836000018373ffffffffffffffffffffffffffffffffffffffff1660001b6110e1565b905092915050565b600080836001016000848152602001908152602001600020541415905092915050565b600033905090565b6000610f35827f01ffc9a700000000000000000000000000000000000000000000000000000000610f56565b8015610f4f5750610f4d8263ffffffff60e01b610f56565b155b9050919050565b6000806301ffc9a760e01b83604051602401610f729190611ea0565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff838183161783525050505090506000806000602060008551602087018a617530fa92503d91506000519050828015610ffd575060208210155b80156110095750600081115b94505050505092915050565b60006110218383610ede565b61107a57826000018290806001815401808255809150506001900390600052602060002001600090919091909150558260000180549050836001016000848152602001908152602001600020819055506001905061107f565b600090505b92915050565b6060816000018054806020026020016040519081016040528092919081815260200182805480156110d557602002820191906000526020600020905b8154815260200190600101908083116110c1575b50505050509050919050565b600080836001016000848152602001908152602001600020549050600081146111e95760006001826111139190611ebb565b905060006001866000018054905061112b9190611ebb565b905081811461119a57600086600001828154811061114c5761114b611770565b5b90600052602060002001549050808760000184815481106111705761116f611770565b5b90600052602060002001819055508387600101600083815260200190815260200160002081905550505b856000018054806111ae576111ad611eef565b5b6001900381819060005260206000200160009055905585600101600086815260200190815260200160002060009055600193505050506111ef565b60009150505b92915050565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061122a826111ff565b9050919050565b61123a8161121f565b811461124557600080fd5b50565b60008135905061125781611231565b92915050565b600060208284031215611273576112726111f5565b5b600061128184828501611248565b91505092915050565b60008115159050919050565b61129f8161128a565b82525050565b60006020820190506112ba6000830184611296565b92915050565b600080fd5b600080fd5b600080fd5b60008083601f8401126112e5576112e46112c0565b5b8235905067ffffffffffffffff811115611302576113016112c5565b5b60208301915083602082028301111561131e5761131d6112ca565b5b9250929050565b60008060006040848603121561133e5761133d6111f5565b5b600061134c86828701611248565b935050602084013567ffffffffffffffff81111561136d5761136c6111fa565b5b611379868287016112cf565b92509250509250925092565b6000819050919050565b60006113aa6113a56113a0846111ff565b611385565b6111ff565b9050919050565b60006113bc8261138f565b9050919050565b60006113ce826113b1565b9050919050565b6113de816113c3565b82525050565b60006020820190506113f960008301846113d5565b92915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6114348161121f565b82525050565b6000611446838361142b565b60208301905092915050565b6000602082019050919050565b600061146a826113ff565b611474818561140a565b935061147f8361141b565b8060005b838110156114b0578151611497888261143a565b97506114a283611452565b925050600181019050611483565b5085935050505092915050565b600060208201905081810360008301526114d7818461145f565b905092915050565b6000819050919050565b6114f2816114df565b82525050565b600060208201905061150d60008301846114e9565b92915050565b61151c8161121f565b82525050565b60006020820190506115376000830184611513565b92915050565b611546816114df565b811461155157600080fd5b50565b6000813590506115638161153d565b92915050565b600080604083850312156115805761157f6111f5565b5b600061158e85828601611248565b925050602061159f85828601611554565b9150509250929050565b600082825260208201905092915050565b7f4d7573742070726f76696465206174206c656173742031204e465420746f6b6560008201527f6e00000000000000000000000000000000000000000000000000000000000000602082015250565b60006116166021836115a9565b9150611621826115ba565b604082019050919050565b6000602082019050818103600083015261164581611609565b9050919050565b7f4d7573742070726f76696465203230206f72206c65737320746f6b656e73207060008201527f6572207472616e73616374696f6e000000000000000000000000000000000000602082015250565b60006116a8602e836115a9565b91506116b38261164c565b604082019050919050565b600060208201905081810360008301526116d78161169b565b9050919050565b7f436f6e74726163742061646472657373206e6f7420617070726f76656420666f60008201527f7220746865206661756365740000000000000000000000000000000000000000602082015250565b600061173a602c836115a9565b9150611745826116de565b604082019050919050565b600060208201905081810360008301526117698161172d565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000815190506117ae81611231565b92915050565b6000602082840312156117ca576117c96111f5565b5b60006117d88482850161179f565b91505092915050565b7f53656e64657220646f6573206e6f74206f776e20616c6c20746f6b656e73207360008201527f75626d6974746564000000000000000000000000000000000000000000000000602082015250565b600061183d6028836115a9565b9150611848826117e1565b604082019050919050565b6000602082019050818103600083015261186c81611830565b9050919050565b7f546f6b656e20616c726561647920636c61696d65640000000000000000000000600082015250565b60006118a96015836115a9565b91506118b482611873565b602082019050919050565b600060208201905081810360008301526118d88161189c565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000611919826114df565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361194b5761194a6118df565b5b600182019050919050565b6000815190506119658161153d565b92915050565b600060208284031215611981576119806111f5565b5b600061198f84828501611956565b91505092915050565b7f4e6f7420656e6f75676820746f6b656e732072656d61696e696e6720696e206660008201527f6175636574000000000000000000000000000000000000000000000000000000602082015250565b60006119f46025836115a9565b91506119ff82611998565b604082019050919050565b60006020820190508181036000830152611a23816119e7565b9050919050565b6000604082019050611a3f6000830185611513565b611a4c60208301846114e9565b9392505050565b611a5c8161128a565b8114611a6757600080fd5b50565b600081519050611a7981611a53565b92915050565b600060208284031215611a9557611a946111f5565b5b6000611aa384828501611a6a565b91505092915050565b7f4572726f722073656e64696e6720636f696e7320746f2063616c6c6572000000600082015250565b6000611ae2601d836115a9565b9150611aed82611aac565b602082019050919050565b60006020820190508181036000830152611b1181611ad5565b9050919050565b6000606082019050611b2d6000830186611513565b611b3a6020830185611513565b611b4760408301846114e9565b949350505050565b7f43616e6e6f742061646420736d61727420746f20697473656c66000000000000600082015250565b6000611b85601a836115a9565b9150611b9082611b4f565b602082019050919050565b60006020820190508181036000830152611bb481611b78565b9050919050565b7f436f6e7472616374206d75737420737570706f72742049455243373231000000600082015250565b6000611bf1601d836115a9565b9150611bfc82611bbb565b602082019050919050565b60006020820190508181036000830152611c2081611be4565b9050919050565b7f436f6e747261637420616c726561647920617070726f76656400000000000000600082015250565b6000611c5d6019836115a9565b9150611c6882611c27565b602082019050919050565b60006020820190508181036000830152611c8c81611c50565b9050919050565b7f436f6e7472616374206e6f74206f6e2074686520617070726f766564206c697360008201527f7400000000000000000000000000000000000000000000000000000000000000602082015250565b6000611cef6021836115a9565b9150611cfa82611c93565b604082019050919050565b60006020820190508181036000830152611d1e81611ce2565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000611d816026836115a9565b9150611d8c82611d25565b604082019050919050565b60006020820190508181036000830152611db081611d74565b9050919050565b6000611dc2826114df565b9150611dcd836114df565b9250828202611ddb816114df565b91508282048414831517611df257611df16118df565b5b5092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000611e2f6020836115a9565b9150611e3a82611df9565b602082019050919050565b60006020820190508181036000830152611e5e81611e22565b9050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b611e9a81611e65565b82525050565b6000602082019050611eb56000830184611e91565b92915050565b6000611ec6826114df565b9150611ed1836114df565b9250828203905081811115611ee957611ee86118df565b5b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fdfea26469706673582212206cf4a52182bc6c984571b5b2a4a3a0a0c0a596ee7f4c94f9b5d3e8b1e649794264736f6c63430008120033

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

000000000000000000000000f93a26a41df2d39650d32f2bffae90e3c5286da9

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

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000f93a26a41df2d39650d32f2bffae90e3c5286da9


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.