More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 214 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Set Approval For... | 19891673 | 193 days ago | IN | 0 ETH | 0.00017656 | ||||
Transfer From | 18848008 | 339 days ago | IN | 0 ETH | 0.00113938 | ||||
Transfer From | 18778791 | 349 days ago | IN | 0 ETH | 0.00215255 | ||||
Transfer From | 18778769 | 349 days ago | IN | 0 ETH | 0.00344693 | ||||
Set Approval For... | 18154028 | 436 days ago | IN | 0 ETH | 0.00048867 | ||||
Transfer From | 18122000 | 441 days ago | IN | 0 ETH | 0.00147852 | ||||
Safe Transfer Fr... | 17798044 | 486 days ago | IN | 0 ETH | 0.00068497 | ||||
Safe Transfer Fr... | 17798022 | 486 days ago | IN | 0 ETH | 0.00112827 | ||||
Set Approval For... | 17001438 | 598 days ago | IN | 0 ETH | 0.00092167 | ||||
Set Approval For... | 16577177 | 658 days ago | IN | 0 ETH | 0.00139747 | ||||
Set Approval For... | 16515378 | 667 days ago | IN | 0 ETH | 0.00084828 | ||||
Set Approval For... | 16494059 | 670 days ago | IN | 0 ETH | 0.00076238 | ||||
Set Approval For... | 16264020 | 702 days ago | IN | 0 ETH | 0.00062736 | ||||
Transfer From | 16190911 | 712 days ago | IN | 0 ETH | 0.0012051 | ||||
Transfer From | 16190909 | 712 days ago | IN | 0 ETH | 0.00182934 | ||||
Set Approval For... | 16096360 | 725 days ago | IN | 0 ETH | 0.00050928 | ||||
Set Approval For... | 15551984 | 801 days ago | IN | 0 ETH | 0.0003439 | ||||
Set Approval For... | 15474109 | 814 days ago | IN | 0 ETH | 0.0005461 | ||||
Safe Transfer Fr... | 15408766 | 824 days ago | IN | 0 ETH | 0.00042093 | ||||
Set Approval For... | 15365787 | 831 days ago | IN | 0 ETH | 0.00094959 | ||||
Set Approval For... | 15069994 | 877 days ago | IN | 0 ETH | 0.0008359 | ||||
Set Approval For... | 15056409 | 879 days ago | IN | 0 ETH | 0.00056666 | ||||
Set Approval For... | 15024979 | 885 days ago | IN | 0 ETH | 0.00200897 | ||||
Set Approval For... | 15013494 | 887 days ago | IN | 0 ETH | 0.00136298 | ||||
Set Approval For... | 14985075 | 892 days ago | IN | 0 ETH | 0.00066667 |
Latest 11 internal transactions
Advanced mode:
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
14855430 | 914 days ago | 0.47 ETH | ||||
14763337 | 929 days ago | 6 ETH | ||||
14763335 | 929 days ago | 6 ETH | ||||
14763321 | 929 days ago | 0.05 ETH | ||||
14698634 | 939 days ago | 6.07 ETH | ||||
14698547 | 939 days ago | 0.5 ETH | ||||
14685169 | 941 days ago | 2.72 ETH | ||||
14685106 | 941 days ago | 2 ETH | ||||
14685088 | 941 days ago | 1.2 ETH | ||||
14679922 | 942 days ago | 0.35 ETH | ||||
14672458 | 943 days ago | 0.19 ETH |
Loading...
Loading
Contract Name:
CryptoPantherClub
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.9; // @title: Crypto Panther Club // @developer: Arthur V. // @artist: https://marcinglod.com // @url: https://cryptopanther.club // // ,,,. // ,(%&&&&/ ,@@@#//&@@#. // (@&@# .* .&@@&&@@% (@% &@@.#@&@. // #@&@,/@@@( .#@@@@@@#, #@@@@@@@@&@( #@*,%*,%@@@( // &@&@* /%* *@@@@&#(/,. *@@@. .,,*/* * &@@@@@@@@@&&&%@@@&/ // .*#%(,*. *(#%@%*./@(,@&@#.&@@@@@@&&&./@&&&&&&&&&&&&@* // ,@@&@./@@@@@&* *.,@&&@# ,#&&%, /@&&&&&&&&&&&&&&@% // ,@&&@@&( .*/#&@@& /@&&&&&&@@&&&@&&&&@&&&&&&&&&&&&@& // #@* *@@@@@@@@@# %@&&&&&&&@@&&&&&@@*.@&&&&&&&&&&&@* // .* .,*(&@&&&&&#,.***,./&@&&&&&&&&&&@( // *. /@@@@( ,@&&&&&@/ @@&&&&&&&&&&&@&. // %@@#. .#@@@@@@@@% (@@&*.#@&&&&&&&&&@@#, // %@@@@@@( #@@@@@@@@@@@@# .%@&&&@@@@@@@@( // (/(&@@@@@.*@@@@@@@@@@&##&* &&&&&&/,#%#%* // (@@@@@@@/*@@@@@@@@@@@&@& (%#((, *,.,,/&# // .,,(#, ,**/((#(//.*&@&&@/ #@&&@@@% // %@@@@@@@@@@* *@@@( %@&@* *@&&&&@* // ,**, /%@@@@&* /@@&&&&@.,@&, .&@&&@& // %@&&&@@% * *@@&&&&&&@/ @% &@&&@# ,&@@&%/. // (@@&&@&*.#@&&&&&&&@# #&, .&@&@/.&@&&&&&&&@@&%(*. // %@ @@&&&&&&@@/ .* (@&&&&&&&&&&&&&&&&&&&&@@&(. // %@&&&&&&/,/%&@@@@%. #@&&@&#(%&@&&&&&&&&&&&&&&&&&&&@@&#*. // /@&&&&&%%@&&&&@@@%%* *@&@( /@@@( %@&&&##&@@@@&&&&&&&&&&&&@@% // &@&&&&&&&&&#*/#%&&@#. /@@,.@@@@@@@@* %@&&&&/ .*(%&@&&&&&&&& // %@&&&&&&&@@&&&&&&&&@/ /@( @@@@@@@@@@@ *@&&&@# *&@@&&& // /@&&&&&&&&@%(@@&&&@% *@*.@@@@@@@@@@@@.,@&&&@% ,/% // &@&&&&&&&&@/ #@@@, ,@*.@@@@@@@@@@@@@, @&&&&@, // /@&&&&&&&&&@%, .@( @@@@@@@@@@@@@@/ &@&&&@/ // &@&&&&&&&&&@* &@ (@@@@@@@@@@@@@@# %@&&&@% // (@&&&&&&@#. %@/ @@@@@@@@@@@@@@@&.*@&&&&@* // ,@&&&@# #@@ /@@@@@@@@@@@@@@@@/ &@&&&@& // .&@&&@&, #@@% %@@@@@@@@@@@@@@@@&./@&&&&@# // (@&&&@@. (@&@( &@@@@@@@@@@@@@@@@@# &@&&&&@( // ,@&&&&@&* /@&&@/ &@@@@@@@@@@@@@@@@@@*,&&&&&&@( import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; import "@chainlink/contracts/src/v0.8/VRFConsumerBase.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; contract CryptoPantherClub is ERC721, ReentrancyGuard, VRFConsumerBase, Ownable { // ======== Counter ========= using Counters for Counters.Counter; Counters.Counter private supplyCounter; // ======== Supply ========= uint256 public constant MAX_SUPPLY = 5555; // ======== Max Mints Per Address ========= uint256 public maxPerAddressWhitelist; uint256 public maxPerAddressPublic; // ======== Price ========= uint256 public priceWhitelist; uint256 public pricePublic; // ======== Mints Per Address Mapping ======== struct MintTypes { uint256 _numberOfMintsByAddress; } mapping(address => MintTypes) public addressToMints; // ======== Base URI ========= string private baseURI; // ======== Phase ========= enum SalePhase{ Locked, Whitelist, PrePublic, Public, Ended } SalePhase public phase = SalePhase.Locked; // ======== Chainlink VRF (v.1) ======== bytes32 internal immutable keyHash; uint256 internal immutable fee; uint256 public indexShift = 0; // ======== Whitelist Coupons ======== address private constant ownerSigner = 0x493e23ed0756415107993FE3D777Ca1A356FB038; enum CouponType{ Whitelist } struct Coupon { bytes32 r; bytes32 s; uint8 v; } // ======== Constructor ========= constructor( string memory name_, string memory symbol_, string memory hiddenURI_ ) VRFConsumerBase( 0xf0d54349aDdcf704F77AE15b96510dEA15cb7952, // VRF Coordinator 0x514910771AF9Ca656af840dff83E8264EcF986CA // LINK Token ) ERC721(name_, symbol_) { baseURI = hiddenURI_; keyHash = 0xAA77729D3466CA35AE8D28B3BBAC7CC36A5031EFDC430821C02BC31A238AF445; // VRF keyHash fee = 2 * 10 ** 18; // 2 LINK } // ======== Team Reserve (Events, Promotions, etc.) ========= function reserve(uint256 amount_) external onlyLockedPhase onlyOwner { require(amount_ > 0, "Amount can't be zero."); for(uint256 ind_ = 0; ind_ < amount_; ind_++) { _safeMint(msg.sender, totalSupply() + 1); supplyCounter.increment(); } } // ======== Set Whitelist Price ======== function setPriceWhitelist(uint256 price_) external onlyLockedPhase onlyOwner { priceWhitelist = price_; } // ======== Set Public Pirce ======== function setPricePublic(uint256 price_) external onlyPrePublicPhase onlyOwner { pricePublic = price_; } // ======== Set Max Whitelist Mint Amount Per Address ======== function setMaxPerAddressWhitelist(uint256 amount_) external onlyLockedPhase onlyOwner { maxPerAddressWhitelist = amount_; } // ======== Set Max Public Mint Amount Per Address ======== function setMaxPerAddressPublic(uint256 amount_) external onlyPrePublicPhase onlyOwner { maxPerAddressPublic = amount_; } // ======== Enable Whitelist Mint ========= function setWhitelistPhase() external onlyLockedPhase onlyOwner { require(priceWhitelist != 0, "Whitelist price is not set."); require(maxPerAddressWhitelist != 0, "Max whitelist mint amount not set."); phase = SalePhase.Whitelist; } // ======== Enable PrePublic Phase ========= function setPrePublicPhase() external onlyWhitelistPhase onlyOwner { phase = SalePhase.PrePublic; } // ======== Enable Public Mint ========= function setPublicPhase() external onlyPrePublicPhase onlyOwner { require(pricePublic != 0, "Public price is not set."); require(maxPerAddressPublic != 0, "Max public mint amount not set."); phase = SalePhase.Public; } // ======== End Sale ========= function setEndedPhase() external onlyOwner { phase = SalePhase.Ended; } // ======== Whitelist Mint ========= function whitelistMint(uint256 amount_, Coupon memory coupon_) public payable onlyWhitelistPhase validateAmount(amount_, maxPerAddressWhitelist) validateSupply(amount_) validateEthPayment(amount_, priceWhitelist) nonReentrant { require(amount_ + addressToMints[msg.sender]._numberOfMintsByAddress <= maxPerAddressWhitelist, "Exceeds number of whitelist mints allowed."); bytes32 digest = keccak256(abi.encode(CouponType.Whitelist, msg.sender)); require(isVerifiedCoupon(digest, coupon_), "Invalid coupon"); addressToMints[msg.sender]._numberOfMintsByAddress += amount_; for(uint256 ind_ = 0; ind_ < amount_; ind_++) { _safeMint(msg.sender, totalSupply() + 1); supplyCounter.increment(); } if (totalSupply() == MAX_SUPPLY) { phase = SalePhase.Ended; } } // ======== Public Mint ========= function mint(uint256 amount_) public payable onlyPublicPhase validateAmount(amount_, maxPerAddressPublic) validateSupply(amount_) validateEthPayment(amount_, pricePublic) nonReentrant { require(amount_ + addressToMints[msg.sender]._numberOfMintsByAddress <= maxPerAddressPublic, "Exceeds number of mints allowed."); addressToMints[msg.sender]._numberOfMintsByAddress += amount_; for(uint256 ind_ = 0; ind_ < amount_; ind_++) { _safeMint(msg.sender, totalSupply() + 1); supplyCounter.increment(); } if (totalSupply() == MAX_SUPPLY) { phase = SalePhase.Ended; } } // ======== Reveal Metadata ========= function reveal(string memory baseURI_) external onlyEndedPhase onlyZeroIndexShift onlyOwner { baseURI = baseURI_; requestRandomIndexShift(); } // ======== Return Base URI ========= function _baseURI() internal view virtual override returns (string memory) { return baseURI; } // ======== Return Token URI ========= function tokenURI(uint256 tokenId) public view virtual override(ERC721) returns (string memory) { require(_exists(tokenId), "Nonexistent token."); string memory sequenceId; if (indexShift > 0) { sequenceId = Strings.toString((tokenId + indexShift) % MAX_SUPPLY + 1); } else { sequenceId = "0"; } return string(abi.encodePacked(baseURI, sequenceId)); } // ======== Get Total Supply ======== function totalSupply() public view returns (uint256) { return supplyCounter.current(); } // ======== Get Random Number Using Chainlink VRF ========= function requestRandomIndexShift() private returns (bytes32 requestId) { require(LINK.balanceOf(address(this)) >= fee, "Not enough LINK."); return requestRandomness(keyHash, fee); } // ======== Set Random Starting Index ========= function fulfillRandomness(bytes32 requestId, uint256 randomness) internal override { indexShift = (randomness % MAX_SUPPLY) + 1; } // ======== Verify Coupon ========= function isVerifiedCoupon(bytes32 digest_, Coupon memory coupon_) internal view returns (bool) { address signer = ecrecover(digest_, coupon_.v, coupon_.r, coupon_.s); require(signer != address(0), 'ECDSA: invalid signature'); return signer == ownerSigner; } // ======== Withdraw ========= function withdraw(address payee_, uint256 amount_) external onlyOwner { (bool success, ) = payee_.call{value: amount_}(''); require(success, 'Transfer failed.'); } // ======== Modifiers ======== modifier validateEthPayment(uint256 amount_, uint256 price_) { require(amount_ * price_ <= msg.value, "Ether value sent is not correct."); _; } modifier validateSupply(uint256 amount_) { require(totalSupply() + amount_ <= MAX_SUPPLY, "Max supply exceeded."); _; } modifier validateAmount(uint256 amount_, uint256 max_) { require(amount_ > 0 && amount_ <= max_, "Amount is out of range."); _; } modifier onlyLockedPhase() { require(phase == SalePhase.Locked, "Minting is not locked."); _; } modifier onlyWhitelistPhase() { require(phase == SalePhase.Whitelist, "Whitelist sale is not active."); _; } modifier onlyPrePublicPhase() { require(phase == SalePhase.PrePublic, "PrePublic phase is not active."); _; } modifier onlyPublicPhase() { require(phase == SalePhase.Public, "Public sale is not active."); _; } modifier onlyEndedPhase() { require(phase == SalePhase.Ended, "Sale has not ended."); _; } modifier onlyZeroIndexShift() { require(indexShift == 0, "Already randomized."); _; } }
// 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 (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 (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 pragma solidity ^0.8.0; import "./interfaces/LinkTokenInterface.sol"; import "./VRFRequestIDBase.sol"; /** **************************************************************************** * @notice Interface for contracts using VRF randomness * ***************************************************************************** * @dev PURPOSE * * @dev Reggie the Random Oracle (not his real job) wants to provide randomness * @dev to Vera the verifier in such a way that Vera can be sure he's not * @dev making his output up to suit himself. Reggie provides Vera a public key * @dev to which he knows the secret key. Each time Vera provides a seed to * @dev Reggie, he gives back a value which is computed completely * @dev deterministically from the seed and the secret key. * * @dev Reggie provides a proof by which Vera can verify that the output was * @dev correctly computed once Reggie tells it to her, but without that proof, * @dev the output is indistinguishable to her from a uniform random sample * @dev from the output space. * * @dev The purpose of this contract is to make it easy for unrelated contracts * @dev to talk to Vera the verifier about the work Reggie is doing, to provide * @dev simple access to a verifiable source of randomness. * ***************************************************************************** * @dev USAGE * * @dev Calling contracts must inherit from VRFConsumerBase, and can * @dev initialize VRFConsumerBase's attributes in their constructor as * @dev shown: * * @dev contract VRFConsumer { * @dev constuctor(<other arguments>, address _vrfCoordinator, address _link) * @dev VRFConsumerBase(_vrfCoordinator, _link) public { * @dev <initialization with other arguments goes here> * @dev } * @dev } * * @dev The oracle will have given you an ID for the VRF keypair they have * @dev committed to (let's call it keyHash), and have told you the minimum LINK * @dev price for VRF service. Make sure your contract has sufficient LINK, and * @dev call requestRandomness(keyHash, fee, seed), where seed is the input you * @dev want to generate randomness from. * * @dev Once the VRFCoordinator has received and validated the oracle's response * @dev to your request, it will call your contract's fulfillRandomness method. * * @dev The randomness argument to fulfillRandomness is the actual random value * @dev generated from your seed. * * @dev The requestId argument is generated from the keyHash and the seed by * @dev makeRequestId(keyHash, seed). If your contract could have concurrent * @dev requests open, you can use the requestId to track which seed is * @dev associated with which randomness. See VRFRequestIDBase.sol for more * @dev details. (See "SECURITY CONSIDERATIONS" for principles to keep in mind, * @dev if your contract could have multiple requests in flight simultaneously.) * * @dev Colliding `requestId`s are cryptographically impossible as long as seeds * @dev differ. (Which is critical to making unpredictable randomness! See the * @dev next section.) * * ***************************************************************************** * @dev SECURITY CONSIDERATIONS * * @dev A method with the ability to call your fulfillRandomness method directly * @dev could spoof a VRF response with any random value, so it's critical that * @dev it cannot be directly called by anything other than this base contract * @dev (specifically, by the VRFConsumerBase.rawFulfillRandomness method). * * @dev For your users to trust that your contract's random behavior is free * @dev from malicious interference, it's best if you can write it so that all * @dev behaviors implied by a VRF response are executed *during* your * @dev fulfillRandomness method. If your contract must store the response (or * @dev anything derived from it) and use it later, you must ensure that any * @dev user-significant behavior which depends on that stored value cannot be * @dev manipulated by a subsequent VRF request. * * @dev Similarly, both miners and the VRF oracle itself have some influence * @dev over the order in which VRF responses appear on the blockchain, so if * @dev your contract could have multiple VRF requests in flight simultaneously, * @dev you must ensure that the order in which the VRF responses arrive cannot * @dev be used to manipulate your contract's user-significant behavior. * * @dev Since the ultimate input to the VRF is mixed with the block hash of the * @dev block in which the request is made, user-provided seeds have no impact * @dev on its economic security properties. They are only included for API * @dev compatability with previous versions of this contract. * * @dev Since the block hash of the block which contains the requestRandomness * @dev call is mixed into the input to the VRF *last*, a sufficiently powerful * @dev miner could, in principle, fork the blockchain to evict the block * @dev containing the request, forcing the request to be included in a * @dev different block with a different hash, and therefore a different input * @dev to the VRF. However, such an attack would incur a substantial economic * @dev cost. This cost scales with the number of blocks the VRF oracle waits * @dev until it calls responds to a request. */ abstract contract VRFConsumerBase is VRFRequestIDBase { /** * @notice fulfillRandomness handles the VRF response. Your contract must * @notice implement it. See "SECURITY CONSIDERATIONS" above for important * @notice principles to keep in mind when implementing your fulfillRandomness * @notice method. * * @dev VRFConsumerBase expects its subcontracts to have a method with this * @dev signature, and will call it once it has verified the proof * @dev associated with the randomness. (It is triggered via a call to * @dev rawFulfillRandomness, below.) * * @param requestId The Id initially returned by requestRandomness * @param randomness the VRF output */ function fulfillRandomness(bytes32 requestId, uint256 randomness) internal virtual; /** * @dev In order to keep backwards compatibility we have kept the user * seed field around. We remove the use of it because given that the blockhash * enters later, it overrides whatever randomness the used seed provides. * Given that it adds no security, and can easily lead to misunderstandings, * we have removed it from usage and can now provide a simpler API. */ uint256 private constant USER_SEED_PLACEHOLDER = 0; /** * @notice requestRandomness initiates a request for VRF output given _seed * * @dev The fulfillRandomness method receives the output, once it's provided * @dev by the Oracle, and verified by the vrfCoordinator. * * @dev The _keyHash must already be registered with the VRFCoordinator, and * @dev the _fee must exceed the fee specified during registration of the * @dev _keyHash. * * @dev The _seed parameter is vestigial, and is kept only for API * @dev compatibility with older versions. It can't *hurt* to mix in some of * @dev your own randomness, here, but it's not necessary because the VRF * @dev oracle will mix the hash of the block containing your request into the * @dev VRF seed it ultimately uses. * * @param _keyHash ID of public key against which randomness is generated * @param _fee The amount of LINK to send with the request * * @return requestId unique ID for this request * * @dev The returned requestId can be used to distinguish responses to * @dev concurrent requests. It is passed as the first argument to * @dev fulfillRandomness. */ function requestRandomness(bytes32 _keyHash, uint256 _fee) internal returns (bytes32 requestId) { LINK.transferAndCall(vrfCoordinator, _fee, abi.encode(_keyHash, USER_SEED_PLACEHOLDER)); // This is the seed passed to VRFCoordinator. The oracle will mix this with // the hash of the block containing this request to obtain the seed/input // which is finally passed to the VRF cryptographic machinery. uint256 vRFSeed = makeVRFInputSeed(_keyHash, USER_SEED_PLACEHOLDER, address(this), nonces[_keyHash]); // nonces[_keyHash] must stay in sync with // VRFCoordinator.nonces[_keyHash][this], which was incremented by the above // successful LINK.transferAndCall (in VRFCoordinator.randomnessRequest). // This provides protection against the user repeating their input seed, // which would result in a predictable/duplicate output, if multiple such // requests appeared in the same block. nonces[_keyHash] = nonces[_keyHash] + 1; return makeRequestId(_keyHash, vRFSeed); } LinkTokenInterface internal immutable LINK; address private immutable vrfCoordinator; // Nonces for each VRF key from which randomness has been requested. // // Must stay in sync with VRFCoordinator[_keyHash][this] mapping(bytes32 => uint256) /* keyHash */ /* nonce */ private nonces; /** * @param _vrfCoordinator address of VRFCoordinator contract * @param _link address of LINK token contract * * @dev https://docs.chain.link/docs/link-token-contracts */ constructor(address _vrfCoordinator, address _link) { vrfCoordinator = _vrfCoordinator; LINK = LinkTokenInterface(_link); } // rawFulfillRandomness is called by VRFCoordinator when it receives a valid VRF // proof. rawFulfillRandomness then calls fulfillRandomness, after validating // the origin of the call function rawFulfillRandomness(bytes32 requestId, uint256 randomness) external { require(msg.sender == vrfCoordinator, "Only VRFCoordinator can fulfill"); fulfillRandomness(requestId, randomness); } }
// 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 (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 (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/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 (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 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; interface LinkTokenInterface { function allowance(address owner, address spender) external view returns (uint256 remaining); function approve(address spender, uint256 value) external returns (bool success); function balanceOf(address owner) external view returns (uint256 balance); function decimals() external view returns (uint8 decimalPlaces); function decreaseApproval(address spender, uint256 addedValue) external returns (bool success); function increaseApproval(address spender, uint256 subtractedValue) external; function name() external view returns (string memory tokenName); function symbol() external view returns (string memory tokenSymbol); function totalSupply() external view returns (uint256 totalTokensIssued); function transfer(address to, uint256 value) external returns (bool success); function transferAndCall( address to, uint256 value, bytes calldata data ) external returns (bool success); function transferFrom( address from, address to, uint256 value ) external returns (bool success); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; contract VRFRequestIDBase { /** * @notice returns the seed which is actually input to the VRF coordinator * * @dev To prevent repetition of VRF output due to repetition of the * @dev user-supplied seed, that seed is combined in a hash with the * @dev user-specific nonce, and the address of the consuming contract. The * @dev risk of repetition is mostly mitigated by inclusion of a blockhash in * @dev the final seed, but the nonce does protect against repetition in * @dev requests which are included in a single block. * * @param _userSeed VRF seed input provided by user * @param _requester Address of the requesting contract * @param _nonce User-specific nonce at the time of the request */ function makeVRFInputSeed( bytes32 _keyHash, uint256 _userSeed, address _requester, uint256 _nonce ) internal pure returns (uint256) { return uint256(keccak256(abi.encode(_keyHash, _userSeed, _requester, _nonce))); } /** * @notice Returns the id for this request * @param _keyHash The serviceAgreement ID to be used for this request * @param _vRFInputSeed The seed to be passed directly to the VRF * @return The id for this request * * @dev Note that _vRFInputSeed is not the seed passed by the consuming * @dev contract, but the one generated by makeVRFInputSeed */ function makeRequestId(bytes32 _keyHash, uint256 _vRFInputSeed) internal pure returns (bytes32) { return keccak256(abi.encodePacked(_keyHash, _vRFInputSeed)); } }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"},{"internalType":"string","name":"hiddenURI_","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"addressToMints","outputs":[{"internalType":"uint256","name":"_numberOfMintsByAddress","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"indexShift","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":"maxPerAddressPublic","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPerAddressWhitelist","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount_","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"phase","outputs":[{"internalType":"enum CryptoPantherClub.SalePhase","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pricePublic","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"priceWhitelist","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"requestId","type":"bytes32"},{"internalType":"uint256","name":"randomness","type":"uint256"}],"name":"rawFulfillRandomness","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount_","type":"uint256"}],"name":"reserve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI_","type":"string"}],"name":"reveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setEndedPhase","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount_","type":"uint256"}],"name":"setMaxPerAddressPublic","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount_","type":"uint256"}],"name":"setMaxPerAddressWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setPrePublicPhase","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"price_","type":"uint256"}],"name":"setPricePublic","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"price_","type":"uint256"}],"name":"setPriceWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setPublicPhase","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setWhitelistPhase","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":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount_","type":"uint256"},{"components":[{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"},{"internalType":"uint8","name":"v","type":"uint8"}],"internalType":"struct CryptoPantherClub.Coupon","name":"coupon_","type":"tuple"}],"name":"whitelistMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"payee_","type":"address"},{"internalType":"uint256","name":"amount_","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6101006040526000601060006101000a81548160ff021916908360048111156200002e576200002d62000338565b5b021790555060006011553480156200004557600080fd5b506040516200610b3803806200610b83398181016040528101906200006b919062000504565b73f0d54349addcf704f77ae15b96510dea15cb795273514910771af9ca656af840dff83e8264ecf986ca84848160009080519060200190620000af92919062000288565b508060019080519060200190620000c892919062000288565b50505060016006819055508173ffffffffffffffffffffffffffffffffffffffff1660a08173ffffffffffffffffffffffffffffffffffffffff16815250508073ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff168152505050506200015d62000151620001ba60201b60201c565b620001c260201b60201c565b80600f90805190602001906200017592919062000288565b507faa77729d3466ca35ae8d28b3bbac7cc36a5031efdc430821c02bc31a238af44560001b60c08181525050671bc16d674ec8000060e0818152505050505062000622565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200029690620005ec565b90600052602060002090601f016020900481019282620002ba576000855562000306565b82601f10620002d557805160ff191683800117855562000306565b8280016001018555821562000306579182015b8281111562000305578251825591602001919060010190620002e8565b5b50905062000315919062000319565b5090565b5b80821115620003345760008160009055506001016200031a565b5090565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b620003d08262000385565b810181811067ffffffffffffffff82111715620003f257620003f162000396565b5b80604052505050565b60006200040762000367565b9050620004158282620003c5565b919050565b600067ffffffffffffffff82111562000438576200043762000396565b5b620004438262000385565b9050602081019050919050565b60005b838110156200047057808201518184015260208101905062000453565b8381111562000480576000848401525b50505050565b60006200049d62000497846200041a565b620003fb565b905082815260208101848484011115620004bc57620004bb62000380565b5b620004c984828562000450565b509392505050565b600082601f830112620004e957620004e86200037b565b5b8151620004fb84826020860162000486565b91505092915050565b60008060006060848603121562000520576200051f62000371565b5b600084015167ffffffffffffffff81111562000541576200054062000376565b5b6200054f86828701620004d1565b935050602084015167ffffffffffffffff81111562000573576200057262000376565b5b6200058186828701620004d1565b925050604084015167ffffffffffffffff811115620005a557620005a462000376565b5b620005b386828701620004d1565b9150509250925092565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200060557607f821691505b602082108114156200061c576200061b620005bd565b5b50919050565b60805160a05160c05160e051615a9a6200067160003960008181612d130152612e4201526000612e210152600081816119ee015261331f015260008181612d3401526132e30152615a9a6000f3fe6080604052600436106102305760003560e01c806363820f231161012e578063a22cb465116100ab578063e13b27f41161006f578063e13b27f4146107e5578063e985e9c5146107fc578063f2fde38b14610839578063f376b2f614610862578063f3fef3a31461087957610230565b8063a22cb46514610702578063b1c9fe6e1461072b578063b88d4fde14610756578063b95f8b5f1461077f578063c87b56dd146107a857610230565b80638da5cb5b116100f25780638da5cb5b1461063c5780638e563bdf1461066757806394985ddd1461069257806395d89b41146106bb578063a0712d68146106e657610230565b806363820f231461055957806370a0823114610596578063715018a6146105d3578063819b25ba146105ea57806387b95a191461061357610230565b80631e316d70116101bc57806342842e0e1161018057806342842e0e146104765780634530a8321461049f5780634c261247146104c85780635d09e698146104f15780636352211e1461051c57610230565b80631e316d70146103c457806322fa38af146103e057806323b872dd146103f75780632fff17961461042057806332cb6b0c1461044b57610230565b8063095ea7b311610203578063095ea7b314610303578063102e766d1461032c5780631597cb001461035757806318160ddd146103825780631d84239b146103ad57610230565b806301ffc9a714610235578063051e959c1461027257806306fdde031461029b578063081812fc146102c6575b600080fd5b34801561024157600080fd5b5061025c60048036038101906102579190613937565b6108a2565b604051610269919061397f565b60405180910390f35b34801561027e57600080fd5b50610299600480360381019061029491906139d0565b610984565b005b3480156102a757600080fd5b506102b0610a80565b6040516102bd9190613a96565b60405180910390f35b3480156102d257600080fd5b506102ed60048036038101906102e891906139d0565b610b12565b6040516102fa9190613af9565b60405180910390f35b34801561030f57600080fd5b5061032a60048036038101906103259190613b40565b610b97565b005b34801561033857600080fd5b50610341610caf565b60405161034e9190613b8f565b60405180910390f35b34801561036357600080fd5b5061036c610cb5565b6040516103799190613b8f565b60405180910390f35b34801561038e57600080fd5b50610397610cbb565b6040516103a49190613b8f565b60405180910390f35b3480156103b957600080fd5b506103c2610ccc565b005b6103de60048036038101906103d99190613cfd565b610deb565b005b3480156103ec57600080fd5b506103f56111a2565b005b34801561040357600080fd5b5061041e60048036038101906104199190613d3d565b61124b565b005b34801561042c57600080fd5b506104356112ab565b6040516104429190613b8f565b60405180910390f35b34801561045757600080fd5b506104606112b1565b60405161046d9190613b8f565b60405180910390f35b34801561048257600080fd5b5061049d60048036038101906104989190613d3d565b6112b7565b005b3480156104ab57600080fd5b506104c660048036038101906104c191906139d0565b6112d7565b005b3480156104d457600080fd5b506104ef60048036038101906104ea9190613e4a565b6113d3565b005b3480156104fd57600080fd5b5061050661152c565b6040516105139190613b8f565b60405180910390f35b34801561052857600080fd5b50610543600480360381019061053e91906139d0565b611532565b6040516105509190613af9565b60405180910390f35b34801561056557600080fd5b50610580600480360381019061057b9190613e93565b6115e4565b60405161058d9190613b8f565b60405180910390f35b3480156105a257600080fd5b506105bd60048036038101906105b89190613e93565b611602565b6040516105ca9190613b8f565b60405180910390f35b3480156105df57600080fd5b506105e86116ba565b005b3480156105f657600080fd5b50610611600480360381019061060c91906139d0565b611742565b005b34801561061f57600080fd5b5061063a600480360381019061063591906139d0565b6118c0565b005b34801561064857600080fd5b506106516119bc565b60405161065e9190613af9565b60405180910390f35b34801561067357600080fd5b5061067c6119e6565b6040516106899190613b8f565b60405180910390f35b34801561069e57600080fd5b506106b960048036038101906106b49190613ec0565b6119ec565b005b3480156106c757600080fd5b506106d0611a88565b6040516106dd9190613a96565b60405180910390f35b61070060048036038101906106fb91906139d0565b611b1a565b005b34801561070e57600080fd5b5061072960048036038101906107249190613f2c565b611e59565b005b34801561073757600080fd5b50610740611e6f565b60405161074d9190613fe3565b60405180910390f35b34801561076257600080fd5b5061077d6004803603810190610778919061409f565b611e82565b005b34801561078b57600080fd5b506107a660048036038101906107a191906139d0565b611ee4565b005b3480156107b457600080fd5b506107cf60048036038101906107ca91906139d0565b611fe0565b6040516107dc9190613a96565b60405180910390f35b3480156107f157600080fd5b506107fa6120d1565b005b34801561080857600080fd5b50610823600480360381019061081e9190614122565b61227c565b604051610830919061397f565b60405180910390f35b34801561084557600080fd5b50610860600480360381019061085b9190613e93565b612310565b005b34801561086e57600080fd5b50610877612408565b005b34801561088557600080fd5b506108a0600480360381019061089b9190613b40565b6125b3565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061096d57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061097d575061097c826126e0565b5b9050919050565b6002600481111561099857610997613f6c565b5b601060009054906101000a900460ff1660048111156109ba576109b9613f6c565b5b146109fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109f1906141ae565b60405180910390fd5b610a0261274a565b73ffffffffffffffffffffffffffffffffffffffff16610a206119bc565b73ffffffffffffffffffffffffffffffffffffffff1614610a76576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a6d9061421a565b60405180910390fd5b80600b8190555050565b606060008054610a8f90614269565b80601f0160208091040260200160405190810160405280929190818152602001828054610abb90614269565b8015610b085780601f10610add57610100808354040283529160200191610b08565b820191906000526020600020905b815481529060010190602001808311610aeb57829003601f168201915b5050505050905090565b6000610b1d82612752565b610b5c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b539061430d565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610ba282611532565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610c13576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c0a9061439f565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610c3261274a565b73ffffffffffffffffffffffffffffffffffffffff161480610c615750610c6081610c5b61274a565b61227c565b5b610ca0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c9790614431565b60405180910390fd5b610caa83836127be565b505050565b600d5481565b600b5481565b6000610cc76009612877565b905090565b60016004811115610ce057610cdf613f6c565b5b601060009054906101000a900460ff166004811115610d0257610d01613f6c565b5b14610d42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d399061449d565b60405180910390fd5b610d4a61274a565b73ffffffffffffffffffffffffffffffffffffffff16610d686119bc565b73ffffffffffffffffffffffffffffffffffffffff1614610dbe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610db59061421a565b60405180910390fd5b6002601060006101000a81548160ff02191690836004811115610de457610de3613f6c565b5b0217905550565b60016004811115610dff57610dfe613f6c565b5b601060009054906101000a900460ff166004811115610e2157610e20613f6c565b5b14610e61576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e589061449d565b60405180910390fd5b81600a54600082118015610e755750808211155b610eb4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eab90614509565b60405180910390fd5b836115b381610ec1610cbb565b610ecb9190614558565b1115610f0c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f03906145fa565b60405180910390fd5b84600c54348183610f1d919061461a565b1115610f5e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f55906146c0565b60405180910390fd5b60026006541415610fa4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f9b9061472c565b60405180910390fd5b6002600681905550600a54600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000015488610ffd9190614558565b111561103e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611035906147be565b60405180910390fd5b60008033604051602001611053929190614826565b6040516020818303038152906040528051906020012090506110758188612885565b6110b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110ab9061489b565b60405180910390fd5b87600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282546111069190614558565b9250508190555060005b8881101561115257611135336001611126610cbb565b6111309190614558565b6129a1565b61113f60096129bf565b808061114a906148bb565b915050611110565b506115b361115e610cbb565b1415611190576004601060006101000a81548160ff0219169083600481111561118a57611189613f6c565b5b02179055505b50600160068190555050505050505050565b6111aa61274a565b73ffffffffffffffffffffffffffffffffffffffff166111c86119bc565b73ffffffffffffffffffffffffffffffffffffffff161461121e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112159061421a565b60405180910390fd5b6004601060006101000a81548160ff0219169083600481111561124457611243613f6c565b5b0217905550565b61125c61125661274a565b826129d5565b61129b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161129290614976565b60405180910390fd5b6112a6838383612ab3565b505050565b600c5481565b6115b381565b6112d283838360405180602001604052806000815250611e82565b505050565b600260048111156112eb576112ea613f6c565b5b601060009054906101000a900460ff16600481111561130d5761130c613f6c565b5b1461134d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611344906141ae565b60405180910390fd5b61135561274a565b73ffffffffffffffffffffffffffffffffffffffff166113736119bc565b73ffffffffffffffffffffffffffffffffffffffff16146113c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113c09061421a565b60405180910390fd5b80600d8190555050565b6004808111156113e6576113e5613f6c565b5b601060009054906101000a900460ff16600481111561140857611407613f6c565b5b14611448576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161143f906149e2565b60405180910390fd5b60006011541461148d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161148490614a4e565b60405180910390fd5b61149561274a565b73ffffffffffffffffffffffffffffffffffffffff166114b36119bc565b73ffffffffffffffffffffffffffffffffffffffff1614611509576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115009061421a565b60405180910390fd5b80600f908051906020019061151f929190613828565b50611528612d0f565b5050565b60115481565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156115db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115d290614ae0565b60405180910390fd5b80915050919050565b600e6020528060005260406000206000915090508060000154905081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611673576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161166a90614b72565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6116c261274a565b73ffffffffffffffffffffffffffffffffffffffff166116e06119bc565b73ffffffffffffffffffffffffffffffffffffffff1614611736576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161172d9061421a565b60405180910390fd5b6117406000612e6b565b565b6000600481111561175657611755613f6c565b5b601060009054906101000a900460ff16600481111561177857611777613f6c565b5b146117b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117af90614bde565b60405180910390fd5b6117c061274a565b73ffffffffffffffffffffffffffffffffffffffff166117de6119bc565b73ffffffffffffffffffffffffffffffffffffffff1614611834576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161182b9061421a565b60405180910390fd5b60008111611877576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161186e90614c4a565b60405180910390fd5b60005b818110156118bc5761189f336001611890610cbb565b61189a9190614558565b6129a1565b6118a960096129bf565b80806118b4906148bb565b91505061187a565b5050565b600060048111156118d4576118d3613f6c565b5b601060009054906101000a900460ff1660048111156118f6576118f5613f6c565b5b14611936576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161192d90614bde565b60405180910390fd5b61193e61274a565b73ffffffffffffffffffffffffffffffffffffffff1661195c6119bc565b73ffffffffffffffffffffffffffffffffffffffff16146119b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119a99061421a565b60405180910390fd5b80600a8190555050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600a5481565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611a7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a7190614cb6565b60405180910390fd5b611a848282612f31565b5050565b606060018054611a9790614269565b80601f0160208091040260200160405190810160405280929190818152602001828054611ac390614269565b8015611b105780601f10611ae557610100808354040283529160200191611b10565b820191906000526020600020905b815481529060010190602001808311611af357829003601f168201915b5050505050905090565b60036004811115611b2e57611b2d613f6c565b5b601060009054906101000a900460ff166004811115611b5057611b4f613f6c565b5b14611b90576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b8790614d22565b60405180910390fd5b80600b54600082118015611ba45750808211155b611be3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bda90614509565b60405180910390fd5b826115b381611bf0610cbb565b611bfa9190614558565b1115611c3b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c32906145fa565b60405180910390fd5b83600d54348183611c4c919061461a565b1115611c8d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c84906146c0565b60405180910390fd5b60026006541415611cd3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cca9061472c565b60405180910390fd5b6002600681905550600b54600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000015487611d2c9190614558565b1115611d6d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d6490614d8e565b60405180910390fd5b85600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000016000828254611dbf9190614558565b9250508190555060005b86811015611e0b57611dee336001611ddf610cbb565b611de99190614558565b6129a1565b611df860096129bf565b8080611e03906148bb565b915050611dc9565b506115b3611e17610cbb565b1415611e49576004601060006101000a81548160ff02191690836004811115611e4357611e42613f6c565b5b02179055505b6001600681905550505050505050565b611e6b611e6461274a565b8383612f55565b5050565b601060009054906101000a900460ff1681565b611e93611e8d61274a565b836129d5565b611ed2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ec990614976565b60405180910390fd5b611ede848484846130c2565b50505050565b60006004811115611ef857611ef7613f6c565b5b601060009054906101000a900460ff166004811115611f1a57611f19613f6c565b5b14611f5a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f5190614bde565b60405180910390fd5b611f6261274a565b73ffffffffffffffffffffffffffffffffffffffff16611f806119bc565b73ffffffffffffffffffffffffffffffffffffffff1614611fd6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fcd9061421a565b60405180910390fd5b80600c8190555050565b6060611feb82612752565b61202a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161202190614dfa565b60405180910390fd5b60606000601154111561206d5761206660016115b36011548661204d9190614558565b6120579190614e49565b6120619190614558565b61311e565b90506120a6565b6040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090505b600f816040516020016120ba929190614f4a565b604051602081830303815290604052915050919050565b600260048111156120e5576120e4613f6c565b5b601060009054906101000a900460ff16600481111561210757612106613f6c565b5b14612147576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161213e906141ae565b60405180910390fd5b61214f61274a565b73ffffffffffffffffffffffffffffffffffffffff1661216d6119bc565b73ffffffffffffffffffffffffffffffffffffffff16146121c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121ba9061421a565b60405180910390fd5b6000600d541415612209576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161220090614fba565b60405180910390fd5b6000600b54141561224f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161224690615026565b60405180910390fd5b6003601060006101000a81548160ff0219169083600481111561227557612274613f6c565b5b0217905550565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61231861274a565b73ffffffffffffffffffffffffffffffffffffffff166123366119bc565b73ffffffffffffffffffffffffffffffffffffffff161461238c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123839061421a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156123fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123f3906150b8565b60405180910390fd5b61240581612e6b565b50565b6000600481111561241c5761241b613f6c565b5b601060009054906101000a900460ff16600481111561243e5761243d613f6c565b5b1461247e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161247590614bde565b60405180910390fd5b61248661274a565b73ffffffffffffffffffffffffffffffffffffffff166124a46119bc565b73ffffffffffffffffffffffffffffffffffffffff16146124fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124f19061421a565b60405180910390fd5b6000600c541415612540576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161253790615124565b60405180910390fd5b6000600a541415612586576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161257d906151b6565b60405180910390fd5b6001601060006101000a81548160ff021916908360048111156125ac576125ab613f6c565b5b0217905550565b6125bb61274a565b73ffffffffffffffffffffffffffffffffffffffff166125d96119bc565b73ffffffffffffffffffffffffffffffffffffffff161461262f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126269061421a565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff168260405161265590615207565b60006040518083038185875af1925050503d8060008114612692576040519150601f19603f3d011682016040523d82523d6000602084013e612697565b606091505b50509050806126db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126d290615268565b60405180910390fd5b505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661283183611532565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600081600001549050919050565b600080600184846040015185600001518660200151604051600081526020016040526040516128b794939291906152a6565b6020604051602081039080840390855afa1580156128d9573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612955576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161294c90615337565b60405180910390fd5b73493e23ed0756415107993fe3d777ca1a356fb03873ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161491505092915050565b6129bb82826040518060200160405280600081525061327f565b5050565b6001816000016000828254019250508190555050565b60006129e082612752565b612a1f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a16906153c9565b60405180910390fd5b6000612a2a83611532565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612a9957508373ffffffffffffffffffffffffffffffffffffffff16612a8184610b12565b73ffffffffffffffffffffffffffffffffffffffff16145b80612aaa5750612aa9818561227c565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612ad382611532565b73ffffffffffffffffffffffffffffffffffffffff1614612b29576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b209061545b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612b99576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b90906154ed565b60405180910390fd5b612ba48383836132da565b612baf6000826127be565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612bff919061550d565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612c569190614558565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b60007f00000000000000000000000000000000000000000000000000000000000000007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401612d8b9190613af9565b60206040518083038186803b158015612da357600080fd5b505afa158015612db7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ddb9190615556565b1015612e1c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e13906155cf565b60405180910390fd5b612e667f00000000000000000000000000000000000000000000000000000000000000007f00000000000000000000000000000000000000000000000000000000000000006132df565b905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60016115b382612f419190614e49565b612f4b9190614558565b6011819055505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612fc4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fbb9061563b565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516130b5919061397f565b60405180910390a3505050565b6130cd848484612ab3565b6130d984848484613441565b613118576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161310f906156cd565b60405180910390fd5b50505050565b60606000821415613166576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061327a565b600082905060005b60008214613198578080613181906148bb565b915050600a8261319191906156ed565b915061316e565b60008167ffffffffffffffff8111156131b4576131b3613baf565b5b6040519080825280601f01601f1916602001820160405280156131e65781602001600182028036833780820191505090505b5090505b60008514613273576001826131ff919061550d565b9150600a8561320e9190614e49565b603061321a9190614558565b60f81b8183815181106132305761322f61571e565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561326c91906156ed565b94506131ea565b8093505050505b919050565b61328983836135d8565b6132966000848484613441565b6132d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132cc906156cd565b60405180910390fd5b505050565b505050565b60007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16634000aea07f00000000000000000000000000000000000000000000000000000000000000008486600060405160200161335392919061574d565b6040516020818303038152906040526040518463ffffffff1660e01b8152600401613380939291906157cb565b602060405180830381600087803b15801561339a57600080fd5b505af11580156133ae573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906133d2919061581e565b5060006133f58460003060076000898152602001908152602001600020546137a6565b9050600160076000868152602001908152602001600020546134179190614558565b600760008681526020019081526020016000208190555061343884826137e2565b91505092915050565b60006134628473ffffffffffffffffffffffffffffffffffffffff16613815565b156135cb578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261348b61274a565b8786866040518563ffffffff1660e01b81526004016134ad949392919061584b565b602060405180830381600087803b1580156134c757600080fd5b505af19250505080156134f857506040513d601f19601f820116820180604052508101906134f591906158ac565b60015b61357b573d8060008114613528576040519150601f19603f3d011682016040523d82523d6000602084013e61352d565b606091505b50600081511415613573576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161356a906156cd565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506135d0565b600190505b949350505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613648576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161363f90615925565b60405180910390fd5b61365181612752565b15613691576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161368890615991565b60405180910390fd5b61369d600083836132da565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546136ed9190614558565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6000848484846040516020016137bf94939291906159b1565b6040516020818303038152906040528051906020012060001c9050949350505050565b600082826040516020016137f7929190615a38565b60405160208183030381529060405280519060200120905092915050565b600080823b905060008111915050919050565b82805461383490614269565b90600052602060002090601f016020900481019282613856576000855561389d565b82601f1061386f57805160ff191683800117855561389d565b8280016001018555821561389d579182015b8281111561389c578251825591602001919060010190613881565b5b5090506138aa91906138ae565b5090565b5b808211156138c75760008160009055506001016138af565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613914816138df565b811461391f57600080fd5b50565b6000813590506139318161390b565b92915050565b60006020828403121561394d5761394c6138d5565b5b600061395b84828501613922565b91505092915050565b60008115159050919050565b61397981613964565b82525050565b60006020820190506139946000830184613970565b92915050565b6000819050919050565b6139ad8161399a565b81146139b857600080fd5b50565b6000813590506139ca816139a4565b92915050565b6000602082840312156139e6576139e56138d5565b5b60006139f4848285016139bb565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613a37578082015181840152602081019050613a1c565b83811115613a46576000848401525b50505050565b6000601f19601f8301169050919050565b6000613a68826139fd565b613a728185613a08565b9350613a82818560208601613a19565b613a8b81613a4c565b840191505092915050565b60006020820190508181036000830152613ab08184613a5d565b905092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613ae382613ab8565b9050919050565b613af381613ad8565b82525050565b6000602082019050613b0e6000830184613aea565b92915050565b613b1d81613ad8565b8114613b2857600080fd5b50565b600081359050613b3a81613b14565b92915050565b60008060408385031215613b5757613b566138d5565b5b6000613b6585828601613b2b565b9250506020613b76858286016139bb565b9150509250929050565b613b898161399a565b82525050565b6000602082019050613ba46000830184613b80565b92915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613be782613a4c565b810181811067ffffffffffffffff82111715613c0657613c05613baf565b5b80604052505050565b6000613c196138cb565b9050613c258282613bde565b919050565b6000819050919050565b613c3d81613c2a565b8114613c4857600080fd5b50565b600081359050613c5a81613c34565b92915050565b600060ff82169050919050565b613c7681613c60565b8114613c8157600080fd5b50565b600081359050613c9381613c6d565b92915050565b600060608284031215613caf57613cae613baa565b5b613cb96060613c0f565b90506000613cc984828501613c4b565b6000830152506020613cdd84828501613c4b565b6020830152506040613cf184828501613c84565b60408301525092915050565b60008060808385031215613d1457613d136138d5565b5b6000613d22858286016139bb565b9250506020613d3385828601613c99565b9150509250929050565b600080600060608486031215613d5657613d556138d5565b5b6000613d6486828701613b2b565b9350506020613d7586828701613b2b565b9250506040613d86868287016139bb565b9150509250925092565b600080fd5b600080fd5b600067ffffffffffffffff821115613db557613db4613baf565b5b613dbe82613a4c565b9050602081019050919050565b82818337600083830152505050565b6000613ded613de884613d9a565b613c0f565b905082815260208101848484011115613e0957613e08613d95565b5b613e14848285613dcb565b509392505050565b600082601f830112613e3157613e30613d90565b5b8135613e41848260208601613dda565b91505092915050565b600060208284031215613e6057613e5f6138d5565b5b600082013567ffffffffffffffff811115613e7e57613e7d6138da565b5b613e8a84828501613e1c565b91505092915050565b600060208284031215613ea957613ea86138d5565b5b6000613eb784828501613b2b565b91505092915050565b60008060408385031215613ed757613ed66138d5565b5b6000613ee585828601613c4b565b9250506020613ef6858286016139bb565b9150509250929050565b613f0981613964565b8114613f1457600080fd5b50565b600081359050613f2681613f00565b92915050565b60008060408385031215613f4357613f426138d5565b5b6000613f5185828601613b2b565b9250506020613f6285828601613f17565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b60058110613fac57613fab613f6c565b5b50565b6000819050613fbd82613f9b565b919050565b6000613fcd82613faf565b9050919050565b613fdd81613fc2565b82525050565b6000602082019050613ff86000830184613fd4565b92915050565b600067ffffffffffffffff82111561401957614018613baf565b5b61402282613a4c565b9050602081019050919050565b600061404261403d84613ffe565b613c0f565b90508281526020810184848401111561405e5761405d613d95565b5b614069848285613dcb565b509392505050565b600082601f83011261408657614085613d90565b5b813561409684826020860161402f565b91505092915050565b600080600080608085870312156140b9576140b86138d5565b5b60006140c787828801613b2b565b94505060206140d887828801613b2b565b93505060406140e9878288016139bb565b925050606085013567ffffffffffffffff81111561410a576141096138da565b5b61411687828801614071565b91505092959194509250565b60008060408385031215614139576141386138d5565b5b600061414785828601613b2b565b925050602061415885828601613b2b565b9150509250929050565b7f5072655075626c6963207068617365206973206e6f74206163746976652e0000600082015250565b6000614198601e83613a08565b91506141a382614162565b602082019050919050565b600060208201905081810360008301526141c78161418b565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614204602083613a08565b915061420f826141ce565b602082019050919050565b60006020820190508181036000830152614233816141f7565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061428157607f821691505b602082108114156142955761429461423a565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b60006142f7602c83613a08565b91506143028261429b565b604082019050919050565b60006020820190508181036000830152614326816142ea565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000614389602183613a08565b91506143948261432d565b604082019050919050565b600060208201905081810360008301526143b88161437c565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b600061441b603883613a08565b9150614426826143bf565b604082019050919050565b6000602082019050818103600083015261444a8161440e565b9050919050565b7f57686974656c6973742073616c65206973206e6f74206163746976652e000000600082015250565b6000614487601d83613a08565b915061449282614451565b602082019050919050565b600060208201905081810360008301526144b68161447a565b9050919050565b7f416d6f756e74206973206f7574206f662072616e67652e000000000000000000600082015250565b60006144f3601783613a08565b91506144fe826144bd565b602082019050919050565b60006020820190508181036000830152614522816144e6565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006145638261399a565b915061456e8361399a565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156145a3576145a2614529565b5b828201905092915050565b7f4d617820737570706c792065786365656465642e000000000000000000000000600082015250565b60006145e4601483613a08565b91506145ef826145ae565b602082019050919050565b60006020820190508181036000830152614613816145d7565b9050919050565b60006146258261399a565b91506146308361399a565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561466957614668614529565b5b828202905092915050565b7f45746865722076616c75652073656e74206973206e6f7420636f72726563742e600082015250565b60006146aa602083613a08565b91506146b582614674565b602082019050919050565b600060208201905081810360008301526146d98161469d565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000614716601f83613a08565b9150614721826146e0565b602082019050919050565b6000602082019050818103600083015261474581614709565b9050919050565b7f45786365656473206e756d626572206f662077686974656c697374206d696e7460008201527f7320616c6c6f7765642e00000000000000000000000000000000000000000000602082015250565b60006147a8602a83613a08565b91506147b38261474c565b604082019050919050565b600060208201905081810360008301526147d78161479b565b9050919050565b600181106147ef576147ee613f6c565b5b50565b6000819050614800826147de565b919050565b6000614810826147f2565b9050919050565b61482081614805565b82525050565b600060408201905061483b6000830185614817565b6148486020830184613aea565b9392505050565b7f496e76616c696420636f75706f6e000000000000000000000000000000000000600082015250565b6000614885600e83613a08565b91506148908261484f565b602082019050919050565b600060208201905081810360008301526148b481614878565b9050919050565b60006148c68261399a565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156148f9576148f8614529565b5b600182019050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b6000614960603183613a08565b915061496b82614904565b604082019050919050565b6000602082019050818103600083015261498f81614953565b9050919050565b7f53616c6520686173206e6f7420656e6465642e00000000000000000000000000600082015250565b60006149cc601383613a08565b91506149d782614996565b602082019050919050565b600060208201905081810360008301526149fb816149bf565b9050919050565b7f416c72656164792072616e646f6d697a65642e00000000000000000000000000600082015250565b6000614a38601383613a08565b9150614a4382614a02565b602082019050919050565b60006020820190508181036000830152614a6781614a2b565b9050919050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b6000614aca602983613a08565b9150614ad582614a6e565b604082019050919050565b60006020820190508181036000830152614af981614abd565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b6000614b5c602a83613a08565b9150614b6782614b00565b604082019050919050565b60006020820190508181036000830152614b8b81614b4f565b9050919050565b7f4d696e74696e67206973206e6f74206c6f636b65642e00000000000000000000600082015250565b6000614bc8601683613a08565b9150614bd382614b92565b602082019050919050565b60006020820190508181036000830152614bf781614bbb565b9050919050565b7f416d6f756e742063616e2774206265207a65726f2e0000000000000000000000600082015250565b6000614c34601583613a08565b9150614c3f82614bfe565b602082019050919050565b60006020820190508181036000830152614c6381614c27565b9050919050565b7f4f6e6c7920565246436f6f7264696e61746f722063616e2066756c66696c6c00600082015250565b6000614ca0601f83613a08565b9150614cab82614c6a565b602082019050919050565b60006020820190508181036000830152614ccf81614c93565b9050919050565b7f5075626c69632073616c65206973206e6f74206163746976652e000000000000600082015250565b6000614d0c601a83613a08565b9150614d1782614cd6565b602082019050919050565b60006020820190508181036000830152614d3b81614cff565b9050919050565b7f45786365656473206e756d626572206f66206d696e747320616c6c6f7765642e600082015250565b6000614d78602083613a08565b9150614d8382614d42565b602082019050919050565b60006020820190508181036000830152614da781614d6b565b9050919050565b7f4e6f6e6578697374656e7420746f6b656e2e0000000000000000000000000000600082015250565b6000614de4601283613a08565b9150614def82614dae565b602082019050919050565b60006020820190508181036000830152614e1381614dd7565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614e548261399a565b9150614e5f8361399a565b925082614e6f57614e6e614e1a565b5b828206905092915050565b600081905092915050565b60008190508160005260206000209050919050565b60008154614ea781614269565b614eb18186614e7a565b94506001821660008114614ecc5760018114614edd57614f10565b60ff19831686528186019350614f10565b614ee685614e85565b60005b83811015614f0857815481890152600182019150602081019050614ee9565b838801955050505b50505092915050565b6000614f24826139fd565b614f2e8185614e7a565b9350614f3e818560208601613a19565b80840191505092915050565b6000614f568285614e9a565b9150614f628284614f19565b91508190509392505050565b7f5075626c6963207072696365206973206e6f74207365742e0000000000000000600082015250565b6000614fa4601883613a08565b9150614faf82614f6e565b602082019050919050565b60006020820190508181036000830152614fd381614f97565b9050919050565b7f4d6178207075626c6963206d696e7420616d6f756e74206e6f74207365742e00600082015250565b6000615010601f83613a08565b915061501b82614fda565b602082019050919050565b6000602082019050818103600083015261503f81615003565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006150a2602683613a08565b91506150ad82615046565b604082019050919050565b600060208201905081810360008301526150d181615095565b9050919050565b7f57686974656c697374207072696365206973206e6f74207365742e0000000000600082015250565b600061510e601b83613a08565b9150615119826150d8565b602082019050919050565b6000602082019050818103600083015261513d81615101565b9050919050565b7f4d61782077686974656c697374206d696e7420616d6f756e74206e6f7420736560008201527f742e000000000000000000000000000000000000000000000000000000000000602082015250565b60006151a0602283613a08565b91506151ab82615144565b604082019050919050565b600060208201905081810360008301526151cf81615193565b9050919050565b600081905092915050565b50565b60006151f16000836151d6565b91506151fc826151e1565b600082019050919050565b6000615212826151e4565b9150819050919050565b7f5472616e73666572206661696c65642e00000000000000000000000000000000600082015250565b6000615252601083613a08565b915061525d8261521c565b602082019050919050565b6000602082019050818103600083015261528181615245565b9050919050565b61529181613c2a565b82525050565b6152a081613c60565b82525050565b60006080820190506152bb6000830187615288565b6152c86020830186615297565b6152d56040830185615288565b6152e26060830184615288565b95945050505050565b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b6000615321601883613a08565b915061532c826152eb565b602082019050919050565b6000602082019050818103600083015261535081615314565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b60006153b3602c83613a08565b91506153be82615357565b604082019050919050565b600060208201905081810360008301526153e2816153a6565b9050919050565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b6000615445602983613a08565b9150615450826153e9565b604082019050919050565b6000602082019050818103600083015261547481615438565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006154d7602483613a08565b91506154e28261547b565b604082019050919050565b60006020820190508181036000830152615506816154ca565b9050919050565b60006155188261399a565b91506155238361399a565b92508282101561553657615535614529565b5b828203905092915050565b600081519050615550816139a4565b92915050565b60006020828403121561556c5761556b6138d5565b5b600061557a84828501615541565b91505092915050565b7f4e6f7420656e6f756768204c494e4b2e00000000000000000000000000000000600082015250565b60006155b9601083613a08565b91506155c482615583565b602082019050919050565b600060208201905081810360008301526155e8816155ac565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000615625601983613a08565b9150615630826155ef565b602082019050919050565b6000602082019050818103600083015261565481615618565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b60006156b7603283613a08565b91506156c28261565b565b604082019050919050565b600060208201905081810360008301526156e6816156aa565b9050919050565b60006156f88261399a565b91506157038361399a565b92508261571357615712614e1a565b5b828204905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60006040820190506157626000830185615288565b61576f6020830184613b80565b9392505050565b600081519050919050565b600082825260208201905092915050565b600061579d82615776565b6157a78185615781565b93506157b7818560208601613a19565b6157c081613a4c565b840191505092915050565b60006060820190506157e06000830186613aea565b6157ed6020830185613b80565b81810360408301526157ff8184615792565b9050949350505050565b60008151905061581881613f00565b92915050565b600060208284031215615834576158336138d5565b5b600061584284828501615809565b91505092915050565b60006080820190506158606000830187613aea565b61586d6020830186613aea565b61587a6040830185613b80565b818103606083015261588c8184615792565b905095945050505050565b6000815190506158a68161390b565b92915050565b6000602082840312156158c2576158c16138d5565b5b60006158d084828501615897565b91505092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b600061590f602083613a08565b915061591a826158d9565b602082019050919050565b6000602082019050818103600083015261593e81615902565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b600061597b601c83613a08565b915061598682615945565b602082019050919050565b600060208201905081810360008301526159aa8161596e565b9050919050565b60006080820190506159c66000830187615288565b6159d36020830186613b80565b6159e06040830185613aea565b6159ed6060830184613b80565b95945050505050565b6000819050919050565b615a11615a0c82613c2a565b6159f6565b82525050565b6000819050919050565b615a32615a2d8261399a565b615a17565b82525050565b6000615a448285615a00565b602082019150615a548284615a21565b602082019150819050939250505056fea2646970667358221220f34f6c22cff04ac45edf51cf43276edc2482ad3cab3271b4d6387cc5856a6cd464736f6c63430008090033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000001343727970746f2050616e7468657220436c756200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000343504300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000043697066733a2f2f62616679626569636a7a6766707a7663653679746836666e7365723761337862673361716b36646f6273346b6171706e62353462756168616b79692f0000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106102305760003560e01c806363820f231161012e578063a22cb465116100ab578063e13b27f41161006f578063e13b27f4146107e5578063e985e9c5146107fc578063f2fde38b14610839578063f376b2f614610862578063f3fef3a31461087957610230565b8063a22cb46514610702578063b1c9fe6e1461072b578063b88d4fde14610756578063b95f8b5f1461077f578063c87b56dd146107a857610230565b80638da5cb5b116100f25780638da5cb5b1461063c5780638e563bdf1461066757806394985ddd1461069257806395d89b41146106bb578063a0712d68146106e657610230565b806363820f231461055957806370a0823114610596578063715018a6146105d3578063819b25ba146105ea57806387b95a191461061357610230565b80631e316d70116101bc57806342842e0e1161018057806342842e0e146104765780634530a8321461049f5780634c261247146104c85780635d09e698146104f15780636352211e1461051c57610230565b80631e316d70146103c457806322fa38af146103e057806323b872dd146103f75780632fff17961461042057806332cb6b0c1461044b57610230565b8063095ea7b311610203578063095ea7b314610303578063102e766d1461032c5780631597cb001461035757806318160ddd146103825780631d84239b146103ad57610230565b806301ffc9a714610235578063051e959c1461027257806306fdde031461029b578063081812fc146102c6575b600080fd5b34801561024157600080fd5b5061025c60048036038101906102579190613937565b6108a2565b604051610269919061397f565b60405180910390f35b34801561027e57600080fd5b50610299600480360381019061029491906139d0565b610984565b005b3480156102a757600080fd5b506102b0610a80565b6040516102bd9190613a96565b60405180910390f35b3480156102d257600080fd5b506102ed60048036038101906102e891906139d0565b610b12565b6040516102fa9190613af9565b60405180910390f35b34801561030f57600080fd5b5061032a60048036038101906103259190613b40565b610b97565b005b34801561033857600080fd5b50610341610caf565b60405161034e9190613b8f565b60405180910390f35b34801561036357600080fd5b5061036c610cb5565b6040516103799190613b8f565b60405180910390f35b34801561038e57600080fd5b50610397610cbb565b6040516103a49190613b8f565b60405180910390f35b3480156103b957600080fd5b506103c2610ccc565b005b6103de60048036038101906103d99190613cfd565b610deb565b005b3480156103ec57600080fd5b506103f56111a2565b005b34801561040357600080fd5b5061041e60048036038101906104199190613d3d565b61124b565b005b34801561042c57600080fd5b506104356112ab565b6040516104429190613b8f565b60405180910390f35b34801561045757600080fd5b506104606112b1565b60405161046d9190613b8f565b60405180910390f35b34801561048257600080fd5b5061049d60048036038101906104989190613d3d565b6112b7565b005b3480156104ab57600080fd5b506104c660048036038101906104c191906139d0565b6112d7565b005b3480156104d457600080fd5b506104ef60048036038101906104ea9190613e4a565b6113d3565b005b3480156104fd57600080fd5b5061050661152c565b6040516105139190613b8f565b60405180910390f35b34801561052857600080fd5b50610543600480360381019061053e91906139d0565b611532565b6040516105509190613af9565b60405180910390f35b34801561056557600080fd5b50610580600480360381019061057b9190613e93565b6115e4565b60405161058d9190613b8f565b60405180910390f35b3480156105a257600080fd5b506105bd60048036038101906105b89190613e93565b611602565b6040516105ca9190613b8f565b60405180910390f35b3480156105df57600080fd5b506105e86116ba565b005b3480156105f657600080fd5b50610611600480360381019061060c91906139d0565b611742565b005b34801561061f57600080fd5b5061063a600480360381019061063591906139d0565b6118c0565b005b34801561064857600080fd5b506106516119bc565b60405161065e9190613af9565b60405180910390f35b34801561067357600080fd5b5061067c6119e6565b6040516106899190613b8f565b60405180910390f35b34801561069e57600080fd5b506106b960048036038101906106b49190613ec0565b6119ec565b005b3480156106c757600080fd5b506106d0611a88565b6040516106dd9190613a96565b60405180910390f35b61070060048036038101906106fb91906139d0565b611b1a565b005b34801561070e57600080fd5b5061072960048036038101906107249190613f2c565b611e59565b005b34801561073757600080fd5b50610740611e6f565b60405161074d9190613fe3565b60405180910390f35b34801561076257600080fd5b5061077d6004803603810190610778919061409f565b611e82565b005b34801561078b57600080fd5b506107a660048036038101906107a191906139d0565b611ee4565b005b3480156107b457600080fd5b506107cf60048036038101906107ca91906139d0565b611fe0565b6040516107dc9190613a96565b60405180910390f35b3480156107f157600080fd5b506107fa6120d1565b005b34801561080857600080fd5b50610823600480360381019061081e9190614122565b61227c565b604051610830919061397f565b60405180910390f35b34801561084557600080fd5b50610860600480360381019061085b9190613e93565b612310565b005b34801561086e57600080fd5b50610877612408565b005b34801561088557600080fd5b506108a0600480360381019061089b9190613b40565b6125b3565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061096d57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061097d575061097c826126e0565b5b9050919050565b6002600481111561099857610997613f6c565b5b601060009054906101000a900460ff1660048111156109ba576109b9613f6c565b5b146109fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109f1906141ae565b60405180910390fd5b610a0261274a565b73ffffffffffffffffffffffffffffffffffffffff16610a206119bc565b73ffffffffffffffffffffffffffffffffffffffff1614610a76576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a6d9061421a565b60405180910390fd5b80600b8190555050565b606060008054610a8f90614269565b80601f0160208091040260200160405190810160405280929190818152602001828054610abb90614269565b8015610b085780601f10610add57610100808354040283529160200191610b08565b820191906000526020600020905b815481529060010190602001808311610aeb57829003601f168201915b5050505050905090565b6000610b1d82612752565b610b5c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b539061430d565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610ba282611532565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610c13576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c0a9061439f565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610c3261274a565b73ffffffffffffffffffffffffffffffffffffffff161480610c615750610c6081610c5b61274a565b61227c565b5b610ca0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c9790614431565b60405180910390fd5b610caa83836127be565b505050565b600d5481565b600b5481565b6000610cc76009612877565b905090565b60016004811115610ce057610cdf613f6c565b5b601060009054906101000a900460ff166004811115610d0257610d01613f6c565b5b14610d42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d399061449d565b60405180910390fd5b610d4a61274a565b73ffffffffffffffffffffffffffffffffffffffff16610d686119bc565b73ffffffffffffffffffffffffffffffffffffffff1614610dbe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610db59061421a565b60405180910390fd5b6002601060006101000a81548160ff02191690836004811115610de457610de3613f6c565b5b0217905550565b60016004811115610dff57610dfe613f6c565b5b601060009054906101000a900460ff166004811115610e2157610e20613f6c565b5b14610e61576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e589061449d565b60405180910390fd5b81600a54600082118015610e755750808211155b610eb4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eab90614509565b60405180910390fd5b836115b381610ec1610cbb565b610ecb9190614558565b1115610f0c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f03906145fa565b60405180910390fd5b84600c54348183610f1d919061461a565b1115610f5e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f55906146c0565b60405180910390fd5b60026006541415610fa4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f9b9061472c565b60405180910390fd5b6002600681905550600a54600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000015488610ffd9190614558565b111561103e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611035906147be565b60405180910390fd5b60008033604051602001611053929190614826565b6040516020818303038152906040528051906020012090506110758188612885565b6110b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110ab9061489b565b60405180910390fd5b87600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282546111069190614558565b9250508190555060005b8881101561115257611135336001611126610cbb565b6111309190614558565b6129a1565b61113f60096129bf565b808061114a906148bb565b915050611110565b506115b361115e610cbb565b1415611190576004601060006101000a81548160ff0219169083600481111561118a57611189613f6c565b5b02179055505b50600160068190555050505050505050565b6111aa61274a565b73ffffffffffffffffffffffffffffffffffffffff166111c86119bc565b73ffffffffffffffffffffffffffffffffffffffff161461121e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112159061421a565b60405180910390fd5b6004601060006101000a81548160ff0219169083600481111561124457611243613f6c565b5b0217905550565b61125c61125661274a565b826129d5565b61129b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161129290614976565b60405180910390fd5b6112a6838383612ab3565b505050565b600c5481565b6115b381565b6112d283838360405180602001604052806000815250611e82565b505050565b600260048111156112eb576112ea613f6c565b5b601060009054906101000a900460ff16600481111561130d5761130c613f6c565b5b1461134d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611344906141ae565b60405180910390fd5b61135561274a565b73ffffffffffffffffffffffffffffffffffffffff166113736119bc565b73ffffffffffffffffffffffffffffffffffffffff16146113c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113c09061421a565b60405180910390fd5b80600d8190555050565b6004808111156113e6576113e5613f6c565b5b601060009054906101000a900460ff16600481111561140857611407613f6c565b5b14611448576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161143f906149e2565b60405180910390fd5b60006011541461148d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161148490614a4e565b60405180910390fd5b61149561274a565b73ffffffffffffffffffffffffffffffffffffffff166114b36119bc565b73ffffffffffffffffffffffffffffffffffffffff1614611509576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115009061421a565b60405180910390fd5b80600f908051906020019061151f929190613828565b50611528612d0f565b5050565b60115481565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156115db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115d290614ae0565b60405180910390fd5b80915050919050565b600e6020528060005260406000206000915090508060000154905081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611673576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161166a90614b72565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6116c261274a565b73ffffffffffffffffffffffffffffffffffffffff166116e06119bc565b73ffffffffffffffffffffffffffffffffffffffff1614611736576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161172d9061421a565b60405180910390fd5b6117406000612e6b565b565b6000600481111561175657611755613f6c565b5b601060009054906101000a900460ff16600481111561177857611777613f6c565b5b146117b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117af90614bde565b60405180910390fd5b6117c061274a565b73ffffffffffffffffffffffffffffffffffffffff166117de6119bc565b73ffffffffffffffffffffffffffffffffffffffff1614611834576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161182b9061421a565b60405180910390fd5b60008111611877576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161186e90614c4a565b60405180910390fd5b60005b818110156118bc5761189f336001611890610cbb565b61189a9190614558565b6129a1565b6118a960096129bf565b80806118b4906148bb565b91505061187a565b5050565b600060048111156118d4576118d3613f6c565b5b601060009054906101000a900460ff1660048111156118f6576118f5613f6c565b5b14611936576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161192d90614bde565b60405180910390fd5b61193e61274a565b73ffffffffffffffffffffffffffffffffffffffff1661195c6119bc565b73ffffffffffffffffffffffffffffffffffffffff16146119b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119a99061421a565b60405180910390fd5b80600a8190555050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600a5481565b7f000000000000000000000000f0d54349addcf704f77ae15b96510dea15cb795273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611a7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a7190614cb6565b60405180910390fd5b611a848282612f31565b5050565b606060018054611a9790614269565b80601f0160208091040260200160405190810160405280929190818152602001828054611ac390614269565b8015611b105780601f10611ae557610100808354040283529160200191611b10565b820191906000526020600020905b815481529060010190602001808311611af357829003601f168201915b5050505050905090565b60036004811115611b2e57611b2d613f6c565b5b601060009054906101000a900460ff166004811115611b5057611b4f613f6c565b5b14611b90576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b8790614d22565b60405180910390fd5b80600b54600082118015611ba45750808211155b611be3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bda90614509565b60405180910390fd5b826115b381611bf0610cbb565b611bfa9190614558565b1115611c3b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c32906145fa565b60405180910390fd5b83600d54348183611c4c919061461a565b1115611c8d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c84906146c0565b60405180910390fd5b60026006541415611cd3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cca9061472c565b60405180910390fd5b6002600681905550600b54600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000015487611d2c9190614558565b1115611d6d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d6490614d8e565b60405180910390fd5b85600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000016000828254611dbf9190614558565b9250508190555060005b86811015611e0b57611dee336001611ddf610cbb565b611de99190614558565b6129a1565b611df860096129bf565b8080611e03906148bb565b915050611dc9565b506115b3611e17610cbb565b1415611e49576004601060006101000a81548160ff02191690836004811115611e4357611e42613f6c565b5b02179055505b6001600681905550505050505050565b611e6b611e6461274a565b8383612f55565b5050565b601060009054906101000a900460ff1681565b611e93611e8d61274a565b836129d5565b611ed2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ec990614976565b60405180910390fd5b611ede848484846130c2565b50505050565b60006004811115611ef857611ef7613f6c565b5b601060009054906101000a900460ff166004811115611f1a57611f19613f6c565b5b14611f5a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f5190614bde565b60405180910390fd5b611f6261274a565b73ffffffffffffffffffffffffffffffffffffffff16611f806119bc565b73ffffffffffffffffffffffffffffffffffffffff1614611fd6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fcd9061421a565b60405180910390fd5b80600c8190555050565b6060611feb82612752565b61202a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161202190614dfa565b60405180910390fd5b60606000601154111561206d5761206660016115b36011548661204d9190614558565b6120579190614e49565b6120619190614558565b61311e565b90506120a6565b6040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090505b600f816040516020016120ba929190614f4a565b604051602081830303815290604052915050919050565b600260048111156120e5576120e4613f6c565b5b601060009054906101000a900460ff16600481111561210757612106613f6c565b5b14612147576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161213e906141ae565b60405180910390fd5b61214f61274a565b73ffffffffffffffffffffffffffffffffffffffff1661216d6119bc565b73ffffffffffffffffffffffffffffffffffffffff16146121c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121ba9061421a565b60405180910390fd5b6000600d541415612209576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161220090614fba565b60405180910390fd5b6000600b54141561224f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161224690615026565b60405180910390fd5b6003601060006101000a81548160ff0219169083600481111561227557612274613f6c565b5b0217905550565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61231861274a565b73ffffffffffffffffffffffffffffffffffffffff166123366119bc565b73ffffffffffffffffffffffffffffffffffffffff161461238c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123839061421a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156123fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123f3906150b8565b60405180910390fd5b61240581612e6b565b50565b6000600481111561241c5761241b613f6c565b5b601060009054906101000a900460ff16600481111561243e5761243d613f6c565b5b1461247e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161247590614bde565b60405180910390fd5b61248661274a565b73ffffffffffffffffffffffffffffffffffffffff166124a46119bc565b73ffffffffffffffffffffffffffffffffffffffff16146124fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124f19061421a565b60405180910390fd5b6000600c541415612540576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161253790615124565b60405180910390fd5b6000600a541415612586576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161257d906151b6565b60405180910390fd5b6001601060006101000a81548160ff021916908360048111156125ac576125ab613f6c565b5b0217905550565b6125bb61274a565b73ffffffffffffffffffffffffffffffffffffffff166125d96119bc565b73ffffffffffffffffffffffffffffffffffffffff161461262f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126269061421a565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff168260405161265590615207565b60006040518083038185875af1925050503d8060008114612692576040519150601f19603f3d011682016040523d82523d6000602084013e612697565b606091505b50509050806126db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126d290615268565b60405180910390fd5b505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661283183611532565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600081600001549050919050565b600080600184846040015185600001518660200151604051600081526020016040526040516128b794939291906152a6565b6020604051602081039080840390855afa1580156128d9573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612955576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161294c90615337565b60405180910390fd5b73493e23ed0756415107993fe3d777ca1a356fb03873ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161491505092915050565b6129bb82826040518060200160405280600081525061327f565b5050565b6001816000016000828254019250508190555050565b60006129e082612752565b612a1f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a16906153c9565b60405180910390fd5b6000612a2a83611532565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612a9957508373ffffffffffffffffffffffffffffffffffffffff16612a8184610b12565b73ffffffffffffffffffffffffffffffffffffffff16145b80612aaa5750612aa9818561227c565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612ad382611532565b73ffffffffffffffffffffffffffffffffffffffff1614612b29576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b209061545b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612b99576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b90906154ed565b60405180910390fd5b612ba48383836132da565b612baf6000826127be565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612bff919061550d565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612c569190614558565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b60007f0000000000000000000000000000000000000000000000001bc16d674ec800007f000000000000000000000000514910771af9ca656af840dff83e8264ecf986ca73ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401612d8b9190613af9565b60206040518083038186803b158015612da357600080fd5b505afa158015612db7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ddb9190615556565b1015612e1c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e13906155cf565b60405180910390fd5b612e667faa77729d3466ca35ae8d28b3bbac7cc36a5031efdc430821c02bc31a238af4457f0000000000000000000000000000000000000000000000001bc16d674ec800006132df565b905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60016115b382612f419190614e49565b612f4b9190614558565b6011819055505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612fc4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fbb9061563b565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516130b5919061397f565b60405180910390a3505050565b6130cd848484612ab3565b6130d984848484613441565b613118576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161310f906156cd565b60405180910390fd5b50505050565b60606000821415613166576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061327a565b600082905060005b60008214613198578080613181906148bb565b915050600a8261319191906156ed565b915061316e565b60008167ffffffffffffffff8111156131b4576131b3613baf565b5b6040519080825280601f01601f1916602001820160405280156131e65781602001600182028036833780820191505090505b5090505b60008514613273576001826131ff919061550d565b9150600a8561320e9190614e49565b603061321a9190614558565b60f81b8183815181106132305761322f61571e565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561326c91906156ed565b94506131ea565b8093505050505b919050565b61328983836135d8565b6132966000848484613441565b6132d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132cc906156cd565b60405180910390fd5b505050565b505050565b60007f000000000000000000000000514910771af9ca656af840dff83e8264ecf986ca73ffffffffffffffffffffffffffffffffffffffff16634000aea07f000000000000000000000000f0d54349addcf704f77ae15b96510dea15cb79528486600060405160200161335392919061574d565b6040516020818303038152906040526040518463ffffffff1660e01b8152600401613380939291906157cb565b602060405180830381600087803b15801561339a57600080fd5b505af11580156133ae573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906133d2919061581e565b5060006133f58460003060076000898152602001908152602001600020546137a6565b9050600160076000868152602001908152602001600020546134179190614558565b600760008681526020019081526020016000208190555061343884826137e2565b91505092915050565b60006134628473ffffffffffffffffffffffffffffffffffffffff16613815565b156135cb578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261348b61274a565b8786866040518563ffffffff1660e01b81526004016134ad949392919061584b565b602060405180830381600087803b1580156134c757600080fd5b505af19250505080156134f857506040513d601f19601f820116820180604052508101906134f591906158ac565b60015b61357b573d8060008114613528576040519150601f19603f3d011682016040523d82523d6000602084013e61352d565b606091505b50600081511415613573576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161356a906156cd565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506135d0565b600190505b949350505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613648576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161363f90615925565b60405180910390fd5b61365181612752565b15613691576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161368890615991565b60405180910390fd5b61369d600083836132da565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546136ed9190614558565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6000848484846040516020016137bf94939291906159b1565b6040516020818303038152906040528051906020012060001c9050949350505050565b600082826040516020016137f7929190615a38565b60405160208183030381529060405280519060200120905092915050565b600080823b905060008111915050919050565b82805461383490614269565b90600052602060002090601f016020900481019282613856576000855561389d565b82601f1061386f57805160ff191683800117855561389d565b8280016001018555821561389d579182015b8281111561389c578251825591602001919060010190613881565b5b5090506138aa91906138ae565b5090565b5b808211156138c75760008160009055506001016138af565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613914816138df565b811461391f57600080fd5b50565b6000813590506139318161390b565b92915050565b60006020828403121561394d5761394c6138d5565b5b600061395b84828501613922565b91505092915050565b60008115159050919050565b61397981613964565b82525050565b60006020820190506139946000830184613970565b92915050565b6000819050919050565b6139ad8161399a565b81146139b857600080fd5b50565b6000813590506139ca816139a4565b92915050565b6000602082840312156139e6576139e56138d5565b5b60006139f4848285016139bb565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613a37578082015181840152602081019050613a1c565b83811115613a46576000848401525b50505050565b6000601f19601f8301169050919050565b6000613a68826139fd565b613a728185613a08565b9350613a82818560208601613a19565b613a8b81613a4c565b840191505092915050565b60006020820190508181036000830152613ab08184613a5d565b905092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613ae382613ab8565b9050919050565b613af381613ad8565b82525050565b6000602082019050613b0e6000830184613aea565b92915050565b613b1d81613ad8565b8114613b2857600080fd5b50565b600081359050613b3a81613b14565b92915050565b60008060408385031215613b5757613b566138d5565b5b6000613b6585828601613b2b565b9250506020613b76858286016139bb565b9150509250929050565b613b898161399a565b82525050565b6000602082019050613ba46000830184613b80565b92915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613be782613a4c565b810181811067ffffffffffffffff82111715613c0657613c05613baf565b5b80604052505050565b6000613c196138cb565b9050613c258282613bde565b919050565b6000819050919050565b613c3d81613c2a565b8114613c4857600080fd5b50565b600081359050613c5a81613c34565b92915050565b600060ff82169050919050565b613c7681613c60565b8114613c8157600080fd5b50565b600081359050613c9381613c6d565b92915050565b600060608284031215613caf57613cae613baa565b5b613cb96060613c0f565b90506000613cc984828501613c4b565b6000830152506020613cdd84828501613c4b565b6020830152506040613cf184828501613c84565b60408301525092915050565b60008060808385031215613d1457613d136138d5565b5b6000613d22858286016139bb565b9250506020613d3385828601613c99565b9150509250929050565b600080600060608486031215613d5657613d556138d5565b5b6000613d6486828701613b2b565b9350506020613d7586828701613b2b565b9250506040613d86868287016139bb565b9150509250925092565b600080fd5b600080fd5b600067ffffffffffffffff821115613db557613db4613baf565b5b613dbe82613a4c565b9050602081019050919050565b82818337600083830152505050565b6000613ded613de884613d9a565b613c0f565b905082815260208101848484011115613e0957613e08613d95565b5b613e14848285613dcb565b509392505050565b600082601f830112613e3157613e30613d90565b5b8135613e41848260208601613dda565b91505092915050565b600060208284031215613e6057613e5f6138d5565b5b600082013567ffffffffffffffff811115613e7e57613e7d6138da565b5b613e8a84828501613e1c565b91505092915050565b600060208284031215613ea957613ea86138d5565b5b6000613eb784828501613b2b565b91505092915050565b60008060408385031215613ed757613ed66138d5565b5b6000613ee585828601613c4b565b9250506020613ef6858286016139bb565b9150509250929050565b613f0981613964565b8114613f1457600080fd5b50565b600081359050613f2681613f00565b92915050565b60008060408385031215613f4357613f426138d5565b5b6000613f5185828601613b2b565b9250506020613f6285828601613f17565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b60058110613fac57613fab613f6c565b5b50565b6000819050613fbd82613f9b565b919050565b6000613fcd82613faf565b9050919050565b613fdd81613fc2565b82525050565b6000602082019050613ff86000830184613fd4565b92915050565b600067ffffffffffffffff82111561401957614018613baf565b5b61402282613a4c565b9050602081019050919050565b600061404261403d84613ffe565b613c0f565b90508281526020810184848401111561405e5761405d613d95565b5b614069848285613dcb565b509392505050565b600082601f83011261408657614085613d90565b5b813561409684826020860161402f565b91505092915050565b600080600080608085870312156140b9576140b86138d5565b5b60006140c787828801613b2b565b94505060206140d887828801613b2b565b93505060406140e9878288016139bb565b925050606085013567ffffffffffffffff81111561410a576141096138da565b5b61411687828801614071565b91505092959194509250565b60008060408385031215614139576141386138d5565b5b600061414785828601613b2b565b925050602061415885828601613b2b565b9150509250929050565b7f5072655075626c6963207068617365206973206e6f74206163746976652e0000600082015250565b6000614198601e83613a08565b91506141a382614162565b602082019050919050565b600060208201905081810360008301526141c78161418b565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614204602083613a08565b915061420f826141ce565b602082019050919050565b60006020820190508181036000830152614233816141f7565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061428157607f821691505b602082108114156142955761429461423a565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b60006142f7602c83613a08565b91506143028261429b565b604082019050919050565b60006020820190508181036000830152614326816142ea565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000614389602183613a08565b91506143948261432d565b604082019050919050565b600060208201905081810360008301526143b88161437c565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b600061441b603883613a08565b9150614426826143bf565b604082019050919050565b6000602082019050818103600083015261444a8161440e565b9050919050565b7f57686974656c6973742073616c65206973206e6f74206163746976652e000000600082015250565b6000614487601d83613a08565b915061449282614451565b602082019050919050565b600060208201905081810360008301526144b68161447a565b9050919050565b7f416d6f756e74206973206f7574206f662072616e67652e000000000000000000600082015250565b60006144f3601783613a08565b91506144fe826144bd565b602082019050919050565b60006020820190508181036000830152614522816144e6565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006145638261399a565b915061456e8361399a565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156145a3576145a2614529565b5b828201905092915050565b7f4d617820737570706c792065786365656465642e000000000000000000000000600082015250565b60006145e4601483613a08565b91506145ef826145ae565b602082019050919050565b60006020820190508181036000830152614613816145d7565b9050919050565b60006146258261399a565b91506146308361399a565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561466957614668614529565b5b828202905092915050565b7f45746865722076616c75652073656e74206973206e6f7420636f72726563742e600082015250565b60006146aa602083613a08565b91506146b582614674565b602082019050919050565b600060208201905081810360008301526146d98161469d565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000614716601f83613a08565b9150614721826146e0565b602082019050919050565b6000602082019050818103600083015261474581614709565b9050919050565b7f45786365656473206e756d626572206f662077686974656c697374206d696e7460008201527f7320616c6c6f7765642e00000000000000000000000000000000000000000000602082015250565b60006147a8602a83613a08565b91506147b38261474c565b604082019050919050565b600060208201905081810360008301526147d78161479b565b9050919050565b600181106147ef576147ee613f6c565b5b50565b6000819050614800826147de565b919050565b6000614810826147f2565b9050919050565b61482081614805565b82525050565b600060408201905061483b6000830185614817565b6148486020830184613aea565b9392505050565b7f496e76616c696420636f75706f6e000000000000000000000000000000000000600082015250565b6000614885600e83613a08565b91506148908261484f565b602082019050919050565b600060208201905081810360008301526148b481614878565b9050919050565b60006148c68261399a565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156148f9576148f8614529565b5b600182019050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b6000614960603183613a08565b915061496b82614904565b604082019050919050565b6000602082019050818103600083015261498f81614953565b9050919050565b7f53616c6520686173206e6f7420656e6465642e00000000000000000000000000600082015250565b60006149cc601383613a08565b91506149d782614996565b602082019050919050565b600060208201905081810360008301526149fb816149bf565b9050919050565b7f416c72656164792072616e646f6d697a65642e00000000000000000000000000600082015250565b6000614a38601383613a08565b9150614a4382614a02565b602082019050919050565b60006020820190508181036000830152614a6781614a2b565b9050919050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b6000614aca602983613a08565b9150614ad582614a6e565b604082019050919050565b60006020820190508181036000830152614af981614abd565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b6000614b5c602a83613a08565b9150614b6782614b00565b604082019050919050565b60006020820190508181036000830152614b8b81614b4f565b9050919050565b7f4d696e74696e67206973206e6f74206c6f636b65642e00000000000000000000600082015250565b6000614bc8601683613a08565b9150614bd382614b92565b602082019050919050565b60006020820190508181036000830152614bf781614bbb565b9050919050565b7f416d6f756e742063616e2774206265207a65726f2e0000000000000000000000600082015250565b6000614c34601583613a08565b9150614c3f82614bfe565b602082019050919050565b60006020820190508181036000830152614c6381614c27565b9050919050565b7f4f6e6c7920565246436f6f7264696e61746f722063616e2066756c66696c6c00600082015250565b6000614ca0601f83613a08565b9150614cab82614c6a565b602082019050919050565b60006020820190508181036000830152614ccf81614c93565b9050919050565b7f5075626c69632073616c65206973206e6f74206163746976652e000000000000600082015250565b6000614d0c601a83613a08565b9150614d1782614cd6565b602082019050919050565b60006020820190508181036000830152614d3b81614cff565b9050919050565b7f45786365656473206e756d626572206f66206d696e747320616c6c6f7765642e600082015250565b6000614d78602083613a08565b9150614d8382614d42565b602082019050919050565b60006020820190508181036000830152614da781614d6b565b9050919050565b7f4e6f6e6578697374656e7420746f6b656e2e0000000000000000000000000000600082015250565b6000614de4601283613a08565b9150614def82614dae565b602082019050919050565b60006020820190508181036000830152614e1381614dd7565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614e548261399a565b9150614e5f8361399a565b925082614e6f57614e6e614e1a565b5b828206905092915050565b600081905092915050565b60008190508160005260206000209050919050565b60008154614ea781614269565b614eb18186614e7a565b94506001821660008114614ecc5760018114614edd57614f10565b60ff19831686528186019350614f10565b614ee685614e85565b60005b83811015614f0857815481890152600182019150602081019050614ee9565b838801955050505b50505092915050565b6000614f24826139fd565b614f2e8185614e7a565b9350614f3e818560208601613a19565b80840191505092915050565b6000614f568285614e9a565b9150614f628284614f19565b91508190509392505050565b7f5075626c6963207072696365206973206e6f74207365742e0000000000000000600082015250565b6000614fa4601883613a08565b9150614faf82614f6e565b602082019050919050565b60006020820190508181036000830152614fd381614f97565b9050919050565b7f4d6178207075626c6963206d696e7420616d6f756e74206e6f74207365742e00600082015250565b6000615010601f83613a08565b915061501b82614fda565b602082019050919050565b6000602082019050818103600083015261503f81615003565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006150a2602683613a08565b91506150ad82615046565b604082019050919050565b600060208201905081810360008301526150d181615095565b9050919050565b7f57686974656c697374207072696365206973206e6f74207365742e0000000000600082015250565b600061510e601b83613a08565b9150615119826150d8565b602082019050919050565b6000602082019050818103600083015261513d81615101565b9050919050565b7f4d61782077686974656c697374206d696e7420616d6f756e74206e6f7420736560008201527f742e000000000000000000000000000000000000000000000000000000000000602082015250565b60006151a0602283613a08565b91506151ab82615144565b604082019050919050565b600060208201905081810360008301526151cf81615193565b9050919050565b600081905092915050565b50565b60006151f16000836151d6565b91506151fc826151e1565b600082019050919050565b6000615212826151e4565b9150819050919050565b7f5472616e73666572206661696c65642e00000000000000000000000000000000600082015250565b6000615252601083613a08565b915061525d8261521c565b602082019050919050565b6000602082019050818103600083015261528181615245565b9050919050565b61529181613c2a565b82525050565b6152a081613c60565b82525050565b60006080820190506152bb6000830187615288565b6152c86020830186615297565b6152d56040830185615288565b6152e26060830184615288565b95945050505050565b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b6000615321601883613a08565b915061532c826152eb565b602082019050919050565b6000602082019050818103600083015261535081615314565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b60006153b3602c83613a08565b91506153be82615357565b604082019050919050565b600060208201905081810360008301526153e2816153a6565b9050919050565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b6000615445602983613a08565b9150615450826153e9565b604082019050919050565b6000602082019050818103600083015261547481615438565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006154d7602483613a08565b91506154e28261547b565b604082019050919050565b60006020820190508181036000830152615506816154ca565b9050919050565b60006155188261399a565b91506155238361399a565b92508282101561553657615535614529565b5b828203905092915050565b600081519050615550816139a4565b92915050565b60006020828403121561556c5761556b6138d5565b5b600061557a84828501615541565b91505092915050565b7f4e6f7420656e6f756768204c494e4b2e00000000000000000000000000000000600082015250565b60006155b9601083613a08565b91506155c482615583565b602082019050919050565b600060208201905081810360008301526155e8816155ac565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000615625601983613a08565b9150615630826155ef565b602082019050919050565b6000602082019050818103600083015261565481615618565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b60006156b7603283613a08565b91506156c28261565b565b604082019050919050565b600060208201905081810360008301526156e6816156aa565b9050919050565b60006156f88261399a565b91506157038361399a565b92508261571357615712614e1a565b5b828204905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60006040820190506157626000830185615288565b61576f6020830184613b80565b9392505050565b600081519050919050565b600082825260208201905092915050565b600061579d82615776565b6157a78185615781565b93506157b7818560208601613a19565b6157c081613a4c565b840191505092915050565b60006060820190506157e06000830186613aea565b6157ed6020830185613b80565b81810360408301526157ff8184615792565b9050949350505050565b60008151905061581881613f00565b92915050565b600060208284031215615834576158336138d5565b5b600061584284828501615809565b91505092915050565b60006080820190506158606000830187613aea565b61586d6020830186613aea565b61587a6040830185613b80565b818103606083015261588c8184615792565b905095945050505050565b6000815190506158a68161390b565b92915050565b6000602082840312156158c2576158c16138d5565b5b60006158d084828501615897565b91505092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b600061590f602083613a08565b915061591a826158d9565b602082019050919050565b6000602082019050818103600083015261593e81615902565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b600061597b601c83613a08565b915061598682615945565b602082019050919050565b600060208201905081810360008301526159aa8161596e565b9050919050565b60006080820190506159c66000830187615288565b6159d36020830186613b80565b6159e06040830185613aea565b6159ed6060830184613b80565b95945050505050565b6000819050919050565b615a11615a0c82613c2a565b6159f6565b82525050565b6000819050919050565b615a32615a2d8261399a565b615a17565b82525050565b6000615a448285615a00565b602082019150615a548284615a21565b602082019150819050939250505056fea2646970667358221220f34f6c22cff04ac45edf51cf43276edc2482ad3cab3271b4d6387cc5856a6cd464736f6c63430008090033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000001343727970746f2050616e7468657220436c756200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000343504300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000043697066733a2f2f62616679626569636a7a6766707a7663653679746836666e7365723761337862673361716b36646f6273346b6171706e62353462756168616b79692f0000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : name_ (string): Crypto Panther Club
Arg [1] : symbol_ (string): CPC
Arg [2] : hiddenURI_ (string): ipfs://bafybeicjzgfpzvce6yth6fnser7a3xbg3aqk6dobs4kaqpnb54buahakyi/
-----Encoded View---------------
11 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000013
Arg [4] : 43727970746f2050616e7468657220436c756200000000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [6] : 4350430000000000000000000000000000000000000000000000000000000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000043
Arg [8] : 697066733a2f2f62616679626569636a7a6766707a7663653679746836666e73
Arg [9] : 65723761337862673361716b36646f6273346b6171706e62353462756168616b
Arg [10] : 79692f0000000000000000000000000000000000000000000000000000000000
Loading...
Loading
Loading...
Loading
OVERVIEW
- A collection of 5,555 unique 2D well-designed Panthers by the modern artist GLOD.- Fairness and randomness is guaranteed using Chainlink VRF technology.- Every NFT has real-life benefits: real artworks, parties, street art and holder rewards.- Truly decentralised NFTs – ...Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.