ETH Price: $3,041.31 (+1.05%)
Gas: 5 Gwei

Token

Podium (PODIUM)
 

Overview

Max Total Supply

777 PODIUM

Holders

166

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
fransion.eth
Balance
0 PODIUM
0x92ad90f0f2e208df7fae055b7fe2f4e20a21e688
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:
Podium

Compiler Version
v0.8.13+commit.abaa5c0e

Optimization Enabled:
Yes with 1000 runs

Other Settings:
default evmVersion
File 1 of 15 : Podium.sol
//  ____   ___  ____ ___ _   _ __  __ 
// |  _ \ / _ \|  _ \_ _| | | |  \/  |
// | |_) | | | | | | | || | | | |\/| |
// |  __/| |_| | |_| | || |_| | |  | |
// |_|    \___/|____/___|\___/|_|  |_|
//                                   
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.4;

/* ----------------------------------------------------------------------------
* Podium Genesis NFT miniting
* Used ERC721-R for refund mechanism with customizable cliff settings.
* More infomration about refund on github and in ERC721R.sol
* There is more work to be done in the space. This is a good start. BAG_TIME
/ -------------------------------------------------------------------------- */

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "./ERC721R.sol";
import "./MerkleProof.sol";

contract Podium is Ownable, ERC721R, ReentrancyGuard, Pausable {

	// Declerations
	// ------------------------------------------------------------------------

	uint256 public maxMintPublic = 2;
	uint256 internal collectionSize_ = 777;
	uint256 internal reservedQuantity_ = 57; // For dev mint
	uint256 internal refundTimeIntervals_ = 14 days; // When refund cliffs
	uint256 internal refundIncrements_ = 20; // How much decrease % at cliff

	uint64 public mintListPrice = 0.12 ether;
	uint64 public publicPrice 	= 0.15 ether;

	uint32 public publicSaleStart;
	uint32 public mintListSaleStart;
	uint256 public refundPaidSum; // Not init bc 0 to save gas How much was actually paid out

	mapping(address => bool) public mintListClaimed; // Did they claim ML
	mapping(address => bool) public teamMember; 
	mapping(bytes4 => bool) public functionLocked;

	string private _baseTokenURI; // metadata URI
	address private teamRefundTreasury = msg.sender; // Address where refunded tokens sent
	bytes32 public merkleRoot; // Merkle Root for WL verification

	constructor(
	  uint32 publicSaleStart_,
	  uint32 mintListSaleStart_,
	  bytes32 merkleRoot_
	) 
	ERC721R("Podium",
			"PODIUM", 
			reservedQuantity_, 
			collectionSize_, 
			refundTimeIntervals_, 
			refundIncrements_) 
	{
	  publicSaleStart = publicSaleStart_;
	  mintListSaleStart = mintListSaleStart_;
	  merkleRoot = merkleRoot_;
	  teamMember[msg.sender] = true;
	}

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

	/*
	 * Make sure the caller is sender and not bot
	 */
	modifier callerNotBot() {
    	require(tx.origin == msg.sender, "The caller is another contract");
    	_;
  	}

  	/**
     * @dev Throws if called by any account other than team members
     */
    modifier onlyTeamMember() {
        require(teamMember[msg.sender], "Caller is not an owner");
        _;
    }

    /**
     * @notice Modifier applied to functions that will be disabled when they're no longer needed
     */
    modifier lockable() {
    	require(!functionLocked[msg.sig], "Function has been locked");
        _;
    }


	// Mint functions and helpers
	// ------------------------------------------------------------------------

	/*
	 * WL Mint default quanitiy is 1. Uses merkle tree proof
	 */
	function mintListMint(bytes32[] calldata _merkleProof) 
	external payable  
	nonReentrant
	callerNotBot
	whenNotPaused
	{

		// Overall checks
	  	require(totalSupply() + 1 <= collectionSize,"All tokens minted");
    	require(isMintListSaleOn(), "Mintlist not active");

    	// Merkle check for WL verification
    	require(!mintListClaimed[msg.sender],"Already minted WL");
    	bytes32 leaf = keccak256(abi.encodePacked(msg.sender));
    	require(MerkleProof.verify(_merkleProof, merkleRoot, leaf), "Not on ML");

    	// Please pay us
    	require(msg.value == mintListPrice, "Invalid Ether amount");

	    mintListClaimed[msg.sender] = true;
	    _safeMint(msg.sender, 1, mintListPrice); // Mint list quantity 1
	    refundEligbleSum += mintListPrice;
	}

	/*
	 * Public mint 
	 */
	function publicSaleMint(uint256 quantity)
	external payable
	nonReentrant
	callerNotBot
	whenNotPaused
	{ 

		// Overall checks
	  	require(
	  		totalSupply() + quantity <= collectionSize,
	  		 "All tokens minted"
	  	);

	    require(
	      numberMinted(msg.sender) + quantity <= maxMintPublic,
	      "Allowance allocated"
	    );

	    require(isPublicSaleOn(), "Public sale not active");

	    // Please pay us
    	require(msg.value == (publicPrice * quantity), "Invalid Ether amount");


	    _safeMint(msg.sender, quantity, publicPrice);
	    refundEligbleSum += (publicPrice * quantity);
	}


	/*
	 * Has public sale started
	 */
	function isPublicSaleOn() 
	public view returns (bool) {
	  	return
	      block.timestamp >= publicSaleStart;
	}

	/*
	 * Has WL sale started
	 */
	function isMintListSaleOn()
	public view returns (bool) {
	  	return
	      block.timestamp >= mintListSaleStart &&
	      block.timestamp < publicSaleStart;
	}

	/*
	 * Is specific address on WL
	 * Need merkle proof and root (mint page call)
	 */
	function isOnMintList(bytes32[] calldata _merkleProof, address _wallet)
	public view returns (bool) {
    	bytes32 leaf = keccak256(abi.encodePacked(_wallet));
    	return MerkleProof.verify(_merkleProof, merkleRoot, leaf);
	}



	// Remaining Public functions
	// ------------------------------------------------------------------------

	/*
	 * How many were minted by owner
	 */
	function numberMinted(address owner) public view returns (uint256) {
	  	return _numberMinted(owner);
	}

	/*
	 * Who owns this token and since when
	 */
	function getOwnershipData(uint256 tokenId)
	  external
	  view
	  returns (TokenOwnership memory) {
	 	return ownershipOf(tokenId);
	}


	// Refund logic
	// ------------------------------------------------------------------------


	/**
     * Refund owner token at refund rate mint price
     * If elgible (not been transfered)
     */
    function refund(uint256 tokenId) external nonReentrant callerNotBot whenNotPaused {

    	require(isRefundActive(), "Refund is over");

    	// Confirm origin and refund activity
    	uint256 purchaseValueCurrent = _checkPurchasePriceCurrent(tokenId);
    	require(purchaseValueCurrent > 0, "Token was minted by devs or transfered");

        require(ownerOf(tokenId) == msg.sender, "You do not own token");

        // Send token to refund Address
        _refund(msg.sender, teamRefundTreasury, tokenId);

        // Refund based on purchase price and time
        uint256 refundValue;
        refundValue = purchaseValueCurrent * refundRate()/100;
        payable(msg.sender).transfer(refundValue);
        refundPaidSum += refundValue;
    }


    /**
     * Allow only withdrawal of non refund locked-up funds
     */
    function withdrawPossibleAmount() external onlyTeamMember whenNotPaused {

		if(isRefundActive()) {
			// How much can be withdrawn
			uint256 amount = address(this).balance - fundsNeededForRefund();
			(bool success, ) = msg.sender.call{value: amount}("");
			require(success, "Transfer failed.");
		}
    	else {
        	(bool success, ) = msg.sender.call{value: address(this).balance}("");
    		require(success, "Transfer failed.");
        } 
    }

    /**
     * How much ETH is eligible for refund
     * 
     */
    function checkRefundEligbleSum() public view onlyTeamMember returns (uint256) {
    	return refundEligbleSum;
    }

    /**
     * Amount needed for refunds at current rate
     */
    function fundsNeededForRefund() public view returns(uint256) {
    	return refundEligbleSum * refundRate() / 100;
    }


    /**
     * Will return refund rate in as int (i.e. 100, 80, etc)
     * To be devided by 100 for percentage
     */
    function refundRate() public view returns (uint256) {
      return (100 - (_currentPeriod(publicSaleStart) * refundIncrements));
    }


  	/**
     * How much ETH was paid out for redunds
     */
    function checkRefundedAmount() public view onlyTeamMember returns(uint256) {
    	return refundPaidSum;
    }

	/**
  	 * Is refund live
  	 */
     function isRefundActive() public view returns(bool) {
     	return (
     		block.timestamp 
     		< (publicSaleStart + (5 * refundTimeIntervals))
     	);
     }


	// Admin only functions (WL, update data, dev mint, etc.) 
	// Note: Withdraw in refund
	// ------------------------------------------------------------------------

	/*
	 * Change where refund NFTs are sent
	 */
	function changeTeamRefundTreasury(address _teamRefundTreasury) external onlyTeamMember {
	    require(_teamRefundTreasury != address(0));
	    teamRefundTreasury = _teamRefundTreasury;
	}


	/*
	 * Update prices and dates
	 */
	function manageSale(
	  uint64 _mintListPrice,
	  uint64 _publicPrice,
	  uint32 _publicSaleStart,
	  uint32 _mintListSaleStart,
	  uint256 _maxMintPublic,
	  uint256 _collectionSize
	) external onlyTeamMember lockable {
		  mintListPrice = _mintListPrice;
		  publicPrice = _publicPrice;
		  publicSaleStart = _publicSaleStart;
		  mintListSaleStart = _mintListSaleStart;
		  maxMintPublic = _maxMintPublic;
		  collectionSize = _collectionSize;
	}


	/**
     * Mintlist update by using new merkle root
     */
    function updateMintListHash(bytes32 _newMerkleroot) external onlyTeamMember {
    	merkleRoot = _newMerkleroot;
  	}

  	/*
	 * Regular dev mint without override
	 */
	function teamInitMint(
	  uint256 quantity
	) public 
	  onlyTeamMember {
	  	teamInitMint(msg.sender, quantity, false, 0);
	}

	/*
	 * Emergency override if needed to be called by external contract
	 * To maintain token continuity
	 */
	function teamInitMint(
	  address to,
	  uint256 quantity,
	  bool emergencyOverride,
	  uint256 purchasePriceOverride

	) public 
	  onlyTeamMember {
		if (!emergencyOverride) 
		require(
			quantity <= maxBatchSize,
			"Dev cannot mint more than allocated"
		);
		_safeMint(to, quantity, purchasePriceOverride); // Team mint list price = 0
	}


	/*
	 * Override internal ERC URI 
	 */	
	function _baseURI() internal view virtual override returns (string memory) {
    	return _baseTokenURI;
  	}

	/*
	 * Update BaseURI (for reaveal)
	 */	
	function setBaseURI(string calldata baseURI) external onlyTeamMember {
	  	_baseTokenURI = baseURI;
	}

	/*
	 * Set owners of tokens explicitly with ERC721A
	 */	
	function setOwnersExplicit(uint256 quantity) external onlyTeamMember nonReentrant {
    	_setOwnersExplicit(quantity);
  	}

  	// ------------------------------------------------------------------------
  	// Security and ownership

  	/**
     * Pause functions as needed (in case of exploits)
     */
    function pause() public onlyTeamMember {
        _pause();
    }

    /**
     * Unpause functions as needed 
     */
    function unpause() public onlyTeamMember {
        _unpause();
    }

    /**
     * Add new team meber role with admin permissions
     */
    function addTeamMemberAdmin(address newMember) external onlyTeamMember {
    	teamMember[newMember] = true;
    }

    /**
     * Remove team meber role from admin permissions
     */
    function removeTeamMemberAdmin(address newMember) external onlyTeamMember {
    	teamMember[newMember] = false;
    }

    /**
     * Returns true if address is team member
     */
    function isTeamMemberAdmin(address checkAddress) public view onlyTeamMember returns (bool) {
        return teamMember[checkAddress];
    }


    /**
     * @notice Lock individual functions that are no longer needed
     * @dev Only affects functions with the lockable modifier
     * @param id First 4 bytes of the calldata (i.e. function identifier)
     */
    function lockFunction(bytes4 id) public onlyTeamMember {
        functionLocked[id] = true;
    }

}

File 2 of 15 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

