ETH Price: $3,358.98 (-1.04%)

Token

Tomb Index Marker (MKR)
 

Overview

Max Total Supply

0 MKR

Holders

552

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Filtered by Token Holder
dddvvv.eth
Balance
1 MKR
0x9097cdff0329382df4a17e86195cc664385656cb
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:
IndexMarker

Compiler Version
v0.8.11+commit.d7f03943

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 6 : IndexMarker.sol
//    .^7??????????????????????????????????????????????????????????????????7!:       .~7????????????????????????????????:
//     :#@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@Y   ^#@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@5
//    ^@@@@@@#BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB&@@@@@B ~@@@@@@#BBBBBBBBBBBBBBBBBBBBBBBBBBBBB#7
//    Y@@@@@#                                                                ~@@@@@@ P@@@@@G
//    .&@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&G~ ~@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@Y :@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&P~
//      J&@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@#.!B@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@B~   .Y&@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@B
//         ...........................B@@@@@5  .7#@@@@@@@#?^....................          ..........................:#@@@@@J
//    ^5YYYJJJJJJJJJJJJJJJJJJJJJJJJJJY&@@@@@?     .J&@@@@@@&5JJJJJJJJJJJJJJJJJJJYYYYYYYYYYJJJJJJJJJJJJJJJJJJJJJJJJJJY@@@@@@!
//    5@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@?         :5&@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@7
//    !GGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGPY~              ^JPGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGPJ^

//  _____________________________________________________ Tomb Series  _____________________________________________________

//       :!JYYYYJ!.                   .JYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY?~.   7YYYYYYYYY?~.              ^JYYYYYYYYY^
//     ~&@@@@@@@@@@#7.                ?@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@P  &@@@@@@@@@@@@B!           :@@@@@@@@@@@5
//    ^@@@@@@BB@@@@@@@B!              ?@@@@@&PGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG&@@@@@# JGGGGGGG#@@@@@@@G^         !PGGGGGGGGG!
//    5@@@@@5  .7#@@@@@@@P^           ?@@@@@P                                .@@@@@@.         .J&@@@@@@&5:
//    Y@@@@@Y     .J&@@@@@@&5:        ?@@@@@G                                 @@@@@@.            :Y&@@@@@@&J.
//    Y@@@@@5        :5&@@@@@@&J.     ?@@@@@G                                 @@@@@@.               ^P@@@@@@@#7.
//    Y@@@@@5           ^P@@@@@@@#7.  J@@@@@G                                 @@@@@@.                  ~G@@@@@@@B!
//    Y@@@@@5              ~B@@@@@@@BG@@@@@@! PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP#@@@@@# JGPPPPPPPP5:        .7#@@@@@@@GPPPPPPG~
//    5@@@@@5                .7#@@@@@@@@@@&! .@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@G  &@@@@@@@@@@&           .J&@@@@@@@@@@@@5
//    ^5YYY5~                   .!JYYYYY7:    Y5YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYJ~.   ?5YYYYYYY5J.              :7JYYYYYYYY5^

//  __________________________________________________ Tomb Index Marker ___________________________________________________

// ________________________________________________ Deployed by TERRAIN 2022 _______________________________________________

// ____________________________________________ All tombs drawn by David Rudnick ___________________________________________

// ____________________________________________ Contract architect: Luke Miles _____________________________________________

// SPDX-License-Identifier: MIT

import "solmate/tokens/ERC721.sol";
import "openzeppelin/utils/cryptography/ECDSA.sol";
import "openzeppelin/utils/Strings.sol";
import "openzeppelin/access/Ownable.sol";

pragma solidity >=0.8.0;

contract IndexMarker is Ownable, ERC721 {
  string public baseURI;
  address public signer;

  bool public isMintingAllowed = false;
  uint256 public mintExpiry = 1672531199; // Sat Dec 31 2022 23:59:59 GMT+0000
  uint256 public royaltyPct = 10;
  uint16 public maxIndex = 3000;

  ERC721 indexContract;

  mapping(bytes32 => uint256) public premintTimes;

  address public royaltyDestination;
  address internal _tombArtist = 0x4a61d76ea05A758c1db9C9b5a5ad22f445A38C46;

  constructor(
    address _signer,
    string memory _baseURI,
    address _indexContract,
    address _royaltyDestination
  ) ERC721("Tomb Index Marker", "MKR") {
    royaltyDestination = _royaltyDestination;
    signer = _signer;
    baseURI = _baseURI;
    indexContract = ERC721(_indexContract);

    // initialize RONIN
    _mint(msg.sender, 0);
  }

  function canMint() public view returns (bool) {
    // solhint-disable-next-line not-rely-on-time
    return isMintingAllowed && mintExpiry > block.timestamp;
  }

  function calculateMintHash(
    uint256 tokenID,
    bytes memory signature,
    address sender
  ) internal pure returns (bytes32) {
    return keccak256(abi.encodePacked(tokenID, signature, sender));
  }

  function premint(bytes32 _hash) public {
    // This function reserve the tokenID for the user calling the key.
    // Prevents against someone checking the mempool for calls to mint.

    // Don't allow overriding the hash, otherwise someone could frontrun
    // by resetting someone's hash value to the current timestamp.
    require(premintTimes[_hash] == 0, "Can't override hash value");

    // solhint-disable-next-line not-rely-on-time
    premintTimes[_hash] = block.timestamp;
  }

  function mint(uint256 tokenID, bytes memory signature) public {
    require(canMint(), "Public minting is not active");
    require(tokenID <= maxIndex, "Index is too high");
    bytes32 mintHash = calculateMintHash(tokenID, signature, msg.sender);
    uint256 premintTime = premintTimes[mintHash];
    require(premintTime != 0, "Token is not preminted");

    require(
      // solhint-disable-next-line not-rely-on-time
      block.timestamp - premintTime > 60,
      "Claim is too new"
    );

    (address recovered, ECDSA.RecoverError error) = ECDSA.tryRecover(
      keccak256(abi.encodePacked(tokenID)),
      signature
    );
    require(
      error == ECDSA.RecoverError.NoError && recovered == signer,
      "Invalid signature"
    );

    _mint(msg.sender, tokenID);
  }

  function creatorClaim(uint256[] calldata tokenIDs, address destination)
    public
    onlyOwner
  {
    require(!canMint(), "Can't admin claim when mint active");
    for (uint256 i = 0; i < tokenIDs.length; i++) {
      require(tokenIDs[i] <= maxIndex, "Index is too high");
      _mint(destination, tokenIDs[i]);
    }
  }

  function updateSigner(address _signer) public onlyOwner {
    signer = _signer;
  }

  function updateRoyaltyPct(uint256 _newRoyaltyPct) public onlyOwner {
    royaltyPct = _newRoyaltyPct;
  }

  function updateRoyaltyDestination(address _newRoyaltyDestination)
    public
    onlyOwner
  {
    royaltyDestination = _newRoyaltyDestination;
  }

  function setBaseURI(string memory _baseURI) public onlyOwner {
    baseURI = _baseURI;
  }

  function setMintInformation(bool _isMintingAllowed, uint256 _mintExpiry)
    public
    onlyOwner
  {
    isMintingAllowed = _isMintingAllowed;
    mintExpiry = _mintExpiry;
  }

  function tokenURI(uint256 tokenID)
    public
    view
    override
    returns (string memory)
  {
    // for the RONIN metadata
    if (tokenID == 0) {
      return indexContract.tokenURI(21);
    }

    return string(abi.encodePacked(baseURI, Strings.toString(tokenID)));
  }

  function royaltyInfo(uint256 _tokenID, uint256 _salePrice)
    external
    view
    returns (address receiver, uint256 royaltyAmount)
  {
    if (royaltyPct < 1) {
      return (address(0), 0);
    }

    receiver = royaltyDestination;

    if (_tokenID == 0) {
      receiver = _tombArtist;
    }

    royaltyAmount = _salePrice / royaltyPct;
  }

  function supportsInterface(bytes4 interfaceId)
    public
    pure
    override(ERC721)
    returns (bool)
  {
    return
      interfaceId == 0x7f5828d0 || // ERC165 Interface ID for ERC173
      interfaceId == 0x80ac58cd || // ERC165 Interface ID for ERC721
      interfaceId == 0x5b5e139f || // ERC165 Interface ID for ERC165
      interfaceId == 0x01ffc9a7 || // ERC165 Interface ID for ERC721Metadata
      interfaceId == 0x2a55205a; // ERC165 Interface ID for https://eips.ethereum.org/EIPS/eip-2981
  }
}

