ETH Price: $3,399.50 (+2.51%)

Contract

0xDe13813B9BC446A8723975e1013AFbcdb9B4dC55
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Withdraw148062862022-05-19 17:45:50954 days ago1652982350IN
0xDe13813B...db9B4dC55
0 ETH0.0012097821.95099957
Register147546962022-05-11 11:56:42962 days ago1652270202IN
0xDe13813B...db9B4dC55
0 ETH0.00305957129.69785887
Register147367452022-05-08 15:00:24965 days ago1652022024IN
0xDe13813B...db9B4dC55
0 ETH0.0009157732.88227778
Register147367302022-05-08 14:56:45965 days ago1652021805IN
0xDe13813B...db9B4dC55
0 ETH0.0046222343.23809921
Register147367152022-05-08 14:51:57965 days ago1652021517IN
0xDe13813B...db9B4dC55
0 ETH0.0045011242.10510983
Register147367142022-05-08 14:51:28965 days ago1652021488IN
0xDe13813B...db9B4dC55
0 ETH0.0043143840.35828707
Register147367102022-05-08 14:50:20965 days ago1652021420IN
0xDe13813B...db9B4dC55
0 ETH0.0040849238.21182699
Register147366852022-05-08 14:43:29965 days ago1652021009IN
0xDe13813B...db9B4dC55
0 ETH0.0042855840.08890941
Register147366802022-05-08 14:41:49965 days ago1652020909IN
0xDe13813B...db9B4dC55
0 ETH0.0044824941.93092108
Register147366732022-05-08 14:39:53965 days ago1652020793IN
0xDe13813B...db9B4dC55
0 ETH0.0044124341.2755495
Register147366722022-05-08 14:39:24965 days ago1652020764IN
0xDe13813B...db9B4dC55
0 ETH0.0039400436.85664611
Register147366622022-05-08 14:36:36965 days ago1652020596IN
0xDe13813B...db9B4dC55
0 ETH0.0030862428.8698983
Register147366562022-05-08 14:35:13965 days ago1652020513IN
0xDe13813B...db9B4dC55
0 ETH0.0027163725.40994778
Register147366392022-05-08 14:32:04965 days ago1652020324IN
0xDe13813B...db9B4dC55
0 ETH0.0039370936.82905625
Register147366162022-05-08 14:27:19965 days ago1652020039IN
0xDe13813B...db9B4dC55
0 ETH0.0036607234.24376941
Register147366062022-05-08 14:25:14965 days ago1652019914IN
0xDe13813B...db9B4dC55
0 ETH0.0050243947
Register147366052022-05-08 14:24:57965 days ago1652019897IN
0xDe13813B...db9B4dC55
0 ETH0.0037472435.05306299
Register147365992022-05-08 14:23:47965 days ago1652019827IN
0xDe13813B...db9B4dC55
0 ETH0.0050407547.15304763
Register147365932022-05-08 14:22:25965 days ago1652019745IN
0xDe13813B...db9B4dC55
0 ETH0.0054690651.15957847
Register147365932022-05-08 14:22:25965 days ago1652019745IN
0xDe13813B...db9B4dC55
0 ETH0.0055225151.65957847
Register147365932022-05-08 14:22:25965 days ago1652019745IN
0xDe13813B...db9B4dC55
0 ETH0.0055225151.65957847
Register147365852022-05-08 14:20:20965 days ago1652019620IN
0xDe13813B...db9B4dC55
0 ETH0.0053142449.711339
Register147365712022-05-08 14:16:07965 days ago1652019367IN
0xDe13813B...db9B4dC55
0 ETH0.0042781940.01977898
Register147365582022-05-08 14:13:59965 days ago1652019239IN
0xDe13813B...db9B4dC55
0 ETH0.004922346.04499418
Register147365512022-05-08 14:11:47965 days ago1652019107IN
0xDe13813B...db9B4dC55
0 ETH0.0053745250.27522737
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:
TournamentEntryV1

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
Yes with 200 runs

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

pragma solidity ^0.8.1;

import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
import "@openzeppelin/contracts/access/Ownable.sol";

