ETH Price: $3,315.19 (+1.12%)
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

More Info

Private Name Tags

Multichain Info

No addresses found
Age:24H
Reset Filter

Transaction Hash
Method
Block
From
To

There are no matching entries

Update your filters to view other transactions

Age:24H
Reset Filter

Advanced mode:
Parent Transaction Hash Method Block
From
To

There are no matching entries

Update your filters to view other transactions

View All Internal Transactions
Loading...
Loading
Cross-Chain Transactions

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
SToken

Compiler Version
v0.8.24+commit.e11b9ed9

Optimization Enabled:
No with 200 runs

Other Settings:
paris EvmVersion
// SPDX-License-Identifier: GPL-2.0
pragma solidity ^0.8.20;

import {IERC20} from "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import {ERC20Upgradeable} from "@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.sol";
import {SafeERC20} from "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import {IERC721} from "@openzeppelin/contracts/token/ERC721/IERC721.sol";

import {Common} from "../libs/Common.sol";
import {Constants} from "../libs/Constants.sol";
import {IBlackList} from "../administrator/interface/IBlackList.sol";
import {MPC} from "./MPC.sol";
import {IMinter} from "./interface/IMinter.sol";
import {ISToken} from "./interface/ISToken.sol";
import {IReceipt} from "./interface/IReceipt.sol";


contract SToken is MPC, ERC20Upgradeable, ISToken, IMinter {
    uint256 public coolingPeriod;
    address public withdrawReceipt;

    uint256[30] __gap;

    using SafeERC20 for IERC20;

    function init(
        address _administrator
    ) public initializer {
        __ERC20_init("YieldFi Stable Token", "sUSD");
        __MPC_init(_administrator);
    }

    function setCoolingPeriod(uint256 period) external onlyAdmin {
        require(period >= Constants.MIN_COOLDOWN_PERIOD && period <= Constants.MAX_COOLDOWN_PERIOD, "!period");
        coolingPeriod = period;
    }

    function setWithdrawReceipt(address _withdrawReceipt) external onlyAdmin {
        require(Common.isContract(_withdrawReceipt), "!valid");
        withdrawReceipt = _withdrawReceipt;
    }

    function mint(address account, uint256 value) external onlyMinterAndRedeemer notPaused {
        _mint(account, value);
        emit Mint(msg.sender, account, value);
    }

    function burn(address account, uint256 value) external onlyMinterAndRedeemer notPaused {
        _burn(account, value);
        emit Burn(msg.sender, account, value);
    }

    function _validate(address sender, address receiver, uint256 amount) internal view {
        require(sender != address(0) && receiver != address(0), "!valid");
        require(amount > 0, "!amount");
        require(!IBlackList(administrator).isBlackListed(sender) && !IBlackList(administrator).isBlackListed(receiver), "blacklisted");
    }

    function deposit(
        uint256 amount,
        address receiver
    ) public nonReentrant notPaused  returns(uint256 sAmount) {
        _validate(msg.sender, receiver, amount);
        require(IERC20(usdt).balanceOf(msg.sender) >= amount, "!amount");

        IERC20(usdt).safeTransferFrom(msg.sender, address(this), amount);
        sAmount = (amount * Constants.PINT) / (10 ** decimalsOfAsset);
        _mint(receiver, sAmount);

        emit Deposit(msg.sender, usdt, amount, receiver, sAmount);
    }

    function withdrawRequest(
        uint256 sAmount,
        address receiver,
        address owner
    ) public nonReentrant notPaused  {
        _validate(owner, receiver, sAmount);
        require(!IBlackList(administrator).isBlackListed(msg.sender), "blacklisted");

        require(balanceOf(owner) >= sAmount, "!amount");

        if (msg.sender != owner) {
            _spendAllowance(owner, msg.sender, sAmount);
        }

        _burn(owner, sAmount);
        uint256 amount = (sAmount * (10 ** decimalsOfAsset)) / Constants.PINT;
        IReceipt(withdrawReceipt).mint(receiver, amount, coolingPeriod);

        emit WithdrawRequest(msg.sender, receiver, owner, sAmount, amount);
    }

    // only supports full claim
    function claim(
        uint256 receiptId,
        address receiver
    ) public nonReentrant notPaused  {
        _validate(msg.sender, receiver, receiptId);

        // check ownership of receipt
        require(IERC721(withdrawReceipt).ownerOf(receiptId) == msg.sender, "!owner");
        (uint256 eligibleAt, uint256 amount) = IReceipt(withdrawReceipt).readReceipt(receiptId);
        require(block.timestamp > eligibleAt, "!cooling");
        require(amount > 0 && IERC20(usdt).balanceOf(address(this)) >= amount, "!balance");

        IReceipt(withdrawReceipt).burn(receiptId);
        IERC20(usdt).safeTransfer(receiver, amount);

        emit Claim(msg.sender, receiver, amount);
    }

    // Hook that is called before any transfer of tokens. This includes minting and burning. Disables transfers from or to blacklisted addresses.
    function _update(address from, address to, uint256 value) internal virtual override {
        require(!IBlackList(administrator).isBlackListed(from) && !IBlackList(administrator).isBlackListed(to), "blacklisted");
        super._update(from, to, value);
    }
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (proxy/utils/Initializable.sol)

pragma solidity ^0.8.20;

/**
 * @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed
 * behind a proxy. Since proxied contracts do not make use of a constructor, it's common to move constructor logic to an
 * external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer
 * function so it can only be called once. The {initializer} modifier provided by this contract will have this effect.
 *
 * The initialization functions use a version number. Once a version number is used, it is consumed and cannot be
 * reused. This mechanism prevents re-execution of each "step" but allows the creation of new initialization steps in
 * case an upgrade adds a module that needs to be initialized.
 *
 * For example:
 *
 * [.hljs-theme-light.nopadding]
 * ```solidity
 * contract MyToken is ERC20Upgradeable {
 *     function initialize() initializer public {
 *         __ERC20_init("MyToken", "MTK");
 *     }
 * }
 *
 * contract MyTokenV2 is MyToken, ERC20PermitUpgradeable {
 *     function initializeV2() reinitializer(2) public {
 *         __ERC20Permit_init("MyToken");
 *     }
 * }
 * ```
 *
 * TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as
 * possible by providing the encoded function call as the `_data` argument to {ERC1967Proxy-constructor}.
 *
 * CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure
 * that all initializers are idempotent. This is not verified automatically as constructors are by Solidity.
 *
 * [CAUTION]
 * ====
 * Avoid leaving a contract uninitialized.
 *
 * An uninitialized contract can be taken over by an attacker. This applies to both a proxy and its implementation
 * contract, which may impact the proxy. To prevent the implementation contract from being used, you should invoke
 * the {_disableInitializers} function in the constructor to automatically lock it when it is deployed:
 *
 * [.hljs-theme-light.nopadding]
 * ```
 * /// @custom:oz-upgrades-unsafe-allow constructor
 * constructor() {
 *     _disableInitializers();
 * }
 * ```
 * ====
 */
abstract contract Initializable {
    /**
     * @dev Storage of the initializable contract.
     *
     * It's implemented on a custom ERC-7201 namespace to reduce the risk of storage collisions
     * when using with upgradeable contracts.
     *
     * @custom:storage-location erc7201:openzeppelin.storage.Initializable
     */
    struct InitializableStorage {
        /**
         * @dev Indicates that the contract has been initialized.
         */
        uint64 _initialized;
        /**
         * @dev Indicates that the contract is in the process of being initialized.
         */
        bool _initializing;
    }

    // keccak256(abi.encode(uint256(keccak256("openzeppelin.storage.Initializable")) - 1)) & ~bytes32(uint256(0xff))
    bytes32 private constant INITIALIZABLE_STORAGE = 0xf0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00;

    /**
     * @dev The contract is already initialized.
     */
    error InvalidInitialization();

    /**
     * @dev The contract is not initializing.
     */
    error NotInitializing();

    /**
     * @dev Triggered when the contract has been initialized or reinitialized.
     */
    event Initialized(uint64 version);

    /**
     * @dev A modifier that defines a protected initializer function that can be invoked at most once. In its scope,
     * `onlyInitializing` functions can be used to initialize parent contracts.
     *
     * Similar to `reinitializer(1)`, except that in the context of a constructor an `initializer` may be invoked any
     * number of times. This behavior in the constructor can be useful during testing and is not expected to be used in
     * production.
     *
     * Emits an {Initialized} event.
     */
    modifier initializer() {
        // solhint-disable-next-line var-name-mixedcase
        InitializableStorage storage $ = _getInitializableStorage();

        // Cache values to avoid duplicated sloads
        bool isTopLevelCall = !$._initializing;
        uint64 initialized = $._initialized;

        // Allowed calls:
        // - initialSetup: the contract is not in the initializing state and no previous version was
        //                 initialized
        // - construction: the contract is initialized at version 1 (no reininitialization) and the
        //                 current contract is just being deployed
        bool initialSetup = initialized == 0 && isTopLevelCall;
        bool construction = initialized == 1 && address(this).code.length == 0;

        if (!initialSetup && !construction) {
            revert InvalidInitialization();
        }
        $._initialized = 1;
        if (isTopLevelCall) {
            $._initializing = true;
        }
        _;
        if (isTopLevelCall) {
            $._initializing = false;
            emit Initialized(1);
        }
    }

    /**
     * @dev A modifier that defines a protected reinitializer function that can be invoked at most once, and only if the
     * contract hasn't been initialized to a greater version before. In its scope, `onlyInitializing` functions can be
     * used to initialize parent contracts.
     *
     * A reinitializer may be used after the original initialization step. This is essential to configure modules that
     * are added through upgrades and that require initialization.
     *
     * When `version` is 1, this modifier is similar to `initializer`, except that functions marked with `reinitializer`
     * cannot be nested. If one is invoked in the context of another, execution will revert.
     *
     * Note that versions can jump in increments greater than 1; this implies that if multiple reinitializers coexist in
     * a contract, executing them in the right order is up to the developer or operator.
     *
     * WARNING: Setting the version to 2**64 - 1 will prevent any future reinitialization.
     *
     * Emits an {Initialized} event.
     */
    modifier reinitializer(uint64 version) {
        // solhint-disable-next-line var-name-mixedcase
        InitializableStorage storage $ = _getInitializableStorage();

        if ($._initializing || $._initialized >= version) {
            revert InvalidInitialization();
        }
        $._initialized = version;
        $._initializing = true;
        _;
        $._initializing = false;
        emit Initialized(version);
    }

    /**
     * @dev Modifier to protect an initialization function so that it can only be invoked by functions with the
     * {initializer} and {reinitializer} modifiers, directly or indirectly.
     */
    modifier onlyInitializing() {
        _checkInitializing();
        _;
    }

    /**
     * @dev Reverts if the contract is not in an initializing state. See {onlyInitializing}.
     */
    function _checkInitializing() internal view virtual {
        if (!_isInitializing()) {
            revert NotInitializing();
        }
    }

    /**
     * @dev Locks the contract, preventing any future reinitialization. This cannot be part of an initializer call.
     * Calling this in the constructor of a contract will prevent that contract from being initialized or reinitialized
     * to any version. It is recommended to use this to lock implementation contracts that are designed to be called
     * through proxies.
     *
     * Emits an {Initialized} event the first time it is successfully executed.
     */
    function _disableInitializers() internal virtual {
        // solhint-disable-next-line var-name-mixedcase
        InitializableStorage storage $ = _getInitializableStorage();

        if ($._initializing) {
            revert InvalidInitialization();
        }
        if ($._initialized != type(uint64).max) {
            $._initialized = type(uint64).max;
            emit Initialized(type(uint64).max);
        }
    }

    /**
     * @dev Returns the highest version that has been initialized. See {reinitializer}.
     */
    function _getInitializedVersion() internal view returns (uint64) {
        return _getInitializableStorage()._initialized;
    }

    /**
     * @dev Returns `true` if the contract is currently initializing. See {onlyInitializing}.
     */
    function _isInitializing() internal view returns (bool) {
        return _getInitializableStorage()._initializing;
    }

    /**
     * @dev Returns a pointer to the storage namespace.
     */
    // solhint-disable-next-line var-name-mixedcase
    function _getInitializableStorage() private pure returns (InitializableStorage storage $) {
        assembly {
            $.slot := INITIALIZABLE_STORAGE
        }
    }
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/ERC20.sol)

pragma solidity ^0.8.20;

import {IERC20} from "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import {IERC20Metadata} from "@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol";
import {ContextUpgradeable} from "../../utils/ContextUpgradeable.sol";
import {IERC20Errors} from "@openzeppelin/contracts/interfaces/draft-IERC6093.sol";
import {Initializable} from "../../proxy/utils/Initializable.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}.
 *
 * 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].
 *
 * The default value of {decimals} is 18. To change this, you should override
 * this function so it returns a different value.
 *
 * 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.
 */
