ETH Price: $3,010.90 (+4.51%)
Gas: 2 Gwei

 

Overview

TokenID

1

Total Transfers

-

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-
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:
Pass

Compiler Version
v0.8.10+commit.fc410830

Optimization Enabled:
Yes with 10000 runs

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

/**
* Author: Lambdalf the White
*/

pragma solidity 0.8.10;

import "../EthereumContracts/contracts/interfaces/IERC1155.sol";
import "../EthereumContracts/contracts/interfaces/IERC1155Receiver.sol";
import "../EthereumContracts/contracts/interfaces/IERC1155MetadataURI.sol";
import "../EthereumContracts/contracts/utils/ERC2981Base.sol";
import "../EthereumContracts/contracts/utils/IOwnable.sol";
import "../EthereumContracts/contracts/utils/IPausable.sol";
import "../EthereumContracts/contracts/utils/ITradable.sol";
import "../EthereumContracts/contracts/utils/IWhitelistable_ECDSA.sol";
import "@openzeppelin/contracts/utils/Context.sol";

contract Pass is Context, IERC1155MetadataURI, IOwnable, IPausable, ITradable, IWhitelistable_ECDSA, ERC2981Base {
	// Error
	error IERC1155_APPROVE_CALLER();
	error IERC1155_ARRAY_LENGTH_MISMATCH();
	error IERC1155_CALLER_NOT_APPROVED( address from, address operator );
	error IERC1155_REJECTED();
	error IERC1155_INSUFFICIENT_BALANCE( address from, uint256 id, uint256 balance );
	error IERC1155_NON_ERC1155_RECEIVER();
	error IERC1155_NON_EXISTANT_TOKEN( uint256 id );
	error IERC1155_NULL_ADDRESS_TRANSFER();
	error NFT_ETHER_TRANSFER_FAIL( address recipient, uint256 amount );
	error NFT_INCORRECT_PRICE( uint256 amountSent, uint256 amountExpected );
	error NFT_INVALID_QTY();
	error NFT_MAX_BATCH( uint256 qty, uint256 maxBatch );
	error NFT_MAX_SUPPLY( uint256 qty, uint256 remainingSupply );
	error NFT_NO_ETHER_BALANCE();

	uint256 public constant MAX_BATCH = 10;
	uint256 public constant PASS_ID = 1;
	uint8 public constant CLAIM = 2;

	uint256 public publicPrice;
	uint256 public remainingSupply;
	string private _uri = "ipfs://QmXede8ghiap9hoppY2NVTFEXpshmcfPsDzxFE9ydVMXby";
	mapping( address => uint256 ) private _balances;
	mapping( address => mapping( address => bool ) ) private _operatorApprovals;

	constructor() {
		address _account_ = _msgSender();
		_initIOwnable( _account_ );
		_initERC2981Base( _account_, 500 );
		remainingSupply = 2000;
	}

	// **************************************
	// *****          MODIFIER          *****
	// **************************************
		/**
		* @dev Throws if sale state is not ``CLAIM``.
		*/
		modifier isClaim() {
			uint8 _currentState_ = getPauseState();
			if ( _currentState_ != CLAIM ) {
				revert IPausable_INCORRECT_STATE( _currentState_ );
			}
			_;
		}

		/**
		* @dev Ensures that `qty_` is higher than 0 and lesser than `remainingSupply`
		* 
		* @param qty_ : the amount to validate 
		*/
		modifier validateAmount( uint256 qty_ ) {
			if ( qty_ == 0 ) {
				revert NFT_INVALID_QTY();
			}
			if ( qty_ > remainingSupply ) {
				revert NFT_MAX_SUPPLY( qty_, remainingSupply );
			}
			_;
		}

		/**
		* @dev Ensures that `id_` is a valid series
		* 
		* @param id_ : the series id to validate 
		*/
		modifier isValidSeries( uint256 id_ ) {
			if ( id_ != PASS_ID ) {
				revert IERC1155_NON_EXISTANT_TOKEN( id_ );
			}
			_;
		}
	// **************************************

	// **************************************
	// *****          INTERNAL          *****
	// **************************************
		/**
		* @dev Internal function that checks if the receiver address is a smart contract able to handle batches of IERC1155 tokens.
		*/
		function _doSafeBatchTransferAcceptanceCheck( address operator_, address from_, address to_, uint256[] memory ids_, uint256[] memory amounts_, bytes memory data_ ) private {
			uint256 _size_;
			assembly {
				_size_ := extcodesize( to_ )
			}
			if ( _size_ > 0 ) {
				try IERC1155Receiver( to_ ).onERC1155BatchReceived( operator_, from_, ids_, amounts_, data_ ) returns ( bytes4 response ) {
					if ( response != IERC1155Receiver.onERC1155BatchReceived.selector ) {
						revert IERC1155_REJECTED();
					}
				}
				catch ( bytes memory reason ) {
					if ( reason.length == 0 ) {
						revert IERC1155_REJECTED();
					}
					else {
						assembly {
							revert( add( 32, reason ), mload( reason ) )
						}
					}
				}
			}
		}

		/**
		* @dev Internal function that checks if the receiver address is a smart contract able to handle IERC1155 tokens.
		*/
		function _doSafeTransferAcceptanceCheck( address operator_, address from_, address to_, uint256 id_, uint256 amount_, bytes memory data_ ) private {
			uint256 _size_;
			assembly {
				_size_ := extcodesize( to_ )
			}
			if ( _size_ > 0 ) {
				try IERC1155Receiver( to_ ).onERC1155Received( operator_, from_, id_, amount_, data_ ) returns ( bytes4 response ) {
					if ( response != IERC1155Receiver.onERC1155Received.selector ) {
						revert IERC1155_REJECTED();
					}
				}
				catch ( bytes memory reason ) {
					if ( reason.length == 0 ) {
						revert IERC1155_REJECTED();
					}
					else {
						assembly {
							revert( add( 32, reason ), mload( reason ) )
						}
					}
				}
			}
		}

		/**
		* @dev Internal function that checks if `operator_` is allowed to handle tokens on behalf of `owner_`
		*/
		function _isApprovedOrOwner( address owner_, address operator_ ) internal view returns ( bool ) {
			return owner_ == operator_ ||
						 isApprovedForAll( owner_, operator_ );
		}

		/**
		* @dev Internal function that mints `amount_` tokens from series `PASS_ID` into `account_`.
		*/
		function _mint( address account_, uint256 amount_ ) internal {
			unchecked {
				_balances[ account_ ] += amount_;
				remainingSupply -= amount_;
			}
			emit TransferSingle( account_, address( 0 ), account_, PASS_ID, amount_ );
		}
	// **************************************

	// **************************************
	// *****           PUBLIC           *****
	// **************************************
		/**
		* @notice Mints `qty_` amount of `PASS_ID` to the caller address.
		* 
		* @param qty_      Amount of tokens to mint
		* @param alloted_  Amount of tokens that caller is allowed to claim
		* @param proof_    Signature confirming that the caller is allowed to mint `alloeted_` number of tokens
		* 
		* Requirements:
		* 
		* - Contract state must be `CLAIM`
		* - Whitelist must be set 
		* - Caller must be allowed to mint `qty_` tokens
		*/
		function claimPass( uint256 qty_, uint256 alloted_, Proof memory proof_ ) external isClaim validateAmount( qty_ ) isWhitelisted( _msgSender(), CLAIM, alloted_, proof_, qty_ ) {
			address _account_ = _msgSender();
			_consumeWhitelist( _account_, CLAIM, qty_ );
			_mint( _account_, qty_ );
		}

		/**
		* @notice Mints `qty_` amount of `PASS_ID` to the caller address.
		* 
		* @param qty_  Amount of tokens to mint
		* 
		* Requirements:
		* 
		* - Contract state must be `OPEN`
		* - `qty_` must be lower than `MAX_BATCH`
		* - `qty_` must be lower or equal to `remainingSupply`
		* - Caller must send enough eth to pay for `qty_` tokens
		*/
		function mintPublic( uint256 qty_ ) external payable isOpen validateAmount( qty_ ) {
			if ( qty_ > MAX_BATCH ) {
				revert NFT_MAX_BATCH( qty_, MAX_BATCH );
			}

			uint256 _expected_ = qty_ * publicPrice;
			if ( _expected_ != msg.value ) {
				revert NFT_INCORRECT_PRICE( msg.value, _expected_ );
			}

			_mint( _msgSender(), qty_ );
		}

		/**
		* @notice Transfers `amounts_` amount(s) of `ids_` from the `from_` address to the `to_` address specified (with safety call).
		* 
		* @param from_     Source address
		* @param to_       Target address
		* @param ids_      IDs of each token type (order and length must match `amounts_` array)
		* @param amounts_  Transfer amounts per token type (order and length must match `ids_` array)
		* @param data_     Additional data with no specified format, MUST be sent unaltered in call to the `ERC1155TokenReceiver` hook(s) on `to_`
		* 
		* Requirements:
		* 
		* - Caller must be approved to manage the tokens being transferred out of the `from_` account (see "Approval" section of the standard).
		* - MUST revert if `to_` is the zero address.
		* - MUST revert if length of `ids_` is not the same as length of `amounts_`.
		* - MUST revert if any of the balance(s) of the holder(s) for token(s) in `ids_` is lower than the respective amount(s) in `amounts_` sent to the recipient.
		* - MUST revert on any other error.        
		* - MUST emit `TransferSingle` or `TransferBatch` event(s) such that all the balance changes are reflected (see "Safe Transfer Rules" section of the standard).
		* - Balance changes and events MUST follow the ordering of the arrays (_ids[0]/_amounts[0] before ids_[1]/_amounts[1], etc).
		* - After the above conditions for the transfer(s) in the batch are met, this function MUST check if `to_` is a smart contract (e.g. code size > 0). If so, it MUST call the relevant `ERC1155TokenReceiver` hook(s) on `to_` and act appropriately (see "Safe Transfer Rules" section of the standard).                      
		*/
		function safeBatchTransferFrom( address from_, address to_, uint256[] calldata ids_, uint256[] calldata amounts_, bytes calldata data_ ) external override {
			if ( to_ == address( 0 ) ) {
				revert IERC1155_NULL_ADDRESS_TRANSFER();
			}

			uint256 _len_ = ids_.length;
			if ( amounts_.length != _len_ ) {
				revert IERC1155_ARRAY_LENGTH_MISMATCH();
			}

			address _operator_ = _msgSender();
			if ( ! _isApprovedOrOwner( from_, _operator_ ) ) {
				revert IERC1155_CALLER_NOT_APPROVED( from_, _operator_ );
			}

			for ( uint256 i; i < _len_; ) {
				if ( ids_[ i ] != PASS_ID ) {
					revert IERC1155_NON_EXISTANT_TOKEN( ids_[ i ] );
				}
				uint256 _balance_ = _balances[ from_ ];
				if ( _balance_ < amounts_[ i ] ) {
					revert IERC1155_INSUFFICIENT_BALANCE( from_, PASS_ID, _balance_ );
				}
				unchecked {
					_balances[ from_ ] = _balance_ - amounts_[ i ];
				}
				_balances[ to_ ] += amounts_[ i ];
				unchecked {
					++i;
				}
			}
			emit TransferBatch( _operator_, from_, to_, ids_, amounts_ );

			_doSafeBatchTransferAcceptanceCheck( _operator_, from_, to_, ids_, amounts_, data_ );
		}

		/**
		* @notice Transfers `amount_` amount of an `id_` from the `from_` address to the `to_` address specified (with safety call).
		* 
		* @param from_    Source address
		* @param to_      Target address
		* @param id_      ID of the token type
		* @param amount_  Transfer amount
		* @param data_    Additional data with no specified format, MUST be sent unaltered in call to `onERC1155Received` on `to_`
		* 
		* Requirements:
		* 
		* - Caller must be approved to manage the tokens being transferred out of the `from_` account (see "Approval" section of the standard).
		* - MUST revert if `to_` is the zero address.
		* - MUST revert if balance of holder for token type `id_` is lower than the `amount_` sent.
		* - MUST revert on any other error.
		* - MUST emit the `TransferSingle` event to reflect the balance change (see "Safe Transfer Rules" section of the standard).
		* - After the above conditions are met, this function MUST check if `to_` is a smart contract (e.g. code size > 0). If so, it MUST call `onERC1155Received` on `to_` and act appropriately (see "Safe Transfer Rules" section of the standard).        
		*/
		function safeTransferFrom( address from_, address to_, uint256 id_, uint256 amount_, bytes calldata data_ ) external override isValidSeries( id_ ) {
			if ( to_ == address( 0 ) ) {
				revert IERC1155_NULL_ADDRESS_TRANSFER();
			}

			address _operator_ = _msgSender();
			if ( ! _isApprovedOrOwner( from_, _operator_ ) ) {
				revert IERC1155_CALLER_NOT_APPROVED( from_, _operator_ );
			}

			uint256 _balance_ = _balances[ from_ ];
			if ( _balance_ < amount_ ) {
				revert IERC1155_INSUFFICIENT_BALANCE( from_, id_, _balance_ );
			}
			unchecked {
				_balances[ from_ ] = _balance_ - amount_;
			}
			_balances[ to_ ] += amount_;
			emit TransferSingle( _operator_, from_, to_, id_, amount_ );

			_doSafeTransferAcceptanceCheck( _operator_, from_, to_, id_, amount_, data_ );
		}

		/**
		* @notice Enable or disable approval for a third party ("operator") to manage all of the caller's tokens.
		* 
		* @param operator_  Address to add to the set of authorized operators
		* @param approved_  True if the operator is approved, false to revoke approval
		* 
		* Requirements:
		* 
		* - MUST emit the ApprovalForAll event on success.
		*/
		function setApprovalForAll( address operator_, bool approved_ ) external override {
			address _tokenOwner_ = _msgSender();
			if ( _tokenOwner_ == operator_ ) {
				revert IERC1155_APPROVE_CALLER();
			}

			_operatorApprovals[ _tokenOwner_ ][ operator_ ] = approved_;
			emit ApprovalForAll( _tokenOwner_, operator_, approved_ );
		}
	// **************************************

	// **************************************
	// *****       CONTRACT OWNER       *****
	// **************************************
		/**
		* @notice Adds a proxy registry to the list of accepted proxy registries.
		* 
		* @param proxyRegistryAddress_  the address of the proxy registry to be added
		* 
		* Requirements:
		* 
		* - Caller must be the contract owner.
		*/
		function addProxyRegistry( address proxyRegistryAddress_ ) external onlyOwner {
			_addProxyRegistry( proxyRegistryAddress_ );
		}

		/**
		* @notice Removes a proxy registry from the list of accepted proxy registries.
		* 
		* @param proxyRegistryAddress_  the address of the proxy registry to be removed
		* 
		* Requirements:
		* 
		* - Caller must be the contract owner.
		*/
		function removeProxyRegistry( address proxyRegistryAddress_ ) external onlyOwner {
			_removeProxyRegistry( proxyRegistryAddress_ );
		}

		/**
		* @notice Sets the contract state to `newState_`.
		* 
		* @param newState_  the new sale state
		* 
		* Requirements:
		* 
		* - Caller must be the contract owner.
		*/
		function setPauseState( uint8 newState_ ) external onlyOwner {
			_setPauseState( newState_ );
		}

		/**
		* @notice Updates the royalty recipient and rate.
		* 
		* @param royaltyRecipient_  the new recipient of the royalties
		* @param royaltyRate_       the new royalty rate
		* 
		* Requirements:
		* 
		* - Caller must be the contract owner
		* - `royaltyRate_` must be between 0 and 10,000
		*/
		function setRoyaltyInfo( address royaltyRecipient_, uint256 royaltyRate_ ) external onlyOwner {
			_setRoyaltyInfo( royaltyRecipient_, royaltyRate_ );
		}

		/**
		* @notice Sets the public price of the tokens.
		* 
		* @param price_  The new public price of the tokens
		*/
		function setPublicPrice( uint256 price_ ) external onlyOwner {
			publicPrice = price_;
		}

		/**
		* @notice Sets the uri of the tokens.
		* 
		* @param uri_  The new uri of the tokens
		*/
		function setURI( string memory uri_ ) external onlyOwner {
			_uri = uri_;
			emit URI( uri_, PASS_ID );
		}

		/**
		* @notice Sets the whitelist signer.
		* 
		* @param adminSigner_  The address signing the whitelist permissions
		*/
		function setWhitelist( address adminSigner_ ) public onlyOwner {
			_setWhitelist( adminSigner_ );
		}

		/**
		* @notice Withdraws all the money stored in the contract and sends it to the caller.
		* 
		* Requirements:
		* 
		* - Caller must be the contract owner.
		* - Contract must have a positive balance.
		*/
		function withdraw() public onlyOwner {
			uint256 _balance_ = address( this ).balance;
			if ( _balance_ == 0 ) {
				revert NFT_NO_ETHER_BALANCE();
			}

			address _recipient_ = payable( _msgSender() );
			( bool _success_, ) = _recipient_.call{ value: _balance_ }( "" );
			if ( ! _success_ ) {
				revert NFT_ETHER_TRANSFER_FAIL( _recipient_, _balance_ );
			}
		}
	// **************************************

	// **************************************
	// *****            VIEW            *****
	// **************************************
		/**
		* @notice Get the balance of an account's tokens.
		* 
		* @param owner_  The address of the token holder
		* @param id_     ID of the token type
		* @return        The owner_'s balance of the token type requested
		*/
		function balanceOf( address owner_, uint256 id_ ) public view override isValidSeries( id_ ) returns ( uint256 ) {
			return _balances[ owner_ ];
		}

		/**
		* @notice Get the balance of multiple account/token pairs
		* 
		* @param owners_  The addresses of the token holders
		* @param ids_     ID of the token types
		* @return         The owners_' balance of the token types requested (i.e. balance for each (owner, id) pair)
		*/
		function balanceOfBatch( address[] calldata owners_, uint256[] calldata ids_ ) public view override returns ( uint256[] memory ) {
			uint256 _len_ = owners_.length;
			if ( _len_ != ids_.length ) {
				revert IERC1155_ARRAY_LENGTH_MISMATCH();
			}

			uint256[] memory _balances_ = new uint256[]( _len_ );
			while ( _len_ > 0 ) {
				unchecked {
					--_len_;
				}
				if ( ids_[ _len_ ] != PASS_ID ) {
					revert IERC1155_NON_EXISTANT_TOKEN( ids_[ _len_ ] );
				}

				_balances_[ _len_ ] = _balances[ owners_[ _len_ ] ];
			}

			return _balances_;
		}

		/**
		* @notice Queries the approval status of an operator for a given owner.
		* 
		* @param owner_     The owner of the tokens
		* @param operator_  Address of authorized operator
		* @return           True if the operator is approved, false if not
		*/
		function isApprovedForAll( address owner_, address operator_ ) public view override returns ( bool ) {
			return _operatorApprovals[ owner_ ][ operator_ ] ||
						 _isRegisteredProxy( owner_, operator_ );
		}

		/**
		* @notice Query if a contract implements an interface.
		* 
		* @dev Interface identification is specified in ERC-165. This function uses less than 30,000 gas.
		* @param interfaceID_  The interface identifier, as specified in ERC-165
		* @return 						 `true` if the contract implements `interfaceID` and `interfaceID` is not 0xffffffff, `false` otherwise
		*/
		function supportsInterface( bytes4 interfaceID_ ) public pure override returns ( bool ) {
			return interfaceID_ == type( IERC165 ).interfaceId ||
						 interfaceID_ == type( IERC1155 ).interfaceId ||
						 interfaceID_ == type( IERC1155MetadataURI ).interfaceId ||
						 interfaceID_ == type( IERC2981 ).interfaceId;
		}

		/**
		* @dev Returns the URI for token type `id`.
		*
		* If the `\{id\}` substring is present in the URI, it must be replaced by
		* clients with the actual token type ID.
		*/
		function uri( uint256 id_ ) external view isValidSeries( id_ ) returns ( string memory ) {
			return _uri;
		}
	// **************************************
}

