ERC-721
NFT
Overview
Max Total Supply
4,970 SD888
Holders
1,926
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
5 SD888Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
SavageDroids
Compiler Version
v0.8.0+commit.c7dfd78e
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Burnable.sol"; /** * @title Token contract for Savage Droids * @dev This contract allows the distribution of * Savage Droids tokens in the form of a presale and main sale. * * Users can mint from either Community or Theos in either sales. * * SAVAGE DROIDS X BLOCK::BLOCK. * * Smart contract work done by lenopix.eth */ contract SavageDroids is ERC721Enumerable, ERC721Burnable, Ownable, ReentrancyGuard { using ECDSA for bytes32; using Address for address; event Mint(address indexed to, uint256 indexed tokenId, uint256 indexed factionId, bytes32 mintHash); // Faction Ids uint256 public constant COMMUNITY_ID = 0; uint256 public constant THEOS_ID = 1; // Minting constants uint256 public maxMintPerTransaction; uint256 public COMMUNITY_MINT_SUPPLY; uint256 public THEOS_MINT_SUPPLY; uint256 public COMMUNITY_STAFF_SUPPLY; uint256 public THEOS_STAFF_SUPPLY; // 0.088 ETH uint256 public constant MINT_PRICE = 88000000000000000; // Keep track of supply uint256 public communityMintCount = 0; uint256 public theosMintCount = 0; // Sale toggles bool private _isPresaleActive; bool private _isSaleActive; // Tracks the faction for a token mapping (uint256 => uint256) factionForToken; // Presale mapping (address => bool) private presaleClaimed; // Everyone who got in on the presale can only claim once. address private signVerifier; // Module contract mapping(address => bool) private moduleContracts; // Base URI string private _uri; constructor( uint256 communityMintSupply, uint256 theosMintSupply, uint256 communityStaffSupply, uint256 theosStaffSupply, uint256 maxMint ) ERC721("Savage Droids", "SD888") { COMMUNITY_MINT_SUPPLY = communityMintSupply; THEOS_MINT_SUPPLY = theosMintSupply; COMMUNITY_STAFF_SUPPLY = communityStaffSupply; THEOS_STAFF_SUPPLY = theosStaffSupply; maxMintPerTransaction = maxMint; _isSaleActive = false; _isPresaleActive = false; signVerifier = 0xd974C841FF9ad100a992555F4587CA61c838E6Aa; } // @dev Returns the faction of the token id function getFaction(uint256 tokenId) external view returns (uint256) { require(_exists(tokenId), "Query for nonexistent token"); return factionForToken[tokenId]; } // @dev Returns whether a user has claimed from presale function getPresaleClaimed(address user) external view returns (bool) { return presaleClaimed[user]; } // @dev Returns the enabled/disabled status for presale function getPreSaleState() external view returns (bool) { return _isPresaleActive; } // @dev Returns the enabled/disabled status for minting function getSaleState() external view returns (bool) { return _isSaleActive; } // @dev Allows to set the baseURI dynamically // @param uri The base uri for the metadata store function setBaseURI(string memory uri) external onlyOwner { _uri = uri; } // @dev Sets a new signature verifier function setSignVerifier(address verifier) external onlyOwner { signVerifier = verifier; } // @dev Dynamically set the max mints a user can do in the main sale function setMaxMintPerTransaction(uint256 maxMint) external onlyOwner { maxMintPerTransaction = maxMint; } // @dev Presale Mint // @param tokenCount The tokens a user wants to purchase // @param presaleMaxMint The max tokens a user can mint from the presale // @param factionId Community: 0 and Theos: 1 // @param sig Server side signature authorizing user to use the presale function mintPresale( uint256 tokenCount, uint256 presaleMaxMint, uint256 factionId, bytes memory sig ) external nonReentrant payable { require(factionId == 0 || factionId == 1, "Faction is not valid"); require(_isPresaleActive, "Presale not active"); require(!_isSaleActive, "Cannot mint while main sale is active"); require(tokenCount > 0, "Must mint at least 1 token"); require(tokenCount <= presaleMaxMint, "Token count exceeds limit"); require((MINT_PRICE * tokenCount) == msg.value, "ETH sent does not match required payment"); require(presaleMaxMint <= 6, "The max that a random user can mint in the presale is 6"); require(!presaleClaimed[msg.sender], "Already minted in the presale with this address"); // Verify signature bytes32 message = getPresaleSigningHash(msg.sender, tokenCount, presaleMaxMint, factionId).toEthSignedMessageHash(); require(ECDSA.recover(message, sig) == signVerifier, "Permission to call this function failed"); presaleClaimed[msg.sender] = true; // Mint _handleFactionMint( tokenCount, factionId, msg.sender, COMMUNITY_MINT_SUPPLY, THEOS_MINT_SUPPLY ); } // @dev Main sale mint // @param tokensCount The tokens a user wants to purchase // @param factionId Community: 0 and Theos: 1 function mint(uint256 tokenCount, uint256 factionId) external nonReentrant payable { require(factionId == 0 || factionId == 1, "Faction is not valid"); require(_isSaleActive, "Sale not active"); require(tokenCount > 0, "Must mint at least 1 token"); require(tokenCount <= maxMintPerTransaction, "Token count exceeds limit"); require((MINT_PRICE * tokenCount) == msg.value, "ETH sent does not match required payment"); _handleFactionMint( tokenCount, factionId, msg.sender, COMMUNITY_MINT_SUPPLY, THEOS_MINT_SUPPLY ); } // @dev Private mint function reserved for company. // 44 Community and 44 Theos are reserved. // @param recipient The user receiving the tokens // @param tokenCount The number of tokens to distribute // @param factionId Community: 0 and Theos: 1 function mintToAddress(address recipient, uint256 tokenCount, uint256 factionId) external onlyOwner { require(isSaleFinished(), "Sale has not concluded"); require(factionId == 0 || factionId == 1, "Faction does not exist"); require(tokenCount > 0, "You can only mint more than 0 tokens"); _handleFactionMint( tokenCount, factionId, recipient, COMMUNITY_MINT_SUPPLY + COMMUNITY_STAFF_SUPPLY, THEOS_MINT_SUPPLY + THEOS_STAFF_SUPPLY ); } // @dev Allows to enable/disable minting of presale function flipPresaleState() external onlyOwner { _isPresaleActive = !_isPresaleActive; } // @dev Allows to enable/disable minting of main sale function flipSaleState() external onlyOwner { _isSaleActive = !_isSaleActive; } function withdraw() external onlyOwner { uint balance = address(this).balance; payable(msg.sender).transfer(balance); } // @dev Future proof the contract to allow for // functionality like transfer and fusion of droids. function toggleModuleContract(address module, bool state) external onlyOwner { moduleContracts[module] = state; } function mintToken(address recipient, uint256 tokenId, uint256 factionId) external { require(moduleContracts[msg.sender]); factionForToken[tokenId] = factionId; _safeMint(recipient, tokenId); } function burnToken(uint256 tokenId) external { require(moduleContracts[msg.sender]); _burn(tokenId); } function getPresaleSigningHash( address recipient, uint256 tokenCount, uint256 presaleMaxMint, uint256 factionId ) public pure returns (bytes32) { return keccak256(abi.encodePacked( recipient, tokenCount, presaleMaxMint, factionId )); } function supportsInterface(bytes4 interfaceId) public view override(ERC721, ERC721Enumerable) returns (bool) { return super.supportsInterface(interfaceId); } function _baseURI() internal view override returns (string memory) { return _uri; } // @dev Check if sale has been sold out function isSaleFinished() internal view returns (bool) { return communityMintCount >= COMMUNITY_MINT_SUPPLY && theosMintCount >= THEOS_MINT_SUPPLY; } function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal override(ERC721, ERC721Enumerable) { super._beforeTokenTransfer(from, to, tokenId); } function _burn(uint256 tokenId) internal override(ERC721) { super._burn(tokenId); } function _handleFactionMint( uint256 tokenCount, uint256 factionId, address recipient, uint256 communityTotalSupply, uint256 theosTotalSupply ) private { if (factionId == COMMUNITY_ID) { require(communityMintCount < communityTotalSupply, "Community has been fully minted"); require((communityMintCount + tokenCount) <= communityTotalSupply, "Cannot purchase more than supply available"); communityMintCount += tokenCount; _mint(recipient, tokenCount, COMMUNITY_ID); } else if (factionId == THEOS_ID) { require(theosMintCount < theosTotalSupply, "Theos has been fully minted"); require((theosMintCount + tokenCount) <= theosTotalSupply, "Cannot purchase more than supply available"); theosMintCount += tokenCount; _mint(recipient, tokenCount, THEOS_ID); } } function _mint(address recipient, uint256 tokenCount, uint256 factionId) private { uint256 totalSupply = totalSupply(); for (uint256 i = 0; i < tokenCount; i++) { uint256 tokenId = totalSupply + i; factionForToken[tokenId] = factionId; emit Mint(recipient, tokenId, factionId, _getHash(tokenId)); _safeMint(recipient, tokenId); } } // @dev The hash that is used to generate the droid. function _getHash(uint256 tokenId) private view returns (bytes32) { return keccak256(abi.encodePacked(tokenId, blockhash(block.number - 1))); } }
// 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; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor () { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and make it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } }
// 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; /** * @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; /** * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations. * * These functions can be used to verify that a message was signed by the holder * of the private keys of a given address. */ library ECDSA { /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature`. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. */ function recover(bytes32 hash, bytes memory signature) internal pure returns (address) { // Divide the signature in r, s and v variables bytes32 r; bytes32 s; uint8 v; // Check the signature length // - case 65: r,s,v signature (standard) // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._ if (signature.length == 65) { // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. // solhint-disable-next-line no-inline-assembly assembly { r := mload(add(signature, 0x20)) s := mload(add(signature, 0x40)) v := byte(0, mload(add(signature, 0x60))) } } else if (signature.length == 64) { // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. // solhint-disable-next-line no-inline-assembly assembly { let vs := mload(add(signature, 0x40)) r := mload(add(signature, 0x20)) s := and(vs, 0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff) v := add(shr(255, vs), 27) } } else { revert("ECDSA: invalid signature length"); } return recover(hash, v, r, s); } /** * @dev Overload of {ECDSA-recover} that receives the `v`, * `r` and `s` signature fields separately. */ function recover(bytes32 hash, uint8 v, bytes32 r, bytes32 s) internal pure returns (address) { // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines // the valid range for s in (281): 0 < s < secp256k1n ÷ 2 + 1, and for v in (282): v ∈ {27, 28}. Most // signatures from current libraries generate a unique signature with an s-value in the lower half order. // // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept // these malleable signatures as well. require(uint256(s) <= 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0, "ECDSA: invalid signature 's' value"); require(v == 27 || v == 28, "ECDSA: invalid signature 'v' value"); // If the signature is valid (and not malleable), return the signer address address signer = ecrecover(hash, v, r, s); require(signer != address(0), "ECDSA: invalid signature"); return signer; } /** * @dev Returns an Ethereum Signed Message, created from a `hash`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) { // 32 is the length in bytes of hash, // enforced by the type signature above return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash)); } /** * @dev Returns an Ethereum Signed Typed Data, created from a * `domainSeparator` and a `structHash`. This produces hash corresponding * to the one signed with the * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`] * JSON-RPC method as part of EIP-712. * * See {recover}. */ function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash)); } }
// 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": "istanbul", "libraries": {}, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"uint256","name":"communityMintSupply","type":"uint256"},{"internalType":"uint256","name":"theosMintSupply","type":"uint256"},{"internalType":"uint256","name":"communityStaffSupply","type":"uint256"},{"internalType":"uint256","name":"theosStaffSupply","type":"uint256"},{"internalType":"uint256","name":"maxMint","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":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"factionId","type":"uint256"},{"indexed":false,"internalType":"bytes32","name":"mintHash","type":"bytes32"}],"name":"Mint","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"COMMUNITY_ID","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"COMMUNITY_MINT_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"COMMUNITY_STAFF_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINT_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"THEOS_ID","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"THEOS_MINT_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"THEOS_STAFF_SUPPLY","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":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burnToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"communityMintCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"uint256","name":"tokenId","type":"uint256"}],"name":"getFaction","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPreSaleState","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"getPresaleClaimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"tokenCount","type":"uint256"},{"internalType":"uint256","name":"presaleMaxMint","type":"uint256"},{"internalType":"uint256","name":"factionId","type":"uint256"}],"name":"getPresaleSigningHash","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"getSaleState","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"maxMintPerTransaction","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenCount","type":"uint256"},{"internalType":"uint256","name":"factionId","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenCount","type":"uint256"},{"internalType":"uint256","name":"presaleMaxMint","type":"uint256"},{"internalType":"uint256","name":"factionId","type":"uint256"},{"internalType":"bytes","name":"sig","type":"bytes"}],"name":"mintPresale","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"tokenCount","type":"uint256"},{"internalType":"uint256","name":"factionId","type":"uint256"}],"name":"mintToAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"factionId","type":"uint256"}],"name":"mintToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"uri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxMint","type":"uint256"}],"name":"setMaxMintPerTransaction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"verifier","type":"address"}],"name":"setSignVerifier","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"theosMintCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"module","type":"address"},{"internalType":"bool","name":"state","type":"bool"}],"name":"toggleModuleContract","outputs":[],"stateMutability":"nonpayable","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":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6080604052600060115560006012553480156200001b57600080fd5b50604051620062a2380380620062a2833981810160405281019062000041919062000322565b6040518060400160405280600d81526020017f5361766167652044726f696473000000000000000000000000000000000000008152506040518060400160405280600581526020017f53443838380000000000000000000000000000000000000000000000000000008152508160009080519060200190620000c59291906200025b565b508060019080519060200190620000de9291906200025b565b5050506000620000f36200025360201b60201c565b905080600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3506001600b8190555084600d8190555083600e8190555082600f819055508160108190555080600c819055506000601360016101000a81548160ff0219169083151502179055506000601360006101000a81548160ff02191690831515021790555073d974c841ff9ad100a992555f4587ca61c838e6aa601660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050505050506200042d565b600033905090565b8280546200026990620003ae565b90600052602060002090601f0160209004810192826200028d5760008555620002d9565b82601f10620002a857805160ff1916838001178555620002d9565b82800160010185558215620002d9579182015b82811115620002d8578251825591602001919060010190620002bb565b5b509050620002e89190620002ec565b5090565b5b8082111562000307576000816000905550600101620002ed565b5090565b6000815190506200031c8162000413565b92915050565b600080600080600060a086880312156200033b57600080fd5b60006200034b888289016200030b565b95505060206200035e888289016200030b565b945050604062000371888289016200030b565b935050606062000384888289016200030b565b925050608062000397888289016200030b565b9150509295509295909350565b6000819050919050565b60006002820490506001821680620003c757607f821691505b60208210811415620003de57620003dd620003e4565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6200041e81620003a4565b81146200042a57600080fd5b50565b615e65806200043d6000396000f3fe6080604052600436106102885760003560e01c80635ee309661161015a578063a8a150b8116100c1578063de7276d71161007a578063de7276d7146109b2578063e8649f58146109dd578063e985e9c514610a06578063f2fde38b14610a43578063f81227d414610a6c578063fe3e028014610a8357610288565b8063a8a150b814610890578063b88d4fde146108cd578063c002d23d146108f6578063c87b56dd14610921578063dbd6325f1461095e578063dc7aa9ef1461098957610288565b80637b47ec1a116101135780637b47ec1a146107945780638b62f8b8146107bd5780638da5cb5b146107e857806395d89b41146108135780639a8030041461083e578063a22cb4651461086757610288565b80635ee309661461065e5780636352211e1461069b57806368555262146106d85780636918a1731461071557806370a0823114610740578063715018a61461077d57610288565b80632e6cebe5116101fe5780634f6ccce7116101b75780634f6ccce71461055b578063500b9f4414610598578063511beaa2146105c357806355f804b3146105ee5780635a23fa16146106175780635abc56321461064257610288565b80632e6cebe5146104755780632f745c591461049e57806334918dfd146104db5780633ccfd60b146104f257806342842e0e1461050957806342966c681461053257610288565b8063095ea7b311610250578063095ea7b31461038857806318160ddd146103b15780631b2ef1ca146103dc57806323a36d2b146103f857806323b872dd1461042157806325bdb2a81461044a57610288565b806301f569971461028d57806301ffc9a7146102b857806306fdde03146102f557806307bcbff514610320578063081812fc1461034b575b600080fd5b34801561029957600080fd5b506102a2610aae565b6040516102af9190615944565b60405180910390f35b3480156102c457600080fd5b506102df60048036038101906102da91906141a6565b610ab4565b6040516102ec9190615387565b60405180910390f35b34801561030157600080fd5b5061030a610ac6565b6040516103179190615402565b60405180910390f35b34801561032c57600080fd5b50610335610b58565b6040516103429190615944565b60405180910390f35b34801561035757600080fd5b50610372600480360381019061036d9190614239565b610b5e565b60405161037f9190615320565b60405180910390f35b34801561039457600080fd5b506103af60048036038101906103aa91906140b8565b610be3565b005b3480156103bd57600080fd5b506103c6610cfb565b6040516103d39190615944565b60405180910390f35b6103f660048036038101906103f19190614262565b610d08565b005b34801561040457600080fd5b5061041f600480360381019061041a91906140f4565b610eed565b005b34801561042d57600080fd5b5061044860048036038101906104439190613fb2565b610f6a565b005b34801561045657600080fd5b5061045f610fca565b60405161046c9190615387565b60405180910390f35b34801561048157600080fd5b5061049c60048036038101906104979190614239565b610fe1565b005b3480156104aa57600080fd5b506104c560048036038101906104c091906140b8565b611067565b6040516104d29190615944565b60405180910390f35b3480156104e757600080fd5b506104f061110c565b005b3480156104fe57600080fd5b506105076111b4565b005b34801561051557600080fd5b50610530600480360381019061052b9190613fb2565b61127f565b005b34801561053e57600080fd5b5061055960048036038101906105549190614239565b61129f565b005b34801561056757600080fd5b50610582600480360381019061057d9190614239565b6112fb565b60405161058f9190615944565b60405180910390f35b3480156105a457600080fd5b506105ad611392565b6040516105ba9190615387565b60405180910390f35b3480156105cf57600080fd5b506105d86113a9565b6040516105e59190615944565b60405180910390f35b3480156105fa57600080fd5b50610615600480360381019061061091906141f8565b6113af565b005b34801561062357600080fd5b5061062c611445565b6040516106399190615944565b60405180910390f35b61065c6004803603810190610657919061429e565b61144a565b005b34801561066a57600080fd5b5061068560048036038101906106809190613f4d565b61185a565b6040516106929190615387565b60405180910390f35b3480156106a757600080fd5b506106c260048036038101906106bd9190614239565b6118b0565b6040516106cf9190615320565b60405180910390f35b3480156106e457600080fd5b506106ff60048036038101906106fa9190614143565b611962565b60405161070c91906153a2565b60405180910390f35b34801561072157600080fd5b5061072a61199b565b6040516107379190615944565b60405180910390f35b34801561074c57600080fd5b5061076760048036038101906107629190613f4d565b6119a1565b6040516107749190615944565b60405180910390f35b34801561078957600080fd5b50610792611a59565b005b3480156107a057600080fd5b506107bb60048036038101906107b69190614239565b611b96565b005b3480156107c957600080fd5b506107d2611bf8565b6040516107df9190615944565b60405180910390f35b3480156107f457600080fd5b506107fd611bfe565b60405161080a9190615320565b60405180910390f35b34801561081f57600080fd5b50610828611c28565b6040516108359190615402565b60405180910390f35b34801561084a57600080fd5b506108656004803603810190610860919061407c565b611cba565b005b34801561087357600080fd5b5061088e6004803603810190610889919061407c565b611d91565b005b34801561089c57600080fd5b506108b760048036038101906108b29190614239565b611f12565b6040516108c49190615944565b60405180910390f35b3480156108d957600080fd5b506108f460048036038101906108ef9190614001565b611f77565b005b34801561090257600080fd5b5061090b611fd9565b6040516109189190615944565b60405180910390f35b34801561092d57600080fd5b5061094860048036038101906109439190614239565b611fe5565b6040516109559190615402565b60405180910390f35b34801561096a57600080fd5b5061097361208c565b6040516109809190615944565b60405180910390f35b34801561099557600080fd5b506109b060048036038101906109ab91906140f4565b612092565b005b3480156109be57600080fd5b506109c7612216565b6040516109d49190615944565b60405180910390f35b3480156109e957600080fd5b50610a0460048036038101906109ff9190613f4d565b61221b565b005b348015610a1257600080fd5b50610a2d6004803603810190610a289190613f76565b6122db565b604051610a3a9190615387565b60405180910390f35b348015610a4f57600080fd5b50610a6a6004803603810190610a659190613f4d565b61236f565b005b348015610a7857600080fd5b50610a8161251b565b005b348015610a8f57600080fd5b50610a986125c3565b604051610aa59190615944565b60405180910390f35b600c5481565b6000610abf826125c9565b9050919050565b606060008054610ad590615c15565b80601f0160208091040260200160405190810160405280929190818152602001828054610b0190615c15565b8015610b4e5780601f10610b2357610100808354040283529160200191610b4e565b820191906000526020600020905b815481529060010190602001808311610b3157829003601f168201915b5050505050905090565b60115481565b6000610b6982612643565b610ba8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b9f906157a4565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610bee826118b0565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610c5f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c5690615844565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610c7e6126af565b73ffffffffffffffffffffffffffffffffffffffff161480610cad5750610cac81610ca76126af565b6122db565b5b610cec576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ce3906156e4565b60405180910390fd5b610cf683836126b7565b505050565b6000600880549050905090565b6002600b541415610d4e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d4590615904565b60405180910390fd5b6002600b819055506000811480610d655750600181145b610da4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d9b90615864565b60405180910390fd5b601360019054906101000a900460ff16610df3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dea906156a4565b60405180910390fd5b60008211610e36576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e2d90615564565b60405180910390fd5b600c54821115610e7b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e7290615584565b60405180910390fd5b3482670138a388a43c0000610e909190615aba565b14610ed0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ec7906157e4565b60405180910390fd5b610ee1828233600d54600e54612770565b6001600b819055505050565b601760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16610f4357600080fd5b806014600084815260200190815260200160002081905550610f658383612902565b505050565b610f7b610f756126af565b82612920565b610fba576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fb190615884565b60405180910390fd5b610fc58383836129fe565b505050565b6000601360019054906101000a900460ff16905090565b610fe96126af565b73ffffffffffffffffffffffffffffffffffffffff16611007611bfe565b73ffffffffffffffffffffffffffffffffffffffff161461105d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611054906157c4565b60405180910390fd5b80600c8190555050565b6000611072836119a1565b82106110b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110aa90615484565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b6111146126af565b73ffffffffffffffffffffffffffffffffffffffff16611132611bfe565b73ffffffffffffffffffffffffffffffffffffffff1614611188576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161117f906157c4565b60405180910390fd5b601360019054906101000a900460ff1615601360016101000a81548160ff021916908315150217905550565b6111bc6126af565b73ffffffffffffffffffffffffffffffffffffffff166111da611bfe565b73ffffffffffffffffffffffffffffffffffffffff1614611230576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611227906157c4565b60405180910390fd5b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f1935050505015801561127b573d6000803e3d6000fd5b5050565b61129a83838360405180602001604052806000815250611f77565b505050565b6112b06112aa6126af565b82612920565b6112ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112e690615924565b60405180910390fd5b6112f881612c5a565b50565b6000611305610cfb565b8210611346576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161133d906158a4565b60405180910390fd5b60088281548110611380577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b6000601360009054906101000a900460ff16905090565b60125481565b6113b76126af565b73ffffffffffffffffffffffffffffffffffffffff166113d5611bfe565b73ffffffffffffffffffffffffffffffffffffffff161461142b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611422906157c4565b60405180910390fd5b8060189080519060200190611441929190613d71565b5050565b600181565b6002600b541415611490576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161148790615904565b60405180910390fd5b6002600b8190555060008214806114a75750600182145b6114e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114dd90615864565b60405180910390fd5b601360009054906101000a900460ff16611535576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161152c90615624565b60405180910390fd5b601360019054906101000a900460ff1615611585576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161157c90615504565b60405180910390fd5b600084116115c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115bf90615564565b60405180910390fd5b8284111561160b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161160290615584565b60405180910390fd5b3484670138a388a43c00006116209190615aba565b14611660576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611657906157e4565b60405180910390fd5b60068311156116a4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161169b906158e4565b60405180910390fd5b601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615611731576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611728906158c4565b60405180910390fd5b600061174761174233878787611962565b612c66565b9050601660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661178c8284612c96565b73ffffffffffffffffffffffffffffffffffffffff16146117e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117d990615704565b60405180910390fd5b6001601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555061184b858433600d54600e54612770565b506001600b8190555050505050565b6000601560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611959576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161195090615744565b60405180910390fd5b80915050919050565b60008484848460405160200161197b949392919061525c565b604051602081830303815290604052805190602001209050949350505050565b600e5481565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611a12576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a0990615724565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611a616126af565b73ffffffffffffffffffffffffffffffffffffffff16611a7f611bfe565b73ffffffffffffffffffffffffffffffffffffffff1614611ad5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611acc906157c4565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b601760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16611bec57600080fd5b611bf581612c5a565b50565b600d5481565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054611c3790615c15565b80601f0160208091040260200160405190810160405280929190818152602001828054611c6390615c15565b8015611cb05780601f10611c8557610100808354040283529160200191611cb0565b820191906000526020600020905b815481529060010190602001808311611c9357829003601f168201915b5050505050905090565b611cc26126af565b73ffffffffffffffffffffffffffffffffffffffff16611ce0611bfe565b73ffffffffffffffffffffffffffffffffffffffff1614611d36576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d2d906157c4565b60405180910390fd5b80601760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b611d996126af565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611e07576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dfe906155e4565b60405180910390fd5b8060056000611e146126af565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611ec16126af565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611f069190615387565b60405180910390a35050565b6000611f1d82612643565b611f5c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f5390615444565b60405180910390fd5b60146000838152602001908152602001600020549050919050565b611f88611f826126af565b83612920565b611fc7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fbe90615884565b60405180910390fd5b611fd384848484612d60565b50505050565b670138a388a43c000081565b6060611ff082612643565b61202f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161202690615824565b60405180910390fd5b6000612039612dbc565b905060008151116120595760405180602001604052806000815250612084565b8061206384612e4e565b6040516020016120749291906152aa565b6040516020818303038152906040525b915050919050565b600f5481565b61209a6126af565b73ffffffffffffffffffffffffffffffffffffffff166120b8611bfe565b73ffffffffffffffffffffffffffffffffffffffff161461210e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612105906157c4565b60405180910390fd5b612116612ffb565b612155576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161214c906156c4565b60405180910390fd5b60008114806121645750600181145b6121a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161219a90615604565b60405180910390fd5b600082116121e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121dd90615544565b60405180910390fd5b612211828285600f54600d546121fc9190615a33565b601054600e5461220c9190615a33565b612770565b505050565b600081565b6122236126af565b73ffffffffffffffffffffffffffffffffffffffff16612241611bfe565b73ffffffffffffffffffffffffffffffffffffffff1614612297576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161228e906157c4565b60405180910390fd5b80601660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6123776126af565b73ffffffffffffffffffffffffffffffffffffffff16612395611bfe565b73ffffffffffffffffffffffffffffffffffffffff16146123eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123e2906157c4565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561245b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612452906154e4565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6125236126af565b73ffffffffffffffffffffffffffffffffffffffff16612541611bfe565b73ffffffffffffffffffffffffffffffffffffffff1614612597576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161258e906157c4565b60405180910390fd5b601360009054906101000a900460ff1615601360006101000a81548160ff021916908315150217905550565b60105481565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061263c575061263b8261301a565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661272a836118b0565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008414156128375781601154106127bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127b4906154a4565b60405180910390fd5b81856011546127cc9190615a33565b111561280d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161280490615684565b60405180910390fd5b846011600082825461281f9190615a33565b92505081905550612832838660006130fc565b6128fb565b60018414156128fa578060125410612884576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161287b906155a4565b60405180910390fd5b80856012546128939190615a33565b11156128d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128cb90615684565b60405180910390fd5b84601260008282546128e69190615a33565b925050819055506128f9838660016130fc565b5b5b5050505050565b61291c8282604051806020016040528060008152506131b8565b5050565b600061292b82612643565b61296a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161296190615664565b60405180910390fd5b6000612975836118b0565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806129e457508373ffffffffffffffffffffffffffffffffffffffff166129cc84610b5e565b73ffffffffffffffffffffffffffffffffffffffff16145b806129f557506129f481856122db565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612a1e826118b0565b73ffffffffffffffffffffffffffffffffffffffff1614612a74576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a6b90615804565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612ae4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612adb906155c4565b60405180910390fd5b612aef838383613213565b612afa6000826126b7565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612b4a9190615b14565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612ba19190615a33565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b612c6381613223565b50565b600081604051602001612c7991906152ce565b604051602081830303815290604052805190602001209050919050565b600080600080604185511415612cc3576020850151925060408501519150606085015160001a9050612d49565b604085511415612d0d576040850151602086015193507f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81169250601b8160ff1c01915050612d48565b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d3f90615464565b60405180910390fd5b5b612d5586828585613334565b935050505092915050565b612d6b8484846129fe565b612d77848484846134bf565b612db6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612dad906154c4565b60405180910390fd5b50505050565b606060188054612dcb90615c15565b80601f0160208091040260200160405190810160405280929190818152602001828054612df790615c15565b8015612e445780601f10612e1957610100808354040283529160200191612e44565b820191906000526020600020905b815481529060010190602001808311612e2757829003601f168201915b5050505050905090565b60606000821415612e96576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612ff6565b600082905060005b60008214612ec8578080612eb190615c47565b915050600a82612ec19190615a89565b9150612e9e565b60008167ffffffffffffffff811115612f0a577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612f3c5781602001600182028036833780820191505090505b5090505b60008514612fef57600182612f559190615b14565b9150600a85612f649190615cc8565b6030612f709190615a33565b60f81b818381518110612fac577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612fe89190615a89565b9450612f40565b8093505050505b919050565b6000600d54601154101580156130155750600e5460125410155b905090565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806130e557507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806130f557506130f482613656565b5b9050919050565b6000613106610cfb565b905060005b838110156131b157600081836131219190615a33565b905083601460008381526020019081526020016000208190555083818773ffffffffffffffffffffffffffffffffffffffff167fcf6fbb9dcea7d07263ab4f5c3a92f53af33dffc421d9d121e1c74b307e68189d61317e856136c0565b60405161318b91906153a2565b60405180910390a461319d8682612902565b5080806131a990615c47565b91505061310b565b5050505050565b6131c283836136ff565b6131cf60008484846134bf565b61320e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613205906154c4565b60405180910390fd5b505050565b61321e8383836138cd565b505050565b600061322e826118b0565b905061323c81600084613213565b6132476000836126b7565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546132979190615b14565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b60007f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08260001c111561339c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161339390615644565b60405180910390fd5b601b8460ff1614806133b15750601c8460ff16145b6133f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133e790615764565b60405180910390fd5b60006001868686866040516000815260200160405260405161341594939291906153bd565b6020604051602081039080840390855afa158015613437573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156134b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134aa90615424565b60405180910390fd5b80915050949350505050565b60006134e08473ffffffffffffffffffffffffffffffffffffffff166139e1565b15613649578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026135096126af565b8786866040518563ffffffff1660e01b815260040161352b949392919061533b565b602060405180830381600087803b15801561354557600080fd5b505af192505050801561357657506040513d601f19601f8201168201806040525081019061357391906141cf565b60015b6135f9573d80600081146135a6576040519150601f19603f3d011682016040523d82523d6000602084013e6135ab565b606091505b506000815114156135f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135e8906154c4565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061364e565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000816001436136d09190615b14565b406040516020016136e29291906152f4565b604051602081830303815290604052805190602001209050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561376f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161376690615784565b60405180910390fd5b61377881612643565b156137b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016137af90615524565b60405180910390fd5b6137c460008383613213565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546138149190615a33565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6138d88383836139f4565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561391b57613916816139f9565b61395a565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614613959576139588382613a42565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561399d5761399881613baf565b6139dc565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146139db576139da8282613cf2565b5b5b505050565b600080823b905060008111915050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001613a4f846119a1565b613a599190615b14565b9050600060076000848152602001908152602001600020549050818114613b3e576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050613bc39190615b14565b9050600060096000848152602001908152602001600020549050600060088381548110613c19577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060088381548110613c61577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613cd6577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000613cfd836119a1565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b828054613d7d90615c15565b90600052602060002090601f016020900481019282613d9f5760008555613de6565b82601f10613db857805160ff1916838001178555613de6565b82800160010185558215613de6579182015b82811115613de5578251825591602001919060010190613dca565b5b509050613df39190613df7565b5090565b5b80821115613e10576000816000905550600101613df8565b5090565b6000613e27613e2284615990565b61595f565b905082815260208101848484011115613e3f57600080fd5b613e4a848285615bd3565b509392505050565b6000613e65613e60846159c0565b61595f565b905082815260208101848484011115613e7d57600080fd5b613e88848285615bd3565b509392505050565b600081359050613e9f81615dd3565b92915050565b600081359050613eb481615dea565b92915050565b600081359050613ec981615e01565b92915050565b600081519050613ede81615e01565b92915050565b600082601f830112613ef557600080fd5b8135613f05848260208601613e14565b91505092915050565b600082601f830112613f1f57600080fd5b8135613f2f848260208601613e52565b91505092915050565b600081359050613f4781615e18565b92915050565b600060208284031215613f5f57600080fd5b6000613f6d84828501613e90565b91505092915050565b60008060408385031215613f8957600080fd5b6000613f9785828601613e90565b9250506020613fa885828601613e90565b9150509250929050565b600080600060608486031215613fc757600080fd5b6000613fd586828701613e90565b9350506020613fe686828701613e90565b9250506040613ff786828701613f38565b9150509250925092565b6000806000806080858703121561401757600080fd5b600061402587828801613e90565b945050602061403687828801613e90565b935050604061404787828801613f38565b925050606085013567ffffffffffffffff81111561406457600080fd5b61407087828801613ee4565b91505092959194509250565b6000806040838503121561408f57600080fd5b600061409d85828601613e90565b92505060206140ae85828601613ea5565b9150509250929050565b600080604083850312156140cb57600080fd5b60006140d985828601613e90565b92505060206140ea85828601613f38565b9150509250929050565b60008060006060848603121561410957600080fd5b600061411786828701613e90565b935050602061412886828701613f38565b925050604061413986828701613f38565b9150509250925092565b6000806000806080858703121561415957600080fd5b600061416787828801613e90565b945050602061417887828801613f38565b935050604061418987828801613f38565b925050606061419a87828801613f38565b91505092959194509250565b6000602082840312156141b857600080fd5b60006141c684828501613eba565b91505092915050565b6000602082840312156141e157600080fd5b60006141ef84828501613ecf565b91505092915050565b60006020828403121561420a57600080fd5b600082013567ffffffffffffffff81111561422457600080fd5b61423084828501613f0e565b91505092915050565b60006020828403121561424b57600080fd5b600061425984828501613f38565b91505092915050565b6000806040838503121561427557600080fd5b600061428385828601613f38565b925050602061429485828601613f38565b9150509250929050565b600080600080608085870312156142b457600080fd5b60006142c287828801613f38565b94505060206142d387828801613f38565b93505060406142e487828801613f38565b925050606085013567ffffffffffffffff81111561430157600080fd5b61430d87828801613ee4565b91505092959194509250565b61432281615b48565b82525050565b61433961433482615b48565b615c90565b82525050565b61434881615b5a565b82525050565b61435781615b66565b82525050565b61436e61436982615b66565b615ca2565b82525050565b600061437f826159f0565b6143898185615a06565b9350614399818560208601615be2565b6143a281615db5565b840191505092915050565b60006143b8826159fb565b6143c28185615a17565b93506143d2818560208601615be2565b6143db81615db5565b840191505092915050565b60006143f1826159fb565b6143fb8185615a28565b935061440b818560208601615be2565b80840191505092915050565b6000614424601883615a17565b91507f45434453413a20696e76616c6964207369676e617475726500000000000000006000830152602082019050919050565b6000614464601b83615a17565b91507f517565727920666f72206e6f6e6578697374656e7420746f6b656e00000000006000830152602082019050919050565b60006144a4601f83615a17565b91507f45434453413a20696e76616c6964207369676e6174757265206c656e677468006000830152602082019050919050565b60006144e4601c83615a28565b91507f19457468657265756d205369676e6564204d6573736167653a0a3332000000006000830152601c82019050919050565b6000614524602b83615a17565b91507f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008301527f74206f6620626f756e64730000000000000000000000000000000000000000006020830152604082019050919050565b600061458a601f83615a17565b91507f436f6d6d756e69747920686173206265656e2066756c6c79206d696e746564006000830152602082019050919050565b60006145ca603283615a17565b91507f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008301527f63656976657220696d706c656d656e74657200000000000000000000000000006020830152604082019050919050565b6000614630602683615a17565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000614696602583615a17565b91507f43616e6e6f74206d696e74207768696c65206d61696e2073616c65206973206160008301527f63746976650000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006146fc601c83615a17565b91507f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006000830152602082019050919050565b600061473c602483615a17565b91507f596f752063616e206f6e6c79206d696e74206d6f7265207468616e203020746f60008301527f6b656e73000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006147a2601a83615a17565b91507f4d757374206d696e74206174206c65617374203120746f6b656e0000000000006000830152602082019050919050565b60006147e2601983615a17565b91507f546f6b656e20636f756e742065786365656473206c696d6974000000000000006000830152602082019050919050565b6000614822601b83615a17565b91507f5468656f7320686173206265656e2066756c6c79206d696e74656400000000006000830152602082019050919050565b6000614862602483615a17565b91507f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006148c8601983615a17565b91507f4552433732313a20617070726f766520746f2063616c6c6572000000000000006000830152602082019050919050565b6000614908601683615a17565b91507f46616374696f6e20646f6573206e6f74206578697374000000000000000000006000830152602082019050919050565b6000614948601283615a17565b91507f50726573616c65206e6f742061637469766500000000000000000000000000006000830152602082019050919050565b6000614988602283615a17565b91507f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008301527f75650000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006149ee602c83615a17565b91507f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b6000614a54602a83615a17565b91507f43616e6e6f74207075726368617365206d6f7265207468616e20737570706c7960008301527f20617661696c61626c65000000000000000000000000000000000000000000006020830152604082019050919050565b6000614aba600f83615a17565b91507f53616c65206e6f742061637469766500000000000000000000000000000000006000830152602082019050919050565b6000614afa601683615a17565b91507f53616c6520686173206e6f7420636f6e636c75646564000000000000000000006000830152602082019050919050565b6000614b3a603883615a17565b91507f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008301527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006020830152604082019050919050565b6000614ba0602783615a17565b91507f5065726d697373696f6e20746f2063616c6c20746869732066756e6374696f6e60008301527f206661696c6564000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000614c06602a83615a17565b91507f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008301527f726f2061646472657373000000000000000000000000000000000000000000006020830152604082019050919050565b6000614c6c602983615a17565b91507f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008301527f656e7420746f6b656e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000614cd2602283615a17565b91507f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008301527f75650000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000614d38602083615a17565b91507f4552433732313a206d696e7420746f20746865207a65726f20616464726573736000830152602082019050919050565b6000614d78602c83615a17565b91507f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b6000614dde602083615a17565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b6000614e1e602883615a17565b91507f4554482073656e7420646f6573206e6f74206d6174636820726571756972656460008301527f207061796d656e740000000000000000000000000000000000000000000000006020830152604082019050919050565b6000614e84602983615a17565b91507f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008301527f73206e6f74206f776e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000614eea602f83615a17565b91507f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008301527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006020830152604082019050919050565b6000614f50602183615a17565b91507f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008301527f72000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000614fb6601483615a17565b91507f46616374696f6e206973206e6f742076616c69640000000000000000000000006000830152602082019050919050565b6000614ff6603183615a17565b91507f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008301527f776e6572206e6f7220617070726f7665640000000000000000000000000000006020830152604082019050919050565b600061505c602c83615a17565b91507f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008301527f7574206f6620626f756e647300000000000000000000000000000000000000006020830152604082019050919050565b60006150c2602f83615a17565b91507f416c7265616479206d696e74656420696e207468652070726573616c6520776960008301527f74682074686973206164647265737300000000000000000000000000000000006020830152604082019050919050565b6000615128603783615a17565b91507f546865206d6178207468617420612072616e646f6d20757365722063616e206d60008301527f696e7420696e207468652070726573616c6520697320360000000000000000006020830152604082019050919050565b600061518e601f83615a17565b91507f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006000830152602082019050919050565b60006151ce603083615a17565b91507f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760008301527f6e6572206e6f7220617070726f766564000000000000000000000000000000006020830152604082019050919050565b61523081615bbc565b82525050565b61524761524282615bbc565b615cbe565b82525050565b61525681615bc6565b82525050565b60006152688287614328565b6014820191506152788286615236565b6020820191506152888285615236565b6020820191506152988284615236565b60208201915081905095945050505050565b60006152b682856143e6565b91506152c282846143e6565b91508190509392505050565b60006152d9826144d7565b91506152e5828461435d565b60208201915081905092915050565b60006153008285615236565b602082019150615310828461435d565b6020820191508190509392505050565b60006020820190506153356000830184614319565b92915050565b60006080820190506153506000830187614319565b61535d6020830186614319565b61536a6040830185615227565b818103606083015261537c8184614374565b905095945050505050565b600060208201905061539c600083018461433f565b92915050565b60006020820190506153b7600083018461434e565b92915050565b60006080820190506153d2600083018761434e565b6153df602083018661524d565b6153ec604083018561434e565b6153f9606083018461434e565b95945050505050565b6000602082019050818103600083015261541c81846143ad565b905092915050565b6000602082019050818103600083015261543d81614417565b9050919050565b6000602082019050818103600083015261545d81614457565b9050919050565b6000602082019050818103600083015261547d81614497565b9050919050565b6000602082019050818103600083015261549d81614517565b9050919050565b600060208201905081810360008301526154bd8161457d565b9050919050565b600060208201905081810360008301526154dd816145bd565b9050919050565b600060208201905081810360008301526154fd81614623565b9050919050565b6000602082019050818103600083015261551d81614689565b9050919050565b6000602082019050818103600083015261553d816146ef565b9050919050565b6000602082019050818103600083015261555d8161472f565b9050919050565b6000602082019050818103600083015261557d81614795565b9050919050565b6000602082019050818103600083015261559d816147d5565b9050919050565b600060208201905081810360008301526155bd81614815565b9050919050565b600060208201905081810360008301526155dd81614855565b9050919050565b600060208201905081810360008301526155fd816148bb565b9050919050565b6000602082019050818103600083015261561d816148fb565b9050919050565b6000602082019050818103600083015261563d8161493b565b9050919050565b6000602082019050818103600083015261565d8161497b565b9050919050565b6000602082019050818103600083015261567d816149e1565b9050919050565b6000602082019050818103600083015261569d81614a47565b9050919050565b600060208201905081810360008301526156bd81614aad565b9050919050565b600060208201905081810360008301526156dd81614aed565b9050919050565b600060208201905081810360008301526156fd81614b2d565b9050919050565b6000602082019050818103600083015261571d81614b93565b9050919050565b6000602082019050818103600083015261573d81614bf9565b9050919050565b6000602082019050818103600083015261575d81614c5f565b9050919050565b6000602082019050818103600083015261577d81614cc5565b9050919050565b6000602082019050818103600083015261579d81614d2b565b9050919050565b600060208201905081810360008301526157bd81614d6b565b9050919050565b600060208201905081810360008301526157dd81614dd1565b9050919050565b600060208201905081810360008301526157fd81614e11565b9050919050565b6000602082019050818103600083015261581d81614e77565b9050919050565b6000602082019050818103600083015261583d81614edd565b9050919050565b6000602082019050818103600083015261585d81614f43565b9050919050565b6000602082019050818103600083015261587d81614fa9565b9050919050565b6000602082019050818103600083015261589d81614fe9565b9050919050565b600060208201905081810360008301526158bd8161504f565b9050919050565b600060208201905081810360008301526158dd816150b5565b9050919050565b600060208201905081810360008301526158fd8161511b565b9050919050565b6000602082019050818103600083015261591d81615181565b9050919050565b6000602082019050818103600083015261593d816151c1565b9050919050565b60006020820190506159596000830184615227565b92915050565b6000604051905081810181811067ffffffffffffffff8211171561598657615985615d86565b5b8060405250919050565b600067ffffffffffffffff8211156159ab576159aa615d86565b5b601f19601f8301169050602081019050919050565b600067ffffffffffffffff8211156159db576159da615d86565b5b601f19601f8301169050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000615a3e82615bbc565b9150615a4983615bbc565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115615a7e57615a7d615cf9565b5b828201905092915050565b6000615a9482615bbc565b9150615a9f83615bbc565b925082615aaf57615aae615d28565b5b828204905092915050565b6000615ac582615bbc565b9150615ad083615bbc565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615615b0957615b08615cf9565b5b828202905092915050565b6000615b1f82615bbc565b9150615b2a83615bbc565b925082821015615b3d57615b3c615cf9565b5b828203905092915050565b6000615b5382615b9c565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b83811015615c00578082015181840152602081019050615be5565b83811115615c0f576000848401525b50505050565b60006002820490506001821680615c2d57607f821691505b60208210811415615c4157615c40615d57565b5b50919050565b6000615c5282615bbc565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415615c8557615c84615cf9565b5b600182019050919050565b6000615c9b82615cac565b9050919050565b6000819050919050565b6000615cb782615dc6565b9050919050565b6000819050919050565b6000615cd382615bbc565b9150615cde83615bbc565b925082615cee57615ced615d28565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b615ddc81615b48565b8114615de757600080fd5b50565b615df381615b5a565b8114615dfe57600080fd5b50565b615e0a81615b70565b8114615e1557600080fd5b50565b615e2181615bbc565b8114615e2c57600080fd5b5056fea26469706673582212201f28b7aeb16f4feb9e22b781f90bd50998a6cdf8abe410faf64a4f5eb3c9fe6564736f6c6343000800003300000000000000000000000000000000000000000000000000000000000011300000000000000000000000000000000000000000000000000000000000001130000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000002c0000000000000000000000000000000000000000000000000000000000000004
Deployed Bytecode
0x6080604052600436106102885760003560e01c80635ee309661161015a578063a8a150b8116100c1578063de7276d71161007a578063de7276d7146109b2578063e8649f58146109dd578063e985e9c514610a06578063f2fde38b14610a43578063f81227d414610a6c578063fe3e028014610a8357610288565b8063a8a150b814610890578063b88d4fde146108cd578063c002d23d146108f6578063c87b56dd14610921578063dbd6325f1461095e578063dc7aa9ef1461098957610288565b80637b47ec1a116101135780637b47ec1a146107945780638b62f8b8146107bd5780638da5cb5b146107e857806395d89b41146108135780639a8030041461083e578063a22cb4651461086757610288565b80635ee309661461065e5780636352211e1461069b57806368555262146106d85780636918a1731461071557806370a0823114610740578063715018a61461077d57610288565b80632e6cebe5116101fe5780634f6ccce7116101b75780634f6ccce71461055b578063500b9f4414610598578063511beaa2146105c357806355f804b3146105ee5780635a23fa16146106175780635abc56321461064257610288565b80632e6cebe5146104755780632f745c591461049e57806334918dfd146104db5780633ccfd60b146104f257806342842e0e1461050957806342966c681461053257610288565b8063095ea7b311610250578063095ea7b31461038857806318160ddd146103b15780631b2ef1ca146103dc57806323a36d2b146103f857806323b872dd1461042157806325bdb2a81461044a57610288565b806301f569971461028d57806301ffc9a7146102b857806306fdde03146102f557806307bcbff514610320578063081812fc1461034b575b600080fd5b34801561029957600080fd5b506102a2610aae565b6040516102af9190615944565b60405180910390f35b3480156102c457600080fd5b506102df60048036038101906102da91906141a6565b610ab4565b6040516102ec9190615387565b60405180910390f35b34801561030157600080fd5b5061030a610ac6565b6040516103179190615402565b60405180910390f35b34801561032c57600080fd5b50610335610b58565b6040516103429190615944565b60405180910390f35b34801561035757600080fd5b50610372600480360381019061036d9190614239565b610b5e565b60405161037f9190615320565b60405180910390f35b34801561039457600080fd5b506103af60048036038101906103aa91906140b8565b610be3565b005b3480156103bd57600080fd5b506103c6610cfb565b6040516103d39190615944565b60405180910390f35b6103f660048036038101906103f19190614262565b610d08565b005b34801561040457600080fd5b5061041f600480360381019061041a91906140f4565b610eed565b005b34801561042d57600080fd5b5061044860048036038101906104439190613fb2565b610f6a565b005b34801561045657600080fd5b5061045f610fca565b60405161046c9190615387565b60405180910390f35b34801561048157600080fd5b5061049c60048036038101906104979190614239565b610fe1565b005b3480156104aa57600080fd5b506104c560048036038101906104c091906140b8565b611067565b6040516104d29190615944565b60405180910390f35b3480156104e757600080fd5b506104f061110c565b005b3480156104fe57600080fd5b506105076111b4565b005b34801561051557600080fd5b50610530600480360381019061052b9190613fb2565b61127f565b005b34801561053e57600080fd5b5061055960048036038101906105549190614239565b61129f565b005b34801561056757600080fd5b50610582600480360381019061057d9190614239565b6112fb565b60405161058f9190615944565b60405180910390f35b3480156105a457600080fd5b506105ad611392565b6040516105ba9190615387565b60405180910390f35b3480156105cf57600080fd5b506105d86113a9565b6040516105e59190615944565b60405180910390f35b3480156105fa57600080fd5b50610615600480360381019061061091906141f8565b6113af565b005b34801561062357600080fd5b5061062c611445565b6040516106399190615944565b60405180910390f35b61065c6004803603810190610657919061429e565b61144a565b005b34801561066a57600080fd5b5061068560048036038101906106809190613f4d565b61185a565b6040516106929190615387565b60405180910390f35b3480156106a757600080fd5b506106c260048036038101906106bd9190614239565b6118b0565b6040516106cf9190615320565b60405180910390f35b3480156106e457600080fd5b506106ff60048036038101906106fa9190614143565b611962565b60405161070c91906153a2565b60405180910390f35b34801561072157600080fd5b5061072a61199b565b6040516107379190615944565b60405180910390f35b34801561074c57600080fd5b5061076760048036038101906107629190613f4d565b6119a1565b6040516107749190615944565b60405180910390f35b34801561078957600080fd5b50610792611a59565b005b3480156107a057600080fd5b506107bb60048036038101906107b69190614239565b611b96565b005b3480156107c957600080fd5b506107d2611bf8565b6040516107df9190615944565b60405180910390f35b3480156107f457600080fd5b506107fd611bfe565b60405161080a9190615320565b60405180910390f35b34801561081f57600080fd5b50610828611c28565b6040516108359190615402565b60405180910390f35b34801561084a57600080fd5b506108656004803603810190610860919061407c565b611cba565b005b34801561087357600080fd5b5061088e6004803603810190610889919061407c565b611d91565b005b34801561089c57600080fd5b506108b760048036038101906108b29190614239565b611f12565b6040516108c49190615944565b60405180910390f35b3480156108d957600080fd5b506108f460048036038101906108ef9190614001565b611f77565b005b34801561090257600080fd5b5061090b611fd9565b6040516109189190615944565b60405180910390f35b34801561092d57600080fd5b5061094860048036038101906109439190614239565b611fe5565b6040516109559190615402565b60405180910390f35b34801561096a57600080fd5b5061097361208c565b6040516109809190615944565b60405180910390f35b34801561099557600080fd5b506109b060048036038101906109ab91906140f4565b612092565b005b3480156109be57600080fd5b506109c7612216565b6040516109d49190615944565b60405180910390f35b3480156109e957600080fd5b50610a0460048036038101906109ff9190613f4d565b61221b565b005b348015610a1257600080fd5b50610a2d6004803603810190610a289190613f76565b6122db565b604051610a3a9190615387565b60405180910390f35b348015610a4f57600080fd5b50610a6a6004803603810190610a659190613f4d565b61236f565b005b348015610a7857600080fd5b50610a8161251b565b005b348015610a8f57600080fd5b50610a986125c3565b604051610aa59190615944565b60405180910390f35b600c5481565b6000610abf826125c9565b9050919050565b606060008054610ad590615c15565b80601f0160208091040260200160405190810160405280929190818152602001828054610b0190615c15565b8015610b4e5780601f10610b2357610100808354040283529160200191610b4e565b820191906000526020600020905b815481529060010190602001808311610b3157829003601f168201915b5050505050905090565b60115481565b6000610b6982612643565b610ba8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b9f906157a4565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610bee826118b0565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610c5f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c5690615844565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610c7e6126af565b73ffffffffffffffffffffffffffffffffffffffff161480610cad5750610cac81610ca76126af565b6122db565b5b610cec576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ce3906156e4565b60405180910390fd5b610cf683836126b7565b505050565b6000600880549050905090565b6002600b541415610d4e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d4590615904565b60405180910390fd5b6002600b819055506000811480610d655750600181145b610da4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d9b90615864565b60405180910390fd5b601360019054906101000a900460ff16610df3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dea906156a4565b60405180910390fd5b60008211610e36576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e2d90615564565b60405180910390fd5b600c54821115610e7b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e7290615584565b60405180910390fd5b3482670138a388a43c0000610e909190615aba565b14610ed0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ec7906157e4565b60405180910390fd5b610ee1828233600d54600e54612770565b6001600b819055505050565b601760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16610f4357600080fd5b806014600084815260200190815260200160002081905550610f658383612902565b505050565b610f7b610f756126af565b82612920565b610fba576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fb190615884565b60405180910390fd5b610fc58383836129fe565b505050565b6000601360019054906101000a900460ff16905090565b610fe96126af565b73ffffffffffffffffffffffffffffffffffffffff16611007611bfe565b73ffffffffffffffffffffffffffffffffffffffff161461105d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611054906157c4565b60405180910390fd5b80600c8190555050565b6000611072836119a1565b82106110b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110aa90615484565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b6111146126af565b73ffffffffffffffffffffffffffffffffffffffff16611132611bfe565b73ffffffffffffffffffffffffffffffffffffffff1614611188576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161117f906157c4565b60405180910390fd5b601360019054906101000a900460ff1615601360016101000a81548160ff021916908315150217905550565b6111bc6126af565b73ffffffffffffffffffffffffffffffffffffffff166111da611bfe565b73ffffffffffffffffffffffffffffffffffffffff1614611230576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611227906157c4565b60405180910390fd5b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f1935050505015801561127b573d6000803e3d6000fd5b5050565b61129a83838360405180602001604052806000815250611f77565b505050565b6112b06112aa6126af565b82612920565b6112ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112e690615924565b60405180910390fd5b6112f881612c5a565b50565b6000611305610cfb565b8210611346576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161133d906158a4565b60405180910390fd5b60088281548110611380577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b6000601360009054906101000a900460ff16905090565b60125481565b6113b76126af565b73ffffffffffffffffffffffffffffffffffffffff166113d5611bfe565b73ffffffffffffffffffffffffffffffffffffffff161461142b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611422906157c4565b60405180910390fd5b8060189080519060200190611441929190613d71565b5050565b600181565b6002600b541415611490576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161148790615904565b60405180910390fd5b6002600b8190555060008214806114a75750600182145b6114e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114dd90615864565b60405180910390fd5b601360009054906101000a900460ff16611535576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161152c90615624565b60405180910390fd5b601360019054906101000a900460ff1615611585576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161157c90615504565b60405180910390fd5b600084116115c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115bf90615564565b60405180910390fd5b8284111561160b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161160290615584565b60405180910390fd5b3484670138a388a43c00006116209190615aba565b14611660576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611657906157e4565b60405180910390fd5b60068311156116a4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161169b906158e4565b60405180910390fd5b601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615611731576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611728906158c4565b60405180910390fd5b600061174761174233878787611962565b612c66565b9050601660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661178c8284612c96565b73ffffffffffffffffffffffffffffffffffffffff16146117e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117d990615704565b60405180910390fd5b6001601560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555061184b858433600d54600e54612770565b506001600b8190555050505050565b6000601560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611959576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161195090615744565b60405180910390fd5b80915050919050565b60008484848460405160200161197b949392919061525c565b604051602081830303815290604052805190602001209050949350505050565b600e5481565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611a12576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a0990615724565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611a616126af565b73ffffffffffffffffffffffffffffffffffffffff16611a7f611bfe565b73ffffffffffffffffffffffffffffffffffffffff1614611ad5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611acc906157c4565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b601760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16611bec57600080fd5b611bf581612c5a565b50565b600d5481565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054611c3790615c15565b80601f0160208091040260200160405190810160405280929190818152602001828054611c6390615c15565b8015611cb05780601f10611c8557610100808354040283529160200191611cb0565b820191906000526020600020905b815481529060010190602001808311611c9357829003601f168201915b5050505050905090565b611cc26126af565b73ffffffffffffffffffffffffffffffffffffffff16611ce0611bfe565b73ffffffffffffffffffffffffffffffffffffffff1614611d36576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d2d906157c4565b60405180910390fd5b80601760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b611d996126af565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611e07576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dfe906155e4565b60405180910390fd5b8060056000611e146126af565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611ec16126af565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611f069190615387565b60405180910390a35050565b6000611f1d82612643565b611f5c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f5390615444565b60405180910390fd5b60146000838152602001908152602001600020549050919050565b611f88611f826126af565b83612920565b611fc7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fbe90615884565b60405180910390fd5b611fd384848484612d60565b50505050565b670138a388a43c000081565b6060611ff082612643565b61202f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161202690615824565b60405180910390fd5b6000612039612dbc565b905060008151116120595760405180602001604052806000815250612084565b8061206384612e4e565b6040516020016120749291906152aa565b6040516020818303038152906040525b915050919050565b600f5481565b61209a6126af565b73ffffffffffffffffffffffffffffffffffffffff166120b8611bfe565b73ffffffffffffffffffffffffffffffffffffffff161461210e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612105906157c4565b60405180910390fd5b612116612ffb565b612155576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161214c906156c4565b60405180910390fd5b60008114806121645750600181145b6121a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161219a90615604565b60405180910390fd5b600082116121e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121dd90615544565b60405180910390fd5b612211828285600f54600d546121fc9190615a33565b601054600e5461220c9190615a33565b612770565b505050565b600081565b6122236126af565b73ffffffffffffffffffffffffffffffffffffffff16612241611bfe565b73ffffffffffffffffffffffffffffffffffffffff1614612297576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161228e906157c4565b60405180910390fd5b80601660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6123776126af565b73ffffffffffffffffffffffffffffffffffffffff16612395611bfe565b73ffffffffffffffffffffffffffffffffffffffff16146123eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123e2906157c4565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561245b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612452906154e4565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6125236126af565b73ffffffffffffffffffffffffffffffffffffffff16612541611bfe565b73ffffffffffffffffffffffffffffffffffffffff1614612597576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161258e906157c4565b60405180910390fd5b601360009054906101000a900460ff1615601360006101000a81548160ff021916908315150217905550565b60105481565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061263c575061263b8261301a565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661272a836118b0565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008414156128375781601154106127bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127b4906154a4565b60405180910390fd5b81856011546127cc9190615a33565b111561280d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161280490615684565b60405180910390fd5b846011600082825461281f9190615a33565b92505081905550612832838660006130fc565b6128fb565b60018414156128fa578060125410612884576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161287b906155a4565b60405180910390fd5b80856012546128939190615a33565b11156128d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128cb90615684565b60405180910390fd5b84601260008282546128e69190615a33565b925050819055506128f9838660016130fc565b5b5b5050505050565b61291c8282604051806020016040528060008152506131b8565b5050565b600061292b82612643565b61296a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161296190615664565b60405180910390fd5b6000612975836118b0565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806129e457508373ffffffffffffffffffffffffffffffffffffffff166129cc84610b5e565b73ffffffffffffffffffffffffffffffffffffffff16145b806129f557506129f481856122db565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612a1e826118b0565b73ffffffffffffffffffffffffffffffffffffffff1614612a74576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a6b90615804565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612ae4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612adb906155c4565b60405180910390fd5b612aef838383613213565b612afa6000826126b7565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612b4a9190615b14565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612ba19190615a33565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b612c6381613223565b50565b600081604051602001612c7991906152ce565b604051602081830303815290604052805190602001209050919050565b600080600080604185511415612cc3576020850151925060408501519150606085015160001a9050612d49565b604085511415612d0d576040850151602086015193507f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81169250601b8160ff1c01915050612d48565b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d3f90615464565b60405180910390fd5b5b612d5586828585613334565b935050505092915050565b612d6b8484846129fe565b612d77848484846134bf565b612db6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612dad906154c4565b60405180910390fd5b50505050565b606060188054612dcb90615c15565b80601f0160208091040260200160405190810160405280929190818152602001828054612df790615c15565b8015612e445780601f10612e1957610100808354040283529160200191612e44565b820191906000526020600020905b815481529060010190602001808311612e2757829003601f168201915b5050505050905090565b60606000821415612e96576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612ff6565b600082905060005b60008214612ec8578080612eb190615c47565b915050600a82612ec19190615a89565b9150612e9e565b60008167ffffffffffffffff811115612f0a577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612f3c5781602001600182028036833780820191505090505b5090505b60008514612fef57600182612f559190615b14565b9150600a85612f649190615cc8565b6030612f709190615a33565b60f81b818381518110612fac577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612fe89190615a89565b9450612f40565b8093505050505b919050565b6000600d54601154101580156130155750600e5460125410155b905090565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806130e557507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806130f557506130f482613656565b5b9050919050565b6000613106610cfb565b905060005b838110156131b157600081836131219190615a33565b905083601460008381526020019081526020016000208190555083818773ffffffffffffffffffffffffffffffffffffffff167fcf6fbb9dcea7d07263ab4f5c3a92f53af33dffc421d9d121e1c74b307e68189d61317e856136c0565b60405161318b91906153a2565b60405180910390a461319d8682612902565b5080806131a990615c47565b91505061310b565b5050505050565b6131c283836136ff565b6131cf60008484846134bf565b61320e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613205906154c4565b60405180910390fd5b505050565b61321e8383836138cd565b505050565b600061322e826118b0565b905061323c81600084613213565b6132476000836126b7565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546132979190615b14565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b60007f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08260001c111561339c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161339390615644565b60405180910390fd5b601b8460ff1614806133b15750601c8460ff16145b6133f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133e790615764565b60405180910390fd5b60006001868686866040516000815260200160405260405161341594939291906153bd565b6020604051602081039080840390855afa158015613437573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156134b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134aa90615424565b60405180910390fd5b80915050949350505050565b60006134e08473ffffffffffffffffffffffffffffffffffffffff166139e1565b15613649578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026135096126af565b8786866040518563ffffffff1660e01b815260040161352b949392919061533b565b602060405180830381600087803b15801561354557600080fd5b505af192505050801561357657506040513d601f19601f8201168201806040525081019061357391906141cf565b60015b6135f9573d80600081146135a6576040519150601f19603f3d011682016040523d82523d6000602084013e6135ab565b606091505b506000815114156135f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135e8906154c4565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061364e565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000816001436136d09190615b14565b406040516020016136e29291906152f4565b604051602081830303815290604052805190602001209050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561376f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161376690615784565b60405180910390fd5b61377881612643565b156137b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016137af90615524565b60405180910390fd5b6137c460008383613213565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546138149190615a33565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6138d88383836139f4565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561391b57613916816139f9565b61395a565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614613959576139588382613a42565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561399d5761399881613baf565b6139dc565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146139db576139da8282613cf2565b5b5b505050565b600080823b905060008111915050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001613a4f846119a1565b613a599190615b14565b9050600060076000848152602001908152602001600020549050818114613b3e576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050613bc39190615b14565b9050600060096000848152602001908152602001600020549050600060088381548110613c19577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060088381548110613c61577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613cd6577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000613cfd836119a1565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b828054613d7d90615c15565b90600052602060002090601f016020900481019282613d9f5760008555613de6565b82601f10613db857805160ff1916838001178555613de6565b82800160010185558215613de6579182015b82811115613de5578251825591602001919060010190613dca565b5b509050613df39190613df7565b5090565b5b80821115613e10576000816000905550600101613df8565b5090565b6000613e27613e2284615990565b61595f565b905082815260208101848484011115613e3f57600080fd5b613e4a848285615bd3565b509392505050565b6000613e65613e60846159c0565b61595f565b905082815260208101848484011115613e7d57600080fd5b613e88848285615bd3565b509392505050565b600081359050613e9f81615dd3565b92915050565b600081359050613eb481615dea565b92915050565b600081359050613ec981615e01565b92915050565b600081519050613ede81615e01565b92915050565b600082601f830112613ef557600080fd5b8135613f05848260208601613e14565b91505092915050565b600082601f830112613f1f57600080fd5b8135613f2f848260208601613e52565b91505092915050565b600081359050613f4781615e18565b92915050565b600060208284031215613f5f57600080fd5b6000613f6d84828501613e90565b91505092915050565b60008060408385031215613f8957600080fd5b6000613f9785828601613e90565b9250506020613fa885828601613e90565b9150509250929050565b600080600060608486031215613fc757600080fd5b6000613fd586828701613e90565b9350506020613fe686828701613e90565b9250506040613ff786828701613f38565b9150509250925092565b6000806000806080858703121561401757600080fd5b600061402587828801613e90565b945050602061403687828801613e90565b935050604061404787828801613f38565b925050606085013567ffffffffffffffff81111561406457600080fd5b61407087828801613ee4565b91505092959194509250565b6000806040838503121561408f57600080fd5b600061409d85828601613e90565b92505060206140ae85828601613ea5565b9150509250929050565b600080604083850312156140cb57600080fd5b60006140d985828601613e90565b92505060206140ea85828601613f38565b9150509250929050565b60008060006060848603121561410957600080fd5b600061411786828701613e90565b935050602061412886828701613f38565b925050604061413986828701613f38565b9150509250925092565b6000806000806080858703121561415957600080fd5b600061416787828801613e90565b945050602061417887828801613f38565b935050604061418987828801613f38565b925050606061419a87828801613f38565b91505092959194509250565b6000602082840312156141b857600080fd5b60006141c684828501613eba565b91505092915050565b6000602082840312156141e157600080fd5b60006141ef84828501613ecf565b91505092915050565b60006020828403121561420a57600080fd5b600082013567ffffffffffffffff81111561422457600080fd5b61423084828501613f0e565b91505092915050565b60006020828403121561424b57600080fd5b600061425984828501613f38565b91505092915050565b6000806040838503121561427557600080fd5b600061428385828601613f38565b925050602061429485828601613f38565b9150509250929050565b600080600080608085870312156142b457600080fd5b60006142c287828801613f38565b94505060206142d387828801613f38565b93505060406142e487828801613f38565b925050606085013567ffffffffffffffff81111561430157600080fd5b61430d87828801613ee4565b91505092959194509250565b61432281615b48565b82525050565b61433961433482615b48565b615c90565b82525050565b61434881615b5a565b82525050565b61435781615b66565b82525050565b61436e61436982615b66565b615ca2565b82525050565b600061437f826159f0565b6143898185615a06565b9350614399818560208601615be2565b6143a281615db5565b840191505092915050565b60006143b8826159fb565b6143c28185615a17565b93506143d2818560208601615be2565b6143db81615db5565b840191505092915050565b60006143f1826159fb565b6143fb8185615a28565b935061440b818560208601615be2565b80840191505092915050565b6000614424601883615a17565b91507f45434453413a20696e76616c6964207369676e617475726500000000000000006000830152602082019050919050565b6000614464601b83615a17565b91507f517565727920666f72206e6f6e6578697374656e7420746f6b656e00000000006000830152602082019050919050565b60006144a4601f83615a17565b91507f45434453413a20696e76616c6964207369676e6174757265206c656e677468006000830152602082019050919050565b60006144e4601c83615a28565b91507f19457468657265756d205369676e6564204d6573736167653a0a3332000000006000830152601c82019050919050565b6000614524602b83615a17565b91507f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008301527f74206f6620626f756e64730000000000000000000000000000000000000000006020830152604082019050919050565b600061458a601f83615a17565b91507f436f6d6d756e69747920686173206265656e2066756c6c79206d696e746564006000830152602082019050919050565b60006145ca603283615a17565b91507f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008301527f63656976657220696d706c656d656e74657200000000000000000000000000006020830152604082019050919050565b6000614630602683615a17565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000614696602583615a17565b91507f43616e6e6f74206d696e74207768696c65206d61696e2073616c65206973206160008301527f63746976650000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006146fc601c83615a17565b91507f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006000830152602082019050919050565b600061473c602483615a17565b91507f596f752063616e206f6e6c79206d696e74206d6f7265207468616e203020746f60008301527f6b656e73000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006147a2601a83615a17565b91507f4d757374206d696e74206174206c65617374203120746f6b656e0000000000006000830152602082019050919050565b60006147e2601983615a17565b91507f546f6b656e20636f756e742065786365656473206c696d6974000000000000006000830152602082019050919050565b6000614822601b83615a17565b91507f5468656f7320686173206265656e2066756c6c79206d696e74656400000000006000830152602082019050919050565b6000614862602483615a17565b91507f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006148c8601983615a17565b91507f4552433732313a20617070726f766520746f2063616c6c6572000000000000006000830152602082019050919050565b6000614908601683615a17565b91507f46616374696f6e20646f6573206e6f74206578697374000000000000000000006000830152602082019050919050565b6000614948601283615a17565b91507f50726573616c65206e6f742061637469766500000000000000000000000000006000830152602082019050919050565b6000614988602283615a17565b91507f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008301527f75650000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006149ee602c83615a17565b91507f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b6000614a54602a83615a17565b91507f43616e6e6f74207075726368617365206d6f7265207468616e20737570706c7960008301527f20617661696c61626c65000000000000000000000000000000000000000000006020830152604082019050919050565b6000614aba600f83615a17565b91507f53616c65206e6f742061637469766500000000000000000000000000000000006000830152602082019050919050565b6000614afa601683615a17565b91507f53616c6520686173206e6f7420636f6e636c75646564000000000000000000006000830152602082019050919050565b6000614b3a603883615a17565b91507f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008301527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006020830152604082019050919050565b6000614ba0602783615a17565b91507f5065726d697373696f6e20746f2063616c6c20746869732066756e6374696f6e60008301527f206661696c6564000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000614c06602a83615a17565b91507f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008301527f726f2061646472657373000000000000000000000000000000000000000000006020830152604082019050919050565b6000614c6c602983615a17565b91507f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008301527f656e7420746f6b656e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000614cd2602283615a17565b91507f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008301527f75650000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000614d38602083615a17565b91507f4552433732313a206d696e7420746f20746865207a65726f20616464726573736000830152602082019050919050565b6000614d78602c83615a17565b91507f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b6000614dde602083615a17565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b6000614e1e602883615a17565b91507f4554482073656e7420646f6573206e6f74206d6174636820726571756972656460008301527f207061796d656e740000000000000000000000000000000000000000000000006020830152604082019050919050565b6000614e84602983615a17565b91507f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008301527f73206e6f74206f776e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000614eea602f83615a17565b91507f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008301527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006020830152604082019050919050565b6000614f50602183615a17565b91507f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008301527f72000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000614fb6601483615a17565b91507f46616374696f6e206973206e6f742076616c69640000000000000000000000006000830152602082019050919050565b6000614ff6603183615a17565b91507f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008301527f776e6572206e6f7220617070726f7665640000000000000000000000000000006020830152604082019050919050565b600061505c602c83615a17565b91507f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008301527f7574206f6620626f756e647300000000000000000000000000000000000000006020830152604082019050919050565b60006150c2602f83615a17565b91507f416c7265616479206d696e74656420696e207468652070726573616c6520776960008301527f74682074686973206164647265737300000000000000000000000000000000006020830152604082019050919050565b6000615128603783615a17565b91507f546865206d6178207468617420612072616e646f6d20757365722063616e206d60008301527f696e7420696e207468652070726573616c6520697320360000000000000000006020830152604082019050919050565b600061518e601f83615a17565b91507f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006000830152602082019050919050565b60006151ce603083615a17565b91507f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760008301527f6e6572206e6f7220617070726f766564000000000000000000000000000000006020830152604082019050919050565b61523081615bbc565b82525050565b61524761524282615bbc565b615cbe565b82525050565b61525681615bc6565b82525050565b60006152688287614328565b6014820191506152788286615236565b6020820191506152888285615236565b6020820191506152988284615236565b60208201915081905095945050505050565b60006152b682856143e6565b91506152c282846143e6565b91508190509392505050565b60006152d9826144d7565b91506152e5828461435d565b60208201915081905092915050565b60006153008285615236565b602082019150615310828461435d565b6020820191508190509392505050565b60006020820190506153356000830184614319565b92915050565b60006080820190506153506000830187614319565b61535d6020830186614319565b61536a6040830185615227565b818103606083015261537c8184614374565b905095945050505050565b600060208201905061539c600083018461433f565b92915050565b60006020820190506153b7600083018461434e565b92915050565b60006080820190506153d2600083018761434e565b6153df602083018661524d565b6153ec604083018561434e565b6153f9606083018461434e565b95945050505050565b6000602082019050818103600083015261541c81846143ad565b905092915050565b6000602082019050818103600083015261543d81614417565b9050919050565b6000602082019050818103600083015261545d81614457565b9050919050565b6000602082019050818103600083015261547d81614497565b9050919050565b6000602082019050818103600083015261549d81614517565b9050919050565b600060208201905081810360008301526154bd8161457d565b9050919050565b600060208201905081810360008301526154dd816145bd565b9050919050565b600060208201905081810360008301526154fd81614623565b9050919050565b6000602082019050818103600083015261551d81614689565b9050919050565b6000602082019050818103600083015261553d816146ef565b9050919050565b6000602082019050818103600083015261555d8161472f565b9050919050565b6000602082019050818103600083015261557d81614795565b9050919050565b6000602082019050818103600083015261559d816147d5565b9050919050565b600060208201905081810360008301526155bd81614815565b9050919050565b600060208201905081810360008301526155dd81614855565b9050919050565b600060208201905081810360008301526155fd816148bb565b9050919050565b6000602082019050818103600083015261561d816148fb565b9050919050565b6000602082019050818103600083015261563d8161493b565b9050919050565b6000602082019050818103600083015261565d8161497b565b9050919050565b6000602082019050818103600083015261567d816149e1565b9050919050565b6000602082019050818103600083015261569d81614a47565b9050919050565b600060208201905081810360008301526156bd81614aad565b9050919050565b600060208201905081810360008301526156dd81614aed565b9050919050565b600060208201905081810360008301526156fd81614b2d565b9050919050565b6000602082019050818103600083015261571d81614b93565b9050919050565b6000602082019050818103600083015261573d81614bf9565b9050919050565b6000602082019050818103600083015261575d81614c5f565b9050919050565b6000602082019050818103600083015261577d81614cc5565b9050919050565b6000602082019050818103600083015261579d81614d2b565b9050919050565b600060208201905081810360008301526157bd81614d6b565b9050919050565b600060208201905081810360008301526157dd81614dd1565b9050919050565b600060208201905081810360008301526157fd81614e11565b9050919050565b6000602082019050818103600083015261581d81614e77565b9050919050565b6000602082019050818103600083015261583d81614edd565b9050919050565b6000602082019050818103600083015261585d81614f43565b9050919050565b6000602082019050818103600083015261587d81614fa9565b9050919050565b6000602082019050818103600083015261589d81614fe9565b9050919050565b600060208201905081810360008301526158bd8161504f565b9050919050565b600060208201905081810360008301526158dd816150b5565b9050919050565b600060208201905081810360008301526158fd8161511b565b9050919050565b6000602082019050818103600083015261591d81615181565b9050919050565b6000602082019050818103600083015261593d816151c1565b9050919050565b60006020820190506159596000830184615227565b92915050565b6000604051905081810181811067ffffffffffffffff8211171561598657615985615d86565b5b8060405250919050565b600067ffffffffffffffff8211156159ab576159aa615d86565b5b601f19601f8301169050602081019050919050565b600067ffffffffffffffff8211156159db576159da615d86565b5b601f19601f8301169050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000615a3e82615bbc565b9150615a4983615bbc565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115615a7e57615a7d615cf9565b5b828201905092915050565b6000615a9482615bbc565b9150615a9f83615bbc565b925082615aaf57615aae615d28565b5b828204905092915050565b6000615ac582615bbc565b9150615ad083615bbc565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615615b0957615b08615cf9565b5b828202905092915050565b6000615b1f82615bbc565b9150615b2a83615bbc565b925082821015615b3d57615b3c615cf9565b5b828203905092915050565b6000615b5382615b9c565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b83811015615c00578082015181840152602081019050615be5565b83811115615c0f576000848401525b50505050565b60006002820490506001821680615c2d57607f821691505b60208210811415615c4157615c40615d57565b5b50919050565b6000615c5282615bbc565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415615c8557615c84615cf9565b5b600182019050919050565b6000615c9b82615cac565b9050919050565b6000819050919050565b6000615cb782615dc6565b9050919050565b6000819050919050565b6000615cd382615bbc565b9150615cde83615bbc565b925082615cee57615ced615d28565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b615ddc81615b48565b8114615de757600080fd5b50565b615df381615b5a565b8114615dfe57600080fd5b50565b615e0a81615b70565b8114615e1557600080fd5b50565b615e2181615bbc565b8114615e2c57600080fd5b5056fea26469706673582212201f28b7aeb16f4feb9e22b781f90bd50998a6cdf8abe410faf64a4f5eb3c9fe6564736f6c63430008000033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000011300000000000000000000000000000000000000000000000000000000000001130000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000002c0000000000000000000000000000000000000000000000000000000000000004
-----Decoded View---------------
Arg [0] : communityMintSupply (uint256): 4400
Arg [1] : theosMintSupply (uint256): 4400
Arg [2] : communityStaffSupply (uint256): 44
Arg [3] : theosStaffSupply (uint256): 44
Arg [4] : maxMint (uint256): 4
-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000001130
Arg [1] : 0000000000000000000000000000000000000000000000000000000000001130
Arg [2] : 000000000000000000000000000000000000000000000000000000000000002c
Arg [3] : 000000000000000000000000000000000000000000000000000000000000002c
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000004
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.