ERC-721
NFT
Overview
Max Total Supply
2,056 VOYAGER
Holders
1,083
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
0 VOYAGERLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Voyager
Compiler Version
v0.8.11+commit.d7f03943
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
//SPDX-License-Identifier: Unlicense pragma solidity 0.8.11; import "erc721a/contracts/ERC721A.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/security/Pausable.sol"; import "@openzeppelin/contracts/utils/cryptography/SignatureChecker.sol"; import '@openzeppelin/contracts/utils/Strings.sol'; contract Voyager is ERC721A, Ownable, ReentrancyGuard, Pausable { using Strings for uint256; uint256 public supply = 5000; uint256 public price = 0.25 ether; string public placeholder = "https://ipfs.io/ipfs/QmRxT8xRjgYeKGf6uuryz7d8os12gp9M6Z4Sg1Yf3wm5fo/"; string public uri; address public signer; address public treasury; string public provenance; bool public preSaleLive; bool public publicSaleLive; mapping(address => bool) public minted; mapping(address => bool) private admins; event PreSaleLive(bool live); event PublicSaleLive(bool live); constructor(string memory name, string memory symbol) ERC721A(name, symbol) { treasury = owner(); } /** @dev adminMint used to mint prior the sale starts - to create collection - gift to recipients - reimburse users */ function adminMint(uint256 quantity, address to) external adminOrOwner { require(totalSupply() + quantity <= supply , "Exceeds supply"); _safeMint(to, quantity); } function presaleMint( uint256 quantity, bytes calldata signature ) external payable nonReentrant whenNotPaused mintConditions(quantity, signature) { require(preSaleLive, "not live"); _mint(quantity); } function publicMint( uint256 quantity, bytes calldata signature ) external payable nonReentrant whenNotPaused mintConditions(quantity, signature) { require(publicSaleLive, "not live"); _mint(quantity); } modifier mintConditions(uint256 quantity, bytes calldata signature) { require(_isValid(quantity, _msgSender(), signature), "Invalid signature"); require(!minted[_msgSender()], "Already minted"); require(msg.value >= price * quantity, "Insufficient amount"); require(totalSupply() + quantity <= supply , "Exceeds supply"); _; } function _mint(uint256 quantity) internal { minted[msg.sender] = true; _safeMint(msg.sender, quantity); } function _isValid(uint256 quantity, address user, bytes calldata signature) internal view returns (bool) { return SignatureChecker.isValidSignatureNow(signer, keccak256(abi.encodePacked(user, quantity)), signature); } function burn(uint256 id) external { TokenOwnership memory prevOwnership = ownershipOf(id); bool isApprovedOrOwner = (_msgSender() == prevOwnership.addr || isApprovedForAll(prevOwnership.addr, _msgSender()) || getApproved(id) == _msgSender()); require(isApprovedOrOwner, "unauthorised"); _burn(id); } function withdraw() external adminOrOwner { (bool success,) = treasury.call{value: address(this).balance}(""); require(success, "Transfer failed."); } function setSupply(uint256 _supply) external adminOrOwner { supply = _supply; } function setPrice(uint256 _price) external adminOrOwner { price = _price; } function setTreasury(address _treasury) external adminOrOwner { treasury = _treasury; } function setSigner(address _signer) external adminOrOwner { signer = _signer; } function setProvenance(string memory _provenance) public onlyOwner { provenance = _provenance; } function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : placeholder; } function _baseURI() internal view override returns (string memory) { return uri; } function setPlaceholder(string memory _uri) external adminOrOwner { placeholder = _uri; } function setURI(string memory _uri) external adminOrOwner { uri = _uri; } function togglePublicSale() external adminOrOwner { bool isLive = !publicSaleLive; publicSaleLive = isLive; emit PublicSaleLive(isLive); } function togglePreSale() external adminOrOwner { bool isLive = !preSaleLive; preSaleLive = isLive; emit PreSaleLive(isLive); } function pause() external adminOrOwner { _pause(); } function unpause() external adminOrOwner { _unpause(); } function addAdmin(address _admin) external adminOrOwner { admins[_admin] = true; } function removeAdmin(address _admin) external adminOrOwner { admins[_admin] = false; } modifier adminOrOwner() { require(admins[_msgSender()] || _msgSender() == owner(), "Unauthorized"); _; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (utils/cryptography/SignatureChecker.sol) pragma solidity ^0.8.0; import "./ECDSA.sol"; import "../Address.sol"; import "../../interfaces/IERC1271.sol"; /** * @dev Signature verification helper that can be used instead of `ECDSA.recover` to seamlessly support both ECDSA * signatures from externally owned accounts (EOAs) as well as ERC1271 signatures from smart contract wallets like * Argent and Gnosis Safe. * * _Available since v4.1._ */ library SignatureChecker { /** * @dev Checks if a signature is valid for a given signer and data hash. If the signer is a smart contract, the * signature is validated against that smart contract using ERC1271, otherwise it's validated using `ECDSA.recover`. * * NOTE: Unlike ECDSA signatures, contract signatures are revocable, and the outcome of this function can thus * change through time. It could return true at block N and false at block N+1 (or the opposite). */ function isValidSignatureNow( address signer, bytes32 hash, bytes memory signature ) internal view returns (bool) { (address recovered, ECDSA.RecoverError error) = ECDSA.tryRecover(hash, signature); if (error == ECDSA.RecoverError.NoError && recovered == signer) { return true; } (bool success, bytes memory result) = signer.staticcall( abi.encodeWithSelector(IERC1271.isValidSignature.selector, hash, signature) ); return (success && result.length == 32 && abi.decode(result, (bytes4)) == IERC1271.isValidSignature.selector); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (security/Pausable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ abstract contract Pausable is Context { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ constructor() { _paused = false; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { require(!paused(), "Pausable: paused"); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { require(paused(), "Pausable: not paused"); _; } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // Creator: Chiru Labs pragma solidity ^0.8.4; import '@openzeppelin/contracts/token/ERC721/IERC721.sol'; import '@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol'; import '@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol'; import '@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol'; import '@openzeppelin/contracts/utils/Address.sol'; import '@openzeppelin/contracts/utils/Context.sol'; import '@openzeppelin/contracts/utils/Strings.sol'; import '@openzeppelin/contracts/utils/introspection/ERC165.sol'; error ApprovalCallerNotOwnerNorApproved(); error ApprovalQueryForNonexistentToken(); error ApproveToCaller(); error ApprovalToCurrentOwner(); error BalanceQueryForZeroAddress(); error MintedQueryForZeroAddress(); error BurnedQueryForZeroAddress(); error AuxQueryForZeroAddress(); error MintToZeroAddress(); error MintZeroQuantity(); error OwnerIndexOutOfBounds(); error OwnerQueryForNonexistentToken(); error TokenIndexOutOfBounds(); error TransferCallerNotOwnerNorApproved(); error TransferFromIncorrectOwner(); error TransferToNonERC721ReceiverImplementer(); error TransferToZeroAddress(); error URIQueryForNonexistentToken(); /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension. Built to optimize for lower gas during batch mints. * * Assumes serials are sequentially minted starting at _startTokenId() (defaults to 0, e.g. 0, 1, 2, 3..). * * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Compiler will pack this into a single 256bit word. struct TokenOwnership { // The address of the owner. address addr; // Keeps track of the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; } // Compiler will pack this into a single 256bit word. struct AddressData { // Realistically, 2**64-1 is more than enough. uint64 balance; // Keeps track of mint count with minimal overhead for tokenomics. uint64 numberMinted; // Keeps track of burn count with minimal overhead for tokenomics. uint64 numberBurned; // For miscellaneous variable(s) pertaining to the address // (e.g. number of whitelist mint slots used). // If there are multiple variables, please pack them into a uint64. uint64 aux; } // The tokenId of the next token to be minted. uint256 internal _currentIndex; // The number of tokens burned. uint256 internal _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. See ownershipOf implementation for details. mapping(uint256 => TokenOwnership) internal _ownerships; // Mapping owner address to address data mapping(address => AddressData) private _addressData; // 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; constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } /** * To change the starting tokenId, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev See {IERC721Enumerable-totalSupply}. * @dev Burned tokens are calculated here, use _totalMinted() if you want to count just minted tokens. */ function totalSupply() public view returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than _currentIndex - _startTokenId() times unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view returns (uint256) { // Counter underflow is impossible as _currentIndex does not decrement, // and it is initialized to _startTokenId() unchecked { return _currentIndex - _startTokenId(); } } /** * @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 override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return uint256(_addressData[owner].balance); } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { if (owner == address(0)) revert MintedQueryForZeroAddress(); return uint256(_addressData[owner].numberMinted); } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { if (owner == address(0)) revert BurnedQueryForZeroAddress(); return uint256(_addressData[owner].numberBurned); } /** * Returns the auxillary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { if (owner == address(0)) revert AuxQueryForZeroAddress(); return _addressData[owner].aux; } /** * Sets the auxillary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal { if (owner == address(0)) revert AuxQueryForZeroAddress(); _addressData[owner].aux = aux; } /** * Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around in the collection over time. */ function ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr && curr < _currentIndex) { TokenOwnership memory ownership = _ownerships[curr]; if (!ownership.burned) { if (ownership.addr != address(0)) { return ownership; } // Invariant: // There will always be an ownership that has an address and is not burned // before an ownership that does not have an address and is not burned. // Hence, curr will not underflow. while (true) { curr--; ownership = _ownerships[curr]; if (ownership.addr != address(0)) { return ownership; } } } } } revert OwnerQueryForNonexistentToken(); } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view override returns (address) { return ownershipOf(tokenId).addr; } /** * @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) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); 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 override { address owner = ERC721A.ownerOf(tokenId); if (to == owner) revert ApprovalToCurrentOwner(); if (_msgSender() != owner && !isApprovedForAll(owner, _msgSender())) { revert ApprovalCallerNotOwnerNorApproved(); } _approve(to, tokenId, owner); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public override { if (operator == _msgSender()) revert ApproveToCaller(); _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 { _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 { _transfer(from, to, tokenId); if (to.isContract() && !_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @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`), */ function _exists(uint256 tokenId) internal view returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && !_ownerships[tokenId].burned; } function _safeMint(address to, uint256 quantity) internal { _safeMint(to, quantity, ''); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * Emits a {Transfer} event. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal { _mint(to, quantity, _data, true); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event. */ function _mint( address to, uint256 quantity, bytes memory _data, bool safe ) internal { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1 // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1 unchecked { _addressData[to].balance += uint64(quantity); _addressData[to].numberMinted += uint64(quantity); _ownerships[startTokenId].addr = to; _ownerships[startTokenId].startTimestamp = uint64(block.timestamp); uint256 updatedIndex = startTokenId; uint256 end = updatedIndex + quantity; if (safe && to.isContract()) { do { emit Transfer(address(0), to, updatedIndex); if (!_checkContractOnERC721Received(address(0), to, updatedIndex++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (updatedIndex != end); // Reentrancy protection if (_currentIndex != startTokenId) revert(); } else { do { emit Transfer(address(0), to, updatedIndex++); } while (updatedIndex != end); } _currentIndex = updatedIndex; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Transfers `tokenId` from `from` to `to`. * * 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 ) private { TokenOwnership memory prevOwnership = ownershipOf(tokenId); bool isApprovedOrOwner = (_msgSender() == prevOwnership.addr || isApprovedForAll(prevOwnership.addr, _msgSender()) || getApproved(tokenId) == _msgSender()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); if (prevOwnership.addr != from) revert TransferFromIncorrectOwner(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, prevOwnership.addr); // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256. unchecked { _addressData[from].balance -= 1; _addressData[to].balance += 1; _ownerships[tokenId].addr = to; _ownerships[tokenId].startTimestamp = uint64(block.timestamp); // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it. // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls. uint256 nextTokenId = tokenId + 1; if (_ownerships[nextTokenId].addr == address(0)) { // This will suffice for checking _exists(nextTokenId), // as a burned slot cannot contain the zero address. if (nextTokenId < _currentIndex) { _ownerships[nextTokenId].addr = prevOwnership.addr; _ownerships[nextTokenId].startTimestamp = prevOwnership.startTimestamp; } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @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 { TokenOwnership memory prevOwnership = ownershipOf(tokenId); _beforeTokenTransfers(prevOwnership.addr, address(0), tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, prevOwnership.addr); // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256. unchecked { _addressData[prevOwnership.addr].balance -= 1; _addressData[prevOwnership.addr].numberBurned += 1; // Keep track of who burned the token, and the timestamp of burning. _ownerships[tokenId].addr = prevOwnership.addr; _ownerships[tokenId].startTimestamp = uint64(block.timestamp); _ownerships[tokenId].burned = true; // If the ownership slot of tokenId+1 is not explicitly set, that means the burn initiator owns it. // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls. uint256 nextTokenId = tokenId + 1; if (_ownerships[nextTokenId].addr == address(0)) { // This will suffice for checking _exists(nextTokenId), // as a burned slot cannot contain the zero address. if (nextTokenId < _currentIndex) { _ownerships[nextTokenId].addr = prevOwnership.addr; _ownerships[nextTokenId].startTimestamp = prevOwnership.startTimestamp; } } } emit Transfer(prevOwnership.addr, address(0), tokenId); _afterTokenTransfers(prevOwnership.addr, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve( address to, uint256 tokenId, address owner ) private { _tokenApprovals[tokenId] = to; emit Approval(owner, to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target 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 _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { 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 TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } /** * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting. * And also called before burning one token. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * 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, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes * minting. * And also called after one token has been burned. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (interfaces/IERC1271.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC1271 standard signature validation method for * contracts as defined in https://eips.ethereum.org/EIPS/eip-1271[ERC-1271]. * * _Available since v4.1._ */ interface IERC1271 { /** * @dev Should return whether the signature provided is valid for the provided data * @param hash Hash of the data to be signed * @param signature Signature byte array associated with _data */ function isValidSignature(bytes32 hash, bytes memory signature) external view returns (bytes4 magicValue); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (utils/cryptography/ECDSA.sol) pragma solidity ^0.8.0; import "../Strings.sol"; /** * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations. * * These functions can be used to verify that a message was signed by the holder * of the private keys of a given address. */ library ECDSA { enum RecoverError { NoError, InvalidSignature, InvalidSignatureLength, InvalidSignatureS, InvalidSignatureV } function _throwError(RecoverError error) private pure { if (error == RecoverError.NoError) { return; // no error: do nothing } else if (error == RecoverError.InvalidSignature) { revert("ECDSA: invalid signature"); } else if (error == RecoverError.InvalidSignatureLength) { revert("ECDSA: invalid signature length"); } else if (error == RecoverError.InvalidSignatureS) { revert("ECDSA: invalid signature 's' value"); } else if (error == RecoverError.InvalidSignatureV) { revert("ECDSA: invalid signature 'v' value"); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature` or error string. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. * * Documentation for signature generation: * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js] * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers] * * _Available since v4.3._ */ function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) { // Check the signature length // - case 65: r,s,v signature (standard) // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._ if (signature.length == 65) { bytes32 r; bytes32 s; uint8 v; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. assembly { r := mload(add(signature, 0x20)) s := mload(add(signature, 0x40)) v := byte(0, mload(add(signature, 0x60))) } return tryRecover(hash, v, r, s); } else if (signature.length == 64) { bytes32 r; bytes32 vs; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. assembly { r := mload(add(signature, 0x20)) vs := mload(add(signature, 0x40)) } return tryRecover(hash, r, vs); } else { return (address(0), RecoverError.InvalidSignatureLength); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature`. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. */ function recover(bytes32 hash, bytes memory signature) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, signature); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately. * * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures] * * _Available since v4.3._ */ function tryRecover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address, RecoverError) { bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff); uint8 v = uint8((uint256(vs) >> 255) + 27); return tryRecover(hash, v, r, s); } /** * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately. * * _Available since v4.2._ */ function recover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, r, vs); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `v`, * `r` and `s` signature fields separately. * * _Available since v4.3._ */ function tryRecover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address, RecoverError) { // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most // signatures from current libraries generate a unique signature with an s-value in the lower half order. // // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept // these malleable signatures as well. if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) { return (address(0), RecoverError.InvalidSignatureS); } if (v != 27 && v != 28) { return (address(0), RecoverError.InvalidSignatureV); } // If the signature is valid (and not malleable), return the signer address address signer = ecrecover(hash, v, r, s); if (signer == address(0)) { return (address(0), RecoverError.InvalidSignature); } return (signer, RecoverError.NoError); } /** * @dev Overload of {ECDSA-recover} that receives the `v`, * `r` and `s` signature fields separately. */ function recover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, v, r, s); _throwError(error); return recovered; } /** * @dev Returns an Ethereum Signed Message, created from a `hash`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) { // 32 is the length in bytes of hash, // enforced by the type signature above return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash)); } /** * @dev Returns an Ethereum Signed Message, created from `s`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s)); } /** * @dev Returns an Ethereum Signed Typed Data, created from a * `domainSeparator` and a `structHash`. This produces hash corresponding * to the one signed with the * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`] * JSON-RPC method as part of EIP-712. * * See {recover}. */ function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash)); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"live","type":"bool"}],"name":"PreSaleLive","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"live","type":"bool"}],"name":"PublicSaleLive","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[{"internalType":"address","name":"_admin","type":"address"}],"name":"addAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"},{"internalType":"address","name":"to","type":"address"}],"name":"adminMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"minted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"placeholder","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"preSaleLive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"presaleMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"provenance","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"publicSaleLive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_admin","type":"address"}],"name":"removeAdmin","outputs":[],"stateMutability":"nonpayable","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":"_uri","type":"string"}],"name":"setPlaceholder","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_provenance","type":"string"}],"name":"setProvenance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_signer","type":"address"}],"name":"setSigner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_supply","type":"uint256"}],"name":"setSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_treasury","type":"address"}],"name":"setTreasury","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uri","type":"string"}],"name":"setURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"signer","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"supply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":[],"name":"togglePreSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"togglePublicSale","outputs":[],"stateMutability":"nonpayable","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":[],"name":"treasury","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6080604052611388600b556703782dace9d90000600c556040518060800160405280604481526020016200613960449139600d9080519060200190620000479291906200025f565b503480156200005557600080fd5b506040516200617d3803806200617d83398181016040528101906200007b9190620004ac565b81818160029080519060200190620000959291906200025f565b508060039080519060200190620000ae9291906200025f565b50620000bf6200016260201b60201c565b6000819055505050620000e7620000db6200016760201b60201c565b6200016f60201b60201c565b60016009819055506000600a60006101000a81548160ff0219169083151502179055506200011a6200023560201b60201c565b601060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550505062000596565b600090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b8280546200026d9062000560565b90600052602060002090601f016020900481019282620002915760008555620002dd565b82601f10620002ac57805160ff1916838001178555620002dd565b82800160010185558215620002dd579182015b82811115620002dc578251825591602001919060010190620002bf565b5b509050620002ec9190620002f0565b5090565b5b808211156200030b576000816000905550600101620002f1565b5090565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b62000378826200032d565b810181811067ffffffffffffffff821117156200039a57620003996200033e565b5b80604052505050565b6000620003af6200030f565b9050620003bd82826200036d565b919050565b600067ffffffffffffffff821115620003e057620003df6200033e565b5b620003eb826200032d565b9050602081019050919050565b60005b8381101562000418578082015181840152602081019050620003fb565b8381111562000428576000848401525b50505050565b6000620004456200043f84620003c2565b620003a3565b90508281526020810184848401111562000464576200046362000328565b5b62000471848285620003f8565b509392505050565b600082601f83011262000491576200049062000323565b5b8151620004a38482602086016200042e565b91505092915050565b60008060408385031215620004c657620004c562000319565b5b600083015167ffffffffffffffff811115620004e757620004e66200031e565b5b620004f58582860162000479565b925050602083015167ffffffffffffffff8111156200051957620005186200031e565b5b620005278582860162000479565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200057957607f821691505b6020821081141562000590576200058f62000531565b5b50919050565b615b9380620005a66000396000f3fe60806040526004361061027d5760003560e01c80636352211e1161014f578063a22cb465116100c1578063eac989f81161007a578063eac989f814610917578063f0f4426014610942578063f2fde38b1461096b578063f4e8b45014610994578063fd24a854146109bd578063ffe630b5146109d95761027d565b8063a22cb4651461081d578063b88d4fde14610846578063c87b56dd1461086f578063ca3cb522146108ac578063e222c7f9146108c3578063e985e9c5146108da5761027d565b80638456cb59116101135780638456cb59146107315780638da5cb5b1461074857806391b7f5ed1461077357806395d89b411461079c5780639e75143c146107c7578063a035b1fe146107f25761027d565b80636352211e1461064e5780636c19e7831461068b57806370480275146106b457806370a08231146106dd578063715018a61461071a5761027d565b80631e7269c5116101f35780633f4ba83a116101ac5780633f4ba83a1461056457806342842e0e1461057b57806342966c68146105a45780635bd90b76146105cd5780635c975abb146105f857806361d027b3146106235761027d565b80631e7269c514610468578063238ac933146104a557806323b872dd146104d057806326d93800146104f95780633b4c4b25146105245780633ccfd60b1461054d5761027d565b8063095ea7b311610245578063095ea7b31461037b5780630dc28efe146103a45780630ed89c01146103cd5780630f7309e8146103e95780631785f53c1461041457806318160ddd1461043d5761027d565b806301ffc9a71461028257806302fe5305146102bf578063047fc9aa146102e857806306fdde0314610313578063081812fc1461033e575b600080fd5b34801561028e57600080fd5b506102a960048036038101906102a491906148be565b610a02565b6040516102b69190614906565b60405180910390f35b3480156102cb57600080fd5b506102e660048036038101906102e19190614a67565b610ae4565b005b3480156102f457600080fd5b506102fd610bd5565b60405161030a9190614ac9565b60405180910390f35b34801561031f57600080fd5b50610328610bdb565b6040516103359190614b6c565b60405180910390f35b34801561034a57600080fd5b5061036560048036038101906103609190614bba565b610c6d565b6040516103729190614c28565b60405180910390f35b34801561038757600080fd5b506103a2600480360381019061039d9190614c6f565b610ce9565b005b3480156103b057600080fd5b506103cb60048036038101906103c69190614caf565b610df4565b005b6103e760048036038101906103e29190614d4f565b610f30565b005b3480156103f557600080fd5b506103fe6111be565b60405161040b9190614b6c565b60405180910390f35b34801561042057600080fd5b5061043b60048036038101906104369190614daf565b61124c565b005b34801561044957600080fd5b5061045261137e565b60405161045f9190614ac9565b60405180910390f35b34801561047457600080fd5b5061048f600480360381019061048a9190614daf565b611395565b60405161049c9190614906565b60405180910390f35b3480156104b157600080fd5b506104ba6113b5565b6040516104c79190614c28565b60405180910390f35b3480156104dc57600080fd5b506104f760048036038101906104f29190614ddc565b6113db565b005b34801561050557600080fd5b5061050e6113eb565b60405161051b9190614906565b60405180910390f35b34801561053057600080fd5b5061054b60048036038101906105469190614bba565b6113fe565b005b34801561055957600080fd5b506105626114df565b005b34801561057057600080fd5b50610579611687565b005b34801561058757600080fd5b506105a2600480360381019061059d9190614ddc565b611768565b005b3480156105b057600080fd5b506105cb60048036038101906105c69190614bba565b611788565b005b3480156105d957600080fd5b506105e2611882565b6040516105ef9190614906565b60405180910390f35b34801561060457600080fd5b5061060d611895565b60405161061a9190614906565b60405180910390f35b34801561062f57600080fd5b506106386118ac565b6040516106459190614c28565b60405180910390f35b34801561065a57600080fd5b5061067560048036038101906106709190614bba565b6118d2565b6040516106829190614c28565b60405180910390f35b34801561069757600080fd5b506106b260048036038101906106ad9190614daf565b6118e8565b005b3480156106c057600080fd5b506106db60048036038101906106d69190614daf565b611a03565b005b3480156106e957600080fd5b5061070460048036038101906106ff9190614daf565b611b35565b6040516107119190614ac9565b60405180910390f35b34801561072657600080fd5b5061072f611c05565b005b34801561073d57600080fd5b50610746611c8d565b005b34801561075457600080fd5b5061075d611d6e565b60405161076a9190614c28565b60405180910390f35b34801561077f57600080fd5b5061079a60048036038101906107959190614bba565b611d98565b005b3480156107a857600080fd5b506107b1611e79565b6040516107be9190614b6c565b60405180910390f35b3480156107d357600080fd5b506107dc611f0b565b6040516107e99190614b6c565b60405180910390f35b3480156107fe57600080fd5b50610807611f99565b6040516108149190614ac9565b60405180910390f35b34801561082957600080fd5b50610844600480360381019061083f9190614e5b565b611f9f565b005b34801561085257600080fd5b5061086d60048036038101906108689190614f3c565b612117565b005b34801561087b57600080fd5b5061089660048036038101906108919190614bba565b612193565b6040516108a39190614b6c565b60405180910390f35b3480156108b857600080fd5b506108c16122ad565b005b3480156108cf57600080fd5b506108d86123ed565b005b3480156108e657600080fd5b5061090160048036038101906108fc9190614fbf565b61252d565b60405161090e9190614906565b60405180910390f35b34801561092357600080fd5b5061092c6125c1565b6040516109399190614b6c565b60405180910390f35b34801561094e57600080fd5b5061096960048036038101906109649190614daf565b61264f565b005b34801561097757600080fd5b50610992600480360381019061098d9190614daf565b61276a565b005b3480156109a057600080fd5b506109bb60048036038101906109b69190614a67565b612862565b005b6109d760048036038101906109d29190614d4f565b612953565b005b3480156109e557600080fd5b50610a0060048036038101906109fb9190614a67565b612be1565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610acd57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610add5750610adc82612c77565b5b9050919050565b60146000610af0612ce1565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1680610b7c5750610b46611d6e565b73ffffffffffffffffffffffffffffffffffffffff16610b64612ce1565b73ffffffffffffffffffffffffffffffffffffffff16145b610bbb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bb29061504b565b60405180910390fd5b80600e9080519060200190610bd192919061476c565b5050565b600b5481565b606060028054610bea9061509a565b80601f0160208091040260200160405190810160405280929190818152602001828054610c169061509a565b8015610c635780601f10610c3857610100808354040283529160200191610c63565b820191906000526020600020905b815481529060010190602001808311610c4657829003601f168201915b5050505050905090565b6000610c7882612ce9565b610cae576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610cf4826118d2565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610d5c576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610d7b612ce1565b73ffffffffffffffffffffffffffffffffffffffff1614158015610dad5750610dab81610da6612ce1565b61252d565b155b15610de4576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610def838383612d37565b505050565b60146000610e00612ce1565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1680610e8c5750610e56611d6e565b73ffffffffffffffffffffffffffffffffffffffff16610e74612ce1565b73ffffffffffffffffffffffffffffffffffffffff16145b610ecb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ec29061504b565b60405180910390fd5b600b5482610ed761137e565b610ee191906150fb565b1115610f22576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f199061519d565b60405180910390fd5b610f2c8183612de9565b5050565b60026009541415610f76576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f6d90615209565b60405180910390fd5b6002600981905550610f86611895565b15610fc6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fbd90615275565b60405180910390fd5b828282610fdc83610fd5612ce1565b8484612e07565b61101b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611012906152e1565b60405180910390fd5b60136000611027612ce1565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16156110af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110a69061534d565b60405180910390fd5b82600c546110bd919061536d565b3410156110ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110f690615413565b60405180910390fd5b600b548361110b61137e565b61111591906150fb565b1115611156576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161114d9061519d565b60405180910390fd5b601260019054906101000a900460ff166111a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161119c9061547f565b60405180910390fd5b6111ae86612eac565b5050506001600981905550505050565b601180546111cb9061509a565b80601f01602080910402602001604051908101604052809291908181526020018280546111f79061509a565b80156112445780601f1061121957610100808354040283529160200191611244565b820191906000526020600020905b81548152906001019060200180831161122757829003601f168201915b505050505081565b60146000611258612ce1565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16806112e457506112ae611d6e565b73ffffffffffffffffffffffffffffffffffffffff166112cc612ce1565b73ffffffffffffffffffffffffffffffffffffffff16145b611323576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161131a9061504b565b60405180910390fd5b6000601460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b6000611388612f11565b6001546000540303905090565b60136020528060005260406000206000915054906101000a900460ff1681565b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6113e6838383612f16565b505050565b601260019054906101000a900460ff1681565b6014600061140a612ce1565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16806114965750611460611d6e565b73ffffffffffffffffffffffffffffffffffffffff1661147e612ce1565b73ffffffffffffffffffffffffffffffffffffffff16145b6114d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114cc9061504b565b60405180910390fd5b80600b8190555050565b601460006114eb612ce1565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16806115775750611541611d6e565b73ffffffffffffffffffffffffffffffffffffffff1661155f612ce1565b73ffffffffffffffffffffffffffffffffffffffff16145b6115b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115ad9061504b565b60405180910390fd5b6000601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16476040516115fe906154d0565b60006040518083038185875af1925050503d806000811461163b576040519150601f19603f3d011682016040523d82523d6000602084013e611640565b606091505b5050905080611684576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161167b90615531565b60405180910390fd5b50565b60146000611693612ce1565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff168061171f57506116e9611d6e565b73ffffffffffffffffffffffffffffffffffffffff16611707612ce1565b73ffffffffffffffffffffffffffffffffffffffff16145b61175e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117559061504b565b60405180910390fd5b611766613407565b565b61178383838360405180602001604052806000815250612117565b505050565b6000611793826134a9565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff166117ba612ce1565b73ffffffffffffffffffffffffffffffffffffffff1614806117ed57506117ec82600001516117e7612ce1565b61252d565b5b8061183257506117fb612ce1565b73ffffffffffffffffffffffffffffffffffffffff1661181a84610c6d565b73ffffffffffffffffffffffffffffffffffffffff16145b905080611874576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161186b9061559d565b60405180910390fd5b61187d83613738565b505050565b601260009054906101000a900460ff1681565b6000600a60009054906101000a900460ff16905090565b601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60006118dd826134a9565b600001519050919050565b601460006118f4612ce1565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1680611980575061194a611d6e565b73ffffffffffffffffffffffffffffffffffffffff16611968612ce1565b73ffffffffffffffffffffffffffffffffffffffff16145b6119bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119b69061504b565b60405180910390fd5b80600f60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60146000611a0f612ce1565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1680611a9b5750611a65611d6e565b73ffffffffffffffffffffffffffffffffffffffff16611a83612ce1565b73ffffffffffffffffffffffffffffffffffffffff16145b611ada576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ad19061504b565b60405180910390fd5b6001601460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611b9d576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b611c0d612ce1565b73ffffffffffffffffffffffffffffffffffffffff16611c2b611d6e565b73ffffffffffffffffffffffffffffffffffffffff1614611c81576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c7890615609565b60405180910390fd5b611c8b6000613adc565b565b60146000611c99612ce1565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1680611d255750611cef611d6e565b73ffffffffffffffffffffffffffffffffffffffff16611d0d612ce1565b73ffffffffffffffffffffffffffffffffffffffff16145b611d64576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d5b9061504b565b60405180910390fd5b611d6c613ba2565b565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60146000611da4612ce1565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1680611e305750611dfa611d6e565b73ffffffffffffffffffffffffffffffffffffffff16611e18612ce1565b73ffffffffffffffffffffffffffffffffffffffff16145b611e6f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e669061504b565b60405180910390fd5b80600c8190555050565b606060038054611e889061509a565b80601f0160208091040260200160405190810160405280929190818152602001828054611eb49061509a565b8015611f015780601f10611ed657610100808354040283529160200191611f01565b820191906000526020600020905b815481529060010190602001808311611ee457829003601f168201915b5050505050905090565b600d8054611f189061509a565b80601f0160208091040260200160405190810160405280929190818152602001828054611f449061509a565b8015611f915780601f10611f6657610100808354040283529160200191611f91565b820191906000526020600020905b815481529060010190602001808311611f7457829003601f168201915b505050505081565b600c5481565b611fa7612ce1565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561200c576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000612019612ce1565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166120c6612ce1565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161210b9190614906565b60405180910390a35050565b612122848484612f16565b6121418373ffffffffffffffffffffffffffffffffffffffff16613c45565b8015612156575061215484848484613c68565b155b1561218d576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b606061219e82612ce9565b6121d4576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006121de613db9565b905060008151141561227a57600d80546121f79061509a565b80601f01602080910402602001604051908101604052809291908181526020018280546122239061509a565b80156122705780601f1061224557610100808354040283529160200191612270565b820191906000526020600020905b81548152906001019060200180831161225357829003601f168201915b50505050506122a5565b8061228484613e4b565b604051602001612295929190615665565b6040516020818303038152906040525b915050919050565b601460006122b9612ce1565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1680612345575061230f611d6e565b73ffffffffffffffffffffffffffffffffffffffff1661232d612ce1565b73ffffffffffffffffffffffffffffffffffffffff16145b612384576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161237b9061504b565b60405180910390fd5b6000601260009054906101000a900460ff1615905080601260006101000a81548160ff0219169083151502179055507fe3ad53dafd1c0ffa6cce5ab8f835f087439405f1c88f064bce7c2dcd6f9f4f71816040516123e29190614906565b60405180910390a150565b601460006123f9612ce1565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1680612485575061244f611d6e565b73ffffffffffffffffffffffffffffffffffffffff1661246d612ce1565b73ffffffffffffffffffffffffffffffffffffffff16145b6124c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124bb9061504b565b60405180910390fd5b6000601260019054906101000a900460ff1615905080601260016101000a81548160ff0219169083151502179055507fdd79d9959cb470e41ef2703abfb72a2fd6421eed5f8deb527fa8ff40717ff915816040516125229190614906565b60405180910390a150565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600e80546125ce9061509a565b80601f01602080910402602001604051908101604052809291908181526020018280546125fa9061509a565b80156126475780601f1061261c57610100808354040283529160200191612647565b820191906000526020600020905b81548152906001019060200180831161262a57829003601f168201915b505050505081565b6014600061265b612ce1565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16806126e757506126b1611d6e565b73ffffffffffffffffffffffffffffffffffffffff166126cf612ce1565b73ffffffffffffffffffffffffffffffffffffffff16145b612726576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161271d9061504b565b60405180910390fd5b80601060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b612772612ce1565b73ffffffffffffffffffffffffffffffffffffffff16612790611d6e565b73ffffffffffffffffffffffffffffffffffffffff16146127e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127dd90615609565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612856576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161284d906156fb565b60405180910390fd5b61285f81613adc565b50565b6014600061286e612ce1565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16806128fa57506128c4611d6e565b73ffffffffffffffffffffffffffffffffffffffff166128e2612ce1565b73ffffffffffffffffffffffffffffffffffffffff16145b612939576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129309061504b565b60405180910390fd5b80600d908051906020019061294f92919061476c565b5050565b60026009541415612999576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161299090615209565b60405180910390fd5b60026009819055506129a9611895565b156129e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129e090615275565b60405180910390fd5b8282826129ff836129f8612ce1565b8484612e07565b612a3e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a35906152e1565b60405180910390fd5b60136000612a4a612ce1565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615612ad2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ac99061534d565b60405180910390fd5b82600c54612ae0919061536d565b341015612b22576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b1990615413565b60405180910390fd5b600b5483612b2e61137e565b612b3891906150fb565b1115612b79576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b709061519d565b60405180910390fd5b601260009054906101000a900460ff16612bc8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bbf9061547f565b60405180910390fd5b612bd186612eac565b5050506001600981905550505050565b612be9612ce1565b73ffffffffffffffffffffffffffffffffffffffff16612c07611d6e565b73ffffffffffffffffffffffffffffffffffffffff1614612c5d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c5490615609565b60405180910390fd5b8060119080519060200190612c7392919061476c565b5050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b600081612cf4612f11565b11158015612d03575060005482105b8015612d30575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b612e03828260405180602001604052806000815250613fac565b5050565b6000612ea2600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168587604051602001612e42929190615784565b6040516020818303038152906040528051906020012085858080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050613fbe565b9050949350505050565b6001601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550612f0e3382612de9565b50565b600090565b6000612f21826134a9565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff16612f48612ce1565b73ffffffffffffffffffffffffffffffffffffffff161480612f7b5750612f7a8260000151612f75612ce1565b61252d565b5b80612fc05750612f89612ce1565b73ffffffffffffffffffffffffffffffffffffffff16612fa884610c6d565b73ffffffffffffffffffffffffffffffffffffffff16145b905080612ff9576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff1614613062576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156130c9576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6130d685858560016141a3565b6130e66000848460000151612d37565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550836004600085815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600085815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600184019050600073ffffffffffffffffffffffffffffffffffffffff166004600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415613397576000548110156133965782600001516004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082602001516004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b50828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461340085858560016141a9565b5050505050565b61340f611895565b61344e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613445906157fc565b60405180910390fd5b6000600a60006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa613492612ce1565b60405161349f9190614c28565b60405180910390a1565b6134b16147f2565b6000829050806134bf612f11565b111580156134ce575060005481105b15613701576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff161515151581525050905080604001516136ff57600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146135e3578092505050613733565b5b6001156136fe57818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146136f9578092505050613733565b6135e4565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000613743826134a9565b9050613757816000015160008460016141a3565b6137676000838360000151612d37565b600160056000836000015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600160056000836000015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160108282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555080600001516004600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600084815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600160046000848152602001908152602001600020600001601c6101000a81548160ff0219169083151502179055506000600183019050600073ffffffffffffffffffffffffffffffffffffffff166004600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415613a5357600054811015613a525781600001516004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081602001516004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b5081600073ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4613ac6816000015160008460016141a9565b6001600081548092919060010191905055505050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b613baa611895565b15613bea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613be190615275565b60405180910390fd5b6001600a60006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258613c2e612ce1565b604051613c3b9190614c28565b60405180910390a1565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613c8e612ce1565b8786866040518563ffffffff1660e01b8152600401613cb09493929190615871565b6020604051808303816000875af1925050508015613cec57506040513d601f19601f82011682018060405250810190613ce991906158d2565b60015b613d66573d8060008114613d1c576040519150601f19603f3d011682016040523d82523d6000602084013e613d21565b606091505b50600081511415613d5e576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6060600e8054613dc89061509a565b80601f0160208091040260200160405190810160405280929190818152602001828054613df49061509a565b8015613e415780601f10613e1657610100808354040283529160200191613e41565b820191906000526020600020905b815481529060010190602001808311613e2457829003601f168201915b5050505050905090565b60606000821415613e93576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613fa7565b600082905060005b60008214613ec5578080613eae906158ff565b915050600a82613ebe9190615977565b9150613e9b565b60008167ffffffffffffffff811115613ee157613ee061493c565b5b6040519080825280601f01601f191660200182016040528015613f135781602001600182028036833780820191505090505b5090505b60008514613fa057600182613f2c91906159a8565b9150600a85613f3b91906159dc565b6030613f4791906150fb565b60f81b818381518110613f5d57613f5c615a0d565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85613f999190615977565b9450613f17565b8093505050505b919050565b613fb983838360016141af565b505050565b6000806000613fcd858561457d565b9150915060006004811115613fe557613fe4615a3c565b5b816004811115613ff857613ff7615a3c565b5b14801561403057508573ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16145b156140405760019250505061419c565b6000808773ffffffffffffffffffffffffffffffffffffffff16631626ba7e60e01b8888604051602401614075929190615a84565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506040516140df9190615ae5565b600060405180830381855afa9150503d806000811461411a576040519150601f19603f3d011682016040523d82523d6000602084013e61411f565b606091505b5091509150818015614132575060208151145b80156141955750631626ba7e60e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19168180602001905181019061417491906158d2565b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9450505050505b9392505050565b50505050565b50505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16141561421c576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000841415614257576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61426460008683876141a3565b83600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060008190506000858201905083801561442e575061442d8773ffffffffffffffffffffffffffffffffffffffff16613c45565b5b156144f4575b818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46144a36000888480600101955088613c68565b6144d9576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b808214156144345782600054146144ef57600080fd5b614560565b5b818060010192508773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4808214156144f5575b81600081905550505061457660008683876141a9565b5050505050565b6000806041835114156145bf5760008060006020860151925060408601519150606086015160001a90506145b387828585614600565b945094505050506145f9565b6040835114156145f05760008060208501519150604085015190506145e586838361470d565b9350935050506145f9565b60006002915091505b9250929050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c111561463b576000600391509150614704565b601b8560ff16141580156146535750601c8560ff1614155b15614665576000600491509150614704565b60006001878787876040516000815260200160405260405161468a9493929190615b18565b6020604051602081039080840390855afa1580156146ac573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156146fb57600060019250925050614704565b80600092509250505b94509492505050565b60008060007f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60001b841690506000601b60ff8660001c901c61475091906150fb565b905061475e87828885614600565b935093505050935093915050565b8280546147789061509a565b90600052602060002090601f01602090048101928261479a57600085556147e1565b82601f106147b357805160ff19168380011785556147e1565b828001600101855582156147e1579182015b828111156147e05782518255916020019190600101906147c5565b5b5090506147ee9190614835565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b8082111561484e576000816000905550600101614836565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61489b81614866565b81146148a657600080fd5b50565b6000813590506148b881614892565b92915050565b6000602082840312156148d4576148d361485c565b5b60006148e2848285016148a9565b91505092915050565b60008115159050919050565b614900816148eb565b82525050565b600060208201905061491b60008301846148f7565b92915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6149748261492b565b810181811067ffffffffffffffff821117156149935761499261493c565b5b80604052505050565b60006149a6614852565b90506149b2828261496b565b919050565b600067ffffffffffffffff8211156149d2576149d161493c565b5b6149db8261492b565b9050602081019050919050565b82818337600083830152505050565b6000614a0a614a05846149b7565b61499c565b905082815260208101848484011115614a2657614a25614926565b5b614a318482856149e8565b509392505050565b600082601f830112614a4e57614a4d614921565b5b8135614a5e8482602086016149f7565b91505092915050565b600060208284031215614a7d57614a7c61485c565b5b600082013567ffffffffffffffff811115614a9b57614a9a614861565b5b614aa784828501614a39565b91505092915050565b6000819050919050565b614ac381614ab0565b82525050565b6000602082019050614ade6000830184614aba565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015614b1e578082015181840152602081019050614b03565b83811115614b2d576000848401525b50505050565b6000614b3e82614ae4565b614b488185614aef565b9350614b58818560208601614b00565b614b618161492b565b840191505092915050565b60006020820190508181036000830152614b868184614b33565b905092915050565b614b9781614ab0565b8114614ba257600080fd5b50565b600081359050614bb481614b8e565b92915050565b600060208284031215614bd057614bcf61485c565b5b6000614bde84828501614ba5565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000614c1282614be7565b9050919050565b614c2281614c07565b82525050565b6000602082019050614c3d6000830184614c19565b92915050565b614c4c81614c07565b8114614c5757600080fd5b50565b600081359050614c6981614c43565b92915050565b60008060408385031215614c8657614c8561485c565b5b6000614c9485828601614c5a565b9250506020614ca585828601614ba5565b9150509250929050565b60008060408385031215614cc657614cc561485c565b5b6000614cd485828601614ba5565b9250506020614ce585828601614c5a565b9150509250929050565b600080fd5b600080fd5b60008083601f840112614d0f57614d0e614921565b5b8235905067ffffffffffffffff811115614d2c57614d2b614cef565b5b602083019150836001820283011115614d4857614d47614cf4565b5b9250929050565b600080600060408486031215614d6857614d6761485c565b5b6000614d7686828701614ba5565b935050602084013567ffffffffffffffff811115614d9757614d96614861565b5b614da386828701614cf9565b92509250509250925092565b600060208284031215614dc557614dc461485c565b5b6000614dd384828501614c5a565b91505092915050565b600080600060608486031215614df557614df461485c565b5b6000614e0386828701614c5a565b9350506020614e1486828701614c5a565b9250506040614e2586828701614ba5565b9150509250925092565b614e38816148eb565b8114614e4357600080fd5b50565b600081359050614e5581614e2f565b92915050565b60008060408385031215614e7257614e7161485c565b5b6000614e8085828601614c5a565b9250506020614e9185828601614e46565b9150509250929050565b600067ffffffffffffffff821115614eb657614eb561493c565b5b614ebf8261492b565b9050602081019050919050565b6000614edf614eda84614e9b565b61499c565b905082815260208101848484011115614efb57614efa614926565b5b614f068482856149e8565b509392505050565b600082601f830112614f2357614f22614921565b5b8135614f33848260208601614ecc565b91505092915050565b60008060008060808587031215614f5657614f5561485c565b5b6000614f6487828801614c5a565b9450506020614f7587828801614c5a565b9350506040614f8687828801614ba5565b925050606085013567ffffffffffffffff811115614fa757614fa6614861565b5b614fb387828801614f0e565b91505092959194509250565b60008060408385031215614fd657614fd561485c565b5b6000614fe485828601614c5a565b9250506020614ff585828601614c5a565b9150509250929050565b7f556e617574686f72697a65640000000000000000000000000000000000000000600082015250565b6000615035600c83614aef565b915061504082614fff565b602082019050919050565b6000602082019050818103600083015261506481615028565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806150b257607f821691505b602082108114156150c6576150c561506b565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061510682614ab0565b915061511183614ab0565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115615146576151456150cc565b5b828201905092915050565b7f4578636565647320737570706c79000000000000000000000000000000000000600082015250565b6000615187600e83614aef565b915061519282615151565b602082019050919050565b600060208201905081810360008301526151b68161517a565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b60006151f3601f83614aef565b91506151fe826151bd565b602082019050919050565b60006020820190508181036000830152615222816151e6565b9050919050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b600061525f601083614aef565b915061526a82615229565b602082019050919050565b6000602082019050818103600083015261528e81615252565b9050919050565b7f496e76616c6964207369676e6174757265000000000000000000000000000000600082015250565b60006152cb601183614aef565b91506152d682615295565b602082019050919050565b600060208201905081810360008301526152fa816152be565b9050919050565b7f416c7265616479206d696e746564000000000000000000000000000000000000600082015250565b6000615337600e83614aef565b915061534282615301565b602082019050919050565b600060208201905081810360008301526153668161532a565b9050919050565b600061537882614ab0565b915061538383614ab0565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156153bc576153bb6150cc565b5b828202905092915050565b7f496e73756666696369656e7420616d6f756e7400000000000000000000000000600082015250565b60006153fd601383614aef565b9150615408826153c7565b602082019050919050565b6000602082019050818103600083015261542c816153f0565b9050919050565b7f6e6f74206c697665000000000000000000000000000000000000000000000000600082015250565b6000615469600883614aef565b915061547482615433565b602082019050919050565b600060208201905081810360008301526154988161545c565b9050919050565b600081905092915050565b50565b60006154ba60008361549f565b91506154c5826154aa565b600082019050919050565b60006154db826154ad565b9150819050919050565b7f5472616e73666572206661696c65642e00000000000000000000000000000000600082015250565b600061551b601083614aef565b9150615526826154e5565b602082019050919050565b6000602082019050818103600083015261554a8161550e565b9050919050565b7f756e617574686f72697365640000000000000000000000000000000000000000600082015250565b6000615587600c83614aef565b915061559282615551565b602082019050919050565b600060208201905081810360008301526155b68161557a565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006155f3602083614aef565b91506155fe826155bd565b602082019050919050565b60006020820190508181036000830152615622816155e6565b9050919050565b600081905092915050565b600061563f82614ae4565b6156498185615629565b9350615659818560208601614b00565b80840191505092915050565b60006156718285615634565b915061567d8284615634565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006156e5602683614aef565b91506156f082615689565b604082019050919050565b60006020820190508181036000830152615714816156d8565b9050919050565b60008160601b9050919050565b60006157338261571b565b9050919050565b600061574582615728565b9050919050565b61575d61575882614c07565b61573a565b82525050565b6000819050919050565b61577e61577982614ab0565b615763565b82525050565b6000615790828561574c565b6014820191506157a0828461576d565b6020820191508190509392505050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b60006157e6601483614aef565b91506157f1826157b0565b602082019050919050565b60006020820190508181036000830152615815816157d9565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006158438261581c565b61584d8185615827565b935061585d818560208601614b00565b6158668161492b565b840191505092915050565b60006080820190506158866000830187614c19565b6158936020830186614c19565b6158a06040830185614aba565b81810360608301526158b28184615838565b905095945050505050565b6000815190506158cc81614892565b92915050565b6000602082840312156158e8576158e761485c565b5b60006158f6848285016158bd565b91505092915050565b600061590a82614ab0565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561593d5761593c6150cc565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061598282614ab0565b915061598d83614ab0565b92508261599d5761599c615948565b5b828204905092915050565b60006159b382614ab0565b91506159be83614ab0565b9250828210156159d1576159d06150cc565b5b828203905092915050565b60006159e782614ab0565b91506159f283614ab0565b925082615a0257615a01615948565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b6000819050919050565b615a7e81615a6b565b82525050565b6000604082019050615a996000830185615a75565b8181036020830152615aab8184615838565b90509392505050565b6000615abf8261581c565b615ac9818561549f565b9350615ad9818560208601614b00565b80840191505092915050565b6000615af18284615ab4565b915081905092915050565b600060ff82169050919050565b615b1281615afc565b82525050565b6000608082019050615b2d6000830187615a75565b615b3a6020830186615b09565b615b476040830185615a75565b615b546060830184615a75565b9594505050505056fea264697066735822122036f4739183609173939b8acb00fd45c52ef104ddbb3a1b7abc5bedd8a8e52ba964736f6c634300080b003368747470733a2f2f697066732e696f2f697066732f516d5278543878526a6759654b476636757572797a3764386f7331326770394d365a34536731596633776d35666f2f000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000007566f7961676572000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007564f594147455200000000000000000000000000000000000000000000000000
Deployed Bytecode
0x60806040526004361061027d5760003560e01c80636352211e1161014f578063a22cb465116100c1578063eac989f81161007a578063eac989f814610917578063f0f4426014610942578063f2fde38b1461096b578063f4e8b45014610994578063fd24a854146109bd578063ffe630b5146109d95761027d565b8063a22cb4651461081d578063b88d4fde14610846578063c87b56dd1461086f578063ca3cb522146108ac578063e222c7f9146108c3578063e985e9c5146108da5761027d565b80638456cb59116101135780638456cb59146107315780638da5cb5b1461074857806391b7f5ed1461077357806395d89b411461079c5780639e75143c146107c7578063a035b1fe146107f25761027d565b80636352211e1461064e5780636c19e7831461068b57806370480275146106b457806370a08231146106dd578063715018a61461071a5761027d565b80631e7269c5116101f35780633f4ba83a116101ac5780633f4ba83a1461056457806342842e0e1461057b57806342966c68146105a45780635bd90b76146105cd5780635c975abb146105f857806361d027b3146106235761027d565b80631e7269c514610468578063238ac933146104a557806323b872dd146104d057806326d93800146104f95780633b4c4b25146105245780633ccfd60b1461054d5761027d565b8063095ea7b311610245578063095ea7b31461037b5780630dc28efe146103a45780630ed89c01146103cd5780630f7309e8146103e95780631785f53c1461041457806318160ddd1461043d5761027d565b806301ffc9a71461028257806302fe5305146102bf578063047fc9aa146102e857806306fdde0314610313578063081812fc1461033e575b600080fd5b34801561028e57600080fd5b506102a960048036038101906102a491906148be565b610a02565b6040516102b69190614906565b60405180910390f35b3480156102cb57600080fd5b506102e660048036038101906102e19190614a67565b610ae4565b005b3480156102f457600080fd5b506102fd610bd5565b60405161030a9190614ac9565b60405180910390f35b34801561031f57600080fd5b50610328610bdb565b6040516103359190614b6c565b60405180910390f35b34801561034a57600080fd5b5061036560048036038101906103609190614bba565b610c6d565b6040516103729190614c28565b60405180910390f35b34801561038757600080fd5b506103a2600480360381019061039d9190614c6f565b610ce9565b005b3480156103b057600080fd5b506103cb60048036038101906103c69190614caf565b610df4565b005b6103e760048036038101906103e29190614d4f565b610f30565b005b3480156103f557600080fd5b506103fe6111be565b60405161040b9190614b6c565b60405180910390f35b34801561042057600080fd5b5061043b60048036038101906104369190614daf565b61124c565b005b34801561044957600080fd5b5061045261137e565b60405161045f9190614ac9565b60405180910390f35b34801561047457600080fd5b5061048f600480360381019061048a9190614daf565b611395565b60405161049c9190614906565b60405180910390f35b3480156104b157600080fd5b506104ba6113b5565b6040516104c79190614c28565b60405180910390f35b3480156104dc57600080fd5b506104f760048036038101906104f29190614ddc565b6113db565b005b34801561050557600080fd5b5061050e6113eb565b60405161051b9190614906565b60405180910390f35b34801561053057600080fd5b5061054b60048036038101906105469190614bba565b6113fe565b005b34801561055957600080fd5b506105626114df565b005b34801561057057600080fd5b50610579611687565b005b34801561058757600080fd5b506105a2600480360381019061059d9190614ddc565b611768565b005b3480156105b057600080fd5b506105cb60048036038101906105c69190614bba565b611788565b005b3480156105d957600080fd5b506105e2611882565b6040516105ef9190614906565b60405180910390f35b34801561060457600080fd5b5061060d611895565b60405161061a9190614906565b60405180910390f35b34801561062f57600080fd5b506106386118ac565b6040516106459190614c28565b60405180910390f35b34801561065a57600080fd5b5061067560048036038101906106709190614bba565b6118d2565b6040516106829190614c28565b60405180910390f35b34801561069757600080fd5b506106b260048036038101906106ad9190614daf565b6118e8565b005b3480156106c057600080fd5b506106db60048036038101906106d69190614daf565b611a03565b005b3480156106e957600080fd5b5061070460048036038101906106ff9190614daf565b611b35565b6040516107119190614ac9565b60405180910390f35b34801561072657600080fd5b5061072f611c05565b005b34801561073d57600080fd5b50610746611c8d565b005b34801561075457600080fd5b5061075d611d6e565b60405161076a9190614c28565b60405180910390f35b34801561077f57600080fd5b5061079a60048036038101906107959190614bba565b611d98565b005b3480156107a857600080fd5b506107b1611e79565b6040516107be9190614b6c565b60405180910390f35b3480156107d357600080fd5b506107dc611f0b565b6040516107e99190614b6c565b60405180910390f35b3480156107fe57600080fd5b50610807611f99565b6040516108149190614ac9565b60405180910390f35b34801561082957600080fd5b50610844600480360381019061083f9190614e5b565b611f9f565b005b34801561085257600080fd5b5061086d60048036038101906108689190614f3c565b612117565b005b34801561087b57600080fd5b5061089660048036038101906108919190614bba565b612193565b6040516108a39190614b6c565b60405180910390f35b3480156108b857600080fd5b506108c16122ad565b005b3480156108cf57600080fd5b506108d86123ed565b005b3480156108e657600080fd5b5061090160048036038101906108fc9190614fbf565b61252d565b60405161090e9190614906565b60405180910390f35b34801561092357600080fd5b5061092c6125c1565b6040516109399190614b6c565b60405180910390f35b34801561094e57600080fd5b5061096960048036038101906109649190614daf565b61264f565b005b34801561097757600080fd5b50610992600480360381019061098d9190614daf565b61276a565b005b3480156109a057600080fd5b506109bb60048036038101906109b69190614a67565b612862565b005b6109d760048036038101906109d29190614d4f565b612953565b005b3480156109e557600080fd5b50610a0060048036038101906109fb9190614a67565b612be1565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610acd57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610add5750610adc82612c77565b5b9050919050565b60146000610af0612ce1565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1680610b7c5750610b46611d6e565b73ffffffffffffffffffffffffffffffffffffffff16610b64612ce1565b73ffffffffffffffffffffffffffffffffffffffff16145b610bbb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bb29061504b565b60405180910390fd5b80600e9080519060200190610bd192919061476c565b5050565b600b5481565b606060028054610bea9061509a565b80601f0160208091040260200160405190810160405280929190818152602001828054610c169061509a565b8015610c635780601f10610c3857610100808354040283529160200191610c63565b820191906000526020600020905b815481529060010190602001808311610c4657829003601f168201915b5050505050905090565b6000610c7882612ce9565b610cae576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610cf4826118d2565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610d5c576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610d7b612ce1565b73ffffffffffffffffffffffffffffffffffffffff1614158015610dad5750610dab81610da6612ce1565b61252d565b155b15610de4576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610def838383612d37565b505050565b60146000610e00612ce1565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1680610e8c5750610e56611d6e565b73ffffffffffffffffffffffffffffffffffffffff16610e74612ce1565b73ffffffffffffffffffffffffffffffffffffffff16145b610ecb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ec29061504b565b60405180910390fd5b600b5482610ed761137e565b610ee191906150fb565b1115610f22576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f199061519d565b60405180910390fd5b610f2c8183612de9565b5050565b60026009541415610f76576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f6d90615209565b60405180910390fd5b6002600981905550610f86611895565b15610fc6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fbd90615275565b60405180910390fd5b828282610fdc83610fd5612ce1565b8484612e07565b61101b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611012906152e1565b60405180910390fd5b60136000611027612ce1565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16156110af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110a69061534d565b60405180910390fd5b82600c546110bd919061536d565b3410156110ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110f690615413565b60405180910390fd5b600b548361110b61137e565b61111591906150fb565b1115611156576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161114d9061519d565b60405180910390fd5b601260019054906101000a900460ff166111a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161119c9061547f565b60405180910390fd5b6111ae86612eac565b5050506001600981905550505050565b601180546111cb9061509a565b80601f01602080910402602001604051908101604052809291908181526020018280546111f79061509a565b80156112445780601f1061121957610100808354040283529160200191611244565b820191906000526020600020905b81548152906001019060200180831161122757829003601f168201915b505050505081565b60146000611258612ce1565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16806112e457506112ae611d6e565b73ffffffffffffffffffffffffffffffffffffffff166112cc612ce1565b73ffffffffffffffffffffffffffffffffffffffff16145b611323576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161131a9061504b565b60405180910390fd5b6000601460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b6000611388612f11565b6001546000540303905090565b60136020528060005260406000206000915054906101000a900460ff1681565b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6113e6838383612f16565b505050565b601260019054906101000a900460ff1681565b6014600061140a612ce1565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16806114965750611460611d6e565b73ffffffffffffffffffffffffffffffffffffffff1661147e612ce1565b73ffffffffffffffffffffffffffffffffffffffff16145b6114d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114cc9061504b565b60405180910390fd5b80600b8190555050565b601460006114eb612ce1565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16806115775750611541611d6e565b73ffffffffffffffffffffffffffffffffffffffff1661155f612ce1565b73ffffffffffffffffffffffffffffffffffffffff16145b6115b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115ad9061504b565b60405180910390fd5b6000601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16476040516115fe906154d0565b60006040518083038185875af1925050503d806000811461163b576040519150601f19603f3d011682016040523d82523d6000602084013e611640565b606091505b5050905080611684576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161167b90615531565b60405180910390fd5b50565b60146000611693612ce1565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff168061171f57506116e9611d6e565b73ffffffffffffffffffffffffffffffffffffffff16611707612ce1565b73ffffffffffffffffffffffffffffffffffffffff16145b61175e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117559061504b565b60405180910390fd5b611766613407565b565b61178383838360405180602001604052806000815250612117565b505050565b6000611793826134a9565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff166117ba612ce1565b73ffffffffffffffffffffffffffffffffffffffff1614806117ed57506117ec82600001516117e7612ce1565b61252d565b5b8061183257506117fb612ce1565b73ffffffffffffffffffffffffffffffffffffffff1661181a84610c6d565b73ffffffffffffffffffffffffffffffffffffffff16145b905080611874576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161186b9061559d565b60405180910390fd5b61187d83613738565b505050565b601260009054906101000a900460ff1681565b6000600a60009054906101000a900460ff16905090565b601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60006118dd826134a9565b600001519050919050565b601460006118f4612ce1565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1680611980575061194a611d6e565b73ffffffffffffffffffffffffffffffffffffffff16611968612ce1565b73ffffffffffffffffffffffffffffffffffffffff16145b6119bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119b69061504b565b60405180910390fd5b80600f60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60146000611a0f612ce1565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1680611a9b5750611a65611d6e565b73ffffffffffffffffffffffffffffffffffffffff16611a83612ce1565b73ffffffffffffffffffffffffffffffffffffffff16145b611ada576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ad19061504b565b60405180910390fd5b6001601460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611b9d576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b611c0d612ce1565b73ffffffffffffffffffffffffffffffffffffffff16611c2b611d6e565b73ffffffffffffffffffffffffffffffffffffffff1614611c81576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c7890615609565b60405180910390fd5b611c8b6000613adc565b565b60146000611c99612ce1565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1680611d255750611cef611d6e565b73ffffffffffffffffffffffffffffffffffffffff16611d0d612ce1565b73ffffffffffffffffffffffffffffffffffffffff16145b611d64576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d5b9061504b565b60405180910390fd5b611d6c613ba2565b565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60146000611da4612ce1565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1680611e305750611dfa611d6e565b73ffffffffffffffffffffffffffffffffffffffff16611e18612ce1565b73ffffffffffffffffffffffffffffffffffffffff16145b611e6f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e669061504b565b60405180910390fd5b80600c8190555050565b606060038054611e889061509a565b80601f0160208091040260200160405190810160405280929190818152602001828054611eb49061509a565b8015611f015780601f10611ed657610100808354040283529160200191611f01565b820191906000526020600020905b815481529060010190602001808311611ee457829003601f168201915b5050505050905090565b600d8054611f189061509a565b80601f0160208091040260200160405190810160405280929190818152602001828054611f449061509a565b8015611f915780601f10611f6657610100808354040283529160200191611f91565b820191906000526020600020905b815481529060010190602001808311611f7457829003601f168201915b505050505081565b600c5481565b611fa7612ce1565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561200c576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000612019612ce1565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166120c6612ce1565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161210b9190614906565b60405180910390a35050565b612122848484612f16565b6121418373ffffffffffffffffffffffffffffffffffffffff16613c45565b8015612156575061215484848484613c68565b155b1561218d576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b606061219e82612ce9565b6121d4576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006121de613db9565b905060008151141561227a57600d80546121f79061509a565b80601f01602080910402602001604051908101604052809291908181526020018280546122239061509a565b80156122705780601f1061224557610100808354040283529160200191612270565b820191906000526020600020905b81548152906001019060200180831161225357829003601f168201915b50505050506122a5565b8061228484613e4b565b604051602001612295929190615665565b6040516020818303038152906040525b915050919050565b601460006122b9612ce1565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1680612345575061230f611d6e565b73ffffffffffffffffffffffffffffffffffffffff1661232d612ce1565b73ffffffffffffffffffffffffffffffffffffffff16145b612384576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161237b9061504b565b60405180910390fd5b6000601260009054906101000a900460ff1615905080601260006101000a81548160ff0219169083151502179055507fe3ad53dafd1c0ffa6cce5ab8f835f087439405f1c88f064bce7c2dcd6f9f4f71816040516123e29190614906565b60405180910390a150565b601460006123f9612ce1565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1680612485575061244f611d6e565b73ffffffffffffffffffffffffffffffffffffffff1661246d612ce1565b73ffffffffffffffffffffffffffffffffffffffff16145b6124c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124bb9061504b565b60405180910390fd5b6000601260019054906101000a900460ff1615905080601260016101000a81548160ff0219169083151502179055507fdd79d9959cb470e41ef2703abfb72a2fd6421eed5f8deb527fa8ff40717ff915816040516125229190614906565b60405180910390a150565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600e80546125ce9061509a565b80601f01602080910402602001604051908101604052809291908181526020018280546125fa9061509a565b80156126475780601f1061261c57610100808354040283529160200191612647565b820191906000526020600020905b81548152906001019060200180831161262a57829003601f168201915b505050505081565b6014600061265b612ce1565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16806126e757506126b1611d6e565b73ffffffffffffffffffffffffffffffffffffffff166126cf612ce1565b73ffffffffffffffffffffffffffffffffffffffff16145b612726576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161271d9061504b565b60405180910390fd5b80601060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b612772612ce1565b73ffffffffffffffffffffffffffffffffffffffff16612790611d6e565b73ffffffffffffffffffffffffffffffffffffffff16146127e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127dd90615609565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612856576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161284d906156fb565b60405180910390fd5b61285f81613adc565b50565b6014600061286e612ce1565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16806128fa57506128c4611d6e565b73ffffffffffffffffffffffffffffffffffffffff166128e2612ce1565b73ffffffffffffffffffffffffffffffffffffffff16145b612939576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129309061504b565b60405180910390fd5b80600d908051906020019061294f92919061476c565b5050565b60026009541415612999576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161299090615209565b60405180910390fd5b60026009819055506129a9611895565b156129e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129e090615275565b60405180910390fd5b8282826129ff836129f8612ce1565b8484612e07565b612a3e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a35906152e1565b60405180910390fd5b60136000612a4a612ce1565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615612ad2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ac99061534d565b60405180910390fd5b82600c54612ae0919061536d565b341015612b22576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b1990615413565b60405180910390fd5b600b5483612b2e61137e565b612b3891906150fb565b1115612b79576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b709061519d565b60405180910390fd5b601260009054906101000a900460ff16612bc8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bbf9061547f565b60405180910390fd5b612bd186612eac565b5050506001600981905550505050565b612be9612ce1565b73ffffffffffffffffffffffffffffffffffffffff16612c07611d6e565b73ffffffffffffffffffffffffffffffffffffffff1614612c5d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c5490615609565b60405180910390fd5b8060119080519060200190612c7392919061476c565b5050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b600081612cf4612f11565b11158015612d03575060005482105b8015612d30575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b612e03828260405180602001604052806000815250613fac565b5050565b6000612ea2600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168587604051602001612e42929190615784565b6040516020818303038152906040528051906020012085858080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050613fbe565b9050949350505050565b6001601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550612f0e3382612de9565b50565b600090565b6000612f21826134a9565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff16612f48612ce1565b73ffffffffffffffffffffffffffffffffffffffff161480612f7b5750612f7a8260000151612f75612ce1565b61252d565b5b80612fc05750612f89612ce1565b73ffffffffffffffffffffffffffffffffffffffff16612fa884610c6d565b73ffffffffffffffffffffffffffffffffffffffff16145b905080612ff9576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff1614613062576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156130c9576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6130d685858560016141a3565b6130e66000848460000151612d37565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550836004600085815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600085815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600184019050600073ffffffffffffffffffffffffffffffffffffffff166004600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415613397576000548110156133965782600001516004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082602001516004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b50828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461340085858560016141a9565b5050505050565b61340f611895565b61344e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613445906157fc565b60405180910390fd5b6000600a60006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa613492612ce1565b60405161349f9190614c28565b60405180910390a1565b6134b16147f2565b6000829050806134bf612f11565b111580156134ce575060005481105b15613701576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff161515151581525050905080604001516136ff57600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146135e3578092505050613733565b5b6001156136fe57818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146136f9578092505050613733565b6135e4565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000613743826134a9565b9050613757816000015160008460016141a3565b6137676000838360000151612d37565b600160056000836000015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600160056000836000015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160108282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555080600001516004600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600084815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600160046000848152602001908152602001600020600001601c6101000a81548160ff0219169083151502179055506000600183019050600073ffffffffffffffffffffffffffffffffffffffff166004600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415613a5357600054811015613a525781600001516004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081602001516004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b5081600073ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4613ac6816000015160008460016141a9565b6001600081548092919060010191905055505050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b613baa611895565b15613bea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613be190615275565b60405180910390fd5b6001600a60006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258613c2e612ce1565b604051613c3b9190614c28565b60405180910390a1565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613c8e612ce1565b8786866040518563ffffffff1660e01b8152600401613cb09493929190615871565b6020604051808303816000875af1925050508015613cec57506040513d601f19601f82011682018060405250810190613ce991906158d2565b60015b613d66573d8060008114613d1c576040519150601f19603f3d011682016040523d82523d6000602084013e613d21565b606091505b50600081511415613d5e576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6060600e8054613dc89061509a565b80601f0160208091040260200160405190810160405280929190818152602001828054613df49061509a565b8015613e415780601f10613e1657610100808354040283529160200191613e41565b820191906000526020600020905b815481529060010190602001808311613e2457829003601f168201915b5050505050905090565b60606000821415613e93576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613fa7565b600082905060005b60008214613ec5578080613eae906158ff565b915050600a82613ebe9190615977565b9150613e9b565b60008167ffffffffffffffff811115613ee157613ee061493c565b5b6040519080825280601f01601f191660200182016040528015613f135781602001600182028036833780820191505090505b5090505b60008514613fa057600182613f2c91906159a8565b9150600a85613f3b91906159dc565b6030613f4791906150fb565b60f81b818381518110613f5d57613f5c615a0d565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85613f999190615977565b9450613f17565b8093505050505b919050565b613fb983838360016141af565b505050565b6000806000613fcd858561457d565b9150915060006004811115613fe557613fe4615a3c565b5b816004811115613ff857613ff7615a3c565b5b14801561403057508573ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16145b156140405760019250505061419c565b6000808773ffffffffffffffffffffffffffffffffffffffff16631626ba7e60e01b8888604051602401614075929190615a84565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506040516140df9190615ae5565b600060405180830381855afa9150503d806000811461411a576040519150601f19603f3d011682016040523d82523d6000602084013e61411f565b606091505b5091509150818015614132575060208151145b80156141955750631626ba7e60e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19168180602001905181019061417491906158d2565b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9450505050505b9392505050565b50505050565b50505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16141561421c576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000841415614257576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61426460008683876141a3565b83600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060008190506000858201905083801561442e575061442d8773ffffffffffffffffffffffffffffffffffffffff16613c45565b5b156144f4575b818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46144a36000888480600101955088613c68565b6144d9576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b808214156144345782600054146144ef57600080fd5b614560565b5b818060010192508773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4808214156144f5575b81600081905550505061457660008683876141a9565b5050505050565b6000806041835114156145bf5760008060006020860151925060408601519150606086015160001a90506145b387828585614600565b945094505050506145f9565b6040835114156145f05760008060208501519150604085015190506145e586838361470d565b9350935050506145f9565b60006002915091505b9250929050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c111561463b576000600391509150614704565b601b8560ff16141580156146535750601c8560ff1614155b15614665576000600491509150614704565b60006001878787876040516000815260200160405260405161468a9493929190615b18565b6020604051602081039080840390855afa1580156146ac573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156146fb57600060019250925050614704565b80600092509250505b94509492505050565b60008060007f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60001b841690506000601b60ff8660001c901c61475091906150fb565b905061475e87828885614600565b935093505050935093915050565b8280546147789061509a565b90600052602060002090601f01602090048101928261479a57600085556147e1565b82601f106147b357805160ff19168380011785556147e1565b828001600101855582156147e1579182015b828111156147e05782518255916020019190600101906147c5565b5b5090506147ee9190614835565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b8082111561484e576000816000905550600101614836565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61489b81614866565b81146148a657600080fd5b50565b6000813590506148b881614892565b92915050565b6000602082840312156148d4576148d361485c565b5b60006148e2848285016148a9565b91505092915050565b60008115159050919050565b614900816148eb565b82525050565b600060208201905061491b60008301846148f7565b92915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6149748261492b565b810181811067ffffffffffffffff821117156149935761499261493c565b5b80604052505050565b60006149a6614852565b90506149b2828261496b565b919050565b600067ffffffffffffffff8211156149d2576149d161493c565b5b6149db8261492b565b9050602081019050919050565b82818337600083830152505050565b6000614a0a614a05846149b7565b61499c565b905082815260208101848484011115614a2657614a25614926565b5b614a318482856149e8565b509392505050565b600082601f830112614a4e57614a4d614921565b5b8135614a5e8482602086016149f7565b91505092915050565b600060208284031215614a7d57614a7c61485c565b5b600082013567ffffffffffffffff811115614a9b57614a9a614861565b5b614aa784828501614a39565b91505092915050565b6000819050919050565b614ac381614ab0565b82525050565b6000602082019050614ade6000830184614aba565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015614b1e578082015181840152602081019050614b03565b83811115614b2d576000848401525b50505050565b6000614b3e82614ae4565b614b488185614aef565b9350614b58818560208601614b00565b614b618161492b565b840191505092915050565b60006020820190508181036000830152614b868184614b33565b905092915050565b614b9781614ab0565b8114614ba257600080fd5b50565b600081359050614bb481614b8e565b92915050565b600060208284031215614bd057614bcf61485c565b5b6000614bde84828501614ba5565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000614c1282614be7565b9050919050565b614c2281614c07565b82525050565b6000602082019050614c3d6000830184614c19565b92915050565b614c4c81614c07565b8114614c5757600080fd5b50565b600081359050614c6981614c43565b92915050565b60008060408385031215614c8657614c8561485c565b5b6000614c9485828601614c5a565b9250506020614ca585828601614ba5565b9150509250929050565b60008060408385031215614cc657614cc561485c565b5b6000614cd485828601614ba5565b9250506020614ce585828601614c5a565b9150509250929050565b600080fd5b600080fd5b60008083601f840112614d0f57614d0e614921565b5b8235905067ffffffffffffffff811115614d2c57614d2b614cef565b5b602083019150836001820283011115614d4857614d47614cf4565b5b9250929050565b600080600060408486031215614d6857614d6761485c565b5b6000614d7686828701614ba5565b935050602084013567ffffffffffffffff811115614d9757614d96614861565b5b614da386828701614cf9565b92509250509250925092565b600060208284031215614dc557614dc461485c565b5b6000614dd384828501614c5a565b91505092915050565b600080600060608486031215614df557614df461485c565b5b6000614e0386828701614c5a565b9350506020614e1486828701614c5a565b9250506040614e2586828701614ba5565b9150509250925092565b614e38816148eb565b8114614e4357600080fd5b50565b600081359050614e5581614e2f565b92915050565b60008060408385031215614e7257614e7161485c565b5b6000614e8085828601614c5a565b9250506020614e9185828601614e46565b9150509250929050565b600067ffffffffffffffff821115614eb657614eb561493c565b5b614ebf8261492b565b9050602081019050919050565b6000614edf614eda84614e9b565b61499c565b905082815260208101848484011115614efb57614efa614926565b5b614f068482856149e8565b509392505050565b600082601f830112614f2357614f22614921565b5b8135614f33848260208601614ecc565b91505092915050565b60008060008060808587031215614f5657614f5561485c565b5b6000614f6487828801614c5a565b9450506020614f7587828801614c5a565b9350506040614f8687828801614ba5565b925050606085013567ffffffffffffffff811115614fa757614fa6614861565b5b614fb387828801614f0e565b91505092959194509250565b60008060408385031215614fd657614fd561485c565b5b6000614fe485828601614c5a565b9250506020614ff585828601614c5a565b9150509250929050565b7f556e617574686f72697a65640000000000000000000000000000000000000000600082015250565b6000615035600c83614aef565b915061504082614fff565b602082019050919050565b6000602082019050818103600083015261506481615028565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806150b257607f821691505b602082108114156150c6576150c561506b565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061510682614ab0565b915061511183614ab0565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115615146576151456150cc565b5b828201905092915050565b7f4578636565647320737570706c79000000000000000000000000000000000000600082015250565b6000615187600e83614aef565b915061519282615151565b602082019050919050565b600060208201905081810360008301526151b68161517a565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b60006151f3601f83614aef565b91506151fe826151bd565b602082019050919050565b60006020820190508181036000830152615222816151e6565b9050919050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b600061525f601083614aef565b915061526a82615229565b602082019050919050565b6000602082019050818103600083015261528e81615252565b9050919050565b7f496e76616c6964207369676e6174757265000000000000000000000000000000600082015250565b60006152cb601183614aef565b91506152d682615295565b602082019050919050565b600060208201905081810360008301526152fa816152be565b9050919050565b7f416c7265616479206d696e746564000000000000000000000000000000000000600082015250565b6000615337600e83614aef565b915061534282615301565b602082019050919050565b600060208201905081810360008301526153668161532a565b9050919050565b600061537882614ab0565b915061538383614ab0565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156153bc576153bb6150cc565b5b828202905092915050565b7f496e73756666696369656e7420616d6f756e7400000000000000000000000000600082015250565b60006153fd601383614aef565b9150615408826153c7565b602082019050919050565b6000602082019050818103600083015261542c816153f0565b9050919050565b7f6e6f74206c697665000000000000000000000000000000000000000000000000600082015250565b6000615469600883614aef565b915061547482615433565b602082019050919050565b600060208201905081810360008301526154988161545c565b9050919050565b600081905092915050565b50565b60006154ba60008361549f565b91506154c5826154aa565b600082019050919050565b60006154db826154ad565b9150819050919050565b7f5472616e73666572206661696c65642e00000000000000000000000000000000600082015250565b600061551b601083614aef565b9150615526826154e5565b602082019050919050565b6000602082019050818103600083015261554a8161550e565b9050919050565b7f756e617574686f72697365640000000000000000000000000000000000000000600082015250565b6000615587600c83614aef565b915061559282615551565b602082019050919050565b600060208201905081810360008301526155b68161557a565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006155f3602083614aef565b91506155fe826155bd565b602082019050919050565b60006020820190508181036000830152615622816155e6565b9050919050565b600081905092915050565b600061563f82614ae4565b6156498185615629565b9350615659818560208601614b00565b80840191505092915050565b60006156718285615634565b915061567d8284615634565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006156e5602683614aef565b91506156f082615689565b604082019050919050565b60006020820190508181036000830152615714816156d8565b9050919050565b60008160601b9050919050565b60006157338261571b565b9050919050565b600061574582615728565b9050919050565b61575d61575882614c07565b61573a565b82525050565b6000819050919050565b61577e61577982614ab0565b615763565b82525050565b6000615790828561574c565b6014820191506157a0828461576d565b6020820191508190509392505050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b60006157e6601483614aef565b91506157f1826157b0565b602082019050919050565b60006020820190508181036000830152615815816157d9565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006158438261581c565b61584d8185615827565b935061585d818560208601614b00565b6158668161492b565b840191505092915050565b60006080820190506158866000830187614c19565b6158936020830186614c19565b6158a06040830185614aba565b81810360608301526158b28184615838565b905095945050505050565b6000815190506158cc81614892565b92915050565b6000602082840312156158e8576158e761485c565b5b60006158f6848285016158bd565b91505092915050565b600061590a82614ab0565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561593d5761593c6150cc565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061598282614ab0565b915061598d83614ab0565b92508261599d5761599c615948565b5b828204905092915050565b60006159b382614ab0565b91506159be83614ab0565b9250828210156159d1576159d06150cc565b5b828203905092915050565b60006159e782614ab0565b91506159f283614ab0565b925082615a0257615a01615948565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b6000819050919050565b615a7e81615a6b565b82525050565b6000604082019050615a996000830185615a75565b8181036020830152615aab8184615838565b90509392505050565b6000615abf8261581c565b615ac9818561549f565b9350615ad9818560208601614b00565b80840191505092915050565b6000615af18284615ab4565b915081905092915050565b600060ff82169050919050565b615b1281615afc565b82525050565b6000608082019050615b2d6000830187615a75565b615b3a6020830186615b09565b615b476040830185615a75565b615b546060830184615a75565b9594505050505056fea264697066735822122036f4739183609173939b8acb00fd45c52ef104ddbb3a1b7abc5bedd8a8e52ba964736f6c634300080b0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000007566f7961676572000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007564f594147455200000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : name (string): Voyager
Arg [1] : symbol (string): VOYAGER
-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000007
Arg [3] : 566f796167657200000000000000000000000000000000000000000000000000
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000007
Arg [5] : 564f594147455200000000000000000000000000000000000000000000000000
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.