ERC-721
Overview
Max Total Supply
999 Tiny
Holders
730
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 TinyLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Source Code Verified (Exact Match)
Contract Name:
TinyBlazers
Compiler Version
v0.8.23+commit.f704f362
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity 0.8.23; import '@openzeppelin/contracts/security/ReentrancyGuard.sol'; import '@openzeppelin/contracts/utils/cryptography/MerkleProof.sol'; import '@openzeppelin/contracts/access/Ownable2Step.sol'; import '@openzeppelin/contracts/utils/Strings.sol'; import '@openzeppelin/contracts/token/common/ERC2981.sol'; import '@openzeppelin/contracts/security/Pausable.sol'; import './erc721a/contracts/ERC721A.sol'; contract TinyBlazers is ReentrancyGuard, ERC2981, Ownable2Step, ERC721A, Pausable { using Strings for uint256; uint256 public MAX_SUPPLY = 1000; uint8 public mintableTokenPerWL = 1; uint8 public mintableTokenPerPrivateMint = 1; uint8 public mintableTokenPerPublicMint = 1; string private _contractURI; mapping(address => uint8) public whitelistMintCount; mapping(address => uint8) public privateMintCount; mapping(address => uint8) public publicMintCount; uint256 public PublicMintPrice = 0; uint256 public WhitelistMintPrice = 0; uint256 public PrivateMintPrice = 0; string public BaseURI; string public NotRevealedURI; bytes32 public whitelistMintMerkleRoot; bytes32 public privateMintMerkleRoot; bool private pubSaleActive; enum ContractStatus { DEPLOY, PRIVATE, WL, SALE, SOLD } enum MintStatus { WL, PRIVATE, PUBLIC } bool public REVEAL; ContractStatus public contractStatus; constructor() ERC721A('Tiny Blazers', 'Tiny') { contractStatus = ContractStatus.DEPLOY; } function whitelistMint( bytes32[] calldata _merkleProof, uint8 _quantity ) external payable nonReentrant { require( verifyWhitelistMintAddress(_merkleProof, msg.sender), 'Tiny: INVALID_PROOF' ); require(contractStatus != ContractStatus.SOLD, 'Tiny: sold out'); require( contractStatus == ContractStatus.WL, 'Tiny: whitelist not started or is ended' ); require(_quantity > 0, 'Tiny: mint at least 1 token'); uint256 _price = WhitelistMintPrice * _quantity; require(msg.value >= _price, 'Tiny: you need to send more ETH'); require(totalSupply() + _quantity <= MAX_SUPPLY, 'Tiny: max supply exceed'); require( whitelistMintCount[msg.sender] + _quantity <= mintableTokenPerWL, 'Tiny: max limit for minting reached' ); _mintToken(msg.sender, _quantity, MintStatus.WL, _price); } function privateMint( bytes32[] calldata _merkleProof, uint8 _quantity ) external payable nonReentrant { require( verifyPrivateMintAddress(_merkleProof, msg.sender), 'Tiny: INVALID_PROOF' ); require(contractStatus != ContractStatus.SOLD, 'Tiny: sold out'); require( contractStatus == ContractStatus.PRIVATE, 'Tiny: private mint not started or is ended' ); require(_quantity > 0, 'Tiny: mint at least 1 token'); uint256 _price = PrivateMintPrice * _quantity; require(msg.value >= _price, 'Tiny: you need to send more ETH'); require(totalSupply() + _quantity <= MAX_SUPPLY, 'Tiny: max supply exceed'); require( privateMintCount[msg.sender] + _quantity <= mintableTokenPerPrivateMint, 'Tiny: max limit for minting reached' ); _mintToken(msg.sender, _quantity, MintStatus.PRIVATE, _price); } function mint(uint8 _quantity) external payable nonReentrant { require(contractStatus != ContractStatus.SOLD, 'Tiny: sold out'); require(contractStatus == ContractStatus.SALE, 'Tiny: sale not started'); uint256 _price = PublicMintPrice * _quantity; require(msg.value >= _price, 'Tiny: you need to send more ETH'); require(totalSupply() + _quantity <= MAX_SUPPLY, 'Tiny: max supply exceed'); require(_quantity > 0, 'Tiny: mint at least 1 token'); require( publicMintCount[msg.sender] + _quantity <= mintableTokenPerPublicMint, 'Tiny: max limit for minting reached' ); _mintToken(msg.sender, _quantity, MintStatus.PUBLIC, _price); } function _mintToken( address _address, uint8 _quantity, MintStatus _mintStatus, uint256 _price ) private { super._safeMint(_address, _quantity); if (_price == 0) { handleMintWithZeroPrice(_address, _quantity, _mintStatus); } else { handleMintWithNonZeroPrice(_address, _quantity, _price, _mintStatus); } } function handleMintWithZeroPrice( address _address, uint8 _quantity, MintStatus _mintStatus ) private { if (totalSupply() + _quantity == MAX_SUPPLY) { contractStatus = ContractStatus.SOLD; } if (MintStatus.WL == _mintStatus) { whitelistMintCount[_address] += _quantity; } else if (MintStatus.PUBLIC == _mintStatus) { publicMintCount[_address] += _quantity; } else if (MintStatus.PRIVATE == _mintStatus) { privateMintCount[_address] += _quantity; } } function handleMintWithNonZeroPrice( address _address, uint8 _quantity, uint256 _price, MintStatus _mintStatus ) private { (bool sent, ) = _address.call{value: msg.value - _price}(''); require(sent, 'Tiny: TX_FAILED'); handleMintWithZeroPrice(_address, _quantity, _mintStatus); } function arrayQuantity( uint8[] memory _quantityArray ) private pure returns (uint256) { uint256 _quantity; for (uint8 i; i < _quantityArray.length; ) { _quantity += _quantityArray[i]; unchecked { i++; } } return _quantity; } function privateSale( address[] memory _addresses, uint8[] memory _quantities ) external onlyOwner nonReentrant { require(contractStatus != ContractStatus.SOLD, 'Tiny: sold out'); require( _quantities.length == _addresses.length, 'Tiny: array length are not equal' ); uint256 _quantity = arrayQuantity(_quantities); require(_quantity > 0, 'Tiny: mint at least 1 token'); require(totalSupply() + _quantity <= MAX_SUPPLY, 'Tiny: max supply exceed'); if (totalSupply() + _quantity == MAX_SUPPLY) { contractStatus = ContractStatus.SOLD; } for (uint8 i; i < _addresses.length; ) { require(_addresses[i] != address(0), 'Tiny: zero address not allowed'); super._safeMint(_addresses[i], _quantities[i]); unchecked { i++; } } } function setRoyaltyInfo( address _receiver, uint96 _royaltyFeesInBips ) external onlyOwner { require(_receiver != address(0), 'Tiny: zero address not allowed'); _setDefaultRoyalty(_receiver, _royaltyFeesInBips); } function setWhitelistMintMerkleRoot( bytes32 _merkleRootHash ) external onlyOwner { whitelistMintMerkleRoot = _merkleRootHash; } function setPrivateMintMerkleRoot( bytes32 _merkleRootHash ) external onlyOwner { privateMintMerkleRoot = _merkleRootHash; } function verifyWhitelistMintAddress( bytes32[] calldata _merkleProof, address _address ) public view returns (bool) { bytes32 leaf = keccak256(abi.encodePacked(_address)); return MerkleProof.verify(_merkleProof, whitelistMintMerkleRoot, leaf); } function verifyPrivateMintAddress( bytes32[] calldata _merkleProof, address _address ) public view returns (bool) { bytes32 leaf = keccak256(abi.encodePacked(_address)); return MerkleProof.verify(_merkleProof, privateMintMerkleRoot, leaf); } function setMintableTokenPerPublicMint( uint8 _newMintableTokenPerPublicMint ) external onlyOwner { mintableTokenPerPublicMint = _newMintableTokenPerPublicMint; } function setMintableTokenPerWL( uint8 _newMintableTokenPerWL ) external onlyOwner { mintableTokenPerWL = _newMintableTokenPerWL; } function setMintableTokenPerPrivateMint( uint8 _newMintableTokenPerPrivateMint ) external onlyOwner { mintableTokenPerPrivateMint = _newMintableTokenPerPrivateMint; } function setPublicMintPrice(uint256 _newPublicMintPrice) external onlyOwner { PublicMintPrice = _newPublicMintPrice; } function setWhitelistMintPrice( uint256 _newWhitelistMintPrice ) external onlyOwner { WhitelistMintPrice = _newWhitelistMintPrice; } function setPrivateMintPrice( uint256 _newPrivateMintPrice ) external onlyOwner { PrivateMintPrice = _newPrivateMintPrice; } function withdraw(uint256 _value) external onlyOwner { require(_value > 0, 'Tiny: value must be greater than zero'); require(address(this).balance >= _value, 'Tiny: insufficient balance'); payable(owner()).transfer(_value); } function startSale() external onlyOwner { require(!pubSaleActive, 'Tiny: public sale already active'); pubSaleActive = true; contractStatus = ContractStatus.SALE; } function startWhitelist() external onlyOwner { require( !pubSaleActive, 'Tiny: sale has been started, can not start whitelist' ); contractStatus = ContractStatus.WL; } function startPrivateMint() external onlyOwner { require( !pubSaleActive, 'Tiny: private mint has been started, can not start private mint' ); contractStatus = ContractStatus.PRIVATE; } function startReveal() external onlyOwner { REVEAL = true; } function setNotRevealedURI(string memory _URI) external onlyOwner { NotRevealedURI = _URI; } function setBaseURI(string memory _URI) external onlyOwner { BaseURI = _URI; } function setContractURI(string memory _newContractURI) external onlyOwner { _contractURI = _newContractURI; } function tokenURI( uint256 _id ) public view override(ERC721A) returns (string memory) { require(_exists(_id), 'Tiny: invalid token ID'); return REVEAL ? string(abi.encodePacked(BaseURI, _id.toString())) : NotRevealedURI; } function contractURI() external view returns (string memory) { return _contractURI; } function burn(uint256 _quantity) external onlyOwner nonReentrant { require( contractStatus != ContractStatus.SOLD, 'Tiny: contract is sold out' ); require(_quantity != 0, 'Tiny: quantity should not equal zero'); uint256 remainingSupply = MAX_SUPPLY - totalSupply(); require( _quantity <= remainingSupply, 'Tiny: quantity exceeds available supply' ); if (_quantity == remainingSupply) { contractStatus = ContractStatus.SOLD; } MAX_SUPPLY -= _quantity; } function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal override { require( !paused() || from == address(0) || to == address(0) || from == address(this) || to == address(this) || from == owner() || to == owner(), 'Tiny: token transfer paused' ); super._beforeTokenTransfers(from, to, startTokenId, quantity); } function Tradable() external onlyOwner { _pause(); } function Nontradable() external onlyOwner { _unpause(); } function supportsInterface( bytes4 interfaceId ) public view override(ERC721A, ERC2981) returns (bool) { return super.supportsInterface(interfaceId); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby disabling any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable2Step.sol) pragma solidity ^0.8.0; import "./Ownable.sol"; /** * @dev Contract module which provides 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} and {acceptOwnership}. * * This module is used through inheritance. It will make available all functions * from parent (Ownable). */ abstract contract Ownable2Step is Ownable { address private _pendingOwner; event OwnershipTransferStarted(address indexed previousOwner, address indexed newOwner); /** * @dev Returns the address of the pending owner. */ function pendingOwner() public view virtual returns (address) { return _pendingOwner; } /** * @dev Starts the ownership transfer of the contract to a new account. Replaces the pending transfer if there is one. * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual override onlyOwner { _pendingOwner = newOwner; emit OwnershipTransferStarted(owner(), newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`) and deletes any pending owner. * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual override { delete _pendingOwner; super._transferOwnership(newOwner); } /** * @dev The new owner accepts the ownership transfer. */ function acceptOwnership() public virtual { address sender = _msgSender(); require(pendingOwner() == sender, "Ownable2Step: caller is not the new owner"); _transferOwnership(sender); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (interfaces/IERC2981.sol) pragma solidity ^0.8.0; import "../utils/introspection/IERC165.sol"; /** * @dev Interface for the NFT Royalty Standard. * * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal * support for royalty payments across all NFT marketplaces and ecosystem participants. * * _Available since v4.5._ */ interface IERC2981 is IERC165 { /** * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of * exchange. The royalty amount is denominated and should be paid in that same unit of exchange. */ function royaltyInfo( uint256 tokenId, uint256 salePrice ) external view returns (address receiver, uint256 royaltyAmount); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (security/Pausable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ abstract contract Pausable is Context { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ constructor() { _paused = false; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { _requireNotPaused(); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { _requirePaused(); _; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Throws if the contract is paused. */ function _requireNotPaused() internal view virtual { require(!paused(), "Pausable: paused"); } /** * @dev Throws if the contract is not paused. */ function _requirePaused() internal view virtual { require(paused(), "Pausable: not paused"); } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { _nonReentrantBefore(); _; _nonReentrantAfter(); } function _nonReentrantBefore() private { // On the first call to nonReentrant, _status will be _NOT_ENTERED require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; } function _nonReentrantAfter() private { // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } /** * @dev Returns true if the reentrancy guard is currently set to "entered", which indicates there is a * `nonReentrant` function in the call stack. */ function _reentrancyGuardEntered() internal view returns (bool) { return _status == _ENTERED; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (token/common/ERC2981.sol) pragma solidity ^0.8.0; import "../../interfaces/IERC2981.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of the NFT Royalty Standard, a standardized way to retrieve royalty payment information. * * Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for * specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first. * * Royalty is specified as a fraction of sale price. {_feeDenominator} is overridable but defaults to 10000, meaning the * fee is specified in basis points by default. * * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported. * * _Available since v4.5._ */ abstract contract ERC2981 is IERC2981, ERC165 { struct RoyaltyInfo { address receiver; uint96 royaltyFraction; } RoyaltyInfo private _defaultRoyaltyInfo; mapping(uint256 => RoyaltyInfo) private _tokenRoyaltyInfo; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC165) returns (bool) { return interfaceId == type(IERC2981).interfaceId || super.supportsInterface(interfaceId); } /** * @inheritdoc IERC2981 */ function royaltyInfo(uint256 tokenId, uint256 salePrice) public view virtual override returns (address, uint256) { RoyaltyInfo memory royalty = _tokenRoyaltyInfo[tokenId]; if (royalty.receiver == address(0)) { royalty = _defaultRoyaltyInfo; } uint256 royaltyAmount = (salePrice * royalty.royaltyFraction) / _feeDenominator(); return (royalty.receiver, royaltyAmount); } /** * @dev The denominator with which to interpret the fee set in {_setTokenRoyalty} and {_setDefaultRoyalty} as a * fraction of the sale price. Defaults to 10000 so fees are expressed in basis points, but may be customized by an * override. */ function _feeDenominator() internal pure virtual returns (uint96) { return 10000; } /** * @dev Sets the royalty information that all ids in this contract will default to. * * Requirements: * * - `receiver` cannot be the zero address. * - `feeNumerator` cannot be greater than the fee denominator. */ function _setDefaultRoyalty(address receiver, uint96 feeNumerator) internal virtual { require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice"); require(receiver != address(0), "ERC2981: invalid receiver"); _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator); } /** * @dev Removes default royalty information. */ function _deleteDefaultRoyalty() internal virtual { delete _defaultRoyaltyInfo; } /** * @dev Sets the royalty information for a specific token id, overriding the global default. * * Requirements: * * - `receiver` cannot be the zero address. * - `feeNumerator` cannot be greater than the fee denominator. */ function _setTokenRoyalty(uint256 tokenId, address receiver, uint96 feeNumerator) internal virtual { require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice"); require(receiver != address(0), "ERC2981: Invalid parameters"); _tokenRoyaltyInfo[tokenId] = RoyaltyInfo(receiver, feeNumerator); } /** * @dev Resets royalty information for the token id back to the global default. */ function _resetTokenRoyalty(uint256 tokenId) internal virtual { delete _tokenRoyaltyInfo[tokenId]; } }
// 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; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.2) (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Tree proofs. * * The tree and the proofs can be generated using our * https://github.com/OpenZeppelin/merkle-tree[JavaScript library]. * You will find a quickstart guide in the readme. * * WARNING: You should avoid using leaf values that are 64 bytes long prior to * hashing, or use a hash function other than keccak256 for hashing leaves. * This is because the concatenation of a sorted pair of internal nodes in * the merkle tree could be reinterpreted as a leaf value. * OpenZeppelin's JavaScript library generates merkle trees that are safe * against this attack out of the box. */ library MerkleProof { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify(bytes32[] memory proof, bytes32 root, bytes32 leaf) internal pure returns (bool) { return processProof(proof, leaf) == root; } /** * @dev Calldata version of {verify} * * _Available since v4.7._ */ function verifyCalldata(bytes32[] calldata proof, bytes32 root, bytes32 leaf) internal pure returns (bool) { return processProofCalldata(proof, leaf) == root; } /** * @dev Returns the rebuilt hash obtained by traversing a Merkle tree up * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt * hash matches the root of the tree. When processing the proof, the pairs * of leafs & pre-images are assumed to be sorted. * * _Available since v4.4._ */ function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Calldata version of {processProof} * * _Available since v4.7._ */ function processProofCalldata(bytes32[] calldata proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Returns true if the `leaves` can be simultaneously proven to be a part of a merkle tree defined by * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}. * * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details. * * _Available since v4.7._ */ function multiProofVerify( bytes32[] memory proof, bool[] memory proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProof(proof, proofFlags, leaves) == root; } /** * @dev Calldata version of {multiProofVerify} * * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details. * * _Available since v4.7._ */ function multiProofVerifyCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProofCalldata(proof, proofFlags, leaves) == root; } /** * @dev Returns the root of a tree reconstructed from `leaves` and sibling nodes in `proof`. The reconstruction * proceeds by incrementally reconstructing all inner nodes by combining a leaf/inner node with either another * leaf/inner node or a proof sibling node, depending on whether each `proofFlags` item is true or false * respectively. * * CAUTION: Not all merkle trees admit multiproofs. To use multiproofs, it is sufficient to ensure that: 1) the tree * is complete (but not necessarily perfect), 2) the leaves to be proven are in the opposite order they are in the * tree (i.e., as seen from right to left starting at the deepest layer and continuing at the next layer). * * _Available since v4.7._ */ function processMultiProof( bytes32[] memory proof, bool[] memory proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuilds the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the merkle tree. uint256 leavesLen = leaves.length; uint256 proofLen = proof.length; uint256 totalHashes = proofFlags.length; // Check proof validity. require(leavesLen + proofLen - 1 == totalHashes, "MerkleProof: invalid multiproof"); // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop". bytes32[] memory hashes = new bytes32[](totalHashes); uint256 leafPos = 0; uint256 hashPos = 0; uint256 proofPos = 0; // At each step, we compute the next hash using two values: // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we // get the next hash. // - depending on the flag, either another value from the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? (leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]) : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { require(proofPos == proofLen, "MerkleProof: invalid multiproof"); unchecked { return hashes[totalHashes - 1]; } } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } /** * @dev Calldata version of {processMultiProof}. * * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details. * * _Available since v4.7._ */ function processMultiProofCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuilds the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the merkle tree. uint256 leavesLen = leaves.length; uint256 proofLen = proof.length; uint256 totalHashes = proofFlags.length; // Check proof validity. require(leavesLen + proofLen - 1 == totalHashes, "MerkleProof: invalid multiproof"); // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop". bytes32[] memory hashes = new bytes32[](totalHashes); uint256 leafPos = 0; uint256 hashPos = 0; uint256 proofPos = 0; // At each step, we compute the next hash using two values: // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we // get the next hash. // - depending on the flag, either another value from the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? (leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]) : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { require(proofPos == proofLen, "MerkleProof: invalid multiproof"); unchecked { return hashes[totalHashes - 1]; } } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) { return a < b ? _efficientHash(a, b) : _efficientHash(b, a); } function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) { /// @solidity memory-safe-assembly assembly { mstore(0x00, a) mstore(0x20, b) value := keccak256(0x00, 0x40) } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (utils/math/Math.sol) pragma solidity ^0.8.0; /** * @dev Standard math utilities missing in the Solidity language. */ library Math { enum Rounding { Down, // Toward negative infinity Up, // Toward infinity Zero // Toward zero } /** * @dev Returns the largest of two numbers. */ function max(uint256 a, uint256 b) internal pure returns (uint256) { return a > b ? a : b; } /** * @dev Returns the smallest of two numbers. */ function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } /** * @dev Returns the average of two numbers. The result is rounded towards * zero. */ function average(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b) / 2 can overflow. return (a & b) + (a ^ b) / 2; } /** * @dev Returns the ceiling of the division of two numbers. * * This differs from standard division with `/` in that it rounds up instead * of rounding down. */ function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b - 1) / b can overflow on addition, so we distribute. return a == 0 ? 0 : (a - 1) / b + 1; } /** * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0 * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) * with further edits by Uniswap Labs also under MIT license. */ function mulDiv(uint256 x, uint256 y, uint256 denominator) internal pure returns (uint256 result) { unchecked { // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256 // variables such that product = prod1 * 2^256 + prod0. uint256 prod0; // Least significant 256 bits of the product uint256 prod1; // Most significant 256 bits of the product assembly { let mm := mulmod(x, y, not(0)) prod0 := mul(x, y) prod1 := sub(sub(mm, prod0), lt(mm, prod0)) } // Handle non-overflow cases, 256 by 256 division. if (prod1 == 0) { // Solidity will revert if denominator == 0, unlike the div opcode on its own. // The surrounding unchecked block does not change this fact. // See https://docs.soliditylang.org/en/latest/control-structures.html#checked-or-unchecked-arithmetic. return prod0 / denominator; } // Make sure the result is less than 2^256. Also prevents denominator == 0. require(denominator > prod1, "Math: mulDiv overflow"); /////////////////////////////////////////////// // 512 by 256 division. /////////////////////////////////////////////// // Make division exact by subtracting the remainder from [prod1 prod0]. uint256 remainder; assembly { // Compute remainder using mulmod. remainder := mulmod(x, y, denominator) // Subtract 256 bit number from 512 bit number. prod1 := sub(prod1, gt(remainder, prod0)) prod0 := sub(prod0, remainder) } // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1. // See https://cs.stackexchange.com/q/138556/92363. // Does not overflow because the denominator cannot be zero at this stage in the function. uint256 twos = denominator & (~denominator + 1); assembly { // Divide denominator by twos. denominator := div(denominator, twos) // Divide [prod1 prod0] by twos. prod0 := div(prod0, twos) // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one. twos := add(div(sub(0, twos), twos), 1) } // Shift in bits from prod1 into prod0. prod0 |= prod1 * twos; // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for // four bits. That is, denominator * inv = 1 mod 2^4. uint256 inverse = (3 * denominator) ^ 2; // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works // in modular arithmetic, doubling the correct bits in each step. inverse *= 2 - denominator * inverse; // inverse mod 2^8 inverse *= 2 - denominator * inverse; // inverse mod 2^16 inverse *= 2 - denominator * inverse; // inverse mod 2^32 inverse *= 2 - denominator * inverse; // inverse mod 2^64 inverse *= 2 - denominator * inverse; // inverse mod 2^128 inverse *= 2 - denominator * inverse; // inverse mod 2^256 // Because the division is now exact we can divide by multiplying with the modular inverse of denominator. // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1 // is no longer required. result = prod0 * inverse; return result; } } /** * @notice Calculates x * y / denominator with full precision, following the selected rounding direction. */ function mulDiv(uint256 x, uint256 y, uint256 denominator, Rounding rounding) internal pure returns (uint256) { uint256 result = mulDiv(x, y, denominator); if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) { result += 1; } return result; } /** * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down. * * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11). */ function sqrt(uint256 a) internal pure returns (uint256) { if (a == 0) { return 0; } // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target. // // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`. // // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)` // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))` // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)` // // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit. uint256 result = 1 << (log2(a) >> 1); // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128, // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision // into the expected uint128 result. unchecked { result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; return min(result, a / result); } } /** * @notice Calculates sqrt(a), following the selected rounding direction. */ function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = sqrt(a); return result + (rounding == Rounding.Up && result * result < a ? 1 : 0); } } /** * @dev Return the log in base 2, rounded down, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 128; } if (value >> 64 > 0) { value >>= 64; result += 64; } if (value >> 32 > 0) { value >>= 32; result += 32; } if (value >> 16 > 0) { value >>= 16; result += 16; } if (value >> 8 > 0) { value >>= 8; result += 8; } if (value >> 4 > 0) { value >>= 4; result += 4; } if (value >> 2 > 0) { value >>= 2; result += 2; } if (value >> 1 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 2, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log2(value); return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0); } } /** * @dev Return the log in base 10, rounded down, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >= 10 ** 64) { value /= 10 ** 64; result += 64; } if (value >= 10 ** 32) { value /= 10 ** 32; result += 32; } if (value >= 10 ** 16) { value /= 10 ** 16; result += 16; } if (value >= 10 ** 8) { value /= 10 ** 8; result += 8; } if (value >= 10 ** 4) { value /= 10 ** 4; result += 4; } if (value >= 10 ** 2) { value /= 10 ** 2; result += 2; } if (value >= 10 ** 1) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log10(value); return result + (rounding == Rounding.Up && 10 ** result < value ? 1 : 0); } } /** * @dev Return the log in base 256, rounded down, of a positive value. * Returns 0 if given 0. * * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string. */ function log256(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 16; } if (value >> 64 > 0) { value >>= 64; result += 8; } if (value >> 32 > 0) { value >>= 32; result += 4; } if (value >> 16 > 0) { value >>= 16; result += 2; } if (value >> 8 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 256, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log256(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log256(value); return result + (rounding == Rounding.Up && 1 << (result << 3) < value ? 1 : 0); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (utils/math/SignedMath.sol) pragma solidity ^0.8.0; /** * @dev Standard signed math utilities missing in the Solidity language. */ library SignedMath { /** * @dev Returns the largest of two signed numbers. */ function max(int256 a, int256 b) internal pure returns (int256) { return a > b ? a : b; } /** * @dev Returns the smallest of two signed numbers. */ function min(int256 a, int256 b) internal pure returns (int256) { return a < b ? a : b; } /** * @dev Returns the average of two signed numbers without overflow. * The result is rounded towards zero. */ function average(int256 a, int256 b) internal pure returns (int256) { // Formula from the book "Hacker's Delight" int256 x = (a & b) + ((a ^ b) >> 1); return x + (int256(uint256(x) >> 255) & (a ^ b)); } /** * @dev Returns the absolute unsigned value of a signed value. */ function abs(int256 n) internal pure returns (uint256) { unchecked { // must be unchecked in order to support `n = type(int256).min` return uint256(n >= 0 ? n : -n); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (utils/Strings.sol) pragma solidity ^0.8.0; import "./math/Math.sol"; import "./math/SignedMath.sol"; /** * @dev String operations. */ library Strings { bytes16 private constant _SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { unchecked { uint256 length = Math.log10(value) + 1; string memory buffer = new string(length); uint256 ptr; /// @solidity memory-safe-assembly assembly { ptr := add(buffer, add(32, length)) } while (true) { ptr--; /// @solidity memory-safe-assembly assembly { mstore8(ptr, byte(mod(value, 10), _SYMBOLS)) } value /= 10; if (value == 0) break; } return buffer; } } /** * @dev Converts a `int256` to its ASCII `string` decimal representation. */ function toString(int256 value) internal pure returns (string memory) { return string(abi.encodePacked(value < 0 ? "-" : "", toString(SignedMath.abs(value)))); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { unchecked { return toHexString(value, Math.log256(value) + 1); } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } /** * @dev Returns true if the two strings are equal. */ function equal(string memory a, string memory b) internal pure returns (bool) { return keccak256(bytes(a)) == keccak256(bytes(b)); } }
// SPDX-License-Identifier: MIT // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; import "./IERC721A.sol"; /** * @dev Interface of ERC721 token receiver. */ interface ERC721A__IERC721Receiver { function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } /** * @title ERC721A * * @dev Implementation of the [ERC721](https://eips.ethereum.org/EIPS/eip-721) * Non-Fungible Token Standard, including the Metadata extension. * Optimized for lower gas during batch mints. * * Token IDs are minted in sequential order (e.g. 0, 1, 2, 3, ...) * starting from `_startTokenId()`. * * Assumptions: * * - An owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * - The maximum token ID cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is IERC721A { // Bypass for a `--via-ir` bug (https://github.com/chiru-labs/ERC721A/pull/364). struct TokenApprovalRef { address value; } // ============================================================= // CONSTANTS // ============================================================= // Mask of an entry in packed address data. uint256 private constant _BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1; // The bit position of `numberMinted` in packed address data. uint256 private constant _BITPOS_NUMBER_MINTED = 64; // The bit position of `numberBurned` in packed address data. uint256 private constant _BITPOS_NUMBER_BURNED = 128; // The bit position of `aux` in packed address data. uint256 private constant _BITPOS_AUX = 192; // Mask of all 256 bits in packed address data except the 64 bits for `aux`. uint256 private constant _BITMASK_AUX_COMPLEMENT = (1 << 192) - 1; // The bit position of `startTimestamp` in packed ownership. uint256 private constant _BITPOS_START_TIMESTAMP = 160; // The bit mask of the `burned` bit in packed ownership. uint256 private constant _BITMASK_BURNED = 1 << 224; // The bit position of the `nextInitialized` bit in packed ownership. uint256 private constant _BITPOS_NEXT_INITIALIZED = 225; // The bit mask of the `nextInitialized` bit in packed ownership. uint256 private constant _BITMASK_NEXT_INITIALIZED = 1 << 225; // The bit position of `extraData` in packed ownership. uint256 private constant _BITPOS_EXTRA_DATA = 232; // Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`. uint256 private constant _BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1; // The mask of the lower 160 bits for addresses. uint256 private constant _BITMASK_ADDRESS = (1 << 160) - 1; // The maximum `quantity` that can be minted with {_mintERC2309}. // This limit is to prevent overflows on the address data entries. // For a limit of 5000, a total of 3.689e15 calls to {_mintERC2309} // is required to cause an overflow, which is unrealistic. uint256 private constant _MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000; // The `Transfer` event signature is given by: // `keccak256(bytes("Transfer(address,address,uint256)"))`. bytes32 private constant _TRANSFER_EVENT_SIGNATURE = 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef; // ============================================================= // STORAGE // ============================================================= // The next token ID to be minted. uint256 private _currentIndex; // The number of tokens burned. uint256 private _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. // See {_packedOwnershipOf} implementation for details. // // Bits Layout: // - [0..159] `addr` // - [160..223] `startTimestamp` // - [224] `burned` // - [225] `nextInitialized` // - [232..255] `extraData` mapping(uint256 => uint256) private _packedOwnerships; // Mapping owner address to address data. // // Bits Layout: // - [0..63] `balance` // - [64..127] `numberMinted` // - [128..191] `numberBurned` // - [192..255] `aux` mapping(address => uint256) private _packedAddressData; // Mapping from token ID to approved address. mapping(uint256 => TokenApprovalRef) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; // ============================================================= // CONSTRUCTOR // ============================================================= constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } // ============================================================= // TOKEN COUNTING OPERATIONS // ============================================================= /** * @dev Returns the starting token ID. * To change the starting token ID, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 1; } /** * @dev Returns the next token ID to be minted. */ function _nextTokenId() internal view virtual returns (uint256) { return _currentIndex; } /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() public view virtual override returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than `_currentIndex - _startTokenId()` times. unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * @dev Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view virtual returns (uint256) { // Counter underflow is impossible as `_currentIndex` does not decrement, // and it is initialized to `_startTokenId()`. unchecked { return _currentIndex - _startTokenId(); } } /** * @dev Returns the total number of tokens burned. */ function _totalBurned() internal view virtual returns (uint256) { return _burnCounter; } // ============================================================= // ADDRESS DATA OPERATIONS // ============================================================= /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf( address owner ) public view virtual override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return _packedAddressData[owner] & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_MINTED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_BURNED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return uint64(_packedAddressData[owner] >> _BITPOS_AUX); } /** * Sets the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal virtual { uint256 packed = _packedAddressData[owner]; uint256 auxCasted; // Cast `aux` with assembly to avoid redundant masking. assembly { auxCasted := aux } packed = (packed & _BITMASK_AUX_COMPLEMENT) | (auxCasted << _BITPOS_AUX); _packedAddressData[owner] = packed; } // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface( bytes4 interfaceId ) public view virtual override returns (bool) { // The interface IDs are constants representing the first 4 bytes // of the XOR of all function selectors in the interface. // See: [ERC165](https://eips.ethereum.org/EIPS/eip-165) // (e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`) return interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165. interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721. interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata. } // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the token collection symbol. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI( uint256 tokenId ) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId))) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, it can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } // ============================================================= // OWNERSHIPS OPERATIONS // ============================================================= /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf( uint256 tokenId ) public view virtual override returns (address) { return address(uint160(_packedOwnershipOf(tokenId))); } /** * @dev Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around over time. */ function _ownershipOf( uint256 tokenId ) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnershipOf(tokenId)); } /** * @dev Returns the unpacked `TokenOwnership` struct at `index`. */ function _ownershipAt( uint256 index ) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnerships[index]); } /** * @dev Initializes the ownership slot minted at `index` for efficiency purposes. */ function _initializeOwnershipAt(uint256 index) internal virtual { if (_packedOwnerships[index] == 0) { _packedOwnerships[index] = _packedOwnershipOf(index); } } /** * Returns the packed ownership data of `tokenId`. */ function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr) if (curr < _currentIndex) { uint256 packed = _packedOwnerships[curr]; // If not burned. if (packed & _BITMASK_BURNED == 0) { // Invariant: // There will always be an initialized ownership slot // (i.e. `ownership.addr != address(0) && ownership.burned == false`) // before an unintialized ownership slot // (i.e. `ownership.addr == address(0) && ownership.burned == false`) // Hence, `curr` will not underflow. // // We can directly compare the packed value. // If the address is zero, packed will be zero. while (packed == 0) { packed = _packedOwnerships[--curr]; } return packed; } } } revert OwnerQueryForNonexistentToken(); } /** * @dev Returns the unpacked `TokenOwnership` struct from `packed`. */ function _unpackedOwnership( uint256 packed ) private pure returns (TokenOwnership memory ownership) { ownership.addr = address(uint160(packed)); ownership.startTimestamp = uint64(packed >> _BITPOS_START_TIMESTAMP); ownership.burned = packed & _BITMASK_BURNED != 0; ownership.extraData = uint24(packed >> _BITPOS_EXTRA_DATA); } /** * @dev Packs ownership data into a single uint256. */ function _packOwnershipData( address owner, uint256 flags ) private view returns (uint256 result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // `owner | (block.timestamp << _BITPOS_START_TIMESTAMP) | flags`. result := or(owner, or(shl(_BITPOS_START_TIMESTAMP, timestamp()), flags)) } } /** * @dev Returns the `nextInitialized` flag set if `quantity` equals 1. */ function _nextInitializedFlag( uint256 quantity ) private pure returns (uint256 result) { // For branchless setting of the `nextInitialized` flag. assembly { // `(quantity == 1) << _BITPOS_NEXT_INITIALIZED`. result := shl(_BITPOS_NEXT_INITIALIZED, eq(quantity, 1)) } } // ============================================================= // APPROVAL OPERATIONS // ============================================================= /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the * zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve( address to, uint256 tokenId ) public payable virtual override { address owner = ownerOf(tokenId); if (_msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { revert ApprovalCallerNotOwnerNorApproved(); } _tokenApprovals[tokenId].value = to; emit Approval(owner, to, tokenId); } /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved( uint256 tokenId ) public view virtual override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId].value; } /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} * for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll( address operator, bool approved ) public virtual override { _operatorApprovals[_msgSenderERC721A()][operator] = approved; emit ApprovalForAll(_msgSenderERC721A(), operator, approved); } /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll( address owner, address operator ) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted. See {_mint}. */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && // If within bounds, _packedOwnerships[tokenId] & _BITMASK_BURNED == 0; // and not burned. } /** * @dev Returns whether `msgSender` is equal to `approvedAddress` or `owner`. */ function _isSenderApprovedOrOwner( address approvedAddress, address owner, address msgSender ) private pure returns (bool result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean. msgSender := and(msgSender, _BITMASK_ADDRESS) // `msgSender == owner || msgSender == approvedAddress`. result := or(eq(msgSender, owner), eq(msgSender, approvedAddress)) } } /** * @dev Returns the storage slot and value for the approved address of `tokenId`. */ function _getApprovedSlotAndAddress( uint256 tokenId ) private view returns (uint256 approvedAddressSlot, address approvedAddress) { TokenApprovalRef storage tokenApproval = _tokenApprovals[tokenId]; // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId].value`. assembly { approvedAddressSlot := tokenApproval.slot approvedAddress := sload(approvedAddressSlot) } } // ============================================================= // TRANSFER OPERATIONS // ============================================================= /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) public payable virtual override { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner(); ( uint256 approvedAddressSlot, address approvedAddress ) = _getApprovedSlotAndAddress(tokenId); // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // We can directly increment and decrement the balances. --_packedAddressData[from]; // Updates: `balance -= 1`. ++_packedAddressData[to]; // Updates: `balance += 1`. // Updates: // - `address` to the next owner. // - `startTimestamp` to the timestamp of transfering. // - `burned` to `false`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( to, _BITMASK_NEXT_INITIALIZED | _nextExtraData(from, to, prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public payable virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public payable virtual override { transferFrom(from, to, tokenId); if (to.code.length != 0) if (!_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @dev Hook that is called before a set of serially-ordered token IDs * are about to be transferred. This includes minting. * And also called before burning one token. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token IDs * have been transferred. This includes minting. * And also called after one token has been burned. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Private function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * `from` - Previous owner of the given token ID. * `to` - Target address that will receive the token. * `tokenId` - Token ID to be transferred. * `_data` - Optional data to send along with the call. * * Returns whether the call correctly returned the expected magic value. */ function _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try ERC721A__IERC721Receiver(to).onERC721Received( _msgSenderERC721A(), from, tokenId, _data ) returns (bytes4 retval) { return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } // ============================================================= // MINT OPERATIONS // ============================================================= /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event for each mint. */ function _mint(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // `balance` and `numberMinted` have a maximum limit of 2**64. // `tokenId` has a maximum limit of 2**256. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); uint256 toMasked; uint256 end = startTokenId + quantity; // Use assembly to loop and emit the `Transfer` event for gas savings. // The duplicated `log4` removes an extra check and reduces stack juggling. // The assembly, together with the surrounding Solidity code, have been // delicately arranged to nudge the compiler into producing optimized opcodes. assembly { // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean. toMasked := and(to, _BITMASK_ADDRESS) // Emit the `Transfer` event. log4( 0, // Start of data (0, since no data). 0, // End of data (0, since no data). _TRANSFER_EVENT_SIGNATURE, // Signature. 0, // `address(0)`. toMasked, // `to`. startTokenId // `tokenId`. ) // The `iszero(eq(,))` check ensures that large values of `quantity` // that overflows uint256 will make the loop run out of gas. // The compiler will optimize the `iszero` away for performance. for { let tokenId := add(startTokenId, 1) } iszero(eq(tokenId, end)) { tokenId := add(tokenId, 1) } { // Emit the `Transfer` event. Similar to above. log4(0, 0, _TRANSFER_EVENT_SIGNATURE, 0, toMasked, tokenId) } } if (toMasked == 0) revert MintToZeroAddress(); _currentIndex = end; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * This function is intended for efficient minting only during contract creation. * * It emits only one {ConsecutiveTransfer} as defined in * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309), * instead of a sequence of {Transfer} event(s). * * Calling this function outside of contract creation WILL make your contract * non-compliant with the ERC721 standard. * For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309 * {ConsecutiveTransfer} event is only permissible during contract creation. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {ConsecutiveTransfer} event. */ function _mintERC2309(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); if (quantity > _MAX_MINT_ERC2309_QUANTITY_LIMIT) revert MintERC2309QuantityExceedsLimit(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are unrealistic due to the above check for `quantity` to be below the limit. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); emit ConsecutiveTransfer( startTokenId, startTokenId + quantity - 1, address(0), to ); _currentIndex = startTokenId + quantity; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * See {_mint}. * * Emits a {Transfer} event for each mint. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal virtual { _mint(to, quantity); unchecked { if (to.code.length != 0) { uint256 end = _currentIndex; uint256 index = end - quantity; do { if (!_checkContractOnERC721Received(address(0), to, index++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (index < end); // Reentrancy protection. if (_currentIndex != end) revert(); } } } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal virtual { _safeMint(to, quantity, ""); } // ============================================================= // BURN OPERATIONS // ============================================================= /** * @dev Equivalent to `_burn(tokenId, false)`. */ function _burn(uint256 tokenId) internal virtual { _burn(tokenId, false); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId, bool approvalCheck) internal virtual { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); address from = address(uint160(prevOwnershipPacked)); ( uint256 approvedAddressSlot, address approvedAddress ) = _getApprovedSlotAndAddress(tokenId); if (approvalCheck) { // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // Updates: // - `balance -= 1`. // - `numberBurned += 1`. // // We can directly decrement the balance, and increment the number burned. // This is equivalent to `packed -= 1; packed += 1 << _BITPOS_NUMBER_BURNED;`. _packedAddressData[from] += (1 << _BITPOS_NUMBER_BURNED) - 1; // Updates: // - `address` to the last owner. // - `startTimestamp` to the timestamp of burning. // - `burned` to `true`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( from, (_BITMASK_BURNED | _BITMASK_NEXT_INITIALIZED) | _nextExtraData(from, address(0), prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } // ============================================================= // EXTRA DATA OPERATIONS // ============================================================= /** * @dev Directly sets the extra data for the ownership data `index`. */ function _setExtraDataAt(uint256 index, uint24 extraData) internal virtual { uint256 packed = _packedOwnerships[index]; if (packed == 0) revert OwnershipNotInitializedForExtraData(); uint256 extraDataCasted; // Cast `extraData` with assembly to avoid redundant masking. assembly { extraDataCasted := extraData } packed = (packed & _BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << _BITPOS_EXTRA_DATA); _packedOwnerships[index] = packed; } /** * @dev Called during each token transfer to set the 24bit `extraData` field. * Intended to be overridden by the cosumer contract. * * `previousExtraData` - the value of `extraData` before transfer. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _extraData( address from, address to, uint24 previousExtraData ) internal view virtual returns (uint24) {} /** * @dev Returns the next extra data for the packed ownership data. * The returned result is shifted into position. */ function _nextExtraData( address from, address to, uint256 prevOwnershipPacked ) private view returns (uint256) { uint24 extraData = uint24(prevOwnershipPacked >> _BITPOS_EXTRA_DATA); return uint256(_extraData(from, to, extraData)) << _BITPOS_EXTRA_DATA; } // ============================================================= // OTHER OPERATIONS // ============================================================= /** * @dev Returns the message sender (defaults to `msg.sender`). * * If you are writing GSN compatible contracts, you need to override this function. */ function _msgSenderERC721A() internal view virtual returns (address) { return msg.sender; } /** * @dev Converts a uint256 to its ASCII string decimal representation. */ function _toString( uint256 value ) internal pure virtual returns (string memory str) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), but // we allocate 0xa0 bytes to keep the free memory pointer 32-byte word aligned. // We will need 1 word for the trailing zeros padding, 1 word for the length, // and 3 words for a maximum of 78 digits. Total: 5 * 0x20 = 0xa0. let m := add(mload(0x40), 0xa0) // Update the free memory pointer to allocate. mstore(0x40, m) // Assign the `str` to the end. str := sub(m, 0x20) // Zeroize the slot after the string. mstore(str, 0) // Cache the end of the memory to calculate the length later. let end := str // We write the string from rightmost digit to leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // prettier-ignore for { let temp := value } 1 {} { str := sub(str, 1) // Write the character to the pointer. // The ASCII index of the '0' character is 48. mstore8(str, add(48, mod(temp, 10))) // Keep dividing `temp` until zero. temp := div(temp, 10) // prettier-ignore if iszero(temp) { break } } let length := sub(end, str) // Move the pointer 32 bytes leftwards to make room for the length. str := sub(str, 0x20) // Store the length. mstore(str, length) } } }
// SPDX-License-Identifier: MIT // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of ERC721A. */ interface IERC721A { /** * The caller must own the token or be an approved operator. */ error ApprovalCallerNotOwnerNorApproved(); /** * The token does not exist. */ error ApprovalQueryForNonexistentToken(); /** * Cannot query the balance for the zero address. */ error BalanceQueryForZeroAddress(); /** * Cannot mint to the zero address. */ error MintToZeroAddress(); /** * The quantity of tokens minted must be more than zero. */ error MintZeroQuantity(); /** * The token does not exist. */ error OwnerQueryForNonexistentToken(); /** * The caller must own the token or be an approved operator. */ error TransferCallerNotOwnerNorApproved(); /** * The token must be owned by `from`. */ error TransferFromIncorrectOwner(); /** * Cannot safely transfer to a contract that does not implement the * ERC721Receiver interface. */ error TransferToNonERC721ReceiverImplementer(); /** * Cannot transfer to the zero address. */ error TransferToZeroAddress(); /** * The token does not exist. */ error URIQueryForNonexistentToken(); /** * The `quantity` minted with ERC2309 exceeds the safety limit. */ error MintERC2309QuantityExceedsLimit(); /** * The `extraData` cannot be set on an unintialized ownership slot. */ error OwnershipNotInitializedForExtraData(); // ============================================================= // STRUCTS // ============================================================= struct TokenOwnership { // The address of the owner. address addr; // Stores the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; // Arbitrary data similar to `startTimestamp` that can be set via {_extraData}. uint24 extraData; } // ============================================================= // TOKEN COUNTERS // ============================================================= /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() external view returns (uint256); // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); // ============================================================= // IERC721 // ============================================================= /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer( address indexed from, address indexed to, uint256 indexed tokenId ); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval( address indexed owner, address indexed approved, uint256 indexed tokenId ); /** * @dev Emitted when `owner` enables or disables * (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll( address indexed owner, address indexed operator, bool approved ); /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, * checking first that contract recipients are aware of the ERC721 protocol * to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move * this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external payable; /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external payable; /** * @dev Transfers `tokenId` from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} * whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external payable; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the * zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external payable; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} * for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved( uint256 tokenId ) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll( address owner, address operator ) external view returns (bool); // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); // ============================================================= // IERC2309 // ============================================================= /** * @dev Emitted when tokens in `fromTokenId` to `toTokenId` * (inclusive) is transferred from `from` to `to`, as defined in the * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309) standard. * * See {_mintERC2309} for more details. */ event ConsecutiveTransfer( uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to ); }
{ "optimizer": { "enabled": true, "runs": 1000000 }, "metadata": { "bytecodeHash": "none" }, "evmVersion": "paris", "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferStarted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"BaseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"Nontradable","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"NotRevealedURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PrivateMintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PublicMintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"REVEAL","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"Tradable","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"WhitelistMintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"acceptOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"contractStatus","outputs":[{"internalType":"enum TinyBlazers.ContractStatus","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"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":"uint8","name":"_quantity","type":"uint8"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintableTokenPerPrivateMint","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintableTokenPerPublicMint","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintableTokenPerWL","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pendingOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"},{"internalType":"uint8","name":"_quantity","type":"uint8"}],"name":"privateMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"privateMintCount","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"privateMintMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_addresses","type":"address[]"},{"internalType":"uint8[]","name":"_quantities","type":"uint8[]"}],"name":"privateSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"publicMintCount","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_URI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newContractURI","type":"string"}],"name":"setContractURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"_newMintableTokenPerPrivateMint","type":"uint8"}],"name":"setMintableTokenPerPrivateMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"_newMintableTokenPerPublicMint","type":"uint8"}],"name":"setMintableTokenPerPublicMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"_newMintableTokenPerWL","type":"uint8"}],"name":"setMintableTokenPerWL","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_URI","type":"string"}],"name":"setNotRevealedURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRootHash","type":"bytes32"}],"name":"setPrivateMintMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newPrivateMintPrice","type":"uint256"}],"name":"setPrivateMintPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newPublicMintPrice","type":"uint256"}],"name":"setPublicMintPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_receiver","type":"address"},{"internalType":"uint96","name":"_royaltyFeesInBips","type":"uint96"}],"name":"setRoyaltyInfo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRootHash","type":"bytes32"}],"name":"setWhitelistMintMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newWhitelistMintPrice","type":"uint256"}],"name":"setWhitelistMintPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startPrivateMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startReveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"},{"internalType":"address","name":"_address","type":"address"}],"name":"verifyPrivateMintAddress","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"},{"internalType":"address","name":"_address","type":"address"}],"name":"verifyWhitelistMintAddress","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"},{"internalType":"uint8","name":"_quantity","type":"uint8"}],"name":"whitelistMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"whitelistMintCount","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"whitelistMintMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_value","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526103e8600e55600f805462ffffff1916620101011790556000601481905560158190556016553480156200003757600080fd5b50604080518082018252600c81526b54696e7920426c617a65727360a01b6020808301919091528251808401909352600483526354696e7960e01b908301526001600055906200008733620000c8565b6007620000958382620001df565b506008620000a48282620001df565b5060016005555050600d805460ff19169055601b805462ff000019169055620002ab565b600480546001600160a01b0319169055620000e381620000e6565b50565b600380546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200016357607f821691505b6020821081036200018457634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620001da576000816000526020600020601f850160051c81016020861015620001b55750805b601f850160051c820191505b81811015620001d657828155600101620001c1565b5050505b505050565b81516001600160401b03811115620001fb57620001fb62000138565b62000213816200020c84546200014e565b846200018a565b602080601f8311600181146200024b5760008415620002325750858301515b600019600386901b1c1916600185901b178555620001d6565b600085815260208120601f198616915b828110156200027c578886015182559484019460019091019084016200025b565b50858210156200029b5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b614a5480620002bb6000396000f3fe6080604052600436106103c35760003560e01c80638da5cb5b116101f2578063d38514821161010d578063e8ebdebc116100a0578063f2fde38b1161006f578063f2fde38b14610b4c578063ff3a51f914610b6c578063ff4171b414610b9c578063ffcc43c414610bb257600080fd5b8063e8ebdebc14610aa0578063e985e9c514610ac0578063ed88ed9f14610b16578063f2c4ce1e14610b2c57600080fd5b8063e30c3978116100dc578063e30c397814610a2b578063e4effacb14610a56578063e6a7e93314610a76578063e8a3d48514610a8b57600080fd5b8063d3851482146109cd578063d4ab257c146109ed578063d5c79ea514610a03578063dfb9eb5614610a1857600080fd5b8063a611708e11610185578063b88d4fde11610154578063b88d4fde1461094e578063c6ee20d214610961578063c87b56dd1461098e578063d1f12bea146109ae57600080fd5b8063a611708e146108ef578063ad72202b1461090f578063ae2cbc9114610924578063b66a0e5d1461093957600080fd5b806396330b5f116101c157806396330b5f146108695780639e8b30eb14610899578063a0333627146108af578063a22cb465146108cf57600080fd5b80638da5cb5b146107e9578063937a3ee814610814578063938e3d7b1461083457806395d89b411461085457600080fd5b806342842e0e116102e25780636ecd23061161027557806379ba50971161024457806379ba5097146107805780637f19c4121461079557806382651bd0146107aa578063869fb32a146107c957600080fd5b80636ecd23061461072257806370a0823114610735578063715018a61461075557806374d257741461076a57600080fd5b806355f804b3116102b157806355f804b3146106aa5780635c975abb146106ca5780635d82cf6e146106e25780636352211e1461070257600080fd5b806342842e0e1461063d57806342966c68146106505780634d3a83e31461067057806354c001c71461069057600080fd5b8063189455491161035a5780632e1a7d4d116103295780632e1a7d4d146105a557806332cb6b0c146105c557806336d59c15146105db5780633bdf4ac61461060d57600080fd5b806318945549146105115780631970d1fb1461052657806323b872dd146105465780632a55205a1461055957600080fd5b8063081812fc11610396578063081812fc14610454578063095ea7b3146104995780631465f531146104ac57806318160ddd146104cc57600080fd5b806301ffc9a7146103c857806302d179c8146103fd57806302fa7c471461041257806306fdde0314610432575b600080fd5b3480156103d457600080fd5b506103e86103e3366004613fd6565b610bc7565b60405190151581526020015b60405180910390f35b61041061040b36600461404e565b610bd8565b005b34801561041e57600080fd5b5061041061042d3660046140c6565b610feb565b34801561043e57600080fd5b5061044761107e565b6040516103f4919061417c565b34801561046057600080fd5b5061047461046f36600461418f565b611110565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016103f4565b6104106104a73660046141a8565b61117a565b3480156104b857600080fd5b506104106104c736600461418f565b61128f565b3480156104d857600080fd5b50600654600554037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff015b6040519081526020016103f4565b34801561051d57600080fd5b5061041061129c565b34801561053257600080fd5b5061041061054136600461418f565b6112ae565b6104106105543660046141d2565b6112bb565b34801561056557600080fd5b5061057961057436600461420e565b611582565b6040805173ffffffffffffffffffffffffffffffffffffffff90931683526020830191909152016103f4565b3480156105b157600080fd5b506104106105c036600461418f565b61167b565b3480156105d157600080fd5b50610503600e5481565b3480156105e757600080fd5b50600f546105fb9062010000900460ff1681565b60405160ff90911681526020016103f4565b34801561061957600080fd5b506105fb610628366004614230565b60116020526000908152604090205460ff1681565b61041061064b3660046141d2565b6117c4565b34801561065c57600080fd5b5061041061066b36600461418f565b6117df565b34801561067c57600080fd5b5061041061068b36600461424b565b611a28565b34801561069c57600080fd5b50600f546105fb9060ff1681565b3480156106b657600080fd5b506104106106c536600461435a565b611a64565b3480156106d657600080fd5b50600d5460ff166103e8565b3480156106ee57600080fd5b506104106106fd36600461418f565b611a78565b34801561070e57600080fd5b5061047461071d36600461418f565b611a85565b61041061073036600461424b565b611a90565b34801561074157600080fd5b50610503610750366004614230565b611e08565b34801561076157600080fd5b50610410611e8a565b34801561077657600080fd5b5061050360195481565b34801561078c57600080fd5b50610410611e9c565b3480156107a157600080fd5b50610410611f4e565b3480156107b657600080fd5b50601b546103e890610100900460ff1681565b3480156107d557600080fd5b506103e86107e43660046143a3565b612020565b3480156107f557600080fd5b5060035473ffffffffffffffffffffffffffffffffffffffff16610474565b34801561082057600080fd5b5061041061082f36600461424b565b6120b9565b34801561084057600080fd5b5061041061084f36600461435a565b6120fb565b34801561086057600080fd5b5061044761210f565b34801561087557600080fd5b506105fb610884366004614230565b60136020526000908152604090205460ff1681565b3480156108a557600080fd5b50610503601a5481565b3480156108bb57600080fd5b506103e86108ca3660046143a3565b61211e565b3480156108db57600080fd5b506104106108ea3660046143ee565b6121ae565b3480156108fb57600080fd5b5061041061090a36600461418f565b612245565b34801561091b57600080fd5b50610410612252565b34801561093057600080fd5b50610410612288565b34801561094557600080fd5b50610410612298565b61041061095c36600461441f565b61236b565b34801561096d57600080fd5b50601b546109819062010000900460ff1681565b6040516103f491906144ca565b34801561099a57600080fd5b506104476109a936600461418f565b6123db565b3480156109ba57600080fd5b50600f546105fb90610100900460ff1681565b3480156109d957600080fd5b506104106109e836600461424b565b61251c565b3480156109f957600080fd5b5061050360165481565b348015610a0f57600080fd5b5061044761255d565b610410610a2636600461404e565b6125eb565b348015610a3757600080fd5b5060045473ffffffffffffffffffffffffffffffffffffffff16610474565b348015610a6257600080fd5b50610410610a7136600461418f565b6129ee565b348015610a8257600080fd5b506104106129fb565b348015610a9757600080fd5b50610447612aca565b348015610aac57600080fd5b50610410610abb3660046145a5565b612ad9565b348015610acc57600080fd5b506103e8610adb366004614665565b73ffffffffffffffffffffffffffffffffffffffff9182166000908152600c6020908152604080832093909416825291909152205460ff1690565b348015610b2257600080fd5b5061050360155481565b348015610b3857600080fd5b50610410610b4736600461435a565b612e78565b348015610b5857600080fd5b50610410610b67366004614230565b612e8c565b348015610b7857600080fd5b506105fb610b87366004614230565b60126020526000908152604090205460ff1681565b348015610ba857600080fd5b5061050360145481565b348015610bbe57600080fd5b50610447612f3c565b6000610bd282612f49565b92915050565b610be061302a565b610beb83833361211e565b610c56576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f54696e793a20494e56414c49445f50524f4f460000000000000000000000000060448201526064015b60405180910390fd5b6004601b5462010000900460ff166004811115610c7557610c7561449b565b03610cdc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f54696e793a20736f6c64206f75740000000000000000000000000000000000006044820152606401610c4d565b6002601b5462010000900460ff166004811115610cfb57610cfb61449b565b14610d88576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602760248201527f54696e793a2077686974656c697374206e6f742073746172746564206f72206960448201527f7320656e646564000000000000000000000000000000000000000000000000006064820152608401610c4d565b60008160ff1611610df5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f54696e793a206d696e74206174206c65617374203120746f6b656e00000000006044820152606401610c4d565b60008160ff16601554610e0891906146c7565b905080341015610e74576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f54696e793a20796f75206e65656420746f2073656e64206d6f726520455448006044820152606401610c4d565b600e5460065460055460ff85169190037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff01610eb091906146de565b1115610f18576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f54696e793a206d617820737570706c79206578636565640000000000000000006044820152606401610c4d565b600f543360009081526011602052604090205460ff91821691610f3d918591166146f1565b60ff161115610fce576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f54696e793a206d6178206c696d697420666f72206d696e74696e67207265616360448201527f68656400000000000000000000000000000000000000000000000000000000006064820152608401610c4d565b610fdb338360008461309d565b50610fe66001600055565b505050565b610ff36130ce565b73ffffffffffffffffffffffffffffffffffffffff8216611070576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601e60248201527f54696e793a207a65726f2061646472657373206e6f7420616c6c6f77656400006044820152606401610c4d565b61107a828261314f565b5050565b60606007805461108d9061470a565b80601f01602080910402602001604051908101604052809291908181526020018280546110b99061470a565b80156111065780601f106110db57610100808354040283529160200191611106565b820191906000526020600020905b8154815290600101906020018083116110e957829003601f168201915b5050505050905090565b600061111b826132c8565b611151576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b506000908152600b602052604090205473ffffffffffffffffffffffffffffffffffffffff1690565b600061118582611a85565b90503373ffffffffffffffffffffffffffffffffffffffff82161461120e5773ffffffffffffffffffffffffffffffffffffffff81166000908152600c6020908152604080832033845290915290205460ff1661120e576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000828152600b602052604080822080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff87811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6112976130ce565b601a55565b6112a46130ce565b6112ac613316565b565b6112b66130ce565b601655565b60006112c682613393565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461132d576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000828152600b6020526040902080543380821473ffffffffffffffffffffffffffffffffffffffff8816909114176113ca5773ffffffffffffffffffffffffffffffffffffffff86166000908152600c6020908152604080832033845290915290205460ff166113ca576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff8516611417576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6114248686866001613459565b801561142f57600082555b73ffffffffffffffffffffffffffffffffffffffff8681166000908152600a602052604080822080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff019055918716808252919020805460010190554260a01b177c0200000000000000000000000000000000000000000000000000000000176000858152600960205260408120919091557c02000000000000000000000000000000000000000000000000000000008416900361151e5760018401600081815260096020526040812054900361151c57600554811461151c5760008181526009602052604090208490555b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b600082815260026020908152604080832081518083019092525473ffffffffffffffffffffffffffffffffffffffff8116808352740100000000000000000000000000000000000000009091046bffffffffffffffffffffffff1692820192909252829161163d57506040805180820190915260015473ffffffffffffffffffffffffffffffffffffffff811682527401000000000000000000000000000000000000000090046bffffffffffffffffffffffff1660208201525b602081015160009061271090611661906bffffffffffffffffffffffff16876146c7565b61166b919061475d565b91519350909150505b9250929050565b6116836130ce565b60008111611713576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f54696e793a2076616c7565206d7573742062652067726561746572207468616e60448201527f207a65726f0000000000000000000000000000000000000000000000000000006064820152608401610c4d565b8047101561177d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f54696e793a20696e73756666696369656e742062616c616e63650000000000006044820152606401610c4d565b60035460405173ffffffffffffffffffffffffffffffffffffffff9091169082156108fc029083906000818181858888f1935050505015801561107a573d6000803e3d6000fd5b610fe68383836040518060200160405280600081525061236b565b6117e76130ce565b6117ef61302a565b6004601b5462010000900460ff16600481111561180e5761180e61449b565b03611875576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f54696e793a20636f6e747261637420697320736f6c64206f75740000000000006044820152606401610c4d565b80600003611904576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f54696e793a207175616e746974792073686f756c64206e6f7420657175616c2060448201527f7a65726f000000000000000000000000000000000000000000000000000000006064820152608401610c4d565b60065460055460009190037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff01600e5461193e9190614798565b9050808211156119d0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602760248201527f54696e793a207175616e74697479206578636565647320617661696c61626c6560448201527f20737570706c79000000000000000000000000000000000000000000000000006064820152608401610c4d565b808203611a0557601b80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ffff16620400001790555b81600e6000828254611a179190614798565b909155505060016000555050565b50565b611a306130ce565b600f80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660ff92909216919091179055565b611a6c6130ce565b601761107a82826147f3565b611a806130ce565b601455565b6000610bd282613393565b611a9861302a565b6004601b5462010000900460ff166004811115611ab757611ab761449b565b03611b1e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f54696e793a20736f6c64206f75740000000000000000000000000000000000006044820152606401610c4d565b6003601b5462010000900460ff166004811115611b3d57611b3d61449b565b14611ba4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f54696e793a2073616c65206e6f742073746172746564000000000000000000006044820152606401610c4d565b60008160ff16601454611bb791906146c7565b905080341015611c23576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f54696e793a20796f75206e65656420746f2073656e64206d6f726520455448006044820152606401610c4d565b600e5460065460055460ff85169190037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff01611c5f91906146de565b1115611cc7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f54696e793a206d617820737570706c79206578636565640000000000000000006044820152606401610c4d565b60008260ff1611611d34576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f54696e793a206d696e74206174206c65617374203120746f6b656e00000000006044820152606401610c4d565b600f543360009081526013602052604090205460ff62010000909204821691611d5f918591166146f1565b60ff161115611df0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f54696e793a206d6178206c696d697420666f72206d696e74696e67207265616360448201527f68656400000000000000000000000000000000000000000000000000000000006064820152608401610c4d565b611dfd338360028461309d565b50611a256001600055565b600073ffffffffffffffffffffffffffffffffffffffff8216611e57576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5073ffffffffffffffffffffffffffffffffffffffff166000908152600a602052604090205467ffffffffffffffff1690565b611e926130ce565b6112ac600061358e565b600454339073ffffffffffffffffffffffffffffffffffffffff168114611f45576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602960248201527f4f776e61626c6532537465703a2063616c6c6572206973206e6f74207468652060448201527f6e6577206f776e657200000000000000000000000000000000000000000000006064820152608401610c4d565b611a258161358e565b611f566130ce565b601b5460ff1615611fe9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603460248201527f54696e793a2073616c6520686173206265656e20737461727465642c2063616e60448201527f206e6f742073746172742077686974656c6973740000000000000000000000006064820152608401610c4d565b601b8054600291907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ffff1662010000835b0217905550565b6040517fffffffffffffffffffffffffffffffffffffffff000000000000000000000000606083901b16602082015260009081906034016040516020818303038152906040528051906020012090506120b085858080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050601a5491508490506135bf565b95945050505050565b6120c16130ce565b600f805460ff90921662010000027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ffff909216919091179055565b6121036130ce565b601061107a82826147f3565b60606008805461108d9061470a565b6040517fffffffffffffffffffffffffffffffffffffffff000000000000000000000000606083901b16602082015260009081906034016040516020818303038152906040528051906020012090506120b08585808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152505060195491508490506135bf565b336000818152600c6020908152604080832073ffffffffffffffffffffffffffffffffffffffff87168085529083529281902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b61224d6130ce565b601555565b61225a6130ce565b601b80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff16610100179055565b6122906130ce565b6112ac6135d5565b6122a06130ce565b601b5460ff161561230d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f54696e793a207075626c69632073616c6520616c7265616479206163746976656044820152606401610c4d565b601b805460017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00821681178355600392917fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff0016176201000083612019565b6123768484846112bb565b73ffffffffffffffffffffffffffffffffffffffff83163b156123d55761239f84848484613630565b6123d5576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b60606123e6826132c8565b61244c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f54696e793a20696e76616c696420746f6b656e204944000000000000000000006044820152606401610c4d565b601b54610100900460ff166124eb57601880546124689061470a565b80601f01602080910402602001604051908101604052809291908181526020018280546124949061470a565b80156124e15780601f106124b6576101008083540402835291602001916124e1565b820191906000526020600020905b8154815290600101906020018083116124c457829003601f168201915b5050505050610bd2565b60176124f6836137aa565b60405160200161250792919061490d565b60405160208183030381529060405292915050565b6125246130ce565b600f805460ff909216610100027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff909216919091179055565b6018805461256a9061470a565b80601f01602080910402602001604051908101604052809291908181526020018280546125969061470a565b80156125e35780601f106125b8576101008083540402835291602001916125e3565b820191906000526020600020905b8154815290600101906020018083116125c657829003601f168201915b505050505081565b6125f361302a565b6125fe838333612020565b612664576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f54696e793a20494e56414c49445f50524f4f46000000000000000000000000006044820152606401610c4d565b6004601b5462010000900460ff1660048111156126835761268361449b565b036126ea576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f54696e793a20736f6c64206f75740000000000000000000000000000000000006044820152606401610c4d565b6001601b5462010000900460ff1660048111156127095761270961449b565b14612796576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f54696e793a2070726976617465206d696e74206e6f742073746172746564206f60448201527f7220697320656e646564000000000000000000000000000000000000000000006064820152608401610c4d565b60008160ff1611612803576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f54696e793a206d696e74206174206c65617374203120746f6b656e00000000006044820152606401610c4d565b60008160ff1660165461281691906146c7565b905080341015612882576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f54696e793a20796f75206e65656420746f2073656e64206d6f726520455448006044820152606401610c4d565b600e5460065460055460ff85169190037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff016128be91906146de565b1115612926576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f54696e793a206d617820737570706c79206578636565640000000000000000006044820152606401610c4d565b600f543360009081526012602052604090205460ff610100909204821691612950918591166146f1565b60ff1611156129e1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f54696e793a206d6178206c696d697420666f72206d696e74696e67207265616360448201527f68656400000000000000000000000000000000000000000000000000000000006064820152608401610c4d565b610fdb338360018461309d565b6129f66130ce565b601955565b612a036130ce565b601b5460ff1615612a96576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603f60248201527f54696e793a2070726976617465206d696e7420686173206265656e207374617260448201527f7465642c2063616e206e6f742073746172742070726976617465206d696e74006064820152608401610c4d565b601b8054600191907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ffff166201000083612019565b60606010805461108d9061470a565b612ae16130ce565b612ae961302a565b6004601b5462010000900460ff166004811115612b0857612b0861449b565b03612b6f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f54696e793a20736f6c64206f75740000000000000000000000000000000000006044820152606401610c4d565b8151815114612bda576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f54696e793a206172726179206c656e67746820617265206e6f7420657175616c6044820152606401610c4d565b6000612be582613868565b905060008111612c51576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f54696e793a206d696e74206174206c65617374203120746f6b656e00000000006044820152606401610c4d565b600e54600654600554839190037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff01612c8a91906146de565b1115612cf2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f54696e793a206d617820737570706c79206578636565640000000000000000006044820152606401610c4d565b600e54600654600554839190037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff01612d2b91906146de565b03612d5e57601b80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ffff16620400001790555b60005b83518160ff161015612e6c57600073ffffffffffffffffffffffffffffffffffffffff16848260ff1681518110612d9a57612d9a6149b2565b602002602001015173ffffffffffffffffffffffffffffffffffffffff1603612e1f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601e60248201527f54696e793a207a65726f2061646472657373206e6f7420616c6c6f77656400006044820152606401610c4d565b612e64848260ff1681518110612e3757612e376149b2565b6020026020010151848360ff1681518110612e5457612e546149b2565b602002602001015160ff166138b6565b600101612d61565b505061107a6001600055565b612e806130ce565b601861107a82826147f3565b612e946130ce565b6004805473ffffffffffffffffffffffffffffffffffffffff83167fffffffffffffffffffffffff00000000000000000000000000000000000000009091168117909155612ef760035473ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e2270060405160405180910390a350565b6017805461256a9061470a565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff0000000000000000000000000000000000000000000000000000000083161480612fdc57507f80ac58cd000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b80610bd25750507fffffffff00000000000000000000000000000000000000000000000000000000167f5b5e139f000000000000000000000000000000000000000000000000000000001490565b600260005403613096576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610c4d565b6002600055565b6130aa848460ff166138b6565b806000036130c2576130bd8484846138d0565b6123d5565b6123d584848385613a4f565b60035473ffffffffffffffffffffffffffffffffffffffff1633146112ac576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c4d565b6127106bffffffffffffffffffffffff821611156131ef576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c2065786365656460448201527f2073616c655072696365000000000000000000000000000000000000000000006064820152608401610c4d565b73ffffffffffffffffffffffffffffffffffffffff821661326c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f455243323938313a20696e76616c6964207265636569766572000000000000006044820152606401610c4d565b6040805180820190915273ffffffffffffffffffffffffffffffffffffffff9092168083526bffffffffffffffffffffffff90911660209092018290527401000000000000000000000000000000000000000090910217600155565b6000816001111580156132dc575060055482105b8015610bd25750506000908152600960205260409020547c0100000000000000000000000000000000000000000000000000000000161590565b61331e613b30565b600d80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390a1565b600081806001116134275760055481101561342757600081815260096020526040812054907c010000000000000000000000000000000000000000000000000000000082169003613425575b8060000361341e57507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff016000818152600960205260409020546133df565b9392505050565b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600d5460ff16158061347f575073ffffffffffffffffffffffffffffffffffffffff8416155b8061349e575073ffffffffffffffffffffffffffffffffffffffff8316155b806134be575073ffffffffffffffffffffffffffffffffffffffff841630145b806134de575073ffffffffffffffffffffffffffffffffffffffff831630145b80613503575060035473ffffffffffffffffffffffffffffffffffffffff8581169116145b80613528575060035473ffffffffffffffffffffffffffffffffffffffff8481169116145b6130bd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f54696e793a20746f6b656e207472616e736665722070617573656400000000006044820152606401610c4d565b600480547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055611a2581613b9c565b6000826135cc8584613c13565b14949350505050565b6135dd613c56565b600d80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586133693390565b6040517f150b7a0200000000000000000000000000000000000000000000000000000000815260009073ffffffffffffffffffffffffffffffffffffffff85169063150b7a029061368b9033908990889088906004016149e1565b6020604051808303816000875af19250505080156136e4575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01682019092526136e191810190614a2a565b60015b61375b573d808015613712576040519150601f19603f3d011682016040523d82523d6000602084013e613717565b606091505b508051600003613753576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a02000000000000000000000000000000000000000000000000000000001490505b949350505050565b606060006137b783613cc3565b600101905060008167ffffffffffffffff8111156137d7576137d7614266565b6040519080825280601f01601f191660200182016040528015613801576020820181803683370190505b5090508181016020015b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff017f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a850494508461380b57509392505050565b60008060005b83518160ff1610156138af57838160ff168151811061388f5761388f6149b2565b602002602001015160ff16826138a591906146de565b915060010161386e565b5092915050565b61107a828260405180602001604052806000815250613da5565b600e5460065460055460ff85169190037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0161390c91906146de565b0361393f57601b80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ffff16620400001790555b8060028111156139515761395161449b565b6000036139ad5773ffffffffffffffffffffffffffffffffffffffff83166000908152601160205260408120805484929061399090849060ff166146f1565b92506101000a81548160ff021916908360ff160217905550505050565b8060028111156139bf576139bf61449b565b6002036139fe5773ffffffffffffffffffffffffffffffffffffffff83166000908152601360205260408120805484929061399090849060ff166146f1565b806002811115613a1057613a1061449b565b600103610fe65773ffffffffffffffffffffffffffffffffffffffff83166000908152601260205260408120805484929061399090849060ff166146f1565b600073ffffffffffffffffffffffffffffffffffffffff8516613a728434614798565b604051600081818185875af1925050503d8060008114613aae576040519150601f19603f3d011682016040523d82523d6000602084013e613ab3565b606091505b5050905080613b1e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600f60248201527f54696e793a2054585f4641494c454400000000000000000000000000000000006044820152606401610c4d565b613b298585846138d0565b5050505050565b600d5460ff166112ac576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f5061757361626c653a206e6f74207061757365640000000000000000000000006044820152606401610c4d565b6003805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600081815b8451811015613c4e57613c4482868381518110613c3757613c376149b2565b6020026020010151613e31565b9150600101613c18565b509392505050565b600d5460ff16156112ac576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f5061757361626c653a20706175736564000000000000000000000000000000006044820152606401610c4d565b6000807a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310613d0c577a184f03e93ff9f4daa797ed6e38ed64bf6a1f010000000000000000830492506040015b6d04ee2d6d415b85acef81000000008310613d38576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc100008310613d5657662386f26fc10000830492506010015b6305f5e1008310613d6e576305f5e100830492506008015b6127108310613d8257612710830492506004015b60648310613d94576064830492506002015b600a8310610bd25760010192915050565b613daf8383613e5d565b73ffffffffffffffffffffffffffffffffffffffff83163b15610fe6576005548281035b613de66000868380600101945086613630565b613e1c576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b818110613dd3578160055414613b2957600080fd5b6000818310613e4d57600082815260208490526040902061341e565b5060009182526020526040902090565b6005546000829003613e9b576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b613ea86000848385613459565b73ffffffffffffffffffffffffffffffffffffffff83166000818152600a602090815260408083208054680100000000000000018802019055848352600990915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b818114613f6457808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101613f2c565b5081600003613f9f576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60055550505050565b7fffffffff0000000000000000000000000000000000000000000000000000000081168114611a2557600080fd5b600060208284031215613fe857600080fd5b813561341e81613fa8565b60008083601f84011261400557600080fd5b50813567ffffffffffffffff81111561401d57600080fd5b6020830191508360208260051b850101111561167457600080fd5b803560ff8116811461404957600080fd5b919050565b60008060006040848603121561406357600080fd5b833567ffffffffffffffff81111561407a57600080fd5b61408686828701613ff3565b9094509250614099905060208501614038565b90509250925092565b803573ffffffffffffffffffffffffffffffffffffffff8116811461404957600080fd5b600080604083850312156140d957600080fd5b6140e2836140a2565b915060208301356bffffffffffffffffffffffff8116811461410357600080fd5b809150509250929050565b60005b83811015614129578181015183820152602001614111565b50506000910152565b6000815180845261414a81602086016020860161410e565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b60208152600061341e6020830184614132565b6000602082840312156141a157600080fd5b5035919050565b600080604083850312156141bb57600080fd5b6141c4836140a2565b946020939093013593505050565b6000806000606084860312156141e757600080fd5b6141f0846140a2565b92506141fe602085016140a2565b9150604084013590509250925092565b6000806040838503121561422157600080fd5b50508035926020909101359150565b60006020828403121561424257600080fd5b61341e826140a2565b60006020828403121561425d57600080fd5b61341e82614038565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff811182821017156142dc576142dc614266565b604052919050565b600067ffffffffffffffff8311156142fe576142fe614266565b61432f60207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f86011601614295565b905082815283838301111561434357600080fd5b828260208301376000602084830101529392505050565b60006020828403121561436c57600080fd5b813567ffffffffffffffff81111561438357600080fd5b8201601f8101841361439457600080fd5b6137a2848235602084016142e4565b6000806000604084860312156143b857600080fd5b833567ffffffffffffffff8111156143cf57600080fd5b6143db86828701613ff3565b90945092506140999050602085016140a2565b6000806040838503121561440157600080fd5b61440a836140a2565b91506020830135801515811461410357600080fd5b6000806000806080858703121561443557600080fd5b61443e856140a2565b935061444c602086016140a2565b925060408501359150606085013567ffffffffffffffff81111561446f57600080fd5b8501601f8101871361448057600080fd5b61448f878235602084016142e4565b91505092959194509250565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b6020810160058310614505577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b91905290565b600067ffffffffffffffff82111561452557614525614266565b5060051b60200190565b600082601f83011261454057600080fd5b813560206145556145508361450b565b614295565b8083825260208201915060208460051b87010193508684111561457757600080fd5b602086015b8481101561459a5761458d81614038565b835291830191830161457c565b509695505050505050565b600080604083850312156145b857600080fd5b823567ffffffffffffffff808211156145d057600080fd5b818501915085601f8301126145e457600080fd5b813560206145f46145508361450b565b82815260059290921b8401810191818101908984111561461357600080fd5b948201945b8386101561463857614629866140a2565b82529482019490820190614618565b9650508601359250508082111561464e57600080fd5b5061465b8582860161452f565b9150509250929050565b6000806040838503121561467857600080fd5b614681836140a2565b915061468f602084016140a2565b90509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b8082028115828204841417610bd257610bd2614698565b80820180821115610bd257610bd2614698565b60ff8181168382160190811115610bd257610bd2614698565b600181811c9082168061471e57607f821691505b602082108103614757577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b600082614793577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b81810381811115610bd257610bd2614698565b601f821115610fe6576000816000526020600020601f850160051c810160208610156147d45750805b601f850160051c820191505b8181101561157a578281556001016147e0565b815167ffffffffffffffff81111561480d5761480d614266565b6148218161481b845461470a565b846147ab565b602080601f831160018114614874576000841561483e5750858301515b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600386901b1c1916600185901b17855561157a565b6000858152602081207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08616915b828110156148c1578886015182559484019460019091019084016148a2565b50858210156148fd57878501517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600388901b60f8161c191681555b5050505050600190811b01905550565b600080845461491b8161470a565b60018281168015614933576001811461496657614995565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0084168752821515830287019450614995565b8860005260208060002060005b8581101561498c5781548a820152908401908201614973565b50505082870194505b5050505083516149a981836020880161410e565b01949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600073ffffffffffffffffffffffffffffffffffffffff808716835280861660208401525083604083015260806060830152614a206080830184614132565b9695505050505050565b600060208284031215614a3c57600080fd5b815161341e81613fa856fea164736f6c6343000817000a
Deployed Bytecode
0x6080604052600436106103c35760003560e01c80638da5cb5b116101f2578063d38514821161010d578063e8ebdebc116100a0578063f2fde38b1161006f578063f2fde38b14610b4c578063ff3a51f914610b6c578063ff4171b414610b9c578063ffcc43c414610bb257600080fd5b8063e8ebdebc14610aa0578063e985e9c514610ac0578063ed88ed9f14610b16578063f2c4ce1e14610b2c57600080fd5b8063e30c3978116100dc578063e30c397814610a2b578063e4effacb14610a56578063e6a7e93314610a76578063e8a3d48514610a8b57600080fd5b8063d3851482146109cd578063d4ab257c146109ed578063d5c79ea514610a03578063dfb9eb5614610a1857600080fd5b8063a611708e11610185578063b88d4fde11610154578063b88d4fde1461094e578063c6ee20d214610961578063c87b56dd1461098e578063d1f12bea146109ae57600080fd5b8063a611708e146108ef578063ad72202b1461090f578063ae2cbc9114610924578063b66a0e5d1461093957600080fd5b806396330b5f116101c157806396330b5f146108695780639e8b30eb14610899578063a0333627146108af578063a22cb465146108cf57600080fd5b80638da5cb5b146107e9578063937a3ee814610814578063938e3d7b1461083457806395d89b411461085457600080fd5b806342842e0e116102e25780636ecd23061161027557806379ba50971161024457806379ba5097146107805780637f19c4121461079557806382651bd0146107aa578063869fb32a146107c957600080fd5b80636ecd23061461072257806370a0823114610735578063715018a61461075557806374d257741461076a57600080fd5b806355f804b3116102b157806355f804b3146106aa5780635c975abb146106ca5780635d82cf6e146106e25780636352211e1461070257600080fd5b806342842e0e1461063d57806342966c68146106505780634d3a83e31461067057806354c001c71461069057600080fd5b8063189455491161035a5780632e1a7d4d116103295780632e1a7d4d146105a557806332cb6b0c146105c557806336d59c15146105db5780633bdf4ac61461060d57600080fd5b806318945549146105115780631970d1fb1461052657806323b872dd146105465780632a55205a1461055957600080fd5b8063081812fc11610396578063081812fc14610454578063095ea7b3146104995780631465f531146104ac57806318160ddd146104cc57600080fd5b806301ffc9a7146103c857806302d179c8146103fd57806302fa7c471461041257806306fdde0314610432575b600080fd5b3480156103d457600080fd5b506103e86103e3366004613fd6565b610bc7565b60405190151581526020015b60405180910390f35b61041061040b36600461404e565b610bd8565b005b34801561041e57600080fd5b5061041061042d3660046140c6565b610feb565b34801561043e57600080fd5b5061044761107e565b6040516103f4919061417c565b34801561046057600080fd5b5061047461046f36600461418f565b611110565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016103f4565b6104106104a73660046141a8565b61117a565b3480156104b857600080fd5b506104106104c736600461418f565b61128f565b3480156104d857600080fd5b50600654600554037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff015b6040519081526020016103f4565b34801561051d57600080fd5b5061041061129c565b34801561053257600080fd5b5061041061054136600461418f565b6112ae565b6104106105543660046141d2565b6112bb565b34801561056557600080fd5b5061057961057436600461420e565b611582565b6040805173ffffffffffffffffffffffffffffffffffffffff90931683526020830191909152016103f4565b3480156105b157600080fd5b506104106105c036600461418f565b61167b565b3480156105d157600080fd5b50610503600e5481565b3480156105e757600080fd5b50600f546105fb9062010000900460ff1681565b60405160ff90911681526020016103f4565b34801561061957600080fd5b506105fb610628366004614230565b60116020526000908152604090205460ff1681565b61041061064b3660046141d2565b6117c4565b34801561065c57600080fd5b5061041061066b36600461418f565b6117df565b34801561067c57600080fd5b5061041061068b36600461424b565b611a28565b34801561069c57600080fd5b50600f546105fb9060ff1681565b3480156106b657600080fd5b506104106106c536600461435a565b611a64565b3480156106d657600080fd5b50600d5460ff166103e8565b3480156106ee57600080fd5b506104106106fd36600461418f565b611a78565b34801561070e57600080fd5b5061047461071d36600461418f565b611a85565b61041061073036600461424b565b611a90565b34801561074157600080fd5b50610503610750366004614230565b611e08565b34801561076157600080fd5b50610410611e8a565b34801561077657600080fd5b5061050360195481565b34801561078c57600080fd5b50610410611e9c565b3480156107a157600080fd5b50610410611f4e565b3480156107b657600080fd5b50601b546103e890610100900460ff1681565b3480156107d557600080fd5b506103e86107e43660046143a3565b612020565b3480156107f557600080fd5b5060035473ffffffffffffffffffffffffffffffffffffffff16610474565b34801561082057600080fd5b5061041061082f36600461424b565b6120b9565b34801561084057600080fd5b5061041061084f36600461435a565b6120fb565b34801561086057600080fd5b5061044761210f565b34801561087557600080fd5b506105fb610884366004614230565b60136020526000908152604090205460ff1681565b3480156108a557600080fd5b50610503601a5481565b3480156108bb57600080fd5b506103e86108ca3660046143a3565b61211e565b3480156108db57600080fd5b506104106108ea3660046143ee565b6121ae565b3480156108fb57600080fd5b5061041061090a36600461418f565b612245565b34801561091b57600080fd5b50610410612252565b34801561093057600080fd5b50610410612288565b34801561094557600080fd5b50610410612298565b61041061095c36600461441f565b61236b565b34801561096d57600080fd5b50601b546109819062010000900460ff1681565b6040516103f491906144ca565b34801561099a57600080fd5b506104476109a936600461418f565b6123db565b3480156109ba57600080fd5b50600f546105fb90610100900460ff1681565b3480156109d957600080fd5b506104106109e836600461424b565b61251c565b3480156109f957600080fd5b5061050360165481565b348015610a0f57600080fd5b5061044761255d565b610410610a2636600461404e565b6125eb565b348015610a3757600080fd5b5060045473ffffffffffffffffffffffffffffffffffffffff16610474565b348015610a6257600080fd5b50610410610a7136600461418f565b6129ee565b348015610a8257600080fd5b506104106129fb565b348015610a9757600080fd5b50610447612aca565b348015610aac57600080fd5b50610410610abb3660046145a5565b612ad9565b348015610acc57600080fd5b506103e8610adb366004614665565b73ffffffffffffffffffffffffffffffffffffffff9182166000908152600c6020908152604080832093909416825291909152205460ff1690565b348015610b2257600080fd5b5061050360155481565b348015610b3857600080fd5b50610410610b4736600461435a565b612e78565b348015610b5857600080fd5b50610410610b67366004614230565b612e8c565b348015610b7857600080fd5b506105fb610b87366004614230565b60126020526000908152604090205460ff1681565b348015610ba857600080fd5b5061050360145481565b348015610bbe57600080fd5b50610447612f3c565b6000610bd282612f49565b92915050565b610be061302a565b610beb83833361211e565b610c56576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f54696e793a20494e56414c49445f50524f4f460000000000000000000000000060448201526064015b60405180910390fd5b6004601b5462010000900460ff166004811115610c7557610c7561449b565b03610cdc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f54696e793a20736f6c64206f75740000000000000000000000000000000000006044820152606401610c4d565b6002601b5462010000900460ff166004811115610cfb57610cfb61449b565b14610d88576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602760248201527f54696e793a2077686974656c697374206e6f742073746172746564206f72206960448201527f7320656e646564000000000000000000000000000000000000000000000000006064820152608401610c4d565b60008160ff1611610df5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f54696e793a206d696e74206174206c65617374203120746f6b656e00000000006044820152606401610c4d565b60008160ff16601554610e0891906146c7565b905080341015610e74576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f54696e793a20796f75206e65656420746f2073656e64206d6f726520455448006044820152606401610c4d565b600e5460065460055460ff85169190037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff01610eb091906146de565b1115610f18576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f54696e793a206d617820737570706c79206578636565640000000000000000006044820152606401610c4d565b600f543360009081526011602052604090205460ff91821691610f3d918591166146f1565b60ff161115610fce576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f54696e793a206d6178206c696d697420666f72206d696e74696e67207265616360448201527f68656400000000000000000000000000000000000000000000000000000000006064820152608401610c4d565b610fdb338360008461309d565b50610fe66001600055565b505050565b610ff36130ce565b73ffffffffffffffffffffffffffffffffffffffff8216611070576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601e60248201527f54696e793a207a65726f2061646472657373206e6f7420616c6c6f77656400006044820152606401610c4d565b61107a828261314f565b5050565b60606007805461108d9061470a565b80601f01602080910402602001604051908101604052809291908181526020018280546110b99061470a565b80156111065780601f106110db57610100808354040283529160200191611106565b820191906000526020600020905b8154815290600101906020018083116110e957829003601f168201915b5050505050905090565b600061111b826132c8565b611151576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b506000908152600b602052604090205473ffffffffffffffffffffffffffffffffffffffff1690565b600061118582611a85565b90503373ffffffffffffffffffffffffffffffffffffffff82161461120e5773ffffffffffffffffffffffffffffffffffffffff81166000908152600c6020908152604080832033845290915290205460ff1661120e576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000828152600b602052604080822080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff87811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6112976130ce565b601a55565b6112a46130ce565b6112ac613316565b565b6112b66130ce565b601655565b60006112c682613393565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461132d576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000828152600b6020526040902080543380821473ffffffffffffffffffffffffffffffffffffffff8816909114176113ca5773ffffffffffffffffffffffffffffffffffffffff86166000908152600c6020908152604080832033845290915290205460ff166113ca576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff8516611417576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6114248686866001613459565b801561142f57600082555b73ffffffffffffffffffffffffffffffffffffffff8681166000908152600a602052604080822080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff019055918716808252919020805460010190554260a01b177c0200000000000000000000000000000000000000000000000000000000176000858152600960205260408120919091557c02000000000000000000000000000000000000000000000000000000008416900361151e5760018401600081815260096020526040812054900361151c57600554811461151c5760008181526009602052604090208490555b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b600082815260026020908152604080832081518083019092525473ffffffffffffffffffffffffffffffffffffffff8116808352740100000000000000000000000000000000000000009091046bffffffffffffffffffffffff1692820192909252829161163d57506040805180820190915260015473ffffffffffffffffffffffffffffffffffffffff811682527401000000000000000000000000000000000000000090046bffffffffffffffffffffffff1660208201525b602081015160009061271090611661906bffffffffffffffffffffffff16876146c7565b61166b919061475d565b91519350909150505b9250929050565b6116836130ce565b60008111611713576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f54696e793a2076616c7565206d7573742062652067726561746572207468616e60448201527f207a65726f0000000000000000000000000000000000000000000000000000006064820152608401610c4d565b8047101561177d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f54696e793a20696e73756666696369656e742062616c616e63650000000000006044820152606401610c4d565b60035460405173ffffffffffffffffffffffffffffffffffffffff9091169082156108fc029083906000818181858888f1935050505015801561107a573d6000803e3d6000fd5b610fe68383836040518060200160405280600081525061236b565b6117e76130ce565b6117ef61302a565b6004601b5462010000900460ff16600481111561180e5761180e61449b565b03611875576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f54696e793a20636f6e747261637420697320736f6c64206f75740000000000006044820152606401610c4d565b80600003611904576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f54696e793a207175616e746974792073686f756c64206e6f7420657175616c2060448201527f7a65726f000000000000000000000000000000000000000000000000000000006064820152608401610c4d565b60065460055460009190037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff01600e5461193e9190614798565b9050808211156119d0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602760248201527f54696e793a207175616e74697479206578636565647320617661696c61626c6560448201527f20737570706c79000000000000000000000000000000000000000000000000006064820152608401610c4d565b808203611a0557601b80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ffff16620400001790555b81600e6000828254611a179190614798565b909155505060016000555050565b50565b611a306130ce565b600f80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660ff92909216919091179055565b611a6c6130ce565b601761107a82826147f3565b611a806130ce565b601455565b6000610bd282613393565b611a9861302a565b6004601b5462010000900460ff166004811115611ab757611ab761449b565b03611b1e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f54696e793a20736f6c64206f75740000000000000000000000000000000000006044820152606401610c4d565b6003601b5462010000900460ff166004811115611b3d57611b3d61449b565b14611ba4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f54696e793a2073616c65206e6f742073746172746564000000000000000000006044820152606401610c4d565b60008160ff16601454611bb791906146c7565b905080341015611c23576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f54696e793a20796f75206e65656420746f2073656e64206d6f726520455448006044820152606401610c4d565b600e5460065460055460ff85169190037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff01611c5f91906146de565b1115611cc7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f54696e793a206d617820737570706c79206578636565640000000000000000006044820152606401610c4d565b60008260ff1611611d34576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f54696e793a206d696e74206174206c65617374203120746f6b656e00000000006044820152606401610c4d565b600f543360009081526013602052604090205460ff62010000909204821691611d5f918591166146f1565b60ff161115611df0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f54696e793a206d6178206c696d697420666f72206d696e74696e67207265616360448201527f68656400000000000000000000000000000000000000000000000000000000006064820152608401610c4d565b611dfd338360028461309d565b50611a256001600055565b600073ffffffffffffffffffffffffffffffffffffffff8216611e57576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5073ffffffffffffffffffffffffffffffffffffffff166000908152600a602052604090205467ffffffffffffffff1690565b611e926130ce565b6112ac600061358e565b600454339073ffffffffffffffffffffffffffffffffffffffff168114611f45576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602960248201527f4f776e61626c6532537465703a2063616c6c6572206973206e6f74207468652060448201527f6e6577206f776e657200000000000000000000000000000000000000000000006064820152608401610c4d565b611a258161358e565b611f566130ce565b601b5460ff1615611fe9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603460248201527f54696e793a2073616c6520686173206265656e20737461727465642c2063616e60448201527f206e6f742073746172742077686974656c6973740000000000000000000000006064820152608401610c4d565b601b8054600291907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ffff1662010000835b0217905550565b6040517fffffffffffffffffffffffffffffffffffffffff000000000000000000000000606083901b16602082015260009081906034016040516020818303038152906040528051906020012090506120b085858080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050601a5491508490506135bf565b95945050505050565b6120c16130ce565b600f805460ff90921662010000027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ffff909216919091179055565b6121036130ce565b601061107a82826147f3565b60606008805461108d9061470a565b6040517fffffffffffffffffffffffffffffffffffffffff000000000000000000000000606083901b16602082015260009081906034016040516020818303038152906040528051906020012090506120b08585808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152505060195491508490506135bf565b336000818152600c6020908152604080832073ffffffffffffffffffffffffffffffffffffffff87168085529083529281902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b61224d6130ce565b601555565b61225a6130ce565b601b80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff16610100179055565b6122906130ce565b6112ac6135d5565b6122a06130ce565b601b5460ff161561230d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f54696e793a207075626c69632073616c6520616c7265616479206163746976656044820152606401610c4d565b601b805460017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00821681178355600392917fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff0016176201000083612019565b6123768484846112bb565b73ffffffffffffffffffffffffffffffffffffffff83163b156123d55761239f84848484613630565b6123d5576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b60606123e6826132c8565b61244c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f54696e793a20696e76616c696420746f6b656e204944000000000000000000006044820152606401610c4d565b601b54610100900460ff166124eb57601880546124689061470a565b80601f01602080910402602001604051908101604052809291908181526020018280546124949061470a565b80156124e15780601f106124b6576101008083540402835291602001916124e1565b820191906000526020600020905b8154815290600101906020018083116124c457829003601f168201915b5050505050610bd2565b60176124f6836137aa565b60405160200161250792919061490d565b60405160208183030381529060405292915050565b6125246130ce565b600f805460ff909216610100027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff909216919091179055565b6018805461256a9061470a565b80601f01602080910402602001604051908101604052809291908181526020018280546125969061470a565b80156125e35780601f106125b8576101008083540402835291602001916125e3565b820191906000526020600020905b8154815290600101906020018083116125c657829003601f168201915b505050505081565b6125f361302a565b6125fe838333612020565b612664576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f54696e793a20494e56414c49445f50524f4f46000000000000000000000000006044820152606401610c4d565b6004601b5462010000900460ff1660048111156126835761268361449b565b036126ea576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f54696e793a20736f6c64206f75740000000000000000000000000000000000006044820152606401610c4d565b6001601b5462010000900460ff1660048111156127095761270961449b565b14612796576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f54696e793a2070726976617465206d696e74206e6f742073746172746564206f60448201527f7220697320656e646564000000000000000000000000000000000000000000006064820152608401610c4d565b60008160ff1611612803576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f54696e793a206d696e74206174206c65617374203120746f6b656e00000000006044820152606401610c4d565b60008160ff1660165461281691906146c7565b905080341015612882576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f54696e793a20796f75206e65656420746f2073656e64206d6f726520455448006044820152606401610c4d565b600e5460065460055460ff85169190037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff016128be91906146de565b1115612926576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f54696e793a206d617820737570706c79206578636565640000000000000000006044820152606401610c4d565b600f543360009081526012602052604090205460ff610100909204821691612950918591166146f1565b60ff1611156129e1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f54696e793a206d6178206c696d697420666f72206d696e74696e67207265616360448201527f68656400000000000000000000000000000000000000000000000000000000006064820152608401610c4d565b610fdb338360018461309d565b6129f66130ce565b601955565b612a036130ce565b601b5460ff1615612a96576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603f60248201527f54696e793a2070726976617465206d696e7420686173206265656e207374617260448201527f7465642c2063616e206e6f742073746172742070726976617465206d696e74006064820152608401610c4d565b601b8054600191907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ffff166201000083612019565b60606010805461108d9061470a565b612ae16130ce565b612ae961302a565b6004601b5462010000900460ff166004811115612b0857612b0861449b565b03612b6f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f54696e793a20736f6c64206f75740000000000000000000000000000000000006044820152606401610c4d565b8151815114612bda576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f54696e793a206172726179206c656e67746820617265206e6f7420657175616c6044820152606401610c4d565b6000612be582613868565b905060008111612c51576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f54696e793a206d696e74206174206c65617374203120746f6b656e00000000006044820152606401610c4d565b600e54600654600554839190037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff01612c8a91906146de565b1115612cf2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f54696e793a206d617820737570706c79206578636565640000000000000000006044820152606401610c4d565b600e54600654600554839190037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff01612d2b91906146de565b03612d5e57601b80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ffff16620400001790555b60005b83518160ff161015612e6c57600073ffffffffffffffffffffffffffffffffffffffff16848260ff1681518110612d9a57612d9a6149b2565b602002602001015173ffffffffffffffffffffffffffffffffffffffff1603612e1f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601e60248201527f54696e793a207a65726f2061646472657373206e6f7420616c6c6f77656400006044820152606401610c4d565b612e64848260ff1681518110612e3757612e376149b2565b6020026020010151848360ff1681518110612e5457612e546149b2565b602002602001015160ff166138b6565b600101612d61565b505061107a6001600055565b612e806130ce565b601861107a82826147f3565b612e946130ce565b6004805473ffffffffffffffffffffffffffffffffffffffff83167fffffffffffffffffffffffff00000000000000000000000000000000000000009091168117909155612ef760035473ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e2270060405160405180910390a350565b6017805461256a9061470a565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff0000000000000000000000000000000000000000000000000000000083161480612fdc57507f80ac58cd000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b80610bd25750507fffffffff00000000000000000000000000000000000000000000000000000000167f5b5e139f000000000000000000000000000000000000000000000000000000001490565b600260005403613096576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610c4d565b6002600055565b6130aa848460ff166138b6565b806000036130c2576130bd8484846138d0565b6123d5565b6123d584848385613a4f565b60035473ffffffffffffffffffffffffffffffffffffffff1633146112ac576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c4d565b6127106bffffffffffffffffffffffff821611156131ef576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c2065786365656460448201527f2073616c655072696365000000000000000000000000000000000000000000006064820152608401610c4d565b73ffffffffffffffffffffffffffffffffffffffff821661326c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f455243323938313a20696e76616c6964207265636569766572000000000000006044820152606401610c4d565b6040805180820190915273ffffffffffffffffffffffffffffffffffffffff9092168083526bffffffffffffffffffffffff90911660209092018290527401000000000000000000000000000000000000000090910217600155565b6000816001111580156132dc575060055482105b8015610bd25750506000908152600960205260409020547c0100000000000000000000000000000000000000000000000000000000161590565b61331e613b30565b600d80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390a1565b600081806001116134275760055481101561342757600081815260096020526040812054907c010000000000000000000000000000000000000000000000000000000082169003613425575b8060000361341e57507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff016000818152600960205260409020546133df565b9392505050565b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600d5460ff16158061347f575073ffffffffffffffffffffffffffffffffffffffff8416155b8061349e575073ffffffffffffffffffffffffffffffffffffffff8316155b806134be575073ffffffffffffffffffffffffffffffffffffffff841630145b806134de575073ffffffffffffffffffffffffffffffffffffffff831630145b80613503575060035473ffffffffffffffffffffffffffffffffffffffff8581169116145b80613528575060035473ffffffffffffffffffffffffffffffffffffffff8481169116145b6130bd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f54696e793a20746f6b656e207472616e736665722070617573656400000000006044820152606401610c4d565b600480547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055611a2581613b9c565b6000826135cc8584613c13565b14949350505050565b6135dd613c56565b600d80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586133693390565b6040517f150b7a0200000000000000000000000000000000000000000000000000000000815260009073ffffffffffffffffffffffffffffffffffffffff85169063150b7a029061368b9033908990889088906004016149e1565b6020604051808303816000875af19250505080156136e4575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01682019092526136e191810190614a2a565b60015b61375b573d808015613712576040519150601f19603f3d011682016040523d82523d6000602084013e613717565b606091505b508051600003613753576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a02000000000000000000000000000000000000000000000000000000001490505b949350505050565b606060006137b783613cc3565b600101905060008167ffffffffffffffff8111156137d7576137d7614266565b6040519080825280601f01601f191660200182016040528015613801576020820181803683370190505b5090508181016020015b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff017f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a850494508461380b57509392505050565b60008060005b83518160ff1610156138af57838160ff168151811061388f5761388f6149b2565b602002602001015160ff16826138a591906146de565b915060010161386e565b5092915050565b61107a828260405180602001604052806000815250613da5565b600e5460065460055460ff85169190037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0161390c91906146de565b0361393f57601b80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ffff16620400001790555b8060028111156139515761395161449b565b6000036139ad5773ffffffffffffffffffffffffffffffffffffffff83166000908152601160205260408120805484929061399090849060ff166146f1565b92506101000a81548160ff021916908360ff160217905550505050565b8060028111156139bf576139bf61449b565b6002036139fe5773ffffffffffffffffffffffffffffffffffffffff83166000908152601360205260408120805484929061399090849060ff166146f1565b806002811115613a1057613a1061449b565b600103610fe65773ffffffffffffffffffffffffffffffffffffffff83166000908152601260205260408120805484929061399090849060ff166146f1565b600073ffffffffffffffffffffffffffffffffffffffff8516613a728434614798565b604051600081818185875af1925050503d8060008114613aae576040519150601f19603f3d011682016040523d82523d6000602084013e613ab3565b606091505b5050905080613b1e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600f60248201527f54696e793a2054585f4641494c454400000000000000000000000000000000006044820152606401610c4d565b613b298585846138d0565b5050505050565b600d5460ff166112ac576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f5061757361626c653a206e6f74207061757365640000000000000000000000006044820152606401610c4d565b6003805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600081815b8451811015613c4e57613c4482868381518110613c3757613c376149b2565b6020026020010151613e31565b9150600101613c18565b509392505050565b600d5460ff16156112ac576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f5061757361626c653a20706175736564000000000000000000000000000000006044820152606401610c4d565b6000807a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310613d0c577a184f03e93ff9f4daa797ed6e38ed64bf6a1f010000000000000000830492506040015b6d04ee2d6d415b85acef81000000008310613d38576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc100008310613d5657662386f26fc10000830492506010015b6305f5e1008310613d6e576305f5e100830492506008015b6127108310613d8257612710830492506004015b60648310613d94576064830492506002015b600a8310610bd25760010192915050565b613daf8383613e5d565b73ffffffffffffffffffffffffffffffffffffffff83163b15610fe6576005548281035b613de66000868380600101945086613630565b613e1c576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b818110613dd3578160055414613b2957600080fd5b6000818310613e4d57600082815260208490526040902061341e565b5060009182526020526040902090565b6005546000829003613e9b576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b613ea86000848385613459565b73ffffffffffffffffffffffffffffffffffffffff83166000818152600a602090815260408083208054680100000000000000018802019055848352600990915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b818114613f6457808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101613f2c565b5081600003613f9f576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60055550505050565b7fffffffff0000000000000000000000000000000000000000000000000000000081168114611a2557600080fd5b600060208284031215613fe857600080fd5b813561341e81613fa8565b60008083601f84011261400557600080fd5b50813567ffffffffffffffff81111561401d57600080fd5b6020830191508360208260051b850101111561167457600080fd5b803560ff8116811461404957600080fd5b919050565b60008060006040848603121561406357600080fd5b833567ffffffffffffffff81111561407a57600080fd5b61408686828701613ff3565b9094509250614099905060208501614038565b90509250925092565b803573ffffffffffffffffffffffffffffffffffffffff8116811461404957600080fd5b600080604083850312156140d957600080fd5b6140e2836140a2565b915060208301356bffffffffffffffffffffffff8116811461410357600080fd5b809150509250929050565b60005b83811015614129578181015183820152602001614111565b50506000910152565b6000815180845261414a81602086016020860161410e565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b60208152600061341e6020830184614132565b6000602082840312156141a157600080fd5b5035919050565b600080604083850312156141bb57600080fd5b6141c4836140a2565b946020939093013593505050565b6000806000606084860312156141e757600080fd5b6141f0846140a2565b92506141fe602085016140a2565b9150604084013590509250925092565b6000806040838503121561422157600080fd5b50508035926020909101359150565b60006020828403121561424257600080fd5b61341e826140a2565b60006020828403121561425d57600080fd5b61341e82614038565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff811182821017156142dc576142dc614266565b604052919050565b600067ffffffffffffffff8311156142fe576142fe614266565b61432f60207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f86011601614295565b905082815283838301111561434357600080fd5b828260208301376000602084830101529392505050565b60006020828403121561436c57600080fd5b813567ffffffffffffffff81111561438357600080fd5b8201601f8101841361439457600080fd5b6137a2848235602084016142e4565b6000806000604084860312156143b857600080fd5b833567ffffffffffffffff8111156143cf57600080fd5b6143db86828701613ff3565b90945092506140999050602085016140a2565b6000806040838503121561440157600080fd5b61440a836140a2565b91506020830135801515811461410357600080fd5b6000806000806080858703121561443557600080fd5b61443e856140a2565b935061444c602086016140a2565b925060408501359150606085013567ffffffffffffffff81111561446f57600080fd5b8501601f8101871361448057600080fd5b61448f878235602084016142e4565b91505092959194509250565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b6020810160058310614505577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b91905290565b600067ffffffffffffffff82111561452557614525614266565b5060051b60200190565b600082601f83011261454057600080fd5b813560206145556145508361450b565b614295565b8083825260208201915060208460051b87010193508684111561457757600080fd5b602086015b8481101561459a5761458d81614038565b835291830191830161457c565b509695505050505050565b600080604083850312156145b857600080fd5b823567ffffffffffffffff808211156145d057600080fd5b818501915085601f8301126145e457600080fd5b813560206145f46145508361450b565b82815260059290921b8401810191818101908984111561461357600080fd5b948201945b8386101561463857614629866140a2565b82529482019490820190614618565b9650508601359250508082111561464e57600080fd5b5061465b8582860161452f565b9150509250929050565b6000806040838503121561467857600080fd5b614681836140a2565b915061468f602084016140a2565b90509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b8082028115828204841417610bd257610bd2614698565b80820180821115610bd257610bd2614698565b60ff8181168382160190811115610bd257610bd2614698565b600181811c9082168061471e57607f821691505b602082108103614757577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b600082614793577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b81810381811115610bd257610bd2614698565b601f821115610fe6576000816000526020600020601f850160051c810160208610156147d45750805b601f850160051c820191505b8181101561157a578281556001016147e0565b815167ffffffffffffffff81111561480d5761480d614266565b6148218161481b845461470a565b846147ab565b602080601f831160018114614874576000841561483e5750858301515b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600386901b1c1916600185901b17855561157a565b6000858152602081207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08616915b828110156148c1578886015182559484019460019091019084016148a2565b50858210156148fd57878501517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600388901b60f8161c191681555b5050505050600190811b01905550565b600080845461491b8161470a565b60018281168015614933576001811461496657614995565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0084168752821515830287019450614995565b8860005260208060002060005b8581101561498c5781548a820152908401908201614973565b50505082870194505b5050505083516149a981836020880161410e565b01949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600073ffffffffffffffffffffffffffffffffffffffff808716835280861660208401525083604083015260806060830152614a206080830184614132565b9695505050505050565b600060208284031215614a3c57600080fd5b815161341e81613fa856fea164736f6c6343000817000a
Deployed Bytecode Sourcemap
468:11035:13:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11333:167;;;;;;;;;;-1:-1:-1;11333:167:13;;;;;:::i;:::-;;:::i;:::-;;;611:14:16;;604:22;586:41;;574:2;559:18;11333:167:13;;;;;;;;1594:893;;;;;;:::i;:::-;;:::i;:::-;;6485:239;;;;;;;;;;-1:-1:-1;6485:239:13;;;;;:::i;:::-;;:::i;9858:94:14:-;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;15884:218::-;;;;;;;;;;-1:-1:-1;15884:218:14;;;;;:::i;:::-;;:::i;:::-;;;3431:42:16;3419:55;;;3401:74;;3389:2;3374:18;15884:218:14;3255:226:16;15356:385:14;;;;;;:::i;:::-;;:::i;6880:140:13:-;;;;;;;;;;-1:-1:-1;6880:140:13;;;;;:::i;:::-;;:::i;5821:299:14:-;;;;;;;;;;-1:-1:-1;6077:12:14;;6061:13;;:28;:46;;5821:299;;;4076:25:16;;;4064:2;4049:18;5821:299:14;3930:177:16;11262:65:13;;;;;;;;;;;;;:::i;8386:140::-;;;;;;;;;;-1:-1:-1;8386:140:13;;;;;:::i;:::-;;:::i;19317:2575:14:-;;;;;;:::i;:::-;;:::i;1671:428:5:-;;;;;;;;;;-1:-1:-1;1671:428:5;;;;;:::i;:::-;;:::i;:::-;;;;4902:42:16;4890:55;;;4872:74;;4977:2;4962:18;;4955:34;;;;4845:18;1671:428:5;4698:297:16;8532:245:13;;;;;;;;;;-1:-1:-1;8532:245:13;;;;;:::i;:::-;;:::i;603:32::-;;;;;;;;;;;;;;;;729:43;;;;;;;;;;-1:-1:-1;729:43:13;;;;;;;;;;;;;;5172:4:16;5160:17;;;5142:36;;5130:2;5115:18;729:43:13;5000:184:16;809:51:13;;;;;;;;;;-1:-1:-1;809:51:13;;;;;:::i;:::-;;;;;;;;;;;;;;;;21980:173:14;;;;;;:::i;:::-;;:::i;10168:545:13:-;;;;;;;;;;-1:-1:-1;10168:545:13;;;;;:::i;:::-;;:::i;7760:146::-;;;;;;;;;;-1:-1:-1;7760:146:13;;;;;:::i;:::-;;:::i;640:35::-;;;;;;;;;;-1:-1:-1;640:35:13;;;;;;;;9579:86;;;;;;;;;;-1:-1:-1;9579:86:13;;;;;:::i;:::-;;:::i;1615:84:3:-;;;;;;;;;;-1:-1:-1;1685:7:3;;;;1615:84;;8100:126:13;;;;;;;;;;-1:-1:-1;8100:126:13;;;;;:::i;:::-;;:::i;11204:156:14:-;;;;;;;;;;-1:-1:-1;11204:156:14;;;;;:::i;:::-;;:::i;3406:692:13:-;;;;;;:::i;:::-;;:::i;6921:233:14:-;;;;;;;;;;-1:-1:-1;6921:233:14;;;;;:::i;:::-;;:::i;1824:101:0:-;;;;;;;;;;;;;:::i;1156:38:13:-;;;;;;;;;;;;;;;;1734:212:1;;;;;;;;;;;;;:::i;8971:199:13:-;;;;;;;;;;;;;:::i;1425:18::-;;;;;;;;;;-1:-1:-1;1425:18:13;;;;;;;;;;;7303:267;;;;;;;;;;-1:-1:-1;7303:267:13;;;;;:::i;:::-;;:::i;1201:85:0:-;;;;;;;;;;-1:-1:-1;1273:6:0;;;;1201:85;;7576:178:13;;;;;;;;;;-1:-1:-1;7576:178:13;;;;;:::i;:::-;;:::i;9671:117::-;;;;;;;;;;-1:-1:-1;9671:117:13;;;;;:::i;:::-;;:::i;10020:98:14:-;;;;;;;;;;;;;:::i;919:48:13:-;;;;;;;;;;-1:-1:-1;919:48:13;;;;;:::i;:::-;;;;;;;;;;;;;;;;1199:36;;;;;;;;;;;;;;;;7026:271;;;;;;;;;;-1:-1:-1;7026:271:13;;;;;:::i;:::-;;:::i;16418:239:14:-;;;;;;;;;;-1:-1:-1;16418:239:14;;;;;:::i;:::-;;:::i;8232:148:13:-;;;;;;;;;;-1:-1:-1;8232:148:13;;;;;:::i;:::-;;:::i;9399:68::-;;;;;;;;;;;;;:::i;11196:60::-;;;;;;;;;;;;;:::i;8783:182::-;;;;;;;;;;;;;:::i;22719:359:14:-;;;;;;:::i;:::-;;:::i;1448:36:13:-;;;;;;;;;;-1:-1:-1;1448:36:13;;;;;;;;;;;;;;;;;;:::i;9794:269::-;;;;;;;;;;-1:-1:-1;9794:269:13;;;;;:::i;:::-;;:::i;680:44::-;;;;;;;;;;-1:-1:-1;680:44:13;;;;;;;;;;;7912:182;;;;;;;;;;-1:-1:-1;7912:182:13;;;;;:::i;:::-;;:::i;1055:35::-;;;;;;;;;;;;;;;;1123:28;;;;;;;;;;;;;:::i;2493:907::-;;;;;;:::i;:::-;;:::i;847:99:1:-;;;;;;;;;;-1:-1:-1;926:13:1;;;;847:99;;6730:144:13;;;;;;;;;;-1:-1:-1;6730:144:13;;;;;:::i;:::-;;:::i;9176:217::-;;;;;;;;;;;;;:::i;10069:93::-;;;;;;;;;;;;;:::i;5631:848::-;;;;;;;;;;-1:-1:-1;5631:848:13;;;;;:::i;:::-;;:::i;16802:173:14:-;;;;;;;;;;-1:-1:-1;16802:173:14;;;;;:::i;:::-;16934:25;;;;16914:4;16934:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;16802:173;1013:37:13;;;;;;;;;;;;;;;;9473:100;;;;;;;;;;-1:-1:-1;9473:100:13;;;;;:::i;:::-;;:::i;1139:178:1:-;;;;;;;;;;-1:-1:-1;1139:178:1;;;;;:::i;:::-;;:::i;865:49:13:-;;;;;;;;;;-1:-1:-1;865:49:13;;;;;:::i;:::-;;;;;;;;;;;;;;;;974:34;;;;;;;;;;;;;;;;1097:21;;;;;;;;;;;;;:::i;11333:167::-;11438:4;11458:36;11482:11;11458:23;:36::i;:::-;11451:43;11333:167;-1:-1:-1;;11333:167:13:o;1594:893::-;2261:21:4;:19;:21::i;:::-;1735:52:13::1;1762:12;;1776:10;1735:26;:52::i;:::-;1719:105;;;::::0;::::1;::::0;;11819:2:16;1719:105:13::1;::::0;::::1;11801:21:16::0;11858:2;11838:18;;;11831:30;11897:21;11877:18;;;11870:49;11936:18;;1719:105:13::1;;;;;;;;;1857:19;1839:14;::::0;;;::::1;;;:37;::::0;::::1;;;;;;:::i;:::-;::::0;1831:64:::1;;;::::0;::::1;::::0;;12167:2:16;1831:64:13::1;::::0;::::1;12149:21:16::0;12206:2;12186:18;;;12179:30;12245:16;12225:18;;;12218:44;12279:18;;1831:64:13::1;11965:338:16::0;1831:64:13::1;1936:17;1918:14;::::0;;;::::1;;;:35;::::0;::::1;;;;;;:::i;:::-;;1902:108;;;::::0;::::1;::::0;;12510:2:16;1902:108:13::1;::::0;::::1;12492:21:16::0;12549:2;12529:18;;;12522:30;12588:34;12568:18;;;12561:62;12659:9;12639:18;;;12632:37;12686:19;;1902:108:13::1;12308:403:16::0;1902:108:13::1;2037:1;2025:9;:13;;;2017:53;;;::::0;::::1;::::0;;12918:2:16;2017:53:13::1;::::0;::::1;12900:21:16::0;12957:2;12937:18;;;12930:30;12996:29;12976:18;;;12969:57;13043:18;;2017:53:13::1;12716:351:16::0;2017:53:13::1;2079:14;2117:9;2096:30;;:18;;:30;;;;:::i;:::-;2079:47;;2154:6;2141:9;:19;;2133:63;;;::::0;::::1;::::0;;13636:2:16;2133:63:13::1;::::0;::::1;13618:21:16::0;13675:2;13655:18;;;13648:30;13714:33;13694:18;;;13687:61;13765:18;;2133:63:13::1;13434:355:16::0;2133:63:13::1;2240:10;::::0;6077:12:14;;6061:13;;2211:25:13::1;::::0;::::1;::::0;6061:28:14;;:46;;2211:25:13::1;;;;:::i;:::-;:39;;2203:75;;;::::0;::::1;::::0;;14126:2:16;2203:75:13::1;::::0;::::1;14108:21:16::0;14165:2;14145:18;;;14138:30;14204:25;14184:18;;;14177:53;14247:18;;2203:75:13::1;13924:347:16::0;2203:75:13::1;2347:18;::::0;2320:10:::1;2347:18;2301:30:::0;;;:18:::1;:30;::::0;;;;;2347:18:::1;::::0;;::::1;::::0;2301:42:::1;::::0;2334:9;;2301:30:::1;:42;:::i;:::-;:64;;;;2285:133;;;::::0;::::1;::::0;;14631:2:16;2285:133:13::1;::::0;::::1;14613:21:16::0;14670:2;14650:18;;;14643:30;14709:34;14689:18;;;14682:62;14780:5;14760:18;;;14753:33;14803:19;;2285:133:13::1;14429:399:16::0;2285:133:13::1;2425:56;2436:10;2448:9;2459:13;2474:6;2425:10;:56::i;:::-;1712:775;2303:20:4::0;1716:1;2809:7;:22;2629:209;2303:20;1594:893:13;;;:::o;6485:239::-;1094:13:0;:11;:13::i;:::-;6604:23:13::1;::::0;::::1;6596:66;;;::::0;::::1;::::0;;15035:2:16;6596:66:13::1;::::0;::::1;15017:21:16::0;15074:2;15054:18;;;15047:30;15113:32;15093:18;;;15086:60;15163:18;;6596:66:13::1;14833:354:16::0;6596:66:13::1;6669:49;6688:9;6699:18;6669;:49::i;:::-;6485:239:::0;;:::o;9858:94:14:-;9912:13;9941:5;9934:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9858:94;:::o;15884:218::-;15970:7;15991:16;15999:7;15991;:16::i;:::-;15986:64;;16016:34;;;;;;;;;;;;;;15986:64;-1:-1:-1;16066:24:14;;;;:15;:24;;;;;:30;;;;15884:218::o;15356:385::-;15456:13;15472:16;15480:7;15472;:16::i;:::-;15456:32;-1:-1:-1;37714:10:14;15501:28;;;;15497:155;;16934:25;;;16914:4;16934:25;;;:18;:25;;;;;;;;37714:10;16934:35;;;;;;;;;;15538:114;;15607:35;;;;;;;;;;;;;;15538:114;15660:24;;;;:15;:24;;;;;;:35;;;;;;;;;;;;;;15707:28;;15660:24;;15707:28;;;;;;;15449:292;15356:385;;:::o;6880:140:13:-;1094:13:0;:11;:13::i;:::-;6975:21:13::1;:39:::0;6880:140::o;11262:65::-;1094:13:0;:11;:13::i;:::-;11311:10:13::1;:8;:10::i;:::-;11262:65::o:0;8386:140::-;1094:13:0;:11;:13::i;:::-;8481:16:13::1;:39:::0;8386:140::o;19317:2575:14:-;19441:27;19471;19490:7;19471:18;:27::i;:::-;19441:57;;19552:4;19511:45;;19527:19;19511:45;;;19507:93;;19572:28;;;;;;;;;;;;;;19507:93;19618:27;18485:24;;;:15;:24;;;;;18693:26;;37714:10;18132:30;;;17860:16;17849:28;;18110:20;;;18107:56;19809:183;;16934:25;;;16914:4;16934:25;;;:18;:25;;;;;;;;37714:10;16934:35;;;;;;;;;;19891:101;;19957:35;;;;;;;;;;;;;;19891:101;20005:16;;;20001:52;;20030:23;;;;;;;;;;;;;;20001:52;20062:43;20084:4;20090:2;20094:7;20103:1;20062:21;:43::i;:::-;20184:15;20181:138;;;20308:1;20287:19;20280:30;20181:138;20667:24;;;;;;;;:18;:24;;;;;;20665:26;;;;;;20730:22;;;;;;;;;20728:24;;-1:-1:-1;20728:24:14;;;14280:11;14255:23;14251:41;14238:63;2390:8;14238:63;20987:26;;;;:17;:26;;;;;:164;;;;2390:8;21259:47;;:52;;21255:535;;21356:1;21346:11;;21324:19;21463:30;;;:17;:30;;;;;;:35;;21459:322;;21581:13;;21566:11;:28;21562:208;;21704:30;;;;:17;:30;;;;;:52;;;21562:208;21313:477;21255:535;21829:7;21825:2;21810:27;;21819:4;21810:27;;;;;;;;;;;;21844:42;19434:2458;;;19317:2575;;;:::o;1671:428:5:-;1766:7;1823:26;;;:17;:26;;;;;;;;1794:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;1766:7;;1860:90;;-1:-1:-1;1910:29:5;;;;;;;;;1920:19;1910:29;;;;;;;;;;;;;;;1860:90;1997:23;;;;1960:21;;2457:5;;1985:35;;1984:57;1985:35;:9;:35;:::i;:::-;1984:57;;;;:::i;:::-;2060:16;;;-1:-1:-1;1960:81:5;;-1:-1:-1;;1671:428:5;;;;;;:::o;8532:245:13:-;1094:13:0;:11;:13::i;:::-;8609:1:13::1;8600:6;:10;8592:60;;;::::0;::::1;::::0;;16304:2:16;8592:60:13::1;::::0;::::1;16286:21:16::0;16343:2;16323:18;;;16316:30;16382:34;16362:18;;;16355:62;16453:7;16433:18;;;16426:35;16478:19;;8592:60:13::1;16102:401:16::0;8592:60:13::1;8692:6;8667:21;:31;;8659:70;;;::::0;::::1;::::0;;16710:2:16;8659:70:13::1;::::0;::::1;16692:21:16::0;16749:2;16729:18;;;16722:30;16788:28;16768:18;;;16761:56;16834:18;;8659:70:13::1;16508:350:16::0;8659:70:13::1;1273:6:0::0;;8738:33:13::1;::::0;1273:6:0;;;;;8738:33:13;::::1;;;::::0;8764:6;;8738:33:::1;::::0;;;8764:6;1273::0;8738:33:13;::::1;;;;;;;;;;;;;::::0;::::1;;;;21980:173:14::0;22108:39;22125:4;22131:2;22135:7;22108:39;;;;;;;;;;;;:16;:39::i;10168:545:13:-;1094:13:0;:11;:13::i;:::-;2261:21:4::1;:19;:21::i;:::-;10274:19:13::2;10256:14;::::0;;;::::2;;;:37;::::0;::::2;;;;;;:::i;:::-;::::0;10240:97:::2;;;::::0;::::2;::::0;;17065:2:16;10240:97:13::2;::::0;::::2;17047:21:16::0;17104:2;17084:18;;;17077:30;17143:28;17123:18;;;17116:56;17189:18;;10240:97:13::2;16863:350:16::0;10240:97:13::2;10354:9;10367:1;10354:14:::0;10346:63:::2;;;::::0;::::2;::::0;;17420:2:16;10346:63:13::2;::::0;::::2;17402:21:16::0;17459:2;17439:18;;;17432:30;17498:34;17478:18;;;17471:62;17569:6;17549:18;;;17542:34;17593:19;;10346:63:13::2;17218:400:16::0;10346:63:13::2;6077:12:14::0;;6061:13;;10418:23:13::2;::::0;6061:28:14;;:46;;10444:10:13::2;;:26;;;;:::i;:::-;10418:52;;10508:15;10495:9;:28;;10479:101;;;::::0;::::2;::::0;;17958:2:16;10479:101:13::2;::::0;::::2;17940:21:16::0;17997:2;17977:18;;;17970:30;18036:34;18016:18;;;18009:62;18107:9;18087:18;;;18080:37;18134:19;;10479:101:13::2;17756:403:16::0;10479:101:13::2;10606:15;10593:9;:28:::0;10589:87:::2;;10632:14;:36:::0;;;::::2;::::0;::::2;::::0;;10589:87:::2;10698:9;10684:10;;:23;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;;1716:1:4;2809:7;:22;-1:-1:-1;10168:545:13;:::o;2303:20:4:-:1;10168:545:13::0;:::o;7760:146::-;1094:13:0;:11;:13::i;:::-;7857:18:13::1;:43:::0;;;::::1;;::::0;;;::::1;::::0;;;::::1;::::0;;7760:146::o;9579:86::-;1094:13:0;:11;:13::i;:::-;9645:7:13::1;:14;9655:4:::0;9645:7;:14:::1;:::i;8100:126::-:0;1094:13:0;:11;:13::i;:::-;8183:15:13::1;:37:::0;8100:126::o;11204:156:14:-;11286:7;11325:27;11344:7;11325:18;:27::i;3406:692:13:-;2261:21:4;:19;:21::i;:::-;3500:19:13::1;3482:14;::::0;;;::::1;;;:37;::::0;::::1;;;;;;:::i;:::-;::::0;3474:64:::1;;;::::0;::::1;::::0;;12167:2:16;3474:64:13::1;::::0;::::1;12149:21:16::0;12206:2;12186:18;;;12179:30;12245:16;12225:18;;;12218:44;12279:18;;3474:64:13::1;11965:338:16::0;3474:64:13::1;3571:19;3553:14;::::0;;;::::1;;;:37;::::0;::::1;;;;;;:::i;:::-;;3545:72;;;::::0;::::1;::::0;;20740:2:16;3545:72:13::1;::::0;::::1;20722:21:16::0;20779:2;20759:18;;;20752:30;20818:24;20798:18;;;20791:52;20860:18;;3545:72:13::1;20538:346:16::0;3545:72:13::1;3624:14;3659:9;3641:27;;:15;;:27;;;;:::i;:::-;3624:44;;3696:6;3683:9;:19;;3675:63;;;::::0;::::1;::::0;;13636:2:16;3675:63:13::1;::::0;::::1;13618:21:16::0;13675:2;13655:18;;;13648:30;13714:33;13694:18;;;13687:61;13765:18;;3675:63:13::1;13434:355:16::0;3675:63:13::1;3782:10;::::0;6077:12:14;;6061:13;;3753:25:13::1;::::0;::::1;::::0;6061:28:14;;:46;;3753:25:13::1;;;;:::i;:::-;:39;;3745:75;;;::::0;::::1;::::0;;14126:2:16;3745:75:13::1;::::0;::::1;14108:21:16::0;14165:2;14145:18;;;14138:30;14204:25;14184:18;;;14177:53;14247:18;;3745:75:13::1;13924:347:16::0;3745:75:13::1;3847:1;3835:9;:13;;;3827:53;;;::::0;::::1;::::0;;12918:2:16;3827:53:13::1;::::0;::::1;12900:21:16::0;12957:2;12937:18;;;12930:30;12996:29;12976:18;;;12969:57;13043:18;;3827:53:13::1;12716:351:16::0;3827:53:13::1;3946:26;::::0;3919:10:::1;3903:27;::::0;;;:15:::1;:27;::::0;;;;;3946:26:::1;::::0;;;::::1;::::0;::::1;::::0;3903:39:::1;::::0;3933:9;;3903:27:::1;:39;:::i;:::-;:69;;;;3887:138;;;::::0;::::1;::::0;;14631:2:16;3887:138:13::1;::::0;::::1;14613:21:16::0;14670:2;14650:18;;;14643:30;14709:34;14689:18;;;14682:62;14780:5;14760:18;;;14753:33;14803:19;;3887:138:13::1;14429:399:16::0;3887:138:13::1;4032:60;4043:10;4055:9;4066:17;4085:6;4032:10;:60::i;:::-;3467:631;2303:20:4::0;1716:1;2809:7;:22;2629:209;6921:233:14;7003:7;7023:19;;;7019:60;;7051:28;;;;;;;;;;;;;;7019:60;-1:-1:-1;7093:25:14;;;;;;:18;:25;;;;;;1366:13;7093:55;;6921:233::o;1824:101:0:-;1094:13;:11;:13::i;:::-;1888:30:::1;1915:1;1888:18;:30::i;1734:212:1:-:0;926:13;;37714:10:14;;1833:24:1;926:13;1833:24;;1825:78;;;;;;;21091:2:16;1825:78:1;;;21073:21:16;21130:2;21110:18;;;21103:30;21169:34;21149:18;;;21142:62;21240:11;21220:18;;;21213:39;21269:19;;1825:78:1;20889:405:16;1825:78:1;1913:26;1932:6;1913:18;:26::i;8971:199:13:-;1094:13:0;:11;:13::i;:::-;9040::13::1;::::0;::::1;;9039:14;9023:100;;;::::0;::::1;::::0;;21501:2:16;9023:100:13::1;::::0;::::1;21483:21:16::0;21540:2;21520:18;;;21513:30;21579:34;21559:18;;;21552:62;21650:22;21630:18;;;21623:50;21690:19;;9023:100:13::1;21299:416:16::0;9023:100:13::1;9130:14;:34:::0;;9147:17:::1;::::0;9130:14;:34;::::1;::::0;9147:17;9130:34:::1;;;;;;8971:199::o:0;7303:267::-;7462:26;;21882:66:16;21869:2;21865:15;;;21861:88;7462:26:13;;;21849:101:16;7424:4:13;;;;21966:12:16;;7462:26:13;;;;;;;;;;;;7452:37;;;;;;7437:52;;7503:61;7522:12;;7503:61;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;7536:21:13;;;-1:-1:-1;7559:4:13;;-1:-1:-1;7503:18:13;:61::i;:::-;7496:68;7303:267;-1:-1:-1;;;;;7303:267:13:o;7576:178::-;1094:13:0;:11;:13::i;:::-;7689:26:13::1;:59:::0;;::::1;::::0;;::::1;::::0;::::1;::::0;;;::::1;::::0;;;::::1;::::0;;7576:178::o;9671:117::-;1094:13:0;:11;:13::i;:::-;9752:12:13::1;:30;9767:15:::0;9752:12;:30:::1;:::i;10020:98:14:-:0;10076:13;10105:7;10098:14;;;;;:::i;7026:271:13:-;7187:26;;21882:66:16;21869:2;21865:15;;;21861:88;7187:26:13;;;21849:101:16;7149:4:13;;;;21966:12:16;;7187:26:13;;;;;;;;;;;;7177:37;;;;;;7162:52;;7228:63;7247:12;;7228:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;7261:23:13;;;-1:-1:-1;7286:4:13;;-1:-1:-1;7228:18:13;:63::i;16418:239:14:-;37714:10;16524:39;;;;:18;:39;;;;;;;;;:49;;;;;;;;;;;;:60;;;;;;;;;;;;;16596:55;;586:41:16;;;16524:49:14;;37714:10;16596:55;;559:18:16;16596:55:14;;;;;;;16418:239;;:::o;8232:148:13:-;1094:13:0;:11;:13::i;:::-;8331:18:13::1;:43:::0;8232:148::o;9399:68::-;1094:13:0;:11;:13::i;:::-;9448:6:13::1;:13:::0;;;::::1;;;::::0;;9399:68::o;11196:60::-;1094:13:0;:11;:13::i;:::-;11242:8:13::1;:6;:8::i;8783:182::-:0;1094:13:0;:11;:13::i;:::-;8839::13::1;::::0;::::1;;8838:14;8830:59;;;::::0;::::1;::::0;;22191:2:16;8830:59:13::1;::::0;::::1;22173:21:16::0;;;22210:18;;;22203:30;22269:34;22249:18;;;22242:62;22321:18;;8830:59:13::1;21989:356:16::0;8830:59:13::1;8896:13;:20:::0;;8912:4:::1;8896:20:::0;;::::1;::::0;::::1;::::0;;8940:19:::1;::::0;8896:13;8923:36;;;;8940:19;8923:36:::1;::::0;22719:359:14;22872:31;22885:4;22891:2;22895:7;22872:12;:31::i;:::-;22914:14;;;;:19;22910:163;;22947:56;22978:4;22984:2;22988:7;22997:5;22947:30;:56::i;:::-;22942:131;;23023:40;;;;;;;;;;;;;;22942:131;22719:359;;;;:::o;9794:269:13:-;9874:13;9904:12;9912:3;9904:7;:12::i;:::-;9896:47;;;;;;;22552:2:16;9896:47:13;;;22534:21:16;22591:2;22571:18;;;22564:30;22630:24;22610:18;;;22603:52;22672:18;;9896:47:13;22350:346:16;9896:47:13;9964:6;;;;;;;:93;;10043:14;9964:93;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10006:7;10015:14;:3;:12;:14::i;:::-;9989:41;;;;;;;;;:::i;:::-;;;;;;;;;;;;;9950:107;9794:269;-1:-1:-1;;9794:269:13:o;7912:182::-;1094:13:0;:11;:13::i;:::-;8027:27:13::1;:61:::0;;::::1;::::0;;::::1;;;::::0;;;::::1;::::0;;;::::1;::::0;;7912:182::o;1123:28::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;2493:907::-;2261:21:4;:19;:21::i;:::-;2632:50:13::1;2657:12;;2671:10;2632:24;:50::i;:::-;2616:103;;;::::0;::::1;::::0;;11819:2:16;2616:103:13::1;::::0;::::1;11801:21:16::0;11858:2;11838:18;;;11831:30;11897:21;11877:18;;;11870:49;11936:18;;2616:103:13::1;11617:343:16::0;2616:103:13::1;2752:19;2734:14;::::0;;;::::1;;;:37;::::0;::::1;;;;;;:::i;:::-;::::0;2726:64:::1;;;::::0;::::1;::::0;;12167:2:16;2726:64:13::1;::::0;::::1;12149:21:16::0;12206:2;12186:18;;;12179:30;12245:16;12225:18;;;12218:44;12279:18;;2726:64:13::1;11965:338:16::0;2726:64:13::1;2831:22;2813:14;::::0;;;::::1;;;:40;::::0;::::1;;;;;;:::i;:::-;;2797:116;;;::::0;::::1;::::0;;23987:2:16;2797:116:13::1;::::0;::::1;23969:21:16::0;24026:2;24006:18;;;23999:30;24065:34;24045:18;;;24038:62;24136:12;24116:18;;;24109:40;24166:19;;2797:116:13::1;23785:406:16::0;2797:116:13::1;2940:1;2928:9;:13;;;2920:53;;;::::0;::::1;::::0;;12918:2:16;2920:53:13::1;::::0;::::1;12900:21:16::0;12957:2;12937:18;;;12930:30;12996:29;12976:18;;;12969:57;13043:18;;2920:53:13::1;12716:351:16::0;2920:53:13::1;2982:14;3018:9;2999:28;;:16;;:28;;;;:::i;:::-;2982:45;;3055:6;3042:9;:19;;3034:63;;;::::0;::::1;::::0;;13636:2:16;3034:63:13::1;::::0;::::1;13618:21:16::0;13675:2;13655:18;;;13648:30;13714:33;13694:18;;;13687:61;13765:18;;3034:63:13::1;13434:355:16::0;3034:63:13::1;3141:10;::::0;6077:12:14;;6061:13;;3112:25:13::1;::::0;::::1;::::0;6061:28:14;;:46;;3112:25:13::1;;;;:::i;:::-;:39;;3104:75;;;::::0;::::1;::::0;;14126:2:16;3104:75:13::1;::::0;::::1;14108:21:16::0;14165:2;14145:18;;;14138:30;14204:25;14184:18;;;14177:53;14247:18;;3104:75:13::1;13924:347:16::0;3104:75:13::1;3246:27;::::0;3219:10:::1;3202:28;::::0;;;:16:::1;:28;::::0;;;;;3246:27:::1;;::::0;;::::1;::::0;::::1;::::0;3202:40:::1;::::0;3233:9;;3202:28:::1;:40;:::i;:::-;:71;;;;3186:140;;;::::0;::::1;::::0;;14631:2:16;3186:140:13::1;::::0;::::1;14613:21:16::0;14670:2;14650:18;;;14643:30;14709:34;14689:18;;;14682:62;14780:5;14760:18;;;14753:33;14803:19;;3186:140:13::1;14429:399:16::0;3186:140:13::1;3333:61;3344:10;3356:9;3367:18;3387:6;3333:10;:61::i;6730:144::-:0;1094:13:0;:11;:13::i;:::-;6827:23:13::1;:41:::0;6730:144::o;9176:217::-;1094:13:0;:11;:13::i;:::-;9247::13::1;::::0;::::1;;9246:14;9230:111;;;::::0;::::1;::::0;;24398:2:16;9230:111:13::1;::::0;::::1;24380:21:16::0;24437:2;24417:18;;;24410:30;24476:34;24456:18;;;24449:62;24547:33;24527:18;;;24520:61;24598:19;;9230:111:13::1;24196:427:16::0;9230:111:13::1;9348:14;:39:::0;;9365:22:::1;::::0;9348:14;:39;::::1;::::0;9365:22;9348:39:::1;::::0;10069:93;10115:13;10144:12;10137:19;;;;;:::i;5631:848::-;1094:13:0;:11;:13::i;:::-;2261:21:4::1;:19;:21::i;:::-;5789:19:13::2;5771:14;::::0;;;::::2;;;:37;::::0;::::2;;;;;;:::i;:::-;::::0;5763:64:::2;;;::::0;::::2;::::0;;12167:2:16;5763:64:13::2;::::0;::::2;12149:21:16::0;12206:2;12186:18;;;12179:30;12245:16;12225:18;;;12218:44;12279:18;;5763:64:13::2;11965:338:16::0;5763:64:13::2;5874:10;:17;5852:11;:18;:39;5836:105;;;::::0;::::2;::::0;;24830:2:16;5836:105:13::2;::::0;::::2;24812:21:16::0;;;24849:18;;;24842:30;24908:34;24888:18;;;24881:62;24960:18;;5836:105:13::2;24628:356:16::0;5836:105:13::2;5948:17;5968:26;5982:11;5968:13;:26::i;:::-;5948:46;;6021:1;6009:9;:13;6001:53;;;::::0;::::2;::::0;;12918:2:16;6001:53:13::2;::::0;::::2;12900:21:16::0;12957:2;12937:18;;;12930:30;12996:29;12976:18;;;12969:57;13043:18;;6001:53:13::2;12716:351:16::0;6001:53:13::2;6100:10;::::0;6077:12:14;;6061:13;;6087:9:13;;6061:28:14;;:46;;6071:25:13::2;;;;:::i;:::-;:39;;6063:75;;;::::0;::::2;::::0;;14126:2:16;6063:75:13::2;::::0;::::2;14108:21:16::0;14165:2;14145:18;;;14138:30;14204:25;14184:18;;;14177:53;14247:18;;6063:75:13::2;13924:347:16::0;6063:75:13::2;6178:10;::::0;6077:12:14;;6061:13;;6165:9:13;;6061:28:14;;:46;;6149:25:13::2;;;;:::i;:::-;:39:::0;6145:98:::2;;6199:14;:36:::0;;;::::2;::::0;::::2;::::0;;6145:98:::2;6256:7;6251:223;6269:10;:17;6265:1;:21;;;6251:223;;;6332:1;6307:27;;:10;6318:1;6307:13;;;;;;;;;;:::i;:::-;;;;;;;:27;;::::0;6299:70:::2;;;::::0;::::2;::::0;;15035:2:16;6299:70:13::2;::::0;::::2;15017:21:16::0;15074:2;15054:18;;;15047:30;15113:32;15093:18;;;15086:60;15163:18;;6299:70:13::2;14833:354:16::0;6299:70:13::2;6378:46;6394:10;6405:1;6394:13;;;;;;;;;;:::i;:::-;;;;;;;6409:11;6421:1;6409:14;;;;;;;;;;:::i;:::-;;;;;;;6378:46;;:15;:46::i;:::-;6454:3;;6251:223;;;;5756:723;2303:20:4::1;1716:1:::0;2809:7;:22;2629:209;9473:100:13;1094:13:0;:11;:13::i;:::-;9546:14:13::1;:21;9563:4:::0;9546:14;:21:::1;:::i;1139:178:1:-:0;1094:13:0;:11;:13::i;:::-;1228::1::1;:24:::0;;::::1;::::0;::::1;::::0;;;::::1;::::0;::::1;::::0;;;1292:7:::1;1273:6:0::0;;;;;1201:85;1292:7:1::1;1267:43;;;;;;;;;;;;1139:178:::0;:::o;1097:21:13:-;;;;;;;:::i;9000:609:14:-;9095:4;9393:25;;;;;;:96;;-1:-1:-1;9464:25:14;;;;;9393:96;:167;;;-1:-1:-1;;9535:25:14;;;;;9000:609::o;2336:287:4:-;1759:1;2468:7;;:19;2460:63;;;;;;;25380:2:16;2460:63:4;;;25362:21:16;25419:2;25399:18;;;25392:30;25458:33;25438:18;;;25431:61;25509:18;;2460:63:4;25178:355:16;2460:63:4;1759:1;2598:7;:18;2336:287::o;4104:367:13:-;4239:36;4255:8;4265:9;4239:36;;:15;:36::i;:::-;4288:6;4298:1;4288:11;4284:182;;4310:57;4334:8;4344:9;4355:11;4310:23;:57::i;:::-;4284:182;;;4390:68;4417:8;4427:9;4438:6;4446:11;4390:26;:68::i;1359:130:0:-;1273:6;;1422:23;1273:6;37714:10:14;1422:23:0;1414:68;;;;;;;25740:2:16;1414:68:0;;;25722:21:16;;;25759:18;;;25752:30;25818:34;25798:18;;;25791:62;25870:18;;1414:68:0;25538:356:16;2730:327:5;2457:5;2832:33;;;;;2824:88;;;;;;;26101:2:16;2824:88:5;;;26083:21:16;26140:2;26120:18;;;26113:30;26179:34;26159:18;;;26152:62;26250:12;26230:18;;;26223:40;26280:19;;2824:88:5;25899:406:16;2824:88:5;2930:22;;;2922:60;;;;;;;26512:2:16;2922:60:5;;;26494:21:16;26551:2;26531:18;;;26524:30;26590:27;26570:18;;;26563:55;26635:18;;2922:60:5;26310:349:16;2922:60:5;3015:35;;;;;;;;;;;;;;;;;;;;;;;;;;;2993:57;;;;;:19;:57;2730:327::o;17217:258:14:-;17282:4;17328:7;5448:1;17309:26;;:60;;;;;17356:13;;17346:7;:23;17309:60;:141;;;;-1:-1:-1;;17401:26:14;;;;:17;:26;;;;;;2118:8;17401:44;:49;;17217:258::o;2433:117:3:-;1486:16;:14;:16::i;:::-;2491:7:::1;:15:::0;;;::::1;::::0;;2521:22:::1;37714:10:14::0;2530:12:3::1;2521:22;::::0;3431:42:16;3419:55;;;3401:74;;3389:2;3374:18;2521:22:3::1;;;;;;;2433:117::o:0;12321:1037:14:-;12388:7;12419;;5448:1;12458:23;12454:847;;12503:13;;12496:4;:20;12492:809;;;12531:14;12548:23;;;:17;:23;;;;;;;2118:8;12617:24;;:29;;12613:677;;13162:87;13169:6;13179:1;13169:11;13162:87;;-1:-1:-1;13226:6:14;;13208:25;;;;:17;:25;;;;;;13162:87;;;13270:6;12321:1037;-1:-1:-1;;;12321:1037:14:o;12613:677::-;12518:783;12492:809;13321:31;;;;;;;;;;;;;;10719:471:13;1685:7:3;;;;10882:9:13;:40;;;-1:-1:-1;10904:18:13;;;;10882:40;:69;;;-1:-1:-1;10935:16:13;;;;10882:69;:103;;;-1:-1:-1;10964:21:13;;;10980:4;10964:21;10882:103;:135;;;-1:-1:-1;10998:19:13;;;11012:4;10998:19;10882:135;:163;;;-1:-1:-1;1273:6:0;;;11030:15:13;;;1273:6:0;;11030:15:13;10882:163;:189;;;-1:-1:-1;1273:6:0;;;11058:13:13;;;1273:6:0;;11058:13:13;10882:189;10866:250;;;;;;;26866:2:16;10866:250:13;;;26848:21:16;26905:2;26885:18;;;26878:30;26944:29;26924:18;;;26917:57;26991:18;;10866:250:13;26664:351:16;1501:153:1;1590:13;1583:20;;;;;;1613:34;1638:8;1613:24;:34::i;1156:154:8:-;1247:4;1299;1270:25;1283:5;1290:4;1270:12;:25::i;:::-;:33;;1156:154;-1:-1:-1;;;;1156:154:8:o;2186:115:3:-;1239:19;:17;:19::i;:::-;2245:7:::1;:14:::0;;;::::1;2255:4;2245:14;::::0;;2274:20:::1;2281:12;37714:10:14::0;;37631:99;25036:659;25205:133;;;;;25181:4;;25205:45;;;;;;:133;;37714:10;;25291:4;;25306:7;;25324:5;;25205:133;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;25205:133:14;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;25194:496;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25498:6;:13;25515:1;25498:18;25494:189;;25536:40;;;;;;;;;;;;;;25494:189;25655:6;25649:13;25640:6;25636:2;25632:15;25625:38;25194:496;25384:64;;25394:54;25384:64;;-1:-1:-1;25194:496:14;25036:659;;;;;;:::o;447:696:7:-;503:13;552:14;569:17;580:5;569:10;:17::i;:::-;589:1;569:21;552:38;;604:20;638:6;627:18;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;627:18:7;-1:-1:-1;604:41:7;-1:-1:-1;765:28:7;;;781:2;765:28;820:280;851:5;;990:8;985:2;974:14;;969:30;851:5;956:44;1044:2;1035:11;;;-1:-1:-1;1064:21:7;820:280;1064:21;-1:-1:-1;1120:6:7;447:696;-1:-1:-1;;;447:696:7:o;5339:286:13:-;5425:7;5441:17;5470:7;5465:132;5483:14;:21;5479:1;:25;;;5465:132;;;5530:14;5545:1;5530:17;;;;;;;;;;:::i;:::-;;;;;;;5517:30;;;;;;;:::i;:::-;;-1:-1:-1;5577:3:13;;5465:132;;;-1:-1:-1;5610:9:13;5339:286;-1:-1:-1;;5339:286:13:o;31940:106:14:-;32013:27;32023:2;32027:8;32013:27;;;;;;;;;;;;:9;:27::i;4477:530:13:-;4637:10;;6077:12:14;;6061:13;;4608:25:13;;;;6061:28:14;;:46;;4608:25:13;;;;:::i;:::-;:39;4604:98;;4658:14;:36;;;;;;;;4604:98;4731:11;4714:28;;;;;;;;:::i;:::-;:13;:28;4710:292;;4753:28;;;;;;;:18;:28;;;;;:41;;4785:9;;4753:28;:41;;4785:9;;4753:41;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;1594:893;;;:::o;4710:292::-;4833:11;4812:32;;;;;;;;:::i;:::-;:17;:32;4808:194;;4855:25;;;;;;;:15;:25;;;;;:38;;4884:9;;4855:25;:38;;4884:9;;4855:38;;;:::i;4808:194::-;4933:11;4911:33;;;;;;;;:::i;:::-;:18;:33;4907:95;;4955:26;;;;;;;:16;:26;;;;;:39;;4985:9;;4955:26;:39;;4985:9;;4955:39;;;:::i;5013:320::-;5165:9;5180:13;;;5201:18;5213:6;5201:9;:18;:::i;:::-;5180:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5164:60;;;5239:4;5231:32;;;;;;;28203:2:16;5231:32:13;;;28185:21:16;28242:2;28222:18;;;28215:30;28281:17;28261:18;;;28254:45;28316:18;;5231:32:13;28001:339:16;5231:32:13;5270:57;5294:8;5304:9;5315:11;5270:23;:57::i;:::-;5157:176;5013:320;;;;:::o;1945:106:3:-;1685:7;;;;2003:41;;;;;;;28547:2:16;2003:41:3;;;28529:21:16;28586:2;28566:18;;;28559:30;28625:22;28605:18;;;28598:50;28665:18;;2003:41:3;28345:344:16;2426:187:0;2518:6;;;;2534:17;;;;;;;;;;;2566:40;;2518:6;;;2534:17;2518:6;;2566:40;;2499:16;;2566:40;2489:124;2426:187;:::o;1934:290:8:-;2017:7;2059:4;2017:7;2073:116;2097:5;:12;2093:1;:16;2073:116;;;2145:33;2155:12;2169:5;2175:1;2169:8;;;;;;;;:::i;:::-;;;;;;;2145:9;:33::i;:::-;2130:48;-1:-1:-1;2111:3:8;;2073:116;;;-1:-1:-1;2205:12:8;1934:290;-1:-1:-1;;;1934:290:8:o;1767:106:3:-;1685:7;;;;1836:9;1828:38;;;;;;;28896:2:16;1828:38:3;;;28878:21:16;28935:2;28915:18;;;28908:30;28974:18;28954;;;28947:46;29010:18;;1828:38:3;28694:340:16;10139:916:11;10192:7;;10276:8;10267:17;;10263:103;;10313:8;10304:17;;;-1:-1:-1;10349:2:11;10339:12;10263:103;10392:8;10383:5;:17;10379:103;;10429:8;10420:17;;;-1:-1:-1;10465:2:11;10455:12;10379:103;10508:8;10499:5;:17;10495:103;;10545:8;10536:17;;;-1:-1:-1;10581:2:11;10571:12;10495:103;10624:7;10615:5;:16;10611:100;;10660:7;10651:16;;;-1:-1:-1;10695:1:11;10685:11;10611:100;10737:7;10728:5;:16;10724:100;;10773:7;10764:16;;;-1:-1:-1;10808:1:11;10798:11;10724:100;10850:7;10841:5;:16;10837:100;;10886:7;10877:16;;;-1:-1:-1;10921:1:11;10911:11;10837:100;10963:7;10954:5;:16;10950:66;;11000:1;10990:11;11042:6;10139:916;-1:-1:-1;;10139:916:11:o;31295:569:14:-;31408:19;31414:2;31418:8;31408:5;:19::i;:::-;31459:14;;;;:19;31455:397;;31505:13;;31545:14;;;31570:193;31591:62;31630:1;31634:2;31638:7;;;;;;31647:5;31591:30;:62::i;:::-;31586:145;;31677:40;;;;;;;;;;;;;;31586:145;31758:3;31750:5;:11;31570:193;;31829:3;31812:13;;:20;31808:34;;31834:8;;;9205:147:8;9268:7;9298:1;9294;:5;:51;;9426:13;9517:15;;;9552:4;9545:15;;;9598:4;9582:21;;9294:51;;;-1:-1:-1;9426:13:8;9517:15;;;9552:4;9545:15;9598:4;9582:21;;;9205:147::o;26129:2578:14:-;26221:13;;26198:20;26245:13;;;26241:44;;26267:18;;;;;;;;;;;;;;26241:44;26294:61;26324:1;26328:2;26332:12;26346:8;26294:21;:61::i;:::-;26717:22;;;;;;;:18;:22;;;;1500:2;26717:22;;;:71;;26755:32;26743:45;;26717:71;;;26995:31;;;:17;:31;;;;;-1:-1:-1;14687:15:14;;14661:24;14657:46;14280:11;14255:23;14251:41;14248:52;14238:63;;26995:151;;27196:23;;;;26995:31;;26717:22;;27869:25;26717:22;;27752:267;28303:1;28289:12;28285:20;28253:282;28336:3;28327:7;28324:16;28253:282;;28516:7;28506:8;28503:1;28476:25;28473:1;28470;28465:59;28379:1;28366:15;28253:282;;;28257:59;28556:8;28568:1;28556:13;28552:45;;28578:19;;;;;;;;;;;;;;28552:45;28608:13;:19;-1:-1:-1;1594:893:13;;;:::o;14:177:16:-;99:66;92:5;88:78;81:5;78:89;68:117;;181:1;178;171:12;196:245;254:6;307:2;295:9;286:7;282:23;278:32;275:52;;;323:1;320;313:12;275:52;362:9;349:23;381:30;405:5;381:30;:::i;638:367::-;701:8;711:6;765:3;758:4;750:6;746:17;742:27;732:55;;783:1;780;773:12;732:55;-1:-1:-1;806:20:16;;849:18;838:30;;835:50;;;881:1;878;871:12;835:50;918:4;910:6;906:17;894:29;;978:3;971:4;961:6;958:1;954:14;946:6;942:27;938:38;935:47;932:67;;;995:1;992;985:12;1010:156;1076:20;;1136:4;1125:16;;1115:27;;1105:55;;1156:1;1153;1146:12;1105:55;1010:156;;;:::o;1171:507::-;1264:6;1272;1280;1333:2;1321:9;1312:7;1308:23;1304:32;1301:52;;;1349:1;1346;1339:12;1301:52;1389:9;1376:23;1422:18;1414:6;1411:30;1408:50;;;1454:1;1451;1444:12;1408:50;1493:70;1555:7;1546:6;1535:9;1531:22;1493:70;:::i;:::-;1582:8;;-1:-1:-1;1467:96:16;-1:-1:-1;1636:36:16;;-1:-1:-1;1668:2:16;1653:18;;1636:36;:::i;:::-;1626:46;;1171:507;;;;;:::o;1683:196::-;1751:20;;1811:42;1800:54;;1790:65;;1780:93;;1869:1;1866;1859:12;1884:366;1951:6;1959;2012:2;2000:9;1991:7;1987:23;1983:32;1980:52;;;2028:1;2025;2018:12;1980:52;2051:29;2070:9;2051:29;:::i;:::-;2041:39;;2130:2;2119:9;2115:18;2102:32;2174:26;2167:5;2163:38;2156:5;2153:49;2143:77;;2216:1;2213;2206:12;2143:77;2239:5;2229:15;;;1884:366;;;;;:::o;2255:250::-;2340:1;2350:113;2364:6;2361:1;2358:13;2350:113;;;2440:11;;;2434:18;2421:11;;;2414:39;2386:2;2379:10;2350:113;;;-1:-1:-1;;2497:1:16;2479:16;;2472:27;2255:250::o;2510:330::-;2552:3;2590:5;2584:12;2617:6;2612:3;2605:19;2633:76;2702:6;2695:4;2690:3;2686:14;2679:4;2672:5;2668:16;2633:76;:::i;:::-;2754:2;2742:15;2759:66;2738:88;2729:98;;;;2829:4;2725:109;;2510:330;-1:-1:-1;;2510:330:16:o;2845:220::-;2994:2;2983:9;2976:21;2957:4;3014:45;3055:2;3044:9;3040:18;3032:6;3014:45;:::i;3070:180::-;3129:6;3182:2;3170:9;3161:7;3157:23;3153:32;3150:52;;;3198:1;3195;3188:12;3150:52;-1:-1:-1;3221:23:16;;3070:180;-1:-1:-1;3070:180:16:o;3486:254::-;3554:6;3562;3615:2;3603:9;3594:7;3590:23;3586:32;3583:52;;;3631:1;3628;3621:12;3583:52;3654:29;3673:9;3654:29;:::i;:::-;3644:39;3730:2;3715:18;;;;3702:32;;-1:-1:-1;;;3486:254:16:o;4112:328::-;4189:6;4197;4205;4258:2;4246:9;4237:7;4233:23;4229:32;4226:52;;;4274:1;4271;4264:12;4226:52;4297:29;4316:9;4297:29;:::i;:::-;4287:39;;4345:38;4379:2;4368:9;4364:18;4345:38;:::i;:::-;4335:48;;4430:2;4419:9;4415:18;4402:32;4392:42;;4112:328;;;;;:::o;4445:248::-;4513:6;4521;4574:2;4562:9;4553:7;4549:23;4545:32;4542:52;;;4590:1;4587;4580:12;4542:52;-1:-1:-1;;4613:23:16;;;4683:2;4668:18;;;4655:32;;-1:-1:-1;4445:248:16:o;5189:186::-;5248:6;5301:2;5289:9;5280:7;5276:23;5272:32;5269:52;;;5317:1;5314;5307:12;5269:52;5340:29;5359:9;5340:29;:::i;5380:182::-;5437:6;5490:2;5478:9;5469:7;5465:23;5461:32;5458:52;;;5506:1;5503;5496:12;5458:52;5529:27;5546:9;5529:27;:::i;5567:184::-;5619:77;5616:1;5609:88;5716:4;5713:1;5706:15;5740:4;5737:1;5730:15;5756:334;5827:2;5821:9;5883:2;5873:13;;5888:66;5869:86;5857:99;;5986:18;5971:34;;6007:22;;;5968:62;5965:88;;;6033:18;;:::i;:::-;6069:2;6062:22;5756:334;;-1:-1:-1;5756:334:16:o;6095:466::-;6160:5;6194:18;6186:6;6183:30;6180:56;;;6216:18;;:::i;:::-;6254:116;6364:4;6295:66;6290:2;6282:6;6278:15;6274:88;6270:99;6254:116;:::i;:::-;6245:125;;6393:6;6386:5;6379:21;6433:3;6424:6;6419:3;6415:16;6412:25;6409:45;;;6450:1;6447;6440:12;6409:45;6499:6;6494:3;6487:4;6480:5;6476:16;6463:43;6553:1;6546:4;6537:6;6530:5;6526:18;6522:29;6515:40;6095:466;;;;;:::o;6566:451::-;6635:6;6688:2;6676:9;6667:7;6663:23;6659:32;6656:52;;;6704:1;6701;6694:12;6656:52;6744:9;6731:23;6777:18;6769:6;6766:30;6763:50;;;6809:1;6806;6799:12;6763:50;6832:22;;6885:4;6877:13;;6873:27;-1:-1:-1;6863:55:16;;6914:1;6911;6904:12;6863:55;6937:74;7003:7;6998:2;6985:16;6980:2;6976;6972:11;6937:74;:::i;7204:511::-;7299:6;7307;7315;7368:2;7356:9;7347:7;7343:23;7339:32;7336:52;;;7384:1;7381;7374:12;7336:52;7424:9;7411:23;7457:18;7449:6;7446:30;7443:50;;;7489:1;7486;7479:12;7443:50;7528:70;7590:7;7581:6;7570:9;7566:22;7528:70;:::i;:::-;7617:8;;-1:-1:-1;7502:96:16;-1:-1:-1;7671:38:16;;-1:-1:-1;7705:2:16;7690:18;;7671:38;:::i;7720:347::-;7785:6;7793;7846:2;7834:9;7825:7;7821:23;7817:32;7814:52;;;7862:1;7859;7852:12;7814:52;7885:29;7904:9;7885:29;:::i;:::-;7875:39;;7964:2;7953:9;7949:18;7936:32;8011:5;8004:13;7997:21;7990:5;7987:32;7977:60;;8033:1;8030;8023:12;8072:667;8167:6;8175;8183;8191;8244:3;8232:9;8223:7;8219:23;8215:33;8212:53;;;8261:1;8258;8251:12;8212:53;8284:29;8303:9;8284:29;:::i;:::-;8274:39;;8332:38;8366:2;8355:9;8351:18;8332:38;:::i;:::-;8322:48;;8417:2;8406:9;8402:18;8389:32;8379:42;;8472:2;8461:9;8457:18;8444:32;8499:18;8491:6;8488:30;8485:50;;;8531:1;8528;8521:12;8485:50;8554:22;;8607:4;8599:13;;8595:27;-1:-1:-1;8585:55:16;;8636:1;8633;8626:12;8585:55;8659:74;8725:7;8720:2;8707:16;8702:2;8698;8694:11;8659:74;:::i;:::-;8649:84;;;8072:667;;;;;;;:::o;8744:184::-;8796:77;8793:1;8786:88;8893:4;8890:1;8883:15;8917:4;8914:1;8907:15;8933:404;9084:2;9069:18;;9117:1;9106:13;;9096:201;;9153:77;9150:1;9143:88;9254:4;9251:1;9244:15;9282:4;9279:1;9272:15;9096:201;9306:25;;;8933:404;:::o;9342:183::-;9402:4;9435:18;9427:6;9424:30;9421:56;;;9457:18;;:::i;:::-;-1:-1:-1;9502:1:16;9498:14;9514:4;9494:25;;9342:183::o;9530:670::-;9582:5;9635:3;9628:4;9620:6;9616:17;9612:27;9602:55;;9653:1;9650;9643:12;9602:55;9689:6;9676:20;9715:4;9739:60;9755:43;9795:2;9755:43;:::i;:::-;9739:60;:::i;:::-;9821:3;9845:2;9840:3;9833:15;9873:4;9868:3;9864:14;9857:21;;9930:4;9924:2;9921:1;9917:10;9909:6;9905:23;9901:34;9887:48;;9958:3;9950:6;9947:15;9944:35;;;9975:1;9972;9965:12;9944:35;10011:4;10003:6;9999:17;10025:146;10041:6;10036:3;10033:15;10025:146;;;10107:21;10124:3;10107:21;:::i;:::-;10095:34;;10149:12;;;;10058;;10025:146;;;-1:-1:-1;10189:5:16;9530:670;-1:-1:-1;;;;;;9530:670:16:o;10205:1142::-;10321:6;10329;10382:2;10370:9;10361:7;10357:23;10353:32;10350:52;;;10398:1;10395;10388:12;10350:52;10438:9;10425:23;10467:18;10508:2;10500:6;10497:14;10494:34;;;10524:1;10521;10514:12;10494:34;10562:6;10551:9;10547:22;10537:32;;10607:7;10600:4;10596:2;10592:13;10588:27;10578:55;;10629:1;10626;10619:12;10578:55;10665:2;10652:16;10687:4;10711:60;10727:43;10767:2;10727:43;:::i;10711:60::-;10805:15;;;10887:1;10883:10;;;;10875:19;;10871:28;;;10836:12;;;;10911:19;;;10908:39;;;10943:1;10940;10933:12;10908:39;10967:11;;;;10987:148;11003:6;10998:3;10995:15;10987:148;;;11069:23;11088:3;11069:23;:::i;:::-;11057:36;;11020:12;;;;11113;;;;10987:148;;;11154:5;-1:-1:-1;;11197:18:16;;11184:32;;-1:-1:-1;;11228:16:16;;;11225:36;;;11257:1;11254;11247:12;11225:36;;11280:61;11333:7;11322:8;11311:9;11307:24;11280:61;:::i;:::-;11270:71;;;10205:1142;;;;;:::o;11352:260::-;11420:6;11428;11481:2;11469:9;11460:7;11456:23;11452:32;11449:52;;;11497:1;11494;11487:12;11449:52;11520:29;11539:9;11520:29;:::i;:::-;11510:39;;11568:38;11602:2;11591:9;11587:18;11568:38;:::i;:::-;11558:48;;11352:260;;;;;:::o;13072:184::-;13124:77;13121:1;13114:88;13221:4;13218:1;13211:15;13245:4;13242:1;13235:15;13261:168;13334:9;;;13365;;13382:15;;;13376:22;;13362:37;13352:71;;13403:18;;:::i;13794:125::-;13859:9;;;13880:10;;;13877:36;;;13893:18;;:::i;14276:148::-;14364:4;14343:12;;;14357;;;14339:31;;14382:13;;14379:39;;;14398:18;;:::i;15192:437::-;15271:1;15267:12;;;;15314;;;15335:61;;15389:4;15381:6;15377:17;15367:27;;15335:61;15442:2;15434:6;15431:14;15411:18;15408:38;15405:218;;15479:77;15476:1;15469:88;15580:4;15577:1;15570:15;15608:4;15605:1;15598:15;15405:218;;15192:437;;;:::o;15823:274::-;15863:1;15889;15879:189;;15924:77;15921:1;15914:88;16025:4;16022:1;16015:15;16053:4;16050:1;16043:15;15879:189;-1:-1:-1;16082:9:16;;15823:274::o;17623:128::-;17690:9;;;17711:11;;;17708:37;;;17725:18;;:::i;18290:543::-;18392:2;18387:3;18384:11;18381:446;;;18428:1;18452:5;18449:1;18442:16;18496:4;18493:1;18483:18;18566:2;18554:10;18550:19;18547:1;18543:27;18537:4;18533:38;18602:4;18590:10;18587:20;18584:47;;;-1:-1:-1;18625:4:16;18584:47;18680:2;18675:3;18671:12;18668:1;18664:20;18658:4;18654:31;18644:41;;18735:82;18753:2;18746:5;18743:13;18735:82;;;18798:17;;;18779:1;18768:13;18735:82;;19069:1464;19195:3;19189:10;19222:18;19214:6;19211:30;19208:56;;;19244:18;;:::i;:::-;19273:97;19363:6;19323:38;19355:4;19349:11;19323:38;:::i;:::-;19317:4;19273:97;:::i;:::-;19425:4;;19482:2;19471:14;;19499:1;19494:782;;;;20320:1;20337:6;20334:89;;;-1:-1:-1;20389:19:16;;;20383:26;20334:89;18975:66;18966:1;18962:11;;;18958:84;18954:89;18944:100;19050:1;19046:11;;;18941:117;20436:81;;19464:1063;;19494:782;18237:1;18230:14;;;18274:4;18261:18;;19542:66;19530:79;;;19707:236;19721:7;19718:1;19715:14;19707:236;;;19810:19;;;19804:26;19789:42;;19902:27;;;;19870:1;19858:14;;;;19737:19;;19707:236;;;19711:3;19971:6;19962:7;19959:19;19956:261;;;20032:19;;;20026:26;20133:66;20115:1;20111:14;;;20127:3;20107:24;20103:97;20099:102;20084:118;20069:134;;19956:261;-1:-1:-1;;;;;20263:1:16;20247:14;;;20243:22;20230:36;;-1:-1:-1;19069:1464:16:o;22701:1079::-;22877:3;22906:1;22939:6;22933:13;22969:36;22995:9;22969:36;:::i;:::-;23024:1;23041:17;;;23067:191;;;;23272:1;23267:358;;;;23034:591;;23067:191;23115:66;23104:9;23100:82;23095:3;23088:95;23238:6;23231:14;23224:22;23216:6;23212:35;23207:3;23203:45;23196:52;;23067:191;;23267:358;23298:6;23295:1;23288:17;23328:4;23373;23370:1;23360:18;23400:1;23414:165;23428:6;23425:1;23422:13;23414:165;;;23506:14;;23493:11;;;23486:35;23549:16;;;;23443:10;;23414:165;;;23418:3;;;23608:6;23603:3;23599:16;23592:23;;23034:591;;;;;23656:6;23650:13;23672:68;23731:8;23726:3;23719:4;23711:6;23707:17;23672:68;:::i;:::-;23756:18;;22701:1079;-1:-1:-1;;;;22701:1079:16:o;24989:184::-;25041:77;25038:1;25031:88;25138:4;25135:1;25128:15;25162:4;25159:1;25152:15;27020:512;27214:4;27243:42;27324:2;27316:6;27312:15;27301:9;27294:34;27376:2;27368:6;27364:15;27359:2;27348:9;27344:18;27337:43;;27416:6;27411:2;27400:9;27396:18;27389:34;27459:3;27454:2;27443:9;27439:18;27432:31;27480:46;27521:3;27510:9;27506:19;27498:6;27480:46;:::i;:::-;27472:54;27020:512;-1:-1:-1;;;;;;27020:512:16:o;27537:249::-;27606:6;27659:2;27647:9;27638:7;27634:23;27630:32;27627:52;;;27675:1;27672;27665:12;27627:52;27707:9;27701:16;27726:30;27750:5;27726:30;:::i
Swarm Source
none
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.