Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 8,882 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Set Approval For... | 21038772 | 33 days ago | IN | 0 ETH | 0.0002804 | ||||
Set Approval For... | 21001030 | 38 days ago | IN | 0 ETH | 0.00099807 | ||||
Set Approval For... | 20999655 | 38 days ago | IN | 0 ETH | 0.00045979 | ||||
Set Approval For... | 20995117 | 39 days ago | IN | 0 ETH | 0.00060514 | ||||
Set Approval For... | 20959873 | 44 days ago | IN | 0 ETH | 0.00047338 | ||||
Safe Transfer Fr... | 20660665 | 86 days ago | IN | 0 ETH | 0.00003236 | ||||
Set Approval For... | 20642616 | 88 days ago | IN | 0 ETH | 0.00013752 | ||||
Set Approval For... | 20589659 | 96 days ago | IN | 0 ETH | 0.00005716 | ||||
Set Approval For... | 20214198 | 148 days ago | IN | 0 ETH | 0.00016289 | ||||
Set Approval For... | 20174326 | 154 days ago | IN | 0 ETH | 0.00011303 | ||||
Set Approval For... | 19947123 | 185 days ago | IN | 0 ETH | 0.00027168 | ||||
Set Approval For... | 19852981 | 199 days ago | IN | 0 ETH | 0.00018439 | ||||
Set Approval For... | 19811539 | 204 days ago | IN | 0 ETH | 0.00021776 | ||||
Set Approval For... | 19734129 | 215 days ago | IN | 0 ETH | 0.00066275 | ||||
Set Approval For... | 19620024 | 231 days ago | IN | 0 ETH | 0.00111421 | ||||
Set Approval For... | 19411174 | 261 days ago | IN | 0 ETH | 0.00277808 | ||||
Set Approval For... | 19363357 | 267 days ago | IN | 0 ETH | 0.00530962 | ||||
Set Approval For... | 18904139 | 332 days ago | IN | 0 ETH | 0.00070173 | ||||
Set Approval For... | 18821361 | 343 days ago | IN | 0 ETH | 0.0019215 | ||||
Set Approval For... | 18674968 | 364 days ago | IN | 0 ETH | 0.00077754 | ||||
Set Approval For... | 18648705 | 367 days ago | IN | 0 ETH | 0.00045741 | ||||
Set Approval For... | 18635018 | 369 days ago | IN | 0 ETH | 0.00096114 | ||||
Set Approval For... | 18573420 | 378 days ago | IN | 0 ETH | 0.00144105 | ||||
Set Approval For... | 18567480 | 379 days ago | IN | 0 ETH | 0.00119222 | ||||
Set Approval For... | 18432902 | 398 days ago | IN | 0 ETH | 0.00094445 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
PepeDreams
Compiler Version
v0.8.18+commit.87f61d96
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/utils/introspection/IERC165.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; contract PepeDreams is IERC165, ERC721, Ownable { using Strings for uint256; uint256 public maxSupply = 5000; uint256 public nextTokenId = 1; uint256 public maxMintsPerAddress = 5; mapping(address => uint256) public mintCounts; string public baseURI; bool public mintEnabled = false; event MetadataUpdate(uint256 _tokenId); event BatchMetadataUpdate(uint256 _fromTokenId, uint256 _toTokenId); constructor(string memory _baseUri) ERC721("Pepe Dreams", "PEPEDREAMS") { baseURI = _baseUri; } function setBaseURI(string memory uri) external onlyOwner { baseURI = uri; } function toggleMint() public onlyOwner { mintEnabled = !mintEnabled; } function mint() public { require(mintEnabled, "Mint is disabled"); require(nextTokenId <= maxSupply, "Pepe Dreams has minted out!"); require(msg.sender == tx.origin, "Contracts cannot mint"); require(mintCounts[msg.sender] < maxMintsPerAddress, "Already minted max for this address"); mintCounts[msg.sender] += 1; _mint(msg.sender, nextTokenId++); } function tokenURI(uint256 _tokenId) public view virtual override returns (string memory) { _requireMinted(_tokenId); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, _tokenId.toString(), ".json")) : ''; } function totalSupply() public view returns (uint256) { return nextTokenId - 1; } function updateMetadata(uint256 _tokenId) external onlyOwner { require(_tokenId < nextTokenId, "invalid tokenId"); emit MetadataUpdate(_tokenId); } function batchUpdateMetadata(uint256 fromTokenId, uint256 toTokenId) external onlyOwner { require(fromTokenId <= toTokenId, "invalid range"); emit BatchMetadataUpdate(fromTokenId, toTokenId); } function batchUpdateMetadata(uint256[] memory tokenIds) external onlyOwner { for (uint256 i = 0; i < tokenIds.length; i++) { emit MetadataUpdate(tokenIds[i]); } } /// @dev See {IERC165-supportsInterface}. function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { // ERC-4906: EIP-721 Metadata Update Extension return interfaceId == bytes4(0x49064906) || super.supportsInterface(interfaceId); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/extensions/ERC721Enumerable.sol) pragma solidity ^0.8.0; import "../ERC721.sol"; import "./IERC721Enumerable.sol"; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } /** * @dev See {ERC721-_beforeTokenTransfer}. */ function _beforeTokenTransfer( address from, address to, uint256 firstTokenId, uint256 batchSize ) internal virtual override { super._beforeTokenTransfer(from, to, firstTokenId, batchSize); if (batchSize > 1) { // Will only trigger during construction. Batch transferring (minting) is not available afterwards. revert("ERC721Enumerable: consecutive transfers not supported"); } uint256 tokenId = firstTokenId; if (from == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = ERC721.balanceOf(from) - 1; uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array delete _ownedTokensIndex[tokenId]; delete _ownedTokens[from][lastTokenIndex]; } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length - 1; uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array delete _allTokensIndex[tokenId]; _allTokens.pop(); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.2) (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // 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; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: address zero is not a valid owner"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _ownerOf(tokenId); require(owner != address(0), "ERC721: invalid token ID"); return owner; } /** * @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) { _requireMinted(tokenId); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @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 overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not token owner or approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { _requireMinted(tokenId); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), 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 { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner or approved"); _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 { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner or approved"); _safeTransfer(from, to, tokenId, data); } /** * @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. * * `data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns the owner of the `tokenId`. Does NOT revert if token doesn't exist */ function _ownerOf(uint256 tokenId) internal view virtual returns (address) { return _owners[tokenId]; } /** * @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`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _ownerOf(tokenId) != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { address owner = ERC721.ownerOf(tokenId); return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId, 1); // Check that tokenId was not minted by `_beforeTokenTransfer` hook require(!_exists(tokenId), "ERC721: token already minted"); unchecked { // Will not overflow unless all 2**256 token ids are minted to the same owner. // Given that tokens are minted one by one, it is impossible in practice that // this ever happens. Might change if we allow batch minting. // The ERC fails to describe this case. _balances[to] += 1; } _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); _afterTokenTransfer(address(0), to, tokenId, 1); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * This is an internal function that does not check if the sender is authorized to operate on the token. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId, 1); // Update ownership in case tokenId was transferred by `_beforeTokenTransfer` hook owner = ERC721.ownerOf(tokenId); // Clear approvals delete _tokenApprovals[tokenId]; unchecked { // Cannot overflow, as that would require more tokens to be burned/transferred // out than the owner initially received through minting and transferring in. _balances[owner] -= 1; } delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); _afterTokenTransfer(owner, address(0), tokenId, 1); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * 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 ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId, 1); // Check that tokenId was not transferred by `_beforeTokenTransfer` hook require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); // Clear approvals from the previous owner delete _tokenApprovals[tokenId]; unchecked { // `_balances[from]` cannot overflow for the same reason as described in `_burn`: // `from`'s balance is the number of token held, which is at least one before the current // transfer. // `_balances[to]` could overflow in the conditions described in `_mint`. That would require // all 2**256 token ids to be minted, which in practice is impossible. _balances[from] -= 1; _balances[to] += 1; } _owners[tokenId] = to; emit Transfer(from, to, tokenId); _afterTokenTransfer(from, to, tokenId, 1); } /** * @dev Approve `to` to operate on `tokenId` * * Emits an {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits an {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Reverts if the `tokenId` has not been minted yet. */ function _requireMinted(uint256 tokenId) internal view virtual { require(_exists(tokenId), "ERC721: invalid token ID"); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a 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 _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { /// @solidity memory-safe-assembly assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting and burning. If {ERC721Consecutive} is * used, the hook may be called as part of a consecutive (batch) mint, as indicated by `batchSize` greater than 1. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s tokens will be transferred to `to`. * - When `from` is zero, the tokens will be minted for `to`. * - When `to` is zero, ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * - `batchSize` is non-zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 firstTokenId, uint256 batchSize ) internal virtual {} /** * @dev Hook that is called after any token transfer. This includes minting and burning. If {ERC721Consecutive} is * used, the hook may be called as part of a consecutive (batch) mint, as indicated by `batchSize` greater than 1. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s tokens were transferred to `to`. * - When `from` is zero, the tokens were minted for `to`. * - When `to` is zero, ``from``'s tokens were burned. * - `from` and `to` are never both zero. * - `batchSize` is non-zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 firstTokenId, uint256 batchSize ) internal virtual {} /** * @dev Unsafe write access to the balances, used by extensions that "mint" tokens using an {ownerOf} override. * * WARNING: Anyone calling this MUST ensure that the balances remain consistent with the ownership. The invariant * being that for any address `a` the value returned by `balanceOf(a)` must be equal to the number of tokens such * that `ownerOf(tokenId)` is `a`. */ // solhint-disable-next-line func-name-mixedcase function __unsafe_increaseBalance(address account, uint256 amount) internal { _balances[account] += amount; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @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 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: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721 * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must * understand this adds an external call which potentially creates a reentrancy vulnerability. * * 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); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (utils/Strings.sol) pragma solidity ^0.8.0; import "./math/Math.sol"; /** * @dev String operations. */ library Strings { bytes16 private constant _SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { unchecked { uint256 length = Math.log10(value) + 1; string memory buffer = new string(length); uint256 ptr; /// @solidity memory-safe-assembly assembly { ptr := add(buffer, add(32, length)) } while (true) { ptr--; /// @solidity memory-safe-assembly assembly { mstore8(ptr, byte(mod(value, 10), _SYMBOLS)) } value /= 10; if (value == 0) break; } return buffer; } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { unchecked { return toHexString(value, Math.log256(value) + 1); } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.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 functionCallWithValue(target, data, 0, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract. * * _Available since v4.8._ */ function verifyCallResultFromTarget( address target, bool success, bytes memory returndata, string memory errorMessage ) internal view returns (bytes memory) { if (success) { if (returndata.length == 0) { // only check isContract if the call was successful and the return data is empty // otherwise we already know that it was a contract require(isContract(target), "Address: call to non-contract"); } return returndata; } else { _revert(returndata, errorMessage); } } /** * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason or using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { _revert(returndata, errorMessage); } } function _revert(bytes memory returndata, string memory errorMessage) private pure { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @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); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (utils/math/Math.sol) pragma solidity ^0.8.0; /** * @dev Standard math utilities missing in the Solidity language. */ library Math { enum Rounding { Down, // Toward negative infinity Up, // Toward infinity Zero // Toward zero } /** * @dev Returns the largest of two numbers. */ function max(uint256 a, uint256 b) internal pure returns (uint256) { return a > b ? a : b; } /** * @dev Returns the smallest of two numbers. */ function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } /** * @dev Returns the average of two numbers. The result is rounded towards * zero. */ function average(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b) / 2 can overflow. return (a & b) + (a ^ b) / 2; } /** * @dev Returns the ceiling of the division of two numbers. * * This differs from standard division with `/` in that it rounds up instead * of rounding down. */ function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b - 1) / b can overflow on addition, so we distribute. return a == 0 ? 0 : (a - 1) / b + 1; } /** * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0 * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) * with further edits by Uniswap Labs also under MIT license. */ function mulDiv( uint256 x, uint256 y, uint256 denominator ) internal pure returns (uint256 result) { unchecked { // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256 // variables such that product = prod1 * 2^256 + prod0. uint256 prod0; // Least significant 256 bits of the product uint256 prod1; // Most significant 256 bits of the product assembly { let mm := mulmod(x, y, not(0)) prod0 := mul(x, y) prod1 := sub(sub(mm, prod0), lt(mm, prod0)) } // Handle non-overflow cases, 256 by 256 division. if (prod1 == 0) { return prod0 / denominator; } // Make sure the result is less than 2^256. Also prevents denominator == 0. require(denominator > prod1); /////////////////////////////////////////////// // 512 by 256 division. /////////////////////////////////////////////// // Make division exact by subtracting the remainder from [prod1 prod0]. uint256 remainder; assembly { // Compute remainder using mulmod. remainder := mulmod(x, y, denominator) // Subtract 256 bit number from 512 bit number. prod1 := sub(prod1, gt(remainder, prod0)) prod0 := sub(prod0, remainder) } // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1. // See https://cs.stackexchange.com/q/138556/92363. // Does not overflow because the denominator cannot be zero at this stage in the function. uint256 twos = denominator & (~denominator + 1); assembly { // Divide denominator by twos. denominator := div(denominator, twos) // Divide [prod1 prod0] by twos. prod0 := div(prod0, twos) // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one. twos := add(div(sub(0, twos), twos), 1) } // Shift in bits from prod1 into prod0. prod0 |= prod1 * twos; // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for // four bits. That is, denominator * inv = 1 mod 2^4. uint256 inverse = (3 * denominator) ^ 2; // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works // in modular arithmetic, doubling the correct bits in each step. inverse *= 2 - denominator * inverse; // inverse mod 2^8 inverse *= 2 - denominator * inverse; // inverse mod 2^16 inverse *= 2 - denominator * inverse; // inverse mod 2^32 inverse *= 2 - denominator * inverse; // inverse mod 2^64 inverse *= 2 - denominator * inverse; // inverse mod 2^128 inverse *= 2 - denominator * inverse; // inverse mod 2^256 // Because the division is now exact we can divide by multiplying with the modular inverse of denominator. // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1 // is no longer required. result = prod0 * inverse; return result; } } /** * @notice Calculates x * y / denominator with full precision, following the selected rounding direction. */ function mulDiv( uint256 x, uint256 y, uint256 denominator, Rounding rounding ) internal pure returns (uint256) { uint256 result = mulDiv(x, y, denominator); if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) { result += 1; } return result; } /** * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down. * * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11). */ function sqrt(uint256 a) internal pure returns (uint256) { if (a == 0) { return 0; } // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target. // // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`. // // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)` // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))` // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)` // // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit. uint256 result = 1 << (log2(a) >> 1); // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128, // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision // into the expected uint128 result. unchecked { result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; return min(result, a / result); } } /** * @notice Calculates sqrt(a), following the selected rounding direction. */ function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = sqrt(a); return result + (rounding == Rounding.Up && result * result < a ? 1 : 0); } } /** * @dev Return the log in base 2, rounded down, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 128; } if (value >> 64 > 0) { value >>= 64; result += 64; } if (value >> 32 > 0) { value >>= 32; result += 32; } if (value >> 16 > 0) { value >>= 16; result += 16; } if (value >> 8 > 0) { value >>= 8; result += 8; } if (value >> 4 > 0) { value >>= 4; result += 4; } if (value >> 2 > 0) { value >>= 2; result += 2; } if (value >> 1 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 2, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log2(value); return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0); } } /** * @dev Return the log in base 10, rounded down, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >= 10**64) { value /= 10**64; result += 64; } if (value >= 10**32) { value /= 10**32; result += 32; } if (value >= 10**16) { value /= 10**16; result += 16; } if (value >= 10**8) { value /= 10**8; result += 8; } if (value >= 10**4) { value /= 10**4; result += 4; } if (value >= 10**2) { value /= 10**2; result += 2; } if (value >= 10**1) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log10(value); return result + (rounding == Rounding.Up && 10**result < value ? 1 : 0); } } /** * @dev Return the log in base 256, rounded down, of a positive value. * Returns 0 if given 0. * * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string. */ function log256(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 16; } if (value >> 64 > 0) { value >>= 64; result += 8; } if (value >> 32 > 0) { value >>= 32; result += 4; } if (value >> 16 > 0) { value >>= 16; result += 2; } if (value >> 8 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log256(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log256(value); return result + (rounding == Rounding.Up && 1 << (result * 8) < value ? 1 : 0); } } }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_baseUri","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"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":false,"internalType":"uint256","name":"_fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_toTokenId","type":"uint256"}],"name":"BatchMetadataUpdate","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"MetadataUpdate","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":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"batchUpdateMetadata","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"internalType":"uint256","name":"toTokenId","type":"uint256"}],"name":"batchUpdateMetadata","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintsPerAddress","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"mintCounts","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nextTokenId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"uri","type":"string"}],"name":"setBaseURI","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":[],"name":"toggleMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"updateMetadata","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
608060405261138860075560016008556005600955600c805460ff191690553480156200002b57600080fd5b506040516200202d3803806200202d8339810160408190526200004e9162000154565b6040518060400160405280600b81526020016a5065706520447265616d7360a81b8152506040518060400160405280600a81526020016950455045445245414d5360b01b8152508160009081620000a69190620002b8565b506001620000b58282620002b8565b505050620000d2620000cc620000e860201b60201c565b620000ec565b600b620000e08282620002b8565b505062000384565b3390565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b634e487b7160e01b600052604160045260246000fd5b600060208083850312156200016857600080fd5b82516001600160401b03808211156200018057600080fd5b818501915085601f8301126200019557600080fd5b815181811115620001aa57620001aa6200013e565b604051601f8201601f19908116603f01168101908382118183101715620001d557620001d56200013e565b816040528281528886848701011115620001ee57600080fd5b600093505b82841015620002125784840186015181850187015292850192620001f3565b600086848301015280965050505050505092915050565b600181811c908216806200023e57607f821691505b6020821081036200025f57634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620002b357600081815260208120601f850160051c810160208610156200028e5750805b601f850160051c820191505b81811015620002af578281556001016200029a565b5050505b505050565b81516001600160401b03811115620002d457620002d46200013e565b620002ec81620002e5845462000229565b8462000265565b602080601f8311600181146200032457600084156200030b5750858301515b600019600386901b1c1916600185901b178555620002af565b600085815260208120601f198616915b82811015620003555788860151825594840194600190910190840162000334565b5085821015620003745787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b611c9980620003946000396000f3fe608060405234801561001057600080fd5b50600436106101cf5760003560e01c8063715018a611610104578063b88d4fde116100a2578063d5abeb0111610071578063d5abeb011461039d578063e8f6fd60146103a6578063e985e9c5146103b9578063f2fde38b146103cc57600080fd5b8063b88d4fde14610362578063c87b56dd14610375578063d123973014610388578063d3dd5fe01461039557600080fd5b806395d89b41116100de57806395d89b411461032b5780639c09628d14610333578063a22cb46514610346578063ae6a80d51461035957600080fd5b8063715018a61461030957806375794a3c146103115780638da5cb5b1461031a57600080fd5b806342842e0e1161017157806355f804b31161014b57806355f804b3146102c85780636352211e146102db5780636c0360eb146102ee57806370a08231146102f657600080fd5b806342842e0e146102825780634c74ff2b1461029557806353277879146102a857600080fd5b8063095ea7b3116101ad578063095ea7b31461023c5780631249c58b1461025157806318160ddd1461025957806323b872dd1461026f57600080fd5b806301ffc9a7146101d457806306fdde03146101fc578063081812fc14610211575b600080fd5b6101e76101e2366004611503565b6103df565b60405190151581526020015b60405180910390f35b61020461040a565b6040516101f39190611577565b61022461021f36600461158a565b61049c565b6040516001600160a01b0390911681526020016101f3565b61024f61024a3660046115bf565b6104c3565b005b61024f6105dd565b61026161076f565b6040519081526020016101f3565b61024f61027d3660046115e9565b610785565b61024f6102903660046115e9565b6107b6565b61024f6102a336600461166c565b6107d1565b6102616102b6366004611712565b600a6020526000908152604090205481565b61024f6102d6366004611785565b61084d565b6102246102e936600461158a565b610861565b6102046108c1565b610261610304366004611712565b61094f565b61024f6109d5565b61026160085481565b6006546001600160a01b0316610224565b6102046109e7565b61024f61034136600461158a565b6109f6565b61024f6103543660046117ce565b610a77565b61026160095481565b61024f61037036600461180a565b610a82565b61020461038336600461158a565b610aba565b600c546101e79060ff1681565b61024f610b21565b61026160075481565b61024f6103b4366004611886565b610b3d565b6101e76103c73660046118a8565b610bc2565b61024f6103da366004611712565b610bf0565b60006001600160e01b03198216632483248360e11b1480610404575061040482610c69565b92915050565b606060008054610419906118db565b80601f0160208091040260200160405190810160405280929190818152602001828054610445906118db565b80156104925780601f1061046757610100808354040283529160200191610492565b820191906000526020600020905b81548152906001019060200180831161047557829003601f168201915b5050505050905090565b60006104a782610cb9565b506000908152600460205260409020546001600160a01b031690565b60006104ce82610861565b9050806001600160a01b0316836001600160a01b0316036105405760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084015b60405180910390fd5b336001600160a01b038216148061055c575061055c8133610bc2565b6105ce5760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c0000006064820152608401610537565b6105d88383610d18565b505050565b600c5460ff166106225760405162461bcd60e51b815260206004820152601060248201526f135a5b9d081a5cc8191a5cd8589b195960821b6044820152606401610537565b60075460085411156106765760405162461bcd60e51b815260206004820152601b60248201527f5065706520447265616d7320686173206d696e746564206f75742100000000006044820152606401610537565b3332146106bd5760405162461bcd60e51b815260206004820152601560248201527410dbdb9d1c9858dd1cc818d85b9b9bdd081b5a5b9d605a1b6044820152606401610537565b600954336000908152600a6020526040902054106107295760405162461bcd60e51b815260206004820152602360248201527f416c7265616479206d696e746564206d617820666f722074686973206164647260448201526265737360e81b6064820152608401610537565b336000908152600a6020526040812080546001929061074990849061192b565b90915550506008805461076d9133919060006107648361193e565b91905055610d86565b565b600060016008546107809190611957565b905090565b61078f3382610f11565b6107ab5760405162461bcd60e51b81526004016105379061196a565b6105d8838383610f70565b6105d883838360405180602001604052806000815250610a82565b6107d96110d4565b60005b8151811015610849577ff8e1a15aba9398e019f0b49df1a4fde98ee17ae345cb5f6b5e2c27f5033e8ce7828281518110610818576108186119b7565b602002602001015160405161082f91815260200190565b60405180910390a1806108418161193e565b9150506107dc565b5050565b6108556110d4565b600b6108498282611a1b565b6000818152600260205260408120546001600160a01b0316806104045760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610537565b600b80546108ce906118db565b80601f01602080910402602001604051908101604052809291908181526020018280546108fa906118db565b80156109475780601f1061091c57610100808354040283529160200191610947565b820191906000526020600020905b81548152906001019060200180831161092a57829003601f168201915b505050505081565b60006001600160a01b0382166109b95760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b6064820152608401610537565b506001600160a01b031660009081526003602052604090205490565b6109dd6110d4565b61076d600061112e565b606060018054610419906118db565b6109fe6110d4565b6008548110610a415760405162461bcd60e51b815260206004820152600f60248201526e1a5b9d985b1a59081d1bdad95b9259608a1b6044820152606401610537565b6040518181527ff8e1a15aba9398e019f0b49df1a4fde98ee17ae345cb5f6b5e2c27f5033e8ce79060200160405180910390a150565b610849338383611180565b610a8c3383610f11565b610aa85760405162461bcd60e51b81526004016105379061196a565b610ab48484848461124e565b50505050565b6060610ac582610cb9565b6000600b8054610ad4906118db565b905011610af05760405180602001604052806000815250610404565b600b610afb83611281565b604051602001610b0c929190611adb565b60405160208183030381529060405292915050565b610b296110d4565b600c805460ff19811660ff90911615179055565b610b456110d4565b80821115610b855760405162461bcd60e51b815260206004820152600d60248201526c696e76616c69642072616e676560981b6044820152606401610537565b60408051838152602081018390527f6bd5c950a8d8df17f772f5af37cb3655737899cbf903264b9795592da439661c910160405180910390a15050565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b610bf86110d4565b6001600160a01b038116610c5d5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610537565b610c668161112e565b50565b60006001600160e01b031982166380ac58cd60e01b1480610c9a57506001600160e01b03198216635b5e139f60e01b145b8061040457506301ffc9a760e01b6001600160e01b0319831614610404565b6000818152600260205260409020546001600160a01b0316610c665760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610537565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610d4d82610861565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6001600160a01b038216610ddc5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610537565b6000818152600260205260409020546001600160a01b031615610e415760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610537565b6000818152600260205260409020546001600160a01b031615610ea65760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610537565b6001600160a01b038216600081815260036020908152604080832080546001019055848352600290915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600080610f1d83610861565b9050806001600160a01b0316846001600160a01b03161480610f445750610f448185610bc2565b80610f685750836001600160a01b0316610f5d8461049c565b6001600160a01b0316145b949350505050565b826001600160a01b0316610f8382610861565b6001600160a01b031614610fa95760405162461bcd60e51b815260040161053790611b72565b6001600160a01b03821661100b5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610537565b826001600160a01b031661101e82610861565b6001600160a01b0316146110445760405162461bcd60e51b815260040161053790611b72565b600081815260046020908152604080832080546001600160a01b03199081169091556001600160a01b0387811680865260038552838620805460001901905590871680865283862080546001019055868652600290945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6006546001600160a01b0316331461076d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610537565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b0316036111e15760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610537565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b611259848484610f70565b61126584848484611314565b610ab45760405162461bcd60e51b815260040161053790611bb7565b6060600061128e83611415565b600101905060008167ffffffffffffffff8111156112ae576112ae611625565b6040519080825280601f01601f1916602001820160405280156112d8576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a85049450846112e257509392505050565b60006001600160a01b0384163b1561140a57604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611358903390899088908890600401611c09565b6020604051808303816000875af1925050508015611393575060408051601f3d908101601f1916820190925261139091810190611c46565b60015b6113f0573d8080156113c1576040519150601f19603f3d011682016040523d82523d6000602084013e6113c6565b606091505b5080516000036113e85760405162461bcd60e51b815260040161053790611bb7565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050610f68565b506001949350505050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106114545772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310611480576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061149e57662386f26fc10000830492506010015b6305f5e10083106114b6576305f5e100830492506008015b61271083106114ca57612710830492506004015b606483106114dc576064830492506002015b600a83106104045760010192915050565b6001600160e01b031981168114610c6657600080fd5b60006020828403121561151557600080fd5b8135611520816114ed565b9392505050565b60005b8381101561154257818101518382015260200161152a565b50506000910152565b60008151808452611563816020860160208601611527565b601f01601f19169290920160200192915050565b602081526000611520602083018461154b565b60006020828403121561159c57600080fd5b5035919050565b80356001600160a01b03811681146115ba57600080fd5b919050565b600080604083850312156115d257600080fd5b6115db836115a3565b946020939093013593505050565b6000806000606084860312156115fe57600080fd5b611607846115a3565b9250611615602085016115a3565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561166457611664611625565b604052919050565b6000602080838503121561167f57600080fd5b823567ffffffffffffffff8082111561169757600080fd5b818501915085601f8301126116ab57600080fd5b8135818111156116bd576116bd611625565b8060051b91506116ce84830161163b565b81815291830184019184810190888411156116e857600080fd5b938501935b83851015611706578435825293850193908501906116ed565b98975050505050505050565b60006020828403121561172457600080fd5b611520826115a3565b600067ffffffffffffffff83111561174757611747611625565b61175a601f8401601f191660200161163b565b905082815283838301111561176e57600080fd5b828260208301376000602084830101529392505050565b60006020828403121561179757600080fd5b813567ffffffffffffffff8111156117ae57600080fd5b8201601f810184136117bf57600080fd5b610f688482356020840161172d565b600080604083850312156117e157600080fd5b6117ea836115a3565b9150602083013580151581146117ff57600080fd5b809150509250929050565b6000806000806080858703121561182057600080fd5b611829856115a3565b9350611837602086016115a3565b925060408501359150606085013567ffffffffffffffff81111561185a57600080fd5b8501601f8101871361186b57600080fd5b61187a8782356020840161172d565b91505092959194509250565b6000806040838503121561189957600080fd5b50508035926020909101359150565b600080604083850312156118bb57600080fd5b6118c4836115a3565b91506118d2602084016115a3565b90509250929050565b600181811c908216806118ef57607f821691505b60208210810361190f57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8082018082111561040457610404611915565b60006001820161195057611950611915565b5060010190565b8181038181111561040457610404611915565b6020808252602d908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526c1c881bdc88185c1c1c9bdd9959609a1b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b601f8211156105d857600081815260208120601f850160051c810160208610156119f45750805b601f850160051c820191505b81811015611a1357828155600101611a00565b505050505050565b815167ffffffffffffffff811115611a3557611a35611625565b611a4981611a4384546118db565b846119cd565b602080601f831160018114611a7e5760008415611a665750858301515b600019600386901b1c1916600185901b178555611a13565b600085815260208120601f198616915b82811015611aad57888601518255948401946001909101908401611a8e565b5085821015611acb5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000808454611ae9816118db565b60018281168015611b015760018114611b1657611b45565b60ff1984168752821515830287019450611b45565b8860005260208060002060005b85811015611b3c5781548a820152908401908201611b23565b50505082870194505b505050508351611b59818360208801611527565b64173539b7b760d91b9101908152600501949350505050565b60208082526025908201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060408201526437bbb732b960d91b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611c3c9083018461154b565b9695505050505050565b600060208284031215611c5857600080fd5b8151611520816114ed56fea26469706673582212206bb2f6eb5909d9555a8174b6ba8c6bbfd52864a19554aeb0c20985ba19682e4864736f6c634300081200330000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000002468747470733a2f2f6d6574612e6d6370657065732e636f6d2f6d616769632d6564656e2f00000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101cf5760003560e01c8063715018a611610104578063b88d4fde116100a2578063d5abeb0111610071578063d5abeb011461039d578063e8f6fd60146103a6578063e985e9c5146103b9578063f2fde38b146103cc57600080fd5b8063b88d4fde14610362578063c87b56dd14610375578063d123973014610388578063d3dd5fe01461039557600080fd5b806395d89b41116100de57806395d89b411461032b5780639c09628d14610333578063a22cb46514610346578063ae6a80d51461035957600080fd5b8063715018a61461030957806375794a3c146103115780638da5cb5b1461031a57600080fd5b806342842e0e1161017157806355f804b31161014b57806355f804b3146102c85780636352211e146102db5780636c0360eb146102ee57806370a08231146102f657600080fd5b806342842e0e146102825780634c74ff2b1461029557806353277879146102a857600080fd5b8063095ea7b3116101ad578063095ea7b31461023c5780631249c58b1461025157806318160ddd1461025957806323b872dd1461026f57600080fd5b806301ffc9a7146101d457806306fdde03146101fc578063081812fc14610211575b600080fd5b6101e76101e2366004611503565b6103df565b60405190151581526020015b60405180910390f35b61020461040a565b6040516101f39190611577565b61022461021f36600461158a565b61049c565b6040516001600160a01b0390911681526020016101f3565b61024f61024a3660046115bf565b6104c3565b005b61024f6105dd565b61026161076f565b6040519081526020016101f3565b61024f61027d3660046115e9565b610785565b61024f6102903660046115e9565b6107b6565b61024f6102a336600461166c565b6107d1565b6102616102b6366004611712565b600a6020526000908152604090205481565b61024f6102d6366004611785565b61084d565b6102246102e936600461158a565b610861565b6102046108c1565b610261610304366004611712565b61094f565b61024f6109d5565b61026160085481565b6006546001600160a01b0316610224565b6102046109e7565b61024f61034136600461158a565b6109f6565b61024f6103543660046117ce565b610a77565b61026160095481565b61024f61037036600461180a565b610a82565b61020461038336600461158a565b610aba565b600c546101e79060ff1681565b61024f610b21565b61026160075481565b61024f6103b4366004611886565b610b3d565b6101e76103c73660046118a8565b610bc2565b61024f6103da366004611712565b610bf0565b60006001600160e01b03198216632483248360e11b1480610404575061040482610c69565b92915050565b606060008054610419906118db565b80601f0160208091040260200160405190810160405280929190818152602001828054610445906118db565b80156104925780601f1061046757610100808354040283529160200191610492565b820191906000526020600020905b81548152906001019060200180831161047557829003601f168201915b5050505050905090565b60006104a782610cb9565b506000908152600460205260409020546001600160a01b031690565b60006104ce82610861565b9050806001600160a01b0316836001600160a01b0316036105405760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084015b60405180910390fd5b336001600160a01b038216148061055c575061055c8133610bc2565b6105ce5760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c0000006064820152608401610537565b6105d88383610d18565b505050565b600c5460ff166106225760405162461bcd60e51b815260206004820152601060248201526f135a5b9d081a5cc8191a5cd8589b195960821b6044820152606401610537565b60075460085411156106765760405162461bcd60e51b815260206004820152601b60248201527f5065706520447265616d7320686173206d696e746564206f75742100000000006044820152606401610537565b3332146106bd5760405162461bcd60e51b815260206004820152601560248201527410dbdb9d1c9858dd1cc818d85b9b9bdd081b5a5b9d605a1b6044820152606401610537565b600954336000908152600a6020526040902054106107295760405162461bcd60e51b815260206004820152602360248201527f416c7265616479206d696e746564206d617820666f722074686973206164647260448201526265737360e81b6064820152608401610537565b336000908152600a6020526040812080546001929061074990849061192b565b90915550506008805461076d9133919060006107648361193e565b91905055610d86565b565b600060016008546107809190611957565b905090565b61078f3382610f11565b6107ab5760405162461bcd60e51b81526004016105379061196a565b6105d8838383610f70565b6105d883838360405180602001604052806000815250610a82565b6107d96110d4565b60005b8151811015610849577ff8e1a15aba9398e019f0b49df1a4fde98ee17ae345cb5f6b5e2c27f5033e8ce7828281518110610818576108186119b7565b602002602001015160405161082f91815260200190565b60405180910390a1806108418161193e565b9150506107dc565b5050565b6108556110d4565b600b6108498282611a1b565b6000818152600260205260408120546001600160a01b0316806104045760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610537565b600b80546108ce906118db565b80601f01602080910402602001604051908101604052809291908181526020018280546108fa906118db565b80156109475780601f1061091c57610100808354040283529160200191610947565b820191906000526020600020905b81548152906001019060200180831161092a57829003601f168201915b505050505081565b60006001600160a01b0382166109b95760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b6064820152608401610537565b506001600160a01b031660009081526003602052604090205490565b6109dd6110d4565b61076d600061112e565b606060018054610419906118db565b6109fe6110d4565b6008548110610a415760405162461bcd60e51b815260206004820152600f60248201526e1a5b9d985b1a59081d1bdad95b9259608a1b6044820152606401610537565b6040518181527ff8e1a15aba9398e019f0b49df1a4fde98ee17ae345cb5f6b5e2c27f5033e8ce79060200160405180910390a150565b610849338383611180565b610a8c3383610f11565b610aa85760405162461bcd60e51b81526004016105379061196a565b610ab48484848461124e565b50505050565b6060610ac582610cb9565b6000600b8054610ad4906118db565b905011610af05760405180602001604052806000815250610404565b600b610afb83611281565b604051602001610b0c929190611adb565b60405160208183030381529060405292915050565b610b296110d4565b600c805460ff19811660ff90911615179055565b610b456110d4565b80821115610b855760405162461bcd60e51b815260206004820152600d60248201526c696e76616c69642072616e676560981b6044820152606401610537565b60408051838152602081018390527f6bd5c950a8d8df17f772f5af37cb3655737899cbf903264b9795592da439661c910160405180910390a15050565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b610bf86110d4565b6001600160a01b038116610c5d5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610537565b610c668161112e565b50565b60006001600160e01b031982166380ac58cd60e01b1480610c9a57506001600160e01b03198216635b5e139f60e01b145b8061040457506301ffc9a760e01b6001600160e01b0319831614610404565b6000818152600260205260409020546001600160a01b0316610c665760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610537565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610d4d82610861565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6001600160a01b038216610ddc5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610537565b6000818152600260205260409020546001600160a01b031615610e415760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610537565b6000818152600260205260409020546001600160a01b031615610ea65760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610537565b6001600160a01b038216600081815260036020908152604080832080546001019055848352600290915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600080610f1d83610861565b9050806001600160a01b0316846001600160a01b03161480610f445750610f448185610bc2565b80610f685750836001600160a01b0316610f5d8461049c565b6001600160a01b0316145b949350505050565b826001600160a01b0316610f8382610861565b6001600160a01b031614610fa95760405162461bcd60e51b815260040161053790611b72565b6001600160a01b03821661100b5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610537565b826001600160a01b031661101e82610861565b6001600160a01b0316146110445760405162461bcd60e51b815260040161053790611b72565b600081815260046020908152604080832080546001600160a01b03199081169091556001600160a01b0387811680865260038552838620805460001901905590871680865283862080546001019055868652600290945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6006546001600160a01b0316331461076d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610537565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b0316036111e15760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610537565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b611259848484610f70565b61126584848484611314565b610ab45760405162461bcd60e51b815260040161053790611bb7565b6060600061128e83611415565b600101905060008167ffffffffffffffff8111156112ae576112ae611625565b6040519080825280601f01601f1916602001820160405280156112d8576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a85049450846112e257509392505050565b60006001600160a01b0384163b1561140a57604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611358903390899088908890600401611c09565b6020604051808303816000875af1925050508015611393575060408051601f3d908101601f1916820190925261139091810190611c46565b60015b6113f0573d8080156113c1576040519150601f19603f3d011682016040523d82523d6000602084013e6113c6565b606091505b5080516000036113e85760405162461bcd60e51b815260040161053790611bb7565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050610f68565b506001949350505050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106114545772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310611480576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061149e57662386f26fc10000830492506010015b6305f5e10083106114b6576305f5e100830492506008015b61271083106114ca57612710830492506004015b606483106114dc576064830492506002015b600a83106104045760010192915050565b6001600160e01b031981168114610c6657600080fd5b60006020828403121561151557600080fd5b8135611520816114ed565b9392505050565b60005b8381101561154257818101518382015260200161152a565b50506000910152565b60008151808452611563816020860160208601611527565b601f01601f19169290920160200192915050565b602081526000611520602083018461154b565b60006020828403121561159c57600080fd5b5035919050565b80356001600160a01b03811681146115ba57600080fd5b919050565b600080604083850312156115d257600080fd5b6115db836115a3565b946020939093013593505050565b6000806000606084860312156115fe57600080fd5b611607846115a3565b9250611615602085016115a3565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561166457611664611625565b604052919050565b6000602080838503121561167f57600080fd5b823567ffffffffffffffff8082111561169757600080fd5b818501915085601f8301126116ab57600080fd5b8135818111156116bd576116bd611625565b8060051b91506116ce84830161163b565b81815291830184019184810190888411156116e857600080fd5b938501935b83851015611706578435825293850193908501906116ed565b98975050505050505050565b60006020828403121561172457600080fd5b611520826115a3565b600067ffffffffffffffff83111561174757611747611625565b61175a601f8401601f191660200161163b565b905082815283838301111561176e57600080fd5b828260208301376000602084830101529392505050565b60006020828403121561179757600080fd5b813567ffffffffffffffff8111156117ae57600080fd5b8201601f810184136117bf57600080fd5b610f688482356020840161172d565b600080604083850312156117e157600080fd5b6117ea836115a3565b9150602083013580151581146117ff57600080fd5b809150509250929050565b6000806000806080858703121561182057600080fd5b611829856115a3565b9350611837602086016115a3565b925060408501359150606085013567ffffffffffffffff81111561185a57600080fd5b8501601f8101871361186b57600080fd5b61187a8782356020840161172d565b91505092959194509250565b6000806040838503121561189957600080fd5b50508035926020909101359150565b600080604083850312156118bb57600080fd5b6118c4836115a3565b91506118d2602084016115a3565b90509250929050565b600181811c908216806118ef57607f821691505b60208210810361190f57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8082018082111561040457610404611915565b60006001820161195057611950611915565b5060010190565b8181038181111561040457610404611915565b6020808252602d908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526c1c881bdc88185c1c1c9bdd9959609a1b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b601f8211156105d857600081815260208120601f850160051c810160208610156119f45750805b601f850160051c820191505b81811015611a1357828155600101611a00565b505050505050565b815167ffffffffffffffff811115611a3557611a35611625565b611a4981611a4384546118db565b846119cd565b602080601f831160018114611a7e5760008415611a665750858301515b600019600386901b1c1916600185901b178555611a13565b600085815260208120601f198616915b82811015611aad57888601518255948401946001909101908401611a8e565b5085821015611acb5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000808454611ae9816118db565b60018281168015611b015760018114611b1657611b45565b60ff1984168752821515830287019450611b45565b8860005260208060002060005b85811015611b3c5781548a820152908401908201611b23565b50505082870194505b505050508351611b59818360208801611527565b64173539b7b760d91b9101908152600501949350505050565b60208082526025908201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060408201526437bbb732b960d91b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611c3c9083018461154b565b9695505050505050565b600060208284031215611c5857600080fd5b8151611520816114ed56fea26469706673582212206bb2f6eb5909d9555a8174b6ba8c6bbfd52864a19554aeb0c20985ba19682e4864736f6c63430008120033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000002468747470733a2f2f6d6574612e6d6370657065732e636f6d2f6d616769632d6564656e2f00000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _baseUri (string): https://meta.mcpepes.com/magic-eden/
-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000024
Arg [2] : 68747470733a2f2f6d6574612e6d6370657065732e636f6d2f6d616769632d65
Arg [3] : 64656e2f00000000000000000000000000000000000000000000000000000000
Deployed Bytecode Sourcemap
257:2402:13:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2397:260;;;;;;:::i;:::-;;:::i;:::-;;;565:14:14;;558:22;540:41;;528:2;513:18;2397:260:13;;;;;;;;2471:98:1;;;:::i;:::-;;;;;;;:::i;3935:167::-;;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1697:32:14;;;1679:51;;1667:2;1652:18;3935:167:1;1533:203:14;3468:406:1;;;;;;:::i;:::-;;:::i;:::-;;988:401:13;;;:::i;1661:92::-;;;:::i;:::-;;;2324:25:14;;;2312:2;2297:18;1661:92:13;2178:177:14;4612:326:1;;;;;;:::i;:::-;;:::i;5004:179::-;;;;;;:::i;:::-;;:::i;2151:194:13:-;;;;;;:::i;:::-;;:::i;459:45::-;;;;;;:::i;:::-;;;;;;;;;;;;;;806:88;;;;;;:::i;:::-;;:::i;2190:219:1:-;;;;;;:::i;:::-;;:::i;510:21:13:-;;;:::i;1929:204:1:-;;;;;;:::i;:::-;;:::i;1831:101:0:-;;;:::i;380:30:13:-;;;;;;1201:85:0;1273:6;;-1:-1:-1;;;;;1273:6:0;1201:85;;2633:102:1;;;:::i;1759:167:13:-;;;;;;:::i;:::-;;:::i;4169:153:1:-;;;;;;:::i;:::-;;:::i;416:37:13:-;;;;;;5249:314:1;;;;;;:::i;:::-;;:::i;1395:260:13:-;;;;;;:::i;:::-;;:::i;537:31::-;;;;;;;;;900:82;;;:::i;343:31::-;;;;;;1932:213;;;;;;:::i;:::-;;:::i;4388:162:1:-;;;;;;:::i;:::-;;:::i;2081:198:0:-;;;;;;:::i;:::-;;:::i;2397:260:13:-;2499:4;-1:-1:-1;;;;;;2577:33:13;;-1:-1:-1;;;2577:33:13;;:73;;;2614:36;2638:11;2614:23;:36::i;:::-;2570:80;2397:260;-1:-1:-1;;2397:260:13:o;2471:98:1:-;2525:13;2557:5;2550:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2471:98;:::o;3935:167::-;4011:7;4030:23;4045:7;4030:14;:23::i;:::-;-1:-1:-1;4071:24:1;;;;:15;:24;;;;;;-1:-1:-1;;;;;4071:24:1;;3935:167::o;3468:406::-;3548:13;3564:23;3579:7;3564:14;:23::i;:::-;3548:39;;3611:5;-1:-1:-1;;;;;3605:11:1;:2;-1:-1:-1;;;;;3605:11:1;;3597:57;;;;-1:-1:-1;;;3597:57:1;;7244:2:14;3597:57:1;;;7226:21:14;7283:2;7263:18;;;7256:30;7322:34;7302:18;;;7295:62;-1:-1:-1;;;7373:18:14;;;7366:31;7414:19;;3597:57:1;;;;;;;;;719:10:8;-1:-1:-1;;;;;3686:21:1;;;;:62;;-1:-1:-1;3711:37:1;3728:5;719:10:8;4388:162:1;:::i;3711:37::-;3665:170;;;;-1:-1:-1;;;3665:170:1;;7646:2:14;3665:170:1;;;7628:21:14;7685:2;7665:18;;;7658:30;7724:34;7704:18;;;7697:62;7795:31;7775:18;;;7768:59;7844:19;;3665:170:1;7444:425:14;3665:170:1;3846:21;3855:2;3859:7;3846:8;:21::i;:::-;3538:336;3468:406;;:::o;988:401:13:-;1029:11;;;;1021:40;;;;-1:-1:-1;;;1021:40:13;;8076:2:14;1021:40:13;;;8058:21:14;8115:2;8095:18;;;8088:30;-1:-1:-1;;;8134:18:14;;;8127:46;8190:18;;1021:40:13;7874:340:14;1021:40:13;1094:9;;1079:11;;:24;;1071:64;;;;-1:-1:-1;;;1071:64:13;;8421:2:14;1071:64:13;;;8403:21:14;8460:2;8440:18;;;8433:30;8499:29;8479:18;;;8472:57;8546:18;;1071:64:13;8219:351:14;1071:64:13;1153:10;1167:9;1153:23;1145:57;;;;-1:-1:-1;;;1145:57:13;;8777:2:14;1145:57:13;;;8759:21:14;8816:2;8796:18;;;8789:30;-1:-1:-1;;;8835:18:14;;;8828:51;8896:18;;1145:57:13;8575:345:14;1145:57:13;1245:18;;1231:10;1220:22;;;;:10;:22;;;;;;:43;1212:91;;;;-1:-1:-1;;;1212:91:13;;9127:2:14;1212:91:13;;;9109:21:14;9166:2;9146:18;;;9139:30;9205:34;9185:18;;;9178:62;-1:-1:-1;;;9256:18:14;;;9249:33;9299:19;;1212:91:13;8925:399:14;1212:91:13;1324:10;1313:22;;;;:10;:22;;;;;:27;;1339:1;;1313:22;:27;;1339:1;;1313:27;:::i;:::-;;;;-1:-1:-1;;1368:11:13;:13;;1350:32;;1356:10;;1368:13;:11;:13;;;:::i;:::-;;;;;1350:5;:32::i;:::-;988:401::o;1661:92::-;1705:7;1745:1;1731:11;;:15;;;;:::i;:::-;1724:22;;1661:92;:::o;4612:326:1:-;4801:41;719:10:8;4834:7:1;4801:18;:41::i;:::-;4793:99;;;;-1:-1:-1;;;4793:99:1;;;;;;;:::i;:::-;4903:28;4913:4;4919:2;4923:7;4903:9;:28::i;5004:179::-;5137:39;5154:4;5160:2;5164:7;5137:39;;;;;;;;;;;;:16;:39::i;2151:194:13:-;1094:13:0;:11;:13::i;:::-;2241:9:13::1;2236:103;2260:8;:15;2256:1;:19;2236:103;;;2301:27;2316:8;2325:1;2316:11;;;;;;;;:::i;:::-;;;;;;;2301:27;;;;2324:25:14::0;;2312:2;2297:18;;2178:177;2301:27:13::1;;;;;;;;2277:3:::0;::::1;::::0;::::1;:::i;:::-;;;;2236:103;;;;2151:194:::0;:::o;806:88::-;1094:13:0;:11;:13::i;:::-;874:7:13::1;:13;884:3:::0;874:7;:13:::1;:::i;2190:219:1:-:0;2262:7;6930:16;;;:7;:16;;;;;;-1:-1:-1;;;;;6930:16:1;;2324:56;;;;-1:-1:-1;;;2324:56:1;;12816:2:14;2324:56:1;;;12798:21:14;12855:2;12835:18;;;12828:30;-1:-1:-1;;;12874:18:14;;;12867:54;12938:18;;2324:56:1;12614:348:14;510:21:13;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;1929:204:1:-;2001:7;-1:-1:-1;;;;;2028:19:1;;2020:73;;;;-1:-1:-1;;;2020:73:1;;13169:2:14;2020:73:1;;;13151:21:14;13208:2;13188:18;;;13181:30;13247:34;13227:18;;;13220:62;-1:-1:-1;;;13298:18:14;;;13291:39;13347:19;;2020:73:1;12967:405:14;2020:73:1;-1:-1:-1;;;;;;2110:16:1;;;;;:9;:16;;;;;;;1929:204::o;1831:101:0:-;1094:13;:11;:13::i;:::-;1895:30:::1;1922:1;1895:18;:30::i;2633:102:1:-:0;2689:13;2721:7;2714:14;;;;;:::i;1759:167:13:-;1094:13:0;:11;:13::i;:::-;1849:11:13::1;;1838:8;:22;1830:50;;;::::0;-1:-1:-1;;;1830:50:13;;13579:2:14;1830:50:13::1;::::0;::::1;13561:21:14::0;13618:2;13598:18;;;13591:30;-1:-1:-1;;;13637:18:14;;;13630:45;13692:18;;1830:50:13::1;13377:339:14::0;1830:50:13::1;1895:24;::::0;2324:25:14;;;1895:24:13::1;::::0;2312:2:14;2297:18;1895:24:13::1;;;;;;;1759:167:::0;:::o;4169:153:1:-;4263:52;719:10:8;4296:8:1;4306;4263:18;:52::i;5249:314::-;5417:41;719:10:8;5450:7:1;5417:18;:41::i;:::-;5409:99;;;;-1:-1:-1;;;5409:99:1;;;;;;;:::i;:::-;5518:38;5532:4;5538:2;5542:7;5551:4;5518:13;:38::i;:::-;5249:314;;;;:::o;1395:260:13:-;1469:13;1494:24;1509:8;1494:14;:24::i;:::-;1560:1;1542:7;1536:21;;;;;:::i;:::-;;;:25;:112;;;;;;;;;;;;;;;;;1596:7;1605:19;:8;:17;:19::i;:::-;1579:55;;;;;;;;;:::i;:::-;;;;;;;;;;;;;1529:119;1395:260;-1:-1:-1;;1395:260:13:o;900:82::-;1094:13:0;:11;:13::i;:::-;964:11:13::1;::::0;;-1:-1:-1;;949:26:13;::::1;964:11;::::0;;::::1;963:12;949:26;::::0;;900:82::o;1932:213::-;1094:13:0;:11;:13::i;:::-;2053:9:13::1;2038:11;:24;;2030:50;;;::::0;-1:-1:-1;;;2030:50:13;;15115:2:14;2030:50:13::1;::::0;::::1;15097:21:14::0;15154:2;15134:18;;;15127:30;-1:-1:-1;;;15173:18:14;;;15166:43;15226:18;;2030:50:13::1;14913:337:14::0;2030:50:13::1;2095:43;::::0;;15429:25:14;;;15485:2;15470:18;;15463:34;;;2095:43:13::1;::::0;15402:18:14;2095:43:13::1;;;;;;;1932:213:::0;;:::o;4388:162:1:-;-1:-1:-1;;;;;4508:25:1;;;4485:4;4508:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;4388:162::o;2081:198:0:-;1094:13;:11;:13::i;:::-;-1:-1:-1;;;;;2169:22:0;::::1;2161:73;;;::::0;-1:-1:-1;;;2161:73:0;;15710:2:14;2161:73:0::1;::::0;::::1;15692:21:14::0;15749:2;15729:18;;;15722:30;15788:34;15768:18;;;15761:62;-1:-1:-1;;;15839:18:14;;;15832:36;15885:19;;2161:73:0::1;15508:402:14::0;2161:73:0::1;2244:28;2263:8;2244:18;:28::i;:::-;2081:198:::0;:::o;1570:300:1:-;1672:4;-1:-1:-1;;;;;;1707:40:1;;-1:-1:-1;;;1707:40:1;;:104;;-1:-1:-1;;;;;;;1763:48:1;;-1:-1:-1;;;1763:48:1;1707:104;:156;;;-1:-1:-1;;;;;;;;;;937:40:10;;;1827:36:1;829:155:10;13466:133:1;7321:4;6930:16;;;:7;:16;;;;;;-1:-1:-1;;;;;6930:16:1;13539:53;;;;-1:-1:-1;;;13539:53:1;;12816:2:14;13539:53:1;;;12798:21:14;12855:2;12835:18;;;12828:30;-1:-1:-1;;;12874:18:14;;;12867:54;12938:18;;13539:53:1;12614:348:14;12768:171:1;12842:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;12842:29:1;-1:-1:-1;;;;;12842:29:1;;;;;;;;:24;;12895:23;12842:24;12895:14;:23::i;:::-;-1:-1:-1;;;;;12886:46:1;;;;;;;;;;;12768:171;;:::o;9091:920::-;-1:-1:-1;;;;;9170:16:1;;9162:61;;;;-1:-1:-1;;;9162:61:1;;16117:2:14;9162:61:1;;;16099:21:14;;;16136:18;;;16129:30;16195:34;16175:18;;;16168:62;16247:18;;9162:61:1;15915:356:14;9162:61:1;7321:4;6930:16;;;:7;:16;;;;;;-1:-1:-1;;;;;6930:16:1;7344:31;9233:58;;;;-1:-1:-1;;;9233:58:1;;16478:2:14;9233:58:1;;;16460:21:14;16517:2;16497:18;;;16490:30;16556;16536:18;;;16529:58;16604:18;;9233:58:1;16276:352:14;9233:58:1;7321:4;6930:16;;;:7;:16;;;;;;-1:-1:-1;;;;;6930:16:1;7344:31;9437:58;;;;-1:-1:-1;;;9437:58:1;;16478:2:14;9437:58:1;;;16460:21:14;16517:2;16497:18;;;16490:30;16556;16536:18;;;16529:58;16604:18;;9437:58:1;16276:352:14;9437:58:1;-1:-1:-1;;;;;9837:13:1;;;;;;:9;:13;;;;;;;;:18;;9854:1;9837:18;;;9876:16;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;9876:21:1;;;;;9913:33;9884:7;;9837:13;;9913:33;;9837:13;;9913:33;2236:103:13::1;2151:194:::0;:::o;7540:261:1:-;7633:4;7649:13;7665:23;7680:7;7665:14;:23::i;:::-;7649:39;;7717:5;-1:-1:-1;;;;;7706:16:1;:7;-1:-1:-1;;;;;7706:16:1;;:52;;;;7726:32;7743:5;7750:7;7726:16;:32::i;:::-;7706:87;;;;7786:7;-1:-1:-1;;;;;7762:31:1;:20;7774:7;7762:11;:20::i;:::-;-1:-1:-1;;;;;7762:31:1;;7706:87;7698:96;7540:261;-1:-1:-1;;;;7540:261:1:o;11423:1233::-;11577:4;-1:-1:-1;;;;;11550:31:1;:23;11565:7;11550:14;:23::i;:::-;-1:-1:-1;;;;;11550:31:1;;11542:81;;;;-1:-1:-1;;;11542:81:1;;;;;;;:::i;:::-;-1:-1:-1;;;;;11641:16:1;;11633:65;;;;-1:-1:-1;;;11633:65:1;;17241:2:14;11633:65:1;;;17223:21:14;17280:2;17260:18;;;17253:30;17319:34;17299:18;;;17292:62;-1:-1:-1;;;17370:18:14;;;17363:34;17414:19;;11633:65:1;17039:400:14;11633:65:1;11878:4;-1:-1:-1;;;;;11851:31:1;:23;11866:7;11851:14;:23::i;:::-;-1:-1:-1;;;;;11851:31:1;;11843:81;;;;-1:-1:-1;;;11843:81:1;;;;;;;:::i;:::-;11993:24;;;;:15;:24;;;;;;;;11986:31;;-1:-1:-1;;;;;;11986:31:1;;;;;;-1:-1:-1;;;;;12461:15:1;;;;;;:9;:15;;;;;:20;;-1:-1:-1;;12461:20:1;;;12495:13;;;;;;;;;:18;;11986:31;12495:18;;;12533:16;;;:7;:16;;;;;;:21;;;;;;;;;;12570:27;;12009:7;;12570:27;;;3538:336;3468:406;;:::o;1359:130:0:-;1273:6;;-1:-1:-1;;;;;1273:6:0;719:10:8;1422:23:0;1414:68;;;;-1:-1:-1;;;1414:68:0;;17646:2:14;1414:68:0;;;17628:21:14;;;17665:18;;;17658:30;17724:34;17704:18;;;17697:62;17776:18;;1414:68:0;17444:356:14;2433:187:0;2525:6;;;-1:-1:-1;;;;;2541:17:0;;;-1:-1:-1;;;;;;2541:17:0;;;;;;;2573:40;;2525:6;;;2541:17;2525:6;;2573:40;;2506:16;;2573:40;2496:124;2433:187;:::o;13075:307:1:-;13225:8;-1:-1:-1;;;;;13216:17:1;:5;-1:-1:-1;;;;;13216:17:1;;13208:55;;;;-1:-1:-1;;;13208:55:1;;18007:2:14;13208:55:1;;;17989:21:14;18046:2;18026:18;;;18019:30;18085:27;18065:18;;;18058:55;18130:18;;13208:55:1;17805:349:14;13208:55:1;-1:-1:-1;;;;;13273:25:1;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;13273:46:1;;;;;;;;;;13334:41;;540::14;;;13334::1;;513:18:14;13334:41:1;;;;;;;13075:307;;;:::o;6424:305::-;6574:28;6584:4;6590:2;6594:7;6574:9;:28::i;:::-;6620:47;6643:4;6649:2;6653:7;6662:4;6620:22;:47::i;:::-;6612:110;;;;-1:-1:-1;;;6612:110:1;;;;;;;:::i;415:696:9:-;471:13;520:14;537:17;548:5;537:10;:17::i;:::-;557:1;537:21;520:38;;572:20;606:6;595:18;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;595:18:9;-1:-1:-1;572:41:9;-1:-1:-1;733:28:9;;;749:2;733:28;788:280;-1:-1:-1;;819:5:9;-1:-1:-1;;;953:2:9;942:14;;937:30;819:5;924:44;1012:2;1003:11;;;-1:-1:-1;1032:21:9;788:280;1032:21;-1:-1:-1;1088:6:9;415:696;-1:-1:-1;;;415:696:9:o;14151:831:1:-;14300:4;-1:-1:-1;;;;;14320:13:1;;1465:19:7;:23;14316:660:1;;14355:71;;-1:-1:-1;;;14355:71:1;;-1:-1:-1;;;;;14355:36:1;;;;;:71;;719:10:8;;14406:4:1;;14412:7;;14421:4;;14355:71;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;14355:71:1;;;;;;;;-1:-1:-1;;14355:71:1;;;;;;;;;;;;:::i;:::-;;;14351:573;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14593:6;:13;14610:1;14593:18;14589:321;;14635:60;;-1:-1:-1;;;14635:60:1;;;;;;;:::i;14589:321::-;14862:6;14856:13;14847:6;14843:2;14839:15;14832:38;14351:573;-1:-1:-1;;;;;;14476:51:1;-1:-1:-1;;;14476:51:1;;-1:-1:-1;14469:58:1;;14316:660;-1:-1:-1;14961:4:1;14151:831;;;;;;:::o;9889:890:12:-;9942:7;;-1:-1:-1;;;10017:15:12;;10013:99;;-1:-1:-1;;;10052:15:12;;;-1:-1:-1;10095:2:12;10085:12;10013:99;10138:6;10129:5;:15;10125:99;;10173:6;10164:15;;;-1:-1:-1;10207:2:12;10197:12;10125:99;10250:6;10241:5;:15;10237:99;;10285:6;10276:15;;;-1:-1:-1;10319:2:12;10309:12;10237:99;10362:5;10353;:14;10349:96;;10396:5;10387:14;;;-1:-1:-1;10429:1:12;10419:11;10349:96;10471:5;10462;:14;10458:96;;10505:5;10496:14;;;-1:-1:-1;10538:1:12;10528:11;10458:96;10580:5;10571;:14;10567:96;;10614:5;10605:14;;;-1:-1:-1;10647:1:12;10637:11;10567:96;10689:5;10680;:14;10676:64;;10724:1;10714:11;10766:6;9889:890;-1:-1:-1;;9889:890:12:o;14:131:14:-;-1:-1:-1;;;;;;88:32:14;;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;:::-;384:5;150:245;-1:-1:-1;;;150:245:14:o;592:250::-;677:1;687:113;701:6;698:1;695:13;687:113;;;777:11;;;771:18;758:11;;;751:39;723:2;716:10;687:113;;;-1:-1:-1;;834:1:14;816:16;;809:27;592:250::o;847:271::-;889:3;927:5;921:12;954:6;949:3;942:19;970:76;1039:6;1032:4;1027:3;1023:14;1016:4;1009:5;1005:16;970:76;:::i;:::-;1100:2;1079:15;-1:-1:-1;;1075:29:14;1066:39;;;;1107:4;1062:50;;847:271;-1:-1:-1;;847:271:14:o;1123:220::-;1272:2;1261:9;1254:21;1235:4;1292:45;1333:2;1322:9;1318:18;1310:6;1292:45;:::i;1348:180::-;1407:6;1460:2;1448:9;1439:7;1435:23;1431:32;1428:52;;;1476:1;1473;1466:12;1428:52;-1:-1:-1;1499:23:14;;1348:180;-1:-1:-1;1348:180:14:o;1741:173::-;1809:20;;-1:-1:-1;;;;;1858:31:14;;1848:42;;1838:70;;1904:1;1901;1894:12;1838:70;1741:173;;;:::o;1919:254::-;1987:6;1995;2048:2;2036:9;2027:7;2023:23;2019:32;2016:52;;;2064:1;2061;2054:12;2016:52;2087:29;2106:9;2087:29;:::i;:::-;2077:39;2163:2;2148:18;;;;2135:32;;-1:-1:-1;;;1919:254:14:o;2360:328::-;2437:6;2445;2453;2506:2;2494:9;2485:7;2481:23;2477:32;2474:52;;;2522:1;2519;2512:12;2474:52;2545:29;2564:9;2545:29;:::i;:::-;2535:39;;2593:38;2627:2;2616:9;2612:18;2593:38;:::i;:::-;2583:48;;2678:2;2667:9;2663:18;2650:32;2640:42;;2360:328;;;;;:::o;2693:127::-;2754:10;2749:3;2745:20;2742:1;2735:31;2785:4;2782:1;2775:15;2809:4;2806:1;2799:15;2825:275;2896:2;2890:9;2961:2;2942:13;;-1:-1:-1;;2938:27:14;2926:40;;2996:18;2981:34;;3017:22;;;2978:62;2975:88;;;3043:18;;:::i;:::-;3079:2;3072:22;2825:275;;-1:-1:-1;2825:275:14:o;3105:946::-;3189:6;3220:2;3263;3251:9;3242:7;3238:23;3234:32;3231:52;;;3279:1;3276;3269:12;3231:52;3319:9;3306:23;3348:18;3389:2;3381:6;3378:14;3375:34;;;3405:1;3402;3395:12;3375:34;3443:6;3432:9;3428:22;3418:32;;3488:7;3481:4;3477:2;3473:13;3469:27;3459:55;;3510:1;3507;3500:12;3459:55;3546:2;3533:16;3568:2;3564;3561:10;3558:36;;;3574:18;;:::i;:::-;3620:2;3617:1;3613:10;3603:20;;3643:28;3667:2;3663;3659:11;3643:28;:::i;:::-;3705:15;;;3775:11;;;3771:20;;;3736:12;;;;3803:19;;;3800:39;;;3835:1;3832;3825:12;3800:39;3859:11;;;;3879:142;3895:6;3890:3;3887:15;3879:142;;;3961:17;;3949:30;;3912:12;;;;3999;;;;3879:142;;;4040:5;3105:946;-1:-1:-1;;;;;;;;3105:946:14:o;4056:186::-;4115:6;4168:2;4156:9;4147:7;4143:23;4139:32;4136:52;;;4184:1;4181;4174:12;4136:52;4207:29;4226:9;4207:29;:::i;4247:407::-;4312:5;4346:18;4338:6;4335:30;4332:56;;;4368:18;;:::i;:::-;4406:57;4451:2;4430:15;;-1:-1:-1;;4426:29:14;4457:4;4422:40;4406:57;:::i;:::-;4397:66;;4486:6;4479:5;4472:21;4526:3;4517:6;4512:3;4508:16;4505:25;4502:45;;;4543:1;4540;4533:12;4502:45;4592:6;4587:3;4580:4;4573:5;4569:16;4556:43;4646:1;4639:4;4630:6;4623:5;4619:18;4615:29;4608:40;4247:407;;;;;:::o;4659:451::-;4728:6;4781:2;4769:9;4760:7;4756:23;4752:32;4749:52;;;4797:1;4794;4787:12;4749:52;4837:9;4824:23;4870:18;4862:6;4859:30;4856:50;;;4902:1;4899;4892:12;4856:50;4925:22;;4978:4;4970:13;;4966:27;-1:-1:-1;4956:55:14;;5007:1;5004;4997:12;4956:55;5030:74;5096:7;5091:2;5078:16;5073:2;5069;5065:11;5030:74;:::i;5115:347::-;5180:6;5188;5241:2;5229:9;5220:7;5216:23;5212:32;5209:52;;;5257:1;5254;5247:12;5209:52;5280:29;5299:9;5280:29;:::i;:::-;5270:39;;5359:2;5348:9;5344:18;5331:32;5406:5;5399:13;5392:21;5385:5;5382:32;5372:60;;5428:1;5425;5418:12;5372:60;5451:5;5441:15;;;5115:347;;;;;:::o;5467:667::-;5562:6;5570;5578;5586;5639:3;5627:9;5618:7;5614:23;5610:33;5607:53;;;5656:1;5653;5646:12;5607:53;5679:29;5698:9;5679:29;:::i;:::-;5669:39;;5727:38;5761:2;5750:9;5746:18;5727:38;:::i;:::-;5717:48;;5812:2;5801:9;5797:18;5784:32;5774:42;;5867:2;5856:9;5852:18;5839:32;5894:18;5886:6;5883:30;5880:50;;;5926:1;5923;5916:12;5880:50;5949:22;;6002:4;5994:13;;5990:27;-1:-1:-1;5980:55:14;;6031:1;6028;6021:12;5980:55;6054:74;6120:7;6115:2;6102:16;6097:2;6093;6089:11;6054:74;:::i;:::-;6044:84;;;5467:667;;;;;;;:::o;6139:248::-;6207:6;6215;6268:2;6256:9;6247:7;6243:23;6239:32;6236:52;;;6284:1;6281;6274:12;6236:52;-1:-1:-1;;6307:23:14;;;6377:2;6362:18;;;6349:32;;-1:-1:-1;6139:248:14:o;6392:260::-;6460:6;6468;6521:2;6509:9;6500:7;6496:23;6492:32;6489:52;;;6537:1;6534;6527:12;6489:52;6560:29;6579:9;6560:29;:::i;:::-;6550:39;;6608:38;6642:2;6631:9;6627:18;6608:38;:::i;:::-;6598:48;;6392:260;;;;;:::o;6657:380::-;6736:1;6732:12;;;;6779;;;6800:61;;6854:4;6846:6;6842:17;6832:27;;6800:61;6907:2;6899:6;6896:14;6876:18;6873:38;6870:161;;6953:10;6948:3;6944:20;6941:1;6934:31;6988:4;6985:1;6978:15;7016:4;7013:1;7006:15;6870:161;;6657:380;;;:::o;9329:127::-;9390:10;9385:3;9381:20;9378:1;9371:31;9421:4;9418:1;9411:15;9445:4;9442:1;9435:15;9461:125;9526:9;;;9547:10;;;9544:36;;;9560:18;;:::i;9591:135::-;9630:3;9651:17;;;9648:43;;9671:18;;:::i;:::-;-1:-1:-1;9718:1:14;9707:13;;9591:135::o;9731:128::-;9798:9;;;9819:11;;;9816:37;;;9833:18;;:::i;9864:409::-;10066:2;10048:21;;;10105:2;10085:18;;;10078:30;10144:34;10139:2;10124:18;;10117:62;-1:-1:-1;;;10210:2:14;10195:18;;10188:43;10263:3;10248:19;;9864:409::o;10278:127::-;10339:10;10334:3;10330:20;10327:1;10320:31;10370:4;10367:1;10360:15;10394:4;10391:1;10384:15;10536:545;10638:2;10633:3;10630:11;10627:448;;;10674:1;10699:5;10695:2;10688:17;10744:4;10740:2;10730:19;10814:2;10802:10;10798:19;10795:1;10791:27;10785:4;10781:38;10850:4;10838:10;10835:20;10832:47;;;-1:-1:-1;10873:4:14;10832:47;10928:2;10923:3;10919:12;10916:1;10912:20;10906:4;10902:31;10892:41;;10983:82;11001:2;10994:5;10991:13;10983:82;;;11046:17;;;11027:1;11016:13;10983:82;;;10987:3;;;10536:545;;;:::o;11257:1352::-;11383:3;11377:10;11410:18;11402:6;11399:30;11396:56;;;11432:18;;:::i;:::-;11461:97;11551:6;11511:38;11543:4;11537:11;11511:38;:::i;:::-;11505:4;11461:97;:::i;:::-;11613:4;;11677:2;11666:14;;11694:1;11689:663;;;;12396:1;12413:6;12410:89;;;-1:-1:-1;12465:19:14;;;12459:26;12410:89;-1:-1:-1;;11214:1:14;11210:11;;;11206:24;11202:29;11192:40;11238:1;11234:11;;;11189:57;12512:81;;11659:944;;11689:663;10483:1;10476:14;;;10520:4;10507:18;;-1:-1:-1;;11725:20:14;;;11843:236;11857:7;11854:1;11851:14;11843:236;;;11946:19;;;11940:26;11925:42;;12038:27;;;;12006:1;11994:14;;;;11873:19;;11843:236;;;11847:3;12107:6;12098:7;12095:19;12092:201;;;12168:19;;;12162:26;-1:-1:-1;;12251:1:14;12247:14;;;12263:3;12243:24;12239:37;12235:42;12220:58;12205:74;;12092:201;-1:-1:-1;;;;;12339:1:14;12323:14;;;12319:22;12306:36;;-1:-1:-1;11257:1352:14:o;13721:1187::-;13998:3;14027:1;14060:6;14054:13;14090:36;14116:9;14090:36;:::i;:::-;14145:1;14162:18;;;14189:133;;;;14336:1;14331:356;;;;14155:532;;14189:133;-1:-1:-1;;14222:24:14;;14210:37;;14295:14;;14288:22;14276:35;;14267:45;;;-1:-1:-1;14189:133:14;;14331:356;14362:6;14359:1;14352:17;14392:4;14437:2;14434:1;14424:16;14462:1;14476:165;14490:6;14487:1;14484:13;14476:165;;;14568:14;;14555:11;;;14548:35;14611:16;;;;14505:10;;14476:165;;;14480:3;;;14670:6;14665:3;14661:16;14654:23;;14155:532;;;;;14718:6;14712:13;14734:68;14793:8;14788:3;14781:4;14773:6;14769:17;14734:68;:::i;:::-;-1:-1:-1;;;14824:18:14;;14851:22;;;14900:1;14889:13;;13721:1187;-1:-1:-1;;;;13721:1187:14:o;16633:401::-;16835:2;16817:21;;;16874:2;16854:18;;;16847:30;16913:34;16908:2;16893:18;;16886:62;-1:-1:-1;;;16979:2:14;16964:18;;16957:35;17024:3;17009:19;;16633:401::o;18159:414::-;18361:2;18343:21;;;18400:2;18380:18;;;18373:30;18439:34;18434:2;18419:18;;18412:62;-1:-1:-1;;;18505:2:14;18490:18;;18483:48;18563:3;18548:19;;18159:414::o;18710:489::-;-1:-1:-1;;;;;18979:15:14;;;18961:34;;19031:15;;19026:2;19011:18;;19004:43;19078:2;19063:18;;19056:34;;;19126:3;19121:2;19106:18;;19099:31;;;18904:4;;19147:46;;19173:19;;19165:6;19147:46;:::i;:::-;19139:54;18710:489;-1:-1:-1;;;;;;18710:489:14:o;19204:249::-;19273:6;19326:2;19314:9;19305:7;19301:23;19297:32;19294:52;;;19342:1;19339;19332:12;19294:52;19374:9;19368:16;19393:30;19417:5;19393:30;:::i
Swarm Source
ipfs://6bb2f6eb5909d9555a8174b6ba8c6bbfd52864a19554aeb0c20985ba19682e48
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.