File 2 of 12 : 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 3 of 12 : IWhitelistable_ECDSA.sol
// SPDX-License-Identifier: MIT

/**
* Author: Lambdalf the White
* Edit  : Squeebo
*/

pragma solidity 0.8.10;

abstract contract IWhitelistable_ECDSA {
	// A constant encoded into the proof. To allow expandability of uses for the whitelist, it is kept constant instead of implemented as enum.
	uint8 public constant DEFAULT_WHITELIST = 1;

	// Errors
	error IWhitelistable_NOT_SET();
	error IWhitelistable_CONSUMED( address account );
	error IWhitelistable_FORBIDDEN( address account );

	struct Proof {
		bytes32 r;
		bytes32 s;
		uint8   v;
	}

	address private _adminSigner;
	mapping( uint8 => mapping ( address => uint256 ) ) private _consumed;

	modifier isWhitelisted( address account_, uint8 whitelistType_, uint256 alloted_, Proof memory proof_, uint256 qty_ ) {
		uint256 _allowed_ = checkWhitelistAllowance( account_, whitelistType_, alloted_, proof_ );

		if ( _allowed_ < qty_ ) {
			revert IWhitelistable_FORBIDDEN( account_ );
		}

		_;
	}

	/**
	* @dev Sets the pass to protect the whitelist.
	*/
	function _setWhitelist( address adminSigner_ ) internal virtual {
		_adminSigner = adminSigner_;
	}

	/**
	* @dev Returns the amount that `account_` is allowed to access from the whitelist.
	* 
	* Requirements:
	* 
	* - `_adminSigner` must be set.
	*/
	function checkWhitelistAllowance( address account_, uint8 whitelistType_, uint256 alloted_, Proof memory proof_ ) public view returns ( uint256 ) {
		if ( _adminSigner == address( 0 ) ) {
			revert IWhitelistable_NOT_SET();
		}

		if ( _consumed[ whitelistType_ ][ account_ ] >= alloted_ ) {
			revert IWhitelistable_CONSUMED( account_ );
		}

		bytes32 _digest_ = keccak256( abi.encode( whitelistType_, alloted_, account_ ) );
		if ( ! _validateProof( _digest_, proof_ ) ) {
			revert IWhitelistable_FORBIDDEN( account_ );
		}

		return alloted_ - _consumed[ whitelistType_ ][ account_ ];
	}

	function _validateProof( bytes32 digest_, Proof memory proof_ ) private view returns ( bool ) {
		address _signer_ = ecrecover( digest_, proof_.v, proof_.r, proof_.s );
		return _signer_ == _adminSigner;
	}

	/**
	* @dev Consumes `amount_` pass passes from `account_`.
	* 
	* Note: Before calling this function, eligibility should be checked through {IWhitelistable-checkWhitelistAllowance}.
	*/
	function _consumeWhitelist( address account_, uint8 whitelistType_, uint256 qty_ ) internal {
		unchecked {
			_consumed[ whitelistType_ ][ account_ ] += qty_;
		}
	}
}

