ETH Price: $3,083.33 (+0.74%)
Gas: 4 Gwei

Token

Meld (MELD)
 

Overview

Max Total Supply

210,000,001 MELD

Holders

1,033 ( 0.097%)

Market

Price

$0.01 @ 0.000003 ETH (+3.72%)

Onchain Market Cap

$2,071,171.21

Circulating Supply Market Cap

$37,584,684.00

Other Info

Token Contract (WITH 18 Decimals)

Balance
8,591.795544007536161392 MELD

Value
$84.74 ( ~0.027483233103864 Eth) [0.0041%]
0x4c7a71eaf0534b47343e06cf90d9c5599c4abeba
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

MELD is a non-custodial DeFi protocol for web3 finance, providing cross-chain lending, borrowing and staking on the MELD blockchain supporting the six leading blockchains as well as integrated fiat banking services through MELD Finance.

Market

Volume (24H):$1,485,584.00
Market Capitalization:$37,584,684.00
Circulating Supply:3,809,627,273.00 MELD
Market Data Source: Coinmarketcap

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
MeldToken

Compiler Version
v0.8.19+commit.7dd6d404

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 21 : ERC2771Recipient.sol
// SPDX-License-Identifier: MIT
// solhint-disable no-inline-assembly
pragma solidity >=0.6.9;

import "./interfaces/IERC2771Recipient.sol";

/**
 * @title The ERC-2771 Recipient Base Abstract Class - Implementation
 *
 * @notice Note that this contract was called `BaseRelayRecipient` in the previous revision of the GSN.
 *
 * @notice A base contract to be inherited by any contract that want to receive relayed transactions.
 *
 * @notice A subclass must use `_msgSender()` instead of `msg.sender`.
 */
abstract contract ERC2771Recipient is IERC2771Recipient {

    /*
     * Forwarder singleton we accept calls from
     */
    address private _trustedForwarder;

    /**
     * :warning: **Warning** :warning: The Forwarder can have a full control over your Recipient. Only trust verified Forwarder.
     * @notice Method is not a required method to allow Recipients to trust multiple Forwarders. Not recommended yet.
     * @return forwarder The address of the Forwarder contract that is being used.
     */
    function getTrustedForwarder() public virtual view returns (address forwarder){
        return _trustedForwarder;
    }

    function _setTrustedForwarder(address _forwarder) internal {
        _trustedForwarder = _forwarder;
    }

    /// @inheritdoc IERC2771Recipient
    function isTrustedForwarder(address forwarder) public virtual override view returns(bool) {
        return forwarder == _trustedForwarder;
    }

    /// @inheritdoc IERC2771Recipient
    function _msgSender() internal override virtual view returns (address ret) {
        if (msg.data.length >= 20 && isTrustedForwarder(msg.sender)) {
            // At this point we know that the sender is a trusted forwarder,
            // so we trust that the last bytes of msg.data are the verified sender address.
            // extract sender address from the end of msg.data
            assembly {
                ret := shr(96,calldataload(sub(calldatasize(),20)))
            }
        } else {
            ret = msg.sender;
        }
    }

    /// @inheritdoc IERC2771Recipient
    function _msgData() internal override virtual view returns (bytes calldata ret) {
        if (msg.data.length >= 20 && isTrustedForwarder(msg.sender)) {
            return msg.data[0:msg.data.length-20];
        } else {
            return msg.data;
        }
    }
}

File 2 of 21 : IERC2771Recipient.sol
// SPDX-License-Identifier: MIT
pragma solidity >=0.6.0;

/**
 * @title The ERC-2771 Recipient Base Abstract Class - Declarations
 *
 * @notice A contract must implement this interface in order to support relayed transaction.
 *
 * @notice It is recommended that your contract inherits from the ERC2771Recipient contract.
 */
abstract contract IERC2771Recipient {

    /**
     * :warning: **Warning** :warning: The Forwarder can have a full control over your Recipient. Only trust verified Forwarder.
     * @param forwarder The address of the Forwarder contract that is being used.
     * @return isTrustedForwarder `true` if the Forwarder is trusted to forward relayed transactions by this Recipient.
     */
    function isTrustedForwarder(address forwarder) public virtual view returns(bool);

    /**
     * @notice Use this method the contract anywhere instead of msg.sender to support relayed transactions.
     * @return sender The real sender of this call.
     * For a call that came through the Forwarder the real sender is extracted from the last 20 bytes of the `msg.data`.
     * Otherwise simply returns `msg.sender`.
     */
    function _msgSender() internal virtual view returns (address);

    /**
     * @notice Use this method in the contract instead of `msg.data` when difference matters (hashing, signature, etc.)
     * @return data The real `msg.data` of this call.
     * For a call that came through the Forwarder, the real sender address was appended as the last 20 bytes
     * of the `msg.data` - so this method will strip those 20 bytes off.
     * Otherwise (if the call was made directly and not through the forwarder) simply returns `msg.data`.
     */
    function _msgData() internal virtual view returns (bytes calldata);
}

File 3 of 21 : AccessControl.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (access/AccessControl.sol)

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);
        _;
    }

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

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

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

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

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

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

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

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

        _revokeRole(role, account);
    }

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

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

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

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

File 4 of 21 : IAccessControl.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/IAccessControl.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

File 5 of 21 : Pausable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (security/Pausable.sol)

pragma solidity ^0.8.0;

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

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

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

    bool private _paused;

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

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

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

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

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

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

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

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

File 6 of 21 : IERC1155.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC1155/IERC1155.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev Required interface of an ERC1155 compliant contract, as defined in the
 * https://eips.ethereum.org/EIPS/eip-1155[EIP].
 *
 * _Available since v3.1._
 */
interface IERC1155 is IERC165 {
    /**
     * @dev Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`.
     */
    event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value);

    /**
     * @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all
     * transfers.
     */
    event TransferBatch(
        address indexed operator,
        address indexed from,
        address indexed to,
        uint256[] ids,
        uint256[] values
    );

    /**
     * @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to
     * `approved`.
     */
    event ApprovalForAll(address indexed account, address indexed operator, bool approved);

    /**
     * @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI.
     *
     * If an {URI} event was emitted for `id`, the standard
     * https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value
     * returned by {IERC1155MetadataURI-uri}.
     */
    event URI(string value, uint256 indexed id);

    /**
     * @dev Returns the amount of tokens of token type `id` owned by `account`.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function balanceOf(address account, uint256 id) external view returns (uint256);

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}.
     *
     * Requirements:
     *
     * - `accounts` and `ids` must have the same length.
     */
    function balanceOfBatch(address[] calldata accounts, uint256[] calldata ids)
        external
        view
        returns (uint256[] memory);

    /**
     * @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`,
     *
     * Emits an {ApprovalForAll} event.
     *
     * Requirements:
     *
     * - `operator` cannot be the caller.
     */
    function setApprovalForAll(address operator, bool approved) external;

    /**
     * @dev Returns true if `operator` is approved to transfer ``account``'s tokens.
     *
     * See {setApprovalForAll}.
     */
    function isApprovedForAll(address account, address operator) external view returns (bool);

    /**
     * @dev Transfers `amount` tokens of token type `id` from `from` to `to`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - If the caller is not `from`, it must have been approved to spend ``from``'s tokens via {setApprovalForAll}.
     * - `from` must have a balance of tokens of type `id` of at least `amount`.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes calldata data
    ) external;

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}.
     *
     * Emits a {TransferBatch} event.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function safeBatchTransferFrom(
        address from,
        address to,
        uint256[] calldata ids,
        uint256[] calldata amounts,
        bytes calldata data
    ) external;
}

File 7 of 21 : ERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC20/ERC20.sol)

pragma solidity ^0.8.0;

import "./IERC20.sol";
import "./extensions/IERC20Metadata.sol";
import "../../utils/Context.sol";

/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * We have followed general OpenZeppelin Contracts guidelines: functions revert
 * instead returning `false` on failure. This behavior is nonetheless
 * conventional and does not conflict with the expectations of ERC20
 * applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
contract ERC20 is Context, IERC20, IERC20Metadata {
    mapping(address => uint256) private _balances;

    mapping(address => mapping(address => uint256)) private _allowances;

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * The default value of {decimals} is 18. To select a different value for
     * {decimals} you should overload it.
     *
     * All two of these values are immutable: they can only be set once during
     * construction.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

    /**
     * @dev Returns the name of the token.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the number of decimals used to get its user representation.
     * For example, if `decimals` equals `2`, a balance of `505` tokens should
     * be displayed to a user as `5.05` (`505 / 10 ** 2`).
     *
     * Tokens usually opt for a value of 18, imitating the relationship between
     * Ether and Wei. This is the value {ERC20} uses, unless this function is
     * overridden;
     *
     * NOTE: This information is only used for _display_ purposes: it in
     * no way affects any of the arithmetic of the contract, including
     * {IERC20-balanceOf} and {IERC20-transfer}.
     */
    function decimals() public view virtual override returns (uint8) {
        return 18;
    }

    /**
     * @dev See {IERC20-totalSupply}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        return _totalSupply;
    }

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view virtual override returns (uint256) {
        return _balances[account];
    }

    /**
     * @dev See {IERC20-transfer}.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address to, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _transfer(owner, to, amount);
        return true;
    }

    /**
     * @dev See {IERC20-allowance}.
     */
    function allowance(address owner, address spender) public view virtual override returns (uint256) {
        return _allowances[owner][spender];
    }

    /**
     * @dev See {IERC20-approve}.
     *
     * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on
     * `transferFrom`. This is semantically equivalent to an infinite approval.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, amount);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20}.
     *
     * NOTE: Does not update the allowance if the current allowance
     * is the maximum `uint256`.
     *
     * Requirements:
     *
     * - `from` and `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     * - the caller must have allowance for ``from``'s tokens of at least
     * `amount`.
     */
    function transferFrom(
        address from,
        address to,
        uint256 amount
    ) public virtual override returns (bool) {
        address spender = _msgSender();
        _spendAllowance(from, spender, amount);
        _transfer(from, to, amount);
        return true;
    }

    /**
     * @dev Atomically increases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, allowance(owner, spender) + addedValue);
        return true;
    }

    /**
     * @dev Atomically decreases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `spender` must have allowance for the caller of at least
     * `subtractedValue`.
     */
    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
        address owner = _msgSender();
        uint256 currentAllowance = allowance(owner, spender);
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
        unchecked {
            _approve(owner, spender, currentAllowance - subtractedValue);
        }

        return true;
    }

    /**
     * @dev Moves `amount` of tokens from `from` to `to`.
     *
     * This internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     */
    function _transfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(from, to, amount);

        uint256 fromBalance = _balances[from];
        require(fromBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[from] = fromBalance - amount;
            // Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by
            // decrementing then incrementing.
            _balances[to] += amount;
        }

        emit Transfer(from, to, amount);

        _afterTokenTransfer(from, to, amount);
    }

    /** @dev Creates `amount` tokens and assigns them to `account`, increasing
     * the total supply.
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: mint to the zero address");

        _beforeTokenTransfer(address(0), account, amount);

        _totalSupply += amount;
        unchecked {
            // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above.
            _balances[account] += amount;
        }
        emit Transfer(address(0), account, amount);

        _afterTokenTransfer(address(0), account, amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, reducing the
     * total supply.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens.
     */
    function _burn(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: burn from the zero address");

        _beforeTokenTransfer(account, address(0), amount);

        uint256 accountBalance = _balances[account];
        require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
        unchecked {
            _balances[account] = accountBalance - amount;
            // Overflow not possible: amount <= accountBalance <= totalSupply.
            _totalSupply -= amount;
        }

        emit Transfer(account, address(0), amount);

        _afterTokenTransfer(account, address(0), amount);
    }

    /**
     * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.
     *
     * This internal function is equivalent to `approve`, and can be used to
     * e.g. set automatic allowances for certain subsystems, etc.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `owner` cannot be the zero address.
     * - `spender` cannot be the zero address.
     */
    function _approve(
        address owner,
        address spender,
        uint256 amount
    ) internal virtual {
        require(owner != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");

        _allowances[owner][spender] = amount;
        emit Approval(owner, spender, amount);
    }

    /**
     * @dev Updates `owner` s allowance for `spender` based on spent `amount`.
     *
     * Does not update the allowance amount in case of infinite allowance.
     * Revert if not enough allowance is available.
     *
     * Might emit an {Approval} event.
     */
    function _spendAllowance(
        address owner,
        address spender,
        uint256 amount
    ) internal virtual {
        uint256 currentAllowance = allowance(owner, spender);
        if (currentAllowance != type(uint256).max) {
            require(currentAllowance >= amount, "ERC20: insufficient allowance");
            unchecked {
                _approve(owner, spender, currentAllowance - amount);
            }
        }
    }

    /**
     * @dev Hook that is called before any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * will be transferred to `to`.
     * - when `from` is zero, `amount` tokens will be minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens 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 amount
    ) internal virtual {}

    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * has been transferred to `to`.
     * - when `from` is zero, `amount` tokens have been minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens have been 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 _afterTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}
}

File 8 of 21 : draft-IERC20Permit.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/draft-IERC20Permit.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in
 * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].
 *
 * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by
 * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't
 * need to send a transaction, and thus is not required to hold Ether at all.
 */
interface IERC20Permit {
    /**
     * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens,
     * given ``owner``'s signed approval.
     *
     * IMPORTANT: The same issues {IERC20-approve} has related to transaction
     * ordering also apply here.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `deadline` must be a timestamp in the future.
     * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner`
     * over the EIP712-formatted function arguments.
     * - the signature must use ``owner``'s current nonce (see {nonces}).
     *
     * For more information on the signature format, see the
     * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP
     * section].
     */
    function permit(
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external;

    /**
     * @dev Returns the current nonce for `owner`. This value must be
     * included whenever a signature is generated for {permit}.
     *
     * Every successful call to {permit} increases ``owner``'s nonce by one. This
     * prevents a signature from being used multiple times.
     */
    function nonces(address owner) external view returns (uint256);

    /**
     * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}.
     */
    // solhint-disable-next-line func-name-mixedcase
    function DOMAIN_SEPARATOR() external view returns (bytes32);
}

File 9 of 21 : IERC20Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)

pragma solidity ^0.8.0;

import "../IERC20.sol";

/**
 * @dev Interface for the optional metadata functions from the ERC20 standard.
 *
 * _Available since v4.1._
 */
interface IERC20Metadata is IERC20 {
    /**
     * @dev Returns the name of the token.
     */
    function name() external view returns (string memory);

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

    /**
     * @dev Returns the decimals places of the token.
     */
    function decimals() external view returns (uint8);
}

File 10 of 21 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);

    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `to`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address to, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `from` to `to` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 amount
    ) external returns (bool);
}

