Address Details
contract
token
0xb456e1E8679adc25fF061a5A939a5afC19986841
- Token
- Pixel (Pixel NFT)
- Creator
- 0x85b4e4–597364 at 0xc2c839–2147d4
- Balance
- 0.4 CELO ( )
- Locked CELO Balance
- 0.00 CELO
- Voting CELO Balance
- 0.00 CELO
- Pending Unlocked Gold
- 0.00 CELO
- Tokens
-
Fetching tokens...
- Transactions
- Fetching transactions...
- Transfers
- Fetching transfers...
- Gas Used
- Fetching gas used...
- Last Balance Update
- 11540484
Transactions
Token Transfers
Tokens
Internal Transactions
Coin Balance History
Logs
Code
Read Contract
Write Contract
This contract has been verified via Sourcify.
View contract in Sourcify repository
- Contract name:
- Pixel
- Optimization enabled
- false
- Compiler version
- v0.8.4+commit.c7e474f2
- EVM Version
- istanbul
- Verified at
- 2022-05-18T10:37:46.125485Z
contracts/Pixel.sol
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol"; import "@openzeppelin/contracts/security/Pausable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; contract Pixel is ERC721, ERC721URIStorage, ERC721Enumerable, Pausable, Ownable { using Counters for Counters.Counter; using SafeERC20 for IERC20; Counters.Counter public _tokenIdCounter; mapping(uint256 => string) public nftData; uint256 public price = 5 ether; uint256 constant public MAX_MINT = 5000; string public baseURI; constructor() ERC721("Pixel", "Pixel NFT") { _tokenIdCounter.increment(); } function setPrice(uint256 newPrice) public onlyOwner { price = newPrice; } function pause() public onlyOwner { _pause(); } function unpause() public onlyOwner { _unpause(); } function _baseURI() internal view override returns (string memory) { return baseURI; } function setBaseURI(string memory _uri) public onlyOwner { baseURI = _uri; } function getCurrentCounter() public view returns (uint256) { return _tokenIdCounter.current(); } function getOwnerNFTData( address _owner, uint256 _offset, uint256 _limit ) public view returns (string[] memory) { uint256 balance = balanceOf(_owner); string[] memory res = new string[](_limit); uint256 counter = 0; for (uint256 i = _offset; i < _offset + _limit; i++) { if (i >= balance) return res; uint256 id = tokenOfOwnerByIndex(_owner, i); res[counter++] = nftData[id]; } return res; } function getNFTData( uint256 _offset, uint256 _limit ) public view returns (string[] memory) { uint256 balance = _tokenIdCounter.current(); string[] memory res = new string[](_limit); uint256 counter = 0; for (uint256 id = _offset; id < _offset + _limit; id++) { if (id >= balance) return res; res[counter++] = nftData[id]; } return res; } function setTokensUri(uint256[] memory _ids, string[] memory _tokensURI) public onlyOwner { require(_ids.length > 0, "ID arrays not empty"); require(_ids.length == _tokensURI.length, "Length of ID and Data arrays is not equal!"); for (uint256 i = 0; i < _ids.length; i++) { _setTokenURI(_ids[i], _tokensURI[i]); } } function safeMint(string memory data) public payable whenNotPaused { uint256 tokenId = _tokenIdCounter.current(); require(tokenId <= MAX_MINT, "No tokens left to be minted!"); require(msg.sender == owner() || price == msg.value, "Price not same!"); _tokenIdCounter.increment(); _safeMint(msg.sender, tokenId); nftData[tokenId] = data; } function withdraw() public virtual onlyOwner { uint256 amount = address(this).balance; payable(msg.sender).transfer(amount); } function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal whenNotPaused override(ERC721, ERC721Enumerable) { super._beforeTokenTransfer(from, to, tokenId); } function _burn(uint256 tokenId) internal override(ERC721, ERC721URIStorage) { super._burn(tokenId); } function tokenURI(uint256 tokenId) public view override(ERC721, ERC721URIStorage) returns (string memory) { return super.tokenURI(tokenId); } // The following functions are overrides required by Solidity. function supportsInterface(bytes4 interfaceId) public view override(ERC721, ERC721Enumerable) returns (bool) { return super.supportsInterface(interfaceId); } event Received(address, uint); receive() external payable { emit Received(msg.sender, msg.value); } }
/_openzeppelin/contracts/access/Ownable.sol
// SPDX-License-Identifier: MIT 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() { _setOwner(_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 { _setOwner(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"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
/_openzeppelin/contracts/security/Pausable.sol
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ abstract contract Pausable is Context { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ constructor() { _paused = false; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { require(!paused(), "Pausable: paused"); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { require(paused(), "Pausable: not paused"); _; } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } }
/_openzeppelin/contracts/token/ERC20/IERC20.sol
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address sender, address recipient, uint256 amount ) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); }
/_openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC20.sol"; import "../../../utils/Address.sol"; /** * @title SafeERC20 * @dev Wrappers around ERC20 operations that throw on failure (when the token * contract returns false). Tokens that return no value (and instead revert or * throw on failure) are also supported, non-reverting calls are assumed to be * successful. * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract, * which allows you to call the safe operations as `token.safeTransfer(...)`, etc. */ library SafeERC20 { using Address for address; function safeTransfer( IERC20 token, address to, uint256 value ) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); } function safeTransferFrom( IERC20 token, address from, address to, uint256 value ) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value)); } /** * @dev Deprecated. This function has issues similar to the ones found in * {IERC20-approve}, and its usage is discouraged. * * Whenever possible, use {safeIncreaseAllowance} and * {safeDecreaseAllowance} instead. */ function safeApprove( IERC20 token, address spender, uint256 value ) internal { // safeApprove should only be called when setting an initial allowance, // or when resetting it to zero. To increase and decrease it, use // 'safeIncreaseAllowance' and 'safeDecreaseAllowance' require( (value == 0) || (token.allowance(address(this), spender) == 0), "SafeERC20: approve from non-zero to non-zero allowance" ); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value)); } function safeIncreaseAllowance( IERC20 token, address spender, uint256 value ) internal { uint256 newAllowance = token.allowance(address(this), spender) + value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } function safeDecreaseAllowance( IERC20 token, address spender, uint256 value ) internal { unchecked { uint256 oldAllowance = token.allowance(address(this), spender); require(oldAllowance >= value, "SafeERC20: decreased allowance below zero"); uint256 newAllowance = oldAllowance - value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). */ function _callOptionalReturn(IERC20 token, bytes memory data) private { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that // the target address contains contract code and also asserts for success in the low-level call. bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed"); if (returndata.length > 0) { // Return data is optional require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } } }
/_openzeppelin/contracts/token/ERC721/ERC721.sol
// SPDX-License-Identifier: MIT 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 { require(operator != _msgSender(), "ERC721: approve to caller"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev 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 {} }
/_openzeppelin/contracts/token/ERC721/IERC721.sol
// SPDX-License-Identifier: MIT 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; }
/_openzeppelin/contracts/token/ERC721/IERC721Receiver.sol
// SPDX-License-Identifier: MIT 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); }
/_openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../ERC721.sol"; import "./IERC721Enumerable.sol"; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` cannot be the zero address. * - `to` cannot be the zero address. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual override { super._beforeTokenTransfer(from, to, tokenId); if (from == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = ERC721.balanceOf(from) - 1; uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array delete _ownedTokensIndex[tokenId]; delete _ownedTokens[from][lastTokenIndex]; } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length - 1; uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array delete _allTokensIndex[tokenId]; _allTokens.pop(); } }
/_openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../ERC721.sol"; /** * @dev ERC721 token with storage based token URI management. */ abstract contract ERC721URIStorage is ERC721 { using Strings for uint256; // Optional mapping for token URIs mapping(uint256 => string) private _tokenURIs; /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721URIStorage: URI query for nonexistent token"); string memory _tokenURI = _tokenURIs[tokenId]; string memory base = _baseURI(); // If there is no base URI, return the token URI. if (bytes(base).length == 0) { return _tokenURI; } // If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked). if (bytes(_tokenURI).length > 0) { return string(abi.encodePacked(base, _tokenURI)); } return super.tokenURI(tokenId); } /** * @dev Sets `_tokenURI` as the tokenURI of `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual { require(_exists(tokenId), "ERC721URIStorage: URI set of nonexistent token"); _tokenURIs[tokenId] = _tokenURI; } /** * @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 override { super._burn(tokenId); if (bytes(_tokenURIs[tokenId]).length != 0) { delete _tokenURIs[tokenId]; } } }
/_openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
/_openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol
// SPDX-License-Identifier: MIT 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); }
/_openzeppelin/contracts/utils/Address.sol
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
/_openzeppelin/contracts/utils/Context.sol
// SPDX-License-Identifier: MIT 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; } }
/_openzeppelin/contracts/utils/Counters.sol
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` */ library Counters { struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; require(value > 0, "Counter: decrement overflow"); unchecked { counter._value = value - 1; } } function reset(Counter storage counter) internal { counter._value = 0; } }
/_openzeppelin/contracts/utils/Strings.sol
// SPDX-License-Identifier: MIT 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); } }
/_openzeppelin/contracts/utils/introspection/ERC165.sol
// SPDX-License-Identifier: MIT 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; } }
/_openzeppelin/contracts/utils/introspection/IERC165.sol
// SPDX-License-Identifier: MIT 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); }
Contract ABI
[{"type":"constructor","stateMutability":"nonpayable","inputs":[]},{"type":"event","name":"Approval","inputs":[{"type":"address","name":"owner","internalType":"address","indexed":true},{"type":"address","name":"approved","internalType":"address","indexed":true},{"type":"uint256","name":"tokenId","internalType":"uint256","indexed":true}],"anonymous":false},{"type":"event","name":"ApprovalForAll","inputs":[{"type":"address","name":"owner","internalType":"address","indexed":true},{"type":"address","name":"operator","internalType":"address","indexed":true},{"type":"bool","name":"approved","internalType":"bool","indexed":false}],"anonymous":false},{"type":"event","name":"OwnershipTransferred","inputs":[{"type":"address","name":"previousOwner","internalType":"address","indexed":true},{"type":"address","name":"newOwner","internalType":"address","indexed":true}],"anonymous":false},{"type":"event","name":"Paused","inputs":[{"type":"address","name":"account","internalType":"address","indexed":false}],"anonymous":false},{"type":"event","name":"Received","inputs":[{"type":"address","name":"","internalType":"address","indexed":false},{"type":"uint256","name":"","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"Transfer","inputs":[{"type":"address","name":"from","internalType":"address","indexed":true},{"type":"address","name":"to","internalType":"address","indexed":true},{"type":"uint256","name":"tokenId","internalType":"uint256","indexed":true}],"anonymous":false},{"type":"event","name":"Unpaused","inputs":[{"type":"address","name":"account","internalType":"address","indexed":false}],"anonymous":false},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"MAX_MINT","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"_value","internalType":"uint256"}],"name":"_tokenIdCounter","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"approve","inputs":[{"type":"address","name":"to","internalType":"address"},{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"balanceOf","inputs":[{"type":"address","name":"owner","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"baseURI","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"getApproved","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"getCurrentCounter","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"string[]","name":"","internalType":"string[]"}],"name":"getNFTData","inputs":[{"type":"uint256","name":"_offset","internalType":"uint256"},{"type":"uint256","name":"_limit","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"string[]","name":"","internalType":"string[]"}],"name":"getOwnerNFTData","inputs":[{"type":"address","name":"_owner","internalType":"address"},{"type":"uint256","name":"_offset","internalType":"uint256"},{"type":"uint256","name":"_limit","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"isApprovedForAll","inputs":[{"type":"address","name":"owner","internalType":"address"},{"type":"address","name":"operator","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"name","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"nftData","inputs":[{"type":"uint256","name":"","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"owner","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"ownerOf","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"pause","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"paused","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"price","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"renounceOwnership","inputs":[]},{"type":"function","stateMutability":"payable","outputs":[],"name":"safeMint","inputs":[{"type":"string","name":"data","internalType":"string"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"safeTransferFrom","inputs":[{"type":"address","name":"from","internalType":"address"},{"type":"address","name":"to","internalType":"address"},{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"safeTransferFrom","inputs":[{"type":"address","name":"from","internalType":"address"},{"type":"address","name":"to","internalType":"address"},{"type":"uint256","name":"tokenId","internalType":"uint256"},{"type":"bytes","name":"_data","internalType":"bytes"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setApprovalForAll","inputs":[{"type":"address","name":"operator","internalType":"address"},{"type":"bool","name":"approved","internalType":"bool"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setBaseURI","inputs":[{"type":"string","name":"_uri","internalType":"string"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setPrice","inputs":[{"type":"uint256","name":"newPrice","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setTokensUri","inputs":[{"type":"uint256[]","name":"_ids","internalType":"uint256[]"},{"type":"string[]","name":"_tokensURI","internalType":"string[]"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"supportsInterface","inputs":[{"type":"bytes4","name":"interfaceId","internalType":"bytes4"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"symbol","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"tokenByIndex","inputs":[{"type":"uint256","name":"index","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"tokenOfOwnerByIndex","inputs":[{"type":"address","name":"owner","internalType":"address"},{"type":"uint256","name":"index","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"tokenURI","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"totalSupply","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"transferFrom","inputs":[{"type":"address","name":"from","internalType":"address"},{"type":"address","name":"to","internalType":"address"},{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"transferOwnership","inputs":[{"type":"address","name":"newOwner","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"unpause","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"withdraw","inputs":[]},{"type":"receive","stateMutability":"payable"}]
Contract Creation Code
0x6080604052674563918244f40000600e553480156200001d57600080fd5b506040518060400160405280600581526020017f506978656c0000000000000000000000000000000000000000000000000000008152506040518060400160405280600981526020017f506978656c204e465400000000000000000000000000000000000000000000008152508160009080519060200190620000a2929190620001fa565b508060019080519060200190620000bb929190620001fa565b5050506000600b60006101000a81548160ff021916908315150217905550620000f9620000ed6200011660201b60201c565b6200011e60201b60201c565b62000110600c620001e460201b62001dbe1760201c565b6200030f565b600033905090565b6000600b60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600b60016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6001816000016000828254019250508190555050565b8280546200020890620002aa565b90600052602060002090601f0160209004810192826200022c576000855562000278565b82601f106200024757805160ff191683800117855562000278565b8280016001018555821562000278579182015b82811115620002775782518255916020019190600101906200025a565b5b5090506200028791906200028b565b5090565b5b80821115620002a65760008160009055506001016200028c565b5090565b60006002820490506001821680620002c357607f821691505b60208210811415620002da57620002d9620002e0565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b614fcf806200031f6000396000f3fe6080604052600436106102085760003560e01c8063695850fb1161011857806391b7f5ed116100a0578063b88d4fde1161006f578063b88d4fde1461078c578063c87b56dd146107b5578063e985e9c5146107f2578063f0292a031461082f578063f2fde38b1461085a57610248565b806391b7f5ed146106e457806395d89b411461070d578063a035b1fe14610738578063a22cb4651461076357610248565b806373448c46116100e757806373448c461461060f5780638456cb591461063a57806384c4bd4b146106515780638c2109751461067c5780638da5cb5b146106b957610248565b8063695850fb146105745780636c0360eb1461059057806370a08231146105bb578063715018a6146105f857610248565b80633f4ba83a1161019b5780634f6ccce71161016a5780634f6ccce71461046957806355f804b3146104a65780635c975abb146104cf5780636352211e146104fa578063674ebacf1461053757610248565b80633f4ba83a146103c357806342842e0e146103da5780634501fd28146104035780634d8d8a2e1461044057610248565b806318160ddd116101d757806318160ddd1461031b57806323b872dd146103465780632f745c591461036f5780633ccfd60b146103ac57610248565b806301ffc9a71461024d57806306fdde031461028a578063081812fc146102b5578063095ea7b3146102f257610248565b36610248577f88a5966d370b9919b20f3e2c13ff65706f196a4e32cc2c12bf57088f88525874333460405161023e929190614023565b60405180910390a1005b600080fd5b34801561025957600080fd5b50610274600480360381019061026f9190613980565b610883565b604051610281919061406e565b60405180910390f35b34801561029657600080fd5b5061029f610895565b6040516102ac9190614089565b60405180910390f35b3480156102c157600080fd5b506102dc60048036038101906102d79190613a13565b610927565b6040516102e99190613fbc565b60405180910390f35b3480156102fe57600080fd5b5061031960048036038101906103149190613889565b6109ac565b005b34801561032757600080fd5b50610330610ac4565b60405161033d91906143eb565b60405180910390f35b34801561035257600080fd5b5061036d60048036038101906103689190613783565b610ad1565b005b34801561037b57600080fd5b5061039660048036038101906103919190613889565b610b31565b6040516103a391906143eb565b60405180910390f35b3480156103b857600080fd5b506103c1610bd6565b005b3480156103cf57600080fd5b506103d8610ca1565b005b3480156103e657600080fd5b5061040160048036038101906103fc9190613783565b610d27565b005b34801561040f57600080fd5b5061042a60048036038101906104259190613a3c565b610d47565b604051610437919061404c565b60405180910390f35b34801561044c57600080fd5b5061046760048036038101906104629190613914565b610f09565b005b34801561047557600080fd5b50610490600480360381019061048b9190613a13565b6110bb565b60405161049d91906143eb565b60405180910390f35b3480156104b257600080fd5b506104cd60048036038101906104c891906139d2565b611152565b005b3480156104db57600080fd5b506104e46111e8565b6040516104f1919061406e565b60405180910390f35b34801561050657600080fd5b50610521600480360381019061051c9190613a13565b6111ff565b60405161052e9190613fbc565b60405180910390f35b34801561054357600080fd5b5061055e600480360381019061055991906138c5565b6112b1565b60405161056b919061404c565b60405180910390f35b61058e600480360381019061058991906139d2565b611482565b005b34801561059c57600080fd5b506105a56115de565b6040516105b29190614089565b60405180910390f35b3480156105c757600080fd5b506105e260048036038101906105dd919061371e565b61166c565b6040516105ef91906143eb565b60405180910390f35b34801561060457600080fd5b5061060d611724565b005b34801561061b57600080fd5b506106246117ac565b60405161063191906143eb565b60405180910390f35b34801561064657600080fd5b5061064f6117bd565b005b34801561065d57600080fd5b50610666611843565b60405161067391906143eb565b60405180910390f35b34801561068857600080fd5b506106a3600480360381019061069e9190613a13565b61184f565b6040516106b09190614089565b60405180910390f35b3480156106c557600080fd5b506106ce6118ef565b6040516106db9190613fbc565b60405180910390f35b3480156106f057600080fd5b5061070b60048036038101906107069190613a13565b611919565b005b34801561071957600080fd5b5061072261199f565b60405161072f9190614089565b60405180910390f35b34801561074457600080fd5b5061074d611a31565b60405161075a91906143eb565b60405180910390f35b34801561076f57600080fd5b5061078a6004803603810190610785919061384d565b611a37565b005b34801561079857600080fd5b506107b360048036038101906107ae91906137d2565b611bb8565b005b3480156107c157600080fd5b506107dc60048036038101906107d79190613a13565b611c1a565b6040516107e99190614089565b60405180910390f35b3480156107fe57600080fd5b5061081960048036038101906108149190613747565b611c2c565b604051610826919061406e565b60405180910390f35b34801561083b57600080fd5b50610844611cc0565b60405161085191906143eb565b60405180910390f35b34801561086657600080fd5b50610881600480360381019061087c919061371e565b611cc6565b005b600061088e82611dd4565b9050919050565b6060600080546108a4906146e3565b80601f01602080910402602001604051908101604052809291908181526020018280546108d0906146e3565b801561091d5780601f106108f25761010080835404028352916020019161091d565b820191906000526020600020905b81548152906001019060200180831161090057829003601f168201915b5050505050905090565b600061093282611e4e565b610971576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610968906142eb565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006109b7826111ff565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610a28576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a1f9061436b565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610a47611eba565b73ffffffffffffffffffffffffffffffffffffffff161480610a765750610a7581610a70611eba565b611c2c565b5b610ab5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aac9061420b565b60405180910390fd5b610abf8383611ec2565b505050565b6000600980549050905090565b610ae2610adc611eba565b82611f7b565b610b21576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b189061438b565b60405180910390fd5b610b2c838383612059565b505050565b6000610b3c8361166c565b8210610b7d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b74906140cb565b60405180910390fd5b600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610bde611eba565b73ffffffffffffffffffffffffffffffffffffffff16610bfc6118ef565b73ffffffffffffffffffffffffffffffffffffffff1614610c52576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c499061430b565b60405180910390fd5b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610c9d573d6000803e3d6000fd5b5050565b610ca9611eba565b73ffffffffffffffffffffffffffffffffffffffff16610cc76118ef565b73ffffffffffffffffffffffffffffffffffffffff1614610d1d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d149061430b565b60405180910390fd5b610d256122b5565b565b610d4283838360405180602001604052806000815250611bb8565b505050565b60606000610d55600c612357565b905060008367ffffffffffffffff811115610d99577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015610dcc57816020015b6060815260200190600190039081610db75790505b5090506000808690505b8587610de29190614572565b811015610efb57838110610dfc5782945050505050610f03565b600d60008281526020019081526020016000208054610e1a906146e3565b80601f0160208091040260200160405190810160405280929190818152602001828054610e46906146e3565b8015610e935780601f10610e6857610100808354040283529160200191610e93565b820191906000526020600020905b815481529060010190602001808311610e7657829003601f168201915b5050505050838380610ea490614746565b945081518110610edd577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101819052508080610ef390614746565b915050610dd6565b508193505050505b92915050565b610f11611eba565b73ffffffffffffffffffffffffffffffffffffffff16610f2f6118ef565b73ffffffffffffffffffffffffffffffffffffffff1614610f85576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f7c9061430b565b60405180910390fd5b6000825111610fc9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fc0906143cb565b60405180910390fd5b805182511461100d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611004906142ab565b60405180910390fd5b60005b82518110156110b6576110a3838281518110611055577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151838381518110611096577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151612365565b80806110ae90614746565b915050611010565b505050565b60006110c5610ac4565b8210611106576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110fd906143ab565b60405180910390fd5b60098281548110611140577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b61115a611eba565b73ffffffffffffffffffffffffffffffffffffffff166111786118ef565b73ffffffffffffffffffffffffffffffffffffffff16146111ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111c59061430b565b60405180910390fd5b80600f90805190602001906111e49291906133fc565b5050565b6000600b60009054906101000a900460ff16905090565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156112a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161129f9061424b565b60405180910390fd5b80915050919050565b606060006112be8561166c565b905060008367ffffffffffffffff811115611302577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60405190808252806020026020018201604052801561133557816020015b60608152602001906001900390816113205790505b5090506000808690505b858761134b9190614572565b81101561147357838110611365578294505050505061147b565b60006113718983610b31565b9050600d60008281526020019081526020016000208054611391906146e3565b80601f01602080910402602001604051908101604052809291908181526020018280546113bd906146e3565b801561140a5780601f106113df5761010080835404028352916020019161140a565b820191906000526020600020905b8154815290600101906020018083116113ed57829003601f168201915b505050505084848061141b90614746565b955081518110611454577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001018190525050808061146b90614746565b91505061133f565b508193505050505b9392505050565b61148a6111e8565b156114ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114c1906141eb565b60405180910390fd5b60006114d6600c612357565b905061138881111561151d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611514906141ab565b60405180910390fd5b6115256118ef565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16148061155f575034600e54145b61159e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611595906141cb565b60405180910390fd5b6115a8600c611dbe565b6115b233826123d9565b81600d600083815260200190815260200160002090805190602001906115d99291906133fc565b505050565b600f80546115eb906146e3565b80601f0160208091040260200160405190810160405280929190818152602001828054611617906146e3565b80156116645780601f1061163957610100808354040283529160200191611664565b820191906000526020600020905b81548152906001019060200180831161164757829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156116dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116d49061422b565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61172c611eba565b73ffffffffffffffffffffffffffffffffffffffff1661174a6118ef565b73ffffffffffffffffffffffffffffffffffffffff16146117a0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117979061430b565b60405180910390fd5b6117aa60006123f7565b565b60006117b8600c612357565b905090565b6117c5611eba565b73ffffffffffffffffffffffffffffffffffffffff166117e36118ef565b73ffffffffffffffffffffffffffffffffffffffff1614611839576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118309061430b565b60405180910390fd5b6118416124bd565b565b600c8060000154905081565b600d602052806000526040600020600091509050805461186e906146e3565b80601f016020809104026020016040519081016040528092919081815260200182805461189a906146e3565b80156118e75780601f106118bc576101008083540402835291602001916118e7565b820191906000526020600020905b8154815290600101906020018083116118ca57829003601f168201915b505050505081565b6000600b60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611921611eba565b73ffffffffffffffffffffffffffffffffffffffff1661193f6118ef565b73ffffffffffffffffffffffffffffffffffffffff1614611995576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161198c9061430b565b60405180910390fd5b80600e8190555050565b6060600180546119ae906146e3565b80601f01602080910402602001604051908101604052809291908181526020018280546119da906146e3565b8015611a275780601f106119fc57610100808354040283529160200191611a27565b820191906000526020600020905b815481529060010190602001808311611a0a57829003601f168201915b5050505050905090565b600e5481565b611a3f611eba565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611aad576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aa49061416b565b60405180910390fd5b8060056000611aba611eba565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611b67611eba565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611bac919061406e565b60405180910390a35050565b611bc9611bc3611eba565b83611f7b565b611c08576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bff9061438b565b60405180910390fd5b611c1484848484612560565b50505050565b6060611c25826125bc565b9050919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61138881565b611cce611eba565b73ffffffffffffffffffffffffffffffffffffffff16611cec6118ef565b73ffffffffffffffffffffffffffffffffffffffff1614611d42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d399061430b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611db2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611da99061410b565b60405180910390fd5b611dbb816123f7565b50565b6001816000016000828254019250508190555050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611e475750611e468261270e565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611f35836111ff565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611f8682611e4e565b611fc5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fbc9061418b565b60405180910390fd5b6000611fd0836111ff565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061203f57508373ffffffffffffffffffffffffffffffffffffffff1661202784610927565b73ffffffffffffffffffffffffffffffffffffffff16145b80612050575061204f8185611c2c565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612079826111ff565b73ffffffffffffffffffffffffffffffffffffffff16146120cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120c69061432b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561213f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121369061414b565b60405180910390fd5b61214a8383836127f0565b612155600082611ec2565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546121a591906145f9565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546121fc9190614572565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6122bd6111e8565b6122fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122f3906140ab565b60405180910390fd5b6000600b60006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa612340611eba565b60405161234d9190613fbc565b60405180910390a1565b600081600001549050919050565b61236e82611e4e565b6123ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123a49061426b565b60405180910390fd5b806006600084815260200190815260200160002090805190602001906123d49291906133fc565b505050565b6123f3828260405180602001604052806000815250612848565b5050565b6000600b60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600b60016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6124c56111e8565b15612505576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124fc906141eb565b60405180910390fd5b6001600b60006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258612549611eba565b6040516125569190613fbc565b60405180910390a1565b61256b848484612059565b612577848484846128a3565b6125b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125ad906140eb565b60405180910390fd5b50505050565b60606125c782611e4e565b612606576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125fd906142cb565b60405180910390fd5b6000600660008481526020019081526020016000208054612626906146e3565b80601f0160208091040260200160405190810160405280929190818152602001828054612652906146e3565b801561269f5780601f106126745761010080835404028352916020019161269f565b820191906000526020600020905b81548152906001019060200180831161268257829003601f168201915b5050505050905060006126b0612a3a565b90506000815114156126c6578192505050612709565b6000825111156126fb5780826040516020016126e3929190613f98565b60405160208183030381529060405292505050612709565b61270484612acc565b925050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806127d957507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806127e957506127e882612b73565b5b9050919050565b6127f86111e8565b15612838576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161282f906141eb565b60405180910390fd5b612843838383612bdd565b505050565b6128528383612cf1565b61285f60008484846128a3565b61289e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612895906140eb565b60405180910390fd5b505050565b60006128c48473ffffffffffffffffffffffffffffffffffffffff16612ebf565b15612a2d578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026128ed611eba565b8786866040518563ffffffff1660e01b815260040161290f9493929190613fd7565b602060405180830381600087803b15801561292957600080fd5b505af192505050801561295a57506040513d601f19601f8201168201806040525081019061295791906139a9565b60015b6129dd573d806000811461298a576040519150601f19603f3d011682016040523d82523d6000602084013e61298f565b606091505b506000815114156129d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129cc906140eb565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612a32565b600190505b949350505050565b6060600f8054612a49906146e3565b80601f0160208091040260200160405190810160405280929190818152602001828054612a75906146e3565b8015612ac25780601f10612a9757610100808354040283529160200191612ac2565b820191906000526020600020905b815481529060010190602001808311612aa557829003601f168201915b5050505050905090565b6060612ad782611e4e565b612b16576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b0d9061434b565b60405180910390fd5b6000612b20612a3a565b90506000815111612b405760405180602001604052806000815250612b6b565b80612b4a84612ed2565b604051602001612b5b929190613f98565b6040516020818303038152906040525b915050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612be883838361307f565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612c2b57612c2681613084565b612c6a565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612c6957612c6883826130cd565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612cad57612ca88161323a565b612cec565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612ceb57612cea828261337d565b5b5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612d61576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d589061428b565b60405180910390fd5b612d6a81611e4e565b15612daa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612da19061412b565b60405180910390fd5b612db6600083836127f0565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612e069190614572565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b60606000821415612f1a576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061307a565b600082905060005b60008214612f4c578080612f3590614746565b915050600a82612f4591906145c8565b9150612f22565b60008167ffffffffffffffff811115612f8e577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612fc05781602001600182028036833780820191505090505b5090505b6000851461307357600182612fd991906145f9565b9150600a85612fe8919061478f565b6030612ff49190614572565b60f81b818381518110613030577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561306c91906145c8565b9450612fc4565b8093505050505b919050565b505050565b600980549050600a600083815260200190815260200160002081905550600981908060018154018082558091505060019003906000526020600020016000909190919091505550565b600060016130da8461166c565b6130e491906145f9565b90506000600860008481526020019081526020016000205490508181146131c9576000600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816008600083815260200190815260200160002081905550505b6008600084815260200190815260200160002060009055600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b6000600160098054905061324e91906145f9565b90506000600a60008481526020019081526020016000205490506000600983815481106132a4577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200154905080600983815481106132ec577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600a600083815260200190815260200160002081905550600a6000858152602001908152602001600020600090556009805480613361577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b60006133888361166c565b905081600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806008600084815260200190815260200160002081905550505050565b828054613408906146e3565b90600052602060002090601f01602090048101928261342a5760008555613471565b82601f1061344357805160ff1916838001178555613471565b82800160010185558215613471579182015b82811115613470578251825591602001919060010190613455565b5b50905061347e9190613482565b5090565b5b8082111561349b576000816000905550600101613483565b5090565b60006134b26134ad8461442b565b614406565b905080838252602082019050828560208602820111156134d157600080fd5b60005b8581101561351b57813567ffffffffffffffff8111156134f357600080fd5b80860161350089826136df565b855260208501945060208401935050506001810190506134d4565b5050509392505050565b600061353861353384614457565b614406565b9050808382526020820190508285602086028201111561355757600080fd5b60005b85811015613587578161356d8882613709565b84526020840193506020830192505060018101905061355a565b5050509392505050565b60006135a461359f84614483565b614406565b9050828152602081018484840111156135bc57600080fd5b6135c78482856146a1565b509392505050565b60006135e26135dd846144b4565b614406565b9050828152602081018484840111156135fa57600080fd5b6136058482856146a1565b509392505050565b60008135905061361c81614f3d565b92915050565b600082601f83011261363357600080fd5b813561364384826020860161349f565b91505092915050565b600082601f83011261365d57600080fd5b813561366d848260208601613525565b91505092915050565b60008135905061368581614f54565b92915050565b60008135905061369a81614f6b565b92915050565b6000815190506136af81614f6b565b92915050565b600082601f8301126136c657600080fd5b81356136d6848260208601613591565b91505092915050565b600082601f8301126136f057600080fd5b81356137008482602086016135cf565b91505092915050565b60008135905061371881614f82565b92915050565b60006020828403121561373057600080fd5b600061373e8482850161360d565b91505092915050565b6000806040838503121561375a57600080fd5b60006137688582860161360d565b92505060206137798582860161360d565b9150509250929050565b60008060006060848603121561379857600080fd5b60006137a68682870161360d565b93505060206137b78682870161360d565b92505060406137c886828701613709565b9150509250925092565b600080600080608085870312156137e857600080fd5b60006137f68782880161360d565b94505060206138078782880161360d565b935050604061381887828801613709565b925050606085013567ffffffffffffffff81111561383557600080fd5b613841878288016136b5565b91505092959194509250565b6000806040838503121561386057600080fd5b600061386e8582860161360d565b925050602061387f85828601613676565b9150509250929050565b6000806040838503121561389c57600080fd5b60006138aa8582860161360d565b92505060206138bb85828601613709565b9150509250929050565b6000806000606084860312156138da57600080fd5b60006138e88682870161360d565b93505060206138f986828701613709565b925050604061390a86828701613709565b9150509250925092565b6000806040838503121561392757600080fd5b600083013567ffffffffffffffff81111561394157600080fd5b61394d8582860161364c565b925050602083013567ffffffffffffffff81111561396a57600080fd5b61397685828601613622565b9150509250929050565b60006020828403121561399257600080fd5b60006139a08482850161368b565b91505092915050565b6000602082840312156139bb57600080fd5b60006139c9848285016136a0565b91505092915050565b6000602082840312156139e457600080fd5b600082013567ffffffffffffffff8111156139fe57600080fd5b613a0a848285016136df565b91505092915050565b600060208284031215613a2557600080fd5b6000613a3384828501613709565b91505092915050565b60008060408385031215613a4f57600080fd5b6000613a5d85828601613709565b9250506020613a6e85828601613709565b9150509250929050565b6000613a848383613b58565b905092915050565b613a958161462d565b82525050565b6000613aa6826144f5565b613ab08185614523565b935083602082028501613ac2856144e5565b8060005b85811015613afe5784840389528151613adf8582613a78565b9450613aea83614516565b925060208a01995050600181019050613ac6565b50829750879550505050505092915050565b613b198161463f565b82525050565b6000613b2a82614500565b613b348185614534565b9350613b448185602086016146b0565b613b4d8161487c565b840191505092915050565b6000613b638261450b565b613b6d8185614545565b9350613b7d8185602086016146b0565b613b868161487c565b840191505092915050565b6000613b9c8261450b565b613ba68185614556565b9350613bb68185602086016146b0565b613bbf8161487c565b840191505092915050565b6000613bd58261450b565b613bdf8185614567565b9350613bef8185602086016146b0565b80840191505092915050565b6000613c08601483614556565b9150613c138261488d565b602082019050919050565b6000613c2b602b83614556565b9150613c36826148b6565b604082019050919050565b6000613c4e603283614556565b9150613c5982614905565b604082019050919050565b6000613c71602683614556565b9150613c7c82614954565b604082019050919050565b6000613c94601c83614556565b9150613c9f826149a3565b602082019050919050565b6000613cb7602483614556565b9150613cc2826149cc565b604082019050919050565b6000613cda601983614556565b9150613ce582614a1b565b602082019050919050565b6000613cfd602c83614556565b9150613d0882614a44565b604082019050919050565b6000613d20601c83614556565b9150613d2b82614a93565b602082019050919050565b6000613d43600f83614556565b9150613d4e82614abc565b602082019050919050565b6000613d66601083614556565b9150613d7182614ae5565b602082019050919050565b6000613d89603883614556565b9150613d9482614b0e565b604082019050919050565b6000613dac602a83614556565b9150613db782614b5d565b604082019050919050565b6000613dcf602983614556565b9150613dda82614bac565b604082019050919050565b6000613df2602e83614556565b9150613dfd82614bfb565b604082019050919050565b6000613e15602083614556565b9150613e2082614c4a565b602082019050919050565b6000613e38602a83614556565b9150613e4382614c73565b604082019050919050565b6000613e5b603183614556565b9150613e6682614cc2565b604082019050919050565b6000613e7e602c83614556565b9150613e8982614d11565b604082019050919050565b6000613ea1602083614556565b9150613eac82614d60565b602082019050919050565b6000613ec4602983614556565b9150613ecf82614d89565b604082019050919050565b6000613ee7602f83614556565b9150613ef282614dd8565b604082019050919050565b6000613f0a602183614556565b9150613f1582614e27565b604082019050919050565b6000613f2d603183614556565b9150613f3882614e76565b604082019050919050565b6000613f50602c83614556565b9150613f5b82614ec5565b604082019050919050565b6000613f73601383614556565b9150613f7e82614f14565b602082019050919050565b613f9281614697565b82525050565b6000613fa48285613bca565b9150613fb08284613bca565b91508190509392505050565b6000602082019050613fd16000830184613a8c565b92915050565b6000608082019050613fec6000830187613a8c565b613ff96020830186613a8c565b6140066040830185613f89565b81810360608301526140188184613b1f565b905095945050505050565b60006040820190506140386000830185613a8c565b6140456020830184613f89565b9392505050565b600060208201905081810360008301526140668184613a9b565b905092915050565b60006020820190506140836000830184613b10565b92915050565b600060208201905081810360008301526140a38184613b91565b905092915050565b600060208201905081810360008301526140c481613bfb565b9050919050565b600060208201905081810360008301526140e481613c1e565b9050919050565b6000602082019050818103600083015261410481613c41565b9050919050565b6000602082019050818103600083015261412481613c64565b9050919050565b6000602082019050818103600083015261414481613c87565b9050919050565b6000602082019050818103600083015261416481613caa565b9050919050565b6000602082019050818103600083015261418481613ccd565b9050919050565b600060208201905081810360008301526141a481613cf0565b9050919050565b600060208201905081810360008301526141c481613d13565b9050919050565b600060208201905081810360008301526141e481613d36565b9050919050565b6000602082019050818103600083015261420481613d59565b9050919050565b6000602082019050818103600083015261422481613d7c565b9050919050565b6000602082019050818103600083015261424481613d9f565b9050919050565b6000602082019050818103600083015261426481613dc2565b9050919050565b6000602082019050818103600083015261428481613de5565b9050919050565b600060208201905081810360008301526142a481613e08565b9050919050565b600060208201905081810360008301526142c481613e2b565b9050919050565b600060208201905081810360008301526142e481613e4e565b9050919050565b6000602082019050818103600083015261430481613e71565b9050919050565b6000602082019050818103600083015261432481613e94565b9050919050565b6000602082019050818103600083015261434481613eb7565b9050919050565b6000602082019050818103600083015261436481613eda565b9050919050565b6000602082019050818103600083015261438481613efd565b9050919050565b600060208201905081810360008301526143a481613f20565b9050919050565b600060208201905081810360008301526143c481613f43565b9050919050565b600060208201905081810360008301526143e481613f66565b9050919050565b60006020820190506144006000830184613f89565b92915050565b6000614410614421565b905061441c8282614715565b919050565b6000604051905090565b600067ffffffffffffffff8211156144465761444561484d565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156144725761447161484d565b5b602082029050602081019050919050565b600067ffffffffffffffff82111561449e5761449d61484d565b5b6144a78261487c565b9050602081019050919050565b600067ffffffffffffffff8211156144cf576144ce61484d565b5b6144d88261487c565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600061457d82614697565b915061458883614697565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156145bd576145bc6147c0565b5b828201905092915050565b60006145d382614697565b91506145de83614697565b9250826145ee576145ed6147ef565b5b828204905092915050565b600061460482614697565b915061460f83614697565b925082821015614622576146216147c0565b5b828203905092915050565b600061463882614677565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156146ce5780820151818401526020810190506146b3565b838111156146dd576000848401525b50505050565b600060028204905060018216806146fb57607f821691505b6020821081141561470f5761470e61481e565b5b50919050565b61471e8261487c565b810181811067ffffffffffffffff8211171561473d5761473c61484d565b5b80604052505050565b600061475182614697565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614784576147836147c0565b5b600182019050919050565b600061479a82614697565b91506147a583614697565b9250826147b5576147b46147ef565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4e6f20746f6b656e73206c65667420746f206265206d696e7465642100000000600082015250565b7f5072696365206e6f742073616d65210000000000000000000000000000000000600082015250565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60008201527f6578697374656e7420746f6b656e000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4c656e677468206f6620494420616e642044617461206172726179732069732060008201527f6e6f7420657175616c2100000000000000000000000000000000000000000000602082015250565b7f45524337323155524953746f726167653a2055524920717565727920666f722060008201527f6e6f6e6578697374656e7420746f6b656e000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f494420617272617973206e6f7420656d70747900000000000000000000000000600082015250565b614f468161462d565b8114614f5157600080fd5b50565b614f5d8161463f565b8114614f6857600080fd5b50565b614f748161464b565b8114614f7f57600080fd5b50565b614f8b81614697565b8114614f9657600080fd5b5056fea26469706673582212208806a0cefb24661943ac23debb9470b20de9ab4b0c3bd43bf5a587382d98c95b64736f6c63430008040033
Deployed ByteCode
0x6080604052600436106102085760003560e01c8063695850fb1161011857806391b7f5ed116100a0578063b88d4fde1161006f578063b88d4fde1461078c578063c87b56dd146107b5578063e985e9c5146107f2578063f0292a031461082f578063f2fde38b1461085a57610248565b806391b7f5ed146106e457806395d89b411461070d578063a035b1fe14610738578063a22cb4651461076357610248565b806373448c46116100e757806373448c461461060f5780638456cb591461063a57806384c4bd4b146106515780638c2109751461067c5780638da5cb5b146106b957610248565b8063695850fb146105745780636c0360eb1461059057806370a08231146105bb578063715018a6146105f857610248565b80633f4ba83a1161019b5780634f6ccce71161016a5780634f6ccce71461046957806355f804b3146104a65780635c975abb146104cf5780636352211e146104fa578063674ebacf1461053757610248565b80633f4ba83a146103c357806342842e0e146103da5780634501fd28146104035780634d8d8a2e1461044057610248565b806318160ddd116101d757806318160ddd1461031b57806323b872dd146103465780632f745c591461036f5780633ccfd60b146103ac57610248565b806301ffc9a71461024d57806306fdde031461028a578063081812fc146102b5578063095ea7b3146102f257610248565b36610248577f88a5966d370b9919b20f3e2c13ff65706f196a4e32cc2c12bf57088f88525874333460405161023e929190614023565b60405180910390a1005b600080fd5b34801561025957600080fd5b50610274600480360381019061026f9190613980565b610883565b604051610281919061406e565b60405180910390f35b34801561029657600080fd5b5061029f610895565b6040516102ac9190614089565b60405180910390f35b3480156102c157600080fd5b506102dc60048036038101906102d79190613a13565b610927565b6040516102e99190613fbc565b60405180910390f35b3480156102fe57600080fd5b5061031960048036038101906103149190613889565b6109ac565b005b34801561032757600080fd5b50610330610ac4565b60405161033d91906143eb565b60405180910390f35b34801561035257600080fd5b5061036d60048036038101906103689190613783565b610ad1565b005b34801561037b57600080fd5b5061039660048036038101906103919190613889565b610b31565b6040516103a391906143eb565b60405180910390f35b3480156103b857600080fd5b506103c1610bd6565b005b3480156103cf57600080fd5b506103d8610ca1565b005b3480156103e657600080fd5b5061040160048036038101906103fc9190613783565b610d27565b005b34801561040f57600080fd5b5061042a60048036038101906104259190613a3c565b610d47565b604051610437919061404c565b60405180910390f35b34801561044c57600080fd5b5061046760048036038101906104629190613914565b610f09565b005b34801561047557600080fd5b50610490600480360381019061048b9190613a13565b6110bb565b60405161049d91906143eb565b60405180910390f35b3480156104b257600080fd5b506104cd60048036038101906104c891906139d2565b611152565b005b3480156104db57600080fd5b506104e46111e8565b6040516104f1919061406e565b60405180910390f35b34801561050657600080fd5b50610521600480360381019061051c9190613a13565b6111ff565b60405161052e9190613fbc565b60405180910390f35b34801561054357600080fd5b5061055e600480360381019061055991906138c5565b6112b1565b60405161056b919061404c565b60405180910390f35b61058e600480360381019061058991906139d2565b611482565b005b34801561059c57600080fd5b506105a56115de565b6040516105b29190614089565b60405180910390f35b3480156105c757600080fd5b506105e260048036038101906105dd919061371e565b61166c565b6040516105ef91906143eb565b60405180910390f35b34801561060457600080fd5b5061060d611724565b005b34801561061b57600080fd5b506106246117ac565b60405161063191906143eb565b60405180910390f35b34801561064657600080fd5b5061064f6117bd565b005b34801561065d57600080fd5b50610666611843565b60405161067391906143eb565b60405180910390f35b34801561068857600080fd5b506106a3600480360381019061069e9190613a13565b61184f565b6040516106b09190614089565b60405180910390f35b3480156106c557600080fd5b506106ce6118ef565b6040516106db9190613fbc565b60405180910390f35b3480156106f057600080fd5b5061070b60048036038101906107069190613a13565b611919565b005b34801561071957600080fd5b5061072261199f565b60405161072f9190614089565b60405180910390f35b34801561074457600080fd5b5061074d611a31565b60405161075a91906143eb565b60405180910390f35b34801561076f57600080fd5b5061078a6004803603810190610785919061384d565b611a37565b005b34801561079857600080fd5b506107b360048036038101906107ae91906137d2565b611bb8565b005b3480156107c157600080fd5b506107dc60048036038101906107d79190613a13565b611c1a565b6040516107e99190614089565b60405180910390f35b3480156107fe57600080fd5b5061081960048036038101906108149190613747565b611c2c565b604051610826919061406e565b60405180910390f35b34801561083b57600080fd5b50610844611cc0565b60405161085191906143eb565b60405180910390f35b34801561086657600080fd5b50610881600480360381019061087c919061371e565b611cc6565b005b600061088e82611dd4565b9050919050565b6060600080546108a4906146e3565b80601f01602080910402602001604051908101604052809291908181526020018280546108d0906146e3565b801561091d5780601f106108f25761010080835404028352916020019161091d565b820191906000526020600020905b81548152906001019060200180831161090057829003601f168201915b5050505050905090565b600061093282611e4e565b610971576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610968906142eb565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006109b7826111ff565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610a28576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a1f9061436b565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610a47611eba565b73ffffffffffffffffffffffffffffffffffffffff161480610a765750610a7581610a70611eba565b611c2c565b5b610ab5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aac9061420b565b60405180910390fd5b610abf8383611ec2565b505050565b6000600980549050905090565b610ae2610adc611eba565b82611f7b565b610b21576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b189061438b565b60405180910390fd5b610b2c838383612059565b505050565b6000610b3c8361166c565b8210610b7d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b74906140cb565b60405180910390fd5b600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610bde611eba565b73ffffffffffffffffffffffffffffffffffffffff16610bfc6118ef565b73ffffffffffffffffffffffffffffffffffffffff1614610c52576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c499061430b565b60405180910390fd5b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610c9d573d6000803e3d6000fd5b5050565b610ca9611eba565b73ffffffffffffffffffffffffffffffffffffffff16610cc76118ef565b73ffffffffffffffffffffffffffffffffffffffff1614610d1d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d149061430b565b60405180910390fd5b610d256122b5565b565b610d4283838360405180602001604052806000815250611bb8565b505050565b60606000610d55600c612357565b905060008367ffffffffffffffff811115610d99577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015610dcc57816020015b6060815260200190600190039081610db75790505b5090506000808690505b8587610de29190614572565b811015610efb57838110610dfc5782945050505050610f03565b600d60008281526020019081526020016000208054610e1a906146e3565b80601f0160208091040260200160405190810160405280929190818152602001828054610e46906146e3565b8015610e935780601f10610e6857610100808354040283529160200191610e93565b820191906000526020600020905b815481529060010190602001808311610e7657829003601f168201915b5050505050838380610ea490614746565b945081518110610edd577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101819052508080610ef390614746565b915050610dd6565b508193505050505b92915050565b610f11611eba565b73ffffffffffffffffffffffffffffffffffffffff16610f2f6118ef565b73ffffffffffffffffffffffffffffffffffffffff1614610f85576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f7c9061430b565b60405180910390fd5b6000825111610fc9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fc0906143cb565b60405180910390fd5b805182511461100d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611004906142ab565b60405180910390fd5b60005b82518110156110b6576110a3838281518110611055577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151838381518110611096577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151612365565b80806110ae90614746565b915050611010565b505050565b60006110c5610ac4565b8210611106576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110fd906143ab565b60405180910390fd5b60098281548110611140577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b61115a611eba565b73ffffffffffffffffffffffffffffffffffffffff166111786118ef565b73ffffffffffffffffffffffffffffffffffffffff16146111ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111c59061430b565b60405180910390fd5b80600f90805190602001906111e49291906133fc565b5050565b6000600b60009054906101000a900460ff16905090565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156112a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161129f9061424b565b60405180910390fd5b80915050919050565b606060006112be8561166c565b905060008367ffffffffffffffff811115611302577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60405190808252806020026020018201604052801561133557816020015b60608152602001906001900390816113205790505b5090506000808690505b858761134b9190614572565b81101561147357838110611365578294505050505061147b565b60006113718983610b31565b9050600d60008281526020019081526020016000208054611391906146e3565b80601f01602080910402602001604051908101604052809291908181526020018280546113bd906146e3565b801561140a5780601f106113df5761010080835404028352916020019161140a565b820191906000526020600020905b8154815290600101906020018083116113ed57829003601f168201915b505050505084848061141b90614746565b955081518110611454577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001018190525050808061146b90614746565b91505061133f565b508193505050505b9392505050565b61148a6111e8565b156114ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114c1906141eb565b60405180910390fd5b60006114d6600c612357565b905061138881111561151d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611514906141ab565b60405180910390fd5b6115256118ef565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16148061155f575034600e54145b61159e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611595906141cb565b60405180910390fd5b6115a8600c611dbe565b6115b233826123d9565b81600d600083815260200190815260200160002090805190602001906115d99291906133fc565b505050565b600f80546115eb906146e3565b80601f0160208091040260200160405190810160405280929190818152602001828054611617906146e3565b80156116645780601f1061163957610100808354040283529160200191611664565b820191906000526020600020905b81548152906001019060200180831161164757829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156116dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116d49061422b565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61172c611eba565b73ffffffffffffffffffffffffffffffffffffffff1661174a6118ef565b73ffffffffffffffffffffffffffffffffffffffff16146117a0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117979061430b565b60405180910390fd5b6117aa60006123f7565b565b60006117b8600c612357565b905090565b6117c5611eba565b73ffffffffffffffffffffffffffffffffffffffff166117e36118ef565b73ffffffffffffffffffffffffffffffffffffffff1614611839576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118309061430b565b60405180910390fd5b6118416124bd565b565b600c8060000154905081565b600d602052806000526040600020600091509050805461186e906146e3565b80601f016020809104026020016040519081016040528092919081815260200182805461189a906146e3565b80156118e75780601f106118bc576101008083540402835291602001916118e7565b820191906000526020600020905b8154815290600101906020018083116118ca57829003601f168201915b505050505081565b6000600b60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611921611eba565b73ffffffffffffffffffffffffffffffffffffffff1661193f6118ef565b73ffffffffffffffffffffffffffffffffffffffff1614611995576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161198c9061430b565b60405180910390fd5b80600e8190555050565b6060600180546119ae906146e3565b80601f01602080910402602001604051908101604052809291908181526020018280546119da906146e3565b8015611a275780601f106119fc57610100808354040283529160200191611a27565b820191906000526020600020905b815481529060010190602001808311611a0a57829003601f168201915b5050505050905090565b600e5481565b611a3f611eba565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611aad576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aa49061416b565b60405180910390fd5b8060056000611aba611eba565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611b67611eba565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611bac919061406e565b60405180910390a35050565b611bc9611bc3611eba565b83611f7b565b611c08576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bff9061438b565b60405180910390fd5b611c1484848484612560565b50505050565b6060611c25826125bc565b9050919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61138881565b611cce611eba565b73ffffffffffffffffffffffffffffffffffffffff16611cec6118ef565b73ffffffffffffffffffffffffffffffffffffffff1614611d42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d399061430b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611db2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611da99061410b565b60405180910390fd5b611dbb816123f7565b50565b6001816000016000828254019250508190555050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611e475750611e468261270e565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611f35836111ff565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611f8682611e4e565b611fc5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fbc9061418b565b60405180910390fd5b6000611fd0836111ff565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061203f57508373ffffffffffffffffffffffffffffffffffffffff1661202784610927565b73ffffffffffffffffffffffffffffffffffffffff16145b80612050575061204f8185611c2c565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612079826111ff565b73ffffffffffffffffffffffffffffffffffffffff16146120cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120c69061432b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561213f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121369061414b565b60405180910390fd5b61214a8383836127f0565b612155600082611ec2565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546121a591906145f9565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546121fc9190614572565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6122bd6111e8565b6122fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122f3906140ab565b60405180910390fd5b6000600b60006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa612340611eba565b60405161234d9190613fbc565b60405180910390a1565b600081600001549050919050565b61236e82611e4e565b6123ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123a49061426b565b60405180910390fd5b806006600084815260200190815260200160002090805190602001906123d49291906133fc565b505050565b6123f3828260405180602001604052806000815250612848565b5050565b6000600b60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600b60016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6124c56111e8565b15612505576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124fc906141eb565b60405180910390fd5b6001600b60006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258612549611eba565b6040516125569190613fbc565b60405180910390a1565b61256b848484612059565b612577848484846128a3565b6125b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125ad906140eb565b60405180910390fd5b50505050565b60606125c782611e4e565b612606576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125fd906142cb565b60405180910390fd5b6000600660008481526020019081526020016000208054612626906146e3565b80601f0160208091040260200160405190810160405280929190818152602001828054612652906146e3565b801561269f5780601f106126745761010080835404028352916020019161269f565b820191906000526020600020905b81548152906001019060200180831161268257829003601f168201915b5050505050905060006126b0612a3a565b90506000815114156126c6578192505050612709565b6000825111156126fb5780826040516020016126e3929190613f98565b60405160208183030381529060405292505050612709565b61270484612acc565b925050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806127d957507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806127e957506127e882612b73565b5b9050919050565b6127f86111e8565b15612838576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161282f906141eb565b60405180910390fd5b612843838383612bdd565b505050565b6128528383612cf1565b61285f60008484846128a3565b61289e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612895906140eb565b60405180910390fd5b505050565b60006128c48473ffffffffffffffffffffffffffffffffffffffff16612ebf565b15612a2d578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026128ed611eba565b8786866040518563ffffffff1660e01b815260040161290f9493929190613fd7565b602060405180830381600087803b15801561292957600080fd5b505af192505050801561295a57506040513d601f19601f8201168201806040525081019061295791906139a9565b60015b6129dd573d806000811461298a576040519150601f19603f3d011682016040523d82523d6000602084013e61298f565b606091505b506000815114156129d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129cc906140eb565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612a32565b600190505b949350505050565b6060600f8054612a49906146e3565b80601f0160208091040260200160405190810160405280929190818152602001828054612a75906146e3565b8015612ac25780601f10612a9757610100808354040283529160200191612ac2565b820191906000526020600020905b815481529060010190602001808311612aa557829003601f168201915b5050505050905090565b6060612ad782611e4e565b612b16576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b0d9061434b565b60405180910390fd5b6000612b20612a3a565b90506000815111612b405760405180602001604052806000815250612b6b565b80612b4a84612ed2565b604051602001612b5b929190613f98565b6040516020818303038152906040525b915050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612be883838361307f565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612c2b57612c2681613084565b612c6a565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612c6957612c6883826130cd565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612cad57612ca88161323a565b612cec565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612ceb57612cea828261337d565b5b5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612d61576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d589061428b565b60405180910390fd5b612d6a81611e4e565b15612daa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612da19061412b565b60405180910390fd5b612db6600083836127f0565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612e069190614572565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b60606000821415612f1a576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061307a565b600082905060005b60008214612f4c578080612f3590614746565b915050600a82612f4591906145c8565b9150612f22565b60008167ffffffffffffffff811115612f8e577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612fc05781602001600182028036833780820191505090505b5090505b6000851461307357600182612fd991906145f9565b9150600a85612fe8919061478f565b6030612ff49190614572565b60f81b818381518110613030577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561306c91906145c8565b9450612fc4565b8093505050505b919050565b505050565b600980549050600a600083815260200190815260200160002081905550600981908060018154018082558091505060019003906000526020600020016000909190919091505550565b600060016130da8461166c565b6130e491906145f9565b90506000600860008481526020019081526020016000205490508181146131c9576000600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816008600083815260200190815260200160002081905550505b6008600084815260200190815260200160002060009055600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b6000600160098054905061324e91906145f9565b90506000600a60008481526020019081526020016000205490506000600983815481106132a4577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200154905080600983815481106132ec577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600a600083815260200190815260200160002081905550600a6000858152602001908152602001600020600090556009805480613361577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b60006133888361166c565b905081600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806008600084815260200190815260200160002081905550505050565b828054613408906146e3565b90600052602060002090601f01602090048101928261342a5760008555613471565b82601f1061344357805160ff1916838001178555613471565b82800160010185558215613471579182015b82811115613470578251825591602001919060010190613455565b5b50905061347e9190613482565b5090565b5b8082111561349b576000816000905550600101613483565b5090565b60006134b26134ad8461442b565b614406565b905080838252602082019050828560208602820111156134d157600080fd5b60005b8581101561351b57813567ffffffffffffffff8111156134f357600080fd5b80860161350089826136df565b855260208501945060208401935050506001810190506134d4565b5050509392505050565b600061353861353384614457565b614406565b9050808382526020820190508285602086028201111561355757600080fd5b60005b85811015613587578161356d8882613709565b84526020840193506020830192505060018101905061355a565b5050509392505050565b60006135a461359f84614483565b614406565b9050828152602081018484840111156135bc57600080fd5b6135c78482856146a1565b509392505050565b60006135e26135dd846144b4565b614406565b9050828152602081018484840111156135fa57600080fd5b6136058482856146a1565b509392505050565b60008135905061361c81614f3d565b92915050565b600082601f83011261363357600080fd5b813561364384826020860161349f565b91505092915050565b600082601f83011261365d57600080fd5b813561366d848260208601613525565b91505092915050565b60008135905061368581614f54565b92915050565b60008135905061369a81614f6b565b92915050565b6000815190506136af81614f6b565b92915050565b600082601f8301126136c657600080fd5b81356136d6848260208601613591565b91505092915050565b600082601f8301126136f057600080fd5b81356137008482602086016135cf565b91505092915050565b60008135905061371881614f82565b92915050565b60006020828403121561373057600080fd5b600061373e8482850161360d565b91505092915050565b6000806040838503121561375a57600080fd5b60006137688582860161360d565b92505060206137798582860161360d565b9150509250929050565b60008060006060848603121561379857600080fd5b60006137a68682870161360d565b93505060206137b78682870161360d565b92505060406137c886828701613709565b9150509250925092565b600080600080608085870312156137e857600080fd5b60006137f68782880161360d565b94505060206138078782880161360d565b935050604061381887828801613709565b925050606085013567ffffffffffffffff81111561383557600080fd5b613841878288016136b5565b91505092959194509250565b6000806040838503121561386057600080fd5b600061386e8582860161360d565b925050602061387f85828601613676565b9150509250929050565b6000806040838503121561389c57600080fd5b60006138aa8582860161360d565b92505060206138bb85828601613709565b9150509250929050565b6000806000606084860312156138da57600080fd5b60006138e88682870161360d565b93505060206138f986828701613709565b925050604061390a86828701613709565b9150509250925092565b6000806040838503121561392757600080fd5b600083013567ffffffffffffffff81111561394157600080fd5b61394d8582860161364c565b925050602083013567ffffffffffffffff81111561396a57600080fd5b61397685828601613622565b9150509250929050565b60006020828403121561399257600080fd5b60006139a08482850161368b565b91505092915050565b6000602082840312156139bb57600080fd5b60006139c9848285016136a0565b91505092915050565b6000602082840312156139e457600080fd5b600082013567ffffffffffffffff8111156139fe57600080fd5b613a0a848285016136df565b91505092915050565b600060208284031215613a2557600080fd5b6000613a3384828501613709565b91505092915050565b60008060408385031215613a4f57600080fd5b6000613a5d85828601613709565b9250506020613a6e85828601613709565b9150509250929050565b6000613a848383613b58565b905092915050565b613a958161462d565b82525050565b6000613aa6826144f5565b613ab08185614523565b935083602082028501613ac2856144e5565b8060005b85811015613afe5784840389528151613adf8582613a78565b9450613aea83614516565b925060208a01995050600181019050613ac6565b50829750879550505050505092915050565b613b198161463f565b82525050565b6000613b2a82614500565b613b348185614534565b9350613b448185602086016146b0565b613b4d8161487c565b840191505092915050565b6000613b638261450b565b613b6d8185614545565b9350613b7d8185602086016146b0565b613b868161487c565b840191505092915050565b6000613b9c8261450b565b613ba68185614556565b9350613bb68185602086016146b0565b613bbf8161487c565b840191505092915050565b6000613bd58261450b565b613bdf8185614567565b9350613bef8185602086016146b0565b80840191505092915050565b6000613c08601483614556565b9150613c138261488d565b602082019050919050565b6000613c2b602b83614556565b9150613c36826148b6565b604082019050919050565b6000613c4e603283614556565b9150613c5982614905565b604082019050919050565b6000613c71602683614556565b9150613c7c82614954565b604082019050919050565b6000613c94601c83614556565b9150613c9f826149a3565b602082019050919050565b6000613cb7602483614556565b9150613cc2826149cc565b604082019050919050565b6000613cda601983614556565b9150613ce582614a1b565b602082019050919050565b6000613cfd602c83614556565b9150613d0882614a44565b604082019050919050565b6000613d20601c83614556565b9150613d2b82614a93565b602082019050919050565b6000613d43600f83614556565b9150613d4e82614abc565b602082019050919050565b6000613d66601083614556565b9150613d7182614ae5565b602082019050919050565b6000613d89603883614556565b9150613d9482614b0e565b604082019050919050565b6000613dac602a83614556565b9150613db782614b5d565b604082019050919050565b6000613dcf602983614556565b9150613dda82614bac565b604082019050919050565b6000613df2602e83614556565b9150613dfd82614bfb565b604082019050919050565b6000613e15602083614556565b9150613e2082614c4a565b602082019050919050565b6000613e38602a83614556565b9150613e4382614c73565b604082019050919050565b6000613e5b603183614556565b9150613e6682614cc2565b604082019050919050565b6000613e7e602c83614556565b9150613e8982614d11565b604082019050919050565b6000613ea1602083614556565b9150613eac82614d60565b602082019050919050565b6000613ec4602983614556565b9150613ecf82614d89565b604082019050919050565b6000613ee7602f83614556565b9150613ef282614dd8565b604082019050919050565b6000613f0a602183614556565b9150613f1582614e27565b604082019050919050565b6000613f2d603183614556565b9150613f3882614e76565b604082019050919050565b6000613f50602c83614556565b9150613f5b82614ec5565b604082019050919050565b6000613f73601383614556565b9150613f7e82614f14565b602082019050919050565b613f9281614697565b82525050565b6000613fa48285613bca565b9150613fb08284613bca565b91508190509392505050565b6000602082019050613fd16000830184613a8c565b92915050565b6000608082019050613fec6000830187613a8c565b613ff96020830186613a8c565b6140066040830185613f89565b81810360608301526140188184613b1f565b905095945050505050565b60006040820190506140386000830185613a8c565b6140456020830184613f89565b9392505050565b600060208201905081810360008301526140668184613a9b565b905092915050565b60006020820190506140836000830184613b10565b92915050565b600060208201905081810360008301526140a38184613b91565b905092915050565b600060208201905081810360008301526140c481613bfb565b9050919050565b600060208201905081810360008301526140e481613c1e565b9050919050565b6000602082019050818103600083015261410481613c41565b9050919050565b6000602082019050818103600083015261412481613c64565b9050919050565b6000602082019050818103600083015261414481613c87565b9050919050565b6000602082019050818103600083015261416481613caa565b9050919050565b6000602082019050818103600083015261418481613ccd565b9050919050565b600060208201905081810360008301526141a481613cf0565b9050919050565b600060208201905081810360008301526141c481613d13565b9050919050565b600060208201905081810360008301526141e481613d36565b9050919050565b6000602082019050818103600083015261420481613d59565b9050919050565b6000602082019050818103600083015261422481613d7c565b9050919050565b6000602082019050818103600083015261424481613d9f565b9050919050565b6000602082019050818103600083015261426481613dc2565b9050919050565b6000602082019050818103600083015261428481613de5565b9050919050565b600060208201905081810360008301526142a481613e08565b9050919050565b600060208201905081810360008301526142c481613e2b565b9050919050565b600060208201905081810360008301526142e481613e4e565b9050919050565b6000602082019050818103600083015261430481613e71565b9050919050565b6000602082019050818103600083015261432481613e94565b9050919050565b6000602082019050818103600083015261434481613eb7565b9050919050565b6000602082019050818103600083015261436481613eda565b9050919050565b6000602082019050818103600083015261438481613efd565b9050919050565b600060208201905081810360008301526143a481613f20565b9050919050565b600060208201905081810360008301526143c481613f43565b9050919050565b600060208201905081810360008301526143e481613f66565b9050919050565b60006020820190506144006000830184613f89565b92915050565b6000614410614421565b905061441c8282614715565b919050565b6000604051905090565b600067ffffffffffffffff8211156144465761444561484d565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156144725761447161484d565b5b602082029050602081019050919050565b600067ffffffffffffffff82111561449e5761449d61484d565b5b6144a78261487c565b9050602081019050919050565b600067ffffffffffffffff8211156144cf576144ce61484d565b5b6144d88261487c565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600061457d82614697565b915061458883614697565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156145bd576145bc6147c0565b5b828201905092915050565b60006145d382614697565b91506145de83614697565b9250826145ee576145ed6147ef565b5b828204905092915050565b600061460482614697565b915061460f83614697565b925082821015614622576146216147c0565b5b828203905092915050565b600061463882614677565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156146ce5780820151818401526020810190506146b3565b838111156146dd576000848401525b50505050565b600060028204905060018216806146fb57607f821691505b6020821081141561470f5761470e61481e565b5b50919050565b61471e8261487c565b810181811067ffffffffffffffff8211171561473d5761473c61484d565b5b80604052505050565b600061475182614697565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614784576147836147c0565b5b600182019050919050565b600061479a82614697565b91506147a583614697565b9250826147b5576147b46147ef565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4e6f20746f6b656e73206c65667420746f206265206d696e7465642100000000600082015250565b7f5072696365206e6f742073616d65210000000000000000000000000000000000600082015250565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60008201527f6578697374656e7420746f6b656e000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4c656e677468206f6620494420616e642044617461206172726179732069732060008201527f6e6f7420657175616c2100000000000000000000000000000000000000000000602082015250565b7f45524337323155524953746f726167653a2055524920717565727920666f722060008201527f6e6f6e6578697374656e7420746f6b656e000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f494420617272617973206e6f7420656d70747900000000000000000000000000600082015250565b614f468161462d565b8114614f5157600080fd5b50565b614f5d8161463f565b8114614f6857600080fd5b50565b614f748161464b565b8114614f7f57600080fd5b50565b614f8b81614697565b8114614f9657600080fd5b5056fea26469706673582212208806a0cefb24661943ac23debb9470b20de9ab4b0c3bd43bf5a587382d98c95b64736f6c63430008040033