ETH Price: $3,025.27 (+3.21%)
Gas: 2 Gwei

Token

JAWS NFT (JAWS)
 

Overview

Max Total Supply

283 JAWS

Holders

131

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Balance
1 JAWS
0x96e2af1017bbd6ce3de8f077d0d06ec7bdbfd694
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:
JAWS

Compiler Version
v0.8.11+commit.d7f03943

Optimization Enabled:
Yes with 300 runs

Other Settings:
default evmVersion
File 1 of 20 : JAWS.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;

/*

JAWS NFT

https://jawsbtc.com/
https://twitter.com/JAWS_NFT
https://discord.gg/E6DAwFqfnx

High Level Overview:

'saleState()' indicates where we are in the mint process.  Check this variable and
the 'State' enum to find current status.

During the WhitelistSale, use 'mintWhitelist()' to mint tokens. This function 
requires a 'MintData' object (as parameter array in JavaScript), and a valid
MerkleProof array for the wallet of the msg.sender.

During the PublicSale, use 'mint()' to mint tokens. This function only requires
a 'MintData' object.

MintData example: mint([STYLE_JAWS,GENDER_FEMALE,1], overrides) 

The UI can use 'adminlist()' to enable or disable admin-specific
visual elements. The contract enforces access restrictions regardless of UI.

'getPrice()' 'MintData', and returns the unit price for that style.

*/

/// ----------------------------------------------------------------------------
/// Imports
/// ----------------------------------------------------------------------------
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/interfaces/IERC2981.sol";

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";

import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/interfaces/IERC20.sol";

import "./Adminlist.sol";

/// ----------------------------------------------------------------------------
/// Enums and Structs
/// ----------------------------------------------------------------------------

enum State {
  Uninitialized, 
  NotStarted,
  WhitelistSale,
  PublicSale,
  MintPaused,
  MintEnded
}

struct TokenStyleStruct {
  string className;
  uint16 start;    // class starting serial
  uint16 end;      // class end serial
  uint16 sold;     // sold
  uint256 price;   // price
  }

struct MintData {
  uint8 tokenStyle;
  uint8 gender;
  uint16 amount;
}

/// ----------------------------------------------------------------------------
/// Errors
/// ----------------------------------------------------------------------------
error InvalidToken();
error InvalidSaleState();  
error InvalidAmount();
error InvalidStyle();
error InvalidAddress();

error NotOnWhitelist();

error SupplyLimit();
error MintLimit();

error NotEnoughEther();

error TransferFailed();

contract JAWS is ERC721Enumerable, IERC2981, Ownable, ReentrancyGuard, Adminlist {

  using Strings for uint256;

  /// ------------------------------------------------------------------------
  /// Events
  /// ------------------------------------------------------------------------

  event SaleStateUpdated(State);
  event BaseURIUpdated(string);
  event WhitelistRootUpdated(bytes32);

  event JAWSMintEvent(address indexed minter, uint256 indexed tokenId, uint8 indexed style, uint8 gender);

  event OpenSeaProxyActiveUpdated(bool);


  /// ------------------------------------------------------------------------
  /// Variables
  /// ------------------------------------------------------------------------

  State public saleState = State.NotStarted;

  uint8 public constant WHITELIST_MINT_MAX = 5;
  uint16 public constant DISCOUNT_MINT_MAX = 777;
  uint256 public constant DISCOUNT = 0.05 ether;

  string private baseURI;
  mapping(uint8 => TokenStyleStruct) private mintStyle;

  bytes32 public whitelistRoot;
  mapping(address => uint16) public whitelistMinterBalance;

  uint8 public constant STYLE_FC = 1;
  uint8 public constant STYLE_HR = 2;
  uint8 public constant STYLE_JAWS = 3;

  uint8 public constant GENDER_FEMALE = 1;
  uint8 public constant GENDER_MALE = 2;

  address public immutable openSeaProxyRegistryAddress;
  bool public isOpenSeaProxyActive = true; 

  /// ------------------------------------------------------------------------
  /// Modifiers
  /// ------------------------------------------------------------------------

  modifier isWhitelistSaleActive() {
    if( saleState != State.WhitelistSale ) revert InvalidSaleState();
    _;
  }

  modifier isPublicSaleActive() {
    if( saleState != State.PublicSale ) revert InvalidSaleState();
    _;
  }

  modifier isValidAddress(address _addr) {
    if(_addr == address(0)) revert InvalidAddress();
    _;
  }

  modifier isValidToken(uint256 _id) {
    if(ownerOf(_id) == address(0)) revert InvalidToken();
    _;
  }
  modifier isValidStyle(uint8 _tokenStyle) {
    if( ( _tokenStyle != STYLE_FC ) &&( _tokenStyle != STYLE_HR ) && ( _tokenStyle != STYLE_JAWS ) ) revert InvalidStyle();
      _;
  }

  modifier isValidData(MintData  memory _data) {
    if( ( _data.tokenStyle != STYLE_HR ) && ( _data.tokenStyle != STYLE_JAWS ) ) revert InvalidStyle();
    if( _data.amount > ( getStyleTotal(_data.tokenStyle) - getStyleSold(_data.tokenStyle) ) ) revert SupplyLimit();
    _;
  }

  modifier isValidDataAdmin(MintData memory _data) {
    if( ( _data.tokenStyle != STYLE_FC ) &&( _data.tokenStyle != STYLE_HR ) && ( _data.tokenStyle != STYLE_JAWS ) ) revert InvalidStyle();
    if( _data.amount > ( getStyleTotal(_data.tokenStyle) - getStyleSold(_data.tokenStyle) ) ) revert SupplyLimit();
      _;
  }

  modifier isValidMerkleProof(bytes32[] calldata _proof, bytes32 _root) {
    if( !
        MerkleProof.verify(
          _proof,
          _root,
          keccak256(abi.encodePacked(msg.sender))
        )
      )
    revert NotOnWhitelist();
    _;
  }

  modifier SentEnoughEther( MintData memory _data ) {
    if( msg.value < ( getPrice(_data) * _data.amount ) ) revert NotEnoughEther();
    _;
  }

  /// ------------------------------------------------------------------------
  /// Functions
  /// ------------------------------------------------------------------------

  //  constructor() ERC721("JAWS", unicode"🦈") {
  constructor(address[] memory _adminlist, address _openSeaProxyRegistryAddress) ERC721("JAWS NFT", "JAWS") {

    // Deployer has Admin Rights
    _setupAdmin(msg.sender);

    // Add the other Admins
    uint16 length = uint16(_adminlist.length);
    for(uint16 i=0; i < length; i = uncheckedInc(i))
    {
        addAddressToAdminlist(_adminlist[i]);
    }

    // Set up OS Proxy for IsApprovedForAll
    openSeaProxyRegistryAddress = _openSeaProxyRegistryAddress;

    // Set up Token Ranges Ranges
    //                                        className       start end sold  price
    mintStyle[STYLE_FC] =   TokenStyleStruct("Founders Club", 1,    100,   0, 0 ether);
    mintStyle[STYLE_HR] =   TokenStyleStruct("High Rollers",  101,  2322,  0, 4 ether);
    mintStyle[STYLE_JAWS] = TokenStyleStruct("JAWS",          2323, 10099, 0, 0.15 ether);
  }

  function setSaleState(State _saleState)
    external
    onlyAdmin
  {
    saleState = _saleState;
    emit SaleStateUpdated(saleState);
  }

  function _setbaseURI(string memory _inputURI) 
    external
    onlyAdmin
  {
    baseURI = _inputURI;
    emit BaseURIUpdated(baseURI);
  }

  function _baseURI() 
    internal 
    view 
    override 
    returns (string memory) 
  {
    return baseURI;
  }

  function tokenURI(uint256 _id)
    public
    view
    override
    isValidToken(_id)
    returns (string memory)
  {
    return string(abi.encodePacked(baseURI, _id.toString(), ".json"));
  }

  function contractURI()
    public
    view
    returns (string memory) 
  {
    return string(abi.encodePacked(baseURI, "contract.json"));
  }

  function setWhitelistRoot(bytes32 _whitelistRoot) 
    external
    onlyAdmin
  {
    whitelistRoot = _whitelistRoot;
    emit WhitelistRootUpdated(whitelistRoot);
  }

  // removed isValidData(_data) modifier since this function is also called from SentEnoughEther modifier
  // _data is checked in parent functions!  not checked here!
  function getPrice(
    MintData memory _data
  )
    public
    view
    returns (uint256)
  {
    uint256 price = 0;
    uint8 _tokenStyle = _data.tokenStyle;

    // there is a discount to the first DISCOUNT_MINT_MAX STYLE_JAWS mints during WhitelistSale
    //   this check intentionally allows a single overbuy at the end of discounted sale. Without this,
    //   we would require a permint mint quantity to proceed with undiscounted minted. This could
    //   be solved with additional complexity, but a couple extra discounted tokens to enable
    //   a smooth minting experience is a worthwhile tradeoff
    if( 
        ( saleState == State.WhitelistSale ) &&  
        ( _tokenStyle == STYLE_JAWS ) &&
        ( mintStyle[_tokenStyle].sold < DISCOUNT_MINT_MAX ) // allow a single overbuy at end of discounted sale
      )
    {
      price = mintStyle[_tokenStyle].price - DISCOUNT;
    }
    else
    {
      price = mintStyle[_tokenStyle].price;
    }
    return price;
  }

  function getStyleTotal(
    uint8 _tokenStyle
  )
    public
    view
    isValidStyle(_tokenStyle)
    returns (uint16)
  {
    return (mintStyle[_tokenStyle].end - mintStyle[_tokenStyle].start + 1);
  }

  function getStyleSold(
    uint8 _tokenStyle
  )
    public
    view
    isValidStyle(_tokenStyle)
    returns (uint16)
  {
    return mintStyle[_tokenStyle].sold;
  }

  function mint(
    MintData calldata _data
  ) 
    external
    payable
    isPublicSaleActive
    isValidData(_data)
    SentEnoughEther(_data)
  {
    _mintInternal(_data, msg.sender);
  }

  function mintWhitelist(
    MintData calldata  _data,
    bytes32[] calldata _proof
  ) 
    external
    payable
    isValidMerkleProof(_proof, whitelistRoot)
    isWhitelistSaleActive
    isValidData(_data)
    SentEnoughEther(_data)
  {
    _mintInternal(_data, msg.sender);
  }

  function mintAdmin(
    MintData calldata _data
  ) 
    external
    onlyAdmin
    isValidDataAdmin(_data)
  {
    _mintInternal(_data, msg.sender);
  }

	function mintAdminToTarget(
    MintData calldata _data,
    address _target
  ) 
    external
    onlyAdmin
    isValidDataAdmin(_data)
  {
    _mintInternal(_data, _target);
  }

  function _mintInternal(
    MintData memory _data,
    address _target
  )
    internal
    nonReentrant
  {
    uint16 currentMint = (mintStyle[_data.tokenStyle].start + mintStyle[_data.tokenStyle].sold);
    uint16 mintUntil = currentMint + _data.amount;

    mintStyle[_data.tokenStyle].sold += _data.amount;

    for(; currentMint < mintUntil; currentMint = uncheckedInc(currentMint) )
    {
      _safeMint(_target, currentMint);
      emit JAWSMintEvent(_target, currentMint, _data.tokenStyle, _data.gender);
    }
  }

  function withdraw()
    public
    onlyAdmin
  {
    // low level call to enable multisig access
    (bool sent, ) = msg.sender.call{value: address(this).balance}("");
    if(!sent) revert TransferFailed();
  }

  function withdrawTokens(
    IERC20 token
  )
    public
    onlyAdmin 
  {
    bool sent = token.transfer(msg.sender, token.balanceOf(address(this)));
    if(!sent) revert TransferFailed();
  }

  /// ------------------------------------------------------------------------
  /// OpenSea ProxyRegistry
  /// ------------------------------------------------------------------------

  // function to disable gasless listings for security in case
  // opensea ever shuts down or is compromised
  function setIsOpenSeaProxyActive(bool _isOpenSeaProxyActive)
    external
    onlyOwner
  {
    isOpenSeaProxyActive = _isOpenSeaProxyActive;
    emit OpenSeaProxyActiveUpdated(isOpenSeaProxyActive);
  }

  /**
    * @dev Override isApprovedForAll to allowlist user's OpenSea proxy accounts to enable gas-less listings.
    */
  function isApprovedForAll(address _owner, address _operator)
    public
    view
    override
    returns (bool)
  {
    // Get a reference to OpenSea's proxy registry contract by instantiating
    // the contract using the already existing address.
    ProxyRegistry proxyRegistry = ProxyRegistry(
      openSeaProxyRegistryAddress
    );
    if(
      isOpenSeaProxyActive &&
      address(proxyRegistry.proxies(_owner)) == _operator
    ) {
      return true;
    }

    return super.isApprovedForAll(_owner, _operator);
  }

  /// ------------------------------------------------------------------------
  /// ERC2981
  /// ------------------------------------------------------------------------
  function royaltyInfo(uint256 _id, uint256 _salePrice)
    external
    view
    override
    isValidToken(_id)
    returns (address, uint256)
  {
    return ( address(this), ( (_salePrice * 25) / 1000) );
  }

  receive() external payable {}

  /// ------------------------------------------------------------------------
  /// ERC165
  /// ------------------------------------------------------------------------
  function supportsInterface(bytes4 interfaceId)
    public
    view
    override(ERC721Enumerable, IERC165)
    returns (bool)
  {
    return
      interfaceId == type(IERC2981).interfaceId ||
      super.supportsInterface(interfaceId);
  }

  /// ------------------------------------------------------------------------
  /// Utility
  /// ------------------------------------------------------------------------

  // https://gist.github.com/hrkrshnn/ee8fabd532058307229d65dcd5836ddc#the-increment-in-for-loop-post-condition-can-be-made-unchecked
  function uncheckedInc(uint16 _i)
    private
    pure 
  returns (uint16) {
    unchecked {
      return _i + 1;
    }
  }
}

