ETH Price: $3,486.87 (+2.11%)

Contract

0xCa61AD7AaE3afBC15c2ba618612FfA2c2265C821
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Transfer From214247472024-12-17 20:48:357 days ago1734468515IN
Muttniks: Laika Token
0 ETH0.0010570718.03328172
Safe Transfer Fr...211467342024-11-09 1:13:3545 days ago1731114815IN
Muttniks: Laika Token
0 ETH0.00062210.08735888
Safe Transfer Fr...211028452024-11-02 22:09:5952 days ago1730585399IN
Muttniks: Laika Token
0 ETH0.000307634.92627413
Set Approval For...210692312024-10-29 5:33:4756 days ago1730180027IN
Muttniks: Laika Token
0 ETH0.000456149.78945754
Transfer From208852052024-10-03 13:11:4782 days ago1727961107IN
Muttniks: Laika Token
0 ETH0.000447047.62333334
Safe Transfer Fr...208529492024-09-29 1:15:3586 days ago1727572535IN
Muttniks: Laika Token
0 ETH0.000306266.87276169
Set Approval For...207267642024-09-11 10:26:35104 days ago1726050395IN
Muttniks: Laika Token
0 ETH0.000074411.59693268
Set Approval For...207265922024-09-11 9:51:35104 days ago1726048295IN
Muttniks: Laika Token
0 ETH0.000070581.5148089
Safe Transfer Fr...207252632024-09-11 5:24:23104 days ago1726032263IN
Muttniks: Laika Token
0 ETH0.000195082.93532981
Set Approval For...206127492024-08-26 12:24:59120 days ago1724675099IN
Muttniks: Laika Token
0 ETH0.00017973.85666726
Set Approval For...202945172024-07-13 2:10:59164 days ago1720836659IN
Muttniks: Laika Token
0 ETH0.000067031.43854595
Safe Transfer Fr...197149132024-04-23 1:48:47245 days ago1713836927IN
Muttniks: Laika Token
0 ETH0.000379876.08310777
Set Approval For...194989242024-03-23 17:55:59276 days ago1711216559IN
Muttniks: Laika Token
0 ETH0.001068622.93338485
Set Approval For...194944382024-03-23 2:50:47276 days ago1711162247IN
Muttniks: Laika Token
0 ETH0.0008134617.45775194
Set Approval For...192858242024-02-22 21:27:59306 days ago1708637279IN
Muttniks: Laika Token
0 ETH0.0026289556.4202015
Set Approval For...191556242024-02-04 14:45:11324 days ago1707057911IN
Muttniks: Laika Token
0 ETH0.0009670520.71661949
Set Approval For...189947712024-01-13 1:44:11346 days ago1705110251IN
Muttniks: Laika Token
0 ETH0.0006867214.73795754
Set Approval For...189116562024-01-01 9:19:23358 days ago1704100763IN
Muttniks: Laika Token
0 ETH0.0002566610.3627889
Set Approval For...189037762023-12-31 6:47:59359 days ago1704005279IN
Muttniks: Laika Token
0 ETH0.0003021812.24231307
Set Approval For...188507352023-12-23 19:56:35367 days ago1703361395IN
Muttniks: Laika Token
0 ETH0.0009635420.64686536
Set Approval For...188027142023-12-17 2:14:59373 days ago1702779299IN
Muttniks: Laika Token
0 ETH0.0008886535.87932447
Set Approval For...186672222023-11-28 2:43:23392 days ago1701139403IN
Muttniks: Laika Token
0 ETH0.0013887129.80336
Set Approval For...185609732023-11-13 5:42:23407 days ago1699854143IN
Muttniks: Laika Token
0 ETH0.0010826923.23585457
Safe Transfer Fr...181872332023-09-21 22:29:59460 days ago1695335399IN
Muttniks: Laika Token
0 ETH0.0007109211.34917542
Set Approval For...180150612023-08-28 18:56:23484 days ago1693248983IN
Muttniks: Laika Token
0 ETH0.0009300837.55197315
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block
From
To
138127922021-12-15 23:46:281105 days ago1639611988
Muttniks: Laika Token
0.11673498 ETH
138119812021-12-15 20:49:451105 days ago1639601385
Muttniks: Laika Token
1 ETH
135014812021-10-27 20:19:521154 days ago1635365992
Muttniks: Laika Token
1 ETH
133870522021-10-09 21:51:481172 days ago1633816308
Muttniks: Laika Token
2 ETH
133840612021-10-09 10:43:241172 days ago1633776204
Muttniks: Laika Token
0.5 ETH
133792282021-10-08 16:24:111173 days ago1633710251
Muttniks: Laika Token
0.03 ETH
133565642021-10-05 3:16:471176 days ago1633403807
Muttniks: Laika Token
0.05317251 ETH
133561982021-10-05 1:52:551176 days ago1633398775
Muttniks: Laika Token
28 ETH
133561962021-10-05 1:52:041176 days ago1633398724
Muttniks: Laika Token
0.152 ETH
133561902021-10-05 1:49:421176 days ago1633398582
Muttniks: Laika Token
14 ETH
133561862021-10-05 1:48:591176 days ago1633398539
Muttniks: Laika Token
0.076 ETH
133561692021-10-05 1:45:011176 days ago1633398301
Muttniks: Laika Token
3.98 ETH
133561602021-10-05 1:43:111176 days ago1633398191
Muttniks: Laika Token
0.01 ETH
133561262021-10-05 1:34:151176 days ago1633397655
Muttniks: Laika Token
0.01 ETH
133560652021-10-05 1:18:441176 days ago1633396724
Muttniks: Laika Token
0.6 ETH
133560522021-10-05 1:15:351176 days ago1633396535
Muttniks: Laika Token
0.105 ETH
133560432021-10-05 1:12:091176 days ago1633396329
Muttniks: Laika Token
1.165 ETH
133560352021-10-05 1:09:311176 days ago1633396171
Muttniks: Laika Token
6.1 ETH
133560322021-10-05 1:08:361176 days ago1633396116
Muttniks: Laika Token
0.02209251 ETH
132082122021-09-12 2:20:301199 days ago1631413230
Muttniks: Laika Token
0.1 ETH
132080372021-09-12 1:45:051199 days ago1631411105
Muttniks: Laika Token
1 ETH
131566612021-09-04 2:59:061207 days ago1630724346
Muttniks: Laika Token
1 ETH
131324342021-08-31 9:09:391211 days ago1630400979
Muttniks: Laika Token
0.14 ETH
131318842021-08-31 6:58:521211 days ago1630393132
Muttniks: Laika Token
0.25 ETH
131058482021-08-27 6:17:291215 days ago1630045049
Muttniks: Laika Token
0.07 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Muttniks

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 14 : Muttniks.sol
// SPDX-License-Identifier: MIT
// author: Giovanni Vignone
pragma solidity ^0.8.0;