File 11 of 21 : SafeERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC20/utils/SafeERC20.sol)

pragma solidity ^0.8.0;

import "../IERC20.sol";
import "../extensions/draft-IERC20Permit.sol";
import "../../../utils/Address.sol";

/**
 * @title SafeERC20
 * @dev Wrappers around ERC20 operations that throw on failure (when the token
 * contract returns false). Tokens that return no value (and instead revert or
 * throw on failure) are also supported, non-reverting calls are assumed to be
 * successful.
 * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeERC20 {
    using Address for address;

    function safeTransfer(
        IERC20 token,
        address to,
        uint256 value
    ) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
    }

    function safeTransferFrom(
        IERC20 token,
        address from,
        address to,
        uint256 value
    ) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
    }

    /**
     * @dev Deprecated. This function has issues similar to the ones found in
     * {IERC20-approve}, and its usage is discouraged.
     *
     * Whenever possible, use {safeIncreaseAllowance} and
     * {safeDecreaseAllowance} instead.
     */
    function safeApprove(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        // safeApprove should only be called when setting an initial allowance,
        // or when resetting it to zero. To increase and decrease it, use
        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
        require(
            (value == 0) || (token.allowance(address(this), spender) == 0),
            "SafeERC20: approve from non-zero to non-zero allowance"
        );
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }

    function safeIncreaseAllowance(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        uint256 newAllowance = token.allowance(address(this), spender) + value;
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    function safeDecreaseAllowance(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        unchecked {
            uint256 oldAllowance = token.allowance(address(this), spender);
            require(oldAllowance >= value, "SafeERC20: decreased allowance below zero");
            uint256 newAllowance = oldAllowance - value;
            _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
        }
    }

    function safePermit(
        IERC20Permit token,
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal {
        uint256 nonceBefore = token.nonces(owner);
        token.permit(owner, spender, value, deadline, v, r, s);
        uint256 nonceAfter = token.nonces(owner);
        require(nonceAfter == nonceBefore + 1, "SafeERC20: permit did not succeed");
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     */
    function _callOptionalReturn(IERC20 token, bytes memory data) private {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We use {Address-functionCall} to perform this call, which verifies that
        // the target address contains contract code and also asserts for success in the low-level call.

        bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed");
        if (returndata.length > 0) {
            // Return data is optional
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}

File 12 of 21 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

    /**
     * @dev Transfers `tokenId` token from `from` to `to`.
     *
     * WARNING: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721
     * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must
     * understand this adds an external call which potentially creates a reentrancy vulnerability.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

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

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

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

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

File 13 of 21 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/Address.sol)

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

    /**
     * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling
     * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.
     *
     * _Available since v4.8._
     */
    function verifyCallResultFromTarget(
        address target,
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        if (success) {
            if (returndata.length == 0) {
                // only check isContract if the call was successful and the return data is empty
                // otherwise we already know that it was a contract
                require(isContract(target), "Address: call to non-contract");
            }
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    /**
     * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason or 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 {
            _revert(returndata, errorMessage);
        }
    }

    function _revert(bytes memory returndata, string memory errorMessage) private pure {
        // Look for revert reason and bubble it up if present
        if (returndata.length > 0) {
            // The easiest way to bubble the revert reason is using memory via assembly
            /// @solidity memory-safe-assembly
            assembly {
                let returndata_size := mload(returndata)
                revert(add(32, returndata), returndata_size)
            }
        } else {
            revert(errorMessage);
        }
    }
}

File 14 of 21 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

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

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

File 15 of 21 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

File 16 of 21 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

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

File 17 of 21 : Math.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/math/Math.sol)

pragma solidity ^0.8.0;

/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library Math {
    enum Rounding {
        Down, // Toward negative infinity
        Up, // Toward infinity
        Zero // Toward zero
    }

    /**
     * @dev Returns the largest of two numbers.
     */
    function max(uint256 a, uint256 b) internal pure returns (uint256) {
        return a > b ? a : b;
    }

    /**
     * @dev Returns the smallest of two numbers.
     */
    function min(uint256 a, uint256 b) internal pure returns (uint256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two numbers. The result is rounded towards
     * zero.
     */
    function average(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b) / 2 can overflow.
        return (a & b) + (a ^ b) / 2;
    }

    /**
     * @dev Returns the ceiling of the division of two numbers.
     *
     * This differs from standard division with `/` in that it rounds up instead
     * of rounding down.
     */
    function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b - 1) / b can overflow on addition, so we distribute.
        return a == 0 ? 0 : (a - 1) / b + 1;
    }

    /**
     * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0
     * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv)
     * with further edits by Uniswap Labs also under MIT license.
     */
    function mulDiv(
        uint256 x,
        uint256 y,
        uint256 denominator
    ) internal pure returns (uint256 result) {
        unchecked {
            // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use
            // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256
            // variables such that product = prod1 * 2^256 + prod0.
            uint256 prod0; // Least significant 256 bits of the product
            uint256 prod1; // Most significant 256 bits of the product
            assembly {
                let mm := mulmod(x, y, not(0))
                prod0 := mul(x, y)
                prod1 := sub(sub(mm, prod0), lt(mm, prod0))
            }

            // Handle non-overflow cases, 256 by 256 division.
            if (prod1 == 0) {
                return prod0 / denominator;
            }

            // Make sure the result is less than 2^256. Also prevents denominator == 0.
            require(denominator > prod1);

            ///////////////////////////////////////////////
            // 512 by 256 division.
            ///////////////////////////////////////////////

            // Make division exact by subtracting the remainder from [prod1 prod0].
            uint256 remainder;
            assembly {
                // Compute remainder using mulmod.
                remainder := mulmod(x, y, denominator)

                // Subtract 256 bit number from 512 bit number.
                prod1 := sub(prod1, gt(remainder, prod0))
                prod0 := sub(prod0, remainder)
            }

            // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1.
            // See https://cs.stackexchange.com/q/138556/92363.

            // Does not overflow because the denominator cannot be zero at this stage in the function.
            uint256 twos = denominator & (~denominator + 1);
            assembly {
                // Divide denominator by twos.
                denominator := div(denominator, twos)

                // Divide [prod1 prod0] by twos.
                prod0 := div(prod0, twos)

                // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one.
                twos := add(div(sub(0, twos), twos), 1)
            }

            // Shift in bits from prod1 into prod0.
            prod0 |= prod1 * twos;

            // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such
            // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for
            // four bits. That is, denominator * inv = 1 mod 2^4.
            uint256 inverse = (3 * denominator) ^ 2;

            // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works
            // in modular arithmetic, doubling the correct bits in each step.
            inverse *= 2 - denominator * inverse; // inverse mod 2^8
            inverse *= 2 - denominator * inverse; // inverse mod 2^16
            inverse *= 2 - denominator * inverse; // inverse mod 2^32
            inverse *= 2 - denominator * inverse; // inverse mod 2^64
            inverse *= 2 - denominator * inverse; // inverse mod 2^128
            inverse *= 2 - denominator * inverse; // inverse mod 2^256

            // Because the division is now exact we can divide by multiplying with the modular inverse of denominator.
            // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is
            // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1
            // is no longer required.
            result = prod0 * inverse;
            return result;
        }
    }

    /**
     * @notice Calculates x * y / denominator with full precision, following the selected rounding direction.
     */
    function mulDiv(
        uint256 x,
        uint256 y,
        uint256 denominator,
        Rounding rounding
    ) internal pure returns (uint256) {
        uint256 result = mulDiv(x, y, denominator);
        if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) {
            result += 1;
        }
        return result;
    }

    /**
     * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down.
     *
     * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11).
     */
    function sqrt(uint256 a) internal pure returns (uint256) {
        if (a == 0) {
            return 0;
        }

        // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target.
        //
        // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have
        // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`.
        //
        // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)`
        // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))`
        // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)`
        //
        // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit.
        uint256 result = 1 << (log2(a) >> 1);

        // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128,
        // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at
        // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision
        // into the expected uint128 result.
        unchecked {
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            return min(result, a / result);
        }
    }

    /**
     * @notice Calculates sqrt(a), following the selected rounding direction.
     */
    function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = sqrt(a);
            return result + (rounding == Rounding.Up && result * result < a ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 2, rounded down, of a positive value.
     * Returns 0 if given 0.
     */
    function log2(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 128;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 64;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 32;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 16;
            }
            if (value >> 8 > 0) {
                value >>= 8;
                result += 8;
            }
            if (value >> 4 > 0) {
                value >>= 4;
                result += 4;
            }
            if (value >> 2 > 0) {
                value >>= 2;
                result += 2;
            }
            if (value >> 1 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 2, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log2(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log2(value);
            return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 10, rounded down, of a positive value.
     * Returns 0 if given 0.
     */
    function log10(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >= 10**64) {
                value /= 10**64;
                result += 64;
            }
            if (value >= 10**32) {
                value /= 10**32;
                result += 32;
            }
            if (value >= 10**16) {
                value /= 10**16;
                result += 16;
            }
            if (value >= 10**8) {
                value /= 10**8;
                result += 8;
            }
            if (value >= 10**4) {
                value /= 10**4;
                result += 4;
            }
            if (value >= 10**2) {
                value /= 10**2;
                result += 2;
            }
            if (value >= 10**1) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 10, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log10(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log10(value);
            return result + (rounding == Rounding.Up && 10**result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 256, rounded down, of a positive value.
     * Returns 0 if given 0.
     *
     * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string.
     */
    function log256(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 16;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 8;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 4;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 2;
            }
            if (value >> 8 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 10, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log256(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log256(value);
            return result + (rounding == Rounding.Up && 1 << (result * 8) < value ? 1 : 0);
        }
    }
}

File 18 of 21 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

import "./math/Math.sol";

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

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        unchecked {
            uint256 length = Math.log10(value) + 1;
            string memory buffer = new string(length);
            uint256 ptr;
            /// @solidity memory-safe-assembly
            assembly {
                ptr := add(buffer, add(32, length))
            }
            while (true) {
                ptr--;
                /// @solidity memory-safe-assembly
                assembly {
                    mstore8(ptr, byte(mod(value, 10), _SYMBOLS))
                }
                value /= 10;
                if (value == 0) break;
            }
            return buffer;
        }
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        unchecked {
            return toHexString(value, Math.log256(value) + 1);
        }
    }

    /**
     * @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] = _SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }

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

File 19 of 21 : BaseToken.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.19;

import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "@openzeppelin/contracts/access/AccessControl.sol";
import "@opengsn/contracts/src/ERC2771Recipient.sol";
import "./utils/RescueTokens.sol";

/// @author MELD team
/// @title BaseToken
/// @notice BaseToken is an ERC20 token with minting, burning and pausing capabilities, as well as meta-transaction support.
contract BaseToken is ERC20, Pausable, AccessControl, ERC2771Recipient, RescueTokens {
    using SafeERC20 for IERC20;

    bytes32 public constant MINTER_ROLE = keccak256("MINTER_ROLE");
    bytes32 public constant BURNER_ROLE = keccak256("BURNER_ROLE");
    bytes32 public constant PAUSER_ROLE = keccak256("PAUSER_ROLE");
    bytes32 public constant UNPAUSER_ROLE = keccak256("UNPAUSER_ROLE");
    bytes32 public constant TRUSTED_FORWARDER_SETTER_ROLE =
        keccak256("TRUSTED_FORWARDER_SETTER_ROLE");

    /// @dev Timestamp of the last minting period for each account
    mapping(address minter => uint256 timestamp) public lastMintingPeriod;
    /// @dev Amount of tokens minted in the current minting period for each account
    mapping(address minter => uint256 mintedAmount) public currentMintingAmount;
    /// @dev Amount of tokens that can be minted in a minting period for each account
    mapping(address minter => uint256 threshold) public mintingAmountThreshold;
    /// @dev Length of a minting period for each account
    mapping(address minter => uint256 periodLength) public mintingPeriodLength;

    /// @dev The number of decimals of the token
    uint8 internal immutable __decimals;

    event TrustedForwarderChanged(address oldForwarder, address newForwarder);
    event MintingPermissionChanged(address account, uint256 amountThreshold, uint256 periodLength);

    /// @dev Modifier that checks that the receiver is not this contract
    /// @param _to The address to transfer to
    modifier notToThisContract(address _to) {
        require(_to != address(this), "BaseToken: Cannot transfer to this contract");
        _;
    }

    /// @dev Modifier that checks that the sender is not the trusted forwarder
    /// @dev This is used to prevent meta-transactions from being sent to the centralized functions (mint, burn, etc.)
    modifier notTrustedForwarder() {
        require(
            !isTrustedForwarder(msg.sender),
            "EIP2771Recipient: meta transaction is not allowed"
        );
        _;
    }

    /// @notice BaseToken constructor
    /// @param _defaultAdmin The address of the default admin, who will be able to grant roles to other accounts
    constructor(
        address _defaultAdmin,
        string memory _name,
        string memory _symbol,
        uint8 _decimals
    ) ERC20(_name, _symbol) {
        require(_defaultAdmin != address(0), "BaseToken: Default admin cannot be the zero address");
        _grantRole(DEFAULT_ADMIN_ROLE, _defaultAdmin);
        __decimals = _decimals;
    }

    /// @dev Grants `_role` to `_account`.
    /// @dev Created to ensure it is not called by the trusted forwarder
    /// @param _role The role to grant
    /// @param _account The account to grant the role to
    function grantRole(
        bytes32 _role,
        address _account
    ) public virtual override notTrustedForwarder {
        super.grantRole(_role, _account);
    }

    /// @dev Revokes `_role` from `_account`.
    /// @dev Created to ensure it is not called by the trusted forwarder
    /// @param _role The role to revoke
    /// @param _account The account to revoke the role from
    function revokeRole(
        bytes32 _role,
        address _account
    ) public virtual override notTrustedForwarder {
        super.revokeRole(_role, _account);
    }

    /// @dev Revokes `_role` from the calling account.
    /// @dev Created to ensure it is not called by the trusted forwarder
    /// @param _role The role to renounce
    /// @param _account The account to renounce the role from. Must be equal to the _msgSender()
    function renounceRole(
        bytes32 _role,
        address _account
    ) public virtual override notTrustedForwarder {
        super.renounceRole(_role, _account);
    }

    /// @notice Sets the minting amount threshold and period length for an account
    /// @notice Also grants MINTER_ROLE to the account if the threshold is greater than 0, or revokes it otherwise
    /// @dev Only callable by an account with DEFAULT_ADMIN_ROLE
    /// @param _account The account to set the minting permission for
    /// @param _amountThreshold The amount of tokens that can be minted in a minting period
    /// @param _periodLength The length of a minting period
    function setMintingAccount(
        address _account,
        uint256 _amountThreshold,
        uint256 _periodLength
    ) public virtual onlyRole(DEFAULT_ADMIN_ROLE) notTrustedForwarder {
        require(_account != address(0), "BaseToken: Account cannot be the zero address");
        if (_amountThreshold == 0) {
            _revokeRole(MINTER_ROLE, _account);
        } else {
            _grantRole(MINTER_ROLE, _account);
        }
        mintingAmountThreshold[_account] = _amountThreshold;
        mintingPeriodLength[_account] = _periodLength;
        emit MintingPermissionChanged(_account, _amountThreshold, _periodLength);
    }

    /// @notice Sets the trusted forwarder address
    /// @dev Only callable by an account with TRUSTED_FORWARDER_SETTER_ROLE
    /// @dev The trusted forwarder is used to support meta-transactions
    /// @param _forwarder The address of the trusted forwarder
    function setTrustedForwarder(
        address _forwarder
    ) public virtual onlyRole(TRUSTED_FORWARDER_SETTER_ROLE) notTrustedForwarder {
        emit TrustedForwarderChanged(getTrustedForwarder(), _forwarder);
        _setTrustedForwarder(_forwarder);
    }

    /// @notice Pauses the token
    /// @dev Only callable by an account with PAUSER_ROLE
    /// @dev Pausing the token prevents mints and burns
    function pause() public virtual onlyRole(PAUSER_ROLE) notTrustedForwarder {
        _pause();
    }

    /// @notice Unpauses the token
    /// @dev Only callable by an account with UNPAUSER_ROLE
    function unpause() public virtual onlyRole(UNPAUSER_ROLE) notTrustedForwarder {
        _unpause();
    }

    /// @notice Mints tokens to an account
    /// @dev Only callable by an account with MINTER_ROLE
    /// @dev The amount of tokens minted in a minting period cannot exceed the minting amount threshold
    /// @param _to The account to mint tokens to
    /// @param _amount The amount of tokens to mint
    function mint(
        address _to,
        uint256 _amount
    ) public virtual whenNotPaused onlyRole(MINTER_ROLE) notTrustedForwarder {
        require(_amount > 0, "BaseToken: Amount must be greater than 0");

        address minter = _msgSender();

        // Minting period has ended
        if (block.timestamp > lastMintingPeriod[minter] + mintingPeriodLength[minter]) {
            currentMintingAmount[minter] = 0;
            lastMintingPeriod[minter] = block.timestamp;
        }
        require(
            currentMintingAmount[minter] + _amount <= mintingAmountThreshold[minter],
            "BaseToken: Minting amount exceeds threshold"
        );

        currentMintingAmount[minter] += _amount;

        _mint(_to, _amount);
    }

    /// @notice Burns tokens from the caller's account
    /// @dev Only callable by an account with BURNER_ROLE
    /// @param _amount The amount of tokens to burn
    function burn(
        uint256 _amount
    ) public virtual whenNotPaused onlyRole(BURNER_ROLE) notTrustedForwarder {
        require(_amount > 0, "BaseToken: Amount must be greater than 0");
        _burn(_msgSender(), _amount);
    }

    /// @notice Overrides transfer to add checks to avoid transfers to this contract
    /// @param _to The account to transfer tokens to
    /// @param _amount The amount of tokens to transfer
    function transfer(
        address _to,
        uint256 _amount
    ) public virtual override notToThisContract(_to) returns (bool) {
        return super.transfer(_to, _amount);
    }

    /// @notice Overrides transferFrom to add checks to avoid transfers to this contract
    /// @param _from The account to transfer tokens from
    /// @param _to The account to transfer tokens to
    /// @param _amount The amount of tokens to transfer
    function transferFrom(
        address _from,
        address _to,
        uint256 _amount
    ) public virtual override notToThisContract(_to) returns (bool) {
        return super.transferFrom(_from, _to, _amount);
    }

    /// @notice Allows the admin to rescue ERC20 tokens sent to this contract
    /// @dev Only callable by an account with DEFAULT_ADMIN_ROLE
    /// @param _token The address of the ERC20 token to rescue
    /// @param _to The account to transfer the ERC20 tokens to
    function rescueERC20(
        address _token,
        address _to
    ) public virtual onlyRole(DEFAULT_ADMIN_ROLE) notTrustedForwarder {
        _rescueERC20(_token, _to);
    }

    /// @notice Allows the admin to rescue ERC721 tokens sent to this contract
    /// @dev Only callable by an account with DEFAULT_ADMIN_ROLE
    /// @param _token The address of the ERC721 token to rescue
    /// @param _to The account to transfer the ERC721 tokens to
    /// @param _tokenId The ID of the ERC721 token to rescue
    function rescueERC721(
        address _token,
        address _to,
        uint256 _tokenId
    ) public virtual onlyRole(DEFAULT_ADMIN_ROLE) notTrustedForwarder {
        _rescueERC721(_token, _to, _tokenId);
    }

    /// @notice Allows the admin to rescue ERC1155 tokens sent to this contract
    /// @dev Only callable by an account with DEFAULT_ADMIN_ROLE
    /// @param _token The address of the ERC1155 token to rescue
    /// @param _to The account to transfer the ERC1155 tokens to
    /// @param _tokenId The ID of the ERC1155 token to rescue
    function rescueERC1155(
        address _token,
        address _to,
        uint256 _tokenId
    ) public virtual onlyRole(DEFAULT_ADMIN_ROLE) notTrustedForwarder {
        _rescueERC1155(_token, _to, _tokenId);
    }

    /// @notice Returns the decimals of the token
    function decimals() public view virtual override returns (uint8) {
        return __decimals;
    }

    /// @notice Overrides _msgSender hook to add support for meta-transactions using the ERC2771 standard
    function _msgSender()
        internal
        view
        override(Context, ERC2771Recipient)
        returns (address sender)
    {
        sender = ERC2771Recipient._msgSender();
    }

    /// @notice Overrides _msgData hook to add support for meta-transactions using the ERC2771 standard
    function _msgData() internal view override(Context, ERC2771Recipient) returns (bytes calldata) {
        return ERC2771Recipient._msgData();
    }
}

File 20 of 21 : MeldToken.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.19;

import "./BaseToken.sol";

/// @author MELD team
/// @title MeldToken
/// @notice MeldToken is an ERC20 token with minting, burning and pausing capabilities, as well as meta-transaction support.
contract MeldToken is BaseToken {
    /// @dev The maximum supply of MELD tokens is 4 billion
    uint256 public constant MAX_SUPPLY = 4_000_000_000 * 10 ** 18;

    constructor(address _defaultAdmin) BaseToken(_defaultAdmin, "Meld", "MELD", 18) {
        _grantRole(DEFAULT_ADMIN_ROLE, _defaultAdmin);
    }

    /// @notice Mints MELD tokens to an account
    /// @dev Only callable by an account with MINTER_ROLE
    /// @dev The amount of MELD tokens minted in a minting period cannot exceed the minting amount threshold
    /// @dev The MELD token has a maximum supply of 4 billion
    /// @param _to The account to mint MELD tokens to
    /// @param _amount The amount of MELD tokens to mint
    function mint(address _to, uint256 _amount) public override {
        require(totalSupply() + _amount <= MAX_SUPPLY, "MeldToken: Max supply reached");
        super.mint(_to, _amount);
    }
}

File 21 of 21 : RescueTokens.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.19;

import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
import "@openzeppelin/contracts/token/ERC1155/IERC1155.sol";

/// @author MELD team
/// @title RescueTokens
/// @notice A contract that can rescue ERC20, ERC721, and ERC1155 tokens stuck in it
/// @dev This contract is abstract and must be inherited by another contract
abstract contract RescueTokens {
    using SafeERC20 for IERC20;

    /// @dev Modifier that checks that the `_token` address is not zero
    /// @param _token The address of the token
    modifier notTokenZero(address _token) {
        require(_token != address(0), "RescueTokens: Token address cannot be zero");
        _;
    }

    /// @dev Modifier that checks that the `_to` address is not zero
    /// @param _to The address to send the tokens to
    modifier notToZero(address _to) {
        require(_to != address(0), "RescueTokens: Destination address cannot be zero");
        _;
    }

    /// @notice Rescue ERC20 tokens stuck in this contract
    /// @param _token The address of the ERC20 token
    /// @param _to The address to send the ERC20 tokens to
    function _rescueERC20(
        address _token,
        address _to
    ) internal virtual notTokenZero(_token) notToZero(_to) {
        uint256 balance = IERC20(_token).balanceOf(address(this));
        require(balance > 0, "RescueTokens: No tokens to rescue");
        IERC20(_token).safeTransfer(_to, balance);
    }

    /// @notice Rescue ERC721 tokens stuck in this contract
    /// @param _token The address of the ERC721 token
    /// @param _to The address to send the ERC721 tokens to
    /// @param _tokenId The ID of the ERC721 token
    function _rescueERC721(
        address _token,
        address _to,
        uint256 _tokenId
    ) internal virtual notTokenZero(_token) notToZero(_to) {
        require(IERC721(_token).ownerOf(_tokenId) == address(this), "RescueTokens: Not owner");
        IERC721(_token).safeTransferFrom(address(this), _to, _tokenId);
    }

    /// @notice Rescue ERC1155 tokens stuck in this contract
    /// @param _token The address of the ERC1155 token
    /// @param _to The address to send the ERC1155 tokens to
    /// @param _tokenId The ID of the ERC1155 token
    function _rescueERC1155(
        address _token,
        address _to,
        uint256 _tokenId
    ) internal virtual notTokenZero(_token) notToZero(_to) {
        uint256 balance = IERC1155(_token).balanceOf(address(this), _tokenId);
        require(balance > 0, "RescueTokens: No tokens to rescue");
        IERC1155(_token).safeTransferFrom(address(this), _to, _tokenId, balance, "");
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_defaultAdmin","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"amountThreshold","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"periodLength","type":"uint256"}],"name":"MintingPermissionChanged","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":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"oldForwarder","type":"address"},{"indexed":false,"internalType":"address","name":"newForwarder","type":"address"}],"name":"TrustedForwarderChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"BURNER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINTER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PAUSER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TRUSTED_FORWARDER_SETTER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"UNPAUSER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"minter","type":"address"}],"name":"currentMintingAmount","outputs":[{"internalType":"uint256","name":"mintedAmount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTrustedForwarder","outputs":[{"internalType":"address","name":"forwarder","type":"address"}],"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":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"forwarder","type":"address"}],"name":"isTrustedForwarder","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"minter","type":"address"}],"name":"lastMintingPeriod","outputs":[{"internalType":"uint256","name":"timestamp","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"minter","type":"address"}],"name":"mintingAmountThreshold","outputs":[{"internalType":"uint256","name":"threshold","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"minter","type":"address"}],"name":"mintingPeriodLength","outputs":[{"internalType":"uint256","name":"periodLength","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_role","type":"bytes32"},{"internalType":"address","name":"_account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"rescueERC1155","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"address","name":"_to","type":"address"}],"name":"rescueERC20","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"rescueERC721","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_role","type":"bytes32"},{"internalType":"address","name":"_account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"},{"internalType":"uint256","name":"_amountThreshold","type":"uint256"},{"internalType":"uint256","name":"_periodLength","type":"uint256"}],"name":"setMintingAccount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_forwarder","type":"address"}],"name":"setTrustedForwarder","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60a06040523480156200001157600080fd5b506040516200531b3803806200531b833981810160405281019062000037919062000418565b806040518060400160405280600481526020017f4d656c64000000000000000000000000000000000000000000000000000000008152506040518060400160405280600481526020017f4d454c4400000000000000000000000000000000000000000000000000000000815250601282828160039081620000b99190620006c4565b508060049081620000cb9190620006c4565b5050506000600560006101000a81548160ff021916908315150217905550600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16036200015b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620001529062000832565b60405180910390fd5b620001706000801b856200019e60201b60201c565b8060ff1660808160ff168152505050505050620001976000801b826200019e60201b60201c565b5062000854565b620001b082826200029060201b60201c565b6200028c5760016006600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555062000231620002fb60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b60006006600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60006200030d6200031260201b60201c565b905090565b6000601460003690501015801562000337575062000336336200035460201b60201c565b5b156200034d57601436033560601c905062000351565b3390505b90565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16149050919050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620003e082620003b3565b9050919050565b620003f281620003d3565b8114620003fe57600080fd5b50565b6000815190506200041281620003e7565b92915050565b600060208284031215620004315762000430620003ae565b5b6000620004418482850162000401565b91505092915050565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620004cc57607f821691505b602082108103620004e257620004e162000484565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026200054c7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826200050d565b6200055886836200050d565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b6000620005a56200059f620005998462000570565b6200057a565b62000570565b9050919050565b6000819050919050565b620005c18362000584565b620005d9620005d082620005ac565b8484546200051a565b825550505050565b600090565b620005f0620005e1565b620005fd818484620005b6565b505050565b5b81811015620006255762000619600082620005e6565b60018101905062000603565b5050565b601f82111562000674576200063e81620004e8565b6200064984620004fd565b8101602085101562000659578190505b620006716200066885620004fd565b83018262000602565b50505b505050565b600082821c905092915050565b6000620006996000198460080262000679565b1980831691505092915050565b6000620006b4838362000686565b9150826002028217905092915050565b620006cf826200044a565b67ffffffffffffffff811115620006eb57620006ea62000455565b5b620006f78254620004b3565b6200070482828562000629565b600060209050601f8311600181146200073c576000841562000727578287015190505b620007338582620006a6565b865550620007a3565b601f1984166200074c86620004e8565b60005b8281101562000776578489015182556001820191506020850194506020810190506200074f565b8683101562000796578489015162000792601f89168262000686565b8355505b6001600288020188555050505b505050505050565b600082825260208201905092915050565b7f42617365546f6b656e3a2044656661756c742061646d696e2063616e6e6f742060008201527f626520746865207a65726f206164647265737300000000000000000000000000602082015250565b60006200081a603383620007ab565b91506200082782620007bc565b604082019050919050565b600060208201905081810360008301526200084d816200080b565b9050919050565b608051614aab620008706000396000610a510152614aab6000f3fe608060405234801561001057600080fd5b50600436106102485760003560e01c80635d799f871161013b578063a9059cbb116100b8578063d965547b1161007c578063d965547b14610717578063da74222814610747578063dd62ed3e14610763578063e63ab1e914610793578063fb1bb9de146107b157610248565b8063a9059cbb1461065f578063c1faf0e01461068f578063ce1b815f146106bf578063d5391393146106dd578063d547741f146106fb57610248565b806384fc94d8116100ff57806384fc94d81461059357806391d14854146105c357806395d89b41146105f3578063a217fddf14610611578063a457c2d71461062f57610248565b80635d799f87146105055780636fdb18721461052157806370a082311461053d5780637df325e11461056d5780638456cb591461058957610248565b806332cb6b0c116101c957806342966c681161018d57806342966c681461044f578063562681091461046b578063570bc3931461049b578063572b6c05146104b75780635c975abb146104e757610248565b806332cb6b0c146103bf57806336568abe146103dd57806339509351146103f95780633f4ba83a1461042957806340c10f191461043357610248565b806323b872dd1161021057806323b872dd14610307578063248a9ca314610337578063282c51f3146103675780632f2ff15d14610385578063313ce567146103a157610248565b806301ffc9a71461024d578063068d1e891461027d57806306fdde031461029b578063095ea7b3146102b957806318160ddd146102e9575b600080fd5b6102676004803603810190610262919061329a565b6107cf565b60405161027491906132e2565b60405180910390f35b610285610849565b6040516102929190613316565b60405180910390f35b6102a361086d565b6040516102b091906133c1565b60405180910390f35b6102d360048036038101906102ce9190613477565b6108ff565b6040516102e091906132e2565b60405180910390f35b6102f1610922565b6040516102fe91906134c6565b60405180910390f35b610321600480360381019061031c91906134e1565b61092c565b60405161032e91906132e2565b60405180910390f35b610351600480360381019061034c9190613560565b6109b2565b60405161035e9190613316565b60405180910390f35b61036f6109d2565b60405161037c9190613316565b60405180910390f35b61039f600480360381019061039a919061358d565b6109f6565b005b6103a9610a4d565b6040516103b691906135e9565b60405180910390f35b6103c7610a75565b6040516103d491906134c6565b60405180910390f35b6103f760048036038101906103f2919061358d565b610a85565b005b610413600480360381019061040e9190613477565b610adc565b60405161042091906132e2565b60405180910390f35b610431610b13565b005b61044d60048036038101906104489190613477565b610b91565b005b61046960048036038101906104649190613604565b610c00565b005b61048560048036038101906104809190613631565b610cd3565b60405161049291906134c6565b60405180910390f35b6104b560048036038101906104b0919061365e565b610ceb565b005b6104d160048036038101906104cc9190613631565b610edb565b6040516104de91906132e2565b60405180910390f35b6104ef610f35565b6040516104fc91906132e2565b60405180910390f35b61051f600480360381019061051a91906136b1565b610f4c565b005b61053b600480360381019061053691906134e1565b610fb1565b005b61055760048036038101906105529190613631565b611018565b60405161056491906134c6565b60405180910390f35b610587600480360381019061058291906134e1565b611060565b005b6105916110c7565b005b6105ad60048036038101906105a89190613631565b611145565b6040516105ba91906134c6565b60405180910390f35b6105dd60048036038101906105d8919061358d565b61115d565b6040516105ea91906132e2565b60405180910390f35b6105fb6111c8565b60405161060891906133c1565b60405180910390f35b61061961125a565b6040516106269190613316565b60405180910390f35b61064960048036038101906106449190613477565b611261565b60405161065691906132e2565b60405180910390f35b61067960048036038101906106749190613477565b6112d8565b60405161068691906132e2565b60405180910390f35b6106a960048036038101906106a49190613631565b61135c565b6040516106b691906134c6565b60405180910390f35b6106c7611374565b6040516106d49190613700565b60405180910390f35b6106e561139e565b6040516106f29190613316565b60405180910390f35b6107156004803603810190610710919061358d565b6113c2565b005b610731600480360381019061072c9190613631565b611419565b60405161073e91906134c6565b60405180910390f35b610761600480360381019061075c9190613631565b611431565b005b61077d600480360381019061077891906136b1565b6114f1565b60405161078a91906134c6565b60405180910390f35b61079b611578565b6040516107a89190613316565b60405180910390f35b6107b961159c565b6040516107c69190613316565b60405180910390f35b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806108425750610841826115c0565b5b9050919050565b7fd13bcd89f71b04cf9b2260eba6c11271c9e0b565689e660ecd136d2cdcd1d4d081565b60606003805461087c9061374a565b80601f01602080910402602001604051908101604052809291908181526020018280546108a89061374a565b80156108f55780601f106108ca576101008083540402835291602001916108f5565b820191906000526020600020905b8154815290600101906020018083116108d857829003601f168201915b5050505050905090565b60008061090a61162a565b9050610917818585611639565b600191505092915050565b6000600254905090565b6000823073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361099d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610994906137ed565b60405180910390fd5b6109a8858585611802565b9150509392505050565b600060066000838152602001908152602001600020600101549050919050565b7f3c11d16cbaffd01df69ce1c404f6340ee057498f5f00246190ea54220576a84881565b6109ff33610edb565b15610a3f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a369061387f565b60405180910390fd5b610a498282611831565b5050565b60007f0000000000000000000000000000000000000000000000000000000000000000905090565b6b0cecb8f27f4200f3a000000081565b610a8e33610edb565b15610ace576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ac59061387f565b60405180910390fd5b610ad88282611852565b5050565b600080610ae761162a565b9050610b08818585610af985896114f1565b610b0391906138ce565b611639565b600191505092915050565b7f427da25fe773164f88948d3e215c94b6554e2ed5e5f203a821c9f2f6131cf75a610b3d816118d5565b610b4633610edb565b15610b86576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b7d9061387f565b60405180910390fd5b610b8e6118e9565b50565b6b0cecb8f27f4200f3a000000081610ba7610922565b610bb191906138ce565b1115610bf2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610be99061394e565b60405180910390fd5b610bfc828261194c565b5050565b610c08611c63565b7f3c11d16cbaffd01df69ce1c404f6340ee057498f5f00246190ea54220576a848610c32816118d5565b610c3b33610edb565b15610c7b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c729061387f565b60405180910390fd5b60008211610cbe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cb5906139e0565b60405180910390fd5b610ccf610cc961162a565b83611cad565b5050565b600b6020528060005260406000206000915090505481565b6000801b610cf8816118d5565b610d0133610edb565b15610d41576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d389061387f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603610db0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610da790613a72565b60405180910390fd5b60008303610de757610de27f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a685611e7a565b610e12565b610e117f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a685611f5c565b5b82600a60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600b60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055507f2635d80d932054952f879fbf289beb135b3abfebd91ee92b04eef1e8347d7506848484604051610ecd93929190613a92565b60405180910390a150505050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16149050919050565b6000600560009054906101000a900460ff16905090565b6000801b610f59816118d5565b610f6233610edb565b15610fa2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f999061387f565b60405180910390fd5b610fac838361203d565b505050565b6000801b610fbe816118d5565b610fc733610edb565b15611007576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ffe9061387f565b60405180910390fd5b611012848484612210565b50505050565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000801b61106d816118d5565b61107633610edb565b156110b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110ad9061387f565b60405180910390fd5b6110c184848461242b565b50505050565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a6110f1816118d5565b6110fa33610edb565b1561113a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111319061387f565b60405180910390fd5b611142612668565b50565b600a6020528060005260406000206000915090505481565b60006006600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6060600480546111d79061374a565b80601f01602080910402602001604051908101604052809291908181526020018280546112039061374a565b80156112505780601f1061122557610100808354040283529160200191611250565b820191906000526020600020905b81548152906001019060200180831161123357829003601f168201915b5050505050905090565b6000801b81565b60008061126c61162a565b9050600061127a82866114f1565b9050838110156112bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112b690613b3b565b60405180910390fd5b6112cc8286868403611639565b60019250505092915050565b6000823073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611349576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611340906137ed565b60405180910390fd5b61135384846126cb565b91505092915050565b60096020528060005260406000206000915090505481565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b6113cb33610edb565b1561140b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114029061387f565b60405180910390fd5b61141582826126ee565b5050565b60086020528060005260406000206000915090505481565b7fd13bcd89f71b04cf9b2260eba6c11271c9e0b565689e660ecd136d2cdcd1d4d061145b816118d5565b61146433610edb565b156114a4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161149b9061387f565b60405180910390fd5b7f06dff7401eb7fb04d241246ade7f817c7ad512b1bed61c18aedd9bc51eec04756114cd611374565b836040516114dc929190613b5b565b60405180910390a16114ed8261270f565b5050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a81565b7f427da25fe773164f88948d3e215c94b6554e2ed5e5f203a821c9f2f6131cf75a81565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000611634612753565b905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036116a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161169f90613bf6565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611717576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161170e90613c88565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040516117f591906134c6565b60405180910390a3505050565b60008061180d61162a565b905061181a85828561278a565b611825858585612816565b60019150509392505050565b61183a826109b2565b611843816118d5565b61184d8383611f5c565b505050565b61185a61162a565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146118c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118be90613d1a565b60405180910390fd5b6118d18282611e7a565b5050565b6118e6816118e161162a565b612a8c565b50565b6118f1612b11565b6000600560006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa61193561162a565b6040516119429190613700565b60405180910390a1565b611954611c63565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a661197e816118d5565b61198733610edb565b156119c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119be9061387f565b60405180910390fd5b60008211611a0a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a01906139e0565b60405180910390fd5b6000611a1461162a565b9050600b60008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611aa091906138ce565b421115611b31576000600960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555042600860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b600a60008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205483600960008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611bbc91906138ce565b1115611bfd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bf490613dac565b60405180910390fd5b82600960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611c4c91906138ce565b92505081905550611c5d8484612b5a565b50505050565b611c6b610f35565b15611cab576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ca290613e18565b60405180910390fd5b565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611d1c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d1390613eaa565b60405180910390fd5b611d2882600083612cb0565b60008060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611dae576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611da590613f3c565b60405180910390fd5b8181036000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600260008282540392505081905550600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611e6191906134c6565b60405180910390a3611e7583600084612cb5565b505050565b611e84828261115d565b15611f585760006006600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611efd61162a565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b611f66828261115d565b6120395760016006600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611fde61162a565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b81600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036120ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120a490613fce565b60405180910390fd5b81600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361211d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161211490614060565b60405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016121589190613700565b602060405180830381865afa158015612175573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121999190614095565b9050600081116121de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121d590614134565b60405180910390fd5b61220984828773ffffffffffffffffffffffffffffffffffffffff16612cba9092919063ffffffff16565b5050505050565b82600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603612280576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161227790613fce565b60405180910390fd5b82600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036122f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122e790614060565b60405180910390fd5b60008573ffffffffffffffffffffffffffffffffffffffff1662fdd58e30866040518363ffffffff1660e01b815260040161232c929190614154565b602060405180830381865afa158015612349573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061236d9190614095565b9050600081116123b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123a990614134565b60405180910390fd5b8573ffffffffffffffffffffffffffffffffffffffff1663f242432a308787856040518563ffffffff1660e01b81526004016123f194939291906141b4565b600060405180830381600087803b15801561240b57600080fd5b505af115801561241f573d6000803e3d6000fd5b50505050505050505050565b82600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361249b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161249290613fce565b60405180910390fd5b82600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361250b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161250290614060565b60405180910390fd5b3073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16636352211e856040518263ffffffff1660e01b815260040161255b91906134c6565b602060405180830381865afa158015612578573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061259c9190614221565b73ffffffffffffffffffffffffffffffffffffffff16146125f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125e99061429a565b60405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff166342842e0e3086866040518463ffffffff1660e01b815260040161262f939291906142ba565b600060405180830381600087803b15801561264957600080fd5b505af115801561265d573d6000803e3d6000fd5b505050505050505050565b612670611c63565b6001600560006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586126b461162a565b6040516126c19190613700565b60405180910390a1565b6000806126d661162a565b90506126e3818585612816565b600191505092915050565b6126f7826109b2565b612700816118d5565b61270a8383611e7a565b505050565b80600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000601460003690501015801561276f575061276e33610edb565b5b1561278357601436033560601c9050612787565b3390505b90565b600061279684846114f1565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146128105781811015612802576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127f99061433d565b60405180910390fd5b61280f8484848403611639565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612885576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161287c906143cf565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036128f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128eb90614461565b60405180910390fd5b6128ff838383612cb0565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015612985576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161297c906144f3565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051612a7391906134c6565b60405180910390a3612a86848484612cb5565b50505050565b612a96828261115d565b612b0d57612aa381612d40565b612ab18360001c6020612d6d565b604051602001612ac29291906145e7565b6040516020818303038152906040526040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b0491906133c1565b60405180910390fd5b5050565b612b19610f35565b612b58576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b4f9061466d565b60405180910390fd5b565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612bc9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bc0906146d9565b60405180910390fd5b612bd560008383612cb0565b8060026000828254612be791906138ce565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051612c9891906134c6565b60405180910390a3612cac60008383612cb5565b5050565b505050565b505050565b612d3b8363a9059cbb60e01b8484604051602401612cd9929190614154565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050612fa9565b505050565b6060612d668273ffffffffffffffffffffffffffffffffffffffff16601460ff16612d6d565b9050919050565b606060006002836002612d8091906146f9565b612d8a91906138ce565b67ffffffffffffffff811115612da357612da261473b565b5b6040519080825280601f01601f191660200182016040528015612dd55781602001600182028036833780820191505090505b5090507f300000000000000000000000000000000000000000000000000000000000000081600081518110612e0d57612e0c61476a565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f780000000000000000000000000000000000000000000000000000000000000081600181518110612e7157612e7061476a565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060006001846002612eb191906146f9565b612ebb91906138ce565b90505b6001811115612f5b577f3031323334353637383961626364656600000000000000000000000000000000600f861660108110612efd57612efc61476a565b5b1a60f81b828281518110612f1457612f1361476a565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c945080612f5490614799565b9050612ebe565b5060008414612f9f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f969061480e565b60405180910390fd5b8091505092915050565b600061300b826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166130709092919063ffffffff16565b905060008151111561306b578080602001905181019061302b919061485a565b61306a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613061906148f9565b60405180910390fd5b5b505050565b606061307f8484600085613088565b90509392505050565b6060824710156130cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130c49061498b565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040516130f691906149f2565b60006040518083038185875af1925050503d8060008114613133576040519150601f19603f3d011682016040523d82523d6000602084013e613138565b606091505b509150915061314987838387613155565b92505050949350505050565b606083156131b75760008351036131af5761316f856131ca565b6131ae576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131a590614a55565b60405180910390fd5b5b8290506131c2565b6131c183836131ed565b5b949350505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6000825111156132005781518083602001fd5b806040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161323491906133c1565b60405180910390fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61327781613242565b811461328257600080fd5b50565b6000813590506132948161326e565b92915050565b6000602082840312156132b0576132af61323d565b5b60006132be84828501613285565b91505092915050565b60008115159050919050565b6132dc816132c7565b82525050565b60006020820190506132f760008301846132d3565b92915050565b6000819050919050565b613310816132fd565b82525050565b600060208201905061332b6000830184613307565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561336b578082015181840152602081019050613350565b60008484015250505050565b6000601f19601f8301169050919050565b600061339382613331565b61339d818561333c565b93506133ad81856020860161334d565b6133b681613377565b840191505092915050565b600060208201905081810360008301526133db8184613388565b905092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061340e826133e3565b9050919050565b61341e81613403565b811461342957600080fd5b50565b60008135905061343b81613415565b92915050565b6000819050919050565b61345481613441565b811461345f57600080fd5b50565b6000813590506134718161344b565b92915050565b6000806040838503121561348e5761348d61323d565b5b600061349c8582860161342c565b92505060206134ad85828601613462565b9150509250929050565b6134c081613441565b82525050565b60006020820190506134db60008301846134b7565b92915050565b6000806000606084860312156134fa576134f961323d565b5b60006135088682870161342c565b93505060206135198682870161342c565b925050604061352a86828701613462565b9150509250925092565b61353d816132fd565b811461354857600080fd5b50565b60008135905061355a81613534565b92915050565b6000602082840312156135765761357561323d565b5b60006135848482850161354b565b91505092915050565b600080604083850312156135a4576135a361323d565b5b60006135b28582860161354b565b92505060206135c38582860161342c565b9150509250929050565b600060ff82169050919050565b6135e3816135cd565b82525050565b60006020820190506135fe60008301846135da565b92915050565b60006020828403121561361a5761361961323d565b5b600061362884828501613462565b91505092915050565b6000602082840312156136475761364661323d565b5b60006136558482850161342c565b91505092915050565b6000806000606084860312156136775761367661323d565b5b60006136858682870161342c565b935050602061369686828701613462565b92505060406136a786828701613462565b9150509250925092565b600080604083850312156136c8576136c761323d565b5b60006136d68582860161342c565b92505060206136e78582860161342c565b9150509250929050565b6136fa81613403565b82525050565b600060208201905061371560008301846136f1565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061376257607f821691505b6020821081036137755761377461371b565b5b50919050565b7f42617365546f6b656e3a2043616e6e6f74207472616e7366657220746f20746860008201527f697320636f6e7472616374000000000000000000000000000000000000000000602082015250565b60006137d7602b8361333c565b91506137e28261377b565b604082019050919050565b60006020820190508181036000830152613806816137ca565b9050919050565b7f45495032373731526563697069656e743a206d657461207472616e736163746960008201527f6f6e206973206e6f7420616c6c6f776564000000000000000000000000000000602082015250565b600061386960318361333c565b91506138748261380d565b604082019050919050565b600060208201905081810360008301526138988161385c565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006138d982613441565b91506138e483613441565b92508282019050808211156138fc576138fb61389f565b5b92915050565b7f4d656c64546f6b656e3a204d617820737570706c792072656163686564000000600082015250565b6000613938601d8361333c565b915061394382613902565b602082019050919050565b600060208201905081810360008301526139678161392b565b9050919050565b7f42617365546f6b656e3a20416d6f756e74206d7573742062652067726561746560008201527f72207468616e2030000000000000000000000000000000000000000000000000602082015250565b60006139ca60288361333c565b91506139d58261396e565b604082019050919050565b600060208201905081810360008301526139f9816139bd565b9050919050565b7f42617365546f6b656e3a204163636f756e742063616e6e6f742062652074686560008201527f207a65726f206164647265737300000000000000000000000000000000000000602082015250565b6000613a5c602d8361333c565b9150613a6782613a00565b604082019050919050565b60006020820190508181036000830152613a8b81613a4f565b9050919050565b6000606082019050613aa760008301866136f1565b613ab460208301856134b7565b613ac160408301846134b7565b949350505050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b6000613b2560258361333c565b9150613b3082613ac9565b604082019050919050565b60006020820190508181036000830152613b5481613b18565b9050919050565b6000604082019050613b7060008301856136f1565b613b7d60208301846136f1565b9392505050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000613be060248361333c565b9150613beb82613b84565b604082019050919050565b60006020820190508181036000830152613c0f81613bd3565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b6000613c7260228361333c565b9150613c7d82613c16565b604082019050919050565b60006020820190508181036000830152613ca181613c65565b9050919050565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b6000613d04602f8361333c565b9150613d0f82613ca8565b604082019050919050565b60006020820190508181036000830152613d3381613cf7565b9050919050565b7f42617365546f6b656e3a204d696e74696e6720616d6f756e742065786365656460008201527f73207468726573686f6c64000000000000000000000000000000000000000000602082015250565b6000613d96602b8361333c565b9150613da182613d3a565b604082019050919050565b60006020820190508181036000830152613dc581613d89565b9050919050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b6000613e0260108361333c565b9150613e0d82613dcc565b602082019050919050565b60006020820190508181036000830152613e3181613df5565b9050919050565b7f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b6000613e9460218361333c565b9150613e9f82613e38565b604082019050919050565b60006020820190508181036000830152613ec381613e87565b9050919050565b7f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60008201527f6365000000000000000000000000000000000000000000000000000000000000602082015250565b6000613f2660228361333c565b9150613f3182613eca565b604082019050919050565b60006020820190508181036000830152613f5581613f19565b9050919050565b7f526573637565546f6b656e733a20546f6b656e20616464726573732063616e6e60008201527f6f74206265207a65726f00000000000000000000000000000000000000000000602082015250565b6000613fb8602a8361333c565b9150613fc382613f5c565b604082019050919050565b60006020820190508181036000830152613fe781613fab565b9050919050565b7f526573637565546f6b656e733a2044657374696e6174696f6e2061646472657360008201527f732063616e6e6f74206265207a65726f00000000000000000000000000000000602082015250565b600061404a60308361333c565b915061405582613fee565b604082019050919050565b600060208201905081810360008301526140798161403d565b9050919050565b60008151905061408f8161344b565b92915050565b6000602082840312156140ab576140aa61323d565b5b60006140b984828501614080565b91505092915050565b7f526573637565546f6b656e733a204e6f20746f6b656e7320746f20726573637560008201527f6500000000000000000000000000000000000000000000000000000000000000602082015250565b600061411e60218361333c565b9150614129826140c2565b604082019050919050565b6000602082019050818103600083015261414d81614111565b9050919050565b600060408201905061416960008301856136f1565b61417660208301846134b7565b9392505050565b600082825260208201905092915050565b50565b600061419e60008361417d565b91506141a98261418e565b600082019050919050565b600060a0820190506141c960008301876136f1565b6141d660208301866136f1565b6141e360408301856134b7565b6141f060608301846134b7565b818103608083015261420181614191565b905095945050505050565b60008151905061421b81613415565b92915050565b6000602082840312156142375761423661323d565b5b60006142458482850161420c565b91505092915050565b7f526573637565546f6b656e733a204e6f74206f776e6572000000000000000000600082015250565b600061428460178361333c565b915061428f8261424e565b602082019050919050565b600060208201905081810360008301526142b381614277565b9050919050565b60006060820190506142cf60008301866136f1565b6142dc60208301856136f1565b6142e960408301846134b7565b949350505050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000600082015250565b6000614327601d8361333c565b9150614332826142f1565b602082019050919050565b600060208201905081810360008301526143568161431a565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b60006143b960258361333c565b91506143c48261435d565b604082019050919050565b600060208201905081810360008301526143e8816143ac565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b600061444b60238361333c565b9150614456826143ef565b604082019050919050565b6000602082019050818103600083015261447a8161443e565b9050919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b60006144dd60268361333c565b91506144e882614481565b604082019050919050565b6000602082019050818103600083015261450c816144d0565b9050919050565b600081905092915050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b6000614554601783614513565b915061455f8261451e565b601782019050919050565b600061457582613331565b61457f8185614513565b935061458f81856020860161334d565b80840191505092915050565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b60006145d1601183614513565b91506145dc8261459b565b601182019050919050565b60006145f282614547565b91506145fe828561456a565b9150614609826145c4565b9150614615828461456a565b91508190509392505050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b600061465760148361333c565b915061466282614621565b602082019050919050565b600060208201905081810360008301526146868161464a565b9050919050565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b60006146c3601f8361333c565b91506146ce8261468d565b602082019050919050565b600060208201905081810360008301526146f2816146b6565b9050919050565b600061470482613441565b915061470f83613441565b925082820261471d81613441565b915082820484148315176147345761473361389f565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60006147a482613441565b9150600082036147b7576147b661389f565b5b600182039050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b60006147f860208361333c565b9150614803826147c2565b602082019050919050565b60006020820190508181036000830152614827816147eb565b9050919050565b614837816132c7565b811461484257600080fd5b50565b6000815190506148548161482e565b92915050565b6000602082840312156148705761486f61323d565b5b600061487e84828501614845565b91505092915050565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b60006148e3602a8361333c565b91506148ee82614887565b604082019050919050565b60006020820190508181036000830152614912816148d6565b9050919050565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b600061497560268361333c565b915061498082614919565b604082019050919050565b600060208201905081810360008301526149a481614968565b9050919050565b600081519050919050565b600081905092915050565b60006149cc826149ab565b6149d681856149b6565b93506149e681856020860161334d565b80840191505092915050565b60006149fe82846149c1565b915081905092915050565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b6000614a3f601d8361333c565b9150614a4a82614a09565b602082019050919050565b60006020820190508181036000830152614a6e81614a32565b905091905056fea2646970667358221220759c27cfc1c51bc8c4cac593ad641176c1a9facbc68699a52498eb09aebaefe264736f6c63430008130033000000000000000000000000dada7c9cf46b95e68800bced46b9aaf6867cda8b

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106102485760003560e01c80635d799f871161013b578063a9059cbb116100b8578063d965547b1161007c578063d965547b14610717578063da74222814610747578063dd62ed3e14610763578063e63ab1e914610793578063fb1bb9de146107b157610248565b8063a9059cbb1461065f578063c1faf0e01461068f578063ce1b815f146106bf578063d5391393146106dd578063d547741f146106fb57610248565b806384fc94d8116100ff57806384fc94d81461059357806391d14854146105c357806395d89b41146105f3578063a217fddf14610611578063a457c2d71461062f57610248565b80635d799f87146105055780636fdb18721461052157806370a082311461053d5780637df325e11461056d5780638456cb591461058957610248565b806332cb6b0c116101c957806342966c681161018d57806342966c681461044f578063562681091461046b578063570bc3931461049b578063572b6c05146104b75780635c975abb146104e757610248565b806332cb6b0c146103bf57806336568abe146103dd57806339509351146103f95780633f4ba83a1461042957806340c10f191461043357610248565b806323b872dd1161021057806323b872dd14610307578063248a9ca314610337578063282c51f3146103675780632f2ff15d14610385578063313ce567146103a157610248565b806301ffc9a71461024d578063068d1e891461027d57806306fdde031461029b578063095ea7b3146102b957806318160ddd146102e9575b600080fd5b6102676004803603810190610262919061329a565b6107cf565b60405161027491906132e2565b60405180910390f35b610285610849565b6040516102929190613316565b60405180910390f35b6102a361086d565b6040516102b091906133c1565b60405180910390f35b6102d360048036038101906102ce9190613477565b6108ff565b6040516102e091906132e2565b60405180910390f35b6102f1610922565b6040516102fe91906134c6565b60405180910390f35b610321600480360381019061031c91906134e1565b61092c565b60405161032e91906132e2565b60405180910390f35b610351600480360381019061034c9190613560565b6109b2565b60405161035e9190613316565b60405180910390f35b61036f6109d2565b60405161037c9190613316565b60405180910390f35b61039f600480360381019061039a919061358d565b6109f6565b005b6103a9610a4d565b6040516103b691906135e9565b60405180910390f35b6103c7610a75565b6040516103d491906134c6565b60405180910390f35b6103f760048036038101906103f2919061358d565b610a85565b005b610413600480360381019061040e9190613477565b610adc565b60405161042091906132e2565b60405180910390f35b610431610b13565b005b61044d60048036038101906104489190613477565b610b91565b005b61046960048036038101906104649190613604565b610c00565b005b61048560048036038101906104809190613631565b610cd3565b60405161049291906134c6565b60405180910390f35b6104b560048036038101906104b0919061365e565b610ceb565b005b6104d160048036038101906104cc9190613631565b610edb565b6040516104de91906132e2565b60405180910390f35b6104ef610f35565b6040516104fc91906132e2565b60405180910390f35b61051f600480360381019061051a91906136b1565b610f4c565b005b61053b600480360381019061053691906134e1565b610fb1565b005b61055760048036038101906105529190613631565b611018565b60405161056491906134c6565b60405180910390f35b610587600480360381019061058291906134e1565b611060565b005b6105916110c7565b005b6105ad60048036038101906105a89190613631565b611145565b6040516105ba91906134c6565b60405180910390f35b6105dd60048036038101906105d8919061358d565b61115d565b6040516105ea91906132e2565b60405180910390f35b6105fb6111c8565b60405161060891906133c1565b60405180910390f35b61061961125a565b6040516106269190613316565b60405180910390f35b61064960048036038101906106449190613477565b611261565b60405161065691906132e2565b60405180910390f35b61067960048036038101906106749190613477565b6112d8565b60405161068691906132e2565b60405180910390f35b6106a960048036038101906106a49190613631565b61135c565b6040516106b691906134c6565b60405180910390f35b6106c7611374565b6040516106d49190613700565b60405180910390f35b6106e561139e565b6040516106f29190613316565b60405180910390f35b6107156004803603810190610710919061358d565b6113c2565b005b610731600480360381019061072c9190613631565b611419565b60405161073e91906134c6565b60405180910390f35b610761600480360381019061075c9190613631565b611431565b005b61077d600480360381019061077891906136b1565b6114f1565b60405161078a91906134c6565b60405180910390f35b61079b611578565b6040516107a89190613316565b60405180910390f35b6107b961159c565b6040516107c69190613316565b60405180910390f35b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806108425750610841826115c0565b5b9050919050565b7fd13bcd89f71b04cf9b2260eba6c11271c9e0b565689e660ecd136d2cdcd1d4d081565b60606003805461087c9061374a565b80601f01602080910402602001604051908101604052809291908181526020018280546108a89061374a565b80156108f55780601f106108ca576101008083540402835291602001916108f5565b820191906000526020600020905b8154815290600101906020018083116108d857829003601f168201915b5050505050905090565b60008061090a61162a565b9050610917818585611639565b600191505092915050565b6000600254905090565b6000823073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361099d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610994906137ed565b60405180910390fd5b6109a8858585611802565b9150509392505050565b600060066000838152602001908152602001600020600101549050919050565b7f3c11d16cbaffd01df69ce1c404f6340ee057498f5f00246190ea54220576a84881565b6109ff33610edb565b15610a3f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a369061387f565b60405180910390fd5b610a498282611831565b5050565b60007f0000000000000000000000000000000000000000000000000000000000000012905090565b6b0cecb8f27f4200f3a000000081565b610a8e33610edb565b15610ace576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ac59061387f565b60405180910390fd5b610ad88282611852565b5050565b600080610ae761162a565b9050610b08818585610af985896114f1565b610b0391906138ce565b611639565b600191505092915050565b7f427da25fe773164f88948d3e215c94b6554e2ed5e5f203a821c9f2f6131cf75a610b3d816118d5565b610b4633610edb565b15610b86576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b7d9061387f565b60405180910390fd5b610b8e6118e9565b50565b6b0cecb8f27f4200f3a000000081610ba7610922565b610bb191906138ce565b1115610bf2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610be99061394e565b60405180910390fd5b610bfc828261194c565b5050565b610c08611c63565b7f3c11d16cbaffd01df69ce1c404f6340ee057498f5f00246190ea54220576a848610c32816118d5565b610c3b33610edb565b15610c7b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c729061387f565b60405180910390fd5b60008211610cbe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cb5906139e0565b60405180910390fd5b610ccf610cc961162a565b83611cad565b5050565b600b6020528060005260406000206000915090505481565b6000801b610cf8816118d5565b610d0133610edb565b15610d41576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d389061387f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603610db0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610da790613a72565b60405180910390fd5b60008303610de757610de27f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a685611e7a565b610e12565b610e117f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a685611f5c565b5b82600a60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600b60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055507f2635d80d932054952f879fbf289beb135b3abfebd91ee92b04eef1e8347d7506848484604051610ecd93929190613a92565b60405180910390a150505050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16149050919050565b6000600560009054906101000a900460ff16905090565b6000801b610f59816118d5565b610f6233610edb565b15610fa2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f999061387f565b60405180910390fd5b610fac838361203d565b505050565b6000801b610fbe816118d5565b610fc733610edb565b15611007576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ffe9061387f565b60405180910390fd5b611012848484612210565b50505050565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000801b61106d816118d5565b61107633610edb565b156110b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110ad9061387f565b60405180910390fd5b6110c184848461242b565b50505050565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a6110f1816118d5565b6110fa33610edb565b1561113a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111319061387f565b60405180910390fd5b611142612668565b50565b600a6020528060005260406000206000915090505481565b60006006600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6060600480546111d79061374a565b80601f01602080910402602001604051908101604052809291908181526020018280546112039061374a565b80156112505780601f1061122557610100808354040283529160200191611250565b820191906000526020600020905b81548152906001019060200180831161123357829003601f168201915b5050505050905090565b6000801b81565b60008061126c61162a565b9050600061127a82866114f1565b9050838110156112bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112b690613b3b565b60405180910390fd5b6112cc8286868403611639565b60019250505092915050565b6000823073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611349576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611340906137ed565b60405180910390fd5b61135384846126cb565b91505092915050565b60096020528060005260406000206000915090505481565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b6113cb33610edb565b1561140b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114029061387f565b60405180910390fd5b61141582826126ee565b5050565b60086020528060005260406000206000915090505481565b7fd13bcd89f71b04cf9b2260eba6c11271c9e0b565689e660ecd136d2cdcd1d4d061145b816118d5565b61146433610edb565b156114a4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161149b9061387f565b60405180910390fd5b7f06dff7401eb7fb04d241246ade7f817c7ad512b1bed61c18aedd9bc51eec04756114cd611374565b836040516114dc929190613b5b565b60405180910390a16114ed8261270f565b5050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a81565b7f427da25fe773164f88948d3e215c94b6554e2ed5e5f203a821c9f2f6131cf75a81565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000611634612753565b905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036116a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161169f90613bf6565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611717576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161170e90613c88565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040516117f591906134c6565b60405180910390a3505050565b60008061180d61162a565b905061181a85828561278a565b611825858585612816565b60019150509392505050565b61183a826109b2565b611843816118d5565b61184d8383611f5c565b505050565b61185a61162a565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146118c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118be90613d1a565b60405180910390fd5b6118d18282611e7a565b5050565b6118e6816118e161162a565b612a8c565b50565b6118f1612b11565b6000600560006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa61193561162a565b6040516119429190613700565b60405180910390a1565b611954611c63565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a661197e816118d5565b61198733610edb565b156119c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119be9061387f565b60405180910390fd5b60008211611a0a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a01906139e0565b60405180910390fd5b6000611a1461162a565b9050600b60008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611aa091906138ce565b421115611b31576000600960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555042600860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b600a60008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205483600960008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611bbc91906138ce565b1115611bfd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bf490613dac565b60405180910390fd5b82600960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611c4c91906138ce565b92505081905550611c5d8484612b5a565b50505050565b611c6b610f35565b15611cab576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ca290613e18565b60405180910390fd5b565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611d1c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d1390613eaa565b60405180910390fd5b611d2882600083612cb0565b60008060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611dae576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611da590613f3c565b60405180910390fd5b8181036000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600260008282540392505081905550600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611e6191906134c6565b60405180910390a3611e7583600084612cb5565b505050565b611e84828261115d565b15611f585760006006600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611efd61162a565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b611f66828261115d565b6120395760016006600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611fde61162a565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b81600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036120ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120a490613fce565b60405180910390fd5b81600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361211d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161211490614060565b60405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016121589190613700565b602060405180830381865afa158015612175573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121999190614095565b9050600081116121de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121d590614134565b60405180910390fd5b61220984828773ffffffffffffffffffffffffffffffffffffffff16612cba9092919063ffffffff16565b5050505050565b82600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603612280576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161227790613fce565b60405180910390fd5b82600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036122f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122e790614060565b60405180910390fd5b60008573ffffffffffffffffffffffffffffffffffffffff1662fdd58e30866040518363ffffffff1660e01b815260040161232c929190614154565b602060405180830381865afa158015612349573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061236d9190614095565b9050600081116123b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123a990614134565b60405180910390fd5b8573ffffffffffffffffffffffffffffffffffffffff1663f242432a308787856040518563ffffffff1660e01b81526004016123f194939291906141b4565b600060405180830381600087803b15801561240b57600080fd5b505af115801561241f573d6000803e3d6000fd5b50505050505050505050565b82600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361249b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161249290613fce565b60405180910390fd5b82600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361250b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161250290614060565b60405180910390fd5b3073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16636352211e856040518263ffffffff1660e01b815260040161255b91906134c6565b602060405180830381865afa158015612578573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061259c9190614221565b73ffffffffffffffffffffffffffffffffffffffff16146125f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125e99061429a565b60405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff166342842e0e3086866040518463ffffffff1660e01b815260040161262f939291906142ba565b600060405180830381600087803b15801561264957600080fd5b505af115801561265d573d6000803e3d6000fd5b505050505050505050565b612670611c63565b6001600560006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586126b461162a565b6040516126c19190613700565b60405180910390a1565b6000806126d661162a565b90506126e3818585612816565b600191505092915050565b6126f7826109b2565b612700816118d5565b61270a8383611e7a565b505050565b80600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000601460003690501015801561276f575061276e33610edb565b5b1561278357601436033560601c9050612787565b3390505b90565b600061279684846114f1565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146128105781811015612802576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127f99061433d565b60405180910390fd5b61280f8484848403611639565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612885576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161287c906143cf565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036128f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128eb90614461565b60405180910390fd5b6128ff838383612cb0565b60008060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015612985576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161297c906144f3565b60405180910390fd5b8181036000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051612a7391906134c6565b60405180910390a3612a86848484612cb5565b50505050565b612a96828261115d565b612b0d57612aa381612d40565b612ab18360001c6020612d6d565b604051602001612ac29291906145e7565b6040516020818303038152906040526040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b0491906133c1565b60405180910390fd5b5050565b612b19610f35565b612b58576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b4f9061466d565b60405180910390fd5b565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612bc9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bc0906146d9565b60405180910390fd5b612bd560008383612cb0565b8060026000828254612be791906138ce565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051612c9891906134c6565b60405180910390a3612cac60008383612cb5565b5050565b505050565b505050565b612d3b8363a9059cbb60e01b8484604051602401612cd9929190614154565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050612fa9565b505050565b6060612d668273ffffffffffffffffffffffffffffffffffffffff16601460ff16612d6d565b9050919050565b606060006002836002612d8091906146f9565b612d8a91906138ce565b67ffffffffffffffff811115612da357612da261473b565b5b6040519080825280601f01601f191660200182016040528015612dd55781602001600182028036833780820191505090505b5090507f300000000000000000000000000000000000000000000000000000000000000081600081518110612e0d57612e0c61476a565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f780000000000000000000000000000000000000000000000000000000000000081600181518110612e7157612e7061476a565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060006001846002612eb191906146f9565b612ebb91906138ce565b90505b6001811115612f5b577f3031323334353637383961626364656600000000000000000000000000000000600f861660108110612efd57612efc61476a565b5b1a60f81b828281518110612f1457612f1361476a565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c945080612f5490614799565b9050612ebe565b5060008414612f9f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f969061480e565b60405180910390fd5b8091505092915050565b600061300b826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166130709092919063ffffffff16565b905060008151111561306b578080602001905181019061302b919061485a565b61306a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613061906148f9565b60405180910390fd5b5b505050565b606061307f8484600085613088565b90509392505050565b6060824710156130cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130c49061498b565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040516130f691906149f2565b60006040518083038185875af1925050503d8060008114613133576040519150601f19603f3d011682016040523d82523d6000602084013e613138565b606091505b509150915061314987838387613155565b92505050949350505050565b606083156131b75760008351036131af5761316f856131ca565b6131ae576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131a590614a55565b60405180910390fd5b5b8290506131c2565b6131c183836131ed565b5b949350505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6000825111156132005781518083602001fd5b806040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161323491906133c1565b60405180910390fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61327781613242565b811461328257600080fd5b50565b6000813590506132948161326e565b92915050565b6000602082840312156132b0576132af61323d565b5b60006132be84828501613285565b91505092915050565b60008115159050919050565b6132dc816132c7565b82525050565b60006020820190506132f760008301846132d3565b92915050565b6000819050919050565b613310816132fd565b82525050565b600060208201905061332b6000830184613307565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561336b578082015181840152602081019050613350565b60008484015250505050565b6000601f19601f8301169050919050565b600061339382613331565b61339d818561333c565b93506133ad81856020860161334d565b6133b681613377565b840191505092915050565b600060208201905081810360008301526133db8184613388565b905092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061340e826133e3565b9050919050565b61341e81613403565b811461342957600080fd5b50565b60008135905061343b81613415565b92915050565b6000819050919050565b61345481613441565b811461345f57600080fd5b50565b6000813590506134718161344b565b92915050565b6000806040838503121561348e5761348d61323d565b5b600061349c8582860161342c565b92505060206134ad85828601613462565b9150509250929050565b6134c081613441565b82525050565b60006020820190506134db60008301846134b7565b92915050565b6000806000606084860312156134fa576134f961323d565b5b60006135088682870161342c565b93505060206135198682870161342c565b925050604061352a86828701613462565b9150509250925092565b61353d816132fd565b811461354857600080fd5b50565b60008135905061355a81613534565b92915050565b6000602082840312156135765761357561323d565b5b60006135848482850161354b565b91505092915050565b600080604083850312156135a4576135a361323d565b5b60006135b28582860161354b565b92505060206135c38582860161342c565b9150509250929050565b600060ff82169050919050565b6135e3816135cd565b82525050565b60006020820190506135fe60008301846135da565b92915050565b60006020828403121561361a5761361961323d565b5b600061362884828501613462565b91505092915050565b6000602082840312156136475761364661323d565b5b60006136558482850161342c565b91505092915050565b6000806000606084860312156136775761367661323d565b5b60006136858682870161342c565b935050602061369686828701613462565b92505060406136a786828701613462565b9150509250925092565b600080604083850312156136c8576136c761323d565b5b60006136d68582860161342c565b92505060206136e78582860161342c565b9150509250929050565b6136fa81613403565b82525050565b600060208201905061371560008301846136f1565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061376257607f821691505b6020821081036137755761377461371b565b5b50919050565b7f42617365546f6b656e3a2043616e6e6f74207472616e7366657220746f20746860008201527f697320636f6e7472616374000000000000000000000000000000000000000000602082015250565b60006137d7602b8361333c565b91506137e28261377b565b604082019050919050565b60006020820190508181036000830152613806816137ca565b9050919050565b7f45495032373731526563697069656e743a206d657461207472616e736163746960008201527f6f6e206973206e6f7420616c6c6f776564000000000000000000000000000000602082015250565b600061386960318361333c565b91506138748261380d565b604082019050919050565b600060208201905081810360008301526138988161385c565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006138d982613441565b91506138e483613441565b92508282019050808211156138fc576138fb61389f565b5b92915050565b7f4d656c64546f6b656e3a204d617820737570706c792072656163686564000000600082015250565b6000613938601d8361333c565b915061394382613902565b602082019050919050565b600060208201905081810360008301526139678161392b565b9050919050565b7f42617365546f6b656e3a20416d6f756e74206d7573742062652067726561746560008201527f72207468616e2030000000000000000000000000000000000000000000000000602082015250565b60006139ca60288361333c565b91506139d58261396e565b604082019050919050565b600060208201905081810360008301526139f9816139bd565b9050919050565b7f42617365546f6b656e3a204163636f756e742063616e6e6f742062652074686560008201527f207a65726f206164647265737300000000000000000000000000000000000000602082015250565b6000613a5c602d8361333c565b9150613a6782613a00565b604082019050919050565b60006020820190508181036000830152613a8b81613a4f565b9050919050565b6000606082019050613aa760008301866136f1565b613ab460208301856134b7565b613ac160408301846134b7565b949350505050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b6000613b2560258361333c565b9150613b3082613ac9565b604082019050919050565b60006020820190508181036000830152613b5481613b18565b9050919050565b6000604082019050613b7060008301856136f1565b613b7d60208301846136f1565b9392505050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000613be060248361333c565b9150613beb82613b84565b604082019050919050565b60006020820190508181036000830152613c0f81613bd3565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b6000613c7260228361333c565b9150613c7d82613c16565b604082019050919050565b60006020820190508181036000830152613ca181613c65565b9050919050565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b6000613d04602f8361333c565b9150613d0f82613ca8565b604082019050919050565b60006020820190508181036000830152613d3381613cf7565b9050919050565b7f42617365546f6b656e3a204d696e74696e6720616d6f756e742065786365656460008201527f73207468726573686f6c64000000000000000000000000000000000000000000602082015250565b6000613d96602b8361333c565b9150613da182613d3a565b604082019050919050565b60006020820190508181036000830152613dc581613d89565b9050919050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b6000613e0260108361333c565b9150613e0d82613dcc565b602082019050919050565b60006020820190508181036000830152613e3181613df5565b9050919050565b7f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b6000613e9460218361333c565b9150613e9f82613e38565b604082019050919050565b60006020820190508181036000830152613ec381613e87565b9050919050565b7f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60008201527f6365000000000000000000000000000000000000000000000000000000000000602082015250565b6000613f2660228361333c565b9150613f3182613eca565b604082019050919050565b60006020820190508181036000830152613f5581613f19565b9050919050565b7f526573637565546f6b656e733a20546f6b656e20616464726573732063616e6e60008201527f6f74206265207a65726f00000000000000000000000000000000000000000000602082015250565b6000613fb8602a8361333c565b9150613fc382613f5c565b604082019050919050565b60006020820190508181036000830152613fe781613fab565b9050919050565b7f526573637565546f6b656e733a2044657374696e6174696f6e2061646472657360008201527f732063616e6e6f74206265207a65726f00000000000000000000000000000000602082015250565b600061404a60308361333c565b915061405582613fee565b604082019050919050565b600060208201905081810360008301526140798161403d565b9050919050565b60008151905061408f8161344b565b92915050565b6000602082840312156140ab576140aa61323d565b5b60006140b984828501614080565b91505092915050565b7f526573637565546f6b656e733a204e6f20746f6b656e7320746f20726573637560008201527f6500000000000000000000000000000000000000000000000000000000000000602082015250565b600061411e60218361333c565b9150614129826140c2565b604082019050919050565b6000602082019050818103600083015261414d81614111565b9050919050565b600060408201905061416960008301856136f1565b61417660208301846134b7565b9392505050565b600082825260208201905092915050565b50565b600061419e60008361417d565b91506141a98261418e565b600082019050919050565b600060a0820190506141c960008301876136f1565b6141d660208301866136f1565b6141e360408301856134b7565b6141f060608301846134b7565b818103608083015261420181614191565b905095945050505050565b60008151905061421b81613415565b92915050565b6000602082840312156142375761423661323d565b5b60006142458482850161420c565b91505092915050565b7f526573637565546f6b656e733a204e6f74206f776e6572000000000000000000600082015250565b600061428460178361333c565b915061428f8261424e565b602082019050919050565b600060208201905081810360008301526142b381614277565b9050919050565b60006060820190506142cf60008301866136f1565b6142dc60208301856136f1565b6142e960408301846134b7565b949350505050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000600082015250565b6000614327601d8361333c565b9150614332826142f1565b602082019050919050565b600060208201905081810360008301526143568161431a565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b60006143b960258361333c565b91506143c48261435d565b604082019050919050565b600060208201905081810360008301526143e8816143ac565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b600061444b60238361333c565b9150614456826143ef565b604082019050919050565b6000602082019050818103600083015261447a8161443e565b9050919050565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b60006144dd60268361333c565b91506144e882614481565b604082019050919050565b6000602082019050818103600083015261450c816144d0565b9050919050565b600081905092915050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b6000614554601783614513565b915061455f8261451e565b601782019050919050565b600061457582613331565b61457f8185614513565b935061458f81856020860161334d565b80840191505092915050565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b60006145d1601183614513565b91506145dc8261459b565b601182019050919050565b60006145f282614547565b91506145fe828561456a565b9150614609826145c4565b9150614615828461456a565b91508190509392505050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b600061465760148361333c565b915061466282614621565b602082019050919050565b600060208201905081810360008301526146868161464a565b9050919050565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b60006146c3601f8361333c565b91506146ce8261468d565b602082019050919050565b600060208201905081810360008301526146f2816146b6565b9050919050565b600061470482613441565b915061470f83613441565b925082820261471d81613441565b915082820484148315176147345761473361389f565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60006147a482613441565b9150600082036147b7576147b661389f565b5b600182039050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b60006147f860208361333c565b9150614803826147c2565b602082019050919050565b60006020820190508181036000830152614827816147eb565b9050919050565b614837816132c7565b811461484257600080fd5b50565b6000815190506148548161482e565b92915050565b6000602082840312156148705761486f61323d565b5b600061487e84828501614845565b91505092915050565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b60006148e3602a8361333c565b91506148ee82614887565b604082019050919050565b60006020820190508181036000830152614912816148d6565b9050919050565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b600061497560268361333c565b915061498082614919565b604082019050919050565b600060208201905081810360008301526149a481614968565b9050919050565b600081519050919050565b600081905092915050565b60006149cc826149ab565b6149d681856149b6565b93506149e681856020860161334d565b80840191505092915050565b60006149fe82846149c1565b915081905092915050565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b6000614a3f601d8361333c565b9150614a4a82614a09565b602082019050919050565b60006020820190508181036000830152614a6e81614a32565b905091905056fea2646970667358221220759c27cfc1c51bc8c4cac593ad641176c1a9facbc68699a52498eb09aebaefe264736f6c63430008130033

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

000000000000000000000000dada7c9cf46b95e68800bced46b9aaf6867cda8b

-----Decoded View---------------
Arg [0] : _defaultAdmin (address): 0xdada7C9cF46b95E68800Bced46b9AAF6867cDa8B

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


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.