false
true
0

Contract Address Details

0xf7Ca53Dd22fD7999Be847961e6DCB7494d3DcD00

Contract Name
JPEGVaultRouter
Creator
0x7a2716–6d551b at 0x0fd07c–4d5594
Balance
0 PLS ( )
Tokens
Fetching tokens...
Transactions
Fetching transactions...
Transfers
Fetching transfers...
Gas Used
Fetching gas used...
Last Balance Update
27614480
Warning! Contract bytecode has been changed and doesn't match the verified one. Therefore, interaction with this smart contract may be risky.
This contract has been verified via Sourcify. View contract in Sourcify repository
Contract name:
JPEGVaultRouter




Optimization enabled
true
Compiler version
v0.8.4+commit.c7e474f2




Optimization runs
300
EVM Version
istanbul




Verified at
2026-05-17T22:23:58.753710Z

contracts/vaults/JPEGVaultRouter.sol

// SPDX-License-Identifier: GPL-3.0
pragma solidity ^0.8.4;

import "@openzeppelin/contracts-upgradeable/security/ReentrancyGuardUpgradeable.sol";
import "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol";

import "../interfaces/INFTVault.sol";
import "../interfaces/IVaultHelper.sol";

contract JPEGVaultRouter is ReentrancyGuardUpgradeable, OwnableUpgradeable {
    error InvalidLength();
    error UnknownAction(uint8 action);
    error UnknownVault(INFTVault vault);
    error IncompatibleVaults(INFTVault sourceVault, INFTVault destVault);

    event PositionMigrated(
        uint256 indexed nftIndex,
        INFTVault indexed sourceVault,
        INFTVault indexed destVault
    );

    struct BatchAction {
        address target;
        uint8[] actions;
        bytes[] data;
    }

    uint8 private constant ACTION_MIGRATE = 200;

    mapping(INFTVault => bool) public whitelistedVaults;
    mapping(INFTVault => bool) internal wrappedVaults;

    function initialize() external initializer {
        __Ownable_init();
        __ReentrancyGuard_init();
    }


    /// @notice Executes multiple actions on the specified vaults in one transaction.
    /// @dev If `_actions.target` equals `address(this)`, executes actions locally.
    function batchExecute(BatchAction[] calldata _actions)
        external
        nonReentrant
    {
        uint256 _length = _actions.length;
        if (_length == 0) revert InvalidLength();

        for (uint256 i = 0; i < _length; ++i) {
            address _target = _actions[i].target;
            if (_target == address(this)) {
                _batchExecuteSelf(_actions[i].actions, _actions[i].data);
            } else if (whitelistedVaults[INFTVault(_target)]) {
                INFTVault(_target).doActionsFor(
                    msg.sender,
                    _actions[i].actions,
                    _actions[i].data
                );
            } else {
                revert UnknownVault(INFTVault(_target));
            }
        }
    }

    /// @notice Executes multiple (local) actions at once. 
    function batchExecuteSelf(uint8[] calldata _actions, bytes[] calldata _data)
        external
        nonReentrant
    {
        _batchExecuteSelf(_actions, _data);
    }

    function whitelistVault(address _vault, bool _isWrapped)
        external
        onlyOwner
    {
        if (_vault == address(0)) revert();

        whitelistedVaults[INFTVault(_vault)] = true;
        wrappedVaults[INFTVault(_vault)] = _isWrapped;
    }

    function removeVault(INFTVault _vault) external onlyOwner {
        delete whitelistedVaults[_vault];
        delete wrappedVaults[_vault];
    }

    function _batchExecuteSelf(
        uint8[] calldata _actions,
        bytes[] calldata _data
    ) internal {
        if (_actions.length != _data.length) revert InvalidLength();
        for (uint256 i; i < _actions.length; ++i) {
            uint8 _action = _actions[i];
            if (_action == ACTION_MIGRATE) {
                (
                    INFTVault _sourceVault,
                    INFTVault _destVault,
                    uint256 _nftIndex
                ) = abi.decode(_data[i], (INFTVault, INFTVault, uint256));
                _migratePosition(_sourceVault, _destVault, _nftIndex);
            } else revert UnknownAction(_action);
        }
    }
    
    /// @notice Migrates the position at `_nftIndex` from `_sourceVault` to `_destVault`.
    /// Both vaults must be whitelisted, use the same collection as collateral and the same stablecoin.
    /// In case of wrapped NFTs, the underlying `nftAddress` is compared.
    /// Insurance is kept after the migration.
    function _migratePosition(
        INFTVault _sourceVault,
        INFTVault _destVault,
        uint256 _nftIndex
    ) internal {
        if (_sourceVault == _destVault) revert();

        if (!whitelistedVaults[_sourceVault]) revert UnknownVault(_sourceVault);
        if (!whitelistedVaults[_destVault]) revert UnknownVault(_destVault);

        if (_sourceVault.stablecoin() != _destVault.stablecoin())
            revert IncompatibleVaults(_sourceVault, _destVault);

        bool _isWrapped = wrappedVaults[_sourceVault];
        if (_isWrapped != wrappedVaults[_destVault])
            revert IncompatibleVaults(_sourceVault, _destVault);

        INFTVault.Position memory _position = _sourceVault.positions(_nftIndex);
        address _strategy;
        if (
            _position.strategy != address(0) &&
            _destVault.hasStrategy(_position.strategy)
        ) _strategy = _position.strategy;

        address _sourceNft = _sourceVault.nftContract();
        address _destNft = _destVault.nftContract();

        uint256 _debt;
        if (_isWrapped) {
            if (
                IVaultHelper(_sourceNft).nftContract() !=
                IVaultHelper(_destNft).nftContract()
            ) revert IncompatibleVaults(_sourceVault, _destVault);

            _debt = _sourceVault.forceClosePosition(
                msg.sender,
                _nftIndex,
                _strategy == address(0) ? _destNft : _strategy
            );
        } else if (_sourceNft != _destNft) {
            revert IncompatibleVaults(_sourceVault, _destVault);
        } else
            _debt = _sourceVault.forceClosePosition(
                msg.sender,
                _nftIndex,
                _strategy == address(0) ? address(_destVault) : _strategy
            );

        _destVault.importPosition(
            msg.sender,
            _nftIndex,
            _debt,
            _position.borrowType == INFTVault.BorrowType.USE_INSURANCE,
            _strategy
        );

        emit PositionMigrated(_nftIndex, _sourceVault, _destVault);
    }
}
        

