ETH Price: $3,128.79 (+1.63%)

Token

Vault Key (VK)
 

Overview

Max Total Supply

93 VK

Holders

68

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 VK
0x320ad6fb5283b94fa807c0974815243fa52eeb81
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
VaultKey

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
Yes with 800 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2022-09-29
*/

// File: @openzeppelin/contracts/utils/Counters.sol


// OpenZeppelin Contracts v4.4.1 (utils/Counters.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

// File: @openzeppelin/contracts/utils/structs/EnumerableSet.sol


// OpenZeppelin Contracts (last updated v4.7.0) (utils/structs/EnumerableSet.sol)

pragma solidity ^0.8.0;

/**
 * @dev Library for managing
 * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive
 * types.
 *
 * Sets have the following properties:
 *
 * - Elements are added, removed, and checked for existence in constant time
 * (O(1)).
 * - Elements are enumerated in O(n). No guarantees are made on the ordering.
 *
 * ```
 * contract Example {
 *     // Add the library methods
 *     using EnumerableSet for EnumerableSet.AddressSet;
 *
 *     // Declare a set state variable
 *     EnumerableSet.AddressSet private mySet;
 * }
 * ```
 *
 * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)
 * and `uint256` (`UintSet`) are supported.
 *
 * [WARNING]
 * ====
 *  Trying to delete such a structure from storage will likely result in data corruption, rendering the structure unusable.
 *  See https://github.com/ethereum/solidity/pull/11843[ethereum/solidity#11843] for more info.
 *
 *  In order to clean an EnumerableSet, you can either remove all elements one by one or create a fresh instance using an array of EnumerableSet.
 * ====
 */
