Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 46 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Set Pause | 15554663 | 865 days ago | IN | 0 ETH | 0.00031068 | ||||
Set Approval For... | 15553870 | 865 days ago | IN | 0 ETH | 0.00035528 | ||||
Public Mint | 15553534 | 866 days ago | IN | 0 ETH | 0.00061939 | ||||
Public Mint | 15553501 | 866 days ago | IN | 0 ETH | 0.00059576 | ||||
Set Approval For... | 15553474 | 866 days ago | IN | 0 ETH | 0.00028524 | ||||
Set Approval For... | 15553465 | 866 days ago | IN | 0 ETH | 0.00029987 | ||||
Public Mint | 15553458 | 866 days ago | IN | 0 ETH | 0.00061405 | ||||
Set Approval For... | 15553443 | 866 days ago | IN | 0 ETH | 0.00033116 | ||||
Public Mint | 15553434 | 866 days ago | IN | 0 ETH | 0.00060159 | ||||
Public Mint | 15553432 | 866 days ago | IN | 0 ETH | 0.00083764 | ||||
Public Mint | 15553432 | 866 days ago | IN | 0 ETH | 0.00083764 | ||||
Public Mint | 15553432 | 866 days ago | IN | 0 ETH | 0.00083764 | ||||
Public Mint | 15553432 | 866 days ago | IN | 0 ETH | 0.00083764 | ||||
Public Mint | 15553432 | 866 days ago | IN | 0 ETH | 0.00083764 | ||||
Public Mint | 15553425 | 866 days ago | IN | 0 ETH | 0.00066003 | ||||
Public Mint | 15553421 | 866 days ago | IN | 0 ETH | 0.00063372 | ||||
Public Mint | 15553417 | 866 days ago | IN | 0 ETH | 0.00061746 | ||||
Public Mint | 15553417 | 866 days ago | IN | 0 ETH | 0.00061746 | ||||
Public Mint | 15553414 | 866 days ago | IN | 0 ETH | 0.00055337 | ||||
Public Mint | 15553406 | 866 days ago | IN | 0 ETH | 0.00064549 | ||||
Public Mint | 15553406 | 866 days ago | IN | 0 ETH | 0.00064549 | ||||
Public Mint | 15553405 | 866 days ago | IN | 0 ETH | 0.00074299 | ||||
Public Mint | 15553404 | 866 days ago | IN | 0 ETH | 0.00065975 | ||||
Public Mint | 15553403 | 866 days ago | IN | 0 ETH | 0.00064161 | ||||
Public Mint | 15553403 | 866 days ago | IN | 0 ETH | 0.00064161 |
Loading...
Loading
Contract Source Code Verified (Exact Match)
Contract Name:
BearbingoNft
Compiler Version
v0.8.13+commit.abaa5c0e
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-09-17 */ // SPDX-License-Identifier: MIT pragma solidity 0.8.13; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // File: openzeppelin-solidity\contracts\access\Ownable.sol // OpenZeppelin Contracts v4.4.1 (access/Ownable.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 Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } // File: node_modules\openzeppelin-solidity\contracts\utils\introspection\IERC165.sol // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); } // File: node_modules\openzeppelin-solidity\contracts\interfaces\IERC2981.sol // OpenZeppelin Contracts (last updated v4.6.0) (interfaces/IERC2981.sol) /** * @dev Interface for the NFT Royalty Standard. * * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal * support for royalty payments across all NFT marketplaces and ecosystem participants. * * _Available since v4.5._ */ interface IERC2981 is IERC165 { /** * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of * exchange. The royalty amount is denominated and should be paid in that same unit of exchange. */ function royaltyInfo(uint256 tokenId, uint256 salePrice) external view returns (address receiver, uint256 royaltyAmount); } // File: node_modules\openzeppelin-solidity\contracts\utils\introspection\ERC165.sol // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.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; } } // File: openzeppelin-solidity\contracts\token\common\ERC2981.sol // OpenZeppelin Contracts (last updated v4.6.0) (token/common/ERC2981.sol) /** * @dev Implementation of the NFT Royalty Standard, a standardized way to retrieve royalty payment information. * * Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for * specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first. * * Royalty is specified as a fraction of sale price. {_feeDenominator} is overridable but defaults to 10000, meaning the * fee is specified in basis points by default. * * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported. * * _Available since v4.5._ */ abstract contract ERC2981 is IERC2981, ERC165 { struct RoyaltyInfo { address receiver; uint96 royaltyFraction; } RoyaltyInfo private _defaultRoyaltyInfo; mapping(uint256 => RoyaltyInfo) private _tokenRoyaltyInfo; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC165) returns (bool) { return interfaceId == type(IERC2981).interfaceId || super.supportsInterface(interfaceId); } /** * @inheritdoc IERC2981 */ function royaltyInfo(uint256 _tokenId, uint256 _salePrice) public view virtual override returns (address, uint256) { RoyaltyInfo memory royalty = _tokenRoyaltyInfo[_tokenId]; if (royalty.receiver == address(0)) { royalty = _defaultRoyaltyInfo; } uint256 royaltyAmount = (_salePrice * royalty.royaltyFraction) / _feeDenominator(); return (royalty.receiver, royaltyAmount); } /** * @dev The denominator with which to interpret the fee set in {_setTokenRoyalty} and {_setDefaultRoyalty} as a * fraction of the sale price. Defaults to 10000 so fees are expressed in basis points, but may be customized by an * override. */ function _feeDenominator() internal pure virtual returns (uint96) { return 10000; } /** * @dev Sets the royalty information that all ids in this contract will default to. * * Requirements: * * - `receiver` cannot be the zero address. * - `feeNumerator` cannot be greater than the fee denominator. */ function _setDefaultRoyalty(address receiver, uint96 feeNumerator) internal virtual { require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice"); require(receiver != address(0), "ERC2981: invalid receiver"); _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator); } /** * @dev Removes default royalty information. */ function _deleteDefaultRoyalty() internal virtual { delete _defaultRoyaltyInfo; } /** * @dev Sets the royalty information for a specific token id, overriding the global default. * * Requirements: * * - `tokenId` must be already minted. * - `receiver` cannot be the zero address. * - `feeNumerator` cannot be greater than the fee denominator. */ function _setTokenRoyalty( uint256 tokenId, address receiver, uint96 feeNumerator ) internal virtual { require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice"); require(receiver != address(0), "ERC2981: Invalid parameters"); _tokenRoyaltyInfo[tokenId] = RoyaltyInfo(receiver, feeNumerator); } /** * @dev Resets royalty information for the token id back to the global default. */ function _resetTokenRoyalty(uint256 tokenId) internal virtual { delete _tokenRoyaltyInfo[tokenId]; } } // File: node_modules\erc721a\contracts\IERC721A.sol // ERC721A Contracts v4.2.2 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of ERC721A. */ interface IERC721A { /** * The caller must own the token or be an approved operator. */ error ApprovalCallerNotOwnerNorApproved(); /** * The token does not exist. */ error ApprovalQueryForNonexistentToken(); /** * The caller cannot approve to their own address. */ error ApproveToCaller(); /** * Cannot query the balance for the zero address. */ error BalanceQueryForZeroAddress(); /** * Cannot mint to the zero address. */ error MintToZeroAddress(); /** * The quantity of tokens minted must be more than zero. */ error MintZeroQuantity(); /** * The token does not exist. */ error OwnerQueryForNonexistentToken(); /** * The caller must own the token or be an approved operator. */ error TransferCallerNotOwnerNorApproved(); /** * The token must be owned by `from`. */ error TransferFromIncorrectOwner(); /** * Cannot safely transfer to a contract that does not implement the * ERC721Receiver interface. */ error TransferToNonERC721ReceiverImplementer(); /** * Cannot transfer to the zero address. */ error TransferToZeroAddress(); /** * The token does not exist. */ error URIQueryForNonexistentToken(); /** * The `quantity` minted with ERC2309 exceeds the safety limit. */ error MintERC2309QuantityExceedsLimit(); /** * The `extraData` cannot be set on an unintialized ownership slot. */ error OwnershipNotInitializedForExtraData(); // ============================================================= // STRUCTS // ============================================================= struct TokenOwnership { // The address of the owner. address addr; // Stores the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; // Arbitrary data similar to `startTimestamp` that can be set via {_extraData}. uint24 extraData; } // ============================================================= // TOKEN COUNTERS // ============================================================= /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() external view returns (uint256); // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); // ============================================================= // IERC721 // ============================================================= /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables * (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, * checking first that contract recipients are aware of the ERC721 protocol * to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move * this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} * whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the * zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} * for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) external view returns (bool); // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); // ============================================================= // IERC2309 // ============================================================= /** * @dev Emitted when tokens in `fromTokenId` to `toTokenId` * (inclusive) is transferred from `from` to `to`, as defined in the * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309) standard. * * See {_mintERC2309} for more details. */ event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to); } // File: node_modules\erc721a\contracts\extensions\IERC721AQueryable.sol // ERC721A Contracts v4.2.2 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of ERC721AQueryable. */ interface IERC721AQueryable is IERC721A { /** * Invalid query range (`start` >= `stop`). */ error InvalidQueryRange(); /** * @dev Returns the `TokenOwnership` struct at `tokenId` without reverting. * * If the `tokenId` is out of bounds: * * - `addr = address(0)` * - `startTimestamp = 0` * - `burned = false` * - `extraData = 0` * * If the `tokenId` is burned: * * - `addr = <Address of owner before token was burned>` * - `startTimestamp = <Timestamp when token was burned>` * - `burned = true` * - `extraData = <Extra data when token was burned>` * * Otherwise: * * - `addr = <Address of owner>` * - `startTimestamp = <Timestamp of start of ownership>` * - `burned = false` * - `extraData = <Extra data at start of ownership>` */ function explicitOwnershipOf(uint256 tokenId) external view returns (TokenOwnership memory); /** * @dev Returns an array of `TokenOwnership` structs at `tokenIds` in order. * See {ERC721AQueryable-explicitOwnershipOf} */ function explicitOwnershipsOf(uint256[] memory tokenIds) external view returns (TokenOwnership[] memory); /** * @dev Returns an array of token IDs owned by `owner`, * in the range [`start`, `stop`) * (i.e. `start <= tokenId < stop`). * * This function allows for tokens to be queried if the collection * grows too big for a single call of {ERC721AQueryable-tokensOfOwner}. * * Requirements: * * - `start < stop` */ function tokensOfOwnerIn( address owner, uint256 start, uint256 stop ) external view returns (uint256[] memory); /** * @dev Returns an array of token IDs owned by `owner`. * * This function scans the ownership mapping and is O(`totalSupply`) in complexity. * It is meant to be called off-chain. * * See {ERC721AQueryable-tokensOfOwnerIn} for splitting the scan into * multiple smaller scans if the collection is large enough to cause * an out-of-gas error (10K collections should be fine). */ function tokensOfOwner(address owner) external view returns (uint256[] memory); } // File: node_modules\erc721a\contracts\ERC721A.sol // ERC721A Contracts v4.2.2 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of ERC721 token receiver. */ interface ERC721A__IERC721Receiver { function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } /** * @title ERC721A * * @dev Implementation of the [ERC721](https://eips.ethereum.org/EIPS/eip-721) * Non-Fungible Token Standard, including the Metadata extension. * Optimized for lower gas during batch mints. * * Token IDs are minted in sequential order (e.g. 0, 1, 2, 3, ...) * starting from `_startTokenId()`. * * Assumptions: * * - An owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * - The maximum token ID cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is IERC721A { // Reference type for token approval. struct TokenApprovalRef { address value; } // ============================================================= // CONSTANTS // ============================================================= // Mask of an entry in packed address data. uint256 private constant _BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1; // The bit position of `numberMinted` in packed address data. uint256 private constant _BITPOS_NUMBER_MINTED = 64; // The bit position of `numberBurned` in packed address data. uint256 private constant _BITPOS_NUMBER_BURNED = 128; // The bit position of `aux` in packed address data. uint256 private constant _BITPOS_AUX = 192; // Mask of all 256 bits in packed address data except the 64 bits for `aux`. uint256 private constant _BITMASK_AUX_COMPLEMENT = (1 << 192) - 1; // The bit position of `startTimestamp` in packed ownership. uint256 private constant _BITPOS_START_TIMESTAMP = 160; // The bit mask of the `burned` bit in packed ownership. uint256 private constant _BITMASK_BURNED = 1 << 224; // The bit position of the `nextInitialized` bit in packed ownership. uint256 private constant _BITPOS_NEXT_INITIALIZED = 225; // The bit mask of the `nextInitialized` bit in packed ownership. uint256 private constant _BITMASK_NEXT_INITIALIZED = 1 << 225; // The bit position of `extraData` in packed ownership. uint256 private constant _BITPOS_EXTRA_DATA = 232; // Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`. uint256 private constant _BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1; // The mask of the lower 160 bits for addresses. uint256 private constant _BITMASK_ADDRESS = (1 << 160) - 1; // The maximum `quantity` that can be minted with {_mintERC2309}. // This limit is to prevent overflows on the address data entries. // For a limit of 5000, a total of 3.689e15 calls to {_mintERC2309} // is required to cause an overflow, which is unrealistic. uint256 private constant _MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000; // The `Transfer` event signature is given by: // `keccak256(bytes("Transfer(address,address,uint256)"))`. bytes32 private constant _TRANSFER_EVENT_SIGNATURE = 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef; // ============================================================= // STORAGE // ============================================================= // The next token ID to be minted. uint256 private _currentIndex; // The number of tokens burned. uint256 private _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. // See {_packedOwnershipOf} implementation for details. // // Bits Layout: // - [0..159] `addr` // - [160..223] `startTimestamp` // - [224] `burned` // - [225] `nextInitialized` // - [232..255] `extraData` mapping(uint256 => uint256) private _packedOwnerships; // Mapping owner address to address data. // // Bits Layout: // - [0..63] `balance` // - [64..127] `numberMinted` // - [128..191] `numberBurned` // - [192..255] `aux` mapping(address => uint256) private _packedAddressData; // Mapping from token ID to approved address. mapping(uint256 => TokenApprovalRef) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; // ============================================================= // CONSTRUCTOR // ============================================================= constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } // ============================================================= // TOKEN COUNTING OPERATIONS // ============================================================= /** * @dev Returns the starting token ID. * To change the starting token ID, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Returns the next token ID to be minted. */ function _nextTokenId() internal view virtual returns (uint256) { return _currentIndex; } /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() public view virtual override returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than `_currentIndex - _startTokenId()` times. unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * @dev Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view virtual returns (uint256) { // Counter underflow is impossible as `_currentIndex` does not decrement, // and it is initialized to `_startTokenId()`. unchecked { return _currentIndex - _startTokenId(); } } /** * @dev Returns the total number of tokens burned. */ function _totalBurned() internal view virtual returns (uint256) { return _burnCounter; } // ============================================================= // ADDRESS DATA OPERATIONS // ============================================================= /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) public view virtual override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return _packedAddressData[owner] & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_MINTED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_BURNED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return uint64(_packedAddressData[owner] >> _BITPOS_AUX); } /** * Sets the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal virtual { uint256 packed = _packedAddressData[owner]; uint256 auxCasted; // Cast `aux` with assembly to avoid redundant masking. assembly { auxCasted := aux } packed = (packed & _BITMASK_AUX_COMPLEMENT) | (auxCasted << _BITPOS_AUX); _packedAddressData[owner] = packed; } // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { // The interface IDs are constants representing the first 4 bytes // of the XOR of all function selectors in the interface. // See: [ERC165](https://eips.ethereum.org/EIPS/eip-165) // (e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`) return interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165. interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721. interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata. } // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the token collection symbol. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId))) : ''; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, it can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } // ============================================================= // OWNERSHIPS OPERATIONS // ============================================================= /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { return address(uint160(_packedOwnershipOf(tokenId))); } /** * @dev Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around over time. */ function _ownershipOf(uint256 tokenId) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnershipOf(tokenId)); } /** * @dev Returns the unpacked `TokenOwnership` struct at `index`. */ function _ownershipAt(uint256 index) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnerships[index]); } /** * @dev Initializes the ownership slot minted at `index` for efficiency purposes. */ function _initializeOwnershipAt(uint256 index) internal virtual { if (_packedOwnerships[index] == 0) { _packedOwnerships[index] = _packedOwnershipOf(index); } } /** * Returns the packed ownership data of `tokenId`. */ function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr) if (curr < _currentIndex) { uint256 packed = _packedOwnerships[curr]; // If not burned. if (packed & _BITMASK_BURNED == 0) { // Invariant: // There will always be an initialized ownership slot // (i.e. `ownership.addr != address(0) && ownership.burned == false`) // before an unintialized ownership slot // (i.e. `ownership.addr == address(0) && ownership.burned == false`) // Hence, `curr` will not underflow. // // We can directly compare the packed value. // If the address is zero, packed will be zero. while (packed == 0) { packed = _packedOwnerships[--curr]; } return packed; } } } revert OwnerQueryForNonexistentToken(); } /** * @dev Returns the unpacked `TokenOwnership` struct from `packed`. */ function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) { ownership.addr = address(uint160(packed)); ownership.startTimestamp = uint64(packed >> _BITPOS_START_TIMESTAMP); ownership.burned = packed & _BITMASK_BURNED != 0; ownership.extraData = uint24(packed >> _BITPOS_EXTRA_DATA); } /** * @dev Packs ownership data into a single uint256. */ function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // `owner | (block.timestamp << _BITPOS_START_TIMESTAMP) | flags`. result := or(owner, or(shl(_BITPOS_START_TIMESTAMP, timestamp()), flags)) } } /** * @dev Returns the `nextInitialized` flag set if `quantity` equals 1. */ function _nextInitializedFlag(uint256 quantity) private pure returns (uint256 result) { // For branchless setting of the `nextInitialized` flag. assembly { // `(quantity == 1) << _BITPOS_NEXT_INITIALIZED`. result := shl(_BITPOS_NEXT_INITIALIZED, eq(quantity, 1)) } } // ============================================================= // APPROVAL OPERATIONS // ============================================================= /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the * zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ownerOf(tokenId); if (_msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { revert ApprovalCallerNotOwnerNorApproved(); } _tokenApprovals[tokenId].value = to; emit Approval(owner, to, tokenId); } /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId].value; } /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} * for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool approved) public virtual override { if (operator == _msgSenderERC721A()) revert ApproveToCaller(); _operatorApprovals[_msgSenderERC721A()][operator] = approved; emit ApprovalForAll(_msgSenderERC721A(), operator, approved); } /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted. See {_mint}. */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && // If within bounds, _packedOwnerships[tokenId] & _BITMASK_BURNED == 0; // and not burned. } /** * @dev Returns whether `msgSender` is equal to `approvedAddress` or `owner`. */ function _isSenderApprovedOrOwner( address approvedAddress, address owner, address msgSender ) private pure returns (bool result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean. msgSender := and(msgSender, _BITMASK_ADDRESS) // `msgSender == owner || msgSender == approvedAddress`. result := or(eq(msgSender, owner), eq(msgSender, approvedAddress)) } } /** * @dev Returns the storage slot and value for the approved address of `tokenId`. */ function _getApprovedSlotAndAddress(uint256 tokenId) private view returns (uint256 approvedAddressSlot, address approvedAddress) { TokenApprovalRef storage tokenApproval = _tokenApprovals[tokenId]; // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId]`. assembly { approvedAddressSlot := tokenApproval.slot approvedAddress := sload(approvedAddressSlot) } } // ============================================================= // TRANSFER OPERATIONS // ============================================================= /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner(); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // We can directly increment and decrement the balances. --_packedAddressData[from]; // Updates: `balance -= 1`. ++_packedAddressData[to]; // Updates: `balance += 1`. // Updates: // - `address` to the next owner. // - `startTimestamp` to the timestamp of transfering. // - `burned` to `false`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( to, _BITMASK_NEXT_INITIALIZED | _nextExtraData(from, to, prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { transferFrom(from, to, tokenId); if (to.code.length != 0) if (!_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @dev Hook that is called before a set of serially-ordered token IDs * are about to be transferred. This includes minting. * And also called before burning one token. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token IDs * have been transferred. This includes minting. * And also called after one token has been burned. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Private function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * `from` - Previous owner of the given token ID. * `to` - Target address that will receive the token. * `tokenId` - Token ID to be transferred. * `_data` - Optional data to send along with the call. * * Returns whether the call correctly returned the expected magic value. */ function _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns ( bytes4 retval ) { return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } // ============================================================= // MINT OPERATIONS // ============================================================= /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event for each mint. */ function _mint(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // `balance` and `numberMinted` have a maximum limit of 2**64. // `tokenId` has a maximum limit of 2**256. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); uint256 toMasked; uint256 end = startTokenId + quantity; // Use assembly to loop and emit the `Transfer` event for gas savings. assembly { // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean. toMasked := and(to, _BITMASK_ADDRESS) // Emit the `Transfer` event. log4( 0, // Start of data (0, since no data). 0, // End of data (0, since no data). _TRANSFER_EVENT_SIGNATURE, // Signature. 0, // `address(0)`. toMasked, // `to`. startTokenId // `tokenId`. ) for { let tokenId := add(startTokenId, 1) } iszero(eq(tokenId, end)) { tokenId := add(tokenId, 1) } { // Emit the `Transfer` event. Similar to above. log4(0, 0, _TRANSFER_EVENT_SIGNATURE, 0, toMasked, tokenId) } } if (toMasked == 0) revert MintToZeroAddress(); _currentIndex = end; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * This function is intended for efficient minting only during contract creation. * * It emits only one {ConsecutiveTransfer} as defined in * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309), * instead of a sequence of {Transfer} event(s). * * Calling this function outside of contract creation WILL make your contract * non-compliant with the ERC721 standard. * For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309 * {ConsecutiveTransfer} event is only permissible during contract creation. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {ConsecutiveTransfer} event. */ function _mintERC2309(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); if (quantity > _MAX_MINT_ERC2309_QUANTITY_LIMIT) revert MintERC2309QuantityExceedsLimit(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are unrealistic due to the above check for `quantity` to be below the limit. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); emit ConsecutiveTransfer(startTokenId, startTokenId + quantity - 1, address(0), to); _currentIndex = startTokenId + quantity; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * See {_mint}. * * Emits a {Transfer} event for each mint. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal virtual { _mint(to, quantity); unchecked { if (to.code.length != 0) { uint256 end = _currentIndex; uint256 index = end - quantity; do { if (!_checkContractOnERC721Received(address(0), to, index++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (index < end); // Reentrancy protection. if (_currentIndex != end) revert(); } } } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal virtual { _safeMint(to, quantity, ''); } // ============================================================= // BURN OPERATIONS // ============================================================= /** * @dev Equivalent to `_burn(tokenId, false)`. */ function _burn(uint256 tokenId) internal virtual { _burn(tokenId, false); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId, bool approvalCheck) internal virtual { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); address from = address(uint160(prevOwnershipPacked)); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); if (approvalCheck) { // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // Updates: // - `balance -= 1`. // - `numberBurned += 1`. // // We can directly decrement the balance, and increment the number burned. // This is equivalent to `packed -= 1; packed += 1 << _BITPOS_NUMBER_BURNED;`. _packedAddressData[from] += (1 << _BITPOS_NUMBER_BURNED) - 1; // Updates: // - `address` to the last owner. // - `startTimestamp` to the timestamp of burning. // - `burned` to `true`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( from, (_BITMASK_BURNED | _BITMASK_NEXT_INITIALIZED) | _nextExtraData(from, address(0), prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } // ============================================================= // EXTRA DATA OPERATIONS // ============================================================= /** * @dev Directly sets the extra data for the ownership data `index`. */ function _setExtraDataAt(uint256 index, uint24 extraData) internal virtual { uint256 packed = _packedOwnerships[index]; if (packed == 0) revert OwnershipNotInitializedForExtraData(); uint256 extraDataCasted; // Cast `extraData` with assembly to avoid redundant masking. assembly { extraDataCasted := extraData } packed = (packed & _BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << _BITPOS_EXTRA_DATA); _packedOwnerships[index] = packed; } /** * @dev Called during each token transfer to set the 24bit `extraData` field. * Intended to be overridden by the cosumer contract. * * `previousExtraData` - the value of `extraData` before transfer. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _extraData( address from, address to, uint24 previousExtraData ) internal view virtual returns (uint24) {} /** * @dev Returns the next extra data for the packed ownership data. * The returned result is shifted into position. */ function _nextExtraData( address from, address to, uint256 prevOwnershipPacked ) private view returns (uint256) { uint24 extraData = uint24(prevOwnershipPacked >> _BITPOS_EXTRA_DATA); return uint256(_extraData(from, to, extraData)) << _BITPOS_EXTRA_DATA; } // ============================================================= // OTHER OPERATIONS // ============================================================= /** * @dev Returns the message sender (defaults to `msg.sender`). * * If you are writing GSN compatible contracts, you need to override this function. */ function _msgSenderERC721A() internal view virtual returns (address) { return msg.sender; } /** * @dev Converts a uint256 to its ASCII string decimal representation. */ function _toString(uint256 value) internal pure virtual returns (string memory str) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), // but we allocate 0x80 bytes to keep the free memory pointer 32-byte word aliged. // We will need 1 32-byte word to store the length, // and 3 32-byte words to store a maximum of 78 digits. Total: 0x20 + 3 * 0x20 = 0x80. str := add(mload(0x40), 0x80) // Update the free memory pointer to allocate. mstore(0x40, str) // Cache the end of the memory to calculate the length later. let end := str // We write the string from rightmost digit to leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // prettier-ignore for { let temp := value } 1 {} { str := sub(str, 1) // Write the character to the pointer. // The ASCII index of the '0' character is 48. mstore8(str, add(48, mod(temp, 10))) // Keep dividing `temp` until zero. temp := div(temp, 10) // prettier-ignore if iszero(temp) { break } } let length := sub(end, str) // Move the pointer 32 bytes leftwards to make room for the length. str := sub(str, 0x20) // Store the length. mstore(str, length) } } } // File: erc721a\contracts\extensions\ERC721AQueryable.sol // ERC721A Contracts v4.2.2 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @title ERC721AQueryable. * * @dev ERC721A subclass with convenience query functions. */ abstract contract ERC721AQueryable is ERC721A, IERC721AQueryable { /** * @dev Returns the `TokenOwnership` struct at `tokenId` without reverting. * * If the `tokenId` is out of bounds: * * - `addr = address(0)` * - `startTimestamp = 0` * - `burned = false` * - `extraData = 0` * * If the `tokenId` is burned: * * - `addr = <Address of owner before token was burned>` * - `startTimestamp = <Timestamp when token was burned>` * - `burned = true` * - `extraData = <Extra data when token was burned>` * * Otherwise: * * - `addr = <Address of owner>` * - `startTimestamp = <Timestamp of start of ownership>` * - `burned = false` * - `extraData = <Extra data at start of ownership>` */ function explicitOwnershipOf(uint256 tokenId) public view virtual override returns (TokenOwnership memory) { TokenOwnership memory ownership; if (tokenId < _startTokenId() || tokenId >= _nextTokenId()) { return ownership; } ownership = _ownershipAt(tokenId); if (ownership.burned) { return ownership; } return _ownershipOf(tokenId); } /** * @dev Returns an array of `TokenOwnership` structs at `tokenIds` in order. * See {ERC721AQueryable-explicitOwnershipOf} */ function explicitOwnershipsOf(uint256[] calldata tokenIds) external view virtual override returns (TokenOwnership[] memory) { unchecked { uint256 tokenIdsLength = tokenIds.length; TokenOwnership[] memory ownerships = new TokenOwnership[](tokenIdsLength); for (uint256 i; i != tokenIdsLength; ++i) { ownerships[i] = explicitOwnershipOf(tokenIds[i]); } return ownerships; } } /** * @dev Returns an array of token IDs owned by `owner`, * in the range [`start`, `stop`) * (i.e. `start <= tokenId < stop`). * * This function allows for tokens to be queried if the collection * grows too big for a single call of {ERC721AQueryable-tokensOfOwner}. * * Requirements: * * - `start < stop` */ function tokensOfOwnerIn( address owner, uint256 start, uint256 stop ) external view virtual override returns (uint256[] memory) { unchecked { if (start >= stop) revert InvalidQueryRange(); uint256 tokenIdsIdx; uint256 stopLimit = _nextTokenId(); // Set `start = max(start, _startTokenId())`. if (start < _startTokenId()) { start = _startTokenId(); } // Set `stop = min(stop, stopLimit)`. if (stop > stopLimit) { stop = stopLimit; } uint256 tokenIdsMaxLength = balanceOf(owner); // Set `tokenIdsMaxLength = min(balanceOf(owner), stop - start)`, // to cater for cases where `balanceOf(owner)` is too big. if (start < stop) { uint256 rangeLength = stop - start; if (rangeLength < tokenIdsMaxLength) { tokenIdsMaxLength = rangeLength; } } else { tokenIdsMaxLength = 0; } uint256[] memory tokenIds = new uint256[](tokenIdsMaxLength); if (tokenIdsMaxLength == 0) { return tokenIds; } // We need to call `explicitOwnershipOf(start)`, // because the slot at `start` may not be initialized. TokenOwnership memory ownership = explicitOwnershipOf(start); address currOwnershipAddr; // If the starting slot exists (i.e. not burned), initialize `currOwnershipAddr`. // `ownership.address` will not be zero, as `start` is clamped to the valid token ID range. if (!ownership.burned) { currOwnershipAddr = ownership.addr; } for (uint256 i = start; i != stop && tokenIdsIdx != tokenIdsMaxLength; ++i) { ownership = _ownershipAt(i); if (ownership.burned) { continue; } if (ownership.addr != address(0)) { currOwnershipAddr = ownership.addr; } if (currOwnershipAddr == owner) { tokenIds[tokenIdsIdx++] = i; } } // Downsize the array to fit. assembly { mstore(tokenIds, tokenIdsIdx) } return tokenIds; } } /** * @dev Returns an array of token IDs owned by `owner`. * * This function scans the ownership mapping and is O(`totalSupply`) in complexity. * It is meant to be called off-chain. * * See {ERC721AQueryable-tokensOfOwnerIn} for splitting the scan into * multiple smaller scans if the collection is large enough to cause * an out-of-gas error (10K collections should be fine). */ function tokensOfOwner(address owner) public view virtual override returns (uint256[] memory) { unchecked { uint256 tokenIdsIdx; address currOwnershipAddr; uint256 tokenIdsLength = balanceOf(owner); uint256[] memory tokenIds = new uint256[](tokenIdsLength); TokenOwnership memory ownership; for (uint256 i = _startTokenId(); tokenIdsIdx != tokenIdsLength; ++i) { ownership = _ownershipAt(i); if (ownership.burned) { continue; } if (ownership.addr != address(0)) { currOwnershipAddr = ownership.addr; } if (currOwnershipAddr == owner) { tokenIds[tokenIdsIdx++] = i; } } return tokenIds; } } } // File: contracts\BearbingoNft.sol pragma solidity >=0.4.22 <0.9.0; contract BearbingoNft is ERC721AQueryable, Ownable, ERC2981 { uint112 public MAX_Supply = 500; // maximum supply is 10K. uint32 public maxPerPersonMint = 2; bool public revealed = false; // All Nfts revealed or not? bool public paused = false; string private baseUri; string private unrevealedUri = "ipfs://QmUV2QV8HHkjmyjGCzMLTNevEkzRYTVUEFo2q1K8o9BH6B/hidden.json"; // uri for unrevealed nfts. string private baseExtension = ".json"; string private _contractUri; mapping(address => uint256) public mintedCounts; // To check minting supply before Every mint. modifier checkMintSupply(uint256 amount) { require(totalSupply() + amount <= MAX_Supply, "Amount Exceeds Supply"); _; } constructor(string memory _baseUri) ERC721A("BEARBINGO OFFICIAL NFT", "BEARBINGO") { baseUri = _baseUri; _setDefaultRoyalty(msg.sender, 500); } function _startTokenId() internal pure override returns (uint256) { return 1; } function supportsInterface(bytes4 interfaceId) public view virtual override(ERC721A, IERC721A, ERC2981) returns (bool) { return interfaceId == type(IERC2981).interfaceId || super.supportsInterface(interfaceId); } // Function is to reveal all the nfts at one function call. No nfts can be unrevealed after calling this function. function reveal() external onlyOwner { revealed = true; } function setPause(bool _state) external onlyOwner { paused = _state; } // Don't have to worry about it it is mandatory for the baseUri string to make tokenUri function _baseURI() internal view virtual override returns (string memory) { return baseUri; } function setBaseUri(string memory _baseUri) external onlyOwner { baseUri = _baseUri; } function contractURI() external view returns(string memory) { return _contractUri; } function setContractURI(string memory _string) external onlyOwner { _contractUri = _string; } function tokenURI(uint256 tokenId) public view virtual override(ERC721A, IERC721A) returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); return revealed ? string( abi.encodePacked(baseURI, _toString(tokenId), baseExtension) ) : unrevealedUri; } function publicMint(uint256 amount) external checkMintSupply(amount) { require(amount > 0, "Zero Not allowed"); if (msg.sender != owner()) { require( amount <= maxPerPersonMint - mintedCounts[msg.sender], "Reached allowance per person" ); require(!paused, "Paused!!"); } mintedCounts[msg.sender] += amount; _safeMint(msg.sender, amount); } function adminMint(address to, uint256 _amount) external onlyOwner { _safeMint(to, _amount); } function tokenURIsOfOwner(address _address) external view onlyOwner returns (string[] memory array) { uint256[] memory tokenIds = tokensOfOwner(_address); for (uint256 i = 0; i < tokenIds.length; i++) { array[i] = tokenURI(tokenIds[i]); } } function setDefaultRoyalty(address _receiver, uint96 feeNumerator) external onlyOwner { _setDefaultRoyalty(_receiver, feeNumerator); } function setTokenRoyalty(uint256 _tokenId, address _receiver, uint96 feeNumerator) external onlyOwner { _setTokenRoyalty(_tokenId, _receiver, feeNumerator); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_baseUri","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"InvalidQueryRange","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_Supply","outputs":[{"internalType":"uint112","name":"","type":"uint112"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"adminMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"explicitOwnershipOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"},{"internalType":"uint24","name":"extraData","type":"uint24"}],"internalType":"struct IERC721A.TokenOwnership","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"explicitOwnershipsOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"},{"internalType":"uint24","name":"extraData","type":"uint24"}],"internalType":"struct IERC721A.TokenOwnership[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPerPersonMint","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"mintedCounts","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"publicMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseUri","type":"string"}],"name":"setBaseUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_string","type":"string"}],"name":"setContractURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_receiver","type":"address"},{"internalType":"uint96","name":"feeNumerator","type":"uint96"}],"name":"setDefaultRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setPause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"address","name":"_receiver","type":"address"},{"internalType":"uint96","name":"feeNumerator","type":"uint96"}],"name":"setTokenRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"tokenURIsOfOwner","outputs":[{"internalType":"string[]","name":"array","type":"string[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"start","type":"uint256"},{"internalType":"uint256","name":"stop","type":"uint256"}],"name":"tokensOfOwnerIn","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
600b80546001600160a01b0319166e0200000000000000000000000001f417905561010060405260416080818152906200287b60a03980516200004b91600d91602090910190620002bc565b5060408051808201909152600580825264173539b7b760d91b60209092019182526200007a91600e91620002bc565b503480156200008857600080fd5b50604051620028bc380380620028bc833981016040819052620000ab9162000378565b604080518082018252601681527f4245415242494e474f204f4646494349414c204e4654000000000000000000006020808301918252835180850190945260098452684245415242494e474f60b81b9084015281519192916200011191600291620002bc565b50805162000127906003906020840190620002bc565b50506001600055506200013a3362000165565b80516200014f90600c906020840190620002bc565b506200015e336101f4620001b7565b5062000490565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6127106001600160601b03821611156200022b5760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b60648201526084015b60405180910390fd5b6001600160a01b038216620002835760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c696420726563656976657200000000000000604482015260640162000222565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600955565b828054620002ca9062000454565b90600052602060002090601f016020900481019282620002ee576000855562000339565b82601f106200030957805160ff191683800117855562000339565b8280016001018555821562000339579182015b82811115620003395782518255916020019190600101906200031c565b50620003479291506200034b565b5090565b5b808211156200034757600081556001016200034c565b634e487b7160e01b600052604160045260246000fd5b600060208083850312156200038c57600080fd5b82516001600160401b0380821115620003a457600080fd5b818501915085601f830112620003b957600080fd5b815181811115620003ce57620003ce62000362565b604051601f8201601f19908116603f01168101908382118183101715620003f957620003f962000362565b8160405282815288868487010111156200041257600080fd5b600093505b8284101562000436578484018601518185018701529285019262000417565b82841115620004485760008684830101525b98975050505050505050565b600181811c908216806200046957607f821691505b6020821081036200048a57634e487b7160e01b600052602260045260246000fd5b50919050565b6123db80620004a06000396000f3fe608060405234801561001057600080fd5b50600436106102275760003560e01c8063715018a611610130578063a22cb465116100b8578063c87b56dd1161007c578063c87b56dd14610534578063e58306f914610547578063e8a3d4851461055a578063e985e9c514610562578063f2fde38b1461059e57600080fd5b8063a22cb465146104d3578063a475b5dd146104e6578063b88d4fde146104ee578063bedb86fb14610501578063c23dc68f1461051457600080fd5b8063938e3d7b116100ff578063938e3d7b1461047257806395d89b411461048557806399a2557a1461048d578063a0bcfc7f146104a0578063a0e939e9146104b357600080fd5b8063715018a61461040d5780638462151c146104155780638581809c146104355780638da5cb5b1461046157600080fd5b80632db11544116101b35780635944c753116101825780635944c753146103a05780635bbb2177146103b35780635c975abb146103d35780636352211e146103e757806370a08231146103fa57600080fd5b80632db115441461034657806337e4f2f61461035957806342842e0e14610379578063518302271461038c57600080fd5b8063095ea7b3116101fa578063095ea7b3146102a95780630b191314146102bc57806318160ddd146102e757806323b872dd146103015780632a55205a1461031457600080fd5b806301ffc9a71461022c57806304634d8d1461025457806306fdde0314610269578063081812fc1461027e575b600080fd5b61023f61023a366004611b95565b6105b1565b60405190151581526020015b60405180910390f35b610267610262366004611be5565b6105dc565b005b61027161061d565b60405161024b9190611c70565b61029161028c366004611c83565b6106af565b6040516001600160a01b03909116815260200161024b565b6102676102b7366004611c9c565b6106f3565b600b546102cf906001600160701b031681565b6040516001600160701b03909116815260200161024b565b60015460005403600019015b60405190815260200161024b565b61026761030f366004611cc6565b610793565b610327610322366004611d02565b61092b565b604080516001600160a01b03909316835260208301919091520161024b565b610267610354366004611c83565b6109d7565b6102f3610367366004611d24565b60106020526000908152604090205481565b610267610387366004611cc6565b610b85565b600b5461023f90600160901b900460ff1681565b6102676103ae366004611d3f565b610ba5565b6103c66103c1366004611d7b565b610bda565b60405161024b9190611e2d565b600b5461023f90600160981b900460ff1681565b6102916103f5366004611c83565b610ca6565b6102f3610408366004611d24565b610cb1565b610267610d00565b610428610423366004611d24565b610d36565b60405161024b9190611e6f565b600b5461044c90600160701b900463ffffffff1681565b60405163ffffffff909116815260200161024b565b6008546001600160a01b0316610291565b610267610480366004611f33565b610e3f565b610271610e7c565b61042861049b366004611f7c565b610e8b565b6102676104ae366004611f33565b611013565b6104c66104c1366004611d24565b611050565b60405161024b9190611faf565b6102676104e1366004612021565b6110ef565b610267611184565b6102676104fc36600461204b565b6111c3565b61026761050f3660046120c7565b61120d565b610527610522366004611c83565b611255565b60405161024b91906120e2565b610271610542366004611c83565b6112dd565b610267610555366004611c9c565b6113e7565b61027161141b565b61023f6105703660046120f0565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b6102676105ac366004611d24565b61142a565b60006001600160e01b0319821663152a902d60e11b14806105d657506105d6826114c5565b92915050565b6008546001600160a01b0316331461060f5760405162461bcd60e51b81526004016106069061211a565b60405180910390fd5b61061982826114fa565b5050565b60606002805461062c9061214f565b80601f01602080910402602001604051908101604052809291908181526020018280546106589061214f565b80156106a55780601f1061067a576101008083540402835291602001916106a5565b820191906000526020600020905b81548152906001019060200180831161068857829003601f168201915b5050505050905090565b60006106ba826115b4565b6106d7576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b60006106fe82610ca6565b9050336001600160a01b038216146107375761071a8133610570565b610737576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600061079e826115e9565b9050836001600160a01b0316816001600160a01b0316146107d15760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b0388169091141761081e576108018633610570565b61081e57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661084557604051633a954ecd60e21b815260040160405180910390fd5b801561085057600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b841690036108e2576001840160008181526004602052604081205490036108e05760005481146108e05760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b6000828152600a602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b03169282019290925282916109a05750604080518082019091526009546001600160a01b0381168252600160a01b90046001600160601b031660208201525b6020810151600090612710906109bf906001600160601b03168761219f565b6109c991906121be565b915196919550909350505050565b600b5460015460005483926001600160701b031691839103600019016109fd91906121e0565b1115610a435760405162461bcd60e51b8152602060048201526015602482015274416d6f756e74204578636565647320537570706c7960581b6044820152606401610606565b60008211610a865760405162461bcd60e51b815260206004820152601060248201526f16995c9bc8139bdd08185b1b1bddd95960821b6044820152606401610606565b6008546001600160a01b03163314610b565733600090815260106020526040902054600b54610ac29190600160701b900463ffffffff166121f8565b821115610b115760405162461bcd60e51b815260206004820152601c60248201527f5265616368656420616c6c6f77616e63652070657220706572736f6e000000006044820152606401610606565b600b54600160981b900460ff1615610b565760405162461bcd60e51b8152602060048201526008602482015267506175736564212160c01b6044820152606401610606565b3360009081526010602052604081208054849290610b759084906121e0565b9091555061061990503383611658565b610ba0838383604051806020016040528060008152506111c3565b505050565b6008546001600160a01b03163314610bcf5760405162461bcd60e51b81526004016106069061211a565b610ba0838383611672565b60608160008167ffffffffffffffff811115610bf857610bf8611ea7565b604051908082528060200260200182016040528015610c4a57816020015b604080516080810182526000808252602080830182905292820181905260608201528252600019909201910181610c165790505b50905060005b828114610c9d57610c78868683818110610c6c57610c6c61220f565b90506020020135611255565b828281518110610c8a57610c8a61220f565b6020908102919091010152600101610c50565b50949350505050565b60006105d6826115e9565b60006001600160a01b038216610cda576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6008546001600160a01b03163314610d2a5760405162461bcd60e51b81526004016106069061211a565b610d34600061173d565b565b60606000806000610d4685610cb1565b905060008167ffffffffffffffff811115610d6357610d63611ea7565b604051908082528060200260200182016040528015610d8c578160200160208202803683370190505b509050610db960408051608081018252600080825260208201819052918101829052606081019190915290565b60015b838614610e3357610dcc8161178f565b91508160400151610e2b5781516001600160a01b031615610dec57815194505b876001600160a01b0316856001600160a01b031603610e2b5780838780600101985081518110610e1e57610e1e61220f565b6020026020010181815250505b600101610dbc565b50909695505050505050565b6008546001600160a01b03163314610e695760405162461bcd60e51b81526004016106069061211a565b805161061990600f906020840190611ae6565b60606003805461062c9061214f565b6060818310610ead57604051631960ccad60e11b815260040160405180910390fd5b600080610eb960005490565b90506001851015610ec957600194505b80841115610ed5578093505b6000610ee087610cb1565b905084861015610eff5785850381811015610ef9578091505b50610f03565b5060005b60008167ffffffffffffffff811115610f1e57610f1e611ea7565b604051908082528060200260200182016040528015610f47578160200160208202803683370190505b50905081600003610f5d57935061100c92505050565b6000610f6888611255565b905060008160400151610f79575080515b885b888114158015610f8b5750848714155b1561100057610f998161178f565b92508260400151610ff85782516001600160a01b031615610fb957825191505b8a6001600160a01b0316826001600160a01b031603610ff85780848880600101995081518110610feb57610feb61220f565b6020026020010181815250505b600101610f7b565b50505092835250909150505b9392505050565b6008546001600160a01b0316331461103d5760405162461bcd60e51b81526004016106069061211a565b805161061990600c906020840190611ae6565b6008546060906001600160a01b0316331461107d5760405162461bcd60e51b81526004016106069061211a565b600061108883610d36565b905060005b81518110156110e8576110b88282815181106110ab576110ab61220f565b60200260200101516112dd565b8382815181106110ca576110ca61220f565b602002602001018190525080806110e090612225565b91505061108d565b5050919050565b336001600160a01b038316036111185760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6008546001600160a01b031633146111ae5760405162461bcd60e51b81526004016106069061211a565b600b805460ff60901b1916600160901b179055565b6111ce848484610793565b6001600160a01b0383163b15611207576111ea848484846117cb565b611207576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6008546001600160a01b031633146112375760405162461bcd60e51b81526004016106069061211a565b600b8054911515600160981b0260ff60981b19909216919091179055565b60408051608081018252600080825260208201819052918101829052606081019190915260408051608081018252600080825260208201819052918101829052606081019190915260018310806112ae57506000548310155b156112b95792915050565b6112c28361178f565b90508060400151156112d45792915050565b61100c836118b7565b60606112e8826115b4565b61130557604051630a14c4b560e41b815260040160405180910390fd5b600061130f6118ec565b600b54909150600160901b900460ff166113b357600d80546113309061214f565b80601f016020809104026020016040519081016040528092919081815260200182805461135c9061214f565b80156113a95780601f1061137e576101008083540402835291602001916113a9565b820191906000526020600020905b81548152906001019060200180831161138c57829003601f168201915b505050505061100c565b806113bd846118fb565b600e6040516020016113d19392919061223e565b6040516020818303038152906040529392505050565b6008546001600160a01b031633146114115760405162461bcd60e51b81526004016106069061211a565b6106198282611658565b6060600f805461062c9061214f565b6008546001600160a01b031633146114545760405162461bcd60e51b81526004016106069061211a565b6001600160a01b0381166114b95760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610606565b6114c28161173d565b50565b60006001600160e01b0319821663152a902d60e11b14806105d657506301ffc9a760e01b6001600160e01b03198316146105d6565b6127106001600160601b03821611156115255760405162461bcd60e51b815260040161060690612301565b6001600160a01b03821661157b5760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c6964207265636569766572000000000000006044820152606401610606565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600955565b6000816001111580156115c8575060005482105b80156105d6575050600090815260046020526040902054600160e01b161590565b6000818060011161163f5760005481101561163f5760008181526004602052604081205490600160e01b8216900361163d575b8060000361100c57506000190160008181526004602052604090205461161c565b505b604051636f96cda160e11b815260040160405180910390fd5b610619828260405180602001604052806000815250611933565b6127106001600160601b038216111561169d5760405162461bcd60e51b815260040161060690612301565b6001600160a01b0382166116f35760405162461bcd60e51b815260206004820152601b60248201527f455243323938313a20496e76616c696420706172616d657465727300000000006044820152606401610606565b6040805180820182526001600160a01b0393841681526001600160601b0392831660208083019182526000968752600a90529190942093519051909116600160a01b029116179055565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6040805160808101825260008082526020820181905291810182905260608101919091526000828152600460205260409020546105d6906119a0565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a029061180090339089908890889060040161234b565b6020604051808303816000875af192505050801561183b575060408051601f3d908101601f1916820190925261183891810190612388565b60015b611899573d808015611869576040519150601f19603f3d011682016040523d82523d6000602084013e61186e565b606091505b508051600003611891576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6040805160808101825260008082526020820181905291810182905260608101919091526105d66118e7836115e9565b6119a0565b6060600c805461062c9061214f565b604080516080019081905280825b600183039250600a81066030018353600a9004806119095750819003601f19909101908152919050565b61193d83836119e8565b6001600160a01b0383163b15610ba0576000548281035b61196760008683806001019450866117cb565b611984576040516368d2bf6b60e11b815260040160405180910390fd5b81811061195457816000541461199957600080fd5b5050505050565b604080516080810182526001600160a01b038316815260a083901c67ffffffffffffffff166020820152600160e01b831615159181019190915260e89190911c606082015290565b6000805490829003611a0d5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b818114611abc57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101611a84565b5081600003611add57604051622e076360e81b815260040160405180910390fd5b60005550505050565b828054611af29061214f565b90600052602060002090601f016020900481019282611b145760008555611b5a565b82601f10611b2d57805160ff1916838001178555611b5a565b82800160010185558215611b5a579182015b82811115611b5a578251825591602001919060010190611b3f565b50611b66929150611b6a565b5090565b5b80821115611b665760008155600101611b6b565b6001600160e01b0319811681146114c257600080fd5b600060208284031215611ba757600080fd5b813561100c81611b7f565b80356001600160a01b0381168114611bc957600080fd5b919050565b80356001600160601b0381168114611bc957600080fd5b60008060408385031215611bf857600080fd5b611c0183611bb2565b9150611c0f60208401611bce565b90509250929050565b60005b83811015611c33578181015183820152602001611c1b565b838111156112075750506000910152565b60008151808452611c5c816020860160208601611c18565b601f01601f19169290920160200192915050565b60208152600061100c6020830184611c44565b600060208284031215611c9557600080fd5b5035919050565b60008060408385031215611caf57600080fd5b611cb883611bb2565b946020939093013593505050565b600080600060608486031215611cdb57600080fd5b611ce484611bb2565b9250611cf260208501611bb2565b9150604084013590509250925092565b60008060408385031215611d1557600080fd5b50508035926020909101359150565b600060208284031215611d3657600080fd5b61100c82611bb2565b600080600060608486031215611d5457600080fd5b83359250611d6460208501611bb2565b9150611d7260408501611bce565b90509250925092565b60008060208385031215611d8e57600080fd5b823567ffffffffffffffff80821115611da657600080fd5b818501915085601f830112611dba57600080fd5b813581811115611dc957600080fd5b8660208260051b8501011115611dde57600080fd5b60209290920196919550909350505050565b80516001600160a01b0316825260208082015167ffffffffffffffff169083015260408082015115159083015260609081015162ffffff16910152565b6020808252825182820181905260009190848201906040850190845b81811015610e3357611e5c838551611df0565b9284019260809290920191600101611e49565b6020808252825182820181905260009190848201906040850190845b81811015610e3357835183529284019291840191600101611e8b565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115611ed857611ed8611ea7565b604051601f8501601f19908116603f01168101908282118183101715611f0057611f00611ea7565b81604052809350858152868686011115611f1957600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215611f4557600080fd5b813567ffffffffffffffff811115611f5c57600080fd5b8201601f81018413611f6d57600080fd5b6118af84823560208401611ebd565b600080600060608486031215611f9157600080fd5b611f9a84611bb2565b95602085013595506040909401359392505050565b6000602080830181845280855180835260408601915060408160051b870101925083870160005b8281101561200457603f19888603018452611ff2858351611c44565b94509285019290850190600101611fd6565b5092979650505050505050565b80358015158114611bc957600080fd5b6000806040838503121561203457600080fd5b61203d83611bb2565b9150611c0f60208401612011565b6000806000806080858703121561206157600080fd5b61206a85611bb2565b935061207860208601611bb2565b925060408501359150606085013567ffffffffffffffff81111561209b57600080fd5b8501601f810187136120ac57600080fd5b6120bb87823560208401611ebd565b91505092959194509250565b6000602082840312156120d957600080fd5b61100c82612011565b608081016105d68284611df0565b6000806040838503121561210357600080fd5b61210c83611bb2565b9150611c0f60208401611bb2565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600181811c9082168061216357607f821691505b60208210810361218357634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b60008160001904831182151516156121b9576121b9612189565b500290565b6000826121db57634e487b7160e01b600052601260045260246000fd5b500490565b600082198211156121f3576121f3612189565b500190565b60008282101561220a5761220a612189565b500390565b634e487b7160e01b600052603260045260246000fd5b60006001820161223757612237612189565b5060010190565b6000845160206122518285838a01611c18565b8551918401916122648184848a01611c18565b8554920191600090600181811c908083168061228157607f831692505b858310810361229e57634e487b7160e01b85526022600452602485fd5b8080156122b257600181146122c3576122f0565b60ff198516885283880195506122f0565b60008b81526020902060005b858110156122e85781548a8201529084019088016122cf565b505083880195505b50939b9a5050505050505050505050565b6020808252602a908201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646040820152692073616c65507269636560b01b606082015260800190565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061237e90830184611c44565b9695505050505050565b60006020828403121561239a57600080fd5b815161100c81611b7f56fea2646970667358221220ccfe8ada93d5f1429aaf12241494da4707a688da70dcf5548ff7c6368921cafd64736f6c634300080d0033697066733a2f2f516d55563251563848486b6a6d796a47437a4d4c544e6576456b7a525954565545466f3271314b386f39424836422f68696464656e2e6a736f6e00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d5879374a3842436369704a4453716a6172725651517135734b374778486b374d364e357362644e33716e6b782f00000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106102275760003560e01c8063715018a611610130578063a22cb465116100b8578063c87b56dd1161007c578063c87b56dd14610534578063e58306f914610547578063e8a3d4851461055a578063e985e9c514610562578063f2fde38b1461059e57600080fd5b8063a22cb465146104d3578063a475b5dd146104e6578063b88d4fde146104ee578063bedb86fb14610501578063c23dc68f1461051457600080fd5b8063938e3d7b116100ff578063938e3d7b1461047257806395d89b411461048557806399a2557a1461048d578063a0bcfc7f146104a0578063a0e939e9146104b357600080fd5b8063715018a61461040d5780638462151c146104155780638581809c146104355780638da5cb5b1461046157600080fd5b80632db11544116101b35780635944c753116101825780635944c753146103a05780635bbb2177146103b35780635c975abb146103d35780636352211e146103e757806370a08231146103fa57600080fd5b80632db115441461034657806337e4f2f61461035957806342842e0e14610379578063518302271461038c57600080fd5b8063095ea7b3116101fa578063095ea7b3146102a95780630b191314146102bc57806318160ddd146102e757806323b872dd146103015780632a55205a1461031457600080fd5b806301ffc9a71461022c57806304634d8d1461025457806306fdde0314610269578063081812fc1461027e575b600080fd5b61023f61023a366004611b95565b6105b1565b60405190151581526020015b60405180910390f35b610267610262366004611be5565b6105dc565b005b61027161061d565b60405161024b9190611c70565b61029161028c366004611c83565b6106af565b6040516001600160a01b03909116815260200161024b565b6102676102b7366004611c9c565b6106f3565b600b546102cf906001600160701b031681565b6040516001600160701b03909116815260200161024b565b60015460005403600019015b60405190815260200161024b565b61026761030f366004611cc6565b610793565b610327610322366004611d02565b61092b565b604080516001600160a01b03909316835260208301919091520161024b565b610267610354366004611c83565b6109d7565b6102f3610367366004611d24565b60106020526000908152604090205481565b610267610387366004611cc6565b610b85565b600b5461023f90600160901b900460ff1681565b6102676103ae366004611d3f565b610ba5565b6103c66103c1366004611d7b565b610bda565b60405161024b9190611e2d565b600b5461023f90600160981b900460ff1681565b6102916103f5366004611c83565b610ca6565b6102f3610408366004611d24565b610cb1565b610267610d00565b610428610423366004611d24565b610d36565b60405161024b9190611e6f565b600b5461044c90600160701b900463ffffffff1681565b60405163ffffffff909116815260200161024b565b6008546001600160a01b0316610291565b610267610480366004611f33565b610e3f565b610271610e7c565b61042861049b366004611f7c565b610e8b565b6102676104ae366004611f33565b611013565b6104c66104c1366004611d24565b611050565b60405161024b9190611faf565b6102676104e1366004612021565b6110ef565b610267611184565b6102676104fc36600461204b565b6111c3565b61026761050f3660046120c7565b61120d565b610527610522366004611c83565b611255565b60405161024b91906120e2565b610271610542366004611c83565b6112dd565b610267610555366004611c9c565b6113e7565b61027161141b565b61023f6105703660046120f0565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b6102676105ac366004611d24565b61142a565b60006001600160e01b0319821663152a902d60e11b14806105d657506105d6826114c5565b92915050565b6008546001600160a01b0316331461060f5760405162461bcd60e51b81526004016106069061211a565b60405180910390fd5b61061982826114fa565b5050565b60606002805461062c9061214f565b80601f01602080910402602001604051908101604052809291908181526020018280546106589061214f565b80156106a55780601f1061067a576101008083540402835291602001916106a5565b820191906000526020600020905b81548152906001019060200180831161068857829003601f168201915b5050505050905090565b60006106ba826115b4565b6106d7576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b60006106fe82610ca6565b9050336001600160a01b038216146107375761071a8133610570565b610737576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600061079e826115e9565b9050836001600160a01b0316816001600160a01b0316146107d15760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b0388169091141761081e576108018633610570565b61081e57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661084557604051633a954ecd60e21b815260040160405180910390fd5b801561085057600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b841690036108e2576001840160008181526004602052604081205490036108e05760005481146108e05760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b6000828152600a602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b03169282019290925282916109a05750604080518082019091526009546001600160a01b0381168252600160a01b90046001600160601b031660208201525b6020810151600090612710906109bf906001600160601b03168761219f565b6109c991906121be565b915196919550909350505050565b600b5460015460005483926001600160701b031691839103600019016109fd91906121e0565b1115610a435760405162461bcd60e51b8152602060048201526015602482015274416d6f756e74204578636565647320537570706c7960581b6044820152606401610606565b60008211610a865760405162461bcd60e51b815260206004820152601060248201526f16995c9bc8139bdd08185b1b1bddd95960821b6044820152606401610606565b6008546001600160a01b03163314610b565733600090815260106020526040902054600b54610ac29190600160701b900463ffffffff166121f8565b821115610b115760405162461bcd60e51b815260206004820152601c60248201527f5265616368656420616c6c6f77616e63652070657220706572736f6e000000006044820152606401610606565b600b54600160981b900460ff1615610b565760405162461bcd60e51b8152602060048201526008602482015267506175736564212160c01b6044820152606401610606565b3360009081526010602052604081208054849290610b759084906121e0565b9091555061061990503383611658565b610ba0838383604051806020016040528060008152506111c3565b505050565b6008546001600160a01b03163314610bcf5760405162461bcd60e51b81526004016106069061211a565b610ba0838383611672565b60608160008167ffffffffffffffff811115610bf857610bf8611ea7565b604051908082528060200260200182016040528015610c4a57816020015b604080516080810182526000808252602080830182905292820181905260608201528252600019909201910181610c165790505b50905060005b828114610c9d57610c78868683818110610c6c57610c6c61220f565b90506020020135611255565b828281518110610c8a57610c8a61220f565b6020908102919091010152600101610c50565b50949350505050565b60006105d6826115e9565b60006001600160a01b038216610cda576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6008546001600160a01b03163314610d2a5760405162461bcd60e51b81526004016106069061211a565b610d34600061173d565b565b60606000806000610d4685610cb1565b905060008167ffffffffffffffff811115610d6357610d63611ea7565b604051908082528060200260200182016040528015610d8c578160200160208202803683370190505b509050610db960408051608081018252600080825260208201819052918101829052606081019190915290565b60015b838614610e3357610dcc8161178f565b91508160400151610e2b5781516001600160a01b031615610dec57815194505b876001600160a01b0316856001600160a01b031603610e2b5780838780600101985081518110610e1e57610e1e61220f565b6020026020010181815250505b600101610dbc565b50909695505050505050565b6008546001600160a01b03163314610e695760405162461bcd60e51b81526004016106069061211a565b805161061990600f906020840190611ae6565b60606003805461062c9061214f565b6060818310610ead57604051631960ccad60e11b815260040160405180910390fd5b600080610eb960005490565b90506001851015610ec957600194505b80841115610ed5578093505b6000610ee087610cb1565b905084861015610eff5785850381811015610ef9578091505b50610f03565b5060005b60008167ffffffffffffffff811115610f1e57610f1e611ea7565b604051908082528060200260200182016040528015610f47578160200160208202803683370190505b50905081600003610f5d57935061100c92505050565b6000610f6888611255565b905060008160400151610f79575080515b885b888114158015610f8b5750848714155b1561100057610f998161178f565b92508260400151610ff85782516001600160a01b031615610fb957825191505b8a6001600160a01b0316826001600160a01b031603610ff85780848880600101995081518110610feb57610feb61220f565b6020026020010181815250505b600101610f7b565b50505092835250909150505b9392505050565b6008546001600160a01b0316331461103d5760405162461bcd60e51b81526004016106069061211a565b805161061990600c906020840190611ae6565b6008546060906001600160a01b0316331461107d5760405162461bcd60e51b81526004016106069061211a565b600061108883610d36565b905060005b81518110156110e8576110b88282815181106110ab576110ab61220f565b60200260200101516112dd565b8382815181106110ca576110ca61220f565b602002602001018190525080806110e090612225565b91505061108d565b5050919050565b336001600160a01b038316036111185760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6008546001600160a01b031633146111ae5760405162461bcd60e51b81526004016106069061211a565b600b805460ff60901b1916600160901b179055565b6111ce848484610793565b6001600160a01b0383163b15611207576111ea848484846117cb565b611207576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6008546001600160a01b031633146112375760405162461bcd60e51b81526004016106069061211a565b600b8054911515600160981b0260ff60981b19909216919091179055565b60408051608081018252600080825260208201819052918101829052606081019190915260408051608081018252600080825260208201819052918101829052606081019190915260018310806112ae57506000548310155b156112b95792915050565b6112c28361178f565b90508060400151156112d45792915050565b61100c836118b7565b60606112e8826115b4565b61130557604051630a14c4b560e41b815260040160405180910390fd5b600061130f6118ec565b600b54909150600160901b900460ff166113b357600d80546113309061214f565b80601f016020809104026020016040519081016040528092919081815260200182805461135c9061214f565b80156113a95780601f1061137e576101008083540402835291602001916113a9565b820191906000526020600020905b81548152906001019060200180831161138c57829003601f168201915b505050505061100c565b806113bd846118fb565b600e6040516020016113d19392919061223e565b6040516020818303038152906040529392505050565b6008546001600160a01b031633146114115760405162461bcd60e51b81526004016106069061211a565b6106198282611658565b6060600f805461062c9061214f565b6008546001600160a01b031633146114545760405162461bcd60e51b81526004016106069061211a565b6001600160a01b0381166114b95760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610606565b6114c28161173d565b50565b60006001600160e01b0319821663152a902d60e11b14806105d657506301ffc9a760e01b6001600160e01b03198316146105d6565b6127106001600160601b03821611156115255760405162461bcd60e51b815260040161060690612301565b6001600160a01b03821661157b5760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c6964207265636569766572000000000000006044820152606401610606565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600955565b6000816001111580156115c8575060005482105b80156105d6575050600090815260046020526040902054600160e01b161590565b6000818060011161163f5760005481101561163f5760008181526004602052604081205490600160e01b8216900361163d575b8060000361100c57506000190160008181526004602052604090205461161c565b505b604051636f96cda160e11b815260040160405180910390fd5b610619828260405180602001604052806000815250611933565b6127106001600160601b038216111561169d5760405162461bcd60e51b815260040161060690612301565b6001600160a01b0382166116f35760405162461bcd60e51b815260206004820152601b60248201527f455243323938313a20496e76616c696420706172616d657465727300000000006044820152606401610606565b6040805180820182526001600160a01b0393841681526001600160601b0392831660208083019182526000968752600a90529190942093519051909116600160a01b029116179055565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6040805160808101825260008082526020820181905291810182905260608101919091526000828152600460205260409020546105d6906119a0565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a029061180090339089908890889060040161234b565b6020604051808303816000875af192505050801561183b575060408051601f3d908101601f1916820190925261183891810190612388565b60015b611899573d808015611869576040519150601f19603f3d011682016040523d82523d6000602084013e61186e565b606091505b508051600003611891576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6040805160808101825260008082526020820181905291810182905260608101919091526105d66118e7836115e9565b6119a0565b6060600c805461062c9061214f565b604080516080019081905280825b600183039250600a81066030018353600a9004806119095750819003601f19909101908152919050565b61193d83836119e8565b6001600160a01b0383163b15610ba0576000548281035b61196760008683806001019450866117cb565b611984576040516368d2bf6b60e11b815260040160405180910390fd5b81811061195457816000541461199957600080fd5b5050505050565b604080516080810182526001600160a01b038316815260a083901c67ffffffffffffffff166020820152600160e01b831615159181019190915260e89190911c606082015290565b6000805490829003611a0d5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b818114611abc57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101611a84565b5081600003611add57604051622e076360e81b815260040160405180910390fd5b60005550505050565b828054611af29061214f565b90600052602060002090601f016020900481019282611b145760008555611b5a565b82601f10611b2d57805160ff1916838001178555611b5a565b82800160010185558215611b5a579182015b82811115611b5a578251825591602001919060010190611b3f565b50611b66929150611b6a565b5090565b5b80821115611b665760008155600101611b6b565b6001600160e01b0319811681146114c257600080fd5b600060208284031215611ba757600080fd5b813561100c81611b7f565b80356001600160a01b0381168114611bc957600080fd5b919050565b80356001600160601b0381168114611bc957600080fd5b60008060408385031215611bf857600080fd5b611c0183611bb2565b9150611c0f60208401611bce565b90509250929050565b60005b83811015611c33578181015183820152602001611c1b565b838111156112075750506000910152565b60008151808452611c5c816020860160208601611c18565b601f01601f19169290920160200192915050565b60208152600061100c6020830184611c44565b600060208284031215611c9557600080fd5b5035919050565b60008060408385031215611caf57600080fd5b611cb883611bb2565b946020939093013593505050565b600080600060608486031215611cdb57600080fd5b611ce484611bb2565b9250611cf260208501611bb2565b9150604084013590509250925092565b60008060408385031215611d1557600080fd5b50508035926020909101359150565b600060208284031215611d3657600080fd5b61100c82611bb2565b600080600060608486031215611d5457600080fd5b83359250611d6460208501611bb2565b9150611d7260408501611bce565b90509250925092565b60008060208385031215611d8e57600080fd5b823567ffffffffffffffff80821115611da657600080fd5b818501915085601f830112611dba57600080fd5b813581811115611dc957600080fd5b8660208260051b8501011115611dde57600080fd5b60209290920196919550909350505050565b80516001600160a01b0316825260208082015167ffffffffffffffff169083015260408082015115159083015260609081015162ffffff16910152565b6020808252825182820181905260009190848201906040850190845b81811015610e3357611e5c838551611df0565b9284019260809290920191600101611e49565b6020808252825182820181905260009190848201906040850190845b81811015610e3357835183529284019291840191600101611e8b565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115611ed857611ed8611ea7565b604051601f8501601f19908116603f01168101908282118183101715611f0057611f00611ea7565b81604052809350858152868686011115611f1957600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215611f4557600080fd5b813567ffffffffffffffff811115611f5c57600080fd5b8201601f81018413611f6d57600080fd5b6118af84823560208401611ebd565b600080600060608486031215611f9157600080fd5b611f9a84611bb2565b95602085013595506040909401359392505050565b6000602080830181845280855180835260408601915060408160051b870101925083870160005b8281101561200457603f19888603018452611ff2858351611c44565b94509285019290850190600101611fd6565b5092979650505050505050565b80358015158114611bc957600080fd5b6000806040838503121561203457600080fd5b61203d83611bb2565b9150611c0f60208401612011565b6000806000806080858703121561206157600080fd5b61206a85611bb2565b935061207860208601611bb2565b925060408501359150606085013567ffffffffffffffff81111561209b57600080fd5b8501601f810187136120ac57600080fd5b6120bb87823560208401611ebd565b91505092959194509250565b6000602082840312156120d957600080fd5b61100c82612011565b608081016105d68284611df0565b6000806040838503121561210357600080fd5b61210c83611bb2565b9150611c0f60208401611bb2565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600181811c9082168061216357607f821691505b60208210810361218357634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b60008160001904831182151516156121b9576121b9612189565b500290565b6000826121db57634e487b7160e01b600052601260045260246000fd5b500490565b600082198211156121f3576121f3612189565b500190565b60008282101561220a5761220a612189565b500390565b634e487b7160e01b600052603260045260246000fd5b60006001820161223757612237612189565b5060010190565b6000845160206122518285838a01611c18565b8551918401916122648184848a01611c18565b8554920191600090600181811c908083168061228157607f831692505b858310810361229e57634e487b7160e01b85526022600452602485fd5b8080156122b257600181146122c3576122f0565b60ff198516885283880195506122f0565b60008b81526020902060005b858110156122e85781548a8201529084019088016122cf565b505083880195505b50939b9a5050505050505050505050565b6020808252602a908201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646040820152692073616c65507269636560b01b606082015260800190565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061237e90830184611c44565b9695505050505050565b60006020828403121561239a57600080fd5b815161100c81611b7f56fea2646970667358221220ccfe8ada93d5f1429aaf12241494da4707a688da70dcf5548ff7c6368921cafd64736f6c634300080d0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d5879374a3842436369704a4453716a6172725651517135734b374778486b374d364e357362644e33716e6b782f00000000000000000000
-----Decoded View---------------
Arg [0] : _baseUri (string): ipfs://QmXy7J8BCcipJDSqjarrVQQq5sK7GxHk7M6N5sbdN3qnkx/
-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [2] : 697066733a2f2f516d5879374a3842436369704a4453716a6172725651517135
Arg [3] : 734b374778486b374d364e357362644e33716e6b782f00000000000000000000
Deployed Bytecode Sourcemap
70270:3864:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;71332:226;;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;71332:226:0;;;;;;;;73803:148;;;;;;:::i;:::-;;:::i;:::-;;32249:100;;;:::i;:::-;;;;;;;:::i;38732:218::-;;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;2317:32:1;;;2299:51;;2287:2;2272:18;38732:218:0;2153:203:1;38173:400:0;;;;;;:::i;:::-;;:::i;70337:31::-;;;;;-1:-1:-1;;;;;70337:31:0;;;;;;-1:-1:-1;;;;;2784:43:1;;;2766:62;;2754:2;2739:18;70337:31:0;2620:214:1;28000:323:0;71315:1;28274:12;28061:7;28258:13;:28;-1:-1:-1;;28258:46:0;28000:323;;;2985:25:1;;;2973:2;2958:18;28000:323:0;2839:177:1;42439:2817:0;;;;;;:::i;:::-;;:::i;7808:442::-;;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;3799:32:1;;;3781:51;;3863:2;3848:18;;3841:34;;;;3754:18;7808:442:0;3607:274:1;72885:462:0;;;;;;:::i;:::-;;:::i;70786:47::-;;;;;;:::i;:::-;;;;;;;;;;;;;;45352:185;;;;;;:::i;:::-;;:::i;70444:28::-;;;;;-1:-1:-1;;;70444:28:0;;;;;;73959:172;;;;;;:::i;:::-;;:::i;65406:528::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;70508:26::-;;;;;-1:-1:-1;;;70508:26:0;;;;;;33642:152;;;;;;:::i;:::-;;:::i;29184:233::-;;;;;;:::i;:::-;;:::i;2512:103::-;;;:::i;69282:898::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;70401:34::-;;;;;-1:-1:-1;;;70401:34:0;;;;;;;;;6920:10:1;6908:23;;;6890:42;;6878:2;6863:18;70401:34:0;6746:192:1;1861:87:0;1934:6;;-1:-1:-1;;;;;1934:6:0;1861:87;;72280:107;;;;;;:::i;:::-;;:::i;32425:104::-;;;:::i;66322:2513::-;;;;;;:::i;:::-;;:::i;72066:100::-;;;;;;:::i;:::-;;:::i;73469:326::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;39290:308::-;;;;;;:::i;:::-;;:::i;71686:71::-;;;:::i;46135:399::-;;;;;;:::i;:::-;;:::i;71765:84::-;;;;;;:::i;:::-;;:::i;64819:428::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;72395:482::-;;;;;;:::i;:::-;;:::i;73355:106::-;;;;;;:::i;:::-;;:::i;72174:98::-;;;:::i;39755:164::-;;;;;;:::i;:::-;-1:-1:-1;;;;;39876:25:0;;;39852:4;39876:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;39755:164;2770:201;;;;;;:::i;:::-;;:::i;71332:226::-;71445:4;-1:-1:-1;;;;;;71469:41:0;;-1:-1:-1;;;71469:41:0;;:81;;;71514:36;71538:11;71514:23;:36::i;:::-;71462:88;71332:226;-1:-1:-1;;71332:226:0:o;73803:148::-;1934:6;;-1:-1:-1;;;;;1934:6:0;680:10;2081:23;2073:68;;;;-1:-1:-1;;;2073:68:0;;;;;;;:::i;:::-;;;;;;;;;73900:43:::1;73919:9;73930:12;73900:18;:43::i;:::-;73803:148:::0;;:::o;32249:100::-;32303:13;32336:5;32329:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32249:100;:::o;38732:218::-;38808:7;38833:16;38841:7;38833;:16::i;:::-;38828:64;;38858:34;;-1:-1:-1;;;38858:34:0;;;;;;;;;;;38828:64;-1:-1:-1;38912:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;38912:30:0;;38732:218::o;38173:400::-;38254:13;38270:16;38278:7;38270;:16::i;:::-;38254:32;-1:-1:-1;680:10:0;-1:-1:-1;;;;;38303:28:0;;;38299:175;;38351:44;38368:5;680:10;39755:164;:::i;38351:44::-;38346:128;;38423:35;;-1:-1:-1;;;38423:35:0;;;;;;;;;;;38346:128;38486:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;38486:35:0;-1:-1:-1;;;;;38486:35:0;;;;;;;;;38537:28;;38486:24;;38537:28;;;;;;;38243:330;38173:400;;:::o;42439:2817::-;42573:27;42603;42622:7;42603:18;:27::i;:::-;42573:57;;42688:4;-1:-1:-1;;;;;42647:45:0;42663:19;-1:-1:-1;;;;;42647:45:0;;42643:86;;42701:28;;-1:-1:-1;;;42701:28:0;;;;;;;;;;;42643:86;42743:27;41553:24;;;:15;:24;;;;;41775:26;;680:10;41178:30;;;-1:-1:-1;;;;;40871:28:0;;41156:20;;;41153:56;42929:180;;43022:43;43039:4;680:10;39755:164;:::i;43022:43::-;43017:92;;43074:35;;-1:-1:-1;;;43074:35:0;;;;;;;;;;;43017:92;-1:-1:-1;;;;;43126:16:0;;43122:52;;43151:23;;-1:-1:-1;;;43151:23:0;;;;;;;;;;;43122:52;43323:15;43320:160;;;43463:1;43442:19;43435:30;43320:160;-1:-1:-1;;;;;43860:24:0;;;;;;;:18;:24;;;;;;43858:26;;-1:-1:-1;;43858:26:0;;;43929:22;;;;;;;;;43927:24;;-1:-1:-1;43927:24:0;;;37031:11;37006:23;37002:41;36989:63;-1:-1:-1;;;36989:63:0;44222:26;;;;:17;:26;;;;;:175;;;;-1:-1:-1;;;44517:47:0;;:52;;44513:627;;44622:1;44612:11;;44590:19;44745:30;;;:17;:30;;;;;;:35;;44741:384;;44883:13;;44868:11;:28;44864:242;;45030:30;;;;:17;:30;;;;;:52;;;44864:242;44571:569;44513:627;45187:7;45183:2;-1:-1:-1;;;;;45168:27:0;45177:4;-1:-1:-1;;;;;45168:27:0;;;;;;;;;;;42562:2694;;;42439:2817;;;:::o;7808:442::-;7905:7;7963:27;;;:17;:27;;;;;;;;7934:56;;;;;;;;;-1:-1:-1;;;;;7934:56:0;;;;;-1:-1:-1;;;7934:56:0;;;-1:-1:-1;;;;;7934:56:0;;;;;;;;7905:7;;8003:92;;-1:-1:-1;8054:29:0;;;;;;;;;8064:19;8054:29;-1:-1:-1;;;;;8054:29:0;;;;-1:-1:-1;;;8054:29:0;;-1:-1:-1;;;;;8054:29:0;;;;;8003:92;8145:23;;;;8107:21;;8616:5;;8132:36;;-1:-1:-1;;;;;8132:36:0;:10;:36;:::i;:::-;8131:58;;;;:::i;:::-;8210:16;;;;;-1:-1:-1;7808:442:0;;-1:-1:-1;;;;7808:442:0:o;72885:462::-;70979:10;;71315:1;28274:12;28061:7;28258:13;72946:6;;-1:-1:-1;;;;;70979:10:0;;72946:6;;28258:28;-1:-1:-1;;28258:46:0;70953:22;;;;:::i;:::-;:36;;70945:70;;;;-1:-1:-1;;;70945:70:0;;12728:2:1;70945:70:0;;;12710:21:1;12767:2;12747:18;;;12740:30;-1:-1:-1;;;12786:18:1;;;12779:51;12847:18;;70945:70:0;12526:345:1;70945:70:0;72982:1:::1;72973:6;:10;72965:39;;;::::0;-1:-1:-1;;;72965:39:0;;13078:2:1;72965:39:0::1;::::0;::::1;13060:21:1::0;13117:2;13097:18;;;13090:30;-1:-1:-1;;;13136:18:1;;;13129:46;13192:18;;72965:39:0::1;12876:340:1::0;72965:39:0::1;1934:6:::0;;-1:-1:-1;;;;;1934:6:0;73019:10:::1;:21;73015:240;;73125:10;73112:24;::::0;;;:12:::1;:24;::::0;;;;;73093:16:::1;::::0;:43:::1;::::0;73112:24;-1:-1:-1;;;73093:16:0;::::1;;;:43;:::i;:::-;73083:6;:53;;73057:143;;;::::0;-1:-1:-1;;;73057:143:0;;13553:2:1;73057:143:0::1;::::0;::::1;13535:21:1::0;13592:2;13572:18;;;13565:30;13631;13611:18;;;13604:58;13679:18;;73057:143:0::1;13351:352:1::0;73057:143:0::1;73224:6;::::0;-1:-1:-1;;;73224:6:0;::::1;;;73223:7;73215:28;;;::::0;-1:-1:-1;;;73215:28:0;;13910:2:1;73215:28:0::1;::::0;::::1;13892:21:1::0;13949:1;13929:18;;;13922:29;-1:-1:-1;;;13967:18:1;;;13960:38;14015:18;;73215:28:0::1;13708:331:1::0;73215:28:0::1;73278:10;73265:24;::::0;;;:12:::1;:24;::::0;;;;:34;;73293:6;;73265:24;:34:::1;::::0;73293:6;;73265:34:::1;:::i;:::-;::::0;;;-1:-1:-1;73310:29:0::1;::::0;-1:-1:-1;73320:10:0::1;73332:6:::0;73310:9:::1;:29::i;45352:185::-:0;45490:39;45507:4;45513:2;45517:7;45490:39;;;;;;;;;;;;:16;:39::i;:::-;45352:185;;;:::o;73959:172::-;1934:6;;-1:-1:-1;;;;;1934:6:0;680:10;2081:23;2073:68;;;;-1:-1:-1;;;2073:68:0;;;;;;;:::i;:::-;74072:51:::1;74089:8;74099:9;74110:12;74072:16;:51::i;65406:528::-:0;65550:23;65641:8;65616:22;65641:8;65708:36;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;65708:36:0;;-1:-1:-1;;65708:36:0;;;;;;;;;;;;65671:73;;65764:9;65759:125;65780:14;65775:1;:19;65759:125;;65836:32;65856:8;;65865:1;65856:11;;;;;;;:::i;:::-;;;;;;;65836:19;:32::i;:::-;65820:10;65831:1;65820:13;;;;;;;;:::i;:::-;;;;;;;;;;:48;65796:3;;65759:125;;;-1:-1:-1;65905:10:0;65406:528;-1:-1:-1;;;;65406:528:0:o;33642:152::-;33714:7;33757:27;33776:7;33757:18;:27::i;29184:233::-;29256:7;-1:-1:-1;;;;;29280:19:0;;29276:60;;29308:28;;-1:-1:-1;;;29308:28:0;;;;;;;;;;;29276:60;-1:-1:-1;;;;;;29354:25:0;;;;;:18;:25;;;;;;23343:13;29354:55;;29184:233::o;2512:103::-;1934:6;;-1:-1:-1;;;;;1934:6:0;680:10;2081:23;2073:68;;;;-1:-1:-1;;;2073:68:0;;;;;;;:::i;:::-;2577:30:::1;2604:1;2577:18;:30::i;:::-;2512:103::o:0;69282:898::-;69358:16;69412:19;69446:25;69486:22;69511:16;69521:5;69511:9;:16::i;:::-;69486:41;;69542:25;69584:14;69570:29;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;69570:29:0;;69542:57;;69614:31;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;69614:31:0;71315:1;69660:472;69709:14;69694:11;:29;69660:472;;69761:15;69774:1;69761:12;:15::i;:::-;69749:27;;69799:9;:16;;;69840:8;69795:73;69890:14;;-1:-1:-1;;;;;69890:28:0;;69886:111;;69963:14;;;-1:-1:-1;69886:111:0;70040:5;-1:-1:-1;;;;;70019:26:0;:17;-1:-1:-1;;;;;70019:26:0;;70015:102;;70096:1;70070:8;70079:13;;;;;;70070:23;;;;;;;;:::i;:::-;;;;;;:27;;;;;70015:102;69725:3;;69660:472;;;-1:-1:-1;70153:8:0;;69282:898;-1:-1:-1;;;;;;69282:898:0:o;72280:107::-;1934:6;;-1:-1:-1;;;;;1934:6:0;680:10;2081:23;2073:68;;;;-1:-1:-1;;;2073:68:0;;;;;;;:::i;:::-;72357:22;;::::1;::::0;:12:::1;::::0;:22:::1;::::0;::::1;::::0;::::1;:::i;32425:104::-:0;32481:13;32514:7;32507:14;;;;;:::i;66322:2513::-;66465:16;66532:4;66523:5;:13;66519:45;;66545:19;;-1:-1:-1;;;66545:19:0;;;;;;;;;;;66519:45;66579:19;66613:17;66633:14;27742:7;27769:13;;27687:103;66633:14;66613:34;-1:-1:-1;71315:1:0;66725:5;:23;66721:87;;;71315:1;66769:23;;66721:87;66884:9;66877:4;:16;66873:73;;;66921:9;66914:16;;66873:73;66960:25;66988:16;66998:5;66988:9;:16::i;:::-;66960:44;;67182:4;67174:5;:12;67170:278;;;67229:12;;;67264:31;;;67260:111;;;67340:11;67320:31;;67260:111;67188:198;67170:278;;;-1:-1:-1;67431:1:0;67170:278;67462:25;67504:17;67490:32;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;67490:32:0;;67462:60;;67541:17;67562:1;67541:22;67537:78;;67591:8;-1:-1:-1;67584:15:0;;-1:-1:-1;;;67584:15:0;67537:78;67759:31;67793:26;67813:5;67793:19;:26::i;:::-;67759:60;;67834:25;68079:9;:16;;;68074:92;;-1:-1:-1;68136:14:0;;68074:92;68197:5;68180:478;68209:4;68204:1;:9;;:45;;;;;68232:17;68217:11;:32;;68204:45;68180:478;;;68287:15;68300:1;68287:12;:15::i;:::-;68275:27;;68325:9;:16;;;68366:8;68321:73;68416:14;;-1:-1:-1;;;;;68416:28:0;;68412:111;;68489:14;;;-1:-1:-1;68412:111:0;68566:5;-1:-1:-1;;;;;68545:26:0;:17;-1:-1:-1;;;;;68545:26:0;;68541:102;;68622:1;68596:8;68605:13;;;;;;68596:23;;;;;;;;:::i;:::-;;;;;;:27;;;;;68541:102;68251:3;;68180:478;;;-1:-1:-1;;;68743:29:0;;;-1:-1:-1;68750:8:0;;-1:-1:-1;;66322:2513:0;;;;;;:::o;72066:100::-;1934:6;;-1:-1:-1;;;;;1934:6:0;680:10;2081:23;2073:68;;;;-1:-1:-1;;;2073:68:0;;;;;;;:::i;:::-;72140:18;;::::1;::::0;:7:::1;::::0;:18:::1;::::0;::::1;::::0;::::1;:::i;73469:326::-:0;1934:6;;73582:21;;-1:-1:-1;;;;;1934:6:0;680:10;2081:23;2073:68;;;;-1:-1:-1;;;2073:68:0;;;;;;;:::i;:::-;73621:25:::1;73649:23;73663:8;73649:13;:23::i;:::-;73621:51;;73688:9;73683:105;73707:8;:15;73703:1;:19;73683:105;;;73755:21;73764:8;73773:1;73764:11;;;;;;;;:::i;:::-;;;;;;;73755:8;:21::i;:::-;73744:5;73750:1;73744:8;;;;;;;;:::i;:::-;;;;;;:32;;;;73724:3;;;;;:::i;:::-;;;;73683:105;;;;73610:185;73469:326:::0;;;:::o;39290:308::-;680:10;-1:-1:-1;;;;;39389:31:0;;;39385:61;;39429:17;;-1:-1:-1;;;39429:17:0;;;;;;;;;;;39385:61;680:10;39459:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;39459:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;39459:60:0;;;;;;;;;;39535:55;;540:41:1;;;39459:49:0;;680:10;39535:55;;513:18:1;39535:55:0;;;;;;;39290:308;;:::o;71686:71::-;1934:6;;-1:-1:-1;;;;;1934:6:0;680:10;2081:23;2073:68;;;;-1:-1:-1;;;2073:68:0;;;;;;;:::i;:::-;71734:8:::1;:15:::0;;-1:-1:-1;;;;71734:15:0::1;-1:-1:-1::0;;;71734:15:0::1;::::0;;71686:71::o;46135:399::-;46302:31;46315:4;46321:2;46325:7;46302:12;:31::i;:::-;-1:-1:-1;;;;;46348:14:0;;;:19;46344:183;;46387:56;46418:4;46424:2;46428:7;46437:5;46387:30;:56::i;:::-;46382:145;;46471:40;;-1:-1:-1;;;46471:40:0;;;;;;;;;;;46382:145;46135:399;;;;:::o;71765:84::-;1934:6;;-1:-1:-1;;;;;1934:6:0;680:10;2081:23;2073:68;;;;-1:-1:-1;;;2073:68:0;;;;;;;:::i;:::-;71826:6:::1;:15:::0;;;::::1;;-1:-1:-1::0;;;71826:15:0::1;-1:-1:-1::0;;;;71826:15:0;;::::1;::::0;;;::::1;::::0;;71765:84::o;64819:428::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;71315:1:0;64983:7;:25;:54;;;-1:-1:-1;27742:7:0;27769:13;65012:7;:25;;64983:54;64979:103;;;65061:9;64819:428;-1:-1:-1;;64819:428:0:o;64979:103::-;65104:21;65117:7;65104:12;:21::i;:::-;65092:33;;65140:9;:16;;;65136:65;;;65180:9;64819:428;-1:-1:-1;;64819:428:0:o;65136:65::-;65218:21;65231:7;65218:12;:21::i;72395:482::-;72532:13;72568:16;72576:7;72568;:16::i;:::-;72563:59;;72593:29;;-1:-1:-1;;;72593:29:0;;;;;;;;;;;72563:59;72635:21;72659:10;:8;:10::i;:::-;72700:8;;72635:34;;-1:-1:-1;;;;72700:8:0;;;;:169;;72856:13;72700:169;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;72774:7;72783:18;72793:7;72783:9;:18::i;:::-;72803:13;72757:60;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;72680:189;72395:482;-1:-1:-1;;;72395:482:0:o;73355:106::-;1934:6;;-1:-1:-1;;;;;1934:6:0;680:10;2081:23;2073:68;;;;-1:-1:-1;;;2073:68:0;;;;;;;:::i;:::-;73431:22:::1;73441:2;73445:7;73431:9;:22::i;72174:98::-:0;72219:13;72252:12;72245:19;;;;;:::i;2770:201::-;1934:6;;-1:-1:-1;;;;;1934:6:0;680:10;2081:23;2073:68;;;;-1:-1:-1;;;2073:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;2859:22:0;::::1;2851:73;;;::::0;-1:-1:-1;;;2851:73:0;;16176:2:1;2851:73:0::1;::::0;::::1;16158:21:1::0;16215:2;16195:18;;;16188:30;16254:34;16234:18;;;16227:62;-1:-1:-1;;;16305:18:1;;;16298:36;16351:19;;2851:73:0::1;15974:402:1::0;2851:73:0::1;2935:28;2954:8;2935:18;:28::i;:::-;2770:201:::0;:::o;7538:215::-;7640:4;-1:-1:-1;;;;;;7664:41:0;;-1:-1:-1;;;7664:41:0;;:81;;-1:-1:-1;;;;;;;;;;6112:40:0;;;7709:36;6003:157;8900:332;8616:5;-1:-1:-1;;;;;9003:33:0;;;;8995:88;;;;-1:-1:-1;;;8995:88:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;9102:22:0;;9094:60;;;;-1:-1:-1;;;9094:60:0;;16994:2:1;9094:60:0;;;16976:21:1;17033:2;17013:18;;;17006:30;17072:27;17052:18;;;17045:55;17117:18;;9094:60:0;16792:349:1;9094:60:0;9189:35;;;;;;;;;-1:-1:-1;;;;;9189:35:0;;;;;;-1:-1:-1;;;;;9189:35:0;;;;;;;;;;-1:-1:-1;;;9167:57:0;;;;:19;:57;8900:332::o;40177:282::-;40242:4;40298:7;71315:1;40279:26;;:66;;;;;40332:13;;40322:7;:23;40279:66;:153;;;;-1:-1:-1;;40383:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;40383:44:0;:49;;40177:282::o;34797:1275::-;34864:7;34899;;71315:1;34948:23;34944:1061;;35001:13;;34994:4;:20;34990:1015;;;35039:14;35056:23;;;:17;:23;;;;;;;-1:-1:-1;;;35145:24:0;;:29;;35141:845;;35810:113;35817:6;35827:1;35817:11;35810:113;;-1:-1:-1;;;35888:6:0;35870:25;;;;:17;:25;;;;;;35810:113;;35141:845;35016:989;34990:1015;36033:31;;-1:-1:-1;;;36033:31:0;;;;;;;;;;;55775:112;55852:27;55862:2;55866:8;55852:27;;;;;;;;;;;;:9;:27::i;9727:390::-;8616:5;-1:-1:-1;;;;;9879:33:0;;;;9871:88;;;;-1:-1:-1;;;9871:88:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;9978:22:0;;9970:62;;;;-1:-1:-1;;;9970:62:0;;17348:2:1;9970:62:0;;;17330:21:1;17387:2;17367:18;;;17360:30;17426:29;17406:18;;;17399:57;17473:18;;9970:62:0;17146:351:1;9970:62:0;10074:35;;;;;;;;-1:-1:-1;;;;;10074:35:0;;;;;-1:-1:-1;;;;;10074:35:0;;;;;;;;;;-1:-1:-1;10045:26:0;;;:17;:26;;;;;;:64;;;;;;;-1:-1:-1;;;10045:64:0;;;;;;9727:390::o;3131:191::-;3224:6;;;-1:-1:-1;;;;;3241:17:0;;;-1:-1:-1;;;;;;3241:17:0;;;;;;;3274:40;;3224:6;;;3241:17;3224:6;;3274:40;;3205:16;;3274:40;3194:128;3131:191;:::o;34245:161::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34373:24:0;;;;:17;:24;;;;;;34354:44;;:18;:44::i;48618:716::-;48802:88;;-1:-1:-1;;;48802:88:0;;48781:4;;-1:-1:-1;;;;;48802:45:0;;;;;:88;;680:10;;48869:4;;48875:7;;48884:5;;48802:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;48802:88:0;;;;;;;;-1:-1:-1;;48802:88:0;;;;;;;;;;;;:::i;:::-;;;48798:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49085:6;:13;49102:1;49085:18;49081:235;;49131:40;;-1:-1:-1;;;49131:40:0;;;;;;;;;;;49081:235;49274:6;49268:13;49259:6;49255:2;49251:15;49244:38;48798:529;-1:-1:-1;;;;;;48961:64:0;-1:-1:-1;;;48961:64:0;;-1:-1:-1;48798:529:0;48618:716;;;;;;:::o;33983:166::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34094:47:0;34113:27;34132:7;34113:18;:27::i;:::-;34094:18;:47::i;71950:108::-;72010:13;72043:7;72036:14;;;;;:::i;62150:1581::-;62633:4;62627:11;;62640:4;62623:22;62719:17;;;;62623:22;63077:5;63059:428;63125:1;63120:3;63116:11;63109:18;;63296:2;63290:4;63286:13;63282:2;63278:22;63273:3;63265:36;63390:2;63380:13;;63447:25;63059:428;63447:25;-1:-1:-1;63517:13:0;;;-1:-1:-1;;63632:14:0;;;63694:19;;;63632:14;62150:1581;-1:-1:-1;62150:1581:0:o;55002:689::-;55133:19;55139:2;55143:8;55133:5;:19::i;:::-;-1:-1:-1;;;;;55194:14:0;;;:19;55190:483;;55234:11;55248:13;55296:14;;;55329:233;55360:62;55399:1;55403:2;55407:7;;;;;;55416:5;55360:30;:62::i;:::-;55355:167;;55458:40;;-1:-1:-1;;;55458:40:0;;;;;;;;;;;55355:167;55557:3;55549:5;:11;55329:233;;55644:3;55627:13;;:20;55623:34;;55649:8;;;55623:34;55215:458;;55002:689;;;:::o;36171:366::-;-1:-1:-1;;;;;;;;;;;;;36281:41:0;;;;24002:3;36367:33;;;36333:68;;-1:-1:-1;;;36333:68:0;-1:-1:-1;;;36431:24:0;;:29;;-1:-1:-1;;;36412:48:0;;;;24523:3;36500:28;;;;-1:-1:-1;;;36471:58:0;-1:-1:-1;36171:366:0:o;49796:2454::-;49869:20;49892:13;;;49920;;;49916:44;;49942:18;;-1:-1:-1;;;49942:18:0;;;;;;;;;;;49916:44;-1:-1:-1;;;;;50448:22:0;;;;;;:18;:22;;;;23481:2;50448:22;;;:71;;50486:32;50474:45;;50448:71;;;50762:31;;;:17;:31;;;;;-1:-1:-1;37462:15:0;;37436:24;37432:46;37031:11;37006:23;37002:41;36999:52;36989:63;;50762:173;;50997:23;;;;50762:31;;50448:22;;51496:25;50448:22;;51349:335;51764:1;51750:12;51746:20;51704:346;51805:3;51796:7;51793:16;51704:346;;52023:7;52013:8;52010:1;51983:25;51980:1;51977;51972:59;51858:1;51845:15;51704:346;;;51708:77;52083:8;52095:1;52083:13;52079:45;;52105:19;;-1:-1:-1;;;52105:19:0;;;;;;;;;;;52079:45;52141:13;:19;-1:-1:-1;45352:185:0;;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:131:1;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:173::-;660:20;;-1:-1:-1;;;;;709:31:1;;699:42;;689:70;;755:1;752;745:12;689:70;592:173;;;:::o;770:179::-;837:20;;-1:-1:-1;;;;;886:38:1;;876:49;;866:77;;939:1;936;929:12;954:258;1021:6;1029;1082:2;1070:9;1061:7;1057:23;1053:32;1050:52;;;1098:1;1095;1088:12;1050:52;1121:29;1140:9;1121:29;:::i;:::-;1111:39;;1169:37;1202:2;1191:9;1187:18;1169:37;:::i;:::-;1159:47;;954:258;;;;;:::o;1217:::-;1289:1;1299:113;1313:6;1310:1;1307:13;1299:113;;;1389:11;;;1383:18;1370:11;;;1363:39;1335:2;1328:10;1299:113;;;1430:6;1427:1;1424:13;1421:48;;;-1:-1:-1;;1465:1:1;1447:16;;1440:27;1217:258::o;1480:::-;1522:3;1560:5;1554:12;1587:6;1582:3;1575:19;1603:63;1659:6;1652:4;1647:3;1643:14;1636:4;1629:5;1625:16;1603:63;:::i;:::-;1720:2;1699:15;-1:-1:-1;;1695:29:1;1686:39;;;;1727:4;1682:50;;1480:258;-1:-1:-1;;1480:258:1:o;1743:220::-;1892:2;1881:9;1874:21;1855:4;1912:45;1953:2;1942:9;1938:18;1930:6;1912:45;:::i;1968:180::-;2027:6;2080:2;2068:9;2059:7;2055:23;2051:32;2048:52;;;2096:1;2093;2086:12;2048:52;-1:-1:-1;2119:23:1;;1968:180;-1:-1:-1;1968:180:1:o;2361:254::-;2429:6;2437;2490:2;2478:9;2469:7;2465:23;2461:32;2458:52;;;2506:1;2503;2496:12;2458:52;2529:29;2548:9;2529:29;:::i;:::-;2519:39;2605:2;2590:18;;;;2577:32;;-1:-1:-1;;;2361:254:1:o;3021:328::-;3098:6;3106;3114;3167:2;3155:9;3146:7;3142:23;3138:32;3135:52;;;3183:1;3180;3173:12;3135:52;3206:29;3225:9;3206:29;:::i;:::-;3196:39;;3254:38;3288:2;3277:9;3273:18;3254:38;:::i;:::-;3244:48;;3339:2;3328:9;3324:18;3311:32;3301:42;;3021:328;;;;;:::o;3354:248::-;3422:6;3430;3483:2;3471:9;3462:7;3458:23;3454:32;3451:52;;;3499:1;3496;3489:12;3451:52;-1:-1:-1;;3522:23:1;;;3592:2;3577:18;;;3564:32;;-1:-1:-1;3354:248:1:o;3886:186::-;3945:6;3998:2;3986:9;3977:7;3973:23;3969:32;3966:52;;;4014:1;4011;4004:12;3966:52;4037:29;4056:9;4037:29;:::i;4077:326::-;4153:6;4161;4169;4222:2;4210:9;4201:7;4197:23;4193:32;4190:52;;;4238:1;4235;4228:12;4190:52;4274:9;4261:23;4251:33;;4303:38;4337:2;4326:9;4322:18;4303:38;:::i;:::-;4293:48;;4360:37;4393:2;4382:9;4378:18;4360:37;:::i;:::-;4350:47;;4077:326;;;;;:::o;4408:615::-;4494:6;4502;4555:2;4543:9;4534:7;4530:23;4526:32;4523:52;;;4571:1;4568;4561:12;4523:52;4611:9;4598:23;4640:18;4681:2;4673:6;4670:14;4667:34;;;4697:1;4694;4687:12;4667:34;4735:6;4724:9;4720:22;4710:32;;4780:7;4773:4;4769:2;4765:13;4761:27;4751:55;;4802:1;4799;4792:12;4751:55;4842:2;4829:16;4868:2;4860:6;4857:14;4854:34;;;4884:1;4881;4874:12;4854:34;4937:7;4932:2;4922:6;4919:1;4915:14;4911:2;4907:23;4903:32;4900:45;4897:65;;;4958:1;4955;4948:12;4897:65;4989:2;4981:11;;;;;5011:6;;-1:-1:-1;4408:615:1;;-1:-1:-1;;;;4408:615:1:o;5028:349::-;5112:12;;-1:-1:-1;;;;;5108:38:1;5096:51;;5200:4;5189:16;;;5183:23;5208:18;5179:48;5163:14;;;5156:72;5291:4;5280:16;;;5274:23;5267:31;5260:39;5244:14;;;5237:63;5353:4;5342:16;;;5336:23;5361:8;5332:38;5316:14;;5309:62;5028:349::o;5382:722::-;5615:2;5667:21;;;5737:13;;5640:18;;;5759:22;;;5586:4;;5615:2;5838:15;;;;5812:2;5797:18;;;5586:4;5881:197;5895:6;5892:1;5889:13;5881:197;;;5944:52;5992:3;5983:6;5977:13;5944:52;:::i;:::-;6053:15;;;;6025:4;6016:14;;;;;5917:1;5910:9;5881:197;;6109:632;6280:2;6332:21;;;6402:13;;6305:18;;;6424:22;;;6251:4;;6280:2;6503:15;;;;6477:2;6462:18;;;6251:4;6546:169;6560:6;6557:1;6554:13;6546:169;;;6621:13;;6609:26;;6690:15;;;;6655:12;;;;6582:1;6575:9;6546:169;;6943:127;7004:10;6999:3;6995:20;6992:1;6985:31;7035:4;7032:1;7025:15;7059:4;7056:1;7049:15;7075:632;7140:5;7170:18;7211:2;7203:6;7200:14;7197:40;;;7217:18;;:::i;:::-;7292:2;7286:9;7260:2;7346:15;;-1:-1:-1;;7342:24:1;;;7368:2;7338:33;7334:42;7322:55;;;7392:18;;;7412:22;;;7389:46;7386:72;;;7438:18;;:::i;:::-;7478:10;7474:2;7467:22;7507:6;7498:15;;7537:6;7529;7522:22;7577:3;7568:6;7563:3;7559:16;7556:25;7553:45;;;7594:1;7591;7584:12;7553:45;7644:6;7639:3;7632:4;7624:6;7620:17;7607:44;7699:1;7692:4;7683:6;7675;7671:19;7667:30;7660:41;;;;7075:632;;;;;:::o;7712:451::-;7781:6;7834:2;7822:9;7813:7;7809:23;7805:32;7802:52;;;7850:1;7847;7840:12;7802:52;7890:9;7877:23;7923:18;7915:6;7912:30;7909:50;;;7955:1;7952;7945:12;7909:50;7978:22;;8031:4;8023:13;;8019:27;-1:-1:-1;8009:55:1;;8060:1;8057;8050:12;8009:55;8083:74;8149:7;8144:2;8131:16;8126:2;8122;8118:11;8083:74;:::i;8168:322::-;8245:6;8253;8261;8314:2;8302:9;8293:7;8289:23;8285:32;8282:52;;;8330:1;8327;8320:12;8282:52;8353:29;8372:9;8353:29;:::i;:::-;8343:39;8429:2;8414:18;;8401:32;;-1:-1:-1;8480:2:1;8465:18;;;8452:32;;8168:322;-1:-1:-1;;;8168:322:1:o;8495:803::-;8657:4;8686:2;8726;8715:9;8711:18;8756:2;8745:9;8738:21;8779:6;8814;8808:13;8845:6;8837;8830:22;8883:2;8872:9;8868:18;8861:25;;8945:2;8935:6;8932:1;8928:14;8917:9;8913:30;8909:39;8895:53;;8983:2;8975:6;8971:15;9004:1;9014:255;9028:6;9025:1;9022:13;9014:255;;;9121:2;9117:7;9105:9;9097:6;9093:22;9089:36;9084:3;9077:49;9149:40;9182:6;9173;9167:13;9149:40;:::i;:::-;9139:50;-1:-1:-1;9247:12:1;;;;9212:15;;;;9050:1;9043:9;9014:255;;;-1:-1:-1;9286:6:1;;8495:803;-1:-1:-1;;;;;;;8495:803:1:o;9303:160::-;9368:20;;9424:13;;9417:21;9407:32;;9397:60;;9453:1;9450;9443:12;9468:254;9533:6;9541;9594:2;9582:9;9573:7;9569:23;9565:32;9562:52;;;9610:1;9607;9600:12;9562:52;9633:29;9652:9;9633:29;:::i;:::-;9623:39;;9681:35;9712:2;9701:9;9697:18;9681:35;:::i;9727:667::-;9822:6;9830;9838;9846;9899:3;9887:9;9878:7;9874:23;9870:33;9867:53;;;9916:1;9913;9906:12;9867:53;9939:29;9958:9;9939:29;:::i;:::-;9929:39;;9987:38;10021:2;10010:9;10006:18;9987:38;:::i;:::-;9977:48;;10072:2;10061:9;10057:18;10044:32;10034:42;;10127:2;10116:9;10112:18;10099:32;10154:18;10146:6;10143:30;10140:50;;;10186:1;10183;10176:12;10140:50;10209:22;;10262:4;10254:13;;10250:27;-1:-1:-1;10240:55:1;;10291:1;10288;10281:12;10240:55;10314:74;10380:7;10375:2;10362:16;10357:2;10353;10349:11;10314:74;:::i;:::-;10304:84;;;9727:667;;;;;;;:::o;10399:180::-;10455:6;10508:2;10496:9;10487:7;10483:23;10479:32;10476:52;;;10524:1;10521;10514:12;10476:52;10547:26;10563:9;10547:26;:::i;10584:266::-;10780:3;10765:19;;10793:51;10769:9;10826:6;10793:51;:::i;10855:260::-;10923:6;10931;10984:2;10972:9;10963:7;10959:23;10955:32;10952:52;;;11000:1;10997;10990:12;10952:52;11023:29;11042:9;11023:29;:::i;:::-;11013:39;;11071:38;11105:2;11094:9;11090:18;11071:38;:::i;11120:356::-;11322:2;11304:21;;;11341:18;;;11334:30;11400:34;11395:2;11380:18;;11373:62;11467:2;11452:18;;11120:356::o;11481:380::-;11560:1;11556:12;;;;11603;;;11624:61;;11678:4;11670:6;11666:17;11656:27;;11624:61;11731:2;11723:6;11720:14;11700:18;11697:38;11694:161;;11777:10;11772:3;11768:20;11765:1;11758:31;11812:4;11809:1;11802:15;11840:4;11837:1;11830:15;11694:161;;11481:380;;;:::o;11866:127::-;11927:10;11922:3;11918:20;11915:1;11908:31;11958:4;11955:1;11948:15;11982:4;11979:1;11972:15;11998:168;12038:7;12104:1;12100;12096:6;12092:14;12089:1;12086:21;12081:1;12074:9;12067:17;12063:45;12060:71;;;12111:18;;:::i;:::-;-1:-1:-1;12151:9:1;;11998:168::o;12171:217::-;12211:1;12237;12227:132;;12281:10;12276:3;12272:20;12269:1;12262:31;12316:4;12313:1;12306:15;12344:4;12341:1;12334:15;12227:132;-1:-1:-1;12373:9:1;;12171:217::o;12393:128::-;12433:3;12464:1;12460:6;12457:1;12454:13;12451:39;;;12470:18;;:::i;:::-;-1:-1:-1;12506:9:1;;12393:128::o;13221:125::-;13261:4;13289:1;13286;13283:8;13280:34;;;13294:18;;:::i;:::-;-1:-1:-1;13331:9:1;;13221:125::o;14044:127::-;14105:10;14100:3;14096:20;14093:1;14086:31;14136:4;14133:1;14126:15;14160:4;14157:1;14150:15;14176:135;14215:3;14236:17;;;14233:43;;14256:18;;:::i;:::-;-1:-1:-1;14303:1:1;14292:13;;14176:135::o;14442:1527::-;14666:3;14704:6;14698:13;14730:4;14743:51;14787:6;14782:3;14777:2;14769:6;14765:15;14743:51;:::i;:::-;14857:13;;14816:16;;;;14879:55;14857:13;14816:16;14901:15;;;14879:55;:::i;:::-;15023:13;;14956:20;;;14996:1;;15083;15105:18;;;;15158;;;;15185:93;;15263:4;15253:8;15249:19;15237:31;;15185:93;15326:2;15316:8;15313:16;15293:18;15290:40;15287:167;;-1:-1:-1;;;15353:33:1;;15409:4;15406:1;15399:15;15439:4;15360:3;15427:17;15287:167;15470:18;15497:110;;;;15621:1;15616:328;;;;15463:481;;15497:110;-1:-1:-1;;15532:24:1;;15518:39;;15577:20;;;;-1:-1:-1;15497:110:1;;15616:328;14389:1;14382:14;;;14426:4;14413:18;;15711:1;15725:169;15739:8;15736:1;15733:15;15725:169;;;15821:14;;15806:13;;;15799:37;15864:16;;;;15756:10;;15725:169;;;15729:3;;15925:8;15918:5;15914:20;15907:27;;15463:481;-1:-1:-1;15960:3:1;;14442:1527;-1:-1:-1;;;;;;;;;;;14442:1527:1:o;16381:406::-;16583:2;16565:21;;;16622:2;16602:18;;;16595:30;16661:34;16656:2;16641:18;;16634:62;-1:-1:-1;;;16727:2:1;16712:18;;16705:40;16777:3;16762:19;;16381:406::o;17502:489::-;-1:-1:-1;;;;;17771:15:1;;;17753:34;;17823:15;;17818:2;17803:18;;17796:43;17870:2;17855:18;;17848:34;;;17918:3;17913:2;17898:18;;17891:31;;;17696:4;;17939:46;;17965:19;;17957:6;17939:46;:::i;:::-;17931:54;17502:489;-1:-1:-1;;;;;;17502:489:1:o;17996:249::-;18065:6;18118:2;18106:9;18097:7;18093:23;18089:32;18086:52;;;18134:1;18131;18124:12;18086:52;18166:9;18160:16;18185:30;18209:5;18185:30;:::i
Swarm Source
ipfs://ccfe8ada93d5f1429aaf12241494da4707a688da70dcf5548ff7c6368921cafd
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.