File 4 of 12 : ITradable.sol
// SPDX-License-Identifier: MIT

/**
* Author: Lambdalf the White
*/

pragma solidity 0.8.10;

contract OwnableDelegateProxy {}

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

abstract contract ITradable {
	// OpenSea proxy registry address
	address[] public proxyRegistries;

	/**
	* @dev Internal function that adds a proxy registry to the list of accepted proxy registries.
	*/
	function _addProxyRegistry( address proxyRegistryAddress_ ) internal {
		uint256 _index_ = proxyRegistries.length;
		while ( _index_ > 0 ) {
			unchecked {
				_index_ --;
			}
			if ( proxyRegistries[ _index_ ] == proxyRegistryAddress_ ) {
				return;
			}
		}
		proxyRegistries.push( proxyRegistryAddress_ );
	}

	/**
	* @dev Internal function that removes a proxy registry from the list of accepted proxy registries.
	*/
	function _removeProxyRegistry( address proxyRegistryAddress_ ) internal {
		uint256 _len_ = proxyRegistries.length;
		uint256 _index_ = _len_;
		while ( _index_ > 0 ) {
			unchecked {
				_index_ --;
			}
			if ( proxyRegistries[ _index_ ] == proxyRegistryAddress_ ) {
				if ( _index_ + 1 != _len_ ) {
					proxyRegistries[ _index_ ] = proxyRegistries[ _len_ - 1 ];
				}
				proxyRegistries.pop();
			}
			return;
		}
	}

	/**
	* @dev Checks if `operator_` is a registered proxy for `tokenOwner_`.
	* 
	* Note: Use this function to allow whitelisting of registered proxy.
	*/
	function _isRegisteredProxy( address tokenOwner_, address operator_ ) internal view returns ( bool ) {
		uint256 _index_ = proxyRegistries.length;
		while ( _index_ > 0 ) {
			unchecked {
				_index_ --;
			}
			ProxyRegistry _proxyRegistry_ = ProxyRegistry( proxyRegistries[ _index_ ] );
			if ( address( _proxyRegistry_.proxies( tokenOwner_ ) ) == operator_ ) {
				return true;
			}
		}
		return false;
	}
}

File 5 of 12 : IPausable.sol
// SPDX-License-Identifier: MIT

/**
* Author: Lambdalf the White
*/

pragma solidity 0.8.10;

abstract contract IPausable {
	// Enum to represent the sale state, defaults to ``CLOSED``.
	uint8 constant CLOSED = 0;
	uint8 constant OPEN   = 1;

	// Errors
	error IPausable_INCORRECT_STATE( uint8 currentState );
	error IPausable_INVALID_STATE( uint8 newState );

	// The current state of the contract
	uint8 private _contractState;

	/**
	* @dev Emitted when the sale state changes
	*/
	event ContractStateChanged( uint8 indexed previousState, uint8 indexed newState );

	/**
	* @dev Internal function setting the contract state to `newState_`.
	* 
	* Note: Contract state can have one of 2 values by default, ``CLOSED`` or ``OPEN``.
	* 			To maintain extendability, the 2 available states are kept as uint8 instead of enum.
	* 			As a result, it is possible to set the state to an incorrect value.
	* 			To avoid issues, `newState_` should be validated before calling this function
	*/
	function _setPauseState( uint8 newState_ ) internal virtual {
		uint8 _previousState_ = _contractState;
		_contractState = newState_;
		emit ContractStateChanged( _previousState_, newState_ );
	}

	/**
	* @dev Internal function returning the contract state.
	*/
	function getPauseState() public virtual view returns ( uint8 ) {
		return _contractState;
	}

	/**
	* @dev Throws if sale state is not ``CLOSED``.
	*/
	modifier isClosed {
		if ( _contractState != CLOSED ) {
			revert IPausable_INCORRECT_STATE( _contractState );
		}
		_;
	}

	/**
	* @dev Throws if sale state is ``CLOSED``.
	*/
	modifier isNotClosed {
		if ( _contractState == CLOSED ) {
			revert IPausable_INCORRECT_STATE( _contractState );
		}
		_;
	}

	/**
	* @dev Throws if sale state is not ``OPEN``.
	*/
	modifier isOpen {
		if ( _contractState != OPEN ) {
			revert IPausable_INCORRECT_STATE( _contractState );
		}
		_;
	}

	/**
	* @dev Throws if sale state is ``OPEN``.
	*/
	modifier isNotOpen {
		if ( _contractState == OPEN ) {
			revert IPausable_INCORRECT_STATE( _contractState );
		}
		_;
	}
}

File 6 of 12 : IOwnable.sol
// SPDX-License-Identifier: MIT

/**
* Author: Lambdalf the White
*/

pragma solidity 0.8.10;

import "@openzeppelin/contracts/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 IOwnable is Context {
	// Errors
	error IOwnable_NOT_OWNER( address operator );

	// The owner of the contract
	address private _owner;

	/**
	* @dev Emitted when contract ownership changes.
	*/
	event OwnershipTransferred( address indexed previousOwner, address indexed newOwner );

	/**
	* @dev Initializes the contract setting the deployer as the initial owner.
	*/
	function _initIOwnable( address owner_ ) internal {
		_owner = owner_;
	}

	/**
	* @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() {
		address _sender_ = _msgSender();
		if ( owner() != _sender_ ) {
			revert IOwnable_NOT_OWNER( _sender_ );
		}
		_;
	}

	/**
	* @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 {
		address _oldOwner_ = _owner;
		_owner = newOwner_;
		emit OwnershipTransferred( _oldOwner_, newOwner_ );
	}
}

File 7 of 12 : ERC2981Base.sol
// SPDX-License-Identifier: MIT

/**
* Author: Lambdalf the White
*/

pragma solidity 0.8.10;

import "../interfaces/IERC2981.sol";
import "../interfaces/IERC165.sol";

abstract contract ERC2981Base is IERC165, IERC2981 {
	// Errors
	error IERC2981_INVALID_ROYALTIES( uint256 royaltyRate, uint256 royaltyBase );

	// Royalty rate is stored out of 10,000 instead of a percentage to allow for
	// up to two digits below the unit such as 2.5% or 1.25%.
	uint private constant ROYALTY_BASE = 10000;

	// Represents the percentage of royalties on each sale on secondary markets.
	// Set to 0 to have no royalties.
	uint256 private _royaltyRate;

	// Address of the recipient of the royalties.
	address private _royaltyRecipient;

	function _initERC2981Base( address royaltyRecipient_, uint256 royaltyRate_ ) internal {
		_setRoyaltyInfo( royaltyRecipient_, royaltyRate_ );
	}

	/**
	* @dev See {IERC2981-royaltyInfo}.
	* 
	* Note: This function should be overriden to revert on a query for non existent token.
	*/
	function royaltyInfo( uint256, uint256 salePrice_ ) public view virtual override returns ( address, uint256 ) {
		if ( salePrice_ == 0 || _royaltyRate == 0 ) {
			return ( _royaltyRecipient, 0 );
		}
		uint256 _royaltyAmount_ = _royaltyRate * salePrice_ / ROYALTY_BASE;
		return ( _royaltyRecipient, _royaltyAmount_ );
	}

	/**
	* @dev Sets the royalty rate to `royaltyRate_` and the royalty recipient to `royaltyRecipient_`.
	* 
	* Requirements: 
	* 
	* - `royaltyRate_` cannot be higher than `ROYALTY_BASE`;
	*/
	function _setRoyaltyInfo( address royaltyRecipient_, uint256 royaltyRate_ ) internal virtual {
		if ( royaltyRate_ > ROYALTY_BASE ) {
			revert IERC2981_INVALID_ROYALTIES( royaltyRate_, ROYALTY_BASE );
		}
		_royaltyRate      = royaltyRate_;
		_royaltyRecipient = royaltyRecipient_;
	}

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

File 8 of 12 : IERC1155MetadataURI.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC1155/extensions/IERC1155MetadataURI.sol)

pragma solidity 0.8.10;

import "./IERC1155.sol";

/**
* @dev Interface of the optional ERC1155MetadataExtension interface, as defined
* in the https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[EIP].
*
* _Available since v3.1._
*/
interface IERC1155MetadataURI is IERC1155 {
	/**
	* @dev Returns the URI for token type `id`.
	*
	* If the `\{id\}` substring is present in the URI, it must be replaced by
	* clients with the actual token type ID.
	*/
	function uri(uint256 id) external view returns (string memory);
}

File 9 of 12 : IERC1155Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC1155/IERC1155Receiver.sol)

pragma solidity 0.8.10;

/**
 * @dev _Available since v3.1._
 */
interface IERC1155Receiver {
    /**
        @dev Handles the receipt of a single ERC1155 token type. This function is
        called at the end of a `safeTransferFrom` after the balance has been updated.
        To accept the transfer, this must return
        `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))`
        (i.e. 0xf23a6e61, or its own function selector).
        @param operator The address which initiated the transfer (i.e. msg.sender)
        @param from The address which previously owned the token
        @param id The ID of the token being transferred
        @param value The amount of tokens being transferred
        @param data Additional data with no specified format
        @return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` if transfer is allowed
    */
    function onERC1155Received(
        address operator,
        address from,
        uint256 id,
        uint256 value,
        bytes calldata data
    ) external returns (bytes4);

