Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 35 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Withdraw | 18660726 | 400 days ago | IN | 0 ETH | 0.00056235 | ||||
Mint | 18650585 | 402 days ago | IN | 0.0042 ETH | 0.00206972 | ||||
Mint | 18650411 | 402 days ago | IN | 0.0042 ETH | 0.00186609 | ||||
Mint | 18650409 | 402 days ago | IN | 0.0042 ETH | 0.00185839 | ||||
Mint | 18650408 | 402 days ago | IN | 0.0042 ETH | 0.00190136 | ||||
Mint | 18650408 | 402 days ago | IN | 0.0042 ETH | 0.00190136 | ||||
Mint | 18650407 | 402 days ago | IN | 0.0042 ETH | 0.00193556 | ||||
Mint | 18650407 | 402 days ago | IN | 0.0042 ETH | 0.00193556 | ||||
Mint | 18649940 | 402 days ago | IN | 0.0042 ETH | 0.00205106 | ||||
Mint | 18649895 | 402 days ago | IN | 0.0042 ETH | 0.00240154 | ||||
Mint | 18649876 | 402 days ago | IN | 0.0042 ETH | 0.00232727 | ||||
Mint | 18649860 | 402 days ago | IN | 0.0042 ETH | 0.00229449 | ||||
Mint | 18649858 | 402 days ago | IN | 0.0042 ETH | 0.00231709 | ||||
Mint | 18649856 | 402 days ago | IN | 0.0042 ETH | 0.00224093 | ||||
Mint | 18649853 | 402 days ago | IN | 0.042 ETH | 0.00284983 | ||||
Mint | 18649848 | 402 days ago | IN | 0.0042 ETH | 0.0026133 | ||||
Mint | 18649845 | 402 days ago | IN | 0.0042 ETH | 0.00305912 | ||||
Mint | 18649843 | 402 days ago | IN | 0.0042 ETH | 0.00289284 | ||||
Mint | 18649840 | 402 days ago | IN | 0.021 ETH | 0.00232791 | ||||
Mint | 18649832 | 402 days ago | IN | 0.0042 ETH | 0.00280713 | ||||
Mint | 18649831 | 402 days ago | IN | 0.0042 ETH | 0.0028142 | ||||
Mint | 18649826 | 402 days ago | IN | 0.0042 ETH | 0.00205775 | ||||
Mint | 18649823 | 402 days ago | IN | 0.0042 ETH | 0.00234929 | ||||
Mint | 18649819 | 402 days ago | IN | 0.0042 ETH | 0.00224783 | ||||
Mint | 18649814 | 402 days ago | IN | 0.0042 ETH | 0.00296301 |
Latest 1 internal transaction
Advanced mode:
Parent Transaction Hash | Block |
From
|
To
|
|||
---|---|---|---|---|---|---|
18660726 | 400 days ago | 0.1932 ETH |
Loading...
Loading
Contract Name:
MO
Compiler Version
v0.8.19+commit.7dd6d404
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT // Deployed with the Atlas IDE // https://app.atlaszk.com pragma solidity ^0.8.9; import "erc721a/contracts/ERC721A.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/interfaces/IERC2981.sol"; import "@openzeppelin/contracts/token/common/ERC2981.sol"; contract MO is ERC721A, Ownable, ReentrancyGuard, ERC2981 { event DevMintEvent(address ownerAddress, uint256 startWith, uint256 amountMinted); uint256 public devTotal; uint256 public _maxSupply = 420; uint256 public _mintPrice = 0.0042 ether; uint256 public _maxMintPerTx = 10; uint256 public _maxFreeMintPerAddr = 0; uint256 public _maxFreeMintSupply = 0; uint256 public devSupply = 0; using Strings for uint256; string public baseURI; mapping(address => uint256) private _mintedFreeAmount; // Royalties address public royaltyAdd; constructor(string memory initBaseURI) ERC721A("Mars Oasis", "MO") { baseURI = initBaseURI; setDefaultRoyalty(msg.sender, 420); // 4% } // Set default royalty account & percentage function setDefaultRoyalty(address _receiver, uint96 _feeNumerator) public { royaltyAdd = _receiver; _setDefaultRoyalty(_receiver, _feeNumerator); } // Set token specific royalty function setTokenRoyalty(uint256 tokenId, uint96 feeNumerator) external onlyOwner { _setTokenRoyalty(tokenId, royaltyAdd, feeNumerator); } function royaltyInfo(uint256 _tokenId, uint256 _salePrice) public view override returns (address, uint256) { (, uint256 royaltyAmt) = super.royaltyInfo(_tokenId, _salePrice); return (royaltyAdd, royaltyAmt); } function supportsInterface(bytes4 interfaceId) public view virtual override(ERC721A, ERC2981) returns (bool) { return interfaceId == type(IERC2981).interfaceId || interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165. interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721. interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata. } function mint(uint256 count) external payable { uint256 cost = _mintPrice; bool isFree = ( (totalSupply() + count < _maxFreeMintSupply + 1) && (_mintedFreeAmount[msg.sender] + count <= _maxFreeMintPerAddr) ) || (msg.sender == owner()); if (isFree) { cost = 0; } require(msg.value >= count * cost, "Please send the exact amount."); require(totalSupply() + count < _maxSupply - devSupply + 1, "Sold out!"); require(count < _maxMintPerTx + 1, "Max per TX reached."); if (isFree) { _mintedFreeAmount[msg.sender] += count; } _safeMint(msg.sender, count); } function devMint() public onlyOwner { devTotal += devSupply; emit DevMintEvent(_msgSender(), devTotal, devSupply); _safeMint(msg.sender, devSupply); } function _baseURI() internal view virtual override returns (string memory) { return baseURI; } function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); return string(abi.encodePacked(baseURI, tokenId.toString(), ".json")); } function setBaseURI(string memory uri) public onlyOwner { baseURI = uri; } function setFreeAmount(uint256 amount) external onlyOwner { _maxFreeMintSupply = amount; } function setPrice(uint256 _newPrice) external onlyOwner { _mintPrice = _newPrice; } function setMaxMintPerTx(uint256 _newMaxMintPerTx) external onlyOwner { _maxMintPerTx = _newMaxMintPerTx; } function withdraw() public payable onlyOwner nonReentrant { (bool success, ) = payable(msg.sender).call{ value: address(this).balance }(""); require(success); } }
// SPDX-License-Identifier: MIT // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; import './IERC721A.sol'; /** * @dev Interface of ERC721 token receiver. */ interface ERC721A__IERC721Receiver { function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } /** * @title ERC721A * * @dev Implementation of the [ERC721](https://eips.ethereum.org/EIPS/eip-721) * Non-Fungible Token Standard, including the Metadata extension. * Optimized for lower gas during batch mints. * * Token IDs are minted in sequential order (e.g. 0, 1, 2, 3, ...) * starting from `_startTokenId()`. * * Assumptions: * * - An owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * - The maximum token ID cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is IERC721A { // Bypass for a `--via-ir` bug (https://github.com/chiru-labs/ERC721A/pull/364). struct TokenApprovalRef { address value; } // ============================================================= // CONSTANTS // ============================================================= // Mask of an entry in packed address data. uint256 private constant _BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1; // The bit position of `numberMinted` in packed address data. uint256 private constant _BITPOS_NUMBER_MINTED = 64; // The bit position of `numberBurned` in packed address data. uint256 private constant _BITPOS_NUMBER_BURNED = 128; // The bit position of `aux` in packed address data. uint256 private constant _BITPOS_AUX = 192; // Mask of all 256 bits in packed address data except the 64 bits for `aux`. uint256 private constant _BITMASK_AUX_COMPLEMENT = (1 << 192) - 1; // The bit position of `startTimestamp` in packed ownership. uint256 private constant _BITPOS_START_TIMESTAMP = 160; // The bit mask of the `burned` bit in packed ownership. uint256 private constant _BITMASK_BURNED = 1 << 224; // The bit position of the `nextInitialized` bit in packed ownership. uint256 private constant _BITPOS_NEXT_INITIALIZED = 225; // The bit mask of the `nextInitialized` bit in packed ownership. uint256 private constant _BITMASK_NEXT_INITIALIZED = 1 << 225; // The bit position of `extraData` in packed ownership. uint256 private constant _BITPOS_EXTRA_DATA = 232; // Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`. uint256 private constant _BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1; // The mask of the lower 160 bits for addresses. uint256 private constant _BITMASK_ADDRESS = (1 << 160) - 1; // The maximum `quantity` that can be minted with {_mintERC2309}. // This limit is to prevent overflows on the address data entries. // For a limit of 5000, a total of 3.689e15 calls to {_mintERC2309} // is required to cause an overflow, which is unrealistic. uint256 private constant _MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000; // The `Transfer` event signature is given by: // `keccak256(bytes("Transfer(address,address,uint256)"))`. bytes32 private constant _TRANSFER_EVENT_SIGNATURE = 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef; // ============================================================= // STORAGE // ============================================================= // The next token ID to be minted. uint256 private _currentIndex; // The number of tokens burned. uint256 private _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. // See {_packedOwnershipOf} implementation for details. // // Bits Layout: // - [0..159] `addr` // - [160..223] `startTimestamp` // - [224] `burned` // - [225] `nextInitialized` // - [232..255] `extraData` mapping(uint256 => uint256) private _packedOwnerships; // Mapping owner address to address data. // // Bits Layout: // - [0..63] `balance` // - [64..127] `numberMinted` // - [128..191] `numberBurned` // - [192..255] `aux` mapping(address => uint256) private _packedAddressData; // Mapping from token ID to approved address. mapping(uint256 => TokenApprovalRef) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; // ============================================================= // CONSTRUCTOR // ============================================================= constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } // ============================================================= // TOKEN COUNTING OPERATIONS // ============================================================= /** * @dev Returns the starting token ID. * To change the starting token ID, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Returns the next token ID to be minted. */ function _nextTokenId() internal view virtual returns (uint256) { return _currentIndex; } /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() public view virtual override returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than `_currentIndex - _startTokenId()` times. unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * @dev Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view virtual returns (uint256) { // Counter underflow is impossible as `_currentIndex` does not decrement, // and it is initialized to `_startTokenId()`. unchecked { return _currentIndex - _startTokenId(); } } /** * @dev Returns the total number of tokens burned. */ function _totalBurned() internal view virtual returns (uint256) { return _burnCounter; } // ============================================================= // ADDRESS DATA OPERATIONS // ============================================================= /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) public view virtual override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return _packedAddressData[owner] & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_MINTED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_BURNED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return uint64(_packedAddressData[owner] >> _BITPOS_AUX); } /** * Sets the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal virtual { uint256 packed = _packedAddressData[owner]; uint256 auxCasted; // Cast `aux` with assembly to avoid redundant masking. assembly { auxCasted := aux } packed = (packed & _BITMASK_AUX_COMPLEMENT) | (auxCasted << _BITPOS_AUX); _packedAddressData[owner] = packed; } // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { // The interface IDs are constants representing the first 4 bytes // of the XOR of all function selectors in the interface. // See: [ERC165](https://eips.ethereum.org/EIPS/eip-165) // (e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`) return interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165. interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721. interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata. } // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the token collection symbol. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId))) : ''; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, it can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } // ============================================================= // OWNERSHIPS OPERATIONS // ============================================================= /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { return address(uint160(_packedOwnershipOf(tokenId))); } /** * @dev Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around over time. */ function _ownershipOf(uint256 tokenId) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnershipOf(tokenId)); } /** * @dev Returns the unpacked `TokenOwnership` struct at `index`. */ function _ownershipAt(uint256 index) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnerships[index]); } /** * @dev Initializes the ownership slot minted at `index` for efficiency purposes. */ function _initializeOwnershipAt(uint256 index) internal virtual { if (_packedOwnerships[index] == 0) { _packedOwnerships[index] = _packedOwnershipOf(index); } } /** * Returns the packed ownership data of `tokenId`. */ function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr) if (curr < _currentIndex) { uint256 packed = _packedOwnerships[curr]; // If not burned. if (packed & _BITMASK_BURNED == 0) { // Invariant: // There will always be an initialized ownership slot // (i.e. `ownership.addr != address(0) && ownership.burned == false`) // before an unintialized ownership slot // (i.e. `ownership.addr == address(0) && ownership.burned == false`) // Hence, `curr` will not underflow. // // We can directly compare the packed value. // If the address is zero, packed will be zero. while (packed == 0) { packed = _packedOwnerships[--curr]; } return packed; } } } revert OwnerQueryForNonexistentToken(); } /** * @dev Returns the unpacked `TokenOwnership` struct from `packed`. */ function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) { ownership.addr = address(uint160(packed)); ownership.startTimestamp = uint64(packed >> _BITPOS_START_TIMESTAMP); ownership.burned = packed & _BITMASK_BURNED != 0; ownership.extraData = uint24(packed >> _BITPOS_EXTRA_DATA); } /** * @dev Packs ownership data into a single uint256. */ function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // `owner | (block.timestamp << _BITPOS_START_TIMESTAMP) | flags`. result := or(owner, or(shl(_BITPOS_START_TIMESTAMP, timestamp()), flags)) } } /** * @dev Returns the `nextInitialized` flag set if `quantity` equals 1. */ function _nextInitializedFlag(uint256 quantity) private pure returns (uint256 result) { // For branchless setting of the `nextInitialized` flag. assembly { // `(quantity == 1) << _BITPOS_NEXT_INITIALIZED`. result := shl(_BITPOS_NEXT_INITIALIZED, eq(quantity, 1)) } } // ============================================================= // APPROVAL OPERATIONS // ============================================================= /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the * zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) public payable virtual override { address owner = ownerOf(tokenId); if (_msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { revert ApprovalCallerNotOwnerNorApproved(); } _tokenApprovals[tokenId].value = to; emit Approval(owner, to, tokenId); } /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId].value; } /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} * for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool approved) public virtual override { _operatorApprovals[_msgSenderERC721A()][operator] = approved; emit ApprovalForAll(_msgSenderERC721A(), operator, approved); } /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted. See {_mint}. */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && // If within bounds, _packedOwnerships[tokenId] & _BITMASK_BURNED == 0; // and not burned. } /** * @dev Returns whether `msgSender` is equal to `approvedAddress` or `owner`. */ function _isSenderApprovedOrOwner( address approvedAddress, address owner, address msgSender ) private pure returns (bool result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean. msgSender := and(msgSender, _BITMASK_ADDRESS) // `msgSender == owner || msgSender == approvedAddress`. result := or(eq(msgSender, owner), eq(msgSender, approvedAddress)) } } /** * @dev Returns the storage slot and value for the approved address of `tokenId`. */ function _getApprovedSlotAndAddress(uint256 tokenId) private view returns (uint256 approvedAddressSlot, address approvedAddress) { TokenApprovalRef storage tokenApproval = _tokenApprovals[tokenId]; // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId].value`. assembly { approvedAddressSlot := tokenApproval.slot approvedAddress := sload(approvedAddressSlot) } } // ============================================================= // TRANSFER OPERATIONS // ============================================================= /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) public payable virtual override { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner(); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // We can directly increment and decrement the balances. --_packedAddressData[from]; // Updates: `balance -= 1`. ++_packedAddressData[to]; // Updates: `balance += 1`. // Updates: // - `address` to the next owner. // - `startTimestamp` to the timestamp of transfering. // - `burned` to `false`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( to, _BITMASK_NEXT_INITIALIZED | _nextExtraData(from, to, prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public payable virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public payable virtual override { transferFrom(from, to, tokenId); if (to.code.length != 0) if (!_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @dev Hook that is called before a set of serially-ordered token IDs * are about to be transferred. This includes minting. * And also called before burning one token. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token IDs * have been transferred. This includes minting. * And also called after one token has been burned. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Private function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * `from` - Previous owner of the given token ID. * `to` - Target address that will receive the token. * `tokenId` - Token ID to be transferred. * `_data` - Optional data to send along with the call. * * Returns whether the call correctly returned the expected magic value. */ function _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns ( bytes4 retval ) { return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } // ============================================================= // MINT OPERATIONS // ============================================================= /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event for each mint. */ function _mint(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // `balance` and `numberMinted` have a maximum limit of 2**64. // `tokenId` has a maximum limit of 2**256. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); uint256 toMasked; uint256 end = startTokenId + quantity; // Use assembly to loop and emit the `Transfer` event for gas savings. // The duplicated `log4` removes an extra check and reduces stack juggling. // The assembly, together with the surrounding Solidity code, have been // delicately arranged to nudge the compiler into producing optimized opcodes. assembly { // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean. toMasked := and(to, _BITMASK_ADDRESS) // Emit the `Transfer` event. log4( 0, // Start of data (0, since no data). 0, // End of data (0, since no data). _TRANSFER_EVENT_SIGNATURE, // Signature. 0, // `address(0)`. toMasked, // `to`. startTokenId // `tokenId`. ) // The `iszero(eq(,))` check ensures that large values of `quantity` // that overflows uint256 will make the loop run out of gas. // The compiler will optimize the `iszero` away for performance. for { let tokenId := add(startTokenId, 1) } iszero(eq(tokenId, end)) { tokenId := add(tokenId, 1) } { // Emit the `Transfer` event. Similar to above. log4(0, 0, _TRANSFER_EVENT_SIGNATURE, 0, toMasked, tokenId) } } if (toMasked == 0) revert MintToZeroAddress(); _currentIndex = end; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * This function is intended for efficient minting only during contract creation. * * It emits only one {ConsecutiveTransfer} as defined in * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309), * instead of a sequence of {Transfer} event(s). * * Calling this function outside of contract creation WILL make your contract * non-compliant with the ERC721 standard. * For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309 * {ConsecutiveTransfer} event is only permissible during contract creation. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {ConsecutiveTransfer} event. */ function _mintERC2309(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); if (quantity > _MAX_MINT_ERC2309_QUANTITY_LIMIT) revert MintERC2309QuantityExceedsLimit(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are unrealistic due to the above check for `quantity` to be below the limit. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); emit ConsecutiveTransfer(startTokenId, startTokenId + quantity - 1, address(0), to); _currentIndex = startTokenId + quantity; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * See {_mint}. * * Emits a {Transfer} event for each mint. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal virtual { _mint(to, quantity); unchecked { if (to.code.length != 0) { uint256 end = _currentIndex; uint256 index = end - quantity; do { if (!_checkContractOnERC721Received(address(0), to, index++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (index < end); // Reentrancy protection. if (_currentIndex != end) revert(); } } } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal virtual { _safeMint(to, quantity, ''); } // ============================================================= // BURN OPERATIONS // ============================================================= /** * @dev Equivalent to `_burn(tokenId, false)`. */ function _burn(uint256 tokenId) internal virtual { _burn(tokenId, false); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId, bool approvalCheck) internal virtual { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); address from = address(uint160(prevOwnershipPacked)); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); if (approvalCheck) { // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // Updates: // - `balance -= 1`. // - `numberBurned += 1`. // // We can directly decrement the balance, and increment the number burned. // This is equivalent to `packed -= 1; packed += 1 << _BITPOS_NUMBER_BURNED;`. _packedAddressData[from] += (1 << _BITPOS_NUMBER_BURNED) - 1; // Updates: // - `address` to the last owner. // - `startTimestamp` to the timestamp of burning. // - `burned` to `true`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( from, (_BITMASK_BURNED | _BITMASK_NEXT_INITIALIZED) | _nextExtraData(from, address(0), prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } // ============================================================= // EXTRA DATA OPERATIONS // ============================================================= /** * @dev Directly sets the extra data for the ownership data `index`. */ function _setExtraDataAt(uint256 index, uint24 extraData) internal virtual { uint256 packed = _packedOwnerships[index]; if (packed == 0) revert OwnershipNotInitializedForExtraData(); uint256 extraDataCasted; // Cast `extraData` with assembly to avoid redundant masking. assembly { extraDataCasted := extraData } packed = (packed & _BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << _BITPOS_EXTRA_DATA); _packedOwnerships[index] = packed; } /** * @dev Called during each token transfer to set the 24bit `extraData` field. * Intended to be overridden by the cosumer contract. * * `previousExtraData` - the value of `extraData` before transfer. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _extraData( address from, address to, uint24 previousExtraData ) internal view virtual returns (uint24) {} /** * @dev Returns the next extra data for the packed ownership data. * The returned result is shifted into position. */ function _nextExtraData( address from, address to, uint256 prevOwnershipPacked ) private view returns (uint256) { uint24 extraData = uint24(prevOwnershipPacked >> _BITPOS_EXTRA_DATA); return uint256(_extraData(from, to, extraData)) << _BITPOS_EXTRA_DATA; } // ============================================================= // OTHER OPERATIONS // ============================================================= /** * @dev Returns the message sender (defaults to `msg.sender`). * * If you are writing GSN compatible contracts, you need to override this function. */ function _msgSenderERC721A() internal view virtual returns (address) { return msg.sender; } /** * @dev Converts a uint256 to its ASCII string decimal representation. */ function _toString(uint256 value) internal pure virtual returns (string memory str) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), but // we allocate 0xa0 bytes to keep the free memory pointer 32-byte word aligned. // We will need 1 word for the trailing zeros padding, 1 word for the length, // and 3 words for a maximum of 78 digits. Total: 5 * 0x20 = 0xa0. let m := add(mload(0x40), 0xa0) // Update the free memory pointer to allocate. mstore(0x40, m) // Assign the `str` to the end. str := sub(m, 0x20) // Zeroize the slot after the string. mstore(str, 0) // Cache the end of the memory to calculate the length later. let end := str // We write the string from rightmost digit to leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // prettier-ignore for { let temp := value } 1 {} { str := sub(str, 1) // Write the character to the pointer. // The ASCII index of the '0' character is 48. mstore8(str, add(48, mod(temp, 10))) // Keep dividing `temp` until zero. temp := div(temp, 10) // prettier-ignore if iszero(temp) { break } } let length := sub(end, str) // Move the pointer 32 bytes leftwards to make room for the length. str := sub(str, 0x20) // Store the length. mstore(str, length) } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby disabling any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { _nonReentrantBefore(); _; _nonReentrantAfter(); } function _nonReentrantBefore() private { // On the first call to nonReentrant, _status will be _NOT_ENTERED require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; } function _nonReentrantAfter() private { // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } /** * @dev Returns true if the reentrancy guard is currently set to "entered", which indicates there is a * `nonReentrant` function in the call stack. */ function _reentrancyGuardEntered() internal view returns (bool) { return _status == _ENTERED; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (utils/Strings.sol) pragma solidity ^0.8.0; import "./math/Math.sol"; import "./math/SignedMath.sol"; /** * @dev String operations. */ library Strings { bytes16 private constant _SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { unchecked { uint256 length = Math.log10(value) + 1; string memory buffer = new string(length); uint256 ptr; /// @solidity memory-safe-assembly assembly { ptr := add(buffer, add(32, length)) } while (true) { ptr--; /// @solidity memory-safe-assembly assembly { mstore8(ptr, byte(mod(value, 10), _SYMBOLS)) } value /= 10; if (value == 0) break; } return buffer; } } /** * @dev Converts a `int256` to its ASCII `string` decimal representation. */ function toString(int256 value) internal pure returns (string memory) { return string(abi.encodePacked(value < 0 ? "-" : "", toString(SignedMath.abs(value)))); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { unchecked { return toHexString(value, Math.log256(value) + 1); } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } /** * @dev Returns true if the two strings are equal. */ function equal(string memory a, string memory b) internal pure returns (bool) { return keccak256(bytes(a)) == keccak256(bytes(b)); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (interfaces/IERC2981.sol) pragma solidity ^0.8.0; import "../utils/introspection/IERC165.sol"; /** * @dev Interface for the NFT Royalty Standard. * * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal * support for royalty payments across all NFT marketplaces and ecosystem participants. * * _Available since v4.5._ */ interface IERC2981 is IERC165 { /** * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of * exchange. The royalty amount is denominated and should be paid in that same unit of exchange. */ function royaltyInfo( uint256 tokenId, uint256 salePrice ) external view returns (address receiver, uint256 royaltyAmount); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (token/common/ERC2981.sol) pragma solidity ^0.8.0; import "../../interfaces/IERC2981.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of the NFT Royalty Standard, a standardized way to retrieve royalty payment information. * * Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for * specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first. * * Royalty is specified as a fraction of sale price. {_feeDenominator} is overridable but defaults to 10000, meaning the * fee is specified in basis points by default. * * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported. * * _Available since v4.5._ */ abstract contract ERC2981 is IERC2981, ERC165 { struct RoyaltyInfo { address receiver; uint96 royaltyFraction; } RoyaltyInfo private _defaultRoyaltyInfo; mapping(uint256 => RoyaltyInfo) private _tokenRoyaltyInfo; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC165) returns (bool) { return interfaceId == type(IERC2981).interfaceId || super.supportsInterface(interfaceId); } /** * @inheritdoc IERC2981 */ function royaltyInfo(uint256 tokenId, uint256 salePrice) public view virtual override returns (address, uint256) { RoyaltyInfo memory royalty = _tokenRoyaltyInfo[tokenId]; if (royalty.receiver == address(0)) { royalty = _defaultRoyaltyInfo; } uint256 royaltyAmount = (salePrice * royalty.royaltyFraction) / _feeDenominator(); return (royalty.receiver, royaltyAmount); } /** * @dev The denominator with which to interpret the fee set in {_setTokenRoyalty} and {_setDefaultRoyalty} as a * fraction of the sale price. Defaults to 10000 so fees are expressed in basis points, but may be customized by an * override. */ function _feeDenominator() internal pure virtual returns (uint96) { return 10000; } /** * @dev Sets the royalty information that all ids in this contract will default to. * * Requirements: * * - `receiver` cannot be the zero address. * - `feeNumerator` cannot be greater than the fee denominator. */ function _setDefaultRoyalty(address receiver, uint96 feeNumerator) internal virtual { require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice"); require(receiver != address(0), "ERC2981: invalid receiver"); _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator); } /** * @dev Removes default royalty information. */ function _deleteDefaultRoyalty() internal virtual { delete _defaultRoyaltyInfo; } /** * @dev Sets the royalty information for a specific token id, overriding the global default. * * Requirements: * * - `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]; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (utils/math/Math.sol) pragma solidity ^0.8.0; /** * @dev Standard math utilities missing in the Solidity language. */ library Math { enum Rounding { Down, // Toward negative infinity Up, // Toward infinity Zero // Toward zero } /** * @dev Returns the largest of two numbers. */ function max(uint256 a, uint256 b) internal pure returns (uint256) { return a > b ? a : b; } /** * @dev Returns the smallest of two numbers. */ function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } /** * @dev Returns the average of two numbers. The result is rounded towards * zero. */ function average(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b) / 2 can overflow. return (a & b) + (a ^ b) / 2; } /** * @dev Returns the ceiling of the division of two numbers. * * This differs from standard division with `/` in that it rounds up instead * of rounding down. */ function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b - 1) / b can overflow on addition, so we distribute. return a == 0 ? 0 : (a - 1) / b + 1; } /** * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0 * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) * with further edits by Uniswap Labs also under MIT license. */ function mulDiv(uint256 x, uint256 y, uint256 denominator) internal pure returns (uint256 result) { unchecked { // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256 // variables such that product = prod1 * 2^256 + prod0. uint256 prod0; // Least significant 256 bits of the product uint256 prod1; // Most significant 256 bits of the product assembly { let mm := mulmod(x, y, not(0)) prod0 := mul(x, y) prod1 := sub(sub(mm, prod0), lt(mm, prod0)) } // Handle non-overflow cases, 256 by 256 division. if (prod1 == 0) { // Solidity will revert if denominator == 0, unlike the div opcode on its own. // The surrounding unchecked block does not change this fact. // See https://docs.soliditylang.org/en/latest/control-structures.html#checked-or-unchecked-arithmetic. return prod0 / denominator; } // Make sure the result is less than 2^256. Also prevents denominator == 0. require(denominator > prod1, "Math: mulDiv overflow"); /////////////////////////////////////////////// // 512 by 256 division. /////////////////////////////////////////////// // Make division exact by subtracting the remainder from [prod1 prod0]. uint256 remainder; assembly { // Compute remainder using mulmod. remainder := mulmod(x, y, denominator) // Subtract 256 bit number from 512 bit number. prod1 := sub(prod1, gt(remainder, prod0)) prod0 := sub(prod0, remainder) } // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1. // See https://cs.stackexchange.com/q/138556/92363. // Does not overflow because the denominator cannot be zero at this stage in the function. uint256 twos = denominator & (~denominator + 1); assembly { // Divide denominator by twos. denominator := div(denominator, twos) // Divide [prod1 prod0] by twos. prod0 := div(prod0, twos) // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one. twos := add(div(sub(0, twos), twos), 1) } // Shift in bits from prod1 into prod0. prod0 |= prod1 * twos; // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for // four bits. That is, denominator * inv = 1 mod 2^4. uint256 inverse = (3 * denominator) ^ 2; // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works // in modular arithmetic, doubling the correct bits in each step. inverse *= 2 - denominator * inverse; // inverse mod 2^8 inverse *= 2 - denominator * inverse; // inverse mod 2^16 inverse *= 2 - denominator * inverse; // inverse mod 2^32 inverse *= 2 - denominator * inverse; // inverse mod 2^64 inverse *= 2 - denominator * inverse; // inverse mod 2^128 inverse *= 2 - denominator * inverse; // inverse mod 2^256 // Because the division is now exact we can divide by multiplying with the modular inverse of denominator. // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1 // is no longer required. result = prod0 * inverse; return result; } } /** * @notice Calculates x * y / denominator with full precision, following the selected rounding direction. */ function mulDiv(uint256 x, uint256 y, uint256 denominator, Rounding rounding) internal pure returns (uint256) { uint256 result = mulDiv(x, y, denominator); if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) { result += 1; } return result; } /** * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down. * * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11). */ function sqrt(uint256 a) internal pure returns (uint256) { if (a == 0) { return 0; } // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target. // // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`. // // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)` // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))` // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)` // // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit. uint256 result = 1 << (log2(a) >> 1); // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128, // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision // into the expected uint128 result. unchecked { result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; return min(result, a / result); } } /** * @notice Calculates sqrt(a), following the selected rounding direction. */ function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = sqrt(a); return result + (rounding == Rounding.Up && result * result < a ? 1 : 0); } } /** * @dev Return the log in base 2, rounded down, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 128; } if (value >> 64 > 0) { value >>= 64; result += 64; } if (value >> 32 > 0) { value >>= 32; result += 32; } if (value >> 16 > 0) { value >>= 16; result += 16; } if (value >> 8 > 0) { value >>= 8; result += 8; } if (value >> 4 > 0) { value >>= 4; result += 4; } if (value >> 2 > 0) { value >>= 2; result += 2; } if (value >> 1 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 2, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log2(value); return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0); } } /** * @dev Return the log in base 10, rounded down, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >= 10 ** 64) { value /= 10 ** 64; result += 64; } if (value >= 10 ** 32) { value /= 10 ** 32; result += 32; } if (value >= 10 ** 16) { value /= 10 ** 16; result += 16; } if (value >= 10 ** 8) { value /= 10 ** 8; result += 8; } if (value >= 10 ** 4) { value /= 10 ** 4; result += 4; } if (value >= 10 ** 2) { value /= 10 ** 2; result += 2; } if (value >= 10 ** 1) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log10(value); return result + (rounding == Rounding.Up && 10 ** result < value ? 1 : 0); } } /** * @dev Return the log in base 256, rounded down, of a positive value. * Returns 0 if given 0. * * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string. */ function log256(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 16; } if (value >> 64 > 0) { value >>= 64; result += 8; } if (value >> 32 > 0) { value >>= 32; result += 4; } if (value >> 16 > 0) { value >>= 16; result += 2; } if (value >> 8 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 256, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log256(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log256(value); return result + (rounding == Rounding.Up && 1 << (result << 3) < value ? 1 : 0); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (utils/math/SignedMath.sol) pragma solidity ^0.8.0; /** * @dev Standard signed math utilities missing in the Solidity language. */ library SignedMath { /** * @dev Returns the largest of two signed numbers. */ function max(int256 a, int256 b) internal pure returns (int256) { return a > b ? a : b; } /** * @dev Returns the smallest of two signed numbers. */ function min(int256 a, int256 b) internal pure returns (int256) { return a < b ? a : b; } /** * @dev Returns the average of two signed numbers without overflow. * The result is rounded towards zero. */ function average(int256 a, int256 b) internal pure returns (int256) { // Formula from the book "Hacker's Delight" int256 x = (a & b) + ((a ^ b) >> 1); return x + (int256(uint256(x) >> 255) & (a ^ b)); } /** * @dev Returns the absolute unsigned value of a signed value. */ function abs(int256 n) internal pure returns (uint256) { unchecked { // must be unchecked in order to support `n = type(int256).min` return uint256(n >= 0 ? n : -n); } } }
// SPDX-License-Identifier: MIT // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of ERC721A. */ interface IERC721A { /** * The caller must own the token or be an approved operator. */ error ApprovalCallerNotOwnerNorApproved(); /** * The token does not exist. */ error ApprovalQueryForNonexistentToken(); /** * Cannot query the balance for the zero address. */ error BalanceQueryForZeroAddress(); /** * Cannot mint to the zero address. */ error MintToZeroAddress(); /** * The quantity of tokens minted must be more than zero. */ error MintZeroQuantity(); /** * The token does not exist. */ error OwnerQueryForNonexistentToken(); /** * The caller must own the token or be an approved operator. */ error TransferCallerNotOwnerNorApproved(); /** * The token must be owned by `from`. */ error TransferFromIncorrectOwner(); /** * Cannot safely transfer to a contract that does not implement the * ERC721Receiver interface. */ error TransferToNonERC721ReceiverImplementer(); /** * Cannot transfer to the zero address. */ error TransferToZeroAddress(); /** * The token does not exist. */ error URIQueryForNonexistentToken(); /** * The `quantity` minted with ERC2309 exceeds the safety limit. */ error MintERC2309QuantityExceedsLimit(); /** * The `extraData` cannot be set on an unintialized ownership slot. */ error OwnershipNotInitializedForExtraData(); // ============================================================= // STRUCTS // ============================================================= struct TokenOwnership { // The address of the owner. address addr; // Stores the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; // Arbitrary data similar to `startTimestamp` that can be set via {_extraData}. uint24 extraData; } // ============================================================= // TOKEN COUNTERS // ============================================================= /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() external view returns (uint256); // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); // ============================================================= // IERC721 // ============================================================= /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables * (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, * checking first that contract recipients are aware of the ERC721 protocol * to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move * this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external payable; /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external payable; /** * @dev Transfers `tokenId` from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} * whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external payable; /** * @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 payable; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} * for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) external view returns (bool); // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); // ============================================================= // IERC2309 // ============================================================= /** * @dev Emitted when tokens in `fromTokenId` to `toTokenId` * (inclusive) is transferred from `from` to `to`, as defined in the * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309) standard. * * See {_mintERC2309} for more details. */ event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to); }
{ "optimizer": { "enabled": true, "runs": 200 }, "libraries": {}, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"initBaseURI","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","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":false,"internalType":"address","name":"ownerAddress","type":"address"},{"indexed":false,"internalType":"uint256","name":"startWith","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amountMinted","type":"uint256"}],"name":"DevMintEvent","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"_maxFreeMintPerAddr","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_maxFreeMintSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_maxMintPerTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_mintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"devMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"devSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"devTotal","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"count","type":"uint256"}],"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":[],"name":"royaltyAdd","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","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":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"uri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_receiver","type":"address"},{"internalType":"uint96","name":"_feeNumerator","type":"uint96"}],"name":"setDefaultRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setFreeAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newMaxMintPerTx","type":"uint256"}],"name":"setMaxMintPerTx","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newPrice","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint96","name":"feeNumerator","type":"uint96"}],"name":"setTokenRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"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":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"}]
Contract Creation Code
60806040526101a4600d55660eebe0b40e8000600e55600a600f556000601055600060115560006012553480156200003657600080fd5b50604051620023433803806200234383398101604081905262000059916200028a565b6040518060400160405280600a8152602001694d617273204f6173697360b01b815250604051806040016040528060028152602001614d4f60f01b8152508160029081620000a89190620003ee565b506003620000b78282620003ee565b50506000805550620000c933620000f2565b60016009556013620000dc8282620003ee565b50620000eb336101a462000144565b50620004ba565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b601580546001600160a01b0319166001600160a01b0384161790556200016b82826200016f565b5050565b6127106001600160601b0382161115620001e35760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b60648201526084015b60405180910390fd5b6001600160a01b0382166200023b5760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c6964207265636569766572000000000000006044820152606401620001da565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600a55565b634e487b7160e01b600052604160045260246000fd5b600060208083850312156200029e57600080fd5b82516001600160401b0380821115620002b657600080fd5b818501915085601f830112620002cb57600080fd5b815181811115620002e057620002e062000274565b604051601f8201601f19908116603f011681019083821181831017156200030b576200030b62000274565b8160405282815288868487010111156200032457600080fd5b600093505b8284101562000348578484018601518185018701529285019262000329565b600086848301015280965050505050505092915050565b600181811c908216806200037457607f821691505b6020821081036200039557634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620003e957600081815260208120601f850160051c81016020861015620003c45750805b601f850160051c820191505b81811015620003e557828155600101620003d0565b5050505b505050565b81516001600160401b038111156200040a576200040a62000274565b62000422816200041b84546200035f565b846200039b565b602080601f8311600181146200045a5760008415620004415750858301515b600019600386901b1c1916600185901b178555620003e5565b600085815260208120601f198616915b828110156200048b578886015182559484019460019091019084016200046a565b5085821015620004aa5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b611e7980620004ca6000396000f3fe60806040526004361061020f5760003560e01c80636352211e1161011857806395d89b41116100a0578063b88d4fde1161006f578063b88d4fde14610595578063c87b56dd146105a8578063de314a59146105c8578063e985e9c5146105de578063f2fde38b146105fe57600080fd5b806395d89b41146105375780639cb57d201461054c578063a0712d6814610562578063a22cb4651461057557600080fd5b8063715018a6116100e7578063715018a6146104af5780637c69e207146104c45780638da5cb5b146104d957806391b7f5ed146104f757806392910eec1461051757600080fd5b80636352211e1461043a57806367a4f4a91461045a5780636c0360eb1461047a57806370a082311461048f57600080fd5b806322f4596f1161019b57806341c66d0a1161016a57806341c66d0a146103bb57806342842e0e146103d157806355f804b3146103e45780635e1c4b6014610404578063616cdb1e1461041a57600080fd5b806322f4596f1461034b57806323b872dd146103615780632a55205a146103745780633ccfd60b146103b357600080fd5b8063081812fc116101e2578063081812fc146102b1578063095ea7b3146102e95780630afb04db146102fc57806318160ddd14610312578063190866921461032b57600080fd5b806301ffc9a7146102145780630387da421461024957806304634d8d1461026d57806306fdde031461028f575b600080fd5b34801561022057600080fd5b5061023461022f3660046117d7565b61061e565b60405190151581526020015b60405180910390f35b34801561025557600080fd5b5061025f600e5481565b604051908152602001610240565b34801561027957600080fd5b5061028d610288366004611827565b61068b565b005b34801561029b57600080fd5b506102a46106b4565b60405161024091906118aa565b3480156102bd57600080fd5b506102d16102cc3660046118bd565b610746565b6040516001600160a01b039091168152602001610240565b61028d6102f73660046118d6565b61078a565b34801561030857600080fd5b5061025f600c5481565b34801561031e57600080fd5b506001546000540361025f565b34801561033757600080fd5b506015546102d1906001600160a01b031681565b34801561035757600080fd5b5061025f600d5481565b61028d61036f366004611900565b61082a565b34801561038057600080fd5b5061039461038f36600461193c565b6109c3565b604080516001600160a01b039093168352602083019190915201610240565b61028d6109ea565b3480156103c757600080fd5b5061025f60125481565b61028d6103df366004611900565b610a5c565b3480156103f057600080fd5b5061028d6103ff3660046119ea565b610a7c565b34801561041057600080fd5b5061025f60115481565b34801561042657600080fd5b5061028d6104353660046118bd565b610a90565b34801561044657600080fd5b506102d16104553660046118bd565b610a9d565b34801561046657600080fd5b5061028d610475366004611a33565b610aa8565b34801561048657600080fd5b506102a4610ac8565b34801561049b57600080fd5b5061025f6104aa366004611a56565b610b56565b3480156104bb57600080fd5b5061028d610ba5565b3480156104d057600080fd5b5061028d610bb7565b3480156104e557600080fd5b506008546001600160a01b03166102d1565b34801561050357600080fd5b5061028d6105123660046118bd565b610c2b565b34801561052357600080fd5b5061028d6105323660046118bd565b610c38565b34801561054357600080fd5b506102a4610c45565b34801561055857600080fd5b5061025f60105481565b61028d6105703660046118bd565b610c54565b34801561058157600080fd5b5061028d610590366004611a71565b610e1c565b61028d6105a3366004611aad565b610e88565b3480156105b457600080fd5b506102a46105c33660046118bd565b610ed2565b3480156105d457600080fd5b5061025f600f5481565b3480156105ea57600080fd5b506102346105f9366004611b29565b610f73565b34801561060a57600080fd5b5061028d610619366004611a56565b610fa1565b60006001600160e01b0319821663152a902d60e11b148061064f57506301ffc9a760e01b6001600160e01b03198316145b8061066a57506380ac58cd60e01b6001600160e01b03198316145b806106855750635b5e139f60e01b6001600160e01b03198316145b92915050565b601580546001600160a01b0319166001600160a01b0384161790556106b0828261101a565b5050565b6060600280546106c390611b53565b80601f01602080910402602001604051908101604052809291908181526020018280546106ef90611b53565b801561073c5780601f106107115761010080835404028352916020019161073c565b820191906000526020600020905b81548152906001019060200180831161071f57829003601f168201915b5050505050905090565b6000610751826110d4565b61076e576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061079582610a9d565b9050336001600160a01b038216146107ce576107b18133610f73565b6107ce576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000610835826110fb565b9050836001600160a01b0316816001600160a01b0316146108685760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b038816909114176108b5576108988633610f73565b6108b557604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0385166108dc57604051633a954ecd60e21b815260040160405180910390fd5b80156108e757600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b84169003610979576001840160008181526004602052604081205490036109775760005481146109775760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b60008060006109d28585611169565b6015546001600160a01b031697909650945050505050565b6109f2611215565b6109fa61126f565b604051600090339047908381818185875af1925050503d8060008114610a3c576040519150601f19603f3d011682016040523d82523d6000602084013e610a41565b606091505b5050905080610a4f57600080fd5b50610a5a6001600955565b565b610a7783838360405180602001604052806000815250610e88565b505050565b610a84611215565b60136106b08282611bd3565b610a98611215565b600f55565b6000610685826110fb565b610ab0611215565b6015546106b09083906001600160a01b0316836112c8565b60138054610ad590611b53565b80601f0160208091040260200160405190810160405280929190818152602001828054610b0190611b53565b8015610b4e5780601f10610b2357610100808354040283529160200191610b4e565b820191906000526020600020905b815481529060010190602001808311610b3157829003601f168201915b505050505081565b60006001600160a01b038216610b7f576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610bad611215565b610a5a6000611393565b610bbf611215565b601254600c6000828254610bd39190611ca9565b9091555050600c5460125460408051338152602081019390935282810191909152517f8d8664e4328cbcd16b52db004cff5622d17995140cefada9f4578b857f9b204e9181900360600190a1610a5a336012546113e5565b610c33611215565b600e55565b610c40611215565b601155565b6060600380546106c390611b53565b600e54601154600090610c68906001611ca9565b83610c766001546000540390565b610c809190611ca9565b108015610ca9575060105433600090815260146020526040902054610ca6908590611ca9565b11155b80610cbe57506008546001600160a01b031633145b90508015610ccb57600091505b610cd58284611cbc565b341015610d295760405162461bcd60e51b815260206004820152601d60248201527f506c656173652073656e642074686520657861637420616d6f756e742e00000060448201526064015b60405180910390fd5b601254600d54610d399190611cd3565b610d44906001611ca9565b83610d526001546000540390565b610d5c9190611ca9565b10610d955760405162461bcd60e51b8152602060048201526009602482015268536f6c64206f75742160b81b6044820152606401610d20565b600f54610da3906001611ca9565b8310610de75760405162461bcd60e51b815260206004820152601360248201527226b0bc103832b9102a2c103932b0b1b432b21760691b6044820152606401610d20565b8015610e12573360009081526014602052604081208054859290610e0c908490611ca9565b90915550505b610a7733846113e5565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610e9384848461082a565b6001600160a01b0383163b15610ecc57610eaf848484846113ff565b610ecc576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6060610edd826110d4565b610f415760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610d20565b6013610f4c836114eb565b604051602001610f5d929190611ce6565b6040516020818303038152906040529050919050565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b610fa9611215565b6001600160a01b03811661100e5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610d20565b61101781611393565b50565b6127106001600160601b03821611156110455760405162461bcd60e51b8152600401610d2090611d7d565b6001600160a01b03821661109b5760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c6964207265636569766572000000000000006044820152606401610d20565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600a55565b6000805482108015610685575050600090815260046020526040902054600160e01b161590565b6000816000548110156111505760008181526004602052604081205490600160e01b8216900361114e575b80600003611147575060001901600081815260046020526040902054611126565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b6000828152600b602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b03169282019290925282916111de575060408051808201909152600a546001600160a01b0381168252600160a01b90046001600160601b031660208201525b6020810151600090612710906111fd906001600160601b031687611cbc565b6112079190611dc7565b915196919550909350505050565b6008546001600160a01b03163314610a5a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610d20565b6002600954036112c15760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610d20565b6002600955565b6127106001600160601b03821611156112f35760405162461bcd60e51b8152600401610d2090611d7d565b6001600160a01b0382166113495760405162461bcd60e51b815260206004820152601b60248201527f455243323938313a20496e76616c696420706172616d657465727300000000006044820152606401610d20565b6040805180820182526001600160a01b0393841681526001600160601b0392831660208083019182526000968752600b90529190942093519051909116600160a01b029116179055565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6106b082826040518060200160405280600081525061157e565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611434903390899088908890600401611de9565b6020604051808303816000875af192505050801561146f575060408051601f3d908101601f1916820190925261146c91810190611e26565b60015b6114cd573d80801561149d576040519150601f19603f3d011682016040523d82523d6000602084013e6114a2565b606091505b5080516000036114c5576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b606060006114f8836115eb565b600101905060008167ffffffffffffffff8111156115185761151861195e565b6040519080825280601f01601f191660200182016040528015611542576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461154c57509392505050565b61158883836116c3565b6001600160a01b0383163b15610a77576000548281035b6115b260008683806001019450866113ff565b6115cf576040516368d2bf6b60e11b815260040160405180910390fd5b81811061159f5781600054146115e457600080fd5b5050505050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b831061162a5772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310611656576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061167457662386f26fc10000830492506010015b6305f5e100831061168c576305f5e100830492506008015b61271083106116a057612710830492506004015b606483106116b2576064830492506002015b600a83106106855760010192915050565b60008054908290036116e85760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b81811461179757808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a460010161175f565b50816000036117b857604051622e076360e81b815260040160405180910390fd5b60005550505050565b6001600160e01b03198116811461101757600080fd5b6000602082840312156117e957600080fd5b8135611147816117c1565b80356001600160a01b038116811461180b57600080fd5b919050565b80356001600160601b038116811461180b57600080fd5b6000806040838503121561183a57600080fd5b611843836117f4565b915061185160208401611810565b90509250929050565b60005b8381101561187557818101518382015260200161185d565b50506000910152565b6000815180845261189681602086016020860161185a565b601f01601f19169290920160200192915050565b602081526000611147602083018461187e565b6000602082840312156118cf57600080fd5b5035919050565b600080604083850312156118e957600080fd5b6118f2836117f4565b946020939093013593505050565b60008060006060848603121561191557600080fd5b61191e846117f4565b925061192c602085016117f4565b9150604084013590509250925092565b6000806040838503121561194f57600080fd5b50508035926020909101359150565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561198f5761198f61195e565b604051601f8501601f19908116603f011681019082821181831017156119b7576119b761195e565b816040528093508581528686860111156119d057600080fd5b858560208301376000602087830101525050509392505050565b6000602082840312156119fc57600080fd5b813567ffffffffffffffff811115611a1357600080fd5b8201601f81018413611a2457600080fd5b6114e384823560208401611974565b60008060408385031215611a4657600080fd5b8235915061185160208401611810565b600060208284031215611a6857600080fd5b611147826117f4565b60008060408385031215611a8457600080fd5b611a8d836117f4565b915060208301358015158114611aa257600080fd5b809150509250929050565b60008060008060808587031215611ac357600080fd5b611acc856117f4565b9350611ada602086016117f4565b925060408501359150606085013567ffffffffffffffff811115611afd57600080fd5b8501601f81018713611b0e57600080fd5b611b1d87823560208401611974565b91505092959194509250565b60008060408385031215611b3c57600080fd5b611b45836117f4565b9150611851602084016117f4565b600181811c90821680611b6757607f821691505b602082108103611b8757634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115610a7757600081815260208120601f850160051c81016020861015611bb45750805b601f850160051c820191505b818110156109bb57828155600101611bc0565b815167ffffffffffffffff811115611bed57611bed61195e565b611c0181611bfb8454611b53565b84611b8d565b602080601f831160018114611c365760008415611c1e5750858301515b600019600386901b1c1916600185901b1785556109bb565b600085815260208120601f198616915b82811015611c6557888601518255948401946001909101908401611c46565b5085821015611c835787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b8082018082111561068557610685611c93565b808202811582820484141761068557610685611c93565b8181038181111561068557610685611c93565b6000808454611cf481611b53565b60018281168015611d0c5760018114611d2157611d50565b60ff1984168752821515830287019450611d50565b8860005260208060002060005b85811015611d475781548a820152908401908201611d2e565b50505082870194505b505050508351611d6481836020880161185a565b64173539b7b760d91b9101908152600501949350505050565b6020808252602a908201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646040820152692073616c65507269636560b01b606082015260800190565b600082611de457634e487b7160e01b600052601260045260246000fd5b500490565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611e1c9083018461187e565b9695505050505050565b600060208284031215611e3857600080fd5b8151611147816117c156fea2646970667358221220bb7cb2b8e64dd28964e605bc2efc679f9a46ad321811b5b346bf99b450368a7d64736f6c6343000813003300000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d52427566777a4662363334396f3948346559474a6b6d31596e384c5167506a76544564415a7938733443696b2f00000000000000000000
Deployed Bytecode
0x60806040526004361061020f5760003560e01c80636352211e1161011857806395d89b41116100a0578063b88d4fde1161006f578063b88d4fde14610595578063c87b56dd146105a8578063de314a59146105c8578063e985e9c5146105de578063f2fde38b146105fe57600080fd5b806395d89b41146105375780639cb57d201461054c578063a0712d6814610562578063a22cb4651461057557600080fd5b8063715018a6116100e7578063715018a6146104af5780637c69e207146104c45780638da5cb5b146104d957806391b7f5ed146104f757806392910eec1461051757600080fd5b80636352211e1461043a57806367a4f4a91461045a5780636c0360eb1461047a57806370a082311461048f57600080fd5b806322f4596f1161019b57806341c66d0a1161016a57806341c66d0a146103bb57806342842e0e146103d157806355f804b3146103e45780635e1c4b6014610404578063616cdb1e1461041a57600080fd5b806322f4596f1461034b57806323b872dd146103615780632a55205a146103745780633ccfd60b146103b357600080fd5b8063081812fc116101e2578063081812fc146102b1578063095ea7b3146102e95780630afb04db146102fc57806318160ddd14610312578063190866921461032b57600080fd5b806301ffc9a7146102145780630387da421461024957806304634d8d1461026d57806306fdde031461028f575b600080fd5b34801561022057600080fd5b5061023461022f3660046117d7565b61061e565b60405190151581526020015b60405180910390f35b34801561025557600080fd5b5061025f600e5481565b604051908152602001610240565b34801561027957600080fd5b5061028d610288366004611827565b61068b565b005b34801561029b57600080fd5b506102a46106b4565b60405161024091906118aa565b3480156102bd57600080fd5b506102d16102cc3660046118bd565b610746565b6040516001600160a01b039091168152602001610240565b61028d6102f73660046118d6565b61078a565b34801561030857600080fd5b5061025f600c5481565b34801561031e57600080fd5b506001546000540361025f565b34801561033757600080fd5b506015546102d1906001600160a01b031681565b34801561035757600080fd5b5061025f600d5481565b61028d61036f366004611900565b61082a565b34801561038057600080fd5b5061039461038f36600461193c565b6109c3565b604080516001600160a01b039093168352602083019190915201610240565b61028d6109ea565b3480156103c757600080fd5b5061025f60125481565b61028d6103df366004611900565b610a5c565b3480156103f057600080fd5b5061028d6103ff3660046119ea565b610a7c565b34801561041057600080fd5b5061025f60115481565b34801561042657600080fd5b5061028d6104353660046118bd565b610a90565b34801561044657600080fd5b506102d16104553660046118bd565b610a9d565b34801561046657600080fd5b5061028d610475366004611a33565b610aa8565b34801561048657600080fd5b506102a4610ac8565b34801561049b57600080fd5b5061025f6104aa366004611a56565b610b56565b3480156104bb57600080fd5b5061028d610ba5565b3480156104d057600080fd5b5061028d610bb7565b3480156104e557600080fd5b506008546001600160a01b03166102d1565b34801561050357600080fd5b5061028d6105123660046118bd565b610c2b565b34801561052357600080fd5b5061028d6105323660046118bd565b610c38565b34801561054357600080fd5b506102a4610c45565b34801561055857600080fd5b5061025f60105481565b61028d6105703660046118bd565b610c54565b34801561058157600080fd5b5061028d610590366004611a71565b610e1c565b61028d6105a3366004611aad565b610e88565b3480156105b457600080fd5b506102a46105c33660046118bd565b610ed2565b3480156105d457600080fd5b5061025f600f5481565b3480156105ea57600080fd5b506102346105f9366004611b29565b610f73565b34801561060a57600080fd5b5061028d610619366004611a56565b610fa1565b60006001600160e01b0319821663152a902d60e11b148061064f57506301ffc9a760e01b6001600160e01b03198316145b8061066a57506380ac58cd60e01b6001600160e01b03198316145b806106855750635b5e139f60e01b6001600160e01b03198316145b92915050565b601580546001600160a01b0319166001600160a01b0384161790556106b0828261101a565b5050565b6060600280546106c390611b53565b80601f01602080910402602001604051908101604052809291908181526020018280546106ef90611b53565b801561073c5780601f106107115761010080835404028352916020019161073c565b820191906000526020600020905b81548152906001019060200180831161071f57829003601f168201915b5050505050905090565b6000610751826110d4565b61076e576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061079582610a9d565b9050336001600160a01b038216146107ce576107b18133610f73565b6107ce576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000610835826110fb565b9050836001600160a01b0316816001600160a01b0316146108685760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b038816909114176108b5576108988633610f73565b6108b557604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0385166108dc57604051633a954ecd60e21b815260040160405180910390fd5b80156108e757600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b84169003610979576001840160008181526004602052604081205490036109775760005481146109775760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b60008060006109d28585611169565b6015546001600160a01b031697909650945050505050565b6109f2611215565b6109fa61126f565b604051600090339047908381818185875af1925050503d8060008114610a3c576040519150601f19603f3d011682016040523d82523d6000602084013e610a41565b606091505b5050905080610a4f57600080fd5b50610a5a6001600955565b565b610a7783838360405180602001604052806000815250610e88565b505050565b610a84611215565b60136106b08282611bd3565b610a98611215565b600f55565b6000610685826110fb565b610ab0611215565b6015546106b09083906001600160a01b0316836112c8565b60138054610ad590611b53565b80601f0160208091040260200160405190810160405280929190818152602001828054610b0190611b53565b8015610b4e5780601f10610b2357610100808354040283529160200191610b4e565b820191906000526020600020905b815481529060010190602001808311610b3157829003601f168201915b505050505081565b60006001600160a01b038216610b7f576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610bad611215565b610a5a6000611393565b610bbf611215565b601254600c6000828254610bd39190611ca9565b9091555050600c5460125460408051338152602081019390935282810191909152517f8d8664e4328cbcd16b52db004cff5622d17995140cefada9f4578b857f9b204e9181900360600190a1610a5a336012546113e5565b610c33611215565b600e55565b610c40611215565b601155565b6060600380546106c390611b53565b600e54601154600090610c68906001611ca9565b83610c766001546000540390565b610c809190611ca9565b108015610ca9575060105433600090815260146020526040902054610ca6908590611ca9565b11155b80610cbe57506008546001600160a01b031633145b90508015610ccb57600091505b610cd58284611cbc565b341015610d295760405162461bcd60e51b815260206004820152601d60248201527f506c656173652073656e642074686520657861637420616d6f756e742e00000060448201526064015b60405180910390fd5b601254600d54610d399190611cd3565b610d44906001611ca9565b83610d526001546000540390565b610d5c9190611ca9565b10610d955760405162461bcd60e51b8152602060048201526009602482015268536f6c64206f75742160b81b6044820152606401610d20565b600f54610da3906001611ca9565b8310610de75760405162461bcd60e51b815260206004820152601360248201527226b0bc103832b9102a2c103932b0b1b432b21760691b6044820152606401610d20565b8015610e12573360009081526014602052604081208054859290610e0c908490611ca9565b90915550505b610a7733846113e5565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610e9384848461082a565b6001600160a01b0383163b15610ecc57610eaf848484846113ff565b610ecc576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6060610edd826110d4565b610f415760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610d20565b6013610f4c836114eb565b604051602001610f5d929190611ce6565b6040516020818303038152906040529050919050565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b610fa9611215565b6001600160a01b03811661100e5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610d20565b61101781611393565b50565b6127106001600160601b03821611156110455760405162461bcd60e51b8152600401610d2090611d7d565b6001600160a01b03821661109b5760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c6964207265636569766572000000000000006044820152606401610d20565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600a55565b6000805482108015610685575050600090815260046020526040902054600160e01b161590565b6000816000548110156111505760008181526004602052604081205490600160e01b8216900361114e575b80600003611147575060001901600081815260046020526040902054611126565b9392505050565b505b604051636f96cda160e11b815260040160405180910390fd5b6000828152600b602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b03169282019290925282916111de575060408051808201909152600a546001600160a01b0381168252600160a01b90046001600160601b031660208201525b6020810151600090612710906111fd906001600160601b031687611cbc565b6112079190611dc7565b915196919550909350505050565b6008546001600160a01b03163314610a5a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610d20565b6002600954036112c15760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610d20565b6002600955565b6127106001600160601b03821611156112f35760405162461bcd60e51b8152600401610d2090611d7d565b6001600160a01b0382166113495760405162461bcd60e51b815260206004820152601b60248201527f455243323938313a20496e76616c696420706172616d657465727300000000006044820152606401610d20565b6040805180820182526001600160a01b0393841681526001600160601b0392831660208083019182526000968752600b90529190942093519051909116600160a01b029116179055565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6106b082826040518060200160405280600081525061157e565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611434903390899088908890600401611de9565b6020604051808303816000875af192505050801561146f575060408051601f3d908101601f1916820190925261146c91810190611e26565b60015b6114cd573d80801561149d576040519150601f19603f3d011682016040523d82523d6000602084013e6114a2565b606091505b5080516000036114c5576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b606060006114f8836115eb565b600101905060008167ffffffffffffffff8111156115185761151861195e565b6040519080825280601f01601f191660200182016040528015611542576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461154c57509392505050565b61158883836116c3565b6001600160a01b0383163b15610a77576000548281035b6115b260008683806001019450866113ff565b6115cf576040516368d2bf6b60e11b815260040160405180910390fd5b81811061159f5781600054146115e457600080fd5b5050505050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b831061162a5772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310611656576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061167457662386f26fc10000830492506010015b6305f5e100831061168c576305f5e100830492506008015b61271083106116a057612710830492506004015b606483106116b2576064830492506002015b600a83106106855760010192915050565b60008054908290036116e85760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b81811461179757808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a460010161175f565b50816000036117b857604051622e076360e81b815260040160405180910390fd5b60005550505050565b6001600160e01b03198116811461101757600080fd5b6000602082840312156117e957600080fd5b8135611147816117c1565b80356001600160a01b038116811461180b57600080fd5b919050565b80356001600160601b038116811461180b57600080fd5b6000806040838503121561183a57600080fd5b611843836117f4565b915061185160208401611810565b90509250929050565b60005b8381101561187557818101518382015260200161185d565b50506000910152565b6000815180845261189681602086016020860161185a565b601f01601f19169290920160200192915050565b602081526000611147602083018461187e565b6000602082840312156118cf57600080fd5b5035919050565b600080604083850312156118e957600080fd5b6118f2836117f4565b946020939093013593505050565b60008060006060848603121561191557600080fd5b61191e846117f4565b925061192c602085016117f4565b9150604084013590509250925092565b6000806040838503121561194f57600080fd5b50508035926020909101359150565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561198f5761198f61195e565b604051601f8501601f19908116603f011681019082821181831017156119b7576119b761195e565b816040528093508581528686860111156119d057600080fd5b858560208301376000602087830101525050509392505050565b6000602082840312156119fc57600080fd5b813567ffffffffffffffff811115611a1357600080fd5b8201601f81018413611a2457600080fd5b6114e384823560208401611974565b60008060408385031215611a4657600080fd5b8235915061185160208401611810565b600060208284031215611a6857600080fd5b611147826117f4565b60008060408385031215611a8457600080fd5b611a8d836117f4565b915060208301358015158114611aa257600080fd5b809150509250929050565b60008060008060808587031215611ac357600080fd5b611acc856117f4565b9350611ada602086016117f4565b925060408501359150606085013567ffffffffffffffff811115611afd57600080fd5b8501601f81018713611b0e57600080fd5b611b1d87823560208401611974565b91505092959194509250565b60008060408385031215611b3c57600080fd5b611b45836117f4565b9150611851602084016117f4565b600181811c90821680611b6757607f821691505b602082108103611b8757634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115610a7757600081815260208120601f850160051c81016020861015611bb45750805b601f850160051c820191505b818110156109bb57828155600101611bc0565b815167ffffffffffffffff811115611bed57611bed61195e565b611c0181611bfb8454611b53565b84611b8d565b602080601f831160018114611c365760008415611c1e5750858301515b600019600386901b1c1916600185901b1785556109bb565b600085815260208120601f198616915b82811015611c6557888601518255948401946001909101908401611c46565b5085821015611c835787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b8082018082111561068557610685611c93565b808202811582820484141761068557610685611c93565b8181038181111561068557610685611c93565b6000808454611cf481611b53565b60018281168015611d0c5760018114611d2157611d50565b60ff1984168752821515830287019450611d50565b8860005260208060002060005b85811015611d475781548a820152908401908201611d2e565b50505082870194505b505050508351611d6481836020880161185a565b64173539b7b760d91b9101908152600501949350505050565b6020808252602a908201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646040820152692073616c65507269636560b01b606082015260800190565b600082611de457634e487b7160e01b600052601260045260246000fd5b500490565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611e1c9083018461187e565b9695505050505050565b600060208284031215611e3857600080fd5b8151611147816117c156fea2646970667358221220bb7cb2b8e64dd28964e605bc2efc679f9a46ad321811b5b346bf99b450368a7d64736f6c63430008130033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d52427566777a4662363334396f3948346559474a6b6d31596e384c5167506a76544564415a7938733443696b2f00000000000000000000
-----Decoded View---------------
Arg [0] : initBaseURI (string): ipfs://QmRBufwzFb6349o9H4eYGJkm1Yn8LQgPjvTEdAZy8s4Cik/
-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [2] : 697066733a2f2f516d52427566777a4662363334396f3948346559474a6b6d31
Arg [3] : 596e384c5167506a76544564415a7938733443696b2f00000000000000000000
Deployed Bytecode Sourcemap
447:3713:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1854:411;;;;;;;;;;-1:-1:-1;1854:411:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:13;;558:22;540:41;;528:2;513:18;1854:411:0;;;;;;;;665:40;;;;;;;;;;;;;;;;;;;738:25:13;;;726:2;711:18;665:40:0;592:177:13;1252:168:0;;;;;;;;;;-1:-1:-1;1252:168:0;;;;;:::i;:::-;;:::i;:::-;;10039:98:11;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;16360:214::-;;;;;;;;;;-1:-1:-1;16360:214:11;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;2504:32:13;;;2486:51;;2474:2;2459:18;16360:214:11;2340:203:13;15812:398:11;;;;;;:::i;:::-;;:::i;599:23:0:-;;;;;;;;;;;;;;;;5894:317:11;;;;;;;;;;-1:-1:-1;6164:12:11;;5955:7;6148:13;:28;5894:317;;1009:25:0;;;;;;;;;;-1:-1:-1;1009:25:0;;;;-1:-1:-1;;;;;1009:25:0;;;628:31;;;;;;;;;;;;;;;;19903:2764:11;;;;;;:::i;:::-;;:::i;1618:229:0:-;;;;;;;;;;-1:-1:-1;1618:229:0;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;3585:32:13;;;3567:51;;3649:2;3634:18;;3627:34;;;;3540:18;1618:229:0;3393:274:13;3978:180:0;;;:::i;837:28::-;;;;;;;;;;;;;;;;22758:187:11;;;;;;:::i;:::-;;:::i;3548:86:0:-;;;;;;;;;;-1:-1:-1;3548:86:0;;;;;:::i;:::-;;:::i;794:37::-;;;;;;;;;;;;;;;;3852:119;;;;;;;;;;-1:-1:-1;3852:119:0;;;;;:::i;:::-;;:::i;11391:150:11:-;;;;;;;;;;-1:-1:-1;11391:150:11;;;;;:::i;:::-;;:::i;1461::0:-;;;;;;;;;;-1:-1:-1;1461:150:0;;;;;:::i;:::-;;:::i;904:21::-;;;;;;;;;;;;;:::i;7045:230:11:-;;;;;;;;;;-1:-1:-1;7045:230:11;;;;;:::i;:::-;;:::i;1824:101:1:-;;;;;;;;;;;;;:::i;2978:178:0:-;;;;;;;;;;;;;:::i;1201:85:1:-;;;;;;;;;;-1:-1:-1;1273:6:1;;-1:-1:-1;;;;;1273:6:1;1201:85;;3750:95:0;;;;;;;;;;-1:-1:-1;3750:95:0;;;;;:::i;:::-;;:::i;3641:102::-;;;;;;;;;;-1:-1:-1;3641:102:0;;;;;:::i;:::-;;:::i;10208::11:-;;;;;;;;;;;;;:::i;750:38:0:-;;;;;;;;;;;;;;;;2272:699;;;;;;:::i;:::-;;:::i;16901:231:11:-;;;;;;;;;;-1:-1:-1;16901:231:11;;;;;:::i;:::-;;:::i;23526:396::-;;;;;;:::i;:::-;;:::i;3281:260:0:-;;;;;;;;;;-1:-1:-1;3281:260:0;;;;;:::i;:::-;;:::i;711:33::-;;;;;;;;;;;;;;;;17282:162:11;;;;;;;;;;-1:-1:-1;17282:162:11;;;;;:::i;:::-;;:::i;2074:198:1:-;;;;;;;;;;-1:-1:-1;2074:198:1;;;;;:::i;:::-;;:::i;1854:411:0:-;1957:4;-1:-1:-1;;;;;;1980:41:0;;-1:-1:-1;;;1980:41:0;;:83;;-1:-1:-1;;;;;;;;;;2038:25:0;;;1980:83;:159;;;-1:-1:-1;;;;;;;;;;2114:25:0;;;1980:159;:235;;;-1:-1:-1;;;;;;;;;;2190:25:0;;;1980:235;1973:242;1854:411;-1:-1:-1;;1854:411:0:o;1252:168::-;1337:10;:22;;-1:-1:-1;;;;;;1337:22:0;-1:-1:-1;;;;;1337:22:0;;;;;1369:44;1337:22;1399:13;1369:18;:44::i;:::-;1252:168;;:::o;10039:98:11:-;10093:13;10125:5;10118:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10039:98;:::o;16360:214::-;16436:7;16460:16;16468:7;16460;:16::i;:::-;16455:64;;16485:34;;-1:-1:-1;;;16485:34:11;;;;;;;;;;;16455:64;-1:-1:-1;16537:24:11;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;16537:30:11;;16360:214::o;15812:398::-;15900:13;15916:16;15924:7;15916;:16::i;:::-;15900:32;-1:-1:-1;39523:10:11;-1:-1:-1;;;;;15947:28:11;;;15943:172;;15994:44;16011:5;39523:10;17282:162;:::i;15994:44::-;15989:126;;16065:35;;-1:-1:-1;;;16065:35:11;;;;;;;;;;;15989:126;16125:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;16125:35:11;-1:-1:-1;;;;;16125:35:11;;;;;;;;;16175:28;;16125:24;;16175:28;;;;;;;15890:320;15812:398;;:::o;19903:2764::-;20040:27;20070;20089:7;20070:18;:27::i;:::-;20040:57;;20153:4;-1:-1:-1;;;;;20112:45:11;20128:19;-1:-1:-1;;;;;20112:45:11;;20108:86;;20166:28;;-1:-1:-1;;;20166:28:11;;;;;;;;;;;20108:86;20206:27;19036:24;;;:15;:24;;;;;19260:26;;39523:10;18673:30;;;-1:-1:-1;;;;;18370:28:11;;18651:20;;;18648:56;20389:179;;20481:43;20498:4;39523:10;17282:162;:::i;20481:43::-;20476:92;;20533:35;;-1:-1:-1;;;20533:35:11;;;;;;;;;;;20476:92;-1:-1:-1;;;;;20583:16:11;;20579:52;;20608:23;;-1:-1:-1;;;20608:23:11;;;;;;;;;;;20579:52;20774:15;20771:157;;;20912:1;20891:19;20884:30;20771:157;-1:-1:-1;;;;;21300:24:11;;;;;;;:18;:24;;;;;;21298:26;;-1:-1:-1;;21298:26:11;;;21368:22;;;;;;;;;21366:24;;-1:-1:-1;21366:24:11;;;14703:11;14678:23;14674:41;14661:63;-1:-1:-1;;;14661:63:11;21654:26;;;;:17;:26;;;;;:172;;;;-1:-1:-1;;;21943:47:11;;:52;;21939:617;;22047:1;22037:11;;22015:19;22168:30;;;:17;:30;;;;;;:35;;22164:378;;22304:13;;22289:11;:28;22285:239;;22449:30;;;;:17;:30;;;;;:52;;;22285:239;21997:559;21939:617;22600:7;22596:2;-1:-1:-1;;;;;22581:27:11;22590:4;-1:-1:-1;;;;;22581:27:11;;;;;;;;;;;22618:42;20030:2637;;;19903:2764;;;:::o;1618:229:0:-;1707:7;1716;1738:18;1760:39;1778:8;1788:10;1760:17;:39::i;:::-;1817:10;;-1:-1:-1;;;;;1817:10:0;;1735:64;;-1:-1:-1;1618:229:0;-1:-1:-1;;;;;1618:229:0:o;3978:180::-;1094:13:1;:11;:13::i;:::-;2261:21:3::1;:19;:21::i;:::-;4065:60:0::2;::::0;4047:12:::2;::::0;4073:10:::2;::::0;4098:21:::2;::::0;4047:12;4065:60;4047:12;4065:60;4098:21;4073:10;4065:60:::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4046:79;;;4143:7;4135:16;;;::::0;::::2;;4036:122;2303:20:3::1;1716:1:::0;2809:7;:22;2629:209;2303:20:::1;3978:180:0:o:0;22758:187:11:-;22899:39;22916:4;22922:2;22926:7;22899:39;;;;;;;;;;;;:16;:39::i;:::-;22758:187;;;:::o;3548:86:0:-;1094:13:1;:11;:13::i;:::-;3614:7:0::1;:13;3624:3:::0;3614:7;:13:::1;:::i;3852:119::-:0;1094:13:1;:11;:13::i;:::-;3932::0::1;:32:::0;3852:119::o;11391:150:11:-;11463:7;11505:27;11524:7;11505:18;:27::i;1461:150:0:-;1094:13:1;:11;:13::i;:::-;1579:10:0::1;::::0;1553:51:::1;::::0;1570:7;;-1:-1:-1;;;;;1579:10:0::1;1591:12:::0;1553:16:::1;:51::i;904:21::-:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;7045:230:11:-;7117:7;-1:-1:-1;;;;;7140:19:11;;7136:60;;7168:28;;-1:-1:-1;;;7168:28:11;;;;;;;;;;;7136:60;-1:-1:-1;;;;;;7213:25:11;;;;;:18;:25;;;;;;1360:13;7213:55;;7045:230::o;1824:101:1:-;1094:13;:11;:13::i;:::-;1888:30:::1;1915:1;1888:18;:30::i;2978:178:0:-:0;1094:13:1;:11;:13::i;:::-;3036:9:0::1;;3024:8;;:21;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;;3087:8:0::1;::::0;3097:9:::1;::::0;3060:47:::1;::::0;;39523:10:11;9897:51:13;;9979:2;9964:18;;9957:34;;;;10007:18;;;10000:34;;;;3060:47:0;::::1;::::0;;;;9885:2:13;3060:47:0;;::::1;3117:32;3127:10;3139:9;;3117;:32::i;3750:95::-:0;1094:13:1;:11;:13::i;:::-;3816:10:0::1;:22:::0;3750:95::o;3641:102::-;1094:13:1;:11;:13::i;:::-;3709:18:0::1;:27:::0;3641:102::o;10208::11:-;10264:13;10296:7;10289:14;;;;;:::i;2272:699:0:-;2343:10;;2416:18;;2328:12;;2416:22;;2437:1;2416:22;:::i;:::-;2408:5;2392:13;6164:12:11;;5955:7;6148:13;:28;;5894:317;2392:13:0;:21;;;;:::i;:::-;:46;2391:126;;;;-1:-1:-1;2497:19:0;;2474:10;2456:29;;;;:17;:29;;;;;;:37;;2488:5;;2456:37;:::i;:::-;:60;;2391:126;2377:177;;;-1:-1:-1;1273:6:1;;-1:-1:-1;;;;;1273:6:1;2532:10:0;:21;2377:177;2363:191;;2570:6;2566:45;;;2599:1;2592:8;;2566:45;2643:12;2651:4;2643:5;:12;:::i;:::-;2630:9;:25;;2622:67;;;;-1:-1:-1;;;2622:67:0;;10420:2:13;2622:67:0;;;10402:21:13;10459:2;10439:18;;;10432:30;10498:31;10478:18;;;10471:59;10547:18;;2622:67:0;;;;;;;;;2744:9;;2731:10;;:22;;;;:::i;:::-;:26;;2756:1;2731:26;:::i;:::-;2723:5;2707:13;6164:12:11;;5955:7;6148:13;:28;;5894:317;2707:13:0;:21;;;;:::i;:::-;:50;2699:72;;;;-1:-1:-1;;;2699:72:0;;10911:2:13;2699:72:0;;;10893:21:13;10950:1;10930:18;;;10923:29;-1:-1:-1;;;10968:18:13;;;10961:39;11017:18;;2699:72:0;10709:332:13;2699:72:0;2797:13;;:17;;2813:1;2797:17;:::i;:::-;2789:5;:25;2781:57;;;;-1:-1:-1;;;2781:57:0;;11248:2:13;2781:57:0;;;11230:21:13;11287:2;11267:18;;;11260:30;-1:-1:-1;;;11306:18:13;;;11299:49;11365:18;;2781:57:0;11046:343:13;2781:57:0;2854:6;2850:75;;;2894:10;2876:29;;;;:17;:29;;;;;:38;;2909:5;;2876:29;:38;;2909:5;;2876:38;:::i;:::-;;;;-1:-1:-1;;2850:75:0;2936:28;2946:10;2958:5;2936:9;:28::i;16901:231:11:-;39523:10;16995:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;16995:49:11;;;;;;;;;;;;:60;;-1:-1:-1;;16995:60:11;;;;;;;;;;17070:55;;540:41:13;;;16995:49:11;;39523:10;17070:55;;513:18:13;17070:55:11;;;;;;;16901:231;;:::o;23526:396::-;23695:31;23708:4;23714:2;23718:7;23695:12;:31::i;:::-;-1:-1:-1;;;;;23740:14:11;;;:19;23736:180;;23778:56;23809:4;23815:2;23819:7;23828:5;23778:30;:56::i;:::-;23773:143;;23861:40;;-1:-1:-1;;;23861:40:11;;;;;;;;;;;23773:143;23526:396;;;;:::o;3281:260:0:-;3354:13;3387:16;3395:7;3387;:16::i;:::-;3379:76;;;;-1:-1:-1;;;3379:76:0;;11596:2:13;3379:76:0;;;11578:21:13;11635:2;11615:18;;;11608:30;11674:34;11654:18;;;11647:62;-1:-1:-1;;;11725:18:13;;;11718:45;11780:19;;3379:76:0;11394:411:13;3379:76:0;3496:7;3505:18;:7;:16;:18::i;:::-;3479:54;;;;;;;;;:::i;:::-;;;;;;;;;;;;;3465:69;;3281:260;;;:::o;17282:162:11:-;-1:-1:-1;;;;;17402:25:11;;;17379:4;17402:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;17282:162::o;2074:198:1:-;1094:13;:11;:13::i;:::-;-1:-1:-1;;;;;2162:22:1;::::1;2154:73;;;::::0;-1:-1:-1;;;2154:73:1;;13204:2:13;2154:73:1::1;::::0;::::1;13186:21:13::0;13243:2;13223:18;;;13216:30;13282:34;13262:18;;;13255:62;-1:-1:-1;;;13333:18:13;;;13326:36;13379:19;;2154:73:1::1;13002:402:13::0;2154:73:1::1;2237:28;2256:8;2237:18;:28::i;:::-;2074:198:::0;:::o;2730:327:4:-;2457:5;-1:-1:-1;;;;;2832:33:4;;;;2824:88;;;;-1:-1:-1;;;2824:88:4;;;;;;;:::i;:::-;-1:-1:-1;;;;;2930:22:4;;2922:60;;;;-1:-1:-1;;;2922:60:4;;14022:2:13;2922:60:4;;;14004:21:13;14061:2;14041:18;;;14034:30;14100:27;14080:18;;;14073:55;14145:18;;2922:60:4;13820:349:13;2922:60:4;3015:35;;;;;;;;;-1:-1:-1;;;;;3015:35:4;;;;;;-1:-1:-1;;;;;3015:35:4;;;;;;;;;;-1:-1:-1;;;2993:57:4;;;;:19;:57;2730:327::o;17693:277:11:-;17758:4;17845:13;;17835:7;:23;17793:151;;;;-1:-1:-1;;17895:26:11;;;;:17;:26;;;;;;-1:-1:-1;;;17895:44:11;:49;;17693:277::o;12515:1249::-;12582:7;12616;12714:13;;12707:4;:20;12703:997;;;12751:14;12768:23;;;:17;:23;;;;;;;-1:-1:-1;;;12855:24:11;;:29;;12851:831;;13510:111;13517:6;13527:1;13517:11;13510:111;;-1:-1:-1;;;13587:6:11;13569:25;;;;:17;:25;;;;;;13510:111;;;13653:6;12515:1249;-1:-1:-1;;;12515:1249:11:o;12851:831::-;12729:971;12703:997;13726:31;;-1:-1:-1;;;13726:31:11;;;;;;;;;;;1671:428:4;1766:7;1823:26;;;:17;:26;;;;;;;;1794:55;;;;;;;;;-1:-1:-1;;;;;1794:55:4;;;;;-1:-1:-1;;;1794:55:4;;;-1:-1:-1;;;;;1794:55:4;;;;;;;;1766:7;;1860:90;;-1:-1:-1;1910:29:4;;;;;;;;;1920:19;1910:29;-1:-1:-1;;;;;1910:29:4;;;;-1:-1:-1;;;1910:29:4;;-1:-1:-1;;;;;1910:29:4;;;;;1860:90;1997:23;;;;1960:21;;2457:5;;1985:35;;-1:-1:-1;;;;;1985:35:4;:9;:35;:::i;:::-;1984:57;;;;:::i;:::-;2060:16;;;;;-1:-1:-1;1671:428:4;;-1:-1:-1;;;;1671:428:4:o;1359:130:1:-;1273:6;;-1:-1:-1;;;;;1273:6:1;39523:10:11;1422:23:1;1414:68;;;;-1:-1:-1;;;1414:68:1;;14730:2:13;1414:68:1;;;14712:21:13;;;14749:18;;;14742:30;14808:34;14788:18;;;14781:62;14860:18;;1414:68:1;14528:356:13;2336:287:3;1759:1;2468:7;;:19;2460:63;;;;-1:-1:-1;;;2460:63:3;;15091:2:13;2460:63:3;;;15073:21:13;15130:2;15110:18;;;15103:30;15169:33;15149:18;;;15142:61;15220:18;;2460:63:3;14889:355:13;2460:63:3;1759:1;2598:7;:18;2336:287::o;3491:351:4:-;2457:5;-1:-1:-1;;;;;3608:33:4;;;;3600:88;;;;-1:-1:-1;;;3600:88:4;;;;;;;:::i;:::-;-1:-1:-1;;;;;3706:22:4;;3698:62;;;;-1:-1:-1;;;3698:62:4;;15451:2:13;3698:62:4;;;15433:21:13;15490:2;15470:18;;;15463:30;15529:29;15509:18;;;15502:57;15576:18;;3698:62:4;15249:351:13;3698:62:4;3800:35;;;;;;;;-1:-1:-1;;;;;3800:35:4;;;;;-1:-1:-1;;;;;3800:35:4;;;;;;;;;;-1:-1:-1;3771:26:4;;;:17;:26;;;;;;:64;;;;;;;-1:-1:-1;;;3771:64:4;;;;;;3491:351::o;2426:187:1:-;2518:6;;;-1:-1:-1;;;;;2534:17:1;;;-1:-1:-1;;;;;;2534:17:1;;;;;;;2566:40;;2518:6;;;2534:17;2518:6;;2566:40;;2499:16;;2566:40;2489:124;2426:187;:::o;33423:110:11:-;33499:27;33509:2;33513:8;33499:27;;;;;;;;;;;;:9;:27::i;25948:697::-;26126:88;;-1:-1:-1;;;26126:88:11;;26106:4;;-1:-1:-1;;;;;26126:45:11;;;;;:88;;39523:10;;26193:4;;26199:7;;26208:5;;26126:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;26126:88:11;;;;;;;;-1:-1:-1;;26126:88:11;;;;;;;;;;;;:::i;:::-;;;26122:517;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26404:6;:13;26421:1;26404:18;26400:229;;26449:40;;-1:-1:-1;;;26449:40:11;;;;;;;;;;;26400:229;26589:6;26583:13;26574:6;26570:2;26566:15;26559:38;26122:517;-1:-1:-1;;;;;;26282:64:11;-1:-1:-1;;;26282:64:11;;-1:-1:-1;26122:517:11;25948:697;;;;;;:::o;447:696:6:-;503:13;552:14;569:17;580:5;569:10;:17::i;:::-;589:1;569:21;552:38;;604:20;638:6;627:18;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;627:18:6;-1:-1:-1;604:41:6;-1:-1:-1;765:28:6;;;781:2;765:28;820:280;-1:-1:-1;;851:5:6;-1:-1:-1;;;985:2:6;974:14;;969:30;851:5;956:44;1044:2;1035:11;;;-1:-1:-1;1064:21:6;820:280;1064:21;-1:-1:-1;1120:6:6;447:696;-1:-1:-1;;;447:696:6:o;32675:669:11:-;32801:19;32807:2;32811:8;32801:5;:19::i;:::-;-1:-1:-1;;;;;32859:14:11;;;:19;32855:473;;32898:11;32912:13;32959:14;;;32991:229;33021:62;33060:1;33064:2;33068:7;;;;;;33077:5;33021:30;:62::i;:::-;33016:165;;33118:40;;-1:-1:-1;;;33118:40:11;;;;;;;;;;;33016:165;33215:3;33207:5;:11;32991:229;;33300:3;33283:13;;:20;33279:34;;33305:8;;;33279:34;32880:448;;32675:669;;;:::o;10139:916:9:-;10192:7;;-1:-1:-1;;;10267:17:9;;10263:103;;-1:-1:-1;;;10304:17:9;;;-1:-1:-1;10349:2:9;10339:12;10263:103;10392:8;10383:5;:17;10379:103;;10429:8;10420:17;;;-1:-1:-1;10465:2:9;10455:12;10379:103;10508:8;10499:5;:17;10495:103;;10545:8;10536:17;;;-1:-1:-1;10581:2:9;10571:12;10495:103;10624:7;10615:5;:16;10611:100;;10660:7;10651:16;;;-1:-1:-1;10695:1:9;10685:11;10611:100;10737:7;10728:5;:16;10724:100;;10773:7;10764:16;;;-1:-1:-1;10808:1:9;10798:11;10724:100;10850:7;10841:5;:16;10837:100;;10886:7;10877:16;;;-1:-1:-1;10921:1:9;10911:11;10837:100;10963:7;10954:5;:16;10950:66;;11000:1;10990:11;11042:6;10139:916;-1:-1:-1;;10139:916:9:o;27091:2902:11:-;27163:20;27186:13;;;27213;;;27209:44;;27235:18;;-1:-1:-1;;;27235:18:11;;;;;;;;;;;27209:44;-1:-1:-1;;;;;27728:22:11;;;;;;:18;:22;;;;1495:2;27728:22;;;:71;;27766:32;27754:45;;27728:71;;;28035:31;;;:17;:31;;;;;-1:-1:-1;15123:15:11;;15097:24;15093:46;14703:11;14678:23;14674:41;14671:52;14661:63;;28035:170;;28264:23;;;;28035:31;;27728:22;;29016:25;27728:22;;28872:328;29520:1;29506:12;29502:20;29461:339;29560:3;29551:7;29548:16;29461:339;;29774:7;29764:8;29761:1;29734:25;29731:1;29728;29723:59;29612:1;29599:15;29461:339;;;29465:75;29831:8;29843:1;29831:13;29827:45;;29853:19;;-1:-1:-1;;;29853:19:11;;;;;;;;;;;29827:45;29887:13;:19;-1:-1:-1;22758:187:11;;;:::o;14:131:13:-;-1:-1:-1;;;;;;88:32:13;;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;774:173::-;842:20;;-1:-1:-1;;;;;891:31:13;;881:42;;871:70;;937:1;934;927:12;871:70;774:173;;;:::o;952:179::-;1019:20;;-1:-1:-1;;;;;1068:38:13;;1058:49;;1048:77;;1121:1;1118;1111:12;1136:258;1203:6;1211;1264:2;1252:9;1243:7;1239:23;1235:32;1232:52;;;1280:1;1277;1270:12;1232:52;1303:29;1322:9;1303:29;:::i;:::-;1293:39;;1351:37;1384:2;1373:9;1369:18;1351:37;:::i;:::-;1341:47;;1136:258;;;;;:::o;1399:250::-;1484:1;1494:113;1508:6;1505:1;1502:13;1494:113;;;1584:11;;;1578:18;1565:11;;;1558:39;1530:2;1523:10;1494:113;;;-1:-1:-1;;1641:1:13;1623:16;;1616:27;1399:250::o;1654:271::-;1696:3;1734:5;1728:12;1761:6;1756:3;1749:19;1777:76;1846:6;1839:4;1834:3;1830:14;1823:4;1816:5;1812:16;1777:76;:::i;:::-;1907:2;1886:15;-1:-1:-1;;1882:29:13;1873:39;;;;1914:4;1869:50;;1654:271;-1:-1:-1;;1654:271:13:o;1930:220::-;2079:2;2068:9;2061:21;2042:4;2099:45;2140:2;2129:9;2125:18;2117:6;2099:45;:::i;2155:180::-;2214:6;2267:2;2255:9;2246:7;2242:23;2238:32;2235:52;;;2283:1;2280;2273:12;2235:52;-1:-1:-1;2306:23:13;;2155:180;-1:-1:-1;2155:180:13:o;2548:254::-;2616:6;2624;2677:2;2665:9;2656:7;2652:23;2648:32;2645:52;;;2693:1;2690;2683:12;2645:52;2716:29;2735:9;2716:29;:::i;:::-;2706:39;2792:2;2777:18;;;;2764:32;;-1:-1:-1;;;2548:254:13:o;2807:328::-;2884:6;2892;2900;2953:2;2941:9;2932:7;2928:23;2924:32;2921:52;;;2969:1;2966;2959:12;2921:52;2992:29;3011:9;2992:29;:::i;:::-;2982:39;;3040:38;3074:2;3063:9;3059:18;3040:38;:::i;:::-;3030:48;;3125:2;3114:9;3110:18;3097:32;3087:42;;2807:328;;;;;:::o;3140:248::-;3208:6;3216;3269:2;3257:9;3248:7;3244:23;3240:32;3237:52;;;3285:1;3282;3275:12;3237:52;-1:-1:-1;;3308:23:13;;;3378:2;3363:18;;;3350:32;;-1:-1:-1;3140:248:13:o;3672:127::-;3733:10;3728:3;3724:20;3721:1;3714:31;3764:4;3761:1;3754:15;3788:4;3785:1;3778:15;3804:632;3869:5;3899:18;3940:2;3932:6;3929:14;3926:40;;;3946:18;;:::i;:::-;4021:2;4015:9;3989:2;4075:15;;-1:-1:-1;;4071:24:13;;;4097:2;4067:33;4063:42;4051:55;;;4121:18;;;4141:22;;;4118:46;4115:72;;;4167:18;;:::i;:::-;4207:10;4203:2;4196:22;4236:6;4227:15;;4266:6;4258;4251:22;4306:3;4297:6;4292:3;4288:16;4285:25;4282:45;;;4323:1;4320;4313:12;4282:45;4373:6;4368:3;4361:4;4353:6;4349:17;4336:44;4428:1;4421:4;4412:6;4404;4400:19;4396:30;4389:41;;;;3804:632;;;;;:::o;4441:451::-;4510:6;4563:2;4551:9;4542:7;4538:23;4534:32;4531:52;;;4579:1;4576;4569:12;4531:52;4619:9;4606:23;4652:18;4644:6;4641:30;4638:50;;;4684:1;4681;4674:12;4638:50;4707:22;;4760:4;4752:13;;4748:27;-1:-1:-1;4738:55:13;;4789:1;4786;4779:12;4738:55;4812:74;4878:7;4873:2;4860:16;4855:2;4851;4847:11;4812:74;:::i;4897:252::-;4964:6;4972;5025:2;5013:9;5004:7;5000:23;4996:32;4993:52;;;5041:1;5038;5031:12;4993:52;5077:9;5064:23;5054:33;;5106:37;5139:2;5128:9;5124:18;5106:37;:::i;5154:186::-;5213:6;5266:2;5254:9;5245:7;5241:23;5237:32;5234:52;;;5282:1;5279;5272:12;5234:52;5305:29;5324:9;5305:29;:::i;5345:347::-;5410:6;5418;5471:2;5459:9;5450:7;5446:23;5442:32;5439:52;;;5487:1;5484;5477:12;5439:52;5510:29;5529:9;5510:29;:::i;:::-;5500:39;;5589:2;5578:9;5574:18;5561:32;5636:5;5629:13;5622:21;5615:5;5612:32;5602:60;;5658:1;5655;5648:12;5602:60;5681:5;5671:15;;;5345:347;;;;;:::o;5697:667::-;5792:6;5800;5808;5816;5869:3;5857:9;5848:7;5844:23;5840:33;5837:53;;;5886:1;5883;5876:12;5837:53;5909:29;5928:9;5909:29;:::i;:::-;5899:39;;5957:38;5991:2;5980:9;5976:18;5957:38;:::i;:::-;5947:48;;6042:2;6031:9;6027:18;6014:32;6004:42;;6097:2;6086:9;6082:18;6069:32;6124:18;6116:6;6113:30;6110:50;;;6156:1;6153;6146:12;6110:50;6179:22;;6232:4;6224:13;;6220:27;-1:-1:-1;6210:55:13;;6261:1;6258;6251:12;6210:55;6284:74;6350:7;6345:2;6332:16;6327:2;6323;6319:11;6284:74;:::i;:::-;6274:84;;;5697:667;;;;;;;:::o;6369:260::-;6437:6;6445;6498:2;6486:9;6477:7;6473:23;6469:32;6466:52;;;6514:1;6511;6504:12;6466:52;6537:29;6556:9;6537:29;:::i;:::-;6527:39;;6585:38;6619:2;6608:9;6604:18;6585:38;:::i;6634:380::-;6713:1;6709:12;;;;6756;;;6777:61;;6831:4;6823:6;6819:17;6809:27;;6777:61;6884:2;6876:6;6873:14;6853:18;6850:38;6847:161;;6930:10;6925:3;6921:20;6918:1;6911:31;6965:4;6962:1;6955:15;6993:4;6990:1;6983:15;6847:161;;6634:380;;;:::o;7355:545::-;7457:2;7452:3;7449:11;7446:448;;;7493:1;7518:5;7514:2;7507:17;7563:4;7559:2;7549:19;7633:2;7621:10;7617:19;7614:1;7610:27;7604:4;7600:38;7669:4;7657:10;7654:20;7651:47;;;-1:-1:-1;7692:4:13;7651:47;7747:2;7742:3;7738:12;7735:1;7731:20;7725:4;7721:31;7711:41;;7802:82;7820:2;7813:5;7810:13;7802:82;;;7865:17;;;7846:1;7835:13;7802:82;;8076:1352;8202:3;8196:10;8229:18;8221:6;8218:30;8215:56;;;8251:18;;:::i;:::-;8280:97;8370:6;8330:38;8362:4;8356:11;8330:38;:::i;:::-;8324:4;8280:97;:::i;:::-;8432:4;;8496:2;8485:14;;8513:1;8508:663;;;;9215:1;9232:6;9229:89;;;-1:-1:-1;9284:19:13;;;9278:26;9229:89;-1:-1:-1;;8033:1:13;8029:11;;;8025:24;8021:29;8011:40;8057:1;8053:11;;;8008:57;9331:81;;8478:944;;8508:663;7302:1;7295:14;;;7339:4;7326:18;;-1:-1:-1;;8544:20:13;;;8662:236;8676:7;8673:1;8670:14;8662:236;;;8765:19;;;8759:26;8744:42;;8857:27;;;;8825:1;8813:14;;;;8692:19;;8662:236;;;8666:3;8926:6;8917:7;8914:19;8911:201;;;8987:19;;;8981:26;-1:-1:-1;;9070:1:13;9066:14;;;9082:3;9062:24;9058:37;9054:42;9039:58;9024:74;;8911:201;-1:-1:-1;;;;;9158:1:13;9142:14;;;9138:22;9125:36;;-1:-1:-1;8076:1352:13:o;9433:127::-;9494:10;9489:3;9485:20;9482:1;9475:31;9525:4;9522:1;9515:15;9549:4;9546:1;9539:15;9565:125;9630:9;;;9651:10;;;9648:36;;;9664:18;;:::i;10045:168::-;10118:9;;;10149;;10166:15;;;10160:22;;10146:37;10136:71;;10187:18;;:::i;10576:128::-;10643:9;;;10664:11;;;10661:37;;;10678:18;;:::i;11810:1187::-;12087:3;12116:1;12149:6;12143:13;12179:36;12205:9;12179:36;:::i;:::-;12234:1;12251:18;;;12278:133;;;;12425:1;12420:356;;;;12244:532;;12278:133;-1:-1:-1;;12311:24:13;;12299:37;;12384:14;;12377:22;12365:35;;12356:45;;;-1:-1:-1;12278:133:13;;12420:356;12451:6;12448:1;12441:17;12481:4;12526:2;12523:1;12513:16;12551:1;12565:165;12579:6;12576:1;12573:13;12565:165;;;12657:14;;12644:11;;;12637:35;12700:16;;;;12594:10;;12565:165;;;12569:3;;;12759:6;12754:3;12750:16;12743:23;;12244:532;;;;;12807:6;12801:13;12823:68;12882:8;12877:3;12870:4;12862:6;12858:17;12823:68;:::i;:::-;-1:-1:-1;;;12913:18:13;;12940:22;;;12989:1;12978:13;;11810:1187;-1:-1:-1;;;;11810:1187:13:o;13409:406::-;13611:2;13593:21;;;13650:2;13630:18;;;13623:30;13689:34;13684:2;13669:18;;13662:62;-1:-1:-1;;;13755:2:13;13740:18;;13733:40;13805:3;13790:19;;13409:406::o;14306:217::-;14346:1;14372;14362:132;;14416:10;14411:3;14407:20;14404:1;14397:31;14451:4;14448:1;14441:15;14479:4;14476:1;14469:15;14362:132;-1:-1:-1;14508:9:13;;14306:217::o;15605:489::-;-1:-1:-1;;;;;15874:15:13;;;15856:34;;15926:15;;15921:2;15906:18;;15899:43;15973:2;15958:18;;15951:34;;;16021:3;16016:2;16001:18;;15994:31;;;15799:4;;16042:46;;16068:19;;16060:6;16042:46;:::i;:::-;16034:54;15605:489;-1:-1:-1;;;;;;15605:489:13:o;16099:249::-;16168:6;16221:2;16209:9;16200:7;16196:23;16192:32;16189:52;;;16237:1;16234;16227:12;16189:52;16269:9;16263:16;16288:30;16312:5;16288:30;:::i
Swarm Source
ipfs://bb7cb2b8e64dd28964e605bc2efc679f9a46ad321811b5b346bf99b450368a7d
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.