import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts/access/Ownable.sol";

contract Muttniks is ERC721, Ownable {
    using Counters for Counters.Counter;
    Counters.Counter private MuttnikID;
    uint256 private maxsupply;
    address private contract_creator;
    mapping(uint256 => string) private _tokenURIs;
    address private MuttnikVerify;

    constructor(address verificationaccount) ERC721("Muttniks", "Laika") {
        contract_creator = msg.sender;
        maxsupply = 9999;
        MuttnikVerify = verificationaccount;
    }
    
    function _getAllMetadata() public view returns (string[] memory){
        string[] memory ret = new string[](MuttnikID.current());
        for(uint i = 0; i<MuttnikID.current();i++){
            ret[i] = _tokenURIs[i];
        }
        return ret;
    }

    function _changeVerification(address verificationaddress) onlyOwner public{
        MuttnikVerify = verificationaddress;
    }

    function _withdraw(uint256 amountinwei, bool getall, address payable exportaddress) onlyOwner public returns (bool){
        if(getall == true){
            exportaddress.transfer(address(this).balance);
            return true;
        }
        require(amountinwei<address(this).balance,"Contract is not worth that much yet");
        exportaddress.transfer(amountinwei);
        return true;
    }

   function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual {
        require(_exists(tokenId), "ERC721Metadata: URI set of nonexistent token");
        _tokenURIs[tokenId] = _tokenURI;
    }




    function verificationfunc(bytes32 specialhash, bytes memory sig)
       public pure returns (address)
    {
        (bytes32 ready, bytes32 steady, uint8 vroom) = separatesig(sig);
        return ecrecover(specialhash, vroom, ready, steady);
    }
    function separatesig(bytes memory sig)
        public pure returns (bytes32 ready, bytes32 steady, uint8 vroom)
    {
        require(sig.length == 65, "sig not right size");
        assembly {
            ready := mload(add(sig, 32))
            steady := mload(add(sig, 64))
            vroom := byte(0, mload(add(sig, 96)))
        }
    }


    function createMuttnik(string memory pinatalink, address customerwallet, bytes32 specialhash, bytes memory sig)
        public payable
        returns (uint256)
    {
        require(MuttnikVerify == verificationfunc(specialhash, sig));
        require(msg.value >= 60000000000000000);
        require(MuttnikID.current() <= maxsupply, "Muttniks are sold out!");
        require(msg.sender != address(0) && msg.sender != address(this));
        uint256 uniquetokenID = MuttnikID.current();
        _safeMint(contract_creator, uniquetokenID);
        _safeTransfer(contract_creator, customerwallet, uniquetokenID,"");
        _setTokenURI(uniquetokenID, pinatalink);
        MuttnikID.increment();
        return uniquetokenID;
    }


    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        require(_exists(tokenId), "TokenURI query for nonexistent token");
        return _tokenURIs[tokenId];
    }

    function nextmuttnik() public view returns (uint256) {
        return MuttnikID.current();
    }
}

File 2 of 14 : Ownable.sol
// 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);
    }
}

File 3 of 14 : Counters.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @title Counters
 * @author Matt Condon (@shrugs)
 * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number
 * of elements in a mapping, issuing ERC721 ids, or counting request ids.
 *
 * Include with `using Counters for Counters.Counter;`
 */
library Counters {
    struct Counter {
        // This variable should never be directly accessed by users of the library: interactions must be restricted to
        // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
        // this feature: see https://github.com/ethereum/solidity/issues/4637
        uint256 _value; // default: 0
    }

    function current(Counter storage counter) internal view returns (uint256) {
        return counter._value;
    }

    function increment(Counter storage counter) internal {
        unchecked {
            counter._value += 1;
        }
    }

    function decrement(Counter storage counter) internal {
        uint256 value = counter._value;
        require(value > 0, "Counter: decrement overflow");
        unchecked {
            counter._value = value - 1;
        }
    }

    function reset(Counter storage counter) internal {
        counter._value = 0;
    }
}

File 4 of 14 : IERC721.sol
// 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;
}

File 5 of 14 : IERC721Metadata.sol
// 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);
}

File 6 of 14 : ERC721Enumerable.sol
// 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();
    }
}

File 7 of 14 : ERC721.sol
// 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(to).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 {}
}

File 8 of 14 : IERC721Enumerable.sol
// 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);
}

File 9 of 14 : IERC165.sol
// 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);
}

File 10 of 14 : ERC165.sol
// 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;
    }
}

File 11 of 14 : Strings.sol
// 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);
    }
}

File 12 of 14 : Context.sol
// 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;
    }
}

File 13 of 14 : Address.sol
// 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);
    }

    function _verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) private 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);
            }
        }
    }
}

File 14 of 14 : IERC721Receiver.sol
// 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);
}

Settings
{
  "optimizer": {
    "enabled": false,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"verificationaccount","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"verificationaddress","type":"address"}],"name":"_changeVerification","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"_getAllMetadata","outputs":[{"internalType":"string[]","name":"","type":"string[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amountinwei","type":"uint256"},{"internalType":"bool","name":"getall","type":"bool"},{"internalType":"address payable","name":"exportaddress","type":"address"}],"name":"_withdraw","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"pinatalink","type":"string"},{"internalType":"address","name":"customerwallet","type":"address"},{"internalType":"bytes32","name":"specialhash","type":"bytes32"},{"internalType":"bytes","name":"sig","type":"bytes"}],"name":"createMuttnik","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"payable","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":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nextmuttnik","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes","name":"sig","type":"bytes"}],"name":"separatesig","outputs":[{"internalType":"bytes32","name":"ready","type":"bytes32"},{"internalType":"bytes32","name":"steady","type":"bytes32"},{"internalType":"uint8","name":"vroom","type":"uint8"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"bytes32","name":"specialhash","type":"bytes32"},{"internalType":"bytes","name":"sig","type":"bytes"}],"name":"verificationfunc","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"pure","type":"function"}]

