ERC-721
Overview
Max Total Supply
1,017 0X3LANDERS
Holders
144
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
3 0X3LANDERSLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
OX3Lander
Compiler Version
v0.8.7+commit.e28d00a7
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.7; import "@openzeppelin/contracts/utils/Context.sol"; import "@openzeppelin/contracts/utils/introspection/ERC165.sol"; import "@openzeppelin/contracts/utils/introspection/IERC165.sol"; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Pausable.sol"; // File: contracts/OX3Lander.sol /** * @title OX3Lander contract * @dev Extends ERC721 Non-Fungible Token Standard basic implementation */ contract OX3Lander is ERC721Enumerable, Ownable, Pausable { using SafeMath for uint256; uint256 public constant MAX_SUPPLY = 10000; uint256 public constant FREE_MAX_SUPPLY = 1000; uint256 public constant MAX_PER_TX = 10; uint256 public constant MAX_PER_ADDRESS = 20; string public BASE_URI; bool public isSaleActive = false; uint256 public price = 0.01 ether; mapping(address => uint256) public purchased; constructor(string memory name, string memory symbol) ERC721(name, symbol) {} function setBaseURI(string memory baseURI) public onlyOwner { BASE_URI = baseURI; } function tokenURI(uint256 tokenId) public view override returns (string memory) { require(_exists(tokenId), "Token does not exist."); return string(abi.encodePacked(BASE_URI, Strings.toString(tokenId))); } function withdraw() public onlyOwner { uint256 balance = address(this).balance; payable(msg.sender).transfer(balance); } function flipSale() public onlyOwner { isSaleActive = !isSaleActive; } function publicSale(address _address, uint256 numberOfTokens) public payable onlyOwner { uint256 totalSupply = totalSupply(); require(isSaleActive, "Sale must be active to mint"); require(tx.origin == msg.sender, "Contract address not allowed"); require( totalSupply + numberOfTokens <= MAX_SUPPLY, "Exceed max supply" ); if (totalSupply + numberOfTokens < FREE_MAX_SUPPLY) { require(msg.value == 0, "Ether value sent is not correct"); } else if (totalSupply > FREE_MAX_SUPPLY) { require( price.mul(numberOfTokens) == msg.value, "Ether value sent is not correct" ); } else { require( price.mul(totalSupply + numberOfTokens - FREE_MAX_SUPPLY) == msg.value, "Ether value sent is not correct" ); } purchased[_address] += numberOfTokens; for (uint256 i = 0; i < numberOfTokens; i++) { _safeMint(_address, totalSupply + i); } } function mint(uint256 numberOfTokens) public payable whenNotPaused { uint256 totalSupply = totalSupply(); require(isSaleActive, "Sale must be active to mint"); require(tx.origin == msg.sender, "Contract address not allowed"); require(numberOfTokens <= MAX_PER_TX, "Exceeds max per transaction"); require( purchased[_msgSender()] + numberOfTokens <= MAX_PER_ADDRESS, "Exceeds per address supply" ); require( totalSupply + numberOfTokens <= MAX_SUPPLY, "Exceed max supply" ); if (totalSupply + numberOfTokens < FREE_MAX_SUPPLY) { require(msg.value == 0, "Ether value sent is not correct"); } else if (totalSupply > FREE_MAX_SUPPLY) { require( price.mul(numberOfTokens) == msg.value, "Ether value sent is not correct" ); } else { require( price.mul(totalSupply + numberOfTokens - FREE_MAX_SUPPLY) == msg.value, "Ether value sent is not correct" ); } purchased[_msgSender()] += numberOfTokens; for (uint256 i = 0; i < numberOfTokens; i++) { _safeMint(_msgSender(), totalSupply + i); } } function walletOfOwner(address _owner) public view returns (uint256[] memory) { uint256 tokenCount = balanceOf(_owner); if (tokenCount == 0) { return new uint256[](0); } uint256[] memory tokensId = new uint256[](tokenCount); for (uint256 i; i < tokenCount; i++) { tokensId[i] = tokenOfOwnerByIndex(_owner, i); } return tokensId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits a {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Enumerable.sol) pragma solidity ^0.8.0; import "../ERC721.sol"; import "./IERC721Enumerable.sol"; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` cannot be the zero address. * - `to` cannot be the zero address. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual override { super._beforeTokenTransfer(from, to, tokenId); if (from == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = ERC721.balanceOf(from) - 1; uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array delete _ownedTokensIndex[tokenId]; delete _ownedTokens[from][lastTokenIndex]; } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length - 1; uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array delete _allTokensIndex[tokenId]; _allTokens.pop(); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Enumerable.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 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); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/math/SafeMath.sol) pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Address.sol) pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/ERC20Pausable.sol) pragma solidity ^0.8.0; import "../ERC20.sol"; import "../../../security/Pausable.sol"; /** * @dev ERC20 token with pausable token transfers, minting and burning. * * Useful for scenarios such as preventing trades until the end of an evaluation * period, or having an emergency switch for freezing all token transfers in the * event of a large bug. */ abstract contract ERC20Pausable is ERC20, Pausable { /** * @dev See {ERC20-_beforeTokenTransfer}. * * Requirements: * * - the contract must not be paused. */ function _beforeTokenTransfer( address from, address to, uint256 amount ) internal virtual override { super._beforeTokenTransfer(from, to, amount); require(!paused(), "ERC20Pausable: token transfer while paused"); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/ERC20.sol) pragma solidity ^0.8.0; import "./IERC20.sol"; import "./extensions/IERC20Metadata.sol"; import "../../utils/Context.sol"; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin Contracts guidelines: functions revert * instead returning `false` on failure. This behavior is nonetheless * conventional and does not conflict with the expectations of ERC20 * applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20, IERC20Metadata { mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * The default value of {decimals} is 18. To select a different value for * {decimals} you should overload it. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5.05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless this function is * overridden; * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual override returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `recipient` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address recipient, uint256 amount) public virtual override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { _approve(_msgSender(), spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * Requirements: * * - `sender` and `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. * - the caller must have allowance for ``sender``'s tokens of at least * `amount`. */ function transferFrom( address sender, address recipient, uint256 amount ) public virtual override returns (bool) { _transfer(sender, recipient, amount); uint256 currentAllowance = _allowances[sender][_msgSender()]; require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance"); unchecked { _approve(sender, _msgSender(), currentAllowance - amount); } return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender] + addedValue); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { uint256 currentAllowance = _allowances[_msgSender()][spender]; require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(_msgSender(), spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `sender` to `recipient`. * * This internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `sender` cannot be the zero address. * - `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. */ function _transfer( address sender, address recipient, uint256 amount ) internal virtual { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(sender, recipient, amount); uint256 senderBalance = _balances[sender]; require(senderBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[sender] = senderBalance - amount; } _balances[recipient] += amount; emit Transfer(sender, recipient, amount); _afterTokenTransfer(sender, recipient, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply += amount; _balances[account] += amount; emit Transfer(address(0), account, amount); _afterTokenTransfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); unchecked { _balances[account] = accountBalance - amount; } _totalSupply -= amount; emit Transfer(account, address(0), amount); _afterTokenTransfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve( address owner, address spender, uint256 amount ) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens 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 amount ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * has been transferred to `to`. * - when `from` is zero, `amount` tokens have been minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens have been 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 _afterTokenTransfer( address from, address to, uint256 amount ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (security/Pausable.sol) 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()); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/IERC20.sol) 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); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.0; import "../IERC20.sol"; /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"BASE_URI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"FREE_MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_PER_ADDRESS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_PER_TX","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"flipSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isSaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"publicSale","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"purchased","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526000600c60006101000a81548160ff021916908315150217905550662386f26fc10000600d553480156200003757600080fd5b5060405162004cee38038062004cee83398181016040528101906200005d9190620002d2565b8181816000908051906020019062000077929190620001a4565b50806001908051906020019062000090929190620001a4565b505050620000b3620000a7620000d660201b60201c565b620000de60201b60201c565b6000600a60146101000a81548160ff0219169083151502179055505050620004db565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620001b290620003ec565b90600052602060002090601f016020900481019282620001d6576000855562000222565b82601f10620001f157805160ff191683800117855562000222565b8280016001018555821562000222579182015b828111156200022157825182559160200191906001019062000204565b5b50905062000231919062000235565b5090565b5b808211156200025057600081600090555060010162000236565b5090565b60006200026b620002658462000380565b62000357565b9050828152602081018484840111156200028a5762000289620004bb565b5b62000297848285620003b6565b509392505050565b600082601f830112620002b757620002b6620004b6565b5b8151620002c984826020860162000254565b91505092915050565b60008060408385031215620002ec57620002eb620004c5565b5b600083015167ffffffffffffffff8111156200030d576200030c620004c0565b5b6200031b858286016200029f565b925050602083015167ffffffffffffffff8111156200033f576200033e620004c0565b5b6200034d858286016200029f565b9150509250929050565b60006200036362000376565b905062000371828262000422565b919050565b6000604051905090565b600067ffffffffffffffff8211156200039e576200039d62000487565b5b620003a982620004ca565b9050602081019050919050565b60005b83811015620003d6578082015181840152602081019050620003b9565b83811115620003e6576000848401525b50505050565b600060028204905060018216806200040557607f821691505b602082108114156200041c576200041b62000458565b5b50919050565b6200042d82620004ca565b810181811067ffffffffffffffff821117156200044f576200044e62000487565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b61480380620004eb6000396000f3fe6080604052600436106101f95760003560e01c80635c975abb1161010d578063a035b1fe116100a0578063c87b56dd1161006f578063c87b56dd14610707578063dbddb26a14610744578063e985e9c51461076f578063f2fde38b146107ac578063f43a22dc146107d5576101f9565b8063a035b1fe1461066e578063a0712d6814610699578063a22cb465146106b5578063b88d4fde146106de576101f9565b80637ba5e621116100dc5780637ba5e621146105d65780638069876d146105ed5780638da5cb5b1461061857806395d89b4114610643576101f9565b80635c975abb1461051a5780636352211e1461054557806370a0823114610582578063715018a6146105bf576101f9565b806332cb6b0c116101905780634f6ccce71161015f5780634f6ccce714610430578063522fe98e1461046d57806355f804b3146104aa578063564566a8146104d3578063585fd73e146104fe576101f9565b806332cb6b0c146103885780633ccfd60b146103b357806342842e0e146103ca578063438b6300146103f3576101f9565b80630aaef285116101cc5780630aaef285146102cc57806318160ddd146102f757806323b872dd146103225780632f745c591461034b576101f9565b806301ffc9a7146101fe57806306fdde031461023b578063081812fc14610266578063095ea7b3146102a3575b600080fd5b34801561020a57600080fd5b506102256004803603810190610220919061324f565b610800565b604051610232919061390b565b60405180910390f35b34801561024757600080fd5b5061025061087a565b60405161025d9190613926565b60405180910390f35b34801561027257600080fd5b5061028d600480360381019061028891906132f2565b61090c565b60405161029a9190613882565b60405180910390f35b3480156102af57600080fd5b506102ca60048036038101906102c5919061320f565b610991565b005b3480156102d857600080fd5b506102e1610aa9565b6040516102ee9190613c68565b60405180910390f35b34801561030357600080fd5b5061030c610aae565b6040516103199190613c68565b60405180910390f35b34801561032e57600080fd5b50610349600480360381019061034491906130f9565b610abb565b005b34801561035757600080fd5b50610372600480360381019061036d919061320f565b610b1b565b60405161037f9190613c68565b60405180910390f35b34801561039457600080fd5b5061039d610bc0565b6040516103aa9190613c68565b60405180910390f35b3480156103bf57600080fd5b506103c8610bc6565b005b3480156103d657600080fd5b506103f160048036038101906103ec91906130f9565b610c91565b005b3480156103ff57600080fd5b5061041a6004803603810190610415919061308c565b610cb1565b60405161042791906138e9565b60405180910390f35b34801561043c57600080fd5b50610457600480360381019061045291906132f2565b610dbb565b6040516104649190613c68565b60405180910390f35b34801561047957600080fd5b50610494600480360381019061048f919061308c565b610e2c565b6040516104a19190613c68565b60405180910390f35b3480156104b657600080fd5b506104d160048036038101906104cc91906132a9565b610e44565b005b3480156104df57600080fd5b506104e8610eda565b6040516104f5919061390b565b60405180910390f35b6105186004803603810190610513919061320f565b610eed565b005b34801561052657600080fd5b5061052f611243565b60405161053c919061390b565b60405180910390f35b34801561055157600080fd5b5061056c600480360381019061056791906132f2565b61125a565b6040516105799190613882565b60405180910390f35b34801561058e57600080fd5b506105a960048036038101906105a4919061308c565b61130c565b6040516105b69190613c68565b60405180910390f35b3480156105cb57600080fd5b506105d46113c4565b005b3480156105e257600080fd5b506105eb61144c565b005b3480156105f957600080fd5b506106026114f4565b60405161060f9190613c68565b60405180910390f35b34801561062457600080fd5b5061062d6114fa565b60405161063a9190613882565b60405180910390f35b34801561064f57600080fd5b50610658611524565b6040516106659190613926565b60405180910390f35b34801561067a57600080fd5b506106836115b6565b6040516106909190613c68565b60405180910390f35b6106b360048036038101906106ae91906132f2565b6115bc565b005b3480156106c157600080fd5b506106dc60048036038101906106d791906131cf565b6119c4565b005b3480156106ea57600080fd5b506107056004803603810190610700919061314c565b6119da565b005b34801561071357600080fd5b5061072e600480360381019061072991906132f2565b611a3c565b60405161073b9190613926565b60405180910390f35b34801561075057600080fd5b50610759611ab8565b6040516107669190613926565b60405180910390f35b34801561077b57600080fd5b50610796600480360381019061079191906130b9565b611b46565b6040516107a3919061390b565b60405180910390f35b3480156107b857600080fd5b506107d360048036038101906107ce919061308c565b611bda565b005b3480156107e157600080fd5b506107ea611cd2565b6040516107f79190613c68565b60405180910390f35b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610873575061087282611cd7565b5b9050919050565b60606000805461088990613f66565b80601f01602080910402602001604051908101604052809291908181526020018280546108b590613f66565b80156109025780601f106108d757610100808354040283529160200191610902565b820191906000526020600020905b8154815290600101906020018083116108e557829003601f168201915b5050505050905090565b600061091782611db9565b610956576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161094d90613b68565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061099c8261125a565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610a0d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0490613bc8565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610a2c611e25565b73ffffffffffffffffffffffffffffffffffffffff161480610a5b5750610a5a81610a55611e25565b611b46565b5b610a9a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a9190613aa8565b60405180910390fd5b610aa48383611e2d565b505050565b601481565b6000600880549050905090565b610acc610ac6611e25565b82611ee6565b610b0b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b0290613c28565b60405180910390fd5b610b16838383611fc4565b505050565b6000610b268361130c565b8210610b67576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b5e90613968565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b61271081565b610bce611e25565b73ffffffffffffffffffffffffffffffffffffffff16610bec6114fa565b73ffffffffffffffffffffffffffffffffffffffff1614610c42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c3990613b88565b60405180910390fd5b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610c8d573d6000803e3d6000fd5b5050565b610cac838383604051806020016040528060008152506119da565b505050565b60606000610cbe8361130c565b90506000811415610d1b57600067ffffffffffffffff811115610ce457610ce361412e565b5b604051908082528060200260200182016040528015610d125781602001602082028036833780820191505090505b50915050610db6565b60008167ffffffffffffffff811115610d3757610d3661412e565b5b604051908082528060200260200182016040528015610d655781602001602082028036833780820191505090505b50905060005b82811015610daf57610d7d8582610b1b565b828281518110610d9057610d8f6140ff565b5b6020026020010181815250508080610da790613fc9565b915050610d6b565b5080925050505b919050565b6000610dc5610aae565b8210610e06576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dfd90613c48565b60405180910390fd5b60088281548110610e1a57610e196140ff565b5b90600052602060002001549050919050565b600e6020528060005260406000206000915090505481565b610e4c611e25565b73ffffffffffffffffffffffffffffffffffffffff16610e6a6114fa565b73ffffffffffffffffffffffffffffffffffffffff1614610ec0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eb790613b88565b60405180910390fd5b80600b9080519060200190610ed6929190612ea0565b5050565b600c60009054906101000a900460ff1681565b610ef5611e25565b73ffffffffffffffffffffffffffffffffffffffff16610f136114fa565b73ffffffffffffffffffffffffffffffffffffffff1614610f69576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f6090613b88565b60405180910390fd5b6000610f73610aae565b9050600c60009054906101000a900460ff16610fc4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fbb90613a48565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614611032576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161102990613948565b60405180910390fd5b61271082826110419190613d9b565b1115611082576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161107990613b48565b60405180910390fd5b6103e882826110919190613d9b565b10156110df57600034146110da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110d190613a28565b60405180910390fd5b6111b4565b6103e881111561114457346110ff83600d5461222090919063ffffffff16565b1461113f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161113690613a28565b60405180910390fd5b6111b3565b346111726103e884846111579190613d9b565b6111619190613e7c565b600d5461222090919063ffffffff16565b146111b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111a990613a28565b60405180910390fd5b5b5b81600e60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546112039190613d9b565b9250508190555060005b8281101561123d5761122a8482846112259190613d9b565b612236565b808061123590613fc9565b91505061120d565b50505050565b6000600a60149054906101000a900460ff16905090565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611303576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112fa90613ae8565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561137d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161137490613ac8565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6113cc611e25565b73ffffffffffffffffffffffffffffffffffffffff166113ea6114fa565b73ffffffffffffffffffffffffffffffffffffffff1614611440576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161143790613b88565b60405180910390fd5b61144a6000612254565b565b611454611e25565b73ffffffffffffffffffffffffffffffffffffffff166114726114fa565b73ffffffffffffffffffffffffffffffffffffffff16146114c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114bf90613b88565b60405180910390fd5b600c60009054906101000a900460ff1615600c60006101000a81548160ff021916908315150217905550565b6103e881565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606001805461153390613f66565b80601f016020809104026020016040519081016040528092919081815260200182805461155f90613f66565b80156115ac5780601f10611581576101008083540402835291602001916115ac565b820191906000526020600020905b81548152906001019060200180831161158f57829003601f168201915b5050505050905090565b600d5481565b6115c4611243565b15611604576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115fb90613a88565b60405180910390fd5b600061160e610aae565b9050600c60009054906101000a900460ff1661165f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161165690613a48565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff16146116cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116c490613948565b60405180910390fd5b600a821115611711576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161170890613c08565b60405180910390fd5b601482600e6000611720611e25565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546117659190613d9b565b11156117a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161179d90613be8565b60405180910390fd5b61271082826117b59190613d9b565b11156117f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117ed90613b48565b60405180910390fd5b6103e882826118059190613d9b565b1015611853576000341461184e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161184590613a28565b60405180910390fd5b611928565b6103e88111156118b8573461187383600d5461222090919063ffffffff16565b146118b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118aa90613a28565b60405180910390fd5b611927565b346118e66103e884846118cb9190613d9b565b6118d59190613e7c565b600d5461222090919063ffffffff16565b14611926576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161191d90613a28565b60405180910390fd5b5b5b81600e6000611935611e25565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461197e9190613d9b565b9250508190555060005b828110156119bf576119ac61199b611e25565b82846119a79190613d9b565b612236565b80806119b790613fc9565b915050611988565b505050565b6119d66119cf611e25565b838361231a565b5050565b6119eb6119e5611e25565b83611ee6565b611a2a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a2190613c28565b60405180910390fd5b611a3684848484612487565b50505050565b6060611a4782611db9565b611a86576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a7d90613b28565b60405180910390fd5b600b611a91836124e3565b604051602001611aa292919061385e565b6040516020818303038152906040529050919050565b600b8054611ac590613f66565b80601f0160208091040260200160405190810160405280929190818152602001828054611af190613f66565b8015611b3e5780601f10611b1357610100808354040283529160200191611b3e565b820191906000526020600020905b815481529060010190602001808311611b2157829003601f168201915b505050505081565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611be2611e25565b73ffffffffffffffffffffffffffffffffffffffff16611c006114fa565b73ffffffffffffffffffffffffffffffffffffffff1614611c56576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c4d90613b88565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611cc6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cbd906139a8565b60405180910390fd5b611ccf81612254565b50565b600a81565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611da257507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611db25750611db182612644565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611ea08361125a565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611ef182611db9565b611f30576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f2790613a68565b60405180910390fd5b6000611f3b8361125a565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611faa57508373ffffffffffffffffffffffffffffffffffffffff16611f928461090c565b73ffffffffffffffffffffffffffffffffffffffff16145b80611fbb5750611fba8185611b46565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611fe48261125a565b73ffffffffffffffffffffffffffffffffffffffff161461203a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161203190613ba8565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156120aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120a1906139e8565b60405180910390fd5b6120b58383836126ae565b6120c0600082611e2d565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546121109190613e7c565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546121679190613d9b565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000818361222e9190613e22565b905092915050565b6122508282604051806020016040528060008152506127c2565b5050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612389576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161238090613a08565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161247a919061390b565b60405180910390a3505050565b612492848484611fc4565b61249e8484848461281d565b6124dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124d490613988565b60405180910390fd5b50505050565b6060600082141561252b576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061263f565b600082905060005b6000821461255d57808061254690613fc9565b915050600a826125569190613df1565b9150612533565b60008167ffffffffffffffff8111156125795761257861412e565b5b6040519080825280601f01601f1916602001820160405280156125ab5781602001600182028036833780820191505090505b5090505b60008514612638576001826125c49190613e7c565b9150600a856125d39190614012565b60306125df9190613d9b565b60f81b8183815181106125f5576125f46140ff565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856126319190613df1565b94506125af565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6126b98383836129b4565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156126fc576126f7816129b9565b61273b565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461273a576127398382612a02565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561277e5761277981612b6f565b6127bd565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146127bc576127bb8282612c40565b5b5b505050565b6127cc8383612cbf565b6127d9600084848461281d565b612818576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161280f90613988565b60405180910390fd5b505050565b600061283e8473ffffffffffffffffffffffffffffffffffffffff16612e8d565b156129a7578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612867611e25565b8786866040518563ffffffff1660e01b8152600401612889949392919061389d565b602060405180830381600087803b1580156128a357600080fd5b505af19250505080156128d457506040513d601f19601f820116820180604052508101906128d1919061327c565b60015b612957573d8060008114612904576040519150601f19603f3d011682016040523d82523d6000602084013e612909565b606091505b5060008151141561294f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161294690613988565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506129ac565b600190505b949350505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001612a0f8461130c565b612a199190613e7c565b9050600060076000848152602001908152602001600020549050818114612afe576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050612b839190613e7c565b9050600060096000848152602001908152602001600020549050600060088381548110612bb357612bb26140ff565b5b906000526020600020015490508060088381548110612bd557612bd46140ff565b5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480612c2457612c236140d0565b5b6001900381819060005260206000200160009055905550505050565b6000612c4b8361130c565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612d2f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d2690613b08565b60405180910390fd5b612d3881611db9565b15612d78576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d6f906139c8565b60405180910390fd5b612d84600083836126ae565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612dd49190613d9b565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b828054612eac90613f66565b90600052602060002090601f016020900481019282612ece5760008555612f15565b82601f10612ee757805160ff1916838001178555612f15565b82800160010185558215612f15579182015b82811115612f14578251825591602001919060010190612ef9565b5b509050612f229190612f26565b5090565b5b80821115612f3f576000816000905550600101612f27565b5090565b6000612f56612f5184613ca8565b613c83565b905082815260208101848484011115612f7257612f71614162565b5b612f7d848285613f24565b509392505050565b6000612f98612f9384613cd9565b613c83565b905082815260208101848484011115612fb457612fb3614162565b5b612fbf848285613f24565b509392505050565b600081359050612fd681614771565b92915050565b600081359050612feb81614788565b92915050565b6000813590506130008161479f565b92915050565b6000815190506130158161479f565b92915050565b600082601f8301126130305761302f61415d565b5b8135613040848260208601612f43565b91505092915050565b600082601f83011261305e5761305d61415d565b5b813561306e848260208601612f85565b91505092915050565b600081359050613086816147b6565b92915050565b6000602082840312156130a2576130a161416c565b5b60006130b084828501612fc7565b91505092915050565b600080604083850312156130d0576130cf61416c565b5b60006130de85828601612fc7565b92505060206130ef85828601612fc7565b9150509250929050565b6000806000606084860312156131125761311161416c565b5b600061312086828701612fc7565b935050602061313186828701612fc7565b925050604061314286828701613077565b9150509250925092565b600080600080608085870312156131665761316561416c565b5b600061317487828801612fc7565b945050602061318587828801612fc7565b935050604061319687828801613077565b925050606085013567ffffffffffffffff8111156131b7576131b6614167565b5b6131c38782880161301b565b91505092959194509250565b600080604083850312156131e6576131e561416c565b5b60006131f485828601612fc7565b925050602061320585828601612fdc565b9150509250929050565b600080604083850312156132265761322561416c565b5b600061323485828601612fc7565b925050602061324585828601613077565b9150509250929050565b6000602082840312156132655761326461416c565b5b600061327384828501612ff1565b91505092915050565b6000602082840312156132925761329161416c565b5b60006132a084828501613006565b91505092915050565b6000602082840312156132bf576132be61416c565b5b600082013567ffffffffffffffff8111156132dd576132dc614167565b5b6132e984828501613049565b91505092915050565b6000602082840312156133085761330761416c565b5b600061331684828501613077565b91505092915050565b600061332b8383613840565b60208301905092915050565b61334081613eb0565b82525050565b600061335182613d2f565b61335b8185613d5d565b935061336683613d0a565b8060005b8381101561339757815161337e888261331f565b975061338983613d50565b92505060018101905061336a565b5085935050505092915050565b6133ad81613ec2565b82525050565b60006133be82613d3a565b6133c88185613d6e565b93506133d8818560208601613f33565b6133e181614171565b840191505092915050565b60006133f782613d45565b6134018185613d7f565b9350613411818560208601613f33565b61341a81614171565b840191505092915050565b600061343082613d45565b61343a8185613d90565b935061344a818560208601613f33565b80840191505092915050565b6000815461346381613f66565b61346d8186613d90565b945060018216600081146134885760018114613499576134cc565b60ff198316865281860193506134cc565b6134a285613d1a565b60005b838110156134c4578154818901526001820191506020810190506134a5565b838801955050505b50505092915050565b60006134e2601c83613d7f565b91506134ed82614182565b602082019050919050565b6000613505602b83613d7f565b9150613510826141ab565b604082019050919050565b6000613528603283613d7f565b9150613533826141fa565b604082019050919050565b600061354b602683613d7f565b915061355682614249565b604082019050919050565b600061356e601c83613d7f565b915061357982614298565b602082019050919050565b6000613591602483613d7f565b915061359c826142c1565b604082019050919050565b60006135b4601983613d7f565b91506135bf82614310565b602082019050919050565b60006135d7601f83613d7f565b91506135e282614339565b602082019050919050565b60006135fa601b83613d7f565b915061360582614362565b602082019050919050565b600061361d602c83613d7f565b91506136288261438b565b604082019050919050565b6000613640601083613d7f565b915061364b826143da565b602082019050919050565b6000613663603883613d7f565b915061366e82614403565b604082019050919050565b6000613686602a83613d7f565b915061369182614452565b604082019050919050565b60006136a9602983613d7f565b91506136b4826144a1565b604082019050919050565b60006136cc602083613d7f565b91506136d7826144f0565b602082019050919050565b60006136ef601583613d7f565b91506136fa82614519565b602082019050919050565b6000613712601183613d7f565b915061371d82614542565b602082019050919050565b6000613735602c83613d7f565b91506137408261456b565b604082019050919050565b6000613758602083613d7f565b9150613763826145ba565b602082019050919050565b600061377b602983613d7f565b9150613786826145e3565b604082019050919050565b600061379e602183613d7f565b91506137a982614632565b604082019050919050565b60006137c1601a83613d7f565b91506137cc82614681565b602082019050919050565b60006137e4601b83613d7f565b91506137ef826146aa565b602082019050919050565b6000613807603183613d7f565b9150613812826146d3565b604082019050919050565b600061382a602c83613d7f565b915061383582614722565b604082019050919050565b61384981613f1a565b82525050565b61385881613f1a565b82525050565b600061386a8285613456565b91506138768284613425565b91508190509392505050565b60006020820190506138976000830184613337565b92915050565b60006080820190506138b26000830187613337565b6138bf6020830186613337565b6138cc604083018561384f565b81810360608301526138de81846133b3565b905095945050505050565b600060208201905081810360008301526139038184613346565b905092915050565b600060208201905061392060008301846133a4565b92915050565b6000602082019050818103600083015261394081846133ec565b905092915050565b60006020820190508181036000830152613961816134d5565b9050919050565b60006020820190508181036000830152613981816134f8565b9050919050565b600060208201905081810360008301526139a18161351b565b9050919050565b600060208201905081810360008301526139c18161353e565b9050919050565b600060208201905081810360008301526139e181613561565b9050919050565b60006020820190508181036000830152613a0181613584565b9050919050565b60006020820190508181036000830152613a21816135a7565b9050919050565b60006020820190508181036000830152613a41816135ca565b9050919050565b60006020820190508181036000830152613a61816135ed565b9050919050565b60006020820190508181036000830152613a8181613610565b9050919050565b60006020820190508181036000830152613aa181613633565b9050919050565b60006020820190508181036000830152613ac181613656565b9050919050565b60006020820190508181036000830152613ae181613679565b9050919050565b60006020820190508181036000830152613b018161369c565b9050919050565b60006020820190508181036000830152613b21816136bf565b9050919050565b60006020820190508181036000830152613b41816136e2565b9050919050565b60006020820190508181036000830152613b6181613705565b9050919050565b60006020820190508181036000830152613b8181613728565b9050919050565b60006020820190508181036000830152613ba18161374b565b9050919050565b60006020820190508181036000830152613bc18161376e565b9050919050565b60006020820190508181036000830152613be181613791565b9050919050565b60006020820190508181036000830152613c01816137b4565b9050919050565b60006020820190508181036000830152613c21816137d7565b9050919050565b60006020820190508181036000830152613c41816137fa565b9050919050565b60006020820190508181036000830152613c618161381d565b9050919050565b6000602082019050613c7d600083018461384f565b92915050565b6000613c8d613c9e565b9050613c998282613f98565b919050565b6000604051905090565b600067ffffffffffffffff821115613cc357613cc261412e565b5b613ccc82614171565b9050602081019050919050565b600067ffffffffffffffff821115613cf457613cf361412e565b5b613cfd82614171565b9050602081019050919050565b6000819050602082019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000613da682613f1a565b9150613db183613f1a565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613de657613de5614043565b5b828201905092915050565b6000613dfc82613f1a565b9150613e0783613f1a565b925082613e1757613e16614072565b5b828204905092915050565b6000613e2d82613f1a565b9150613e3883613f1a565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613e7157613e70614043565b5b828202905092915050565b6000613e8782613f1a565b9150613e9283613f1a565b925082821015613ea557613ea4614043565b5b828203905092915050565b6000613ebb82613efa565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015613f51578082015181840152602081019050613f36565b83811115613f60576000848401525b50505050565b60006002820490506001821680613f7e57607f821691505b60208210811415613f9257613f916140a1565b5b50919050565b613fa182614171565b810181811067ffffffffffffffff82111715613fc057613fbf61412e565b5b80604052505050565b6000613fd482613f1a565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561400757614006614043565b5b600182019050919050565b600061401d82613f1a565b915061402883613f1a565b92508261403857614037614072565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f436f6e74726163742061646472657373206e6f7420616c6c6f77656400000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f45746865722076616c75652073656e74206973206e6f7420636f727265637400600082015250565b7f53616c65206d7573742062652061637469766520746f206d696e740000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f546f6b656e20646f6573206e6f742065786973742e0000000000000000000000600082015250565b7f457863656564206d617820737570706c79000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4578636565647320706572206164647265737320737570706c79000000000000600082015250565b7f45786365656473206d617820706572207472616e73616374696f6e0000000000600082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b61477a81613eb0565b811461478557600080fd5b50565b61479181613ec2565b811461479c57600080fd5b50565b6147a881613ece565b81146147b357600080fd5b50565b6147bf81613f1a565b81146147ca57600080fd5b5056fea26469706673582212203d3f2cf3298dc614a2ae3d3e8218a7f9c8715ade16171430c91b51070d51383564736f6c6343000807003300000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000a3078334c616e6465727300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a3058334c414e4445525300000000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106101f95760003560e01c80635c975abb1161010d578063a035b1fe116100a0578063c87b56dd1161006f578063c87b56dd14610707578063dbddb26a14610744578063e985e9c51461076f578063f2fde38b146107ac578063f43a22dc146107d5576101f9565b8063a035b1fe1461066e578063a0712d6814610699578063a22cb465146106b5578063b88d4fde146106de576101f9565b80637ba5e621116100dc5780637ba5e621146105d65780638069876d146105ed5780638da5cb5b1461061857806395d89b4114610643576101f9565b80635c975abb1461051a5780636352211e1461054557806370a0823114610582578063715018a6146105bf576101f9565b806332cb6b0c116101905780634f6ccce71161015f5780634f6ccce714610430578063522fe98e1461046d57806355f804b3146104aa578063564566a8146104d3578063585fd73e146104fe576101f9565b806332cb6b0c146103885780633ccfd60b146103b357806342842e0e146103ca578063438b6300146103f3576101f9565b80630aaef285116101cc5780630aaef285146102cc57806318160ddd146102f757806323b872dd146103225780632f745c591461034b576101f9565b806301ffc9a7146101fe57806306fdde031461023b578063081812fc14610266578063095ea7b3146102a3575b600080fd5b34801561020a57600080fd5b506102256004803603810190610220919061324f565b610800565b604051610232919061390b565b60405180910390f35b34801561024757600080fd5b5061025061087a565b60405161025d9190613926565b60405180910390f35b34801561027257600080fd5b5061028d600480360381019061028891906132f2565b61090c565b60405161029a9190613882565b60405180910390f35b3480156102af57600080fd5b506102ca60048036038101906102c5919061320f565b610991565b005b3480156102d857600080fd5b506102e1610aa9565b6040516102ee9190613c68565b60405180910390f35b34801561030357600080fd5b5061030c610aae565b6040516103199190613c68565b60405180910390f35b34801561032e57600080fd5b50610349600480360381019061034491906130f9565b610abb565b005b34801561035757600080fd5b50610372600480360381019061036d919061320f565b610b1b565b60405161037f9190613c68565b60405180910390f35b34801561039457600080fd5b5061039d610bc0565b6040516103aa9190613c68565b60405180910390f35b3480156103bf57600080fd5b506103c8610bc6565b005b3480156103d657600080fd5b506103f160048036038101906103ec91906130f9565b610c91565b005b3480156103ff57600080fd5b5061041a6004803603810190610415919061308c565b610cb1565b60405161042791906138e9565b60405180910390f35b34801561043c57600080fd5b50610457600480360381019061045291906132f2565b610dbb565b6040516104649190613c68565b60405180910390f35b34801561047957600080fd5b50610494600480360381019061048f919061308c565b610e2c565b6040516104a19190613c68565b60405180910390f35b3480156104b657600080fd5b506104d160048036038101906104cc91906132a9565b610e44565b005b3480156104df57600080fd5b506104e8610eda565b6040516104f5919061390b565b60405180910390f35b6105186004803603810190610513919061320f565b610eed565b005b34801561052657600080fd5b5061052f611243565b60405161053c919061390b565b60405180910390f35b34801561055157600080fd5b5061056c600480360381019061056791906132f2565b61125a565b6040516105799190613882565b60405180910390f35b34801561058e57600080fd5b506105a960048036038101906105a4919061308c565b61130c565b6040516105b69190613c68565b60405180910390f35b3480156105cb57600080fd5b506105d46113c4565b005b3480156105e257600080fd5b506105eb61144c565b005b3480156105f957600080fd5b506106026114f4565b60405161060f9190613c68565b60405180910390f35b34801561062457600080fd5b5061062d6114fa565b60405161063a9190613882565b60405180910390f35b34801561064f57600080fd5b50610658611524565b6040516106659190613926565b60405180910390f35b34801561067a57600080fd5b506106836115b6565b6040516106909190613c68565b60405180910390f35b6106b360048036038101906106ae91906132f2565b6115bc565b005b3480156106c157600080fd5b506106dc60048036038101906106d791906131cf565b6119c4565b005b3480156106ea57600080fd5b506107056004803603810190610700919061314c565b6119da565b005b34801561071357600080fd5b5061072e600480360381019061072991906132f2565b611a3c565b60405161073b9190613926565b60405180910390f35b34801561075057600080fd5b50610759611ab8565b6040516107669190613926565b60405180910390f35b34801561077b57600080fd5b50610796600480360381019061079191906130b9565b611b46565b6040516107a3919061390b565b60405180910390f35b3480156107b857600080fd5b506107d360048036038101906107ce919061308c565b611bda565b005b3480156107e157600080fd5b506107ea611cd2565b6040516107f79190613c68565b60405180910390f35b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610873575061087282611cd7565b5b9050919050565b60606000805461088990613f66565b80601f01602080910402602001604051908101604052809291908181526020018280546108b590613f66565b80156109025780601f106108d757610100808354040283529160200191610902565b820191906000526020600020905b8154815290600101906020018083116108e557829003601f168201915b5050505050905090565b600061091782611db9565b610956576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161094d90613b68565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061099c8261125a565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610a0d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0490613bc8565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610a2c611e25565b73ffffffffffffffffffffffffffffffffffffffff161480610a5b5750610a5a81610a55611e25565b611b46565b5b610a9a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a9190613aa8565b60405180910390fd5b610aa48383611e2d565b505050565b601481565b6000600880549050905090565b610acc610ac6611e25565b82611ee6565b610b0b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b0290613c28565b60405180910390fd5b610b16838383611fc4565b505050565b6000610b268361130c565b8210610b67576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b5e90613968565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b61271081565b610bce611e25565b73ffffffffffffffffffffffffffffffffffffffff16610bec6114fa565b73ffffffffffffffffffffffffffffffffffffffff1614610c42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c3990613b88565b60405180910390fd5b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610c8d573d6000803e3d6000fd5b5050565b610cac838383604051806020016040528060008152506119da565b505050565b60606000610cbe8361130c565b90506000811415610d1b57600067ffffffffffffffff811115610ce457610ce361412e565b5b604051908082528060200260200182016040528015610d125781602001602082028036833780820191505090505b50915050610db6565b60008167ffffffffffffffff811115610d3757610d3661412e565b5b604051908082528060200260200182016040528015610d655781602001602082028036833780820191505090505b50905060005b82811015610daf57610d7d8582610b1b565b828281518110610d9057610d8f6140ff565b5b6020026020010181815250508080610da790613fc9565b915050610d6b565b5080925050505b919050565b6000610dc5610aae565b8210610e06576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dfd90613c48565b60405180910390fd5b60088281548110610e1a57610e196140ff565b5b90600052602060002001549050919050565b600e6020528060005260406000206000915090505481565b610e4c611e25565b73ffffffffffffffffffffffffffffffffffffffff16610e6a6114fa565b73ffffffffffffffffffffffffffffffffffffffff1614610ec0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eb790613b88565b60405180910390fd5b80600b9080519060200190610ed6929190612ea0565b5050565b600c60009054906101000a900460ff1681565b610ef5611e25565b73ffffffffffffffffffffffffffffffffffffffff16610f136114fa565b73ffffffffffffffffffffffffffffffffffffffff1614610f69576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f6090613b88565b60405180910390fd5b6000610f73610aae565b9050600c60009054906101000a900460ff16610fc4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fbb90613a48565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614611032576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161102990613948565b60405180910390fd5b61271082826110419190613d9b565b1115611082576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161107990613b48565b60405180910390fd5b6103e882826110919190613d9b565b10156110df57600034146110da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110d190613a28565b60405180910390fd5b6111b4565b6103e881111561114457346110ff83600d5461222090919063ffffffff16565b1461113f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161113690613a28565b60405180910390fd5b6111b3565b346111726103e884846111579190613d9b565b6111619190613e7c565b600d5461222090919063ffffffff16565b146111b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111a990613a28565b60405180910390fd5b5b5b81600e60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546112039190613d9b565b9250508190555060005b8281101561123d5761122a8482846112259190613d9b565b612236565b808061123590613fc9565b91505061120d565b50505050565b6000600a60149054906101000a900460ff16905090565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611303576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112fa90613ae8565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561137d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161137490613ac8565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6113cc611e25565b73ffffffffffffffffffffffffffffffffffffffff166113ea6114fa565b73ffffffffffffffffffffffffffffffffffffffff1614611440576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161143790613b88565b60405180910390fd5b61144a6000612254565b565b611454611e25565b73ffffffffffffffffffffffffffffffffffffffff166114726114fa565b73ffffffffffffffffffffffffffffffffffffffff16146114c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114bf90613b88565b60405180910390fd5b600c60009054906101000a900460ff1615600c60006101000a81548160ff021916908315150217905550565b6103e881565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606001805461153390613f66565b80601f016020809104026020016040519081016040528092919081815260200182805461155f90613f66565b80156115ac5780601f10611581576101008083540402835291602001916115ac565b820191906000526020600020905b81548152906001019060200180831161158f57829003601f168201915b5050505050905090565b600d5481565b6115c4611243565b15611604576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115fb90613a88565b60405180910390fd5b600061160e610aae565b9050600c60009054906101000a900460ff1661165f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161165690613a48565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff16146116cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116c490613948565b60405180910390fd5b600a821115611711576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161170890613c08565b60405180910390fd5b601482600e6000611720611e25565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546117659190613d9b565b11156117a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161179d90613be8565b60405180910390fd5b61271082826117b59190613d9b565b11156117f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117ed90613b48565b60405180910390fd5b6103e882826118059190613d9b565b1015611853576000341461184e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161184590613a28565b60405180910390fd5b611928565b6103e88111156118b8573461187383600d5461222090919063ffffffff16565b146118b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118aa90613a28565b60405180910390fd5b611927565b346118e66103e884846118cb9190613d9b565b6118d59190613e7c565b600d5461222090919063ffffffff16565b14611926576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161191d90613a28565b60405180910390fd5b5b5b81600e6000611935611e25565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461197e9190613d9b565b9250508190555060005b828110156119bf576119ac61199b611e25565b82846119a79190613d9b565b612236565b80806119b790613fc9565b915050611988565b505050565b6119d66119cf611e25565b838361231a565b5050565b6119eb6119e5611e25565b83611ee6565b611a2a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a2190613c28565b60405180910390fd5b611a3684848484612487565b50505050565b6060611a4782611db9565b611a86576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a7d90613b28565b60405180910390fd5b600b611a91836124e3565b604051602001611aa292919061385e565b6040516020818303038152906040529050919050565b600b8054611ac590613f66565b80601f0160208091040260200160405190810160405280929190818152602001828054611af190613f66565b8015611b3e5780601f10611b1357610100808354040283529160200191611b3e565b820191906000526020600020905b815481529060010190602001808311611b2157829003601f168201915b505050505081565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611be2611e25565b73ffffffffffffffffffffffffffffffffffffffff16611c006114fa565b73ffffffffffffffffffffffffffffffffffffffff1614611c56576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c4d90613b88565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611cc6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cbd906139a8565b60405180910390fd5b611ccf81612254565b50565b600a81565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611da257507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611db25750611db182612644565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611ea08361125a565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611ef182611db9565b611f30576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f2790613a68565b60405180910390fd5b6000611f3b8361125a565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611faa57508373ffffffffffffffffffffffffffffffffffffffff16611f928461090c565b73ffffffffffffffffffffffffffffffffffffffff16145b80611fbb5750611fba8185611b46565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611fe48261125a565b73ffffffffffffffffffffffffffffffffffffffff161461203a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161203190613ba8565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156120aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120a1906139e8565b60405180910390fd5b6120b58383836126ae565b6120c0600082611e2d565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546121109190613e7c565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546121679190613d9b565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000818361222e9190613e22565b905092915050565b6122508282604051806020016040528060008152506127c2565b5050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612389576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161238090613a08565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161247a919061390b565b60405180910390a3505050565b612492848484611fc4565b61249e8484848461281d565b6124dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124d490613988565b60405180910390fd5b50505050565b6060600082141561252b576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061263f565b600082905060005b6000821461255d57808061254690613fc9565b915050600a826125569190613df1565b9150612533565b60008167ffffffffffffffff8111156125795761257861412e565b5b6040519080825280601f01601f1916602001820160405280156125ab5781602001600182028036833780820191505090505b5090505b60008514612638576001826125c49190613e7c565b9150600a856125d39190614012565b60306125df9190613d9b565b60f81b8183815181106125f5576125f46140ff565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856126319190613df1565b94506125af565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6126b98383836129b4565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156126fc576126f7816129b9565b61273b565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461273a576127398382612a02565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561277e5761277981612b6f565b6127bd565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146127bc576127bb8282612c40565b5b5b505050565b6127cc8383612cbf565b6127d9600084848461281d565b612818576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161280f90613988565b60405180910390fd5b505050565b600061283e8473ffffffffffffffffffffffffffffffffffffffff16612e8d565b156129a7578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612867611e25565b8786866040518563ffffffff1660e01b8152600401612889949392919061389d565b602060405180830381600087803b1580156128a357600080fd5b505af19250505080156128d457506040513d601f19601f820116820180604052508101906128d1919061327c565b60015b612957573d8060008114612904576040519150601f19603f3d011682016040523d82523d6000602084013e612909565b606091505b5060008151141561294f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161294690613988565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506129ac565b600190505b949350505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001612a0f8461130c565b612a199190613e7c565b9050600060076000848152602001908152602001600020549050818114612afe576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050612b839190613e7c565b9050600060096000848152602001908152602001600020549050600060088381548110612bb357612bb26140ff565b5b906000526020600020015490508060088381548110612bd557612bd46140ff565b5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480612c2457612c236140d0565b5b6001900381819060005260206000200160009055905550505050565b6000612c4b8361130c565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612d2f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d2690613b08565b60405180910390fd5b612d3881611db9565b15612d78576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d6f906139c8565b60405180910390fd5b612d84600083836126ae565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612dd49190613d9b565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b828054612eac90613f66565b90600052602060002090601f016020900481019282612ece5760008555612f15565b82601f10612ee757805160ff1916838001178555612f15565b82800160010185558215612f15579182015b82811115612f14578251825591602001919060010190612ef9565b5b509050612f229190612f26565b5090565b5b80821115612f3f576000816000905550600101612f27565b5090565b6000612f56612f5184613ca8565b613c83565b905082815260208101848484011115612f7257612f71614162565b5b612f7d848285613f24565b509392505050565b6000612f98612f9384613cd9565b613c83565b905082815260208101848484011115612fb457612fb3614162565b5b612fbf848285613f24565b509392505050565b600081359050612fd681614771565b92915050565b600081359050612feb81614788565b92915050565b6000813590506130008161479f565b92915050565b6000815190506130158161479f565b92915050565b600082601f8301126130305761302f61415d565b5b8135613040848260208601612f43565b91505092915050565b600082601f83011261305e5761305d61415d565b5b813561306e848260208601612f85565b91505092915050565b600081359050613086816147b6565b92915050565b6000602082840312156130a2576130a161416c565b5b60006130b084828501612fc7565b91505092915050565b600080604083850312156130d0576130cf61416c565b5b60006130de85828601612fc7565b92505060206130ef85828601612fc7565b9150509250929050565b6000806000606084860312156131125761311161416c565b5b600061312086828701612fc7565b935050602061313186828701612fc7565b925050604061314286828701613077565b9150509250925092565b600080600080608085870312156131665761316561416c565b5b600061317487828801612fc7565b945050602061318587828801612fc7565b935050604061319687828801613077565b925050606085013567ffffffffffffffff8111156131b7576131b6614167565b5b6131c38782880161301b565b91505092959194509250565b600080604083850312156131e6576131e561416c565b5b60006131f485828601612fc7565b925050602061320585828601612fdc565b9150509250929050565b600080604083850312156132265761322561416c565b5b600061323485828601612fc7565b925050602061324585828601613077565b9150509250929050565b6000602082840312156132655761326461416c565b5b600061327384828501612ff1565b91505092915050565b6000602082840312156132925761329161416c565b5b60006132a084828501613006565b91505092915050565b6000602082840312156132bf576132be61416c565b5b600082013567ffffffffffffffff8111156132dd576132dc614167565b5b6132e984828501613049565b91505092915050565b6000602082840312156133085761330761416c565b5b600061331684828501613077565b91505092915050565b600061332b8383613840565b60208301905092915050565b61334081613eb0565b82525050565b600061335182613d2f565b61335b8185613d5d565b935061336683613d0a565b8060005b8381101561339757815161337e888261331f565b975061338983613d50565b92505060018101905061336a565b5085935050505092915050565b6133ad81613ec2565b82525050565b60006133be82613d3a565b6133c88185613d6e565b93506133d8818560208601613f33565b6133e181614171565b840191505092915050565b60006133f782613d45565b6134018185613d7f565b9350613411818560208601613f33565b61341a81614171565b840191505092915050565b600061343082613d45565b61343a8185613d90565b935061344a818560208601613f33565b80840191505092915050565b6000815461346381613f66565b61346d8186613d90565b945060018216600081146134885760018114613499576134cc565b60ff198316865281860193506134cc565b6134a285613d1a565b60005b838110156134c4578154818901526001820191506020810190506134a5565b838801955050505b50505092915050565b60006134e2601c83613d7f565b91506134ed82614182565b602082019050919050565b6000613505602b83613d7f565b9150613510826141ab565b604082019050919050565b6000613528603283613d7f565b9150613533826141fa565b604082019050919050565b600061354b602683613d7f565b915061355682614249565b604082019050919050565b600061356e601c83613d7f565b915061357982614298565b602082019050919050565b6000613591602483613d7f565b915061359c826142c1565b604082019050919050565b60006135b4601983613d7f565b91506135bf82614310565b602082019050919050565b60006135d7601f83613d7f565b91506135e282614339565b602082019050919050565b60006135fa601b83613d7f565b915061360582614362565b602082019050919050565b600061361d602c83613d7f565b91506136288261438b565b604082019050919050565b6000613640601083613d7f565b915061364b826143da565b602082019050919050565b6000613663603883613d7f565b915061366e82614403565b604082019050919050565b6000613686602a83613d7f565b915061369182614452565b604082019050919050565b60006136a9602983613d7f565b91506136b4826144a1565b604082019050919050565b60006136cc602083613d7f565b91506136d7826144f0565b602082019050919050565b60006136ef601583613d7f565b91506136fa82614519565b602082019050919050565b6000613712601183613d7f565b915061371d82614542565b602082019050919050565b6000613735602c83613d7f565b91506137408261456b565b604082019050919050565b6000613758602083613d7f565b9150613763826145ba565b602082019050919050565b600061377b602983613d7f565b9150613786826145e3565b604082019050919050565b600061379e602183613d7f565b91506137a982614632565b604082019050919050565b60006137c1601a83613d7f565b91506137cc82614681565b602082019050919050565b60006137e4601b83613d7f565b91506137ef826146aa565b602082019050919050565b6000613807603183613d7f565b9150613812826146d3565b604082019050919050565b600061382a602c83613d7f565b915061383582614722565b604082019050919050565b61384981613f1a565b82525050565b61385881613f1a565b82525050565b600061386a8285613456565b91506138768284613425565b91508190509392505050565b60006020820190506138976000830184613337565b92915050565b60006080820190506138b26000830187613337565b6138bf6020830186613337565b6138cc604083018561384f565b81810360608301526138de81846133b3565b905095945050505050565b600060208201905081810360008301526139038184613346565b905092915050565b600060208201905061392060008301846133a4565b92915050565b6000602082019050818103600083015261394081846133ec565b905092915050565b60006020820190508181036000830152613961816134d5565b9050919050565b60006020820190508181036000830152613981816134f8565b9050919050565b600060208201905081810360008301526139a18161351b565b9050919050565b600060208201905081810360008301526139c18161353e565b9050919050565b600060208201905081810360008301526139e181613561565b9050919050565b60006020820190508181036000830152613a0181613584565b9050919050565b60006020820190508181036000830152613a21816135a7565b9050919050565b60006020820190508181036000830152613a41816135ca565b9050919050565b60006020820190508181036000830152613a61816135ed565b9050919050565b60006020820190508181036000830152613a8181613610565b9050919050565b60006020820190508181036000830152613aa181613633565b9050919050565b60006020820190508181036000830152613ac181613656565b9050919050565b60006020820190508181036000830152613ae181613679565b9050919050565b60006020820190508181036000830152613b018161369c565b9050919050565b60006020820190508181036000830152613b21816136bf565b9050919050565b60006020820190508181036000830152613b41816136e2565b9050919050565b60006020820190508181036000830152613b6181613705565b9050919050565b60006020820190508181036000830152613b8181613728565b9050919050565b60006020820190508181036000830152613ba18161374b565b9050919050565b60006020820190508181036000830152613bc18161376e565b9050919050565b60006020820190508181036000830152613be181613791565b9050919050565b60006020820190508181036000830152613c01816137b4565b9050919050565b60006020820190508181036000830152613c21816137d7565b9050919050565b60006020820190508181036000830152613c41816137fa565b9050919050565b60006020820190508181036000830152613c618161381d565b9050919050565b6000602082019050613c7d600083018461384f565b92915050565b6000613c8d613c9e565b9050613c998282613f98565b919050565b6000604051905090565b600067ffffffffffffffff821115613cc357613cc261412e565b5b613ccc82614171565b9050602081019050919050565b600067ffffffffffffffff821115613cf457613cf361412e565b5b613cfd82614171565b9050602081019050919050565b6000819050602082019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000613da682613f1a565b9150613db183613f1a565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613de657613de5614043565b5b828201905092915050565b6000613dfc82613f1a565b9150613e0783613f1a565b925082613e1757613e16614072565b5b828204905092915050565b6000613e2d82613f1a565b9150613e3883613f1a565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613e7157613e70614043565b5b828202905092915050565b6000613e8782613f1a565b9150613e9283613f1a565b925082821015613ea557613ea4614043565b5b828203905092915050565b6000613ebb82613efa565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015613f51578082015181840152602081019050613f36565b83811115613f60576000848401525b50505050565b60006002820490506001821680613f7e57607f821691505b60208210811415613f9257613f916140a1565b5b50919050565b613fa182614171565b810181811067ffffffffffffffff82111715613fc057613fbf61412e565b5b80604052505050565b6000613fd482613f1a565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561400757614006614043565b5b600182019050919050565b600061401d82613f1a565b915061402883613f1a565b92508261403857614037614072565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f436f6e74726163742061646472657373206e6f7420616c6c6f77656400000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f45746865722076616c75652073656e74206973206e6f7420636f727265637400600082015250565b7f53616c65206d7573742062652061637469766520746f206d696e740000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f546f6b656e20646f6573206e6f742065786973742e0000000000000000000000600082015250565b7f457863656564206d617820737570706c79000000000000000000000000000000600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4578636565647320706572206164647265737320737570706c79000000000000600082015250565b7f45786365656473206d617820706572207472616e73616374696f6e0000000000600082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b61477a81613eb0565b811461478557600080fd5b50565b61479181613ec2565b811461479c57600080fd5b50565b6147a881613ece565b81146147b357600080fd5b50565b6147bf81613f1a565b81146147ca57600080fd5b5056fea26469706673582212203d3f2cf3298dc614a2ae3d3e8218a7f9c8715ade16171430c91b51070d51383564736f6c63430008070033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000a3078334c616e6465727300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a3058334c414e4445525300000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : name (string): 0x3Landers
Arg [1] : symbol (string): 0X3LANDERS
-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [2] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [3] : 3078334c616e6465727300000000000000000000000000000000000000000000
Arg [4] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [5] : 3058334c414e4445525300000000000000000000000000000000000000000000
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.