ETH Price: $3,479.00 (+0.75%)

Token

MalevichPunks (MAPU)
 

Overview

Max Total Supply

10,000 MAPU

Holders

3,619

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
2 MAPU
0xCaF288E6BD537698Be0264BB23D03Cfe32b147f0
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
MalevichPunks

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
Yes with 200 runs

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

pragma solidity ^0.8.4;

import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "./ERC721Tradable.sol";
import "./Bisect.sol";

interface ICurrencyPunks {
    function balanceOf(address owner) external returns (uint256);
}

contract MalevichPunks is ERC721Tradable, Bisect {
    using SafeMath for uint256;

    uint256 constant BLACK_SQUARE_ID = 741;
    uint256 constant BLACK_SQUARE_INDEX = 1115;

    uint256 constant MAX_SUPPLY = 10000;
    uint256 constant BIG_TREE = 8192;
    uint256 constant MEDIUM_TREE = 1024;
    uint256 constant SMALL_TREE = 512;
    uint256 constant SMALLEST_TREE = 256;

    uint256 constant HOLDERS_MINTING_PERIOD = 3 days;

    uint256 constant HOLDERS_CAP = 2000;
    uint256 constant FIRST_DROP_CAP = 750;
    uint256 constant SECOND_DROP_CAP = 650;
    uint256 constant THIRD_DROP_CAP = 600;
    uint256 constant LUCKYLIST_CAP = 1500;

    uint256 constant AUCTION_DURATION = 12 hours;
    uint256 constant AUCTION_PRICE = 0.05 ether;

    uint8 constant MAX_MINT_STAGES = 6;

    uint8 constant STAGE_HOLDERS = 1;
    uint8 constant STAGE_PUBLIC1 = 2;
    uint8 constant STAGE_PUBLIC2 = 3;
    uint8 constant STAGE_PUBLIC3 = 4;
    uint8 constant STAGE_2PLUS1 = 5;
    uint8 constant STAGE_AUCTION = 6;

    address public fundAddress;
    address public permitter;
    uint256 public immutable epoch;
    address public immutable currencyPunks;

    uint256 public auctionStart;
    uint256 private baseStageSupply = 1;
    uint8 public mintStage;

    bytes32 constant PERMIT_TYPEHASH =
        keccak256(bytes("Permit(address lucky,uint256 nonce)"));

    struct Permit {
        address lucky;
        uint256 nonce;
    }

    mapping(uint256 => bool) isLuckyMinted;

    constructor(
        address currencyPunks_,
        address permitter_,
        address fundAddress_,
        address _proxyRegistryAddress
    ) ERC721Tradable("MalevichPunks", "MAPU", _proxyRegistryAddress) {
        currencyPunks = currencyPunks_;
        permitter = permitter_;
        fundAddress = fundAddress_;

        epoch = _now();

        _safeMint(fundAddress, BLACK_SQUARE_ID);
    }

    function baseTokenURI() public pure override returns (string memory) {
        return "ipfs://QmSXBPcVAbnkczZYpQxk77N6ztDF69jmt1SVhWbf7R5ZSJ/";
    }

    function mint() public payable {
        require(_getTotalSupply() < MAX_SUPPLY, "max supply reached");

        if (mintStage == STAGE_HOLDERS) {
            require(
                _getTotalSupply() - baseStageSupply < HOLDERS_CAP,
                "limit reached"
            );
            require(
                _now() - epoch <= HOLDERS_MINTING_PERIOD,
                "holders minting has expired"
            );
            require(
                ICurrencyPunks(currencyPunks).balanceOf(_msgSender()) > 0,
                "current minting stage is for CurrencyPunks holders only"
            );
        } else if (mintStage == STAGE_PUBLIC1) {
            require(
                _getTotalSupply() - baseStageSupply < FIRST_DROP_CAP,
                "limit reached"
            );
        } else if (mintStage == STAGE_PUBLIC2) {
            require(
                _getTotalSupply() - baseStageSupply < SECOND_DROP_CAP,
                "limit reached"
            );
        } else if (mintStage == STAGE_PUBLIC3) {
            require(
                _getTotalSupply() - baseStageSupply < THIRD_DROP_CAP,
                "limit reached"
            );
        } else if (mintStage == STAGE_AUCTION) {
            require(msg.value >= mintPrice(), "amount is too low");
        } else {
            revert("minting is not available at the moment");
        }

        if (mintStage != STAGE_AUCTION) {
            require(
                balanceOf(_msgSender()) == 0,
                "only one token per address allowed"
            );
        }

        require(_msgSender() != owner(), "owner not allowed");
        require(_msgSender() != fundAddress, "fund not allowed");

        _mintTo(_msgSender());
    }

    function mintLucky(
        address lucky,
        uint256 nonce,
        bytes32 r,
        bytes32 s,
        uint8 v
    ) public {
        require(
            mintStage == STAGE_2PLUS1,
            "LuckyList minting is not available at the moment"
        );
        require(
            isLuckyMinted[nonce] == false,
            "token has already been claimed"
        );
        require(_getTotalSupply() + 3 <= LUCKYLIST_CAP, "limit reached");
        require(
            balanceOf(_msgSender()) == 0,
            "only one token per address allowed"
        );
        require(_msgSender() != owner(), "owner not allowed");
        require(_msgSender() != fundAddress, "fund not allowed");

        Permit memory permit = Permit({lucky: lucky, nonce: nonce});

        require(
            verifySignature(permitter, _hashPermit(permit), r, s, v),
            "invalid lucky address"
        );

        isLuckyMinted[nonce] = true;

        _mintTo(_msgSender());
        _mintTo(lucky);
        _mintTo(_msgSender());
    }

    function mintPrice() public view returns (uint256) {
        if (mintStage != STAGE_AUCTION) {
            return 0;
        }

        uint256 auctionStage = (_now() - auctionStart) / AUCTION_DURATION;
        (bool _success, uint256 result) = AUCTION_PRICE.trySub(
            auctionStage * 0.01 ether
        );
        return result;
    }

    function nextMintStage() public onlyOwner {
        require(mintStage < MAX_MINT_STAGES, "final mint stage reached");

        baseStageSupply = _getTotalSupply();
        mintStage++;

        if (mintStage == STAGE_AUCTION) {
            auctionStart = _now();
        }
    }

    function withdraw() public onlyOwner {
        payable(owner()).transfer(address(this).balance);
    }

    //
    //
    //  PRIVATE
    //
    //
    function _hashPermit(Permit memory permit) private pure returns (bytes32) {
        return
            keccak256(abi.encode(PERMIT_TYPEHASH, permit.lucky, permit.nonce));
    }

    function _now() internal view virtual returns (uint256) {
        return block.timestamp;
    }

    function _getTotalSupply() internal view virtual returns (uint256) {
        return totalSupply();
    }

    function _addTreesToTokenId(uint256 tree, uint256 tokenId)
        internal
        pure
        returns (uint256)
    {
        if (tree == MEDIUM_TREE) {
            tokenId += BIG_TREE;
        } else if (tree == SMALL_TREE) {
            tokenId += BIG_TREE + MEDIUM_TREE;
        } else if (tree == SMALLEST_TREE) {
            tokenId += BIG_TREE + MEDIUM_TREE + SMALL_TREE;
        }

        return tokenId + 1;
    }

    function _getNextTokenId() internal view override returns (uint256) {
        uint256 totalSupply = _getTotalSupply();
        uint256 tree;
        uint256 index;

        if (totalSupply < BIG_TREE) {
            tree = BIG_TREE;
            index = totalSupply - 1; // - BLACK SQUARE
        } else if (totalSupply < BIG_TREE + MEDIUM_TREE) {
            tree = MEDIUM_TREE;
            index = totalSupply - BIG_TREE;
        } else if (totalSupply < BIG_TREE + MEDIUM_TREE + SMALL_TREE) {
            tree = SMALL_TREE;
            index = totalSupply - BIG_TREE - MEDIUM_TREE;
        } else if (
            totalSupply < BIG_TREE + MEDIUM_TREE + SMALL_TREE + SMALLEST_TREE
        ) {
            tree = SMALLEST_TREE;
            index = totalSupply - BIG_TREE - MEDIUM_TREE - SMALL_TREE;
        } else if (totalSupply == MAX_SUPPLY) {
            return totalSupply;
        } else {
            return totalSupply + 1;
        }

        if (index >= BLACK_SQUARE_INDEX) {
            index++;
        }

        uint256 tokenId = _getBisectNode(index + 1, tree);
        tokenId = _addTreesToTokenId(tree, tokenId);

        if (tokenId == BLACK_SQUARE_ID) {
            tokenId = _getBisectNode(index + 2, tree);
            tokenId = _addTreesToTokenId(tree, tokenId);
        }

        return tokenId;
    }
}

File 2 of 19 : SafeMath.sol
// SPDX-License-Identifier: MIT

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 no longer needed starting with Solidity 0.8. 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 substraction 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 3 of 19 : ERC721Tradable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@openzeppelin/contracts/utils/Strings.sol";

import "./common/meta-transactions/ContextMixin.sol";
import "./common/meta-transactions/NativeMetaTransaction.sol";
import "./ERC721WithSupply.sol";

contract OwnableDelegateProxy {}

contract ProxyRegistry {
    mapping(address => OwnableDelegateProxy) public proxies;
}

/**
 * @title ERC721Tradable
 * ERC721Tradable - ERC721 contract that whitelists a trading address, and has minting functionality.
 */