/ContextUpgradeable.sol

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

pragma solidity ^0.8.0;
import "../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;
    }

    /**
     * @dev This empty reserved space is put in place to allow future versions to add new
     * variables without shifting down storage in the inheritance chain.
     * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps
     */
    uint256[50] private __gap;
}
          

/AddressUpgradeable.sol

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

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

/Initializable.sol

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

pragma solidity ^0.8.0;

import "../../utils/AddressUpgradeable.sol";

/**
 * @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.
 *
 * 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 initialize the implementation contract, you can either invoke the
 * initializer manually, or you can include a constructor to automatically mark it as initialized when it is deployed:
 *
 * [.hljs-theme-light.nopadding]
 * ```
 * /// @custom:oz-upgrades-unsafe-allow constructor
 * constructor() initializer {}
 * ```
 * ====
 */
abstract contract Initializable {
    /**
     * @dev Indicates that the contract has been initialized.
     */
    bool private _initialized;

    /**
     * @dev Indicates that the contract is in the process of being initialized.
     */
    bool private _initializing;

    /**
     * @dev Modifier to protect an initializer function from being invoked twice.
     */
    modifier initializer() {
        // If the contract is initializing we ignore whether _initialized is set in order to support multiple
        // inheritance patterns, but we only do this in the context of a constructor, because in other contexts the
        // contract may have been reentered.
        require(_initializing ? _isConstructor() : !_initialized, "Initializable: contract is already initialized");

        bool isTopLevelCall = !_initializing;
        if (isTopLevelCall) {
            _initializing = true;
            _initialized = true;
        }

        _;

        if (isTopLevelCall) {
            _initializing = false;
        }
    }

    /**
     * @dev Modifier to protect an initialization function so that it can only be invoked by functions with the
     * {initializer} modifier, directly or indirectly.
     */
    modifier onlyInitializing() {
        require(_initializing, "Initializable: contract is not initializing");
        _;
    }

    function _isConstructor() private view returns (bool) {
        return !AddressUpgradeable.isContract(address(this));
    }
}
          

/IVaultHelper.sol

// SPDX-License-Identifier: GPL-3.0
pragma solidity ^0.8.4;

interface IVaultHelper {
    function nftContract() external view returns (address);

    function ownerOf(uint256 _idx) external view returns (address);

    function transferFrom(
        address _from,
        address _to,
        uint256 _idx
    ) external;

    function safeTransferFrom(
        address _from,
        address _to,
        uint256 _idx
    ) external;
}
          

