Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
0 KOODLE
Holders
52
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
3 KOODLELoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Source Code Verified (Exact Match)
Contract Name:
KoodleKats
Compiler Version
v0.8.9+commit.e5eed63a
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
//SPDX-License-Identifier: MIT pragma solidity ^0.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 ILooks { function transferFrom(address sender, address recipient, uint256 amount) external returns (bool); } interface IRMilk { function mint(address _to, uint _amount) external; } contract KoodleKats is ERC721, IERC2981, Ownable, ReentrancyGuard { using Counters for Counters.Counter; using Strings for uint256; Counters.Counter private tokenCounter; string private baseURI; string public verificationHash; address private openSeaProxyRegistryAddress; bool private isOpenSeaProxyActive = true; uint256 public constant MAX_KOODLE_PRESALE = 3; uint256 public maxKoodles; uint256 public constant SALE_PRICE = 0.04 ether; bool public isPublicSaleActive; uint256 public constant LOOK_SALE_PRICE = 30 ether; uint256 public maxCommunitySaleKoodles; bytes32 public communitySaleMerkleRoot; bool public isCommunitySaleActive; address public koodleAddress; ILooks public looks; IRMilk public rMilk; uint256 public rMilkAllowance = 5 ether; mapping(address => uint256) public communityMintCounts; // ============ ACCESS CONTROL/SANITY MODIFIERS ============ modifier publicSaleActive() { require(isPublicSaleActive, "Public sale is not open"); _; } modifier communitySaleActive() { require(isCommunitySaleActive, "Community sale is not open"); _; } modifier canMintKoodles(uint256 numberOfTokens) { require( tokenCounter.current() + numberOfTokens <= maxKoodles, "Not enough koodles 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" ); _; } constructor( address _openSeaProxyRegistryAddress, uint256 _maxKoodles, uint256 _maxCommunitySaleKoodles ) ERC721("Koodle Kats", "KOODLE") { openSeaProxyRegistryAddress = _openSeaProxyRegistryAddress; maxKoodles = _maxKoodles; maxCommunitySaleKoodles = _maxCommunitySaleKoodles; } // ============ PUBLIC FUNCTIONS FOR MINTING ============ function mint(uint256 numberOfTokens) external payable nonReentrant isCorrectPayment(SALE_PRICE, numberOfTokens) canMintKoodles(numberOfTokens) { for (uint256 i = 0; i < numberOfTokens; i++) { _safeMint(msg.sender, nextTokenId()); } mintRMilk(numberOfTokens*rMilkAllowance); } function mintLooks(uint256 numberOfTokens) external nonReentrant canMintKoodles(numberOfTokens) { payLooks(numberOfTokens * LOOK_SALE_PRICE); for (uint256 i = 0; i < numberOfTokens; i++) { _safeMint(msg.sender, nextTokenId()); } mintRMilk(numberOfTokens*rMilkAllowance); } function mintCommunitySale( uint8 numberOfTokens, bytes32[] calldata merkleProof ) external payable nonReentrant communitySaleActive canMintKoodles(numberOfTokens) isCorrectPayment(SALE_PRICE, numberOfTokens) isValidMerkleProof(merkleProof, communitySaleMerkleRoot) { uint256 numAlreadyMinted = communityMintCounts[msg.sender]; require( numAlreadyMinted + numberOfTokens <= MAX_KOODLE_PRESALE, "Max koodles to mint in community sale is three" ); require( tokenCounter.current() + numberOfTokens <= maxCommunitySaleKoodles, "Not enough koodles remaining to mint" ); communityMintCounts[msg.sender] = numAlreadyMinted + numberOfTokens; for (uint256 i = 0; i < numberOfTokens; i++) { _safeMint(msg.sender, nextTokenId()); } mintRMilk(numberOfTokens*rMilkAllowance); } function mintCommunitySaleLooks( uint8 numberOfTokens, bytes32[] calldata merkleProof ) external nonReentrant communitySaleActive canMintKoodles(numberOfTokens) isValidMerkleProof(merkleProof, communitySaleMerkleRoot) { uint256 numAlreadyMinted = communityMintCounts[msg.sender]; require( numAlreadyMinted + numberOfTokens <= MAX_KOODLE_PRESALE, "Max koodles to mint in community sale is three" ); require( tokenCounter.current() + numberOfTokens <= maxCommunitySaleKoodles, "Not enough koodles remaining to mint" ); uint256 lPrice = numberOfTokens * LOOK_SALE_PRICE; payLooks(lPrice); communityMintCounts[msg.sender] = numAlreadyMinted + numberOfTokens; for (uint256 i = 0; i < numberOfTokens; i++) { _safeMint(msg.sender, nextTokenId()); } mintRMilk(numberOfTokens*rMilkAllowance); } // ============ PUBLIC READ-ONLY FUNCTIONS ============ function getBaseURI() external view returns (string memory) { return baseURI; } function getLastTokenId() external view returns (uint256) { return tokenCounter.current(); } // ============ OWNER-ONLY ADMIN FUNCTIONS ============ function setBaseURI(string memory _baseURI) external onlyOwner { baseURI = _baseURI; } // function to disable gasless listings for security in case // opensea ever shuts down or is compromised function setIsOpenSeaProxyActive(bool _isOpenSeaProxyActive) external onlyOwner { isOpenSeaProxyActive = _isOpenSeaProxyActive; } function setVerificationHash(string memory _verificationHash) external onlyOwner { verificationHash = _verificationHash; } function setIsPublicSaleActive(bool _isPublicSaleActive) external onlyOwner { isPublicSaleActive = _isPublicSaleActive; } function setIsCommunitySaleActive(bool _isCommunitySaleActive) external onlyOwner { isCommunitySaleActive = _isCommunitySaleActive; } function setCommunityListMerkleRoot(bytes32 merkleRoot) external onlyOwner { communitySaleMerkleRoot = merkleRoot; } function setLooks(address _looks) external onlyOwner { looks = ILooks(_looks); } function setKoodleAddress(address _koodle) external onlyOwner { koodleAddress = _koodle; } function setRMilk(address _rmilk) external onlyOwner { rMilk = IRMilk(_rmilk); } function withdraw() public onlyOwner { uint256 balance = address(this).balance; payable(msg.sender).transfer(balance); } function withdrawTokens(IERC20 token) public onlyOwner { uint256 balance = token.balanceOf(address(this)); token.transfer(msg.sender, balance); } // ============ SUPPORTING FUNCTIONS ============ function nextTokenId() private returns (uint256) { tokenCounter.increment(); return tokenCounter.current(); } function mintRMilk(uint256 mintAllowance) internal{ rMilk.mint(msg.sender, mintAllowance); } function payLooks(uint256 looksPrice) internal{ looks.transferFrom(msg.sender, koodleAddress, looksPrice); } // ============ FUNCTION OVERRIDES ============ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC721, IERC165) returns (bool) { return interfaceId == type(IERC2981).interfaceId || super.supportsInterface(interfaceId); } /** * @dev Override isApprovedForAll to allowlist user's OpenSea proxy accounts to enable gas-less listings. */ function isApprovedForAll(address owner, address operator) public view override returns (bool) { // Get a reference to OpenSea's proxy registry contract by instantiating // the contract using the already existing address. ProxyRegistry proxyRegistry = ProxyRegistry( openSeaProxyRegistryAddress ); if ( isOpenSeaProxyActive && address(proxyRegistry.proxies(owner)) == operator ) { return true; } return super.isApprovedForAll(owner, operator); } /** * @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(), ".json")); } /** * @dev See {IERC165-royaltyInfo}. */ 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)); } } // These contract definitions are used to create a reference to the OpenSea // ProxyRegistry contract by using the registry's address (see isApprovedForAll). contract OwnableDelegateProxy { } contract ProxyRegistry { mapping(address => OwnableDelegateProxy) public proxies; }
// 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":"address","name":"_openSeaProxyRegistryAddress","type":"address"},{"internalType":"uint256","name":"_maxKoodles","type":"uint256"},{"internalType":"uint256","name":"_maxCommunitySaleKoodles","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":"LOOK_SALE_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_KOODLE_PRESALE","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":[{"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":"address","name":"","type":"address"}],"name":"communityMintCounts","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"communitySaleMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"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":"isCommunitySaleActive","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":"koodleAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"looks","outputs":[{"internalType":"contract ILooks","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxCommunitySaleKoodles","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxKoodles","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":"uint8","name":"numberOfTokens","type":"uint8"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"mintCommunitySale","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint8","name":"numberOfTokens","type":"uint8"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"mintCommunitySaleLooks","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"mintLooks","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rMilk","outputs":[{"internalType":"contract IRMilk","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rMilkAllowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"setCommunityListMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_isCommunitySaleActive","type":"bool"}],"name":"setIsCommunitySaleActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_isOpenSeaProxyActive","type":"bool"}],"name":"setIsOpenSeaProxyActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_isPublicSaleActive","type":"bool"}],"name":"setIsPublicSaleActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_koodle","type":"address"}],"name":"setKoodleAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_looks","type":"address"}],"name":"setLooks","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_rmilk","type":"address"}],"name":"setRMilk","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
60806040526001600b60146101000a81548160ff021916908315150217905550674563918244f400006013553480156200003857600080fd5b50604051620059ed380380620059ed83398181016040528101906200005e9190620003a1565b6040518060400160405280600b81526020017f4b6f6f646c65204b6174730000000000000000000000000000000000000000008152506040518060400160405280600681526020017f4b4f4f444c4500000000000000000000000000000000000000000000000000008152508160009080519060200190620000e29291906200024c565b508060019080519060200190620000fb9291906200024c565b5050506200011e620001126200017e60201b60201c565b6200018660201b60201c565b600160078190555082600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081600c8190555080600e8190555050505062000462565b600033905090565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200025a906200042c565b90600052602060002090601f0160209004810192826200027e5760008555620002ca565b82601f106200029957805160ff1916838001178555620002ca565b82800160010185558215620002ca579182015b82811115620002c9578251825591602001919060010190620002ac565b5b509050620002d99190620002dd565b5090565b5b80821115620002f8576000816000905550600101620002de565b5090565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006200032e8262000301565b9050919050565b620003408162000321565b81146200034c57600080fd5b50565b600081519050620003608162000335565b92915050565b6000819050919050565b6200037b8162000366565b81146200038757600080fd5b50565b6000815190506200039b8162000370565b92915050565b600080600060608486031215620003bd57620003bc620002fc565b5b6000620003cd868287016200034f565b9350506020620003e0868287016200038a565b9250506040620003f3868287016200038a565b9150509250925092565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200044557607f821691505b602082108114156200045c576200045b620003fd565b5b50919050565b61557b80620004726000396000f3fe6080604052600436106102935760003560e01c8063715018a61161015a578063ae6c00bb116100c1578063e10c605f1161007a578063e10c605f146109c3578063e43082f7146109ec578063e985e9c514610a15578063eb4883ab14610a52578063f2fde38b14610a7d578063f4b94b5714610aa657610293565b8063ae6c00bb146108b3578063b88d4fde146108dc578063c0c36a3714610905578063c87b56dd14610930578063da919ae61461096d578063dd75be081461099857610293565b80638e4f8692116101135780638e4f8692146107d157806395d89b41146107ed5780639eb0097414610818578063a0712d6814610843578063a22cb4651461085f578063a2f543fa1461088857610293565b8063715018a6146106e35780637b0e8b19146106fa5780637f205a741461072557806383c4c00d14610750578063878e54c31461077b5780638da5cb5b146107a657610293565b80632c2c76bd116101fe5780634e0ea0b2116101b75780634e0ea0b2146105c157806355f804b3146105ec578063568e33ae146106155780636352211e1461063e57806370a082311461067b578063714c5398146106b857610293565b80632c2c76bd146104c757806337cacb11146104f25780633ccfd60b1461052f57806342842e0e14610546578063439fcf431461056f57806349df728c1461059857610293565b806319aeb2a71161025057806319aeb2a7146103b85780631e84c413146103e357806323b872dd1461040e57806324f985e91461043757806328cad13d146104605780632a55205a1461048957610293565b806301ffc9a71461029857806306fdde03146102d5578063081812fc14610300578063095ea7b31461033d5780630d3cf1f2146103665780630f590f781461038f575b600080fd5b3480156102a457600080fd5b506102bf60048036038101906102ba91906139b9565b610acf565b6040516102cc9190613a01565b60405180910390f35b3480156102e157600080fd5b506102ea610b49565b6040516102f79190613ab5565b60405180910390f35b34801561030c57600080fd5b5061032760048036038101906103229190613b0d565b610bdb565b6040516103349190613b7b565b60405180910390f35b34801561034957600080fd5b50610364600480360381019061035f9190613bc2565b610c60565b005b34801561037257600080fd5b5061038d60048036038101906103889190613c2e565b610d78565b005b34801561039b57600080fd5b506103b660048036038101906103b19190613c5b565b610e11565b005b3480156103c457600080fd5b506103cd610ed1565b6040516103da9190613c97565b60405180910390f35b3480156103ef57600080fd5b506103f8610ed7565b6040516104059190613a01565b60405180910390f35b34801561041a57600080fd5b5061043560048036038101906104309190613cb2565b610eea565b005b34801561044357600080fd5b5061045e60048036038101906104599190613e3a565b610f4a565b005b34801561046c57600080fd5b5061048760048036038101906104829190613c2e565b610fe0565b005b34801561049557600080fd5b506104b060048036038101906104ab9190613e83565b611079565b6040516104be929190613ec3565b60405180910390f35b3480156104d357600080fd5b506104dc6110e5565b6040516104e99190613c97565b60405180910390f35b3480156104fe57600080fd5b5061051960048036038101906105149190613c5b565b6110ea565b6040516105269190613c97565b60405180910390f35b34801561053b57600080fd5b50610544611102565b005b34801561055257600080fd5b5061056d60048036038101906105689190613cb2565b6111cd565b005b34801561057b57600080fd5b5061059660048036038101906105919190613f85565b6111ed565b005b3480156105a457600080fd5b506105bf60048036038101906105ba9190614023565b611565565b005b3480156105cd57600080fd5b506105d6611700565b6040516105e391906140af565b60405180910390f35b3480156105f857600080fd5b50610613600480360381019061060e9190613e3a565b611726565b005b34801561062157600080fd5b5061063c60048036038101906106379190613c5b565b6117bc565b005b34801561064a57600080fd5b5061066560048036038101906106609190613b0d565b61187c565b6040516106729190613b7b565b60405180910390f35b34801561068757600080fd5b506106a2600480360381019061069d9190613c5b565b61192e565b6040516106af9190613c97565b60405180910390f35b3480156106c457600080fd5b506106cd6119e6565b6040516106da9190613ab5565b60405180910390f35b3480156106ef57600080fd5b506106f8611a78565b005b34801561070657600080fd5b5061070f611b00565b60405161071c9190613b7b565b60405180910390f35b34801561073157600080fd5b5061073a611b26565b6040516107479190613c97565b60405180910390f35b34801561075c57600080fd5b50610765611b31565b6040516107729190613c97565b60405180910390f35b34801561078757600080fd5b50610790611b42565b60405161079d91906140eb565b60405180910390f35b3480156107b257600080fd5b506107bb611b68565b6040516107c89190613b7b565b60405180910390f35b6107eb60048036038101906107e69190613f85565b611b92565b005b3480156107f957600080fd5b50610802611f3f565b60405161080f9190613ab5565b60405180910390f35b34801561082457600080fd5b5061082d611fd1565b60405161083a919061411f565b60405180910390f35b61085d60048036038101906108589190613b0d565b611fd7565b005b34801561086b57600080fd5b506108866004803603810190610881919061413a565b612129565b005b34801561089457600080fd5b5061089d61213f565b6040516108aa9190613c97565b60405180910390f35b3480156108bf57600080fd5b506108da60048036038101906108d59190613b0d565b61214c565b005b3480156108e857600080fd5b5061090360048036038101906108fe919061421b565b612263565b005b34801561091157600080fd5b5061091a6122c5565b6040516109279190613ab5565b60405180910390f35b34801561093c57600080fd5b5061095760048036038101906109529190613b0d565b612353565b6040516109649190613ab5565b60405180910390f35b34801561097957600080fd5b506109826123cf565b60405161098f9190613c97565b60405180910390f35b3480156109a457600080fd5b506109ad6123d5565b6040516109ba9190613c97565b60405180910390f35b3480156109cf57600080fd5b506109ea60048036038101906109e591906142ca565b6123db565b005b3480156109f857600080fd5b50610a136004803603810190610a0e9190613c2e565b612461565b005b348015610a2157600080fd5b50610a3c6004803603810190610a3791906142f7565b6124fa565b604051610a499190613a01565b60405180910390f35b348015610a5e57600080fd5b50610a67612614565b604051610a749190613a01565b60405180910390f35b348015610a8957600080fd5b50610aa46004803603810190610a9f9190613c5b565b612627565b005b348015610ab257600080fd5b50610acd6004803603810190610ac89190613c5b565b61271f565b005b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610b425750610b41826127df565b5b9050919050565b606060008054610b5890614366565b80601f0160208091040260200160405190810160405280929190818152602001828054610b8490614366565b8015610bd15780601f10610ba657610100808354040283529160200191610bd1565b820191906000526020600020905b815481529060010190602001808311610bb457829003601f168201915b5050505050905090565b6000610be6826128c1565b610c25576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c1c9061440a565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610c6b8261187c565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610cdc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cd39061449c565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610cfb61292d565b73ffffffffffffffffffffffffffffffffffffffff161480610d2a5750610d2981610d2461292d565b6124fa565b5b610d69576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d609061452e565b60405180910390fd5b610d738383612935565b505050565b610d8061292d565b73ffffffffffffffffffffffffffffffffffffffff16610d9e611b68565b73ffffffffffffffffffffffffffffffffffffffff1614610df4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610deb9061459a565b60405180910390fd5b80601060006101000a81548160ff02191690831515021790555050565b610e1961292d565b73ffffffffffffffffffffffffffffffffffffffff16610e37611b68565b73ffffffffffffffffffffffffffffffffffffffff1614610e8d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e849061459a565b60405180910390fd5b80601060016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600c5481565b600d60009054906101000a900460ff1681565b610efb610ef561292d565b826129ee565b610f3a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f319061462c565b60405180910390fd5b610f45838383612acc565b505050565b610f5261292d565b73ffffffffffffffffffffffffffffffffffffffff16610f70611b68565b73ffffffffffffffffffffffffffffffffffffffff1614610fc6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fbd9061459a565b60405180910390fd5b80600a9080519060200190610fdc9291906138aa565b5050565b610fe861292d565b73ffffffffffffffffffffffffffffffffffffffff16611006611b68565b73ffffffffffffffffffffffffffffffffffffffff161461105c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110539061459a565b60405180910390fd5b80600d60006101000a81548160ff02191690831515021790555050565b600080611085846128c1565b6110c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110bb90614698565b60405180910390fd5b306110da6110d3856005612d28565b6064612d3e565b915091509250929050565b600381565b60146020528060005260406000206000915090505481565b61110a61292d565b73ffffffffffffffffffffffffffffffffffffffff16611128611b68565b73ffffffffffffffffffffffffffffffffffffffff161461117e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111759061459a565b60405180910390fd5b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f193505050501580156111c9573d6000803e3d6000fd5b5050565b6111e883838360405180602001604052806000815250612263565b505050565b60026007541415611233576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161122a90614704565b60405180910390fd5b6002600781905550601060009054906101000a900460ff1661128a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161128190614770565b60405180910390fd5b8260ff16600c548161129c6008612d54565b6112a691906147bf565b11156112e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112de90614887565b60405180910390fd5b8282600f5461135e838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050823360405160200161134391906148ef565b60405160208183030381529060405280519060200120612d62565b61139d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161139490614956565b60405180910390fd5b6000601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905060038860ff16826113f291906147bf565b1115611433576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161142a906149e8565b60405180910390fd5b600e548860ff166114446008612d54565b61144e91906147bf565b111561148f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161148690614887565b60405180910390fd5b60006801a055690d9db800008960ff166114a99190614a08565b90506114b481612d79565b8860ff16826114c391906147bf565b601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555060005b8960ff168110156115385761152533611520612e50565b612e6b565b808061153090614a62565b915050611509565b506115526013548a60ff1661154d9190614a08565b612e89565b5050505050506001600781905550505050565b61156d61292d565b73ffffffffffffffffffffffffffffffffffffffff1661158b611b68565b73ffffffffffffffffffffffffffffffffffffffff16146115e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115d89061459a565b60405180910390fd5b60008173ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b815260040161161c9190613b7b565b60206040518083038186803b15801561163457600080fd5b505afa158015611648573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061166c9190614ac0565b90508173ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33836040518363ffffffff1660e01b81526004016116a9929190613ec3565b602060405180830381600087803b1580156116c357600080fd5b505af11580156116d7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116fb9190614b02565b505050565b601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b61172e61292d565b73ffffffffffffffffffffffffffffffffffffffff1661174c611b68565b73ffffffffffffffffffffffffffffffffffffffff16146117a2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117999061459a565b60405180910390fd5b80600990805190602001906117b89291906138aa565b5050565b6117c461292d565b73ffffffffffffffffffffffffffffffffffffffff166117e2611b68565b73ffffffffffffffffffffffffffffffffffffffff1614611838576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161182f9061459a565b60405180910390fd5b80601160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611925576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161191c90614ba1565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561199f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161199690614c33565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6060600980546119f590614366565b80601f0160208091040260200160405190810160405280929190818152602001828054611a2190614366565b8015611a6e5780601f10611a4357610100808354040283529160200191611a6e565b820191906000526020600020905b815481529060010190602001808311611a5157829003601f168201915b5050505050905090565b611a8061292d565b73ffffffffffffffffffffffffffffffffffffffff16611a9e611b68565b73ffffffffffffffffffffffffffffffffffffffff1614611af4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aeb9061459a565b60405180910390fd5b611afe6000612f1b565b565b601060019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b668e1bc9bf04000081565b6000611b3d6008612d54565b905090565b601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60026007541415611bd8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bcf90614704565b60405180910390fd5b6002600781905550601060009054906101000a900460ff16611c2f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c2690614770565b60405180910390fd5b8260ff16600c5481611c416008612d54565b611c4b91906147bf565b1115611c8c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c8390614887565b60405180910390fd5b668e1bc9bf0400008460ff16348183611ca59190614a08565b14611ce5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cdc90614c9f565b60405180910390fd5b8484600f54611d5c838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f820116905080830192505050505050508233604051602001611d4191906148ef565b60405160208183030381529060405280519060200120612d62565b611d9b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d9290614956565b60405180910390fd5b6000601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905060038a60ff1682611df091906147bf565b1115611e31576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e28906149e8565b60405180910390fd5b600e548a60ff16611e426008612d54565b611e4c91906147bf565b1115611e8d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e8490614887565b60405180910390fd5b8960ff1681611e9c91906147bf565b601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555060005b8a60ff16811015611f1157611efe33611ef9612e50565b612e6b565b8080611f0990614a62565b915050611ee2565b50611f2b6013548b60ff16611f269190614a08565b612e89565b505050505050506001600781905550505050565b606060018054611f4e90614366565b80601f0160208091040260200160405190810160405280929190818152602001828054611f7a90614366565b8015611fc75780601f10611f9c57610100808354040283529160200191611fc7565b820191906000526020600020905b815481529060010190602001808311611faa57829003601f168201915b5050505050905090565b600f5481565b6002600754141561201d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161201490614704565b60405180910390fd5b6002600781905550668e1bc9bf0400008134818361203b9190614a08565b1461207b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161207290614c9f565b60405180910390fd5b82600c548161208a6008612d54565b61209491906147bf565b11156120d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120cc90614887565b60405180910390fd5b60005b84811015612104576120f1336120ec612e50565b612e6b565b80806120fc90614a62565b9150506120d8565b5061211b601354856121169190614a08565b612e89565b505050600160078190555050565b61213b61213461292d565b8383612fe1565b5050565b6801a055690d9db8000081565b60026007541415612192576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161218990614704565b60405180910390fd5b600260078190555080600c54816121a96008612d54565b6121b391906147bf565b11156121f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121eb90614887565b60405180910390fd5b6122116801a055690d9db800008361220c9190614a08565b612d79565b60005b828110156122405761222d33612228612e50565b612e6b565b808061223890614a62565b915050612214565b50612257601354836122529190614a08565b612e89565b50600160078190555050565b61227461226e61292d565b836129ee565b6122b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122aa9061462c565b60405180910390fd5b6122bf8484848461314e565b50505050565b600a80546122d290614366565b80601f01602080910402602001604051908101604052809291908181526020018280546122fe90614366565b801561234b5780601f106123205761010080835404028352916020019161234b565b820191906000526020600020905b81548152906001019060200180831161232e57829003601f168201915b505050505081565b606061235e826128c1565b61239d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161239490614698565b60405180910390fd5b60096123a8836131aa565b6040516020016123b9929190614e27565b6040516020818303038152906040529050919050565b60135481565b600e5481565b6123e361292d565b73ffffffffffffffffffffffffffffffffffffffff16612401611b68565b73ffffffffffffffffffffffffffffffffffffffff1614612457576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161244e9061459a565b60405180910390fd5b80600f8190555050565b61246961292d565b73ffffffffffffffffffffffffffffffffffffffff16612487611b68565b73ffffffffffffffffffffffffffffffffffffffff16146124dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124d49061459a565b60405180910390fd5b80600b60146101000a81548160ff02191690831515021790555050565b600080600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600b60149054906101000a900460ff1680156125f157508273ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1663c4552791866040518263ffffffff1660e01b81526004016125899190613b7b565b60206040518083038186803b1580156125a157600080fd5b505afa1580156125b5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125d99190614e9f565b73ffffffffffffffffffffffffffffffffffffffff16145b1561260057600191505061260e565b61260a848461330b565b9150505b92915050565b601060009054906101000a900460ff1681565b61262f61292d565b73ffffffffffffffffffffffffffffffffffffffff1661264d611b68565b73ffffffffffffffffffffffffffffffffffffffff16146126a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161269a9061459a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612713576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161270a90614f3e565b60405180910390fd5b61271c81612f1b565b50565b61272761292d565b73ffffffffffffffffffffffffffffffffffffffff16612745611b68565b73ffffffffffffffffffffffffffffffffffffffff161461279b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127929061459a565b60405180910390fd5b80601260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806128aa57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806128ba57506128b98261339f565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166129a88361187c565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006129f9826128c1565b612a38576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a2f90614fd0565b60405180910390fd5b6000612a438361187c565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612ab257508373ffffffffffffffffffffffffffffffffffffffff16612a9a84610bdb565b73ffffffffffffffffffffffffffffffffffffffff16145b80612ac35750612ac281856124fa565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612aec8261187c565b73ffffffffffffffffffffffffffffffffffffffff1614612b42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b3990615062565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612bb2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ba9906150f4565b60405180910390fd5b612bbd838383613409565b612bc8600082612935565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612c189190615114565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612c6f91906147bf565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b60008183612d369190614a08565b905092915050565b60008183612d4c9190615177565b905092915050565b600081600001549050919050565b600082612d6f858461340e565b1490509392505050565b601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd33601060019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16846040518463ffffffff1660e01b8152600401612dfa939291906151a8565b602060405180830381600087803b158015612e1457600080fd5b505af1158015612e28573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e4c9190614b02565b5050565b6000612e5c60086134c1565b612e666008612d54565b905090565b612e858282604051806020016040528060008152506134d7565b5050565b601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166340c10f1933836040518363ffffffff1660e01b8152600401612ee6929190613ec3565b600060405180830381600087803b158015612f0057600080fd5b505af1158015612f14573d6000803e3d6000fd5b5050505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415613050576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130479061522b565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516131419190613a01565b60405180910390a3505050565b613159848484612acc565b61316584848484613532565b6131a4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161319b906152bd565b60405180910390fd5b50505050565b606060008214156131f2576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613306565b600082905060005b6000821461322457808061320d90614a62565b915050600a8261321d9190615177565b91506131fa565b60008167ffffffffffffffff8111156132405761323f613d0f565b5b6040519080825280601f01601f1916602001820160405280156132725781602001600182028036833780820191505090505b5090505b600085146132ff5760018261328b9190615114565b9150600a8561329a91906152dd565b60306132a691906147bf565b60f81b8183815181106132bc576132bb61530e565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856132f89190615177565b9450613276565b8093505050505b919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b505050565b60008082905060005b84518110156134b65760008582815181106134355761343461530e565b5b6020026020010151905080831161347657828160405160200161345992919061535e565b6040516020818303038152906040528051906020012092506134a2565b808360405160200161348992919061535e565b6040516020818303038152906040528051906020012092505b5080806134ae90614a62565b915050613417565b508091505092915050565b6001816000016000828254019250508190555050565b6134e183836136c9565b6134ee6000848484613532565b61352d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613524906152bd565b60405180910390fd5b505050565b60006135538473ffffffffffffffffffffffffffffffffffffffff16613897565b156136bc578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261357c61292d565b8786866040518563ffffffff1660e01b815260040161359e94939291906153df565b602060405180830381600087803b1580156135b857600080fd5b505af19250505080156135e957506040513d601f19601f820116820180604052508101906135e69190615440565b60015b61366c573d8060008114613619576040519150601f19603f3d011682016040523d82523d6000602084013e61361e565b606091505b50600081511415613664576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161365b906152bd565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506136c1565b600190505b949350505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613739576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613730906154b9565b60405180910390fd5b613742816128c1565b15613782576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161377990615525565b60405180910390fd5b61378e60008383613409565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546137de91906147bf565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b8280546138b690614366565b90600052602060002090601f0160209004810192826138d8576000855561391f565b82601f106138f157805160ff191683800117855561391f565b8280016001018555821561391f579182015b8281111561391e578251825591602001919060010190613903565b5b50905061392c9190613930565b5090565b5b80821115613949576000816000905550600101613931565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61399681613961565b81146139a157600080fd5b50565b6000813590506139b38161398d565b92915050565b6000602082840312156139cf576139ce613957565b5b60006139dd848285016139a4565b91505092915050565b60008115159050919050565b6139fb816139e6565b82525050565b6000602082019050613a1660008301846139f2565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613a56578082015181840152602081019050613a3b565b83811115613a65576000848401525b50505050565b6000601f19601f8301169050919050565b6000613a8782613a1c565b613a918185613a27565b9350613aa1818560208601613a38565b613aaa81613a6b565b840191505092915050565b60006020820190508181036000830152613acf8184613a7c565b905092915050565b6000819050919050565b613aea81613ad7565b8114613af557600080fd5b50565b600081359050613b0781613ae1565b92915050565b600060208284031215613b2357613b22613957565b5b6000613b3184828501613af8565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613b6582613b3a565b9050919050565b613b7581613b5a565b82525050565b6000602082019050613b906000830184613b6c565b92915050565b613b9f81613b5a565b8114613baa57600080fd5b50565b600081359050613bbc81613b96565b92915050565b60008060408385031215613bd957613bd8613957565b5b6000613be785828601613bad565b9250506020613bf885828601613af8565b9150509250929050565b613c0b816139e6565b8114613c1657600080fd5b50565b600081359050613c2881613c02565b92915050565b600060208284031215613c4457613c43613957565b5b6000613c5284828501613c19565b91505092915050565b600060208284031215613c7157613c70613957565b5b6000613c7f84828501613bad565b91505092915050565b613c9181613ad7565b82525050565b6000602082019050613cac6000830184613c88565b92915050565b600080600060608486031215613ccb57613cca613957565b5b6000613cd986828701613bad565b9350506020613cea86828701613bad565b9250506040613cfb86828701613af8565b9150509250925092565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613d4782613a6b565b810181811067ffffffffffffffff82111715613d6657613d65613d0f565b5b80604052505050565b6000613d7961394d565b9050613d858282613d3e565b919050565b600067ffffffffffffffff821115613da557613da4613d0f565b5b613dae82613a6b565b9050602081019050919050565b82818337600083830152505050565b6000613ddd613dd884613d8a565b613d6f565b905082815260208101848484011115613df957613df8613d0a565b5b613e04848285613dbb565b509392505050565b600082601f830112613e2157613e20613d05565b5b8135613e31848260208601613dca565b91505092915050565b600060208284031215613e5057613e4f613957565b5b600082013567ffffffffffffffff811115613e6e57613e6d61395c565b5b613e7a84828501613e0c565b91505092915050565b60008060408385031215613e9a57613e99613957565b5b6000613ea885828601613af8565b9250506020613eb985828601613af8565b9150509250929050565b6000604082019050613ed86000830185613b6c565b613ee56020830184613c88565b9392505050565b600060ff82169050919050565b613f0281613eec565b8114613f0d57600080fd5b50565b600081359050613f1f81613ef9565b92915050565b600080fd5b600080fd5b60008083601f840112613f4557613f44613d05565b5b8235905067ffffffffffffffff811115613f6257613f61613f25565b5b602083019150836020820283011115613f7e57613f7d613f2a565b5b9250929050565b600080600060408486031215613f9e57613f9d613957565b5b6000613fac86828701613f10565b935050602084013567ffffffffffffffff811115613fcd57613fcc61395c565b5b613fd986828701613f2f565b92509250509250925092565b6000613ff082613b5a565b9050919050565b61400081613fe5565b811461400b57600080fd5b50565b60008135905061401d81613ff7565b92915050565b60006020828403121561403957614038613957565b5b60006140478482850161400e565b91505092915050565b6000819050919050565b600061407561407061406b84613b3a565b614050565b613b3a565b9050919050565b60006140878261405a565b9050919050565b60006140998261407c565b9050919050565b6140a98161408e565b82525050565b60006020820190506140c460008301846140a0565b92915050565b60006140d58261407c565b9050919050565b6140e5816140ca565b82525050565b600060208201905061410060008301846140dc565b92915050565b6000819050919050565b61411981614106565b82525050565b60006020820190506141346000830184614110565b92915050565b6000806040838503121561415157614150613957565b5b600061415f85828601613bad565b925050602061417085828601613c19565b9150509250929050565b600067ffffffffffffffff82111561419557614194613d0f565b5b61419e82613a6b565b9050602081019050919050565b60006141be6141b98461417a565b613d6f565b9050828152602081018484840111156141da576141d9613d0a565b5b6141e5848285613dbb565b509392505050565b600082601f83011261420257614201613d05565b5b81356142128482602086016141ab565b91505092915050565b6000806000806080858703121561423557614234613957565b5b600061424387828801613bad565b945050602061425487828801613bad565b935050604061426587828801613af8565b925050606085013567ffffffffffffffff8111156142865761428561395c565b5b614292878288016141ed565b91505092959194509250565b6142a781614106565b81146142b257600080fd5b50565b6000813590506142c48161429e565b92915050565b6000602082840312156142e0576142df613957565b5b60006142ee848285016142b5565b91505092915050565b6000806040838503121561430e5761430d613957565b5b600061431c85828601613bad565b925050602061432d85828601613bad565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061437e57607f821691505b6020821081141561439257614391614337565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b60006143f4602c83613a27565b91506143ff82614398565b604082019050919050565b60006020820190508181036000830152614423816143e7565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000614486602183613a27565b91506144918261442a565b604082019050919050565b600060208201905081810360008301526144b581614479565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b6000614518603883613a27565b9150614523826144bc565b604082019050919050565b600060208201905081810360008301526145478161450b565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614584602083613a27565b915061458f8261454e565b602082019050919050565b600060208201905081810360008301526145b381614577565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b6000614616603183613a27565b9150614621826145ba565b604082019050919050565b6000602082019050818103600083015261464581614609565b9050919050565b7f4e6f6e6578697374656e7420746f6b656e000000000000000000000000000000600082015250565b6000614682601183613a27565b915061468d8261464c565b602082019050919050565b600060208201905081810360008301526146b181614675565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b60006146ee601f83613a27565b91506146f9826146b8565b602082019050919050565b6000602082019050818103600083015261471d816146e1565b9050919050565b7f436f6d6d756e6974792073616c65206973206e6f74206f70656e000000000000600082015250565b600061475a601a83613a27565b915061476582614724565b602082019050919050565b600060208201905081810360008301526147898161474d565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006147ca82613ad7565b91506147d583613ad7565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561480a57614809614790565b5b828201905092915050565b7f4e6f7420656e6f756768206b6f6f646c65732072656d61696e696e6720746f2060008201527f6d696e7400000000000000000000000000000000000000000000000000000000602082015250565b6000614871602483613a27565b915061487c82614815565b604082019050919050565b600060208201905081810360008301526148a081614864565b9050919050565b60008160601b9050919050565b60006148bf826148a7565b9050919050565b60006148d1826148b4565b9050919050565b6148e96148e482613b5a565b6148c6565b82525050565b60006148fb82846148d8565b60148201915081905092915050565b7f4164647265737320646f6573206e6f7420657869737420696e206c6973740000600082015250565b6000614940601e83613a27565b915061494b8261490a565b602082019050919050565b6000602082019050818103600083015261496f81614933565b9050919050565b7f4d6178206b6f6f646c657320746f206d696e7420696e20636f6d6d756e69747960008201527f2073616c65206973207468726565000000000000000000000000000000000000602082015250565b60006149d2602e83613a27565b91506149dd82614976565b604082019050919050565b60006020820190508181036000830152614a01816149c5565b9050919050565b6000614a1382613ad7565b9150614a1e83613ad7565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614a5757614a56614790565b5b828202905092915050565b6000614a6d82613ad7565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614aa057614a9f614790565b5b600182019050919050565b600081519050614aba81613ae1565b92915050565b600060208284031215614ad657614ad5613957565b5b6000614ae484828501614aab565b91505092915050565b600081519050614afc81613c02565b92915050565b600060208284031215614b1857614b17613957565b5b6000614b2684828501614aed565b91505092915050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b6000614b8b602983613a27565b9150614b9682614b2f565b604082019050919050565b60006020820190508181036000830152614bba81614b7e565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b6000614c1d602a83613a27565b9150614c2882614bc1565b604082019050919050565b60006020820190508181036000830152614c4c81614c10565b9050919050565b7f496e636f7272656374204554482076616c75652073656e740000000000000000600082015250565b6000614c89601883613a27565b9150614c9482614c53565b602082019050919050565b60006020820190508181036000830152614cb881614c7c565b9050919050565b600081905092915050565b60008190508160005260206000209050919050565b60008154614cec81614366565b614cf68186614cbf565b94506001821660008114614d115760018114614d2257614d55565b60ff19831686528186019350614d55565b614d2b85614cca565b60005b83811015614d4d57815481890152600182019150602081019050614d2e565b838801955050505b50505092915050565b7f2f00000000000000000000000000000000000000000000000000000000000000600082015250565b6000614d94600183614cbf565b9150614d9f82614d5e565b600182019050919050565b6000614db582613a1c565b614dbf8185614cbf565b9350614dcf818560208601613a38565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b6000614e11600583614cbf565b9150614e1c82614ddb565b600582019050919050565b6000614e338285614cdf565b9150614e3e82614d87565b9150614e4a8284614daa565b9150614e5582614e04565b91508190509392505050565b6000614e6c82613b5a565b9050919050565b614e7c81614e61565b8114614e8757600080fd5b50565b600081519050614e9981614e73565b92915050565b600060208284031215614eb557614eb4613957565b5b6000614ec384828501614e8a565b91505092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614f28602683613a27565b9150614f3382614ecc565b604082019050919050565b60006020820190508181036000830152614f5781614f1b565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000614fba602c83613a27565b9150614fc582614f5e565b604082019050919050565b60006020820190508181036000830152614fe981614fad565b9050919050565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b600061504c602983613a27565b915061505782614ff0565b604082019050919050565b6000602082019050818103600083015261507b8161503f565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006150de602483613a27565b91506150e982615082565b604082019050919050565b6000602082019050818103600083015261510d816150d1565b9050919050565b600061511f82613ad7565b915061512a83613ad7565b92508282101561513d5761513c614790565b5b828203905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061518282613ad7565b915061518d83613ad7565b92508261519d5761519c615148565b5b828204905092915050565b60006060820190506151bd6000830186613b6c565b6151ca6020830185613b6c565b6151d76040830184613c88565b949350505050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000615215601983613a27565b9150615220826151df565b602082019050919050565b6000602082019050818103600083015261524481615208565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b60006152a7603283613a27565b91506152b28261524b565b604082019050919050565b600060208201905081810360008301526152d68161529a565b9050919050565b60006152e882613ad7565b91506152f383613ad7565b92508261530357615302615148565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000819050919050565b61535861535382614106565b61533d565b82525050565b600061536a8285615347565b60208201915061537a8284615347565b6020820191508190509392505050565b600081519050919050565b600082825260208201905092915050565b60006153b18261538a565b6153bb8185615395565b93506153cb818560208601613a38565b6153d481613a6b565b840191505092915050565b60006080820190506153f46000830187613b6c565b6154016020830186613b6c565b61540e6040830185613c88565b818103606083015261542081846153a6565b905095945050505050565b60008151905061543a8161398d565b92915050565b60006020828403121561545657615455613957565b5b60006154648482850161542b565b91505092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b60006154a3602083613a27565b91506154ae8261546d565b602082019050919050565b600060208201905081810360008301526154d281615496565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b600061550f601c83613a27565b915061551a826154d9565b602082019050919050565b6000602082019050818103600083015261553e81615502565b905091905056fea2646970667358221220737f766f4fa96eeb42ae78658aa1fc9b2de695c1a3d4bde389630355d204eb0064736f6c63430008090033000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c100000000000000000000000000000000000000000000000000000000000027100000000000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106102935760003560e01c8063715018a61161015a578063ae6c00bb116100c1578063e10c605f1161007a578063e10c605f146109c3578063e43082f7146109ec578063e985e9c514610a15578063eb4883ab14610a52578063f2fde38b14610a7d578063f4b94b5714610aa657610293565b8063ae6c00bb146108b3578063b88d4fde146108dc578063c0c36a3714610905578063c87b56dd14610930578063da919ae61461096d578063dd75be081461099857610293565b80638e4f8692116101135780638e4f8692146107d157806395d89b41146107ed5780639eb0097414610818578063a0712d6814610843578063a22cb4651461085f578063a2f543fa1461088857610293565b8063715018a6146106e35780637b0e8b19146106fa5780637f205a741461072557806383c4c00d14610750578063878e54c31461077b5780638da5cb5b146107a657610293565b80632c2c76bd116101fe5780634e0ea0b2116101b75780634e0ea0b2146105c157806355f804b3146105ec578063568e33ae146106155780636352211e1461063e57806370a082311461067b578063714c5398146106b857610293565b80632c2c76bd146104c757806337cacb11146104f25780633ccfd60b1461052f57806342842e0e14610546578063439fcf431461056f57806349df728c1461059857610293565b806319aeb2a71161025057806319aeb2a7146103b85780631e84c413146103e357806323b872dd1461040e57806324f985e91461043757806328cad13d146104605780632a55205a1461048957610293565b806301ffc9a71461029857806306fdde03146102d5578063081812fc14610300578063095ea7b31461033d5780630d3cf1f2146103665780630f590f781461038f575b600080fd5b3480156102a457600080fd5b506102bf60048036038101906102ba91906139b9565b610acf565b6040516102cc9190613a01565b60405180910390f35b3480156102e157600080fd5b506102ea610b49565b6040516102f79190613ab5565b60405180910390f35b34801561030c57600080fd5b5061032760048036038101906103229190613b0d565b610bdb565b6040516103349190613b7b565b60405180910390f35b34801561034957600080fd5b50610364600480360381019061035f9190613bc2565b610c60565b005b34801561037257600080fd5b5061038d60048036038101906103889190613c2e565b610d78565b005b34801561039b57600080fd5b506103b660048036038101906103b19190613c5b565b610e11565b005b3480156103c457600080fd5b506103cd610ed1565b6040516103da9190613c97565b60405180910390f35b3480156103ef57600080fd5b506103f8610ed7565b6040516104059190613a01565b60405180910390f35b34801561041a57600080fd5b5061043560048036038101906104309190613cb2565b610eea565b005b34801561044357600080fd5b5061045e60048036038101906104599190613e3a565b610f4a565b005b34801561046c57600080fd5b5061048760048036038101906104829190613c2e565b610fe0565b005b34801561049557600080fd5b506104b060048036038101906104ab9190613e83565b611079565b6040516104be929190613ec3565b60405180910390f35b3480156104d357600080fd5b506104dc6110e5565b6040516104e99190613c97565b60405180910390f35b3480156104fe57600080fd5b5061051960048036038101906105149190613c5b565b6110ea565b6040516105269190613c97565b60405180910390f35b34801561053b57600080fd5b50610544611102565b005b34801561055257600080fd5b5061056d60048036038101906105689190613cb2565b6111cd565b005b34801561057b57600080fd5b5061059660048036038101906105919190613f85565b6111ed565b005b3480156105a457600080fd5b506105bf60048036038101906105ba9190614023565b611565565b005b3480156105cd57600080fd5b506105d6611700565b6040516105e391906140af565b60405180910390f35b3480156105f857600080fd5b50610613600480360381019061060e9190613e3a565b611726565b005b34801561062157600080fd5b5061063c60048036038101906106379190613c5b565b6117bc565b005b34801561064a57600080fd5b5061066560048036038101906106609190613b0d565b61187c565b6040516106729190613b7b565b60405180910390f35b34801561068757600080fd5b506106a2600480360381019061069d9190613c5b565b61192e565b6040516106af9190613c97565b60405180910390f35b3480156106c457600080fd5b506106cd6119e6565b6040516106da9190613ab5565b60405180910390f35b3480156106ef57600080fd5b506106f8611a78565b005b34801561070657600080fd5b5061070f611b00565b60405161071c9190613b7b565b60405180910390f35b34801561073157600080fd5b5061073a611b26565b6040516107479190613c97565b60405180910390f35b34801561075c57600080fd5b50610765611b31565b6040516107729190613c97565b60405180910390f35b34801561078757600080fd5b50610790611b42565b60405161079d91906140eb565b60405180910390f35b3480156107b257600080fd5b506107bb611b68565b6040516107c89190613b7b565b60405180910390f35b6107eb60048036038101906107e69190613f85565b611b92565b005b3480156107f957600080fd5b50610802611f3f565b60405161080f9190613ab5565b60405180910390f35b34801561082457600080fd5b5061082d611fd1565b60405161083a919061411f565b60405180910390f35b61085d60048036038101906108589190613b0d565b611fd7565b005b34801561086b57600080fd5b506108866004803603810190610881919061413a565b612129565b005b34801561089457600080fd5b5061089d61213f565b6040516108aa9190613c97565b60405180910390f35b3480156108bf57600080fd5b506108da60048036038101906108d59190613b0d565b61214c565b005b3480156108e857600080fd5b5061090360048036038101906108fe919061421b565b612263565b005b34801561091157600080fd5b5061091a6122c5565b6040516109279190613ab5565b60405180910390f35b34801561093c57600080fd5b5061095760048036038101906109529190613b0d565b612353565b6040516109649190613ab5565b60405180910390f35b34801561097957600080fd5b506109826123cf565b60405161098f9190613c97565b60405180910390f35b3480156109a457600080fd5b506109ad6123d5565b6040516109ba9190613c97565b60405180910390f35b3480156109cf57600080fd5b506109ea60048036038101906109e591906142ca565b6123db565b005b3480156109f857600080fd5b50610a136004803603810190610a0e9190613c2e565b612461565b005b348015610a2157600080fd5b50610a3c6004803603810190610a3791906142f7565b6124fa565b604051610a499190613a01565b60405180910390f35b348015610a5e57600080fd5b50610a67612614565b604051610a749190613a01565b60405180910390f35b348015610a8957600080fd5b50610aa46004803603810190610a9f9190613c5b565b612627565b005b348015610ab257600080fd5b50610acd6004803603810190610ac89190613c5b565b61271f565b005b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610b425750610b41826127df565b5b9050919050565b606060008054610b5890614366565b80601f0160208091040260200160405190810160405280929190818152602001828054610b8490614366565b8015610bd15780601f10610ba657610100808354040283529160200191610bd1565b820191906000526020600020905b815481529060010190602001808311610bb457829003601f168201915b5050505050905090565b6000610be6826128c1565b610c25576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c1c9061440a565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610c6b8261187c565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610cdc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cd39061449c565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610cfb61292d565b73ffffffffffffffffffffffffffffffffffffffff161480610d2a5750610d2981610d2461292d565b6124fa565b5b610d69576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d609061452e565b60405180910390fd5b610d738383612935565b505050565b610d8061292d565b73ffffffffffffffffffffffffffffffffffffffff16610d9e611b68565b73ffffffffffffffffffffffffffffffffffffffff1614610df4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610deb9061459a565b60405180910390fd5b80601060006101000a81548160ff02191690831515021790555050565b610e1961292d565b73ffffffffffffffffffffffffffffffffffffffff16610e37611b68565b73ffffffffffffffffffffffffffffffffffffffff1614610e8d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e849061459a565b60405180910390fd5b80601060016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600c5481565b600d60009054906101000a900460ff1681565b610efb610ef561292d565b826129ee565b610f3a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f319061462c565b60405180910390fd5b610f45838383612acc565b505050565b610f5261292d565b73ffffffffffffffffffffffffffffffffffffffff16610f70611b68565b73ffffffffffffffffffffffffffffffffffffffff1614610fc6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fbd9061459a565b60405180910390fd5b80600a9080519060200190610fdc9291906138aa565b5050565b610fe861292d565b73ffffffffffffffffffffffffffffffffffffffff16611006611b68565b73ffffffffffffffffffffffffffffffffffffffff161461105c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110539061459a565b60405180910390fd5b80600d60006101000a81548160ff02191690831515021790555050565b600080611085846128c1565b6110c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110bb90614698565b60405180910390fd5b306110da6110d3856005612d28565b6064612d3e565b915091509250929050565b600381565b60146020528060005260406000206000915090505481565b61110a61292d565b73ffffffffffffffffffffffffffffffffffffffff16611128611b68565b73ffffffffffffffffffffffffffffffffffffffff161461117e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111759061459a565b60405180910390fd5b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f193505050501580156111c9573d6000803e3d6000fd5b5050565b6111e883838360405180602001604052806000815250612263565b505050565b60026007541415611233576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161122a90614704565b60405180910390fd5b6002600781905550601060009054906101000a900460ff1661128a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161128190614770565b60405180910390fd5b8260ff16600c548161129c6008612d54565b6112a691906147bf565b11156112e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112de90614887565b60405180910390fd5b8282600f5461135e838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050823360405160200161134391906148ef565b60405160208183030381529060405280519060200120612d62565b61139d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161139490614956565b60405180910390fd5b6000601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905060038860ff16826113f291906147bf565b1115611433576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161142a906149e8565b60405180910390fd5b600e548860ff166114446008612d54565b61144e91906147bf565b111561148f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161148690614887565b60405180910390fd5b60006801a055690d9db800008960ff166114a99190614a08565b90506114b481612d79565b8860ff16826114c391906147bf565b601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555060005b8960ff168110156115385761152533611520612e50565b612e6b565b808061153090614a62565b915050611509565b506115526013548a60ff1661154d9190614a08565b612e89565b5050505050506001600781905550505050565b61156d61292d565b73ffffffffffffffffffffffffffffffffffffffff1661158b611b68565b73ffffffffffffffffffffffffffffffffffffffff16146115e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115d89061459a565b60405180910390fd5b60008173ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b815260040161161c9190613b7b565b60206040518083038186803b15801561163457600080fd5b505afa158015611648573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061166c9190614ac0565b90508173ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33836040518363ffffffff1660e01b81526004016116a9929190613ec3565b602060405180830381600087803b1580156116c357600080fd5b505af11580156116d7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116fb9190614b02565b505050565b601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b61172e61292d565b73ffffffffffffffffffffffffffffffffffffffff1661174c611b68565b73ffffffffffffffffffffffffffffffffffffffff16146117a2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117999061459a565b60405180910390fd5b80600990805190602001906117b89291906138aa565b5050565b6117c461292d565b73ffffffffffffffffffffffffffffffffffffffff166117e2611b68565b73ffffffffffffffffffffffffffffffffffffffff1614611838576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161182f9061459a565b60405180910390fd5b80601160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611925576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161191c90614ba1565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561199f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161199690614c33565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6060600980546119f590614366565b80601f0160208091040260200160405190810160405280929190818152602001828054611a2190614366565b8015611a6e5780601f10611a4357610100808354040283529160200191611a6e565b820191906000526020600020905b815481529060010190602001808311611a5157829003601f168201915b5050505050905090565b611a8061292d565b73ffffffffffffffffffffffffffffffffffffffff16611a9e611b68565b73ffffffffffffffffffffffffffffffffffffffff1614611af4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aeb9061459a565b60405180910390fd5b611afe6000612f1b565b565b601060019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b668e1bc9bf04000081565b6000611b3d6008612d54565b905090565b601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60026007541415611bd8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bcf90614704565b60405180910390fd5b6002600781905550601060009054906101000a900460ff16611c2f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c2690614770565b60405180910390fd5b8260ff16600c5481611c416008612d54565b611c4b91906147bf565b1115611c8c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c8390614887565b60405180910390fd5b668e1bc9bf0400008460ff16348183611ca59190614a08565b14611ce5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cdc90614c9f565b60405180910390fd5b8484600f54611d5c838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f820116905080830192505050505050508233604051602001611d4191906148ef565b60405160208183030381529060405280519060200120612d62565b611d9b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d9290614956565b60405180910390fd5b6000601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905060038a60ff1682611df091906147bf565b1115611e31576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e28906149e8565b60405180910390fd5b600e548a60ff16611e426008612d54565b611e4c91906147bf565b1115611e8d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e8490614887565b60405180910390fd5b8960ff1681611e9c91906147bf565b601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555060005b8a60ff16811015611f1157611efe33611ef9612e50565b612e6b565b8080611f0990614a62565b915050611ee2565b50611f2b6013548b60ff16611f269190614a08565b612e89565b505050505050506001600781905550505050565b606060018054611f4e90614366565b80601f0160208091040260200160405190810160405280929190818152602001828054611f7a90614366565b8015611fc75780601f10611f9c57610100808354040283529160200191611fc7565b820191906000526020600020905b815481529060010190602001808311611faa57829003601f168201915b5050505050905090565b600f5481565b6002600754141561201d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161201490614704565b60405180910390fd5b6002600781905550668e1bc9bf0400008134818361203b9190614a08565b1461207b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161207290614c9f565b60405180910390fd5b82600c548161208a6008612d54565b61209491906147bf565b11156120d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120cc90614887565b60405180910390fd5b60005b84811015612104576120f1336120ec612e50565b612e6b565b80806120fc90614a62565b9150506120d8565b5061211b601354856121169190614a08565b612e89565b505050600160078190555050565b61213b61213461292d565b8383612fe1565b5050565b6801a055690d9db8000081565b60026007541415612192576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161218990614704565b60405180910390fd5b600260078190555080600c54816121a96008612d54565b6121b391906147bf565b11156121f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121eb90614887565b60405180910390fd5b6122116801a055690d9db800008361220c9190614a08565b612d79565b60005b828110156122405761222d33612228612e50565b612e6b565b808061223890614a62565b915050612214565b50612257601354836122529190614a08565b612e89565b50600160078190555050565b61227461226e61292d565b836129ee565b6122b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122aa9061462c565b60405180910390fd5b6122bf8484848461314e565b50505050565b600a80546122d290614366565b80601f01602080910402602001604051908101604052809291908181526020018280546122fe90614366565b801561234b5780601f106123205761010080835404028352916020019161234b565b820191906000526020600020905b81548152906001019060200180831161232e57829003601f168201915b505050505081565b606061235e826128c1565b61239d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161239490614698565b60405180910390fd5b60096123a8836131aa565b6040516020016123b9929190614e27565b6040516020818303038152906040529050919050565b60135481565b600e5481565b6123e361292d565b73ffffffffffffffffffffffffffffffffffffffff16612401611b68565b73ffffffffffffffffffffffffffffffffffffffff1614612457576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161244e9061459a565b60405180910390fd5b80600f8190555050565b61246961292d565b73ffffffffffffffffffffffffffffffffffffffff16612487611b68565b73ffffffffffffffffffffffffffffffffffffffff16146124dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124d49061459a565b60405180910390fd5b80600b60146101000a81548160ff02191690831515021790555050565b600080600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600b60149054906101000a900460ff1680156125f157508273ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1663c4552791866040518263ffffffff1660e01b81526004016125899190613b7b565b60206040518083038186803b1580156125a157600080fd5b505afa1580156125b5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125d99190614e9f565b73ffffffffffffffffffffffffffffffffffffffff16145b1561260057600191505061260e565b61260a848461330b565b9150505b92915050565b601060009054906101000a900460ff1681565b61262f61292d565b73ffffffffffffffffffffffffffffffffffffffff1661264d611b68565b73ffffffffffffffffffffffffffffffffffffffff16146126a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161269a9061459a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612713576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161270a90614f3e565b60405180910390fd5b61271c81612f1b565b50565b61272761292d565b73ffffffffffffffffffffffffffffffffffffffff16612745611b68565b73ffffffffffffffffffffffffffffffffffffffff161461279b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127929061459a565b60405180910390fd5b80601260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806128aa57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806128ba57506128b98261339f565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166129a88361187c565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006129f9826128c1565b612a38576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a2f90614fd0565b60405180910390fd5b6000612a438361187c565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612ab257508373ffffffffffffffffffffffffffffffffffffffff16612a9a84610bdb565b73ffffffffffffffffffffffffffffffffffffffff16145b80612ac35750612ac281856124fa565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612aec8261187c565b73ffffffffffffffffffffffffffffffffffffffff1614612b42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b3990615062565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612bb2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ba9906150f4565b60405180910390fd5b612bbd838383613409565b612bc8600082612935565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612c189190615114565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612c6f91906147bf565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b60008183612d369190614a08565b905092915050565b60008183612d4c9190615177565b905092915050565b600081600001549050919050565b600082612d6f858461340e565b1490509392505050565b601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd33601060019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16846040518463ffffffff1660e01b8152600401612dfa939291906151a8565b602060405180830381600087803b158015612e1457600080fd5b505af1158015612e28573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e4c9190614b02565b5050565b6000612e5c60086134c1565b612e666008612d54565b905090565b612e858282604051806020016040528060008152506134d7565b5050565b601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166340c10f1933836040518363ffffffff1660e01b8152600401612ee6929190613ec3565b600060405180830381600087803b158015612f0057600080fd5b505af1158015612f14573d6000803e3d6000fd5b5050505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415613050576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130479061522b565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516131419190613a01565b60405180910390a3505050565b613159848484612acc565b61316584848484613532565b6131a4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161319b906152bd565b60405180910390fd5b50505050565b606060008214156131f2576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613306565b600082905060005b6000821461322457808061320d90614a62565b915050600a8261321d9190615177565b91506131fa565b60008167ffffffffffffffff8111156132405761323f613d0f565b5b6040519080825280601f01601f1916602001820160405280156132725781602001600182028036833780820191505090505b5090505b600085146132ff5760018261328b9190615114565b9150600a8561329a91906152dd565b60306132a691906147bf565b60f81b8183815181106132bc576132bb61530e565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856132f89190615177565b9450613276565b8093505050505b919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b505050565b60008082905060005b84518110156134b65760008582815181106134355761343461530e565b5b6020026020010151905080831161347657828160405160200161345992919061535e565b6040516020818303038152906040528051906020012092506134a2565b808360405160200161348992919061535e565b6040516020818303038152906040528051906020012092505b5080806134ae90614a62565b915050613417565b508091505092915050565b6001816000016000828254019250508190555050565b6134e183836136c9565b6134ee6000848484613532565b61352d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613524906152bd565b60405180910390fd5b505050565b60006135538473ffffffffffffffffffffffffffffffffffffffff16613897565b156136bc578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261357c61292d565b8786866040518563ffffffff1660e01b815260040161359e94939291906153df565b602060405180830381600087803b1580156135b857600080fd5b505af19250505080156135e957506040513d601f19601f820116820180604052508101906135e69190615440565b60015b61366c573d8060008114613619576040519150601f19603f3d011682016040523d82523d6000602084013e61361e565b606091505b50600081511415613664576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161365b906152bd565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506136c1565b600190505b949350505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613739576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613730906154b9565b60405180910390fd5b613742816128c1565b15613782576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161377990615525565b60405180910390fd5b61378e60008383613409565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546137de91906147bf565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b8280546138b690614366565b90600052602060002090601f0160209004810192826138d8576000855561391f565b82601f106138f157805160ff191683800117855561391f565b8280016001018555821561391f579182015b8281111561391e578251825591602001919060010190613903565b5b50905061392c9190613930565b5090565b5b80821115613949576000816000905550600101613931565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61399681613961565b81146139a157600080fd5b50565b6000813590506139b38161398d565b92915050565b6000602082840312156139cf576139ce613957565b5b60006139dd848285016139a4565b91505092915050565b60008115159050919050565b6139fb816139e6565b82525050565b6000602082019050613a1660008301846139f2565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613a56578082015181840152602081019050613a3b565b83811115613a65576000848401525b50505050565b6000601f19601f8301169050919050565b6000613a8782613a1c565b613a918185613a27565b9350613aa1818560208601613a38565b613aaa81613a6b565b840191505092915050565b60006020820190508181036000830152613acf8184613a7c565b905092915050565b6000819050919050565b613aea81613ad7565b8114613af557600080fd5b50565b600081359050613b0781613ae1565b92915050565b600060208284031215613b2357613b22613957565b5b6000613b3184828501613af8565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613b6582613b3a565b9050919050565b613b7581613b5a565b82525050565b6000602082019050613b906000830184613b6c565b92915050565b613b9f81613b5a565b8114613baa57600080fd5b50565b600081359050613bbc81613b96565b92915050565b60008060408385031215613bd957613bd8613957565b5b6000613be785828601613bad565b9250506020613bf885828601613af8565b9150509250929050565b613c0b816139e6565b8114613c1657600080fd5b50565b600081359050613c2881613c02565b92915050565b600060208284031215613c4457613c43613957565b5b6000613c5284828501613c19565b91505092915050565b600060208284031215613c7157613c70613957565b5b6000613c7f84828501613bad565b91505092915050565b613c9181613ad7565b82525050565b6000602082019050613cac6000830184613c88565b92915050565b600080600060608486031215613ccb57613cca613957565b5b6000613cd986828701613bad565b9350506020613cea86828701613bad565b9250506040613cfb86828701613af8565b9150509250925092565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613d4782613a6b565b810181811067ffffffffffffffff82111715613d6657613d65613d0f565b5b80604052505050565b6000613d7961394d565b9050613d858282613d3e565b919050565b600067ffffffffffffffff821115613da557613da4613d0f565b5b613dae82613a6b565b9050602081019050919050565b82818337600083830152505050565b6000613ddd613dd884613d8a565b613d6f565b905082815260208101848484011115613df957613df8613d0a565b5b613e04848285613dbb565b509392505050565b600082601f830112613e2157613e20613d05565b5b8135613e31848260208601613dca565b91505092915050565b600060208284031215613e5057613e4f613957565b5b600082013567ffffffffffffffff811115613e6e57613e6d61395c565b5b613e7a84828501613e0c565b91505092915050565b60008060408385031215613e9a57613e99613957565b5b6000613ea885828601613af8565b9250506020613eb985828601613af8565b9150509250929050565b6000604082019050613ed86000830185613b6c565b613ee56020830184613c88565b9392505050565b600060ff82169050919050565b613f0281613eec565b8114613f0d57600080fd5b50565b600081359050613f1f81613ef9565b92915050565b600080fd5b600080fd5b60008083601f840112613f4557613f44613d05565b5b8235905067ffffffffffffffff811115613f6257613f61613f25565b5b602083019150836020820283011115613f7e57613f7d613f2a565b5b9250929050565b600080600060408486031215613f9e57613f9d613957565b5b6000613fac86828701613f10565b935050602084013567ffffffffffffffff811115613fcd57613fcc61395c565b5b613fd986828701613f2f565b92509250509250925092565b6000613ff082613b5a565b9050919050565b61400081613fe5565b811461400b57600080fd5b50565b60008135905061401d81613ff7565b92915050565b60006020828403121561403957614038613957565b5b60006140478482850161400e565b91505092915050565b6000819050919050565b600061407561407061406b84613b3a565b614050565b613b3a565b9050919050565b60006140878261405a565b9050919050565b60006140998261407c565b9050919050565b6140a98161408e565b82525050565b60006020820190506140c460008301846140a0565b92915050565b60006140d58261407c565b9050919050565b6140e5816140ca565b82525050565b600060208201905061410060008301846140dc565b92915050565b6000819050919050565b61411981614106565b82525050565b60006020820190506141346000830184614110565b92915050565b6000806040838503121561415157614150613957565b5b600061415f85828601613bad565b925050602061417085828601613c19565b9150509250929050565b600067ffffffffffffffff82111561419557614194613d0f565b5b61419e82613a6b565b9050602081019050919050565b60006141be6141b98461417a565b613d6f565b9050828152602081018484840111156141da576141d9613d0a565b5b6141e5848285613dbb565b509392505050565b600082601f83011261420257614201613d05565b5b81356142128482602086016141ab565b91505092915050565b6000806000806080858703121561423557614234613957565b5b600061424387828801613bad565b945050602061425487828801613bad565b935050604061426587828801613af8565b925050606085013567ffffffffffffffff8111156142865761428561395c565b5b614292878288016141ed565b91505092959194509250565b6142a781614106565b81146142b257600080fd5b50565b6000813590506142c48161429e565b92915050565b6000602082840312156142e0576142df613957565b5b60006142ee848285016142b5565b91505092915050565b6000806040838503121561430e5761430d613957565b5b600061431c85828601613bad565b925050602061432d85828601613bad565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061437e57607f821691505b6020821081141561439257614391614337565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b60006143f4602c83613a27565b91506143ff82614398565b604082019050919050565b60006020820190508181036000830152614423816143e7565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000614486602183613a27565b91506144918261442a565b604082019050919050565b600060208201905081810360008301526144b581614479565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b6000614518603883613a27565b9150614523826144bc565b604082019050919050565b600060208201905081810360008301526145478161450b565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614584602083613a27565b915061458f8261454e565b602082019050919050565b600060208201905081810360008301526145b381614577565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b6000614616603183613a27565b9150614621826145ba565b604082019050919050565b6000602082019050818103600083015261464581614609565b9050919050565b7f4e6f6e6578697374656e7420746f6b656e000000000000000000000000000000600082015250565b6000614682601183613a27565b915061468d8261464c565b602082019050919050565b600060208201905081810360008301526146b181614675565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b60006146ee601f83613a27565b91506146f9826146b8565b602082019050919050565b6000602082019050818103600083015261471d816146e1565b9050919050565b7f436f6d6d756e6974792073616c65206973206e6f74206f70656e000000000000600082015250565b600061475a601a83613a27565b915061476582614724565b602082019050919050565b600060208201905081810360008301526147898161474d565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006147ca82613ad7565b91506147d583613ad7565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561480a57614809614790565b5b828201905092915050565b7f4e6f7420656e6f756768206b6f6f646c65732072656d61696e696e6720746f2060008201527f6d696e7400000000000000000000000000000000000000000000000000000000602082015250565b6000614871602483613a27565b915061487c82614815565b604082019050919050565b600060208201905081810360008301526148a081614864565b9050919050565b60008160601b9050919050565b60006148bf826148a7565b9050919050565b60006148d1826148b4565b9050919050565b6148e96148e482613b5a565b6148c6565b82525050565b60006148fb82846148d8565b60148201915081905092915050565b7f4164647265737320646f6573206e6f7420657869737420696e206c6973740000600082015250565b6000614940601e83613a27565b915061494b8261490a565b602082019050919050565b6000602082019050818103600083015261496f81614933565b9050919050565b7f4d6178206b6f6f646c657320746f206d696e7420696e20636f6d6d756e69747960008201527f2073616c65206973207468726565000000000000000000000000000000000000602082015250565b60006149d2602e83613a27565b91506149dd82614976565b604082019050919050565b60006020820190508181036000830152614a01816149c5565b9050919050565b6000614a1382613ad7565b9150614a1e83613ad7565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614a5757614a56614790565b5b828202905092915050565b6000614a6d82613ad7565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614aa057614a9f614790565b5b600182019050919050565b600081519050614aba81613ae1565b92915050565b600060208284031215614ad657614ad5613957565b5b6000614ae484828501614aab565b91505092915050565b600081519050614afc81613c02565b92915050565b600060208284031215614b1857614b17613957565b5b6000614b2684828501614aed565b91505092915050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b6000614b8b602983613a27565b9150614b9682614b2f565b604082019050919050565b60006020820190508181036000830152614bba81614b7e565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b6000614c1d602a83613a27565b9150614c2882614bc1565b604082019050919050565b60006020820190508181036000830152614c4c81614c10565b9050919050565b7f496e636f7272656374204554482076616c75652073656e740000000000000000600082015250565b6000614c89601883613a27565b9150614c9482614c53565b602082019050919050565b60006020820190508181036000830152614cb881614c7c565b9050919050565b600081905092915050565b60008190508160005260206000209050919050565b60008154614cec81614366565b614cf68186614cbf565b94506001821660008114614d115760018114614d2257614d55565b60ff19831686528186019350614d55565b614d2b85614cca565b60005b83811015614d4d57815481890152600182019150602081019050614d2e565b838801955050505b50505092915050565b7f2f00000000000000000000000000000000000000000000000000000000000000600082015250565b6000614d94600183614cbf565b9150614d9f82614d5e565b600182019050919050565b6000614db582613a1c565b614dbf8185614cbf565b9350614dcf818560208601613a38565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b6000614e11600583614cbf565b9150614e1c82614ddb565b600582019050919050565b6000614e338285614cdf565b9150614e3e82614d87565b9150614e4a8284614daa565b9150614e5582614e04565b91508190509392505050565b6000614e6c82613b5a565b9050919050565b614e7c81614e61565b8114614e8757600080fd5b50565b600081519050614e9981614e73565b92915050565b600060208284031215614eb557614eb4613957565b5b6000614ec384828501614e8a565b91505092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614f28602683613a27565b9150614f3382614ecc565b604082019050919050565b60006020820190508181036000830152614f5781614f1b565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000614fba602c83613a27565b9150614fc582614f5e565b604082019050919050565b60006020820190508181036000830152614fe981614fad565b9050919050565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b600061504c602983613a27565b915061505782614ff0565b604082019050919050565b6000602082019050818103600083015261507b8161503f565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006150de602483613a27565b91506150e982615082565b604082019050919050565b6000602082019050818103600083015261510d816150d1565b9050919050565b600061511f82613ad7565b915061512a83613ad7565b92508282101561513d5761513c614790565b5b828203905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061518282613ad7565b915061518d83613ad7565b92508261519d5761519c615148565b5b828204905092915050565b60006060820190506151bd6000830186613b6c565b6151ca6020830185613b6c565b6151d76040830184613c88565b949350505050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000615215601983613a27565b9150615220826151df565b602082019050919050565b6000602082019050818103600083015261524481615208565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b60006152a7603283613a27565b91506152b28261524b565b604082019050919050565b600060208201905081810360008301526152d68161529a565b9050919050565b60006152e882613ad7565b91506152f383613ad7565b92508261530357615302615148565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000819050919050565b61535861535382614106565b61533d565b82525050565b600061536a8285615347565b60208201915061537a8284615347565b6020820191508190509392505050565b600081519050919050565b600082825260208201905092915050565b60006153b18261538a565b6153bb8185615395565b93506153cb818560208601613a38565b6153d481613a6b565b840191505092915050565b60006080820190506153f46000830187613b6c565b6154016020830186613b6c565b61540e6040830185613c88565b818103606083015261542081846153a6565b905095945050505050565b60008151905061543a8161398d565b92915050565b60006020828403121561545657615455613957565b5b60006154648482850161542b565b91505092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b60006154a3602083613a27565b91506154ae8261546d565b602082019050919050565b600060208201905081810360008301526154d281615496565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b600061550f601c83613a27565b915061551a826154d9565b602082019050919050565b6000602082019050818103600083015261553e81615502565b905091905056fea2646970667358221220737f766f4fa96eeb42ae78658aa1fc9b2de695c1a3d4bde389630355d204eb0064736f6c63430008090033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c100000000000000000000000000000000000000000000000000000000000027100000000000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _openSeaProxyRegistryAddress (address): 0xa5409ec958C83C3f309868babACA7c86DCB077c1
Arg [1] : _maxKoodles (uint256): 10000
Arg [2] : _maxCommunitySaleKoodles (uint256): 0
-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1
Arg [1] : 0000000000000000000000000000000000000000000000000000000000002710
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000000
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.