ERC-721
Overview
Max Total Supply
4,451 CSC
Holders
706
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 CSCLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
CanStyleClub
Compiler Version
v0.8.9+commit.e5eed63a
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity >=0.7.0 <0.9.0; // Contract imports import "./ERC721A.sol"; import "./OperatorFilterer.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/common/ERC2981.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; // Contract Constructor Variables contract CanStyleClub is ERC721A, Ownable, ERC2981, ReentrancyGuard, OperatorFilterer { uint256 public cost = 0.0083 ether; uint256 public maxSupply = 10000; uint256 public MaxMintPerTransaction = 10; uint256 public FreeGivingAmount = 777; uint256 public MaxPerWallet = 100; uint256 public FreeAmount = 1; string public baseURI; string public baseExtension = ".json"; bool public mintIsActive = false; bool public operatorFilteringEnabled = true; // Constructor Variables constructor( string memory _initBaseURI, address _artist ) ERC721A ("Can Style Club", "CSC") { setBaseURI(_initBaseURI); setDefaultRoyalty(_artist, 500); _registerForOperatorFiltering(); } // Mint functions /** * @notice Mint quantity must be 1 or greater. * 'numberOfTokens' the number of tokens to claim in transaction. */ function mint(uint numberOfTokens) public payable { uint256 supply = totalSupply(); // Mint functions requirements require(supply < maxSupply, "Currently sold out"); require(mintIsActive, "Sale must be active to mint tokens"); require(supply + numberOfTokens <= maxSupply, "Purchase would exceed max tokens"); uint256 totalNumberMinted = _numberMinted(msg.sender); require(numberOfTokens <= MaxMintPerTransaction, "Purchase would exceed max per transaction"); require(totalNumberMinted + numberOfTokens <= MaxPerWallet, "Purchase would exceed max per wallet"); if (supply >= FreeGivingAmount) { // Changing mint cost for all tokens when supply exceeds FreeGivingAmount require(msg.value == numberOfTokens * cost, "Didn't send enough ETH"); } else { // Changing mint cost for tokens excluding the free mints require(msg.value == (numberOfTokens - FreeAmount) * cost, "Didn't send enough ETH"); } _mint(msg.sender, numberOfTokens); } // Set metadata link for tokenid function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require( _exists(tokenId), "ERC721AMetadata: URI query for nonexistent token" ); string memory currentBaseURI = _baseURI(); return bytes(currentBaseURI).length > 0 ? string( abi.encodePacked( currentBaseURI, _toString(tokenId), ".json" ) ) : ""; } // System Contract Functions function _baseURI() internal view virtual override returns (string memory) { return baseURI; } function _startTokenId() internal pure override returns (uint256) { return 1; } function numberMinted(address owner) public view returns (uint256) { return _numberMinted(owner); } // Operations Override functions function setApprovalForAll( address operator, bool approved ) public override onlyAllowedOperatorApproval(operator) { super.setApprovalForAll(operator, approved); } function approve( address operator, uint256 tokenId ) public payable override onlyAllowedOperatorApproval(operator) { super.approve(operator, tokenId); } function supportsInterface( bytes4 interfaceId ) public view virtual override (ERC721A, ERC2981) returns (bool) { return ERC721A.supportsInterface(interfaceId) || ERC2981.supportsInterface(interfaceId); } // Safe Transfer From functions function transferFrom( address from, address to, uint256 tokenId ) public payable override onlyAllowedOperator(from) { super.transferFrom(from, to, tokenId); } function safeTransferFrom( address from, address to, uint256 tokenId ) public payable override onlyAllowedOperator(from) { super.safeTransferFrom(from, to, tokenId); } function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory data ) public payable override onlyAllowedOperator(from) { super.safeTransferFrom(from, to, tokenId, data); } // Operator Filter Registry function setOperatorFilteringEnabled(bool value) public onlyOwner { operatorFilteringEnabled = value; } function _operatorFilteringEnabled() internal view override returns (bool) { return operatorFilteringEnabled; } // Owner functions function reserve(uint256 numberForMint) public onlyOwner { uint256 supply = totalSupply(); require(supply < maxSupply, "Currently sold out"); require(supply + numberForMint <= maxSupply, "Mint would exceed max tokens"); _safeMint(msg.sender, numberForMint); } function airdrop(address airAddress, uint256 numberForMint) public onlyOwner { uint256 supply = totalSupply(); require(supply < maxSupply, "Currently sold out"); require(supply + numberForMint <= maxSupply, "Airdrop would exceed max tokens"); _safeMint(airAddress, numberForMint); } function setMaxMintPerTransaction(uint256 _MaxMintlimit) public onlyOwner { require(MaxMintPerTransaction != _MaxMintlimit, "New MaxMintlimit is the same as the existing one"); MaxMintPerTransaction = _MaxMintlimit; } function setMaxPerWallet(uint256 _MaxPerWalletlimit) public onlyOwner { require(MaxPerWallet != _MaxPerWalletlimit, "New MaxPerWalletlimit is the same as the existing one"); MaxPerWallet = _MaxPerWalletlimit; } function setMintFee(uint256 _mintFee) public onlyOwner { require(_mintFee > 0, "The cost of minting a token should be greater than 0"); cost = _mintFee; } function withdraw(uint256 amount) public onlyOwner { require(amount <= address(this).balance, 'Insufficient balance'); payable(msg.sender).transfer(amount); } function withdrawAll() public onlyOwner { uint balance = address(this).balance; payable(msg.sender).transfer(balance); } function setMintIsActive(bool newState) public onlyOwner { mintIsActive = newState; } function setBaseURI(string memory _newBaseURI) public onlyOwner { baseURI = _newBaseURI; } function setFreeAmount(uint256 newAmountFree) public onlyOwner { FreeAmount = newAmountFree; } function setFreeGivingAmount(uint256 newFreeGivingAmount) public onlyOwner { FreeGivingAmount = newFreeGivingAmount; } function setDefaultRoyalty(address receiver, uint96 feeNumerator) public onlyOwner { _setDefaultRoyalty(receiver, feeNumerator); } function deleteDefaultRoyalty() public onlyOwner { _deleteDefaultRoyalty(); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; /// @notice Optimized and flexible operator filterer to abide to OpenSea's /// mandatory on-chain royalty enforcement in order for new collections to /// receive royalties. /// For more information, see: /// See: https://github.com/ProjectOpenSea/operator-filter-registry abstract contract OperatorFilterer { /// @dev The default OpenSea operator blocklist subscription. address internal constant _DEFAULT_SUBSCRIPTION = 0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6; /// @dev The OpenSea operator filter registry. address internal constant _OPERATOR_FILTER_REGISTRY = 0x000000000000AAeB6D7670E522A718067333cd4E; /// @dev Registers the current contract to OpenSea's operator filter, /// and subscribe to the default OpenSea operator blocklist. /// Note: Will not revert nor update existing settings for repeated registration. function _registerForOperatorFiltering() internal virtual { _registerForOperatorFiltering(_DEFAULT_SUBSCRIPTION, true); } /// @dev Registers the current contract to OpenSea's operator filter. /// Note: Will not revert nor update existing settings for repeated registration. function _registerForOperatorFiltering(address subscriptionOrRegistrantToCopy, bool subscribe) internal virtual { /// @solidity memory-safe-assembly assembly { let functionSelector := 0x7d3e3dbe // `registerAndSubscribe(address,address)`. // Clean the upper 96 bits of `subscriptionOrRegistrantToCopy` in case they are dirty. subscriptionOrRegistrantToCopy := shr(96, shl(96, subscriptionOrRegistrantToCopy)) for {} iszero(subscribe) {} { if iszero(subscriptionOrRegistrantToCopy) { functionSelector := 0x4420e486 // `register(address)`. break } functionSelector := 0xa0af2903 // `registerAndCopyEntries(address,address)`. break } // Store the function selector. mstore(0x00, shl(224, functionSelector)) // Store the `address(this)`. mstore(0x04, address()) // Store the `subscriptionOrRegistrantToCopy`. mstore(0x24, subscriptionOrRegistrantToCopy) // Register into the registry. if iszero(call(gas(), _OPERATOR_FILTER_REGISTRY, 0, 0x00, 0x44, 0x00, 0x04)) { // If the function selector has not been overwritten, // it is an out-of-gas error. if eq(shr(224, mload(0x00)), functionSelector) { // To prevent gas under-estimation. revert(0, 0) } } // Restore the part of the free memory pointer that was overwritten, // which is guaranteed to be zero, because of Solidity's memory size limits. mstore(0x24, 0) } } /// @dev Modifier to guard a function and revert if the caller is a blocked operator. modifier onlyAllowedOperator(address from) virtual { if (from != msg.sender) { if (!_isPriorityOperator(msg.sender)) { if (_operatorFilteringEnabled()) _revertIfBlocked(msg.sender); } } _; } /// @dev Modifier to guard a function from approving a blocked operator.. modifier onlyAllowedOperatorApproval(address operator) virtual { if (!_isPriorityOperator(operator)) { if (_operatorFilteringEnabled()) _revertIfBlocked(operator); } _; } /// @dev Helper function that reverts if the `operator` is blocked by the registry. function _revertIfBlocked(address operator) private view { /// @solidity memory-safe-assembly assembly { // Store the function selector of `isOperatorAllowed(address,address)`, // shifted left by 6 bytes, which is enough for 8tb of memory. // We waste 6-3 = 3 bytes to save on 6 runtime gas (PUSH1 0x224 SHL). mstore(0x00, 0xc6171134001122334455) // Store the `address(this)`. mstore(0x1a, address()) // Store the `operator`. mstore(0x3a, operator) // `isOperatorAllowed` always returns true if it does not revert. if iszero(staticcall(gas(), _OPERATOR_FILTER_REGISTRY, 0x16, 0x44, 0x00, 0x00)) { // Bubble up the revert if the staticcall reverts. returndatacopy(0x00, 0x00, returndatasize()) revert(0x00, returndatasize()) } // We'll skip checking if `from` is inside the blacklist. // Even though that can block transferring out of wrapper contracts, // we don't want tokens to be stuck. // Restore the part of the free memory pointer that was overwritten, // which is guaranteed to be zero, if less than 8tb of memory is used. mstore(0x3a, 0) } } /// @dev For deriving contracts to override, so that operator filtering /// can be turned on / off. /// Returns true by default. function _operatorFilteringEnabled() internal view virtual returns (bool) { return true; } /// @dev For deriving contracts to override, so that preferred marketplaces can /// skip operator filtering, helping users save gas. /// Returns false for all inputs by default. function _isPriorityOperator(address) internal view virtual returns (bool) { return false; } }
// 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); }
// 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.selector); 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.selector); 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 Returns whether the ownership slot at `index` is initialized. * An uninitialized slot does not necessarily mean that the slot has no owner. */ function _ownershipIsInitialized(uint256 index) internal view virtual returns (bool) { return _packedOwnerships[index] != 0; } /** * @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 packed) { if (_startTokenId() <= tokenId) { packed = _packedOwnerships[tokenId]; // If the data at the starting slot does not exist, start the scan. if (packed == 0) { if (tokenId >= _currentIndex) _revert(OwnerQueryForNonexistentToken.selector); // 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, `tokenId` will not underflow. // // We can directly compare the packed value. // If the address is zero, packed will be zero. for (;;) { unchecked { packed = _packedOwnerships[--tokenId]; } if (packed == 0) continue; if (packed & _BITMASK_BURNED == 0) return packed; // Otherwise, the token is burned, and we must revert. // This handles the case of batch burned tokens, where only the burned bit // of the starting slot is set, and remaining slots are left uninitialized. _revert(OwnerQueryForNonexistentToken.selector); } } // Otherwise, the data exists and we can skip the scan. // This is possible because we have already achieved the target condition. // This saves 2143 gas on transfers of initialized tokens. // If the token is not burned, return `packed`. Otherwise, revert. if (packed & _BITMASK_BURNED == 0) return packed; } _revert(OwnerQueryForNonexistentToken.selector); } /** * @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. See {ERC721A-_approve}. * * Requirements: * * - The caller must own the token or be an approved operator. */ function approve(address to, uint256 tokenId) public payable virtual override { _approve(to, tokenId, true); } /** * @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.selector); 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 result) { if (_startTokenId() <= tokenId) { if (tokenId < _currentIndex) { uint256 packed; while ((packed = _packedOwnerships[tokenId]) == 0) --tokenId; result = packed & _BITMASK_BURNED == 0; } } } /** * @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); // Mask `from` to the lower 160 bits, in case the upper bits somehow aren't clean. from = address(uint160(uint256(uint160(from)) & _BITMASK_ADDRESS)); if (address(uint160(prevOwnershipPacked)) != from) _revert(TransferFromIncorrectOwner.selector); (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.selector); _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; } } } } // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean. uint256 toMasked = uint256(uint160(to)) & _BITMASK_ADDRESS; assembly { // 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. from, // `from`. toMasked, // `to`. tokenId // `tokenId`. ) } if (toMasked == 0) _revert(TransferToZeroAddress.selector); _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.selector); } } /** * @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.selector); } 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.selector); _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: // - `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) ); // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean. uint256 toMasked = uint256(uint160(to)) & _BITMASK_ADDRESS; if (toMasked == 0) _revert(MintToZeroAddress.selector); uint256 end = startTokenId + quantity; uint256 tokenId = startTokenId; do { assembly { // 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`. tokenId // `tokenId`. ) } // The `!=` check ensures that large values of `quantity` // that overflows uint256 will make the loop run out of gas. } while (++tokenId != end); _currentIndex = end; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * This function is intended for efficient minting only during contract creation. * * It emits only one {ConsecutiveTransfer} as defined in * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309), * instead of a sequence of {Transfer} event(s). * * Calling this function outside of contract creation WILL make your contract * non-compliant with the ERC721 standard. * For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309 * {ConsecutiveTransfer} event is only permissible during contract creation. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {ConsecutiveTransfer} event. */ function _mintERC2309(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (to == address(0)) _revert(MintToZeroAddress.selector); if (quantity == 0) _revert(MintZeroQuantity.selector); if (quantity > _MAX_MINT_ERC2309_QUANTITY_LIMIT) _revert(MintERC2309QuantityExceedsLimit.selector); _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.selector); } } while (index < end); // Reentrancy protection. if (_currentIndex != end) _revert(bytes4(0)); } } } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal virtual { _safeMint(to, quantity, ''); } // ============================================================= // APPROVAL OPERATIONS // ============================================================= /** * @dev Equivalent to `_approve(to, tokenId, false)`. */ function _approve(address to, uint256 tokenId) internal virtual { _approve(to, tokenId, false); } /** * @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: * * - `tokenId` must exist. * * Emits an {Approval} event. */ function _approve( address to, uint256 tokenId, bool approvalCheck ) internal virtual { address owner = ownerOf(tokenId); if (approvalCheck && _msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { _revert(ApprovalCallerNotOwnerNorApproved.selector); } _tokenApprovals[tokenId].value = to; emit Approval(owner, to, tokenId); } // ============================================================= // 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.selector); } _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.selector); 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) } } /** * @dev For more efficient reverts. */ function _revert(bytes4 errorSelector) internal pure { assembly { mstore(0x00, errorSelector) revert(0x00, 0x04) } } }
// 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 v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.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 (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) (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) (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); } }
{ "remappings": [], "optimizer": { "enabled": false, "runs": 200 }, "evmVersion": "london", "libraries": {}, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_initBaseURI","type":"string"},{"internalType":"address","name":"_artist","type":"address"}],"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":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":"FreeAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"FreeGivingAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MaxMintPerTransaction","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MaxPerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"airAddress","type":"address"},{"internalType":"uint256","name":"numberForMint","type":"uint256"}],"name":"airdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","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":"baseExtension","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"deleteDefaultRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"numberMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"operatorFilteringEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberForMint","type":"uint256"}],"name":"reserve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"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":"_newBaseURI","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":"newAmountFree","type":"uint256"}],"name":"setFreeAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newFreeGivingAmount","type":"uint256"}],"name":"setFreeGivingAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_MaxMintlimit","type":"uint256"}],"name":"setMaxMintPerTransaction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_MaxPerWalletlimit","type":"uint256"}],"name":"setMaxPerWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintFee","type":"uint256"}],"name":"setMintFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"newState","type":"bool"}],"name":"setMintIsActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"value","type":"bool"}],"name":"setOperatorFilteringEnabled","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":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawAll","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6080604052661d7cce57a2c000600c55612710600d55600a600e55610309600f55606460105560016011556040518060400160405280600581526020017f2e6a736f6e000000000000000000000000000000000000000000000000000000815250601390805190602001906200007792919062000632565b506000601460006101000a81548160ff0219169083151502179055506001601460016101000a81548160ff021916908315150217905550348015620000bb57600080fd5b5060405162004b3338038062004b338339818101604052810190620000e19190620008e4565b6040518060400160405280600e81526020017f43616e205374796c6520436c75620000000000000000000000000000000000008152506040518060400160405280600381526020017f435343000000000000000000000000000000000000000000000000000000000081525081600290805190602001906200016592919062000632565b5080600390805190602001906200017e92919062000632565b506200018f620001fc60201b60201c565b6000819055505050620001b7620001ab6200020560201b60201c565b6200020d60201b60201c565b6001600b81905550620001d082620002d360201b60201c565b620001e4816101f4620002ff60201b60201c565b620001f46200032560201b60201c565b505062000b3c565b60006001905090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b620002e36200034e60201b60201c565b8060129080519060200190620002fb92919062000632565b5050565b6200030f6200034e60201b60201c565b620003218282620003df60201b60201c565b5050565b6200034c733cc6cdda760b79bafa08df41ecfa224f810dceb660016200058360201b60201c565b565b6200035e6200020560201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1662000384620005fe60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1614620003dd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620003d490620009ab565b60405180910390fd5b565b620003ef6200062860201b60201c565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff16111562000450576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620004479062000a43565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415620004c3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620004ba9062000ab5565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff16815250600960008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b637d3e3dbe8260601b60601c925081620005b25782620005aa57634420e4869050620005b2565b63a0af290390505b8060e01b60005230600452826024526004600060446000806daaeb6d7670e522a718067333cd4e5af1620005f4578060005160e01c1415620005f357600080fd5b5b6000602452505050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000612710905090565b828054620006409062000b06565b90600052602060002090601f016020900481019282620006645760008555620006b0565b82601f106200067f57805160ff1916838001178555620006b0565b82800160010185558215620006b0579182015b82811115620006af57825182559160200191906001019062000692565b5b509050620006bf9190620006c3565b5090565b5b80821115620006de576000816000905550600101620006c4565b5090565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6200074b8262000700565b810181811067ffffffffffffffff821117156200076d576200076c62000711565b5b80604052505050565b600062000782620006e2565b905062000790828262000740565b919050565b600067ffffffffffffffff821115620007b357620007b262000711565b5b620007be8262000700565b9050602081019050919050565b60005b83811015620007eb578082015181840152602081019050620007ce565b83811115620007fb576000848401525b50505050565b600062000818620008128462000795565b62000776565b905082815260208101848484011115620008375762000836620006fb565b5b62000844848285620007cb565b509392505050565b600082601f830112620008645762000863620006f6565b5b81516200087684826020860162000801565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620008ac826200087f565b9050919050565b620008be816200089f565b8114620008ca57600080fd5b50565b600081519050620008de81620008b3565b92915050565b60008060408385031215620008fe57620008fd620006ec565b5b600083015167ffffffffffffffff8111156200091f576200091e620006f1565b5b6200092d858286016200084c565b92505060206200094085828601620008cd565b9150509250929050565b600082825260208201905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000620009936020836200094a565b9150620009a0826200095b565b602082019050919050565b60006020820190508181036000830152620009c68162000984565b9050919050565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b600062000a2b602a836200094a565b915062000a3882620009cd565b604082019050919050565b6000602082019050818103600083015262000a5e8162000a1c565b9050919050565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b600062000a9d6019836200094a565b915062000aaa8262000a65565b602082019050919050565b6000602082019050818103600083015262000ad08162000a8e565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168062000b1f57607f821691505b6020821081141562000b365762000b3562000ad7565b5b50919050565b613fe78062000b4c6000396000f3fe6080604052600436106102675760003560e01c80638ba4cc3c11610144578063c6682862116100b6578063dd2687661161007a578063dd268766146108b0578063e268e4d3146108db578063e985e9c514610904578063eddd0d9c14610941578063f2fde38b1461096a578063fb796e6c1461099357610267565b8063c6682862146107b7578063c87b56dd146107e2578063d19653fb1461081f578063d5abeb0114610848578063dc33e6811461087357610267565b8063a0712d6811610108578063a0712d68146106eb578063a22cb46514610707578063aa1b103f14610730578063b7c0b8e814610747578063b7f9590f14610770578063b88d4fde1461079b57610267565b80638ba4cc3c146106185780638bec1c6d146106415780638da5cb5b1461066c57806392910eec1461069757806395d89b41146106c057610267565b80632e1a7d4d116101dd5780636352211e116101a15780636352211e1461051c5780636c0360eb1461055957806370a0823114610584578063715018a6146105c1578063819b25ba146105d8578063853828b61461060157610267565b80632e1a7d4d1461045a5780632e6cebe51461048357806342842e0e146104ac578063471a4294146104c857806355f804b3146104f357610267565b8063095ea7b31161022f578063095ea7b31461036557806313faede61461038157806318160ddd146103ac57806323b872dd146103d75780632a55205a146103f35780632cb4788d1461043157610267565b806301ffc9a71461026c57806304634d8d146102a9578063056886b0146102d257806306fdde03146102fd578063081812fc14610328575b600080fd5b34801561027857600080fd5b50610293600480360381019061028e9190612c3c565b6109be565b6040516102a09190612c84565b60405180910390f35b3480156102b557600080fd5b506102d060048036038101906102cb9190612d41565b6109e0565b005b3480156102de57600080fd5b506102e76109f6565b6040516102f49190612d9a565b60405180910390f35b34801561030957600080fd5b506103126109fc565b60405161031f9190612e4e565b60405180910390f35b34801561033457600080fd5b5061034f600480360381019061034a9190612e9c565b610a8e565b60405161035c9190612ed8565b60405180910390f35b61037f600480360381019061037a9190612ef3565b610aec565b005b34801561038d57600080fd5b50610396610b21565b6040516103a39190612d9a565b60405180910390f35b3480156103b857600080fd5b506103c1610b27565b6040516103ce9190612d9a565b60405180910390f35b6103f160048036038101906103ec9190612f33565b610b3e565b005b3480156103ff57600080fd5b5061041a60048036038101906104159190612f86565b610ba9565b604051610428929190612fc6565b60405180910390f35b34801561043d57600080fd5b5061045860048036038101906104539190612e9c565b610d94565b005b34801561046657600080fd5b50610481600480360381019061047c9190612e9c565b610da6565b005b34801561048f57600080fd5b506104aa60048036038101906104a59190612e9c565b610e3b565b005b6104c660048036038101906104c19190612f33565b610e92565b005b3480156104d457600080fd5b506104dd610efd565b6040516104ea9190612c84565b60405180910390f35b3480156104ff57600080fd5b5061051a60048036038101906105159190613124565b610f10565b005b34801561052857600080fd5b50610543600480360381019061053e9190612e9c565b610f32565b6040516105509190612ed8565b60405180910390f35b34801561056557600080fd5b5061056e610f44565b60405161057b9190612e4e565b60405180910390f35b34801561059057600080fd5b506105ab60048036038101906105a6919061316d565b610fd2565b6040516105b89190612d9a565b60405180910390f35b3480156105cd57600080fd5b506105d661106a565b005b3480156105e457600080fd5b506105ff60048036038101906105fa9190612e9c565b61107e565b005b34801561060d57600080fd5b50610616611134565b005b34801561062457600080fd5b5061063f600480360381019061063a9190612ef3565b61118b565b005b34801561064d57600080fd5b50610656611242565b6040516106639190612d9a565b60405180910390f35b34801561067857600080fd5b50610681611248565b60405161068e9190612ed8565b60405180910390f35b3480156106a357600080fd5b506106be60048036038101906106b99190612e9c565b611272565b005b3480156106cc57600080fd5b506106d5611284565b6040516106e29190612e4e565b60405180910390f35b61070560048036038101906107009190612e9c565b611316565b005b34801561071357600080fd5b5061072e600480360381019061072991906131c6565b611570565b005b34801561073c57600080fd5b506107456115a5565b005b34801561075357600080fd5b5061076e60048036038101906107699190613206565b6115b7565b005b34801561077c57600080fd5b506107856115dc565b6040516107929190612d9a565b60405180910390f35b6107b560048036038101906107b091906132d4565b6115e2565b005b3480156107c357600080fd5b506107cc61164f565b6040516107d99190612e4e565b60405180910390f35b3480156107ee57600080fd5b5061080960048036038101906108049190612e9c565b6116dd565b6040516108169190612e4e565b60405180910390f35b34801561082b57600080fd5b5061084660048036038101906108419190613206565b611784565b005b34801561085457600080fd5b5061085d6117a9565b60405161086a9190612d9a565b60405180910390f35b34801561087f57600080fd5b5061089a6004803603810190610895919061316d565b6117af565b6040516108a79190612d9a565b60405180910390f35b3480156108bc57600080fd5b506108c56117c1565b6040516108d29190612d9a565b60405180910390f35b3480156108e757600080fd5b5061090260048036038101906108fd9190612e9c565b6117c7565b005b34801561091057600080fd5b5061092b60048036038101906109269190613357565b61181e565b6040516109389190612c84565b60405180910390f35b34801561094d57600080fd5b5061096860048036038101906109639190612e9c565b6118b2565b005b34801561097657600080fd5b50610991600480360381019061098c919061316d565b611907565b005b34801561099f57600080fd5b506109a861198b565b6040516109b59190612c84565b60405180910390f35b60006109c98261199e565b806109d957506109d882611a30565b5b9050919050565b6109e8611aaa565b6109f28282611b28565b5050565b600f5481565b606060028054610a0b906133c6565b80601f0160208091040260200160405190810160405280929190818152602001828054610a37906133c6565b8015610a845780601f10610a5957610100808354040283529160200191610a84565b820191906000526020600020905b815481529060010190602001808311610a6757829003601f168201915b5050505050905090565b6000610a9982611cbe565b610aae57610aad63cf4700e460e01b611d38565b5b6006600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b81610af681611d42565b610b1257610b02611d49565b15610b1157610b1081611d60565b5b5b610b1c8383611da4565b505050565b600c5481565b6000610b31611db4565b6001546000540303905090565b823373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610b9857610b7b33611d42565b610b9757610b87611d49565b15610b9657610b9533611d60565b5b5b5b610ba3848484611dbd565b50505050565b6000806000600a60008681526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161415610d3f5760096040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505090505b6000610d49612081565b6bffffffffffffffffffffffff1682602001516bffffffffffffffffffffffff1686610d759190613427565b610d7f91906134b0565b90508160000151819350935050509250929050565b610d9c611aaa565b80600f8190555050565b610dae611aaa565b47811115610df1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610de89061352d565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610e37573d6000803e3d6000fd5b5050565b610e43611aaa565b80600e541415610e88576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e7f906135bf565b60405180910390fd5b80600e8190555050565b823373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610eec57610ecf33611d42565b610eeb57610edb611d49565b15610eea57610ee933611d60565b5b5b5b610ef784848461208b565b50505050565b601460009054906101000a900460ff1681565b610f18611aaa565b8060129080519060200190610f2e929190612b2d565b5050565b6000610f3d826120ab565b9050919050565b60128054610f51906133c6565b80601f0160208091040260200160405190810160405280929190818152602001828054610f7d906133c6565b8015610fca5780601f10610f9f57610100808354040283529160200191610fca565b820191906000526020600020905b815481529060010190602001808311610fad57829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561101957611018638f4eb60460e01b611d38565b5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b611072611aaa565b61107c60006121a7565b565b611086611aaa565b6000611090610b27565b9050600d5481106110d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110cd9061362b565b60405180910390fd5b600d5482826110e5919061364b565b1115611126576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161111d906136ed565b60405180910390fd5b611130338361226d565b5050565b61113c611aaa565b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611187573d6000803e3d6000fd5b5050565b611193611aaa565b600061119d610b27565b9050600d5481106111e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111da9061362b565b60405180910390fd5b600d5482826111f2919061364b565b1115611233576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161122a90613759565b60405180910390fd5b61123d838361226d565b505050565b60105481565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b61127a611aaa565b8060118190555050565b606060038054611293906133c6565b80601f01602080910402602001604051908101604052809291908181526020018280546112bf906133c6565b801561130c5780601f106112e15761010080835404028352916020019161130c565b820191906000526020600020905b8154815290600101906020018083116112ef57829003601f168201915b5050505050905090565b6000611320610b27565b9050600d548110611366576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161135d9061362b565b60405180910390fd5b601460009054906101000a900460ff166113b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113ac906137eb565b60405180910390fd5b600d5482826113c4919061364b565b1115611405576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113fc90613857565b60405180910390fd5b60006114103361228b565b9050600e54831115611457576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161144e906138e9565b60405180910390fd5b6010548382611466919061364b565b11156114a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161149e9061397b565b60405180910390fd5b600f54821061150457600c54836114be9190613427565b34146114ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114f6906139e7565b60405180910390fd5b611561565b600c54601154846115159190613a07565b61151f9190613427565b3414611560576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611557906139e7565b60405180910390fd5b5b61156b33846122e2565b505050565b8161157a81611d42565b61159657611586611d49565b156115955761159481611d60565b5b5b6115a08383612448565b505050565b6115ad611aaa565b6115b5612553565b565b6115bf611aaa565b80601460016101000a81548160ff02191690831515021790555050565b600e5481565b833373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461163c5761161f33611d42565b61163b5761162b611d49565b1561163a5761163933611d60565b5b5b5b611648858585856125a0565b5050505050565b6013805461165c906133c6565b80601f0160208091040260200160405190810160405280929190818152602001828054611688906133c6565b80156116d55780601f106116aa576101008083540402835291602001916116d5565b820191906000526020600020905b8154815290600101906020018083116116b857829003601f168201915b505050505081565b60606116e882611cbe565b611727576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161171e90613aad565b60405180910390fd5b60006117316125f2565b90506000815111611751576040518060200160405280600081525061177c565b8061175b84612684565b60405160200161176c929190613b55565b6040516020818303038152906040525b915050919050565b61178c611aaa565b80601460006101000a81548160ff02191690831515021790555050565b600d5481565b60006117ba8261228b565b9050919050565b60115481565b6117cf611aaa565b806010541415611814576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161180b90613bf6565b60405180910390fd5b8060108190555050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6118ba611aaa565b600081116118fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118f490613c88565b60405180910390fd5b80600c8190555050565b61190f611aaa565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561197f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161197690613d1a565b60405180910390fd5b611988816121a7565b50565b601460019054906101000a900460ff1681565b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806119f957506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611a295750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611aa35750611aa2826126dd565b5b9050919050565b611ab2612747565b73ffffffffffffffffffffffffffffffffffffffff16611ad0611248565b73ffffffffffffffffffffffffffffffffffffffff1614611b26576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b1d90613d86565b60405180910390fd5b565b611b30612081565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff161115611b8e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b8590613e18565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611bfe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bf590613e84565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff16815250600960008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b600081611cc9611db4565b11611d3357600054821015611d325760005b600060046000858152602001908152602001600020549150811415611d0b5782611d0490613ea4565b9250611cdb565b60007c01000000000000000000000000000000000000000000000000000000008216149150505b5b919050565b8060005260046000fd5b6000919050565b6000601460019054906101000a900460ff16905090565b69c617113400112233445560005230601a5280603a52600080604460166daaeb6d7670e522a718067333cd4e5afa611d9c573d6000803e3d6000fd5b6000603a5250565b611db08282600161274f565b5050565b60006001905090565b6000611dc8826120ab565b905073ffffffffffffffffffffffffffffffffffffffff8473ffffffffffffffffffffffffffffffffffffffff161693508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611e3d57611e3c63a114810060e01b611d38565b5b600080611e498461287e565b91509150611e5f8187611e5a6128a5565b6128ad565b611e8a57611e7486611e6f6128a5565b61181e565b611e8957611e886359c896be60e01b611d38565b5b5b611e9786868660016128f1565b8015611ea257600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815460010191905081905550611f7085611f4c8888876128f7565b7c02000000000000000000000000000000000000000000000000000000001761291f565b600460008681526020019081526020016000208190555060007c020000000000000000000000000000000000000000000000000000000084161415611ff8576000600185019050600060046000838152602001908152602001600020541415611ff6576000548114611ff5578360046000838152602001908152602001600020819055505b5b505b600073ffffffffffffffffffffffffffffffffffffffff8673ffffffffffffffffffffffffffffffffffffffff161690508481887fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600081141561206b5761206a63ea553b3460e01b611d38565b5b612078878787600161294a565b50505050505050565b6000612710905090565b6120a6838383604051806020016040528060008152506115e2565b505050565b6000816120b6611db4565b11612191576004600083815260200190815260200160002054905060008114156121635760005482106120f4576120f363df2d9b4260e01b611d38565b5b5b600460008360019003935083815260200190815260200160002054905060008114156121205761215e565b60007c01000000000000000000000000000000000000000000000000000000008216141561214d576121a2565b61215d63df2d9b4260e01b611d38565b5b6120f5565b60007c010000000000000000000000000000000000000000000000000000000082161415612190576121a2565b5b6121a163df2d9b4260e01b611d38565b5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612287828260405180602001604052806000815250612950565b5050565b600067ffffffffffffffff6040600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054901c169050919050565b60008054905060008214156123025761230163b562e8dd60e01b611d38565b5b61230f60008483856128f1565b61232f8361232060008660006128f7565b612329856129d5565b1761291f565b6004600083815260200190815260200160002081905550600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550600073ffffffffffffffffffffffffffffffffffffffff8473ffffffffffffffffffffffffffffffffffffffff1616905060008114156123e8576123e7632e07630060e01b611d38565b5b6000838301905060008390505b808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4818160010191508114156123f55781600081905550505050612443600084838561294a565b505050565b80600760006124556128a5565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166125026128a5565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516125479190612c84565b60405180910390a35050565b6009600080820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556000820160146101000a8154906bffffffffffffffffffffffff02191690555050565b6125ab848484610b3e565b60008373ffffffffffffffffffffffffffffffffffffffff163b146125ec576125d6848484846129e5565b6125eb576125ea63d1a57ed660e01b611d38565b5b5b50505050565b606060128054612601906133c6565b80601f016020809104026020016040519081016040528092919081815260200182805461262d906133c6565b801561267a5780601f1061264f5761010080835404028352916020019161267a565b820191906000526020600020905b81548152906001019060200180831161265d57829003601f168201915b5050505050905090565b606060a060405101806040526020810391506000825281835b6001156126c857600184039350600a81066030018453600a81049050806126c3576126c8565b61269d565b50828103602084039350808452505050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b600061275a83610f32565b905081801561279c57508073ffffffffffffffffffffffffffffffffffffffff166127836128a5565b73ffffffffffffffffffffffffffffffffffffffff1614155b156127c8576127b2816127ad6128a5565b61181e565b6127c7576127c663cfb3b94260e01b611d38565b5b5b836006600085815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550828473ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a450505050565b60008060006006600085815260200190815260200160002090508092508254915050915091565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e861290e868684612b24565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b61295a83836122e2565b60008373ffffffffffffffffffffffffffffffffffffffff163b146129d057600080549050600083820390505b61299a60008683806001019450866129e5565b6129af576129ae63d1a57ed660e01b611d38565b5b8181106129875781600054146129cd576129cc600060e01b611d38565b5b50505b505050565b60006001821460e11b9050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612a0b6128a5565b8786866040518563ffffffff1660e01b8152600401612a2d9493929190613f23565b602060405180830381600087803b158015612a4757600080fd5b505af1925050508015612a7857506040513d601f19601f82011682018060405250810190612a759190613f84565b60015b612ad1573d8060008114612aa8576040519150601f19603f3d011682016040523d82523d6000602084013e612aad565b606091505b50600081511415612ac957612ac863d1a57ed660e01b611d38565b5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60009392505050565b828054612b39906133c6565b90600052602060002090601f016020900481019282612b5b5760008555612ba2565b82601f10612b7457805160ff1916838001178555612ba2565b82800160010185558215612ba2579182015b82811115612ba1578251825591602001919060010190612b86565b5b509050612baf9190612bb3565b5090565b5b80821115612bcc576000816000905550600101612bb4565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612c1981612be4565b8114612c2457600080fd5b50565b600081359050612c3681612c10565b92915050565b600060208284031215612c5257612c51612bda565b5b6000612c6084828501612c27565b91505092915050565b60008115159050919050565b612c7e81612c69565b82525050565b6000602082019050612c996000830184612c75565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612cca82612c9f565b9050919050565b612cda81612cbf565b8114612ce557600080fd5b50565b600081359050612cf781612cd1565b92915050565b60006bffffffffffffffffffffffff82169050919050565b612d1e81612cfd565b8114612d2957600080fd5b50565b600081359050612d3b81612d15565b92915050565b60008060408385031215612d5857612d57612bda565b5b6000612d6685828601612ce8565b9250506020612d7785828601612d2c565b9150509250929050565b6000819050919050565b612d9481612d81565b82525050565b6000602082019050612daf6000830184612d8b565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612def578082015181840152602081019050612dd4565b83811115612dfe576000848401525b50505050565b6000601f19601f8301169050919050565b6000612e2082612db5565b612e2a8185612dc0565b9350612e3a818560208601612dd1565b612e4381612e04565b840191505092915050565b60006020820190508181036000830152612e688184612e15565b905092915050565b612e7981612d81565b8114612e8457600080fd5b50565b600081359050612e9681612e70565b92915050565b600060208284031215612eb257612eb1612bda565b5b6000612ec084828501612e87565b91505092915050565b612ed281612cbf565b82525050565b6000602082019050612eed6000830184612ec9565b92915050565b60008060408385031215612f0a57612f09612bda565b5b6000612f1885828601612ce8565b9250506020612f2985828601612e87565b9150509250929050565b600080600060608486031215612f4c57612f4b612bda565b5b6000612f5a86828701612ce8565b9350506020612f6b86828701612ce8565b9250506040612f7c86828701612e87565b9150509250925092565b60008060408385031215612f9d57612f9c612bda565b5b6000612fab85828601612e87565b9250506020612fbc85828601612e87565b9150509250929050565b6000604082019050612fdb6000830185612ec9565b612fe86020830184612d8b565b9392505050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61303182612e04565b810181811067ffffffffffffffff821117156130505761304f612ff9565b5b80604052505050565b6000613063612bd0565b905061306f8282613028565b919050565b600067ffffffffffffffff82111561308f5761308e612ff9565b5b61309882612e04565b9050602081019050919050565b82818337600083830152505050565b60006130c76130c284613074565b613059565b9050828152602081018484840111156130e3576130e2612ff4565b5b6130ee8482856130a5565b509392505050565b600082601f83011261310b5761310a612fef565b5b813561311b8482602086016130b4565b91505092915050565b60006020828403121561313a57613139612bda565b5b600082013567ffffffffffffffff81111561315857613157612bdf565b5b613164848285016130f6565b91505092915050565b60006020828403121561318357613182612bda565b5b600061319184828501612ce8565b91505092915050565b6131a381612c69565b81146131ae57600080fd5b50565b6000813590506131c08161319a565b92915050565b600080604083850312156131dd576131dc612bda565b5b60006131eb85828601612ce8565b92505060206131fc858286016131b1565b9150509250929050565b60006020828403121561321c5761321b612bda565b5b600061322a848285016131b1565b91505092915050565b600067ffffffffffffffff82111561324e5761324d612ff9565b5b61325782612e04565b9050602081019050919050565b600061327761327284613233565b613059565b90508281526020810184848401111561329357613292612ff4565b5b61329e8482856130a5565b509392505050565b600082601f8301126132bb576132ba612fef565b5b81356132cb848260208601613264565b91505092915050565b600080600080608085870312156132ee576132ed612bda565b5b60006132fc87828801612ce8565b945050602061330d87828801612ce8565b935050604061331e87828801612e87565b925050606085013567ffffffffffffffff81111561333f5761333e612bdf565b5b61334b878288016132a6565b91505092959194509250565b6000806040838503121561336e5761336d612bda565b5b600061337c85828601612ce8565b925050602061338d85828601612ce8565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806133de57607f821691505b602082108114156133f2576133f1613397565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061343282612d81565b915061343d83612d81565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613476576134756133f8565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006134bb82612d81565b91506134c683612d81565b9250826134d6576134d5613481565b5b828204905092915050565b7f496e73756666696369656e742062616c616e6365000000000000000000000000600082015250565b6000613517601483612dc0565b9150613522826134e1565b602082019050919050565b600060208201905081810360008301526135468161350a565b9050919050565b7f4e6577204d61784d696e746c696d6974206973207468652073616d652061732060008201527f746865206578697374696e67206f6e6500000000000000000000000000000000602082015250565b60006135a9603083612dc0565b91506135b48261354d565b604082019050919050565b600060208201905081810360008301526135d88161359c565b9050919050565b7f43757272656e746c7920736f6c64206f75740000000000000000000000000000600082015250565b6000613615601283612dc0565b9150613620826135df565b602082019050919050565b6000602082019050818103600083015261364481613608565b9050919050565b600061365682612d81565b915061366183612d81565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613696576136956133f8565b5b828201905092915050565b7f4d696e7420776f756c6420657863656564206d617820746f6b656e7300000000600082015250565b60006136d7601c83612dc0565b91506136e2826136a1565b602082019050919050565b60006020820190508181036000830152613706816136ca565b9050919050565b7f41697264726f7020776f756c6420657863656564206d617820746f6b656e7300600082015250565b6000613743601f83612dc0565b915061374e8261370d565b602082019050919050565b6000602082019050818103600083015261377281613736565b9050919050565b7f53616c65206d7573742062652061637469766520746f206d696e7420746f6b6560008201527f6e73000000000000000000000000000000000000000000000000000000000000602082015250565b60006137d5602283612dc0565b91506137e082613779565b604082019050919050565b60006020820190508181036000830152613804816137c8565b9050919050565b7f507572636861736520776f756c6420657863656564206d617820746f6b656e73600082015250565b6000613841602083612dc0565b915061384c8261380b565b602082019050919050565b6000602082019050818103600083015261387081613834565b9050919050565b7f507572636861736520776f756c6420657863656564206d61782070657220747260008201527f616e73616374696f6e0000000000000000000000000000000000000000000000602082015250565b60006138d3602983612dc0565b91506138de82613877565b604082019050919050565b60006020820190508181036000830152613902816138c6565b9050919050565b7f507572636861736520776f756c6420657863656564206d61782070657220776160008201527f6c6c657400000000000000000000000000000000000000000000000000000000602082015250565b6000613965602483612dc0565b915061397082613909565b604082019050919050565b6000602082019050818103600083015261399481613958565b9050919050565b7f4469646e27742073656e6420656e6f7567682045544800000000000000000000600082015250565b60006139d1601683612dc0565b91506139dc8261399b565b602082019050919050565b60006020820190508181036000830152613a00816139c4565b9050919050565b6000613a1282612d81565b9150613a1d83612d81565b925082821015613a3057613a2f6133f8565b5b828203905092915050565b7f455243373231414d657461646174613a2055524920717565727920666f72206e60008201527f6f6e6578697374656e7420746f6b656e00000000000000000000000000000000602082015250565b6000613a97603083612dc0565b9150613aa282613a3b565b604082019050919050565b60006020820190508181036000830152613ac681613a8a565b9050919050565b600081905092915050565b6000613ae382612db5565b613aed8185613acd565b9350613afd818560208601612dd1565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b6000613b3f600583613acd565b9150613b4a82613b09565b600582019050919050565b6000613b618285613ad8565b9150613b6d8284613ad8565b9150613b7882613b32565b91508190509392505050565b7f4e6577204d617850657257616c6c65746c696d6974206973207468652073616d60008201527f6520617320746865206578697374696e67206f6e650000000000000000000000602082015250565b6000613be0603583612dc0565b9150613beb82613b84565b604082019050919050565b60006020820190508181036000830152613c0f81613bd3565b9050919050565b7f54686520636f7374206f66206d696e74696e67206120746f6b656e2073686f7560008201527f6c642062652067726561746572207468616e2030000000000000000000000000602082015250565b6000613c72603483612dc0565b9150613c7d82613c16565b604082019050919050565b60006020820190508181036000830152613ca181613c65565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613d04602683612dc0565b9150613d0f82613ca8565b604082019050919050565b60006020820190508181036000830152613d3381613cf7565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613d70602083612dc0565b9150613d7b82613d3a565b602082019050919050565b60006020820190508181036000830152613d9f81613d63565b9050919050565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b6000613e02602a83612dc0565b9150613e0d82613da6565b604082019050919050565b60006020820190508181036000830152613e3181613df5565b9050919050565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b6000613e6e601983612dc0565b9150613e7982613e38565b602082019050919050565b60006020820190508181036000830152613e9d81613e61565b9050919050565b6000613eaf82612d81565b91506000821415613ec357613ec26133f8565b5b600182039050919050565b600081519050919050565b600082825260208201905092915050565b6000613ef582613ece565b613eff8185613ed9565b9350613f0f818560208601612dd1565b613f1881612e04565b840191505092915050565b6000608082019050613f386000830187612ec9565b613f456020830186612ec9565b613f526040830185612d8b565b8181036060830152613f648184613eea565b905095945050505050565b600081519050613f7e81612c10565b92915050565b600060208284031215613f9a57613f99612bda565b5b6000613fa884828501613f6f565b9150509291505056fea2646970667358221220b91e3f47bc91297084e9097b92b8cb1363bfa63601ee0d8285c396df563e947264736f6c6343000809003300000000000000000000000000000000000000000000000000000000000000400000000000000000000000006c89867531e3c06316970a2fc87ff0122d517d930000000000000000000000000000000000000000000000000000000000000043697066733a2f2f626166796265696733326a37746270776463646879766d726a636a747a636b36786867626b726b737968636968736d79366975356f7937736a7a752f0000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106102675760003560e01c80638ba4cc3c11610144578063c6682862116100b6578063dd2687661161007a578063dd268766146108b0578063e268e4d3146108db578063e985e9c514610904578063eddd0d9c14610941578063f2fde38b1461096a578063fb796e6c1461099357610267565b8063c6682862146107b7578063c87b56dd146107e2578063d19653fb1461081f578063d5abeb0114610848578063dc33e6811461087357610267565b8063a0712d6811610108578063a0712d68146106eb578063a22cb46514610707578063aa1b103f14610730578063b7c0b8e814610747578063b7f9590f14610770578063b88d4fde1461079b57610267565b80638ba4cc3c146106185780638bec1c6d146106415780638da5cb5b1461066c57806392910eec1461069757806395d89b41146106c057610267565b80632e1a7d4d116101dd5780636352211e116101a15780636352211e1461051c5780636c0360eb1461055957806370a0823114610584578063715018a6146105c1578063819b25ba146105d8578063853828b61461060157610267565b80632e1a7d4d1461045a5780632e6cebe51461048357806342842e0e146104ac578063471a4294146104c857806355f804b3146104f357610267565b8063095ea7b31161022f578063095ea7b31461036557806313faede61461038157806318160ddd146103ac57806323b872dd146103d75780632a55205a146103f35780632cb4788d1461043157610267565b806301ffc9a71461026c57806304634d8d146102a9578063056886b0146102d257806306fdde03146102fd578063081812fc14610328575b600080fd5b34801561027857600080fd5b50610293600480360381019061028e9190612c3c565b6109be565b6040516102a09190612c84565b60405180910390f35b3480156102b557600080fd5b506102d060048036038101906102cb9190612d41565b6109e0565b005b3480156102de57600080fd5b506102e76109f6565b6040516102f49190612d9a565b60405180910390f35b34801561030957600080fd5b506103126109fc565b60405161031f9190612e4e565b60405180910390f35b34801561033457600080fd5b5061034f600480360381019061034a9190612e9c565b610a8e565b60405161035c9190612ed8565b60405180910390f35b61037f600480360381019061037a9190612ef3565b610aec565b005b34801561038d57600080fd5b50610396610b21565b6040516103a39190612d9a565b60405180910390f35b3480156103b857600080fd5b506103c1610b27565b6040516103ce9190612d9a565b60405180910390f35b6103f160048036038101906103ec9190612f33565b610b3e565b005b3480156103ff57600080fd5b5061041a60048036038101906104159190612f86565b610ba9565b604051610428929190612fc6565b60405180910390f35b34801561043d57600080fd5b5061045860048036038101906104539190612e9c565b610d94565b005b34801561046657600080fd5b50610481600480360381019061047c9190612e9c565b610da6565b005b34801561048f57600080fd5b506104aa60048036038101906104a59190612e9c565b610e3b565b005b6104c660048036038101906104c19190612f33565b610e92565b005b3480156104d457600080fd5b506104dd610efd565b6040516104ea9190612c84565b60405180910390f35b3480156104ff57600080fd5b5061051a60048036038101906105159190613124565b610f10565b005b34801561052857600080fd5b50610543600480360381019061053e9190612e9c565b610f32565b6040516105509190612ed8565b60405180910390f35b34801561056557600080fd5b5061056e610f44565b60405161057b9190612e4e565b60405180910390f35b34801561059057600080fd5b506105ab60048036038101906105a6919061316d565b610fd2565b6040516105b89190612d9a565b60405180910390f35b3480156105cd57600080fd5b506105d661106a565b005b3480156105e457600080fd5b506105ff60048036038101906105fa9190612e9c565b61107e565b005b34801561060d57600080fd5b50610616611134565b005b34801561062457600080fd5b5061063f600480360381019061063a9190612ef3565b61118b565b005b34801561064d57600080fd5b50610656611242565b6040516106639190612d9a565b60405180910390f35b34801561067857600080fd5b50610681611248565b60405161068e9190612ed8565b60405180910390f35b3480156106a357600080fd5b506106be60048036038101906106b99190612e9c565b611272565b005b3480156106cc57600080fd5b506106d5611284565b6040516106e29190612e4e565b60405180910390f35b61070560048036038101906107009190612e9c565b611316565b005b34801561071357600080fd5b5061072e600480360381019061072991906131c6565b611570565b005b34801561073c57600080fd5b506107456115a5565b005b34801561075357600080fd5b5061076e60048036038101906107699190613206565b6115b7565b005b34801561077c57600080fd5b506107856115dc565b6040516107929190612d9a565b60405180910390f35b6107b560048036038101906107b091906132d4565b6115e2565b005b3480156107c357600080fd5b506107cc61164f565b6040516107d99190612e4e565b60405180910390f35b3480156107ee57600080fd5b5061080960048036038101906108049190612e9c565b6116dd565b6040516108169190612e4e565b60405180910390f35b34801561082b57600080fd5b5061084660048036038101906108419190613206565b611784565b005b34801561085457600080fd5b5061085d6117a9565b60405161086a9190612d9a565b60405180910390f35b34801561087f57600080fd5b5061089a6004803603810190610895919061316d565b6117af565b6040516108a79190612d9a565b60405180910390f35b3480156108bc57600080fd5b506108c56117c1565b6040516108d29190612d9a565b60405180910390f35b3480156108e757600080fd5b5061090260048036038101906108fd9190612e9c565b6117c7565b005b34801561091057600080fd5b5061092b60048036038101906109269190613357565b61181e565b6040516109389190612c84565b60405180910390f35b34801561094d57600080fd5b5061096860048036038101906109639190612e9c565b6118b2565b005b34801561097657600080fd5b50610991600480360381019061098c919061316d565b611907565b005b34801561099f57600080fd5b506109a861198b565b6040516109b59190612c84565b60405180910390f35b60006109c98261199e565b806109d957506109d882611a30565b5b9050919050565b6109e8611aaa565b6109f28282611b28565b5050565b600f5481565b606060028054610a0b906133c6565b80601f0160208091040260200160405190810160405280929190818152602001828054610a37906133c6565b8015610a845780601f10610a5957610100808354040283529160200191610a84565b820191906000526020600020905b815481529060010190602001808311610a6757829003601f168201915b5050505050905090565b6000610a9982611cbe565b610aae57610aad63cf4700e460e01b611d38565b5b6006600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b81610af681611d42565b610b1257610b02611d49565b15610b1157610b1081611d60565b5b5b610b1c8383611da4565b505050565b600c5481565b6000610b31611db4565b6001546000540303905090565b823373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610b9857610b7b33611d42565b610b9757610b87611d49565b15610b9657610b9533611d60565b5b5b5b610ba3848484611dbd565b50505050565b6000806000600a60008681526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161415610d3f5760096040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505090505b6000610d49612081565b6bffffffffffffffffffffffff1682602001516bffffffffffffffffffffffff1686610d759190613427565b610d7f91906134b0565b90508160000151819350935050509250929050565b610d9c611aaa565b80600f8190555050565b610dae611aaa565b47811115610df1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610de89061352d565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610e37573d6000803e3d6000fd5b5050565b610e43611aaa565b80600e541415610e88576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e7f906135bf565b60405180910390fd5b80600e8190555050565b823373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610eec57610ecf33611d42565b610eeb57610edb611d49565b15610eea57610ee933611d60565b5b5b5b610ef784848461208b565b50505050565b601460009054906101000a900460ff1681565b610f18611aaa565b8060129080519060200190610f2e929190612b2d565b5050565b6000610f3d826120ab565b9050919050565b60128054610f51906133c6565b80601f0160208091040260200160405190810160405280929190818152602001828054610f7d906133c6565b8015610fca5780601f10610f9f57610100808354040283529160200191610fca565b820191906000526020600020905b815481529060010190602001808311610fad57829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561101957611018638f4eb60460e01b611d38565b5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b611072611aaa565b61107c60006121a7565b565b611086611aaa565b6000611090610b27565b9050600d5481106110d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110cd9061362b565b60405180910390fd5b600d5482826110e5919061364b565b1115611126576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161111d906136ed565b60405180910390fd5b611130338361226d565b5050565b61113c611aaa565b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611187573d6000803e3d6000fd5b5050565b611193611aaa565b600061119d610b27565b9050600d5481106111e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111da9061362b565b60405180910390fd5b600d5482826111f2919061364b565b1115611233576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161122a90613759565b60405180910390fd5b61123d838361226d565b505050565b60105481565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b61127a611aaa565b8060118190555050565b606060038054611293906133c6565b80601f01602080910402602001604051908101604052809291908181526020018280546112bf906133c6565b801561130c5780601f106112e15761010080835404028352916020019161130c565b820191906000526020600020905b8154815290600101906020018083116112ef57829003601f168201915b5050505050905090565b6000611320610b27565b9050600d548110611366576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161135d9061362b565b60405180910390fd5b601460009054906101000a900460ff166113b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113ac906137eb565b60405180910390fd5b600d5482826113c4919061364b565b1115611405576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113fc90613857565b60405180910390fd5b60006114103361228b565b9050600e54831115611457576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161144e906138e9565b60405180910390fd5b6010548382611466919061364b565b11156114a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161149e9061397b565b60405180910390fd5b600f54821061150457600c54836114be9190613427565b34146114ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114f6906139e7565b60405180910390fd5b611561565b600c54601154846115159190613a07565b61151f9190613427565b3414611560576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611557906139e7565b60405180910390fd5b5b61156b33846122e2565b505050565b8161157a81611d42565b61159657611586611d49565b156115955761159481611d60565b5b5b6115a08383612448565b505050565b6115ad611aaa565b6115b5612553565b565b6115bf611aaa565b80601460016101000a81548160ff02191690831515021790555050565b600e5481565b833373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461163c5761161f33611d42565b61163b5761162b611d49565b1561163a5761163933611d60565b5b5b5b611648858585856125a0565b5050505050565b6013805461165c906133c6565b80601f0160208091040260200160405190810160405280929190818152602001828054611688906133c6565b80156116d55780601f106116aa576101008083540402835291602001916116d5565b820191906000526020600020905b8154815290600101906020018083116116b857829003601f168201915b505050505081565b60606116e882611cbe565b611727576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161171e90613aad565b60405180910390fd5b60006117316125f2565b90506000815111611751576040518060200160405280600081525061177c565b8061175b84612684565b60405160200161176c929190613b55565b6040516020818303038152906040525b915050919050565b61178c611aaa565b80601460006101000a81548160ff02191690831515021790555050565b600d5481565b60006117ba8261228b565b9050919050565b60115481565b6117cf611aaa565b806010541415611814576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161180b90613bf6565b60405180910390fd5b8060108190555050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6118ba611aaa565b600081116118fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118f490613c88565b60405180910390fd5b80600c8190555050565b61190f611aaa565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561197f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161197690613d1a565b60405180910390fd5b611988816121a7565b50565b601460019054906101000a900460ff1681565b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806119f957506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611a295750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611aa35750611aa2826126dd565b5b9050919050565b611ab2612747565b73ffffffffffffffffffffffffffffffffffffffff16611ad0611248565b73ffffffffffffffffffffffffffffffffffffffff1614611b26576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b1d90613d86565b60405180910390fd5b565b611b30612081565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff161115611b8e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b8590613e18565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611bfe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bf590613e84565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff16815250600960008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b600081611cc9611db4565b11611d3357600054821015611d325760005b600060046000858152602001908152602001600020549150811415611d0b5782611d0490613ea4565b9250611cdb565b60007c01000000000000000000000000000000000000000000000000000000008216149150505b5b919050565b8060005260046000fd5b6000919050565b6000601460019054906101000a900460ff16905090565b69c617113400112233445560005230601a5280603a52600080604460166daaeb6d7670e522a718067333cd4e5afa611d9c573d6000803e3d6000fd5b6000603a5250565b611db08282600161274f565b5050565b60006001905090565b6000611dc8826120ab565b905073ffffffffffffffffffffffffffffffffffffffff8473ffffffffffffffffffffffffffffffffffffffff161693508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611e3d57611e3c63a114810060e01b611d38565b5b600080611e498461287e565b91509150611e5f8187611e5a6128a5565b6128ad565b611e8a57611e7486611e6f6128a5565b61181e565b611e8957611e886359c896be60e01b611d38565b5b5b611e9786868660016128f1565b8015611ea257600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815460010191905081905550611f7085611f4c8888876128f7565b7c02000000000000000000000000000000000000000000000000000000001761291f565b600460008681526020019081526020016000208190555060007c020000000000000000000000000000000000000000000000000000000084161415611ff8576000600185019050600060046000838152602001908152602001600020541415611ff6576000548114611ff5578360046000838152602001908152602001600020819055505b5b505b600073ffffffffffffffffffffffffffffffffffffffff8673ffffffffffffffffffffffffffffffffffffffff161690508481887fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600081141561206b5761206a63ea553b3460e01b611d38565b5b612078878787600161294a565b50505050505050565b6000612710905090565b6120a6838383604051806020016040528060008152506115e2565b505050565b6000816120b6611db4565b11612191576004600083815260200190815260200160002054905060008114156121635760005482106120f4576120f363df2d9b4260e01b611d38565b5b5b600460008360019003935083815260200190815260200160002054905060008114156121205761215e565b60007c01000000000000000000000000000000000000000000000000000000008216141561214d576121a2565b61215d63df2d9b4260e01b611d38565b5b6120f5565b60007c010000000000000000000000000000000000000000000000000000000082161415612190576121a2565b5b6121a163df2d9b4260e01b611d38565b5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612287828260405180602001604052806000815250612950565b5050565b600067ffffffffffffffff6040600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054901c169050919050565b60008054905060008214156123025761230163b562e8dd60e01b611d38565b5b61230f60008483856128f1565b61232f8361232060008660006128f7565b612329856129d5565b1761291f565b6004600083815260200190815260200160002081905550600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550600073ffffffffffffffffffffffffffffffffffffffff8473ffffffffffffffffffffffffffffffffffffffff1616905060008114156123e8576123e7632e07630060e01b611d38565b5b6000838301905060008390505b808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4818160010191508114156123f55781600081905550505050612443600084838561294a565b505050565b80600760006124556128a5565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166125026128a5565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516125479190612c84565b60405180910390a35050565b6009600080820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556000820160146101000a8154906bffffffffffffffffffffffff02191690555050565b6125ab848484610b3e565b60008373ffffffffffffffffffffffffffffffffffffffff163b146125ec576125d6848484846129e5565b6125eb576125ea63d1a57ed660e01b611d38565b5b5b50505050565b606060128054612601906133c6565b80601f016020809104026020016040519081016040528092919081815260200182805461262d906133c6565b801561267a5780601f1061264f5761010080835404028352916020019161267a565b820191906000526020600020905b81548152906001019060200180831161265d57829003601f168201915b5050505050905090565b606060a060405101806040526020810391506000825281835b6001156126c857600184039350600a81066030018453600a81049050806126c3576126c8565b61269d565b50828103602084039350808452505050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b600061275a83610f32565b905081801561279c57508073ffffffffffffffffffffffffffffffffffffffff166127836128a5565b73ffffffffffffffffffffffffffffffffffffffff1614155b156127c8576127b2816127ad6128a5565b61181e565b6127c7576127c663cfb3b94260e01b611d38565b5b5b836006600085815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550828473ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a450505050565b60008060006006600085815260200190815260200160002090508092508254915050915091565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e861290e868684612b24565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b61295a83836122e2565b60008373ffffffffffffffffffffffffffffffffffffffff163b146129d057600080549050600083820390505b61299a60008683806001019450866129e5565b6129af576129ae63d1a57ed660e01b611d38565b5b8181106129875781600054146129cd576129cc600060e01b611d38565b5b50505b505050565b60006001821460e11b9050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612a0b6128a5565b8786866040518563ffffffff1660e01b8152600401612a2d9493929190613f23565b602060405180830381600087803b158015612a4757600080fd5b505af1925050508015612a7857506040513d601f19601f82011682018060405250810190612a759190613f84565b60015b612ad1573d8060008114612aa8576040519150601f19603f3d011682016040523d82523d6000602084013e612aad565b606091505b50600081511415612ac957612ac863d1a57ed660e01b611d38565b5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60009392505050565b828054612b39906133c6565b90600052602060002090601f016020900481019282612b5b5760008555612ba2565b82601f10612b7457805160ff1916838001178555612ba2565b82800160010185558215612ba2579182015b82811115612ba1578251825591602001919060010190612b86565b5b509050612baf9190612bb3565b5090565b5b80821115612bcc576000816000905550600101612bb4565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612c1981612be4565b8114612c2457600080fd5b50565b600081359050612c3681612c10565b92915050565b600060208284031215612c5257612c51612bda565b5b6000612c6084828501612c27565b91505092915050565b60008115159050919050565b612c7e81612c69565b82525050565b6000602082019050612c996000830184612c75565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612cca82612c9f565b9050919050565b612cda81612cbf565b8114612ce557600080fd5b50565b600081359050612cf781612cd1565b92915050565b60006bffffffffffffffffffffffff82169050919050565b612d1e81612cfd565b8114612d2957600080fd5b50565b600081359050612d3b81612d15565b92915050565b60008060408385031215612d5857612d57612bda565b5b6000612d6685828601612ce8565b9250506020612d7785828601612d2c565b9150509250929050565b6000819050919050565b612d9481612d81565b82525050565b6000602082019050612daf6000830184612d8b565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612def578082015181840152602081019050612dd4565b83811115612dfe576000848401525b50505050565b6000601f19601f8301169050919050565b6000612e2082612db5565b612e2a8185612dc0565b9350612e3a818560208601612dd1565b612e4381612e04565b840191505092915050565b60006020820190508181036000830152612e688184612e15565b905092915050565b612e7981612d81565b8114612e8457600080fd5b50565b600081359050612e9681612e70565b92915050565b600060208284031215612eb257612eb1612bda565b5b6000612ec084828501612e87565b91505092915050565b612ed281612cbf565b82525050565b6000602082019050612eed6000830184612ec9565b92915050565b60008060408385031215612f0a57612f09612bda565b5b6000612f1885828601612ce8565b9250506020612f2985828601612e87565b9150509250929050565b600080600060608486031215612f4c57612f4b612bda565b5b6000612f5a86828701612ce8565b9350506020612f6b86828701612ce8565b9250506040612f7c86828701612e87565b9150509250925092565b60008060408385031215612f9d57612f9c612bda565b5b6000612fab85828601612e87565b9250506020612fbc85828601612e87565b9150509250929050565b6000604082019050612fdb6000830185612ec9565b612fe86020830184612d8b565b9392505050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61303182612e04565b810181811067ffffffffffffffff821117156130505761304f612ff9565b5b80604052505050565b6000613063612bd0565b905061306f8282613028565b919050565b600067ffffffffffffffff82111561308f5761308e612ff9565b5b61309882612e04565b9050602081019050919050565b82818337600083830152505050565b60006130c76130c284613074565b613059565b9050828152602081018484840111156130e3576130e2612ff4565b5b6130ee8482856130a5565b509392505050565b600082601f83011261310b5761310a612fef565b5b813561311b8482602086016130b4565b91505092915050565b60006020828403121561313a57613139612bda565b5b600082013567ffffffffffffffff81111561315857613157612bdf565b5b613164848285016130f6565b91505092915050565b60006020828403121561318357613182612bda565b5b600061319184828501612ce8565b91505092915050565b6131a381612c69565b81146131ae57600080fd5b50565b6000813590506131c08161319a565b92915050565b600080604083850312156131dd576131dc612bda565b5b60006131eb85828601612ce8565b92505060206131fc858286016131b1565b9150509250929050565b60006020828403121561321c5761321b612bda565b5b600061322a848285016131b1565b91505092915050565b600067ffffffffffffffff82111561324e5761324d612ff9565b5b61325782612e04565b9050602081019050919050565b600061327761327284613233565b613059565b90508281526020810184848401111561329357613292612ff4565b5b61329e8482856130a5565b509392505050565b600082601f8301126132bb576132ba612fef565b5b81356132cb848260208601613264565b91505092915050565b600080600080608085870312156132ee576132ed612bda565b5b60006132fc87828801612ce8565b945050602061330d87828801612ce8565b935050604061331e87828801612e87565b925050606085013567ffffffffffffffff81111561333f5761333e612bdf565b5b61334b878288016132a6565b91505092959194509250565b6000806040838503121561336e5761336d612bda565b5b600061337c85828601612ce8565b925050602061338d85828601612ce8565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806133de57607f821691505b602082108114156133f2576133f1613397565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061343282612d81565b915061343d83612d81565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613476576134756133f8565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006134bb82612d81565b91506134c683612d81565b9250826134d6576134d5613481565b5b828204905092915050565b7f496e73756666696369656e742062616c616e6365000000000000000000000000600082015250565b6000613517601483612dc0565b9150613522826134e1565b602082019050919050565b600060208201905081810360008301526135468161350a565b9050919050565b7f4e6577204d61784d696e746c696d6974206973207468652073616d652061732060008201527f746865206578697374696e67206f6e6500000000000000000000000000000000602082015250565b60006135a9603083612dc0565b91506135b48261354d565b604082019050919050565b600060208201905081810360008301526135d88161359c565b9050919050565b7f43757272656e746c7920736f6c64206f75740000000000000000000000000000600082015250565b6000613615601283612dc0565b9150613620826135df565b602082019050919050565b6000602082019050818103600083015261364481613608565b9050919050565b600061365682612d81565b915061366183612d81565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613696576136956133f8565b5b828201905092915050565b7f4d696e7420776f756c6420657863656564206d617820746f6b656e7300000000600082015250565b60006136d7601c83612dc0565b91506136e2826136a1565b602082019050919050565b60006020820190508181036000830152613706816136ca565b9050919050565b7f41697264726f7020776f756c6420657863656564206d617820746f6b656e7300600082015250565b6000613743601f83612dc0565b915061374e8261370d565b602082019050919050565b6000602082019050818103600083015261377281613736565b9050919050565b7f53616c65206d7573742062652061637469766520746f206d696e7420746f6b6560008201527f6e73000000000000000000000000000000000000000000000000000000000000602082015250565b60006137d5602283612dc0565b91506137e082613779565b604082019050919050565b60006020820190508181036000830152613804816137c8565b9050919050565b7f507572636861736520776f756c6420657863656564206d617820746f6b656e73600082015250565b6000613841602083612dc0565b915061384c8261380b565b602082019050919050565b6000602082019050818103600083015261387081613834565b9050919050565b7f507572636861736520776f756c6420657863656564206d61782070657220747260008201527f616e73616374696f6e0000000000000000000000000000000000000000000000602082015250565b60006138d3602983612dc0565b91506138de82613877565b604082019050919050565b60006020820190508181036000830152613902816138c6565b9050919050565b7f507572636861736520776f756c6420657863656564206d61782070657220776160008201527f6c6c657400000000000000000000000000000000000000000000000000000000602082015250565b6000613965602483612dc0565b915061397082613909565b604082019050919050565b6000602082019050818103600083015261399481613958565b9050919050565b7f4469646e27742073656e6420656e6f7567682045544800000000000000000000600082015250565b60006139d1601683612dc0565b91506139dc8261399b565b602082019050919050565b60006020820190508181036000830152613a00816139c4565b9050919050565b6000613a1282612d81565b9150613a1d83612d81565b925082821015613a3057613a2f6133f8565b5b828203905092915050565b7f455243373231414d657461646174613a2055524920717565727920666f72206e60008201527f6f6e6578697374656e7420746f6b656e00000000000000000000000000000000602082015250565b6000613a97603083612dc0565b9150613aa282613a3b565b604082019050919050565b60006020820190508181036000830152613ac681613a8a565b9050919050565b600081905092915050565b6000613ae382612db5565b613aed8185613acd565b9350613afd818560208601612dd1565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b6000613b3f600583613acd565b9150613b4a82613b09565b600582019050919050565b6000613b618285613ad8565b9150613b6d8284613ad8565b9150613b7882613b32565b91508190509392505050565b7f4e6577204d617850657257616c6c65746c696d6974206973207468652073616d60008201527f6520617320746865206578697374696e67206f6e650000000000000000000000602082015250565b6000613be0603583612dc0565b9150613beb82613b84565b604082019050919050565b60006020820190508181036000830152613c0f81613bd3565b9050919050565b7f54686520636f7374206f66206d696e74696e67206120746f6b656e2073686f7560008201527f6c642062652067726561746572207468616e2030000000000000000000000000602082015250565b6000613c72603483612dc0565b9150613c7d82613c16565b604082019050919050565b60006020820190508181036000830152613ca181613c65565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613d04602683612dc0565b9150613d0f82613ca8565b604082019050919050565b60006020820190508181036000830152613d3381613cf7565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613d70602083612dc0565b9150613d7b82613d3a565b602082019050919050565b60006020820190508181036000830152613d9f81613d63565b9050919050565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b6000613e02602a83612dc0565b9150613e0d82613da6565b604082019050919050565b60006020820190508181036000830152613e3181613df5565b9050919050565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b6000613e6e601983612dc0565b9150613e7982613e38565b602082019050919050565b60006020820190508181036000830152613e9d81613e61565b9050919050565b6000613eaf82612d81565b91506000821415613ec357613ec26133f8565b5b600182039050919050565b600081519050919050565b600082825260208201905092915050565b6000613ef582613ece565b613eff8185613ed9565b9350613f0f818560208601612dd1565b613f1881612e04565b840191505092915050565b6000608082019050613f386000830187612ec9565b613f456020830186612ec9565b613f526040830185612d8b565b8181036060830152613f648184613eea565b905095945050505050565b600081519050613f7e81612c10565b92915050565b600060208284031215613f9a57613f99612bda565b5b6000613fa884828501613f6f565b9150509291505056fea2646970667358221220b91e3f47bc91297084e9097b92b8cb1363bfa63601ee0d8285c396df563e947264736f6c63430008090033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000400000000000000000000000006c89867531e3c06316970a2fc87ff0122d517d930000000000000000000000000000000000000000000000000000000000000043697066733a2f2f626166796265696733326a37746270776463646879766d726a636a747a636b36786867626b726b737968636968736d79366975356f7937736a7a752f0000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _initBaseURI (string): ipfs://bafybeig32j7tbpwdcdhyvmrjcjtzck6xhgbkrksyhcihsmy6iu5oy7sjzu/
Arg [1] : _artist (address): 0x6c89867531E3C06316970A2FC87fF0122D517D93
-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 0000000000000000000000006c89867531e3c06316970a2fc87ff0122d517d93
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000043
Arg [3] : 697066733a2f2f626166796265696733326a37746270776463646879766d726a
Arg [4] : 636a747a636b36786867626b726b737968636968736d79366975356f7937736a
Arg [5] : 7a752f0000000000000000000000000000000000000000000000000000000000
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.