File 5 of 15 : Pausable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (security/Pausable.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev Contract module which allows children to implement an emergency stop
 * mechanism that can be triggered by an authorized account.
 *
 * This module is used through inheritance. It will make available the
 * modifiers `whenNotPaused` and `whenPaused`, which can be applied to
 * the functions of your contract. Note that they will not be pausable by
 * simply including this module, only once the modifiers are put in place.
 */
abstract contract Pausable is Context {
    /**
     * @dev Emitted when the pause is triggered by `account`.
     */
    event Paused(address account);

    /**
     * @dev Emitted when the pause is lifted by `account`.
     */
    event Unpaused(address account);

    bool private _paused;

    /**
     * @dev Initializes the contract in unpaused state.
     */
    constructor() {
        _paused = false;
    }

    /**
     * @dev Returns true if the contract is paused, and false otherwise.
     */
    function paused() public view virtual returns (bool) {
        return _paused;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is not paused.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    modifier whenNotPaused() {
        require(!paused(), "Pausable: paused");
        _;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is paused.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    modifier whenPaused() {
        require(paused(), "Pausable: not paused");
        _;
    }

    /**
     * @dev Triggers stopped state.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    function _pause() internal virtual whenNotPaused {
        _paused = true;
        emit Paused(_msgSender());
    }

    /**
     * @dev Returns to normal state.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    function _unpause() internal virtual whenPaused {
        _paused = false;
        emit Unpaused(_msgSender());
    }
}

File 6 of 15 : ERC721R.sol
// ERC721-R Created by Podium builds on the ERC721-A.
// It allows for flexibility in refunds policies in the child contracts
// In this scenario, refunds are void if the token is transfered (_transfer)
// TODO: For multiple mint projects migrate Token RefundPolicy to system similar to ERC721A owner data
// That can we determined by serial ordering or explicitly set.
// TODO: Build in a more flexible manner on top of ERC721A or new format to accomodate other contract types
// Test this and ensure intended behavior in any future implementations

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.4;

import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol";
import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/utils/Context.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/utils/introspection/ERC165.sol";

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata and Enumerable extension. Built to optimize for lower gas during batch mints.
 *
 * Assumes serials are sequentially minted starting at 0 (e.g. 0, 1, 2, 3..).
 *
 * Assumes the number of issuable tokens (collection size) is capped and fits in a uint128.
 *
 * Does not support burning tokens to address(0).
 */
contract ERC721R is
  Context,
  ERC165,
  IERC721,
  IERC721Metadata,
  IERC721Enumerable
{
  using Address for address;
  using Strings for uint256;

  struct TokenOwnership {
    address addr;
    uint64 startTimestamp;
  }

  struct AddressData {
    uint128 balance;
    uint128 numberMinted;
  }

  uint256 private currentIndex = 0;
  uint256 internal refundEligbleSum; // Value of eligible refunds at original rate

  uint256 internal collectionSize;
  uint256 internal maxBatchSize;
  uint256 internal immutable refundTimeIntervals; // / When refund cliffs
  uint256 internal immutable refundIncrements; // // How much decrease % at cliff

  // Token name
  string private _name;

  // Token symbol
  string private _symbol;

  // Mapping from token ID to ownership details
  // An empty struct value does not necessarily mean the token is unowned. See ownershipOf implementation for details.
  mapping(uint256 => TokenOwnership) private _ownerships;

  // Mapping owner address to address data
  mapping(address => AddressData) private _addressData;

  // 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;

  // Mappring from token ID to purchase price 0 if transfered
  mapping(uint256 => uint256) private _tokenPurchasePriceCurrent;

  /**
   * @dev
   * `maxBatchSize` refers to how much a minter can mint at a time.
   * `collectionSize_` refers to how many tokens are in the collection.
   * `refundTimeIntervals_` refers to epoch between each interval
   * `refundIncrements_` refers to percentage decrease in refund
   */
  constructor(
    string memory name_,
    string memory symbol_,
    uint256 maxBatchSize_,
    uint256 collectionSize_,
    uint256 refundTimeIntervals_,
    uint256 refundIncrements_
  ) {
    require(
      collectionSize_ > 0,
      "ERC721R: collection must have a nonzero supply"
    );
    require(maxBatchSize_ > 0, "ERC721R: max batch size must be nonzero");
    _name = name_;
    _symbol = symbol_;
    maxBatchSize = maxBatchSize_;
    collectionSize = collectionSize_;
    refundTimeIntervals = refundTimeIntervals_;
    refundIncrements = refundIncrements_;
  }

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

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

  /**
   * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
   * This read function is O(collectionSize). If calling from a separate contract, be sure to test gas first.
   * It may also degrade with extremely large collection sizes (e.g >> 10000), test for your use case.
   */
  function tokenOfOwnerByIndex(address owner, uint256 index)
    public
    view
    override
    returns (uint256)
  {
    require(index < balanceOf(owner), "ERC721R: owner index out of bounds");
    uint256 numMintedSoFar = totalSupply();
    uint256 tokenIdsIdx = 0;
    address currOwnershipAddr = address(0);
    for (uint256 i = 0; i < numMintedSoFar; i++) {
      TokenOwnership memory ownership = _ownerships[i];
      if (ownership.addr != address(0)) {
        currOwnershipAddr = ownership.addr;
      }
      if (currOwnershipAddr == owner) {
        if (tokenIdsIdx == index) {
          return i;
        }
        tokenIdsIdx++;
      }
    }
    revert("ERC721R: unable to get token of owner by index");
  }

  /**
   * @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 ||
      interfaceId == type(IERC721Enumerable).interfaceId ||
      super.supportsInterface(interfaceId);
  }

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

  function _numberMinted(address owner) internal view returns (uint256) {
    require(
      owner != address(0),
      "ERC721R: number minted query for the zero address"
    );
    return uint256(_addressData[owner].numberMinted);
  }

  function ownershipOf(uint256 tokenId)
    internal
    view
    returns (TokenOwnership memory)
  {
    require(_exists(tokenId), "ERC721R: owner query for nonexistent token");

    uint256 lowestTokenToCheck;
    if (tokenId >= maxBatchSize) {
      lowestTokenToCheck = tokenId - maxBatchSize + 1;
    }

    for (uint256 curr = tokenId; curr >= lowestTokenToCheck; curr--) {
      TokenOwnership memory ownership = _ownerships[curr];
      if (ownership.addr != address(0)) {
        return ownership;
      }
    }

    revert("ERC721R: unable to determine the owner of token");
  }

  /**
   * @dev See {IERC721-ownerOf}.
   */
  function ownerOf(uint256 tokenId) public view override returns (address) {
    return ownershipOf(tokenId).addr;
  }

  /**
   * @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 override {
    address owner = ERC721R.ownerOf(tokenId);
    require(to != owner, "ERC721R: approval to current owner");

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

    _approve(to, tokenId, owner);
  }

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

    return _tokenApprovals[tokenId];
  }

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

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

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

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

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

  /**
   * @dev See {IERC721-safeTransferFrom}.
  */
  function safeTransferFrom(
    address from,
    address to,
    uint256 tokenId,
    bytes memory _data
  ) public override {
    _transfer(from, to, tokenId);
    require(
      _checkOnERC721Received(from, to, tokenId, _data),
      "ERC721R: 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`),
   */
  function _exists(uint256 tokenId) internal view returns (bool) {
    return tokenId < currentIndex;
  }

  function _safeMint(address to, uint256 quantity, uint256 purchasePrice) internal {
    _safeMint(to, quantity, purchasePrice, "");
  }

  /**
   * @dev Mints `quantity` tokens and transfers them to `to`.
   *
   * Requirements:
   *
   * - there must be `quantity` tokens remaining unminted in the total collection.
   * - `to` cannot be the zero address.
   * - `quantity` cannot be larger than the max batch size.
   *
   * Emits a {Transfer} event.
   */
  function _safeMint(
    address to,
    uint256 quantity,
    uint256 purchasePrice,
    bytes memory _data
  ) internal {
    uint256 startTokenId = currentIndex;
    require(to != address(0), "ERC721R: mint to the zero address");
    // We know if the first token in the batch doesn't exist, the other ones don't as well, because of serial ordering.
    require(!_exists(startTokenId), "ERC721R: token already minted");
    require(quantity <= maxBatchSize, "ERC721R: quantity to mint too high"); // NOTE PODIUM WILL USE 77 FOR DEV MINT. ENSURE NO EXPLOIT POSSIBLE

    _beforeTokenTransfers(address(0), to, startTokenId, quantity);

    AddressData memory addressData = _addressData[to];
    _addressData[to] = AddressData(
      addressData.balance + uint128(quantity),
      addressData.numberMinted + uint128(quantity)
    );
    _ownerships[startTokenId] = TokenOwnership(to, uint64(block.timestamp));

    uint256 updatedIndex = startTokenId;

    for (uint256 i = 0; i < quantity; i++) {
      emit Transfer(address(0), to, updatedIndex);
      require(
        _checkOnERC721Received(address(0), to, updatedIndex, _data),
        "ERC721R: transfer to non ERC721Receiver implementer"
      );

      if(purchasePrice > 0) { // Team mint
        _tokenPurchasePriceCurrent[updatedIndex] = purchasePrice; // What was token purchased at
      }
      updatedIndex++;
    }

    currentIndex = updatedIndex;
    _afterTokenTransfers(address(0), to, startTokenId, quantity);
  }

  /**
   * @dev Transfers `tokenId` from `from` to `to`.
   *
   * 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
  ) private {
    TokenOwnership memory prevOwnership = ownershipOf(tokenId);

    bool isApprovedOrOwner = (_msgSender() == prevOwnership.addr ||
      getApproved(tokenId) == _msgSender() ||
      isApprovedForAll(prevOwnership.addr, _msgSender()));

    require(
      isApprovedOrOwner,
      "ERC721R: transfer caller is not owner nor approved"
    );

    require(
      prevOwnership.addr == from,
      "ERC721R: transfer from incorrect owner"
    );
    require(to != address(0), "ERC721R: transfer to the zero address");

    _beforeTokenTransfers(from, to, tokenId, 1);

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

    _addressData[from].balance -= 1;
    _addressData[to].balance += 1;
    _ownerships[tokenId] = TokenOwnership(to, uint64(block.timestamp));

    // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it.
    // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls.
    uint256 nextTokenId = tokenId + 1;
    if (_ownerships[nextTokenId].addr == address(0)) {
      if (_exists(nextTokenId)) {
        _ownerships[nextTokenId] = TokenOwnership(
          prevOwnership.addr,
          prevOwnership.startTimestamp
        );
      }
    }

    // Refund logic to set purchase price of token
    // If eligible
    if(_checkPurchasePriceCurrent(tokenId) > 0){
      refundEligbleSum -= _tokenPurchasePriceCurrent[tokenId];
      _tokenPurchasePriceCurrent[tokenId] = 0; // Transfer voids refund
    }

    emit Transfer(from, to, tokenId);
    _afterTokenTransfers(from, to, tokenId, 1);
  }

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

  uint256 public nextOwnerToExplicitlySet = 0;

  /**
   * @dev Explicitly set `owners` to eliminate loops in future calls of ownerOf().
   */
  function _setOwnersExplicit(uint256 quantity) internal {
    uint256 oldNextOwnerToSet = nextOwnerToExplicitlySet;
    require(quantity > 0, "quantity must be nonzero");
    uint256 endIndex = oldNextOwnerToSet + quantity - 1;
    if (endIndex > collectionSize - 1) {
      endIndex = collectionSize - 1;
    }
    // We know if the last one in the group exists, all in the group exist, due to serial ordering.
    require(_exists(endIndex), "not enough minted yet for this cleanup");
    for (uint256 i = oldNextOwnerToSet; i <= endIndex; i++) {
      if (_ownerships[i].addr == address(0)) {
        TokenOwnership memory ownership = ownershipOf(i);
        _ownerships[i] = TokenOwnership(
          ownership.addr,
          ownership.startTimestamp
        );
      }
    }
    nextOwnerToExplicitlySet = endIndex + 1;
  }

  /**
   * @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(to).onERC721Received.selector;
      } catch (bytes memory reason) {
        if (reason.length == 0) {
          revert("ERC721R: transfer to non ERC721Receiver implementer");
        } else {
          assembly {
            revert(add(32, reason), mload(reason))
          }
        }
      }
    } else {
      return true;
    }
  }

  /**
   * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting.
   *
   * startTokenId - the first token id to be transferred
   * quantity - the amount to be transferred
   *
   * 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`.
   */
  function _beforeTokenTransfers(
    address from,
    address to,
    uint256 startTokenId,
    uint256 quantity
  ) internal virtual {}

  /**
   * @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes
   * minting.
   *
   * startTokenId - the first token id to be transferred
   * quantity - the amount to be transferred
   *
   * Calling conditions:
   *
   * - when `from` and `to` are both non-zero.
   * - `from` and `to` are never both zero.
   */
  function _afterTokenTransfers(
    address from,
    address to,
    uint256 startTokenId,
    uint256 quantity
  ) internal virtual {}


  /**
  * Will current period in timestamp
  */
  function _currentPeriod(uint32 _refundStartTime) internal view
    returns (uint32){

      if (block.timestamp < (_refundStartTime + (1 * refundTimeIntervals))){
            return 0;
        } 
        else if (block.timestamp < (_refundStartTime + (2 * refundTimeIntervals))){
            return 1;
        } 
        else if (block.timestamp < (_refundStartTime + (3 * refundTimeIntervals))){
            return 2;
        } 
        else if (block.timestamp < (_refundStartTime + (4 * refundTimeIntervals))){
            return 3;
        } 
        else if (block.timestamp < (_refundStartTime + (5 * refundTimeIntervals))){
            return 4;
        }
        else{
            return 5;
        }
    }


  /**
   * @dev Function that returns the mint price of the token. 
   * Will be 0 if transfered
   * Calling conditions:
   *
   * - `tokenId` is the queried tokenId
   */
  function checkPurchasePriceCurrent(uint256 tokenId) public view virtual returns (uint256) {
    return _checkPurchasePriceCurrent(tokenId);
  }

  function _checkPurchasePriceCurrent(uint256 tokenId) internal view virtual returns (uint256) {
    return _tokenPurchasePriceCurrent[tokenId];
  }



  /**
   * @dev Send token to refund address
   * If eligible (price not 0 either dev mint or transfer)
   * Calling conditions:
   *
   * - `from` is address of the refunder
   * - `to` is the address where refunded token will go
   * - `tokenId` is the queried tokenId
   */
  function _refund(
    address from,
    address to,
    uint256 tokenId
    ) internal {

    require(_checkPurchasePriceCurrent(tokenId) > 0, "Token has already been refunded or minted by devs");
    safeTransferFrom(from, to, tokenId, "");

  }

  /**
   * @dev Owner and date owned of token
   * Calling conditions:
   *
   * - `tokenId` is the queried tokenId
   */
  function ownerOfData(uint256 tokenId) public view returns (TokenOwnership memory) {
    return ownershipOf(tokenId);
  }

}

File 7 of 15 : MerkleProof.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (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.
 *
 * WARNING: You should avoid using leaf values that are 64 bytes long prior to
 * hashing, or use a hash function other than keccak256 for hashing leaves.
 * This is because the concatenation of a sorted pair of internal nodes in
 * the merkle tree could be reinterpreted as a leaf value.
 */
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 Merkle 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 = _efficientHash(computedHash, proofElement);
            } else {
                // Hash(current element of the proof + current computed hash)
                computedHash = _efficientHash(proofElement, computedHash);
            }
        }
        return computedHash;
    }

    function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) {
        assembly {
            mstore(0x00, a)
            mstore(0x20, b)
            value := keccak256(0x00, 0x40)
        }
    }
}

File 8 of 15 : 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 9 of 15 : 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 10 of 15 : 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 11 of 15 : 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 12 of 15 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (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);

    /**
     * @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 13 of 15 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @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
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 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 14 of 15 : 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 15 of 15 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"uint32","name":"publicSaleStart_","type":"uint32"},{"internalType":"uint32","name":"mintListSaleStart_","type":"uint32"},{"internalType":"bytes32","name":"merkleRoot_","type":"bytes32"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","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":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[{"internalType":"address","name":"newMember","type":"address"}],"name":"addTeamMemberAdmin","outputs":[],"stateMutability":"nonpayable","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":[{"internalType":"address","name":"_teamRefundTreasury","type":"address"}],"name":"changeTeamRefundTreasury","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"checkPurchasePriceCurrent","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"checkRefundEligbleSum","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"checkRefundedAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"name":"functionLocked","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"fundsNeededForRefund","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getOwnershipData","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"}],"internalType":"struct ERC721R.TokenOwnership","name":"","type":"tuple"}],"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":"isMintListSaleOn","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"},{"internalType":"address","name":"_wallet","type":"address"}],"name":"isOnMintList","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPublicSaleOn","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isRefundActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"checkAddress","type":"address"}],"name":"isTeamMemberAdmin","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"id","type":"bytes4"}],"name":"lockFunction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint64","name":"_mintListPrice","type":"uint64"},{"internalType":"uint64","name":"_publicPrice","type":"uint64"},{"internalType":"uint32","name":"_publicSaleStart","type":"uint32"},{"internalType":"uint32","name":"_mintListSaleStart","type":"uint32"},{"internalType":"uint256","name":"_maxMintPublic","type":"uint256"},{"internalType":"uint256","name":"_collectionSize","type":"uint256"}],"name":"manageSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"maxMintPublic","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"mintListClaimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"mintListMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintListPrice","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintListSaleStart","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nextOwnerToExplicitlySet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"numberMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOfData","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"}],"internalType":"struct ERC721R.TokenOwnership","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicPrice","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"publicSaleMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"publicSaleStart","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"refund","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"refundPaidSum","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"refundRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newMember","type":"address"}],"name":"removeTeamMemberAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"setOwnersExplicit","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":"quantity","type":"uint256"}],"name":"teamInitMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"quantity","type":"uint256"},{"internalType":"bool","name":"emergencyOverride","type":"bool"},{"internalType":"uint256","name":"purchasePriceOverride","type":"uint256"}],"name":"teamInitMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"teamMember","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"tokenId","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":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_newMerkleroot","type":"bytes32"}],"name":"updateMintListHash","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawPossibleAmount","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60c060405260006001819055600c556002600f556103096010556039601155621275006012556014601381905580546f0214e8348c4f000001aa535d3d0c00006001600160801b0319909116179055601a80546001600160a01b031916331790553480156200006d57600080fd5b50604051620047e5380380620047e5833981016040819052620000909162000389565b60405180604001604052806006815260200165506f6469756d60d01b81525060405180604001604052806006815260200165504f4449554d60d01b815250601154601054601254601354620000f4620000ee6200027560201b60201c565b62000279565b60008311620001615760405162461bcd60e51b815260206004820152602e60248201527f455243373231523a20636f6c6c656374696f6e206d757374206861766520612060448201526d6e6f6e7a65726f20737570706c7960901b60648201526084015b60405180910390fd5b60008411620001c35760405162461bcd60e51b815260206004820152602760248201527f455243373231523a206d61782062617463682073697a65206d757374206265206044820152666e6f6e7a65726f60c81b606482015260840162000158565b8551620001d8906005906020890190620002c9565b508451620001ee906006906020880190620002c9565b5060049390935560039190915560805260a05250506001600d819055600e805460ff1990811690915560148054600160801b600160c01b031916600160801b63ffffffff9788160263ffffffff60a01b191617600160a01b959096169490940294909417909255601b55336000908152601760205260409020805490921617905562000406565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b828054620002d790620003ca565b90600052602060002090601f016020900481019282620002fb576000855562000346565b82601f106200031657805160ff191683800117855562000346565b8280016001018555821562000346579182015b828111156200034657825182559160200191906001019062000329565b506200035492915062000358565b5090565b5b8082111562000354576000815560010162000359565b805163ffffffff811681146200038457600080fd5b919050565b6000806000606084860312156200039f57600080fd5b620003aa846200036f565b9250620003ba602085016200036f565b9150604084015190509250925092565b600181811c90821680620003df57607f821691505b6020821081036200040057634e487b7160e01b600052602260045260246000fd5b50919050565b60805160a0516143966200044f600039600061209a015260008181610f2d015281816132d7015281816133210152818161336b015281816133b501526133ff01526143966000f3fe6080604052600436106103975760003560e01c806355f804b3116101dc578063b0846e9211610102578063d7224ba0116100a0578063e985e9c51161006f578063e985e9c514610a9c578063ef9b63ba14610ae5578063f2fde38b14610afb578063f3d4d96d14610b1b57600080fd5b8063d7224ba014610a25578063dc33e68114610a3b578063e1c12cbe14610a5b578063e8d6bd5c14610a7b57600080fd5b8063bbaa5125116100dc578063bbaa51251461099c578063bbadfe76146109b1578063bd7d4370146109e1578063c87b56dd14610a0557600080fd5b8063b0846e9214610949578063b3ab66b014610969578063b88d4fde1461097c57600080fd5b8063831cb8e81161017a5780639231ab2a116101495780639231ab2a1461047b57806395d89b41146108ce578063a22cb465146108e3578063a945bf801461090357600080fd5b8063831cb8e8146108705780638456cb591461088557806385cb6b1d1461089a5780638da5cb5b146108b057600080fd5b80636352211e116101b65780636352211e146107fb57806370a082311461081b578063715018a61461083b578063718631411461085057600080fd5b806355f804b3146107ae5780635c12a0c1146107ce5780635c975abb146107e357600080fd5b8063303fe55d116102c15780633f5e47411161025f5780634f6ccce71161022e5780634f6ccce7146107295780635050bfd314610749578063514efa4f1461076957806355410af01461079957600080fd5b80633f5e4741146106b15780634109343a146106d657806342842e0e146106f65780634a2de55b1461071657600080fd5b806334092f4f1161029b57806334092f4f1461063c578063345318281461065c578063361874a71461067c5780633f4ba83a1461069c57600080fd5b8063303fe55d146105be57806330b84762146105ee5780633360caa01461060357600080fd5b8063152d061f11610339578063278ecde111610308578063278ecde1146105485780632d20fb60146105685780632eb4a7ab146105885780632f745c591461059e57600080fd5b8063152d061f146104e957806318160ddd146104fe57806323b872dd14610513578063267f39ab1461053357600080fd5b8063081812fc11610375578063081812fc14610421578063095ea7b314610459578063101a8a701461047b578063113017f3146104c957600080fd5b80630139d40f1461039c57806301ffc9a7146103cf57806306fdde03146103ff575b600080fd5b3480156103a857600080fd5b506103bc6103b7366004613c74565b610b3b565b6040519081526020015b60405180910390f35b3480156103db57600080fd5b506103ef6103ea366004613ca3565b610b51565b60405190151581526020016103c6565b34801561040b57600080fd5b50610414610c20565b6040516103c69190613d18565b34801561042d57600080fd5b5061044161043c366004613c74565b610cb2565b6040516001600160a01b0390911681526020016103c6565b34801561046557600080fd5b50610479610474366004613d42565b610d52565b005b34801561048757600080fd5b5061049b610496366004613c74565b610e84565b6040805182516001600160a01b0316815260209283015167ffffffffffffffff1692810192909252016103c6565b3480156104d557600080fd5b506104796104e4366004613c74565b610ea1565b3480156104f557600080fd5b506103bc610ef3565b34801561050a57600080fd5b506001546103bc565b34801561051f57600080fd5b5061047961052e366004613d6c565b610f1b565b34801561053f57600080fd5b506103ef610f26565b34801561055457600080fd5b50610479610563366004613c74565b610f74565b34801561057457600080fd5b50610479610583366004613c74565b611220565b34801561059457600080fd5b506103bc601b5481565b3480156105aa57600080fd5b506103bc6105b9366004613d42565b6112d5565b3480156105ca57600080fd5b506103ef6105d9366004613da8565b60176020526000908152604090205460ff1681565b3480156105fa57600080fd5b50610479611476565b34801561060f57600080fd5b5060145461062790600160801b900463ffffffff1681565b60405163ffffffff90911681526020016103c6565b34801561064857600080fd5b50610479610657366004613c74565b611665565b34801561066857600080fd5b50610479610677366004613ca3565b6116bf565b34801561068857600080fd5b50610479610697366004613da8565b611731565b3480156106a857600080fd5b506104796117c0565b3480156106bd57600080fd5b50601454600160801b900463ffffffff164210156103ef565b3480156106e257600080fd5b506104796106f1366004613def565b611815565b34801561070257600080fd5b50610479610711366004613d6c565b611986565b610479610724366004613ea1565b6119a1565b34801561073557600080fd5b506103bc610744366004613c74565b611d18565b34801561075557600080fd5b506103ef610764366004613da8565b611d9b565b34801561077557600080fd5b506103ef610784366004613da8565b60166020526000908152604090205460ff1681565b3480156107a557600080fd5b506103bc611e0b565b3480156107ba57600080fd5b506104796107c9366004613ee3565b611e5f565b3480156107da57600080fd5b506103bc611eb8565b3480156107ef57600080fd5b50600e5460ff166103ef565b34801561080757600080fd5b50610441610816366004613c74565b611f0c565b34801561082757600080fd5b506103bc610836366004613da8565b611f1e565b34801561084757600080fd5b50610479611fc1565b34801561085c57600080fd5b5061047961086b366004613da8565b612025565b34801561087c57600080fd5b506103bc612096565b34801561089157600080fd5b506104796120ef565b3480156108a657600080fd5b506103bc60155481565b3480156108bc57600080fd5b506000546001600160a01b0316610441565b3480156108da57600080fd5b50610414612144565b3480156108ef57600080fd5b506104796108fe366004613f65565b612153565b34801561090f57600080fd5b506014546109309068010000000000000000900467ffffffffffffffff1681565b60405167ffffffffffffffff90911681526020016103c6565b34801561095557600080fd5b506103ef610964366004613f98565b612217565b610479610977366004613c74565b61229d565b34801561098857600080fd5b50610479610997366004614002565b61258c565b3480156109a857600080fd5b506103ef61261b565b3480156109bd57600080fd5b506103ef6109cc366004613ca3565b60186020526000908152604090205460ff1681565b3480156109ed57600080fd5b5060145461062790600160a01b900463ffffffff1681565b348015610a1157600080fd5b50610414610a20366004613c74565b61264e565b348015610a3157600080fd5b506103bc600c5481565b348015610a4757600080fd5b506103bc610a56366004613da8565b612729565b348015610a6757600080fd5b50610479610a763660046140de565b612734565b348015610a8757600080fd5b506014546109309067ffffffffffffffff1681565b348015610aa857600080fd5b506103ef610ab7366004614122565b6001600160a01b039182166000908152600a6020908152604080832093909416825291909152205460ff1690565b348015610af157600080fd5b506103bc600f5481565b348015610b0757600080fd5b50610479610b16366004613da8565b612809565b348015610b2757600080fd5b50610479610b36366004613da8565b6128e8565b6000818152600b60205260408120545b92915050565b60006001600160e01b031982167f80ac58cd000000000000000000000000000000000000000000000000000000001480610bb457506001600160e01b031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b80610be857506001600160e01b031982167f780e9d6300000000000000000000000000000000000000000000000000000000145b80610b4b57507f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b0319831614610b4b565b606060058054610c2f9061414c565b80601f0160208091040260200160405190810160405280929190818152602001828054610c5b9061414c565b8015610ca85780601f10610c7d57610100808354040283529160200191610ca8565b820191906000526020600020905b815481529060010190602001808311610c8b57829003601f168201915b5050505050905090565b6000610cbf826001541190565b610d365760405162461bcd60e51b815260206004820152602d60248201527f455243373231523a20617070726f76656420717565727920666f72206e6f6e6560448201527f78697374656e7420746f6b656e0000000000000000000000000000000000000060648201526084015b60405180910390fd5b506000908152600960205260409020546001600160a01b031690565b6000610d5d82611f0c565b9050806001600160a01b0316836001600160a01b031603610de65760405162461bcd60e51b815260206004820152602260248201527f455243373231523a20617070726f76616c20746f2063757272656e74206f776e60448201527f65720000000000000000000000000000000000000000000000000000000000006064820152608401610d2d565b336001600160a01b0382161480610e025750610e028133610ab7565b610e745760405162461bcd60e51b815260206004820152603960248201527f455243373231523a20617070726f76652063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656420666f7220616c6c000000000000006064820152608401610d2d565b610e7f838383612956565b505050565b6040805180820190915260008082526020820152610b4b826129bf565b3360009081526017602052604090205460ff16610eee5760405162461bcd60e51b815260206004820152601660248201526000805160206143418339815191526044820152606401610d2d565b601b55565b60006064610eff612096565b600254610f0c919061419c565b610f1691906141d1565b905090565b610e7f838383612b4f565b6000610f537f0000000000000000000000000000000000000000000000000000000000000000600561419c565b601454610f6d9190600160801b900463ffffffff166141e5565b4210905090565b6002600d5403610fc65760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610d2d565b6002600d5532331461101a5760405162461bcd60e51b815260206004820152601e60248201527f5468652063616c6c657220697320616e6f7468657220636f6e747261637400006044820152606401610d2d565b600e5460ff16156110605760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610d2d565b611068610f26565b6110b45760405162461bcd60e51b815260206004820152600e60248201527f526566756e64206973206f7665720000000000000000000000000000000000006044820152606401610d2d565b6000818152600b6020526040902054806111365760405162461bcd60e51b815260206004820152602660248201527f546f6b656e20776173206d696e7465642062792064657673206f72207472616e60448201527f73666572656400000000000000000000000000000000000000000000000000006064820152608401610d2d565b3361114083611f0c565b6001600160a01b0316146111965760405162461bcd60e51b815260206004820152601460248201527f596f7520646f206e6f74206f776e20746f6b656e0000000000000000000000006044820152606401610d2d565b601a546111ae9033906001600160a01b031684612f5b565b600060646111ba612096565b6111c4908461419c565b6111ce91906141d1565b604051909150339082156108fc029083906000818181858888f193505050501580156111fe573d6000803e3d6000fd5b50806015600082825461121191906141e5565b90915550506001600d55505050565b3360009081526017602052604090205460ff1661126d5760405162461bcd60e51b815260206004820152601660248201526000805160206143418339815191526044820152606401610d2d565b6002600d54036112bf5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610d2d565b6002600d556112cd81612fdd565b506001600d55565b60006112e083611f1e565b82106113545760405162461bcd60e51b815260206004820152602260248201527f455243373231523a206f776e657220696e646578206f7574206f6620626f756e60448201527f64730000000000000000000000000000000000000000000000000000000000006064820152608401610d2d565b600061135f60015490565b905060008060005b83811015611407576000818152600760209081526040918290208251808401909352546001600160a01b038116808452600160a01b90910467ffffffffffffffff1691830191909152156113ba57805192505b876001600160a01b0316836001600160a01b0316036113f4578684036113e657509350610b4b92505050565b836113f0816141fd565b9450505b50806113ff816141fd565b915050611367565b5060405162461bcd60e51b815260206004820152602e60248201527f455243373231523a20756e61626c6520746f2067657420746f6b656e206f662060448201527f6f776e657220627920696e6465780000000000000000000000000000000000006064820152608401610d2d565b3360009081526017602052604090205460ff166114c35760405162461bcd60e51b815260206004820152601660248201526000805160206143418339815191526044820152606401610d2d565b600e5460ff16156115095760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610d2d565b611511610f26565b156115c9576000611520610ef3565b61152a9047614216565b604051909150600090339083908381818185875af1925050503d806000811461156f576040519150601f19603f3d011682016040523d82523d6000602084013e611574565b606091505b50509050806115c55760405162461bcd60e51b815260206004820152601060248201527f5472616e73666572206661696c65642e000000000000000000000000000000006044820152606401610d2d565b5050565b604051600090339047908381818185875af1925050503d806000811461160b576040519150601f19603f3d011682016040523d82523d6000602084013e611610565b606091505b50509050806116615760405162461bcd60e51b815260206004820152601060248201527f5472616e73666572206661696c65642e000000000000000000000000000000006044820152606401610d2d565b505b565b3360009081526017602052604090205460ff166116b25760405162461bcd60e51b815260206004820152601660248201526000805160206143418339815191526044820152606401610d2d565b6116613382600080612734565b3360009081526017602052604090205460ff1661170c5760405162461bcd60e51b815260206004820152601660248201526000805160206143418339815191526044820152606401610d2d565b6001600160e01b0319166000908152601860205260409020805460ff19166001179055565b3360009081526017602052604090205460ff1661177e5760405162461bcd60e51b815260206004820152601660248201526000805160206143418339815191526044820152606401610d2d565b6001600160a01b03811661179157600080fd5b601a805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b3360009081526017602052604090205460ff1661180d5760405162461bcd60e51b815260206004820152601660248201526000805160206143418339815191526044820152606401610d2d565b6116636131a6565b3360009081526017602052604090205460ff166118625760405162461bcd60e51b815260206004820152601660248201526000805160206143418339815191526044820152606401610d2d565b600080356001600160e01b03191681526018602052604090205460ff16156118cc5760405162461bcd60e51b815260206004820152601860248201527f46756e6374696f6e20686173206265656e206c6f636b656400000000000000006044820152606401610d2d565b6014805467ffffffffffffffff9788167fffffffffffffffffffffffffffffffff0000000000000000000000000000000090911617680100000000000000009690971695909502959095177fffffffffffffffff0000000000000000ffffffffffffffffffffffffffffffff16600160801b63ffffffff948516027fffffffffffffffff00000000ffffffffffffffffffffffffffffffffffffffff1617600160a01b929093169190910291909117909155600f55600355565b610e7f8383836040518060200160405280600081525061258c565b6002600d54036119f35760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610d2d565b6002600d55323314611a475760405162461bcd60e51b815260206004820152601e60248201527f5468652063616c6c657220697320616e6f7468657220636f6e747261637400006044820152606401610d2d565b600e5460ff1615611a8d5760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610d2d565b600354600154611a9e9060016141e5565b1115611aec5760405162461bcd60e51b815260206004820152601160248201527f416c6c20746f6b656e73206d696e7465640000000000000000000000000000006044820152606401610d2d565b611af461261b565b611b405760405162461bcd60e51b815260206004820152601360248201527f4d696e746c697374206e6f7420616374697665000000000000000000000000006044820152606401610d2d565b3360009081526016602052604090205460ff1615611ba05760405162461bcd60e51b815260206004820152601160248201527f416c7265616479206d696e74656420574c0000000000000000000000000000006044820152606401610d2d565b6040516bffffffffffffffffffffffff193360601b166020820152600090603401604051602081830303815290604052805190602001209050611c1a83838080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050601b549150849050613242565b611c665760405162461bcd60e51b815260206004820152600960248201527f4e6f74206f6e204d4c00000000000000000000000000000000000000000000006044820152606401610d2d565b60145467ffffffffffffffff163414611cc15760405162461bcd60e51b815260206004820152601460248201527f496e76616c696420457468657220616d6f756e740000000000000000000000006044820152606401610d2d565b336000818152601660205260409020805460ff19166001908117909155601454611cf692919067ffffffffffffffff16613258565b6014546002805467ffffffffffffffff909216916000906112119084906141e5565b6000611d2360015490565b8210611d975760405162461bcd60e51b815260206004820152602360248201527f455243373231523a20676c6f62616c20696e646578206f7574206f6620626f7560448201527f6e647300000000000000000000000000000000000000000000000000000000006064820152608401610d2d565b5090565b3360009081526017602052604081205460ff16611de85760405162461bcd60e51b815260206004820152601660248201526000805160206143418339815191526044820152606401610d2d565b506001600160a01b03811660009081526017602052604090205460ff165b919050565b3360009081526017602052604081205460ff16611e585760405162461bcd60e51b815260206004820152601660248201526000805160206143418339815191526044820152606401610d2d565b5060025490565b3360009081526017602052604090205460ff16611eac5760405162461bcd60e51b815260206004820152601660248201526000805160206143418339815191526044820152606401610d2d565b610e7f60198383613be4565b3360009081526017602052604081205460ff16611f055760405162461bcd60e51b815260206004820152601660248201526000805160206143418339815191526044820152606401610d2d565b5060155490565b6000611f17826129bf565b5192915050565b60006001600160a01b038216611f9c5760405162461bcd60e51b815260206004820152602b60248201527f455243373231523a2062616c616e636520717565727920666f7220746865207a60448201527f65726f20616464726573730000000000000000000000000000000000000000006064820152608401610d2d565b506001600160a01b03166000908152600860205260409020546001600160801b031690565b6000546001600160a01b0316331461201b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610d2d565b6116636000613273565b3360009081526017602052604090205460ff166120725760405162461bcd60e51b815260206004820152601660248201526000805160206143418339815191526044820152606401610d2d565b6001600160a01b03166000908152601760205260409020805460ff19166001179055565b60007f00000000000000000000000000000000000000000000000000000000000000006120d4601460109054906101000a900463ffffffff166132d0565b63ffffffff166120e4919061419c565b610f16906064614216565b3360009081526017602052604090205460ff1661213c5760405162461bcd60e51b815260206004820152601660248201526000805160206143418339815191526044820152606401610d2d565b61166361344c565b606060068054610c2f9061414c565b336001600160a01b038316036121ab5760405162461bcd60e51b815260206004820152601a60248201527f455243373231523a20617070726f766520746f2063616c6c65720000000000006044820152606401610d2d565b336000818152600a602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6040516bffffffffffffffffffffffff19606083901b166020820152600090819060340160405160208183030381529060405280519060200120905061229485858080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050601b549150849050613242565b95945050505050565b6002600d54036122ef5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610d2d565b6002600d553233146123435760405162461bcd60e51b815260206004820152601e60248201527f5468652063616c6c657220697320616e6f7468657220636f6e747261637400006044820152606401610d2d565b600e5460ff16156123895760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610d2d565b6003548161239660015490565b6123a091906141e5565b11156123ee5760405162461bcd60e51b815260206004820152601160248201527f416c6c20746f6b656e73206d696e7465640000000000000000000000000000006044820152606401610d2d565b600f54816123fb33612729565b61240591906141e5565b11156124535760405162461bcd60e51b815260206004820152601360248201527f416c6c6f77616e636520616c6c6f6361746564000000000000000000000000006044820152606401610d2d565b601454600160801b900463ffffffff164210156124b25760405162461bcd60e51b815260206004820152601660248201527f5075626c69632073616c65206e6f7420616374697665000000000000000000006044820152606401610d2d565b6014546124d690829068010000000000000000900467ffffffffffffffff1661419c565b34146125245760405162461bcd60e51b815260206004820152601460248201527f496e76616c696420457468657220616d6f756e740000000000000000000000006044820152606401610d2d565b60145461254a903390839068010000000000000000900467ffffffffffffffff16613258565b60145461256e90829068010000000000000000900467ffffffffffffffff1661419c565b6002600082825461257f91906141e5565b90915550506001600d5550565b612597848484612b4f565b6125a3848484846134c7565b6126155760405162461bcd60e51b815260206004820152603360248201527f455243373231523a207472616e7366657220746f206e6f6e204552433732315260448201527f6563656976657220696d706c656d656e746572000000000000000000000000006064820152608401610d2d565b50505050565b601454600090600160a01b900463ffffffff164210801590610f16575050601454600160801b900463ffffffff16421090565b606061265b826001541190565b6126cd5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006064820152608401610d2d565b60006126d761361f565b905060008151116126f75760405180602001604052806000815250612722565b806127018461362e565b60405160200161271292919061422d565b6040516020818303038152906040525b9392505050565b6000610b4b82613763565b3360009081526017602052604090205460ff166127815760405162461bcd60e51b815260206004820152601660248201526000805160206143418339815191526044820152606401610d2d565b816127fe576004548311156127fe5760405162461bcd60e51b815260206004820152602360248201527f4465762063616e6e6f74206d696e74206d6f7265207468616e20616c6c6f636160448201527f74656400000000000000000000000000000000000000000000000000000000006064820152608401610d2d565b612615848483613258565b6000546001600160a01b031633146128635760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610d2d565b6001600160a01b0381166128df5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610d2d565b61166181613273565b3360009081526017602052604090205460ff166129355760405162461bcd60e51b815260206004820152601660248201526000805160206143418339815191526044820152606401610d2d565b6001600160a01b03166000908152601760205260409020805460ff19169055565b600082815260096020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60408051808201909152600080825260208201526129de826001541190565b612a505760405162461bcd60e51b815260206004820152602a60248201527f455243373231523a206f776e657220717565727920666f72206e6f6e6578697360448201527f74656e7420746f6b656e000000000000000000000000000000000000000000006064820152608401610d2d565b60006004548310612a7657600454612a689084614216565b612a739060016141e5565b90505b825b818110612ae0576000818152600760209081526040918290208251808401909352546001600160a01b038116808452600160a01b90910467ffffffffffffffff169183019190915215612acd57949350505050565b5080612ad88161425c565b915050612a78565b5060405162461bcd60e51b815260206004820152602f60248201527f455243373231523a20756e61626c6520746f2064657465726d696e652074686560448201527f206f776e6572206f6620746f6b656e00000000000000000000000000000000006064820152608401610d2d565b6000612b5a826129bf565b80519091506000906001600160a01b0316336001600160a01b03161480612b91575033612b8684610cb2565b6001600160a01b0316145b80612ba357508151612ba39033610ab7565b905080612c185760405162461bcd60e51b815260206004820152603260248201527f455243373231523a207472616e736665722063616c6c6572206973206e6f742060448201527f6f776e6572206e6f7220617070726f76656400000000000000000000000000006064820152608401610d2d565b846001600160a01b031682600001516001600160a01b031614612ca35760405162461bcd60e51b815260206004820152602660248201527f455243373231523a207472616e736665722066726f6d20696e636f727265637460448201527f206f776e657200000000000000000000000000000000000000000000000000006064820152608401610d2d565b6001600160a01b038416612d1f5760405162461bcd60e51b815260206004820152602560248201527f455243373231523a207472616e7366657220746f20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610d2d565b612d2f6000848460000151612956565b6001600160a01b0385166000908152600860205260408120805460019290612d619084906001600160801b0316614273565b82546101009290920a6001600160801b038181021990931691831602179091556001600160a01b03861660009081526008602052604081208054600194509092612dad9185911661429b565b82546001600160801b039182166101009390930a9283029190920219909116179055506040805180820182526001600160a01b03808716825267ffffffffffffffff428116602080850191825260008981526007909152948520935184549151909216600160a01b026001600160e01b03199091169190921617179055612e358460016141e5565b6000818152600760205260409020549091506001600160a01b0316612ec757612e5f816001541190565b15612ec75760408051808201825284516001600160a01b03908116825260208087015167ffffffffffffffff9081168285019081526000878152600790935294909120925183549451909116600160a01b026001600160e01b03199094169116179190911790555b6000848152600b602052604090205415612f12576000848152600b60205260408120546002805491929091612efd908490614216565b90915550506000848152600b60205260408120555b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b6000818152600b6020526040812054116119865760405162461bcd60e51b815260206004820152603160248201527f546f6b656e2068617320616c7265616479206265656e20726566756e6465642060448201527f6f72206d696e74656420627920646576730000000000000000000000000000006064820152608401610d2d565b600c548161302d5760405162461bcd60e51b815260206004820152601860248201527f7175616e74697479206d757374206265206e6f6e7a65726f00000000000000006044820152606401610d2d565b6000600161303b84846141e5565b6130459190614216565b905060016003546130569190614216565b81111561306f57600160035461306c9190614216565b90505b61307a816001541190565b6130ec5760405162461bcd60e51b815260206004820152602660248201527f6e6f7420656e6f756768206d696e7465642079657420666f722074686973206360448201527f6c65616e757000000000000000000000000000000000000000000000000000006064820152608401610d2d565b815b818111613192576000818152600760205260409020546001600160a01b031661318057600061311c826129bf565b60408051808201825282516001600160a01b03908116825260209384015167ffffffffffffffff9081168584019081526000888152600790965293909420915182549351909416600160a01b026001600160e01b0319909316931692909217179055505b8061318a816141fd565b9150506130ee565b5061319e8160016141e5565b600c55505050565b600e5460ff166131f85760405162461bcd60e51b815260206004820152601460248201527f5061757361626c653a206e6f74207061757365640000000000000000000000006044820152606401610d2d565b600e805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b60008261324f858461380d565b14949350505050565b610e7f83838360405180602001604052806000815250613881565b600080546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60006132fd7f0000000000000000000000000000000000000000000000000000000000000000600161419c565b61330d9063ffffffff84166141e5565b42101561331c57506000919050565b6133477f0000000000000000000000000000000000000000000000000000000000000000600261419c565b6133579063ffffffff84166141e5565b42101561336657506001919050565b6133917f0000000000000000000000000000000000000000000000000000000000000000600361419c565b6133a19063ffffffff84166141e5565b4210156133b057506002919050565b6133db7f0000000000000000000000000000000000000000000000000000000000000000600461419c565b6133eb9063ffffffff84166141e5565b4210156133fa57506003919050565b6134257f0000000000000000000000000000000000000000000000000000000000000000600561419c565b6134359063ffffffff84166141e5565b42101561344457506004919050565b506005919050565b600e5460ff16156134925760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610d2d565b600e805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586132253390565b60006001600160a01b0384163b1561361357604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061350b9033908990889088906004016142bd565b6020604051808303816000875af1925050508015613546575060408051601f3d908101601f19168201909252613543918101906142f9565b60015b6135f9573d808015613574576040519150601f19603f3d011682016040523d82523d6000602084013e613579565b606091505b5080516000036135f15760405162461bcd60e51b815260206004820152603360248201527f455243373231523a207472616e7366657220746f206e6f6e204552433732315260448201527f6563656976657220696d706c656d656e746572000000000000000000000000006064820152608401610d2d565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050613617565b5060015b949350505050565b606060198054610c2f9061414c565b60608160000361367157505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b811561369b5780613685816141fd565b91506136949050600a836141d1565b9150613675565b60008167ffffffffffffffff8111156136b6576136b6613fec565b6040519080825280601f01601f1916602001820160405280156136e0576020820181803683370190505b5090505b8415613617576136f5600183614216565b9150613702600a86614316565b61370d9060306141e5565b60f81b8183815181106137225761372261432a565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535061375c600a866141d1565b94506136e4565b60006001600160a01b0382166137e15760405162461bcd60e51b815260206004820152603160248201527f455243373231523a206e756d626572206d696e74656420717565727920666f7260448201527f20746865207a65726f20616464726573730000000000000000000000000000006064820152608401610d2d565b506001600160a01b0316600090815260086020526040902054600160801b90046001600160801b031690565b600081815b845181101561387957600085828151811061382f5761382f61432a565b602002602001015190508083116138555760008381526020829052604090209250613866565b600081815260208490526040902092505b5080613871816141fd565b915050613812565b509392505050565b6001546001600160a01b0385166139005760405162461bcd60e51b815260206004820152602160248201527f455243373231523a206d696e7420746f20746865207a65726f2061646472657360448201527f73000000000000000000000000000000000000000000000000000000000000006064820152608401610d2d565b61390b816001541190565b156139585760405162461bcd60e51b815260206004820152601d60248201527f455243373231523a20746f6b656e20616c7265616479206d696e7465640000006044820152606401610d2d565b6004548411156139d05760405162461bcd60e51b815260206004820152602260248201527f455243373231523a207175616e7469747920746f206d696e7420746f6f20686960448201527f67680000000000000000000000000000000000000000000000000000000000006064820152608401610d2d565b6001600160a01b0385166000908152600860209081526040918290208251808401845290546001600160801b038082168352600160801b9091041691810191909152815180830190925280519091908190613a2c90889061429b565b6001600160801b03168152602001868360200151613a4a919061429b565b6001600160801b039081169091526001600160a01b0380891660008181526008602090815260408083208751978301518716600160801b0297909616969096179094558451808601865291825267ffffffffffffffff4281168386019081528883526007909552948120915182549451909516600160a01b026001600160e01b031990941694909216939093179190911790915582905b86811015613bd85760405182906001600160a01b038a16906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4613b2e60008984886134c7565b613ba05760405162461bcd60e51b815260206004820152603360248201527f455243373231523a207472616e7366657220746f206e6f6e204552433732315260448201527f6563656976657220696d706c656d656e746572000000000000000000000000006064820152608401610d2d565b8515613bb8576000828152600b602052604090208690555b81613bc2816141fd565b9250508080613bd0906141fd565b915050613ae1565b50600155505050505050565b828054613bf09061414c565b90600052602060002090601f016020900481019282613c125760008555613c58565b82601f10613c2b5782800160ff19823516178555613c58565b82800160010185558215613c58579182015b82811115613c58578235825591602001919060010190613c3d565b50611d979291505b80821115611d975760008155600101613c60565b600060208284031215613c8657600080fd5b5035919050565b6001600160e01b03198116811461166157600080fd5b600060208284031215613cb557600080fd5b813561272281613c8d565b60005b83811015613cdb578181015183820152602001613cc3565b838111156126155750506000910152565b60008151808452613d04816020860160208601613cc0565b601f01601f19169290920160200192915050565b6020815260006127226020830184613cec565b80356001600160a01b0381168114611e0657600080fd5b60008060408385031215613d5557600080fd5b613d5e83613d2b565b946020939093013593505050565b600080600060608486031215613d8157600080fd5b613d8a84613d2b565b9250613d9860208501613d2b565b9150604084013590509250925092565b600060208284031215613dba57600080fd5b61272282613d2b565b803567ffffffffffffffff81168114611e0657600080fd5b803563ffffffff81168114611e0657600080fd5b60008060008060008060c08789031215613e0857600080fd5b613e1187613dc3565b9550613e1f60208801613dc3565b9450613e2d60408801613ddb565b9350613e3b60608801613ddb565b92506080870135915060a087013590509295509295509295565b60008083601f840112613e6757600080fd5b50813567ffffffffffffffff811115613e7f57600080fd5b6020830191508360208260051b8501011115613e9a57600080fd5b9250929050565b60008060208385031215613eb457600080fd5b823567ffffffffffffffff811115613ecb57600080fd5b613ed785828601613e55565b90969095509350505050565b60008060208385031215613ef657600080fd5b823567ffffffffffffffff80821115613f0e57600080fd5b818501915085601f830112613f2257600080fd5b813581811115613f3157600080fd5b866020828501011115613f4357600080fd5b60209290920196919550909350505050565b80358015158114611e0657600080fd5b60008060408385031215613f7857600080fd5b613f8183613d2b565b9150613f8f60208401613f55565b90509250929050565b600080600060408486031215613fad57600080fd5b833567ffffffffffffffff811115613fc457600080fd5b613fd086828701613e55565b9094509250613fe3905060208501613d2b565b90509250925092565b634e487b7160e01b600052604160045260246000fd5b6000806000806080858703121561401857600080fd5b61402185613d2b565b935061402f60208601613d2b565b925060408501359150606085013567ffffffffffffffff8082111561405357600080fd5b818701915087601f83011261406757600080fd5b81358181111561407957614079613fec565b604051601f8201601f19908116603f011681019083821181831017156140a1576140a1613fec565b816040528281528a60208487010111156140ba57600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b600080600080608085870312156140f457600080fd5b6140fd85613d2b565b93506020850135925061411260408601613f55565b9396929550929360600135925050565b6000806040838503121561413557600080fd5b61413e83613d2b565b9150613f8f60208401613d2b565b600181811c9082168061416057607f821691505b60208210810361418057634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b60008160001904831182151516156141b6576141b6614186565b500290565b634e487b7160e01b600052601260045260246000fd5b6000826141e0576141e06141bb565b500490565b600082198211156141f8576141f8614186565b500190565b60006001820161420f5761420f614186565b5060010190565b60008282101561422857614228614186565b500390565b6000835161423f818460208801613cc0565b835190830190614253818360208801613cc0565b01949350505050565b60008161426b5761426b614186565b506000190190565b60006001600160801b038381169083168181101561429357614293614186565b039392505050565b60006001600160801b0380831681851680830382111561425357614253614186565b60006001600160a01b038087168352808616602084015250836040830152608060608301526142ef6080830184613cec565b9695505050505050565b60006020828403121561430b57600080fd5b815161272281613c8d565b600082614325576143256141bb565b500690565b634e487b7160e01b600052603260045260246000fdfe43616c6c6572206973206e6f7420616e206f776e657200000000000000000000a2646970667358221220e8a9b5f1bab91e0e4610800c6b0c2e9183b5f8c2d601c2223f20e15d3ca57c7064736f6c634300080d003300000000000000000000000000000000000000000000000000000000625c7fd0000000000000000000000000000000000000000000000000000000006259dcd049a8b8048ad2b09d42e82f2b2600c1a0efff7e2039beae137538dcd13aa05051

Deployed Bytecode

0x6080604052600436106103975760003560e01c806355f804b3116101dc578063b0846e9211610102578063d7224ba0116100a0578063e985e9c51161006f578063e985e9c514610a9c578063ef9b63ba14610ae5578063f2fde38b14610afb578063f3d4d96d14610b1b57600080fd5b8063d7224ba014610a25578063dc33e68114610a3b578063e1c12cbe14610a5b578063e8d6bd5c14610a7b57600080fd5b8063bbaa5125116100dc578063bbaa51251461099c578063bbadfe76146109b1578063bd7d4370146109e1578063c87b56dd14610a0557600080fd5b8063b0846e9214610949578063b3ab66b014610969578063b88d4fde1461097c57600080fd5b8063831cb8e81161017a5780639231ab2a116101495780639231ab2a1461047b57806395d89b41146108ce578063a22cb465146108e3578063a945bf801461090357600080fd5b8063831cb8e8146108705780638456cb591461088557806385cb6b1d1461089a5780638da5cb5b146108b057600080fd5b80636352211e116101b65780636352211e146107fb57806370a082311461081b578063715018a61461083b578063718631411461085057600080fd5b806355f804b3146107ae5780635c12a0c1146107ce5780635c975abb146107e357600080fd5b8063303fe55d116102c15780633f5e47411161025f5780634f6ccce71161022e5780634f6ccce7146107295780635050bfd314610749578063514efa4f1461076957806355410af01461079957600080fd5b80633f5e4741146106b15780634109343a146106d657806342842e0e146106f65780634a2de55b1461071657600080fd5b806334092f4f1161029b57806334092f4f1461063c578063345318281461065c578063361874a71461067c5780633f4ba83a1461069c57600080fd5b8063303fe55d146105be57806330b84762146105ee5780633360caa01461060357600080fd5b8063152d061f11610339578063278ecde111610308578063278ecde1146105485780632d20fb60146105685780632eb4a7ab146105885780632f745c591461059e57600080fd5b8063152d061f146104e957806318160ddd146104fe57806323b872dd14610513578063267f39ab1461053357600080fd5b8063081812fc11610375578063081812fc14610421578063095ea7b314610459578063101a8a701461047b578063113017f3146104c957600080fd5b80630139d40f1461039c57806301ffc9a7146103cf57806306fdde03146103ff575b600080fd5b3480156103a857600080fd5b506103bc6103b7366004613c74565b610b3b565b6040519081526020015b60405180910390f35b3480156103db57600080fd5b506103ef6103ea366004613ca3565b610b51565b60405190151581526020016103c6565b34801561040b57600080fd5b50610414610c20565b6040516103c69190613d18565b34801561042d57600080fd5b5061044161043c366004613c74565b610cb2565b6040516001600160a01b0390911681526020016103c6565b34801561046557600080fd5b50610479610474366004613d42565b610d52565b005b34801561048757600080fd5b5061049b610496366004613c74565b610e84565b6040805182516001600160a01b0316815260209283015167ffffffffffffffff1692810192909252016103c6565b3480156104d557600080fd5b506104796104e4366004613c74565b610ea1565b3480156104f557600080fd5b506103bc610ef3565b34801561050a57600080fd5b506001546103bc565b34801561051f57600080fd5b5061047961052e366004613d6c565b610f1b565b34801561053f57600080fd5b506103ef610f26565b34801561055457600080fd5b50610479610563366004613c74565b610f74565b34801561057457600080fd5b50610479610583366004613c74565b611220565b34801561059457600080fd5b506103bc601b5481565b3480156105aa57600080fd5b506103bc6105b9366004613d42565b6112d5565b3480156105ca57600080fd5b506103ef6105d9366004613da8565b60176020526000908152604090205460ff1681565b3480156105fa57600080fd5b50610479611476565b34801561060f57600080fd5b5060145461062790600160801b900463ffffffff1681565b60405163ffffffff90911681526020016103c6565b34801561064857600080fd5b50610479610657366004613c74565b611665565b34801561066857600080fd5b50610479610677366004613ca3565b6116bf565b34801561068857600080fd5b50610479610697366004613da8565b611731565b3480156106a857600080fd5b506104796117c0565b3480156106bd57600080fd5b50601454600160801b900463ffffffff164210156103ef565b3480156106e257600080fd5b506104796106f1366004613def565b611815565b34801561070257600080fd5b50610479610711366004613d6c565b611986565b610479610724366004613ea1565b6119a1565b34801561073557600080fd5b506103bc610744366004613c74565b611d18565b34801561075557600080fd5b506103ef610764366004613da8565b611d9b565b34801561077557600080fd5b506103ef610784366004613da8565b60166020526000908152604090205460ff1681565b3480156107a557600080fd5b506103bc611e0b565b3480156107ba57600080fd5b506104796107c9366004613ee3565b611e5f565b3480156107da57600080fd5b506103bc611eb8565b3480156107ef57600080fd5b50600e5460ff166103ef565b34801561080757600080fd5b50610441610816366004613c74565b611f0c565b34801561082757600080fd5b506103bc610836366004613da8565b611f1e565b34801561084757600080fd5b50610479611fc1565b34801561085c57600080fd5b5061047961086b366004613da8565b612025565b34801561087c57600080fd5b506103bc612096565b34801561089157600080fd5b506104796120ef565b3480156108a657600080fd5b506103bc60155481565b3480156108bc57600080fd5b506000546001600160a01b0316610441565b3480156108da57600080fd5b50610414612144565b3480156108ef57600080fd5b506104796108fe366004613f65565b612153565b34801561090f57600080fd5b506014546109309068010000000000000000900467ffffffffffffffff1681565b60405167ffffffffffffffff90911681526020016103c6565b34801561095557600080fd5b506103ef610964366004613f98565b612217565b610479610977366004613c74565b61229d565b34801561098857600080fd5b50610479610997366004614002565b61258c565b3480156109a857600080fd5b506103ef61261b565b3480156109bd57600080fd5b506103ef6109cc366004613ca3565b60186020526000908152604090205460ff1681565b3480156109ed57600080fd5b5060145461062790600160a01b900463ffffffff1681565b348015610a1157600080fd5b50610414610a20366004613c74565b61264e565b348015610a3157600080fd5b506103bc600c5481565b348015610a4757600080fd5b506103bc610a56366004613da8565b612729565b348015610a6757600080fd5b50610479610a763660046140de565b612734565b348015610a8757600080fd5b506014546109309067ffffffffffffffff1681565b348015610aa857600080fd5b506103ef610ab7366004614122565b6001600160a01b039182166000908152600a6020908152604080832093909416825291909152205460ff1690565b348015610af157600080fd5b506103bc600f5481565b348015610b0757600080fd5b50610479610b16366004613da8565b612809565b348015610b2757600080fd5b50610479610b36366004613da8565b6128e8565b6000818152600b60205260408120545b92915050565b60006001600160e01b031982167f80ac58cd000000000000000000000000000000000000000000000000000000001480610bb457506001600160e01b031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b80610be857506001600160e01b031982167f780e9d6300000000000000000000000000000000000000000000000000000000145b80610b4b57507f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b0319831614610b4b565b606060058054610c2f9061414c565b80601f0160208091040260200160405190810160405280929190818152602001828054610c5b9061414c565b8015610ca85780601f10610c7d57610100808354040283529160200191610ca8565b820191906000526020600020905b815481529060010190602001808311610c8b57829003601f168201915b5050505050905090565b6000610cbf826001541190565b610d365760405162461bcd60e51b815260206004820152602d60248201527f455243373231523a20617070726f76656420717565727920666f72206e6f6e6560448201527f78697374656e7420746f6b656e0000000000000000000000000000000000000060648201526084015b60405180910390fd5b506000908152600960205260409020546001600160a01b031690565b6000610d5d82611f0c565b9050806001600160a01b0316836001600160a01b031603610de65760405162461bcd60e51b815260206004820152602260248201527f455243373231523a20617070726f76616c20746f2063757272656e74206f776e60448201527f65720000000000000000000000000000000000000000000000000000000000006064820152608401610d2d565b336001600160a01b0382161480610e025750610e028133610ab7565b610e745760405162461bcd60e51b815260206004820152603960248201527f455243373231523a20617070726f76652063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656420666f7220616c6c000000000000006064820152608401610d2d565b610e7f838383612956565b505050565b6040805180820190915260008082526020820152610b4b826129bf565b3360009081526017602052604090205460ff16610eee5760405162461bcd60e51b815260206004820152601660248201526000805160206143418339815191526044820152606401610d2d565b601b55565b60006064610eff612096565b600254610f0c919061419c565b610f1691906141d1565b905090565b610e7f838383612b4f565b6000610f537f0000000000000000000000000000000000000000000000000000000000127500600561419c565b601454610f6d9190600160801b900463ffffffff166141e5565b4210905090565b6002600d5403610fc65760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610d2d565b6002600d5532331461101a5760405162461bcd60e51b815260206004820152601e60248201527f5468652063616c6c657220697320616e6f7468657220636f6e747261637400006044820152606401610d2d565b600e5460ff16156110605760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610d2d565b611068610f26565b6110b45760405162461bcd60e51b815260206004820152600e60248201527f526566756e64206973206f7665720000000000000000000000000000000000006044820152606401610d2d565b6000818152600b6020526040902054806111365760405162461bcd60e51b815260206004820152602660248201527f546f6b656e20776173206d696e7465642062792064657673206f72207472616e60448201527f73666572656400000000000000000000000000000000000000000000000000006064820152608401610d2d565b3361114083611f0c565b6001600160a01b0316146111965760405162461bcd60e51b815260206004820152601460248201527f596f7520646f206e6f74206f776e20746f6b656e0000000000000000000000006044820152606401610d2d565b601a546111ae9033906001600160a01b031684612f5b565b600060646111ba612096565b6111c4908461419c565b6111ce91906141d1565b604051909150339082156108fc029083906000818181858888f193505050501580156111fe573d6000803e3d6000fd5b50806015600082825461121191906141e5565b90915550506001600d55505050565b3360009081526017602052604090205460ff1661126d5760405162461bcd60e51b815260206004820152601660248201526000805160206143418339815191526044820152606401610d2d565b6002600d54036112bf5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610d2d565b6002600d556112cd81612fdd565b506001600d55565b60006112e083611f1e565b82106113545760405162461bcd60e51b815260206004820152602260248201527f455243373231523a206f776e657220696e646578206f7574206f6620626f756e60448201527f64730000000000000000000000000000000000000000000000000000000000006064820152608401610d2d565b600061135f60015490565b905060008060005b83811015611407576000818152600760209081526040918290208251808401909352546001600160a01b038116808452600160a01b90910467ffffffffffffffff1691830191909152156113ba57805192505b876001600160a01b0316836001600160a01b0316036113f4578684036113e657509350610b4b92505050565b836113f0816141fd565b9450505b50806113ff816141fd565b915050611367565b5060405162461bcd60e51b815260206004820152602e60248201527f455243373231523a20756e61626c6520746f2067657420746f6b656e206f662060448201527f6f776e657220627920696e6465780000000000000000000000000000000000006064820152608401610d2d565b3360009081526017602052604090205460ff166114c35760405162461bcd60e51b815260206004820152601660248201526000805160206143418339815191526044820152606401610d2d565b600e5460ff16156115095760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610d2d565b611511610f26565b156115c9576000611520610ef3565b61152a9047614216565b604051909150600090339083908381818185875af1925050503d806000811461156f576040519150601f19603f3d011682016040523d82523d6000602084013e611574565b606091505b50509050806115c55760405162461bcd60e51b815260206004820152601060248201527f5472616e73666572206661696c65642e000000000000000000000000000000006044820152606401610d2d565b5050565b604051600090339047908381818185875af1925050503d806000811461160b576040519150601f19603f3d011682016040523d82523d6000602084013e611610565b606091505b50509050806116615760405162461bcd60e51b815260206004820152601060248201527f5472616e73666572206661696c65642e000000000000000000000000000000006044820152606401610d2d565b505b565b3360009081526017602052604090205460ff166116b25760405162461bcd60e51b815260206004820152601660248201526000805160206143418339815191526044820152606401610d2d565b6116613382600080612734565b3360009081526017602052604090205460ff1661170c5760405162461bcd60e51b815260206004820152601660248201526000805160206143418339815191526044820152606401610d2d565b6001600160e01b0319166000908152601860205260409020805460ff19166001179055565b3360009081526017602052604090205460ff1661177e5760405162461bcd60e51b815260206004820152601660248201526000805160206143418339815191526044820152606401610d2d565b6001600160a01b03811661179157600080fd5b601a805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b3360009081526017602052604090205460ff1661180d5760405162461bcd60e51b815260206004820152601660248201526000805160206143418339815191526044820152606401610d2d565b6116636131a6565b3360009081526017602052604090205460ff166118625760405162461bcd60e51b815260206004820152601660248201526000805160206143418339815191526044820152606401610d2d565b600080356001600160e01b03191681526018602052604090205460ff16156118cc5760405162461bcd60e51b815260206004820152601860248201527f46756e6374696f6e20686173206265656e206c6f636b656400000000000000006044820152606401610d2d565b6014805467ffffffffffffffff9788167fffffffffffffffffffffffffffffffff0000000000000000000000000000000090911617680100000000000000009690971695909502959095177fffffffffffffffff0000000000000000ffffffffffffffffffffffffffffffff16600160801b63ffffffff948516027fffffffffffffffff00000000ffffffffffffffffffffffffffffffffffffffff1617600160a01b929093169190910291909117909155600f55600355565b610e7f8383836040518060200160405280600081525061258c565b6002600d54036119f35760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610d2d565b6002600d55323314611a475760405162461bcd60e51b815260206004820152601e60248201527f5468652063616c6c657220697320616e6f7468657220636f6e747261637400006044820152606401610d2d565b600e5460ff1615611a8d5760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610d2d565b600354600154611a9e9060016141e5565b1115611aec5760405162461bcd60e51b815260206004820152601160248201527f416c6c20746f6b656e73206d696e7465640000000000000000000000000000006044820152606401610d2d565b611af461261b565b611b405760405162461bcd60e51b815260206004820152601360248201527f4d696e746c697374206e6f7420616374697665000000000000000000000000006044820152606401610d2d565b3360009081526016602052604090205460ff1615611ba05760405162461bcd60e51b815260206004820152601160248201527f416c7265616479206d696e74656420574c0000000000000000000000000000006044820152606401610d2d565b6040516bffffffffffffffffffffffff193360601b166020820152600090603401604051602081830303815290604052805190602001209050611c1a83838080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050601b549150849050613242565b611c665760405162461bcd60e51b815260206004820152600960248201527f4e6f74206f6e204d4c00000000000000000000000000000000000000000000006044820152606401610d2d565b60145467ffffffffffffffff163414611cc15760405162461bcd60e51b815260206004820152601460248201527f496e76616c696420457468657220616d6f756e740000000000000000000000006044820152606401610d2d565b336000818152601660205260409020805460ff19166001908117909155601454611cf692919067ffffffffffffffff16613258565b6014546002805467ffffffffffffffff909216916000906112119084906141e5565b6000611d2360015490565b8210611d975760405162461bcd60e51b815260206004820152602360248201527f455243373231523a20676c6f62616c20696e646578206f7574206f6620626f7560448201527f6e647300000000000000000000000000000000000000000000000000000000006064820152608401610d2d565b5090565b3360009081526017602052604081205460ff16611de85760405162461bcd60e51b815260206004820152601660248201526000805160206143418339815191526044820152606401610d2d565b506001600160a01b03811660009081526017602052604090205460ff165b919050565b3360009081526017602052604081205460ff16611e585760405162461bcd60e51b815260206004820152601660248201526000805160206143418339815191526044820152606401610d2d565b5060025490565b3360009081526017602052604090205460ff16611eac5760405162461bcd60e51b815260206004820152601660248201526000805160206143418339815191526044820152606401610d2d565b610e7f60198383613be4565b3360009081526017602052604081205460ff16611f055760405162461bcd60e51b815260206004820152601660248201526000805160206143418339815191526044820152606401610d2d565b5060155490565b6000611f17826129bf565b5192915050565b60006001600160a01b038216611f9c5760405162461bcd60e51b815260206004820152602b60248201527f455243373231523a2062616c616e636520717565727920666f7220746865207a60448201527f65726f20616464726573730000000000000000000000000000000000000000006064820152608401610d2d565b506001600160a01b03166000908152600860205260409020546001600160801b031690565b6000546001600160a01b0316331461201b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610d2d565b6116636000613273565b3360009081526017602052604090205460ff166120725760405162461bcd60e51b815260206004820152601660248201526000805160206143418339815191526044820152606401610d2d565b6001600160a01b03166000908152601760205260409020805460ff19166001179055565b60007f00000000000000000000000000000000000000000000000000000000000000146120d4601460109054906101000a900463ffffffff166132d0565b63ffffffff166120e4919061419c565b610f16906064614216565b3360009081526017602052604090205460ff1661213c5760405162461bcd60e51b815260206004820152601660248201526000805160206143418339815191526044820152606401610d2d565b61166361344c565b606060068054610c2f9061414c565b336001600160a01b038316036121ab5760405162461bcd60e51b815260206004820152601a60248201527f455243373231523a20617070726f766520746f2063616c6c65720000000000006044820152606401610d2d565b336000818152600a602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6040516bffffffffffffffffffffffff19606083901b166020820152600090819060340160405160208183030381529060405280519060200120905061229485858080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050601b549150849050613242565b95945050505050565b6002600d54036122ef5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610d2d565b6002600d553233146123435760405162461bcd60e51b815260206004820152601e60248201527f5468652063616c6c657220697320616e6f7468657220636f6e747261637400006044820152606401610d2d565b600e5460ff16156123895760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610d2d565b6003548161239660015490565b6123a091906141e5565b11156123ee5760405162461bcd60e51b815260206004820152601160248201527f416c6c20746f6b656e73206d696e7465640000000000000000000000000000006044820152606401610d2d565b600f54816123fb33612729565b61240591906141e5565b11156124535760405162461bcd60e51b815260206004820152601360248201527f416c6c6f77616e636520616c6c6f6361746564000000000000000000000000006044820152606401610d2d565b601454600160801b900463ffffffff164210156124b25760405162461bcd60e51b815260206004820152601660248201527f5075626c69632073616c65206e6f7420616374697665000000000000000000006044820152606401610d2d565b6014546124d690829068010000000000000000900467ffffffffffffffff1661419c565b34146125245760405162461bcd60e51b815260206004820152601460248201527f496e76616c696420457468657220616d6f756e740000000000000000000000006044820152606401610d2d565b60145461254a903390839068010000000000000000900467ffffffffffffffff16613258565b60145461256e90829068010000000000000000900467ffffffffffffffff1661419c565b6002600082825461257f91906141e5565b90915550506001600d5550565b612597848484612b4f565b6125a3848484846134c7565b6126155760405162461bcd60e51b815260206004820152603360248201527f455243373231523a207472616e7366657220746f206e6f6e204552433732315260448201527f6563656976657220696d706c656d656e746572000000000000000000000000006064820152608401610d2d565b50505050565b601454600090600160a01b900463ffffffff164210801590610f16575050601454600160801b900463ffffffff16421090565b606061265b826001541190565b6126cd5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006064820152608401610d2d565b60006126d761361f565b905060008151116126f75760405180602001604052806000815250612722565b806127018461362e565b60405160200161271292919061422d565b6040516020818303038152906040525b9392505050565b6000610b4b82613763565b3360009081526017602052604090205460ff166127815760405162461bcd60e51b815260206004820152601660248201526000805160206143418339815191526044820152606401610d2d565b816127fe576004548311156127fe5760405162461bcd60e51b815260206004820152602360248201527f4465762063616e6e6f74206d696e74206d6f7265207468616e20616c6c6f636160448201527f74656400000000000000000000000000000000000000000000000000000000006064820152608401610d2d565b612615848483613258565b6000546001600160a01b031633146128635760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610d2d565b6001600160a01b0381166128df5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610d2d565b61166181613273565b3360009081526017602052604090205460ff166129355760405162461bcd60e51b815260206004820152601660248201526000805160206143418339815191526044820152606401610d2d565b6001600160a01b03166000908152601760205260409020805460ff19169055565b600082815260096020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60408051808201909152600080825260208201526129de826001541190565b612a505760405162461bcd60e51b815260206004820152602a60248201527f455243373231523a206f776e657220717565727920666f72206e6f6e6578697360448201527f74656e7420746f6b656e000000000000000000000000000000000000000000006064820152608401610d2d565b60006004548310612a7657600454612a689084614216565b612a739060016141e5565b90505b825b818110612ae0576000818152600760209081526040918290208251808401909352546001600160a01b038116808452600160a01b90910467ffffffffffffffff169183019190915215612acd57949350505050565b5080612ad88161425c565b915050612a78565b5060405162461bcd60e51b815260206004820152602f60248201527f455243373231523a20756e61626c6520746f2064657465726d696e652074686560448201527f206f776e6572206f6620746f6b656e00000000000000000000000000000000006064820152608401610d2d565b6000612b5a826129bf565b80519091506000906001600160a01b0316336001600160a01b03161480612b91575033612b8684610cb2565b6001600160a01b0316145b80612ba357508151612ba39033610ab7565b905080612c185760405162461bcd60e51b815260206004820152603260248201527f455243373231523a207472616e736665722063616c6c6572206973206e6f742060448201527f6f776e6572206e6f7220617070726f76656400000000000000000000000000006064820152608401610d2d565b846001600160a01b031682600001516001600160a01b031614612ca35760405162461bcd60e51b815260206004820152602660248201527f455243373231523a207472616e736665722066726f6d20696e636f727265637460448201527f206f776e657200000000000000000000000000000000000000000000000000006064820152608401610d2d565b6001600160a01b038416612d1f5760405162461bcd60e51b815260206004820152602560248201527f455243373231523a207472616e7366657220746f20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610d2d565b612d2f6000848460000151612956565b6001600160a01b0385166000908152600860205260408120805460019290612d619084906001600160801b0316614273565b82546101009290920a6001600160801b038181021990931691831602179091556001600160a01b03861660009081526008602052604081208054600194509092612dad9185911661429b565b82546001600160801b039182166101009390930a9283029190920219909116179055506040805180820182526001600160a01b03808716825267ffffffffffffffff428116602080850191825260008981526007909152948520935184549151909216600160a01b026001600160e01b03199091169190921617179055612e358460016141e5565b6000818152600760205260409020549091506001600160a01b0316612ec757612e5f816001541190565b15612ec75760408051808201825284516001600160a01b03908116825260208087015167ffffffffffffffff9081168285019081526000878152600790935294909120925183549451909116600160a01b026001600160e01b03199094169116179190911790555b6000848152600b602052604090205415612f12576000848152600b60205260408120546002805491929091612efd908490614216565b90915550506000848152600b60205260408120555b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b6000818152600b6020526040812054116119865760405162461bcd60e51b815260206004820152603160248201527f546f6b656e2068617320616c7265616479206265656e20726566756e6465642060448201527f6f72206d696e74656420627920646576730000000000000000000000000000006064820152608401610d2d565b600c548161302d5760405162461bcd60e51b815260206004820152601860248201527f7175616e74697479206d757374206265206e6f6e7a65726f00000000000000006044820152606401610d2d565b6000600161303b84846141e5565b6130459190614216565b905060016003546130569190614216565b81111561306f57600160035461306c9190614216565b90505b61307a816001541190565b6130ec5760405162461bcd60e51b815260206004820152602660248201527f6e6f7420656e6f756768206d696e7465642079657420666f722074686973206360448201527f6c65616e757000000000000000000000000000000000000000000000000000006064820152608401610d2d565b815b818111613192576000818152600760205260409020546001600160a01b031661318057600061311c826129bf565b60408051808201825282516001600160a01b03908116825260209384015167ffffffffffffffff9081168584019081526000888152600790965293909420915182549351909416600160a01b026001600160e01b0319909316931692909217179055505b8061318a816141fd565b9150506130ee565b5061319e8160016141e5565b600c55505050565b600e5460ff166131f85760405162461bcd60e51b815260206004820152601460248201527f5061757361626c653a206e6f74207061757365640000000000000000000000006044820152606401610d2d565b600e805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b60008261324f858461380d565b14949350505050565b610e7f83838360405180602001604052806000815250613881565b600080546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60006132fd7f0000000000000000000000000000000000000000000000000000000000127500600161419c565b61330d9063ffffffff84166141e5565b42101561331c57506000919050565b6133477f0000000000000000000000000000000000000000000000000000000000127500600261419c565b6133579063ffffffff84166141e5565b42101561336657506001919050565b6133917f0000000000000000000000000000000000000000000000000000000000127500600361419c565b6133a19063ffffffff84166141e5565b4210156133b057506002919050565b6133db7f0000000000000000000000000000000000000000000000000000000000127500600461419c565b6133eb9063ffffffff84166141e5565b4210156133fa57506003919050565b6134257f0000000000000000000000000000000000000000000000000000000000127500600561419c565b6134359063ffffffff84166141e5565b42101561344457506004919050565b506005919050565b600e5460ff16156134925760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610d2d565b600e805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586132253390565b60006001600160a01b0384163b1561361357604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061350b9033908990889088906004016142bd565b6020604051808303816000875af1925050508015613546575060408051601f3d908101601f19168201909252613543918101906142f9565b60015b6135f9573d808015613574576040519150601f19603f3d011682016040523d82523d6000602084013e613579565b606091505b5080516000036135f15760405162461bcd60e51b815260206004820152603360248201527f455243373231523a207472616e7366657220746f206e6f6e204552433732315260448201527f6563656976657220696d706c656d656e746572000000000000000000000000006064820152608401610d2d565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050613617565b5060015b949350505050565b606060198054610c2f9061414c565b60608160000361367157505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b811561369b5780613685816141fd565b91506136949050600a836141d1565b9150613675565b60008167ffffffffffffffff8111156136b6576136b6613fec565b6040519080825280601f01601f1916602001820160405280156136e0576020820181803683370190505b5090505b8415613617576136f5600183614216565b9150613702600a86614316565b61370d9060306141e5565b60f81b8183815181106137225761372261432a565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535061375c600a866141d1565b94506136e4565b60006001600160a01b0382166137e15760405162461bcd60e51b815260206004820152603160248201527f455243373231523a206e756d626572206d696e74656420717565727920666f7260448201527f20746865207a65726f20616464726573730000000000000000000000000000006064820152608401610d2d565b506001600160a01b0316600090815260086020526040902054600160801b90046001600160801b031690565b600081815b845181101561387957600085828151811061382f5761382f61432a565b602002602001015190508083116138555760008381526020829052604090209250613866565b600081815260208490526040902092505b5080613871816141fd565b915050613812565b509392505050565b6001546001600160a01b0385166139005760405162461bcd60e51b815260206004820152602160248201527f455243373231523a206d696e7420746f20746865207a65726f2061646472657360448201527f73000000000000000000000000000000000000000000000000000000000000006064820152608401610d2d565b61390b816001541190565b156139585760405162461bcd60e51b815260206004820152601d60248201527f455243373231523a20746f6b656e20616c7265616479206d696e7465640000006044820152606401610d2d565b6004548411156139d05760405162461bcd60e51b815260206004820152602260248201527f455243373231523a207175616e7469747920746f206d696e7420746f6f20686960448201527f67680000000000000000000000000000000000000000000000000000000000006064820152608401610d2d565b6001600160a01b0385166000908152600860209081526040918290208251808401845290546001600160801b038082168352600160801b9091041691810191909152815180830190925280519091908190613a2c90889061429b565b6001600160801b03168152602001868360200151613a4a919061429b565b6001600160801b039081169091526001600160a01b0380891660008181526008602090815260408083208751978301518716600160801b0297909616969096179094558451808601865291825267ffffffffffffffff4281168386019081528883526007909552948120915182549451909516600160a01b026001600160e01b031990941694909216939093179190911790915582905b86811015613bd85760405182906001600160a01b038a16906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4613b2e60008984886134c7565b613ba05760405162461bcd60e51b815260206004820152603360248201527f455243373231523a207472616e7366657220746f206e6f6e204552433732315260448201527f6563656976657220696d706c656d656e746572000000000000000000000000006064820152608401610d2d565b8515613bb8576000828152600b602052604090208690555b81613bc2816141fd565b9250508080613bd0906141fd565b915050613ae1565b50600155505050505050565b828054613bf09061414c565b90600052602060002090601f016020900481019282613c125760008555613c58565b82601f10613c2b5782800160ff19823516178555613c58565b82800160010185558215613c58579182015b82811115613c58578235825591602001919060010190613c3d565b50611d979291505b80821115611d975760008155600101613c60565b600060208284031215613c8657600080fd5b5035919050565b6001600160e01b03198116811461166157600080fd5b600060208284031215613cb557600080fd5b813561272281613c8d565b60005b83811015613cdb578181015183820152602001613cc3565b838111156126155750506000910152565b60008151808452613d04816020860160208601613cc0565b601f01601f19169290920160200192915050565b6020815260006127226020830184613cec565b80356001600160a01b0381168114611e0657600080fd5b60008060408385031215613d5557600080fd5b613d5e83613d2b565b946020939093013593505050565b600080600060608486031215613d8157600080fd5b613d8a84613d2b565b9250613d9860208501613d2b565b9150604084013590509250925092565b600060208284031215613dba57600080fd5b61272282613d2b565b803567ffffffffffffffff81168114611e0657600080fd5b803563ffffffff81168114611e0657600080fd5b60008060008060008060c08789031215613e0857600080fd5b613e1187613dc3565b9550613e1f60208801613dc3565b9450613e2d60408801613ddb565b9350613e3b60608801613ddb565b92506080870135915060a087013590509295509295509295565b60008083601f840112613e6757600080fd5b50813567ffffffffffffffff811115613e7f57600080fd5b6020830191508360208260051b8501011115613e9a57600080fd5b9250929050565b60008060208385031215613eb457600080fd5b823567ffffffffffffffff811115613ecb57600080fd5b613ed785828601613e55565b90969095509350505050565b60008060208385031215613ef657600080fd5b823567ffffffffffffffff80821115613f0e57600080fd5b818501915085601f830112613f2257600080fd5b813581811115613f3157600080fd5b866020828501011115613f4357600080fd5b60209290920196919550909350505050565b80358015158114611e0657600080fd5b60008060408385031215613f7857600080fd5b613f8183613d2b565b9150613f8f60208401613f55565b90509250929050565b600080600060408486031215613fad57600080fd5b833567ffffffffffffffff811115613fc457600080fd5b613fd086828701613e55565b9094509250613fe3905060208501613d2b565b90509250925092565b634e487b7160e01b600052604160045260246000fd5b6000806000806080858703121561401857600080fd5b61402185613d2b565b935061402f60208601613d2b565b925060408501359150606085013567ffffffffffffffff8082111561405357600080fd5b818701915087601f83011261406757600080fd5b81358181111561407957614079613fec565b604051601f8201601f19908116603f011681019083821181831017156140a1576140a1613fec565b816040528281528a60208487010111156140ba57600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b600080600080608085870312156140f457600080fd5b6140fd85613d2b565b93506020850135925061411260408601613f55565b9396929550929360600135925050565b6000806040838503121561413557600080fd5b61413e83613d2b565b9150613f8f60208401613d2b565b600181811c9082168061416057607f821691505b60208210810361418057634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b60008160001904831182151516156141b6576141b6614186565b500290565b634e487b7160e01b600052601260045260246000fd5b6000826141e0576141e06141bb565b500490565b600082198211156141f8576141f8614186565b500190565b60006001820161420f5761420f614186565b5060010190565b60008282101561422857614228614186565b500390565b6000835161423f818460208801613cc0565b835190830190614253818360208801613cc0565b01949350505050565b60008161426b5761426b614186565b506000190190565b60006001600160801b038381169083168181101561429357614293614186565b039392505050565b60006001600160801b0380831681851680830382111561425357614253614186565b60006001600160a01b038087168352808616602084015250836040830152608060608301526142ef6080830184613cec565b9695505050505050565b60006020828403121561430b57600080fd5b815161272281613c8d565b600082614325576143256141bb565b500690565b634e487b7160e01b600052603260045260246000fdfe43616c6c6572206973206e6f7420616e206f776e657200000000000000000000a2646970667358221220e8a9b5f1bab91e0e4610800c6b0c2e9183b5f8c2d601c2223f20e15d3ca57c7064736f6c634300080d0033

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

00000000000000000000000000000000000000000000000000000000625c7fd0000000000000000000000000000000000000000000000000000000006259dcd049a8b8048ad2b09d42e82f2b2600c1a0efff7e2039beae137538dcd13aa05051

-----Decoded View---------------
Arg [0] : publicSaleStart_ (uint32): 1650229200
Arg [1] : mintListSaleStart_ (uint32): 1650056400
Arg [2] : merkleRoot_ (bytes32): 0x49a8b8048ad2b09d42e82f2b2600c1a0efff7e2039beae137538dcd13aa05051

-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000625c7fd0
Arg [1] : 000000000000000000000000000000000000000000000000000000006259dcd0
Arg [2] : 49a8b8048ad2b09d42e82f2b2600c1a0efff7e2039beae137538dcd13aa05051


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.