abstract contract ERC721Tradable is
    ContextMixin,
    ERC721WithSupply,
    NativeMetaTransaction,
    Ownable
{
    using SafeMath for uint256;

    address proxyRegistryAddress;

    constructor(
        string memory _name,
        string memory _symbol,
        address _proxyRegistryAddress
    ) ERC721(_name, _symbol) {
        proxyRegistryAddress = _proxyRegistryAddress;
        _initializeEIP712(_name);
    }

    /**
     * @dev Mints a token to an address with a tokenURI.
     * @param _to address of the future owner of the token
     */
    function _mintTo(address _to) internal returns (uint256) {
        uint256 newTokenId = _getNextTokenId();
        _safeMint(_to, newTokenId);

        return newTokenId;
    }

    /**
     * @dev calculates the next token ID based on value of _currentTokenId
     * @return uint256 for the next token ID
     */
    function _getNextTokenId() internal virtual returns (uint256) {}

    function baseTokenURI() public pure virtual returns (string memory);

    function tokenURI(uint256 _tokenId)
        public
        pure
        override
        returns (string memory)
    {
        return
            string(
                abi.encodePacked(baseTokenURI(), Strings.toString(_tokenId))
            );
    }

    /**
     * Override isApprovedForAll to whitelist user's OpenSea proxy accounts to enable gas-less listings.
     */
    function isApprovedForAll(address owner, address operator)
        public
        view
        override
        returns (bool)
    {
        // Whitelist OpenSea proxy contract for easy trading.
        ProxyRegistry proxyRegistry = ProxyRegistry(proxyRegistryAddress);
        if (address(proxyRegistry.proxies(owner)) == operator) {
            return true;
        }

        return super.isApprovedForAll(owner, operator);
    }

    /**
     * This is used instead of msg.sender as transactions won't be sent by the original token owner, but by OpenSea.
     */
    function _msgSender() internal view override returns (address sender) {
        return ContextMixin.msgSender();
    }
}

File 4 of 19 : Bisect.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

abstract contract Bisect {
    function _getBisectNode(uint256 index, uint256 totalNodes)
        internal
        pure
        returns (uint256)
    {
        require(index > 0, "zero");
        require(index <= totalNodes, "overflow");

        uint256 n = _log2(index);
        uint256 a = totalNodes / 2**(n + 1);
        uint256 b = (totalNodes / 2**n) * (index - 2**n);

        return a + b;
    }

    function _log2(uint256 x) internal pure returns (uint256 result) {
        if (x < 2) {
            result = 0;
        } else if (x < 4) {
            result = 1;
        } else if (x < 8) {
            result = 2;
        } else if (x < 16) {
            result = 3;
        } else if (x < 32) {
            result = 4;
        } else if (x < 64) {
            result = 5;
        } else if (x < 128) {
            result = 6;
        } else if (x < 256) {
            result = 7;
        } else if (x < 512) {
            result = 8;
        } else if (x < 1024) {
            result = 9;
        } else if (x < 2048) {
            result = 10;
        } else if (x < 4096) {
            result = 11;
        } else if (x < 8192) {
            result = 12;
        } else if (x < 16384) {
            result = 13;
        }
    }
}

File 5 of 19 : ERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC721.sol";
import "./IERC721Receiver.sol";
import "./extensions/IERC721Metadata.sol";
import "../../utils/Address.sol";
import "../../utils/Context.sol";
import "../../utils/Strings.sol";
import "../../utils/introspection/ERC165.sol";

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension, but not including the Enumerable extension, which is available separately as
 * {ERC721Enumerable}.
 */