abstract contract ERC20Upgradeable is Initializable, ContextUpgradeable, IERC20, IERC20Metadata, IERC20Errors {
    /// @custom:storage-location erc7201:openzeppelin.storage.ERC20
    struct ERC20Storage {
        mapping(address account => uint256) _balances;

        mapping(address account => mapping(address spender => uint256)) _allowances;

        uint256 _totalSupply;

        string _name;
        string _symbol;
    }

    // keccak256(abi.encode(uint256(keccak256("openzeppelin.storage.ERC20")) - 1)) & ~bytes32(uint256(0xff))
    bytes32 private constant ERC20StorageLocation = 0x52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace00;

    function _getERC20Storage() private pure returns (ERC20Storage storage $) {
        assembly {
            $.slot := ERC20StorageLocation
        }
    }

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * All two of these values are immutable: they can only be set once during
     * construction.
     */
    function __ERC20_init(string memory name_, string memory symbol_) internal onlyInitializing {
        __ERC20_init_unchained(name_, symbol_);
    }

    function __ERC20_init_unchained(string memory name_, string memory symbol_) internal onlyInitializing {
        ERC20Storage storage $ = _getERC20Storage();
        $._name = name_;
        $._symbol = symbol_;
    }

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

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual returns (string memory) {
        ERC20Storage storage $ = _getERC20Storage();
        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 default value returned by this function, unless
     * it's 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 returns (uint8) {
        return 18;
    }

    /**
     * @dev See {IERC20-totalSupply}.
     */
    function totalSupply() public view virtual returns (uint256) {
        ERC20Storage storage $ = _getERC20Storage();
        return $._totalSupply;
    }

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

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

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

    /**
     * @dev See {IERC20-approve}.
     *
     * NOTE: If `value` 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 value) public virtual returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, value);
        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 `value`.
     * - the caller must have allowance for ``from``'s tokens of at least
     * `value`.
     */
    function transferFrom(address from, address to, uint256 value) public virtual returns (bool) {
        address spender = _msgSender();
        _spendAllowance(from, spender, value);
        _transfer(from, to, value);
        return true;
    }

    /**
     * @dev Moves a `value` 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.
     *
     * NOTE: This function is not virtual, {_update} should be overridden instead.
     */
    function _transfer(address from, address to, uint256 value) internal {
        if (from == address(0)) {
            revert ERC20InvalidSender(address(0));
        }
        if (to == address(0)) {
            revert ERC20InvalidReceiver(address(0));
        }
        _update(from, to, value);
    }

    /**
     * @dev Transfers a `value` amount of tokens from `from` to `to`, or alternatively mints (or burns) if `from`
     * (or `to`) is the zero address. All customizations to transfers, mints, and burns should be done by overriding
     * this function.
     *
     * Emits a {Transfer} event.
     */
    function _update(address from, address to, uint256 value) internal virtual {
        ERC20Storage storage $ = _getERC20Storage();
        if (from == address(0)) {
            // Overflow check required: The rest of the code assumes that totalSupply never overflows
            $._totalSupply += value;
        } else {
            uint256 fromBalance = $._balances[from];
            if (fromBalance < value) {
                revert ERC20InsufficientBalance(from, fromBalance, value);
            }
            unchecked {
                // Overflow not possible: value <= fromBalance <= totalSupply.
                $._balances[from] = fromBalance - value;
            }
        }

        if (to == address(0)) {
            unchecked {
                // Overflow not possible: value <= totalSupply or value <= fromBalance <= totalSupply.
                $._totalSupply -= value;
            }
        } else {
            unchecked {
                // Overflow not possible: balance + value is at most totalSupply, which we know fits into a uint256.
                $._balances[to] += value;
            }
        }

        emit Transfer(from, to, value);
    }

    /**
     * @dev Creates a `value` amount of tokens and assigns them to `account`, by transferring it from address(0).
     * Relies on the `_update` mechanism
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * NOTE: This function is not virtual, {_update} should be overridden instead.
     */
    function _mint(address account, uint256 value) internal {
        if (account == address(0)) {
            revert ERC20InvalidReceiver(address(0));
        }
        _update(address(0), account, value);
    }

    /**
     * @dev Destroys a `value` amount of tokens from `account`, lowering the total supply.
     * Relies on the `_update` mechanism.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * NOTE: This function is not virtual, {_update} should be overridden instead
     */
    function _burn(address account, uint256 value) internal {
        if (account == address(0)) {
            revert ERC20InvalidSender(address(0));
        }
        _update(account, address(0), value);
    }

    /**
     * @dev Sets `value` 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.
     *
     * Overrides to this logic should be done to the variant with an additional `bool emitEvent` argument.
     */
    function _approve(address owner, address spender, uint256 value) internal {
        _approve(owner, spender, value, true);
    }

    /**
     * @dev Variant of {_approve} with an optional flag to enable or disable the {Approval} event.
     *
     * By default (when calling {_approve}) the flag is set to true. On the other hand, approval changes made by
     * `_spendAllowance` during the `transferFrom` operation set the flag to false. This saves gas by not emitting any
     * `Approval` event during `transferFrom` operations.
     *
     * Anyone who wishes to continue emitting `Approval` events on the`transferFrom` operation can force the flag to
     * true using the following override:
     * ```
     * function _approve(address owner, address spender, uint256 value, bool) internal virtual override {
     *     super._approve(owner, spender, value, true);
     * }
     * ```
     *
     * Requirements are the same as {_approve}.
     */
    function _approve(address owner, address spender, uint256 value, bool emitEvent) internal virtual {
        ERC20Storage storage $ = _getERC20Storage();
        if (owner == address(0)) {
            revert ERC20InvalidApprover(address(0));
        }
        if (spender == address(0)) {
            revert ERC20InvalidSpender(address(0));
        }
        $._allowances[owner][spender] = value;
        if (emitEvent) {
            emit Approval(owner, spender, value);
        }
    }

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

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol)

pragma solidity ^0.8.20;
import {Initializable} from "../proxy/utils/Initializable.sol";

/**
 * @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 ContextUpgradeable is Initializable {
    function __Context_init() internal onlyInitializing {
    }

    function __Context_init_unchained() internal onlyInitializing {
    }
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

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

    function _contextSuffixLength() internal view virtual returns (uint256) {
        return 0;
    }
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/ReentrancyGuard.sol)

pragma solidity ^0.8.20;
import {Initializable} from "../proxy/utils/Initializable.sol";

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuardUpgradeable is Initializable {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant NOT_ENTERED = 1;
    uint256 private constant ENTERED = 2;

    /// @custom:storage-location erc7201:openzeppelin.storage.ReentrancyGuard
    struct ReentrancyGuardStorage {
        uint256 _status;
    }

    // keccak256(abi.encode(uint256(keccak256("openzeppelin.storage.ReentrancyGuard")) - 1)) & ~bytes32(uint256(0xff))
    bytes32 private constant ReentrancyGuardStorageLocation = 0x9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f00;

    function _getReentrancyGuardStorage() private pure returns (ReentrancyGuardStorage storage $) {
        assembly {
            $.slot := ReentrancyGuardStorageLocation
        }
    }

    /**
     * @dev Unauthorized reentrant call.
     */
    error ReentrancyGuardReentrantCall();

    function __ReentrancyGuard_init() internal onlyInitializing {
        __ReentrancyGuard_init_unchained();
    }

    function __ReentrancyGuard_init_unchained() internal onlyInitializing {
        ReentrancyGuardStorage storage $ = _getReentrancyGuardStorage();
        $._status = NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        _nonReentrantBefore();
        _;
        _nonReentrantAfter();
    }

    function _nonReentrantBefore() private {
        ReentrancyGuardStorage storage $ = _getReentrancyGuardStorage();
        // On the first call to nonReentrant, _status will be NOT_ENTERED
        if ($._status == ENTERED) {
            revert ReentrancyGuardReentrantCall();
        }

        // Any calls to nonReentrant after this point will fail
        $._status = ENTERED;
    }

    function _nonReentrantAfter() private {
        ReentrancyGuardStorage storage $ = _getReentrancyGuardStorage();
        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        $._status = NOT_ENTERED;
    }

    /**
     * @dev Returns true if the reentrancy guard is currently set to "entered", which indicates there is a
     * `nonReentrant` function in the call stack.
     */
    function _reentrancyGuardEntered() internal view returns (bool) {
        ReentrancyGuardStorage storage $ = _getReentrancyGuardStorage();
        return $._status == ENTERED;
    }
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (interfaces/draft-IERC6093.sol)
pragma solidity ^0.8.20;

/**
 * @dev Standard ERC20 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC20 tokens.
 */
interface IERC20Errors {
    /**
     * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     * @param balance Current balance for the interacting account.
     * @param needed Minimum amount required to perform a transfer.
     */
    error ERC20InsufficientBalance(address sender, uint256 balance, uint256 needed);

    /**
     * @dev Indicates a failure with the token `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     */
    error ERC20InvalidSender(address sender);

    /**
     * @dev Indicates a failure with the token `receiver`. Used in transfers.
     * @param receiver Address to which tokens are being transferred.
     */
    error ERC20InvalidReceiver(address receiver);

    /**
     * @dev Indicates a failure with the `spender`’s `allowance`. Used in transfers.
     * @param spender Address that may be allowed to operate on tokens without being their owner.
     * @param allowance Amount of tokens a `spender` is allowed to operate with.
     * @param needed Minimum amount required to perform a transfer.
     */
    error ERC20InsufficientAllowance(address spender, uint256 allowance, uint256 needed);

    /**
     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
     * @param approver Address initiating an approval operation.
     */
    error ERC20InvalidApprover(address approver);

    /**
     * @dev Indicates a failure with the `spender` to be approved. Used in approvals.
     * @param spender Address that may be allowed to operate on tokens without being their owner.
     */
    error ERC20InvalidSpender(address spender);
}

/**
 * @dev Standard ERC721 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC721 tokens.
 */
interface IERC721Errors {
    /**
     * @dev Indicates that an address can't be an owner. For example, `address(0)` is a forbidden owner in EIP-20.
     * Used in balance queries.
     * @param owner Address of the current owner of a token.
     */
    error ERC721InvalidOwner(address owner);

    /**
     * @dev Indicates a `tokenId` whose `owner` is the zero address.
     * @param tokenId Identifier number of a token.
     */
    error ERC721NonexistentToken(uint256 tokenId);

    /**
     * @dev Indicates an error related to the ownership over a particular token. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     * @param tokenId Identifier number of a token.
     * @param owner Address of the current owner of a token.
     */
    error ERC721IncorrectOwner(address sender, uint256 tokenId, address owner);

    /**
     * @dev Indicates a failure with the token `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     */
    error ERC721InvalidSender(address sender);

    /**
     * @dev Indicates a failure with the token `receiver`. Used in transfers.
     * @param receiver Address to which tokens are being transferred.
     */
    error ERC721InvalidReceiver(address receiver);

    /**
     * @dev Indicates a failure with the `operator`’s approval. Used in transfers.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     * @param tokenId Identifier number of a token.
     */
    error ERC721InsufficientApproval(address operator, uint256 tokenId);

    /**
     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
     * @param approver Address initiating an approval operation.
     */
    error ERC721InvalidApprover(address approver);

    /**
     * @dev Indicates a failure with the `operator` to be approved. Used in approvals.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     */
    error ERC721InvalidOperator(address operator);
}

/**
 * @dev Standard ERC1155 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC1155 tokens.
 */
interface IERC1155Errors {
    /**
     * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     * @param balance Current balance for the interacting account.
     * @param needed Minimum amount required to perform a transfer.
     * @param tokenId Identifier number of a token.
     */
    error ERC1155InsufficientBalance(address sender, uint256 balance, uint256 needed, uint256 tokenId);

    /**
     * @dev Indicates a failure with the token `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     */
    error ERC1155InvalidSender(address sender);

    /**
     * @dev Indicates a failure with the token `receiver`. Used in transfers.
     * @param receiver Address to which tokens are being transferred.
     */
    error ERC1155InvalidReceiver(address receiver);

    /**
     * @dev Indicates a failure with the `operator`’s approval. Used in transfers.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     * @param owner Address of the current owner of a token.
     */
    error ERC1155MissingApprovalForAll(address operator, address owner);

    /**
     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
     * @param approver Address initiating an approval operation.
     */
    error ERC1155InvalidApprover(address approver);

    /**
     * @dev Indicates a failure with the `operator` to be approved. Used in approvals.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     */
    error ERC1155InvalidOperator(address operator);

    /**
     * @dev Indicates an array length mismatch between ids and values in a safeBatchTransferFrom operation.
     * Used in batch transfers.
     * @param idsLength Length of the array of token identifiers
     * @param valuesLength Length of the array of token amounts
     */
    error ERC1155InvalidArrayLength(uint256 idsLength, uint256 valuesLength);
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/IERC20Metadata.sol)

pragma solidity ^0.8.20;

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

/**
 * @dev Interface for the optional metadata functions from the ERC20 standard.
 */
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);
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/IERC20Permit.sol)

pragma solidity ^0.8.20;

/**
 * @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.
 *
 * ==== Security Considerations
 *
 * There are two important considerations concerning the use of `permit`. The first is that a valid permit signature
 * expresses an allowance, and it should not be assumed to convey additional meaning. In particular, it should not be
 * considered as an intention to spend the allowance in any specific way. The second is that because permits have
 * built-in replay protection and can be submitted by anyone, they can be frontrun. A protocol that uses permits should
 * take this into consideration and allow a `permit` call to fail. Combining these two aspects, a pattern that may be
 * generally recommended is:
 *
 * ```solidity
 * function doThingWithPermit(..., uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) public {
 *     try token.permit(msg.sender, address(this), value, deadline, v, r, s) {} catch {}
 *     doThing(..., value);
 * }
 *
 * function doThing(..., uint256 value) public {
 *     token.safeTransferFrom(msg.sender, address(this), value);
 *     ...
 * }
 * ```
 *
 * Observe that: 1) `msg.sender` is used as the owner, leaving no ambiguity as to the signer intent, and 2) the use of
 * `try/catch` allows the permit to fail and makes the code tolerant to frontrunning. (See also
 * {SafeERC20-safeTransferFrom}).
 *
 * Additionally, note that smart contract wallets (such as Argent or Safe) are not able to produce permit signatures, so
 * contracts should have entry points that don't rely on permit.
 */
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].
     *
     * CAUTION: See Security Considerations above.
     */
    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);
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.20;