contract TournamentEntryV1 is Ownable {
    IERC20 private _token;
    IERC721 private _nft;

    uint256 public startsAt;
    uint256 public endsAt;
    uint256 public registerFee;

    address[] public participants;
    mapping(address => bool) public isRegistered;

    constructor(address _tokenAddress, address _nftAddress) {
        // 2022년 5월 7일 토요일 오후 3:00:00 GMT+09:00
        startsAt = 1651903200000;
        // 2022년 5월 8일 일요일 오후 3:00:00 GMT+09:00
        endsAt = 1651989600000;
        registerFee = 3 * 1e18;
        _token = IERC20(_tokenAddress);
        _nft = IERC721(_nftAddress);
    }

    function register() external {
        require(isRegistered[msg.sender] == false, "TournamentEntryV1: Already registered.");
        require(block.timestamp >= startsAt && block.timestamp < endsAt, "TournamentEntryV1: Invalid tournament registration period.");
        require(_token.balanceOf(msg.sender) >= 50 * 1e18, "TournamentEntryV1: Not enough ERC20 token.");
        require(_nft.balanceOf(msg.sender) >= 1, "TournamentEntryV1: Not enough ERC721 token.");

        _token.transferFrom(msg.sender, address(this), registerFee);
        participants.push(msg.sender);
        isRegistered[msg.sender] = true;
    }

    function length() public view returns(uint256) {
        return participants.length;
    }

    function withdraw() external onlyOwner {
        _token.transfer(owner(), _token.balanceOf(address(this)));
    }

    function setStartsAt(uint256 _startsAt) external onlyOwner {
        startsAt = _startsAt;
    }

    function setEndsAt(uint256 _endsAt) external onlyOwner {
        endsAt = _endsAt;
    }

    function setRegisterFee(uint256 _registerFee) external onlyOwner {
        registerFee = _registerFee;
    }
}

