ERC-721
Overview
Max Total Supply
7,500 POLAROIDS
Holders
3,317
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
10 POLAROIDSLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
DownbadPolaroids
Compiler Version
v0.8.9+commit.e5eed63a
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-06-09 */ // File: erc721a/contracts/IERC721A.sol // ERC721A Contracts v4.0.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(); /** * The caller cannot approve to the current owner. */ error ApprovalToCurrentOwner(); /** * 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(); 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; } /** * @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); } // File: erc721a/contracts/ERC721A.sol // ERC721A Contracts v4.0.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 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` 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 0; } /** * @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 == 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 auxillary 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 auxillary 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; assembly { // Cast aux without masking. 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; } /** * 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 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, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } /** * @dev Casts the address to uint256 without masking. */ function _addressToUint256(address value) private pure returns (uint256 result) { assembly { result := value } } /** * @dev Casts the boolean to uint256 without branching. */ function _boolToUint256(bool value) private pure returns (uint256 result) { assembly { result := value } } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public override { address owner = address(uint160(_packedOwnershipOf(tokenId))); if (to == owner) revert ApprovalToCurrentOwner(); 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-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { _transfer(from, to, tokenId); } /** * @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 { _transfer(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. * * Emits a {Transfer} event. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) 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 or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1 // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1 unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the balance and number minted. _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] = _addressToUint256(to) | (block.timestamp << BITPOS_START_TIMESTAMP) | (_boolToUint256(quantity == 1) << BITPOS_NEXT_INITIALIZED); uint256 updatedIndex = startTokenId; uint256 end = updatedIndex + quantity; if (to.code.length != 0) { do { emit Transfer(address(0), to, updatedIndex); if (!_checkContractOnERC721Received(address(0), to, updatedIndex++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (updatedIndex < end); // Reentrancy protection if (_currentIndex != startTokenId) revert(); } else { do { emit Transfer(address(0), to, updatedIndex++); } while (updatedIndex < end); } _currentIndex = updatedIndex; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @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. */ 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 or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1 // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1 unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the balance and number minted. _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] = _addressToUint256(to) | (block.timestamp << BITPOS_START_TIMESTAMP) | (_boolToUint256(quantity == 1) << BITPOS_NEXT_INITIALIZED); uint256 updatedIndex = startTokenId; uint256 end = updatedIndex + quantity; do { emit Transfer(address(0), to, updatedIndex++); } while (updatedIndex < end); _currentIndex = updatedIndex; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) private { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner(); bool isApprovedOrOwner = (_msgSenderERC721A() == from || isApprovedForAll(from, _msgSenderERC721A()) || getApproved(tokenId) == _msgSenderERC721A()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner. delete _tokenApprovals[tokenId]; // 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] = _addressToUint256(to) | (block.timestamp << BITPOS_START_TIMESTAMP) | BITMASK_NEXT_INITIALIZED; // 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)); if (approvalCheck) { bool isApprovedOrOwner = (_msgSenderERC721A() == from || isApprovedForAll(from, _msgSenderERC721A()) || getApproved(tokenId) == _msgSenderERC721A()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner. delete _tokenApprovals[tokenId]; // 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] = _addressToUint256(from) | (block.timestamp << BITPOS_START_TIMESTAMP) | BITMASK_BURNED | BITMASK_NEXT_INITIALIZED; // 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 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: erc721a/contracts/extensions/IERC721AQueryable.sol // ERC721A Contracts v4.0.0 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of an ERC721AQueryable compliant contract. */ interface IERC721AQueryable is IERC721A { /** * Invalid query range (`start` >= `stop`). */ error InvalidQueryRange(); /** * @dev Returns the `TokenOwnership` struct at `tokenId` without reverting. * * If the `tokenId` is out of bounds: * - `addr` = `address(0)` * - `startTimestamp` = `0` * - `burned` = `false` * * If the `tokenId` is burned: * - `addr` = `<Address of owner before token was burned>` * - `startTimestamp` = `<Timestamp when token was burned>` * - `burned = `true` * * Otherwise: * - `addr` = `<Address of owner>` * - `startTimestamp` = `<Timestamp of start of ownership>` * - `burned = `false` */ function explicitOwnershipOf(uint256 tokenId) external view returns (TokenOwnership memory); /** * @dev Returns an array of `TokenOwnership` structs at `tokenIds` in order. * See {ERC721AQueryable-explicitOwnershipOf} */ function explicitOwnershipsOf(uint256[] memory tokenIds) external view returns (TokenOwnership[] memory); /** * @dev Returns an array of token IDs owned by `owner`, * in the range [`start`, `stop`) * (i.e. `start <= tokenId < stop`). * * This function allows for tokens to be queried if the collection * grows too big for a single call of {ERC721AQueryable-tokensOfOwner}. * * Requirements: * * - `start` < `stop` */ function tokensOfOwnerIn( address owner, uint256 start, uint256 stop ) external view returns (uint256[] memory); /** * @dev Returns an array of token IDs owned by `owner`. * * This function scans the ownership mapping and is O(totalSupply) in complexity. * It is meant to be called off-chain. * * See {ERC721AQueryable-tokensOfOwnerIn} for splitting the scan into * multiple smaller scans if the collection is large enough to cause * an out-of-gas error (10K pfp collections should be fine). */ function tokensOfOwner(address owner) external view returns (uint256[] memory); } // File: erc721a/contracts/extensions/ERC721AQueryable.sol // ERC721A Contracts v4.0.0 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @title ERC721A Queryable * @dev ERC721A subclass with convenience query functions. */ abstract contract ERC721AQueryable is ERC721A, IERC721AQueryable { /** * @dev Returns the `TokenOwnership` struct at `tokenId` without reverting. * * If the `tokenId` is out of bounds: * - `addr` = `address(0)` * - `startTimestamp` = `0` * - `burned` = `false` * * If the `tokenId` is burned: * - `addr` = `<Address of owner before token was burned>` * - `startTimestamp` = `<Timestamp when token was burned>` * - `burned = `true` * * Otherwise: * - `addr` = `<Address of owner>` * - `startTimestamp` = `<Timestamp of start of ownership>` * - `burned = `false` */ function explicitOwnershipOf(uint256 tokenId) public view override returns (TokenOwnership memory) { TokenOwnership memory ownership; if (tokenId < _startTokenId() || tokenId >= _nextTokenId()) { return ownership; } ownership = _ownershipAt(tokenId); if (ownership.burned) { return ownership; } return _ownershipOf(tokenId); } /** * @dev Returns an array of `TokenOwnership` structs at `tokenIds` in order. * See {ERC721AQueryable-explicitOwnershipOf} */ function explicitOwnershipsOf(uint256[] memory tokenIds) external view override returns (TokenOwnership[] memory) { unchecked { uint256 tokenIdsLength = tokenIds.length; TokenOwnership[] memory ownerships = new TokenOwnership[](tokenIdsLength); for (uint256 i; i != tokenIdsLength; ++i) { ownerships[i] = explicitOwnershipOf(tokenIds[i]); } return ownerships; } } /** * @dev Returns an array of token IDs owned by `owner`, * in the range [`start`, `stop`) * (i.e. `start <= tokenId < stop`). * * This function allows for tokens to be queried if the collection * grows too big for a single call of {ERC721AQueryable-tokensOfOwner}. * * Requirements: * * - `start` < `stop` */ function tokensOfOwnerIn( address owner, uint256 start, uint256 stop ) external view override returns (uint256[] memory) { unchecked { if (start >= stop) revert InvalidQueryRange(); uint256 tokenIdsIdx; uint256 stopLimit = _nextTokenId(); // Set `start = max(start, _startTokenId())`. if (start < _startTokenId()) { start = _startTokenId(); } // Set `stop = min(stop, stopLimit)`. if (stop > stopLimit) { stop = stopLimit; } uint256 tokenIdsMaxLength = balanceOf(owner); // Set `tokenIdsMaxLength = min(balanceOf(owner), stop - start)`, // to cater for cases where `balanceOf(owner)` is too big. if (start < stop) { uint256 rangeLength = stop - start; if (rangeLength < tokenIdsMaxLength) { tokenIdsMaxLength = rangeLength; } } else { tokenIdsMaxLength = 0; } uint256[] memory tokenIds = new uint256[](tokenIdsMaxLength); if (tokenIdsMaxLength == 0) { return tokenIds; } // We need to call `explicitOwnershipOf(start)`, // because the slot at `start` may not be initialized. TokenOwnership memory ownership = explicitOwnershipOf(start); address currOwnershipAddr; // If the starting slot exists (i.e. not burned), initialize `currOwnershipAddr`. // `ownership.address` will not be zero, as `start` is clamped to the valid token ID range. if (!ownership.burned) { currOwnershipAddr = ownership.addr; } for (uint256 i = start; i != stop && tokenIdsIdx != tokenIdsMaxLength; ++i) { ownership = _ownershipAt(i); if (ownership.burned) { continue; } if (ownership.addr != address(0)) { currOwnershipAddr = ownership.addr; } if (currOwnershipAddr == owner) { tokenIds[tokenIdsIdx++] = i; } } // Downsize the array to fit. assembly { mstore(tokenIds, tokenIdsIdx) } return tokenIds; } } /** * @dev Returns an array of token IDs owned by `owner`. * * This function scans the ownership mapping and is O(totalSupply) in complexity. * It is meant to be called off-chain. * * See {ERC721AQueryable-tokensOfOwnerIn} for splitting the scan into * multiple smaller scans if the collection is large enough to cause * an out-of-gas error (10K pfp collections should be fine). */ function tokensOfOwner(address owner) external view override returns (uint256[] memory) { unchecked { uint256 tokenIdsIdx; address currOwnershipAddr; uint256 tokenIdsLength = balanceOf(owner); uint256[] memory tokenIds = new uint256[](tokenIdsLength); TokenOwnership memory ownership; for (uint256 i = _startTokenId(); tokenIdsIdx != tokenIdsLength; ++i) { ownership = _ownershipAt(i); if (ownership.burned) { continue; } if (ownership.addr != address(0)) { currOwnershipAddr = ownership.addr; } if (currOwnershipAddr == owner) { tokenIds[tokenIdsIdx++] = i; } } return tokenIds; } } } // File: @openzeppelin/contracts/utils/Strings.sol // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } } // File: @openzeppelin/contracts/utils/Address.sol // OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } // File: @openzeppelin/contracts/utils/introspection/IERC165.sol // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); } // File: @openzeppelin/contracts/utils/introspection/ERC165.sol // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } } // File: @openzeppelin/contracts/interfaces/IERC2981.sol // OpenZeppelin Contracts (last updated v4.6.0) (interfaces/IERC2981.sol) pragma solidity ^0.8.0; /** * @dev Interface for the NFT Royalty Standard. * * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal * support for royalty payments across all NFT marketplaces and ecosystem participants. * * _Available since v4.5._ */ interface IERC2981 is IERC165 { /** * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of * exchange. The royalty amount is denominated and should be paid in that same unit of exchange. */ function royaltyInfo(uint256 tokenId, uint256 salePrice) external view returns (address receiver, uint256 royaltyAmount); } // File: @openzeppelin/contracts/token/common/ERC2981.sol // OpenZeppelin Contracts (last updated v4.6.0) (token/common/ERC2981.sol) pragma solidity ^0.8.0; /** * @dev Implementation of the NFT Royalty Standard, a standardized way to retrieve royalty payment information. * * Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for * specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first. * * Royalty is specified as a fraction of sale price. {_feeDenominator} is overridable but defaults to 10000, meaning the * fee is specified in basis points by default. * * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported. * * _Available since v4.5._ */ abstract contract ERC2981 is IERC2981, ERC165 { struct RoyaltyInfo { address receiver; uint96 royaltyFraction; } RoyaltyInfo private _defaultRoyaltyInfo; mapping(uint256 => RoyaltyInfo) private _tokenRoyaltyInfo; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC165) returns (bool) { return interfaceId == type(IERC2981).interfaceId || super.supportsInterface(interfaceId); } /** * @inheritdoc IERC2981 */ function royaltyInfo(uint256 _tokenId, uint256 _salePrice) public view virtual override returns (address, uint256) { RoyaltyInfo memory royalty = _tokenRoyaltyInfo[_tokenId]; if (royalty.receiver == address(0)) { royalty = _defaultRoyaltyInfo; } uint256 royaltyAmount = (_salePrice * royalty.royaltyFraction) / _feeDenominator(); return (royalty.receiver, royaltyAmount); } /** * @dev The denominator with which to interpret the fee set in {_setTokenRoyalty} and {_setDefaultRoyalty} as a * fraction of the sale price. Defaults to 10000 so fees are expressed in basis points, but may be customized by an * override. */ function _feeDenominator() internal pure virtual returns (uint96) { return 10000; } /** * @dev Sets the royalty information that all ids in this contract will default to. * * Requirements: * * - `receiver` cannot be the zero address. * - `feeNumerator` cannot be greater than the fee denominator. */ function _setDefaultRoyalty(address receiver, uint96 feeNumerator) internal virtual { require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice"); require(receiver != address(0), "ERC2981: invalid receiver"); _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator); } /** * @dev Removes default royalty information. */ function _deleteDefaultRoyalty() internal virtual { delete _defaultRoyaltyInfo; } /** * @dev Sets the royalty information for a specific token id, overriding the global default. * * Requirements: * * - `tokenId` must be already minted. * - `receiver` cannot be the zero address. * - `feeNumerator` cannot be greater than the fee denominator. */ function _setTokenRoyalty( uint256 tokenId, address receiver, uint96 feeNumerator ) internal virtual { require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice"); require(receiver != address(0), "ERC2981: Invalid parameters"); _tokenRoyaltyInfo[tokenId] = RoyaltyInfo(receiver, feeNumerator); } /** * @dev Resets royalty information for the token id back to the global default. */ function _resetTokenRoyalty(uint256 tokenId) internal virtual { delete _tokenRoyaltyInfo[tokenId]; } } // 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/access/Ownable.sol // OpenZeppelin Contracts v4.4.1 (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 Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } // File: GRIND/4-4DownbadPolaroids.sol pragma solidity ^0.8.9; contract DownbadPolaroids is ERC2981, ERC721AQueryable, Ownable { using Address for address payable; using Strings for uint256; uint256 public immutable _price; uint32 public immutable _txLimit; uint32 public immutable _maxSupply; uint32 public immutable _teamReserved; uint32 public immutable _walletLimit; bool public _started; uint32 public _teamMinted; string public _metadataURI = "https://downbadpolaroids.com/nft/"; struct HelperState { uint256 price; uint32 txLimit; uint32 walletLimit; uint32 maxSupply; uint32 teamReserved; uint32 totalMinted; uint32 userMinted; bool started; } constructor( uint256 price, uint32 maxSupply, uint32 txLimit, uint32 walletLimit, uint32 teamReserved) ERC721A("Downbad Polaroids", "POLAROIDS") { _price = price; _maxSupply = maxSupply; _txLimit = txLimit; _walletLimit = walletLimit; _teamReserved = teamReserved; _setDefaultRoyalty(owner(), 500); } function mint(uint32 amount) external payable { require(_started, "Sale is not started"); require(amount + _totalMinted() <= _maxSupply - _teamReserved, "Exceed max supply"); require(amount <= _txLimit, "Exceed transaction limit"); uint256 minted = _numberMinted(msg.sender); if (minted > 0) { require(msg.value >= amount * _price, "Insufficient funds"); } else { require(msg.value >= (amount - 1) * _price, "Insufficient funds"); } require(minted + amount <= _walletLimit, "Exceed wallet limit"); _safeMint(msg.sender, amount); } function _state(address minter) external view returns (HelperState memory) { return HelperState({ price: _price, txLimit: _txLimit, walletLimit: _walletLimit, maxSupply: _maxSupply, teamReserved: _teamReserved, totalMinted: uint32(ERC721A._totalMinted()), userMinted: uint32(_numberMinted(minter)), started: _started }); } function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _metadataURI; return string(abi.encodePacked(baseURI, tokenId.toString(), "")); } function supportsInterface(bytes4 interfaceId) public view virtual override(ERC2981, ERC721A) returns (bool) { return interfaceId == type(IERC2981).interfaceId || interfaceId == type(IERC721A).interfaceId || super.supportsInterface(interfaceId); } function devMint(address to, uint32 amount) external onlyOwner { _teamMinted += amount; require (_teamMinted <= _teamReserved, "Exceed max supply"); _safeMint(to, amount); } function setFeeNumerator(uint96 feeNumerator) external onlyOwner { _setDefaultRoyalty(owner(), feeNumerator); } function setStarted(bool started) external onlyOwner { _started = started; } function setMetadataURI(string memory uri) external onlyOwner { _metadataURI = uri; } function withdraw() external onlyOwner { payable(msg.sender).sendValue(address(this).balance); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"uint256","name":"price","type":"uint256"},{"internalType":"uint32","name":"maxSupply","type":"uint32"},{"internalType":"uint32","name":"txLimit","type":"uint32"},{"internalType":"uint32","name":"walletLimit","type":"uint32"},{"internalType":"uint32","name":"teamReserved","type":"uint32"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"InvalidQueryRange","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","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":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"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":"_maxSupply","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_metadataURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_started","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"minter","type":"address"}],"name":"_state","outputs":[{"components":[{"internalType":"uint256","name":"price","type":"uint256"},{"internalType":"uint32","name":"txLimit","type":"uint32"},{"internalType":"uint32","name":"walletLimit","type":"uint32"},{"internalType":"uint32","name":"maxSupply","type":"uint32"},{"internalType":"uint32","name":"teamReserved","type":"uint32"},{"internalType":"uint32","name":"totalMinted","type":"uint32"},{"internalType":"uint32","name":"userMinted","type":"uint32"},{"internalType":"bool","name":"started","type":"bool"}],"internalType":"struct DownbadPolaroids.HelperState","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_teamMinted","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_teamReserved","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_txLimit","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_walletLimit","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"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":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint32","name":"amount","type":"uint32"}],"name":"devMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"explicitOwnershipOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"}],"internalType":"struct IERC721A.TokenOwnership","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"explicitOwnershipsOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"}],"internalType":"struct IERC721A.TokenOwnership[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint32","name":"amount","type":"uint32"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"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":"uint96","name":"feeNumerator","type":"uint96"}],"name":"setFeeNumerator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"uri","type":"string"}],"name":"setMetadataURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"started","type":"bool"}],"name":"setStarted","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"start","type":"uint256"},{"internalType":"uint256","name":"stop","type":"uint256"}],"name":"tokensOfOwnerIn","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
61018060405260216101208181529062002ed06101403980516200002c91600b9160209091019062000284565b503480156200003a57600080fd5b5060405162002ef138038062002ef18339810160408190526200005d9162000344565b6040805180820182526011815270446f776e62616420506f6c61726f69647360781b602080830191825283518085019094526009845268504f4c41524f49445360b81b908401528151919291620000b79160049162000284565b508051620000cd90600590602084019062000284565b5050600060025550620000e0336200012d565b608085905263ffffffff80851660c05283811660a05282811661010052811660e0526200012262000119600a546001600160a01b031690565b6101f46200017f565b5050505050620003e8565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6127106001600160601b0382161115620001f35760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b60648201526084015b60405180910390fd5b6001600160a01b0382166200024b5760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c6964207265636569766572000000000000006044820152606401620001ea565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600055565b8280546200029290620003ab565b90600052602060002090601f016020900481019282620002b6576000855562000301565b82601f10620002d157805160ff191683800117855562000301565b8280016001018555821562000301579182015b8281111562000301578251825591602001919060010190620002e4565b506200030f92915062000313565b5090565b5b808211156200030f576000815560010162000314565b805163ffffffff811681146200033f57600080fd5b919050565b600080600080600060a086880312156200035d57600080fd5b855194506200036f602087016200032a565b93506200037f604087016200032a565b92506200038f606087016200032a565b91506200039f608087016200032a565b90509295509295909350565b600181811c90821680620003c057607f821691505b60208210811415620003e257634e487b7160e01b600052602260045260246000fd5b50919050565b60805160a05160c05160e05161010051612a4f62000481600039600081816102e201528181610c2e01526114a9015260008181610767015281816109ec01528181610c86015261126901526000818161036e01528181610c5a015261128a01526000818161050501528181610c0201526113110152600081816103a201528181610bdc015281816113b301526114290152612a4f6000f3fe60806040526004361061021a5760003560e01c8063653a819e11610123578063a71bbebe116100ab578063dd48f07d1161006f578063dd48f07d146106d1578063e985e9c5146106f5578063ef6b141a14610715578063f2fde38b14610735578063f4e2ae581461075557600080fd5b8063a71bbebe1461063c578063b88d4fde1461064f578063c23dc68f1461066f578063c87b56dd1461069c578063d4a67623146106bc57600080fd5b80638462151c116100f25780638462151c1461059c5780638da5cb5b146105c957806395d89b41146105e757806399a2557a146105fc578063a22cb4651461061c57600080fd5b8063653a819e1461052757806370a0823114610547578063715018a614610567578063750521f51461057c57600080fd5b806323b872dd116101a65780634df22a54116101755780634df22a54146104585780634df8bb45146104795780635bbb2177146104a65780636352211e146104d357806363553e7c146104f357600080fd5b806323b872dd146103c45780632a55205a146103e45780633ccfd60b1461042357806342842e0e1461043857600080fd5b80630e2351e2116101ed5780630e2351e2146102d057806317a5aced1461031957806318160ddd1461033957806322f4596f1461035c578063235b6ea11461039057600080fd5b806301ffc9a71461021f57806306fdde0314610254578063081812fc14610276578063095ea7b3146102ae575b600080fd5b34801561022b57600080fd5b5061023f61023a366004612219565b610789565b60405190151581526020015b60405180910390f35b34801561026057600080fd5b506102696107cf565b60405161024b919061228e565b34801561028257600080fd5b506102966102913660046122a1565b610861565b6040516001600160a01b03909116815260200161024b565b3480156102ba57600080fd5b506102ce6102c93660046122d6565b6108a5565b005b3480156102dc57600080fd5b506103047f000000000000000000000000000000000000000000000000000000000000000081565b60405163ffffffff909116815260200161024b565b34801561032557600080fd5b506102ce610334366004612314565b610978565b34801561034557600080fd5b50600354600254035b60405190815260200161024b565b34801561036857600080fd5b506103047f000000000000000000000000000000000000000000000000000000000000000081565b34801561039c57600080fd5b5061034e7f000000000000000000000000000000000000000000000000000000000000000081565b3480156103d057600080fd5b506102ce6103df366004612347565b610a80565b3480156103f057600080fd5b506104046103ff366004612383565b610a90565b604080516001600160a01b03909316835260208301919091520161024b565b34801561042f57600080fd5b506102ce610b3c565b34801561044457600080fd5b506102ce610453366004612347565b610b72565b34801561046457600080fd5b50600a5461023f90600160a01b900460ff1681565b34801561048557600080fd5b506104996104943660046123a5565b610b8d565b60405161024b91906123c0565b3480156104b257600080fd5b506104c66104c136600461247d565b610d13565b60405161024b9190612522565b3480156104df57600080fd5b506102966104ee3660046122a1565b610dd9565b3480156104ff57600080fd5b506103047f000000000000000000000000000000000000000000000000000000000000000081565b34801561053357600080fd5b506102ce61054236600461258c565b610de4565b34801561055357600080fd5b5061034e6105623660046123a5565b610e2c565b34801561057357600080fd5b506102ce610e7a565b34801561058857600080fd5b506102ce61059736600461260c565b610eae565b3480156105a857600080fd5b506105bc6105b73660046123a5565b610eeb565b60405161024b9190612654565b3480156105d557600080fd5b50600a546001600160a01b0316610296565b3480156105f357600080fd5b50610269610ff3565b34801561060857600080fd5b506105bc61061736600461268c565b611002565b34801561062857600080fd5b506102ce6106373660046126cf565b61117f565b6102ce61064a3660046126f9565b611215565b34801561065b57600080fd5b506102ce61066a366004612714565b611534565b34801561067b57600080fd5b5061068f61068a3660046122a1565b61157e565b60405161024b919061278f565b3480156106a857600080fd5b506102696106b73660046122a1565b6115e7565b3480156106c857600080fd5b506102696116d0565b3480156106dd57600080fd5b50600a5461030490600160a81b900463ffffffff1681565b34801561070157600080fd5b5061023f6107103660046127c4565b61175e565b34801561072157600080fd5b506102ce6107303660046127ee565b61178c565b34801561074157600080fd5b506102ce6107503660046123a5565b6117d4565b34801561076157600080fd5b506103047f000000000000000000000000000000000000000000000000000000000000000081565b60006001600160e01b0319821663152a902d60e11b14806107ba57506001600160e01b0319821663184371e560e31b145b806107c957506107c98261186c565b92915050565b6060600480546107de90612809565b80601f016020809104026020016040519081016040528092919081815260200182805461080a90612809565b80156108575780601f1061082c57610100808354040283529160200191610857565b820191906000526020600020905b81548152906001019060200180831161083a57829003601f168201915b5050505050905090565b600061086c826118ba565b610889576040516333d1c03960e21b815260040160405180910390fd5b506000908152600860205260409020546001600160a01b031690565b60006108b0826118e2565b9050806001600160a01b0316836001600160a01b031614156108e55760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b0382161461091c576108ff813361175e565b61091c576040516367d9dca160e11b815260040160405180910390fd5b60008281526008602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600a546001600160a01b031633146109ab5760405162461bcd60e51b81526004016109a290612844565b60405180910390fd5b80600a60158282829054906101000a900463ffffffff166109cc919061288f565b92506101000a81548163ffffffff021916908363ffffffff1602179055507f000000000000000000000000000000000000000000000000000000000000000063ffffffff16600a60159054906101000a900463ffffffff1663ffffffff161115610a6c5760405162461bcd60e51b8152602060048201526011602482015270457863656564206d617820737570706c7960781b60448201526064016109a2565b610a7c828263ffffffff16611943565b5050565b610a8b83838361195d565b505050565b60008281526001602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b0316928201929092528291610b055750604080518082019091526000546001600160a01b0381168252600160a01b90046001600160601b031660208201525b602081015160009061271090610b24906001600160601b0316876128b7565b610b2e91906128ec565b915196919550909350505050565b600a546001600160a01b03163314610b665760405162461bcd60e51b81526004016109a290612844565b610b703347611b00565b565b610a8b83838360405180602001604052806000815250611534565b6040805161010081018252600080825260208201819052918101829052606081018290526080810182905260a0810182905260c0810182905260e08101919091526040518061010001604052807f000000000000000000000000000000000000000000000000000000000000000081526020017f000000000000000000000000000000000000000000000000000000000000000063ffffffff1681526020017f000000000000000000000000000000000000000000000000000000000000000063ffffffff1681526020017f000000000000000000000000000000000000000000000000000000000000000063ffffffff1681526020017f000000000000000000000000000000000000000000000000000000000000000063ffffffff168152602001610cb960025490565b63ffffffff168152602001610cf0846001600160a01b03166000908152600760205260409081902054901c6001600160401b031690565b63ffffffff168152600a54600160a01b900460ff16151560209091015292915050565b80516060906000816001600160401b03811115610d3257610d32612437565b604051908082528060200260200182016040528015610d7d57816020015b6040805160608101825260008082526020808301829052928201528252600019909201910181610d505790505b50905060005b828114610dd157610dac858281518110610d9f57610d9f612900565b602002602001015161157e565b828281518110610dbe57610dbe612900565b6020908102919091010152600101610d83565b509392505050565b60006107c9826118e2565b600a546001600160a01b03163314610e0e5760405162461bcd60e51b81526004016109a290612844565b610e29610e23600a546001600160a01b031690565b82611c19565b50565b60006001600160a01b038216610e55576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600760205260409020546001600160401b031690565b600a546001600160a01b03163314610ea45760405162461bcd60e51b81526004016109a290612844565b610b706000611d16565b600a546001600160a01b03163314610ed85760405162461bcd60e51b81526004016109a290612844565b8051610a7c90600b90602084019061216a565b60606000806000610efb85610e2c565b90506000816001600160401b03811115610f1757610f17612437565b604051908082528060200260200182016040528015610f40578160200160208202803683370190505b509050610f66604080516060810182526000808252602082018190529181019190915290565b60005b838614610fe757610f7981611d68565b9150816040015115610f8a57610fdf565b81516001600160a01b031615610f9f57815194505b876001600160a01b0316856001600160a01b03161415610fdf5780838780600101985081518110610fd257610fd2612900565b6020026020010181815250505b600101610f69565b50909695505050505050565b6060600580546107de90612809565b606081831061102457604051631960ccad60e11b815260040160405180910390fd5b60008061103060025490565b90508084111561103e578093505b600061104987610e2c565b9050848610156110685785850381811015611062578091505b5061106c565b5060005b6000816001600160401b0381111561108657611086612437565b6040519080825280602002602001820160405280156110af578160200160208202803683370190505b509050816110c257935061117892505050565b60006110cd8861157e565b9050600081604001516110de575080515b885b8881141580156110f05750848714155b1561116c576110fe81611d68565b925082604001511561110f57611164565b82516001600160a01b03161561112457825191505b8a6001600160a01b0316826001600160a01b03161415611164578084888060010199508151811061115757611157612900565b6020026020010181815250505b6001016110e0565b50505092835250909150505b9392505050565b6001600160a01b0382163314156111a95760405163b06307db60e01b815260040160405180910390fd5b3360008181526009602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600a54600160a01b900460ff166112645760405162461bcd60e51b815260206004820152601360248201527214d85b19481a5cc81b9bdd081cdd185c9d1959606a1b60448201526064016109a2565b6112ae7f00000000000000000000000000000000000000000000000000000000000000007f0000000000000000000000000000000000000000000000000000000000000000612916565b63ffffffff166112bd60025490565b6112cd9063ffffffff841661293b565b111561130f5760405162461bcd60e51b8152602060048201526011602482015270457863656564206d617820737570706c7960781b60448201526064016109a2565b7f000000000000000000000000000000000000000000000000000000000000000063ffffffff168163ffffffff16111561138b5760405162461bcd60e51b815260206004820152601860248201527f457863656564207472616e73616374696f6e206c696d6974000000000000000060448201526064016109a2565b336000908152600760205260409081902054901c6001600160401b03168015611427576113de7f000000000000000000000000000000000000000000000000000000000000000063ffffffff84166128b7565b3410156114225760405162461bcd60e51b8152602060048201526012602482015271496e73756666696369656e742066756e647360701b60448201526064016109a2565b6114a7565b7f0000000000000000000000000000000000000000000000000000000000000000611453600184612916565b63ffffffff1661146391906128b7565b3410156114a75760405162461bcd60e51b8152602060048201526012602482015271496e73756666696369656e742066756e647360701b60448201526064016109a2565b7f000000000000000000000000000000000000000000000000000000000000000063ffffffff168263ffffffff16826114e0919061293b565b11156115245760405162461bcd60e51b8152602060048201526013602482015272115e18d95959081dd85b1b195d081b1a5b5a5d606a1b60448201526064016109a2565b610a7c338363ffffffff16611943565b61153f84848461195d565b6001600160a01b0383163b156115785761155b84848484611d9d565b611578576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b60408051606080820183526000808352602080840182905283850182905284519283018552818352820181905292810183905290915060025483106115c35792915050565b6115cc83611d68565b90508060400151156115de5792915050565b61117883611e95565b60606115f2826118ba565b61160f57604051630a14c4b560e41b815260040160405180910390fd5b6000600b805461161e90612809565b80601f016020809104026020016040519081016040528092919081815260200182805461164a90612809565b80156116975780601f1061166c57610100808354040283529160200191611697565b820191906000526020600020905b81548152906001019060200180831161167a57829003601f168201915b50505050509050806116a884611ec3565b6040516020016116b9929190612953565b604051602081830303815290604052915050919050565b600b80546116dd90612809565b80601f016020809104026020016040519081016040528092919081815260200182805461170990612809565b80156117565780601f1061172b57610100808354040283529160200191611756565b820191906000526020600020905b81548152906001019060200180831161173957829003601f168201915b505050505081565b6001600160a01b03918216600090815260096020908152604080832093909416825291909152205460ff1690565b600a546001600160a01b031633146117b65760405162461bcd60e51b81526004016109a290612844565b600a8054911515600160a01b0260ff60a01b19909216919091179055565b600a546001600160a01b031633146117fe5760405162461bcd60e51b81526004016109a290612844565b6001600160a01b0381166118635760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016109a2565b610e2981611d16565b60006301ffc9a760e01b6001600160e01b03198316148061189d57506380ac58cd60e01b6001600160e01b03198316145b806107c95750506001600160e01b031916635b5e139f60e01b1490565b6000600254821080156107c9575050600090815260066020526040902054600160e01b161590565b60008160025481101561192a57600081815260066020526040902054600160e01b8116611928575b8061117857506000190160008181526006602052604090205461190a565b505b604051636f96cda160e11b815260040160405180910390fd5b610a7c828260405180602001604052806000815250611fc0565b6000611968826118e2565b9050836001600160a01b0316816001600160a01b03161461199b5760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b03861614806119b957506119b9853361175e565b806119d45750336119c984610861565b6001600160a01b0316145b9050806119f457604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038416611a1b57604051633a954ecd60e21b815260040160405180910390fd5b600083815260086020908152604080832080546001600160a01b03191690556001600160a01b038881168452600783528184208054600019019055871683528083208054600101905585835260069091529020600160e11b4260a01b861781179091558216611ab85760018301600081815260066020526040902054611ab6576002548114611ab65760008181526006602052604090208390555b505b82846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050505050565b80471015611b505760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e636500000060448201526064016109a2565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114611b9d576040519150601f19603f3d011682016040523d82523d6000602084013e611ba2565b606091505b5050905080610a8b5760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d6179206861766520726576657274656400000000000060648201526084016109a2565b6127106001600160601b0382161115611c875760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b60648201526084016109a2565b6001600160a01b038216611cdd5760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c69642072656365697665720000000000000060448201526064016109a2565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600055565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60408051606081018252600080825260208201819052918101919091526000828152600660205260409020546107c990612130565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611dd2903390899088908890600401612979565b602060405180830381600087803b158015611dec57600080fd5b505af1925050508015611e1c575060408051601f3d908101601f19168201909252611e19918101906129b6565b60015b611e77573d808015611e4a576040519150601f19603f3d011682016040523d82523d6000602084013e611e4f565b606091505b508051611e6f576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b60408051606081018252600080825260208201819052918101919091526107c9611ebe836118e2565b612130565b606081611ee75750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611f115780611efb816129d3565b9150611f0a9050600a836128ec565b9150611eeb565b6000816001600160401b03811115611f2b57611f2b612437565b6040519080825280601f01601f191660200182016040528015611f55576020820181803683370190505b5090505b8415611e8d57611f6a6001836129ee565b9150611f77600a86612a05565b611f8290603061293b565b60f81b818381518110611f9757611f97612900565b60200101906001600160f81b031916908160001a905350611fb9600a866128ec565b9450611f59565b6002546001600160a01b038416611fe957604051622e076360e81b815260040160405180910390fd5b826120075760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03841660008181526007602090815260408083208054680100000000000000018902019055848352600690915290204260a01b86176001861460e11b1790558190818501903b156120dc575b60405182906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a46120a56000878480600101955087611d9d565b6120c2576040516368d2bf6b60e11b815260040160405180910390fd5b80821061205a5782600254146120d757600080fd5b612121565b5b6040516001830192906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a48082106120dd575b50600255611578600085838684565b604080516060810182526001600160a01b038316815260a083901c6001600160401b03166020820152600160e01b90921615159082015290565b82805461217690612809565b90600052602060002090601f01602090048101928261219857600085556121de565b82601f106121b157805160ff19168380011785556121de565b828001600101855582156121de579182015b828111156121de5782518255916020019190600101906121c3565b506121ea9291506121ee565b5090565b5b808211156121ea57600081556001016121ef565b6001600160e01b031981168114610e2957600080fd5b60006020828403121561222b57600080fd5b813561117881612203565b60005b83811015612251578181015183820152602001612239565b838111156115785750506000910152565b6000815180845261227a816020860160208601612236565b601f01601f19169290920160200192915050565b6020815260006111786020830184612262565b6000602082840312156122b357600080fd5b5035919050565b80356001600160a01b03811681146122d157600080fd5b919050565b600080604083850312156122e957600080fd5b6122f2836122ba565b946020939093013593505050565b803563ffffffff811681146122d157600080fd5b6000806040838503121561232757600080fd5b612330836122ba565b915061233e60208401612300565b90509250929050565b60008060006060848603121561235c57600080fd5b612365846122ba565b9250612373602085016122ba565b9150604084013590509250925092565b6000806040838503121561239657600080fd5b50508035926020909101359150565b6000602082840312156123b757600080fd5b611178826122ba565b60006101008201905082518252602083015163ffffffff80821660208501528060408601511660408501528060608601511660608501528060808601511660808501528060a08601511660a08501528060c08601511660c0850152505060e083015161243060e084018215159052565b5092915050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b038111828210171561247557612475612437565b604052919050565b6000602080838503121561249057600080fd5b82356001600160401b03808211156124a757600080fd5b818501915085601f8301126124bb57600080fd5b8135818111156124cd576124cd612437565b8060051b91506124de84830161244d565b81815291830184019184810190888411156124f857600080fd5b938501935b83851015612516578435825293850193908501906124fd565b98975050505050505050565b6020808252825182820181905260009190848201906040850190845b81811015610fe75761257983855180516001600160a01b031682526020808201516001600160401b0316908301526040908101511515910152565b928401926060929092019160010161253e565b60006020828403121561259e57600080fd5b81356001600160601b038116811461117857600080fd5b60006001600160401b038311156125ce576125ce612437565b6125e1601f8401601f191660200161244d565b90508281528383830111156125f557600080fd5b828260208301376000602084830101529392505050565b60006020828403121561261e57600080fd5b81356001600160401b0381111561263457600080fd5b8201601f8101841361264557600080fd5b611e8d848235602084016125b5565b6020808252825182820181905260009190848201906040850190845b81811015610fe757835183529284019291840191600101612670565b6000806000606084860312156126a157600080fd5b6126aa846122ba565b95602085013595506040909401359392505050565b803580151581146122d157600080fd5b600080604083850312156126e257600080fd5b6126eb836122ba565b915061233e602084016126bf565b60006020828403121561270b57600080fd5b61117882612300565b6000806000806080858703121561272a57600080fd5b612733856122ba565b9350612741602086016122ba565b92506040850135915060608501356001600160401b0381111561276357600080fd5b8501601f8101871361277457600080fd5b612783878235602084016125b5565b91505092959194509250565b81516001600160a01b031681526020808301516001600160401b031690820152604080830151151590820152606081016107c9565b600080604083850312156127d757600080fd5b6127e0836122ba565b915061233e602084016122ba565b60006020828403121561280057600080fd5b611178826126bf565b600181811c9082168061281d57607f821691505b6020821081141561283e57634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b600063ffffffff8083168185168083038211156128ae576128ae612879565b01949350505050565b60008160001904831182151516156128d1576128d1612879565b500290565b634e487b7160e01b600052601260045260246000fd5b6000826128fb576128fb6128d6565b500490565b634e487b7160e01b600052603260045260246000fd5b600063ffffffff8381169083168181101561293357612933612879565b039392505050565b6000821982111561294e5761294e612879565b500190565b60008351612965818460208801612236565b8351908301906128ae818360208801612236565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906129ac90830184612262565b9695505050505050565b6000602082840312156129c857600080fd5b815161117881612203565b60006000198214156129e7576129e7612879565b5060010190565b600082821015612a0057612a00612879565b500390565b600082612a1457612a146128d6565b50069056fea26469706673582212200e58877cbb34495230f6221ab9a63ee9137d4dd1e5697fac121a43decc97d77f64736f6c6343000809003368747470733a2f2f646f776e626164706f6c61726f6964732e636f6d2f6e66742f000000000000000000000000000000000000000000000000000e35fa931a00000000000000000000000000000000000000000000000000000000000000002710000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000c80000000000000000000000000000000000000000000000000000000000000005
Deployed Bytecode
0x60806040526004361061021a5760003560e01c8063653a819e11610123578063a71bbebe116100ab578063dd48f07d1161006f578063dd48f07d146106d1578063e985e9c5146106f5578063ef6b141a14610715578063f2fde38b14610735578063f4e2ae581461075557600080fd5b8063a71bbebe1461063c578063b88d4fde1461064f578063c23dc68f1461066f578063c87b56dd1461069c578063d4a67623146106bc57600080fd5b80638462151c116100f25780638462151c1461059c5780638da5cb5b146105c957806395d89b41146105e757806399a2557a146105fc578063a22cb4651461061c57600080fd5b8063653a819e1461052757806370a0823114610547578063715018a614610567578063750521f51461057c57600080fd5b806323b872dd116101a65780634df22a54116101755780634df22a54146104585780634df8bb45146104795780635bbb2177146104a65780636352211e146104d357806363553e7c146104f357600080fd5b806323b872dd146103c45780632a55205a146103e45780633ccfd60b1461042357806342842e0e1461043857600080fd5b80630e2351e2116101ed5780630e2351e2146102d057806317a5aced1461031957806318160ddd1461033957806322f4596f1461035c578063235b6ea11461039057600080fd5b806301ffc9a71461021f57806306fdde0314610254578063081812fc14610276578063095ea7b3146102ae575b600080fd5b34801561022b57600080fd5b5061023f61023a366004612219565b610789565b60405190151581526020015b60405180910390f35b34801561026057600080fd5b506102696107cf565b60405161024b919061228e565b34801561028257600080fd5b506102966102913660046122a1565b610861565b6040516001600160a01b03909116815260200161024b565b3480156102ba57600080fd5b506102ce6102c93660046122d6565b6108a5565b005b3480156102dc57600080fd5b506103047f00000000000000000000000000000000000000000000000000000000000000c881565b60405163ffffffff909116815260200161024b565b34801561032557600080fd5b506102ce610334366004612314565b610978565b34801561034557600080fd5b50600354600254035b60405190815260200161024b565b34801561036857600080fd5b506103047f000000000000000000000000000000000000000000000000000000000000271081565b34801561039c57600080fd5b5061034e7f000000000000000000000000000000000000000000000000000e35fa931a000081565b3480156103d057600080fd5b506102ce6103df366004612347565b610a80565b3480156103f057600080fd5b506104046103ff366004612383565b610a90565b604080516001600160a01b03909316835260208301919091520161024b565b34801561042f57600080fd5b506102ce610b3c565b34801561044457600080fd5b506102ce610453366004612347565b610b72565b34801561046457600080fd5b50600a5461023f90600160a01b900460ff1681565b34801561048557600080fd5b506104996104943660046123a5565b610b8d565b60405161024b91906123c0565b3480156104b257600080fd5b506104c66104c136600461247d565b610d13565b60405161024b9190612522565b3480156104df57600080fd5b506102966104ee3660046122a1565b610dd9565b3480156104ff57600080fd5b506103047f000000000000000000000000000000000000000000000000000000000000001481565b34801561053357600080fd5b506102ce61054236600461258c565b610de4565b34801561055357600080fd5b5061034e6105623660046123a5565b610e2c565b34801561057357600080fd5b506102ce610e7a565b34801561058857600080fd5b506102ce61059736600461260c565b610eae565b3480156105a857600080fd5b506105bc6105b73660046123a5565b610eeb565b60405161024b9190612654565b3480156105d557600080fd5b50600a546001600160a01b0316610296565b3480156105f357600080fd5b50610269610ff3565b34801561060857600080fd5b506105bc61061736600461268c565b611002565b34801561062857600080fd5b506102ce6106373660046126cf565b61117f565b6102ce61064a3660046126f9565b611215565b34801561065b57600080fd5b506102ce61066a366004612714565b611534565b34801561067b57600080fd5b5061068f61068a3660046122a1565b61157e565b60405161024b919061278f565b3480156106a857600080fd5b506102696106b73660046122a1565b6115e7565b3480156106c857600080fd5b506102696116d0565b3480156106dd57600080fd5b50600a5461030490600160a81b900463ffffffff1681565b34801561070157600080fd5b5061023f6107103660046127c4565b61175e565b34801561072157600080fd5b506102ce6107303660046127ee565b61178c565b34801561074157600080fd5b506102ce6107503660046123a5565b6117d4565b34801561076157600080fd5b506103047f000000000000000000000000000000000000000000000000000000000000000581565b60006001600160e01b0319821663152a902d60e11b14806107ba57506001600160e01b0319821663184371e560e31b145b806107c957506107c98261186c565b92915050565b6060600480546107de90612809565b80601f016020809104026020016040519081016040528092919081815260200182805461080a90612809565b80156108575780601f1061082c57610100808354040283529160200191610857565b820191906000526020600020905b81548152906001019060200180831161083a57829003601f168201915b5050505050905090565b600061086c826118ba565b610889576040516333d1c03960e21b815260040160405180910390fd5b506000908152600860205260409020546001600160a01b031690565b60006108b0826118e2565b9050806001600160a01b0316836001600160a01b031614156108e55760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b0382161461091c576108ff813361175e565b61091c576040516367d9dca160e11b815260040160405180910390fd5b60008281526008602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600a546001600160a01b031633146109ab5760405162461bcd60e51b81526004016109a290612844565b60405180910390fd5b80600a60158282829054906101000a900463ffffffff166109cc919061288f565b92506101000a81548163ffffffff021916908363ffffffff1602179055507f000000000000000000000000000000000000000000000000000000000000000563ffffffff16600a60159054906101000a900463ffffffff1663ffffffff161115610a6c5760405162461bcd60e51b8152602060048201526011602482015270457863656564206d617820737570706c7960781b60448201526064016109a2565b610a7c828263ffffffff16611943565b5050565b610a8b83838361195d565b505050565b60008281526001602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b0316928201929092528291610b055750604080518082019091526000546001600160a01b0381168252600160a01b90046001600160601b031660208201525b602081015160009061271090610b24906001600160601b0316876128b7565b610b2e91906128ec565b915196919550909350505050565b600a546001600160a01b03163314610b665760405162461bcd60e51b81526004016109a290612844565b610b703347611b00565b565b610a8b83838360405180602001604052806000815250611534565b6040805161010081018252600080825260208201819052918101829052606081018290526080810182905260a0810182905260c0810182905260e08101919091526040518061010001604052807f000000000000000000000000000000000000000000000000000e35fa931a000081526020017f000000000000000000000000000000000000000000000000000000000000001463ffffffff1681526020017f00000000000000000000000000000000000000000000000000000000000000c863ffffffff1681526020017f000000000000000000000000000000000000000000000000000000000000271063ffffffff1681526020017f000000000000000000000000000000000000000000000000000000000000000563ffffffff168152602001610cb960025490565b63ffffffff168152602001610cf0846001600160a01b03166000908152600760205260409081902054901c6001600160401b031690565b63ffffffff168152600a54600160a01b900460ff16151560209091015292915050565b80516060906000816001600160401b03811115610d3257610d32612437565b604051908082528060200260200182016040528015610d7d57816020015b6040805160608101825260008082526020808301829052928201528252600019909201910181610d505790505b50905060005b828114610dd157610dac858281518110610d9f57610d9f612900565b602002602001015161157e565b828281518110610dbe57610dbe612900565b6020908102919091010152600101610d83565b509392505050565b60006107c9826118e2565b600a546001600160a01b03163314610e0e5760405162461bcd60e51b81526004016109a290612844565b610e29610e23600a546001600160a01b031690565b82611c19565b50565b60006001600160a01b038216610e55576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600760205260409020546001600160401b031690565b600a546001600160a01b03163314610ea45760405162461bcd60e51b81526004016109a290612844565b610b706000611d16565b600a546001600160a01b03163314610ed85760405162461bcd60e51b81526004016109a290612844565b8051610a7c90600b90602084019061216a565b60606000806000610efb85610e2c565b90506000816001600160401b03811115610f1757610f17612437565b604051908082528060200260200182016040528015610f40578160200160208202803683370190505b509050610f66604080516060810182526000808252602082018190529181019190915290565b60005b838614610fe757610f7981611d68565b9150816040015115610f8a57610fdf565b81516001600160a01b031615610f9f57815194505b876001600160a01b0316856001600160a01b03161415610fdf5780838780600101985081518110610fd257610fd2612900565b6020026020010181815250505b600101610f69565b50909695505050505050565b6060600580546107de90612809565b606081831061102457604051631960ccad60e11b815260040160405180910390fd5b60008061103060025490565b90508084111561103e578093505b600061104987610e2c565b9050848610156110685785850381811015611062578091505b5061106c565b5060005b6000816001600160401b0381111561108657611086612437565b6040519080825280602002602001820160405280156110af578160200160208202803683370190505b509050816110c257935061117892505050565b60006110cd8861157e565b9050600081604001516110de575080515b885b8881141580156110f05750848714155b1561116c576110fe81611d68565b925082604001511561110f57611164565b82516001600160a01b03161561112457825191505b8a6001600160a01b0316826001600160a01b03161415611164578084888060010199508151811061115757611157612900565b6020026020010181815250505b6001016110e0565b50505092835250909150505b9392505050565b6001600160a01b0382163314156111a95760405163b06307db60e01b815260040160405180910390fd5b3360008181526009602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600a54600160a01b900460ff166112645760405162461bcd60e51b815260206004820152601360248201527214d85b19481a5cc81b9bdd081cdd185c9d1959606a1b60448201526064016109a2565b6112ae7f00000000000000000000000000000000000000000000000000000000000000057f0000000000000000000000000000000000000000000000000000000000002710612916565b63ffffffff166112bd60025490565b6112cd9063ffffffff841661293b565b111561130f5760405162461bcd60e51b8152602060048201526011602482015270457863656564206d617820737570706c7960781b60448201526064016109a2565b7f000000000000000000000000000000000000000000000000000000000000001463ffffffff168163ffffffff16111561138b5760405162461bcd60e51b815260206004820152601860248201527f457863656564207472616e73616374696f6e206c696d6974000000000000000060448201526064016109a2565b336000908152600760205260409081902054901c6001600160401b03168015611427576113de7f000000000000000000000000000000000000000000000000000e35fa931a000063ffffffff84166128b7565b3410156114225760405162461bcd60e51b8152602060048201526012602482015271496e73756666696369656e742066756e647360701b60448201526064016109a2565b6114a7565b7f000000000000000000000000000000000000000000000000000e35fa931a0000611453600184612916565b63ffffffff1661146391906128b7565b3410156114a75760405162461bcd60e51b8152602060048201526012602482015271496e73756666696369656e742066756e647360701b60448201526064016109a2565b7f00000000000000000000000000000000000000000000000000000000000000c863ffffffff168263ffffffff16826114e0919061293b565b11156115245760405162461bcd60e51b8152602060048201526013602482015272115e18d95959081dd85b1b195d081b1a5b5a5d606a1b60448201526064016109a2565b610a7c338363ffffffff16611943565b61153f84848461195d565b6001600160a01b0383163b156115785761155b84848484611d9d565b611578576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b60408051606080820183526000808352602080840182905283850182905284519283018552818352820181905292810183905290915060025483106115c35792915050565b6115cc83611d68565b90508060400151156115de5792915050565b61117883611e95565b60606115f2826118ba565b61160f57604051630a14c4b560e41b815260040160405180910390fd5b6000600b805461161e90612809565b80601f016020809104026020016040519081016040528092919081815260200182805461164a90612809565b80156116975780601f1061166c57610100808354040283529160200191611697565b820191906000526020600020905b81548152906001019060200180831161167a57829003601f168201915b50505050509050806116a884611ec3565b6040516020016116b9929190612953565b604051602081830303815290604052915050919050565b600b80546116dd90612809565b80601f016020809104026020016040519081016040528092919081815260200182805461170990612809565b80156117565780601f1061172b57610100808354040283529160200191611756565b820191906000526020600020905b81548152906001019060200180831161173957829003601f168201915b505050505081565b6001600160a01b03918216600090815260096020908152604080832093909416825291909152205460ff1690565b600a546001600160a01b031633146117b65760405162461bcd60e51b81526004016109a290612844565b600a8054911515600160a01b0260ff60a01b19909216919091179055565b600a546001600160a01b031633146117fe5760405162461bcd60e51b81526004016109a290612844565b6001600160a01b0381166118635760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016109a2565b610e2981611d16565b60006301ffc9a760e01b6001600160e01b03198316148061189d57506380ac58cd60e01b6001600160e01b03198316145b806107c95750506001600160e01b031916635b5e139f60e01b1490565b6000600254821080156107c9575050600090815260066020526040902054600160e01b161590565b60008160025481101561192a57600081815260066020526040902054600160e01b8116611928575b8061117857506000190160008181526006602052604090205461190a565b505b604051636f96cda160e11b815260040160405180910390fd5b610a7c828260405180602001604052806000815250611fc0565b6000611968826118e2565b9050836001600160a01b0316816001600160a01b03161461199b5760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b03861614806119b957506119b9853361175e565b806119d45750336119c984610861565b6001600160a01b0316145b9050806119f457604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038416611a1b57604051633a954ecd60e21b815260040160405180910390fd5b600083815260086020908152604080832080546001600160a01b03191690556001600160a01b038881168452600783528184208054600019019055871683528083208054600101905585835260069091529020600160e11b4260a01b861781179091558216611ab85760018301600081815260066020526040902054611ab6576002548114611ab65760008181526006602052604090208390555b505b82846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050505050565b80471015611b505760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e636500000060448201526064016109a2565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114611b9d576040519150601f19603f3d011682016040523d82523d6000602084013e611ba2565b606091505b5050905080610a8b5760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d6179206861766520726576657274656400000000000060648201526084016109a2565b6127106001600160601b0382161115611c875760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b60648201526084016109a2565b6001600160a01b038216611cdd5760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c69642072656365697665720000000000000060448201526064016109a2565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600055565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60408051606081018252600080825260208201819052918101919091526000828152600660205260409020546107c990612130565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611dd2903390899088908890600401612979565b602060405180830381600087803b158015611dec57600080fd5b505af1925050508015611e1c575060408051601f3d908101601f19168201909252611e19918101906129b6565b60015b611e77573d808015611e4a576040519150601f19603f3d011682016040523d82523d6000602084013e611e4f565b606091505b508051611e6f576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b60408051606081018252600080825260208201819052918101919091526107c9611ebe836118e2565b612130565b606081611ee75750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611f115780611efb816129d3565b9150611f0a9050600a836128ec565b9150611eeb565b6000816001600160401b03811115611f2b57611f2b612437565b6040519080825280601f01601f191660200182016040528015611f55576020820181803683370190505b5090505b8415611e8d57611f6a6001836129ee565b9150611f77600a86612a05565b611f8290603061293b565b60f81b818381518110611f9757611f97612900565b60200101906001600160f81b031916908160001a905350611fb9600a866128ec565b9450611f59565b6002546001600160a01b038416611fe957604051622e076360e81b815260040160405180910390fd5b826120075760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03841660008181526007602090815260408083208054680100000000000000018902019055848352600690915290204260a01b86176001861460e11b1790558190818501903b156120dc575b60405182906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a46120a56000878480600101955087611d9d565b6120c2576040516368d2bf6b60e11b815260040160405180910390fd5b80821061205a5782600254146120d757600080fd5b612121565b5b6040516001830192906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a48082106120dd575b50600255611578600085838684565b604080516060810182526001600160a01b038316815260a083901c6001600160401b03166020820152600160e01b90921615159082015290565b82805461217690612809565b90600052602060002090601f01602090048101928261219857600085556121de565b82601f106121b157805160ff19168380011785556121de565b828001600101855582156121de579182015b828111156121de5782518255916020019190600101906121c3565b506121ea9291506121ee565b5090565b5b808211156121ea57600081556001016121ef565b6001600160e01b031981168114610e2957600080fd5b60006020828403121561222b57600080fd5b813561117881612203565b60005b83811015612251578181015183820152602001612239565b838111156115785750506000910152565b6000815180845261227a816020860160208601612236565b601f01601f19169290920160200192915050565b6020815260006111786020830184612262565b6000602082840312156122b357600080fd5b5035919050565b80356001600160a01b03811681146122d157600080fd5b919050565b600080604083850312156122e957600080fd5b6122f2836122ba565b946020939093013593505050565b803563ffffffff811681146122d157600080fd5b6000806040838503121561232757600080fd5b612330836122ba565b915061233e60208401612300565b90509250929050565b60008060006060848603121561235c57600080fd5b612365846122ba565b9250612373602085016122ba565b9150604084013590509250925092565b6000806040838503121561239657600080fd5b50508035926020909101359150565b6000602082840312156123b757600080fd5b611178826122ba565b60006101008201905082518252602083015163ffffffff80821660208501528060408601511660408501528060608601511660608501528060808601511660808501528060a08601511660a08501528060c08601511660c0850152505060e083015161243060e084018215159052565b5092915050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b038111828210171561247557612475612437565b604052919050565b6000602080838503121561249057600080fd5b82356001600160401b03808211156124a757600080fd5b818501915085601f8301126124bb57600080fd5b8135818111156124cd576124cd612437565b8060051b91506124de84830161244d565b81815291830184019184810190888411156124f857600080fd5b938501935b83851015612516578435825293850193908501906124fd565b98975050505050505050565b6020808252825182820181905260009190848201906040850190845b81811015610fe75761257983855180516001600160a01b031682526020808201516001600160401b0316908301526040908101511515910152565b928401926060929092019160010161253e565b60006020828403121561259e57600080fd5b81356001600160601b038116811461117857600080fd5b60006001600160401b038311156125ce576125ce612437565b6125e1601f8401601f191660200161244d565b90508281528383830111156125f557600080fd5b828260208301376000602084830101529392505050565b60006020828403121561261e57600080fd5b81356001600160401b0381111561263457600080fd5b8201601f8101841361264557600080fd5b611e8d848235602084016125b5565b6020808252825182820181905260009190848201906040850190845b81811015610fe757835183529284019291840191600101612670565b6000806000606084860312156126a157600080fd5b6126aa846122ba565b95602085013595506040909401359392505050565b803580151581146122d157600080fd5b600080604083850312156126e257600080fd5b6126eb836122ba565b915061233e602084016126bf565b60006020828403121561270b57600080fd5b61117882612300565b6000806000806080858703121561272a57600080fd5b612733856122ba565b9350612741602086016122ba565b92506040850135915060608501356001600160401b0381111561276357600080fd5b8501601f8101871361277457600080fd5b612783878235602084016125b5565b91505092959194509250565b81516001600160a01b031681526020808301516001600160401b031690820152604080830151151590820152606081016107c9565b600080604083850312156127d757600080fd5b6127e0836122ba565b915061233e602084016122ba565b60006020828403121561280057600080fd5b611178826126bf565b600181811c9082168061281d57607f821691505b6020821081141561283e57634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b600063ffffffff8083168185168083038211156128ae576128ae612879565b01949350505050565b60008160001904831182151516156128d1576128d1612879565b500290565b634e487b7160e01b600052601260045260246000fd5b6000826128fb576128fb6128d6565b500490565b634e487b7160e01b600052603260045260246000fd5b600063ffffffff8381169083168181101561293357612933612879565b039392505050565b6000821982111561294e5761294e612879565b500190565b60008351612965818460208801612236565b8351908301906128ae818360208801612236565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906129ac90830184612262565b9695505050505050565b6000602082840312156129c857600080fd5b815161117881612203565b60006000198214156129e7576129e7612879565b5060010190565b600082821015612a0057612a00612879565b500390565b600082612a1457612a146128d6565b50069056fea26469706673582212200e58877cbb34495230f6221ab9a63ee9137d4dd1e5697fac121a43decc97d77f64736f6c63430008090033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000e35fa931a00000000000000000000000000000000000000000000000000000000000000002710000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000c80000000000000000000000000000000000000000000000000000000000000005
-----Decoded View---------------
Arg [0] : price (uint256): 4000000000000000
Arg [1] : maxSupply (uint32): 10000
Arg [2] : txLimit (uint32): 20
Arg [3] : walletLimit (uint32): 200
Arg [4] : teamReserved (uint32): 5
-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 000000000000000000000000000000000000000000000000000e35fa931a0000
Arg [1] : 0000000000000000000000000000000000000000000000000000000000002710
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000014
Arg [3] : 00000000000000000000000000000000000000000000000000000000000000c8
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000005
Deployed Bytecode Sourcemap
68168:3535:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;70731:300;;;;;;;;;;-1:-1:-1;70731:300:0;;;;;:::i;:::-;;:::i;:::-;;;661:14:1;;654:22;636:41;;624:2;609:18;70731:300:0;;;;;;;;18086:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;20154:204::-;;;;;;;;;;-1:-1:-1;20154:204:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1788:32:1;;;1770:51;;1758:2;1743:18;20154:204:0;1624:203:1;19614:474:0;;;;;;;;;;-1:-1:-1;19614:474:0;;;;;:::i;:::-;;:::i;:::-;;68475:36;;;;;;;;;;;;;;;;;;2443:10:1;2431:23;;;2413:42;;2401:2;2386:18;68475:36:0;2269:192:1;71039:205:0;;;;;;;;;;-1:-1:-1;71039:205:0;;;;;:::i;:::-;;:::i;12127:315::-;;;;;;;;;;-1:-1:-1;12393:12:0;;12377:13;;:28;12127:315;;;3043:25:1;;;3031:2;3016:18;12127:315:0;2897:177:1;68390:34:0;;;;;;;;;;;;;;;68313:31;;;;;;;;;;;;;;;21040:170;;;;;;;;;;-1:-1:-1;21040:170:0;;;;;:::i;:::-;;:::i;62123:442::-;;;;;;;;;;-1:-1:-1;62123:442:0;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;3857:32:1;;;3839:51;;3921:2;3906:18;;3899:34;;;;3812:18;62123:442:0;3665:274:1;71590:110:0;;;;;;;;;;;;;:::i;21281:185::-;;;;;;;;;;-1:-1:-1;21281:185:0;;;;;:::i;:::-;;:::i;68520:20::-;;;;;;;;;;-1:-1:-1;68520:20:0;;;;-1:-1:-1;;;68520:20:0;;;;;;69927:498;;;;;;;;;;-1:-1:-1;69927:498:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;42285:468::-;;;;;;;;;;-1:-1:-1;42285:468:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;17875:144::-;;;;;;;;;;-1:-1:-1;17875:144:0;;;;;:::i;:::-;;:::i;68351:32::-;;;;;;;;;;;;;;;71252:125;;;;;;;;;;-1:-1:-1;71252:125:0;;;;;:::i;:::-;;:::i;13752:224::-;;;;;;;;;;-1:-1:-1;13752:224:0;;;;;:::i;:::-;;:::i;67270:103::-;;;;;;;;;;;;;:::i;71483:99::-;;;;;;;;;;-1:-1:-1;71483:99:0;;;;;:::i;:::-;;:::i;46097:892::-;;;;;;;;;;-1:-1:-1;46097:892:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;66619:87::-;;;;;;;;;;-1:-1:-1;66692:6:0;;-1:-1:-1;;;;;66692:6:0;66619:87;;18255:104;;;;;;;;;;;;;:::i;43143:2505::-;;;;;;;;;;-1:-1:-1;43143:2505:0;;;;;:::i;:::-;;:::i;20430:308::-;;;;;;;;;;-1:-1:-1;20430:308:0;;;;;:::i;:::-;;:::i;69271:648::-;;;;;;:::i;:::-;;:::i;21537:396::-;;;;;;;;;;-1:-1:-1;21537:396:0;;;;;:::i;:::-;;:::i;41706:420::-;;;;;;;;;;-1:-1:-1;41706:420:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;70433:290::-;;;;;;;;;;-1:-1:-1;70433:290:0;;;;;:::i;:::-;;:::i;68579:64::-;;;;;;;;;;;;;:::i;68547:25::-;;;;;;;;;;-1:-1:-1;68547:25:0;;;;-1:-1:-1;;;68547:25:0;;;;;;20809:164;;;;;;;;;;-1:-1:-1;20809:164:0;;;;;:::i;:::-;;:::i;71385:90::-;;;;;;;;;;-1:-1:-1;71385:90:0;;;;;:::i;:::-;;:::i;67528:201::-;;;;;;;;;;-1:-1:-1;67528:201:0;;;;;:::i;:::-;;:::i;68431:37::-;;;;;;;;;;;;;;;70731:300;70834:4;-1:-1:-1;;;;;;70871:41:0;;-1:-1:-1;;;70871:41:0;;:99;;-1:-1:-1;;;;;;;70929:41:0;;-1:-1:-1;;;70929:41:0;70871:99;:152;;;;70987:36;71011:11;70987:23;:36::i;:::-;70851:172;70731:300;-1:-1:-1;;70731:300:0:o;18086:100::-;18140:13;18173:5;18166:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18086:100;:::o;20154:204::-;20222:7;20247:16;20255:7;20247;:16::i;:::-;20242:64;;20272:34;;-1:-1:-1;;;20272:34:0;;;;;;;;;;;20242:64;-1:-1:-1;20326:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;20326:24:0;;20154:204::o;19614:474::-;19687:13;19719:27;19738:7;19719:18;:27::i;:::-;19687:61;;19769:5;-1:-1:-1;;;;;19763:11:0;:2;-1:-1:-1;;;;;19763:11:0;;19759:48;;;19783:24;;-1:-1:-1;;;19783:24:0;;;;;;;;;;;19759:48;36257:10;-1:-1:-1;;;;;19824:28:0;;;19820:175;;19872:44;19889:5;36257:10;20809:164;:::i;19872:44::-;19867:128;;19944:35;;-1:-1:-1;;;19944:35:0;;;;;;;;;;;19867:128;20007:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;20007:29:0;-1:-1:-1;;;;;20007:29:0;;;;;;;;;20052:28;;20007:24;;20052:28;;;;;;;19676:412;19614:474;;:::o;71039:205::-;66692:6;;-1:-1:-1;;;;;66692:6:0;36257:10;66839:23;66831:68;;;;-1:-1:-1;;;66831:68:0;;;;;;;:::i;:::-;;;;;;;;;71128:6:::1;71113:11;;:21;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;71169:13;71154:28;;:11;;;;;;;;;;;:28;;;;71145:59;;;::::0;-1:-1:-1;;;71145:59:0;;12818:2:1;71145:59:0::1;::::0;::::1;12800:21:1::0;12857:2;12837:18;;;12830:30;-1:-1:-1;;;12876:18:1;;;12869:47;12933:18;;71145:59:0::1;12616:341:1::0;71145:59:0::1;71215:21;71225:2;71229:6;71215:21;;:9;:21::i;:::-;71039:205:::0;;:::o;21040:170::-;21174:28;21184:4;21190:2;21194:7;21174:9;:28::i;:::-;21040:170;;;:::o;62123:442::-;62220:7;62278:27;;;:17;:27;;;;;;;;62249:56;;;;;;;;;-1:-1:-1;;;;;62249:56:0;;;;;-1:-1:-1;;;62249:56:0;;;-1:-1:-1;;;;;62249:56:0;;;;;;;;62220:7;;62318:92;;-1:-1:-1;62369:29:0;;;;;;;;;-1:-1:-1;62369:29:0;-1:-1:-1;;;;;62369:29:0;;;;-1:-1:-1;;;62369:29:0;;-1:-1:-1;;;;;62369:29:0;;;;;62318:92;62460:23;;;;62422:21;;62931:5;;62447:36;;-1:-1:-1;;;;;62447:36:0;:10;:36;:::i;:::-;62446:58;;;;:::i;:::-;62525:16;;;;;-1:-1:-1;62123:442:0;;-1:-1:-1;;;;62123:442:0:o;71590:110::-;66692:6;;-1:-1:-1;;;;;66692:6:0;36257:10;66839:23;66831:68;;;;-1:-1:-1;;;66831:68:0;;;;;;;:::i;:::-;71640:52:::1;71648:10;71670:21;71640:29;:52::i;:::-;71590:110::o:0;21281:185::-;21419:39;21436:4;21442:2;21446:7;21419:39;;;;;;;;;;;;:16;:39::i;69927:498::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;70033:384:0;;;;;;;;70071:6;70033:384;;;;70105:8;70033:384;;;;;;70145:12;70033:384;;;;;;70187:10;70033:384;;;;;;70230:13;70033:384;;;;;;70282:22;12775:13;;;12540:285;70282:22;70033:384;;;;;;70343:21;70357:6;-1:-1:-1;;;;;14147:25:0;14119:7;14147:25;;;:18;:25;;9228:2;14147:25;;;;;:49;;-1:-1:-1;;;;;14146:80:0;;14058:176;70343:21;70033:384;;;;70393:8;;-1:-1:-1;;;70393:8:0;;;;70033:384;;;;;;;70013:404;;-1:-1:-1;;69927:498:0:o;42285:468::-;42460:15;;42374:23;;42435:22;42460:15;-1:-1:-1;;;;;42527:36:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;42527:36:0;;-1:-1:-1;;42527:36:0;;;;;;;;;;;;42490:73;;42583:9;42578:125;42599:14;42594:1;:19;42578:125;;42655:32;42675:8;42684:1;42675:11;;;;;;;;:::i;:::-;;;;;;;42655:19;:32::i;:::-;42639:10;42650:1;42639:13;;;;;;;;:::i;:::-;;;;;;;;;;:48;42615:3;;42578:125;;;-1:-1:-1;42724:10:0;42285:468;-1:-1:-1;;;42285:468:0:o;17875:144::-;17939:7;17982:27;18001:7;17982:18;:27::i;71252:125::-;66692:6;;-1:-1:-1;;;;;66692:6:0;36257:10;66839:23;66831:68;;;;-1:-1:-1;;;66831:68:0;;;;;;;:::i;:::-;71328:41:::1;71347:7;66692:6:::0;;-1:-1:-1;;;;;66692:6:0;;66619:87;71347:7:::1;71356:12;71328:18;:41::i;:::-;71252:125:::0;:::o;13752:224::-;13816:7;-1:-1:-1;;;;;13840:19:0;;13836:60;;13868:28;;-1:-1:-1;;;13868:28:0;;;;;;;;;;;13836:60;-1:-1:-1;;;;;;13914:25:0;;;;;:18;:25;;;;;;-1:-1:-1;;;;;13914:54:0;;13752:224::o;67270:103::-;66692:6;;-1:-1:-1;;;;;66692:6:0;36257:10;66839:23;66831:68;;;;-1:-1:-1;;;66831:68:0;;;;;;;:::i;:::-;67335:30:::1;67362:1;67335:18;:30::i;71483:99::-:0;66692:6;;-1:-1:-1;;;;;66692:6:0;36257:10;66839:23;66831:68;;;;-1:-1:-1;;;66831:68:0;;;;;;;:::i;:::-;71556:18;;::::1;::::0;:12:::1;::::0;:18:::1;::::0;::::1;::::0;::::1;:::i;46097:892::-:0;46167:16;46221:19;46255:25;46295:22;46320:16;46330:5;46320:9;:16::i;:::-;46295:41;;46351:25;46393:14;-1:-1:-1;;;;;46379:29:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;46379:29:0;;46351:57;;46423:31;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;46423:31:0;46474:9;46469:472;46518:14;46503:11;:29;46469:472;;46570:15;46583:1;46570:12;:15::i;:::-;46558:27;;46608:9;:16;;;46604:73;;;46649:8;;46604:73;46699:14;;-1:-1:-1;;;;;46699:28:0;;46695:111;;46772:14;;;-1:-1:-1;46695:111:0;46849:5;-1:-1:-1;;;;;46828:26:0;:17;-1:-1:-1;;;;;46828:26:0;;46824:102;;;46905:1;46879:8;46888:13;;;;;;46879:23;;;;;;;;:::i;:::-;;;;;;:27;;;;;46824:102;46534:3;;46469:472;;;-1:-1:-1;46962:8:0;;46097:892;-1:-1:-1;;;;;;46097:892:0:o;18255:104::-;18311:13;18344:7;18337:14;;;;;:::i;43143:2505::-;43278:16;43345:4;43336:5;:13;43332:45;;43358:19;;-1:-1:-1;;;43358:19:0;;;;;;;;;;;43332:45;43392:19;43426:17;43446:14;11895:13;;;11821:95;43446:14;43426:34;-1:-1:-1;43697:9:0;43690:4;:16;43686:73;;;43734:9;43727:16;;43686:73;43773:25;43801:16;43811:5;43801:9;:16::i;:::-;43773:44;;43995:4;43987:5;:12;43983:278;;;44042:12;;;44077:31;;;44073:111;;;44153:11;44133:31;;44073:111;44001:198;43983:278;;;-1:-1:-1;44244:1:0;43983:278;44275:25;44317:17;-1:-1:-1;;;;;44303:32:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;44303:32:0;-1:-1:-1;44275:60:0;-1:-1:-1;44354:22:0;44350:78;;44404:8;-1:-1:-1;44397:15:0;;-1:-1:-1;;;44397:15:0;44350:78;44572:31;44606:26;44626:5;44606:19;:26::i;:::-;44572:60;;44647:25;44892:9;:16;;;44887:92;;-1:-1:-1;44949:14:0;;44887:92;45010:5;44993:478;45022:4;45017:1;:9;;:45;;;;;45045:17;45030:11;:32;;45017:45;44993:478;;;45100:15;45113:1;45100:12;:15::i;:::-;45088:27;;45138:9;:16;;;45134:73;;;45179:8;;45134:73;45229:14;;-1:-1:-1;;;;;45229:28:0;;45225:111;;45302:14;;;-1:-1:-1;45225:111:0;45379:5;-1:-1:-1;;;;;45358:26:0;:17;-1:-1:-1;;;;;45358:26:0;;45354:102;;;45435:1;45409:8;45418:13;;;;;;45409:23;;;;;;;;:::i;:::-;;;;;;:27;;;;;45354:102;45064:3;;44993:478;;;-1:-1:-1;;;45556:29:0;;;-1:-1:-1;45563:8:0;;-1:-1:-1;;43143:2505:0;;;;;;:::o;20430:308::-;-1:-1:-1;;;;;20529:31:0;;36257:10;20529:31;20525:61;;;20569:17;;-1:-1:-1;;;20569:17:0;;;;;;;;;;;20525:61;36257:10;20599:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;20599:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;20599:60:0;;;;;;;;;;20675:55;;636:41:1;;;20599:49:0;;36257:10;20675:55;;609:18:1;20675:55:0;;;;;;;20430:308;;:::o;69271:648::-;69336:8;;-1:-1:-1;;;69336:8:0;;;;69328:40;;;;-1:-1:-1;;;69328:40:0;;13726:2:1;69328:40:0;;;13708:21:1;13765:2;13745:18;;;13738:30;-1:-1:-1;;;13784:18:1;;;13777:49;13843:18;;69328:40:0;13524:343:1;69328:40:0;69414:26;69427:13;69414:10;:26;:::i;:::-;69387:53;;69396:14;12775:13;;;12540:285;69396:14;69387:23;;;;;;:::i;:::-;:53;;69379:83;;;;-1:-1:-1;;;69379:83:0;;12818:2:1;69379:83:0;;;12800:21:1;12857:2;12837:18;;;12830:30;-1:-1:-1;;;12876:18:1;;;12869:47;12933:18;;69379:83:0;12616:341:1;69379:83:0;69491:8;69481:18;;:6;:18;;;;69473:55;;;;-1:-1:-1;;;69473:55:0;;14433:2:1;69473:55:0;;;14415:21:1;14472:2;14452:18;;;14445:30;14511:26;14491:18;;;14484:54;14555:18;;69473:55:0;14231:348:1;69473:55:0;69572:10;69541:14;14147:25;;;:18;:25;;9228:2;14147:25;;;;;:49;;-1:-1:-1;;;;;14146:80:0;69598:10;;69594:200;;69646:15;69655:6;69646:15;;;;:::i;:::-;69633:9;:28;;69625:59;;;;-1:-1:-1;;;69625:59:0;;14786:2:1;69625:59:0;;;14768:21:1;14825:2;14805:18;;;14798:30;-1:-1:-1;;;14844:18:1;;;14837:48;14902:18;;69625:59:0;14584:342:1;69625:59:0;69594:200;;;69753:6;69739:10;69748:1;69739:6;:10;:::i;:::-;69738:21;;;;;;:::i;:::-;69725:9;:34;;69717:65;;;;-1:-1:-1;;;69717:65:0;;14786:2:1;69717:65:0;;;14768:21:1;14825:2;14805:18;;;14798:30;-1:-1:-1;;;14844:18:1;;;14837:48;14902:18;;69717:65:0;14584:342:1;69717:65:0;69833:12;69814:31;;69823:6;69814:15;;:6;:15;;;;:::i;:::-;:31;;69806:63;;;;-1:-1:-1;;;69806:63:0;;15133:2:1;69806:63:0;;;15115:21:1;15172:2;15152:18;;;15145:30;-1:-1:-1;;;15191:18:1;;;15184:49;15250:18;;69806:63:0;14931:343:1;69806:63:0;69882:29;69892:10;69904:6;69882:29;;:9;:29::i;21537:396::-;21704:28;21714:4;21720:2;21724:7;21704:9;:28::i;:::-;-1:-1:-1;;;;;21747:14:0;;;:19;21743:183;;21786:56;21817:4;21823:2;21827:7;21836:5;21786:30;:56::i;:::-;21781:145;;21870:40;;-1:-1:-1;;;21870:40:0;;;;;;;;;;;21781:145;21537:396;;;;:::o;41706:420::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11895:13:0;;41891:7;:25;41858:103;;41940:9;41706:420;-1:-1:-1;;41706:420:0:o;41858:103::-;41983:21;41996:7;41983:12;:21::i;:::-;41971:33;;42019:9;:16;;;42015:65;;;42059:9;41706:420;-1:-1:-1;;41706:420:0:o;42015:65::-;42097:21;42110:7;42097:12;:21::i;70433:290::-;70506:13;70537:16;70545:7;70537;:16::i;:::-;70532:59;;70562:29;;-1:-1:-1;;;70562:29:0;;;;;;;;;;;70532:59;70604:21;70628:12;70604:36;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;70682:7;70691:18;:7;:16;:18::i;:::-;70665:49;;;;;;;;;:::i;:::-;;;;;;;;;;;;;70651:64;;;70433:290;;;:::o;68579:64::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;20809:164::-;-1:-1:-1;;;;;20930:25:0;;;20906:4;20930:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;20809:164::o;71385:90::-;66692:6;;-1:-1:-1;;;;;66692:6:0;36257:10;66839:23;66831:68;;;;-1:-1:-1;;;66831:68:0;;;;;;;:::i;:::-;71449:8:::1;:18:::0;;;::::1;;-1:-1:-1::0;;;71449:18:0::1;-1:-1:-1::0;;;;71449:18:0;;::::1;::::0;;;::::1;::::0;;71385:90::o;67528:201::-;66692:6;;-1:-1:-1;;;;;66692:6:0;36257:10;66839:23;66831:68;;;;-1:-1:-1;;;66831:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;67617:22:0;::::1;67609:73;;;::::0;-1:-1:-1;;;67609:73:0;;16057:2:1;67609:73:0::1;::::0;::::1;16039:21:1::0;16096:2;16076:18;;;16069:30;16135:34;16115:18;;;16108:62;-1:-1:-1;;;16186:18:1;;;16179:36;16232:19;;67609:73:0::1;15855:402:1::0;67609:73:0::1;67693:28;67712:8;67693:18;:28::i;13073:615::-:0;13158:4;-1:-1:-1;;;;;;;;;13458:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;13535:25:0;;;13458:102;:179;;;-1:-1:-1;;;;;;;;13612:25:0;-1:-1:-1;;;13612:25:0;;13073:615::o;22188:273::-;22245:4;22335:13;;22325:7;:23;22282:152;;;;-1:-1:-1;;22386:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;22386:43:0;:48;;22188:273::o;15390:1129::-;15457:7;15492;15594:13;;15587:4;:20;15583:869;;;15632:14;15649:23;;;:17;:23;;;;;;-1:-1:-1;;;15738:23:0;;15734:699;;16257:113;16264:11;16257:113;;-1:-1:-1;;;16335:6:0;16317:25;;;;:17;:25;;;;;;16257:113;;15734:699;15609:843;15583:869;16480:31;;-1:-1:-1;;;16480:31:0;;;;;;;;;;;22545:104;22614:27;22624:2;22628:8;22614:27;;;;;;;;;;;;:9;:27::i;27427:2515::-;27542:27;27572;27591:7;27572:18;:27::i;:::-;27542:57;;27657:4;-1:-1:-1;;;;;27616:45:0;27632:19;-1:-1:-1;;;;;27616:45:0;;27612:86;;27670:28;;-1:-1:-1;;;27670:28:0;;;;;;;;;;;27612:86;27711:22;36257:10;-1:-1:-1;;;;;27737:27:0;;;;:87;;-1:-1:-1;27781:43:0;27798:4;36257:10;20809:164;:::i;27781:43::-;27737:147;;;-1:-1:-1;36257:10:0;27841:20;27853:7;27841:11;:20::i;:::-;-1:-1:-1;;;;;27841:43:0;;27737:147;27711:174;;27903:17;27898:66;;27929:35;;-1:-1:-1;;;27929:35:0;;;;;;;;;;;27898:66;-1:-1:-1;;;;;27979:16:0;;27975:52;;28004:23;;-1:-1:-1;;;28004:23:0;;;;;;;;;;;27975:52;28156:24;;;;:15;:24;;;;;;;;28149:31;;-1:-1:-1;;;;;;28149:31:0;;;-1:-1:-1;;;;;28548:24:0;;;;;:18;:24;;;;;28546:26;;-1:-1:-1;;28546:26:0;;;28617:22;;;;;;;28615:24;;-1:-1:-1;28615:24:0;;;28910:26;;;:17;:26;;;;;-1:-1:-1;;;28998:15:0;9745:3;28998:41;28956:84;;:128;;28910:174;;;29204:46;;29200:626;;29308:1;29298:11;;29276:19;29431:30;;;:17;:30;;;;;;29427:384;;29569:13;;29554:11;:28;29550:242;;29716:30;;;;:17;:30;;;;;:52;;;29550:242;29257:569;29200:626;29873:7;29869:2;-1:-1:-1;;;;;29854:27:0;29863:4;-1:-1:-1;;;;;29854:27:0;;;;;;;;;;;27531:2411;;27427:2515;;;:::o;51614:317::-;51729:6;51704:21;:31;;51696:73;;;;-1:-1:-1;;;51696:73:0;;16464:2:1;51696:73:0;;;16446:21:1;16503:2;16483:18;;;16476:30;16542:31;16522:18;;;16515:59;16591:18;;51696:73:0;16262:353:1;51696:73:0;51783:12;51801:9;-1:-1:-1;;;;;51801:14:0;51823:6;51801:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51782:52;;;51853:7;51845:78;;;;-1:-1:-1;;;51845:78:0;;17032:2:1;51845:78:0;;;17014:21:1;17071:2;17051:18;;;17044:30;17110:34;17090:18;;;17083:62;17181:28;17161:18;;;17154:56;17227:19;;51845:78:0;16830:422:1;63215:332:0;62931:5;-1:-1:-1;;;;;63318:33:0;;;;63310:88;;;;-1:-1:-1;;;63310:88:0;;17459:2:1;63310:88:0;;;17441:21:1;17498:2;17478:18;;;17471:30;17537:34;17517:18;;;17510:62;-1:-1:-1;;;17588:18:1;;;17581:40;17638:19;;63310:88:0;17257:406:1;63310:88:0;-1:-1:-1;;;;;63417:22:0;;63409:60;;;;-1:-1:-1;;;63409:60:0;;17870:2:1;63409:60:0;;;17852:21:1;17909:2;17889:18;;;17882:30;17948:27;17928:18;;;17921:55;17993:18;;63409:60:0;17668:349:1;63409:60:0;63504:35;;;;;;;;;-1:-1:-1;;;;;63504:35:0;;;;;;-1:-1:-1;;;;;63504:35:0;;;;;;;;;;-1:-1:-1;;;63482:57:0;;;;-1:-1:-1;63482:57:0;63215:332::o;67889:191::-;67982:6;;;-1:-1:-1;;;;;67999:17:0;;;-1:-1:-1;;;;;;67999:17:0;;;;;;;68032:40;;67982:6;;;67999:17;67982:6;;68032:40;;67963:16;;68032:40;67952:128;67889:191;:::o;16999:153::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;17119:24:0;;;;:17;:24;;;;;;17100:44;;:18;:44::i;33639:716::-;33823:88;;-1:-1:-1;;;33823:88:0;;33802:4;;-1:-1:-1;;;;;33823:45:0;;;;;:88;;36257:10;;33890:4;;33896:7;;33905:5;;33823:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;33823:88:0;;;;;;;;-1:-1:-1;;33823:88:0;;;;;;;;;;;;:::i;:::-;;;33819:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;34106:13:0;;34102:235;;34152:40;;-1:-1:-1;;;34152:40:0;;;;;;;;;;;34102:235;34295:6;34289:13;34280:6;34276:2;34272:15;34265:38;33819:529;-1:-1:-1;;;;;;33982:64:0;-1:-1:-1;;;33982:64:0;;-1:-1:-1;33819:529:0;33639:716;;;;;;:::o;17655:158::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;17758:47:0;17777:27;17796:7;17777:18;:27::i;:::-;17758:18;:47::i;47361:723::-;47417:13;47638:10;47634:53;;-1:-1:-1;;47665:10:0;;;;;;;;;;;;-1:-1:-1;;;47665:10:0;;;;;47361:723::o;47634:53::-;47712:5;47697:12;47753:78;47760:9;;47753:78;;47786:8;;;;:::i;:::-;;-1:-1:-1;47809:10:0;;-1:-1:-1;47817:2:0;47809:10;;:::i;:::-;;;47753:78;;;47841:19;47873:6;-1:-1:-1;;;;;47863:17:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;47863:17:0;;47841:39;;47891:154;47898:10;;47891:154;;47925:11;47935:1;47925:11;;:::i;:::-;;-1:-1:-1;47994:10:0;48002:2;47994:5;:10;:::i;:::-;47981:24;;:2;:24;:::i;:::-;47968:39;;47951:6;47958;47951:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;47951:56:0;;;;;;;;-1:-1:-1;48022:11:0;48031:2;48022:11;;:::i;:::-;;;47891:154;;23022:2236;23168:13;;-1:-1:-1;;;;;23196:16:0;;23192:48;;23221:19;;-1:-1:-1;;;23221:19:0;;;;;;;;;;;23192:48;23255:13;23251:44;;23277:18;;-1:-1:-1;;;23277:18:0;;;;;;;;;;;23251:44;-1:-1:-1;;;;;23844:22:0;;;;;;:18;:22;;;;9228:2;23844:22;;;:70;;23882:31;23870:44;;23844:70;;;24157:31;;;:17;:31;;;;;24250:15;9745:3;24250:41;24208:84;;-1:-1:-1;24328:13:0;;10008:3;24313:56;24208:162;24157:213;;:31;;24451:23;;;;24495:14;:19;24491:635;;24535:313;24566:38;;24591:12;;-1:-1:-1;;;;;24566:38:0;;;24583:1;;24566:38;;24583:1;;24566:38;24632:69;24671:1;24675:2;24679:14;;;;;;24695:5;24632:30;:69::i;:::-;24627:174;;24737:40;;-1:-1:-1;;;24737:40:0;;;;;;;;;;;24627:174;24843:3;24828:12;:18;24535:313;;24929:12;24912:13;;:29;24908:43;;24943:8;;;24908:43;24491:635;;;24992:119;25023:40;;25048:14;;;;;-1:-1:-1;;;;;25023:40:0;;;25040:1;;25023:40;;25040:1;;25023:40;25106:3;25091:12;:18;24992:119;;24491:635;-1:-1:-1;25140:13:0;:28;25190:60;25219:1;25223:2;25227:12;25241:8;25190:60;:::i;16613:295::-;-1:-1:-1;;;;;;;;;;;;;16723:41:0;;;;9745:3;16809:32;;;-1:-1:-1;;;;;16775:67:0;-1:-1:-1;;;16775:67:0;-1:-1:-1;;;16872:23:0;;;:28;;-1:-1:-1;;;16853:47:0;-1:-1:-1;16613:295:0:o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:131:1;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;688:258::-;760:1;770:113;784:6;781:1;778:13;770:113;;;860:11;;;854:18;841:11;;;834:39;806:2;799:10;770:113;;;901:6;898:1;895:13;892:48;;;-1:-1:-1;;936:1:1;918:16;;911:27;688:258::o;951:::-;993:3;1031:5;1025:12;1058:6;1053:3;1046:19;1074:63;1130:6;1123:4;1118:3;1114:14;1107:4;1100:5;1096:16;1074:63;:::i;:::-;1191:2;1170:15;-1:-1:-1;;1166:29:1;1157:39;;;;1198:4;1153:50;;951:258;-1:-1:-1;;951:258:1:o;1214:220::-;1363:2;1352:9;1345:21;1326:4;1383:45;1424:2;1413:9;1409:18;1401:6;1383:45;:::i;1439:180::-;1498:6;1551:2;1539:9;1530:7;1526:23;1522:32;1519:52;;;1567:1;1564;1557:12;1519:52;-1:-1:-1;1590:23:1;;1439:180;-1:-1:-1;1439:180:1:o;1832:173::-;1900:20;;-1:-1:-1;;;;;1949:31:1;;1939:42;;1929:70;;1995:1;1992;1985:12;1929:70;1832:173;;;:::o;2010:254::-;2078:6;2086;2139:2;2127:9;2118:7;2114:23;2110:32;2107:52;;;2155:1;2152;2145:12;2107:52;2178:29;2197:9;2178:29;:::i;:::-;2168:39;2254:2;2239:18;;;;2226:32;;-1:-1:-1;;;2010:254:1:o;2466:163::-;2533:20;;2593:10;2582:22;;2572:33;;2562:61;;2619:1;2616;2609:12;2634:258;2701:6;2709;2762:2;2750:9;2741:7;2737:23;2733:32;2730:52;;;2778:1;2775;2768:12;2730:52;2801:29;2820:9;2801:29;:::i;:::-;2791:39;;2849:37;2882:2;2871:9;2867:18;2849:37;:::i;:::-;2839:47;;2634:258;;;;;:::o;3079:328::-;3156:6;3164;3172;3225:2;3213:9;3204:7;3200:23;3196:32;3193:52;;;3241:1;3238;3231:12;3193:52;3264:29;3283:9;3264:29;:::i;:::-;3254:39;;3312:38;3346:2;3335:9;3331:18;3312:38;:::i;:::-;3302:48;;3397:2;3386:9;3382:18;3369:32;3359:42;;3079:328;;;;;:::o;3412:248::-;3480:6;3488;3541:2;3529:9;3520:7;3516:23;3512:32;3509:52;;;3557:1;3554;3547:12;3509:52;-1:-1:-1;;3580:23:1;;;3650:2;3635:18;;;3622:32;;-1:-1:-1;3412:248:1:o;3944:186::-;4003:6;4056:2;4044:9;4035:7;4031:23;4027:32;4024:52;;;4072:1;4069;4062:12;4024:52;4095:29;4114:9;4095:29;:::i;4135:862::-;4285:4;4327:3;4316:9;4312:19;4304:27;;4364:6;4358:13;4347:9;4340:32;4419:4;4411:6;4407:17;4401:24;4444:10;4510:2;4496:12;4492:21;4485:4;4474:9;4470:20;4463:51;4582:2;4574:4;4566:6;4562:17;4556:24;4552:33;4545:4;4534:9;4530:20;4523:63;4654:2;4646:4;4638:6;4634:17;4628:24;4624:33;4617:4;4606:9;4602:20;4595:63;4726:2;4718:4;4710:6;4706:17;4700:24;4696:33;4689:4;4678:9;4674:20;4667:63;4798:2;4790:4;4782:6;4778:17;4772:24;4768:33;4761:4;4750:9;4746:20;4739:63;4870:2;4862:4;4854:6;4850:17;4844:24;4840:33;4833:4;4822:9;4818:20;4811:63;;;4923:4;4915:6;4911:17;4905:24;4938:53;4985:4;4974:9;4970:20;4954:14;470:13;463:21;451:34;;400:91;4938:53;;4135:862;;;;:::o;5002:127::-;5063:10;5058:3;5054:20;5051:1;5044:31;5094:4;5091:1;5084:15;5118:4;5115:1;5108:15;5134:275;5205:2;5199:9;5270:2;5251:13;;-1:-1:-1;;5247:27:1;5235:40;;-1:-1:-1;;;;;5290:34:1;;5326:22;;;5287:62;5284:88;;;5352:18;;:::i;:::-;5388:2;5381:22;5134:275;;-1:-1:-1;5134:275:1:o;5414:946::-;5498:6;5529:2;5572;5560:9;5551:7;5547:23;5543:32;5540:52;;;5588:1;5585;5578:12;5540:52;5628:9;5615:23;-1:-1:-1;;;;;5698:2:1;5690:6;5687:14;5684:34;;;5714:1;5711;5704:12;5684:34;5752:6;5741:9;5737:22;5727:32;;5797:7;5790:4;5786:2;5782:13;5778:27;5768:55;;5819:1;5816;5809:12;5768:55;5855:2;5842:16;5877:2;5873;5870:10;5867:36;;;5883:18;;:::i;:::-;5929:2;5926:1;5922:10;5912:20;;5952:28;5976:2;5972;5968:11;5952:28;:::i;:::-;6014:15;;;6084:11;;;6080:20;;;6045:12;;;;6112:19;;;6109:39;;;6144:1;6141;6134:12;6109:39;6168:11;;;;6188:142;6204:6;6199:3;6196:15;6188:142;;;6270:17;;6258:30;;6221:12;;;;6308;;;;6188:142;;;6349:5;5414:946;-1:-1:-1;;;;;;;;5414:946:1:o;6648:720::-;6879:2;6931:21;;;7001:13;;6904:18;;;7023:22;;;6850:4;;6879:2;7102:15;;;;7076:2;7061:18;;;6850:4;7145:197;7159:6;7156:1;7153:13;7145:197;;;7208:52;7256:3;7247:6;7241:13;6449:12;;-1:-1:-1;;;;;6445:38:1;6433:51;;6537:4;6526:16;;;6520:23;-1:-1:-1;;;;;6516:48:1;6500:14;;;6493:72;6628:4;6617:16;;;6611:23;6604:31;6597:39;6581:14;;6574:63;6365:278;7208:52;7317:15;;;;7289:4;7280:14;;;;;7181:1;7174:9;7145:197;;7373:292;7431:6;7484:2;7472:9;7463:7;7459:23;7455:32;7452:52;;;7500:1;7497;7490:12;7452:52;7539:9;7526:23;-1:-1:-1;;;;;7582:5:1;7578:38;7571:5;7568:49;7558:77;;7631:1;7628;7621:12;7670:407;7735:5;-1:-1:-1;;;;;7761:6:1;7758:30;7755:56;;;7791:18;;:::i;:::-;7829:57;7874:2;7853:15;;-1:-1:-1;;7849:29:1;7880:4;7845:40;7829:57;:::i;:::-;7820:66;;7909:6;7902:5;7895:21;7949:3;7940:6;7935:3;7931:16;7928:25;7925:45;;;7966:1;7963;7956:12;7925:45;8015:6;8010:3;8003:4;7996:5;7992:16;7979:43;8069:1;8062:4;8053:6;8046:5;8042:18;8038:29;8031:40;7670:407;;;;;:::o;8082:451::-;8151:6;8204:2;8192:9;8183:7;8179:23;8175:32;8172:52;;;8220:1;8217;8210:12;8172:52;8260:9;8247:23;-1:-1:-1;;;;;8285:6:1;8282:30;8279:50;;;8325:1;8322;8315:12;8279:50;8348:22;;8401:4;8393:13;;8389:27;-1:-1:-1;8379:55:1;;8430:1;8427;8420:12;8379:55;8453:74;8519:7;8514:2;8501:16;8496:2;8492;8488:11;8453:74;:::i;8538:632::-;8709:2;8761:21;;;8831:13;;8734:18;;;8853:22;;;8680:4;;8709:2;8932:15;;;;8906:2;8891:18;;;8680:4;8975:169;8989:6;8986:1;8983:13;8975:169;;;9050:13;;9038:26;;9119:15;;;;9084:12;;;;9011:1;9004:9;8975:169;;9175:322;9252:6;9260;9268;9321:2;9309:9;9300:7;9296:23;9292:32;9289:52;;;9337:1;9334;9327:12;9289:52;9360:29;9379:9;9360:29;:::i;:::-;9350:39;9436:2;9421:18;;9408:32;;-1:-1:-1;9487:2:1;9472:18;;;9459:32;;9175:322;-1:-1:-1;;;9175:322:1:o;9502:160::-;9567:20;;9623:13;;9616:21;9606:32;;9596:60;;9652:1;9649;9642:12;9667:254;9732:6;9740;9793:2;9781:9;9772:7;9768:23;9764:32;9761:52;;;9809:1;9806;9799:12;9761:52;9832:29;9851:9;9832:29;:::i;:::-;9822:39;;9880:35;9911:2;9900:9;9896:18;9880:35;:::i;9926:184::-;9984:6;10037:2;10025:9;10016:7;10012:23;10008:32;10005:52;;;10053:1;10050;10043:12;10005:52;10076:28;10094:9;10076:28;:::i;10115:667::-;10210:6;10218;10226;10234;10287:3;10275:9;10266:7;10262:23;10258:33;10255:53;;;10304:1;10301;10294:12;10255:53;10327:29;10346:9;10327:29;:::i;:::-;10317:39;;10375:38;10409:2;10398:9;10394:18;10375:38;:::i;:::-;10365:48;;10460:2;10449:9;10445:18;10432:32;10422:42;;10515:2;10504:9;10500:18;10487:32;-1:-1:-1;;;;;10534:6:1;10531:30;10528:50;;;10574:1;10571;10564:12;10528:50;10597:22;;10650:4;10642:13;;10638:27;-1:-1:-1;10628:55:1;;10679:1;10676;10669:12;10628:55;10702:74;10768:7;10763:2;10750:16;10745:2;10741;10737:11;10702:74;:::i;:::-;10692:84;;;10115:667;;;;;;;:::o;10787:263::-;6449:12;;-1:-1:-1;;;;;6445:38:1;6433:51;;6537:4;6526:16;;;6520:23;-1:-1:-1;;;;;6516:48:1;6500:14;;;6493:72;6628:4;6617:16;;;6611:23;6604:31;6597:39;6581:14;;;6574:63;10981:2;10966:18;;10993:51;6365:278;11055:260;11123:6;11131;11184:2;11172:9;11163:7;11159:23;11155:32;11152:52;;;11200:1;11197;11190:12;11152:52;11223:29;11242:9;11223:29;:::i;:::-;11213:39;;11271:38;11305:2;11294:9;11290:18;11271:38;:::i;11320:180::-;11376:6;11429:2;11417:9;11408:7;11404:23;11400:32;11397:52;;;11445:1;11442;11435:12;11397:52;11468:26;11484:9;11468:26;:::i;11505:380::-;11584:1;11580:12;;;;11627;;;11648:61;;11702:4;11694:6;11690:17;11680:27;;11648:61;11755:2;11747:6;11744:14;11724:18;11721:38;11718:161;;;11801:10;11796:3;11792:20;11789:1;11782:31;11836:4;11833:1;11826:15;11864:4;11861:1;11854:15;11718:161;;11505:380;;;:::o;11890:356::-;12092:2;12074:21;;;12111:18;;;12104:30;12170:34;12165:2;12150:18;;12143:62;12237:2;12222:18;;11890:356::o;12251:127::-;12312:10;12307:3;12303:20;12300:1;12293:31;12343:4;12340:1;12333:15;12367:4;12364:1;12357:15;12383:228;12422:3;12450:10;12487:2;12484:1;12480:10;12517:2;12514:1;12510:10;12548:3;12544:2;12540:12;12535:3;12532:21;12529:47;;;12556:18;;:::i;:::-;12592:13;;12383:228;-1:-1:-1;;;;12383:228:1:o;12962:168::-;13002:7;13068:1;13064;13060:6;13056:14;13053:1;13050:21;13045:1;13038:9;13031:17;13027:45;13024:71;;;13075:18;;:::i;:::-;-1:-1:-1;13115:9:1;;12962:168::o;13135:127::-;13196:10;13191:3;13187:20;13184:1;13177:31;13227:4;13224:1;13217:15;13251:4;13248:1;13241:15;13267:120;13307:1;13333;13323:35;;13338:18;;:::i;:::-;-1:-1:-1;13372:9:1;;13267:120::o;13392:127::-;13453:10;13448:3;13444:20;13441:1;13434:31;13484:4;13481:1;13474:15;13508:4;13505:1;13498:15;13872:221;13911:4;13940:10;14000;;;;13970;;14022:12;;;14019:38;;;14037:18;;:::i;:::-;14074:13;;13872:221;-1:-1:-1;;;13872:221:1:o;14098:128::-;14138:3;14169:1;14165:6;14162:1;14159:13;14156:39;;;14175:18;;:::i;:::-;-1:-1:-1;14211:9:1;;14098:128::o;15279:571::-;15559:3;15597:6;15591:13;15613:53;15659:6;15654:3;15647:4;15639:6;15635:17;15613:53;:::i;:::-;15729:13;;15688:16;;;;15751:57;15729:13;15688:16;15785:4;15773:17;;15751:57;:::i;18022:489::-;-1:-1:-1;;;;;18291:15:1;;;18273:34;;18343:15;;18338:2;18323:18;;18316:43;18390:2;18375:18;;18368:34;;;18438:3;18433:2;18418:18;;18411:31;;;18216:4;;18459:46;;18485:19;;18477:6;18459:46;:::i;:::-;18451:54;18022:489;-1:-1:-1;;;;;;18022:489:1:o;18516:249::-;18585:6;18638:2;18626:9;18617:7;18613:23;18609:32;18606:52;;;18654:1;18651;18644:12;18606:52;18686:9;18680:16;18705:30;18729:5;18705:30;:::i;18770:135::-;18809:3;-1:-1:-1;;18830:17:1;;18827:43;;;18850:18;;:::i;:::-;-1:-1:-1;18897:1:1;18886:13;;18770:135::o;18910:125::-;18950:4;18978:1;18975;18972:8;18969:34;;;18983:18;;:::i;:::-;-1:-1:-1;19020:9:1;;18910:125::o;19040:112::-;19072:1;19098;19088:35;;19103:18;;:::i;:::-;-1:-1:-1;19137:9:1;;19040:112::o
Swarm Source
ipfs://0e58877cbb34495230f6221ab9a63ee9137d4dd1e5697fac121a43decc97d77f
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.