ERC-721
NFT
Overview
Max Total Supply
63 Supernerds Meta
Holders
44
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 Supernerds MetaLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
SupernerdsMeta
Compiler Version
v0.8.9+commit.e5eed63a
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; import "@openzeppelin/contracts/utils/Counters.sol"; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/access/AccessControl.sol"; import "./royalty/ERC2981ContractWideRoyalties.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; contract SupernerdsMeta is ERC721Enumerable, AccessControl, ERC2981ContractWideRoyalties { using Counters for Counters.Counter; Counters.Counter private _tokenIds; string public _baseTokenURI = ""; bytes32 public constant MINTER_ROLE = keccak256("MINTER_ROLE"); uint256 public _totalCap = 5555; //total number of tokens uint256 public _availableForSale = 5154; // _totalCap - _availableForSale uint256 public _reserveTokens = 401; //reserve tokens for Alpha Holders uint256 public royaltyValue = 60000000000000000; // Royalty 6% in eth decimals //TODO change address address public royaltyRecipient; // Royalty Recipient Main wallet (OpenSea) uint256 public _mintedSale; //token minted in the all the sales uint256 public _mintedReserved; // token minted for the alpha nerd hodlers constructor() ERC721("Supernerds Meta", "Supernerds Meta") { _setupRole(DEFAULT_ADMIN_ROLE, _msgSender()); _setupRole(MINTER_ROLE, _msgSender()); } /// @dev Sets the royalty value and recipient /// @notice Only admin can call the function /// @param recipient The new recipient for the royalties /// @param value percentage (using 2 decimals - 10000 = 100, 0 = 0) function setRoyalties(address recipient, uint256 value) external { require(hasRole(DEFAULT_ADMIN_ROLE, msg.sender), "only admin allowed"); require( recipient != 0x0000000000000000000000000000000000000000, "S16NFT: Royalty recipient address cannot be Zero Address" ); require(value > 0, "S16NFT: invalid royalty percentage"); _setRoyalties(recipient, value); royaltyRecipient = recipient; royaltyValue = value; } function cap() external view returns (uint256) { return _totalCap; } function supportsInterface(bytes4 interfaceId) public view virtual override(ERC721Enumerable, AccessControl, ERC2981Base) returns (bool) { return super.supportsInterface(interfaceId); } function _baseURI() internal view virtual override returns (string memory) { return _baseTokenURI; } function setBaseURI(string memory baseURI) public { require( hasRole(DEFAULT_ADMIN_ROLE, _msgSender()), "Caller is not a admin" ); _baseTokenURI = baseURI; } function mint(address _mintTo) external returns (bool) { require(hasRole(MINTER_ROLE, _msgSender()), "Caller is not a minter"); require(_mintTo != address(0), "ERC721: mint to the zero address"); _tokenIds.increment(); uint256 totalSupply = totalSupply(); require(_mintedSale <= _availableForSale, "sale minting completed"); require( totalSupply + 1 <= _totalCap, "Cap reached, maximum 5555 mints possible" ); _safeMint(_mintTo, _tokenIds.current()); _mintedSale++; return true; } function mintReserve(address _mintTo) external returns (bool) { require(hasRole(MINTER_ROLE, _msgSender()), "Caller is not a minter"); require(_mintTo != address(0), "ERC721: mint to the zero address"); _tokenIds.increment(); uint256 totalSupply = totalSupply(); require(_mintedReserved <= _reserveTokens, "reserved sale completed"); require( totalSupply + 1 <= _totalCap, "Cap reached, maximum 5555 mints possible" ); _safeMint(_mintTo, _tokenIds.current()); _mintedReserved++; return true; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Counters.sol) pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` */ library Counters { struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; require(value > 0, "Counter: decrement overflow"); unchecked { counter._value = value - 1; } } function reset(Counter storage counter) internal { counter._value = 0; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (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) (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 pragma solidity ^0.8.0; import "@openzeppelin/contracts/utils/introspection/ERC165.sol"; /// @title IERC2981Royalties /// @dev Interface for the ERC2981 - Token Royalty standard interface IERC2981Royalties { /// @notice Called with the sale price to determine how much royalty // is owed and to whom. /// @param _tokenId - the NFT asset queried for royalty information /// @param _value - the sale price of the NFT asset specified by _tokenId /// @return _receiver - address of who should be sent the royalty payment /// @return _royaltyAmount - the royalty payment amount for value sale price function royaltyInfo(uint256 _tokenId, uint256 _value) external view returns (address _receiver, uint256 _royaltyAmount); } // File contracts/ERC2981/ERC2981Base.sol /// @dev This is a contract used to add ERC2981 support to ERC721 and 1155 abstract contract ERC2981Base is ERC165, IERC2981Royalties { struct RoyaltyInfo { address recipient; uint256 amount; } function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC2981Royalties).interfaceId || super.supportsInterface(interfaceId); } } // File contracts/ERC2981/ERC2981ContractWideRoyalties.sol /// @dev This is a contract used to add ERC2981 support to ERC721 and 1155 /// @dev This implementation has the same royalties for each and every tokens abstract contract ERC2981ContractWideRoyalties is ERC2981Base { RoyaltyInfo private _royalties; /// @dev Sets token royalties /// @param recipient recipient of the royalties /// @param value between 0 and 1000000000000000000 percentage /// (using 18 decimals: 1000000000000000000 = 100%, 0 = 0%) function _setRoyalties(address recipient, uint256 value) internal { require(value <= 1000000000000000000, "ERC2981Royalties: Too high"); _royalties = RoyaltyInfo(recipient, uint256(value)); } function royaltyInfo(uint256 tokenID, uint256 value) external view override returns (address receiver, uint256 royaltyAmount) { RoyaltyInfo memory royalties = _royalties; receiver = royalties.recipient; royaltyAmount = (value * royalties.amount) / 1000000000000000000; } }
// 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 v4.4.1 (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (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 (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/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT // 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 (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); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"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":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":"_availableForSale","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_mintedReserved","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_mintedSale","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_reserveTokens","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_totalCap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"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":[{"internalType":"address","name":"_mintTo","type":"address"}],"name":"mint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_mintTo","type":"address"}],"name":"mintReserve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"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":"uint256","name":"tokenID","type":"uint256"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"royaltyAmount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"royaltyRecipient","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"royaltyValue","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":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"setRoyalties","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
608060405260405180602001604052806000815250600e90805190602001906200002b929190620002dd565b506115b3600f5561142260105561019160115566d529ae9e8600006012553480156200005657600080fd5b506040518060400160405280600f81526020017f53757065726e65726473204d65746100000000000000000000000000000000008152506040518060400160405280600f81526020017f53757065726e65726473204d65746100000000000000000000000000000000008152508160009080519060200190620000db929190620002dd565b508060019080519060200190620000f4929190620002dd565b5050506200011b6000801b6200010f6200016260201b60201c565b6200016a60201b60201c565b6200015c7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6620001506200016260201b60201c565b6200016a60201b60201c565b620003f2565b600033905090565b6200017c82826200018060201b60201c565b5050565b6200019282826200027260201b60201c565b6200026e576001600a600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550620002136200016260201b60201c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b6000600a600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b828054620002eb90620003bc565b90600052602060002090601f0160209004810192826200030f57600085556200035b565b82601f106200032a57805160ff19168380011785556200035b565b828001600101855582156200035b579182015b828111156200035a5782518255916020019190600101906200033d565b5b5090506200036a91906200036e565b5090565b5b80821115620003895760008160009055506001016200036f565b5090565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620003d557607f821691505b60208210811415620003ec57620003eb6200038d565b5b50919050565b614b8780620004026000396000f3fe608060405234801561001057600080fd5b50600436106102275760003560e01c80635fc20588116101305780639c6a56b3116100b8578063c87b56dd1161007c578063c87b56dd146106a1578063cfc86f7b146106d1578063d5391393146106ef578063d547741f1461070d578063e985e9c51461072957610227565b80639c6a56b3146105fd578063a217fddf1461061b578063a22cb46514610639578063a91ed8c614610655578063b88d4fde1461068557610227565b806370a08231116100ff57806370a082311461054557806383ea4924146105755780638c7ea24b1461059357806391d14854146105af57806395d89b41146105df57610227565b80635fc20588146104a95780636352211e146104c75780636a627842146104f75780636e88f3351461052757610227565b80632f2ff15d116101b357806342842e0e1161018257806342842e0e146104055780634c00de82146104215780634f6ccce71461043f578063523db9de1461046f57806355f804b31461048d57610227565b80632f2ff15d1461037f5780632f745c591461039b578063355274ea146103cb57806336568abe146103e957610227565b80630c33e302116101fa5780630c33e302146102c657806318160ddd146102e457806323b872dd14610302578063248a9ca31461031e5780632a55205a1461034e57610227565b806301ffc9a71461022c57806306fdde031461025c578063081812fc1461027a578063095ea7b3146102aa575b600080fd5b61024660048036038101906102419190613105565b610759565b604051610253919061314d565b60405180910390f35b61026461076b565b6040516102719190613201565b60405180910390f35b610294600480360381019061028f9190613259565b6107fd565b6040516102a191906132c7565b60405180910390f35b6102c460048036038101906102bf919061330e565b610882565b005b6102ce61099a565b6040516102db919061335d565b60405180910390f35b6102ec6109a0565b6040516102f9919061335d565b60405180910390f35b61031c60048036038101906103179190613378565b6109ad565b005b61033860048036038101906103339190613401565b610a0d565b604051610345919061343d565b60405180910390f35b61036860048036038101906103639190613458565b610a2d565b604051610376929190613498565b60405180910390f35b610399600480360381019061039491906134c1565b610ad5565b005b6103b560048036038101906103b0919061330e565b610afe565b6040516103c2919061335d565b60405180910390f35b6103d3610ba3565b6040516103e0919061335d565b60405180910390f35b61040360048036038101906103fe91906134c1565b610bad565b005b61041f600480360381019061041a9190613378565b610c30565b005b610429610c50565b60405161043691906132c7565b60405180910390f35b61045960048036038101906104549190613259565b610c76565b604051610466919061335d565b60405180910390f35b610477610ce7565b604051610484919061335d565b60405180910390f35b6104a760048036038101906104a29190613636565b610ced565b005b6104b1610d5a565b6040516104be919061335d565b60405180910390f35b6104e160048036038101906104dc9190613259565b610d60565b6040516104ee91906132c7565b60405180910390f35b610511600480360381019061050c919061367f565b610e12565b60405161051e919061314d565b60405180910390f35b61052f610fd7565b60405161053c919061335d565b60405180910390f35b61055f600480360381019061055a919061367f565b610fdd565b60405161056c919061335d565b60405180910390f35b61057d611095565b60405161058a919061335d565b60405180910390f35b6105ad60048036038101906105a8919061330e565b61109b565b005b6105c960048036038101906105c491906134c1565b6111f0565b6040516105d6919061314d565b60405180910390f35b6105e761125b565b6040516105f49190613201565b60405180910390f35b6106056112ed565b604051610612919061335d565b60405180910390f35b6106236112f3565b604051610630919061343d565b60405180910390f35b610653600480360381019061064e91906136d8565b6112fa565b005b61066f600480360381019061066a919061367f565b611310565b60405161067c919061314d565b60405180910390f35b61069f600480360381019061069a91906137b9565b6114d5565b005b6106bb60048036038101906106b69190613259565b611537565b6040516106c89190613201565b60405180910390f35b6106d96115de565b6040516106e69190613201565b60405180910390f35b6106f761166c565b604051610704919061343d565b60405180910390f35b610727600480360381019061072291906134c1565b611690565b005b610743600480360381019061073e919061383c565b6116b9565b604051610750919061314d565b60405180910390f35b60006107648261174d565b9050919050565b60606000805461077a906138ab565b80601f01602080910402602001604051908101604052809291908181526020018280546107a6906138ab565b80156107f35780601f106107c8576101008083540402835291602001916107f3565b820191906000526020600020905b8154815290600101906020018083116107d657829003601f168201915b5050505050905090565b6000610808826117c7565b610847576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161083e9061394f565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061088d82610d60565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156108fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108f5906139e1565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1661091d611833565b73ffffffffffffffffffffffffffffffffffffffff16148061094c575061094b81610946611833565b6116b9565b5b61098b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161098290613a73565b60405180910390fd5b610995838361183b565b505050565b60145481565b6000600880549050905090565b6109be6109b8611833565b826118f4565b6109fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109f490613b05565b60405180910390fd5b610a088383836119d2565b505050565b6000600a6000838152602001908152602001600020600101549050919050565b6000806000600b6040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001600182015481525050905080600001519250670de0b6b3a7640000816020015185610ac19190613b54565b610acb9190613bdd565b9150509250929050565b610ade82610a0d565b610aef81610aea611833565b611c39565b610af98383611cd6565b505050565b6000610b0983610fdd565b8210610b4a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b4190613c80565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b6000600f54905090565b610bb5611833565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610c22576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c1990613d12565b60405180910390fd5b610c2c8282611db7565b5050565b610c4b838383604051806020016040528060008152506114d5565b505050565b601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000610c806109a0565b8210610cc1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cb890613da4565b60405180910390fd5b60088281548110610cd557610cd4613dc4565b5b90600052602060002001549050919050565b60105481565b610d016000801b610cfc611833565b6111f0565b610d40576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d3790613e3f565b60405180910390fd5b80600e9080519060200190610d56929190612ff6565b5050565b60125481565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610e09576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e0090613ed1565b60405180910390fd5b80915050919050565b6000610e457f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6610e40611833565b6111f0565b610e84576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e7b90613f3d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610ef4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eeb90613fa9565b60405180910390fd5b610efe600d611e99565b6000610f086109a0565b90506010546014541115610f51576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f4890614015565b60405180910390fd5b600f54600182610f619190614035565b1115610fa2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f99906140fd565b60405180910390fd5b610fb583610fb0600d611eaf565b611ebd565b60146000815480929190610fc89061411d565b91905055506001915050919050565b60155481565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561104e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611045906141d8565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600f5481565b6110a86000801b336111f0565b6110e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110de90614244565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611157576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161114e906142d6565b60405180910390fd5b6000811161119a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161119190614368565b60405180910390fd5b6111a48282611edb565b81601360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550806012819055505050565b6000600a600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60606001805461126a906138ab565b80601f0160208091040260200160405190810160405280929190818152602001828054611296906138ab565b80156112e35780601f106112b8576101008083540402835291602001916112e3565b820191906000526020600020905b8154815290600101906020018083116112c657829003601f168201915b5050505050905090565b60115481565b6000801b81565b61130c611305611833565b8383611fab565b5050565b60006113437f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a661133e611833565b6111f0565b611382576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161137990613f3d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156113f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113e990613fa9565b60405180910390fd5b6113fc600d611e99565b60006114066109a0565b9050601154601554111561144f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611446906143d4565b60405180910390fd5b600f5460018261145f9190614035565b11156114a0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611497906140fd565b60405180910390fd5b6114b3836114ae600d611eaf565b611ebd565b601560008154809291906114c69061411d565b91905055506001915050919050565b6114e66114e0611833565b836118f4565b611525576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161151c90613b05565b60405180910390fd5b61153184848484612118565b50505050565b6060611542826117c7565b611581576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161157890614466565b60405180910390fd5b600061158b612174565b905060008151116115ab57604051806020016040528060008152506115d6565b806115b584612206565b6040516020016115c69291906144c2565b6040516020818303038152906040525b915050919050565b600e80546115eb906138ab565b80601f0160208091040260200160405190810160405280929190818152602001828054611617906138ab565b80156116645780601f1061163957610100808354040283529160200191611664565b820191906000526020600020905b81548152906001019060200180831161164757829003601f168201915b505050505081565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b61169982610a0d565b6116aa816116a5611833565b611c39565b6116b48383611db7565b505050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806117c057506117bf82612367565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166118ae83610d60565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006118ff826117c7565b61193e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161193590614558565b60405180910390fd5b600061194983610d60565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806119b857508373ffffffffffffffffffffffffffffffffffffffff166119a0846107fd565b73ffffffffffffffffffffffffffffffffffffffff16145b806119c957506119c881856116b9565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166119f282610d60565b73ffffffffffffffffffffffffffffffffffffffff1614611a48576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a3f906145ea565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611ab8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aaf9061467c565b60405180910390fd5b611ac38383836123e1565b611ace60008261183b565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611b1e919061469c565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611b759190614035565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611c348383836124f5565b505050565b611c4382826111f0565b611cd257611c688173ffffffffffffffffffffffffffffffffffffffff1660146124fa565b611c768360001c60206124fa565b604051602001611c87929190614768565b6040516020818303038152906040526040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cc99190613201565b60405180910390fd5b5050565b611ce082826111f0565b611db3576001600a600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611d58611833565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b611dc182826111f0565b15611e95576000600a600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611e3a611833565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b6001816000016000828254019250508190555050565b600081600001549050919050565b611ed7828260405180602001604052806000815250612736565b5050565b670de0b6b3a7640000811115611f26576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f1d906147ee565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff16815260200182815250600b60008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550602082015181600101559050505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561201a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120119061485a565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161210b919061314d565b60405180910390a3505050565b6121238484846119d2565b61212f84848484612791565b61216e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612165906148ec565b60405180910390fd5b50505050565b6060600e8054612183906138ab565b80601f01602080910402602001604051908101604052809291908181526020018280546121af906138ab565b80156121fc5780601f106121d1576101008083540402835291602001916121fc565b820191906000526020600020905b8154815290600101906020018083116121df57829003601f168201915b5050505050905090565b6060600082141561224e576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612362565b600082905060005b600082146122805780806122699061411d565b915050600a826122799190613bdd565b9150612256565b60008167ffffffffffffffff81111561229c5761229b61350b565b5b6040519080825280601f01601f1916602001820160405280156122ce5781602001600182028036833780820191505090505b5090505b6000851461235b576001826122e7919061469c565b9150600a856122f6919061490c565b60306123029190614035565b60f81b81838151811061231857612317613dc4565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856123549190613bdd565b94506122d2565b8093505050505b919050565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806123da57506123d982612928565b5b9050919050565b6123ec8383836129a2565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561242f5761242a816129a7565b61246e565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461246d5761246c83826129f0565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156124b1576124ac81612b5d565b6124f0565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146124ef576124ee8282612c2e565b5b5b505050565b505050565b60606000600283600261250d9190613b54565b6125179190614035565b67ffffffffffffffff8111156125305761252f61350b565b5b6040519080825280601f01601f1916602001820160405280156125625781602001600182028036833780820191505090505b5090507f30000000000000000000000000000000000000000000000000000000000000008160008151811061259a57612599613dc4565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f7800000000000000000000000000000000000000000000000000000000000000816001815181106125fe576125fd613dc4565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506000600184600261263e9190613b54565b6126489190614035565b90505b60018111156126e8577f3031323334353637383961626364656600000000000000000000000000000000600f86166010811061268a57612689613dc4565b5b1a60f81b8282815181106126a1576126a0613dc4565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c9450806126e19061493d565b905061264b565b506000841461272c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612723906149b3565b60405180910390fd5b8091505092915050565b6127408383612cad565b61274d6000848484612791565b61278c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612783906148ec565b60405180910390fd5b505050565b60006127b28473ffffffffffffffffffffffffffffffffffffffff16612e87565b1561291b578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026127db611833565b8786866040518563ffffffff1660e01b81526004016127fd9493929190614a28565b602060405180830381600087803b15801561281757600080fd5b505af192505050801561284857506040513d601f19601f820116820180604052508101906128459190614a89565b60015b6128cb573d8060008114612878576040519150601f19603f3d011682016040523d82523d6000602084013e61287d565b606091505b506000815114156128c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128ba906148ec565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612920565b600190505b949350505050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061299b575061299a82612eaa565b5b9050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b600060016129fd84610fdd565b612a07919061469c565b9050600060076000848152602001908152602001600020549050818114612aec576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050612b71919061469c565b9050600060096000848152602001908152602001600020549050600060088381548110612ba157612ba0613dc4565b5b906000526020600020015490508060088381548110612bc357612bc2613dc4565b5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480612c1257612c11614ab6565b5b6001900381819060005260206000200160009055905550505050565b6000612c3983610fdd565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612d1d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d1490613fa9565b60405180910390fd5b612d26816117c7565b15612d66576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d5d90614b31565b60405180910390fd5b612d72600083836123e1565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612dc29190614035565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612e83600083836124f5565b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612f7557507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612f855750612f8482612f8c565b5b9050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b828054613002906138ab565b90600052602060002090601f016020900481019282613024576000855561306b565b82601f1061303d57805160ff191683800117855561306b565b8280016001018555821561306b579182015b8281111561306a57825182559160200191906001019061304f565b5b509050613078919061307c565b5090565b5b8082111561309557600081600090555060010161307d565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6130e2816130ad565b81146130ed57600080fd5b50565b6000813590506130ff816130d9565b92915050565b60006020828403121561311b5761311a6130a3565b5b6000613129848285016130f0565b91505092915050565b60008115159050919050565b61314781613132565b82525050565b6000602082019050613162600083018461313e565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156131a2578082015181840152602081019050613187565b838111156131b1576000848401525b50505050565b6000601f19601f8301169050919050565b60006131d382613168565b6131dd8185613173565b93506131ed818560208601613184565b6131f6816131b7565b840191505092915050565b6000602082019050818103600083015261321b81846131c8565b905092915050565b6000819050919050565b61323681613223565b811461324157600080fd5b50565b6000813590506132538161322d565b92915050565b60006020828403121561326f5761326e6130a3565b5b600061327d84828501613244565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006132b182613286565b9050919050565b6132c1816132a6565b82525050565b60006020820190506132dc60008301846132b8565b92915050565b6132eb816132a6565b81146132f657600080fd5b50565b600081359050613308816132e2565b92915050565b60008060408385031215613325576133246130a3565b5b6000613333858286016132f9565b925050602061334485828601613244565b9150509250929050565b61335781613223565b82525050565b6000602082019050613372600083018461334e565b92915050565b600080600060608486031215613391576133906130a3565b5b600061339f868287016132f9565b93505060206133b0868287016132f9565b92505060406133c186828701613244565b9150509250925092565b6000819050919050565b6133de816133cb565b81146133e957600080fd5b50565b6000813590506133fb816133d5565b92915050565b600060208284031215613417576134166130a3565b5b6000613425848285016133ec565b91505092915050565b613437816133cb565b82525050565b6000602082019050613452600083018461342e565b92915050565b6000806040838503121561346f5761346e6130a3565b5b600061347d85828601613244565b925050602061348e85828601613244565b9150509250929050565b60006040820190506134ad60008301856132b8565b6134ba602083018461334e565b9392505050565b600080604083850312156134d8576134d76130a3565b5b60006134e6858286016133ec565b92505060206134f7858286016132f9565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613543826131b7565b810181811067ffffffffffffffff821117156135625761356161350b565b5b80604052505050565b6000613575613099565b9050613581828261353a565b919050565b600067ffffffffffffffff8211156135a1576135a061350b565b5b6135aa826131b7565b9050602081019050919050565b82818337600083830152505050565b60006135d96135d484613586565b61356b565b9050828152602081018484840111156135f5576135f4613506565b5b6136008482856135b7565b509392505050565b600082601f83011261361d5761361c613501565b5b813561362d8482602086016135c6565b91505092915050565b60006020828403121561364c5761364b6130a3565b5b600082013567ffffffffffffffff81111561366a576136696130a8565b5b61367684828501613608565b91505092915050565b600060208284031215613695576136946130a3565b5b60006136a3848285016132f9565b91505092915050565b6136b581613132565b81146136c057600080fd5b50565b6000813590506136d2816136ac565b92915050565b600080604083850312156136ef576136ee6130a3565b5b60006136fd858286016132f9565b925050602061370e858286016136c3565b9150509250929050565b600067ffffffffffffffff8211156137335761373261350b565b5b61373c826131b7565b9050602081019050919050565b600061375c61375784613718565b61356b565b90508281526020810184848401111561377857613777613506565b5b6137838482856135b7565b509392505050565b600082601f8301126137a05761379f613501565b5b81356137b0848260208601613749565b91505092915050565b600080600080608085870312156137d3576137d26130a3565b5b60006137e1878288016132f9565b94505060206137f2878288016132f9565b935050604061380387828801613244565b925050606085013567ffffffffffffffff811115613824576138236130a8565b5b6138308782880161378b565b91505092959194509250565b60008060408385031215613853576138526130a3565b5b6000613861858286016132f9565b9250506020613872858286016132f9565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806138c357607f821691505b602082108114156138d7576138d661387c565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000613939602c83613173565b9150613944826138dd565b604082019050919050565b600060208201905081810360008301526139688161392c565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b60006139cb602183613173565b91506139d68261396f565b604082019050919050565b600060208201905081810360008301526139fa816139be565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b6000613a5d603883613173565b9150613a6882613a01565b604082019050919050565b60006020820190508181036000830152613a8c81613a50565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b6000613aef603183613173565b9150613afa82613a93565b604082019050919050565b60006020820190508181036000830152613b1e81613ae2565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613b5f82613223565b9150613b6a83613223565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613ba357613ba2613b25565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613be882613223565b9150613bf383613223565b925082613c0357613c02613bae565b5b828204905092915050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b6000613c6a602b83613173565b9150613c7582613c0e565b604082019050919050565b60006020820190508181036000830152613c9981613c5d565b9050919050565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b6000613cfc602f83613173565b9150613d0782613ca0565b604082019050919050565b60006020820190508181036000830152613d2b81613cef565b9050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b6000613d8e602c83613173565b9150613d9982613d32565b604082019050919050565b60006020820190508181036000830152613dbd81613d81565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f43616c6c6572206973206e6f7420612061646d696e0000000000000000000000600082015250565b6000613e29601583613173565b9150613e3482613df3565b602082019050919050565b60006020820190508181036000830152613e5881613e1c565b9050919050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b6000613ebb602983613173565b9150613ec682613e5f565b604082019050919050565b60006020820190508181036000830152613eea81613eae565b9050919050565b7f43616c6c6572206973206e6f742061206d696e74657200000000000000000000600082015250565b6000613f27601683613173565b9150613f3282613ef1565b602082019050919050565b60006020820190508181036000830152613f5681613f1a565b9050919050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000613f93602083613173565b9150613f9e82613f5d565b602082019050919050565b60006020820190508181036000830152613fc281613f86565b9050919050565b7f73616c65206d696e74696e6720636f6d706c6574656400000000000000000000600082015250565b6000613fff601683613173565b915061400a82613fc9565b602082019050919050565b6000602082019050818103600083015261402e81613ff2565b9050919050565b600061404082613223565b915061404b83613223565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156140805761407f613b25565b5b828201905092915050565b7f43617020726561636865642c206d6178696d756d2035353535206d696e74732060008201527f706f737369626c65000000000000000000000000000000000000000000000000602082015250565b60006140e7602883613173565b91506140f28261408b565b604082019050919050565b60006020820190508181036000830152614116816140da565b9050919050565b600061412882613223565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561415b5761415a613b25565b5b600182019050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b60006141c2602a83613173565b91506141cd82614166565b604082019050919050565b600060208201905081810360008301526141f1816141b5565b9050919050565b7f6f6e6c792061646d696e20616c6c6f7765640000000000000000000000000000600082015250565b600061422e601283613173565b9150614239826141f8565b602082019050919050565b6000602082019050818103600083015261425d81614221565b9050919050565b7f5331364e46543a20526f79616c747920726563697069656e742061646472657360008201527f732063616e6e6f74206265205a65726f20416464726573730000000000000000602082015250565b60006142c0603883613173565b91506142cb82614264565b604082019050919050565b600060208201905081810360008301526142ef816142b3565b9050919050565b7f5331364e46543a20696e76616c696420726f79616c74792070657263656e746160008201527f6765000000000000000000000000000000000000000000000000000000000000602082015250565b6000614352602283613173565b915061435d826142f6565b604082019050919050565b6000602082019050818103600083015261438181614345565b9050919050565b7f72657365727665642073616c6520636f6d706c65746564000000000000000000600082015250565b60006143be601783613173565b91506143c982614388565b602082019050919050565b600060208201905081810360008301526143ed816143b1565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000614450602f83613173565b915061445b826143f4565b604082019050919050565b6000602082019050818103600083015261447f81614443565b9050919050565b600081905092915050565b600061449c82613168565b6144a68185614486565b93506144b6818560208601613184565b80840191505092915050565b60006144ce8285614491565b91506144da8284614491565b91508190509392505050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000614542602c83613173565b915061454d826144e6565b604082019050919050565b6000602082019050818103600083015261457181614535565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b60006145d4602583613173565b91506145df82614578565b604082019050919050565b60006020820190508181036000830152614603816145c7565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000614666602483613173565b91506146718261460a565b604082019050919050565b6000602082019050818103600083015261469581614659565b9050919050565b60006146a782613223565b91506146b283613223565b9250828210156146c5576146c4613b25565b5b828203905092915050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b6000614706601783614486565b9150614711826146d0565b601782019050919050565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b6000614752601183614486565b915061475d8261471c565b601182019050919050565b6000614773826146f9565b915061477f8285614491565b915061478a82614745565b91506147968284614491565b91508190509392505050565b7f45524332393831526f79616c746965733a20546f6f2068696768000000000000600082015250565b60006147d8601a83613173565b91506147e3826147a2565b602082019050919050565b60006020820190508181036000830152614807816147cb565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000614844601983613173565b915061484f8261480e565b602082019050919050565b6000602082019050818103600083015261487381614837565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b60006148d6603283613173565b91506148e18261487a565b604082019050919050565b60006020820190508181036000830152614905816148c9565b9050919050565b600061491782613223565b915061492283613223565b92508261493257614931613bae565b5b828206905092915050565b600061494882613223565b9150600082141561495c5761495b613b25565b5b600182039050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b600061499d602083613173565b91506149a882614967565b602082019050919050565b600060208201905081810360008301526149cc81614990565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006149fa826149d3565b614a0481856149de565b9350614a14818560208601613184565b614a1d816131b7565b840191505092915050565b6000608082019050614a3d60008301876132b8565b614a4a60208301866132b8565b614a57604083018561334e565b8181036060830152614a6981846149ef565b905095945050505050565b600081519050614a83816130d9565b92915050565b600060208284031215614a9f57614a9e6130a3565b5b6000614aad84828501614a74565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000614b1b601c83613173565b9150614b2682614ae5565b602082019050919050565b60006020820190508181036000830152614b4a81614b0e565b905091905056fea26469706673582212208ced74389d3f674d56ac56f778218bbd277995cecfc037a6e0a2f117364962ed64736f6c63430008090033
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106102275760003560e01c80635fc20588116101305780639c6a56b3116100b8578063c87b56dd1161007c578063c87b56dd146106a1578063cfc86f7b146106d1578063d5391393146106ef578063d547741f1461070d578063e985e9c51461072957610227565b80639c6a56b3146105fd578063a217fddf1461061b578063a22cb46514610639578063a91ed8c614610655578063b88d4fde1461068557610227565b806370a08231116100ff57806370a082311461054557806383ea4924146105755780638c7ea24b1461059357806391d14854146105af57806395d89b41146105df57610227565b80635fc20588146104a95780636352211e146104c75780636a627842146104f75780636e88f3351461052757610227565b80632f2ff15d116101b357806342842e0e1161018257806342842e0e146104055780634c00de82146104215780634f6ccce71461043f578063523db9de1461046f57806355f804b31461048d57610227565b80632f2ff15d1461037f5780632f745c591461039b578063355274ea146103cb57806336568abe146103e957610227565b80630c33e302116101fa5780630c33e302146102c657806318160ddd146102e457806323b872dd14610302578063248a9ca31461031e5780632a55205a1461034e57610227565b806301ffc9a71461022c57806306fdde031461025c578063081812fc1461027a578063095ea7b3146102aa575b600080fd5b61024660048036038101906102419190613105565b610759565b604051610253919061314d565b60405180910390f35b61026461076b565b6040516102719190613201565b60405180910390f35b610294600480360381019061028f9190613259565b6107fd565b6040516102a191906132c7565b60405180910390f35b6102c460048036038101906102bf919061330e565b610882565b005b6102ce61099a565b6040516102db919061335d565b60405180910390f35b6102ec6109a0565b6040516102f9919061335d565b60405180910390f35b61031c60048036038101906103179190613378565b6109ad565b005b61033860048036038101906103339190613401565b610a0d565b604051610345919061343d565b60405180910390f35b61036860048036038101906103639190613458565b610a2d565b604051610376929190613498565b60405180910390f35b610399600480360381019061039491906134c1565b610ad5565b005b6103b560048036038101906103b0919061330e565b610afe565b6040516103c2919061335d565b60405180910390f35b6103d3610ba3565b6040516103e0919061335d565b60405180910390f35b61040360048036038101906103fe91906134c1565b610bad565b005b61041f600480360381019061041a9190613378565b610c30565b005b610429610c50565b60405161043691906132c7565b60405180910390f35b61045960048036038101906104549190613259565b610c76565b604051610466919061335d565b60405180910390f35b610477610ce7565b604051610484919061335d565b60405180910390f35b6104a760048036038101906104a29190613636565b610ced565b005b6104b1610d5a565b6040516104be919061335d565b60405180910390f35b6104e160048036038101906104dc9190613259565b610d60565b6040516104ee91906132c7565b60405180910390f35b610511600480360381019061050c919061367f565b610e12565b60405161051e919061314d565b60405180910390f35b61052f610fd7565b60405161053c919061335d565b60405180910390f35b61055f600480360381019061055a919061367f565b610fdd565b60405161056c919061335d565b60405180910390f35b61057d611095565b60405161058a919061335d565b60405180910390f35b6105ad60048036038101906105a8919061330e565b61109b565b005b6105c960048036038101906105c491906134c1565b6111f0565b6040516105d6919061314d565b60405180910390f35b6105e761125b565b6040516105f49190613201565b60405180910390f35b6106056112ed565b604051610612919061335d565b60405180910390f35b6106236112f3565b604051610630919061343d565b60405180910390f35b610653600480360381019061064e91906136d8565b6112fa565b005b61066f600480360381019061066a919061367f565b611310565b60405161067c919061314d565b60405180910390f35b61069f600480360381019061069a91906137b9565b6114d5565b005b6106bb60048036038101906106b69190613259565b611537565b6040516106c89190613201565b60405180910390f35b6106d96115de565b6040516106e69190613201565b60405180910390f35b6106f761166c565b604051610704919061343d565b60405180910390f35b610727600480360381019061072291906134c1565b611690565b005b610743600480360381019061073e919061383c565b6116b9565b604051610750919061314d565b60405180910390f35b60006107648261174d565b9050919050565b60606000805461077a906138ab565b80601f01602080910402602001604051908101604052809291908181526020018280546107a6906138ab565b80156107f35780601f106107c8576101008083540402835291602001916107f3565b820191906000526020600020905b8154815290600101906020018083116107d657829003601f168201915b5050505050905090565b6000610808826117c7565b610847576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161083e9061394f565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061088d82610d60565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156108fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108f5906139e1565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1661091d611833565b73ffffffffffffffffffffffffffffffffffffffff16148061094c575061094b81610946611833565b6116b9565b5b61098b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161098290613a73565b60405180910390fd5b610995838361183b565b505050565b60145481565b6000600880549050905090565b6109be6109b8611833565b826118f4565b6109fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109f490613b05565b60405180910390fd5b610a088383836119d2565b505050565b6000600a6000838152602001908152602001600020600101549050919050565b6000806000600b6040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001600182015481525050905080600001519250670de0b6b3a7640000816020015185610ac19190613b54565b610acb9190613bdd565b9150509250929050565b610ade82610a0d565b610aef81610aea611833565b611c39565b610af98383611cd6565b505050565b6000610b0983610fdd565b8210610b4a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b4190613c80565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b6000600f54905090565b610bb5611833565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610c22576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c1990613d12565b60405180910390fd5b610c2c8282611db7565b5050565b610c4b838383604051806020016040528060008152506114d5565b505050565b601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000610c806109a0565b8210610cc1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cb890613da4565b60405180910390fd5b60088281548110610cd557610cd4613dc4565b5b90600052602060002001549050919050565b60105481565b610d016000801b610cfc611833565b6111f0565b610d40576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d3790613e3f565b60405180910390fd5b80600e9080519060200190610d56929190612ff6565b5050565b60125481565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610e09576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e0090613ed1565b60405180910390fd5b80915050919050565b6000610e457f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6610e40611833565b6111f0565b610e84576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e7b90613f3d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610ef4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eeb90613fa9565b60405180910390fd5b610efe600d611e99565b6000610f086109a0565b90506010546014541115610f51576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f4890614015565b60405180910390fd5b600f54600182610f619190614035565b1115610fa2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f99906140fd565b60405180910390fd5b610fb583610fb0600d611eaf565b611ebd565b60146000815480929190610fc89061411d565b91905055506001915050919050565b60155481565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561104e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611045906141d8565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600f5481565b6110a86000801b336111f0565b6110e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110de90614244565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611157576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161114e906142d6565b60405180910390fd5b6000811161119a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161119190614368565b60405180910390fd5b6111a48282611edb565b81601360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550806012819055505050565b6000600a600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60606001805461126a906138ab565b80601f0160208091040260200160405190810160405280929190818152602001828054611296906138ab565b80156112e35780601f106112b8576101008083540402835291602001916112e3565b820191906000526020600020905b8154815290600101906020018083116112c657829003601f168201915b5050505050905090565b60115481565b6000801b81565b61130c611305611833565b8383611fab565b5050565b60006113437f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a661133e611833565b6111f0565b611382576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161137990613f3d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156113f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113e990613fa9565b60405180910390fd5b6113fc600d611e99565b60006114066109a0565b9050601154601554111561144f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611446906143d4565b60405180910390fd5b600f5460018261145f9190614035565b11156114a0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611497906140fd565b60405180910390fd5b6114b3836114ae600d611eaf565b611ebd565b601560008154809291906114c69061411d565b91905055506001915050919050565b6114e66114e0611833565b836118f4565b611525576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161151c90613b05565b60405180910390fd5b61153184848484612118565b50505050565b6060611542826117c7565b611581576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161157890614466565b60405180910390fd5b600061158b612174565b905060008151116115ab57604051806020016040528060008152506115d6565b806115b584612206565b6040516020016115c69291906144c2565b6040516020818303038152906040525b915050919050565b600e80546115eb906138ab565b80601f0160208091040260200160405190810160405280929190818152602001828054611617906138ab565b80156116645780601f1061163957610100808354040283529160200191611664565b820191906000526020600020905b81548152906001019060200180831161164757829003601f168201915b505050505081565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b61169982610a0d565b6116aa816116a5611833565b611c39565b6116b48383611db7565b505050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806117c057506117bf82612367565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166118ae83610d60565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006118ff826117c7565b61193e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161193590614558565b60405180910390fd5b600061194983610d60565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806119b857508373ffffffffffffffffffffffffffffffffffffffff166119a0846107fd565b73ffffffffffffffffffffffffffffffffffffffff16145b806119c957506119c881856116b9565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166119f282610d60565b73ffffffffffffffffffffffffffffffffffffffff1614611a48576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a3f906145ea565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611ab8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aaf9061467c565b60405180910390fd5b611ac38383836123e1565b611ace60008261183b565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611b1e919061469c565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611b759190614035565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611c348383836124f5565b505050565b611c4382826111f0565b611cd257611c688173ffffffffffffffffffffffffffffffffffffffff1660146124fa565b611c768360001c60206124fa565b604051602001611c87929190614768565b6040516020818303038152906040526040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cc99190613201565b60405180910390fd5b5050565b611ce082826111f0565b611db3576001600a600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611d58611833565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b611dc182826111f0565b15611e95576000600a600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611e3a611833565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b6001816000016000828254019250508190555050565b600081600001549050919050565b611ed7828260405180602001604052806000815250612736565b5050565b670de0b6b3a7640000811115611f26576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f1d906147ee565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff16815260200182815250600b60008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550602082015181600101559050505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561201a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120119061485a565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161210b919061314d565b60405180910390a3505050565b6121238484846119d2565b61212f84848484612791565b61216e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612165906148ec565b60405180910390fd5b50505050565b6060600e8054612183906138ab565b80601f01602080910402602001604051908101604052809291908181526020018280546121af906138ab565b80156121fc5780601f106121d1576101008083540402835291602001916121fc565b820191906000526020600020905b8154815290600101906020018083116121df57829003601f168201915b5050505050905090565b6060600082141561224e576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612362565b600082905060005b600082146122805780806122699061411d565b915050600a826122799190613bdd565b9150612256565b60008167ffffffffffffffff81111561229c5761229b61350b565b5b6040519080825280601f01601f1916602001820160405280156122ce5781602001600182028036833780820191505090505b5090505b6000851461235b576001826122e7919061469c565b9150600a856122f6919061490c565b60306123029190614035565b60f81b81838151811061231857612317613dc4565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856123549190613bdd565b94506122d2565b8093505050505b919050565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806123da57506123d982612928565b5b9050919050565b6123ec8383836129a2565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561242f5761242a816129a7565b61246e565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461246d5761246c83826129f0565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156124b1576124ac81612b5d565b6124f0565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146124ef576124ee8282612c2e565b5b5b505050565b505050565b60606000600283600261250d9190613b54565b6125179190614035565b67ffffffffffffffff8111156125305761252f61350b565b5b6040519080825280601f01601f1916602001820160405280156125625781602001600182028036833780820191505090505b5090507f30000000000000000000000000000000000000000000000000000000000000008160008151811061259a57612599613dc4565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f7800000000000000000000000000000000000000000000000000000000000000816001815181106125fe576125fd613dc4565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506000600184600261263e9190613b54565b6126489190614035565b90505b60018111156126e8577f3031323334353637383961626364656600000000000000000000000000000000600f86166010811061268a57612689613dc4565b5b1a60f81b8282815181106126a1576126a0613dc4565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c9450806126e19061493d565b905061264b565b506000841461272c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612723906149b3565b60405180910390fd5b8091505092915050565b6127408383612cad565b61274d6000848484612791565b61278c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612783906148ec565b60405180910390fd5b505050565b60006127b28473ffffffffffffffffffffffffffffffffffffffff16612e87565b1561291b578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026127db611833565b8786866040518563ffffffff1660e01b81526004016127fd9493929190614a28565b602060405180830381600087803b15801561281757600080fd5b505af192505050801561284857506040513d601f19601f820116820180604052508101906128459190614a89565b60015b6128cb573d8060008114612878576040519150601f19603f3d011682016040523d82523d6000602084013e61287d565b606091505b506000815114156128c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128ba906148ec565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612920565b600190505b949350505050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061299b575061299a82612eaa565b5b9050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b600060016129fd84610fdd565b612a07919061469c565b9050600060076000848152602001908152602001600020549050818114612aec576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050612b71919061469c565b9050600060096000848152602001908152602001600020549050600060088381548110612ba157612ba0613dc4565b5b906000526020600020015490508060088381548110612bc357612bc2613dc4565b5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480612c1257612c11614ab6565b5b6001900381819060005260206000200160009055905550505050565b6000612c3983610fdd565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612d1d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d1490613fa9565b60405180910390fd5b612d26816117c7565b15612d66576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d5d90614b31565b60405180910390fd5b612d72600083836123e1565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612dc29190614035565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612e83600083836124f5565b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612f7557507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612f855750612f8482612f8c565b5b9050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b828054613002906138ab565b90600052602060002090601f016020900481019282613024576000855561306b565b82601f1061303d57805160ff191683800117855561306b565b8280016001018555821561306b579182015b8281111561306a57825182559160200191906001019061304f565b5b509050613078919061307c565b5090565b5b8082111561309557600081600090555060010161307d565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6130e2816130ad565b81146130ed57600080fd5b50565b6000813590506130ff816130d9565b92915050565b60006020828403121561311b5761311a6130a3565b5b6000613129848285016130f0565b91505092915050565b60008115159050919050565b61314781613132565b82525050565b6000602082019050613162600083018461313e565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156131a2578082015181840152602081019050613187565b838111156131b1576000848401525b50505050565b6000601f19601f8301169050919050565b60006131d382613168565b6131dd8185613173565b93506131ed818560208601613184565b6131f6816131b7565b840191505092915050565b6000602082019050818103600083015261321b81846131c8565b905092915050565b6000819050919050565b61323681613223565b811461324157600080fd5b50565b6000813590506132538161322d565b92915050565b60006020828403121561326f5761326e6130a3565b5b600061327d84828501613244565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006132b182613286565b9050919050565b6132c1816132a6565b82525050565b60006020820190506132dc60008301846132b8565b92915050565b6132eb816132a6565b81146132f657600080fd5b50565b600081359050613308816132e2565b92915050565b60008060408385031215613325576133246130a3565b5b6000613333858286016132f9565b925050602061334485828601613244565b9150509250929050565b61335781613223565b82525050565b6000602082019050613372600083018461334e565b92915050565b600080600060608486031215613391576133906130a3565b5b600061339f868287016132f9565b93505060206133b0868287016132f9565b92505060406133c186828701613244565b9150509250925092565b6000819050919050565b6133de816133cb565b81146133e957600080fd5b50565b6000813590506133fb816133d5565b92915050565b600060208284031215613417576134166130a3565b5b6000613425848285016133ec565b91505092915050565b613437816133cb565b82525050565b6000602082019050613452600083018461342e565b92915050565b6000806040838503121561346f5761346e6130a3565b5b600061347d85828601613244565b925050602061348e85828601613244565b9150509250929050565b60006040820190506134ad60008301856132b8565b6134ba602083018461334e565b9392505050565b600080604083850312156134d8576134d76130a3565b5b60006134e6858286016133ec565b92505060206134f7858286016132f9565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613543826131b7565b810181811067ffffffffffffffff821117156135625761356161350b565b5b80604052505050565b6000613575613099565b9050613581828261353a565b919050565b600067ffffffffffffffff8211156135a1576135a061350b565b5b6135aa826131b7565b9050602081019050919050565b82818337600083830152505050565b60006135d96135d484613586565b61356b565b9050828152602081018484840111156135f5576135f4613506565b5b6136008482856135b7565b509392505050565b600082601f83011261361d5761361c613501565b5b813561362d8482602086016135c6565b91505092915050565b60006020828403121561364c5761364b6130a3565b5b600082013567ffffffffffffffff81111561366a576136696130a8565b5b61367684828501613608565b91505092915050565b600060208284031215613695576136946130a3565b5b60006136a3848285016132f9565b91505092915050565b6136b581613132565b81146136c057600080fd5b50565b6000813590506136d2816136ac565b92915050565b600080604083850312156136ef576136ee6130a3565b5b60006136fd858286016132f9565b925050602061370e858286016136c3565b9150509250929050565b600067ffffffffffffffff8211156137335761373261350b565b5b61373c826131b7565b9050602081019050919050565b600061375c61375784613718565b61356b565b90508281526020810184848401111561377857613777613506565b5b6137838482856135b7565b509392505050565b600082601f8301126137a05761379f613501565b5b81356137b0848260208601613749565b91505092915050565b600080600080608085870312156137d3576137d26130a3565b5b60006137e1878288016132f9565b94505060206137f2878288016132f9565b935050604061380387828801613244565b925050606085013567ffffffffffffffff811115613824576138236130a8565b5b6138308782880161378b565b91505092959194509250565b60008060408385031215613853576138526130a3565b5b6000613861858286016132f9565b9250506020613872858286016132f9565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806138c357607f821691505b602082108114156138d7576138d661387c565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000613939602c83613173565b9150613944826138dd565b604082019050919050565b600060208201905081810360008301526139688161392c565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b60006139cb602183613173565b91506139d68261396f565b604082019050919050565b600060208201905081810360008301526139fa816139be565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b6000613a5d603883613173565b9150613a6882613a01565b604082019050919050565b60006020820190508181036000830152613a8c81613a50565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b6000613aef603183613173565b9150613afa82613a93565b604082019050919050565b60006020820190508181036000830152613b1e81613ae2565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613b5f82613223565b9150613b6a83613223565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613ba357613ba2613b25565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613be882613223565b9150613bf383613223565b925082613c0357613c02613bae565b5b828204905092915050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b6000613c6a602b83613173565b9150613c7582613c0e565b604082019050919050565b60006020820190508181036000830152613c9981613c5d565b9050919050565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b6000613cfc602f83613173565b9150613d0782613ca0565b604082019050919050565b60006020820190508181036000830152613d2b81613cef565b9050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b6000613d8e602c83613173565b9150613d9982613d32565b604082019050919050565b60006020820190508181036000830152613dbd81613d81565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f43616c6c6572206973206e6f7420612061646d696e0000000000000000000000600082015250565b6000613e29601583613173565b9150613e3482613df3565b602082019050919050565b60006020820190508181036000830152613e5881613e1c565b9050919050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b6000613ebb602983613173565b9150613ec682613e5f565b604082019050919050565b60006020820190508181036000830152613eea81613eae565b9050919050565b7f43616c6c6572206973206e6f742061206d696e74657200000000000000000000600082015250565b6000613f27601683613173565b9150613f3282613ef1565b602082019050919050565b60006020820190508181036000830152613f5681613f1a565b9050919050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000613f93602083613173565b9150613f9e82613f5d565b602082019050919050565b60006020820190508181036000830152613fc281613f86565b9050919050565b7f73616c65206d696e74696e6720636f6d706c6574656400000000000000000000600082015250565b6000613fff601683613173565b915061400a82613fc9565b602082019050919050565b6000602082019050818103600083015261402e81613ff2565b9050919050565b600061404082613223565b915061404b83613223565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156140805761407f613b25565b5b828201905092915050565b7f43617020726561636865642c206d6178696d756d2035353535206d696e74732060008201527f706f737369626c65000000000000000000000000000000000000000000000000602082015250565b60006140e7602883613173565b91506140f28261408b565b604082019050919050565b60006020820190508181036000830152614116816140da565b9050919050565b600061412882613223565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561415b5761415a613b25565b5b600182019050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b60006141c2602a83613173565b91506141cd82614166565b604082019050919050565b600060208201905081810360008301526141f1816141b5565b9050919050565b7f6f6e6c792061646d696e20616c6c6f7765640000000000000000000000000000600082015250565b600061422e601283613173565b9150614239826141f8565b602082019050919050565b6000602082019050818103600083015261425d81614221565b9050919050565b7f5331364e46543a20526f79616c747920726563697069656e742061646472657360008201527f732063616e6e6f74206265205a65726f20416464726573730000000000000000602082015250565b60006142c0603883613173565b91506142cb82614264565b604082019050919050565b600060208201905081810360008301526142ef816142b3565b9050919050565b7f5331364e46543a20696e76616c696420726f79616c74792070657263656e746160008201527f6765000000000000000000000000000000000000000000000000000000000000602082015250565b6000614352602283613173565b915061435d826142f6565b604082019050919050565b6000602082019050818103600083015261438181614345565b9050919050565b7f72657365727665642073616c6520636f6d706c65746564000000000000000000600082015250565b60006143be601783613173565b91506143c982614388565b602082019050919050565b600060208201905081810360008301526143ed816143b1565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000614450602f83613173565b915061445b826143f4565b604082019050919050565b6000602082019050818103600083015261447f81614443565b9050919050565b600081905092915050565b600061449c82613168565b6144a68185614486565b93506144b6818560208601613184565b80840191505092915050565b60006144ce8285614491565b91506144da8284614491565b91508190509392505050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000614542602c83613173565b915061454d826144e6565b604082019050919050565b6000602082019050818103600083015261457181614535565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b60006145d4602583613173565b91506145df82614578565b604082019050919050565b60006020820190508181036000830152614603816145c7565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000614666602483613173565b91506146718261460a565b604082019050919050565b6000602082019050818103600083015261469581614659565b9050919050565b60006146a782613223565b91506146b283613223565b9250828210156146c5576146c4613b25565b5b828203905092915050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b6000614706601783614486565b9150614711826146d0565b601782019050919050565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b6000614752601183614486565b915061475d8261471c565b601182019050919050565b6000614773826146f9565b915061477f8285614491565b915061478a82614745565b91506147968284614491565b91508190509392505050565b7f45524332393831526f79616c746965733a20546f6f2068696768000000000000600082015250565b60006147d8601a83613173565b91506147e3826147a2565b602082019050919050565b60006020820190508181036000830152614807816147cb565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000614844601983613173565b915061484f8261480e565b602082019050919050565b6000602082019050818103600083015261487381614837565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b60006148d6603283613173565b91506148e18261487a565b604082019050919050565b60006020820190508181036000830152614905816148c9565b9050919050565b600061491782613223565b915061492283613223565b92508261493257614931613bae565b5b828206905092915050565b600061494882613223565b9150600082141561495c5761495b613b25565b5b600182039050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b600061499d602083613173565b91506149a882614967565b602082019050919050565b600060208201905081810360008301526149cc81614990565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006149fa826149d3565b614a0481856149de565b9350614a14818560208601613184565b614a1d816131b7565b840191505092915050565b6000608082019050614a3d60008301876132b8565b614a4a60208301866132b8565b614a57604083018561334e565b8181036060830152614a6981846149ef565b905095945050505050565b600081519050614a83816130d9565b92915050565b600060208284031215614a9f57614a9e6130a3565b5b6000614aad84828501614a74565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000614b1b601c83613173565b9150614b2682614ae5565b602082019050919050565b60006020820190508181036000830152614b4a81614b0e565b905091905056fea26469706673582212208ced74389d3f674d56ac56f778218bbd277995cecfc037a6e0a2f117364962ed64736f6c63430008090033
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.