/INFTVault.sol

// SPDX-License-Identifier: GPL-3.0
pragma solidity ^0.8.4;

interface INFTVault {
    struct Rate {
        uint128 numerator;
        uint128 denominator;
    }

    struct VaultSettings {
        Rate debtInterestApr;
        /// @custom:oz-renamed-from creditLimitRate
        Rate unused15;
        /// @custom:oz-renamed-from liquidationLimitRate
        Rate unused16;
        /// @custom:oz-renamed-from cigStakedCreditLimitRate
        Rate unused17;
        /// @custom:oz-renamed-from cigStakedLiquidationLimitRate
        Rate unused18;
        /// @custom:oz-renamed-from valueIncreaseLockRate
        Rate unused12;
        Rate organizationFeeRate;
        Rate insurancePurchaseRate;
        Rate insuranceLiquidationPenaltyRate;
        uint256 insuranceRepurchaseTimeLimit;
        uint256 borrowAmountCap;
    }

    enum BorrowType {
        NOT_CONFIRMED,
        NON_INSURANCE,
        USE_INSURANCE
    }

    struct Position {
        BorrowType borrowType;
        uint256 debtPrincipal;
        uint256 debtPortion;
        uint256 debtAmountForRepurchase;
        uint256 liquidatedAt;
        address liquidator;
        address strategy;
    }

    function settings() external view returns (VaultSettings memory);

    function accrue() external;

    function setSettings(VaultSettings calldata _settings) external;

    function doActionsFor(
        address _account,
        uint8[] calldata _actions,
        bytes[] calldata _data
    ) external;

    function hasStrategy(address _strategy) external view returns (bool);

    function stablecoin() external view returns (address);
    function nftContract() external view returns (address);

    function positions(uint256 _idx) external view returns (Position memory);

    function forceClosePosition(
        address _account,
        uint256 _nftIndex,
        address _recipient
    ) external returns (uint256);

    function importPosition(
        address _account,
        uint256 _nftIndex,
        uint256 _amount,
        bool _insurance,
        address _strategy
    ) external;
}
          

/OwnableUpgradeable.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

pragma solidity ^0.8.0;

import "../utils/ContextUpgradeable.sol";
import "../proxy/utils/Initializable.sol";

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

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    function __Ownable_init() internal onlyInitializing {
        __Ownable_init_unchained();
    }

    function __Ownable_init_unchained() internal onlyInitializing {
        _transferOwnership(_msgSender());
    }

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

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

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

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

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }

    /**
     * @dev This empty reserved space is put in place to allow future versions to add new
     * variables without shifting down storage in the inheritance chain.
     * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps
     */
    uint256[49] private __gap;
}
          

/ReentrancyGuardUpgradeable.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;
import "../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;

    uint256 private _status;

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

    function __ReentrancyGuard_init_unchained() internal onlyInitializing {
        _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() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;

        _;

        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }

    /**
     * @dev This empty reserved space is put in place to allow future versions to add new
     * variables without shifting down storage in the inheritance chain.
     * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps
     */
    uint256[49] private __gap;
}
          

Compiler Settings

{"remappings":[],"optimizer":{"runs":300,"enabled":true},"metadata":{"bytecodeHash":"ipfs"},"libraries":{},"evmVersion":"istanbul","compilationTarget":{"contracts/vaults/JPEGVaultRouter.sol":"JPEGVaultRouter"}}
              

Contract ABI