contract ERC721 is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to owner address
    mapping(uint256 => address) private _owners;

    // Mapping owner address to token count
    mapping(address => uint256) private _balances;

    // Mapping from token ID to approved address
    mapping(uint256 => address) private _tokenApprovals;

    // Mapping from owner to operator approvals
    mapping(address => mapping(address => bool)) private _operatorApprovals;

    /**
     * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) {
        return
            interfaceId == type(IERC721).interfaceId ||
            interfaceId == type(IERC721Metadata).interfaceId ||
            super.supportsInterface(interfaceId);
    }

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view virtual override returns (uint256) {
        require(owner != address(0), "ERC721: balance query for the zero address");
        return _balances[owner];
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        address owner = _owners[tokenId];
        require(owner != address(0), "ERC721: owner query for nonexistent token");
        return owner;
    }

    /**
     * @dev See {IERC721Metadata-name}.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev See {IERC721Metadata-symbol}.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");

        string memory baseURI = _baseURI();
        return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : "";
    }

    /**
     * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each
     * token will be the concatenation of the `baseURI` and the `tokenId`. Empty
     * by default, can be overriden in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return "";
    }

    /**
     * @dev See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public virtual override {
        address owner = ERC721.ownerOf(tokenId);
        require(to != owner, "ERC721: approval to current owner");

        require(
            _msgSender() == owner || isApprovedForAll(owner, _msgSender()),
            "ERC721: approve caller is not owner nor approved for all"
        );

        _approve(to, tokenId);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        require(_exists(tokenId), "ERC721: approved query for nonexistent token");

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        require(operator != _msgSender(), "ERC721: approve to caller");

        _operatorApprovals[_msgSender()][operator] = approved;
        emit ApprovalForAll(_msgSender(), operator, approved);
    }

    /**
     * @dev See {IERC721-isApprovedForAll}.
     */
    function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) {
        return _operatorApprovals[owner][operator];
    }

    /**
     * @dev See {IERC721-transferFrom}.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");

        _transfer(from, to, tokenId);
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        safeTransferFrom(from, to, tokenId, "");
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public virtual override {
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");
        _safeTransfer(from, to, tokenId, _data);
    }

    /**
     * @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.
     *
     * `_data` is additional data, it has no specified format and it is sent in call to `to`.
     *
     * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.
     * implement alternative mechanisms to perform token transfer, such as signature-based.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeTransfer(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) internal virtual {
        _transfer(from, to, tokenId);
        require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer");
    }

    /**
     * @dev Returns whether `tokenId` exists.
     *
     * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
     *
     * Tokens start existing when they are minted (`_mint`),
     * and stop existing when they are burned (`_burn`).
     */
    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return _owners[tokenId] != address(0);
    }

    /**
     * @dev Returns whether `spender` is allowed to manage `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {
        require(_exists(tokenId), "ERC721: operator query for nonexistent token");
        address owner = ERC721.ownerOf(tokenId);
        return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender));
    }

    /**
     * @dev Safely mints `tokenId` and transfers it to `to`.
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(address to, uint256 tokenId) internal virtual {
        _safeMint(to, tokenId, "");
    }

    /**
     * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is
     * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.
     */
    function _safeMint(
        address to,
        uint256 tokenId,
        bytes memory _data
    ) internal virtual {
        _mint(to, tokenId);
        require(
            _checkOnERC721Received(address(0), to, tokenId, _data),
            "ERC721: transfer to non ERC721Receiver implementer"
        );
    }

    /**
     * @dev Mints `tokenId` and transfers it to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - `to` cannot be the zero address.
     *
     * Emits a {Transfer} event.
     */
    function _mint(address to, uint256 tokenId) internal virtual {
        require(to != address(0), "ERC721: mint to the zero address");
        require(!_exists(tokenId), "ERC721: token already minted");

        _beforeTokenTransfer(address(0), to, tokenId);

        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(address(0), to, tokenId);
    }

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId) internal virtual {
        address owner = ERC721.ownerOf(tokenId);

        _beforeTokenTransfer(owner, address(0), tokenId);

        // Clear approvals
        _approve(address(0), tokenId);

        _balances[owner] -= 1;
        delete _owners[tokenId];

        emit Transfer(owner, address(0), tokenId);
    }

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *  As opposed to {transferFrom}, this imposes no restrictions on msg.sender.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     *
     * Emits a {Transfer} event.
     */
    function _transfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {
        require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own");
        require(to != address(0), "ERC721: transfer to the zero address");

        _beforeTokenTransfer(from, to, tokenId);

        // Clear approvals from the previous owner
        _approve(address(0), tokenId);

        _balances[from] -= 1;
        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(from, to, tokenId);
    }

    /**
     * @dev Approve `to` to operate on `tokenId`
     *
     * Emits a {Approval} event.
     */
    function _approve(address to, uint256 tokenId) internal virtual {
        _tokenApprovals[tokenId] = to;
        emit Approval(ERC721.ownerOf(tokenId), to, tokenId);
    }

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.
     * The call is not executed if the target address is not a contract.
     *
     * @param from address representing the previous owner of the given token ID
     * @param to target address that will receive the tokens
     * @param tokenId uint256 ID of the token to be transferred
     * @param _data bytes optional data to send along with the call
     * @return bool whether the call correctly returned the expected magic value
     */
    function _checkOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) private returns (bool) {
        if (to.isContract()) {
            try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) {
                return retval == IERC721Receiver.onERC721Received.selector;
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert("ERC721: transfer to non ERC721Receiver implementer");
                } else {
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, ``from``'s `tokenId` will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {}
}

File 6 of 19 : Ownable.sol
// SPDX-License-Identifier: MIT

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() {
        _setOwner(_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 {
        _setOwner(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");
        _setOwner(newOwner);
    }

    function _setOwner(address newOwner) private {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 7 of 19 : Strings.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        // Inspired by OraclizeAPI's implementation - MIT licence
        // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol

        if (value == 0) {
            return "0";
        }
        uint256 temp = value;
        uint256 digits;
        while (temp != 0) {
            digits++;
            temp /= 10;
        }
        bytes memory buffer = new bytes(digits);
        while (value != 0) {
            digits -= 1;
            buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
            value /= 10;
        }
        return string(buffer);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        if (value == 0) {
            return "0x00";
        }
        uint256 temp = value;
        uint256 length = 0;
        while (temp != 0) {
            length++;
            temp >>= 8;
        }
        return toHexString(value, length);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
     */
    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
        bytes memory buffer = new bytes(2 * length + 2);
        buffer[0] = "0";
        buffer[1] = "x";
        for (uint256 i = 2 * length + 1; i > 1; --i) {
            buffer[i] = _HEX_SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }
}

File 8 of 19 : ContextMixin.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

abstract contract ContextMixin {
    function msgSender() internal view returns (address payable sender) {
        if (msg.sender == address(this)) {
            bytes memory array = msg.data;
            uint256 index = msg.data.length;
            assembly {
                // Load the 32 bytes word from memory with the address on the lower 20 bytes, and mask those.
                sender := and(
                    mload(add(array, index)),
                    0xffffffffffffffffffffffffffffffffffffffff
                )
            }
        } else {
            sender = payable(msg.sender);
        }
        return sender;
    }
}

File 9 of 19 : NativeMetaTransaction.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import {SafeMath} from "@openzeppelin/contracts/utils/math/SafeMath.sol";
import {EIP712Base} from "./EIP712Base.sol";

contract NativeMetaTransaction is EIP712Base {
    using SafeMath for uint256;
    bytes32 private constant META_TRANSACTION_TYPEHASH =
        keccak256(
            bytes(
                "MetaTransaction(uint256 nonce,address from,bytes functionSignature)"
            )
        );
    event MetaTransactionExecuted(
        address userAddress,
        address payable relayerAddress,
        bytes functionSignature
    );
    mapping(address => uint256) nonces;

    /*
     * Meta transaction structure.
     * No point of including value field here as if user is doing value transfer then he has the funds to pay for gas
     * He should call the desired function directly in that case.
     */
    struct MetaTransaction {
        uint256 nonce;
        address from;
        bytes functionSignature;
    }

    function executeMetaTransaction(
        address userAddress,
        bytes memory functionSignature,
        bytes32 sigR,
        bytes32 sigS,
        uint8 sigV
    ) public payable returns (bytes memory) {
        MetaTransaction memory metaTx = MetaTransaction({
            nonce: nonces[userAddress],
            from: userAddress,
            functionSignature: functionSignature
        });

        require(
            verifySignature(
                userAddress,
                hashMetaTransaction(metaTx),
                sigR,
                sigS,
                sigV
            ),
            "Signer and signature do not match"
        );

        // increase nonce for user (to avoid re-use)
        nonces[userAddress] = nonces[userAddress].add(1);

        emit MetaTransactionExecuted(
            userAddress,
            payable(msg.sender),
            functionSignature
        );

        // Append userAddress and relayer address at the end to extract it from calling context
        (bool success, bytes memory returnData) = address(this).call(
            abi.encodePacked(functionSignature, userAddress)
        );
        require(success, "Function call not successful");

        return returnData;
    }

    function hashMetaTransaction(MetaTransaction memory metaTx)
        internal
        pure
        returns (bytes32)
    {
        return
            keccak256(
                abi.encode(
                    META_TRANSACTION_TYPEHASH,
                    metaTx.nonce,
                    metaTx.from,
                    keccak256(metaTx.functionSignature)
                )
            );
    }

    function getNonce(address user) public view returns (uint256 nonce) {
        nonce = nonces[user];
    }

    function verifySignature(
        address signer,
        bytes32 digest,
        bytes32 sigR,
        bytes32 sigS,
        uint8 sigV
    ) internal view returns (bool) {
        require(signer != address(0), "NativeMetaTransaction: INVALID_SIGNER");
        return
            signer == ecrecover(toTypedMessageHash(digest), sigV, sigR, sigS);
    }
}

File 10 of 19 : ERC721WithSupply.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.4;

import "@openzeppelin/contracts/token/ERC721/ERC721.sol";

abstract contract ERC721WithSupply is ERC721 {
    uint256 private _totalSupply;

    function totalSupply() public view returns (uint256) {
        return _totalSupply;
    }

    /*
     * Hook that's called before minting, burning and transferring.
     * Updates _totalSupply when token is minted or burned.
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual override {
        super._beforeTokenTransfer(from, to, tokenId);

        if (from == address(0)) {
            _totalSupply++;
        }
        if (to == address(0)) {
            _totalSupply--;
        }
    }
}

File 11 of 19 : IERC721.sol
// SPDX-License-Identifier: MIT

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 12 of 19 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @title ERC721 token receiver interface
 * @dev Interface for any contract that wants to support safeTransfers
 * from ERC721 asset contracts.
 */
interface IERC721Receiver {
    /**
     * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}
     * by `operator` from `from`, this function is called.
     *
     * It must return its Solidity selector to confirm the token transfer.
     * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.
     *
     * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

File 13 of 19 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional metadata extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Metadata is IERC721 {
    /**
     * @dev Returns the token collection name.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the token collection symbol.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
     */
    function tokenURI(uint256 tokenId) external view returns (string memory);
}

File 14 of 19 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        (bool success, ) = recipient.call{value: amount}("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain `call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionCall(target, data, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        require(isContract(target), "Address: call to non-contract");

        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");

        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

File 15 of 19 : Context.sol
// SPDX-License-Identifier: MIT

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 16 of 19 : ERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC165.sol";

/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
 * for the additional interface id that will be supported. For example:
 *
 * ```solidity
 * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
 *     return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
 * }
 * ```
 *
 * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
 */
abstract contract ERC165 is IERC165 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IERC165).interfaceId;
    }
}

File 17 of 19 : IERC165.sol
// SPDX-License-Identifier: MIT

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 18 of 19 : EIP712Base.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import {Initializable} from "./Initializable.sol";

contract EIP712Base is Initializable {
    struct EIP712Domain {
        string name;
        string version;
        bytes32 chainId;
        address verifyingContract;
    }

    string public constant ERC712_VERSION = "1";

    bytes32 internal constant EIP712_DOMAIN_TYPEHASH =
        keccak256(
            bytes(
                "EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)"
            )
        );
    bytes32 internal domainSeparator;

    // supposed to be called once while initializing.
    // one of the contracts that inherits this contract follows proxy pattern
    // so it is not possible to do this in a constructor
    function _initializeEIP712(string memory name) internal initializer {
        _setDomainSeparator(name);
    }

    function _setDomainSeparator(string memory name) internal {
        domainSeparator = keccak256(
            abi.encode(
                EIP712_DOMAIN_TYPEHASH,
                keccak256(bytes(name)),
                keccak256(bytes(ERC712_VERSION)),
                block.chainid,
                address(this)
            )
        );
    }

    function getDomainSeparator() public view returns (bytes32) {
        return domainSeparator;
    }

    /**
     * Accept message hash and returns hash message in EIP712 compatible form
     * So that it can be used to recover signer from signature signed using EIP712 formatted data
     * https://eips.ethereum.org/EIPS/eip-712
     * "\\x19" makes the encoding deterministic
     * "\\x01" is the version byte to make it compatible to EIP-191
     */
    function toTypedMessageHash(bytes32 messageHash)
        internal
        view
        returns (bytes32)
    {
        return
            keccak256(
                abi.encodePacked("\x19\x01", getDomainSeparator(), messageHash)
            );
    }
}

File 19 of 19 : Initializable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

contract Initializable {
    bool inited = false;

    modifier initializer() {
        require(!inited, "already inited");
        _;
        inited = true;
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"currencyPunks_","type":"address"},{"internalType":"address","name":"permitter_","type":"address"},{"internalType":"address","name":"fundAddress_","type":"address"},{"internalType":"address","name":"_proxyRegistryAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"userAddress","type":"address"},{"indexed":false,"internalType":"address payable","name":"relayerAddress","type":"address"},{"indexed":false,"internalType":"bytes","name":"functionSignature","type":"bytes"}],"name":"MetaTransactionExecuted","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":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"ERC712_VERSION","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"auctionStart","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"currencyPunks","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"epoch","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"userAddress","type":"address"},{"internalType":"bytes","name":"functionSignature","type":"bytes"},{"internalType":"bytes32","name":"sigR","type":"bytes32"},{"internalType":"bytes32","name":"sigS","type":"bytes32"},{"internalType":"uint8","name":"sigV","type":"uint8"}],"name":"executeMetaTransaction","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"fundAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getDomainSeparator","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"getNonce","outputs":[{"internalType":"uint256","name":"nonce","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"lucky","type":"address"},{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"},{"internalType":"uint8","name":"v","type":"uint8"}],"name":"mintLucky","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintStage","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nextMintStage","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"permitter","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60c06040526007805460ff191690556001600f553480156200002057600080fd5b506040516200398a3803806200398a8339810160408190526200004391620007d7565b6040518060400160405280600d81526020016c4d616c657669636850756e6b7360981b815250604051806040016040528060048152602001634d41505560e01b8152508282828160009080519060200190620000a192919062000714565b508051620000b790600190602084019062000714565b505050620000d4620000ce6200016e60201b60201c565b6200018a565b600b80546001600160a01b0319166001600160a01b038316179055620000fa83620001dc565b5050506001600160601b0319606085901b1660a052600d80546001600160a01b038581166001600160a01b031992831617909255600c805492851692909116919091179055620001474290565b608052600c5462000164906001600160a01b03166102e562000241565b5050505062000983565b6000620001856200026760201b6200186c1760201c565b905090565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60075460ff1615620002265760405162461bcd60e51b815260206004820152600e60248201526d185b1c9958591e481a5b9a5d195960921b60448201526064015b60405180910390fd5b6200023181620002c6565b506007805460ff19166001179055565b620002638282604051806020016040528060008152506200036460201b60201c565b5050565b600033301415620002c057600080368080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152505050503601516001600160a01b03169150620002c39050565b50335b90565b6040518060800160405280605281526020016200393860529139805160209182012082518383012060408051808201825260018152603160f81b90850152805193840192909252908201527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608201524660808201523060a082015260c00160408051601f19818403018152919052805160209091012060085550565b620003708383620003dc565b6200037f600084848462000532565b620003d75760405162461bcd60e51b815260206004820152603260248201526000805160206200391883398151915260448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b60648201526084016200021d565b505050565b6001600160a01b038216620004345760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016200021d565b6000818152600260205260409020546001600160a01b0316156200049b5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016200021d565b620004a960008383620006a4565b6001600160a01b0382166000908152600360205260408120805460019290620004d4908490620008dd565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600062000553846001600160a01b03166200070e60201b620018c91760201c565b1562000698576001600160a01b03841663150b7a02620005726200016e565b8786866040518563ffffffff1660e01b815260040162000596949392919062000864565b602060405180830381600087803b158015620005b157600080fd5b505af1925050508015620005e4575060408051601f3d908101601f19168201909252620005e19181019062000833565b60015b6200067d573d80801562000615576040519150601f19603f3d011682016040523d82523d6000602084013e6200061a565b606091505b508051620006755760405162461bcd60e51b815260206004820152603260248201526000805160206200391883398151915260448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b60648201526084016200021d565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506200069c565b5060015b949350505050565b620006bc838383620003d760201b620008bd1760201c565b6001600160a01b038316620006e35760068054906000620006dd836200094f565b91905055505b6001600160a01b038216620003d757600680549060006200070483620008f8565b9190505550505050565b3b151590565b828054620007229062000912565b90600052602060002090601f01602090048101928262000746576000855562000791565b82601f106200076157805160ff191683800117855562000791565b8280016001018555821562000791579182015b828111156200079157825182559160200191906001019062000774565b506200079f929150620007a3565b5090565b5b808211156200079f5760008155600101620007a4565b80516001600160a01b0381168114620007d257600080fd5b919050565b60008060008060808587031215620007ed578384fd5b620007f885620007ba565b93506200080860208601620007ba565b92506200081860408601620007ba565b91506200082860608601620007ba565b905092959194509250565b60006020828403121562000845578081fd5b81516001600160e01b0319811681146200085d578182fd5b9392505050565b600060018060a01b0380871683526020818716818501528560408501526080606085015284519150816080850152825b82811015620008b25785810182015185820160a00152810162000894565b82811115620008c4578360a084870101525b5050601f01601f19169190910160a00195945050505050565b60008219821115620008f357620008f36200096d565b500190565b6000816200090a576200090a6200096d565b506000190190565b600181811c908216806200092757607f821691505b602082108114156200094957634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156200096657620009666200096d565b5060010190565b634e487b7160e01b600052601160045260246000fd5b60805160a05160601c612f5e620009ba6000396000818161047d0152610bc40152600081816104cf0152610b4d0152612f5e6000f3fe6080604052600436106101ee5760003560e01c80636817c76c1161010d578063a22cb465116100a0578063e82bef291161006f578063e82bef291461057b578063e985e9c51461059b578063ed24911d146105bb578063f150a049146105d0578063f2fde38b146105fc57600080fd5b8063a22cb46514610506578063b88d4fde14610526578063c87b56dd14610546578063d547cfb71461056657600080fd5b8063723e221c116100dc578063723e221c1461046b5780638da5cb5b1461049f578063900cf0cf146104bd57806395d89b41146104f157600080fd5b80636817c76c1461040157806370a0823114610416578063712b06b214610436578063715018a61461045657600080fd5b806318160ddd1161018557806342842e0e1161015457806342842e0e1461038b5780634f245ef7146103ab578063529d2ef3146103c15780636352211e146103e157600080fd5b806318160ddd1461030157806323b872dd146103205780632d0335ab146103405780633ccfd60b1461037657600080fd5b80630c53c51c116101c15780630c53c51c146102a45780630f7e5970146102b75780631249c58b146102e4578063176c6564146102ec57600080fd5b806301ffc9a7146101f357806306fdde0314610228578063081812fc1461024a578063095ea7b314610282575b600080fd5b3480156101ff57600080fd5b5061021361020e366004612920565b61061c565b60405190151581526020015b60405180910390f35b34801561023457600080fd5b5061023d61066e565b60405161021f9190612ab1565b34801561025657600080fd5b5061026a610265366004612974565b610700565b6040516001600160a01b03909116815260200161021f565b34801561028e57600080fd5b506102a261029d3660046128b0565b61079a565b005b61023d6102b236600461283e565b6108c2565b3480156102c357600080fd5b5061023d604051806040016040528060018152602001603160f81b81525081565b6102a2610ab4565b3480156102f857600080fd5b506102a2610f1a565b34801561030d57600080fd5b506006545b60405190815260200161021f565b34801561032c57600080fd5b506102a261033b366004612763565b611008565b34801561034c57600080fd5b5061031261035b36600461270f565b6001600160a01b031660009081526009602052604090205490565b34801561038257600080fd5b506102a2611040565b34801561039757600080fd5b506102a26103a6366004612763565b6110c2565b3480156103b757600080fd5b50610312600e5481565b3480156103cd57600080fd5b50600d5461026a906001600160a01b031681565b3480156103ed57600080fd5b5061026a6103fc366004612974565b6110dd565b34801561040d57600080fd5b50610312611154565b34801561042257600080fd5b5061031261043136600461270f565b6111bd565b34801561044257600080fd5b506102a26104513660046128db565b611244565b34801561046257600080fd5b506102a26114e8565b34801561047757600080fd5b5061026a7f000000000000000000000000000000000000000000000000000000000000000081565b3480156104ab57600080fd5b50600a546001600160a01b031661026a565b3480156104c957600080fd5b506103127f000000000000000000000000000000000000000000000000000000000000000081565b3480156104fd57600080fd5b5061023d61153b565b34801561051257600080fd5b506102a261052136600461280d565b61154a565b34801561053257600080fd5b506102a26105413660046127a3565b61164c565b34801561055257600080fd5b5061023d610561366004612974565b61168b565b34801561057257600080fd5b5061023d6116c5565b34801561058757600080fd5b50600c5461026a906001600160a01b031681565b3480156105a757600080fd5b506102136105b636600461272b565b6116e5565b3480156105c757600080fd5b50600854610312565b3480156105dc57600080fd5b506010546105ea9060ff1681565b60405160ff909116815260200161021f565b34801561060857600080fd5b506102a261061736600461270f565b6117b5565b60006001600160e01b031982166380ac58cd60e01b148061064d57506001600160e01b03198216635b5e139f60e01b145b8061066857506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606000805461067d90612d95565b80601f01602080910402602001604051908101604052809291908181526020018280546106a990612d95565b80156106f65780601f106106cb576101008083540402835291602001916106f6565b820191906000526020600020905b8154815290600101906020018083116106d957829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b031661077e5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60006107a5826110dd565b9050806001600160a01b0316836001600160a01b031614156108135760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610775565b806001600160a01b03166108256118cf565b6001600160a01b031614806108415750610841816105b66118cf565b6108b35760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610775565b6108bd83836118de565b505050565b60408051606081810183526001600160a01b03881660008181526009602090815290859020548452830152918101869052610908876109008361194c565b8787876119c9565b61095e5760405162461bcd60e51b815260206004820152602160248201527f5369676e657220616e64207369676e617475726520646f206e6f74206d6174636044820152600d60fb1b6064820152608401610775565b6001600160a01b038716600090815260096020526040902054610982906001611ab1565b6001600160a01b0388166000908152600960205260409081902091909155517f5845892132946850460bff5a0083f71031bc5bf9aadcd40f1de79423eac9b10b906109d290899033908a90612a52565b60405180910390a1600080306001600160a01b0316888a6040516020016109fa9291906129ec565b60408051601f1981840301815290829052610a14916129d0565b6000604051808303816000865af19150503d8060008114610a51576040519150601f19603f3d011682016040523d82523d6000602084013e610a56565b606091505b509150915081610aa85760405162461bcd60e51b815260206004820152601c60248201527f46756e6374696f6e2063616c6c206e6f74207375636365737366756c000000006044820152606401610775565b98975050505050505050565b612710610abf611ac4565b10610b015760405162461bcd60e51b81526020600482015260126024820152711b585e081cdd5c1c1b1e481c995858da195960721b6044820152606401610775565b60105460ff1660011415610cea576107d0600f54610b1d611ac4565b610b279190612d3b565b10610b445760405162461bcd60e51b815260040161077590612b58565b6203f480610b727f000000000000000000000000000000000000000000000000000000000000000042612d3b565b1115610bc05760405162461bcd60e51b815260206004820152601b60248201527f686f6c64657273206d696e74696e6720686173206578706972656400000000006044820152606401610775565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166370a08231610bf96118cf565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602401602060405180830381600087803b158015610c3a57600080fd5b505af1158015610c4e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c72919061298c565b11610ce55760405162461bcd60e51b815260206004820152603760248201527f63757272656e74206d696e74696e6720737461676520697320666f722043757260448201527f72656e637950756e6b7320686f6c64657273206f6e6c790000000000000000006064820152608401610775565b610e15565b60105460ff1660021415610d2d576102ee600f54610d06611ac4565b610d109190612d3b565b10610ce55760405162461bcd60e51b815260040161077590612b58565b60105460ff1660031415610d495761028a600f54610d06611ac4565b60105460ff1660041415610d6557610258600f54610d06611ac4565b60105460ff1660061415610dbe57610d7b611154565b341015610ce55760405162461bcd60e51b8152602060048201526011602482015270616d6f756e7420697320746f6f206c6f7760781b6044820152606401610775565b60405162461bcd60e51b815260206004820152602660248201527f6d696e74696e67206973206e6f7420617661696c61626c6520617420746865206044820152651b5bdb595b9d60d21b6064820152608401610775565b60105460ff16600614610e4a57610e2d6104316118cf565b15610e4a5760405162461bcd60e51b815260040161077590612b16565b600a546001600160a01b0316610e5e6118cf565b6001600160a01b03161415610ea95760405162461bcd60e51b81526020600482015260116024820152701bdddb995c881b9bdd08185b1b1bddd959607a1b6044820152606401610775565b600c546001600160a01b0316610ebd6118cf565b6001600160a01b03161415610f075760405162461bcd60e51b815260206004820152601060248201526f199d5b99081b9bdd08185b1b1bddd95960821b6044820152606401610775565b610f17610f126118cf565b611acf565b50565b610f226118cf565b6001600160a01b0316610f3d600a546001600160a01b031690565b6001600160a01b031614610f635760405162461bcd60e51b815260040161077590612b7f565b601054600660ff90911610610fba5760405162461bcd60e51b815260206004820152601860248201527f66696e616c206d696e74207374616765207265616368656400000000000000006044820152606401610775565b610fc2611ac4565b600f556010805460ff16906000610fd883612deb565b82546101009290920a60ff81810219909316918316021790915560105460069116141590506110065742600e555b565b6110196110136118cf565b82611ae6565b6110355760405162461bcd60e51b815260040161077590612bb4565b6108bd838383611bb5565b6110486118cf565b6001600160a01b0316611063600a546001600160a01b031690565b6001600160a01b0316146110895760405162461bcd60e51b815260040161077590612b7f565b600a546040516001600160a01b03909116904780156108fc02916000818181858888f19350505050158015610f17573d6000803e3d6000fd5b6108bd8383836040518060200160405280600081525061164c565b6000818152600260205260408120546001600160a01b0316806106685760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610775565b60105460009060ff1660061461116a5750600090565b600061a8c0600e546111794290565b6111839190612d3b565b61118d9190612c1d565b90506000806111b46111a684662386f26fc10000612d1c565b66b1a2bc2ec5000090611d60565b95945050505050565b60006001600160a01b0382166112285760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610775565b506001600160a01b031660009081526003602052604090205490565b60105460ff166005146112b25760405162461bcd60e51b815260206004820152603060248201527f4c75636b794c697374206d696e74696e67206973206e6f7420617661696c616260448201526f1b1948185d081d1a19481b5bdb595b9d60821b6064820152608401610775565b60008481526011602052604090205460ff16156113115760405162461bcd60e51b815260206004820152601e60248201527f746f6b656e2068617320616c7265616479206265656e20636c61696d656400006044820152606401610775565b6105dc61131c611ac4565b611327906003612c05565b11156113455760405162461bcd60e51b815260040161077590612b58565b6113506104316118cf565b1561136d5760405162461bcd60e51b815260040161077590612b16565b600a546001600160a01b03166113816118cf565b6001600160a01b031614156113cc5760405162461bcd60e51b81526020600482015260116024820152701bdddb995c881b9bdd08185b1b1bddd959607a1b6044820152606401610775565b600c546001600160a01b03166113e06118cf565b6001600160a01b0316141561142a5760405162461bcd60e51b815260206004820152601060248201526f199d5b99081b9bdd08185b1b1bddd95960821b6044820152606401610775565b604080518082019091526001600160a01b03808716825260208201869052600d54611461911661145983611d86565b8686866119c9565b6114a55760405162461bcd60e51b8152602060048201526015602482015274696e76616c6964206c75636b79206164647265737360581b6044820152606401610775565b6000858152601160205260409020805460ff191660011790556114c9610f126118cf565b506114d386611acf565b506114df610f126118cf565b50505050505050565b6114f06118cf565b6001600160a01b031661150b600a546001600160a01b031690565b6001600160a01b0316146115315760405162461bcd60e51b815260040161077590612b7f565b6110066000611dd6565b60606001805461067d90612d95565b6115526118cf565b6001600160a01b0316826001600160a01b031614156115b35760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610775565b80600560006115c06118cf565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff1916921515929092179091556116046118cf565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611640911515815260200190565b60405180910390a35050565b61165d6116576118cf565b83611ae6565b6116795760405162461bcd60e51b815260040161077590612bb4565b61168584848484611e28565b50505050565b60606116956116c5565b61169e83611e5b565b6040516020016116af929190612a23565b6040516020818303038152906040529050919050565b6060604051806060016040528060368152602001612ed060369139905090565b600b5460405163c455279160e01b81526001600160a01b03848116600483015260009281169190841690829063c45527919060240160206040518083038186803b15801561173257600080fd5b505afa158015611746573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061176a9190612958565b6001600160a01b03161415611783576001915050610668565b6001600160a01b0380851660009081526005602090815260408083209387168352929052205460ff165b949350505050565b6117bd6118cf565b6001600160a01b03166117d8600a546001600160a01b031690565b6001600160a01b0316146117fe5760405162461bcd60e51b815260040161077590612b7f565b6001600160a01b0381166118635760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610775565b610f1781611dd6565b6000333014156118c357600080368080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152505050503601516001600160a01b031691506118c69050565b50335b90565b3b151590565b60006118d961186c565b905090565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611913826110dd565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000604051806080016040528060438152602001612e8d60439139805160209182012083518483015160408087015180519086012090516119ac950193845260208401929092526001600160a01b03166040830152606082015260800190565b604051602081830303815290604052805190602001209050919050565b60006001600160a01b038616611a2f5760405162461bcd60e51b815260206004820152602560248201527f4e61746976654d6574615472616e73616374696f6e3a20494e56414c49445f5360448201526424a3a722a960d91b6064820152608401610775565b6001611a3a86611f75565b6040805160008152602081018083529290925260ff851690820152606081018690526080810185905260a0016020604051602081039080840390855afa158015611a88573d6000803e3d6000fd5b505050602060405103516001600160a01b0316866001600160a01b031614905095945050505050565b6000611abd8284612c05565b9392505050565b60006118d960065490565b600080611ada611fa5565b90506106688382612110565b6000818152600260205260408120546001600160a01b0316611b5f5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610775565b6000611b6a836110dd565b9050806001600160a01b0316846001600160a01b03161480611ba55750836001600160a01b0316611b9a84610700565b6001600160a01b0316145b806117ad57506117ad81856116e5565b826001600160a01b0316611bc8826110dd565b6001600160a01b031614611c305760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610775565b6001600160a01b038216611c925760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610775565b611c9d83838361212e565b611ca86000826118de565b6001600160a01b0383166000908152600360205260408120805460019290611cd1908490612d3b565b90915550506001600160a01b0382166000908152600360205260408120805460019290611cff908490612c05565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b60008083831115611d7657506000905080611d7f565b50600190508183035b9250929050565b6000604051806060016040528060238152602001612f066023913980516020918201208351848301516040516119ac94019283526001600160a01b03919091166020830152604082015260600190565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b611e33848484611bb5565b611e3f8484848461217a565b6116855760405162461bcd60e51b815260040161077590612ac4565b606081611e7f5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611ea95780611e9381612dd0565b9150611ea29050600a83612c1d565b9150611e83565b60008167ffffffffffffffff811115611ed257634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611efc576020820181803683370190505b5090505b84156117ad57611f11600183612d3b565b9150611f1e600a86612e0b565b611f29906030612c05565b60f81b818381518110611f4c57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350611f6e600a86612c1d565b9450611f00565b6000611f8060085490565b60405161190160f01b60208201526022810191909152604281018390526062016119ac565b600080611fb0611ac4565b9050600080612000831015611fd6576120009150611fcf600184612d3b565b90506120b1565b611fe4610400612000612c05565b831015611ffc576104009150611fcf61200084612d3b565b61020061200d610400612000612c05565b6120179190612c05565b83101561203c57610200915061040061203261200085612d3b565b611fcf9190612d3b565b610100610200612050610400612000612c05565b61205a9190612c05565b6120649190612c05565b83101561208c57610100915061020061040061208261200086612d3b565b6120329190612d3b565b61271083141561209e57509092915050565b6120a9836001612c05565b935050505090565b61045b81106120c857806120c481612dd0565b9150505b60006120de6120d8836001612c05565b8461228e565b90506120ea8382612380565b90506102e58114156117ad576121046120d8836002612c05565b90506111b48382612380565b61212a8282604051806020016040528060008152506123fe565b5050565b6001600160a01b038316612152576006805490600061214c83612dd0565b91905055505b6001600160a01b0382166108bd576006805490600061217083612d7e565b9190505550505050565b60006001600160a01b0384163b1561228357836001600160a01b031663150b7a026121a36118cf565b8786866040518563ffffffff1660e01b81526004016121c59493929190612a7e565b602060405180830381600087803b1580156121df57600080fd5b505af192505050801561220f575060408051601f3d908101601f1916820190925261220c9181019061293c565b60015b612269573d80801561223d576040519150601f19603f3d011682016040523d82523d6000602084013e612242565b606091505b5080516122615760405162461bcd60e51b815260040161077590612ac4565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506117ad565b506001949350505050565b60008083116122c85760405162461bcd60e51b8152600401610775906020808252600490820152637a65726f60e01b604082015260600190565b818311156123035760405162461bcd60e51b81526020600482015260086024820152676f766572666c6f7760c01b6044820152606401610775565b600061230e84612431565b9050600061231d826001612c05565b612328906002612c74565b6123329085612c1d565b90506000612341836002612c74565b61234b9087612d3b565b612356846002612c74565b6123609087612c1d565b61236a9190612d1c565b90506123768183612c05565b9695505050505050565b600061040083141561239f5761239861200083612c05565b91506123f3565b6102008314156123c1576123b7610400612000612c05565b6123989083612c05565b6101008314156123f3576102006123dc610400612000612c05565b6123e69190612c05565b6123f09083612c05565b91505b611abd826001612c05565b6124088383612529565b612415600084848461217a565b6108bd5760405162461bcd60e51b815260040161077590612ac4565b6000600282101561244457506000919050565b600482101561245557506001919050565b600882101561246657506002919050565b601082101561247757506003919050565b602082101561248857506004919050565b604082101561249957506005919050565b60808210156124aa57506006919050565b6101008210156124bc57506007919050565b6102008210156124ce57506008919050565b6104008210156124e057506009919050565b6108008210156124f25750600a919050565b6110008210156125045750600b919050565b6120008210156125165750600c919050565b6140008210156125245750600d5b919050565b6001600160a01b03821661257f5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610775565b6000818152600260205260409020546001600160a01b0316156125e45760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610775565b6125f06000838361212e565b6001600160a01b0382166000908152600360205260408120805460019290612619908490612c05565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600082601f830112612687578081fd5b813567ffffffffffffffff808211156126a2576126a2612e4b565b604051601f8301601f19908116603f011681019082821181831017156126ca576126ca612e4b565b816040528381528660208588010111156126e2578485fd5b8360208701602083013792830160200193909352509392505050565b803560ff8116811461252457600080fd5b600060208284031215612720578081fd5b8135611abd81612e61565b6000806040838503121561273d578081fd5b823561274881612e61565b9150602083013561275881612e61565b809150509250929050565b600080600060608486031215612777578081fd5b833561278281612e61565b9250602084013561279281612e61565b929592945050506040919091013590565b600080600080608085870312156127b8578081fd5b84356127c381612e61565b935060208501356127d381612e61565b925060408501359150606085013567ffffffffffffffff8111156127f5578182fd5b61280187828801612677565b91505092959194509250565b6000806040838503121561281f578182fd5b823561282a81612e61565b915060208301358015158114612758578182fd5b600080600080600060a08688031215612855578081fd5b853561286081612e61565b9450602086013567ffffffffffffffff81111561287b578182fd5b61288788828901612677565b94505060408601359250606086013591506128a4608087016126fe565b90509295509295909350565b600080604083850312156128c2578182fd5b82356128cd81612e61565b946020939093013593505050565b600080600080600060a086880312156128f2578081fd5b85356128fd81612e61565b94506020860135935060408601359250606086013591506128a4608087016126fe565b600060208284031215612931578081fd5b8135611abd81612e76565b60006020828403121561294d578081fd5b8151611abd81612e76565b600060208284031215612969578081fd5b8151611abd81612e61565b600060208284031215612985578081fd5b5035919050565b60006020828403121561299d578081fd5b5051919050565b600081518084526129bc816020860160208601612d52565b601f01601f19169290920160200192915050565b600082516129e2818460208701612d52565b9190910192915050565b600083516129fe818460208801612d52565b60609390931b6bffffffffffffffffffffffff19169190920190815260140192915050565b60008351612a35818460208801612d52565b835190830190612a49818360208801612d52565b01949350505050565b6001600160a01b038481168252831660208201526060604082018190526000906111b4908301846129a4565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612376908301846129a4565b602081526000611abd60208301846129a4565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526022908201527f6f6e6c79206f6e6520746f6b656e20706572206164647265737320616c6c6f77604082015261195960f21b606082015260800190565b6020808252600d908201526c1b1a5b5a5d081c995858da1959609a1b604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b60008219821115612c1857612c18612e1f565b500190565b600082612c2c57612c2c612e35565b500490565b600181815b80851115612c6c578160001904821115612c5257612c52612e1f565b80851615612c5f57918102915b93841c9390800290612c36565b509250929050565b6000611abd8383600082612c8a57506001610668565b81612c9757506000610668565b8160018114612cad5760028114612cb757612cd3565b6001915050610668565b60ff841115612cc857612cc8612e1f565b50506001821b610668565b5060208310610133831016604e8410600b8410161715612cf6575081810a610668565b612d008383612c31565b8060001904821115612d1457612d14612e1f565b029392505050565b6000816000190483118215151615612d3657612d36612e1f565b500290565b600082821015612d4d57612d4d612e1f565b500390565b60005b83811015612d6d578181015183820152602001612d55565b838111156116855750506000910152565b600081612d8d57612d8d612e1f565b506000190190565b600181811c90821680612da957607f821691505b60208210811415612dca57634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415612de457612de4612e1f565b5060010190565b600060ff821660ff811415612e0257612e02612e1f565b60010192915050565b600082612e1a57612e1a612e35565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114610f1757600080fd5b6001600160e01b031981168114610f1757600080fdfe4d6574615472616e73616374696f6e2875696e74323536206e6f6e63652c616464726573732066726f6d2c62797465732066756e6374696f6e5369676e617475726529697066733a2f2f516d53584250635641626e6b637a5a597051786b37374e367a74444636396a6d74315356685762663752355a534a2f5065726d69742861646472657373206c75636b792c75696e74323536206e6f6e636529a2646970667358221220032189cef1d328b4468a6b2508ec856c2a9508bb772a96e4e23961517036806764736f6c634300080400334552433732313a207472616e7366657220746f206e6f6e204552433732315265454950373132446f6d61696e28737472696e67206e616d652c737472696e672076657273696f6e2c75696e7432353620636861696e49642c6164647265737320766572696679696e67436f6e747261637429000000000000000000000000e433e90c5b898819544346e73a501d9e8013dbd80000000000000000000000004f8ee9341181f410bdfb25dc829031cddf8e0e11000000000000000000000000c3e6911c2769ddff74a4e1b7ac859985fe415c73000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1

Deployed Bytecode

0x6080604052600436106101ee5760003560e01c80636817c76c1161010d578063a22cb465116100a0578063e82bef291161006f578063e82bef291461057b578063e985e9c51461059b578063ed24911d146105bb578063f150a049146105d0578063f2fde38b146105fc57600080fd5b8063a22cb46514610506578063b88d4fde14610526578063c87b56dd14610546578063d547cfb71461056657600080fd5b8063723e221c116100dc578063723e221c1461046b5780638da5cb5b1461049f578063900cf0cf146104bd57806395d89b41146104f157600080fd5b80636817c76c1461040157806370a0823114610416578063712b06b214610436578063715018a61461045657600080fd5b806318160ddd1161018557806342842e0e1161015457806342842e0e1461038b5780634f245ef7146103ab578063529d2ef3146103c15780636352211e146103e157600080fd5b806318160ddd1461030157806323b872dd146103205780632d0335ab146103405780633ccfd60b1461037657600080fd5b80630c53c51c116101c15780630c53c51c146102a45780630f7e5970146102b75780631249c58b146102e4578063176c6564146102ec57600080fd5b806301ffc9a7146101f357806306fdde0314610228578063081812fc1461024a578063095ea7b314610282575b600080fd5b3480156101ff57600080fd5b5061021361020e366004612920565b61061c565b60405190151581526020015b60405180910390f35b34801561023457600080fd5b5061023d61066e565b60405161021f9190612ab1565b34801561025657600080fd5b5061026a610265366004612974565b610700565b6040516001600160a01b03909116815260200161021f565b34801561028e57600080fd5b506102a261029d3660046128b0565b61079a565b005b61023d6102b236600461283e565b6108c2565b3480156102c357600080fd5b5061023d604051806040016040528060018152602001603160f81b81525081565b6102a2610ab4565b3480156102f857600080fd5b506102a2610f1a565b34801561030d57600080fd5b506006545b60405190815260200161021f565b34801561032c57600080fd5b506102a261033b366004612763565b611008565b34801561034c57600080fd5b5061031261035b36600461270f565b6001600160a01b031660009081526009602052604090205490565b34801561038257600080fd5b506102a2611040565b34801561039757600080fd5b506102a26103a6366004612763565b6110c2565b3480156103b757600080fd5b50610312600e5481565b3480156103cd57600080fd5b50600d5461026a906001600160a01b031681565b3480156103ed57600080fd5b5061026a6103fc366004612974565b6110dd565b34801561040d57600080fd5b50610312611154565b34801561042257600080fd5b5061031261043136600461270f565b6111bd565b34801561044257600080fd5b506102a26104513660046128db565b611244565b34801561046257600080fd5b506102a26114e8565b34801561047757600080fd5b5061026a7f000000000000000000000000e433e90c5b898819544346e73a501d9e8013dbd881565b3480156104ab57600080fd5b50600a546001600160a01b031661026a565b3480156104c957600080fd5b506103127f00000000000000000000000000000000000000000000000000000000616822c181565b3480156104fd57600080fd5b5061023d61153b565b34801561051257600080fd5b506102a261052136600461280d565b61154a565b34801561053257600080fd5b506102a26105413660046127a3565b61164c565b34801561055257600080fd5b5061023d610561366004612974565b61168b565b34801561057257600080fd5b5061023d6116c5565b34801561058757600080fd5b50600c5461026a906001600160a01b031681565b3480156105a757600080fd5b506102136105b636600461272b565b6116e5565b3480156105c757600080fd5b50600854610312565b3480156105dc57600080fd5b506010546105ea9060ff1681565b60405160ff909116815260200161021f565b34801561060857600080fd5b506102a261061736600461270f565b6117b5565b60006001600160e01b031982166380ac58cd60e01b148061064d57506001600160e01b03198216635b5e139f60e01b145b8061066857506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606000805461067d90612d95565b80601f01602080910402602001604051908101604052809291908181526020018280546106a990612d95565b80156106f65780601f106106cb576101008083540402835291602001916106f6565b820191906000526020600020905b8154815290600101906020018083116106d957829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b031661077e5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60006107a5826110dd565b9050806001600160a01b0316836001600160a01b031614156108135760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610775565b806001600160a01b03166108256118cf565b6001600160a01b031614806108415750610841816105b66118cf565b6108b35760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610775565b6108bd83836118de565b505050565b60408051606081810183526001600160a01b03881660008181526009602090815290859020548452830152918101869052610908876109008361194c565b8787876119c9565b61095e5760405162461bcd60e51b815260206004820152602160248201527f5369676e657220616e64207369676e617475726520646f206e6f74206d6174636044820152600d60fb1b6064820152608401610775565b6001600160a01b038716600090815260096020526040902054610982906001611ab1565b6001600160a01b0388166000908152600960205260409081902091909155517f5845892132946850460bff5a0083f71031bc5bf9aadcd40f1de79423eac9b10b906109d290899033908a90612a52565b60405180910390a1600080306001600160a01b0316888a6040516020016109fa9291906129ec565b60408051601f1981840301815290829052610a14916129d0565b6000604051808303816000865af19150503d8060008114610a51576040519150601f19603f3d011682016040523d82523d6000602084013e610a56565b606091505b509150915081610aa85760405162461bcd60e51b815260206004820152601c60248201527f46756e6374696f6e2063616c6c206e6f74207375636365737366756c000000006044820152606401610775565b98975050505050505050565b612710610abf611ac4565b10610b015760405162461bcd60e51b81526020600482015260126024820152711b585e081cdd5c1c1b1e481c995858da195960721b6044820152606401610775565b60105460ff1660011415610cea576107d0600f54610b1d611ac4565b610b279190612d3b565b10610b445760405162461bcd60e51b815260040161077590612b58565b6203f480610b727f00000000000000000000000000000000000000000000000000000000616822c142612d3b565b1115610bc05760405162461bcd60e51b815260206004820152601b60248201527f686f6c64657273206d696e74696e6720686173206578706972656400000000006044820152606401610775565b60007f000000000000000000000000e433e90c5b898819544346e73a501d9e8013dbd86001600160a01b03166370a08231610bf96118cf565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602401602060405180830381600087803b158015610c3a57600080fd5b505af1158015610c4e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c72919061298c565b11610ce55760405162461bcd60e51b815260206004820152603760248201527f63757272656e74206d696e74696e6720737461676520697320666f722043757260448201527f72656e637950756e6b7320686f6c64657273206f6e6c790000000000000000006064820152608401610775565b610e15565b60105460ff1660021415610d2d576102ee600f54610d06611ac4565b610d109190612d3b565b10610ce55760405162461bcd60e51b815260040161077590612b58565b60105460ff1660031415610d495761028a600f54610d06611ac4565b60105460ff1660041415610d6557610258600f54610d06611ac4565b60105460ff1660061415610dbe57610d7b611154565b341015610ce55760405162461bcd60e51b8152602060048201526011602482015270616d6f756e7420697320746f6f206c6f7760781b6044820152606401610775565b60405162461bcd60e51b815260206004820152602660248201527f6d696e74696e67206973206e6f7420617661696c61626c6520617420746865206044820152651b5bdb595b9d60d21b6064820152608401610775565b60105460ff16600614610e4a57610e2d6104316118cf565b15610e4a5760405162461bcd60e51b815260040161077590612b16565b600a546001600160a01b0316610e5e6118cf565b6001600160a01b03161415610ea95760405162461bcd60e51b81526020600482015260116024820152701bdddb995c881b9bdd08185b1b1bddd959607a1b6044820152606401610775565b600c546001600160a01b0316610ebd6118cf565b6001600160a01b03161415610f075760405162461bcd60e51b815260206004820152601060248201526f199d5b99081b9bdd08185b1b1bddd95960821b6044820152606401610775565b610f17610f126118cf565b611acf565b50565b610f226118cf565b6001600160a01b0316610f3d600a546001600160a01b031690565b6001600160a01b031614610f635760405162461bcd60e51b815260040161077590612b7f565b601054600660ff90911610610fba5760405162461bcd60e51b815260206004820152601860248201527f66696e616c206d696e74207374616765207265616368656400000000000000006044820152606401610775565b610fc2611ac4565b600f556010805460ff16906000610fd883612deb565b82546101009290920a60ff81810219909316918316021790915560105460069116141590506110065742600e555b565b6110196110136118cf565b82611ae6565b6110355760405162461bcd60e51b815260040161077590612bb4565b6108bd838383611bb5565b6110486118cf565b6001600160a01b0316611063600a546001600160a01b031690565b6001600160a01b0316146110895760405162461bcd60e51b815260040161077590612b7f565b600a546040516001600160a01b03909116904780156108fc02916000818181858888f19350505050158015610f17573d6000803e3d6000fd5b6108bd8383836040518060200160405280600081525061164c565b6000818152600260205260408120546001600160a01b0316806106685760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610775565b60105460009060ff1660061461116a5750600090565b600061a8c0600e546111794290565b6111839190612d3b565b61118d9190612c1d565b90506000806111b46111a684662386f26fc10000612d1c565b66b1a2bc2ec5000090611d60565b95945050505050565b60006001600160a01b0382166112285760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610775565b506001600160a01b031660009081526003602052604090205490565b60105460ff166005146112b25760405162461bcd60e51b815260206004820152603060248201527f4c75636b794c697374206d696e74696e67206973206e6f7420617661696c616260448201526f1b1948185d081d1a19481b5bdb595b9d60821b6064820152608401610775565b60008481526011602052604090205460ff16156113115760405162461bcd60e51b815260206004820152601e60248201527f746f6b656e2068617320616c7265616479206265656e20636c61696d656400006044820152606401610775565b6105dc61131c611ac4565b611327906003612c05565b11156113455760405162461bcd60e51b815260040161077590612b58565b6113506104316118cf565b1561136d5760405162461bcd60e51b815260040161077590612b16565b600a546001600160a01b03166113816118cf565b6001600160a01b031614156113cc5760405162461bcd60e51b81526020600482015260116024820152701bdddb995c881b9bdd08185b1b1bddd959607a1b6044820152606401610775565b600c546001600160a01b03166113e06118cf565b6001600160a01b0316141561142a5760405162461bcd60e51b815260206004820152601060248201526f199d5b99081b9bdd08185b1b1bddd95960821b6044820152606401610775565b604080518082019091526001600160a01b03808716825260208201869052600d54611461911661145983611d86565b8686866119c9565b6114a55760405162461bcd60e51b8152602060048201526015602482015274696e76616c6964206c75636b79206164647265737360581b6044820152606401610775565b6000858152601160205260409020805460ff191660011790556114c9610f126118cf565b506114d386611acf565b506114df610f126118cf565b50505050505050565b6114f06118cf565b6001600160a01b031661150b600a546001600160a01b031690565b6001600160a01b0316146115315760405162461bcd60e51b815260040161077590612b7f565b6110066000611dd6565b60606001805461067d90612d95565b6115526118cf565b6001600160a01b0316826001600160a01b031614156115b35760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610775565b80600560006115c06118cf565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff1916921515929092179091556116046118cf565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611640911515815260200190565b60405180910390a35050565b61165d6116576118cf565b83611ae6565b6116795760405162461bcd60e51b815260040161077590612bb4565b61168584848484611e28565b50505050565b60606116956116c5565b61169e83611e5b565b6040516020016116af929190612a23565b6040516020818303038152906040529050919050565b6060604051806060016040528060368152602001612ed060369139905090565b600b5460405163c455279160e01b81526001600160a01b03848116600483015260009281169190841690829063c45527919060240160206040518083038186803b15801561173257600080fd5b505afa158015611746573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061176a9190612958565b6001600160a01b03161415611783576001915050610668565b6001600160a01b0380851660009081526005602090815260408083209387168352929052205460ff165b949350505050565b6117bd6118cf565b6001600160a01b03166117d8600a546001600160a01b031690565b6001600160a01b0316146117fe5760405162461bcd60e51b815260040161077590612b7f565b6001600160a01b0381166118635760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610775565b610f1781611dd6565b6000333014156118c357600080368080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152505050503601516001600160a01b031691506118c69050565b50335b90565b3b151590565b60006118d961186c565b905090565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611913826110dd565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000604051806080016040528060438152602001612e8d60439139805160209182012083518483015160408087015180519086012090516119ac950193845260208401929092526001600160a01b03166040830152606082015260800190565b604051602081830303815290604052805190602001209050919050565b60006001600160a01b038616611a2f5760405162461bcd60e51b815260206004820152602560248201527f4e61746976654d6574615472616e73616374696f6e3a20494e56414c49445f5360448201526424a3a722a960d91b6064820152608401610775565b6001611a3a86611f75565b6040805160008152602081018083529290925260ff851690820152606081018690526080810185905260a0016020604051602081039080840390855afa158015611a88573d6000803e3d6000fd5b505050602060405103516001600160a01b0316866001600160a01b031614905095945050505050565b6000611abd8284612c05565b9392505050565b60006118d960065490565b600080611ada611fa5565b90506106688382612110565b6000818152600260205260408120546001600160a01b0316611b5f5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610775565b6000611b6a836110dd565b9050806001600160a01b0316846001600160a01b03161480611ba55750836001600160a01b0316611b9a84610700565b6001600160a01b0316145b806117ad57506117ad81856116e5565b826001600160a01b0316611bc8826110dd565b6001600160a01b031614611c305760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610775565b6001600160a01b038216611c925760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610775565b611c9d83838361212e565b611ca86000826118de565b6001600160a01b0383166000908152600360205260408120805460019290611cd1908490612d3b565b90915550506001600160a01b0382166000908152600360205260408120805460019290611cff908490612c05565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b60008083831115611d7657506000905080611d7f565b50600190508183035b9250929050565b6000604051806060016040528060238152602001612f066023913980516020918201208351848301516040516119ac94019283526001600160a01b03919091166020830152604082015260600190565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b611e33848484611bb5565b611e3f8484848461217a565b6116855760405162461bcd60e51b815260040161077590612ac4565b606081611e7f5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611ea95780611e9381612dd0565b9150611ea29050600a83612c1d565b9150611e83565b60008167ffffffffffffffff811115611ed257634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611efc576020820181803683370190505b5090505b84156117ad57611f11600183612d3b565b9150611f1e600a86612e0b565b611f29906030612c05565b60f81b818381518110611f4c57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350611f6e600a86612c1d565b9450611f00565b6000611f8060085490565b60405161190160f01b60208201526022810191909152604281018390526062016119ac565b600080611fb0611ac4565b9050600080612000831015611fd6576120009150611fcf600184612d3b565b90506120b1565b611fe4610400612000612c05565b831015611ffc576104009150611fcf61200084612d3b565b61020061200d610400612000612c05565b6120179190612c05565b83101561203c57610200915061040061203261200085612d3b565b611fcf9190612d3b565b610100610200612050610400612000612c05565b61205a9190612c05565b6120649190612c05565b83101561208c57610100915061020061040061208261200086612d3b565b6120329190612d3b565b61271083141561209e57509092915050565b6120a9836001612c05565b935050505090565b61045b81106120c857806120c481612dd0565b9150505b60006120de6120d8836001612c05565b8461228e565b90506120ea8382612380565b90506102e58114156117ad576121046120d8836002612c05565b90506111b48382612380565b61212a8282604051806020016040528060008152506123fe565b5050565b6001600160a01b038316612152576006805490600061214c83612dd0565b91905055505b6001600160a01b0382166108bd576006805490600061217083612d7e565b9190505550505050565b60006001600160a01b0384163b1561228357836001600160a01b031663150b7a026121a36118cf565b8786866040518563ffffffff1660e01b81526004016121c59493929190612a7e565b602060405180830381600087803b1580156121df57600080fd5b505af192505050801561220f575060408051601f3d908101601f1916820190925261220c9181019061293c565b60015b612269573d80801561223d576040519150601f19603f3d011682016040523d82523d6000602084013e612242565b606091505b5080516122615760405162461bcd60e51b815260040161077590612ac4565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506117ad565b506001949350505050565b60008083116122c85760405162461bcd60e51b8152600401610775906020808252600490820152637a65726f60e01b604082015260600190565b818311156123035760405162461bcd60e51b81526020600482015260086024820152676f766572666c6f7760c01b6044820152606401610775565b600061230e84612431565b9050600061231d826001612c05565b612328906002612c74565b6123329085612c1d565b90506000612341836002612c74565b61234b9087612d3b565b612356846002612c74565b6123609087612c1d565b61236a9190612d1c565b90506123768183612c05565b9695505050505050565b600061040083141561239f5761239861200083612c05565b91506123f3565b6102008314156123c1576123b7610400612000612c05565b6123989083612c05565b6101008314156123f3576102006123dc610400612000612c05565b6123e69190612c05565b6123f09083612c05565b91505b611abd826001612c05565b6124088383612529565b612415600084848461217a565b6108bd5760405162461bcd60e51b815260040161077590612ac4565b6000600282101561244457506000919050565b600482101561245557506001919050565b600882101561246657506002919050565b601082101561247757506003919050565b602082101561248857506004919050565b604082101561249957506005919050565b60808210156124aa57506006919050565b6101008210156124bc57506007919050565b6102008210156124ce57506008919050565b6104008210156124e057506009919050565b6108008210156124f25750600a919050565b6110008210156125045750600b919050565b6120008210156125165750600c919050565b6140008210156125245750600d5b919050565b6001600160a01b03821661257f5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610775565b6000818152600260205260409020546001600160a01b0316156125e45760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610775565b6125f06000838361212e565b6001600160a01b0382166000908152600360205260408120805460019290612619908490612c05565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600082601f830112612687578081fd5b813567ffffffffffffffff808211156126a2576126a2612e4b565b604051601f8301601f19908116603f011681019082821181831017156126ca576126ca612e4b565b816040528381528660208588010111156126e2578485fd5b8360208701602083013792830160200193909352509392505050565b803560ff8116811461252457600080fd5b600060208284031215612720578081fd5b8135611abd81612e61565b6000806040838503121561273d578081fd5b823561274881612e61565b9150602083013561275881612e61565b809150509250929050565b600080600060608486031215612777578081fd5b833561278281612e61565b9250602084013561279281612e61565b929592945050506040919091013590565b600080600080608085870312156127b8578081fd5b84356127c381612e61565b935060208501356127d381612e61565b925060408501359150606085013567ffffffffffffffff8111156127f5578182fd5b61280187828801612677565b91505092959194509250565b6000806040838503121561281f578182fd5b823561282a81612e61565b915060208301358015158114612758578182fd5b600080600080600060a08688031215612855578081fd5b853561286081612e61565b9450602086013567ffffffffffffffff81111561287b578182fd5b61288788828901612677565b94505060408601359250606086013591506128a4608087016126fe565b90509295509295909350565b600080604083850312156128c2578182fd5b82356128cd81612e61565b946020939093013593505050565b600080600080600060a086880312156128f2578081fd5b85356128fd81612e61565b94506020860135935060408601359250606086013591506128a4608087016126fe565b600060208284031215612931578081fd5b8135611abd81612e76565b60006020828403121561294d578081fd5b8151611abd81612e76565b600060208284031215612969578081fd5b8151611abd81612e61565b600060208284031215612985578081fd5b5035919050565b60006020828403121561299d578081fd5b5051919050565b600081518084526129bc816020860160208601612d52565b601f01601f19169290920160200192915050565b600082516129e2818460208701612d52565b9190910192915050565b600083516129fe818460208801612d52565b60609390931b6bffffffffffffffffffffffff19169190920190815260140192915050565b60008351612a35818460208801612d52565b835190830190612a49818360208801612d52565b01949350505050565b6001600160a01b038481168252831660208201526060604082018190526000906111b4908301846129a4565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612376908301846129a4565b602081526000611abd60208301846129a4565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526022908201527f6f6e6c79206f6e6520746f6b656e20706572206164647265737320616c6c6f77604082015261195960f21b606082015260800190565b6020808252600d908201526c1b1a5b5a5d081c995858da1959609a1b604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b60008219821115612c1857612c18612e1f565b500190565b600082612c2c57612c2c612e35565b500490565b600181815b80851115612c6c578160001904821115612c5257612c52612e1f565b80851615612c5f57918102915b93841c9390800290612c36565b509250929050565b6000611abd8383600082612c8a57506001610668565b81612c9757506000610668565b8160018114612cad5760028114612cb757612cd3565b6001915050610668565b60ff841115612cc857612cc8612e1f565b50506001821b610668565b5060208310610133831016604e8410600b8410161715612cf6575081810a610668565b612d008383612c31565b8060001904821115612d1457612d14612e1f565b029392505050565b6000816000190483118215151615612d3657612d36612e1f565b500290565b600082821015612d4d57612d4d612e1f565b500390565b60005b83811015612d6d578181015183820152602001612d55565b838111156116855750506000910152565b600081612d8d57612d8d612e1f565b506000190190565b600181811c90821680612da957607f821691505b60208210811415612dca57634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415612de457612de4612e1f565b5060010190565b600060ff821660ff811415612e0257612e02612e1f565b60010192915050565b600082612e1a57612e1a612e35565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114610f1757600080fd5b6001600160e01b031981168114610f1757600080fdfe4d6574615472616e73616374696f6e2875696e74323536206e6f6e63652c616464726573732066726f6d2c62797465732066756e6374696f6e5369676e617475726529697066733a2f2f516d53584250635641626e6b637a5a597051786b37374e367a74444636396a6d74315356685762663752355a534a2f5065726d69742861646472657373206c75636b792c75696e74323536206e6f6e636529a2646970667358221220032189cef1d328b4468a6b2508ec856c2a9508bb772a96e4e23961517036806764736f6c63430008040033

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

000000000000000000000000e433e90c5b898819544346e73a501d9e8013dbd80000000000000000000000004f8ee9341181f410bdfb25dc829031cddf8e0e11000000000000000000000000c3e6911c2769ddff74a4e1b7ac859985fe415c73000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1

-----Decoded View---------------
Arg [0] : currencyPunks_ (address): 0xe433E90c5b898819544346e73A501D9E8013DBD8
Arg [1] : permitter_ (address): 0x4F8ee9341181f410BdFb25Dc829031cdDF8E0E11
Arg [2] : fundAddress_ (address): 0xC3E6911C2769DDfF74a4E1b7aC859985fe415C73
Arg [3] : _proxyRegistryAddress (address): 0xa5409ec958C83C3f309868babACA7c86DCB077c1

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 000000000000000000000000e433e90c5b898819544346e73a501d9e8013dbd8
Arg [1] : 0000000000000000000000004f8ee9341181f410bdfb25dc829031cddf8e0e11
Arg [2] : 000000000000000000000000c3e6911c2769ddff74a4e1b7ac859985fe415c73
Arg [3] : 000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1


Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.