ERC-721
Overview
Max Total Supply
3,390 H5
Holders
1,822
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
2 H5Loading...
Loading
Loading...
Loading
Loading...
Loading
Contract Name:
Deadmau5
Compiler Version
v0.8.0+commit.c7dfd78e
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/Pausable.sol"; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "./ERC2981.sol"; contract Deadmau5 is ERC2981, Ownable, Pausable, ERC721Enumerable { IERC20 public constant WETH = IERC20(0x7ceB23fD6bC0adD59E62ac25578270cFf1b9f619); uint256 public immutable price = 0.15 ether; uint256 public immutable LIMIT_PER_TX = 5; uint256 public immutable presalePrice = 0.15 ether; uint256 public immutable maxSupply = 5555; mapping (address => bool) private _claimed; uint256 private _royaltyFee = 750; //7.5% bytes32 private _merkleRoot; string private _baseTokenURI; constructor( string memory name, string memory symbol, string memory baseTokenURI ) ERC721(name, symbol) Ownable() Pausable() { _baseTokenURI = baseTokenURI; _pause(); } function withdraw(address recipient) onlyOwner public { uint256 balance = WETH.balanceOf(address(this)); require(WETH.transfer(recipient, balance), "WITHDRAW:ERROR WITH WETH TRANSFER"); } modifier forbidContract { require(!Address.isContract(msg.sender), "Contract forbidden from buying"); _; } function setBaseURI(string memory baseTokenURI) onlyOwner public { _baseTokenURI = baseTokenURI; } function setRoyaltyFee(uint256 fee) onlyOwner public { _royaltyFee = fee; } function setMerkleRoot(bytes32 root) onlyOwner public { _merkleRoot = root; } function pauseSale(bool pause) onlyOwner public { if (pause) _pause(); else _unpause(); } function _baseURI() internal view virtual override returns (string memory) { return _baseTokenURI; } function ownerMint(address[] calldata recipients) public onlyOwner { require(totalSupply() + recipients.length <= maxSupply, "OWNER_MINT:MAX SUPPLY REACHED"); for(uint i = 0; i < recipients.length; i++) _mint(recipients[i], totalSupply()); } function presale(bytes32[] calldata proof) public { require(!_claimed[msg.sender], "PRESALE:ALREADY CLAIMED"); require(WETH.transferFrom(msg.sender, address(this), presalePrice), "PRESALE:COULDNT SEND WETH"); _claimed[msg.sender] = true; bytes32 node = keccak256(abi.encodePacked(msg.sender)); require(MerkleProof.verify(proof, _merkleRoot, node), "PRESALE:INVALID PROOF"); _safeMint(msg.sender, totalSupply()); } function mint(uint256 amount) whenNotPaused forbidContract public { require(amount <= LIMIT_PER_TX, "MINT:OVER LIMIT PER TX"); require(totalSupply() + amount <= maxSupply, "MINT:MAX SUPPLY REACHED"); require(WETH.transferFrom(msg.sender, address(this), amount*price), "MINT:INSUFFICIENT WETH"); for(uint i = 0; i < amount; i++) _safeMint(msg.sender, totalSupply()); } function royaltyInfo(uint256 _tokenId, uint256 _salePrice) public override view returns ( address receiver, uint256 royaltyAmount ) { return (owner(), (_salePrice * _royaltyFee) / 10000); } function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal virtual override(ERC721Enumerable) { super._beforeTokenTransfer(from, to, tokenId); } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC721Enumerable, ERC2981) returns (bool) { return super.supportsInterface(interfaceId); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address sender, address recipient, uint256 amount ) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../ERC721.sol"; import "./IERC721Enumerable.sol"; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` cannot be the zero address. * - `to` cannot be the zero address. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual override { super._beforeTokenTransfer(from, to, tokenId); if (from == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = ERC721.balanceOf(from) - 1; uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array delete _ownedTokensIndex[tokenId]; delete _ownedTokens[from][lastTokenIndex]; } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length - 1; uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array delete _allTokensIndex[tokenId]; _allTokens.pop(); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _setOwner(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _setOwner(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ abstract contract Pausable is Context { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ constructor() { _paused = false; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { require(!paused(), "Pausable: paused"); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { require(paused(), "Pausable: not paused"); _; } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Trees proofs. * * The proofs can be generated using the JavaScript library * https://github.com/miguelmota/merkletreejs[merkletreejs]. * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled. * * See `test/utils/cryptography/MerkleProof.test.js` for some examples. */ library MerkleProof { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify( bytes32[] memory proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { bytes32 proofElement = proof[i]; if (computedHash <= proofElement) { // Hash(current computed hash + current element of the proof) computedHash = keccak256(abi.encodePacked(computedHash, proofElement)); } else { // Hash(current element of the proof + current computed hash) computedHash = keccak256(abi.encodePacked(proofElement, computedHash)); } } // Check if the computed hash (root) is equal to the provided root return computedHash == root; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
//SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/interfaces/IERC2981.sol"; import "@openzeppelin/contracts/utils/introspection/ERC165.sol"; abstract contract ERC2981 is IERC2981, ERC165 { function royaltyInfo(uint256 _tokenId,uint256 _salePrice) public override virtual view returns ( address receiver, uint256 royaltyAmount ); function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC2981).interfaceId || super.supportsInterface(interfaceId); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { require(operator != _msgSender(), "ERC721: approve to caller"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Interface for the NFT Royalty Standard */ interface IERC2981 is IERC165 { /** * @dev Called with the sale price to determine how much royalty is owed and to whom. * @param tokenId - the NFT asset queried for royalty information * @param salePrice - the sale price of the NFT asset specified by `tokenId` * @return receiver - address of who should be sent the royalty payment * @return royaltyAmount - the royalty payment amount for `salePrice` */ function royaltyInfo(uint256 tokenId, uint256 salePrice) external view returns (address receiver, uint256 royaltyAmount); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../utils/introspection/IERC165.sol";
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"string","name":"baseTokenURI","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"LIMIT_PER_TX","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WETH","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"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":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"recipients","type":"address[]"}],"name":"ownerMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"pause","type":"bool"}],"name":"pauseSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"presale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"presalePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseTokenURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"root","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"fee","type":"uint256"}],"name":"setRoyaltyFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
610100604052670214e8348c4f0000608090815250600560a090815250670214e8348c4f000060c0908152506115b360e0908152506102ee600c553480156200004757600080fd5b50604051620054443803806200544483398181016040528101906200006d9190620003cb565b82826200008f620000836200010f60201b60201c565b6200011760201b60201c565b60008060146101000a81548160ff0219169083151502179055508160019080519060200190620000c1929190620002a9565b508060029080519060200190620000da929190620002a9565b50505080600e9080519060200190620000f5929190620002a9565b5062000106620001db60201b60201c565b50505062000674565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b620001eb6200029360201b60201c565b156200022e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200022590620004dc565b60405180910390fd5b6001600060146101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586200027a6200010f60201b60201c565b604051620002899190620004bf565b60405180910390a1565b60008060149054906101000a900460ff16905090565b828054620002b790620005e0565b90600052602060002090601f016020900481019282620002db576000855562000327565b82601f10620002f657805160ff191683800117855562000327565b8280016001018555821562000327579182015b828111156200032657825182559160200191906001019062000309565b5b5090506200033691906200033a565b5090565b5b80821115620003555760008160009055506001016200033b565b5090565b6000620003706200036a8462000532565b620004fe565b9050828152602081018484840111156200038957600080fd5b62000396848285620005aa565b509392505050565b600082601f830112620003b057600080fd5b8151620003c284826020860162000359565b91505092915050565b600080600060608486031215620003e157600080fd5b600084015167ffffffffffffffff811115620003fc57600080fd5b6200040a868287016200039e565b935050602084015167ffffffffffffffff8111156200042857600080fd5b62000436868287016200039e565b925050604084015167ffffffffffffffff8111156200045457600080fd5b62000462868287016200039e565b9150509250925092565b620004778162000576565b82525050565b60006200048c60108362000565565b91507f5061757361626c653a20706175736564000000000000000000000000000000006000830152602082019050919050565b6000602082019050620004d660008301846200046c565b92915050565b60006020820190508181036000830152620004f7816200047d565b9050919050565b6000604051905081810181811067ffffffffffffffff8211171562000528576200052762000645565b5b8060405250919050565b600067ffffffffffffffff82111562000550576200054f62000645565b5b601f19601f8301169050602081019050919050565b600082825260208201905092915050565b600062000583826200058a565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60005b83811015620005ca578082015181840152602081019050620005ad565b83811115620005da576000848401525b50505050565b60006002820490506001821680620005f957607f821691505b6020821081141562000610576200060f62000616565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60805160a05160c05160e051614d73620006d160003960008181610fd6015281816117200152611b7701526000818161067b01526111910152600081816116bd0152611b9b01526000818161160801526117c70152614d736000f3fe608060405234801561001057600080fd5b50600436106102055760003560e01c8063661e3e361161011a578063a0712d68116100ad578063c87b56dd1161007c578063c87b56dd146105c1578063d5abeb01146105f1578063e2822f141461060f578063e985e9c51461062d578063f2fde38b1461065d57610205565b8063a0712d681461054f578063a22cb4651461056b578063ad5c464814610587578063b88d4fde146105a557610205565b80637cb64759116100e95780637cb64759146104d95780638da5cb5b146104f557806395d89b4114610513578063a035b1fe1461053157610205565b8063661e3e36146104675780636735918d1461048357806370a082311461049f578063715018a6146104cf57610205565b80632a55205a1161019d5780634f6ccce71161016c5780634f6ccce7146103b157806351cff8d9146103e157806355f804b3146103fd5780635c975abb146104195780636352211e1461043757610205565b80632a55205a146103185780632f745c59146103495780633e4086e51461037957806342842e0e1461039557610205565b8063095ea7b3116101d9578063095ea7b3146102a65780630cfed2a2146102c257806318160ddd146102de57806323b872dd146102fc57610205565b80620e7fa81461020a57806301ffc9a71461022857806306fdde0314610258578063081812fc14610276575b600080fd5b610212610679565b60405161021f919061482e565b60405180910390f35b610242600480360381019061023d919061375c565b61069d565b60405161024f9190614436565b60405180910390f35b6102606106af565b60405161026d919061446c565b60405180910390f35b610290600480360381019061028b91906137ef565b610741565b60405161029d919061436f565b60405180910390f35b6102c060048036038101906102bb919061361b565b6107c6565b005b6102dc60048036038101906102d791906136e1565b6108de565b005b6102e6610979565b6040516102f3919061482e565b60405180910390f35b61031660048036038101906103119190613515565b610986565b005b610332600480360381019061032d9190613841565b6109e6565b60405161034092919061440d565b60405180910390f35b610363600480360381019061035e919061361b565b610a17565b604051610370919061482e565b60405180910390f35b610393600480360381019061038e91906137ef565b610abc565b005b6103af60048036038101906103aa9190613515565b610b42565b005b6103cb60048036038101906103c691906137ef565b610b62565b6040516103d8919061482e565b60405180910390f35b6103fb60048036038101906103f691906134b0565b610bf9565b005b610417600480360381019061041291906137ae565b610dfa565b005b610421610e90565b60405161042e9190614436565b60405180910390f35b610451600480360381019061044c91906137ef565b610ea6565b60405161045e919061436f565b60405180910390f35b610481600480360381019061047c9190613657565b610f58565b005b61049d6004803603810190610498919061369c565b6110d0565b005b6104b960048036038101906104b491906134b0565b611385565b6040516104c6919061482e565b60405180910390f35b6104d761143d565b005b6104f360048036038101906104ee9190613733565b6114c5565b005b6104fd61154b565b60405161050a919061436f565b60405180910390f35b61051b611574565b604051610528919061446c565b60405180910390f35b610539611606565b604051610546919061482e565b60405180910390f35b610569600480360381019061056491906137ef565b61162a565b005b610585600480360381019061058091906135df565b6118d3565b005b61058f611a54565b60405161059c9190614451565b60405180910390f35b6105bf60048036038101906105ba9190613564565b611a6c565b005b6105db60048036038101906105d691906137ef565b611ace565b6040516105e8919061446c565b60405180910390f35b6105f9611b75565b604051610606919061482e565b60405180910390f35b610617611b99565b604051610624919061482e565b60405180910390f35b610647600480360381019061064291906134d9565b611bbd565b6040516106549190614436565b60405180910390f35b610677600480360381019061067291906134b0565b611c51565b005b7f000000000000000000000000000000000000000000000000000000000000000081565b60006106a882611d49565b9050919050565b6060600180546106be90614b16565b80601f01602080910402602001604051908101604052809291908181526020018280546106ea90614b16565b80156107375780601f1061070c57610100808354040283529160200191610737565b820191906000526020600020905b81548152906001019060200180831161071a57829003601f168201915b5050505050905090565b600061074c82611dc3565b61078b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610782906146ce565b60405180910390fd5b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006107d182610ea6565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610842576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108399061476e565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610861611e2f565b73ffffffffffffffffffffffffffffffffffffffff161480610890575061088f8161088a611e2f565b611bbd565b5b6108cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108c69061462e565b60405180910390fd5b6108d98383611e37565b505050565b6108e6611e2f565b73ffffffffffffffffffffffffffffffffffffffff1661090461154b565b73ffffffffffffffffffffffffffffffffffffffff161461095a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109519061470e565b60405180910390fd5b801561096d57610968611ef0565b610976565b610975611f93565b5b50565b6000600980549050905090565b610997610991611e2f565b82612034565b6109d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109cd9061478e565b60405180910390fd5b6109e1838383612112565b505050565b6000806109f161154b565b612710600c5485610a0291906149a4565b610a0c9190614973565b915091509250929050565b6000610a2283611385565b8210610a63576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a5a906144ce565b60405180910390fd5b600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610ac4611e2f565b73ffffffffffffffffffffffffffffffffffffffff16610ae261154b565b73ffffffffffffffffffffffffffffffffffffffff1614610b38576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b2f9061470e565b60405180910390fd5b80600c8190555050565b610b5d83838360405180602001604052806000815250611a6c565b505050565b6000610b6c610979565b8210610bad576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ba4906147ae565b60405180910390fd5b60098281548110610be7577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b610c01611e2f565b73ffffffffffffffffffffffffffffffffffffffff16610c1f61154b565b73ffffffffffffffffffffffffffffffffffffffff1614610c75576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c6c9061470e565b60405180910390fd5b6000737ceb23fd6bc0add59e62ac25578270cff1b9f61973ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401610cc4919061436f565b60206040518083038186803b158015610cdc57600080fd5b505afa158015610cf0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d149190613818565b9050737ceb23fd6bc0add59e62ac25578270cff1b9f61973ffffffffffffffffffffffffffffffffffffffff1663a9059cbb83836040518363ffffffff1660e01b8152600401610d6592919061440d565b602060405180830381600087803b158015610d7f57600080fd5b505af1158015610d93573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610db7919061370a565b610df6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ded9061480e565b60405180910390fd5b5050565b610e02611e2f565b73ffffffffffffffffffffffffffffffffffffffff16610e2061154b565b73ffffffffffffffffffffffffffffffffffffffff1614610e76576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e6d9061470e565b60405180910390fd5b80600e9080519060200190610e8c929190613201565b5050565b60008060149054906101000a900460ff16905090565b6000806003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610f4f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f469061466e565b60405180910390fd5b80915050919050565b610f60611e2f565b73ffffffffffffffffffffffffffffffffffffffff16610f7e61154b565b73ffffffffffffffffffffffffffffffffffffffff1614610fd4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fcb9061470e565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000082829050611001610979565b61100b919061491d565b111561104c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611043906146ee565b60405180910390fd5b60005b828290508110156110cb576110b8838383818110611096577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020160208101906110ab91906134b0565b6110b3610979565b61236e565b80806110c390614b48565b91505061104f565b505050565b600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161561115d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111549061454e565b60405180910390fd5b737ceb23fd6bc0add59e62ac25578270cff1b9f61973ffffffffffffffffffffffffffffffffffffffff166323b872dd33307f00000000000000000000000000000000000000000000000000000000000000006040518463ffffffff1660e01b81526004016111ce9392919061438a565b602060405180830381600087803b1580156111e857600080fd5b505af11580156111fc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611220919061370a565b61125f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611256906147ce565b60405180910390fd5b6001600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506000336040516020016112ca9190614304565b604051602081830303815290604052805190602001209050611330838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600d548361253c565b61136f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611366906145ce565b60405180910390fd5b6113803361137b610979565b612618565b505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156113f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113ed9061464e565b60405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611445611e2f565b73ffffffffffffffffffffffffffffffffffffffff1661146361154b565b73ffffffffffffffffffffffffffffffffffffffff16146114b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114b09061470e565b60405180910390fd5b6114c36000612636565b565b6114cd611e2f565b73ffffffffffffffffffffffffffffffffffffffff166114eb61154b565b73ffffffffffffffffffffffffffffffffffffffff1614611541576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115389061470e565b60405180910390fd5b80600d8190555050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606002805461158390614b16565b80601f01602080910402602001604051908101604052809291908181526020018280546115af90614b16565b80156115fc5780601f106115d1576101008083540402835291602001916115fc565b820191906000526020600020905b8154815290600101906020018083116115df57829003601f168201915b5050505050905090565b7f000000000000000000000000000000000000000000000000000000000000000081565b611632610e90565b15611672576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116699061460e565b60405180910390fd5b61167b336126fa565b156116bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116b2906147ee565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000081111561171e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117159061468e565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000081611748610979565b611752919061491d565b1115611793576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161178a9061448e565b60405180910390fd5b737ceb23fd6bc0add59e62ac25578270cff1b9f61973ffffffffffffffffffffffffffffffffffffffff166323b872dd33307f0000000000000000000000000000000000000000000000000000000000000000856117f191906149a4565b6040518463ffffffff1660e01b815260040161180f9392919061438a565b602060405180830381600087803b15801561182957600080fd5b505af115801561183d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611861919061370a565b6118a0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611897906145ee565b60405180910390fd5b60005b818110156118cf576118bc336118b7610979565b612618565b80806118c790614b48565b9150506118a3565b5050565b6118db611e2f565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611949576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119409061458e565b60405180910390fd5b8060066000611956611e2f565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611a03611e2f565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611a489190614436565b60405180910390a35050565b737ceb23fd6bc0add59e62ac25578270cff1b9f61981565b611a7d611a77611e2f565b83612034565b611abc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ab39061478e565b60405180910390fd5b611ac88484848461270d565b50505050565b6060611ad982611dc3565b611b18576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b0f9061474e565b60405180910390fd5b6000611b22612769565b90506000815111611b425760405180602001604052806000815250611b6d565b80611b4c846127fb565b604051602001611b5d92919061434b565b6040516020818303038152906040525b915050919050565b7f000000000000000000000000000000000000000000000000000000000000000081565b7f000000000000000000000000000000000000000000000000000000000000000081565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611c59611e2f565b73ffffffffffffffffffffffffffffffffffffffff16611c7761154b565b73ffffffffffffffffffffffffffffffffffffffff1614611ccd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cc49061470e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611d3d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d349061450e565b60405180910390fd5b611d4681612636565b50565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611dbc5750611dbb826129a8565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816005600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611eaa83610ea6565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b611ef8610e90565b15611f38576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f2f9061460e565b60405180910390fd5b6001600060146101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611f7c611e2f565b604051611f89919061436f565b60405180910390a1565b611f9b610e90565b611fda576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fd1906144ae565b60405180910390fd5b60008060146101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa61201d611e2f565b60405161202a919061436f565b60405180910390a1565b600061203f82611dc3565b61207e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612075906145ae565b60405180910390fd5b600061208983610ea6565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806120f857508373ffffffffffffffffffffffffffffffffffffffff166120e084610741565b73ffffffffffffffffffffffffffffffffffffffff16145b8061210957506121088185611bbd565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661213282610ea6565b73ffffffffffffffffffffffffffffffffffffffff1614612188576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161217f9061472e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156121f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121ef9061456e565b60405180910390fd5b612203838383612a8a565b61220e600082611e37565b6001600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461225e91906149fe565b925050819055506001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546122b5919061491d565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156123de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123d5906146ae565b60405180910390fd5b6123e781611dc3565b15612427576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161241e9061452e565b60405180910390fd5b61243360008383612a8a565b6001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612483919061491d565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b60008082905060005b855181101561260a576000868281518110612589577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015190508083116125ca5782816040516020016125ad92919061431f565b6040516020818303038152906040528051906020012092506125f6565b80836040516020016125dd92919061431f565b6040516020818303038152906040528051906020012092505b50808061260290614b48565b915050612545565b508381149150509392505050565b612632828260405180602001604052806000815250612a9a565b5050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600080823b905060008111915050919050565b612718848484612112565b61272484848484612af5565b612763576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161275a906144ee565b60405180910390fd5b50505050565b6060600e805461277890614b16565b80601f01602080910402602001604051908101604052809291908181526020018280546127a490614b16565b80156127f15780601f106127c6576101008083540402835291602001916127f1565b820191906000526020600020905b8154815290600101906020018083116127d457829003601f168201915b5050505050905090565b60606000821415612843576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506129a3565b600082905060005b6000821461287557808061285e90614b48565b915050600a8261286e9190614973565b915061284b565b60008167ffffffffffffffff8111156128b7577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156128e95781602001600182028036833780820191505090505b5090505b6000851461299c5760018261290291906149fe565b9150600a856129119190614bbf565b603061291d919061491d565b60f81b818381518110612959577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856129959190614973565b94506128ed565b8093505050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612a7357507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612a835750612a8282612c8c565b5b9050919050565b612a95838383612d06565b505050565b612aa4838361236e565b612ab16000848484612af5565b612af0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ae7906144ee565b60405180910390fd5b505050565b6000612b168473ffffffffffffffffffffffffffffffffffffffff166126fa565b15612c7f578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612b3f611e2f565b8786866040518563ffffffff1660e01b8152600401612b6194939291906143c1565b602060405180830381600087803b158015612b7b57600080fd5b505af1925050508015612bac57506040513d601f19601f82011682018060405250810190612ba99190613785565b60015b612c2f573d8060008114612bdc576040519150601f19603f3d011682016040523d82523d6000602084013e612be1565b606091505b50600081511415612c27576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c1e906144ee565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612c84565b600190505b949350505050565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612cff5750612cfe82612e1a565b5b9050919050565b612d11838383612e84565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612d5457612d4f81612e89565b612d93565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612d9257612d918382612ed2565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612dd657612dd18161303f565b612e15565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612e1457612e138282613182565b5b5b505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b505050565b600980549050600a600083815260200190815260200160002081905550600981908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001612edf84611385565b612ee991906149fe565b9050600060086000848152602001908152602001600020549050818114612fce576000600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816008600083815260200190815260200160002081905550505b6008600084815260200190815260200160002060009055600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b6000600160098054905061305391906149fe565b90506000600a60008481526020019081526020016000205490506000600983815481106130a9577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200154905080600983815481106130f1577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600a600083815260200190815260200160002081905550600a6000858152602001908152602001600020600090556009805480613166577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b600061318d83611385565b905081600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806008600084815260200190815260200160002081905550505050565b82805461320d90614b16565b90600052602060002090601f01602090048101928261322f5760008555613276565b82601f1061324857805160ff1916838001178555613276565b82800160010185558215613276579182015b8281111561327557825182559160200191906001019061325a565b5b5090506132839190613287565b5090565b5b808211156132a0576000816000905550600101613288565b5090565b60006132b76132b28461487a565b614849565b9050828152602081018484840111156132cf57600080fd5b6132da848285614ad4565b509392505050565b60006132f56132f0846148aa565b614849565b90508281526020810184848401111561330d57600080fd5b613318848285614ad4565b509392505050565b60008135905061332f81614cca565b92915050565b60008083601f84011261334757600080fd5b8235905067ffffffffffffffff81111561336057600080fd5b60208301915083602082028301111561337857600080fd5b9250929050565b60008083601f84011261339157600080fd5b8235905067ffffffffffffffff8111156133aa57600080fd5b6020830191508360208202830111156133c257600080fd5b9250929050565b6000813590506133d881614ce1565b92915050565b6000815190506133ed81614ce1565b92915050565b60008135905061340281614cf8565b92915050565b60008135905061341781614d0f565b92915050565b60008151905061342c81614d0f565b92915050565b600082601f83011261344357600080fd5b81356134538482602086016132a4565b91505092915050565b600082601f83011261346d57600080fd5b813561347d8482602086016132e2565b91505092915050565b60008135905061349581614d26565b92915050565b6000815190506134aa81614d26565b92915050565b6000602082840312156134c257600080fd5b60006134d084828501613320565b91505092915050565b600080604083850312156134ec57600080fd5b60006134fa85828601613320565b925050602061350b85828601613320565b9150509250929050565b60008060006060848603121561352a57600080fd5b600061353886828701613320565b935050602061354986828701613320565b925050604061355a86828701613486565b9150509250925092565b6000806000806080858703121561357a57600080fd5b600061358887828801613320565b945050602061359987828801613320565b93505060406135aa87828801613486565b925050606085013567ffffffffffffffff8111156135c757600080fd5b6135d387828801613432565b91505092959194509250565b600080604083850312156135f257600080fd5b600061360085828601613320565b9250506020613611858286016133c9565b9150509250929050565b6000806040838503121561362e57600080fd5b600061363c85828601613320565b925050602061364d85828601613486565b9150509250929050565b6000806020838503121561366a57600080fd5b600083013567ffffffffffffffff81111561368457600080fd5b61369085828601613335565b92509250509250929050565b600080602083850312156136af57600080fd5b600083013567ffffffffffffffff8111156136c957600080fd5b6136d58582860161337f565b92509250509250929050565b6000602082840312156136f357600080fd5b6000613701848285016133c9565b91505092915050565b60006020828403121561371c57600080fd5b600061372a848285016133de565b91505092915050565b60006020828403121561374557600080fd5b6000613753848285016133f3565b91505092915050565b60006020828403121561376e57600080fd5b600061377c84828501613408565b91505092915050565b60006020828403121561379757600080fd5b60006137a58482850161341d565b91505092915050565b6000602082840312156137c057600080fd5b600082013567ffffffffffffffff8111156137da57600080fd5b6137e68482850161345c565b91505092915050565b60006020828403121561380157600080fd5b600061380f84828501613486565b91505092915050565b60006020828403121561382a57600080fd5b60006138388482850161349b565b91505092915050565b6000806040838503121561385457600080fd5b600061386285828601613486565b925050602061387385828601613486565b9150509250929050565b61388681614a32565b82525050565b61389d61389882614a32565b614b91565b82525050565b6138ac81614a44565b82525050565b6138c36138be82614a50565b614ba3565b82525050565b60006138d4826148da565b6138de81856148f0565b93506138ee818560208601614ae3565b6138f781614cac565b840191505092915050565b61390b81614ab0565b82525050565b600061391c826148e5565b6139268185614901565b9350613936818560208601614ae3565b61393f81614cac565b840191505092915050565b6000613955826148e5565b61395f8185614912565b935061396f818560208601614ae3565b80840191505092915050565b6000613988601783614901565b91507f4d494e543a4d415820535550504c5920524541434845440000000000000000006000830152602082019050919050565b60006139c8601483614901565b91507f5061757361626c653a206e6f74207061757365640000000000000000000000006000830152602082019050919050565b6000613a08602b83614901565b91507f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008301527f74206f6620626f756e64730000000000000000000000000000000000000000006020830152604082019050919050565b6000613a6e603283614901565b91507f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008301527f63656976657220696d706c656d656e74657200000000000000000000000000006020830152604082019050919050565b6000613ad4602683614901565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613b3a601c83614901565b91507f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006000830152602082019050919050565b6000613b7a601783614901565b91507f50524553414c453a414c524541445920434c41494d45440000000000000000006000830152602082019050919050565b6000613bba602483614901565b91507f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613c20601983614901565b91507f4552433732313a20617070726f766520746f2063616c6c6572000000000000006000830152602082019050919050565b6000613c60602c83614901565b91507f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b6000613cc6601583614901565b91507f50524553414c453a494e56414c49442050524f4f4600000000000000000000006000830152602082019050919050565b6000613d06601683614901565b91507f4d494e543a494e53554646494349454e542057455448000000000000000000006000830152602082019050919050565b6000613d46601083614901565b91507f5061757361626c653a20706175736564000000000000000000000000000000006000830152602082019050919050565b6000613d86603883614901565b91507f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008301527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006020830152604082019050919050565b6000613dec602a83614901565b91507f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008301527f726f2061646472657373000000000000000000000000000000000000000000006020830152604082019050919050565b6000613e52602983614901565b91507f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008301527f656e7420746f6b656e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000613eb8601683614901565b91507f4d494e543a4f564552204c494d495420504552205458000000000000000000006000830152602082019050919050565b6000613ef8602083614901565b91507f4552433732313a206d696e7420746f20746865207a65726f20616464726573736000830152602082019050919050565b6000613f38602c83614901565b91507f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b6000613f9e601d83614901565b91507f4f574e45525f4d494e543a4d415820535550504c5920524541434845440000006000830152602082019050919050565b6000613fde602083614901565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b600061401e602983614901565b91507f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008301527f73206e6f74206f776e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000614084602f83614901565b91507f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008301527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006020830152604082019050919050565b60006140ea602183614901565b91507f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008301527f72000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000614150603183614901565b91507f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008301527f776e6572206e6f7220617070726f7665640000000000000000000000000000006020830152604082019050919050565b60006141b6602c83614901565b91507f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008301527f7574206f6620626f756e647300000000000000000000000000000000000000006020830152604082019050919050565b600061421c601983614901565b91507f50524553414c453a434f554c444e542053454e442057455448000000000000006000830152602082019050919050565b600061425c601e83614901565b91507f436f6e747261637420666f7262696464656e2066726f6d20627579696e6700006000830152602082019050919050565b600061429c602183614901565b91507f57495448445241573a4552524f5220574954482057455448205452414e53464560008301527f52000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6142fe81614aa6565b82525050565b6000614310828461388c565b60148201915081905092915050565b600061432b82856138b2565b60208201915061433b82846138b2565b6020820191508190509392505050565b6000614357828561394a565b9150614363828461394a565b91508190509392505050565b6000602082019050614384600083018461387d565b92915050565b600060608201905061439f600083018661387d565b6143ac602083018561387d565b6143b960408301846142f5565b949350505050565b60006080820190506143d6600083018761387d565b6143e3602083018661387d565b6143f060408301856142f5565b818103606083015261440281846138c9565b905095945050505050565b6000604082019050614422600083018561387d565b61442f60208301846142f5565b9392505050565b600060208201905061444b60008301846138a3565b92915050565b60006020820190506144666000830184613902565b92915050565b600060208201905081810360008301526144868184613911565b905092915050565b600060208201905081810360008301526144a78161397b565b9050919050565b600060208201905081810360008301526144c7816139bb565b9050919050565b600060208201905081810360008301526144e7816139fb565b9050919050565b6000602082019050818103600083015261450781613a61565b9050919050565b6000602082019050818103600083015261452781613ac7565b9050919050565b6000602082019050818103600083015261454781613b2d565b9050919050565b6000602082019050818103600083015261456781613b6d565b9050919050565b6000602082019050818103600083015261458781613bad565b9050919050565b600060208201905081810360008301526145a781613c13565b9050919050565b600060208201905081810360008301526145c781613c53565b9050919050565b600060208201905081810360008301526145e781613cb9565b9050919050565b6000602082019050818103600083015261460781613cf9565b9050919050565b6000602082019050818103600083015261462781613d39565b9050919050565b6000602082019050818103600083015261464781613d79565b9050919050565b6000602082019050818103600083015261466781613ddf565b9050919050565b6000602082019050818103600083015261468781613e45565b9050919050565b600060208201905081810360008301526146a781613eab565b9050919050565b600060208201905081810360008301526146c781613eeb565b9050919050565b600060208201905081810360008301526146e781613f2b565b9050919050565b6000602082019050818103600083015261470781613f91565b9050919050565b6000602082019050818103600083015261472781613fd1565b9050919050565b6000602082019050818103600083015261474781614011565b9050919050565b6000602082019050818103600083015261476781614077565b9050919050565b60006020820190508181036000830152614787816140dd565b9050919050565b600060208201905081810360008301526147a781614143565b9050919050565b600060208201905081810360008301526147c7816141a9565b9050919050565b600060208201905081810360008301526147e78161420f565b9050919050565b600060208201905081810360008301526148078161424f565b9050919050565b600060208201905081810360008301526148278161428f565b9050919050565b600060208201905061484360008301846142f5565b92915050565b6000604051905081810181811067ffffffffffffffff821117156148705761486f614c7d565b5b8060405250919050565b600067ffffffffffffffff82111561489557614894614c7d565b5b601f19601f8301169050602081019050919050565b600067ffffffffffffffff8211156148c5576148c4614c7d565b5b601f19601f8301169050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600061492882614aa6565b915061493383614aa6565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561496857614967614bf0565b5b828201905092915050565b600061497e82614aa6565b915061498983614aa6565b92508261499957614998614c1f565b5b828204905092915050565b60006149af82614aa6565b91506149ba83614aa6565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156149f3576149f2614bf0565b5b828202905092915050565b6000614a0982614aa6565b9150614a1483614aa6565b925082821015614a2757614a26614bf0565b5b828203905092915050565b6000614a3d82614a86565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b6000614abb82614ac2565b9050919050565b6000614acd82614a86565b9050919050565b82818337600083830152505050565b60005b83811015614b01578082015181840152602081019050614ae6565b83811115614b10576000848401525b50505050565b60006002820490506001821680614b2e57607f821691505b60208210811415614b4257614b41614c4e565b5b50919050565b6000614b5382614aa6565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614b8657614b85614bf0565b5b600182019050919050565b6000614b9c82614bad565b9050919050565b6000819050919050565b6000614bb882614cbd565b9050919050565b6000614bca82614aa6565b9150614bd583614aa6565b925082614be557614be4614c1f565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b614cd381614a32565b8114614cde57600080fd5b50565b614cea81614a44565b8114614cf557600080fd5b50565b614d0181614a50565b8114614d0c57600080fd5b50565b614d1881614a5a565b8114614d2357600080fd5b50565b614d2f81614aa6565b8114614d3a57600080fd5b5056fea2646970667358221220c55074b8dfaca2549507fba9729ea046a6017ebdc460599e892f709b45eb9ae764736f6c63430008000033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000000054845414435000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000248350000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007697066733a2f2f00000000000000000000000000000000000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106102055760003560e01c8063661e3e361161011a578063a0712d68116100ad578063c87b56dd1161007c578063c87b56dd146105c1578063d5abeb01146105f1578063e2822f141461060f578063e985e9c51461062d578063f2fde38b1461065d57610205565b8063a0712d681461054f578063a22cb4651461056b578063ad5c464814610587578063b88d4fde146105a557610205565b80637cb64759116100e95780637cb64759146104d95780638da5cb5b146104f557806395d89b4114610513578063a035b1fe1461053157610205565b8063661e3e36146104675780636735918d1461048357806370a082311461049f578063715018a6146104cf57610205565b80632a55205a1161019d5780634f6ccce71161016c5780634f6ccce7146103b157806351cff8d9146103e157806355f804b3146103fd5780635c975abb146104195780636352211e1461043757610205565b80632a55205a146103185780632f745c59146103495780633e4086e51461037957806342842e0e1461039557610205565b8063095ea7b3116101d9578063095ea7b3146102a65780630cfed2a2146102c257806318160ddd146102de57806323b872dd146102fc57610205565b80620e7fa81461020a57806301ffc9a71461022857806306fdde0314610258578063081812fc14610276575b600080fd5b610212610679565b60405161021f919061482e565b60405180910390f35b610242600480360381019061023d919061375c565b61069d565b60405161024f9190614436565b60405180910390f35b6102606106af565b60405161026d919061446c565b60405180910390f35b610290600480360381019061028b91906137ef565b610741565b60405161029d919061436f565b60405180910390f35b6102c060048036038101906102bb919061361b565b6107c6565b005b6102dc60048036038101906102d791906136e1565b6108de565b005b6102e6610979565b6040516102f3919061482e565b60405180910390f35b61031660048036038101906103119190613515565b610986565b005b610332600480360381019061032d9190613841565b6109e6565b60405161034092919061440d565b60405180910390f35b610363600480360381019061035e919061361b565b610a17565b604051610370919061482e565b60405180910390f35b610393600480360381019061038e91906137ef565b610abc565b005b6103af60048036038101906103aa9190613515565b610b42565b005b6103cb60048036038101906103c691906137ef565b610b62565b6040516103d8919061482e565b60405180910390f35b6103fb60048036038101906103f691906134b0565b610bf9565b005b610417600480360381019061041291906137ae565b610dfa565b005b610421610e90565b60405161042e9190614436565b60405180910390f35b610451600480360381019061044c91906137ef565b610ea6565b60405161045e919061436f565b60405180910390f35b610481600480360381019061047c9190613657565b610f58565b005b61049d6004803603810190610498919061369c565b6110d0565b005b6104b960048036038101906104b491906134b0565b611385565b6040516104c6919061482e565b60405180910390f35b6104d761143d565b005b6104f360048036038101906104ee9190613733565b6114c5565b005b6104fd61154b565b60405161050a919061436f565b60405180910390f35b61051b611574565b604051610528919061446c565b60405180910390f35b610539611606565b604051610546919061482e565b60405180910390f35b610569600480360381019061056491906137ef565b61162a565b005b610585600480360381019061058091906135df565b6118d3565b005b61058f611a54565b60405161059c9190614451565b60405180910390f35b6105bf60048036038101906105ba9190613564565b611a6c565b005b6105db60048036038101906105d691906137ef565b611ace565b6040516105e8919061446c565b60405180910390f35b6105f9611b75565b604051610606919061482e565b60405180910390f35b610617611b99565b604051610624919061482e565b60405180910390f35b610647600480360381019061064291906134d9565b611bbd565b6040516106549190614436565b60405180910390f35b610677600480360381019061067291906134b0565b611c51565b005b7f0000000000000000000000000000000000000000000000000214e8348c4f000081565b60006106a882611d49565b9050919050565b6060600180546106be90614b16565b80601f01602080910402602001604051908101604052809291908181526020018280546106ea90614b16565b80156107375780601f1061070c57610100808354040283529160200191610737565b820191906000526020600020905b81548152906001019060200180831161071a57829003601f168201915b5050505050905090565b600061074c82611dc3565b61078b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610782906146ce565b60405180910390fd5b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006107d182610ea6565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610842576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108399061476e565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610861611e2f565b73ffffffffffffffffffffffffffffffffffffffff161480610890575061088f8161088a611e2f565b611bbd565b5b6108cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108c69061462e565b60405180910390fd5b6108d98383611e37565b505050565b6108e6611e2f565b73ffffffffffffffffffffffffffffffffffffffff1661090461154b565b73ffffffffffffffffffffffffffffffffffffffff161461095a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109519061470e565b60405180910390fd5b801561096d57610968611ef0565b610976565b610975611f93565b5b50565b6000600980549050905090565b610997610991611e2f565b82612034565b6109d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109cd9061478e565b60405180910390fd5b6109e1838383612112565b505050565b6000806109f161154b565b612710600c5485610a0291906149a4565b610a0c9190614973565b915091509250929050565b6000610a2283611385565b8210610a63576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a5a906144ce565b60405180910390fd5b600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610ac4611e2f565b73ffffffffffffffffffffffffffffffffffffffff16610ae261154b565b73ffffffffffffffffffffffffffffffffffffffff1614610b38576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b2f9061470e565b60405180910390fd5b80600c8190555050565b610b5d83838360405180602001604052806000815250611a6c565b505050565b6000610b6c610979565b8210610bad576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ba4906147ae565b60405180910390fd5b60098281548110610be7577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b610c01611e2f565b73ffffffffffffffffffffffffffffffffffffffff16610c1f61154b565b73ffffffffffffffffffffffffffffffffffffffff1614610c75576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c6c9061470e565b60405180910390fd5b6000737ceb23fd6bc0add59e62ac25578270cff1b9f61973ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401610cc4919061436f565b60206040518083038186803b158015610cdc57600080fd5b505afa158015610cf0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d149190613818565b9050737ceb23fd6bc0add59e62ac25578270cff1b9f61973ffffffffffffffffffffffffffffffffffffffff1663a9059cbb83836040518363ffffffff1660e01b8152600401610d6592919061440d565b602060405180830381600087803b158015610d7f57600080fd5b505af1158015610d93573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610db7919061370a565b610df6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ded9061480e565b60405180910390fd5b5050565b610e02611e2f565b73ffffffffffffffffffffffffffffffffffffffff16610e2061154b565b73ffffffffffffffffffffffffffffffffffffffff1614610e76576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e6d9061470e565b60405180910390fd5b80600e9080519060200190610e8c929190613201565b5050565b60008060149054906101000a900460ff16905090565b6000806003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610f4f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f469061466e565b60405180910390fd5b80915050919050565b610f60611e2f565b73ffffffffffffffffffffffffffffffffffffffff16610f7e61154b565b73ffffffffffffffffffffffffffffffffffffffff1614610fd4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fcb9061470e565b60405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000015b382829050611001610979565b61100b919061491d565b111561104c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611043906146ee565b60405180910390fd5b60005b828290508110156110cb576110b8838383818110611096577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020160208101906110ab91906134b0565b6110b3610979565b61236e565b80806110c390614b48565b91505061104f565b505050565b600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161561115d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111549061454e565b60405180910390fd5b737ceb23fd6bc0add59e62ac25578270cff1b9f61973ffffffffffffffffffffffffffffffffffffffff166323b872dd33307f0000000000000000000000000000000000000000000000000214e8348c4f00006040518463ffffffff1660e01b81526004016111ce9392919061438a565b602060405180830381600087803b1580156111e857600080fd5b505af11580156111fc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611220919061370a565b61125f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611256906147ce565b60405180910390fd5b6001600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506000336040516020016112ca9190614304565b604051602081830303815290604052805190602001209050611330838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600d548361253c565b61136f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611366906145ce565b60405180910390fd5b6113803361137b610979565b612618565b505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156113f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113ed9061464e565b60405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611445611e2f565b73ffffffffffffffffffffffffffffffffffffffff1661146361154b565b73ffffffffffffffffffffffffffffffffffffffff16146114b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114b09061470e565b60405180910390fd5b6114c36000612636565b565b6114cd611e2f565b73ffffffffffffffffffffffffffffffffffffffff166114eb61154b565b73ffffffffffffffffffffffffffffffffffffffff1614611541576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115389061470e565b60405180910390fd5b80600d8190555050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606002805461158390614b16565b80601f01602080910402602001604051908101604052809291908181526020018280546115af90614b16565b80156115fc5780601f106115d1576101008083540402835291602001916115fc565b820191906000526020600020905b8154815290600101906020018083116115df57829003601f168201915b5050505050905090565b7f0000000000000000000000000000000000000000000000000214e8348c4f000081565b611632610e90565b15611672576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116699061460e565b60405180910390fd5b61167b336126fa565b156116bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116b2906147ee565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000581111561171e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117159061468e565b60405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000015b381611748610979565b611752919061491d565b1115611793576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161178a9061448e565b60405180910390fd5b737ceb23fd6bc0add59e62ac25578270cff1b9f61973ffffffffffffffffffffffffffffffffffffffff166323b872dd33307f0000000000000000000000000000000000000000000000000214e8348c4f0000856117f191906149a4565b6040518463ffffffff1660e01b815260040161180f9392919061438a565b602060405180830381600087803b15801561182957600080fd5b505af115801561183d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611861919061370a565b6118a0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611897906145ee565b60405180910390fd5b60005b818110156118cf576118bc336118b7610979565b612618565b80806118c790614b48565b9150506118a3565b5050565b6118db611e2f565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611949576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119409061458e565b60405180910390fd5b8060066000611956611e2f565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611a03611e2f565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611a489190614436565b60405180910390a35050565b737ceb23fd6bc0add59e62ac25578270cff1b9f61981565b611a7d611a77611e2f565b83612034565b611abc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ab39061478e565b60405180910390fd5b611ac88484848461270d565b50505050565b6060611ad982611dc3565b611b18576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b0f9061474e565b60405180910390fd5b6000611b22612769565b90506000815111611b425760405180602001604052806000815250611b6d565b80611b4c846127fb565b604051602001611b5d92919061434b565b6040516020818303038152906040525b915050919050565b7f00000000000000000000000000000000000000000000000000000000000015b381565b7f000000000000000000000000000000000000000000000000000000000000000581565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611c59611e2f565b73ffffffffffffffffffffffffffffffffffffffff16611c7761154b565b73ffffffffffffffffffffffffffffffffffffffff1614611ccd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cc49061470e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611d3d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d349061450e565b60405180910390fd5b611d4681612636565b50565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611dbc5750611dbb826129a8565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816005600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611eaa83610ea6565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b611ef8610e90565b15611f38576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f2f9061460e565b60405180910390fd5b6001600060146101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611f7c611e2f565b604051611f89919061436f565b60405180910390a1565b611f9b610e90565b611fda576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fd1906144ae565b60405180910390fd5b60008060146101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa61201d611e2f565b60405161202a919061436f565b60405180910390a1565b600061203f82611dc3565b61207e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612075906145ae565b60405180910390fd5b600061208983610ea6565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806120f857508373ffffffffffffffffffffffffffffffffffffffff166120e084610741565b73ffffffffffffffffffffffffffffffffffffffff16145b8061210957506121088185611bbd565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661213282610ea6565b73ffffffffffffffffffffffffffffffffffffffff1614612188576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161217f9061472e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156121f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121ef9061456e565b60405180910390fd5b612203838383612a8a565b61220e600082611e37565b6001600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461225e91906149fe565b925050819055506001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546122b5919061491d565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156123de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123d5906146ae565b60405180910390fd5b6123e781611dc3565b15612427576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161241e9061452e565b60405180910390fd5b61243360008383612a8a565b6001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612483919061491d565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b60008082905060005b855181101561260a576000868281518110612589577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015190508083116125ca5782816040516020016125ad92919061431f565b6040516020818303038152906040528051906020012092506125f6565b80836040516020016125dd92919061431f565b6040516020818303038152906040528051906020012092505b50808061260290614b48565b915050612545565b508381149150509392505050565b612632828260405180602001604052806000815250612a9a565b5050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600080823b905060008111915050919050565b612718848484612112565b61272484848484612af5565b612763576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161275a906144ee565b60405180910390fd5b50505050565b6060600e805461277890614b16565b80601f01602080910402602001604051908101604052809291908181526020018280546127a490614b16565b80156127f15780601f106127c6576101008083540402835291602001916127f1565b820191906000526020600020905b8154815290600101906020018083116127d457829003601f168201915b5050505050905090565b60606000821415612843576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506129a3565b600082905060005b6000821461287557808061285e90614b48565b915050600a8261286e9190614973565b915061284b565b60008167ffffffffffffffff8111156128b7577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156128e95781602001600182028036833780820191505090505b5090505b6000851461299c5760018261290291906149fe565b9150600a856129119190614bbf565b603061291d919061491d565b60f81b818381518110612959577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856129959190614973565b94506128ed565b8093505050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612a7357507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612a835750612a8282612c8c565b5b9050919050565b612a95838383612d06565b505050565b612aa4838361236e565b612ab16000848484612af5565b612af0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ae7906144ee565b60405180910390fd5b505050565b6000612b168473ffffffffffffffffffffffffffffffffffffffff166126fa565b15612c7f578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612b3f611e2f565b8786866040518563ffffffff1660e01b8152600401612b6194939291906143c1565b602060405180830381600087803b158015612b7b57600080fd5b505af1925050508015612bac57506040513d601f19601f82011682018060405250810190612ba99190613785565b60015b612c2f573d8060008114612bdc576040519150601f19603f3d011682016040523d82523d6000602084013e612be1565b606091505b50600081511415612c27576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c1e906144ee565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612c84565b600190505b949350505050565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612cff5750612cfe82612e1a565b5b9050919050565b612d11838383612e84565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612d5457612d4f81612e89565b612d93565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612d9257612d918382612ed2565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612dd657612dd18161303f565b612e15565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612e1457612e138282613182565b5b5b505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b505050565b600980549050600a600083815260200190815260200160002081905550600981908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001612edf84611385565b612ee991906149fe565b9050600060086000848152602001908152602001600020549050818114612fce576000600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816008600083815260200190815260200160002081905550505b6008600084815260200190815260200160002060009055600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b6000600160098054905061305391906149fe565b90506000600a60008481526020019081526020016000205490506000600983815481106130a9577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200154905080600983815481106130f1577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600a600083815260200190815260200160002081905550600a6000858152602001908152602001600020600090556009805480613166577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b600061318d83611385565b905081600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806008600084815260200190815260200160002081905550505050565b82805461320d90614b16565b90600052602060002090601f01602090048101928261322f5760008555613276565b82601f1061324857805160ff1916838001178555613276565b82800160010185558215613276579182015b8281111561327557825182559160200191906001019061325a565b5b5090506132839190613287565b5090565b5b808211156132a0576000816000905550600101613288565b5090565b60006132b76132b28461487a565b614849565b9050828152602081018484840111156132cf57600080fd5b6132da848285614ad4565b509392505050565b60006132f56132f0846148aa565b614849565b90508281526020810184848401111561330d57600080fd5b613318848285614ad4565b509392505050565b60008135905061332f81614cca565b92915050565b60008083601f84011261334757600080fd5b8235905067ffffffffffffffff81111561336057600080fd5b60208301915083602082028301111561337857600080fd5b9250929050565b60008083601f84011261339157600080fd5b8235905067ffffffffffffffff8111156133aa57600080fd5b6020830191508360208202830111156133c257600080fd5b9250929050565b6000813590506133d881614ce1565b92915050565b6000815190506133ed81614ce1565b92915050565b60008135905061340281614cf8565b92915050565b60008135905061341781614d0f565b92915050565b60008151905061342c81614d0f565b92915050565b600082601f83011261344357600080fd5b81356134538482602086016132a4565b91505092915050565b600082601f83011261346d57600080fd5b813561347d8482602086016132e2565b91505092915050565b60008135905061349581614d26565b92915050565b6000815190506134aa81614d26565b92915050565b6000602082840312156134c257600080fd5b60006134d084828501613320565b91505092915050565b600080604083850312156134ec57600080fd5b60006134fa85828601613320565b925050602061350b85828601613320565b9150509250929050565b60008060006060848603121561352a57600080fd5b600061353886828701613320565b935050602061354986828701613320565b925050604061355a86828701613486565b9150509250925092565b6000806000806080858703121561357a57600080fd5b600061358887828801613320565b945050602061359987828801613320565b93505060406135aa87828801613486565b925050606085013567ffffffffffffffff8111156135c757600080fd5b6135d387828801613432565b91505092959194509250565b600080604083850312156135f257600080fd5b600061360085828601613320565b9250506020613611858286016133c9565b9150509250929050565b6000806040838503121561362e57600080fd5b600061363c85828601613320565b925050602061364d85828601613486565b9150509250929050565b6000806020838503121561366a57600080fd5b600083013567ffffffffffffffff81111561368457600080fd5b61369085828601613335565b92509250509250929050565b600080602083850312156136af57600080fd5b600083013567ffffffffffffffff8111156136c957600080fd5b6136d58582860161337f565b92509250509250929050565b6000602082840312156136f357600080fd5b6000613701848285016133c9565b91505092915050565b60006020828403121561371c57600080fd5b600061372a848285016133de565b91505092915050565b60006020828403121561374557600080fd5b6000613753848285016133f3565b91505092915050565b60006020828403121561376e57600080fd5b600061377c84828501613408565b91505092915050565b60006020828403121561379757600080fd5b60006137a58482850161341d565b91505092915050565b6000602082840312156137c057600080fd5b600082013567ffffffffffffffff8111156137da57600080fd5b6137e68482850161345c565b91505092915050565b60006020828403121561380157600080fd5b600061380f84828501613486565b91505092915050565b60006020828403121561382a57600080fd5b60006138388482850161349b565b91505092915050565b6000806040838503121561385457600080fd5b600061386285828601613486565b925050602061387385828601613486565b9150509250929050565b61388681614a32565b82525050565b61389d61389882614a32565b614b91565b82525050565b6138ac81614a44565b82525050565b6138c36138be82614a50565b614ba3565b82525050565b60006138d4826148da565b6138de81856148f0565b93506138ee818560208601614ae3565b6138f781614cac565b840191505092915050565b61390b81614ab0565b82525050565b600061391c826148e5565b6139268185614901565b9350613936818560208601614ae3565b61393f81614cac565b840191505092915050565b6000613955826148e5565b61395f8185614912565b935061396f818560208601614ae3565b80840191505092915050565b6000613988601783614901565b91507f4d494e543a4d415820535550504c5920524541434845440000000000000000006000830152602082019050919050565b60006139c8601483614901565b91507f5061757361626c653a206e6f74207061757365640000000000000000000000006000830152602082019050919050565b6000613a08602b83614901565b91507f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008301527f74206f6620626f756e64730000000000000000000000000000000000000000006020830152604082019050919050565b6000613a6e603283614901565b91507f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008301527f63656976657220696d706c656d656e74657200000000000000000000000000006020830152604082019050919050565b6000613ad4602683614901565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613b3a601c83614901565b91507f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006000830152602082019050919050565b6000613b7a601783614901565b91507f50524553414c453a414c524541445920434c41494d45440000000000000000006000830152602082019050919050565b6000613bba602483614901565b91507f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613c20601983614901565b91507f4552433732313a20617070726f766520746f2063616c6c6572000000000000006000830152602082019050919050565b6000613c60602c83614901565b91507f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b6000613cc6601583614901565b91507f50524553414c453a494e56414c49442050524f4f4600000000000000000000006000830152602082019050919050565b6000613d06601683614901565b91507f4d494e543a494e53554646494349454e542057455448000000000000000000006000830152602082019050919050565b6000613d46601083614901565b91507f5061757361626c653a20706175736564000000000000000000000000000000006000830152602082019050919050565b6000613d86603883614901565b91507f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008301527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006020830152604082019050919050565b6000613dec602a83614901565b91507f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008301527f726f2061646472657373000000000000000000000000000000000000000000006020830152604082019050919050565b6000613e52602983614901565b91507f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008301527f656e7420746f6b656e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000613eb8601683614901565b91507f4d494e543a4f564552204c494d495420504552205458000000000000000000006000830152602082019050919050565b6000613ef8602083614901565b91507f4552433732313a206d696e7420746f20746865207a65726f20616464726573736000830152602082019050919050565b6000613f38602c83614901565b91507f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b6000613f9e601d83614901565b91507f4f574e45525f4d494e543a4d415820535550504c5920524541434845440000006000830152602082019050919050565b6000613fde602083614901565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b600061401e602983614901565b91507f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008301527f73206e6f74206f776e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000614084602f83614901565b91507f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008301527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006020830152604082019050919050565b60006140ea602183614901565b91507f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008301527f72000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000614150603183614901565b91507f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008301527f776e6572206e6f7220617070726f7665640000000000000000000000000000006020830152604082019050919050565b60006141b6602c83614901565b91507f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008301527f7574206f6620626f756e647300000000000000000000000000000000000000006020830152604082019050919050565b600061421c601983614901565b91507f50524553414c453a434f554c444e542053454e442057455448000000000000006000830152602082019050919050565b600061425c601e83614901565b91507f436f6e747261637420666f7262696464656e2066726f6d20627579696e6700006000830152602082019050919050565b600061429c602183614901565b91507f57495448445241573a4552524f5220574954482057455448205452414e53464560008301527f52000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6142fe81614aa6565b82525050565b6000614310828461388c565b60148201915081905092915050565b600061432b82856138b2565b60208201915061433b82846138b2565b6020820191508190509392505050565b6000614357828561394a565b9150614363828461394a565b91508190509392505050565b6000602082019050614384600083018461387d565b92915050565b600060608201905061439f600083018661387d565b6143ac602083018561387d565b6143b960408301846142f5565b949350505050565b60006080820190506143d6600083018761387d565b6143e3602083018661387d565b6143f060408301856142f5565b818103606083015261440281846138c9565b905095945050505050565b6000604082019050614422600083018561387d565b61442f60208301846142f5565b9392505050565b600060208201905061444b60008301846138a3565b92915050565b60006020820190506144666000830184613902565b92915050565b600060208201905081810360008301526144868184613911565b905092915050565b600060208201905081810360008301526144a78161397b565b9050919050565b600060208201905081810360008301526144c7816139bb565b9050919050565b600060208201905081810360008301526144e7816139fb565b9050919050565b6000602082019050818103600083015261450781613a61565b9050919050565b6000602082019050818103600083015261452781613ac7565b9050919050565b6000602082019050818103600083015261454781613b2d565b9050919050565b6000602082019050818103600083015261456781613b6d565b9050919050565b6000602082019050818103600083015261458781613bad565b9050919050565b600060208201905081810360008301526145a781613c13565b9050919050565b600060208201905081810360008301526145c781613c53565b9050919050565b600060208201905081810360008301526145e781613cb9565b9050919050565b6000602082019050818103600083015261460781613cf9565b9050919050565b6000602082019050818103600083015261462781613d39565b9050919050565b6000602082019050818103600083015261464781613d79565b9050919050565b6000602082019050818103600083015261466781613ddf565b9050919050565b6000602082019050818103600083015261468781613e45565b9050919050565b600060208201905081810360008301526146a781613eab565b9050919050565b600060208201905081810360008301526146c781613eeb565b9050919050565b600060208201905081810360008301526146e781613f2b565b9050919050565b6000602082019050818103600083015261470781613f91565b9050919050565b6000602082019050818103600083015261472781613fd1565b9050919050565b6000602082019050818103600083015261474781614011565b9050919050565b6000602082019050818103600083015261476781614077565b9050919050565b60006020820190508181036000830152614787816140dd565b9050919050565b600060208201905081810360008301526147a781614143565b9050919050565b600060208201905081810360008301526147c7816141a9565b9050919050565b600060208201905081810360008301526147e78161420f565b9050919050565b600060208201905081810360008301526148078161424f565b9050919050565b600060208201905081810360008301526148278161428f565b9050919050565b600060208201905061484360008301846142f5565b92915050565b6000604051905081810181811067ffffffffffffffff821117156148705761486f614c7d565b5b8060405250919050565b600067ffffffffffffffff82111561489557614894614c7d565b5b601f19601f8301169050602081019050919050565b600067ffffffffffffffff8211156148c5576148c4614c7d565b5b601f19601f8301169050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600061492882614aa6565b915061493383614aa6565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561496857614967614bf0565b5b828201905092915050565b600061497e82614aa6565b915061498983614aa6565b92508261499957614998614c1f565b5b828204905092915050565b60006149af82614aa6565b91506149ba83614aa6565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156149f3576149f2614bf0565b5b828202905092915050565b6000614a0982614aa6565b9150614a1483614aa6565b925082821015614a2757614a26614bf0565b5b828203905092915050565b6000614a3d82614a86565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b6000614abb82614ac2565b9050919050565b6000614acd82614a86565b9050919050565b82818337600083830152505050565b60005b83811015614b01578082015181840152602081019050614ae6565b83811115614b10576000848401525b50505050565b60006002820490506001821680614b2e57607f821691505b60208210811415614b4257614b41614c4e565b5b50919050565b6000614b5382614aa6565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614b8657614b85614bf0565b5b600182019050919050565b6000614b9c82614bad565b9050919050565b6000819050919050565b6000614bb882614cbd565b9050919050565b6000614bca82614aa6565b9150614bd583614aa6565b925082614be557614be4614c1f565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b614cd381614a32565b8114614cde57600080fd5b50565b614cea81614a44565b8114614cf557600080fd5b50565b614d0181614a50565b8114614d0c57600080fd5b50565b614d1881614a5a565b8114614d2357600080fd5b50565b614d2f81614aa6565b8114614d3a57600080fd5b5056fea2646970667358221220c55074b8dfaca2549507fba9729ea046a6017ebdc460599e892f709b45eb9ae764736f6c63430008000033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000000054845414435000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000248350000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007697066733a2f2f00000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : name (string): HEAD5
Arg [1] : symbol (string): H5
Arg [2] : baseTokenURI (string): ipfs://
-----Encoded View---------------
9 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [4] : 4845414435000000000000000000000000000000000000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [6] : 4835000000000000000000000000000000000000000000000000000000000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000007
Arg [8] : 697066733a2f2f00000000000000000000000000000000000000000000000000
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.