60806040523480156200001157600080fd5b5060405162003cc738038062003cc783398181016040528101906200003791906200031e565b6040518060400160405280600881526020017f4d7574746e696b730000000000000000000000000000000000000000000000008152506040518060400160405280600581526020017f4c61696b610000000000000000000000000000000000000000000000000000008152508160009080519060200190620000bb92919062000257565b508060019080519060200190620000d492919062000257565b505050620000f7620000eb6200018960201b60201c565b6200019160201b60201c565b33600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555061270f60088190555080600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050620003fd565b600033905090565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b82805462000265906200037e565b90600052602060002090601f016020900481019282620002895760008555620002d5565b82601f10620002a457805160ff1916838001178555620002d5565b82800160010185558215620002d5579182015b82811115620002d4578251825591602001919060010190620002b7565b5b509050620002e49190620002e8565b5090565b5b8082111562000303576000816000905550600101620002e9565b5090565b6000815190506200031881620003e3565b92915050565b6000602082840312156200033157600080fd5b6000620003418482850162000307565b91505092915050565b600062000357826200035e565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600060028204905060018216806200039757607f821691505b60208210811415620003ae57620003ad620003b4565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b620003ee816200034a565b8114620003fa57600080fd5b50565b6138ba806200040d6000396000f3fe6080604052600436106101405760003560e01c806370a08231116100b6578063a22cb4651161006f578063a22cb46514610489578063b88d4fde146104b2578063c87b56dd146104db578063cce4752e14610518578063e985e9c514610543578063f2fde38b1461058057610140565b806370a0823114610372578063715018a6146103af5780637acfc9f5146103c65780638da5cb5b146103f657806395d89b4114610421578063965fe7fa1461044c57610140565b806323b872dd1161010857806323b872dd146102505780633846a800146102795780633bcb4a08146102b857806342842e0e146102e35780635c94395a1461030c5780636352211e1461033557610140565b806301ffc9a71461014557806303163d551461018257806306fdde03146101bf578063081812fc146101ea578063095ea7b314610227575b600080fd5b34801561015157600080fd5b5061016c60048036038101906101679190612540565b6105a9565b6040516101799190612ba2565b60405180910390f35b34801561018e57600080fd5b506101a960048036038101906101a4919061268f565b61068b565b6040516101b69190612ba2565b60405180910390f35b3480156101cb57600080fd5b506101d46107fb565b6040516101e19190612c39565b60405180910390f35b3480156101f657600080fd5b50610211600480360381019061020c9190612666565b61088d565b60405161021e9190612b19565b60405180910390f35b34801561023357600080fd5b5061024e600480360381019061024991906124b0565b610912565b005b34801561025c57600080fd5b50610277600480360381019061027291906123aa565b610a2a565b005b34801561028557600080fd5b506102a0600480360381019061029b9190612592565b610a8a565b6040516102af93929190612bbd565b60405180910390f35b3480156102c457600080fd5b506102cd610af2565b6040516102da9190612b80565b60405180910390f35b3480156102ef57600080fd5b5061030a600480360381019061030591906123aa565b610c84565b005b34801561031857600080fd5b50610333600480360381019061032e9190612345565b610ca4565b005b34801561034157600080fd5b5061035c60048036038101906103579190612666565b610d64565b6040516103699190612b19565b60405180910390f35b34801561037e57600080fd5b5061039960048036038101906103949190612345565b610e16565b6040516103a69190612edb565b60405180910390f35b3480156103bb57600080fd5b506103c4610ece565b005b6103e060048036038101906103db91906125d3565b610f56565b6040516103ed9190612edb565b60405180910390f35b34801561040257600080fd5b5061040b611126565b6040516104189190612b19565b60405180910390f35b34801561042d57600080fd5b50610436611150565b6040516104439190612c39565b60405180910390f35b34801561045857600080fd5b50610473600480360381019061046e91906124ec565b6111e2565b6040516104809190612b19565b60405180910390f35b34801561049557600080fd5b506104b060048036038101906104ab9190612474565b611251565b005b3480156104be57600080fd5b506104d960048036038101906104d491906123f9565b6113d2565b005b3480156104e757600080fd5b5061050260048036038101906104fd9190612666565b611434565b60405161050f9190612c39565b60405180910390f35b34801561052457600080fd5b5061052d611521565b60405161053a9190612edb565b60405180910390f35b34801561054f57600080fd5b5061056a6004803603810190610565919061236e565b611532565b6040516105779190612ba2565b60405180910390f35b34801561058c57600080fd5b506105a760048036038101906105a29190612345565b6115c6565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061067457507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806106845750610683826116be565b5b9050919050565b6000610695611728565b73ffffffffffffffffffffffffffffffffffffffff166106b3611126565b73ffffffffffffffffffffffffffffffffffffffff1614610709576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161070090612e3b565b60405180910390fd5b600115158315151415610766578173ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f1935050505015801561075c573d6000803e3d6000fd5b50600190506107f4565b4784106107a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161079f90612d1b565b60405180910390fd5b8173ffffffffffffffffffffffffffffffffffffffff166108fc859081150290604051600060405180830381858888f193505050501580156107ee573d6000803e3d6000fd5b50600190505b9392505050565b60606000805461080a90613168565b80601f016020809104026020016040519081016040528092919081815260200182805461083690613168565b80156108835780601f1061085857610100808354040283529160200191610883565b820191906000526020600020905b81548152906001019060200180831161086657829003601f168201915b5050505050905090565b600061089882611730565b6108d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108ce90612dfb565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061091d82610d64565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561098e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161098590612e7b565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166109ad611728565b73ffffffffffffffffffffffffffffffffffffffff1614806109dc57506109db816109d6611728565b611532565b5b610a1b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a1290612d7b565b60405180910390fd5b610a25838361179c565b505050565b610a3b610a35611728565b82611855565b610a7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a7190612e9b565b60405180910390fd5b610a85838383611933565b505050565b60008060006041845114610ad3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aca90612d3b565b60405180910390fd5b6020840151925060408401519150606084015160001a90509193909250565b60606000610b006007611b8f565b67ffffffffffffffff811115610b3f577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015610b7257816020015b6060815260200190600190039081610b5d5790505b50905060005b610b826007611b8f565b811015610c7c57600a60008281526020019081526020016000208054610ba790613168565b80601f0160208091040260200160405190810160405280929190818152602001828054610bd390613168565b8015610c205780601f10610bf557610100808354040283529160200191610c20565b820191906000526020600020905b815481529060010190602001808311610c0357829003601f168201915b5050505050828281518110610c5e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101819052508080610c74906131cb565b915050610b78565b508091505090565b610c9f838383604051806020016040528060008152506113d2565b505050565b610cac611728565b73ffffffffffffffffffffffffffffffffffffffff16610cca611126565b73ffffffffffffffffffffffffffffffffffffffff1614610d20576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d1790612e3b565b60405180910390fd5b80600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610e0d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e0490612dbb565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610e87576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e7e90612d9b565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610ed6611728565b73ffffffffffffffffffffffffffffffffffffffff16610ef4611126565b73ffffffffffffffffffffffffffffffffffffffff1614610f4a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f4190612e3b565b60405180910390fd5b610f546000611b9d565b565b6000610f6283836111e2565b73ffffffffffffffffffffffffffffffffffffffff16600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610fbb57600080fd5b66d529ae9e860000341015610fcf57600080fd5b600854610fdc6007611b8f565b111561101d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161101490612c7b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415801561108657503073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614155b61108f57600080fd5b600061109b6007611b8f565b90506110c9600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1682611c63565b611106600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16868360405180602001604052806000815250611c81565b6111108187611cdd565b61111a6007611d51565b80915050949350505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606001805461115f90613168565b80601f016020809104026020016040519081016040528092919081815260200182805461118b90613168565b80156111d85780601f106111ad576101008083540402835291602001916111d8565b820191906000526020600020905b8154815290600101906020018083116111bb57829003601f168201915b5050505050905090565b6000806000806111f185610a8a565b9250925092506001868285856040516000815260200160405260405161121a9493929190612bf4565b6020604051602081039080840390855afa15801561123c573d6000803e3d6000fd5b50505060206040510351935050505092915050565b611259611728565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156112c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112be90612cfb565b60405180910390fd5b80600560006112d4611728565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611381611728565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516113c69190612ba2565b60405180910390a35050565b6113e36113dd611728565b83611855565b611422576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161141990612e9b565b60405180910390fd5b61142e84848484611c81565b50505050565b606061143f82611730565b61147e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161147590612ebb565b60405180910390fd5b600a6000838152602001908152602001600020805461149c90613168565b80601f01602080910402602001604051908101604052809291908181526020018280546114c890613168565b80156115155780601f106114ea57610100808354040283529160200191611515565b820191906000526020600020905b8154815290600101906020018083116114f857829003601f168201915b50505050509050919050565b600061152d6007611b8f565b905090565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6115ce611728565b73ffffffffffffffffffffffffffffffffffffffff166115ec611126565b73ffffffffffffffffffffffffffffffffffffffff1614611642576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161163990612e3b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156116b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116a990612c9b565b60405180910390fd5b6116bb81611b9d565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661180f83610d64565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061186082611730565b61189f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161189690612d5b565b60405180910390fd5b60006118aa83610d64565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061191957508373ffffffffffffffffffffffffffffffffffffffff166119018461088d565b73ffffffffffffffffffffffffffffffffffffffff16145b8061192a57506119298185611532565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661195382610d64565b73ffffffffffffffffffffffffffffffffffffffff16146119a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119a090612e5b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611a19576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a1090612cdb565b60405180910390fd5b611a24838383611d67565b611a2f60008261179c565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611a7f9190613055565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611ad69190612fff565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600081600001549050919050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b611c7d828260405180602001604052806000815250611d6c565b5050565b611c8c848484611933565b611c9884848484611dc7565b611cd7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cce90612c5b565b60405180910390fd5b50505050565b611ce682611730565b611d25576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d1c90612e1b565b60405180910390fd5b80600a60008481526020019081526020016000209080519060200190611d4c92919061213f565b505050565b6001816000016000828254019250508190555050565b505050565b611d768383611f5e565b611d836000848484611dc7565b611dc2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611db990612c5b565b60405180910390fd5b505050565b6000611de88473ffffffffffffffffffffffffffffffffffffffff1661212c565b15611f51578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02611e11611728565b8786866040518563ffffffff1660e01b8152600401611e339493929190612b34565b602060405180830381600087803b158015611e4d57600080fd5b505af1925050508015611e7e57506040513d601f19601f82011682018060405250810190611e7b9190612569565b60015b611f01573d8060008114611eae576040519150601f19603f3d011682016040523d82523d6000602084013e611eb3565b606091505b50600081511415611ef9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ef090612c5b565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050611f56565b600190505b949350505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611fce576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fc590612ddb565b60405180910390fd5b611fd781611730565b15612017576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161200e90612cbb565b60405180910390fd5b61202360008383611d67565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546120739190612fff565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b82805461214b90613168565b90600052602060002090601f01602090048101928261216d57600085556121b4565b82601f1061218657805160ff19168380011785556121b4565b828001600101855582156121b4579182015b828111156121b3578251825591602001919060010190612198565b5b5090506121c191906121c5565b5090565b5b808211156121de5760008160009055506001016121c6565b5090565b60006121f56121f084612f1b565b612ef6565b90508281526020810184848401111561220d57600080fd5b612218848285613126565b509392505050565b600061223361222e84612f4c565b612ef6565b90508281526020810184848401111561224b57600080fd5b612256848285613126565b509392505050565b60008135905061226d816137fa565b92915050565b60008135905061228281613811565b92915050565b60008135905061229781613828565b92915050565b6000813590506122ac8161383f565b92915050565b6000813590506122c181613856565b92915050565b6000815190506122d681613856565b92915050565b600082601f8301126122ed57600080fd5b81356122fd8482602086016121e2565b91505092915050565b600082601f83011261231757600080fd5b8135612327848260208601612220565b91505092915050565b60008135905061233f8161386d565b92915050565b60006020828403121561235757600080fd5b60006123658482850161225e565b91505092915050565b6000806040838503121561238157600080fd5b600061238f8582860161225e565b92505060206123a08582860161225e565b9150509250929050565b6000806000606084860312156123bf57600080fd5b60006123cd8682870161225e565b93505060206123de8682870161225e565b92505060406123ef86828701612330565b9150509250925092565b6000806000806080858703121561240f57600080fd5b600061241d8782880161225e565b945050602061242e8782880161225e565b935050604061243f87828801612330565b925050606085013567ffffffffffffffff81111561245c57600080fd5b612468878288016122dc565b91505092959194509250565b6000806040838503121561248757600080fd5b60006124958582860161225e565b92505060206124a685828601612288565b9150509250929050565b600080604083850312156124c357600080fd5b60006124d18582860161225e565b92505060206124e285828601612330565b9150509250929050565b600080604083850312156124ff57600080fd5b600061250d8582860161229d565b925050602083013567ffffffffffffffff81111561252a57600080fd5b612536858286016122dc565b9150509250929050565b60006020828403121561255257600080fd5b6000612560848285016122b2565b91505092915050565b60006020828403121561257b57600080fd5b6000612589848285016122c7565b91505092915050565b6000602082840312156125a457600080fd5b600082013567ffffffffffffffff8111156125be57600080fd5b6125ca848285016122dc565b91505092915050565b600080600080608085870312156125e957600080fd5b600085013567ffffffffffffffff81111561260357600080fd5b61260f87828801612306565b94505060206126208782880161225e565b93505060406126318782880161229d565b925050606085013567ffffffffffffffff81111561264e57600080fd5b61265a878288016122dc565b91505092959194509250565b60006020828403121561267857600080fd5b600061268684828501612330565b91505092915050565b6000806000606084860312156126a457600080fd5b60006126b286828701612330565b93505060206126c386828701612288565b92505060406126d486828701612273565b9150509250925092565b60006126ea83836127cd565b905092915050565b6126fb81613089565b82525050565b600061270c82612f8d565b6127168185612fbb565b93508360208202850161272885612f7d565b8060005b85811015612764578484038952815161274585826126de565b945061275083612fae565b925060208a0199505060018101905061272c565b50829750879550505050505092915050565b61277f816130ad565b82525050565b61278e816130b9565b82525050565b600061279f82612f98565b6127a98185612fcc565b93506127b9818560208601613135565b6127c2816132a1565b840191505092915050565b60006127d882612fa3565b6127e28185612fdd565b93506127f2818560208601613135565b6127fb816132a1565b840191505092915050565b600061281182612fa3565b61281b8185612fee565b935061282b818560208601613135565b612834816132a1565b840191505092915050565b600061284c603283612fee565b9150612857826132b2565b604082019050919050565b600061286f601683612fee565b915061287a82613301565b602082019050919050565b6000612892602683612fee565b915061289d8261332a565b604082019050919050565b60006128b5601c83612fee565b91506128c082613379565b602082019050919050565b60006128d8602483612fee565b91506128e3826133a2565b604082019050919050565b60006128fb601983612fee565b9150612906826133f1565b602082019050919050565b600061291e602383612fee565b91506129298261341a565b604082019050919050565b6000612941601283612fee565b915061294c82613469565b602082019050919050565b6000612964602c83612fee565b915061296f82613492565b604082019050919050565b6000612987603883612fee565b9150612992826134e1565b604082019050919050565b60006129aa602a83612fee565b91506129b582613530565b604082019050919050565b60006129cd602983612fee565b91506129d88261357f565b604082019050919050565b60006129f0602083612fee565b91506129fb826135ce565b602082019050919050565b6000612a13602c83612fee565b9150612a1e826135f7565b604082019050919050565b6000612a36602c83612fee565b9150612a4182613646565b604082019050919050565b6000612a59602083612fee565b9150612a6482613695565b602082019050919050565b6000612a7c602983612fee565b9150612a87826136be565b604082019050919050565b6000612a9f602183612fee565b9150612aaa8261370d565b604082019050919050565b6000612ac2603183612fee565b9150612acd8261375c565b604082019050919050565b6000612ae5602483612fee565b9150612af0826137ab565b604082019050919050565b612b048161310f565b82525050565b612b1381613119565b82525050565b6000602082019050612b2e60008301846126f2565b92915050565b6000608082019050612b4960008301876126f2565b612b5660208301866126f2565b612b636040830185612afb565b8181036060830152612b758184612794565b905095945050505050565b60006020820190508181036000830152612b9a8184612701565b905092915050565b6000602082019050612bb76000830184612776565b92915050565b6000606082019050612bd26000830186612785565b612bdf6020830185612785565b612bec6040830184612b0a565b949350505050565b6000608082019050612c096000830187612785565b612c166020830186612b0a565b612c236040830185612785565b612c306060830184612785565b95945050505050565b60006020820190508181036000830152612c538184612806565b905092915050565b60006020820190508181036000830152612c748161283f565b9050919050565b60006020820190508181036000830152612c9481612862565b9050919050565b60006020820190508181036000830152612cb481612885565b9050919050565b60006020820190508181036000830152612cd4816128a8565b9050919050565b60006020820190508181036000830152612cf4816128cb565b9050919050565b60006020820190508181036000830152612d14816128ee565b9050919050565b60006020820190508181036000830152612d3481612911565b9050919050565b60006020820190508181036000830152612d5481612934565b9050919050565b60006020820190508181036000830152612d7481612957565b9050919050565b60006020820190508181036000830152612d948161297a565b9050919050565b60006020820190508181036000830152612db48161299d565b9050919050565b60006020820190508181036000830152612dd4816129c0565b9050919050565b60006020820190508181036000830152612df4816129e3565b9050919050565b60006020820190508181036000830152612e1481612a06565b9050919050565b60006020820190508181036000830152612e3481612a29565b9050919050565b60006020820190508181036000830152612e5481612a4c565b9050919050565b60006020820190508181036000830152612e7481612a6f565b9050919050565b60006020820190508181036000830152612e9481612a92565b9050919050565b60006020820190508181036000830152612eb481612ab5565b9050919050565b60006020820190508181036000830152612ed481612ad8565b9050919050565b6000602082019050612ef06000830184612afb565b92915050565b6000612f00612f11565b9050612f0c828261319a565b919050565b6000604051905090565b600067ffffffffffffffff821115612f3657612f35613272565b5b612f3f826132a1565b9050602081019050919050565b600067ffffffffffffffff821115612f6757612f66613272565b5b612f70826132a1565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600061300a8261310f565b91506130158361310f565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561304a57613049613214565b5b828201905092915050565b60006130608261310f565b915061306b8361310f565b92508282101561307e5761307d613214565b5b828203905092915050565b6000613094826130ef565b9050919050565b60006130a6826130ef565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b83811015613153578082015181840152602081019050613138565b83811115613162576000848401525b50505050565b6000600282049050600182168061318057607f821691505b6020821081141561319457613193613243565b5b50919050565b6131a3826132a1565b810181811067ffffffffffffffff821117156131c2576131c1613272565b5b80604052505050565b60006131d68261310f565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561320957613208613214565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4d7574746e696b732061726520736f6c64206f75742100000000000000000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f436f6e7472616374206973206e6f7420776f7274682074686174206d7563682060008201527f7965740000000000000000000000000000000000000000000000000000000000602082015250565b7f736967206e6f742072696768742073697a650000000000000000000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920736574206f66206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f546f6b656e55524920717565727920666f72206e6f6e6578697374656e74207460008201527f6f6b656e00000000000000000000000000000000000000000000000000000000602082015250565b61380381613089565b811461380e57600080fd5b50565b61381a8161309b565b811461382557600080fd5b50565b613831816130ad565b811461383c57600080fd5b50565b613848816130b9565b811461385357600080fd5b50565b61385f816130c3565b811461386a57600080fd5b50565b6138768161310f565b811461388157600080fd5b5056fea264697066735822122037816a8548b0eaa337ab73e4c5c3bfe542c395541d02a2d736e22a3f4be7f97964736f6c63430008040033000000000000000000000000e6af29396ee3902b1d0a521be5ccf078b55aa867