File 2 of 6 : ERC721.sol
// SPDX-License-Identifier: AGPL-3.0-only
pragma solidity >=0.8.0;

/// @notice Modern, minimalist, and gas efficient ERC-721 implementation.
/// @author Solmate (https://github.com/Rari-Capital/solmate/blob/main/src/tokens/ERC721.sol)
/// @dev Note that balanceOf does not revert if passed the zero address, in defiance of the ERC.
abstract contract ERC721 {
    /*///////////////////////////////////////////////////////////////
                                 EVENTS
    //////////////////////////////////////////////////////////////*/

    event Transfer(address indexed from, address indexed to, uint256 indexed id);

    event Approval(address indexed owner, address indexed spender, uint256 indexed id);

    event ApprovalForAll(address indexed owner, address indexed operator, bool approved);

    /*///////////////////////////////////////////////////////////////
                          METADATA STORAGE/LOGIC
    //////////////////////////////////////////////////////////////*/

    string public name;

    string public symbol;

    function tokenURI(uint256 id) public view virtual returns (string memory);

    /*///////////////////////////////////////////////////////////////
                            ERC721 STORAGE                        
    //////////////////////////////////////////////////////////////*/

    mapping(address => uint256) public balanceOf;

    mapping(uint256 => address) public ownerOf;

    mapping(uint256 => address) public getApproved;

    mapping(address => mapping(address => bool)) public isApprovedForAll;

    /*///////////////////////////////////////////////////////////////
                              CONSTRUCTOR
    //////////////////////////////////////////////////////////////*/

    constructor(string memory _name, string memory _symbol) {
        name = _name;
        symbol = _symbol;
    }

    /*///////////////////////////////////////////////////////////////
                              ERC721 LOGIC
    //////////////////////////////////////////////////////////////*/

    function approve(address spender, uint256 id) public virtual {
        address owner = ownerOf[id];

        require(msg.sender == owner || isApprovedForAll[owner][msg.sender], "NOT_AUTHORIZED");

        getApproved[id] = spender;

        emit Approval(owner, spender, id);
    }

    function setApprovalForAll(address operator, bool approved) public virtual {
        isApprovedForAll[msg.sender][operator] = approved;

        emit ApprovalForAll(msg.sender, operator, approved);
    }

    function transferFrom(
        address from,
        address to,
        uint256 id
    ) public virtual {
        require(from == ownerOf[id], "WRONG_FROM");

        require(to != address(0), "INVALID_RECIPIENT");

        require(
            msg.sender == from || msg.sender == getApproved[id] || isApprovedForAll[from][msg.sender],
            "NOT_AUTHORIZED"
        );

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        unchecked {
            balanceOf[from]--;

            balanceOf[to]++;
        }

        ownerOf[id] = to;

        delete getApproved[id];

        emit Transfer(from, to, id);
    }

    function safeTransferFrom(
        address from,
        address to,
        uint256 id
    ) public virtual {
        transferFrom(from, to, id);

        require(
            to.code.length == 0 ||
                ERC721TokenReceiver(to).onERC721Received(msg.sender, from, id, "") ==
                ERC721TokenReceiver.onERC721Received.selector,
            "UNSAFE_RECIPIENT"
        );
    }

    function safeTransferFrom(
        address from,
        address to,
        uint256 id,
        bytes memory data
    ) public virtual {
        transferFrom(from, to, id);

        require(
            to.code.length == 0 ||
                ERC721TokenReceiver(to).onERC721Received(msg.sender, from, id, data) ==
                ERC721TokenReceiver.onERC721Received.selector,
            "UNSAFE_RECIPIENT"
        );
    }

    /*///////////////////////////////////////////////////////////////
                              ERC165 LOGIC
    //////////////////////////////////////////////////////////////*/

    function supportsInterface(bytes4 interfaceId) public pure virtual returns (bool) {
        return
            interfaceId == 0x01ffc9a7 || // ERC165 Interface ID for ERC165
            interfaceId == 0x80ac58cd || // ERC165 Interface ID for ERC721
            interfaceId == 0x5b5e139f; // ERC165 Interface ID for ERC721Metadata
    }

    /*///////////////////////////////////////////////////////////////
                       INTERNAL MINT/BURN LOGIC
    //////////////////////////////////////////////////////////////*/

    function _mint(address to, uint256 id) internal virtual {
        require(to != address(0), "INVALID_RECIPIENT");

        require(ownerOf[id] == address(0), "ALREADY_MINTED");

        // Counter overflow is incredibly unrealistic.
        unchecked {
            balanceOf[to]++;
        }

        ownerOf[id] = to;

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

    function _burn(uint256 id) internal virtual {
        address owner = ownerOf[id];

        require(ownerOf[id] != address(0), "NOT_MINTED");

        // Ownership check above ensures no underflow.
        unchecked {
            balanceOf[owner]--;
        }

        delete ownerOf[id];

        delete getApproved[id];

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

    /*///////////////////////////////////////////////////////////////
                       INTERNAL SAFE MINT LOGIC
    //////////////////////////////////////////////////////////////*/

    function _safeMint(address to, uint256 id) internal virtual {
        _mint(to, id);

        require(
            to.code.length == 0 ||
                ERC721TokenReceiver(to).onERC721Received(msg.sender, address(0), id, "") ==
                ERC721TokenReceiver.onERC721Received.selector,
            "UNSAFE_RECIPIENT"
        );
    }

    function _safeMint(
        address to,
        uint256 id,
        bytes memory data
    ) internal virtual {
        _mint(to, id);

        require(
            to.code.length == 0 ||
                ERC721TokenReceiver(to).onERC721Received(msg.sender, address(0), id, data) ==
                ERC721TokenReceiver.onERC721Received.selector,
            "UNSAFE_RECIPIENT"
        );
    }
}

/// @notice A generic interface for a contract which properly accepts ERC721 tokens.
/// @author Solmate (https://github.com/Rari-Capital/solmate/blob/main/src/tokens/ERC721.sol)
interface ERC721TokenReceiver {
    function onERC721Received(
        address operator,
        address from,
        uint256 id,
        bytes calldata data
    ) external returns (bytes4);
}

File 3 of 6 : ECDSA.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/cryptography/ECDSA.sol)

pragma solidity ^0.8.0;

import "../Strings.sol";

/**
 * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.
 *
 * These functions can be used to verify that a message was signed by the holder
 * of the private keys of a given address.
 */
library ECDSA {
    enum RecoverError {
        NoError,
        InvalidSignature,
        InvalidSignatureLength,
        InvalidSignatureS,
        InvalidSignatureV
    }

    function _throwError(RecoverError error) private pure {
        if (error == RecoverError.NoError) {
            return; // no error: do nothing
        } else if (error == RecoverError.InvalidSignature) {
            revert("ECDSA: invalid signature");
        } else if (error == RecoverError.InvalidSignatureLength) {
            revert("ECDSA: invalid signature length");
        } else if (error == RecoverError.InvalidSignatureS) {
            revert("ECDSA: invalid signature 's' value");
        } else if (error == RecoverError.InvalidSignatureV) {
            revert("ECDSA: invalid signature 'v' value");
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature` or error string. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     *
     * Documentation for signature generation:
     * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js]
     * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers]
     *
     * _Available since v4.3._
     */
    function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) {
        // Check the signature length
        // - case 65: r,s,v signature (standard)
        // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._
        if (signature.length == 65) {
            bytes32 r;
            bytes32 s;
            uint8 v;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            assembly {
                r := mload(add(signature, 0x20))
                s := mload(add(signature, 0x40))
                v := byte(0, mload(add(signature, 0x60)))
            }
            return tryRecover(hash, v, r, s);
        } else if (signature.length == 64) {
            bytes32 r;
            bytes32 vs;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            assembly {
                r := mload(add(signature, 0x20))
                vs := mload(add(signature, 0x40))
            }
            return tryRecover(hash, r, vs);
        } else {
            return (address(0), RecoverError.InvalidSignatureLength);
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature`. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     */
    function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, signature);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately.
     *
     * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures]
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address, RecoverError) {
        bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff);
        uint8 v = uint8((uint256(vs) >> 255) + 27);
        return tryRecover(hash, v, r, s);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately.
     *
     * _Available since v4.2._
     */
    function recover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, r, vs);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `v`,
     * `r` and `s` signature fields separately.
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address, RecoverError) {
        // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature
        // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines
        // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most
        // signatures from current libraries generate a unique signature with an s-value in the lower half order.
        //
        // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value
        // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or
        // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept
        // these malleable signatures as well.
        if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) {
            return (address(0), RecoverError.InvalidSignatureS);
        }
        if (v != 27 && v != 28) {
            return (address(0), RecoverError.InvalidSignatureV);
        }

        // If the signature is valid (and not malleable), return the signer address
        address signer = ecrecover(hash, v, r, s);
        if (signer == address(0)) {
            return (address(0), RecoverError.InvalidSignature);
        }

        return (signer, RecoverError.NoError);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `v`,
     * `r` and `s` signature fields separately.
     */
    function recover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, v, r, s);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from a `hash`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) {
        // 32 is the length in bytes of hash,
        // enforced by the type signature above
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash));
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from `s`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s));
    }

    /**
     * @dev Returns an Ethereum Signed Typed Data, created from a
     * `domainSeparator` and a `structHash`. This produces hash corresponding
     * to the one signed with the
     * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`]
     * JSON-RPC method as part of EIP-712.
     *
     * See {recover}.
     */
    function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash));
    }
}