/**
 * @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 value of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

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

    /**
     * @dev Moves a `value` amount of 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 value) 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 a `value` amount of tokens 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 value) external returns (bool);

    /**
     * @dev Moves a `value` amount of tokens from `from` to `to` using the
     * allowance mechanism. `value` 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 value) external returns (bool);
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/utils/SafeERC20.sol)

pragma solidity ^0.8.20;

import {IERC20} from "../IERC20.sol";
import {IERC20Permit} from "../extensions/IERC20Permit.sol";
import {Address} from "../../../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;

    /**
     * @dev An operation with an ERC20 token failed.
     */
    error SafeERC20FailedOperation(address token);

    /**
     * @dev Indicates a failed `decreaseAllowance` request.
     */
    error SafeERC20FailedDecreaseAllowance(address spender, uint256 currentAllowance, uint256 requestedDecrease);

    /**
     * @dev Transfer `value` amount of `token` from the calling contract to `to`. If `token` returns no value,
     * non-reverting calls are assumed to be successful.
     */
    function safeTransfer(IERC20 token, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeCall(token.transfer, (to, value)));
    }

    /**
     * @dev Transfer `value` amount of `token` from `from` to `to`, spending the approval given by `from` to the
     * calling contract. If `token` returns no value, non-reverting calls are assumed to be successful.
     */
    function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeCall(token.transferFrom, (from, to, value)));
    }

    /**
     * @dev Increase the calling contract's allowance toward `spender` by `value`. If `token` returns no value,
     * non-reverting calls are assumed to be successful.
     */
    function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 oldAllowance = token.allowance(address(this), spender);
        forceApprove(token, spender, oldAllowance + value);
    }

    /**
     * @dev Decrease the calling contract's allowance toward `spender` by `requestedDecrease`. If `token` returns no
     * value, non-reverting calls are assumed to be successful.
     */
    function safeDecreaseAllowance(IERC20 token, address spender, uint256 requestedDecrease) internal {
        unchecked {
            uint256 currentAllowance = token.allowance(address(this), spender);
            if (currentAllowance < requestedDecrease) {
                revert SafeERC20FailedDecreaseAllowance(spender, currentAllowance, requestedDecrease);
            }
            forceApprove(token, spender, currentAllowance - requestedDecrease);
        }
    }

    /**
     * @dev Set the calling contract's allowance toward `spender` to `value`. If `token` returns no value,
     * non-reverting calls are assumed to be successful. Meant to be used with tokens that require the approval
     * to be set to zero before setting it to a non-zero value, such as USDT.
     */
    function forceApprove(IERC20 token, address spender, uint256 value) internal {
        bytes memory approvalCall = abi.encodeCall(token.approve, (spender, value));

        if (!_callOptionalReturnBool(token, approvalCall)) {
            _callOptionalReturn(token, abi.encodeCall(token.approve, (spender, 0)));
            _callOptionalReturn(token, approvalCall);
        }
    }

    /**
     * @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);
        if (returndata.length != 0 && !abi.decode(returndata, (bool))) {
            revert SafeERC20FailedOperation(address(token));
        }
    }

    /**
     * @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).
     *
     * This is a variant of {_callOptionalReturn} that silents catches all reverts and returns a bool instead.
     */
    function _callOptionalReturnBool(IERC20 token, bytes memory data) private returns (bool) {
        // 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 cannot use {Address-functionCall} here since this should return false
        // and not revert is the subcall reverts.

        (bool success, bytes memory returndata) = address(token).call(data);
        return success && (returndata.length == 0 || abi.decode(returndata, (bool))) && address(token).code.length > 0;
    }
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.20;

import {IERC165} from "../../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 address zero.
     *
     * 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);
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/Address.sol)

pragma solidity ^0.8.20;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev The ETH balance of the account is not enough to perform the operation.
     */
    error AddressInsufficientBalance(address account);

    /**
     * @dev There's no code at `target` (it is not a contract).
     */
    error AddressEmptyCode(address target);

    /**
     * @dev A call to an address target failed. The target may have reverted.
     */
    error FailedInnerCall();

    /**
     * @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://consensys.net/diligence/blog/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.8.20/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        if (address(this).balance < amount) {
            revert AddressInsufficientBalance(address(this));
        }

        (bool success, ) = recipient.call{value: amount}("");
        if (!success) {
            revert FailedInnerCall();
        }
    }

    /**
     * @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 or custom error, it is bubbled
     * up by this function (like regular Solidity function calls). However, if
     * the call reverted with no returned reason, this function reverts with a
     * {FailedInnerCall} error.
     *
     * 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.
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0);
    }

    /**
     * @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`.
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {
        if (address(this).balance < value) {
            revert AddressInsufficientBalance(address(this));
        }
        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResultFromTarget(target, success, returndata);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResultFromTarget(target, success, returndata);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResultFromTarget(target, success, returndata);
    }

    /**
     * @dev Tool to verify that a low level call to smart-contract was successful, and reverts if the target
     * was not a contract or bubbling up the revert reason (falling back to {FailedInnerCall}) in case of an
     * unsuccessful call.
     */
    function verifyCallResultFromTarget(
        address target,
        bool success,
        bytes memory returndata
    ) internal view returns (bytes memory) {
        if (!success) {
            _revert(returndata);
        } else {
            // only check if target is a contract if the call was successful and the return data is empty
            // otherwise we already know that it was a contract
            if (returndata.length == 0 && target.code.length == 0) {
                revert AddressEmptyCode(target);
            }
            return returndata;
        }
    }

    /**
     * @dev Tool to verify that a low level call was successful, and reverts if it wasn't, either by bubbling the
     * revert reason or with a default {FailedInnerCall} error.
     */
    function verifyCallResult(bool success, bytes memory returndata) internal pure returns (bytes memory) {
        if (!success) {
            _revert(returndata);
        } else {
            return returndata;
        }
    }

    /**
     * @dev Reverts with returndata if present. Otherwise reverts with {FailedInnerCall}.
     */
    function _revert(bytes memory returndata) 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 FailedInnerCall();
        }
    }
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/introspection/IERC165.sol)

pragma solidity ^0.8.20;

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

// SPDX-License-Identifier: GPL-2.0
pragma solidity ^0.8.20;

import {ReentrancyGuardUpgradeable} from "@openzeppelin/contracts-upgradeable/utils/ReentrancyGuardUpgradeable.sol";

import {Common} from "../libs/Common.sol";
import {Constants} from "../libs/Constants.sol";

import {IBlackList} from "./interface/IBlackList.sol";
import {IPausable} from "./interface/IPausable.sol";
import {IRole} from "./interface/IRole.sol";

// To define all the access modifiers
abstract contract Access is ReentrancyGuardUpgradeable {
    address public administrator;

    function __Access_init(address _administrator) internal onlyInitializing {
        __ReentrancyGuard_init();
        require(_administrator != address(0), "!administrator");
        administrator = _administrator;
    }

    modifier onlyAdmin() {
        require(
            IRole(administrator).hasRole(Constants.ADMIN_ROLE, msg.sender),
            "!admin"
        );
        _;
    }

    modifier onlyCollateralManager() {
        require(
            IRole(administrator).hasRole(
                Constants.COLLATERAL_MANAGER_ROLE,
                msg.sender
            ),
            "!cmgr"
        );
        _;
    }

    modifier onlyBridge() {
        require(
            IRole(administrator).hasRole(Constants.BRIDGE_ROLE, msg.sender),
            "!bridge"
        );
        _;
    }

    modifier onlyManager() {
        require(
            IRole(administrator).hasRole(Constants.MANAGER_ROLE, msg.sender),
            "!manager"
        );
        _;
    }

    modifier onlyMinterAndRedeemer() {
        require(IRole(administrator).hasRole(Constants.MINTER_AND_REDEEMER_ROLE, msg.sender),
            "!minter"
        );
        _;
    }

    modifier onlyRewarder() {
        require(
            IRole(administrator).hasRole(Constants.REWARDER_ROLE, msg.sender),
            "!rewarder"
        );
        _;
    }

    modifier notPaused() {
        require(!IPausable(administrator).isPaused(address(this)), "paused");
        _;
    }

    modifier notBlacklisted(address user) {
        require(!IBlackList(administrator).isBlackListed(user), "blacklisted");
        _;
    }

    function setAdministrator(address _administrator) external onlyAdmin {
        require(Common.isContract(_administrator), "!contract");
        administrator = _administrator;
    }
}

// SPDX-License-Identifier: GPL-2.0
pragma solidity ^0.8.20;

interface IBlackList { 
    //functions
    function blackListUsers(address[] calldata _users) external;
    function removeBlackListUsers(address[] calldata _clearedUsers) external;
    function isBlackListed(address _user) external view returns (bool);

    //events
    event BlackListed(address indexed _sender, address indexed _user);
    event BlackListCleared(address indexed _sender, address indexed _user);
}

// SPDX-License-Identifier: GPL-2.0
pragma solidity ^0.8.20;

interface IPausable {
    function pause() external;
    function unpause() external;
    function pauseSC(address _sc) external;
    function unpauseSC(address _sc) external;
    function isPaused(address _sc) external view returns (bool);

    //events
    event Paused(address indexed _sender);
    event Unpaused(address indexed _sender);
    event Paused(address indexed _sender, address indexed _sc);
    event Unpaused(address indexed _sender, address indexed _sc);
}

// SPDX-License-Identifier: GPL-2.0
pragma solidity ^0.8.20;

interface IRole {
    //functions
    function grantRoles(bytes32 _role, address[] calldata _accounts) external;
    function revokeRoles(bytes32 _role, address[] calldata _accounts) external;
    function hasRole(bytes32 _role, address _account) external view returns (bool);
    function hasRoles(bytes32[] calldata _role, address[] calldata _accounts) external view returns (bool[] memory);

    //events
    event RoleGranted(bytes32 indexed _role, address indexed _sender, address indexed _account);
    event RoleRevoked(bytes32 indexed _role, address indexed _sender, address indexed _account);
}

// SPDX-License-Identifier: GPL-2.0
pragma solidity ^0.8.20;

interface IMinter {
    //functions
    function mint(address _to, uint256 _amount) external;
    function burn(address _from, uint256 _amount) external;

    //events
    event Mint(address indexed _minter, address indexed _to, uint256 _amount);
    event Burn(address indexed _minter, address indexed _from, uint256 _amount);
}

// SPDX-License-Identifier: GPL-2.0
pragma solidity ^0.8.20;

interface IReceipt {
  function mint(address _to, uint256 _amount, uint256 _coolingPeriod) external;
  function burn(uint256 _tokenId) external;
  function readReceipt(uint256 _tokenId) external view returns (uint256 eligibleAt, uint256 amount);
}

File 20 of 24 : ISToken.sol
// SPDX-License-Identifier: GPL-2.0
pragma solidity ^0.8.20;

interface ISToken {
    struct Withdraw {
        uint256 coolingPeriod;
        uint256 amount;
    }

    // functions

    // events
    event Deposit(address indexed caller, address indexed token, uint256 amount, address indexed receiver, uint256 sAmount);
    event WithdrawRequest(address indexed caller, address indexed receiver, address indexed owner, uint256 sAmount, uint256 amount);
    event Claim(address indexed caller, address indexed receiver, uint256 amount);
}

// SPDX-License-Identifier: GPL-2.0
pragma solidity ^0.8.20;

import {IERC20} from "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import {IERC20Metadata} from "@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol";
import {SafeERC20} from "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";

import {Access} from "../administrator/Access.sol";
import {Constants} from "../libs/Constants.sol";
import {Helpers} from "../libs/Helpers.sol";

event TransferToMPC(address indexed token, address indexed mpc, uint256 transferAmount);

abstract contract MPC is Access {
    
    address public usdt;
    mapping(address => bool) public mpcs;
    uint8 public decimalsOfAsset;
    
    
    using Helpers for mapping(address => bool);
    using SafeERC20 for IERC20;

    function __MPC_init(
        address _administrator
    ) internal onlyInitializing {
        __Access_init(_administrator);
    }

    function setUSDT(address _usdt) external onlyAdmin {
        require(_usdt != address(0), "!address");
        decimalsOfAsset = IERC20Metadata(_usdt).decimals();
        usdt = _usdt;
    }

    function setMPCs(address[] calldata mpc, bool allow) external onlyAdmin {
        mpcs.setAddresses(mpc, allow);
    }

    function _validateRatios(uint256[] calldata ratios) internal pure {
        uint256 _total = 0;
        for (uint256 i = 0; i < ratios.length; i++) {
            _total += ratios[i];
        }
        require(_total == Constants.HUNDRED_PERCENT, "!total");
    }

    function _validateMpcs(address[] calldata mpc) internal view {
        require(mpc.length > 0, "!length");
        for (uint256 i = 0; i < mpc.length; i++) {
            require(mpc[i] != address(0) && mpcs[mpc[i]], "!address");
        }
    }

    function transferToMPCs(uint256 amount, address[] calldata mpc, uint256[] calldata ratios) external notPaused onlyCollateralManager {
        require(amount > 0, "!valid");
        require(IERC20(usdt).balanceOf(address(this)) >= amount, "!balance");
        require(mpc.length > 0 && mpc.length == ratios.length, "!length");

        _validateRatios(ratios);
        _validateMpcs(mpc);

        for (uint256 i = 0; i < mpc.length; i++) {
            uint256 _transferAmount = (amount * uint256(ratios[i])) / Constants.HUNDRED_PERCENT;
            IERC20(usdt).safeTransfer(mpc[i], _transferAmount);
            emit TransferToMPC(usdt, mpc[i], _transferAmount);
        }
    }

    function rescue(address token, address user, uint256 amount) external onlyAdmin {
        require(token != address(0) &&  token != usdt, "!token");
        require(user != address(0) && amount > 0, "!user !amount");
        IERC20(token).safeTransfer(user, amount);
    }
}

