Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
2,854 BELLA
Holders
1,162
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
2 BELLALoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Bella
Compiler Version
v0.8.14+commit.80d49f37
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-06-24 */ // SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); } // File @openzeppelin/contracts/interfaces/[email protected] // OpenZeppelin Contracts (last updated v4.6.0) (interfaces/IERC2981.sol) pragma solidity ^0.8.0; /** * @dev Interface for the NFT Royalty Standard. * * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal * support for royalty payments across all NFT marketplaces and ecosystem participants. * * _Available since v4.5._ */ interface IERC2981 is IERC165 { /** * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of * exchange. The royalty amount is denominated and should be paid in that same unit of exchange. */ function royaltyInfo(uint256 tokenId, uint256 salePrice) external view returns (address receiver, uint256 royaltyAmount); } // File @openzeppelin/contracts/utils/introspection/[email protected] // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } } // File @openzeppelin/contracts/token/common/[email protected] // OpenZeppelin Contracts (last updated v4.6.0) (token/common/ERC2981.sol) pragma solidity ^0.8.0; /** * @dev Implementation of the NFT Royalty Standard, a standardized way to retrieve royalty payment information. * * Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for * specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first. * * Royalty is specified as a fraction of sale price. {_feeDenominator} is overridable but defaults to 10000, meaning the * fee is specified in basis points by default. * * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported. * * _Available since v4.5._ */ abstract contract ERC2981 is IERC2981, ERC165 { struct RoyaltyInfo { address receiver; uint96 royaltyFraction; } RoyaltyInfo private _defaultRoyaltyInfo; mapping(uint256 => RoyaltyInfo) private _tokenRoyaltyInfo; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC165) returns (bool) { return interfaceId == type(IERC2981).interfaceId || super.supportsInterface(interfaceId); } /** * @inheritdoc IERC2981 */ function royaltyInfo(uint256 _tokenId, uint256 _salePrice) public view virtual override returns (address, uint256) { RoyaltyInfo memory royalty = _tokenRoyaltyInfo[_tokenId]; if (royalty.receiver == address(0)) { royalty = _defaultRoyaltyInfo; } uint256 royaltyAmount = (_salePrice * royalty.royaltyFraction) / _feeDenominator(); return (royalty.receiver, royaltyAmount); } /** * @dev The denominator with which to interpret the fee set in {_setTokenRoyalty} and {_setDefaultRoyalty} as a * fraction of the sale price. Defaults to 10000 so fees are expressed in basis points, but may be customized by an * override. */ function _feeDenominator() internal pure virtual returns (uint96) { return 10000; } /** * @dev Sets the royalty information that all ids in this contract will default to. * * Requirements: * * - `receiver` cannot be the zero address. * - `feeNumerator` cannot be greater than the fee denominator. */ function _setDefaultRoyalty(address receiver, uint96 feeNumerator) internal virtual { require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice"); require(receiver != address(0), "ERC2981: invalid receiver"); _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator); } /** * @dev Removes default royalty information. */ function _deleteDefaultRoyalty() internal virtual { delete _defaultRoyaltyInfo; } /** * @dev Sets the royalty information for a specific token id, overriding the global default. * * Requirements: * * - `tokenId` must be already minted. * - `receiver` cannot be the zero address. * - `feeNumerator` cannot be greater than the fee denominator. */ function _setTokenRoyalty( uint256 tokenId, address receiver, uint96 feeNumerator ) internal virtual { require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice"); require(receiver != address(0), "ERC2981: Invalid parameters"); _tokenRoyaltyInfo[tokenId] = RoyaltyInfo(receiver, feeNumerator); } /** * @dev Resets royalty information for the token id back to the global default. */ function _resetTokenRoyalty(uint256 tokenId) internal virtual { delete _tokenRoyaltyInfo[tokenId]; } } // File @openzeppelin/contracts/utils/[email protected] // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // File @openzeppelin/contracts/access/[email protected] // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } // File erc721a/contracts/[email protected] // ERC721A Contracts v4.1.0 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of an ERC721A compliant contract. */ interface IERC721A { /** * The caller must own the token or be an approved operator. */ error ApprovalCallerNotOwnerNorApproved(); /** * The token does not exist. */ error ApprovalQueryForNonexistentToken(); /** * The caller cannot approve to their own address. */ error ApproveToCaller(); /** * Cannot query the balance for the zero address. */ error BalanceQueryForZeroAddress(); /** * Cannot mint to the zero address. */ error MintToZeroAddress(); /** * The quantity of tokens minted must be more than zero. */ error MintZeroQuantity(); /** * The token does not exist. */ error OwnerQueryForNonexistentToken(); /** * The caller must own the token or be an approved operator. */ error TransferCallerNotOwnerNorApproved(); /** * The token must be owned by `from`. */ error TransferFromIncorrectOwner(); /** * Cannot safely transfer to a contract that does not implement the ERC721Receiver interface. */ error TransferToNonERC721ReceiverImplementer(); /** * Cannot transfer to the zero address. */ error TransferToZeroAddress(); /** * The token does not exist. */ error URIQueryForNonexistentToken(); /** * The `quantity` minted with ERC2309 exceeds the safety limit. */ error MintERC2309QuantityExceedsLimit(); /** * The `extraData` cannot be set on an unintialized ownership slot. */ error OwnershipNotInitializedForExtraData(); struct TokenOwnership { // The address of the owner. address addr; // Keeps track of the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; // Arbitrary data similar to `startTimestamp` that can be set through `_extraData`. uint24 extraData; } /** * @dev Returns the total amount of tokens stored by the contract. * * Burned tokens are calculated here, use `_totalMinted()` if you want to count just minted tokens. */ function totalSupply() external view returns (uint256); // ============================== // IERC165 // ============================== /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); // ============================== // IERC721 // ============================== /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); // ============================== // IERC721Metadata // ============================== /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); // ============================== // IERC2309 // ============================== /** * @dev Emitted when tokens in `fromTokenId` to `toTokenId` (inclusive) is transferred from `from` to `to`, * as defined in the ERC2309 standard. See `_mintERC2309` for more details. */ event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to); } // File erc721a/contracts/[email protected] // ERC721A Contracts v4.1.0 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev ERC721 token receiver interface. */ interface ERC721A__IERC721Receiver { function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, * including the Metadata extension. Built to optimize for lower gas during batch mints. * * Assumes serials are sequentially minted starting at `_startTokenId()` * (defaults to 0, e.g. 0, 1, 2, 3..). * * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is IERC721A { // Mask of an entry in packed address data. uint256 private constant BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1; // The bit position of `numberMinted` in packed address data. uint256 private constant BITPOS_NUMBER_MINTED = 64; // The bit position of `numberBurned` in packed address data. uint256 private constant BITPOS_NUMBER_BURNED = 128; // The bit position of `aux` in packed address data. uint256 private constant BITPOS_AUX = 192; // Mask of all 256 bits in packed address data except the 64 bits for `aux`. uint256 private constant BITMASK_AUX_COMPLEMENT = (1 << 192) - 1; // The bit position of `startTimestamp` in packed ownership. uint256 private constant BITPOS_START_TIMESTAMP = 160; // The bit mask of the `burned` bit in packed ownership. uint256 private constant BITMASK_BURNED = 1 << 224; // The bit position of the `nextInitialized` bit in packed ownership. uint256 private constant BITPOS_NEXT_INITIALIZED = 225; // The bit mask of the `nextInitialized` bit in packed ownership. uint256 private constant BITMASK_NEXT_INITIALIZED = 1 << 225; // The bit position of `extraData` in packed ownership. uint256 private constant BITPOS_EXTRA_DATA = 232; // Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`. uint256 private constant BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1; // The mask of the lower 160 bits for addresses. uint256 private constant BITMASK_ADDRESS = (1 << 160) - 1; // The maximum `quantity` that can be minted with `_mintERC2309`. // This limit is to prevent overflows on the address data entries. // For a limit of 5000, a total of 3.689e15 calls to `_mintERC2309` // is required to cause an overflow, which is unrealistic. uint256 private constant MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000; // The tokenId of the next token to be minted. uint256 private _currentIndex; // The number of tokens burned. uint256 private _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. // See `_packedOwnershipOf` implementation for details. // // Bits Layout: // - [0..159] `addr` // - [160..223] `startTimestamp` // - [224] `burned` // - [225] `nextInitialized` // - [232..255] `extraData` mapping(uint256 => uint256) private _packedOwnerships; // Mapping owner address to address data. // // Bits Layout: // - [0..63] `balance` // - [64..127] `numberMinted` // - [128..191] `numberBurned` // - [192..255] `aux` mapping(address => uint256) private _packedAddressData; // Mapping from token ID to approved address. mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } /** * @dev Returns the starting token ID. * To change the starting token ID, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Returns the next token ID to be minted. */ function _nextTokenId() internal view returns (uint256) { return _currentIndex; } /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see `_totalMinted`. */ function totalSupply() public view override returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than `_currentIndex - _startTokenId()` times. unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * @dev Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view returns (uint256) { // Counter underflow is impossible as _currentIndex does not decrement, // and it is initialized to `_startTokenId()` unchecked { return _currentIndex - _startTokenId(); } } /** * @dev Returns the total number of tokens burned. */ function _totalBurned() internal view returns (uint256) { return _burnCounter; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { // The interface IDs are constants representing the first 4 bytes of the XOR of // all function selectors in the interface. See: https://eips.ethereum.org/EIPS/eip-165 // e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)` return interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165. interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721. interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata. } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return _packedAddressData[owner] & BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> BITPOS_NUMBER_MINTED) & BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> BITPOS_NUMBER_BURNED) & BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return uint64(_packedAddressData[owner] >> BITPOS_AUX); } /** * Sets the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal { uint256 packed = _packedAddressData[owner]; uint256 auxCasted; // Cast `aux` with assembly to avoid redundant masking. assembly { auxCasted := aux } packed = (packed & BITMASK_AUX_COMPLEMENT) | (auxCasted << BITPOS_AUX); _packedAddressData[owner] = packed; } /** * Returns the packed ownership data of `tokenId`. */ function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr) if (curr < _currentIndex) { uint256 packed = _packedOwnerships[curr]; // If not burned. if (packed & BITMASK_BURNED == 0) { // Invariant: // There will always be an ownership that has an address and is not burned // before an ownership that does not have an address and is not burned. // Hence, curr will not underflow. // // We can directly compare the packed value. // If the address is zero, packed is zero. while (packed == 0) { packed = _packedOwnerships[--curr]; } return packed; } } } revert OwnerQueryForNonexistentToken(); } /** * Returns the unpacked `TokenOwnership` struct from `packed`. */ function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) { ownership.addr = address(uint160(packed)); ownership.startTimestamp = uint64(packed >> BITPOS_START_TIMESTAMP); ownership.burned = packed & BITMASK_BURNED != 0; ownership.extraData = uint24(packed >> BITPOS_EXTRA_DATA); } /** * Returns the unpacked `TokenOwnership` struct at `index`. */ function _ownershipAt(uint256 index) internal view returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnerships[index]); } /** * @dev Initializes the ownership slot minted at `index` for efficiency purposes. */ function _initializeOwnershipAt(uint256 index) internal { if (_packedOwnerships[index] == 0) { _packedOwnerships[index] = _packedOwnershipOf(index); } } /** * Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around in the collection over time. */ function _ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnershipOf(tokenId)); } /** * @dev Packs ownership data into a single uint256. */ function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, BITMASK_ADDRESS) // `owner | (block.timestamp << BITPOS_START_TIMESTAMP) | flags`. result := or(owner, or(shl(BITPOS_START_TIMESTAMP, timestamp()), flags)) } } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view override returns (address) { return address(uint160(_packedOwnershipOf(tokenId))); } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId))) : ''; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, it can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } /** * @dev Returns the `nextInitialized` flag set if `quantity` equals 1. */ function _nextInitializedFlag(uint256 quantity) private pure returns (uint256 result) { // For branchless setting of the `nextInitialized` flag. assembly { // `(quantity == 1) << BITPOS_NEXT_INITIALIZED`. result := shl(BITPOS_NEXT_INITIALIZED, eq(quantity, 1)) } } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public override { address owner = ownerOf(tokenId); if (_msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { revert ApprovalCallerNotOwnerNorApproved(); } _tokenApprovals[tokenId] = to; emit Approval(owner, to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { if (operator == _msgSenderERC721A()) revert ApproveToCaller(); _operatorApprovals[_msgSenderERC721A()][operator] = approved; emit ApprovalForAll(_msgSenderERC721A(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { transferFrom(from, to, tokenId); if (to.code.length != 0) if (!_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), */ function _exists(uint256 tokenId) internal view returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && // If within bounds, _packedOwnerships[tokenId] & BITMASK_BURNED == 0; // and not burned. } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal { _safeMint(to, quantity, ''); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * See {_mint}. * * Emits a {Transfer} event for each mint. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal { _mint(to, quantity); unchecked { if (to.code.length != 0) { uint256 end = _currentIndex; uint256 index = end - quantity; do { if (!_checkContractOnERC721Received(address(0), to, index++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (index < end); // Reentrancy protection. if (_currentIndex != end) revert(); } } } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event for each mint. */ function _mint(address to, uint256 quantity) internal { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // `balance` and `numberMinted` have a maximum limit of 2**64. // `tokenId` has a maximum limit of 2**256. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); uint256 tokenId = startTokenId; uint256 end = startTokenId + quantity; do { emit Transfer(address(0), to, tokenId++); } while (tokenId < end); _currentIndex = end; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * This function is intended for efficient minting only during contract creation. * * It emits only one {ConsecutiveTransfer} as defined in * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309), * instead of a sequence of {Transfer} event(s). * * Calling this function outside of contract creation WILL make your contract * non-compliant with the ERC721 standard. * For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309 * {ConsecutiveTransfer} event is only permissible during contract creation. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {ConsecutiveTransfer} event. */ function _mintERC2309(address to, uint256 quantity) internal { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); if (quantity > MAX_MINT_ERC2309_QUANTITY_LIMIT) revert MintERC2309QuantityExceedsLimit(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are unrealistic due to the above check for `quantity` to be below the limit. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); emit ConsecutiveTransfer(startTokenId, startTokenId + quantity - 1, address(0), to); _currentIndex = startTokenId + quantity; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Returns the storage slot and value for the approved address of `tokenId`. */ function _getApprovedAddress(uint256 tokenId) private view returns (uint256 approvedAddressSlot, address approvedAddress) { mapping(uint256 => address) storage tokenApprovalsPtr = _tokenApprovals; // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId]`. assembly { // Compute the slot. mstore(0x00, tokenId) mstore(0x20, tokenApprovalsPtr.slot) approvedAddressSlot := keccak256(0x00, 0x40) // Load the slot's value from storage. approvedAddress := sload(approvedAddressSlot) } } /** * @dev Returns whether the `approvedAddress` is equals to `from` or `msgSender`. */ function _isOwnerOrApproved( address approvedAddress, address from, address msgSender ) private pure returns (bool result) { assembly { // Mask `from` to the lower 160 bits, in case the upper bits somehow aren't clean. from := and(from, BITMASK_ADDRESS) // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean. msgSender := and(msgSender, BITMASK_ADDRESS) // `msgSender == from || msgSender == approvedAddress`. result := or(eq(msgSender, from), eq(msgSender, approvedAddress)) } } /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner(); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedAddress(tokenId); // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isOwnerOrApproved(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256. unchecked { // We can directly increment and decrement the balances. --_packedAddressData[from]; // Updates: `balance -= 1`. ++_packedAddressData[to]; // Updates: `balance += 1`. // Updates: // - `address` to the next owner. // - `startTimestamp` to the timestamp of transfering. // - `burned` to `false`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( to, BITMASK_NEXT_INITIALIZED | _nextExtraData(from, to, prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Equivalent to `_burn(tokenId, false)`. */ function _burn(uint256 tokenId) internal virtual { _burn(tokenId, false); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId, bool approvalCheck) internal virtual { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); address from = address(uint160(prevOwnershipPacked)); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedAddress(tokenId); if (approvalCheck) { // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isOwnerOrApproved(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // Updates: // - `balance -= 1`. // - `numberBurned += 1`. // // We can directly decrement the balance, and increment the number burned. // This is equivalent to `packed -= 1; packed += 1 << BITPOS_NUMBER_BURNED;`. _packedAddressData[from] += (1 << BITPOS_NUMBER_BURNED) - 1; // Updates: // - `address` to the last owner. // - `startTimestamp` to the timestamp of burning. // - `burned` to `true`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( from, (BITMASK_BURNED | BITMASK_NEXT_INITIALIZED) | _nextExtraData(from, address(0), prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns ( bytes4 retval ) { return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } /** * @dev Directly sets the extra data for the ownership data `index`. */ function _setExtraDataAt(uint256 index, uint24 extraData) internal { uint256 packed = _packedOwnerships[index]; if (packed == 0) revert OwnershipNotInitializedForExtraData(); uint256 extraDataCasted; // Cast `extraData` with assembly to avoid redundant masking. assembly { extraDataCasted := extraData } packed = (packed & BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << BITPOS_EXTRA_DATA); _packedOwnerships[index] = packed; } /** * @dev Returns the next extra data for the packed ownership data. * The returned result is shifted into position. */ function _nextExtraData( address from, address to, uint256 prevOwnershipPacked ) private view returns (uint256) { uint24 extraData = uint24(prevOwnershipPacked >> BITPOS_EXTRA_DATA); return uint256(_extraData(from, to, extraData)) << BITPOS_EXTRA_DATA; } /** * @dev Called during each token transfer to set the 24bit `extraData` field. * Intended to be overridden by the cosumer contract. * * `previousExtraData` - the value of `extraData` before transfer. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _extraData( address from, address to, uint24 previousExtraData ) internal view virtual returns (uint24) {} /** * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. * This includes minting. * And also called before burning one token. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token ids have been transferred. * This includes minting. * And also called after one token has been burned. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Returns the message sender (defaults to `msg.sender`). * * If you are writing GSN compatible contracts, you need to override this function. */ function _msgSenderERC721A() internal view virtual returns (address) { return msg.sender; } /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function _toString(uint256 value) internal pure returns (string memory ptr) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), // but we allocate 128 bytes to keep the free memory pointer 32-byte word aliged. // We will need 1 32-byte word to store the length, // and 3 32-byte words to store a maximum of 78 digits. Total: 32 + 3 * 32 = 128. ptr := add(mload(0x40), 128) // Update the free memory pointer to allocate. mstore(0x40, ptr) // Cache the end of the memory to calculate the length later. let end := ptr // We write the string from the rightmost digit to the leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // Costs a bit more than early returning for the zero case, // but cheaper in terms of deployment and overall runtime costs. for { // Initialize and perform the first pass without check. let temp := value // Move the pointer 1 byte leftwards to point to an empty character slot. ptr := sub(ptr, 1) // Write the character to the pointer. 48 is the ASCII index of '0'. mstore8(ptr, add(48, mod(temp, 10))) temp := div(temp, 10) } temp { // Keep dividing `temp` until zero. temp := div(temp, 10) } { // Body of the for loop. ptr := sub(ptr, 1) mstore8(ptr, add(48, mod(temp, 10))) } let length := sub(end, ptr) // Move the pointer 32 bytes leftwards to make room for the length. ptr := sub(ptr, 32) // Store the length. mstore(ptr, length) } } } // File @openzeppelin/contracts/utils/[email protected] // OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } // File @openzeppelin/contracts/utils/[email protected] // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } } // File @openzeppelin/contracts/token/ERC721/[email protected] // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); } // File contracts/Bella.sol pragma solidity ^0.8.9; contract Bella is ERC2981, ERC721A, Ownable { using Address for address payable; using Strings for uint256; event Winning(address minter, uint32 amount); bytes32 public immutable _lotterySalt; uint256 public immutable _price; uint32 public immutable _maxSupply; uint32 public immutable _randomFreeSupply; uint32 public immutable _instantFreeWalletLimit; uint32 public immutable _walletLimit; uint32 public immutable _mintLimit; address public immutable PAYMENT_ADDRESS; uint32 public _teamMinted; uint32 public _randomFreeMinted; uint32 public _instantFreeMinted; uint32 public _freeQuota; bool public _started = true; string public _metadataURI = "ipfs://QmQskPXK7jy4c3bcusQjUnJcmUGuQMgG1jiUwujhrrXzYo/"; struct Status { // config uint256 price; uint32 maxSupply; uint32 publicSupply; uint32 randomFreeSupply; uint32 instantFreeWalletLimit; uint32 walletLimit; // state uint32 publicMinted; uint32 instantFreeMintLeft; uint32 randomFreeMintLeft; uint32 userMinted; bool soldout; bool started; uint32 freeQuota; } constructor( uint256 price, uint32 maxSupply, uint32 randomFreeSupply, uint32 instantFreeWalletLimit, uint32 walletLimit, uint32 freeQuota, address paymentsAddress_ ) ERC721A("Bella", "BELLA") { require(maxSupply - freeQuota >= randomFreeSupply); _lotterySalt = keccak256(abi.encodePacked(address(this), block.timestamp)); _price = price; _maxSupply = maxSupply; _instantFreeWalletLimit = instantFreeWalletLimit; _randomFreeSupply = randomFreeSupply; _walletLimit = walletLimit; _freeQuota = freeQuota; PAYMENT_ADDRESS = paymentsAddress_; _mintLimit = 10; setFeeNumerator(750); } function mint(uint32 amount) external payable { require(_started, "Bella: Sale is not started"); require(amount <= _mintLimit, "Bella: Over limit per mint"); //total minted uint32 publicMinted = _publicMinted(); uint32 publicSupply = _maxSupply; require(amount + publicMinted <= _maxSupply, "Bella: Exceed max supply"); uint32 minted = uint32(_numberMinted(msg.sender)); require(amount + minted <= _walletLimit, "Bella: Exceed wallet limit"); uint32 instantFreeWalletLimit = _instantFreeWalletLimit; uint32 freeAmount = 0; if (minted < instantFreeWalletLimit && _freeQuota > 0) { uint32 freeWalletQuota = instantFreeWalletLimit - minted; freeWalletQuota = _freeQuota > freeWalletQuota ? freeWalletQuota : _freeQuota; freeAmount += freeWalletQuota > amount ? amount : freeWalletQuota; _freeQuota -= freeAmount; } // if (minted < instantFreeWalletLimit) { // uint32 quota = instantFreeWalletLimit - minted; // freeAmount += quota > amount ? amount : quota; // } uint32 enterLotteryAmount = amount - freeAmount; if (enterLotteryAmount > 0) { uint32 randomFreeAmount = 0; uint32 randomFreeMinted = _randomFreeMinted; uint32 quota = _randomFreeSupply - randomFreeMinted; if (quota > 0) { uint256 randomSeed = uint256(keccak256(abi.encodePacked( msg.sender, publicMinted, block.difficulty, _lotterySalt))); for (uint256 i = 0; i < enterLotteryAmount && quota > 0; ) { if (uint16((randomSeed & 0xFFFF) % publicSupply) < quota) { randomFreeAmount += 1; quota -= 1; } unchecked { i++; randomSeed = randomSeed >> 16; } } if (randomFreeAmount > 0) { freeAmount += randomFreeAmount; _randomFreeMinted += randomFreeAmount; emit Winning(msg.sender, randomFreeAmount); } } } uint256 requiredValue = (amount - freeAmount) * _price; require(msg.value >= requiredValue, "Bella: Insufficient fund"); _safeMint(msg.sender, amount); if (msg.value > requiredValue) { payable(msg.sender).sendValue(msg.value - requiredValue); } } function _publicMinted() public view returns (uint32) { return uint32(_totalMinted()) - _teamMinted; } function _status(address minter) external view returns (Status memory) { uint32 publicSupply = _maxSupply; uint32 publicMinted = uint32(ERC721A._totalMinted()) - _teamMinted; return Status({ // config price: _price, maxSupply: _maxSupply, publicSupply:publicSupply, randomFreeSupply: _randomFreeSupply, instantFreeWalletLimit: _instantFreeWalletLimit, walletLimit: _walletLimit, // state publicMinted: publicMinted, instantFreeMintLeft: _freeQuota, randomFreeMintLeft: _randomFreeSupply - _randomFreeMinted, soldout: publicMinted >= publicSupply, userMinted: uint32(_numberMinted(minter)), started: _started, freeQuota: _freeQuota }); } function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _metadataURI; return string(abi.encodePacked(baseURI, tokenId.toString(), ".json")); } function supportsInterface(bytes4 interfaceId) public view virtual override(ERC2981, ERC721A) returns (bool) { return interfaceId == type(IERC2981).interfaceId || interfaceId == type(IERC721).interfaceId || super.supportsInterface(interfaceId); } function devMint(address to, uint32 amount) external onlyOwner { _teamMinted += amount; require(_teamMinted <= _maxSupply, "Bella: Exceed max supply"); _safeMint(to, amount); } function setFeeNumerator(uint96 feeNumerator) public onlyOwner { _setDefaultRoyalty(owner(), feeNumerator); } function _startTokenId() internal pure override returns (uint) { return 1; } function setStarted(bool started) external onlyOwner { _started = started; } function setMetadataURI(string memory uri) external onlyOwner { _metadataURI = uri; } function withdraw() external onlyOwner { uint balance = address(this).balance; require(balance > 0, "No Balance"); payable(PAYMENT_ADDRESS).transfer(balance); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"uint256","name":"price","type":"uint256"},{"internalType":"uint32","name":"maxSupply","type":"uint32"},{"internalType":"uint32","name":"randomFreeSupply","type":"uint32"},{"internalType":"uint32","name":"instantFreeWalletLimit","type":"uint32"},{"internalType":"uint32","name":"walletLimit","type":"uint32"},{"internalType":"uint32","name":"freeQuota","type":"uint32"},{"internalType":"address","name":"paymentsAddress_","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"minter","type":"address"},{"indexed":false,"internalType":"uint32","name":"amount","type":"uint32"}],"name":"Winning","type":"event"},{"inputs":[],"name":"PAYMENT_ADDRESS","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_freeQuota","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_instantFreeMinted","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_instantFreeWalletLimit","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_lotterySalt","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_maxSupply","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_metadataURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_mintLimit","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_publicMinted","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_randomFreeMinted","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_randomFreeSupply","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_started","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"minter","type":"address"}],"name":"_status","outputs":[{"components":[{"internalType":"uint256","name":"price","type":"uint256"},{"internalType":"uint32","name":"maxSupply","type":"uint32"},{"internalType":"uint32","name":"publicSupply","type":"uint32"},{"internalType":"uint32","name":"randomFreeSupply","type":"uint32"},{"internalType":"uint32","name":"instantFreeWalletLimit","type":"uint32"},{"internalType":"uint32","name":"walletLimit","type":"uint32"},{"internalType":"uint32","name":"publicMinted","type":"uint32"},{"internalType":"uint32","name":"instantFreeMintLeft","type":"uint32"},{"internalType":"uint32","name":"randomFreeMintLeft","type":"uint32"},{"internalType":"uint32","name":"userMinted","type":"uint32"},{"internalType":"bool","name":"soldout","type":"bool"},{"internalType":"bool","name":"started","type":"bool"},{"internalType":"uint32","name":"freeQuota","type":"uint32"}],"internalType":"struct Bella.Status","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_teamMinted","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_walletLimit","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint32","name":"amount","type":"uint32"}],"name":"devMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint32","name":"amount","type":"uint32"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint96","name":"feeNumerator","type":"uint96"}],"name":"setFeeNumerator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"uri","type":"string"}],"name":"setMetadataURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"started","type":"bool"}],"name":"setStarted","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
600b805460ff60201b19166401000000001790556101e060405260366101808181529062002f2d6101a03980516200004091600c9160209091019062000387565b503480156200004e57600080fd5b5060405162002f6338038062002f63833981016040819052620000719162000447565b6040518060400160405280600581526020016442656c6c6160d81b8152506040518060400160405280600581526020016442454c4c4160d81b8152508160049080519060200190620000c592919062000387565b508051620000db90600590602084019062000387565b5050600160025550620000ee33620001b3565b63ffffffff8516620001018388620004e3565b63ffffffff1610156200011357600080fd5b6040516001600160601b03193060601b16602082015242603482015260540160408051808303601f19018152919052805160209091012060805260a087905263ffffffff86811660c0528481166101005285811660e05283811661012052600b805463ffffffff19169184169190911790556001600160a01b03811661016052600a61014052620001a66102ee62000205565b5050505050505062000553565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600a546001600160a01b03163314620002655760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b620002836200027c600a546001600160a01b031690565b8262000286565b50565b6127106001600160601b0382161115620002f65760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b60648201526084016200025c565b6001600160a01b0382166200034e5760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c69642072656365697665720000000000000060448201526064016200025c565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600055565b828054620003959062000517565b90600052602060002090601f016020900481019282620003b9576000855562000404565b82601f10620003d457805160ff191683800117855562000404565b8280016001018555821562000404579182015b8281111562000404578251825591602001919060010190620003e7565b506200041292915062000416565b5090565b5b8082111562000412576000815560010162000417565b805163ffffffff811681146200044257600080fd5b919050565b600080600080600080600060e0888a0312156200046357600080fd5b8751965062000475602089016200042d565b955062000485604089016200042d565b945062000495606089016200042d565b9350620004a5608089016200042d565b9250620004b560a089016200042d565b60c08901519092506001600160a01b0381168114620004d357600080fd5b8091505092959891949750929550565b600063ffffffff838116908316818110156200050f57634e487b7160e01b600052601160045260246000fd5b039392505050565b600181811c908216806200052c57607f821691505b6020821081036200054d57634e487b7160e01b600052602260045260246000fd5b50919050565b60805160a05160c05160e0516101005161012051610140516101605161290b62000622600039600081816107440152610dc80152600081816107e10152611282015260008181610303015281816110c201526113a90152600081816107100152818161109a015261142e0152600081816104b201528181611071015261153c0152600081816103b701528181610a7701528181610fc30152818161103f015261130a0152600081816103eb0152818161101701526116fb01526000818161047e01526115a5015261290b6000f3fe60806040526004361061023b5760003560e01c8063715018a61161012e578063d4a67623116100ab578063e985e9c51161006f578063e985e9c514610766578063ef6b141a146107af578063f1cf6409146107cf578063f2fde38b14610803578063f493c25f1461082357600080fd5b8063d4a67623146106a8578063d7409a3f146106bd578063dd48f07d146106da578063df6bb5af146106fe578063e02695051461073257600080fd5b8063a22cb465116100f2578063a22cb46514610620578063a71bbebe14610640578063aa07390714610653578063b88d4fde14610668578063c87b56dd1461068857600080fd5b8063715018a61461058b578063750521f5146105a05780638da5cb5b146105c057806395d89b41146105de5780639a7cfa4f146105f357600080fd5b806323b872dd116101bc57806342842e0e1161018057806342842e0e146104e95780634df22a54146105095780636352211e1461052b578063653a819e1461054b57806370a082311461056b57600080fd5b806323b872dd1461040d5780632a55205a1461042d57806333c5f0761461046c57806337049add146104a05780633ccfd60b146104d457600080fd5b806317a5aced1161020357806317a5aced1461033a57806318160ddd1461035a5780631a3c4b731461038157806322f4596f146103a5578063235b6ea1146103d957600080fd5b806301ffc9a71461024057806306fdde0314610275578063081812fc14610297578063095ea7b3146102cf5780630e2351e2146102f1575b600080fd5b34801561024c57600080fd5b5061026061025b3660046121f2565b610847565b60405190151581526020015b60405180910390f35b34801561028157600080fd5b5061028a61088d565b60405161026c9190612267565b3480156102a357600080fd5b506102b76102b236600461227a565b61091f565b6040516001600160a01b03909116815260200161026c565b3480156102db57600080fd5b506102ef6102ea3660046122af565b610963565b005b3480156102fd57600080fd5b506103257f000000000000000000000000000000000000000000000000000000000000000081565b60405163ffffffff909116815260200161026c565b34801561034657600080fd5b506102ef6103553660046122ed565b610a03565b34801561036657600080fd5b5060035460025403600019015b60405190815260200161026c565b34801561038d57600080fd5b50600a5461032590600160e01b900463ffffffff1681565b3480156103b157600080fd5b506103257f000000000000000000000000000000000000000000000000000000000000000081565b3480156103e557600080fd5b506103737f000000000000000000000000000000000000000000000000000000000000000081565b34801561041957600080fd5b506102ef610428366004612320565b610b12565b34801561043957600080fd5b5061044d61044836600461235c565b610caa565b604080516001600160a01b03909316835260208301919091520161026c565b34801561047857600080fd5b506103737f000000000000000000000000000000000000000000000000000000000000000081565b3480156104ac57600080fd5b506103257f000000000000000000000000000000000000000000000000000000000000000081565b3480156104e057600080fd5b506102ef610d56565b3480156104f557600080fd5b506102ef610504366004612320565b610e11565b34801561051557600080fd5b50600b5461026090640100000000900460ff1681565b34801561053757600080fd5b506102b761054636600461227a565b610e31565b34801561055757600080fd5b506102ef61056636600461237e565b610e3c565b34801561057757600080fd5b506103736105863660046123a7565b610e84565b34801561059757600080fd5b506102ef610ed3565b3480156105ac57600080fd5b506102ef6105bb36600461244e565b610f09565b3480156105cc57600080fd5b50600a546001600160a01b03166102b7565b3480156105ea57600080fd5b5061028a610f46565b3480156105ff57600080fd5b5061061361060e3660046123a7565b610f55565b60405161026c9190612497565b34801561062c57600080fd5b506102ef61063b3660046125a9565b611191565b6102ef61064e3660046125d3565b611226565b34801561065f57600080fd5b506103256117bc565b34801561067457600080fd5b506102ef6106833660046125ee565b6117eb565b34801561069457600080fd5b5061028a6106a336600461227a565b611835565b3480156106b457600080fd5b5061028a61191e565b3480156106c957600080fd5b50600b546103259063ffffffff1681565b3480156106e657600080fd5b50600a5461032590600160a01b900463ffffffff1681565b34801561070a57600080fd5b506103257f000000000000000000000000000000000000000000000000000000000000000081565b34801561073e57600080fd5b506102b77f000000000000000000000000000000000000000000000000000000000000000081565b34801561077257600080fd5b5061026061078136600461266a565b6001600160a01b03918216600090815260096020908152604080832093909416825291909152205460ff1690565b3480156107bb57600080fd5b506102ef6107ca366004612694565b6119ac565b3480156107db57600080fd5b506103257f000000000000000000000000000000000000000000000000000000000000000081565b34801561080f57600080fd5b506102ef61081e3660046123a7565b6119f6565b34801561082f57600080fd5b50600a5461032590600160c01b900463ffffffff1681565b60006001600160e01b0319821663152a902d60e11b148061087857506001600160e01b031982166380ac58cd60e01b145b80610887575061088782611a8e565b92915050565b60606004805461089c906126af565b80601f01602080910402602001604051908101604052809291908181526020018280546108c8906126af565b80156109155780601f106108ea57610100808354040283529160200191610915565b820191906000526020600020905b8154815290600101906020018083116108f857829003601f168201915b5050505050905090565b600061092a82611adc565b610947576040516333d1c03960e21b815260040160405180910390fd5b506000908152600860205260409020546001600160a01b031690565b600061096e82610e31565b9050336001600160a01b038216146109a75761098a8133610781565b6109a7576040516367d9dca160e11b815260040160405180910390fd5b60008281526008602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600a546001600160a01b03163314610a365760405162461bcd60e51b8152600401610a2d906126e9565b60405180910390fd5b80600a60148282829054906101000a900463ffffffff16610a579190612734565b92506101000a81548163ffffffff021916908363ffffffff1602179055507f000000000000000000000000000000000000000000000000000000000000000063ffffffff16600a60149054906101000a900463ffffffff1663ffffffff161115610afe5760405162461bcd60e51b815260206004820152601860248201527742656c6c613a20457863656564206d617820737570706c7960401b6044820152606401610a2d565b610b0e828263ffffffff16611b11565b5050565b6000610b1d82611b2b565b9050836001600160a01b0316816001600160a01b031614610b505760405162a1148160e81b815260040160405180910390fd5b60008281526008602052604090208054338082146001600160a01b03881690911417610b9d57610b808633610781565b610b9d57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516610bc457604051633a954ecd60e21b815260040160405180910390fd5b8015610bcf57600082555b6001600160a01b038681166000908152600760205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260066020526040812091909155600160e11b84169003610c6157600184016000818152600660205260408120549003610c5f576002548114610c5f5760008181526006602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b60008281526001602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b0316928201929092528291610d1f5750604080518082019091526000546001600160a01b0381168252600160a01b90046001600160601b031660208201525b602081015160009061271090610d3e906001600160601b03168761275c565b610d489190612791565b915196919550909350505050565b600a546001600160a01b03163314610d805760405162461bcd60e51b8152600401610a2d906126e9565b4780610dbb5760405162461bcd60e51b815260206004820152600a6024820152694e6f2042616c616e636560b01b6044820152606401610a2d565b6040516001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169082156108fc029083906000818181858888f19350505050158015610b0e573d6000803e3d6000fd5b610e2c838383604051806020016040528060008152506117eb565b505050565b600061088782611b2b565b600a546001600160a01b03163314610e665760405162461bcd60e51b8152600401610a2d906126e9565b610e81610e7b600a546001600160a01b031690565b82611ba1565b50565b60006001600160a01b038216610ead576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526007602052604090205467ffffffffffffffff1690565b600a546001600160a01b03163314610efd5760405162461bcd60e51b8152600401610a2d906126e9565b610f076000611c9e565b565b600a546001600160a01b03163314610f335760405162461bcd60e51b8152600401610a2d906126e9565b8051610b0e90600c906020840190612143565b60606005805461089c906126af565b604080516101a081018252600080825260208201819052918101829052606081018290526080810182905260a0810182905260c0810182905260e081018290526101008101829052610120810182905261014081018290526101608101829052610180810191909152600a547f000000000000000000000000000000000000000000000000000000000000000090600090600160a01b900463ffffffff166110006002546000190190565b61100a91906127a5565b604080516101a0810182527f0000000000000000000000000000000000000000000000000000000000000000815263ffffffff7f000000000000000000000000000000000000000000000000000000000000000081166020830152858116928201929092527f000000000000000000000000000000000000000000000000000000000000000080831660608301527f0000000000000000000000000000000000000000000000000000000000000000831660808301527f0000000000000000000000000000000000000000000000000000000000000000831660a083015282841660c0830152600b54831660e0830152600a54939450909261010084019261111b92600160c01b90920416906127a5565b63ffffffff168152602001611153866001600160a01b03166000908152600760205260409081902054901c67ffffffffffffffff1690565b63ffffffff908116825293841692841692909210156020830152600b5460ff6401000000008204161515604084015290921660609091015292915050565b336001600160a01b038316036111ba5760405163b06307db60e01b815260040160405180910390fd5b3360008181526009602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600b54640100000000900460ff166112805760405162461bcd60e51b815260206004820152601a60248201527f42656c6c613a2053616c65206973206e6f7420737461727465640000000000006044820152606401610a2d565b7f000000000000000000000000000000000000000000000000000000000000000063ffffffff168163ffffffff1611156112fc5760405162461bcd60e51b815260206004820152601a60248201527f42656c6c613a204f766572206c696d697420706572206d696e740000000000006044820152606401610a2d565b60006113066117bc565b90507f000000000000000000000000000000000000000000000000000000000000000063ffffffff811661133a8385612734565b63ffffffff1611156113895760405162461bcd60e51b815260206004820152601860248201527742656c6c613a20457863656564206d617820737570706c7960401b6044820152606401610a2d565b336000908152600760205260409081902054901c67ffffffffffffffff167f000000000000000000000000000000000000000000000000000000000000000063ffffffff166113d88286612734565b63ffffffff16111561142c5760405162461bcd60e51b815260206004820152601a60248201527f42656c6c613a204578636565642077616c6c6574206c696d69740000000000006044820152606401610a2d565b7f0000000000000000000000000000000000000000000000000000000000000000600063ffffffff80831690841610801561146e5750600b5463ffffffff1615155b1561150857600061147f84846127a5565b600b5490915063ffffffff8083169116116114a257600b5463ffffffff166114a4565b805b90508663ffffffff168163ffffffff16116114bf57806114c1565b865b6114cb9083612734565b600b805491935083916000906114e890849063ffffffff166127a5565b92506101000a81548163ffffffff021916908363ffffffff160217905550505b600061151482886127a5565b905063ffffffff8116156116f757600a54600090600160c01b900463ffffffff1681611560827f00000000000000000000000000000000000000000000000000000000000000006127a5565b905063ffffffff8116156116f3576040516bffffffffffffffffffffffff193360601b1660208201526001600160e01b031960e08b901b1660348201524460388201527f000000000000000000000000000000000000000000000000000000000000000060588201526000906078016040516020818303038152906040528051906020012060001c905060005b8563ffffffff1681108015611608575060008363ffffffff16115b1561165e578263ffffffff168a63ffffffff168361ffff1661162a91906127ca565b61ffff16101561164f5761163f600186612734565b945061164c6001846127a5565b92505b60109190911c906001016115ed565b5063ffffffff8416156116f1576116758487612734565b955083600a60188282829054906101000a900463ffffffff166116989190612734565b82546101009290920a63ffffffff8181021990931691831602179091556040805133815291871660208301527f7a1231147058d359b45a6de74dd91a819d5f5ca2e3fe235455af6be335c756b492500160405180910390a15b505b5050505b60007f0000000000000000000000000000000000000000000000000000000000000000611724848a6127a5565b63ffffffff16611734919061275c565b9050803410156117865760405162461bcd60e51b815260206004820152601860248201527f42656c6c613a20496e73756666696369656e742066756e6400000000000000006044820152606401610a2d565b611796338963ffffffff16611b11565b803411156117b2576117b26117ab82346127de565b3390611cf0565b5050505050505050565b600a54600090600160a01b900463ffffffff166117dc6002546000190190565b6117e691906127a5565b905090565b6117f6848484610b12565b6001600160a01b0383163b1561182f5761181284848484611e09565b61182f576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b606061184082611adc565b61185d57604051630a14c4b560e41b815260040160405180910390fd5b6000600c805461186c906126af565b80601f0160208091040260200160405190810160405280929190818152602001828054611898906126af565b80156118e55780601f106118ba576101008083540402835291602001916118e5565b820191906000526020600020905b8154815290600101906020018083116118c857829003601f168201915b50505050509050806118f684611ef5565b6040516020016119079291906127f5565b604051602081830303815290604052915050919050565b600c805461192b906126af565b80601f0160208091040260200160405190810160405280929190818152602001828054611957906126af565b80156119a45780601f10611979576101008083540402835291602001916119a4565b820191906000526020600020905b81548152906001019060200180831161198757829003601f168201915b505050505081565b600a546001600160a01b031633146119d65760405162461bcd60e51b8152600401610a2d906126e9565b600b80549115156401000000000264ff0000000019909216919091179055565b600a546001600160a01b03163314611a205760405162461bcd60e51b8152600401610a2d906126e9565b6001600160a01b038116611a855760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a2d565b610e8181611c9e565b60006301ffc9a760e01b6001600160e01b031983161480611abf57506380ac58cd60e01b6001600160e01b03198316145b806108875750506001600160e01b031916635b5e139f60e01b1490565b600081600111158015611af0575060025482105b8015610887575050600090815260066020526040902054600160e01b161590565b610b0e828260405180602001604052806000815250611ff6565b60008180600111611b8857600254811015611b885760008181526006602052604081205490600160e01b82169003611b86575b80600003611b7f575060001901600081815260066020526040902054611b5e565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b6127106001600160601b0382161115611c0f5760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b6064820152608401610a2d565b6001600160a01b038216611c655760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c6964207265636569766572000000000000006044820152606401610a2d565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600055565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b80471015611d405760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610a2d565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114611d8d576040519150601f19603f3d011682016040523d82523d6000602084013e611d92565b606091505b5050905080610e2c5760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610a2d565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611e3e903390899088908890600401612834565b6020604051808303816000875af1925050508015611e79575060408051601f3d908101601f19168201909252611e7691810190612871565b60015b611ed7573d808015611ea7576040519150601f19603f3d011682016040523d82523d6000602084013e611eac565b606091505b508051600003611ecf576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b606081600003611f1c5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611f465780611f308161288e565b9150611f3f9050600a83612791565b9150611f20565b60008167ffffffffffffffff811115611f6157611f616123c2565b6040519080825280601f01601f191660200182016040528015611f8b576020820181803683370190505b5090505b8415611eed57611fa06001836127de565b9150611fad600a866127ca565b611fb89060306128a7565b60f81b818381518110611fcd57611fcd6128bf565b60200101906001600160f81b031916908160001a905350611fef600a86612791565b9450611f8f565b6120008383612063565b6001600160a01b0383163b15610e2c576002548281035b61202a6000868380600101945086611e09565b612047576040516368d2bf6b60e11b815260040160405180910390fd5b81811061201757816002541461205c57600080fd5b5050505050565b6002546001600160a01b03831661208c57604051622e076360e81b815260040160405180910390fd5b816000036120ad5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038316600081815260076020526040902080546801000000000000000185020190554260a01b6001841460e11b1717600082815260066020526040902055808281015b6040516001830192906001600160a01b038716906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a48082106120f75760025550505050565b82805461214f906126af565b90600052602060002090601f01602090048101928261217157600085556121b7565b82601f1061218a57805160ff19168380011785556121b7565b828001600101855582156121b7579182015b828111156121b757825182559160200191906001019061219c565b506121c39291506121c7565b5090565b5b808211156121c357600081556001016121c8565b6001600160e01b031981168114610e8157600080fd5b60006020828403121561220457600080fd5b8135611b7f816121dc565b60005b8381101561222a578181015183820152602001612212565b8381111561182f5750506000910152565b6000815180845261225381602086016020860161220f565b601f01601f19169290920160200192915050565b602081526000611b7f602083018461223b565b60006020828403121561228c57600080fd5b5035919050565b80356001600160a01b03811681146122aa57600080fd5b919050565b600080604083850312156122c257600080fd5b6122cb83612293565b946020939093013593505050565b803563ffffffff811681146122aa57600080fd5b6000806040838503121561230057600080fd5b61230983612293565b9150612317602084016122d9565b90509250929050565b60008060006060848603121561233557600080fd5b61233e84612293565b925061234c60208501612293565b9150604084013590509250925092565b6000806040838503121561236f57600080fd5b50508035926020909101359150565b60006020828403121561239057600080fd5b81356001600160601b0381168114611b7f57600080fd5b6000602082840312156123b957600080fd5b611b7f82612293565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff808411156123f3576123f36123c2565b604051601f8501601f19908116603f0116810190828211818310171561241b5761241b6123c2565b8160405280935085815286868601111561243457600080fd5b858560208301376000602087830101525050509392505050565b60006020828403121561246057600080fd5b813567ffffffffffffffff81111561247757600080fd5b8201601f8101841361248857600080fd5b611eed848235602084016123d8565b815181526020808301516101a08301916124b89084018263ffffffff169052565b5060408301516124d0604084018263ffffffff169052565b5060608301516124e8606084018263ffffffff169052565b506080830151612500608084018263ffffffff169052565b5060a083015161251860a084018263ffffffff169052565b5060c083015161253060c084018263ffffffff169052565b5060e083015161254860e084018263ffffffff169052565b506101008381015163ffffffff908116918401919091526101208085015182169084015261014080850151151590840152610160808501511515908401526101809384015116929091019190915290565b803580151581146122aa57600080fd5b600080604083850312156125bc57600080fd5b6125c583612293565b915061231760208401612599565b6000602082840312156125e557600080fd5b611b7f826122d9565b6000806000806080858703121561260457600080fd5b61260d85612293565b935061261b60208601612293565b925060408501359150606085013567ffffffffffffffff81111561263e57600080fd5b8501601f8101871361264f57600080fd5b61265e878235602084016123d8565b91505092959194509250565b6000806040838503121561267d57600080fd5b61268683612293565b915061231760208401612293565b6000602082840312156126a657600080fd5b611b7f82612599565b600181811c908216806126c357607f821691505b6020821081036126e357634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b600063ffffffff8083168185168083038211156127535761275361271e565b01949350505050565b60008160001904831182151516156127765761277661271e565b500290565b634e487b7160e01b600052601260045260246000fd5b6000826127a0576127a061277b565b500490565b600063ffffffff838116908316818110156127c2576127c261271e565b039392505050565b6000826127d9576127d961277b565b500690565b6000828210156127f0576127f061271e565b500390565b6000835161280781846020880161220f565b83519083019061281b81836020880161220f565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906128679083018461223b565b9695505050505050565b60006020828403121561288357600080fd5b8151611b7f816121dc565b6000600182016128a0576128a061271e565b5060010190565b600082198211156128ba576128ba61271e565b500190565b634e487b7160e01b600052603260045260246000fdfea264697066735822122063ce5f13987618d46b134b8ca72f83fc33d16b5156939ed3abc3f8fd688c0fca64736f6c634300080e0033697066733a2f2f516d51736b50584b376a7934633362637573516a556e4a636d554775514d6747316a695577756a687272587a596f2f000000000000000000000000000000000000000000000000001772aa3f8480000000000000000000000000000000000000000000000000000000000000001a0a0000000000000000000000000000000000000000000000000000000000000309000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000003e800000000000000000000000000000000000000000000000000000000000007d0000000000000000000000000def0747f126ac175ca58ee4c2732bacfd67c1256
Deployed Bytecode
0x60806040526004361061023b5760003560e01c8063715018a61161012e578063d4a67623116100ab578063e985e9c51161006f578063e985e9c514610766578063ef6b141a146107af578063f1cf6409146107cf578063f2fde38b14610803578063f493c25f1461082357600080fd5b8063d4a67623146106a8578063d7409a3f146106bd578063dd48f07d146106da578063df6bb5af146106fe578063e02695051461073257600080fd5b8063a22cb465116100f2578063a22cb46514610620578063a71bbebe14610640578063aa07390714610653578063b88d4fde14610668578063c87b56dd1461068857600080fd5b8063715018a61461058b578063750521f5146105a05780638da5cb5b146105c057806395d89b41146105de5780639a7cfa4f146105f357600080fd5b806323b872dd116101bc57806342842e0e1161018057806342842e0e146104e95780634df22a54146105095780636352211e1461052b578063653a819e1461054b57806370a082311461056b57600080fd5b806323b872dd1461040d5780632a55205a1461042d57806333c5f0761461046c57806337049add146104a05780633ccfd60b146104d457600080fd5b806317a5aced1161020357806317a5aced1461033a57806318160ddd1461035a5780631a3c4b731461038157806322f4596f146103a5578063235b6ea1146103d957600080fd5b806301ffc9a71461024057806306fdde0314610275578063081812fc14610297578063095ea7b3146102cf5780630e2351e2146102f1575b600080fd5b34801561024c57600080fd5b5061026061025b3660046121f2565b610847565b60405190151581526020015b60405180910390f35b34801561028157600080fd5b5061028a61088d565b60405161026c9190612267565b3480156102a357600080fd5b506102b76102b236600461227a565b61091f565b6040516001600160a01b03909116815260200161026c565b3480156102db57600080fd5b506102ef6102ea3660046122af565b610963565b005b3480156102fd57600080fd5b506103257f00000000000000000000000000000000000000000000000000000000000003e881565b60405163ffffffff909116815260200161026c565b34801561034657600080fd5b506102ef6103553660046122ed565b610a03565b34801561036657600080fd5b5060035460025403600019015b60405190815260200161026c565b34801561038d57600080fd5b50600a5461032590600160e01b900463ffffffff1681565b3480156103b157600080fd5b506103257f0000000000000000000000000000000000000000000000000000000000001a0a81565b3480156103e557600080fd5b506103737f000000000000000000000000000000000000000000000000001772aa3f84800081565b34801561041957600080fd5b506102ef610428366004612320565b610b12565b34801561043957600080fd5b5061044d61044836600461235c565b610caa565b604080516001600160a01b03909316835260208301919091520161026c565b34801561047857600080fd5b506103737f77f7fa0eb498113dd6182b92134ec0f2c3a61e0a2d58795821a02c809bec968a81565b3480156104ac57600080fd5b506103257f000000000000000000000000000000000000000000000000000000000000030981565b3480156104e057600080fd5b506102ef610d56565b3480156104f557600080fd5b506102ef610504366004612320565b610e11565b34801561051557600080fd5b50600b5461026090640100000000900460ff1681565b34801561053757600080fd5b506102b761054636600461227a565b610e31565b34801561055757600080fd5b506102ef61056636600461237e565b610e3c565b34801561057757600080fd5b506103736105863660046123a7565b610e84565b34801561059757600080fd5b506102ef610ed3565b3480156105ac57600080fd5b506102ef6105bb36600461244e565b610f09565b3480156105cc57600080fd5b50600a546001600160a01b03166102b7565b3480156105ea57600080fd5b5061028a610f46565b3480156105ff57600080fd5b5061061361060e3660046123a7565b610f55565b60405161026c9190612497565b34801561062c57600080fd5b506102ef61063b3660046125a9565b611191565b6102ef61064e3660046125d3565b611226565b34801561065f57600080fd5b506103256117bc565b34801561067457600080fd5b506102ef6106833660046125ee565b6117eb565b34801561069457600080fd5b5061028a6106a336600461227a565b611835565b3480156106b457600080fd5b5061028a61191e565b3480156106c957600080fd5b50600b546103259063ffffffff1681565b3480156106e657600080fd5b50600a5461032590600160a01b900463ffffffff1681565b34801561070a57600080fd5b506103257f000000000000000000000000000000000000000000000000000000000000000281565b34801561073e57600080fd5b506102b77f000000000000000000000000def0747f126ac175ca58ee4c2732bacfd67c125681565b34801561077257600080fd5b5061026061078136600461266a565b6001600160a01b03918216600090815260096020908152604080832093909416825291909152205460ff1690565b3480156107bb57600080fd5b506102ef6107ca366004612694565b6119ac565b3480156107db57600080fd5b506103257f000000000000000000000000000000000000000000000000000000000000000a81565b34801561080f57600080fd5b506102ef61081e3660046123a7565b6119f6565b34801561082f57600080fd5b50600a5461032590600160c01b900463ffffffff1681565b60006001600160e01b0319821663152a902d60e11b148061087857506001600160e01b031982166380ac58cd60e01b145b80610887575061088782611a8e565b92915050565b60606004805461089c906126af565b80601f01602080910402602001604051908101604052809291908181526020018280546108c8906126af565b80156109155780601f106108ea57610100808354040283529160200191610915565b820191906000526020600020905b8154815290600101906020018083116108f857829003601f168201915b5050505050905090565b600061092a82611adc565b610947576040516333d1c03960e21b815260040160405180910390fd5b506000908152600860205260409020546001600160a01b031690565b600061096e82610e31565b9050336001600160a01b038216146109a75761098a8133610781565b6109a7576040516367d9dca160e11b815260040160405180910390fd5b60008281526008602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600a546001600160a01b03163314610a365760405162461bcd60e51b8152600401610a2d906126e9565b60405180910390fd5b80600a60148282829054906101000a900463ffffffff16610a579190612734565b92506101000a81548163ffffffff021916908363ffffffff1602179055507f0000000000000000000000000000000000000000000000000000000000001a0a63ffffffff16600a60149054906101000a900463ffffffff1663ffffffff161115610afe5760405162461bcd60e51b815260206004820152601860248201527742656c6c613a20457863656564206d617820737570706c7960401b6044820152606401610a2d565b610b0e828263ffffffff16611b11565b5050565b6000610b1d82611b2b565b9050836001600160a01b0316816001600160a01b031614610b505760405162a1148160e81b815260040160405180910390fd5b60008281526008602052604090208054338082146001600160a01b03881690911417610b9d57610b808633610781565b610b9d57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516610bc457604051633a954ecd60e21b815260040160405180910390fd5b8015610bcf57600082555b6001600160a01b038681166000908152600760205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260066020526040812091909155600160e11b84169003610c6157600184016000818152600660205260408120549003610c5f576002548114610c5f5760008181526006602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b60008281526001602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b0316928201929092528291610d1f5750604080518082019091526000546001600160a01b0381168252600160a01b90046001600160601b031660208201525b602081015160009061271090610d3e906001600160601b03168761275c565b610d489190612791565b915196919550909350505050565b600a546001600160a01b03163314610d805760405162461bcd60e51b8152600401610a2d906126e9565b4780610dbb5760405162461bcd60e51b815260206004820152600a6024820152694e6f2042616c616e636560b01b6044820152606401610a2d565b6040516001600160a01b037f000000000000000000000000def0747f126ac175ca58ee4c2732bacfd67c1256169082156108fc029083906000818181858888f19350505050158015610b0e573d6000803e3d6000fd5b610e2c838383604051806020016040528060008152506117eb565b505050565b600061088782611b2b565b600a546001600160a01b03163314610e665760405162461bcd60e51b8152600401610a2d906126e9565b610e81610e7b600a546001600160a01b031690565b82611ba1565b50565b60006001600160a01b038216610ead576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526007602052604090205467ffffffffffffffff1690565b600a546001600160a01b03163314610efd5760405162461bcd60e51b8152600401610a2d906126e9565b610f076000611c9e565b565b600a546001600160a01b03163314610f335760405162461bcd60e51b8152600401610a2d906126e9565b8051610b0e90600c906020840190612143565b60606005805461089c906126af565b604080516101a081018252600080825260208201819052918101829052606081018290526080810182905260a0810182905260c0810182905260e081018290526101008101829052610120810182905261014081018290526101608101829052610180810191909152600a547f0000000000000000000000000000000000000000000000000000000000001a0a90600090600160a01b900463ffffffff166110006002546000190190565b61100a91906127a5565b604080516101a0810182527f000000000000000000000000000000000000000000000000001772aa3f848000815263ffffffff7f0000000000000000000000000000000000000000000000000000000000001a0a81166020830152858116928201929092527f000000000000000000000000000000000000000000000000000000000000030980831660608301527f0000000000000000000000000000000000000000000000000000000000000002831660808301527f00000000000000000000000000000000000000000000000000000000000003e8831660a083015282841660c0830152600b54831660e0830152600a54939450909261010084019261111b92600160c01b90920416906127a5565b63ffffffff168152602001611153866001600160a01b03166000908152600760205260409081902054901c67ffffffffffffffff1690565b63ffffffff908116825293841692841692909210156020830152600b5460ff6401000000008204161515604084015290921660609091015292915050565b336001600160a01b038316036111ba5760405163b06307db60e01b815260040160405180910390fd5b3360008181526009602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600b54640100000000900460ff166112805760405162461bcd60e51b815260206004820152601a60248201527f42656c6c613a2053616c65206973206e6f7420737461727465640000000000006044820152606401610a2d565b7f000000000000000000000000000000000000000000000000000000000000000a63ffffffff168163ffffffff1611156112fc5760405162461bcd60e51b815260206004820152601a60248201527f42656c6c613a204f766572206c696d697420706572206d696e740000000000006044820152606401610a2d565b60006113066117bc565b90507f0000000000000000000000000000000000000000000000000000000000001a0a63ffffffff811661133a8385612734565b63ffffffff1611156113895760405162461bcd60e51b815260206004820152601860248201527742656c6c613a20457863656564206d617820737570706c7960401b6044820152606401610a2d565b336000908152600760205260409081902054901c67ffffffffffffffff167f00000000000000000000000000000000000000000000000000000000000003e863ffffffff166113d88286612734565b63ffffffff16111561142c5760405162461bcd60e51b815260206004820152601a60248201527f42656c6c613a204578636565642077616c6c6574206c696d69740000000000006044820152606401610a2d565b7f0000000000000000000000000000000000000000000000000000000000000002600063ffffffff80831690841610801561146e5750600b5463ffffffff1615155b1561150857600061147f84846127a5565b600b5490915063ffffffff8083169116116114a257600b5463ffffffff166114a4565b805b90508663ffffffff168163ffffffff16116114bf57806114c1565b865b6114cb9083612734565b600b805491935083916000906114e890849063ffffffff166127a5565b92506101000a81548163ffffffff021916908363ffffffff160217905550505b600061151482886127a5565b905063ffffffff8116156116f757600a54600090600160c01b900463ffffffff1681611560827f00000000000000000000000000000000000000000000000000000000000003096127a5565b905063ffffffff8116156116f3576040516bffffffffffffffffffffffff193360601b1660208201526001600160e01b031960e08b901b1660348201524460388201527f77f7fa0eb498113dd6182b92134ec0f2c3a61e0a2d58795821a02c809bec968a60588201526000906078016040516020818303038152906040528051906020012060001c905060005b8563ffffffff1681108015611608575060008363ffffffff16115b1561165e578263ffffffff168a63ffffffff168361ffff1661162a91906127ca565b61ffff16101561164f5761163f600186612734565b945061164c6001846127a5565b92505b60109190911c906001016115ed565b5063ffffffff8416156116f1576116758487612734565b955083600a60188282829054906101000a900463ffffffff166116989190612734565b82546101009290920a63ffffffff8181021990931691831602179091556040805133815291871660208301527f7a1231147058d359b45a6de74dd91a819d5f5ca2e3fe235455af6be335c756b492500160405180910390a15b505b5050505b60007f000000000000000000000000000000000000000000000000001772aa3f848000611724848a6127a5565b63ffffffff16611734919061275c565b9050803410156117865760405162461bcd60e51b815260206004820152601860248201527f42656c6c613a20496e73756666696369656e742066756e6400000000000000006044820152606401610a2d565b611796338963ffffffff16611b11565b803411156117b2576117b26117ab82346127de565b3390611cf0565b5050505050505050565b600a54600090600160a01b900463ffffffff166117dc6002546000190190565b6117e691906127a5565b905090565b6117f6848484610b12565b6001600160a01b0383163b1561182f5761181284848484611e09565b61182f576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b606061184082611adc565b61185d57604051630a14c4b560e41b815260040160405180910390fd5b6000600c805461186c906126af565b80601f0160208091040260200160405190810160405280929190818152602001828054611898906126af565b80156118e55780601f106118ba576101008083540402835291602001916118e5565b820191906000526020600020905b8154815290600101906020018083116118c857829003601f168201915b50505050509050806118f684611ef5565b6040516020016119079291906127f5565b604051602081830303815290604052915050919050565b600c805461192b906126af565b80601f0160208091040260200160405190810160405280929190818152602001828054611957906126af565b80156119a45780601f10611979576101008083540402835291602001916119a4565b820191906000526020600020905b81548152906001019060200180831161198757829003601f168201915b505050505081565b600a546001600160a01b031633146119d65760405162461bcd60e51b8152600401610a2d906126e9565b600b80549115156401000000000264ff0000000019909216919091179055565b600a546001600160a01b03163314611a205760405162461bcd60e51b8152600401610a2d906126e9565b6001600160a01b038116611a855760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a2d565b610e8181611c9e565b60006301ffc9a760e01b6001600160e01b031983161480611abf57506380ac58cd60e01b6001600160e01b03198316145b806108875750506001600160e01b031916635b5e139f60e01b1490565b600081600111158015611af0575060025482105b8015610887575050600090815260066020526040902054600160e01b161590565b610b0e828260405180602001604052806000815250611ff6565b60008180600111611b8857600254811015611b885760008181526006602052604081205490600160e01b82169003611b86575b80600003611b7f575060001901600081815260066020526040902054611b5e565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b6127106001600160601b0382161115611c0f5760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b6064820152608401610a2d565b6001600160a01b038216611c655760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c6964207265636569766572000000000000006044820152606401610a2d565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600055565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b80471015611d405760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610a2d565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114611d8d576040519150601f19603f3d011682016040523d82523d6000602084013e611d92565b606091505b5050905080610e2c5760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610a2d565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611e3e903390899088908890600401612834565b6020604051808303816000875af1925050508015611e79575060408051601f3d908101601f19168201909252611e7691810190612871565b60015b611ed7573d808015611ea7576040519150601f19603f3d011682016040523d82523d6000602084013e611eac565b606091505b508051600003611ecf576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b606081600003611f1c5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611f465780611f308161288e565b9150611f3f9050600a83612791565b9150611f20565b60008167ffffffffffffffff811115611f6157611f616123c2565b6040519080825280601f01601f191660200182016040528015611f8b576020820181803683370190505b5090505b8415611eed57611fa06001836127de565b9150611fad600a866127ca565b611fb89060306128a7565b60f81b818381518110611fcd57611fcd6128bf565b60200101906001600160f81b031916908160001a905350611fef600a86612791565b9450611f8f565b6120008383612063565b6001600160a01b0383163b15610e2c576002548281035b61202a6000868380600101945086611e09565b612047576040516368d2bf6b60e11b815260040160405180910390fd5b81811061201757816002541461205c57600080fd5b5050505050565b6002546001600160a01b03831661208c57604051622e076360e81b815260040160405180910390fd5b816000036120ad5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038316600081815260076020526040902080546801000000000000000185020190554260a01b6001841460e11b1717600082815260066020526040902055808281015b6040516001830192906001600160a01b038716906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a48082106120f75760025550505050565b82805461214f906126af565b90600052602060002090601f01602090048101928261217157600085556121b7565b82601f1061218a57805160ff19168380011785556121b7565b828001600101855582156121b7579182015b828111156121b757825182559160200191906001019061219c565b506121c39291506121c7565b5090565b5b808211156121c357600081556001016121c8565b6001600160e01b031981168114610e8157600080fd5b60006020828403121561220457600080fd5b8135611b7f816121dc565b60005b8381101561222a578181015183820152602001612212565b8381111561182f5750506000910152565b6000815180845261225381602086016020860161220f565b601f01601f19169290920160200192915050565b602081526000611b7f602083018461223b565b60006020828403121561228c57600080fd5b5035919050565b80356001600160a01b03811681146122aa57600080fd5b919050565b600080604083850312156122c257600080fd5b6122cb83612293565b946020939093013593505050565b803563ffffffff811681146122aa57600080fd5b6000806040838503121561230057600080fd5b61230983612293565b9150612317602084016122d9565b90509250929050565b60008060006060848603121561233557600080fd5b61233e84612293565b925061234c60208501612293565b9150604084013590509250925092565b6000806040838503121561236f57600080fd5b50508035926020909101359150565b60006020828403121561239057600080fd5b81356001600160601b0381168114611b7f57600080fd5b6000602082840312156123b957600080fd5b611b7f82612293565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff808411156123f3576123f36123c2565b604051601f8501601f19908116603f0116810190828211818310171561241b5761241b6123c2565b8160405280935085815286868601111561243457600080fd5b858560208301376000602087830101525050509392505050565b60006020828403121561246057600080fd5b813567ffffffffffffffff81111561247757600080fd5b8201601f8101841361248857600080fd5b611eed848235602084016123d8565b815181526020808301516101a08301916124b89084018263ffffffff169052565b5060408301516124d0604084018263ffffffff169052565b5060608301516124e8606084018263ffffffff169052565b506080830151612500608084018263ffffffff169052565b5060a083015161251860a084018263ffffffff169052565b5060c083015161253060c084018263ffffffff169052565b5060e083015161254860e084018263ffffffff169052565b506101008381015163ffffffff908116918401919091526101208085015182169084015261014080850151151590840152610160808501511515908401526101809384015116929091019190915290565b803580151581146122aa57600080fd5b600080604083850312156125bc57600080fd5b6125c583612293565b915061231760208401612599565b6000602082840312156125e557600080fd5b611b7f826122d9565b6000806000806080858703121561260457600080fd5b61260d85612293565b935061261b60208601612293565b925060408501359150606085013567ffffffffffffffff81111561263e57600080fd5b8501601f8101871361264f57600080fd5b61265e878235602084016123d8565b91505092959194509250565b6000806040838503121561267d57600080fd5b61268683612293565b915061231760208401612293565b6000602082840312156126a657600080fd5b611b7f82612599565b600181811c908216806126c357607f821691505b6020821081036126e357634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b600063ffffffff8083168185168083038211156127535761275361271e565b01949350505050565b60008160001904831182151516156127765761277661271e565b500290565b634e487b7160e01b600052601260045260246000fd5b6000826127a0576127a061277b565b500490565b600063ffffffff838116908316818110156127c2576127c261271e565b039392505050565b6000826127d9576127d961277b565b500690565b6000828210156127f0576127f061271e565b500390565b6000835161280781846020880161220f565b83519083019061281b81836020880161220f565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906128679083018461223b565b9695505050505050565b60006020828403121561288357600080fd5b8151611b7f816121dc565b6000600182016128a0576128a061271e565b5060010190565b600082198211156128ba576128ba61271e565b500190565b634e487b7160e01b600052603260045260246000fdfea264697066735822122063ce5f13987618d46b134b8ca72f83fc33d16b5156939ed3abc3f8fd688c0fca64736f6c634300080e0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000001772aa3f8480000000000000000000000000000000000000000000000000000000000000001a0a0000000000000000000000000000000000000000000000000000000000000309000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000003e800000000000000000000000000000000000000000000000000000000000007d0000000000000000000000000def0747f126ac175ca58ee4c2732bacfd67c1256
-----Decoded View---------------
Arg [0] : price (uint256): 6600000000000000
Arg [1] : maxSupply (uint32): 6666
Arg [2] : randomFreeSupply (uint32): 777
Arg [3] : instantFreeWalletLimit (uint32): 2
Arg [4] : walletLimit (uint32): 1000
Arg [5] : freeQuota (uint32): 2000
Arg [6] : paymentsAddress_ (address): 0xdef0747f126AC175Ca58EE4C2732BaCfD67c1256
-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 000000000000000000000000000000000000000000000000001772aa3f848000
Arg [1] : 0000000000000000000000000000000000000000000000000000000000001a0a
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000309
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [4] : 00000000000000000000000000000000000000000000000000000000000003e8
Arg [5] : 00000000000000000000000000000000000000000000000000000000000007d0
Arg [6] : 000000000000000000000000def0747f126ac175ca58ee4c2732bacfd67c1256
Deployed Bytecode Sourcemap
70795:7151:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;76830:299;;;;;;;;;;-1:-1:-1;76830:299:0;;;;;:::i;:::-;;:::i;:::-;;;661:14:1;;654:22;636:41;;624:2;609:18;76830:299:0;;;;;;;;30712:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;32658:204::-;;;;;;;;;;-1:-1:-1;32658:204:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1788:32:1;;;1770:51;;1758:2;1743:18;32658:204:0;1624:203:1;32206:386:0;;;;;;;;;;-1:-1:-1;32206:386:0;;;;;:::i;:::-;;:::i;:::-;;71198:36;;;;;;;;;;;;;;;;;;2542:10:1;2530:23;;;2512:42;;2500:2;2485:18;71198:36:0;2368:192:1;77137:208:0;;;;;;;;;;-1:-1:-1;77137:208:0;;;;;:::i;:::-;;:::i;24119:315::-;;;;;;;;;;-1:-1:-1;24385:12:0;;24369:13;;:28;-1:-1:-1;;24369:46:0;24119:315;;;3142:25:1;;;3130:2;3115:18;24119:315:0;2996:177:1;71399:32:0;;;;;;;;;;-1:-1:-1;71399:32:0;;;;-1:-1:-1;;;71399:32:0;;;;;;71055:34;;;;;;;;;;;;;;;71017:31;;;;;;;;;;;;;;;41923:2800;;;;;;;;;;-1:-1:-1;41923:2800:0;;;;;:::i;:::-;;:::i;4481:442::-;;;;;;;;;;-1:-1:-1;4481:442:0;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;3956:32:1;;;3938:51;;4020:2;4005:18;;3998:34;;;;3911:18;4481:442:0;3764:274:1;70973:37:0;;;;;;;;;;;;;;;71096:41;;;;;;;;;;;;;;;77772:171;;;;;;;;;;;;;:::i;33548:185::-;;;;;;;;;;-1:-1:-1;33548:185:0;;;;;:::i;:::-;;:::i;71469:27::-;;;;;;;;;;-1:-1:-1;71469:27:0;;;;;;;;;;;30501:144;;;;;;;;;;-1:-1:-1;30501:144:0;;;;;:::i;:::-;;:::i;77353:123::-;;;;;;;;;;-1:-1:-1;77353:123:0;;;;;:::i;:::-;;:::i;25744:224::-;;;;;;;;;;-1:-1:-1;25744:224:0;;;;;:::i;:::-;;:::i;9642:103::-;;;;;;;;;;;;;:::i;77668:99::-;;;;;;;;;;-1:-1:-1;77668:99:0;;;;;:::i;:::-;;:::i;8991:87::-;;;;;;;;;;-1:-1:-1;9064:6:0;;-1:-1:-1;;;;;9064:6:0;8991:87;;30881:104;;;;;;;;;;;;;:::i;75644:875::-;;;;;;;;;;-1:-1:-1;75644:875:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;32934:308::-;;;;;;;;;;-1:-1:-1;32934:308:0;;;;;:::i;:::-;;:::i;72814:2698::-;;;;;;:::i;:::-;;:::i;75520:116::-;;;;;;;;;;;;;:::i;33804:399::-;;;;;;;;;;-1:-1:-1;33804:399:0;;;;;:::i;:::-;;:::i;76527:295::-;;;;;;;;;;-1:-1:-1;76527:295:0;;;;;:::i;:::-;;:::i;71503:85::-;;;;;;;;;;;;;:::i;71438:24::-;;;;;;;;;;-1:-1:-1;71438:24:0;;;;;;;;71329:25;;;;;;;;;;-1:-1:-1;71329:25:0;;;;-1:-1:-1;;;71329:25:0;;;;;;71144:47;;;;;;;;;;;;;;;71282:40;;;;;;;;;;;;;;;33313:164;;;;;;;;;;-1:-1:-1;33313:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;33434:25:0;;;33410:4;33434:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;33313:164;77570:90;;;;;;;;;;-1:-1:-1;77570:90:0;;;;;:::i;:::-;;:::i;71241:34::-;;;;;;;;;;;;;;;9900:201;;;;;;;;;;-1:-1:-1;9900:201:0;;;;;:::i;:::-;;:::i;71361:31::-;;;;;;;;;;-1:-1:-1;71361:31:0;;;;-1:-1:-1;;;71361:31:0;;;;;;76830:299;76933:4;-1:-1:-1;;;;;;76970:41:0;;-1:-1:-1;;;76970:41:0;;:98;;-1:-1:-1;;;;;;;77028:40:0;;-1:-1:-1;;;77028:40:0;76970:98;:151;;;;77085:36;77109:11;77085:23;:36::i;:::-;76950:171;76830:299;-1:-1:-1;;76830:299:0:o;30712:100::-;30766:13;30799:5;30792:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30712:100;:::o;32658:204::-;32726:7;32751:16;32759:7;32751;:16::i;:::-;32746:64;;32776:34;;-1:-1:-1;;;32776:34:0;;;;;;;;;;;32746:64;-1:-1:-1;32830:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;32830:24:0;;32658:204::o;32206:386::-;32279:13;32295:16;32303:7;32295;:16::i;:::-;32279:32;-1:-1:-1;53106:10:0;-1:-1:-1;;;;;32328:28:0;;;32324:175;;32376:44;32393:5;53106:10;33313:164;:::i;32376:44::-;32371:128;;32448:35;;-1:-1:-1;;;32448:35:0;;;;;;;;;;;32371:128;32511:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;32511:29:0;-1:-1:-1;;;;;32511:29:0;;;;;;;;;32556:28;;32511:24;;32556:28;;;;;;;32268:324;32206:386;;:::o;77137:208::-;9064:6;;-1:-1:-1;;;;;9064:6:0;53106:10;9211:23;9203:68;;;;-1:-1:-1;;;9203:68:0;;;;;;;:::i;:::-;;;;;;;;;77226:6:::1;77211:11;;:21;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;77266:10;77251:25;;:11;;;;;;;;;;;:25;;;;77243:62;;;::::0;-1:-1:-1;;;77243:62:0;;10753:2:1;77243:62:0::1;::::0;::::1;10735:21:1::0;10792:2;10772:18;;;10765:30;-1:-1:-1;;;10811:18:1;;;10804:54;10875:18;;77243:62:0::1;10551:348:1::0;77243:62:0::1;77316:21;77326:2;77330:6;77316:21;;:9;:21::i;:::-;77137:208:::0;;:::o;41923:2800::-;42057:27;42087;42106:7;42087:18;:27::i;:::-;42057:57;;42172:4;-1:-1:-1;;;;;42131:45:0;42147:19;-1:-1:-1;;;;;42131:45:0;;42127:86;;42185:28;;-1:-1:-1;;;42185:28:0;;;;;;;;;;;42127:86;42227:27;40653:21;;;40480:15;40695:4;40688:36;40777:4;40761:21;;40867:26;;53106:10;41620:30;;;-1:-1:-1;;;;;41318:26:0;;41599:19;;;41596:55;42406:174;;42493:43;42510:4;53106:10;33313:164;:::i;42493:43::-;42488:92;;42545:35;;-1:-1:-1;;;42545:35:0;;;;;;;;;;;42488:92;-1:-1:-1;;;;;42597:16:0;;42593:52;;42622:23;;-1:-1:-1;;;42622:23:0;;;;;;;;;;;42593:52;42794:15;42791:160;;;42934:1;42913:19;42906:30;42791:160;-1:-1:-1;;;;;43329:24:0;;;;;;;:18;:24;;;;;;43327:26;;-1:-1:-1;;43327:26:0;;;43398:22;;;;;;;;;43396:24;;-1:-1:-1;43396:24:0;;;30400:11;30376:22;30372:40;30359:62;-1:-1:-1;;;30359:62:0;43691:26;;;;:17;:26;;;;;:174;;;;-1:-1:-1;;;43985:46:0;;:51;;43981:626;;44089:1;44079:11;;44057:19;44212:30;;;:17;:30;;;;;;:35;;44208:384;;44350:13;;44335:11;:28;44331:242;;44497:30;;;;:17;:30;;;;;:52;;;44331:242;44038:569;43981:626;44654:7;44650:2;-1:-1:-1;;;;;44635:27:0;44644:4;-1:-1:-1;;;;;44635:27:0;;;;;;;;;;;42046:2677;;;41923:2800;;;:::o;4481:442::-;4578:7;4636:27;;;:17;:27;;;;;;;;4607:56;;;;;;;;;-1:-1:-1;;;;;4607:56:0;;;;;-1:-1:-1;;;4607:56:0;;;-1:-1:-1;;;;;4607:56:0;;;;;;;;4578:7;;4676:92;;-1:-1:-1;4727:29:0;;;;;;;;;-1:-1:-1;4727:29:0;-1:-1:-1;;;;;4727:29:0;;;;-1:-1:-1;;;4727:29:0;;-1:-1:-1;;;;;4727:29:0;;;;;4676:92;4818:23;;;;4780:21;;5289:5;;4805:36;;-1:-1:-1;;;;;4805:36:0;:10;:36;:::i;:::-;4804:58;;;;:::i;:::-;4883:16;;;;;-1:-1:-1;4481:442:0;;-1:-1:-1;;;;4481:442:0:o;77772:171::-;9064:6;;-1:-1:-1;;;;;9064:6:0;53106:10;9211:23;9203:68;;;;-1:-1:-1;;;9203:68:0;;;;;;;:::i;:::-;77831:21:::1;77865:11:::0;77857:34:::1;;;::::0;-1:-1:-1;;;77857:34:0;;11536:2:1;77857:34:0::1;::::0;::::1;11518:21:1::0;11575:2;11555:18;;;11548:30;-1:-1:-1;;;11594:18:1;;;11587:40;11644:18;;77857:34:0::1;11334:334:1::0;77857:34:0::1;77896:42;::::0;-1:-1:-1;;;;;77904:15:0::1;77896:33;::::0;:42;::::1;;;::::0;77930:7;;77896:42:::1;::::0;;;77930:7;77896:33;:42;::::1;;;;;;;;;;;;;::::0;::::1;;;;33548:185:::0;33686:39;33703:4;33709:2;33713:7;33686:39;;;;;;;;;;;;:16;:39::i;:::-;33548:185;;;:::o;30501:144::-;30565:7;30608:27;30627:7;30608:18;:27::i;77353:123::-;9064:6;;-1:-1:-1;;;;;9064:6:0;53106:10;9211:23;9203:68;;;;-1:-1:-1;;;9203:68:0;;;;;;;:::i;:::-;77427:41:::1;77446:7;9064:6:::0;;-1:-1:-1;;;;;9064:6:0;;8991:87;77446:7:::1;77455:12;77427:18;:41::i;:::-;77353:123:::0;:::o;25744:224::-;25808:7;-1:-1:-1;;;;;25832:19:0;;25828:60;;25860:28;;-1:-1:-1;;;25860:28:0;;;;;;;;;;;25828:60;-1:-1:-1;;;;;;25906:25:0;;;;;:18;:25;;;;;;20299:13;25906:54;;25744:224::o;9642:103::-;9064:6;;-1:-1:-1;;;;;9064:6:0;53106:10;9211:23;9203:68;;;;-1:-1:-1;;;9203:68:0;;;;;;;:::i;:::-;9707:30:::1;9734:1;9707:18;:30::i;:::-;9642:103::o:0;77668:99::-;9064:6;;-1:-1:-1;;;;;9064:6:0;53106:10;9211:23;9203:68;;;;-1:-1:-1;;;9203:68:0;;;;;;;:::i;:::-;77741:18;;::::1;::::0;:12:::1;::::0;:18:::1;::::0;::::1;::::0;::::1;:::i;30881:104::-:0;30937:13;30970:7;30963:14;;;;;:::i;75644:875::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;75824:11:0;;75748:10;;75726:19;;-1:-1:-1;;;75824:11:0;;;;75798:22;24767:13;;-1:-1:-1;;24767:31:0;;24532:285;75798:22;75791:44;;;;:::i;:::-;75855:656;;;;;;;;75907:6;75855:656;;;75939:10;75855:656;;;;;;;;;;;;;;;;76022:17;75855:656;;;;;;;76078:23;75855:656;;;;;;76129:12;75855:656;;;;;;;;;;;;;76240:10;;;;75855:656;;;;76305:17;;75769:66;;-1:-1:-1;75855:656:0;;76240:10;75855:656;;;76285:37;;-1:-1:-1;;;76305:17:0;;;;;76285:37;:::i;:::-;75855:656;;;;;;76409:21;76423:6;-1:-1:-1;;;;;26139:25:0;26111:7;26139:25;;;:18;:25;;20436:2;26139:25;;;;;:49;;20299:13;26138:80;;26050:176;76409:21;75855:656;;;;;;76347:28;;;;;;;;;;;75855:656;;;;76455:8;;;;;;;75855:656;;;;;;76489:10;;;75855:656;;;;;75848:663;75644:875;-1:-1:-1;;75644:875:0:o;32934:308::-;53106:10;-1:-1:-1;;;;;33033:31:0;;;33029:61;;33073:17;;-1:-1:-1;;;33073:17:0;;;;;;;;;;;33029:61;53106:10;33103:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;33103:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;33103:60:0;;;;;;;;;;33179:55;;636:41:1;;;33103:49:0;;53106:10;33179:55;;609:18:1;33179:55:0;;;;;;;32934:308;;:::o;72814:2698::-;72879:8;;;;;;;72871:47;;;;-1:-1:-1;;;72871:47:0;;12101:2:1;72871:47:0;;;12083:21:1;12140:2;12120:18;;;12113:30;12179:28;12159:18;;;12152:56;12225:18;;72871:47:0;11899:350:1;72871:47:0;72947:10;72937:20;;:6;:20;;;;72929:59;;;;-1:-1:-1;;;72929:59:0;;12456:2:1;72929:59:0;;;12438:21:1;12495:2;12475:18;;;12468:30;12534:28;12514:18;;;12507:56;12580:18;;72929:59:0;12254:350:1;72929:59:0;73023:19;73045:15;:13;:15::i;:::-;73023:37;-1:-1:-1;73093:10:0;73122:35;;;:21;73023:37;73122:6;:21;:::i;:::-;:35;;;;73114:72;;;;-1:-1:-1;;;73114:72:0;;10753:2:1;73114:72:0;;;10735:21:1;10792:2;10772:18;;;10765:30;-1:-1:-1;;;10811:18:1;;;10804:54;10875:18;;73114:72:0;10551:348:1;73114:72:0;73236:10;73199:13;26139:25;;;:18;:25;;20436:2;26139:25;;;;;:49;;20299:13;26138:80;73286:12;73267:31;;:15;26138:80;73267:6;:15;:::i;:::-;:31;;;;73259:70;;;;-1:-1:-1;;;73259:70:0;;12811:2:1;73259:70:0;;;12793:21:1;12850:2;12830:18;;;12823:30;12889:28;12869:18;;;12862:56;12935:18;;73259:70:0;12609:350:1;73259:70:0;73374:23;73342:29;73444:31;;;;;;;;:49;;;;-1:-1:-1;73479:10:0;;;;:14;;73444:49;73440:350;;;73510:22;73535:31;73560:6;73535:22;:31;:::i;:::-;73599:10;;73510:56;;-1:-1:-1;73599:29:0;;;;:10;;:29;:60;;73649:10;;;;73599:60;;;73631:15;73599:60;73581:78;;73706:6;73688:24;;:15;:24;;;:51;;73724:15;73688:51;;;73715:6;73688:51;73674:65;;;;:::i;:::-;73754:10;:24;;73674:65;;-1:-1:-1;73674:65:0;;73754:10;;:24;;73674:65;;73754:24;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;73495:295;73440:350;73992:25;74020:19;74029:10;74020:6;:19;:::i;:::-;73992:47;-1:-1:-1;74054:22:0;;;;74050:1148;;74161:17;;74093:23;;-1:-1:-1;;;74161:17:0;;;;74093:23;74208:36;74161:17;74208;:36;:::i;:::-;74193:51;-1:-1:-1;74265:9:0;;;;74261:926;;74334:159;;-1:-1:-1;;74373:10:0;13195:2:1;13191:15;13187:53;74334:159:0;;;13175:66:1;-1:-1:-1;;;;;;13297:3:1;13275:16;;;13271:43;13257:12;;;13250:65;74441:16:0;13331:12:1;;;13324:28;74480:12:0;13368::1;;;13361:28;74295:18:0;;13405:12:1;;74334:159:0;;;;;;;;;;;;74324:170;;;;;;74316:179;;74295:200;;74521:9;74516:412;74540:18;74536:22;;:1;:22;:35;;;;;74570:1;74562:5;:9;;;74536:35;74516:412;;;74649:5;74602:52;;74633:12;74609:36;;74610:10;74623:6;74610:19;74609:36;;;;:::i;:::-;74602:52;;;74598:167;;;74683:21;74703:1;74683:21;;:::i;:::-;;-1:-1:-1;74731:10:0;74740:1;74731:10;;:::i;:::-;;;74598:167;74883:2;74869:16;;;;;74826:3;;74516:412;;;-1:-1:-1;74952:20:0;;;;74948:224;;74997:30;75011:16;74997:30;;:::i;:::-;;;75071:16;75050:17;;:37;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;75115;;;75123:10;13717:51:1;;13804:23;;;13799:2;13784:18;;13777:51;75115:37:0;;-1:-1:-1;13690:18:1;75115:37:0;;;;;;;74948:224;74276:911;74261:926;74078:1120;;;74050:1148;75210:21;75258:6;75235:19;75244:10;75235:6;:19;:::i;:::-;75234:30;;;;;;:::i;:::-;75210:54;;75296:13;75283:9;:26;;75275:63;;;;-1:-1:-1;;;75275:63:0;;14041:2:1;75275:63:0;;;14023:21:1;14080:2;14060:18;;;14053:30;14119:26;14099:18;;;14092:54;14163:18;;75275:63:0;13839:348:1;75275:63:0;75351:29;75361:10;75373:6;75351:29;;:9;:29::i;:::-;75407:13;75395:9;:25;75391:114;;;75437:56;75467:25;75479:13;75467:9;:25;:::i;:::-;75445:10;;75437:29;:56::i;:::-;72860:2652;;;;;;;72814:2698;:::o;75520:116::-;75617:11;;75566:6;;-1:-1:-1;;;75617:11:0;;;;75599:14;24767:13;;-1:-1:-1;;24767:31:0;;24532:285;75599:14;75592:36;;;;:::i;:::-;75585:43;;75520:116;:::o;33804:399::-;33971:31;33984:4;33990:2;33994:7;33971:12;:31::i;:::-;-1:-1:-1;;;;;34017:14:0;;;:19;34013:183;;34056:56;34087:4;34093:2;34097:7;34106:5;34056:30;:56::i;:::-;34051:145;;34140:40;;-1:-1:-1;;;34140:40:0;;;;;;;;;;;34051:145;33804:399;;;;:::o;76527:295::-;76600:13;76631:16;76639:7;76631;:16::i;:::-;76626:59;;76656:29;;-1:-1:-1;;;76656:29:0;;;;;;;;;;;76626:59;76698:21;76722:12;76698:36;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;76776:7;76785:18;:7;:16;:18::i;:::-;76759:54;;;;;;;;;:::i;:::-;;;;;;;;;;;;;76745:69;;;76527:295;;;:::o;71503:85::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;77570:90::-;9064:6;;-1:-1:-1;;;;;9064:6:0;53106:10;9211:23;9203:68;;;;-1:-1:-1;;;9203:68:0;;;;;;;:::i;:::-;77634:8:::1;:18:::0;;;::::1;;::::0;::::1;-1:-1:-1::0;;77634:18:0;;::::1;::::0;;;::::1;::::0;;77570:90::o;9900:201::-;9064:6;;-1:-1:-1;;;;;9064:6:0;53106:10;9211:23;9203:68;;;;-1:-1:-1;;;9203:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;9989:22:0;::::1;9981:73;;;::::0;-1:-1:-1;;;9981:73:0;;15166:2:1;9981:73:0::1;::::0;::::1;15148:21:1::0;15205:2;15185:18;;;15178:30;15244:34;15224:18;;;15217:62;-1:-1:-1;;;15295:18:1;;;15288:36;15341:19;;9981:73:0::1;14964:402:1::0;9981:73:0::1;10065:28;10084:8;10065:18;:28::i;25065:615::-:0;25150:4;-1:-1:-1;;;;;;;;;25450:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;25527:25:0;;;25450:102;:179;;;-1:-1:-1;;;;;;;;25604:25:0;-1:-1:-1;;;25604:25:0;;25065:615::o;34458:273::-;34515:4;34571:7;77556:1;34552:26;;:66;;;;;34605:13;;34595:7;:23;34552:66;:152;;;;-1:-1:-1;;34656:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;34656:43:0;:48;;34458:273::o;34815:104::-;34884:27;34894:2;34898:8;34884:27;;;;;;;;;;;;:9;:27::i;27418:1129::-;27485:7;27520;;77556:1;27569:23;27565:915;;27622:13;;27615:4;:20;27611:869;;;27660:14;27677:23;;;:17;:23;;;;;;;-1:-1:-1;;;27766:23:0;;:28;;27762:699;;28285:113;28292:6;28302:1;28292:11;28285:113;;-1:-1:-1;;;28363:6:0;28345:25;;;;:17;:25;;;;;;28285:113;;;28431:6;27418:1129;-1:-1:-1;;;27418:1129:0:o;27762:699::-;27637:843;27611:869;28508:31;;-1:-1:-1;;;28508:31:0;;;;;;;;;;;5573:332;5289:5;-1:-1:-1;;;;;5676:33:0;;;;5668:88;;;;-1:-1:-1;;;5668:88:0;;15573:2:1;5668:88:0;;;15555:21:1;15612:2;15592:18;;;15585:30;15651:34;15631:18;;;15624:62;-1:-1:-1;;;15702:18:1;;;15695:40;15752:19;;5668:88:0;15371:406:1;5668:88:0;-1:-1:-1;;;;;5775:22:0;;5767:60;;;;-1:-1:-1;;;5767:60:0;;15984:2:1;5767:60:0;;;15966:21:1;16023:2;16003:18;;;15996:30;16062:27;16042:18;;;16035:55;16107:18;;5767:60:0;15782:349:1;5767:60:0;5862:35;;;;;;;;;-1:-1:-1;;;;;5862:35:0;;;;;;-1:-1:-1;;;;;5862:35:0;;;;;;;;;;-1:-1:-1;;;5840:57:0;;;;-1:-1:-1;5840:57:0;5573:332::o;10261:191::-;10354:6;;;-1:-1:-1;;;;;10371:17:0;;;-1:-1:-1;;;;;;10371:17:0;;;;;;;10404:40;;10354:6;;;10371:17;10354:6;;10404:40;;10335:16;;10404:40;10324:128;10261:191;:::o;57699:317::-;57814:6;57789:21;:31;;57781:73;;;;-1:-1:-1;;;57781:73:0;;16338:2:1;57781:73:0;;;16320:21:1;16377:2;16357:18;;;16350:30;16416:31;16396:18;;;16389:59;16465:18;;57781:73:0;16136:353:1;57781:73:0;57868:12;57886:9;-1:-1:-1;;;;;57886:14:0;57908:6;57886:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;57867:52;;;57938:7;57930:78;;;;-1:-1:-1;;;57930:78:0;;16906:2:1;57930:78:0;;;16888:21:1;16945:2;16925:18;;;16918:30;16984:34;16964:18;;;16957:62;17055:28;17035:18;;;17028:56;17101:19;;57930:78:0;16704:422:1;48674:716:0;48858:88;;-1:-1:-1;;;48858:88:0;;48837:4;;-1:-1:-1;;;;;48858:45:0;;;;;:88;;53106:10;;48925:4;;48931:7;;48940:5;;48858:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;48858:88:0;;;;;;;;-1:-1:-1;;48858:88:0;;;;;;;;;;;;:::i;:::-;;;48854:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49141:6;:13;49158:1;49141:18;49137:235;;49187:40;;-1:-1:-1;;;49187:40:0;;;;;;;;;;;49137:235;49330:6;49324:13;49315:6;49311:2;49307:15;49300:38;48854:529;-1:-1:-1;;;;;;49017:64:0;-1:-1:-1;;;49017:64:0;;-1:-1:-1;48854:529:0;48674:716;;;;;;:::o;64081:723::-;64137:13;64358:5;64367:1;64358:10;64354:53;;-1:-1:-1;;64385:10:0;;;;;;;;;;;;-1:-1:-1;;;64385:10:0;;;;;64081:723::o;64354:53::-;64432:5;64417:12;64473:78;64480:9;;64473:78;;64506:8;;;;:::i;:::-;;-1:-1:-1;64529:10:0;;-1:-1:-1;64537:2:0;64529:10;;:::i;:::-;;;64473:78;;;64561:19;64593:6;64583:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;64583:17:0;;64561:39;;64611:154;64618:10;;64611:154;;64645:11;64655:1;64645:11;;:::i;:::-;;-1:-1:-1;64714:10:0;64722:2;64714:5;:10;:::i;:::-;64701:24;;:2;:24;:::i;:::-;64688:39;;64671:6;64678;64671:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;64671:56:0;;;;;;;;-1:-1:-1;64742:11:0;64751:2;64742:11;;:::i;:::-;;;64611:154;;35335:681;35458:19;35464:2;35468:8;35458:5;:19::i;:::-;-1:-1:-1;;;;;35519:14:0;;;:19;35515:483;;35573:13;;35621:14;;;35654:233;35685:62;35724:1;35728:2;35732:7;;;;;;35741:5;35685:30;:62::i;:::-;35680:167;;35783:40;;-1:-1:-1;;;35783:40:0;;;;;;;;;;;35680:167;35882:3;35874:5;:11;35654:233;;35969:3;35952:13;;:20;35948:34;;35974:8;;;35948:34;35540:458;;35335:681;;;:::o;36289:1529::-;36377:13;;-1:-1:-1;;;;;36405:16:0;;36401:48;;36430:19;;-1:-1:-1;;;36430:19:0;;;;;;;;;;;36401:48;36464:8;36476:1;36464:13;36460:44;;36486:18;;-1:-1:-1;;;36486:18:0;;;;;;;;;;;36460:44;-1:-1:-1;;;;;36992:22:0;;;;;;:18;:22;;20436:2;36992:22;;:70;;37030:31;37018:44;;36992:70;;;30400:11;30376:22;30372:40;-1:-1:-1;32110:15:0;;32085:23;32081:45;30369:51;30359:62;37305:31;;;;:17;:31;;;;;:173;37323:12;37554:23;;;37592:101;37619:35;;37644:9;;;;;-1:-1:-1;;;;;37619:35:0;;;37636:1;;37619:35;;37636:1;;37619:35;37688:3;37678:7;:13;37592:101;;37709:13;:19;-1:-1:-1;33548: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;688:258::-;760:1;770:113;784:6;781:1;778:13;770:113;;;860:11;;;854:18;841:11;;;834:39;806:2;799:10;770:113;;;901:6;898:1;895:13;892:48;;;-1:-1:-1;;936:1:1;918:16;;911:27;688:258::o;951:::-;993:3;1031:5;1025:12;1058:6;1053:3;1046:19;1074:63;1130:6;1123:4;1118:3;1114:14;1107:4;1100:5;1096:16;1074:63;:::i;:::-;1191:2;1170:15;-1:-1:-1;;1166:29:1;1157:39;;;;1198:4;1153:50;;951:258;-1:-1:-1;;951:258:1:o;1214:220::-;1363:2;1352:9;1345:21;1326:4;1383:45;1424:2;1413:9;1409:18;1401:6;1383:45;:::i;1439:180::-;1498:6;1551:2;1539:9;1530:7;1526:23;1522:32;1519:52;;;1567:1;1564;1557:12;1519:52;-1:-1:-1;1590:23:1;;1439:180;-1:-1:-1;1439:180:1:o;1832:173::-;1900:20;;-1:-1:-1;;;;;1949:31:1;;1939:42;;1929:70;;1995:1;1992;1985:12;1929:70;1832:173;;;:::o;2010:254::-;2078:6;2086;2139:2;2127:9;2118:7;2114:23;2110:32;2107:52;;;2155:1;2152;2145:12;2107:52;2178:29;2197:9;2178:29;:::i;:::-;2168:39;2254:2;2239:18;;;;2226:32;;-1:-1:-1;;;2010:254:1:o;2565:163::-;2632:20;;2692:10;2681:22;;2671:33;;2661:61;;2718:1;2715;2708:12;2733:258;2800:6;2808;2861:2;2849:9;2840:7;2836:23;2832:32;2829:52;;;2877:1;2874;2867:12;2829:52;2900:29;2919:9;2900:29;:::i;:::-;2890:39;;2948:37;2981:2;2970:9;2966:18;2948:37;:::i;:::-;2938:47;;2733:258;;;;;:::o;3178:328::-;3255:6;3263;3271;3324:2;3312:9;3303:7;3299:23;3295:32;3292:52;;;3340:1;3337;3330:12;3292:52;3363:29;3382:9;3363:29;:::i;:::-;3353:39;;3411:38;3445:2;3434:9;3430:18;3411:38;:::i;:::-;3401:48;;3496:2;3485:9;3481:18;3468:32;3458:42;;3178:328;;;;;:::o;3511:248::-;3579:6;3587;3640:2;3628:9;3619:7;3615:23;3611:32;3608:52;;;3656:1;3653;3646:12;3608:52;-1:-1:-1;;3679:23:1;;;3749:2;3734:18;;;3721:32;;-1:-1:-1;3511:248:1:o;4225:292::-;4283:6;4336:2;4324:9;4315:7;4311:23;4307:32;4304:52;;;4352:1;4349;4342:12;4304:52;4391:9;4378:23;-1:-1:-1;;;;;4434:5:1;4430:38;4423:5;4420:49;4410:77;;4483:1;4480;4473:12;4522:186;4581:6;4634:2;4622:9;4613:7;4609:23;4605:32;4602:52;;;4650:1;4647;4640:12;4602:52;4673:29;4692:9;4673:29;:::i;4713:127::-;4774:10;4769:3;4765:20;4762:1;4755:31;4805:4;4802:1;4795:15;4829:4;4826:1;4819:15;4845:632;4910:5;4940:18;4981:2;4973:6;4970:14;4967:40;;;4987:18;;:::i;:::-;5062:2;5056:9;5030:2;5116:15;;-1:-1:-1;;5112:24:1;;;5138:2;5108:33;5104:42;5092:55;;;5162:18;;;5182:22;;;5159:46;5156:72;;;5208:18;;:::i;:::-;5248:10;5244:2;5237:22;5277:6;5268:15;;5307:6;5299;5292:22;5347:3;5338:6;5333:3;5329:16;5326:25;5323:45;;;5364:1;5361;5354:12;5323:45;5414:6;5409:3;5402:4;5394:6;5390:17;5377:44;5469:1;5462:4;5453:6;5445;5441:19;5437:30;5430:41;;;;4845:632;;;;;:::o;5482:451::-;5551:6;5604:2;5592:9;5583:7;5579:23;5575:32;5572:52;;;5620:1;5617;5610:12;5572:52;5660:9;5647:23;5693:18;5685:6;5682:30;5679:50;;;5725:1;5722;5715:12;5679:50;5748:22;;5801:4;5793:13;;5789:27;-1:-1:-1;5779:55:1;;5830:1;5827;5820:12;5779:55;5853:74;5919:7;5914:2;5901:16;5896:2;5892;5888:11;5853:74;:::i;5938:1762::-;6151:13;;6133:32;;6212:4;6200:17;;;6194:24;6120:3;6105:19;;;6227:53;;6259:20;;6194:24;2345:10;2334:22;2322:35;;2269:94;6227:53;;6329:4;6321:6;6317:17;6311:24;6344:55;6393:4;6382:9;6378:20;6362:14;2345:10;2334:22;2322:35;;2269:94;6344:55;;6448:4;6440:6;6436:17;6430:24;6463:55;6512:4;6501:9;6497:20;6481:14;2345:10;2334:22;2322:35;;2269:94;6463:55;;6567:4;6559:6;6555:17;6549:24;6582:55;6631:4;6620:9;6616:20;6600:14;2345:10;2334:22;2322:35;;2269:94;6582:55;;6686:4;6678:6;6674:17;6668:24;6701:55;6750:4;6739:9;6735:20;6719:14;2345:10;2334:22;2322:35;;2269:94;6701:55;;6805:4;6797:6;6793:17;6787:24;6820:55;6869:4;6858:9;6854:20;6838:14;2345:10;2334:22;2322:35;;2269:94;6820:55;;6924:4;6916:6;6912:17;6906:24;6939:55;6988:4;6977:9;6973:20;6957:14;2345:10;2334:22;2322:35;;2269:94;6939:55;-1:-1:-1;7013:6:1;7056:15;;;7050:22;2345:10;2334:22;;;7115:18;;;2322:35;;;;7153:6;7196:15;;;7190:22;2334;;7255:18;;;2322:35;7293:6;7336:15;;;7330:22;470:13;463:21;7393:18;;;451:34;7431:6;7475:15;;;7469:22;470:13;463:21;7533:18;;;451:34;7571:6;7615:15;;;7609:22;2334;7675:18;;;;2322:35;;;;5938:1762;:::o;7705:160::-;7770:20;;7826:13;;7819:21;7809:32;;7799:60;;7855:1;7852;7845:12;7870:254;7935:6;7943;7996:2;7984:9;7975:7;7971:23;7967:32;7964:52;;;8012:1;8009;8002:12;7964:52;8035:29;8054:9;8035:29;:::i;:::-;8025:39;;8083:35;8114:2;8103:9;8099:18;8083:35;:::i;8129:184::-;8187:6;8240:2;8228:9;8219:7;8215:23;8211:32;8208:52;;;8256:1;8253;8246:12;8208:52;8279:28;8297:9;8279:28;:::i;8318:667::-;8413:6;8421;8429;8437;8490:3;8478:9;8469:7;8465:23;8461:33;8458:53;;;8507:1;8504;8497:12;8458:53;8530:29;8549:9;8530:29;:::i;:::-;8520:39;;8578:38;8612:2;8601:9;8597:18;8578:38;:::i;:::-;8568:48;;8663:2;8652:9;8648:18;8635:32;8625:42;;8718:2;8707:9;8703:18;8690:32;8745:18;8737:6;8734:30;8731:50;;;8777:1;8774;8767:12;8731:50;8800:22;;8853:4;8845:13;;8841:27;-1:-1:-1;8831:55:1;;8882:1;8879;8872:12;8831:55;8905:74;8971:7;8966:2;8953:16;8948:2;8944;8940:11;8905:74;:::i;:::-;8895:84;;;8318:667;;;;;;;:::o;8990:260::-;9058:6;9066;9119:2;9107:9;9098:7;9094:23;9090:32;9087:52;;;9135:1;9132;9125:12;9087:52;9158:29;9177:9;9158:29;:::i;:::-;9148:39;;9206:38;9240:2;9229:9;9225:18;9206:38;:::i;9255:180::-;9311:6;9364:2;9352:9;9343:7;9339:23;9335:32;9332:52;;;9380:1;9377;9370:12;9332:52;9403:26;9419:9;9403:26;:::i;9440:380::-;9519:1;9515:12;;;;9562;;;9583:61;;9637:4;9629:6;9625:17;9615:27;;9583:61;9690:2;9682:6;9679:14;9659:18;9656:38;9653:161;;9736:10;9731:3;9727:20;9724:1;9717:31;9771:4;9768:1;9761:15;9799:4;9796:1;9789:15;9653:161;;9440:380;;;:::o;9825:356::-;10027:2;10009:21;;;10046:18;;;10039:30;10105:34;10100:2;10085:18;;10078:62;10172:2;10157:18;;9825:356::o;10186:127::-;10247:10;10242:3;10238:20;10235:1;10228:31;10278:4;10275:1;10268:15;10302:4;10299:1;10292:15;10318:228;10357:3;10385:10;10422:2;10419:1;10415:10;10452:2;10449:1;10445:10;10483:3;10479:2;10475:12;10470:3;10467:21;10464:47;;;10491:18;;:::i;:::-;10527:13;;10318:228;-1:-1:-1;;;;10318:228:1:o;10904:168::-;10944:7;11010:1;11006;11002:6;10998:14;10995:1;10992:21;10987:1;10980:9;10973:17;10969:45;10966:71;;;11017:18;;:::i;:::-;-1:-1:-1;11057:9:1;;10904:168::o;11077:127::-;11138:10;11133:3;11129:20;11126:1;11119:31;11169:4;11166:1;11159:15;11193:4;11190:1;11183:15;11209:120;11249:1;11275;11265:35;;11280:18;;:::i;:::-;-1:-1:-1;11314:9:1;;11209:120::o;11673:221::-;11712:4;11741:10;11801;;;;11771;;11823:12;;;11820:38;;;11838:18;;:::i;:::-;11875:13;;11673:221;-1:-1:-1;;;11673:221:1:o;13428:112::-;13460:1;13486;13476:35;;13491:18;;:::i;:::-;-1:-1:-1;13525:9:1;;13428:112::o;14192:125::-;14232:4;14260:1;14257;14254:8;14251:34;;;14265:18;;:::i;:::-;-1:-1:-1;14302:9:1;;14192:125::o;14322:637::-;14602:3;14640:6;14634:13;14656:53;14702:6;14697:3;14690:4;14682:6;14678:17;14656:53;:::i;:::-;14772:13;;14731:16;;;;14794:57;14772:13;14731:16;14828:4;14816:17;;14794:57;:::i;:::-;-1:-1:-1;;;14873:20:1;;14902:22;;;14951:1;14940:13;;14322:637;-1:-1:-1;;;;14322:637:1:o;17131:489::-;-1:-1:-1;;;;;17400:15:1;;;17382:34;;17452:15;;17447:2;17432:18;;17425:43;17499:2;17484:18;;17477:34;;;17547:3;17542:2;17527:18;;17520:31;;;17325:4;;17568:46;;17594:19;;17586:6;17568:46;:::i;:::-;17560:54;17131:489;-1:-1:-1;;;;;;17131:489:1:o;17625:249::-;17694:6;17747:2;17735:9;17726:7;17722:23;17718:32;17715:52;;;17763:1;17760;17753:12;17715:52;17795:9;17789:16;17814:30;17838:5;17814:30;:::i;17879:135::-;17918:3;17939:17;;;17936:43;;17959:18;;:::i;:::-;-1:-1:-1;18006:1:1;17995:13;;17879:135::o;18019:128::-;18059:3;18090:1;18086:6;18083:1;18080:13;18077:39;;;18096:18;;:::i;:::-;-1:-1:-1;18132:9:1;;18019:128::o;18152:127::-;18213:10;18208:3;18204:20;18201:1;18194:31;18244:4;18241:1;18234:15;18268:4;18265:1;18258:15
Swarm Source
ipfs://63ce5f13987618d46b134b8ca72f83fc33d16b5156939ed3abc3f8fd688c0fca
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.