File 4 of 6 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)

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 5 of 6 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(address(0));
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _transferOwnership(newOwner);
    }

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

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

pragma solidity ^0.8.0;

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

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

Settings
{
  "remappings": [
    "base64/=lib/base64/",
    "ds-test/=lib/ds-test/src/",
    "forge-std/=lib/forge-std/src/",
    "openzeppelin-contracts/=lib/openzeppelin-contracts/",
    "openzeppelin/=lib/openzeppelin-contracts/contracts/",
    "solmate/=lib/solmate/src/",
    "weird-erc20/=lib/solmate/lib/weird-erc20/src/",
    "src/=src/"
  ],
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "metadata": {
    "bytecodeHash": "ipfs"
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "evmVersion": "london",
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_signer","type":"address"},{"internalType":"string","name":"_baseURI","type":"string"},{"internalType":"address","name":"_indexContract","type":"address"},{"internalType":"address","name":"_royaltyDestination","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":true,"internalType":"uint256","name":"id","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":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":"id","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"canMint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIDs","type":"uint256[]"},{"internalType":"address","name":"destination","type":"address"}],"name":"creatorClaim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isMintingAllowed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxIndex","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenID","type":"uint256"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mintExpiry","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_hash","type":"bytes32"}],"name":"premint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"premintTimes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"royaltyDestination","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenID","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"royaltyAmount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"royaltyPct","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":"id","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":"id","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":"string","name":"_baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_isMintingAllowed","type":"bool"},{"internalType":"uint256","name":"_mintExpiry","type":"uint256"}],"name":"setMintInformation","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"signer","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"pure","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":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newRoyaltyDestination","type":"address"}],"name":"updateRoyaltyDestination","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newRoyaltyPct","type":"uint256"}],"name":"updateRoyaltyPct","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_signer","type":"address"}],"name":"updateSigner","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526008805460ff60a01b191690556363b0ccff600955600a8055600b805461ffff1916610bb8179055600e80546001600160a01b031916734a61d76ea05a758c1db9c9b5a5ad22f445a38c461790553480156200005f57600080fd5b50604051620023ab380380620023ab8339810160408190526200008291620003cf565b604051806040016040528060118152602001702a37b6b11024b73232bc1026b0b935b2b960791b8152506040518060400160405280600381526020016226a5a960e91b815250620000e2620000dc6200018f60201b60201c565b62000193565b8151620000f7906001906020850190620002f6565b5080516200010d906002906020840190620002f6565b5050600d80546001600160a01b038085166001600160a01b031992831617909255600880549288169290911691909117905550825162000155906007906020860190620002f6565b50600b805462010000600160b01b031916620100006001600160a01b0385160217905562000185336000620001e3565b5050505062000524565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b038216620002335760405162461bcd60e51b81526020600482015260116024820152701253959053125117d49150d25412515395607a1b60448201526064015b60405180910390fd5b6000818152600460205260409020546001600160a01b0316156200028b5760405162461bcd60e51b815260206004820152600e60248201526d1053149150511657d3525395115160921b60448201526064016200022a565b6001600160a01b038216600081815260036020908152604080832080546001019055848352600490915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b8280546200030490620004e7565b90600052602060002090601f01602090048101928262000328576000855562000373565b82601f106200034357805160ff191683800117855562000373565b8280016001018555821562000373579182015b828111156200037357825182559160200191906001019062000356565b506200038192915062000385565b5090565b5b8082111562000381576000815560010162000386565b80516001600160a01b0381168114620003b457600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b60008060008060808587031215620003e657600080fd5b620003f1856200039c565b602086810151919550906001600160401b03808211156200041157600080fd5b818801915088601f8301126200042657600080fd5b8151818111156200043b576200043b620003b9565b604051601f8201601f19908116603f01168101908382118183101715620004665762000466620003b9565b816040528281528b868487010111156200047f57600080fd5b600093505b82841015620004a3578484018601518185018701529285019262000484565b82841115620004b55760008684830101525b809850505050505050620004cc604086016200039c565b9150620004dc606086016200039c565b905092959194509250565b600181811c90821680620004fc57607f821691505b602082108114156200051e57634e487b7160e01b600052602260045260246000fd5b50919050565b611e7780620005346000396000f3fe608060405234801561001057600080fd5b50600436106102065760003560e01c80637ffef8971161011a578063af25fd1a116100ad578063c87b56dd1161007c578063c87b56dd146104a3578063db7fd408146104b6578063e29bfaa4146104c9578063e985e9c5146104dc578063f2fde38b1461050a57600080fd5b8063af25fd1a14610462578063b88d4fde14610475578063beb9716d14610488578063c0a1596c1461049057600080fd5b8063a22cb465116100e9578063a22cb46514610416578063a4b464ea14610429578063a7ecd37e1461043c578063aa8a19fd1461044f57600080fd5b80637ffef897146103ca5780638af3357b146103ea5780638da5cb5b146103fd57806395d89b411461040e57600080fd5b80632b4818831161019d57806355f804b31161016c57806355f804b31461035e5780636352211e146103715780636c0360eb1461039a57806370a08231146103a2578063715018a6146103c257600080fd5b80632b4818831461030d5780632ca869bf146103215780633bf9d1b41461034257806342842e0e1461034b57600080fd5b8063238ac933116101d9578063238ac9331461029e57806323b872dd146102b1578063253b9b50146102c45780632a55205a146102db57600080fd5b806301ffc9a71461020b57806306fdde0314610233578063081812fc14610248578063095ea7b314610289575b600080fd5b61021e610219366004611708565b61051d565b60405190151581526020015b60405180910390f35b61023b6105a5565b60405161022a9190611784565b610271610256366004611797565b6005602052600090815260409020546001600160a01b031681565b6040516001600160a01b03909116815260200161022a565b61029c6102973660046117cc565b610633565b005b600854610271906001600160a01b031681565b61029c6102bf3660046117f6565b61071a565b6102cd60095481565b60405190815260200161022a565b6102ee6102e9366004611832565b6108e1565b604080516001600160a01b03909316835260208301919091520161022a565b60085461021e90600160a01b900460ff1681565b600b5461032f9061ffff1681565b60405161ffff909116815260200161022a565b6102cd600a5481565b61029c6103593660046117f6565b610933565b61029c61036c366004611901565b610a2b565b61027161037f366004611797565b6004602052600090815260409020546001600160a01b031681565b61023b610a6c565b6102cd6103b036600461194a565b60036020526000908152604090205481565b61029c610a79565b6102cd6103d8366004611797565b600c6020526000908152604090205481565b61029c6103f8366004611965565b610aaf565b6000546001600160a01b0316610271565b61023b610be0565b61029c6104243660046119f9565b610bed565b61029c61043736600461194a565b610c59565b61029c61044a36600461194a565b610ca5565b61029c61045d366004611a23565b610cf1565b61029c610470366004611797565b610d3d565b61029c610483366004611a5f565b610dac565b61021e610e8b565b61029c61049e366004611797565b610ead565b61023b6104b1366004611797565b610edc565b61029c6104c4366004611ac7565b610f8b565b600d54610271906001600160a01b031681565b61021e6104ea366004611b0e565b600660209081526000928352604080842090915290825290205460ff1681565b61029c61051836600461194a565b611194565b60006307f5828d60e41b6001600160e01b03198316148061054e57506380ac58cd60e01b6001600160e01b03198316145b806105695750635b5e139f60e01b6001600160e01b03198316145b8061058457506301ffc9a760e01b6001600160e01b03198316145b8061059f575063152a902d60e11b6001600160e01b03198316145b92915050565b600180546105b290611b38565b80601f01602080910402602001604051908101604052809291908181526020018280546105de90611b38565b801561062b5780601f106106005761010080835404028352916020019161062b565b820191906000526020600020905b81548152906001019060200180831161060e57829003601f168201915b505050505081565b6000818152600460205260409020546001600160a01b03163381148061067c57506001600160a01b038116600090815260066020908152604080832033845290915290205460ff165b6106be5760405162461bcd60e51b815260206004820152600e60248201526d1393d517d055551213d49256915160921b60448201526064015b60405180910390fd5b60008281526005602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000818152600460205260409020546001600160a01b038481169116146107705760405162461bcd60e51b815260206004820152600a60248201526957524f4e475f46524f4d60b01b60448201526064016106b5565b6001600160a01b0382166107ba5760405162461bcd60e51b81526020600482015260116024820152701253959053125117d49150d25412515395607a1b60448201526064016106b5565b336001600160a01b03841614806107e757506000818152600560205260409020546001600160a01b031633145b8061081557506001600160a01b038316600090815260066020908152604080832033845290915290205460ff165b6108525760405162461bcd60e51b815260206004820152600e60248201526d1393d517d055551213d49256915160921b60448201526064016106b5565b6001600160a01b0380841660008181526003602090815260408083208054600019019055938616808352848320805460010190558583526004825284832080546001600160a01b03199081168317909155600590925284832080549092169091559251849392917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6000806001600a5410156108fa5750600090508061092c565b600d546001600160a01b031691508361091c57600e546001600160a01b031691505b600a546109299084611b9f565b90505b9250929050565b61093e83838361071a565b6001600160a01b0382163b15806109e75750604051630a85bd0160e11b8082523360048301526001600160a01b03858116602484015260448301849052608060648401526000608484015290919084169063150b7a029060a4016020604051808303816000875af11580156109b7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109db9190611bb3565b6001600160e01b031916145b610a265760405162461bcd60e51b815260206004820152601060248201526f155394d0519157d49150d2541251539560821b60448201526064016106b5565b505050565b6000546001600160a01b03163314610a555760405162461bcd60e51b81526004016106b590611bd0565b8051610a68906007906020840190611659565b5050565b600780546105b290611b38565b6000546001600160a01b03163314610aa35760405162461bcd60e51b81526004016106b590611bd0565b610aad600061122f565b565b6000546001600160a01b03163314610ad95760405162461bcd60e51b81526004016106b590611bd0565b610ae1610e8b565b15610b395760405162461bcd60e51b815260206004820152602260248201527f43616e27742061646d696e20636c61696d207768656e206d696e742061637469604482015261766560f01b60648201526084016106b5565b60005b82811015610bda57600b5461ffff16848483818110610b5d57610b5d611c05565b905060200201351115610ba65760405162461bcd60e51b8152602060048201526011602482015270092dcc8caf040d2e640e8dede40d0d2ced607b1b60448201526064016106b5565b610bc882858584818110610bbc57610bbc611c05565b9050602002013561127f565b80610bd281611c1b565b915050610b3c565b50505050565b600280546105b290611b38565b3360008181526006602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6000546001600160a01b03163314610c835760405162461bcd60e51b81526004016106b590611bd0565b600d80546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b03163314610ccf5760405162461bcd60e51b81526004016106b590611bd0565b600880546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b03163314610d1b5760405162461bcd60e51b81526004016106b590611bd0565b60088054921515600160a01b0260ff60a01b1990931692909217909155600955565b6000818152600c602052604090205415610d995760405162461bcd60e51b815260206004820152601960248201527f43616e2774206f7665727269646520686173682076616c75650000000000000060448201526064016106b5565b6000908152600c60205260409020429055565b610db784848461071a565b6001600160a01b0383163b1580610e4c5750604051630a85bd0160e11b808252906001600160a01b0385169063150b7a0290610dfd903390899088908890600401611c36565b6020604051808303816000875af1158015610e1c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e409190611bb3565b6001600160e01b031916145b610bda5760405162461bcd60e51b815260206004820152601060248201526f155394d0519157d49150d2541251539560821b60448201526064016106b5565b600854600090600160a01b900460ff168015610ea8575042600954115b905090565b6000546001600160a01b03163314610ed75760405162461bcd60e51b81526004016106b590611bd0565b600a55565b606081610f5957600b5460405163c87b56dd60e01b815260156004820152620100009091046001600160a01b03169063c87b56dd90602401600060405180830381865afa158015610f31573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261059f9190810190611c73565b6007610f648361138a565b604051602001610f75929190611d06565b6040516020818303038152906040529050919050565b610f93610e8b565b610fdf5760405162461bcd60e51b815260206004820152601c60248201527f5075626c6963206d696e74696e67206973206e6f74206163746976650000000060448201526064016106b5565b600b5461ffff168211156110295760405162461bcd60e51b8152602060048201526011602482015270092dcc8caf040d2e640e8dede40d0d2ced607b1b60448201526064016106b5565b6000611036838333611490565b6000818152600c60205260409020549091508061108e5760405162461bcd60e51b8152602060048201526016602482015275151bdad95b881a5cc81b9bdd081c1c995b5a5b9d195960521b60448201526064016106b5565b603c61109a8242611da4565b116110da5760405162461bcd60e51b815260206004820152601060248201526f436c61696d20697320746f6f206e657760801b60448201526064016106b5565b60008061110f866040516020016110f391815260200190565b60405160208183030381529060405280519060200120866114c6565b9092509050600081600481111561112857611128611dbb565b14801561114257506008546001600160a01b038381169116145b6111825760405162461bcd60e51b8152602060048201526011602482015270496e76616c6964207369676e617475726560781b60448201526064016106b5565b61118c338761127f565b505050505050565b6000546001600160a01b031633146111be5760405162461bcd60e51b81526004016106b590611bd0565b6001600160a01b0381166112235760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016106b5565b61122c8161122f565b50565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b0382166112c95760405162461bcd60e51b81526020600482015260116024820152701253959053125117d49150d25412515395607a1b60448201526064016106b5565b6000818152600460205260409020546001600160a01b03161561131f5760405162461bcd60e51b815260206004820152600e60248201526d1053149150511657d3525395115160921b60448201526064016106b5565b6001600160a01b038216600081815260036020908152604080832080546001019055848352600490915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6060816113ae5750506040805180820190915260018152600360fc1b602082015290565b8160005b81156113d857806113c281611c1b565b91506113d19050600a83611b9f565b91506113b2565b60008167ffffffffffffffff8111156113f3576113f3611854565b6040519080825280601f01601f19166020018201604052801561141d576020820181803683370190505b5090505b841561148857611432600183611da4565b915061143f600a86611dd1565b61144a906030611de5565b60f81b81838151811061145f5761145f611c05565b60200101906001600160f81b031916908160001a905350611481600a86611b9f565b9450611421565b949350505050565b60008383836040516020016114a793929190611dfd565b6040516020818303038152906040528051906020012090509392505050565b6000808251604114156114fd5760208301516040840151606085015160001a6114f187828585611533565b9450945050505061092c565b825160401415611527576020830151604084015161151c868383611620565b93509350505061092c565b5060009050600261092c565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a083111561156a5750600090506003611617565b8460ff16601b1415801561158257508460ff16601c14155b156115935750600090506004611617565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa1580156115e7573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b03811661161057600060019250925050611617565b9150600090505b94509492505050565b6000806001600160ff1b0383168161163d60ff86901c601b611de5565b905061164b87828885611533565b935093505050935093915050565b82805461166590611b38565b90600052602060002090601f01602090048101928261168757600085556116cd565b82601f106116a057805160ff19168380011785556116cd565b828001600101855582156116cd579182015b828111156116cd5782518255916020019190600101906116b2565b506116d99291506116dd565b5090565b5b808211156116d957600081556001016116de565b6001600160e01b03198116811461122c57600080fd5b60006020828403121561171a57600080fd5b8135611725816116f2565b9392505050565b60005b8381101561174757818101518382015260200161172f565b83811115610bda5750506000910152565b6000815180845261177081602086016020860161172c565b601f01601f19169290920160200192915050565b6020815260006117256020830184611758565b6000602082840312156117a957600080fd5b5035919050565b80356001600160a01b03811681146117c757600080fd5b919050565b600080604083850312156117df57600080fd5b6117e8836117b0565b946020939093013593505050565b60008060006060848603121561180b57600080fd5b611814846117b0565b9250611822602085016117b0565b9150604084013590509250925092565b6000806040838503121561184557600080fd5b50508035926020909101359150565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561189357611893611854565b604052919050565b600067ffffffffffffffff8211156118b5576118b5611854565b50601f01601f191660200190565b60006118d66118d18461189b565b61186a565b90508281528383830111156118ea57600080fd5b828260208301376000602084830101529392505050565b60006020828403121561191357600080fd5b813567ffffffffffffffff81111561192a57600080fd5b8201601f8101841361193b57600080fd5b611488848235602084016118c3565b60006020828403121561195c57600080fd5b611725826117b0565b60008060006040848603121561197a57600080fd5b833567ffffffffffffffff8082111561199257600080fd5b818601915086601f8301126119a657600080fd5b8135818111156119b557600080fd5b8760208260051b85010111156119ca57600080fd5b6020928301955093506119e091860190506117b0565b90509250925092565b803580151581146117c757600080fd5b60008060408385031215611a0c57600080fd5b611a15836117b0565b9150610929602084016119e9565b60008060408385031215611a3657600080fd5b6117e8836119e9565b600082601f830112611a5057600080fd5b611725838335602085016118c3565b60008060008060808587031215611a7557600080fd5b611a7e856117b0565b9350611a8c602086016117b0565b925060408501359150606085013567ffffffffffffffff811115611aaf57600080fd5b611abb87828801611a3f565b91505092959194509250565b60008060408385031215611ada57600080fd5b82359150602083013567ffffffffffffffff811115611af857600080fd5b611b0485828601611a3f565b9150509250929050565b60008060408385031215611b2157600080fd5b611b2a836117b0565b9150610929602084016117b0565b600181811c90821680611b4c57607f821691505b60208210811415611b6d57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600082611bae57611bae611b73565b500490565b600060208284031215611bc557600080fd5b8151611725816116f2565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052603260045260246000fd5b6000600019821415611c2f57611c2f611b89565b5060010190565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611c6990830184611758565b9695505050505050565b600060208284031215611c8557600080fd5b815167ffffffffffffffff811115611c9c57600080fd5b8201601f81018413611cad57600080fd5b8051611cbb6118d18261189b565b818152856020838501011115611cd057600080fd5b611ce182602083016020860161172c565b95945050505050565b60008151611cfc81856020860161172c565b9290920192915050565b600080845481600182811c915080831680611d2257607f831692505b6020808410821415611d4257634e487b7160e01b86526022600452602486fd5b818015611d565760018114611d6757611d94565b60ff19861689528489019650611d94565b60008b81526020902060005b86811015611d8c5781548b820152908501908301611d73565b505084890196505b505050505050611ce18185611cea565b600082821015611db657611db6611b89565b500390565b634e487b7160e01b600052602160045260246000fd5b600082611de057611de0611b73565b500690565b60008219821115611df857611df8611b89565b500190565b83815260008351611e1581602085016020880161172c565b60609390931b6bffffffffffffffffffffffff191660209290930191820192909252603401939250505056fea264697066735822122008480e82d650640cde3d5de4dd69ada0ac19c360991fa638ff9d79586c7cddc264736f6c634300080b003300000000000000000000000078fb908cadd3058ae7a538fc71526ebdb9419ba40000000000000000000000000000000000000000000000000000000000000080000000000000000000000000185e8a578bf6896e3988e7c38a6a23889ca2af9f0000000000000000000000006b85e339b3a4a5ac1c9518a0bffe613e6560fb730000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d5157654d364e75383378596536527751546b746f7875547577725332724b486252384242614b4833434a41502f00000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106102065760003560e01c80637ffef8971161011a578063af25fd1a116100ad578063c87b56dd1161007c578063c87b56dd146104a3578063db7fd408146104b6578063e29bfaa4146104c9578063e985e9c5146104dc578063f2fde38b1461050a57600080fd5b8063af25fd1a14610462578063b88d4fde14610475578063beb9716d14610488578063c0a1596c1461049057600080fd5b8063a22cb465116100e9578063a22cb46514610416578063a4b464ea14610429578063a7ecd37e1461043c578063aa8a19fd1461044f57600080fd5b80637ffef897146103ca5780638af3357b146103ea5780638da5cb5b146103fd57806395d89b411461040e57600080fd5b80632b4818831161019d57806355f804b31161016c57806355f804b31461035e5780636352211e146103715780636c0360eb1461039a57806370a08231146103a2578063715018a6146103c257600080fd5b80632b4818831461030d5780632ca869bf146103215780633bf9d1b41461034257806342842e0e1461034b57600080fd5b8063238ac933116101d9578063238ac9331461029e57806323b872dd146102b1578063253b9b50146102c45780632a55205a146102db57600080fd5b806301ffc9a71461020b57806306fdde0314610233578063081812fc14610248578063095ea7b314610289575b600080fd5b61021e610219366004611708565b61051d565b60405190151581526020015b60405180910390f35b61023b6105a5565b60405161022a9190611784565b610271610256366004611797565b6005602052600090815260409020546001600160a01b031681565b6040516001600160a01b03909116815260200161022a565b61029c6102973660046117cc565b610633565b005b600854610271906001600160a01b031681565b61029c6102bf3660046117f6565b61071a565b6102cd60095481565b60405190815260200161022a565b6102ee6102e9366004611832565b6108e1565b604080516001600160a01b03909316835260208301919091520161022a565b60085461021e90600160a01b900460ff1681565b600b5461032f9061ffff1681565b60405161ffff909116815260200161022a565b6102cd600a5481565b61029c6103593660046117f6565b610933565b61029c61036c366004611901565b610a2b565b61027161037f366004611797565b6004602052600090815260409020546001600160a01b031681565b61023b610a6c565b6102cd6103b036600461194a565b60036020526000908152604090205481565b61029c610a79565b6102cd6103d8366004611797565b600c6020526000908152604090205481565b61029c6103f8366004611965565b610aaf565b6000546001600160a01b0316610271565b61023b610be0565b61029c6104243660046119f9565b610bed565b61029c61043736600461194a565b610c59565b61029c61044a36600461194a565b610ca5565b61029c61045d366004611a23565b610cf1565b61029c610470366004611797565b610d3d565b61029c610483366004611a5f565b610dac565b61021e610e8b565b61029c61049e366004611797565b610ead565b61023b6104b1366004611797565b610edc565b61029c6104c4366004611ac7565b610f8b565b600d54610271906001600160a01b031681565b61021e6104ea366004611b0e565b600660209081526000928352604080842090915290825290205460ff1681565b61029c61051836600461194a565b611194565b60006307f5828d60e41b6001600160e01b03198316148061054e57506380ac58cd60e01b6001600160e01b03198316145b806105695750635b5e139f60e01b6001600160e01b03198316145b8061058457506301ffc9a760e01b6001600160e01b03198316145b8061059f575063152a902d60e11b6001600160e01b03198316145b92915050565b600180546105b290611b38565b80601f01602080910402602001604051908101604052809291908181526020018280546105de90611b38565b801561062b5780601f106106005761010080835404028352916020019161062b565b820191906000526020600020905b81548152906001019060200180831161060e57829003601f168201915b505050505081565b6000818152600460205260409020546001600160a01b03163381148061067c57506001600160a01b038116600090815260066020908152604080832033845290915290205460ff165b6106be5760405162461bcd60e51b815260206004820152600e60248201526d1393d517d055551213d49256915160921b60448201526064015b60405180910390fd5b60008281526005602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000818152600460205260409020546001600160a01b038481169116146107705760405162461bcd60e51b815260206004820152600a60248201526957524f4e475f46524f4d60b01b60448201526064016106b5565b6001600160a01b0382166107ba5760405162461bcd60e51b81526020600482015260116024820152701253959053125117d49150d25412515395607a1b60448201526064016106b5565b336001600160a01b03841614806107e757506000818152600560205260409020546001600160a01b031633145b8061081557506001600160a01b038316600090815260066020908152604080832033845290915290205460ff165b6108525760405162461bcd60e51b815260206004820152600e60248201526d1393d517d055551213d49256915160921b60448201526064016106b5565b6001600160a01b0380841660008181526003602090815260408083208054600019019055938616808352848320805460010190558583526004825284832080546001600160a01b03199081168317909155600590925284832080549092169091559251849392917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6000806001600a5410156108fa5750600090508061092c565b600d546001600160a01b031691508361091c57600e546001600160a01b031691505b600a546109299084611b9f565b90505b9250929050565b61093e83838361071a565b6001600160a01b0382163b15806109e75750604051630a85bd0160e11b8082523360048301526001600160a01b03858116602484015260448301849052608060648401526000608484015290919084169063150b7a029060a4016020604051808303816000875af11580156109b7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109db9190611bb3565b6001600160e01b031916145b610a265760405162461bcd60e51b815260206004820152601060248201526f155394d0519157d49150d2541251539560821b60448201526064016106b5565b505050565b6000546001600160a01b03163314610a555760405162461bcd60e51b81526004016106b590611bd0565b8051610a68906007906020840190611659565b5050565b600780546105b290611b38565b6000546001600160a01b03163314610aa35760405162461bcd60e51b81526004016106b590611bd0565b610aad600061122f565b565b6000546001600160a01b03163314610ad95760405162461bcd60e51b81526004016106b590611bd0565b610ae1610e8b565b15610b395760405162461bcd60e51b815260206004820152602260248201527f43616e27742061646d696e20636c61696d207768656e206d696e742061637469604482015261766560f01b60648201526084016106b5565b60005b82811015610bda57600b5461ffff16848483818110610b5d57610b5d611c05565b905060200201351115610ba65760405162461bcd60e51b8152602060048201526011602482015270092dcc8caf040d2e640e8dede40d0d2ced607b1b60448201526064016106b5565b610bc882858584818110610bbc57610bbc611c05565b9050602002013561127f565b80610bd281611c1b565b915050610b3c565b50505050565b600280546105b290611b38565b3360008181526006602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6000546001600160a01b03163314610c835760405162461bcd60e51b81526004016106b590611bd0565b600d80546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b03163314610ccf5760405162461bcd60e51b81526004016106b590611bd0565b600880546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b03163314610d1b5760405162461bcd60e51b81526004016106b590611bd0565b60088054921515600160a01b0260ff60a01b1990931692909217909155600955565b6000818152600c602052604090205415610d995760405162461bcd60e51b815260206004820152601960248201527f43616e2774206f7665727269646520686173682076616c75650000000000000060448201526064016106b5565b6000908152600c60205260409020429055565b610db784848461071a565b6001600160a01b0383163b1580610e4c5750604051630a85bd0160e11b808252906001600160a01b0385169063150b7a0290610dfd903390899088908890600401611c36565b6020604051808303816000875af1158015610e1c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e409190611bb3565b6001600160e01b031916145b610bda5760405162461bcd60e51b815260206004820152601060248201526f155394d0519157d49150d2541251539560821b60448201526064016106b5565b600854600090600160a01b900460ff168015610ea8575042600954115b905090565b6000546001600160a01b03163314610ed75760405162461bcd60e51b81526004016106b590611bd0565b600a55565b606081610f5957600b5460405163c87b56dd60e01b815260156004820152620100009091046001600160a01b03169063c87b56dd90602401600060405180830381865afa158015610f31573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261059f9190810190611c73565b6007610f648361138a565b604051602001610f75929190611d06565b6040516020818303038152906040529050919050565b610f93610e8b565b610fdf5760405162461bcd60e51b815260206004820152601c60248201527f5075626c6963206d696e74696e67206973206e6f74206163746976650000000060448201526064016106b5565b600b5461ffff168211156110295760405162461bcd60e51b8152602060048201526011602482015270092dcc8caf040d2e640e8dede40d0d2ced607b1b60448201526064016106b5565b6000611036838333611490565b6000818152600c60205260409020549091508061108e5760405162461bcd60e51b8152602060048201526016602482015275151bdad95b881a5cc81b9bdd081c1c995b5a5b9d195960521b60448201526064016106b5565b603c61109a8242611da4565b116110da5760405162461bcd60e51b815260206004820152601060248201526f436c61696d20697320746f6f206e657760801b60448201526064016106b5565b60008061110f866040516020016110f391815260200190565b60405160208183030381529060405280519060200120866114c6565b9092509050600081600481111561112857611128611dbb565b14801561114257506008546001600160a01b038381169116145b6111825760405162461bcd60e51b8152602060048201526011602482015270496e76616c6964207369676e617475726560781b60448201526064016106b5565b61118c338761127f565b505050505050565b6000546001600160a01b031633146111be5760405162461bcd60e51b81526004016106b590611bd0565b6001600160a01b0381166112235760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016106b5565b61122c8161122f565b50565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b0382166112c95760405162461bcd60e51b81526020600482015260116024820152701253959053125117d49150d25412515395607a1b60448201526064016106b5565b6000818152600460205260409020546001600160a01b03161561131f5760405162461bcd60e51b815260206004820152600e60248201526d1053149150511657d3525395115160921b60448201526064016106b5565b6001600160a01b038216600081815260036020908152604080832080546001019055848352600490915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6060816113ae5750506040805180820190915260018152600360fc1b602082015290565b8160005b81156113d857806113c281611c1b565b91506113d19050600a83611b9f565b91506113b2565b60008167ffffffffffffffff8111156113f3576113f3611854565b6040519080825280601f01601f19166020018201604052801561141d576020820181803683370190505b5090505b841561148857611432600183611da4565b915061143f600a86611dd1565b61144a906030611de5565b60f81b81838151811061145f5761145f611c05565b60200101906001600160f81b031916908160001a905350611481600a86611b9f565b9450611421565b949350505050565b60008383836040516020016114a793929190611dfd565b6040516020818303038152906040528051906020012090509392505050565b6000808251604114156114fd5760208301516040840151606085015160001a6114f187828585611533565b9450945050505061092c565b825160401415611527576020830151604084015161151c868383611620565b93509350505061092c565b5060009050600261092c565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a083111561156a5750600090506003611617565b8460ff16601b1415801561158257508460ff16601c14155b156115935750600090506004611617565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa1580156115e7573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b03811661161057600060019250925050611617565b9150600090505b94509492505050565b6000806001600160ff1b0383168161163d60ff86901c601b611de5565b905061164b87828885611533565b935093505050935093915050565b82805461166590611b38565b90600052602060002090601f01602090048101928261168757600085556116cd565b82601f106116a057805160ff19168380011785556116cd565b828001600101855582156116cd579182015b828111156116cd5782518255916020019190600101906116b2565b506116d99291506116dd565b5090565b5b808211156116d957600081556001016116de565b6001600160e01b03198116811461122c57600080fd5b60006020828403121561171a57600080fd5b8135611725816116f2565b9392505050565b60005b8381101561174757818101518382015260200161172f565b83811115610bda5750506000910152565b6000815180845261177081602086016020860161172c565b601f01601f19169290920160200192915050565b6020815260006117256020830184611758565b6000602082840312156117a957600080fd5b5035919050565b80356001600160a01b03811681146117c757600080fd5b919050565b600080604083850312156117df57600080fd5b6117e8836117b0565b946020939093013593505050565b60008060006060848603121561180b57600080fd5b611814846117b0565b9250611822602085016117b0565b9150604084013590509250925092565b6000806040838503121561184557600080fd5b50508035926020909101359150565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561189357611893611854565b604052919050565b600067ffffffffffffffff8211156118b5576118b5611854565b50601f01601f191660200190565b60006118d66118d18461189b565b61186a565b90508281528383830111156118ea57600080fd5b828260208301376000602084830101529392505050565b60006020828403121561191357600080fd5b813567ffffffffffffffff81111561192a57600080fd5b8201601f8101841361193b57600080fd5b611488848235602084016118c3565b60006020828403121561195c57600080fd5b611725826117b0565b60008060006040848603121561197a57600080fd5b833567ffffffffffffffff8082111561199257600080fd5b818601915086601f8301126119a657600080fd5b8135818111156119b557600080fd5b8760208260051b85010111156119ca57600080fd5b6020928301955093506119e091860190506117b0565b90509250925092565b803580151581146117c757600080fd5b60008060408385031215611a0c57600080fd5b611a15836117b0565b9150610929602084016119e9565b60008060408385031215611a3657600080fd5b6117e8836119e9565b600082601f830112611a5057600080fd5b611725838335602085016118c3565b60008060008060808587031215611a7557600080fd5b611a7e856117b0565b9350611a8c602086016117b0565b925060408501359150606085013567ffffffffffffffff811115611aaf57600080fd5b611abb87828801611a3f565b91505092959194509250565b60008060408385031215611ada57600080fd5b82359150602083013567ffffffffffffffff811115611af857600080fd5b611b0485828601611a3f565b9150509250929050565b60008060408385031215611b2157600080fd5b611b2a836117b0565b9150610929602084016117b0565b600181811c90821680611b4c57607f821691505b60208210811415611b6d57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600082611bae57611bae611b73565b500490565b600060208284031215611bc557600080fd5b8151611725816116f2565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052603260045260246000fd5b6000600019821415611c2f57611c2f611b89565b5060010190565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611c6990830184611758565b9695505050505050565b600060208284031215611c8557600080fd5b815167ffffffffffffffff811115611c9c57600080fd5b8201601f81018413611cad57600080fd5b8051611cbb6118d18261189b565b818152856020838501011115611cd057600080fd5b611ce182602083016020860161172c565b95945050505050565b60008151611cfc81856020860161172c565b9290920192915050565b600080845481600182811c915080831680611d2257607f831692505b6020808410821415611d4257634e487b7160e01b86526022600452602486fd5b818015611d565760018114611d6757611d94565b60ff19861689528489019650611d94565b60008b81526020902060005b86811015611d8c5781548b820152908501908301611d73565b505084890196505b505050505050611ce18185611cea565b600082821015611db657611db6611b89565b500390565b634e487b7160e01b600052602160045260246000fd5b600082611de057611de0611b73565b500690565b60008219821115611df857611df8611b89565b500190565b83815260008351611e1581602085016020880161172c565b60609390931b6bffffffffffffffffffffffff191660209290930191820192909252603401939250505056fea264697066735822122008480e82d650640cde3d5de4dd69ada0ac19c360991fa638ff9d79586c7cddc264736f6c634300080b0033

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

