ERC-721
Overview
Max Total Supply
275 ShunaV2
Holders
60
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
3 ShunaV2Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
ShunaV2
Compiler Version
v0.8.7+commit.e28d00a7
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; import '@openzeppelin/contracts/token/ERC721/ERC721.sol'; import '@openzeppelin/contracts/utils/Strings.sol'; import '@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol'; import '@openzeppelin/contracts/access/Ownable.sol'; import '@openzeppelin/contracts/utils/Counters.sol'; contract ShunaV2 is ERC721, ERC721Enumerable, Ownable { uint256 public mintSupply; uint256 public mintPrice; address public feeRecipient; string public baseUrl; mapping(uint256 => uint256) private tokenMatrix; // used during random-tokenId genearation using Counters for Counters.Counter; using Strings for uint256; uint256 public firstTokenId; Counters.Counter private _mintedAmt; uint256 public presaleEndTime; mapping(address => bool) public whitelistAccounts; constructor( string memory _name, string memory _symbol, uint256 _firstTokenId, uint256 _mintSupply, uint256 _mintPrice, address _feeRecipient, string memory _baseUrl, uint256 _presaleEndTime ) ERC721(_name, _symbol) { firstTokenId = _firstTokenId; mintSupply = _mintSupply; mintPrice = _mintPrice; feeRecipient = _feeRecipient; baseUrl = _baseUrl; presaleEndTime = _presaleEndTime; } function _baseURI() internal view override returns (string memory) { return baseUrl; } /* Random index Logic - consider an array of size equal to mintSupply - get a random-idx by hashing multiple variables - swap random-idx_value with last-idx_value - use last-idx_value (which is random-number) as next tokenId - remove last-idx from array as it's value is already used */ function _getRandomNumber(uint256 _minNum, uint256 _maxNum) private view returns (uint256) { // will return random number between _minNum to _maxNum (excluding _maxNum) uint256 _random1 = uint256( keccak256( abi.encodePacked( msg.sender, block.coinbase, block.difficulty, block.gaslimit, block.timestamp ) ) ) % _maxNum; return _random1 + _minNum; } function _mintOne(address _to) private { uint256 _remainingAmt = mintSupply - _mintedAmt.current(); require(_remainingAmt > 0, 'All tokens already minted'); uint256 _maxIdx = _remainingAmt - 1 + firstTokenId; // randomIdx >= 0 && (randomIdx < _remaingingAmt, randomIdx <= _maxIdx) uint256 _randomIdx = _getRandomNumber(firstTokenId, _remainingAmt); uint256 _randomVal; // if tokenMatrix[_randomIdx] == 0, means it's value is _randomIdx itself if (tokenMatrix[_randomIdx] == 0) { _randomVal = _randomIdx; } else { _randomVal = tokenMatrix[_randomIdx]; } // if tokenMatrix[_maxIdx] == 0, means it's value is _maxIdx itself if (tokenMatrix[_maxIdx] == 0) { tokenMatrix[_randomIdx] = _maxIdx; } else { tokenMatrix[_randomIdx] = tokenMatrix[_maxIdx]; } _mintedAmt.increment(); _safeMint(_to, _randomVal); } function safeMint(uint256 _quantity) public payable { require(_quantity <= 5, 'Cannot mint more than 5 at a time'); if (block.timestamp < presaleEndTime) { require(whitelistAccounts[msg.sender], 'You are not whitelisted'); uint256 _nftBal = IERC721(address(this)).balanceOf(msg.sender); require( _nftBal + _quantity <= 5, 'You cannot mint more than 5 NFTs during presale' ); } // transfer mint-balance to owner require( msg.value >= (mintPrice * _quantity), 'Insufficient purchase amount' ); payable(feeRecipient).transfer(address(this).balance); for (uint256 i = 0; i < _quantity; i++) { _mintOne(msg.sender); } } //------------------------------ADMIN------------------------------------------- function updateWhitelist(address[] calldata _accounts, bool _isAdd) external onlyOwner { if (_isAdd) { for (uint256 i = 0; i < _accounts.length; i++) whitelistAccounts[_accounts[i]] = true; } else { for (uint256 i = 0; i < _accounts.length; i++) whitelistAccounts[_accounts[i]] = false; } } function updatePresaleEndTime(uint256 _presaleEndTime) external onlyOwner { presaleEndTime = _presaleEndTime; } function updateMintPrice(uint256 _mintPrice) external onlyOwner { mintPrice = _mintPrice; } function updateFeeRecipient(address _feeRecipient) external onlyOwner { feeRecipient = _feeRecipient; } function updateBaseUrl(string calldata _baseUrl) external onlyOwner { baseUrl = _baseUrl; } // The following functions are overrides required by Solidity ---------------------------------- function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal override(ERC721, ERC721Enumerable) { super._beforeTokenTransfer(from, to, tokenId); } function supportsInterface(bytes4 interfaceId) public view override(ERC721, ERC721Enumerable) returns (bool) { return super.supportsInterface(interfaceId); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); _afterTokenTransfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); _afterTokenTransfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); _afterTokenTransfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits a {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Enumerable.sol) pragma solidity ^0.8.0; import "../ERC721.sol"; import "./IERC721Enumerable.sol"; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` cannot be the zero address. * - `to` cannot be the zero address. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual override { super._beforeTokenTransfer(from, to, tokenId); if (from == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = ERC721.balanceOf(from) - 1; uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array delete _ownedTokensIndex[tokenId]; delete _ownedTokens[from][lastTokenIndex]; } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length - 1; uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array delete _allTokensIndex[tokenId]; _allTokens.pop(); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Counters.sol) pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` */ library Counters { struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; require(value > 0, "Counter: decrement overflow"); unchecked { counter._value = value - 1; } } function reset(Counter storage counter) internal { counter._value = 0; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (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); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"uint256","name":"_firstTokenId","type":"uint256"},{"internalType":"uint256","name":"_mintSupply","type":"uint256"},{"internalType":"uint256","name":"_mintPrice","type":"uint256"},{"internalType":"address","name":"_feeRecipient","type":"address"},{"internalType":"string","name":"_baseUrl","type":"string"},{"internalType":"uint256","name":"_presaleEndTime","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseUrl","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"feeRecipient","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"firstTokenId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"presaleEndTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"safeMint","outputs":[],"stateMutability":"payable","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":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseUrl","type":"string"}],"name":"updateBaseUrl","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_feeRecipient","type":"address"}],"name":"updateFeeRecipient","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintPrice","type":"uint256"}],"name":"updateMintPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_presaleEndTime","type":"uint256"}],"name":"updatePresaleEndTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_accounts","type":"address[]"},{"internalType":"bool","name":"_isAdd","type":"bool"}],"name":"updateWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"whitelistAccounts","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b5060405162004d0e38038062004d0e83398181016040528101906200003791906200033b565b8787816000908051906020019062000051929190620001df565b5080600190805190602001906200006a929190620001df565b5050506200008d620000816200011160201b60201c565b6200011960201b60201c565b8560108190555084600b8190555083600c8190555082600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081600e9080519060200190620000fb929190620001df565b5080601281905550505050505050505062000657565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620001ed9062000534565b90600052602060002090601f0160209004810192826200021157600085556200025d565b82601f106200022c57805160ff19168380011785556200025d565b828001600101855582156200025d579182015b828111156200025c5782518255916020019190600101906200023f565b5b5090506200026c919062000270565b5090565b5b808211156200028b57600081600090555060010162000271565b5090565b6000620002a6620002a0846200048a565b62000461565b905082815260208101848484011115620002c557620002c462000603565b5b620002d2848285620004fe565b509392505050565b600081519050620002eb8162000623565b92915050565b600082601f830112620003095762000308620005fe565b5b81516200031b8482602086016200028f565b91505092915050565b60008151905062000335816200063d565b92915050565b600080600080600080600080610100898b0312156200035f576200035e6200060d565b5b600089015167ffffffffffffffff81111562000380576200037f62000608565b5b6200038e8b828c01620002f1565b985050602089015167ffffffffffffffff811115620003b257620003b162000608565b5b620003c08b828c01620002f1565b9750506040620003d38b828c0162000324565b9650506060620003e68b828c0162000324565b9550506080620003f98b828c0162000324565b94505060a06200040c8b828c01620002da565b93505060c089015167ffffffffffffffff81111562000430576200042f62000608565b5b6200043e8b828c01620002f1565b92505060e0620004518b828c0162000324565b9150509295985092959890939650565b60006200046d62000480565b90506200047b82826200056a565b919050565b6000604051905090565b600067ffffffffffffffff821115620004a857620004a7620005cf565b5b620004b38262000612565b9050602081019050919050565b6000620004cd82620004d4565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60005b838110156200051e57808201518184015260208101905062000501565b838111156200052e576000848401525b50505050565b600060028204905060018216806200054d57607f821691505b60208210811415620005645762000563620005a0565b5b50919050565b620005758262000612565b810181811067ffffffffffffffff82111715620005975762000596620005cf565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b6200062e81620004c0565b81146200063a57600080fd5b50565b6200064881620004f4565b81146200065457600080fd5b50565b6146a780620006676000396000f3fe6080604052600436106101e25760003560e01c80636352211e11610102578063b88d4fde11610095578063e985e9c511610064578063e985e9c5146106f8578063ea21e5eb14610735578063f160d3691461075e578063f2fde38b14610787576101e2565b8063b88d4fde1461062c578063c2db17c514610655578063c87b56dd1461067e578063c8df13a2146106bb576101e2565b80638da5cb5b116100d15780638da5cb5b1461058457806395d89b41146105af578063a22cb465146105da578063aff177ca14610603576101e2565b80636352211e146104c85780636817c76c1461050557806370a0823114610530578063715018a61461056d576101e2565b8063249b7c191161017a57806342842e0e1161014957806342842e0e1461040c57806346904840146104355780634f6ccce7146104605780635bcabf041461049d576101e2565b8063249b7c191461035d5780632f745c591461038857806331c864e8146103c557806334781dd8146103e1576101e2565b8063081812fc116101b6578063081812fc146102a3578063095ea7b3146102e057806318160ddd1461030957806323b872dd14610334576101e2565b8062728e46146101e757806301ffc9a714610210578063045b7dca1461024d57806306fdde0314610278575b600080fd5b3480156101f357600080fd5b5061020e60048036038101906102099190613267565b6107b0565b005b34801561021c57600080fd5b50610237600480360381019061023291906131c0565b610836565b60405161024491906137e5565b60405180910390f35b34801561025957600080fd5b50610262610848565b60405161026f9190613b02565b60405180910390f35b34801561028457600080fd5b5061028d61084e565b60405161029a9190613800565b60405180910390f35b3480156102af57600080fd5b506102ca60048036038101906102c59190613267565b6108e0565b6040516102d7919061377e565b60405180910390f35b3480156102ec57600080fd5b5061030760048036038101906103029190613120565b610965565b005b34801561031557600080fd5b5061031e610a7d565b60405161032b9190613b02565b60405180910390f35b34801561034057600080fd5b5061035b6004803603810190610356919061300a565b610a8a565b005b34801561036957600080fd5b50610372610aea565b60405161037f9190613b02565b60405180910390f35b34801561039457600080fd5b506103af60048036038101906103aa9190613120565b610af0565b6040516103bc9190613b02565b60405180910390f35b6103df60048036038101906103da9190613267565b610b95565b005b3480156103ed57600080fd5b506103f6610e31565b6040516104039190613b02565b60405180910390f35b34801561041857600080fd5b50610433600480360381019061042e919061300a565b610e37565b005b34801561044157600080fd5b5061044a610e57565b604051610457919061377e565b60405180910390f35b34801561046c57600080fd5b5061048760048036038101906104829190613267565b610e7d565b6040516104949190613b02565b60405180910390f35b3480156104a957600080fd5b506104b2610eee565b6040516104bf9190613800565b60405180910390f35b3480156104d457600080fd5b506104ef60048036038101906104ea9190613267565b610f7c565b6040516104fc919061377e565b60405180910390f35b34801561051157600080fd5b5061051a61102e565b6040516105279190613b02565b60405180910390f35b34801561053c57600080fd5b5061055760048036038101906105529190612f9d565b611034565b6040516105649190613b02565b60405180910390f35b34801561057957600080fd5b506105826110ec565b005b34801561059057600080fd5b50610599611174565b6040516105a6919061377e565b60405180910390f35b3480156105bb57600080fd5b506105c461119e565b6040516105d19190613800565b60405180910390f35b3480156105e657600080fd5b5061060160048036038101906105fc91906130e0565b611230565b005b34801561060f57600080fd5b5061062a60048036038101906106259190613160565b611246565b005b34801561063857600080fd5b50610653600480360381019061064e919061305d565b611415565b005b34801561066157600080fd5b5061067c60048036038101906106779190613267565b611477565b005b34801561068a57600080fd5b506106a560048036038101906106a09190613267565b6114fd565b6040516106b29190613800565b60405180910390f35b3480156106c757600080fd5b506106e260048036038101906106dd9190612f9d565b6115a4565b6040516106ef91906137e5565b60405180910390f35b34801561070457600080fd5b5061071f600480360381019061071a9190612fca565b6115c4565b60405161072c91906137e5565b60405180910390f35b34801561074157600080fd5b5061075c6004803603810190610757919061321a565b611658565b005b34801561076a57600080fd5b5061078560048036038101906107809190612f9d565b6116ea565b005b34801561079357600080fd5b506107ae60048036038101906107a99190612f9d565b6117aa565b005b6107b86118a2565b73ffffffffffffffffffffffffffffffffffffffff166107d6611174565b73ffffffffffffffffffffffffffffffffffffffff161461082c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161082390613a22565b60405180910390fd5b80600c8190555050565b6000610841826118aa565b9050919050565b600b5481565b60606000805461085d90613d93565b80601f016020809104026020016040519081016040528092919081815260200182805461088990613d93565b80156108d65780601f106108ab576101008083540402835291602001916108d6565b820191906000526020600020905b8154815290600101906020018083116108b957829003601f168201915b5050505050905090565b60006108eb82611924565b61092a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161092190613a02565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061097082610f7c565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156109e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109d890613aa2565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610a006118a2565b73ffffffffffffffffffffffffffffffffffffffff161480610a2f5750610a2e81610a296118a2565b6115c4565b5b610a6e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a6590613962565b60405180910390fd5b610a788383611990565b505050565b6000600880549050905090565b610a9b610a956118a2565b82611a49565b610ada576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ad190613ac2565b60405180910390fd5b610ae5838383611b27565b505050565b60125481565b6000610afb83611034565b8210610b3c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b3390613822565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b6005811115610bd9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bd090613a42565b60405180910390fd5b601254421015610d4d57601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16610c6f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c66906139e2565b60405180910390fd5b60003073ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b8152600401610caa919061377e565b60206040518083038186803b158015610cc257600080fd5b505afa158015610cd6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cfa9190613294565b905060058282610d0a9190613bb6565b1115610d4b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d4290613a82565b60405180910390fd5b505b80600c54610d5b9190613c3d565b341015610d9d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d94906138a2565b60405180910390fd5b600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015610e05573d6000803e3d6000fd5b5060005b81811015610e2d57610e1a33611d8e565b8080610e2590613df6565b915050610e09565b5050565b60105481565b610e5283838360405180602001604052806000815250611415565b505050565b600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000610e87610a7d565b8210610ec8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ebf90613ae2565b60405180910390fd5b60088281548110610edc57610edb613f6c565b5b90600052602060002001549050919050565b600e8054610efb90613d93565b80601f0160208091040260200160405190810160405280929190818152602001828054610f2790613d93565b8015610f745780601f10610f4957610100808354040283529160200191610f74565b820191906000526020600020905b815481529060010190602001808311610f5757829003601f168201915b505050505081565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611025576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161101c906139a2565b60405180910390fd5b80915050919050565b600c5481565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156110a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161109c90613982565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6110f46118a2565b73ffffffffffffffffffffffffffffffffffffffff16611112611174565b73ffffffffffffffffffffffffffffffffffffffff1614611168576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161115f90613a22565b60405180910390fd5b6111726000611ed6565b565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600180546111ad90613d93565b80601f01602080910402602001604051908101604052809291908181526020018280546111d990613d93565b80156112265780601f106111fb57610100808354040283529160200191611226565b820191906000526020600020905b81548152906001019060200180831161120957829003601f168201915b5050505050905090565b61124261123b6118a2565b8383611f9c565b5050565b61124e6118a2565b73ffffffffffffffffffffffffffffffffffffffff1661126c611174565b73ffffffffffffffffffffffffffffffffffffffff16146112c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112b990613a22565b60405180910390fd5b801561136e5760005b83839050811015611368576001601360008686858181106112ef576112ee613f6c565b5b90506020020160208101906113049190612f9d565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550808061136090613df6565b9150506112cb565b50611410565b60005b8383905081101561140e5760006013600086868581811061139557611394613f6c565b5b90506020020160208101906113aa9190612f9d565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550808061140690613df6565b915050611371565b505b505050565b6114266114206118a2565b83611a49565b611465576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161145c90613ac2565b60405180910390fd5b61147184848484612109565b50505050565b61147f6118a2565b73ffffffffffffffffffffffffffffffffffffffff1661149d611174565b73ffffffffffffffffffffffffffffffffffffffff16146114f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114ea90613a22565b60405180910390fd5b8060128190555050565b606061150882611924565b611547576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161153e90613a62565b60405180910390fd5b6000611551612165565b90506000815111611571576040518060200160405280600081525061159c565b8061157b846121f7565b60405160200161158c92919061375a565b6040516020818303038152906040525b915050919050565b60136020528060005260406000206000915054906101000a900460ff1681565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6116606118a2565b73ffffffffffffffffffffffffffffffffffffffff1661167e611174565b73ffffffffffffffffffffffffffffffffffffffff16146116d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116cb90613a22565b60405180910390fd5b8181600e91906116e5929190612d60565b505050565b6116f26118a2565b73ffffffffffffffffffffffffffffffffffffffff16611710611174565b73ffffffffffffffffffffffffffffffffffffffff1614611766576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161175d90613a22565b60405180910390fd5b80600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6117b26118a2565b73ffffffffffffffffffffffffffffffffffffffff166117d0611174565b73ffffffffffffffffffffffffffffffffffffffff1614611826576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161181d90613a22565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611896576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161188d90613862565b60405180910390fd5b61189f81611ed6565b50565b600033905090565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061191d575061191c82612358565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611a0383610f7c565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611a5482611924565b611a93576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a8a90613942565b60405180910390fd5b6000611a9e83610f7c565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611b0d57508373ffffffffffffffffffffffffffffffffffffffff16611af5846108e0565b73ffffffffffffffffffffffffffffffffffffffff16145b80611b1e5750611b1d81856115c4565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611b4782610f7c565b73ffffffffffffffffffffffffffffffffffffffff1614611b9d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b9490613882565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611c0d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c0490613902565b60405180910390fd5b611c1883838361243a565b611c23600082611990565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611c739190613c97565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611cca9190613bb6565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611d8983838361244a565b505050565b6000611d9a601161244f565b600b54611da79190613c97565b905060008111611dec576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611de3906138e2565b60405180910390fd5b6000601054600183611dfe9190613c97565b611e089190613bb6565b90506000611e186010548461245d565b9050600080600f6000848152602001908152602001600020541415611e3f57819050611e56565b600f60008381526020019081526020016000205490505b6000600f6000858152602001908152602001600020541415611e8f5782600f600084815260200190815260200160002081905550611ebb565b600f600084815260200190815260200160002054600f6000848152602001908152602001600020819055505b611ec560116124b4565b611ecf85826124ca565b5050505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561200b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161200290613922565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516120fc91906137e5565b60405180910390a3505050565b612114848484611b27565b612120848484846124e8565b61215f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161215690613842565b60405180910390fd5b50505050565b6060600e805461217490613d93565b80601f01602080910402602001604051908101604052809291908181526020018280546121a090613d93565b80156121ed5780601f106121c2576101008083540402835291602001916121ed565b820191906000526020600020905b8154815290600101906020018083116121d057829003601f168201915b5050505050905090565b6060600082141561223f576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612353565b600082905060005b6000821461227157808061225a90613df6565b915050600a8261226a9190613c0c565b9150612247565b60008167ffffffffffffffff81111561228d5761228c613f9b565b5b6040519080825280601f01601f1916602001820160405280156122bf5781602001600182028036833780820191505090505b5090505b6000851461234c576001826122d89190613c97565b9150600a856122e79190613e7f565b60306122f39190613bb6565b60f81b81838151811061230957612308613f6c565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856123459190613c0c565b94506122c3565b8093505050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061242357507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061243357506124328261267f565b5b9050919050565b6124458383836126e9565b505050565b505050565b600081600001549050919050565b60008082334144454260405160200161247a9594939291906136fb565b6040516020818303038152906040528051906020012060001c61249d9190613e7f565b905083816124ab9190613bb6565b91505092915050565b6001816000016000828254019250508190555050565b6124e48282604051806020016040528060008152506127fd565b5050565b60006125098473ffffffffffffffffffffffffffffffffffffffff16612858565b15612672578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026125326118a2565b8786866040518563ffffffff1660e01b81526004016125549493929190613799565b602060405180830381600087803b15801561256e57600080fd5b505af192505050801561259f57506040513d601f19601f8201168201806040525081019061259c91906131ed565b60015b612622573d80600081146125cf576040519150601f19603f3d011682016040523d82523d6000602084013e6125d4565b606091505b5060008151141561261a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161261190613842565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612677565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6126f483838361287b565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156127375761273281612880565b612776565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146127755761277483826128c9565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156127b9576127b481612a36565b6127f8565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146127f7576127f68282612b07565b5b5b505050565b6128078383612b86565b61281460008484846124e8565b612853576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161284a90613842565b60405180910390fd5b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b600060016128d684611034565b6128e09190613c97565b90506000600760008481526020019081526020016000205490508181146129c5576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050612a4a9190613c97565b9050600060096000848152602001908152602001600020549050600060088381548110612a7a57612a79613f6c565b5b906000526020600020015490508060088381548110612a9c57612a9b613f6c565b5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480612aeb57612aea613f3d565b5b6001900381819060005260206000200160009055905550505050565b6000612b1283611034565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612bf6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bed906139c2565b60405180910390fd5b612bff81611924565b15612c3f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c36906138c2565b60405180910390fd5b612c4b6000838361243a565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612c9b9190613bb6565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612d5c6000838361244a565b5050565b828054612d6c90613d93565b90600052602060002090601f016020900481019282612d8e5760008555612dd5565b82601f10612da757803560ff1916838001178555612dd5565b82800160010185558215612dd5579182015b82811115612dd4578235825591602001919060010190612db9565b5b509050612de29190612de6565b5090565b5b80821115612dff576000816000905550600101612de7565b5090565b6000612e16612e1184613b42565b613b1d565b905082815260208101848484011115612e3257612e31613fd9565b5b612e3d848285613d51565b509392505050565b600081359050612e5481614615565b92915050565b60008083601f840112612e7057612e6f613fcf565b5b8235905067ffffffffffffffff811115612e8d57612e8c613fca565b5b602083019150836020820283011115612ea957612ea8613fd4565b5b9250929050565b600081359050612ebf8161462c565b92915050565b600081359050612ed481614643565b92915050565b600081519050612ee981614643565b92915050565b600082601f830112612f0457612f03613fcf565b5b8135612f14848260208601612e03565b91505092915050565b60008083601f840112612f3357612f32613fcf565b5b8235905067ffffffffffffffff811115612f5057612f4f613fca565b5b602083019150836001820283011115612f6c57612f6b613fd4565b5b9250929050565b600081359050612f828161465a565b92915050565b600081519050612f978161465a565b92915050565b600060208284031215612fb357612fb2613fe3565b5b6000612fc184828501612e45565b91505092915050565b60008060408385031215612fe157612fe0613fe3565b5b6000612fef85828601612e45565b925050602061300085828601612e45565b9150509250929050565b60008060006060848603121561302357613022613fe3565b5b600061303186828701612e45565b935050602061304286828701612e45565b925050604061305386828701612f73565b9150509250925092565b6000806000806080858703121561307757613076613fe3565b5b600061308587828801612e45565b945050602061309687828801612e45565b93505060406130a787828801612f73565b925050606085013567ffffffffffffffff8111156130c8576130c7613fde565b5b6130d487828801612eef565b91505092959194509250565b600080604083850312156130f7576130f6613fe3565b5b600061310585828601612e45565b925050602061311685828601612eb0565b9150509250929050565b6000806040838503121561313757613136613fe3565b5b600061314585828601612e45565b925050602061315685828601612f73565b9150509250929050565b60008060006040848603121561317957613178613fe3565b5b600084013567ffffffffffffffff81111561319757613196613fde565b5b6131a386828701612e5a565b935093505060206131b686828701612eb0565b9150509250925092565b6000602082840312156131d6576131d5613fe3565b5b60006131e484828501612ec5565b91505092915050565b60006020828403121561320357613202613fe3565b5b600061321184828501612eda565b91505092915050565b6000806020838503121561323157613230613fe3565b5b600083013567ffffffffffffffff81111561324f5761324e613fde565b5b61325b85828601612f1d565b92509250509250929050565b60006020828403121561327d5761327c613fe3565b5b600061328b84828501612f73565b91505092915050565b6000602082840312156132aa576132a9613fe3565b5b60006132b884828501612f88565b91505092915050565b6132d26132cd82613cdd565b613e51565b82525050565b6132e181613ccb565b82525050565b6132f86132f382613ccb565b613e3f565b82525050565b61330781613cef565b82525050565b600061331882613b73565b6133228185613b89565b9350613332818560208601613d60565b61333b81613fe8565b840191505092915050565b600061335182613b7e565b61335b8185613b9a565b935061336b818560208601613d60565b61337481613fe8565b840191505092915050565b600061338a82613b7e565b6133948185613bab565b93506133a4818560208601613d60565b80840191505092915050565b60006133bd602b83613b9a565b91506133c882614006565b604082019050919050565b60006133e0603283613b9a565b91506133eb82614055565b604082019050919050565b6000613403602683613b9a565b915061340e826140a4565b604082019050919050565b6000613426602583613b9a565b9150613431826140f3565b604082019050919050565b6000613449601c83613b9a565b915061345482614142565b602082019050919050565b600061346c601c83613b9a565b91506134778261416b565b602082019050919050565b600061348f601983613b9a565b915061349a82614194565b602082019050919050565b60006134b2602483613b9a565b91506134bd826141bd565b604082019050919050565b60006134d5601983613b9a565b91506134e08261420c565b602082019050919050565b60006134f8602c83613b9a565b915061350382614235565b604082019050919050565b600061351b603883613b9a565b915061352682614284565b604082019050919050565b600061353e602a83613b9a565b9150613549826142d3565b604082019050919050565b6000613561602983613b9a565b915061356c82614322565b604082019050919050565b6000613584602083613b9a565b915061358f82614371565b602082019050919050565b60006135a7601783613b9a565b91506135b28261439a565b602082019050919050565b60006135ca602c83613b9a565b91506135d5826143c3565b604082019050919050565b60006135ed602083613b9a565b91506135f882614412565b602082019050919050565b6000613610602183613b9a565b915061361b8261443b565b604082019050919050565b6000613633602f83613b9a565b915061363e8261448a565b604082019050919050565b6000613656602f83613b9a565b9150613661826144d9565b604082019050919050565b6000613679602183613b9a565b915061368482614528565b604082019050919050565b600061369c603183613b9a565b91506136a782614577565b604082019050919050565b60006136bf602c83613b9a565b91506136ca826145c6565b604082019050919050565b6136de81613d47565b82525050565b6136f56136f082613d47565b613e75565b82525050565b600061370782886132e7565b60148201915061371782876132c1565b60148201915061372782866136e4565b60208201915061373782856136e4565b60208201915061374782846136e4565b6020820191508190509695505050505050565b6000613766828561337f565b9150613772828461337f565b91508190509392505050565b600060208201905061379360008301846132d8565b92915050565b60006080820190506137ae60008301876132d8565b6137bb60208301866132d8565b6137c860408301856136d5565b81810360608301526137da818461330d565b905095945050505050565b60006020820190506137fa60008301846132fe565b92915050565b6000602082019050818103600083015261381a8184613346565b905092915050565b6000602082019050818103600083015261383b816133b0565b9050919050565b6000602082019050818103600083015261385b816133d3565b9050919050565b6000602082019050818103600083015261387b816133f6565b9050919050565b6000602082019050818103600083015261389b81613419565b9050919050565b600060208201905081810360008301526138bb8161343c565b9050919050565b600060208201905081810360008301526138db8161345f565b9050919050565b600060208201905081810360008301526138fb81613482565b9050919050565b6000602082019050818103600083015261391b816134a5565b9050919050565b6000602082019050818103600083015261393b816134c8565b9050919050565b6000602082019050818103600083015261395b816134eb565b9050919050565b6000602082019050818103600083015261397b8161350e565b9050919050565b6000602082019050818103600083015261399b81613531565b9050919050565b600060208201905081810360008301526139bb81613554565b9050919050565b600060208201905081810360008301526139db81613577565b9050919050565b600060208201905081810360008301526139fb8161359a565b9050919050565b60006020820190508181036000830152613a1b816135bd565b9050919050565b60006020820190508181036000830152613a3b816135e0565b9050919050565b60006020820190508181036000830152613a5b81613603565b9050919050565b60006020820190508181036000830152613a7b81613626565b9050919050565b60006020820190508181036000830152613a9b81613649565b9050919050565b60006020820190508181036000830152613abb8161366c565b9050919050565b60006020820190508181036000830152613adb8161368f565b9050919050565b60006020820190508181036000830152613afb816136b2565b9050919050565b6000602082019050613b1760008301846136d5565b92915050565b6000613b27613b38565b9050613b338282613dc5565b919050565b6000604051905090565b600067ffffffffffffffff821115613b5d57613b5c613f9b565b5b613b6682613fe8565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000613bc182613d47565b9150613bcc83613d47565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613c0157613c00613eb0565b5b828201905092915050565b6000613c1782613d47565b9150613c2283613d47565b925082613c3257613c31613edf565b5b828204905092915050565b6000613c4882613d47565b9150613c5383613d47565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613c8c57613c8b613eb0565b5b828202905092915050565b6000613ca282613d47565b9150613cad83613d47565b925082821015613cc057613cbf613eb0565b5b828203905092915050565b6000613cd682613d27565b9050919050565b6000613ce882613d27565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015613d7e578082015181840152602081019050613d63565b83811115613d8d576000848401525b50505050565b60006002820490506001821680613dab57607f821691505b60208210811415613dbf57613dbe613f0e565b5b50919050565b613dce82613fe8565b810181811067ffffffffffffffff82111715613ded57613dec613f9b565b5b80604052505050565b6000613e0182613d47565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613e3457613e33613eb0565b5b600182019050919050565b6000613e4a82613e63565b9050919050565b6000613e5c82613e63565b9050919050565b6000613e6e82613ff9565b9050919050565b6000819050919050565b6000613e8a82613d47565b9150613e9583613d47565b925082613ea557613ea4613edf565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f496e73756666696369656e7420707572636861736520616d6f756e7400000000600082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f416c6c20746f6b656e7320616c7265616479206d696e74656400000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f596f7520617265206e6f742077686974656c6973746564000000000000000000600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f43616e6e6f74206d696e74206d6f7265207468616e203520617420612074696d60008201527f6500000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f596f752063616e6e6f74206d696e74206d6f7265207468616e2035204e46547360008201527f20647572696e672070726573616c650000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b61461e81613ccb565b811461462957600080fd5b50565b61463581613cef565b811461464057600080fd5b50565b61464c81613cfb565b811461465757600080fd5b50565b61466381613d47565b811461466e57600080fd5b5056fea2646970667358221220e6bc6efcd131ae8bf41d1a6bc2fd338db2f52074f59fa2a4a1eacc5ef99c119e64736f6c6343000807003300000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000000016345785d8a0000000000000000000000000000d7a5461d53adac7de996d3fb4586e4c96a2f3a75000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000628c11f000000000000000000000000000000000000000000000000000000000000000175368756e615632203130303020436f6c6c656374696f6e00000000000000000000000000000000000000000000000000000000000000000000000000000000075368756e61563200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005168747470733a2f2f697066732e696f2f697066732f62616679626569647275376174753375746578626d32676967776a706c6e7a37786c76376d633775667972646c726472777a73357478626e336c652f000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106101e25760003560e01c80636352211e11610102578063b88d4fde11610095578063e985e9c511610064578063e985e9c5146106f8578063ea21e5eb14610735578063f160d3691461075e578063f2fde38b14610787576101e2565b8063b88d4fde1461062c578063c2db17c514610655578063c87b56dd1461067e578063c8df13a2146106bb576101e2565b80638da5cb5b116100d15780638da5cb5b1461058457806395d89b41146105af578063a22cb465146105da578063aff177ca14610603576101e2565b80636352211e146104c85780636817c76c1461050557806370a0823114610530578063715018a61461056d576101e2565b8063249b7c191161017a57806342842e0e1161014957806342842e0e1461040c57806346904840146104355780634f6ccce7146104605780635bcabf041461049d576101e2565b8063249b7c191461035d5780632f745c591461038857806331c864e8146103c557806334781dd8146103e1576101e2565b8063081812fc116101b6578063081812fc146102a3578063095ea7b3146102e057806318160ddd1461030957806323b872dd14610334576101e2565b8062728e46146101e757806301ffc9a714610210578063045b7dca1461024d57806306fdde0314610278575b600080fd5b3480156101f357600080fd5b5061020e60048036038101906102099190613267565b6107b0565b005b34801561021c57600080fd5b50610237600480360381019061023291906131c0565b610836565b60405161024491906137e5565b60405180910390f35b34801561025957600080fd5b50610262610848565b60405161026f9190613b02565b60405180910390f35b34801561028457600080fd5b5061028d61084e565b60405161029a9190613800565b60405180910390f35b3480156102af57600080fd5b506102ca60048036038101906102c59190613267565b6108e0565b6040516102d7919061377e565b60405180910390f35b3480156102ec57600080fd5b5061030760048036038101906103029190613120565b610965565b005b34801561031557600080fd5b5061031e610a7d565b60405161032b9190613b02565b60405180910390f35b34801561034057600080fd5b5061035b6004803603810190610356919061300a565b610a8a565b005b34801561036957600080fd5b50610372610aea565b60405161037f9190613b02565b60405180910390f35b34801561039457600080fd5b506103af60048036038101906103aa9190613120565b610af0565b6040516103bc9190613b02565b60405180910390f35b6103df60048036038101906103da9190613267565b610b95565b005b3480156103ed57600080fd5b506103f6610e31565b6040516104039190613b02565b60405180910390f35b34801561041857600080fd5b50610433600480360381019061042e919061300a565b610e37565b005b34801561044157600080fd5b5061044a610e57565b604051610457919061377e565b60405180910390f35b34801561046c57600080fd5b5061048760048036038101906104829190613267565b610e7d565b6040516104949190613b02565b60405180910390f35b3480156104a957600080fd5b506104b2610eee565b6040516104bf9190613800565b60405180910390f35b3480156104d457600080fd5b506104ef60048036038101906104ea9190613267565b610f7c565b6040516104fc919061377e565b60405180910390f35b34801561051157600080fd5b5061051a61102e565b6040516105279190613b02565b60405180910390f35b34801561053c57600080fd5b5061055760048036038101906105529190612f9d565b611034565b6040516105649190613b02565b60405180910390f35b34801561057957600080fd5b506105826110ec565b005b34801561059057600080fd5b50610599611174565b6040516105a6919061377e565b60405180910390f35b3480156105bb57600080fd5b506105c461119e565b6040516105d19190613800565b60405180910390f35b3480156105e657600080fd5b5061060160048036038101906105fc91906130e0565b611230565b005b34801561060f57600080fd5b5061062a60048036038101906106259190613160565b611246565b005b34801561063857600080fd5b50610653600480360381019061064e919061305d565b611415565b005b34801561066157600080fd5b5061067c60048036038101906106779190613267565b611477565b005b34801561068a57600080fd5b506106a560048036038101906106a09190613267565b6114fd565b6040516106b29190613800565b60405180910390f35b3480156106c757600080fd5b506106e260048036038101906106dd9190612f9d565b6115a4565b6040516106ef91906137e5565b60405180910390f35b34801561070457600080fd5b5061071f600480360381019061071a9190612fca565b6115c4565b60405161072c91906137e5565b60405180910390f35b34801561074157600080fd5b5061075c6004803603810190610757919061321a565b611658565b005b34801561076a57600080fd5b5061078560048036038101906107809190612f9d565b6116ea565b005b34801561079357600080fd5b506107ae60048036038101906107a99190612f9d565b6117aa565b005b6107b86118a2565b73ffffffffffffffffffffffffffffffffffffffff166107d6611174565b73ffffffffffffffffffffffffffffffffffffffff161461082c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161082390613a22565b60405180910390fd5b80600c8190555050565b6000610841826118aa565b9050919050565b600b5481565b60606000805461085d90613d93565b80601f016020809104026020016040519081016040528092919081815260200182805461088990613d93565b80156108d65780601f106108ab576101008083540402835291602001916108d6565b820191906000526020600020905b8154815290600101906020018083116108b957829003601f168201915b5050505050905090565b60006108eb82611924565b61092a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161092190613a02565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061097082610f7c565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156109e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109d890613aa2565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610a006118a2565b73ffffffffffffffffffffffffffffffffffffffff161480610a2f5750610a2e81610a296118a2565b6115c4565b5b610a6e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a6590613962565b60405180910390fd5b610a788383611990565b505050565b6000600880549050905090565b610a9b610a956118a2565b82611a49565b610ada576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ad190613ac2565b60405180910390fd5b610ae5838383611b27565b505050565b60125481565b6000610afb83611034565b8210610b3c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b3390613822565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b6005811115610bd9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bd090613a42565b60405180910390fd5b601254421015610d4d57601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16610c6f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c66906139e2565b60405180910390fd5b60003073ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b8152600401610caa919061377e565b60206040518083038186803b158015610cc257600080fd5b505afa158015610cd6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cfa9190613294565b905060058282610d0a9190613bb6565b1115610d4b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d4290613a82565b60405180910390fd5b505b80600c54610d5b9190613c3d565b341015610d9d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d94906138a2565b60405180910390fd5b600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015610e05573d6000803e3d6000fd5b5060005b81811015610e2d57610e1a33611d8e565b8080610e2590613df6565b915050610e09565b5050565b60105481565b610e5283838360405180602001604052806000815250611415565b505050565b600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000610e87610a7d565b8210610ec8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ebf90613ae2565b60405180910390fd5b60088281548110610edc57610edb613f6c565b5b90600052602060002001549050919050565b600e8054610efb90613d93565b80601f0160208091040260200160405190810160405280929190818152602001828054610f2790613d93565b8015610f745780601f10610f4957610100808354040283529160200191610f74565b820191906000526020600020905b815481529060010190602001808311610f5757829003601f168201915b505050505081565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611025576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161101c906139a2565b60405180910390fd5b80915050919050565b600c5481565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156110a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161109c90613982565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6110f46118a2565b73ffffffffffffffffffffffffffffffffffffffff16611112611174565b73ffffffffffffffffffffffffffffffffffffffff1614611168576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161115f90613a22565b60405180910390fd5b6111726000611ed6565b565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600180546111ad90613d93565b80601f01602080910402602001604051908101604052809291908181526020018280546111d990613d93565b80156112265780601f106111fb57610100808354040283529160200191611226565b820191906000526020600020905b81548152906001019060200180831161120957829003601f168201915b5050505050905090565b61124261123b6118a2565b8383611f9c565b5050565b61124e6118a2565b73ffffffffffffffffffffffffffffffffffffffff1661126c611174565b73ffffffffffffffffffffffffffffffffffffffff16146112c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112b990613a22565b60405180910390fd5b801561136e5760005b83839050811015611368576001601360008686858181106112ef576112ee613f6c565b5b90506020020160208101906113049190612f9d565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550808061136090613df6565b9150506112cb565b50611410565b60005b8383905081101561140e5760006013600086868581811061139557611394613f6c565b5b90506020020160208101906113aa9190612f9d565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550808061140690613df6565b915050611371565b505b505050565b6114266114206118a2565b83611a49565b611465576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161145c90613ac2565b60405180910390fd5b61147184848484612109565b50505050565b61147f6118a2565b73ffffffffffffffffffffffffffffffffffffffff1661149d611174565b73ffffffffffffffffffffffffffffffffffffffff16146114f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114ea90613a22565b60405180910390fd5b8060128190555050565b606061150882611924565b611547576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161153e90613a62565b60405180910390fd5b6000611551612165565b90506000815111611571576040518060200160405280600081525061159c565b8061157b846121f7565b60405160200161158c92919061375a565b6040516020818303038152906040525b915050919050565b60136020528060005260406000206000915054906101000a900460ff1681565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6116606118a2565b73ffffffffffffffffffffffffffffffffffffffff1661167e611174565b73ffffffffffffffffffffffffffffffffffffffff16146116d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116cb90613a22565b60405180910390fd5b8181600e91906116e5929190612d60565b505050565b6116f26118a2565b73ffffffffffffffffffffffffffffffffffffffff16611710611174565b73ffffffffffffffffffffffffffffffffffffffff1614611766576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161175d90613a22565b60405180910390fd5b80600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6117b26118a2565b73ffffffffffffffffffffffffffffffffffffffff166117d0611174565b73ffffffffffffffffffffffffffffffffffffffff1614611826576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161181d90613a22565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611896576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161188d90613862565b60405180910390fd5b61189f81611ed6565b50565b600033905090565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061191d575061191c82612358565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611a0383610f7c565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611a5482611924565b611a93576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a8a90613942565b60405180910390fd5b6000611a9e83610f7c565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611b0d57508373ffffffffffffffffffffffffffffffffffffffff16611af5846108e0565b73ffffffffffffffffffffffffffffffffffffffff16145b80611b1e5750611b1d81856115c4565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611b4782610f7c565b73ffffffffffffffffffffffffffffffffffffffff1614611b9d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b9490613882565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611c0d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c0490613902565b60405180910390fd5b611c1883838361243a565b611c23600082611990565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611c739190613c97565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611cca9190613bb6565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611d8983838361244a565b505050565b6000611d9a601161244f565b600b54611da79190613c97565b905060008111611dec576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611de3906138e2565b60405180910390fd5b6000601054600183611dfe9190613c97565b611e089190613bb6565b90506000611e186010548461245d565b9050600080600f6000848152602001908152602001600020541415611e3f57819050611e56565b600f60008381526020019081526020016000205490505b6000600f6000858152602001908152602001600020541415611e8f5782600f600084815260200190815260200160002081905550611ebb565b600f600084815260200190815260200160002054600f6000848152602001908152602001600020819055505b611ec560116124b4565b611ecf85826124ca565b5050505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561200b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161200290613922565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516120fc91906137e5565b60405180910390a3505050565b612114848484611b27565b612120848484846124e8565b61215f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161215690613842565b60405180910390fd5b50505050565b6060600e805461217490613d93565b80601f01602080910402602001604051908101604052809291908181526020018280546121a090613d93565b80156121ed5780601f106121c2576101008083540402835291602001916121ed565b820191906000526020600020905b8154815290600101906020018083116121d057829003601f168201915b5050505050905090565b6060600082141561223f576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612353565b600082905060005b6000821461227157808061225a90613df6565b915050600a8261226a9190613c0c565b9150612247565b60008167ffffffffffffffff81111561228d5761228c613f9b565b5b6040519080825280601f01601f1916602001820160405280156122bf5781602001600182028036833780820191505090505b5090505b6000851461234c576001826122d89190613c97565b9150600a856122e79190613e7f565b60306122f39190613bb6565b60f81b81838151811061230957612308613f6c565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856123459190613c0c565b94506122c3565b8093505050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061242357507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061243357506124328261267f565b5b9050919050565b6124458383836126e9565b505050565b505050565b600081600001549050919050565b60008082334144454260405160200161247a9594939291906136fb565b6040516020818303038152906040528051906020012060001c61249d9190613e7f565b905083816124ab9190613bb6565b91505092915050565b6001816000016000828254019250508190555050565b6124e48282604051806020016040528060008152506127fd565b5050565b60006125098473ffffffffffffffffffffffffffffffffffffffff16612858565b15612672578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026125326118a2565b8786866040518563ffffffff1660e01b81526004016125549493929190613799565b602060405180830381600087803b15801561256e57600080fd5b505af192505050801561259f57506040513d601f19601f8201168201806040525081019061259c91906131ed565b60015b612622573d80600081146125cf576040519150601f19603f3d011682016040523d82523d6000602084013e6125d4565b606091505b5060008151141561261a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161261190613842565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612677565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6126f483838361287b565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156127375761273281612880565b612776565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146127755761277483826128c9565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156127b9576127b481612a36565b6127f8565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146127f7576127f68282612b07565b5b5b505050565b6128078383612b86565b61281460008484846124e8565b612853576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161284a90613842565b60405180910390fd5b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b600060016128d684611034565b6128e09190613c97565b90506000600760008481526020019081526020016000205490508181146129c5576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050612a4a9190613c97565b9050600060096000848152602001908152602001600020549050600060088381548110612a7a57612a79613f6c565b5b906000526020600020015490508060088381548110612a9c57612a9b613f6c565b5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480612aeb57612aea613f3d565b5b6001900381819060005260206000200160009055905550505050565b6000612b1283611034565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612bf6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bed906139c2565b60405180910390fd5b612bff81611924565b15612c3f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c36906138c2565b60405180910390fd5b612c4b6000838361243a565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612c9b9190613bb6565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612d5c6000838361244a565b5050565b828054612d6c90613d93565b90600052602060002090601f016020900481019282612d8e5760008555612dd5565b82601f10612da757803560ff1916838001178555612dd5565b82800160010185558215612dd5579182015b82811115612dd4578235825591602001919060010190612db9565b5b509050612de29190612de6565b5090565b5b80821115612dff576000816000905550600101612de7565b5090565b6000612e16612e1184613b42565b613b1d565b905082815260208101848484011115612e3257612e31613fd9565b5b612e3d848285613d51565b509392505050565b600081359050612e5481614615565b92915050565b60008083601f840112612e7057612e6f613fcf565b5b8235905067ffffffffffffffff811115612e8d57612e8c613fca565b5b602083019150836020820283011115612ea957612ea8613fd4565b5b9250929050565b600081359050612ebf8161462c565b92915050565b600081359050612ed481614643565b92915050565b600081519050612ee981614643565b92915050565b600082601f830112612f0457612f03613fcf565b5b8135612f14848260208601612e03565b91505092915050565b60008083601f840112612f3357612f32613fcf565b5b8235905067ffffffffffffffff811115612f5057612f4f613fca565b5b602083019150836001820283011115612f6c57612f6b613fd4565b5b9250929050565b600081359050612f828161465a565b92915050565b600081519050612f978161465a565b92915050565b600060208284031215612fb357612fb2613fe3565b5b6000612fc184828501612e45565b91505092915050565b60008060408385031215612fe157612fe0613fe3565b5b6000612fef85828601612e45565b925050602061300085828601612e45565b9150509250929050565b60008060006060848603121561302357613022613fe3565b5b600061303186828701612e45565b935050602061304286828701612e45565b925050604061305386828701612f73565b9150509250925092565b6000806000806080858703121561307757613076613fe3565b5b600061308587828801612e45565b945050602061309687828801612e45565b93505060406130a787828801612f73565b925050606085013567ffffffffffffffff8111156130c8576130c7613fde565b5b6130d487828801612eef565b91505092959194509250565b600080604083850312156130f7576130f6613fe3565b5b600061310585828601612e45565b925050602061311685828601612eb0565b9150509250929050565b6000806040838503121561313757613136613fe3565b5b600061314585828601612e45565b925050602061315685828601612f73565b9150509250929050565b60008060006040848603121561317957613178613fe3565b5b600084013567ffffffffffffffff81111561319757613196613fde565b5b6131a386828701612e5a565b935093505060206131b686828701612eb0565b9150509250925092565b6000602082840312156131d6576131d5613fe3565b5b60006131e484828501612ec5565b91505092915050565b60006020828403121561320357613202613fe3565b5b600061321184828501612eda565b91505092915050565b6000806020838503121561323157613230613fe3565b5b600083013567ffffffffffffffff81111561324f5761324e613fde565b5b61325b85828601612f1d565b92509250509250929050565b60006020828403121561327d5761327c613fe3565b5b600061328b84828501612f73565b91505092915050565b6000602082840312156132aa576132a9613fe3565b5b60006132b884828501612f88565b91505092915050565b6132d26132cd82613cdd565b613e51565b82525050565b6132e181613ccb565b82525050565b6132f86132f382613ccb565b613e3f565b82525050565b61330781613cef565b82525050565b600061331882613b73565b6133228185613b89565b9350613332818560208601613d60565b61333b81613fe8565b840191505092915050565b600061335182613b7e565b61335b8185613b9a565b935061336b818560208601613d60565b61337481613fe8565b840191505092915050565b600061338a82613b7e565b6133948185613bab565b93506133a4818560208601613d60565b80840191505092915050565b60006133bd602b83613b9a565b91506133c882614006565b604082019050919050565b60006133e0603283613b9a565b91506133eb82614055565b604082019050919050565b6000613403602683613b9a565b915061340e826140a4565b604082019050919050565b6000613426602583613b9a565b9150613431826140f3565b604082019050919050565b6000613449601c83613b9a565b915061345482614142565b602082019050919050565b600061346c601c83613b9a565b91506134778261416b565b602082019050919050565b600061348f601983613b9a565b915061349a82614194565b602082019050919050565b60006134b2602483613b9a565b91506134bd826141bd565b604082019050919050565b60006134d5601983613b9a565b91506134e08261420c565b602082019050919050565b60006134f8602c83613b9a565b915061350382614235565b604082019050919050565b600061351b603883613b9a565b915061352682614284565b604082019050919050565b600061353e602a83613b9a565b9150613549826142d3565b604082019050919050565b6000613561602983613b9a565b915061356c82614322565b604082019050919050565b6000613584602083613b9a565b915061358f82614371565b602082019050919050565b60006135a7601783613b9a565b91506135b28261439a565b602082019050919050565b60006135ca602c83613b9a565b91506135d5826143c3565b604082019050919050565b60006135ed602083613b9a565b91506135f882614412565b602082019050919050565b6000613610602183613b9a565b915061361b8261443b565b604082019050919050565b6000613633602f83613b9a565b915061363e8261448a565b604082019050919050565b6000613656602f83613b9a565b9150613661826144d9565b604082019050919050565b6000613679602183613b9a565b915061368482614528565b604082019050919050565b600061369c603183613b9a565b91506136a782614577565b604082019050919050565b60006136bf602c83613b9a565b91506136ca826145c6565b604082019050919050565b6136de81613d47565b82525050565b6136f56136f082613d47565b613e75565b82525050565b600061370782886132e7565b60148201915061371782876132c1565b60148201915061372782866136e4565b60208201915061373782856136e4565b60208201915061374782846136e4565b6020820191508190509695505050505050565b6000613766828561337f565b9150613772828461337f565b91508190509392505050565b600060208201905061379360008301846132d8565b92915050565b60006080820190506137ae60008301876132d8565b6137bb60208301866132d8565b6137c860408301856136d5565b81810360608301526137da818461330d565b905095945050505050565b60006020820190506137fa60008301846132fe565b92915050565b6000602082019050818103600083015261381a8184613346565b905092915050565b6000602082019050818103600083015261383b816133b0565b9050919050565b6000602082019050818103600083015261385b816133d3565b9050919050565b6000602082019050818103600083015261387b816133f6565b9050919050565b6000602082019050818103600083015261389b81613419565b9050919050565b600060208201905081810360008301526138bb8161343c565b9050919050565b600060208201905081810360008301526138db8161345f565b9050919050565b600060208201905081810360008301526138fb81613482565b9050919050565b6000602082019050818103600083015261391b816134a5565b9050919050565b6000602082019050818103600083015261393b816134c8565b9050919050565b6000602082019050818103600083015261395b816134eb565b9050919050565b6000602082019050818103600083015261397b8161350e565b9050919050565b6000602082019050818103600083015261399b81613531565b9050919050565b600060208201905081810360008301526139bb81613554565b9050919050565b600060208201905081810360008301526139db81613577565b9050919050565b600060208201905081810360008301526139fb8161359a565b9050919050565b60006020820190508181036000830152613a1b816135bd565b9050919050565b60006020820190508181036000830152613a3b816135e0565b9050919050565b60006020820190508181036000830152613a5b81613603565b9050919050565b60006020820190508181036000830152613a7b81613626565b9050919050565b60006020820190508181036000830152613a9b81613649565b9050919050565b60006020820190508181036000830152613abb8161366c565b9050919050565b60006020820190508181036000830152613adb8161368f565b9050919050565b60006020820190508181036000830152613afb816136b2565b9050919050565b6000602082019050613b1760008301846136d5565b92915050565b6000613b27613b38565b9050613b338282613dc5565b919050565b6000604051905090565b600067ffffffffffffffff821115613b5d57613b5c613f9b565b5b613b6682613fe8565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000613bc182613d47565b9150613bcc83613d47565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613c0157613c00613eb0565b5b828201905092915050565b6000613c1782613d47565b9150613c2283613d47565b925082613c3257613c31613edf565b5b828204905092915050565b6000613c4882613d47565b9150613c5383613d47565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613c8c57613c8b613eb0565b5b828202905092915050565b6000613ca282613d47565b9150613cad83613d47565b925082821015613cc057613cbf613eb0565b5b828203905092915050565b6000613cd682613d27565b9050919050565b6000613ce882613d27565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015613d7e578082015181840152602081019050613d63565b83811115613d8d576000848401525b50505050565b60006002820490506001821680613dab57607f821691505b60208210811415613dbf57613dbe613f0e565b5b50919050565b613dce82613fe8565b810181811067ffffffffffffffff82111715613ded57613dec613f9b565b5b80604052505050565b6000613e0182613d47565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613e3457613e33613eb0565b5b600182019050919050565b6000613e4a82613e63565b9050919050565b6000613e5c82613e63565b9050919050565b6000613e6e82613ff9565b9050919050565b6000819050919050565b6000613e8a82613d47565b9150613e9583613d47565b925082613ea557613ea4613edf565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f496e73756666696369656e7420707572636861736520616d6f756e7400000000600082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f416c6c20746f6b656e7320616c7265616479206d696e74656400000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f596f7520617265206e6f742077686974656c6973746564000000000000000000600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f43616e6e6f74206d696e74206d6f7265207468616e203520617420612074696d60008201527f6500000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f596f752063616e6e6f74206d696e74206d6f7265207468616e2035204e46547360008201527f20647572696e672070726573616c650000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b61461e81613ccb565b811461462957600080fd5b50565b61463581613cef565b811461464057600080fd5b50565b61464c81613cfb565b811461465757600080fd5b50565b61466381613d47565b811461466e57600080fd5b5056fea2646970667358221220e6bc6efcd131ae8bf41d1a6bc2fd338db2f52074f59fa2a4a1eacc5ef99c119e64736f6c63430008070033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000000016345785d8a0000000000000000000000000000d7a5461d53adac7de996d3fb4586e4c96a2f3a75000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000628c11f000000000000000000000000000000000000000000000000000000000000000175368756e615632203130303020436f6c6c656374696f6e00000000000000000000000000000000000000000000000000000000000000000000000000000000075368756e61563200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005168747470733a2f2f697066732e696f2f697066732f62616679626569647275376174753375746578626d32676967776a706c6e7a37786c76376d633775667972646c726472777a73357478626e336c652f000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _name (string): ShunaV2 1000 Collection
Arg [1] : _symbol (string): ShunaV2
Arg [2] : _firstTokenId (uint256): 1
Arg [3] : _mintSupply (uint256): 1000
Arg [4] : _mintPrice (uint256): 100000000000000000
Arg [5] : _feeRecipient (address): 0xd7A5461D53ADaC7De996D3FB4586E4C96A2f3a75
Arg [6] : _baseUrl (string): https://ipfs.io/ipfs/bafybeidru7atu3utexbm2gigwjplnz7xlv7mc7ufyrdlrdrwzs5txbn3le/
Arg [7] : _presaleEndTime (uint256): 1653346800
-----Encoded View---------------
16 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000140
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [3] : 00000000000000000000000000000000000000000000000000000000000003e8
Arg [4] : 000000000000000000000000000000000000000000000000016345785d8a0000
Arg [5] : 000000000000000000000000d7a5461d53adac7de996d3fb4586e4c96a2f3a75
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000180
Arg [7] : 00000000000000000000000000000000000000000000000000000000628c11f0
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000017
Arg [9] : 5368756e615632203130303020436f6c6c656374696f6e000000000000000000
Arg [10] : 0000000000000000000000000000000000000000000000000000000000000007
Arg [11] : 5368756e61563200000000000000000000000000000000000000000000000000
Arg [12] : 0000000000000000000000000000000000000000000000000000000000000051
Arg [13] : 68747470733a2f2f697066732e696f2f697066732f6261667962656964727537
Arg [14] : 6174753375746578626d32676967776a706c6e7a37786c76376d633775667972
Arg [15] : 646c726472777a73357478626e336c652f000000000000000000000000000000
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.