[{"type":"error","name":"IncompatibleVaults","inputs":[{"type":"address","name":"sourceVault","internalType":"contract INFTVault"},{"type":"address","name":"destVault","internalType":"contract INFTVault"}]},{"type":"error","name":"InvalidLength","inputs":[]},{"type":"error","name":"UnknownAction","inputs":[{"type":"uint8","name":"action","internalType":"uint8"}]},{"type":"error","name":"UnknownVault","inputs":[{"type":"address","name":"vault","internalType":"contract INFTVault"}]},{"type":"event","name":"OwnershipTransferred","inputs":[{"type":"address","name":"previousOwner","internalType":"address","indexed":true},{"type":"address","name":"newOwner","internalType":"address","indexed":true}],"anonymous":false},{"type":"event","name":"PositionMigrated","inputs":[{"type":"uint256","name":"nftIndex","internalType":"uint256","indexed":true},{"type":"address","name":"sourceVault","internalType":"contract INFTVault","indexed":true},{"type":"address","name":"destVault","internalType":"contract INFTVault","indexed":true}],"anonymous":false},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"batchExecute","inputs":[{"type":"tuple[]","name":"_actions","internalType":"struct JPEGVaultRouter.BatchAction[]","components":[{"type":"address","name":"target","internalType":"address"},{"type":"uint8[]","name":"actions","internalType":"uint8[]"},{"type":"bytes[]","name":"data","internalType":"bytes[]"}]}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"batchExecuteSelf","inputs":[{"type":"uint8[]","name":"_actions","internalType":"uint8[]"},{"type":"bytes[]","name":"_data","internalType":"bytes[]"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"initialize","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"owner","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"removeVault","inputs":[{"type":"address","name":"_vault","internalType":"contract INFTVault"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"renounceOwnership","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"transferOwnership","inputs":[{"type":"address","name":"newOwner","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"whitelistVault","inputs":[{"type":"address","name":"_vault","internalType":"address"},{"type":"bool","name":"_isWrapped","internalType":"bool"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"whitelistedVaults","inputs":[{"type":"address","name":"","internalType":"contract INFTVault"}]}]
              

Contract Creation Code

0x608060405234801561001057600080fd5b50611737806100206000396000f3fe608060405234801561001057600080fd5b50600436106100935760003560e01c80638da5cb5b116100665780638da5cb5b146100f557806397d7e64b14610110578063ceb68c2314610123578063e6e66c6814610136578063f2fde38b1461014957600080fd5b80630576152f14610098578063574b7675146100ad578063715018a6146100e55780638129fc1c146100ed575b600080fd5b6100ab6100a636600461131a565b61015c565b005b6100d06100bb366004611263565b60976020526000908152604090205460ff1681565b60405190151581526020015b60405180910390f35b6100ab6101cf565b6100ab610235565b6065546040516001600160a01b0390911681526020016100dc565b6100ab61011e3660046112da565b6102fe565b6100ab610131366004611263565b61059f565b6100ab6101443660046112a2565b61062f565b6100ab610157366004611263565b6106df565b600260015414156101b45760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064015b60405180910390fd5b60026001556101c5848484846107a7565b5050600180555050565b6065546001600160a01b031633146102295760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016101ab565b61023360006108aa565b565b600054610100900460ff166102505760005460ff1615610254565b303b155b6102b75760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084016101ab565b600054610100900460ff161580156102d9576000805461ffff19166101011790555b6102e1610909565b6102e9610938565b80156102fb576000805461ff00191690555b50565b600260015414156103515760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016101ab565b600260015580806103755760405163251f56a160e21b815260040160405180910390fd5b60005b818110156101c55760008484838181106103a257634e487b7160e01b600052603260045260246000fd5b90506020028101906103b49190611698565b6103c2906020810190611263565b90506001600160a01b0381163014156104625761045d8585848181106103f857634e487b7160e01b600052603260045260246000fd5b905060200281019061040a9190611698565b61041890602081019061160b565b87878681811061043857634e487b7160e01b600052603260045260246000fd5b905060200281019061044a9190611698565b61045890604081019061160b565b6107a7565b61058e565b6001600160a01b03811660009081526097602052604090205460ff161561056a57806001600160a01b03166397f63706338787868181106104b357634e487b7160e01b600052603260045260246000fd5b90506020028101906104c59190611698565b6104d390602081019061160b565b8989888181106104f357634e487b7160e01b600052603260045260246000fd5b90506020028101906105059190611698565b61051390604081019061160b565b6040518663ffffffff1660e01b81526004016105339594939291906114d9565b600060405180830381600087803b15801561054d57600080fd5b505af1158015610561573d6000803e3d6000fd5b5050505061058e565b6040516376bfd6b960e01b81526001600160a01b03821660048201526024016101ab565b50610598816116b7565b9050610378565b6065546001600160a01b031633146105f95760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016101ab565b6001600160a01b03166000908152609760209081526040808320805460ff19908116909155609890925290912080549091169055565b6065546001600160a01b031633146106895760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016101ab565b6001600160a01b03821661069c57600080fd5b6001600160a01b039091166000908152609760209081526040808320805460ff199081166001179091556098909252909120805492151592909116919091179055565b6065546001600160a01b031633146107395760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016101ab565b6001600160a01b03811661079e5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016101ab565b6102fb816108aa565b8281146107c75760405163251f56a160e21b815260040160405180910390fd5b60005b838110156108a35760008585838181106107f457634e487b7160e01b600052603260045260246000fd5b90506020020160208101906108099190611496565b905060ff811660c8141561087457600080600086868681811061083c57634e487b7160e01b600052603260045260246000fd5b905060200281019061084e9190611653565b81019061085b919061139f565b92509250925061086c838383610967565b505050610892565b6040516360df9f8760e01b815260ff821660048201526024016101ab565b5061089c816116b7565b90506107ca565b5050505050565b606580546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600054610100900460ff166109305760405162461bcd60e51b81526004016101ab906115c0565b61023361118c565b600054610100900460ff1661095f5760405162461bcd60e51b81526004016101ab906115c0565b6102336111bc565b816001600160a01b0316836001600160a01b0316141561098657600080fd5b6001600160a01b03831660009081526097602052604090205460ff166109ca576040516376bfd6b960e01b81526001600160a01b03841660048201526024016101ab565b6001600160a01b03821660009081526097602052604090205460ff16610a0e576040516376bfd6b960e01b81526001600160a01b03831660048201526024016101ab565b816001600160a01b031663e9cbd8226040518163ffffffff1660e01b815260040160206040518083038186803b158015610a4757600080fd5b505afa158015610a5b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a7f9190611286565b6001600160a01b0316836001600160a01b031663e9cbd8226040518163ffffffff1660e01b815260040160206040518083038186803b158015610ac157600080fd5b505afa158015610ad5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610af99190611286565b6001600160a01b031614610b3357604051632519ebbd60e21b81526001600160a01b038085166004830152831660248201526044016101ab565b6001600160a01b0383811660009081526098602052604080822054928516825290205460ff9182169116151581151514610b9357604051632519ebbd60e21b81526001600160a01b038086166004830152841660248201526044016101ab565b60405163133f757160e31b8152600481018390526000906001600160a01b038616906399fbab889060240160e06040518083038186803b158015610bd657600080fd5b505afa158015610bea573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c0e91906113df565b60c08101519091506000906001600160a01b031615801590610caa575060c082015160405163858434cd60e01b81526001600160a01b0391821660048201529086169063858434cd9060240160206040518083038186803b158015610c7257600080fd5b505afa158015610c86573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610caa9190611383565b15610cb6575060c08101515b6000866001600160a01b031663d56d229d6040518163ffffffff1660e01b815260040160206040518083038186803b158015610cf157600080fd5b505afa158015610d05573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d299190611286565b90506000866001600160a01b031663d56d229d6040518163ffffffff1660e01b815260040160206040518083038186803b158015610d6657600080fd5b505afa158015610d7a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d9e9190611286565b905060008515610f9057816001600160a01b031663d56d229d6040518163ffffffff1660e01b815260040160206040518083038186803b158015610de157600080fd5b505afa158015610df5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e199190611286565b6001600160a01b0316836001600160a01b031663d56d229d6040518163ffffffff1660e01b815260040160206040518083038186803b158015610e5b57600080fd5b505afa158015610e6f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e939190611286565b6001600160a01b031614610ecd57604051632519ebbd60e21b81526001600160a01b03808b166004830152891660248201526044016101ab565b886001600160a01b0316638be2692b338960006001600160a01b0316886001600160a01b031614610efe5787610f00565b855b60405160e085901b6001600160e01b03191681526001600160a01b03938416600482015260248101929092529091166044820152606401602060405180830381600087803b158015610f5157600080fd5b505af1158015610f65573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f89919061147e565b9050611094565b816001600160a01b0316836001600160a01b031614610fd557604051632519ebbd60e21b81526001600160a01b03808b166004830152891660248201526044016101ab565b886001600160a01b0316638be2692b338960006001600160a01b0316886001600160a01b0316146110065787611008565b8b5b60405160e085901b6001600160e01b03191681526001600160a01b03938416600482015260248101929092529091166044820152606401602060405180830381600087803b15801561105957600080fd5b505af115801561106d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611091919061147e565b90505b6001600160a01b03881663f8f9edbb33898460028a5160028111156110c957634e487b7160e01b600052602160045260246000fd5b6040516001600160e01b031960e088901b1681526001600160a01b03958616600482015260248101949094526044840192909252146064820152908716608482015260a401600060405180830381600087803b15801561112857600080fd5b505af115801561113c573d6000803e3d6000fd5b50505050876001600160a01b0316896001600160a01b0316887ff9aa0d532858359ccff65181d59fe26f025af4f8177041ab412e89a9148ba57b60405160405180910390a4505050505050505050565b600054610100900460ff166111b35760405162461bcd60e51b81526004016101ab906115c0565b610233336108aa565b600054610100900460ff166111e35760405162461bcd60e51b81526004016101ab906115c0565b60018055565b80516111f4816116de565b919050565b60008083601f84011261120a578182fd5b50813567ffffffffffffffff811115611221578182fd5b6020830191508360208260051b850101111561123c57600080fd5b9250929050565b8051600381106111f457600080fd5b803560ff811681146111f457600080fd5b600060208284031215611274578081fd5b813561127f816116de565b9392505050565b600060208284031215611297578081fd5b815161127f816116de565b600080604083850312156112b4578081fd5b82356112bf816116de565b915060208301356112cf816116f3565b809150509250929050565b600080602083850312156112ec578182fd5b823567ffffffffffffffff811115611302578283fd5b61130e858286016111f9565b90969095509350505050565b6000806000806040858703121561132f578182fd5b843567ffffffffffffffff80821115611346578384fd5b611352888389016111f9565b9096509450602087013591508082111561136a578384fd5b50611377878288016111f9565b95989497509550505050565b600060208284031215611394578081fd5b815161127f816116f3565b6000806000606084860312156113b3578283fd5b83356113be816116de565b925060208401356113ce816116de565b929592945050506040919091013590565b600060e082840312156113f0578081fd5b60405160e0810181811067ffffffffffffffff8211171561141f57634e487b7160e01b83526041600452602483fd5b60405261142b83611243565b81526020830151602082015260408301516040820152606083015160608201526080830151608082015261146160a084016111e9565b60a082015261147260c084016111e9565b60c08201529392505050565b60006020828403121561148f578081fd5b5051919050565b6000602082840312156114a7578081fd5b61127f82611252565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b6001600160a01b038616815260606020808301829052908201859052600090869060808401835b888110156115265760ff61151385611252565b1682529282019290820190600101611500565b5084810360408601528581528181019250600586901b8101820187855b888110156115af57838303601f190186528135368b9003601e19018112611568578788fd5b8a01803567ffffffffffffffff811115611580578889fd5b8036038c131561158e578889fd5b61159b85828985016114b0565b978701979450505090840190600101611543565b50909b9a5050505050505050505050565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b6000808335601e19843603018112611621578283fd5b83018035915067ffffffffffffffff82111561163b578283fd5b6020019150600581901b360382131561123c57600080fd5b6000808335601e19843603018112611669578283fd5b83018035915067ffffffffffffffff821115611683578283fd5b60200191503681900382131561123c57600080fd5b60008235605e198336030181126116ad578182fd5b9190910192915050565b60006000198214156116d757634e487b7160e01b81526011600452602481fd5b5060010190565b6001600160a01b03811681146102fb57600080fd5b80151581146102fb57600080fdfea26469706673582212209fdc1884030df2037d86ffec5b65fc4ac23ace50910b1381002cf78425d8aefb64736f6c63430008040033

Deployed ByteCode

0x608060405234801561001057600080fd5b50600436106100935760003560e01c80638da5cb5b116100665780638da5cb5b146100f557806397d7e64b14610110578063ceb68c2314610123578063e6e66c6814610136578063f2fde38b1461014957600080fd5b80630576152f14610098578063574b7675146100ad578063715018a6146100e55780638129fc1c146100ed575b600080fd5b6100ab6100a636600461131a565b61015c565b005b6100d06100bb366004611263565b60976020526000908152604090205460ff1681565b60405190151581526020015b60405180910390f35b6100ab6101cf565b6100ab610235565b6065546040516001600160a01b0390911681526020016100dc565b6100ab61011e3660046112da565b6102fe565b6100ab610131366004611263565b61059f565b6100ab6101443660046112a2565b61062f565b6100ab610157366004611263565b6106df565b600260015414156101b45760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064015b60405180910390fd5b60026001556101c5848484846107a7565b5050600180555050565b6065546001600160a01b031633146102295760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016101ab565b61023360006108aa565b565b600054610100900460ff166102505760005460ff1615610254565b303b155b6102b75760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084016101ab565b600054610100900460ff161580156102d9576000805461ffff19166101011790555b6102e1610909565b6102e9610938565b80156102fb576000805461ff00191690555b50565b600260015414156103515760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016101ab565b600260015580806103755760405163251f56a160e21b815260040160405180910390fd5b60005b818110156101c55760008484838181106103a257634e487b7160e01b600052603260045260246000fd5b90506020028101906103b49190611698565b6103c2906020810190611263565b90506001600160a01b0381163014156104625761045d8585848181106103f857634e487b7160e01b600052603260045260246000fd5b905060200281019061040a9190611698565b61041890602081019061160b565b87878681811061043857634e487b7160e01b600052603260045260246000fd5b905060200281019061044a9190611698565b61045890604081019061160b565b6107a7565b61058e565b6001600160a01b03811660009081526097602052604090205460ff161561056a57806001600160a01b03166397f63706338787868181106104b357634e487b7160e01b600052603260045260246000fd5b90506020028101906104c59190611698565b6104d390602081019061160b565b8989888181106104f357634e487b7160e01b600052603260045260246000fd5b90506020028101906105059190611698565b61051390604081019061160b565b6040518663ffffffff1660e01b81526004016105339594939291906114d9565b600060405180830381600087803b15801561054d57600080fd5b505af1158015610561573d6000803e3d6000fd5b5050505061058e565b6040516376bfd6b960e01b81526001600160a01b03821660048201526024016101ab565b50610598816116b7565b9050610378565b6065546001600160a01b031633146105f95760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016101ab565b6001600160a01b03166000908152609760209081526040808320805460ff19908116909155609890925290912080549091169055565b6065546001600160a01b031633146106895760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016101ab565b6001600160a01b03821661069c57600080fd5b6001600160a01b039091166000908152609760209081526040808320805460ff199081166001179091556098909252909120805492151592909116919091179055565b6065546001600160a01b031633146107395760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016101ab565b6001600160a01b03811661079e5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016101ab565b6102fb816108aa565b8281146107c75760405163251f56a160e21b815260040160405180910390fd5b60005b838110156108a35760008585838181106107f457634e487b7160e01b600052603260045260246000fd5b90506020020160208101906108099190611496565b905060ff811660c8141561087457600080600086868681811061083c57634e487b7160e01b600052603260045260246000fd5b905060200281019061084e9190611653565b81019061085b919061139f565b92509250925061086c838383610967565b505050610892565b6040516360df9f8760e01b815260ff821660048201526024016101ab565b5061089c816116b7565b90506107ca565b5050505050565b606580546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600054610100900460ff166109305760405162461bcd60e51b81526004016101ab906115c0565b61023361118c565b600054610100900460ff1661095f5760405162461bcd60e51b81526004016101ab906115c0565b6102336111bc565b816001600160a01b0316836001600160a01b0316141561098657600080fd5b6001600160a01b03831660009081526097602052604090205460ff166109ca576040516376bfd6b960e01b81526001600160a01b03841660048201526024016101ab565b6001600160a01b03821660009081526097602052604090205460ff16610a0e576040516376bfd6b960e01b81526001600160a01b03831660048201526024016101ab565b816001600160a01b031663e9cbd8226040518163ffffffff1660e01b815260040160206040518083038186803b158015610a4757600080fd5b505afa158015610a5b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a7f9190611286565b6001600160a01b0316836001600160a01b031663e9cbd8226040518163ffffffff1660e01b815260040160206040518083038186803b158015610ac157600080fd5b505afa158015610ad5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610af99190611286565b6001600160a01b031614610b3357604051632519ebbd60e21b81526001600160a01b038085166004830152831660248201526044016101ab565b6001600160a01b0383811660009081526098602052604080822054928516825290205460ff9182169116151581151514610b9357604051632519ebbd60e21b81526001600160a01b038086166004830152841660248201526044016101ab565b60405163133f757160e31b8152600481018390526000906001600160a01b038616906399fbab889060240160e06040518083038186803b158015610bd657600080fd5b505afa158015610bea573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c0e91906113df565b60c08101519091506000906001600160a01b031615801590610caa575060c082015160405163858434cd60e01b81526001600160a01b0391821660048201529086169063858434cd9060240160206040518083038186803b158015610c7257600080fd5b505afa158015610c86573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610caa9190611383565b15610cb6575060c08101515b6000866001600160a01b031663d56d229d6040518163ffffffff1660e01b815260040160206040518083038186803b158015610cf157600080fd5b505afa158015610d05573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d299190611286565b90506000866001600160a01b031663d56d229d6040518163ffffffff1660e01b815260040160206040518083038186803b158015610d6657600080fd5b505afa158015610d7a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d9e9190611286565b905060008515610f9057816001600160a01b031663d56d229d6040518163ffffffff1660e01b815260040160206040518083038186803b158015610de157600080fd5b505afa158015610df5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e199190611286565b6001600160a01b0316836001600160a01b031663d56d229d6040518163ffffffff1660e01b815260040160206040518083038186803b158015610e5b57600080fd5b505afa158015610e6f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e939190611286565b6001600160a01b031614610ecd57604051632519ebbd60e21b81526001600160a01b03808b166004830152891660248201526044016101ab565b886001600160a01b0316638be2692b338960006001600160a01b0316886001600160a01b031614610efe5787610f00565b855b60405160e085901b6001600160e01b03191681526001600160a01b03938416600482015260248101929092529091166044820152606401602060405180830381600087803b158015610f5157600080fd5b505af1158015610f65573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f89919061147e565b9050611094565b816001600160a01b0316836001600160a01b031614610fd557604051632519ebbd60e21b81526001600160a01b03808b166004830152891660248201526044016101ab565b886001600160a01b0316638be2692b338960006001600160a01b0316886001600160a01b0316146110065787611008565b8b5b60405160e085901b6001600160e01b03191681526001600160a01b03938416600482015260248101929092529091166044820152606401602060405180830381600087803b15801561105957600080fd5b505af115801561106d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611091919061147e565b90505b6001600160a01b03881663f8f9edbb33898460028a5160028111156110c957634e487b7160e01b600052602160045260246000fd5b6040516001600160e01b031960e088901b1681526001600160a01b03958616600482015260248101949094526044840192909252146064820152908716608482015260a401600060405180830381600087803b15801561112857600080fd5b505af115801561113c573d6000803e3d6000fd5b50505050876001600160a01b0316896001600160a01b0316887ff9aa0d532858359ccff65181d59fe26f025af4f8177041ab412e89a9148ba57b60405160405180910390a4505050505050505050565b600054610100900460ff166111b35760405162461bcd60e51b81526004016101ab906115c0565b610233336108aa565b600054610100900460ff166111e35760405162461bcd60e51b81526004016101ab906115c0565b60018055565b80516111f4816116de565b919050565b60008083601f84011261120a578182fd5b50813567ffffffffffffffff811115611221578182fd5b6020830191508360208260051b850101111561123c57600080fd5b9250929050565b8051600381106111f457600080fd5b803560ff811681146111f457600080fd5b600060208284031215611274578081fd5b813561127f816116de565b9392505050565b600060208284031215611297578081fd5b815161127f816116de565b600080604083850312156112b4578081fd5b82356112bf816116de565b915060208301356112cf816116f3565b809150509250929050565b600080602083850312156112ec578182fd5b823567ffffffffffffffff811115611302578283fd5b61130e858286016111f9565b90969095509350505050565b6000806000806040858703121561132f578182fd5b843567ffffffffffffffff80821115611346578384fd5b611352888389016111f9565b9096509450602087013591508082111561136a578384fd5b50611377878288016111f9565b95989497509550505050565b600060208284031215611394578081fd5b815161127f816116f3565b6000806000606084860312156113b3578283fd5b83356113be816116de565b925060208401356113ce816116de565b929592945050506040919091013590565b600060e082840312156113f0578081fd5b60405160e0810181811067ffffffffffffffff8211171561141f57634e487b7160e01b83526041600452602483fd5b60405261142b83611243565b81526020830151602082015260408301516040820152606083015160608201526080830151608082015261146160a084016111e9565b60a082015261147260c084016111e9565b60c08201529392505050565b60006020828403121561148f578081fd5b5051919050565b6000602082840312156114a7578081fd5b61127f82611252565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b6001600160a01b038616815260606020808301829052908201859052600090869060808401835b888110156115265760ff61151385611252565b1682529282019290820190600101611500565b5084810360408601528581528181019250600586901b8101820187855b888110156115af57838303601f190186528135368b9003601e19018112611568578788fd5b8a01803567ffffffffffffffff811115611580578889fd5b8036038c131561158e578889fd5b61159b85828985016114b0565b978701979450505090840190600101611543565b50909b9a5050505050505050505050565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b6000808335601e19843603018112611621578283fd5b83018035915067ffffffffffffffff82111561163b578283fd5b6020019150600581901b360382131561123c57600080fd5b6000808335601e19843603018112611669578283fd5b83018035915067ffffffffffffffff821115611683578283fd5b60200191503681900382131561123c57600080fd5b60008235605e198336030181126116ad578182fd5b9190910192915050565b60006000198214156116d757634e487b7160e01b81526011600452602481fd5b5060010190565b6001600160a01b03811681146102fb57600080fd5b80151581146102fb57600080fdfea26469706673582212209fdc1884030df2037d86ffec5b65fc4ac23ace50910b1381002cf78425d8aefb64736f6c63430008040033