00000000000000000000000078fb908cadd3058ae7a538fc71526ebdb9419ba40000000000000000000000000000000000000000000000000000000000000080000000000000000000000000185e8a578bf6896e3988e7c38a6a23889ca2af9f0000000000000000000000006b85e339b3a4a5ac1c9518a0bffe613e6560fb730000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d5157654d364e75383378596536527751546b746f7875547577725332724b486252384242614b4833434a41502f00000000000000000000

-----Decoded View---------------
Arg [0] : _signer (address): 0x78fb908CaDD3058AE7A538Fc71526EbdB9419Ba4
Arg [1] : _baseURI (string): ipfs://QmQWeM6Nu83xYe6RwQTktoxuTuwrS2rKHbR8BBaKH3CJAP/
Arg [2] : _indexContract (address): 0x185E8a578bF6896e3988e7c38a6A23889CA2aF9f
Arg [3] : _royaltyDestination (address): 0x6B85e339B3A4A5AC1C9518A0bFFE613E6560fb73

-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 00000000000000000000000078fb908cadd3058ae7a538fc71526ebdb9419ba4
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [2] : 000000000000000000000000185e8a578bf6896e3988e7c38a6a23889ca2af9f
Arg [3] : 0000000000000000000000006b85e339b3a4a5ac1c9518a0bffe613e6560fb73
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [5] : 697066733a2f2f516d5157654d364e75383378596536527751546b746f787554
Arg [6] : 7577725332724b486252384242614b4833434a41502f00000000000000000000


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.