File 2 of 6 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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 Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _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 3 of 6 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

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

    /**
     * @dev Moves `amount` tokens from the caller's account to `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);

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);
}

File 4 of 6 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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`, 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 be 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: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.
     *
     * 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 Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

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

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

File 5 of 6 : 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;
    }
}

File 6 of 6 : 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);
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_tokenAddress","type":"address"},{"internalType":"address","name":"_nftAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[],"name":"endsAt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isRegistered","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"length","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":"uint256","name":"","type":"uint256"}],"name":"participants","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"register","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"registerFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_endsAt","type":"uint256"}],"name":"setEndsAt","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_registerFee","type":"uint256"}],"name":"setRegisterFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_startsAt","type":"uint256"}],"name":"setStartsAt","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startsAt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405234801561001057600080fd5b50604051610ae1380380610ae183398101604081905261002f916100f5565b61003833610089565b6501809d1a7b00600355650180a240d7006004556729a2241af62c0000600555600180546001600160a01b039384166001600160a01b03199182161790915560028054929093169116179055610128565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80516001600160a01b03811681146100f057600080fd5b919050565b6000806040838503121561010857600080fd5b610111836100d9565b915061011f602084016100d9565b90509250929050565b6109aa806101376000396000f3fe608060405234801561001057600080fd5b50600436106100ea5760003560e01c8063715018a61161008c578063af46868211610066578063af46868214610198578063bf5fc2ee146101a1578063c3c5a547146101b4578063f2fde38b146101e757600080fd5b8063715018a61461016c5780638da5cb5b1461017457806392be2ab81461018557600080fd5b80631f7b6d32116100c85780631f7b6d321461011e57806335c1d349146101265780633ccfd60b146101515780636e50eb3f1461015957600080fd5b806303f187ea146100ef5780630a09284a1461010b5780631aa3a00814610114575b600080fd5b6100f860055481565b6040519081526020015b60405180910390f35b6100f860045481565b61011c6101fa565b005b6006546100f8565b6101396101343660046108bb565b6105a1565b6040516001600160a01b039091168152602001610102565b61011c6105cb565b61011c6101673660046108bb565b610714565b61011c610743565b6000546001600160a01b0316610139565b61011c6101933660046108bb565b610779565b6100f860035481565b61011c6101af3660046108bb565b6107a8565b6101d76101c23660046108d4565b60076020526000908152604090205460ff1681565b6040519015158152602001610102565b61011c6101f53660046108d4565b6107d7565b3360009081526007602052604090205460ff161561026e5760405162461bcd60e51b815260206004820152602660248201527f546f75726e616d656e74456e74727956313a20416c72656164792072656769736044820152653a32b932b21760d11b60648201526084015b60405180910390fd5b6003544210158015610281575060045442105b6102f35760405162461bcd60e51b815260206004820152603a60248201527f546f75726e616d656e74456e74727956313a20496e76616c696420746f75726e60448201527f616d656e7420726567697374726174696f6e20706572696f642e0000000000006064820152608401610265565b6001546040516370a0823160e01b81523360048201526802b5e3af16b1880000916001600160a01b0316906370a082319060240160206040518083038186803b15801561033f57600080fd5b505afa158015610353573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103779190610904565b10156103d85760405162461bcd60e51b815260206004820152602a60248201527f546f75726e616d656e74456e74727956313a204e6f7420656e6f756768204552604482015269219918103a37b5b2b71760b11b6064820152608401610265565b6002546040516370a0823160e01b81523360048201526001916001600160a01b0316906370a082319060240160206040518083038186803b15801561041c57600080fd5b505afa158015610430573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104549190610904565b10156104b65760405162461bcd60e51b815260206004820152602b60248201527f546f75726e616d656e74456e74727956313a204e6f7420656e6f75676820455260448201526a219b9918903a37b5b2b71760a91b6064820152608401610265565b6001546005546040516323b872dd60e01b815233600482015230602482015260448101919091526001600160a01b03909116906323b872dd90606401602060405180830381600087803b15801561050c57600080fd5b505af1158015610520573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610544919061091d565b506006805460018181019092557ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f0180546001600160a01b031916339081179091556000908152600760205260409020805460ff19169091179055565b600681815481106105b157600080fd5b6000918252602090912001546001600160a01b0316905081565b6000546001600160a01b031633146105f55760405162461bcd60e51b81526004016102659061093f565b6001546001600160a01b031663a9059cbb6106186000546001600160a01b031690565b6001546040516370a0823160e01b81523060048201526001600160a01b03909116906370a082319060240160206040518083038186803b15801561065b57600080fd5b505afa15801561066f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106939190610904565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401602060405180830381600087803b1580156106d957600080fd5b505af11580156106ed573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610711919061091d565b50565b6000546001600160a01b0316331461073e5760405162461bcd60e51b81526004016102659061093f565b600455565b6000546001600160a01b0316331461076d5760405162461bcd60e51b81526004016102659061093f565b610777600061086b565b565b6000546001600160a01b031633146107a35760405162461bcd60e51b81526004016102659061093f565b600555565b6000546001600160a01b031633146107d25760405162461bcd60e51b81526004016102659061093f565b600355565b6000546001600160a01b031633146108015760405162461bcd60e51b81526004016102659061093f565b6001600160a01b0381166108665760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610265565b610711815b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000602082840312156108cd57600080fd5b5035919050565b6000602082840312156108e657600080fd5b81356001600160a01b03811681146108fd57600080fd5b9392505050565b60006020828403121561091657600080fd5b5051919050565b60006020828403121561092f57600080fd5b815180151581146108fd57600080fd5b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260408201526060019056fea2646970667358221220496fac59ff0ccde494c85f74db246ecfff9ada7a03aa40d6a3eea749f01ed1e764736f6c6343000809003300000000000000000000000043a4a1f262eebe93e4762bd5d547d3638fb5c345000000000000000000000000ff80bd43e3f0e414afc70cb8ac1d3f0e6a303a2f

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100ea5760003560e01c8063715018a61161008c578063af46868211610066578063af46868214610198578063bf5fc2ee146101a1578063c3c5a547146101b4578063f2fde38b146101e757600080fd5b8063715018a61461016c5780638da5cb5b1461017457806392be2ab81461018557600080fd5b80631f7b6d32116100c85780631f7b6d321461011e57806335c1d349146101265780633ccfd60b146101515780636e50eb3f1461015957600080fd5b806303f187ea146100ef5780630a09284a1461010b5780631aa3a00814610114575b600080fd5b6100f860055481565b6040519081526020015b60405180910390f35b6100f860045481565b61011c6101fa565b005b6006546100f8565b6101396101343660046108bb565b6105a1565b6040516001600160a01b039091168152602001610102565b61011c6105cb565b61011c6101673660046108bb565b610714565b61011c610743565b6000546001600160a01b0316610139565b61011c6101933660046108bb565b610779565b6100f860035481565b61011c6101af3660046108bb565b6107a8565b6101d76101c23660046108d4565b60076020526000908152604090205460ff1681565b6040519015158152602001610102565b61011c6101f53660046108d4565b6107d7565b3360009081526007602052604090205460ff161561026e5760405162461bcd60e51b815260206004820152602660248201527f546f75726e616d656e74456e74727956313a20416c72656164792072656769736044820152653a32b932b21760d11b60648201526084015b60405180910390fd5b6003544210158015610281575060045442105b6102f35760405162461bcd60e51b815260206004820152603a60248201527f546f75726e616d656e74456e74727956313a20496e76616c696420746f75726e60448201527f616d656e7420726567697374726174696f6e20706572696f642e0000000000006064820152608401610265565b6001546040516370a0823160e01b81523360048201526802b5e3af16b1880000916001600160a01b0316906370a082319060240160206040518083038186803b15801561033f57600080fd5b505afa158015610353573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103779190610904565b10156103d85760405162461bcd60e51b815260206004820152602a60248201527f546f75726e616d656e74456e74727956313a204e6f7420656e6f756768204552604482015269219918103a37b5b2b71760b11b6064820152608401610265565b6002546040516370a0823160e01b81523360048201526001916001600160a01b0316906370a082319060240160206040518083038186803b15801561041c57600080fd5b505afa158015610430573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104549190610904565b10156104b65760405162461bcd60e51b815260206004820152602b60248201527f546f75726e616d656e74456e74727956313a204e6f7420656e6f75676820455260448201526a219b9918903a37b5b2b71760a91b6064820152608401610265565b6001546005546040516323b872dd60e01b815233600482015230602482015260448101919091526001600160a01b03909116906323b872dd90606401602060405180830381600087803b15801561050c57600080fd5b505af1158015610520573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610544919061091d565b506006805460018181019092557ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f0180546001600160a01b031916339081179091556000908152600760205260409020805460ff19169091179055565b600681815481106105b157600080fd5b6000918252602090912001546001600160a01b0316905081565b6000546001600160a01b031633146105f55760405162461bcd60e51b81526004016102659061093f565b6001546001600160a01b031663a9059cbb6106186000546001600160a01b031690565b6001546040516370a0823160e01b81523060048201526001600160a01b03909116906370a082319060240160206040518083038186803b15801561065b57600080fd5b505afa15801561066f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106939190610904565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401602060405180830381600087803b1580156106d957600080fd5b505af11580156106ed573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610711919061091d565b50565b6000546001600160a01b0316331461073e5760405162461bcd60e51b81526004016102659061093f565b600455565b6000546001600160a01b0316331461076d5760405162461bcd60e51b81526004016102659061093f565b610777600061086b565b565b6000546001600160a01b031633146107a35760405162461bcd60e51b81526004016102659061093f565b600555565b6000546001600160a01b031633146107d25760405162461bcd60e51b81526004016102659061093f565b600355565b6000546001600160a01b031633146108015760405162461bcd60e51b81526004016102659061093f565b6001600160a01b0381166108665760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610265565b610711815b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000602082840312156108cd57600080fd5b5035919050565b6000602082840312156108e657600080fd5b81356001600160a01b03811681146108fd57600080fd5b9392505050565b60006020828403121561091657600080fd5b5051919050565b60006020828403121561092f57600080fd5b815180151581146108fd57600080fd5b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260408201526060019056fea2646970667358221220496fac59ff0ccde494c85f74db246ecfff9ada7a03aa40d6a3eea749f01ed1e764736f6c63430008090033

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

00000000000000000000000043a4a1f262eebe93e4762bd5d547d3638fb5c345000000000000000000000000ff80bd43e3f0e414afc70cb8ac1d3f0e6a303a2f

-----Decoded View---------------
Arg [0] : _tokenAddress (address): 0x43a4a1F262Eebe93e4762BD5D547d3638fB5C345
Arg [1] : _nftAddress (address): 0xfF80bD43e3f0E414AFC70Cb8Ac1D3F0e6a303A2f

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 00000000000000000000000043a4a1f262eebe93e4762bd5d547d3638fb5c345
Arg [1] : 000000000000000000000000ff80bd43e3f0e414afc70cb8ac1d3f0e6a303a2f


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.