// These contract definitions are used to create a reference to the OpenSea
// ProxyRegistry contract by using the registry's address (see isApprovedForAll).
contract OwnableDelegateProxy {}

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

File 2 of 20 : ERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Enumerable.sol)

pragma solidity ^0.8.0;

import "../ERC721.sol";
import "./IERC721Enumerable.sol";

/**
 * @dev This implements an optional extension of {ERC721} defined in the EIP that adds
 * enumerability of all the token ids in the contract as well as all token ids owned by each
 * account.
 */
abstract contract ERC721Enumerable is ERC721, IERC721Enumerable {
    // Mapping from owner to list of owned token IDs
    mapping(address => mapping(uint256 => uint256)) private _ownedTokens;

    // Mapping from token ID to index of the owner tokens list
    mapping(uint256 => uint256) private _ownedTokensIndex;

    // Array with all token ids, used for enumeration
    uint256[] private _allTokens;

    // Mapping from token id to position in the allTokens array
    mapping(uint256 => uint256) private _allTokensIndex;

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

    /**
     * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds");
        return _ownedTokens[owner][index];
    }

    /**
     * @dev See {IERC721Enumerable-totalSupply}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        return _allTokens.length;
    }

    /**
     * @dev See {IERC721Enumerable-tokenByIndex}.
     */
    function tokenByIndex(uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds");
        return _allTokens[index];
    }

    /**
     * @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` cannot be the zero address.
     * - `to` cannot be the zero address.
     *
     * 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 override {
        super._beforeTokenTransfer(from, to, tokenId);

        if (from == address(0)) {
            _addTokenToAllTokensEnumeration(tokenId);
        } else if (from != to) {
            _removeTokenFromOwnerEnumeration(from, tokenId);
        }
        if (to == address(0)) {
            _removeTokenFromAllTokensEnumeration(tokenId);
        } else if (to != from) {
            _addTokenToOwnerEnumeration(to, tokenId);
        }
    }

    /**
     * @dev Private function to add a token to this extension's ownership-tracking data structures.
     * @param to address representing the new owner of the given token ID
     * @param tokenId uint256 ID of the token to be added to the tokens list of the given address
     */
    function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private {
        uint256 length = ERC721.balanceOf(to);
        _ownedTokens[to][length] = tokenId;
        _ownedTokensIndex[tokenId] = length;
    }

    /**
     * @dev Private function to add a token to this extension's token tracking data structures.
     * @param tokenId uint256 ID of the token to be added to the tokens list
     */
    function _addTokenToAllTokensEnumeration(uint256 tokenId) private {
        _allTokensIndex[tokenId] = _allTokens.length;
        _allTokens.push(tokenId);
    }

    /**
     * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that
     * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for
     * gas optimizations e.g. when performing a transfer operation (avoiding double writes).
     * This has O(1) time complexity, but alters the order of the _ownedTokens array.
     * @param from address representing the previous owner of the given token ID
     * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address
     */
    function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private {
        // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = ERC721.balanceOf(from) - 1;
        uint256 tokenIndex = _ownedTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary
        if (tokenIndex != lastTokenIndex) {
            uint256 lastTokenId = _ownedTokens[from][lastTokenIndex];

            _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
            _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index
        }

        // This also deletes the contents at the last position of the array
        delete _ownedTokensIndex[tokenId];
        delete _ownedTokens[from][lastTokenIndex];
    }

    /**
     * @dev Private function to remove a token from this extension's token tracking data structures.
     * This has O(1) time complexity, but alters the order of the _allTokens array.
     * @param tokenId uint256 ID of the token to be removed from the tokens list
     */
    function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private {
        // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = _allTokens.length - 1;
        uint256 tokenIndex = _allTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so
        // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding
        // an 'if' statement (like in _removeTokenFromOwnerEnumeration)
        uint256 lastTokenId = _allTokens[lastTokenIndex];

        _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
        _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index

        // This also deletes the contents at the last position of the array
        delete _allTokensIndex[tokenId];
        _allTokens.pop();
    }
}

File 3 of 20 : IERC2981.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (interfaces/IERC2981.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

/**
 * @dev Interface for the NFT Royalty Standard
 */
interface IERC2981 is IERC165 {
    /**
     * @dev Called with the sale price to determine how much royalty is owed and to whom.
     * @param tokenId - the NFT asset queried for royalty information
     * @param salePrice - the sale price of the NFT asset specified by `tokenId`
     * @return receiver - address of who should be sent the royalty payment
     * @return royaltyAmount - the royalty payment amount for `salePrice`
     */
    function royaltyInfo(uint256 tokenId, uint256 salePrice)
        external
        view
        returns (address receiver, uint256 royaltyAmount);
}

File 4 of 20 : 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 5 of 20 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

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

        _;

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

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

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Trees proofs.
 *
 * The proofs can be generated using the JavaScript library
 * https://github.com/miguelmota/merkletreejs[merkletreejs].
 * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled.
 *
 * See `test/utils/cryptography/MerkleProof.test.js` for some examples.
 */
library MerkleProof {
    /**
     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
     * defined by `root`. For this, a `proof` must be provided, containing
     * sibling hashes on the branch from the leaf to the root of the tree. Each
     * pair of leaves and each pair of pre-images are assumed to be sorted.
     */
    function verify(
        bytes32[] memory proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProof(proof, leaf) == root;
    }

    /**
     * @dev Returns the rebuilt hash obtained by traversing a Merklee tree up
     * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt
     * hash matches the root of the tree. When processing the proof, the pairs
     * of leafs & pre-images are assumed to be sorted.
     *
     * _Available since v4.4._
     */
    function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            bytes32 proofElement = proof[i];
            if (computedHash <= proofElement) {
                // Hash(current computed hash + current element of the proof)
                computedHash = keccak256(abi.encodePacked(computedHash, proofElement));
            } else {
                // Hash(current element of the proof + current computed hash)
                computedHash = keccak256(abi.encodePacked(proofElement, computedHash));
            }
        }
        return computedHash;
    }
}

File 7 of 20 : 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 8 of 20 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (interfaces/IERC20.sol)

pragma solidity ^0.8.0;

import "../token/ERC20/IERC20.sol";

File 9 of 20 : Adminlist.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;


/// ----------------------------------------------------------------------------
/// Errors
/// ----------------------------------------------------------------------------

error NotAdmin();
error TooFewAdmins();

