Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
143 Swoopahs
Holders
99
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 SwoopahsLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
This contract may be a proxy contract. Click on More Options and select Is this a proxy? to confirm and enable the "Read as Proxy" & "Write as Proxy" tabs.
Contract Name:
Swoopahs
Compiler Version
v0.8.16+commit.07a7930e
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.16; import "./IERC721ABurnable.sol"; import "./ERC721AQueryable.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/security/Pausable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; contract Swoopahs is ERC721AQueryable, IERC721ABurnable, Ownable, Pausable, ReentrancyGuard { event PermanentURI(string _value, uint256 indexed _id); event Mint(address account, uint8 id); string private _baseTokenURI; bool public _baseURILocked; address private _authorizedContract; address private _admin; uint256 public _maxMintPerPublicWallet = 555; uint256 public _maxMintPerWhiteListWallet = 10; uint256 public _maxSupply = 555; uint256 public PRICE = 0.055 ether; bool private _maxSupplyLocked; // merkle root bytes32 public swoopahsMintRoot; bool public _swoopahsPublicMintActive = false; bool public _swoopahsWhiteListMintActive = false; //mappings for counters mapping(address => uint8) public _swoopahsMintCounter; constructor( string memory baseTokenURI, address admin) ERC721A("Swoopahs", "Swoopahs") { _admin = admin; _baseTokenURI = baseTokenURI; _pause(); } modifier callerIsUser() { require(tx.origin == msg.sender, "Caller is another contract"); _; } modifier onlyOwnerOrAdmin() { require(msg.sender == owner() || msg.sender == _admin, "Not owner or admin"); _; } function setBaseURI(string calldata newBaseURI) external onlyOwnerOrAdmin { require(!_baseURILocked, "Base URI is locked"); _baseTokenURI = newBaseURI; } function _baseURI() internal view virtual override returns (string memory) { return _baseTokenURI; } function setSwoopahsMintRoot(bytes32 _root) external onlyOwnerOrAdmin { swoopahsMintRoot = _root; } function setSwoopahsPublicMintActive(bool isActive) external onlyOwnerOrAdmin { _swoopahsPublicMintActive = isActive; } function setSwoopahsWhitelistMintActive(bool isActive) external onlyOwnerOrAdmin { _swoopahsWhiteListMintActive = isActive; } function setNewPrice(uint256 _newPrice) public onlyOwnerOrAdmin { PRICE = _newPrice; } function mint(address toAddress,uint256 quantity) external payable nonReentrant whenNotPaused returns (uint8 id) { uint256 price = PRICE * quantity; require(_swoopahsPublicMintActive, "Public mint is not yet active"); require(msg.value >= price, "Not enough ETH"); require(_numberMinted(msg.sender) + quantity <= _maxMintPerPublicWallet, "Quantity exceeds wallet limit"); require(totalSupply() + quantity <= _maxSupply, "Quantity exceeds supply"); _safeMint(toAddress, quantity); emit Mint(toAddress, id); // refund excess ETH if (msg.value > price) { payable(msg.sender).transfer(msg.value - price); } } // Presale function allowListMint(uint8 quantity, bytes32[] calldata _merkleProof) external payable callerIsUser nonReentrant { uint256 price = PRICE * quantity; require(_swoopahsWhiteListMintActive, "Whitelist mint is not yet active"); require(_numberMinted(msg.sender) + quantity <= _maxMintPerWhiteListWallet, "Quantity exceeds wallet limit"); require(quantity > 0, "Must mint more than 0 tokens"); require(totalSupply() + quantity <= _maxSupply, "Quantity exceeds supply"); require(msg.value >= price, "Not enough ETH"); // check proof & mint bytes32 leaf = keccak256(abi.encodePacked(msg.sender)); require(MerkleProof.verify(_merkleProof, swoopahsMintRoot, leaf), "Invalid MerkleProof"); _safeMint(msg.sender, quantity); if (msg.value > price) { payable(msg.sender).transfer(msg.value - price); } _swoopahsMintCounter[msg.sender] = _swoopahsMintCounter[msg.sender] + quantity; } function ownerMint(address to, uint256 quantity) external onlyOwnerOrAdmin { require(totalSupply() + quantity <= _maxSupply, "Quantity exceeds supply"); _safeMint(to, quantity); } // Pauses the mint process function pause() external onlyOwnerOrAdmin { _pause(); } // Unpauses the mint process function unpause() external onlyOwnerOrAdmin { _unpause(); } function setMaxMintPerPublicWallet(uint256 quantity) external onlyOwnerOrAdmin { _maxMintPerPublicWallet = quantity; } // function setMaxMintPerWhiteListWallet(uint256 quantity) external onlyOwnerOrAdmin { _maxMintPerWhiteListWallet = quantity; } // function setMaxSupply(uint256 supply) external onlyOwnerOrAdmin { require(!_maxSupplyLocked, "Max supply is locked"); _maxSupply = supply; } // Locks maximum supply forever function lockMaxSupply() external onlyOwnerOrAdmin { _maxSupplyLocked = true; } // Locks base token URI forever and emits PermanentURI for marketplaces (e.g. OpenSea) function lockBaseURI() external onlyOwnerOrAdmin { _baseURILocked = true; for (uint256 i = 0; i < totalSupply(); i++) { emit PermanentURI(tokenURI(i), i); } } // Only the owner of the token and its approved operators, and the authorized contract // can call this function. function burn(uint256 tokenId) public virtual override { // Avoid unnecessary approvals for the authorized contract bool approvalCheck = msg.sender != _authorizedContract; _burn(tokenId, approvalCheck); } // function setAdmin(address admin) external onlyOwnerOrAdmin { _admin = admin; } // function setAuthorizedContract(address authorizedContract) external onlyOwnerOrAdmin { _authorizedContract = authorizedContract; } // function withdrawMoney(address to) external onlyOwnerOrAdmin { (bool success, ) = to.call{value: address(this).balance}(""); require(success, "Transfer failed."); } // OpenSea metadata initialization function contractURI() public pure returns (string memory) { return "https://exhale.mypinata.cloud/ipfs/QmU5WfMeuC9ngGA47zzmBTXj6PKdq56mhfCGpmDug6awpX"; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.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 anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// 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 v4.4.1 (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } }
// 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.7.0) (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Tree proofs. * * The proofs can be generated using the JavaScript library * https://github.com/miguelmota/merkletreejs[merkletreejs]. * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled. * * See `test/utils/cryptography/MerkleProof.test.js` for some examples. * * WARNING: You should avoid using leaf values that are 64 bytes long prior to * hashing, or use a hash function other than keccak256 for hashing leaves. * This is because the concatenation of a sorted pair of internal nodes in * the merkle tree could be reinterpreted as a leaf value. */ library MerkleProof { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify( bytes32[] memory proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProof(proof, leaf) == root; } /** * @dev 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 proved to be a part of a Merkle tree defined by * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}. * * _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} * * _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 the sibling nodes in `proof`, * consuming from one or the other at each step according to the instructions given by * `proofFlags`. * * _Available since v4.7._ */ function processMultiProof( bytes32[] memory proof, bool[] memory proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuild 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 totalHashes = proofFlags.length; // Check proof validity. require(leavesLen + proof.length - 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 for 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) { return hashes[totalHashes - 1]; } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } /** * @dev Calldata version of {processMultiProof} * * _Available since v4.7._ */ function processMultiProofCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuild 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 totalHashes = proofFlags.length; // Check proof validity. require(leavesLen + proof.length - 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 for 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) { 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 // ERC721A Contracts v4.2.2 // 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 { string public baseExtension = ".json"; // Reference type for token approval. 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 0; } /** * @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), baseExtension)) : ''; } /** * @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 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 { if (operator == _msgSenderERC721A()) revert ApproveToCaller(); _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 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 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 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`. ) 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 0x80 bytes to keep the free memory pointer 32-byte word aligned. // We will need 1 32-byte word to store the length, // and 3 32-byte words to store a maximum of 78 digits. Total: 0x20 + 3 * 0x20 = 0x80. str := add(mload(0x40), 0x80) // Update the free memory pointer to allocate. mstore(0x40, str) // 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.2 // Creator: Chiru Labs pragma solidity ^0.8.4; import './IERC721AQueryable.sol'; import './ERC721A.sol'; /** * @title ERC721AQueryable. * * @dev ERC721A subclass with convenience query functions. */ abstract contract ERC721AQueryable is ERC721A, IERC721AQueryable { /** * @dev Returns the `TokenOwnership` struct at `tokenId` without reverting. * * If the `tokenId` is out of bounds: * * - `addr = address(0)` * - `startTimestamp = 0` * - `burned = false` * - `extraData = 0` * * If the `tokenId` is burned: * * - `addr = <Address of owner before token was burned>` * - `startTimestamp = <Timestamp when token was burned>` * - `burned = true` * - `extraData = <Extra data when token was burned>` * * Otherwise: * * - `addr = <Address of owner>` * - `startTimestamp = <Timestamp of start of ownership>` * - `burned = false` * - `extraData = <Extra data at start of ownership>` */ function explicitOwnershipOf(uint256 tokenId) public view virtual override returns (TokenOwnership memory) { TokenOwnership memory ownership; if (tokenId < _startTokenId() || tokenId >= _nextTokenId()) { return ownership; } ownership = _ownershipAt(tokenId); if (ownership.burned) { return ownership; } return _ownershipOf(tokenId); } /** * @dev Returns an array of `TokenOwnership` structs at `tokenIds` in order. * See {ERC721AQueryable-explicitOwnershipOf} */ function explicitOwnershipsOf(uint256[] calldata tokenIds) external view virtual override returns (TokenOwnership[] memory) { unchecked { uint256 tokenIdsLength = tokenIds.length; TokenOwnership[] memory ownerships = new TokenOwnership[](tokenIdsLength); for (uint256 i; i != tokenIdsLength; ++i) { ownerships[i] = explicitOwnershipOf(tokenIds[i]); } return ownerships; } } /** * @dev Returns an array of token IDs owned by `owner`, * in the range [`start`, `stop`) * (i.e. `start <= tokenId < stop`). * * This function allows for tokens to be queried if the collection * grows too big for a single call of {ERC721AQueryable-tokensOfOwner}. * * Requirements: * * - `start < stop` */ function tokensOfOwnerIn( address owner, uint256 start, uint256 stop ) external view virtual override returns (uint256[] memory) { unchecked { if (start >= stop) revert InvalidQueryRange(); uint256 tokenIdsIdx; uint256 stopLimit = _nextTokenId(); // Set `start = max(start, _startTokenId())`. if (start < _startTokenId()) { start = _startTokenId(); } // Set `stop = min(stop, stopLimit)`. if (stop > stopLimit) { stop = stopLimit; } uint256 tokenIdsMaxLength = balanceOf(owner); // Set `tokenIdsMaxLength = min(balanceOf(owner), stop - start)`, // to cater for cases where `balanceOf(owner)` is too big. if (start < stop) { uint256 rangeLength = stop - start; if (rangeLength < tokenIdsMaxLength) { tokenIdsMaxLength = rangeLength; } } else { tokenIdsMaxLength = 0; } uint256[] memory tokenIds = new uint256[](tokenIdsMaxLength); if (tokenIdsMaxLength == 0) { return tokenIds; } // We need to call `explicitOwnershipOf(start)`, // because the slot at `start` may not be initialized. TokenOwnership memory ownership = explicitOwnershipOf(start); address currOwnershipAddr; // If the starting slot exists (i.e. not burned), initialize `currOwnershipAddr`. // `ownership.address` will not be zero, as `start` is clamped to the valid token ID range. if (!ownership.burned) { currOwnershipAddr = ownership.addr; } for (uint256 i = start; i != stop && tokenIdsIdx != tokenIdsMaxLength; ++i) { ownership = _ownershipAt(i); if (ownership.burned) { continue; } if (ownership.addr != address(0)) { currOwnershipAddr = ownership.addr; } if (currOwnershipAddr == owner) { tokenIds[tokenIdsIdx++] = i; } } // Downsize the array to fit. assembly { mstore(tokenIds, tokenIdsIdx) } return tokenIds; } } /** * @dev Returns an array of token IDs owned by `owner`. * * This function scans the ownership mapping and is O(`totalSupply`) in complexity. * It is meant to be called off-chain. * * See {ERC721AQueryable-tokensOfOwnerIn} for splitting the scan into * multiple smaller scans if the collection is large enough to cause * an out-of-gas error (10K collections should be fine). */ function tokensOfOwner(address owner) external view virtual override returns (uint256[] memory) { unchecked { uint256 tokenIdsIdx; address currOwnershipAddr; uint256 tokenIdsLength = balanceOf(owner); uint256[] memory tokenIds = new uint256[](tokenIdsLength); TokenOwnership memory ownership; for (uint256 i = _startTokenId(); tokenIdsIdx != tokenIdsLength; ++i) { ownership = _ownershipAt(i); if (ownership.burned) { continue; } if (ownership.addr != address(0)) { currOwnershipAddr = ownership.addr; } if (currOwnershipAddr == owner) { tokenIds[tokenIdsIdx++] = i; } } return tokenIds; } } }
// SPDX-License-Identifier: MIT // ERC721A Contracts v4.2.2 // 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(); /** * The caller cannot approve to their own address. */ error ApproveToCaller(); /** * 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; /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @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; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the * zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev 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); }
// SPDX-License-Identifier: MIT // ERC721A Contracts v4.2.2 // Creator: Chiru Labs pragma solidity ^0.8.4; import './IERC721A.sol'; /** * @dev Interface of ERC721ABurnable. */ interface IERC721ABurnable is IERC721A { /** * @dev Burns `tokenId`. See {ERC721A-_burn}. * * Requirements: * * - The caller must own `tokenId` or be an approved operator. */ function burn(uint256 tokenId) external; }
// SPDX-License-Identifier: MIT // ERC721A Contracts v4.2.2 // Creator: Chiru Labs pragma solidity ^0.8.4; import './IERC721A.sol'; /** * @dev Interface of ERC721AQueryable. */ interface IERC721AQueryable is IERC721A { /** * Invalid query range (`start` >= `stop`). */ error InvalidQueryRange(); /** * @dev Returns the `TokenOwnership` struct at `tokenId` without reverting. * * If the `tokenId` is out of bounds: * * - `addr = address(0)` * - `startTimestamp = 0` * - `burned = false` * - `extraData = 0` * * If the `tokenId` is burned: * * - `addr = <Address of owner before token was burned>` * - `startTimestamp = <Timestamp when token was burned>` * - `burned = true` * - `extraData = <Extra data when token was burned>` * * Otherwise: * * - `addr = <Address of owner>` * - `startTimestamp = <Timestamp of start of ownership>` * - `burned = false` * - `extraData = <Extra data at start of ownership>` */ function explicitOwnershipOf(uint256 tokenId) external view returns (TokenOwnership memory); /** * @dev Returns an array of `TokenOwnership` structs at `tokenIds` in order. * See {ERC721AQueryable-explicitOwnershipOf} */ function explicitOwnershipsOf(uint256[] memory tokenIds) external view returns (TokenOwnership[] memory); /** * @dev Returns an array of token IDs owned by `owner`, * in the range [`start`, `stop`) * (i.e. `start <= tokenId < stop`). * * This function allows for tokens to be queried if the collection * grows too big for a single call of {ERC721AQueryable-tokensOfOwner}. * * Requirements: * * - `start < stop` */ function tokensOfOwnerIn( address owner, uint256 start, uint256 stop ) external view returns (uint256[] memory); /** * @dev Returns an array of token IDs owned by `owner`. * * This function scans the ownership mapping and is O(`totalSupply`) in complexity. * It is meant to be called off-chain. * * See {ERC721AQueryable-tokensOfOwnerIn} for splitting the scan into * multiple smaller scans if the collection is large enough to cause * an out-of-gas error (10K collections should be fine). */ function tokensOfOwner(address owner) external view returns (uint256[] memory); }
{ "optimizer": { "enabled": false, "runs": 200 }, "evmVersion": "london", "remappings": [], "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"baseTokenURI","type":"string"},{"internalType":"address","name":"admin","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"InvalidQueryRange","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":false,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint8","name":"id","type":"uint8"}],"name":"Mint","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":false,"internalType":"string","name":"_value","type":"string"},{"indexed":true,"internalType":"uint256","name":"_id","type":"uint256"}],"name":"PermanentURI","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":"PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_baseURILocked","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_maxMintPerPublicWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_maxMintPerWhiteListWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_swoopahsMintCounter","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_swoopahsPublicMintActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_swoopahsWhiteListMintActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint8","name":"quantity","type":"uint8"},{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"allowListMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseExtension","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"explicitOwnershipOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"},{"internalType":"uint24","name":"extraData","type":"uint24"}],"internalType":"struct IERC721A.TokenOwnership","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"explicitOwnershipsOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"},{"internalType":"uint24","name":"extraData","type":"uint24"}],"internalType":"struct IERC721A.TokenOwnership[]","name":"","type":"tuple[]"}],"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":[],"name":"lockBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"lockMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"toAddress","type":"address"},{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mint","outputs":[{"internalType":"uint8","name":"id","type":"uint8"}],"stateMutability":"payable","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":"address","name":"to","type":"address"},{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"ownerMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"admin","type":"address"}],"name":"setAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"authorizedContract","type":"address"}],"name":"setAuthorizedContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"setMaxMintPerPublicWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"setMaxMintPerWhiteListWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"supply","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newPrice","type":"uint256"}],"name":"setNewPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_root","type":"bytes32"}],"name":"setSwoopahsMintRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"isActive","type":"bool"}],"name":"setSwoopahsPublicMintActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"isActive","type":"bool"}],"name":"setSwoopahsWhitelistMintActive","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":"swoopahsMintRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"start","type":"uint256"},{"internalType":"uint256","name":"stop","type":"uint256"}],"name":"tokensOfOwnerIn","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"}],"name":"withdrawMoney","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526040518060400160405280600581526020017f2e6a736f6e000000000000000000000000000000000000000000000000000000815250600090816200004a919062000654565b5061022b600e55600a600f5561022b60105566c3663566a580006011556000601460006101000a81548160ff0219169083151502179055506000601460016101000a81548160ff021916908315150217905550348015620000aa57600080fd5b50604051620067a4380380620067a48339818101604052810190620000d0919062000904565b6040518060400160405280600881526020017f53776f6f706168730000000000000000000000000000000000000000000000008152506040518060400160405280600881526020017f53776f6f7061687300000000000000000000000000000000000000000000000081525081600390816200014d919062000654565b5080600490816200015f919062000654565b50620001706200022660201b60201c565b6001819055505050620001986200018c6200022b60201b60201c565b6200023360201b60201c565b6000600960146101000a81548160ff0219169083151502179055506001600a8190555080600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081600b90816200020d919062000654565b506200021e620002f960201b60201c565b505062000a1b565b600090565b600033905090565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b620003096200036e60201b60201c565b6001600960146101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258620003556200022b60201b60201c565b6040516200036491906200097b565b60405180910390a1565b6200037e620003c360201b60201c565b15620003c1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620003b890620009f9565b60405180910390fd5b565b6000600960149054906101000a900460ff16905090565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200045c57607f821691505b60208210810362000472576200047162000414565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620004dc7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826200049d565b620004e886836200049d565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b6000620005356200052f620005298462000500565b6200050a565b62000500565b9050919050565b6000819050919050565b620005518362000514565b6200056962000560826200053c565b848454620004aa565b825550505050565b600090565b6200058062000571565b6200058d81848462000546565b505050565b5b81811015620005b557620005a960008262000576565b60018101905062000593565b5050565b601f8211156200060457620005ce8162000478565b620005d9846200048d565b81016020851015620005e9578190505b62000601620005f8856200048d565b83018262000592565b50505b505050565b600082821c905092915050565b6000620006296000198460080262000609565b1980831691505092915050565b600062000644838362000616565b9150826002028217905092915050565b6200065f82620003da565b67ffffffffffffffff8111156200067b576200067a620003e5565b5b62000687825462000443565b62000694828285620005b9565b600060209050601f831160018114620006cc5760008415620006b7578287015190505b620006c3858262000636565b86555062000733565b601f198416620006dc8662000478565b60005b828110156200070657848901518255600182019150602085019450602081019050620006df565b8683101562000726578489015162000722601f89168262000616565b8355505b6001600288020188555050505b505050505050565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b620007758262000759565b810181811067ffffffffffffffff82111715620007975762000796620003e5565b5b80604052505050565b6000620007ac6200073b565b9050620007ba82826200076a565b919050565b600067ffffffffffffffff821115620007dd57620007dc620003e5565b5b620007e88262000759565b9050602081019050919050565b60005b8381101562000815578082015181840152602081019050620007f8565b60008484015250505050565b6000620008386200083284620007bf565b620007a0565b90508281526020810184848401111562000857576200085662000754565b5b62000864848285620007f5565b509392505050565b600082601f8301126200088457620008836200074f565b5b81516200089684826020860162000821565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620008cc826200089f565b9050919050565b620008de81620008bf565b8114620008ea57600080fd5b50565b600081519050620008fe81620008d3565b92915050565b600080604083850312156200091e576200091d62000745565b5b600083015167ffffffffffffffff8111156200093f576200093e6200074a565b5b6200094d858286016200086c565b92505060206200096085828601620008ed565b9150509250929050565b6200097581620008bf565b82525050565b60006020820190506200099260008301846200096a565b92915050565b600082825260208201905092915050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b6000620009e160108362000998565b9150620009ee82620009a9565b602082019050919050565b6000602082019050818103600083015262000a1481620009d2565b9050919050565b615d798062000a2b6000396000f3fe6080604052600436106102ff5760003560e01c8063715018a611610190578063ae1fc2a6116100dc578063e8a3d48511610095578063ee8cdd4e1161006f578063ee8cdd4e14610b6d578063f2fde38b14610b96578063f571c04114610bbf578063fca76c2614610bdb576102ff565b8063e8a3d48514610adc578063e938106b14610b07578063e985e9c514610b30576102ff565b8063ae1fc2a6146109b8578063b57b245a146109e3578063b88d4fde14610a0e578063c23dc68f14610a37578063c668286214610a74578063c87b56dd14610a9f576102ff565b80638da5cb5b116101495780639aad69e7116101235780639aad69e7146109145780639c8f79331461093d578063a1ba54a014610966578063a22cb4651461098f576102ff565b80638da5cb5b1461088157806395d89b41146108ac57806399a2557a146108d7576102ff565b8063715018a61461079757806381a23483146107ae5780638456cb59146107d75780638462151c146107ee5780638a383ff11461082b5780638d859f3e14610856576102ff565b806353df5c7c1161024f5780636221ad41116102085780636a832cbf116101e25780636a832cbf146106dd5780636f8b44b014610708578063704b6c021461073157806370a082311461075a576102ff565b80636221ad411461064a5780636352211e1461067557806365296ed0146106b2576102ff565b806353df5c7c1461053c5780635511c44b1461055357806355f804b31461057c57806358f1a0ec146105a55780635bbb2177146105e25780635c975abb1461061f576102ff565b806323b872dd116102bc57806340c10f191161029657806340c10f191461049157806342842e0e146104c157806342966c68146104ea578063484b973c14610513576102ff565b806323b872dd146104285780632f971029146104515780633f4ba83a1461047a576102ff565b806301ffc9a71461030457806306fdde0314610341578063081812fc1461036c578063095ea7b3146103a957806318160ddd146103d257806322f4596f146103fd575b600080fd5b34801561031057600080fd5b5061032b600480360381019061032691906142de565b610bf2565b6040516103389190614326565b60405180910390f35b34801561034d57600080fd5b50610356610c84565b60405161036391906143d1565b60405180910390f35b34801561037857600080fd5b50610393600480360381019061038e9190614429565b610d16565b6040516103a09190614497565b60405180910390f35b3480156103b557600080fd5b506103d060048036038101906103cb91906144de565b610d95565b005b3480156103de57600080fd5b506103e7610ed9565b6040516103f4919061452d565b60405180910390f35b34801561040957600080fd5b50610412610ef0565b60405161041f919061452d565b60405180910390f35b34801561043457600080fd5b5061044f600480360381019061044a9190614548565b610ef6565b005b34801561045d57600080fd5b506104786004803603810190610473919061459b565b611218565b005b34801561048657600080fd5b5061048f611395565b005b6104ab60048036038101906104a691906144de565b61146c565b6040516104b891906145e4565b60405180910390f35b3480156104cd57600080fd5b506104e860048036038101906104e39190614548565b6116c3565b005b3480156104f657600080fd5b50610511600480360381019061050c9190614429565b6116e3565b005b34801561051f57600080fd5b5061053a600480360381019061053591906144de565b611747565b005b34801561054857600080fd5b50610551611879565b005b34801561055f57600080fd5b5061057a60048036038101906105759190614635565b6119c9565b005b34801561058857600080fd5b506105a3600480360381019061059e91906146c7565b611aa0565b005b3480156105b157600080fd5b506105cc60048036038101906105c7919061459b565b611bd3565b6040516105d991906145e4565b60405180910390f35b3480156105ee57600080fd5b506106096004803603810190610604919061476a565b611bf3565b604051610616919061491a565b60405180910390f35b34801561062b57600080fd5b50610634611cb6565b6040516106419190614326565b60405180910390f35b34801561065657600080fd5b5061065f611ccd565b60405161066c919061494b565b60405180910390f35b34801561068157600080fd5b5061069c60048036038101906106979190614429565b611cd3565b6040516106a99190614497565b60405180910390f35b3480156106be57600080fd5b506106c7611ce5565b6040516106d49190614326565b60405180910390f35b3480156106e957600080fd5b506106f2611cf8565b6040516106ff919061452d565b60405180910390f35b34801561071457600080fd5b5061072f600480360381019061072a9190614429565b611cfe565b005b34801561073d57600080fd5b506107586004803603810190610753919061459b565b611e25565b005b34801561076657600080fd5b50610781600480360381019061077c919061459b565b611f36565b60405161078e919061452d565b60405180910390f35b3480156107a357600080fd5b506107ac611fee565b005b3480156107ba57600080fd5b506107d560048036038101906107d09190614992565b612002565b005b3480156107e357600080fd5b506107ec6120ec565b005b3480156107fa57600080fd5b506108156004803603810190610810919061459b565b6121c3565b6040516108229190614a7d565b60405180910390f35b34801561083757600080fd5b50610840612306565b60405161084d9190614326565b60405180910390f35b34801561086257600080fd5b5061086b612319565b604051610878919061452d565b60405180910390f35b34801561088d57600080fd5b5061089661231f565b6040516108a39190614497565b60405180910390f35b3480156108b857600080fd5b506108c1612349565b6040516108ce91906143d1565b60405180910390f35b3480156108e357600080fd5b506108fe60048036038101906108f99190614a9f565b6123db565b60405161090b9190614a7d565b60405180910390f35b34801561092057600080fd5b5061093b6004803603810190610936919061459b565b6125e7565b005b34801561094957600080fd5b50610964600480360381019061095f9190614429565b6126f8565b005b34801561097257600080fd5b5061098d60048036038101906109889190614992565b6127cf565b005b34801561099b57600080fd5b506109b660048036038101906109b19190614af2565b6128b9565b005b3480156109c457600080fd5b506109cd612a30565b6040516109da919061452d565b60405180910390f35b3480156109ef57600080fd5b506109f8612a36565b604051610a059190614326565b60405180910390f35b348015610a1a57600080fd5b50610a356004803603810190610a309190614c62565b612a49565b005b348015610a4357600080fd5b50610a5e6004803603810190610a599190614429565b612abc565b604051610a6b9190614d3a565b60405180910390f35b348015610a8057600080fd5b50610a89612b26565b604051610a9691906143d1565b60405180910390f35b348015610aab57600080fd5b50610ac66004803603810190610ac19190614429565b612bb4565b604051610ad391906143d1565b60405180910390f35b348015610ae857600080fd5b50610af1612c55565b604051610afe91906143d1565b60405180910390f35b348015610b1357600080fd5b50610b2e6004803603810190610b299190614429565b612c75565b005b348015610b3c57600080fd5b50610b576004803603810190610b529190614d55565b612d4c565b604051610b649190614326565b60405180910390f35b348015610b7957600080fd5b50610b946004803603810190610b8f9190614429565b612de0565b005b348015610ba257600080fd5b50610bbd6004803603810190610bb8919061459b565b612eb7565b005b610bd96004803603810190610bd49190614e17565b612f3a565b005b348015610be757600080fd5b50610bf0613375565b005b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610c4d57506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610c7d5750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b606060038054610c9390614ea6565b80601f0160208091040260200160405190810160405280929190818152602001828054610cbf90614ea6565b8015610d0c5780601f10610ce157610100808354040283529160200191610d0c565b820191906000526020600020905b815481529060010190602001808311610cef57829003601f168201915b5050505050905090565b6000610d218261345f565b610d57576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6007600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610da082611cd3565b90508073ffffffffffffffffffffffffffffffffffffffff16610dc16134be565b73ffffffffffffffffffffffffffffffffffffffff1614610e2457610ded81610de86134be565b612d4c565b610e23576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826007600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b6000610ee36134c6565b6002546001540303905090565b60105481565b6000610f01826134cb565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610f68576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080610f7484613597565b91509150610f8a8187610f856134be565b6135be565b610fd657610f9f86610f9a6134be565b612d4c565b610fd5576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff160361103c576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6110498686866001613602565b801561105457600082555b600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815460010191905081905550611122856110fe888887613608565b7c020000000000000000000000000000000000000000000000000000000017613630565b600560008681526020019081526020016000208190555060007c02000000000000000000000000000000000000000000000000000000008416036111a857600060018501905060006005600083815260200190815260200160002054036111a65760015481146111a5578360056000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611210868686600161365b565b505050505050565b61122061231f565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806112a65750600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b6112e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112dc90614f23565b60405180910390fd5b60008173ffffffffffffffffffffffffffffffffffffffff164760405161130b90614f74565b60006040518083038185875af1925050503d8060008114611348576040519150601f19603f3d011682016040523d82523d6000602084013e61134d565b606091505b5050905080611391576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161138890614fd5565b60405180910390fd5b5050565b61139d61231f565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806114235750600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b611462576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161145990614f23565b60405180910390fd5b61146a613661565b565b60006002600a54036114b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114aa90615041565b60405180910390fd5b6002600a819055506114c36136c4565b6000826011546114d39190615090565b9050601460009054906101000a900460ff16611524576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161151b90615136565b60405180910390fd5b80341015611567576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161155e906151a2565b60405180910390fd5b600e54836115743361370e565b61157e91906151c2565b11156115bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115b690615242565b60405180910390fd5b601054836115cb610ed9565b6115d591906151c2565b1115611616576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161160d906152ae565b60405180910390fd5b6116208484613765565b7faf6bf7c7c58f332691f6cc9323f4d679be65116584f8660568f3c10b1754077884836040516116519291906152ce565b60405180910390a1803411156116b4573373ffffffffffffffffffffffffffffffffffffffff166108fc823461168791906152f7565b9081150290604051600060405180830381858888f193505050501580156116b2573d6000803e3d6000fd5b505b506001600a8190555092915050565b6116de83838360405180602001604052806000815250612a49565b505050565b6000600c60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141590506117438282613783565b5050565b61174f61231f565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806117d55750600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b611814576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161180b90614f23565b60405180910390fd5b60105481611820610ed9565b61182a91906151c2565b111561186b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611862906152ae565b60405180910390fd5b6118758282613765565b5050565b61188161231f565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806119075750600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b611946576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161193d90614f23565b60405180910390fd5b6001600c60006101000a81548160ff02191690831515021790555060005b61196c610ed9565b8110156119c657807fa109ba539900bf1b633f956d63c96fc89b814c7287f7aa50a9216d0b5565720761199e83612bb4565b6040516119ab91906143d1565b60405180910390a280806119be9061532b565b915050611964565b50565b6119d161231f565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480611a575750600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b611a96576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a8d90614f23565b60405180910390fd5b8060138190555050565b611aa861231f565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480611b2e5750600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b611b6d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b6490614f23565b60405180910390fd5b600c60009054906101000a900460ff1615611bbd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bb4906153bf565b60405180910390fd5b8181600b9182611bce929190615596565b505050565b60156020528060005260406000206000915054906101000a900460ff1681565b6060600083839050905060008167ffffffffffffffff811115611c1957611c18614b37565b5b604051908082528060200260200182016040528015611c5257816020015b611c3f614223565b815260200190600190039081611c375790505b50905060005b828114611caa57611c81868683818110611c7557611c74615666565b5b90506020020135612abc565b828281518110611c9457611c93615666565b5b6020026020010181905250806001019050611c58565b50809250505092915050565b6000600960149054906101000a900460ff16905090565b60135481565b6000611cde826134cb565b9050919050565b601460009054906101000a900460ff1681565b600e5481565b611d0661231f565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480611d8c5750600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b611dcb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dc290614f23565b60405180910390fd5b601260009054906101000a900460ff1615611e1b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e12906156e1565b60405180910390fd5b8060108190555050565b611e2d61231f565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480611eb35750600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b611ef2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ee990614f23565b60405180910390fd5b80600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611f9d576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b611ff66139d5565b6120006000613a53565b565b61200a61231f565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806120905750600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b6120cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120c690614f23565b60405180910390fd5b80601460006101000a81548160ff02191690831515021790555050565b6120f461231f565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16148061217a5750600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b6121b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121b090614f23565b60405180910390fd5b6121c1613b19565b565b606060008060006121d385611f36565b905060008167ffffffffffffffff8111156121f1576121f0614b37565b5b60405190808252806020026020018201604052801561221f5781602001602082028036833780820191505090505b50905061222a614223565b60006122346134c6565b90505b8386146122f85761224781613b7c565b915081604001516122ed57600073ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff161461229257816000015194505b8773ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16036122ec57808387806001019850815181106122df576122de615666565b5b6020026020010181815250505b5b806001019050612237565b508195505050505050919050565b600c60009054906101000a900460ff1681565b60115481565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606004805461235890614ea6565b80601f016020809104026020016040519081016040528092919081815260200182805461238490614ea6565b80156123d15780601f106123a6576101008083540402835291602001916123d1565b820191906000526020600020905b8154815290600101906020018083116123b457829003601f168201915b5050505050905090565b6060818310612416576040517f32c1995a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080612421613ba7565b905061242b6134c6565b85101561243d5761243a6134c6565b94505b80841115612449578093505b600061245487611f36565b905084861015612477576000868603905081811015612471578091505b5061247c565b600090505b60008167ffffffffffffffff81111561249857612497614b37565b5b6040519080825280602002602001820160405280156124c65781602001602082028036833780820191505090505b509050600082036124dd57809450505050506125e0565b60006124e888612abc565b9050600081604001516124fd57816000015190505b60008990505b8881141580156125135750848714155b156125d25761252181613b7c565b925082604001516125c757600073ffffffffffffffffffffffffffffffffffffffff16836000015173ffffffffffffffffffffffffffffffffffffffff161461256c57826000015191505b8a73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036125c657808488806001019950815181106125b9576125b8615666565b5b6020026020010181815250505b5b806001019050612503565b508583528296505050505050505b9392505050565b6125ef61231f565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806126755750600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b6126b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126ab90614f23565b60405180910390fd5b80600c60016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b61270061231f565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806127865750600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b6127c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127bc90614f23565b60405180910390fd5b80600e8190555050565b6127d761231f565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16148061285d5750600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b61289c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161289390614f23565b60405180910390fd5b80601460016101000a81548160ff02191690831515021790555050565b6128c16134be565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612925576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600860006129326134be565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166129df6134be565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612a249190614326565b60405180910390a35050565b600f5481565b601460019054906101000a900460ff1681565b612a54848484610ef6565b60008373ffffffffffffffffffffffffffffffffffffffff163b14612ab657612a7f84848484613bb1565b612ab5576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b612ac4614223565b612acc614223565b612ad46134c6565b831080612ae85750612ae4613ba7565b8310155b15612af65780915050612b21565b612aff83613b7c565b9050806040015115612b145780915050612b21565b612b1d83613d01565b9150505b919050565b60008054612b3390614ea6565b80601f0160208091040260200160405190810160405280929190818152602001828054612b5f90614ea6565b8015612bac5780601f10612b8157610100808354040283529160200191612bac565b820191906000526020600020905b815481529060010190602001808311612b8f57829003601f168201915b505050505081565b6060612bbf8261345f565b612bf5576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000612bff613d21565b90506000815103612c1f5760405180602001604052806000815250612c4d565b80612c2984613db3565b6000604051602001612c3d939291906157c0565b6040516020818303038152906040525b915050919050565b6060604051806080016040528060518152602001615cf360519139905090565b612c7d61231f565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480612d035750600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b612d42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d3990614f23565b60405180910390fd5b80600f8190555050565b6000600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b612de861231f565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480612e6e5750600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b612ead576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ea490614f23565b60405180910390fd5b8060118190555050565b612ebf6139d5565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603612f2e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f2590615863565b60405180910390fd5b612f3781613a53565b50565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614612fa8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f9f906158cf565b60405180910390fd5b6002600a5403612fed576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fe490615041565b60405180910390fd5b6002600a8190555060008360ff166011546130089190615090565b9050601460019054906101000a900460ff16613059576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130509061593b565b60405180910390fd5b600f548460ff166130693361370e565b61307391906151c2565b11156130b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130ab90615242565b60405180910390fd5b60008460ff16116130fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130f1906159a7565b60405180910390fd5b6010548460ff16613109610ed9565b61311391906151c2565b1115613154576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161314b906152ae565b60405180910390fd5b80341015613197576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161318e906151a2565b60405180910390fd5b6000336040516020016131aa9190615a0f565b604051602081830303815290604052805190602001209050613210848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505060135483613dfa565b61324f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161324690615a76565b60405180910390fd5b61325c338660ff16613765565b813411156132b7573373ffffffffffffffffffffffffffffffffffffffff166108fc833461328a91906152f7565b9081150290604051600060405180830381858888f193505050501580156132b5573d6000803e3d6000fd5b505b84601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1661330f9190615a96565b601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908360ff16021790555050506001600a81905550505050565b61337d61231f565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806134035750600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b613442576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161343990614f23565b60405180910390fd5b6001601260006101000a81548160ff021916908315150217905550565b60008161346a6134c6565b11158015613479575060015482105b80156134b7575060007c0100000000000000000000000000000000000000000000000000000000600560008581526020019081526020016000205416145b9050919050565b600033905090565b600090565b600080829050806134da6134c6565b116135605760015481101561355f5760006005600083815260200190815260200160002054905060007c010000000000000000000000000000000000000000000000000000000082160361355d575b60008103613553576005600083600190039350838152602001908152602001600020549050613529565b8092505050613592565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b60008060006007600085815260200190815260200160002090508092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e861361f868684613e11565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b613669613e1a565b6000600960146101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6136ad613e63565b6040516136ba9190614497565b60405180910390a1565b6136cc611cb6565b1561370c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161370390615b17565b60405180910390fd5b565b600067ffffffffffffffff6040600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054901c169050919050565b61377f828260405180602001604052806000815250613e6b565b5050565b600061378e836134cb565b905060008190506000806137a186613597565b91509150841561380a576137bd81846137b86134be565b6135be565b613809576137d2836137cd6134be565b612d4c565b613808576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b5b613818836000886001613602565b801561382357600082555b600160806001901b03600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055506138cb8361388885600088613608565b7c02000000000000000000000000000000000000000000000000000000007c01000000000000000000000000000000000000000000000000000000001717613630565b600560008881526020019081526020016000208190555060007c0200000000000000000000000000000000000000000000000000000000851603613951576000600187019050600060056000838152602001908152602001600020540361394f57600154811461394e578460056000838152602001908152602001600020819055505b5b505b85600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46139bb83600088600161365b565b600260008154809291906001019190505550505050505050565b6139dd613e63565b73ffffffffffffffffffffffffffffffffffffffff166139fb61231f565b73ffffffffffffffffffffffffffffffffffffffff1614613a51576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613a4890615b83565b60405180910390fd5b565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b613b216136c4565b6001600960146101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258613b65613e63565b604051613b729190614497565b60405180910390a1565b613b84614223565b613ba06005600084815260200190815260200160002054613f09565b9050919050565b6000600154905090565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613bd76134be565b8786866040518563ffffffff1660e01b8152600401613bf99493929190615bf8565b6020604051808303816000875af1925050508015613c3557506040513d601f19601f82011682018060405250810190613c329190615c59565b60015b613cae573d8060008114613c65576040519150601f19603f3d011682016040523d82523d6000602084013e613c6a565b606091505b506000815103613ca6576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b613d09614223565b613d1a613d15836134cb565b613f09565b9050919050565b6060600b8054613d3090614ea6565b80601f0160208091040260200160405190810160405280929190818152602001828054613d5c90614ea6565b8015613da95780601f10613d7e57610100808354040283529160200191613da9565b820191906000526020600020905b815481529060010190602001808311613d8c57829003601f168201915b5050505050905090565b606060806040510190508060405280825b600115613de657600183039250600a81066030018353600a8104905080613dc4575b508181036020830392508083525050919050565b600082613e078584613fbf565b1490509392505050565b60009392505050565b613e22611cb6565b613e61576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613e5890615cd2565b60405180910390fd5b565b600033905090565b613e758383614015565b60008373ffffffffffffffffffffffffffffffffffffffff163b14613f045760006001549050600083820390505b613eb66000868380600101945086613bb1565b613eec576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b818110613ea3578160015414613f0157600080fd5b50505b505050565b613f11614223565b81816000019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505060a082901c816020019067ffffffffffffffff16908167ffffffffffffffff168152505060007c01000000000000000000000000000000000000000000000000000000008316141581604001901515908115158152505060e882901c816060019062ffffff16908162ffffff1681525050919050565b60008082905060005b845181101561400a57613ff582868381518110613fe857613fe7615666565b5b60200260200101516141d1565b915080806140029061532b565b915050613fc8565b508091505092915050565b6000600154905060008203614056576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6140636000848385613602565b600160406001901b178202600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055506140da836140cb6000866000613608565b6140d4856141fc565b17613630565b6005600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b81811461417b57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600181019050614140565b50600082036141b6576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060018190555050506141cc600084838561365b565b505050565b60008183106141e9576141e4828461420c565b6141f4565b6141f3838361420c565b5b905092915050565b60006001821460e11b9050919050565b600082600052816020526040600020905092915050565b6040518060800160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff168152602001600015158152602001600062ffffff1681525090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6142bb81614286565b81146142c657600080fd5b50565b6000813590506142d8816142b2565b92915050565b6000602082840312156142f4576142f361427c565b5b6000614302848285016142c9565b91505092915050565b60008115159050919050565b6143208161430b565b82525050565b600060208201905061433b6000830184614317565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561437b578082015181840152602081019050614360565b60008484015250505050565b6000601f19601f8301169050919050565b60006143a382614341565b6143ad818561434c565b93506143bd81856020860161435d565b6143c681614387565b840191505092915050565b600060208201905081810360008301526143eb8184614398565b905092915050565b6000819050919050565b614406816143f3565b811461441157600080fd5b50565b600081359050614423816143fd565b92915050565b60006020828403121561443f5761443e61427c565b5b600061444d84828501614414565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061448182614456565b9050919050565b61449181614476565b82525050565b60006020820190506144ac6000830184614488565b92915050565b6144bb81614476565b81146144c657600080fd5b50565b6000813590506144d8816144b2565b92915050565b600080604083850312156144f5576144f461427c565b5b6000614503858286016144c9565b925050602061451485828601614414565b9150509250929050565b614527816143f3565b82525050565b6000602082019050614542600083018461451e565b92915050565b6000806000606084860312156145615761456061427c565b5b600061456f868287016144c9565b9350506020614580868287016144c9565b925050604061459186828701614414565b9150509250925092565b6000602082840312156145b1576145b061427c565b5b60006145bf848285016144c9565b91505092915050565b600060ff82169050919050565b6145de816145c8565b82525050565b60006020820190506145f960008301846145d5565b92915050565b6000819050919050565b614612816145ff565b811461461d57600080fd5b50565b60008135905061462f81614609565b92915050565b60006020828403121561464b5761464a61427c565b5b600061465984828501614620565b91505092915050565b600080fd5b600080fd5b600080fd5b60008083601f84011261468757614686614662565b5b8235905067ffffffffffffffff8111156146a4576146a3614667565b5b6020830191508360018202830111156146c0576146bf61466c565b5b9250929050565b600080602083850312156146de576146dd61427c565b5b600083013567ffffffffffffffff8111156146fc576146fb614281565b5b61470885828601614671565b92509250509250929050565b60008083601f84011261472a57614729614662565b5b8235905067ffffffffffffffff81111561474757614746614667565b5b6020830191508360208202830111156147635761476261466c565b5b9250929050565b600080602083850312156147815761478061427c565b5b600083013567ffffffffffffffff81111561479f5761479e614281565b5b6147ab85828601614714565b92509250509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6147ec81614476565b82525050565b600067ffffffffffffffff82169050919050565b61480f816147f2565b82525050565b61481e8161430b565b82525050565b600062ffffff82169050919050565b61483c81614824565b82525050565b60808201600082015161485860008501826147e3565b50602082015161486b6020850182614806565b50604082015161487e6040850182614815565b5060608201516148916060850182614833565b50505050565b60006148a38383614842565b60808301905092915050565b6000602082019050919050565b60006148c7826147b7565b6148d181856147c2565b93506148dc836147d3565b8060005b8381101561490d5781516148f48882614897565b97506148ff836148af565b9250506001810190506148e0565b5085935050505092915050565b6000602082019050818103600083015261493481846148bc565b905092915050565b614945816145ff565b82525050565b6000602082019050614960600083018461493c565b92915050565b61496f8161430b565b811461497a57600080fd5b50565b60008135905061498c81614966565b92915050565b6000602082840312156149a8576149a761427c565b5b60006149b68482850161497d565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6149f4816143f3565b82525050565b6000614a0683836149eb565b60208301905092915050565b6000602082019050919050565b6000614a2a826149bf565b614a3481856149ca565b9350614a3f836149db565b8060005b83811015614a70578151614a5788826149fa565b9750614a6283614a12565b925050600181019050614a43565b5085935050505092915050565b60006020820190508181036000830152614a978184614a1f565b905092915050565b600080600060608486031215614ab857614ab761427c565b5b6000614ac6868287016144c9565b9350506020614ad786828701614414565b9250506040614ae886828701614414565b9150509250925092565b60008060408385031215614b0957614b0861427c565b5b6000614b17858286016144c9565b9250506020614b288582860161497d565b9150509250929050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b614b6f82614387565b810181811067ffffffffffffffff82111715614b8e57614b8d614b37565b5b80604052505050565b6000614ba1614272565b9050614bad8282614b66565b919050565b600067ffffffffffffffff821115614bcd57614bcc614b37565b5b614bd682614387565b9050602081019050919050565b82818337600083830152505050565b6000614c05614c0084614bb2565b614b97565b905082815260208101848484011115614c2157614c20614b32565b5b614c2c848285614be3565b509392505050565b600082601f830112614c4957614c48614662565b5b8135614c59848260208601614bf2565b91505092915050565b60008060008060808587031215614c7c57614c7b61427c565b5b6000614c8a878288016144c9565b9450506020614c9b878288016144c9565b9350506040614cac87828801614414565b925050606085013567ffffffffffffffff811115614ccd57614ccc614281565b5b614cd987828801614c34565b91505092959194509250565b608082016000820151614cfb60008501826147e3565b506020820151614d0e6020850182614806565b506040820151614d216040850182614815565b506060820151614d346060850182614833565b50505050565b6000608082019050614d4f6000830184614ce5565b92915050565b60008060408385031215614d6c57614d6b61427c565b5b6000614d7a858286016144c9565b9250506020614d8b858286016144c9565b9150509250929050565b614d9e816145c8565b8114614da957600080fd5b50565b600081359050614dbb81614d95565b92915050565b60008083601f840112614dd757614dd6614662565b5b8235905067ffffffffffffffff811115614df457614df3614667565b5b602083019150836020820283011115614e1057614e0f61466c565b5b9250929050565b600080600060408486031215614e3057614e2f61427c565b5b6000614e3e86828701614dac565b935050602084013567ffffffffffffffff811115614e5f57614e5e614281565b5b614e6b86828701614dc1565b92509250509250925092565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680614ebe57607f821691505b602082108103614ed157614ed0614e77565b5b50919050565b7f4e6f74206f776e6572206f722061646d696e0000000000000000000000000000600082015250565b6000614f0d60128361434c565b9150614f1882614ed7565b602082019050919050565b60006020820190508181036000830152614f3c81614f00565b9050919050565b600081905092915050565b50565b6000614f5e600083614f43565b9150614f6982614f4e565b600082019050919050565b6000614f7f82614f51565b9150819050919050565b7f5472616e73666572206661696c65642e00000000000000000000000000000000600082015250565b6000614fbf60108361434c565b9150614fca82614f89565b602082019050919050565b60006020820190508181036000830152614fee81614fb2565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b600061502b601f8361434c565b915061503682614ff5565b602082019050919050565b6000602082019050818103600083015261505a8161501e565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061509b826143f3565b91506150a6836143f3565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156150df576150de615061565b5b828202905092915050565b7f5075626c6963206d696e74206973206e6f742079657420616374697665000000600082015250565b6000615120601d8361434c565b915061512b826150ea565b602082019050919050565b6000602082019050818103600083015261514f81615113565b9050919050565b7f4e6f7420656e6f75676820455448000000000000000000000000000000000000600082015250565b600061518c600e8361434c565b915061519782615156565b602082019050919050565b600060208201905081810360008301526151bb8161517f565b9050919050565b60006151cd826143f3565b91506151d8836143f3565b92508282019050808211156151f0576151ef615061565b5b92915050565b7f5175616e7469747920657863656564732077616c6c6574206c696d6974000000600082015250565b600061522c601d8361434c565b9150615237826151f6565b602082019050919050565b6000602082019050818103600083015261525b8161521f565b9050919050565b7f5175616e74697479206578636565647320737570706c79000000000000000000600082015250565b600061529860178361434c565b91506152a382615262565b602082019050919050565b600060208201905081810360008301526152c78161528b565b9050919050565b60006040820190506152e36000830185614488565b6152f060208301846145d5565b9392505050565b6000615302826143f3565b915061530d836143f3565b925082820390508181111561532557615324615061565b5b92915050565b6000615336826143f3565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361536857615367615061565b5b600182019050919050565b7f4261736520555249206973206c6f636b65640000000000000000000000000000600082015250565b60006153a960128361434c565b91506153b482615373565b602082019050919050565b600060208201905081810360008301526153d88161539c565b9050919050565b600082905092915050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b60006008830261544c7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8261540f565b615456868361540f565b95508019841693508086168417925050509392505050565b6000819050919050565b600061549361548e615489846143f3565b61546e565b6143f3565b9050919050565b6000819050919050565b6154ad83615478565b6154c16154b98261549a565b84845461541c565b825550505050565b600090565b6154d66154c9565b6154e18184846154a4565b505050565b5b81811015615505576154fa6000826154ce565b6001810190506154e7565b5050565b601f82111561554a5761551b816153ea565b615524846153ff565b81016020851015615533578190505b61554761553f856153ff565b8301826154e6565b50505b505050565b600082821c905092915050565b600061556d6000198460080261554f565b1980831691505092915050565b6000615586838361555c565b9150826002028217905092915050565b6155a083836153df565b67ffffffffffffffff8111156155b9576155b8614b37565b5b6155c38254614ea6565b6155ce828285615509565b6000601f8311600181146155fd57600084156155eb578287013590505b6155f5858261557a565b86555061565d565b601f19841661560b866153ea565b60005b828110156156335784890135825560018201915060208501945060208101905061560e565b86831015615650578489013561564c601f89168261555c565b8355505b6001600288020188555050505b50505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4d617820737570706c79206973206c6f636b6564000000000000000000000000600082015250565b60006156cb60148361434c565b91506156d682615695565b602082019050919050565b600060208201905081810360008301526156fa816156be565b9050919050565b600081905092915050565b600061571782614341565b6157218185615701565b935061573181856020860161435d565b80840191505092915050565b6000815461574a81614ea6565b6157548186615701565b9450600182166000811461576f5760018114615784576157b7565b60ff19831686528115158202860193506157b7565b61578d856153ea565b60005b838110156157af57815481890152600182019150602081019050615790565b838801955050505b50505092915050565b60006157cc828661570c565b91506157d8828561570c565b91506157e4828461573d565b9150819050949350505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061584d60268361434c565b9150615858826157f1565b604082019050919050565b6000602082019050818103600083015261587c81615840565b9050919050565b7f43616c6c657220697320616e6f7468657220636f6e7472616374000000000000600082015250565b60006158b9601a8361434c565b91506158c482615883565b602082019050919050565b600060208201905081810360008301526158e8816158ac565b9050919050565b7f57686974656c697374206d696e74206973206e6f742079657420616374697665600082015250565b600061592560208361434c565b9150615930826158ef565b602082019050919050565b6000602082019050818103600083015261595481615918565b9050919050565b7f4d757374206d696e74206d6f7265207468616e203020746f6b656e7300000000600082015250565b6000615991601c8361434c565b915061599c8261595b565b602082019050919050565b600060208201905081810360008301526159c081615984565b9050919050565b60008160601b9050919050565b60006159df826159c7565b9050919050565b60006159f1826159d4565b9050919050565b615a09615a0482614476565b6159e6565b82525050565b6000615a1b82846159f8565b60148201915081905092915050565b7f496e76616c6964204d65726b6c6550726f6f6600000000000000000000000000600082015250565b6000615a6060138361434c565b9150615a6b82615a2a565b602082019050919050565b60006020820190508181036000830152615a8f81615a53565b9050919050565b6000615aa1826145c8565b9150615aac836145c8565b9250828201905060ff811115615ac557615ac4615061565b5b92915050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b6000615b0160108361434c565b9150615b0c82615acb565b602082019050919050565b60006020820190508181036000830152615b3081615af4565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000615b6d60208361434c565b9150615b7882615b37565b602082019050919050565b60006020820190508181036000830152615b9c81615b60565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000615bca82615ba3565b615bd48185615bae565b9350615be481856020860161435d565b615bed81614387565b840191505092915050565b6000608082019050615c0d6000830187614488565b615c1a6020830186614488565b615c27604083018561451e565b8181036060830152615c398184615bbf565b905095945050505050565b600081519050615c53816142b2565b92915050565b600060208284031215615c6f57615c6e61427c565b5b6000615c7d84828501615c44565b91505092915050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b6000615cbc60148361434c565b9150615cc782615c86565b602082019050919050565b60006020820190508181036000830152615ceb81615caf565b905091905056fe68747470733a2f2f657868616c652e6d7970696e6174612e636c6f75642f697066732f516d553557664d657543396e67474134377a7a6d4254586a36504b647135366d68664347706d4475673661777058a26469706673582212203c714b0e03c4189182c45ac1ed525d6a8c83536e7f6f21c2738675083c37ebe864736f6c6343000810003300000000000000000000000000000000000000000000000000000000000000400000000000000000000000008ab5496a45c92c36ec293d2681f1d3706eaff85d000000000000000000000000000000000000000000000000000000000000005268747470733a2f2f657868616c652e6d7970696e6174612e636c6f75642f697066732f516d645634705878536f38415a4b4a467a43657254533251616377797a675042617245754c705a483743386e4c6b2f0000000000000000000000000000
Deployed Bytecode
0x6080604052600436106102ff5760003560e01c8063715018a611610190578063ae1fc2a6116100dc578063e8a3d48511610095578063ee8cdd4e1161006f578063ee8cdd4e14610b6d578063f2fde38b14610b96578063f571c04114610bbf578063fca76c2614610bdb576102ff565b8063e8a3d48514610adc578063e938106b14610b07578063e985e9c514610b30576102ff565b8063ae1fc2a6146109b8578063b57b245a146109e3578063b88d4fde14610a0e578063c23dc68f14610a37578063c668286214610a74578063c87b56dd14610a9f576102ff565b80638da5cb5b116101495780639aad69e7116101235780639aad69e7146109145780639c8f79331461093d578063a1ba54a014610966578063a22cb4651461098f576102ff565b80638da5cb5b1461088157806395d89b41146108ac57806399a2557a146108d7576102ff565b8063715018a61461079757806381a23483146107ae5780638456cb59146107d75780638462151c146107ee5780638a383ff11461082b5780638d859f3e14610856576102ff565b806353df5c7c1161024f5780636221ad41116102085780636a832cbf116101e25780636a832cbf146106dd5780636f8b44b014610708578063704b6c021461073157806370a082311461075a576102ff565b80636221ad411461064a5780636352211e1461067557806365296ed0146106b2576102ff565b806353df5c7c1461053c5780635511c44b1461055357806355f804b31461057c57806358f1a0ec146105a55780635bbb2177146105e25780635c975abb1461061f576102ff565b806323b872dd116102bc57806340c10f191161029657806340c10f191461049157806342842e0e146104c157806342966c68146104ea578063484b973c14610513576102ff565b806323b872dd146104285780632f971029146104515780633f4ba83a1461047a576102ff565b806301ffc9a71461030457806306fdde0314610341578063081812fc1461036c578063095ea7b3146103a957806318160ddd146103d257806322f4596f146103fd575b600080fd5b34801561031057600080fd5b5061032b600480360381019061032691906142de565b610bf2565b6040516103389190614326565b60405180910390f35b34801561034d57600080fd5b50610356610c84565b60405161036391906143d1565b60405180910390f35b34801561037857600080fd5b50610393600480360381019061038e9190614429565b610d16565b6040516103a09190614497565b60405180910390f35b3480156103b557600080fd5b506103d060048036038101906103cb91906144de565b610d95565b005b3480156103de57600080fd5b506103e7610ed9565b6040516103f4919061452d565b60405180910390f35b34801561040957600080fd5b50610412610ef0565b60405161041f919061452d565b60405180910390f35b34801561043457600080fd5b5061044f600480360381019061044a9190614548565b610ef6565b005b34801561045d57600080fd5b506104786004803603810190610473919061459b565b611218565b005b34801561048657600080fd5b5061048f611395565b005b6104ab60048036038101906104a691906144de565b61146c565b6040516104b891906145e4565b60405180910390f35b3480156104cd57600080fd5b506104e860048036038101906104e39190614548565b6116c3565b005b3480156104f657600080fd5b50610511600480360381019061050c9190614429565b6116e3565b005b34801561051f57600080fd5b5061053a600480360381019061053591906144de565b611747565b005b34801561054857600080fd5b50610551611879565b005b34801561055f57600080fd5b5061057a60048036038101906105759190614635565b6119c9565b005b34801561058857600080fd5b506105a3600480360381019061059e91906146c7565b611aa0565b005b3480156105b157600080fd5b506105cc60048036038101906105c7919061459b565b611bd3565b6040516105d991906145e4565b60405180910390f35b3480156105ee57600080fd5b506106096004803603810190610604919061476a565b611bf3565b604051610616919061491a565b60405180910390f35b34801561062b57600080fd5b50610634611cb6565b6040516106419190614326565b60405180910390f35b34801561065657600080fd5b5061065f611ccd565b60405161066c919061494b565b60405180910390f35b34801561068157600080fd5b5061069c60048036038101906106979190614429565b611cd3565b6040516106a99190614497565b60405180910390f35b3480156106be57600080fd5b506106c7611ce5565b6040516106d49190614326565b60405180910390f35b3480156106e957600080fd5b506106f2611cf8565b6040516106ff919061452d565b60405180910390f35b34801561071457600080fd5b5061072f600480360381019061072a9190614429565b611cfe565b005b34801561073d57600080fd5b506107586004803603810190610753919061459b565b611e25565b005b34801561076657600080fd5b50610781600480360381019061077c919061459b565b611f36565b60405161078e919061452d565b60405180910390f35b3480156107a357600080fd5b506107ac611fee565b005b3480156107ba57600080fd5b506107d560048036038101906107d09190614992565b612002565b005b3480156107e357600080fd5b506107ec6120ec565b005b3480156107fa57600080fd5b506108156004803603810190610810919061459b565b6121c3565b6040516108229190614a7d565b60405180910390f35b34801561083757600080fd5b50610840612306565b60405161084d9190614326565b60405180910390f35b34801561086257600080fd5b5061086b612319565b604051610878919061452d565b60405180910390f35b34801561088d57600080fd5b5061089661231f565b6040516108a39190614497565b60405180910390f35b3480156108b857600080fd5b506108c1612349565b6040516108ce91906143d1565b60405180910390f35b3480156108e357600080fd5b506108fe60048036038101906108f99190614a9f565b6123db565b60405161090b9190614a7d565b60405180910390f35b34801561092057600080fd5b5061093b6004803603810190610936919061459b565b6125e7565b005b34801561094957600080fd5b50610964600480360381019061095f9190614429565b6126f8565b005b34801561097257600080fd5b5061098d60048036038101906109889190614992565b6127cf565b005b34801561099b57600080fd5b506109b660048036038101906109b19190614af2565b6128b9565b005b3480156109c457600080fd5b506109cd612a30565b6040516109da919061452d565b60405180910390f35b3480156109ef57600080fd5b506109f8612a36565b604051610a059190614326565b60405180910390f35b348015610a1a57600080fd5b50610a356004803603810190610a309190614c62565b612a49565b005b348015610a4357600080fd5b50610a5e6004803603810190610a599190614429565b612abc565b604051610a6b9190614d3a565b60405180910390f35b348015610a8057600080fd5b50610a89612b26565b604051610a9691906143d1565b60405180910390f35b348015610aab57600080fd5b50610ac66004803603810190610ac19190614429565b612bb4565b604051610ad391906143d1565b60405180910390f35b348015610ae857600080fd5b50610af1612c55565b604051610afe91906143d1565b60405180910390f35b348015610b1357600080fd5b50610b2e6004803603810190610b299190614429565b612c75565b005b348015610b3c57600080fd5b50610b576004803603810190610b529190614d55565b612d4c565b604051610b649190614326565b60405180910390f35b348015610b7957600080fd5b50610b946004803603810190610b8f9190614429565b612de0565b005b348015610ba257600080fd5b50610bbd6004803603810190610bb8919061459b565b612eb7565b005b610bd96004803603810190610bd49190614e17565b612f3a565b005b348015610be757600080fd5b50610bf0613375565b005b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610c4d57506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610c7d5750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b606060038054610c9390614ea6565b80601f0160208091040260200160405190810160405280929190818152602001828054610cbf90614ea6565b8015610d0c5780601f10610ce157610100808354040283529160200191610d0c565b820191906000526020600020905b815481529060010190602001808311610cef57829003601f168201915b5050505050905090565b6000610d218261345f565b610d57576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6007600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610da082611cd3565b90508073ffffffffffffffffffffffffffffffffffffffff16610dc16134be565b73ffffffffffffffffffffffffffffffffffffffff1614610e2457610ded81610de86134be565b612d4c565b610e23576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826007600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b6000610ee36134c6565b6002546001540303905090565b60105481565b6000610f01826134cb565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610f68576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080610f7484613597565b91509150610f8a8187610f856134be565b6135be565b610fd657610f9f86610f9a6134be565b612d4c565b610fd5576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff160361103c576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6110498686866001613602565b801561105457600082555b600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815460010191905081905550611122856110fe888887613608565b7c020000000000000000000000000000000000000000000000000000000017613630565b600560008681526020019081526020016000208190555060007c02000000000000000000000000000000000000000000000000000000008416036111a857600060018501905060006005600083815260200190815260200160002054036111a65760015481146111a5578360056000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611210868686600161365b565b505050505050565b61122061231f565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806112a65750600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b6112e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112dc90614f23565b60405180910390fd5b60008173ffffffffffffffffffffffffffffffffffffffff164760405161130b90614f74565b60006040518083038185875af1925050503d8060008114611348576040519150601f19603f3d011682016040523d82523d6000602084013e61134d565b606091505b5050905080611391576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161138890614fd5565b60405180910390fd5b5050565b61139d61231f565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806114235750600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b611462576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161145990614f23565b60405180910390fd5b61146a613661565b565b60006002600a54036114b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114aa90615041565b60405180910390fd5b6002600a819055506114c36136c4565b6000826011546114d39190615090565b9050601460009054906101000a900460ff16611524576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161151b90615136565b60405180910390fd5b80341015611567576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161155e906151a2565b60405180910390fd5b600e54836115743361370e565b61157e91906151c2565b11156115bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115b690615242565b60405180910390fd5b601054836115cb610ed9565b6115d591906151c2565b1115611616576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161160d906152ae565b60405180910390fd5b6116208484613765565b7faf6bf7c7c58f332691f6cc9323f4d679be65116584f8660568f3c10b1754077884836040516116519291906152ce565b60405180910390a1803411156116b4573373ffffffffffffffffffffffffffffffffffffffff166108fc823461168791906152f7565b9081150290604051600060405180830381858888f193505050501580156116b2573d6000803e3d6000fd5b505b506001600a8190555092915050565b6116de83838360405180602001604052806000815250612a49565b505050565b6000600c60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141590506117438282613783565b5050565b61174f61231f565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806117d55750600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b611814576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161180b90614f23565b60405180910390fd5b60105481611820610ed9565b61182a91906151c2565b111561186b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611862906152ae565b60405180910390fd5b6118758282613765565b5050565b61188161231f565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806119075750600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b611946576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161193d90614f23565b60405180910390fd5b6001600c60006101000a81548160ff02191690831515021790555060005b61196c610ed9565b8110156119c657807fa109ba539900bf1b633f956d63c96fc89b814c7287f7aa50a9216d0b5565720761199e83612bb4565b6040516119ab91906143d1565b60405180910390a280806119be9061532b565b915050611964565b50565b6119d161231f565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480611a575750600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b611a96576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a8d90614f23565b60405180910390fd5b8060138190555050565b611aa861231f565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480611b2e5750600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b611b6d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b6490614f23565b60405180910390fd5b600c60009054906101000a900460ff1615611bbd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bb4906153bf565b60405180910390fd5b8181600b9182611bce929190615596565b505050565b60156020528060005260406000206000915054906101000a900460ff1681565b6060600083839050905060008167ffffffffffffffff811115611c1957611c18614b37565b5b604051908082528060200260200182016040528015611c5257816020015b611c3f614223565b815260200190600190039081611c375790505b50905060005b828114611caa57611c81868683818110611c7557611c74615666565b5b90506020020135612abc565b828281518110611c9457611c93615666565b5b6020026020010181905250806001019050611c58565b50809250505092915050565b6000600960149054906101000a900460ff16905090565b60135481565b6000611cde826134cb565b9050919050565b601460009054906101000a900460ff1681565b600e5481565b611d0661231f565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480611d8c5750600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b611dcb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dc290614f23565b60405180910390fd5b601260009054906101000a900460ff1615611e1b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e12906156e1565b60405180910390fd5b8060108190555050565b611e2d61231f565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480611eb35750600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b611ef2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ee990614f23565b60405180910390fd5b80600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611f9d576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b611ff66139d5565b6120006000613a53565b565b61200a61231f565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806120905750600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b6120cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120c690614f23565b60405180910390fd5b80601460006101000a81548160ff02191690831515021790555050565b6120f461231f565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16148061217a5750600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b6121b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121b090614f23565b60405180910390fd5b6121c1613b19565b565b606060008060006121d385611f36565b905060008167ffffffffffffffff8111156121f1576121f0614b37565b5b60405190808252806020026020018201604052801561221f5781602001602082028036833780820191505090505b50905061222a614223565b60006122346134c6565b90505b8386146122f85761224781613b7c565b915081604001516122ed57600073ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff161461229257816000015194505b8773ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16036122ec57808387806001019850815181106122df576122de615666565b5b6020026020010181815250505b5b806001019050612237565b508195505050505050919050565b600c60009054906101000a900460ff1681565b60115481565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606004805461235890614ea6565b80601f016020809104026020016040519081016040528092919081815260200182805461238490614ea6565b80156123d15780601f106123a6576101008083540402835291602001916123d1565b820191906000526020600020905b8154815290600101906020018083116123b457829003601f168201915b5050505050905090565b6060818310612416576040517f32c1995a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080612421613ba7565b905061242b6134c6565b85101561243d5761243a6134c6565b94505b80841115612449578093505b600061245487611f36565b905084861015612477576000868603905081811015612471578091505b5061247c565b600090505b60008167ffffffffffffffff81111561249857612497614b37565b5b6040519080825280602002602001820160405280156124c65781602001602082028036833780820191505090505b509050600082036124dd57809450505050506125e0565b60006124e888612abc565b9050600081604001516124fd57816000015190505b60008990505b8881141580156125135750848714155b156125d25761252181613b7c565b925082604001516125c757600073ffffffffffffffffffffffffffffffffffffffff16836000015173ffffffffffffffffffffffffffffffffffffffff161461256c57826000015191505b8a73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036125c657808488806001019950815181106125b9576125b8615666565b5b6020026020010181815250505b5b806001019050612503565b508583528296505050505050505b9392505050565b6125ef61231f565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806126755750600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b6126b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126ab90614f23565b60405180910390fd5b80600c60016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b61270061231f565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806127865750600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b6127c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127bc90614f23565b60405180910390fd5b80600e8190555050565b6127d761231f565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16148061285d5750600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b61289c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161289390614f23565b60405180910390fd5b80601460016101000a81548160ff02191690831515021790555050565b6128c16134be565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612925576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600860006129326134be565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166129df6134be565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612a249190614326565b60405180910390a35050565b600f5481565b601460019054906101000a900460ff1681565b612a54848484610ef6565b60008373ffffffffffffffffffffffffffffffffffffffff163b14612ab657612a7f84848484613bb1565b612ab5576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b612ac4614223565b612acc614223565b612ad46134c6565b831080612ae85750612ae4613ba7565b8310155b15612af65780915050612b21565b612aff83613b7c565b9050806040015115612b145780915050612b21565b612b1d83613d01565b9150505b919050565b60008054612b3390614ea6565b80601f0160208091040260200160405190810160405280929190818152602001828054612b5f90614ea6565b8015612bac5780601f10612b8157610100808354040283529160200191612bac565b820191906000526020600020905b815481529060010190602001808311612b8f57829003601f168201915b505050505081565b6060612bbf8261345f565b612bf5576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000612bff613d21565b90506000815103612c1f5760405180602001604052806000815250612c4d565b80612c2984613db3565b6000604051602001612c3d939291906157c0565b6040516020818303038152906040525b915050919050565b6060604051806080016040528060518152602001615cf360519139905090565b612c7d61231f565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480612d035750600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b612d42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d3990614f23565b60405180910390fd5b80600f8190555050565b6000600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b612de861231f565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480612e6e5750600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b612ead576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ea490614f23565b60405180910390fd5b8060118190555050565b612ebf6139d5565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603612f2e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f2590615863565b60405180910390fd5b612f3781613a53565b50565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614612fa8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f9f906158cf565b60405180910390fd5b6002600a5403612fed576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fe490615041565b60405180910390fd5b6002600a8190555060008360ff166011546130089190615090565b9050601460019054906101000a900460ff16613059576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130509061593b565b60405180910390fd5b600f548460ff166130693361370e565b61307391906151c2565b11156130b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130ab90615242565b60405180910390fd5b60008460ff16116130fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130f1906159a7565b60405180910390fd5b6010548460ff16613109610ed9565b61311391906151c2565b1115613154576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161314b906152ae565b60405180910390fd5b80341015613197576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161318e906151a2565b60405180910390fd5b6000336040516020016131aa9190615a0f565b604051602081830303815290604052805190602001209050613210848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505060135483613dfa565b61324f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161324690615a76565b60405180910390fd5b61325c338660ff16613765565b813411156132b7573373ffffffffffffffffffffffffffffffffffffffff166108fc833461328a91906152f7565b9081150290604051600060405180830381858888f193505050501580156132b5573d6000803e3d6000fd5b505b84601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1661330f9190615a96565b601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908360ff16021790555050506001600a81905550505050565b61337d61231f565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806134035750600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b613442576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161343990614f23565b60405180910390fd5b6001601260006101000a81548160ff021916908315150217905550565b60008161346a6134c6565b11158015613479575060015482105b80156134b7575060007c0100000000000000000000000000000000000000000000000000000000600560008581526020019081526020016000205416145b9050919050565b600033905090565b600090565b600080829050806134da6134c6565b116135605760015481101561355f5760006005600083815260200190815260200160002054905060007c010000000000000000000000000000000000000000000000000000000082160361355d575b60008103613553576005600083600190039350838152602001908152602001600020549050613529565b8092505050613592565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b60008060006007600085815260200190815260200160002090508092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e861361f868684613e11565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b613669613e1a565b6000600960146101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6136ad613e63565b6040516136ba9190614497565b60405180910390a1565b6136cc611cb6565b1561370c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161370390615b17565b60405180910390fd5b565b600067ffffffffffffffff6040600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054901c169050919050565b61377f828260405180602001604052806000815250613e6b565b5050565b600061378e836134cb565b905060008190506000806137a186613597565b91509150841561380a576137bd81846137b86134be565b6135be565b613809576137d2836137cd6134be565b612d4c565b613808576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b5b613818836000886001613602565b801561382357600082555b600160806001901b03600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055506138cb8361388885600088613608565b7c02000000000000000000000000000000000000000000000000000000007c01000000000000000000000000000000000000000000000000000000001717613630565b600560008881526020019081526020016000208190555060007c0200000000000000000000000000000000000000000000000000000000851603613951576000600187019050600060056000838152602001908152602001600020540361394f57600154811461394e578460056000838152602001908152602001600020819055505b5b505b85600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46139bb83600088600161365b565b600260008154809291906001019190505550505050505050565b6139dd613e63565b73ffffffffffffffffffffffffffffffffffffffff166139fb61231f565b73ffffffffffffffffffffffffffffffffffffffff1614613a51576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613a4890615b83565b60405180910390fd5b565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b613b216136c4565b6001600960146101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258613b65613e63565b604051613b729190614497565b60405180910390a1565b613b84614223565b613ba06005600084815260200190815260200160002054613f09565b9050919050565b6000600154905090565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613bd76134be565b8786866040518563ffffffff1660e01b8152600401613bf99493929190615bf8565b6020604051808303816000875af1925050508015613c3557506040513d601f19601f82011682018060405250810190613c329190615c59565b60015b613cae573d8060008114613c65576040519150601f19603f3d011682016040523d82523d6000602084013e613c6a565b606091505b506000815103613ca6576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b613d09614223565b613d1a613d15836134cb565b613f09565b9050919050565b6060600b8054613d3090614ea6565b80601f0160208091040260200160405190810160405280929190818152602001828054613d5c90614ea6565b8015613da95780601f10613d7e57610100808354040283529160200191613da9565b820191906000526020600020905b815481529060010190602001808311613d8c57829003601f168201915b5050505050905090565b606060806040510190508060405280825b600115613de657600183039250600a81066030018353600a8104905080613dc4575b508181036020830392508083525050919050565b600082613e078584613fbf565b1490509392505050565b60009392505050565b613e22611cb6565b613e61576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613e5890615cd2565b60405180910390fd5b565b600033905090565b613e758383614015565b60008373ffffffffffffffffffffffffffffffffffffffff163b14613f045760006001549050600083820390505b613eb66000868380600101945086613bb1565b613eec576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b818110613ea3578160015414613f0157600080fd5b50505b505050565b613f11614223565b81816000019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505060a082901c816020019067ffffffffffffffff16908167ffffffffffffffff168152505060007c01000000000000000000000000000000000000000000000000000000008316141581604001901515908115158152505060e882901c816060019062ffffff16908162ffffff1681525050919050565b60008082905060005b845181101561400a57613ff582868381518110613fe857613fe7615666565b5b60200260200101516141d1565b915080806140029061532b565b915050613fc8565b508091505092915050565b6000600154905060008203614056576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6140636000848385613602565b600160406001901b178202600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055506140da836140cb6000866000613608565b6140d4856141fc565b17613630565b6005600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b81811461417b57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600181019050614140565b50600082036141b6576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060018190555050506141cc600084838561365b565b505050565b60008183106141e9576141e4828461420c565b6141f4565b6141f3838361420c565b5b905092915050565b60006001821460e11b9050919050565b600082600052816020526040600020905092915050565b6040518060800160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff168152602001600015158152602001600062ffffff1681525090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6142bb81614286565b81146142c657600080fd5b50565b6000813590506142d8816142b2565b92915050565b6000602082840312156142f4576142f361427c565b5b6000614302848285016142c9565b91505092915050565b60008115159050919050565b6143208161430b565b82525050565b600060208201905061433b6000830184614317565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561437b578082015181840152602081019050614360565b60008484015250505050565b6000601f19601f8301169050919050565b60006143a382614341565b6143ad818561434c565b93506143bd81856020860161435d565b6143c681614387565b840191505092915050565b600060208201905081810360008301526143eb8184614398565b905092915050565b6000819050919050565b614406816143f3565b811461441157600080fd5b50565b600081359050614423816143fd565b92915050565b60006020828403121561443f5761443e61427c565b5b600061444d84828501614414565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061448182614456565b9050919050565b61449181614476565b82525050565b60006020820190506144ac6000830184614488565b92915050565b6144bb81614476565b81146144c657600080fd5b50565b6000813590506144d8816144b2565b92915050565b600080604083850312156144f5576144f461427c565b5b6000614503858286016144c9565b925050602061451485828601614414565b9150509250929050565b614527816143f3565b82525050565b6000602082019050614542600083018461451e565b92915050565b6000806000606084860312156145615761456061427c565b5b600061456f868287016144c9565b9350506020614580868287016144c9565b925050604061459186828701614414565b9150509250925092565b6000602082840312156145b1576145b061427c565b5b60006145bf848285016144c9565b91505092915050565b600060ff82169050919050565b6145de816145c8565b82525050565b60006020820190506145f960008301846145d5565b92915050565b6000819050919050565b614612816145ff565b811461461d57600080fd5b50565b60008135905061462f81614609565b92915050565b60006020828403121561464b5761464a61427c565b5b600061465984828501614620565b91505092915050565b600080fd5b600080fd5b600080fd5b60008083601f84011261468757614686614662565b5b8235905067ffffffffffffffff8111156146a4576146a3614667565b5b6020830191508360018202830111156146c0576146bf61466c565b5b9250929050565b600080602083850312156146de576146dd61427c565b5b600083013567ffffffffffffffff8111156146fc576146fb614281565b5b61470885828601614671565b92509250509250929050565b60008083601f84011261472a57614729614662565b5b8235905067ffffffffffffffff81111561474757614746614667565b5b6020830191508360208202830111156147635761476261466c565b5b9250929050565b600080602083850312156147815761478061427c565b5b600083013567ffffffffffffffff81111561479f5761479e614281565b5b6147ab85828601614714565b92509250509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6147ec81614476565b82525050565b600067ffffffffffffffff82169050919050565b61480f816147f2565b82525050565b61481e8161430b565b82525050565b600062ffffff82169050919050565b61483c81614824565b82525050565b60808201600082015161485860008501826147e3565b50602082015161486b6020850182614806565b50604082015161487e6040850182614815565b5060608201516148916060850182614833565b50505050565b60006148a38383614842565b60808301905092915050565b6000602082019050919050565b60006148c7826147b7565b6148d181856147c2565b93506148dc836147d3565b8060005b8381101561490d5781516148f48882614897565b97506148ff836148af565b9250506001810190506148e0565b5085935050505092915050565b6000602082019050818103600083015261493481846148bc565b905092915050565b614945816145ff565b82525050565b6000602082019050614960600083018461493c565b92915050565b61496f8161430b565b811461497a57600080fd5b50565b60008135905061498c81614966565b92915050565b6000602082840312156149a8576149a761427c565b5b60006149b68482850161497d565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6149f4816143f3565b82525050565b6000614a0683836149eb565b60208301905092915050565b6000602082019050919050565b6000614a2a826149bf565b614a3481856149ca565b9350614a3f836149db565b8060005b83811015614a70578151614a5788826149fa565b9750614a6283614a12565b925050600181019050614a43565b5085935050505092915050565b60006020820190508181036000830152614a978184614a1f565b905092915050565b600080600060608486031215614ab857614ab761427c565b5b6000614ac6868287016144c9565b9350506020614ad786828701614414565b9250506040614ae886828701614414565b9150509250925092565b60008060408385031215614b0957614b0861427c565b5b6000614b17858286016144c9565b9250506020614b288582860161497d565b9150509250929050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b614b6f82614387565b810181811067ffffffffffffffff82111715614b8e57614b8d614b37565b5b80604052505050565b6000614ba1614272565b9050614bad8282614b66565b919050565b600067ffffffffffffffff821115614bcd57614bcc614b37565b5b614bd682614387565b9050602081019050919050565b82818337600083830152505050565b6000614c05614c0084614bb2565b614b97565b905082815260208101848484011115614c2157614c20614b32565b5b614c2c848285614be3565b509392505050565b600082601f830112614c4957614c48614662565b5b8135614c59848260208601614bf2565b91505092915050565b60008060008060808587031215614c7c57614c7b61427c565b5b6000614c8a878288016144c9565b9450506020614c9b878288016144c9565b9350506040614cac87828801614414565b925050606085013567ffffffffffffffff811115614ccd57614ccc614281565b5b614cd987828801614c34565b91505092959194509250565b608082016000820151614cfb60008501826147e3565b506020820151614d0e6020850182614806565b506040820151614d216040850182614815565b506060820151614d346060850182614833565b50505050565b6000608082019050614d4f6000830184614ce5565b92915050565b60008060408385031215614d6c57614d6b61427c565b5b6000614d7a858286016144c9565b9250506020614d8b858286016144c9565b9150509250929050565b614d9e816145c8565b8114614da957600080fd5b50565b600081359050614dbb81614d95565b92915050565b60008083601f840112614dd757614dd6614662565b5b8235905067ffffffffffffffff811115614df457614df3614667565b5b602083019150836020820283011115614e1057614e0f61466c565b5b9250929050565b600080600060408486031215614e3057614e2f61427c565b5b6000614e3e86828701614dac565b935050602084013567ffffffffffffffff811115614e5f57614e5e614281565b5b614e6b86828701614dc1565b92509250509250925092565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680614ebe57607f821691505b602082108103614ed157614ed0614e77565b5b50919050565b7f4e6f74206f776e6572206f722061646d696e0000000000000000000000000000600082015250565b6000614f0d60128361434c565b9150614f1882614ed7565b602082019050919050565b60006020820190508181036000830152614f3c81614f00565b9050919050565b600081905092915050565b50565b6000614f5e600083614f43565b9150614f6982614f4e565b600082019050919050565b6000614f7f82614f51565b9150819050919050565b7f5472616e73666572206661696c65642e00000000000000000000000000000000600082015250565b6000614fbf60108361434c565b9150614fca82614f89565b602082019050919050565b60006020820190508181036000830152614fee81614fb2565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b600061502b601f8361434c565b915061503682614ff5565b602082019050919050565b6000602082019050818103600083015261505a8161501e565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061509b826143f3565b91506150a6836143f3565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156150df576150de615061565b5b828202905092915050565b7f5075626c6963206d696e74206973206e6f742079657420616374697665000000600082015250565b6000615120601d8361434c565b915061512b826150ea565b602082019050919050565b6000602082019050818103600083015261514f81615113565b9050919050565b7f4e6f7420656e6f75676820455448000000000000000000000000000000000000600082015250565b600061518c600e8361434c565b915061519782615156565b602082019050919050565b600060208201905081810360008301526151bb8161517f565b9050919050565b60006151cd826143f3565b91506151d8836143f3565b92508282019050808211156151f0576151ef615061565b5b92915050565b7f5175616e7469747920657863656564732077616c6c6574206c696d6974000000600082015250565b600061522c601d8361434c565b9150615237826151f6565b602082019050919050565b6000602082019050818103600083015261525b8161521f565b9050919050565b7f5175616e74697479206578636565647320737570706c79000000000000000000600082015250565b600061529860178361434c565b91506152a382615262565b602082019050919050565b600060208201905081810360008301526152c78161528b565b9050919050565b60006040820190506152e36000830185614488565b6152f060208301846145d5565b9392505050565b6000615302826143f3565b915061530d836143f3565b925082820390508181111561532557615324615061565b5b92915050565b6000615336826143f3565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361536857615367615061565b5b600182019050919050565b7f4261736520555249206973206c6f636b65640000000000000000000000000000600082015250565b60006153a960128361434c565b91506153b482615373565b602082019050919050565b600060208201905081810360008301526153d88161539c565b9050919050565b600082905092915050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b60006008830261544c7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8261540f565b615456868361540f565b95508019841693508086168417925050509392505050565b6000819050919050565b600061549361548e615489846143f3565b61546e565b6143f3565b9050919050565b6000819050919050565b6154ad83615478565b6154c16154b98261549a565b84845461541c565b825550505050565b600090565b6154d66154c9565b6154e18184846154a4565b505050565b5b81811015615505576154fa6000826154ce565b6001810190506154e7565b5050565b601f82111561554a5761551b816153ea565b615524846153ff565b81016020851015615533578190505b61554761553f856153ff565b8301826154e6565b50505b505050565b600082821c905092915050565b600061556d6000198460080261554f565b1980831691505092915050565b6000615586838361555c565b9150826002028217905092915050565b6155a083836153df565b67ffffffffffffffff8111156155b9576155b8614b37565b5b6155c38254614ea6565b6155ce828285615509565b6000601f8311600181146155fd57600084156155eb578287013590505b6155f5858261557a565b86555061565d565b601f19841661560b866153ea565b60005b828110156156335784890135825560018201915060208501945060208101905061560e565b86831015615650578489013561564c601f89168261555c565b8355505b6001600288020188555050505b50505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4d617820737570706c79206973206c6f636b6564000000000000000000000000600082015250565b60006156cb60148361434c565b91506156d682615695565b602082019050919050565b600060208201905081810360008301526156fa816156be565b9050919050565b600081905092915050565b600061571782614341565b6157218185615701565b935061573181856020860161435d565b80840191505092915050565b6000815461574a81614ea6565b6157548186615701565b9450600182166000811461576f5760018114615784576157b7565b60ff19831686528115158202860193506157b7565b61578d856153ea565b60005b838110156157af57815481890152600182019150602081019050615790565b838801955050505b50505092915050565b60006157cc828661570c565b91506157d8828561570c565b91506157e4828461573d565b9150819050949350505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061584d60268361434c565b9150615858826157f1565b604082019050919050565b6000602082019050818103600083015261587c81615840565b9050919050565b7f43616c6c657220697320616e6f7468657220636f6e7472616374000000000000600082015250565b60006158b9601a8361434c565b91506158c482615883565b602082019050919050565b600060208201905081810360008301526158e8816158ac565b9050919050565b7f57686974656c697374206d696e74206973206e6f742079657420616374697665600082015250565b600061592560208361434c565b9150615930826158ef565b602082019050919050565b6000602082019050818103600083015261595481615918565b9050919050565b7f4d757374206d696e74206d6f7265207468616e203020746f6b656e7300000000600082015250565b6000615991601c8361434c565b915061599c8261595b565b602082019050919050565b600060208201905081810360008301526159c081615984565b9050919050565b60008160601b9050919050565b60006159df826159c7565b9050919050565b60006159f1826159d4565b9050919050565b615a09615a0482614476565b6159e6565b82525050565b6000615a1b82846159f8565b60148201915081905092915050565b7f496e76616c6964204d65726b6c6550726f6f6600000000000000000000000000600082015250565b6000615a6060138361434c565b9150615a6b82615a2a565b602082019050919050565b60006020820190508181036000830152615a8f81615a53565b9050919050565b6000615aa1826145c8565b9150615aac836145c8565b9250828201905060ff811115615ac557615ac4615061565b5b92915050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b6000615b0160108361434c565b9150615b0c82615acb565b602082019050919050565b60006020820190508181036000830152615b3081615af4565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000615b6d60208361434c565b9150615b7882615b37565b602082019050919050565b60006020820190508181036000830152615b9c81615b60565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000615bca82615ba3565b615bd48185615bae565b9350615be481856020860161435d565b615bed81614387565b840191505092915050565b6000608082019050615c0d6000830187614488565b615c1a6020830186614488565b615c27604083018561451e565b8181036060830152615c398184615bbf565b905095945050505050565b600081519050615c53816142b2565b92915050565b600060208284031215615c6f57615c6e61427c565b5b6000615c7d84828501615c44565b91505092915050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b6000615cbc60148361434c565b9150615cc782615c86565b602082019050919050565b60006020820190508181036000830152615ceb81615caf565b905091905056fe68747470733a2f2f657868616c652e6d7970696e6174612e636c6f75642f697066732f516d553557664d657543396e67474134377a7a6d4254586a36504b647135366d68664347706d4475673661777058a26469706673582212203c714b0e03c4189182c45ac1ed525d6a8c83536e7f6f21c2738675083c37ebe864736f6c63430008100033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000400000000000000000000000008ab5496a45c92c36ec293d2681f1d3706eaff85d000000000000000000000000000000000000000000000000000000000000005268747470733a2f2f657868616c652e6d7970696e6174612e636c6f75642f697066732f516d645634705878536f38415a4b4a467a43657254533251616377797a675042617245754c705a483743386e4c6b2f0000000000000000000000000000
-----Decoded View---------------
Arg [0] : baseTokenURI (string): https://exhale.mypinata.cloud/ipfs/QmdV4pXxSo8AZKJFzCerTS2QacwyzgPBarEuLpZH7C8nLk/
Arg [1] : admin (address): 0x8AB5496a45c92c36eC293d2681F1d3706eaff85D
-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 0000000000000000000000008ab5496a45c92c36ec293d2681f1d3706eaff85d
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000052
Arg [3] : 68747470733a2f2f657868616c652e6d7970696e6174612e636c6f75642f6970
Arg [4] : 66732f516d645634705878536f38415a4b4a467a43657254533251616377797a
Arg [5] : 675042617245754c705a483743386e4c6b2f0000000000000000000000000000
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.