ETH Price: $3,068.59 (-2.11%)

Token

NetvrkTransports (NVKTP)
 

Overview

Max Total Supply

0 NVKTP

Holders

1,495

Market

Volume (24H)

0.0254 ETH

Min Price (24H)

$38.97 @ 0.012699 ETH

Max Price (24H)

$38.97 @ 0.012700 ETH
Balance
2 NVKTP
0x5EDCa2ee78ac4c12Bc81dbe0ed0447096A21FFB2
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

Netvrk is a metaverse built on the blockchain that allows users to monetize their creations via NFTs and Virtual Land.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
RootTransport

Compiler Version
v0.8.0+commit.c7dfd78e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 25 : RootTransport.sol
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.0;

import {ERC721} from "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import {Ownable} from "@openzeppelin/contracts/access/Ownable.sol";
import {AccessControl} from "@openzeppelin/contracts/access/AccessControl.sol";
import {ERC721URIStorage} from "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol";
import {NativeMetaTransaction} from "../../common/NativeMetaTransaction.sol";
import {IMintableERC721} from "../../common/IMintableERC721.sol";
import {ContextMixin} from "../../common/ContextMixin.sol";
import {ITransportMinter} from "../ITransportMinter.sol";
import {ERC165Storage} from "@openzeppelin/contracts/utils/introspection/ERC165Storage.sol";
import {Pausable } from "@openzeppelin/contracts/security/Pausable.sol";
import "@openzeppelin/contracts/interfaces/IERC2981.sol";

contract RootTransport is
    AccessControl,
    NativeMetaTransaction,
    IMintableERC721,
    ERC721URIStorage,
    Ownable,
    ContextMixin,
    IERC2981,
    ERC165Storage,
    Pausable
{
    uint256 private startDate;

    bytes32 public constant PREDICATE_ROLE = keccak256("PREDICATE_ROLE");

    string public baseURI;

     ITransportMinter public transportMinter;
    address public auctionAddress;

    bytes4 private constant _INTERFACE_ID_ERC2981 = 0x2a55205a;
    uint256 private _royaltyPercentage;
    address private _royaltyAddress;

    event TransportPaused(address owner);
    event TransportUnpaused(address owner);

    constructor(
        string memory name_,
        string memory symbol_,
        string memory url_
    ) ERC721(name_, symbol_) {
        _setupRole(DEFAULT_ADMIN_ROLE, _senderAddr());
        _setupRole(PREDICATE_ROLE, _senderAddr());
        _initializeEIP712(name_);

        //implemented royalty based on this guidance https://eips.ethereum.org/EIPS/eip-2981
        _registerInterface(_INTERFACE_ID_ERC2981);

        baseURI = url_;
        startDate = block.timestamp;
    }

     function setTransportMinter(address _minterAddress) external whenNotPaused onlyOwner {
        transportMinter = ITransportMinter(_minterAddress);
         _setupRole(PREDICATE_ROLE, _minterAddress);
    }


    function setAuctionAddress(address _auctionAddress) external whenNotPaused onlyOwner {
        auctionAddress = _auctionAddress;
    }

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

    /**
     * @dev See {IMintableERC721-mint}.
     */
    function mint(address user, uint256 tokenId)
        external
        override
        onlyRole(PREDICATE_ROLE)
        whenNotPaused
    {
        _mint(user, tokenId);
    }

    /**
     * If you're attempting to bring metadata associated with token
     * from L2 to L1, you must implement this method, to be invoked
     * when minting token back on L1, during exit
     */
    function setTokenMetadata(uint256 tokenId, bytes memory data)
        internal
        virtual
    {
        // This function should decode metadata obtained from L2
        // and attempt to set it for this `tokenId`
        //
        // Following is just a default implementation, feel
        // free to define your own encoding/ decoding scheme
        // for L2 -> L1 token metadata transfer
        string memory uri = abi.decode(data, (string));

        _setTokenURI(tokenId, uri);
    }

    /**
     * @dev See {IMintableERC721-mint}.
     *
     * If you're attempting to bring metadata associated with token
     * from L2 to L1, you must implement this method
     */
    function mint(
        address user,
        uint256 tokenId,
        bytes calldata metaData
    ) external override onlyRole(PREDICATE_ROLE) 
    whenNotPaused
    {
        _mint(user, tokenId);
        setTokenMetadata(tokenId, metaData);
    }

    function supportsInterface(bytes4 interfaceId)
        public
        view
        virtual
        override(ERC721, IERC165, ERC165Storage, AccessControl)
        returns (bool)
    {
        return super.supportsInterface(interfaceId);
    }

    /**
     * @dev See {IMintableERC721-exists}.
     */
    function exists(uint256 tokenId) external view override returns (bool) {
        return _exists(tokenId);
    }

    function _senderAddr() internal view returns (address payable sender) {
        return ContextMixin.msgSender();
    }

    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual override 
    whenNotPaused
    {
        super._beforeTokenTransfer(from, to, tokenId);

        if (from != auctionAddress && from != address(0)) {
            require(block.timestamp > (startDate + 14 days), "RootTransport: Locked until January 25th");
        }
    }

    /// @dev sets royalties info
    function royaltyInfo(uint256 tokenId, uint256 salePrice)
        external
        view
        override
        whenNotPaused
        returns (address receiver, uint256 royaltyAmount)
    {
        receiver = _royaltyAddress;
        royaltyAmount = (salePrice * _royaltyPercentage) / 100;
    }

    /// @dev sets royalties address
    function setRoyaltyAddress(address royaltyAddress) public whenNotPaused onlyOwner {
        _royaltyAddress = royaltyAddress;
    }

    /// @dev sets royalties fees
    function setRoyaltyPercentage(uint256 royaltyPercentage) public whenNotPaused onlyOwner {
        _royaltyPercentage = royaltyPercentage;
    }

    
     /// @dev pausing the contract
    function pause() public onlyOwner 
    {
        super._pause();
        emit TransportPaused(msgSender());
    }

    /// @dev unpause the contract
    function unpause() public onlyOwner 
    {
        super._unpause();
        emit TransportUnpaused(msgSender());
    }
}

File 2 of 25 : ERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC721.sol";
import "./IERC721Receiver.sol";
import "./extensions/IERC721Metadata.sol";
import "../../utils/Address.sol";
import "../../utils/Context.sol";
import "../../utils/Strings.sol";
import "../../utils/introspection/ERC165.sol";

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");

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

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

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

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

        _approve(to, tokenId);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        require(_exists(tokenId), "ERC721: approved query for nonexistent token");

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        require(operator != _msgSender(), "ERC721: approve to caller");

        _operatorApprovals[_msgSender()][operator] = approved;
        emit ApprovalForAll(_msgSender(), operator, approved);
    }

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);
    }

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

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

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