abstract contract Adminlist {

  /// ------------------------------------------------------------------------
  /// Events
  /// ------------------------------------------------------------------------

  event AdminAddressAdded(address addr);
  event AdminAddressRemoved(address addr);

  /// ------------------------------------------------------------------------
  /// Variables
  /// ------------------------------------------------------------------------

  address[] public adminlist;

  /// ------------------------------------------------------------------------
  /// Modifiers
  /// ------------------------------------------------------------------------

  modifier onlyAdmin()
  {
    if(!onList(msg.sender)) revert NotAdmin();
    _;
  }

  /// ------------------------------------------------------------------------
  /// Functions
  /// ------------------------------------------------------------------------

  function onList(address _addr)
    public
    view
    returns (bool)
  {
    bool found = false;
    uint256 length = adminlist.length;
    for(uint256 i = 0; i < length; i = uncheckedInc(i) )
    {
      if(adminlist[i] == _addr) {
        found = true;
      }
    }
    return found;
  }

  function addAddressToAdminlist(address _addr) 
    public 
    onlyAdmin
    returns(bool success) 
  {
    if (!onList(_addr)) {
      adminlist.push(_addr);
      emit AdminAddressAdded(_addr);
      success = true; 
    }
  }

  function removeAddressFromAdminlist(address _addr) 
    public 
    onlyAdmin
    returns(bool success) 
  {
    if (onList(_addr)) {
      
      // do the compact array shuffle
      uint256 length =  adminlist.length;
      if(length <= 1) revert TooFewAdmins();
      for(uint256 i = 0; i < length; i = uncheckedInc(i))
      {
        if(adminlist[i] == _addr)
        {
          adminlist[i] = adminlist[length-1];
          adminlist.pop();
          break;
        }
      }
      emit AdminAddressRemoved(_addr);
      success = true;
    }
  }

  function _setupAdmin(address _addr) 
    internal 
    virtual 
  {
    adminlist.push(_addr);
    emit AdminAddressAdded(_addr);
  }

  /// ------------------------------------------------------------------------
  /// Utility
  /// ------------------------------------------------------------------------

  // https://gist.github.com/hrkrshnn/ee8fabd532058307229d65dcd5836ddc#the-increment-in-for-loop-post-condition-can-be-made-unchecked
  function uncheckedInc(uint256 _i)
    private
    pure 
  returns (uint256) {
    unchecked {
      return _i + 1;
    }
  }
}