Deployed Bytecode

0x6080604052600436106101405760003560e01c806370a08231116100b6578063a22cb4651161006f578063a22cb46514610489578063b88d4fde146104b2578063c87b56dd146104db578063cce4752e14610518578063e985e9c514610543578063f2fde38b1461058057610140565b806370a0823114610372578063715018a6146103af5780637acfc9f5146103c65780638da5cb5b146103f657806395d89b4114610421578063965fe7fa1461044c57610140565b806323b872dd1161010857806323b872dd146102505780633846a800146102795780633bcb4a08146102b857806342842e0e146102e35780635c94395a1461030c5780636352211e1461033557610140565b806301ffc9a71461014557806303163d551461018257806306fdde03146101bf578063081812fc146101ea578063095ea7b314610227575b600080fd5b34801561015157600080fd5b5061016c60048036038101906101679190612540565b6105a9565b6040516101799190612ba2565b60405180910390f35b34801561018e57600080fd5b506101a960048036038101906101a4919061268f565b61068b565b6040516101b69190612ba2565b60405180910390f35b3480156101cb57600080fd5b506101d46107fb565b6040516101e19190612c39565b60405180910390f35b3480156101f657600080fd5b50610211600480360381019061020c9190612666565b61088d565b60405161021e9190612b19565b60405180910390f35b34801561023357600080fd5b5061024e600480360381019061024991906124b0565b610912565b005b34801561025c57600080fd5b50610277600480360381019061027291906123aa565b610a2a565b005b34801561028557600080fd5b506102a0600480360381019061029b9190612592565b610a8a565b6040516102af93929190612bbd565b60405180910390f35b3480156102c457600080fd5b506102cd610af2565b6040516102da9190612b80565b60405180910390f35b3480156102ef57600080fd5b5061030a600480360381019061030591906123aa565b610c84565b005b34801561031857600080fd5b50610333600480360381019061032e9190612345565b610ca4565b005b34801561034157600080fd5b5061035c60048036038101906103579190612666565b610d64565b6040516103699190612b19565b60405180910390f35b34801561037e57600080fd5b5061039960048036038101906103949190612345565b610e16565b6040516103a69190612edb565b60405180910390f35b3480156103bb57600080fd5b506103c4610ece565b005b6103e060048036038101906103db91906125d3565b610f56565b6040516103ed9190612edb565b60405180910390f35b34801561040257600080fd5b5061040b611126565b6040516104189190612b19565b60405180910390f35b34801561042d57600080fd5b50610436611150565b6040516104439190612c39565b60405180910390f35b34801561045857600080fd5b50610473600480360381019061046e91906124ec565b6111e2565b6040516104809190612b19565b60405180910390f35b34801561049557600080fd5b506104b060048036038101906104ab9190612474565b611251565b005b3480156104be57600080fd5b506104d960048036038101906104d491906123f9565b6113d2565b005b3480156104e757600080fd5b5061050260048036038101906104fd9190612666565b611434565b60405161050f9190612c39565b60405180910390f35b34801561052457600080fd5b5061052d611521565b60405161053a9190612edb565b60405180910390f35b34801561054f57600080fd5b5061056a6004803603810190610565919061236e565b611532565b6040516105779190612ba2565b60405180910390f35b34801561058c57600080fd5b506105a760048036038101906105a29190612345565b6115c6565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061067457507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806106845750610683826116be565b5b9050919050565b6000610695611728565b73ffffffffffffffffffffffffffffffffffffffff166106b3611126565b73ffffffffffffffffffffffffffffffffffffffff1614610709576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161070090612e3b565b60405180910390fd5b600115158315151415610766578173ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f1935050505015801561075c573d6000803e3d6000fd5b50600190506107f4565b4784106107a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161079f90612d1b565b60405180910390fd5b8173ffffffffffffffffffffffffffffffffffffffff166108fc859081150290604051600060405180830381858888f193505050501580156107ee573d6000803e3d6000fd5b50600190505b9392505050565b60606000805461080a90613168565b80601f016020809104026020016040519081016040528092919081815260200182805461083690613168565b80156108835780601f1061085857610100808354040283529160200191610883565b820191906000526020600020905b81548152906001019060200180831161086657829003601f168201915b5050505050905090565b600061089882611730565b6108d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108ce90612dfb565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061091d82610d64565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561098e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161098590612e7b565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166109ad611728565b73ffffffffffffffffffffffffffffffffffffffff1614806109dc57506109db816109d6611728565b611532565b5b610a1b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a1290612d7b565b60405180910390fd5b610a25838361179c565b505050565b610a3b610a35611728565b82611855565b610a7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a7190612e9b565b60405180910390fd5b610a85838383611933565b505050565b60008060006041845114610ad3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aca90612d3b565b60405180910390fd5b6020840151925060408401519150606084015160001a90509193909250565b60606000610b006007611b8f565b67ffffffffffffffff811115610b3f577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015610b7257816020015b6060815260200190600190039081610b5d5790505b50905060005b610b826007611b8f565b811015610c7c57600a60008281526020019081526020016000208054610ba790613168565b80601f0160208091040260200160405190810160405280929190818152602001828054610bd390613168565b8015610c205780601f10610bf557610100808354040283529160200191610c20565b820191906000526020600020905b815481529060010190602001808311610c0357829003601f168201915b5050505050828281518110610c5e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101819052508080610c74906131cb565b915050610b78565b508091505090565b610c9f838383604051806020016040528060008152506113d2565b505050565b610cac611728565b73ffffffffffffffffffffffffffffffffffffffff16610cca611126565b73ffffffffffffffffffffffffffffffffffffffff1614610d20576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d1790612e3b565b60405180910390fd5b80600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610e0d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e0490612dbb565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610e87576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e7e90612d9b565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610ed6611728565b73ffffffffffffffffffffffffffffffffffffffff16610ef4611126565b73ffffffffffffffffffffffffffffffffffffffff1614610f4a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f4190612e3b565b60405180910390fd5b610f546000611b9d565b565b6000610f6283836111e2565b73ffffffffffffffffffffffffffffffffffffffff16600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610fbb57600080fd5b66d529ae9e860000341015610fcf57600080fd5b600854610fdc6007611b8f565b111561101d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161101490612c7b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415801561108657503073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614155b61108f57600080fd5b600061109b6007611b8f565b90506110c9600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1682611c63565b611106600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16868360405180602001604052806000815250611c81565b6111108187611cdd565b61111a6007611d51565b80915050949350505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606001805461115f90613168565b80601f016020809104026020016040519081016040528092919081815260200182805461118b90613168565b80156111d85780601f106111ad576101008083540402835291602001916111d8565b820191906000526020600020905b8154815290600101906020018083116111bb57829003601f168201915b5050505050905090565b6000806000806111f185610a8a565b9250925092506001868285856040516000815260200160405260405161121a9493929190612bf4565b6020604051602081039080840390855afa15801561123c573d6000803e3d6000fd5b50505060206040510351935050505092915050565b611259611728565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156112c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112be90612cfb565b60405180910390fd5b80600560006112d4611728565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611381611728565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516113c69190612ba2565b60405180910390a35050565b6113e36113dd611728565b83611855565b611422576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161141990612e9b565b60405180910390fd5b61142e84848484611c81565b50505050565b606061143f82611730565b61147e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161147590612ebb565b60405180910390fd5b600a6000838152602001908152602001600020805461149c90613168565b80601f01602080910402602001604051908101604052809291908181526020018280546114c890613168565b80156115155780601f106114ea57610100808354040283529160200191611515565b820191906000526020600020905b8154815290600101906020018083116114f857829003601f168201915b50505050509050919050565b600061152d6007611b8f565b905090565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6115ce611728565b73ffffffffffffffffffffffffffffffffffffffff166115ec611126565b73ffffffffffffffffffffffffffffffffffffffff1614611642576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161163990612e3b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156116b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116a990612c9b565b60405180910390fd5b6116bb81611b9d565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661180f83610d64565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061186082611730565b61189f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161189690612d5b565b60405180910390fd5b60006118aa83610d64565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061191957508373ffffffffffffffffffffffffffffffffffffffff166119018461088d565b73ffffffffffffffffffffffffffffffffffffffff16145b8061192a57506119298185611532565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661195382610d64565b73ffffffffffffffffffffffffffffffffffffffff16146119a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119a090612e5b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611a19576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a1090612cdb565b60405180910390fd5b611a24838383611d67565b611a2f60008261179c565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611a7f9190613055565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611ad69190612fff565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600081600001549050919050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b611c7d828260405180602001604052806000815250611d6c565b5050565b611c8c848484611933565b611c9884848484611dc7565b611cd7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cce90612c5b565b60405180910390fd5b50505050565b611ce682611730565b611d25576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d1c90612e1b565b60405180910390fd5b80600a60008481526020019081526020016000209080519060200190611d4c92919061213f565b505050565b6001816000016000828254019250508190555050565b505050565b611d768383611f5e565b611d836000848484611dc7565b611dc2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611db990612c5b565b60405180910390fd5b505050565b6000611de88473ffffffffffffffffffffffffffffffffffffffff1661212c565b15611f51578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02611e11611728565b8786866040518563ffffffff1660e01b8152600401611e339493929190612b34565b602060405180830381600087803b158015611e4d57600080fd5b505af1925050508015611e7e57506040513d601f19601f82011682018060405250810190611e7b9190612569565b60015b611f01573d8060008114611eae576040519150601f19603f3d011682016040523d82523d6000602084013e611eb3565b606091505b50600081511415611ef9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ef090612c5b565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050611f56565b600190505b949350505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611fce576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fc590612ddb565b60405180910390fd5b611fd781611730565b15612017576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161200e90612cbb565b60405180910390fd5b61202360008383611d67565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546120739190612fff565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b82805461214b90613168565b90600052602060002090601f01602090048101928261216d57600085556121b4565b82601f1061218657805160ff19168380011785556121b4565b828001600101855582156121b4579182015b828111156121b3578251825591602001919060010190612198565b5b5090506121c191906121c5565b5090565b5b808211156121de5760008160009055506001016121c6565b5090565b60006121f56121f084612f1b565b612ef6565b90508281526020810184848401111561220d57600080fd5b612218848285613126565b509392505050565b600061223361222e84612f4c565b612ef6565b90508281526020810184848401111561224b57600080fd5b612256848285613126565b509392505050565b60008135905061226d816137fa565b92915050565b60008135905061228281613811565b92915050565b60008135905061229781613828565b92915050565b6000813590506122ac8161383f565b92915050565b6000813590506122c181613856565b92915050565b6000815190506122d681613856565b92915050565b600082601f8301126122ed57600080fd5b81356122fd8482602086016121e2565b91505092915050565b600082601f83011261231757600080fd5b8135612327848260208601612220565b91505092915050565b60008135905061233f8161386d565b92915050565b60006020828403121561235757600080fd5b60006123658482850161225e565b91505092915050565b6000806040838503121561238157600080fd5b600061238f8582860161225e565b92505060206123a08582860161225e565b9150509250929050565b6000806000606084860312156123bf57600080fd5b60006123cd8682870161225e565b93505060206123de8682870161225e565b92505060406123ef86828701612330565b9150509250925092565b6000806000806080858703121561240f57600080fd5b600061241d8782880161225e565b945050602061242e8782880161225e565b935050604061243f87828801612330565b925050606085013567ffffffffffffffff81111561245c57600080fd5b612468878288016122dc565b91505092959194509250565b6000806040838503121561248757600080fd5b60006124958582860161225e565b92505060206124a685828601612288565b9150509250929050565b600080604083850312156124c357600080fd5b60006124d18582860161225e565b92505060206124e285828601612330565b9150509250929050565b600080604083850312156124ff57600080fd5b600061250d8582860161229d565b925050602083013567ffffffffffffffff81111561252a57600080fd5b612536858286016122dc565b9150509250929050565b60006020828403121561255257600080fd5b6000612560848285016122b2565b91505092915050565b60006020828403121561257b57600080fd5b6000612589848285016122c7565b91505092915050565b6000602082840312156125a457600080fd5b600082013567ffffffffffffffff8111156125be57600080fd5b6125ca848285016122dc565b91505092915050565b600080600080608085870312156125e957600080fd5b600085013567ffffffffffffffff81111561260357600080fd5b61260f87828801612306565b94505060206126208782880161225e565b93505060406126318782880161229d565b925050606085013567ffffffffffffffff81111561264e57600080fd5b61265a878288016122dc565b91505092959194509250565b60006020828403121561267857600080fd5b600061268684828501612330565b91505092915050565b6000806000606084860312156126a457600080fd5b60006126b286828701612330565b93505060206126c386828701612288565b92505060406126d486828701612273565b9150509250925092565b60006126ea83836127cd565b905092915050565b6126fb81613089565b82525050565b600061270c82612f8d565b6127168185612fbb565b93508360208202850161272885612f7d565b8060005b85811015612764578484038952815161274585826126de565b945061275083612fae565b925060208a0199505060018101905061272c565b50829750879550505050505092915050565b61277f816130ad565b82525050565b61278e816130b9565b82525050565b600061279f82612f98565b6127a98185612fcc565b93506127b9818560208601613135565b6127c2816132a1565b840191505092915050565b60006127d882612fa3565b6127e28185612fdd565b93506127f2818560208601613135565b6127fb816132a1565b840191505092915050565b600061281182612fa3565b61281b8185612fee565b935061282b818560208601613135565b612834816132a1565b840191505092915050565b600061284c603283612fee565b9150612857826132b2565b604082019050919050565b600061286f601683612fee565b915061287a82613301565b602082019050919050565b6000612892602683612fee565b915061289d8261332a565b604082019050919050565b60006128b5601c83612fee565b91506128c082613379565b602082019050919050565b60006128d8602483612fee565b91506128e3826133a2565b604082019050919050565b60006128fb601983612fee565b9150612906826133f1565b602082019050919050565b600061291e602383612fee565b91506129298261341a565b604082019050919050565b6000612941601283612fee565b915061294c82613469565b602082019050919050565b6000612964602c83612fee565b915061296f82613492565b604082019050919050565b6000612987603883612fee565b9150612992826134e1565b604082019050919050565b60006129aa602a83612fee565b91506129b582613530565b604082019050919050565b60006129cd602983612fee565b91506129d88261357f565b604082019050919050565b60006129f0602083612fee565b91506129fb826135ce565b602082019050919050565b6000612a13602c83612fee565b9150612a1e826135f7565b604082019050919050565b6000612a36602c83612fee565b9150612a4182613646565b604082019050919050565b6000612a59602083612fee565b9150612a6482613695565b602082019050919050565b6000612a7c602983612fee565b9150612a87826136be565b604082019050919050565b6000612a9f602183612fee565b9150612aaa8261370d565b604082019050919050565b6000612ac2603183612fee565b9150612acd8261375c565b604082019050919050565b6000612ae5602483612fee565b9150612af0826137ab565b604082019050919050565b612b048161310f565b82525050565b612b1381613119565b82525050565b6000602082019050612b2e60008301846126f2565b92915050565b6000608082019050612b4960008301876126f2565b612b5660208301866126f2565b612b636040830185612afb565b8181036060830152612b758184612794565b905095945050505050565b60006020820190508181036000830152612b9a8184612701565b905092915050565b6000602082019050612bb76000830184612776565b92915050565b6000606082019050612bd26000830186612785565b612bdf6020830185612785565b612bec6040830184612b0a565b949350505050565b6000608082019050612c096000830187612785565b612c166020830186612b0a565b612c236040830185612785565b612c306060830184612785565b95945050505050565b60006020820190508181036000830152612c538184612806565b905092915050565b60006020820190508181036000830152612c748161283f565b9050919050565b60006020820190508181036000830152612c9481612862565b9050919050565b60006020820190508181036000830152612cb481612885565b9050919050565b60006020820190508181036000830152612cd4816128a8565b9050919050565b60006020820190508181036000830152612cf4816128cb565b9050919050565b60006020820190508181036000830152612d14816128ee565b9050919050565b60006020820190508181036000830152612d3481612911565b9050919050565b60006020820190508181036000830152612d5481612934565b9050919050565b60006020820190508181036000830152612d7481612957565b9050919050565b60006020820190508181036000830152612d948161297a565b9050919050565b60006020820190508181036000830152612db48161299d565b9050919050565b60006020820190508181036000830152612dd4816129c0565b9050919050565b60006020820190508181036000830152612df4816129e3565b9050919050565b60006020820190508181036000830152612e1481612a06565b9050919050565b60006020820190508181036000830152612e3481612a29565b9050919050565b60006020820190508181036000830152612e5481612a4c565b9050919050565b60006020820190508181036000830152612e7481612a6f565b9050919050565b60006020820190508181036000830152612e9481612a92565b9050919050565b60006020820190508181036000830152612eb481612ab5565b9050919050565b60006020820190508181036000830152612ed481612ad8565b9050919050565b6000602082019050612ef06000830184612afb565b92915050565b6000612f00612f11565b9050612f0c828261319a565b919050565b6000604051905090565b600067ffffffffffffffff821115612f3657612f35613272565b5b612f3f826132a1565b9050602081019050919050565b600067ffffffffffffffff821115612f6757612f66613272565b5b612f70826132a1565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600061300a8261310f565b91506130158361310f565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561304a57613049613214565b5b828201905092915050565b60006130608261310f565b915061306b8361310f565b92508282101561307e5761307d613214565b5b828203905092915050565b6000613094826130ef565b9050919050565b60006130a6826130ef565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b83811015613153578082015181840152602081019050613138565b83811115613162576000848401525b50505050565b6000600282049050600182168061318057607f821691505b6020821081141561319457613193613243565b5b50919050565b6131a3826132a1565b810181811067ffffffffffffffff821117156131c2576131c1613272565b5b80604052505050565b60006131d68261310f565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561320957613208613214565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4d7574746e696b732061726520736f6c64206f75742100000000000000000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f436f6e7472616374206973206e6f7420776f7274682074686174206d7563682060008201527f7965740000000000000000000000000000000000000000000000000000000000602082015250565b7f736967206e6f742072696768742073697a650000000000000000000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920736574206f66206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f546f6b656e55524920717565727920666f72206e6f6e6578697374656e74207460008201527f6f6b656e00000000000000000000000000000000000000000000000000000000602082015250565b61380381613089565b811461380e57600080fd5b50565b61381a8161309b565b811461382557600080fd5b50565b613831816130ad565b811461383c57600080fd5b50565b613848816130b9565b811461385357600080fd5b50565b61385f816130c3565b811461386a57600080fd5b50565b6138768161310f565b811461388157600080fd5b5056fea264697066735822122037816a8548b0eaa337ab73e4c5c3bfe542c395541d02a2d736e22a3f4be7f97964736f6c63430008040033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

000000000000000000000000e6af29396ee3902b1d0a521be5ccf078b55aa867

-----Decoded View---------------
Arg [0] : verificationaccount (address): 0xe6af29396Ee3902b1d0a521be5CCf078b55aa867

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000e6af29396ee3902b1d0a521be5ccf078b55aa867


Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

OVERVIEW

Muttniks by Cosmic Paws is a NFT project where collectors interact directly with their random generator, allowing the community to determine rarity.

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.