ERC-721
Overview
Max Total Supply
999 TAKA
Holders
348
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 TAKALoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
KatanaNFT
Compiler Version
v0.8.0+commit.c7dfd78e
Optimization Enabled:
Yes with 200 runs
Other Settings:
byzantium EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.0; import '@openzeppelin/contracts/token/ERC721/ERC721.sol'; import '@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol'; import '@openzeppelin/contracts/security/Pausable.sol'; import '@openzeppelin/contracts/utils/Counters.sol'; import '@openzeppelin/contracts/utils/Strings.sol'; import '@grexie/signable/contracts/Signable.sol'; import './Ownable.sol'; import './Withdrawable.sol'; contract KatanaNFT is ERC721, ERC721Enumerable, Pausable, Ownable, Signable, Withdrawable { using Counters for Counters.Counter; using Strings for uint256; address private _signer; Counters.Counter private _tokenIdCounter; struct ConstructorParams { address signer; address owner; string name; string symbol; uint256 maxSupply; uint256 price; uint256 maxMintAmount; uint256 whitelistSaleTime; uint256 publicSaleTime; string hiddenBaseURI; string hiddenExtension; string revealBaseURI; string revealExtension; bool revealed; bool transfersPaused; } struct Whitelist { address account; uint256 allocation; uint256 price; } string private _hiddenBaseURI; string private _hiddenExtension; string private _revealBaseURI; string private _revealExtension; bool private _revealed; uint256 private _maxSupply; uint256 private _price; uint256 private _maxMintAmount; uint256 private _whitelistSaleTime; uint256 private _publicSaleTime; bool private _transfersPaused; mapping(address => uint256) private _whitelist; constructor(ConstructorParams memory params) ERC721(params.name, params.symbol) Ownable(params.owner) { _signer = params.signer; _maxSupply = params.maxSupply; _price = params.price; _maxMintAmount = params.maxMintAmount; _whitelistSaleTime = params.whitelistSaleTime; _publicSaleTime = params.publicSaleTime; _hiddenBaseURI = params.hiddenBaseURI; _hiddenExtension = params.hiddenExtension; _revealBaseURI = params.revealBaseURI; _revealExtension = params.revealExtension; _revealed = params.revealed; _transfersPaused = params.transfersPaused; _tokenIdCounter.increment(); } function signer() public view virtual override(ISignable) returns (address) { return _signer; } function setSigner(address signer_) external onlyOwner { _signer = signer_; } function maxSupply() public view returns (uint256) { return _maxSupply; } function price() public view returns (uint256) { return _price; } function maxMintAmount() public view returns (uint256) { return _maxMintAmount; } function pause() public onlyOwner { _pause(); } function unpause() public onlyOwner { _unpause(); } function mint(uint256 amount) external payable whenNotPaused { require(amount >= 0, 'KatanaNFT: token amount is zero'); require( balanceOf(msg.sender) + amount <= _maxMintAmount, 'KatanaNFT: exceeds max mint limit' ); require(_price * amount == msg.value, 'KatanaNFT: Invalid eth amount'); require( totalSupply() + amount <= _maxSupply, 'KatanaNFT: exceeds max supply' ); if (block.timestamp < _publicSaleTime) { revert("KatanaNFT: public sale hasn't started"); } for (uint256 i = 0; i < amount; i++) { _safeMint(msg.sender); } } function mintWhitelist( uint256 amount, Whitelist calldata whitelist, Signature calldata signature ) external payable whenNotPaused verifySignature( abi.encode(this.mintWhitelist.selector, amount, whitelist), signature ) { require( msg.sender == whitelist.account, 'KatanaNFT: sender not whitelisted' ); require(amount >= 0, 'KatanaNFT: token amount is zero'); require( _whitelist[msg.sender] + amount <= whitelist.allocation, 'KatanaNFT: exceeds max mint limit' ); require( whitelist.price * amount == msg.value, 'KatanaNFT: invalid eth amount' ); require( totalSupply() + amount <= _maxSupply, 'KatanaNFT: exceeds max supply' ); if (block.timestamp < _whitelistSaleTime) { revert("KatanaNFT: whitelist sale hasn't started"); } _whitelist[msg.sender] += amount; for (uint256 i = 0; i < amount; i++) { _safeMint(msg.sender); } } function mintOwner(address to, uint256 amount) external onlyOwner { for (uint256 i = 0; i < amount; i++) { _safeMint(to); } } function _safeMint(address to) internal { uint256 tokenId = _tokenIdCounter.current(); require(tokenId <= _maxSupply, 'KatanaNFT: exceeds max supply'); _tokenIdCounter.increment(); _safeMint(to, tokenId); } function tokenURI(uint256 tokenId) public view override returns (string memory) { require( _exists(tokenId), 'ERC721Metadata: URI query for nonexistent token' ); if (_revealed) { return string( abi.encodePacked(_revealBaseURI, tokenId.toString(), _revealExtension) ); } else { return string( abi.encodePacked(_hiddenBaseURI, tokenId.toString(), _hiddenExtension) ); } } function transfersPaused() public view returns (bool) { return _transfersPaused; } function setTransfersPaused(bool transfersPaused_) external onlyOwner { _transfersPaused = transfersPaused_; } function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal override(ERC721, ERC721Enumerable) { require( !_transfersPaused || from == address(0), 'KatanaNFT: transfers are paused' ); super._beforeTokenTransfer(from, to, tokenId); } function supportsInterface(bytes4 interfaceId) public view override(ERC721, ERC721Enumerable) returns (bool) { return ERC721.supportsInterface(interfaceId) || ERC721Enumerable.supportsInterface(interfaceId); } function setMaxSupply(uint256 maxSupply_) external onlyOwner { _maxSupply = maxSupply_; } function setPrice(uint256 price_) external onlyOwner { _price = price_; } function setMaxMintAmount(uint256 maxMintAmount_) external onlyOwner { _maxMintAmount = maxMintAmount_; } function setHiddenURI(string memory baseURI, string memory extension) external onlyOwner { _hiddenBaseURI = baseURI; _hiddenExtension = extension; } function reveal(string memory baseURI, string memory extension) external onlyOwner { _revealBaseURI = baseURI; _revealExtension = extension; _revealed = true; } function hide() external onlyOwner { _revealBaseURI = ''; _revealExtension = ''; _revealed = false; } function whitelistSaleTime() public view returns (uint256) { return _whitelistSaleTime; } function setWhitelistSaleTime(uint256 whitelistSaleTime_) external onlyOwner { _whitelistSaleTime = whitelistSaleTime_; } function publicSaleTime() public view returns (uint256) { return _publicSaleTime; } function setPublicSaleTime(uint256 publicSaleTime_) external onlyOwner { _publicSaleTime = publicSaleTime_; } }
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.0; import '@openzeppelin/contracts/token/ERC20/IERC20.sol'; import './Ownable.sol'; abstract contract Withdrawable is Ownable { function _withdraw(address token, address to) internal { require(to != address(0), 'Withdrawable: cannot withdraw to zero address'); if (token != address(0)) { IERC20 token_ = IERC20(token); uint256 balance = token_.balanceOf(address(this)); require(balance > 0, 'Withdrawable: cannot withdraw 0 ERC20'); token_.transfer(to, balance); } else { uint256 balance = address(this).balance; require(balance > 0, 'Withdrawable: cannot withdraw 0 ETH'); payable(to).transfer(balance); } } function withdraw() external onlyOwner { _withdraw(address(0), msg.sender); } function withdraw(address to) external onlyOwner { _withdraw(address(0), to); } function withdrawToken(address token) external onlyOwner { require( token != address(0), 'Withdrawable: zero address is not an ERC20 token' ); _withdraw(token, msg.sender); } function withdrawToken(address token, address to) external onlyOwner { require( token != address(0), 'Withdrawable: zero address is not an ERC20 token' ); _withdraw(token, to); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import '@openzeppelin/contracts/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(address owner_) { if (owner_ == address(0)) { _transferOwnership(_msgSender()); } else { _transferOwnership(owner_); } } /** * @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/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (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/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 (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 (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/Address.sol) pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Enumerable.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Enumerable.sol) pragma solidity ^0.8.0; import "../ERC721.sol"; import "./IERC721Enumerable.sol"; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` cannot be the zero address. * - `to` cannot be the zero address. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual override { super._beforeTokenTransfer(from, to, tokenId); if (from == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = ERC721.balanceOf(from) - 1; uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array delete _ownedTokensIndex[tokenId]; delete _ownedTokens[from][lastTokenIndex]; } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length - 1; uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array delete _allTokensIndex[tokenId]; _allTokens.pop(); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits a {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address sender, address recipient, uint256 amount ) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (security/Pausable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ abstract contract Pausable is Context { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ constructor() { _paused = false; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { require(!paused(), "Pausable: paused"); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { require(paused(), "Pausable: not paused"); _; } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import './ISignable.sol'; abstract contract Signable is ISignable { struct Signature { bytes32 nonce; bytes32 r; bytes32 s; uint8 v; } bytes32 private _uniq; mapping(bytes32 => bool) private _signatures; constructor() { _uniq = keccak256(abi.encodePacked(block.timestamp, address(this))); } function uniq() public view virtual override(ISignable) returns (bytes32) { return _uniq; } modifier verifySignature(bytes memory message, Signature memory signature) { address _signer = this.signer(); require(_signer != address(0), 'Signable: signer not initialised'); bytes32 signatureHash = keccak256(abi.encode(signature)); require(!_signatures[signatureHash], 'Signable: signature already used'); require( _signer == ecrecover( keccak256(abi.encode(_uniq, signature.nonce, msg.sender, message)), signature.v, signature.r, signature.s ), 'Signable: invalid signature' ); _signatures[signatureHash] = true; _; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; interface ISignable { function uniq() external view returns (bytes32); function signer() external view returns (address); }
{ "remappings": [], "optimizer": { "enabled": true, "runs": 200 }, "evmVersion": "byzantium", "libraries": {}, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"components":[{"internalType":"address","name":"signer","type":"address"},{"internalType":"address","name":"owner","type":"address"},{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"uint256","name":"maxSupply","type":"uint256"},{"internalType":"uint256","name":"price","type":"uint256"},{"internalType":"uint256","name":"maxMintAmount","type":"uint256"},{"internalType":"uint256","name":"whitelistSaleTime","type":"uint256"},{"internalType":"uint256","name":"publicSaleTime","type":"uint256"},{"internalType":"string","name":"hiddenBaseURI","type":"string"},{"internalType":"string","name":"hiddenExtension","type":"string"},{"internalType":"string","name":"revealBaseURI","type":"string"},{"internalType":"string","name":"revealExtension","type":"string"},{"internalType":"bool","name":"revealed","type":"bool"},{"internalType":"bool","name":"transfersPaused","type":"bool"}],"internalType":"struct KatanaNFT.ConstructorParams","name":"params","type":"tuple"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"hide","outputs":[],"stateMutability":"nonpayable","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":"maxMintAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mintOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"components":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"allocation","type":"uint256"},{"internalType":"uint256","name":"price","type":"uint256"}],"internalType":"struct KatanaNFT.Whitelist","name":"whitelist","type":"tuple"},{"components":[{"internalType":"bytes32","name":"nonce","type":"bytes32"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"},{"internalType":"uint8","name":"v","type":"uint8"}],"internalType":"struct Signable.Signature","name":"signature","type":"tuple"}],"name":"mintWhitelist","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicSaleTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"},{"internalType":"string","name":"extension","type":"string"}],"name":"reveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"},{"internalType":"string","name":"extension","type":"string"}],"name":"setHiddenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxMintAmount_","type":"uint256"}],"name":"setMaxMintAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxSupply_","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"price_","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"publicSaleTime_","type":"uint256"}],"name":"setPublicSaleTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"signer_","type":"address"}],"name":"setSigner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"transfersPaused_","type":"bool"}],"name":"setTransfersPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"whitelistSaleTime_","type":"uint256"}],"name":"setWhitelistSaleTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"signer","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"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":[],"name":"transfersPaused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniq","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"whitelistSaleTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"address","name":"to","type":"address"}],"name":"withdrawToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"withdrawToken","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b5060405162004049380380620040498339810160408190526200003491620003cf565b80602001518160400151826060015181600090805190602001906200005b9291906200026a565b508051620000719060019060208401906200026a565b5050600a805460ff1916905550600160a060020a038116620000b957620000b3620000a464010000000062000203810204565b64010000000062000207810204565b620000cd565b620000cd8164010000000062000207810204565b504230604051602001620000e392919062000593565b60408051808303601f190181529190528051602091820120600b558151600d8054600160a060020a031916600160a060020a03909216919091179055608082015160145560a082015160155560c082015160165560e082015160175561010082015160185561012082015180516200016092600f9201906200026a565b5061014081015180516200017d916010916020909101906200026a565b5061016081015180516200019a916011916020909101906200026a565b506101808101518051620001b7916012916020909101906200026a565b506101a08101516013805491151560ff199283161790556101c08201516019805491151591909216179055620001fc600e640100000000620018206200026182021704565b506200066a565b3390565b600a8054600160a060020a0383811661010081810261010060a860020a031985161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b80546001019055565b8280546200027890620005e5565b90600052602060002090601f0160209004810192826200029c5760008555620002e7565b82601f10620002b757805160ff1916838001178555620002e7565b82800160010185558215620002e7579182015b82811115620002e7578251825591602001919060010190620002ca565b50620002f5929150620002f9565b5090565b5b80821115620002f55760008155600101620002fa565b8051600160a060020a03811681146200032857600080fd5b919050565b805180151581146200032857600080fd5b600082601f8301126200034f578081fd5b81516001604060020a038111156200036b576200036b6200063b565b602062000381601f8301601f19168201620005b9565b828152858284870101111562000395578384fd5b835b83811015620003b457858101830151828201840152820162000397565b83811115620003c557848385840101525b5095945050505050565b600060208284031215620003e1578081fd5b81516001604060020a0380821115620003f8578283fd5b81840191506101e08083870312156200040f578384fd5b6200041a81620005b9565b9050620004278362000310565b8152620004376020840162000310565b60208201526040830151828111156200044e578485fd5b6200045c878286016200033e565b60408301525060608301518281111562000474578485fd5b62000482878286016200033e565b6060830152506080830151608082015260a083015160a082015260c083015160c082015260e083015160e08201526101008084015181830152506101208084015183811115620004d0578586fd5b620004de888287016200033e565b8284015250506101408084015183811115620004f8578586fd5b62000506888287016200033e565b828401525050610160808401518381111562000520578586fd5b6200052e888287016200033e565b828401525050610180808401518381111562000548578586fd5b62000556888287016200033e565b8284015250506101a091506200056e8284016200032d565b828201526101c09150620005848284016200032d565b91810191909152949350505050565b918252600160a060020a03166c0100000000000000000000000002602082015260340190565b6040518181016001604060020a0381118282101715620005dd57620005dd6200063b565b604052919050565b600281046001821680620005fa57607f821691505b6020821081141562000635577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6139cf806200067a6000396000f3fe60806040526004361061028c5760003560e060020a900480635c975abb1161015e5780639dccd62f116100c5578063b62a76251161007e578063b62a762514610726578063b88d4fde1461073b578063c87b56dd1461075b578063d5abeb011461077b578063e985e9c514610790578063f2fde38b146107b05761028c565b80639dccd62f14610689578063a035b1fe146106a9578063a0712d68146106be578063a22cb465146106d1578063ae9320a4146106f1578063afdea6c2146107065761028c565b80638456cb59116101175780638456cb59146105f7578063894760691461060c5780638da5cb5b1461062c5780638ea466b91461064157806391b7f5ed1461065457806395d89b41146106745761028c565b80635c975abb1461054d5780636352211e146105625780636c19e783146105825780636f8b44b0146105a257806370a08231146105c2578063715018a6146105e25761028c565b80632ecea7b71161020257806342842e0e116101bb57806342842e0e1461049857806344e46dff146104b85780634563f30a146104d85780634f6ccce7146104ed57806351cff8d91461050d5780635ba1b2c71461052d5761028c565b80632ecea7b7146103f95780632f745c591461040e5780633aeac4e11461042e5780633ccfd60b1461044e5780633f4ba83a14610463578063408cbf94146104785761028c565b806311b7e5e71161025457806311b7e5e71461035857806318160ddd146103785780632344be0a1461039a578063238ac933146103af578063239c70ae146103c457806323b872dd146103d95761028c565b806301ffc9a71461029157806306fdde03146102c7578063081812fc146102e9578063088a4ed014610316578063095ea7b314610338575b600080fd5b34801561029d57600080fd5b506102b16102ac366004612971565b6107d0565b6040516102be9190612c5d565b60405180910390f35b3480156102d357600080fd5b506102dc6107f2565b6040516102be9190612d0c565b3480156102f557600080fd5b50610309610304366004612a7a565b610884565b6040516102be9190612bf4565b34801561032257600080fd5b50610336610331366004612a7a565b6108d3565b005b34801561034457600080fd5b5061033661035336600461290e565b61091a565b34801561036457600080fd5b50610336610373366004612a7a565b6109b8565b34801561038457600080fd5b5061038d6109ff565b6040516102be9190612c68565b3480156103a657600080fd5b5061038d610a05565b3480156103bb57600080fd5b50610309610a0b565b3480156103d057600080fd5b5061038d610a1a565b3480156103e557600080fd5b506103366103f4366004612824565b610a20565b34801561040557600080fd5b5061038d610a5b565b34801561041a57600080fd5b5061038d61042936600461290e565b610a61565b34801561043a57600080fd5b506103366104493660046127ec565b610ab6565b34801561045a57600080fd5b50610336610b2f565b34801561046f57600080fd5b50610336610b7e565b34801561048457600080fd5b5061033661049336600461290e565b610bc8565b3480156104a457600080fd5b506103366104b3366004612824565b610c30565b3480156104c457600080fd5b506103366104d3366004612939565b610c4b565b3480156104e457600080fd5b506102b1610ca0565b3480156104f957600080fd5b5061038d610508366004612a7a565b610ca9565b34801561051957600080fd5b506103366105283660046127b4565b610d0a565b34801561053957600080fd5b506103366105483660046129a9565b610d5a565b34801561055957600080fd5b506102b1610dd5565b34801561056e57600080fd5b5061030961057d366004612a7a565b610dde565b34801561058e57600080fd5b5061033661059d3660046127b4565b610e16565b3480156105ae57600080fd5b506103366105bd366004612a7a565b610e87565b3480156105ce57600080fd5b5061038d6105dd3660046127b4565b610ece565b3480156105ee57600080fd5b50610336610f15565b34801561060357600080fd5b50610336610f61565b34801561061857600080fd5b506103366106273660046127b4565b610fab565b34801561063857600080fd5b50610309611020565b61033661064f366004612aaa565b611034565b34801561066057600080fd5b5061033661066f366004612a7a565b6113ec565b34801561068057600080fd5b506102dc611433565b34801561069557600080fd5b506103366106a43660046129a9565b611442565b3480156106b557600080fd5b5061038d6114ab565b6103366106cc366004612a7a565b6114b1565b3480156106dd57600080fd5b506103366106ec3660046128e1565b6115c2565b3480156106fd57600080fd5b5061038d6115d4565b34801561071257600080fd5b50610336610721366004612a7a565b6115da565b34801561073257600080fd5b50610336611621565b34801561074757600080fd5b50610336610756366004612864565b6116ad565b34801561076757600080fd5b506102dc610776366004612a7a565b6116ef565b34801561078757600080fd5b5061038d611778565b34801561079c57600080fd5b506102b16107ab3660046127ec565b61177e565b3480156107bc57600080fd5b506103366107cb3660046127b4565b6117ac565b60006107db82611829565b806107ea57506107ea8261189b565b90505b919050565b606060008054610801906138a8565b80601f016020809104026020016040519081016040528092919081815260200182805461082d906138a8565b801561087a5780601f1061084f5761010080835404028352916020019161087a565b820191906000526020600020905b81548152906001019060200180831161085d57829003601f168201915b5050505050905090565b600061088f826118d9565b6108b75760405160e560020a62461bcd0281526004016108ae90613457565b60405180910390fd5b50600090815260046020526040902054600160a060020a031690565b6108db6118f6565b600160a060020a03166108ec611020565b600160a060020a0316146109155760405160e560020a62461bcd0281526004016108ae906134b4565b601655565b600061092582610dde565b905080600160a060020a031683600160a060020a0316141561095c5760405160e560020a62461bcd0281526004016108ae906135a3565b80600160a060020a031661096e6118f6565b600160a060020a0316148061098a575061098a816107ab6118f6565b6109a95760405160e560020a62461bcd0281526004016108ae9061329d565b6109b383836118fa565b505050565b6109c06118f6565b600160a060020a03166109d1611020565b600160a060020a0316146109fa5760405160e560020a62461bcd0281526004016108ae906134b4565b601855565b60085490565b60185490565b600d54600160a060020a031690565b60165490565b610a31610a2b6118f6565b82611975565b610a505760405160e560020a62461bcd0281526004016108ae9061366c565b6109b38383836119fd565b60175490565b6000610a6c83610ece565b8210610a8d5760405160e560020a62461bcd0281526004016108ae90612e10565b50600160a060020a03919091166000908152600660209081526040808320938352929052205490565b610abe6118f6565b600160a060020a0316610acf611020565b600160a060020a031614610af85760405160e560020a62461bcd0281526004016108ae906134b4565b600160a060020a038216610b215760405160e560020a62461bcd0281526004016108ae90613726565b610b2b8282611b3d565b5050565b610b376118f6565b600160a060020a0316610b48611020565b600160a060020a031614610b715760405160e560020a62461bcd0281526004016108ae906134b4565b610b7c600033611b3d565b565b610b866118f6565b600160a060020a0316610b97611020565b600160a060020a031614610bc05760405160e560020a62461bcd0281526004016108ae906134b4565b610b7c611d2d565b610bd06118f6565b600160a060020a0316610be1611020565b600160a060020a031614610c0a5760405160e560020a62461bcd0281526004016108ae906134b4565b60005b818110156109b357610c1e83611d9e565b80610c28816138e6565b915050610c0d565b6109b3838383604051806020016040528060008152506116ad565b610c536118f6565b600160a060020a0316610c64611020565b600160a060020a031614610c8d5760405160e560020a62461bcd0281526004016108ae906134b4565b6019805460ff1916911515919091179055565b60195460ff1690565b6000610cb36109ff565b8210610cd45760405160e560020a62461bcd0281526004016108ae906136c9565b60088281548110610cf85760e060020a634e487b7102600052603260045260246000fd5b90600052602060002001549050919050565b610d126118f6565b600160a060020a0316610d23611020565b600160a060020a031614610d4c5760405160e560020a62461bcd0281526004016108ae906134b4565b610d57600082611b3d565b50565b610d626118f6565b600160a060020a0316610d73611020565b600160a060020a031614610d9c5760405160e560020a62461bcd0281526004016108ae906134b4565b8151610daf906011906020850190612685565b508051610dc3906012906020840190612685565b50506013805460ff1916600117905550565b600a5460ff1690565b600081815260026020526040812054600160a060020a0316806107ea5760405160e560020a62461bcd0281526004016108ae90613357565b610e1e6118f6565b600160a060020a0316610e2f611020565b600160a060020a031614610e585760405160e560020a62461bcd0281526004016108ae906134b4565b600d805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b610e8f6118f6565b600160a060020a0316610ea0611020565b600160a060020a031614610ec95760405160e560020a62461bcd0281526004016108ae906134b4565b601455565b6000600160a060020a038216610ef95760405160e560020a62461bcd0281526004016108ae906132fa565b50600160a060020a031660009081526003602052604090205490565b610f1d6118f6565b600160a060020a0316610f2e611020565b600160a060020a031614610f575760405160e560020a62461bcd0281526004016108ae906134b4565b610b7c6000611de5565b610f696118f6565b600160a060020a0316610f7a611020565b600160a060020a031614610fa35760405160e560020a62461bcd0281526004016108ae906134b4565b610b7c611e4c565b610fb36118f6565b600160a060020a0316610fc4611020565b600160a060020a031614610fed5760405160e560020a62461bcd0281526004016108ae906134b4565b600160a060020a0381166110165760405160e560020a62461bcd0281526004016108ae90613726565b610d578133611b3d565b600a546101009004600160a060020a031690565b61103c610dd5565b1561105c5760405160e560020a62461bcd0281526004016108ae90613209565b604051611091907f8ea466b9000000000000000000000000000000000000000000000000000000009085908590602001612cbd565b60408051601f198184030181529190526110b036839003830183612a0a565b600030600160a060020a031663238ac9336040518163ffffffff1660e060020a02815260040160206040518083038186803b1580156110ee57600080fd5b505afa158015611102573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061112691906127d0565b9050600160a060020a0381166111515760405160e560020a62461bcd0281526004016108ae90613600565b60008260405160200161116491906137e0565b60408051601f1981840301815291815281516020928301206000818152600c90935291205490915060ff16156111af5760405160e560020a62461bcd0281526004016108ae9061319d565b600b5483516040516001926111cc92909133908990602001612c71565b604051602081830303815290604052805190602001208460600151856020015186604001516040516000815260200160405260405161120e9493929190612c9f565b6020604051602081039080840390855afa158015611230573d6000803e3d6000fd5b50505060206040510351600160a060020a031682600160a060020a03161461126d5760405160e560020a62461bcd0281526004016108ae906133e9565b6000818152600c60209081526040909120805460ff19166001179055611295908701876127b4565b600160a060020a031633600160a060020a0316146112c85760405160e560020a62461bcd0281526004016108ae90612d7c565b336000908152601a602090815260409091205490870135906112eb90899061381a565b111561130c5760405160e560020a62461bcd0281526004016108ae90612f5e565b3461131b886040890135613846565b1461133b5760405160e560020a62461bcd0281526004016108ae90613635565b601454876113476109ff565b611351919061381a565b11156113725760405160e560020a62461bcd0281526004016108ae906131d2565b6017544210156113975760405160e560020a62461bcd0281526004016108ae90613140565b336000908152601a6020526040812080548992906113b690849061381a565b90915550600090505b878110156113e2576113d033611d9e565b806113da816138e6565b9150506113bf565b5050505050505050565b6113f46118f6565b600160a060020a0316611405611020565b600160a060020a03161461142e5760405160e560020a62461bcd0281526004016108ae906134b4565b601555565b606060018054610801906138a8565b61144a6118f6565b600160a060020a031661145b611020565b600160a060020a0316146114845760405160e560020a62461bcd0281526004016108ae906134b4565b815161149790600f906020850190612685565b5080516109b3906010906020840190612685565b60155490565b6114b9610dd5565b156114d95760405160e560020a62461bcd0281526004016108ae90613209565b601654816114e633610ece565b6114f0919061381a565b11156115115760405160e560020a62461bcd0281526004016108ae90612f5e565b34816015546115209190613846565b146115405760405160e560020a62461bcd0281526004016108ae90613075565b6014548161154c6109ff565b611556919061381a565b11156115775760405160e560020a62461bcd0281526004016108ae906131d2565b60185442101561159c5760405160e560020a62461bcd0281526004016108ae90613240565b60005b81811015610b2b576115b033611d9e565b806115ba816138e6565b91505061159f565b610b2b6115cd6118f6565b8383611eaa565b600b5490565b6115e26118f6565b600160a060020a03166115f3611020565b600160a060020a03161461161c5760405160e560020a62461bcd0281526004016108ae906134b4565b601755565b6116296118f6565b600160a060020a031661163a611020565b600160a060020a0316146116635760405160e560020a62461bcd0281526004016108ae906134b4565b60408051602081019182905260009081905261168191601191612685565b506040805160208101918290526000908190526116a091601291612685565b506013805460ff19169055565b6116be6116b86118f6565b83611975565b6116dd5760405160e560020a62461bcd0281526004016108ae9061366c565b6116e984848484611f50565b50505050565b60606116fa826118d9565b6117195760405160e560020a62461bcd0281526004016108ae90613546565b60135460ff161561175957601161172f83611f86565b601260405160200161174393929190612bc1565b60405160208183030381529060405290506107ed565b600f61176483611f86565b601060405160200161174393929190612bc1565b60145490565b600160a060020a03918216600090815260056020908152604080832093909416825291909152205460ff1690565b6117b46118f6565b600160a060020a03166117c5611020565b600160a060020a0316146117ee5760405160e560020a62461bcd0281526004016108ae906134b4565b600160a060020a0381166118175760405160e560020a62461bcd0281526004016108ae90612eca565b610d5781611de5565b80546001019055565b6000600160e060020a031982167f80ac58cd00000000000000000000000000000000000000000000000000000000148061188c5750600160e060020a031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b806107ea57506107ea826120fa565b6000600160e060020a031982167f780e9d630000000000000000000000000000000000000000000000000000000014806107ea57506107ea82611829565b600090815260026020526040902054600160a060020a0316151590565b3390565b6000818152600460205260409020805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a038416908117909155819061193c82610dde565b600160a060020a03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611980826118d9565b61199f5760405160e560020a62461bcd0281526004016108ae906130e3565b60006119aa83610dde565b905080600160a060020a031684600160a060020a031614806119e5575083600160a060020a03166119da84610884565b600160a060020a0316145b806119f557506119f5818561177e565b949350505050565b82600160a060020a0316611a1082610dde565b600160a060020a031614611a395760405160e560020a62461bcd0281526004016108ae906134e9565b600160a060020a038216611a625760405160e560020a62461bcd0281526004016108ae90613018565b611a6d83838361212c565b611a786000826118fa565b600160a060020a0383166000908152600360205260408120805460019290611aa1908490613865565b9091555050600160a060020a0382166000908152600360205260408120805460019290611acf90849061381a565b9091555050600081815260026020526040808220805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600160a060020a038116611b665760405160e560020a62461bcd0281526004016108ae90613783565b600160a060020a03821615611cd5576040517f70a082310000000000000000000000000000000000000000000000000000000081528290600090600160a060020a038316906370a0823190611bbf903090600401612bf4565b60206040518083038186803b158015611bd757600080fd5b505afa158015611beb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c0f9190612a92565b905060008111611c345760405160e560020a62461bcd0281526004016108ae90612fbb565b6040517fa9059cbb000000000000000000000000000000000000000000000000000000008152600160a060020a0383169063a9059cbb90611c7b9086908590600401612c44565b602060405180830381600087803b158015611c9557600080fd5b505af1158015611ca9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ccd9190612955565b505050610b2b565b303180611cf75760405160e560020a62461bcd0281526004016108ae90612d1f565b604051600160a060020a0383169082156108fc029083906000818181858888f193505050501580156116e9573d6000803e3d6000fd5b611d35610dd5565b611d545760405160e560020a62461bcd0281526004016108ae90612dd9565b600a805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa611d876118f6565b604051611d949190612bf4565b60405180910390a1565b6000611daa600e61216f565b9050601454811115611dd15760405160e560020a62461bcd0281526004016108ae906131d2565b611ddb600e611820565b610b2b8282612173565b600a8054600160a060020a0383811661010081810274ffffffffffffffffffffffffffffffffffffffff001985161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b611e54610dd5565b15611e745760405160e560020a62461bcd0281526004016108ae90613209565b600a805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611d876118f6565b81600160a060020a031683600160a060020a03161415611edf5760405160e560020a62461bcd0281526004016108ae906130ac565b600160a060020a0383811660008181526005602090815260408083209487168084529490915290819020805460ff1916851515179055517f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3190611f43908590612c5d565b60405180910390a3505050565b611f5b8484846119fd565b611f678484848461218d565b6116e95760405160e560020a62461bcd0281526004016108ae90612e6d565b606081611fc7575060408051808201909152600181527f300000000000000000000000000000000000000000000000000000000000000060208201526107ed565b8160005b8115611ff15780611fdb816138e6565b9150611fea9050600a83613832565b9150611fcb565b60008167ffffffffffffffff81111561201d5760e060020a634e487b7102600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612047576020820181803683370190505b5090505b84156119f55761205c600183613865565b9150612069600a86613901565b61207490603061381a565b7f0100000000000000000000000000000000000000000000000000000000000000028183815181106120b95760e060020a634e487b7102600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506120f3600a86613832565b945061204b565b600160e060020a031981167f01ffc9a70000000000000000000000000000000000000000000000000000000014919050565b60195460ff1615806121455750600160a060020a038316155b6121645760405160e560020a62461bcd0281526004016108ae90613420565b6109b38383836122c7565b5490565b610b2b828260405180602001604052806000815250612350565b60006121a184600160a060020a0316612386565b156122bc5783600160a060020a031663150b7a026121bd6118f6565b8786866040518563ffffffff1660e060020a0281526004016121e29493929190612c08565b602060405180830381600087803b1580156121fc57600080fd5b505af192505050801561222c575060408051601f3d908101601f191682019092526122299181019061298d565b60015b612289573d80801561225a576040519150601f19603f3d011682016040523d82523d6000602084013e61225f565b606091505b5080516122815760405160e560020a62461bcd0281526004016108ae90612e6d565b805181602001fd5b600160e060020a0319167f150b7a02000000000000000000000000000000000000000000000000000000001490506119f5565b506001949350505050565b6122d28383836109b3565b600160a060020a0383166122ee576122e98161238c565b612311565b81600160a060020a031683600160a060020a0316146123115761231183826123d0565b600160a060020a03821661232d576123288161246d565b6109b3565b82600160a060020a031682600160a060020a0316146109b3576109b3828261254f565b61235a8383612593565b612367600084848461218d565b6109b35760405160e560020a62461bcd0281526004016108ae90612e6d565b3b151590565b600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b600060016123dd84610ece565b6123e79190613865565b60008381526007602052604090205490915080821461243a57600160a060020a03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b506000918252600760209081526040808420849055600160a060020a039094168352600681528383209183525290812055565b60085460009061247f90600190613865565b600083815260096020526040812054600880549394509092849081106124b85760e060020a634e487b7102600052603260045260246000fd5b9060005260206000200154905080600883815481106124ea5760e060020a634e487b7102600052603260045260246000fd5b60009182526020808320909101929092558281526009909152604080822084905585825281205560088054806125335760e060020a634e487b7102600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b600061255a83610ece565b600160a060020a039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b600160a060020a0382166125bc5760405160e560020a62461bcd0281526004016108ae906133b4565b6125c5816118d9565b156125e55760405160e560020a62461bcd0281526004016108ae90612f27565b6125f16000838361212c565b600160a060020a038216600090815260036020526040812080546001929061261a90849061381a565b9091555050600081815260026020526040808220805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b828054612691906138a8565b90600052602060002090601f0160209004810192826126b357600085556126f9565b82601f106126cc57805160ff19168380011785556126f9565b828001600101855582156126f9579182015b828111156126f95782518255916020019190600101906126de565b50612705929150612709565b5090565b5b80821115612705576000815560010161270a565b600067ffffffffffffffff8084111561273957612739613947565b604051601f8501601f19168101602001828111828210171561275d5761275d613947565b60405284815291508183850186101561277557600080fd5b8484602083013760006020868301015250509392505050565b600082601f83011261279e578081fd5b6127ad8383356020850161271e565b9392505050565b6000602082840312156127c5578081fd5b81356127ad81613960565b6000602082840312156127e1578081fd5b81516127ad81613960565b600080604083850312156127fe578081fd5b823561280981613960565b9150602083013561281981613960565b809150509250929050565b600080600060608486031215612838578081fd5b833561284381613960565b9250602084013561285381613960565b929592945050506040919091013590565b60008060008060808587031215612879578081fd5b843561288481613960565b9350602085013561289481613960565b925060408501359150606085013567ffffffffffffffff8111156128b6578182fd5b8501601f810187136128c6578182fd5b6128d58782356020840161271e565b91505092959194509250565b600080604083850312156128f3578182fd5b82356128fe81613960565b9150602083013561281981613975565b60008060408385031215612920578182fd5b823561292b81613960565b946020939093013593505050565b60006020828403121561294a578081fd5b81356127ad81613975565b600060208284031215612966578081fd5b81516127ad81613975565b600060208284031215612982578081fd5b81356127ad81613983565b60006020828403121561299e578081fd5b81516127ad81613983565b600080604083850312156129bb578182fd5b823567ffffffffffffffff808211156129d2578384fd5b6129de8683870161278e565b935060208501359150808211156129f3578283fd5b50612a008582860161278e565b9150509250929050565b600060808284031215612a1b578081fd5b6040516080810181811067ffffffffffffffff82111715612a3e57612a3e613947565b8060405250823581526020830135602082015260408301356040820152606083013560ff81168114612a6e578283fd5b60608201529392505050565b600060208284031215612a8b578081fd5b5035919050565b600060208284031215612aa3578081fd5b5051919050565b6000806000838503610100811215612ac0578182fd5b843593506060601f1982011215612ad5578182fd5b6020850192506080607f1982011215612aec578182fd5b506080840190509250925092565b60008151808452612b1281602086016020860161387c565b601f01601f19169290920160200192915050565b805460009060028104600180831680612b4057607f831692505b6020808410821415612b635760e060020a634e487b710286526022600452602486fd5b818015612b775760018114612b8857612bb5565b60ff19861689528489019650612bb5565b612b918861380e565b60005b86811015612bad5781548b820152908501908301612b94565b505084890196505b50505050505092915050565b6000612bcd8286612b26565b8451612bdd81836020890161387c565b612be981830186612b26565b979650505050505050565b600160a060020a0391909116815260200190565b6000600160a060020a03808716835280861660208401525083604083015260806060830152612c3a6080830184612afa565b9695505050505050565b600160a060020a03929092168252602082015260400190565b901515815260200190565b90815260200190565b6000858252846020830152600160a060020a038416604083015260806060830152612c3a6080830184612afa565b93845260ff9290921660208401526040830152606082015260800190565b600160e060020a0319841681526020810183905260a081018235612ce081613960565b600160a060020a0381166040840152506020830135606083015260408301356080830152949350505050565b6000602082526127ad6020830184612afa565b60208082526023908201527f576974686472617761626c653a2063616e6e6f7420776974686472617720302060408201527f4554480000000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526021908201527f4b6174616e614e46543a2073656e646572206e6f742077686974656c6973746560408201527f6400000000000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526014908201527f5061757361626c653a206e6f7420706175736564000000000000000000000000604082015260600190565b6020808252602b908201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560408201527f74206f6620626f756e6473000000000000000000000000000000000000000000606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527f63656976657220696d706c656d656e7465720000000000000000000000000000606082015260800190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201527f6464726573730000000000000000000000000000000000000000000000000000606082015260800190565b6020808252601c908201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604082015260600190565b60208082526021908201527f4b6174616e614e46543a2065786365656473206d6178206d696e74206c696d6960408201527f7400000000000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526025908201527f576974686472617761626c653a2063616e6e6f7420776974686472617720302060408201527f4552433230000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526024908201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460408201527f7265737300000000000000000000000000000000000000000000000000000000606082015260800190565b6020808252601d908201527f4b6174616e614e46543a20496e76616c69642065746820616d6f756e74000000604082015260600190565b60208082526019908201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604082015260600190565b6020808252602c908201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860408201527f697374656e7420746f6b656e0000000000000000000000000000000000000000606082015260800190565b60208082526028908201527f4b6174616e614e46543a2077686974656c6973742073616c65206861736e277460408201527f2073746172746564000000000000000000000000000000000000000000000000606082015260800190565b6020808252818101527f5369676e61626c653a207369676e617475726520616c72656164792075736564604082015260600190565b6020808252601d908201527f4b6174616e614e46543a2065786365656473206d617820737570706c79000000604082015260600190565b60208082526010908201527f5061757361626c653a2070617573656400000000000000000000000000000000604082015260600190565b60208082526025908201527f4b6174616e614e46543a207075626c69632073616c65206861736e277420737460408201527f6172746564000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526038908201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760408201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606082015260800190565b6020808252602a908201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560408201527f726f206164647265737300000000000000000000000000000000000000000000606082015260800190565b60208082526029908201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460408201527f656e7420746f6b656e0000000000000000000000000000000000000000000000606082015260800190565b6020808252818101527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604082015260600190565b6020808252601b908201527f5369676e61626c653a20696e76616c6964207369676e61747572650000000000604082015260600190565b6020808252601f908201527f4b6174616e614e46543a207472616e7366657273206172652070617573656400604082015260600190565b6020808252602c908201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860408201527f697374656e7420746f6b656e0000000000000000000000000000000000000000606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526029908201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960408201527f73206e6f74206f776e0000000000000000000000000000000000000000000000606082015260800190565b6020808252602f908201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60408201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000606082015260800190565b60208082526021908201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560408201527f7200000000000000000000000000000000000000000000000000000000000000606082015260800190565b6020808252818101527f5369676e61626c653a207369676e6572206e6f7420696e697469616c69736564604082015260600190565b6020808252601d908201527f4b6174616e614e46543a20696e76616c69642065746820616d6f756e74000000604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60408201527f776e6572206e6f7220617070726f766564000000000000000000000000000000606082015260800190565b6020808252602c908201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60408201527f7574206f6620626f756e64730000000000000000000000000000000000000000606082015260800190565b60208082526030908201527f576974686472617761626c653a207a65726f2061646472657373206973206e6f60408201527f7420616e20455243323020746f6b656e00000000000000000000000000000000606082015260800190565b6020808252602d908201527f576974686472617761626c653a2063616e6e6f7420776974686472617720746f60408201527f207a65726f206164647265737300000000000000000000000000000000000000606082015260800190565b81518152602080830151908201526040808301519082015260609182015160ff169181019190915260800190565b60009081526020902090565b6000821982111561382d5761382d613915565b500190565b6000826138415761384161392e565b500490565b600081600019048311821515161561386057613860613915565b500290565b60008282101561387757613877613915565b500390565b60005b8381101561389757818101518382015260200161387f565b838111156116e95750506000910152565b6002810460018216806138bc57607f821691505b602082108114156138e05760e060020a634e487b7102600052602260045260246000fd5b50919050565b60006000198214156138fa576138fa613915565b5060010190565b6000826139105761391061392e565b500690565b60e060020a634e487b7102600052601160045260246000fd5b60e060020a634e487b7102600052601260045260246000fd5b60e060020a634e487b7102600052604160045260246000fd5b600160a060020a0381168114610d5757600080fd5b8015158114610d5757600080fd5b600160e060020a031981168114610d5757600080fdfea2646970667358221220c65b51553fa1b69f02f1eae290fff807d65f3a1e4ff511fdfd5affebb620ffb664736f6c6343000800003300000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b024b0d2fa51e56ea7ad4bbe179df23c7b7a826700000000000000000000000000000000000000000000000000000000000001e000000000000000000000000000000000000000000000000000000000000002200000000000000000000000000000000000000000000000000000000000002710000000000000000000000000000000000000000000000000016345785d8a000000000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000062305590000000000000000000000000000000000000000000000000000000006231a710000000000000000000000000000000000000000000000000000000000000026000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000002e000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000114b6174616e6120496e752054616b657275000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000454414b4100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003168747470733a2f2f6d696e742e6b6174616e61696e752e636f6d2f6170692f6b6174616e612d696e752d74616b6572752f000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x60806040526004361061028c5760003560e060020a900480635c975abb1161015e5780639dccd62f116100c5578063b62a76251161007e578063b62a762514610726578063b88d4fde1461073b578063c87b56dd1461075b578063d5abeb011461077b578063e985e9c514610790578063f2fde38b146107b05761028c565b80639dccd62f14610689578063a035b1fe146106a9578063a0712d68146106be578063a22cb465146106d1578063ae9320a4146106f1578063afdea6c2146107065761028c565b80638456cb59116101175780638456cb59146105f7578063894760691461060c5780638da5cb5b1461062c5780638ea466b91461064157806391b7f5ed1461065457806395d89b41146106745761028c565b80635c975abb1461054d5780636352211e146105625780636c19e783146105825780636f8b44b0146105a257806370a08231146105c2578063715018a6146105e25761028c565b80632ecea7b71161020257806342842e0e116101bb57806342842e0e1461049857806344e46dff146104b85780634563f30a146104d85780634f6ccce7146104ed57806351cff8d91461050d5780635ba1b2c71461052d5761028c565b80632ecea7b7146103f95780632f745c591461040e5780633aeac4e11461042e5780633ccfd60b1461044e5780633f4ba83a14610463578063408cbf94146104785761028c565b806311b7e5e71161025457806311b7e5e71461035857806318160ddd146103785780632344be0a1461039a578063238ac933146103af578063239c70ae146103c457806323b872dd146103d95761028c565b806301ffc9a71461029157806306fdde03146102c7578063081812fc146102e9578063088a4ed014610316578063095ea7b314610338575b600080fd5b34801561029d57600080fd5b506102b16102ac366004612971565b6107d0565b6040516102be9190612c5d565b60405180910390f35b3480156102d357600080fd5b506102dc6107f2565b6040516102be9190612d0c565b3480156102f557600080fd5b50610309610304366004612a7a565b610884565b6040516102be9190612bf4565b34801561032257600080fd5b50610336610331366004612a7a565b6108d3565b005b34801561034457600080fd5b5061033661035336600461290e565b61091a565b34801561036457600080fd5b50610336610373366004612a7a565b6109b8565b34801561038457600080fd5b5061038d6109ff565b6040516102be9190612c68565b3480156103a657600080fd5b5061038d610a05565b3480156103bb57600080fd5b50610309610a0b565b3480156103d057600080fd5b5061038d610a1a565b3480156103e557600080fd5b506103366103f4366004612824565b610a20565b34801561040557600080fd5b5061038d610a5b565b34801561041a57600080fd5b5061038d61042936600461290e565b610a61565b34801561043a57600080fd5b506103366104493660046127ec565b610ab6565b34801561045a57600080fd5b50610336610b2f565b34801561046f57600080fd5b50610336610b7e565b34801561048457600080fd5b5061033661049336600461290e565b610bc8565b3480156104a457600080fd5b506103366104b3366004612824565b610c30565b3480156104c457600080fd5b506103366104d3366004612939565b610c4b565b3480156104e457600080fd5b506102b1610ca0565b3480156104f957600080fd5b5061038d610508366004612a7a565b610ca9565b34801561051957600080fd5b506103366105283660046127b4565b610d0a565b34801561053957600080fd5b506103366105483660046129a9565b610d5a565b34801561055957600080fd5b506102b1610dd5565b34801561056e57600080fd5b5061030961057d366004612a7a565b610dde565b34801561058e57600080fd5b5061033661059d3660046127b4565b610e16565b3480156105ae57600080fd5b506103366105bd366004612a7a565b610e87565b3480156105ce57600080fd5b5061038d6105dd3660046127b4565b610ece565b3480156105ee57600080fd5b50610336610f15565b34801561060357600080fd5b50610336610f61565b34801561061857600080fd5b506103366106273660046127b4565b610fab565b34801561063857600080fd5b50610309611020565b61033661064f366004612aaa565b611034565b34801561066057600080fd5b5061033661066f366004612a7a565b6113ec565b34801561068057600080fd5b506102dc611433565b34801561069557600080fd5b506103366106a43660046129a9565b611442565b3480156106b557600080fd5b5061038d6114ab565b6103366106cc366004612a7a565b6114b1565b3480156106dd57600080fd5b506103366106ec3660046128e1565b6115c2565b3480156106fd57600080fd5b5061038d6115d4565b34801561071257600080fd5b50610336610721366004612a7a565b6115da565b34801561073257600080fd5b50610336611621565b34801561074757600080fd5b50610336610756366004612864565b6116ad565b34801561076757600080fd5b506102dc610776366004612a7a565b6116ef565b34801561078757600080fd5b5061038d611778565b34801561079c57600080fd5b506102b16107ab3660046127ec565b61177e565b3480156107bc57600080fd5b506103366107cb3660046127b4565b6117ac565b60006107db82611829565b806107ea57506107ea8261189b565b90505b919050565b606060008054610801906138a8565b80601f016020809104026020016040519081016040528092919081815260200182805461082d906138a8565b801561087a5780601f1061084f5761010080835404028352916020019161087a565b820191906000526020600020905b81548152906001019060200180831161085d57829003601f168201915b5050505050905090565b600061088f826118d9565b6108b75760405160e560020a62461bcd0281526004016108ae90613457565b60405180910390fd5b50600090815260046020526040902054600160a060020a031690565b6108db6118f6565b600160a060020a03166108ec611020565b600160a060020a0316146109155760405160e560020a62461bcd0281526004016108ae906134b4565b601655565b600061092582610dde565b905080600160a060020a031683600160a060020a0316141561095c5760405160e560020a62461bcd0281526004016108ae906135a3565b80600160a060020a031661096e6118f6565b600160a060020a0316148061098a575061098a816107ab6118f6565b6109a95760405160e560020a62461bcd0281526004016108ae9061329d565b6109b383836118fa565b505050565b6109c06118f6565b600160a060020a03166109d1611020565b600160a060020a0316146109fa5760405160e560020a62461bcd0281526004016108ae906134b4565b601855565b60085490565b60185490565b600d54600160a060020a031690565b60165490565b610a31610a2b6118f6565b82611975565b610a505760405160e560020a62461bcd0281526004016108ae9061366c565b6109b38383836119fd565b60175490565b6000610a6c83610ece565b8210610a8d5760405160e560020a62461bcd0281526004016108ae90612e10565b50600160a060020a03919091166000908152600660209081526040808320938352929052205490565b610abe6118f6565b600160a060020a0316610acf611020565b600160a060020a031614610af85760405160e560020a62461bcd0281526004016108ae906134b4565b600160a060020a038216610b215760405160e560020a62461bcd0281526004016108ae90613726565b610b2b8282611b3d565b5050565b610b376118f6565b600160a060020a0316610b48611020565b600160a060020a031614610b715760405160e560020a62461bcd0281526004016108ae906134b4565b610b7c600033611b3d565b565b610b866118f6565b600160a060020a0316610b97611020565b600160a060020a031614610bc05760405160e560020a62461bcd0281526004016108ae906134b4565b610b7c611d2d565b610bd06118f6565b600160a060020a0316610be1611020565b600160a060020a031614610c0a5760405160e560020a62461bcd0281526004016108ae906134b4565b60005b818110156109b357610c1e83611d9e565b80610c28816138e6565b915050610c0d565b6109b3838383604051806020016040528060008152506116ad565b610c536118f6565b600160a060020a0316610c64611020565b600160a060020a031614610c8d5760405160e560020a62461bcd0281526004016108ae906134b4565b6019805460ff1916911515919091179055565b60195460ff1690565b6000610cb36109ff565b8210610cd45760405160e560020a62461bcd0281526004016108ae906136c9565b60088281548110610cf85760e060020a634e487b7102600052603260045260246000fd5b90600052602060002001549050919050565b610d126118f6565b600160a060020a0316610d23611020565b600160a060020a031614610d4c5760405160e560020a62461bcd0281526004016108ae906134b4565b610d57600082611b3d565b50565b610d626118f6565b600160a060020a0316610d73611020565b600160a060020a031614610d9c5760405160e560020a62461bcd0281526004016108ae906134b4565b8151610daf906011906020850190612685565b508051610dc3906012906020840190612685565b50506013805460ff1916600117905550565b600a5460ff1690565b600081815260026020526040812054600160a060020a0316806107ea5760405160e560020a62461bcd0281526004016108ae90613357565b610e1e6118f6565b600160a060020a0316610e2f611020565b600160a060020a031614610e585760405160e560020a62461bcd0281526004016108ae906134b4565b600d805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b610e8f6118f6565b600160a060020a0316610ea0611020565b600160a060020a031614610ec95760405160e560020a62461bcd0281526004016108ae906134b4565b601455565b6000600160a060020a038216610ef95760405160e560020a62461bcd0281526004016108ae906132fa565b50600160a060020a031660009081526003602052604090205490565b610f1d6118f6565b600160a060020a0316610f2e611020565b600160a060020a031614610f575760405160e560020a62461bcd0281526004016108ae906134b4565b610b7c6000611de5565b610f696118f6565b600160a060020a0316610f7a611020565b600160a060020a031614610fa35760405160e560020a62461bcd0281526004016108ae906134b4565b610b7c611e4c565b610fb36118f6565b600160a060020a0316610fc4611020565b600160a060020a031614610fed5760405160e560020a62461bcd0281526004016108ae906134b4565b600160a060020a0381166110165760405160e560020a62461bcd0281526004016108ae90613726565b610d578133611b3d565b600a546101009004600160a060020a031690565b61103c610dd5565b1561105c5760405160e560020a62461bcd0281526004016108ae90613209565b604051611091907f8ea466b9000000000000000000000000000000000000000000000000000000009085908590602001612cbd565b60408051601f198184030181529190526110b036839003830183612a0a565b600030600160a060020a031663238ac9336040518163ffffffff1660e060020a02815260040160206040518083038186803b1580156110ee57600080fd5b505afa158015611102573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061112691906127d0565b9050600160a060020a0381166111515760405160e560020a62461bcd0281526004016108ae90613600565b60008260405160200161116491906137e0565b60408051601f1981840301815291815281516020928301206000818152600c90935291205490915060ff16156111af5760405160e560020a62461bcd0281526004016108ae9061319d565b600b5483516040516001926111cc92909133908990602001612c71565b604051602081830303815290604052805190602001208460600151856020015186604001516040516000815260200160405260405161120e9493929190612c9f565b6020604051602081039080840390855afa158015611230573d6000803e3d6000fd5b50505060206040510351600160a060020a031682600160a060020a03161461126d5760405160e560020a62461bcd0281526004016108ae906133e9565b6000818152600c60209081526040909120805460ff19166001179055611295908701876127b4565b600160a060020a031633600160a060020a0316146112c85760405160e560020a62461bcd0281526004016108ae90612d7c565b336000908152601a602090815260409091205490870135906112eb90899061381a565b111561130c5760405160e560020a62461bcd0281526004016108ae90612f5e565b3461131b886040890135613846565b1461133b5760405160e560020a62461bcd0281526004016108ae90613635565b601454876113476109ff565b611351919061381a565b11156113725760405160e560020a62461bcd0281526004016108ae906131d2565b6017544210156113975760405160e560020a62461bcd0281526004016108ae90613140565b336000908152601a6020526040812080548992906113b690849061381a565b90915550600090505b878110156113e2576113d033611d9e565b806113da816138e6565b9150506113bf565b5050505050505050565b6113f46118f6565b600160a060020a0316611405611020565b600160a060020a03161461142e5760405160e560020a62461bcd0281526004016108ae906134b4565b601555565b606060018054610801906138a8565b61144a6118f6565b600160a060020a031661145b611020565b600160a060020a0316146114845760405160e560020a62461bcd0281526004016108ae906134b4565b815161149790600f906020850190612685565b5080516109b3906010906020840190612685565b60155490565b6114b9610dd5565b156114d95760405160e560020a62461bcd0281526004016108ae90613209565b601654816114e633610ece565b6114f0919061381a565b11156115115760405160e560020a62461bcd0281526004016108ae90612f5e565b34816015546115209190613846565b146115405760405160e560020a62461bcd0281526004016108ae90613075565b6014548161154c6109ff565b611556919061381a565b11156115775760405160e560020a62461bcd0281526004016108ae906131d2565b60185442101561159c5760405160e560020a62461bcd0281526004016108ae90613240565b60005b81811015610b2b576115b033611d9e565b806115ba816138e6565b91505061159f565b610b2b6115cd6118f6565b8383611eaa565b600b5490565b6115e26118f6565b600160a060020a03166115f3611020565b600160a060020a03161461161c5760405160e560020a62461bcd0281526004016108ae906134b4565b601755565b6116296118f6565b600160a060020a031661163a611020565b600160a060020a0316146116635760405160e560020a62461bcd0281526004016108ae906134b4565b60408051602081019182905260009081905261168191601191612685565b506040805160208101918290526000908190526116a091601291612685565b506013805460ff19169055565b6116be6116b86118f6565b83611975565b6116dd5760405160e560020a62461bcd0281526004016108ae9061366c565b6116e984848484611f50565b50505050565b60606116fa826118d9565b6117195760405160e560020a62461bcd0281526004016108ae90613546565b60135460ff161561175957601161172f83611f86565b601260405160200161174393929190612bc1565b60405160208183030381529060405290506107ed565b600f61176483611f86565b601060405160200161174393929190612bc1565b60145490565b600160a060020a03918216600090815260056020908152604080832093909416825291909152205460ff1690565b6117b46118f6565b600160a060020a03166117c5611020565b600160a060020a0316146117ee5760405160e560020a62461bcd0281526004016108ae906134b4565b600160a060020a0381166118175760405160e560020a62461bcd0281526004016108ae90612eca565b610d5781611de5565b80546001019055565b6000600160e060020a031982167f80ac58cd00000000000000000000000000000000000000000000000000000000148061188c5750600160e060020a031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b806107ea57506107ea826120fa565b6000600160e060020a031982167f780e9d630000000000000000000000000000000000000000000000000000000014806107ea57506107ea82611829565b600090815260026020526040902054600160a060020a0316151590565b3390565b6000818152600460205260409020805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a038416908117909155819061193c82610dde565b600160a060020a03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611980826118d9565b61199f5760405160e560020a62461bcd0281526004016108ae906130e3565b60006119aa83610dde565b905080600160a060020a031684600160a060020a031614806119e5575083600160a060020a03166119da84610884565b600160a060020a0316145b806119f557506119f5818561177e565b949350505050565b82600160a060020a0316611a1082610dde565b600160a060020a031614611a395760405160e560020a62461bcd0281526004016108ae906134e9565b600160a060020a038216611a625760405160e560020a62461bcd0281526004016108ae90613018565b611a6d83838361212c565b611a786000826118fa565b600160a060020a0383166000908152600360205260408120805460019290611aa1908490613865565b9091555050600160a060020a0382166000908152600360205260408120805460019290611acf90849061381a565b9091555050600081815260026020526040808220805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600160a060020a038116611b665760405160e560020a62461bcd0281526004016108ae90613783565b600160a060020a03821615611cd5576040517f70a082310000000000000000000000000000000000000000000000000000000081528290600090600160a060020a038316906370a0823190611bbf903090600401612bf4565b60206040518083038186803b158015611bd757600080fd5b505afa158015611beb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c0f9190612a92565b905060008111611c345760405160e560020a62461bcd0281526004016108ae90612fbb565b6040517fa9059cbb000000000000000000000000000000000000000000000000000000008152600160a060020a0383169063a9059cbb90611c7b9086908590600401612c44565b602060405180830381600087803b158015611c9557600080fd5b505af1158015611ca9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ccd9190612955565b505050610b2b565b303180611cf75760405160e560020a62461bcd0281526004016108ae90612d1f565b604051600160a060020a0383169082156108fc029083906000818181858888f193505050501580156116e9573d6000803e3d6000fd5b611d35610dd5565b611d545760405160e560020a62461bcd0281526004016108ae90612dd9565b600a805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa611d876118f6565b604051611d949190612bf4565b60405180910390a1565b6000611daa600e61216f565b9050601454811115611dd15760405160e560020a62461bcd0281526004016108ae906131d2565b611ddb600e611820565b610b2b8282612173565b600a8054600160a060020a0383811661010081810274ffffffffffffffffffffffffffffffffffffffff001985161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b611e54610dd5565b15611e745760405160e560020a62461bcd0281526004016108ae90613209565b600a805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611d876118f6565b81600160a060020a031683600160a060020a03161415611edf5760405160e560020a62461bcd0281526004016108ae906130ac565b600160a060020a0383811660008181526005602090815260408083209487168084529490915290819020805460ff1916851515179055517f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3190611f43908590612c5d565b60405180910390a3505050565b611f5b8484846119fd565b611f678484848461218d565b6116e95760405160e560020a62461bcd0281526004016108ae90612e6d565b606081611fc7575060408051808201909152600181527f300000000000000000000000000000000000000000000000000000000000000060208201526107ed565b8160005b8115611ff15780611fdb816138e6565b9150611fea9050600a83613832565b9150611fcb565b60008167ffffffffffffffff81111561201d5760e060020a634e487b7102600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612047576020820181803683370190505b5090505b84156119f55761205c600183613865565b9150612069600a86613901565b61207490603061381a565b7f0100000000000000000000000000000000000000000000000000000000000000028183815181106120b95760e060020a634e487b7102600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506120f3600a86613832565b945061204b565b600160e060020a031981167f01ffc9a70000000000000000000000000000000000000000000000000000000014919050565b60195460ff1615806121455750600160a060020a038316155b6121645760405160e560020a62461bcd0281526004016108ae90613420565b6109b38383836122c7565b5490565b610b2b828260405180602001604052806000815250612350565b60006121a184600160a060020a0316612386565b156122bc5783600160a060020a031663150b7a026121bd6118f6565b8786866040518563ffffffff1660e060020a0281526004016121e29493929190612c08565b602060405180830381600087803b1580156121fc57600080fd5b505af192505050801561222c575060408051601f3d908101601f191682019092526122299181019061298d565b60015b612289573d80801561225a576040519150601f19603f3d011682016040523d82523d6000602084013e61225f565b606091505b5080516122815760405160e560020a62461bcd0281526004016108ae90612e6d565b805181602001fd5b600160e060020a0319167f150b7a02000000000000000000000000000000000000000000000000000000001490506119f5565b506001949350505050565b6122d28383836109b3565b600160a060020a0383166122ee576122e98161238c565b612311565b81600160a060020a031683600160a060020a0316146123115761231183826123d0565b600160a060020a03821661232d576123288161246d565b6109b3565b82600160a060020a031682600160a060020a0316146109b3576109b3828261254f565b61235a8383612593565b612367600084848461218d565b6109b35760405160e560020a62461bcd0281526004016108ae90612e6d565b3b151590565b600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b600060016123dd84610ece565b6123e79190613865565b60008381526007602052604090205490915080821461243a57600160a060020a03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b506000918252600760209081526040808420849055600160a060020a039094168352600681528383209183525290812055565b60085460009061247f90600190613865565b600083815260096020526040812054600880549394509092849081106124b85760e060020a634e487b7102600052603260045260246000fd5b9060005260206000200154905080600883815481106124ea5760e060020a634e487b7102600052603260045260246000fd5b60009182526020808320909101929092558281526009909152604080822084905585825281205560088054806125335760e060020a634e487b7102600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b600061255a83610ece565b600160a060020a039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b600160a060020a0382166125bc5760405160e560020a62461bcd0281526004016108ae906133b4565b6125c5816118d9565b156125e55760405160e560020a62461bcd0281526004016108ae90612f27565b6125f16000838361212c565b600160a060020a038216600090815260036020526040812080546001929061261a90849061381a565b9091555050600081815260026020526040808220805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b828054612691906138a8565b90600052602060002090601f0160209004810192826126b357600085556126f9565b82601f106126cc57805160ff19168380011785556126f9565b828001600101855582156126f9579182015b828111156126f95782518255916020019190600101906126de565b50612705929150612709565b5090565b5b80821115612705576000815560010161270a565b600067ffffffffffffffff8084111561273957612739613947565b604051601f8501601f19168101602001828111828210171561275d5761275d613947565b60405284815291508183850186101561277557600080fd5b8484602083013760006020868301015250509392505050565b600082601f83011261279e578081fd5b6127ad8383356020850161271e565b9392505050565b6000602082840312156127c5578081fd5b81356127ad81613960565b6000602082840312156127e1578081fd5b81516127ad81613960565b600080604083850312156127fe578081fd5b823561280981613960565b9150602083013561281981613960565b809150509250929050565b600080600060608486031215612838578081fd5b833561284381613960565b9250602084013561285381613960565b929592945050506040919091013590565b60008060008060808587031215612879578081fd5b843561288481613960565b9350602085013561289481613960565b925060408501359150606085013567ffffffffffffffff8111156128b6578182fd5b8501601f810187136128c6578182fd5b6128d58782356020840161271e565b91505092959194509250565b600080604083850312156128f3578182fd5b82356128fe81613960565b9150602083013561281981613975565b60008060408385031215612920578182fd5b823561292b81613960565b946020939093013593505050565b60006020828403121561294a578081fd5b81356127ad81613975565b600060208284031215612966578081fd5b81516127ad81613975565b600060208284031215612982578081fd5b81356127ad81613983565b60006020828403121561299e578081fd5b81516127ad81613983565b600080604083850312156129bb578182fd5b823567ffffffffffffffff808211156129d2578384fd5b6129de8683870161278e565b935060208501359150808211156129f3578283fd5b50612a008582860161278e565b9150509250929050565b600060808284031215612a1b578081fd5b6040516080810181811067ffffffffffffffff82111715612a3e57612a3e613947565b8060405250823581526020830135602082015260408301356040820152606083013560ff81168114612a6e578283fd5b60608201529392505050565b600060208284031215612a8b578081fd5b5035919050565b600060208284031215612aa3578081fd5b5051919050565b6000806000838503610100811215612ac0578182fd5b843593506060601f1982011215612ad5578182fd5b6020850192506080607f1982011215612aec578182fd5b506080840190509250925092565b60008151808452612b1281602086016020860161387c565b601f01601f19169290920160200192915050565b805460009060028104600180831680612b4057607f831692505b6020808410821415612b635760e060020a634e487b710286526022600452602486fd5b818015612b775760018114612b8857612bb5565b60ff19861689528489019650612bb5565b612b918861380e565b60005b86811015612bad5781548b820152908501908301612b94565b505084890196505b50505050505092915050565b6000612bcd8286612b26565b8451612bdd81836020890161387c565b612be981830186612b26565b979650505050505050565b600160a060020a0391909116815260200190565b6000600160a060020a03808716835280861660208401525083604083015260806060830152612c3a6080830184612afa565b9695505050505050565b600160a060020a03929092168252602082015260400190565b901515815260200190565b90815260200190565b6000858252846020830152600160a060020a038416604083015260806060830152612c3a6080830184612afa565b93845260ff9290921660208401526040830152606082015260800190565b600160e060020a0319841681526020810183905260a081018235612ce081613960565b600160a060020a0381166040840152506020830135606083015260408301356080830152949350505050565b6000602082526127ad6020830184612afa565b60208082526023908201527f576974686472617761626c653a2063616e6e6f7420776974686472617720302060408201527f4554480000000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526021908201527f4b6174616e614e46543a2073656e646572206e6f742077686974656c6973746560408201527f6400000000000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526014908201527f5061757361626c653a206e6f7420706175736564000000000000000000000000604082015260600190565b6020808252602b908201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560408201527f74206f6620626f756e6473000000000000000000000000000000000000000000606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527f63656976657220696d706c656d656e7465720000000000000000000000000000606082015260800190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201527f6464726573730000000000000000000000000000000000000000000000000000606082015260800190565b6020808252601c908201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604082015260600190565b60208082526021908201527f4b6174616e614e46543a2065786365656473206d6178206d696e74206c696d6960408201527f7400000000000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526025908201527f576974686472617761626c653a2063616e6e6f7420776974686472617720302060408201527f4552433230000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526024908201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460408201527f7265737300000000000000000000000000000000000000000000000000000000606082015260800190565b6020808252601d908201527f4b6174616e614e46543a20496e76616c69642065746820616d6f756e74000000604082015260600190565b60208082526019908201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604082015260600190565b6020808252602c908201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860408201527f697374656e7420746f6b656e0000000000000000000000000000000000000000606082015260800190565b60208082526028908201527f4b6174616e614e46543a2077686974656c6973742073616c65206861736e277460408201527f2073746172746564000000000000000000000000000000000000000000000000606082015260800190565b6020808252818101527f5369676e61626c653a207369676e617475726520616c72656164792075736564604082015260600190565b6020808252601d908201527f4b6174616e614e46543a2065786365656473206d617820737570706c79000000604082015260600190565b60208082526010908201527f5061757361626c653a2070617573656400000000000000000000000000000000604082015260600190565b60208082526025908201527f4b6174616e614e46543a207075626c69632073616c65206861736e277420737460408201527f6172746564000000000000000000000000000000000000000000000000000000606082015260800190565b60208082526038908201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760408201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606082015260800190565b6020808252602a908201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560408201527f726f206164647265737300000000000000000000000000000000000000000000606082015260800190565b60208082526029908201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460408201527f656e7420746f6b656e0000000000000000000000000000000000000000000000606082015260800190565b6020808252818101527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604082015260600190565b6020808252601b908201527f5369676e61626c653a20696e76616c6964207369676e61747572650000000000604082015260600190565b6020808252601f908201527f4b6174616e614e46543a207472616e7366657273206172652070617573656400604082015260600190565b6020808252602c908201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860408201527f697374656e7420746f6b656e0000000000000000000000000000000000000000606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526029908201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960408201527f73206e6f74206f776e0000000000000000000000000000000000000000000000606082015260800190565b6020808252602f908201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60408201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000606082015260800190565b60208082526021908201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560408201527f7200000000000000000000000000000000000000000000000000000000000000606082015260800190565b6020808252818101527f5369676e61626c653a207369676e6572206e6f7420696e697469616c69736564604082015260600190565b6020808252601d908201527f4b6174616e614e46543a20696e76616c69642065746820616d6f756e74000000604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60408201527f776e6572206e6f7220617070726f766564000000000000000000000000000000606082015260800190565b6020808252602c908201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60408201527f7574206f6620626f756e64730000000000000000000000000000000000000000606082015260800190565b60208082526030908201527f576974686472617761626c653a207a65726f2061646472657373206973206e6f60408201527f7420616e20455243323020746f6b656e00000000000000000000000000000000606082015260800190565b6020808252602d908201527f576974686472617761626c653a2063616e6e6f7420776974686472617720746f60408201527f207a65726f206164647265737300000000000000000000000000000000000000606082015260800190565b81518152602080830151908201526040808301519082015260609182015160ff169181019190915260800190565b60009081526020902090565b6000821982111561382d5761382d613915565b500190565b6000826138415761384161392e565b500490565b600081600019048311821515161561386057613860613915565b500290565b60008282101561387757613877613915565b500390565b60005b8381101561389757818101518382015260200161387f565b838111156116e95750506000910152565b6002810460018216806138bc57607f821691505b602082108114156138e05760e060020a634e487b7102600052602260045260246000fd5b50919050565b60006000198214156138fa576138fa613915565b5060010190565b6000826139105761391061392e565b500690565b60e060020a634e487b7102600052601160045260246000fd5b60e060020a634e487b7102600052601260045260246000fd5b60e060020a634e487b7102600052604160045260246000fd5b600160a060020a0381168114610d5757600080fd5b8015158114610d5757600080fd5b600160e060020a031981168114610d5757600080fdfea2646970667358221220c65b51553fa1b69f02f1eae290fff807d65f3a1e4ff511fdfd5affebb620ffb664736f6c63430008000033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b024b0d2fa51e56ea7ad4bbe179df23c7b7a826700000000000000000000000000000000000000000000000000000000000001e000000000000000000000000000000000000000000000000000000000000002200000000000000000000000000000000000000000000000000000000000002710000000000000000000000000000000000000000000000000016345785d8a000000000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000062305590000000000000000000000000000000000000000000000000000000006231a710000000000000000000000000000000000000000000000000000000000000026000000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000002e000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000114b6174616e6120496e752054616b657275000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000454414b4100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003168747470733a2f2f6d696e742e6b6174616e61696e752e636f6d2f6170692f6b6174616e612d696e752d74616b6572752f000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : params (tuple): System.Collections.Generic.List`1[Nethereum.ABI.FunctionEncoding.ParameterOutput]
-----Encoded View---------------
26 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [2] : 000000000000000000000000b024b0d2fa51e56ea7ad4bbe179df23c7b7a8267
Arg [3] : 00000000000000000000000000000000000000000000000000000000000001e0
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000220
Arg [5] : 0000000000000000000000000000000000000000000000000000000000002710
Arg [6] : 000000000000000000000000000000000000000000000000016345785d8a0000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [8] : 0000000000000000000000000000000000000000000000000000000062305590
Arg [9] : 000000000000000000000000000000000000000000000000000000006231a710
Arg [10] : 0000000000000000000000000000000000000000000000000000000000000260
Arg [11] : 00000000000000000000000000000000000000000000000000000000000002c0
Arg [12] : 00000000000000000000000000000000000000000000000000000000000002e0
Arg [13] : 0000000000000000000000000000000000000000000000000000000000000300
Arg [14] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [15] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [16] : 0000000000000000000000000000000000000000000000000000000000000011
Arg [17] : 4b6174616e6120496e752054616b657275000000000000000000000000000000
Arg [18] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [19] : 54414b4100000000000000000000000000000000000000000000000000000000
Arg [20] : 0000000000000000000000000000000000000000000000000000000000000031
Arg [21] : 68747470733a2f2f6d696e742e6b6174616e61696e752e636f6d2f6170692f6b
Arg [22] : 6174616e612d696e752d74616b6572752f000000000000000000000000000000
Arg [23] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [24] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [25] : 0000000000000000000000000000000000000000000000000000000000000000
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.