    /**
        @dev Handles the receipt of a multiple ERC1155 token types. This function
        is called at the end of a `safeBatchTransferFrom` after the balances have
        been updated. To accept the transfer(s), this must return
        `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))`
        (i.e. 0xbc197c81, or its own function selector).
        @param operator The address which initiated the batch transfer (i.e. msg.sender)
        @param from The address which previously owned the token
        @param ids An array containing ids of each token being transferred (order and length must match values array)
        @param values An array containing amounts of each token being transferred (order and length must match ids array)
        @param data Additional data with no specified format
        @return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` if transfer is allowed
    */
    function onERC1155BatchReceived(
        address operator,
        address from,
        uint256[] calldata ids,
        uint256[] calldata values,
        bytes calldata data
    ) external returns (bytes4);
}

File 10 of 12 : IERC1155.sol
// SPDX-License-Identifier: MIT

/**
* Author: Lambdalf the White
*/

pragma solidity 0.8.10;

import "./IERC165.sol";

/**
* @title ERC-1155 Multi Token Standard
* @dev See https://eips.ethereum.org/EIPS/eip-1155
* Note: The ERC-165 identifier for this interface is 0xd9b67a26.
*/
interface IERC1155 /* is IERC165 */ {
	/**
	* @dev Either `TransferSingle` or `TransferBatch` MUST emit when tokens are transferred, including zero value transfers as well as minting or burning (see "Safe Transfer Rules" section of the standard).
	* The `operator` argument MUST be the address of an account/contract that is approved to make the transfer (SHOULD be msg.sender).
	* The `from` argument MUST be the address of the holder whose balance is decreased.
	* The `to` argument MUST be the address of the recipient whose balance is increased.
	* The `id` argument MUST be the token type being transferred.
	* The `value` argument MUST be the number of tokens the holder balance is decreased by and match what the recipient balance is increased by.
	* When minting/creating tokens, the `from` argument MUST be set to `0x0` (i.e. zero address).
	* When burning/destroying tokens, the `to` argument MUST be set to `0x0` (i.e. zero address).        
	*/
	event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value);

	/**
	* @dev Either `TransferSingle` or `TransferBatch` MUST emit when tokens are transferred, including zero value transfers as well as minting or burning (see "Safe Transfer Rules" section of the standard).      
	* The `operator` argument MUST be the address of an account/contract that is approved to make the transfer (SHOULD be msg.sender).
	* The `from` argument MUST be the address of the holder whose balance is decreased.
	* The `to` argument MUST be the address of the recipient whose balance is increased.
	* The `ids` argument MUST be the list of tokens being transferred.
	* The `values` argument MUST be the list of number of tokens (matching the list and order of tokens specified in ids) the holder balance is decreased by and match what the recipient balance is increased by.
	* When minting/creating tokens, the `from` argument MUST be set to `0x0` (i.e. zero address).
	* When burning/destroying tokens, the `to` argument MUST be set to `0x0` (i.e. zero address).                
	*/
	event TransferBatch(address indexed operator, address indexed from, address indexed to, uint256[] ids, uint256[] values);

	/**
	* @dev MUST emit when approval for a second party/operator address to manage all tokens for an owner address is enabled or disabled (absence of an event assumes disabled).        
	*/
	event ApprovalForAll(address indexed owner, address indexed operator, bool approved);

	/**
	* @dev MUST emit when the URI is updated for a token ID.
	* URIs are defined in RFC 3986.
	* The URI MUST point to a JSON file that conforms to the "ERC-1155 Metadata URI JSON Schema".
	*/
	event URI(string value, uint256 indexed id);

	/**
	* @notice Transfers `value` amount of an `id` from the `from` address to the `to` address specified (with safety call).
	* @dev Caller must be approved to manage the tokens being transferred out of the `from` account (see "Approval" section of the standard).
	* MUST revert if `to` is the zero address.
	* MUST revert if balance of holder for token `id` is lower than the `value` sent.
	* MUST revert on any other error.
	* MUST emit the `TransferSingle` event to reflect the balance change (see "Safe Transfer Rules" section of the standard).
	* After the above conditions are met, this function MUST check if `to` is a smart contract (e.g. code size > 0). If so, it MUST call `onERC1155Received` on `to` and act appropriately (see "Safe Transfer Rules" section of the standard).        
	* @param from    Source address
	* @param to      Target address
	* @param id      ID of the token type
	* @param value   Transfer amount
	* @param data    Additional data with no specified format, MUST be sent unaltered in call to `onERC1155Received` on `to`
	*/
	function safeTransferFrom(address from, address to, uint256 id, uint256 value, bytes calldata data) external;

	/**
	* @notice Transfers `values` amount(s) of `ids` from the `from` address to the `to` address specified (with safety call).
	* @dev Caller must be approved to manage the tokens being transferred out of the `from` account (see "Approval" section of the standard).
	* MUST revert if `to` is the zero address.
	* MUST revert if length of `ids` is not the same as length of `values`.
	* MUST revert if any of the balance(s) of the holder(s) for token(s) in `ids` is lower than the respective amount(s) in `values` sent to the recipient.
	* MUST revert on any other error.        
	* MUST emit `TransferSingle` or `TransferBatch` event(s) such that all the balance changes are reflected (see "Safe Transfer Rules" section of the standard).
	* Balance changes and events MUST follow the ordering of the arrays (_ids[0]/_values[0] before ids[1]/_values[1], etc).
	* After the above conditions for the transfer(s) in the batch are met, this function MUST check if `to` is a smart contract (e.g. code size > 0). If so, it MUST call the relevant `ERC1155TokenReceiver` hook(s) on `to` and act appropriately (see "Safe Transfer Rules" section of the standard).                      
	* @param from    Source address
	* @param to      Target address
	* @param ids     IDs of each token type (order and length must match values array)
	* @param values  Transfer amounts per token type (order and length must match ids array)
	* @param data    Additional data with no specified format, MUST be sent unaltered in call to the `ERC1155TokenReceiver` hook(s) on `to`
	*/
	function safeBatchTransferFrom(address from, address to, uint256[] calldata ids, uint256[] calldata values, bytes calldata data) external;

	/**
	* @notice Get the balance of an account's tokens.
	* @param owner  The address of the token holder
	* @param id     ID of the token
	* @return       The owner's balance of the token type requested
	*/
	function balanceOf(address owner, uint256 id) external view returns (uint256);

	/**
	* @notice Get the balance of multiple account/token pairs
	* @param owners The addresses of the token holders
	* @param ids    ID of the tokens
	* @return       The owner's balance of the token types requested (i.e. balance for each (owner, id) pair)
	*/
	function balanceOfBatch(address[] calldata owners, uint256[] calldata ids) external view returns (uint256[] memory);

	/**
	* @notice Enable or disable approval for a third party ("operator") to manage all of the caller's tokens.
	* @dev MUST emit the ApprovalForAll event on success.
	* @param operator  Address to add to the set of authorized operators
	* @param approved  True if the operator is approved, false to revoke approval
	*/
	function setApprovalForAll(address operator, bool approved) external;

	/**
	* @notice Queries the approval status of an operator for a given owner.
	* @param owner     The owner of the tokens
	* @param operator  Address of authorized operator
	* @return          True if the operator is approved, false if not
	*/
	function isApprovedForAll(address owner, address operator) external view returns (bool);
}

File 11 of 12 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity 0.8.10;

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

File 12 of 12 : IERC2981.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.10;

