Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
20 AKACHANFRIENDS
Holders
19
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 AKACHANFRIENDSLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
AkaChanFriendsByAnata
Compiler Version
v0.8.17+commit.8df45f5f
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { 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 (last updated v4.7.0) (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 Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { _requireNotPaused(); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { _requirePaused(); _; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Throws if the contract is paused. */ function _requireNotPaused() internal view virtual { require(!paused(), "Pausable: paused"); } /** * @dev Throws if the contract is not paused. */ function _requirePaused() internal view virtual { require(paused(), "Pausable: not paused"); } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: address zero is not a valid owner"); 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: invalid token ID"); 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) { _requireMinted(tokenId); 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 overridden 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 token owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { _requireMinted(tokenId); 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: caller is not token 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: caller is not token 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) { address owner = ERC721.ownerOf(tokenId); return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); _afterTokenTransfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); _afterTokenTransfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); _afterTokenTransfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits an {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 an {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 Reverts if the `tokenId` has not been minted yet. */ function _requireMinted(uint256 tokenId) internal view virtual { require(_exists(tokenId), "ERC721: invalid token ID"); } /** * @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 { /// @solidity memory-safe-assembly assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/extensions/ERC721Burnable.sol) pragma solidity ^0.8.0; import "../ERC721.sol"; import "../../../utils/Context.sol"; /** * @title ERC721 Burnable Token * @dev ERC721 Token that can be burned (destroyed). */ abstract contract ERC721Burnable is Context, ERC721 { /** * @dev Burns `tokenId`. See {ERC721-_burn}. * * Requirements: * * - The caller must own `tokenId` or be an approved operator. */ function burn(uint256 tokenId) public virtual { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner nor approved"); _burn(tokenId); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (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`. * * 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; /** * @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 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 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 the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @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); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (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 `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @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); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.17; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/security/Pausable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Burnable.sol"; contract AkaChanFriendsByAnata is ERC721, Pausable, Ownable { // ERC-2981: NFT Royalty Standard bytes4 private constant _INTERFACE_ID_ERC2981 = 0x2a55205a; uint256 public immutable pausableCutoffTime; bool public tokenBaseURILocked; bool public mintingLocked; string public tokenBaseURI; uint256 public totalSupply; address public royaltyReceipientAddress; uint256 public royaltyPercentageBasisPoints; error TokenBaseURILocked(); error PausableCutoffTimePassed(); error NotSupported(); error MintingLocked(); constructor( uint256 pausableCutoffTime_, string memory tokenBaseURI_, address royaltyReceipientAddress_, uint256 royaltyPercentageBasisPoints_ ) ERC721("Aka-Chan Friends by Anata", "AKACHANFRIENDS") { pausableCutoffTime = pausableCutoffTime_; tokenBaseURI = tokenBaseURI_; royaltyReceipientAddress = royaltyReceipientAddress_; royaltyPercentageBasisPoints = royaltyPercentageBasisPoints_; } function pause() external onlyOwner { if (block.timestamp > pausableCutoffTime) { revert PausableCutoffTimePassed(); } _pause(); } function unpause() external onlyOwner { _unpause(); } function lockTokenBaseURI() external onlyOwner { if (tokenBaseURILocked) { revert TokenBaseURILocked(); } tokenBaseURILocked = true; } function lockMinting() external onlyOwner { if (mintingLocked) { revert MintingLocked(); } mintingLocked = true; } function setTokenBaseURI(string calldata tokenBaseURI_) external onlyOwner { if (tokenBaseURILocked) { revert TokenBaseURILocked(); } tokenBaseURI = tokenBaseURI_; } function setRoyaltyPercentageBasisPoints( uint256 royaltyPercentageBasisPoints_ ) external onlyOwner { royaltyPercentageBasisPoints = royaltyPercentageBasisPoints_; } function setRoyaltyReceipientAddress( address payable royaltyReceipientAddress_ ) external onlyOwner { royaltyReceipientAddress = royaltyReceipientAddress_; } function _baseURI() internal view override returns (string memory) { return tokenBaseURI; } function tokenURI(uint256 tokenId) public view override returns (string memory) { require( _exists(tokenId), "ERC721Metadata: URI query for nonexistent token" ); return string(abi.encodePacked(super.tokenURI(tokenId), ".json")); } function batchMint(address[] calldata recipients_) external onlyOwner { if (mintingLocked) { revert MintingLocked(); } uint256 tmpTotalSupply = totalSupply; for (uint256 i = 0; i < recipients_.length; i++) { // Tokens are 1-indexed. tmpTotalSupply += 1; _safeMint(recipients_[i], tmpTotalSupply); } totalSupply = tmpTotalSupply; } function royaltyInfo(uint256 tokenId_, uint256 salePrice_) external view returns (address receiver, uint256 royaltyAmount) { uint256 royalty = (salePrice_ * royaltyPercentageBasisPoints) / 10000; return (royaltyReceipientAddress, royalty); } function supportsInterface(bytes4 interfaceId) public view override(ERC721) returns (bool) { return interfaceId == _INTERFACE_ID_ERC2981 || super.supportsInterface(interfaceId); } function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal override(ERC721) whenNotPaused { super._beforeTokenTransfer(from, to, tokenId); } // reverts if receiving any eth directly receive() external payable { revert NotSupported(); } // fallback function fallback() external { revert NotSupported(); } }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"uint256","name":"pausableCutoffTime_","type":"uint256"},{"internalType":"string","name":"tokenBaseURI_","type":"string"},{"internalType":"address","name":"royaltyReceipientAddress_","type":"address"},{"internalType":"uint256","name":"royaltyPercentageBasisPoints_","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"MintingLocked","type":"error"},{"inputs":[],"name":"NotSupported","type":"error"},{"inputs":[],"name":"PausableCutoffTimePassed","type":"error"},{"inputs":[],"name":"TokenBaseURILocked","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":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"},{"stateMutability":"nonpayable","type":"fallback"},{"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":"address[]","name":"recipients_","type":"address[]"}],"name":"batchMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lockMinting","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"lockTokenBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mintingLocked","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pausableCutoffTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId_","type":"uint256"},{"internalType":"uint256","name":"salePrice_","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"royaltyAmount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"royaltyPercentageBasisPoints","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"royaltyReceipientAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","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":"uint256","name":"royaltyPercentageBasisPoints_","type":"uint256"}],"name":"setRoyaltyPercentageBasisPoints","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"royaltyReceipientAddress_","type":"address"}],"name":"setRoyaltyReceipientAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"tokenBaseURI_","type":"string"}],"name":"setTokenBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenBaseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenBaseURILocked","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60a06040523480156200001157600080fd5b50604051620042e5380380620042e5833981810160405281019062000037919062000471565b6040518060400160405280601981526020017f416b612d4368616e20467269656e647320627920416e617461000000000000008152506040518060400160405280600e81526020017f414b414348414e465249454e44530000000000000000000000000000000000008152508160009081620000b4919062000743565b508060019081620000c6919062000743565b5050506000600660006101000a81548160ff02191690831515021790555062000104620000f86200017060201b60201c565b6200017860201b60201c565b836080818152505082600790816200011d919062000743565b5081600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600a81905550505050506200082a565b600033905090565b6000600660019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000604051905090565b600080fd5b600080fd5b6000819050919050565b620002678162000252565b81146200027357600080fd5b50565b60008151905062000287816200025c565b92915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b620002e28262000297565b810181811067ffffffffffffffff82111715620003045762000303620002a8565b5b80604052505050565b6000620003196200023e565b9050620003278282620002d7565b919050565b600067ffffffffffffffff8211156200034a5762000349620002a8565b5b620003558262000297565b9050602081019050919050565b60005b838110156200038257808201518184015260208101905062000365565b60008484015250505050565b6000620003a56200039f846200032c565b6200030d565b905082815260208101848484011115620003c457620003c362000292565b5b620003d184828562000362565b509392505050565b600082601f830112620003f157620003f06200028d565b5b8151620004038482602086016200038e565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600062000439826200040c565b9050919050565b6200044b816200042c565b81146200045757600080fd5b50565b6000815190506200046b8162000440565b92915050565b600080600080608085870312156200048e576200048d62000248565b5b60006200049e8782880162000276565b945050602085015167ffffffffffffffff811115620004c257620004c16200024d565b5b620004d087828801620003d9565b9350506040620004e3878288016200045a565b9250506060620004f68782880162000276565b91505092959194509250565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200055557607f821691505b6020821081036200056b576200056a6200050d565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620005d57fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8262000596565b620005e1868362000596565b95508019841693508086168417925050509392505050565b6000819050919050565b6000620006246200061e620006188462000252565b620005f9565b62000252565b9050919050565b6000819050919050565b620006408362000603565b620006586200064f826200062b565b848454620005a3565b825550505050565b600090565b6200066f62000660565b6200067c81848462000635565b505050565b5b81811015620006a4576200069860008262000665565b60018101905062000682565b5050565b601f821115620006f357620006bd8162000571565b620006c88462000586565b81016020851015620006d8578190505b620006f0620006e78562000586565b83018262000681565b50505b505050565b600082821c905092915050565b60006200071860001984600802620006f8565b1980831691505092915050565b600062000733838362000705565b9150826002028217905092915050565b6200074e8262000502565b67ffffffffffffffff8111156200076a5762000769620002a8565b5b6200077682546200053c565b62000783828285620006a8565b600060209050601f831160018114620007bb5760008415620007a6578287015190505b620007b2858262000725565b86555062000822565b601f198416620007cb8662000571565b60005b82811015620007f557848901518255600182019150602085019450602081019050620007ce565b8683101562000815578489015162000811601f89168262000705565b8355505b6001600288020188555050505b505050505050565b608051613a986200084d60003960008181610e470152610edf0152613a986000f3fe6080604052600436106101f15760003560e01c806370a082311161010d57806395d89b41116100a0578063c87b56dd1161006f578063c87b56dd14610704578063d67b06c114610741578063e042e98c1461076a578063e985e9c514610793578063f2fde38b146107d057610228565b806395d89b411461065c5780639dd3417c14610687578063a22cb465146106b2578063b88d4fde146106db57610228565b80638456cb59116100dc5780638456cb59146105c657806389852715146105dd5780638da5cb5b146106085780638ef79e911461063357610228565b806370a0823114610530578063715018a61461056d5780637d9b2b8b1461058457806382776b9c146105af57610228565b806323b872dd11610185578063453709811161015457806345370981146104725780634e99b8001461049d5780635c975abb146104c85780636352211e146104f357610228565b806323b872dd146103cb5780632a55205a146103f45780633f4ba83a1461043257806342842e0e1461044957610228565b8063095ea7b3116101c1578063095ea7b3146103355780630d7982ad1461035e5780630fc50ebb1461037557806318160ddd146103a057610228565b80629ee39c1461026757806301ffc9a71461029057806306fdde03146102cd578063081812fc146102f857610228565b36610228576040517fa038794000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b34801561023457600080fd5b506040517fa038794000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b34801561027357600080fd5b5061028e60048036038101906102899190612467565b6107f9565b005b34801561029c57600080fd5b506102b760048036038101906102b291906124ec565b610845565b6040516102c49190612534565b60405180910390f35b3480156102d957600080fd5b506102e26108a6565b6040516102ef91906125df565b60405180910390f35b34801561030457600080fd5b5061031f600480360381019061031a9190612637565b610938565b60405161032c9190612685565b60405180910390f35b34801561034157600080fd5b5061035c600480360381019061035791906126cc565b61097e565b005b34801561036a57600080fd5b50610373610a95565b005b34801561038157600080fd5b5061038a610b01565b6040516103979190612534565b60405180910390f35b3480156103ac57600080fd5b506103b5610b14565b6040516103c2919061271b565b60405180910390f35b3480156103d757600080fd5b506103f260048036038101906103ed9190612736565b610b1a565b005b34801561040057600080fd5b5061041b60048036038101906104169190612789565b610b7a565b6040516104299291906127c9565b60405180910390f35b34801561043e57600080fd5b50610447610bcc565b005b34801561045557600080fd5b50610470600480360381019061046b9190612736565b610bde565b005b34801561047e57600080fd5b50610487610bfe565b6040516104949190612685565b60405180910390f35b3480156104a957600080fd5b506104b2610c24565b6040516104bf91906125df565b60405180910390f35b3480156104d457600080fd5b506104dd610cb2565b6040516104ea9190612534565b60405180910390f35b3480156104ff57600080fd5b5061051a60048036038101906105159190612637565b610cc9565b6040516105279190612685565b60405180910390f35b34801561053c57600080fd5b50610557600480360381019061055291906127f2565b610d7a565b604051610564919061271b565b60405180910390f35b34801561057957600080fd5b50610582610e31565b005b34801561059057600080fd5b50610599610e45565b6040516105a6919061271b565b60405180910390f35b3480156105bb57600080fd5b506105c4610e69565b005b3480156105d257600080fd5b506105db610ed5565b005b3480156105e957600080fd5b506105f2610f41565b6040516105ff9190612534565b60405180910390f35b34801561061457600080fd5b5061061d610f54565b60405161062a9190612685565b60405180910390f35b34801561063f57600080fd5b5061065a60048036038101906106559190612884565b610f7e565b005b34801561066857600080fd5b50610671610fe3565b60405161067e91906125df565b60405180910390f35b34801561069357600080fd5b5061069c611075565b6040516106a9919061271b565b60405180910390f35b3480156106be57600080fd5b506106d960048036038101906106d491906128fd565b61107b565b005b3480156106e757600080fd5b5061070260048036038101906106fd9190612a6d565b611091565b005b34801561071057600080fd5b5061072b60048036038101906107269190612637565b6110f3565b60405161073891906125df565b60405180910390f35b34801561074d57600080fd5b5061076860048036038101906107639190612b46565b61116c565b005b34801561077657600080fd5b50610791600480360381019061078c9190612637565b611230565b005b34801561079f57600080fd5b506107ba60048036038101906107b59190612b93565b611242565b6040516107c79190612534565b60405180910390f35b3480156107dc57600080fd5b506107f760048036038101906107f291906127f2565b6112d6565b005b610801611359565b80600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000632a55205a60e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061089f575061089e826113d7565b5b9050919050565b6060600080546108b590612c02565b80601f01602080910402602001604051908101604052809291908181526020018280546108e190612c02565b801561092e5780601f106109035761010080835404028352916020019161092e565b820191906000526020600020905b81548152906001019060200180831161091157829003601f168201915b5050505050905090565b6000610943826114b9565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061098982610cc9565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036109f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109f090612ca5565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610a18611504565b73ffffffffffffffffffffffffffffffffffffffff161480610a475750610a4681610a41611504565b611242565b5b610a86576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a7d90612d37565b60405180910390fd5b610a90838361150c565b505050565b610a9d611359565b600660169054906101000a900460ff1615610ae4576040517f4997a17100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600660166101000a81548160ff021916908315150217905550565b600660169054906101000a900460ff1681565b60085481565b610b2b610b25611504565b826115c5565b610b6a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b6190612dc9565b60405180910390fd5b610b7583838361165a565b505050565b6000806000612710600a5485610b909190612e18565b610b9a9190612e89565b9050600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168192509250509250929050565b610bd4611359565b610bdc6118c0565b565b610bf983838360405180602001604052806000815250611091565b505050565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60078054610c3190612c02565b80601f0160208091040260200160405190810160405280929190818152602001828054610c5d90612c02565b8015610caa5780601f10610c7f57610100808354040283529160200191610caa565b820191906000526020600020905b815481529060010190602001808311610c8d57829003601f168201915b505050505081565b6000600660009054906101000a900460ff16905090565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610d71576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d6890612f06565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610dea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610de190612f98565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610e39611359565b610e436000611923565b565b7f000000000000000000000000000000000000000000000000000000000000000081565b610e71611359565b600660159054906101000a900460ff1615610eb8576040517fb620a98300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600660156101000a81548160ff021916908315150217905550565b610edd611359565b7f0000000000000000000000000000000000000000000000000000000000000000421115610f37576040517f14fa6bbb00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610f3f6119e9565b565b600660159054906101000a900460ff1681565b6000600660019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b610f86611359565b600660159054906101000a900460ff1615610fcd576040517fb620a98300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b818160079182610fde92919061316f565b505050565b606060018054610ff290612c02565b80601f016020809104026020016040519081016040528092919081815260200182805461101e90612c02565b801561106b5780601f106110405761010080835404028352916020019161106b565b820191906000526020600020905b81548152906001019060200180831161104e57829003601f168201915b5050505050905090565b600a5481565b61108d611086611504565b8383611a4c565b5050565b6110a261109c611504565b836115c5565b6110e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110d890612dc9565b60405180910390fd5b6110ed84848484611bb8565b50505050565b60606110fe82611c14565b61113d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611134906132b1565b60405180910390fd5b61114682611c80565b6040516020016111569190613359565b6040516020818303038152906040529050919050565b611174611359565b600660169054906101000a900460ff16156111bb576040517f4997a17100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000600854905060005b83839050811015611223576001826111dd919061337b565b91506112108484838181106111f5576111f46133af565b5b905060200201602081019061120a91906127f2565b83611ce8565b808061121b906133de565b9150506111c5565b5080600881905550505050565b611238611359565b80600a8190555050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6112de611359565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361134d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161134490613498565b60405180910390fd5b61135681611923565b50565b611361611504565b73ffffffffffffffffffffffffffffffffffffffff1661137f610f54565b73ffffffffffffffffffffffffffffffffffffffff16146113d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113cc90613504565b60405180910390fd5b565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806114a257507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806114b257506114b182611d06565b5b9050919050565b6114c281611c14565b611501576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114f890612f06565b60405180910390fd5b50565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661157f83610cc9565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000806115d183610cc9565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061161357506116128185611242565b5b8061165157508373ffffffffffffffffffffffffffffffffffffffff1661163984610938565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661167a82610cc9565b73ffffffffffffffffffffffffffffffffffffffff16146116d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116c790613596565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361173f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161173690613628565b60405180910390fd5b61174a838383611d70565b61175560008261150c565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546117a59190613648565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546117fc919061337b565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46118bb838383611d88565b505050565b6118c8611d8d565b6000600660006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa61190c611504565b6040516119199190612685565b60405180910390a1565b6000600660019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6119f1611dd6565b6001600660006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611a35611504565b604051611a429190612685565b60405180910390a1565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611aba576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ab1906136c8565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611bab9190612534565b60405180910390a3505050565b611bc384848461165a565b611bcf84848484611e20565b611c0e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c059061375a565b60405180910390fd5b50505050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b6060611c8b826114b9565b6000611c95611fa7565b90506000815111611cb55760405180602001604052806000815250611ce0565b80611cbf84612039565b604051602001611cd092919061377a565b6040516020818303038152906040525b915050919050565b611d02828260405180602001604052806000815250612199565b5050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b611d78611dd6565b611d838383836121f4565b505050565b505050565b611d95610cb2565b611dd4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dcb906137ea565b60405180910390fd5b565b611dde610cb2565b15611e1e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e1590613856565b60405180910390fd5b565b6000611e418473ffffffffffffffffffffffffffffffffffffffff166121f9565b15611f9a578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02611e6a611504565b8786866040518563ffffffff1660e01b8152600401611e8c94939291906138cb565b6020604051808303816000875af1925050508015611ec857506040513d601f19601f82011682018060405250810190611ec5919061392c565b60015b611f4a573d8060008114611ef8576040519150601f19603f3d011682016040523d82523d6000602084013e611efd565b606091505b506000815103611f42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f399061375a565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050611f9f565b600190505b949350505050565b606060078054611fb690612c02565b80601f0160208091040260200160405190810160405280929190818152602001828054611fe290612c02565b801561202f5780601f106120045761010080835404028352916020019161202f565b820191906000526020600020905b81548152906001019060200180831161201257829003601f168201915b5050505050905090565b606060008203612080576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612194565b600082905060005b600082146120b257808061209b906133de565b915050600a826120ab9190612e89565b9150612088565b60008167ffffffffffffffff8111156120ce576120cd612942565b5b6040519080825280601f01601f1916602001820160405280156121005781602001600182028036833780820191505090505b5090505b6000851461218d576001826121199190613648565b9150600a856121289190613959565b6030612134919061337b565b60f81b81838151811061214a576121496133af565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856121869190612e89565b9450612104565b8093505050505b919050565b6121a3838361221c565b6121b06000848484611e20565b6121ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121e69061375a565b60405180910390fd5b505050565b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361228b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612282906139d6565b60405180910390fd5b61229481611c14565b156122d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122cb90613a42565b60405180910390fd5b6122e060008383611d70565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612330919061337b565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46123f160008383611d88565b5050565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061243482612409565b9050919050565b61244481612429565b811461244f57600080fd5b50565b6000813590506124618161243b565b92915050565b60006020828403121561247d5761247c6123ff565b5b600061248b84828501612452565b91505092915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6124c981612494565b81146124d457600080fd5b50565b6000813590506124e6816124c0565b92915050565b600060208284031215612502576125016123ff565b5b6000612510848285016124d7565b91505092915050565b60008115159050919050565b61252e81612519565b82525050565b60006020820190506125496000830184612525565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561258957808201518184015260208101905061256e565b60008484015250505050565b6000601f19601f8301169050919050565b60006125b18261254f565b6125bb818561255a565b93506125cb81856020860161256b565b6125d481612595565b840191505092915050565b600060208201905081810360008301526125f981846125a6565b905092915050565b6000819050919050565b61261481612601565b811461261f57600080fd5b50565b6000813590506126318161260b565b92915050565b60006020828403121561264d5761264c6123ff565b5b600061265b84828501612622565b91505092915050565b600061266f82612409565b9050919050565b61267f81612664565b82525050565b600060208201905061269a6000830184612676565b92915050565b6126a981612664565b81146126b457600080fd5b50565b6000813590506126c6816126a0565b92915050565b600080604083850312156126e3576126e26123ff565b5b60006126f1858286016126b7565b925050602061270285828601612622565b9150509250929050565b61271581612601565b82525050565b6000602082019050612730600083018461270c565b92915050565b60008060006060848603121561274f5761274e6123ff565b5b600061275d868287016126b7565b935050602061276e868287016126b7565b925050604061277f86828701612622565b9150509250925092565b600080604083850312156127a05761279f6123ff565b5b60006127ae85828601612622565b92505060206127bf85828601612622565b9150509250929050565b60006040820190506127de6000830185612676565b6127eb602083018461270c565b9392505050565b600060208284031215612808576128076123ff565b5b6000612816848285016126b7565b91505092915050565b600080fd5b600080fd5b600080fd5b60008083601f8401126128445761284361281f565b5b8235905067ffffffffffffffff81111561286157612860612824565b5b60208301915083600182028301111561287d5761287c612829565b5b9250929050565b6000806020838503121561289b5761289a6123ff565b5b600083013567ffffffffffffffff8111156128b9576128b8612404565b5b6128c58582860161282e565b92509250509250929050565b6128da81612519565b81146128e557600080fd5b50565b6000813590506128f7816128d1565b92915050565b60008060408385031215612914576129136123ff565b5b6000612922858286016126b7565b9250506020612933858286016128e8565b9150509250929050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61297a82612595565b810181811067ffffffffffffffff8211171561299957612998612942565b5b80604052505050565b60006129ac6123f5565b90506129b88282612971565b919050565b600067ffffffffffffffff8211156129d8576129d7612942565b5b6129e182612595565b9050602081019050919050565b82818337600083830152505050565b6000612a10612a0b846129bd565b6129a2565b905082815260208101848484011115612a2c57612a2b61293d565b5b612a378482856129ee565b509392505050565b600082601f830112612a5457612a5361281f565b5b8135612a648482602086016129fd565b91505092915050565b60008060008060808587031215612a8757612a866123ff565b5b6000612a95878288016126b7565b9450506020612aa6878288016126b7565b9350506040612ab787828801612622565b925050606085013567ffffffffffffffff811115612ad857612ad7612404565b5b612ae487828801612a3f565b91505092959194509250565b60008083601f840112612b0657612b0561281f565b5b8235905067ffffffffffffffff811115612b2357612b22612824565b5b602083019150836020820283011115612b3f57612b3e612829565b5b9250929050565b60008060208385031215612b5d57612b5c6123ff565b5b600083013567ffffffffffffffff811115612b7b57612b7a612404565b5b612b8785828601612af0565b92509250509250929050565b60008060408385031215612baa57612ba96123ff565b5b6000612bb8858286016126b7565b9250506020612bc9858286016126b7565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680612c1a57607f821691505b602082108103612c2d57612c2c612bd3565b5b50919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000612c8f60218361255a565b9150612c9a82612c33565b604082019050919050565b60006020820190508181036000830152612cbe81612c82565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000602082015250565b6000612d21603e8361255a565b9150612d2c82612cc5565b604082019050919050565b60006020820190508181036000830152612d5081612d14565b9050919050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206e6f7220617070726f766564000000000000000000000000000000000000602082015250565b6000612db3602e8361255a565b9150612dbe82612d57565b604082019050919050565b60006020820190508181036000830152612de281612da6565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000612e2382612601565b9150612e2e83612601565b9250828202612e3c81612601565b91508282048414831517612e5357612e52612de9565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000612e9482612601565b9150612e9f83612601565b925082612eaf57612eae612e5a565b5b828204905092915050565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b6000612ef060188361255a565b9150612efb82612eba565b602082019050919050565b60006020820190508181036000830152612f1f81612ee3565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b6000612f8260298361255a565b9150612f8d82612f26565b604082019050919050565b60006020820190508181036000830152612fb181612f75565b9050919050565b600082905092915050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026130257fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82612fe8565b61302f8683612fe8565b95508019841693508086168417925050509392505050565b6000819050919050565b600061306c61306761306284612601565b613047565b612601565b9050919050565b6000819050919050565b61308683613051565b61309a61309282613073565b848454612ff5565b825550505050565b600090565b6130af6130a2565b6130ba81848461307d565b505050565b5b818110156130de576130d36000826130a7565b6001810190506130c0565b5050565b601f821115613123576130f481612fc3565b6130fd84612fd8565b8101602085101561310c578190505b61312061311885612fd8565b8301826130bf565b50505b505050565b600082821c905092915050565b600061314660001984600802613128565b1980831691505092915050565b600061315f8383613135565b9150826002028217905092915050565b6131798383612fb8565b67ffffffffffffffff81111561319257613191612942565b5b61319c8254612c02565b6131a78282856130e2565b6000601f8311600181146131d657600084156131c4578287013590505b6131ce8582613153565b865550613236565b601f1984166131e486612fc3565b60005b8281101561320c578489013582556001820191506020850194506020810190506131e7565b868310156132295784890135613225601f891682613135565b8355505b6001600288020188555050505b50505050505050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b600061329b602f8361255a565b91506132a68261323f565b604082019050919050565b600060208201905081810360008301526132ca8161328e565b9050919050565b600081905092915050565b60006132e78261254f565b6132f181856132d1565b935061330181856020860161256b565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b60006133436005836132d1565b915061334e8261330d565b600582019050919050565b600061336582846132dc565b915061337082613336565b915081905092915050565b600061338682612601565b915061339183612601565b92508282019050808211156133a9576133a8612de9565b5b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60006133e982612601565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361341b5761341a612de9565b5b600182019050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061348260268361255a565b915061348d82613426565b604082019050919050565b600060208201905081810360008301526134b181613475565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006134ee60208361255a565b91506134f9826134b8565b602082019050919050565b6000602082019050818103600083015261351d816134e1565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b600061358060258361255a565b915061358b82613524565b604082019050919050565b600060208201905081810360008301526135af81613573565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b600061361260248361255a565b915061361d826135b6565b604082019050919050565b6000602082019050818103600083015261364181613605565b9050919050565b600061365382612601565b915061365e83612601565b925082820390508181111561367657613675612de9565b5b92915050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b60006136b260198361255a565b91506136bd8261367c565b602082019050919050565b600060208201905081810360008301526136e1816136a5565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b600061374460328361255a565b915061374f826136e8565b604082019050919050565b6000602082019050818103600083015261377381613737565b9050919050565b600061378682856132dc565b915061379282846132dc565b91508190509392505050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b60006137d460148361255a565b91506137df8261379e565b602082019050919050565b60006020820190508181036000830152613803816137c7565b9050919050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b600061384060108361255a565b915061384b8261380a565b602082019050919050565b6000602082019050818103600083015261386f81613833565b9050919050565b600081519050919050565b600082825260208201905092915050565b600061389d82613876565b6138a78185613881565b93506138b781856020860161256b565b6138c081612595565b840191505092915050565b60006080820190506138e06000830187612676565b6138ed6020830186612676565b6138fa604083018561270c565b818103606083015261390c8184613892565b905095945050505050565b600081519050613926816124c0565b92915050565b600060208284031215613942576139416123ff565b5b600061395084828501613917565b91505092915050565b600061396482612601565b915061396f83612601565b92508261397f5761397e612e5a565b5b828206905092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b60006139c060208361255a565b91506139cb8261398a565b602082019050919050565b600060208201905081810360008301526139ef816139b3565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000613a2c601c8361255a565b9150613a37826139f6565b602082019050919050565b60006020820190508181036000830152613a5b81613a1f565b905091905056fea2646970667358221220573f4ace9ed6d39d627d7bdb378d7581a11c55eb4b98732a527991a029df9b9c64736f6c63430008110033000000000000000000000000000000000000000000000000000000006490f0ed0000000000000000000000000000000000000000000000000000000000000080000000000000000000000000bdd5866ad47433433652f3d4297bc2bf2ad2f8a300000000000000000000000000000000000000000000000000000000000001f4000000000000000000000000000000000000000000000000000000000000004068747470733a2f2f617277656176652e6e65742f65484b454f5a66327869434a65676e5945657645337373336676734e423453586e4c5f4142564d4b31476b2f
Deployed Bytecode
0x6080604052600436106101f15760003560e01c806370a082311161010d57806395d89b41116100a0578063c87b56dd1161006f578063c87b56dd14610704578063d67b06c114610741578063e042e98c1461076a578063e985e9c514610793578063f2fde38b146107d057610228565b806395d89b411461065c5780639dd3417c14610687578063a22cb465146106b2578063b88d4fde146106db57610228565b80638456cb59116100dc5780638456cb59146105c657806389852715146105dd5780638da5cb5b146106085780638ef79e911461063357610228565b806370a0823114610530578063715018a61461056d5780637d9b2b8b1461058457806382776b9c146105af57610228565b806323b872dd11610185578063453709811161015457806345370981146104725780634e99b8001461049d5780635c975abb146104c85780636352211e146104f357610228565b806323b872dd146103cb5780632a55205a146103f45780633f4ba83a1461043257806342842e0e1461044957610228565b8063095ea7b3116101c1578063095ea7b3146103355780630d7982ad1461035e5780630fc50ebb1461037557806318160ddd146103a057610228565b80629ee39c1461026757806301ffc9a71461029057806306fdde03146102cd578063081812fc146102f857610228565b36610228576040517fa038794000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b34801561023457600080fd5b506040517fa038794000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b34801561027357600080fd5b5061028e60048036038101906102899190612467565b6107f9565b005b34801561029c57600080fd5b506102b760048036038101906102b291906124ec565b610845565b6040516102c49190612534565b60405180910390f35b3480156102d957600080fd5b506102e26108a6565b6040516102ef91906125df565b60405180910390f35b34801561030457600080fd5b5061031f600480360381019061031a9190612637565b610938565b60405161032c9190612685565b60405180910390f35b34801561034157600080fd5b5061035c600480360381019061035791906126cc565b61097e565b005b34801561036a57600080fd5b50610373610a95565b005b34801561038157600080fd5b5061038a610b01565b6040516103979190612534565b60405180910390f35b3480156103ac57600080fd5b506103b5610b14565b6040516103c2919061271b565b60405180910390f35b3480156103d757600080fd5b506103f260048036038101906103ed9190612736565b610b1a565b005b34801561040057600080fd5b5061041b60048036038101906104169190612789565b610b7a565b6040516104299291906127c9565b60405180910390f35b34801561043e57600080fd5b50610447610bcc565b005b34801561045557600080fd5b50610470600480360381019061046b9190612736565b610bde565b005b34801561047e57600080fd5b50610487610bfe565b6040516104949190612685565b60405180910390f35b3480156104a957600080fd5b506104b2610c24565b6040516104bf91906125df565b60405180910390f35b3480156104d457600080fd5b506104dd610cb2565b6040516104ea9190612534565b60405180910390f35b3480156104ff57600080fd5b5061051a60048036038101906105159190612637565b610cc9565b6040516105279190612685565b60405180910390f35b34801561053c57600080fd5b50610557600480360381019061055291906127f2565b610d7a565b604051610564919061271b565b60405180910390f35b34801561057957600080fd5b50610582610e31565b005b34801561059057600080fd5b50610599610e45565b6040516105a6919061271b565b60405180910390f35b3480156105bb57600080fd5b506105c4610e69565b005b3480156105d257600080fd5b506105db610ed5565b005b3480156105e957600080fd5b506105f2610f41565b6040516105ff9190612534565b60405180910390f35b34801561061457600080fd5b5061061d610f54565b60405161062a9190612685565b60405180910390f35b34801561063f57600080fd5b5061065a60048036038101906106559190612884565b610f7e565b005b34801561066857600080fd5b50610671610fe3565b60405161067e91906125df565b60405180910390f35b34801561069357600080fd5b5061069c611075565b6040516106a9919061271b565b60405180910390f35b3480156106be57600080fd5b506106d960048036038101906106d491906128fd565b61107b565b005b3480156106e757600080fd5b5061070260048036038101906106fd9190612a6d565b611091565b005b34801561071057600080fd5b5061072b60048036038101906107269190612637565b6110f3565b60405161073891906125df565b60405180910390f35b34801561074d57600080fd5b5061076860048036038101906107639190612b46565b61116c565b005b34801561077657600080fd5b50610791600480360381019061078c9190612637565b611230565b005b34801561079f57600080fd5b506107ba60048036038101906107b59190612b93565b611242565b6040516107c79190612534565b60405180910390f35b3480156107dc57600080fd5b506107f760048036038101906107f291906127f2565b6112d6565b005b610801611359565b80600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000632a55205a60e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061089f575061089e826113d7565b5b9050919050565b6060600080546108b590612c02565b80601f01602080910402602001604051908101604052809291908181526020018280546108e190612c02565b801561092e5780601f106109035761010080835404028352916020019161092e565b820191906000526020600020905b81548152906001019060200180831161091157829003601f168201915b5050505050905090565b6000610943826114b9565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061098982610cc9565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036109f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109f090612ca5565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610a18611504565b73ffffffffffffffffffffffffffffffffffffffff161480610a475750610a4681610a41611504565b611242565b5b610a86576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a7d90612d37565b60405180910390fd5b610a90838361150c565b505050565b610a9d611359565b600660169054906101000a900460ff1615610ae4576040517f4997a17100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600660166101000a81548160ff021916908315150217905550565b600660169054906101000a900460ff1681565b60085481565b610b2b610b25611504565b826115c5565b610b6a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b6190612dc9565b60405180910390fd5b610b7583838361165a565b505050565b6000806000612710600a5485610b909190612e18565b610b9a9190612e89565b9050600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168192509250509250929050565b610bd4611359565b610bdc6118c0565b565b610bf983838360405180602001604052806000815250611091565b505050565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60078054610c3190612c02565b80601f0160208091040260200160405190810160405280929190818152602001828054610c5d90612c02565b8015610caa5780601f10610c7f57610100808354040283529160200191610caa565b820191906000526020600020905b815481529060010190602001808311610c8d57829003601f168201915b505050505081565b6000600660009054906101000a900460ff16905090565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610d71576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d6890612f06565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610dea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610de190612f98565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610e39611359565b610e436000611923565b565b7f000000000000000000000000000000000000000000000000000000006490f0ed81565b610e71611359565b600660159054906101000a900460ff1615610eb8576040517fb620a98300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600660156101000a81548160ff021916908315150217905550565b610edd611359565b7f000000000000000000000000000000000000000000000000000000006490f0ed421115610f37576040517f14fa6bbb00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610f3f6119e9565b565b600660159054906101000a900460ff1681565b6000600660019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b610f86611359565b600660159054906101000a900460ff1615610fcd576040517fb620a98300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b818160079182610fde92919061316f565b505050565b606060018054610ff290612c02565b80601f016020809104026020016040519081016040528092919081815260200182805461101e90612c02565b801561106b5780601f106110405761010080835404028352916020019161106b565b820191906000526020600020905b81548152906001019060200180831161104e57829003601f168201915b5050505050905090565b600a5481565b61108d611086611504565b8383611a4c565b5050565b6110a261109c611504565b836115c5565b6110e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110d890612dc9565b60405180910390fd5b6110ed84848484611bb8565b50505050565b60606110fe82611c14565b61113d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611134906132b1565b60405180910390fd5b61114682611c80565b6040516020016111569190613359565b6040516020818303038152906040529050919050565b611174611359565b600660169054906101000a900460ff16156111bb576040517f4997a17100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000600854905060005b83839050811015611223576001826111dd919061337b565b91506112108484838181106111f5576111f46133af565b5b905060200201602081019061120a91906127f2565b83611ce8565b808061121b906133de565b9150506111c5565b5080600881905550505050565b611238611359565b80600a8190555050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6112de611359565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361134d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161134490613498565b60405180910390fd5b61135681611923565b50565b611361611504565b73ffffffffffffffffffffffffffffffffffffffff1661137f610f54565b73ffffffffffffffffffffffffffffffffffffffff16146113d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113cc90613504565b60405180910390fd5b565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806114a257507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806114b257506114b182611d06565b5b9050919050565b6114c281611c14565b611501576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114f890612f06565b60405180910390fd5b50565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661157f83610cc9565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000806115d183610cc9565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061161357506116128185611242565b5b8061165157508373ffffffffffffffffffffffffffffffffffffffff1661163984610938565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661167a82610cc9565b73ffffffffffffffffffffffffffffffffffffffff16146116d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116c790613596565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361173f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161173690613628565b60405180910390fd5b61174a838383611d70565b61175560008261150c565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546117a59190613648565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546117fc919061337b565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46118bb838383611d88565b505050565b6118c8611d8d565b6000600660006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa61190c611504565b6040516119199190612685565b60405180910390a1565b6000600660019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6119f1611dd6565b6001600660006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611a35611504565b604051611a429190612685565b60405180910390a1565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611aba576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ab1906136c8565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611bab9190612534565b60405180910390a3505050565b611bc384848461165a565b611bcf84848484611e20565b611c0e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c059061375a565b60405180910390fd5b50505050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b6060611c8b826114b9565b6000611c95611fa7565b90506000815111611cb55760405180602001604052806000815250611ce0565b80611cbf84612039565b604051602001611cd092919061377a565b6040516020818303038152906040525b915050919050565b611d02828260405180602001604052806000815250612199565b5050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b611d78611dd6565b611d838383836121f4565b505050565b505050565b611d95610cb2565b611dd4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dcb906137ea565b60405180910390fd5b565b611dde610cb2565b15611e1e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e1590613856565b60405180910390fd5b565b6000611e418473ffffffffffffffffffffffffffffffffffffffff166121f9565b15611f9a578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02611e6a611504565b8786866040518563ffffffff1660e01b8152600401611e8c94939291906138cb565b6020604051808303816000875af1925050508015611ec857506040513d601f19601f82011682018060405250810190611ec5919061392c565b60015b611f4a573d8060008114611ef8576040519150601f19603f3d011682016040523d82523d6000602084013e611efd565b606091505b506000815103611f42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f399061375a565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050611f9f565b600190505b949350505050565b606060078054611fb690612c02565b80601f0160208091040260200160405190810160405280929190818152602001828054611fe290612c02565b801561202f5780601f106120045761010080835404028352916020019161202f565b820191906000526020600020905b81548152906001019060200180831161201257829003601f168201915b5050505050905090565b606060008203612080576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612194565b600082905060005b600082146120b257808061209b906133de565b915050600a826120ab9190612e89565b9150612088565b60008167ffffffffffffffff8111156120ce576120cd612942565b5b6040519080825280601f01601f1916602001820160405280156121005781602001600182028036833780820191505090505b5090505b6000851461218d576001826121199190613648565b9150600a856121289190613959565b6030612134919061337b565b60f81b81838151811061214a576121496133af565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856121869190612e89565b9450612104565b8093505050505b919050565b6121a3838361221c565b6121b06000848484611e20565b6121ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121e69061375a565b60405180910390fd5b505050565b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361228b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612282906139d6565b60405180910390fd5b61229481611c14565b156122d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122cb90613a42565b60405180910390fd5b6122e060008383611d70565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612330919061337b565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46123f160008383611d88565b5050565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061243482612409565b9050919050565b61244481612429565b811461244f57600080fd5b50565b6000813590506124618161243b565b92915050565b60006020828403121561247d5761247c6123ff565b5b600061248b84828501612452565b91505092915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6124c981612494565b81146124d457600080fd5b50565b6000813590506124e6816124c0565b92915050565b600060208284031215612502576125016123ff565b5b6000612510848285016124d7565b91505092915050565b60008115159050919050565b61252e81612519565b82525050565b60006020820190506125496000830184612525565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561258957808201518184015260208101905061256e565b60008484015250505050565b6000601f19601f8301169050919050565b60006125b18261254f565b6125bb818561255a565b93506125cb81856020860161256b565b6125d481612595565b840191505092915050565b600060208201905081810360008301526125f981846125a6565b905092915050565b6000819050919050565b61261481612601565b811461261f57600080fd5b50565b6000813590506126318161260b565b92915050565b60006020828403121561264d5761264c6123ff565b5b600061265b84828501612622565b91505092915050565b600061266f82612409565b9050919050565b61267f81612664565b82525050565b600060208201905061269a6000830184612676565b92915050565b6126a981612664565b81146126b457600080fd5b50565b6000813590506126c6816126a0565b92915050565b600080604083850312156126e3576126e26123ff565b5b60006126f1858286016126b7565b925050602061270285828601612622565b9150509250929050565b61271581612601565b82525050565b6000602082019050612730600083018461270c565b92915050565b60008060006060848603121561274f5761274e6123ff565b5b600061275d868287016126b7565b935050602061276e868287016126b7565b925050604061277f86828701612622565b9150509250925092565b600080604083850312156127a05761279f6123ff565b5b60006127ae85828601612622565b92505060206127bf85828601612622565b9150509250929050565b60006040820190506127de6000830185612676565b6127eb602083018461270c565b9392505050565b600060208284031215612808576128076123ff565b5b6000612816848285016126b7565b91505092915050565b600080fd5b600080fd5b600080fd5b60008083601f8401126128445761284361281f565b5b8235905067ffffffffffffffff81111561286157612860612824565b5b60208301915083600182028301111561287d5761287c612829565b5b9250929050565b6000806020838503121561289b5761289a6123ff565b5b600083013567ffffffffffffffff8111156128b9576128b8612404565b5b6128c58582860161282e565b92509250509250929050565b6128da81612519565b81146128e557600080fd5b50565b6000813590506128f7816128d1565b92915050565b60008060408385031215612914576129136123ff565b5b6000612922858286016126b7565b9250506020612933858286016128e8565b9150509250929050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61297a82612595565b810181811067ffffffffffffffff8211171561299957612998612942565b5b80604052505050565b60006129ac6123f5565b90506129b88282612971565b919050565b600067ffffffffffffffff8211156129d8576129d7612942565b5b6129e182612595565b9050602081019050919050565b82818337600083830152505050565b6000612a10612a0b846129bd565b6129a2565b905082815260208101848484011115612a2c57612a2b61293d565b5b612a378482856129ee565b509392505050565b600082601f830112612a5457612a5361281f565b5b8135612a648482602086016129fd565b91505092915050565b60008060008060808587031215612a8757612a866123ff565b5b6000612a95878288016126b7565b9450506020612aa6878288016126b7565b9350506040612ab787828801612622565b925050606085013567ffffffffffffffff811115612ad857612ad7612404565b5b612ae487828801612a3f565b91505092959194509250565b60008083601f840112612b0657612b0561281f565b5b8235905067ffffffffffffffff811115612b2357612b22612824565b5b602083019150836020820283011115612b3f57612b3e612829565b5b9250929050565b60008060208385031215612b5d57612b5c6123ff565b5b600083013567ffffffffffffffff811115612b7b57612b7a612404565b5b612b8785828601612af0565b92509250509250929050565b60008060408385031215612baa57612ba96123ff565b5b6000612bb8858286016126b7565b9250506020612bc9858286016126b7565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680612c1a57607f821691505b602082108103612c2d57612c2c612bd3565b5b50919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000612c8f60218361255a565b9150612c9a82612c33565b604082019050919050565b60006020820190508181036000830152612cbe81612c82565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000602082015250565b6000612d21603e8361255a565b9150612d2c82612cc5565b604082019050919050565b60006020820190508181036000830152612d5081612d14565b9050919050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206e6f7220617070726f766564000000000000000000000000000000000000602082015250565b6000612db3602e8361255a565b9150612dbe82612d57565b604082019050919050565b60006020820190508181036000830152612de281612da6565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000612e2382612601565b9150612e2e83612601565b9250828202612e3c81612601565b91508282048414831517612e5357612e52612de9565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000612e9482612601565b9150612e9f83612601565b925082612eaf57612eae612e5a565b5b828204905092915050565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b6000612ef060188361255a565b9150612efb82612eba565b602082019050919050565b60006020820190508181036000830152612f1f81612ee3565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b6000612f8260298361255a565b9150612f8d82612f26565b604082019050919050565b60006020820190508181036000830152612fb181612f75565b9050919050565b600082905092915050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026130257fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82612fe8565b61302f8683612fe8565b95508019841693508086168417925050509392505050565b6000819050919050565b600061306c61306761306284612601565b613047565b612601565b9050919050565b6000819050919050565b61308683613051565b61309a61309282613073565b848454612ff5565b825550505050565b600090565b6130af6130a2565b6130ba81848461307d565b505050565b5b818110156130de576130d36000826130a7565b6001810190506130c0565b5050565b601f821115613123576130f481612fc3565b6130fd84612fd8565b8101602085101561310c578190505b61312061311885612fd8565b8301826130bf565b50505b505050565b600082821c905092915050565b600061314660001984600802613128565b1980831691505092915050565b600061315f8383613135565b9150826002028217905092915050565b6131798383612fb8565b67ffffffffffffffff81111561319257613191612942565b5b61319c8254612c02565b6131a78282856130e2565b6000601f8311600181146131d657600084156131c4578287013590505b6131ce8582613153565b865550613236565b601f1984166131e486612fc3565b60005b8281101561320c578489013582556001820191506020850194506020810190506131e7565b868310156132295784890135613225601f891682613135565b8355505b6001600288020188555050505b50505050505050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b600061329b602f8361255a565b91506132a68261323f565b604082019050919050565b600060208201905081810360008301526132ca8161328e565b9050919050565b600081905092915050565b60006132e78261254f565b6132f181856132d1565b935061330181856020860161256b565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b60006133436005836132d1565b915061334e8261330d565b600582019050919050565b600061336582846132dc565b915061337082613336565b915081905092915050565b600061338682612601565b915061339183612601565b92508282019050808211156133a9576133a8612de9565b5b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60006133e982612601565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361341b5761341a612de9565b5b600182019050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061348260268361255a565b915061348d82613426565b604082019050919050565b600060208201905081810360008301526134b181613475565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006134ee60208361255a565b91506134f9826134b8565b602082019050919050565b6000602082019050818103600083015261351d816134e1565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b600061358060258361255a565b915061358b82613524565b604082019050919050565b600060208201905081810360008301526135af81613573565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b600061361260248361255a565b915061361d826135b6565b604082019050919050565b6000602082019050818103600083015261364181613605565b9050919050565b600061365382612601565b915061365e83612601565b925082820390508181111561367657613675612de9565b5b92915050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b60006136b260198361255a565b91506136bd8261367c565b602082019050919050565b600060208201905081810360008301526136e1816136a5565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b600061374460328361255a565b915061374f826136e8565b604082019050919050565b6000602082019050818103600083015261377381613737565b9050919050565b600061378682856132dc565b915061379282846132dc565b91508190509392505050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b60006137d460148361255a565b91506137df8261379e565b602082019050919050565b60006020820190508181036000830152613803816137c7565b9050919050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b600061384060108361255a565b915061384b8261380a565b602082019050919050565b6000602082019050818103600083015261386f81613833565b9050919050565b600081519050919050565b600082825260208201905092915050565b600061389d82613876565b6138a78185613881565b93506138b781856020860161256b565b6138c081612595565b840191505092915050565b60006080820190506138e06000830187612676565b6138ed6020830186612676565b6138fa604083018561270c565b818103606083015261390c8184613892565b905095945050505050565b600081519050613926816124c0565b92915050565b600060208284031215613942576139416123ff565b5b600061395084828501613917565b91505092915050565b600061396482612601565b915061396f83612601565b92508261397f5761397e612e5a565b5b828206905092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b60006139c060208361255a565b91506139cb8261398a565b602082019050919050565b600060208201905081810360008301526139ef816139b3565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000613a2c601c8361255a565b9150613a37826139f6565b602082019050919050565b60006020820190508181036000830152613a5b81613a1f565b905091905056fea2646970667358221220573f4ace9ed6d39d627d7bdb378d7581a11c55eb4b98732a527991a029df9b9c64736f6c63430008110033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000006490f0ed0000000000000000000000000000000000000000000000000000000000000080000000000000000000000000bdd5866ad47433433652f3d4297bc2bf2ad2f8a300000000000000000000000000000000000000000000000000000000000001f4000000000000000000000000000000000000000000000000000000000000004068747470733a2f2f617277656176652e6e65742f65484b454f5a66327869434a65676e5945657645337373336676734e423453586e4c5f4142564d4b31476b2f
-----Decoded View---------------
Arg [0] : pausableCutoffTime_ (uint256): 1687220461
Arg [1] : tokenBaseURI_ (string): https://arweave.net/eHKEOZf2xiCJegnYEevE3ss3fvsNB4SXnL_ABVMK1Gk/
Arg [2] : royaltyReceipientAddress_ (address): 0xbdd5866AD47433433652f3D4297bC2bF2ad2F8a3
Arg [3] : royaltyPercentageBasisPoints_ (uint256): 500
-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 000000000000000000000000000000000000000000000000000000006490f0ed
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [2] : 000000000000000000000000bdd5866ad47433433652f3d4297bc2bf2ad2f8a3
Arg [3] : 00000000000000000000000000000000000000000000000000000000000001f4
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [5] : 68747470733a2f2f617277656176652e6e65742f65484b454f5a66327869434a
Arg [6] : 65676e5945657645337373336676734e423453586e4c5f4142564d4b31476b2f
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.