ERC-721
NFT
Overview
Max Total Supply
0 GP
Holders
2,668
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
2 GPLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
GrumpyPandaz
Compiler Version
v0.8.11+commit.d7f03943
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: UNLICENSED pragma solidity 0.8.11; // _,add8ba, // ,d888888888b, // d8888888888888b _,ad8ba,_ // d888888888888888) ,d888888888b, // I8888888888888888 _________ ,8888888888888b // __________`Y88888888888888P"""""""""""baaa,__ ,888888888888888, // ,adP"""""""""""9888888888P""^ ^""Y8888888888888888I // ,a8"^ ,d888P"888P^ ^"Y8888888888P' // ,a8^ ,d8888' ^Y8888888P' // a88' ,d8888P' I88P"^ // ,d88' d88888P' "b, // ,d88' d888888' `b, // ,d88' d888888I `b, // d88I ,8888888' ___ `b, // ,888' d8888888 ,d88888b, ____ `b, // d888 ,8888888I d88888888b, ,d8888b, `b // ,8888 I8888888I d8888888888I ,88888888b 8, // I8888 88888888b d88888888888' 8888888888b 8I // d8886 888888888 Y888888888P' Y8888888888, ,8b // 88888b I88888888b `Y8888888^ `Y888888888I d88, // Y88888b `888888888b, `""""^ `Y8888888P' d888I // `888888b 88888888888b, `Y8888P^ d88888 // Y888888b ,8888888888888ba,_ _______ `""^ ,d888888 // I8888888b, ,888888888888888888ba,_ d88888888b ,ad8888888I // `888888888b, I8888888888888888888888b, ^"Y888P"^ ____.,ad88888888888I // 88888888888b,`888888888888888888888888b, "" ad888888888888888888888' // 8888888888888698888888888888888888888888b_,ad88ba,_,d88888888888888888888888 // 88888888888888888888888888888888888888888b,`"""^ d8888888888888888888888888I // 8888888888888888888888888888888888888888888baaad888888888888888888888888888' // Y8888888888888888888888888888888888888888888888888888888888888888888888888P // I888888888888888888888888888888888888888888888P^ ^Y8888888888888888888888' // `Y88888888888888888P88888888888888888888888888' ^88888888888888888888I // `Y8888888888888888 `8888888888888888888888888 8888888888888888888P' // `Y888888888888888 `888888888888888888888888, ,888888888888888888P' // `Y88888888888888b `88888888888888888888888I I888888888888888888' // "Y8888888888888b `8888888888888888888888I I88888888888888888' // "Y88888888888P `888888888888888888888b d8888888888888888' // ^""""""""^ `Y88888888888888888888, 888888888888888P' // "8888888888888888888b, Y888888888888P^ // `Y888888888888888888b `Y8888888P"^ // "Y8888888888888888P `""""^ // `"YY88888888888P' // ^""""""""' import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; /// @title Grumpy Pandaz NFT collection contract GrumpyPandaz is ERC721, Ownable { using Counters for Counters.Counter; using Strings for uint256; // config address constant TEAM = 0x15C47dB7Ab4D5be704693FDE9fE477623e278FA5; uint constant MAX_SUPPLY = 8888; uint constant PRICE = 2 ether / 10; // 0.2 ETH uint constant MAX_MINT_PER_ADDRESS = 5; uint constant MAX_MINT_PRESALE = 2; // per address uint constant PREMINE_AMOUNT = 100; bytes32 private root; Counters.Counter private _tokenIdCounter; mapping(address => bool) public isWhitelisted; mapping(address => uint) public nbOfGPsMintedBy; bool public publicSaleStarted; bool public collectionHasBeenRevealed; bool public saleEnded; string private baseURI = "ipfs://QmUKTqtymsnFrjcTVuaNnYwVNPuJoqUQWdaqC2XaEeFbpx/"; constructor(bytes32 _root) ERC721("GrumpyPandaz", "GP") { root = _root; for (uint i = 0; i < PREMINE_AMOUNT; i++){ _tokenIdCounter.increment(); _mint(TEAM, _tokenIdCounter.current()); } } // public methods /// @notice buy `quantity` of Pandaz /// @param quantity required, number of NFTs to buy /// @param proof merkle proof if whitelisted, please provide an empty array if not / already did once /// @dev msg.value must be >= quantity * PRICE function buy(uint quantity, bytes32[] calldata proof) payable public { require(!saleEnded, "Sale Ended"); require(_tokenIdCounter.current() < MAX_SUPPLY, "Max supply reached"); require(_tokenIdCounter.current() + quantity <= MAX_SUPPLY, "Mint quantity exceeds max supply"); uint userMintLimit; if(!isWhitelisted[msg.sender] && proof.length > 0){ isWhitelisted[msg.sender] = MerkleProof.verify(proof, root, bytes32(abi.encodePacked(msg.sender))); } if (publicSaleStarted){ userMintLimit = MAX_MINT_PER_ADDRESS; if (isWhitelisted[msg.sender]) userMintLimit += MAX_MINT_PRESALE; } else { require(isWhitelisted[msg.sender], "Public sale hasn't started yet"); userMintLimit = MAX_MINT_PRESALE; } require(nbOfGPsMintedBy[msg.sender] + quantity <= userMintLimit, "Mint quantity exceeds allowance for this address"); require(msg.value >= PRICE * quantity, "Price not met"); for (uint i = 0; i < quantity; i++){ // _safeMint() not used to avoid reentrency // it is the responsibility of the caller not to call buy() from a contract where the tokens would be locked _tokenIdCounter.increment(); nbOfGPsMintedBy[msg.sender]++; _mint(msg.sender, _tokenIdCounter.current()); } } function tokenURI(uint256 tokenId) public view override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); return string(abi.encodePacked(baseURI, tokenId.toString())); } // Admin methods /// @notice reveals metadatas, including images. Metadatas can't be modified after reveal function reveal(string calldata _baseUri) public onlyOwner { require(!collectionHasBeenRevealed); collectionHasBeenRevealed = true; baseURI = _baseUri; } /// @notice updates whitelist, to include more people as phases roll out, addresses that already have been verified in a /// @notice previous whitelist stay whitelisted function updateWhitelist(bytes32 _root) public onlyOwner { root = _root; } function startPublicSale() public onlyOwner { publicSaleStarted = true; } function withdraw() public { require(msg.sender == TEAM); (bool success, ) = msg.sender.call{value: address(this).balance}(''); require(success, "Withdrawal failed"); } /// @notice ends sale, effectively locking the total supply at the current amout. Sale can't be resumed after this function endSale() public onlyOwner { saleEnded = true; } // private method function _baseURI() internal view override returns (string memory) { return baseURI; } // The following functions are overrides required by Solidity. function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal override(ERC721) { super._beforeTokenTransfer(from, to, tokenId); } function supportsInterface(bytes4 interfaceId) public view override(ERC721) returns (bool) { return super.supportsInterface(interfaceId); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (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.0 (utils/Counters.sol) pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` */ library Counters { struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; require(value > 0, "Counter: decrement overflow"); unchecked { counter._value = value - 1; } } function reset(Counter storage counter) internal { counter._value = 0; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (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.0 (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Trees proofs. * * The proofs can be generated using the JavaScript library * https://github.com/miguelmota/merkletreejs[merkletreejs]. * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled. * * See `test/utils/cryptography/MerkleProof.test.js` for some examples. */ library MerkleProof { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify( bytes32[] memory proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProof(proof, leaf) == root; } /** * @dev Returns the rebuilt hash obtained by traversing a Merklee tree up * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt * hash matches the root of the tree. When processing the proof, the pairs * of leafs & pre-images are assumed to be sorted. * * _Available since v4.4._ */ function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { bytes32 proofElement = proof[i]; if (computedHash <= proofElement) { // Hash(current computed hash + current element of the proof) computedHash = keccak256(abi.encodePacked(computedHash, proofElement)); } else { // Hash(current element of the proof + current computed hash) computedHash = keccak256(abi.encodePacked(proofElement, computedHash)); } } return computedHash; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (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.0 (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.0 (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.0 (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.0 (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.0 (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.0 (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.0 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"bytes32","name":"_root","type":"bytes32"}],"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":[{"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":"quantity","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"buy","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"collectionHasBeenRevealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"endSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isWhitelisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"nbOfGPsMintedBy","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"publicSaleStarted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","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":[],"name":"saleEnded","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startPublicSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_root","type":"bytes32"}],"name":"updateWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526040518060600160405280603681526020016200475160369139600c90805190602001906200003592919062000514565b503480156200004357600080fd5b506040516200478738038062004787833981810160405281019062000069919062000604565b6040518060400160405280600c81526020017f4772756d707950616e64617a00000000000000000000000000000000000000008152506040518060400160405280600281526020017f47500000000000000000000000000000000000000000000000000000000000008152508160009080519060200190620000ed92919062000514565b5080600190805190602001906200010692919062000514565b505050620001296200011d620001ae60201b60201c565b620001b660201b60201c565b8060078190555060005b6064811015620001a6576200015460086200027c60201b620016d71760201c565b620001907315c47db7ab4d5be704693fde9fe477623e278fa56200018460086200029260201b620016ed1760201c565b620002a060201b60201c565b80806200019d906200066f565b91505062000133565b505062000874565b600033905090565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6001816000016000828254019250508190555050565b600081600001549050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141562000313576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200030a906200071e565b60405180910390fd5b62000324816200048660201b60201c565b1562000367576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200035e9062000790565b60405180910390fd5b6200037b60008383620004f260201b60201c565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254620003cd9190620007b2565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b6200050a8383836200050f60201b620016fb1760201c565b505050565b505050565b82805462000522906200083e565b90600052602060002090601f01602090048101928262000546576000855562000592565b82601f106200056157805160ff191683800117855562000592565b8280016001018555821562000592579182015b828111156200059157825182559160200191906001019062000574565b5b509050620005a19190620005a5565b5090565b5b80821115620005c0576000816000905550600101620005a6565b5090565b600080fd5b6000819050919050565b620005de81620005c9565b8114620005ea57600080fd5b50565b600081519050620005fe81620005d3565b92915050565b6000602082840312156200061d576200061c620005c4565b5b60006200062d84828501620005ed565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000819050919050565b60006200067c8262000665565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415620006b257620006b162000636565b5b600182019050919050565b600082825260208201905092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b600062000706602083620006bd565b91506200071382620006ce565b602082019050919050565b600060208201905081810360008301526200073981620006f7565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b600062000778601c83620006bd565b9150620007858262000740565b602082019050919050565b60006020820190508181036000830152620007ab8162000769565b9050919050565b6000620007bf8262000665565b9150620007cc8362000665565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111562000804576200080362000636565b5b828201905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200085757607f821691505b602082108114156200086e576200086d6200080f565b5b50919050565b613ecd80620008846000396000f3fe60806040526004361061019c5760003560e01c80634c261247116100ec5780639b8906ae1161008a578063b88d4fde11610064578063b88d4fde1461057f578063c87b56dd146105a8578063e985e9c5146105e5578063f2fde38b146106225761019c565b80639b8906ae14610500578063a22cb4651461052b578063a2e91477146105545761019c565b806370a08231116100c657806370a0823114610456578063715018a6146104935780638da5cb5b146104aa57806395d89b41146104d55761019c565b80634c261247146103d45780635a19b4db146103fd5780636352211e146104195761019c565b806323b872dd11610159578063389b8c0811610133578063389b8c081461032c5780633af32abf146103575780633ccfd60b1461039457806342842e0e146103ab5761019c565b806323b872dd146102af5780632e805082146102d8578063380d831b146103155761019c565b806301ffc9a7146101a157806306fdde03146101de578063081812fc14610209578063095ea7b3146102465780630c1c972a1461026f5780632152cb0214610286575b600080fd5b3480156101ad57600080fd5b506101c860048036038101906101c391906125f5565b61064b565b6040516101d5919061263d565b60405180910390f35b3480156101ea57600080fd5b506101f361065d565b60405161020091906126f1565b60405180910390f35b34801561021557600080fd5b50610230600480360381019061022b9190612749565b6106ef565b60405161023d91906127b7565b60405180910390f35b34801561025257600080fd5b5061026d600480360381019061026891906127fe565b610774565b005b34801561027b57600080fd5b5061028461088c565b005b34801561029257600080fd5b506102ad60048036038101906102a89190612874565b610925565b005b3480156102bb57600080fd5b506102d660048036038101906102d191906128a1565b6109ab565b005b3480156102e457600080fd5b506102ff60048036038101906102fa91906128f4565b610a0b565b60405161030c9190612930565b60405180910390f35b34801561032157600080fd5b5061032a610a23565b005b34801561033857600080fd5b50610341610abc565b60405161034e919061263d565b60405180910390f35b34801561036357600080fd5b5061037e600480360381019061037991906128f4565b610acf565b60405161038b919061263d565b60405180910390f35b3480156103a057600080fd5b506103a9610aef565b005b3480156103b757600080fd5b506103d260048036038101906103cd91906128a1565b610bea565b005b3480156103e057600080fd5b506103fb60048036038101906103f691906129b0565b610c0a565b005b61041760048036038101906104129190612a53565b610cd1565b005b34801561042557600080fd5b50610440600480360381019061043b9190612749565b611183565b60405161044d91906127b7565b60405180910390f35b34801561046257600080fd5b5061047d600480360381019061047891906128f4565b611235565b60405161048a9190612930565b60405180910390f35b34801561049f57600080fd5b506104a86112ed565b005b3480156104b657600080fd5b506104bf611375565b6040516104cc91906127b7565b60405180910390f35b3480156104e157600080fd5b506104ea61139f565b6040516104f791906126f1565b60405180910390f35b34801561050c57600080fd5b50610515611431565b604051610522919061263d565b60405180910390f35b34801561053757600080fd5b50610552600480360381019061054d9190612adf565b611444565b005b34801561056057600080fd5b5061056961145a565b604051610576919061263d565b60405180910390f35b34801561058b57600080fd5b506105a660048036038101906105a19190612c4f565b61146d565b005b3480156105b457600080fd5b506105cf60048036038101906105ca9190612749565b6114cf565b6040516105dc91906126f1565b60405180910390f35b3480156105f157600080fd5b5061060c60048036038101906106079190612cd2565b61154b565b604051610619919061263d565b60405180910390f35b34801561062e57600080fd5b50610649600480360381019061064491906128f4565b6115df565b005b600061065682611700565b9050919050565b60606000805461066c90612d41565b80601f016020809104026020016040519081016040528092919081815260200182805461069890612d41565b80156106e55780601f106106ba576101008083540402835291602001916106e5565b820191906000526020600020905b8154815290600101906020018083116106c857829003601f168201915b5050505050905090565b60006106fa826117e2565b610739576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161073090612de5565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061077f82611183565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156107f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107e790612e77565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1661080f61184e565b73ffffffffffffffffffffffffffffffffffffffff16148061083e575061083d8161083861184e565b61154b565b5b61087d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161087490612f09565b60405180910390fd5b6108878383611856565b505050565b61089461184e565b73ffffffffffffffffffffffffffffffffffffffff166108b2611375565b73ffffffffffffffffffffffffffffffffffffffff1614610908576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108ff90612f75565b60405180910390fd5b6001600b60006101000a81548160ff021916908315150217905550565b61092d61184e565b73ffffffffffffffffffffffffffffffffffffffff1661094b611375565b73ffffffffffffffffffffffffffffffffffffffff16146109a1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161099890612f75565b60405180910390fd5b8060078190555050565b6109bc6109b661184e565b8261190f565b6109fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109f290613007565b60405180910390fd5b610a068383836119ed565b505050565b600a6020528060005260406000206000915090505481565b610a2b61184e565b73ffffffffffffffffffffffffffffffffffffffff16610a49611375565b73ffffffffffffffffffffffffffffffffffffffff1614610a9f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a9690612f75565b60405180910390fd5b6001600b60026101000a81548160ff021916908315150217905550565b600b60019054906101000a900460ff1681565b60096020528060005260406000206000915054906101000a900460ff1681565b7315c47db7ab4d5be704693fde9fe477623e278fa573ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610b3b57600080fd5b60003373ffffffffffffffffffffffffffffffffffffffff1647604051610b6190613058565b60006040518083038185875af1925050503d8060008114610b9e576040519150601f19603f3d011682016040523d82523d6000602084013e610ba3565b606091505b5050905080610be7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bde906130b9565b60405180910390fd5b50565b610c058383836040518060200160405280600081525061146d565b505050565b610c1261184e565b73ffffffffffffffffffffffffffffffffffffffff16610c30611375565b73ffffffffffffffffffffffffffffffffffffffff1614610c86576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c7d90612f75565b60405180910390fd5b600b60019054906101000a900460ff1615610ca057600080fd5b6001600b60016101000a81548160ff0219169083151502179055508181600c9190610ccc9291906124e6565b505050565b600b60029054906101000a900460ff1615610d21576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d1890613125565b60405180910390fd5b6122b8610d2e60086116ed565b10610d6e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d6590613191565b60405180910390fd5b6122b883610d7c60086116ed565b610d8691906131e0565b1115610dc7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dbe90613282565b60405180910390fd5b6000600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16158015610e265750600083839050115b15610ef857610ea1838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505060075433604051602001610e8491906132ea565b604051602081830303815290604052610e9c90613342565b611c49565b600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505b600b60009054906101000a900460ff1615610f785760059050600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615610f7357600281610f7091906131e0565b90505b611009565b600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16611004576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ffb906133f5565b60405180910390fd5b600290505b8084600a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461105591906131e0565b1115611096576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161108d90613487565b60405180910390fd5b836702c68af0bb1400006110aa91906134a7565b3410156110ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110e39061354d565b60405180910390fd5b60005b8481101561117c5761110160086116d7565b600a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154809291906111519061356d565b91905055506111693361116460086116ed565b611c60565b80806111749061356d565b9150506110ef565b5050505050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561122c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161122390613628565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156112a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161129d906136ba565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6112f561184e565b73ffffffffffffffffffffffffffffffffffffffff16611313611375565b73ffffffffffffffffffffffffffffffffffffffff1614611369576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161136090612f75565b60405180910390fd5b6113736000611e2e565b565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600180546113ae90612d41565b80601f01602080910402602001604051908101604052809291908181526020018280546113da90612d41565b80156114275780601f106113fc57610100808354040283529160200191611427565b820191906000526020600020905b81548152906001019060200180831161140a57829003601f168201915b5050505050905090565b600b60029054906101000a900460ff1681565b61145661144f61184e565b8383611ef4565b5050565b600b60009054906101000a900460ff1681565b61147e61147861184e565b8361190f565b6114bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114b490613007565b60405180910390fd5b6114c984848484612061565b50505050565b60606114da826117e2565b611519576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115109061374c565b60405180910390fd5b600c611524836120bd565b60405160200161153592919061383c565b6040516020818303038152906040529050919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6115e761184e565b73ffffffffffffffffffffffffffffffffffffffff16611605611375565b73ffffffffffffffffffffffffffffffffffffffff161461165b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161165290612f75565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156116cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116c2906138d2565b60405180910390fd5b6116d481611e2e565b50565b6001816000016000828254019250508190555050565b600081600001549050919050565b505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806117cb57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806117db57506117da8261221e565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166118c983611183565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061191a826117e2565b611959576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161195090613964565b60405180910390fd5b600061196483611183565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806119d357508373ffffffffffffffffffffffffffffffffffffffff166119bb846106ef565b73ffffffffffffffffffffffffffffffffffffffff16145b806119e457506119e3818561154b565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611a0d82611183565b73ffffffffffffffffffffffffffffffffffffffff1614611a63576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a5a906139f6565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611ad3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aca90613a88565b60405180910390fd5b611ade838383612288565b611ae9600082611856565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611b399190613aa8565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611b9091906131e0565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600082611c568584612298565b1490509392505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611cd0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cc790613b28565b60405180910390fd5b611cd9816117e2565b15611d19576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d1090613b94565b60405180910390fd5b611d2560008383612288565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611d7591906131e0565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611f63576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f5a90613c00565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612054919061263d565b60405180910390a3505050565b61206c8484846119ed565b6120788484848461234b565b6120b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120ae90613c92565b60405180910390fd5b50505050565b60606000821415612105576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612219565b600082905060005b600082146121375780806121209061356d565b915050600a826121309190613ce1565b915061210d565b60008167ffffffffffffffff81111561215357612152612b24565b5b6040519080825280601f01601f1916602001820160405280156121855781602001600182028036833780820191505090505b5090505b600085146122125760018261219e9190613aa8565b9150600a856121ad9190613d12565b60306121b991906131e0565b60f81b8183815181106121cf576121ce613d43565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561220b9190613ce1565b9450612189565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6122938383836116fb565b505050565b60008082905060005b84518110156123405760008582815181106122bf576122be613d43565b5b602002602001015190508083116123005782816040516020016122e3929190613d93565b60405160208183030381529060405280519060200120925061232c565b8083604051602001612313929190613d93565b6040516020818303038152906040528051906020012092505b5080806123389061356d565b9150506122a1565b508091505092915050565b600061236c8473ffffffffffffffffffffffffffffffffffffffff166124d3565b156124c6578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261239561184e565b8786866040518563ffffffff1660e01b81526004016123b79493929190613e09565b6020604051808303816000875af19250505080156123f357506040513d601f19601f820116820180604052508101906123f09190613e6a565b60015b612476573d8060008114612423576040519150601f19603f3d011682016040523d82523d6000602084013e612428565b606091505b5060008151141561246e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161246590613c92565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506124cb565b600190505b949350505050565b600080823b905060008111915050919050565b8280546124f290612d41565b90600052602060002090601f016020900481019282612514576000855561255b565b82601f1061252d57803560ff191683800117855561255b565b8280016001018555821561255b579182015b8281111561255a57823582559160200191906001019061253f565b5b509050612568919061256c565b5090565b5b8082111561258557600081600090555060010161256d565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6125d28161259d565b81146125dd57600080fd5b50565b6000813590506125ef816125c9565b92915050565b60006020828403121561260b5761260a612593565b5b6000612619848285016125e0565b91505092915050565b60008115159050919050565b61263781612622565b82525050565b6000602082019050612652600083018461262e565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612692578082015181840152602081019050612677565b838111156126a1576000848401525b50505050565b6000601f19601f8301169050919050565b60006126c382612658565b6126cd8185612663565b93506126dd818560208601612674565b6126e6816126a7565b840191505092915050565b6000602082019050818103600083015261270b81846126b8565b905092915050565b6000819050919050565b61272681612713565b811461273157600080fd5b50565b6000813590506127438161271d565b92915050565b60006020828403121561275f5761275e612593565b5b600061276d84828501612734565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006127a182612776565b9050919050565b6127b181612796565b82525050565b60006020820190506127cc60008301846127a8565b92915050565b6127db81612796565b81146127e657600080fd5b50565b6000813590506127f8816127d2565b92915050565b6000806040838503121561281557612814612593565b5b6000612823858286016127e9565b925050602061283485828601612734565b9150509250929050565b6000819050919050565b6128518161283e565b811461285c57600080fd5b50565b60008135905061286e81612848565b92915050565b60006020828403121561288a57612889612593565b5b60006128988482850161285f565b91505092915050565b6000806000606084860312156128ba576128b9612593565b5b60006128c8868287016127e9565b93505060206128d9868287016127e9565b92505060406128ea86828701612734565b9150509250925092565b60006020828403121561290a57612909612593565b5b6000612918848285016127e9565b91505092915050565b61292a81612713565b82525050565b60006020820190506129456000830184612921565b92915050565b600080fd5b600080fd5b600080fd5b60008083601f8401126129705761296f61294b565b5b8235905067ffffffffffffffff81111561298d5761298c612950565b5b6020830191508360018202830111156129a9576129a8612955565b5b9250929050565b600080602083850312156129c7576129c6612593565b5b600083013567ffffffffffffffff8111156129e5576129e4612598565b5b6129f18582860161295a565b92509250509250929050565b60008083601f840112612a1357612a1261294b565b5b8235905067ffffffffffffffff811115612a3057612a2f612950565b5b602083019150836020820283011115612a4c57612a4b612955565b5b9250929050565b600080600060408486031215612a6c57612a6b612593565b5b6000612a7a86828701612734565b935050602084013567ffffffffffffffff811115612a9b57612a9a612598565b5b612aa7868287016129fd565b92509250509250925092565b612abc81612622565b8114612ac757600080fd5b50565b600081359050612ad981612ab3565b92915050565b60008060408385031215612af657612af5612593565b5b6000612b04858286016127e9565b9250506020612b1585828601612aca565b9150509250929050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612b5c826126a7565b810181811067ffffffffffffffff82111715612b7b57612b7a612b24565b5b80604052505050565b6000612b8e612589565b9050612b9a8282612b53565b919050565b600067ffffffffffffffff821115612bba57612bb9612b24565b5b612bc3826126a7565b9050602081019050919050565b82818337600083830152505050565b6000612bf2612bed84612b9f565b612b84565b905082815260208101848484011115612c0e57612c0d612b1f565b5b612c19848285612bd0565b509392505050565b600082601f830112612c3657612c3561294b565b5b8135612c46848260208601612bdf565b91505092915050565b60008060008060808587031215612c6957612c68612593565b5b6000612c77878288016127e9565b9450506020612c88878288016127e9565b9350506040612c9987828801612734565b925050606085013567ffffffffffffffff811115612cba57612cb9612598565b5b612cc687828801612c21565b91505092959194509250565b60008060408385031215612ce957612ce8612593565b5b6000612cf7858286016127e9565b9250506020612d08858286016127e9565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680612d5957607f821691505b60208210811415612d6d57612d6c612d12565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000612dcf602c83612663565b9150612dda82612d73565b604082019050919050565b60006020820190508181036000830152612dfe81612dc2565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000612e61602183612663565b9150612e6c82612e05565b604082019050919050565b60006020820190508181036000830152612e9081612e54565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b6000612ef3603883612663565b9150612efe82612e97565b604082019050919050565b60006020820190508181036000830152612f2281612ee6565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000612f5f602083612663565b9150612f6a82612f29565b602082019050919050565b60006020820190508181036000830152612f8e81612f52565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b6000612ff1603183612663565b9150612ffc82612f95565b604082019050919050565b6000602082019050818103600083015261302081612fe4565b9050919050565b600081905092915050565b50565b6000613042600083613027565b915061304d82613032565b600082019050919050565b600061306382613035565b9150819050919050565b7f5769746864726177616c206661696c6564000000000000000000000000000000600082015250565b60006130a3601183612663565b91506130ae8261306d565b602082019050919050565b600060208201905081810360008301526130d281613096565b9050919050565b7f53616c6520456e64656400000000000000000000000000000000000000000000600082015250565b600061310f600a83612663565b915061311a826130d9565b602082019050919050565b6000602082019050818103600083015261313e81613102565b9050919050565b7f4d617820737570706c7920726561636865640000000000000000000000000000600082015250565b600061317b601283612663565b915061318682613145565b602082019050919050565b600060208201905081810360008301526131aa8161316e565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006131eb82612713565b91506131f683612713565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561322b5761322a6131b1565b5b828201905092915050565b7f4d696e74207175616e746974792065786365656473206d617820737570706c79600082015250565b600061326c602083612663565b915061327782613236565b602082019050919050565b6000602082019050818103600083015261329b8161325f565b9050919050565b60008160601b9050919050565b60006132ba826132a2565b9050919050565b60006132cc826132af565b9050919050565b6132e46132df82612796565b6132c1565b82525050565b60006132f682846132d3565b60148201915081905092915050565b600081519050919050565b6000819050602082019050919050565b600061332c825161283e565b80915050919050565b600082821b905092915050565b600061334d82613305565b8261335784613310565b905061336281613320565b925060208210156133a25761339d7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff83602003600802613335565b831692505b5050919050565b7f5075626c69632073616c65206861736e27742073746172746564207965740000600082015250565b60006133df601e83612663565b91506133ea826133a9565b602082019050919050565b6000602082019050818103600083015261340e816133d2565b9050919050565b7f4d696e74207175616e74697479206578636565647320616c6c6f77616e63652060008201527f666f722074686973206164647265737300000000000000000000000000000000602082015250565b6000613471603083612663565b915061347c82613415565b604082019050919050565b600060208201905081810360008301526134a081613464565b9050919050565b60006134b282612713565b91506134bd83612713565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156134f6576134f56131b1565b5b828202905092915050565b7f5072696365206e6f74206d657400000000000000000000000000000000000000600082015250565b6000613537600d83612663565b915061354282613501565b602082019050919050565b600060208201905081810360008301526135668161352a565b9050919050565b600061357882612713565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156135ab576135aa6131b1565b5b600182019050919050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b6000613612602983612663565b915061361d826135b6565b604082019050919050565b6000602082019050818103600083015261364181613605565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b60006136a4602a83612663565b91506136af82613648565b604082019050919050565b600060208201905081810360008301526136d381613697565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000613736602f83612663565b9150613741826136da565b604082019050919050565b6000602082019050818103600083015261376581613729565b9050919050565b600081905092915050565b60008190508160005260206000209050919050565b6000815461379981612d41565b6137a3818661376c565b945060018216600081146137be57600181146137cf57613802565b60ff19831686528186019350613802565b6137d885613777565b60005b838110156137fa578154818901526001820191506020810190506137db565b838801955050505b50505092915050565b600061381682612658565b613820818561376c565b9350613830818560208601612674565b80840191505092915050565b6000613848828561378c565b9150613854828461380b565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006138bc602683612663565b91506138c782613860565b604082019050919050565b600060208201905081810360008301526138eb816138af565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b600061394e602c83612663565b9150613959826138f2565b604082019050919050565b6000602082019050818103600083015261397d81613941565b9050919050565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b60006139e0602983612663565b91506139eb82613984565b604082019050919050565b60006020820190508181036000830152613a0f816139d3565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000613a72602483612663565b9150613a7d82613a16565b604082019050919050565b60006020820190508181036000830152613aa181613a65565b9050919050565b6000613ab382612713565b9150613abe83612713565b925082821015613ad157613ad06131b1565b5b828203905092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000613b12602083612663565b9150613b1d82613adc565b602082019050919050565b60006020820190508181036000830152613b4181613b05565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000613b7e601c83612663565b9150613b8982613b48565b602082019050919050565b60006020820190508181036000830152613bad81613b71565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000613bea601983612663565b9150613bf582613bb4565b602082019050919050565b60006020820190508181036000830152613c1981613bdd565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000613c7c603283612663565b9150613c8782613c20565b604082019050919050565b60006020820190508181036000830152613cab81613c6f565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613cec82612713565b9150613cf783612713565b925082613d0757613d06613cb2565b5b828204905092915050565b6000613d1d82612713565b9150613d2883612713565b925082613d3857613d37613cb2565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000819050919050565b613d8d613d888261283e565b613d72565b82525050565b6000613d9f8285613d7c565b602082019150613daf8284613d7c565b6020820191508190509392505050565b600082825260208201905092915050565b6000613ddb82613305565b613de58185613dbf565b9350613df5818560208601612674565b613dfe816126a7565b840191505092915050565b6000608082019050613e1e60008301876127a8565b613e2b60208301866127a8565b613e386040830185612921565b8181036060830152613e4a8184613dd0565b905095945050505050565b600081519050613e64816125c9565b92915050565b600060208284031215613e8057613e7f612593565b5b6000613e8e84828501613e55565b9150509291505056fea264697066735822122024d98b548648ca1a0e782265a3b24b459e7a49d1230911099889dcd44422634464736f6c634300080b0033697066733a2f2f516d554b547174796d736e46726a63545675614e6e5977564e50754a6f71555157646171433258614565466270782fcbdc5d56b87a433102ede7397f9758bf8272346b8abc072579a500ee6515ba83
Deployed Bytecode
0x60806040526004361061019c5760003560e01c80634c261247116100ec5780639b8906ae1161008a578063b88d4fde11610064578063b88d4fde1461057f578063c87b56dd146105a8578063e985e9c5146105e5578063f2fde38b146106225761019c565b80639b8906ae14610500578063a22cb4651461052b578063a2e91477146105545761019c565b806370a08231116100c657806370a0823114610456578063715018a6146104935780638da5cb5b146104aa57806395d89b41146104d55761019c565b80634c261247146103d45780635a19b4db146103fd5780636352211e146104195761019c565b806323b872dd11610159578063389b8c0811610133578063389b8c081461032c5780633af32abf146103575780633ccfd60b1461039457806342842e0e146103ab5761019c565b806323b872dd146102af5780632e805082146102d8578063380d831b146103155761019c565b806301ffc9a7146101a157806306fdde03146101de578063081812fc14610209578063095ea7b3146102465780630c1c972a1461026f5780632152cb0214610286575b600080fd5b3480156101ad57600080fd5b506101c860048036038101906101c391906125f5565b61064b565b6040516101d5919061263d565b60405180910390f35b3480156101ea57600080fd5b506101f361065d565b60405161020091906126f1565b60405180910390f35b34801561021557600080fd5b50610230600480360381019061022b9190612749565b6106ef565b60405161023d91906127b7565b60405180910390f35b34801561025257600080fd5b5061026d600480360381019061026891906127fe565b610774565b005b34801561027b57600080fd5b5061028461088c565b005b34801561029257600080fd5b506102ad60048036038101906102a89190612874565b610925565b005b3480156102bb57600080fd5b506102d660048036038101906102d191906128a1565b6109ab565b005b3480156102e457600080fd5b506102ff60048036038101906102fa91906128f4565b610a0b565b60405161030c9190612930565b60405180910390f35b34801561032157600080fd5b5061032a610a23565b005b34801561033857600080fd5b50610341610abc565b60405161034e919061263d565b60405180910390f35b34801561036357600080fd5b5061037e600480360381019061037991906128f4565b610acf565b60405161038b919061263d565b60405180910390f35b3480156103a057600080fd5b506103a9610aef565b005b3480156103b757600080fd5b506103d260048036038101906103cd91906128a1565b610bea565b005b3480156103e057600080fd5b506103fb60048036038101906103f691906129b0565b610c0a565b005b61041760048036038101906104129190612a53565b610cd1565b005b34801561042557600080fd5b50610440600480360381019061043b9190612749565b611183565b60405161044d91906127b7565b60405180910390f35b34801561046257600080fd5b5061047d600480360381019061047891906128f4565b611235565b60405161048a9190612930565b60405180910390f35b34801561049f57600080fd5b506104a86112ed565b005b3480156104b657600080fd5b506104bf611375565b6040516104cc91906127b7565b60405180910390f35b3480156104e157600080fd5b506104ea61139f565b6040516104f791906126f1565b60405180910390f35b34801561050c57600080fd5b50610515611431565b604051610522919061263d565b60405180910390f35b34801561053757600080fd5b50610552600480360381019061054d9190612adf565b611444565b005b34801561056057600080fd5b5061056961145a565b604051610576919061263d565b60405180910390f35b34801561058b57600080fd5b506105a660048036038101906105a19190612c4f565b61146d565b005b3480156105b457600080fd5b506105cf60048036038101906105ca9190612749565b6114cf565b6040516105dc91906126f1565b60405180910390f35b3480156105f157600080fd5b5061060c60048036038101906106079190612cd2565b61154b565b604051610619919061263d565b60405180910390f35b34801561062e57600080fd5b50610649600480360381019061064491906128f4565b6115df565b005b600061065682611700565b9050919050565b60606000805461066c90612d41565b80601f016020809104026020016040519081016040528092919081815260200182805461069890612d41565b80156106e55780601f106106ba576101008083540402835291602001916106e5565b820191906000526020600020905b8154815290600101906020018083116106c857829003601f168201915b5050505050905090565b60006106fa826117e2565b610739576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161073090612de5565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061077f82611183565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156107f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107e790612e77565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1661080f61184e565b73ffffffffffffffffffffffffffffffffffffffff16148061083e575061083d8161083861184e565b61154b565b5b61087d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161087490612f09565b60405180910390fd5b6108878383611856565b505050565b61089461184e565b73ffffffffffffffffffffffffffffffffffffffff166108b2611375565b73ffffffffffffffffffffffffffffffffffffffff1614610908576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108ff90612f75565b60405180910390fd5b6001600b60006101000a81548160ff021916908315150217905550565b61092d61184e565b73ffffffffffffffffffffffffffffffffffffffff1661094b611375565b73ffffffffffffffffffffffffffffffffffffffff16146109a1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161099890612f75565b60405180910390fd5b8060078190555050565b6109bc6109b661184e565b8261190f565b6109fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109f290613007565b60405180910390fd5b610a068383836119ed565b505050565b600a6020528060005260406000206000915090505481565b610a2b61184e565b73ffffffffffffffffffffffffffffffffffffffff16610a49611375565b73ffffffffffffffffffffffffffffffffffffffff1614610a9f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a9690612f75565b60405180910390fd5b6001600b60026101000a81548160ff021916908315150217905550565b600b60019054906101000a900460ff1681565b60096020528060005260406000206000915054906101000a900460ff1681565b7315c47db7ab4d5be704693fde9fe477623e278fa573ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610b3b57600080fd5b60003373ffffffffffffffffffffffffffffffffffffffff1647604051610b6190613058565b60006040518083038185875af1925050503d8060008114610b9e576040519150601f19603f3d011682016040523d82523d6000602084013e610ba3565b606091505b5050905080610be7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bde906130b9565b60405180910390fd5b50565b610c058383836040518060200160405280600081525061146d565b505050565b610c1261184e565b73ffffffffffffffffffffffffffffffffffffffff16610c30611375565b73ffffffffffffffffffffffffffffffffffffffff1614610c86576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c7d90612f75565b60405180910390fd5b600b60019054906101000a900460ff1615610ca057600080fd5b6001600b60016101000a81548160ff0219169083151502179055508181600c9190610ccc9291906124e6565b505050565b600b60029054906101000a900460ff1615610d21576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d1890613125565b60405180910390fd5b6122b8610d2e60086116ed565b10610d6e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d6590613191565b60405180910390fd5b6122b883610d7c60086116ed565b610d8691906131e0565b1115610dc7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dbe90613282565b60405180910390fd5b6000600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16158015610e265750600083839050115b15610ef857610ea1838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505060075433604051602001610e8491906132ea565b604051602081830303815290604052610e9c90613342565b611c49565b600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505b600b60009054906101000a900460ff1615610f785760059050600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615610f7357600281610f7091906131e0565b90505b611009565b600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16611004576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ffb906133f5565b60405180910390fd5b600290505b8084600a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461105591906131e0565b1115611096576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161108d90613487565b60405180910390fd5b836702c68af0bb1400006110aa91906134a7565b3410156110ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110e39061354d565b60405180910390fd5b60005b8481101561117c5761110160086116d7565b600a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154809291906111519061356d565b91905055506111693361116460086116ed565b611c60565b80806111749061356d565b9150506110ef565b5050505050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561122c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161122390613628565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156112a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161129d906136ba565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6112f561184e565b73ffffffffffffffffffffffffffffffffffffffff16611313611375565b73ffffffffffffffffffffffffffffffffffffffff1614611369576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161136090612f75565b60405180910390fd5b6113736000611e2e565b565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600180546113ae90612d41565b80601f01602080910402602001604051908101604052809291908181526020018280546113da90612d41565b80156114275780601f106113fc57610100808354040283529160200191611427565b820191906000526020600020905b81548152906001019060200180831161140a57829003601f168201915b5050505050905090565b600b60029054906101000a900460ff1681565b61145661144f61184e565b8383611ef4565b5050565b600b60009054906101000a900460ff1681565b61147e61147861184e565b8361190f565b6114bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114b490613007565b60405180910390fd5b6114c984848484612061565b50505050565b60606114da826117e2565b611519576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115109061374c565b60405180910390fd5b600c611524836120bd565b60405160200161153592919061383c565b6040516020818303038152906040529050919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6115e761184e565b73ffffffffffffffffffffffffffffffffffffffff16611605611375565b73ffffffffffffffffffffffffffffffffffffffff161461165b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161165290612f75565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156116cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116c2906138d2565b60405180910390fd5b6116d481611e2e565b50565b6001816000016000828254019250508190555050565b600081600001549050919050565b505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806117cb57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806117db57506117da8261221e565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166118c983611183565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061191a826117e2565b611959576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161195090613964565b60405180910390fd5b600061196483611183565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806119d357508373ffffffffffffffffffffffffffffffffffffffff166119bb846106ef565b73ffffffffffffffffffffffffffffffffffffffff16145b806119e457506119e3818561154b565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611a0d82611183565b73ffffffffffffffffffffffffffffffffffffffff1614611a63576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a5a906139f6565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611ad3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aca90613a88565b60405180910390fd5b611ade838383612288565b611ae9600082611856565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611b399190613aa8565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611b9091906131e0565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600082611c568584612298565b1490509392505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611cd0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cc790613b28565b60405180910390fd5b611cd9816117e2565b15611d19576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d1090613b94565b60405180910390fd5b611d2560008383612288565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611d7591906131e0565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611f63576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f5a90613c00565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612054919061263d565b60405180910390a3505050565b61206c8484846119ed565b6120788484848461234b565b6120b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120ae90613c92565b60405180910390fd5b50505050565b60606000821415612105576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612219565b600082905060005b600082146121375780806121209061356d565b915050600a826121309190613ce1565b915061210d565b60008167ffffffffffffffff81111561215357612152612b24565b5b6040519080825280601f01601f1916602001820160405280156121855781602001600182028036833780820191505090505b5090505b600085146122125760018261219e9190613aa8565b9150600a856121ad9190613d12565b60306121b991906131e0565b60f81b8183815181106121cf576121ce613d43565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561220b9190613ce1565b9450612189565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6122938383836116fb565b505050565b60008082905060005b84518110156123405760008582815181106122bf576122be613d43565b5b602002602001015190508083116123005782816040516020016122e3929190613d93565b60405160208183030381529060405280519060200120925061232c565b8083604051602001612313929190613d93565b6040516020818303038152906040528051906020012092505b5080806123389061356d565b9150506122a1565b508091505092915050565b600061236c8473ffffffffffffffffffffffffffffffffffffffff166124d3565b156124c6578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261239561184e565b8786866040518563ffffffff1660e01b81526004016123b79493929190613e09565b6020604051808303816000875af19250505080156123f357506040513d601f19601f820116820180604052508101906123f09190613e6a565b60015b612476573d8060008114612423576040519150601f19603f3d011682016040523d82523d6000602084013e612428565b606091505b5060008151141561246e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161246590613c92565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506124cb565b600190505b949350505050565b600080823b905060008111915050919050565b8280546124f290612d41565b90600052602060002090601f016020900481019282612514576000855561255b565b82601f1061252d57803560ff191683800117855561255b565b8280016001018555821561255b579182015b8281111561255a57823582559160200191906001019061253f565b5b509050612568919061256c565b5090565b5b8082111561258557600081600090555060010161256d565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6125d28161259d565b81146125dd57600080fd5b50565b6000813590506125ef816125c9565b92915050565b60006020828403121561260b5761260a612593565b5b6000612619848285016125e0565b91505092915050565b60008115159050919050565b61263781612622565b82525050565b6000602082019050612652600083018461262e565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612692578082015181840152602081019050612677565b838111156126a1576000848401525b50505050565b6000601f19601f8301169050919050565b60006126c382612658565b6126cd8185612663565b93506126dd818560208601612674565b6126e6816126a7565b840191505092915050565b6000602082019050818103600083015261270b81846126b8565b905092915050565b6000819050919050565b61272681612713565b811461273157600080fd5b50565b6000813590506127438161271d565b92915050565b60006020828403121561275f5761275e612593565b5b600061276d84828501612734565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006127a182612776565b9050919050565b6127b181612796565b82525050565b60006020820190506127cc60008301846127a8565b92915050565b6127db81612796565b81146127e657600080fd5b50565b6000813590506127f8816127d2565b92915050565b6000806040838503121561281557612814612593565b5b6000612823858286016127e9565b925050602061283485828601612734565b9150509250929050565b6000819050919050565b6128518161283e565b811461285c57600080fd5b50565b60008135905061286e81612848565b92915050565b60006020828403121561288a57612889612593565b5b60006128988482850161285f565b91505092915050565b6000806000606084860312156128ba576128b9612593565b5b60006128c8868287016127e9565b93505060206128d9868287016127e9565b92505060406128ea86828701612734565b9150509250925092565b60006020828403121561290a57612909612593565b5b6000612918848285016127e9565b91505092915050565b61292a81612713565b82525050565b60006020820190506129456000830184612921565b92915050565b600080fd5b600080fd5b600080fd5b60008083601f8401126129705761296f61294b565b5b8235905067ffffffffffffffff81111561298d5761298c612950565b5b6020830191508360018202830111156129a9576129a8612955565b5b9250929050565b600080602083850312156129c7576129c6612593565b5b600083013567ffffffffffffffff8111156129e5576129e4612598565b5b6129f18582860161295a565b92509250509250929050565b60008083601f840112612a1357612a1261294b565b5b8235905067ffffffffffffffff811115612a3057612a2f612950565b5b602083019150836020820283011115612a4c57612a4b612955565b5b9250929050565b600080600060408486031215612a6c57612a6b612593565b5b6000612a7a86828701612734565b935050602084013567ffffffffffffffff811115612a9b57612a9a612598565b5b612aa7868287016129fd565b92509250509250925092565b612abc81612622565b8114612ac757600080fd5b50565b600081359050612ad981612ab3565b92915050565b60008060408385031215612af657612af5612593565b5b6000612b04858286016127e9565b9250506020612b1585828601612aca565b9150509250929050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612b5c826126a7565b810181811067ffffffffffffffff82111715612b7b57612b7a612b24565b5b80604052505050565b6000612b8e612589565b9050612b9a8282612b53565b919050565b600067ffffffffffffffff821115612bba57612bb9612b24565b5b612bc3826126a7565b9050602081019050919050565b82818337600083830152505050565b6000612bf2612bed84612b9f565b612b84565b905082815260208101848484011115612c0e57612c0d612b1f565b5b612c19848285612bd0565b509392505050565b600082601f830112612c3657612c3561294b565b5b8135612c46848260208601612bdf565b91505092915050565b60008060008060808587031215612c6957612c68612593565b5b6000612c77878288016127e9565b9450506020612c88878288016127e9565b9350506040612c9987828801612734565b925050606085013567ffffffffffffffff811115612cba57612cb9612598565b5b612cc687828801612c21565b91505092959194509250565b60008060408385031215612ce957612ce8612593565b5b6000612cf7858286016127e9565b9250506020612d08858286016127e9565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680612d5957607f821691505b60208210811415612d6d57612d6c612d12565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000612dcf602c83612663565b9150612dda82612d73565b604082019050919050565b60006020820190508181036000830152612dfe81612dc2565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000612e61602183612663565b9150612e6c82612e05565b604082019050919050565b60006020820190508181036000830152612e9081612e54565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b6000612ef3603883612663565b9150612efe82612e97565b604082019050919050565b60006020820190508181036000830152612f2281612ee6565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000612f5f602083612663565b9150612f6a82612f29565b602082019050919050565b60006020820190508181036000830152612f8e81612f52565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b6000612ff1603183612663565b9150612ffc82612f95565b604082019050919050565b6000602082019050818103600083015261302081612fe4565b9050919050565b600081905092915050565b50565b6000613042600083613027565b915061304d82613032565b600082019050919050565b600061306382613035565b9150819050919050565b7f5769746864726177616c206661696c6564000000000000000000000000000000600082015250565b60006130a3601183612663565b91506130ae8261306d565b602082019050919050565b600060208201905081810360008301526130d281613096565b9050919050565b7f53616c6520456e64656400000000000000000000000000000000000000000000600082015250565b600061310f600a83612663565b915061311a826130d9565b602082019050919050565b6000602082019050818103600083015261313e81613102565b9050919050565b7f4d617820737570706c7920726561636865640000000000000000000000000000600082015250565b600061317b601283612663565b915061318682613145565b602082019050919050565b600060208201905081810360008301526131aa8161316e565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006131eb82612713565b91506131f683612713565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561322b5761322a6131b1565b5b828201905092915050565b7f4d696e74207175616e746974792065786365656473206d617820737570706c79600082015250565b600061326c602083612663565b915061327782613236565b602082019050919050565b6000602082019050818103600083015261329b8161325f565b9050919050565b60008160601b9050919050565b60006132ba826132a2565b9050919050565b60006132cc826132af565b9050919050565b6132e46132df82612796565b6132c1565b82525050565b60006132f682846132d3565b60148201915081905092915050565b600081519050919050565b6000819050602082019050919050565b600061332c825161283e565b80915050919050565b600082821b905092915050565b600061334d82613305565b8261335784613310565b905061336281613320565b925060208210156133a25761339d7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff83602003600802613335565b831692505b5050919050565b7f5075626c69632073616c65206861736e27742073746172746564207965740000600082015250565b60006133df601e83612663565b91506133ea826133a9565b602082019050919050565b6000602082019050818103600083015261340e816133d2565b9050919050565b7f4d696e74207175616e74697479206578636565647320616c6c6f77616e63652060008201527f666f722074686973206164647265737300000000000000000000000000000000602082015250565b6000613471603083612663565b915061347c82613415565b604082019050919050565b600060208201905081810360008301526134a081613464565b9050919050565b60006134b282612713565b91506134bd83612713565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156134f6576134f56131b1565b5b828202905092915050565b7f5072696365206e6f74206d657400000000000000000000000000000000000000600082015250565b6000613537600d83612663565b915061354282613501565b602082019050919050565b600060208201905081810360008301526135668161352a565b9050919050565b600061357882612713565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156135ab576135aa6131b1565b5b600182019050919050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b6000613612602983612663565b915061361d826135b6565b604082019050919050565b6000602082019050818103600083015261364181613605565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b60006136a4602a83612663565b91506136af82613648565b604082019050919050565b600060208201905081810360008301526136d381613697565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000613736602f83612663565b9150613741826136da565b604082019050919050565b6000602082019050818103600083015261376581613729565b9050919050565b600081905092915050565b60008190508160005260206000209050919050565b6000815461379981612d41565b6137a3818661376c565b945060018216600081146137be57600181146137cf57613802565b60ff19831686528186019350613802565b6137d885613777565b60005b838110156137fa578154818901526001820191506020810190506137db565b838801955050505b50505092915050565b600061381682612658565b613820818561376c565b9350613830818560208601612674565b80840191505092915050565b6000613848828561378c565b9150613854828461380b565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006138bc602683612663565b91506138c782613860565b604082019050919050565b600060208201905081810360008301526138eb816138af565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b600061394e602c83612663565b9150613959826138f2565b604082019050919050565b6000602082019050818103600083015261397d81613941565b9050919050565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b60006139e0602983612663565b91506139eb82613984565b604082019050919050565b60006020820190508181036000830152613a0f816139d3565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000613a72602483612663565b9150613a7d82613a16565b604082019050919050565b60006020820190508181036000830152613aa181613a65565b9050919050565b6000613ab382612713565b9150613abe83612713565b925082821015613ad157613ad06131b1565b5b828203905092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000613b12602083612663565b9150613b1d82613adc565b602082019050919050565b60006020820190508181036000830152613b4181613b05565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000613b7e601c83612663565b9150613b8982613b48565b602082019050919050565b60006020820190508181036000830152613bad81613b71565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000613bea601983612663565b9150613bf582613bb4565b602082019050919050565b60006020820190508181036000830152613c1981613bdd565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000613c7c603283612663565b9150613c8782613c20565b604082019050919050565b60006020820190508181036000830152613cab81613c6f565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613cec82612713565b9150613cf783612713565b925082613d0757613d06613cb2565b5b828204905092915050565b6000613d1d82612713565b9150613d2883612713565b925082613d3857613d37613cb2565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000819050919050565b613d8d613d888261283e565b613d72565b82525050565b6000613d9f8285613d7c565b602082019150613daf8284613d7c565b6020820191508190509392505050565b600082825260208201905092915050565b6000613ddb82613305565b613de58185613dbf565b9350613df5818560208601612674565b613dfe816126a7565b840191505092915050565b6000608082019050613e1e60008301876127a8565b613e2b60208301866127a8565b613e386040830185612921565b8181036060830152613e4a8184613dd0565b905095945050505050565b600081519050613e64816125c9565b92915050565b600060208284031215613e8057613e7f612593565b5b6000613e8e84828501613e55565b9150509291505056fea264697066735822122024d98b548648ca1a0e782265a3b24b459e7a49d1230911099889dcd44422634464736f6c634300080b0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
cbdc5d56b87a433102ede7397f9758bf8272346b8abc072579a500ee6515ba83
-----Decoded View---------------
Arg [0] : _root (bytes32): 0xcbdc5d56b87a433102ede7397f9758bf8272346b8abc072579a500ee6515ba83
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : cbdc5d56b87a433102ede7397f9758bf8272346b8abc072579a500ee6515ba83
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.