interface IERC2981 {
  /**
  * @dev ERC165 bytes to add to interface array - set in parent contract
  * implementing this standard
  *
  * bytes4(keccak256("royaltyInfo(uint256,uint256)")) == 0x2a55205a
  * bytes4 private constant _INTERFACE_ID_ERC2981 = 0x2a55205a;
  * _registerInterface(_INTERFACE_ID_ERC2981);
  *
  * @notice Called with the sale price to determine how much royalty
  *           is owed and to whom.
  * @param _tokenId - the NFT asset queried for royalty information
  * @param _salePrice - the sale price of the NFT asset specified by _tokenId
  * @return receiver - address of who should be sent the royalty payment
  * @return royaltyAmount - the royalty payment amount for _salePrice
  */
  function royaltyInfo(uint256 _tokenId, uint256 _salePrice) external view returns (address receiver, uint256 royaltyAmount);
}

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"IERC1155_APPROVE_CALLER","type":"error"},{"inputs":[],"name":"IERC1155_ARRAY_LENGTH_MISMATCH","type":"error"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"IERC1155_CALLER_NOT_APPROVED","type":"error"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"balance","type":"uint256"}],"name":"IERC1155_INSUFFICIENT_BALANCE","type":"error"},{"inputs":[],"name":"IERC1155_NON_ERC1155_RECEIVER","type":"error"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"IERC1155_NON_EXISTANT_TOKEN","type":"error"},{"inputs":[],"name":"IERC1155_NULL_ADDRESS_TRANSFER","type":"error"},{"inputs":[],"name":"IERC1155_REJECTED","type":"error"},{"inputs":[{"internalType":"uint256","name":"royaltyRate","type":"uint256"},{"internalType":"uint256","name":"royaltyBase","type":"uint256"}],"name":"IERC2981_INVALID_ROYALTIES","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"IOwnable_NOT_OWNER","type":"error"},{"inputs":[{"internalType":"uint8","name":"currentState","type":"uint8"}],"name":"IPausable_INCORRECT_STATE","type":"error"},{"inputs":[{"internalType":"uint8","name":"newState","type":"uint8"}],"name":"IPausable_INVALID_STATE","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"IWhitelistable_CONSUMED","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"IWhitelistable_FORBIDDEN","type":"error"},{"inputs":[],"name":"IWhitelistable_NOT_SET","type":"error"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"NFT_ETHER_TRANSFER_FAIL","type":"error"},{"inputs":[{"internalType":"uint256","name":"amountSent","type":"uint256"},{"internalType":"uint256","name":"amountExpected","type":"uint256"}],"name":"NFT_INCORRECT_PRICE","type":"error"},{"inputs":[],"name":"NFT_INVALID_QTY","type":"error"},{"inputs":[{"internalType":"uint256","name":"qty","type":"uint256"},{"internalType":"uint256","name":"maxBatch","type":"uint256"}],"name":"NFT_MAX_BATCH","type":"error"},{"inputs":[{"internalType":"uint256","name":"qty","type":"uint256"},{"internalType":"uint256","name":"remainingSupply","type":"uint256"}],"name":"NFT_MAX_SUPPLY","type":"error"},{"inputs":[],"name":"NFT_NO_ETHER_BALANCE","type":"error"},{"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":"uint8","name":"previousState","type":"uint8"},{"indexed":true,"internalType":"uint8","name":"newState","type":"uint8"}],"name":"ContractStateChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"TransferBatch","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"TransferSingle","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"value","type":"string"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"URI","type":"event"},{"inputs":[],"name":"CLAIM","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DEFAULT_WHITELIST","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_BATCH","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PASS_ID","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"proxyRegistryAddress_","type":"address"}],"name":"addProxyRegistry","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner_","type":"address"},{"internalType":"uint256","name":"id_","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"owners_","type":"address[]"},{"internalType":"uint256[]","name":"ids_","type":"uint256[]"}],"name":"balanceOfBatch","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account_","type":"address"},{"internalType":"uint8","name":"whitelistType_","type":"uint8"},{"internalType":"uint256","name":"alloted_","type":"uint256"},{"components":[{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"},{"internalType":"uint8","name":"v","type":"uint8"}],"internalType":"struct IWhitelistable_ECDSA.Proof","name":"proof_","type":"tuple"}],"name":"checkWhitelistAllowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"qty_","type":"uint256"},{"internalType":"uint256","name":"alloted_","type":"uint256"},{"components":[{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"},{"internalType":"uint8","name":"v","type":"uint8"}],"internalType":"struct IWhitelistable_ECDSA.Proof","name":"proof_","type":"tuple"}],"name":"claimPass","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getPauseState","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"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":[{"internalType":"uint256","name":"qty_","type":"uint256"}],"name":"mintPublic","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"proxyRegistries","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"remainingSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"proxyRegistryAddress_","type":"address"}],"name":"removeProxyRegistry","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"salePrice_","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from_","type":"address"},{"internalType":"address","name":"to_","type":"address"},{"internalType":"uint256[]","name":"ids_","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts_","type":"uint256[]"},{"internalType":"bytes","name":"data_","type":"bytes"}],"name":"safeBatchTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from_","type":"address"},{"internalType":"address","name":"to_","type":"address"},{"internalType":"uint256","name":"id_","type":"uint256"},{"internalType":"uint256","name":"amount_","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":"uint8","name":"newState_","type":"uint8"}],"name":"setPauseState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"price_","type":"uint256"}],"name":"setPublicPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"royaltyRecipient_","type":"address"},{"internalType":"uint256","name":"royaltyRate_","type":"uint256"}],"name":"setRoyaltyInfo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"uri_","type":"string"}],"name":"setURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"adminSigner_","type":"address"}],"name":"setWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceID_","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner_","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id_","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60e0604052603560808181529062002dfb60a03980516200002991600891602090910190620000d0565b503480156200003757600080fd5b50600080546001600160a01b031916339081179091556200005b816101f462000068565b506107d0600755620001b3565b62000074828262000078565b5050565b612710811115620000ab57604051632761fe9d60e11b815260048101829052612710602482015260440160405180910390fd5b600455600580546001600160a01b0319166001600160a01b0392909216919091179055565b828054620000de9062000176565b90600052602060002090601f0160209004810192826200010257600085556200014d565b82601f106200011d57805160ff19168380011785556200014d565b828001600101855582156200014d579182015b828111156200014d57825182559160200191906001019062000130565b506200015b9291506200015f565b5090565b5b808211156200015b576000815560010162000160565b600181811c908216806200018b57607f821691505b60208210811415620001ad57634e487b7160e01b600052602260045260246000fd5b50919050565b612c3880620001c36000396000f3fe6080604052600436106101cc5760003560e01c806389155270116100f7578063d0348b9711610095578063ef72f27611610064578063ef72f27614610558578063efd0cbf914610578578063f242432a1461058b578063f2fde38b146105ab57600080fd5b8063d0348b97146104e2578063da0239a614610502578063e2e784d514610518578063e985e9c51461053857600080fd5b80639a44f1fb116100d15780639a44f1fb1461045c578063a22cb4651461048c578063a945bf80146104ac578063c6275255146104c257600080fd5b806389155270146104005780638da5cb5b14610415578063950bff9f1461044757600080fd5b80633ccfd60b1161016f5780636dfa99fd1161013e5780636dfa99fd146103845780636ede0418146103a457806373d74876146103b9578063854cff2f146103e057600080fd5b80633ccfd60b146103025780633d610000146103175780634e1273f414610337578063630965091461036457600080fd5b80630e89341c116101ab5780630e89341c146102565780631a3f839d146102835780632a55205a146102a35780632eb2c2d6146102e257600080fd5b8062fdd58e146101d157806301ffc9a71461020457806302fe530514610234575b600080fd5b3480156101dd57600080fd5b506101f16101ec3660046122e2565b6105cb565b6040519081526020015b60405180910390f35b34801561021057600080fd5b5061022461021f36600461233c565b61062e565b60405190151581526020016101fb565b34801561024057600080fd5b5061025461024f366004612388565b61075f565b005b34801561026257600080fd5b50610276610271366004612457565b610801565b6040516101fb91906124db565b34801561028f57600080fd5b506101f161029e366004612567565b6108d5565b3480156102af57600080fd5b506102c36102be3660046125b7565b610a4a565b604080516001600160a01b0390931683526020830191909152016101fb565b3480156102ee57600080fd5b506102546102fd366004612660565b610aaa565b34801561030e57600080fd5b50610254610e16565b34801561032357600080fd5b5061025461033236600461271f565b610f3b565b34801561034357600080fd5b50610357610352366004612755565b6110c1565b6040516101fb91906127fc565b34801561037057600080fd5b5061025461037f36600461280f565b611211565b34801561039057600080fd5b5061025461039f36600461282a565b61126f565b3480156103b057600080fd5b506101f1600181565b3480156103c557600080fd5b506103ce600281565b60405160ff90911681526020016101fb565b3480156103ec57600080fd5b506102546103fb36600461282a565b6112c9565b34801561040c57600080fd5b506103ce600181565b34801561042157600080fd5b506000546001600160a01b03165b6040516001600160a01b0390911681526020016101fb565b34801561045357600080fd5b506101f1600a81565b34801561046857600080fd5b5060005474010000000000000000000000000000000000000000900460ff166103ce565b34801561049857600080fd5b506102546104a7366004612847565b611351565b3480156104b857600080fd5b506101f160065481565b3480156104ce57600080fd5b506102546104dd366004612457565b611420565b3480156104ee57600080fd5b5061042f6104fd366004612457565b611477565b34801561050e57600080fd5b506101f160075481565b34801561052457600080fd5b506102546105333660046122e2565b6114a1565b34801561054457600080fd5b50610224610553366004612885565b611501565b34801561056457600080fd5b5061025461057336600461282a565b611543565b610254610586366004612457565b61159d565b34801561059757600080fd5b506102546105a63660046128b3565b611739565b3480156105b757600080fd5b506102546105c636600461282a565b61194f565b60008160018114610610576040517f4e28dd33000000000000000000000000000000000000000000000000000000008152600481018290526024015b60405180910390fd5b5050506001600160a01b031660009081526009602052604090205490565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f01ffc9a70000000000000000000000000000000000000000000000000000000014806106c157507fffffffff0000000000000000000000000000000000000000000000000000000082167fd9b67a2600000000000000000000000000000000000000000000000000000000145b8061070d57507fffffffff0000000000000000000000000000000000000000000000000000000082167f0e89341c00000000000000000000000000000000000000000000000000000000145b8061075957507fffffffff0000000000000000000000000000000000000000000000000000000082167f2a55205a00000000000000000000000000000000000000000000000000000000145b92915050565b60005433906001600160a01b031681146107b0576040517fb4f195e60000000000000000000000000000000000000000000000000000000081526001600160a01b0382166004820152602401610607565b81516107c3906008906020850190612231565b5060017f6bb7ff708619ba0610cba295a58592e0451dee2622938c8755667688daf3529b836040516107f591906124db565b60405180910390a25050565b60608160018114610841576040517f4e28dd3300000000000000000000000000000000000000000000000000000000815260048101829052602401610607565b6008805461084e9061292f565b80601f016020809104026020016040519081016040528092919081815260200182805461087a9061292f565b80156108c75780601f1061089c576101008083540402835291602001916108c7565b820191906000526020600020905b8154815290600101906020018083116108aa57829003601f168201915b505050505091505b50919050565b6002546000906001600160a01b031661091a576040517fc71bad4d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60ff841660009081526003602090815260408083206001600160a01b03891684529091529020548311610984576040517f706e18b90000000000000000000000000000000000000000000000000000000081526001600160a01b0386166004820152602401610607565b6040805160ff861660208201529081018490526001600160a01b03861660608201526000906080016040516020818303038152906040528051906020012090506109ce8184611a09565b610a0f576040517ff9790dfd0000000000000000000000000000000000000000000000000000000081526001600160a01b0387166004820152602401610607565b60ff851660009081526003602090815260408083206001600160a01b038a168452909152902054610a4090856129ac565b9695505050505050565b600080821580610a5a5750600454155b15610a745750506005546001600160a01b03166000610aa3565b600061271084600454610a8791906129c3565b610a919190612a00565b6005546001600160a01b031693509150505b9250929050565b6001600160a01b038716610aea576040517f6944e05100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b84838114610b24576040517f40c35a2000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b33610b2f8a82611ab8565b610b78576040517f33d9226d0000000000000000000000000000000000000000000000000000000081526001600160a01b03808c16600483015282166024820152604401610607565b60005b82811015610d0a576001898983818110610b9757610b97612a3b565b9050602002013514610bf157888882818110610bb557610bb5612a3b565b905060200201356040517f4e28dd3300000000000000000000000000000000000000000000000000000000815260040161060791815260200190565b6001600160a01b038b16600090815260096020526040902054878783818110610c1c57610c1c612a3b565b90506020020135811015610c75576040517f38cb6d310000000000000000000000000000000000000000000000000000000081526001600160a01b038d1660048201526001602482015260448101829052606401610607565b878783818110610c8757610c87612a3b565b6001600160a01b038f16600090815260096020908152604090912091029290920135830390915550878783818110610cc157610cc1612a3b565b90506020020135600960008d6001600160a01b03166001600160a01b031681526020019081526020016000206000828254610cfc9190612a6a565b909155505050600101610b7b565b50886001600160a01b03168a6001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8b8b8b8b604051610d5e9493929190612ad1565b60405180910390a4610e0a818b8b8b8b8080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050604080516020808f0282810182019093528e82529093508e92508d91829185019084908082843760009201919091525050604080516020601f8e018190048102820181019092528c815292508c91508b9081908401838280828437600092019190915250611adf92505050565b50505050505050505050565b60005433906001600160a01b03168114610e67576040517fb4f195e60000000000000000000000000000000000000000000000000000000081526001600160a01b0382166004820152602401610607565b4780610e9f576040517fc65d108600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6040513390600090829084908381818185875af1925050503d8060008114610ee3576040519150601f19603f3d011682016040523d82523d6000602084013e610ee8565b606091505b5050905080610f35576040517f32bb0dee0000000000000000000000000000000000000000000000000000000081526001600160a01b038316600482015260248101849052604401610607565b50505050565b60005474010000000000000000000000000000000000000000900460ff1660028114610f98576040517f81d1489b00000000000000000000000000000000000000000000000000000000815260ff82166004820152602401610607565b8380610fd0576040517f7fcfed3c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60075481111561101a576007546040517f9abbab07000000000000000000000000000000000000000000000000000000008152610607918391600401918252602082015260400190565b336002858588600061102e868686866108d5565b905081811015611075576040517ff9790dfd0000000000000000000000000000000000000000000000000000000081526001600160a01b0387166004820152602401610607565b3360008181527fc3a24b0501bd2c13a7e57f2db4369ec4c223447539fc0724a9d55ac4a06ebd4d6020526040902080548d0190556110b3818d611c87565b505050505050505050505050565b6060838281146110fd576040517f40c35a2000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008167ffffffffffffffff81111561111857611118612359565b604051908082528060200260200182016040528015611141578160200160208202803683370190505b5090505b8115610a40577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff90910190600185858481811061118457611184612a3b565b90506020020135146111a257848483818110610bb557610bb5612a3b565b600960008888858181106111b8576111b8612a3b565b90506020020160208101906111cd919061282a565b6001600160a01b03166001600160a01b031681526020019081526020016000205481838151811061120057611200612a3b565b602002602001018181525050611145565b60005433906001600160a01b03168114611262576040517fb4f195e60000000000000000000000000000000000000000000000000000000081526001600160a01b0382166004820152602401610607565b61126b82611cee565b5050565b60005433906001600160a01b031681146112c0576040517fb4f195e60000000000000000000000000000000000000000000000000000000081526001600160a01b0382166004820152602401610607565b61126b82611d6b565b60005433906001600160a01b0316811461131a576040517fb4f195e60000000000000000000000000000000000000000000000000000000081526001600160a01b0382166004820152602401610607565b600280547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0384161790555050565b336001600160a01b038316811415611395576040517fe976cbab00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b038181166000818152600a602090815260408083209488168084529482529182902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001687151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b60005433906001600160a01b03168114611471576040517fb4f195e60000000000000000000000000000000000000000000000000000000081526001600160a01b0382166004820152602401610607565b50600655565b6001818154811061148757600080fd5b6000918252602090912001546001600160a01b0316905081565b60005433906001600160a01b031681146114f2576040517fb4f195e60000000000000000000000000000000000000000000000000000000081526001600160a01b0382166004820152602401610607565b6114fc8383611eac565b505050565b6001600160a01b038083166000908152600a6020908152604080832093851683529290529081205460ff168061153c575061153c8383611f30565b9392505050565b60005433906001600160a01b03168114611594576040517fb4f195e60000000000000000000000000000000000000000000000000000000081526001600160a01b0382166004820152602401610607565b61126b8261201c565b60005474010000000000000000000000000000000000000000900460ff16600114611614576000546040517f81d1489b0000000000000000000000000000000000000000000000000000000081527401000000000000000000000000000000000000000090910460ff166004820152602401610607565b808061164c576040517f7fcfed3c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600754811115611696576007546040517f9abbab07000000000000000000000000000000000000000000000000000000008152610607918391600401918252602082015260400190565b600a8211156116db576040517f5aaca4e400000000000000000000000000000000000000000000000000000000815260048101839052600a6024820152604401610607565b6000600654836116eb91906129c3565b905034811461172f576040517f87f85d7a00000000000000000000000000000000000000000000000000000000815234600482015260248101829052604401610607565b6114fc3384611c87565b8360018114611777576040517f4e28dd3300000000000000000000000000000000000000000000000000000000815260048101829052602401610607565b6001600160a01b0386166117b7576040517f6944e05100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b336117c28882611ab8565b61180b576040517f33d9226d0000000000000000000000000000000000000000000000000000000081526001600160a01b03808a16600483015282166024820152604401610607565b6001600160a01b03881660009081526009602052604090205485811015611877576040517f38cb6d310000000000000000000000000000000000000000000000000000000081526001600160a01b038a1660048201526024810188905260448101829052606401610607565b6001600160a01b03808a166000908152600960205260408082208985039055918a16815290812080548892906118ae908490612a6a565b909155505060408051888152602081018890526001600160a01b03808b16928c821692918616917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4611944828a8a8a8a8a8a8080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506120da92505050565b505050505050505050565b60005433906001600160a01b031681146119a0576040517fb4f195e60000000000000000000000000000000000000000000000000000000081526001600160a01b0382166004820152602401610607565b600080546001600160a01b038481167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a3505050565b60008060018484604001518560000151866020015160405160008152602001604052604051611a54949392919093845260ff9290921660208401526040830152606082015260800190565b6020604051602081039080840390855afa158015611a76573d6000803e3d6000fd5b50506040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe001516002546001600160a01b0390811691161495945050505050565b6000816001600160a01b0316836001600160a01b0316148061153c575061153c8383611501565b833b8015611c7e576040517fbc197c810000000000000000000000000000000000000000000000000000000081526001600160a01b0386169063bc197c8190611b34908a908a90899089908990600401612b03565b6020604051808303816000875af1925050508015611b8d575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0168201909252611b8a91810190612b61565b60015b611c01573d808015611bbb576040519150601f19603f3d011682016040523d82523d6000602084013e611bc0565b606091505b508051611bf9576040517fb22e563400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b7fffffffff0000000000000000000000000000000000000000000000000000000081167fbc197c810000000000000000000000000000000000000000000000000000000014611c7c576040517fb22e563400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b505b50505050505050565b6001600160a01b038216600081815260096020908152604080832080548601905560078054869003905580516001815291820185905283917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a45050565b6000805460ff838116740100000000000000000000000000000000000000008181027fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff851617855560405193049190911692909183917f7285522ec93a20dcefa1a1d057094a227073a5463b91c0c19a23c6ef5c9c1fe491a35050565b6001548080156114fc57808060019003915050826001600160a01b031660018281548110611d9b57611d9b612a3b565b6000918252602090912001546001600160a01b031614156114fc5781611dc2826001612a6a565b14611e3e576001611dd381846129ac565b81548110611de357611de3612a3b565b600091825260209091200154600180546001600160a01b039092169183908110611e0f57611e0f612a3b565b9060005260206000200160006101000a8154816001600160a01b0302191690836001600160a01b031602179055505b6001805480611e4f57611e4f612b7e565b60008281526020902081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff90810180547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055019055505050565b612710811115611ef3576040517f4ec3fd3a000000000000000000000000000000000000000000000000000000008152600481018290526127106024820152604401610607565b600455600580547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b6001546000905b801561201257808060019003915050600060018281548110611f5b57611f5b612a3b565b6000918252602090912001546040517fc45527910000000000000000000000000000000000000000000000000000000081526001600160a01b038781166004830152918216925090851690829063c455279190602401602060405180830381865afa158015611fce573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ff29190612bad565b6001600160a01b0316141561200c57600192505050610759565b50611f37565b5060009392505050565b6001545b801561207057808060019003915050816001600160a01b03166001828154811061204c5761204c612a3b565b6000918252602090912001546001600160a01b0316141561206b575050565b612020565b506001805480820182556000919091527fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf60180547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b833b8015611c7e576040517ff23a6e610000000000000000000000000000000000000000000000000000000081526001600160a01b0386169063f23a6e619061212f908a908a90899089908990600401612bca565b6020604051808303816000875af1925050508015612188575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016820190925261218591810190612b61565b60015b6121b6573d808015611bbb576040519150601f19603f3d011682016040523d82523d6000602084013e611bc0565b7fffffffff0000000000000000000000000000000000000000000000000000000081167ff23a6e610000000000000000000000000000000000000000000000000000000014611c7c576040517fb22e563400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b82805461223d9061292f565b90600052602060002090601f01602090048101928261225f57600085556122a5565b82601f1061227857805160ff19168380011785556122a5565b828001600101855582156122a5579182015b828111156122a557825182559160200191906001019061228a565b506122b19291506122b5565b5090565b5b808211156122b157600081556001016122b6565b6001600160a01b03811681146122df57600080fd5b50565b600080604083850312156122f557600080fd5b8235612300816122ca565b946020939093013593505050565b7fffffffff00000000000000000000000000000000000000000000000000000000811681146122df57600080fd5b60006020828403121561234e57600080fd5b813561153c8161230e565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60006020828403121561239a57600080fd5b813567ffffffffffffffff808211156123b257600080fd5b818401915084601f8301126123c657600080fd5b8135818111156123d8576123d8612359565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f0116810190838211818310171561241e5761241e612359565b8160405282815287602084870101111561243757600080fd5b826020860160208301376000928101602001929092525095945050505050565b60006020828403121561246957600080fd5b5035919050565b6000815180845260005b818110156124965760208185018101518683018201520161247a565b818111156124a8576000602083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b60208152600061153c6020830184612470565b803560ff811681146124ff57600080fd5b919050565b60006060828403121561251657600080fd5b6040516060810181811067ffffffffffffffff8211171561253957612539612359565b8060405250809150823581526020830135602082015261255b604084016124ee565b60408201525092915050565b60008060008060c0858703121561257d57600080fd5b8435612588816122ca565b9350612596602086016124ee565b9250604085013591506125ac8660608701612504565b905092959194509250565b600080604083850312156125ca57600080fd5b50508035926020909101359150565b60008083601f8401126125eb57600080fd5b50813567ffffffffffffffff81111561260357600080fd5b6020830191508360208260051b8501011115610aa357600080fd5b60008083601f84011261263057600080fd5b50813567ffffffffffffffff81111561264857600080fd5b602083019150836020828501011115610aa357600080fd5b60008060008060008060008060a0898b03121561267c57600080fd5b8835612687816122ca565b97506020890135612697816122ca565b9650604089013567ffffffffffffffff808211156126b457600080fd5b6126c08c838d016125d9565b909850965060608b01359150808211156126d957600080fd5b6126e58c838d016125d9565b909650945060808b01359150808211156126fe57600080fd5b5061270b8b828c0161261e565b999c989b5096995094979396929594505050565b600080600060a0848603121561273457600080fd5b833592506020840135915061274c8560408601612504565b90509250925092565b6000806000806040858703121561276b57600080fd5b843567ffffffffffffffff8082111561278357600080fd5b61278f888389016125d9565b909650945060208701359150808211156127a857600080fd5b506127b5878288016125d9565b95989497509550505050565b600081518084526020808501945080840160005b838110156127f1578151875295820195908201906001016127d5565b509495945050505050565b60208152600061153c60208301846127c1565b60006020828403121561282157600080fd5b61153c826124ee565b60006020828403121561283c57600080fd5b813561153c816122ca565b6000806040838503121561285a57600080fd5b8235612865816122ca565b91506020830135801515811461287a57600080fd5b809150509250929050565b6000806040838503121561289857600080fd5b82356128a3816122ca565b9150602083013561287a816122ca565b60008060008060008060a087890312156128cc57600080fd5b86356128d7816122ca565b955060208701356128e7816122ca565b94506040870135935060608701359250608087013567ffffffffffffffff81111561291157600080fd5b61291d89828a0161261e565b979a9699509497509295939492505050565b600181811c9082168061294357607f821691505b602082108114156108cf577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000828210156129be576129be61297d565b500390565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156129fb576129fb61297d565b500290565b600082612a36577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60008219821115612a7d57612a7d61297d565b500190565b81835260007f07ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff831115612ab457600080fd5b8260051b8083602087013760009401602001938452509192915050565b604081526000612ae5604083018688612a82565b8281036020840152612af8818587612a82565b979650505050505050565b60006001600160a01b03808816835280871660208401525060a06040830152612b2f60a08301866127c1565b8281036060840152612b4181866127c1565b90508281036080840152612b558185612470565b98975050505050505050565b600060208284031215612b7357600080fd5b815161153c8161230e565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b600060208284031215612bbf57600080fd5b815161153c816122ca565b60006001600160a01b03808816835280871660208401525084604083015283606083015260a06080830152612af860a083018461247056fea2646970667358221220ba55526b7ce843312cad4767dca83241a04b8e254159c4ba3c89d818a8e2861864736f6c634300080a0033697066733a2f2f516d5865646538676869617039686f707059324e56544645587073686d63665073447a784645397964564d586279