library EnumerableSet {
    // To implement this library for multiple types with as little code
    // repetition as possible, we write it in terms of a generic Set type with
    // bytes32 values.
    // The Set implementation uses private functions, and user-facing
    // implementations (such as AddressSet) are just wrappers around the
    // underlying Set.
    // This means that we can only create new EnumerableSets for types that fit
    // in bytes32.

    struct Set {
        // Storage of set values
        bytes32[] _values;
        // Position of the value in the `values` array, plus 1 because index 0
        // means a value is not in the set.
        mapping(bytes32 => uint256) _indexes;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function _add(Set storage set, bytes32 value) private returns (bool) {
        if (!_contains(set, value)) {
            set._values.push(value);
            // The value is stored at length-1, but we add 1 to all indexes
            // and use 0 as a sentinel value
            set._indexes[value] = set._values.length;
            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function _remove(Set storage set, bytes32 value) private returns (bool) {
        // We read and store the value's index to prevent multiple reads from the same storage slot
        uint256 valueIndex = set._indexes[value];

        if (valueIndex != 0) {
            // Equivalent to contains(set, value)
            // To delete an element from the _values array in O(1), we swap the element to delete with the last one in
            // the array, and then remove the last element (sometimes called as 'swap and pop').
            // This modifies the order of the array, as noted in {at}.

            uint256 toDeleteIndex = valueIndex - 1;
            uint256 lastIndex = set._values.length - 1;

            if (lastIndex != toDeleteIndex) {
                bytes32 lastValue = set._values[lastIndex];

                // Move the last value to the index where the value to delete is
                set._values[toDeleteIndex] = lastValue;
                // Update the index for the moved value
                set._indexes[lastValue] = valueIndex; // Replace lastValue's index to valueIndex
            }

            // Delete the slot where the moved value was stored
            set._values.pop();

            // Delete the index for the deleted slot
            delete set._indexes[value];

            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function _contains(Set storage set, bytes32 value) private view returns (bool) {
        return set._indexes[value] != 0;
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function _length(Set storage set) private view returns (uint256) {
        return set._values.length;
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function _at(Set storage set, uint256 index) private view returns (bytes32) {
        return set._values[index];
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function _values(Set storage set) private view returns (bytes32[] memory) {
        return set._values;
    }

    // Bytes32Set

    struct Bytes32Set {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(Bytes32Set storage set, bytes32 value) internal returns (bool) {
        return _add(set._inner, value);
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) {
        return _remove(set._inner, value);
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) {
        return _contains(set._inner, value);
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(Bytes32Set storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) {
        return _at(set._inner, index);
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(Bytes32Set storage set) internal view returns (bytes32[] memory) {
        return _values(set._inner);
    }

    // AddressSet

    struct AddressSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(AddressSet storage set, address value) internal returns (bool) {
        return _add(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(AddressSet storage set, address value) internal returns (bool) {
        return _remove(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(AddressSet storage set, address value) internal view returns (bool) {
        return _contains(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(AddressSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(AddressSet storage set, uint256 index) internal view returns (address) {
        return address(uint160(uint256(_at(set._inner, index))));
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(AddressSet storage set) internal view returns (address[] memory) {
        bytes32[] memory store = _values(set._inner);
        address[] memory result;

        /// @solidity memory-safe-assembly
        assembly {
            result := store
        }

        return result;
    }

    // UintSet

    struct UintSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(UintSet storage set, uint256 value) internal returns (bool) {
        return _add(set._inner, bytes32(value));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(UintSet storage set, uint256 value) internal returns (bool) {
        return _remove(set._inner, bytes32(value));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(UintSet storage set, uint256 value) internal view returns (bool) {
        return _contains(set._inner, bytes32(value));
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function length(UintSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(UintSet storage set, uint256 index) internal view returns (uint256) {
        return uint256(_at(set._inner, index));
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(UintSet storage set) internal view returns (uint256[] memory) {
        bytes32[] memory store = _values(set._inner);
        uint256[] memory result;

        /// @solidity memory-safe-assembly
        assembly {
            result := store
        }

        return result;
    }
}

// File: @openzeppelin/contracts/access/IAccessControl.sol


// OpenZeppelin Contracts v4.4.1 (access/IAccessControl.sol)

pragma solidity ^0.8.0;

/**
 * @dev External interface of AccessControl declared to support ERC165 detection.
 */
interface IAccessControl {
    /**
     * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`
     *
     * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite
     * {RoleAdminChanged} not being emitted signaling this.
     *
     * _Available since v3.1._
     */
    event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole);

    /**
     * @dev Emitted when `account` is granted `role`.
     *
     * `sender` is the account that originated the contract call, an admin role
     * bearer except when using {AccessControl-_setupRole}.
     */
    event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Emitted when `account` is revoked `role`.
     *
     * `sender` is the account that originated the contract call:
     *   - if using `revokeRole`, it is the admin role bearer
     *   - if using `renounceRole`, it is the role bearer (i.e. `account`)
     */
    event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) external view returns (bool);

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {AccessControl-_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) external view returns (bytes32);

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account) external;

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) external;

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been granted `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     */
    function renounceRole(bytes32 role, address account) external;
}

// File: @openzeppelin/contracts/access/IAccessControlEnumerable.sol


// OpenZeppelin Contracts v4.4.1 (access/IAccessControlEnumerable.sol)

pragma solidity ^0.8.0;


/**
 * @dev External interface of AccessControlEnumerable declared to support ERC165 detection.
 */
interface IAccessControlEnumerable is IAccessControl {
    /**
     * @dev Returns one of the accounts that have `role`. `index` must be a
     * value between 0 and {getRoleMemberCount}, non-inclusive.
     *
     * Role bearers are not sorted in any particular way, and their ordering may
     * change at any point.
     *
     * WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure
     * you perform all queries on the same block. See the following
     * https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post]
     * for more information.
     */
    function getRoleMember(bytes32 role, uint256 index) external view returns (address);

    /**
     * @dev Returns the number of accounts that have `role`. Can be used
     * together with {getRoleMember} to enumerate all bearers of a role.
     */
    function getRoleMemberCount(bytes32 role) external view returns (uint256);
}

// File: @openzeppelin/contracts/utils/Strings.sol


// OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";
    uint8 private constant _ADDRESS_LENGTH = 20;

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        // Inspired by OraclizeAPI's implementation - MIT licence
        // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol

        if (value == 0) {
            return "0";
        }
        uint256 temp = value;
        uint256 digits;
        while (temp != 0) {
            digits++;
            temp /= 10;
        }
        bytes memory buffer = new bytes(digits);
        while (value != 0) {
            digits -= 1;
            buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
            value /= 10;
        }
        return string(buffer);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        if (value == 0) {
            return "0x00";
        }
        uint256 temp = value;
        uint256 length = 0;
        while (temp != 0) {
            length++;
            temp >>= 8;
        }
        return toHexString(value, length);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
     */
    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
        bytes memory buffer = new bytes(2 * length + 2);
        buffer[0] = "0";
        buffer[1] = "x";
        for (uint256 i = 2 * length + 1; i > 1; --i) {
            buffer[i] = _HEX_SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }

    /**
     * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation.
     */
    function toHexString(address addr) internal pure returns (string memory) {
        return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH);
    }
}

// File: @openzeppelin/contracts/utils/Context.sol


// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

/**
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}

// File: @openzeppelin/contracts/security/Pausable.sol


// OpenZeppelin Contracts (last updated v4.7.0) (security/Pausable.sol)

pragma solidity ^0.8.0;


/**
 * @dev Contract module which allows children to implement an emergency stop
 * mechanism that can be triggered by an authorized account.
 *
 * This module is used through inheritance. It will make available the
 * modifiers `whenNotPaused` and `whenPaused`, which can be applied to
 * the functions of your contract. Note that they will not be pausable by
 * simply including this module, only once the modifiers are put in place.
 */
abstract contract Pausable is Context {
    /**
     * @dev Emitted when the pause is triggered by `account`.
     */
    event Paused(address account);

    /**
     * @dev Emitted when the pause is lifted by `account`.
     */
    event Unpaused(address account);

    bool private _paused;

    /**
     * @dev Initializes the contract in unpaused state.
     */
    constructor() {
        _paused = false;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is not paused.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    modifier whenNotPaused() {
        _requireNotPaused();
        _;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is paused.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    modifier whenPaused() {
        _requirePaused();
        _;
    }

    /**
     * @dev Returns true if the contract is paused, and false otherwise.
     */
    function paused() public view virtual returns (bool) {
        return _paused;
    }

    /**
     * @dev Throws if the contract is paused.
     */
    function _requireNotPaused() internal view virtual {
        require(!paused(), "Pausable: paused");
    }

    /**
     * @dev Throws if the contract is not paused.
     */
    function _requirePaused() internal view virtual {
        require(paused(), "Pausable: not paused");
    }

    /**
     * @dev Triggers stopped state.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    function _pause() internal virtual whenNotPaused {
        _paused = true;
        emit Paused(_msgSender());
    }

    /**
     * @dev Returns to normal state.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    function _unpause() internal virtual whenPaused {
        _paused = false;
        emit Unpaused(_msgSender());
    }
}

// File: @openzeppelin/contracts/utils/Address.sol


// OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        (bool success, ) = recipient.call{value: amount}("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain `call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionCall(target, data, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        require(isContract(target), "Address: call to non-contract");

        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");

        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly
                /// @solidity memory-safe-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

// File: @openzeppelin/contracts/token/ERC721/IERC721Receiver.sol


// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

/**
 * @title ERC721 token receiver interface
 * @dev Interface for any contract that wants to support safeTransfers
 * from ERC721 asset contracts.
 */
interface IERC721Receiver {
    /**
     * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}
     * by `operator` from `from`, this function is called.
     *
     * It must return its Solidity selector to confirm the token transfer.
     * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.
     *
     * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

// File: @openzeppelin/contracts/utils/introspection/IERC165.sol


// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC165 standard, as defined in the
 * https://eips.ethereum.org/EIPS/eip-165[EIP].
 *
 * Implementers can declare support of contract interfaces, which can then be
 * queried by others ({ERC165Checker}).
 *
 * For an implementation, see {ERC165}.
 */
interface IERC165 {
    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
}

// File: @openzeppelin/contracts/utils/introspection/ERC165.sol


// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;


/**
 * @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: @openzeppelin/contracts/access/AccessControl.sol


// OpenZeppelin Contracts (last updated v4.7.0) (access/AccessControl.sol)

pragma solidity ^0.8.0;





/**
 * @dev Contract module that allows children to implement role-based access
 * control mechanisms. This is a lightweight version that doesn't allow enumerating role
 * members except through off-chain means by accessing the contract event logs. Some
 * applications may benefit from on-chain enumerability, for those cases see
 * {AccessControlEnumerable}.
 *
 * Roles are referred to by their `bytes32` identifier. These should be exposed
 * in the external API and be unique. The best way to achieve this is by
 * using `public constant` hash digests:
 *
 * ```
 * bytes32 public constant MY_ROLE = keccak256("MY_ROLE");
 * ```
 *
 * Roles can be used to represent a set of permissions. To restrict access to a
 * function call, use {hasRole}:
 *
 * ```
 * function foo() public {
 *     require(hasRole(MY_ROLE, msg.sender));
 *     ...
 * }
 * ```
 *
 * Roles can be granted and revoked dynamically via the {grantRole} and
 * {revokeRole} functions. Each role has an associated admin role, and only
 * accounts that have a role's admin role can call {grantRole} and {revokeRole}.
 *
 * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means
 * that only accounts with this role will be able to grant or revoke other
 * roles. More complex role relationships can be created by using
 * {_setRoleAdmin}.
 *
 * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to
 * grant and revoke this role. Extra precautions should be taken to secure
 * accounts that have been granted it.
 */
abstract contract AccessControl is Context, IAccessControl, ERC165 {
    struct RoleData {
        mapping(address => bool) members;
        bytes32 adminRole;
    }

    mapping(bytes32 => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

    /**
     * @dev Modifier that checks that an account has a specific role. Reverts
     * with a standardized message including the required role.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     *
     * _Available since v4.1._
     */
    modifier onlyRole(bytes32 role) {
        _checkRole(role);
        _;
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IAccessControl).interfaceId || super.supportsInterface(interfaceId);
    }

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) public view virtual override returns (bool) {
        return _roles[role].members[account];
    }

    /**
     * @dev Revert with a standard message if `_msgSender()` is missing `role`.
     * Overriding this function changes the behavior of the {onlyRole} modifier.
     *
     * Format of the revert message is described in {_checkRole}.
     *
     * _Available since v4.6._
     */
    function _checkRole(bytes32 role) internal view virtual {
        _checkRole(role, _msgSender());
    }

    /**
     * @dev Revert with a standard message if `account` is missing `role`.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     */
    function _checkRole(bytes32 role, address account) internal view virtual {
        if (!hasRole(role, account)) {
            revert(
                string(
                    abi.encodePacked(
                        "AccessControl: account ",
                        Strings.toHexString(uint160(account), 20),
                        " is missing role ",
                        Strings.toHexString(uint256(role), 32)
                    )
                )
            );
        }
    }

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) public view virtual override returns (bytes32) {
        return _roles[role].adminRole;
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     *
     * May emit a {RoleGranted} event.
     */
    function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _grantRole(role, account);
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     *
     * May emit a {RoleRevoked} event.
     */
    function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _revokeRole(role, account);
    }

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been revoked `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     *
     * May emit a {RoleRevoked} event.
     */
    function renounceRole(bytes32 role, address account) public virtual override {
        require(account == _msgSender(), "AccessControl: can only renounce roles for self");

        _revokeRole(role, account);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event. Note that unlike {grantRole}, this function doesn't perform any
     * checks on the calling account.
     *
     * May emit a {RoleGranted} event.
     *
     * [WARNING]
     * ====
     * This function should only be called from the constructor when setting
     * up the initial roles for the system.
     *
     * Using this function in any other way is effectively circumventing the admin
     * system imposed by {AccessControl}.
     * ====
     *
     * NOTE: This function is deprecated in favor of {_grantRole}.
     */
    function _setupRole(bytes32 role, address account) internal virtual {
        _grantRole(role, account);
    }

    /**
     * @dev Sets `adminRole` as ``role``'s admin role.
     *
     * Emits a {RoleAdminChanged} event.
     */
    function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual {
        bytes32 previousAdminRole = getRoleAdmin(role);
        _roles[role].adminRole = adminRole;
        emit RoleAdminChanged(role, previousAdminRole, adminRole);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * Internal function without access restriction.
     *
     * May emit a {RoleGranted} event.
     */
    function _grantRole(bytes32 role, address account) internal virtual {
        if (!hasRole(role, account)) {
            _roles[role].members[account] = true;
            emit RoleGranted(role, account, _msgSender());
        }
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * Internal function without access restriction.
     *
     * May emit a {RoleRevoked} event.
     */
    function _revokeRole(bytes32 role, address account) internal virtual {
        if (hasRole(role, account)) {
            _roles[role].members[account] = false;
            emit RoleRevoked(role, account, _msgSender());
        }
    }
}

// File: @openzeppelin/contracts/access/AccessControlEnumerable.sol


// OpenZeppelin Contracts (last updated v4.5.0) (access/AccessControlEnumerable.sol)

pragma solidity ^0.8.0;




/**
 * @dev Extension of {AccessControl} that allows enumerating the members of each role.
 */
abstract contract AccessControlEnumerable is IAccessControlEnumerable, AccessControl {
    using EnumerableSet for EnumerableSet.AddressSet;

    mapping(bytes32 => EnumerableSet.AddressSet) private _roleMembers;

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IAccessControlEnumerable).interfaceId || super.supportsInterface(interfaceId);
    }

    /**
     * @dev Returns one of the accounts that have `role`. `index` must be a
     * value between 0 and {getRoleMemberCount}, non-inclusive.
     *
     * Role bearers are not sorted in any particular way, and their ordering may
     * change at any point.
     *
     * WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure
     * you perform all queries on the same block. See the following
     * https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post]
     * for more information.
     */
    function getRoleMember(bytes32 role, uint256 index) public view virtual override returns (address) {
        return _roleMembers[role].at(index);
    }

    /**
     * @dev Returns the number of accounts that have `role`. Can be used
     * together with {getRoleMember} to enumerate all bearers of a role.
     */
    function getRoleMemberCount(bytes32 role) public view virtual override returns (uint256) {
        return _roleMembers[role].length();
    }

    /**
     * @dev Overload {_grantRole} to track enumerable memberships
     */
    function _grantRole(bytes32 role, address account) internal virtual override {
        super._grantRole(role, account);
        _roleMembers[role].add(account);
    }

    /**
     * @dev Overload {_revokeRole} to track enumerable memberships
     */
    function _revokeRole(bytes32 role, address account) internal virtual override {
        super._revokeRole(role, account);
        _roleMembers[role].remove(account);
    }
}

// File: @openzeppelin/contracts/token/ERC721/IERC721.sol


// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;


/**
 * @dev Required interface of an ERC721 compliant contract.
 */
interface IERC721 is IERC165 {
    /**
     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.
     */
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.
     */
    event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.
     */
    event ApprovalForAll(address indexed owner, address indexed operator, bool approved);

    /**
     * @dev Returns the number of tokens in ``owner``'s account.
     */
    function balanceOf(address owner) external view returns (uint256 balance);

    /**
     * @dev Returns the owner of the `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function ownerOf(uint256 tokenId) external view returns (address owner);

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes calldata data
    ) external;

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must have been allowed to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

    /**
     * @dev Transfers `tokenId` token from `from` to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

    /**
     * @dev Gives permission to `to` to transfer `tokenId` token to another account.
     * The approval is cleared when the token is transferred.
     *
     * Only a single account can be approved at a time, so approving the zero address clears previous approvals.
     *
     * Requirements:
     *
     * - The caller must own the token or be an approved operator.
     * - `tokenId` must exist.
     *
     * Emits an {Approval} event.
     */
    function approve(address to, uint256 tokenId) external;

    /**
     * @dev Approve or remove `operator` as an operator for the caller.
     * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.
     *
     * Requirements:
     *
     * - The `operator` cannot be the caller.
     *
     * Emits an {ApprovalForAll} event.
     */
    function setApprovalForAll(address operator, bool _approved) external;

    /**
     * @dev Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

    /**
     * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
     *
     * See {setApprovalForAll}
     */
    function isApprovedForAll(address owner, address operator) external view returns (bool);
}

// File: contracts/interfaces/IVaultKey.sol


pragma solidity 0.8.4;


interface IVaultKey is IERC721 {
    function mintKey(address to) external;

    function lastMintedKeyId(address to) external view returns (uint256);
}

// File: @openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol


// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol)

pragma solidity ^0.8.0;


/**
 * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Enumerable is IERC721 {
    /**
     * @dev Returns the total amount of tokens stored by the contract.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns a token ID owned by `owner` at a given `index` of its token list.
     * Use along with {balanceOf} to enumerate all of ``owner``'s tokens.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256);

    /**
     * @dev Returns a token ID at a given `index` of all the tokens stored by the contract.
     * Use along with {totalSupply} to enumerate all tokens.
     */
    function tokenByIndex(uint256 index) external view returns (uint256);
}

// File: @openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol


// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)

pragma solidity ^0.8.0;


/**
 * @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: @openzeppelin/contracts/token/ERC721/ERC721.sol


// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/ERC721.sol)

pragma solidity ^0.8.0;








/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension, but not including the Enumerable extension, which is available separately as
 * {ERC721Enumerable}.
 */
contract ERC721 is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to owner address
    mapping(uint256 => address) private _owners;

    // Mapping owner address to token count
    mapping(address => uint256) private _balances;

    // Mapping from token ID to approved address
    mapping(uint256 => address) private _tokenApprovals;

    // Mapping from owner to operator approvals
    mapping(address => mapping(address => bool)) private _operatorApprovals;

    /**
     * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) {
        return
            interfaceId == type(IERC721).interfaceId ||
            interfaceId == type(IERC721Metadata).interfaceId ||
            super.supportsInterface(interfaceId);
    }

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view virtual override returns (uint256) {
        require(owner != address(0), "ERC721: address zero is not a valid owner");
        return _balances[owner];
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        address owner = _owners[tokenId];
        require(owner != address(0), "ERC721: invalid token ID");
        return owner;
    }

    /**
     * @dev See {IERC721Metadata-name}.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev See {IERC721Metadata-symbol}.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        _requireMinted(tokenId);

        string memory baseURI = _baseURI();
        return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : "";
    }

    /**
     * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each
     * token will be the concatenation of the `baseURI` and the `tokenId`. Empty
     * by default, can be overridden in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return "";
    }

    /**
     * @dev See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public virtual override {
        address owner = ERC721.ownerOf(tokenId);
        require(to != owner, "ERC721: approval to current owner");

        require(
            _msgSender() == owner || isApprovedForAll(owner, _msgSender()),
            "ERC721: approve caller is not token owner nor approved for all"
        );

        _approve(to, tokenId);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        _requireMinted(tokenId);

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        _setApprovalForAll(_msgSender(), operator, approved);
    }

    /**
     * @dev See {IERC721-isApprovedForAll}.
     */
    function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) {
        return _operatorApprovals[owner][operator];
    }

    /**
     * @dev See {IERC721-transferFrom}.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner nor approved");

        _transfer(from, to, tokenId);
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        safeTransferFrom(from, to, tokenId, "");
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory data
    ) public virtual override {
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner nor approved");
        _safeTransfer(from, to, tokenId, data);
    }

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * `data` is additional data, it has no specified format and it is sent in call to `to`.
     *
     * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.
     * implement alternative mechanisms to perform token transfer, such as signature-based.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeTransfer(
        address from,
        address to,
        uint256 tokenId,
        bytes memory data
    ) internal virtual {
        _transfer(from, to, tokenId);
        require(_checkOnERC721Received(from, to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer");
    }

    /**
     * @dev Returns whether `tokenId` exists.
     *
     * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
     *
     * Tokens start existing when they are minted (`_mint`),
     * and stop existing when they are burned (`_burn`).
     */
    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return _owners[tokenId] != address(0);
    }

    /**
     * @dev Returns whether `spender` is allowed to manage `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {
        address owner = ERC721.ownerOf(tokenId);
        return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender);
    }

    /**
     * @dev Safely mints `tokenId` and transfers it to `to`.
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(address to, uint256 tokenId) internal virtual {
        _safeMint(to, tokenId, "");
    }

    /**
     * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is
     * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.
     */
    function _safeMint(
        address to,
        uint256 tokenId,
        bytes memory data
    ) internal virtual {
        _mint(to, tokenId);
        require(
            _checkOnERC721Received(address(0), to, tokenId, data),
            "ERC721: transfer to non ERC721Receiver implementer"
        );
    }

    /**
     * @dev Mints `tokenId` and transfers it to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - `to` cannot be the zero address.
     *
     * Emits a {Transfer} event.
     */
    function _mint(address to, uint256 tokenId) internal virtual {
        require(to != address(0), "ERC721: mint to the zero address");
        require(!_exists(tokenId), "ERC721: token already minted");

        _beforeTokenTransfer(address(0), to, tokenId);

        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(address(0), to, tokenId);

        _afterTokenTransfer(address(0), to, tokenId);
    }

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId) internal virtual {
        address owner = ERC721.ownerOf(tokenId);

        _beforeTokenTransfer(owner, address(0), tokenId);

        // Clear approvals
        _approve(address(0), tokenId);

        _balances[owner] -= 1;
        delete _owners[tokenId];

        emit Transfer(owner, address(0), tokenId);

        _afterTokenTransfer(owner, address(0), tokenId);
    }

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *  As opposed to {transferFrom}, this imposes no restrictions on msg.sender.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     *
     * Emits a {Transfer} event.
     */
    function _transfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {
        require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner");
        require(to != address(0), "ERC721: transfer to the zero address");

        _beforeTokenTransfer(from, to, tokenId);

        // Clear approvals from the previous owner
        _approve(address(0), tokenId);

        _balances[from] -= 1;
        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(from, to, tokenId);

        _afterTokenTransfer(from, to, tokenId);
    }

    /**
     * @dev Approve `to` to operate on `tokenId`
     *
     * Emits an {Approval} event.
     */
    function _approve(address to, uint256 tokenId) internal virtual {
        _tokenApprovals[tokenId] = to;
        emit Approval(ERC721.ownerOf(tokenId), to, tokenId);
    }

    /**
     * @dev Approve `operator` to operate on all of `owner` tokens
     *
     * Emits an {ApprovalForAll} event.
     */
    function _setApprovalForAll(
        address owner,
        address operator,
        bool approved
    ) internal virtual {
        require(owner != operator, "ERC721: approve to caller");
        _operatorApprovals[owner][operator] = approved;
        emit ApprovalForAll(owner, operator, approved);
    }

    /**
     * @dev Reverts if the `tokenId` has not been minted yet.
     */
    function _requireMinted(uint256 tokenId) internal view virtual {
        require(_exists(tokenId), "ERC721: invalid token ID");
    }

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.
     * The call is not executed if the target address is not a contract.
     *
     * @param from address representing the previous owner of the given token ID
     * @param to target address that will receive the tokens
     * @param tokenId uint256 ID of the token to be transferred
     * @param data bytes optional data to send along with the call
     * @return bool whether the call correctly returned the expected magic value
     */
    function _checkOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory data
    ) private returns (bool) {
        if (to.isContract()) {
            try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, data) returns (bytes4 retval) {
                return retval == IERC721Receiver.onERC721Received.selector;
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert("ERC721: transfer to non ERC721Receiver implementer");
                } else {
                    /// @solidity memory-safe-assembly
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, ``from``'s `tokenId` will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {}

    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {}
}

// File: @openzeppelin/contracts/token/ERC721/extensions/ERC721Pausable.sol


// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Pausable.sol)

pragma solidity ^0.8.0;



/**
 * @dev ERC721 token with pausable token transfers, minting and burning.
 *
 * Useful for scenarios such as preventing trades until the end of an evaluation
 * period, or having an emergency switch for freezing all token transfers in the
 * event of a large bug.
 */
abstract contract ERC721Pausable is ERC721, Pausable {
    /**
     * @dev See {ERC721-_beforeTokenTransfer}.
     *
     * Requirements:
     *
     * - the contract must not be paused.
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual override {
        super._beforeTokenTransfer(from, to, tokenId);

        require(!paused(), "ERC721Pausable: token transfer while paused");
    }
}

// File: @openzeppelin/contracts/token/ERC721/extensions/ERC721Burnable.sol


// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/extensions/ERC721Burnable.sol)

pragma solidity ^0.8.0;



/**
 * @title ERC721 Burnable Token
 * @dev ERC721 Token that can be burned (destroyed).
 */
abstract contract ERC721Burnable is Context, ERC721 {
    /**
     * @dev Burns `tokenId`. See {ERC721-_burn}.
     *
     * Requirements:
     *
     * - The caller must own `tokenId` or be an approved operator.
     */
    function burn(uint256 tokenId) public virtual {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner nor approved");
        _burn(tokenId);
    }
}

// File: @openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol


// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Enumerable.sol)

pragma solidity ^0.8.0;



/**
 * @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: @openzeppelin/contracts/token/ERC721/presets/ERC721PresetMinterPauserAutoId.sol


// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/presets/ERC721PresetMinterPauserAutoId.sol)

pragma solidity ^0.8.0;








/**
 * @dev {ERC721} token, including:
 *
 *  - ability for holders to burn (destroy) their tokens
 *  - a minter role that allows for token minting (creation)
 *  - a pauser role that allows to stop all token transfers
 *  - token ID and URI autogeneration
 *
 * This contract uses {AccessControl} to lock permissioned functions using the
 * different roles - head to its documentation for details.
 *
 * The account that deploys the contract will be granted the minter and pauser
 * roles, as well as the default admin role, which will let it grant both minter
 * and pauser roles to other accounts.
 *
 * _Deprecated in favor of https://wizard.openzeppelin.com/[Contracts Wizard]._
 */
contract ERC721PresetMinterPauserAutoId is
    Context,
    AccessControlEnumerable,
    ERC721Enumerable,
    ERC721Burnable,
    ERC721Pausable
{
    using Counters for Counters.Counter;

    bytes32 public constant MINTER_ROLE = keccak256("MINTER_ROLE");
    bytes32 public constant PAUSER_ROLE = keccak256("PAUSER_ROLE");

    Counters.Counter private _tokenIdTracker;

    string private _baseTokenURI;

    /**
     * @dev Grants `DEFAULT_ADMIN_ROLE`, `MINTER_ROLE` and `PAUSER_ROLE` to the
     * account that deploys the contract.
     *
     * Token URIs will be autogenerated based on `baseURI` and their token IDs.
     * See {ERC721-tokenURI}.
     */
    constructor(
        string memory name,
        string memory symbol,
        string memory baseTokenURI
    ) ERC721(name, symbol) {
        _baseTokenURI = baseTokenURI;

        _setupRole(DEFAULT_ADMIN_ROLE, _msgSender());

        _setupRole(MINTER_ROLE, _msgSender());
        _setupRole(PAUSER_ROLE, _msgSender());
    }

    function _baseURI() internal view virtual override returns (string memory) {
        return _baseTokenURI;
    }

    /**
     * @dev Creates a new token for `to`. Its token ID will be automatically
     * assigned (and available on the emitted {IERC721-Transfer} event), and the token
     * URI autogenerated based on the base URI passed at construction.
     *
     * See {ERC721-_mint}.
     *
     * Requirements:
     *
     * - the caller must have the `MINTER_ROLE`.
     */
    function mint(address to) public virtual {
        require(hasRole(MINTER_ROLE, _msgSender()), "ERC721PresetMinterPauserAutoId: must have minter role to mint");

        // We cannot just use balanceOf to create the new tokenId because tokens
        // can be burned (destroyed), so we need a separate counter.
        _mint(to, _tokenIdTracker.current());
        _tokenIdTracker.increment();
    }

    /**
     * @dev Pauses all token transfers.
     *
     * See {ERC721Pausable} and {Pausable-_pause}.
     *
     * Requirements:
     *
     * - the caller must have the `PAUSER_ROLE`.
     */
    function pause() public virtual {
        require(hasRole(PAUSER_ROLE, _msgSender()), "ERC721PresetMinterPauserAutoId: must have pauser role to pause");
        _pause();
    }

    /**
     * @dev Unpauses all token transfers.
     *
     * See {ERC721Pausable} and {Pausable-_unpause}.
     *
     * Requirements:
     *
     * - the caller must have the `PAUSER_ROLE`.
     */
    function unpause() public virtual {
        require(hasRole(PAUSER_ROLE, _msgSender()), "ERC721PresetMinterPauserAutoId: must have pauser role to unpause");
        _unpause();
    }

    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual override(ERC721, ERC721Enumerable, ERC721Pausable) {
        super._beforeTokenTransfer(from, to, tokenId);
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId)
        public
        view
        virtual
        override(AccessControlEnumerable, ERC721, ERC721Enumerable)
        returns (bool)
    {
        return super.supportsInterface(interfaceId);
    }
}

// File: contracts/VaultKey.sol


pragma solidity 0.8.4;



contract VaultKey is IVaultKey, ERC721PresetMinterPauserAutoId {
    constructor(
        string memory name,
        string memory symbol,
        string memory tokenURI
    ) ERC721PresetMinterPauserAutoId(name, symbol, tokenURI) {
        _grantRole(DEFAULT_ADMIN_ROLE, msg.sender);
    }

    function lastMintedKeyId(address beneficiary) external view override returns (uint256) {
        uint256 balance = balanceOf(beneficiary);

        return tokenOfOwnerByIndex(beneficiary, balance - 1);
    }

    function mintKey(address to) external override {
        super.mint(to);
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"string","name":"tokenURI","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINTER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PAUSER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"getRoleMember","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleMemberCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":[{"internalType":"address","name":"beneficiary","type":"address"}],"name":"lastMintedKeyId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"}],"name":"mintKey","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b5060405162002c0e38038062002c0e8339810160408190526200003491620003c8565b82828282828160029080519060200190620000519291906200026f565b508051620000679060039060208401906200026f565b5050600c805460ff191690555080516200008990600e9060208401906200026f565b50620000976000336200010a565b620000c37f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6336200010a565b620000ef7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a336200010a565b5062000101915060009050336200011a565b505050620004a8565b6200011682826200011a565b5050565b6200013182826200015d60201b62000e871760201c565b60008281526001602090815260409091206200015891839062000f25620001fd821b17901c565b505050565b6000828152602081815260408083206001600160a01b038516845290915290205460ff1662000116576000828152602081815260408083206001600160a01b03851684529091529020805460ff19166001179055620001b93390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b600062000214836001600160a01b0384166200021d565b90505b92915050565b6000818152600183016020526040812054620002665750815460018181018455600084815260208082209093018490558454848252828601909352604090209190915562000217565b50600062000217565b8280546200027d9062000455565b90600052602060002090601f016020900481019282620002a15760008555620002ec565b82601f10620002bc57805160ff1916838001178555620002ec565b82800160010185558215620002ec579182015b82811115620002ec578251825591602001919060010190620002cf565b50620002fa929150620002fe565b5090565b5b80821115620002fa5760008155600101620002ff565b600082601f83011262000326578081fd5b81516001600160401b038082111562000343576200034362000492565b604051601f8301601f19908116603f011681019082821181831017156200036e576200036e62000492565b816040528381526020925086838588010111156200038a578485fd5b8491505b83821015620003ad57858201830151818301840152908201906200038e565b83821115620003be57848385830101525b9695505050505050565b600080600060608486031215620003dd578283fd5b83516001600160401b0380821115620003f4578485fd5b620004028783880162000315565b9450602086015191508082111562000418578384fd5b620004268783880162000315565b935060408601519150808211156200043c578283fd5b506200044b8682870162000315565b9150509250925092565b600181811c908216806200046a57607f821691505b602082108114156200048c57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b61275680620004b86000396000f3fe608060405234801561001057600080fd5b506004361061020b5760003560e01c80636352211e1161012a578063a22cb465116100bd578063d3a08cb21161008c578063d547741f11610071578063d547741f1461048e578063e63ab1e9146104a1578063e985e9c5146104c857600080fd5b8063d3a08cb214610454578063d53913931461046757600080fd5b8063a22cb46514610408578063b88d4fde1461041b578063c87b56dd1461042e578063ca15c8731461044157600080fd5b80639010d07c116100f95780639010d07c146103ae57806391d14854146103c157806395d89b41146103f8578063a217fddf1461040057600080fd5b80636352211e1461036d5780636a6278421461038057806370a08231146103935780638456cb59146103a657600080fd5b80632f2ff15d116101a257806342842e0e1161017157806342842e0e1461032957806342966c681461033c5780634f6ccce71461034f5780635c975abb1461036257600080fd5b80632f2ff15d146102e85780632f745c59146102fb57806336568abe1461030e5780633f4ba83a1461032157600080fd5b806318160ddd116101de57806318160ddd1461028d57806323b872dd1461029f578063248a9ca3146102b25780632bed542b146102d557600080fd5b806301ffc9a71461021057806306fdde0314610238578063081812fc1461024d578063095ea7b314610278575b600080fd5b61022361021e366004612456565b610504565b60405190151581526020015b60405180910390f35b610240610515565b60405161022f91906125a6565b61026061025b3660046123fb565b6105a7565b6040516001600160a01b03909116815260200161022f565b61028b6102863660046123d2565b6105ce565b005b600a545b60405190815260200161022f565b61028b6102ad366004612288565b6106e9565b6102916102c03660046123fb565b60009081526020819052604090206001015490565b6102916102e336600461223c565b610762565b61028b6102f6366004612413565b610786565b6102916103093660046123d2565b6107ab565b61028b61031c366004612413565b610853565b61028b6108df565b61028b610337366004612288565b610987565b61028b61034a3660046123fb565b6109a2565b61029161035d3660046123fb565b610a1a565b600c5460ff16610223565b61026061037b3660046123fb565b610acc565b61028b61038e36600461223c565b610b31565b6102916103a136600461223c565b610bed565b61028b610c87565b6102606103bc366004612435565b610d2b565b6102236103cf366004612413565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b610240610d43565b610291600081565b61028b610416366004612398565b610d52565b61028b6104293660046122c3565b610d5d565b61024061043c3660046123fb565b610ddc565b61029161044f3660046123fb565b610e42565b61028b61046236600461223c565b610e59565b6102917f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b61028b61049c366004612413565b610e62565b6102917f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a81565b6102236104d6366004612256565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b600061050f82610f3a565b92915050565b6060600280546105249061265e565b80601f01602080910402602001604051908101604052809291908181526020018280546105509061265e565b801561059d5780601f106105725761010080835404028352916020019161059d565b820191906000526020600020905b81548152906001019060200180831161058057829003601f168201915b5050505050905090565b60006105b282610f5f565b506000908152600660205260409020546001600160a01b031690565b60006105d982610acc565b9050806001600160a01b0316836001600160a01b0316141561064c5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084015b60405180910390fd5b336001600160a01b0382161480610668575061066881336104d6565b6106da5760405162461bcd60e51b815260206004820152603e60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c00006064820152608401610643565b6106e48383610fc3565b505050565b6106f4335b82611031565b6107575760405162461bcd60e51b815260206004820152602e60248201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560448201526d1c881b9bdc88185c1c1c9bdd995960921b6064820152608401610643565b6106e48383836110b0565b60008061076e83610bed565b905061077f83610309600184612604565b9392505050565b6000828152602081905260409020600101546107a18161126f565b6106e48383611279565b60006107b683610bed565b821061082a5760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201527f74206f6620626f756e64730000000000000000000000000000000000000000006064820152608401610643565b506001600160a01b03919091166000908152600860209081526040808320938352929052205490565b6001600160a01b03811633146108d15760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201527f20726f6c657320666f722073656c6600000000000000000000000000000000006064820152608401610643565b6108db828261129b565b5050565b6109097f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a336103cf565b61097d576040805162461bcd60e51b81526020600482015260248101919091527f4552433732315072657365744d696e7465725061757365724175746f49643a2060448201527f6d75737420686176652070617573657220726f6c6520746f20756e70617573656064820152608401610643565b6109856112bd565b565b6106e483838360405180602001604052806000815250610d5d565b6109ab336106ee565b610a0e5760405162461bcd60e51b815260206004820152602e60248201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560448201526d1c881b9bdc88185c1c1c9bdd995960921b6064820152608401610643565b610a178161130f565b50565b6000610a25600a5490565b8210610a995760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201527f7574206f6620626f756e647300000000000000000000000000000000000000006064820152608401610643565b600a8281548110610aba57634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050919050565b6000818152600460205260408120546001600160a01b03168061050f5760405162461bcd60e51b815260206004820152601860248201527f4552433732313a20696e76616c696420746f6b656e20494400000000000000006044820152606401610643565b610b5b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6336103cf565b610bcd5760405162461bcd60e51b815260206004820152603d60248201527f4552433732315072657365744d696e7465725061757365724175746f49643a2060448201527f6d7573742068617665206d696e74657220726f6c6520746f206d696e740000006064820152608401610643565b610bdf81610bda600d5490565b6113b6565b610a17600d80546001019055565b60006001600160a01b038216610c6b5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f74206120766160448201527f6c6964206f776e657200000000000000000000000000000000000000000000006064820152608401610643565b506001600160a01b031660009081526005602052604090205490565b610cb17f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a336103cf565b610d235760405162461bcd60e51b815260206004820152603e60248201527f4552433732315072657365744d696e7465725061757365724175746f49643a2060448201527f6d75737420686176652070617573657220726f6c6520746f20706175736500006064820152608401610643565b610985611504565b600082815260016020526040812061077f9083611541565b6060600380546105249061265e565b6108db33838361154d565b610d673383611031565b610dca5760405162461bcd60e51b815260206004820152602e60248201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560448201526d1c881b9bdc88185c1c1c9bdd995960921b6064820152608401610643565b610dd68484848461161c565b50505050565b6060610de782610f5f565b6000610df16116a5565b90506000815111610e11576040518060200160405280600081525061077f565b80610e1b846116b4565b604051602001610e2c9291906124ba565b6040516020818303038152906040529392505050565b600081815260016020526040812061050f906117ce565b610a1781610b31565b600082815260208190526040902060010154610e7d8161126f565b6106e4838361129b565b6000828152602081815260408083206001600160a01b038516845290915290205460ff166108db576000828152602081815260408083206001600160a01b03851684529091529020805460ff19166001179055610ee13390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b600061077f836001600160a01b0384166117d8565b60006001600160e01b0319821663780e9d6360e01b148061050f575061050f82611827565b6000818152600460205260409020546001600160a01b0316610a175760405162461bcd60e51b815260206004820152601860248201527f4552433732313a20696e76616c696420746f6b656e20494400000000000000006044820152606401610643565b600081815260066020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610ff882610acc565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008061103d83610acc565b9050806001600160a01b0316846001600160a01b0316148061108457506001600160a01b0380821660009081526007602090815260408083209388168352929052205460ff165b806110a85750836001600160a01b031661109d846105a7565b6001600160a01b0316145b949350505050565b826001600160a01b03166110c382610acc565b6001600160a01b03161461113f5760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201527f6f776e65720000000000000000000000000000000000000000000000000000006064820152608401610643565b6001600160a01b0382166111a15760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610643565b6111ac838383611867565b6111b7600082610fc3565b6001600160a01b03831660009081526005602052604081208054600192906111e0908490612604565b90915550506001600160a01b038216600090815260056020526040812080546001929061120e9084906125b9565b909155505060008181526004602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b610a178133611872565b6112838282610e87565b60008281526001602052604090206106e49082610f25565b6112a582826118f0565b60008281526001602052604090206106e4908261196f565b6112c5611984565b600c805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b600061131a82610acc565b905061132881600084611867565b611333600083610fc3565b6001600160a01b038116600090815260056020526040812080546001929061135c908490612604565b909155505060008281526004602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b6001600160a01b03821661140c5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610643565b6000818152600460205260409020546001600160a01b0316156114715760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610643565b61147d60008383611867565b6001600160a01b03821660009081526005602052604081208054600192906114a69084906125b9565b909155505060008181526004602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b61150c6119d6565b600c805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586112f23390565b600061077f8383611a29565b816001600160a01b0316836001600160a01b031614156115af5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610643565b6001600160a01b03838116600081815260076020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6116278484846110b0565b61163384848484611a61565b610dd65760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610643565b6060600e80546105249061265e565b6060816116d85750506040805180820190915260018152600360fc1b602082015290565b8160005b811561170257806116ec81612699565b91506116fb9050600a836125d1565b91506116dc565b60008167ffffffffffffffff81111561172b57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611755576020820181803683370190505b5090505b84156110a85761176a600183612604565b9150611777600a866126b4565b6117829060306125b9565b60f81b8183815181106117a557634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a9053506117c7600a866125d1565b9450611759565b600061050f825490565b600081815260018301602052604081205461181f5750815460018181018455600084815260208082209093018490558454848252828601909352604090209190915561050f565b50600061050f565b60006001600160e01b031982166380ac58cd60e01b148061185857506001600160e01b03198216635b5e139f60e01b145b8061050f575061050f82611bc4565b6106e4838383611be9565b6000828152602081815260408083206001600160a01b038516845290915290205460ff166108db576118ae816001600160a01b03166014611c6d565b6118b9836020611c6d565b6040516020016118ca9291906124e9565b60408051601f198184030181529082905262461bcd60e51b8252610643916004016125a6565b6000828152602081815260408083206001600160a01b038516845290915290205460ff16156108db576000828152602081815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b600061077f836001600160a01b038416611e5c565b600c5460ff166109855760405162461bcd60e51b815260206004820152601460248201527f5061757361626c653a206e6f74207061757365640000000000000000000000006044820152606401610643565b600c5460ff16156109855760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a20706175736564000000000000000000000000000000006044820152606401610643565b6000826000018281548110611a4e57634e487b7160e01b600052603260045260246000fd5b9060005260206000200154905092915050565b60006001600160a01b0384163b15611bb957604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611aa590339089908890889060040161256a565b602060405180830381600087803b158015611abf57600080fd5b505af1925050508015611aef575060408051601f3d908101601f19168201909252611aec91810190612472565b60015b611b9f573d808015611b1d576040519150601f19603f3d011682016040523d82523d6000602084013e611b22565b606091505b508051611b975760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610643565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506110a8565b506001949350505050565b60006001600160e01b03198216635a05180f60e01b148061050f575061050f82611f79565b611bf4838383611fae565b600c5460ff16156106e45760405162461bcd60e51b815260206004820152602b60248201527f4552433732315061757361626c653a20746f6b656e207472616e73666572207760448201527f68696c65207061757365640000000000000000000000000000000000000000006064820152608401610643565b60606000611c7c8360026125e5565b611c879060026125b9565b67ffffffffffffffff811115611cad57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611cd7576020820181803683370190505b509050600360fc1b81600081518110611d0057634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110611d3d57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a9053506000611d618460026125e5565b611d6c9060016125b9565b90505b6001811115611e0d577f303132333435363738396162636465660000000000000000000000000000000085600f1660108110611dbb57634e487b7160e01b600052603260045260246000fd5b1a60f81b828281518110611ddf57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535060049490941c93611e0681612647565b9050611d6f565b50831561077f5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610643565b60008181526001830160205260408120548015611f6f576000611e80600183612604565b8554909150600090611e9490600190612604565b9050818114611f15576000866000018281548110611ec257634e487b7160e01b600052603260045260246000fd5b9060005260206000200154905080876000018481548110611ef357634e487b7160e01b600052603260045260246000fd5b6000918252602080832090910192909255918252600188019052604090208390555b8554869080611f3457634e487b7160e01b600052603160045260246000fd5b60019003818190600052602060002001600090559055856001016000868152602001908152602001600020600090556001935050505061050f565b600091505061050f565b60006001600160e01b03198216637965db0b60e01b148061050f57506301ffc9a760e01b6001600160e01b031983161461050f565b6001600160a01b0383166120095761200481600a80546000838152600b60205260408120829055600182018355919091527fc65a7bb8d6351c1cf70c95a316cc6a92839c986682d98bc35f958f4883f9d2a80155565b61202c565b816001600160a01b0316836001600160a01b03161461202c5761202c8382612066565b6001600160a01b038216612043576106e481612103565b826001600160a01b0316826001600160a01b0316146106e4576106e482826121dc565b6000600161207384610bed565b61207d9190612604565b6000838152600960205260409020549091508082146120d0576001600160a01b03841660009081526008602090815260408083208584528252808320548484528184208190558352600990915290208190555b5060009182526009602090815260408084208490556001600160a01b039094168352600881528383209183525290812055565b600a5460009061211590600190612604565b6000838152600b6020526040812054600a805493945090928490811061214b57634e487b7160e01b600052603260045260246000fd5b9060005260206000200154905080600a838154811061217a57634e487b7160e01b600052603260045260246000fd5b6000918252602080832090910192909255828152600b9091526040808220849055858252812055600a8054806121c057634e487b7160e01b600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b60006121e783610bed565b6001600160a01b039093166000908152600860209081526040808320868452825280832085905593825260099052919091209190915550565b80356001600160a01b038116811461223757600080fd5b919050565b60006020828403121561224d578081fd5b61077f82612220565b60008060408385031215612268578081fd5b61227183612220565b915061227f60208401612220565b90509250929050565b60008060006060848603121561229c578081fd5b6122a584612220565b92506122b360208501612220565b9150604084013590509250925092565b600080600080608085870312156122d8578081fd5b6122e185612220565b93506122ef60208601612220565b925060408501359150606085013567ffffffffffffffff80821115612312578283fd5b818701915087601f830112612325578283fd5b813581811115612337576123376126f4565b604051601f8201601f19908116603f0116810190838211818310171561235f5761235f6126f4565b816040528281528a6020848701011115612377578586fd5b82602086016020830137918201602001949094529598949750929550505050565b600080604083850312156123aa578182fd5b6123b383612220565b9150602083013580151581146123c7578182fd5b809150509250929050565b600080604083850312156123e4578182fd5b6123ed83612220565b946020939093013593505050565b60006020828403121561240c578081fd5b5035919050565b60008060408385031215612425578182fd5b8235915061227f60208401612220565b60008060408385031215612447578182fd5b50508035926020909101359150565b600060208284031215612467578081fd5b813561077f8161270a565b600060208284031215612483578081fd5b815161077f8161270a565b600081518084526124a681602086016020860161261b565b601f01601f19169290920160200192915050565b600083516124cc81846020880161261b565b8351908301906124e081836020880161261b565b01949350505050565b7f416363657373436f6e74726f6c3a206163636f756e742000000000000000000081526000835161252181601785016020880161261b565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000601791840191820152835161255e81602884016020880161261b565b01602801949350505050565b60006001600160a01b0380871683528086166020840152508360408301526080606083015261259c608083018461248e565b9695505050505050565b60208152600061077f602083018461248e565b600082198211156125cc576125cc6126c8565b500190565b6000826125e0576125e06126de565b500490565b60008160001904831182151516156125ff576125ff6126c8565b500290565b600082821015612616576126166126c8565b500390565b60005b8381101561263657818101518382015260200161261e565b83811115610dd65750506000910152565b600081612656576126566126c8565b506000190190565b600181811c9082168061267257607f821691505b6020821081141561269357634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156126ad576126ad6126c8565b5060010190565b6000826126c3576126c36126de565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610a1757600080fdfea2646970667358221220f599768ccadc91ebd9e04d5a1fc33081b220f443b9526b46bf855377f62fc2df64736f6c63430008040033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000000095661756c74204b657900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002564b0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061020b5760003560e01c80636352211e1161012a578063a22cb465116100bd578063d3a08cb21161008c578063d547741f11610071578063d547741f1461048e578063e63ab1e9146104a1578063e985e9c5146104c857600080fd5b8063d3a08cb214610454578063d53913931461046757600080fd5b8063a22cb46514610408578063b88d4fde1461041b578063c87b56dd1461042e578063ca15c8731461044157600080fd5b80639010d07c116100f95780639010d07c146103ae57806391d14854146103c157806395d89b41146103f8578063a217fddf1461040057600080fd5b80636352211e1461036d5780636a6278421461038057806370a08231146103935780638456cb59146103a657600080fd5b80632f2ff15d116101a257806342842e0e1161017157806342842e0e1461032957806342966c681461033c5780634f6ccce71461034f5780635c975abb1461036257600080fd5b80632f2ff15d146102e85780632f745c59146102fb57806336568abe1461030e5780633f4ba83a1461032157600080fd5b806318160ddd116101de57806318160ddd1461028d57806323b872dd1461029f578063248a9ca3146102b25780632bed542b146102d557600080fd5b806301ffc9a71461021057806306fdde0314610238578063081812fc1461024d578063095ea7b314610278575b600080fd5b61022361021e366004612456565b610504565b60405190151581526020015b60405180910390f35b610240610515565b60405161022f91906125a6565b61026061025b3660046123fb565b6105a7565b6040516001600160a01b03909116815260200161022f565b61028b6102863660046123d2565b6105ce565b005b600a545b60405190815260200161022f565b61028b6102ad366004612288565b6106e9565b6102916102c03660046123fb565b60009081526020819052604090206001015490565b6102916102e336600461223c565b610762565b61028b6102f6366004612413565b610786565b6102916103093660046123d2565b6107ab565b61028b61031c366004612413565b610853565b61028b6108df565b61028b610337366004612288565b610987565b61028b61034a3660046123fb565b6109a2565b61029161035d3660046123fb565b610a1a565b600c5460ff16610223565b61026061037b3660046123fb565b610acc565b61028b61038e36600461223c565b610b31565b6102916103a136600461223c565b610bed565b61028b610c87565b6102606103bc366004612435565b610d2b565b6102236103cf366004612413565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b610240610d43565b610291600081565b61028b610416366004612398565b610d52565b61028b6104293660046122c3565b610d5d565b61024061043c3660046123fb565b610ddc565b61029161044f3660046123fb565b610e42565b61028b61046236600461223c565b610e59565b6102917f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b61028b61049c366004612413565b610e62565b6102917f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a81565b6102236104d6366004612256565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b600061050f82610f3a565b92915050565b6060600280546105249061265e565b80601f01602080910402602001604051908101604052809291908181526020018280546105509061265e565b801561059d5780601f106105725761010080835404028352916020019161059d565b820191906000526020600020905b81548152906001019060200180831161058057829003601f168201915b5050505050905090565b60006105b282610f5f565b506000908152600660205260409020546001600160a01b031690565b60006105d982610acc565b9050806001600160a01b0316836001600160a01b0316141561064c5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084015b60405180910390fd5b336001600160a01b0382161480610668575061066881336104d6565b6106da5760405162461bcd60e51b815260206004820152603e60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c00006064820152608401610643565b6106e48383610fc3565b505050565b6106f4335b82611031565b6107575760405162461bcd60e51b815260206004820152602e60248201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560448201526d1c881b9bdc88185c1c1c9bdd995960921b6064820152608401610643565b6106e48383836110b0565b60008061076e83610bed565b905061077f83610309600184612604565b9392505050565b6000828152602081905260409020600101546107a18161126f565b6106e48383611279565b60006107b683610bed565b821061082a5760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201527f74206f6620626f756e64730000000000000000000000000000000000000000006064820152608401610643565b506001600160a01b03919091166000908152600860209081526040808320938352929052205490565b6001600160a01b03811633146108d15760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201527f20726f6c657320666f722073656c6600000000000000000000000000000000006064820152608401610643565b6108db828261129b565b5050565b6109097f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a336103cf565b61097d576040805162461bcd60e51b81526020600482015260248101919091527f4552433732315072657365744d696e7465725061757365724175746f49643a2060448201527f6d75737420686176652070617573657220726f6c6520746f20756e70617573656064820152608401610643565b6109856112bd565b565b6106e483838360405180602001604052806000815250610d5d565b6109ab336106ee565b610a0e5760405162461bcd60e51b815260206004820152602e60248201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560448201526d1c881b9bdc88185c1c1c9bdd995960921b6064820152608401610643565b610a178161130f565b50565b6000610a25600a5490565b8210610a995760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201527f7574206f6620626f756e647300000000000000000000000000000000000000006064820152608401610643565b600a8281548110610aba57634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050919050565b6000818152600460205260408120546001600160a01b03168061050f5760405162461bcd60e51b815260206004820152601860248201527f4552433732313a20696e76616c696420746f6b656e20494400000000000000006044820152606401610643565b610b5b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6336103cf565b610bcd5760405162461bcd60e51b815260206004820152603d60248201527f4552433732315072657365744d696e7465725061757365724175746f49643a2060448201527f6d7573742068617665206d696e74657220726f6c6520746f206d696e740000006064820152608401610643565b610bdf81610bda600d5490565b6113b6565b610a17600d80546001019055565b60006001600160a01b038216610c6b5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f74206120766160448201527f6c6964206f776e657200000000000000000000000000000000000000000000006064820152608401610643565b506001600160a01b031660009081526005602052604090205490565b610cb17f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a336103cf565b610d235760405162461bcd60e51b815260206004820152603e60248201527f4552433732315072657365744d696e7465725061757365724175746f49643a2060448201527f6d75737420686176652070617573657220726f6c6520746f20706175736500006064820152608401610643565b610985611504565b600082815260016020526040812061077f9083611541565b6060600380546105249061265e565b6108db33838361154d565b610d673383611031565b610dca5760405162461bcd60e51b815260206004820152602e60248201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560448201526d1c881b9bdc88185c1c1c9bdd995960921b6064820152608401610643565b610dd68484848461161c565b50505050565b6060610de782610f5f565b6000610df16116a5565b90506000815111610e11576040518060200160405280600081525061077f565b80610e1b846116b4565b604051602001610e2c9291906124ba565b6040516020818303038152906040529392505050565b600081815260016020526040812061050f906117ce565b610a1781610b31565b600082815260208190526040902060010154610e7d8161126f565b6106e4838361129b565b6000828152602081815260408083206001600160a01b038516845290915290205460ff166108db576000828152602081815260408083206001600160a01b03851684529091529020805460ff19166001179055610ee13390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b600061077f836001600160a01b0384166117d8565b60006001600160e01b0319821663780e9d6360e01b148061050f575061050f82611827565b6000818152600460205260409020546001600160a01b0316610a175760405162461bcd60e51b815260206004820152601860248201527f4552433732313a20696e76616c696420746f6b656e20494400000000000000006044820152606401610643565b600081815260066020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610ff882610acc565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008061103d83610acc565b9050806001600160a01b0316846001600160a01b0316148061108457506001600160a01b0380821660009081526007602090815260408083209388168352929052205460ff165b806110a85750836001600160a01b031661109d846105a7565b6001600160a01b0316145b949350505050565b826001600160a01b03166110c382610acc565b6001600160a01b03161461113f5760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201527f6f776e65720000000000000000000000000000000000000000000000000000006064820152608401610643565b6001600160a01b0382166111a15760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610643565b6111ac838383611867565b6111b7600082610fc3565b6001600160a01b03831660009081526005602052604081208054600192906111e0908490612604565b90915550506001600160a01b038216600090815260056020526040812080546001929061120e9084906125b9565b909155505060008181526004602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b610a178133611872565b6112838282610e87565b60008281526001602052604090206106e49082610f25565b6112a582826118f0565b60008281526001602052604090206106e4908261196f565b6112c5611984565b600c805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b600061131a82610acc565b905061132881600084611867565b611333600083610fc3565b6001600160a01b038116600090815260056020526040812080546001929061135c908490612604565b909155505060008281526004602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b6001600160a01b03821661140c5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610643565b6000818152600460205260409020546001600160a01b0316156114715760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610643565b61147d60008383611867565b6001600160a01b03821660009081526005602052604081208054600192906114a69084906125b9565b909155505060008181526004602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b61150c6119d6565b600c805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586112f23390565b600061077f8383611a29565b816001600160a01b0316836001600160a01b031614156115af5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610643565b6001600160a01b03838116600081815260076020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6116278484846110b0565b61163384848484611a61565b610dd65760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610643565b6060600e80546105249061265e565b6060816116d85750506040805180820190915260018152600360fc1b602082015290565b8160005b811561170257806116ec81612699565b91506116fb9050600a836125d1565b91506116dc565b60008167ffffffffffffffff81111561172b57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611755576020820181803683370190505b5090505b84156110a85761176a600183612604565b9150611777600a866126b4565b6117829060306125b9565b60f81b8183815181106117a557634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a9053506117c7600a866125d1565b9450611759565b600061050f825490565b600081815260018301602052604081205461181f5750815460018181018455600084815260208082209093018490558454848252828601909352604090209190915561050f565b50600061050f565b60006001600160e01b031982166380ac58cd60e01b148061185857506001600160e01b03198216635b5e139f60e01b145b8061050f575061050f82611bc4565b6106e4838383611be9565b6000828152602081815260408083206001600160a01b038516845290915290205460ff166108db576118ae816001600160a01b03166014611c6d565b6118b9836020611c6d565b6040516020016118ca9291906124e9565b60408051601f198184030181529082905262461bcd60e51b8252610643916004016125a6565b6000828152602081815260408083206001600160a01b038516845290915290205460ff16156108db576000828152602081815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b600061077f836001600160a01b038416611e5c565b600c5460ff166109855760405162461bcd60e51b815260206004820152601460248201527f5061757361626c653a206e6f74207061757365640000000000000000000000006044820152606401610643565b600c5460ff16156109855760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a20706175736564000000000000000000000000000000006044820152606401610643565b6000826000018281548110611a4e57634e487b7160e01b600052603260045260246000fd5b9060005260206000200154905092915050565b60006001600160a01b0384163b15611bb957604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611aa590339089908890889060040161256a565b602060405180830381600087803b158015611abf57600080fd5b505af1925050508015611aef575060408051601f3d908101601f19168201909252611aec91810190612472565b60015b611b9f573d808015611b1d576040519150601f19603f3d011682016040523d82523d6000602084013e611b22565b606091505b508051611b975760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610643565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506110a8565b506001949350505050565b60006001600160e01b03198216635a05180f60e01b148061050f575061050f82611f79565b611bf4838383611fae565b600c5460ff16156106e45760405162461bcd60e51b815260206004820152602b60248201527f4552433732315061757361626c653a20746f6b656e207472616e73666572207760448201527f68696c65207061757365640000000000000000000000000000000000000000006064820152608401610643565b60606000611c7c8360026125e5565b611c879060026125b9565b67ffffffffffffffff811115611cad57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611cd7576020820181803683370190505b509050600360fc1b81600081518110611d0057634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110611d3d57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a9053506000611d618460026125e5565b611d6c9060016125b9565b90505b6001811115611e0d577f303132333435363738396162636465660000000000000000000000000000000085600f1660108110611dbb57634e487b7160e01b600052603260045260246000fd5b1a60f81b828281518110611ddf57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535060049490941c93611e0681612647565b9050611d6f565b50831561077f5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610643565b60008181526001830160205260408120548015611f6f576000611e80600183612604565b8554909150600090611e9490600190612604565b9050818114611f15576000866000018281548110611ec257634e487b7160e01b600052603260045260246000fd5b9060005260206000200154905080876000018481548110611ef357634e487b7160e01b600052603260045260246000fd5b6000918252602080832090910192909255918252600188019052604090208390555b8554869080611f3457634e487b7160e01b600052603160045260246000fd5b60019003818190600052602060002001600090559055856001016000868152602001908152602001600020600090556001935050505061050f565b600091505061050f565b60006001600160e01b03198216637965db0b60e01b148061050f57506301ffc9a760e01b6001600160e01b031983161461050f565b6001600160a01b0383166120095761200481600a80546000838152600b60205260408120829055600182018355919091527fc65a7bb8d6351c1cf70c95a316cc6a92839c986682d98bc35f958f4883f9d2a80155565b61202c565b816001600160a01b0316836001600160a01b03161461202c5761202c8382612066565b6001600160a01b038216612043576106e481612103565b826001600160a01b0316826001600160a01b0316146106e4576106e482826121dc565b6000600161207384610bed565b61207d9190612604565b6000838152600960205260409020549091508082146120d0576001600160a01b03841660009081526008602090815260408083208584528252808320548484528184208190558352600990915290208190555b5060009182526009602090815260408084208490556001600160a01b039094168352600881528383209183525290812055565b600a5460009061211590600190612604565b6000838152600b6020526040812054600a805493945090928490811061214b57634e487b7160e01b600052603260045260246000fd5b9060005260206000200154905080600a838154811061217a57634e487b7160e01b600052603260045260246000fd5b6000918252602080832090910192909255828152600b9091526040808220849055858252812055600a8054806121c057634e487b7160e01b600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b60006121e783610bed565b6001600160a01b039093166000908152600860209081526040808320868452825280832085905593825260099052919091209190915550565b80356001600160a01b038116811461223757600080fd5b919050565b60006020828403121561224d578081fd5b61077f82612220565b60008060408385031215612268578081fd5b61227183612220565b915061227f60208401612220565b90509250929050565b60008060006060848603121561229c578081fd5b6122a584612220565b92506122b360208501612220565b9150604084013590509250925092565b600080600080608085870312156122d8578081fd5b6122e185612220565b93506122ef60208601612220565b925060408501359150606085013567ffffffffffffffff80821115612312578283fd5b818701915087601f830112612325578283fd5b813581811115612337576123376126f4565b604051601f8201601f19908116603f0116810190838211818310171561235f5761235f6126f4565b816040528281528a6020848701011115612377578586fd5b82602086016020830137918201602001949094529598949750929550505050565b600080604083850312156123aa578182fd5b6123b383612220565b9150602083013580151581146123c7578182fd5b809150509250929050565b600080604083850312156123e4578182fd5b6123ed83612220565b946020939093013593505050565b60006020828403121561240c578081fd5b5035919050565b60008060408385031215612425578182fd5b8235915061227f60208401612220565b60008060408385031215612447578182fd5b50508035926020909101359150565b600060208284031215612467578081fd5b813561077f8161270a565b600060208284031215612483578081fd5b815161077f8161270a565b600081518084526124a681602086016020860161261b565b601f01601f19169290920160200192915050565b600083516124cc81846020880161261b565b8351908301906124e081836020880161261b565b01949350505050565b7f416363657373436f6e74726f6c3a206163636f756e742000000000000000000081526000835161252181601785016020880161261b565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000601791840191820152835161255e81602884016020880161261b565b01602801949350505050565b60006001600160a01b0380871683528086166020840152508360408301526080606083015261259c608083018461248e565b9695505050505050565b60208152600061077f602083018461248e565b600082198211156125cc576125cc6126c8565b500190565b6000826125e0576125e06126de565b500490565b60008160001904831182151516156125ff576125ff6126c8565b500290565b600082821015612616576126166126c8565b500390565b60005b8381101561263657818101518382015260200161261e565b83811115610dd65750506000910152565b600081612656576126566126c8565b506000190190565b600181811c9082168061267257607f821691505b6020821081141561269357634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156126ad576126ad6126c8565b5060010190565b6000826126c3576126c36126de565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610a1757600080fdfea2646970667358221220f599768ccadc91ebd9e04d5a1fc33081b220f443b9526b46bf855377f62fc2df64736f6c63430008040033

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

000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000000095661756c74204b657900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002564b0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : name (string): Vault Key
Arg [1] : symbol (string): VK
Arg [2] : tokenURI (string):

-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000009
Arg [4] : 5661756c74204b65790000000000000000000000000000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [6] : 564b000000000000000000000000000000000000000000000000000000000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000000


Deployed Bytecode Sourcemap

81962:608:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;81634:254;;;;;;:::i;:::-;;:::i;:::-;;;6749:14:1;;6742:22;6724:41;;6712:2;6697:18;81634:254:0;;;;;;;;56458:100;;;:::i;:::-;;;;;;;:::i;57971:171::-;;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;6001:55:1;;;5983:74;;5971:2;5956:18;57971:171:0;5938:125:1;57488:417:0;;;;;;:::i;:::-;;:::i;:::-;;72112:113;72200:10;:17;72112:113;;;6922:25:1;;;6910:2;6895:18;72112:113:0;6877:76:1;58671:336:0;;;;;;:::i;:::-;;:::i;40876:131::-;;;;;;:::i;:::-;40950:7;40977:12;;;;;;;;;;:22;;;;40876:131;82268:211;;;;;;:::i;:::-;;:::i;41317:147::-;;;;;;:::i;:::-;;:::i;71780:256::-;;;;;;:::i;:::-;;:::i;42461:218::-;;;;;;:::i;:::-;;:::i;81130:185::-;;;:::i;59078:::-;;;;;;:::i;:::-;;:::i;70211:243::-;;;;;;:::i;:::-;;:::i;72302:233::-;;;;;;:::i;:::-;;:::i;23928:86::-;23999:7;;;;23928:86;;56169:222;;;;;;:::i;:::-;;:::i;80110:407::-;;;;;;:::i;:::-;;:::i;55900:207::-;;;;;;:::i;:::-;;:::i;80732:179::-;;;:::i;46114:153::-;;;;;;:::i;:::-;;:::i;39336:147::-;;;;;;:::i;:::-;39422:4;39446:12;;;;;;;;;;;-1:-1:-1;;;;;39446:29:0;;;;;;;;;;;;;;;39336:147;56627:104;;;:::i;38441:49::-;;38486:4;38441:49;;58214:155;;;;;;:::i;:::-;;:::i;59334:323::-;;;;;;:::i;:::-;;:::i;56802:281::-;;;;;;:::i;:::-;;:::i;46441:142::-;;;;;;:::i;:::-;;:::i;82487:80::-;;;;;;:::i;:::-;;:::i;78773:62::-;;78811:24;78773:62;;41757:149;;;;;;:::i;:::-;;:::i;78842:62::-;;78880:24;78842:62;;58440:164;;;;;;:::i;:::-;-1:-1:-1;;;;;58561:25:0;;;58537:4;58561:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;58440:164;81634:254;81815:4;81844:36;81868:11;81844:23;:36::i;:::-;81837:43;81634:254;-1:-1:-1;;81634:254:0:o;56458:100::-;56512:13;56545:5;56538:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56458:100;:::o;57971:171::-;58047:7;58067:23;58082:7;58067:14;:23::i;:::-;-1:-1:-1;58110:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;58110:24:0;;57971:171::o;57488:417::-;57569:13;57585:23;57600:7;57585:14;:23::i;:::-;57569:39;;57633:5;-1:-1:-1;;;;;57627:11:0;:2;-1:-1:-1;;;;;57627:11:0;;;57619:57;;;;-1:-1:-1;;;57619:57:0;;13190:2:1;57619:57:0;;;13172:21:1;13229:2;13209:18;;;13202:30;13268:34;13248:18;;;13241:62;-1:-1:-1;;;13319:18:1;;;13312:31;13360:19;;57619:57:0;;;;;;;;;22121:10;-1:-1:-1;;;;;57711:21:0;;;;:62;;-1:-1:-1;57736:37:0;57753:5;22121:10;58440:164;:::i;57736:37::-;57689:174;;;;-1:-1:-1;;;57689:174:0;;12045:2:1;57689:174:0;;;12027:21:1;12084:2;12064:18;;;12057:30;12123:34;12103:18;;;12096:62;12194:32;12174:18;;;12167:60;12244:19;;57689:174:0;12017:252:1;57689:174:0;57876:21;57885:2;57889:7;57876:8;:21::i;:::-;57488:417;;;:::o;58671:336::-;58866:41;22121:10;58885:12;58899:7;58866:18;:41::i;:::-;58858:100;;;;-1:-1:-1;;;58858:100:0;;14435:2:1;58858:100:0;;;14417:21:1;14474:2;14454:18;;;14447:30;14513:34;14493:18;;;14486:62;-1:-1:-1;;;14564:18:1;;;14557:44;14618:19;;58858:100:0;14407:236:1;58858:100:0;58971:28;58981:4;58987:2;58991:7;58971:9;:28::i;82268:211::-;82346:7;82366:15;82384:22;82394:11;82384:9;:22::i;:::-;82366:40;-1:-1:-1;82426:45:0;82446:11;82459;82469:1;82366:40;82459:11;:::i;82426:45::-;82419:52;82268:211;-1:-1:-1;;;82268:211:0:o;41317:147::-;40950:7;40977:12;;;;;;;;;;:22;;;38932:16;38943:4;38932:10;:16::i;:::-;41431:25:::1;41442:4;41448:7;41431:10;:25::i;71780:256::-:0;71877:7;71913:23;71930:5;71913:16;:23::i;:::-;71905:5;:31;71897:87;;;;-1:-1:-1;;;71897:87:0;;8506:2:1;71897:87:0;;;8488:21:1;8545:2;8525:18;;;8518:30;8584:34;8564:18;;;8557:62;8655:13;8635:18;;;8628:41;8686:19;;71897:87:0;8478:233:1;71897:87:0;-1:-1:-1;;;;;;72002:19:0;;;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;71780:256::o;42461:218::-;-1:-1:-1;;;;;42557:23:0;;22121:10;42557:23;42549:83;;;;-1:-1:-1;;;42549:83:0;;15283:2:1;42549:83:0;;;15265:21:1;15322:2;15302:18;;;15295:30;15361:34;15341:18;;;15334:62;15432:17;15412:18;;;15405:45;15467:19;;42549:83:0;15255:237:1;42549:83:0;42645:26;42657:4;42663:7;42645:11;:26::i;:::-;42461:218;;:::o;81130:185::-;81183:34;78880:24;22121:10;39336:147;:::i;81183:34::-;81175:111;;;;;-1:-1:-1;;;81175:111:0;;14850:2:1;81175:111:0;;;14832:21:1;14869:18;;;14862:30;;;;14928:34;14908:18;;;14901:62;14999:34;14979:18;;;14972:62;15051:19;;81175:111:0;14822:254:1;81175:111:0;81297:10;:8;:10::i;:::-;81130:185::o;59078:::-;59216:39;59233:4;59239:2;59243:7;59216:39;;;;;;;;;;;;:16;:39::i;70211:243::-;70329:41;22121:10;70348:12;22041:98;70329:41;70321:100;;;;-1:-1:-1;;;70321:100:0;;14435:2:1;70321:100:0;;;14417:21:1;14474:2;14454:18;;;14447:30;14513:34;14493:18;;;14486:62;-1:-1:-1;;;14564:18:1;;;14557:44;14618:19;;70321:100:0;14407:236:1;70321:100:0;70432:14;70438:7;70432:5;:14::i;:::-;70211:243;:::o;72302:233::-;72377:7;72413:30;72200:10;:17;;72112:113;72413:30;72405:5;:38;72397:95;;;;-1:-1:-1;;;72397:95:0;;13592:2:1;72397:95:0;;;13574:21:1;13631:2;13611:18;;;13604:30;13670:34;13650:18;;;13643:62;13741:14;13721:18;;;13714:42;13773:19;;72397:95:0;13564:234:1;72397:95:0;72510:10;72521:5;72510:17;;;;;;-1:-1:-1;;;72510:17:0;;;;;;;;;;;;;;;;;72503:24;;72302:233;;;:::o;56169:222::-;56241:7;56277:16;;;:7;:16;;;;;;-1:-1:-1;;;;;56277:16:0;56312:19;56304:56;;;;-1:-1:-1;;;56304:56:0;;12837:2:1;56304:56:0;;;12819:21:1;12876:2;12856:18;;;12849:30;12915:26;12895:18;;;12888:54;12959:18;;56304:56:0;12809:174:1;80110:407:0;80170:34;78811:24;22121:10;39336:147;:::i;80170:34::-;80162:108;;;;-1:-1:-1;;;80162:108:0;;14005:2:1;80162:108:0;;;13987:21:1;14044:2;14024:18;;;14017:30;14083:34;14063:18;;;14056:62;14154:31;14134:18;;;14127:59;14203:19;;80162:108:0;13977:251:1;80162:108:0;80435:36;80441:2;80445:25;:15;964:14;;872:114;80445:25;80435:5;:36::i;:::-;80482:27;:15;1083:19;;1101:1;1083:19;;;994:127;55900:207;55972:7;-1:-1:-1;;;;;56000:19:0;;55992:73;;;;-1:-1:-1;;;55992:73:0;;11635:2:1;55992:73:0;;;11617:21:1;11674:2;11654:18;;;11647:30;11713:34;11693:18;;;11686:62;11784:11;11764:18;;;11757:39;11813:19;;55992:73:0;11607:231:1;55992:73:0;-1:-1:-1;;;;;;56083:16:0;;;;;:9;:16;;;;;;;55900:207::o;80732:179::-;80783:34;78880:24;22121:10;39336:147;:::i;80783:34::-;80775:109;;;;-1:-1:-1;;;80775:109:0;;10100:2:1;80775:109:0;;;10082:21:1;10139:2;10119:18;;;10112:30;10178:34;10158:18;;;10151:62;10249:32;10229:18;;;10222:60;10299:19;;80775:109:0;10072:252:1;80775:109:0;80895:8;:6;:8::i;46114:153::-;46204:7;46231:18;;;:12;:18;;;;;:28;;46253:5;46231:21;:28::i;56627:104::-;56683:13;56716:7;56709:14;;;;;:::i;58214:155::-;58309:52;22121:10;58342:8;58352;58309:18;:52::i;59334:323::-;59508:41;22121:10;59541:7;59508:18;:41::i;:::-;59500:100;;;;-1:-1:-1;;;59500:100:0;;14435:2:1;59500:100:0;;;14417:21:1;14474:2;14454:18;;;14447:30;14513:34;14493:18;;;14486:62;-1:-1:-1;;;14564:18:1;;;14557:44;14618:19;;59500:100:0;14407:236:1;59500:100:0;59611:38;59625:4;59631:2;59635:7;59644:4;59611:13;:38::i;:::-;59334:323;;;;:::o;56802:281::-;56875:13;56901:23;56916:7;56901:14;:23::i;:::-;56937:21;56961:10;:8;:10::i;:::-;56937:34;;57013:1;56995:7;56989:21;:25;:86;;;;;;;;;;;;;;;;;57041:7;57050:18;:7;:16;:18::i;:::-;57024:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;56982:93;56802:281;-1:-1:-1;;;56802:281:0:o;46441:142::-;46521:7;46548:18;;;:12;:18;;;;;:27;;:25;:27::i;82487:80::-;82545:14;82556:2;82545:10;:14::i;41757:149::-;40950:7;40977:12;;;;;;;;;;:22;;;38932:16;38943:4;38932:10;:16::i;:::-;41872:26:::1;41884:4;41890:7;41872:11;:26::i;44058:238::-:0;39422:4;39446:12;;;;;;;;;;;-1:-1:-1;;;;;39446:29:0;;;;;;;;;;;;44137:152;;44181:6;:12;;;;;;;;;;;-1:-1:-1;;;;;44181:29:0;;;;;;;;;:36;;-1:-1:-1;;44181:36:0;44213:4;44181:36;;;44264:12;22121:10;;22041:98;44264:12;-1:-1:-1;;;;;44237:40:0;44255:7;-1:-1:-1;;;;;44237:40:0;44249:4;44237:40;;;;;;;;;;44058:238;;:::o;9761:152::-;9831:4;9855:50;9860:3;-1:-1:-1;;;;;9880:23:0;;9855:4;:50::i;71472:224::-;71574:4;-1:-1:-1;;;;;;71598:50:0;;-1:-1:-1;;;71598:50:0;;:90;;;71652:36;71676:11;71652:23;:36::i;65946:135::-;61229:4;61253:16;;;:7;:16;;;;;;-1:-1:-1;;;;;61253:16:0;66020:53;;;;-1:-1:-1;;;66020:53:0;;12837:2:1;66020:53:0;;;12819:21:1;12876:2;12856:18;;;12849:30;12915:26;12895:18;;;12888:54;12959:18;;66020:53:0;12809:174:1;65225::0;65300:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;65300:29:0;-1:-1:-1;;;;;65300:29:0;;;;;;;;:24;;65354:23;65300:24;65354:14;:23::i;:::-;-1:-1:-1;;;;;65345:46:0;;;;;;;;;;;65225:174;;:::o;61458:264::-;61551:4;61568:13;61584:23;61599:7;61584:14;:23::i;:::-;61568:39;;61637:5;-1:-1:-1;;;;;61626:16:0;:7;-1:-1:-1;;;;;61626:16:0;;:52;;;-1:-1:-1;;;;;;58561:25:0;;;58537:4;58561:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;61646:32;61626:87;;;;61706:7;-1:-1:-1;;;;;61682:31:0;:20;61694:7;61682:11;:20::i;:::-;-1:-1:-1;;;;;61682:31:0;;61626:87;61618:96;61458:264;-1:-1:-1;;;;61458:264:0:o;64481:625::-;64640:4;-1:-1:-1;;;;;64613:31:0;:23;64628:7;64613:14;:23::i;:::-;-1:-1:-1;;;;;64613:31:0;;64605:81;;;;-1:-1:-1;;;64605:81:0;;9337:2:1;64605:81:0;;;9319:21:1;9376:2;9356:18;;;9349:30;9415:34;9395:18;;;9388:62;9486:7;9466:18;;;9459:35;9511:19;;64605:81:0;9309:227:1;64605:81:0;-1:-1:-1;;;;;64705:16:0;;64697:65;;;;-1:-1:-1;;;64697:65:0;;10531:2:1;64697:65:0;;;10513:21:1;10570:2;10550:18;;;10543:30;10609:34;10589:18;;;10582:62;-1:-1:-1;;;10660:18:1;;;10653:34;10704:19;;64697:65:0;10503:226:1;64697:65:0;64775:39;64796:4;64802:2;64806:7;64775:20;:39::i;:::-;64879:29;64896:1;64900:7;64879:8;:29::i;:::-;-1:-1:-1;;;;;64921:15:0;;;;;;:9;:15;;;;;:20;;64940:1;;64921:15;:20;;64940:1;;64921:20;:::i;:::-;;;;-1:-1:-1;;;;;;;64952:13:0;;;;;;:9;:13;;;;;:18;;64969:1;;64952:13;:18;;64969:1;;64952:18;:::i;:::-;;;;-1:-1:-1;;64981:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;64981:21:0;-1:-1:-1;;;;;64981:21:0;;;;;;;;;65020:27;;64981:16;;65020:27;;;;;;;57488:417;;;:::o;39787:105::-;39854:30;39865:4;22121:10;39854;:30::i;46676:169::-;46764:31;46781:4;46787:7;46764:16;:31::i;:::-;46806:18;;;;:12;:18;;;;;:31;;46829:7;46806:22;:31::i;46939:174::-;47028:32;47046:4;47052:7;47028:17;:32::i;:::-;47071:18;;;;:12;:18;;;;;:34;;47097:7;47071:25;:34::i;24783:120::-;23792:16;:14;:16::i;:::-;24842:7:::1;:15:::0;;-1:-1:-1;;24842:15:0::1;::::0;;24873:22:::1;22121:10:::0;24882:12:::1;24873:22;::::0;-1:-1:-1;;;;;6001:55:1;;;5983:74;;5971:2;5956:18;24873:22:0::1;;;;;;;24783:120::o:0;63724:420::-;63784:13;63800:23;63815:7;63800:14;:23::i;:::-;63784:39;;63836:48;63857:5;63872:1;63876:7;63836:20;:48::i;:::-;63925:29;63942:1;63946:7;63925:8;:29::i;:::-;-1:-1:-1;;;;;63967:16:0;;;;;;:9;:16;;;;;:21;;63987:1;;63967:16;:21;;63987:1;;63967:21;:::i;:::-;;;;-1:-1:-1;;64006:16:0;;;;:7;:16;;;;;;63999:23;;-1:-1:-1;;;;;;63999:23:0;;;64040:36;64014:7;;64006:16;-1:-1:-1;;;;;64040:36:0;;;;;64006:16;;64040:36;42461:218;;:::o;63056:439::-;-1:-1:-1;;;;;63136:16:0;;63128:61;;;;-1:-1:-1;;;63128:61:0;;12476:2:1;63128:61:0;;;12458:21:1;;;12495:18;;;12488:30;12554:34;12534:18;;;12527:62;12606:18;;63128:61:0;12448:182:1;63128:61:0;61229:4;61253:16;;;:7;:16;;;;;;-1:-1:-1;;;;;61253:16:0;:30;63200:58;;;;-1:-1:-1;;;63200:58:0;;9743:2:1;63200:58:0;;;9725:21:1;9782:2;9762:18;;;9755:30;9821;9801:18;;;9794:58;9869:18;;63200:58:0;9715:178:1;63200:58:0;63271:45;63300:1;63304:2;63308:7;63271:20;:45::i;:::-;-1:-1:-1;;;;;63329:13:0;;;;;;:9;:13;;;;;:18;;63346:1;;63329:13;:18;;63346:1;;63329:18;:::i;:::-;;;;-1:-1:-1;;63358:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;63358:21:0;-1:-1:-1;;;;;63358:21:0;;;;;;;;63397:33;;63358:16;;;63397:33;;63358:16;;63397:33;42461:218;;:::o;24524:118::-;23533:19;:17;:19::i;:::-;24584:7:::1;:14:::0;;-1:-1:-1;;24584:14:0::1;24594:4;24584:14;::::0;;24614:20:::1;24621:12;22121:10:::0;;22041:98;11057:158;11131:7;11182:22;11186:3;11198:5;11182:3;:22::i;65542:315::-;65697:8;-1:-1:-1;;;;;65688:17:0;:5;-1:-1:-1;;;;;65688:17:0;;;65680:55;;;;-1:-1:-1;;;65680:55:0;;10936:2:1;65680:55:0;;;10918:21:1;10975:2;10955:18;;;10948:30;11014:27;10994:18;;;10987:55;11059:18;;65680:55:0;10908:175:1;65680:55:0;-1:-1:-1;;;;;65746:25:0;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;65746:46:0;;;;;;;;;;65808:41;;6724::1;;;65808::0;;6697:18:1;65808:41:0;;;;;;;65542:315;;;:::o;60538:313::-;60694:28;60704:4;60710:2;60714:7;60694:9;:28::i;:::-;60741:47;60764:4;60770:2;60774:7;60783:4;60741:22;:47::i;:::-;60733:110;;;;-1:-1:-1;;;60733:110:0;;8918:2:1;60733:110:0;;;8900:21:1;8957:2;8937:18;;;8930:30;8996:34;8976:18;;;8969:62;9067:20;9047:18;;;9040:48;9105:19;;60733:110:0;8890:240:1;79608:114:0;79668:13;79701;79694:20;;;;;:::i;19295:723::-;19351:13;19572:10;19568:53;;-1:-1:-1;;19599:10:0;;;;;;;;;;;;-1:-1:-1;;;19599:10:0;;;;;19295:723::o;19568:53::-;19646:5;19631:12;19687:78;19694:9;;19687:78;;19720:8;;;;:::i;:::-;;-1:-1:-1;19743:10:0;;-1:-1:-1;19751:2:0;19743:10;;:::i;:::-;;;19687:78;;;19775:19;19807:6;19797:17;;;;;;-1:-1:-1;;;19797:17:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;19797:17:0;;19775:39;;19825:154;19832:10;;19825:154;;19859:11;19869:1;19859:11;;:::i;:::-;;-1:-1:-1;19928:10:0;19936:2;19928:5;:10;:::i;:::-;19915:24;;:2;:24;:::i;:::-;19902:39;;19885:6;19892;19885:14;;;;;;-1:-1:-1;;;19885:14:0;;;;;;;;;;;;:56;-1:-1:-1;;;;;19885:56:0;;;;;;;;-1:-1:-1;19956:11:0;19965:2;19956:11;;:::i;:::-;;;19825:154;;10586:117;10649:7;10676:19;10684:3;6070:18;;5987:109;3676:414;3739:4;5869:19;;;:12;;;:19;;;;;;3756:327;;-1:-1:-1;3799:23:0;;;;;;;;:11;:23;;;;;;;;;;;;;3982:18;;3960:19;;;:12;;;:19;;;;;;:40;;;;4015:11;;3756:327;-1:-1:-1;4066:5:0;4059:12;;55531:305;55633:4;-1:-1:-1;;;;;;55670:40:0;;-1:-1:-1;;;55670:40:0;;:105;;-1:-1:-1;;;;;;;55727:48:0;;-1:-1:-1;;;55727:48:0;55670:105;:158;;;;55792:36;55816:11;55792:23;:36::i;81323:239::-;81509:45;81536:4;81542:2;81546:7;81509:26;:45::i;40182:505::-;39422:4;39446:12;;;;;;;;;;;-1:-1:-1;;;;;39446:29:0;;;;;;;;;;;;40266:414;;40459:41;40487:7;-1:-1:-1;;;;;40459:41:0;40497:2;40459:19;:41::i;:::-;40573:38;40601:4;40608:2;40573:19;:38::i;:::-;40364:270;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;40364:270:0;;;;;;;;;;-1:-1:-1;;;40310:358:0;;;;;;;:::i;44476:239::-;39422:4;39446:12;;;;;;;;;;;-1:-1:-1;;;;;39446:29:0;;;;;;;;;;;;44556:152;;;44631:5;44599:12;;;;;;;;;;;-1:-1:-1;;;;;44599:29:0;;;;;;;;;;:37;;-1:-1:-1;;44599:37:0;;;44656:40;22121:10;;44599:12;;44656:40;;44631:5;44656:40;44476:239;;:::o;10089:158::-;10162:4;10186:53;10194:3;-1:-1:-1;;;;;10214:23:0;;10186:7;:53::i;24272:108::-;23999:7;;;;24331:41;;;;-1:-1:-1;;;24331:41:0;;8157:2:1;24331:41:0;;;8139:21:1;8196:2;8176:18;;;8169:30;8235:22;8215:18;;;8208:50;8275:18;;24331:41:0;8129:170:1;24087:108:0;23999:7;;;;24157:9;24149:38;;;;-1:-1:-1;;;24149:38:0;;11290:2:1;24149:38:0;;;11272:21:1;11329:2;11309:18;;;11302:30;11368:18;11348;;;11341:46;11404:18;;24149:38:0;11262:166:1;6450:120:0;6517:7;6544:3;:11;;6556:5;6544:18;;;;;;-1:-1:-1;;;6544:18:0;;;;;;;;;;;;;;;;;6537:25;;6450:120;;;;:::o;66645:853::-;66799:4;-1:-1:-1;;;;;66820:13:0;;26438:19;:23;66816:675;;66856:71;;-1:-1:-1;;;66856:71:0;;-1:-1:-1;;;;;66856:36:0;;;;;:71;;22121:10;;66907:4;;66913:7;;66922:4;;66856:71;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;66856:71:0;;;;;;;;-1:-1:-1;;66856:71:0;;;;;;;;;;;;:::i;:::-;;;66852:584;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;67097:13:0;;67093:328;;67140:60;;-1:-1:-1;;;67140:60:0;;8918:2:1;67140:60:0;;;8900:21:1;8957:2;8937:18;;;8930:30;8996:34;8976:18;;;8969:62;9067:20;9047:18;;;9040:48;9105:19;;67140:60:0;8890:240:1;67093:328:0;67371:6;67365:13;67356:6;67352:2;67348:15;67341:38;66852:584;-1:-1:-1;;;;;;66978:51:0;-1:-1:-1;;;66978:51:0;;-1:-1:-1;66971:58:0;;66816:675;-1:-1:-1;67475:4:0;66645:853;;;;;;:::o;45301:214::-;45386:4;-1:-1:-1;;;;;;45410:57:0;;-1:-1:-1;;;45410:57:0;;:97;;;45471:36;45495:11;45471:23;:36::i;69391:275::-;69535:45;69562:4;69568:2;69572:7;69535:26;:45::i;:::-;23999:7;;;;69601:9;69593:65;;;;-1:-1:-1;;;69593:65:0;;7745:2:1;69593:65:0;;;7727:21:1;7784:2;7764:18;;;7757:30;7823:34;7803:18;;;7796:62;7894:13;7874:18;;;7867:41;7925:19;;69593:65:0;7717:233:1;20596:451:0;20671:13;20697:19;20729:10;20733:6;20729:1;:10;:::i;:::-;:14;;20742:1;20729:14;:::i;:::-;20719:25;;;;;;-1:-1:-1;;;20719:25:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;20719:25:0;;20697:47;;-1:-1:-1;;;20755:6:0;20762:1;20755:9;;;;;;-1:-1:-1;;;20755:9:0;;;;;;;;;;;;:15;-1:-1:-1;;;;;20755:15:0;;;;;;;;;-1:-1:-1;;;20781:6:0;20788:1;20781:9;;;;;;-1:-1:-1;;;20781:9:0;;;;;;;;;;;;:15;-1:-1:-1;;;;;20781:15:0;;;;;;;;-1:-1:-1;20812:9:0;20824:10;20828:6;20824:1;:10;:::i;:::-;:14;;20837:1;20824:14;:::i;:::-;20812:26;;20807:135;20844:1;20840;:5;20807:135;;;20879:12;20892:5;20900:3;20892:11;20879:25;;;;;-1:-1:-1;;;20879:25:0;;;;;;;;;;;;20867:6;20874:1;20867:9;;;;;;-1:-1:-1;;;20867:9:0;;;;;;;;;;;;:37;-1:-1:-1;;;;;20867:37:0;;;;;;;;-1:-1:-1;20929:1:0;20919:11;;;;;20847:3;;;:::i;:::-;;;20807:135;;;-1:-1:-1;20960:10:0;;20952:55;;;;-1:-1:-1;;;20952:55:0;;7384:2:1;20952:55:0;;;7366:21:1;;;7403:18;;;7396:30;7462:34;7442:18;;;7435:62;7514:18;;20952:55:0;7356:182:1;4266:1420:0;4332:4;4471:19;;;:12;;;:19;;;;;;4507:15;;4503:1176;;4882:21;4906:14;4919:1;4906:10;:14;:::i;:::-;4955:18;;4882:38;;-1:-1:-1;4935:17:0;;4955:22;;4976:1;;4955:22;:::i;:::-;4935:42;;5011:13;4998:9;:26;4994:405;;5045:17;5065:3;:11;;5077:9;5065:22;;;;;;-1:-1:-1;;;5065:22:0;;;;;;;;;;;;;;;;;5045:42;;5219:9;5190:3;:11;;5202:13;5190:26;;;;;;-1:-1:-1;;;5190:26:0;;;;;;;;;;;;;;;;;;;;:38;;;;5304:23;;;:12;;;:23;;;;;:36;;;4994:405;5480:17;;:3;;:17;;;-1:-1:-1;;;5480:17:0;;;;;;;;;;;;;;;;;;;;;;;;;;5575:3;:12;;:19;5588:5;5575:19;;;;;;;;;;;5568:26;;;5618:4;5611:11;;;;;;;4503:1176;5662:5;5655:12;;;;;39040:204;39125:4;-1:-1:-1;;;;;;39149:47:0;;-1:-1:-1;;;39149:47:0;;:87;;-1:-1:-1;;;;;;;;;;36408:40:0;;;39200:36;36299:157;73148:589;-1:-1:-1;;;;;73354:18:0;;73350:187;;73389:40;73421:7;74564:10;:17;;74537:24;;;;:15;:24;;;;;:44;;;74592:24;;;;;;;;;;;;74460:164;73389:40;73350:187;;;73459:2;-1:-1:-1;;;;;73451:10:0;:4;-1:-1:-1;;;;;73451:10:0;;73447:90;;73478:47;73511:4;73517:7;73478:32;:47::i;:::-;-1:-1:-1;;;;;73551:16:0;;73547:183;;73584:45;73621:7;73584:36;:45::i;73547:183::-;73657:4;-1:-1:-1;;;;;73651:10:0;:2;-1:-1:-1;;;;;73651:10:0;;73647:83;;73678:40;73706:2;73710:7;73678:27;:40::i;75251:988::-;75517:22;75567:1;75542:22;75559:4;75542:16;:22::i;:::-;:26;;;;:::i;:::-;75579:18;75600:26;;;:17;:26;;;;;;75517:51;;-1:-1:-1;75733:28:0;;;75729:328;;-1:-1:-1;;;;;75800:18:0;;75778:19;75800:18;;;:12;:18;;;;;;;;:34;;;;;;;;;75851:30;;;;;;:44;;;75968:30;;:17;:30;;;;;:43;;;75729:328;-1:-1:-1;76153:26:0;;;;:17;:26;;;;;;;;76146:33;;;-1:-1:-1;;;;;76197:18:0;;;;;:12;:18;;;;;:34;;;;;;;76190:41;75251:988::o;76534:1079::-;76812:10;:17;76787:22;;76812:21;;76832:1;;76812:21;:::i;:::-;76844:18;76865:24;;;:15;:24;;;;;;77238:10;:26;;76787:46;;-1:-1:-1;76865:24:0;;76787:46;;77238:26;;;;-1:-1:-1;;;77238:26:0;;;;;;;;;;;;;;;;;77216:48;;77302:11;77277:10;77288;77277:22;;;;;;-1:-1:-1;;;77277:22:0;;;;;;;;;;;;;;;;;;;;:36;;;;77382:28;;;:15;:28;;;;;;;:41;;;77554:24;;;;;77547:31;77589:10;:16;;;;;-1:-1:-1;;;77589:16:0;;;;;;;;;;;;;;;;;;;;;;;;;;76534:1079;;;;:::o;74038:221::-;74123:14;74140:20;74157:2;74140:16;:20::i;:::-;-1:-1:-1;;;;;74171:16:0;;;;;;;:12;:16;;;;;;;;:24;;;;;;;;:34;;;74216:26;;;:17;:26;;;;;;:35;;;;-1:-1:-1;74038:221:0:o;14:196:1:-;82:20;;-1:-1:-1;;;;;131:54:1;;121:65;;111:2;;200:1;197;190:12;111:2;63:147;;;:::o;215:196::-;274:6;327:2;315:9;306:7;302:23;298:32;295:2;;;348:6;340;333:22;295:2;376:29;395:9;376:29;:::i;416:270::-;484:6;492;545:2;533:9;524:7;520:23;516:32;513:2;;;566:6;558;551:22;513:2;594:29;613:9;594:29;:::i;:::-;584:39;;642:38;676:2;665:9;661:18;642:38;:::i;:::-;632:48;;503:183;;;;;:::o;691:338::-;768:6;776;784;837:2;825:9;816:7;812:23;808:32;805:2;;;858:6;850;843:22;805:2;886:29;905:9;886:29;:::i;:::-;876:39;;934:38;968:2;957:9;953:18;934:38;:::i;:::-;924:48;;1019:2;1008:9;1004:18;991:32;981:42;;795:234;;;;;:::o;1034:1183::-;1129:6;1137;1145;1153;1206:3;1194:9;1185:7;1181:23;1177:33;1174:2;;;1228:6;1220;1213:22;1174:2;1256:29;1275:9;1256:29;:::i;:::-;1246:39;;1304:38;1338:2;1327:9;1323:18;1304:38;:::i;:::-;1294:48;;1389:2;1378:9;1374:18;1361:32;1351:42;;1444:2;1433:9;1429:18;1416:32;1467:18;1508:2;1500:6;1497:14;1494:2;;;1529:6;1521;1514:22;1494:2;1572:6;1561:9;1557:22;1547:32;;1617:7;1610:4;1606:2;1602:13;1598:27;1588:2;;1644:6;1636;1629:22;1588:2;1685;1672:16;1707:2;1703;1700:10;1697:2;;;1713:18;;:::i;:::-;1788:2;1782:9;1756:2;1842:13;;-1:-1:-1;;1838:22:1;;;1862:2;1834:31;1830:40;1818:53;;;1886:18;;;1906:22;;;1883:46;1880:2;;;1932:18;;:::i;:::-;1972:10;1968:2;1961:22;2007:2;1999:6;1992:18;2047:7;2042:2;2037;2033;2029:11;2025:20;2022:33;2019:2;;;2073:6;2065;2058:22;2019:2;2134;2129;2125;2121:11;2116:2;2108:6;2104:15;2091:46;2157:15;;;2174:2;2153:24;2146:40;;;;1164:1053;;;;-1:-1:-1;1164:1053:1;;-1:-1:-1;;;;1164:1053:1:o;2222:367::-;2287:6;2295;2348:2;2336:9;2327:7;2323:23;2319:32;2316:2;;;2369:6;2361;2354:22;2316:2;2397:29;2416:9;2397:29;:::i;:::-;2387:39;;2476:2;2465:9;2461:18;2448:32;2523:5;2516:13;2509:21;2502:5;2499:32;2489:2;;2550:6;2542;2535:22;2489:2;2578:5;2568:15;;;2306:283;;;;;:::o;2594:264::-;2662:6;2670;2723:2;2711:9;2702:7;2698:23;2694:32;2691:2;;;2744:6;2736;2729:22;2691:2;2772:29;2791:9;2772:29;:::i;:::-;2762:39;2848:2;2833:18;;;;2820:32;;-1:-1:-1;;;2681:177:1:o;2863:190::-;2922:6;2975:2;2963:9;2954:7;2950:23;2946:32;2943:2;;;2996:6;2988;2981:22;2943:2;-1:-1:-1;3024:23:1;;2933:120;-1:-1:-1;2933:120:1:o;3058:264::-;3126:6;3134;3187:2;3175:9;3166:7;3162:23;3158:32;3155:2;;;3208:6;3200;3193:22;3155:2;3249:9;3236:23;3226:33;;3278:38;3312:2;3301:9;3297:18;3278:38;:::i;3327:258::-;3395:6;3403;3456:2;3444:9;3435:7;3431:23;3427:32;3424:2;;;3477:6;3469;3462:22;3424:2;-1:-1:-1;;3505:23:1;;;3575:2;3560:18;;;3547:32;;-1:-1:-1;3414:171:1:o;3590:255::-;3648:6;3701:2;3689:9;3680:7;3676:23;3672:32;3669:2;;;3722:6;3714;3707:22;3669:2;3766:9;3753:23;3785:30;3809:5;3785:30;:::i;3850:259::-;3919:6;3972:2;3960:9;3951:7;3947:23;3943:32;3940:2;;;3993:6;3985;3978:22;3940:2;4030:9;4024:16;4049:30;4073:5;4049:30;:::i;4309:257::-;4350:3;4388:5;4382:12;4415:6;4410:3;4403:19;4431:63;4487:6;4480:4;4475:3;4471:14;4464:4;4457:5;4453:16;4431:63;:::i;:::-;4548:2;4527:15;-1:-1:-1;;4523:29:1;4514:39;;;;4555:4;4510:50;;4358:208;-1:-1:-1;;4358:208:1:o;4571:470::-;4750:3;4788:6;4782:13;4804:53;4850:6;4845:3;4838:4;4830:6;4826:17;4804:53;:::i;:::-;4920:13;;4879:16;;;;4942:57;4920:13;4879:16;4976:4;4964:17;;4942:57;:::i;:::-;5015:20;;4758:283;-1:-1:-1;;;;4758:283:1:o;5046:786::-;5457:25;5452:3;5445:38;5427:3;5512:6;5506:13;5528:62;5583:6;5578:2;5573:3;5569:12;5562:4;5554:6;5550:17;5528:62;:::i;:::-;5654:19;5649:2;5609:16;;;5641:11;;;5634:40;5699:13;;5721:63;5699:13;5770:2;5762:11;;5755:4;5743:17;;5721:63;:::i;:::-;5804:17;5823:2;5800:26;;5435:397;-1:-1:-1;;;;5435:397:1:o;6068:511::-;6262:4;-1:-1:-1;;;;;6372:2:1;6364:6;6360:15;6349:9;6342:34;6424:2;6416:6;6412:15;6407:2;6396:9;6392:18;6385:43;;6464:6;6459:2;6448:9;6444:18;6437:34;6507:3;6502:2;6491:9;6487:18;6480:31;6528:45;6568:3;6557:9;6553:19;6545:6;6528:45;:::i;:::-;6520:53;6271:308;-1:-1:-1;;;;;;6271:308:1:o;6958:219::-;7107:2;7096:9;7089:21;7070:4;7127:44;7167:2;7156:9;7152:18;7144:6;7127:44;:::i;15679:128::-;15719:3;15750:1;15746:6;15743:1;15740:13;15737:2;;;15756:18;;:::i;:::-;-1:-1:-1;15792:9:1;;15727:80::o;15812:120::-;15852:1;15878;15868:2;;15883:18;;:::i;:::-;-1:-1:-1;15917:9:1;;15858:74::o;15937:168::-;15977:7;16043:1;16039;16035:6;16031:14;16028:1;16025:21;16020:1;16013:9;16006:17;16002:45;15999:2;;;16050:18;;:::i;:::-;-1:-1:-1;16090:9:1;;15989:116::o;16110:125::-;16150:4;16178:1;16175;16172:8;16169:2;;;16183:18;;:::i;:::-;-1:-1:-1;16220:9:1;;16159:76::o;16240:258::-;16312:1;16322:113;16336:6;16333:1;16330:13;16322:113;;;16412:11;;;16406:18;16393:11;;;16386:39;16358:2;16351:10;16322:113;;;16453:6;16450:1;16447:13;16444:2;;;-1:-1:-1;;16488:1:1;16470:16;;16463:27;16293:205::o;16503:136::-;16542:3;16570:5;16560:2;;16579:18;;:::i;:::-;-1:-1:-1;;;16615:18:1;;16550:89::o;16644:380::-;16723:1;16719:12;;;;16766;;;16787:2;;16841:4;16833:6;16829:17;16819:27;;16787:2;16894;16886:6;16883:14;16863:18;16860:38;16857:2;;;16940:10;16935:3;16931:20;16928:1;16921:31;16975:4;16972:1;16965:15;17003:4;17000:1;16993:15;16857:2;;16699:325;;;:::o;17029:135::-;17068:3;-1:-1:-1;;17089:17:1;;17086:2;;;17109:18;;:::i;:::-;-1:-1:-1;17156:1:1;17145:13;;17076:88::o;17169:112::-;17201:1;17227;17217:2;;17232:18;;:::i;:::-;-1:-1:-1;17266:9:1;;17207:74::o;17286:127::-;17347:10;17342:3;17338:20;17335:1;17328:31;17378:4;17375:1;17368:15;17402:4;17399:1;17392:15;17418:127;17479:10;17474:3;17470:20;17467:1;17460:31;17510:4;17507:1;17500:15;17534:4;17531:1;17524:15;17550:127;17611:10;17606:3;17602:20;17599:1;17592:31;17642:4;17639:1;17632:15;17666:4;17663:1;17656:15;17682:131;-1:-1:-1;;;;;;17756:32:1;;17746:43;;17736:2;;17803:1;17800;17793:12

Swarm Source

ipfs://f599768ccadc91ebd9e04d5a1fc33081b220f443b9526b46bf855377f62fc2df
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.