ERC-721
Overview
Max Total Supply
1,000 DEADBEARS
Holders
265
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
2 DEADBEARSLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Deadbears
Compiler Version
v0.8.6+commit.11564f7e
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; pragma solidity ^0.8.0; contract Deadbears is ERC721Enumerable, Ownable { uint256 public constant OWNER_SUPPLY = 100; uint256 public constant MAX_SUPPLY = 1000; uint256 private _launchTimeEpochSeconds = 1628884800; string private _baseTokenURI = "https://tokens.deadbearsnft.com/"; bool private _ripCord = false; constructor() ERC721("Deadbears", "DEADBEARS") {} function setLaunchTime(uint256 time) public onlyOwner { _launchTimeEpochSeconds = time; } function setRipCord(bool val) public onlyOwner { _ripCord = val; } function getLaunchTime() public view returns (uint256) { return _launchTimeEpochSeconds; } function isLaunched() public view returns (bool) { return block.timestamp >= _launchTimeEpochSeconds && !_ripCord; } function setBaseURI(string memory baseURI) public onlyOwner { _baseTokenURI = baseURI; } function _baseURI() internal view virtual override returns (string memory) { return _baseTokenURI; } function getPrice() public pure returns (uint256) { return 50000000000000000; // 0.05 eth in wei } function getBaseURI() public view returns (string memory) { return _baseTokenURI; } function tokenURI(uint256 _tokenId) public view override returns (string memory) { uint256 totalSupply = totalSupply(); require(_tokenId < totalSupply, "That token hasn't been minted yet"); return string(abi.encodePacked(_baseTokenURI, Strings.toString(_tokenId))); } function mintOwnerTokens() public onlyOwner { require(block.timestamp < _launchTimeEpochSeconds, "Can only reserve prior to launch"); uint256 totalSupply = totalSupply(); require(totalSupply < OWNER_SUPPLY, "Max owner tokens already minted."); for (uint256 index; index < 50 && index + totalSupply < OWNER_SUPPLY; index++) { _safeMint(msg.sender, index + totalSupply); } } function mint(uint256 _count) public payable { uint256 price = getPrice(); uint256 totalSupply = totalSupply(); require(totalSupply < MAX_SUPPLY, "Sold out"); require(totalSupply + _count <= MAX_SUPPLY, "Not enough tokens left"); require(_count <= 20, "Mint 20 or fewer, please."); require(msg.value >= price * _count, "The value submitted with this transaction is too low."); require(block.timestamp >= _launchTimeEpochSeconds, "Not on sale yet."); require(_ripCord == false, "Sales disabled."); for (uint256 i; i < _count; i++) { _safeMint(msg.sender, totalSupply + i); } } function walletOfOwner(address _owner) public view returns (uint256[] memory) { uint256 tokenCount = balanceOf(_owner); uint256[] memory tokensId = new uint256[](tokenCount); for (uint256 i; i < tokenCount; i++) { tokensId[i] = tokenOfOwnerByIndex(_owner, i); } return tokensId; } function withdrawAll() public payable onlyOwner { require(payable(msg.sender).send(address(this).balance)); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _setOwner(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _setOwner(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { require(operator != _msgSender(), "ERC721: approve to caller"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver(to).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 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 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 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 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 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 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); } function _verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) private 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 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 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 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 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); }
{ "remappings": [], "optimizer": { "enabled": false, "runs": 200 }, "evmVersion": "berlin", "libraries": {}, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OWNER_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":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getBaseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getLaunchTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","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":"isLaunched","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_count","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintOwnerTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"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":"uint256","name":"time","type":"uint256"}],"name":"setLaunchTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"val","type":"bool"}],"name":"setRipCord","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":"withdrawAll","outputs":[],"stateMutability":"payable","type":"function"}]
Contract Creation Code
6080604052636116cf40600b556040518060400160405280602081526020017f68747470733a2f2f746f6b656e732e6465616462656172736e66742e636f6d2f815250600c90805190602001906200005992919062000217565b506000600d60006101000a81548160ff0219169083151502179055503480156200008257600080fd5b506040518060400160405280600981526020017f44656164626561727300000000000000000000000000000000000000000000008152506040518060400160405280600981526020017f444541444245415253000000000000000000000000000000000000000000000081525081600090805190602001906200010792919062000217565b5080600190805190602001906200012092919062000217565b50505062000143620001376200014960201b60201c565b6200015160201b60201c565b6200032c565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200022590620002c7565b90600052602060002090601f01602090048101928262000249576000855562000295565b82601f106200026457805160ff191683800117855562000295565b8280016001018555821562000295579182015b828111156200029457825182559160200191906001019062000277565b5b509050620002a49190620002a8565b5090565b5b80821115620002c3576000816000905550600101620002a9565b5090565b60006002820490506001821680620002e057607f821691505b60208210811415620002f757620002f6620002fd565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b614465806200033c6000396000f3fe6080604052600436106101e35760003560e01c806370a0823111610102578063a0712d6811610095578063b88d4fde11610064578063b88d4fde146106b4578063c87b56dd146106dd578063e985e9c51461071a578063f2fde38b14610757576101e3565b8063a0712d6814610619578063a22cb46514610635578063b662dc9b1461065e578063b774608614610689576101e3565b80638da5cb5b116100d15780638da5cb5b1461056f57806395d89b411461059a57806398d5fdca146105c55780639ff46e74146105f0576101e3565b806370a08231146104e6578063714c539814610523578063715018a61461054e578063853828b614610565576101e3565b80632f745c591161017a578063438b630011610149578063438b6300146104065780634f6ccce71461044357806355f804b3146104805780636352211e146104a9576101e3565b80632f745c591461034a578063307aebc91461038757806332cb6b0c146103b257806342842e0e146103dd576101e3565b8063097c6042116101b6578063097c6042146102b6578063123a4354146102df57806318160ddd146102f657806323b872dd14610321576101e3565b806301ffc9a7146101e857806306fdde0314610225578063081812fc14610250578063095ea7b31461028d575b600080fd5b3480156101f457600080fd5b5061020f600480360381019061020a9190612df9565b610780565b60405161021c91906134d8565b60405180910390f35b34801561023157600080fd5b5061023a6107fa565b60405161024791906134f3565b60405180910390f35b34801561025c57600080fd5b5061027760048036038101906102729190612e9c565b61088c565b604051610284919061344f565b60405180910390f35b34801561029957600080fd5b506102b460048036038101906102af9190612d8c565b610911565b005b3480156102c257600080fd5b506102dd60048036038101906102d89190612dcc565b610a29565b005b3480156102eb57600080fd5b506102f4610ac2565b005b34801561030257600080fd5b5061030b610c20565b6040516103189190613855565b60405180910390f35b34801561032d57600080fd5b5061034860048036038101906103439190612c76565b610c2d565b005b34801561035657600080fd5b50610371600480360381019061036c9190612d8c565b610c8d565b60405161037e9190613855565b60405180910390f35b34801561039357600080fd5b5061039c610d32565b6040516103a991906134d8565b60405180910390f35b3480156103be57600080fd5b506103c7610d58565b6040516103d49190613855565b60405180910390f35b3480156103e957600080fd5b5061040460048036038101906103ff9190612c76565b610d5e565b005b34801561041257600080fd5b5061042d60048036038101906104289190612c09565b610d7e565b60405161043a91906134b6565b60405180910390f35b34801561044f57600080fd5b5061046a60048036038101906104659190612e9c565b610e2c565b6040516104779190613855565b60405180910390f35b34801561048c57600080fd5b506104a760048036038101906104a29190612e53565b610e9d565b005b3480156104b557600080fd5b506104d060048036038101906104cb9190612e9c565b610f33565b6040516104dd919061344f565b60405180910390f35b3480156104f257600080fd5b5061050d60048036038101906105089190612c09565b610fe5565b60405161051a9190613855565b60405180910390f35b34801561052f57600080fd5b5061053861109d565b60405161054591906134f3565b60405180910390f35b34801561055a57600080fd5b5061056361112f565b005b61056d6111b7565b005b34801561057b57600080fd5b50610584611273565b604051610591919061344f565b60405180910390f35b3480156105a657600080fd5b506105af61129d565b6040516105bc91906134f3565b60405180910390f35b3480156105d157600080fd5b506105da61132f565b6040516105e79190613855565b60405180910390f35b3480156105fc57600080fd5b5061061760048036038101906106129190612e9c565b61133e565b005b610633600480360381019061062e9190612e9c565b6113c4565b005b34801561064157600080fd5b5061065c60048036038101906106579190612d4c565b6115d6565b005b34801561066a57600080fd5b50610673611757565b6040516106809190613855565b60405180910390f35b34801561069557600080fd5b5061069e61175c565b6040516106ab9190613855565b60405180910390f35b3480156106c057600080fd5b506106db60048036038101906106d69190612cc9565b611766565b005b3480156106e957600080fd5b5061070460048036038101906106ff9190612e9c565b6117c8565b60405161071191906134f3565b60405180910390f35b34801561072657600080fd5b50610741600480360381019061073c9190612c36565b61184b565b60405161074e91906134d8565b60405180910390f35b34801561076357600080fd5b5061077e60048036038101906107799190612c09565b6118df565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806107f357506107f2826119d7565b5b9050919050565b60606000805461080990613b53565b80601f016020809104026020016040519081016040528092919081815260200182805461083590613b53565b80156108825780601f1061085757610100808354040283529160200191610882565b820191906000526020600020905b81548152906001019060200180831161086557829003601f168201915b5050505050905090565b600061089782611ab9565b6108d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108cd906136f5565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061091c82610f33565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561098d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161098490613775565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166109ac611b25565b73ffffffffffffffffffffffffffffffffffffffff1614806109db57506109da816109d5611b25565b61184b565b5b610a1a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a1190613615565b60405180910390fd5b610a248383611b2d565b505050565b610a31611b25565b73ffffffffffffffffffffffffffffffffffffffff16610a4f611273565b73ffffffffffffffffffffffffffffffffffffffff1614610aa5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a9c90613715565b60405180910390fd5b80600d60006101000a81548160ff02191690831515021790555050565b610aca611b25565b73ffffffffffffffffffffffffffffffffffffffff16610ae8611273565b73ffffffffffffffffffffffffffffffffffffffff1614610b3e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b3590613715565b60405180910390fd5b600b544210610b82576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b79906135f5565b60405180910390fd5b6000610b8c610c20565b905060648110610bd1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bc890613755565b60405180910390fd5b60005b603281108015610bef575060648282610bed9190613988565b105b15610c1c57610c09338383610c049190613988565b611be6565b8080610c1490613bb6565b915050610bd4565b5050565b6000600880549050905090565b610c3e610c38611b25565b82611c04565b610c7d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c74906137b5565b60405180910390fd5b610c88838383611ce2565b505050565b6000610c9883610fe5565b8210610cd9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cd090613515565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b6000600b544210158015610d535750600d60009054906101000a900460ff16155b905090565b6103e881565b610d7983838360405180602001604052806000815250611766565b505050565b60606000610d8b83610fe5565b905060008167ffffffffffffffff811115610da957610da8613d1b565b5b604051908082528060200260200182016040528015610dd75781602001602082028036833780820191505090505b50905060005b82811015610e2157610def8582610c8d565b828281518110610e0257610e01613cec565b5b6020026020010181815250508080610e1990613bb6565b915050610ddd565b508092505050919050565b6000610e36610c20565b8210610e77576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e6e906137f5565b60405180910390fd5b60088281548110610e8b57610e8a613cec565b5b90600052602060002001549050919050565b610ea5611b25565b73ffffffffffffffffffffffffffffffffffffffff16610ec3611273565b73ffffffffffffffffffffffffffffffffffffffff1614610f19576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f1090613715565b60405180910390fd5b80600c9080519060200190610f2f929190612a1d565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610fdc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fd390613655565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611056576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161104d90613635565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6060600c80546110ac90613b53565b80601f01602080910402602001604051908101604052809291908181526020018280546110d890613b53565b80156111255780601f106110fa57610100808354040283529160200191611125565b820191906000526020600020905b81548152906001019060200180831161110857829003601f168201915b5050505050905090565b611137611b25565b73ffffffffffffffffffffffffffffffffffffffff16611155611273565b73ffffffffffffffffffffffffffffffffffffffff16146111ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111a290613715565b60405180910390fd5b6111b56000611f3e565b565b6111bf611b25565b73ffffffffffffffffffffffffffffffffffffffff166111dd611273565b73ffffffffffffffffffffffffffffffffffffffff1614611233576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161122a90613715565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f1935050505061127157600080fd5b565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600180546112ac90613b53565b80601f01602080910402602001604051908101604052809291908181526020018280546112d890613b53565b80156113255780601f106112fa57610100808354040283529160200191611325565b820191906000526020600020905b81548152906001019060200180831161130857829003601f168201915b5050505050905090565b600066b1a2bc2ec50000905090565b611346611b25565b73ffffffffffffffffffffffffffffffffffffffff16611364611273565b73ffffffffffffffffffffffffffffffffffffffff16146113ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113b190613715565b60405180910390fd5b80600b8190555050565b60006113ce61132f565b905060006113da610c20565b90506103e88110611420576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611417906137d5565b60405180910390fd5b6103e8838261142f9190613988565b1115611470576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611467906136b5565b60405180910390fd5b60148311156114b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114ab90613835565b60405180910390fd5b82826114c09190613a0f565b341015611502576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114f990613695565b60405180910390fd5b600b54421015611547576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161153e90613795565b60405180910390fd5b60001515600d60009054906101000a900460ff1615151461159d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161159490613815565b60405180910390fd5b60005b838110156115d0576115bd3382846115b89190613988565b611be6565b80806115c890613bb6565b9150506115a0565b50505050565b6115de611b25565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561164c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611643906135b5565b60405180910390fd5b8060056000611659611b25565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611706611b25565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161174b91906134d8565b60405180910390a35050565b606481565b6000600b54905090565b611777611771611b25565b83611c04565b6117b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117ad906137b5565b60405180910390fd5b6117c284848484612004565b50505050565b606060006117d4610c20565b9050808310611818576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161180f90613675565b60405180910390fd5b600c61182384612060565b60405160200161183492919061342b565b604051602081830303815290604052915050919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6118e7611b25565b73ffffffffffffffffffffffffffffffffffffffff16611905611273565b73ffffffffffffffffffffffffffffffffffffffff161461195b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161195290613715565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156119cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119c290613555565b60405180910390fd5b6119d481611f3e565b50565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611aa257507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611ab25750611ab1826121c1565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611ba083610f33565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b611c0082826040518060200160405280600081525061222b565b5050565b6000611c0f82611ab9565b611c4e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c45906135d5565b60405180910390fd5b6000611c5983610f33565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611cc857508373ffffffffffffffffffffffffffffffffffffffff16611cb08461088c565b73ffffffffffffffffffffffffffffffffffffffff16145b80611cd95750611cd8818561184b565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611d0282610f33565b73ffffffffffffffffffffffffffffffffffffffff1614611d58576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d4f90613735565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611dc8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dbf90613595565b60405180910390fd5b611dd3838383612286565b611dde600082611b2d565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611e2e9190613a69565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611e859190613988565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b61200f848484611ce2565b61201b8484848461239a565b61205a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161205190613535565b60405180910390fd5b50505050565b606060008214156120a8576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506121bc565b600082905060005b600082146120da5780806120c390613bb6565b915050600a826120d391906139de565b91506120b0565b60008167ffffffffffffffff8111156120f6576120f5613d1b565b5b6040519080825280601f01601f1916602001820160405280156121285781602001600182028036833780820191505090505b5090505b600085146121b5576001826121419190613a69565b9150600a856121509190613bff565b603061215c9190613988565b60f81b81838151811061217257612171613cec565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856121ae91906139de565b945061212c565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6122358383612531565b612242600084848461239a565b612281576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161227890613535565b60405180910390fd5b505050565b6122918383836126ff565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156122d4576122cf81612704565b612313565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461231257612311838261274d565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561235657612351816128ba565b612395565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161461239457612393828261298b565b5b5b505050565b60006123bb8473ffffffffffffffffffffffffffffffffffffffff16612a0a565b15612524578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026123e4611b25565b8786866040518563ffffffff1660e01b8152600401612406949392919061346a565b602060405180830381600087803b15801561242057600080fd5b505af192505050801561245157506040513d601f19601f8201168201806040525081019061244e9190612e26565b60015b6124d4573d8060008114612481576040519150601f19603f3d011682016040523d82523d6000602084013e612486565b606091505b506000815114156124cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124c390613535565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612529565b600190505b949350505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156125a1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612598906136d5565b60405180910390fd5b6125aa81611ab9565b156125ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125e190613575565b60405180910390fd5b6125f660008383612286565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546126469190613988565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161275a84610fe5565b6127649190613a69565b9050600060076000848152602001908152602001600020549050818114612849576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506128ce9190613a69565b90506000600960008481526020019081526020016000205490506000600883815481106128fe576128fd613cec565b5b9060005260206000200154905080600883815481106129205761291f613cec565b5b90600052602060002001819055508160096000838152602001908152602001600020819055506009600085815260200190815260200160002060009055600880548061296f5761296e613cbd565b5b6001900381819060005260206000200160009055905550505050565b600061299683610fe5565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600080823b905060008111915050919050565b828054612a2990613b53565b90600052602060002090601f016020900481019282612a4b5760008555612a92565b82601f10612a6457805160ff1916838001178555612a92565b82800160010185558215612a92579182015b82811115612a91578251825591602001919060010190612a76565b5b509050612a9f9190612aa3565b5090565b5b80821115612abc576000816000905550600101612aa4565b5090565b6000612ad3612ace84613895565b613870565b905082815260208101848484011115612aef57612aee613d4f565b5b612afa848285613b11565b509392505050565b6000612b15612b10846138c6565b613870565b905082815260208101848484011115612b3157612b30613d4f565b5b612b3c848285613b11565b509392505050565b600081359050612b53816143d3565b92915050565b600081359050612b68816143ea565b92915050565b600081359050612b7d81614401565b92915050565b600081519050612b9281614401565b92915050565b600082601f830112612bad57612bac613d4a565b5b8135612bbd848260208601612ac0565b91505092915050565b600082601f830112612bdb57612bda613d4a565b5b8135612beb848260208601612b02565b91505092915050565b600081359050612c0381614418565b92915050565b600060208284031215612c1f57612c1e613d59565b5b6000612c2d84828501612b44565b91505092915050565b60008060408385031215612c4d57612c4c613d59565b5b6000612c5b85828601612b44565b9250506020612c6c85828601612b44565b9150509250929050565b600080600060608486031215612c8f57612c8e613d59565b5b6000612c9d86828701612b44565b9350506020612cae86828701612b44565b9250506040612cbf86828701612bf4565b9150509250925092565b60008060008060808587031215612ce357612ce2613d59565b5b6000612cf187828801612b44565b9450506020612d0287828801612b44565b9350506040612d1387828801612bf4565b925050606085013567ffffffffffffffff811115612d3457612d33613d54565b5b612d4087828801612b98565b91505092959194509250565b60008060408385031215612d6357612d62613d59565b5b6000612d7185828601612b44565b9250506020612d8285828601612b59565b9150509250929050565b60008060408385031215612da357612da2613d59565b5b6000612db185828601612b44565b9250506020612dc285828601612bf4565b9150509250929050565b600060208284031215612de257612de1613d59565b5b6000612df084828501612b59565b91505092915050565b600060208284031215612e0f57612e0e613d59565b5b6000612e1d84828501612b6e565b91505092915050565b600060208284031215612e3c57612e3b613d59565b5b6000612e4a84828501612b83565b91505092915050565b600060208284031215612e6957612e68613d59565b5b600082013567ffffffffffffffff811115612e8757612e86613d54565b5b612e9384828501612bc6565b91505092915050565b600060208284031215612eb257612eb1613d59565b5b6000612ec084828501612bf4565b91505092915050565b6000612ed5838361340d565b60208301905092915050565b612eea81613a9d565b82525050565b6000612efb8261391c565b612f05818561394a565b9350612f10836138f7565b8060005b83811015612f41578151612f288882612ec9565b9750612f338361393d565b925050600181019050612f14565b5085935050505092915050565b612f5781613aaf565b82525050565b6000612f6882613927565b612f72818561395b565b9350612f82818560208601613b20565b612f8b81613d5e565b840191505092915050565b6000612fa182613932565b612fab818561396c565b9350612fbb818560208601613b20565b612fc481613d5e565b840191505092915050565b6000612fda82613932565b612fe4818561397d565b9350612ff4818560208601613b20565b80840191505092915050565b6000815461300d81613b53565b613017818661397d565b94506001821660008114613032576001811461304357613076565b60ff19831686528186019350613076565b61304c85613907565b60005b8381101561306e5781548189015260018201915060208101905061304f565b838801955050505b50505092915050565b600061308c602b8361396c565b915061309782613d6f565b604082019050919050565b60006130af60328361396c565b91506130ba82613dbe565b604082019050919050565b60006130d260268361396c565b91506130dd82613e0d565b604082019050919050565b60006130f5601c8361396c565b915061310082613e5c565b602082019050919050565b600061311860248361396c565b915061312382613e85565b604082019050919050565b600061313b60198361396c565b915061314682613ed4565b602082019050919050565b600061315e602c8361396c565b915061316982613efd565b604082019050919050565b600061318160208361396c565b915061318c82613f4c565b602082019050919050565b60006131a460388361396c565b91506131af82613f75565b604082019050919050565b60006131c7602a8361396c565b91506131d282613fc4565b604082019050919050565b60006131ea60298361396c565b91506131f582614013565b604082019050919050565b600061320d60218361396c565b915061321882614062565b604082019050919050565b600061323060358361396c565b915061323b826140b1565b604082019050919050565b600061325360168361396c565b915061325e82614100565b602082019050919050565b600061327660208361396c565b915061328182614129565b602082019050919050565b6000613299602c8361396c565b91506132a482614152565b604082019050919050565b60006132bc60208361396c565b91506132c7826141a1565b602082019050919050565b60006132df60298361396c565b91506132ea826141ca565b604082019050919050565b600061330260208361396c565b915061330d82614219565b602082019050919050565b600061332560218361396c565b915061333082614242565b604082019050919050565b600061334860108361396c565b915061335382614291565b602082019050919050565b600061336b60318361396c565b9150613376826142ba565b604082019050919050565b600061338e60088361396c565b915061339982614309565b602082019050919050565b60006133b1602c8361396c565b91506133bc82614332565b604082019050919050565b60006133d4600f8361396c565b91506133df82614381565b602082019050919050565b60006133f760198361396c565b9150613402826143aa565b602082019050919050565b61341681613b07565b82525050565b61342581613b07565b82525050565b60006134378285613000565b91506134438284612fcf565b91508190509392505050565b60006020820190506134646000830184612ee1565b92915050565b600060808201905061347f6000830187612ee1565b61348c6020830186612ee1565b613499604083018561341c565b81810360608301526134ab8184612f5d565b905095945050505050565b600060208201905081810360008301526134d08184612ef0565b905092915050565b60006020820190506134ed6000830184612f4e565b92915050565b6000602082019050818103600083015261350d8184612f96565b905092915050565b6000602082019050818103600083015261352e8161307f565b9050919050565b6000602082019050818103600083015261354e816130a2565b9050919050565b6000602082019050818103600083015261356e816130c5565b9050919050565b6000602082019050818103600083015261358e816130e8565b9050919050565b600060208201905081810360008301526135ae8161310b565b9050919050565b600060208201905081810360008301526135ce8161312e565b9050919050565b600060208201905081810360008301526135ee81613151565b9050919050565b6000602082019050818103600083015261360e81613174565b9050919050565b6000602082019050818103600083015261362e81613197565b9050919050565b6000602082019050818103600083015261364e816131ba565b9050919050565b6000602082019050818103600083015261366e816131dd565b9050919050565b6000602082019050818103600083015261368e81613200565b9050919050565b600060208201905081810360008301526136ae81613223565b9050919050565b600060208201905081810360008301526136ce81613246565b9050919050565b600060208201905081810360008301526136ee81613269565b9050919050565b6000602082019050818103600083015261370e8161328c565b9050919050565b6000602082019050818103600083015261372e816132af565b9050919050565b6000602082019050818103600083015261374e816132d2565b9050919050565b6000602082019050818103600083015261376e816132f5565b9050919050565b6000602082019050818103600083015261378e81613318565b9050919050565b600060208201905081810360008301526137ae8161333b565b9050919050565b600060208201905081810360008301526137ce8161335e565b9050919050565b600060208201905081810360008301526137ee81613381565b9050919050565b6000602082019050818103600083015261380e816133a4565b9050919050565b6000602082019050818103600083015261382e816133c7565b9050919050565b6000602082019050818103600083015261384e816133ea565b9050919050565b600060208201905061386a600083018461341c565b92915050565b600061387a61388b565b90506138868282613b85565b919050565b6000604051905090565b600067ffffffffffffffff8211156138b0576138af613d1b565b5b6138b982613d5e565b9050602081019050919050565b600067ffffffffffffffff8211156138e1576138e0613d1b565b5b6138ea82613d5e565b9050602081019050919050565b6000819050602082019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600061399382613b07565b915061399e83613b07565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156139d3576139d2613c30565b5b828201905092915050565b60006139e982613b07565b91506139f483613b07565b925082613a0457613a03613c5f565b5b828204905092915050565b6000613a1a82613b07565b9150613a2583613b07565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613a5e57613a5d613c30565b5b828202905092915050565b6000613a7482613b07565b9150613a7f83613b07565b925082821015613a9257613a91613c30565b5b828203905092915050565b6000613aa882613ae7565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015613b3e578082015181840152602081019050613b23565b83811115613b4d576000848401525b50505050565b60006002820490506001821680613b6b57607f821691505b60208210811415613b7f57613b7e613c8e565b5b50919050565b613b8e82613d5e565b810181811067ffffffffffffffff82111715613bad57613bac613d1b565b5b80604052505050565b6000613bc182613b07565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613bf457613bf3613c30565b5b600182019050919050565b6000613c0a82613b07565b9150613c1583613b07565b925082613c2557613c24613c5f565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f43616e206f6e6c792072657365727665207072696f7220746f206c61756e6368600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f5468617420746f6b656e206861736e2774206265656e206d696e74656420796560008201527f7400000000000000000000000000000000000000000000000000000000000000602082015250565b7f5468652076616c7565207375626d69747465642077697468207468697320747260008201527f616e73616374696f6e20697320746f6f206c6f772e0000000000000000000000602082015250565b7f4e6f7420656e6f75676820746f6b656e73206c65667400000000000000000000600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4d6178206f776e657220746f6b656e7320616c7265616479206d696e7465642e600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4e6f74206f6e2073616c65207965742e00000000000000000000000000000000600082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f536f6c64206f7574000000000000000000000000000000000000000000000000600082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f53616c65732064697361626c65642e0000000000000000000000000000000000600082015250565b7f4d696e74203230206f722066657765722c20706c656173652e00000000000000600082015250565b6143dc81613a9d565b81146143e757600080fd5b50565b6143f381613aaf565b81146143fe57600080fd5b50565b61440a81613abb565b811461441557600080fd5b50565b61442181613b07565b811461442c57600080fd5b5056fea26469706673582212209f9ca3a6a78c65df3dccbc114f8fffc9ee5970c90c5cb9002a7b5f9b20db87a964736f6c63430008060033
Deployed Bytecode
0x6080604052600436106101e35760003560e01c806370a0823111610102578063a0712d6811610095578063b88d4fde11610064578063b88d4fde146106b4578063c87b56dd146106dd578063e985e9c51461071a578063f2fde38b14610757576101e3565b8063a0712d6814610619578063a22cb46514610635578063b662dc9b1461065e578063b774608614610689576101e3565b80638da5cb5b116100d15780638da5cb5b1461056f57806395d89b411461059a57806398d5fdca146105c55780639ff46e74146105f0576101e3565b806370a08231146104e6578063714c539814610523578063715018a61461054e578063853828b614610565576101e3565b80632f745c591161017a578063438b630011610149578063438b6300146104065780634f6ccce71461044357806355f804b3146104805780636352211e146104a9576101e3565b80632f745c591461034a578063307aebc91461038757806332cb6b0c146103b257806342842e0e146103dd576101e3565b8063097c6042116101b6578063097c6042146102b6578063123a4354146102df57806318160ddd146102f657806323b872dd14610321576101e3565b806301ffc9a7146101e857806306fdde0314610225578063081812fc14610250578063095ea7b31461028d575b600080fd5b3480156101f457600080fd5b5061020f600480360381019061020a9190612df9565b610780565b60405161021c91906134d8565b60405180910390f35b34801561023157600080fd5b5061023a6107fa565b60405161024791906134f3565b60405180910390f35b34801561025c57600080fd5b5061027760048036038101906102729190612e9c565b61088c565b604051610284919061344f565b60405180910390f35b34801561029957600080fd5b506102b460048036038101906102af9190612d8c565b610911565b005b3480156102c257600080fd5b506102dd60048036038101906102d89190612dcc565b610a29565b005b3480156102eb57600080fd5b506102f4610ac2565b005b34801561030257600080fd5b5061030b610c20565b6040516103189190613855565b60405180910390f35b34801561032d57600080fd5b5061034860048036038101906103439190612c76565b610c2d565b005b34801561035657600080fd5b50610371600480360381019061036c9190612d8c565b610c8d565b60405161037e9190613855565b60405180910390f35b34801561039357600080fd5b5061039c610d32565b6040516103a991906134d8565b60405180910390f35b3480156103be57600080fd5b506103c7610d58565b6040516103d49190613855565b60405180910390f35b3480156103e957600080fd5b5061040460048036038101906103ff9190612c76565b610d5e565b005b34801561041257600080fd5b5061042d60048036038101906104289190612c09565b610d7e565b60405161043a91906134b6565b60405180910390f35b34801561044f57600080fd5b5061046a60048036038101906104659190612e9c565b610e2c565b6040516104779190613855565b60405180910390f35b34801561048c57600080fd5b506104a760048036038101906104a29190612e53565b610e9d565b005b3480156104b557600080fd5b506104d060048036038101906104cb9190612e9c565b610f33565b6040516104dd919061344f565b60405180910390f35b3480156104f257600080fd5b5061050d60048036038101906105089190612c09565b610fe5565b60405161051a9190613855565b60405180910390f35b34801561052f57600080fd5b5061053861109d565b60405161054591906134f3565b60405180910390f35b34801561055a57600080fd5b5061056361112f565b005b61056d6111b7565b005b34801561057b57600080fd5b50610584611273565b604051610591919061344f565b60405180910390f35b3480156105a657600080fd5b506105af61129d565b6040516105bc91906134f3565b60405180910390f35b3480156105d157600080fd5b506105da61132f565b6040516105e79190613855565b60405180910390f35b3480156105fc57600080fd5b5061061760048036038101906106129190612e9c565b61133e565b005b610633600480360381019061062e9190612e9c565b6113c4565b005b34801561064157600080fd5b5061065c60048036038101906106579190612d4c565b6115d6565b005b34801561066a57600080fd5b50610673611757565b6040516106809190613855565b60405180910390f35b34801561069557600080fd5b5061069e61175c565b6040516106ab9190613855565b60405180910390f35b3480156106c057600080fd5b506106db60048036038101906106d69190612cc9565b611766565b005b3480156106e957600080fd5b5061070460048036038101906106ff9190612e9c565b6117c8565b60405161071191906134f3565b60405180910390f35b34801561072657600080fd5b50610741600480360381019061073c9190612c36565b61184b565b60405161074e91906134d8565b60405180910390f35b34801561076357600080fd5b5061077e60048036038101906107799190612c09565b6118df565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806107f357506107f2826119d7565b5b9050919050565b60606000805461080990613b53565b80601f016020809104026020016040519081016040528092919081815260200182805461083590613b53565b80156108825780601f1061085757610100808354040283529160200191610882565b820191906000526020600020905b81548152906001019060200180831161086557829003601f168201915b5050505050905090565b600061089782611ab9565b6108d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108cd906136f5565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061091c82610f33565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561098d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161098490613775565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166109ac611b25565b73ffffffffffffffffffffffffffffffffffffffff1614806109db57506109da816109d5611b25565b61184b565b5b610a1a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a1190613615565b60405180910390fd5b610a248383611b2d565b505050565b610a31611b25565b73ffffffffffffffffffffffffffffffffffffffff16610a4f611273565b73ffffffffffffffffffffffffffffffffffffffff1614610aa5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a9c90613715565b60405180910390fd5b80600d60006101000a81548160ff02191690831515021790555050565b610aca611b25565b73ffffffffffffffffffffffffffffffffffffffff16610ae8611273565b73ffffffffffffffffffffffffffffffffffffffff1614610b3e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b3590613715565b60405180910390fd5b600b544210610b82576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b79906135f5565b60405180910390fd5b6000610b8c610c20565b905060648110610bd1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bc890613755565b60405180910390fd5b60005b603281108015610bef575060648282610bed9190613988565b105b15610c1c57610c09338383610c049190613988565b611be6565b8080610c1490613bb6565b915050610bd4565b5050565b6000600880549050905090565b610c3e610c38611b25565b82611c04565b610c7d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c74906137b5565b60405180910390fd5b610c88838383611ce2565b505050565b6000610c9883610fe5565b8210610cd9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cd090613515565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b6000600b544210158015610d535750600d60009054906101000a900460ff16155b905090565b6103e881565b610d7983838360405180602001604052806000815250611766565b505050565b60606000610d8b83610fe5565b905060008167ffffffffffffffff811115610da957610da8613d1b565b5b604051908082528060200260200182016040528015610dd75781602001602082028036833780820191505090505b50905060005b82811015610e2157610def8582610c8d565b828281518110610e0257610e01613cec565b5b6020026020010181815250508080610e1990613bb6565b915050610ddd565b508092505050919050565b6000610e36610c20565b8210610e77576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e6e906137f5565b60405180910390fd5b60088281548110610e8b57610e8a613cec565b5b90600052602060002001549050919050565b610ea5611b25565b73ffffffffffffffffffffffffffffffffffffffff16610ec3611273565b73ffffffffffffffffffffffffffffffffffffffff1614610f19576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f1090613715565b60405180910390fd5b80600c9080519060200190610f2f929190612a1d565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610fdc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fd390613655565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611056576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161104d90613635565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6060600c80546110ac90613b53565b80601f01602080910402602001604051908101604052809291908181526020018280546110d890613b53565b80156111255780601f106110fa57610100808354040283529160200191611125565b820191906000526020600020905b81548152906001019060200180831161110857829003601f168201915b5050505050905090565b611137611b25565b73ffffffffffffffffffffffffffffffffffffffff16611155611273565b73ffffffffffffffffffffffffffffffffffffffff16146111ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111a290613715565b60405180910390fd5b6111b56000611f3e565b565b6111bf611b25565b73ffffffffffffffffffffffffffffffffffffffff166111dd611273565b73ffffffffffffffffffffffffffffffffffffffff1614611233576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161122a90613715565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f1935050505061127157600080fd5b565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600180546112ac90613b53565b80601f01602080910402602001604051908101604052809291908181526020018280546112d890613b53565b80156113255780601f106112fa57610100808354040283529160200191611325565b820191906000526020600020905b81548152906001019060200180831161130857829003601f168201915b5050505050905090565b600066b1a2bc2ec50000905090565b611346611b25565b73ffffffffffffffffffffffffffffffffffffffff16611364611273565b73ffffffffffffffffffffffffffffffffffffffff16146113ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113b190613715565b60405180910390fd5b80600b8190555050565b60006113ce61132f565b905060006113da610c20565b90506103e88110611420576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611417906137d5565b60405180910390fd5b6103e8838261142f9190613988565b1115611470576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611467906136b5565b60405180910390fd5b60148311156114b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114ab90613835565b60405180910390fd5b82826114c09190613a0f565b341015611502576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114f990613695565b60405180910390fd5b600b54421015611547576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161153e90613795565b60405180910390fd5b60001515600d60009054906101000a900460ff1615151461159d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161159490613815565b60405180910390fd5b60005b838110156115d0576115bd3382846115b89190613988565b611be6565b80806115c890613bb6565b9150506115a0565b50505050565b6115de611b25565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561164c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611643906135b5565b60405180910390fd5b8060056000611659611b25565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611706611b25565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161174b91906134d8565b60405180910390a35050565b606481565b6000600b54905090565b611777611771611b25565b83611c04565b6117b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117ad906137b5565b60405180910390fd5b6117c284848484612004565b50505050565b606060006117d4610c20565b9050808310611818576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161180f90613675565b60405180910390fd5b600c61182384612060565b60405160200161183492919061342b565b604051602081830303815290604052915050919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6118e7611b25565b73ffffffffffffffffffffffffffffffffffffffff16611905611273565b73ffffffffffffffffffffffffffffffffffffffff161461195b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161195290613715565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156119cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119c290613555565b60405180910390fd5b6119d481611f3e565b50565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611aa257507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611ab25750611ab1826121c1565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611ba083610f33565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b611c0082826040518060200160405280600081525061222b565b5050565b6000611c0f82611ab9565b611c4e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c45906135d5565b60405180910390fd5b6000611c5983610f33565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611cc857508373ffffffffffffffffffffffffffffffffffffffff16611cb08461088c565b73ffffffffffffffffffffffffffffffffffffffff16145b80611cd95750611cd8818561184b565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611d0282610f33565b73ffffffffffffffffffffffffffffffffffffffff1614611d58576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d4f90613735565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611dc8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dbf90613595565b60405180910390fd5b611dd3838383612286565b611dde600082611b2d565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611e2e9190613a69565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611e859190613988565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b61200f848484611ce2565b61201b8484848461239a565b61205a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161205190613535565b60405180910390fd5b50505050565b606060008214156120a8576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506121bc565b600082905060005b600082146120da5780806120c390613bb6565b915050600a826120d391906139de565b91506120b0565b60008167ffffffffffffffff8111156120f6576120f5613d1b565b5b6040519080825280601f01601f1916602001820160405280156121285781602001600182028036833780820191505090505b5090505b600085146121b5576001826121419190613a69565b9150600a856121509190613bff565b603061215c9190613988565b60f81b81838151811061217257612171613cec565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856121ae91906139de565b945061212c565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6122358383612531565b612242600084848461239a565b612281576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161227890613535565b60405180910390fd5b505050565b6122918383836126ff565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156122d4576122cf81612704565b612313565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461231257612311838261274d565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561235657612351816128ba565b612395565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161461239457612393828261298b565b5b5b505050565b60006123bb8473ffffffffffffffffffffffffffffffffffffffff16612a0a565b15612524578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026123e4611b25565b8786866040518563ffffffff1660e01b8152600401612406949392919061346a565b602060405180830381600087803b15801561242057600080fd5b505af192505050801561245157506040513d601f19601f8201168201806040525081019061244e9190612e26565b60015b6124d4573d8060008114612481576040519150601f19603f3d011682016040523d82523d6000602084013e612486565b606091505b506000815114156124cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124c390613535565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612529565b600190505b949350505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156125a1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612598906136d5565b60405180910390fd5b6125aa81611ab9565b156125ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125e190613575565b60405180910390fd5b6125f660008383612286565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546126469190613988565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161275a84610fe5565b6127649190613a69565b9050600060076000848152602001908152602001600020549050818114612849576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506128ce9190613a69565b90506000600960008481526020019081526020016000205490506000600883815481106128fe576128fd613cec565b5b9060005260206000200154905080600883815481106129205761291f613cec565b5b90600052602060002001819055508160096000838152602001908152602001600020819055506009600085815260200190815260200160002060009055600880548061296f5761296e613cbd565b5b6001900381819060005260206000200160009055905550505050565b600061299683610fe5565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600080823b905060008111915050919050565b828054612a2990613b53565b90600052602060002090601f016020900481019282612a4b5760008555612a92565b82601f10612a6457805160ff1916838001178555612a92565b82800160010185558215612a92579182015b82811115612a91578251825591602001919060010190612a76565b5b509050612a9f9190612aa3565b5090565b5b80821115612abc576000816000905550600101612aa4565b5090565b6000612ad3612ace84613895565b613870565b905082815260208101848484011115612aef57612aee613d4f565b5b612afa848285613b11565b509392505050565b6000612b15612b10846138c6565b613870565b905082815260208101848484011115612b3157612b30613d4f565b5b612b3c848285613b11565b509392505050565b600081359050612b53816143d3565b92915050565b600081359050612b68816143ea565b92915050565b600081359050612b7d81614401565b92915050565b600081519050612b9281614401565b92915050565b600082601f830112612bad57612bac613d4a565b5b8135612bbd848260208601612ac0565b91505092915050565b600082601f830112612bdb57612bda613d4a565b5b8135612beb848260208601612b02565b91505092915050565b600081359050612c0381614418565b92915050565b600060208284031215612c1f57612c1e613d59565b5b6000612c2d84828501612b44565b91505092915050565b60008060408385031215612c4d57612c4c613d59565b5b6000612c5b85828601612b44565b9250506020612c6c85828601612b44565b9150509250929050565b600080600060608486031215612c8f57612c8e613d59565b5b6000612c9d86828701612b44565b9350506020612cae86828701612b44565b9250506040612cbf86828701612bf4565b9150509250925092565b60008060008060808587031215612ce357612ce2613d59565b5b6000612cf187828801612b44565b9450506020612d0287828801612b44565b9350506040612d1387828801612bf4565b925050606085013567ffffffffffffffff811115612d3457612d33613d54565b5b612d4087828801612b98565b91505092959194509250565b60008060408385031215612d6357612d62613d59565b5b6000612d7185828601612b44565b9250506020612d8285828601612b59565b9150509250929050565b60008060408385031215612da357612da2613d59565b5b6000612db185828601612b44565b9250506020612dc285828601612bf4565b9150509250929050565b600060208284031215612de257612de1613d59565b5b6000612df084828501612b59565b91505092915050565b600060208284031215612e0f57612e0e613d59565b5b6000612e1d84828501612b6e565b91505092915050565b600060208284031215612e3c57612e3b613d59565b5b6000612e4a84828501612b83565b91505092915050565b600060208284031215612e6957612e68613d59565b5b600082013567ffffffffffffffff811115612e8757612e86613d54565b5b612e9384828501612bc6565b91505092915050565b600060208284031215612eb257612eb1613d59565b5b6000612ec084828501612bf4565b91505092915050565b6000612ed5838361340d565b60208301905092915050565b612eea81613a9d565b82525050565b6000612efb8261391c565b612f05818561394a565b9350612f10836138f7565b8060005b83811015612f41578151612f288882612ec9565b9750612f338361393d565b925050600181019050612f14565b5085935050505092915050565b612f5781613aaf565b82525050565b6000612f6882613927565b612f72818561395b565b9350612f82818560208601613b20565b612f8b81613d5e565b840191505092915050565b6000612fa182613932565b612fab818561396c565b9350612fbb818560208601613b20565b612fc481613d5e565b840191505092915050565b6000612fda82613932565b612fe4818561397d565b9350612ff4818560208601613b20565b80840191505092915050565b6000815461300d81613b53565b613017818661397d565b94506001821660008114613032576001811461304357613076565b60ff19831686528186019350613076565b61304c85613907565b60005b8381101561306e5781548189015260018201915060208101905061304f565b838801955050505b50505092915050565b600061308c602b8361396c565b915061309782613d6f565b604082019050919050565b60006130af60328361396c565b91506130ba82613dbe565b604082019050919050565b60006130d260268361396c565b91506130dd82613e0d565b604082019050919050565b60006130f5601c8361396c565b915061310082613e5c565b602082019050919050565b600061311860248361396c565b915061312382613e85565b604082019050919050565b600061313b60198361396c565b915061314682613ed4565b602082019050919050565b600061315e602c8361396c565b915061316982613efd565b604082019050919050565b600061318160208361396c565b915061318c82613f4c565b602082019050919050565b60006131a460388361396c565b91506131af82613f75565b604082019050919050565b60006131c7602a8361396c565b91506131d282613fc4565b604082019050919050565b60006131ea60298361396c565b91506131f582614013565b604082019050919050565b600061320d60218361396c565b915061321882614062565b604082019050919050565b600061323060358361396c565b915061323b826140b1565b604082019050919050565b600061325360168361396c565b915061325e82614100565b602082019050919050565b600061327660208361396c565b915061328182614129565b602082019050919050565b6000613299602c8361396c565b91506132a482614152565b604082019050919050565b60006132bc60208361396c565b91506132c7826141a1565b602082019050919050565b60006132df60298361396c565b91506132ea826141ca565b604082019050919050565b600061330260208361396c565b915061330d82614219565b602082019050919050565b600061332560218361396c565b915061333082614242565b604082019050919050565b600061334860108361396c565b915061335382614291565b602082019050919050565b600061336b60318361396c565b9150613376826142ba565b604082019050919050565b600061338e60088361396c565b915061339982614309565b602082019050919050565b60006133b1602c8361396c565b91506133bc82614332565b604082019050919050565b60006133d4600f8361396c565b91506133df82614381565b602082019050919050565b60006133f760198361396c565b9150613402826143aa565b602082019050919050565b61341681613b07565b82525050565b61342581613b07565b82525050565b60006134378285613000565b91506134438284612fcf565b91508190509392505050565b60006020820190506134646000830184612ee1565b92915050565b600060808201905061347f6000830187612ee1565b61348c6020830186612ee1565b613499604083018561341c565b81810360608301526134ab8184612f5d565b905095945050505050565b600060208201905081810360008301526134d08184612ef0565b905092915050565b60006020820190506134ed6000830184612f4e565b92915050565b6000602082019050818103600083015261350d8184612f96565b905092915050565b6000602082019050818103600083015261352e8161307f565b9050919050565b6000602082019050818103600083015261354e816130a2565b9050919050565b6000602082019050818103600083015261356e816130c5565b9050919050565b6000602082019050818103600083015261358e816130e8565b9050919050565b600060208201905081810360008301526135ae8161310b565b9050919050565b600060208201905081810360008301526135ce8161312e565b9050919050565b600060208201905081810360008301526135ee81613151565b9050919050565b6000602082019050818103600083015261360e81613174565b9050919050565b6000602082019050818103600083015261362e81613197565b9050919050565b6000602082019050818103600083015261364e816131ba565b9050919050565b6000602082019050818103600083015261366e816131dd565b9050919050565b6000602082019050818103600083015261368e81613200565b9050919050565b600060208201905081810360008301526136ae81613223565b9050919050565b600060208201905081810360008301526136ce81613246565b9050919050565b600060208201905081810360008301526136ee81613269565b9050919050565b6000602082019050818103600083015261370e8161328c565b9050919050565b6000602082019050818103600083015261372e816132af565b9050919050565b6000602082019050818103600083015261374e816132d2565b9050919050565b6000602082019050818103600083015261376e816132f5565b9050919050565b6000602082019050818103600083015261378e81613318565b9050919050565b600060208201905081810360008301526137ae8161333b565b9050919050565b600060208201905081810360008301526137ce8161335e565b9050919050565b600060208201905081810360008301526137ee81613381565b9050919050565b6000602082019050818103600083015261380e816133a4565b9050919050565b6000602082019050818103600083015261382e816133c7565b9050919050565b6000602082019050818103600083015261384e816133ea565b9050919050565b600060208201905061386a600083018461341c565b92915050565b600061387a61388b565b90506138868282613b85565b919050565b6000604051905090565b600067ffffffffffffffff8211156138b0576138af613d1b565b5b6138b982613d5e565b9050602081019050919050565b600067ffffffffffffffff8211156138e1576138e0613d1b565b5b6138ea82613d5e565b9050602081019050919050565b6000819050602082019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600061399382613b07565b915061399e83613b07565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156139d3576139d2613c30565b5b828201905092915050565b60006139e982613b07565b91506139f483613b07565b925082613a0457613a03613c5f565b5b828204905092915050565b6000613a1a82613b07565b9150613a2583613b07565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613a5e57613a5d613c30565b5b828202905092915050565b6000613a7482613b07565b9150613a7f83613b07565b925082821015613a9257613a91613c30565b5b828203905092915050565b6000613aa882613ae7565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015613b3e578082015181840152602081019050613b23565b83811115613b4d576000848401525b50505050565b60006002820490506001821680613b6b57607f821691505b60208210811415613b7f57613b7e613c8e565b5b50919050565b613b8e82613d5e565b810181811067ffffffffffffffff82111715613bad57613bac613d1b565b5b80604052505050565b6000613bc182613b07565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613bf457613bf3613c30565b5b600182019050919050565b6000613c0a82613b07565b9150613c1583613b07565b925082613c2557613c24613c5f565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f43616e206f6e6c792072657365727665207072696f7220746f206c61756e6368600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f5468617420746f6b656e206861736e2774206265656e206d696e74656420796560008201527f7400000000000000000000000000000000000000000000000000000000000000602082015250565b7f5468652076616c7565207375626d69747465642077697468207468697320747260008201527f616e73616374696f6e20697320746f6f206c6f772e0000000000000000000000602082015250565b7f4e6f7420656e6f75676820746f6b656e73206c65667400000000000000000000600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4d6178206f776e657220746f6b656e7320616c7265616479206d696e7465642e600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4e6f74206f6e2073616c65207965742e00000000000000000000000000000000600082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f536f6c64206f7574000000000000000000000000000000000000000000000000600082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f53616c65732064697361626c65642e0000000000000000000000000000000000600082015250565b7f4d696e74203230206f722066657765722c20706c656173652e00000000000000600082015250565b6143dc81613a9d565b81146143e757600080fd5b50565b6143f381613aaf565b81146143fe57600080fd5b50565b61440a81613abb565b811461441557600080fd5b50565b61442181613b07565b811461442c57600080fd5b5056fea26469706673582212209f9ca3a6a78c65df3dccbc114f8fffc9ee5970c90c5cb9002a7b5f9b20db87a964736f6c63430008060033
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.