Deployed Bytecode

0x6080604052600436106101cc5760003560e01c806389155270116100f7578063d0348b9711610095578063ef72f27611610064578063ef72f27614610558578063efd0cbf914610578578063f242432a1461058b578063f2fde38b146105ab57600080fd5b8063d0348b97146104e2578063da0239a614610502578063e2e784d514610518578063e985e9c51461053857600080fd5b80639a44f1fb116100d15780639a44f1fb1461045c578063a22cb4651461048c578063a945bf80146104ac578063c6275255146104c257600080fd5b806389155270146104005780638da5cb5b14610415578063950bff9f1461044757600080fd5b80633ccfd60b1161016f5780636dfa99fd1161013e5780636dfa99fd146103845780636ede0418146103a457806373d74876146103b9578063854cff2f146103e057600080fd5b80633ccfd60b146103025780633d610000146103175780634e1273f414610337578063630965091461036457600080fd5b80630e89341c116101ab5780630e89341c146102565780631a3f839d146102835780632a55205a146102a35780632eb2c2d6146102e257600080fd5b8062fdd58e146101d157806301ffc9a71461020457806302fe530514610234575b600080fd5b3480156101dd57600080fd5b506101f16101ec3660046122e2565b6105cb565b6040519081526020015b60405180910390f35b34801561021057600080fd5b5061022461021f36600461233c565b61062e565b60405190151581526020016101fb565b34801561024057600080fd5b5061025461024f366004612388565b61075f565b005b34801561026257600080fd5b50610276610271366004612457565b610801565b6040516101fb91906124db565b34801561028f57600080fd5b506101f161029e366004612567565b6108d5565b3480156102af57600080fd5b506102c36102be3660046125b7565b610a4a565b604080516001600160a01b0390931683526020830191909152016101fb565b3480156102ee57600080fd5b506102546102fd366004612660565b610aaa565b34801561030e57600080fd5b50610254610e16565b34801561032357600080fd5b5061025461033236600461271f565b610f3b565b34801561034357600080fd5b50610357610352366004612755565b6110c1565b6040516101fb91906127fc565b34801561037057600080fd5b5061025461037f36600461280f565b611211565b34801561039057600080fd5b5061025461039f36600461282a565b61126f565b3480156103b057600080fd5b506101f1600181565b3480156103c557600080fd5b506103ce600281565b60405160ff90911681526020016101fb565b3480156103ec57600080fd5b506102546103fb36600461282a565b6112c9565b34801561040c57600080fd5b506103ce600181565b34801561042157600080fd5b506000546001600160a01b03165b6040516001600160a01b0390911681526020016101fb565b34801561045357600080fd5b506101f1600a81565b34801561046857600080fd5b5060005474010000000000000000000000000000000000000000900460ff166103ce565b34801561049857600080fd5b506102546104a7366004612847565b611351565b3480156104b857600080fd5b506101f160065481565b3480156104ce57600080fd5b506102546104dd366004612457565b611420565b3480156104ee57600080fd5b5061042f6104fd366004612457565b611477565b34801561050e57600080fd5b506101f160075481565b34801561052457600080fd5b506102546105333660046122e2565b6114a1565b34801561054457600080fd5b50610224610553366004612885565b611501565b34801561056457600080fd5b5061025461057336600461282a565b611543565b610254610586366004612457565b61159d565b34801561059757600080fd5b506102546105a63660046128b3565b611739565b3480156105b757600080fd5b506102546105c636600461282a565b61194f565b60008160018114610610576040517f4e28dd33000000000000000000000000000000000000000000000000000000008152600481018290526024015b60405180910390fd5b5050506001600160a01b031660009081526009602052604090205490565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f01ffc9a70000000000000000000000000000000000000000000000000000000014806106c157507fffffffff0000000000000000000000000000000000000000000000000000000082167fd9b67a2600000000000000000000000000000000000000000000000000000000145b8061070d57507fffffffff0000000000000000000000000000000000000000000000000000000082167f0e89341c00000000000000000000000000000000000000000000000000000000145b8061075957507fffffffff0000000000000000000000000000000000000000000000000000000082167f2a55205a00000000000000000000000000000000000000000000000000000000145b92915050565b60005433906001600160a01b031681146107b0576040517fb4f195e60000000000000000000000000000000000000000000000000000000081526001600160a01b0382166004820152602401610607565b81516107c3906008906020850190612231565b5060017f6bb7ff708619ba0610cba295a58592e0451dee2622938c8755667688daf3529b836040516107f591906124db565b60405180910390a25050565b60608160018114610841576040517f4e28dd3300000000000000000000000000000000000000000000000000000000815260048101829052602401610607565b6008805461084e9061292f565b80601f016020809104026020016040519081016040528092919081815260200182805461087a9061292f565b80156108c75780601f1061089c576101008083540402835291602001916108c7565b820191906000526020600020905b8154815290600101906020018083116108aa57829003601f168201915b505050505091505b50919050565b6002546000906001600160a01b031661091a576040517fc71bad4d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60ff841660009081526003602090815260408083206001600160a01b03891684529091529020548311610984576040517f706e18b90000000000000000000000000000000000000000000000000000000081526001600160a01b0386166004820152602401610607565b6040805160ff861660208201529081018490526001600160a01b03861660608201526000906080016040516020818303038152906040528051906020012090506109ce8184611a09565b610a0f576040517ff9790dfd0000000000000000000000000000000000000000000000000000000081526001600160a01b0387166004820152602401610607565b60ff851660009081526003602090815260408083206001600160a01b038a168452909152902054610a4090856129ac565b9695505050505050565b600080821580610a5a5750600454155b15610a745750506005546001600160a01b03166000610aa3565b600061271084600454610a8791906129c3565b610a919190612a00565b6005546001600160a01b031693509150505b9250929050565b6001600160a01b038716610aea576040517f6944e05100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b84838114610b24576040517f40c35a2000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b33610b2f8a82611ab8565b610b78576040517f33d9226d0000000000000000000000000000000000000000000000000000000081526001600160a01b03808c16600483015282166024820152604401610607565b60005b82811015610d0a576001898983818110610b9757610b97612a3b565b9050602002013514610bf157888882818110610bb557610bb5612a3b565b905060200201356040517f4e28dd3300000000000000000000000000000000000000000000000000000000815260040161060791815260200190565b6001600160a01b038b16600090815260096020526040902054878783818110610c1c57610c1c612a3b565b90506020020135811015610c75576040517f38cb6d310000000000000000000000000000000000000000000000000000000081526001600160a01b038d1660048201526001602482015260448101829052606401610607565b878783818110610c8757610c87612a3b565b6001600160a01b038f16600090815260096020908152604090912091029290920135830390915550878783818110610cc157610cc1612a3b565b90506020020135600960008d6001600160a01b03166001600160a01b031681526020019081526020016000206000828254610cfc9190612a6a565b909155505050600101610b7b565b50886001600160a01b03168a6001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8b8b8b8b604051610d5e9493929190612ad1565b60405180910390a4610e0a818b8b8b8b8080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050604080516020808f0282810182019093528e82529093508e92508d91829185019084908082843760009201919091525050604080516020601f8e018190048102820181019092528c815292508c91508b9081908401838280828437600092019190915250611adf92505050565b50505050505050505050565b60005433906001600160a01b03168114610e67576040517fb4f195e60000000000000000000000000000000000000000000000000000000081526001600160a01b0382166004820152602401610607565b4780610e9f576040517fc65d108600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6040513390600090829084908381818185875af1925050503d8060008114610ee3576040519150601f19603f3d011682016040523d82523d6000602084013e610ee8565b606091505b5050905080610f35576040517f32bb0dee0000000000000000000000000000000000000000000000000000000081526001600160a01b038316600482015260248101849052604401610607565b50505050565b60005474010000000000000000000000000000000000000000900460ff1660028114610f98576040517f81d1489b00000000000000000000000000000000000000000000000000000000815260ff82166004820152602401610607565b8380610fd0576040517f7fcfed3c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60075481111561101a576007546040517f9abbab07000000000000000000000000000000000000000000000000000000008152610607918391600401918252602082015260400190565b336002858588600061102e868686866108d5565b905081811015611075576040517ff9790dfd0000000000000000000000000000000000000000000000000000000081526001600160a01b0387166004820152602401610607565b3360008181527fc3a24b0501bd2c13a7e57f2db4369ec4c223447539fc0724a9d55ac4a06ebd4d6020526040902080548d0190556110b3818d611c87565b505050505050505050505050565b6060838281146110fd576040517f40c35a2000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008167ffffffffffffffff81111561111857611118612359565b604051908082528060200260200182016040528015611141578160200160208202803683370190505b5090505b8115610a40577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff90910190600185858481811061118457611184612a3b565b90506020020135146111a257848483818110610bb557610bb5612a3b565b600960008888858181106111b8576111b8612a3b565b90506020020160208101906111cd919061282a565b6001600160a01b03166001600160a01b031681526020019081526020016000205481838151811061120057611200612a3b565b602002602001018181525050611145565b60005433906001600160a01b03168114611262576040517fb4f195e60000000000000000000000000000000000000000000000000000000081526001600160a01b0382166004820152602401610607565b61126b82611cee565b5050565b60005433906001600160a01b031681146112c0576040517fb4f195e60000000000000000000000000000000000000000000000000000000081526001600160a01b0382166004820152602401610607565b61126b82611d6b565b60005433906001600160a01b0316811461131a576040517fb4f195e60000000000000000000000000000000000000000000000000000000081526001600160a01b0382166004820152602401610607565b600280547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0384161790555050565b336001600160a01b038316811415611395576040517fe976cbab00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b038181166000818152600a602090815260408083209488168084529482529182902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001687151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b60005433906001600160a01b03168114611471576040517fb4f195e60000000000000000000000000000000000000000000000000000000081526001600160a01b0382166004820152602401610607565b50600655565b6001818154811061148757600080fd5b6000918252602090912001546001600160a01b0316905081565b60005433906001600160a01b031681146114f2576040517fb4f195e60000000000000000000000000000000000000000000000000000000081526001600160a01b0382166004820152602401610607565b6114fc8383611eac565b505050565b6001600160a01b038083166000908152600a6020908152604080832093851683529290529081205460ff168061153c575061153c8383611f30565b9392505050565b60005433906001600160a01b03168114611594576040517fb4f195e60000000000000000000000000000000000000000000000000000000081526001600160a01b0382166004820152602401610607565b61126b8261201c565b60005474010000000000000000000000000000000000000000900460ff16600114611614576000546040517f81d1489b0000000000000000000000000000000000000000000000000000000081527401000000000000000000000000000000000000000090910460ff166004820152602401610607565b808061164c576040517f7fcfed3c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600754811115611696576007546040517f9abbab07000000000000000000000000000000000000000000000000000000008152610607918391600401918252602082015260400190565b600a8211156116db576040517f5aaca4e400000000000000000000000000000000000000000000000000000000815260048101839052600a6024820152604401610607565b6000600654836116eb91906129c3565b905034811461172f576040517f87f85d7a00000000000000000000000000000000000000000000000000000000815234600482015260248101829052604401610607565b6114fc3384611c87565b8360018114611777576040517f4e28dd3300000000000000000000000000000000000000000000000000000000815260048101829052602401610607565b6001600160a01b0386166117b7576040517f6944e05100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b336117c28882611ab8565b61180b576040517f33d9226d0000000000000000000000000000000000000000000000000000000081526001600160a01b03808a16600483015282166024820152604401610607565b6001600160a01b03881660009081526009602052604090205485811015611877576040517f38cb6d310000000000000000000000000000000000000000000000000000000081526001600160a01b038a1660048201526024810188905260448101829052606401610607565b6001600160a01b03808a166000908152600960205260408082208985039055918a16815290812080548892906118ae908490612a6a565b909155505060408051888152602081018890526001600160a01b03808b16928c821692918616917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4611944828a8a8a8a8a8a8080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506120da92505050565b505050505050505050565b60005433906001600160a01b031681146119a0576040517fb4f195e60000000000000000000000000000000000000000000000000000000081526001600160a01b0382166004820152602401610607565b600080546001600160a01b038481167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a3505050565b60008060018484604001518560000151866020015160405160008152602001604052604051611a54949392919093845260ff9290921660208401526040830152606082015260800190565b6020604051602081039080840390855afa158015611a76573d6000803e3d6000fd5b50506040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe001516002546001600160a01b0390811691161495945050505050565b6000816001600160a01b0316836001600160a01b0316148061153c575061153c8383611501565b833b8015611c7e576040517fbc197c810000000000000000000000000000000000000000000000000000000081526001600160a01b0386169063bc197c8190611b34908a908a90899089908990600401612b03565b6020604051808303816000875af1925050508015611b8d575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0168201909252611b8a91810190612b61565b60015b611c01573d808015611bbb576040519150601f19603f3d011682016040523d82523d6000602084013e611bc0565b606091505b508051611bf9576040517fb22e563400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b7fffffffff0000000000000000000000000000000000000000000000000000000081167fbc197c810000000000000000000000000000000000000000000000000000000014611c7c576040517fb22e563400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b505b50505050505050565b6001600160a01b038216600081815260096020908152604080832080548601905560078054869003905580516001815291820185905283917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a45050565b6000805460ff838116740100000000000000000000000000000000000000008181027fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff851617855560405193049190911692909183917f7285522ec93a20dcefa1a1d057094a227073a5463b91c0c19a23c6ef5c9c1fe491a35050565b6001548080156114fc57808060019003915050826001600160a01b031660018281548110611d9b57611d9b612a3b565b6000918252602090912001546001600160a01b031614156114fc5781611dc2826001612a6a565b14611e3e576001611dd381846129ac565b81548110611de357611de3612a3b565b600091825260209091200154600180546001600160a01b039092169183908110611e0f57611e0f612a3b565b9060005260206000200160006101000a8154816001600160a01b0302191690836001600160a01b031602179055505b6001805480611e4f57611e4f612b7e565b60008281526020902081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff90810180547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055019055505050565b612710811115611ef3576040517f4ec3fd3a000000000000000000000000000000000000000000000000000000008152600481018290526127106024820152604401610607565b600455600580547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b6001546000905b801561201257808060019003915050600060018281548110611f5b57611f5b612a3b565b6000918252602090912001546040517fc45527910000000000000000000000000000000000000000000000000000000081526001600160a01b038781166004830152918216925090851690829063c455279190602401602060405180830381865afa158015611fce573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ff29190612bad565b6001600160a01b0316141561200c57600192505050610759565b50611f37565b5060009392505050565b6001545b801561207057808060019003915050816001600160a01b03166001828154811061204c5761204c612a3b565b6000918252602090912001546001600160a01b0316141561206b575050565b612020565b506001805480820182556000919091527fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf60180547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b833b8015611c7e576040517ff23a6e610000000000000000000000000000000000000000000000000000000081526001600160a01b0386169063f23a6e619061212f908a908a90899089908990600401612bca565b6020604051808303816000875af1925050508015612188575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016820190925261218591810190612b61565b60015b6121b6573d808015611bbb576040519150601f19603f3d011682016040523d82523d6000602084013e611bc0565b7fffffffff0000000000000000000000000000000000000000000000000000000081167ff23a6e610000000000000000000000000000000000000000000000000000000014611c7c576040517fb22e563400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b82805461223d9061292f565b90600052602060002090601f01602090048101928261225f57600085556122a5565b82601f1061227857805160ff19168380011785556122a5565b828001600101855582156122a5579182015b828111156122a557825182559160200191906001019061228a565b506122b19291506122b5565b5090565b5b808211156122b157600081556001016122b6565b6001600160a01b03811681146122df57600080fd5b50565b600080604083850312156122f557600080fd5b8235612300816122ca565b946020939093013593505050565b7fffffffff00000000000000000000000000000000000000000000000000000000811681146122df57600080fd5b60006020828403121561234e57600080fd5b813561153c8161230e565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60006020828403121561239a57600080fd5b813567ffffffffffffffff808211156123b257600080fd5b818401915084601f8301126123c657600080fd5b8135818111156123d8576123d8612359565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f0116810190838211818310171561241e5761241e612359565b8160405282815287602084870101111561243757600080fd5b826020860160208301376000928101602001929092525095945050505050565b60006020828403121561246957600080fd5b5035919050565b6000815180845260005b818110156124965760208185018101518683018201520161247a565b818111156124a8576000602083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b60208152600061153c6020830184612470565b803560ff811681146124ff57600080fd5b919050565b60006060828403121561251657600080fd5b6040516060810181811067ffffffffffffffff8211171561253957612539612359565b8060405250809150823581526020830135602082015261255b604084016124ee565b60408201525092915050565b60008060008060c0858703121561257d57600080fd5b8435612588816122ca565b9350612596602086016124ee565b9250604085013591506125ac8660608701612504565b905092959194509250565b600080604083850312156125ca57600080fd5b50508035926020909101359150565b60008083601f8401126125eb57600080fd5b50813567ffffffffffffffff81111561260357600080fd5b6020830191508360208260051b8501011115610aa357600080fd5b60008083601f84011261263057600080fd5b50813567ffffffffffffffff81111561264857600080fd5b602083019150836020828501011115610aa357600080fd5b60008060008060008060008060a0898b03121561267c57600080fd5b8835612687816122ca565b97506020890135612697816122ca565b9650604089013567ffffffffffffffff808211156126b457600080fd5b6126c08c838d016125d9565b909850965060608b01359150808211156126d957600080fd5b6126e58c838d016125d9565b909650945060808b01359150808211156126fe57600080fd5b5061270b8b828c0161261e565b999c989b5096995094979396929594505050565b600080600060a0848603121561273457600080fd5b833592506020840135915061274c8560408601612504565b90509250925092565b6000806000806040858703121561276b57600080fd5b843567ffffffffffffffff8082111561278357600080fd5b61278f888389016125d9565b909650945060208701359150808211156127a857600080fd5b506127b5878288016125d9565b95989497509550505050565b600081518084526020808501945080840160005b838110156127f1578151875295820195908201906001016127d5565b509495945050505050565b60208152600061153c60208301846127c1565b60006020828403121561282157600080fd5b61153c826124ee565b60006020828403121561283c57600080fd5b813561153c816122ca565b6000806040838503121561285a57600080fd5b8235612865816122ca565b91506020830135801515811461287a57600080fd5b809150509250929050565b6000806040838503121561289857600080fd5b82356128a3816122ca565b9150602083013561287a816122ca565b60008060008060008060a087890312156128cc57600080fd5b86356128d7816122ca565b955060208701356128e7816122ca565b94506040870135935060608701359250608087013567ffffffffffffffff81111561291157600080fd5b61291d89828a0161261e565b979a9699509497509295939492505050565b600181811c9082168061294357607f821691505b602082108114156108cf577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000828210156129be576129be61297d565b500390565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156129fb576129fb61297d565b500290565b600082612a36577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60008219821115612a7d57612a7d61297d565b500190565b81835260007f07ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff831115612ab457600080fd5b8260051b8083602087013760009401602001938452509192915050565b604081526000612ae5604083018688612a82565b8281036020840152612af8818587612a82565b979650505050505050565b60006001600160a01b03808816835280871660208401525060a06040830152612b2f60a08301866127c1565b8281036060840152612b4181866127c1565b90508281036080840152612b558185612470565b98975050505050505050565b600060208284031215612b7357600080fd5b815161153c8161230e565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b600060208284031215612bbf57600080fd5b815161153c816122ca565b60006001600160a01b03808816835280871660208401525084604083015283606083015260a06080830152612af860a083018461247056fea2646970667358221220ba55526b7ce843312cad4767dca83241a04b8e254159c4ba3c89d818a8e2861864736f6c634300080a0033

Loading...
Loading
Loading...
Loading
[ 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.