Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
152 ThisIsNotASecurity
Holders
74
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 ThisIsNotASecurityLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
ThisIsNotASecurity
Compiler Version
v0.8.18+commit.87f61d96
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2023-07-03 */ // File: @openzeppelin/contracts/utils/cryptography/MerkleProof.sol // OpenZeppelin Contracts (last updated v4.9.0) (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Tree proofs. * * The tree and the proofs can be generated using our * https://github.com/OpenZeppelin/merkle-tree[JavaScript library]. * You will find a quickstart guide in the readme. * * WARNING: You should avoid using leaf values that are 64 bytes long prior to * hashing, or use a hash function other than keccak256 for hashing leaves. * This is because the concatenation of a sorted pair of internal nodes in * the merkle tree could be reinterpreted as a leaf value. * OpenZeppelin's JavaScript library generates merkle trees that are safe * against this attack out of the box. */ library MerkleProof { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify(bytes32[] memory proof, bytes32 root, bytes32 leaf) internal pure returns (bool) { return processProof(proof, leaf) == root; } /** * @dev Calldata version of {verify} * * _Available since v4.7._ */ function verifyCalldata(bytes32[] calldata proof, bytes32 root, bytes32 leaf) internal pure returns (bool) { return processProofCalldata(proof, leaf) == root; } /** * @dev Returns the rebuilt hash obtained by traversing a Merkle tree up * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt * hash matches the root of the tree. When processing the proof, the pairs * of leafs & pre-images are assumed to be sorted. * * _Available since v4.4._ */ function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Calldata version of {processProof} * * _Available since v4.7._ */ function processProofCalldata(bytes32[] calldata proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Returns true if the `leaves` can be simultaneously proven to be a part of a merkle tree defined by * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}. * * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details. * * _Available since v4.7._ */ function multiProofVerify( bytes32[] memory proof, bool[] memory proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProof(proof, proofFlags, leaves) == root; } /** * @dev Calldata version of {multiProofVerify} * * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details. * * _Available since v4.7._ */ function multiProofVerifyCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProofCalldata(proof, proofFlags, leaves) == root; } /** * @dev Returns the root of a tree reconstructed from `leaves` and sibling nodes in `proof`. The reconstruction * proceeds by incrementally reconstructing all inner nodes by combining a leaf/inner node with either another * leaf/inner node or a proof sibling node, depending on whether each `proofFlags` item is true or false * respectively. * * CAUTION: Not all merkle trees admit multiproofs. To use multiproofs, it is sufficient to ensure that: 1) the tree * is complete (but not necessarily perfect), 2) the leaves to be proven are in the opposite order they are in the * tree (i.e., as seen from right to left starting at the deepest layer and continuing at the next layer). * * _Available since v4.7._ */ function processMultiProof( bytes32[] memory proof, bool[] memory proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuilds the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the merkle tree. uint256 leavesLen = leaves.length; uint256 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 from the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? (leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]) : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { unchecked { return hashes[totalHashes - 1]; } } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } /** * @dev Calldata version of {processMultiProof}. * * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details. * * _Available since v4.7._ */ function processMultiProofCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuilds the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the merkle tree. uint256 leavesLen = leaves.length; uint256 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 from the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? (leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]) : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { unchecked { return hashes[totalHashes - 1]; } } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) { return a < b ? _efficientHash(a, b) : _efficientHash(b, a); } function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) { /// @solidity memory-safe-assembly assembly { mstore(0x00, a) mstore(0x20, b) value := keccak256(0x00, 0x40) } } } // File: contracts/IERC721A.sol // ERC721A Contracts v4.1.0 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of an ERC721A compliant contract. */ 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(); struct TokenOwnership { // The address of the owner. address addr; // Keeps track of 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 through `_extraData`. uint24 extraData; } /** * @dev Returns the total amount of tokens stored by the contract. * * Burned tokens are calculated here, use `_totalMinted()` if you want to count just minted tokens. */ function totalSupply() external view returns (uint256); // ============================== // IERC165 // ============================== /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); // ============================== // 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`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev 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 standard. See `_mintERC2309` for more details. */ event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to); } // File: contracts/ERC721A_royalty.sol // ERC721A Contracts v4.1.0 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev ERC721 token receiver interface. */ interface ERC721A__IERC721Receiver { function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, * including the Metadata extension. Built to optimize for lower gas during batch mints. * * Assumes serials are sequentially minted starting at `_startTokenId()` * (defaults to 0, e.g. 0, 1, 2, 3..). * * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is IERC721A { // 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 tokenId of the next token 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 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } /** * @dev Returns the starting token ID. * To change the starting token ID, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 1; } /** * @dev Returns the next token ID to be minted. */ function _nextTokenId() internal view 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 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 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 returns (uint256) { return _burnCounter; } /** * @dev See {IERC165-supportsInterface}. */ 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: 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 == 0x2a55205a || // ERC 2981 rotyalty interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata. } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view 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 { 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; } /** * 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 ownership that has an address and is not burned // before an ownership that does not have an address and is not burned. // Hence, curr will not underflow. // // We can directly compare the packed value. // If the address is zero, packed is zero. while (packed == 0) { packed = _packedOwnerships[--curr]; } return packed; } } } revert OwnerQueryForNonexistentToken(); } /** * 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); } /** * Returns the unpacked `TokenOwnership` struct at `index`. */ function _ownershipAt(uint256 index) internal view returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnerships[index]); } /** * @dev Initializes the ownership slot minted at `index` for efficiency purposes. */ function _initializeOwnershipAt(uint256 index) internal { if (_packedOwnerships[index] == 0) { _packedOwnerships[index] = _packedOwnershipOf(index); } } /** * Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around in the collection over time. */ function _ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnershipOf(tokenId)); } /** * @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 See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view override returns (address) { return address(uint160(_packedOwnershipOf(tokenId))); } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId))) : ''; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, it can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } /** * @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)) } } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ownerOf(tokenId); if (_msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { revert ApprovalCallerNotOwnerNorApproved(); } _tokenApprovals[tokenId] = to; emit Approval(owner, to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { if (operator == _msgSenderERC721A()) revert ApproveToCaller(); _operatorApprovals[_msgSenderERC721A()][operator] = approved; emit ApprovalForAll(_msgSenderERC721A(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { transferFrom(from, to, tokenId); if (to.code.length != 0) if (!_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), */ function _exists(uint256 tokenId) internal view returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && // If within bounds, _packedOwnerships[tokenId] & BITMASK_BURNED == 0; // and not burned. } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal { _safeMint(to, 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 { _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 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 { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); 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 tokenId = startTokenId; uint256 end = startTokenId + quantity; do { emit Transfer(address(0), to, tokenId++); } while (tokenId < end); _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 { 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 Returns the storage slot and value for the approved address of `tokenId`. */ function _getApprovedAddress(uint256 tokenId) private view returns (uint256 approvedAddressSlot, address approvedAddress) { mapping(uint256 => address) storage tokenApprovalsPtr = _tokenApprovals; // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId]`. assembly { // Compute the slot. mstore(0x00, tokenId) mstore(0x20, tokenApprovalsPtr.slot) approvedAddressSlot := keccak256(0x00, 0x40) // Load the slot's value from storage. approvedAddress := sload(approvedAddressSlot) } } /** * @dev Returns whether the `approvedAddress` is equals to `from` or `msgSender`. */ function _isOwnerOrApproved( address approvedAddress, address from, address msgSender ) private pure returns (bool result) { assembly { // Mask `from` to the lower 160 bits, in case the upper bits somehow aren't clean. from := and(from, BITMASK_ADDRESS) // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean. msgSender := and(msgSender, BITMASK_ADDRESS) // `msgSender == from || msgSender == approvedAddress`. result := or(eq(msgSender, from), eq(msgSender, approvedAddress)) } } /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function 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) = _getApprovedAddress(tokenId); // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isOwnerOrApproved(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 `_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) = _getApprovedAddress(tokenId); if (approvalCheck) { // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isOwnerOrApproved(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++; } } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _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)) } } } } /** * @dev Directly sets the extra data for the ownership data `index`. */ function _setExtraDataAt(uint256 index, uint24 extraData) internal { 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 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; } /** * @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 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 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 returns (string memory ptr) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), // but we allocate 128 bytes to keep the free memory pointer 32-byte word aliged. // We will need 1 32-byte word to store the length, // and 3 32-byte words to store a maximum of 78 digits. Total: 32 + 3 * 32 = 128. ptr := add(mload(0x40), 128) // Update the free memory pointer to allocate. mstore(0x40, ptr) // Cache the end of the memory to calculate the length later. let end := ptr // We write the string from the rightmost digit to the leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // Costs a bit more than early returning for the zero case, // but cheaper in terms of deployment and overall runtime costs. for { // Initialize and perform the first pass without check. let temp := value // Move the pointer 1 byte leftwards to point to an empty character slot. ptr := sub(ptr, 1) // Write the character to the pointer. 48 is the ASCII index of '0'. mstore8(ptr, add(48, mod(temp, 10))) temp := div(temp, 10) } temp { // Keep dividing `temp` until zero. temp := div(temp, 10) } { // Body of the for loop. ptr := sub(ptr, 1) mstore8(ptr, add(48, mod(temp, 10))) } let length := sub(end, ptr) // Move the pointer 32 bytes leftwards to make room for the length. ptr := sub(ptr, 32) // Store the length. mstore(ptr, length) } } } // File: @openzeppelin/contracts/utils/math/SignedMath.sol // OpenZeppelin Contracts (last updated v4.8.0) (utils/math/SignedMath.sol) pragma solidity ^0.8.0; /** * @dev Standard signed math utilities missing in the Solidity language. */ library SignedMath { /** * @dev Returns the largest of two signed numbers. */ function max(int256 a, int256 b) internal pure returns (int256) { return a > b ? a : b; } /** * @dev Returns the smallest of two signed numbers. */ function min(int256 a, int256 b) internal pure returns (int256) { return a < b ? a : b; } /** * @dev Returns the average of two signed numbers without overflow. * The result is rounded towards zero. */ function average(int256 a, int256 b) internal pure returns (int256) { // Formula from the book "Hacker's Delight" int256 x = (a & b) + ((a ^ b) >> 1); return x + (int256(uint256(x) >> 255) & (a ^ b)); } /** * @dev Returns the absolute unsigned value of a signed value. */ function abs(int256 n) internal pure returns (uint256) { unchecked { // must be unchecked in order to support `n = type(int256).min` return uint256(n >= 0 ? n : -n); } } } // File: @openzeppelin/contracts/utils/math/Math.sol // OpenZeppelin Contracts (last updated v4.9.0) (utils/math/Math.sol) pragma solidity ^0.8.0; /** * @dev Standard math utilities missing in the Solidity language. */ library Math { enum Rounding { Down, // Toward negative infinity Up, // Toward infinity Zero // Toward zero } /** * @dev Returns the largest of two numbers. */ function max(uint256 a, uint256 b) internal pure returns (uint256) { return a > b ? a : b; } /** * @dev Returns the smallest of two numbers. */ function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } /** * @dev Returns the average of two numbers. The result is rounded towards * zero. */ function average(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b) / 2 can overflow. return (a & b) + (a ^ b) / 2; } /** * @dev Returns the ceiling of the division of two numbers. * * This differs from standard division with `/` in that it rounds up instead * of rounding down. */ function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b - 1) / b can overflow on addition, so we distribute. return a == 0 ? 0 : (a - 1) / b + 1; } /** * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0 * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) * with further edits by Uniswap Labs also under MIT license. */ function mulDiv(uint256 x, uint256 y, uint256 denominator) internal pure returns (uint256 result) { unchecked { // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256 // variables such that product = prod1 * 2^256 + prod0. uint256 prod0; // Least significant 256 bits of the product uint256 prod1; // Most significant 256 bits of the product assembly { let mm := mulmod(x, y, not(0)) prod0 := mul(x, y) prod1 := sub(sub(mm, prod0), lt(mm, prod0)) } // Handle non-overflow cases, 256 by 256 division. if (prod1 == 0) { // Solidity will revert if denominator == 0, unlike the div opcode on its own. // The surrounding unchecked block does not change this fact. // See https://docs.soliditylang.org/en/latest/control-structures.html#checked-or-unchecked-arithmetic. return prod0 / denominator; } // Make sure the result is less than 2^256. Also prevents denominator == 0. require(denominator > prod1, "Math: mulDiv overflow"); /////////////////////////////////////////////// // 512 by 256 division. /////////////////////////////////////////////// // Make division exact by subtracting the remainder from [prod1 prod0]. uint256 remainder; assembly { // Compute remainder using mulmod. remainder := mulmod(x, y, denominator) // Subtract 256 bit number from 512 bit number. prod1 := sub(prod1, gt(remainder, prod0)) prod0 := sub(prod0, remainder) } // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1. // See https://cs.stackexchange.com/q/138556/92363. // Does not overflow because the denominator cannot be zero at this stage in the function. uint256 twos = denominator & (~denominator + 1); assembly { // Divide denominator by twos. denominator := div(denominator, twos) // Divide [prod1 prod0] by twos. prod0 := div(prod0, twos) // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one. twos := add(div(sub(0, twos), twos), 1) } // Shift in bits from prod1 into prod0. prod0 |= prod1 * twos; // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for // four bits. That is, denominator * inv = 1 mod 2^4. uint256 inverse = (3 * denominator) ^ 2; // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works // in modular arithmetic, doubling the correct bits in each step. inverse *= 2 - denominator * inverse; // inverse mod 2^8 inverse *= 2 - denominator * inverse; // inverse mod 2^16 inverse *= 2 - denominator * inverse; // inverse mod 2^32 inverse *= 2 - denominator * inverse; // inverse mod 2^64 inverse *= 2 - denominator * inverse; // inverse mod 2^128 inverse *= 2 - denominator * inverse; // inverse mod 2^256 // Because the division is now exact we can divide by multiplying with the modular inverse of denominator. // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1 // is no longer required. result = prod0 * inverse; return result; } } /** * @notice Calculates x * y / denominator with full precision, following the selected rounding direction. */ function mulDiv(uint256 x, uint256 y, uint256 denominator, Rounding rounding) internal pure returns (uint256) { uint256 result = mulDiv(x, y, denominator); if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) { result += 1; } return result; } /** * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down. * * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11). */ function sqrt(uint256 a) internal pure returns (uint256) { if (a == 0) { return 0; } // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target. // // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`. // // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)` // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))` // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)` // // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit. uint256 result = 1 << (log2(a) >> 1); // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128, // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision // into the expected uint128 result. unchecked { result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; return min(result, a / result); } } /** * @notice Calculates sqrt(a), following the selected rounding direction. */ function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = sqrt(a); return result + (rounding == Rounding.Up && result * result < a ? 1 : 0); } } /** * @dev Return the log in base 2, rounded down, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 128; } if (value >> 64 > 0) { value >>= 64; result += 64; } if (value >> 32 > 0) { value >>= 32; result += 32; } if (value >> 16 > 0) { value >>= 16; result += 16; } if (value >> 8 > 0) { value >>= 8; result += 8; } if (value >> 4 > 0) { value >>= 4; result += 4; } if (value >> 2 > 0) { value >>= 2; result += 2; } if (value >> 1 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 2, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log2(value); return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0); } } /** * @dev Return the log in base 10, rounded down, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >= 10 ** 64) { value /= 10 ** 64; result += 64; } if (value >= 10 ** 32) { value /= 10 ** 32; result += 32; } if (value >= 10 ** 16) { value /= 10 ** 16; result += 16; } if (value >= 10 ** 8) { value /= 10 ** 8; result += 8; } if (value >= 10 ** 4) { value /= 10 ** 4; result += 4; } if (value >= 10 ** 2) { value /= 10 ** 2; result += 2; } if (value >= 10 ** 1) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log10(value); return result + (rounding == Rounding.Up && 10 ** result < value ? 1 : 0); } } /** * @dev Return the log in base 256, rounded down, of a positive value. * Returns 0 if given 0. * * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string. */ function log256(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 16; } if (value >> 64 > 0) { value >>= 64; result += 8; } if (value >> 32 > 0) { value >>= 32; result += 4; } if (value >> 16 > 0) { value >>= 16; result += 2; } if (value >> 8 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 256, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log256(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log256(value); return result + (rounding == Rounding.Up && 1 << (result << 3) < value ? 1 : 0); } } } // File: @openzeppelin/contracts/utils/Strings.sol // OpenZeppelin Contracts (last updated v4.9.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { unchecked { uint256 length = Math.log10(value) + 1; string memory buffer = new string(length); uint256 ptr; /// @solidity memory-safe-assembly assembly { ptr := add(buffer, add(32, length)) } while (true) { ptr--; /// @solidity memory-safe-assembly assembly { mstore8(ptr, byte(mod(value, 10), _SYMBOLS)) } value /= 10; if (value == 0) break; } return buffer; } } /** * @dev Converts a `int256` to its ASCII `string` decimal representation. */ function toString(int256 value) internal pure returns (string memory) { return string(abi.encodePacked(value < 0 ? "-" : "", toString(SignedMath.abs(value)))); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { unchecked { return toHexString(value, Math.log256(value) + 1); } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } /** * @dev Returns true if the two strings are equal. */ function equal(string memory a, string memory b) internal pure returns (bool) { return keccak256(bytes(a)) == keccak256(bytes(b)); } } // File: @openzeppelin/contracts/utils/Address.sol // OpenZeppelin Contracts (last updated v4.9.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * * Furthermore, `isContract` will also return true if the target contract within * the same transaction is already scheduled for destruction by `SELFDESTRUCT`, * which only has an effect at the end of a transaction. * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://consensys.net/diligence/blog/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.8.0/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract. * * _Available since v4.8._ */ function verifyCallResultFromTarget( address target, bool success, bytes memory returndata, string memory errorMessage ) internal view returns (bytes memory) { if (success) { if (returndata.length == 0) { // only check isContract if the call was successful and the return data is empty // otherwise we already know that it was a contract require(isContract(target), "Address: call to non-contract"); } return returndata; } else { _revert(returndata, errorMessage); } } /** * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason or using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { _revert(returndata, errorMessage); } } function _revert(bytes memory returndata, string memory errorMessage) private pure { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } // File: @openzeppelin/contracts/token/ERC20/extensions/IERC20Permit.sol // OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/extensions/IERC20Permit.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612]. * * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't * need to send a transaction, and thus is not required to hold Ether at all. */ interface IERC20Permit { /** * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens, * given ``owner``'s signed approval. * * IMPORTANT: The same issues {IERC20-approve} has related to transaction * ordering also apply here. * * Emits an {Approval} event. * * Requirements: * * - `spender` cannot be the zero address. * - `deadline` must be a timestamp in the future. * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner` * over the EIP712-formatted function arguments. * - the signature must use ``owner``'s current nonce (see {nonces}). * * For more information on the signature format, see the * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP * section]. */ function permit( address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) external; /** * @dev Returns the current nonce for `owner`. This value must be * included whenever a signature is generated for {permit}. * * Every successful call to {permit} increases ``owner``'s nonce by one. This * prevents a signature from being used multiple times. */ function nonces(address owner) external view returns (uint256); /** * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}. */ // solhint-disable-next-line func-name-mixedcase function DOMAIN_SEPARATOR() external view returns (bytes32); } // File: @openzeppelin/contracts/token/ERC20/IERC20.sol // OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address from, address to, uint256 amount) external returns (bool); } // File: @openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol // OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/utils/SafeERC20.sol) pragma solidity ^0.8.0; /** * @title SafeERC20 * @dev Wrappers around ERC20 operations that throw on failure (when the token * contract returns false). Tokens that return no value (and instead revert or * throw on failure) are also supported, non-reverting calls are assumed to be * successful. * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract, * which allows you to call the safe operations as `token.safeTransfer(...)`, etc. */ library SafeERC20 { using Address for address; /** * @dev Transfer `value` amount of `token` from the calling contract to `to`. If `token` returns no value, * non-reverting calls are assumed to be successful. */ function safeTransfer(IERC20 token, address to, uint256 value) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); } /** * @dev Transfer `value` amount of `token` from `from` to `to`, spending the approval given by `from` to the * calling contract. If `token` returns no value, non-reverting calls are assumed to be successful. */ function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value)); } /** * @dev Deprecated. This function has issues similar to the ones found in * {IERC20-approve}, and its usage is discouraged. * * Whenever possible, use {safeIncreaseAllowance} and * {safeDecreaseAllowance} instead. */ function safeApprove(IERC20 token, address spender, uint256 value) internal { // safeApprove should only be called when setting an initial allowance, // or when resetting it to zero. To increase and decrease it, use // 'safeIncreaseAllowance' and 'safeDecreaseAllowance' require( (value == 0) || (token.allowance(address(this), spender) == 0), "SafeERC20: approve from non-zero to non-zero allowance" ); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value)); } /** * @dev Increase the calling contract's allowance toward `spender` by `value`. If `token` returns no value, * non-reverting calls are assumed to be successful. */ function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal { uint256 oldAllowance = token.allowance(address(this), spender); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, oldAllowance + value)); } /** * @dev Decrease the calling contract's allowance toward `spender` by `value`. If `token` returns no value, * non-reverting calls are assumed to be successful. */ function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal { unchecked { uint256 oldAllowance = token.allowance(address(this), spender); require(oldAllowance >= value, "SafeERC20: decreased allowance below zero"); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, oldAllowance - value)); } } /** * @dev Set the calling contract's allowance toward `spender` to `value`. If `token` returns no value, * non-reverting calls are assumed to be successful. Compatible with tokens that require the approval to be set to * 0 before setting it to a non-zero value. */ function forceApprove(IERC20 token, address spender, uint256 value) internal { bytes memory approvalCall = abi.encodeWithSelector(token.approve.selector, spender, value); if (!_callOptionalReturnBool(token, approvalCall)) { _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, 0)); _callOptionalReturn(token, approvalCall); } } /** * @dev Use a ERC-2612 signature to set the `owner` approval toward `spender` on `token`. * Revert on invalid signature. */ function safePermit( IERC20Permit token, address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) internal { uint256 nonceBefore = token.nonces(owner); token.permit(owner, spender, value, deadline, v, r, s); uint256 nonceAfter = token.nonces(owner); require(nonceAfter == nonceBefore + 1, "SafeERC20: permit did not succeed"); } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). */ function _callOptionalReturn(IERC20 token, bytes memory data) private { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We use {Address-functionCall} to perform this call, which verifies that // the target address contains contract code and also asserts for success in the low-level call. bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed"); require(returndata.length == 0 || abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). * * This is a variant of {_callOptionalReturn} that silents catches all reverts and returns a bool instead. */ function _callOptionalReturnBool(IERC20 token, bytes memory data) private returns (bool) { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We cannot use {Address-functionCall} here since this should return false // and not revert is the subcall reverts. (bool success, bytes memory returndata) = address(token).call(data); return success && (returndata.length == 0 || abi.decode(returndata, (bool))) && Address.isContract(address(token)); } } // File: @openzeppelin/contracts/utils/Context.sol // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // File: @openzeppelin/contracts/finance/PaymentSplitter.sol // OpenZeppelin Contracts (last updated v4.8.0) (finance/PaymentSplitter.sol) pragma solidity ^0.8.0; /** * @title PaymentSplitter * @dev This contract allows to split Ether payments among a group of accounts. The sender does not need to be aware * that the Ether will be split in this way, since it is handled transparently by the contract. * * The split can be in equal parts or in any other arbitrary proportion. The way this is specified is by assigning each * account to a number of shares. Of all the Ether that this contract receives, each account will then be able to claim * an amount proportional to the percentage of total shares they were assigned. The distribution of shares is set at the * time of contract deployment and can't be updated thereafter. * * `PaymentSplitter` follows a _pull payment_ model. This means that payments are not automatically forwarded to the * accounts but kept in this contract, and the actual transfer is triggered as a separate step by calling the {release} * function. * * NOTE: This contract assumes that ERC20 tokens will behave similarly to native tokens (Ether). Rebasing tokens, and * tokens that apply fees during transfers, are likely to not be supported as expected. If in doubt, we encourage you * to run tests before sending real value to this contract. */ contract PaymentSplitter is Context { event PayeeAdded(address account, uint256 shares); event PaymentReleased(address to, uint256 amount); event ERC20PaymentReleased(IERC20 indexed token, address to, uint256 amount); event PaymentReceived(address from, uint256 amount); uint256 private _totalShares; uint256 private _totalReleased; mapping(address => uint256) private _shares; mapping(address => uint256) private _released; address[] private _payees; mapping(IERC20 => uint256) private _erc20TotalReleased; mapping(IERC20 => mapping(address => uint256)) private _erc20Released; /** * @dev Creates an instance of `PaymentSplitter` where each account in `payees` is assigned the number of shares at * the matching position in the `shares` array. * * All addresses in `payees` must be non-zero. Both arrays must have the same non-zero length, and there must be no * duplicates in `payees`. */ constructor(address[] memory payees, uint256[] memory shares_) payable { require(payees.length == shares_.length, "PaymentSplitter: payees and shares length mismatch"); require(payees.length > 0, "PaymentSplitter: no payees"); for (uint256 i = 0; i < payees.length; i++) { _addPayee(payees[i], shares_[i]); } } /** * @dev The Ether received will be logged with {PaymentReceived} events. Note that these events are not fully * reliable: it's possible for a contract to receive Ether without triggering this function. This only affects the * reliability of the events, and not the actual splitting of Ether. * * To learn more about this see the Solidity documentation for * https://solidity.readthedocs.io/en/latest/contracts.html#fallback-function[fallback * functions]. */ receive() external payable virtual { emit PaymentReceived(_msgSender(), msg.value); } /** * @dev Getter for the total shares held by payees. */ function totalShares() public view returns (uint256) { return _totalShares; } /** * @dev Getter for the total amount of Ether already released. */ function totalReleased() public view returns (uint256) { return _totalReleased; } /** * @dev Getter for the total amount of `token` already released. `token` should be the address of an IERC20 * contract. */ function totalReleased(IERC20 token) public view returns (uint256) { return _erc20TotalReleased[token]; } /** * @dev Getter for the amount of shares held by an account. */ function shares(address account) public view returns (uint256) { return _shares[account]; } /** * @dev Getter for the amount of Ether already released to a payee. */ function released(address account) public view returns (uint256) { return _released[account]; } /** * @dev Getter for the amount of `token` tokens already released to a payee. `token` should be the address of an * IERC20 contract. */ function released(IERC20 token, address account) public view returns (uint256) { return _erc20Released[token][account]; } /** * @dev Getter for the address of the payee number `index`. */ function payee(uint256 index) public view returns (address) { return _payees[index]; } /** * @dev Getter for the amount of payee's releasable Ether. */ function releasable(address account) public view returns (uint256) { uint256 totalReceived = address(this).balance + totalReleased(); return _pendingPayment(account, totalReceived, released(account)); } /** * @dev Getter for the amount of payee's releasable `token` tokens. `token` should be the address of an * IERC20 contract. */ function releasable(IERC20 token, address account) public view returns (uint256) { uint256 totalReceived = token.balanceOf(address(this)) + totalReleased(token); return _pendingPayment(account, totalReceived, released(token, account)); } /** * @dev Triggers a transfer to `account` of the amount of Ether they are owed, according to their percentage of the * total shares and their previous withdrawals. */ function release(address payable account) public virtual { require(_shares[account] > 0, "PaymentSplitter: account has no shares"); uint256 payment = releasable(account); require(payment != 0, "PaymentSplitter: account is not due payment"); // _totalReleased is the sum of all values in _released. // If "_totalReleased += payment" does not overflow, then "_released[account] += payment" cannot overflow. _totalReleased += payment; unchecked { _released[account] += payment; } Address.sendValue(account, payment); emit PaymentReleased(account, payment); } /** * @dev Triggers a transfer to `account` of the amount of `token` tokens they are owed, according to their * percentage of the total shares and their previous withdrawals. `token` must be the address of an IERC20 * contract. */ function release(IERC20 token, address account) public virtual { require(_shares[account] > 0, "PaymentSplitter: account has no shares"); uint256 payment = releasable(token, account); require(payment != 0, "PaymentSplitter: account is not due payment"); // _erc20TotalReleased[token] is the sum of all values in _erc20Released[token]. // If "_erc20TotalReleased[token] += payment" does not overflow, then "_erc20Released[token][account] += payment" // cannot overflow. _erc20TotalReleased[token] += payment; unchecked { _erc20Released[token][account] += payment; } SafeERC20.safeTransfer(token, account, payment); emit ERC20PaymentReleased(token, account, payment); } /** * @dev internal logic for computing the pending payment of an `account` given the token historical balances and * already released amounts. */ function _pendingPayment( address account, uint256 totalReceived, uint256 alreadyReleased ) private view returns (uint256) { return (totalReceived * _shares[account]) / _totalShares - alreadyReleased; } /** * @dev Add a new payee to the contract. * @param account The address of the payee to add. * @param shares_ The number of shares owned by the payee. */ function _addPayee(address account, uint256 shares_) private { require(account != address(0), "PaymentSplitter: account is the zero address"); require(shares_ > 0, "PaymentSplitter: shares are 0"); require(_shares[account] == 0, "PaymentSplitter: account already has shares"); _payees.push(account); _shares[account] = shares_; _totalShares = _totalShares + shares_; emit PayeeAdded(account, shares_); } } // File: @openzeppelin/contracts/access/Ownable.sol // OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol) pragma solidity ^0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby disabling any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } // File: contracts/ThisIsNotASecurity.sol pragma solidity ^0.8.18; contract ThisIsNotASecurity is Ownable, ERC721A, PaymentSplitter { using Strings for uint256; string public baseURI; bool public whitelistSaleOn = false; uint256 public MAX_SUPPLY = 258; uint256 public SalePrice = 0 ether; uint256 private teamLength; uint96 royaltyFeesInBips; address royaltyReceiver; bytes32 public merkleRoot1px; bytes32 public merkleRootWL; mapping(address => uint256) public amountNFTsperWallet1px; mapping(address => uint256) public amountNFTsperWalletWL; constructor(uint96 _royaltyFeesInBips, address[] memory _team, uint256[] memory _teamShares, string memory _baseURI) ERC721A("ThisIsNotASecurity", "ThisIsNotASecurity") PaymentSplitter(_team, _teamShares) { baseURI = _baseURI; teamLength = _team.length; royaltyFeesInBips = _royaltyFeesInBips; royaltyReceiver = msg.sender; } modifier callerIsUser() { require(tx.origin == msg.sender, "The caller is another contract"); _; } function currentTime() internal view returns(uint256) { return block.timestamp; } //MINTING function holders1pxMint(bytes32[] calldata _proof) external payable callerIsUser{ require(whitelistSaleOn == true, "Whitelist sale is not activated"); require(isWhiteListed1px(msg.sender, _proof), "Not whitelisted"); require(amountNFTsperWallet1px[msg.sender] + 3 <= 3, "Max per wallet limit reached"); require(totalSupply() + 3 <= MAX_SUPPLY,"Max supply exceeded"); require(msg.value >= SalePrice * 3, "Not enought funds"); amountNFTsperWallet1px[msg.sender] += 3; _safeMint(msg.sender, 3); } function whitelistMint(bytes32[] calldata _proof) external payable callerIsUser{ require(whitelistSaleOn == true, "Whitelist sale is not activated"); require(isWhiteListedWL(msg.sender, _proof), "Not whitelisted"); require(amountNFTsperWalletWL[msg.sender] + 1 <= 1, "Max per wallet limit reached"); require(totalSupply() + 1 <= MAX_SUPPLY,"Max supply exceeded"); require(msg.value >= SalePrice, "Not enought funds"); amountNFTsperWalletWL[msg.sender] += 1; _safeMint(msg.sender, 1); } function gift(address _to, uint _quantity) external onlyOwner { _safeMint(_to, _quantity); } //ADMIN function setSalePrice(uint _SalePrice) external onlyOwner { SalePrice = _SalePrice; } function setBaseUri(string memory _baseURI) external onlyOwner { baseURI = _baseURI; } function setSale(bool _whitelistSaleOn) external onlyOwner { whitelistSaleOn = _whitelistSaleOn; } function lowerSupply(uint256 _MAX_SUPPLY) external onlyOwner { require(_MAX_SUPPLY < MAX_SUPPLY, "Cannot increase supply!"); MAX_SUPPLY = _MAX_SUPPLY; } function setMerkleRootWL(bytes32 _merkleRootWL) external onlyOwner { merkleRootWL = _merkleRootWL; } function setMerkleRoot1px(bytes32 _merkleRoot1px) external onlyOwner { merkleRoot1px = _merkleRoot1px; } function isWhiteListedWL(address _account, bytes32[] calldata _proof) internal view returns (bool) { return _verifyWL(leaf(_account), _proof); } function isWhiteListed1px(address _account, bytes32[] calldata _proof) internal view returns (bool) { return _verify1px(leaf(_account), _proof); } function leaf(address _account) internal pure returns (bytes32) { return keccak256(abi.encodePacked(_account)); } function _verifyWL(bytes32 _leaf, bytes32[] memory _proof) internal view returns (bool) { return MerkleProof.verify(_proof, merkleRootWL, _leaf); } function _verify1px(bytes32 _leaf, bytes32[] memory _proof) internal view returns (bool) { return MerkleProof.verify(_proof, merkleRoot1px, _leaf); } function tokenURI(uint _tokenId) public view virtual override returns (string memory) { require(_exists(_tokenId), "URI query for nonexistent token"); return string(abi.encodePacked(baseURI, _tokenId.toString(), ".json")); } // ROYALTY function royaltyInfo ( uint256 _tokenId, uint256 _salePrice ) external view returns ( address receiver, uint256 royaltyAmount ){ return (royaltyReceiver, calculateRoyalty(_salePrice)); } function calculateRoyalty(uint256 _salePrice) view public returns (uint256){ return(_salePrice / 10000) * royaltyFeesInBips; } function setRoyaltyInfo (address _receiver, uint96 _royaltyFeesInBips) public onlyOwner { royaltyReceiver = _receiver; royaltyFeesInBips = _royaltyFeesInBips; } //WITHDRAW function releaseAll() external onlyOwner { for(uint i = 0 ; i < teamLength ; i++) { release(payable(payee(i))); } } receive() override external payable { revert('Only if you mint'); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"uint96","name":"_royaltyFeesInBips","type":"uint96"},{"internalType":"address[]","name":"_team","type":"address[]"},{"internalType":"uint256[]","name":"_teamShares","type":"uint256[]"},{"internalType":"string","name":"_baseURI","type":"string"}],"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":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"contract IERC20","name":"token","type":"address"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"ERC20PaymentReleased","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"},{"indexed":false,"internalType":"uint256","name":"shares","type":"uint256"}],"name":"PayeeAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PaymentReceived","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PaymentReleased","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"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SalePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"amountNFTsperWallet1px","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"amountNFTsperWalletWL","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"calculateRoyalty","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"gift","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_proof","type":"bytes32[]"}],"name":"holders1pxMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_MAX_SUPPLY","type":"uint256"}],"name":"lowerSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"merkleRoot1px","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRootWL","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"payee","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"releasable","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"address","name":"account","type":"address"}],"name":"releasable","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address payable","name":"account","type":"address"}],"name":"release","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"address","name":"account","type":"address"}],"name":"release","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"releaseAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"address","name":"account","type":"address"}],"name":"released","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"released","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"royaltyAmount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseURI","type":"string"}],"name":"setBaseUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot1px","type":"bytes32"}],"name":"setMerkleRoot1px","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRootWL","type":"bytes32"}],"name":"setMerkleRootWL","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_receiver","type":"address"},{"internalType":"uint96","name":"_royaltyFeesInBips","type":"uint96"}],"name":"setRoyaltyInfo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_whitelistSaleOn","type":"bool"}],"name":"setSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_SalePrice","type":"uint256"}],"name":"setSalePrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"shares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"}],"name":"totalReleased","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalReleased","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalShares","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":[{"internalType":"bytes32[]","name":"_proof","type":"bytes32[]"}],"name":"whitelistMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"whitelistSaleOn","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60806040526011805460ff1916905561010260125560006013553480156200002657600080fd5b50604051620034b8380380620034b88339810160408190526200004991620005ff565b8282604051806040016040528060128152602001715468697349734e6f7441536563757269747960701b815250604051806040016040528060128152602001715468697349734e6f7441536563757269747960701b815250620000bb620000b56200024e60201b60201c565b62000252565b6003620000c98382620007b5565b506004620000d88282620007b5565b506001805550508051825114620001515760405162461bcd60e51b815260206004820152603260248201527f5061796d656e7453706c69747465723a2070617965657320616e6420736861726044820152710cae640d8cadccee8d040dad2e6dac2e8c6d60731b60648201526084015b60405180910390fd5b6000825111620001a45760405162461bcd60e51b815260206004820152601a60248201527f5061796d656e7453706c69747465723a206e6f20706179656573000000000000604482015260640162000148565b60005b82518110156200021057620001fb838281518110620001ca57620001ca62000881565b6020026020010151838381518110620001e757620001e762000881565b6020026020010151620002a260201b60201c565b806200020781620008ad565b915050620001a7565b50601091506200022390508282620007b5565b50509051601455506001600160601b0316336c010000000000000000000000000217601555620008e5565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b0382166200030f5760405162461bcd60e51b815260206004820152602c60248201527f5061796d656e7453706c69747465723a206163636f756e74206973207468652060448201526b7a65726f206164647265737360a01b606482015260840162000148565b60008111620003615760405162461bcd60e51b815260206004820152601d60248201527f5061796d656e7453706c69747465723a20736861726573206172652030000000604482015260640162000148565b6001600160a01b0382166000908152600b602052604090205415620003dd5760405162461bcd60e51b815260206004820152602b60248201527f5061796d656e7453706c69747465723a206163636f756e7420616c726561647960448201526a206861732073686172657360a81b606482015260840162000148565b600d8054600181019091557fd7b6990105719101dabeb77144f2a3385c8033acd3af97e9423a695e81ad1eb50180546001600160a01b0319166001600160a01b0384169081179091556000908152600b6020526040902081905560095462000447908290620008c9565b600955604080516001600160a01b0384168152602081018390527f40c340f65e17194d14ddddb073d3c9f888e3cb52b5aae0c6c7706b4fbc905fac910160405180910390a15050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b0381118282101715620004d157620004d162000490565b604052919050565b60006001600160401b03821115620004f557620004f562000490565b5060051b60200190565b600082601f8301126200051157600080fd5b815160206200052a6200052483620004d9565b620004a6565b82815260059290921b840181019181810190868411156200054a57600080fd5b8286015b848110156200056757805183529183019183016200054e565b509695505050505050565b600082601f8301126200058457600080fd5b81516001600160401b03811115620005a057620005a062000490565b6020620005b6601f8301601f19168201620004a6565b8281528582848701011115620005cb57600080fd5b60005b83811015620005eb578581018301518282018401528201620005ce565b506000928101909101919091529392505050565b600080600080608085870312156200061657600080fd5b84516001600160601b03811681146200062e57600080fd5b602086810151919550906001600160401b03808211156200064e57600080fd5b818801915088601f8301126200066357600080fd5b8151620006746200052482620004d9565b81815260059190911b8301840190848101908b8311156200069457600080fd5b938501935b82851015620006cb5784516001600160a01b0381168114620006bb5760008081fd5b8252938501939085019062000699565b60408b01519098509450505080831115620006e557600080fd5b620006f389848a01620004ff565b945060608801519250808311156200070a57600080fd5b50506200071a8782880162000572565b91505092959194509250565b600181811c908216806200073b57607f821691505b6020821081036200075c57634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620007b057600081815260208120601f850160051c810160208610156200078b5750805b601f850160051c820191505b81811015620007ac5782815560010162000797565b5050505b505050565b81516001600160401b03811115620007d157620007d162000490565b620007e981620007e2845462000726565b8462000762565b602080601f831160018114620008215760008415620008085750858301515b600019600386901b1c1916600185901b178555620007ac565b600085815260208120601f198616915b82811015620008525788860151825594840194600190910190840162000831565b5085821015620008715787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600060018201620008c257620008c262000897565b5060010190565b80820180821115620008df57620008df62000897565b92915050565b612bc380620008f56000396000f3fe6080604052600436106102b25760003560e01c80638b83209b11610175578063c45ac050116100dc578063d72cc78c11610095578063e33b7de31161006f578063e33b7de3146108eb578063e985e9c514610900578063f15e309e14610949578063f2fde38b1461097657600080fd5b8063d72cc78c1461088c578063d79779b21461089f578063db72a759146108d557600080fd5b8063c45ac050146107c0578063c7153816146107e0578063c87b56dd14610800578063cbce4c9714610820578063ce7c2ac214610840578063d6492d811461087657600080fd5b8063a22cb4651161012e578063a22cb46514610700578063a2e6961314610720578063a3f8eace14610740578063ac0cbfb814610760578063ad3e31b714610780578063b88d4fde146107a057600080fd5b80638b83209b1461062a5780638da5cb5b1461064a578063952aeab81461066857806395d89b41146106955780639852595c146106aa578063a0bcfc7f146106e057600080fd5b806332cb6b0c116102195780635be7fde8116101d25780635be7fde8146105915780636352211e146105a65780636c0360eb146105c657806370a08231146105db578063715018a6146105fb57806374ed870d1461061057600080fd5b806332cb6b0c146104cd578063372f657c146104e35780633a98ef39146104f6578063406072a91461050b57806342842e0e1461055157806348b750441461057157600080fd5b806318160ddd1161026b57806318160ddd146103f1578063191655871461040e5780631919fed71461042e5780631d2e5a3a1461044e57806323b872dd1461046e5780632a55205a1461048e57600080fd5b806301ffc9a7146102fc57806302fa7c471461033157806306fdde0314610353578063081812fc14610375578063095ea7b3146103ad5780631292af48146103cd57600080fd5b366102f75760405162461bcd60e51b815260206004820152601060248201526f13db9b1e481a59881e5bdd481b5a5b9d60821b60448201526064015b60405180910390fd5b600080fd5b34801561030857600080fd5b5061031c6103173660046123e5565b610996565b60405190151581526020015b60405180910390f35b34801561033d57600080fd5b5061035161034c366004612417565b610a03565b005b34801561035f57600080fd5b50610368610a3a565b60405161032891906124ac565b34801561038157600080fd5b506103956103903660046124bf565b610acc565b6040516001600160a01b039091168152602001610328565b3480156103b957600080fd5b506103516103c83660046124d8565b610b10565b3480156103d957600080fd5b506103e360165481565b604051908152602001610328565b3480156103fd57600080fd5b5060025460015403600019016103e3565b34801561041a57600080fd5b50610351610429366004612504565b610bb0565b34801561043a57600080fd5b506103516104493660046124bf565b610c97565b34801561045a57600080fd5b5061035161046936600461252f565b610ca4565b34801561047a57600080fd5b5061035161048936600461254c565b610cbf565b34801561049a57600080fd5b506104ae6104a936600461258d565b610e58565b604080516001600160a01b039093168352602083019190915201610328565b3480156104d957600080fd5b506103e360125481565b6103516104f13660046125af565b610e84565b34801561050257600080fd5b506009546103e3565b34801561051757600080fd5b506103e3610526366004612624565b6001600160a01b039182166000908152600f6020908152604080832093909416825291909152205490565b34801561055d57600080fd5b5061035161056c36600461254c565b6110b6565b34801561057d57600080fd5b5061035161058c366004612624565b6110d6565b34801561059d57600080fd5b506103516111e7565b3480156105b257600080fd5b506103956105c13660046124bf565b61121d565b3480156105d257600080fd5b50610368611228565b3480156105e757600080fd5b506103e36105f6366004612504565b6112b6565b34801561060757600080fd5b50610351611305565b34801561061c57600080fd5b5060115461031c9060ff1681565b34801561063657600080fd5b506103956106453660046124bf565b611319565b34801561065657600080fd5b506000546001600160a01b0316610395565b34801561067457600080fd5b506103e3610683366004612504565b60196020526000908152604090205481565b3480156106a157600080fd5b50610368611349565b3480156106b657600080fd5b506103e36106c5366004612504565b6001600160a01b03166000908152600c602052604090205490565b3480156106ec57600080fd5b506103516106fb3660046126de565b611358565b34801561070c57600080fd5b5061035161071b366004612727565b61136c565b34801561072c57600080fd5b506103e361073b3660046124bf565b611401565b34801561074c57600080fd5b506103e361075b366004612504565b611426565b34801561076c57600080fd5b5061035161077b3660046124bf565b61146e565b34801561078c57600080fd5b5061035161079b3660046124bf565b61147b565b3480156107ac57600080fd5b506103516107bb366004612755565b611488565b3480156107cc57600080fd5b506103e36107db366004612624565b6114d2565b3480156107ec57600080fd5b506103516107fb3660046124bf565b61159d565b34801561080c57600080fd5b5061036861081b3660046124bf565b6115fb565b34801561082c57600080fd5b5061035161083b3660046124d8565b611684565b34801561084c57600080fd5b506103e361085b366004612504565b6001600160a01b03166000908152600b602052604090205490565b34801561088257600080fd5b506103e360175481565b61035161089a3660046125af565b611696565b3480156108ab57600080fd5b506103e36108ba366004612504565b6001600160a01b03166000908152600e602052604090205490565b3480156108e157600080fd5b506103e360135481565b3480156108f757600080fd5b50600a546103e3565b34801561090c57600080fd5b5061031c61091b366004612624565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205460ff1690565b34801561095557600080fd5b506103e3610964366004612504565b60186020526000908152604090205481565b34801561098257600080fd5b50610351610991366004612504565b6118cf565b60006301ffc9a760e01b6001600160e01b0319831614806109c757506380ac58cd60e01b6001600160e01b03198316145b806109e2575063152a902d60e11b6001600160e01b03198316145b806109fd5750635b5e139f60e01b6001600160e01b03198316145b92915050565b610a0b611945565b6001600160601b03166001600160a01b03909116600160601b026bffffffffffffffffffffffff191617601555565b606060038054610a49906127d5565b80601f0160208091040260200160405190810160405280929190818152602001828054610a75906127d5565b8015610ac25780601f10610a9757610100808354040283529160200191610ac2565b820191906000526020600020905b815481529060010190602001808311610aa557829003601f168201915b5050505050905090565b6000610ad78261199f565b610af4576040516333d1c03960e21b815260040160405180910390fd5b506000908152600760205260409020546001600160a01b031690565b6000610b1b8261121d565b9050336001600160a01b03821614610b5457610b37813361091b565b610b54576040516367d9dca160e11b815260040160405180910390fd5b60008281526007602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6001600160a01b0381166000908152600b6020526040902054610be55760405162461bcd60e51b81526004016102ee9061280f565b6000610bf082611426565b905080600003610c125760405162461bcd60e51b81526004016102ee90612855565b80600a6000828254610c2491906128b6565b90915550506001600160a01b0382166000908152600c60205260409020805482019055610c5182826119d4565b604080516001600160a01b0384168152602081018390527fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b056910160405180910390a15050565b610c9f611945565b601355565b610cac611945565b6011805460ff1916911515919091179055565b6000610cca82611aed565b9050836001600160a01b0316816001600160a01b031614610cfd5760405162a1148160e81b815260040160405180910390fd5b60008281526007602052604090208054338082146001600160a01b03881690911417610d4a57610d2d863361091b565b610d4a57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516610d7157604051633a954ecd60e21b815260040160405180910390fd5b8015610d7c57600082555b6001600160a01b038681166000908152600660205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260056020526040812091909155600160e11b84169003610e0e57600184016000818152600560205260408120549003610e0c576001548114610e0c5760008181526005602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b6015546000908190600160601b90046001600160a01b0316610e7984611401565b915091509250929050565b323314610ed35760405162461bcd60e51b815260206004820152601e60248201527f5468652063616c6c657220697320616e6f7468657220636f6e7472616374000060448201526064016102ee565b60115460ff161515600114610f2a5760405162461bcd60e51b815260206004820152601f60248201527f57686974656c6973742073616c65206973206e6f74206163746976617465640060448201526064016102ee565b610f35338383611b5c565b610f735760405162461bcd60e51b815260206004820152600f60248201526e139bdd081dda1a5d195b1a5cdd1959608a1b60448201526064016102ee565b33600090815260196020526040902054600190610f9090826128b6565b1115610fde5760405162461bcd60e51b815260206004820152601c60248201527f4d6178207065722077616c6c6574206c696d697420726561636865640000000060448201526064016102ee565b6012546002546001540360001901610ff79060016128b6565b111561103b5760405162461bcd60e51b815260206004820152601360248201527213585e081cdd5c1c1b1e48195e18d959591959606a1b60448201526064016102ee565b6013543410156110815760405162461bcd60e51b81526020600482015260116024820152704e6f7420656e6f756768742066756e647360781b60448201526064016102ee565b3360009081526019602052604081208054600192906110a19084906128b6565b909155506110b29050336001611ba3565b5050565b6110d183838360405180602001604052806000815250611488565b505050565b6001600160a01b0381166000908152600b602052604090205461110b5760405162461bcd60e51b81526004016102ee9061280f565b600061111783836114d2565b9050806000036111395760405162461bcd60e51b81526004016102ee90612855565b6001600160a01b0383166000908152600e6020526040812080548392906111619084906128b6565b90915550506001600160a01b038084166000908152600f6020908152604080832093861683529290522080548201905561119c838383611bbd565b604080516001600160a01b038481168252602082018490528516917f3be5b7a71e84ed12875d241991c70855ac5817d847039e17a9d895c1ceb0f18a910160405180910390a2505050565b6111ef611945565b60005b60145481101561121a5761120861042982611319565b80611212816128c9565b9150506111f2565b50565b60006109fd82611aed565b60108054611235906127d5565b80601f0160208091040260200160405190810160405280929190818152602001828054611261906127d5565b80156112ae5780601f10611283576101008083540402835291602001916112ae565b820191906000526020600020905b81548152906001019060200180831161129157829003601f168201915b505050505081565b60006001600160a01b0382166112df576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526006602052604090205467ffffffffffffffff1690565b61130d611945565b6113176000611c0f565b565b6000600d828154811061132e5761132e6128e2565b6000918252602090912001546001600160a01b031692915050565b606060048054610a49906127d5565b611360611945565b60106110b2828261293e565b336001600160a01b038316036113955760405163b06307db60e01b815260040160405180910390fd5b3360008181526008602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6015546000906001600160601b031661141c612710846129fe565b6109fd9190612a20565b600080611432600a5490565b61143c90476128b6565b90506114678382611462866001600160a01b03166000908152600c602052604090205490565b611c5f565b9392505050565b611476611945565b601655565b611483611945565b601755565b611493848484610cbf565b6001600160a01b0383163b156114cc576114af84848484611c9d565b6114cc576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6001600160a01b0382166000908152600e602052604081205481906040516370a0823160e01b81523060048201526001600160a01b038616906370a0823190602401602060405180830381865afa158015611531573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115559190612a37565b61155f91906128b6565b6001600160a01b038086166000908152600f60209081526040808320938816835292905220549091506115959084908390611c5f565b949350505050565b6115a5611945565b60125481106115f65760405162461bcd60e51b815260206004820152601760248201527f43616e6e6f7420696e63726561736520737570706c792100000000000000000060448201526064016102ee565b601255565b60606116068261199f565b6116525760405162461bcd60e51b815260206004820152601f60248201527f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e0060448201526064016102ee565b601061165d83611d88565b60405160200161166e929190612a50565b6040516020818303038152906040529050919050565b61168c611945565b6110b28282611ba3565b3233146116e55760405162461bcd60e51b815260206004820152601e60248201527f5468652063616c6c657220697320616e6f7468657220636f6e7472616374000060448201526064016102ee565b60115460ff16151560011461173c5760405162461bcd60e51b815260206004820152601f60248201527f57686974656c6973742073616c65206973206e6f74206163746976617465640060448201526064016102ee565b611747338383611e1b565b6117855760405162461bcd60e51b815260206004820152600f60248201526e139bdd081dda1a5d195b1a5cdd1959608a1b60448201526064016102ee565b336000908152601860205260409020546003906117a290826128b6565b11156117f05760405162461bcd60e51b815260206004820152601c60248201527f4d6178207065722077616c6c6574206c696d697420726561636865640000000060448201526064016102ee565b60125460025460015403600019016118099060036128b6565b111561184d5760405162461bcd60e51b815260206004820152601360248201527213585e081cdd5c1c1b1e48195e18d959591959606a1b60448201526064016102ee565b60135461185b906003612a20565b34101561189e5760405162461bcd60e51b81526020600482015260116024820152704e6f7420656e6f756768742066756e647360781b60448201526064016102ee565b3360009081526018602052604081208054600392906118be9084906128b6565b909155506110b29050336003611ba3565b6118d7611945565b6001600160a01b03811661193c5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016102ee565b61121a81611c0f565b6000546001600160a01b031633146113175760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016102ee565b6000816001111580156119b3575060015482105b80156109fd575050600090815260056020526040902054600160e01b161590565b80471015611a245760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e636500000060448201526064016102ee565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114611a71576040519150601f19603f3d011682016040523d82523d6000602084013e611a76565b606091505b50509050806110d15760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d6179206861766520726576657274656400000000000060648201526084016102ee565b60008180600111611b4357600154811015611b435760008181526005602052604081205490600160e01b82169003611b41575b80600003611467575060001901600081815260056020526040902054611b20565b505b604051636f96cda160e11b815260040160405180910390fd5b6000611595611b6a85611e62565b848480806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250611ea192505050565b6110b2828260405180602001604052806000815250611eb0565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b1790526110d1908490611f1d565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6009546001600160a01b0384166000908152600b602052604081205490918391611c899086612a20565b611c9391906129fe565b6115959190612ae7565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611cd2903390899088908890600401612afa565b6020604051808303816000875af1925050508015611d0d575060408051601f3d908101601f19168201909252611d0a91810190612b37565b60015b611d6b573d808015611d3b576040519150601f19603f3d011682016040523d82523d6000602084013e611d40565b606091505b508051600003611d63576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b60606000611d9583611ff2565b600101905060008167ffffffffffffffff811115611db557611db5612652565b6040519080825280601f01601f191660200182016040528015611ddf576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a8504945084611de957509392505050565b6000611595611e2985611e62565b8484808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152506120ca92505050565b6040516bffffffffffffffffffffffff19606083901b166020820152600090603401604051602081830303815290604052805190602001209050919050565b600061146782601754856120d5565b611eba83836120eb565b6001600160a01b0383163b156110d1576001548281035b611ee46000868380600101945086611c9d565b611f01576040516368d2bf6b60e11b815260040160405180910390fd5b818110611ed1578160015414611f1657600080fd5b5050505050565b6000611f72826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166121cb9092919063ffffffff16565b9050805160001480611f93575080806020019051810190611f939190612b54565b6110d15760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b60648201526084016102ee565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106120315772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef8100000000831061205d576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061207b57662386f26fc10000830492506010015b6305f5e1008310612093576305f5e100830492506008015b61271083106120a757612710830492506004015b606483106120b9576064830492506002015b600a83106109fd5760010192915050565b600061146782601654855b6000826120e285846121da565b14949350505050565b6001546001600160a01b03831661211457604051622e076360e81b815260040160405180910390fd5b816000036121355760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038316600081815260066020526040902080546801000000000000000185020190554260a01b6001841460e11b1717600082815260056020526040902055808281015b6040516001830192906001600160a01b038716906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a480821061217f5760015550505050565b60606115958484600085612227565b600081815b845181101561221f5761220b828683815181106121fe576121fe6128e2565b6020026020010151612302565b915080612217816128c9565b9150506121df565b509392505050565b6060824710156122885760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b60648201526084016102ee565b600080866001600160a01b031685876040516122a49190612b71565b60006040518083038185875af1925050503d80600081146122e1576040519150601f19603f3d011682016040523d82523d6000602084013e6122e6565b606091505b50915091506122f787838387612331565b979650505050505050565b600081831061231e576000828152602084905260409020611467565b6000838152602083905260409020611467565b606083156123a0578251600003612399576001600160a01b0385163b6123995760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016102ee565b5081611595565b61159583838151156123b55781518083602001fd5b8060405162461bcd60e51b81526004016102ee91906124ac565b6001600160e01b03198116811461121a57600080fd5b6000602082840312156123f757600080fd5b8135611467816123cf565b6001600160a01b038116811461121a57600080fd5b6000806040838503121561242a57600080fd5b823561243581612402565b915060208301356001600160601b038116811461245157600080fd5b809150509250929050565b60005b8381101561247757818101518382015260200161245f565b50506000910152565b6000815180845261249881602086016020860161245c565b601f01601f19169290920160200192915050565b6020815260006114676020830184612480565b6000602082840312156124d157600080fd5b5035919050565b600080604083850312156124eb57600080fd5b82356124f681612402565b946020939093013593505050565b60006020828403121561251657600080fd5b813561146781612402565b801515811461121a57600080fd5b60006020828403121561254157600080fd5b813561146781612521565b60008060006060848603121561256157600080fd5b833561256c81612402565b9250602084013561257c81612402565b929592945050506040919091013590565b600080604083850312156125a057600080fd5b50508035926020909101359150565b600080602083850312156125c257600080fd5b823567ffffffffffffffff808211156125da57600080fd5b818501915085601f8301126125ee57600080fd5b8135818111156125fd57600080fd5b8660208260051b850101111561261257600080fd5b60209290920196919550909350505050565b6000806040838503121561263757600080fd5b823561264281612402565b9150602083013561245181612402565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561268357612683612652565b604051601f8501601f19908116603f011681019082821181831017156126ab576126ab612652565b816040528093508581528686860111156126c457600080fd5b858560208301376000602087830101525050509392505050565b6000602082840312156126f057600080fd5b813567ffffffffffffffff81111561270757600080fd5b8201601f8101841361271857600080fd5b61159584823560208401612668565b6000806040838503121561273a57600080fd5b823561274581612402565b9150602083013561245181612521565b6000806000806080858703121561276b57600080fd5b843561277681612402565b9350602085013561278681612402565b925060408501359150606085013567ffffffffffffffff8111156127a957600080fd5b8501601f810187136127ba57600080fd5b6127c987823560208401612668565b91505092959194509250565b600181811c908216806127e957607f821691505b60208210810361280957634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526026908201527f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060408201526573686172657360d01b606082015260800190565b6020808252602b908201527f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060408201526a191d59481c185e5b595b9d60aa1b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b808201808211156109fd576109fd6128a0565b6000600182016128db576128db6128a0565b5060010190565b634e487b7160e01b600052603260045260246000fd5b601f8211156110d157600081815260208120601f850160051c8101602086101561291f5750805b601f850160051c820191505b81811015610e505782815560010161292b565b815167ffffffffffffffff81111561295857612958612652565b61296c8161296684546127d5565b846128f8565b602080601f8311600181146129a157600084156129895750858301515b600019600386901b1c1916600185901b178555610e50565b600085815260208120601f198616915b828110156129d0578886015182559484019460019091019084016129b1565b50858210156129ee5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600082612a1b57634e487b7160e01b600052601260045260246000fd5b500490565b80820281158282048414176109fd576109fd6128a0565b600060208284031215612a4957600080fd5b5051919050565b6000808454612a5e816127d5565b60018281168015612a765760018114612a8b57612aba565b60ff1984168752821515830287019450612aba565b8860005260208060002060005b85811015612ab15781548a820152908401908201612a98565b50505082870194505b505050508351612ace81836020880161245c565b64173539b7b760d91b9101908152600501949350505050565b818103818111156109fd576109fd6128a0565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612b2d90830184612480565b9695505050505050565b600060208284031215612b4957600080fd5b8151611467816123cf565b600060208284031215612b6657600080fd5b815161146781612521565b60008251612b8381846020870161245c565b919091019291505056fea2646970667358221220974f5c8e03253af1dd8c39ebe166205c9325bfc4e23802529a837828ef35081964736f6c634300081200330000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000010000000000000000000000006af6d3270a5923bceb94bb9a87b93efb1abf3177000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000043697066733a2f2f62616679626569666436796e667633667962326b366974796e686f7476336c7a6f33797a6a79616a776e376b36356d7565747862756b6b776c66612f0000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106102b25760003560e01c80638b83209b11610175578063c45ac050116100dc578063d72cc78c11610095578063e33b7de31161006f578063e33b7de3146108eb578063e985e9c514610900578063f15e309e14610949578063f2fde38b1461097657600080fd5b8063d72cc78c1461088c578063d79779b21461089f578063db72a759146108d557600080fd5b8063c45ac050146107c0578063c7153816146107e0578063c87b56dd14610800578063cbce4c9714610820578063ce7c2ac214610840578063d6492d811461087657600080fd5b8063a22cb4651161012e578063a22cb46514610700578063a2e6961314610720578063a3f8eace14610740578063ac0cbfb814610760578063ad3e31b714610780578063b88d4fde146107a057600080fd5b80638b83209b1461062a5780638da5cb5b1461064a578063952aeab81461066857806395d89b41146106955780639852595c146106aa578063a0bcfc7f146106e057600080fd5b806332cb6b0c116102195780635be7fde8116101d25780635be7fde8146105915780636352211e146105a65780636c0360eb146105c657806370a08231146105db578063715018a6146105fb57806374ed870d1461061057600080fd5b806332cb6b0c146104cd578063372f657c146104e35780633a98ef39146104f6578063406072a91461050b57806342842e0e1461055157806348b750441461057157600080fd5b806318160ddd1161026b57806318160ddd146103f1578063191655871461040e5780631919fed71461042e5780631d2e5a3a1461044e57806323b872dd1461046e5780632a55205a1461048e57600080fd5b806301ffc9a7146102fc57806302fa7c471461033157806306fdde0314610353578063081812fc14610375578063095ea7b3146103ad5780631292af48146103cd57600080fd5b366102f75760405162461bcd60e51b815260206004820152601060248201526f13db9b1e481a59881e5bdd481b5a5b9d60821b60448201526064015b60405180910390fd5b600080fd5b34801561030857600080fd5b5061031c6103173660046123e5565b610996565b60405190151581526020015b60405180910390f35b34801561033d57600080fd5b5061035161034c366004612417565b610a03565b005b34801561035f57600080fd5b50610368610a3a565b60405161032891906124ac565b34801561038157600080fd5b506103956103903660046124bf565b610acc565b6040516001600160a01b039091168152602001610328565b3480156103b957600080fd5b506103516103c83660046124d8565b610b10565b3480156103d957600080fd5b506103e360165481565b604051908152602001610328565b3480156103fd57600080fd5b5060025460015403600019016103e3565b34801561041a57600080fd5b50610351610429366004612504565b610bb0565b34801561043a57600080fd5b506103516104493660046124bf565b610c97565b34801561045a57600080fd5b5061035161046936600461252f565b610ca4565b34801561047a57600080fd5b5061035161048936600461254c565b610cbf565b34801561049a57600080fd5b506104ae6104a936600461258d565b610e58565b604080516001600160a01b039093168352602083019190915201610328565b3480156104d957600080fd5b506103e360125481565b6103516104f13660046125af565b610e84565b34801561050257600080fd5b506009546103e3565b34801561051757600080fd5b506103e3610526366004612624565b6001600160a01b039182166000908152600f6020908152604080832093909416825291909152205490565b34801561055d57600080fd5b5061035161056c36600461254c565b6110b6565b34801561057d57600080fd5b5061035161058c366004612624565b6110d6565b34801561059d57600080fd5b506103516111e7565b3480156105b257600080fd5b506103956105c13660046124bf565b61121d565b3480156105d257600080fd5b50610368611228565b3480156105e757600080fd5b506103e36105f6366004612504565b6112b6565b34801561060757600080fd5b50610351611305565b34801561061c57600080fd5b5060115461031c9060ff1681565b34801561063657600080fd5b506103956106453660046124bf565b611319565b34801561065657600080fd5b506000546001600160a01b0316610395565b34801561067457600080fd5b506103e3610683366004612504565b60196020526000908152604090205481565b3480156106a157600080fd5b50610368611349565b3480156106b657600080fd5b506103e36106c5366004612504565b6001600160a01b03166000908152600c602052604090205490565b3480156106ec57600080fd5b506103516106fb3660046126de565b611358565b34801561070c57600080fd5b5061035161071b366004612727565b61136c565b34801561072c57600080fd5b506103e361073b3660046124bf565b611401565b34801561074c57600080fd5b506103e361075b366004612504565b611426565b34801561076c57600080fd5b5061035161077b3660046124bf565b61146e565b34801561078c57600080fd5b5061035161079b3660046124bf565b61147b565b3480156107ac57600080fd5b506103516107bb366004612755565b611488565b3480156107cc57600080fd5b506103e36107db366004612624565b6114d2565b3480156107ec57600080fd5b506103516107fb3660046124bf565b61159d565b34801561080c57600080fd5b5061036861081b3660046124bf565b6115fb565b34801561082c57600080fd5b5061035161083b3660046124d8565b611684565b34801561084c57600080fd5b506103e361085b366004612504565b6001600160a01b03166000908152600b602052604090205490565b34801561088257600080fd5b506103e360175481565b61035161089a3660046125af565b611696565b3480156108ab57600080fd5b506103e36108ba366004612504565b6001600160a01b03166000908152600e602052604090205490565b3480156108e157600080fd5b506103e360135481565b3480156108f757600080fd5b50600a546103e3565b34801561090c57600080fd5b5061031c61091b366004612624565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205460ff1690565b34801561095557600080fd5b506103e3610964366004612504565b60186020526000908152604090205481565b34801561098257600080fd5b50610351610991366004612504565b6118cf565b60006301ffc9a760e01b6001600160e01b0319831614806109c757506380ac58cd60e01b6001600160e01b03198316145b806109e2575063152a902d60e11b6001600160e01b03198316145b806109fd5750635b5e139f60e01b6001600160e01b03198316145b92915050565b610a0b611945565b6001600160601b03166001600160a01b03909116600160601b026bffffffffffffffffffffffff191617601555565b606060038054610a49906127d5565b80601f0160208091040260200160405190810160405280929190818152602001828054610a75906127d5565b8015610ac25780601f10610a9757610100808354040283529160200191610ac2565b820191906000526020600020905b815481529060010190602001808311610aa557829003601f168201915b5050505050905090565b6000610ad78261199f565b610af4576040516333d1c03960e21b815260040160405180910390fd5b506000908152600760205260409020546001600160a01b031690565b6000610b1b8261121d565b9050336001600160a01b03821614610b5457610b37813361091b565b610b54576040516367d9dca160e11b815260040160405180910390fd5b60008281526007602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6001600160a01b0381166000908152600b6020526040902054610be55760405162461bcd60e51b81526004016102ee9061280f565b6000610bf082611426565b905080600003610c125760405162461bcd60e51b81526004016102ee90612855565b80600a6000828254610c2491906128b6565b90915550506001600160a01b0382166000908152600c60205260409020805482019055610c5182826119d4565b604080516001600160a01b0384168152602081018390527fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b056910160405180910390a15050565b610c9f611945565b601355565b610cac611945565b6011805460ff1916911515919091179055565b6000610cca82611aed565b9050836001600160a01b0316816001600160a01b031614610cfd5760405162a1148160e81b815260040160405180910390fd5b60008281526007602052604090208054338082146001600160a01b03881690911417610d4a57610d2d863361091b565b610d4a57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516610d7157604051633a954ecd60e21b815260040160405180910390fd5b8015610d7c57600082555b6001600160a01b038681166000908152600660205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260056020526040812091909155600160e11b84169003610e0e57600184016000818152600560205260408120549003610e0c576001548114610e0c5760008181526005602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b6015546000908190600160601b90046001600160a01b0316610e7984611401565b915091509250929050565b323314610ed35760405162461bcd60e51b815260206004820152601e60248201527f5468652063616c6c657220697320616e6f7468657220636f6e7472616374000060448201526064016102ee565b60115460ff161515600114610f2a5760405162461bcd60e51b815260206004820152601f60248201527f57686974656c6973742073616c65206973206e6f74206163746976617465640060448201526064016102ee565b610f35338383611b5c565b610f735760405162461bcd60e51b815260206004820152600f60248201526e139bdd081dda1a5d195b1a5cdd1959608a1b60448201526064016102ee565b33600090815260196020526040902054600190610f9090826128b6565b1115610fde5760405162461bcd60e51b815260206004820152601c60248201527f4d6178207065722077616c6c6574206c696d697420726561636865640000000060448201526064016102ee565b6012546002546001540360001901610ff79060016128b6565b111561103b5760405162461bcd60e51b815260206004820152601360248201527213585e081cdd5c1c1b1e48195e18d959591959606a1b60448201526064016102ee565b6013543410156110815760405162461bcd60e51b81526020600482015260116024820152704e6f7420656e6f756768742066756e647360781b60448201526064016102ee565b3360009081526019602052604081208054600192906110a19084906128b6565b909155506110b29050336001611ba3565b5050565b6110d183838360405180602001604052806000815250611488565b505050565b6001600160a01b0381166000908152600b602052604090205461110b5760405162461bcd60e51b81526004016102ee9061280f565b600061111783836114d2565b9050806000036111395760405162461bcd60e51b81526004016102ee90612855565b6001600160a01b0383166000908152600e6020526040812080548392906111619084906128b6565b90915550506001600160a01b038084166000908152600f6020908152604080832093861683529290522080548201905561119c838383611bbd565b604080516001600160a01b038481168252602082018490528516917f3be5b7a71e84ed12875d241991c70855ac5817d847039e17a9d895c1ceb0f18a910160405180910390a2505050565b6111ef611945565b60005b60145481101561121a5761120861042982611319565b80611212816128c9565b9150506111f2565b50565b60006109fd82611aed565b60108054611235906127d5565b80601f0160208091040260200160405190810160405280929190818152602001828054611261906127d5565b80156112ae5780601f10611283576101008083540402835291602001916112ae565b820191906000526020600020905b81548152906001019060200180831161129157829003601f168201915b505050505081565b60006001600160a01b0382166112df576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526006602052604090205467ffffffffffffffff1690565b61130d611945565b6113176000611c0f565b565b6000600d828154811061132e5761132e6128e2565b6000918252602090912001546001600160a01b031692915050565b606060048054610a49906127d5565b611360611945565b60106110b2828261293e565b336001600160a01b038316036113955760405163b06307db60e01b815260040160405180910390fd5b3360008181526008602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6015546000906001600160601b031661141c612710846129fe565b6109fd9190612a20565b600080611432600a5490565b61143c90476128b6565b90506114678382611462866001600160a01b03166000908152600c602052604090205490565b611c5f565b9392505050565b611476611945565b601655565b611483611945565b601755565b611493848484610cbf565b6001600160a01b0383163b156114cc576114af84848484611c9d565b6114cc576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6001600160a01b0382166000908152600e602052604081205481906040516370a0823160e01b81523060048201526001600160a01b038616906370a0823190602401602060405180830381865afa158015611531573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115559190612a37565b61155f91906128b6565b6001600160a01b038086166000908152600f60209081526040808320938816835292905220549091506115959084908390611c5f565b949350505050565b6115a5611945565b60125481106115f65760405162461bcd60e51b815260206004820152601760248201527f43616e6e6f7420696e63726561736520737570706c792100000000000000000060448201526064016102ee565b601255565b60606116068261199f565b6116525760405162461bcd60e51b815260206004820152601f60248201527f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e0060448201526064016102ee565b601061165d83611d88565b60405160200161166e929190612a50565b6040516020818303038152906040529050919050565b61168c611945565b6110b28282611ba3565b3233146116e55760405162461bcd60e51b815260206004820152601e60248201527f5468652063616c6c657220697320616e6f7468657220636f6e7472616374000060448201526064016102ee565b60115460ff16151560011461173c5760405162461bcd60e51b815260206004820152601f60248201527f57686974656c6973742073616c65206973206e6f74206163746976617465640060448201526064016102ee565b611747338383611e1b565b6117855760405162461bcd60e51b815260206004820152600f60248201526e139bdd081dda1a5d195b1a5cdd1959608a1b60448201526064016102ee565b336000908152601860205260409020546003906117a290826128b6565b11156117f05760405162461bcd60e51b815260206004820152601c60248201527f4d6178207065722077616c6c6574206c696d697420726561636865640000000060448201526064016102ee565b60125460025460015403600019016118099060036128b6565b111561184d5760405162461bcd60e51b815260206004820152601360248201527213585e081cdd5c1c1b1e48195e18d959591959606a1b60448201526064016102ee565b60135461185b906003612a20565b34101561189e5760405162461bcd60e51b81526020600482015260116024820152704e6f7420656e6f756768742066756e647360781b60448201526064016102ee565b3360009081526018602052604081208054600392906118be9084906128b6565b909155506110b29050336003611ba3565b6118d7611945565b6001600160a01b03811661193c5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016102ee565b61121a81611c0f565b6000546001600160a01b031633146113175760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016102ee565b6000816001111580156119b3575060015482105b80156109fd575050600090815260056020526040902054600160e01b161590565b80471015611a245760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e636500000060448201526064016102ee565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114611a71576040519150601f19603f3d011682016040523d82523d6000602084013e611a76565b606091505b50509050806110d15760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d6179206861766520726576657274656400000000000060648201526084016102ee565b60008180600111611b4357600154811015611b435760008181526005602052604081205490600160e01b82169003611b41575b80600003611467575060001901600081815260056020526040902054611b20565b505b604051636f96cda160e11b815260040160405180910390fd5b6000611595611b6a85611e62565b848480806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250611ea192505050565b6110b2828260405180602001604052806000815250611eb0565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b1790526110d1908490611f1d565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6009546001600160a01b0384166000908152600b602052604081205490918391611c899086612a20565b611c9391906129fe565b6115959190612ae7565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611cd2903390899088908890600401612afa565b6020604051808303816000875af1925050508015611d0d575060408051601f3d908101601f19168201909252611d0a91810190612b37565b60015b611d6b573d808015611d3b576040519150601f19603f3d011682016040523d82523d6000602084013e611d40565b606091505b508051600003611d63576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b60606000611d9583611ff2565b600101905060008167ffffffffffffffff811115611db557611db5612652565b6040519080825280601f01601f191660200182016040528015611ddf576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a8504945084611de957509392505050565b6000611595611e2985611e62565b8484808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152506120ca92505050565b6040516bffffffffffffffffffffffff19606083901b166020820152600090603401604051602081830303815290604052805190602001209050919050565b600061146782601754856120d5565b611eba83836120eb565b6001600160a01b0383163b156110d1576001548281035b611ee46000868380600101945086611c9d565b611f01576040516368d2bf6b60e11b815260040160405180910390fd5b818110611ed1578160015414611f1657600080fd5b5050505050565b6000611f72826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166121cb9092919063ffffffff16565b9050805160001480611f93575080806020019051810190611f939190612b54565b6110d15760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b60648201526084016102ee565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106120315772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef8100000000831061205d576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061207b57662386f26fc10000830492506010015b6305f5e1008310612093576305f5e100830492506008015b61271083106120a757612710830492506004015b606483106120b9576064830492506002015b600a83106109fd5760010192915050565b600061146782601654855b6000826120e285846121da565b14949350505050565b6001546001600160a01b03831661211457604051622e076360e81b815260040160405180910390fd5b816000036121355760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038316600081815260066020526040902080546801000000000000000185020190554260a01b6001841460e11b1717600082815260056020526040902055808281015b6040516001830192906001600160a01b038716906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a480821061217f5760015550505050565b60606115958484600085612227565b600081815b845181101561221f5761220b828683815181106121fe576121fe6128e2565b6020026020010151612302565b915080612217816128c9565b9150506121df565b509392505050565b6060824710156122885760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b60648201526084016102ee565b600080866001600160a01b031685876040516122a49190612b71565b60006040518083038185875af1925050503d80600081146122e1576040519150601f19603f3d011682016040523d82523d6000602084013e6122e6565b606091505b50915091506122f787838387612331565b979650505050505050565b600081831061231e576000828152602084905260409020611467565b6000838152602083905260409020611467565b606083156123a0578251600003612399576001600160a01b0385163b6123995760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016102ee565b5081611595565b61159583838151156123b55781518083602001fd5b8060405162461bcd60e51b81526004016102ee91906124ac565b6001600160e01b03198116811461121a57600080fd5b6000602082840312156123f757600080fd5b8135611467816123cf565b6001600160a01b038116811461121a57600080fd5b6000806040838503121561242a57600080fd5b823561243581612402565b915060208301356001600160601b038116811461245157600080fd5b809150509250929050565b60005b8381101561247757818101518382015260200161245f565b50506000910152565b6000815180845261249881602086016020860161245c565b601f01601f19169290920160200192915050565b6020815260006114676020830184612480565b6000602082840312156124d157600080fd5b5035919050565b600080604083850312156124eb57600080fd5b82356124f681612402565b946020939093013593505050565b60006020828403121561251657600080fd5b813561146781612402565b801515811461121a57600080fd5b60006020828403121561254157600080fd5b813561146781612521565b60008060006060848603121561256157600080fd5b833561256c81612402565b9250602084013561257c81612402565b929592945050506040919091013590565b600080604083850312156125a057600080fd5b50508035926020909101359150565b600080602083850312156125c257600080fd5b823567ffffffffffffffff808211156125da57600080fd5b818501915085601f8301126125ee57600080fd5b8135818111156125fd57600080fd5b8660208260051b850101111561261257600080fd5b60209290920196919550909350505050565b6000806040838503121561263757600080fd5b823561264281612402565b9150602083013561245181612402565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561268357612683612652565b604051601f8501601f19908116603f011681019082821181831017156126ab576126ab612652565b816040528093508581528686860111156126c457600080fd5b858560208301376000602087830101525050509392505050565b6000602082840312156126f057600080fd5b813567ffffffffffffffff81111561270757600080fd5b8201601f8101841361271857600080fd5b61159584823560208401612668565b6000806040838503121561273a57600080fd5b823561274581612402565b9150602083013561245181612521565b6000806000806080858703121561276b57600080fd5b843561277681612402565b9350602085013561278681612402565b925060408501359150606085013567ffffffffffffffff8111156127a957600080fd5b8501601f810187136127ba57600080fd5b6127c987823560208401612668565b91505092959194509250565b600181811c908216806127e957607f821691505b60208210810361280957634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526026908201527f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060408201526573686172657360d01b606082015260800190565b6020808252602b908201527f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060408201526a191d59481c185e5b595b9d60aa1b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b808201808211156109fd576109fd6128a0565b6000600182016128db576128db6128a0565b5060010190565b634e487b7160e01b600052603260045260246000fd5b601f8211156110d157600081815260208120601f850160051c8101602086101561291f5750805b601f850160051c820191505b81811015610e505782815560010161292b565b815167ffffffffffffffff81111561295857612958612652565b61296c8161296684546127d5565b846128f8565b602080601f8311600181146129a157600084156129895750858301515b600019600386901b1c1916600185901b178555610e50565b600085815260208120601f198616915b828110156129d0578886015182559484019460019091019084016129b1565b50858210156129ee5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600082612a1b57634e487b7160e01b600052601260045260246000fd5b500490565b80820281158282048414176109fd576109fd6128a0565b600060208284031215612a4957600080fd5b5051919050565b6000808454612a5e816127d5565b60018281168015612a765760018114612a8b57612aba565b60ff1984168752821515830287019450612aba565b8860005260208060002060005b85811015612ab15781548a820152908401908201612a98565b50505082870194505b505050508351612ace81836020880161245c565b64173539b7b760d91b9101908152600501949350505050565b818103818111156109fd576109fd6128a0565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612b2d90830184612480565b9695505050505050565b600060208284031215612b4957600080fd5b8151611467816123cf565b600060208284031215612b6657600080fd5b815161146781612521565b60008251612b8381846020870161245c565b919091019291505056fea2646970667358221220974f5c8e03253af1dd8c39ebe166205c9325bfc4e23802529a837828ef35081964736f6c63430008120033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000010000000000000000000000006af6d3270a5923bceb94bb9a87b93efb1abf3177000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000043697066733a2f2f62616679626569666436796e667633667962326b366974796e686f7476336c7a6f33797a6a79616a776e376b36356d7565747862756b6b776c66612f0000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _royaltyFeesInBips (uint96): 0
Arg [1] : _team (address[]): 0x6Af6D3270a5923bcEB94Bb9a87B93EFB1abF3177
Arg [2] : _teamShares (uint256[]): 100
Arg [3] : _baseURI (string): ipfs://bafybeifd6ynfv3fyb2k6itynhotv3lzo3yzjyajwn7k65muetxbukkwlfa/
-----Encoded View---------------
12 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [5] : 0000000000000000000000006af6d3270a5923bceb94bb9a87b93efb1abf3177
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000064
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000043
Arg [9] : 697066733a2f2f62616679626569666436796e667633667962326b366974796e
Arg [10] : 686f7476336c7a6f33797a6a79616a776e376b36356d7565747862756b6b776c
Arg [11] : 66612f0000000000000000000000000000000000000000000000000000000000
Deployed Bytecode Sourcemap
105994:5247:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;111202:26;;-1:-1:-1;;;111202:26:0;;216:2:1;111202:26:0;;;198:21:1;255:2;235:18;;;228:30;-1:-1:-1;;;274:18:1;;;267:46;330:18;;111202:26:0;;;;;;;;105994:5247;;;;24243:678;;;;;;;;;;-1:-1:-1;24243:678:0;;;;;:::i;:::-;;:::i;:::-;;;910:14:1;;903:22;885:41;;873:2;858:18;24243:678:0;;;;;;;;110789:183;;;;;;;;;;-1:-1:-1;110789:183:0;;;;;:::i;:::-;;:::i;:::-;;29953:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;31905:204::-;;;;;;;;;;-1:-1:-1;31905:204:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;2618:32:1;;;2600:51;;2588:2;2573:18;31905:204:0;2454:203:1;31447:392:0;;;;;;;;;;-1:-1:-1;31447:392:0;;;;;:::i;:::-;;:::i;106357:28::-;;;;;;;;;;;;;;;;;;;3128:25:1;;;3116:2;3101:18;106357:28:0;2982:177:1;23297:315:0;;;;;;;;;;-1:-1:-1;23563:12:0;;22904:1;23547:13;:28;-1:-1:-1;;23547:46:0;23297:315;;100387:671;;;;;;;;;;-1:-1:-1;100387:671:0;;;;;:::i;:::-;;:::i;108434:99::-;;;;;;;;;;-1:-1:-1;108434:99:0;;;;;:::i;:::-;;:::i;108645:112::-;;;;;;;;;;-1:-1:-1;108645:112:0;;;;;:::i;:::-;;:::i;41174:2800::-;;;;;;;;;;-1:-1:-1;41174:2800:0;;;;;:::i;:::-;;:::i;110391:242::-;;;;;;;;;;-1:-1:-1;110391:242:0;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;4881:32:1;;;4863:51;;4945:2;4930:18;;4923:34;;;;4836:18;110391:242:0;4689:274:1;106176:31:0;;;;;;;;;;;;;;;;107748:553;;;;;;:::i;:::-;;:::i;97997:91::-;;;;;;;;;;-1:-1:-1;98068:12:0;;97997:91;;99126:135;;;;;;;;;;-1:-1:-1;99126:135:0;;;;;:::i;:::-;-1:-1:-1;;;;;99223:21:0;;;99196:7;99223:21;;;:14;:21;;;;;;;;:30;;;;;;;;;;;;;99126:135;32799:185;;;;;;;;;;-1:-1:-1;32799:185:0;;;;;:::i;:::-;;:::i;101326:792::-;;;;;;;;;;-1:-1:-1;101326:792:0;;;;;:::i;:::-;;:::i;110996:151::-;;;;;;;;;;;;;:::i;29742:144::-;;;;;;;;;;-1:-1:-1;29742:144:0;;;;;:::i;:::-;;:::i;106102:21::-;;;;;;;;;;;;;:::i;24985:224::-;;;;;;;;;;-1:-1:-1;24985:224:0;;;;;:::i;:::-;;:::i;105092:103::-;;;;;;;;;;;;;:::i;106132:35::-;;;;;;;;;;-1:-1:-1;106132:35:0;;;;;;;;99352:100;;;;;;;;;;-1:-1:-1;99352:100:0;;;;;:::i;:::-;;:::i;104451:87::-;;;;;;;;;;-1:-1:-1;104497:7:0;104524:6;-1:-1:-1;;;;;104524:6:0;104451:87;;106492:56;;;;;;;;;;-1:-1:-1;106492:56:0;;;;;:::i;:::-;;;;;;;;;;;;;;30122:104;;;;;;;;;;;;;:::i;98848:109::-;;;;;;;;;;-1:-1:-1;98848:109:0;;;;;:::i;:::-;-1:-1:-1;;;;;98931:18:0;98904:7;98931:18;;;:9;:18;;;;;;;98848:109;108539:100;;;;;;;;;;-1:-1:-1;108539:100:0;;;;;:::i;:::-;;:::i;32181:306::-;;;;;;;;;;-1:-1:-1;32181:306:0;;;;;:::i;:::-;;:::i;110641:140::-;;;;;;;;;;-1:-1:-1;110641:140:0;;;;;:::i;:::-;;:::i;99542:225::-;;;;;;;;;;-1:-1:-1;99542:225:0;;;;;:::i;:::-;;:::i;109064:118::-;;;;;;;;;;-1:-1:-1;109064:118:0;;;;;:::i;:::-;;:::i;108944:114::-;;;;;;;;;;-1:-1:-1;108944:114:0;;;;;:::i;:::-;;:::i;33055:399::-;;;;;;;;;;-1:-1:-1;33055:399:0;;;;;:::i;:::-;;:::i;99927:260::-;;;;;;;;;;-1:-1:-1;99927:260:0;;;;;:::i;:::-;;:::i;108763:175::-;;;;;;;;;;-1:-1:-1;108763:175:0;;;;;:::i;:::-;;:::i;110120:247::-;;;;;;;;;;-1:-1:-1;110120:247:0;;;;;:::i;:::-;;:::i;108309:106::-;;;;;;;;;;-1:-1:-1;108309:106:0;;;;;:::i;:::-;;:::i;98644:105::-;;;;;;;;;;-1:-1:-1;98644:105:0;;;;;:::i;:::-;-1:-1:-1;;;;;98725:16:0;98698:7;98725:16;;;:7;:16;;;;;;;98644:105;106392:27;;;;;;;;;;;;;;;;107181:561;;;;;;:::i;:::-;;:::i;98434:119::-;;;;;;;;;;-1:-1:-1;98434:119:0;;;;;:::i;:::-;-1:-1:-1;;;;;98519:26:0;98492:7;98519:26;;;:19;:26;;;;;;;98434:119;106216:34;;;;;;;;;;;;;;;;98182:95;;;;;;;;;;-1:-1:-1;98255:14:0;;98182:95;;32564:164;;;;;;;;;;-1:-1:-1;32564:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;32685:25:0;;;32661:4;32685:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;32564:164;106428:57;;;;;;;;;;-1:-1:-1;106428:57:0;;;;;:::i;:::-;;;;;;;;;;;;;;105350:201;;;;;;;;;;-1:-1:-1;105350:201:0;;;;;:::i;:::-;;:::i;24243:678::-;24328:4;-1:-1:-1;;;;;;;;;24628:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;24705:25:0;;;24628:102;:179;;;-1:-1:-1;;;;;;;;;;24782:25:0;;;24628:179;:242;;;-1:-1:-1;;;;;;;;;;24845:25:0;;;24628:242;24608:262;24243:678;-1:-1:-1;;24243:678:0:o;110789:183::-;104337:13;:11;:13::i;:::-;-1:-1:-1;;;;;110926:38:0::1;-1:-1:-1::0;;;;;110888:27:0;;::::1;-1:-1:-1::0;;;110888:27:0::1;-1:-1:-1::0;;110926:38:0;::::1;110888:15;110926:38:::0;110789:183::o;29953:100::-;30007:13;30040:5;30033:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29953:100;:::o;31905:204::-;31973:7;31998:16;32006:7;31998;:16::i;:::-;31993:64;;32023:34;;-1:-1:-1;;;32023:34:0;;;;;;;;;;;31993:64;-1:-1:-1;32077:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;32077:24:0;;31905:204::o;31447:392::-;31528:13;31544:16;31552:7;31544;:16::i;:::-;31528:32;-1:-1:-1;52357:10:0;-1:-1:-1;;;;;31575:28:0;;;31571:175;;31623:44;31640:5;52357:10;32564:164;:::i;31623:44::-;31618:128;;31695:35;;-1:-1:-1;;;31695:35:0;;;;;;;;;;;31618:128;31758:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;31758:29:0;-1:-1:-1;;;;;31758:29:0;;;;;;;;;31803:28;;31758:24;;31803:28;;;;;;;31517:322;31447:392;;:::o;100387:671::-;-1:-1:-1;;;;;100463:16:0;;100482:1;100463:16;;;:7;:16;;;;;;100455:71;;;;-1:-1:-1;;;100455:71:0;;;;;;;:::i;:::-;100539:15;100557:19;100568:7;100557:10;:19::i;:::-;100539:37;;100597:7;100608:1;100597:12;100589:68;;;;-1:-1:-1;;;100589:68:0;;;;;;;:::i;:::-;100870:7;100852:14;;:25;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;;;100913:18:0;;;;;;:9;:18;;;;;:29;;;;;;100966:35;100923:7;100935;100966:17;:35::i;:::-;101017:33;;;-1:-1:-1;;;;;4881:32:1;;4863:51;;4945:2;4930:18;;4923:34;;;101017:33:0;;4836:18:1;101017:33:0;;;;;;;100444:614;100387:671;:::o;108434:99::-;104337:13;:11;:13::i;:::-;108503:9:::1;:22:::0;108434:99::o;108645:112::-;104337:13;:11;:13::i;:::-;108715:15:::1;:34:::0;;-1:-1:-1;;108715:34:0::1;::::0;::::1;;::::0;;;::::1;::::0;;108645:112::o;41174:2800::-;41308:27;41338;41357:7;41338:18;:27::i;:::-;41308:57;;41423:4;-1:-1:-1;;;;;41382:45:0;41398:19;-1:-1:-1;;;;;41382:45:0;;41378:86;;41436:28;;-1:-1:-1;;;41436:28:0;;;;;;;;;;;41378:86;41478:27;39904:21;;;39731:15;39946:4;39939:36;40028:4;40012:21;;40118:26;;52357:10;40871:30;;;-1:-1:-1;;;;;40569:26:0;;40850:19;;;40847:55;41657:174;;41744:43;41761:4;52357:10;32564:164;:::i;41744:43::-;41739:92;;41796:35;;-1:-1:-1;;;41796:35:0;;;;;;;;;;;41739:92;-1:-1:-1;;;;;41848:16:0;;41844:52;;41873:23;;-1:-1:-1;;;41873:23:0;;;;;;;;;;;41844:52;42045:15;42042:160;;;42185:1;42164:19;42157:30;42042:160;-1:-1:-1;;;;;42580:24:0;;;;;;;:18;:24;;;;;;42578:26;;-1:-1:-1;;42578:26:0;;;42649:22;;;;;;;;;42647:24;;-1:-1:-1;42647:24:0;;;29641:11;29617:22;29613:40;29600:62;-1:-1:-1;;;29600:62:0;42942:26;;;;:17;:26;;;;;:174;;;;-1:-1:-1;;;43236:46:0;;:51;;43232:626;;43340:1;43330:11;;43308:19;43463:30;;;:17;:30;;;;;;:35;;43459:384;;43601:13;;43586:11;:28;43582:242;;43748:30;;;;:17;:30;;;;;:52;;;43582:242;43289:569;43232:626;43905:7;43901:2;-1:-1:-1;;;;;43886:27:0;43895:4;-1:-1:-1;;;;;43886:27:0;;;;;;;;;;;43924:42;41297:2677;;;41174:2800;;;:::o;110391:242::-;110578:15;;110502:16;;;;-1:-1:-1;;;110578:15:0;;-1:-1:-1;;;;;110578:15:0;110595:28;110612:10;110595:16;:28::i;:::-;110570:54;;;;110391:242;;;;;:::o;107748:553::-;106979:9;106992:10;106979:23;106971:66;;;;-1:-1:-1;;;106971:66:0;;11460:2:1;106971:66:0;;;11442:21:1;11499:2;11479:18;;;11472:30;11538:32;11518:18;;;11511:60;11588:18;;106971:66:0;11258:354:1;106971:66:0;107846:15:::1;::::0;::::1;;:23;;:15:::0;:23:::1;107838:67;;;::::0;-1:-1:-1;;;107838:67:0;;11819:2:1;107838:67:0::1;::::0;::::1;11801:21:1::0;11858:2;11838:18;;;11831:30;11897:33;11877:18;;;11870:61;11948:18;;107838:67:0::1;11617:355:1::0;107838:67:0::1;107924:35;107940:10;107952:6;;107924:15;:35::i;:::-;107916:63;;;::::0;-1:-1:-1;;;107916:63:0;;12179:2:1;107916:63:0::1;::::0;::::1;12161:21:1::0;12218:2;12198:18;;;12191:30;-1:-1:-1;;;12237:18:1;;;12230:45;12292:18;;107916:63:0::1;11977:339:1::0;107916:63:0::1;108020:10;107998:33;::::0;;;:21:::1;:33;::::0;;;;;108039:1:::1;::::0;107998:37:::1;::::0;108039:1;107998:37:::1;:::i;:::-;:42;;107990:83;;;::::0;-1:-1:-1;;;107990:83:0;;12523:2:1;107990:83:0::1;::::0;::::1;12505:21:1::0;12562:2;12542:18;;;12535:30;12601;12581:18;;;12574:58;12649:18;;107990:83:0::1;12321:352:1::0;107990:83:0::1;108113:10;::::0;23563:12;;22904:1;23547:13;:28;-1:-1:-1;;23547:46:0;108092:17:::1;::::0;108108:1:::1;108092:17;:::i;:::-;:31;;108084:62;;;::::0;-1:-1:-1;;;108084:62:0;;12880:2:1;108084:62:0::1;::::0;::::1;12862:21:1::0;12919:2;12899:18;;;12892:30;-1:-1:-1;;;12938:18:1;;;12931:49;12997:18;;108084:62:0::1;12678:343:1::0;108084:62:0::1;108178:9;;108165;:22;;108157:52;;;::::0;-1:-1:-1;;;108157:52:0;;13228:2:1;108157:52:0::1;::::0;::::1;13210:21:1::0;13267:2;13247:18;;;13240:30;-1:-1:-1;;;13286:18:1;;;13279:47;13343:18;;108157:52:0::1;13026:341:1::0;108157:52:0::1;108242:10;108220:33;::::0;;;:21:::1;:33;::::0;;;;:38;;108257:1:::1;::::0;108220:33;:38:::1;::::0;108257:1;;108220:38:::1;:::i;:::-;::::0;;;-1:-1:-1;108269:24:0::1;::::0;-1:-1:-1;108279:10:0::1;108291:1;108269:9;:24::i;:::-;107748:553:::0;;:::o;32799:185::-;32937:39;32954:4;32960:2;32964:7;32937:39;;;;;;;;;;;;:16;:39::i;:::-;32799:185;;;:::o;101326:792::-;-1:-1:-1;;;;;101408:16:0;;101427:1;101408:16;;;:7;:16;;;;;;101400:71;;;;-1:-1:-1;;;101400:71:0;;;;;;;:::i;:::-;101484:15;101502:26;101513:5;101520:7;101502:10;:26::i;:::-;101484:44;;101549:7;101560:1;101549:12;101541:68;;;;-1:-1:-1;;;101541:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;101864:26:0;;;;;;:19;:26;;;;;:37;;101894:7;;101864:26;:37;;101894:7;;101864:37;:::i;:::-;;;;-1:-1:-1;;;;;;;101937:21:0;;;;;;;:14;:21;;;;;;;;:30;;;;;;;;;:41;;;;;;102002:47;101952:5;101959:7;101971;102002:22;:47::i;:::-;102065:45;;;-1:-1:-1;;;;;4881:32:1;;;4863:51;;4945:2;4930:18;;4923:34;;;102065:45:0;;;;;4836:18:1;102065:45:0;;;;;;;101389:729;101326:792;;:::o;110996:151::-;104337:13;:11;:13::i;:::-;111052:6:::1;111048:92;111069:10;;111065:1;:14;111048:92;;;111102:26;111118:8;111124:1;111118:5;:8::i;111102:26::-;111082:3:::0;::::1;::::0;::::1;:::i;:::-;;;;111048:92;;;;110996:151::o:0;29742:144::-;29806:7;29849:27;29868:7;29849:18;:27::i;106102:21::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;24985:224::-;25049:7;-1:-1:-1;;;;;25073:19:0;;25069:60;;25101:28;;-1:-1:-1;;;25101:28:0;;;;;;;;;;;25069:60;-1:-1:-1;;;;;;25147:25:0;;;;;:18;:25;;;;;;19477:13;25147:54;;24985:224::o;105092:103::-;104337:13;:11;:13::i;:::-;105157:30:::1;105184:1;105157:18;:30::i;:::-;105092:103::o:0;99352:100::-;99403:7;99430;99438:5;99430:14;;;;;;;;:::i;:::-;;;;;;;;;;;-1:-1:-1;;;;;99430:14:0;;99352:100;-1:-1:-1;;99352:100:0:o;30122:104::-;30178:13;30211:7;30204:14;;;;;:::i;108539:100::-;104337:13;:11;:13::i;:::-;108613:7:::1;:18;108623:8:::0;108613:7;:18:::1;:::i;32181:306::-:0;52357:10;-1:-1:-1;;;;;32280:31:0;;;32276:61;;32320:17;;-1:-1:-1;;;32320:17:0;;;;;;;;;;;32276:61;52357:10;32348:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;32348:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;32348:60:0;;;;;;;;;;32424:55;;885:41:1;;;32348:49:0;;52357:10;32424:55;;858:18:1;32424:55:0;;;;;;;32181:306;;:::o;110641:140::-;110756:17;;110708:7;;-1:-1:-1;;;;;110756:17:0;110734:18;110747:5;110734:10;:18;:::i;:::-;110733:40;;;;:::i;99542:225::-;99600:7;99620:21;99668:15;98255:14;;;98182:95;99668:15;99644:39;;:21;:39;:::i;:::-;99620:63;;99701:58;99717:7;99726:13;99741:17;99750:7;-1:-1:-1;;;;;98931:18:0;98904:7;98931:18;;;:9;:18;;;;;;;98848:109;99741:17;99701:15;:58::i;:::-;99694:65;99542:225;-1:-1:-1;;;99542:225:0:o;109064:118::-;104337:13;:11;:13::i;:::-;109144::::1;:30:::0;109064:118::o;108944:114::-;104337:13;:11;:13::i;:::-;109022:12:::1;:28:::0;108944:114::o;33055:399::-;33222:31;33235:4;33241:2;33245:7;33222:12;:31::i;:::-;-1:-1:-1;;;;;33268:14:0;;;:19;33264:183;;33307:56;33338:4;33344:2;33348:7;33357:5;33307:30;:56::i;:::-;33302:145;;33391:40;;-1:-1:-1;;;33391:40:0;;;;;;;;;;;33302:145;33055:399;;;;:::o;99927:260::-;-1:-1:-1;;;;;98519:26:0;;99999:7;98519:26;;;:19;:26;;;;;;99999:7;;100043:30;;-1:-1:-1;;;100043:30:0;;100067:4;100043:30;;;2600:51:1;-1:-1:-1;;;;;100043:15:0;;;;;2573:18:1;;100043:30:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:53;;;;:::i;:::-;-1:-1:-1;;;;;99223:21:0;;;99196:7;99223:21;;;:14;:21;;;;;;;;:30;;;;;;;;;;100019:77;;-1:-1:-1;100114:65:0;;100130:7;;100019:77;;99701:15;:58::i;100114:65::-;100107:72;99927:260;-1:-1:-1;;;;99927:260:0:o;108763:175::-;104337:13;:11;:13::i;:::-;108857:10:::1;;108843:11;:24;108835:60;;;::::0;-1:-1:-1;;;108835:60:0;;16766:2:1;108835:60:0::1;::::0;::::1;16748:21:1::0;16805:2;16785:18;;;16778:30;16844:25;16824:18;;;16817:53;16887:18;;108835:60:0::1;16564:347:1::0;108835:60:0::1;108906:10;:24:::0;108763:175::o;110120:247::-;110191:13;110225:17;110233:8;110225:7;:17::i;:::-;110217:61;;;;-1:-1:-1;;;110217:61:0;;17118:2:1;110217:61:0;;;17100:21:1;17157:2;17137:18;;;17130:30;17196:33;17176:18;;;17169:61;17247:18;;110217:61:0;16916:355:1;110217:61:0;110320:7;110329:19;:8;:17;:19::i;:::-;110303:55;;;;;;;;;:::i;:::-;;;;;;;;;;;;;110289:70;;110120:247;;;:::o;108309:106::-;104337:13;:11;:13::i;:::-;108382:25:::1;108392:3;108397:9;108382;:25::i;107181:561::-:0;106979:9;106992:10;106979:23;106971:66;;;;-1:-1:-1;;;106971:66:0;;11460:2:1;106971:66:0;;;11442:21:1;11499:2;11479:18;;;11472:30;11538:32;11518:18;;;11511:60;11588:18;;106971:66:0;11258:354:1;106971:66:0;107280:15:::1;::::0;::::1;;:23;;:15:::0;:23:::1;107272:67;;;::::0;-1:-1:-1;;;107272:67:0;;11819:2:1;107272:67:0::1;::::0;::::1;11801:21:1::0;11858:2;11838:18;;;11831:30;11897:33;11877:18;;;11870:61;11948:18;;107272:67:0::1;11617:355:1::0;107272:67:0::1;107358:36;107375:10;107387:6;;107358:16;:36::i;:::-;107350:64;;;::::0;-1:-1:-1;;;107350:64:0;;12179:2:1;107350:64:0::1;::::0;::::1;12161:21:1::0;12218:2;12198:18;;;12191:30;-1:-1:-1;;;12237:18:1;;;12230:45;12292:18;;107350:64:0::1;11977:339:1::0;107350:64:0::1;107456:10;107433:34;::::0;;;:22:::1;:34;::::0;;;;;107475:1:::1;::::0;107433:38:::1;::::0;107475:1;107433:38:::1;:::i;:::-;:43;;107425:84;;;::::0;-1:-1:-1;;;107425:84:0;;12523:2:1;107425:84:0::1;::::0;::::1;12505:21:1::0;12562:2;12542:18;;;12535:30;12601;12581:18;;;12574:58;12649:18;;107425:84:0::1;12321:352:1::0;107425:84:0::1;107549:10;::::0;23563:12;;22904:1;23547:13;:28;-1:-1:-1;;23547:46:0;107528:17:::1;::::0;107544:1:::1;107528:17;:::i;:::-;:31;;107520:62;;;::::0;-1:-1:-1;;;107520:62:0;;12880:2:1;107520:62:0::1;::::0;::::1;12862:21:1::0;12919:2;12899:18;;;12892:30;-1:-1:-1;;;12938:18:1;;;12931:49;12997:18;;107520:62:0::1;12678:343:1::0;107520:62:0::1;107614:9;::::0;:13:::1;::::0;107626:1:::1;107614:13;:::i;:::-;107601:9;:26;;107593:56;;;::::0;-1:-1:-1;;;107593:56:0;;13228:2:1;107593:56:0::1;::::0;::::1;13210:21:1::0;13267:2;13247:18;;;13240:30;-1:-1:-1;;;13286:18:1;;;13279:47;13343:18;;107593:56:0::1;13026:341:1::0;107593:56:0::1;107683:10;107660:34;::::0;;;:22:::1;:34;::::0;;;;:39;;107698:1:::1;::::0;107660:34;:39:::1;::::0;107698:1;;107660:39:::1;:::i;:::-;::::0;;;-1:-1:-1;107710:24:0::1;::::0;-1:-1:-1;107720:10:0::1;107732:1;107710:9;:24::i;105350:201::-:0;104337:13;:11;:13::i;:::-;-1:-1:-1;;;;;105439:22:0;::::1;105431:73;;;::::0;-1:-1:-1;;;105431:73:0;;18670:2:1;105431:73:0::1;::::0;::::1;18652:21:1::0;18709:2;18689:18;;;18682:30;18748:34;18728:18;;;18721:62;-1:-1:-1;;;18799:18:1;;;18792:36;18845:19;;105431:73:0::1;18468:402:1::0;105431:73:0::1;105515:28;105534:8;105515:18;:28::i;104616:132::-:0;104497:7;104524:6;-1:-1:-1;;;;;104524:6:0;52357:10;104680:23;104672:68;;;;-1:-1:-1;;;104672:68:0;;19077:2:1;104672:68:0;;;19059:21:1;;;19096:18;;;19089:30;19155:34;19135:18;;;19128:62;19207:18;;104672:68:0;18875:356:1;33709:273:0;33766:4;33822:7;22904:1;33803:26;;:66;;;;;33856:13;;33846:7;:23;33803:66;:152;;;;-1:-1:-1;;33907:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;33907:43:0;:48;;33709:273::o;74501:317::-;74616:6;74591:21;:31;;74583:73;;;;-1:-1:-1;;;74583:73:0;;19438:2:1;74583:73:0;;;19420:21:1;19477:2;19457:18;;;19450:30;19516:31;19496:18;;;19489:59;19565:18;;74583:73:0;19236:353:1;74583:73:0;74670:12;74688:9;-1:-1:-1;;;;;74688:14:0;74710:6;74688:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;74669:52;;;74740:7;74732:78;;;;-1:-1:-1;;;74732:78:0;;20006:2:1;74732:78:0;;;19988:21:1;20045:2;20025:18;;;20018:30;20084:34;20064:18;;;20057:62;20155:28;20135:18;;;20128:56;20201:19;;74732:78:0;19804:422:1;26659:1129:0;26726:7;26761;;22904:1;26810:23;26806:915;;26863:13;;26856:4;:20;26852:869;;;26901:14;26918:23;;;:17;:23;;;;;;;-1:-1:-1;;;27007:23:0;;:28;;27003:699;;27526:113;27533:6;27543:1;27533:11;27526:113;;-1:-1:-1;;;27604:6:0;27586:25;;;;:17;:25;;;;;;27526:113;;27003:699;26878:843;26852:869;27749:31;;-1:-1:-1;;;27749:31:0;;;;;;;;;;;109188:190;109308:4;109337:33;109347:14;109352:8;109347:4;:14::i;:::-;109363:6;;109337:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;109337:9:0;;-1:-1:-1;;;109337:33:0:i;34066:104::-;34135:27;34145:2;34149:8;34135:27;;;;;;;;;;;;:9;:27::i;87516:177::-;87626:58;;;-1:-1:-1;;;;;4881:32:1;;87626:58:0;;;4863:51:1;4930:18;;;;4923:34;;;87626:58:0;;;;;;;;;;4836:18:1;;;;87626:58:0;;;;;;;;-1:-1:-1;;;;;87626:58:0;-1:-1:-1;;;87626:58:0;;;87599:86;;87619:5;;87599:19;:86::i;105711:191::-;105785:16;105804:6;;-1:-1:-1;;;;;105821:17:0;;;-1:-1:-1;;;;;;105821:17:0;;;;;;105854:40;;105804:6;;;;;;;105854:40;;105785:16;105854:40;105774:128;105711:191;:::o;102296:248::-;102506:12;;-1:-1:-1;;;;;102486:16:0;;102442:7;102486:16;;;:7;:16;;;;;;102442:7;;102521:15;;102470:32;;:13;:32;:::i;:::-;102469:49;;;;:::i;:::-;:67;;;;:::i;47925:716::-;48109:88;;-1:-1:-1;;;48109:88:0;;48088:4;;-1:-1:-1;;;;;48109:45:0;;;;;:88;;52357:10;;48176:4;;48182:7;;48191:5;;48109:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;48109:88:0;;;;;;;;-1:-1:-1;;48109:88:0;;;;;;;;;;;;:::i;:::-;;;48105:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48392:6;:13;48409:1;48392:18;48388:235;;48438:40;;-1:-1:-1;;;48438:40:0;;;;;;;;;;;48388:235;48581:6;48575:13;48566:6;48562:2;48558:15;48551:38;48105:529;-1:-1:-1;;;;;;48268:64:0;-1:-1:-1;;;48268:64:0;;-1:-1:-1;47925:716:0;;;;;;:::o;69366:::-;69422:13;69473:14;69490:17;69501:5;69490:10;:17::i;:::-;69510:1;69490:21;69473:38;;69526:20;69560:6;69549:18;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;69549:18:0;-1:-1:-1;69526:41:0;-1:-1:-1;69691:28:0;;;69707:2;69691:28;69748:288;-1:-1:-1;;69780:5:0;-1:-1:-1;;;69917:2:0;69906:14;;69901:30;69780:5;69888:44;69978:2;69969:11;;;-1:-1:-1;69999:21:0;69748:288;69999:21;-1:-1:-1;70057:6:0;69366:716;-1:-1:-1;;;69366:716:0:o;109385:192::-;109506:4;109535:34;109546:14;109551:8;109546:4;:14::i;:::-;109562:6;;109535:34;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;109535:10:0;;-1:-1:-1;;;109535:34:0:i;109585:127::-;109677:26;;-1:-1:-1;;21261:2:1;21257:15;;;21253:53;109677:26:0;;;21241:66:1;109640:7:0;;21323:12:1;;109677:26:0;;;;;;;;;;;;109667:37;;;;;;109660:44;;109585:127;;;:::o;109720:193::-;109829:4;109858:47;109877:6;109885:12;;109899:5;109858:18;:47::i;34586:681::-;34709:19;34715:2;34719:8;34709:5;:19::i;:::-;-1:-1:-1;;;;;34770:14:0;;;:19;34766:483;;34824:13;;34872:14;;;34905:233;34936:62;34975:1;34979:2;34983:7;;;;;;34992:5;34936:30;:62::i;:::-;34931:167;;35034:40;;-1:-1:-1;;;35034:40:0;;;;;;;;;;;34931:167;35133:3;35125:5;:11;34905:233;;35220:3;35203:13;;:20;35199:34;;35225:8;;;35199:34;34791:458;;34586:681;;;:::o;91839:649::-;92263:23;92289:69;92317:4;92289:69;;;;;;;;;;;;;;;;;92297:5;-1:-1:-1;;;;;92289:27:0;;;:69;;;;;:::i;:::-;92263:95;;92377:10;:17;92398:1;92377:22;:56;;;;92414:10;92403:30;;;;;;;;;;;;:::i;:::-;92369:111;;;;-1:-1:-1;;;92369:111:0;;21798:2:1;92369:111:0;;;21780:21:1;21837:2;21817:18;;;21810:30;21876:34;21856:18;;;21849:62;-1:-1:-1;;;21927:18:1;;;21920:40;21977:19;;92369:111:0;21596:406:1;66200:948:0;66253:7;;-1:-1:-1;;;66331:17:0;;66327:106;;-1:-1:-1;;;66369:17:0;;;-1:-1:-1;66415:2:0;66405:12;66327:106;66460:8;66451:5;:17;66447:106;;66498:8;66489:17;;;-1:-1:-1;66535:2:0;66525:12;66447:106;66580:8;66571:5;:17;66567:106;;66618:8;66609:17;;;-1:-1:-1;66655:2:0;66645:12;66567:106;66700:7;66691:5;:16;66687:103;;66737:7;66728:16;;;-1:-1:-1;66773:1:0;66763:11;66687:103;66817:7;66808:5;:16;66804:103;;66854:7;66845:16;;;-1:-1:-1;66890:1:0;66880:11;66804:103;66934:7;66925:5;:16;66921:103;;66971:7;66962:16;;;-1:-1:-1;67007:1:0;66997:11;66921:103;67051:7;67042:5;:16;67038:68;;67089:1;67079:11;67134:6;66200:948;-1:-1:-1;;66200:948:0:o;109919:195::-;110029:4;110058:48;110077:6;110085:13;;110100:5;1222:156;1313:4;1366;1337:25;1350:5;1357:4;1337:12;:25::i;:::-;:33;;1222:156;-1:-1:-1;;;;1222:156:0:o;35540:1529::-;35628:13;;-1:-1:-1;;;;;35656:16:0;;35652:48;;35681:19;;-1:-1:-1;;;35681:19:0;;;;;;;;;;;35652:48;35715:8;35727:1;35715:13;35711:44;;35737:18;;-1:-1:-1;;;35737:18:0;;;;;;;;;;;35711:44;-1:-1:-1;;;;;36243:22:0;;;;;;:18;:22;;19614:2;36243:22;;:70;;36281:31;36269:44;;36243:70;;;29641:11;29617:22;29613:40;-1:-1:-1;31351:15:0;;31326:23;31322:45;29610:51;29600:62;36556:31;;;;:17;:31;;;;;:173;36574:12;36805:23;;;36843:101;36870:35;;36895:9;;;;;-1:-1:-1;;;;;36870:35:0;;;36887:1;;36870:35;;36887:1;;36870:35;36939:3;36929:7;:13;36843:101;;36960:13;:19;-1:-1:-1;32799:185:0;;;:::o;75997:229::-;76134:12;76166:52;76188:6;76196:4;76202:1;76205:12;76166:21;:52::i;2021:296::-;2104:7;2147:4;2104:7;2162:118;2186:5;:12;2182:1;:16;2162:118;;;2235:33;2245:12;2259:5;2265:1;2259:8;;;;;;;;:::i;:::-;;;;;;;2235:9;:33::i;:::-;2220:48;-1:-1:-1;2200:3:0;;;;:::i;:::-;;;;2162:118;;;-1:-1:-1;2297:12:0;2021:296;-1:-1:-1;;;2021:296:0:o;77083:455::-;77253:12;77311:5;77286:21;:30;;77278:81;;;;-1:-1:-1;;;77278:81:0;;22209:2:1;77278:81:0;;;22191:21:1;22248:2;22228:18;;;22221:30;22287:34;22267:18;;;22260:62;-1:-1:-1;;;22338:18:1;;;22331:36;22384:19;;77278:81:0;22007:402:1;77278:81:0;77371:12;77385:23;77412:6;-1:-1:-1;;;;;77412:11:0;77431:5;77438:4;77412:31;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;77370:73;;;;77461:69;77488:6;77496:7;77505:10;77517:12;77461:26;:69::i;:::-;77454:76;77083:455;-1:-1:-1;;;;;;;77083:455:0:o;9225:149::-;9288:7;9319:1;9315;:5;:51;;9450:13;9544:15;;;9580:4;9573:15;;;9627:4;9611:21;;9315:51;;;9450:13;9544:15;;;9580:4;9573:15;;;9627:4;9611:21;;9323:20;9382:268;79656:644;79841:12;79870:7;79866:427;;;79898:10;:17;79919:1;79898:22;79894:290;;-1:-1:-1;;;;;73537:19:0;;;80108:60;;;;-1:-1:-1;;;80108:60:0;;22908:2:1;80108:60:0;;;22890:21:1;22947:2;22927:18;;;22920:30;22986:31;22966:18;;;22959:59;23035:18;;80108:60:0;22706:353:1;80108:60:0;-1:-1:-1;80205:10:0;80198:17;;79866:427;80248:33;80256:10;80268:12;81003:17;;:21;80999:388;;81235:10;81229:17;81292:15;81279:10;81275:2;81271:19;81264:44;80999:388;81362:12;81355:20;;-1:-1:-1;;;81355:20:0;;;;;;;;:::i;359:131:1:-;-1:-1:-1;;;;;;433:32:1;;423:43;;413:71;;480:1;477;470:12;495:245;553:6;606:2;594:9;585:7;581:23;577:32;574:52;;;622:1;619;612:12;574:52;661:9;648:23;680:30;704:5;680:30;:::i;937:131::-;-1:-1:-1;;;;;1012:31:1;;1002:42;;992:70;;1058:1;1055;1048:12;1073:435;1140:6;1148;1201:2;1189:9;1180:7;1176:23;1172:32;1169:52;;;1217:1;1214;1207:12;1169:52;1256:9;1243:23;1275:31;1300:5;1275:31;:::i;:::-;1325:5;-1:-1:-1;1382:2:1;1367:18;;1354:32;-1:-1:-1;;;;;1417:40:1;;1405:53;;1395:81;;1472:1;1469;1462:12;1395:81;1495:7;1485:17;;;1073:435;;;;;:::o;1513:250::-;1598:1;1608:113;1622:6;1619:1;1616:13;1608:113;;;1698:11;;;1692:18;1679:11;;;1672:39;1644:2;1637:10;1608:113;;;-1:-1:-1;;1755:1:1;1737:16;;1730:27;1513:250::o;1768:271::-;1810:3;1848:5;1842:12;1875:6;1870:3;1863:19;1891:76;1960:6;1953:4;1948:3;1944:14;1937:4;1930:5;1926:16;1891:76;:::i;:::-;2021:2;2000:15;-1:-1:-1;;1996:29:1;1987:39;;;;2028:4;1983:50;;1768:271;-1:-1:-1;;1768:271:1:o;2044:220::-;2193:2;2182:9;2175:21;2156:4;2213:45;2254:2;2243:9;2239:18;2231:6;2213:45;:::i;2269:180::-;2328:6;2381:2;2369:9;2360:7;2356:23;2352:32;2349:52;;;2397:1;2394;2387:12;2349:52;-1:-1:-1;2420:23:1;;2269:180;-1:-1:-1;2269:180:1:o;2662:315::-;2730:6;2738;2791:2;2779:9;2770:7;2766:23;2762:32;2759:52;;;2807:1;2804;2797:12;2759:52;2846:9;2833:23;2865:31;2890:5;2865:31;:::i;:::-;2915:5;2967:2;2952:18;;;;2939:32;;-1:-1:-1;;;2662:315:1:o;3346:255::-;3413:6;3466:2;3454:9;3445:7;3441:23;3437:32;3434:52;;;3482:1;3479;3472:12;3434:52;3521:9;3508:23;3540:31;3565:5;3540:31;:::i;3606:118::-;3692:5;3685:13;3678:21;3671:5;3668:32;3658:60;;3714:1;3711;3704:12;3729:241;3785:6;3838:2;3826:9;3817:7;3813:23;3809:32;3806:52;;;3854:1;3851;3844:12;3806:52;3893:9;3880:23;3912:28;3934:5;3912:28;:::i;3975:456::-;4052:6;4060;4068;4121:2;4109:9;4100:7;4096:23;4092:32;4089:52;;;4137:1;4134;4127:12;4089:52;4176:9;4163:23;4195:31;4220:5;4195:31;:::i;:::-;4245:5;-1:-1:-1;4302:2:1;4287:18;;4274:32;4315:33;4274:32;4315:33;:::i;:::-;3975:456;;4367:7;;-1:-1:-1;;;4421:2:1;4406:18;;;;4393:32;;3975:456::o;4436:248::-;4504:6;4512;4565:2;4553:9;4544:7;4540:23;4536:32;4533:52;;;4581:1;4578;4571:12;4533:52;-1:-1:-1;;4604:23:1;;;4674:2;4659:18;;;4646:32;;-1:-1:-1;4436:248:1:o;4968:615::-;5054:6;5062;5115:2;5103:9;5094:7;5090:23;5086:32;5083:52;;;5131:1;5128;5121:12;5083:52;5171:9;5158:23;5200:18;5241:2;5233:6;5230:14;5227:34;;;5257:1;5254;5247:12;5227:34;5295:6;5284:9;5280:22;5270:32;;5340:7;5333:4;5329:2;5325:13;5321:27;5311:55;;5362:1;5359;5352:12;5311:55;5402:2;5389:16;5428:2;5420:6;5417:14;5414:34;;;5444:1;5441;5434:12;5414:34;5497:7;5492:2;5482:6;5479:1;5475:14;5471:2;5467:23;5463:32;5460:45;5457:65;;;5518:1;5515;5508:12;5457:65;5549:2;5541:11;;;;;5571:6;;-1:-1:-1;4968:615:1;;-1:-1:-1;;;;4968:615:1:o;5588:403::-;5671:6;5679;5732:2;5720:9;5711:7;5707:23;5703:32;5700:52;;;5748:1;5745;5738:12;5700:52;5787:9;5774:23;5806:31;5831:5;5806:31;:::i;:::-;5856:5;-1:-1:-1;5913:2:1;5898:18;;5885:32;5926:33;5885:32;5926:33;:::i;6248:127::-;6309:10;6304:3;6300:20;6297:1;6290:31;6340:4;6337:1;6330:15;6364:4;6361:1;6354:15;6380:632;6445:5;6475:18;6516:2;6508:6;6505:14;6502:40;;;6522:18;;:::i;:::-;6597:2;6591:9;6565:2;6651:15;;-1:-1:-1;;6647:24:1;;;6673:2;6643:33;6639:42;6627:55;;;6697:18;;;6717:22;;;6694:46;6691:72;;;6743:18;;:::i;:::-;6783:10;6779:2;6772:22;6812:6;6803:15;;6842:6;6834;6827:22;6882:3;6873:6;6868:3;6864:16;6861:25;6858:45;;;6899:1;6896;6889:12;6858:45;6949:6;6944:3;6937:4;6929:6;6925:17;6912:44;7004:1;6997:4;6988:6;6980;6976:19;6972:30;6965:41;;;;6380:632;;;;;:::o;7017:451::-;7086:6;7139:2;7127:9;7118:7;7114:23;7110:32;7107:52;;;7155:1;7152;7145:12;7107:52;7195:9;7182:23;7228:18;7220:6;7217:30;7214:50;;;7260:1;7257;7250:12;7214:50;7283:22;;7336:4;7328:13;;7324:27;-1:-1:-1;7314:55:1;;7365:1;7362;7355:12;7314:55;7388:74;7454:7;7449:2;7436:16;7431:2;7427;7423:11;7388:74;:::i;7473:382::-;7538:6;7546;7599:2;7587:9;7578:7;7574:23;7570:32;7567:52;;;7615:1;7612;7605:12;7567:52;7654:9;7641:23;7673:31;7698:5;7673:31;:::i;:::-;7723:5;-1:-1:-1;7780:2:1;7765:18;;7752:32;7793:30;7752:32;7793:30;:::i;8045:795::-;8140:6;8148;8156;8164;8217:3;8205:9;8196:7;8192:23;8188:33;8185:53;;;8234:1;8231;8224:12;8185:53;8273:9;8260:23;8292:31;8317:5;8292:31;:::i;:::-;8342:5;-1:-1:-1;8399:2:1;8384:18;;8371:32;8412:33;8371:32;8412:33;:::i;:::-;8464:7;-1:-1:-1;8518:2:1;8503:18;;8490:32;;-1:-1:-1;8573:2:1;8558:18;;8545:32;8600:18;8589:30;;8586:50;;;8632:1;8629;8622:12;8586:50;8655:22;;8708:4;8700:13;;8696:27;-1:-1:-1;8686:55:1;;8737:1;8734;8727:12;8686:55;8760:74;8826:7;8821:2;8808:16;8803:2;8799;8795:11;8760:74;:::i;:::-;8750:84;;;8045:795;;;;;;;:::o;9505:380::-;9584:1;9580:12;;;;9627;;;9648:61;;9702:4;9694:6;9690:17;9680:27;;9648:61;9755:2;9747:6;9744:14;9724:18;9721:38;9718:161;;9801:10;9796:3;9792:20;9789:1;9782:31;9836:4;9833:1;9826:15;9864:4;9861:1;9854:15;9718:161;;9505:380;;;:::o;9890:402::-;10092:2;10074:21;;;10131:2;10111:18;;;10104:30;10170:34;10165:2;10150:18;;10143:62;-1:-1:-1;;;10236:2:1;10221:18;;10214:36;10282:3;10267:19;;9890:402::o;10297:407::-;10499:2;10481:21;;;10538:2;10518:18;;;10511:30;10577:34;10572:2;10557:18;;10550:62;-1:-1:-1;;;10643:2:1;10628:18;;10621:41;10694:3;10679:19;;10297:407::o;10709:127::-;10770:10;10765:3;10761:20;10758:1;10751:31;10801:4;10798:1;10791:15;10825:4;10822:1;10815:15;10841:125;10906:9;;;10927:10;;;10924:36;;;10940:18;;:::i;13372:135::-;13411:3;13432:17;;;13429:43;;13452:18;;:::i;:::-;-1:-1:-1;13499:1:1;13488:13;;13372:135::o;13512:127::-;13573:10;13568:3;13564:20;13561:1;13554:31;13604:4;13601:1;13594:15;13628:4;13625:1;13618:15;13770:545;13872:2;13867:3;13864:11;13861:448;;;13908:1;13933:5;13929:2;13922:17;13978:4;13974:2;13964:19;14048:2;14036:10;14032:19;14029:1;14025:27;14019:4;14015:38;14084:4;14072:10;14069:20;14066:47;;;-1:-1:-1;14107:4:1;14066:47;14162:2;14157:3;14153:12;14150:1;14146:20;14140:4;14136:31;14126:41;;14217:82;14235:2;14228:5;14225:13;14217:82;;;14280:17;;;14261:1;14250:13;14217:82;;14491:1352;14617:3;14611:10;14644:18;14636:6;14633:30;14630:56;;;14666:18;;:::i;:::-;14695:97;14785:6;14745:38;14777:4;14771:11;14745:38;:::i;:::-;14739:4;14695:97;:::i;:::-;14847:4;;14911:2;14900:14;;14928:1;14923:663;;;;15630:1;15647:6;15644:89;;;-1:-1:-1;15699:19:1;;;15693:26;15644:89;-1:-1:-1;;14448:1:1;14444:11;;;14440:24;14436:29;14426:40;14472:1;14468:11;;;14423:57;15746:81;;14893:944;;14923:663;13717:1;13710:14;;;13754:4;13741:18;;-1:-1:-1;;14959:20:1;;;15077:236;15091:7;15088:1;15085:14;15077:236;;;15180:19;;;15174:26;15159:42;;15272:27;;;;15240:1;15228:14;;;;15107:19;;15077:236;;;15081:3;15341:6;15332:7;15329:19;15326:201;;;15402:19;;;15396:26;-1:-1:-1;;15485:1:1;15481:14;;;15497:3;15477:24;15473:37;15469:42;15454:58;15439:74;;15326:201;-1:-1:-1;;;;;15573:1:1;15557:14;;;15553:22;15540:36;;-1:-1:-1;14491:1352:1:o;15980:217::-;16020:1;16046;16036:132;;16090:10;16085:3;16081:20;16078:1;16071:31;16125:4;16122:1;16115:15;16153:4;16150:1;16143:15;16036:132;-1:-1:-1;16182:9:1;;15980:217::o;16202:168::-;16275:9;;;16306;;16323:15;;;16317:22;;16303:37;16293:71;;16344:18;;:::i;16375:184::-;16445:6;16498:2;16486:9;16477:7;16473:23;16469:32;16466:52;;;16514:1;16511;16504:12;16466:52;-1:-1:-1;16537:16:1;;16375:184;-1:-1:-1;16375:184:1:o;17276:1187::-;17553:3;17582:1;17615:6;17609:13;17645:36;17671:9;17645:36;:::i;:::-;17700:1;17717:18;;;17744:133;;;;17891:1;17886:356;;;;17710:532;;17744:133;-1:-1:-1;;17777:24:1;;17765:37;;17850:14;;17843:22;17831:35;;17822:45;;;-1:-1:-1;17744:133:1;;17886:356;17917:6;17914:1;17907:17;17947:4;17992:2;17989:1;17979:16;18017:1;18031:165;18045:6;18042:1;18039:13;18031:165;;;18123:14;;18110:11;;;18103:35;18166:16;;;;18060:10;;18031:165;;;18035:3;;;18225:6;18220:3;18216:16;18209:23;;17710:532;;;;;18273:6;18267:13;18289:68;18348:8;18343:3;18336:4;18328:6;18324:17;18289:68;:::i;:::-;-1:-1:-1;;;18379:18:1;;18406:22;;;18455:1;18444:13;;17276:1187;-1:-1:-1;;;;17276:1187:1:o;20231:128::-;20298:9;;;20319:11;;;20316:37;;;20333:18;;:::i;20364:489::-;-1:-1:-1;;;;;20633:15:1;;;20615:34;;20685:15;;20680:2;20665:18;;20658:43;20732:2;20717:18;;20710:34;;;20780:3;20775:2;20760:18;;20753:31;;;20558:4;;20801:46;;20827:19;;20819:6;20801:46;:::i;:::-;20793:54;20364:489;-1:-1:-1;;;;;;20364:489:1:o;20858:249::-;20927:6;20980:2;20968:9;20959:7;20955:23;20951:32;20948:52;;;20996:1;20993;20986:12;20948:52;21028:9;21022:16;21047:30;21071:5;21047:30;:::i;21346:245::-;21413:6;21466:2;21454:9;21445:7;21441:23;21437:32;21434:52;;;21482:1;21479;21472:12;21434:52;21514:9;21508:16;21533:28;21555:5;21533:28;:::i;22414:287::-;22543:3;22581:6;22575:13;22597:66;22656:6;22651:3;22644:4;22636:6;22632:17;22597:66;:::i;:::-;22679:16;;;;;22414:287;-1:-1:-1;;22414:287:1:o
Swarm Source
ipfs://974f5c8e03253af1dd8c39ebe166205c9325bfc4e23802529a837828ef350819
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.