File 10 of 20 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/ERC721.sol)

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 {
        _setApprovalForAll(_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 Approve `operator` to operate on all of `owner` tokens
     *
     * Emits a {ApprovalForAll} event.
     */
    function _setApprovalForAll(
        address owner,
        address operator,
        bool approved
    ) internal virtual {
        require(owner != operator, "ERC721: approve to caller");
        _operatorApprovals[owner][operator] = approved;
        emit ApprovalForAll(owner, operator, approved);
    }

    /**
     * @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 11 of 20 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Enumerable.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Enumerable is IERC721 {
    /**
     * @dev Returns the total amount of tokens stored by the contract.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns a token ID owned by `owner` at a given `index` of its token list.
     * Use along with {balanceOf} to enumerate all of ``owner``'s tokens.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId);

    /**
     * @dev Returns a token ID at a given `index` of all the tokens stored by the contract.
     * Use along with {totalSupply} to enumerate all tokens.
     */
    function tokenByIndex(uint256 index) external view returns (uint256);
}

File 12 of 20 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

    /**
     * @dev Transfers `tokenId` token from `from` to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

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

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

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

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

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

File 13 of 20 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol)

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 14 of 20 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)

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 15 of 20 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Address.sol)

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 16 of 20 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

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

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

File 17 of 20 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

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 18 of 20 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

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

File 19 of 20 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (interfaces/IERC165.sol)

pragma solidity ^0.8.0;

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

File 20 of 20 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

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

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

    /**
     * @dev Moves `amount` tokens from the caller's account to `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `sender` to `recipient` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) external returns (bool);

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

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address[]","name":"_adminlist","type":"address[]"},{"internalType":"address","name":"_openSeaProxyRegistryAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"InvalidSaleState","type":"error"},{"inputs":[],"name":"InvalidStyle","type":"error"},{"inputs":[],"name":"InvalidToken","type":"error"},{"inputs":[],"name":"NotAdmin","type":"error"},{"inputs":[],"name":"NotEnoughEther","type":"error"},{"inputs":[],"name":"NotOnWhitelist","type":"error"},{"inputs":[],"name":"SupplyLimit","type":"error"},{"inputs":[],"name":"TooFewAdmins","type":"error"},{"inputs":[],"name":"TransferFailed","type":"error"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"addr","type":"address"}],"name":"AdminAddressAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"addr","type":"address"}],"name":"AdminAddressRemoved","type":"event"},{"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":"string","name":"","type":"string"}],"name":"BaseURIUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"minter","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":true,"internalType":"uint8","name":"style","type":"uint8"},{"indexed":false,"internalType":"uint8","name":"gender","type":"uint8"}],"name":"JAWSMintEvent","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"","type":"bool"}],"name":"OpenSeaProxyActiveUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"enum State","name":"","type":"uint8"}],"name":"SaleStateUpdated","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bytes32","name":"","type":"bytes32"}],"name":"WhitelistRootUpdated","type":"event"},{"inputs":[],"name":"DISCOUNT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DISCOUNT_MINT_MAX","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"GENDER_FEMALE","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"GENDER_MALE","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"STYLE_FC","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"STYLE_HR","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"STYLE_JAWS","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WHITELIST_MINT_MAX","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"_inputURI","type":"string"}],"name":"_setbaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_addr","type":"address"}],"name":"addAddressToAdminlist","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"adminlist","outputs":[{"internalType":"address","name":"","type":"address"}],"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":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"components":[{"internalType":"uint8","name":"tokenStyle","type":"uint8"},{"internalType":"uint8","name":"gender","type":"uint8"},{"internalType":"uint16","name":"amount","type":"uint16"}],"internalType":"struct MintData","name":"_data","type":"tuple"}],"name":"getPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint8","name":"_tokenStyle","type":"uint8"}],"name":"getStyleSold","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint8","name":"_tokenStyle","type":"uint8"}],"name":"getStyleTotal","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"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":"isOpenSeaProxyActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"components":[{"internalType":"uint8","name":"tokenStyle","type":"uint8"},{"internalType":"uint8","name":"gender","type":"uint8"},{"internalType":"uint16","name":"amount","type":"uint16"}],"internalType":"struct MintData","name":"_data","type":"tuple"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"components":[{"internalType":"uint8","name":"tokenStyle","type":"uint8"},{"internalType":"uint8","name":"gender","type":"uint8"},{"internalType":"uint16","name":"amount","type":"uint16"}],"internalType":"struct MintData","name":"_data","type":"tuple"}],"name":"mintAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"uint8","name":"tokenStyle","type":"uint8"},{"internalType":"uint8","name":"gender","type":"uint8"},{"internalType":"uint16","name":"amount","type":"uint16"}],"internalType":"struct MintData","name":"_data","type":"tuple"},{"internalType":"address","name":"_target","type":"address"}],"name":"mintAdminToTarget","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"uint8","name":"tokenStyle","type":"uint8"},{"internalType":"uint8","name":"gender","type":"uint8"},{"internalType":"uint16","name":"amount","type":"uint16"}],"internalType":"struct MintData","name":"_data","type":"tuple"},{"internalType":"bytes32[]","name":"_proof","type":"bytes32[]"}],"name":"mintWhitelist","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_addr","type":"address"}],"name":"onList","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"openSeaProxyRegistryAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","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":[{"internalType":"address","name":"_addr","type":"address"}],"name":"removeAddressFromAdminlist","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"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":"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":[],"name":"saleState","outputs":[{"internalType":"enum State","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_isOpenSeaProxyActive","type":"bool"}],"name":"setIsOpenSeaProxyActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"enum State","name":"_saleState","type":"uint8"}],"name":"setSaleState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_whitelistRoot","type":"bytes32"}],"name":"setWhitelistRoot","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":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","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":[{"internalType":"address","name":"","type":"address"}],"name":"whitelistMinterBalance","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"whitelistRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"}],"name":"withdrawTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60a0604052600d80546001919060ff1916828002179055506012805460ff191660011790553480156200003157600080fd5b5060405162003dca38038062003dca8339810160408190526200005491620006b6565b6040805180820182526008815267129055d4c813919560c21b6020808301918252835180850190945260048452634a41575360e01b908401528151919291620000a091600091620005e2565b508051620000b6906001906020840190620005e2565b505050620000d3620000cd620003ff60201b60201c565b62000403565b6001600b55620000e33362000455565b815160005b8161ffff168161ffff16101562000134576200012a848261ffff16815181106200011657620001166200079c565b6020026020010151620004c860201b60201c565b50600101620000e8565b506001600160a01b03821660809081526040805160e081018252600d60a082019081526c2337bab73232b9399021b63ab160991b60c0830152815260016020808301829052606493830193909352600060608301819052938201849052909252600f8152815180517f169f97de0d9a84d840042b17d3c6b9638b3d6fd9024c9eb0c7a306a17b49f88f92620001ce928492910190620005e2565b5060208281015160018301805460408087015160608089015161ffff9081166401000000000261ffff60201b19938216620100000263ffffffff199096169190971617939093171693909317909155608094850151600294850155815160e081018352600c60a082019081526b4869676820526f6c6c65727360a01b60c08301528152606581850152610912928101929092526000908201819052673782dace9d9000009482019490945291909252600f82528051805191927fa74ba3945261e09fde15ba3db55005b205e61eeb4ad811ac0faa2b315bffeead92620002b89284920190620005e2565b5060208281015160018301805460408087015160608089015161ffff9081166401000000000261ffff60201b19938216620100000263ffffffff199096169190971617939093171693909317909155608094850151600290940193909355805160e081018252600460a08201908152634a41575360e01b60c0830152815261091381840152612773918101919091526000928101839052670214e8348c4f0000938101939093526003909152600f8152815180517f45f76dafbbad695564362934e24d72eedc57f9fc1a65f39bca62176cc8296828926200039e928492910190620005e2565b5060208201516001820180546040850151606086015161ffff9081166401000000000261ffff60201b19928216620100000263ffffffff199094169190951617919091171691909117905560809091015160029091015550620007ef915050565b3390565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600c80546001810182556000919091527fdf6966c971051c3d54ec59162606531493a51404a002842f56009d7e5cf4a8c70180546001600160a01b0319166001600160a01b03831690811790915560405190815260008051602062003daa8339815191529060200160405180910390a150565b6000620004d5336200057c565b620004f357604051637bfa4b9f60e01b815260040160405180910390fd5b620004fe826200057c565b6200057757600c80546001810182556000919091527fdf6966c971051c3d54ec59162606531493a51404a002842f56009d7e5cf4a8c70180546001600160a01b0319166001600160a01b03841690811790915560405190815260008051602062003daa8339815191529060200160405180910390a15060015b919050565b600c546000908190815b81811015620005d957846001600160a01b0316600c8281548110620005af57620005af6200079c565b6000918252602090912001546001600160a01b03161415620005d057600192505b60010162000586565b50909392505050565b828054620005f090620007b2565b90600052602060002090601f0160209004810192826200061457600085556200065f565b82601f106200062f57805160ff19168380011785556200065f565b828001600101855582156200065f579182015b828111156200065f57825182559160200191906001019062000642565b506200066d92915062000671565b5090565b5b808211156200066d576000815560010162000672565b634e487b7160e01b600052604160045260246000fd5b80516001600160a01b03811681146200057757600080fd5b60008060408385031215620006ca57600080fd5b82516001600160401b0380821115620006e257600080fd5b818501915085601f830112620006f757600080fd5b81516020828211156200070e576200070e62000688565b8160051b604051601f19603f8301168101818110868211171562000736576200073662000688565b6040529283528183019350848101820192898411156200075557600080fd5b948201945b838610156200077e576200076e866200069e565b855294820194938201936200075a565b96506200078f90508782016200069e565b9450505050509250929050565b634e487b7160e01b600052603260045260246000fd5b600181811c90821680620007c757607f821691505b60208210811415620007e957634e487b7160e01b600052602260045260246000fd5b50919050565b60805161359862000812600039600081816107eb0152611b7301526135986000f3fe6080604052600436106103385760003560e01c80636c529a26116101b0578063b88d4fde116100ec578063e44451ba11610095578063e985e9c51161006f578063e985e9c514610902578063eebb9eb714610922578063f2fde38b14610935578063f5aa406d1461095557600080fd5b8063e44451ba146108cd578063e6d3216d146106b6578063e8a3d485146108ed57600080fd5b8063d32c05f0116100c6578063d32c05f01461086d578063e2e8337c1461088d578063e43082f7146108ad57600080fd5b8063b88d4fde1461080d578063b994fb991461082d578063c87b56dd1461084d57600080fd5b80637f091f0611610159578063a22cb46511610133578063a22cb46514610799578063a78843f914610720578063b5f3e71a146107b9578063b7f47d32146107d957600080fd5b80637f091f06146107355780638da5cb5b1461076657806395d89b411461078457600080fd5b806370a082311161018a57806370a08231146106eb578063715018a61461070b5780637bc45f071461072057600080fd5b80636c529a261461069c5780636e4f2c52146106b65780636f626eb3146106cb57600080fd5b80632c80d14c1161027f5780634985fb5b116102285780635a67de07116102025780635a67de0714610615578063603f4d52146106355780636352211e1461065c578063646f21271461067c57600080fd5b80634985fb5b146105b557806349df728c146105d55780634f6ccce7146105f557600080fd5b80633b32c74d116102595780633b32c74d1461056b5780633ccfd60b1461058057806342842e0e1461059557600080fd5b80632c80d14c146105155780632f745c5914610535578063386bfc981461055557600080fd5b806313118e50116102e15780632a2732d4116102bb5780632a2732d41461048f5780632a55205a146104af5780632b03a4aa146104ee57600080fd5b806313118e501461044757806318160ddd1461045a57806323b872dd1461046f57600080fd5b8063081812fc11610312578063081812fc146103c4578063095ea7b3146103fc5780630d37b4571461041e57600080fd5b806301ffc9a7146103445780630310b0621461037957806306fdde03146103a257600080fd5b3661033f57005b600080fd5b34801561035057600080fd5b5061036461035f366004612c2f565b610975565b60405190151581526020015b60405180910390f35b34801561038557600080fd5b5061038f61030981565b60405161ffff9091168152602001610370565b3480156103ae57600080fd5b506103b76109a0565b6040516103709190612ca4565b3480156103d057600080fd5b506103e46103df366004612cb7565b610a32565b6040516001600160a01b039091168152602001610370565b34801561040857600080fd5b5061041c610417366004612ce5565b610acc565b005b34801561042a57600080fd5b5061043966b1a2bc2ec5000081565b604051908152602001610370565b61041c610455366004612d23565b610be2565b34801561046657600080fd5b50600854610439565b34801561047b57600080fd5b5061041c61048a366004612daa565b610dad565b34801561049b57600080fd5b5061038f6104aa366004612dfc565b610dde565b3480156104bb57600080fd5b506104cf6104ca366004612e17565b610e52565b604080516001600160a01b039093168352602083019190915201610370565b3480156104fa57600080fd5b50610503600581565b60405160ff9091168152602001610370565b34801561052157600080fd5b50610439610530366004612e4f565b610ead565b34801561054157600080fd5b50610439610550366004612ce5565b610f60565b34801561056157600080fd5b5061043960105481565b34801561057757600080fd5b50610503600381565b34801561058c57600080fd5b5061041c610ff6565b3480156105a157600080fd5b5061041c6105b0366004612daa565b611088565b3480156105c157600080fd5b5061041c6105d0366004612f3a565b6110a3565b3480156105e157600080fd5b5061041c6105f0366004612f83565b611118565b34801561060157600080fd5b50610439610610366004612cb7565b611246565b34801561062157600080fd5b5061041c610630366004612fa0565b6112d9565b34801561064157600080fd5b50600d5461064f9060ff1681565b6040516103709190612fd7565b34801561066857600080fd5b506103e4610677366004612cb7565b61135a565b34801561068857600080fd5b506103e4610697366004612cb7565b6113d1565b3480156106a857600080fd5b506012546103649060ff1681565b3480156106c257600080fd5b50610503600281565b3480156106d757600080fd5b506103646106e6366004612f83565b6113fb565b3480156106f757600080fd5b50610439610706366004612f83565b61145b565b34801561071757600080fd5b5061041c6114e2565b34801561072c57600080fd5b50610503600181565b34801561074157600080fd5b5061038f610750366004612f83565b60116020526000908152604090205461ffff1681565b34801561077257600080fd5b50600a546001600160a01b03166103e4565b34801561079057600080fd5b506103b7611548565b3480156107a557600080fd5b5061041c6107b436600461300d565b611557565b3480156107c557600080fd5b506103646107d4366004612f83565b611562565b3480156107e557600080fd5b506103e47f000000000000000000000000000000000000000000000000000000000000000081565b34801561081957600080fd5b5061041c610828366004613046565b611621565b34801561083957600080fd5b5061041c6108483660046130c6565b611659565b34801561085957600080fd5b506103b7610868366004612cb7565b611735565b34801561087957600080fd5b5061038f610888366004612dfc565b61179e565b34801561089957600080fd5b5061041c6108a83660046130e2565b611826565b3480156108b957600080fd5b5061041c6108c836600461310f565b611908565b3480156108d957600080fd5b506103646108e8366004612f83565b6119a9565b3480156108f957600080fd5b506103b7611b43565b34801561090e57600080fd5b5061036461091d36600461312c565b611b6b565b61041c6109303660046130c6565b611c58565b34801561094157600080fd5b5061041c610950366004612f83565b611d7f565b34801561096157600080fd5b5061041c610970366004612cb7565b611e47565b60006001600160e01b0319821663152a902d60e11b148061099a575061099a82611ea2565b92915050565b6060600080546109af9061315a565b80601f01602080910402602001604051908101604052809291908181526020018280546109db9061315a565b8015610a285780601f106109fd57610100808354040283529160200191610a28565b820191906000526020600020905b815481529060010190602001808311610a0b57829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b0316610ab05760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b6000610ad78261135a565b9050806001600160a01b0316836001600160a01b03161415610b455760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610aa7565b336001600160a01b0382161480610b615750610b618133611b6b565b610bd35760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610aa7565b610bdd8383611ec7565b505050565b8181601054610c59838380806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506040516bffffffffffffffffffffffff193360601b166020820152859250603401905060405160208183030381529060405280519060200120611f35565b610c765760405163522fc3bd60e01b815260040160405180910390fd5b6002600d5460ff166005811115610c8f57610c8f612fc1565b14610cad57604051633482502f60e01b815260040160405180910390fd5b610cbc36879003870187612e4f565b805160ff16600214801590610cd65750805160ff16600314155b15610cf457604051630f10b1bd60e21b815260040160405180910390fd5b8051610cff90610dde565b8151610d0a9061179e565b610d1491906131a5565b61ffff16816040015161ffff161115610d4057604051631594bea360e31b815260040160405180910390fd5b610d4f36889003880188612e4f565b806040015161ffff16610d6182610ead565b610d6b91906131c8565b341015610d8b57604051638a0d377960e01b815260040160405180910390fd5b610da3610d9d368a90038a018a612e4f565b33611f4b565b5050505050505050565b610db733826120d7565b610dd35760405162461bcd60e51b8152600401610aa7906131e7565b610bdd8383836121a6565b60008160ff8116600114801590610df9575060ff8116600214155b8015610e09575060ff8116600314155b15610e2757604051630f10b1bd60e21b815260040160405180910390fd5b60ff83166000908152600f6020526040902060010154640100000000900461ffff1691505b50919050565b6000808381610e608261135a565b6001600160a01b03161415610e885760405163c1ab6dc160e01b815260040160405180910390fd5b306103e8610e978660196131c8565b610ea1919061324e565b92509250509250929050565b805160009081906002600d5460ff166005811115610ecd57610ecd612fc1565b148015610edd575060ff81166003145b8015610f0c575060ff81166000908152600f602052604090206001015461030964010000000090910461ffff16105b15610f405760ff81166000908152600f6020526040902060020154610f399066b1a2bc2ec5000090613262565b9150610f59565b60ff81166000908152600f602052604090206002015491505b5092915050565b6000610f6b8361145b565b8210610fcd5760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610aa7565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b610fff336113fb565b61101c57604051637bfa4b9f60e01b815260040160405180910390fd5b604051600090339047908381818185875af1925050503d806000811461105e576040519150601f19603f3d011682016040523d82523d6000602084013e611063565b606091505b5050905080611085576040516312171d8360e31b815260040160405180910390fd5b50565b610bdd83838360405180602001604052806000815250611621565b6110ac336113fb565b6110c957604051637bfa4b9f60e01b815260040160405180910390fd5b80516110dc90600e906020840190612b80565b507f6741b2fc379fad678116fe3d4d4b9a1a184ab53ba36b86ad0fa66340b1ab41ad600e60405161110d9190613279565b60405180910390a150565b611121336113fb565b61113e57604051637bfa4b9f60e01b815260040160405180910390fd5b6040516370a0823160e01b81523060048201526000906001600160a01b0383169063a9059cbb90339083906370a0823190602401602060405180830381865afa15801561118f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111b391906132fe565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044016020604051808303816000875af11580156111fe573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112229190613317565b905080611242576040516312171d8360e31b815260040160405180910390fd5b5050565b600061125160085490565b82106112b45760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610aa7565b600882815481106112c7576112c7613334565b90600052602060002001549050919050565b6112e2336113fb565b6112ff57604051637bfa4b9f60e01b815260040160405180910390fd5b600d805482919060ff1916600183600581111561131e5761131e612fc1565b0217905550600d546040517fcd7cbf1a81c5c14aaff5dfe45f07363084bd57b27049b77adca59e1b75b40d6e9161110d9160ff90911690612fd7565b6000818152600260205260408120546001600160a01b03168061099a5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610aa7565b600c81815481106113e157600080fd5b6000918252602090912001546001600160a01b0316905081565b600c546000908190815b8181101561145257846001600160a01b0316600c828154811061142a5761142a613334565b6000918252602090912001546001600160a01b0316141561144a57600192505b600101611405565b50909392505050565b60006001600160a01b0382166114c65760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610aa7565b506001600160a01b031660009081526003602052604090205490565b600a546001600160a01b0316331461153c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610aa7565b6115466000612351565b565b6060600180546109af9061315a565b6112423383836123a3565b600061156d336113fb565b61158a57604051637bfa4b9f60e01b815260040160405180910390fd5b611593826113fb565b61161c57600c80546001810182556000919091527fdf6966c971051c3d54ec59162606531493a51404a002842f56009d7e5cf4a8c70180546001600160a01b0319166001600160a01b0384169081179091556040519081527f089aa9975328102f8cdff40d2e2b75ad3b940f83f42c2e13c43ed875ff8f046a9060200160405180910390a15060015b919050565b61162b33836120d7565b6116475760405162461bcd60e51b8152600401610aa7906131e7565b61165384848484612472565b50505050565b611662336113fb565b61167f57604051637bfa4b9f60e01b815260040160405180910390fd5b61168e36829003820182612e4f565b805160ff166001148015906116a85750805160ff16600214155b80156116b95750805160ff16600314155b156116d757604051630f10b1bd60e21b815260040160405180910390fd5b80516116e290610dde565b81516116ed9061179e565b6116f791906131a5565b61ffff16816040015161ffff16111561172357604051631594bea360e31b815260040160405180910390fd5b611242610d9d36849003840184612e4f565b60608160006117438261135a565b6001600160a01b0316141561176b5760405163c1ab6dc160e01b815260040160405180910390fd5b600e611776846124a5565b6040516020016117879291906133b9565b604051602081830303815290604052915050919050565b60008160ff81166001148015906117b9575060ff8116600214155b80156117c9575060ff8116600314155b156117e757604051630f10b1bd60e21b815260040160405180910390fd5b60ff83166000908152600f60205260409020600101546118149061ffff80821691620100009004166131a5565b61181f9060016133ee565b9392505050565b61182f336113fb565b61184c57604051637bfa4b9f60e01b815260040160405180910390fd5b61185b36839003830183612e4f565b805160ff166001148015906118755750805160ff16600214155b80156118865750805160ff16600314155b156118a457604051630f10b1bd60e21b815260040160405180910390fd5b80516118af90610dde565b81516118ba9061179e565b6118c491906131a5565b61ffff16816040015161ffff1611156118f057604051631594bea360e31b815260040160405180910390fd5b610bdd61190236859003850185612e4f565b83611f4b565b600a546001600160a01b031633146119625760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610aa7565b6012805460ff191682151590811790915560405160ff909116151581527fde26225db7392d7b072e2b55b58657ff73240030614068c4345d9d6a6cc9ef029060200161110d565b60006119b4336113fb565b6119d157604051637bfa4b9f60e01b815260040160405180910390fd5b6119da826113fb565b1561161c57600c5460018111611a035760405163a828df7560e01b815260040160405180910390fd5b60005b81811015611afd57836001600160a01b0316600c8281548110611a2b57611a2b613334565b6000918252602090912001546001600160a01b03161415611af557600c611a53600184613262565b81548110611a6357611a63613334565b600091825260209091200154600c80546001600160a01b039092169183908110611a8f57611a8f613334565b9060005260206000200160006101000a8154816001600160a01b0302191690836001600160a01b03160217905550600c805480611ace57611ace613414565b600082815260209020810160001990810180546001600160a01b0319169055019055611afd565b600101611a06565b506040516001600160a01b03841681527fc41dab03d4639245f86ebd733046feb495209977c224698a4d1318fec207af5a9060200160405180910390a150600192915050565b6060600e604051602001611b57919061342a565b604051602081830303815290604052905090565b6012546000907f00000000000000000000000000000000000000000000000000000000000000009060ff168015611c17575060405163c455279160e01b81526001600160a01b038581166004830152808516919083169063c455279190602401602060405180830381865afa158015611be8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c0c9190613453565b6001600160a01b0316145b15611c2657600191505061099a565b6001600160a01b0380851660009081526005602090815260408083209387168352929052205460ff165b949350505050565b6003600d5460ff166005811115611c7157611c71612fc1565b14611c8f57604051633482502f60e01b815260040160405180910390fd5b611c9e36829003820182612e4f565b805160ff16600214801590611cb85750805160ff16600314155b15611cd657604051630f10b1bd60e21b815260040160405180910390fd5b8051611ce190610dde565b8151611cec9061179e565b611cf691906131a5565b61ffff16816040015161ffff161115611d2257604051631594bea360e31b815260040160405180910390fd5b611d3136839003830183612e4f565b806040015161ffff16611d4382610ead565b611d4d91906131c8565b341015611d6d57604051638a0d377960e01b815260040160405180910390fd5b610bdd610d9d36859003850185612e4f565b600a546001600160a01b03163314611dd95760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610aa7565b6001600160a01b038116611e3e5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610aa7565b61108581612351565b611e50336113fb565b611e6d57604051637bfa4b9f60e01b815260040160405180910390fd5b60108190556040518181527f6c4259bcefc0b17095d43cd0c7a9eb283ba03514c2119806139e05331f98d90e9060200161110d565b60006001600160e01b0319821663780e9d6360e01b148061099a575061099a826125a3565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611efc8261135a565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600082611f4285846125f3565b14949350505050565b6002600b541415611f9e5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610aa7565b6002600b55815160ff9081166000908152600f60205260408082206001908101548651909416835290822001549091611fe69161ffff640100000000909204821691166133ee565b90506000836040015182611ffa91906133ee565b604085810151865160ff166000908152600f6020529190912060010180549293509091600490612037908490640100000000900461ffff166133ee565b92506101000a81548161ffff021916908361ffff1602179055505b8061ffff168261ffff1610156120cc57612070838361ffff1661269f565b835160208086015160405160ff918216815292169161ffff8516916001600160a01b038716917f3860d639302f8ef62b2c93ee23af60b2885428708deb3deb137cecf7a5210f55910160405180910390a4600182019150612052565b50506001600b555050565b6000818152600260205260408120546001600160a01b03166121505760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610aa7565b600061215b8361135a565b9050806001600160a01b0316846001600160a01b031614806121965750836001600160a01b031661218b84610a32565b6001600160a01b0316145b80611c505750611c508185611b6b565b826001600160a01b03166121b98261135a565b6001600160a01b0316146122215760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610aa7565b6001600160a01b0382166122835760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610aa7565b61228e8383836126b9565b612299600082611ec7565b6001600160a01b03831660009081526003602052604081208054600192906122c2908490613262565b90915550506001600160a01b03821660009081526003602052604081208054600192906122f0908490613470565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b031614156124055760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610aa7565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b61247d8484846121a6565b61248984848484612771565b6116535760405162461bcd60e51b8152600401610aa790613488565b6060816124c95750506040805180820190915260018152600360fc1b602082015290565b8160005b81156124f357806124dd816134da565b91506124ec9050600a8361324e565b91506124cd565b60008167ffffffffffffffff81111561250e5761250e612e39565b6040519080825280601f01601f191660200182016040528015612538576020820181803683370190505b5090505b8415611c505761254d600183613262565b915061255a600a866134f5565b612565906030613470565b60f81b81838151811061257a5761257a613334565b60200101906001600160f81b031916908160001a90535061259c600a8661324e565b945061253c565b60006001600160e01b031982166380ac58cd60e01b14806125d457506001600160e01b03198216635b5e139f60e01b145b8061099a57506301ffc9a760e01b6001600160e01b031983161461099a565b600081815b845181101561269757600085828151811061261557612615613334565b60200260200101519050808311612657576040805160208101859052908101829052606001604051602081830303815290604052805190602001209250612684565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b508061268f816134da565b9150506125f8565b509392505050565b61124282826040518060200160405280600081525061286f565b6001600160a01b0383166127145761270f81600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b612737565b816001600160a01b0316836001600160a01b0316146127375761273783826128a2565b6001600160a01b03821661274e57610bdd8161293f565b826001600160a01b0316826001600160a01b031614610bdd57610bdd82826129ee565b60006001600160a01b0384163b1561286457604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906127b5903390899088908890600401613509565b6020604051808303816000875af19250505080156127f0575060408051601f3d908101601f191682019092526127ed91810190613545565b60015b61284a573d80801561281e576040519150601f19603f3d011682016040523d82523d6000602084013e612823565b606091505b5080516128425760405162461bcd60e51b8152600401610aa790613488565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611c50565b506001949350505050565b6128798383612a32565b6128866000848484612771565b610bdd5760405162461bcd60e51b8152600401610aa790613488565b600060016128af8461145b565b6128b99190613262565b60008381526007602052604090205490915080821461290c576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b60085460009061295190600190613262565b6000838152600960205260408120546008805493945090928490811061297957612979613334565b90600052602060002001549050806008838154811061299a5761299a613334565b60009182526020808320909101929092558281526009909152604080822084905585825281205560088054806129d2576129d2613414565b6001900381819060005260206000200160009055905550505050565b60006129f98361145b565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160a01b038216612a885760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610aa7565b6000818152600260205260409020546001600160a01b031615612aed5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610aa7565b612af9600083836126b9565b6001600160a01b0382166000908152600360205260408120805460019290612b22908490613470565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b828054612b8c9061315a565b90600052602060002090601f016020900481019282612bae5760008555612bf4565b82601f10612bc757805160ff1916838001178555612bf4565b82800160010185558215612bf4579182015b82811115612bf4578251825591602001919060010190612bd9565b50612c00929150612c04565b5090565b5b80821115612c005760008155600101612c05565b6001600160e01b03198116811461108557600080fd5b600060208284031215612c4157600080fd5b813561181f81612c19565b60005b83811015612c67578181015183820152602001612c4f565b838111156116535750506000910152565b60008151808452612c90816020860160208601612c4c565b601f01601f19169290920160200192915050565b60208152600061181f6020830184612c78565b600060208284031215612cc957600080fd5b5035919050565b6001600160a01b038116811461108557600080fd5b60008060408385031215612cf857600080fd5b8235612d0381612cd0565b946020939093013593505050565b600060608284031215610e4c57600080fd5b600080600060808486031215612d3857600080fd5b612d428585612d11565b9250606084013567ffffffffffffffff80821115612d5f57600080fd5b818601915086601f830112612d7357600080fd5b813581811115612d8257600080fd5b8760208260051b8501011115612d9757600080fd5b6020830194508093505050509250925092565b600080600060608486031215612dbf57600080fd5b8335612dca81612cd0565b92506020840135612dda81612cd0565b929592945050506040919091013590565b803560ff8116811461161c57600080fd5b600060208284031215612e0e57600080fd5b61181f82612deb565b60008060408385031215612e2a57600080fd5b50508035926020909101359150565b634e487b7160e01b600052604160045260246000fd5b600060608284031215612e6157600080fd5b6040516060810181811067ffffffffffffffff82111715612e8457612e84612e39565b604052612e9083612deb565b8152612e9e60208401612deb565b6020820152604083013561ffff81168114612eb857600080fd5b60408201529392505050565b600067ffffffffffffffff80841115612edf57612edf612e39565b604051601f8501601f19908116603f01168101908282118183101715612f0757612f07612e39565b81604052809350858152868686011115612f2057600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215612f4c57600080fd5b813567ffffffffffffffff811115612f6357600080fd5b8201601f81018413612f7457600080fd5b611c5084823560208401612ec4565b600060208284031215612f9557600080fd5b813561181f81612cd0565b600060208284031215612fb257600080fd5b81356006811061181f57600080fd5b634e487b7160e01b600052602160045260246000fd5b6020810160068310612ff957634e487b7160e01b600052602160045260246000fd5b91905290565b801515811461108557600080fd5b6000806040838503121561302057600080fd5b823561302b81612cd0565b9150602083013561303b81612fff565b809150509250929050565b6000806000806080858703121561305c57600080fd5b843561306781612cd0565b9350602085013561307781612cd0565b925060408501359150606085013567ffffffffffffffff81111561309a57600080fd5b8501601f810187136130ab57600080fd5b6130ba87823560208401612ec4565b91505092959194509250565b6000606082840312156130d857600080fd5b61181f8383612d11565b600080608083850312156130f557600080fd5b6130ff8484612d11565b9150606083013561303b81612cd0565b60006020828403121561312157600080fd5b813561181f81612fff565b6000806040838503121561313f57600080fd5b823561314a81612cd0565b9150602083013561303b81612cd0565b600181811c9082168061316e57607f821691505b60208210811415610e4c57634e487b7160e01b600052602260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600061ffff838116908316818110156131c0576131c061318f565b039392505050565b60008160001904831182151516156131e2576131e261318f565b500290565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b634e487b7160e01b600052601260045260246000fd5b60008261325d5761325d613238565b500490565b6000828210156132745761327461318f565b500390565b600060208083526000845461328d8161315a565b808487015260406001808416600081146132ae57600181146132c2576132f0565b60ff198516898401526060890195506132f0565b896000528660002060005b858110156132e85781548b82018601529083019088016132cd565b8a0184019650505b509398975050505050505050565b60006020828403121561331057600080fd5b5051919050565b60006020828403121561332957600080fd5b815161181f81612fff565b634e487b7160e01b600052603260045260246000fd5b600081546133578161315a565b6001828116801561336f5760018114613380576133af565b60ff198416875282870194506133af565b8560005260208060002060005b858110156133a65781548a82015290840190820161338d565b50505082870194505b5050505092915050565b60006133c5828561334a565b83516133d5818360208801612c4c565b64173539b7b760d91b9101908152600501949350505050565b600061ffff80831681851680830382111561340b5761340b61318f565b01949350505050565b634e487b7160e01b600052603160045260246000fd5b6000613436828461334a565b6c31b7b73a3930b1ba173539b7b760991b8152600d019392505050565b60006020828403121561346557600080fd5b815161181f81612cd0565b600082198211156134835761348361318f565b500190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60006000198214156134ee576134ee61318f565b5060010190565b60008261350457613504613238565b500690565b60006001600160a01b0380871683528086166020840152508360408301526080606083015261353b6080830184612c78565b9695505050505050565b60006020828403121561355757600080fd5b815161181f81612c1956fea26469706673582212200e1c39404a2c2e151cc23f53a67df086c7a6419198ad5b5f7cfbe61aaf7bcd5064736f6c634300080b0033089aa9975328102f8cdff40d2e2b75ad3b940f83f42c2e13c43ed875ff8f046a0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c10000000000000000000000000000000000000000000000000000000000000004000000000000000000000000754449696b5bc8483323e8045dff570c50318317000000000000000000000000bb0f61dff51ff970cd1c252dc47a9c373dd9ae360000000000000000000000009194efdf03174a804f3552f4f7b7a4bb74badb7f000000000000000000000000e29c9bfab812944f388ce8cabdd35d446fa5739c

Deployed Bytecode

0x6080604052600436106103385760003560e01c80636c529a26116101b0578063b88d4fde116100ec578063e44451ba11610095578063e985e9c51161006f578063e985e9c514610902578063eebb9eb714610922578063f2fde38b14610935578063f5aa406d1461095557600080fd5b8063e44451ba146108cd578063e6d3216d146106b6578063e8a3d485146108ed57600080fd5b8063d32c05f0116100c6578063d32c05f01461086d578063e2e8337c1461088d578063e43082f7146108ad57600080fd5b8063b88d4fde1461080d578063b994fb991461082d578063c87b56dd1461084d57600080fd5b80637f091f0611610159578063a22cb46511610133578063a22cb46514610799578063a78843f914610720578063b5f3e71a146107b9578063b7f47d32146107d957600080fd5b80637f091f06146107355780638da5cb5b1461076657806395d89b411461078457600080fd5b806370a082311161018a57806370a08231146106eb578063715018a61461070b5780637bc45f071461072057600080fd5b80636c529a261461069c5780636e4f2c52146106b65780636f626eb3146106cb57600080fd5b80632c80d14c1161027f5780634985fb5b116102285780635a67de07116102025780635a67de0714610615578063603f4d52146106355780636352211e1461065c578063646f21271461067c57600080fd5b80634985fb5b146105b557806349df728c146105d55780634f6ccce7146105f557600080fd5b80633b32c74d116102595780633b32c74d1461056b5780633ccfd60b1461058057806342842e0e1461059557600080fd5b80632c80d14c146105155780632f745c5914610535578063386bfc981461055557600080fd5b806313118e50116102e15780632a2732d4116102bb5780632a2732d41461048f5780632a55205a146104af5780632b03a4aa146104ee57600080fd5b806313118e501461044757806318160ddd1461045a57806323b872dd1461046f57600080fd5b8063081812fc11610312578063081812fc146103c4578063095ea7b3146103fc5780630d37b4571461041e57600080fd5b806301ffc9a7146103445780630310b0621461037957806306fdde03146103a257600080fd5b3661033f57005b600080fd5b34801561035057600080fd5b5061036461035f366004612c2f565b610975565b60405190151581526020015b60405180910390f35b34801561038557600080fd5b5061038f61030981565b60405161ffff9091168152602001610370565b3480156103ae57600080fd5b506103b76109a0565b6040516103709190612ca4565b3480156103d057600080fd5b506103e46103df366004612cb7565b610a32565b6040516001600160a01b039091168152602001610370565b34801561040857600080fd5b5061041c610417366004612ce5565b610acc565b005b34801561042a57600080fd5b5061043966b1a2bc2ec5000081565b604051908152602001610370565b61041c610455366004612d23565b610be2565b34801561046657600080fd5b50600854610439565b34801561047b57600080fd5b5061041c61048a366004612daa565b610dad565b34801561049b57600080fd5b5061038f6104aa366004612dfc565b610dde565b3480156104bb57600080fd5b506104cf6104ca366004612e17565b610e52565b604080516001600160a01b039093168352602083019190915201610370565b3480156104fa57600080fd5b50610503600581565b60405160ff9091168152602001610370565b34801561052157600080fd5b50610439610530366004612e4f565b610ead565b34801561054157600080fd5b50610439610550366004612ce5565b610f60565b34801561056157600080fd5b5061043960105481565b34801561057757600080fd5b50610503600381565b34801561058c57600080fd5b5061041c610ff6565b3480156105a157600080fd5b5061041c6105b0366004612daa565b611088565b3480156105c157600080fd5b5061041c6105d0366004612f3a565b6110a3565b3480156105e157600080fd5b5061041c6105f0366004612f83565b611118565b34801561060157600080fd5b50610439610610366004612cb7565b611246565b34801561062157600080fd5b5061041c610630366004612fa0565b6112d9565b34801561064157600080fd5b50600d5461064f9060ff1681565b6040516103709190612fd7565b34801561066857600080fd5b506103e4610677366004612cb7565b61135a565b34801561068857600080fd5b506103e4610697366004612cb7565b6113d1565b3480156106a857600080fd5b506012546103649060ff1681565b3480156106c257600080fd5b50610503600281565b3480156106d757600080fd5b506103646106e6366004612f83565b6113fb565b3480156106f757600080fd5b50610439610706366004612f83565b61145b565b34801561071757600080fd5b5061041c6114e2565b34801561072c57600080fd5b50610503600181565b34801561074157600080fd5b5061038f610750366004612f83565b60116020526000908152604090205461ffff1681565b34801561077257600080fd5b50600a546001600160a01b03166103e4565b34801561079057600080fd5b506103b7611548565b3480156107a557600080fd5b5061041c6107b436600461300d565b611557565b3480156107c557600080fd5b506103646107d4366004612f83565b611562565b3480156107e557600080fd5b506103e47f000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c181565b34801561081957600080fd5b5061041c610828366004613046565b611621565b34801561083957600080fd5b5061041c6108483660046130c6565b611659565b34801561085957600080fd5b506103b7610868366004612cb7565b611735565b34801561087957600080fd5b5061038f610888366004612dfc565b61179e565b34801561089957600080fd5b5061041c6108a83660046130e2565b611826565b3480156108b957600080fd5b5061041c6108c836600461310f565b611908565b3480156108d957600080fd5b506103646108e8366004612f83565b6119a9565b3480156108f957600080fd5b506103b7611b43565b34801561090e57600080fd5b5061036461091d36600461312c565b611b6b565b61041c6109303660046130c6565b611c58565b34801561094157600080fd5b5061041c610950366004612f83565b611d7f565b34801561096157600080fd5b5061041c610970366004612cb7565b611e47565b60006001600160e01b0319821663152a902d60e11b148061099a575061099a82611ea2565b92915050565b6060600080546109af9061315a565b80601f01602080910402602001604051908101604052809291908181526020018280546109db9061315a565b8015610a285780601f106109fd57610100808354040283529160200191610a28565b820191906000526020600020905b815481529060010190602001808311610a0b57829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b0316610ab05760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b6000610ad78261135a565b9050806001600160a01b0316836001600160a01b03161415610b455760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610aa7565b336001600160a01b0382161480610b615750610b618133611b6b565b610bd35760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610aa7565b610bdd8383611ec7565b505050565b8181601054610c59838380806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506040516bffffffffffffffffffffffff193360601b166020820152859250603401905060405160208183030381529060405280519060200120611f35565b610c765760405163522fc3bd60e01b815260040160405180910390fd5b6002600d5460ff166005811115610c8f57610c8f612fc1565b14610cad57604051633482502f60e01b815260040160405180910390fd5b610cbc36879003870187612e4f565b805160ff16600214801590610cd65750805160ff16600314155b15610cf457604051630f10b1bd60e21b815260040160405180910390fd5b8051610cff90610dde565b8151610d0a9061179e565b610d1491906131a5565b61ffff16816040015161ffff161115610d4057604051631594bea360e31b815260040160405180910390fd5b610d4f36889003880188612e4f565b806040015161ffff16610d6182610ead565b610d6b91906131c8565b341015610d8b57604051638a0d377960e01b815260040160405180910390fd5b610da3610d9d368a90038a018a612e4f565b33611f4b565b5050505050505050565b610db733826120d7565b610dd35760405162461bcd60e51b8152600401610aa7906131e7565b610bdd8383836121a6565b60008160ff8116600114801590610df9575060ff8116600214155b8015610e09575060ff8116600314155b15610e2757604051630f10b1bd60e21b815260040160405180910390fd5b60ff83166000908152600f6020526040902060010154640100000000900461ffff1691505b50919050565b6000808381610e608261135a565b6001600160a01b03161415610e885760405163c1ab6dc160e01b815260040160405180910390fd5b306103e8610e978660196131c8565b610ea1919061324e565b92509250509250929050565b805160009081906002600d5460ff166005811115610ecd57610ecd612fc1565b148015610edd575060ff81166003145b8015610f0c575060ff81166000908152600f602052604090206001015461030964010000000090910461ffff16105b15610f405760ff81166000908152600f6020526040902060020154610f399066b1a2bc2ec5000090613262565b9150610f59565b60ff81166000908152600f602052604090206002015491505b5092915050565b6000610f6b8361145b565b8210610fcd5760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610aa7565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b610fff336113fb565b61101c57604051637bfa4b9f60e01b815260040160405180910390fd5b604051600090339047908381818185875af1925050503d806000811461105e576040519150601f19603f3d011682016040523d82523d6000602084013e611063565b606091505b5050905080611085576040516312171d8360e31b815260040160405180910390fd5b50565b610bdd83838360405180602001604052806000815250611621565b6110ac336113fb565b6110c957604051637bfa4b9f60e01b815260040160405180910390fd5b80516110dc90600e906020840190612b80565b507f6741b2fc379fad678116fe3d4d4b9a1a184ab53ba36b86ad0fa66340b1ab41ad600e60405161110d9190613279565b60405180910390a150565b611121336113fb565b61113e57604051637bfa4b9f60e01b815260040160405180910390fd5b6040516370a0823160e01b81523060048201526000906001600160a01b0383169063a9059cbb90339083906370a0823190602401602060405180830381865afa15801561118f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111b391906132fe565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044016020604051808303816000875af11580156111fe573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112229190613317565b905080611242576040516312171d8360e31b815260040160405180910390fd5b5050565b600061125160085490565b82106112b45760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610aa7565b600882815481106112c7576112c7613334565b90600052602060002001549050919050565b6112e2336113fb565b6112ff57604051637bfa4b9f60e01b815260040160405180910390fd5b600d805482919060ff1916600183600581111561131e5761131e612fc1565b0217905550600d546040517fcd7cbf1a81c5c14aaff5dfe45f07363084bd57b27049b77adca59e1b75b40d6e9161110d9160ff90911690612fd7565b6000818152600260205260408120546001600160a01b03168061099a5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610aa7565b600c81815481106113e157600080fd5b6000918252602090912001546001600160a01b0316905081565b600c546000908190815b8181101561145257846001600160a01b0316600c828154811061142a5761142a613334565b6000918252602090912001546001600160a01b0316141561144a57600192505b600101611405565b50909392505050565b60006001600160a01b0382166114c65760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610aa7565b506001600160a01b031660009081526003602052604090205490565b600a546001600160a01b0316331461153c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610aa7565b6115466000612351565b565b6060600180546109af9061315a565b6112423383836123a3565b600061156d336113fb565b61158a57604051637bfa4b9f60e01b815260040160405180910390fd5b611593826113fb565b61161c57600c80546001810182556000919091527fdf6966c971051c3d54ec59162606531493a51404a002842f56009d7e5cf4a8c70180546001600160a01b0319166001600160a01b0384169081179091556040519081527f089aa9975328102f8cdff40d2e2b75ad3b940f83f42c2e13c43ed875ff8f046a9060200160405180910390a15060015b919050565b61162b33836120d7565b6116475760405162461bcd60e51b8152600401610aa7906131e7565b61165384848484612472565b50505050565b611662336113fb565b61167f57604051637bfa4b9f60e01b815260040160405180910390fd5b61168e36829003820182612e4f565b805160ff166001148015906116a85750805160ff16600214155b80156116b95750805160ff16600314155b156116d757604051630f10b1bd60e21b815260040160405180910390fd5b80516116e290610dde565b81516116ed9061179e565b6116f791906131a5565b61ffff16816040015161ffff16111561172357604051631594bea360e31b815260040160405180910390fd5b611242610d9d36849003840184612e4f565b60608160006117438261135a565b6001600160a01b0316141561176b5760405163c1ab6dc160e01b815260040160405180910390fd5b600e611776846124a5565b6040516020016117879291906133b9565b604051602081830303815290604052915050919050565b60008160ff81166001148015906117b9575060ff8116600214155b80156117c9575060ff8116600314155b156117e757604051630f10b1bd60e21b815260040160405180910390fd5b60ff83166000908152600f60205260409020600101546118149061ffff80821691620100009004166131a5565b61181f9060016133ee565b9392505050565b61182f336113fb565b61184c57604051637bfa4b9f60e01b815260040160405180910390fd5b61185b36839003830183612e4f565b805160ff166001148015906118755750805160ff16600214155b80156118865750805160ff16600314155b156118a457604051630f10b1bd60e21b815260040160405180910390fd5b80516118af90610dde565b81516118ba9061179e565b6118c491906131a5565b61ffff16816040015161ffff1611156118f057604051631594bea360e31b815260040160405180910390fd5b610bdd61190236859003850185612e4f565b83611f4b565b600a546001600160a01b031633146119625760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610aa7565b6012805460ff191682151590811790915560405160ff909116151581527fde26225db7392d7b072e2b55b58657ff73240030614068c4345d9d6a6cc9ef029060200161110d565b60006119b4336113fb565b6119d157604051637bfa4b9f60e01b815260040160405180910390fd5b6119da826113fb565b1561161c57600c5460018111611a035760405163a828df7560e01b815260040160405180910390fd5b60005b81811015611afd57836001600160a01b0316600c8281548110611a2b57611a2b613334565b6000918252602090912001546001600160a01b03161415611af557600c611a53600184613262565b81548110611a6357611a63613334565b600091825260209091200154600c80546001600160a01b039092169183908110611a8f57611a8f613334565b9060005260206000200160006101000a8154816001600160a01b0302191690836001600160a01b03160217905550600c805480611ace57611ace613414565b600082815260209020810160001990810180546001600160a01b0319169055019055611afd565b600101611a06565b506040516001600160a01b03841681527fc41dab03d4639245f86ebd733046feb495209977c224698a4d1318fec207af5a9060200160405180910390a150600192915050565b6060600e604051602001611b57919061342a565b604051602081830303815290604052905090565b6012546000907f000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c19060ff168015611c17575060405163c455279160e01b81526001600160a01b038581166004830152808516919083169063c455279190602401602060405180830381865afa158015611be8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c0c9190613453565b6001600160a01b0316145b15611c2657600191505061099a565b6001600160a01b0380851660009081526005602090815260408083209387168352929052205460ff165b949350505050565b6003600d5460ff166005811115611c7157611c71612fc1565b14611c8f57604051633482502f60e01b815260040160405180910390fd5b611c9e36829003820182612e4f565b805160ff16600214801590611cb85750805160ff16600314155b15611cd657604051630f10b1bd60e21b815260040160405180910390fd5b8051611ce190610dde565b8151611cec9061179e565b611cf691906131a5565b61ffff16816040015161ffff161115611d2257604051631594bea360e31b815260040160405180910390fd5b611d3136839003830183612e4f565b806040015161ffff16611d4382610ead565b611d4d91906131c8565b341015611d6d57604051638a0d377960e01b815260040160405180910390fd5b610bdd610d9d36859003850185612e4f565b600a546001600160a01b03163314611dd95760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610aa7565b6001600160a01b038116611e3e5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610aa7565b61108581612351565b611e50336113fb565b611e6d57604051637bfa4b9f60e01b815260040160405180910390fd5b60108190556040518181527f6c4259bcefc0b17095d43cd0c7a9eb283ba03514c2119806139e05331f98d90e9060200161110d565b60006001600160e01b0319821663780e9d6360e01b148061099a575061099a826125a3565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611efc8261135a565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600082611f4285846125f3565b14949350505050565b6002600b541415611f9e5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610aa7565b6002600b55815160ff9081166000908152600f60205260408082206001908101548651909416835290822001549091611fe69161ffff640100000000909204821691166133ee565b90506000836040015182611ffa91906133ee565b604085810151865160ff166000908152600f6020529190912060010180549293509091600490612037908490640100000000900461ffff166133ee565b92506101000a81548161ffff021916908361ffff1602179055505b8061ffff168261ffff1610156120cc57612070838361ffff1661269f565b835160208086015160405160ff918216815292169161ffff8516916001600160a01b038716917f3860d639302f8ef62b2c93ee23af60b2885428708deb3deb137cecf7a5210f55910160405180910390a4600182019150612052565b50506001600b555050565b6000818152600260205260408120546001600160a01b03166121505760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610aa7565b600061215b8361135a565b9050806001600160a01b0316846001600160a01b031614806121965750836001600160a01b031661218b84610a32565b6001600160a01b0316145b80611c505750611c508185611b6b565b826001600160a01b03166121b98261135a565b6001600160a01b0316146122215760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610aa7565b6001600160a01b0382166122835760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610aa7565b61228e8383836126b9565b612299600082611ec7565b6001600160a01b03831660009081526003602052604081208054600192906122c2908490613262565b90915550506001600160a01b03821660009081526003602052604081208054600192906122f0908490613470565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b031614156124055760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610aa7565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b61247d8484846121a6565b61248984848484612771565b6116535760405162461bcd60e51b8152600401610aa790613488565b6060816124c95750506040805180820190915260018152600360fc1b602082015290565b8160005b81156124f357806124dd816134da565b91506124ec9050600a8361324e565b91506124cd565b60008167ffffffffffffffff81111561250e5761250e612e39565b6040519080825280601f01601f191660200182016040528015612538576020820181803683370190505b5090505b8415611c505761254d600183613262565b915061255a600a866134f5565b612565906030613470565b60f81b81838151811061257a5761257a613334565b60200101906001600160f81b031916908160001a90535061259c600a8661324e565b945061253c565b60006001600160e01b031982166380ac58cd60e01b14806125d457506001600160e01b03198216635b5e139f60e01b145b8061099a57506301ffc9a760e01b6001600160e01b031983161461099a565b600081815b845181101561269757600085828151811061261557612615613334565b60200260200101519050808311612657576040805160208101859052908101829052606001604051602081830303815290604052805190602001209250612684565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b508061268f816134da565b9150506125f8565b509392505050565b61124282826040518060200160405280600081525061286f565b6001600160a01b0383166127145761270f81600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b612737565b816001600160a01b0316836001600160a01b0316146127375761273783826128a2565b6001600160a01b03821661274e57610bdd8161293f565b826001600160a01b0316826001600160a01b031614610bdd57610bdd82826129ee565b60006001600160a01b0384163b1561286457604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906127b5903390899088908890600401613509565b6020604051808303816000875af19250505080156127f0575060408051601f3d908101601f191682019092526127ed91810190613545565b60015b61284a573d80801561281e576040519150601f19603f3d011682016040523d82523d6000602084013e612823565b606091505b5080516128425760405162461bcd60e51b8152600401610aa790613488565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611c50565b506001949350505050565b6128798383612a32565b6128866000848484612771565b610bdd5760405162461bcd60e51b8152600401610aa790613488565b600060016128af8461145b565b6128b99190613262565b60008381526007602052604090205490915080821461290c576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b60085460009061295190600190613262565b6000838152600960205260408120546008805493945090928490811061297957612979613334565b90600052602060002001549050806008838154811061299a5761299a613334565b60009182526020808320909101929092558281526009909152604080822084905585825281205560088054806129d2576129d2613414565b6001900381819060005260206000200160009055905550505050565b60006129f98361145b565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160a01b038216612a885760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610aa7565b6000818152600260205260409020546001600160a01b031615612aed5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610aa7565b612af9600083836126b9565b6001600160a01b0382166000908152600360205260408120805460019290612b22908490613470565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b828054612b8c9061315a565b90600052602060002090601f016020900481019282612bae5760008555612bf4565b82601f10612bc757805160ff1916838001178555612bf4565b82800160010185558215612bf4579182015b82811115612bf4578251825591602001919060010190612bd9565b50612c00929150612c04565b5090565b5b80821115612c005760008155600101612c05565b6001600160e01b03198116811461108557600080fd5b600060208284031215612c4157600080fd5b813561181f81612c19565b60005b83811015612c67578181015183820152602001612c4f565b838111156116535750506000910152565b60008151808452612c90816020860160208601612c4c565b601f01601f19169290920160200192915050565b60208152600061181f6020830184612c78565b600060208284031215612cc957600080fd5b5035919050565b6001600160a01b038116811461108557600080fd5b60008060408385031215612cf857600080fd5b8235612d0381612cd0565b946020939093013593505050565b600060608284031215610e4c57600080fd5b600080600060808486031215612d3857600080fd5b612d428585612d11565b9250606084013567ffffffffffffffff80821115612d5f57600080fd5b818601915086601f830112612d7357600080fd5b813581811115612d8257600080fd5b8760208260051b8501011115612d9757600080fd5b6020830194508093505050509250925092565b600080600060608486031215612dbf57600080fd5b8335612dca81612cd0565b92506020840135612dda81612cd0565b929592945050506040919091013590565b803560ff8116811461161c57600080fd5b600060208284031215612e0e57600080fd5b61181f82612deb565b60008060408385031215612e2a57600080fd5b50508035926020909101359150565b634e487b7160e01b600052604160045260246000fd5b600060608284031215612e6157600080fd5b6040516060810181811067ffffffffffffffff82111715612e8457612e84612e39565b604052612e9083612deb565b8152612e9e60208401612deb565b6020820152604083013561ffff81168114612eb857600080fd5b60408201529392505050565b600067ffffffffffffffff80841115612edf57612edf612e39565b604051601f8501601f19908116603f01168101908282118183101715612f0757612f07612e39565b81604052809350858152868686011115612f2057600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215612f4c57600080fd5b813567ffffffffffffffff811115612f6357600080fd5b8201601f81018413612f7457600080fd5b611c5084823560208401612ec4565b600060208284031215612f9557600080fd5b813561181f81612cd0565b600060208284031215612fb257600080fd5b81356006811061181f57600080fd5b634e487b7160e01b600052602160045260246000fd5b6020810160068310612ff957634e487b7160e01b600052602160045260246000fd5b91905290565b801515811461108557600080fd5b6000806040838503121561302057600080fd5b823561302b81612cd0565b9150602083013561303b81612fff565b809150509250929050565b6000806000806080858703121561305c57600080fd5b843561306781612cd0565b9350602085013561307781612cd0565b925060408501359150606085013567ffffffffffffffff81111561309a57600080fd5b8501601f810187136130ab57600080fd5b6130ba87823560208401612ec4565b91505092959194509250565b6000606082840312156130d857600080fd5b61181f8383612d11565b600080608083850312156130f557600080fd5b6130ff8484612d11565b9150606083013561303b81612cd0565b60006020828403121561312157600080fd5b813561181f81612fff565b6000806040838503121561313f57600080fd5b823561314a81612cd0565b9150602083013561303b81612cd0565b600181811c9082168061316e57607f821691505b60208210811415610e4c57634e487b7160e01b600052602260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600061ffff838116908316818110156131c0576131c061318f565b039392505050565b60008160001904831182151516156131e2576131e261318f565b500290565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b634e487b7160e01b600052601260045260246000fd5b60008261325d5761325d613238565b500490565b6000828210156132745761327461318f565b500390565b600060208083526000845461328d8161315a565b808487015260406001808416600081146132ae57600181146132c2576132f0565b60ff198516898401526060890195506132f0565b896000528660002060005b858110156132e85781548b82018601529083019088016132cd565b8a0184019650505b509398975050505050505050565b60006020828403121561331057600080fd5b5051919050565b60006020828403121561332957600080fd5b815161181f81612fff565b634e487b7160e01b600052603260045260246000fd5b600081546133578161315a565b6001828116801561336f5760018114613380576133af565b60ff198416875282870194506133af565b8560005260208060002060005b858110156133a65781548a82015290840190820161338d565b50505082870194505b5050505092915050565b60006133c5828561334a565b83516133d5818360208801612c4c565b64173539b7b760d91b9101908152600501949350505050565b600061ffff80831681851680830382111561340b5761340b61318f565b01949350505050565b634e487b7160e01b600052603160045260246000fd5b6000613436828461334a565b6c31b7b73a3930b1ba173539b7b760991b8152600d019392505050565b60006020828403121561346557600080fd5b815161181f81612cd0565b600082198211156134835761348361318f565b500190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60006000198214156134ee576134ee61318f565b5060010190565b60008261350457613504613238565b500690565b60006001600160a01b0380871683528086166020840152508360408301526080606083015261353b6080830184612c78565b9695505050505050565b60006020828403121561355757600080fd5b815161181f81612c1956fea26469706673582212200e1c39404a2c2e151cc23f53a67df086c7a6419198ad5b5f7cfbe61aaf7bcd5064736f6c634300080b0033

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

0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c10000000000000000000000000000000000000000000000000000000000000004000000000000000000000000754449696b5bc8483323e8045dff570c50318317000000000000000000000000bb0f61dff51ff970cd1c252dc47a9c373dd9ae360000000000000000000000009194efdf03174a804f3552f4f7b7a4bb74badb7f000000000000000000000000e29c9bfab812944f388ce8cabdd35d446fa5739c

-----Decoded View---------------
Arg [0] : _adminlist (address[]): 0x754449696b5bc8483323e8045Dff570c50318317,0xbB0F61dfF51Ff970cd1C252dC47A9C373dd9aE36,0x9194eFdF03174a804f3552F4F7B7A4bB74BaDb7F,0xe29C9BFab812944f388Ce8CAbdD35D446Fa5739C
Arg [1] : _openSeaProxyRegistryAddress (address): 0xa5409ec958C83C3f309868babACA7c86DCB077c1

-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [3] : 000000000000000000000000754449696b5bc8483323e8045dff570c50318317
Arg [4] : 000000000000000000000000bb0f61dff51ff970cd1c252dc47a9c373dd9ae36
Arg [5] : 0000000000000000000000009194efdf03174a804f3552f4f7b7a4bb74badb7f
Arg [6] : 000000000000000000000000e29c9bfab812944f388ce8cabdd35d446fa5739c


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.