Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
0 GENKATZ
Holders
611
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
4 GENKATZLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
KataboliczGenesis
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)
/* $$\ $$\ $$\ $$\ $$\ $$\ $$ | $$ | $$ | $$ | $$ |\__| $$ |$$ / $$$$$$\ $$$$$$\ $$$$$$\ $$$$$$$\ $$$$$$\ $$ |$$\ $$$$$$$\ $$$$$$$$\ $$$$$ / \____$$\ \_$$ _| \____$$\ $$ __$$\ $$ __$$\ $$ |$$ |$$ _____|\____$$ | $$ $$< $$$$$$$ | $$ | $$$$$$$ |$$ | $$ |$$ / $$ |$$ |$$ |$$ / $$$$ _/ $$ |\$$\ $$ __$$ | $$ |$$\ $$ __$$ |$$ | $$ |$$ | $$ |$$ |$$ |$$ | $$ _/ $$ | \$$\ \$$$$$$$ | \$$$$ |\$$$$$$$ |$$$$$$$ |\$$$$$$ |$$ |$$ |\$$$$$$$\ $$$$$$$$\ \__| \__| \_______| \____/ \_______|\_______/ \______/ \__|\__| \_______|\________| $$$$$$\ $$\ $$ __$$\ \__| $$ / \__| $$$$$$\ $$$$$$$\ $$$$$$\ $$$$$$$\ $$\ $$$$$$$\ $$ |$$$$\ $$ __$$\ $$ __$$\ $$ __$$\ $$ _____|$$ |$$ _____| $$ |\_$$ |$$$$$$$$ |$$ | $$ |$$$$$$$$ |\$$$$$$\ $$ |\$$$$$$\ $$ | $$ |$$ ____|$$ | $$ |$$ ____| \____$$\ $$ | \____$$\ \$$$$$$ |\$$$$$$$\ $$ | $$ |\$$$$$$$\ $$$$$$$ |$$ |$$$$$$$ | \______/ \_______|\__| \__| \_______|\_______/ \__|\_______/ Development by @White_Oak_Kong */ //SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/interfaces/IERC2981.sol"; import "@openzeppelin/contracts/interfaces/IERC20.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; interface IToroYield { function updateReward(address _from, address _to) external; } contract KataboliczGenesis is ERC721, IERC2981, Ownable, ReentrancyGuard { using Counters for Counters.Counter; using Strings for uint256; Counters.Counter private tokenCounter; IToroYield public ToroYield; function setToroYield(address _toroYield) external onlyOwner { ToroYield = IToroYield(_toroYield); } string private baseURI; string public verificationHash; uint256 public constant MAX_PER_TXN = 1; uint256 public constant MAX_PER_WALLET_PRESALE = 1; uint256 public constant MAX_PER_WALLET_TOTAL = 2; uint256 public maxKatz; uint256 public constant SALE_PRICE = 0.125 ether; uint256 public constant PRE_SALE_PRICE = 0.098 ether; bool public isPublicSaleActive; uint256 public maxPreSaleKatz; bytes32 public preSaleMerkleRoot; bool public isPreSaleActive; bytes32 public claimListMerkleRoot; mapping(address => uint256) public mintCounts; mapping(address => bool) public claimed; // ============ ACCESS CONTROL/SANITY MODIFIERS ============ modifier publicSaleActive() { require(isPublicSaleActive, "Public sale is not open"); _; } modifier preSaleActive() { require(isPreSaleActive, "Presale is not open"); _; } modifier canMintKatz(uint256 numberOfTokens) { require( tokenCounter.current() + numberOfTokens <= maxKatz, "Not enough katz remaining to mint" ); _; } modifier isCorrectPayment(uint256 price, uint256 numberOfTokens) { require( price * numberOfTokens == msg.value, "Incorrect ETH value sent" ); _; } modifier isValidMerkleProof(bytes32[] calldata merkleProof, bytes32 root) { require( MerkleProof.verify( merkleProof, root, keccak256(abi.encodePacked(msg.sender)) ), "Address does not exist in list" ); _; } modifier maxTxn(uint256 numberOfTokens) { require( numberOfTokens <= MAX_PER_TXN, "Max katz to mint is three" ); _; } constructor( uint256 _maxKatz, uint256 _maxPreSaleKatz ) ERC721("Katabolicz Genesis", "GENKATZ") { maxKatz = _maxKatz; maxPreSaleKatz = _maxPreSaleKatz; } // --- PUBLIC MINTING FUNCTIONS --- // mint allows for regular minting while the supply does not exceed maxKatz. function mint(uint256 numberOfTokens) external payable nonReentrant isCorrectPayment(SALE_PRICE, numberOfTokens) publicSaleActive canMintKatz(numberOfTokens) maxTxn(numberOfTokens) { uint256 numAlreadyMinted = mintCounts[msg.sender]; require( numAlreadyMinted + numberOfTokens <= MAX_PER_WALLET_TOTAL, "Max katz to mint in Presale is one" ); mintCounts[msg.sender] = numAlreadyMinted + numberOfTokens; for (uint256 i = 0; i < numberOfTokens; i++) { _safeMint(msg.sender, nextTokenId()); } } // mintPreSale allows for minting by allowed addresses during the pre-sale. function mintPreSale( uint8 numberOfTokens, bytes32[] calldata merkleProof) external payable nonReentrant preSaleActive canMintKatz(numberOfTokens) isCorrectPayment(PRE_SALE_PRICE, numberOfTokens) isValidMerkleProof(merkleProof, preSaleMerkleRoot) { uint256 numAlreadyMinted = mintCounts[msg.sender]; require( numAlreadyMinted + numberOfTokens <= MAX_PER_WALLET_PRESALE, "Max katz to mint in Presale is one" ); require( tokenCounter.current() + numberOfTokens <= maxPreSaleKatz, "Not enough katz remaining to mint" ); mintCounts[msg.sender] = numAlreadyMinted + numberOfTokens; for (uint256 i = 0; i < numberOfTokens; i++) { _safeMint(msg.sender, nextTokenId()); } } // claim allows for a free mint by allowed addresses. function claim(bytes32[] calldata merkleProof) external isValidMerkleProof(merkleProof, claimListMerkleRoot) { require(!claimed[msg.sender], "You have already claimed your free Genesis Kat."); claimed[msg.sender] = true; _safeMint(msg.sender, nextTokenId()); } // -- OWNER ONLY MINT -- function ownerMint(uint256 numberOfTokens) external nonReentrant onlyOwner canMintKatz(numberOfTokens) { for (uint256 i = 0; i < numberOfTokens; i++) { _safeMint(msg.sender, nextTokenId()); } } // --- READ-ONLY FUNCTIONS --- // getBaseURI returns the baseURI hash for collection metadata. function getBaseURI() external view returns (string memory) { return baseURI; } // getLastTokenId returns the last tokenId minted. function getLastTokenId() external view returns (uint256) { return tokenCounter.current(); } // -- ADMIN FUNCTIONS -- // setBaseURI sets the base URI for token metadata. function setBaseURI(string memory _baseURI) external onlyOwner { baseURI = _baseURI; } function setVerificationHash(string memory _verificationHash) external onlyOwner { verificationHash = _verificationHash; } // setIsPublicSaleActive toggles the functionality of the public minting function. function setIsPublicSaleActive(bool _isPublicSaleActive) external onlyOwner { isPublicSaleActive = _isPublicSaleActive; } // setIsPreSaleActive toggles the functionality of the presale minting function. function setIsPreSaleActive(bool _isPreSaleActive) external onlyOwner { isPreSaleActive = _isPreSaleActive; } // setPresaleListMerkleRoot sets the merkle root for presale allowed addresses. function setPresaleListMerkleRoot(bytes32 merkleRoot) external onlyOwner { preSaleMerkleRoot = merkleRoot; } // setClaimListMerkleRoot sets the merkle root for free claim addresses. function setClaimListMerkleRoot(bytes32 merkleRoot) external onlyOwner { claimListMerkleRoot = merkleRoot; } // withdraw allows for the withdraw of all ETH to the owner wallet. function withdraw() public onlyOwner { uint256 balance = address(this).balance; payable(msg.sender).transfer(balance); } // withdrawTokens allow for the withdrawl of any ERC20 token from contract. function withdrawTokens(IERC20 token) public onlyOwner { uint256 balance = token.balanceOf(address(this)); token.transfer(msg.sender, balance); } // nextTokenId collects the next tokenId to mint. function nextTokenId() private returns (uint256) { tokenCounter.increment(); return tokenCounter.current(); } function supportsInterface(bytes4 interfaceId) public view virtual override(ERC721, IERC165) returns (bool) { return interfaceId == type(IERC2981).interfaceId || super.supportsInterface(interfaceId); } // Custom Transfer Hook override ERC721 and update yield reward. function transferFrom(address from, address to, uint256 tokenId) public override { ToroYield.updateReward(from, to); ERC721.transferFrom(from, to, tokenId); } // Custom Transfer Hook override ERC721 and update yield reward. function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory data) public override { ToroYield.updateReward(from, to); ERC721.safeTransferFrom(from, to, tokenId, data); } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "Nonexistent token"); return string(abi.encodePacked(baseURI, "/", tokenId.toString())); } /** * Override royalty % for future application. */ function royaltyInfo(uint256 tokenId, uint256 salePrice) external view override returns (address receiver, uint256 royaltyAmount) { require(_exists(tokenId), "Nonexistent token"); return (address(this), SafeMath.div(SafeMath.mul(salePrice, 5), 100)); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/math/SafeMath.sol) pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Counters.sol) pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` */ library Counters { struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; require(value > 0, "Counter: decrement overflow"); unchecked { counter._value = value - 1; } } function reset(Counter storage counter) internal { counter._value = 0; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Trees proofs. * * The proofs can be generated using the JavaScript library * https://github.com/miguelmota/merkletreejs[merkletreejs]. * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled. * * See `test/utils/cryptography/MerkleProof.test.js` for some examples. */ library MerkleProof { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify( bytes32[] memory proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProof(proof, leaf) == root; } /** * @dev Returns the rebuilt hash obtained by traversing a Merklee tree up * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt * hash matches the root of the tree. When processing the proof, the pairs * of leafs & pre-images are assumed to be sorted. * * _Available since v4.4._ */ function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { bytes32 proofElement = proof[i]; if (computedHash <= proofElement) { // Hash(current computed hash + current element of the proof) computedHash = keccak256(abi.encodePacked(computedHash, proofElement)); } else { // Hash(current element of the proof + current computed hash) computedHash = keccak256(abi.encodePacked(proofElement, computedHash)); } } return computedHash; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { // 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 // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (interfaces/IERC20.sol) pragma solidity ^0.8.0; import "../token/ERC20/IERC20.sol";
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (interfaces/IERC2981.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Interface for the NFT Royalty Standard */ interface IERC2981 is IERC165 { /** * @dev Called with the sale price to determine how much royalty is owed and to whom. * @param tokenId - the NFT asset queried for royalty information * @param salePrice - the sale price of the NFT asset specified by `tokenId` * @return receiver - address of who should be sent the royalty payment * @return royaltyAmount - the royalty payment amount for `salePrice` */ function royaltyInfo(uint256 tokenId, uint256 salePrice) external view returns (address receiver, uint256 royaltyAmount); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be 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 { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || 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 Approve `operator` to operate on all of `owner` tokens * * Emits a {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Address.sol) 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; 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"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, 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 // OpenZeppelin Contracts v4.4.1 (interfaces/IERC165.sol) pragma solidity ^0.8.0; import "../utils/introspection/IERC165.sol";
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address sender, address recipient, uint256 amount ) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"uint256","name":"_maxKatz","type":"uint256"},{"internalType":"uint256","name":"_maxPreSaleKatz","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_PER_TXN","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_PER_WALLET_PRESALE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_PER_WALLET_TOTAL","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRE_SALE_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SALE_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ToroYield","outputs":[{"internalType":"contract IToroYield","name":"","type":"address"}],"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":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimListMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"claimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getBaseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getLastTokenId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"isPreSaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPublicSaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxKatz","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPreSaleKatz","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"mintCounts","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint8","name":"numberOfTokens","type":"uint8"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"mintPreSale","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"ownerMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"preSaleMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"royaltyAmount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"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":"_baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"merkleRoot","type":"bytes32"}],"name":"setClaimListMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_isPreSaleActive","type":"bool"}],"name":"setIsPreSaleActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_isPublicSaleActive","type":"bool"}],"name":"setIsPublicSaleActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"merkleRoot","type":"bytes32"}],"name":"setPresaleListMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_toroYield","type":"address"}],"name":"setToroYield","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_verificationHash","type":"string"}],"name":"setVerificationHash","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"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":"verificationHash","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"}],"name":"withdrawTokens","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b5060405162005487380380620054878339818101604052810190620000379190620002aa565b6040518060400160405280601281526020017f4b617461626f6c69637a2047656e6573697300000000000000000000000000008152506040518060400160405280600781526020017f47454e4b41545a000000000000000000000000000000000000000000000000008152508160009080519060200190620000bb929190620001e3565b508060019080519060200190620000d4929190620001e3565b505050620000f7620000eb6200011560201b60201c565b6200011d60201b60201c565b600160078190555081600c8190555080600e81905550505062000374565b600033905090565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620001f190620002f5565b90600052602060002090601f01602090048101928262000215576000855562000261565b82601f106200023057805160ff191683800117855562000261565b8280016001018555821562000261579182015b828111156200026057825182559160200191906001019062000243565b5b50905062000270919062000274565b5090565b5b808211156200028f57600081600090555060010162000275565b5090565b600081519050620002a4816200035a565b92915050565b60008060408385031215620002be57600080fd5b6000620002ce8582860162000293565b9250506020620002e18582860162000293565b9150509250929050565b6000819050919050565b600060028204905060018216806200030e57607f821691505b602082108114156200032557620003246200032b565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6200036581620002eb565b81146200037157600080fd5b50565b61510380620003846000396000f3fe6080604052600436106102885760003560e01c80636352211e1161015a578063a8b3a527116100c1578063c884ef831161007a578063c884ef831461098d578063d18b2efb146109ca578063e1589e83146109f5578063e985e9c514610a20578063f19e75d414610a5d578063f2fde38b14610a8657610288565b8063a8b3a5271461088e578063b391c508146108aa578063b88d4fde146108d3578063c0c36a37146108fc578063c15a146114610927578063c87b56dd1461095057610288565b80638da5cb5b116101135780638da5cb5b1461079f57806395d89b41146107ca5780639d044ed3146107f5578063a0712d6814610820578063a22cb4651461083c578063a643ed301461086557610288565b80636352211e1461068d57806370a08231146106ca578063714c539814610707578063715018a6146107325780637f205a741461074957806383c4c00d1461077457610288565b80632a55205a116101fe578063445f5756116101b7578063445f57561461057f57806349df728c146105a85780634b780f3c146105d157806351b96d92146105fc578063532778791461062757806355f804b31461066457610288565b80632a55205a14610480578063326f9ad3146104be5780633804a3b1146104e95780633ccfd60b1461051457806342842e0e1461052b578063438388451461055457610288565b8063193402bb11610250578063193402bb146103845780631e84c413146103af578063234e35d4146103da57806323b872dd1461040557806324f985e91461042e57806328cad13d1461045757610288565b806301ffc9a71461028d57806306fdde03146102ca578063081812fc146102f5578063095ea7b31461033257806315bdebe21461035b575b600080fd5b34801561029957600080fd5b506102b460048036038101906102af9190613ac9565b610aaf565b6040516102c191906147c9565b60405180910390f35b3480156102d657600080fd5b506102df610b29565b6040516102ec919061481a565b60405180910390f35b34801561030157600080fd5b5061031c60048036038101906103179190613b85565b610bbb565b6040516103299190614710565b60405180910390f35b34801561033e57600080fd5b50610359600480360381019061035491906139cd565b610c40565b005b34801561036757600080fd5b50610382600480360381019061037d9190613aa0565b610d58565b005b34801561039057600080fd5b50610399610dde565b6040516103a69190614b5c565b60405180910390f35b3480156103bb57600080fd5b506103c4610dea565b6040516103d191906147c9565b60405180910390f35b3480156103e657600080fd5b506103ef610dfd565b6040516103fc9190614b5c565b60405180910390f35b34801561041157600080fd5b5061042c600480360381019061042791906138c7565b610e02565b005b34801561043a57600080fd5b5061045560048036038101906104509190613b44565b610ea1565b005b34801561046357600080fd5b5061047e60048036038101906104799190613a4e565b610f37565b005b34801561048c57600080fd5b506104a760048036038101906104a29190613bd7565b610fd0565b6040516104b59291906147a0565b60405180910390f35b3480156104ca57600080fd5b506104d361103c565b6040516104e091906147e4565b60405180910390f35b3480156104f557600080fd5b506104fe611042565b60405161050b91906147ff565b60405180910390f35b34801561052057600080fd5b50610529611068565b005b34801561053757600080fd5b50610552600480360381019061054d91906138c7565b611133565b005b34801561056057600080fd5b50610569611153565b60405161057691906147e4565b60405180910390f35b34801561058b57600080fd5b506105a660048036038101906105a19190613a4e565b611159565b005b3480156105b457600080fd5b506105cf60048036038101906105ca9190613b1b565b6111f2565b005b3480156105dd57600080fd5b506105e661138d565b6040516105f39190614b5c565b60405180910390f35b34801561060857600080fd5b50610611611392565b60405161061e9190614b5c565b60405180910390f35b34801561063357600080fd5b5061064e60048036038101906106499190613862565b611397565b60405161065b9190614b5c565b60405180910390f35b34801561067057600080fd5b5061068b60048036038101906106869190613b44565b6113af565b005b34801561069957600080fd5b506106b460048036038101906106af9190613b85565b611445565b6040516106c19190614710565b60405180910390f35b3480156106d657600080fd5b506106f160048036038101906106ec9190613862565b6114f7565b6040516106fe9190614b5c565b60405180910390f35b34801561071357600080fd5b5061071c6115af565b604051610729919061481a565b60405180910390f35b34801561073e57600080fd5b50610747611641565b005b34801561075557600080fd5b5061075e6116c9565b60405161076b9190614b5c565b60405180910390f35b34801561078057600080fd5b506107896116d5565b6040516107969190614b5c565b60405180910390f35b3480156107ab57600080fd5b506107b46116e6565b6040516107c19190614710565b60405180910390f35b3480156107d657600080fd5b506107df611710565b6040516107ec919061481a565b60405180910390f35b34801561080157600080fd5b5061080a6117a2565b60405161081791906147c9565b60405180910390f35b61083a60048036038101906108359190613b85565b6117b5565b005b34801561084857600080fd5b50610863600480360381019061085e9190613991565b611a6a565b005b34801561087157600080fd5b5061088c60048036038101906108879190613aa0565b611a80565b005b6108a860048036038101906108a39190613c13565b611b06565b005b3480156108b657600080fd5b506108d160048036038101906108cc9190613a09565b611e9b565b005b3480156108df57600080fd5b506108fa60048036038101906108f59190613916565b61204e565b005b34801561090857600080fd5b506109116120ef565b60405161091e919061481a565b60405180910390f35b34801561093357600080fd5b5061094e60048036038101906109499190613862565b61217d565b005b34801561095c57600080fd5b5061097760048036038101906109729190613b85565b61223d565b604051610984919061481a565b60405180910390f35b34801561099957600080fd5b506109b460048036038101906109af9190613862565b6122b9565b6040516109c191906147c9565b60405180910390f35b3480156109d657600080fd5b506109df6122d9565b6040516109ec9190614b5c565b60405180910390f35b348015610a0157600080fd5b50610a0a6122df565b604051610a179190614b5c565b60405180910390f35b348015610a2c57600080fd5b50610a476004803603810190610a42919061388b565b6122e5565b604051610a5491906147c9565b60405180910390f35b348015610a6957600080fd5b50610a846004803603810190610a7f9190613b85565b612379565b005b348015610a9257600080fd5b50610aad6004803603810190610aa89190613862565b6124d9565b005b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610b225750610b21826125d1565b5b9050919050565b606060008054610b3890614e78565b80601f0160208091040260200160405190810160405280929190818152602001828054610b6490614e78565b8015610bb15780601f10610b8657610100808354040283529160200191610bb1565b820191906000526020600020905b815481529060010190602001808311610b9457829003601f168201915b5050505050905090565b6000610bc6826126b3565b610c05576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bfc906149fc565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610c4b82611445565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610cbc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cb390614a9c565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610cdb61271f565b73ffffffffffffffffffffffffffffffffffffffff161480610d0a5750610d0981610d0461271f565b6122e5565b5b610d49576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d409061493c565b60405180910390fd5b610d538383612727565b505050565b610d6061271f565b73ffffffffffffffffffffffffffffffffffffffff16610d7e6116e6565b73ffffffffffffffffffffffffffffffffffffffff1614610dd4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dcb90614a1c565b60405180910390fd5b8060118190555050565b67015c2a7b13fd000081565b600d60009054906101000a900460ff1681565b600281565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d230af3a84846040518363ffffffff1660e01b8152600401610e5f92919061472b565b600060405180830381600087803b158015610e7957600080fd5b505af1158015610e8d573d6000803e3d6000fd5b50505050610e9c8383836127e0565b505050565b610ea961271f565b73ffffffffffffffffffffffffffffffffffffffff16610ec76116e6565b73ffffffffffffffffffffffffffffffffffffffff1614610f1d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f1490614a1c565b60405180910390fd5b80600b9080519060200190610f339291906135d3565b5050565b610f3f61271f565b73ffffffffffffffffffffffffffffffffffffffff16610f5d6116e6565b73ffffffffffffffffffffffffffffffffffffffff1614610fb3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610faa90614a1c565b60405180910390fd5b80600d60006101000a81548160ff02191690831515021790555050565b600080610fdc846126b3565b61101b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110129061495c565b60405180910390fd5b3061103161102a856005612840565b6064612856565b915091509250929050565b60115481565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b61107061271f565b73ffffffffffffffffffffffffffffffffffffffff1661108e6116e6565b73ffffffffffffffffffffffffffffffffffffffff16146110e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110db90614a1c565b60405180910390fd5b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f1935050505015801561112f573d6000803e3d6000fd5b5050565b61114e8383836040518060200160405280600081525061204e565b505050565b600f5481565b61116161271f565b73ffffffffffffffffffffffffffffffffffffffff1661117f6116e6565b73ffffffffffffffffffffffffffffffffffffffff16146111d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111cc90614a1c565b60405180910390fd5b80601060006101000a81548160ff02191690831515021790555050565b6111fa61271f565b73ffffffffffffffffffffffffffffffffffffffff166112186116e6565b73ffffffffffffffffffffffffffffffffffffffff161461126e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161126590614a1c565b60405180910390fd5b60008173ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016112a99190614710565b60206040518083038186803b1580156112c157600080fd5b505afa1580156112d5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112f99190613bae565b90508173ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33836040518363ffffffff1660e01b81526004016113369291906147a0565b602060405180830381600087803b15801561135057600080fd5b505af1158015611364573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113889190613a77565b505050565b600181565b600181565b60126020528060005260406000206000915090505481565b6113b761271f565b73ffffffffffffffffffffffffffffffffffffffff166113d56116e6565b73ffffffffffffffffffffffffffffffffffffffff161461142b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161142290614a1c565b60405180910390fd5b80600a90805190602001906114419291906135d3565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156114ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114e59061499c565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611568576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161155f9061497c565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6060600a80546115be90614e78565b80601f01602080910402602001604051908101604052809291908181526020018280546115ea90614e78565b80156116375780601f1061160c57610100808354040283529160200191611637565b820191906000526020600020905b81548152906001019060200180831161161a57829003601f168201915b5050505050905090565b61164961271f565b73ffffffffffffffffffffffffffffffffffffffff166116676116e6565b73ffffffffffffffffffffffffffffffffffffffff16146116bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116b490614a1c565b60405180910390fd5b6116c7600061286c565b565b6701bc16d674ec800081565b60006116e16008612932565b905090565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606001805461171f90614e78565b80601f016020809104026020016040519081016040528092919081815260200182805461174b90614e78565b80156117985780601f1061176d57610100808354040283529160200191611798565b820191906000526020600020905b81548152906001019060200180831161177b57829003601f168201915b5050505050905090565b601060009054906101000a900460ff1681565b600260075414156117fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117f290614b1c565b60405180910390fd5b60026007819055506701bc16d674ec80008134818361181a9190614ce7565b1461185a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161185190614afc565b60405180910390fd5b600d60009054906101000a900460ff166118a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118a090614b3c565b60405180910390fd5b82600c54816118b86008612932565b6118c29190614c60565b1115611903576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118fa90614a3c565b60405180910390fd5b836001811115611948576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161193f906149bc565b60405180910390fd5b6000601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490506002868261199a9190614c60565b11156119db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119d290614abc565b60405180910390fd5b85816119e79190614c60565b601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555060005b86811015611a5957611a4633611a41612940565b61295b565b8080611a5190614eaa565b915050611a2d565b505050505050600160078190555050565b611a7c611a7561271f565b8383612979565b5050565b611a8861271f565b73ffffffffffffffffffffffffffffffffffffffff16611aa66116e6565b73ffffffffffffffffffffffffffffffffffffffff1614611afc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611af390614a1c565b60405180910390fd5b80600f8190555050565b60026007541415611b4c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b4390614b1c565b60405180910390fd5b6002600781905550601060009054906101000a900460ff16611ba3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b9a90614a7c565b60405180910390fd5b8260ff16600c5481611bb56008612932565b611bbf9190614c60565b1115611c00576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bf790614a3c565b60405180910390fd5b67015c2a7b13fd00008460ff16348183611c1a9190614ce7565b14611c5a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c5190614afc565b60405180910390fd5b8484600f54611cd1838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f820116905080830192505050505050508233604051602001611cb6919061469a565b60405160208183030381529060405280519060200120612ae6565b611d10576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d079061491c565b60405180910390fd5b6000601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905060018a60ff1682611d659190614c60565b1115611da6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d9d90614abc565b60405180910390fd5b600e548a60ff16611db76008612932565b611dc19190614c60565b1115611e02576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611df990614a3c565b60405180910390fd5b8960ff1681611e119190614c60565b601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555060005b8a60ff16811015611e8657611e7333611e6e612940565b61295b565b8080611e7e90614eaa565b915050611e57565b50505050505050506001600781905550505050565b8181601154611f12838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f820116905080830192505050505050508233604051602001611ef7919061469a565b60405160208183030381529060405280519060200120612ae6565b611f51576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f489061491c565b60405180910390fd5b601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615611fde576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fd59061485c565b60405180910390fd5b6001601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555061204733612042612940565b61295b565b5050505050565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d230af3a85856040518363ffffffff1660e01b81526004016120ab92919061472b565b600060405180830381600087803b1580156120c557600080fd5b505af11580156120d9573d6000803e3d6000fd5b505050506120e984848484612afd565b50505050565b600b80546120fc90614e78565b80601f016020809104026020016040519081016040528092919081815260200182805461212890614e78565b80156121755780601f1061214a57610100808354040283529160200191612175565b820191906000526020600020905b81548152906001019060200180831161215857829003601f168201915b505050505081565b61218561271f565b73ffffffffffffffffffffffffffffffffffffffff166121a36116e6565b73ffffffffffffffffffffffffffffffffffffffff16146121f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121f090614a1c565b60405180910390fd5b80600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6060612248826126b3565b612287576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161227e9061495c565b60405180910390fd5b600a61229283612b5f565b6040516020016122a39291906146e1565b6040516020818303038152906040529050919050565b60136020528060005260406000206000915054906101000a900460ff1681565b600e5481565b600c5481565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600260075414156123bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123b690614b1c565b60405180910390fd5b60026007819055506123cf61271f565b73ffffffffffffffffffffffffffffffffffffffff166123ed6116e6565b73ffffffffffffffffffffffffffffffffffffffff1614612443576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161243a90614a1c565b60405180910390fd5b80600c54816124526008612932565b61245c9190614c60565b111561249d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161249490614a3c565b60405180910390fd5b60005b828110156124cc576124b9336124b4612940565b61295b565b80806124c490614eaa565b9150506124a0565b5050600160078190555050565b6124e161271f565b73ffffffffffffffffffffffffffffffffffffffff166124ff6116e6565b73ffffffffffffffffffffffffffffffffffffffff1614612555576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161254c90614a1c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156125c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125bc9061487c565b60405180910390fd5b6125ce8161286c565b50565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061269c57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806126ac57506126ab82612d0c565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661279a83611445565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6127f16127eb61271f565b82612d76565b612830576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161282790614adc565b60405180910390fd5b61283b838383612e54565b505050565b6000818361284e9190614ce7565b905092915050565b600081836128649190614cb6565b905092915050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600081600001549050919050565b600061294c60086130b0565b6129566008612932565b905090565b6129758282604051806020016040528060008152506130c6565b5050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156129e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129df906148dc565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612ad991906147c9565b60405180910390a3505050565b600082612af38584613121565b1490509392505050565b612b0e612b0861271f565b83612d76565b612b4d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b4490614adc565b60405180910390fd5b612b59848484846131fa565b50505050565b60606000821415612ba7576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612d07565b600082905060005b60008214612bd9578080612bc290614eaa565b915050600a82612bd29190614cb6565b9150612baf565b60008167ffffffffffffffff811115612c1b577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612c4d5781602001600182028036833780820191505090505b5090505b60008514612d0057600182612c669190614d41565b9150600a85612c759190614f21565b6030612c819190614c60565b60f81b818381518110612cbd577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612cf99190614cb6565b9450612c51565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000612d81826126b3565b612dc0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612db7906148fc565b60405180910390fd5b6000612dcb83611445565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612e3a57508373ffffffffffffffffffffffffffffffffffffffff16612e2284610bbb565b73ffffffffffffffffffffffffffffffffffffffff16145b80612e4b5750612e4a81856122e5565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612e7482611445565b73ffffffffffffffffffffffffffffffffffffffff1614612eca576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ec190614a5c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612f3a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f31906148bc565b60405180910390fd5b612f45838383613256565b612f50600082612727565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612fa09190614d41565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612ff79190614c60565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6001816000016000828254019250508190555050565b6130d0838361325b565b6130dd6000848484613429565b61311c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131139061483c565b60405180910390fd5b505050565b60008082905060005b84518110156131ef57600085828151811061316e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015190508083116131af5782816040516020016131929291906146b5565b6040516020818303038152906040528051906020012092506131db565b80836040516020016131c29291906146b5565b6040516020818303038152906040528051906020012092505b5080806131e790614eaa565b91505061312a565b508091505092915050565b613205848484612e54565b61321184848484613429565b613250576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132479061483c565b60405180910390fd5b50505050565b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156132cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132c2906149dc565b60405180910390fd5b6132d4816126b3565b15613314576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161330b9061489c565b60405180910390fd5b61332060008383613256565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546133709190614c60565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600061344a8473ffffffffffffffffffffffffffffffffffffffff166135c0565b156135b3578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261347361271f565b8786866040518563ffffffff1660e01b81526004016134959493929190614754565b602060405180830381600087803b1580156134af57600080fd5b505af19250505080156134e057506040513d601f19601f820116820180604052508101906134dd9190613af2565b60015b613563573d8060008114613510576040519150601f19603f3d011682016040523d82523d6000602084013e613515565b606091505b5060008151141561355b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135529061483c565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506135b8565b600190505b949350505050565b600080823b905060008111915050919050565b8280546135df90614e78565b90600052602060002090601f0160209004810192826136015760008555613648565b82601f1061361a57805160ff1916838001178555613648565b82800160010185558215613648579182015b8281111561364757825182559160200191906001019061362c565b5b5090506136559190613659565b5090565b5b8082111561367257600081600090555060010161365a565b5090565b600061368961368484614ba8565b614b77565b9050828152602081018484840111156136a157600080fd5b6136ac848285614e36565b509392505050565b60006136c76136c284614bd8565b614b77565b9050828152602081018484840111156136df57600080fd5b6136ea848285614e36565b509392505050565b6000813590506137018161502c565b92915050565b60008083601f84011261371957600080fd5b8235905067ffffffffffffffff81111561373257600080fd5b60208301915083602082028301111561374a57600080fd5b9250929050565b60008135905061376081615043565b92915050565b60008151905061377581615043565b92915050565b60008135905061378a8161505a565b92915050565b60008135905061379f81615071565b92915050565b6000815190506137b481615071565b92915050565b600082601f8301126137cb57600080fd5b81356137db848260208601613676565b91505092915050565b6000813590506137f381615088565b92915050565b600082601f83011261380a57600080fd5b813561381a8482602086016136b4565b91505092915050565b6000813590506138328161509f565b92915050565b6000815190506138478161509f565b92915050565b60008135905061385c816150b6565b92915050565b60006020828403121561387457600080fd5b6000613882848285016136f2565b91505092915050565b6000806040838503121561389e57600080fd5b60006138ac858286016136f2565b92505060206138bd858286016136f2565b9150509250929050565b6000806000606084860312156138dc57600080fd5b60006138ea868287016136f2565b93505060206138fb868287016136f2565b925050604061390c86828701613823565b9150509250925092565b6000806000806080858703121561392c57600080fd5b600061393a878288016136f2565b945050602061394b878288016136f2565b935050604061395c87828801613823565b925050606085013567ffffffffffffffff81111561397957600080fd5b613985878288016137ba565b91505092959194509250565b600080604083850312156139a457600080fd5b60006139b2858286016136f2565b92505060206139c385828601613751565b9150509250929050565b600080604083850312156139e057600080fd5b60006139ee858286016136f2565b92505060206139ff85828601613823565b9150509250929050565b60008060208385031215613a1c57600080fd5b600083013567ffffffffffffffff811115613a3657600080fd5b613a4285828601613707565b92509250509250929050565b600060208284031215613a6057600080fd5b6000613a6e84828501613751565b91505092915050565b600060208284031215613a8957600080fd5b6000613a9784828501613766565b91505092915050565b600060208284031215613ab257600080fd5b6000613ac08482850161377b565b91505092915050565b600060208284031215613adb57600080fd5b6000613ae984828501613790565b91505092915050565b600060208284031215613b0457600080fd5b6000613b12848285016137a5565b91505092915050565b600060208284031215613b2d57600080fd5b6000613b3b848285016137e4565b91505092915050565b600060208284031215613b5657600080fd5b600082013567ffffffffffffffff811115613b7057600080fd5b613b7c848285016137f9565b91505092915050565b600060208284031215613b9757600080fd5b6000613ba584828501613823565b91505092915050565b600060208284031215613bc057600080fd5b6000613bce84828501613838565b91505092915050565b60008060408385031215613bea57600080fd5b6000613bf885828601613823565b9250506020613c0985828601613823565b9150509250929050565b600080600060408486031215613c2857600080fd5b6000613c368682870161384d565b935050602084013567ffffffffffffffff811115613c5357600080fd5b613c5f86828701613707565b92509250509250925092565b613c7481614d75565b82525050565b613c8b613c8682614d75565b614ef3565b82525050565b613c9a81614d87565b82525050565b613ca981614d93565b82525050565b613cc0613cbb82614d93565b614f05565b82525050565b6000613cd182614c1d565b613cdb8185614c33565b9350613ceb818560208601614e45565b613cf48161500e565b840191505092915050565b613d0881614e12565b82525050565b6000613d1982614c28565b613d238185614c44565b9350613d33818560208601614e45565b613d3c8161500e565b840191505092915050565b6000613d5282614c28565b613d5c8185614c55565b9350613d6c818560208601614e45565b80840191505092915050565b60008154613d8581614e78565b613d8f8186614c55565b94506001821660008114613daa5760018114613dbb57613dee565b60ff19831686528186019350613dee565b613dc485614c08565b60005b83811015613de657815481890152600182019150602081019050613dc7565b838801955050505b50505092915050565b6000613e04603283614c44565b91507f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008301527f63656976657220696d706c656d656e74657200000000000000000000000000006020830152604082019050919050565b6000613e6a602f83614c44565b91507f596f75206861766520616c726561647920636c61696d656420796f757220667260008301527f65652047656e65736973204b61742e00000000000000000000000000000000006020830152604082019050919050565b6000613ed0602683614c44565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613f36601c83614c44565b91507f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006000830152602082019050919050565b6000613f76602483614c44565b91507f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613fdc601983614c44565b91507f4552433732313a20617070726f766520746f2063616c6c6572000000000000006000830152602082019050919050565b600061401c602c83614c44565b91507f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b6000614082601e83614c44565b91507f4164647265737320646f6573206e6f7420657869737420696e206c69737400006000830152602082019050919050565b60006140c2603883614c44565b91507f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008301527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006020830152604082019050919050565b6000614128601183614c44565b91507f4e6f6e6578697374656e7420746f6b656e0000000000000000000000000000006000830152602082019050919050565b6000614168602a83614c44565b91507f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008301527f726f2061646472657373000000000000000000000000000000000000000000006020830152604082019050919050565b60006141ce602983614c44565b91507f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008301527f656e7420746f6b656e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000614234601983614c44565b91507f4d6178206b61747a20746f206d696e74206973207468726565000000000000006000830152602082019050919050565b6000614274602083614c44565b91507f4552433732313a206d696e7420746f20746865207a65726f20616464726573736000830152602082019050919050565b60006142b4602c83614c44565b91507f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b600061431a602083614c44565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b600061435a602183614c44565b91507f4e6f7420656e6f756768206b61747a2072656d61696e696e6720746f206d696e60008301527f74000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006143c0602983614c44565b91507f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008301527f73206e6f74206f776e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000614426601383614c44565b91507f50726573616c65206973206e6f74206f70656e000000000000000000000000006000830152602082019050919050565b6000614466602183614c44565b91507f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008301527f72000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006144cc602283614c44565b91507f4d6178206b61747a20746f206d696e7420696e2050726573616c65206973206f60008301527f6e650000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000614532603183614c44565b91507f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008301527f776e6572206e6f7220617070726f7665640000000000000000000000000000006020830152604082019050919050565b6000614598601883614c44565b91507f496e636f7272656374204554482076616c75652073656e7400000000000000006000830152602082019050919050565b60006145d8601f83614c44565b91507f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006000830152602082019050919050565b6000614618601783614c44565b91507f5075626c69632073616c65206973206e6f74206f70656e0000000000000000006000830152602082019050919050565b6000614658600183614c55565b91507f2f000000000000000000000000000000000000000000000000000000000000006000830152600182019050919050565b61469481614dfb565b82525050565b60006146a68284613c7a565b60148201915081905092915050565b60006146c18285613caf565b6020820191506146d18284613caf565b6020820191508190509392505050565b60006146ed8285613d78565b91506146f88261464b565b91506147048284613d47565b91508190509392505050565b60006020820190506147256000830184613c6b565b92915050565b60006040820190506147406000830185613c6b565b61474d6020830184613c6b565b9392505050565b60006080820190506147696000830187613c6b565b6147766020830186613c6b565b614783604083018561468b565b81810360608301526147958184613cc6565b905095945050505050565b60006040820190506147b56000830185613c6b565b6147c2602083018461468b565b9392505050565b60006020820190506147de6000830184613c91565b92915050565b60006020820190506147f96000830184613ca0565b92915050565b60006020820190506148146000830184613cff565b92915050565b600060208201905081810360008301526148348184613d0e565b905092915050565b6000602082019050818103600083015261485581613df7565b9050919050565b6000602082019050818103600083015261487581613e5d565b9050919050565b6000602082019050818103600083015261489581613ec3565b9050919050565b600060208201905081810360008301526148b581613f29565b9050919050565b600060208201905081810360008301526148d581613f69565b9050919050565b600060208201905081810360008301526148f581613fcf565b9050919050565b600060208201905081810360008301526149158161400f565b9050919050565b6000602082019050818103600083015261493581614075565b9050919050565b60006020820190508181036000830152614955816140b5565b9050919050565b600060208201905081810360008301526149758161411b565b9050919050565b600060208201905081810360008301526149958161415b565b9050919050565b600060208201905081810360008301526149b5816141c1565b9050919050565b600060208201905081810360008301526149d581614227565b9050919050565b600060208201905081810360008301526149f581614267565b9050919050565b60006020820190508181036000830152614a15816142a7565b9050919050565b60006020820190508181036000830152614a358161430d565b9050919050565b60006020820190508181036000830152614a558161434d565b9050919050565b60006020820190508181036000830152614a75816143b3565b9050919050565b60006020820190508181036000830152614a9581614419565b9050919050565b60006020820190508181036000830152614ab581614459565b9050919050565b60006020820190508181036000830152614ad5816144bf565b9050919050565b60006020820190508181036000830152614af581614525565b9050919050565b60006020820190508181036000830152614b158161458b565b9050919050565b60006020820190508181036000830152614b35816145cb565b9050919050565b60006020820190508181036000830152614b558161460b565b9050919050565b6000602082019050614b71600083018461468b565b92915050565b6000604051905081810181811067ffffffffffffffff82111715614b9e57614b9d614fdf565b5b8060405250919050565b600067ffffffffffffffff821115614bc357614bc2614fdf565b5b601f19601f8301169050602081019050919050565b600067ffffffffffffffff821115614bf357614bf2614fdf565b5b601f19601f8301169050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000614c6b82614dfb565b9150614c7683614dfb565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614cab57614caa614f52565b5b828201905092915050565b6000614cc182614dfb565b9150614ccc83614dfb565b925082614cdc57614cdb614f81565b5b828204905092915050565b6000614cf282614dfb565b9150614cfd83614dfb565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614d3657614d35614f52565b5b828202905092915050565b6000614d4c82614dfb565b9150614d5783614dfb565b925082821015614d6a57614d69614f52565b5b828203905092915050565b6000614d8082614ddb565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6000614dd482614d75565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b6000614e1d82614e24565b9050919050565b6000614e2f82614ddb565b9050919050565b82818337600083830152505050565b60005b83811015614e63578082015181840152602081019050614e48565b83811115614e72576000848401525b50505050565b60006002820490506001821680614e9057607f821691505b60208210811415614ea457614ea3614fb0565b5b50919050565b6000614eb582614dfb565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614ee857614ee7614f52565b5b600182019050919050565b6000614efe82614f0f565b9050919050565b6000819050919050565b6000614f1a8261501f565b9050919050565b6000614f2c82614dfb565b9150614f3783614dfb565b925082614f4757614f46614f81565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b61503581614d75565b811461504057600080fd5b50565b61504c81614d87565b811461505757600080fd5b50565b61506381614d93565b811461506e57600080fd5b50565b61507a81614d9d565b811461508557600080fd5b50565b61509181614dc9565b811461509c57600080fd5b50565b6150a881614dfb565b81146150b357600080fd5b50565b6150bf81614e05565b81146150ca57600080fd5b5056fea26469706673582212200aa86cc7db068aebf28e6ce64296445102c0f74ba17075486e11fb7835930d9564736f6c6343000800003300000000000000000000000000000000000000000000000000000000000003780000000000000000000000000000000000000000000000000000000000000378
Deployed Bytecode
0x6080604052600436106102885760003560e01c80636352211e1161015a578063a8b3a527116100c1578063c884ef831161007a578063c884ef831461098d578063d18b2efb146109ca578063e1589e83146109f5578063e985e9c514610a20578063f19e75d414610a5d578063f2fde38b14610a8657610288565b8063a8b3a5271461088e578063b391c508146108aa578063b88d4fde146108d3578063c0c36a37146108fc578063c15a146114610927578063c87b56dd1461095057610288565b80638da5cb5b116101135780638da5cb5b1461079f57806395d89b41146107ca5780639d044ed3146107f5578063a0712d6814610820578063a22cb4651461083c578063a643ed301461086557610288565b80636352211e1461068d57806370a08231146106ca578063714c539814610707578063715018a6146107325780637f205a741461074957806383c4c00d1461077457610288565b80632a55205a116101fe578063445f5756116101b7578063445f57561461057f57806349df728c146105a85780634b780f3c146105d157806351b96d92146105fc578063532778791461062757806355f804b31461066457610288565b80632a55205a14610480578063326f9ad3146104be5780633804a3b1146104e95780633ccfd60b1461051457806342842e0e1461052b578063438388451461055457610288565b8063193402bb11610250578063193402bb146103845780631e84c413146103af578063234e35d4146103da57806323b872dd1461040557806324f985e91461042e57806328cad13d1461045757610288565b806301ffc9a71461028d57806306fdde03146102ca578063081812fc146102f5578063095ea7b31461033257806315bdebe21461035b575b600080fd5b34801561029957600080fd5b506102b460048036038101906102af9190613ac9565b610aaf565b6040516102c191906147c9565b60405180910390f35b3480156102d657600080fd5b506102df610b29565b6040516102ec919061481a565b60405180910390f35b34801561030157600080fd5b5061031c60048036038101906103179190613b85565b610bbb565b6040516103299190614710565b60405180910390f35b34801561033e57600080fd5b50610359600480360381019061035491906139cd565b610c40565b005b34801561036757600080fd5b50610382600480360381019061037d9190613aa0565b610d58565b005b34801561039057600080fd5b50610399610dde565b6040516103a69190614b5c565b60405180910390f35b3480156103bb57600080fd5b506103c4610dea565b6040516103d191906147c9565b60405180910390f35b3480156103e657600080fd5b506103ef610dfd565b6040516103fc9190614b5c565b60405180910390f35b34801561041157600080fd5b5061042c600480360381019061042791906138c7565b610e02565b005b34801561043a57600080fd5b5061045560048036038101906104509190613b44565b610ea1565b005b34801561046357600080fd5b5061047e60048036038101906104799190613a4e565b610f37565b005b34801561048c57600080fd5b506104a760048036038101906104a29190613bd7565b610fd0565b6040516104b59291906147a0565b60405180910390f35b3480156104ca57600080fd5b506104d361103c565b6040516104e091906147e4565b60405180910390f35b3480156104f557600080fd5b506104fe611042565b60405161050b91906147ff565b60405180910390f35b34801561052057600080fd5b50610529611068565b005b34801561053757600080fd5b50610552600480360381019061054d91906138c7565b611133565b005b34801561056057600080fd5b50610569611153565b60405161057691906147e4565b60405180910390f35b34801561058b57600080fd5b506105a660048036038101906105a19190613a4e565b611159565b005b3480156105b457600080fd5b506105cf60048036038101906105ca9190613b1b565b6111f2565b005b3480156105dd57600080fd5b506105e661138d565b6040516105f39190614b5c565b60405180910390f35b34801561060857600080fd5b50610611611392565b60405161061e9190614b5c565b60405180910390f35b34801561063357600080fd5b5061064e60048036038101906106499190613862565b611397565b60405161065b9190614b5c565b60405180910390f35b34801561067057600080fd5b5061068b60048036038101906106869190613b44565b6113af565b005b34801561069957600080fd5b506106b460048036038101906106af9190613b85565b611445565b6040516106c19190614710565b60405180910390f35b3480156106d657600080fd5b506106f160048036038101906106ec9190613862565b6114f7565b6040516106fe9190614b5c565b60405180910390f35b34801561071357600080fd5b5061071c6115af565b604051610729919061481a565b60405180910390f35b34801561073e57600080fd5b50610747611641565b005b34801561075557600080fd5b5061075e6116c9565b60405161076b9190614b5c565b60405180910390f35b34801561078057600080fd5b506107896116d5565b6040516107969190614b5c565b60405180910390f35b3480156107ab57600080fd5b506107b46116e6565b6040516107c19190614710565b60405180910390f35b3480156107d657600080fd5b506107df611710565b6040516107ec919061481a565b60405180910390f35b34801561080157600080fd5b5061080a6117a2565b60405161081791906147c9565b60405180910390f35b61083a60048036038101906108359190613b85565b6117b5565b005b34801561084857600080fd5b50610863600480360381019061085e9190613991565b611a6a565b005b34801561087157600080fd5b5061088c60048036038101906108879190613aa0565b611a80565b005b6108a860048036038101906108a39190613c13565b611b06565b005b3480156108b657600080fd5b506108d160048036038101906108cc9190613a09565b611e9b565b005b3480156108df57600080fd5b506108fa60048036038101906108f59190613916565b61204e565b005b34801561090857600080fd5b506109116120ef565b60405161091e919061481a565b60405180910390f35b34801561093357600080fd5b5061094e60048036038101906109499190613862565b61217d565b005b34801561095c57600080fd5b5061097760048036038101906109729190613b85565b61223d565b604051610984919061481a565b60405180910390f35b34801561099957600080fd5b506109b460048036038101906109af9190613862565b6122b9565b6040516109c191906147c9565b60405180910390f35b3480156109d657600080fd5b506109df6122d9565b6040516109ec9190614b5c565b60405180910390f35b348015610a0157600080fd5b50610a0a6122df565b604051610a179190614b5c565b60405180910390f35b348015610a2c57600080fd5b50610a476004803603810190610a42919061388b565b6122e5565b604051610a5491906147c9565b60405180910390f35b348015610a6957600080fd5b50610a846004803603810190610a7f9190613b85565b612379565b005b348015610a9257600080fd5b50610aad6004803603810190610aa89190613862565b6124d9565b005b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610b225750610b21826125d1565b5b9050919050565b606060008054610b3890614e78565b80601f0160208091040260200160405190810160405280929190818152602001828054610b6490614e78565b8015610bb15780601f10610b8657610100808354040283529160200191610bb1565b820191906000526020600020905b815481529060010190602001808311610b9457829003601f168201915b5050505050905090565b6000610bc6826126b3565b610c05576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bfc906149fc565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610c4b82611445565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610cbc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cb390614a9c565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610cdb61271f565b73ffffffffffffffffffffffffffffffffffffffff161480610d0a5750610d0981610d0461271f565b6122e5565b5b610d49576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d409061493c565b60405180910390fd5b610d538383612727565b505050565b610d6061271f565b73ffffffffffffffffffffffffffffffffffffffff16610d7e6116e6565b73ffffffffffffffffffffffffffffffffffffffff1614610dd4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dcb90614a1c565b60405180910390fd5b8060118190555050565b67015c2a7b13fd000081565b600d60009054906101000a900460ff1681565b600281565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d230af3a84846040518363ffffffff1660e01b8152600401610e5f92919061472b565b600060405180830381600087803b158015610e7957600080fd5b505af1158015610e8d573d6000803e3d6000fd5b50505050610e9c8383836127e0565b505050565b610ea961271f565b73ffffffffffffffffffffffffffffffffffffffff16610ec76116e6565b73ffffffffffffffffffffffffffffffffffffffff1614610f1d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f1490614a1c565b60405180910390fd5b80600b9080519060200190610f339291906135d3565b5050565b610f3f61271f565b73ffffffffffffffffffffffffffffffffffffffff16610f5d6116e6565b73ffffffffffffffffffffffffffffffffffffffff1614610fb3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610faa90614a1c565b60405180910390fd5b80600d60006101000a81548160ff02191690831515021790555050565b600080610fdc846126b3565b61101b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110129061495c565b60405180910390fd5b3061103161102a856005612840565b6064612856565b915091509250929050565b60115481565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b61107061271f565b73ffffffffffffffffffffffffffffffffffffffff1661108e6116e6565b73ffffffffffffffffffffffffffffffffffffffff16146110e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110db90614a1c565b60405180910390fd5b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f1935050505015801561112f573d6000803e3d6000fd5b5050565b61114e8383836040518060200160405280600081525061204e565b505050565b600f5481565b61116161271f565b73ffffffffffffffffffffffffffffffffffffffff1661117f6116e6565b73ffffffffffffffffffffffffffffffffffffffff16146111d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111cc90614a1c565b60405180910390fd5b80601060006101000a81548160ff02191690831515021790555050565b6111fa61271f565b73ffffffffffffffffffffffffffffffffffffffff166112186116e6565b73ffffffffffffffffffffffffffffffffffffffff161461126e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161126590614a1c565b60405180910390fd5b60008173ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016112a99190614710565b60206040518083038186803b1580156112c157600080fd5b505afa1580156112d5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112f99190613bae565b90508173ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33836040518363ffffffff1660e01b81526004016113369291906147a0565b602060405180830381600087803b15801561135057600080fd5b505af1158015611364573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113889190613a77565b505050565b600181565b600181565b60126020528060005260406000206000915090505481565b6113b761271f565b73ffffffffffffffffffffffffffffffffffffffff166113d56116e6565b73ffffffffffffffffffffffffffffffffffffffff161461142b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161142290614a1c565b60405180910390fd5b80600a90805190602001906114419291906135d3565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156114ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114e59061499c565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611568576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161155f9061497c565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6060600a80546115be90614e78565b80601f01602080910402602001604051908101604052809291908181526020018280546115ea90614e78565b80156116375780601f1061160c57610100808354040283529160200191611637565b820191906000526020600020905b81548152906001019060200180831161161a57829003601f168201915b5050505050905090565b61164961271f565b73ffffffffffffffffffffffffffffffffffffffff166116676116e6565b73ffffffffffffffffffffffffffffffffffffffff16146116bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116b490614a1c565b60405180910390fd5b6116c7600061286c565b565b6701bc16d674ec800081565b60006116e16008612932565b905090565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606001805461171f90614e78565b80601f016020809104026020016040519081016040528092919081815260200182805461174b90614e78565b80156117985780601f1061176d57610100808354040283529160200191611798565b820191906000526020600020905b81548152906001019060200180831161177b57829003601f168201915b5050505050905090565b601060009054906101000a900460ff1681565b600260075414156117fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117f290614b1c565b60405180910390fd5b60026007819055506701bc16d674ec80008134818361181a9190614ce7565b1461185a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161185190614afc565b60405180910390fd5b600d60009054906101000a900460ff166118a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118a090614b3c565b60405180910390fd5b82600c54816118b86008612932565b6118c29190614c60565b1115611903576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118fa90614a3c565b60405180910390fd5b836001811115611948576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161193f906149bc565b60405180910390fd5b6000601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490506002868261199a9190614c60565b11156119db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119d290614abc565b60405180910390fd5b85816119e79190614c60565b601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555060005b86811015611a5957611a4633611a41612940565b61295b565b8080611a5190614eaa565b915050611a2d565b505050505050600160078190555050565b611a7c611a7561271f565b8383612979565b5050565b611a8861271f565b73ffffffffffffffffffffffffffffffffffffffff16611aa66116e6565b73ffffffffffffffffffffffffffffffffffffffff1614611afc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611af390614a1c565b60405180910390fd5b80600f8190555050565b60026007541415611b4c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b4390614b1c565b60405180910390fd5b6002600781905550601060009054906101000a900460ff16611ba3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b9a90614a7c565b60405180910390fd5b8260ff16600c5481611bb56008612932565b611bbf9190614c60565b1115611c00576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bf790614a3c565b60405180910390fd5b67015c2a7b13fd00008460ff16348183611c1a9190614ce7565b14611c5a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c5190614afc565b60405180910390fd5b8484600f54611cd1838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f820116905080830192505050505050508233604051602001611cb6919061469a565b60405160208183030381529060405280519060200120612ae6565b611d10576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d079061491c565b60405180910390fd5b6000601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905060018a60ff1682611d659190614c60565b1115611da6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d9d90614abc565b60405180910390fd5b600e548a60ff16611db76008612932565b611dc19190614c60565b1115611e02576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611df990614a3c565b60405180910390fd5b8960ff1681611e119190614c60565b601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555060005b8a60ff16811015611e8657611e7333611e6e612940565b61295b565b8080611e7e90614eaa565b915050611e57565b50505050505050506001600781905550505050565b8181601154611f12838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f820116905080830192505050505050508233604051602001611ef7919061469a565b60405160208183030381529060405280519060200120612ae6565b611f51576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f489061491c565b60405180910390fd5b601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615611fde576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fd59061485c565b60405180910390fd5b6001601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555061204733612042612940565b61295b565b5050505050565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d230af3a85856040518363ffffffff1660e01b81526004016120ab92919061472b565b600060405180830381600087803b1580156120c557600080fd5b505af11580156120d9573d6000803e3d6000fd5b505050506120e984848484612afd565b50505050565b600b80546120fc90614e78565b80601f016020809104026020016040519081016040528092919081815260200182805461212890614e78565b80156121755780601f1061214a57610100808354040283529160200191612175565b820191906000526020600020905b81548152906001019060200180831161215857829003601f168201915b505050505081565b61218561271f565b73ffffffffffffffffffffffffffffffffffffffff166121a36116e6565b73ffffffffffffffffffffffffffffffffffffffff16146121f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121f090614a1c565b60405180910390fd5b80600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6060612248826126b3565b612287576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161227e9061495c565b60405180910390fd5b600a61229283612b5f565b6040516020016122a39291906146e1565b6040516020818303038152906040529050919050565b60136020528060005260406000206000915054906101000a900460ff1681565b600e5481565b600c5481565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600260075414156123bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123b690614b1c565b60405180910390fd5b60026007819055506123cf61271f565b73ffffffffffffffffffffffffffffffffffffffff166123ed6116e6565b73ffffffffffffffffffffffffffffffffffffffff1614612443576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161243a90614a1c565b60405180910390fd5b80600c54816124526008612932565b61245c9190614c60565b111561249d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161249490614a3c565b60405180910390fd5b60005b828110156124cc576124b9336124b4612940565b61295b565b80806124c490614eaa565b9150506124a0565b5050600160078190555050565b6124e161271f565b73ffffffffffffffffffffffffffffffffffffffff166124ff6116e6565b73ffffffffffffffffffffffffffffffffffffffff1614612555576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161254c90614a1c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156125c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125bc9061487c565b60405180910390fd5b6125ce8161286c565b50565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061269c57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806126ac57506126ab82612d0c565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661279a83611445565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6127f16127eb61271f565b82612d76565b612830576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161282790614adc565b60405180910390fd5b61283b838383612e54565b505050565b6000818361284e9190614ce7565b905092915050565b600081836128649190614cb6565b905092915050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600081600001549050919050565b600061294c60086130b0565b6129566008612932565b905090565b6129758282604051806020016040528060008152506130c6565b5050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156129e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129df906148dc565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612ad991906147c9565b60405180910390a3505050565b600082612af38584613121565b1490509392505050565b612b0e612b0861271f565b83612d76565b612b4d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b4490614adc565b60405180910390fd5b612b59848484846131fa565b50505050565b60606000821415612ba7576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612d07565b600082905060005b60008214612bd9578080612bc290614eaa565b915050600a82612bd29190614cb6565b9150612baf565b60008167ffffffffffffffff811115612c1b577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612c4d5781602001600182028036833780820191505090505b5090505b60008514612d0057600182612c669190614d41565b9150600a85612c759190614f21565b6030612c819190614c60565b60f81b818381518110612cbd577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612cf99190614cb6565b9450612c51565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000612d81826126b3565b612dc0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612db7906148fc565b60405180910390fd5b6000612dcb83611445565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612e3a57508373ffffffffffffffffffffffffffffffffffffffff16612e2284610bbb565b73ffffffffffffffffffffffffffffffffffffffff16145b80612e4b5750612e4a81856122e5565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612e7482611445565b73ffffffffffffffffffffffffffffffffffffffff1614612eca576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ec190614a5c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612f3a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f31906148bc565b60405180910390fd5b612f45838383613256565b612f50600082612727565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612fa09190614d41565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612ff79190614c60565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6001816000016000828254019250508190555050565b6130d0838361325b565b6130dd6000848484613429565b61311c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131139061483c565b60405180910390fd5b505050565b60008082905060005b84518110156131ef57600085828151811061316e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015190508083116131af5782816040516020016131929291906146b5565b6040516020818303038152906040528051906020012092506131db565b80836040516020016131c29291906146b5565b6040516020818303038152906040528051906020012092505b5080806131e790614eaa565b91505061312a565b508091505092915050565b613205848484612e54565b61321184848484613429565b613250576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132479061483c565b60405180910390fd5b50505050565b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156132cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132c2906149dc565b60405180910390fd5b6132d4816126b3565b15613314576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161330b9061489c565b60405180910390fd5b61332060008383613256565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546133709190614c60565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600061344a8473ffffffffffffffffffffffffffffffffffffffff166135c0565b156135b3578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261347361271f565b8786866040518563ffffffff1660e01b81526004016134959493929190614754565b602060405180830381600087803b1580156134af57600080fd5b505af19250505080156134e057506040513d601f19601f820116820180604052508101906134dd9190613af2565b60015b613563573d8060008114613510576040519150601f19603f3d011682016040523d82523d6000602084013e613515565b606091505b5060008151141561355b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135529061483c565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506135b8565b600190505b949350505050565b600080823b905060008111915050919050565b8280546135df90614e78565b90600052602060002090601f0160209004810192826136015760008555613648565b82601f1061361a57805160ff1916838001178555613648565b82800160010185558215613648579182015b8281111561364757825182559160200191906001019061362c565b5b5090506136559190613659565b5090565b5b8082111561367257600081600090555060010161365a565b5090565b600061368961368484614ba8565b614b77565b9050828152602081018484840111156136a157600080fd5b6136ac848285614e36565b509392505050565b60006136c76136c284614bd8565b614b77565b9050828152602081018484840111156136df57600080fd5b6136ea848285614e36565b509392505050565b6000813590506137018161502c565b92915050565b60008083601f84011261371957600080fd5b8235905067ffffffffffffffff81111561373257600080fd5b60208301915083602082028301111561374a57600080fd5b9250929050565b60008135905061376081615043565b92915050565b60008151905061377581615043565b92915050565b60008135905061378a8161505a565b92915050565b60008135905061379f81615071565b92915050565b6000815190506137b481615071565b92915050565b600082601f8301126137cb57600080fd5b81356137db848260208601613676565b91505092915050565b6000813590506137f381615088565b92915050565b600082601f83011261380a57600080fd5b813561381a8482602086016136b4565b91505092915050565b6000813590506138328161509f565b92915050565b6000815190506138478161509f565b92915050565b60008135905061385c816150b6565b92915050565b60006020828403121561387457600080fd5b6000613882848285016136f2565b91505092915050565b6000806040838503121561389e57600080fd5b60006138ac858286016136f2565b92505060206138bd858286016136f2565b9150509250929050565b6000806000606084860312156138dc57600080fd5b60006138ea868287016136f2565b93505060206138fb868287016136f2565b925050604061390c86828701613823565b9150509250925092565b6000806000806080858703121561392c57600080fd5b600061393a878288016136f2565b945050602061394b878288016136f2565b935050604061395c87828801613823565b925050606085013567ffffffffffffffff81111561397957600080fd5b613985878288016137ba565b91505092959194509250565b600080604083850312156139a457600080fd5b60006139b2858286016136f2565b92505060206139c385828601613751565b9150509250929050565b600080604083850312156139e057600080fd5b60006139ee858286016136f2565b92505060206139ff85828601613823565b9150509250929050565b60008060208385031215613a1c57600080fd5b600083013567ffffffffffffffff811115613a3657600080fd5b613a4285828601613707565b92509250509250929050565b600060208284031215613a6057600080fd5b6000613a6e84828501613751565b91505092915050565b600060208284031215613a8957600080fd5b6000613a9784828501613766565b91505092915050565b600060208284031215613ab257600080fd5b6000613ac08482850161377b565b91505092915050565b600060208284031215613adb57600080fd5b6000613ae984828501613790565b91505092915050565b600060208284031215613b0457600080fd5b6000613b12848285016137a5565b91505092915050565b600060208284031215613b2d57600080fd5b6000613b3b848285016137e4565b91505092915050565b600060208284031215613b5657600080fd5b600082013567ffffffffffffffff811115613b7057600080fd5b613b7c848285016137f9565b91505092915050565b600060208284031215613b9757600080fd5b6000613ba584828501613823565b91505092915050565b600060208284031215613bc057600080fd5b6000613bce84828501613838565b91505092915050565b60008060408385031215613bea57600080fd5b6000613bf885828601613823565b9250506020613c0985828601613823565b9150509250929050565b600080600060408486031215613c2857600080fd5b6000613c368682870161384d565b935050602084013567ffffffffffffffff811115613c5357600080fd5b613c5f86828701613707565b92509250509250925092565b613c7481614d75565b82525050565b613c8b613c8682614d75565b614ef3565b82525050565b613c9a81614d87565b82525050565b613ca981614d93565b82525050565b613cc0613cbb82614d93565b614f05565b82525050565b6000613cd182614c1d565b613cdb8185614c33565b9350613ceb818560208601614e45565b613cf48161500e565b840191505092915050565b613d0881614e12565b82525050565b6000613d1982614c28565b613d238185614c44565b9350613d33818560208601614e45565b613d3c8161500e565b840191505092915050565b6000613d5282614c28565b613d5c8185614c55565b9350613d6c818560208601614e45565b80840191505092915050565b60008154613d8581614e78565b613d8f8186614c55565b94506001821660008114613daa5760018114613dbb57613dee565b60ff19831686528186019350613dee565b613dc485614c08565b60005b83811015613de657815481890152600182019150602081019050613dc7565b838801955050505b50505092915050565b6000613e04603283614c44565b91507f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008301527f63656976657220696d706c656d656e74657200000000000000000000000000006020830152604082019050919050565b6000613e6a602f83614c44565b91507f596f75206861766520616c726561647920636c61696d656420796f757220667260008301527f65652047656e65736973204b61742e00000000000000000000000000000000006020830152604082019050919050565b6000613ed0602683614c44565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613f36601c83614c44565b91507f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006000830152602082019050919050565b6000613f76602483614c44565b91507f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613fdc601983614c44565b91507f4552433732313a20617070726f766520746f2063616c6c6572000000000000006000830152602082019050919050565b600061401c602c83614c44565b91507f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b6000614082601e83614c44565b91507f4164647265737320646f6573206e6f7420657869737420696e206c69737400006000830152602082019050919050565b60006140c2603883614c44565b91507f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008301527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006020830152604082019050919050565b6000614128601183614c44565b91507f4e6f6e6578697374656e7420746f6b656e0000000000000000000000000000006000830152602082019050919050565b6000614168602a83614c44565b91507f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008301527f726f2061646472657373000000000000000000000000000000000000000000006020830152604082019050919050565b60006141ce602983614c44565b91507f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008301527f656e7420746f6b656e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000614234601983614c44565b91507f4d6178206b61747a20746f206d696e74206973207468726565000000000000006000830152602082019050919050565b6000614274602083614c44565b91507f4552433732313a206d696e7420746f20746865207a65726f20616464726573736000830152602082019050919050565b60006142b4602c83614c44565b91507f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b600061431a602083614c44565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b600061435a602183614c44565b91507f4e6f7420656e6f756768206b61747a2072656d61696e696e6720746f206d696e60008301527f74000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006143c0602983614c44565b91507f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008301527f73206e6f74206f776e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000614426601383614c44565b91507f50726573616c65206973206e6f74206f70656e000000000000000000000000006000830152602082019050919050565b6000614466602183614c44565b91507f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008301527f72000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006144cc602283614c44565b91507f4d6178206b61747a20746f206d696e7420696e2050726573616c65206973206f60008301527f6e650000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000614532603183614c44565b91507f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008301527f776e6572206e6f7220617070726f7665640000000000000000000000000000006020830152604082019050919050565b6000614598601883614c44565b91507f496e636f7272656374204554482076616c75652073656e7400000000000000006000830152602082019050919050565b60006145d8601f83614c44565b91507f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006000830152602082019050919050565b6000614618601783614c44565b91507f5075626c69632073616c65206973206e6f74206f70656e0000000000000000006000830152602082019050919050565b6000614658600183614c55565b91507f2f000000000000000000000000000000000000000000000000000000000000006000830152600182019050919050565b61469481614dfb565b82525050565b60006146a68284613c7a565b60148201915081905092915050565b60006146c18285613caf565b6020820191506146d18284613caf565b6020820191508190509392505050565b60006146ed8285613d78565b91506146f88261464b565b91506147048284613d47565b91508190509392505050565b60006020820190506147256000830184613c6b565b92915050565b60006040820190506147406000830185613c6b565b61474d6020830184613c6b565b9392505050565b60006080820190506147696000830187613c6b565b6147766020830186613c6b565b614783604083018561468b565b81810360608301526147958184613cc6565b905095945050505050565b60006040820190506147b56000830185613c6b565b6147c2602083018461468b565b9392505050565b60006020820190506147de6000830184613c91565b92915050565b60006020820190506147f96000830184613ca0565b92915050565b60006020820190506148146000830184613cff565b92915050565b600060208201905081810360008301526148348184613d0e565b905092915050565b6000602082019050818103600083015261485581613df7565b9050919050565b6000602082019050818103600083015261487581613e5d565b9050919050565b6000602082019050818103600083015261489581613ec3565b9050919050565b600060208201905081810360008301526148b581613f29565b9050919050565b600060208201905081810360008301526148d581613f69565b9050919050565b600060208201905081810360008301526148f581613fcf565b9050919050565b600060208201905081810360008301526149158161400f565b9050919050565b6000602082019050818103600083015261493581614075565b9050919050565b60006020820190508181036000830152614955816140b5565b9050919050565b600060208201905081810360008301526149758161411b565b9050919050565b600060208201905081810360008301526149958161415b565b9050919050565b600060208201905081810360008301526149b5816141c1565b9050919050565b600060208201905081810360008301526149d581614227565b9050919050565b600060208201905081810360008301526149f581614267565b9050919050565b60006020820190508181036000830152614a15816142a7565b9050919050565b60006020820190508181036000830152614a358161430d565b9050919050565b60006020820190508181036000830152614a558161434d565b9050919050565b60006020820190508181036000830152614a75816143b3565b9050919050565b60006020820190508181036000830152614a9581614419565b9050919050565b60006020820190508181036000830152614ab581614459565b9050919050565b60006020820190508181036000830152614ad5816144bf565b9050919050565b60006020820190508181036000830152614af581614525565b9050919050565b60006020820190508181036000830152614b158161458b565b9050919050565b60006020820190508181036000830152614b35816145cb565b9050919050565b60006020820190508181036000830152614b558161460b565b9050919050565b6000602082019050614b71600083018461468b565b92915050565b6000604051905081810181811067ffffffffffffffff82111715614b9e57614b9d614fdf565b5b8060405250919050565b600067ffffffffffffffff821115614bc357614bc2614fdf565b5b601f19601f8301169050602081019050919050565b600067ffffffffffffffff821115614bf357614bf2614fdf565b5b601f19601f8301169050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000614c6b82614dfb565b9150614c7683614dfb565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614cab57614caa614f52565b5b828201905092915050565b6000614cc182614dfb565b9150614ccc83614dfb565b925082614cdc57614cdb614f81565b5b828204905092915050565b6000614cf282614dfb565b9150614cfd83614dfb565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614d3657614d35614f52565b5b828202905092915050565b6000614d4c82614dfb565b9150614d5783614dfb565b925082821015614d6a57614d69614f52565b5b828203905092915050565b6000614d8082614ddb565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6000614dd482614d75565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b6000614e1d82614e24565b9050919050565b6000614e2f82614ddb565b9050919050565b82818337600083830152505050565b60005b83811015614e63578082015181840152602081019050614e48565b83811115614e72576000848401525b50505050565b60006002820490506001821680614e9057607f821691505b60208210811415614ea457614ea3614fb0565b5b50919050565b6000614eb582614dfb565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614ee857614ee7614f52565b5b600182019050919050565b6000614efe82614f0f565b9050919050565b6000819050919050565b6000614f1a8261501f565b9050919050565b6000614f2c82614dfb565b9150614f3783614dfb565b925082614f4757614f46614f81565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b61503581614d75565b811461504057600080fd5b50565b61504c81614d87565b811461505757600080fd5b50565b61506381614d93565b811461506e57600080fd5b50565b61507a81614d9d565b811461508557600080fd5b50565b61509181614dc9565b811461509c57600080fd5b50565b6150a881614dfb565b81146150b357600080fd5b50565b6150bf81614e05565b81146150ca57600080fd5b5056fea26469706673582212200aa86cc7db068aebf28e6ce64296445102c0f74ba17075486e11fb7835930d9564736f6c63430008000033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000003780000000000000000000000000000000000000000000000000000000000000378
-----Decoded View---------------
Arg [0] : _maxKatz (uint256): 888
Arg [1] : _maxPreSaleKatz (uint256): 888
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000378
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000378
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.