ERC-721
Overview
Max Total Supply
2,000 POPEYE
Holders
806
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 POPEYELoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
POPEYE
Compiler Version
v0.8.7+commit.e28d00a7
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity 0.8.7; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/access/AccessControl.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Burnable.sol"; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; contract POPEYE is ERC721, ERC721Enumerable, AccessControl, ERC721Burnable { bytes32 public constant PAUSER_ROLE = keccak256("PAUSER_ROLE"); bytes32 public constant MINTER_ROLE = keccak256("MINTER_ROLE"); string private constant BASE_URI = "https://ipfs.madworld.io/popeye/"; address public constant PAYMENT_ADDRESS = 0x09cb88b510131bc4A8B21229d33A900c03232d56; address public constant owner = 0x246cD0529fC31eCC5Bde42019b17322B11E2C73B; event TokenRedeemed(uint256 tokenId, bytes32 addressId); struct Drop { uint8 status; uint256 initTokenId; uint256 totalNum; uint256 maxPreWallet; uint256 maxPreWhiteList; bytes32 whiteListProofRoot; mapping(address => uint256) mintCount; uint256 tokenCounter; } struct Purchase { uint8 dropId; uint256 price; uint256 quantity; bytes32[] proof; } Drop[] public _drop; mapping(uint256 => bytes32) public _redeemAddress; constructor() ERC721("POPEYE", "POPEYE") { _grantRole(DEFAULT_ADMIN_ROLE, msg.sender); _grantRole(PAUSER_ROLE, msg.sender); _grantRole(MINTER_ROLE, msg.sender); // Initialize the contract with the first Drop addDrop(1, 100001221906000001, 2000, 3, 3, keccak256("0xde144a28de156f9b561dadb0827181472cc826028346be70e2ec24c7decace7d")); _grantRole(MINTER_ROLE, address(0xd3A94F0630329Ab9096826cC96F203a6709e1744)); // Team reserved mintNew(0, owner, 50); } function _baseURI() internal pure override returns (string memory) { return BASE_URI; } function getRedeemAddress(uint256 _tokenId) public view returns (bytes32) { return _redeemAddress[_tokenId]; } function contractURI() public pure returns (string memory) { return string(abi.encodePacked(BASE_URI, "metadata.json")); } function addDrop( uint8 status, uint256 initTokenId, uint256 totalNum, uint256 maxPreWallet, uint256 maxPreWhiteList, bytes32 whiteListProofRoot ) public onlyRole(DEFAULT_ADMIN_ROLE) { Drop storage drop = _drop.push(); drop.status = status; drop.initTokenId = initTokenId; drop.totalNum = totalNum; drop.maxPreWallet = maxPreWallet; drop.maxPreWhiteList = maxPreWhiteList; drop.whiteListProofRoot = whiteListProofRoot; } function setRoot(uint8 dropId, bytes32 whiteListProofRoot) public onlyRole(DEFAULT_ADMIN_ROLE) { _drop[dropId].whiteListProofRoot = whiteListProofRoot; } function setStatus(uint8 dropId, uint8 status) public onlyRole(DEFAULT_ADMIN_ROLE) { _drop[dropId].status = status; } function redeemToken(uint256 _tokenId, bytes32 _addressId) public { require(_exists(_tokenId), "POPEYE: Token not exist"); require(ownerOf(_tokenId) == msg.sender, "POPEYE: Only owner can redeem"); require( _redeemAddress[_tokenId] == bytes32(0), "POPEYE: Already redeemed" ); _redeemAddress[_tokenId] = _addressId; emit TokenRedeemed(_tokenId, _addressId); } function buy( Purchase calldata data, uint8 v, bytes32 r, bytes32 s ) external payable { bytes32 payloadHash = keccak256( abi.encode( keccak256( "mint(address receiver, uint256 price, uint256 quantity, uint8 dropId, uint chainId)" ), msg.sender, data.price, data.quantity, data.dropId, block.chainid ) ); bytes32 digest = keccak256( abi.encodePacked("\x19Ethereum Signed Message:\n32", payloadHash) ); address addr = ecrecover(digest, v, r, s); require(hasRole(MINTER_ROLE, addr), "POPEYE: Invalid signer"); Drop storage drop = _drop[data.dropId]; require(drop.status > 0, "POPEYE: Drop not exist or not open"); require(data.quantity > 0, "POPEYE: Quantity must be greater than 0"); require( (drop.mintCount[msg.sender] + data.quantity) <= drop.maxPreWallet, "POPEYE: Reach Max Pre Wallet" ); if (drop.status == 1) { require( (drop.mintCount[msg.sender] + data.quantity) <= drop.maxPreWhiteList, "POPEYE: Reach Max Pre White List" ); bytes32 leaf = keccak256(abi.encode(msg.sender)); require( MerkleProof.verify(data.proof, drop.whiteListProofRoot, leaf), "POPEYE: Not in White List" ); } require(msg.value >= data.price, "POPEYE: Invalid msg.value "); payable(PAYMENT_ADDRESS).transfer(msg.value); mintNew(data.dropId, msg.sender, data.quantity); } function safeMint( uint8 dropId, address to, uint256 quantity ) public onlyRole(MINTER_ROLE) { mintNew(dropId, to, quantity); } function mintNew( uint8 dropId, address to, uint256 quantity ) private { Drop storage drop = _drop[dropId]; require(drop.status > 0, "POPEYE: Drop not exist or not open"); require( (drop.tokenCounter + quantity) <= drop.totalNum, "POPEYE: Total Mint Num Reached" ); for (uint256 index = 0; index < quantity; index++) { uint256 tokenId = drop.initTokenId + drop.tokenCounter; drop.tokenCounter++; drop.mintCount[to]++; _safeMint(to, tokenId); } } function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal override(ERC721, ERC721Enumerable) { super._beforeTokenTransfer(from, to, tokenId); } function supportsInterface(bytes4 interfaceId) public view override(ERC721, ERC721Enumerable, AccessControl) returns (bool) { return super.supportsInterface(interfaceId); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.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 = _efficientHash(computedHash, proofElement); } else { // Hash(current element of the proof + current computed hash) computedHash = _efficientHash(proofElement, computedHash); } } return computedHash; } function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) { assembly { mstore(0x00, a) mstore(0x20, b) value := keccak256(0x00, 0x40) } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Burnable.sol) pragma solidity ^0.8.0; import "../ERC721.sol"; import "../../../utils/Context.sol"; /** * @title ERC721 Burnable Token * @dev ERC721 Token that can be irreversibly burned (destroyed). */ abstract contract ERC721Burnable is Context, ERC721 { /** * @dev Burns `tokenId`. See {ERC721-_burn}. * * Requirements: * * - The caller must own `tokenId` or be an approved operator. */ function burn(uint256 tokenId) public virtual { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721Burnable: caller is not owner nor approved"); _burn(tokenId); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (access/AccessControl.sol) pragma solidity ^0.8.0; import "./IAccessControl.sol"; import "../utils/Context.sol"; import "../utils/Strings.sol"; import "../utils/introspection/ERC165.sol"; /** * @dev Contract module that allows children to implement role-based access * control mechanisms. This is a lightweight version that doesn't allow enumerating role * members except through off-chain means by accessing the contract event logs. Some * applications may benefit from on-chain enumerability, for those cases see * {AccessControlEnumerable}. * * Roles are referred to by their `bytes32` identifier. These should be exposed * in the external API and be unique. The best way to achieve this is by * using `public constant` hash digests: * * ``` * bytes32 public constant MY_ROLE = keccak256("MY_ROLE"); * ``` * * Roles can be used to represent a set of permissions. To restrict access to a * function call, use {hasRole}: * * ``` * function foo() public { * require(hasRole(MY_ROLE, msg.sender)); * ... * } * ``` * * Roles can be granted and revoked dynamically via the {grantRole} and * {revokeRole} functions. Each role has an associated admin role, and only * accounts that have a role's admin role can call {grantRole} and {revokeRole}. * * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means * that only accounts with this role will be able to grant or revoke other * roles. More complex role relationships can be created by using * {_setRoleAdmin}. * * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to * grant and revoke this role. Extra precautions should be taken to secure * accounts that have been granted it. */ abstract contract AccessControl is Context, IAccessControl, ERC165 { struct RoleData { mapping(address => bool) members; bytes32 adminRole; } mapping(bytes32 => RoleData) private _roles; bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00; /** * @dev Modifier that checks that an account has a specific role. Reverts * with a standardized message including the required role. * * The format of the revert reason is given by the following regular expression: * * /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/ * * _Available since v4.1._ */ modifier onlyRole(bytes32 role) { _checkRole(role, _msgSender()); _; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IAccessControl).interfaceId || super.supportsInterface(interfaceId); } /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) public view virtual override returns (bool) { return _roles[role].members[account]; } /** * @dev Revert with a standard message if `account` is missing `role`. * * The format of the revert reason is given by the following regular expression: * * /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/ */ function _checkRole(bytes32 role, address account) internal view virtual { if (!hasRole(role, account)) { revert( string( abi.encodePacked( "AccessControl: account ", Strings.toHexString(uint160(account), 20), " is missing role ", Strings.toHexString(uint256(role), 32) ) ) ); } } /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) public view virtual override returns (bytes32) { return _roles[role].adminRole; } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) { _grantRole(role, account); } /** * @dev Revokes `role` from `account`. * * If `account` had been granted `role`, emits a {RoleRevoked} event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) { _revokeRole(role, account); } /** * @dev Revokes `role` from the calling account. * * Roles are often managed via {grantRole} and {revokeRole}: this function's * purpose is to provide a mechanism for accounts to lose their privileges * if they are compromised (such as when a trusted device is misplaced). * * If the calling account had been revoked `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `account`. */ function renounceRole(bytes32 role, address account) public virtual override { require(account == _msgSender(), "AccessControl: can only renounce roles for self"); _revokeRole(role, account); } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. Note that unlike {grantRole}, this function doesn't perform any * checks on the calling account. * * [WARNING] * ==== * This function should only be called from the constructor when setting * up the initial roles for the system. * * Using this function in any other way is effectively circumventing the admin * system imposed by {AccessControl}. * ==== * * NOTE: This function is deprecated in favor of {_grantRole}. */ function _setupRole(bytes32 role, address account) internal virtual { _grantRole(role, account); } /** * @dev Sets `adminRole` as ``role``'s admin role. * * Emits a {RoleAdminChanged} event. */ function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual { bytes32 previousAdminRole = getRoleAdmin(role); _roles[role].adminRole = adminRole; emit RoleAdminChanged(role, previousAdminRole, adminRole); } /** * @dev Grants `role` to `account`. * * Internal function without access restriction. */ function _grantRole(bytes32 role, address account) internal virtual { if (!hasRole(role, account)) { _roles[role].members[account] = true; emit RoleGranted(role, account, _msgSender()); } } /** * @dev Revokes `role` from `account`. * * Internal function without access restriction. */ function _revokeRole(bytes32 role, address account) internal virtual { if (hasRole(role, account)) { _roles[role].members[account] = false; emit RoleRevoked(role, account, _msgSender()); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Enumerable.sol) pragma solidity ^0.8.0; import "../ERC721.sol"; import "./IERC721Enumerable.sol"; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` cannot be the zero address. * - `to` cannot be the zero address. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual override { super._beforeTokenTransfer(from, to, tokenId); if (from == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = ERC721.balanceOf(from) - 1; uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array delete _ownedTokensIndex[tokenId]; delete _ownedTokens[from][lastTokenIndex]; } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length - 1; uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array delete _allTokensIndex[tokenId]; _allTokens.pop(); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.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); _afterTokenTransfer(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); _afterTokenTransfer(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 from incorrect owner"); 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); _afterTokenTransfer(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 {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/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 (last updated v4.5.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @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 * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/IAccessControl.sol) pragma solidity ^0.8.0; /** * @dev External interface of AccessControl declared to support ERC165 detection. */ interface IAccessControl { /** * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole` * * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite * {RoleAdminChanged} not being emitted signaling this. * * _Available since v3.1._ */ event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole); /** * @dev Emitted when `account` is granted `role`. * * `sender` is the account that originated the contract call, an admin role * bearer except when using {AccessControl-_setupRole}. */ event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Emitted when `account` is revoked `role`. * * `sender` is the account that originated the contract call: * - if using `revokeRole`, it is the admin role bearer * - if using `renounceRole`, it is the role bearer (i.e. `account`) */ event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) external view returns (bool); /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {AccessControl-_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) external view returns (bytes32); /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function grantRole(bytes32 role, address account) external; /** * @dev Revokes `role` from `account`. * * If `account` had been granted `role`, emits a {RoleRevoked} event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function revokeRole(bytes32 role, address account) external; /** * @dev Revokes `role` from the calling account. * * Roles are often managed via {grantRole} and {revokeRole}: this function's * purpose is to provide a mechanism for accounts to lose their privileges * if they are compromised (such as when a trusted device is misplaced). * * If the calling account had been granted `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `account`. */ function renounceRole(bytes32 role, address account) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"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":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"bytes32","name":"addressId","type":"bytes32"}],"name":"TokenRedeemed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINTER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PAUSER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PAYMENT_ADDRESS","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"_drop","outputs":[{"internalType":"uint8","name":"status","type":"uint8"},{"internalType":"uint256","name":"initTokenId","type":"uint256"},{"internalType":"uint256","name":"totalNum","type":"uint256"},{"internalType":"uint256","name":"maxPreWallet","type":"uint256"},{"internalType":"uint256","name":"maxPreWhiteList","type":"uint256"},{"internalType":"bytes32","name":"whiteListProofRoot","type":"bytes32"},{"internalType":"uint256","name":"tokenCounter","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"_redeemAddress","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint8","name":"status","type":"uint8"},{"internalType":"uint256","name":"initTokenId","type":"uint256"},{"internalType":"uint256","name":"totalNum","type":"uint256"},{"internalType":"uint256","name":"maxPreWallet","type":"uint256"},{"internalType":"uint256","name":"maxPreWhiteList","type":"uint256"},{"internalType":"bytes32","name":"whiteListProofRoot","type":"bytes32"}],"name":"addDrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"uint8","name":"dropId","type":"uint8"},{"internalType":"uint256","name":"price","type":"uint256"},{"internalType":"uint256","name":"quantity","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"internalType":"struct POPEYE.Purchase","name":"data","type":"tuple"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"buy","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"getRedeemAddress","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"bytes32","name":"_addressId","type":"bytes32"}],"name":"redeemToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"dropId","type":"uint8"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"safeMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"dropId","type":"uint8"},{"internalType":"bytes32","name":"whiteListProofRoot","type":"bytes32"}],"name":"setRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"dropId","type":"uint8"},{"internalType":"uint8","name":"status","type":"uint8"}],"name":"setStatus","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":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b506040518060400160405280600681526020017f504f5045594500000000000000000000000000000000000000000000000000008152506040518060400160405280600681526020017f504f504559450000000000000000000000000000000000000000000000000000815250816000908051906020019062000096929190620012dd565b508060019080519060200190620000af929190620012dd565b505050620000c76000801b33620001e260201b60201c565b620000f97f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a33620001e260201b60201c565b6200012b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a633620001e260201b60201c565b6200016d60016701634694dccfe8816107d06003807ff55ec488b233b3881cc49c3be0246e0eceb18a293a1b355a7227f798d551ede6620002d460201b60201c565b620001b37f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a673d3a94f0630329ab9096826cc96f203a6709e1744620001e260201b60201c565b620001dc600073246cd0529fc31ecc5bde42019b17322b11e2c73b60326200037160201b60201c565b62001d45565b620001f482826200051d60201b60201c565b620002d0576001600a600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550620002756200058860201b60201c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b6000801b620002f981620002ed6200058860201b60201c565b6200059060201b60201c565b6000600b6001816001815401808255809150500390600052602060002090600802019050878160000160006101000a81548160ff021916908360ff1602179055508681600101819055508581600201819055508481600301819055508381600401819055508281600501819055505050505050505050565b6000600b8460ff16815481106200038d576200038c62001ad4565b5b9060005260206000209060080201905060008160000160009054906101000a900460ff1660ff1611620003f7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620003ee9062001730565b60405180910390fd5b80600201548282600701546200040e9190620017fb565b111562000452576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620004499062001796565b60405180910390fd5b60005b828110156200051657600082600701548360010154620004769190620017fb565b90508260070160008154809291906200048f90620019f9565b91905055508260060160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815480929190620004e890620019f9565b9190505550620004ff85826200065460201b60201c565b5080806200050d90620019f9565b91505062000455565b5050505050565b6000600a600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600033905090565b620005a282826200051d60201b60201c565b6200065057620005d58173ffffffffffffffffffffffffffffffffffffffff1660146200067a60201b62001bc71760201c565b620005f08360001c60206200067a60201b62001bc71760201c565b6040516020016200060392919062001610565b6040516020818303038152906040526040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620006479190620016a6565b60405180910390fd5b5050565b62000676828260405180602001604052806000815250620008d560201b60201c565b5050565b6060600060028360026200068f919062001858565b6200069b9190620017fb565b67ffffffffffffffff811115620006b757620006b662001b03565b5b6040519080825280601f01601f191660200182016040528015620006ea5781602001600182028036833780820191505090505b5090507f30000000000000000000000000000000000000000000000000000000000000008160008151811062000725576200072462001ad4565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f7800000000000000000000000000000000000000000000000000000000000000816001815181106200078c576200078b62001ad4565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060006001846002620007ce919062001858565b620007da9190620017fb565b90505b600181111562000884577f3031323334353637383961626364656600000000000000000000000000000000600f86166010811062000820576200081f62001ad4565b5b1a60f81b8282815181106200083a576200083962001ad4565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c9450806200087c9062001994565b9050620007dd565b5060008414620008cb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620008c290620016ca565b60405180910390fd5b8091505092915050565b620008e783836200094360201b60201c565b620008fc600084848462000b3d60201b60201c565b6200093e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200093590620016ec565b60405180910390fd5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415620009b6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620009ad9062001774565b60405180910390fd5b620009c78162000cf760201b60201c565b1562000a0a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000a01906200170e565b60405180910390fd5b62000a1e6000838362000d6360201b60201c565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825462000a709190620017fb565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a462000b396000838362000d8060201b60201c565b5050565b600062000b6b8473ffffffffffffffffffffffffffffffffffffffff1662000d8560201b62001e031760201c565b1562000cea578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0262000b9d6200058860201b60201c565b8786866040518563ffffffff1660e01b815260040162000bc1949392919062001652565b602060405180830381600087803b15801562000bdc57600080fd5b505af192505050801562000c1057506040513d601f19601f8201168201806040525081019062000c0d9190620013a4565b60015b62000c99573d806000811462000c43576040519150601f19603f3d011682016040523d82523d6000602084013e62000c48565b606091505b5060008151141562000c91576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000c8890620016ec565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505062000cef565b600190505b949350505050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b62000d7b83838362000da860201b62001e261760201c565b505050565b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b62000dc083838362000eef60201b62001f3a1760201c565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141562000e0d5762000e078162000ef460201b60201c565b62000e55565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161462000e545762000e53838262000f3d60201b60201c565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141562000ea25762000e9c81620010ba60201b60201c565b62000eea565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161462000ee95762000ee882826200119660201b60201c565b5b5b505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600162000f57846200122260201b620014491760201c565b62000f639190620018b9565b905060006007600084815260200190815260200160002054905081811462001049576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050620010d09190620018b9565b905060006009600084815260200190815260200160002054905060006008838154811062001103576200110262001ad4565b5b90600052602060002001549050806008838154811062001128576200112762001ad4565b5b9060005260206000200181905550816009600083815260200190815260200160002081905550600960008581526020019081526020016000206000905560088054806200117a576200117962001aa5565b5b6001900381819060005260206000200160009055905550505050565b6000620011ae836200122260201b620014491760201c565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141562001296576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200128d9062001752565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b828054620012eb90620019c3565b90600052602060002090601f0160209004810192826200130f57600085556200135b565b82601f106200132a57805160ff19168380011785556200135b565b828001600101855582156200135b579182015b828111156200135a5782518255916020019190600101906200133d565b5b5090506200136a91906200136e565b5090565b5b80821115620013895760008160009055506001016200136f565b5090565b6000815190506200139e8162001d2b565b92915050565b600060208284031215620013bd57620013bc62001b32565b5b6000620013cd848285016200138d565b91505092915050565b620013e181620018f4565b82525050565b6000620013f482620017b8565b620014008185620017ce565b9350620014128185602086016200195e565b6200141d8162001b37565b840191505092915050565b60006200143582620017c3565b620014418185620017df565b9350620014538185602086016200195e565b6200145e8162001b37565b840191505092915050565b60006200147682620017c3565b620014828185620017f0565b9350620014948185602086016200195e565b80840191505092915050565b6000620014af602083620017df565b9150620014bc8262001b48565b602082019050919050565b6000620014d6603283620017df565b9150620014e38262001b71565b604082019050919050565b6000620014fd601c83620017df565b91506200150a8262001bc0565b602082019050919050565b600062001524602283620017df565b9150620015318262001be9565b604082019050919050565b60006200154b602a83620017df565b9150620015588262001c38565b604082019050919050565b600062001572602083620017df565b91506200157f8262001c87565b602082019050919050565b600062001599601783620017f0565b9150620015a68262001cb0565b601782019050919050565b6000620015c0601e83620017df565b9150620015cd8262001cd9565b602082019050919050565b6000620015e7601183620017f0565b9150620015f48262001d02565b601182019050919050565b6200160a8162001954565b82525050565b60006200161d826200158a565b91506200162b828562001469565b91506200163882620015d8565b915062001646828462001469565b91508190509392505050565b6000608082019050620016696000830187620013d6565b620016786020830186620013d6565b620016876040830185620015ff565b81810360608301526200169b8184620013e7565b905095945050505050565b60006020820190508181036000830152620016c2818462001428565b905092915050565b60006020820190508181036000830152620016e581620014a0565b9050919050565b600060208201905081810360008301526200170781620014c7565b9050919050565b600060208201905081810360008301526200172981620014ee565b9050919050565b600060208201905081810360008301526200174b8162001515565b9050919050565b600060208201905081810360008301526200176d816200153c565b9050919050565b600060208201905081810360008301526200178f8162001563565b9050919050565b60006020820190508181036000830152620017b181620015b1565b9050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000620018088262001954565b9150620018158362001954565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156200184d576200184c62001a47565b5b828201905092915050565b6000620018658262001954565b9150620018728362001954565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615620018ae57620018ad62001a47565b5b828202905092915050565b6000620018c68262001954565b9150620018d38362001954565b925082821015620018e957620018e862001a47565b5b828203905092915050565b6000620019018262001934565b9050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60005b838110156200197e57808201518184015260208101905062001961565b838111156200198e576000848401525b50505050565b6000620019a18262001954565b91506000821415620019b857620019b762001a47565b5b600182039050919050565b60006002820490506001821680620019dc57607f821691505b60208210811415620019f357620019f262001a76565b5b50919050565b600062001a068262001954565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141562001a3c5762001a3b62001a47565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b6000601f19601f8301169050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f504f504559453a2044726f70206e6f74206578697374206f72206e6f74206f7060008201527f656e000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b7f504f504559453a20546f74616c204d696e74204e756d20526561636865640000600082015250565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b62001d368162001908565b811462001d4257600080fd5b50565b6156588062001d556000396000f3fe60806040526004361061021a5760003560e01c80638da5cb5b11610123578063c87b56dd116100ab578063e63ab1e91161006f578063e63ab1e914610836578063e8a3d48514610861578063e985e9c51461088c578063eb7c2207146108c9578063f3e7e4e5146108f25761021a565b8063c87b56dd1461073d578063cacce19b1461077a578063d5391393146107b7578063d547741f146107e2578063e02695051461080b5761021a565b8063a217fddf116100f2578063a217fddf1461066e578063a22cb46514610699578063b3531b3d146106c2578063b88d4fde146106eb578063c2a0d4b3146107145761021a565b80638da5cb5b146105b257806391d14854146105dd578063951ea4981461061a57806395d89b41146106435761021a565b80632f2ff15d116101a657806342966c681161017557806342966c68146104955780634f6ccce7146104be5780636352211e146104fb57806370a0823114610538578063712f608e146105755761021a565b80632f2ff15d146103dd5780632f745c591461040657806336568abe1461044357806342842e0e1461046c5761021a565b8063095ea7b3116101ed578063095ea7b3146103075780631483d83c1461033057806318160ddd1461034c57806323b872dd14610377578063248a9ca3146103a05761021a565b806301ffc9a71461021f57806306fdde031461025c578063081812fc146102875780630904401c146102c4575b600080fd5b34801561022b57600080fd5b506102466004803603810190610241919061395e565b61091b565b60405161025391906142ed565b60405180910390f35b34801561026857600080fd5b5061027161092d565b60405161027e91906143c9565b60405180910390f35b34801561029357600080fd5b506102ae60048036038101906102a99190613a3b565b6109bf565b6040516102bb9190614286565b60405180910390f35b3480156102d057600080fd5b506102eb60048036038101906102e69190613a3b565b610a44565b6040516102fe97969594939291906147ef565b60405180910390f35b34801561031357600080fd5b5061032e600480360381019061032991906138b1565b610aa3565b005b61034a600480360381019061034591906139b8565b610bbb565b005b34801561035857600080fd5b506103616110cc565b60405161036e91906147ab565b60405180910390f35b34801561038357600080fd5b5061039e6004803603810190610399919061379b565b6110d9565b005b3480156103ac57600080fd5b506103c760048036038101906103c291906138f1565b611139565b6040516103d49190614308565b60405180910390f35b3480156103e957600080fd5b5061040460048036038101906103ff919061391e565b611159565b005b34801561041257600080fd5b5061042d600480360381019061042891906138b1565b611182565b60405161043a91906147ab565b60405180910390f35b34801561044f57600080fd5b5061046a6004803603810190610465919061391e565b611227565b005b34801561047857600080fd5b50610493600480360381019061048e919061379b565b6112aa565b005b3480156104a157600080fd5b506104bc60048036038101906104b79190613a3b565b6112ca565b005b3480156104ca57600080fd5b506104e560048036038101906104e09190613a3b565b611326565b6040516104f291906147ab565b60405180910390f35b34801561050757600080fd5b50610522600480360381019061051d9190613a3b565b611397565b60405161052f9190614286565b60405180910390f35b34801561054457600080fd5b5061055f600480360381019061055a919061372e565b611449565b60405161056c91906147ab565b60405180910390f35b34801561058157600080fd5b5061059c60048036038101906105979190613a3b565b611501565b6040516105a99190614308565b60405180910390f35b3480156105be57600080fd5b506105c761151e565b6040516105d49190614286565b60405180910390f35b3480156105e957600080fd5b5061060460048036038101906105ff919061391e565b611536565b60405161061191906142ed565b60405180910390f35b34801561062657600080fd5b50610641600480360381019061063c9190613bf5565b6115a1565b005b34801561064f57600080fd5b506106586115fc565b60405161066591906143c9565b60405180910390f35b34801561067a57600080fd5b5061068361168e565b6040516106909190614308565b60405180910390f35b3480156106a557600080fd5b506106c060048036038101906106bb9190613871565b611695565b005b3480156106ce57600080fd5b506106e960048036038101906106e49190613a68565b6116ab565b005b3480156106f757600080fd5b50610712600480360381019061070d91906137ee565b611816565b005b34801561072057600080fd5b5061073b60048036038101906107369190613b28565b611878565b005b34801561074957600080fd5b50610764600480360381019061075f9190613a3b565b6118bf565b60405161077191906143c9565b60405180910390f35b34801561078657600080fd5b506107a1600480360381019061079c9190613a3b565b611966565b6040516107ae9190614308565b60405180910390f35b3480156107c357600080fd5b506107cc61197e565b6040516107d99190614308565b60405180910390f35b3480156107ee57600080fd5b506108096004803603810190610804919061391e565b6119a2565b005b34801561081757600080fd5b506108206119cb565b60405161082d9190614286565b60405180910390f35b34801561084257600080fd5b5061084b6119e3565b6040516108589190614308565b60405180910390f35b34801561086d57600080fd5b50610876611a07565b60405161088391906143c9565b60405180910390f35b34801561089857600080fd5b506108b360048036038101906108ae919061375b565b611a63565b6040516108c091906142ed565b60405180910390f35b3480156108d557600080fd5b506108f060048036038101906108eb9190613b68565b611af7565b005b3480156108fe57600080fd5b5061091960048036038101906109149190613ad5565b611b84565b005b600061092682611f3f565b9050919050565b60606000805461093c90614b66565b80601f016020809104026020016040519081016040528092919081815260200182805461096890614b66565b80156109b55780601f1061098a576101008083540402835291602001916109b5565b820191906000526020600020905b81548152906001019060200180831161099857829003601f168201915b5050505050905090565b60006109ca82611fb9565b610a09576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a009061468b565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600b8181548110610a5457600080fd5b90600052602060002090600802016000915090508060000160009054906101000a900460ff16908060010154908060020154908060030154908060040154908060050154908060070154905087565b6000610aae82611397565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610b1f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b16906146cb565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610b3e612025565b73ffffffffffffffffffffffffffffffffffffffff161480610b6d5750610b6c81610b67612025565b611a63565b5b610bac576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ba3906145cb565b60405180910390fd5b610bb6838361202d565b505050565b60007f1f5221bcc27c8c4aec4fff893ce75c794feec2fab37e06234a8092bac29b76333386602001358760400135886000016020810190610bfc9190613aa8565b46604051602001610c1296959493929190614323565b604051602081830303815290604052805190602001209050600081604051602001610c3d9190614226565b604051602081830303815290604052805190602001209050600060018287878760405160008152602001604052604051610c7a9493929190614384565b6020604051602081039080840390855afa158015610c9c573d6000803e3d6000fd5b505050602060405103519050610cd27f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a682611536565b610d11576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d089061464b565b60405180910390fd5b6000600b886000016020810190610d289190613aa8565b60ff1681548110610d3c57610d3b614d09565b5b9060005260206000209060080201905060008160000160009054906101000a900460ff1660ff1611610da3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d9a9061456b565b60405180910390fd5b6000886040013511610dea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610de19061450b565b60405180910390fd5b806003015488604001358260060160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610e40919061495a565b1115610e81576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e78906144ab565b60405180910390fd5b60018160000160009054906101000a900460ff1660ff161415610fff57806004015488604001358260060160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610ef4919061495a565b1115610f35576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f2c9061444b565b60405180910390fd5b600033604051602001610f489190614286565b604051602081830303815290604052805190602001209050610fbe898060600190610f73919061485e565b80806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f820116905080830192505050505050508360050154836120e6565b610ffd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ff49061452b565b60405180910390fd5b505b8760200135341015611046576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161103d9061454b565b60405180910390fd5b7309cb88b510131bc4a8b21229d33a900c03232d5673ffffffffffffffffffffffffffffffffffffffff166108fc349081150290604051600060405180830381858888f193505050501580156110a0573d6000803e3d6000fd5b506110c28860000160208101906110b79190613aa8565b338a604001356120fd565b5050505050505050565b6000600880549050905090565b6110ea6110e4612025565b8261228c565b611129576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111209061470b565b60405180910390fd5b61113483838361236a565b505050565b6000600a6000838152602001908152602001600020600101549050919050565b61116282611139565b6111738161116e612025565b6125d1565b61117d838361266e565b505050565b600061118d83611449565b82106111ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111c59061440b565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b61122f612025565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461129c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112939061478b565b60405180910390fd5b6112a6828261274f565b5050565b6112c583838360405180602001604052806000815250611816565b505050565b6112db6112d5612025565b8261228c565b61131a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113119061476b565b60405180910390fd5b61132381612831565b50565b60006113306110cc565b8210611371576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113689061472b565b60405180910390fd5b6008828154811061138557611384614d09565b5b90600052602060002001549050919050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611440576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114379061460b565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156114ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114b1906145eb565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000600c6000838152602001908152602001600020549050919050565b73246cd0529fc31ecc5bde42019b17322b11e2c73b81565b6000600a600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6000801b6115b6816115b1612025565b6125d1565b81600b8460ff16815481106115ce576115cd614d09565b5b906000526020600020906008020160000160006101000a81548160ff021916908360ff160217905550505050565b60606001805461160b90614b66565b80601f016020809104026020016040519081016040528092919081815260200182805461163790614b66565b80156116845780601f1061165957610100808354040283529160200191611684565b820191906000526020600020905b81548152906001019060200180831161166757829003601f168201915b5050505050905090565b6000801b81565b6116a76116a0612025565b838361294e565b5050565b6116b482611fb9565b6116f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116ea906145ab565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff1661171383611397565b73ffffffffffffffffffffffffffffffffffffffff1614611769576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611760906146eb565b60405180910390fd5b6000801b600c600084815260200190815260200160002054146117c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117b89061462b565b60405180910390fd5b80600c6000848152602001908152602001600020819055507fa5f4689df7b024c866fa09aab0a5366743d1a5090af1f049c217a46b199db292828260405161180a9291906147c6565b60405180910390a15050565b611827611821612025565b8361228c565b611866576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161185d9061470b565b60405180910390fd5b61187284848484612abb565b50505050565b6000801b61188d81611888612025565b6125d1565b81600b8460ff16815481106118a5576118a4614d09565b5b906000526020600020906008020160050181905550505050565b60606118ca82611fb9565b611909576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611900906146ab565b60405180910390fd5b6000611913612b17565b90506000815111611933576040518060200160405280600081525061195e565b8061193d84612b54565b60405160200161194e9291906141e0565b6040516020818303038152906040525b915050919050565b600c6020528060005260406000206000915090505481565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b6119ab82611139565b6119bc816119b7612025565b6125d1565b6119c6838361274f565b505050565b7309cb88b510131bc4a8b21229d33a900c03232d5681565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a81565b60606040518060400160405280602081526020017f68747470733a2f2f697066732e6d6164776f726c642e696f2f706f706579652f815250604051602001611a4f9190614204565b604051602081830303815290604052905090565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6000801b611b0c81611b07612025565b6125d1565b6000600b6001816001815401808255809150500390600052602060002090600802019050878160000160006101000a81548160ff021916908360ff1602179055508681600101819055508581600201819055508481600301819055508381600401819055508281600501819055505050505050505050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6611bb681611bb1612025565b6125d1565b611bc18484846120fd565b50505050565b606060006002836002611bda91906149e1565b611be4919061495a565b67ffffffffffffffff811115611bfd57611bfc614d38565b5b6040519080825280601f01601f191660200182016040528015611c2f5781602001600182028036833780820191505090505b5090507f300000000000000000000000000000000000000000000000000000000000000081600081518110611c6757611c66614d09565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f780000000000000000000000000000000000000000000000000000000000000081600181518110611ccb57611cca614d09565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060006001846002611d0b91906149e1565b611d15919061495a565b90505b6001811115611db5577f3031323334353637383961626364656600000000000000000000000000000000600f861660108110611d5757611d56614d09565b5b1a60f81b828281518110611d6e57611d6d614d09565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c945080611dae90614b3c565b9050611d18565b5060008414611df9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611df0906143eb565b60405180910390fd5b8091505092915050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b611e31838383611f3a565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611e7457611e6f81612cb5565b611eb3565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614611eb257611eb18382612cfe565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611ef657611ef181612e6b565b611f35565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614611f3457611f338282612f3c565b5b5b505050565b505050565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611fb25750611fb182612fbb565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166120a083611397565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000826120f38584613035565b1490509392505050565b6000600b8460ff168154811061211657612115614d09565b5b9060005260206000209060080201905060008160000160009054906101000a900460ff1660ff161161217d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121749061456b565b60405180910390fd5b8060020154828260070154612192919061495a565b11156121d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121ca9061474b565b60405180910390fd5b60005b82811015612285576000826007015483600101546121f4919061495a565b905082600701600081548092919061220b90614bc9565b91905055508260060160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081548092919061226290614bc9565b919050555061227185826130aa565b50808061227d90614bc9565b9150506121d6565b5050505050565b600061229782611fb9565b6122d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122cd9061458b565b60405180910390fd5b60006122e183611397565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061235057508373ffffffffffffffffffffffffffffffffffffffff16612338846109bf565b73ffffffffffffffffffffffffffffffffffffffff16145b8061236157506123608185611a63565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661238a82611397565b73ffffffffffffffffffffffffffffffffffffffff16146123e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123d79061446b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612450576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612447906144cb565b60405180910390fd5b61245b8383836130c8565b61246660008261202d565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546124b69190614a3b565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461250d919061495a565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46125cc8383836130d8565b505050565b6125db8282611536565b61266a576126008173ffffffffffffffffffffffffffffffffffffffff166014611bc7565b61260e8360001c6020611bc7565b60405160200161261f92919061424c565b6040516020818303038152906040526040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161266191906143c9565b60405180910390fd5b5050565b6126788282611536565b61274b576001600a600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506126f0612025565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b6127598282611536565b1561282d576000600a600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506127d2612025565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b600061283c82611397565b905061284a816000846130c8565b61285560008361202d565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546128a59190614a3b565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461294a816000846130d8565b5050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156129bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129b4906144eb565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612aae91906142ed565b60405180910390a3505050565b612ac684848461236a565b612ad2848484846130dd565b612b11576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b089061442b565b60405180910390fd5b50505050565b60606040518060400160405280602081526020017f68747470733a2f2f697066732e6d6164776f726c642e696f2f706f706579652f815250905090565b60606000821415612b9c576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612cb0565b600082905060005b60008214612bce578080612bb790614bc9565b915050600a82612bc791906149b0565b9150612ba4565b60008167ffffffffffffffff811115612bea57612be9614d38565b5b6040519080825280601f01601f191660200182016040528015612c1c5781602001600182028036833780820191505090505b5090505b60008514612ca957600182612c359190614a3b565b9150600a85612c449190614c1c565b6030612c50919061495a565b60f81b818381518110612c6657612c65614d09565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612ca291906149b0565b9450612c20565b8093505050505b919050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001612d0b84611449565b612d159190614a3b565b9050600060076000848152602001908152602001600020549050818114612dfa576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050612e7f9190614a3b565b9050600060096000848152602001908152602001600020549050600060088381548110612eaf57612eae614d09565b5b906000526020600020015490508060088381548110612ed157612ed0614d09565b5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480612f2057612f1f614cda565b5b6001900381819060005260206000200160009055905550505050565b6000612f4783611449565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061302e575061302d82613274565b5b9050919050565b60008082905060005b845181101561309f57600085828151811061305c5761305b614d09565b5b6020026020010151905080831161307e576130778382613356565b925061308b565b6130888184613356565b92505b50808061309790614bc9565b91505061303e565b508091505092915050565b6130c482826040518060200160405280600081525061336d565b5050565b6130d3838383611e26565b505050565b505050565b60006130fe8473ffffffffffffffffffffffffffffffffffffffff16611e03565b15613267578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613127612025565b8786866040518563ffffffff1660e01b815260040161314994939291906142a1565b602060405180830381600087803b15801561316357600080fd5b505af192505050801561319457506040513d601f19601f82011682018060405250810190613191919061398b565b60015b613217573d80600081146131c4576040519150601f19603f3d011682016040523d82523d6000602084013e6131c9565b606091505b5060008151141561320f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132069061442b565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061326c565b600190505b949350505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061333f57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061334f575061334e826133c8565b5b9050919050565b600082600052816020526040600020905092915050565b6133778383613432565b61338460008484846130dd565b6133c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133ba9061442b565b60405180910390fd5b505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156134a2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134999061466b565b60405180910390fd5b6134ab81611fb9565b156134eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134e29061448b565b60405180910390fd5b6134f7600083836130c8565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254613547919061495a565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4613608600083836130d8565b5050565b600061361f61361a846148e6565b6148c1565b90508281526020810184848401111561363b5761363a614d80565b5b613646848285614afa565b509392505050565b60008135905061365d81615598565b92915050565b600081359050613672816155af565b92915050565b600081359050613687816155c6565b92915050565b60008135905061369c816155dd565b92915050565b6000815190506136b1816155dd565b92915050565b600082601f8301126136cc576136cb614d67565b5b81356136dc84826020860161360c565b91505092915050565b6000608082840312156136fb576136fa614d71565b5b81905092915050565b600081359050613713816155f4565b92915050565b6000813590506137288161560b565b92915050565b60006020828403121561374457613743614d8a565b5b60006137528482850161364e565b91505092915050565b6000806040838503121561377257613771614d8a565b5b60006137808582860161364e565b92505060206137918582860161364e565b9150509250929050565b6000806000606084860312156137b4576137b3614d8a565b5b60006137c28682870161364e565b93505060206137d38682870161364e565b92505060406137e486828701613704565b9150509250925092565b6000806000806080858703121561380857613807614d8a565b5b60006138168782880161364e565b94505060206138278782880161364e565b935050604061383887828801613704565b925050606085013567ffffffffffffffff81111561385957613858614d85565b5b613865878288016136b7565b91505092959194509250565b6000806040838503121561388857613887614d8a565b5b60006138968582860161364e565b92505060206138a785828601613663565b9150509250929050565b600080604083850312156138c8576138c7614d8a565b5b60006138d68582860161364e565b92505060206138e785828601613704565b9150509250929050565b60006020828403121561390757613906614d8a565b5b600061391584828501613678565b91505092915050565b6000806040838503121561393557613934614d8a565b5b600061394385828601613678565b92505060206139548582860161364e565b9150509250929050565b60006020828403121561397457613973614d8a565b5b60006139828482850161368d565b91505092915050565b6000602082840312156139a1576139a0614d8a565b5b60006139af848285016136a2565b91505092915050565b600080600080608085870312156139d2576139d1614d8a565b5b600085013567ffffffffffffffff8111156139f0576139ef614d85565b5b6139fc878288016136e5565b9450506020613a0d87828801613719565b9350506040613a1e87828801613678565b9250506060613a2f87828801613678565b91505092959194509250565b600060208284031215613a5157613a50614d8a565b5b6000613a5f84828501613704565b91505092915050565b60008060408385031215613a7f57613a7e614d8a565b5b6000613a8d85828601613704565b9250506020613a9e85828601613678565b9150509250929050565b600060208284031215613abe57613abd614d8a565b5b6000613acc84828501613719565b91505092915050565b600080600060608486031215613aee57613aed614d8a565b5b6000613afc86828701613719565b9350506020613b0d8682870161364e565b9250506040613b1e86828701613704565b9150509250925092565b60008060408385031215613b3f57613b3e614d8a565b5b6000613b4d85828601613719565b9250506020613b5e85828601613678565b9150509250929050565b60008060008060008060c08789031215613b8557613b84614d8a565b5b6000613b9389828a01613719565b9650506020613ba489828a01613704565b9550506040613bb589828a01613704565b9450506060613bc689828a01613704565b9350506080613bd789828a01613704565b92505060a0613be889828a01613678565b9150509295509295509295565b60008060408385031215613c0c57613c0b614d8a565b5b6000613c1a85828601613719565b9250506020613c2b85828601613719565b9150509250929050565b613c3e81614a6f565b82525050565b613c4d81614a81565b82525050565b613c5c81614a8d565b82525050565b613c73613c6e82614a8d565b614c12565b82525050565b6000613c8482614917565b613c8e818561492d565b9350613c9e818560208601614b09565b613ca781614d8f565b840191505092915050565b6000613cbd82614922565b613cc7818561493e565b9350613cd7818560208601614b09565b613ce081614d8f565b840191505092915050565b6000613cf682614922565b613d00818561494f565b9350613d10818560208601614b09565b80840191505092915050565b6000613d2960208361493e565b9150613d3482614da0565b602082019050919050565b6000613d4c601c8361494f565b9150613d5782614dc9565b601c82019050919050565b6000613d6f602b8361493e565b9150613d7a82614df2565b604082019050919050565b6000613d9260328361493e565b9150613d9d82614e41565b604082019050919050565b6000613db560208361493e565b9150613dc082614e90565b602082019050919050565b6000613dd860258361493e565b9150613de382614eb9565b604082019050919050565b6000613dfb601c8361493e565b9150613e0682614f08565b602082019050919050565b6000613e1e601c8361493e565b9150613e2982614f31565b602082019050919050565b6000613e4160248361493e565b9150613e4c82614f5a565b604082019050919050565b6000613e6460198361493e565b9150613e6f82614fa9565b602082019050919050565b6000613e8760278361493e565b9150613e9282614fd2565b604082019050919050565b6000613eaa60198361493e565b9150613eb582615021565b602082019050919050565b6000613ecd601a8361493e565b9150613ed88261504a565b602082019050919050565b6000613ef060228361493e565b9150613efb82615073565b604082019050919050565b6000613f13602c8361493e565b9150613f1e826150c2565b604082019050919050565b6000613f3660178361493e565b9150613f4182615111565b602082019050919050565b6000613f5960388361493e565b9150613f648261513a565b604082019050919050565b6000613f7c602a8361493e565b9150613f8782615189565b604082019050919050565b6000613f9f60298361493e565b9150613faa826151d8565b604082019050919050565b6000613fc260188361493e565b9150613fcd82615227565b602082019050919050565b6000613fe560168361493e565b9150613ff082615250565b602082019050919050565b600061400860208361493e565b915061401382615279565b602082019050919050565b600061402b602c8361493e565b9150614036826152a2565b604082019050919050565b600061404e602f8361493e565b9150614059826152f1565b604082019050919050565b600061407160218361493e565b915061407c82615340565b604082019050919050565b6000614094601d8361493e565b915061409f8261538f565b602082019050919050565b60006140b760318361493e565b91506140c2826153b8565b604082019050919050565b60006140da602c8361493e565b91506140e582615407565b604082019050919050565b60006140fd60178361494f565b915061410882615456565b601782019050919050565b6000614120601e8361493e565b915061412b8261547f565b602082019050919050565b600061414360308361493e565b915061414e826154a8565b604082019050919050565b6000614166600d8361494f565b9150614171826154f7565b600d82019050919050565b600061418960118361494f565b915061419482615520565b601182019050919050565b60006141ac602f8361493e565b91506141b782615549565b604082019050919050565b6141cb81614ae3565b82525050565b6141da81614aed565b82525050565b60006141ec8285613ceb565b91506141f88284613ceb565b91508190509392505050565b60006142108284613ceb565b915061421b82614159565b915081905092915050565b600061423182613d3f565b915061423d8284613c62565b60208201915081905092915050565b6000614257826140f0565b91506142638285613ceb565b915061426e8261417c565b915061427a8284613ceb565b91508190509392505050565b600060208201905061429b6000830184613c35565b92915050565b60006080820190506142b66000830187613c35565b6142c36020830186613c35565b6142d060408301856141c2565b81810360608301526142e28184613c79565b905095945050505050565b60006020820190506143026000830184613c44565b92915050565b600060208201905061431d6000830184613c53565b92915050565b600060c0820190506143386000830189613c53565b6143456020830188613c35565b61435260408301876141c2565b61435f60608301866141c2565b61436c60808301856141d1565b61437960a08301846141c2565b979650505050505050565b60006080820190506143996000830187613c53565b6143a660208301866141d1565b6143b36040830185613c53565b6143c06060830184613c53565b95945050505050565b600060208201905081810360008301526143e38184613cb2565b905092915050565b6000602082019050818103600083015261440481613d1c565b9050919050565b6000602082019050818103600083015261442481613d62565b9050919050565b6000602082019050818103600083015261444481613d85565b9050919050565b6000602082019050818103600083015261446481613da8565b9050919050565b6000602082019050818103600083015261448481613dcb565b9050919050565b600060208201905081810360008301526144a481613dee565b9050919050565b600060208201905081810360008301526144c481613e11565b9050919050565b600060208201905081810360008301526144e481613e34565b9050919050565b6000602082019050818103600083015261450481613e57565b9050919050565b6000602082019050818103600083015261452481613e7a565b9050919050565b6000602082019050818103600083015261454481613e9d565b9050919050565b6000602082019050818103600083015261456481613ec0565b9050919050565b6000602082019050818103600083015261458481613ee3565b9050919050565b600060208201905081810360008301526145a481613f06565b9050919050565b600060208201905081810360008301526145c481613f29565b9050919050565b600060208201905081810360008301526145e481613f4c565b9050919050565b6000602082019050818103600083015261460481613f6f565b9050919050565b6000602082019050818103600083015261462481613f92565b9050919050565b6000602082019050818103600083015261464481613fb5565b9050919050565b6000602082019050818103600083015261466481613fd8565b9050919050565b6000602082019050818103600083015261468481613ffb565b9050919050565b600060208201905081810360008301526146a48161401e565b9050919050565b600060208201905081810360008301526146c481614041565b9050919050565b600060208201905081810360008301526146e481614064565b9050919050565b6000602082019050818103600083015261470481614087565b9050919050565b60006020820190508181036000830152614724816140aa565b9050919050565b60006020820190508181036000830152614744816140cd565b9050919050565b6000602082019050818103600083015261476481614113565b9050919050565b6000602082019050818103600083015261478481614136565b9050919050565b600060208201905081810360008301526147a48161419f565b9050919050565b60006020820190506147c060008301846141c2565b92915050565b60006040820190506147db60008301856141c2565b6147e86020830184613c53565b9392505050565b600060e082019050614804600083018a6141d1565b61481160208301896141c2565b61481e60408301886141c2565b61482b60608301876141c2565b61483860808301866141c2565b61484560a0830185613c53565b61485260c08301846141c2565b98975050505050505050565b6000808335600160200384360303811261487b5761487a614d76565b5b80840192508235915067ffffffffffffffff82111561489d5761489c614d6c565b5b6020830192506020820236038313156148b9576148b8614d7b565b5b509250929050565b60006148cb6148dc565b90506148d78282614b98565b919050565b6000604051905090565b600067ffffffffffffffff82111561490157614900614d38565b5b61490a82614d8f565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600061496582614ae3565b915061497083614ae3565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156149a5576149a4614c4d565b5b828201905092915050565b60006149bb82614ae3565b91506149c683614ae3565b9250826149d6576149d5614c7c565b5b828204905092915050565b60006149ec82614ae3565b91506149f783614ae3565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614a3057614a2f614c4d565b5b828202905092915050565b6000614a4682614ae3565b9150614a5183614ae3565b925082821015614a6457614a63614c4d565b5b828203905092915050565b6000614a7a82614ac3565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b83811015614b27578082015181840152602081019050614b0c565b83811115614b36576000848401525b50505050565b6000614b4782614ae3565b91506000821415614b5b57614b5a614c4d565b5b600182039050919050565b60006002820490506001821680614b7e57607f821691505b60208210811415614b9257614b91614cab565b5b50919050565b614ba182614d8f565b810181811067ffffffffffffffff82111715614bc057614bbf614d38565b5b80604052505050565b6000614bd482614ae3565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614c0757614c06614c4d565b5b600182019050919050565b6000819050919050565b6000614c2782614ae3565b9150614c3283614ae3565b925082614c4257614c41614c7c565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f504f504559453a205265616368204d617820507265205768697465204c697374600082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f504f504559453a205265616368204d6178205072652057616c6c657400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f504f504559453a205175616e74697479206d757374206265206772656174657260008201527f207468616e203000000000000000000000000000000000000000000000000000602082015250565b7f504f504559453a204e6f7420696e205768697465204c69737400000000000000600082015250565b7f504f504559453a20496e76616c6964206d73672e76616c756520000000000000600082015250565b7f504f504559453a2044726f70206e6f74206578697374206f72206e6f74206f7060008201527f656e000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f504f504559453a20546f6b656e206e6f74206578697374000000000000000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f504f504559453a20416c72656164792072656465656d65640000000000000000600082015250565b7f504f504559453a20496e76616c6964207369676e657200000000000000000000600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f504f504559453a204f6e6c79206f776e65722063616e2072656465656d000000600082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b7f504f504559453a20546f74616c204d696e74204e756d20526561636865640000600082015250565b7f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656400000000000000000000000000000000602082015250565b7f6d657461646174612e6a736f6e00000000000000000000000000000000000000600082015250565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b6155a181614a6f565b81146155ac57600080fd5b50565b6155b881614a81565b81146155c357600080fd5b50565b6155cf81614a8d565b81146155da57600080fd5b50565b6155e681614a97565b81146155f157600080fd5b50565b6155fd81614ae3565b811461560857600080fd5b50565b61561481614aed565b811461561f57600080fd5b5056fea26469706673582212201fd2897b35f668f3ae48b50da57332f8fc617da7e6cccdaab31e8bc43435601f64736f6c63430008070033
Deployed Bytecode
0x60806040526004361061021a5760003560e01c80638da5cb5b11610123578063c87b56dd116100ab578063e63ab1e91161006f578063e63ab1e914610836578063e8a3d48514610861578063e985e9c51461088c578063eb7c2207146108c9578063f3e7e4e5146108f25761021a565b8063c87b56dd1461073d578063cacce19b1461077a578063d5391393146107b7578063d547741f146107e2578063e02695051461080b5761021a565b8063a217fddf116100f2578063a217fddf1461066e578063a22cb46514610699578063b3531b3d146106c2578063b88d4fde146106eb578063c2a0d4b3146107145761021a565b80638da5cb5b146105b257806391d14854146105dd578063951ea4981461061a57806395d89b41146106435761021a565b80632f2ff15d116101a657806342966c681161017557806342966c68146104955780634f6ccce7146104be5780636352211e146104fb57806370a0823114610538578063712f608e146105755761021a565b80632f2ff15d146103dd5780632f745c591461040657806336568abe1461044357806342842e0e1461046c5761021a565b8063095ea7b3116101ed578063095ea7b3146103075780631483d83c1461033057806318160ddd1461034c57806323b872dd14610377578063248a9ca3146103a05761021a565b806301ffc9a71461021f57806306fdde031461025c578063081812fc146102875780630904401c146102c4575b600080fd5b34801561022b57600080fd5b506102466004803603810190610241919061395e565b61091b565b60405161025391906142ed565b60405180910390f35b34801561026857600080fd5b5061027161092d565b60405161027e91906143c9565b60405180910390f35b34801561029357600080fd5b506102ae60048036038101906102a99190613a3b565b6109bf565b6040516102bb9190614286565b60405180910390f35b3480156102d057600080fd5b506102eb60048036038101906102e69190613a3b565b610a44565b6040516102fe97969594939291906147ef565b60405180910390f35b34801561031357600080fd5b5061032e600480360381019061032991906138b1565b610aa3565b005b61034a600480360381019061034591906139b8565b610bbb565b005b34801561035857600080fd5b506103616110cc565b60405161036e91906147ab565b60405180910390f35b34801561038357600080fd5b5061039e6004803603810190610399919061379b565b6110d9565b005b3480156103ac57600080fd5b506103c760048036038101906103c291906138f1565b611139565b6040516103d49190614308565b60405180910390f35b3480156103e957600080fd5b5061040460048036038101906103ff919061391e565b611159565b005b34801561041257600080fd5b5061042d600480360381019061042891906138b1565b611182565b60405161043a91906147ab565b60405180910390f35b34801561044f57600080fd5b5061046a6004803603810190610465919061391e565b611227565b005b34801561047857600080fd5b50610493600480360381019061048e919061379b565b6112aa565b005b3480156104a157600080fd5b506104bc60048036038101906104b79190613a3b565b6112ca565b005b3480156104ca57600080fd5b506104e560048036038101906104e09190613a3b565b611326565b6040516104f291906147ab565b60405180910390f35b34801561050757600080fd5b50610522600480360381019061051d9190613a3b565b611397565b60405161052f9190614286565b60405180910390f35b34801561054457600080fd5b5061055f600480360381019061055a919061372e565b611449565b60405161056c91906147ab565b60405180910390f35b34801561058157600080fd5b5061059c60048036038101906105979190613a3b565b611501565b6040516105a99190614308565b60405180910390f35b3480156105be57600080fd5b506105c761151e565b6040516105d49190614286565b60405180910390f35b3480156105e957600080fd5b5061060460048036038101906105ff919061391e565b611536565b60405161061191906142ed565b60405180910390f35b34801561062657600080fd5b50610641600480360381019061063c9190613bf5565b6115a1565b005b34801561064f57600080fd5b506106586115fc565b60405161066591906143c9565b60405180910390f35b34801561067a57600080fd5b5061068361168e565b6040516106909190614308565b60405180910390f35b3480156106a557600080fd5b506106c060048036038101906106bb9190613871565b611695565b005b3480156106ce57600080fd5b506106e960048036038101906106e49190613a68565b6116ab565b005b3480156106f757600080fd5b50610712600480360381019061070d91906137ee565b611816565b005b34801561072057600080fd5b5061073b60048036038101906107369190613b28565b611878565b005b34801561074957600080fd5b50610764600480360381019061075f9190613a3b565b6118bf565b60405161077191906143c9565b60405180910390f35b34801561078657600080fd5b506107a1600480360381019061079c9190613a3b565b611966565b6040516107ae9190614308565b60405180910390f35b3480156107c357600080fd5b506107cc61197e565b6040516107d99190614308565b60405180910390f35b3480156107ee57600080fd5b506108096004803603810190610804919061391e565b6119a2565b005b34801561081757600080fd5b506108206119cb565b60405161082d9190614286565b60405180910390f35b34801561084257600080fd5b5061084b6119e3565b6040516108589190614308565b60405180910390f35b34801561086d57600080fd5b50610876611a07565b60405161088391906143c9565b60405180910390f35b34801561089857600080fd5b506108b360048036038101906108ae919061375b565b611a63565b6040516108c091906142ed565b60405180910390f35b3480156108d557600080fd5b506108f060048036038101906108eb9190613b68565b611af7565b005b3480156108fe57600080fd5b5061091960048036038101906109149190613ad5565b611b84565b005b600061092682611f3f565b9050919050565b60606000805461093c90614b66565b80601f016020809104026020016040519081016040528092919081815260200182805461096890614b66565b80156109b55780601f1061098a576101008083540402835291602001916109b5565b820191906000526020600020905b81548152906001019060200180831161099857829003601f168201915b5050505050905090565b60006109ca82611fb9565b610a09576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a009061468b565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600b8181548110610a5457600080fd5b90600052602060002090600802016000915090508060000160009054906101000a900460ff16908060010154908060020154908060030154908060040154908060050154908060070154905087565b6000610aae82611397565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610b1f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b16906146cb565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610b3e612025565b73ffffffffffffffffffffffffffffffffffffffff161480610b6d5750610b6c81610b67612025565b611a63565b5b610bac576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ba3906145cb565b60405180910390fd5b610bb6838361202d565b505050565b60007f1f5221bcc27c8c4aec4fff893ce75c794feec2fab37e06234a8092bac29b76333386602001358760400135886000016020810190610bfc9190613aa8565b46604051602001610c1296959493929190614323565b604051602081830303815290604052805190602001209050600081604051602001610c3d9190614226565b604051602081830303815290604052805190602001209050600060018287878760405160008152602001604052604051610c7a9493929190614384565b6020604051602081039080840390855afa158015610c9c573d6000803e3d6000fd5b505050602060405103519050610cd27f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a682611536565b610d11576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d089061464b565b60405180910390fd5b6000600b886000016020810190610d289190613aa8565b60ff1681548110610d3c57610d3b614d09565b5b9060005260206000209060080201905060008160000160009054906101000a900460ff1660ff1611610da3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d9a9061456b565b60405180910390fd5b6000886040013511610dea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610de19061450b565b60405180910390fd5b806003015488604001358260060160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610e40919061495a565b1115610e81576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e78906144ab565b60405180910390fd5b60018160000160009054906101000a900460ff1660ff161415610fff57806004015488604001358260060160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610ef4919061495a565b1115610f35576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f2c9061444b565b60405180910390fd5b600033604051602001610f489190614286565b604051602081830303815290604052805190602001209050610fbe898060600190610f73919061485e565b80806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f820116905080830192505050505050508360050154836120e6565b610ffd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ff49061452b565b60405180910390fd5b505b8760200135341015611046576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161103d9061454b565b60405180910390fd5b7309cb88b510131bc4a8b21229d33a900c03232d5673ffffffffffffffffffffffffffffffffffffffff166108fc349081150290604051600060405180830381858888f193505050501580156110a0573d6000803e3d6000fd5b506110c28860000160208101906110b79190613aa8565b338a604001356120fd565b5050505050505050565b6000600880549050905090565b6110ea6110e4612025565b8261228c565b611129576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111209061470b565b60405180910390fd5b61113483838361236a565b505050565b6000600a6000838152602001908152602001600020600101549050919050565b61116282611139565b6111738161116e612025565b6125d1565b61117d838361266e565b505050565b600061118d83611449565b82106111ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111c59061440b565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b61122f612025565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461129c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112939061478b565b60405180910390fd5b6112a6828261274f565b5050565b6112c583838360405180602001604052806000815250611816565b505050565b6112db6112d5612025565b8261228c565b61131a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113119061476b565b60405180910390fd5b61132381612831565b50565b60006113306110cc565b8210611371576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113689061472b565b60405180910390fd5b6008828154811061138557611384614d09565b5b90600052602060002001549050919050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611440576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114379061460b565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156114ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114b1906145eb565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000600c6000838152602001908152602001600020549050919050565b73246cd0529fc31ecc5bde42019b17322b11e2c73b81565b6000600a600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6000801b6115b6816115b1612025565b6125d1565b81600b8460ff16815481106115ce576115cd614d09565b5b906000526020600020906008020160000160006101000a81548160ff021916908360ff160217905550505050565b60606001805461160b90614b66565b80601f016020809104026020016040519081016040528092919081815260200182805461163790614b66565b80156116845780601f1061165957610100808354040283529160200191611684565b820191906000526020600020905b81548152906001019060200180831161166757829003601f168201915b5050505050905090565b6000801b81565b6116a76116a0612025565b838361294e565b5050565b6116b482611fb9565b6116f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116ea906145ab565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff1661171383611397565b73ffffffffffffffffffffffffffffffffffffffff1614611769576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611760906146eb565b60405180910390fd5b6000801b600c600084815260200190815260200160002054146117c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117b89061462b565b60405180910390fd5b80600c6000848152602001908152602001600020819055507fa5f4689df7b024c866fa09aab0a5366743d1a5090af1f049c217a46b199db292828260405161180a9291906147c6565b60405180910390a15050565b611827611821612025565b8361228c565b611866576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161185d9061470b565b60405180910390fd5b61187284848484612abb565b50505050565b6000801b61188d81611888612025565b6125d1565b81600b8460ff16815481106118a5576118a4614d09565b5b906000526020600020906008020160050181905550505050565b60606118ca82611fb9565b611909576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611900906146ab565b60405180910390fd5b6000611913612b17565b90506000815111611933576040518060200160405280600081525061195e565b8061193d84612b54565b60405160200161194e9291906141e0565b6040516020818303038152906040525b915050919050565b600c6020528060005260406000206000915090505481565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b6119ab82611139565b6119bc816119b7612025565b6125d1565b6119c6838361274f565b505050565b7309cb88b510131bc4a8b21229d33a900c03232d5681565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a81565b60606040518060400160405280602081526020017f68747470733a2f2f697066732e6d6164776f726c642e696f2f706f706579652f815250604051602001611a4f9190614204565b604051602081830303815290604052905090565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6000801b611b0c81611b07612025565b6125d1565b6000600b6001816001815401808255809150500390600052602060002090600802019050878160000160006101000a81548160ff021916908360ff1602179055508681600101819055508581600201819055508481600301819055508381600401819055508281600501819055505050505050505050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6611bb681611bb1612025565b6125d1565b611bc18484846120fd565b50505050565b606060006002836002611bda91906149e1565b611be4919061495a565b67ffffffffffffffff811115611bfd57611bfc614d38565b5b6040519080825280601f01601f191660200182016040528015611c2f5781602001600182028036833780820191505090505b5090507f300000000000000000000000000000000000000000000000000000000000000081600081518110611c6757611c66614d09565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f780000000000000000000000000000000000000000000000000000000000000081600181518110611ccb57611cca614d09565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060006001846002611d0b91906149e1565b611d15919061495a565b90505b6001811115611db5577f3031323334353637383961626364656600000000000000000000000000000000600f861660108110611d5757611d56614d09565b5b1a60f81b828281518110611d6e57611d6d614d09565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c945080611dae90614b3c565b9050611d18565b5060008414611df9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611df0906143eb565b60405180910390fd5b8091505092915050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b611e31838383611f3a565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611e7457611e6f81612cb5565b611eb3565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614611eb257611eb18382612cfe565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611ef657611ef181612e6b565b611f35565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614611f3457611f338282612f3c565b5b5b505050565b505050565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611fb25750611fb182612fbb565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166120a083611397565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000826120f38584613035565b1490509392505050565b6000600b8460ff168154811061211657612115614d09565b5b9060005260206000209060080201905060008160000160009054906101000a900460ff1660ff161161217d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121749061456b565b60405180910390fd5b8060020154828260070154612192919061495a565b11156121d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121ca9061474b565b60405180910390fd5b60005b82811015612285576000826007015483600101546121f4919061495a565b905082600701600081548092919061220b90614bc9565b91905055508260060160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081548092919061226290614bc9565b919050555061227185826130aa565b50808061227d90614bc9565b9150506121d6565b5050505050565b600061229782611fb9565b6122d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122cd9061458b565b60405180910390fd5b60006122e183611397565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061235057508373ffffffffffffffffffffffffffffffffffffffff16612338846109bf565b73ffffffffffffffffffffffffffffffffffffffff16145b8061236157506123608185611a63565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661238a82611397565b73ffffffffffffffffffffffffffffffffffffffff16146123e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123d79061446b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612450576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612447906144cb565b60405180910390fd5b61245b8383836130c8565b61246660008261202d565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546124b69190614a3b565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461250d919061495a565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46125cc8383836130d8565b505050565b6125db8282611536565b61266a576126008173ffffffffffffffffffffffffffffffffffffffff166014611bc7565b61260e8360001c6020611bc7565b60405160200161261f92919061424c565b6040516020818303038152906040526040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161266191906143c9565b60405180910390fd5b5050565b6126788282611536565b61274b576001600a600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506126f0612025565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b6127598282611536565b1561282d576000600a600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506127d2612025565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b600061283c82611397565b905061284a816000846130c8565b61285560008361202d565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546128a59190614a3b565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461294a816000846130d8565b5050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156129bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129b4906144eb565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612aae91906142ed565b60405180910390a3505050565b612ac684848461236a565b612ad2848484846130dd565b612b11576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b089061442b565b60405180910390fd5b50505050565b60606040518060400160405280602081526020017f68747470733a2f2f697066732e6d6164776f726c642e696f2f706f706579652f815250905090565b60606000821415612b9c576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612cb0565b600082905060005b60008214612bce578080612bb790614bc9565b915050600a82612bc791906149b0565b9150612ba4565b60008167ffffffffffffffff811115612bea57612be9614d38565b5b6040519080825280601f01601f191660200182016040528015612c1c5781602001600182028036833780820191505090505b5090505b60008514612ca957600182612c359190614a3b565b9150600a85612c449190614c1c565b6030612c50919061495a565b60f81b818381518110612c6657612c65614d09565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612ca291906149b0565b9450612c20565b8093505050505b919050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001612d0b84611449565b612d159190614a3b565b9050600060076000848152602001908152602001600020549050818114612dfa576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050612e7f9190614a3b565b9050600060096000848152602001908152602001600020549050600060088381548110612eaf57612eae614d09565b5b906000526020600020015490508060088381548110612ed157612ed0614d09565b5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480612f2057612f1f614cda565b5b6001900381819060005260206000200160009055905550505050565b6000612f4783611449565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061302e575061302d82613274565b5b9050919050565b60008082905060005b845181101561309f57600085828151811061305c5761305b614d09565b5b6020026020010151905080831161307e576130778382613356565b925061308b565b6130888184613356565b92505b50808061309790614bc9565b91505061303e565b508091505092915050565b6130c482826040518060200160405280600081525061336d565b5050565b6130d3838383611e26565b505050565b505050565b60006130fe8473ffffffffffffffffffffffffffffffffffffffff16611e03565b15613267578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613127612025565b8786866040518563ffffffff1660e01b815260040161314994939291906142a1565b602060405180830381600087803b15801561316357600080fd5b505af192505050801561319457506040513d601f19601f82011682018060405250810190613191919061398b565b60015b613217573d80600081146131c4576040519150601f19603f3d011682016040523d82523d6000602084013e6131c9565b606091505b5060008151141561320f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132069061442b565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061326c565b600190505b949350505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061333f57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061334f575061334e826133c8565b5b9050919050565b600082600052816020526040600020905092915050565b6133778383613432565b61338460008484846130dd565b6133c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133ba9061442b565b60405180910390fd5b505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156134a2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134999061466b565b60405180910390fd5b6134ab81611fb9565b156134eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134e29061448b565b60405180910390fd5b6134f7600083836130c8565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254613547919061495a565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4613608600083836130d8565b5050565b600061361f61361a846148e6565b6148c1565b90508281526020810184848401111561363b5761363a614d80565b5b613646848285614afa565b509392505050565b60008135905061365d81615598565b92915050565b600081359050613672816155af565b92915050565b600081359050613687816155c6565b92915050565b60008135905061369c816155dd565b92915050565b6000815190506136b1816155dd565b92915050565b600082601f8301126136cc576136cb614d67565b5b81356136dc84826020860161360c565b91505092915050565b6000608082840312156136fb576136fa614d71565b5b81905092915050565b600081359050613713816155f4565b92915050565b6000813590506137288161560b565b92915050565b60006020828403121561374457613743614d8a565b5b60006137528482850161364e565b91505092915050565b6000806040838503121561377257613771614d8a565b5b60006137808582860161364e565b92505060206137918582860161364e565b9150509250929050565b6000806000606084860312156137b4576137b3614d8a565b5b60006137c28682870161364e565b93505060206137d38682870161364e565b92505060406137e486828701613704565b9150509250925092565b6000806000806080858703121561380857613807614d8a565b5b60006138168782880161364e565b94505060206138278782880161364e565b935050604061383887828801613704565b925050606085013567ffffffffffffffff81111561385957613858614d85565b5b613865878288016136b7565b91505092959194509250565b6000806040838503121561388857613887614d8a565b5b60006138968582860161364e565b92505060206138a785828601613663565b9150509250929050565b600080604083850312156138c8576138c7614d8a565b5b60006138d68582860161364e565b92505060206138e785828601613704565b9150509250929050565b60006020828403121561390757613906614d8a565b5b600061391584828501613678565b91505092915050565b6000806040838503121561393557613934614d8a565b5b600061394385828601613678565b92505060206139548582860161364e565b9150509250929050565b60006020828403121561397457613973614d8a565b5b60006139828482850161368d565b91505092915050565b6000602082840312156139a1576139a0614d8a565b5b60006139af848285016136a2565b91505092915050565b600080600080608085870312156139d2576139d1614d8a565b5b600085013567ffffffffffffffff8111156139f0576139ef614d85565b5b6139fc878288016136e5565b9450506020613a0d87828801613719565b9350506040613a1e87828801613678565b9250506060613a2f87828801613678565b91505092959194509250565b600060208284031215613a5157613a50614d8a565b5b6000613a5f84828501613704565b91505092915050565b60008060408385031215613a7f57613a7e614d8a565b5b6000613a8d85828601613704565b9250506020613a9e85828601613678565b9150509250929050565b600060208284031215613abe57613abd614d8a565b5b6000613acc84828501613719565b91505092915050565b600080600060608486031215613aee57613aed614d8a565b5b6000613afc86828701613719565b9350506020613b0d8682870161364e565b9250506040613b1e86828701613704565b9150509250925092565b60008060408385031215613b3f57613b3e614d8a565b5b6000613b4d85828601613719565b9250506020613b5e85828601613678565b9150509250929050565b60008060008060008060c08789031215613b8557613b84614d8a565b5b6000613b9389828a01613719565b9650506020613ba489828a01613704565b9550506040613bb589828a01613704565b9450506060613bc689828a01613704565b9350506080613bd789828a01613704565b92505060a0613be889828a01613678565b9150509295509295509295565b60008060408385031215613c0c57613c0b614d8a565b5b6000613c1a85828601613719565b9250506020613c2b85828601613719565b9150509250929050565b613c3e81614a6f565b82525050565b613c4d81614a81565b82525050565b613c5c81614a8d565b82525050565b613c73613c6e82614a8d565b614c12565b82525050565b6000613c8482614917565b613c8e818561492d565b9350613c9e818560208601614b09565b613ca781614d8f565b840191505092915050565b6000613cbd82614922565b613cc7818561493e565b9350613cd7818560208601614b09565b613ce081614d8f565b840191505092915050565b6000613cf682614922565b613d00818561494f565b9350613d10818560208601614b09565b80840191505092915050565b6000613d2960208361493e565b9150613d3482614da0565b602082019050919050565b6000613d4c601c8361494f565b9150613d5782614dc9565b601c82019050919050565b6000613d6f602b8361493e565b9150613d7a82614df2565b604082019050919050565b6000613d9260328361493e565b9150613d9d82614e41565b604082019050919050565b6000613db560208361493e565b9150613dc082614e90565b602082019050919050565b6000613dd860258361493e565b9150613de382614eb9565b604082019050919050565b6000613dfb601c8361493e565b9150613e0682614f08565b602082019050919050565b6000613e1e601c8361493e565b9150613e2982614f31565b602082019050919050565b6000613e4160248361493e565b9150613e4c82614f5a565b604082019050919050565b6000613e6460198361493e565b9150613e6f82614fa9565b602082019050919050565b6000613e8760278361493e565b9150613e9282614fd2565b604082019050919050565b6000613eaa60198361493e565b9150613eb582615021565b602082019050919050565b6000613ecd601a8361493e565b9150613ed88261504a565b602082019050919050565b6000613ef060228361493e565b9150613efb82615073565b604082019050919050565b6000613f13602c8361493e565b9150613f1e826150c2565b604082019050919050565b6000613f3660178361493e565b9150613f4182615111565b602082019050919050565b6000613f5960388361493e565b9150613f648261513a565b604082019050919050565b6000613f7c602a8361493e565b9150613f8782615189565b604082019050919050565b6000613f9f60298361493e565b9150613faa826151d8565b604082019050919050565b6000613fc260188361493e565b9150613fcd82615227565b602082019050919050565b6000613fe560168361493e565b9150613ff082615250565b602082019050919050565b600061400860208361493e565b915061401382615279565b602082019050919050565b600061402b602c8361493e565b9150614036826152a2565b604082019050919050565b600061404e602f8361493e565b9150614059826152f1565b604082019050919050565b600061407160218361493e565b915061407c82615340565b604082019050919050565b6000614094601d8361493e565b915061409f8261538f565b602082019050919050565b60006140b760318361493e565b91506140c2826153b8565b604082019050919050565b60006140da602c8361493e565b91506140e582615407565b604082019050919050565b60006140fd60178361494f565b915061410882615456565b601782019050919050565b6000614120601e8361493e565b915061412b8261547f565b602082019050919050565b600061414360308361493e565b915061414e826154a8565b604082019050919050565b6000614166600d8361494f565b9150614171826154f7565b600d82019050919050565b600061418960118361494f565b915061419482615520565b601182019050919050565b60006141ac602f8361493e565b91506141b782615549565b604082019050919050565b6141cb81614ae3565b82525050565b6141da81614aed565b82525050565b60006141ec8285613ceb565b91506141f88284613ceb565b91508190509392505050565b60006142108284613ceb565b915061421b82614159565b915081905092915050565b600061423182613d3f565b915061423d8284613c62565b60208201915081905092915050565b6000614257826140f0565b91506142638285613ceb565b915061426e8261417c565b915061427a8284613ceb565b91508190509392505050565b600060208201905061429b6000830184613c35565b92915050565b60006080820190506142b66000830187613c35565b6142c36020830186613c35565b6142d060408301856141c2565b81810360608301526142e28184613c79565b905095945050505050565b60006020820190506143026000830184613c44565b92915050565b600060208201905061431d6000830184613c53565b92915050565b600060c0820190506143386000830189613c53565b6143456020830188613c35565b61435260408301876141c2565b61435f60608301866141c2565b61436c60808301856141d1565b61437960a08301846141c2565b979650505050505050565b60006080820190506143996000830187613c53565b6143a660208301866141d1565b6143b36040830185613c53565b6143c06060830184613c53565b95945050505050565b600060208201905081810360008301526143e38184613cb2565b905092915050565b6000602082019050818103600083015261440481613d1c565b9050919050565b6000602082019050818103600083015261442481613d62565b9050919050565b6000602082019050818103600083015261444481613d85565b9050919050565b6000602082019050818103600083015261446481613da8565b9050919050565b6000602082019050818103600083015261448481613dcb565b9050919050565b600060208201905081810360008301526144a481613dee565b9050919050565b600060208201905081810360008301526144c481613e11565b9050919050565b600060208201905081810360008301526144e481613e34565b9050919050565b6000602082019050818103600083015261450481613e57565b9050919050565b6000602082019050818103600083015261452481613e7a565b9050919050565b6000602082019050818103600083015261454481613e9d565b9050919050565b6000602082019050818103600083015261456481613ec0565b9050919050565b6000602082019050818103600083015261458481613ee3565b9050919050565b600060208201905081810360008301526145a481613f06565b9050919050565b600060208201905081810360008301526145c481613f29565b9050919050565b600060208201905081810360008301526145e481613f4c565b9050919050565b6000602082019050818103600083015261460481613f6f565b9050919050565b6000602082019050818103600083015261462481613f92565b9050919050565b6000602082019050818103600083015261464481613fb5565b9050919050565b6000602082019050818103600083015261466481613fd8565b9050919050565b6000602082019050818103600083015261468481613ffb565b9050919050565b600060208201905081810360008301526146a48161401e565b9050919050565b600060208201905081810360008301526146c481614041565b9050919050565b600060208201905081810360008301526146e481614064565b9050919050565b6000602082019050818103600083015261470481614087565b9050919050565b60006020820190508181036000830152614724816140aa565b9050919050565b60006020820190508181036000830152614744816140cd565b9050919050565b6000602082019050818103600083015261476481614113565b9050919050565b6000602082019050818103600083015261478481614136565b9050919050565b600060208201905081810360008301526147a48161419f565b9050919050565b60006020820190506147c060008301846141c2565b92915050565b60006040820190506147db60008301856141c2565b6147e86020830184613c53565b9392505050565b600060e082019050614804600083018a6141d1565b61481160208301896141c2565b61481e60408301886141c2565b61482b60608301876141c2565b61483860808301866141c2565b61484560a0830185613c53565b61485260c08301846141c2565b98975050505050505050565b6000808335600160200384360303811261487b5761487a614d76565b5b80840192508235915067ffffffffffffffff82111561489d5761489c614d6c565b5b6020830192506020820236038313156148b9576148b8614d7b565b5b509250929050565b60006148cb6148dc565b90506148d78282614b98565b919050565b6000604051905090565b600067ffffffffffffffff82111561490157614900614d38565b5b61490a82614d8f565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600061496582614ae3565b915061497083614ae3565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156149a5576149a4614c4d565b5b828201905092915050565b60006149bb82614ae3565b91506149c683614ae3565b9250826149d6576149d5614c7c565b5b828204905092915050565b60006149ec82614ae3565b91506149f783614ae3565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614a3057614a2f614c4d565b5b828202905092915050565b6000614a4682614ae3565b9150614a5183614ae3565b925082821015614a6457614a63614c4d565b5b828203905092915050565b6000614a7a82614ac3565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b83811015614b27578082015181840152602081019050614b0c565b83811115614b36576000848401525b50505050565b6000614b4782614ae3565b91506000821415614b5b57614b5a614c4d565b5b600182039050919050565b60006002820490506001821680614b7e57607f821691505b60208210811415614b9257614b91614cab565b5b50919050565b614ba182614d8f565b810181811067ffffffffffffffff82111715614bc057614bbf614d38565b5b80604052505050565b6000614bd482614ae3565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614c0757614c06614c4d565b5b600182019050919050565b6000819050919050565b6000614c2782614ae3565b9150614c3283614ae3565b925082614c4257614c41614c7c565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f504f504559453a205265616368204d617820507265205768697465204c697374600082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f504f504559453a205265616368204d6178205072652057616c6c657400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f504f504559453a205175616e74697479206d757374206265206772656174657260008201527f207468616e203000000000000000000000000000000000000000000000000000602082015250565b7f504f504559453a204e6f7420696e205768697465204c69737400000000000000600082015250565b7f504f504559453a20496e76616c6964206d73672e76616c756520000000000000600082015250565b7f504f504559453a2044726f70206e6f74206578697374206f72206e6f74206f7060008201527f656e000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f504f504559453a20546f6b656e206e6f74206578697374000000000000000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f504f504559453a20416c72656164792072656465656d65640000000000000000600082015250565b7f504f504559453a20496e76616c6964207369676e657200000000000000000000600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f504f504559453a204f6e6c79206f776e65722063616e2072656465656d000000600082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b7f504f504559453a20546f74616c204d696e74204e756d20526561636865640000600082015250565b7f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656400000000000000000000000000000000602082015250565b7f6d657461646174612e6a736f6e00000000000000000000000000000000000000600082015250565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b6155a181614a6f565b81146155ac57600080fd5b50565b6155b881614a81565b81146155c357600080fd5b50565b6155cf81614a8d565b81146155da57600080fd5b50565b6155e681614a97565b81146155f157600080fd5b50565b6155fd81614ae3565b811461560857600080fd5b50565b61561481614aed565b811461561f57600080fd5b5056fea26469706673582212201fd2897b35f668f3ae48b50da57332f8fc617da7e6cccdaab31e8bc43435601f64736f6c63430008070033
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.