Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
719 TORIISCAPES
Holders
365
Total Transfers
-
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
ToriiScapes
Compiler Version
v0.8.10+commit.fc410830
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Burnable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; /* ______ _ _ _____ /_ __/___ _____(_|_) ___/_________ _____ ___ _____ / / / __ \/ ___/ / /\__ \/ ___/ __ `/ __ \/ _ \/ ___/ / / / /_/ / / / / /___/ / /__/ /_/ / /_/ / __(__ ) /_/ \____/_/ /_/_//____/\___/\__,_/ .___/\___/____/ /_/ I see you nerd! ⌐⊙_⊙ */ contract ToriiScapes is ERC721, ERC721Enumerable, ERC721Burnable, Ownable { using Counters for Counters.Counter; Counters.Counter private _tokenIdCounter; uint256 public maxTokenSupply; uint256 public constant MAX_MINTS_PER_TXN = 15; uint256 public mintPrice = 0.06 ether; uint256 public maxPresaleMintsPerWallet = 2; bool public preSaleIsActive = false; bool public saleIsActive = false; string public baseURI; string public provenance; mapping (address => uint256) private _presaleMints; address[5] private _shareholders; uint[5] private _shares; event PaymentReleased(address to, uint256 amount); constructor(string memory name, string memory symbol, uint256 maxToriiScapesSupply) ERC721(name, symbol) { maxTokenSupply = maxToriiScapesSupply; _shareholders[0] = 0x183F1AfB52D1e91908C6D38226Ecc56E0c7b67f0; // Julius _shareholders[1] = 0xDc8Eb8d2D1babD956136b57B0B9F49b433c019e3; // Treasure-Seeker _shareholders[2] = 0x8c223D865Bc7Ff45757936325A992ec15d803FFD; // Hunter _shareholders[3] = 0x6124D1F882CDb9fE9E9B6F5dA7e6f2DBA3d4bC49; // Bob _shareholders[4] = 0x31Ed4b569Ab5F004A30761D166f608b6D24C34F5; // Christian _shares[0] = 3000; _shares[1] = 2500; _shares[2] = 2000; _shares[3] = 2000; _shares[4] = 500; } function setMaxTokenSupply(uint256 maxToriiScapesSupply) public onlyOwner { maxTokenSupply = maxToriiScapesSupply; } function setMintPrice(uint256 newPrice) public onlyOwner { mintPrice = newPrice; } function setMaxPresaleMintsPerWallet(uint256 newLimit) public onlyOwner { maxPresaleMintsPerWallet = newLimit; } function withdrawForGiveaway(uint256 amount, address payable to) public onlyOwner { Address.sendValue(to, amount); emit PaymentReleased(to, amount); } function withdraw(uint256 amount) public onlyOwner { require(address(this).balance >= amount, "Insufficient balance"); uint256 totalShares = 10000; for (uint256 i = 0; i < 5; i++) { uint256 payment = amount * _shares[i] / totalShares; Address.sendValue(payable(_shareholders[i]), payment); emit PaymentReleased(_shareholders[i], payment); } } /* * Mint reserved NFTs for giveaways, devs, etc. */ function reserveMint(uint256 reservedAmount, address mintAddress) public onlyOwner { for (uint256 i = 1; i <= reservedAmount; i++) { _tokenIdCounter.increment(); _safeMint(mintAddress, _tokenIdCounter.current()); } } /* * Pause sale if active, make active if paused. */ function flipSaleState() public onlyOwner { saleIsActive = !saleIsActive; } /* * Pause pre-sale if active, make active if paused. */ function flipPreSaleState() public onlyOwner { preSaleIsActive = !preSaleIsActive; } /* * Mint ToriiScapes NFTs, woot! */ function publicMint(uint256 numberOfTokens) public payable { require(saleIsActive, "Sale is not live yet"); require(numberOfTokens <= MAX_MINTS_PER_TXN, "You can mint a max of 15 NFTs at a time"); require(_tokenIdCounter.current() + numberOfTokens <= maxTokenSupply, "Purchase would exceed max available NFTs"); require(mintPrice * numberOfTokens <= msg.value, "Ether value sent is not correct"); for(uint256 i = 0; i < numberOfTokens; i++) { _tokenIdCounter.increment(); _safeMint(msg.sender, _tokenIdCounter.current()); } } /* * Mint ToriiScapes NFTs during pre-sale */ function presaleMint(uint256 numberOfTokens) public payable { require(preSaleIsActive, "Pre-sale is not live yet"); require(_presaleMints[msg.sender] + numberOfTokens <= maxPresaleMintsPerWallet, "Max mints per wallet limit exceeded"); require(_tokenIdCounter.current() + numberOfTokens <= maxTokenSupply, "Purchase would exceed max available NFTs"); require(mintPrice * numberOfTokens <= msg.value, "Ether value sent is not correct"); _presaleMints[msg.sender] += numberOfTokens; for(uint256 i = 0; i < numberOfTokens; i++) { _tokenIdCounter.increment(); _safeMint(msg.sender, _tokenIdCounter.current()); } } function walletOfOwner(address _owner) external view returns (uint256[] memory) { uint256 tokenCount = balanceOf(_owner); uint256[] memory tokenIds = new uint256[](tokenCount); for (uint256 i = 0; i < tokenCount; i++) { tokenIds[i] = tokenOfOwnerByIndex(_owner, i); } return tokenIds; } function _baseURI() internal view virtual override returns (string memory) { return baseURI; } function setBaseURI(string memory newBaseURI) public onlyOwner { baseURI = newBaseURI; } /* * Set provenance once it's calculated. */ function setProvenanceHash(string memory provenanceHash) public onlyOwner { provenance = provenanceHash; } function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal override(ERC721, ERC721Enumerable) { super._beforeTokenTransfer(from, to, tokenId); } function supportsInterface(bytes4 interfaceId) public view override(ERC721, ERC721Enumerable) returns (bool) { return super.supportsInterface(interfaceId); } }
// SPDX-License-Identifier: MIT 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 () { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), 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 { emit OwnershipTransferred(_owner, address(0)); _owner = 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"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } }
// SPDX-License-Identifier: MIT 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}. Empty by default, can be overriden * 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 { require(operator != _msgSender(), "ERC721: approve to caller"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_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 || getApproved(tokenId) == spender || isApprovedForAll(owner, 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); } /** * @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); } /** * @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 of token that is not own"); 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); } /** * @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 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(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { // solhint-disable-next-line no-inline-assembly 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` cannot be the zero address. * - `to` cannot be the zero address. * * 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 { } }
// SPDX-License-Identifier: MIT 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`, 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 Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @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 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); /** * @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; }
// SPDX-License-Identifier: MIT 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 `IERC721.onERC721Received.selector`. */ function onERC721Received(address operator, address from, uint256 tokenId, bytes calldata data) external returns (bytes4); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../ERC721.sol"; import "../../../utils/Context.sol"; /** * @title ERC721 Burnable Token * @dev ERC721 Token that can be irreversibly burned (destroyed). */ abstract contract ERC721Burnable is Context, ERC721 { /** * @dev Burns `tokenId`. See {ERC721-_burn}. * * Requirements: * * - The caller must own `tokenId` or be an approved operator. */ function burn(uint256 tokenId) public virtual { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721Burnable: caller is not owner nor approved"); _burn(tokenId); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../ERC721.sol"; import "./IERC721Enumerable.sol"; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } /** * @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` cannot be the zero address. * - `to` cannot be the zero address. * * 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 override { super._beforeTokenTransfer(from, to, tokenId); if (from == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = ERC721.balanceOf(from) - 1; uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array delete _ownedTokensIndex[tokenId]; delete _ownedTokens[from][lastTokenIndex]; } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length - 1; uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array delete _allTokensIndex[tokenId]; _allTokens.pop(); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// SPDX-License-Identifier: MIT 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 pragma solidity ^0.8.0; /** * @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 * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; // solhint-disable-next-line no-inline-assembly assembly { size := extcodesize(account) } return size > 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"); // solhint-disable-next-line avoid-low-level-calls, avoid-call-value (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"); // solhint-disable-next-line avoid-low-level-calls (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"); // solhint-disable-next-line avoid-low-level-calls (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"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.delegatecall(data); return _verifyCallResult(success, returndata, errorMessage); } function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private 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 // solhint-disable-next-line no-inline-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT 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) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented or decremented by one. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` */ library Counters { struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; require(value > 0, "Counter: decrement overflow"); unchecked { counter._value = value - 1; } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant alphabet = "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] = alphabet[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT 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 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); }
{ "remappings": [], "optimizer": { "enabled": false, "runs": 200 }, "evmVersion": "london", "libraries": {}, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"uint256","name":"maxToriiScapesSupply","type":"uint256"}],"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":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PaymentReleased","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_MINTS_PER_TXN","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":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"flipPreSaleState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"flipSaleState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPresaleMintsPerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTokenSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"preSaleIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"presaleMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"provenance","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"reservedAmount","type":"uint256"},{"internalType":"address","name":"mintAddress","type":"address"}],"name":"reserveMint","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":[],"name":"saleIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newLimit","type":"uint256"}],"name":"setMaxPresaleMintsPerWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxToriiScapesSupply","type":"uint256"}],"name":"setMaxTokenSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setMintPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"provenanceHash","type":"string"}],"name":"setProvenanceHash","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","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":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address payable","name":"to","type":"address"}],"name":"withdrawForGiveaway","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
608060405266d529ae9e860000600d556002600e556000600f60006101000a81548160ff0219169083151502179055506000600f60016101000a81548160ff0219169083151502179055503480156200005757600080fd5b5060405162005a1b38038062005a1b83398181016040528101906200007d9190620006c0565b828281600090805190602001906200009792919062000438565b508060019080519060200190620000b092919062000438565b5050506000620000c56200043060201b60201c565b905080600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35080600c8190555073183f1afb52d1e91908c6d38226ecc56e0c7b67f060136000600581106200019857620001976200075a565b5b0160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555073dc8eb8d2d1babd956136b57b0b9f49b433c019e360136001600581106200020457620002036200075a565b5b0160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550738c223d865bc7ff45757936325a992ec15d803ffd601360026005811062000270576200026f6200075a565b5b0160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550736124d1f882cdb9fe9e9b6f5da7e6f2dba3d4bc496013600360058110620002dc57620002db6200075a565b5b0160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507331ed4b569ab5f004a30761d166f608b6d24c34f560136004600581106200034857620003476200075a565b5b0160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550610bb86018600060058110620003a257620003a16200075a565b5b01819055506109c46018600160058110620003c257620003c16200075a565b5b01819055506107d06018600260058110620003e257620003e16200075a565b5b01819055506107d060186003600581106200040257620004016200075a565b5b01819055506101f460186004600581106200042257620004216200075a565b5b0181905550505050620007ee565b600033905090565b8280546200044690620007b8565b90600052602060002090601f0160209004810192826200046a5760008555620004b6565b82601f106200048557805160ff1916838001178555620004b6565b82800160010185558215620004b6579182015b82811115620004b557825182559160200191906001019062000498565b5b509050620004c59190620004c9565b5090565b5b80821115620004e4576000816000905550600101620004ca565b5090565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b620005518262000506565b810181811067ffffffffffffffff8211171562000573576200057262000517565b5b80604052505050565b600062000588620004e8565b905062000596828262000546565b919050565b600067ffffffffffffffff821115620005b957620005b862000517565b5b620005c48262000506565b9050602081019050919050565b60005b83811015620005f1578082015181840152602081019050620005d4565b8381111562000601576000848401525b50505050565b60006200061e62000618846200059b565b6200057c565b9050828152602081018484840111156200063d576200063c62000501565b5b6200064a848285620005d1565b509392505050565b600082601f8301126200066a5762000669620004fc565b5b81516200067c84826020860162000607565b91505092915050565b6000819050919050565b6200069a8162000685565b8114620006a657600080fd5b50565b600081519050620006ba816200068f565b92915050565b600080600060608486031215620006dc57620006db620004f2565b5b600084015167ffffffffffffffff811115620006fd57620006fc620004f7565b5b6200070b8682870162000652565b935050602084015167ffffffffffffffff8111156200072f576200072e620004f7565b5b6200073d8682870162000652565b92505060406200075086828701620006a9565b9150509250925092565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620007d157607f821691505b60208210811415620007e857620007e762000789565b5b50919050565b61521d80620007fe6000396000f3fe6080604052600436106102465760003560e01c806355f804b311610139578063a22cb465116100b6578063dfe93fa31161007a578063dfe93fa31461085c578063e985e9c514610887578063eb8d2444146108c4578063f0325549146108ef578063f2fde38b14610906578063f4a0a5281461092f57610246565b8063a22cb46514610788578063b07ed982146107b1578063b88d4fde146107da578063c87b56dd14610803578063c9b298f11461084057610246565b806370a08231116100fd57806370a08231146106b5578063715018a6146106f25780638881396c146107095780638da5cb5b1461073257806395d89b411461075d57610246565b806355f804b3146105d057806360b02f70146105f95780636352211e146106225780636817c76c1461065f5780636c0360eb1461068a57610246565b80632e1a7d4d116101c757806342966c681161018b57806342966c68146104d9578063438b6300146105025780634d7313a41461053f5780634f6ccce71461056857806350f7c204146105a557610246565b80632e1a7d4d146104085780632f35e11f146104315780632f745c591461045c57806334918dfd1461049957806342842e0e146104b057610246565b8063109695231161020e578063109695231461034457806318160ddd1461036d5780631f0234d81461039857806323b872dd146103c35780632db11544146103ec57610246565b806301ffc9a71461024b57806306fdde0314610288578063081812fc146102b3578063095ea7b3146102f05780630f7309e814610319575b600080fd5b34801561025757600080fd5b50610272600480360381019061026d9190613680565b610958565b60405161027f91906136c8565b60405180910390f35b34801561029457600080fd5b5061029d61096a565b6040516102aa919061377c565b60405180910390f35b3480156102bf57600080fd5b506102da60048036038101906102d591906137d4565b6109fc565b6040516102e79190613842565b60405180910390f35b3480156102fc57600080fd5b5061031760048036038101906103129190613889565b610a81565b005b34801561032557600080fd5b5061032e610b99565b60405161033b919061377c565b60405180910390f35b34801561035057600080fd5b5061036b600480360381019061036691906139fe565b610c27565b005b34801561037957600080fd5b50610382610cbd565b60405161038f9190613a56565b60405180910390f35b3480156103a457600080fd5b506103ad610cca565b6040516103ba91906136c8565b60405180910390f35b3480156103cf57600080fd5b506103ea60048036038101906103e59190613a71565b610cdd565b005b610406600480360381019061040191906137d4565b610d3d565b005b34801561041457600080fd5b5061042f600480360381019061042a91906137d4565b610eb8565b005b34801561043d57600080fd5b50610446611080565b6040516104539190613a56565b60405180910390f35b34801561046857600080fd5b50610483600480360381019061047e9190613889565b611086565b6040516104909190613a56565b60405180910390f35b3480156104a557600080fd5b506104ae61112b565b005b3480156104bc57600080fd5b506104d760048036038101906104d29190613a71565b6111d3565b005b3480156104e557600080fd5b5061050060048036038101906104fb91906137d4565b6111f3565b005b34801561050e57600080fd5b5061052960048036038101906105249190613ac4565b61124f565b6040516105369190613baf565b60405180910390f35b34801561054b57600080fd5b5061056660048036038101906105619190613c0f565b6112fd565b005b34801561057457600080fd5b5061058f600480360381019061058a91906137d4565b6113c0565b60405161059c9190613a56565b60405180910390f35b3480156105b157600080fd5b506105ba611431565b6040516105c79190613a56565b60405180910390f35b3480156105dc57600080fd5b506105f760048036038101906105f291906139fe565b611437565b005b34801561060557600080fd5b50610620600480360381019061061b9190613c4f565b6114cd565b005b34801561062e57600080fd5b50610649600480360381019061064491906137d4565b61158c565b6040516106569190613842565b60405180910390f35b34801561066b57600080fd5b5061067461163e565b6040516106819190613a56565b60405180910390f35b34801561069657600080fd5b5061069f611644565b6040516106ac919061377c565b60405180910390f35b3480156106c157600080fd5b506106dc60048036038101906106d79190613ac4565b6116d2565b6040516106e99190613a56565b60405180910390f35b3480156106fe57600080fd5b5061070761178a565b005b34801561071557600080fd5b50610730600480360381019061072b91906137d4565b6118c7565b005b34801561073e57600080fd5b5061074761194d565b6040516107549190613842565b60405180910390f35b34801561076957600080fd5b50610772611977565b60405161077f919061377c565b60405180910390f35b34801561079457600080fd5b506107af60048036038101906107aa9190613cbb565b611a09565b005b3480156107bd57600080fd5b506107d860048036038101906107d391906137d4565b611b8a565b005b3480156107e657600080fd5b5061080160048036038101906107fc9190613d9c565b611c10565b005b34801561080f57600080fd5b5061082a600480360381019061082591906137d4565b611c72565b604051610837919061377c565b60405180910390f35b61085a600480360381019061085591906137d4565b611d19565b005b34801561086857600080fd5b50610871611f35565b60405161087e9190613a56565b60405180910390f35b34801561089357600080fd5b506108ae60048036038101906108a99190613e1f565b611f3a565b6040516108bb91906136c8565b60405180910390f35b3480156108d057600080fd5b506108d9611fce565b6040516108e691906136c8565b60405180910390f35b3480156108fb57600080fd5b50610904611fe1565b005b34801561091257600080fd5b5061092d60048036038101906109289190613ac4565b612089565b005b34801561093b57600080fd5b50610956600480360381019061095191906137d4565b612235565b005b6000610963826122bb565b9050919050565b60606000805461097990613e8e565b80601f01602080910402602001604051908101604052809291908181526020018280546109a590613e8e565b80156109f25780601f106109c7576101008083540402835291602001916109f2565b820191906000526020600020905b8154815290600101906020018083116109d557829003601f168201915b5050505050905090565b6000610a0782612335565b610a46576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a3d90613f32565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610a8c8261158c565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610afd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610af490613fc4565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610b1c6123a1565b73ffffffffffffffffffffffffffffffffffffffff161480610b4b5750610b4a81610b456123a1565b611f3a565b5b610b8a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b8190614056565b60405180910390fd5b610b9483836123a9565b505050565b60118054610ba690613e8e565b80601f0160208091040260200160405190810160405280929190818152602001828054610bd290613e8e565b8015610c1f5780601f10610bf457610100808354040283529160200191610c1f565b820191906000526020600020905b815481529060010190602001808311610c0257829003601f168201915b505050505081565b610c2f6123a1565b73ffffffffffffffffffffffffffffffffffffffff16610c4d61194d565b73ffffffffffffffffffffffffffffffffffffffff1614610ca3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c9a906140c2565b60405180910390fd5b8060119080519060200190610cb9929190613571565b5050565b6000600880549050905090565b600f60009054906101000a900460ff1681565b610cee610ce86123a1565b82612462565b610d2d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d2490614154565b60405180910390fd5b610d38838383612540565b505050565b600f60019054906101000a900460ff16610d8c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d83906141c0565b60405180910390fd5b600f811115610dd0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dc790614252565b60405180910390fd5b600c5481610dde600b61279c565b610de891906142a1565b1115610e29576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e2090614369565b60405180910390fd5b3481600d54610e389190614389565b1115610e79576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e709061442f565b60405180910390fd5b60005b81811015610eb457610e8e600b6127aa565b610ea133610e9c600b61279c565b6127c0565b8080610eac9061444f565b915050610e7c565b5050565b610ec06123a1565b73ffffffffffffffffffffffffffffffffffffffff16610ede61194d565b73ffffffffffffffffffffffffffffffffffffffff1614610f34576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f2b906140c2565b60405180910390fd5b80471015610f77576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f6e906144e4565b60405180910390fd5b6000612710905060005b600581101561107b5760008260188360058110610fa157610fa0614504565b5b015485610fae9190614389565b610fb89190614562565b9050610ff960138360058110610fd157610fd0614504565b5b0160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16826127de565b7fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b0566013836005811061102e5761102d614504565b5b0160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168260405161105f929190614593565b60405180910390a15080806110739061444f565b915050610f81565b505050565b600e5481565b6000611091836116d2565b82106110d2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110c99061462e565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b6111336123a1565b73ffffffffffffffffffffffffffffffffffffffff1661115161194d565b73ffffffffffffffffffffffffffffffffffffffff16146111a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161119e906140c2565b60405180910390fd5b600f60019054906101000a900460ff1615600f60016101000a81548160ff021916908315150217905550565b6111ee83838360405180602001604052806000815250611c10565b505050565b6112046111fe6123a1565b82612462565b611243576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161123a906146c0565b60405180910390fd5b61124c816128d2565b50565b6060600061125c836116d2565b905060008167ffffffffffffffff81111561127a576112796138d3565b5b6040519080825280602002602001820160405280156112a85781602001602082028036833780820191505090505b50905060005b828110156112f2576112c08582611086565b8282815181106112d3576112d2614504565b5b60200260200101818152505080806112ea9061444f565b9150506112ae565b508092505050919050565b6113056123a1565b73ffffffffffffffffffffffffffffffffffffffff1661132361194d565b73ffffffffffffffffffffffffffffffffffffffff1614611379576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611370906140c2565b60405180910390fd5b61138381836127de565b7fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b05681836040516113b492919061473f565b60405180910390a15050565b60006113ca610cbd565b821061140b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611402906147da565b60405180910390fd5b6008828154811061141f5761141e614504565b5b90600052602060002001549050919050565b600c5481565b61143f6123a1565b73ffffffffffffffffffffffffffffffffffffffff1661145d61194d565b73ffffffffffffffffffffffffffffffffffffffff16146114b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114aa906140c2565b60405180910390fd5b80601090805190602001906114c9929190613571565b5050565b6114d56123a1565b73ffffffffffffffffffffffffffffffffffffffff166114f361194d565b73ffffffffffffffffffffffffffffffffffffffff1614611549576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611540906140c2565b60405180910390fd5b6000600190505b82811161158757611561600b6127aa565b6115748261156f600b61279c565b6127c0565b808061157f9061444f565b915050611550565b505050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611635576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161162c9061486c565b60405180910390fd5b80915050919050565b600d5481565b6010805461165190613e8e565b80601f016020809104026020016040519081016040528092919081815260200182805461167d90613e8e565b80156116ca5780601f1061169f576101008083540402835291602001916116ca565b820191906000526020600020905b8154815290600101906020018083116116ad57829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611743576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161173a906148fe565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6117926123a1565b73ffffffffffffffffffffffffffffffffffffffff166117b061194d565b73ffffffffffffffffffffffffffffffffffffffff1614611806576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117fd906140c2565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b6118cf6123a1565b73ffffffffffffffffffffffffffffffffffffffff166118ed61194d565b73ffffffffffffffffffffffffffffffffffffffff1614611943576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161193a906140c2565b60405180910390fd5b80600e8190555050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606001805461198690613e8e565b80601f01602080910402602001604051908101604052809291908181526020018280546119b290613e8e565b80156119ff5780601f106119d4576101008083540402835291602001916119ff565b820191906000526020600020905b8154815290600101906020018083116119e257829003601f168201915b5050505050905090565b611a116123a1565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611a7f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a769061496a565b60405180910390fd5b8060056000611a8c6123a1565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611b396123a1565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611b7e91906136c8565b60405180910390a35050565b611b926123a1565b73ffffffffffffffffffffffffffffffffffffffff16611bb061194d565b73ffffffffffffffffffffffffffffffffffffffff1614611c06576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bfd906140c2565b60405180910390fd5b80600c8190555050565b611c21611c1b6123a1565b83612462565b611c60576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c5790614154565b60405180910390fd5b611c6c848484846129e3565b50505050565b6060611c7d82612335565b611cbc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cb3906149fc565b60405180910390fd5b6000611cc6612a3f565b90506000815111611ce65760405180602001604052806000815250611d11565b80611cf084612ad1565b604051602001611d01929190614a58565b6040516020818303038152906040525b915050919050565b600f60009054906101000a900460ff16611d68576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d5f90614ac8565b60405180910390fd5b600e5481601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611db691906142a1565b1115611df7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dee90614b5a565b60405180910390fd5b600c5481611e05600b61279c565b611e0f91906142a1565b1115611e50576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e4790614369565b60405180910390fd5b3481600d54611e5f9190614389565b1115611ea0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e979061442f565b60405180910390fd5b80601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611eef91906142a1565b9250508190555060005b81811015611f3157611f0b600b6127aa565b611f1e33611f19600b61279c565b6127c0565b8080611f299061444f565b915050611ef9565b5050565b600f81565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600f60019054906101000a900460ff1681565b611fe96123a1565b73ffffffffffffffffffffffffffffffffffffffff1661200761194d565b73ffffffffffffffffffffffffffffffffffffffff161461205d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612054906140c2565b60405180910390fd5b600f60009054906101000a900460ff1615600f60006101000a81548160ff021916908315150217905550565b6120916123a1565b73ffffffffffffffffffffffffffffffffffffffff166120af61194d565b73ffffffffffffffffffffffffffffffffffffffff1614612105576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120fc906140c2565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612175576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161216c90614bec565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b61223d6123a1565b73ffffffffffffffffffffffffffffffffffffffff1661225b61194d565b73ffffffffffffffffffffffffffffffffffffffff16146122b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122a8906140c2565b60405180910390fd5b80600d8190555050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061232e575061232d82612c32565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661241c8361158c565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061246d82612335565b6124ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124a390614c7e565b60405180910390fd5b60006124b78361158c565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061252657508373ffffffffffffffffffffffffffffffffffffffff1661250e846109fc565b73ffffffffffffffffffffffffffffffffffffffff16145b8061253757506125368185611f3a565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166125608261158c565b73ffffffffffffffffffffffffffffffffffffffff16146125b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125ad90614d10565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612626576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161261d90614da2565b60405180910390fd5b612631838383612d14565b61263c6000826123a9565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461268c9190614dc2565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546126e391906142a1565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600081600001549050919050565b6001816000016000828254019250508190555050565b6127da828260405180602001604052806000815250612d24565b5050565b80471015612821576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161281890614e42565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff168260405161284790614e93565b60006040518083038185875af1925050503d8060008114612884576040519150601f19603f3d011682016040523d82523d6000602084013e612889565b606091505b50509050806128cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128c490614f1a565b60405180910390fd5b505050565b60006128dd8261158c565b90506128eb81600084612d14565b6128f66000836123a9565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546129469190614dc2565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6129ee848484612540565b6129fa84848484612d7f565b612a39576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a3090614fac565b60405180910390fd5b50505050565b606060108054612a4e90613e8e565b80601f0160208091040260200160405190810160405280929190818152602001828054612a7a90613e8e565b8015612ac75780601f10612a9c57610100808354040283529160200191612ac7565b820191906000526020600020905b815481529060010190602001808311612aaa57829003601f168201915b5050505050905090565b60606000821415612b19576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612c2d565b600082905060005b60008214612b4b578080612b349061444f565b915050600a82612b449190614562565b9150612b21565b60008167ffffffffffffffff811115612b6757612b666138d3565b5b6040519080825280601f01601f191660200182016040528015612b995781602001600182028036833780820191505090505b5090505b60008514612c2657600182612bb29190614dc2565b9150600a85612bc19190614fcc565b6030612bcd91906142a1565b60f81b818381518110612be357612be2614504565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612c1f9190614562565b9450612b9d565b8093505050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612cfd57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612d0d5750612d0c82612f07565b5b9050919050565b612d1f838383612f71565b505050565b612d2e8383613085565b612d3b6000848484612d7f565b612d7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d7190614fac565b60405180910390fd5b505050565b6000612da08473ffffffffffffffffffffffffffffffffffffffff16613253565b15612efa578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612dc96123a1565b8786866040518563ffffffff1660e01b8152600401612deb9493929190615052565b6020604051808303816000875af1925050508015612e2757506040513d601f19601f82011682018060405250810190612e2491906150b3565b60015b612eaa573d8060008114612e57576040519150601f19603f3d011682016040523d82523d6000602084013e612e5c565b606091505b50600081511415612ea2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e9990614fac565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612eff565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612f7c838383613266565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612fbf57612fba8161326b565b612ffe565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612ffd57612ffc83826132b4565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156130415761303c81613421565b613080565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161461307f5761307e82826134f2565b5b5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156130f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130ec9061512c565b60405180910390fd5b6130fe81612335565b1561313e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161313590615198565b60405180910390fd5b61314a60008383612d14565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461319a91906142a1565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b600060016132c1846116d2565b6132cb9190614dc2565b90506000600760008481526020019081526020016000205490508181146133b0576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506134359190614dc2565b905060006009600084815260200190815260200160002054905060006008838154811061346557613464614504565b5b90600052602060002001549050806008838154811061348757613486614504565b5b9060005260206000200181905550816009600083815260200190815260200160002081905550600960008581526020019081526020016000206000905560088054806134d6576134d56151b8565b5b6001900381819060005260206000200160009055905550505050565b60006134fd836116d2565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b82805461357d90613e8e565b90600052602060002090601f01602090048101928261359f57600085556135e6565b82601f106135b857805160ff19168380011785556135e6565b828001600101855582156135e6579182015b828111156135e55782518255916020019190600101906135ca565b5b5090506135f391906135f7565b5090565b5b808211156136105760008160009055506001016135f8565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61365d81613628565b811461366857600080fd5b50565b60008135905061367a81613654565b92915050565b6000602082840312156136965761369561361e565b5b60006136a48482850161366b565b91505092915050565b60008115159050919050565b6136c2816136ad565b82525050565b60006020820190506136dd60008301846136b9565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561371d578082015181840152602081019050613702565b8381111561372c576000848401525b50505050565b6000601f19601f8301169050919050565b600061374e826136e3565b61375881856136ee565b93506137688185602086016136ff565b61377181613732565b840191505092915050565b600060208201905081810360008301526137968184613743565b905092915050565b6000819050919050565b6137b18161379e565b81146137bc57600080fd5b50565b6000813590506137ce816137a8565b92915050565b6000602082840312156137ea576137e961361e565b5b60006137f8848285016137bf565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061382c82613801565b9050919050565b61383c81613821565b82525050565b60006020820190506138576000830184613833565b92915050565b61386681613821565b811461387157600080fd5b50565b6000813590506138838161385d565b92915050565b600080604083850312156138a05761389f61361e565b5b60006138ae85828601613874565b92505060206138bf858286016137bf565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61390b82613732565b810181811067ffffffffffffffff8211171561392a576139296138d3565b5b80604052505050565b600061393d613614565b90506139498282613902565b919050565b600067ffffffffffffffff821115613969576139686138d3565b5b61397282613732565b9050602081019050919050565b82818337600083830152505050565b60006139a161399c8461394e565b613933565b9050828152602081018484840111156139bd576139bc6138ce565b5b6139c884828561397f565b509392505050565b600082601f8301126139e5576139e46138c9565b5b81356139f584826020860161398e565b91505092915050565b600060208284031215613a1457613a1361361e565b5b600082013567ffffffffffffffff811115613a3257613a31613623565b5b613a3e848285016139d0565b91505092915050565b613a508161379e565b82525050565b6000602082019050613a6b6000830184613a47565b92915050565b600080600060608486031215613a8a57613a8961361e565b5b6000613a9886828701613874565b9350506020613aa986828701613874565b9250506040613aba868287016137bf565b9150509250925092565b600060208284031215613ada57613ad961361e565b5b6000613ae884828501613874565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b613b268161379e565b82525050565b6000613b388383613b1d565b60208301905092915050565b6000602082019050919050565b6000613b5c82613af1565b613b668185613afc565b9350613b7183613b0d565b8060005b83811015613ba2578151613b898882613b2c565b9750613b9483613b44565b925050600181019050613b75565b5085935050505092915050565b60006020820190508181036000830152613bc98184613b51565b905092915050565b6000613bdc82613801565b9050919050565b613bec81613bd1565b8114613bf757600080fd5b50565b600081359050613c0981613be3565b92915050565b60008060408385031215613c2657613c2561361e565b5b6000613c34858286016137bf565b9250506020613c4585828601613bfa565b9150509250929050565b60008060408385031215613c6657613c6561361e565b5b6000613c74858286016137bf565b9250506020613c8585828601613874565b9150509250929050565b613c98816136ad565b8114613ca357600080fd5b50565b600081359050613cb581613c8f565b92915050565b60008060408385031215613cd257613cd161361e565b5b6000613ce085828601613874565b9250506020613cf185828601613ca6565b9150509250929050565b600067ffffffffffffffff821115613d1657613d156138d3565b5b613d1f82613732565b9050602081019050919050565b6000613d3f613d3a84613cfb565b613933565b905082815260208101848484011115613d5b57613d5a6138ce565b5b613d6684828561397f565b509392505050565b600082601f830112613d8357613d826138c9565b5b8135613d93848260208601613d2c565b91505092915050565b60008060008060808587031215613db657613db561361e565b5b6000613dc487828801613874565b9450506020613dd587828801613874565b9350506040613de6878288016137bf565b925050606085013567ffffffffffffffff811115613e0757613e06613623565b5b613e1387828801613d6e565b91505092959194509250565b60008060408385031215613e3657613e3561361e565b5b6000613e4485828601613874565b9250506020613e5585828601613874565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613ea657607f821691505b60208210811415613eba57613eb9613e5f565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000613f1c602c836136ee565b9150613f2782613ec0565b604082019050919050565b60006020820190508181036000830152613f4b81613f0f565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000613fae6021836136ee565b9150613fb982613f52565b604082019050919050565b60006020820190508181036000830152613fdd81613fa1565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b60006140406038836136ee565b915061404b82613fe4565b604082019050919050565b6000602082019050818103600083015261406f81614033565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006140ac6020836136ee565b91506140b782614076565b602082019050919050565b600060208201905081810360008301526140db8161409f565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b600061413e6031836136ee565b9150614149826140e2565b604082019050919050565b6000602082019050818103600083015261416d81614131565b9050919050565b7f53616c65206973206e6f74206c69766520796574000000000000000000000000600082015250565b60006141aa6014836136ee565b91506141b582614174565b602082019050919050565b600060208201905081810360008301526141d98161419d565b9050919050565b7f596f752063616e206d696e742061206d6178206f66203135204e46547320617460008201527f20612074696d6500000000000000000000000000000000000000000000000000602082015250565b600061423c6027836136ee565b9150614247826141e0565b604082019050919050565b6000602082019050818103600083015261426b8161422f565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006142ac8261379e565b91506142b78361379e565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156142ec576142eb614272565b5b828201905092915050565b7f507572636861736520776f756c6420657863656564206d617820617661696c6160008201527f626c65204e465473000000000000000000000000000000000000000000000000602082015250565b60006143536028836136ee565b915061435e826142f7565b604082019050919050565b6000602082019050818103600083015261438281614346565b9050919050565b60006143948261379e565b915061439f8361379e565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156143d8576143d7614272565b5b828202905092915050565b7f45746865722076616c75652073656e74206973206e6f7420636f727265637400600082015250565b6000614419601f836136ee565b9150614424826143e3565b602082019050919050565b600060208201905081810360008301526144488161440c565b9050919050565b600061445a8261379e565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561448d5761448c614272565b5b600182019050919050565b7f496e73756666696369656e742062616c616e6365000000000000000000000000600082015250565b60006144ce6014836136ee565b91506144d982614498565b602082019050919050565b600060208201905081810360008301526144fd816144c1565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061456d8261379e565b91506145788361379e565b92508261458857614587614533565b5b828204905092915050565b60006040820190506145a86000830185613833565b6145b56020830184613a47565b9392505050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b6000614618602b836136ee565b9150614623826145bc565b604082019050919050565b600060208201905081810360008301526146478161460b565b9050919050565b7f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656400000000000000000000000000000000602082015250565b60006146aa6030836136ee565b91506146b58261464e565b604082019050919050565b600060208201905081810360008301526146d98161469d565b9050919050565b6000819050919050565b60006147056147006146fb84613801565b6146e0565b613801565b9050919050565b6000614717826146ea565b9050919050565b60006147298261470c565b9050919050565b6147398161471e565b82525050565b60006040820190506147546000830185614730565b6147616020830184613a47565b9392505050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b60006147c4602c836136ee565b91506147cf82614768565b604082019050919050565b600060208201905081810360008301526147f3816147b7565b9050919050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b60006148566029836136ee565b9150614861826147fa565b604082019050919050565b6000602082019050818103600083015261488581614849565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b60006148e8602a836136ee565b91506148f38261488c565b604082019050919050565b60006020820190508181036000830152614917816148db565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b60006149546019836136ee565b915061495f8261491e565b602082019050919050565b6000602082019050818103600083015261498381614947565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b60006149e6602f836136ee565b91506149f18261498a565b604082019050919050565b60006020820190508181036000830152614a15816149d9565b9050919050565b600081905092915050565b6000614a32826136e3565b614a3c8185614a1c565b9350614a4c8185602086016136ff565b80840191505092915050565b6000614a648285614a27565b9150614a708284614a27565b91508190509392505050565b7f5072652d73616c65206973206e6f74206c697665207965740000000000000000600082015250565b6000614ab26018836136ee565b9150614abd82614a7c565b602082019050919050565b60006020820190508181036000830152614ae181614aa5565b9050919050565b7f4d6178206d696e7473207065722077616c6c6574206c696d697420657863656560008201527f6465640000000000000000000000000000000000000000000000000000000000602082015250565b6000614b446023836136ee565b9150614b4f82614ae8565b604082019050919050565b60006020820190508181036000830152614b7381614b37565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614bd66026836136ee565b9150614be182614b7a565b604082019050919050565b60006020820190508181036000830152614c0581614bc9565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000614c68602c836136ee565b9150614c7382614c0c565b604082019050919050565b60006020820190508181036000830152614c9781614c5b565b9050919050565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b6000614cfa6029836136ee565b9150614d0582614c9e565b604082019050919050565b60006020820190508181036000830152614d2981614ced565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000614d8c6024836136ee565b9150614d9782614d30565b604082019050919050565b60006020820190508181036000830152614dbb81614d7f565b9050919050565b6000614dcd8261379e565b9150614dd88361379e565b925082821015614deb57614dea614272565b5b828203905092915050565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b6000614e2c601d836136ee565b9150614e3782614df6565b602082019050919050565b60006020820190508181036000830152614e5b81614e1f565b9050919050565b600081905092915050565b50565b6000614e7d600083614e62565b9150614e8882614e6d565b600082019050919050565b6000614e9e82614e70565b9150819050919050565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b6000614f04603a836136ee565b9150614f0f82614ea8565b604082019050919050565b60006020820190508181036000830152614f3381614ef7565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000614f966032836136ee565b9150614fa182614f3a565b604082019050919050565b60006020820190508181036000830152614fc581614f89565b9050919050565b6000614fd78261379e565b9150614fe28361379e565b925082614ff257614ff1614533565b5b828206905092915050565b600081519050919050565b600082825260208201905092915050565b600061502482614ffd565b61502e8185615008565b935061503e8185602086016136ff565b61504781613732565b840191505092915050565b60006080820190506150676000830187613833565b6150746020830186613833565b6150816040830185613a47565b81810360608301526150938184615019565b905095945050505050565b6000815190506150ad81613654565b92915050565b6000602082840312156150c9576150c861361e565b5b60006150d78482850161509e565b91505092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b60006151166020836136ee565b9150615121826150e0565b602082019050919050565b6000602082019050818103600083015261514581615109565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000615182601c836136ee565b915061518d8261514c565b602082019050919050565b600060208201905081810360008301526151b181615175565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fdfea2646970667358221220ca9ae22cba9d9fed7b82bcf0e3ac41b6bf5140180e83782e578be3ba99d2828764736f6c634300080a0033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000015b3000000000000000000000000000000000000000000000000000000000000000b546f726969536361706573000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b544f524949534341504553000000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106102465760003560e01c806355f804b311610139578063a22cb465116100b6578063dfe93fa31161007a578063dfe93fa31461085c578063e985e9c514610887578063eb8d2444146108c4578063f0325549146108ef578063f2fde38b14610906578063f4a0a5281461092f57610246565b8063a22cb46514610788578063b07ed982146107b1578063b88d4fde146107da578063c87b56dd14610803578063c9b298f11461084057610246565b806370a08231116100fd57806370a08231146106b5578063715018a6146106f25780638881396c146107095780638da5cb5b1461073257806395d89b411461075d57610246565b806355f804b3146105d057806360b02f70146105f95780636352211e146106225780636817c76c1461065f5780636c0360eb1461068a57610246565b80632e1a7d4d116101c757806342966c681161018b57806342966c68146104d9578063438b6300146105025780634d7313a41461053f5780634f6ccce71461056857806350f7c204146105a557610246565b80632e1a7d4d146104085780632f35e11f146104315780632f745c591461045c57806334918dfd1461049957806342842e0e146104b057610246565b8063109695231161020e578063109695231461034457806318160ddd1461036d5780631f0234d81461039857806323b872dd146103c35780632db11544146103ec57610246565b806301ffc9a71461024b57806306fdde0314610288578063081812fc146102b3578063095ea7b3146102f05780630f7309e814610319575b600080fd5b34801561025757600080fd5b50610272600480360381019061026d9190613680565b610958565b60405161027f91906136c8565b60405180910390f35b34801561029457600080fd5b5061029d61096a565b6040516102aa919061377c565b60405180910390f35b3480156102bf57600080fd5b506102da60048036038101906102d591906137d4565b6109fc565b6040516102e79190613842565b60405180910390f35b3480156102fc57600080fd5b5061031760048036038101906103129190613889565b610a81565b005b34801561032557600080fd5b5061032e610b99565b60405161033b919061377c565b60405180910390f35b34801561035057600080fd5b5061036b600480360381019061036691906139fe565b610c27565b005b34801561037957600080fd5b50610382610cbd565b60405161038f9190613a56565b60405180910390f35b3480156103a457600080fd5b506103ad610cca565b6040516103ba91906136c8565b60405180910390f35b3480156103cf57600080fd5b506103ea60048036038101906103e59190613a71565b610cdd565b005b610406600480360381019061040191906137d4565b610d3d565b005b34801561041457600080fd5b5061042f600480360381019061042a91906137d4565b610eb8565b005b34801561043d57600080fd5b50610446611080565b6040516104539190613a56565b60405180910390f35b34801561046857600080fd5b50610483600480360381019061047e9190613889565b611086565b6040516104909190613a56565b60405180910390f35b3480156104a557600080fd5b506104ae61112b565b005b3480156104bc57600080fd5b506104d760048036038101906104d29190613a71565b6111d3565b005b3480156104e557600080fd5b5061050060048036038101906104fb91906137d4565b6111f3565b005b34801561050e57600080fd5b5061052960048036038101906105249190613ac4565b61124f565b6040516105369190613baf565b60405180910390f35b34801561054b57600080fd5b5061056660048036038101906105619190613c0f565b6112fd565b005b34801561057457600080fd5b5061058f600480360381019061058a91906137d4565b6113c0565b60405161059c9190613a56565b60405180910390f35b3480156105b157600080fd5b506105ba611431565b6040516105c79190613a56565b60405180910390f35b3480156105dc57600080fd5b506105f760048036038101906105f291906139fe565b611437565b005b34801561060557600080fd5b50610620600480360381019061061b9190613c4f565b6114cd565b005b34801561062e57600080fd5b50610649600480360381019061064491906137d4565b61158c565b6040516106569190613842565b60405180910390f35b34801561066b57600080fd5b5061067461163e565b6040516106819190613a56565b60405180910390f35b34801561069657600080fd5b5061069f611644565b6040516106ac919061377c565b60405180910390f35b3480156106c157600080fd5b506106dc60048036038101906106d79190613ac4565b6116d2565b6040516106e99190613a56565b60405180910390f35b3480156106fe57600080fd5b5061070761178a565b005b34801561071557600080fd5b50610730600480360381019061072b91906137d4565b6118c7565b005b34801561073e57600080fd5b5061074761194d565b6040516107549190613842565b60405180910390f35b34801561076957600080fd5b50610772611977565b60405161077f919061377c565b60405180910390f35b34801561079457600080fd5b506107af60048036038101906107aa9190613cbb565b611a09565b005b3480156107bd57600080fd5b506107d860048036038101906107d391906137d4565b611b8a565b005b3480156107e657600080fd5b5061080160048036038101906107fc9190613d9c565b611c10565b005b34801561080f57600080fd5b5061082a600480360381019061082591906137d4565b611c72565b604051610837919061377c565b60405180910390f35b61085a600480360381019061085591906137d4565b611d19565b005b34801561086857600080fd5b50610871611f35565b60405161087e9190613a56565b60405180910390f35b34801561089357600080fd5b506108ae60048036038101906108a99190613e1f565b611f3a565b6040516108bb91906136c8565b60405180910390f35b3480156108d057600080fd5b506108d9611fce565b6040516108e691906136c8565b60405180910390f35b3480156108fb57600080fd5b50610904611fe1565b005b34801561091257600080fd5b5061092d60048036038101906109289190613ac4565b612089565b005b34801561093b57600080fd5b50610956600480360381019061095191906137d4565b612235565b005b6000610963826122bb565b9050919050565b60606000805461097990613e8e565b80601f01602080910402602001604051908101604052809291908181526020018280546109a590613e8e565b80156109f25780601f106109c7576101008083540402835291602001916109f2565b820191906000526020600020905b8154815290600101906020018083116109d557829003601f168201915b5050505050905090565b6000610a0782612335565b610a46576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a3d90613f32565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610a8c8261158c565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610afd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610af490613fc4565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610b1c6123a1565b73ffffffffffffffffffffffffffffffffffffffff161480610b4b5750610b4a81610b456123a1565b611f3a565b5b610b8a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b8190614056565b60405180910390fd5b610b9483836123a9565b505050565b60118054610ba690613e8e565b80601f0160208091040260200160405190810160405280929190818152602001828054610bd290613e8e565b8015610c1f5780601f10610bf457610100808354040283529160200191610c1f565b820191906000526020600020905b815481529060010190602001808311610c0257829003601f168201915b505050505081565b610c2f6123a1565b73ffffffffffffffffffffffffffffffffffffffff16610c4d61194d565b73ffffffffffffffffffffffffffffffffffffffff1614610ca3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c9a906140c2565b60405180910390fd5b8060119080519060200190610cb9929190613571565b5050565b6000600880549050905090565b600f60009054906101000a900460ff1681565b610cee610ce86123a1565b82612462565b610d2d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d2490614154565b60405180910390fd5b610d38838383612540565b505050565b600f60019054906101000a900460ff16610d8c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d83906141c0565b60405180910390fd5b600f811115610dd0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dc790614252565b60405180910390fd5b600c5481610dde600b61279c565b610de891906142a1565b1115610e29576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e2090614369565b60405180910390fd5b3481600d54610e389190614389565b1115610e79576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e709061442f565b60405180910390fd5b60005b81811015610eb457610e8e600b6127aa565b610ea133610e9c600b61279c565b6127c0565b8080610eac9061444f565b915050610e7c565b5050565b610ec06123a1565b73ffffffffffffffffffffffffffffffffffffffff16610ede61194d565b73ffffffffffffffffffffffffffffffffffffffff1614610f34576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f2b906140c2565b60405180910390fd5b80471015610f77576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f6e906144e4565b60405180910390fd5b6000612710905060005b600581101561107b5760008260188360058110610fa157610fa0614504565b5b015485610fae9190614389565b610fb89190614562565b9050610ff960138360058110610fd157610fd0614504565b5b0160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16826127de565b7fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b0566013836005811061102e5761102d614504565b5b0160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168260405161105f929190614593565b60405180910390a15080806110739061444f565b915050610f81565b505050565b600e5481565b6000611091836116d2565b82106110d2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110c99061462e565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b6111336123a1565b73ffffffffffffffffffffffffffffffffffffffff1661115161194d565b73ffffffffffffffffffffffffffffffffffffffff16146111a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161119e906140c2565b60405180910390fd5b600f60019054906101000a900460ff1615600f60016101000a81548160ff021916908315150217905550565b6111ee83838360405180602001604052806000815250611c10565b505050565b6112046111fe6123a1565b82612462565b611243576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161123a906146c0565b60405180910390fd5b61124c816128d2565b50565b6060600061125c836116d2565b905060008167ffffffffffffffff81111561127a576112796138d3565b5b6040519080825280602002602001820160405280156112a85781602001602082028036833780820191505090505b50905060005b828110156112f2576112c08582611086565b8282815181106112d3576112d2614504565b5b60200260200101818152505080806112ea9061444f565b9150506112ae565b508092505050919050565b6113056123a1565b73ffffffffffffffffffffffffffffffffffffffff1661132361194d565b73ffffffffffffffffffffffffffffffffffffffff1614611379576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611370906140c2565b60405180910390fd5b61138381836127de565b7fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b05681836040516113b492919061473f565b60405180910390a15050565b60006113ca610cbd565b821061140b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611402906147da565b60405180910390fd5b6008828154811061141f5761141e614504565b5b90600052602060002001549050919050565b600c5481565b61143f6123a1565b73ffffffffffffffffffffffffffffffffffffffff1661145d61194d565b73ffffffffffffffffffffffffffffffffffffffff16146114b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114aa906140c2565b60405180910390fd5b80601090805190602001906114c9929190613571565b5050565b6114d56123a1565b73ffffffffffffffffffffffffffffffffffffffff166114f361194d565b73ffffffffffffffffffffffffffffffffffffffff1614611549576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611540906140c2565b60405180910390fd5b6000600190505b82811161158757611561600b6127aa565b6115748261156f600b61279c565b6127c0565b808061157f9061444f565b915050611550565b505050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611635576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161162c9061486c565b60405180910390fd5b80915050919050565b600d5481565b6010805461165190613e8e565b80601f016020809104026020016040519081016040528092919081815260200182805461167d90613e8e565b80156116ca5780601f1061169f576101008083540402835291602001916116ca565b820191906000526020600020905b8154815290600101906020018083116116ad57829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611743576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161173a906148fe565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6117926123a1565b73ffffffffffffffffffffffffffffffffffffffff166117b061194d565b73ffffffffffffffffffffffffffffffffffffffff1614611806576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117fd906140c2565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b6118cf6123a1565b73ffffffffffffffffffffffffffffffffffffffff166118ed61194d565b73ffffffffffffffffffffffffffffffffffffffff1614611943576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161193a906140c2565b60405180910390fd5b80600e8190555050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606001805461198690613e8e565b80601f01602080910402602001604051908101604052809291908181526020018280546119b290613e8e565b80156119ff5780601f106119d4576101008083540402835291602001916119ff565b820191906000526020600020905b8154815290600101906020018083116119e257829003601f168201915b5050505050905090565b611a116123a1565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611a7f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a769061496a565b60405180910390fd5b8060056000611a8c6123a1565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611b396123a1565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611b7e91906136c8565b60405180910390a35050565b611b926123a1565b73ffffffffffffffffffffffffffffffffffffffff16611bb061194d565b73ffffffffffffffffffffffffffffffffffffffff1614611c06576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bfd906140c2565b60405180910390fd5b80600c8190555050565b611c21611c1b6123a1565b83612462565b611c60576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c5790614154565b60405180910390fd5b611c6c848484846129e3565b50505050565b6060611c7d82612335565b611cbc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cb3906149fc565b60405180910390fd5b6000611cc6612a3f565b90506000815111611ce65760405180602001604052806000815250611d11565b80611cf084612ad1565b604051602001611d01929190614a58565b6040516020818303038152906040525b915050919050565b600f60009054906101000a900460ff16611d68576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d5f90614ac8565b60405180910390fd5b600e5481601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611db691906142a1565b1115611df7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dee90614b5a565b60405180910390fd5b600c5481611e05600b61279c565b611e0f91906142a1565b1115611e50576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e4790614369565b60405180910390fd5b3481600d54611e5f9190614389565b1115611ea0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e979061442f565b60405180910390fd5b80601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611eef91906142a1565b9250508190555060005b81811015611f3157611f0b600b6127aa565b611f1e33611f19600b61279c565b6127c0565b8080611f299061444f565b915050611ef9565b5050565b600f81565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600f60019054906101000a900460ff1681565b611fe96123a1565b73ffffffffffffffffffffffffffffffffffffffff1661200761194d565b73ffffffffffffffffffffffffffffffffffffffff161461205d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612054906140c2565b60405180910390fd5b600f60009054906101000a900460ff1615600f60006101000a81548160ff021916908315150217905550565b6120916123a1565b73ffffffffffffffffffffffffffffffffffffffff166120af61194d565b73ffffffffffffffffffffffffffffffffffffffff1614612105576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120fc906140c2565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612175576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161216c90614bec565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b61223d6123a1565b73ffffffffffffffffffffffffffffffffffffffff1661225b61194d565b73ffffffffffffffffffffffffffffffffffffffff16146122b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122a8906140c2565b60405180910390fd5b80600d8190555050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061232e575061232d82612c32565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661241c8361158c565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061246d82612335565b6124ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124a390614c7e565b60405180910390fd5b60006124b78361158c565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061252657508373ffffffffffffffffffffffffffffffffffffffff1661250e846109fc565b73ffffffffffffffffffffffffffffffffffffffff16145b8061253757506125368185611f3a565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166125608261158c565b73ffffffffffffffffffffffffffffffffffffffff16146125b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125ad90614d10565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612626576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161261d90614da2565b60405180910390fd5b612631838383612d14565b61263c6000826123a9565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461268c9190614dc2565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546126e391906142a1565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600081600001549050919050565b6001816000016000828254019250508190555050565b6127da828260405180602001604052806000815250612d24565b5050565b80471015612821576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161281890614e42565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff168260405161284790614e93565b60006040518083038185875af1925050503d8060008114612884576040519150601f19603f3d011682016040523d82523d6000602084013e612889565b606091505b50509050806128cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128c490614f1a565b60405180910390fd5b505050565b60006128dd8261158c565b90506128eb81600084612d14565b6128f66000836123a9565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546129469190614dc2565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6129ee848484612540565b6129fa84848484612d7f565b612a39576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a3090614fac565b60405180910390fd5b50505050565b606060108054612a4e90613e8e565b80601f0160208091040260200160405190810160405280929190818152602001828054612a7a90613e8e565b8015612ac75780601f10612a9c57610100808354040283529160200191612ac7565b820191906000526020600020905b815481529060010190602001808311612aaa57829003601f168201915b5050505050905090565b60606000821415612b19576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612c2d565b600082905060005b60008214612b4b578080612b349061444f565b915050600a82612b449190614562565b9150612b21565b60008167ffffffffffffffff811115612b6757612b666138d3565b5b6040519080825280601f01601f191660200182016040528015612b995781602001600182028036833780820191505090505b5090505b60008514612c2657600182612bb29190614dc2565b9150600a85612bc19190614fcc565b6030612bcd91906142a1565b60f81b818381518110612be357612be2614504565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612c1f9190614562565b9450612b9d565b8093505050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612cfd57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612d0d5750612d0c82612f07565b5b9050919050565b612d1f838383612f71565b505050565b612d2e8383613085565b612d3b6000848484612d7f565b612d7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d7190614fac565b60405180910390fd5b505050565b6000612da08473ffffffffffffffffffffffffffffffffffffffff16613253565b15612efa578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612dc96123a1565b8786866040518563ffffffff1660e01b8152600401612deb9493929190615052565b6020604051808303816000875af1925050508015612e2757506040513d601f19601f82011682018060405250810190612e2491906150b3565b60015b612eaa573d8060008114612e57576040519150601f19603f3d011682016040523d82523d6000602084013e612e5c565b606091505b50600081511415612ea2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e9990614fac565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612eff565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612f7c838383613266565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612fbf57612fba8161326b565b612ffe565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612ffd57612ffc83826132b4565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156130415761303c81613421565b613080565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161461307f5761307e82826134f2565b5b5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156130f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130ec9061512c565b60405180910390fd5b6130fe81612335565b1561313e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161313590615198565b60405180910390fd5b61314a60008383612d14565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461319a91906142a1565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b600060016132c1846116d2565b6132cb9190614dc2565b90506000600760008481526020019081526020016000205490508181146133b0576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506134359190614dc2565b905060006009600084815260200190815260200160002054905060006008838154811061346557613464614504565b5b90600052602060002001549050806008838154811061348757613486614504565b5b9060005260206000200181905550816009600083815260200190815260200160002081905550600960008581526020019081526020016000206000905560088054806134d6576134d56151b8565b5b6001900381819060005260206000200160009055905550505050565b60006134fd836116d2565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b82805461357d90613e8e565b90600052602060002090601f01602090048101928261359f57600085556135e6565b82601f106135b857805160ff19168380011785556135e6565b828001600101855582156135e6579182015b828111156135e55782518255916020019190600101906135ca565b5b5090506135f391906135f7565b5090565b5b808211156136105760008160009055506001016135f8565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61365d81613628565b811461366857600080fd5b50565b60008135905061367a81613654565b92915050565b6000602082840312156136965761369561361e565b5b60006136a48482850161366b565b91505092915050565b60008115159050919050565b6136c2816136ad565b82525050565b60006020820190506136dd60008301846136b9565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561371d578082015181840152602081019050613702565b8381111561372c576000848401525b50505050565b6000601f19601f8301169050919050565b600061374e826136e3565b61375881856136ee565b93506137688185602086016136ff565b61377181613732565b840191505092915050565b600060208201905081810360008301526137968184613743565b905092915050565b6000819050919050565b6137b18161379e565b81146137bc57600080fd5b50565b6000813590506137ce816137a8565b92915050565b6000602082840312156137ea576137e961361e565b5b60006137f8848285016137bf565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061382c82613801565b9050919050565b61383c81613821565b82525050565b60006020820190506138576000830184613833565b92915050565b61386681613821565b811461387157600080fd5b50565b6000813590506138838161385d565b92915050565b600080604083850312156138a05761389f61361e565b5b60006138ae85828601613874565b92505060206138bf858286016137bf565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61390b82613732565b810181811067ffffffffffffffff8211171561392a576139296138d3565b5b80604052505050565b600061393d613614565b90506139498282613902565b919050565b600067ffffffffffffffff821115613969576139686138d3565b5b61397282613732565b9050602081019050919050565b82818337600083830152505050565b60006139a161399c8461394e565b613933565b9050828152602081018484840111156139bd576139bc6138ce565b5b6139c884828561397f565b509392505050565b600082601f8301126139e5576139e46138c9565b5b81356139f584826020860161398e565b91505092915050565b600060208284031215613a1457613a1361361e565b5b600082013567ffffffffffffffff811115613a3257613a31613623565b5b613a3e848285016139d0565b91505092915050565b613a508161379e565b82525050565b6000602082019050613a6b6000830184613a47565b92915050565b600080600060608486031215613a8a57613a8961361e565b5b6000613a9886828701613874565b9350506020613aa986828701613874565b9250506040613aba868287016137bf565b9150509250925092565b600060208284031215613ada57613ad961361e565b5b6000613ae884828501613874565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b613b268161379e565b82525050565b6000613b388383613b1d565b60208301905092915050565b6000602082019050919050565b6000613b5c82613af1565b613b668185613afc565b9350613b7183613b0d565b8060005b83811015613ba2578151613b898882613b2c565b9750613b9483613b44565b925050600181019050613b75565b5085935050505092915050565b60006020820190508181036000830152613bc98184613b51565b905092915050565b6000613bdc82613801565b9050919050565b613bec81613bd1565b8114613bf757600080fd5b50565b600081359050613c0981613be3565b92915050565b60008060408385031215613c2657613c2561361e565b5b6000613c34858286016137bf565b9250506020613c4585828601613bfa565b9150509250929050565b60008060408385031215613c6657613c6561361e565b5b6000613c74858286016137bf565b9250506020613c8585828601613874565b9150509250929050565b613c98816136ad565b8114613ca357600080fd5b50565b600081359050613cb581613c8f565b92915050565b60008060408385031215613cd257613cd161361e565b5b6000613ce085828601613874565b9250506020613cf185828601613ca6565b9150509250929050565b600067ffffffffffffffff821115613d1657613d156138d3565b5b613d1f82613732565b9050602081019050919050565b6000613d3f613d3a84613cfb565b613933565b905082815260208101848484011115613d5b57613d5a6138ce565b5b613d6684828561397f565b509392505050565b600082601f830112613d8357613d826138c9565b5b8135613d93848260208601613d2c565b91505092915050565b60008060008060808587031215613db657613db561361e565b5b6000613dc487828801613874565b9450506020613dd587828801613874565b9350506040613de6878288016137bf565b925050606085013567ffffffffffffffff811115613e0757613e06613623565b5b613e1387828801613d6e565b91505092959194509250565b60008060408385031215613e3657613e3561361e565b5b6000613e4485828601613874565b9250506020613e5585828601613874565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613ea657607f821691505b60208210811415613eba57613eb9613e5f565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000613f1c602c836136ee565b9150613f2782613ec0565b604082019050919050565b60006020820190508181036000830152613f4b81613f0f565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000613fae6021836136ee565b9150613fb982613f52565b604082019050919050565b60006020820190508181036000830152613fdd81613fa1565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b60006140406038836136ee565b915061404b82613fe4565b604082019050919050565b6000602082019050818103600083015261406f81614033565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006140ac6020836136ee565b91506140b782614076565b602082019050919050565b600060208201905081810360008301526140db8161409f565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b600061413e6031836136ee565b9150614149826140e2565b604082019050919050565b6000602082019050818103600083015261416d81614131565b9050919050565b7f53616c65206973206e6f74206c69766520796574000000000000000000000000600082015250565b60006141aa6014836136ee565b91506141b582614174565b602082019050919050565b600060208201905081810360008301526141d98161419d565b9050919050565b7f596f752063616e206d696e742061206d6178206f66203135204e46547320617460008201527f20612074696d6500000000000000000000000000000000000000000000000000602082015250565b600061423c6027836136ee565b9150614247826141e0565b604082019050919050565b6000602082019050818103600083015261426b8161422f565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006142ac8261379e565b91506142b78361379e565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156142ec576142eb614272565b5b828201905092915050565b7f507572636861736520776f756c6420657863656564206d617820617661696c6160008201527f626c65204e465473000000000000000000000000000000000000000000000000602082015250565b60006143536028836136ee565b915061435e826142f7565b604082019050919050565b6000602082019050818103600083015261438281614346565b9050919050565b60006143948261379e565b915061439f8361379e565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156143d8576143d7614272565b5b828202905092915050565b7f45746865722076616c75652073656e74206973206e6f7420636f727265637400600082015250565b6000614419601f836136ee565b9150614424826143e3565b602082019050919050565b600060208201905081810360008301526144488161440c565b9050919050565b600061445a8261379e565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561448d5761448c614272565b5b600182019050919050565b7f496e73756666696369656e742062616c616e6365000000000000000000000000600082015250565b60006144ce6014836136ee565b91506144d982614498565b602082019050919050565b600060208201905081810360008301526144fd816144c1565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061456d8261379e565b91506145788361379e565b92508261458857614587614533565b5b828204905092915050565b60006040820190506145a86000830185613833565b6145b56020830184613a47565b9392505050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b6000614618602b836136ee565b9150614623826145bc565b604082019050919050565b600060208201905081810360008301526146478161460b565b9050919050565b7f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656400000000000000000000000000000000602082015250565b60006146aa6030836136ee565b91506146b58261464e565b604082019050919050565b600060208201905081810360008301526146d98161469d565b9050919050565b6000819050919050565b60006147056147006146fb84613801565b6146e0565b613801565b9050919050565b6000614717826146ea565b9050919050565b60006147298261470c565b9050919050565b6147398161471e565b82525050565b60006040820190506147546000830185614730565b6147616020830184613a47565b9392505050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b60006147c4602c836136ee565b91506147cf82614768565b604082019050919050565b600060208201905081810360008301526147f3816147b7565b9050919050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b60006148566029836136ee565b9150614861826147fa565b604082019050919050565b6000602082019050818103600083015261488581614849565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b60006148e8602a836136ee565b91506148f38261488c565b604082019050919050565b60006020820190508181036000830152614917816148db565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b60006149546019836136ee565b915061495f8261491e565b602082019050919050565b6000602082019050818103600083015261498381614947565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b60006149e6602f836136ee565b91506149f18261498a565b604082019050919050565b60006020820190508181036000830152614a15816149d9565b9050919050565b600081905092915050565b6000614a32826136e3565b614a3c8185614a1c565b9350614a4c8185602086016136ff565b80840191505092915050565b6000614a648285614a27565b9150614a708284614a27565b91508190509392505050565b7f5072652d73616c65206973206e6f74206c697665207965740000000000000000600082015250565b6000614ab26018836136ee565b9150614abd82614a7c565b602082019050919050565b60006020820190508181036000830152614ae181614aa5565b9050919050565b7f4d6178206d696e7473207065722077616c6c6574206c696d697420657863656560008201527f6465640000000000000000000000000000000000000000000000000000000000602082015250565b6000614b446023836136ee565b9150614b4f82614ae8565b604082019050919050565b60006020820190508181036000830152614b7381614b37565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614bd66026836136ee565b9150614be182614b7a565b604082019050919050565b60006020820190508181036000830152614c0581614bc9565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000614c68602c836136ee565b9150614c7382614c0c565b604082019050919050565b60006020820190508181036000830152614c9781614c5b565b9050919050565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b6000614cfa6029836136ee565b9150614d0582614c9e565b604082019050919050565b60006020820190508181036000830152614d2981614ced565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000614d8c6024836136ee565b9150614d9782614d30565b604082019050919050565b60006020820190508181036000830152614dbb81614d7f565b9050919050565b6000614dcd8261379e565b9150614dd88361379e565b925082821015614deb57614dea614272565b5b828203905092915050565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b6000614e2c601d836136ee565b9150614e3782614df6565b602082019050919050565b60006020820190508181036000830152614e5b81614e1f565b9050919050565b600081905092915050565b50565b6000614e7d600083614e62565b9150614e8882614e6d565b600082019050919050565b6000614e9e82614e70565b9150819050919050565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b6000614f04603a836136ee565b9150614f0f82614ea8565b604082019050919050565b60006020820190508181036000830152614f3381614ef7565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000614f966032836136ee565b9150614fa182614f3a565b604082019050919050565b60006020820190508181036000830152614fc581614f89565b9050919050565b6000614fd78261379e565b9150614fe28361379e565b925082614ff257614ff1614533565b5b828206905092915050565b600081519050919050565b600082825260208201905092915050565b600061502482614ffd565b61502e8185615008565b935061503e8185602086016136ff565b61504781613732565b840191505092915050565b60006080820190506150676000830187613833565b6150746020830186613833565b6150816040830185613a47565b81810360608301526150938184615019565b905095945050505050565b6000815190506150ad81613654565b92915050565b6000602082840312156150c9576150c861361e565b5b60006150d78482850161509e565b91505092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b60006151166020836136ee565b9150615121826150e0565b602082019050919050565b6000602082019050818103600083015261514581615109565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000615182601c836136ee565b915061518d8261514c565b602082019050919050565b600060208201905081810360008301526151b181615175565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fdfea2646970667358221220ca9ae22cba9d9fed7b82bcf0e3ac41b6bf5140180e83782e578be3ba99d2828764736f6c634300080a0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000015b3000000000000000000000000000000000000000000000000000000000000000b546f726969536361706573000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b544f524949534341504553000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : name (string): ToriiScapes
Arg [1] : symbol (string): TORIISCAPES
Arg [2] : maxToriiScapesSupply (uint256): 5555
-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 00000000000000000000000000000000000000000000000000000000000015b3
Arg [3] : 000000000000000000000000000000000000000000000000000000000000000b
Arg [4] : 546f726969536361706573000000000000000000000000000000000000000000
Arg [5] : 000000000000000000000000000000000000000000000000000000000000000b
Arg [6] : 544f524949534341504553000000000000000000000000000000000000000000
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.