// SPDX-License-Identifier: GPL-2.0
pragma solidity ^0.8.20;

library Common {
    error SignatureVerificationFailed();
    error BadSignature();

    function isContract(address _addr) internal view returns (bool) {
        return _addr != address(0) && _addr.code.length != 0 ;
    }
}

File 23 of 24 : Constants.sol
// SPDX-License-Identifier: GPL-2.0
pragma solidity ^0.8.20;

library Constants {
    // admin role
    bytes32 public constant ADMIN_ROLE = keccak256("ADMIN");

    // role for minting and redeeming tokens
    bytes32 public constant MINTER_AND_REDEEMER_ROLE = keccak256("MINTER_AND_REDEEMER");

    // role for collateral manager who can transfer collateral
    bytes32 public constant COLLATERAL_MANAGER_ROLE = keccak256("COLLATERAL_MANAGER");

    // role for rewarder who can transfer reward 
    bytes32 public constant REWARDER_ROLE = keccak256("REWARDER");

    // role for managing blacklist addresses
    bytes32 public constant MANAGER_ROLE = keccak256("MANAGER");

    // role for signing transactions
    bytes32 public constant SIGNER_ROLE = keccak256("SIGNER");

    // role assigned to bridges
    bytes32 public constant BRIDGE_ROLE = keccak256("BRIDGE");

    uint256 constant PINT = 1e18;
    uint256 constant HUNDRED_PERCENT = 100e18;

    // Period for vesting strategy rewards
    uint256 constant VESTING_PERIOD = 8 hours;

    // max cooling period
    uint256 constant MAX_COOLDOWN_PERIOD = 7 days;

    // min cooling period
    uint256 constant MIN_COOLDOWN_PERIOD = 1 days;

    // ETH Sign Constant
    bytes constant ETH_SIGNED_MESSAGE_PREFIX = "\x19Ethereum Signed Message:\n32";

    // Transaction types
    bytes32 public constant REWARD_HASH = keccak256("REWARD");

    // Bridge transaction types
    bytes32 public constant BRIDGE_SEND_HASH = keccak256("BRIDGE_SEND");
}

File 24 of 24 : Helpers.sol
// SPDX-License-Identifier: GPL-2.0
pragma solidity ^0.8.20;

library Helpers {
    function setAddresses(
        mapping (address => bool) storage addresses,
        address[] calldata data,
        bool allow
    ) internal {
        require(data.length > 0, "!length");
        for (uint8 i = 0; i < data.length; i++) {
            require(data[i] != address(0), "!address");
            addresses[data[i]] = allow;
        }
    }
}

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