File 3 of 25 : Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../utils/Context.sol";

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _setOwner(_msgSender());
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _setOwner(address(0));
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _setOwner(newOwner);
    }

    function _setOwner(address newOwner) private {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 4 of 25 : AccessControl.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IAccessControl.sol";
import "../utils/Context.sol";
import "../utils/Strings.sol";
import "../utils/introspection/ERC165.sol";

/**
 * @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, _msgSender());
        _;
    }

    /**
     * @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 override returns (bool) {
        return _roles[role].members[account];
    }

    /**
     * @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 {
        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 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.
     */
    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.
     */
    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 granted `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     */
    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.
     *
     * [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}.
     * ====
     */
    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);
    }

    function _grantRole(bytes32 role, address account) private {
        if (!hasRole(role, account)) {
            _roles[role].members[account] = true;
            emit RoleGranted(role, account, _msgSender());
        }
    }

    function _revokeRole(bytes32 role, address account) private {
        if (hasRole(role, account)) {
            _roles[role].members[account] = false;
            emit RoleRevoked(role, account, _msgSender());
        }
    }
}

File 5 of 25 : ERC721URIStorage.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../ERC721.sol";

/**
 * @dev ERC721 token with storage based token URI management.
 */
abstract contract ERC721URIStorage is ERC721 {
    using Strings for uint256;

    // Optional mapping for token URIs
    mapping(uint256 => string) private _tokenURIs;

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        require(_exists(tokenId), "ERC721URIStorage: URI query for nonexistent token");

        string memory _tokenURI = _tokenURIs[tokenId];
        string memory base = _baseURI();

        // If there is no base URI, return the token URI.
        if (bytes(base).length == 0) {
            return _tokenURI;
        }
        // If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked).
        if (bytes(_tokenURI).length > 0) {
            return string(abi.encodePacked(base, _tokenURI));
        }

        return super.tokenURI(tokenId);
    }

    /**
     * @dev Sets `_tokenURI` as the tokenURI of `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual {
        require(_exists(tokenId), "ERC721URIStorage: URI set of nonexistent token");
        _tokenURIs[tokenId] = _tokenURI;
    }

    /**
     * @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 override {
        super._burn(tokenId);

        if (bytes(_tokenURIs[tokenId]).length != 0) {
            delete _tokenURIs[tokenId];
        }
    }
}

File 6 of 25 : NativeMetaTransaction.sol
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.0;

import {SafeMath} from "@openzeppelin/contracts/utils/math/SafeMath.sol";
import {EIP712Base} from "./EIP712Base.sol";

contract NativeMetaTransaction is EIP712Base {
    using SafeMath for uint256;
    bytes32 private constant META_TRANSACTION_TYPEHASH =
        keccak256(
            bytes(
                "MetaTransaction(uint256 nonce,address from,bytes functionSignature)"
            )
        );
    event MetaTransactionExecuted(
        address userAddress,
        address payable relayerAddress,
        bytes functionSignature
    );
    mapping(address => uint256) nonces;

    /*
     * Meta transaction structure.
     * No point of including value field here as if user is doing value transfer then he has the funds to pay for gas
     * He should call the desired function directly in that case.
     */
    struct MetaTransaction {
        uint256 nonce;
        address from;
        bytes functionSignature;
    }

    function executeMetaTransaction(
        address userAddress,
        bytes memory functionSignature,
        bytes32 sigR,
        bytes32 sigS,
        uint8 sigV
    ) public payable returns (bytes memory) {
        MetaTransaction memory metaTx = MetaTransaction({
            nonce: nonces[userAddress],
            from: userAddress,
            functionSignature: functionSignature
        });

        require(
            verify(userAddress, metaTx, sigR, sigS, sigV),
            "Signer and signature do not match"
        );

        // increase nonce for user (to avoid re-use)
        nonces[userAddress] = nonces[userAddress].add(1);

        emit MetaTransactionExecuted(
            userAddress,
            payable(msg.sender),
            functionSignature
        );

        // Append userAddress and relayer address at the end to extract it from calling context
        (bool success, bytes memory returnData) = address(this).call(
            abi.encodePacked(functionSignature, userAddress)
        );
        require(success, "Function call not successful");

        return returnData;
    }

    function hashMetaTransaction(MetaTransaction memory metaTx)
        internal
        pure
        returns (bytes32)
    {
        return
            keccak256(
                abi.encode(
                    META_TRANSACTION_TYPEHASH,
                    metaTx.nonce,
                    metaTx.from,
                    keccak256(metaTx.functionSignature)
                )
            );
    }

    function getNonce(address user) public view returns (uint256 nonce) {
        nonce = nonces[user];
    }

    function verify(
        address signer,
        MetaTransaction memory metaTx,
        bytes32 sigR,
        bytes32 sigS,
        uint8 sigV
    ) internal view returns (bool) {
        require(signer != address(0), "NativeMetaTransaction: INVALID_SIGNER");
        return
            signer ==
            ecrecover(
                toTypedMessageHash(hashMetaTransaction(metaTx)),
                sigV,
                sigR,
                sigS
            );
    }
}

File 7 of 25 : IMintableERC721.sol
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.0;

import {IERC721} from "@openzeppelin/contracts/token/ERC721/IERC721.sol";

interface IMintableERC721 is IERC721 {
    /**
     * @notice called by predicate contract to mint tokens while withdrawing
     * @dev Should be callable only by MintableERC721Predicate
     * Make sure minting is done only by this function
     * @param user user address for whom token is being minted
     * @param tokenId tokenId being minted
     */
    function mint(address user, uint256 tokenId) external;

    /**
     * @notice called by predicate contract to mint tokens while withdrawing with metadata from L2
     * @dev Should be callable only by MintableERC721Predicate
     * Make sure minting is only done either by this function/ �
     * @param user user address for whom token is being minted
     * @param tokenId tokenId being minted
     * @param metaData Associated token metadata, to be decoded & set using `setTokenMetadata`
     *
     * Note : If you're interested in taking token metadata from L2 to L1 during exit, you must
     * implement this method
     */
    function mint(
        address user,
        uint256 tokenId,
        bytes calldata metaData
    ) external;

    /**
     * @notice check if token already exists, return true if it does exist
     * @dev this check will be used by the predicate to determine if the token needs to be minted or transfered
     * @param tokenId tokenId being checked
     */
    function exists(uint256 tokenId) external view returns (bool);
}

File 8 of 25 : ContextMixin.sol
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.0;

abstract contract ContextMixin {
    function msgSender() internal view returns (address payable sender) {
        if (msg.sender == address(this)) {
            bytes memory array = msg.data;
            uint256 index = msg.data.length;
            assembly {
                // Load the 32 bytes word from memory with the address on the lower 20 bytes, and mask those.
                sender := and(
                    mload(add(array, index)),
                    0xffffffffffffffffffffffffffffffffffffffff
                )
            }
        } else {
            sender = payable(msg.sender);
        }
        return sender;
    }
}

File 9 of 25 : ITransportMinter.sol
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.0;

interface ITransportMinter {
    function allocatedTransports(uint256 tokenId) external view returns (address);
}

File 10 of 25 : ERC165Storage.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./ERC165.sol";

/**
 * @dev Storage based implementation of the {IERC165} interface.
 *
 * Contracts may inherit from this and call {_registerInterface} to declare
 * their support of an interface.
 */
abstract contract ERC165Storage is ERC165 {
    /**
     * @dev Mapping of interface ids to whether or not it's supported.
     */
    mapping(bytes4 => bool) private _supportedInterfaces;

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

    /**
     * @dev Registers the contract as an implementer of the interface defined by
     * `interfaceId`. Support of the actual ERC165 interface is automatic and
     * registering its interface id is not required.
     *
     * See {IERC165-supportsInterface}.
     *
     * Requirements:
     *
     * - `interfaceId` cannot be the ERC165 invalid interface (`0xffffffff`).
     */
    function _registerInterface(bytes4 interfaceId) internal virtual {
        require(interfaceId != 0xffffffff, "ERC165: invalid interface id");
        _supportedInterfaces[interfaceId] = true;
    }
}

File 11 of 25 : Pausable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../utils/Context.sol";

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

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

    bool private _paused;

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

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

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

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

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

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

File 12 of 25 : IERC2981.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC165.sol";

/**
 * @dev Interface for the NFT Royalty Standard
 */
interface IERC2981 is IERC165 {
    /**
     * @dev Called with the sale price to determine how much royalty is owed and to whom.
     * @param tokenId - the NFT asset queried for royalty information
     * @param salePrice - the sale price of the NFT asset specified by `tokenId`
     * @return receiver - address of who should be sent the royalty payment
     * @return royaltyAmount - the royalty payment amount for `salePrice`
     */
    function royaltyInfo(uint256 tokenId, uint256 salePrice)
        external
        view
        returns (address receiver, uint256 royaltyAmount);
}

File 13 of 25 : IERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../../utils/introspection/IERC165.sol";

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

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

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

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

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

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

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

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

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

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

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

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

File 14 of 25 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

File 15 of 25 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional metadata extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Metadata is IERC721 {
    /**
     * @dev Returns the token collection name.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the token collection symbol.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
     */
    function tokenURI(uint256 tokenId) external view returns (string memory);
}

File 16 of 25 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

File 17 of 25 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

File 18 of 25 : Strings.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

File 19 of 25 : ERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC165.sol";

/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
 * for the additional interface id that will be supported. For example:
 *
 * ```solidity
 * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
 *     return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
 * }
 * ```
 *
 * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
 */
abstract contract ERC165 is IERC165 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IERC165).interfaceId;
    }
}

File 20 of 25 : IERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

File 21 of 25 : IAccessControl.sol
// SPDX-License-Identifier: MIT

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 22 of 25 : SafeMath.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is no longer needed starting with Solidity 0.8. The compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the substraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}

File 23 of 25 : EIP712Base.sol
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.0;

import {Initializable} from "./Initializable.sol";

contract EIP712Base is Initializable {
    struct EIP712Domain {
        string name;
        string version;
        address verifyingContract;
        bytes32 salt;
    }

    string public constant ERC712_VERSION = "1";

    bytes32 internal constant EIP712_DOMAIN_TYPEHASH =
        keccak256(
            bytes(
                "EIP712Domain(string name,string version,address verifyingContract,bytes32 salt)"
            )
        );
    bytes32 internal domainSeperator;

    // supposed to be called once while initializing.
    // one of the contractsa that inherits this contract follows proxy pattern
    // so it is not possible to do this in a constructor
    function _initializeEIP712(string memory name) internal initializer {
        _setDomainSeperator(name);
    }

    function _setDomainSeperator(string memory name) internal {
        domainSeperator = keccak256(
            abi.encode(
                EIP712_DOMAIN_TYPEHASH,
                keccak256(bytes(name)),
                keccak256(bytes(ERC712_VERSION)),
                address(this),
                bytes32(getChainId())
            )
        );
    }

    function getDomainSeperator() public view returns (bytes32) {
        return domainSeperator;
    }

    function getChainId() public view returns (uint256) {
        uint256 id;
        assembly {
            id := chainid()
        }
        return id;
    }

    /**
     * Accept message hash and returns hash message in EIP712 compatible form
     * So that it can be used to recover signer from signature signed using EIP712 formatted data
     * https://eips.ethereum.org/EIPS/eip-712
     * "\\x19" makes the encoding deterministic
     * "\\x01" is the version byte to make it compatible to EIP-191
     */
    function toTypedMessageHash(bytes32 messageHash)
        internal
        view
        returns (bytes32)
    {
        return
            keccak256(
                abi.encodePacked("\x19\x01", getDomainSeperator(), messageHash)
            );
    }
}

