ERC-721
Overview
Max Total Supply
1,111 EZKEY
Holders
970
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 EZKEYLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
EZKey
Compiler Version
v0.8.4+commit.c7e474f2
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
//SPDX-License-Identifier: Unlicense pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/interfaces/IERC721.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/access/AccessControl.sol"; interface IEZMeta is IERC721 { /** * The token does not exist. */ error URIQueryForNonexistentToken(); /** * A mint was attempted after max supply was already reached. */ error MintAttemptWhenMaxSupplyReached(); } contract EZKey is IEZMeta, ERC721, Ownable, AccessControl { uint16 public maxSupply = 1111; // The tokenId of the next token to be minted. uint16 private _currentIndex; string private _baseTokenURI; bytes32 public constant MINTER_ROLE = keccak256("MINTER_ROLE"); constructor( string memory name, string memory symbol, string memory baseUri_, uint16 maxSupply_, address minter ) ERC721(name, symbol) { _currentIndex = 1; _baseTokenURI = baseUri_; maxSupply = maxSupply_; _grantRole(MINTER_ROLE, minter); } function mintSingle(address receiver, uint256 id) public { require(hasRole(MINTER_ROLE, msg.sender), "Caller is not a minter"); if (_currentIndex <= maxSupply) { _safeMint(receiver, id); _currentIndex++; } else { revert MintAttemptWhenMaxSupplyReached(); } } function setBaseURI(string calldata baseURI_) external onlyOwner { _baseTokenURI = baseURI_; } function addMinter(address minter) external onlyOwner { _grantRole(MINTER_ROLE, minter); } function removeMinter(address minter) external onlyOwner { _revokeRole(MINTER_ROLE, minter); } function _baseURI() internal view virtual override returns (string memory) { return _baseTokenURI; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI_ = _baseURI(); return bytes(baseURI_).length != 0 ? string(abi.encodePacked(baseURI_, Strings.toString(tokenId))) : ""; } function totalSupply() public view returns (uint16) { return maxSupply; } function supportsInterface(bytes4 interfaceId) public view virtual override(ERC721, IERC165, AccessControl) returns (bool) { return super.supportsInterface(interfaceId); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (interfaces/IERC721.sol) pragma solidity ^0.8.0; import "../token/ERC721/IERC721.sol";
// 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 v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (access/AccessControl.sol) pragma solidity ^0.8.0; import "./IAccessControl.sol"; import "../utils/Context.sol"; import "../utils/Strings.sol"; import "../utils/introspection/ERC165.sol"; /** * @dev Contract module that allows children to implement role-based access * control mechanisms. This is a lightweight version that doesn't allow enumerating role * members except through off-chain means by accessing the contract event logs. Some * applications may benefit from on-chain enumerability, for those cases see * {AccessControlEnumerable}. * * Roles are referred to by their `bytes32` identifier. These should be exposed * in the external API and be unique. The best way to achieve this is by * using `public constant` hash digests: * * ``` * bytes32 public constant MY_ROLE = keccak256("MY_ROLE"); * ``` * * Roles can be used to represent a set of permissions. To restrict access to a * function call, use {hasRole}: * * ``` * function foo() public { * require(hasRole(MY_ROLE, msg.sender)); * ... * } * ``` * * Roles can be granted and revoked dynamically via the {grantRole} and * {revokeRole} functions. Each role has an associated admin role, and only * accounts that have a role's admin role can call {grantRole} and {revokeRole}. * * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means * that only accounts with this role will be able to grant or revoke other * roles. More complex role relationships can be created by using * {_setRoleAdmin}. * * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to * grant and revoke this role. Extra precautions should be taken to secure * accounts that have been granted it. */ abstract contract AccessControl is Context, IAccessControl, ERC165 { struct RoleData { mapping(address => bool) members; bytes32 adminRole; } mapping(bytes32 => RoleData) private _roles; bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00; /** * @dev Modifier that checks that an account has a specific role. Reverts * with a standardized message including the required role. * * The format of the revert reason is given by the following regular expression: * * /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/ * * _Available since v4.1._ */ modifier onlyRole(bytes32 role) { _checkRole(role, _msgSender()); _; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IAccessControl).interfaceId || super.supportsInterface(interfaceId); } /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) public view virtual override returns (bool) { return _roles[role].members[account]; } /** * @dev Revert with a standard message if `account` is missing `role`. * * The format of the revert reason is given by the following regular expression: * * /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/ */ function _checkRole(bytes32 role, address account) internal view virtual { if (!hasRole(role, account)) { revert( string( abi.encodePacked( "AccessControl: account ", Strings.toHexString(uint160(account), 20), " is missing role ", Strings.toHexString(uint256(role), 32) ) ) ); } } /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) public view virtual override returns (bytes32) { return _roles[role].adminRole; } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) { _grantRole(role, account); } /** * @dev Revokes `role` from `account`. * * If `account` had been granted `role`, emits a {RoleRevoked} event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) { _revokeRole(role, account); } /** * @dev Revokes `role` from the calling account. * * Roles are often managed via {grantRole} and {revokeRole}: this function's * purpose is to provide a mechanism for accounts to lose their privileges * if they are compromised (such as when a trusted device is misplaced). * * If the calling account had been revoked `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `account`. */ function renounceRole(bytes32 role, address account) public virtual override { require(account == _msgSender(), "AccessControl: can only renounce roles for self"); _revokeRole(role, account); } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. Note that unlike {grantRole}, this function doesn't perform any * checks on the calling account. * * [WARNING] * ==== * This function should only be called from the constructor when setting * up the initial roles for the system. * * Using this function in any other way is effectively circumventing the admin * system imposed by {AccessControl}. * ==== * * NOTE: This function is deprecated in favor of {_grantRole}. */ function _setupRole(bytes32 role, address account) internal virtual { _grantRole(role, account); } /** * @dev Sets `adminRole` as ``role``'s admin role. * * Emits a {RoleAdminChanged} event. */ function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual { bytes32 previousAdminRole = getRoleAdmin(role); _roles[role].adminRole = adminRole; emit RoleAdminChanged(role, previousAdminRole, adminRole); } /** * @dev Grants `role` to `account`. * * Internal function without access restriction. */ function _grantRole(bytes32 role, address account) internal virtual { if (!hasRole(role, account)) { _roles[role].members[account] = true; emit RoleGranted(role, account, _msgSender()); } } /** * @dev Revokes `role` from `account`. * * Internal function without access restriction. */ function _revokeRole(bytes32 role, address account) internal virtual { if (hasRole(role, account)) { _roles[role].members[account] = false; emit RoleRevoked(role, account, _msgSender()); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/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 (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 (last updated v4.5.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (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; }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"string","name":"baseUri_","type":"string"},{"internalType":"uint16","name":"maxSupply_","type":"uint16"},{"internalType":"address","name":"minter","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"MintAttemptWhenMaxSupplyReached","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"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":[{"internalType":"address","name":"minter","type":"address"}],"name":"addMinter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"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":[],"name":"maxSupply","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"mintSingle","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"minter","type":"address"}],"name":"removeMinter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"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":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6080604052610457600860006101000a81548161ffff021916908361ffff1602179055503480156200003057600080fd5b506040516200444f3803806200444f8339818101604052810190620000569190620004b8565b848481600090805190602001906200007092919062000368565b5080600190805190602001906200008992919062000368565b505050620000ac620000a06200013d60201b60201c565b6200014560201b60201c565b6001600860026101000a81548161ffff021916908361ffff1602179055508260099080519060200190620000e292919062000368565b5081600860006101000a81548161ffff021916908361ffff160217905550620001327f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6826200020b60201b60201c565b50505050506200076b565b600033905090565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6200021d8282620002fd60201b60201c565b620002f95760016007600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506200029e6200013d60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b60006007600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b82805462000376906200065c565b90600052602060002090601f0160209004810192826200039a5760008555620003e6565b82601f10620003b557805160ff1916838001178555620003e6565b82800160010185558215620003e6579182015b82811115620003e5578251825591602001919060010190620003c8565b5b509050620003f59190620003f9565b5090565b5b8082111562000414576000816000905550600101620003fa565b5090565b60006200042f6200042984620005ae565b62000585565b9050828152602081018484840111156200044857600080fd5b6200045584828562000626565b509392505050565b6000815190506200046e8162000737565b92915050565b600082601f8301126200048657600080fd5b81516200049884826020860162000418565b91505092915050565b600081519050620004b28162000751565b92915050565b600080600080600060a08688031215620004d157600080fd5b600086015167ffffffffffffffff811115620004ec57600080fd5b620004fa8882890162000474565b955050602086015167ffffffffffffffff8111156200051857600080fd5b620005268882890162000474565b945050604086015167ffffffffffffffff8111156200054457600080fd5b620005528882890162000474565b93505060606200056588828901620004a1565b925050608062000578888289016200045d565b9150509295509295909350565b600062000591620005a4565b90506200059f828262000692565b919050565b6000604051905090565b600067ffffffffffffffff821115620005cc57620005cb620006f7565b5b620005d78262000726565b9050602081019050919050565b6000620005f18262000606565b9050919050565b600061ffff82169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60005b838110156200064657808201518184015260208101905062000629565b8381111562000656576000848401525b50505050565b600060028204905060018216806200067557607f821691505b602082108114156200068c576200068b620006c8565b5b50919050565b6200069d8262000726565b810181811067ffffffffffffffff82111715620006bf57620006be620006f7565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b6200074281620005e4565b81146200074e57600080fd5b50565b6200075c81620005f8565b81146200076857600080fd5b50565b613cd4806200077b6000396000f3fe608060405234801561001057600080fd5b50600436106101cf5760003560e01c806370a0823111610104578063a22cb465116100a2578063d547741f11610071578063d547741f14610516578063d5abeb0114610532578063e985e9c514610550578063f2fde38b14610580576101cf565b8063a22cb46514610490578063b88d4fde146104ac578063c87b56dd146104c8578063d5391393146104f8576101cf565b806391d14854116100de57806391d148541461040857806395d89b4114610438578063983b2d5614610456578063a217fddf14610472576101cf565b806370a08231146103b0578063715018a6146103e05780638da5cb5b146103ea576101cf565b8063248a9ca31161017157806336568abe1161014b57806336568abe1461032c57806342842e0e1461034857806355f804b3146103645780636352211e14610380576101cf565b8063248a9ca3146102c45780632f2ff15d146102f45780633092afd514610310576101cf565b8063095ea7b3116101ad578063095ea7b31461025257806309be58f81461026e57806318160ddd1461028a57806323b872dd146102a8576101cf565b806301ffc9a7146101d457806306fdde0314610204578063081812fc14610222575b600080fd5b6101ee60048036038101906101e99190612ab7565b61059c565b6040516101fb9190612fe6565b60405180910390f35b61020c6105ae565b604051610219919061301c565b60405180910390f35b61023c60048036038101906102379190612b4e565b610640565b6040516102499190612f7f565b60405180910390f35b61026c60048036038101906102679190612a16565b6106c5565b005b61028860048036038101906102839190612a16565b6107dd565b005b6102926108f5565b60405161029f919061327e565b60405180910390f35b6102c260048036038101906102bd9190612910565b61090d565b005b6102de60048036038101906102d99190612a52565b61096d565b6040516102eb9190613001565b60405180910390f35b61030e60048036038101906103099190612a7b565b61098d565b005b61032a600480360381019061032591906128ab565b6109b6565b005b61034660048036038101906103419190612a7b565b610a5f565b005b610362600480360381019061035d9190612910565b610ae2565b005b61037e60048036038101906103799190612b09565b610b02565b005b61039a60048036038101906103959190612b4e565b610b94565b6040516103a79190612f7f565b60405180910390f35b6103ca60048036038101906103c591906128ab565b610c46565b6040516103d79190613299565b60405180910390f35b6103e8610cfe565b005b6103f2610d86565b6040516103ff9190612f7f565b60405180910390f35b610422600480360381019061041d9190612a7b565b610db0565b60405161042f9190612fe6565b60405180910390f35b610440610e1b565b60405161044d919061301c565b60405180910390f35b610470600480360381019061046b91906128ab565b610ead565b005b61047a610f56565b6040516104879190613001565b60405180910390f35b6104aa60048036038101906104a591906129da565b610f5d565b005b6104c660048036038101906104c1919061295f565b610f73565b005b6104e260048036038101906104dd9190612b4e565b610fd5565b6040516104ef919061301c565b60405180910390f35b610500611074565b60405161050d9190613001565b60405180910390f35b610530600480360381019061052b9190612a7b565b611098565b005b61053a6110c1565b604051610547919061327e565b60405180910390f35b61056a600480360381019061056591906128d4565b6110d5565b6040516105779190612fe6565b60405180910390f35b61059a600480360381019061059591906128ab565b611169565b005b60006105a782611261565b9050919050565b6060600080546105bd9061355a565b80601f01602080910402602001604051908101604052809291908181526020018280546105e99061355a565b80156106365780601f1061060b57610100808354040283529160200191610636565b820191906000526020600020905b81548152906001019060200180831161061957829003601f168201915b5050505050905090565b600061064b826112db565b61068a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610681906131de565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006106d082610b94565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610741576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107389061321e565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610760611347565b73ffffffffffffffffffffffffffffffffffffffff16148061078f575061078e81610789611347565b6110d5565b5b6107ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107c59061313e565b60405180910390fd5b6107d8838361134f565b505050565b6108077f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a633610db0565b610846576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161083d9061315e565b60405180910390fd5b600860009054906101000a900461ffff1661ffff16600860029054906101000a900461ffff1661ffff16116108bf5761087f8282611408565b6008600281819054906101000a900461ffff168092919061089f906135bd565b91906101000a81548161ffff021916908361ffff160217905550506108f1565b6040517ff0e1b57900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5050565b6000600860009054906101000a900461ffff16905090565b61091e610918611347565b82611426565b61095d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109549061323e565b60405180910390fd5b610968838383611504565b505050565b600060076000838152602001908152602001600020600101549050919050565b6109968261096d565b6109a7816109a2611347565b61176b565b6109b18383611808565b505050565b6109be611347565b73ffffffffffffffffffffffffffffffffffffffff166109dc610d86565b73ffffffffffffffffffffffffffffffffffffffff1614610a32576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a29906131fe565b60405180910390fd5b610a5c7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6826118e9565b50565b610a67611347565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610ad4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610acb9061325e565b60405180910390fd5b610ade82826118e9565b5050565b610afd83838360405180602001604052806000815250610f73565b505050565b610b0a611347565b73ffffffffffffffffffffffffffffffffffffffff16610b28610d86565b73ffffffffffffffffffffffffffffffffffffffff1614610b7e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b75906131fe565b60405180910390fd5b818160099190610b8f9291906126d8565b505050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610c3d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c349061319e565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610cb7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cae9061317e565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610d06611347565b73ffffffffffffffffffffffffffffffffffffffff16610d24610d86565b73ffffffffffffffffffffffffffffffffffffffff1614610d7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d71906131fe565b60405180910390fd5b610d8460006119cb565b565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60006007600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b606060018054610e2a9061355a565b80601f0160208091040260200160405190810160405280929190818152602001828054610e569061355a565b8015610ea35780601f10610e7857610100808354040283529160200191610ea3565b820191906000526020600020905b815481529060010190602001808311610e8657829003601f168201915b5050505050905090565b610eb5611347565b73ffffffffffffffffffffffffffffffffffffffff16610ed3610d86565b73ffffffffffffffffffffffffffffffffffffffff1614610f29576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f20906131fe565b60405180910390fd5b610f537f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a682611808565b50565b6000801b81565b610f6f610f68611347565b8383611a91565b5050565b610f84610f7e611347565b83611426565b610fc3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fba9061323e565b60405180910390fd5b610fcf84848484611bfe565b50505050565b6060610fe0826112db565b611016576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000611020611c5a565b9050600081511415611041576040518060200160405280600081525061106c565b8061104b84611cec565b60405160200161105c929190612f21565b6040516020818303038152906040525b915050919050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b6110a18261096d565b6110b2816110ad611347565b61176b565b6110bc83836118e9565b505050565b600860009054906101000a900461ffff1681565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611171611347565b73ffffffffffffffffffffffffffffffffffffffff1661118f610d86565b73ffffffffffffffffffffffffffffffffffffffff16146111e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111dc906131fe565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611255576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161124c9061307e565b60405180910390fd5b61125e816119cb565b50565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806112d457506112d382611e99565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166113c283610b94565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b611422828260405180602001604052806000815250611f7b565b5050565b6000611431826112db565b611470576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114679061311e565b60405180910390fd5b600061147b83610b94565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806114ea57508373ffffffffffffffffffffffffffffffffffffffff166114d284610640565b73ffffffffffffffffffffffffffffffffffffffff16145b806114fb57506114fa81856110d5565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661152482610b94565b73ffffffffffffffffffffffffffffffffffffffff161461157a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115719061309e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156115ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115e1906130de565b60405180910390fd5b6115f5838383611fd6565b61160060008261134f565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611650919061342e565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546116a7919061334d565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611766838383611fdb565b505050565b6117758282610db0565b6118045761179a8173ffffffffffffffffffffffffffffffffffffffff166014611fe0565b6117a88360001c6020611fe0565b6040516020016117b9929190612f45565b6040516020818303038152906040526040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117fb919061301c565b60405180910390fd5b5050565b6118128282610db0565b6118e55760016007600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555061188a611347565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b6118f38282610db0565b156119c75760006007600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555061196c611347565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611b00576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611af7906130fe565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611bf19190612fe6565b60405180910390a3505050565b611c09848484611504565b611c15848484846122da565b611c54576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c4b9061305e565b60405180910390fd5b50505050565b606060098054611c699061355a565b80601f0160208091040260200160405190810160405280929190818152602001828054611c959061355a565b8015611ce25780601f10611cb757610100808354040283529160200191611ce2565b820191906000526020600020905b815481529060010190602001808311611cc557829003601f168201915b5050505050905090565b60606000821415611d34576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050611e94565b600082905060005b60008214611d66578080611d4f906135e8565b915050600a82611d5f91906133a3565b9150611d3c565b60008167ffffffffffffffff811115611da8577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611dda5781602001600182028036833780820191505090505b5090505b60008514611e8d57600182611df3919061342e565b9150600a85611e029190613631565b6030611e0e919061334d565b60f81b818381518110611e4a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85611e8691906133a3565b9450611dde565b8093505050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611f6457507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611f745750611f7382612471565b5b9050919050565b611f8583836124db565b611f9260008484846122da565b611fd1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fc89061305e565b60405180910390fd5b505050565b505050565b505050565b606060006002836002611ff391906133d4565b611ffd919061334d565b67ffffffffffffffff81111561203c577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561206e5781602001600182028036833780820191505090505b5090507f3000000000000000000000000000000000000000000000000000000000000000816000815181106120cc577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f780000000000000000000000000000000000000000000000000000000000000081600181518110612156577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506000600184600261219691906133d4565b6121a0919061334d565b90505b600181111561228c577f3031323334353637383961626364656600000000000000000000000000000000600f861660108110612208577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b1a60f81b828281518110612245577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c94508061228590613530565b90506121a3565b50600084146122d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122c79061303e565b60405180910390fd5b8091505092915050565b60006122fb8473ffffffffffffffffffffffffffffffffffffffff166126b5565b15612464578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612324611347565b8786866040518563ffffffff1660e01b81526004016123469493929190612f9a565b602060405180830381600087803b15801561236057600080fd5b505af192505050801561239157506040513d601f19601f8201168201806040525081019061238e9190612ae0565b60015b612414573d80600081146123c1576040519150601f19603f3d011682016040523d82523d6000602084013e6123c6565b606091505b5060008151141561240c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124039061305e565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612469565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561254b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612542906131be565b60405180910390fd5b612554816112db565b15612594576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161258b906130be565b60405180910390fd5b6125a060008383611fd6565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546125f0919061334d565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46126b160008383611fdb565b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b8280546126e49061355a565b90600052602060002090601f016020900481019282612706576000855561274d565b82601f1061271f57803560ff191683800117855561274d565b8280016001018555821561274d579182015b8281111561274c578235825591602001919060010190612731565b5b50905061275a919061275e565b5090565b5b8082111561277757600081600090555060010161275f565b5090565b600061278e612789846132d9565b6132b4565b9050828152602081018484840111156127a657600080fd5b6127b18482856134ee565b509392505050565b6000813590506127c881613c2b565b92915050565b6000813590506127dd81613c42565b92915050565b6000813590506127f281613c59565b92915050565b60008135905061280781613c70565b92915050565b60008151905061281c81613c70565b92915050565b600082601f83011261283357600080fd5b813561284384826020860161277b565b91505092915050565b60008083601f84011261285e57600080fd5b8235905067ffffffffffffffff81111561287757600080fd5b60208301915083600182028301111561288f57600080fd5b9250929050565b6000813590506128a581613c87565b92915050565b6000602082840312156128bd57600080fd5b60006128cb848285016127b9565b91505092915050565b600080604083850312156128e757600080fd5b60006128f5858286016127b9565b9250506020612906858286016127b9565b9150509250929050565b60008060006060848603121561292557600080fd5b6000612933868287016127b9565b9350506020612944868287016127b9565b925050604061295586828701612896565b9150509250925092565b6000806000806080858703121561297557600080fd5b6000612983878288016127b9565b9450506020612994878288016127b9565b93505060406129a587828801612896565b925050606085013567ffffffffffffffff8111156129c257600080fd5b6129ce87828801612822565b91505092959194509250565b600080604083850312156129ed57600080fd5b60006129fb858286016127b9565b9250506020612a0c858286016127ce565b9150509250929050565b60008060408385031215612a2957600080fd5b6000612a37858286016127b9565b9250506020612a4885828601612896565b9150509250929050565b600060208284031215612a6457600080fd5b6000612a72848285016127e3565b91505092915050565b60008060408385031215612a8e57600080fd5b6000612a9c858286016127e3565b9250506020612aad858286016127b9565b9150509250929050565b600060208284031215612ac957600080fd5b6000612ad7848285016127f8565b91505092915050565b600060208284031215612af257600080fd5b6000612b008482850161280d565b91505092915050565b60008060208385031215612b1c57600080fd5b600083013567ffffffffffffffff811115612b3657600080fd5b612b428582860161284c565b92509250509250929050565b600060208284031215612b6057600080fd5b6000612b6e84828501612896565b91505092915050565b612b8081613462565b82525050565b612b8f81613474565b82525050565b612b9e81613480565b82525050565b6000612baf8261330a565b612bb98185613320565b9350612bc98185602086016134fd565b612bd28161371e565b840191505092915050565b6000612be882613315565b612bf28185613331565b9350612c028185602086016134fd565b612c0b8161371e565b840191505092915050565b6000612c2182613315565b612c2b8185613342565b9350612c3b8185602086016134fd565b80840191505092915050565b6000612c54602083613331565b9150612c5f8261372f565b602082019050919050565b6000612c77603283613331565b9150612c8282613758565b604082019050919050565b6000612c9a602683613331565b9150612ca5826137a7565b604082019050919050565b6000612cbd602583613331565b9150612cc8826137f6565b604082019050919050565b6000612ce0601c83613331565b9150612ceb82613845565b602082019050919050565b6000612d03602483613331565b9150612d0e8261386e565b604082019050919050565b6000612d26601983613331565b9150612d31826138bd565b602082019050919050565b6000612d49602c83613331565b9150612d54826138e6565b604082019050919050565b6000612d6c603883613331565b9150612d7782613935565b604082019050919050565b6000612d8f601683613331565b9150612d9a82613984565b602082019050919050565b6000612db2602a83613331565b9150612dbd826139ad565b604082019050919050565b6000612dd5602983613331565b9150612de0826139fc565b604082019050919050565b6000612df8602083613331565b9150612e0382613a4b565b602082019050919050565b6000612e1b602c83613331565b9150612e2682613a74565b604082019050919050565b6000612e3e602083613331565b9150612e4982613ac3565b602082019050919050565b6000612e61602183613331565b9150612e6c82613aec565b604082019050919050565b6000612e84603183613331565b9150612e8f82613b3b565b604082019050919050565b6000612ea7601783613342565b9150612eb282613b8a565b601782019050919050565b6000612eca601183613342565b9150612ed582613bb3565b601182019050919050565b6000612eed602f83613331565b9150612ef882613bdc565b604082019050919050565b612f0c816134b6565b82525050565b612f1b816134e4565b82525050565b6000612f2d8285612c16565b9150612f398284612c16565b91508190509392505050565b6000612f5082612e9a565b9150612f5c8285612c16565b9150612f6782612ebd565b9150612f738284612c16565b91508190509392505050565b6000602082019050612f946000830184612b77565b92915050565b6000608082019050612faf6000830187612b77565b612fbc6020830186612b77565b612fc96040830185612f12565b8181036060830152612fdb8184612ba4565b905095945050505050565b6000602082019050612ffb6000830184612b86565b92915050565b60006020820190506130166000830184612b95565b92915050565b600060208201905081810360008301526130368184612bdd565b905092915050565b6000602082019050818103600083015261305781612c47565b9050919050565b6000602082019050818103600083015261307781612c6a565b9050919050565b6000602082019050818103600083015261309781612c8d565b9050919050565b600060208201905081810360008301526130b781612cb0565b9050919050565b600060208201905081810360008301526130d781612cd3565b9050919050565b600060208201905081810360008301526130f781612cf6565b9050919050565b6000602082019050818103600083015261311781612d19565b9050919050565b6000602082019050818103600083015261313781612d3c565b9050919050565b6000602082019050818103600083015261315781612d5f565b9050919050565b6000602082019050818103600083015261317781612d82565b9050919050565b6000602082019050818103600083015261319781612da5565b9050919050565b600060208201905081810360008301526131b781612dc8565b9050919050565b600060208201905081810360008301526131d781612deb565b9050919050565b600060208201905081810360008301526131f781612e0e565b9050919050565b6000602082019050818103600083015261321781612e31565b9050919050565b6000602082019050818103600083015261323781612e54565b9050919050565b6000602082019050818103600083015261325781612e77565b9050919050565b6000602082019050818103600083015261327781612ee0565b9050919050565b60006020820190506132936000830184612f03565b92915050565b60006020820190506132ae6000830184612f12565b92915050565b60006132be6132cf565b90506132ca828261358c565b919050565b6000604051905090565b600067ffffffffffffffff8211156132f4576132f36136ef565b5b6132fd8261371e565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000613358826134e4565b9150613363836134e4565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561339857613397613662565b5b828201905092915050565b60006133ae826134e4565b91506133b9836134e4565b9250826133c9576133c8613691565b5b828204905092915050565b60006133df826134e4565b91506133ea836134e4565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561342357613422613662565b5b828202905092915050565b6000613439826134e4565b9150613444836134e4565b92508282101561345757613456613662565b5b828203905092915050565b600061346d826134c4565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600061ffff82169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b8381101561351b578082015181840152602081019050613500565b8381111561352a576000848401525b50505050565b600061353b826134e4565b9150600082141561354f5761354e613662565b5b600182039050919050565b6000600282049050600182168061357257607f821691505b60208210811415613586576135856136c0565b5b50919050565b6135958261371e565b810181811067ffffffffffffffff821117156135b4576135b36136ef565b5b80604052505050565b60006135c8826134b6565b915061ffff8214156135dd576135dc613662565b5b600182019050919050565b60006135f3826134e4565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561362657613625613662565b5b600182019050919050565b600061363c826134e4565b9150613647836134e4565b92508261365757613656613691565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f43616c6c6572206973206e6f742061206d696e74657200000000000000000000600082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b613c3481613462565b8114613c3f57600080fd5b50565b613c4b81613474565b8114613c5657600080fd5b50565b613c6281613480565b8114613c6d57600080fd5b50565b613c798161348a565b8114613c8457600080fd5b50565b613c90816134e4565b8114613c9b57600080fd5b5056fea2646970667358221220c786fcf88e462906cb9730db45088a1adbb4048d88c76bf9426f46849b309dd064736f6c6343000804003300000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000457000000000000000000000000f0b93b8b528fe679aa54eff6264b420b9209f2aa0000000000000000000000000000000000000000000000000000000000000006455a2e4b455900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005455a4b45590000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d577267363247796457544a6265636952545a464a4567434c53626f4e6d72585a44316f5472454352506d70432f00000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101cf5760003560e01c806370a0823111610104578063a22cb465116100a2578063d547741f11610071578063d547741f14610516578063d5abeb0114610532578063e985e9c514610550578063f2fde38b14610580576101cf565b8063a22cb46514610490578063b88d4fde146104ac578063c87b56dd146104c8578063d5391393146104f8576101cf565b806391d14854116100de57806391d148541461040857806395d89b4114610438578063983b2d5614610456578063a217fddf14610472576101cf565b806370a08231146103b0578063715018a6146103e05780638da5cb5b146103ea576101cf565b8063248a9ca31161017157806336568abe1161014b57806336568abe1461032c57806342842e0e1461034857806355f804b3146103645780636352211e14610380576101cf565b8063248a9ca3146102c45780632f2ff15d146102f45780633092afd514610310576101cf565b8063095ea7b3116101ad578063095ea7b31461025257806309be58f81461026e57806318160ddd1461028a57806323b872dd146102a8576101cf565b806301ffc9a7146101d457806306fdde0314610204578063081812fc14610222575b600080fd5b6101ee60048036038101906101e99190612ab7565b61059c565b6040516101fb9190612fe6565b60405180910390f35b61020c6105ae565b604051610219919061301c565b60405180910390f35b61023c60048036038101906102379190612b4e565b610640565b6040516102499190612f7f565b60405180910390f35b61026c60048036038101906102679190612a16565b6106c5565b005b61028860048036038101906102839190612a16565b6107dd565b005b6102926108f5565b60405161029f919061327e565b60405180910390f35b6102c260048036038101906102bd9190612910565b61090d565b005b6102de60048036038101906102d99190612a52565b61096d565b6040516102eb9190613001565b60405180910390f35b61030e60048036038101906103099190612a7b565b61098d565b005b61032a600480360381019061032591906128ab565b6109b6565b005b61034660048036038101906103419190612a7b565b610a5f565b005b610362600480360381019061035d9190612910565b610ae2565b005b61037e60048036038101906103799190612b09565b610b02565b005b61039a60048036038101906103959190612b4e565b610b94565b6040516103a79190612f7f565b60405180910390f35b6103ca60048036038101906103c591906128ab565b610c46565b6040516103d79190613299565b60405180910390f35b6103e8610cfe565b005b6103f2610d86565b6040516103ff9190612f7f565b60405180910390f35b610422600480360381019061041d9190612a7b565b610db0565b60405161042f9190612fe6565b60405180910390f35b610440610e1b565b60405161044d919061301c565b60405180910390f35b610470600480360381019061046b91906128ab565b610ead565b005b61047a610f56565b6040516104879190613001565b60405180910390f35b6104aa60048036038101906104a591906129da565b610f5d565b005b6104c660048036038101906104c1919061295f565b610f73565b005b6104e260048036038101906104dd9190612b4e565b610fd5565b6040516104ef919061301c565b60405180910390f35b610500611074565b60405161050d9190613001565b60405180910390f35b610530600480360381019061052b9190612a7b565b611098565b005b61053a6110c1565b604051610547919061327e565b60405180910390f35b61056a600480360381019061056591906128d4565b6110d5565b6040516105779190612fe6565b60405180910390f35b61059a600480360381019061059591906128ab565b611169565b005b60006105a782611261565b9050919050565b6060600080546105bd9061355a565b80601f01602080910402602001604051908101604052809291908181526020018280546105e99061355a565b80156106365780601f1061060b57610100808354040283529160200191610636565b820191906000526020600020905b81548152906001019060200180831161061957829003601f168201915b5050505050905090565b600061064b826112db565b61068a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610681906131de565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006106d082610b94565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610741576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107389061321e565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610760611347565b73ffffffffffffffffffffffffffffffffffffffff16148061078f575061078e81610789611347565b6110d5565b5b6107ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107c59061313e565b60405180910390fd5b6107d8838361134f565b505050565b6108077f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a633610db0565b610846576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161083d9061315e565b60405180910390fd5b600860009054906101000a900461ffff1661ffff16600860029054906101000a900461ffff1661ffff16116108bf5761087f8282611408565b6008600281819054906101000a900461ffff168092919061089f906135bd565b91906101000a81548161ffff021916908361ffff160217905550506108f1565b6040517ff0e1b57900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5050565b6000600860009054906101000a900461ffff16905090565b61091e610918611347565b82611426565b61095d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109549061323e565b60405180910390fd5b610968838383611504565b505050565b600060076000838152602001908152602001600020600101549050919050565b6109968261096d565b6109a7816109a2611347565b61176b565b6109b18383611808565b505050565b6109be611347565b73ffffffffffffffffffffffffffffffffffffffff166109dc610d86565b73ffffffffffffffffffffffffffffffffffffffff1614610a32576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a29906131fe565b60405180910390fd5b610a5c7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6826118e9565b50565b610a67611347565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610ad4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610acb9061325e565b60405180910390fd5b610ade82826118e9565b5050565b610afd83838360405180602001604052806000815250610f73565b505050565b610b0a611347565b73ffffffffffffffffffffffffffffffffffffffff16610b28610d86565b73ffffffffffffffffffffffffffffffffffffffff1614610b7e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b75906131fe565b60405180910390fd5b818160099190610b8f9291906126d8565b505050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610c3d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c349061319e565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610cb7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cae9061317e565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610d06611347565b73ffffffffffffffffffffffffffffffffffffffff16610d24610d86565b73ffffffffffffffffffffffffffffffffffffffff1614610d7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d71906131fe565b60405180910390fd5b610d8460006119cb565b565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60006007600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b606060018054610e2a9061355a565b80601f0160208091040260200160405190810160405280929190818152602001828054610e569061355a565b8015610ea35780601f10610e7857610100808354040283529160200191610ea3565b820191906000526020600020905b815481529060010190602001808311610e8657829003601f168201915b5050505050905090565b610eb5611347565b73ffffffffffffffffffffffffffffffffffffffff16610ed3610d86565b73ffffffffffffffffffffffffffffffffffffffff1614610f29576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f20906131fe565b60405180910390fd5b610f537f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a682611808565b50565b6000801b81565b610f6f610f68611347565b8383611a91565b5050565b610f84610f7e611347565b83611426565b610fc3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fba9061323e565b60405180910390fd5b610fcf84848484611bfe565b50505050565b6060610fe0826112db565b611016576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000611020611c5a565b9050600081511415611041576040518060200160405280600081525061106c565b8061104b84611cec565b60405160200161105c929190612f21565b6040516020818303038152906040525b915050919050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b6110a18261096d565b6110b2816110ad611347565b61176b565b6110bc83836118e9565b505050565b600860009054906101000a900461ffff1681565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611171611347565b73ffffffffffffffffffffffffffffffffffffffff1661118f610d86565b73ffffffffffffffffffffffffffffffffffffffff16146111e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111dc906131fe565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611255576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161124c9061307e565b60405180910390fd5b61125e816119cb565b50565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806112d457506112d382611e99565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166113c283610b94565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b611422828260405180602001604052806000815250611f7b565b5050565b6000611431826112db565b611470576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114679061311e565b60405180910390fd5b600061147b83610b94565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806114ea57508373ffffffffffffffffffffffffffffffffffffffff166114d284610640565b73ffffffffffffffffffffffffffffffffffffffff16145b806114fb57506114fa81856110d5565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661152482610b94565b73ffffffffffffffffffffffffffffffffffffffff161461157a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115719061309e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156115ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115e1906130de565b60405180910390fd5b6115f5838383611fd6565b61160060008261134f565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611650919061342e565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546116a7919061334d565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611766838383611fdb565b505050565b6117758282610db0565b6118045761179a8173ffffffffffffffffffffffffffffffffffffffff166014611fe0565b6117a88360001c6020611fe0565b6040516020016117b9929190612f45565b6040516020818303038152906040526040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117fb919061301c565b60405180910390fd5b5050565b6118128282610db0565b6118e55760016007600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555061188a611347565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b6118f38282610db0565b156119c75760006007600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555061196c611347565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611b00576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611af7906130fe565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611bf19190612fe6565b60405180910390a3505050565b611c09848484611504565b611c15848484846122da565b611c54576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c4b9061305e565b60405180910390fd5b50505050565b606060098054611c699061355a565b80601f0160208091040260200160405190810160405280929190818152602001828054611c959061355a565b8015611ce25780601f10611cb757610100808354040283529160200191611ce2565b820191906000526020600020905b815481529060010190602001808311611cc557829003601f168201915b5050505050905090565b60606000821415611d34576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050611e94565b600082905060005b60008214611d66578080611d4f906135e8565b915050600a82611d5f91906133a3565b9150611d3c565b60008167ffffffffffffffff811115611da8577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611dda5781602001600182028036833780820191505090505b5090505b60008514611e8d57600182611df3919061342e565b9150600a85611e029190613631565b6030611e0e919061334d565b60f81b818381518110611e4a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85611e8691906133a3565b9450611dde565b8093505050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611f6457507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611f745750611f7382612471565b5b9050919050565b611f8583836124db565b611f9260008484846122da565b611fd1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fc89061305e565b60405180910390fd5b505050565b505050565b505050565b606060006002836002611ff391906133d4565b611ffd919061334d565b67ffffffffffffffff81111561203c577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561206e5781602001600182028036833780820191505090505b5090507f3000000000000000000000000000000000000000000000000000000000000000816000815181106120cc577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f780000000000000000000000000000000000000000000000000000000000000081600181518110612156577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506000600184600261219691906133d4565b6121a0919061334d565b90505b600181111561228c577f3031323334353637383961626364656600000000000000000000000000000000600f861660108110612208577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b1a60f81b828281518110612245577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c94508061228590613530565b90506121a3565b50600084146122d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122c79061303e565b60405180910390fd5b8091505092915050565b60006122fb8473ffffffffffffffffffffffffffffffffffffffff166126b5565b15612464578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612324611347565b8786866040518563ffffffff1660e01b81526004016123469493929190612f9a565b602060405180830381600087803b15801561236057600080fd5b505af192505050801561239157506040513d601f19601f8201168201806040525081019061238e9190612ae0565b60015b612414573d80600081146123c1576040519150601f19603f3d011682016040523d82523d6000602084013e6123c6565b606091505b5060008151141561240c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124039061305e565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612469565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561254b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612542906131be565b60405180910390fd5b612554816112db565b15612594576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161258b906130be565b60405180910390fd5b6125a060008383611fd6565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546125f0919061334d565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46126b160008383611fdb565b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b8280546126e49061355a565b90600052602060002090601f016020900481019282612706576000855561274d565b82601f1061271f57803560ff191683800117855561274d565b8280016001018555821561274d579182015b8281111561274c578235825591602001919060010190612731565b5b50905061275a919061275e565b5090565b5b8082111561277757600081600090555060010161275f565b5090565b600061278e612789846132d9565b6132b4565b9050828152602081018484840111156127a657600080fd5b6127b18482856134ee565b509392505050565b6000813590506127c881613c2b565b92915050565b6000813590506127dd81613c42565b92915050565b6000813590506127f281613c59565b92915050565b60008135905061280781613c70565b92915050565b60008151905061281c81613c70565b92915050565b600082601f83011261283357600080fd5b813561284384826020860161277b565b91505092915050565b60008083601f84011261285e57600080fd5b8235905067ffffffffffffffff81111561287757600080fd5b60208301915083600182028301111561288f57600080fd5b9250929050565b6000813590506128a581613c87565b92915050565b6000602082840312156128bd57600080fd5b60006128cb848285016127b9565b91505092915050565b600080604083850312156128e757600080fd5b60006128f5858286016127b9565b9250506020612906858286016127b9565b9150509250929050565b60008060006060848603121561292557600080fd5b6000612933868287016127b9565b9350506020612944868287016127b9565b925050604061295586828701612896565b9150509250925092565b6000806000806080858703121561297557600080fd5b6000612983878288016127b9565b9450506020612994878288016127b9565b93505060406129a587828801612896565b925050606085013567ffffffffffffffff8111156129c257600080fd5b6129ce87828801612822565b91505092959194509250565b600080604083850312156129ed57600080fd5b60006129fb858286016127b9565b9250506020612a0c858286016127ce565b9150509250929050565b60008060408385031215612a2957600080fd5b6000612a37858286016127b9565b9250506020612a4885828601612896565b9150509250929050565b600060208284031215612a6457600080fd5b6000612a72848285016127e3565b91505092915050565b60008060408385031215612a8e57600080fd5b6000612a9c858286016127e3565b9250506020612aad858286016127b9565b9150509250929050565b600060208284031215612ac957600080fd5b6000612ad7848285016127f8565b91505092915050565b600060208284031215612af257600080fd5b6000612b008482850161280d565b91505092915050565b60008060208385031215612b1c57600080fd5b600083013567ffffffffffffffff811115612b3657600080fd5b612b428582860161284c565b92509250509250929050565b600060208284031215612b6057600080fd5b6000612b6e84828501612896565b91505092915050565b612b8081613462565b82525050565b612b8f81613474565b82525050565b612b9e81613480565b82525050565b6000612baf8261330a565b612bb98185613320565b9350612bc98185602086016134fd565b612bd28161371e565b840191505092915050565b6000612be882613315565b612bf28185613331565b9350612c028185602086016134fd565b612c0b8161371e565b840191505092915050565b6000612c2182613315565b612c2b8185613342565b9350612c3b8185602086016134fd565b80840191505092915050565b6000612c54602083613331565b9150612c5f8261372f565b602082019050919050565b6000612c77603283613331565b9150612c8282613758565b604082019050919050565b6000612c9a602683613331565b9150612ca5826137a7565b604082019050919050565b6000612cbd602583613331565b9150612cc8826137f6565b604082019050919050565b6000612ce0601c83613331565b9150612ceb82613845565b602082019050919050565b6000612d03602483613331565b9150612d0e8261386e565b604082019050919050565b6000612d26601983613331565b9150612d31826138bd565b602082019050919050565b6000612d49602c83613331565b9150612d54826138e6565b604082019050919050565b6000612d6c603883613331565b9150612d7782613935565b604082019050919050565b6000612d8f601683613331565b9150612d9a82613984565b602082019050919050565b6000612db2602a83613331565b9150612dbd826139ad565b604082019050919050565b6000612dd5602983613331565b9150612de0826139fc565b604082019050919050565b6000612df8602083613331565b9150612e0382613a4b565b602082019050919050565b6000612e1b602c83613331565b9150612e2682613a74565b604082019050919050565b6000612e3e602083613331565b9150612e4982613ac3565b602082019050919050565b6000612e61602183613331565b9150612e6c82613aec565b604082019050919050565b6000612e84603183613331565b9150612e8f82613b3b565b604082019050919050565b6000612ea7601783613342565b9150612eb282613b8a565b601782019050919050565b6000612eca601183613342565b9150612ed582613bb3565b601182019050919050565b6000612eed602f83613331565b9150612ef882613bdc565b604082019050919050565b612f0c816134b6565b82525050565b612f1b816134e4565b82525050565b6000612f2d8285612c16565b9150612f398284612c16565b91508190509392505050565b6000612f5082612e9a565b9150612f5c8285612c16565b9150612f6782612ebd565b9150612f738284612c16565b91508190509392505050565b6000602082019050612f946000830184612b77565b92915050565b6000608082019050612faf6000830187612b77565b612fbc6020830186612b77565b612fc96040830185612f12565b8181036060830152612fdb8184612ba4565b905095945050505050565b6000602082019050612ffb6000830184612b86565b92915050565b60006020820190506130166000830184612b95565b92915050565b600060208201905081810360008301526130368184612bdd565b905092915050565b6000602082019050818103600083015261305781612c47565b9050919050565b6000602082019050818103600083015261307781612c6a565b9050919050565b6000602082019050818103600083015261309781612c8d565b9050919050565b600060208201905081810360008301526130b781612cb0565b9050919050565b600060208201905081810360008301526130d781612cd3565b9050919050565b600060208201905081810360008301526130f781612cf6565b9050919050565b6000602082019050818103600083015261311781612d19565b9050919050565b6000602082019050818103600083015261313781612d3c565b9050919050565b6000602082019050818103600083015261315781612d5f565b9050919050565b6000602082019050818103600083015261317781612d82565b9050919050565b6000602082019050818103600083015261319781612da5565b9050919050565b600060208201905081810360008301526131b781612dc8565b9050919050565b600060208201905081810360008301526131d781612deb565b9050919050565b600060208201905081810360008301526131f781612e0e565b9050919050565b6000602082019050818103600083015261321781612e31565b9050919050565b6000602082019050818103600083015261323781612e54565b9050919050565b6000602082019050818103600083015261325781612e77565b9050919050565b6000602082019050818103600083015261327781612ee0565b9050919050565b60006020820190506132936000830184612f03565b92915050565b60006020820190506132ae6000830184612f12565b92915050565b60006132be6132cf565b90506132ca828261358c565b919050565b6000604051905090565b600067ffffffffffffffff8211156132f4576132f36136ef565b5b6132fd8261371e565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000613358826134e4565b9150613363836134e4565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561339857613397613662565b5b828201905092915050565b60006133ae826134e4565b91506133b9836134e4565b9250826133c9576133c8613691565b5b828204905092915050565b60006133df826134e4565b91506133ea836134e4565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561342357613422613662565b5b828202905092915050565b6000613439826134e4565b9150613444836134e4565b92508282101561345757613456613662565b5b828203905092915050565b600061346d826134c4565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600061ffff82169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b8381101561351b578082015181840152602081019050613500565b8381111561352a576000848401525b50505050565b600061353b826134e4565b9150600082141561354f5761354e613662565b5b600182039050919050565b6000600282049050600182168061357257607f821691505b60208210811415613586576135856136c0565b5b50919050565b6135958261371e565b810181811067ffffffffffffffff821117156135b4576135b36136ef565b5b80604052505050565b60006135c8826134b6565b915061ffff8214156135dd576135dc613662565b5b600182019050919050565b60006135f3826134e4565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561362657613625613662565b5b600182019050919050565b600061363c826134e4565b9150613647836134e4565b92508261365757613656613691565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f43616c6c6572206973206e6f742061206d696e74657200000000000000000000600082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b613c3481613462565b8114613c3f57600080fd5b50565b613c4b81613474565b8114613c5657600080fd5b50565b613c6281613480565b8114613c6d57600080fd5b50565b613c798161348a565b8114613c8457600080fd5b50565b613c90816134e4565b8114613c9b57600080fd5b5056fea2646970667358221220c786fcf88e462906cb9730db45088a1adbb4048d88c76bf9426f46849b309dd064736f6c63430008040033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000457000000000000000000000000f0b93b8b528fe679aa54eff6264b420b9209f2aa0000000000000000000000000000000000000000000000000000000000000006455a2e4b455900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005455a4b45590000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d577267363247796457544a6265636952545a464a4567434c53626f4e6d72585a44316f5472454352506d70432f00000000000000000000
-----Decoded View---------------
Arg [0] : name (string): EZ.KEY
Arg [1] : symbol (string): EZKEY
Arg [2] : baseUri_ (string): ipfs://QmWrg62GydWTJbeciRTZFJEgCLSboNmrXZD1oTrECRPmpC/
Arg [3] : maxSupply_ (uint16): 1111
Arg [4] : minter (address): 0xf0B93b8B528fe679aa54EFF6264B420B9209F2aa
-----Encoded View---------------
12 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000120
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000457
Arg [4] : 000000000000000000000000f0b93b8b528fe679aa54eff6264b420b9209f2aa
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000006
Arg [6] : 455a2e4b45590000000000000000000000000000000000000000000000000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [8] : 455a4b4559000000000000000000000000000000000000000000000000000000
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [10] : 697066733a2f2f516d577267363247796457544a6265636952545a464a456743
Arg [11] : 4c53626f4e6d72585a44316f5472454352506d70432f00000000000000000000
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.