Contract Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"address","name":"target","type":"address"}],"name":"AddressEmptyCode","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"AddressInsufficientBalance","type":"error"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"allowance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientAllowance","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"balance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientBalance","type":"error"},{"inputs":[{"internalType":"address","name":"approver","type":"address"}],"name":"ERC20InvalidApprover","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC20InvalidReceiver","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"ERC20InvalidSender","type":"error"},{"inputs":[{"internalType":"address","name":"spender","type":"address"}],"name":"ERC20InvalidSpender","type":"error"},{"inputs":[],"name":"FailedInnerCall","type":"error"},{"inputs":[],"name":"InvalidInitialization","type":"error"},{"inputs":[],"name":"NotInitializing","type":"error"},{"inputs":[],"name":"ReentrancyGuardReentrantCall","type":"error"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"SafeERC20FailedOperation","type":"error"},{"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":true,"internalType":"address","name":"_minter","type":"address"},{"indexed":true,"internalType":"address","name":"_from","type":"address"},{"indexed":false,"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"Burn","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"caller","type":"address"},{"indexed":true,"internalType":"address","name":"receiver","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Claim","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"caller","type":"address"},{"indexed":true,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":true,"internalType":"address","name":"receiver","type":"address"},{"indexed":false,"internalType":"uint256","name":"sAmount","type":"uint256"}],"name":"Deposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint64","name":"version","type":"uint64"}],"name":"Initialized","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_minter","type":"address"},{"indexed":true,"internalType":"address","name":"_to","type":"address"},{"indexed":false,"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"Mint","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":true,"internalType":"address","name":"token","type":"address"},{"indexed":true,"internalType":"address","name":"mpc","type":"address"},{"indexed":false,"internalType":"uint256","name":"transferAmount","type":"uint256"}],"name":"TransferToMPC","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"caller","type":"address"},{"indexed":true,"internalType":"address","name":"receiver","type":"address"},{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":false,"internalType":"uint256","name":"sAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"WithdrawRequest","type":"event"},{"inputs":[],"name":"administrator","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"value","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":"address","name":"account","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"receiptId","type":"uint256"},{"internalType":"address","name":"receiver","type":"address"}],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"coolingPeriod","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimalsOfAsset","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address","name":"receiver","type":"address"}],"name":"deposit","outputs":[{"internalType":"uint256","name":"sAmount","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_administrator","type":"address"}],"name":"init","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"mpcs","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"address","name":"user","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"rescue","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_administrator","type":"address"}],"name":"setAdministrator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"period","type":"uint256"}],"name":"setCoolingPeriod","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"mpc","type":"address[]"},{"internalType":"bool","name":"allow","type":"bool"}],"name":"setMPCs","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_usdt","type":"address"}],"name":"setUSDT","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_withdrawReceipt","type":"address"}],"name":"setWithdrawReceipt","outputs":[],"stateMutability":"nonpayable","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":"value","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":"value","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address[]","name":"mpc","type":"address[]"},{"internalType":"uint256[]","name":"ratios","type":"uint256[]"}],"name":"transferToMPCs","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"usdt","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawReceipt","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"sAmount","type":"uint256"},{"internalType":"address","name":"receiver","type":"address"},{"internalType":"address","name":"owner","type":"address"}],"name":"withdrawRequest","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405234801561001057600080fd5b5061559480620000216000396000f3fe608060405234801561001057600080fd5b50600436106101c45760003560e01c806370a08231116100f9578063dd62ed3e11610097578063e08a4f5011610071578063e08a4f5014610503578063f056ada51461051f578063f53d0a8e1461053d578063fdc1e96d1461055b576101c4565b8063dd62ed3e1461049b578063ddd5e1b2146104cb578063df8089ef146104e7576101c4565b80639955d314116100d35780639955d314146104035780639dc29fac14610433578063a9059cbb1461044f578063bd1552761461047f576101c4565b806370a08231146103975780639328beee146103c757806395d89b41146103e5576101c4565b806323b872dd1161016657806340c10f191161014057806340c10f19146103135780634911269d1461032f57806350c1b9231461034b5780636e553f6514610367576101c4565b806323b872dd146102a75780632f48ab7d146102d7578063313ce567146102f5576101c4565b806314449c4d116101a257806314449c4d1461023357806318160ddd1461025157806319ab453c1461026f57806320ff430b1461028b576101c4565b806306fdde03146101c957806307c87431146101e7578063095ea7b314610203575b600080fd5b6101d1610577565b6040516101de9190613f98565b60405180910390f35b61020160048036038101906101fc9190613ffa565b610618565b005b61021d60048036038101906102189190614085565b610772565b60405161022a91906140e0565b60405180910390f35b61023b610795565b6040516102489190614117565b60405180910390f35b6102596107a8565b6040516102669190614141565b60405180910390f35b6102896004803603810190610284919061415c565b6107c0565b005b6102a560048036038101906102a09190614189565b6109c3565b005b6102c160048036038101906102bc9190614189565b610c34565b6040516102ce91906140e0565b60405180910390f35b6102df610c63565b6040516102ec91906141eb565b60405180910390f35b6102fd610c89565b60405161030a9190614117565b60405180910390f35b61032d60048036038101906103289190614085565b610c92565b005b61034960048036038101906103449190614206565b610eda565b005b6103656004803603810190610360919061415c565b611292565b005b610381600480360381019061037c9190614259565b6114c9565b60405161038e9190614141565b60405180910390f35b6103b160048036038101906103ac919061415c565b6117d9565b6040516103be9190614141565b60405180910390f35b6103cf611830565b6040516103dc9190614141565b60405180910390f35b6103ed611836565b6040516103fa9190613f98565b60405180910390f35b61041d6004803603810190610418919061415c565b6118d7565b60405161042a91906140e0565b60405180910390f35b61044d60048036038101906104489190614085565b6118f7565b005b61046960048036038101906104649190614085565b611b3f565b60405161047691906140e0565b60405180910390f35b61049960048036038101906104949190614354565b611b62565b005b6104b560048036038101906104b091906143e9565b612046565b6040516104c29190614141565b60405180910390f35b6104e560048036038101906104e09190614259565b6120db565b005b61050160048036038101906104fc919061415c565b6125ec565b005b61051d6004803603810190610518919061415c565b612772565b005b6105276128f9565b60405161053491906141eb565b60405180910390f35b61054561291f565b60405161055291906141eb565b60405180910390f35b61057560048036038101906105709190614455565b612943565b005b60606000610583612a5b565b9050806003018054610594906144e4565b80601f01602080910402602001604051908101604052809291908181526020018280546105c0906144e4565b801561060d5780601f106105e25761010080835404028352916020019161060d565b820191906000526020600020905b8154815290600101906020018083116105f057829003601f168201915b505050505091505090565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166391d148547fdf8b4c520ffe197c5343c6f5aec59570151ef9a492f2c624fd45ddde6135ec42336040518363ffffffff1660e01b815260040161069392919061452e565b602060405180830381865afa1580156106b0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106d4919061456c565b610713576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161070a906145e5565b60405180910390fd5b620151808110158015610729575062093a808111155b610768576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161075f90614651565b60405180910390fd5b8060048190555050565b60008061077d612a83565b905061078a818585612a8b565b600191505092915050565b600360009054906101000a900460ff1681565b6000806107b3612a5b565b9050806002015491505090565b60006107ca612a9d565b905060008160000160089054906101000a900460ff1615905060008260000160009054906101000a900467ffffffffffffffff1690506000808267ffffffffffffffff161480156108185750825b9050600060018367ffffffffffffffff1614801561084d575060003073ffffffffffffffffffffffffffffffffffffffff163b145b90508115801561085b575080155b15610892576040517ff92ee8a900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60018560000160006101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083156108e25760018560000160086101000a81548160ff0219169083151502179055505b6109566040518060400160405280601481526020017f5969656c64466920537461626c6520546f6b656e0000000000000000000000008152506040518060400160405280600481526020017f7355534400000000000000000000000000000000000000000000000000000000815250612ac5565b61095f86612adb565b83156109bb5760008560000160086101000a81548160ff0219169083151502179055507fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d260016040516109b291906146ca565b60405180910390a15b505050505050565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166391d148547fdf8b4c520ffe197c5343c6f5aec59570151ef9a492f2c624fd45ddde6135ec42336040518363ffffffff1660e01b8152600401610a3e92919061452e565b602060405180830381865afa158015610a5b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a7f919061456c565b610abe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ab5906145e5565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614158015610b495750600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614155b610b88576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b7f90614731565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614158015610bc55750600081115b610c04576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bfb9061479d565b60405180910390fd5b610c2f82828573ffffffffffffffffffffffffffffffffffffffff16612aef9092919063ffffffff16565b505050565b600080610c3f612a83565b9050610c4c858285612b6e565b610c57858585612c02565b60019150509392505050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60006012905090565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166391d148547f196445be8e29cb4e505699c67ec8eceb0187441d0913818e000a48d538545d14336040518363ffffffff1660e01b8152600401610d0d92919061452e565b602060405180830381865afa158015610d2a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d4e919061456c565b610d8d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d8490614809565b60405180910390fd5b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16635b14f183306040518263ffffffff1660e01b8152600401610de691906141eb565b602060405180830381865afa158015610e03573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e27919061456c565b15610e67576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e5e90614875565b60405180910390fd5b610e718282612cf6565b8173ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167fab8530f87dc9b59234c4623bf917212bb2536d647574c8e7e5da92c2ede0c9f883604051610ece9190614141565b60405180910390a35050565b610ee2612d78565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16635b14f183306040518263ffffffff1660e01b8152600401610f3b91906141eb565b602060405180830381865afa158015610f58573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f7c919061456c565b15610fbc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fb390614875565b60405180910390fd5b610fc7818385612dcf565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663e47d6060336040518263ffffffff1660e01b815260040161102091906141eb565b602060405180830381865afa15801561103d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611061919061456c565b156110a1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611098906148e1565b60405180910390fd5b826110ab826117d9565b10156110ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110e39061494d565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461112b5761112a813385612b6e565b5b611135818461303d565b6000670de0b6b3a7640000600360009054906101000a900460ff16600a61115c9190614acf565b856111679190614b1a565b6111719190614b8b565b9050600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663156e29f684836004546040518463ffffffff1660e01b81526004016111d493929190614bbc565b600060405180830381600087803b1580156111ee57600080fd5b505af1158015611202573d6000803e3d6000fd5b505050508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f3c9e09c72a3bb74afb4158d12fe8d9351e5122fadcfc27b141a72f745f7aab02878560405161127c929190614bf3565b60405180910390a45061128d6130bf565b505050565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166391d148547fdf8b4c520ffe197c5343c6f5aec59570151ef9a492f2c624fd45ddde6135ec42336040518363ffffffff1660e01b815260040161130d92919061452e565b602060405180830381865afa15801561132a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061134e919061456c565b61138d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611384906145e5565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036113fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113f390614c68565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa158015611447573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061146b9190614cb4565b600360006101000a81548160ff021916908360ff16021790555080600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60006114d3612d78565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16635b14f183306040518263ffffffff1660e01b815260040161152c91906141eb565b602060405180830381865afa158015611549573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061156d919061456c565b156115ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115a490614875565b60405180910390fd5b6115b8338385612dcf565b82600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b815260040161161491906141eb565b602060405180830381865afa158015611631573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116559190614cf6565b1015611696576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161168d9061494d565b60405180910390fd5b6116e5333085600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166130d8909392919063ffffffff16565b600360009054906101000a900460ff16600a6117019190614acf565b670de0b6b3a7640000846117159190614b1a565b61171f9190614b8b565b905061172b8282612cf6565b8173ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167faaefaf378e10f40556b2167ea878af7e62d89229b0bce3924630aabf1ee611ff86856040516117c3929190614bf3565b60405180910390a46117d36130bf565b92915050565b6000806117e4612a5b565b90508060000160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054915050919050565b60045481565b60606000611842612a5b565b9050806004018054611853906144e4565b80601f016020809104026020016040519081016040528092919081815260200182805461187f906144e4565b80156118cc5780601f106118a1576101008083540402835291602001916118cc565b820191906000526020600020905b8154815290600101906020018083116118af57829003601f168201915b505050505091505090565b60026020528060005260406000206000915054906101000a900460ff1681565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166391d148547f196445be8e29cb4e505699c67ec8eceb0187441d0913818e000a48d538545d14336040518363ffffffff1660e01b815260040161197292919061452e565b602060405180830381865afa15801561198f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119b3919061456c565b6119f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119e990614809565b60405180910390fd5b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16635b14f183306040518263ffffffff1660e01b8152600401611a4b91906141eb565b602060405180830381865afa158015611a68573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a8c919061456c565b15611acc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ac390614875565b60405180910390fd5b611ad6828261303d565b8173ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167fbac40739b0d4ca32fa2d82fc91630465ba3eddd1598da6fca393b26fb63b945383604051611b339190614141565b60405180910390a35050565b600080611b4a612a83565b9050611b57818585612c02565b600191505092915050565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16635b14f183306040518263ffffffff1660e01b8152600401611bbb91906141eb565b602060405180830381865afa158015611bd8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bfc919061456c565b15611c3c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c3390614875565b60405180910390fd5b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166391d148547f413cc8bb35fe129dacd3dfaae80d6d4c5d313f64cee9dd6712e7ca52e38573a9336040518363ffffffff1660e01b8152600401611cb792919061452e565b602060405180830381865afa158015611cd4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611cf8919061456c565b611d37576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d2e90614d6f565b60405180910390fd5b60008511611d7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d7190614ddb565b60405180910390fd5b84600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401611dd691906141eb565b602060405180830381865afa158015611df3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e179190614cf6565b1015611e58576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e4f90614e47565b60405180910390fd5b600084849050118015611e7057508181905084849050145b611eaf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ea690614eb3565b60405180910390fd5b611eb9828261315a565b611ec384846131ee565b60005b8484905081101561203e57600068056bc75e2d63100000848484818110611ef057611eef614ed3565b5b9050602002013588611f029190614b1a565b611f0c9190614b8b565b9050611f82868684818110611f2457611f23614ed3565b5b9050602002016020810190611f39919061415c565b82600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16612aef9092919063ffffffff16565b858583818110611f9557611f94614ed3565b5b9050602002016020810190611faa919061415c565b73ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8d2d0393351a8a5624f48d3deb9ee167bfa205b9af940c7cbed03bbc3933d9dc836040516120289190614141565b60405180910390a3508080600101915050611ec6565b505050505050565b600080612051612a5b565b90508060010160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205491505092915050565b6120e3612d78565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16635b14f183306040518263ffffffff1660e01b815260040161213c91906141eb565b602060405180830381865afa158015612159573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061217d919061456c565b156121bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121b490614875565b60405180910390fd5b6121c8338284612dcf565b3373ffffffffffffffffffffffffffffffffffffffff16600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e846040518263ffffffff1660e01b815260040161223a9190614141565b602060405180830381865afa158015612257573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061227b9190614f17565b73ffffffffffffffffffffffffffffffffffffffff16146122d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122c890614f90565b60405180910390fd5b600080600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166337ad90e3856040518263ffffffff1660e01b815260040161232f9190614141565b6040805180830381865afa15801561234b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061236f9190614fb0565b915091508142116123b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123ac9061503c565b60405180910390fd5b600081118015612460575080600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b815260040161241c91906141eb565b602060405180830381865afa158015612439573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061245d9190614cf6565b10155b61249f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161249690614e47565b60405180910390fd5b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166342966c68856040518263ffffffff1660e01b81526004016124fa9190614141565b600060405180830381600087803b15801561251457600080fd5b505af1158015612528573d6000803e3d6000fd5b505050506125798382600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16612aef9092919063ffffffff16565b8273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f70eb43c4a8ae8c40502dcf22436c509c28d6ff421cf07c491be56984bd987068836040516125d69190614141565b60405180910390a350506125e86130bf565b5050565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166391d148547fdf8b4c520ffe197c5343c6f5aec59570151ef9a492f2c624fd45ddde6135ec42336040518363ffffffff1660e01b815260040161266792919061452e565b602060405180830381865afa158015612684573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126a8919061456c565b6126e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126de906145e5565b60405180910390fd5b6126f081613367565b61272f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612726906150a8565b60405180910390fd5b806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166391d148547fdf8b4c520ffe197c5343c6f5aec59570151ef9a492f2c624fd45ddde6135ec42336040518363ffffffff1660e01b81526004016127ed92919061452e565b602060405180830381865afa15801561280a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061282e919061456c565b61286d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612864906145e5565b60405180910390fd5b61287681613367565b6128b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128ac90614ddb565b60405180910390fd5b80600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166391d148547fdf8b4c520ffe197c5343c6f5aec59570151ef9a492f2c624fd45ddde6135ec42336040518363ffffffff1660e01b81526004016129be92919061452e565b602060405180830381865afa1580156129db573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129ff919061456c565b612a3e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a35906145e5565b60405180910390fd5b612a5683838360026133c4909392919063ffffffff16565b505050565b60007f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace00905090565b600033905090565b612a98838383600161354e565b505050565b60007ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00905090565b612acd613734565b612ad78282613774565b5050565b612ae3613734565b612aec816137b1565b50565b612b69838473ffffffffffffffffffffffffffffffffffffffff1663a9059cbb8585604051602401612b229291906150c8565b604051602081830303815290604052915060e01b6020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050613873565b505050565b6000612b7a8484612046565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114612bfc5781811015612bec578281836040517ffb8f41b2000000000000000000000000000000000000000000000000000000008152600401612be393929190614bbc565b60405180910390fd5b612bfb8484848403600061354e565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612c745760006040517f96c6fd1e000000000000000000000000000000000000000000000000000000008152600401612c6b91906141eb565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612ce65760006040517fec442f05000000000000000000000000000000000000000000000000000000008152600401612cdd91906141eb565b60405180910390fd5b612cf183838361390a565b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612d685760006040517fec442f05000000000000000000000000000000000000000000000000000000008152600401612d5f91906141eb565b60405180910390fd5b612d746000838361390a565b5050565b6000612d82613a97565b90506002816000015403612dc2576040517f3ee5aeb500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6002816000018190555050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614158015612e395750600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b612e78576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e6f90614ddb565b60405180910390fd5b60008111612ebb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612eb29061494d565b60405180910390fd5b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663e47d6060846040518263ffffffff1660e01b8152600401612f1491906141eb565b602060405180830381865afa158015612f31573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612f55919061456c565b158015612ff9575060008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663e47d6060836040518263ffffffff1660e01b8152600401612fb691906141eb565b602060405180830381865afa158015612fd3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ff7919061456c565b155b613038576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161302f906148e1565b60405180910390fd5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036130af5760006040517f96c6fd1e0000000000000000000000000000000000000000000000000000000081526004016130a691906141eb565b60405180910390fd5b6130bb8260008361390a565b5050565b60006130c9613a97565b90506001816000018190555050565b613154848573ffffffffffffffffffffffffffffffffffffffff166323b872dd86868660405160240161310d939291906150f1565b604051602081830303815290604052915060e01b6020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050613873565b50505050565b6000805b8383905081101561319d5783838281811061317c5761317b614ed3565b5b905060200201358261318e9190615128565b9150808060010191505061315e565b5068056bc75e2d6310000081146131e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131e0906151a8565b60405180910390fd5b505050565b60008282905011613234576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161322b90614eb3565b60405180910390fd5b60005b8282905081101561336257600073ffffffffffffffffffffffffffffffffffffffff1683838381811061326d5761326c614ed3565b5b9050602002016020810190613282919061415c565b73ffffffffffffffffffffffffffffffffffffffff16141580156133165750600260008484848181106132b8576132b7614ed3565b5b90506020020160208101906132cd919061415c565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b613355576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161334c90614c68565b60405180910390fd5b8080600101915050613237565b505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141580156133bd575060008273ffffffffffffffffffffffffffffffffffffffff163b14155b9050919050565b6000838390501161340a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161340190614eb3565b60405180910390fd5b60005b838390508160ff16101561354757600073ffffffffffffffffffffffffffffffffffffffff1684848360ff1681811061344957613448614ed3565b5b905060200201602081019061345e919061415c565b73ffffffffffffffffffffffffffffffffffffffff16036134b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134ab90614c68565b60405180910390fd5b8185600086868560ff168181106134ce576134cd614ed3565b5b90506020020160208101906134e3919061415c565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550808061353f906151c8565b91505061340d565b5050505050565b6000613558612a5b565b9050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16036135cc5760006040517fe602df050000000000000000000000000000000000000000000000000000000081526004016135c391906141eb565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff160361363e5760006040517f94280d6200000000000000000000000000000000000000000000000000000000815260040161363591906141eb565b60405180910390fd5b828160010160008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550811561372d578373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925856040516137249190614141565b60405180910390a35b5050505050565b61373c613abf565b613772576040517fd7e6bcf800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b565b61377c613734565b6000613786612a5b565b90508281600301908161379991906153c2565b50818160040190816137ab91906153c2565b50505050565b6137b9613734565b6137c1613adf565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603613830576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613827906154e0565b60405180910390fd5b806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600061389e828473ffffffffffffffffffffffffffffffffffffffff16613af190919063ffffffff16565b905060008151141580156138c35750808060200190518101906138c1919061456c565b155b1561390557826040517f5274afe70000000000000000000000000000000000000000000000000000000081526004016138fc91906141eb565b60405180910390fd5b505050565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663e47d6060846040518263ffffffff1660e01b815260040161396391906141eb565b602060405180830381865afa158015613980573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906139a4919061456c565b158015613a48575060008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663e47d6060836040518263ffffffff1660e01b8152600401613a0591906141eb565b602060405180830381865afa158015613a22573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613a46919061456c565b155b613a87576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613a7e906148e1565b60405180910390fd5b613a92838383613b07565b505050565b60007f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f00905090565b6000613ac9612a9d565b60000160089054906101000a900460ff16905090565b613ae7613734565b613aef613d46565b565b6060613aff83836000613d67565b905092915050565b6000613b11612a5b565b9050600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603613b675781816002016000828254613b5b9190615128565b92505081905550613c40565b60008160000160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082811015613bf6578481846040517fe450d38c000000000000000000000000000000000000000000000000000000008152600401613bed93929190614bbc565b60405180910390fd5b8281038260000160008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550505b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603613c8b57818160020160008282540392505081905550613cdb565b818160000160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055505b8273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051613d389190614141565b60405180910390a350505050565b613d4e613734565b6000613d58613a97565b90506001816000018190555050565b606081471015613dae57306040517fcd786059000000000000000000000000000000000000000000000000000000008152600401613da591906141eb565b60405180910390fd5b6000808573ffffffffffffffffffffffffffffffffffffffff168486604051613dd79190615547565b60006040518083038185875af1925050503d8060008114613e14576040519150601f19603f3d011682016040523d82523d6000602084013e613e19565b606091505b5091509150613e29868383613e34565b925050509392505050565b606082613e4957613e4482613ec3565b613ebb565b60008251148015613e71575060008473ffffffffffffffffffffffffffffffffffffffff163b145b15613eb357836040517f9996b315000000000000000000000000000000000000000000000000000000008152600401613eaa91906141eb565b60405180910390fd5b819050613ebc565b5b9392505050565b600081511115613ed65780518082602001fd5b6040517f1425ea4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600081519050919050565b600082825260208201905092915050565b60005b83811015613f42578082015181840152602081019050613f27565b60008484015250505050565b6000601f19601f8301169050919050565b6000613f6a82613f08565b613f748185613f13565b9350613f84818560208601613f24565b613f8d81613f4e565b840191505092915050565b60006020820190508181036000830152613fb28184613f5f565b905092915050565b600080fd5b600080fd5b6000819050919050565b613fd781613fc4565b8114613fe257600080fd5b50565b600081359050613ff481613fce565b92915050565b6000602082840312156140105761400f613fba565b5b600061401e84828501613fe5565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061405282614027565b9050919050565b61406281614047565b811461406d57600080fd5b50565b60008135905061407f81614059565b92915050565b6000806040838503121561409c5761409b613fba565b5b60006140aa85828601614070565b92505060206140bb85828601613fe5565b9150509250929050565b60008115159050919050565b6140da816140c5565b82525050565b60006020820190506140f560008301846140d1565b92915050565b600060ff82169050919050565b614111816140fb565b82525050565b600060208201905061412c6000830184614108565b92915050565b61413b81613fc4565b82525050565b60006020820190506141566000830184614132565b92915050565b60006020828403121561417257614171613fba565b5b600061418084828501614070565b91505092915050565b6000806000606084860312156141a2576141a1613fba565b5b60006141b086828701614070565b93505060206141c186828701614070565b92505060406141d286828701613fe5565b9150509250925092565b6141e581614047565b82525050565b600060208201905061420060008301846141dc565b92915050565b60008060006060848603121561421f5761421e613fba565b5b600061422d86828701613fe5565b935050602061423e86828701614070565b925050604061424f86828701614070565b9150509250925092565b600080604083850312156142705761426f613fba565b5b600061427e85828601613fe5565b925050602061428f85828601614070565b9150509250929050565b600080fd5b600080fd5b600080fd5b60008083601f8401126142be576142bd614299565b5b8235905067ffffffffffffffff8111156142db576142da61429e565b5b6020830191508360208202830111156142f7576142f66142a3565b5b9250929050565b60008083601f84011261431457614313614299565b5b8235905067ffffffffffffffff8111156143315761433061429e565b5b60208301915083602082028301111561434d5761434c6142a3565b5b9250929050565b6000806000806000606086880312156143705761436f613fba565b5b600061437e88828901613fe5565b955050602086013567ffffffffffffffff81111561439f5761439e613fbf565b5b6143ab888289016142a8565b9450945050604086013567ffffffffffffffff8111156143ce576143cd613fbf565b5b6143da888289016142fe565b92509250509295509295909350565b60008060408385031215614400576143ff613fba565b5b600061440e85828601614070565b925050602061441f85828601614070565b9150509250929050565b614432816140c5565b811461443d57600080fd5b50565b60008135905061444f81614429565b92915050565b60008060006040848603121561446e5761446d613fba565b5b600084013567ffffffffffffffff81111561448c5761448b613fbf565b5b614498868287016142a8565b935093505060206144ab86828701614440565b9150509250925092565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806144fc57607f821691505b60208210810361450f5761450e6144b5565b5b50919050565b6000819050919050565b61452881614515565b82525050565b6000604082019050614543600083018561451f565b61455060208301846141dc565b9392505050565b60008151905061456681614429565b92915050565b60006020828403121561458257614581613fba565b5b600061459084828501614557565b91505092915050565b7f2161646d696e0000000000000000000000000000000000000000000000000000600082015250565b60006145cf600683613f13565b91506145da82614599565b602082019050919050565b600060208201905081810360008301526145fe816145c2565b9050919050565b7f21706572696f6400000000000000000000000000000000000000000000000000600082015250565b600061463b600783613f13565b915061464682614605565b602082019050919050565b6000602082019050818103600083015261466a8161462e565b9050919050565b6000819050919050565b600067ffffffffffffffff82169050919050565b6000819050919050565b60006146b46146af6146aa84614671565b61468f565b61467b565b9050919050565b6146c481614699565b82525050565b60006020820190506146df60008301846146bb565b92915050565b7f21746f6b656e0000000000000000000000000000000000000000000000000000600082015250565b600061471b600683613f13565b9150614726826146e5565b602082019050919050565b6000602082019050818103600083015261474a8161470e565b9050919050565b7f21757365722021616d6f756e7400000000000000000000000000000000000000600082015250565b6000614787600d83613f13565b915061479282614751565b602082019050919050565b600060208201905081810360008301526147b68161477a565b9050919050565b7f216d696e74657200000000000000000000000000000000000000000000000000600082015250565b60006147f3600783613f13565b91506147fe826147bd565b602082019050919050565b60006020820190508181036000830152614822816147e6565b9050919050565b7f7061757365640000000000000000000000000000000000000000000000000000600082015250565b600061485f600683613f13565b915061486a82614829565b602082019050919050565b6000602082019050818103600083015261488e81614852565b9050919050565b7f626c61636b6c6973746564000000000000000000000000000000000000000000600082015250565b60006148cb600b83613f13565b91506148d682614895565b602082019050919050565b600060208201905081810360008301526148fa816148be565b9050919050565b7f21616d6f756e7400000000000000000000000000000000000000000000000000600082015250565b6000614937600783613f13565b915061494282614901565b602082019050919050565b600060208201905081810360008301526149668161492a565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60008160011c9050919050565b6000808291508390505b60018511156149f3578086048111156149cf576149ce61496d565b5b60018516156149de5780820291505b80810290506149ec8561499c565b94506149b3565b94509492505050565b600082614a0c5760019050614ac8565b81614a1a5760009050614ac8565b8160018114614a305760028114614a3a57614a69565b6001915050614ac8565b60ff841115614a4c57614a4b61496d565b5b8360020a915084821115614a6357614a6261496d565b5b50614ac8565b5060208310610133831016604e8410600b8410161715614a9e5782820a905083811115614a9957614a9861496d565b5b614ac8565b614aab84848460016149a9565b92509050818404811115614ac257614ac161496d565b5b81810290505b9392505050565b6000614ada82613fc4565b9150614ae5836140fb565b9250614b127fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff84846149fc565b905092915050565b6000614b2582613fc4565b9150614b3083613fc4565b9250828202614b3e81613fc4565b91508282048414831517614b5557614b5461496d565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614b9682613fc4565b9150614ba183613fc4565b925082614bb157614bb0614b5c565b5b828204905092915050565b6000606082019050614bd160008301866141dc565b614bde6020830185614132565b614beb6040830184614132565b949350505050565b6000604082019050614c086000830185614132565b614c156020830184614132565b9392505050565b7f2161646472657373000000000000000000000000000000000000000000000000600082015250565b6000614c52600883613f13565b9150614c5d82614c1c565b602082019050919050565b60006020820190508181036000830152614c8181614c45565b9050919050565b614c91816140fb565b8114614c9c57600080fd5b50565b600081519050614cae81614c88565b92915050565b600060208284031215614cca57614cc9613fba565b5b6000614cd884828501614c9f565b91505092915050565b600081519050614cf081613fce565b92915050565b600060208284031215614d0c57614d0b613fba565b5b6000614d1a84828501614ce1565b91505092915050565b7f21636d6772000000000000000000000000000000000000000000000000000000600082015250565b6000614d59600583613f13565b9150614d6482614d23565b602082019050919050565b60006020820190508181036000830152614d8881614d4c565b9050919050565b7f2176616c69640000000000000000000000000000000000000000000000000000600082015250565b6000614dc5600683613f13565b9150614dd082614d8f565b602082019050919050565b60006020820190508181036000830152614df481614db8565b9050919050565b7f2162616c616e6365000000000000000000000000000000000000000000000000600082015250565b6000614e31600883613f13565b9150614e3c82614dfb565b602082019050919050565b60006020820190508181036000830152614e6081614e24565b9050919050565b7f216c656e67746800000000000000000000000000000000000000000000000000600082015250565b6000614e9d600783613f13565b9150614ea882614e67565b602082019050919050565b60006020820190508181036000830152614ecc81614e90565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600081519050614f1181614059565b92915050565b600060208284031215614f2d57614f2c613fba565b5b6000614f3b84828501614f02565b91505092915050565b7f216f776e65720000000000000000000000000000000000000000000000000000600082015250565b6000614f7a600683613f13565b9150614f8582614f44565b602082019050919050565b60006020820190508181036000830152614fa981614f6d565b9050919050565b60008060408385031215614fc757614fc6613fba565b5b6000614fd585828601614ce1565b9250506020614fe685828601614ce1565b9150509250929050565b7f21636f6f6c696e67000000000000000000000000000000000000000000000000600082015250565b6000615026600883613f13565b915061503182614ff0565b602082019050919050565b6000602082019050818103600083015261505581615019565b9050919050565b7f21636f6e74726163740000000000000000000000000000000000000000000000600082015250565b6000615092600983613f13565b915061509d8261505c565b602082019050919050565b600060208201905081810360008301526150c181615085565b9050919050565b60006040820190506150dd60008301856141dc565b6150ea6020830184614132565b9392505050565b600060608201905061510660008301866141dc565b61511360208301856141dc565b6151206040830184614132565b949350505050565b600061513382613fc4565b915061513e83613fc4565b92508282019050808211156151565761515561496d565b5b92915050565b7f21746f74616c0000000000000000000000000000000000000000000000000000600082015250565b6000615192600683613f13565b915061519d8261515c565b602082019050919050565b600060208201905081810360008301526151c181615185565b9050919050565b60006151d3826140fb565b915060ff82036151e6576151e561496d565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026152827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82615245565b61528c8683615245565b95508019841693508086168417925050509392505050565b60006152bf6152ba6152b584613fc4565b61468f565b613fc4565b9050919050565b6000819050919050565b6152d9836152a4565b6152ed6152e5826152c6565b848454615252565b825550505050565b600090565b6153026152f5565b61530d8184846152d0565b505050565b5b81811015615331576153266000826152fa565b600181019050615313565b5050565b601f8211156153765761534781615220565b61535084615235565b8101602085101561535f578190505b61537361536b85615235565b830182615312565b50505b505050565b600082821c905092915050565b60006153996000198460080261537b565b1980831691505092915050565b60006153b28383615388565b9150826002028217905092915050565b6153cb82613f08565b67ffffffffffffffff8111156153e4576153e36151f1565b5b6153ee82546144e4565b6153f9828285615335565b600060209050601f83116001811461542c576000841561541a578287015190505b61542485826153a6565b86555061548c565b601f19841661543a86615220565b60005b828110156154625784890151825560018201915060208501945060208101905061543d565b8683101561547f578489015161547b601f891682615388565b8355505b6001600288020188555050505b505050505050565b7f2161646d696e6973747261746f72000000000000000000000000000000000000600082015250565b60006154ca600e83613f13565b91506154d582615494565b602082019050919050565b600060208201905081810360008301526154f9816154bd565b9050919050565b600081519050919050565b600081905092915050565b600061552182615500565b61552b818561550b565b935061553b818560208601613f24565b80840191505092915050565b60006155538284615516565b91508190509291505056fea2646970667358221220e2b5db295db60e8957f8417d68c616b91f5c49f29fdaaa119ff90eacd8c8da6264736f6c63430008180033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101c45760003560e01c806370a08231116100f9578063dd62ed3e11610097578063e08a4f5011610071578063e08a4f5014610503578063f056ada51461051f578063f53d0a8e1461053d578063fdc1e96d1461055b576101c4565b8063dd62ed3e1461049b578063ddd5e1b2146104cb578063df8089ef146104e7576101c4565b80639955d314116100d35780639955d314146104035780639dc29fac14610433578063a9059cbb1461044f578063bd1552761461047f576101c4565b806370a08231146103975780639328beee146103c757806395d89b41146103e5576101c4565b806323b872dd1161016657806340c10f191161014057806340c10f19146103135780634911269d1461032f57806350c1b9231461034b5780636e553f6514610367576101c4565b806323b872dd146102a75780632f48ab7d146102d7578063313ce567146102f5576101c4565b806314449c4d116101a257806314449c4d1461023357806318160ddd1461025157806319ab453c1461026f57806320ff430b1461028b576101c4565b806306fdde03146101c957806307c87431146101e7578063095ea7b314610203575b600080fd5b6101d1610577565b6040516101de9190613f98565b60405180910390f35b61020160048036038101906101fc9190613ffa565b610618565b005b61021d60048036038101906102189190614085565b610772565b60405161022a91906140e0565b60405180910390f35b61023b610795565b6040516102489190614117565b60405180910390f35b6102596107a8565b6040516102669190614141565b60405180910390f35b6102896004803603810190610284919061415c565b6107c0565b005b6102a560048036038101906102a09190614189565b6109c3565b005b6102c160048036038101906102bc9190614189565b610c34565b6040516102ce91906140e0565b60405180910390f35b6102df610c63565b6040516102ec91906141eb565b60405180910390f35b6102fd610c89565b60405161030a9190614117565b60405180910390f35b61032d60048036038101906103289190614085565b610c92565b005b61034960048036038101906103449190614206565b610eda565b005b6103656004803603810190610360919061415c565b611292565b005b610381600480360381019061037c9190614259565b6114c9565b60405161038e9190614141565b60405180910390f35b6103b160048036038101906103ac919061415c565b6117d9565b6040516103be9190614141565b60405180910390f35b6103cf611830565b6040516103dc9190614141565b60405180910390f35b6103ed611836565b6040516103fa9190613f98565b60405180910390f35b61041d6004803603810190610418919061415c565b6118d7565b60405161042a91906140e0565b60405180910390f35b61044d60048036038101906104489190614085565b6118f7565b005b61046960048036038101906104649190614085565b611b3f565b60405161047691906140e0565b60405180910390f35b61049960048036038101906104949190614354565b611b62565b005b6104b560048036038101906104b091906143e9565b612046565b6040516104c29190614141565b60405180910390f35b6104e560048036038101906104e09190614259565b6120db565b005b61050160048036038101906104fc919061415c565b6125ec565b005b61051d6004803603810190610518919061415c565b612772565b005b6105276128f9565b60405161053491906141eb565b60405180910390f35b61054561291f565b60405161055291906141eb565b60405180910390f35b61057560048036038101906105709190614455565b612943565b005b60606000610583612a5b565b9050806003018054610594906144e4565b80601f01602080910402602001604051908101604052809291908181526020018280546105c0906144e4565b801561060d5780601f106105e25761010080835404028352916020019161060d565b820191906000526020600020905b8154815290600101906020018083116105f057829003601f168201915b505050505091505090565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166391d148547fdf8b4c520ffe197c5343c6f5aec59570151ef9a492f2c624fd45ddde6135ec42336040518363ffffffff1660e01b815260040161069392919061452e565b602060405180830381865afa1580156106b0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106d4919061456c565b610713576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161070a906145e5565b60405180910390fd5b620151808110158015610729575062093a808111155b610768576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161075f90614651565b60405180910390fd5b8060048190555050565b60008061077d612a83565b905061078a818585612a8b565b600191505092915050565b600360009054906101000a900460ff1681565b6000806107b3612a5b565b9050806002015491505090565b60006107ca612a9d565b905060008160000160089054906101000a900460ff1615905060008260000160009054906101000a900467ffffffffffffffff1690506000808267ffffffffffffffff161480156108185750825b9050600060018367ffffffffffffffff1614801561084d575060003073ffffffffffffffffffffffffffffffffffffffff163b145b90508115801561085b575080155b15610892576040517ff92ee8a900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60018560000160006101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083156108e25760018560000160086101000a81548160ff0219169083151502179055505b6109566040518060400160405280601481526020017f5969656c64466920537461626c6520546f6b656e0000000000000000000000008152506040518060400160405280600481526020017f7355534400000000000000000000000000000000000000000000000000000000815250612ac5565b61095f86612adb565b83156109bb5760008560000160086101000a81548160ff0219169083151502179055507fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d260016040516109b291906146ca565b60405180910390a15b505050505050565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166391d148547fdf8b4c520ffe197c5343c6f5aec59570151ef9a492f2c624fd45ddde6135ec42336040518363ffffffff1660e01b8152600401610a3e92919061452e565b602060405180830381865afa158015610a5b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a7f919061456c565b610abe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ab5906145e5565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614158015610b495750600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614155b610b88576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b7f90614731565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614158015610bc55750600081115b610c04576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bfb9061479d565b60405180910390fd5b610c2f82828573ffffffffffffffffffffffffffffffffffffffff16612aef9092919063ffffffff16565b505050565b600080610c3f612a83565b9050610c4c858285612b6e565b610c57858585612c02565b60019150509392505050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60006012905090565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166391d148547f196445be8e29cb4e505699c67ec8eceb0187441d0913818e000a48d538545d14336040518363ffffffff1660e01b8152600401610d0d92919061452e565b602060405180830381865afa158015610d2a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d4e919061456c565b610d8d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d8490614809565b60405180910390fd5b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16635b14f183306040518263ffffffff1660e01b8152600401610de691906141eb565b602060405180830381865afa158015610e03573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e27919061456c565b15610e67576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e5e90614875565b60405180910390fd5b610e718282612cf6565b8173ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167fab8530f87dc9b59234c4623bf917212bb2536d647574c8e7e5da92c2ede0c9f883604051610ece9190614141565b60405180910390a35050565b610ee2612d78565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16635b14f183306040518263ffffffff1660e01b8152600401610f3b91906141eb565b602060405180830381865afa158015610f58573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f7c919061456c565b15610fbc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fb390614875565b60405180910390fd5b610fc7818385612dcf565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663e47d6060336040518263ffffffff1660e01b815260040161102091906141eb565b602060405180830381865afa15801561103d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611061919061456c565b156110a1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611098906148e1565b60405180910390fd5b826110ab826117d9565b10156110ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110e39061494d565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461112b5761112a813385612b6e565b5b611135818461303d565b6000670de0b6b3a7640000600360009054906101000a900460ff16600a61115c9190614acf565b856111679190614b1a565b6111719190614b8b565b9050600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663156e29f684836004546040518463ffffffff1660e01b81526004016111d493929190614bbc565b600060405180830381600087803b1580156111ee57600080fd5b505af1158015611202573d6000803e3d6000fd5b505050508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f3c9e09c72a3bb74afb4158d12fe8d9351e5122fadcfc27b141a72f745f7aab02878560405161127c929190614bf3565b60405180910390a45061128d6130bf565b505050565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166391d148547fdf8b4c520ffe197c5343c6f5aec59570151ef9a492f2c624fd45ddde6135ec42336040518363ffffffff1660e01b815260040161130d92919061452e565b602060405180830381865afa15801561132a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061134e919061456c565b61138d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611384906145e5565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036113fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113f390614c68565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa158015611447573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061146b9190614cb4565b600360006101000a81548160ff021916908360ff16021790555080600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60006114d3612d78565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16635b14f183306040518263ffffffff1660e01b815260040161152c91906141eb565b602060405180830381865afa158015611549573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061156d919061456c565b156115ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115a490614875565b60405180910390fd5b6115b8338385612dcf565b82600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b815260040161161491906141eb565b602060405180830381865afa158015611631573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116559190614cf6565b1015611696576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161168d9061494d565b60405180910390fd5b6116e5333085600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166130d8909392919063ffffffff16565b600360009054906101000a900460ff16600a6117019190614acf565b670de0b6b3a7640000846117159190614b1a565b61171f9190614b8b565b905061172b8282612cf6565b8173ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167faaefaf378e10f40556b2167ea878af7e62d89229b0bce3924630aabf1ee611ff86856040516117c3929190614bf3565b60405180910390a46117d36130bf565b92915050565b6000806117e4612a5b565b90508060000160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054915050919050565b60045481565b60606000611842612a5b565b9050806004018054611853906144e4565b80601f016020809104026020016040519081016040528092919081815260200182805461187f906144e4565b80156118cc5780601f106118a1576101008083540402835291602001916118cc565b820191906000526020600020905b8154815290600101906020018083116118af57829003601f168201915b505050505091505090565b60026020528060005260406000206000915054906101000a900460ff1681565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166391d148547f196445be8e29cb4e505699c67ec8eceb0187441d0913818e000a48d538545d14336040518363ffffffff1660e01b815260040161197292919061452e565b602060405180830381865afa15801561198f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119b3919061456c565b6119f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119e990614809565b60405180910390fd5b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16635b14f183306040518263ffffffff1660e01b8152600401611a4b91906141eb565b602060405180830381865afa158015611a68573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a8c919061456c565b15611acc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ac390614875565b60405180910390fd5b611ad6828261303d565b8173ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167fbac40739b0d4ca32fa2d82fc91630465ba3eddd1598da6fca393b26fb63b945383604051611b339190614141565b60405180910390a35050565b600080611b4a612a83565b9050611b57818585612c02565b600191505092915050565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16635b14f183306040518263ffffffff1660e01b8152600401611bbb91906141eb565b602060405180830381865afa158015611bd8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bfc919061456c565b15611c3c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c3390614875565b60405180910390fd5b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166391d148547f413cc8bb35fe129dacd3dfaae80d6d4c5d313f64cee9dd6712e7ca52e38573a9336040518363ffffffff1660e01b8152600401611cb792919061452e565b602060405180830381865afa158015611cd4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611cf8919061456c565b611d37576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d2e90614d6f565b60405180910390fd5b60008511611d7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d7190614ddb565b60405180910390fd5b84600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401611dd691906141eb565b602060405180830381865afa158015611df3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e179190614cf6565b1015611e58576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e4f90614e47565b60405180910390fd5b600084849050118015611e7057508181905084849050145b611eaf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ea690614eb3565b60405180910390fd5b611eb9828261315a565b611ec384846131ee565b60005b8484905081101561203e57600068056bc75e2d63100000848484818110611ef057611eef614ed3565b5b9050602002013588611f029190614b1a565b611f0c9190614b8b565b9050611f82868684818110611f2457611f23614ed3565b5b9050602002016020810190611f39919061415c565b82600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16612aef9092919063ffffffff16565b858583818110611f9557611f94614ed3565b5b9050602002016020810190611faa919061415c565b73ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8d2d0393351a8a5624f48d3deb9ee167bfa205b9af940c7cbed03bbc3933d9dc836040516120289190614141565b60405180910390a3508080600101915050611ec6565b505050505050565b600080612051612a5b565b90508060010160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205491505092915050565b6120e3612d78565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16635b14f183306040518263ffffffff1660e01b815260040161213c91906141eb565b602060405180830381865afa158015612159573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061217d919061456c565b156121bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121b490614875565b60405180910390fd5b6121c8338284612dcf565b3373ffffffffffffffffffffffffffffffffffffffff16600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e846040518263ffffffff1660e01b815260040161223a9190614141565b602060405180830381865afa158015612257573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061227b9190614f17565b73ffffffffffffffffffffffffffffffffffffffff16146122d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122c890614f90565b60405180910390fd5b600080600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166337ad90e3856040518263ffffffff1660e01b815260040161232f9190614141565b6040805180830381865afa15801561234b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061236f9190614fb0565b915091508142116123b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123ac9061503c565b60405180910390fd5b600081118015612460575080600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b815260040161241c91906141eb565b602060405180830381865afa158015612439573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061245d9190614cf6565b10155b61249f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161249690614e47565b60405180910390fd5b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166342966c68856040518263ffffffff1660e01b81526004016124fa9190614141565b600060405180830381600087803b15801561251457600080fd5b505af1158015612528573d6000803e3d6000fd5b505050506125798382600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16612aef9092919063ffffffff16565b8273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f70eb43c4a8ae8c40502dcf22436c509c28d6ff421cf07c491be56984bd987068836040516125d69190614141565b60405180910390a350506125e86130bf565b5050565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166391d148547fdf8b4c520ffe197c5343c6f5aec59570151ef9a492f2c624fd45ddde6135ec42336040518363ffffffff1660e01b815260040161266792919061452e565b602060405180830381865afa158015612684573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126a8919061456c565b6126e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126de906145e5565b60405180910390fd5b6126f081613367565b61272f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612726906150a8565b60405180910390fd5b806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166391d148547fdf8b4c520ffe197c5343c6f5aec59570151ef9a492f2c624fd45ddde6135ec42336040518363ffffffff1660e01b81526004016127ed92919061452e565b602060405180830381865afa15801561280a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061282e919061456c565b61286d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612864906145e5565b60405180910390fd5b61287681613367565b6128b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128ac90614ddb565b60405180910390fd5b80600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166391d148547fdf8b4c520ffe197c5343c6f5aec59570151ef9a492f2c624fd45ddde6135ec42336040518363ffffffff1660e01b81526004016129be92919061452e565b602060405180830381865afa1580156129db573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129ff919061456c565b612a3e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a35906145e5565b60405180910390fd5b612a5683838360026133c4909392919063ffffffff16565b505050565b60007f52c63247e1f47db19d5ce0460030c497f067ca4cebf71ba98eeadabe20bace00905090565b600033905090565b612a98838383600161354e565b505050565b60007ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00905090565b612acd613734565b612ad78282613774565b5050565b612ae3613734565b612aec816137b1565b50565b612b69838473ffffffffffffffffffffffffffffffffffffffff1663a9059cbb8585604051602401612b229291906150c8565b604051602081830303815290604052915060e01b6020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050613873565b505050565b6000612b7a8484612046565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114612bfc5781811015612bec578281836040517ffb8f41b2000000000000000000000000000000000000000000000000000000008152600401612be393929190614bbc565b60405180910390fd5b612bfb8484848403600061354e565b5b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612c745760006040517f96c6fd1e000000000000000000000000000000000000000000000000000000008152600401612c6b91906141eb565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612ce65760006040517fec442f05000000000000000000000000000000000000000000000000000000008152600401612cdd91906141eb565b60405180910390fd5b612cf183838361390a565b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612d685760006040517fec442f05000000000000000000000000000000000000000000000000000000008152600401612d5f91906141eb565b60405180910390fd5b612d746000838361390a565b5050565b6000612d82613a97565b90506002816000015403612dc2576040517f3ee5aeb500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6002816000018190555050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614158015612e395750600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b612e78576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e6f90614ddb565b60405180910390fd5b60008111612ebb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612eb29061494d565b60405180910390fd5b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663e47d6060846040518263ffffffff1660e01b8152600401612f1491906141eb565b602060405180830381865afa158015612f31573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612f55919061456c565b158015612ff9575060008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663e47d6060836040518263ffffffff1660e01b8152600401612fb691906141eb565b602060405180830381865afa158015612fd3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ff7919061456c565b155b613038576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161302f906148e1565b60405180910390fd5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036130af5760006040517f96c6fd1e0000000000000000000000000000000000000000000000000000000081526004016130a691906141eb565b60405180910390fd5b6130bb8260008361390a565b5050565b60006130c9613a97565b90506001816000018190555050565b613154848573ffffffffffffffffffffffffffffffffffffffff166323b872dd86868660405160240161310d939291906150f1565b604051602081830303815290604052915060e01b6020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050613873565b50505050565b6000805b8383905081101561319d5783838281811061317c5761317b614ed3565b5b905060200201358261318e9190615128565b9150808060010191505061315e565b5068056bc75e2d6310000081146131e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131e0906151a8565b60405180910390fd5b505050565b60008282905011613234576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161322b90614eb3565b60405180910390fd5b60005b8282905081101561336257600073ffffffffffffffffffffffffffffffffffffffff1683838381811061326d5761326c614ed3565b5b9050602002016020810190613282919061415c565b73ffffffffffffffffffffffffffffffffffffffff16141580156133165750600260008484848181106132b8576132b7614ed3565b5b90506020020160208101906132cd919061415c565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b613355576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161334c90614c68565b60405180910390fd5b8080600101915050613237565b505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141580156133bd575060008273ffffffffffffffffffffffffffffffffffffffff163b14155b9050919050565b6000838390501161340a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161340190614eb3565b60405180910390fd5b60005b838390508160ff16101561354757600073ffffffffffffffffffffffffffffffffffffffff1684848360ff1681811061344957613448614ed3565b5b905060200201602081019061345e919061415c565b73ffffffffffffffffffffffffffffffffffffffff16036134b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134ab90614c68565b60405180910390fd5b8185600086868560ff168181106134ce576134cd614ed3565b5b90506020020160208101906134e3919061415c565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550808061353f906151c8565b91505061340d565b5050505050565b6000613558612a5b565b9050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16036135cc5760006040517fe602df050000000000000000000000000000000000000000000000000000000081526004016135c391906141eb565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff160361363e5760006040517f94280d6200000000000000000000000000000000000000000000000000000000815260040161363591906141eb565b60405180910390fd5b828160010160008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550811561372d578373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925856040516137249190614141565b60405180910390a35b5050505050565b61373c613abf565b613772576040517fd7e6bcf800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b565b61377c613734565b6000613786612a5b565b90508281600301908161379991906153c2565b50818160040190816137ab91906153c2565b50505050565b6137b9613734565b6137c1613adf565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603613830576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613827906154e0565b60405180910390fd5b806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600061389e828473ffffffffffffffffffffffffffffffffffffffff16613af190919063ffffffff16565b905060008151141580156138c35750808060200190518101906138c1919061456c565b155b1561390557826040517f5274afe70000000000000000000000000000000000000000000000000000000081526004016138fc91906141eb565b60405180910390fd5b505050565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663e47d6060846040518263ffffffff1660e01b815260040161396391906141eb565b602060405180830381865afa158015613980573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906139a4919061456c565b158015613a48575060008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663e47d6060836040518263ffffffff1660e01b8152600401613a0591906141eb565b602060405180830381865afa158015613a22573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613a46919061456c565b155b613a87576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613a7e906148e1565b60405180910390fd5b613a92838383613b07565b505050565b60007f9b779b17422d0df92223018b32b4d1fa46e071723d6817e2486d003becc55f00905090565b6000613ac9612a9d565b60000160089054906101000a900460ff16905090565b613ae7613734565b613aef613d46565b565b6060613aff83836000613d67565b905092915050565b6000613b11612a5b565b9050600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603613b675781816002016000828254613b5b9190615128565b92505081905550613c40565b60008160000160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082811015613bf6578481846040517fe450d38c000000000000000000000000000000000000000000000000000000008152600401613bed93929190614bbc565b60405180910390fd5b8281038260000160008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550505b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603613c8b57818160020160008282540392505081905550613cdb565b818160000160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055505b8273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051613d389190614141565b60405180910390a350505050565b613d4e613734565b6000613d58613a97565b90506001816000018190555050565b606081471015613dae57306040517fcd786059000000000000000000000000000000000000000000000000000000008152600401613da591906141eb565b60405180910390fd5b6000808573ffffffffffffffffffffffffffffffffffffffff168486604051613dd79190615547565b60006040518083038185875af1925050503d8060008114613e14576040519150601f19603f3d011682016040523d82523d6000602084013e613e19565b606091505b5091509150613e29868383613e34565b925050509392505050565b606082613e4957613e4482613ec3565b613ebb565b60008251148015613e71575060008473ffffffffffffffffffffffffffffffffffffffff163b145b15613eb357836040517f9996b315000000000000000000000000000000000000000000000000000000008152600401613eaa91906141eb565b60405180910390fd5b819050613ebc565b5b9392505050565b600081511115613ed65780518082602001fd5b6040517f1425ea4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600081519050919050565b600082825260208201905092915050565b60005b83811015613f42578082015181840152602081019050613f27565b60008484015250505050565b6000601f19601f8301169050919050565b6000613f6a82613f08565b613f748185613f13565b9350613f84818560208601613f24565b613f8d81613f4e565b840191505092915050565b60006020820190508181036000830152613fb28184613f5f565b905092915050565b600080fd5b600080fd5b6000819050919050565b613fd781613fc4565b8114613fe257600080fd5b50565b600081359050613ff481613fce565b92915050565b6000602082840312156140105761400f613fba565b5b600061401e84828501613fe5565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061405282614027565b9050919050565b61406281614047565b811461406d57600080fd5b50565b60008135905061407f81614059565b92915050565b6000806040838503121561409c5761409b613fba565b5b60006140aa85828601614070565b92505060206140bb85828601613fe5565b9150509250929050565b60008115159050919050565b6140da816140c5565b82525050565b60006020820190506140f560008301846140d1565b92915050565b600060ff82169050919050565b614111816140fb565b82525050565b600060208201905061412c6000830184614108565b92915050565b61413b81613fc4565b82525050565b60006020820190506141566000830184614132565b92915050565b60006020828403121561417257614171613fba565b5b600061418084828501614070565b91505092915050565b6000806000606084860312156141a2576141a1613fba565b5b60006141b086828701614070565b93505060206141c186828701614070565b92505060406141d286828701613fe5565b9150509250925092565b6141e581614047565b82525050565b600060208201905061420060008301846141dc565b92915050565b60008060006060848603121561421f5761421e613fba565b5b600061422d86828701613fe5565b935050602061423e86828701614070565b925050604061424f86828701614070565b9150509250925092565b600080604083850312156142705761426f613fba565b5b600061427e85828601613fe5565b925050602061428f85828601614070565b9150509250929050565b600080fd5b600080fd5b600080fd5b60008083601f8401126142be576142bd614299565b5b8235905067ffffffffffffffff8111156142db576142da61429e565b5b6020830191508360208202830111156142f7576142f66142a3565b5b9250929050565b60008083601f84011261431457614313614299565b5b8235905067ffffffffffffffff8111156143315761433061429e565b5b60208301915083602082028301111561434d5761434c6142a3565b5b9250929050565b6000806000806000606086880312156143705761436f613fba565b5b600061437e88828901613fe5565b955050602086013567ffffffffffffffff81111561439f5761439e613fbf565b5b6143ab888289016142a8565b9450945050604086013567ffffffffffffffff8111156143ce576143cd613fbf565b5b6143da888289016142fe565b92509250509295509295909350565b60008060408385031215614400576143ff613fba565b5b600061440e85828601614070565b925050602061441f85828601614070565b9150509250929050565b614432816140c5565b811461443d57600080fd5b50565b60008135905061444f81614429565b92915050565b60008060006040848603121561446e5761446d613fba565b5b600084013567ffffffffffffffff81111561448c5761448b613fbf565b5b614498868287016142a8565b935093505060206144ab86828701614440565b9150509250925092565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806144fc57607f821691505b60208210810361450f5761450e6144b5565b5b50919050565b6000819050919050565b61452881614515565b82525050565b6000604082019050614543600083018561451f565b61455060208301846141dc565b9392505050565b60008151905061456681614429565b92915050565b60006020828403121561458257614581613fba565b5b600061459084828501614557565b91505092915050565b7f2161646d696e0000000000000000000000000000000000000000000000000000600082015250565b60006145cf600683613f13565b91506145da82614599565b602082019050919050565b600060208201905081810360008301526145fe816145c2565b9050919050565b7f21706572696f6400000000000000000000000000000000000000000000000000600082015250565b600061463b600783613f13565b915061464682614605565b602082019050919050565b6000602082019050818103600083015261466a8161462e565b9050919050565b6000819050919050565b600067ffffffffffffffff82169050919050565b6000819050919050565b60006146b46146af6146aa84614671565b61468f565b61467b565b9050919050565b6146c481614699565b82525050565b60006020820190506146df60008301846146bb565b92915050565b7f21746f6b656e0000000000000000000000000000000000000000000000000000600082015250565b600061471b600683613f13565b9150614726826146e5565b602082019050919050565b6000602082019050818103600083015261474a8161470e565b9050919050565b7f21757365722021616d6f756e7400000000000000000000000000000000000000600082015250565b6000614787600d83613f13565b915061479282614751565b602082019050919050565b600060208201905081810360008301526147b68161477a565b9050919050565b7f216d696e74657200000000000000000000000000000000000000000000000000600082015250565b60006147f3600783613f13565b91506147fe826147bd565b602082019050919050565b60006020820190508181036000830152614822816147e6565b9050919050565b7f7061757365640000000000000000000000000000000000000000000000000000600082015250565b600061485f600683613f13565b915061486a82614829565b602082019050919050565b6000602082019050818103600083015261488e81614852565b9050919050565b7f626c61636b6c6973746564000000000000000000000000000000000000000000600082015250565b60006148cb600b83613f13565b91506148d682614895565b602082019050919050565b600060208201905081810360008301526148fa816148be565b9050919050565b7f21616d6f756e7400000000000000000000000000000000000000000000000000600082015250565b6000614937600783613f13565b915061494282614901565b602082019050919050565b600060208201905081810360008301526149668161492a565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60008160011c9050919050565b6000808291508390505b60018511156149f3578086048111156149cf576149ce61496d565b5b60018516156149de5780820291505b80810290506149ec8561499c565b94506149b3565b94509492505050565b600082614a0c5760019050614ac8565b81614a1a5760009050614ac8565b8160018114614a305760028114614a3a57614a69565b6001915050614ac8565b60ff841115614a4c57614a4b61496d565b5b8360020a915084821115614a6357614a6261496d565b5b50614ac8565b5060208310610133831016604e8410600b8410161715614a9e5782820a905083811115614a9957614a9861496d565b5b614ac8565b614aab84848460016149a9565b92509050818404811115614ac257614ac161496d565b5b81810290505b9392505050565b6000614ada82613fc4565b9150614ae5836140fb565b9250614b127fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff84846149fc565b905092915050565b6000614b2582613fc4565b9150614b3083613fc4565b9250828202614b3e81613fc4565b91508282048414831517614b5557614b5461496d565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614b9682613fc4565b9150614ba183613fc4565b925082614bb157614bb0614b5c565b5b828204905092915050565b6000606082019050614bd160008301866141dc565b614bde6020830185614132565b614beb6040830184614132565b949350505050565b6000604082019050614c086000830185614132565b614c156020830184614132565b9392505050565b7f2161646472657373000000000000000000000000000000000000000000000000600082015250565b6000614c52600883613f13565b9150614c5d82614c1c565b602082019050919050565b60006020820190508181036000830152614c8181614c45565b9050919050565b614c91816140fb565b8114614c9c57600080fd5b50565b600081519050614cae81614c88565b92915050565b600060208284031215614cca57614cc9613fba565b5b6000614cd884828501614c9f565b91505092915050565b600081519050614cf081613fce565b92915050565b600060208284031215614d0c57614d0b613fba565b5b6000614d1a84828501614ce1565b91505092915050565b7f21636d6772000000000000000000000000000000000000000000000000000000600082015250565b6000614d59600583613f13565b9150614d6482614d23565b602082019050919050565b60006020820190508181036000830152614d8881614d4c565b9050919050565b7f2176616c69640000000000000000000000000000000000000000000000000000600082015250565b6000614dc5600683613f13565b9150614dd082614d8f565b602082019050919050565b60006020820190508181036000830152614df481614db8565b9050919050565b7f2162616c616e6365000000000000000000000000000000000000000000000000600082015250565b6000614e31600883613f13565b9150614e3c82614dfb565b602082019050919050565b60006020820190508181036000830152614e6081614e24565b9050919050565b7f216c656e67746800000000000000000000000000000000000000000000000000600082015250565b6000614e9d600783613f13565b9150614ea882614e67565b602082019050919050565b60006020820190508181036000830152614ecc81614e90565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600081519050614f1181614059565b92915050565b600060208284031215614f2d57614f2c613fba565b5b6000614f3b84828501614f02565b91505092915050565b7f216f776e65720000000000000000000000000000000000000000000000000000600082015250565b6000614f7a600683613f13565b9150614f8582614f44565b602082019050919050565b60006020820190508181036000830152614fa981614f6d565b9050919050565b60008060408385031215614fc757614fc6613fba565b5b6000614fd585828601614ce1565b9250506020614fe685828601614ce1565b9150509250929050565b7f21636f6f6c696e67000000000000000000000000000000000000000000000000600082015250565b6000615026600883613f13565b915061503182614ff0565b602082019050919050565b6000602082019050818103600083015261505581615019565b9050919050565b7f21636f6e74726163740000000000000000000000000000000000000000000000600082015250565b6000615092600983613f13565b915061509d8261505c565b602082019050919050565b600060208201905081810360008301526150c181615085565b9050919050565b60006040820190506150dd60008301856141dc565b6150ea6020830184614132565b9392505050565b600060608201905061510660008301866141dc565b61511360208301856141dc565b6151206040830184614132565b949350505050565b600061513382613fc4565b915061513e83613fc4565b92508282019050808211156151565761515561496d565b5b92915050565b7f21746f74616c0000000000000000000000000000000000000000000000000000600082015250565b6000615192600683613f13565b915061519d8261515c565b602082019050919050565b600060208201905081810360008301526151c181615185565b9050919050565b60006151d3826140fb565b915060ff82036151e6576151e561496d565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026152827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82615245565b61528c8683615245565b95508019841693508086168417925050509392505050565b60006152bf6152ba6152b584613fc4565b61468f565b613fc4565b9050919050565b6000819050919050565b6152d9836152a4565b6152ed6152e5826152c6565b848454615252565b825550505050565b600090565b6153026152f5565b61530d8184846152d0565b505050565b5b81811015615331576153266000826152fa565b600181019050615313565b5050565b601f8211156153765761534781615220565b61535084615235565b8101602085101561535f578190505b61537361536b85615235565b830182615312565b50505b505050565b600082821c905092915050565b60006153996000198460080261537b565b1980831691505092915050565b60006153b28383615388565b9150826002028217905092915050565b6153cb82613f08565b67ffffffffffffffff8111156153e4576153e36151f1565b5b6153ee82546144e4565b6153f9828285615335565b600060209050601f83116001811461542c576000841561541a578287015190505b61542485826153a6565b86555061548c565b601f19841661543a86615220565b60005b828110156154625784890151825560018201915060208501945060208101905061543d565b8683101561547f578489015161547b601f891682615388565b8355505b6001600288020188555050505b505050505050565b7f2161646d696e6973747261746f72000000000000000000000000000000000000600082015250565b60006154ca600e83613f13565b91506154d582615494565b602082019050919050565b600060208201905081810360008301526154f9816154bd565b9050919050565b600081519050919050565b600081905092915050565b600061552182615500565b61552b818561550b565b935061553b818560208601613f24565b80840191505092915050565b60006155538284615516565b91508190509291505056fea2646970667358221220e2b5db295db60e8957f8417d68c616b91f5c49f29fdaaa119ff90eacd8c8da6264736f6c63430008180033

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

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