File 24 of 25 : Initializable.sol
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.0;

contract Initializable {
    bool inited = false;

    modifier initializer() {
        require(!inited, "already inited");
        _;
        inited = true;
    }
}

File 25 of 25 : IERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../utils/introspection/IERC165.sol";

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"},{"internalType":"string","name":"url_","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":"userAddress","type":"address"},{"indexed":false,"internalType":"address payable","name":"relayerAddress","type":"address"},{"indexed":false,"internalType":"bytes","name":"functionSignature","type":"bytes"}],"name":"MetaTransactionExecuted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"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":"owner","type":"address"}],"name":"TransportPaused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"owner","type":"address"}],"name":"TransportUnpaused","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":"ERC712_VERSION","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PREDICATE_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":[],"name":"auctionAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"userAddress","type":"address"},{"internalType":"bytes","name":"functionSignature","type":"bytes"},{"internalType":"bytes32","name":"sigR","type":"bytes32"},{"internalType":"bytes32","name":"sigS","type":"bytes32"},{"internalType":"uint8","name":"sigV","type":"uint8"}],"name":"executeMetaTransaction","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"exists","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getChainId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getDomainSeperator","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"getNonce","outputs":[{"internalType":"uint256","name":"nonce","type":"uint256"}],"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":"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":"user","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"metaData","type":"bytes"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","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":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"royaltyAmount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_auctionAddress","type":"address"}],"name":"setAuctionAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"royaltyAddress","type":"address"}],"name":"setRoyaltyAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"royaltyPercentage","type":"uint256"}],"name":"setRoyaltyPercentage","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_minterAddress","type":"address"}],"name":"setTransportMinter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"transportMinter","outputs":[{"internalType":"contract ITransportMinter","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526001805460ff191690553480156200001b57600080fd5b506040516200388f3803806200388f8339810160408190526200003e9162000540565b82518390839062000057906004906020850190620003ef565b5080516200006d906005906020840190620003ef565b5050506200008a620000846200011a60201b60201c565b6200011f565b600d805460ff19169055620000aa6000620000a462000171565b6200018d565b620000d97f12ff340d0cd9c652c747ca35727e68c547d0f0bfa7758d2e77f75acef481b4f2620000a462000171565b620000e4836200019d565b620000f663152a902d60e11b620001e6565b80516200010b90600f906020840190620003ef565b505042600e5550620006ab9050565b335b90565b600b80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6000620001886200023860201b620014561760201c565b905090565b62000199828262000296565b5050565b60015460ff1615620001cc5760405162461bcd60e51b8152600401620001c39062000630565b60405180910390fd5b620001d78162000320565b506001805460ff191681179055565b6001600160e01b03198082161415620002135760405162461bcd60e51b8152600401620001c390620005f9565b6001600160e01b0319166000908152600c60205260409020805460ff19166001179055565b6000333014156200029157600080368080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152505050503601516001600160a01b031691506200011c9050565b503390565b620002a28282620003c2565b62000199576000828152602081815260408083206001600160a01b03851684529091529020805460ff19166001179055620002dc6200011a565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6040518060800160405280604f815260200162003840604f913980516020918201208251838301206040805180820190915260018152603160f81b930192909252907fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc6306200038e620003eb565b604051620003a4959493929190602001620005cd565b60408051601f19818403018152919052805160209091012060025550565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b4690565b828054620003fd9062000658565b90600052602060002090601f0160209004810192826200042157600085556200046c565b82601f106200043c57805160ff19168380011785556200046c565b828001600101855582156200046c579182015b828111156200046c5782518255916020019190600101906200044f565b506200047a9291506200047e565b5090565b5b808211156200047a57600081556001016200047f565b600082601f830112620004a6578081fd5b81516001600160401b0380821115620004c357620004c362000695565b6040516020601f8401601f1916820181018381118382101715620004eb57620004eb62000695565b604052838252858401810187101562000502578485fd5b8492505b8383101562000525578583018101518284018201529182019162000506565b838311156200053657848185840101525b5095945050505050565b60008060006060848603121562000555578283fd5b83516001600160401b03808211156200056c578485fd5b6200057a8783880162000495565b9450602086015191508082111562000590578384fd5b6200059e8783880162000495565b93506040860151915080821115620005b4578283fd5b50620005c38682870162000495565b9150509250925092565b948552602085019390935260408401919091526001600160a01b03166060830152608082015260a00190565b6020808252601c908201527f4552433136353a20696e76616c696420696e7465726661636520696400000000604082015260600190565b6020808252600e908201526d185b1c9958591e481a5b9a5d195960921b604082015260600190565b6002810460018216806200066d57607f821691505b602082108114156200068f57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b61318580620006bb6000396000f3fe6080604052600436106102515760003560e01c8063554bb3881161013957806393ac3638116100b6578063b88d4fde1161007a578063b88d4fde1461067c578063c87b56dd1461069c578063d547741f146106bc578063e72db5fd146106dc578063e985e9c5146106f1578063f2fde38b1461071157610251565b806393ac3638146105f257806394d008ef1461061257806395d89b4114610632578063a217fddf14610647578063a22cb4651461065c57610251565b806370a08231116100fd57806370a0823114610573578063715018a6146105935780638456cb59146105a85780638da5cb5b146105bd57806391d14854146105d257610251565b8063554bb388146104f45780635c975abb1461050957806361ba27da1461051e5780636352211e1461053e5780636c0360eb1461055e57610251565b80632a55205a116101d25780633f4ba83a116101965780633f4ba83a1461044a57806340c10f191461045f57806342842e0e1461047f5780634c7349321461049f5780634f558e79146104bf5780635476ea9e146104df57610251565b80632a55205a146103a75780632d0335ab146103d55780632f2ff15d146103f55780633408e4701461041557806336568abe1461042a57610251565b80630c53c51c116102195780630c53c51c1461031d5780630f7e59701461033057806320379ee51461034557806323b872dd14610367578063248a9ca31461038757610251565b806301ffc9a71461025657806306d254da1461028c57806306fdde03146102ae578063081812fc146102d0578063095ea7b3146102fd575b600080fd5b34801561026257600080fd5b50610276610271366004612544565b610731565b60405161028391906127e4565b60405180910390f35b34801561029857600080fd5b506102ac6102a73660046122c8565b610744565b005b3480156102ba57600080fd5b506102c36107d3565b604051610283919061283a565b3480156102dc57600080fd5b506102f06102eb36600461250a565b610866565b604051610283919061274e565b34801561030957600080fd5b506102ac61031836600461245f565b6108a9565b6102c361032b3660046123e6565b610941565b34801561033c57600080fd5b506102c3610ac1565b34801561035157600080fd5b5061035a610ade565b60405161028391906127ef565b34801561037357600080fd5b506102ac61038236600461230b565b610ae4565b34801561039357600080fd5b5061035a6103a236600461250a565b610b1c565b3480156103b357600080fd5b506103c76103c23660046125ef565b610b31565b6040516102839291906127cb565b3480156103e157600080fd5b5061035a6103f03660046122c8565b610b8c565b34801561040157600080fd5b506102ac610410366004612522565b610ba7565b34801561042157600080fd5b5061035a610bcb565b34801561043657600080fd5b506102ac610445366004612522565b610bcf565b34801561045657600080fd5b506102ac610c15565b34801561046b57600080fd5b506102ac61047a36600461245f565b610c9c565b34801561048b57600080fd5b506102ac61049a36600461230b565b610ce6565b3480156104ab57600080fd5b506102ac6104ba3660046122c8565b610d01565b3480156104cb57600080fd5b506102766104da36600461250a565b610d9b565b3480156104eb57600080fd5b506102f0610da6565b34801561050057600080fd5b506102f0610db5565b34801561051557600080fd5b50610276610dc4565b34801561052a57600080fd5b506102ac61053936600461250a565b610dcd565b34801561054a57600080fd5b506102f061055936600461250a565b610e36565b34801561056a57600080fd5b506102c3610e6b565b34801561057f57600080fd5b5061035a61058e3660046122c8565b610ef9565b34801561059f57600080fd5b506102ac610f3d565b3480156105b457600080fd5b506102ac610f88565b3480156105c957600080fd5b506102f0610ff8565b3480156105de57600080fd5b506102766105ed366004612522565b611007565b3480156105fe57600080fd5b506102ac61060d3660046122c8565b611030565b34801561061e57600080fd5b506102ac61062d366004612488565b6110b6565b34801561063e57600080fd5b506102c3611147565b34801561065357600080fd5b5061035a611156565b34801561066857600080fd5b506102ac6106773660046123ac565b61115b565b34801561068857600080fd5b506102ac610697366004612346565b611229565b3480156106a857600080fd5b506102c36106b736600461250a565b611268565b3480156106c857600080fd5b506102ac6106d7366004612522565b611389565b3480156106e857600080fd5b5061035a6113a8565b3480156106fd57600080fd5b5061027661070c3660046122e2565b6113ba565b34801561071d57600080fd5b506102ac61072c3660046122c8565b6113e8565b600061073c826114b2565b90505b919050565b61074c610dc4565b156107725760405162461bcd60e51b815260040161076990612ac2565b60405180910390fd5b61077a6114e3565b6001600160a01b031661078b610ff8565b6001600160a01b0316146107b15760405162461bcd60e51b815260040161076990612cfc565b601380546001600160a01b0319166001600160a01b0392909216919091179055565b6060600480546107e29061302a565b80601f016020809104026020016040519081016040528092919081815260200182805461080e9061302a565b801561085b5780601f106108305761010080835404028352916020019161085b565b820191906000526020600020905b81548152906001019060200180831161083e57829003601f168201915b505050505090505b90565b6000610871826114e7565b61088d5760405162461bcd60e51b815260040161076990612cb0565b506000908152600860205260409020546001600160a01b031690565b60006108b482610e36565b9050806001600160a01b0316836001600160a01b031614156108e85760405162461bcd60e51b815260040161076990612e52565b806001600160a01b03166108fa6114e3565b6001600160a01b0316148061091657506109168161070c6114e3565b6109325760405162461bcd60e51b815260040161076990612aec565b61093c8383611504565b505050565b60408051606081810183526001600160a01b0388166000818152600360209081529085902054845283015291810186905261097f8782878787611572565b61099b5760405162461bcd60e51b815260040161076990612d7a565b6001600160a01b0387166000908152600360205260409020546109bf906001611618565b6001600160a01b0388166000908152600360205260409081902091909155517f5845892132946850460bff5a0083f71031bc5bf9aadcd40f1de79423eac9b10b90610a0f90899033908a90612762565b60405180910390a1600080306001600160a01b0316888a604051602001610a37929190612658565b60408051601f1981840301815290829052610a519161263c565b6000604051808303816000865af19150503d8060008114610a8e576040519150601f19603f3d011682016040523d82523d6000602084013e610a93565b606091505b509150915081610ab55760405162461bcd60e51b815260040161076990612948565b98975050505050505050565b604051806040016040528060018152602001603160f81b81525081565b60025490565b610af5610aef6114e3565b8261162b565b610b115760405162461bcd60e51b815260040161076990612e93565b61093c8383836116a8565b60009081526020819052604090206001015490565b600080610b3c610dc4565b15610b595760405162461bcd60e51b815260040161076990612ac2565b6013546012546001600160a01b039091169250606490610b799085612fb1565b610b839190612f9d565b90509250929050565b6001600160a01b031660009081526003602052604090205490565b610bb082610b1c565b610bc181610bbc6114e3565b6117d5565b61093c8383611839565b4690565b610bd76114e3565b6001600160a01b0316816001600160a01b031614610c075760405162461bcd60e51b815260040161076990612ee4565b610c1182826118be565b5050565b610c1d6114e3565b6001600160a01b0316610c2e610ff8565b6001600160a01b031614610c545760405162461bcd60e51b815260040161076990612cfc565b610c5c611941565b7fb3081a1257b68a6819319ea88506670ab1928354d7db97919fea8f09113d5a5f610c85611456565b604051610c92919061274e565b60405180910390a1565b600080516020613130833981519152610cb781610bbc6114e3565b610cbf610dc4565b15610cdc5760405162461bcd60e51b815260040161076990612ac2565b61093c8383611998565b61093c83838360405180602001604052806000815250611229565b610d09610dc4565b15610d265760405162461bcd60e51b815260040161076990612ac2565b610d2e6114e3565b6001600160a01b0316610d3f610ff8565b6001600160a01b031614610d655760405162461bcd60e51b815260040161076990612cfc565b601080546001600160a01b0319166001600160a01b038316179055610d9860008051602061313083398151915282611a77565b50565b600061073c826114e7565b6011546001600160a01b031681565b6010546001600160a01b031681565b600d5460ff1690565b610dd5610dc4565b15610df25760405162461bcd60e51b815260040161076990612ac2565b610dfa6114e3565b6001600160a01b0316610e0b610ff8565b6001600160a01b031614610e315760405162461bcd60e51b815260040161076990612cfc565b601255565b6000818152600660205260408120546001600160a01b03168061073c5760405162461bcd60e51b815260040161076990612b93565b600f8054610e789061302a565b80601f0160208091040260200160405190810160405280929190818152602001828054610ea49061302a565b8015610ef15780601f10610ec657610100808354040283529160200191610ef1565b820191906000526020600020905b815481529060010190602001808311610ed457829003601f168201915b505050505081565b60006001600160a01b038216610f215760405162461bcd60e51b815260040161076990612b49565b506001600160a01b031660009081526007602052604090205490565b610f456114e3565b6001600160a01b0316610f56610ff8565b6001600160a01b031614610f7c5760405162461bcd60e51b815260040161076990612cfc565b610f866000611a81565b565b610f906114e3565b6001600160a01b0316610fa1610ff8565b6001600160a01b031614610fc75760405162461bcd60e51b815260040161076990612cfc565b610fcf611ad3565b7fad4451b97d17fe6603d71358cb192fe5aa7c11790fac4757685453036e1c3129610c85611456565b600b546001600160a01b031690565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b611038610dc4565b156110555760405162461bcd60e51b815260040161076990612ac2565b61105d6114e3565b6001600160a01b031661106e610ff8565b6001600160a01b0316146110945760405162461bcd60e51b815260040161076990612cfc565b601180546001600160a01b0319166001600160a01b0392909216919091179055565b6000805160206131308339815191526110d181610bbc6114e3565b6110d9610dc4565b156110f65760405162461bcd60e51b815260040161076990612ac2565b6111008585611998565b6111408484848080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250611b2e92505050565b5050505050565b6060600580546107e29061302a565b600081565b6111636114e3565b6001600160a01b0316826001600160a01b031614156111945760405162461bcd60e51b8152600401610769906129fa565b80600960006111a16114e3565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff1916921515929092179091556111e56114e3565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161121d91906127e4565b60405180910390a35050565b61123a6112346114e3565b8361162b565b6112565760405162461bcd60e51b815260040161076990612e93565b61126284848484611b50565b50505050565b6060611273826114e7565b61128f5760405162461bcd60e51b815260040161076990612c5f565b6000828152600a6020526040812080546112a89061302a565b80601f01602080910402602001604051908101604052809291908181526020018280546112d49061302a565b80156113215780601f106112f657610100808354040283529160200191611321565b820191906000526020600020905b81548152906001019060200180831161130457829003601f168201915b505050505090506000611332611b83565b90508051600014156113465750905061073f565b81511561137857808260405160200161136092919061268f565b6040516020818303038152906040529250505061073f565b61138184611b92565b949350505050565b61139282610b1c565b61139e81610bbc6114e3565b61093c83836118be565b60008051602061313083398151915281565b6001600160a01b03918216600090815260096020908152604080832093909416825291909152205460ff1690565b6113f06114e3565b6001600160a01b0316611401610ff8565b6001600160a01b0316146114275760405162461bcd60e51b815260040161076990612cfc565b6001600160a01b03811661144d5760405162461bcd60e51b815260040161076990612902565b610d9881611a81565b6000333014156114ad57600080368080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152505050503601516001600160a01b031691506108639050565b503390565b60006114bd82611c14565b8061073c5750506001600160e01b0319166000908152600c602052604090205460ff1690565b3390565b6000908152600660205260409020546001600160a01b0316151590565b600081815260086020526040902080546001600160a01b0319166001600160a01b038416908117909155819061153982610e36565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006001600160a01b03861661159a5760405162461bcd60e51b815260040161076990612a7d565b60016115ad6115a887611c54565b611cb2565b838686604051600081526020016040526040516115cd949392919061281c565b6020604051602081039080840390855afa1580156115ef573d6000803e3d6000fd5b505050602060405103516001600160a01b0316866001600160a01b031614905095945050505050565b60006116248284612f85565b9392505050565b6000611636826114e7565b6116525760405162461bcd60e51b815260040161076990612a31565b600061165d83610e36565b9050806001600160a01b0316846001600160a01b031614806116985750836001600160a01b031661168d84610866565b6001600160a01b0316145b80611381575061138181856113ba565b826001600160a01b03166116bb82610e36565b6001600160a01b0316146116e15760405162461bcd60e51b815260040161076990612d31565b6001600160a01b0382166117075760405162461bcd60e51b8152600401610769906129b6565b611712838383611cce565b61171d600082611504565b6001600160a01b0383166000908152600760205260408120805460019290611746908490612fd0565b90915550506001600160a01b0382166000908152600760205260408120805460019290611774908490612f85565b909155505060008181526006602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6117df8282611007565b610c11576117f7816001600160a01b03166014611d57565b611802836020611d57565b6040516020016118139291906126d9565b60408051601f198184030181529082905262461bcd60e51b82526107699160040161283a565b6118438282611007565b610c11576000828152602081815260408083206001600160a01b03851684529091529020805460ff1916600117905561187a6114e3565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6118c88282611007565b15610c11576000828152602081815260408083206001600160a01b03851684529091529020805460ff191690556118fd6114e3565b6001600160a01b0316816001600160a01b0316837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45050565b611949610dc4565b6119655760405162461bcd60e51b815260040161076990612882565b600d805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa610c856114e3565b6001600160a01b0382166119be5760405162461bcd60e51b815260040161076990612c2a565b6119c7816114e7565b156119e45760405162461bcd60e51b81526004016107699061297f565b6119f060008383611cce565b6001600160a01b0382166000908152600760205260408120805460019290611a19908490612f85565b909155505060008181526006602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b610c118282611839565b600b80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b611adb610dc4565b15611af85760405162461bcd60e51b815260040161076990612ac2565b600d805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258610c856114e3565b600081806020019051810190611b44919061257c565b905061093c8382611f09565b611b5b8484846116a8565b611b6784848484611f4d565b6112625760405162461bcd60e51b8152600401610769906128b0565b6060600f80546107e29061302a565b6060611b9d826114e7565b611bb95760405162461bcd60e51b815260040161076990612dbb565b6000611bc3611b83565b90506000815111611be35760405180602001604052806000815250611624565b80611bed84612068565b604051602001611bfe92919061268f565b6040516020818303038152906040529392505050565b60006001600160e01b031982166380ac58cd60e01b1480611c4557506001600160e01b03198216635b5e139f60e01b145b8061073c575061073c82612183565b60006040518060800160405280604381526020016130ed6043913980516020918201208351848301516040808701518051908601209051611c9595016127f8565b604051602081830303815290604052805190602001209050919050565b6000611cbc610ade565b82604051602001611c959291906126be565b611cd6610dc4565b15611cf35760405162461bcd60e51b815260040161076990612ac2565b611cfe83838361093c565b6011546001600160a01b03848116911614801590611d2457506001600160a01b03831615155b1561093c57600e54611d399062127500612f85565b421161093c5760405162461bcd60e51b815260040161076990612e0a565b60606000611d66836002612fb1565b611d71906002612f85565b67ffffffffffffffff811115611d9757634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611dc1576020820181803683370190505b509050600360fc1b81600081518110611dea57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110611e2757634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a9053506000611e4b846002612fb1565b611e56906001612f85565b90505b6001811115611eea576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110611e9857634e487b7160e01b600052603260045260246000fd5b1a60f81b828281518110611ebc57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535060049490941c93611ee381613013565b9050611e59565b5083156116245760405162461bcd60e51b81526004016107699061284d565b611f12826114e7565b611f2e5760405162461bcd60e51b815260040161076990612bdc565b6000828152600a60209081526040909120825161093c928401906121c7565b6000611f61846001600160a01b03166121a8565b1561205d57836001600160a01b031663150b7a02611f7d6114e3565b8786866040518563ffffffff1660e01b8152600401611f9f949392919061278e565b602060405180830381600087803b158015611fb957600080fd5b505af1925050508015611fe9575060408051601f3d908101601f19168201909252611fe691810190612560565b60015b612043573d808015612017576040519150601f19603f3d011682016040523d82523d6000602084013e61201c565b606091505b50805161203b5760405162461bcd60e51b8152600401610769906128b0565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611381565b506001949350505050565b60608161208d57506040805180820190915260018152600360fc1b602082015261073f565b8160005b81156120b757806120a181613065565b91506120b09050600a83612f9d565b9150612091565b60008167ffffffffffffffff8111156120e057634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561210a576020820181803683370190505b5090505b84156113815761211f600183612fd0565b915061212c600a86613080565b612137906030612f85565b60f81b81838151811061215a57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535061217c600a86612f9d565b945061210e565b60006001600160e01b03198216637965db0b60e01b148061073c575061073c826121ae565b3b151590565b6001600160e01b031981166301ffc9a760e01b14919050565b8280546121d39061302a565b90600052602060002090601f0160209004810192826121f5576000855561223b565b82601f1061220e57805160ff191683800117855561223b565b8280016001018555821561223b579182015b8281111561223b578251825591602001919060010190612220565b5061224792915061224b565b5090565b5b80821115612247576000815560010161224c565b80356001600160a01b038116811461073f57600080fd5b600082601f830112612287578081fd5b813561229a61229582612f5d565b612f33565b8181528460208386010111156122ae578283fd5b816020850160208301379081016020019190915292915050565b6000602082840312156122d9578081fd5b61162482612260565b600080604083850312156122f4578081fd5b6122fd83612260565b9150610b8360208401612260565b60008060006060848603121561231f578081fd5b61232884612260565b925061233660208501612260565b9150604084013590509250925092565b6000806000806080858703121561235b578081fd5b61236485612260565b935061237260208601612260565b925060408501359150606085013567ffffffffffffffff811115612394578182fd5b6123a087828801612277565b91505092959194509250565b600080604083850312156123be578182fd5b6123c783612260565b9150602083013580151581146123db578182fd5b809150509250929050565b600080600080600060a086880312156123fd578081fd5b61240686612260565b9450602086013567ffffffffffffffff811115612421578182fd5b61242d88828901612277565b9450506040860135925060608601359150608086013560ff81168114612451578182fd5b809150509295509295909350565b60008060408385031215612471578182fd5b61247a83612260565b946020939093013593505050565b6000806000806060858703121561249d578384fd5b6124a685612260565b935060208501359250604085013567ffffffffffffffff808211156124c9578384fd5b818701915087601f8301126124dc578384fd5b8135818111156124ea578485fd5b8860208285010111156124fb578485fd5b95989497505060200194505050565b60006020828403121561251b578081fd5b5035919050565b60008060408385031215612534578182fd5b82359150610b8360208401612260565b600060208284031215612555578081fd5b8135611624816130d6565b600060208284031215612571578081fd5b8151611624816130d6565b60006020828403121561258d578081fd5b815167ffffffffffffffff8111156125a3578182fd5b8201601f810184136125b3578182fd5b80516125c161229582612f5d565b8181528560208385010111156125d5578384fd5b6125e6826020830160208601612fe7565b95945050505050565b60008060408385031215612601578182fd5b50508035926020909101359150565b60008151808452612628816020860160208601612fe7565b601f01601f19169290920160200192915050565b6000825161264e818460208701612fe7565b9190910192915050565b6000835161266a818460208801612fe7565b60609390931b6bffffffffffffffffffffffff19169190920190815260140192915050565b600083516126a1818460208801612fe7565b8351908301906126b5818360208801612fe7565b01949350505050565b61190160f01b81526002810192909252602282015260420190565b60007f416363657373436f6e74726f6c3a206163636f756e742000000000000000000082528351612711816017850160208801612fe7565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351612742816028840160208801612fe7565b01602801949350505050565b6001600160a01b0391909116815260200190565b6001600160a01b038481168252831660208201526060604082018190526000906125e690830184612610565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906127c190830184612610565b9695505050505050565b6001600160a01b03929092168252602082015260400190565b901515815260200190565b90815260200190565b93845260208401929092526001600160a01b03166040830152606082015260800190565b93845260ff9290921660208401526040830152606082015260800190565b6000602082526116246020830184612610565b6020808252818101527f537472696e67733a20686578206c656e67746820696e73756666696369656e74604082015260600190565b60208082526014908201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b604082015260600190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252601c908201527f46756e6374696f6e2063616c6c206e6f74207375636365737366756c00000000604082015260600190565b6020808252601c908201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604082015260600190565b60208082526024908201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646040820152637265737360e01b606082015260800190565b60208082526019908201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604082015260600190565b6020808252602c908201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b60208082526025908201527f4e61746976654d6574615472616e73616374696f6e3a20494e56414c49445f5360408201526424a3a722a960d91b606082015260800190565b60208082526010908201526f14185d5cd8589b194e881c185d5cd95960821b604082015260600190565b60208082526038908201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760408201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606082015260800190565b6020808252602a908201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604082015269726f206164647265737360b01b606082015260800190565b60208082526029908201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460408201526832b73a103a37b5b2b760b91b606082015260800190565b6020808252602e908201527f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60408201526d32bc34b9ba32b73a103a37b5b2b760911b606082015260800190565b6020808252818101527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604082015260600190565b60208082526031908201527f45524337323155524953746f726167653a2055524920717565727920666f72206040820152703737b732bc34b9ba32b73a103a37b5b2b760791b606082015260800190565b6020808252602c908201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526029908201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960408201526839903737ba1037bbb760b91b606082015260800190565b60208082526021908201527f5369676e657220616e64207369676e617475726520646f206e6f74206d6174636040820152600d60fb1b606082015260800190565b6020808252602f908201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60408201526e3732bc34b9ba32b73a103a37b5b2b760891b606082015260800190565b60208082526028908201527f526f6f745472616e73706f72743a204c6f636b656420756e74696c204a616e756040820152670c2e4f240646ae8d60c31b606082015260800190565b60208082526021908201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656040820152603960f91b606082015260800190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252602f908201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560408201526e103937b632b9903337b91039b2b63360891b606082015260800190565b60405181810167ffffffffffffffff81118282101715612f5557612f556130c0565b604052919050565b600067ffffffffffffffff821115612f7757612f776130c0565b50601f01601f191660200190565b60008219821115612f9857612f98613094565b500190565b600082612fac57612fac6130aa565b500490565b6000816000190483118215151615612fcb57612fcb613094565b500290565b600082821015612fe257612fe2613094565b500390565b60005b83811015613002578181015183820152602001612fea565b838111156112625750506000910152565b60008161302257613022613094565b506000190190565b60028104600182168061303e57607f821691505b6020821081141561305f57634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561307957613079613094565b5060010190565b60008261308f5761308f6130aa565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610d9857600080fdfe4d6574615472616e73616374696f6e2875696e74323536206e6f6e63652c616464726573732066726f6d2c62797465732066756e6374696f6e5369676e61747572652912ff340d0cd9c652c747ca35727e68c547d0f0bfa7758d2e77f75acef481b4f2a2646970667358221220bcfd88a2ba5b537980c03a4d893c0436e1b38c2824133b9f0c6f77024a3c472964736f6c63430008000033454950373132446f6d61696e28737472696e67206e616d652c737472696e672076657273696f6e2c6164647265737320766572696679696e67436f6e74726163742c627974657333322073616c7429000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000000104e657476726b5472616e73706f7274730000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000054e564b5450000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002468747470733a2f2f6170692e6e657476726b2e636f2f6170692f7472616e73706f72742f00000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106102515760003560e01c8063554bb3881161013957806393ac3638116100b6578063b88d4fde1161007a578063b88d4fde1461067c578063c87b56dd1461069c578063d547741f146106bc578063e72db5fd146106dc578063e985e9c5146106f1578063f2fde38b1461071157610251565b806393ac3638146105f257806394d008ef1461061257806395d89b4114610632578063a217fddf14610647578063a22cb4651461065c57610251565b806370a08231116100fd57806370a0823114610573578063715018a6146105935780638456cb59146105a85780638da5cb5b146105bd57806391d14854146105d257610251565b8063554bb388146104f45780635c975abb1461050957806361ba27da1461051e5780636352211e1461053e5780636c0360eb1461055e57610251565b80632a55205a116101d25780633f4ba83a116101965780633f4ba83a1461044a57806340c10f191461045f57806342842e0e1461047f5780634c7349321461049f5780634f558e79146104bf5780635476ea9e146104df57610251565b80632a55205a146103a75780632d0335ab146103d55780632f2ff15d146103f55780633408e4701461041557806336568abe1461042a57610251565b80630c53c51c116102195780630c53c51c1461031d5780630f7e59701461033057806320379ee51461034557806323b872dd14610367578063248a9ca31461038757610251565b806301ffc9a71461025657806306d254da1461028c57806306fdde03146102ae578063081812fc146102d0578063095ea7b3146102fd575b600080fd5b34801561026257600080fd5b50610276610271366004612544565b610731565b60405161028391906127e4565b60405180910390f35b34801561029857600080fd5b506102ac6102a73660046122c8565b610744565b005b3480156102ba57600080fd5b506102c36107d3565b604051610283919061283a565b3480156102dc57600080fd5b506102f06102eb36600461250a565b610866565b604051610283919061274e565b34801561030957600080fd5b506102ac61031836600461245f565b6108a9565b6102c361032b3660046123e6565b610941565b34801561033c57600080fd5b506102c3610ac1565b34801561035157600080fd5b5061035a610ade565b60405161028391906127ef565b34801561037357600080fd5b506102ac61038236600461230b565b610ae4565b34801561039357600080fd5b5061035a6103a236600461250a565b610b1c565b3480156103b357600080fd5b506103c76103c23660046125ef565b610b31565b6040516102839291906127cb565b3480156103e157600080fd5b5061035a6103f03660046122c8565b610b8c565b34801561040157600080fd5b506102ac610410366004612522565b610ba7565b34801561042157600080fd5b5061035a610bcb565b34801561043657600080fd5b506102ac610445366004612522565b610bcf565b34801561045657600080fd5b506102ac610c15565b34801561046b57600080fd5b506102ac61047a36600461245f565b610c9c565b34801561048b57600080fd5b506102ac61049a36600461230b565b610ce6565b3480156104ab57600080fd5b506102ac6104ba3660046122c8565b610d01565b3480156104cb57600080fd5b506102766104da36600461250a565b610d9b565b3480156104eb57600080fd5b506102f0610da6565b34801561050057600080fd5b506102f0610db5565b34801561051557600080fd5b50610276610dc4565b34801561052a57600080fd5b506102ac61053936600461250a565b610dcd565b34801561054a57600080fd5b506102f061055936600461250a565b610e36565b34801561056a57600080fd5b506102c3610e6b565b34801561057f57600080fd5b5061035a61058e3660046122c8565b610ef9565b34801561059f57600080fd5b506102ac610f3d565b3480156105b457600080fd5b506102ac610f88565b3480156105c957600080fd5b506102f0610ff8565b3480156105de57600080fd5b506102766105ed366004612522565b611007565b3480156105fe57600080fd5b506102ac61060d3660046122c8565b611030565b34801561061e57600080fd5b506102ac61062d366004612488565b6110b6565b34801561063e57600080fd5b506102c3611147565b34801561065357600080fd5b5061035a611156565b34801561066857600080fd5b506102ac6106773660046123ac565b61115b565b34801561068857600080fd5b506102ac610697366004612346565b611229565b3480156106a857600080fd5b506102c36106b736600461250a565b611268565b3480156106c857600080fd5b506102ac6106d7366004612522565b611389565b3480156106e857600080fd5b5061035a6113a8565b3480156106fd57600080fd5b5061027661070c3660046122e2565b6113ba565b34801561071d57600080fd5b506102ac61072c3660046122c8565b6113e8565b600061073c826114b2565b90505b919050565b61074c610dc4565b156107725760405162461bcd60e51b815260040161076990612ac2565b60405180910390fd5b61077a6114e3565b6001600160a01b031661078b610ff8565b6001600160a01b0316146107b15760405162461bcd60e51b815260040161076990612cfc565b601380546001600160a01b0319166001600160a01b0392909216919091179055565b6060600480546107e29061302a565b80601f016020809104026020016040519081016040528092919081815260200182805461080e9061302a565b801561085b5780601f106108305761010080835404028352916020019161085b565b820191906000526020600020905b81548152906001019060200180831161083e57829003601f168201915b505050505090505b90565b6000610871826114e7565b61088d5760405162461bcd60e51b815260040161076990612cb0565b506000908152600860205260409020546001600160a01b031690565b60006108b482610e36565b9050806001600160a01b0316836001600160a01b031614156108e85760405162461bcd60e51b815260040161076990612e52565b806001600160a01b03166108fa6114e3565b6001600160a01b0316148061091657506109168161070c6114e3565b6109325760405162461bcd60e51b815260040161076990612aec565b61093c8383611504565b505050565b60408051606081810183526001600160a01b0388166000818152600360209081529085902054845283015291810186905261097f8782878787611572565b61099b5760405162461bcd60e51b815260040161076990612d7a565b6001600160a01b0387166000908152600360205260409020546109bf906001611618565b6001600160a01b0388166000908152600360205260409081902091909155517f5845892132946850460bff5a0083f71031bc5bf9aadcd40f1de79423eac9b10b90610a0f90899033908a90612762565b60405180910390a1600080306001600160a01b0316888a604051602001610a37929190612658565b60408051601f1981840301815290829052610a519161263c565b6000604051808303816000865af19150503d8060008114610a8e576040519150601f19603f3d011682016040523d82523d6000602084013e610a93565b606091505b509150915081610ab55760405162461bcd60e51b815260040161076990612948565b98975050505050505050565b604051806040016040528060018152602001603160f81b81525081565b60025490565b610af5610aef6114e3565b8261162b565b610b115760405162461bcd60e51b815260040161076990612e93565b61093c8383836116a8565b60009081526020819052604090206001015490565b600080610b3c610dc4565b15610b595760405162461bcd60e51b815260040161076990612ac2565b6013546012546001600160a01b039091169250606490610b799085612fb1565b610b839190612f9d565b90509250929050565b6001600160a01b031660009081526003602052604090205490565b610bb082610b1c565b610bc181610bbc6114e3565b6117d5565b61093c8383611839565b4690565b610bd76114e3565b6001600160a01b0316816001600160a01b031614610c075760405162461bcd60e51b815260040161076990612ee4565b610c1182826118be565b5050565b610c1d6114e3565b6001600160a01b0316610c2e610ff8565b6001600160a01b031614610c545760405162461bcd60e51b815260040161076990612cfc565b610c5c611941565b7fb3081a1257b68a6819319ea88506670ab1928354d7db97919fea8f09113d5a5f610c85611456565b604051610c92919061274e565b60405180910390a1565b600080516020613130833981519152610cb781610bbc6114e3565b610cbf610dc4565b15610cdc5760405162461bcd60e51b815260040161076990612ac2565b61093c8383611998565b61093c83838360405180602001604052806000815250611229565b610d09610dc4565b15610d265760405162461bcd60e51b815260040161076990612ac2565b610d2e6114e3565b6001600160a01b0316610d3f610ff8565b6001600160a01b031614610d655760405162461bcd60e51b815260040161076990612cfc565b601080546001600160a01b0319166001600160a01b038316179055610d9860008051602061313083398151915282611a77565b50565b600061073c826114e7565b6011546001600160a01b031681565b6010546001600160a01b031681565b600d5460ff1690565b610dd5610dc4565b15610df25760405162461bcd60e51b815260040161076990612ac2565b610dfa6114e3565b6001600160a01b0316610e0b610ff8565b6001600160a01b031614610e315760405162461bcd60e51b815260040161076990612cfc565b601255565b6000818152600660205260408120546001600160a01b03168061073c5760405162461bcd60e51b815260040161076990612b93565b600f8054610e789061302a565b80601f0160208091040260200160405190810160405280929190818152602001828054610ea49061302a565b8015610ef15780601f10610ec657610100808354040283529160200191610ef1565b820191906000526020600020905b815481529060010190602001808311610ed457829003601f168201915b505050505081565b60006001600160a01b038216610f215760405162461bcd60e51b815260040161076990612b49565b506001600160a01b031660009081526007602052604090205490565b610f456114e3565b6001600160a01b0316610f56610ff8565b6001600160a01b031614610f7c5760405162461bcd60e51b815260040161076990612cfc565b610f866000611a81565b565b610f906114e3565b6001600160a01b0316610fa1610ff8565b6001600160a01b031614610fc75760405162461bcd60e51b815260040161076990612cfc565b610fcf611ad3565b7fad4451b97d17fe6603d71358cb192fe5aa7c11790fac4757685453036e1c3129610c85611456565b600b546001600160a01b031690565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b611038610dc4565b156110555760405162461bcd60e51b815260040161076990612ac2565b61105d6114e3565b6001600160a01b031661106e610ff8565b6001600160a01b0316146110945760405162461bcd60e51b815260040161076990612cfc565b601180546001600160a01b0319166001600160a01b0392909216919091179055565b6000805160206131308339815191526110d181610bbc6114e3565b6110d9610dc4565b156110f65760405162461bcd60e51b815260040161076990612ac2565b6111008585611998565b6111408484848080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250611b2e92505050565b5050505050565b6060600580546107e29061302a565b600081565b6111636114e3565b6001600160a01b0316826001600160a01b031614156111945760405162461bcd60e51b8152600401610769906129fa565b80600960006111a16114e3565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff1916921515929092179091556111e56114e3565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161121d91906127e4565b60405180910390a35050565b61123a6112346114e3565b8361162b565b6112565760405162461bcd60e51b815260040161076990612e93565b61126284848484611b50565b50505050565b6060611273826114e7565b61128f5760405162461bcd60e51b815260040161076990612c5f565b6000828152600a6020526040812080546112a89061302a565b80601f01602080910402602001604051908101604052809291908181526020018280546112d49061302a565b80156113215780601f106112f657610100808354040283529160200191611321565b820191906000526020600020905b81548152906001019060200180831161130457829003601f168201915b505050505090506000611332611b83565b90508051600014156113465750905061073f565b81511561137857808260405160200161136092919061268f565b6040516020818303038152906040529250505061073f565b61138184611b92565b949350505050565b61139282610b1c565b61139e81610bbc6114e3565b61093c83836118be565b60008051602061313083398151915281565b6001600160a01b03918216600090815260096020908152604080832093909416825291909152205460ff1690565b6113f06114e3565b6001600160a01b0316611401610ff8565b6001600160a01b0316146114275760405162461bcd60e51b815260040161076990612cfc565b6001600160a01b03811661144d5760405162461bcd60e51b815260040161076990612902565b610d9881611a81565b6000333014156114ad57600080368080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152505050503601516001600160a01b031691506108639050565b503390565b60006114bd82611c14565b8061073c5750506001600160e01b0319166000908152600c602052604090205460ff1690565b3390565b6000908152600660205260409020546001600160a01b0316151590565b600081815260086020526040902080546001600160a01b0319166001600160a01b038416908117909155819061153982610e36565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006001600160a01b03861661159a5760405162461bcd60e51b815260040161076990612a7d565b60016115ad6115a887611c54565b611cb2565b838686604051600081526020016040526040516115cd949392919061281c565b6020604051602081039080840390855afa1580156115ef573d6000803e3d6000fd5b505050602060405103516001600160a01b0316866001600160a01b031614905095945050505050565b60006116248284612f85565b9392505050565b6000611636826114e7565b6116525760405162461bcd60e51b815260040161076990612a31565b600061165d83610e36565b9050806001600160a01b0316846001600160a01b031614806116985750836001600160a01b031661168d84610866565b6001600160a01b0316145b80611381575061138181856113ba565b826001600160a01b03166116bb82610e36565b6001600160a01b0316146116e15760405162461bcd60e51b815260040161076990612d31565b6001600160a01b0382166117075760405162461bcd60e51b8152600401610769906129b6565b611712838383611cce565b61171d600082611504565b6001600160a01b0383166000908152600760205260408120805460019290611746908490612fd0565b90915550506001600160a01b0382166000908152600760205260408120805460019290611774908490612f85565b909155505060008181526006602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6117df8282611007565b610c11576117f7816001600160a01b03166014611d57565b611802836020611d57565b6040516020016118139291906126d9565b60408051601f198184030181529082905262461bcd60e51b82526107699160040161283a565b6118438282611007565b610c11576000828152602081815260408083206001600160a01b03851684529091529020805460ff1916600117905561187a6114e3565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6118c88282611007565b15610c11576000828152602081815260408083206001600160a01b03851684529091529020805460ff191690556118fd6114e3565b6001600160a01b0316816001600160a01b0316837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45050565b611949610dc4565b6119655760405162461bcd60e51b815260040161076990612882565b600d805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa610c856114e3565b6001600160a01b0382166119be5760405162461bcd60e51b815260040161076990612c2a565b6119c7816114e7565b156119e45760405162461bcd60e51b81526004016107699061297f565b6119f060008383611cce565b6001600160a01b0382166000908152600760205260408120805460019290611a19908490612f85565b909155505060008181526006602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b610c118282611839565b600b80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b611adb610dc4565b15611af85760405162461bcd60e51b815260040161076990612ac2565b600d805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258610c856114e3565b600081806020019051810190611b44919061257c565b905061093c8382611f09565b611b5b8484846116a8565b611b6784848484611f4d565b6112625760405162461bcd60e51b8152600401610769906128b0565b6060600f80546107e29061302a565b6060611b9d826114e7565b611bb95760405162461bcd60e51b815260040161076990612dbb565b6000611bc3611b83565b90506000815111611be35760405180602001604052806000815250611624565b80611bed84612068565b604051602001611bfe92919061268f565b6040516020818303038152906040529392505050565b60006001600160e01b031982166380ac58cd60e01b1480611c4557506001600160e01b03198216635b5e139f60e01b145b8061073c575061073c82612183565b60006040518060800160405280604381526020016130ed6043913980516020918201208351848301516040808701518051908601209051611c9595016127f8565b604051602081830303815290604052805190602001209050919050565b6000611cbc610ade565b82604051602001611c959291906126be565b611cd6610dc4565b15611cf35760405162461bcd60e51b815260040161076990612ac2565b611cfe83838361093c565b6011546001600160a01b03848116911614801590611d2457506001600160a01b03831615155b1561093c57600e54611d399062127500612f85565b421161093c5760405162461bcd60e51b815260040161076990612e0a565b60606000611d66836002612fb1565b611d71906002612f85565b67ffffffffffffffff811115611d9757634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611dc1576020820181803683370190505b509050600360fc1b81600081518110611dea57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110611e2757634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a9053506000611e4b846002612fb1565b611e56906001612f85565b90505b6001811115611eea576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110611e9857634e487b7160e01b600052603260045260246000fd5b1a60f81b828281518110611ebc57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535060049490941c93611ee381613013565b9050611e59565b5083156116245760405162461bcd60e51b81526004016107699061284d565b611f12826114e7565b611f2e5760405162461bcd60e51b815260040161076990612bdc565b6000828152600a60209081526040909120825161093c928401906121c7565b6000611f61846001600160a01b03166121a8565b1561205d57836001600160a01b031663150b7a02611f7d6114e3565b8786866040518563ffffffff1660e01b8152600401611f9f949392919061278e565b602060405180830381600087803b158015611fb957600080fd5b505af1925050508015611fe9575060408051601f3d908101601f19168201909252611fe691810190612560565b60015b612043573d808015612017576040519150601f19603f3d011682016040523d82523d6000602084013e61201c565b606091505b50805161203b5760405162461bcd60e51b8152600401610769906128b0565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611381565b506001949350505050565b60608161208d57506040805180820190915260018152600360fc1b602082015261073f565b8160005b81156120b757806120a181613065565b91506120b09050600a83612f9d565b9150612091565b60008167ffffffffffffffff8111156120e057634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561210a576020820181803683370190505b5090505b84156113815761211f600183612fd0565b915061212c600a86613080565b612137906030612f85565b60f81b81838151811061215a57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535061217c600a86612f9d565b945061210e565b60006001600160e01b03198216637965db0b60e01b148061073c575061073c826121ae565b3b151590565b6001600160e01b031981166301ffc9a760e01b14919050565b8280546121d39061302a565b90600052602060002090601f0160209004810192826121f5576000855561223b565b82601f1061220e57805160ff191683800117855561223b565b8280016001018555821561223b579182015b8281111561223b578251825591602001919060010190612220565b5061224792915061224b565b5090565b5b80821115612247576000815560010161224c565b80356001600160a01b038116811461073f57600080fd5b600082601f830112612287578081fd5b813561229a61229582612f5d565b612f33565b8181528460208386010111156122ae578283fd5b816020850160208301379081016020019190915292915050565b6000602082840312156122d9578081fd5b61162482612260565b600080604083850312156122f4578081fd5b6122fd83612260565b9150610b8360208401612260565b60008060006060848603121561231f578081fd5b61232884612260565b925061233660208501612260565b9150604084013590509250925092565b6000806000806080858703121561235b578081fd5b61236485612260565b935061237260208601612260565b925060408501359150606085013567ffffffffffffffff811115612394578182fd5b6123a087828801612277565b91505092959194509250565b600080604083850312156123be578182fd5b6123c783612260565b9150602083013580151581146123db578182fd5b809150509250929050565b600080600080600060a086880312156123fd578081fd5b61240686612260565b9450602086013567ffffffffffffffff811115612421578182fd5b61242d88828901612277565b9450506040860135925060608601359150608086013560ff81168114612451578182fd5b809150509295509295909350565b60008060408385031215612471578182fd5b61247a83612260565b946020939093013593505050565b6000806000806060858703121561249d578384fd5b6124a685612260565b935060208501359250604085013567ffffffffffffffff808211156124c9578384fd5b818701915087601f8301126124dc578384fd5b8135818111156124ea578485fd5b8860208285010111156124fb578485fd5b95989497505060200194505050565b60006020828403121561251b578081fd5b5035919050565b60008060408385031215612534578182fd5b82359150610b8360208401612260565b600060208284031215612555578081fd5b8135611624816130d6565b600060208284031215612571578081fd5b8151611624816130d6565b60006020828403121561258d578081fd5b815167ffffffffffffffff8111156125a3578182fd5b8201601f810184136125b3578182fd5b80516125c161229582612f5d565b8181528560208385010111156125d5578384fd5b6125e6826020830160208601612fe7565b95945050505050565b60008060408385031215612601578182fd5b50508035926020909101359150565b60008151808452612628816020860160208601612fe7565b601f01601f19169290920160200192915050565b6000825161264e818460208701612fe7565b9190910192915050565b6000835161266a818460208801612fe7565b60609390931b6bffffffffffffffffffffffff19169190920190815260140192915050565b600083516126a1818460208801612fe7565b8351908301906126b5818360208801612fe7565b01949350505050565b61190160f01b81526002810192909252602282015260420190565b60007f416363657373436f6e74726f6c3a206163636f756e742000000000000000000082528351612711816017850160208801612fe7565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351612742816028840160208801612fe7565b01602801949350505050565b6001600160a01b0391909116815260200190565b6001600160a01b038481168252831660208201526060604082018190526000906125e690830184612610565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906127c190830184612610565b9695505050505050565b6001600160a01b03929092168252602082015260400190565b901515815260200190565b90815260200190565b93845260208401929092526001600160a01b03166040830152606082015260800190565b93845260ff9290921660208401526040830152606082015260800190565b6000602082526116246020830184612610565b6020808252818101527f537472696e67733a20686578206c656e67746820696e73756666696369656e74604082015260600190565b60208082526014908201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b604082015260600190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252601c908201527f46756e6374696f6e2063616c6c206e6f74207375636365737366756c00000000604082015260600190565b6020808252601c908201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604082015260600190565b60208082526024908201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646040820152637265737360e01b606082015260800190565b60208082526019908201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604082015260600190565b6020808252602c908201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b60208082526025908201527f4e61746976654d6574615472616e73616374696f6e3a20494e56414c49445f5360408201526424a3a722a960d91b606082015260800190565b60208082526010908201526f14185d5cd8589b194e881c185d5cd95960821b604082015260600190565b60208082526038908201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760408201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606082015260800190565b6020808252602a908201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604082015269726f206164647265737360b01b606082015260800190565b60208082526029908201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460408201526832b73a103a37b5b2b760b91b606082015260800190565b6020808252602e908201527f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60408201526d32bc34b9ba32b73a103a37b5b2b760911b606082015260800190565b6020808252818101527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604082015260600190565b60208082526031908201527f45524337323155524953746f726167653a2055524920717565727920666f72206040820152703737b732bc34b9ba32b73a103a37b5b2b760791b606082015260800190565b6020808252602c908201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526029908201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960408201526839903737ba1037bbb760b91b606082015260800190565b60208082526021908201527f5369676e657220616e64207369676e617475726520646f206e6f74206d6174636040820152600d60fb1b606082015260800190565b6020808252602f908201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60408201526e3732bc34b9ba32b73a103a37b5b2b760891b606082015260800190565b60208082526028908201527f526f6f745472616e73706f72743a204c6f636b656420756e74696c204a616e756040820152670c2e4f240646ae8d60c31b606082015260800190565b60208082526021908201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656040820152603960f91b606082015260800190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252602f908201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560408201526e103937b632b9903337b91039b2b63360891b606082015260800190565b60405181810167ffffffffffffffff81118282101715612f5557612f556130c0565b604052919050565b600067ffffffffffffffff821115612f7757612f776130c0565b50601f01601f191660200190565b60008219821115612f9857612f98613094565b500190565b600082612fac57612fac6130aa565b500490565b6000816000190483118215151615612fcb57612fcb613094565b500290565b600082821015612fe257612fe2613094565b500390565b60005b83811015613002578181015183820152602001612fea565b838111156112625750506000910152565b60008161302257613022613094565b506000190190565b60028104600182168061303e57607f821691505b6020821081141561305f57634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561307957613079613094565b5060010190565b60008261308f5761308f6130aa565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610d9857600080fdfe4d6574615472616e73616374696f6e2875696e74323536206e6f6e63652c616464726573732066726f6d2c62797465732066756e6374696f6e5369676e61747572652912ff340d0cd9c652c747ca35727e68c547d0f0bfa7758d2e77f75acef481b4f2a2646970667358221220bcfd88a2ba5b537980c03a4d893c0436e1b38c2824133b9f0c6f77024a3c472964736f6c63430008000033

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

000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000000104e657476726b5472616e73706f7274730000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000054e564b5450000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002468747470733a2f2f6170692e6e657476726b2e636f2f6170692f7472616e73706f72742f00000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : name_ (string): NetvrkTransports
Arg [1] : symbol_ (string): NVKTP
Arg [2] : url_ (string): https://api.netvrk.co/api/transport/

-----Encoded View---------------
10 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000010
Arg [4] : 4e657476726b5472616e73706f72747300000000000000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [6] : 4e564b5450000000000000000000000000000000000000000000000000000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000024
Arg [8] : 68747470733a2f2f6170692e6e657476726b2e636f2f6170692f7472616e7370
Arg [9] : 6f72742f00000000000000000000000000000000000000000000000000000000


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.