Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
0 SKTLCAT
Holders
767
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
2 SKTLCATLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
SkeletalCats
Compiler Version
v0.8.4+commit.c7e474f2
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.8.4; /// This contract was built on top of inspiration from @HodlCaulfield import '@openzeppelin/contracts/token/ERC721/ERC721.sol'; import '@openzeppelin/contracts/access/Ownable.sol'; import '@openzeppelin/contracts/utils/Strings.sol'; import '@openzeppelin/contracts/token/ERC1155/utils/ERC1155Holder.sol'; import '@openzeppelin/contracts/token/ERC1155/IERC1155.sol'; import '@openzeppelin/contracts/utils/cryptography/MerkleProof.sol'; import './RandomlyAssigned.sol'; /* /$$$$$$ /$$ /$$/$$$$$$$$/$$ /$$$$$$$$/$$$$$$$$/$$$$$$ /$$ /$$$$$$ /$$$$$$ /$$$$$$$$/$$$$$$ /$$__ $| $$ /$$| $$_____| $$ | $$_____|__ $$__/$$__ $| $$ /$$__ $$/$$__ $|__ $$__/$$__ $$ | $$ \__| $$ /$$/| $$ | $$ | $$ | $$ | $$ \ $| $$ | $$ \__| $$ \ $$ | $$ | $$ \__/ | $$$$$$| $$$$$/ | $$$$$ | $$ | $$$$$ | $$ | $$$$$$$| $$ | $$ | $$$$$$$$ | $$ | $$$$$$ \____ $| $$ $$ | $$__/ | $$ | $$__/ | $$ | $$__ $| $$ | $$ | $$__ $$ | $$ \____ $$ /$$ \ $| $$\ $$| $$ | $$ | $$ | $$ | $$ | $| $$ | $$ $| $$ | $$ | $$ /$$ \ $$ | $$$$$$| $$ \ $| $$$$$$$| $$$$$$$| $$$$$$$$ | $$ | $$ | $| $$$$$$$$ | $$$$$$| $$ | $$ | $$ | $$$$$$/ \______/|__/ \__|________|________|________/ |__/ |__/ |__|________/ \______/|__/ |__/ |__/ \______/ ███╗ ██████████╗██████╗██╗ ██╗ ████╗ ██████╔════██╔═══████║ ██║ ██╔████╔███████╗ ██║ ████║ █╗ ██║ ██║╚██╔╝████╔══╝ ██║ ████║███╗██║ ██║ ╚═╝ █████████╚██████╔╚███╔███╔╝ ╚═╝ ╚═╚══════╝╚═════╝ ╚══╝╚══╝ . . . . o | | | | ;-. . ,-. ,-. |- ,-. |- |-. ,-. ;-. ,-. |-. ,-. ;-. ;-. | | `-. |-' | | | | | | |-' | |-' | | | | | | | ' ' `-' `-' `-' `-' `-' ' ' `-' ' `-' `-' `-' ' ' ' */ contract SkeletalCats is ERC721, ERC1155Holder, Ownable, RandomlyAssigned { using Strings for uint256; /* * Private Variables */ uint256 private constant NUMBER_OF_NFTS = 3333; uint256 private constant MAX_ALLOWLIST_MINTS_PER_ADDRESS = 3; uint256 private constant MAX_WAITLIST_MINTS_PER_ADDRESS = 5; struct MintTypes { uint256 _numberOfMintsByAddress; } bytes32 public allowlistMerkleRoot; bytes32 public waitlistMerkleRoot; enum SalePhase { Locked, AllowList, WaitList, PublicSale } string private _defaultUri; string private _tokenBaseURI; /* * Public Variables */ bool public metadataIsFrozen = false; SalePhase public phase = SalePhase.Locked; uint256 public allowlistMintPrice = 0.07 ether; uint256 public mintPrice = 0.09 ether; mapping(SalePhase => mapping(address => MintTypes)) public addressToMints; event RaffleWinner(uint256 winner); /* * Constructor */ constructor( string memory uri ) ERC721('Skeletal Cats', 'SKTLCAT') RandomlyAssigned( NUMBER_OF_NFTS, 0 ) { _defaultUri = uri; } // ======================================================== Owner Functions /// Set the base URI for the metadata /// @dev modifies the state of the `_tokenBaseURI` variable /// @param URI the URI to set as the base token URI function setBaseURI(string memory URI) external onlyOwner { require(!metadataIsFrozen, 'Metadata is permanently frozen'); _tokenBaseURI = URI; } /// Freezes the metadata /// @dev sets the state of `metadataIsFrozen` to true /// @notice permamently freezes the metadata so that no more changes are possible function freezeMetadata() external onlyOwner { require(!metadataIsFrozen, 'Metadata is already frozen'); metadataIsFrozen = true; } /// Adjust the mint price /// @dev modifies the state of the `mintPrice` variable /// @notice sets the price for minting a token /// @param newPrice_ The new price for minting function adjustMintPrice(uint256 allowlistNewPrice_, uint256 newPrice_) external onlyOwner { mintPrice = newPrice_; allowlistMintPrice = allowlistNewPrice_; } /// Advance Phase /// @dev Advance the sale phase state /// @notice Advances sale phase state incrementally function enterPhase(SalePhase phase_) external onlyOwner { phase = phase_; } /// Disburse payments /// @dev transfers amounts that correspond to addresses passeed in as args /// @param payees_ recipient addresses /// @param amounts_ amount to payout to address with corresponding index in the `payees_` array function disbursePayments( address[] memory payees_, uint256[] memory amounts_ ) external onlyOwner { require( payees_.length == amounts_.length, 'Payees and amounts length mismatch' ); for (uint256 i; i < payees_.length; i++) { makePaymentTo(payees_[i], amounts_[i]); } } /// Make a payment /// @dev internal fn called by `disbursePayments` to send Ether to an address function makePaymentTo(address address_, uint256 amt_) private { (bool success, ) = address_.call{value: amt_}(''); require(success, 'Transfer failed.'); } /// Mint during allowlist /// @dev mints by addresses validated using verified coupons signed by an admin signer /// @notice mints tokens with randomized token IDs to addresses eligible for presale /// @param count number of tokens to mint in transaction /// @param merkleProof proof to verify whitelisted function mintAllowlist(uint256 count, bytes32[] calldata merkleProof) external payable ensureAvailabilityFor(count) validateEthPayment(count,true) { require(phase == SalePhase.AllowList, 'Allowlist event is not active'); require( count + addressToMints[phase][msg.sender]._numberOfMintsByAddress <= MAX_ALLOWLIST_MINTS_PER_ADDRESS, 'Exceeds number of allowlist mints allowed' ); require(isOnAllowList(merkleProof, _msgSender()), "Address not on allowlist"); addressToMints[phase][msg.sender]._numberOfMintsByAddress += count; for (uint256 i; i < count; i++) { _mintRandomId(msg.sender); } } /// Mint during Waitlist /// @dev mints by addresses validated using verified coupons signed by an admin signer /// @notice mints tokens with randomized token IDs to addresses eligible for presale /// @param count number of tokens to mint in transaction /// @param merkleProof proof to verify whitelisted function mintWaitlist(uint256 count, bytes32[] calldata merkleProof) external payable ensureAvailabilityFor(count) validateEthPayment(count,true) { require(phase == SalePhase.WaitList, 'Waitlist event is not active'); require( count + addressToMints[phase][msg.sender]._numberOfMintsByAddress <= MAX_WAITLIST_MINTS_PER_ADDRESS, 'Exceeds number of waitlist mints allowed' ); require(isOnWaitlist(merkleProof, _msgSender()), "Address not on waitlist"); addressToMints[phase][msg.sender]._numberOfMintsByAddress += count; for (uint256 i; i < count; i++) { _mintRandomId(msg.sender); } } /// Public minting open to all /// @dev mints tokens during public sale, limited by `MAX_MINTS_PER_ADDRESS` /// @notice mints tokens with randomized IDs to the sender's address /// @param count number of tokens to mint in transaction function mint(uint256 count) external payable validateEthPayment(count, false) ensureAvailabilityFor(count) { require(phase == SalePhase.PublicSale, 'Public sale is not active'); addressToMints[phase][msg.sender]._numberOfMintsByAddress += count; for (uint256 i; i < count; i++) { _mintRandomId(msg.sender); } } // ======================================================== Overrides /// Return the tokenURI for a given ID /// @dev overrides ERC721's `tokenURI` function and returns either the `_tokenBaseURI` or a custom URI /// @notice reutrns the tokenURI using the `_tokenBase` URI if the token ID hasn't been suppleid with a unique custom URI function tokenURI(uint256 tokenId) public view override(ERC721) returns (string memory) { require(_exists(tokenId), 'Cannot query non-existent token'); return bytes(_tokenBaseURI).length > 0 ? string( abi.encodePacked(_tokenBaseURI, '/', tokenId.toString()) ) : string( abi.encodePacked(_defaultUri, '/', tokenId.toString()) ); } /// override supportsInterface because two base classes define it /// @dev See {IERC165-supportsInterface}. function supportsInterface(bytes4 interfaceId) public view virtual override(ERC721, ERC1155Receiver) returns (bool) { return ERC721.supportsInterface(interfaceId) || ERC1155Receiver.supportsInterface(interfaceId); } function updateAllowlistRoot(bytes32 _merkleRoot) external onlyOwner { allowlistMerkleRoot = _merkleRoot; } function updateWaitlistRoot(bytes32 _merkleRoot) external onlyOwner { waitlistMerkleRoot = _merkleRoot; } function ownerMint(address[] memory payees_, uint256[] memory counts) external onlyOwner { require( payees_.length == counts.length, 'Payees and counts length mismatch' ); for (uint256 i; i < payees_.length; i++) { for (uint256 k; k < counts[i]; k++) { _mintRandomId(payees_[i]); } } } function drawRaffle() external onlyOwner { emit RaffleWinner(random()); } // ======================================================== Internal Functions function toBytes32(address addr) pure internal returns (bytes32) { return bytes32(uint256(uint160(addr))); } /// @dev internal check to ensure a genesis token ID, or ID outside of the collection, doesn't get minted function _mintRandomId(address to) private { uint256 id = nextToken(); assert(id <= NUMBER_OF_NFTS); _safeMint(to, id); } function isOnAllowList(bytes32[] calldata merkleProof, address sender) public view returns (bool) { bytes32 leaf = keccak256(abi.encodePacked(sender)); return MerkleProof.verify(merkleProof, allowlistMerkleRoot, leaf); } function isOnWaitlist(bytes32[] calldata merkleProof, address sender) public view returns (bool) { bytes32 leaf = keccak256(abi.encodePacked(sender)); return MerkleProof.verify(merkleProof, waitlistMerkleRoot, leaf); } function withdraw() public onlyOwner { payable(address(_msgSender())).transfer(address(this).balance); } function random() private view returns (uint) { uint randomHash = uint(keccak256(abi.encodePacked(block.difficulty, block.timestamp))); return (randomHash % (NUMBER_OF_NFTS + 1)) + 1; } // ======================================================== Modifiers /// Modifier to validate Eth payments on payable functions /// @dev compares the product of the state variable `_mintPrice` and supplied `count` to msg.value /// @param count factor to multiply by modifier validateEthPayment(uint256 count, bool allowlist) { require( allowlist ? allowlistMintPrice * count <= msg.value : mintPrice * count <= msg.value, 'Ether value sent is not correct' ); _; } } // End of Contract
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); _afterTokenTransfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); _afterTokenTransfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); _afterTokenTransfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits a {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * 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, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (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 Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC1155/utils/ERC1155Holder.sol) pragma solidity ^0.8.0; import "./ERC1155Receiver.sol"; /** * Simple implementation of `ERC1155Receiver` that will allow a contract to hold ERC1155 tokens. * * IMPORTANT: When inheriting this contract, you must include a way to use the received tokens, otherwise they will be * stuck. * * @dev _Available since v3.1._ */ contract ERC1155Holder is ERC1155Receiver { function onERC1155Received( address, address, uint256, uint256, bytes memory ) public virtual override returns (bytes4) { return this.onERC1155Received.selector; } function onERC1155BatchReceived( address, address, uint256[] memory, uint256[] memory, bytes memory ) public virtual override returns (bytes4) { return this.onERC1155BatchReceived.selector; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC1155/IERC1155.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC1155 compliant contract, as defined in the * https://eips.ethereum.org/EIPS/eip-1155[EIP]. * * _Available since v3.1._ */ interface IERC1155 is IERC165 { /** * @dev Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`. */ event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value); /** * @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all * transfers. */ event TransferBatch( address indexed operator, address indexed from, address indexed to, uint256[] ids, uint256[] values ); /** * @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to * `approved`. */ event ApprovalForAll(address indexed account, address indexed operator, bool approved); /** * @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI. * * If an {URI} event was emitted for `id`, the standard * https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value * returned by {IERC1155MetadataURI-uri}. */ event URI(string value, uint256 indexed id); /** * @dev Returns the amount of tokens of token type `id` owned by `account`. * * Requirements: * * - `account` cannot be the zero address. */ function balanceOf(address account, uint256 id) external view returns (uint256); /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}. * * Requirements: * * - `accounts` and `ids` must have the same length. */ function balanceOfBatch(address[] calldata accounts, uint256[] calldata ids) external view returns (uint256[] memory); /** * @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`, * * Emits an {ApprovalForAll} event. * * Requirements: * * - `operator` cannot be the caller. */ function setApprovalForAll(address operator, bool approved) external; /** * @dev Returns true if `operator` is approved to transfer ``account``'s tokens. * * See {setApprovalForAll}. */ function isApprovedForAll(address account, address operator) external view returns (bool); /** * @dev Transfers `amount` tokens of token type `id` from `from` to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - If the caller is not `from`, it must be have been approved to spend ``from``'s tokens via {setApprovalForAll}. * - `from` must have a balance of tokens of type `id` of at least `amount`. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes calldata data ) external; /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}. * * Emits a {TransferBatch} event. * * Requirements: * * - `ids` and `amounts` must have the same length. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function safeBatchTransferFrom( address from, address to, uint256[] calldata ids, uint256[] calldata amounts, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Trees proofs. * * The proofs can be generated using the JavaScript library * https://github.com/miguelmota/merkletreejs[merkletreejs]. * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled. * * See `test/utils/cryptography/MerkleProof.test.js` for some examples. * * WARNING: You should avoid using leaf values that are 64 bytes long prior to * hashing, or use a hash function other than keccak256 for hashing leaves. * This is because the concatenation of a sorted pair of internal nodes in * the merkle tree could be reinterpreted as a leaf value. */ library MerkleProof { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify( bytes32[] memory proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProof(proof, leaf) == root; } /** * @dev Returns the rebuilt hash obtained by traversing a Merkle tree up * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt * hash matches the root of the tree. When processing the proof, the pairs * of leafs & pre-images are assumed to be sorted. * * _Available since v4.4._ */ function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { bytes32 proofElement = proof[i]; if (computedHash <= proofElement) { // Hash(current computed hash + current element of the proof) computedHash = _efficientHash(computedHash, proofElement); } else { // Hash(current element of the proof + current computed hash) computedHash = _efficientHash(proofElement, computedHash); } } return computedHash; } function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) { assembly { mstore(0x00, a) mstore(0x20, b) value := keccak256(0x00, 0x40) } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; import './WithLimitedSupply.sol'; /// @author Modified version of original code by 1001.digital /// @title Randomly assign tokenIDs from a given set of tokens. abstract contract RandomlyAssigned is WithLimitedSupply { // Used for random index assignment mapping(uint256 => uint256) private tokenMatrix; // The initial token ID uint256 private immutable startFrom; /// Instanciate the contract /// @param maxSupply_ how many tokens this collection should hold /// @param numReserved_ the number of tokens reserved whose IDs dont come from the randomizer constructor(uint256 maxSupply_, uint256 numReserved_) WithLimitedSupply(maxSupply_, numReserved_) { startFrom = numReserved_ + 1; } /// Get the next token ID /// @dev Randomly gets a new token ID and keeps track of the ones that are still available. /// @return the next token ID function nextToken() internal override returns (uint256) { uint256 maxIndex = maxAvailableSupply() - tokenCount(); uint256 random = uint256( keccak256( abi.encodePacked( msg.sender, block.coinbase, block.difficulty, block.gaslimit, block.timestamp ) ) ) % maxIndex; uint256 value = 0; if (tokenMatrix[random] == 0) { // If this matrix position is empty, set the value to the generated random number. value = random; } else { // Otherwise, use the previously stored number from the matrix. value = tokenMatrix[random]; } // If the last available tokenID is still unused... if (tokenMatrix[maxIndex - 1] == 0) { // ...store that ID in the current matrix position. tokenMatrix[random] = maxIndex - 1; } else { // ...otherwise copy over the stored number to the current matrix position. tokenMatrix[random] = tokenMatrix[maxIndex - 1]; } // Increment counts (ie. qty minted) super.nextToken(); return value + startFrom; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/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/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 (token/ERC1155/utils/ERC1155Receiver.sol) pragma solidity ^0.8.0; import "../IERC1155Receiver.sol"; import "../../../utils/introspection/ERC165.sol"; /** * @dev _Available since v3.1._ */ abstract contract ERC1155Receiver is ERC165, IERC1155Receiver { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC1155Receiver).interfaceId || super.supportsInterface(interfaceId); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC1155/IERC1155Receiver.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev _Available since v3.1._ */ interface IERC1155Receiver is IERC165 { /** * @dev Handles the receipt of a single ERC1155 token type. This function is * called at the end of a `safeTransferFrom` after the balance has been updated. * * NOTE: To accept the transfer, this must return * `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` * (i.e. 0xf23a6e61, or its own function selector). * * @param operator The address which initiated the transfer (i.e. msg.sender) * @param from The address which previously owned the token * @param id The ID of the token being transferred * @param value The amount of tokens being transferred * @param data Additional data with no specified format * @return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` if transfer is allowed */ function onERC1155Received( address operator, address from, uint256 id, uint256 value, bytes calldata data ) external returns (bytes4); /** * @dev Handles the receipt of a multiple ERC1155 token types. This function * is called at the end of a `safeBatchTransferFrom` after the balances have * been updated. * * NOTE: To accept the transfer(s), this must return * `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` * (i.e. 0xbc197c81, or its own function selector). * * @param operator The address which initiated the batch transfer (i.e. msg.sender) * @param from The address which previously owned the token * @param ids An array containing ids of each token being transferred (order and length must match values array) * @param values An array containing amounts of each token being transferred (order and length must match ids array) * @param data Additional data with no specified format * @return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` if transfer is allowed */ function onERC1155BatchReceived( address operator, address from, uint256[] calldata ids, uint256[] calldata values, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; /// @author Modified version of original code by 1001.digital /// @title A token tracker that limits the token supply and increments token IDs on each new mint. abstract contract WithLimitedSupply { // Keeps track of how many we have minted uint256 private _tokenCount; /// @dev The maximum count of tokens this token tracker will issue. uint256 private immutable _maxAvailableSupply; /// Instanciate the contract /// @param maxSupply_ how many tokens this collection should hold constructor(uint256 maxSupply_, uint256 reserved_) { _maxAvailableSupply = maxSupply_ - reserved_; } function maxAvailableSupply() public view returns (uint256) { return _maxAvailableSupply; } /// @dev Get the current token count /// @return the created token count /// TODO: if this is not required externally, does making it `public view` use unneccary gas? function tokenCount() public view returns (uint256) { return _tokenCount; } /// @dev Check whether tokens are still available /// @return the available token count function availableTokenCount() public view returns (uint256) { return maxAvailableSupply() - tokenCount(); } /// @dev Increment the token count and fetch the latest count /// @return the next token id function nextToken() internal virtual ensureAvailability returns (uint256) { return _tokenCount++; } /// @dev Check whether another token is still available modifier ensureAvailability() { require(availableTokenCount() > 0, 'No more tokens available'); _; } /// @param amount Check whether number of tokens are still available /// @dev Check whether tokens are still available modifier ensureAvailabilityFor(uint256 amount) { require( availableTokenCount() >= amount, 'Requested number of tokens not available' ); _; } }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"uri","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"winner","type":"uint256"}],"name":"RaffleWinner","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"enum SkeletalCats.SalePhase","name":"","type":"uint8"},{"internalType":"address","name":"","type":"address"}],"name":"addressToMints","outputs":[{"internalType":"uint256","name":"_numberOfMintsByAddress","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"allowlistNewPrice_","type":"uint256"},{"internalType":"uint256","name":"newPrice_","type":"uint256"}],"name":"adjustMintPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"allowlistMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"allowlistMintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"availableTokenCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"payees_","type":"address[]"},{"internalType":"uint256[]","name":"amounts_","type":"uint256[]"}],"name":"disbursePayments","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"drawRaffle","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"enum SkeletalCats.SalePhase","name":"phase_","type":"uint8"}],"name":"enterPhase","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"freezeMetadata","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"},{"internalType":"address","name":"sender","type":"address"}],"name":"isOnAllowList","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"},{"internalType":"address","name":"sender","type":"address"}],"name":"isOnWaitlist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxAvailableSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"metadataIsFrozen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"count","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"count","type":"uint256"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"mintAllowlist","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"count","type":"uint256"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"mintWaitlist","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256[]","name":"","type":"uint256[]"},{"internalType":"uint256[]","name":"","type":"uint256[]"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"onERC1155BatchReceived","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"onERC1155Received","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"payees_","type":"address[]"},{"internalType":"uint256[]","name":"counts","type":"uint256[]"}],"name":"ownerMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"phase","outputs":[{"internalType":"enum SkeletalCats.SalePhase","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"URI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"updateAllowlistRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"updateWaitlistRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"waitlistMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60c06040526000600d60006101000a81548160ff0219169083151502179055506000600d60016101000a81548160ff021916908360038111156200006c577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b021790555066f8b0a10e470000600e5567013fbe85edc90000600f553480156200009557600080fd5b5060405162006336380380620063368339818101604052810190620000bb9190620003c1565b610d05600081816040518060400160405280600d81526020017f536b656c6574616c2043617473000000000000000000000000000000000000008152506040518060400160405280600781526020017f534b544c434154000000000000000000000000000000000000000000000000008152508160009080519060200190620001469291906200029f565b5080600190805190602001906200015f9291906200029f565b5050506200018262000176620001d160201b60201c565b620001d960201b60201c565b8082620001909190620004c2565b608081815250505050600181620001a8919062000465565b60a08181525050505080600b9080519060200190620001c99291906200029f565b505062000647565b600033905090565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620002ad906200053d565b90600052602060002090601f016020900481019282620002d157600085556200031d565b82601f10620002ec57805160ff19168380011785556200031d565b828001600101855582156200031d579182015b828111156200031c578251825591602001919060010190620002ff565b5b5090506200032c919062000330565b5090565b5b808211156200034b57600081600090555060010162000331565b5090565b60006200036662000360846200042f565b62000406565b9050828152602081018484840111156200037f57600080fd5b6200038c84828562000507565b509392505050565b600082601f830112620003a657600080fd5b8151620003b88482602086016200034f565b91505092915050565b600060208284031215620003d457600080fd5b600082015167ffffffffffffffff811115620003ef57600080fd5b620003fd8482850162000394565b91505092915050565b60006200041262000425565b905062000420828262000573565b919050565b6000604051905090565b600067ffffffffffffffff8211156200044d576200044c62000607565b5b620004588262000636565b9050602081019050919050565b60006200047282620004fd565b91506200047f83620004fd565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115620004b757620004b6620005a9565b5b828201905092915050565b6000620004cf82620004fd565b9150620004dc83620004fd565b925082821015620004f257620004f1620005a9565b5b828203905092915050565b6000819050919050565b60005b83811015620005275780820151818401526020810190506200050a565b8381111562000537576000848401525b50505050565b600060028204905060018216806200055657607f821691505b602082108114156200056d576200056c620005d8565b5b50919050565b6200057e8262000636565b810181811067ffffffffffffffff82111715620005a0576200059f62000607565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60805160a051615cc96200066d600039600061347c01526000610c1e0152615cc96000f3fe60806040526004361061025c5760003560e01c80638da5cb5b11610144578063c87b56dd116100b6578063e985e9c51161007a578063e985e9c5146108b6578063ebe96dd0146108f3578063ee0078531461090f578063f23a6e6114610938578063f2fde38b14610975578063f49ed4e71461099e5761025c565b8063c87b56dd146107cf578063cf880fea1461080c578063d111515d14610837578063e14ca3531461084e578063e154e577146108795761025c565b80639f696274116101085780639f696274146106d0578063a0712d68146106f9578063a22cb46514610715578063b1c9fe6e1461073e578063b88d4fde14610769578063bc197c81146107925761025c565b80638da5cb5b146105e75780639360ec9a1461061257806395d89b411461064f57806399bf40da1461067a5780639f181b5e146106a55761025c565b80633671f8cf116101dd5780636352211e116101a15780636352211e146104d95780636817c76c1461051657806369f7d2f21461054157806370a082311461056a578063715018a6146105a757806377fc393e146105be5761025c565b80633671f8cf146104175780633ccfd60b146104335780633e2527b51461044a57806342842e0e1461048757806355f804b3146104b05761025c565b80632275aea9116102245780632275aea91461035a57806323b872dd14610371578063293108e01461039a5780633123387b146103c55780633167ecab146103ee5761025c565b806301ffc9a71461026157806306fdde031461029e578063081812fc146102c9578063095ea7b31461030657806315f91c181461032f575b600080fd5b34801561026d57600080fd5b5061028860048036038101906102839190614132565b6109c9565b6040516102959190614a7c565b60405180910390f35b3480156102aa57600080fd5b506102b36109eb565b6040516102c09190614ae8565b60405180910390f35b3480156102d557600080fd5b506102f060048036038101906102eb919061422a565b610a7d565b6040516102fd9190614a15565b60405180910390f35b34801561031257600080fd5b5061032d60048036038101906103289190614009565b610b02565b005b34801561033b57600080fd5b50610344610c1a565b6040516103519190614eea565b60405180910390f35b34801561036657600080fd5b5061036f610c42565b005b34801561037d57600080fd5b5061039860048036038101906103939190613e74565b610cfe565b005b3480156103a657600080fd5b506103af610d5e565b6040516103bc9190614a97565b60405180910390f35b3480156103d157600080fd5b506103ec60048036038101906103e79190614184565b610d64565b005b3480156103fa57600080fd5b5061041560048036038101906104109190614109565b610e33565b005b610431600480360381019061042c9190614253565b610eb9565b005b34801561043f57600080fd5b506104486112c0565b005b34801561045657600080fd5b50610471600480360381019061046c91906141ad565b61138c565b60405161047e9190614eea565b60405180910390f35b34801561049357600080fd5b506104ae60048036038101906104a99190613e74565b6113b7565b005b3480156104bc57600080fd5b506104d760048036038101906104d291906141e9565b6113d7565b005b3480156104e557600080fd5b5061050060048036038101906104fb919061422a565b6114bd565b60405161050d9190614a15565b60405180910390f35b34801561052257600080fd5b5061052b61156f565b6040516105389190614eea565b60405180910390f35b34801561054d57600080fd5b5061056860048036038101906105639190614045565b611575565b005b34801561057657600080fd5b50610591600480360381019061058c9190613d50565b611701565b60405161059e9190614eea565b60405180910390f35b3480156105b357600080fd5b506105bc6117b9565b005b3480156105ca57600080fd5b506105e560048036038101906105e09190614045565b611841565b005b3480156105f357600080fd5b506105fc6119af565b6040516106099190614a15565b60405180910390f35b34801561061e57600080fd5b50610639600480360381019061063491906140b1565b6119d9565b6040516106469190614a7c565b60405180910390f35b34801561065b57600080fd5b50610664611a5d565b6040516106719190614ae8565b60405180910390f35b34801561068657600080fd5b5061068f611aef565b60405161069c9190614a97565b60405180910390f35b3480156106b157600080fd5b506106ba611af5565b6040516106c79190614eea565b60405180910390f35b3480156106dc57600080fd5b506106f760048036038101906106f29190614109565b611aff565b005b610713600480360381019061070e919061422a565b611b85565b005b34801561072157600080fd5b5061073c60048036038101906107379190613fcd565b611e17565b005b34801561074a57600080fd5b50610753611e2d565b6040516107609190614acd565b60405180910390f35b34801561077557600080fd5b50610790600480360381019061078b9190613ec3565b611e40565b005b34801561079e57600080fd5b506107b960048036038101906107b49190613db5565b611ea2565b6040516107c69190614ab2565b60405180910390f35b3480156107db57600080fd5b506107f660048036038101906107f1919061422a565b611eb7565b6040516108039190614ae8565b60405180910390f35b34801561081857600080fd5b50610821611f7a565b60405161082e9190614a7c565b60405180910390f35b34801561084357600080fd5b5061084c611f8d565b005b34801561085a57600080fd5b50610863612076565b6040516108709190614eea565b60405180910390f35b34801561088557600080fd5b506108a0600480360381019061089b91906140b1565b612097565b6040516108ad9190614a7c565b60405180910390f35b3480156108c257600080fd5b506108dd60048036038101906108d89190613d79565b61211b565b6040516108ea9190614a7c565b60405180910390f35b61090d60048036038101906109089190614253565b6121af565b005b34801561091b57600080fd5b50610936600480360381019061093191906142ab565b6125b6565b005b34801561094457600080fd5b5061095f600480360381019061095a9190613f3e565b612644565b60405161096c9190614ab2565b60405180910390f35b34801561098157600080fd5b5061099c60048036038101906109979190613d50565b612659565b005b3480156109aa57600080fd5b506109b3612751565b6040516109c09190614eea565b60405180910390f35b60006109d482612757565b806109e457506109e382612839565b5b9050919050565b6060600080546109fa90615253565b80601f0160208091040260200160405190810160405280929190818152602001828054610a2690615253565b8015610a735780601f10610a4857610100808354040283529160200191610a73565b820191906000526020600020905b815481529060010190602001808311610a5657829003601f168201915b5050505050905090565b6000610a88826128b3565b610ac7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610abe90614d2a565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610b0d826114bd565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610b7e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b7590614dea565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610b9d61291f565b73ffffffffffffffffffffffffffffffffffffffff161480610bcc5750610bcb81610bc661291f565b61211b565b5b610c0b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c0290614c8a565b60405180910390fd5b610c158383612927565b505050565b60007f0000000000000000000000000000000000000000000000000000000000000000905090565b610c4a61291f565b73ffffffffffffffffffffffffffffffffffffffff16610c686119af565b73ffffffffffffffffffffffffffffffffffffffff1614610cbe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cb590614d4a565b60405180910390fd5b7faf1fe35c77a23b5ccfb6a640266740bafbff0bd9916b40e54a96b29305ea3162610ce76129e0565b604051610cf49190614eea565b60405180910390a1565b610d0f610d0961291f565b82612a3c565b610d4e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d4590614e6a565b60405180910390fd5b610d59838383612b1a565b505050565b60095481565b610d6c61291f565b73ffffffffffffffffffffffffffffffffffffffff16610d8a6119af565b73ffffffffffffffffffffffffffffffffffffffff1614610de0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dd790614d4a565b60405180910390fd5b80600d60016101000a81548160ff02191690836003811115610e2b577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b021790555050565b610e3b61291f565b73ffffffffffffffffffffffffffffffffffffffff16610e596119af565b73ffffffffffffffffffffffffffffffffffffffff1614610eaf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ea690614d4a565b60405180910390fd5b80600a8190555050565b8280610ec3612076565b1015610f04576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610efb90614baa565b60405180910390fd5b83600180610f22573482600f54610f1b91906150ce565b1115610f34565b3482600e54610f3191906150ce565b11155b610f73576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f6a90614c0a565b60405180910390fd5b60016003811115610fad577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b600d60019054906101000a900460ff166003811115610ff5577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b14611035576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161102c90614eaa565b60405180910390fd5b600360106000600d60019054906101000a900460ff166003811115611083577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b60038111156110bb577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000154876111159190615047565b1115611156576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161114d90614daa565b60405180910390fd5b611168858561116361291f565b6119d9565b6111a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161119e90614dca565b60405180910390fd5b8560106000600d60019054906101000a900460ff1660038111156111f4577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b600381111561122c577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282546112899190615047565b9250508190555060005b868110156112b7576112a433612d81565b80806112af906152b6565b915050611293565b50505050505050565b6112c861291f565b73ffffffffffffffffffffffffffffffffffffffff166112e66119af565b73ffffffffffffffffffffffffffffffffffffffff161461133c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161133390614d4a565b60405180910390fd5b61134461291f565b73ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015611389573d6000803e3d6000fd5b50565b6010602052816000526040600020602052806000526040600020600091509150508060000154905081565b6113d283838360405180602001604052806000815250611e40565b505050565b6113df61291f565b73ffffffffffffffffffffffffffffffffffffffff166113fd6119af565b73ffffffffffffffffffffffffffffffffffffffff1614611453576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161144a90614d4a565b60405180910390fd5b600d60009054906101000a900460ff16156114a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161149a90614e8a565b60405180910390fd5b80600c90805190602001906114b99291906139d4565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611566576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161155d90614cca565b60405180910390fd5b80915050919050565b600f5481565b61157d61291f565b73ffffffffffffffffffffffffffffffffffffffff1661159b6119af565b73ffffffffffffffffffffffffffffffffffffffff16146115f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115e890614d4a565b60405180910390fd5b8051825114611635576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161162c90614e4a565b60405180910390fd5b60005b82518110156116fc5760005b82828151811061167d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101518110156116e8576116d58483815181106116c8577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151612d81565b80806116e0906152b6565b915050611644565b5080806116f4906152b6565b915050611638565b505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611772576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161176990614caa565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6117c161291f565b73ffffffffffffffffffffffffffffffffffffffff166117df6119af565b73ffffffffffffffffffffffffffffffffffffffff1614611835576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161182c90614d4a565b60405180910390fd5b61183f6000612dd4565b565b61184961291f565b73ffffffffffffffffffffffffffffffffffffffff166118676119af565b73ffffffffffffffffffffffffffffffffffffffff16146118bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118b490614d4a565b60405180910390fd5b8051825114611901576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118f890614e0a565b60405180910390fd5b60005b82518110156119aa57611997838281518110611949577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015183838151811061198a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151612e9a565b80806119a2906152b6565b915050611904565b505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600080826040516020016119ed919061492b565b604051602081830303815290604052805190602001209050611a53858580806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505060095483612f4b565b9150509392505050565b606060018054611a6c90615253565b80601f0160208091040260200160405190810160405280929190818152602001828054611a9890615253565b8015611ae55780601f10611aba57610100808354040283529160200191611ae5565b820191906000526020600020905b815481529060010190602001808311611ac857829003601f168201915b5050505050905090565b600a5481565b6000600754905090565b611b0761291f565b73ffffffffffffffffffffffffffffffffffffffff16611b256119af565b73ffffffffffffffffffffffffffffffffffffffff1614611b7b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b7290614d4a565b60405180910390fd5b8060098190555050565b80600080611ba3573482600f54611b9c91906150ce565b1115611bb5565b3482600e54611bb291906150ce565b11155b611bf4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611beb90614c0a565b60405180910390fd5b8280611bfe612076565b1015611c3f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c3690614baa565b60405180910390fd5b600380811115611c78577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b600d60019054906101000a900460ff166003811115611cc0577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b14611d00576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cf790614cea565b60405180910390fd5b8360106000600d60019054906101000a900460ff166003811115611d4d577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b6003811115611d85577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000016000828254611de29190615047565b9250508190555060005b84811015611e1057611dfd33612d81565b8080611e08906152b6565b915050611dec565b5050505050565b611e29611e2261291f565b8383612f62565b5050565b600d60019054906101000a900460ff1681565b611e51611e4b61291f565b83612a3c565b611e90576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e8790614e6a565b60405180910390fd5b611e9c848484846130cf565b50505050565b600063bc197c8160e01b905095945050505050565b6060611ec2826128b3565b611f01576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ef890614d8a565b60405180910390fd5b6000600c8054611f1090615253565b905011611f4757600b611f228361312b565b604051602001611f339291906149a5565b604051602081830303815290604052611f73565b600c611f528361312b565b604051602001611f639291906149a5565b6040516020818303038152906040525b9050919050565b600d60009054906101000a900460ff1681565b611f9561291f565b73ffffffffffffffffffffffffffffffffffffffff16611fb36119af565b73ffffffffffffffffffffffffffffffffffffffff1614612009576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161200090614d4a565b60405180910390fd5b600d60009054906101000a900460ff1615612059576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161205090614eca565b60405180910390fd5b6001600d60006101000a81548160ff021916908315150217905550565b6000612080611af5565b612088610c1a565b6120929190615128565b905090565b600080826040516020016120ab919061492b565b604051602081830303815290604052805190602001209050612111858580806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600a5483612f4b565b9150509392505050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b82806121b9612076565b10156121fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121f190614baa565b60405180910390fd5b83600180612218573482600f5461221191906150ce565b111561222a565b3482600e5461222791906150ce565b11155b612269576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161226090614c0a565b60405180910390fd5b600260038111156122a3577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b600d60019054906101000a900460ff1660038111156122eb577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1461232b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161232290614d6a565b60405180910390fd5b600560106000600d60019054906101000a900460ff166003811115612379577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b60038111156123b1577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600001548761240b9190615047565b111561244c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161244390614b0a565b60405180910390fd5b61245e858561245961291f565b612097565b61249d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161249490614c6a565b60405180910390fd5b8560106000600d60019054906101000a900460ff1660038111156124ea577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b6003811115612522577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600001600082825461257f9190615047565b9250508190555060005b868110156125ad5761259a33612d81565b80806125a5906152b6565b915050612589565b50505050505050565b6125be61291f565b73ffffffffffffffffffffffffffffffffffffffff166125dc6119af565b73ffffffffffffffffffffffffffffffffffffffff1614612632576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161262990614d4a565b60405180910390fd5b80600f8190555081600e819055505050565b600063f23a6e6160e01b905095945050505050565b61266161291f565b73ffffffffffffffffffffffffffffffffffffffff1661267f6119af565b73ffffffffffffffffffffffffffffffffffffffff16146126d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126cc90614d4a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612745576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161273c90614b4a565b60405180910390fd5b61274e81612dd4565b50565b600e5481565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061282257507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806128325750612831826132d8565b5b9050919050565b60007f4e2312e0000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806128ac57506128ab82612757565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661299a836114bd565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008044426040516020016129f69291906149e9565b6040516020818303038152906040528051906020012060001c9050600180610d05612a219190615047565b82612a2c919061533f565b612a369190615047565b91505090565b6000612a47826128b3565b612a86576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a7d90614c4a565b60405180910390fd5b6000612a91836114bd565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612ad35750612ad2818561211b565b5b80612b1157508373ffffffffffffffffffffffffffffffffffffffff16612af984610a7d565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612b3a826114bd565b73ffffffffffffffffffffffffffffffffffffffff1614612b90576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b8790614b6a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612c00576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bf790614bca565b60405180910390fd5b612c0b838383613342565b612c16600082612927565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612c669190615128565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612cbd9190615047565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612d7c838383613347565b505050565b6000612d8b61334c565b9050610d05811115612dc6577f4e487b7100000000000000000000000000000000000000000000000000000000600052600160045260246000fd5b612dd082826134ae565b5050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008273ffffffffffffffffffffffffffffffffffffffff1682604051612ec0906149d4565b60006040518083038185875af1925050503d8060008114612efd576040519150601f19603f3d011682016040523d82523d6000602084013e612f02565b606091505b5050905080612f46576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f3d90614e2a565b60405180910390fd5b505050565b600082612f5885846134cc565b1490509392505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612fd1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fc890614bea565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516130c29190614a7c565b60405180910390a3505050565b6130da848484612b1a565b6130e684848484613567565b613125576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161311c90614b2a565b60405180910390fd5b50505050565b60606000821415613173576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506132d3565b600082905060005b600082146131a557808061318e906152b6565b915050600a8261319e919061509d565b915061317b565b60008167ffffffffffffffff8111156131e7577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156132195781602001600182028036833780820191505090505b5090505b600085146132cc576001826132329190615128565b9150600a85613241919061533f565b603061324d9190615047565b60f81b818381518110613289577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856132c5919061509d565b945061321d565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b505050565b505050565b600080613357611af5565b61335f610c1a565b6133699190615128565b90506000813341444542604051602001613387959493929190614946565b6040516020818303038152906040528051906020012060001c6133aa919061533f565b9050600080600860008481526020019081526020016000205414156133d1578190506133e8565b600860008381526020019081526020016000205490505b6000600860006001866133fb9190615128565b81526020019081526020016000205414156134395760018361341d9190615128565b6008600084815260200190815260200160002081905550613471565b6008600060018561344a9190615128565b81526020019081526020016000205460086000848152602001908152602001600020819055505b6134796136fe565b507f0000000000000000000000000000000000000000000000000000000000000000816134a69190615047565b935050505090565b6134c8828260405180602001604052806000815250613765565b5050565b60008082905060005b845181101561355c576000858281518110613519577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151905080831161353b5761353483826137c0565b9250613548565b61354581846137c0565b92505b508080613554906152b6565b9150506134d5565b508091505092915050565b60006135888473ffffffffffffffffffffffffffffffffffffffff166137d7565b156136f1578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026135b161291f565b8786866040518563ffffffff1660e01b81526004016135d39493929190614a30565b602060405180830381600087803b1580156135ed57600080fd5b505af192505050801561361e57506040513d601f19601f8201168201806040525081019061361b919061415b565b60015b6136a1573d806000811461364e576040519150601f19603f3d011682016040523d82523d6000602084013e613653565b606091505b50600081511415613699576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161369090614b2a565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506136f6565b600190505b949350505050565b600080613709612076565b11613749576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161374090614c2a565b60405180910390fd5b6007600081548092919061375c906152b6565b91905055905090565b61376f83836137fa565b61377c6000848484613567565b6137bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016137b290614b2a565b60405180910390fd5b505050565b600082600052816020526040600020905092915050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561386a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161386190614d0a565b60405180910390fd5b613873816128b3565b156138b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016138aa90614b8a565b60405180910390fd5b6138bf60008383613342565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461390f9190615047565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46139d060008383613347565b5050565b8280546139e090615253565b90600052602060002090601f016020900481019282613a025760008555613a49565b82601f10613a1b57805160ff1916838001178555613a49565b82800160010185558215613a49579182015b82811115613a48578251825591602001919060010190613a2d565b5b509050613a569190613a5a565b5090565b5b80821115613a73576000816000905550600101613a5b565b5090565b6000613a8a613a8584614f2a565b614f05565b90508083825260208201905082856020860282011115613aa957600080fd5b60005b85811015613ad95781613abf8882613bcb565b845260208401935060208301925050600181019050613aac565b5050509392505050565b6000613af6613af184614f56565b614f05565b90508083825260208201905082856020860282011115613b1557600080fd5b60005b85811015613b455781613b2b8882613d3b565b845260208401935060208301925050600181019050613b18565b5050509392505050565b6000613b62613b5d84614f82565b614f05565b905082815260208101848484011115613b7a57600080fd5b613b85848285615211565b509392505050565b6000613ba0613b9b84614fb3565b614f05565b905082815260208101848484011115613bb857600080fd5b613bc3848285615211565b509392505050565b600081359050613bda81615c10565b92915050565b600082601f830112613bf157600080fd5b8135613c01848260208601613a77565b91505092915050565b60008083601f840112613c1c57600080fd5b8235905067ffffffffffffffff811115613c3557600080fd5b602083019150836020820283011115613c4d57600080fd5b9250929050565b600082601f830112613c6557600080fd5b8135613c75848260208601613ae3565b91505092915050565b600081359050613c8d81615c27565b92915050565b600081359050613ca281615c3e565b92915050565b600081359050613cb781615c55565b92915050565b600081519050613ccc81615c55565b92915050565b600082601f830112613ce357600080fd5b8135613cf3848260208601613b4f565b91505092915050565b600081359050613d0b81615c6c565b92915050565b600082601f830112613d2257600080fd5b8135613d32848260208601613b8d565b91505092915050565b600081359050613d4a81615c7c565b92915050565b600060208284031215613d6257600080fd5b6000613d7084828501613bcb565b91505092915050565b60008060408385031215613d8c57600080fd5b6000613d9a85828601613bcb565b9250506020613dab85828601613bcb565b9150509250929050565b600080600080600060a08688031215613dcd57600080fd5b6000613ddb88828901613bcb565b9550506020613dec88828901613bcb565b945050604086013567ffffffffffffffff811115613e0957600080fd5b613e1588828901613c54565b935050606086013567ffffffffffffffff811115613e3257600080fd5b613e3e88828901613c54565b925050608086013567ffffffffffffffff811115613e5b57600080fd5b613e6788828901613cd2565b9150509295509295909350565b600080600060608486031215613e8957600080fd5b6000613e9786828701613bcb565b9350506020613ea886828701613bcb565b9250506040613eb986828701613d3b565b9150509250925092565b60008060008060808587031215613ed957600080fd5b6000613ee787828801613bcb565b9450506020613ef887828801613bcb565b9350506040613f0987828801613d3b565b925050606085013567ffffffffffffffff811115613f2657600080fd5b613f3287828801613cd2565b91505092959194509250565b600080600080600060a08688031215613f5657600080fd5b6000613f6488828901613bcb565b9550506020613f7588828901613bcb565b9450506040613f8688828901613d3b565b9350506060613f9788828901613d3b565b925050608086013567ffffffffffffffff811115613fb457600080fd5b613fc088828901613cd2565b9150509295509295909350565b60008060408385031215613fe057600080fd5b6000613fee85828601613bcb565b9250506020613fff85828601613c7e565b9150509250929050565b6000806040838503121561401c57600080fd5b600061402a85828601613bcb565b925050602061403b85828601613d3b565b9150509250929050565b6000806040838503121561405857600080fd5b600083013567ffffffffffffffff81111561407257600080fd5b61407e85828601613be0565b925050602083013567ffffffffffffffff81111561409b57600080fd5b6140a785828601613c54565b9150509250929050565b6000806000604084860312156140c657600080fd5b600084013567ffffffffffffffff8111156140e057600080fd5b6140ec86828701613c0a565b935093505060206140ff86828701613bcb565b9150509250925092565b60006020828403121561411b57600080fd5b600061412984828501613c93565b91505092915050565b60006020828403121561414457600080fd5b600061415284828501613ca8565b91505092915050565b60006020828403121561416d57600080fd5b600061417b84828501613cbd565b91505092915050565b60006020828403121561419657600080fd5b60006141a484828501613cfc565b91505092915050565b600080604083850312156141c057600080fd5b60006141ce85828601613cfc565b92505060206141df85828601613bcb565b9150509250929050565b6000602082840312156141fb57600080fd5b600082013567ffffffffffffffff81111561421557600080fd5b61422184828501613d11565b91505092915050565b60006020828403121561423c57600080fd5b600061424a84828501613d3b565b91505092915050565b60008060006040848603121561426857600080fd5b600061427686828701613d3b565b935050602084013567ffffffffffffffff81111561429357600080fd5b61429f86828701613c0a565b92509250509250925092565b600080604083850312156142be57600080fd5b60006142cc85828601613d3b565b92505060206142dd85828601613d3b565b9150509250929050565b6142f86142f38261516e565b615311565b82525050565b6143078161515c565b82525050565b61431e6143198261515c565b6152ff565b82525050565b61432d81615180565b82525050565b61433c8161518c565b82525050565b61434b81615196565b82525050565b600061435c82614ff9565b614366818561500f565b9350614376818560208601615220565b61437f8161545b565b840191505092915050565b614393816151ff565b82525050565b60006143a482615004565b6143ae818561502b565b93506143be818560208601615220565b6143c78161545b565b840191505092915050565b60006143dd82615004565b6143e7818561503c565b93506143f7818560208601615220565b80840191505092915050565b6000815461441081615253565b61441a818661503c565b94506001821660008114614435576001811461444657614479565b60ff19831686528186019350614479565b61444f85614fe4565b60005b8381101561447157815481890152600182019150602081019050614452565b838801955050505b50505092915050565b600061448f60288361502b565b915061449a82615479565b604082019050919050565b60006144b260328361502b565b91506144bd826154c8565b604082019050919050565b60006144d560268361502b565b91506144e082615517565b604082019050919050565b60006144f860258361502b565b915061450382615566565b604082019050919050565b600061451b601c8361502b565b9150614526826155b5565b602082019050919050565b600061453e60288361502b565b9150614549826155de565b604082019050919050565b600061456160248361502b565b915061456c8261562d565b604082019050919050565b600061458460198361502b565b915061458f8261567c565b602082019050919050565b60006145a7601f8361502b565b91506145b2826156a5565b602082019050919050565b60006145ca60188361502b565b91506145d5826156ce565b602082019050919050565b60006145ed602c8361502b565b91506145f8826156f7565b604082019050919050565b600061461060178361502b565b915061461b82615746565b602082019050919050565b600061463360388361502b565b915061463e8261576f565b604082019050919050565b6000614656602a8361502b565b9150614661826157be565b604082019050919050565b600061467960298361502b565b91506146848261580d565b604082019050919050565b600061469c60198361502b565b91506146a78261585c565b602082019050919050565b60006146bf60208361502b565b91506146ca82615885565b602082019050919050565b60006146e2602c8361502b565b91506146ed826158ae565b604082019050919050565b600061470560208361502b565b9150614710826158fd565b602082019050919050565b6000614728601c8361502b565b915061473382615926565b602082019050919050565b600061474b601f8361502b565b91506147568261594f565b602082019050919050565b600061476e60298361502b565b915061477982615978565b604082019050919050565b600061479160188361502b565b915061479c826159c7565b602082019050919050565b60006147b460218361502b565b91506147bf826159f0565b604082019050919050565b60006147d7600083615020565b91506147e282615a3f565b600082019050919050565b60006147fa60228361502b565b915061480582615a42565b604082019050919050565b600061481d60108361502b565b915061482882615a91565b602082019050919050565b600061484060218361502b565b915061484b82615aba565b604082019050919050565b600061486360318361502b565b915061486e82615b09565b604082019050919050565b6000614886601e8361502b565b915061489182615b58565b602082019050919050565b60006148a9601d8361502b565b91506148b482615b81565b602082019050919050565b60006148cc60018361503c565b91506148d782615baa565b600182019050919050565b60006148ef601a8361502b565b91506148fa82615bd3565b602082019050919050565b61490e816151f5565b82525050565b614925614920826151f5565b615335565b82525050565b6000614937828461430d565b60148201915081905092915050565b6000614952828861430d565b60148201915061496282876142e7565b6014820191506149728286614914565b6020820191506149828285614914565b6020820191506149928284614914565b6020820191508190509695505050505050565b60006149b18285614403565b91506149bc826148bf565b91506149c882846143d2565b91508190509392505050565b60006149df826147ca565b9150819050919050565b60006149f58285614914565b602082019150614a058284614914565b6020820191508190509392505050565b6000602082019050614a2a60008301846142fe565b92915050565b6000608082019050614a4560008301876142fe565b614a5260208301866142fe565b614a5f6040830185614905565b8181036060830152614a718184614351565b905095945050505050565b6000602082019050614a916000830184614324565b92915050565b6000602082019050614aac6000830184614333565b92915050565b6000602082019050614ac76000830184614342565b92915050565b6000602082019050614ae2600083018461438a565b92915050565b60006020820190508181036000830152614b028184614399565b905092915050565b60006020820190508181036000830152614b2381614482565b9050919050565b60006020820190508181036000830152614b43816144a5565b9050919050565b60006020820190508181036000830152614b63816144c8565b9050919050565b60006020820190508181036000830152614b83816144eb565b9050919050565b60006020820190508181036000830152614ba38161450e565b9050919050565b60006020820190508181036000830152614bc381614531565b9050919050565b60006020820190508181036000830152614be381614554565b9050919050565b60006020820190508181036000830152614c0381614577565b9050919050565b60006020820190508181036000830152614c238161459a565b9050919050565b60006020820190508181036000830152614c43816145bd565b9050919050565b60006020820190508181036000830152614c63816145e0565b9050919050565b60006020820190508181036000830152614c8381614603565b9050919050565b60006020820190508181036000830152614ca381614626565b9050919050565b60006020820190508181036000830152614cc381614649565b9050919050565b60006020820190508181036000830152614ce38161466c565b9050919050565b60006020820190508181036000830152614d038161468f565b9050919050565b60006020820190508181036000830152614d23816146b2565b9050919050565b60006020820190508181036000830152614d43816146d5565b9050919050565b60006020820190508181036000830152614d63816146f8565b9050919050565b60006020820190508181036000830152614d838161471b565b9050919050565b60006020820190508181036000830152614da38161473e565b9050919050565b60006020820190508181036000830152614dc381614761565b9050919050565b60006020820190508181036000830152614de381614784565b9050919050565b60006020820190508181036000830152614e03816147a7565b9050919050565b60006020820190508181036000830152614e23816147ed565b9050919050565b60006020820190508181036000830152614e4381614810565b9050919050565b60006020820190508181036000830152614e6381614833565b9050919050565b60006020820190508181036000830152614e8381614856565b9050919050565b60006020820190508181036000830152614ea381614879565b9050919050565b60006020820190508181036000830152614ec38161489c565b9050919050565b60006020820190508181036000830152614ee3816148e2565b9050919050565b6000602082019050614eff6000830184614905565b92915050565b6000614f0f614f20565b9050614f1b8282615285565b919050565b6000604051905090565b600067ffffffffffffffff821115614f4557614f4461542c565b5b602082029050602081019050919050565b600067ffffffffffffffff821115614f7157614f7061542c565b5b602082029050602081019050919050565b600067ffffffffffffffff821115614f9d57614f9c61542c565b5b614fa68261545b565b9050602081019050919050565b600067ffffffffffffffff821115614fce57614fcd61542c565b5b614fd78261545b565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000615052826151f5565b915061505d836151f5565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561509257615091615370565b5b828201905092915050565b60006150a8826151f5565b91506150b3836151f5565b9250826150c3576150c261539f565b5b828204905092915050565b60006150d9826151f5565b91506150e4836151f5565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561511d5761511c615370565b5b828202905092915050565b6000615133826151f5565b915061513e836151f5565b92508282101561515157615150615370565b5b828203905092915050565b6000615167826151d5565b9050919050565b6000615179826151d5565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b60008190506151d082615bfc565b919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600061520a826151c2565b9050919050565b82818337600083830152505050565b60005b8381101561523e578082015181840152602081019050615223565b8381111561524d576000848401525b50505050565b6000600282049050600182168061526b57607f821691505b6020821081141561527f5761527e6153fd565b5b50919050565b61528e8261545b565b810181811067ffffffffffffffff821117156152ad576152ac61542c565b5b80604052505050565b60006152c1826151f5565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156152f4576152f3615370565b5b600182019050919050565b600061530a82615323565b9050919050565b600061531c82615323565b9050919050565b600061532e8261546c565b9050919050565b6000819050919050565b600061534a826151f5565b9150615355836151f5565b9250826153655761536461539f565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f45786365656473206e756d626572206f6620776169746c697374206d696e747360008201527f20616c6c6f776564000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f526571756573746564206e756d626572206f6620746f6b656e73206e6f74206160008201527f7661696c61626c65000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f45746865722076616c75652073656e74206973206e6f7420636f727265637400600082015250565b7f4e6f206d6f726520746f6b656e7320617661696c61626c650000000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f41646472657373206e6f74206f6e20776169746c697374000000000000000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f5075626c69632073616c65206973206e6f742061637469766500000000000000600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f576169746c697374206576656e74206973206e6f742061637469766500000000600082015250565b7f43616e6e6f74207175657279206e6f6e2d6578697374656e7420746f6b656e00600082015250565b7f45786365656473206e756d626572206f6620616c6c6f776c697374206d696e7460008201527f7320616c6c6f7765640000000000000000000000000000000000000000000000602082015250565b7f41646472657373206e6f74206f6e20616c6c6f776c6973740000000000000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b50565b7f50617965657320616e6420616d6f756e7473206c656e677468206d69736d617460008201527f6368000000000000000000000000000000000000000000000000000000000000602082015250565b7f5472616e73666572206661696c65642e00000000000000000000000000000000600082015250565b7f50617965657320616e6420636f756e7473206c656e677468206d69736d61746360008201527f6800000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f4d65746164617461206973207065726d616e656e746c792066726f7a656e0000600082015250565b7f416c6c6f776c697374206576656e74206973206e6f7420616374697665000000600082015250565b7f2f00000000000000000000000000000000000000000000000000000000000000600082015250565b7f4d6574616461746120697320616c72656164792066726f7a656e000000000000600082015250565b60048110615c0d57615c0c6153ce565b5b50565b615c198161515c565b8114615c2457600080fd5b50565b615c3081615180565b8114615c3b57600080fd5b50565b615c478161518c565b8114615c5257600080fd5b50565b615c5e81615196565b8114615c6957600080fd5b50565b60048110615c7957600080fd5b50565b615c85816151f5565b8114615c9057600080fd5b5056fea2646970667358221220b9b5e7f7c52edd16b7299dfcef838d932423b916a5c6afc0d83d30723557cfd564736f6c634300080400330000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000005768747470733a2f2f736b656c6574616c636174732e6d7970696e6174612e636c6f75642f697066732f516d4e5364396e61324341686173774a3769615031416979526b524632504169416843646e363654473162543268000000000000000000
Deployed Bytecode
0x60806040526004361061025c5760003560e01c80638da5cb5b11610144578063c87b56dd116100b6578063e985e9c51161007a578063e985e9c5146108b6578063ebe96dd0146108f3578063ee0078531461090f578063f23a6e6114610938578063f2fde38b14610975578063f49ed4e71461099e5761025c565b8063c87b56dd146107cf578063cf880fea1461080c578063d111515d14610837578063e14ca3531461084e578063e154e577146108795761025c565b80639f696274116101085780639f696274146106d0578063a0712d68146106f9578063a22cb46514610715578063b1c9fe6e1461073e578063b88d4fde14610769578063bc197c81146107925761025c565b80638da5cb5b146105e75780639360ec9a1461061257806395d89b411461064f57806399bf40da1461067a5780639f181b5e146106a55761025c565b80633671f8cf116101dd5780636352211e116101a15780636352211e146104d95780636817c76c1461051657806369f7d2f21461054157806370a082311461056a578063715018a6146105a757806377fc393e146105be5761025c565b80633671f8cf146104175780633ccfd60b146104335780633e2527b51461044a57806342842e0e1461048757806355f804b3146104b05761025c565b80632275aea9116102245780632275aea91461035a57806323b872dd14610371578063293108e01461039a5780633123387b146103c55780633167ecab146103ee5761025c565b806301ffc9a71461026157806306fdde031461029e578063081812fc146102c9578063095ea7b31461030657806315f91c181461032f575b600080fd5b34801561026d57600080fd5b5061028860048036038101906102839190614132565b6109c9565b6040516102959190614a7c565b60405180910390f35b3480156102aa57600080fd5b506102b36109eb565b6040516102c09190614ae8565b60405180910390f35b3480156102d557600080fd5b506102f060048036038101906102eb919061422a565b610a7d565b6040516102fd9190614a15565b60405180910390f35b34801561031257600080fd5b5061032d60048036038101906103289190614009565b610b02565b005b34801561033b57600080fd5b50610344610c1a565b6040516103519190614eea565b60405180910390f35b34801561036657600080fd5b5061036f610c42565b005b34801561037d57600080fd5b5061039860048036038101906103939190613e74565b610cfe565b005b3480156103a657600080fd5b506103af610d5e565b6040516103bc9190614a97565b60405180910390f35b3480156103d157600080fd5b506103ec60048036038101906103e79190614184565b610d64565b005b3480156103fa57600080fd5b5061041560048036038101906104109190614109565b610e33565b005b610431600480360381019061042c9190614253565b610eb9565b005b34801561043f57600080fd5b506104486112c0565b005b34801561045657600080fd5b50610471600480360381019061046c91906141ad565b61138c565b60405161047e9190614eea565b60405180910390f35b34801561049357600080fd5b506104ae60048036038101906104a99190613e74565b6113b7565b005b3480156104bc57600080fd5b506104d760048036038101906104d291906141e9565b6113d7565b005b3480156104e557600080fd5b5061050060048036038101906104fb919061422a565b6114bd565b60405161050d9190614a15565b60405180910390f35b34801561052257600080fd5b5061052b61156f565b6040516105389190614eea565b60405180910390f35b34801561054d57600080fd5b5061056860048036038101906105639190614045565b611575565b005b34801561057657600080fd5b50610591600480360381019061058c9190613d50565b611701565b60405161059e9190614eea565b60405180910390f35b3480156105b357600080fd5b506105bc6117b9565b005b3480156105ca57600080fd5b506105e560048036038101906105e09190614045565b611841565b005b3480156105f357600080fd5b506105fc6119af565b6040516106099190614a15565b60405180910390f35b34801561061e57600080fd5b50610639600480360381019061063491906140b1565b6119d9565b6040516106469190614a7c565b60405180910390f35b34801561065b57600080fd5b50610664611a5d565b6040516106719190614ae8565b60405180910390f35b34801561068657600080fd5b5061068f611aef565b60405161069c9190614a97565b60405180910390f35b3480156106b157600080fd5b506106ba611af5565b6040516106c79190614eea565b60405180910390f35b3480156106dc57600080fd5b506106f760048036038101906106f29190614109565b611aff565b005b610713600480360381019061070e919061422a565b611b85565b005b34801561072157600080fd5b5061073c60048036038101906107379190613fcd565b611e17565b005b34801561074a57600080fd5b50610753611e2d565b6040516107609190614acd565b60405180910390f35b34801561077557600080fd5b50610790600480360381019061078b9190613ec3565b611e40565b005b34801561079e57600080fd5b506107b960048036038101906107b49190613db5565b611ea2565b6040516107c69190614ab2565b60405180910390f35b3480156107db57600080fd5b506107f660048036038101906107f1919061422a565b611eb7565b6040516108039190614ae8565b60405180910390f35b34801561081857600080fd5b50610821611f7a565b60405161082e9190614a7c565b60405180910390f35b34801561084357600080fd5b5061084c611f8d565b005b34801561085a57600080fd5b50610863612076565b6040516108709190614eea565b60405180910390f35b34801561088557600080fd5b506108a0600480360381019061089b91906140b1565b612097565b6040516108ad9190614a7c565b60405180910390f35b3480156108c257600080fd5b506108dd60048036038101906108d89190613d79565b61211b565b6040516108ea9190614a7c565b60405180910390f35b61090d60048036038101906109089190614253565b6121af565b005b34801561091b57600080fd5b50610936600480360381019061093191906142ab565b6125b6565b005b34801561094457600080fd5b5061095f600480360381019061095a9190613f3e565b612644565b60405161096c9190614ab2565b60405180910390f35b34801561098157600080fd5b5061099c60048036038101906109979190613d50565b612659565b005b3480156109aa57600080fd5b506109b3612751565b6040516109c09190614eea565b60405180910390f35b60006109d482612757565b806109e457506109e382612839565b5b9050919050565b6060600080546109fa90615253565b80601f0160208091040260200160405190810160405280929190818152602001828054610a2690615253565b8015610a735780601f10610a4857610100808354040283529160200191610a73565b820191906000526020600020905b815481529060010190602001808311610a5657829003601f168201915b5050505050905090565b6000610a88826128b3565b610ac7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610abe90614d2a565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610b0d826114bd565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610b7e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b7590614dea565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610b9d61291f565b73ffffffffffffffffffffffffffffffffffffffff161480610bcc5750610bcb81610bc661291f565b61211b565b5b610c0b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c0290614c8a565b60405180910390fd5b610c158383612927565b505050565b60007f0000000000000000000000000000000000000000000000000000000000000d05905090565b610c4a61291f565b73ffffffffffffffffffffffffffffffffffffffff16610c686119af565b73ffffffffffffffffffffffffffffffffffffffff1614610cbe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cb590614d4a565b60405180910390fd5b7faf1fe35c77a23b5ccfb6a640266740bafbff0bd9916b40e54a96b29305ea3162610ce76129e0565b604051610cf49190614eea565b60405180910390a1565b610d0f610d0961291f565b82612a3c565b610d4e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d4590614e6a565b60405180910390fd5b610d59838383612b1a565b505050565b60095481565b610d6c61291f565b73ffffffffffffffffffffffffffffffffffffffff16610d8a6119af565b73ffffffffffffffffffffffffffffffffffffffff1614610de0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dd790614d4a565b60405180910390fd5b80600d60016101000a81548160ff02191690836003811115610e2b577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b021790555050565b610e3b61291f565b73ffffffffffffffffffffffffffffffffffffffff16610e596119af565b73ffffffffffffffffffffffffffffffffffffffff1614610eaf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ea690614d4a565b60405180910390fd5b80600a8190555050565b8280610ec3612076565b1015610f04576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610efb90614baa565b60405180910390fd5b83600180610f22573482600f54610f1b91906150ce565b1115610f34565b3482600e54610f3191906150ce565b11155b610f73576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f6a90614c0a565b60405180910390fd5b60016003811115610fad577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b600d60019054906101000a900460ff166003811115610ff5577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b14611035576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161102c90614eaa565b60405180910390fd5b600360106000600d60019054906101000a900460ff166003811115611083577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b60038111156110bb577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000154876111159190615047565b1115611156576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161114d90614daa565b60405180910390fd5b611168858561116361291f565b6119d9565b6111a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161119e90614dca565b60405180910390fd5b8560106000600d60019054906101000a900460ff1660038111156111f4577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b600381111561122c577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282546112899190615047565b9250508190555060005b868110156112b7576112a433612d81565b80806112af906152b6565b915050611293565b50505050505050565b6112c861291f565b73ffffffffffffffffffffffffffffffffffffffff166112e66119af565b73ffffffffffffffffffffffffffffffffffffffff161461133c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161133390614d4a565b60405180910390fd5b61134461291f565b73ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015611389573d6000803e3d6000fd5b50565b6010602052816000526040600020602052806000526040600020600091509150508060000154905081565b6113d283838360405180602001604052806000815250611e40565b505050565b6113df61291f565b73ffffffffffffffffffffffffffffffffffffffff166113fd6119af565b73ffffffffffffffffffffffffffffffffffffffff1614611453576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161144a90614d4a565b60405180910390fd5b600d60009054906101000a900460ff16156114a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161149a90614e8a565b60405180910390fd5b80600c90805190602001906114b99291906139d4565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611566576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161155d90614cca565b60405180910390fd5b80915050919050565b600f5481565b61157d61291f565b73ffffffffffffffffffffffffffffffffffffffff1661159b6119af565b73ffffffffffffffffffffffffffffffffffffffff16146115f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115e890614d4a565b60405180910390fd5b8051825114611635576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161162c90614e4a565b60405180910390fd5b60005b82518110156116fc5760005b82828151811061167d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101518110156116e8576116d58483815181106116c8577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151612d81565b80806116e0906152b6565b915050611644565b5080806116f4906152b6565b915050611638565b505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611772576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161176990614caa565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6117c161291f565b73ffffffffffffffffffffffffffffffffffffffff166117df6119af565b73ffffffffffffffffffffffffffffffffffffffff1614611835576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161182c90614d4a565b60405180910390fd5b61183f6000612dd4565b565b61184961291f565b73ffffffffffffffffffffffffffffffffffffffff166118676119af565b73ffffffffffffffffffffffffffffffffffffffff16146118bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118b490614d4a565b60405180910390fd5b8051825114611901576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118f890614e0a565b60405180910390fd5b60005b82518110156119aa57611997838281518110611949577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015183838151811061198a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151612e9a565b80806119a2906152b6565b915050611904565b505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600080826040516020016119ed919061492b565b604051602081830303815290604052805190602001209050611a53858580806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505060095483612f4b565b9150509392505050565b606060018054611a6c90615253565b80601f0160208091040260200160405190810160405280929190818152602001828054611a9890615253565b8015611ae55780601f10611aba57610100808354040283529160200191611ae5565b820191906000526020600020905b815481529060010190602001808311611ac857829003601f168201915b5050505050905090565b600a5481565b6000600754905090565b611b0761291f565b73ffffffffffffffffffffffffffffffffffffffff16611b256119af565b73ffffffffffffffffffffffffffffffffffffffff1614611b7b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b7290614d4a565b60405180910390fd5b8060098190555050565b80600080611ba3573482600f54611b9c91906150ce565b1115611bb5565b3482600e54611bb291906150ce565b11155b611bf4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611beb90614c0a565b60405180910390fd5b8280611bfe612076565b1015611c3f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c3690614baa565b60405180910390fd5b600380811115611c78577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b600d60019054906101000a900460ff166003811115611cc0577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b14611d00576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cf790614cea565b60405180910390fd5b8360106000600d60019054906101000a900460ff166003811115611d4d577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b6003811115611d85577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000016000828254611de29190615047565b9250508190555060005b84811015611e1057611dfd33612d81565b8080611e08906152b6565b915050611dec565b5050505050565b611e29611e2261291f565b8383612f62565b5050565b600d60019054906101000a900460ff1681565b611e51611e4b61291f565b83612a3c565b611e90576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e8790614e6a565b60405180910390fd5b611e9c848484846130cf565b50505050565b600063bc197c8160e01b905095945050505050565b6060611ec2826128b3565b611f01576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ef890614d8a565b60405180910390fd5b6000600c8054611f1090615253565b905011611f4757600b611f228361312b565b604051602001611f339291906149a5565b604051602081830303815290604052611f73565b600c611f528361312b565b604051602001611f639291906149a5565b6040516020818303038152906040525b9050919050565b600d60009054906101000a900460ff1681565b611f9561291f565b73ffffffffffffffffffffffffffffffffffffffff16611fb36119af565b73ffffffffffffffffffffffffffffffffffffffff1614612009576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161200090614d4a565b60405180910390fd5b600d60009054906101000a900460ff1615612059576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161205090614eca565b60405180910390fd5b6001600d60006101000a81548160ff021916908315150217905550565b6000612080611af5565b612088610c1a565b6120929190615128565b905090565b600080826040516020016120ab919061492b565b604051602081830303815290604052805190602001209050612111858580806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600a5483612f4b565b9150509392505050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b82806121b9612076565b10156121fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121f190614baa565b60405180910390fd5b83600180612218573482600f5461221191906150ce565b111561222a565b3482600e5461222791906150ce565b11155b612269576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161226090614c0a565b60405180910390fd5b600260038111156122a3577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b600d60019054906101000a900460ff1660038111156122eb577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1461232b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161232290614d6a565b60405180910390fd5b600560106000600d60019054906101000a900460ff166003811115612379577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b60038111156123b1577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600001548761240b9190615047565b111561244c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161244390614b0a565b60405180910390fd5b61245e858561245961291f565b612097565b61249d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161249490614c6a565b60405180910390fd5b8560106000600d60019054906101000a900460ff1660038111156124ea577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b6003811115612522577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600001600082825461257f9190615047565b9250508190555060005b868110156125ad5761259a33612d81565b80806125a5906152b6565b915050612589565b50505050505050565b6125be61291f565b73ffffffffffffffffffffffffffffffffffffffff166125dc6119af565b73ffffffffffffffffffffffffffffffffffffffff1614612632576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161262990614d4a565b60405180910390fd5b80600f8190555081600e819055505050565b600063f23a6e6160e01b905095945050505050565b61266161291f565b73ffffffffffffffffffffffffffffffffffffffff1661267f6119af565b73ffffffffffffffffffffffffffffffffffffffff16146126d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126cc90614d4a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612745576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161273c90614b4a565b60405180910390fd5b61274e81612dd4565b50565b600e5481565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061282257507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806128325750612831826132d8565b5b9050919050565b60007f4e2312e0000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806128ac57506128ab82612757565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661299a836114bd565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008044426040516020016129f69291906149e9565b6040516020818303038152906040528051906020012060001c9050600180610d05612a219190615047565b82612a2c919061533f565b612a369190615047565b91505090565b6000612a47826128b3565b612a86576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a7d90614c4a565b60405180910390fd5b6000612a91836114bd565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612ad35750612ad2818561211b565b5b80612b1157508373ffffffffffffffffffffffffffffffffffffffff16612af984610a7d565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612b3a826114bd565b73ffffffffffffffffffffffffffffffffffffffff1614612b90576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b8790614b6a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612c00576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bf790614bca565b60405180910390fd5b612c0b838383613342565b612c16600082612927565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612c669190615128565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612cbd9190615047565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612d7c838383613347565b505050565b6000612d8b61334c565b9050610d05811115612dc6577f4e487b7100000000000000000000000000000000000000000000000000000000600052600160045260246000fd5b612dd082826134ae565b5050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008273ffffffffffffffffffffffffffffffffffffffff1682604051612ec0906149d4565b60006040518083038185875af1925050503d8060008114612efd576040519150601f19603f3d011682016040523d82523d6000602084013e612f02565b606091505b5050905080612f46576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f3d90614e2a565b60405180910390fd5b505050565b600082612f5885846134cc565b1490509392505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612fd1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fc890614bea565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516130c29190614a7c565b60405180910390a3505050565b6130da848484612b1a565b6130e684848484613567565b613125576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161311c90614b2a565b60405180910390fd5b50505050565b60606000821415613173576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506132d3565b600082905060005b600082146131a557808061318e906152b6565b915050600a8261319e919061509d565b915061317b565b60008167ffffffffffffffff8111156131e7577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156132195781602001600182028036833780820191505090505b5090505b600085146132cc576001826132329190615128565b9150600a85613241919061533f565b603061324d9190615047565b60f81b818381518110613289577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856132c5919061509d565b945061321d565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b505050565b505050565b600080613357611af5565b61335f610c1a565b6133699190615128565b90506000813341444542604051602001613387959493929190614946565b6040516020818303038152906040528051906020012060001c6133aa919061533f565b9050600080600860008481526020019081526020016000205414156133d1578190506133e8565b600860008381526020019081526020016000205490505b6000600860006001866133fb9190615128565b81526020019081526020016000205414156134395760018361341d9190615128565b6008600084815260200190815260200160002081905550613471565b6008600060018561344a9190615128565b81526020019081526020016000205460086000848152602001908152602001600020819055505b6134796136fe565b507f0000000000000000000000000000000000000000000000000000000000000001816134a69190615047565b935050505090565b6134c8828260405180602001604052806000815250613765565b5050565b60008082905060005b845181101561355c576000858281518110613519577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151905080831161353b5761353483826137c0565b9250613548565b61354581846137c0565b92505b508080613554906152b6565b9150506134d5565b508091505092915050565b60006135888473ffffffffffffffffffffffffffffffffffffffff166137d7565b156136f1578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026135b161291f565b8786866040518563ffffffff1660e01b81526004016135d39493929190614a30565b602060405180830381600087803b1580156135ed57600080fd5b505af192505050801561361e57506040513d601f19601f8201168201806040525081019061361b919061415b565b60015b6136a1573d806000811461364e576040519150601f19603f3d011682016040523d82523d6000602084013e613653565b606091505b50600081511415613699576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161369090614b2a565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506136f6565b600190505b949350505050565b600080613709612076565b11613749576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161374090614c2a565b60405180910390fd5b6007600081548092919061375c906152b6565b91905055905090565b61376f83836137fa565b61377c6000848484613567565b6137bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016137b290614b2a565b60405180910390fd5b505050565b600082600052816020526040600020905092915050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561386a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161386190614d0a565b60405180910390fd5b613873816128b3565b156138b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016138aa90614b8a565b60405180910390fd5b6138bf60008383613342565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461390f9190615047565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46139d060008383613347565b5050565b8280546139e090615253565b90600052602060002090601f016020900481019282613a025760008555613a49565b82601f10613a1b57805160ff1916838001178555613a49565b82800160010185558215613a49579182015b82811115613a48578251825591602001919060010190613a2d565b5b509050613a569190613a5a565b5090565b5b80821115613a73576000816000905550600101613a5b565b5090565b6000613a8a613a8584614f2a565b614f05565b90508083825260208201905082856020860282011115613aa957600080fd5b60005b85811015613ad95781613abf8882613bcb565b845260208401935060208301925050600181019050613aac565b5050509392505050565b6000613af6613af184614f56565b614f05565b90508083825260208201905082856020860282011115613b1557600080fd5b60005b85811015613b455781613b2b8882613d3b565b845260208401935060208301925050600181019050613b18565b5050509392505050565b6000613b62613b5d84614f82565b614f05565b905082815260208101848484011115613b7a57600080fd5b613b85848285615211565b509392505050565b6000613ba0613b9b84614fb3565b614f05565b905082815260208101848484011115613bb857600080fd5b613bc3848285615211565b509392505050565b600081359050613bda81615c10565b92915050565b600082601f830112613bf157600080fd5b8135613c01848260208601613a77565b91505092915050565b60008083601f840112613c1c57600080fd5b8235905067ffffffffffffffff811115613c3557600080fd5b602083019150836020820283011115613c4d57600080fd5b9250929050565b600082601f830112613c6557600080fd5b8135613c75848260208601613ae3565b91505092915050565b600081359050613c8d81615c27565b92915050565b600081359050613ca281615c3e565b92915050565b600081359050613cb781615c55565b92915050565b600081519050613ccc81615c55565b92915050565b600082601f830112613ce357600080fd5b8135613cf3848260208601613b4f565b91505092915050565b600081359050613d0b81615c6c565b92915050565b600082601f830112613d2257600080fd5b8135613d32848260208601613b8d565b91505092915050565b600081359050613d4a81615c7c565b92915050565b600060208284031215613d6257600080fd5b6000613d7084828501613bcb565b91505092915050565b60008060408385031215613d8c57600080fd5b6000613d9a85828601613bcb565b9250506020613dab85828601613bcb565b9150509250929050565b600080600080600060a08688031215613dcd57600080fd5b6000613ddb88828901613bcb565b9550506020613dec88828901613bcb565b945050604086013567ffffffffffffffff811115613e0957600080fd5b613e1588828901613c54565b935050606086013567ffffffffffffffff811115613e3257600080fd5b613e3e88828901613c54565b925050608086013567ffffffffffffffff811115613e5b57600080fd5b613e6788828901613cd2565b9150509295509295909350565b600080600060608486031215613e8957600080fd5b6000613e9786828701613bcb565b9350506020613ea886828701613bcb565b9250506040613eb986828701613d3b565b9150509250925092565b60008060008060808587031215613ed957600080fd5b6000613ee787828801613bcb565b9450506020613ef887828801613bcb565b9350506040613f0987828801613d3b565b925050606085013567ffffffffffffffff811115613f2657600080fd5b613f3287828801613cd2565b91505092959194509250565b600080600080600060a08688031215613f5657600080fd5b6000613f6488828901613bcb565b9550506020613f7588828901613bcb565b9450506040613f8688828901613d3b565b9350506060613f9788828901613d3b565b925050608086013567ffffffffffffffff811115613fb457600080fd5b613fc088828901613cd2565b9150509295509295909350565b60008060408385031215613fe057600080fd5b6000613fee85828601613bcb565b9250506020613fff85828601613c7e565b9150509250929050565b6000806040838503121561401c57600080fd5b600061402a85828601613bcb565b925050602061403b85828601613d3b565b9150509250929050565b6000806040838503121561405857600080fd5b600083013567ffffffffffffffff81111561407257600080fd5b61407e85828601613be0565b925050602083013567ffffffffffffffff81111561409b57600080fd5b6140a785828601613c54565b9150509250929050565b6000806000604084860312156140c657600080fd5b600084013567ffffffffffffffff8111156140e057600080fd5b6140ec86828701613c0a565b935093505060206140ff86828701613bcb565b9150509250925092565b60006020828403121561411b57600080fd5b600061412984828501613c93565b91505092915050565b60006020828403121561414457600080fd5b600061415284828501613ca8565b91505092915050565b60006020828403121561416d57600080fd5b600061417b84828501613cbd565b91505092915050565b60006020828403121561419657600080fd5b60006141a484828501613cfc565b91505092915050565b600080604083850312156141c057600080fd5b60006141ce85828601613cfc565b92505060206141df85828601613bcb565b9150509250929050565b6000602082840312156141fb57600080fd5b600082013567ffffffffffffffff81111561421557600080fd5b61422184828501613d11565b91505092915050565b60006020828403121561423c57600080fd5b600061424a84828501613d3b565b91505092915050565b60008060006040848603121561426857600080fd5b600061427686828701613d3b565b935050602084013567ffffffffffffffff81111561429357600080fd5b61429f86828701613c0a565b92509250509250925092565b600080604083850312156142be57600080fd5b60006142cc85828601613d3b565b92505060206142dd85828601613d3b565b9150509250929050565b6142f86142f38261516e565b615311565b82525050565b6143078161515c565b82525050565b61431e6143198261515c565b6152ff565b82525050565b61432d81615180565b82525050565b61433c8161518c565b82525050565b61434b81615196565b82525050565b600061435c82614ff9565b614366818561500f565b9350614376818560208601615220565b61437f8161545b565b840191505092915050565b614393816151ff565b82525050565b60006143a482615004565b6143ae818561502b565b93506143be818560208601615220565b6143c78161545b565b840191505092915050565b60006143dd82615004565b6143e7818561503c565b93506143f7818560208601615220565b80840191505092915050565b6000815461441081615253565b61441a818661503c565b94506001821660008114614435576001811461444657614479565b60ff19831686528186019350614479565b61444f85614fe4565b60005b8381101561447157815481890152600182019150602081019050614452565b838801955050505b50505092915050565b600061448f60288361502b565b915061449a82615479565b604082019050919050565b60006144b260328361502b565b91506144bd826154c8565b604082019050919050565b60006144d560268361502b565b91506144e082615517565b604082019050919050565b60006144f860258361502b565b915061450382615566565b604082019050919050565b600061451b601c8361502b565b9150614526826155b5565b602082019050919050565b600061453e60288361502b565b9150614549826155de565b604082019050919050565b600061456160248361502b565b915061456c8261562d565b604082019050919050565b600061458460198361502b565b915061458f8261567c565b602082019050919050565b60006145a7601f8361502b565b91506145b2826156a5565b602082019050919050565b60006145ca60188361502b565b91506145d5826156ce565b602082019050919050565b60006145ed602c8361502b565b91506145f8826156f7565b604082019050919050565b600061461060178361502b565b915061461b82615746565b602082019050919050565b600061463360388361502b565b915061463e8261576f565b604082019050919050565b6000614656602a8361502b565b9150614661826157be565b604082019050919050565b600061467960298361502b565b91506146848261580d565b604082019050919050565b600061469c60198361502b565b91506146a78261585c565b602082019050919050565b60006146bf60208361502b565b91506146ca82615885565b602082019050919050565b60006146e2602c8361502b565b91506146ed826158ae565b604082019050919050565b600061470560208361502b565b9150614710826158fd565b602082019050919050565b6000614728601c8361502b565b915061473382615926565b602082019050919050565b600061474b601f8361502b565b91506147568261594f565b602082019050919050565b600061476e60298361502b565b915061477982615978565b604082019050919050565b600061479160188361502b565b915061479c826159c7565b602082019050919050565b60006147b460218361502b565b91506147bf826159f0565b604082019050919050565b60006147d7600083615020565b91506147e282615a3f565b600082019050919050565b60006147fa60228361502b565b915061480582615a42565b604082019050919050565b600061481d60108361502b565b915061482882615a91565b602082019050919050565b600061484060218361502b565b915061484b82615aba565b604082019050919050565b600061486360318361502b565b915061486e82615b09565b604082019050919050565b6000614886601e8361502b565b915061489182615b58565b602082019050919050565b60006148a9601d8361502b565b91506148b482615b81565b602082019050919050565b60006148cc60018361503c565b91506148d782615baa565b600182019050919050565b60006148ef601a8361502b565b91506148fa82615bd3565b602082019050919050565b61490e816151f5565b82525050565b614925614920826151f5565b615335565b82525050565b6000614937828461430d565b60148201915081905092915050565b6000614952828861430d565b60148201915061496282876142e7565b6014820191506149728286614914565b6020820191506149828285614914565b6020820191506149928284614914565b6020820191508190509695505050505050565b60006149b18285614403565b91506149bc826148bf565b91506149c882846143d2565b91508190509392505050565b60006149df826147ca565b9150819050919050565b60006149f58285614914565b602082019150614a058284614914565b6020820191508190509392505050565b6000602082019050614a2a60008301846142fe565b92915050565b6000608082019050614a4560008301876142fe565b614a5260208301866142fe565b614a5f6040830185614905565b8181036060830152614a718184614351565b905095945050505050565b6000602082019050614a916000830184614324565b92915050565b6000602082019050614aac6000830184614333565b92915050565b6000602082019050614ac76000830184614342565b92915050565b6000602082019050614ae2600083018461438a565b92915050565b60006020820190508181036000830152614b028184614399565b905092915050565b60006020820190508181036000830152614b2381614482565b9050919050565b60006020820190508181036000830152614b43816144a5565b9050919050565b60006020820190508181036000830152614b63816144c8565b9050919050565b60006020820190508181036000830152614b83816144eb565b9050919050565b60006020820190508181036000830152614ba38161450e565b9050919050565b60006020820190508181036000830152614bc381614531565b9050919050565b60006020820190508181036000830152614be381614554565b9050919050565b60006020820190508181036000830152614c0381614577565b9050919050565b60006020820190508181036000830152614c238161459a565b9050919050565b60006020820190508181036000830152614c43816145bd565b9050919050565b60006020820190508181036000830152614c63816145e0565b9050919050565b60006020820190508181036000830152614c8381614603565b9050919050565b60006020820190508181036000830152614ca381614626565b9050919050565b60006020820190508181036000830152614cc381614649565b9050919050565b60006020820190508181036000830152614ce38161466c565b9050919050565b60006020820190508181036000830152614d038161468f565b9050919050565b60006020820190508181036000830152614d23816146b2565b9050919050565b60006020820190508181036000830152614d43816146d5565b9050919050565b60006020820190508181036000830152614d63816146f8565b9050919050565b60006020820190508181036000830152614d838161471b565b9050919050565b60006020820190508181036000830152614da38161473e565b9050919050565b60006020820190508181036000830152614dc381614761565b9050919050565b60006020820190508181036000830152614de381614784565b9050919050565b60006020820190508181036000830152614e03816147a7565b9050919050565b60006020820190508181036000830152614e23816147ed565b9050919050565b60006020820190508181036000830152614e4381614810565b9050919050565b60006020820190508181036000830152614e6381614833565b9050919050565b60006020820190508181036000830152614e8381614856565b9050919050565b60006020820190508181036000830152614ea381614879565b9050919050565b60006020820190508181036000830152614ec38161489c565b9050919050565b60006020820190508181036000830152614ee3816148e2565b9050919050565b6000602082019050614eff6000830184614905565b92915050565b6000614f0f614f20565b9050614f1b8282615285565b919050565b6000604051905090565b600067ffffffffffffffff821115614f4557614f4461542c565b5b602082029050602081019050919050565b600067ffffffffffffffff821115614f7157614f7061542c565b5b602082029050602081019050919050565b600067ffffffffffffffff821115614f9d57614f9c61542c565b5b614fa68261545b565b9050602081019050919050565b600067ffffffffffffffff821115614fce57614fcd61542c565b5b614fd78261545b565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000615052826151f5565b915061505d836151f5565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561509257615091615370565b5b828201905092915050565b60006150a8826151f5565b91506150b3836151f5565b9250826150c3576150c261539f565b5b828204905092915050565b60006150d9826151f5565b91506150e4836151f5565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561511d5761511c615370565b5b828202905092915050565b6000615133826151f5565b915061513e836151f5565b92508282101561515157615150615370565b5b828203905092915050565b6000615167826151d5565b9050919050565b6000615179826151d5565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b60008190506151d082615bfc565b919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600061520a826151c2565b9050919050565b82818337600083830152505050565b60005b8381101561523e578082015181840152602081019050615223565b8381111561524d576000848401525b50505050565b6000600282049050600182168061526b57607f821691505b6020821081141561527f5761527e6153fd565b5b50919050565b61528e8261545b565b810181811067ffffffffffffffff821117156152ad576152ac61542c565b5b80604052505050565b60006152c1826151f5565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156152f4576152f3615370565b5b600182019050919050565b600061530a82615323565b9050919050565b600061531c82615323565b9050919050565b600061532e8261546c565b9050919050565b6000819050919050565b600061534a826151f5565b9150615355836151f5565b9250826153655761536461539f565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f45786365656473206e756d626572206f6620776169746c697374206d696e747360008201527f20616c6c6f776564000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f526571756573746564206e756d626572206f6620746f6b656e73206e6f74206160008201527f7661696c61626c65000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f45746865722076616c75652073656e74206973206e6f7420636f727265637400600082015250565b7f4e6f206d6f726520746f6b656e7320617661696c61626c650000000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f41646472657373206e6f74206f6e20776169746c697374000000000000000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f5075626c69632073616c65206973206e6f742061637469766500000000000000600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f576169746c697374206576656e74206973206e6f742061637469766500000000600082015250565b7f43616e6e6f74207175657279206e6f6e2d6578697374656e7420746f6b656e00600082015250565b7f45786365656473206e756d626572206f6620616c6c6f776c697374206d696e7460008201527f7320616c6c6f7765640000000000000000000000000000000000000000000000602082015250565b7f41646472657373206e6f74206f6e20616c6c6f776c6973740000000000000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b50565b7f50617965657320616e6420616d6f756e7473206c656e677468206d69736d617460008201527f6368000000000000000000000000000000000000000000000000000000000000602082015250565b7f5472616e73666572206661696c65642e00000000000000000000000000000000600082015250565b7f50617965657320616e6420636f756e7473206c656e677468206d69736d61746360008201527f6800000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f4d65746164617461206973207065726d616e656e746c792066726f7a656e0000600082015250565b7f416c6c6f776c697374206576656e74206973206e6f7420616374697665000000600082015250565b7f2f00000000000000000000000000000000000000000000000000000000000000600082015250565b7f4d6574616461746120697320616c72656164792066726f7a656e000000000000600082015250565b60048110615c0d57615c0c6153ce565b5b50565b615c198161515c565b8114615c2457600080fd5b50565b615c3081615180565b8114615c3b57600080fd5b50565b615c478161518c565b8114615c5257600080fd5b50565b615c5e81615196565b8114615c6957600080fd5b50565b60048110615c7957600080fd5b50565b615c85816151f5565b8114615c9057600080fd5b5056fea2646970667358221220b9b5e7f7c52edd16b7299dfcef838d932423b916a5c6afc0d83d30723557cfd564736f6c63430008040033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000005768747470733a2f2f736b656c6574616c636174732e6d7970696e6174612e636c6f75642f697066732f516d4e5364396e61324341686173774a3769615031416979526b524632504169416843646e363654473162543268000000000000000000
-----Decoded View---------------
Arg [0] : uri (string): https://skeletalcats.mypinata.cloud/ipfs/QmNSd9na2CAhaswJ7iaP1AiyRkRF2PAiAhCdn66TG1bT2h
-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000057
Arg [2] : 68747470733a2f2f736b656c6574616c636174732e6d7970696e6174612e636c
Arg [3] : 6f75642f697066732f516d4e5364396e61324341686173774a37696150314169
Arg [4] : 79526b524632504169416843646e363654473162543268000000000000000000
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.