ETH Price: $3,019.74 (-3.68%)
 

Overview

Max Total Supply

258,926,215.890517 CARV

Holders

235,283 (0.00%)

Transfers

-
15,879 ( 58.63%)

Market

Price

$0.00 @ 0.000000 ETH

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

The CARV Protocol is a modular data layer that facilitates data exchange and value distribution across gaming, AI and ∞. It encompasses end-to-end data flow processes, including data verification, identity authentication, storage, processing, model training, and value distribution.

Contract Source Code Verified (Exact Match)

Contract Name:
CarvToken

Compiler Version
v0.8.20+commit.a1b79de6

Optimization Enabled:
Yes with 200 runs

Other Settings:
paris EvmVersion, GNU LGPLv3 license

Contract Source Code (Solidity)

/**
 *Submitted for verification at basescan.org on 2024-08-30
*/

// Sources flattened with hardhat v2.22.6 https://hardhat.org

// SPDX-License-Identifier: GPL-3.0 AND LZBL-1.2 AND MIT

// File @layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/[email protected]

// Original license: SPDX_License_Identifier: MIT

pragma solidity >=0.8.0;

struct SetConfigParam {
    uint32 eid;
    uint32 configType;
    bytes config;
}

interface IMessageLibManager {
    struct Timeout {
        address lib;
        uint256 expiry;
    }

    event LibraryRegistered(address newLib);
    event DefaultSendLibrarySet(uint32 eid, address newLib);
    event DefaultReceiveLibrarySet(uint32 eid, address newLib);
    event DefaultReceiveLibraryTimeoutSet(uint32 eid, address oldLib, uint256 expiry);
    event SendLibrarySet(address sender, uint32 eid, address newLib);
    event ReceiveLibrarySet(address receiver, uint32 eid, address newLib);
    event ReceiveLibraryTimeoutSet(address receiver, uint32 eid, address oldLib, uint256 timeout);

    function registerLibrary(address _lib) external;

    function isRegisteredLibrary(address _lib) external view returns (bool);

    function getRegisteredLibraries() external view returns (address[] memory);

    function setDefaultSendLibrary(uint32 _eid, address _newLib) external;

    function defaultSendLibrary(uint32 _eid) external view returns (address);

    function setDefaultReceiveLibrary(uint32 _eid, address _newLib, uint256 _gracePeriod) external;

    function defaultReceiveLibrary(uint32 _eid) external view returns (address);

    function setDefaultReceiveLibraryTimeout(uint32 _eid, address _lib, uint256 _expiry) external;

    function defaultReceiveLibraryTimeout(uint32 _eid) external view returns (address lib, uint256 expiry);

    function isSupportedEid(uint32 _eid) external view returns (bool);

    function isValidReceiveLibrary(address _receiver, uint32 _eid, address _lib) external view returns (bool);

    /// ------------------- OApp interfaces -------------------
    function setSendLibrary(address _oapp, uint32 _eid, address _newLib) external;

    function getSendLibrary(address _sender, uint32 _eid) external view returns (address lib);

    function isDefaultSendLibrary(address _sender, uint32 _eid) external view returns (bool);

    function setReceiveLibrary(address _oapp, uint32 _eid, address _newLib, uint256 _gracePeriod) external;

    function getReceiveLibrary(address _receiver, uint32 _eid) external view returns (address lib, bool isDefault);

    function setReceiveLibraryTimeout(address _oapp, uint32 _eid, address _lib, uint256 _expiry) external;

    function receiveLibraryTimeout(address _receiver, uint32 _eid) external view returns (address lib, uint256 expiry);

    function setConfig(address _oapp, address _lib, SetConfigParam[] calldata _params) external;

    function getConfig(
        address _oapp,
        address _lib,
        uint32 _eid,
        uint32 _configType
    ) external view returns (bytes memory config);
}


// File @layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/[email protected]

// Original license: SPDX_License_Identifier: MIT

pragma solidity >=0.8.0;

interface IMessagingChannel {
    event InboundNonceSkipped(uint32 srcEid, bytes32 sender, address receiver, uint64 nonce);
    event PacketNilified(uint32 srcEid, bytes32 sender, address receiver, uint64 nonce, bytes32 payloadHash);
    event PacketBurnt(uint32 srcEid, bytes32 sender, address receiver, uint64 nonce, bytes32 payloadHash);

    function eid() external view returns (uint32);

    // this is an emergency function if a message cannot be verified for some reasons
    // required to provide _nextNonce to avoid race condition
    function skip(address _oapp, uint32 _srcEid, bytes32 _sender, uint64 _nonce) external;

    function nilify(address _oapp, uint32 _srcEid, bytes32 _sender, uint64 _nonce, bytes32 _payloadHash) external;

    function burn(address _oapp, uint32 _srcEid, bytes32 _sender, uint64 _nonce, bytes32 _payloadHash) external;

    function nextGuid(address _sender, uint32 _dstEid, bytes32 _receiver) external view returns (bytes32);

    function inboundNonce(address _receiver, uint32 _srcEid, bytes32 _sender) external view returns (uint64);

    function outboundNonce(address _sender, uint32 _dstEid, bytes32 _receiver) external view returns (uint64);

    function inboundPayloadHash(
        address _receiver,
        uint32 _srcEid,
        bytes32 _sender,
        uint64 _nonce
    ) external view returns (bytes32);

    function lazyInboundNonce(address _receiver, uint32 _srcEid, bytes32 _sender) external view returns (uint64);
}


// File @layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/[email protected]

// Original license: SPDX_License_Identifier: MIT

pragma solidity >=0.8.0;

interface IMessagingComposer {
    event ComposeSent(address from, address to, bytes32 guid, uint16 index, bytes message);
    event ComposeDelivered(address from, address to, bytes32 guid, uint16 index);
    event LzComposeAlert(
        address indexed from,
        address indexed to,
        address indexed executor,
        bytes32 guid,
        uint16 index,
        uint256 gas,
        uint256 value,
        bytes message,
        bytes extraData,
        bytes reason
    );

    function composeQueue(
        address _from,
        address _to,
        bytes32 _guid,
        uint16 _index
    ) external view returns (bytes32 messageHash);

    function sendCompose(address _to, bytes32 _guid, uint16 _index, bytes calldata _message) external;

    function lzCompose(
        address _from,
        address _to,
        bytes32 _guid,
        uint16 _index,
        bytes calldata _message,
        bytes calldata _extraData
    ) external payable;
}


// File @layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/[email protected]

// Original license: SPDX_License_Identifier: MIT

pragma solidity >=0.8.0;

interface IMessagingContext {
    function isSendingMessage() external view returns (bool);

    function getSendContext() external view returns (uint32 dstEid, address sender);
}


// File @layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/[email protected]

// Original license: SPDX_License_Identifier: MIT

pragma solidity >=0.8.0;




struct MessagingParams {
    uint32 dstEid;
    bytes32 receiver;
    bytes message;
    bytes options;
    bool payInLzToken;
}

struct MessagingReceipt {
    bytes32 guid;
    uint64 nonce;
    MessagingFee fee;
}

struct MessagingFee {
    uint256 nativeFee;
    uint256 lzTokenFee;
}

struct Origin {
    uint32 srcEid;
    bytes32 sender;
    uint64 nonce;
}

interface ILayerZeroEndpointV2 is IMessageLibManager, IMessagingComposer, IMessagingChannel, IMessagingContext {
    event PacketSent(bytes encodedPayload, bytes options, address sendLibrary);

    event PacketVerified(Origin origin, address receiver, bytes32 payloadHash);

    event PacketDelivered(Origin origin, address receiver);

    event LzReceiveAlert(
        address indexed receiver,
        address indexed executor,
        Origin origin,
        bytes32 guid,
        uint256 gas,
        uint256 value,
        bytes message,
        bytes extraData,
        bytes reason
    );

    event LzTokenSet(address token);

    event DelegateSet(address sender, address delegate);

    function quote(MessagingParams calldata _params, address _sender) external view returns (MessagingFee memory);

    function send(
        MessagingParams calldata _params,
        address _refundAddress
    ) external payable returns (MessagingReceipt memory);

    function verify(Origin calldata _origin, address _receiver, bytes32 _payloadHash) external;

    function verifiable(Origin calldata _origin, address _receiver) external view returns (bool);

    function initializable(Origin calldata _origin, address _receiver) external view returns (bool);

    function lzReceive(
        Origin calldata _origin,
        address _receiver,
        bytes32 _guid,
        bytes calldata _message,
        bytes calldata _extraData
    ) external payable;

    // oapp can burn messages partially by calling this function with its own business logic if messages are verified in order
    function clear(address _oapp, Origin calldata _origin, bytes32 _guid, bytes calldata _message) external;

    function setLzToken(address _lzToken) external;

    function lzToken() external view returns (address);

    function nativeToken() external view returns (address);

    function setDelegate(address _delegate) external;
}


// File @layerzerolabs/lz-evm-oapp-v2/contracts/oapp/interfaces/[email protected]

// Original license: SPDX_License_Identifier: MIT

pragma solidity ^0.8.20;

/**
 * @title IOAppCore
 */
interface IOAppCore {
    // Custom error messages
    error OnlyPeer(uint32 eid, bytes32 sender);
    error NoPeer(uint32 eid);
    error InvalidEndpointCall();
    error InvalidDelegate();

    // Event emitted when a peer (OApp) is set for a corresponding endpoint
    event PeerSet(uint32 eid, bytes32 peer);

    /**
     * @notice Retrieves the OApp version information.
     * @return senderVersion The version of the OAppSender.sol contract.
     * @return receiverVersion The version of the OAppReceiver.sol contract.
     */
    function oAppVersion() external view returns (uint64 senderVersion, uint64 receiverVersion);

    /**
     * @notice Retrieves the LayerZero endpoint associated with the OApp.
     * @return iEndpoint The LayerZero endpoint as an interface.
     */
    function endpoint() external view returns (ILayerZeroEndpointV2 iEndpoint);

    /**
     * @notice Retrieves the peer (OApp) associated with a corresponding endpoint.
     * @param _eid The endpoint ID.
     * @return peer The peer address (OApp instance) associated with the corresponding endpoint.
     */
    function peers(uint32 _eid) external view returns (bytes32 peer);

    /**
     * @notice Sets the peer address (OApp instance) for a corresponding endpoint.
     * @param _eid The endpoint ID.
     * @param _peer The address of the peer to be associated with the corresponding endpoint.
     */
    function setPeer(uint32 _eid, bytes32 _peer) external;

    /**
     * @notice Sets the delegate address for the OApp Core.
     * @param _delegate The address of the delegate to be set.
     */
    function setDelegate(address _delegate) external;
}


// File @layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/[email protected]

// Original license: SPDX_License_Identifier: MIT

pragma solidity >=0.8.0;

interface ILayerZeroReceiver {
    function allowInitializePath(Origin calldata _origin) external view returns (bool);

    function nextNonce(uint32 _eid, bytes32 _sender) external view returns (uint64);

    function lzReceive(
        Origin calldata _origin,
        bytes32 _guid,
        bytes calldata _message,
        address _executor,
        bytes calldata _extraData
    ) external payable;
}


// File @layerzerolabs/lz-evm-oapp-v2/contracts/oapp/interfaces/[email protected]

// Original license: SPDX_License_Identifier: MIT
pragma solidity ^0.8.20;

interface IOAppReceiver is ILayerZeroReceiver {
    /**
     * @notice Indicates whether an address is an approved composeMsg sender to the Endpoint.
     * @param _origin The origin information containing the source endpoint and sender address.
     *  - srcEid: The source chain endpoint ID.
     *  - sender: The sender address on the src chain.
     *  - nonce: The nonce of the message.
     * @param _message The lzReceive payload.
     * @param _sender The sender address.
     * @return isSender Is a valid sender.
     *
     * @dev Applications can optionally choose to implement a separate composeMsg sender that is NOT the bridging layer.
     * @dev The default sender IS the OAppReceiver implementer.
     */
    function isComposeMsgSender(
        Origin calldata _origin,
        bytes calldata _message,
        address _sender
    ) external view returns (bool isSender);
}


// File @layerzerolabs/lz-evm-oapp-v2/contracts/oapp/interfaces/[email protected]

// Original license: SPDX_License_Identifier: MIT

pragma solidity ^0.8.20;

/**
 * @dev Struct representing enforced option parameters.
 */
struct EnforcedOptionParam {
    uint32 eid; // Endpoint ID
    uint16 msgType; // Message Type
    bytes options; // Additional options
}

/**
 * @title IOAppOptionsType3
 * @dev Interface for the OApp with Type 3 Options, allowing the setting and combining of enforced options.
 */
interface IOAppOptionsType3 {
    // Custom error message for invalid options
    error InvalidOptions(bytes options);

    // Event emitted when enforced options are set
    event EnforcedOptionSet(EnforcedOptionParam[] _enforcedOptions);

    /**
     * @notice Sets enforced options for specific endpoint and message type combinations.
     * @param _enforcedOptions An array of EnforcedOptionParam structures specifying enforced options.
     */
    function setEnforcedOptions(EnforcedOptionParam[] calldata _enforcedOptions) external;

    /**
     * @notice Combines options for a given endpoint and message type.
     * @param _eid The endpoint ID.
     * @param _msgType The OApp message type.
     * @param _extraOptions Additional options passed by the caller.
     * @return options The combination of caller specified options AND enforced options.
     */
    function combineOptions(
        uint32 _eid,
        uint16 _msgType,
        bytes calldata _extraOptions
    ) external view returns (bytes memory options);
}


// File @openzeppelin/contracts/utils/[email protected]

// Original license: SPDX_License_Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol)

pragma solidity ^0.8.20;

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

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

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


// File @openzeppelin/contracts/access/[email protected]

// Original license: SPDX_License_Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol)

pragma solidity ^0.8.20;

/**
 * @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.
 *
 * The initial owner is set to the address provided by the deployer. This can
 * later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

    /**
     * @dev The caller account is not authorized to perform an operation.
     */
    error OwnableUnauthorizedAccount(address account);

    /**
     * @dev The owner is not a valid owner account. (eg. `address(0)`)
     */
    error OwnableInvalidOwner(address owner);

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

    /**
     * @dev Initializes the contract setting the address provided by the deployer as the initial owner.
     */
    constructor(address initialOwner) {
        if (initialOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _transferOwnership(initialOwner);
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        if (owner() != _msgSender()) {
            revert OwnableUnauthorizedAccount(_msgSender());
        }
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby disabling 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 {
        if (newOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _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);
    }
}


// File @layerzerolabs/lz-evm-oapp-v2/contracts/oapp/libs/[email protected]

// Original license: SPDX_License_Identifier: MIT

pragma solidity ^0.8.20;


/**
 * @title OAppOptionsType3
 * @dev Abstract contract implementing the IOAppOptionsType3 interface with type 3 options.
 */
abstract contract OAppOptionsType3 is IOAppOptionsType3, Ownable {
    uint16 internal constant OPTION_TYPE_3 = 3;

    // @dev The "msgType" should be defined in the child contract.
    mapping(uint32 eid => mapping(uint16 msgType => bytes enforcedOption)) public enforcedOptions;

    /**
     * @dev Sets the enforced options for specific endpoint and message type combinations.
     * @param _enforcedOptions An array of EnforcedOptionParam structures specifying enforced options.
     *
     * @dev Only the owner/admin of the OApp can call this function.
     * @dev Provides a way for the OApp to enforce things like paying for PreCrime, AND/OR minimum dst lzReceive gas amounts etc.
     * @dev These enforced options can vary as the potential options/execution on the remote may differ as per the msgType.
     * eg. Amount of lzReceive() gas necessary to deliver a lzCompose() message adds overhead you dont want to pay
     * if you are only making a standard LayerZero message ie. lzReceive() WITHOUT sendCompose().
     */
    function setEnforcedOptions(EnforcedOptionParam[] calldata _enforcedOptions) public virtual onlyOwner {
        _setEnforcedOptions(_enforcedOptions);
    }

    /**
     * @dev Sets the enforced options for specific endpoint and message type combinations.
     * @param _enforcedOptions An array of EnforcedOptionParam structures specifying enforced options.
     *
     * @dev Provides a way for the OApp to enforce things like paying for PreCrime, AND/OR minimum dst lzReceive gas amounts etc.
     * @dev These enforced options can vary as the potential options/execution on the remote may differ as per the msgType.
     * eg. Amount of lzReceive() gas necessary to deliver a lzCompose() message adds overhead you dont want to pay
     * if you are only making a standard LayerZero message ie. lzReceive() WITHOUT sendCompose().
     */
    function _setEnforcedOptions(EnforcedOptionParam[] memory _enforcedOptions) internal virtual {
        for (uint256 i = 0; i < _enforcedOptions.length; i++) {
            // @dev Enforced options are only available for optionType 3, as type 1 and 2 dont support combining.
            _assertOptionsType3(_enforcedOptions[i].options);
            enforcedOptions[_enforcedOptions[i].eid][_enforcedOptions[i].msgType] = _enforcedOptions[i].options;
        }

        emit EnforcedOptionSet(_enforcedOptions);
    }

    /**
     * @notice Combines options for a given endpoint and message type.
     * @param _eid The endpoint ID.
     * @param _msgType The OAPP message type.
     * @param _extraOptions Additional options passed by the caller.
     * @return options The combination of caller specified options AND enforced options.
     *
     * @dev If there is an enforced lzReceive option:
     * - {gasLimit: 200k, msg.value: 1 ether} AND a caller supplies a lzReceive option: {gasLimit: 100k, msg.value: 0.5 ether}
     * - The resulting options will be {gasLimit: 300k, msg.value: 1.5 ether} when the message is executed on the remote lzReceive() function.
     * @dev This presence of duplicated options is handled off-chain in the verifier/executor.
     */
    function combineOptions(
        uint32 _eid,
        uint16 _msgType,
        bytes calldata _extraOptions
    ) public view virtual returns (bytes memory) {
        bytes memory enforced = enforcedOptions[_eid][_msgType];

        // No enforced options, pass whatever the caller supplied, even if it's empty or legacy type 1/2 options.
        if (enforced.length == 0) return _extraOptions;

        // No caller options, return enforced
        if (_extraOptions.length == 0) return enforced;

        // @dev If caller provided _extraOptions, must be type 3 as its the ONLY type that can be combined.
        if (_extraOptions.length >= 2) {
            _assertOptionsType3(_extraOptions);
            // @dev Remove the first 2 bytes containing the type from the _extraOptions and combine with enforced.
            return bytes.concat(enforced, _extraOptions[2:]);
        }

        // No valid set of options was found.
        revert InvalidOptions(_extraOptions);
    }

    /**
     * @dev Internal function to assert that options are of type 3.
     * @param _options The options to be checked.
     */
    function _assertOptionsType3(bytes memory _options) internal pure virtual {
        uint16 optionsType;
        assembly {
            optionsType := mload(add(_options, 2))
        }
        if (optionsType != OPTION_TYPE_3) revert InvalidOptions(_options);
    }
}


// File @layerzerolabs/lz-evm-oapp-v2/contracts/oapp/[email protected]

// Original license: SPDX_License_Identifier: MIT

pragma solidity ^0.8.20;


/**
 * @title OAppCore
 * @dev Abstract contract implementing the IOAppCore interface with basic OApp configurations.
 */
abstract contract OAppCore is IOAppCore, Ownable {
    // The LayerZero endpoint associated with the given OApp
    ILayerZeroEndpointV2 public immutable endpoint;

    // Mapping to store peers associated with corresponding endpoints
    mapping(uint32 eid => bytes32 peer) public peers;

    /**
     * @dev Constructor to initialize the OAppCore with the provided endpoint and delegate.
     * @param _endpoint The address of the LOCAL Layer Zero endpoint.
     * @param _delegate The delegate capable of making OApp configurations inside of the endpoint.
     *
     * @dev The delegate typically should be set as the owner of the contract.
     */
    constructor(address _endpoint, address _delegate) {
        endpoint = ILayerZeroEndpointV2(_endpoint);

        if (_delegate == address(0)) revert InvalidDelegate();
        endpoint.setDelegate(_delegate);
    }

    /**
     * @notice Sets the peer address (OApp instance) for a corresponding endpoint.
     * @param _eid The endpoint ID.
     * @param _peer The address of the peer to be associated with the corresponding endpoint.
     *
     * @dev Only the owner/admin of the OApp can call this function.
     * @dev Indicates that the peer is trusted to send LayerZero messages to this OApp.
     * @dev Set this to bytes32(0) to remove the peer address.
     * @dev Peer is a bytes32 to accommodate non-evm chains.
     */
    function setPeer(uint32 _eid, bytes32 _peer) public virtual onlyOwner {
        _setPeer(_eid, _peer);
    }

    /**
     * @notice Sets the peer address (OApp instance) for a corresponding endpoint.
     * @param _eid The endpoint ID.
     * @param _peer The address of the peer to be associated with the corresponding endpoint.
     *
     * @dev Indicates that the peer is trusted to send LayerZero messages to this OApp.
     * @dev Set this to bytes32(0) to remove the peer address.
     * @dev Peer is a bytes32 to accommodate non-evm chains.
     */
    function _setPeer(uint32 _eid, bytes32 _peer) internal virtual {
        peers[_eid] = _peer;
        emit PeerSet(_eid, _peer);
    }

    /**
     * @notice Internal function to get the peer address associated with a specific endpoint; reverts if NOT set.
     * ie. the peer is set to bytes32(0).
     * @param _eid The endpoint ID.
     * @return peer The address of the peer associated with the specified endpoint.
     */
    function _getPeerOrRevert(uint32 _eid) internal view virtual returns (bytes32) {
        bytes32 peer = peers[_eid];
        if (peer == bytes32(0)) revert NoPeer(_eid);
        return peer;
    }

    /**
     * @notice Sets the delegate address for the OApp.
     * @param _delegate The address of the delegate to be set.
     *
     * @dev Only the owner/admin of the OApp can call this function.
     * @dev Provides the ability for a delegate to set configs, on behalf of the OApp, directly on the Endpoint contract.
     */
    function setDelegate(address _delegate) public onlyOwner {
        endpoint.setDelegate(_delegate);
    }
}


// File @layerzerolabs/lz-evm-oapp-v2/contracts/oapp/[email protected]

// Original license: SPDX_License_Identifier: MIT

pragma solidity ^0.8.20;


/**
 * @title OAppReceiver
 * @dev Abstract contract implementing the ILayerZeroReceiver interface and extending OAppCore for OApp receivers.
 */
abstract contract OAppReceiver is IOAppReceiver, OAppCore {
    // Custom error message for when the caller is not the registered endpoint/
    error OnlyEndpoint(address addr);

    // @dev The version of the OAppReceiver implementation.
    // @dev Version is bumped when changes are made to this contract.
    uint64 internal constant RECEIVER_VERSION = 2;

    /**
     * @notice Retrieves the OApp version information.
     * @return senderVersion The version of the OAppSender.sol contract.
     * @return receiverVersion The version of the OAppReceiver.sol contract.
     *
     * @dev Providing 0 as the default for OAppSender version. Indicates that the OAppSender is not implemented.
     * ie. this is a RECEIVE only OApp.
     * @dev If the OApp uses both OAppSender and OAppReceiver, then this needs to be override returning the correct versions.
     */
    function oAppVersion() public view virtual returns (uint64 senderVersion, uint64 receiverVersion) {
        return (0, RECEIVER_VERSION);
    }

    /**
     * @notice Indicates whether an address is an approved composeMsg sender to the Endpoint.
     * @dev _origin The origin information containing the source endpoint and sender address.
     *  - srcEid: The source chain endpoint ID.
     *  - sender: The sender address on the src chain.
     *  - nonce: The nonce of the message.
     * @dev _message The lzReceive payload.
     * @param _sender The sender address.
     * @return isSender Is a valid sender.
     *
     * @dev Applications can optionally choose to implement separate composeMsg senders that are NOT the bridging layer.
     * @dev The default sender IS the OAppReceiver implementer.
     */
    function isComposeMsgSender(
        Origin calldata /*_origin*/,
        bytes calldata /*_message*/,
        address _sender
    ) public view virtual returns (bool) {
        return _sender == address(this);
    }

    /**
     * @notice Checks if the path initialization is allowed based on the provided origin.
     * @param origin The origin information containing the source endpoint and sender address.
     * @return Whether the path has been initialized.
     *
     * @dev This indicates to the endpoint that the OApp has enabled msgs for this particular path to be received.
     * @dev This defaults to assuming if a peer has been set, its initialized.
     * Can be overridden by the OApp if there is other logic to determine this.
     */
    function allowInitializePath(Origin calldata origin) public view virtual returns (bool) {
        return peers[origin.srcEid] == origin.sender;
    }

    /**
     * @notice Retrieves the next nonce for a given source endpoint and sender address.
     * @dev _srcEid The source endpoint ID.
     * @dev _sender The sender address.
     * @return nonce The next nonce.
     *
     * @dev The path nonce starts from 1. If 0 is returned it means that there is NO nonce ordered enforcement.
     * @dev Is required by the off-chain executor to determine the OApp expects msg execution is ordered.
     * @dev This is also enforced by the OApp.
     * @dev By default this is NOT enabled. ie. nextNonce is hardcoded to return 0.
     */
    function nextNonce(uint32 /*_srcEid*/, bytes32 /*_sender*/) public view virtual returns (uint64 nonce) {
        return 0;
    }

    /**
     * @dev Entry point for receiving messages or packets from the endpoint.
     * @param _origin The origin information containing the source endpoint and sender address.
     *  - srcEid: The source chain endpoint ID.
     *  - sender: The sender address on the src chain.
     *  - nonce: The nonce of the message.
     * @param _guid The unique identifier for the received LayerZero message.
     * @param _message The payload of the received message.
     * @param _executor The address of the executor for the received message.
     * @param _extraData Additional arbitrary data provided by the corresponding executor.
     *
     * @dev Entry point for receiving msg/packet from the LayerZero endpoint.
     */
    function lzReceive(
        Origin calldata _origin,
        bytes32 _guid,
        bytes calldata _message,
        address _executor,
        bytes calldata _extraData
    ) public payable virtual {
        // Ensures that only the endpoint can attempt to lzReceive() messages to this OApp.
        if (address(endpoint) != msg.sender) revert OnlyEndpoint(msg.sender);

        // Ensure that the sender matches the expected peer for the source endpoint.
        if (_getPeerOrRevert(_origin.srcEid) != _origin.sender) revert OnlyPeer(_origin.srcEid, _origin.sender);

        // Call the internal OApp implementation of lzReceive.
        _lzReceive(_origin, _guid, _message, _executor, _extraData);
    }

    /**
     * @dev Internal function to implement lzReceive logic without needing to copy the basic parameter validation.
     */
    function _lzReceive(
        Origin calldata _origin,
        bytes32 _guid,
        bytes calldata _message,
        address _executor,
        bytes calldata _extraData
    ) internal virtual;
}


// File @openzeppelin/contracts/token/ERC20/extensions/[email protected]

// Original license: 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);
}


// File @openzeppelin/contracts/token/ERC20/[email protected]

// Original license: 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);
}


// File @openzeppelin/contracts/utils/[email protected]

// Original license: 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();
        }
    }
}


// File @openzeppelin/contracts/token/ERC20/utils/[email protected]

// Original license: SPDX_License_Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/utils/SafeERC20.sol)

pragma solidity ^0.8.20;



/**
 * @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;
    }
}


// File @layerzerolabs/lz-evm-oapp-v2/contracts/oapp/[email protected]

// Original license: SPDX_License_Identifier: MIT

pragma solidity ^0.8.20;



/**
 * @title OAppSender
 * @dev Abstract contract implementing the OAppSender functionality for sending messages to a LayerZero endpoint.
 */
abstract contract OAppSender is OAppCore {
    using SafeERC20 for IERC20;

    // Custom error messages
    error NotEnoughNative(uint256 msgValue);
    error LzTokenUnavailable();

    // @dev The version of the OAppSender implementation.
    // @dev Version is bumped when changes are made to this contract.
    uint64 internal constant SENDER_VERSION = 1;

    /**
     * @notice Retrieves the OApp version information.
     * @return senderVersion The version of the OAppSender.sol contract.
     * @return receiverVersion The version of the OAppReceiver.sol contract.
     *
     * @dev Providing 0 as the default for OAppReceiver version. Indicates that the OAppReceiver is not implemented.
     * ie. this is a SEND only OApp.
     * @dev If the OApp uses both OAppSender and OAppReceiver, then this needs to be override returning the correct versions
     */
    function oAppVersion() public view virtual returns (uint64 senderVersion, uint64 receiverVersion) {
        return (SENDER_VERSION, 0);
    }

    /**
     * @dev Internal function to interact with the LayerZero EndpointV2.quote() for fee calculation.
     * @param _dstEid The destination endpoint ID.
     * @param _message The message payload.
     * @param _options Additional options for the message.
     * @param _payInLzToken Flag indicating whether to pay the fee in LZ tokens.
     * @return fee The calculated MessagingFee for the message.
     *      - nativeFee: The native fee for the message.
     *      - lzTokenFee: The LZ token fee for the message.
     */
    function _quote(
        uint32 _dstEid,
        bytes memory _message,
        bytes memory _options,
        bool _payInLzToken
    ) internal view virtual returns (MessagingFee memory fee) {
        return
            endpoint.quote(
                MessagingParams(_dstEid, _getPeerOrRevert(_dstEid), _message, _options, _payInLzToken),
                address(this)
            );
    }

    /**
     * @dev Internal function to interact with the LayerZero EndpointV2.send() for sending a message.
     * @param _dstEid The destination endpoint ID.
     * @param _message The message payload.
     * @param _options Additional options for the message.
     * @param _fee The calculated LayerZero fee for the message.
     *      - nativeFee: The native fee.
     *      - lzTokenFee: The lzToken fee.
     * @param _refundAddress The address to receive any excess fee values sent to the endpoint.
     * @return receipt The receipt for the sent message.
     *      - guid: The unique identifier for the sent message.
     *      - nonce: The nonce of the sent message.
     *      - fee: The LayerZero fee incurred for the message.
     */
    function _lzSend(
        uint32 _dstEid,
        bytes memory _message,
        bytes memory _options,
        MessagingFee memory _fee,
        address _refundAddress
    ) internal virtual returns (MessagingReceipt memory receipt) {
        // @dev Push corresponding fees to the endpoint, any excess is sent back to the _refundAddress from the endpoint.
        uint256 messageValue = _payNative(_fee.nativeFee);
        if (_fee.lzTokenFee > 0) _payLzToken(_fee.lzTokenFee);

        return
            // solhint-disable-next-line check-send-result
            endpoint.send{ value: messageValue }(
                MessagingParams(_dstEid, _getPeerOrRevert(_dstEid), _message, _options, _fee.lzTokenFee > 0),
                _refundAddress
            );
    }

    /**
     * @dev Internal function to pay the native fee associated with the message.
     * @param _nativeFee The native fee to be paid.
     * @return nativeFee The amount of native currency paid.
     *
     * @dev If the OApp needs to initiate MULTIPLE LayerZero messages in a single transaction,
     * this will need to be overridden because msg.value would contain multiple lzFees.
     * @dev Should be overridden in the event the LayerZero endpoint requires a different native currency.
     * @dev Some EVMs use an ERC20 as a method for paying transactions/gasFees.
     * @dev The endpoint is EITHER/OR, ie. it will NOT support both types of native payment at a time.
     */
    function _payNative(uint256 _nativeFee) internal virtual returns (uint256 nativeFee) {
        if (msg.value != _nativeFee) revert NotEnoughNative(msg.value);
        return _nativeFee;
    }

    /**
     * @dev Internal function to pay the LZ token fee associated with the message.
     * @param _lzTokenFee The LZ token fee to be paid.
     *
     * @dev If the caller is trying to pay in the specified lzToken, then the lzTokenFee is passed to the endpoint.
     * @dev Any excess sent, is passed back to the specified _refundAddress in the _lzSend().
     */
    function _payLzToken(uint256 _lzTokenFee) internal virtual {
        // @dev Cannot cache the token because it is not immutable in the endpoint.
        address lzToken = endpoint.lzToken();
        if (lzToken == address(0)) revert LzTokenUnavailable();

        // Pay LZ token fee by sending tokens to the endpoint.
        IERC20(lzToken).safeTransferFrom(msg.sender, address(endpoint), _lzTokenFee);
    }
}


// File @layerzerolabs/lz-evm-oapp-v2/contracts/oapp/[email protected]

// Original license: SPDX_License_Identifier: MIT

pragma solidity ^0.8.20;

// @dev Import the 'MessagingFee' and 'MessagingReceipt' so it's exposed to OApp implementers
// solhint-disable-next-line no-unused-import

// @dev Import the 'Origin' so it's exposed to OApp implementers
// solhint-disable-next-line no-unused-import


/**
 * @title OApp
 * @dev Abstract contract serving as the base for OApp implementation, combining OAppSender and OAppReceiver functionality.
 */
abstract contract OApp is OAppSender, OAppReceiver {
    /**
     * @dev Constructor to initialize the OApp with the provided endpoint and owner.
     * @param _endpoint The address of the LOCAL LayerZero endpoint.
     * @param _delegate The delegate capable of making OApp configurations inside of the endpoint.
     */
    constructor(address _endpoint, address _delegate) OAppCore(_endpoint, _delegate) {}

    /**
     * @notice Retrieves the OApp version information.
     * @return senderVersion The version of the OAppSender.sol implementation.
     * @return receiverVersion The version of the OAppReceiver.sol implementation.
     */
    function oAppVersion()
        public
        pure
        virtual
        override(OAppSender, OAppReceiver)
        returns (uint64 senderVersion, uint64 receiverVersion)
    {
        return (SENDER_VERSION, RECEIVER_VERSION);
    }
}


// File @layerzerolabs/lz-evm-oapp-v2/contracts/oft/interfaces/[email protected]

// Original license: SPDX_License_Identifier: MIT

pragma solidity ^0.8.20;

/**
 * @dev Struct representing token parameters for the OFT send() operation.
 */
struct SendParam {
    uint32 dstEid; // Destination endpoint ID.
    bytes32 to; // Recipient address.
    uint256 amountLD; // Amount to send in local decimals.
    uint256 minAmountLD; // Minimum amount to send in local decimals.
    bytes extraOptions; // Additional options supplied by the caller to be used in the LayerZero message.
    bytes composeMsg; // The composed message for the send() operation.
    bytes oftCmd; // The OFT command to be executed, unused in default OFT implementations.
}

/**
 * @dev Struct representing OFT limit information.
 * @dev These amounts can change dynamically and are up the the specific oft implementation.
 */
struct OFTLimit {
    uint256 minAmountLD; // Minimum amount in local decimals that can be sent to the recipient.
    uint256 maxAmountLD; // Maximum amount in local decimals that can be sent to the recipient.
}

/**
 * @dev Struct representing OFT receipt information.
 */
struct OFTReceipt {
    uint256 amountSentLD; // Amount of tokens ACTUALLY debited from the sender in local decimals.
    // @dev In non-default implementations, the amountReceivedLD COULD differ from this value.
    uint256 amountReceivedLD; // Amount of tokens to be received on the remote side.
}

/**
 * @dev Struct representing OFT fee details.
 * @dev Future proof mechanism to provide a standardized way to communicate fees to things like a UI.
 */
struct OFTFeeDetail {
    int256 feeAmountLD; // Amount of the fee in local decimals.
    string description; // Description of the fee.
}

/**
 * @title IOFT
 * @dev Interface for the OftChain (OFT) token.
 * @dev Does not inherit ERC20 to accommodate usage by OFTAdapter as well.
 * @dev This specific interface ID is '0x02e49c2c'.
 */
interface IOFT {
    // Custom error messages
    error InvalidLocalDecimals();
    error SlippageExceeded(uint256 amountLD, uint256 minAmountLD);

    // Events
    event OFTSent(
        bytes32 indexed guid, // GUID of the OFT message.
        uint32 dstEid, // Destination Endpoint ID.
        address indexed fromAddress, // Address of the sender on the src chain.
        uint256 amountSentLD, // Amount of tokens sent in local decimals.
        uint256 amountReceivedLD // Amount of tokens received in local decimals.
    );
    event OFTReceived(
        bytes32 indexed guid, // GUID of the OFT message.
        uint32 srcEid, // Source Endpoint ID.
        address indexed toAddress, // Address of the recipient on the dst chain.
        uint256 amountReceivedLD // Amount of tokens received in local decimals.
    );

    /**
     * @notice Retrieves interfaceID and the version of the OFT.
     * @return interfaceId The interface ID.
     * @return version The version.
     *
     * @dev interfaceId: This specific interface ID is '0x02e49c2c'.
     * @dev version: Indicates a cross-chain compatible msg encoding with other OFTs.
     * @dev If a new feature is added to the OFT cross-chain msg encoding, the version will be incremented.
     * ie. localOFT version(x,1) CAN send messages to remoteOFT version(x,1)
     */
    function oftVersion() external view returns (bytes4 interfaceId, uint64 version);

    /**
     * @notice Retrieves the address of the token associated with the OFT.
     * @return token The address of the ERC20 token implementation.
     */
    function token() external view returns (address);

    /**
     * @notice Indicates whether the OFT contract requires approval of the 'token()' to send.
     * @return requiresApproval Needs approval of the underlying token implementation.
     *
     * @dev Allows things like wallet implementers to determine integration requirements,
     * without understanding the underlying token implementation.
     */
    function approvalRequired() external view returns (bool);

    /**
     * @notice Retrieves the shared decimals of the OFT.
     * @return sharedDecimals The shared decimals of the OFT.
     */
    function sharedDecimals() external view returns (uint8);

    /**
     * @notice Provides a quote for OFT-related operations.
     * @param _sendParam The parameters for the send operation.
     * @return limit The OFT limit information.
     * @return oftFeeDetails The details of OFT fees.
     * @return receipt The OFT receipt information.
     */
    function quoteOFT(
        SendParam calldata _sendParam
    ) external view returns (OFTLimit memory, OFTFeeDetail[] memory oftFeeDetails, OFTReceipt memory);

    /**
     * @notice Provides a quote for the send() operation.
     * @param _sendParam The parameters for the send() operation.
     * @param _payInLzToken Flag indicating whether the caller is paying in the LZ token.
     * @return fee The calculated LayerZero messaging fee from the send() operation.
     *
     * @dev MessagingFee: LayerZero msg fee
     *  - nativeFee: The native fee.
     *  - lzTokenFee: The lzToken fee.
     */
    function quoteSend(SendParam calldata _sendParam, bool _payInLzToken) external view returns (MessagingFee memory);

    /**
     * @notice Executes the send() operation.
     * @param _sendParam The parameters for the send operation.
     * @param _fee The fee information supplied by the caller.
     *      - nativeFee: The native fee.
     *      - lzTokenFee: The lzToken fee.
     * @param _refundAddress The address to receive any excess funds from fees etc. on the src.
     * @return receipt The LayerZero messaging receipt from the send() operation.
     * @return oftReceipt The OFT receipt information.
     *
     * @dev MessagingReceipt: LayerZero msg receipt
     *  - guid: The unique identifier for the sent message.
     *  - nonce: The nonce of the sent message.
     *  - fee: The LayerZero fee incurred for the message.
     */
    function send(
        SendParam calldata _sendParam,
        MessagingFee calldata _fee,
        address _refundAddress
    ) external payable returns (MessagingReceipt memory, OFTReceipt memory);
}


// File @layerzerolabs/lz-evm-oapp-v2/contracts/oapp/interfaces/[email protected]

// Original license: SPDX_License_Identifier: MIT

pragma solidity ^0.8.20;

/**
 * @title IOAppMsgInspector
 * @dev Interface for the OApp Message Inspector, allowing examination of message and options contents.
 */
interface IOAppMsgInspector {
    // Custom error message for inspection failure
    error InspectionFailed(bytes message, bytes options);

    /**
     * @notice Allows the inspector to examine LayerZero message contents and optionally throw a revert if invalid.
     * @param _message The message payload to be inspected.
     * @param _options Additional options or parameters for inspection.
     * @return valid A boolean indicating whether the inspection passed (true) or failed (false).
     *
     * @dev Optionally done as a revert, OR use the boolean provided to handle the failure.
     */
    function inspect(bytes calldata _message, bytes calldata _options) external view returns (bool valid);
}


// File @layerzerolabs/lz-evm-oapp-v2/contracts/oft/libs/[email protected]

// Original license: SPDX_License_Identifier: MIT

pragma solidity ^0.8.20;

library OFTComposeMsgCodec {
    // Offset constants for decoding composed messages
    uint8 private constant NONCE_OFFSET = 8;
    uint8 private constant SRC_EID_OFFSET = 12;
    uint8 private constant AMOUNT_LD_OFFSET = 44;
    uint8 private constant COMPOSE_FROM_OFFSET = 76;

    /**
     * @dev Encodes a OFT composed message.
     * @param _nonce The nonce value.
     * @param _srcEid The source endpoint ID.
     * @param _amountLD The amount in local decimals.
     * @param _composeMsg The composed message.
     * @return _msg The encoded Composed message.
     */
    function encode(
        uint64 _nonce,
        uint32 _srcEid,
        uint256 _amountLD,
        bytes memory _composeMsg // 0x[composeFrom][composeMsg]
    ) internal pure returns (bytes memory _msg) {
        _msg = abi.encodePacked(_nonce, _srcEid, _amountLD, _composeMsg);
    }

    /**
     * @dev Retrieves the nonce from the composed message.
     * @param _msg The message.
     * @return The nonce value.
     */
    function nonce(bytes calldata _msg) internal pure returns (uint64) {
        return uint64(bytes8(_msg[:NONCE_OFFSET]));
    }

    /**
     * @dev Retrieves the source endpoint ID from the composed message.
     * @param _msg The message.
     * @return The source endpoint ID.
     */
    function srcEid(bytes calldata _msg) internal pure returns (uint32) {
        return uint32(bytes4(_msg[NONCE_OFFSET:SRC_EID_OFFSET]));
    }

    /**
     * @dev Retrieves the amount in local decimals from the composed message.
     * @param _msg The message.
     * @return The amount in local decimals.
     */
    function amountLD(bytes calldata _msg) internal pure returns (uint256) {
        return uint256(bytes32(_msg[SRC_EID_OFFSET:AMOUNT_LD_OFFSET]));
    }

    /**
     * @dev Retrieves the composeFrom value from the composed message.
     * @param _msg The message.
     * @return The composeFrom value.
     */
    function composeFrom(bytes calldata _msg) internal pure returns (bytes32) {
        return bytes32(_msg[AMOUNT_LD_OFFSET:COMPOSE_FROM_OFFSET]);
    }

    /**
     * @dev Retrieves the composed message.
     * @param _msg The message.
     * @return The composed message.
     */
    function composeMsg(bytes calldata _msg) internal pure returns (bytes memory) {
        return _msg[COMPOSE_FROM_OFFSET:];
    }

    /**
     * @dev Converts an address to bytes32.
     * @param _addr The address to convert.
     * @return The bytes32 representation of the address.
     */
    function addressToBytes32(address _addr) internal pure returns (bytes32) {
        return bytes32(uint256(uint160(_addr)));
    }

    /**
     * @dev Converts bytes32 to an address.
     * @param _b The bytes32 value to convert.
     * @return The address representation of bytes32.
     */
    function bytes32ToAddress(bytes32 _b) internal pure returns (address) {
        return address(uint160(uint256(_b)));
    }
}


// File @layerzerolabs/lz-evm-oapp-v2/contracts/oft/libs/[email protected]

// Original license: SPDX_License_Identifier: MIT

pragma solidity ^0.8.20;

library OFTMsgCodec {
    // Offset constants for encoding and decoding OFT messages
    uint8 private constant SEND_TO_OFFSET = 32;
    uint8 private constant SEND_AMOUNT_SD_OFFSET = 40;

    /**
     * @dev Encodes an OFT LayerZero message.
     * @param _sendTo The recipient address.
     * @param _amountShared The amount in shared decimals.
     * @param _composeMsg The composed message.
     * @return _msg The encoded message.
     * @return hasCompose A boolean indicating whether the message has a composed payload.
     */
    function encode(
        bytes32 _sendTo,
        uint64 _amountShared,
        bytes memory _composeMsg
    ) internal view returns (bytes memory _msg, bool hasCompose) {
        hasCompose = _composeMsg.length > 0;
        // @dev Remote chains will want to know the composed function caller ie. msg.sender on the src.
        _msg = hasCompose
            ? abi.encodePacked(_sendTo, _amountShared, addressToBytes32(msg.sender), _composeMsg)
            : abi.encodePacked(_sendTo, _amountShared);
    }

    /**
     * @dev Checks if the OFT message is composed.
     * @param _msg The OFT message.
     * @return A boolean indicating whether the message is composed.
     */
    function isComposed(bytes calldata _msg) internal pure returns (bool) {
        return _msg.length > SEND_AMOUNT_SD_OFFSET;
    }

    /**
     * @dev Retrieves the recipient address from the OFT message.
     * @param _msg The OFT message.
     * @return The recipient address.
     */
    function sendTo(bytes calldata _msg) internal pure returns (bytes32) {
        return bytes32(_msg[:SEND_TO_OFFSET]);
    }

    /**
     * @dev Retrieves the amount in shared decimals from the OFT message.
     * @param _msg The OFT message.
     * @return The amount in shared decimals.
     */
    function amountSD(bytes calldata _msg) internal pure returns (uint64) {
        return uint64(bytes8(_msg[SEND_TO_OFFSET:SEND_AMOUNT_SD_OFFSET]));
    }

    /**
     * @dev Retrieves the composed message from the OFT message.
     * @param _msg The OFT message.
     * @return The composed message.
     */
    function composeMsg(bytes calldata _msg) internal pure returns (bytes memory) {
        return _msg[SEND_AMOUNT_SD_OFFSET:];
    }

    /**
     * @dev Converts an address to bytes32.
     * @param _addr The address to convert.
     * @return The bytes32 representation of the address.
     */
    function addressToBytes32(address _addr) internal pure returns (bytes32) {
        return bytes32(uint256(uint160(_addr)));
    }

    /**
     * @dev Converts bytes32 to an address.
     * @param _b The bytes32 value to convert.
     * @return The address representation of bytes32.
     */
    function bytes32ToAddress(bytes32 _b) internal pure returns (address) {
        return address(uint160(uint256(_b)));
    }
}


// File @openzeppelin/contracts/utils/introspection/[email protected]

// Original license: 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);
}


// File @layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/[email protected]

// Original license: SPDX_License_Identifier: MIT

pragma solidity >=0.8.0;

enum MessageLibType {
    Send,
    Receive,
    SendAndReceive
}

interface IMessageLib is IERC165 {
    function setConfig(address _oapp, SetConfigParam[] calldata _config) external;

    function getConfig(uint32 _eid, address _oapp, uint32 _configType) external view returns (bytes memory config);

    function isSupportedEid(uint32 _eid) external view returns (bool);

    // message libs of same major version are compatible
    function version() external view returns (uint64 major, uint8 minor, uint8 endpointVersion);

    function messageLibType() external view returns (MessageLibType);
}


// File @layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/[email protected]

// Original license: SPDX_License_Identifier: MIT

pragma solidity >=0.8.0;


struct Packet {
    uint64 nonce;
    uint32 srcEid;
    address sender;
    uint32 dstEid;
    bytes32 receiver;
    bytes32 guid;
    bytes message;
}

interface ISendLib is IMessageLib {
    function send(
        Packet calldata _packet,
        bytes calldata _options,
        bool _payInLzToken
    ) external returns (MessagingFee memory, bytes memory encodedPacket);

    function quote(
        Packet calldata _packet,
        bytes calldata _options,
        bool _payInLzToken
    ) external view returns (MessagingFee memory);

    function setTreasury(address _treasury) external;

    function withdrawFee(address _to, uint256 _amount) external;

    function withdrawLzTokenFee(address _lzToken, address _to, uint256 _amount) external;
}


// File @layerzerolabs/lz-evm-protocol-v2/contracts/libs/[email protected]

// Original license: SPDX_License_Identifier: LZBL-1.2

pragma solidity ^0.8.20;

library AddressCast {
    error AddressCast_InvalidSizeForAddress();
    error AddressCast_InvalidAddress();

    function toBytes32(bytes calldata _addressBytes) internal pure returns (bytes32 result) {
        if (_addressBytes.length > 32) revert AddressCast_InvalidAddress();
        result = bytes32(_addressBytes);
        unchecked {
            uint256 offset = 32 - _addressBytes.length;
            result = result >> (offset * 8);
        }
    }

    function toBytes32(address _address) internal pure returns (bytes32 result) {
        result = bytes32(uint256(uint160(_address)));
    }

    function toBytes(bytes32 _addressBytes32, uint256 _size) internal pure returns (bytes memory result) {
        if (_size == 0 || _size > 32) revert AddressCast_InvalidSizeForAddress();
        result = new bytes(_size);
        unchecked {
            uint256 offset = 256 - _size * 8;
            assembly {
                mstore(add(result, 32), shl(offset, _addressBytes32))
            }
        }
    }

    function toAddress(bytes32 _addressBytes32) internal pure returns (address result) {
        result = address(uint160(uint256(_addressBytes32)));
    }

    function toAddress(bytes calldata _addressBytes) internal pure returns (address result) {
        if (_addressBytes.length != 20) revert AddressCast_InvalidAddress();
        result = address(bytes20(_addressBytes));
    }
}


// File @layerzerolabs/lz-evm-protocol-v2/contracts/messagelib/libs/[email protected]

// Original license: SPDX_License_Identifier: LZBL-1.2

pragma solidity ^0.8.20;


library PacketV1Codec {
    using AddressCast for address;
    using AddressCast for bytes32;

    uint8 internal constant PACKET_VERSION = 1;

    // header (version + nonce + path)
    // version
    uint256 private constant PACKET_VERSION_OFFSET = 0;
    //    nonce
    uint256 private constant NONCE_OFFSET = 1;
    //    path
    uint256 private constant SRC_EID_OFFSET = 9;
    uint256 private constant SENDER_OFFSET = 13;
    uint256 private constant DST_EID_OFFSET = 45;
    uint256 private constant RECEIVER_OFFSET = 49;
    // payload (guid + message)
    uint256 private constant GUID_OFFSET = 81; // keccak256(nonce + path)
    uint256 private constant MESSAGE_OFFSET = 113;

    function encode(Packet memory _packet) internal pure returns (bytes memory encodedPacket) {
        encodedPacket = abi.encodePacked(
            PACKET_VERSION,
            _packet.nonce,
            _packet.srcEid,
            _packet.sender.toBytes32(),
            _packet.dstEid,
            _packet.receiver,
            _packet.guid,
            _packet.message
        );
    }

    function encodePacketHeader(Packet memory _packet) internal pure returns (bytes memory) {
        return
            abi.encodePacked(
                PACKET_VERSION,
                _packet.nonce,
                _packet.srcEid,
                _packet.sender.toBytes32(),
                _packet.dstEid,
                _packet.receiver
            );
    }

    function encodePayload(Packet memory _packet) internal pure returns (bytes memory) {
        return abi.encodePacked(_packet.guid, _packet.message);
    }

    function header(bytes calldata _packet) internal pure returns (bytes calldata) {
        return _packet[0:GUID_OFFSET];
    }

    function version(bytes calldata _packet) internal pure returns (uint8) {
        return uint8(bytes1(_packet[PACKET_VERSION_OFFSET:NONCE_OFFSET]));
    }

    function nonce(bytes calldata _packet) internal pure returns (uint64) {
        return uint64(bytes8(_packet[NONCE_OFFSET:SRC_EID_OFFSET]));
    }

    function srcEid(bytes calldata _packet) internal pure returns (uint32) {
        return uint32(bytes4(_packet[SRC_EID_OFFSET:SENDER_OFFSET]));
    }

    function sender(bytes calldata _packet) internal pure returns (bytes32) {
        return bytes32(_packet[SENDER_OFFSET:DST_EID_OFFSET]);
    }

    function senderAddressB20(bytes calldata _packet) internal pure returns (address) {
        return sender(_packet).toAddress();
    }

    function dstEid(bytes calldata _packet) internal pure returns (uint32) {
        return uint32(bytes4(_packet[DST_EID_OFFSET:RECEIVER_OFFSET]));
    }

    function receiver(bytes calldata _packet) internal pure returns (bytes32) {
        return bytes32(_packet[RECEIVER_OFFSET:GUID_OFFSET]);
    }

    function receiverB20(bytes calldata _packet) internal pure returns (address) {
        return receiver(_packet).toAddress();
    }

    function guid(bytes calldata _packet) internal pure returns (bytes32) {
        return bytes32(_packet[GUID_OFFSET:MESSAGE_OFFSET]);
    }

    function message(bytes calldata _packet) internal pure returns (bytes calldata) {
        return bytes(_packet[MESSAGE_OFFSET:]);
    }

    function payload(bytes calldata _packet) internal pure returns (bytes calldata) {
        return bytes(_packet[GUID_OFFSET:]);
    }

    function payloadHash(bytes calldata _packet) internal pure returns (bytes32) {
        return keccak256(payload(_packet));
    }
}


// File @layerzerolabs/lz-evm-oapp-v2/contracts/precrime/libs/[email protected]

// Original license: SPDX_License_Identifier: MIT

pragma solidity ^0.8.20;


/**
 * @title InboundPacket
 * @dev Structure representing an inbound packet received by the contract.
 */
struct InboundPacket {
    Origin origin; // Origin information of the packet.
    uint32 dstEid; // Destination endpointId of the packet.
    address receiver; // Receiver address for the packet.
    bytes32 guid; // Unique identifier of the packet.
    uint256 value; // msg.value of the packet.
    address executor; // Executor address for the packet.
    bytes message; // Message payload of the packet.
    bytes extraData; // Additional arbitrary data for the packet.
}

/**
 * @title PacketDecoder
 * @dev Library for decoding LayerZero packets.
 */
library PacketDecoder {
    using PacketV1Codec for bytes;

    /**
     * @dev Decode an inbound packet from the given packet data.
     * @param _packet The packet data to decode.
     * @return packet An InboundPacket struct representing the decoded packet.
     */
    function decode(bytes calldata _packet) internal pure returns (InboundPacket memory packet) {
        packet.origin = Origin(_packet.srcEid(), _packet.sender(), _packet.nonce());
        packet.dstEid = _packet.dstEid();
        packet.receiver = _packet.receiverB20();
        packet.guid = _packet.guid();
        packet.message = _packet.message();
    }

    /**
     * @dev Decode multiple inbound packets from the given packet data and associated message values.
     * @param _packets An array of packet data to decode.
     * @param _packetMsgValues An array of associated message values for each packet.
     * @return packets An array of InboundPacket structs representing the decoded packets.
     */
    function decode(
        bytes[] calldata _packets,
        uint256[] memory _packetMsgValues
    ) internal pure returns (InboundPacket[] memory packets) {
        packets = new InboundPacket[](_packets.length);
        for (uint256 i = 0; i < _packets.length; i++) {
            bytes calldata packet = _packets[i];
            packets[i] = PacketDecoder.decode(packet);
            // @dev Allows the verifier to specify the msg.value that gets passed in lzReceive.
            packets[i].value = _packetMsgValues[i];
        }
    }
}


// File @layerzerolabs/lz-evm-oapp-v2/contracts/precrime/interfaces/[email protected]

// Original license: SPDX_License_Identifier: MIT

pragma solidity ^0.8.20;

// @dev Import the Origin so it's exposed to OAppPreCrimeSimulator implementers.
// solhint-disable-next-line no-unused-import

/**
 * @title IOAppPreCrimeSimulator Interface
 * @dev Interface for the preCrime simulation functionality in an OApp.
 */
interface IOAppPreCrimeSimulator {
    // @dev simulation result used in PreCrime implementation
    error SimulationResult(bytes result);
    error OnlySelf();

    /**
     * @dev Emitted when the preCrime contract address is set.
     * @param preCrimeAddress The address of the preCrime contract.
     */
    event PreCrimeSet(address preCrimeAddress);

    /**
     * @dev Retrieves the address of the preCrime contract implementation.
     * @return The address of the preCrime contract.
     */
    function preCrime() external view returns (address);

    /**
     * @dev Retrieves the address of the OApp contract.
     * @return The address of the OApp contract.
     */
    function oApp() external view returns (address);

    /**
     * @dev Sets the preCrime contract address.
     * @param _preCrime The address of the preCrime contract.
     */
    function setPreCrime(address _preCrime) external;

    /**
     * @dev Mocks receiving a packet, then reverts with a series of data to infer the state/result.
     * @param _packets An array of LayerZero InboundPacket objects representing received packets.
     */
    function lzReceiveAndRevert(InboundPacket[] calldata _packets) external payable;

    /**
     * @dev checks if the specified peer is considered 'trusted' by the OApp.
     * @param _eid The endpoint Id to check.
     * @param _peer The peer to check.
     * @return Whether the peer passed is considered 'trusted' by the OApp.
     */
    function isPeer(uint32 _eid, bytes32 _peer) external view returns (bool);
}


// File @layerzerolabs/lz-evm-oapp-v2/contracts/precrime/interfaces/[email protected]

// Original license: SPDX_License_Identifier: MIT

pragma solidity ^0.8.20;
struct PreCrimePeer {
    uint32 eid;
    bytes32 preCrime;
    bytes32 oApp;
}

// TODO not done yet
interface IPreCrime {
    error OnlyOffChain();

    // for simulate()
    error PacketOversize(uint256 max, uint256 actual);
    error PacketUnsorted();
    error SimulationFailed(bytes reason);

    // for preCrime()
    error SimulationResultNotFound(uint32 eid);
    error InvalidSimulationResult(uint32 eid, bytes reason);
    error CrimeFound(bytes crime);

    function getConfig(bytes[] calldata _packets, uint256[] calldata _packetMsgValues) external returns (bytes memory);

    function simulate(
        bytes[] calldata _packets,
        uint256[] calldata _packetMsgValues
    ) external payable returns (bytes memory);

    function buildSimulationResult() external view returns (bytes memory);

    function preCrime(
        bytes[] calldata _packets,
        uint256[] calldata _packetMsgValues,
        bytes[] calldata _simulations
    ) external;

    function version() external view returns (uint64 major, uint8 minor);
}


// File @layerzerolabs/lz-evm-oapp-v2/contracts/precrime/[email protected]

// Original license: SPDX_License_Identifier: MIT

pragma solidity ^0.8.20;



/**
 * @title OAppPreCrimeSimulator
 * @dev Abstract contract serving as the base for preCrime simulation functionality in an OApp.
 */
abstract contract OAppPreCrimeSimulator is IOAppPreCrimeSimulator, Ownable {
    // The address of the preCrime implementation.
    address public preCrime;

    /**
     * @dev Retrieves the address of the OApp contract.
     * @return The address of the OApp contract.
     *
     * @dev The simulator contract is the base contract for the OApp by default.
     * @dev If the simulator is a separate contract, override this function.
     */
    function oApp() external view virtual returns (address) {
        return address(this);
    }

    /**
     * @dev Sets the preCrime contract address.
     * @param _preCrime The address of the preCrime contract.
     */
    function setPreCrime(address _preCrime) public virtual onlyOwner {
        preCrime = _preCrime;
        emit PreCrimeSet(_preCrime);
    }

    /**
     * @dev Interface for pre-crime simulations. Always reverts at the end with the simulation results.
     * @param _packets An array of InboundPacket objects representing received packets to be delivered.
     *
     * @dev WARNING: MUST revert at the end with the simulation results.
     * @dev Gives the preCrime implementation the ability to mock sending packets to the lzReceive function,
     * WITHOUT actually executing them.
     */
    function lzReceiveAndRevert(InboundPacket[] calldata _packets) public payable virtual {
        for (uint256 i = 0; i < _packets.length; i++) {
            InboundPacket calldata packet = _packets[i];

            // Ignore packets that are not from trusted peers.
            if (!isPeer(packet.origin.srcEid, packet.origin.sender)) continue;

            // @dev Because a verifier is calling this function, it doesnt have access to executor params:
            //  - address _executor
            //  - bytes calldata _extraData
            // preCrime will NOT work for OApps that rely on these two parameters inside of their _lzReceive().
            // They are instead stubbed to default values, address(0) and bytes("")
            // @dev Calling this.lzReceiveSimulate removes ability for assembly return 0 callstack exit,
            // which would cause the revert to be ignored.
            this.lzReceiveSimulate{ value: packet.value }(
                packet.origin,
                packet.guid,
                packet.message,
                packet.executor,
                packet.extraData
            );
        }

        // @dev Revert with the simulation results. msg.sender must implement IPreCrime.buildSimulationResult().
        revert SimulationResult(IPreCrime(msg.sender).buildSimulationResult());
    }

    /**
     * @dev Is effectively an internal function because msg.sender must be address(this).
     * Allows resetting the call stack for 'internal' calls.
     * @param _origin The origin information containing the source endpoint and sender address.
     *  - srcEid: The source chain endpoint ID.
     *  - sender: The sender address on the src chain.
     *  - nonce: The nonce of the message.
     * @param _guid The unique identifier of the packet.
     * @param _message The message payload of the packet.
     * @param _executor The executor address for the packet.
     * @param _extraData Additional data for the packet.
     */
    function lzReceiveSimulate(
        Origin calldata _origin,
        bytes32 _guid,
        bytes calldata _message,
        address _executor,
        bytes calldata _extraData
    ) external payable virtual {
        // @dev Ensure ONLY can be called 'internally'.
        if (msg.sender != address(this)) revert OnlySelf();
        _lzReceiveSimulate(_origin, _guid, _message, _executor, _extraData);
    }

    /**
     * @dev Internal function to handle the OAppPreCrimeSimulator simulated receive.
     * @param _origin The origin information.
     *  - srcEid: The source chain endpoint ID.
     *  - sender: The sender address from the src chain.
     *  - nonce: The nonce of the LayerZero message.
     * @param _guid The GUID of the LayerZero message.
     * @param _message The LayerZero message.
     * @param _executor The address of the off-chain executor.
     * @param _extraData Arbitrary data passed by the msg executor.
     *
     * @dev Enables the preCrime simulator to mock sending lzReceive() messages,
     * routes the msg down from the OAppPreCrimeSimulator, and back up to the OAppReceiver.
     */
    function _lzReceiveSimulate(
        Origin calldata _origin,
        bytes32 _guid,
        bytes calldata _message,
        address _executor,
        bytes calldata _extraData
    ) internal virtual;

    /**
     * @dev checks if the specified peer is considered 'trusted' by the OApp.
     * @param _eid The endpoint Id to check.
     * @param _peer The peer to check.
     * @return Whether the peer passed is considered 'trusted' by the OApp.
     */
    function isPeer(uint32 _eid, bytes32 _peer) public view virtual returns (bool);
}


// File @layerzerolabs/lz-evm-oapp-v2/contracts/oft/[email protected]

// Original license: SPDX_License_Identifier: MIT

pragma solidity ^0.8.20;





/**
 * @title OFTCore
 * @dev Abstract contract for the OftChain (OFT) token.
 */
abstract contract OFTCore is IOFT, OApp, OAppPreCrimeSimulator, OAppOptionsType3 {
    using OFTMsgCodec for bytes;
    using OFTMsgCodec for bytes32;

    // @notice Provides a conversion rate when swapping between denominations of SD and LD
    //      - shareDecimals == SD == shared Decimals
    //      - localDecimals == LD == local decimals
    // @dev Considers that tokens have different decimal amounts on various chains.
    // @dev eg.
    //  For a token
    //      - locally with 4 decimals --> 1.2345 => uint(12345)
    //      - remotely with 2 decimals --> 1.23 => uint(123)
    //      - The conversion rate would be 10 ** (4 - 2) = 100
    //  @dev If you want to send 1.2345 -> (uint 12345), you CANNOT represent that value on the remote,
    //  you can only display 1.23 -> uint(123).
    //  @dev To preserve the dust that would otherwise be lost on that conversion,
    //  we need to unify a denomination that can be represented on ALL chains inside of the OFT mesh
    uint256 public immutable decimalConversionRate;

    // @notice Msg types that are used to identify the various OFT operations.
    // @dev This can be extended in child contracts for non-default oft operations
    // @dev These values are used in things like combineOptions() in OAppOptionsType3.sol.
    uint16 public constant SEND = 1;
    uint16 public constant SEND_AND_CALL = 2;

    // Address of an optional contract to inspect both 'message' and 'options'
    address public msgInspector;
    event MsgInspectorSet(address inspector);

    /**
     * @dev Constructor.
     * @param _localDecimals The decimals of the token on the local chain (this chain).
     * @param _endpoint The address of the LayerZero endpoint.
     * @param _delegate The delegate capable of making OApp configurations inside of the endpoint.
     */
    constructor(uint8 _localDecimals, address _endpoint, address _delegate) OApp(_endpoint, _delegate) {
        if (_localDecimals < sharedDecimals()) revert InvalidLocalDecimals();
        decimalConversionRate = 10 ** (_localDecimals - sharedDecimals());
    }

    /**
     * @notice Retrieves interfaceID and the version of the OFT.
     * @return interfaceId The interface ID.
     * @return version The version.
     *
     * @dev interfaceId: This specific interface ID is '0x02e49c2c'.
     * @dev version: Indicates a cross-chain compatible msg encoding with other OFTs.
     * @dev If a new feature is added to the OFT cross-chain msg encoding, the version will be incremented.
     * ie. localOFT version(x,1) CAN send messages to remoteOFT version(x,1)
     */
    function oftVersion() external pure virtual returns (bytes4 interfaceId, uint64 version) {
        return (type(IOFT).interfaceId, 1);
    }

    /**
     * @dev Retrieves the shared decimals of the OFT.
     * @return The shared decimals of the OFT.
     *
     * @dev Sets an implicit cap on the amount of tokens, over uint64.max() will need some sort of outbound cap / totalSupply cap
     * Lowest common decimal denominator between chains.
     * Defaults to 6 decimal places to provide up to 18,446,744,073,709.551615 units (max uint64).
     * For tokens exceeding this totalSupply(), they will need to override the sharedDecimals function with something smaller.
     * ie. 4 sharedDecimals would be 1,844,674,407,370,955.1615
     */
    function sharedDecimals() public view virtual returns (uint8) {
        return 6;
    }

    /**
     * @dev Sets the message inspector address for the OFT.
     * @param _msgInspector The address of the message inspector.
     *
     * @dev This is an optional contract that can be used to inspect both 'message' and 'options'.
     * @dev Set it to address(0) to disable it, or set it to a contract address to enable it.
     */
    function setMsgInspector(address _msgInspector) public virtual onlyOwner {
        msgInspector = _msgInspector;
        emit MsgInspectorSet(_msgInspector);
    }

    /**
     * @notice Provides a quote for OFT-related operations.
     * @param _sendParam The parameters for the send operation.
     * @return oftLimit The OFT limit information.
     * @return oftFeeDetails The details of OFT fees.
     * @return oftReceipt The OFT receipt information.
     */
    function quoteOFT(
        SendParam calldata _sendParam
    )
        external
        view
        virtual
        returns (OFTLimit memory oftLimit, OFTFeeDetail[] memory oftFeeDetails, OFTReceipt memory oftReceipt)
    {
        uint256 minAmountLD = 0; // Unused in the default implementation.
        uint256 maxAmountLD = type(uint64).max; // Unused in the default implementation.
        oftLimit = OFTLimit(minAmountLD, maxAmountLD);

        // Unused in the default implementation; reserved for future complex fee details.
        oftFeeDetails = new OFTFeeDetail[](0);

        // @dev This is the same as the send() operation, but without the actual send.
        // - amountSentLD is the amount in local decimals that would be sent from the sender.
        // - amountReceivedLD is the amount in local decimals that will be credited to the recipient on the remote OFT instance.
        // @dev The amountSentLD MIGHT not equal the amount the user actually receives. HOWEVER, the default does.
        (uint256 amountSentLD, uint256 amountReceivedLD) = _debitView(
            _sendParam.amountLD,
            _sendParam.minAmountLD,
            _sendParam.dstEid
        );
        oftReceipt = OFTReceipt(amountSentLD, amountReceivedLD);
    }

    /**
     * @notice Provides a quote for the send() operation.
     * @param _sendParam The parameters for the send() operation.
     * @param _payInLzToken Flag indicating whether the caller is paying in the LZ token.
     * @return msgFee The calculated LayerZero messaging fee from the send() operation.
     *
     * @dev MessagingFee: LayerZero msg fee
     *  - nativeFee: The native fee.
     *  - lzTokenFee: The lzToken fee.
     */
    function quoteSend(
        SendParam calldata _sendParam,
        bool _payInLzToken
    ) external view virtual returns (MessagingFee memory msgFee) {
        // @dev mock the amount to receive, this is the same operation used in the send().
        // The quote is as similar as possible to the actual send() operation.
        (, uint256 amountReceivedLD) = _debitView(_sendParam.amountLD, _sendParam.minAmountLD, _sendParam.dstEid);

        // @dev Builds the options and OFT message to quote in the endpoint.
        (bytes memory message, bytes memory options) = _buildMsgAndOptions(_sendParam, amountReceivedLD);

        // @dev Calculates the LayerZero fee for the send() operation.
        return _quote(_sendParam.dstEid, message, options, _payInLzToken);
    }

    /**
     * @dev Executes the send operation.
     * @param _sendParam The parameters for the send operation.
     * @param _fee The calculated fee for the send() operation.
     *      - nativeFee: The native fee.
     *      - lzTokenFee: The lzToken fee.
     * @param _refundAddress The address to receive any excess funds.
     * @return msgReceipt The receipt for the send operation.
     * @return oftReceipt The OFT receipt information.
     *
     * @dev MessagingReceipt: LayerZero msg receipt
     *  - guid: The unique identifier for the sent message.
     *  - nonce: The nonce of the sent message.
     *  - fee: The LayerZero fee incurred for the message.
     */
    function send(
        SendParam calldata _sendParam,
        MessagingFee calldata _fee,
        address _refundAddress
    ) external payable virtual returns (MessagingReceipt memory msgReceipt, OFTReceipt memory oftReceipt) {
        // @dev Applies the token transfers regarding this send() operation.
        // - amountSentLD is the amount in local decimals that was ACTUALLY sent/debited from the sender.
        // - amountReceivedLD is the amount in local decimals that will be received/credited to the recipient on the remote OFT instance.
        (uint256 amountSentLD, uint256 amountReceivedLD) = _debit(
            msg.sender,
            _sendParam.amountLD,
            _sendParam.minAmountLD,
            _sendParam.dstEid
        );

        // @dev Builds the options and OFT message to quote in the endpoint.
        (bytes memory message, bytes memory options) = _buildMsgAndOptions(_sendParam, amountReceivedLD);

        // @dev Sends the message to the LayerZero endpoint and returns the LayerZero msg receipt.
        msgReceipt = _lzSend(_sendParam.dstEid, message, options, _fee, _refundAddress);
        // @dev Formulate the OFT receipt.
        oftReceipt = OFTReceipt(amountSentLD, amountReceivedLD);

        emit OFTSent(msgReceipt.guid, _sendParam.dstEid, msg.sender, amountSentLD, amountReceivedLD);
    }

    /**
     * @dev Internal function to build the message and options.
     * @param _sendParam The parameters for the send() operation.
     * @param _amountLD The amount in local decimals.
     * @return message The encoded message.
     * @return options The encoded options.
     */
    function _buildMsgAndOptions(
        SendParam calldata _sendParam,
        uint256 _amountLD
    ) internal view virtual returns (bytes memory message, bytes memory options) {
        bool hasCompose;
        // @dev This generated message has the msg.sender encoded into the payload so the remote knows who the caller is.
        (message, hasCompose) = OFTMsgCodec.encode(
            _sendParam.to,
            _toSD(_amountLD),
            // @dev Must be include a non empty bytes if you want to compose, EVEN if you dont need it on the remote.
            // EVEN if you dont require an arbitrary payload to be sent... eg. '0x01'
            _sendParam.composeMsg
        );
        // @dev Change the msg type depending if its composed or not.
        uint16 msgType = hasCompose ? SEND_AND_CALL : SEND;
        // @dev Combine the callers _extraOptions with the enforced options via the OAppOptionsType3.
        options = combineOptions(_sendParam.dstEid, msgType, _sendParam.extraOptions);

        // @dev Optionally inspect the message and options depending if the OApp owner has set a msg inspector.
        // @dev If it fails inspection, needs to revert in the implementation. ie. does not rely on return boolean
        if (msgInspector != address(0)) IOAppMsgInspector(msgInspector).inspect(message, options);
    }

    /**
     * @dev Internal function to handle the receive on the LayerZero endpoint.
     * @param _origin The origin information.
     *  - srcEid: The source chain endpoint ID.
     *  - sender: The sender address from the src chain.
     *  - nonce: The nonce of the LayerZero message.
     * @param _guid The unique identifier for the received LayerZero message.
     * @param _message The encoded message.
     * @dev _executor The address of the executor.
     * @dev _extraData Additional data.
     */
    function _lzReceive(
        Origin calldata _origin,
        bytes32 _guid,
        bytes calldata _message,
        address /*_executor*/, // @dev unused in the default implementation.
        bytes calldata /*_extraData*/ // @dev unused in the default implementation.
    ) internal virtual override {
        // @dev The src sending chain doesnt know the address length on this chain (potentially non-evm)
        // Thus everything is bytes32() encoded in flight.
        address toAddress = _message.sendTo().bytes32ToAddress();
        // @dev Credit the amountLD to the recipient and return the ACTUAL amount the recipient received in local decimals
        uint256 amountReceivedLD = _credit(toAddress, _toLD(_message.amountSD()), _origin.srcEid);

        if (_message.isComposed()) {
            // @dev Proprietary composeMsg format for the OFT.
            bytes memory composeMsg = OFTComposeMsgCodec.encode(
                _origin.nonce,
                _origin.srcEid,
                amountReceivedLD,
                _message.composeMsg()
            );

            // @dev Stores the lzCompose payload that will be executed in a separate tx.
            // Standardizes functionality for executing arbitrary contract invocation on some non-evm chains.
            // @dev The off-chain executor will listen and process the msg based on the src-chain-callers compose options passed.
            // @dev The index is used when a OApp needs to compose multiple msgs on lzReceive.
            // For default OFT implementation there is only 1 compose msg per lzReceive, thus its always 0.
            endpoint.sendCompose(toAddress, _guid, 0 /* the index of the composed message*/, composeMsg);
        }

        emit OFTReceived(_guid, _origin.srcEid, toAddress, amountReceivedLD);
    }

    /**
     * @dev Internal function to handle the OAppPreCrimeSimulator simulated receive.
     * @param _origin The origin information.
     *  - srcEid: The source chain endpoint ID.
     *  - sender: The sender address from the src chain.
     *  - nonce: The nonce of the LayerZero message.
     * @param _guid The unique identifier for the received LayerZero message.
     * @param _message The LayerZero message.
     * @param _executor The address of the off-chain executor.
     * @param _extraData Arbitrary data passed by the msg executor.
     *
     * @dev Enables the preCrime simulator to mock sending lzReceive() messages,
     * routes the msg down from the OAppPreCrimeSimulator, and back up to the OAppReceiver.
     */
    function _lzReceiveSimulate(
        Origin calldata _origin,
        bytes32 _guid,
        bytes calldata _message,
        address _executor,
        bytes calldata _extraData
    ) internal virtual override {
        _lzReceive(_origin, _guid, _message, _executor, _extraData);
    }

    /**
     * @dev Check if the peer is considered 'trusted' by the OApp.
     * @param _eid The endpoint ID to check.
     * @param _peer The peer to check.
     * @return Whether the peer passed is considered 'trusted' by the OApp.
     *
     * @dev Enables OAppPreCrimeSimulator to check whether a potential Inbound Packet is from a trusted source.
     */
    function isPeer(uint32 _eid, bytes32 _peer) public view virtual override returns (bool) {
        return peers[_eid] == _peer;
    }

    /**
     * @dev Internal function to remove dust from the given local decimal amount.
     * @param _amountLD The amount in local decimals.
     * @return amountLD The amount after removing dust.
     *
     * @dev Prevents the loss of dust when moving amounts between chains with different decimals.
     * @dev eg. uint(123) with a conversion rate of 100 becomes uint(100).
     */
    function _removeDust(uint256 _amountLD) internal view virtual returns (uint256 amountLD) {
        return (_amountLD / decimalConversionRate) * decimalConversionRate;
    }

    /**
     * @dev Internal function to convert an amount from shared decimals into local decimals.
     * @param _amountSD The amount in shared decimals.
     * @return amountLD The amount in local decimals.
     */
    function _toLD(uint64 _amountSD) internal view virtual returns (uint256 amountLD) {
        return _amountSD * decimalConversionRate;
    }

    /**
     * @dev Internal function to convert an amount from local decimals into shared decimals.
     * @param _amountLD The amount in local decimals.
     * @return amountSD The amount in shared decimals.
     */
    function _toSD(uint256 _amountLD) internal view virtual returns (uint64 amountSD) {
        return uint64(_amountLD / decimalConversionRate);
    }

    /**
     * @dev Internal function to mock the amount mutation from a OFT debit() operation.
     * @param _amountLD The amount to send in local decimals.
     * @param _minAmountLD The minimum amount to send in local decimals.
     * @dev _dstEid The destination endpoint ID.
     * @return amountSentLD The amount sent, in local decimals.
     * @return amountReceivedLD The amount to be received on the remote chain, in local decimals.
     *
     * @dev This is where things like fees would be calculated and deducted from the amount to be received on the remote.
     */
    function _debitView(
        uint256 _amountLD,
        uint256 _minAmountLD,
        uint32 /*_dstEid*/
    ) internal view virtual returns (uint256 amountSentLD, uint256 amountReceivedLD) {
        // @dev Remove the dust so nothing is lost on the conversion between chains with different decimals for the token.
        amountSentLD = _removeDust(_amountLD);
        // @dev The amount to send is the same as amount received in the default implementation.
        amountReceivedLD = amountSentLD;

        // @dev Check for slippage.
        if (amountReceivedLD < _minAmountLD) {
            revert SlippageExceeded(amountReceivedLD, _minAmountLD);
        }
    }

    /**
     * @dev Internal function to perform a debit operation.
     * @param _from The address to debit.
     * @param _amountLD The amount to send in local decimals.
     * @param _minAmountLD The minimum amount to send in local decimals.
     * @param _dstEid The destination endpoint ID.
     * @return amountSentLD The amount sent in local decimals.
     * @return amountReceivedLD The amount received in local decimals on the remote.
     *
     * @dev Defined here but are intended to be overriden depending on the OFT implementation.
     * @dev Depending on OFT implementation the _amountLD could differ from the amountReceivedLD.
     */
    function _debit(
        address _from,
        uint256 _amountLD,
        uint256 _minAmountLD,
        uint32 _dstEid
    ) internal virtual returns (uint256 amountSentLD, uint256 amountReceivedLD);

    /**
     * @dev Internal function to perform a credit operation.
     * @param _to The address to credit.
     * @param _amountLD The amount to credit in local decimals.
     * @param _srcEid The source endpoint ID.
     * @return amountReceivedLD The amount ACTUALLY received in local decimals.
     *
     * @dev Defined here but are intended to be overriden depending on the OFT implementation.
     * @dev Depending on OFT implementation the _amountLD could differ from the amountReceivedLD.
     */
    function _credit(
        address _to,
        uint256 _amountLD,
        uint32 _srcEid
    ) internal virtual returns (uint256 amountReceivedLD);
}


// File @openzeppelin/contracts/interfaces/[email protected]

// Original license: 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);
}


// File @openzeppelin/contracts/token/ERC20/extensions/[email protected]

// Original license: SPDX_License_Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/IERC20Metadata.sol)

pragma solidity ^0.8.20;

/**
 * @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);
}


// File @openzeppelin/contracts/token/ERC20/[email protected]

// Original license: SPDX_License_Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/ERC20.sol)

pragma solidity ^0.8.20;




/**
 * @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 ERC20 is Context, IERC20, IERC20Metadata, IERC20Errors {
    mapping(address account => uint256) private _balances;

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

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

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

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

    /**
     * @dev Returns the number of decimals used to get its user representation.
     * For example, if `decimals` equals `2`, a balance of `505` tokens should
     * be displayed to a user as `5.05` (`505 / 10 ** 2`).
     *
     * Tokens usually opt for a value of 18, imitating the relationship between
     * Ether and Wei. This is the 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) {
        return _totalSupply;
    }

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

    /**
     * @dev See {IERC20-transfer}.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - the caller must have a balance of at least `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) {
        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 {
        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 {
        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);
            }
        }
    }
}


// File @layerzerolabs/lz-evm-oapp-v2/contracts/oft/[email protected]

// Original license: SPDX_License_Identifier: MIT

pragma solidity ^0.8.20;


/**
 * @title OFT Contract
 * @dev OFT is an ERC-20 token that extends the functionality of the OFTCore contract.
 */
abstract contract OFT is OFTCore, ERC20 {
    /**
     * @dev Constructor for the OFT contract.
     * @param _name The name of the OFT.
     * @param _symbol The symbol of the OFT.
     * @param _lzEndpoint The LayerZero endpoint address.
     * @param _delegate The delegate capable of making OApp configurations inside of the endpoint.
     */
    constructor(
        string memory _name,
        string memory _symbol,
        address _lzEndpoint,
        address _delegate
    ) ERC20(_name, _symbol) OFTCore(decimals(), _lzEndpoint, _delegate) {}

    /**
     * @dev Retrieves the address of the underlying ERC20 implementation.
     * @return The address of the OFT token.
     *
     * @dev In the case of OFT, address(this) and erc20 are the same contract.
     */
    function token() public view returns (address) {
        return address(this);
    }

    /**
     * @notice Indicates whether the OFT contract requires approval of the 'token()' to send.
     * @return requiresApproval Needs approval of the underlying token implementation.
     *
     * @dev In the case of OFT where the contract IS the token, approval is NOT required.
     */
    function approvalRequired() external pure virtual returns (bool) {
        return false;
    }

    /**
     * @dev Burns tokens from the sender's specified balance.
     * @param _from The address to debit the tokens from.
     * @param _amountLD The amount of tokens to send in local decimals.
     * @param _minAmountLD The minimum amount to send in local decimals.
     * @param _dstEid The destination chain ID.
     * @return amountSentLD The amount sent in local decimals.
     * @return amountReceivedLD The amount received in local decimals on the remote.
     */
    function _debit(
        address _from,
        uint256 _amountLD,
        uint256 _minAmountLD,
        uint32 _dstEid
    ) internal virtual override returns (uint256 amountSentLD, uint256 amountReceivedLD) {
        (amountSentLD, amountReceivedLD) = _debitView(_amountLD, _minAmountLD, _dstEid);

        // @dev In NON-default OFT, amountSentLD could be 100, with a 10% fee, the amountReceivedLD amount is 90,
        // therefore amountSentLD CAN differ from amountReceivedLD.

        // @dev Default OFT burns on src.
        _burn(_from, amountSentLD);
    }

    /**
     * @dev Credits tokens to the specified address.
     * @param _to The address to credit the tokens to.
     * @param _amountLD The amount of tokens to credit in local decimals.
     * @dev _srcEid The source chain ID.
     * @return amountReceivedLD The amount of tokens ACTUALLY received in local decimals.
     */
    function _credit(
        address _to,
        uint256 _amountLD,
        uint32 /*_srcEid*/
    ) internal virtual override returns (uint256 amountReceivedLD) {
        if (_to == address(0x0)) _to = address(0xdead); // _mint(...) does not support address(0x0)
        // @dev Default OFT mints on dst.
        _mint(_to, _amountLD);
        // @dev In the case of NON-default OFT, the _amountLD MIGHT not be == amountReceivedLD.
        return _amountLD;
    }
}


// File contracts/CarvToken.sol

// Original license: SPDX_License_Identifier: GPL-3.0
pragma solidity ^0.8.20;


contract CarvToken is OFT {
    constructor(
        string memory tokenName,
        string memory tokenSymbol,
        address lzEndpoint,
        uint256 mintAmount
    ) OFT(tokenName, tokenSymbol, lzEndpoint, msg.sender) Ownable(msg.sender) {
        _mint(msg.sender, mintAmount);
    }
}

Contract Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"string","name":"tokenName","type":"string"},{"internalType":"string","name":"tokenSymbol","type":"string"},{"internalType":"address","name":"lzEndpoint","type":"address"},{"internalType":"uint256","name":"mintAmount","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"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":"InvalidDelegate","type":"error"},{"inputs":[],"name":"InvalidEndpointCall","type":"error"},{"inputs":[],"name":"InvalidLocalDecimals","type":"error"},{"inputs":[{"internalType":"bytes","name":"options","type":"bytes"}],"name":"InvalidOptions","type":"error"},{"inputs":[],"name":"LzTokenUnavailable","type":"error"},{"inputs":[{"internalType":"uint32","name":"eid","type":"uint32"}],"name":"NoPeer","type":"error"},{"inputs":[{"internalType":"uint256","name":"msgValue","type":"uint256"}],"name":"NotEnoughNative","type":"error"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"OnlyEndpoint","type":"error"},{"inputs":[{"internalType":"uint32","name":"eid","type":"uint32"},{"internalType":"bytes32","name":"sender","type":"bytes32"}],"name":"OnlyPeer","type":"error"},{"inputs":[],"name":"OnlySelf","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"SafeERC20FailedOperation","type":"error"},{"inputs":[{"internalType":"bytes","name":"result","type":"bytes"}],"name":"SimulationResult","type":"error"},{"inputs":[{"internalType":"uint256","name":"amountLD","type":"uint256"},{"internalType":"uint256","name":"minAmountLD","type":"uint256"}],"name":"SlippageExceeded","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":[{"components":[{"internalType":"uint32","name":"eid","type":"uint32"},{"internalType":"uint16","name":"msgType","type":"uint16"},{"internalType":"bytes","name":"options","type":"bytes"}],"indexed":false,"internalType":"struct EnforcedOptionParam[]","name":"_enforcedOptions","type":"tuple[]"}],"name":"EnforcedOptionSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"inspector","type":"address"}],"name":"MsgInspectorSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"guid","type":"bytes32"},{"indexed":false,"internalType":"uint32","name":"srcEid","type":"uint32"},{"indexed":true,"internalType":"address","name":"toAddress","type":"address"},{"indexed":false,"internalType":"uint256","name":"amountReceivedLD","type":"uint256"}],"name":"OFTReceived","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"guid","type":"bytes32"},{"indexed":false,"internalType":"uint32","name":"dstEid","type":"uint32"},{"indexed":true,"internalType":"address","name":"fromAddress","type":"address"},{"indexed":false,"internalType":"uint256","name":"amountSentLD","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amountReceivedLD","type":"uint256"}],"name":"OFTSent","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint32","name":"eid","type":"uint32"},{"indexed":false,"internalType":"bytes32","name":"peer","type":"bytes32"}],"name":"PeerSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"preCrimeAddress","type":"address"}],"name":"PreCrimeSet","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"},{"inputs":[],"name":"SEND","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SEND_AND_CALL","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"components":[{"internalType":"uint32","name":"srcEid","type":"uint32"},{"internalType":"bytes32","name":"sender","type":"bytes32"},{"internalType":"uint64","name":"nonce","type":"uint64"}],"internalType":"struct Origin","name":"origin","type":"tuple"}],"name":"allowInitializePath","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":[],"name":"approvalRequired","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"pure","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":"uint32","name":"_eid","type":"uint32"},{"internalType":"uint16","name":"_msgType","type":"uint16"},{"internalType":"bytes","name":"_extraOptions","type":"bytes"}],"name":"combineOptions","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimalConversionRate","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":"endpoint","outputs":[{"internalType":"contract ILayerZeroEndpointV2","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint32","name":"eid","type":"uint32"},{"internalType":"uint16","name":"msgType","type":"uint16"}],"name":"enforcedOptions","outputs":[{"internalType":"bytes","name":"enforcedOption","type":"bytes"}],"stateMutability":"view","type":"function"},{"inputs":[{"components":[{"internalType":"uint32","name":"srcEid","type":"uint32"},{"internalType":"bytes32","name":"sender","type":"bytes32"},{"internalType":"uint64","name":"nonce","type":"uint64"}],"internalType":"struct Origin","name":"","type":"tuple"},{"internalType":"bytes","name":"","type":"bytes"},{"internalType":"address","name":"_sender","type":"address"}],"name":"isComposeMsgSender","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint32","name":"_eid","type":"uint32"},{"internalType":"bytes32","name":"_peer","type":"bytes32"}],"name":"isPeer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"components":[{"internalType":"uint32","name":"srcEid","type":"uint32"},{"internalType":"bytes32","name":"sender","type":"bytes32"},{"internalType":"uint64","name":"nonce","type":"uint64"}],"internalType":"struct Origin","name":"_origin","type":"tuple"},{"internalType":"bytes32","name":"_guid","type":"bytes32"},{"internalType":"bytes","name":"_message","type":"bytes"},{"internalType":"address","name":"_executor","type":"address"},{"internalType":"bytes","name":"_extraData","type":"bytes"}],"name":"lzReceive","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"components":[{"components":[{"internalType":"uint32","name":"srcEid","type":"uint32"},{"internalType":"bytes32","name":"sender","type":"bytes32"},{"internalType":"uint64","name":"nonce","type":"uint64"}],"internalType":"struct Origin","name":"origin","type":"tuple"},{"internalType":"uint32","name":"dstEid","type":"uint32"},{"internalType":"address","name":"receiver","type":"address"},{"internalType":"bytes32","name":"guid","type":"bytes32"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"address","name":"executor","type":"address"},{"internalType":"bytes","name":"message","type":"bytes"},{"internalType":"bytes","name":"extraData","type":"bytes"}],"internalType":"struct InboundPacket[]","name":"_packets","type":"tuple[]"}],"name":"lzReceiveAndRevert","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"components":[{"internalType":"uint32","name":"srcEid","type":"uint32"},{"internalType":"bytes32","name":"sender","type":"bytes32"},{"internalType":"uint64","name":"nonce","type":"uint64"}],"internalType":"struct Origin","name":"_origin","type":"tuple"},{"internalType":"bytes32","name":"_guid","type":"bytes32"},{"internalType":"bytes","name":"_message","type":"bytes"},{"internalType":"address","name":"_executor","type":"address"},{"internalType":"bytes","name":"_extraData","type":"bytes"}],"name":"lzReceiveSimulate","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"msgInspector","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint32","name":"","type":"uint32"},{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"nextNonce","outputs":[{"internalType":"uint64","name":"nonce","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"oApp","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"oAppVersion","outputs":[{"internalType":"uint64","name":"senderVersion","type":"uint64"},{"internalType":"uint64","name":"receiverVersion","type":"uint64"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"oftVersion","outputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"},{"internalType":"uint64","name":"version","type":"uint64"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint32","name":"eid","type":"uint32"}],"name":"peers","outputs":[{"internalType":"bytes32","name":"peer","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"preCrime","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"components":[{"internalType":"uint32","name":"dstEid","type":"uint32"},{"internalType":"bytes32","name":"to","type":"bytes32"},{"internalType":"uint256","name":"amountLD","type":"uint256"},{"internalType":"uint256","name":"minAmountLD","type":"uint256"},{"internalType":"bytes","name":"extraOptions","type":"bytes"},{"internalType":"bytes","name":"composeMsg","type":"bytes"},{"internalType":"bytes","name":"oftCmd","type":"bytes"}],"internalType":"struct SendParam","name":"_sendParam","type":"tuple"}],"name":"quoteOFT","outputs":[{"components":[{"internalType":"uint256","name":"minAmountLD","type":"uint256"},{"internalType":"uint256","name":"maxAmountLD","type":"uint256"}],"internalType":"struct OFTLimit","name":"oftLimit","type":"tuple"},{"components":[{"internalType":"int256","name":"feeAmountLD","type":"int256"},{"internalType":"string","name":"description","type":"string"}],"internalType":"struct OFTFeeDetail[]","name":"oftFeeDetails","type":"tuple[]"},{"components":[{"internalType":"uint256","name":"amountSentLD","type":"uint256"},{"internalType":"uint256","name":"amountReceivedLD","type":"uint256"}],"internalType":"struct OFTReceipt","name":"oftReceipt","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"components":[{"internalType":"uint32","name":"dstEid","type":"uint32"},{"internalType":"bytes32","name":"to","type":"bytes32"},{"internalType":"uint256","name":"amountLD","type":"uint256"},{"internalType":"uint256","name":"minAmountLD","type":"uint256"},{"internalType":"bytes","name":"extraOptions","type":"bytes"},{"internalType":"bytes","name":"composeMsg","type":"bytes"},{"internalType":"bytes","name":"oftCmd","type":"bytes"}],"internalType":"struct SendParam","name":"_sendParam","type":"tuple"},{"internalType":"bool","name":"_payInLzToken","type":"bool"}],"name":"quoteSend","outputs":[{"components":[{"internalType":"uint256","name":"nativeFee","type":"uint256"},{"internalType":"uint256","name":"lzTokenFee","type":"uint256"}],"internalType":"struct MessagingFee","name":"msgFee","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"uint32","name":"dstEid","type":"uint32"},{"internalType":"bytes32","name":"to","type":"bytes32"},{"internalType":"uint256","name":"amountLD","type":"uint256"},{"internalType":"uint256","name":"minAmountLD","type":"uint256"},{"internalType":"bytes","name":"extraOptions","type":"bytes"},{"internalType":"bytes","name":"composeMsg","type":"bytes"},{"internalType":"bytes","name":"oftCmd","type":"bytes"}],"internalType":"struct SendParam","name":"_sendParam","type":"tuple"},{"components":[{"internalType":"uint256","name":"nativeFee","type":"uint256"},{"internalType":"uint256","name":"lzTokenFee","type":"uint256"}],"internalType":"struct MessagingFee","name":"_fee","type":"tuple"},{"internalType":"address","name":"_refundAddress","type":"address"}],"name":"send","outputs":[{"components":[{"internalType":"bytes32","name":"guid","type":"bytes32"},{"internalType":"uint64","name":"nonce","type":"uint64"},{"components":[{"internalType":"uint256","name":"nativeFee","type":"uint256"},{"internalType":"uint256","name":"lzTokenFee","type":"uint256"}],"internalType":"struct MessagingFee","name":"fee","type":"tuple"}],"internalType":"struct MessagingReceipt","name":"msgReceipt","type":"tuple"},{"components":[{"internalType":"uint256","name":"amountSentLD","type":"uint256"},{"internalType":"uint256","name":"amountReceivedLD","type":"uint256"}],"internalType":"struct OFTReceipt","name":"oftReceipt","type":"tuple"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_delegate","type":"address"}],"name":"setDelegate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"uint32","name":"eid","type":"uint32"},{"internalType":"uint16","name":"msgType","type":"uint16"},{"internalType":"bytes","name":"options","type":"bytes"}],"internalType":"struct EnforcedOptionParam[]","name":"_enforcedOptions","type":"tuple[]"}],"name":"setEnforcedOptions","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_msgInspector","type":"address"}],"name":"setMsgInspector","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint32","name":"_eid","type":"uint32"},{"internalType":"bytes32","name":"_peer","type":"bytes32"}],"name":"setPeer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_preCrime","type":"address"}],"name":"setPreCrime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sharedDecimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"token","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60c06040523480156200001157600080fd5b50604051620038de380380620038de83398101604081905262000034916200042d565b838383338383601284848181818133806200006a57604051631e4fbdf760e01b8152600060048201526024015b60405180910390fd5b6200007581620001a2565b506001600160a01b038083166080528116620000a457604051632d618d8160e21b815260040160405180910390fd5b60805160405163ca5eb5e160e01b81526001600160a01b0383811660048301529091169063ca5eb5e190602401600060405180830381600087803b158015620000ec57600080fd5b505af115801562000101573d6000803e3d6000fd5b505050505050505062000119620001f260201b60201c565b60ff168360ff16101562000140576040516301e9714b60e41b815260040160405180910390fd5b6200014d600684620004d6565b6200015a90600a620005f5565b60a052506008915062000170905083826200069c565b5060096200017f82826200069c565b50505050505050620001983382620001f760201b60201c565b505050506200077e565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600690565b6001600160a01b038216620002235760405163ec442f0560e01b81526000600482015260240162000061565b620002316000838362000235565b5050565b6001600160a01b0383166200026457806007600082825462000258919062000768565b90915550620002d89050565b6001600160a01b03831660009081526005602052604090205481811015620002b95760405163391434e360e21b81526001600160a01b0385166004820152602481018290526044810183905260640162000061565b6001600160a01b03841660009081526005602052604090209082900390555b6001600160a01b038216620002f65760078054829003905562000315565b6001600160a01b03821660009081526005602052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516200035b91815260200190565b60405180910390a3505050565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200039057600080fd5b81516001600160401b0380821115620003ad57620003ad62000368565b604051601f8301601f19908116603f01168101908282118183101715620003d857620003d862000368565b81604052838152602092508683858801011115620003f557600080fd5b600091505b83821015620004195785820183015181830184015290820190620003fa565b600093810190920192909252949350505050565b600080600080608085870312156200044457600080fd5b84516001600160401b03808211156200045c57600080fd5b6200046a888389016200037e565b955060208701519150808211156200048157600080fd5b5062000490878288016200037e565b604087015190945090506001600160a01b0381168114620004b057600080fd5b6060959095015193969295505050565b634e487b7160e01b600052601160045260246000fd5b60ff8281168282160390811115620004f257620004f2620004c0565b92915050565b600181815b80851115620005395781600019048211156200051d576200051d620004c0565b808516156200052b57918102915b93841c9390800290620004fd565b509250929050565b6000826200055257506001620004f2565b816200056157506000620004f2565b81600181146200057a57600281146200058557620005a5565b6001915050620004f2565b60ff841115620005995762000599620004c0565b50506001821b620004f2565b5060208310610133831016604e8410600b8410161715620005ca575081810a620004f2565b620005d68383620004f8565b8060001904821115620005ed57620005ed620004c0565b029392505050565b60006200060660ff84168362000541565b9392505050565b600181811c908216806200062257607f821691505b6020821081036200064357634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200069757600081815260208120601f850160051c81016020861015620006725750805b601f850160051c820191505b8181101562000693578281556001016200067e565b5050505b505050565b81516001600160401b03811115620006b857620006b862000368565b620006d081620006c984546200060d565b8462000649565b602080601f831160018114620007085760008415620006ef5750858301515b600019600386901b1c1916600185901b17855562000693565b600085815260208120601f198616915b82811015620007395788860151825594840194600190910190840162000718565b5085821015620007585787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b80820180821115620004f257620004f2620004c0565b60805160a0516130f4620007ea6000396000818161061e01528181611afa01528181611b6f0152611d730152600081816104dd0152818161098d015281816110ae0152818161132d015281816116980152818161194901528181611e740152611f2d01526130f46000f3fe6080604052600436106102515760003560e01c80637d25a05e11610139578063bb0b6a53116100b6578063d045a0dc1161007a578063d045a0dc14610755578063d424388514610768578063dd62ed3e14610788578063f2fde38b146107ce578063fc0c546a14610461578063ff7bd03d146107ee57600080fd5b8063bb0b6a53146106b4578063bc70b354146106e1578063bd815db014610701578063c7c7f5b314610714578063ca5eb5e11461073557600080fd5b8063963efcaa116100fd578063963efcaa1461060c5780639f68b96414610640578063a9059cbb14610654578063b731ea0a14610674578063b98bd0701461069457600080fd5b80637d25a05e1461056a57806382413eac146105a5578063857749b0146105c55780638da5cb5b146105d957806395d89b41146105f757600080fd5b806323b872dd116101d25780635535d461116101965780635535d461146104745780635a0dfe4d146104945780635e280f11146104cb5780636fc1b31e146104ff57806370a082311461051f578063715018a61461055557600080fd5b806323b872dd146103d2578063313ce567146103f25780633400288b146104145780633b6f743b1461043457806352ae28791461046157600080fd5b8063134d4f2511610219578063134d4f251461032d578063156a0d0f1461035557806317442b701461037c57806318160ddd1461039e5780631f5e1334146103bd57600080fd5b806306fdde0314610256578063095ea7b3146102815780630d35b415146102b1578063111ecdad146102e057806313137d6514610318575b600080fd5b34801561026257600080fd5b5061026b61080e565b60405161027891906121cb565b60405180910390f35b34801561028d57600080fd5b506102a161029c3660046121f3565b6108a0565b6040519015158152602001610278565b3480156102bd57600080fd5b506102d16102cc366004612237565b6108ba565b6040516102789392919061226b565b3480156102ec57600080fd5b50600454610300906001600160a01b031681565b6040516001600160a01b039091168152602001610278565b61032b61032636600461235d565b61098b565b005b34801561033957600080fd5b50610342600281565b60405161ffff9091168152602001610278565b34801561036157600080fd5b506040805162b9270b60e21b81526001602082015201610278565b34801561038857600080fd5b5060408051600181526002602082015201610278565b3480156103aa57600080fd5b506007545b604051908152602001610278565b3480156103c957600080fd5b50610342600181565b3480156103de57600080fd5b506102a16103ed3660046123fc565b610a4b565b3480156103fe57600080fd5b5060125b60405160ff9091168152602001610278565b34801561042057600080fd5b5061032b61042f366004612456565b610a71565b34801561044057600080fd5b5061045461044f366004612480565b610a87565b60405161027891906124d1565b34801561046d57600080fd5b5030610300565b34801561048057600080fd5b5061026b61048f3660046124fa565b610aee565b3480156104a057600080fd5b506102a16104af366004612456565b63ffffffff919091166000908152600160205260409020541490565b3480156104d757600080fd5b506103007f000000000000000000000000000000000000000000000000000000000000000081565b34801561050b57600080fd5b5061032b61051a36600461252d565b610b93565b34801561052b57600080fd5b506103af61053a36600461252d565b6001600160a01b031660009081526005602052604090205490565b34801561056157600080fd5b5061032b610bf0565b34801561057657600080fd5b5061058d610585366004612456565b600092915050565b6040516001600160401b039091168152602001610278565b3480156105b157600080fd5b506102a16105c036600461254a565b610c04565b3480156105d157600080fd5b506006610402565b3480156105e557600080fd5b506000546001600160a01b0316610300565b34801561060357600080fd5b5061026b610c19565b34801561061857600080fd5b506103af7f000000000000000000000000000000000000000000000000000000000000000081565b34801561064c57600080fd5b5060006102a1565b34801561066057600080fd5b506102a161066f3660046121f3565b610c28565b34801561068057600080fd5b50600254610300906001600160a01b031681565b3480156106a057600080fd5b5061032b6106af3660046125f4565b610c36565b3480156106c057600080fd5b506103af6106cf366004612635565b60016020526000908152604090205481565b3480156106ed57600080fd5b5061026b6106fc366004612650565b610c50565b61032b61070f3660046125f4565b610df8565b6107276107223660046126b0565b610f8c565b60405161027892919061271d565b34801561074157600080fd5b5061032b61075036600461252d565b611087565b61032b61076336600461235d565b61110d565b34801561077457600080fd5b5061032b61078336600461252d565b61113c565b34801561079457600080fd5b506103af6107a336600461276f565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205490565b3480156107da57600080fd5b5061032b6107e936600461252d565b611192565b3480156107fa57600080fd5b506102a161080936600461279d565b6111d0565b60606008805461081d906127b9565b80601f0160208091040260200160405190810160405280929190818152602001828054610849906127b9565b80156108965780601f1061086b57610100808354040283529160200191610896565b820191906000526020600020905b81548152906001019060200180831161087957829003601f168201915b5050505050905090565b6000336108ae818585611206565b60019150505b92915050565b604080518082019091526000808252602082015260606108ed604051806040016040528060008152602001600081525090565b60408051808201825260008082526001600160401b03602080840182905284518381529081019094529195509182610948565b6040805180820190915260008152606060208201528152602001906001900390816109205790505b50935060008061096d604089013560608a013561096860208c018c612635565b611218565b60408051808201909152918252602082015296989597505050505050565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031633146109db576040516391ac5e4f60e01b81523360048201526024015b60405180910390fd5b602087018035906109f5906109f0908a612635565b61125c565b14610a3357610a076020880188612635565b60405163309afaf360e21b815263ffffffff9091166004820152602088013560248201526044016109d2565b610a4287878787878787611298565b50505050505050565b600033610a598582856113ff565b610a6485858561147d565b60019150505b9392505050565b610a796114dc565b610a838282611509565b5050565b60408051808201909152600080825260208201526000610ab7604085013560608601356109686020880188612635565b915050600080610ac7868461155e565b9092509050610ae4610adc6020880188612635565b838388611682565b9695505050505050565b600360209081526000928352604080842090915290825290208054610b12906127b9565b80601f0160208091040260200160405190810160405280929190818152602001828054610b3e906127b9565b8015610b8b5780601f10610b6057610100808354040283529160200191610b8b565b820191906000526020600020905b815481529060010190602001808311610b6e57829003601f168201915b505050505081565b610b9b6114dc565b600480546001600160a01b0319166001600160a01b0383169081179091556040519081527ff0be4f1e87349231d80c36b33f9e8639658eeaf474014dee15a3e6a4d4414197906020015b60405180910390a150565b610bf86114dc565b610c026000611763565b565b6001600160a01b03811630145b949350505050565b60606009805461081d906127b9565b6000336108ae81858561147d565b610c3e6114dc565b610a83610c4b82846128a4565b6117b3565b63ffffffff8416600090815260036020908152604080832061ffff87168452909152812080546060929190610c84906127b9565b80601f0160208091040260200160405190810160405280929190818152602001828054610cb0906127b9565b8015610cfd5780601f10610cd257610100808354040283529160200191610cfd565b820191906000526020600020905b815481529060010190602001808311610ce057829003601f168201915b505050505090508051600003610d4d5783838080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929450610c119350505050565b6000839003610d5d579050610c11565b60028310610ddb57610da484848080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506118c492505050565b80610db284600281886129b9565b604051602001610dc4939291906129e3565b604051602081830303815290604052915050610c11565b8383604051639a6d49cd60e01b81526004016109d2929190612a34565b60005b81811015610f0b5736838383818110610e1657610e16612a48565b9050602002810190610e289190612a5e565b9050610e5b610e3a6020830183612635565b602083013563ffffffff919091166000908152600160205260409020541490565b610e655750610ef9565b3063d045a0dc60c08301358360a0810135610e84610100830183612a7f565b610e95610100890160e08a0161252d565b610ea36101208a018a612a7f565b6040518963ffffffff1660e01b8152600401610ec59796959493929190612ada565b6000604051808303818588803b158015610ede57600080fd5b505af1158015610ef2573d6000803e3d6000fd5b5050505050505b80610f0381612b76565b915050610dfb565b50336001600160a01b0316638e9e70996040518163ffffffff1660e01b8152600401600060405180830381865afa158015610f4a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610f729190810190612b8f565b604051638351eea760e01b81526004016109d291906121cb565b610f94612134565b6040805180820190915260008082526020820152600080610fcb33604089013560608a0135610fc660208c018c612635565b6118f0565b91509150600080610fdc898461155e565b9092509050611008610ff160208b018b612635565b8383611002368d90038d018d612bfc565b8b611916565b60408051808201909152858152602080820186905282519298509096503391907f85496b760a4b7f8d66384b9df21b381f5d1b1e79f229a47aaf4c232edc2fe59a90611056908d018d612635565b6040805163ffffffff909216825260208201899052810187905260600160405180910390a350505050935093915050565b61108f6114dc565b60405163ca5eb5e160e01b81526001600160a01b0382811660048301527f0000000000000000000000000000000000000000000000000000000000000000169063ca5eb5e190602401600060405180830381600087803b1580156110f257600080fd5b505af1158015611106573d6000803e3d6000fd5b5050505050565b33301461112d5760405163029a949d60e31b815260040160405180910390fd5b610a4287878787878787610a33565b6111446114dc565b600280546001600160a01b0319166001600160a01b0383169081179091556040519081527fd48d879cef83a1c0bdda516f27b13ddb1b3f8bbac1c9e1511bb2a659c242776090602001610be5565b61119a6114dc565b6001600160a01b0381166111c457604051631e4fbdf760e01b8152600060048201526024016109d2565b6111cd81611763565b50565b60006020820180359060019083906111e89086612635565b63ffffffff1681526020810191909152604001600020541492915050565b6112138383836001611a21565b505050565b60008061122485611af6565b915081905083811015611254576040516371c4efed60e01b815260048101829052602481018590526044016109d2565b935093915050565b63ffffffff8116600090815260016020526040812054806108b45760405163f6ff4fb760e01b815263ffffffff841660048201526024016109d2565b60006112aa6112a78787611b2d565b90565b905060006112d6826112c46112bf8a8a611b45565b611b68565b6112d160208d018d612635565b611b9d565b9050602886111561139d5760006113136112f660608c0160408d01612c2e565b61130360208d018d612635565b8461130e8c8c611bc5565b611c10565b604051633e5ac80960e11b81529091506001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690637cb59012906113699086908d906000908790600401612c4b565b600060405180830381600087803b15801561138357600080fd5b505af1158015611397573d6000803e3d6000fd5b50505050505b6001600160a01b038216887fefed6d3500546b29533b128a29e3a94d70788727f0507505ac12eaf2e578fd9c6113d660208d018d612635565b6040805163ffffffff9092168252602082018690520160405180910390a3505050505050505050565b6001600160a01b038381166000908152600660209081526040808320938616835292905220546000198114611477578181101561146857604051637dc7a0d960e11b81526001600160a01b038416600482015260248101829052604481018390526064016109d2565b61147784848484036000611a21565b50505050565b6001600160a01b0383166114a757604051634b637e8f60e11b8152600060048201526024016109d2565b6001600160a01b0382166114d15760405163ec442f0560e01b8152600060048201526024016109d2565b611213838383611c42565b6000546001600160a01b03163314610c025760405163118cdaa760e01b81523360048201526024016109d2565b63ffffffff8216600081815260016020908152604091829020849055815192835282018390527f238399d427b947898edb290f5ff0f9109849b1c3ba196a42e35f00c50a54b98b910160405180910390a15050565b60608060006115bb856020013561157486611d6c565b61158160a0890189612a7f565b8080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250611d9892505050565b90935090506000816115ce5760016115d1565b60025b90506115f16115e36020880188612635565b826106fc60808a018a612a7f565b6004549093506001600160a01b031615611679576004805460405163043a78eb60e01b81526001600160a01b039091169163043a78eb91611636918891889101612c7c565b602060405180830381865afa158015611653573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116779190612ca1565b505b50509250929050565b60408051808201909152600080825260208201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ddc28c586040518060a001604052808863ffffffff1681526020016116e58961125c565b8152602001878152602001868152602001851515815250306040518363ffffffff1660e01b815260040161171a929190612cbe565b6040805180830381865afa158015611736573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061175a9190612d67565b95945050505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60005b8151811015611894576117e58282815181106117d4576117d4612a48565b6020026020010151604001516118c4565b8181815181106117f7576117f7612a48565b6020026020010151604001516003600084848151811061181957611819612a48565b60200260200101516000015163ffffffff1663ffffffff168152602001908152602001600020600084848151811061185357611853612a48565b60200260200101516020015161ffff1661ffff16815260200190815260200160002090816118819190612dd1565b508061188c81612b76565b9150506117b6565b507fbe4864a8e820971c0247f5992e2da559595f7bf076a21cb5928d443d2a13b67481604051610be59190612e90565b600281015161ffff8116600314610a835781604051639a6d49cd60e01b81526004016109d291906121cb565b6000806118fe858585611218565b909250905061190d8683611e12565b94509492505050565b61191e612134565b600061192d8460000151611e48565b602085015190915015611947576119478460200151611e70565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316632637a450826040518060a001604052808b63ffffffff1681526020016119978c61125c565b81526020018a815260200189815260200160008960200151111515815250866040518463ffffffff1660e01b81526004016119d3929190612cbe565b60806040518083038185885af11580156119f1573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190611a169190612f19565b979650505050505050565b6001600160a01b038416611a4b5760405163e602df0560e01b8152600060048201526024016109d2565b6001600160a01b038316611a7557604051634a1406b160e11b8152600060048201526024016109d2565b6001600160a01b038085166000908152600660209081526040808320938716835292905220829055801561147757826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92584604051611ae891815260200190565b60405180910390a350505050565b60007f0000000000000000000000000000000000000000000000000000000000000000611b238184612f63565b6108b49190612f85565b6000611b3c60208284866129b9565b610a6a91612f9c565b6000611b556028602084866129b9565b611b5e91612fba565b60c01c9392505050565b60006108b47f00000000000000000000000000000000000000000000000000000000000000006001600160401b038416612f85565b60006001600160a01b038416611bb35761dead93505b611bbd8484611f52565b509092915050565b6060611bd482602881866129b9565b8080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929695505050505050565b606084848484604051602001611c299493929190612fea565b6040516020818303038152906040529050949350505050565b6001600160a01b038316611c6d578060076000828254611c629190613039565b90915550611cdf9050565b6001600160a01b03831660009081526005602052604090205481811015611cc05760405163391434e360e21b81526001600160a01b038516600482015260248101829052604481018390526064016109d2565b6001600160a01b03841660009081526005602052604090209082900390555b6001600160a01b038216611cfb57600780548290039055611d1a565b6001600160a01b03821660009081526005602052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051611d5f91815260200190565b60405180910390a3505050565b60006108b47f000000000000000000000000000000000000000000000000000000000000000083612f63565b8051606090151580611de1578484604051602001611dcd92919091825260c01b6001600160c01b031916602082015260280190565b604051602081830303815290604052611e08565b84843385604051602001611df8949392919061304c565b6040516020818303038152906040525b9150935093915050565b6001600160a01b038216611e3c57604051634b637e8f60e11b8152600060048201526024016109d2565b610a8382600083611c42565b6000813414611e6c576040516304fb820960e51b81523460048201526024016109d2565b5090565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663e4fe1d946040518163ffffffff1660e01b8152600401602060405180830381865afa158015611ed0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ef4919061308f565b90506001600160a01b038116611f1d576040516329b99a9560e11b815260040160405180910390fd5b610a836001600160a01b038216337f000000000000000000000000000000000000000000000000000000000000000085611f88565b6001600160a01b038216611f7c5760405163ec442f0560e01b8152600060048201526024016109d2565b610a8360008383611c42565b604080516001600160a01b038581166024830152848116604483015260648083018590528351808403909101815260849092019092526020810180516001600160e01b03166323b872dd60e01b17905261147791869190600090611fee9084168361203c565b905080516000141580156120135750808060200190518101906120119190612ca1565b155b1561121357604051635274afe760e01b81526001600160a01b03841660048201526024016109d2565b6060610a6a8383600084600080856001600160a01b0316848660405161206291906130ac565b60006040518083038185875af1925050503d806000811461209f576040519150601f19603f3d011682016040523d82523d6000602084013e6120a4565b606091505b5091509150610ae48683836060826120c4576120bf8261210b565b610a6a565b81511580156120db57506001600160a01b0384163b155b1561210457604051639996b31560e01b81526001600160a01b03851660048201526024016109d2565b5080610a6a565b80511561211b5780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b60405180606001604052806000801916815260200160006001600160401b03168152602001612176604051806040016040528060008152602001600081525090565b905290565b60005b8381101561219657818101518382015260200161217e565b50506000910152565b600081518084526121b781602086016020860161217b565b601f01601f19169290920160200192915050565b602081526000610a6a602083018461219f565b6001600160a01b03811681146111cd57600080fd5b6000806040838503121561220657600080fd5b8235612211816121de565b946020939093013593505050565b600060e0828403121561223157600080fd5b50919050565b60006020828403121561224957600080fd5b81356001600160401b0381111561225f57600080fd5b610c118482850161221f565b8351815260208085015190820152600060a08201604060a08185015281865180845260c08601915060c08160051b8701019350602080890160005b838110156122e55788870360bf190185528151805188528301518388018790526122d28789018261219f565b97505093820193908201906001016122a6565b50508751606088015250505060208501516080850152509050610c11565b60006060828403121561223157600080fd5b60008083601f84011261232757600080fd5b5081356001600160401b0381111561233e57600080fd5b60208301915083602082850101111561235657600080fd5b9250929050565b600080600080600080600060e0888a03121561237857600080fd5b6123828989612303565b96506060880135955060808801356001600160401b03808211156123a557600080fd5b6123b18b838c01612315565b909750955060a08a013591506123c6826121de565b90935060c089013590808211156123dc57600080fd5b506123e98a828b01612315565b989b979a50959850939692959293505050565b60008060006060848603121561241157600080fd5b833561241c816121de565b9250602084013561242c816121de565b929592945050506040919091013590565b803563ffffffff8116811461245157600080fd5b919050565b6000806040838503121561246957600080fd5b6122118361243d565b80151581146111cd57600080fd5b6000806040838503121561249357600080fd5b82356001600160401b038111156124a957600080fd5b6124b58582860161221f565b92505060208301356124c681612472565b809150509250929050565b8151815260208083015190820152604081016108b4565b803561ffff8116811461245157600080fd5b6000806040838503121561250d57600080fd5b6125168361243d565b9150612524602084016124e8565b90509250929050565b60006020828403121561253f57600080fd5b8135610a6a816121de565b60008060008060a0858703121561256057600080fd5b61256a8686612303565b935060608501356001600160401b0381111561258557600080fd5b61259187828801612315565b90945092505060808501356125a5816121de565b939692955090935050565b60008083601f8401126125c257600080fd5b5081356001600160401b038111156125d957600080fd5b6020830191508360208260051b850101111561235657600080fd5b6000806020838503121561260757600080fd5b82356001600160401b0381111561261d57600080fd5b612629858286016125b0565b90969095509350505050565b60006020828403121561264757600080fd5b610a6a8261243d565b6000806000806060858703121561266657600080fd5b61266f8561243d565b935061267d602086016124e8565b925060408501356001600160401b0381111561269857600080fd5b6126a487828801612315565b95989497509550505050565b600080600083850360808112156126c657600080fd5b84356001600160401b038111156126dc57600080fd5b6126e88782880161221f565b9450506040601f19820112156126fd57600080fd5b506020840191506060840135612712816121de565b809150509250925092565b600060c082019050835182526001600160401b0360208501511660208301526040840151612758604084018280518252602090810151910152565b5082516080830152602083015160a0830152610a6a565b6000806040838503121561278257600080fd5b823561278d816121de565b915060208301356124c6816121de565b6000606082840312156127af57600080fd5b610a6a8383612303565b600181811c908216806127cd57607f821691505b60208210810361223157634e487b7160e01b600052602260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b604051606081016001600160401b0381118282101715612825576128256127ed565b60405290565b604080519081016001600160401b0381118282101715612825576128256127ed565b604051601f8201601f191681016001600160401b0381118282101715612875576128756127ed565b604052919050565b60006001600160401b03821115612896576128966127ed565b50601f01601f191660200190565b60006001600160401b03808411156128be576128be6127ed565b8360051b60206128cf81830161284d565b8681529185019181810190368411156128e757600080fd5b865b848110156129ad578035868111156129015760008081fd5b880160603682900312156129155760008081fd5b61291d612803565b6129268261243d565b81526129338683016124e8565b868201526040808301358981111561294b5760008081fd5b929092019136601f8401126129605760008081fd5b823561297361296e8261287d565b61284d565b81815236898387010111156129885760008081fd5b818986018a8301376000918101890191909152908201528452509183019183016128e9565b50979650505050505050565b600080858511156129c957600080fd5b838611156129d657600080fd5b5050820193919092039150565b600084516129f581846020890161217b565b8201838582376000930192835250909392505050565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b602081526000610c11602083018486612a0b565b634e487b7160e01b600052603260045260246000fd5b6000823561013e19833603018112612a7557600080fd5b9190910192915050565b6000808335601e19843603018112612a9657600080fd5b8301803591506001600160401b03821115612ab057600080fd5b60200191503681900382131561235657600080fd5b6001600160401b03811681146111cd57600080fd5b63ffffffff612ae88961243d565b1681526020880135602082015260006040890135612b0581612ac5565b6001600160401b03811660408401525087606083015260e06080830152612b3060e083018789612a0b565b6001600160a01b03861660a084015282810360c0840152612b52818587612a0b565b9a9950505050505050505050565b634e487b7160e01b600052601160045260246000fd5b600060018201612b8857612b88612b60565b5060010190565b600060208284031215612ba157600080fd5b81516001600160401b03811115612bb757600080fd5b8201601f81018413612bc857600080fd5b8051612bd661296e8261287d565b818152856020838501011115612beb57600080fd5b61175a82602083016020860161217b565b600060408284031215612c0e57600080fd5b612c1661282b565b82358152602083013560208201528091505092915050565b600060208284031215612c4057600080fd5b8135610a6a81612ac5565b60018060a01b038516815283602082015261ffff83166040820152608060608201526000610ae4608083018461219f565b604081526000612c8f604083018561219f565b828103602084015261175a818561219f565b600060208284031215612cb357600080fd5b8151610a6a81612472565b6040815263ffffffff8351166040820152602083015160608201526000604084015160a06080840152612cf460e084018261219f565b90506060850151603f198483030160a0850152612d11828261219f565b60809690960151151560c08501525050506001600160a01b039190911660209091015290565b600060408284031215612d4957600080fd5b612d5161282b565b9050815181526020820151602082015292915050565b600060408284031215612d7957600080fd5b610a6a8383612d37565b601f82111561121357600081815260208120601f850160051c81016020861015612daa5750805b601f850160051c820191505b81811015612dc957828155600101612db6565b505050505050565b81516001600160401b03811115612dea57612dea6127ed565b612dfe81612df884546127b9565b84612d83565b602080601f831160018114612e335760008415612e1b5750858301515b600019600386901b1c1916600185901b178555612dc9565b600085815260208120601f198616915b82811015612e6257888601518255948401946001909101908401612e43565b5085821015612e805787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60006020808301818452808551808352604092508286019150828160051b87010184880160005b83811015612f0b57888303603f190185528151805163ffffffff1684528781015161ffff16888501528601516060878501819052612ef78186018361219f565b968901969450505090860190600101612eb7565b509098975050505050505050565b600060808284031215612f2b57600080fd5b612f33612803565b825181526020830151612f4581612ac5565b6020820152612f578460408501612d37565b60408201529392505050565b600082612f8057634e487b7160e01b600052601260045260246000fd5b500490565b80820281158282048414176108b4576108b4612b60565b803560208310156108b457600019602084900360031b1b1692915050565b6001600160c01b03198135818116916008851015612fe25780818660080360031b1b83161692505b505092915050565b6001600160401b0360c01b8560c01b16815263ffffffff60e01b8460e01b16600882015282600c8201526000825161302981602c85016020870161217b565b91909101602c0195945050505050565b808201808211156108b4576108b4612b60565b8481526001600160401b0360c01b8460c01b1660208201528260288201526000825161307f81604885016020870161217b565b9190910160480195945050505050565b6000602082840312156130a157600080fd5b8151610a6a816121de565b60008251612a7581846020870161217b56fea2646970667358221220e3e93bc4bf7bc8f11054c46641cf188b8055f4b2bde5e74a67edb86208624bdb64736f6c63430008140033000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000001a44076050125825900e736c501f859c50fe728c00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004434152560000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044341525600000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106102515760003560e01c80637d25a05e11610139578063bb0b6a53116100b6578063d045a0dc1161007a578063d045a0dc14610755578063d424388514610768578063dd62ed3e14610788578063f2fde38b146107ce578063fc0c546a14610461578063ff7bd03d146107ee57600080fd5b8063bb0b6a53146106b4578063bc70b354146106e1578063bd815db014610701578063c7c7f5b314610714578063ca5eb5e11461073557600080fd5b8063963efcaa116100fd578063963efcaa1461060c5780639f68b96414610640578063a9059cbb14610654578063b731ea0a14610674578063b98bd0701461069457600080fd5b80637d25a05e1461056a57806382413eac146105a5578063857749b0146105c55780638da5cb5b146105d957806395d89b41146105f757600080fd5b806323b872dd116101d25780635535d461116101965780635535d461146104745780635a0dfe4d146104945780635e280f11146104cb5780636fc1b31e146104ff57806370a082311461051f578063715018a61461055557600080fd5b806323b872dd146103d2578063313ce567146103f25780633400288b146104145780633b6f743b1461043457806352ae28791461046157600080fd5b8063134d4f2511610219578063134d4f251461032d578063156a0d0f1461035557806317442b701461037c57806318160ddd1461039e5780631f5e1334146103bd57600080fd5b806306fdde0314610256578063095ea7b3146102815780630d35b415146102b1578063111ecdad146102e057806313137d6514610318575b600080fd5b34801561026257600080fd5b5061026b61080e565b60405161027891906121cb565b60405180910390f35b34801561028d57600080fd5b506102a161029c3660046121f3565b6108a0565b6040519015158152602001610278565b3480156102bd57600080fd5b506102d16102cc366004612237565b6108ba565b6040516102789392919061226b565b3480156102ec57600080fd5b50600454610300906001600160a01b031681565b6040516001600160a01b039091168152602001610278565b61032b61032636600461235d565b61098b565b005b34801561033957600080fd5b50610342600281565b60405161ffff9091168152602001610278565b34801561036157600080fd5b506040805162b9270b60e21b81526001602082015201610278565b34801561038857600080fd5b5060408051600181526002602082015201610278565b3480156103aa57600080fd5b506007545b604051908152602001610278565b3480156103c957600080fd5b50610342600181565b3480156103de57600080fd5b506102a16103ed3660046123fc565b610a4b565b3480156103fe57600080fd5b5060125b60405160ff9091168152602001610278565b34801561042057600080fd5b5061032b61042f366004612456565b610a71565b34801561044057600080fd5b5061045461044f366004612480565b610a87565b60405161027891906124d1565b34801561046d57600080fd5b5030610300565b34801561048057600080fd5b5061026b61048f3660046124fa565b610aee565b3480156104a057600080fd5b506102a16104af366004612456565b63ffffffff919091166000908152600160205260409020541490565b3480156104d757600080fd5b506103007f0000000000000000000000001a44076050125825900e736c501f859c50fe728c81565b34801561050b57600080fd5b5061032b61051a36600461252d565b610b93565b34801561052b57600080fd5b506103af61053a36600461252d565b6001600160a01b031660009081526005602052604090205490565b34801561056157600080fd5b5061032b610bf0565b34801561057657600080fd5b5061058d610585366004612456565b600092915050565b6040516001600160401b039091168152602001610278565b3480156105b157600080fd5b506102a16105c036600461254a565b610c04565b3480156105d157600080fd5b506006610402565b3480156105e557600080fd5b506000546001600160a01b0316610300565b34801561060357600080fd5b5061026b610c19565b34801561061857600080fd5b506103af7f000000000000000000000000000000000000000000000000000000e8d4a5100081565b34801561064c57600080fd5b5060006102a1565b34801561066057600080fd5b506102a161066f3660046121f3565b610c28565b34801561068057600080fd5b50600254610300906001600160a01b031681565b3480156106a057600080fd5b5061032b6106af3660046125f4565b610c36565b3480156106c057600080fd5b506103af6106cf366004612635565b60016020526000908152604090205481565b3480156106ed57600080fd5b5061026b6106fc366004612650565b610c50565b61032b61070f3660046125f4565b610df8565b6107276107223660046126b0565b610f8c565b60405161027892919061271d565b34801561074157600080fd5b5061032b61075036600461252d565b611087565b61032b61076336600461235d565b61110d565b34801561077457600080fd5b5061032b61078336600461252d565b61113c565b34801561079457600080fd5b506103af6107a336600461276f565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205490565b3480156107da57600080fd5b5061032b6107e936600461252d565b611192565b3480156107fa57600080fd5b506102a161080936600461279d565b6111d0565b60606008805461081d906127b9565b80601f0160208091040260200160405190810160405280929190818152602001828054610849906127b9565b80156108965780601f1061086b57610100808354040283529160200191610896565b820191906000526020600020905b81548152906001019060200180831161087957829003601f168201915b5050505050905090565b6000336108ae818585611206565b60019150505b92915050565b604080518082019091526000808252602082015260606108ed604051806040016040528060008152602001600081525090565b60408051808201825260008082526001600160401b03602080840182905284518381529081019094529195509182610948565b6040805180820190915260008152606060208201528152602001906001900390816109205790505b50935060008061096d604089013560608a013561096860208c018c612635565b611218565b60408051808201909152918252602082015296989597505050505050565b7f0000000000000000000000001a44076050125825900e736c501f859c50fe728c6001600160a01b031633146109db576040516391ac5e4f60e01b81523360048201526024015b60405180910390fd5b602087018035906109f5906109f0908a612635565b61125c565b14610a3357610a076020880188612635565b60405163309afaf360e21b815263ffffffff9091166004820152602088013560248201526044016109d2565b610a4287878787878787611298565b50505050505050565b600033610a598582856113ff565b610a6485858561147d565b60019150505b9392505050565b610a796114dc565b610a838282611509565b5050565b60408051808201909152600080825260208201526000610ab7604085013560608601356109686020880188612635565b915050600080610ac7868461155e565b9092509050610ae4610adc6020880188612635565b838388611682565b9695505050505050565b600360209081526000928352604080842090915290825290208054610b12906127b9565b80601f0160208091040260200160405190810160405280929190818152602001828054610b3e906127b9565b8015610b8b5780601f10610b6057610100808354040283529160200191610b8b565b820191906000526020600020905b815481529060010190602001808311610b6e57829003601f168201915b505050505081565b610b9b6114dc565b600480546001600160a01b0319166001600160a01b0383169081179091556040519081527ff0be4f1e87349231d80c36b33f9e8639658eeaf474014dee15a3e6a4d4414197906020015b60405180910390a150565b610bf86114dc565b610c026000611763565b565b6001600160a01b03811630145b949350505050565b60606009805461081d906127b9565b6000336108ae81858561147d565b610c3e6114dc565b610a83610c4b82846128a4565b6117b3565b63ffffffff8416600090815260036020908152604080832061ffff87168452909152812080546060929190610c84906127b9565b80601f0160208091040260200160405190810160405280929190818152602001828054610cb0906127b9565b8015610cfd5780601f10610cd257610100808354040283529160200191610cfd565b820191906000526020600020905b815481529060010190602001808311610ce057829003601f168201915b505050505090508051600003610d4d5783838080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929450610c119350505050565b6000839003610d5d579050610c11565b60028310610ddb57610da484848080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506118c492505050565b80610db284600281886129b9565b604051602001610dc4939291906129e3565b604051602081830303815290604052915050610c11565b8383604051639a6d49cd60e01b81526004016109d2929190612a34565b60005b81811015610f0b5736838383818110610e1657610e16612a48565b9050602002810190610e289190612a5e565b9050610e5b610e3a6020830183612635565b602083013563ffffffff919091166000908152600160205260409020541490565b610e655750610ef9565b3063d045a0dc60c08301358360a0810135610e84610100830183612a7f565b610e95610100890160e08a0161252d565b610ea36101208a018a612a7f565b6040518963ffffffff1660e01b8152600401610ec59796959493929190612ada565b6000604051808303818588803b158015610ede57600080fd5b505af1158015610ef2573d6000803e3d6000fd5b5050505050505b80610f0381612b76565b915050610dfb565b50336001600160a01b0316638e9e70996040518163ffffffff1660e01b8152600401600060405180830381865afa158015610f4a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610f729190810190612b8f565b604051638351eea760e01b81526004016109d291906121cb565b610f94612134565b6040805180820190915260008082526020820152600080610fcb33604089013560608a0135610fc660208c018c612635565b6118f0565b91509150600080610fdc898461155e565b9092509050611008610ff160208b018b612635565b8383611002368d90038d018d612bfc565b8b611916565b60408051808201909152858152602080820186905282519298509096503391907f85496b760a4b7f8d66384b9df21b381f5d1b1e79f229a47aaf4c232edc2fe59a90611056908d018d612635565b6040805163ffffffff909216825260208201899052810187905260600160405180910390a350505050935093915050565b61108f6114dc565b60405163ca5eb5e160e01b81526001600160a01b0382811660048301527f0000000000000000000000001a44076050125825900e736c501f859c50fe728c169063ca5eb5e190602401600060405180830381600087803b1580156110f257600080fd5b505af1158015611106573d6000803e3d6000fd5b5050505050565b33301461112d5760405163029a949d60e31b815260040160405180910390fd5b610a4287878787878787610a33565b6111446114dc565b600280546001600160a01b0319166001600160a01b0383169081179091556040519081527fd48d879cef83a1c0bdda516f27b13ddb1b3f8bbac1c9e1511bb2a659c242776090602001610be5565b61119a6114dc565b6001600160a01b0381166111c457604051631e4fbdf760e01b8152600060048201526024016109d2565b6111cd81611763565b50565b60006020820180359060019083906111e89086612635565b63ffffffff1681526020810191909152604001600020541492915050565b6112138383836001611a21565b505050565b60008061122485611af6565b915081905083811015611254576040516371c4efed60e01b815260048101829052602481018590526044016109d2565b935093915050565b63ffffffff8116600090815260016020526040812054806108b45760405163f6ff4fb760e01b815263ffffffff841660048201526024016109d2565b60006112aa6112a78787611b2d565b90565b905060006112d6826112c46112bf8a8a611b45565b611b68565b6112d160208d018d612635565b611b9d565b9050602886111561139d5760006113136112f660608c0160408d01612c2e565b61130360208d018d612635565b8461130e8c8c611bc5565b611c10565b604051633e5ac80960e11b81529091506001600160a01b037f0000000000000000000000001a44076050125825900e736c501f859c50fe728c1690637cb59012906113699086908d906000908790600401612c4b565b600060405180830381600087803b15801561138357600080fd5b505af1158015611397573d6000803e3d6000fd5b50505050505b6001600160a01b038216887fefed6d3500546b29533b128a29e3a94d70788727f0507505ac12eaf2e578fd9c6113d660208d018d612635565b6040805163ffffffff9092168252602082018690520160405180910390a3505050505050505050565b6001600160a01b038381166000908152600660209081526040808320938616835292905220546000198114611477578181101561146857604051637dc7a0d960e11b81526001600160a01b038416600482015260248101829052604481018390526064016109d2565b61147784848484036000611a21565b50505050565b6001600160a01b0383166114a757604051634b637e8f60e11b8152600060048201526024016109d2565b6001600160a01b0382166114d15760405163ec442f0560e01b8152600060048201526024016109d2565b611213838383611c42565b6000546001600160a01b03163314610c025760405163118cdaa760e01b81523360048201526024016109d2565b63ffffffff8216600081815260016020908152604091829020849055815192835282018390527f238399d427b947898edb290f5ff0f9109849b1c3ba196a42e35f00c50a54b98b910160405180910390a15050565b60608060006115bb856020013561157486611d6c565b61158160a0890189612a7f565b8080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250611d9892505050565b90935090506000816115ce5760016115d1565b60025b90506115f16115e36020880188612635565b826106fc60808a018a612a7f565b6004549093506001600160a01b031615611679576004805460405163043a78eb60e01b81526001600160a01b039091169163043a78eb91611636918891889101612c7c565b602060405180830381865afa158015611653573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116779190612ca1565b505b50509250929050565b60408051808201909152600080825260208201527f0000000000000000000000001a44076050125825900e736c501f859c50fe728c6001600160a01b031663ddc28c586040518060a001604052808863ffffffff1681526020016116e58961125c565b8152602001878152602001868152602001851515815250306040518363ffffffff1660e01b815260040161171a929190612cbe565b6040805180830381865afa158015611736573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061175a9190612d67565b95945050505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60005b8151811015611894576117e58282815181106117d4576117d4612a48565b6020026020010151604001516118c4565b8181815181106117f7576117f7612a48565b6020026020010151604001516003600084848151811061181957611819612a48565b60200260200101516000015163ffffffff1663ffffffff168152602001908152602001600020600084848151811061185357611853612a48565b60200260200101516020015161ffff1661ffff16815260200190815260200160002090816118819190612dd1565b508061188c81612b76565b9150506117b6565b507fbe4864a8e820971c0247f5992e2da559595f7bf076a21cb5928d443d2a13b67481604051610be59190612e90565b600281015161ffff8116600314610a835781604051639a6d49cd60e01b81526004016109d291906121cb565b6000806118fe858585611218565b909250905061190d8683611e12565b94509492505050565b61191e612134565b600061192d8460000151611e48565b602085015190915015611947576119478460200151611e70565b7f0000000000000000000000001a44076050125825900e736c501f859c50fe728c6001600160a01b0316632637a450826040518060a001604052808b63ffffffff1681526020016119978c61125c565b81526020018a815260200189815260200160008960200151111515815250866040518463ffffffff1660e01b81526004016119d3929190612cbe565b60806040518083038185885af11580156119f1573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190611a169190612f19565b979650505050505050565b6001600160a01b038416611a4b5760405163e602df0560e01b8152600060048201526024016109d2565b6001600160a01b038316611a7557604051634a1406b160e11b8152600060048201526024016109d2565b6001600160a01b038085166000908152600660209081526040808320938716835292905220829055801561147757826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92584604051611ae891815260200190565b60405180910390a350505050565b60007f000000000000000000000000000000000000000000000000000000e8d4a51000611b238184612f63565b6108b49190612f85565b6000611b3c60208284866129b9565b610a6a91612f9c565b6000611b556028602084866129b9565b611b5e91612fba565b60c01c9392505050565b60006108b47f000000000000000000000000000000000000000000000000000000e8d4a510006001600160401b038416612f85565b60006001600160a01b038416611bb35761dead93505b611bbd8484611f52565b509092915050565b6060611bd482602881866129b9565b8080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929695505050505050565b606084848484604051602001611c299493929190612fea565b6040516020818303038152906040529050949350505050565b6001600160a01b038316611c6d578060076000828254611c629190613039565b90915550611cdf9050565b6001600160a01b03831660009081526005602052604090205481811015611cc05760405163391434e360e21b81526001600160a01b038516600482015260248101829052604481018390526064016109d2565b6001600160a01b03841660009081526005602052604090209082900390555b6001600160a01b038216611cfb57600780548290039055611d1a565b6001600160a01b03821660009081526005602052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051611d5f91815260200190565b60405180910390a3505050565b60006108b47f000000000000000000000000000000000000000000000000000000e8d4a5100083612f63565b8051606090151580611de1578484604051602001611dcd92919091825260c01b6001600160c01b031916602082015260280190565b604051602081830303815290604052611e08565b84843385604051602001611df8949392919061304c565b6040516020818303038152906040525b9150935093915050565b6001600160a01b038216611e3c57604051634b637e8f60e11b8152600060048201526024016109d2565b610a8382600083611c42565b6000813414611e6c576040516304fb820960e51b81523460048201526024016109d2565b5090565b60007f0000000000000000000000001a44076050125825900e736c501f859c50fe728c6001600160a01b031663e4fe1d946040518163ffffffff1660e01b8152600401602060405180830381865afa158015611ed0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ef4919061308f565b90506001600160a01b038116611f1d576040516329b99a9560e11b815260040160405180910390fd5b610a836001600160a01b038216337f0000000000000000000000001a44076050125825900e736c501f859c50fe728c85611f88565b6001600160a01b038216611f7c5760405163ec442f0560e01b8152600060048201526024016109d2565b610a8360008383611c42565b604080516001600160a01b038581166024830152848116604483015260648083018590528351808403909101815260849092019092526020810180516001600160e01b03166323b872dd60e01b17905261147791869190600090611fee9084168361203c565b905080516000141580156120135750808060200190518101906120119190612ca1565b155b1561121357604051635274afe760e01b81526001600160a01b03841660048201526024016109d2565b6060610a6a8383600084600080856001600160a01b0316848660405161206291906130ac565b60006040518083038185875af1925050503d806000811461209f576040519150601f19603f3d011682016040523d82523d6000602084013e6120a4565b606091505b5091509150610ae48683836060826120c4576120bf8261210b565b610a6a565b81511580156120db57506001600160a01b0384163b155b1561210457604051639996b31560e01b81526001600160a01b03851660048201526024016109d2565b5080610a6a565b80511561211b5780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b60405180606001604052806000801916815260200160006001600160401b03168152602001612176604051806040016040528060008152602001600081525090565b905290565b60005b8381101561219657818101518382015260200161217e565b50506000910152565b600081518084526121b781602086016020860161217b565b601f01601f19169290920160200192915050565b602081526000610a6a602083018461219f565b6001600160a01b03811681146111cd57600080fd5b6000806040838503121561220657600080fd5b8235612211816121de565b946020939093013593505050565b600060e0828403121561223157600080fd5b50919050565b60006020828403121561224957600080fd5b81356001600160401b0381111561225f57600080fd5b610c118482850161221f565b8351815260208085015190820152600060a08201604060a08185015281865180845260c08601915060c08160051b8701019350602080890160005b838110156122e55788870360bf190185528151805188528301518388018790526122d28789018261219f565b97505093820193908201906001016122a6565b50508751606088015250505060208501516080850152509050610c11565b60006060828403121561223157600080fd5b60008083601f84011261232757600080fd5b5081356001600160401b0381111561233e57600080fd5b60208301915083602082850101111561235657600080fd5b9250929050565b600080600080600080600060e0888a03121561237857600080fd5b6123828989612303565b96506060880135955060808801356001600160401b03808211156123a557600080fd5b6123b18b838c01612315565b909750955060a08a013591506123c6826121de565b90935060c089013590808211156123dc57600080fd5b506123e98a828b01612315565b989b979a50959850939692959293505050565b60008060006060848603121561241157600080fd5b833561241c816121de565b9250602084013561242c816121de565b929592945050506040919091013590565b803563ffffffff8116811461245157600080fd5b919050565b6000806040838503121561246957600080fd5b6122118361243d565b80151581146111cd57600080fd5b6000806040838503121561249357600080fd5b82356001600160401b038111156124a957600080fd5b6124b58582860161221f565b92505060208301356124c681612472565b809150509250929050565b8151815260208083015190820152604081016108b4565b803561ffff8116811461245157600080fd5b6000806040838503121561250d57600080fd5b6125168361243d565b9150612524602084016124e8565b90509250929050565b60006020828403121561253f57600080fd5b8135610a6a816121de565b60008060008060a0858703121561256057600080fd5b61256a8686612303565b935060608501356001600160401b0381111561258557600080fd5b61259187828801612315565b90945092505060808501356125a5816121de565b939692955090935050565b60008083601f8401126125c257600080fd5b5081356001600160401b038111156125d957600080fd5b6020830191508360208260051b850101111561235657600080fd5b6000806020838503121561260757600080fd5b82356001600160401b0381111561261d57600080fd5b612629858286016125b0565b90969095509350505050565b60006020828403121561264757600080fd5b610a6a8261243d565b6000806000806060858703121561266657600080fd5b61266f8561243d565b935061267d602086016124e8565b925060408501356001600160401b0381111561269857600080fd5b6126a487828801612315565b95989497509550505050565b600080600083850360808112156126c657600080fd5b84356001600160401b038111156126dc57600080fd5b6126e88782880161221f565b9450506040601f19820112156126fd57600080fd5b506020840191506060840135612712816121de565b809150509250925092565b600060c082019050835182526001600160401b0360208501511660208301526040840151612758604084018280518252602090810151910152565b5082516080830152602083015160a0830152610a6a565b6000806040838503121561278257600080fd5b823561278d816121de565b915060208301356124c6816121de565b6000606082840312156127af57600080fd5b610a6a8383612303565b600181811c908216806127cd57607f821691505b60208210810361223157634e487b7160e01b600052602260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b604051606081016001600160401b0381118282101715612825576128256127ed565b60405290565b604080519081016001600160401b0381118282101715612825576128256127ed565b604051601f8201601f191681016001600160401b0381118282101715612875576128756127ed565b604052919050565b60006001600160401b03821115612896576128966127ed565b50601f01601f191660200190565b60006001600160401b03808411156128be576128be6127ed565b8360051b60206128cf81830161284d565b8681529185019181810190368411156128e757600080fd5b865b848110156129ad578035868111156129015760008081fd5b880160603682900312156129155760008081fd5b61291d612803565b6129268261243d565b81526129338683016124e8565b868201526040808301358981111561294b5760008081fd5b929092019136601f8401126129605760008081fd5b823561297361296e8261287d565b61284d565b81815236898387010111156129885760008081fd5b818986018a8301376000918101890191909152908201528452509183019183016128e9565b50979650505050505050565b600080858511156129c957600080fd5b838611156129d657600080fd5b5050820193919092039150565b600084516129f581846020890161217b565b8201838582376000930192835250909392505050565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b602081526000610c11602083018486612a0b565b634e487b7160e01b600052603260045260246000fd5b6000823561013e19833603018112612a7557600080fd5b9190910192915050565b6000808335601e19843603018112612a9657600080fd5b8301803591506001600160401b03821115612ab057600080fd5b60200191503681900382131561235657600080fd5b6001600160401b03811681146111cd57600080fd5b63ffffffff612ae88961243d565b1681526020880135602082015260006040890135612b0581612ac5565b6001600160401b03811660408401525087606083015260e06080830152612b3060e083018789612a0b565b6001600160a01b03861660a084015282810360c0840152612b52818587612a0b565b9a9950505050505050505050565b634e487b7160e01b600052601160045260246000fd5b600060018201612b8857612b88612b60565b5060010190565b600060208284031215612ba157600080fd5b81516001600160401b03811115612bb757600080fd5b8201601f81018413612bc857600080fd5b8051612bd661296e8261287d565b818152856020838501011115612beb57600080fd5b61175a82602083016020860161217b565b600060408284031215612c0e57600080fd5b612c1661282b565b82358152602083013560208201528091505092915050565b600060208284031215612c4057600080fd5b8135610a6a81612ac5565b60018060a01b038516815283602082015261ffff83166040820152608060608201526000610ae4608083018461219f565b604081526000612c8f604083018561219f565b828103602084015261175a818561219f565b600060208284031215612cb357600080fd5b8151610a6a81612472565b6040815263ffffffff8351166040820152602083015160608201526000604084015160a06080840152612cf460e084018261219f565b90506060850151603f198483030160a0850152612d11828261219f565b60809690960151151560c08501525050506001600160a01b039190911660209091015290565b600060408284031215612d4957600080fd5b612d5161282b565b9050815181526020820151602082015292915050565b600060408284031215612d7957600080fd5b610a6a8383612d37565b601f82111561121357600081815260208120601f850160051c81016020861015612daa5750805b601f850160051c820191505b81811015612dc957828155600101612db6565b505050505050565b81516001600160401b03811115612dea57612dea6127ed565b612dfe81612df884546127b9565b84612d83565b602080601f831160018114612e335760008415612e1b5750858301515b600019600386901b1c1916600185901b178555612dc9565b600085815260208120601f198616915b82811015612e6257888601518255948401946001909101908401612e43565b5085821015612e805787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60006020808301818452808551808352604092508286019150828160051b87010184880160005b83811015612f0b57888303603f190185528151805163ffffffff1684528781015161ffff16888501528601516060878501819052612ef78186018361219f565b968901969450505090860190600101612eb7565b509098975050505050505050565b600060808284031215612f2b57600080fd5b612f33612803565b825181526020830151612f4581612ac5565b6020820152612f578460408501612d37565b60408201529392505050565b600082612f8057634e487b7160e01b600052601260045260246000fd5b500490565b80820281158282048414176108b4576108b4612b60565b803560208310156108b457600019602084900360031b1b1692915050565b6001600160c01b03198135818116916008851015612fe25780818660080360031b1b83161692505b505092915050565b6001600160401b0360c01b8560c01b16815263ffffffff60e01b8460e01b16600882015282600c8201526000825161302981602c85016020870161217b565b91909101602c0195945050505050565b808201808211156108b4576108b4612b60565b8481526001600160401b0360c01b8460c01b1660208201528260288201526000825161307f81604885016020870161217b565b9190910160480195945050505050565b6000602082840312156130a157600080fd5b8151610a6a816121de565b60008251612a7581846020870161217b56fea2646970667358221220e3e93bc4bf7bc8f11054c46641cf188b8055f4b2bde5e74a67edb86208624bdb64736f6c63430008140033

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

000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000001a44076050125825900e736c501f859c50fe728c00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004434152560000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044341525600000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : tokenName (string): CARV
Arg [1] : tokenSymbol (string): CARV
Arg [2] : lzEndpoint (address): 0x1a44076050125825900e736c501f859c50fE728c
Arg [3] : mintAmount (uint256): 0

-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 0000000000000000000000001a44076050125825900e736c501f859c50fe728c
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [5] : 4341525600000000000000000000000000000000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [7] : 4341525600000000000000000000000000000000000000000000000000000000


Deployed Bytecode Sourcemap

132891:303:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;119973:91;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;122266:190;;;;;;;;;;-1:-1:-1;122266:190:0;;;;;:::i;:::-;;:::i;:::-;;;1391:14:1;;1384:22;1366:41;;1354:2;1339:18;122266:190:0;1226:187:1;96046:1283:0;;;;;;;;;;-1:-1:-1;96046:1283:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;;;:::i;93189:27::-;;;;;;;;;;-1:-1:-1;93189:27:0;;;;-1:-1:-1;;;;;93189:27:0;;;;;;-1:-1:-1;;;;;3603:32:1;;;3585:51;;3573:2;3558:18;93189:27:0;3439:203:1;31151:723:0;;;;;;:::i;:::-;;:::i;:::-;;93060:40;;;;;;;;;;;;93099:1;93060:40;;;;;5384:6:1;5372:19;;;5354:38;;5342:2;5327:18;93060:40:0;5210:188:1;94358:142:0;;;;;;;;;;-1:-1:-1;94358:142:0;;;-1:-1:-1;;;5573:52:1;;94490:1:0;5656:2:1;5641:18;;5634:59;5546:18;94358:142:0;5403:296:1;58301:243:0;;;;;;;;;;-1:-1:-1;58301:243:0;;;52179:1;5911:34:1;;27384:1:0;5976:2:1;5961:18;;5954:43;5847:18;58301:243:0;5704:299:1;121075:99:0;;;;;;;;;;-1:-1:-1;121154:12:0;;121075:99;;;6154:25:1;;;6142:2;6127:18;121075:99:0;6008:177:1;93022:31:0;;;;;;;;;;;;93052:1;93022:31;;123034:249;;;;;;;;;;-1:-1:-1;123034:249:0;;;;;:::i;:::-;;:::i;120926:84::-;;;;;;;;;;-1:-1:-1;121000:2:0;120926:84;;;6823:4:1;6811:17;;;6793:36;;6781:2;6766:18;120926:84:0;6651:184:1;25026:110:0;;;;;;;;;;-1:-1:-1;25026:110:0;;;;;:::i;:::-;;:::i;97792:787::-;;;;;;;;;;-1:-1:-1;97792:787:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;86862:95::-;;;;;;;;;;-1:-1:-1;86944:4:0;86862:95;;18868:93;;;;;;;;;;-1:-1:-1;18868:93:0;;;;;:::i;:::-;;:::i;106109:134::-;;;;;;;;;;-1:-1:-1;106109:134:0;;;;;:::i;:::-;106215:11;;;;;106191:4;106215:11;;;:5;:11;;;;;;:20;;106109:134;23719:46;;;;;;;;;;;;;;;95565:166;;;;;;;;;;-1:-1:-1;95565:166:0;;;;;:::i;:::-;;:::i;121237:118::-;;;;;;;;;;-1:-1:-1;121237:118:0;;;;;:::i;:::-;-1:-1:-1;;;;;121329:18:0;121302:7;121329:18;;;:9;:18;;;;;;;121237:118;17535:103;;;;;;;;;;;;;:::i;30273:130::-;;;;;;;;;;-1:-1:-1;30273:130:0;;;;;:::i;:::-;30362:12;30273:130;;;;;;;;-1:-1:-1;;;;;9440:31:1;;;9422:50;;9410:2;9395:18;30273:130:0;9278:200:1;28747:222:0;;;;;;;;;;-1:-1:-1;28747:222:0;;;;;:::i;:::-;;:::i;95119:89::-;;;;;;;;;;-1:-1:-1;95199:1:0;95119:89;;16860:87;;;;;;;;;;-1:-1:-1;16906:7:0;16933:6;-1:-1:-1;;;;;16933:6:0;16860:87;;120183:95;;;;;;;;;;;;;:::i;92711:46::-;;;;;;;;;;;;;;;130776:96;;;;;;;;;;-1:-1:-1;130835:4:0;130776:96;;121560:182;;;;;;;;;;-1:-1:-1;121560:182:0;;;;;:::i;:::-;;:::i;86537:23::-;;;;;;;;;;-1:-1:-1;86537:23:0;;;;-1:-1:-1;;;;;86537:23:0;;;19733:158;;;;;;;;;;-1:-1:-1;19733:158:0;;;;;:::i;:::-;;:::i;23845:48::-;;;;;;;;;;-1:-1:-1;23845:48:0;;;;;:::i;:::-;;;;;;;;;;;;;;21887:1003;;;;;;;;;;-1:-1:-1;21887:1003:0;;;;;:::i;:::-;;:::i;87706:1358::-;;;;;;:::i;:::-;;:::i;99284:1364::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;:::i;26591:107::-;;;;;;;;;;-1:-1:-1;26591:107:0;;;;;:::i;:::-;;:::i;89726:419::-;;;;;;:::i;:::-;;:::i;87095:142::-;;;;;;;;;;-1:-1:-1;87095:142:0;;;;;:::i;:::-;;:::i;121805:::-;;;;;;;;;;-1:-1:-1;121805:142:0;;;;;:::i;:::-;-1:-1:-1;;;;;121912:18:0;;;121885:7;121912:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;121805:142;17793:220;;;;;;;;;;-1:-1:-1;17793:220:0;;;;;:::i;:::-;;:::i;29522:151::-;;;;;;;;;;-1:-1:-1;29522:151:0;;;;;:::i;:::-;;:::i;119973:91::-;120018:13;120051:5;120044:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;119973:91;:::o;122266:190::-;122339:4;14894:10;122395:31;14894:10;122411:7;122420:5;122395:8;:31::i;:::-;122444:4;122437:11;;;122266:190;;;;;:::o;96046:1283::-;-1:-1:-1;;;;;;;;;;;;;;;;;96204:35:0;96241:28;-1:-1:-1;;;;;;;;;;;;;;;;;;;96241:28:0;96463:34;;;;;;;;-1:-1:-1;96463:34:0;;;-1:-1:-1;;;;;96463:34:0;;;;;;;96617:21;;;;;;;;;;;96463:34;;-1:-1:-1;;;96617:21:0;;;-1:-1:-1;;;;;;;;;;;;;;;;;96617:21:0;;;;;;;;;;;;;;;-1:-1:-1;96601:37:0;-1:-1:-1;97081:20:0;;97131:124;97156:19;;;;97190:22;;;;97227:17;;;;97156:10;97227:17;:::i;:::-;97131:10;:124::i;:::-;97279:42;;;;;;;;;;;;;;;;96046:1283;;;;-1:-1:-1;;;;;;96046:1283:0:o;31151:723::-;31472:8;-1:-1:-1;;;;;31464:31:0;31485:10;31464:31;31460:68;;31504:24;;-1:-1:-1;;;31504:24:0;;31517:10;31504:24;;;3585:51:1;3558:18;;31504:24:0;;;;;;;;31460:68;31667:14;;;;;;31631:32;;31648:14;;31667:7;31648:14;:::i;:::-;31631:16;:32::i;:::-;:50;31627:103;;31699:14;;;;:7;:14;:::i;:::-;31690:40;;-1:-1:-1;;;31690:40:0;;15126:10:1;15114:23;;;31690:40:0;;;15096:42:1;31715:14:0;;;;15154:18:1;;;15147:34;15069:18;;31690:40:0;14924:263:1;31627:103:0;31807:59;31818:7;31827:5;31834:8;;31844:9;31855:10;;31807;:59::i;:::-;31151:723;;;;;;;:::o;123034:249::-;123121:4;14894:10;123179:37;123195:4;14894:10;123210:5;123179:15;:37::i;:::-;123227:26;123237:4;123243:2;123247:5;123227:9;:26::i;:::-;123271:4;123264:11;;;123034:249;;;;;;:::o;25026:110::-;16746:13;:11;:13::i;:::-;25107:21:::1;25116:4;25122:5;25107:8;:21::i;:::-;25026:110:::0;;:::o;97792:787::-;-1:-1:-1;;;;;;;;;;;;;;;;;98132:24:0;98160:74;98171:19;;;;98192:22;;;;98216:17;;;;98171:10;98216:17;:::i;98160:74::-;98129:105;;;98326:20;98348;98372:49;98392:10;98404:16;98372:19;:49::i;:::-;98325:96;;-1:-1:-1;98325:96:0;-1:-1:-1;98513:58:0;98520:17;;;;:10;:17;:::i;:::-;98539:7;98548;98557:13;98513:6;:58::i;:::-;98506:65;97792:787;-1:-1:-1;;;;;;97792:787:0:o;18868:93::-;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;95565:166::-;16746:13;:11;:13::i;:::-;95649:12:::1;:28:::0;;-1:-1:-1;;;;;;95649:28:0::1;-1:-1:-1::0;;;;;95649:28:0;::::1;::::0;;::::1;::::0;;;95693:30:::1;::::0;3585:51:1;;;95693:30:0::1;::::0;3573:2:1;3558:18;95693:30:0::1;;;;;;;;95565:166:::0;:::o;17535:103::-;16746:13;:11;:13::i;:::-;17600:30:::1;17627:1;17600:18;:30::i;:::-;17535:103::o:0;28747:222::-;-1:-1:-1;;;;;28937:24:0;;28956:4;28937:24;28747:222;;;;;;;:::o;120183:95::-;120230:13;120263:7;120256:14;;;;;:::i;121560:182::-;121629:4;14894:10;121685:27;14894:10;121702:2;121706:5;121685:9;:27::i;19733:158::-;16746:13;:11;:13::i;:::-;19846:37:::1;;19866:16:::0;;19846:37:::1;:::i;:::-;:19;:37::i;21887:1003::-:0;22083:21;;;22059;22083;;;:15;:21;;;;;;;;:31;;;;;;;;;;22059:55;;22034:12;;22059:21;22083:31;22059:55;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22246:8;:15;22265:1;22246:20;22242:46;;22275:13;;22268:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;22268:20:0;;-1:-1:-1;22268:20:0;;-1:-1:-1;;;;22268:20:0;22242:46;22376:1;22352:25;;;22348:46;;22386:8;-1:-1:-1;22379:15:0;;22348:46;22544:1;22520:25;;22516:271;;22562:34;22582:13;;22562:34;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;22562:19:0;;-1:-1:-1;;;22562:34:0:i;:::-;22747:8;22757:17;:13;22771:1;22757:13;;:17;:::i;:::-;22734:41;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;22727:48;;;;;22516:271;22868:13;;22853:29;;-1:-1:-1;;;22853:29:0;;;;;;;;;:::i;87706:1358::-;87808:9;87803:1057;87823:19;;;87803:1057;;;87864:29;87896:8;;87905:1;87896:11;;;;;;;:::i;:::-;;;;;;;;;;;;:::i;:::-;87864:43;-1:-1:-1;87993:50:0;88000:20;;;;87864:43;88000:20;:::i;:::-;88022;;;;106215:11;;;;;106191:4;106215:11;;;:5;:11;;;;;;:20;;106109:134;87993:50;87988:65;;88045:8;;;87988:65;88624:4;:22;88655:12;;;;:6;88720:11;;;;88750:14;;;;88655:6;88750:14;:::i;:::-;88783:15;;;;;;;;:::i;:::-;88817:16;;;;:6;:16;:::i;:::-;88624:224;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;87849:1011;87803:1057;87844:3;;;;:::i;:::-;;;;87803:1057;;;;89020:10;-1:-1:-1;;;;;89010:43:0;;:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;89010:45:0;;;;;;;;;;;;:::i;:::-;88993:63;;-1:-1:-1;;;88993:63:0;;;;;;;;:::i;99284:1364::-;99449:34;;:::i;:::-;-1:-1:-1;;;;;;;;;;;;;;;;;99851:20:0;;99901:145;99922:10;99947:19;;;;99981:22;;;;100018:17;;;;99947:10;100018:17;:::i;:::-;99901:6;:145::i;:::-;99850:196;;;;100138:20;100160;100184:49;100204:10;100216:16;100184:19;:49::i;:::-;100137:96;;-1:-1:-1;100137:96:0;-1:-1:-1;100359:66:0;100367:17;;;;:10;:17;:::i;:::-;100386:7;100395;100359:66;;;;;;;100404:4;100359:66;:::i;:::-;100410:14;100359:7;:66::i;:::-;100493:42;;;;;;;;;;;;;;;;;;;100561:15;;100346:79;;-1:-1:-1;100493:42:0;;-1:-1:-1;100597:10:0;;100561:15;100553:87;;100578:17;;;;:10;:17;:::i;:::-;100553:87;;;23263:10:1;23251:23;;;23233:42;;23306:2;23291:18;;23284:34;;;23334:18;;23327:34;;;23221:2;23206:18;100553:87:0;;;;;;;99515:1133;;;;99284:1364;;;;;;:::o;26591:107::-;16746:13;:11;:13::i;:::-;26659:31:::1;::::0;-1:-1:-1;;;26659:31:0;;-1:-1:-1;;;;;3603:32:1;;;26659:31:0::1;::::0;::::1;3585:51:1::0;26659:8:0::1;:20;::::0;::::1;::::0;3558:18:1;;26659:31:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;26591:107:::0;:::o;89726:419::-;90013:10;90035:4;90013:27;90009:50;;90049:10;;-1:-1:-1;;;90049:10:0;;;;;;;;;;;90009:50;90070:67;90089:7;90098:5;90105:8;;90115:9;90126:10;;90070:18;:67::i;87095:142::-;16746:13;:11;:13::i;:::-;87171:8:::1;:20:::0;;-1:-1:-1;;;;;;87171:20:0::1;-1:-1:-1::0;;;;;87171:20:0;::::1;::::0;;::::1;::::0;;;87207:22:::1;::::0;3585:51:1;;;87207:22:0::1;::::0;3573:2:1;3558:18;87207:22:0::1;3439:203:1::0;17793:220:0;16746:13;:11;:13::i;:::-;-1:-1:-1;;;;;17878:22:0;::::1;17874:93;;17924:31;::::0;-1:-1:-1;;;17924:31:0;;17952:1:::1;17924:31;::::0;::::1;3585:51:1::0;3558:18;;17924:31:0::1;3439:203:1::0;17874:93:0::1;17977:28;17996:8;17977:18;:28::i;:::-;17793:220:::0;:::o;29522:151::-;29604:4;29652:13;;;;;;29628:5;;29604:4;;29634:13;;29652:6;29634:13;:::i;:::-;29628:20;;;;;;;;;;;;;-1:-1:-1;29628:20:0;;:37;;29522:151;-1:-1:-1;;29522:151:0:o;127093:130::-;127178:37;127187:5;127194:7;127203:5;127210:4;127178:8;:37::i;:::-;127093:130;;;:::o;108170:682::-;108316:20;108338:24;108514:22;108526:9;108514:11;:22::i;:::-;108499:37;;108664:12;108645:31;;108749:12;108730:16;:31;108726:119;;;108785:48;;-1:-1:-1;;;108785:48:0;;;;;23546:25:1;;;23587:18;;;23580:34;;;23519:18;;108785:48:0;23372:248:1;108726:119:0;108170:682;;;;;;:::o;26044:200::-;26149:11;;;26114:7;26149:11;;;:5;:11;;;;;;;26171:43;;26202:12;;-1:-1:-1;;;26202:12:0;;23799:10:1;23787:23;;26202:12:0;;;23769:42:1;23742:18;;26202:12:0;23625:192:1;102837:1837:0;103323:17;103343:36;:17;:8;;:15;:17::i;:::-;72209:2;72097:125;103343:36;103323:56;;103514:24;103541:62;103549:9;103560:26;103566:19;:8;;:17;:19::i;:::-;103560:5;:26::i;:::-;103588:14;;;;:7;:14;:::i;:::-;103541:7;:62::i;:::-;103514:89;-1:-1:-1;69488:2:0;-1:-1:-1;;103616:970:0;;;103722:23;103748:180;103792:13;;;;;;;;:::i;:::-;103824:14;;;;:7;:14;:::i;:::-;103857:16;103892:21;:8;;:19;:21::i;:::-;103748:25;:180::i;:::-;104482:92;;-1:-1:-1;;;104482:92:0;;103722:206;;-1:-1:-1;;;;;;104482:8:0;:20;;;;:92;;104503:9;;104514:5;;104521:1;;103722:206;;104482:92;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;103643:943;103616:970;-1:-1:-1;;;;;104603:63:0;;104615:5;104603:63;104622:14;;;;:7;:14;:::i;:::-;104603:63;;;15126:10:1;15114:23;;;15096:42;;15169:2;15154:18;;15147:34;;;15069:18;104603:63:0;;;;;;;103146:1528;;102837:1837;;;;;;;:::o;128809:487::-;-1:-1:-1;;;;;121912:18:0;;;128909:24;121912:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;-1:-1:-1;;128976:37:0;;128972:317;;129053:5;129034:16;:24;129030:132;;;129086:60;;-1:-1:-1;;;129086:60:0;;-1:-1:-1;;;;;25044:32:1;;129086:60:0;;;25026:51:1;25093:18;;;25086:34;;;25136:18;;;25129:34;;;24999:18;;129086:60:0;24824:345:1;129030:132:0;129205:57;129214:5;129221:7;129249:5;129230:16;:24;129256:5;129205:8;:57::i;:::-;128898:398;128809:487;;;:::o;123668:308::-;-1:-1:-1;;;;;123752:18:0;;123748:88;;123794:30;;-1:-1:-1;;;123794:30:0;;123821:1;123794:30;;;3585:51:1;3558:18;;123794:30:0;3439:203:1;123748:88:0;-1:-1:-1;;;;;123850:16:0;;123846:88;;123890:32;;-1:-1:-1;;;123890:32:0;;123919:1;123890:32;;;3585:51:1;3558:18;;123890:32:0;3439:203:1;123846:88:0;123944:24;123952:4;123958:2;123962:5;123944:7;:24::i;17025:166::-;16906:7;16933:6;-1:-1:-1;;;;;16933:6:0;14894:10;17085:23;17081:103;;17132:40;;-1:-1:-1;;;17132:40:0;;14894:10;17132:40;;;3585:51:1;3558:18;;17132:40:0;3439:203:1;25601:137:0;25675:11;;;;;;;:5;:11;;;;;;;;;:19;;;25710:20;;15096:42:1;;;15154:18;;15147:34;;;25710:20:0;;15069:18:1;25710:20:0;;;;;;;25601:137;;:::o;100951:1355::-;101086:20;101108;101141:15;101314:330;101347:10;:13;;;101375:16;101381:9;101375:5;:16::i;:::-;101612:21;;;;:10;:21;:::i;:::-;101314:330;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;101314:18:0;;-1:-1:-1;;;101314:330:0:i;:::-;101290:354;;-1:-1:-1;101290:354:0;-1:-1:-1;101726:14:0;101290:354;101743:33;;93052:1;101743:33;;;93099:1;101743:33;101726:50;-1:-1:-1;101900:67:0;101915:17;;;;:10;:17;:::i;:::-;101934:7;101943:23;;;;:10;:23;:::i;101900:67::-;102213:12;;101890:77;;-1:-1:-1;;;;;;102213:12:0;:26;102209:89;;102259:12;;;102241:57;;-1:-1:-1;;;102241:57:0;;-1:-1:-1;;;;;102259:12:0;;;;102241:39;;:57;;102281:7;;102290;;102241:57;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;102209:89;101130:1176;;100951:1355;;;;;:::o;53399:402::-;-1:-1:-1;;;;;;;;;;;;;;;;;53627:8:0;-1:-1:-1;;;;;53627:14:0;;53660:86;;;;;;;;53676:7;53660:86;;;;;;53685:25;53702:7;53685:16;:25::i;:::-;53660:86;;;;53712:8;53660:86;;;;53722:8;53660:86;;;;53732:13;53660:86;;;;;53773:4;53627:166;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;53607:186;53399:402;-1:-1:-1;;;;;53399:402:0:o;18173:191::-;18247:16;18266:6;;-1:-1:-1;;;;;18283:17:0;;;-1:-1:-1;;;;;;18283:17:0;;;;;;18316:40;;18266:6;;;;;;;18316:40;;18247:16;18316:40;18236:128;18173:191;:::o;20592:522::-;20701:9;20696:358;20720:16;:23;20716:1;:27;20696:358;;;20880:48;20900:16;20917:1;20900:19;;;;;;;;:::i;:::-;;;;;;;:27;;;20880:19;:48::i;:::-;21015:16;21032:1;21015:19;;;;;;;;:::i;:::-;;;;;;;:27;;;20943:15;:40;20959:16;20976:1;20959:19;;;;;;;;:::i;:::-;;;;;;;:23;;;20943:40;;;;;;;;;;;;;;;:69;20984:16;21001:1;20984:19;;;;;;;;:::i;:::-;;;;;;;:27;;;20943:69;;;;;;;;;;;;;;;:99;;;;;;:::i;:::-;-1:-1:-1;20745:3:0;;;;:::i;:::-;;;;20696:358;;;;21071:35;21089:16;21071:35;;;;;;:::i;23036:270::-;23209:1;23195:16;;23189:23;23237:28;;;18790:1;23237:28;23233:65;;23289:8;23274:24;;-1:-1:-1;;;23274:24:0;;;;;;;;:::i;131366:580::-;131532:20;131554:24;131626:44;131637:9;131648:12;131662:7;131626:10;:44::i;:::-;131591:79;;-1:-1:-1;131591:79:0;-1:-1:-1;131912:26:0;131918:5;131591:79;131912:5;:26::i;:::-;131366:580;;;;;;;:::o;54576:783::-;54783:31;;:::i;:::-;54950:20;54973:26;54984:4;:14;;;54973:10;:26::i;:::-;55014:15;;;;54950:49;;-1:-1:-1;55014:19:0;55010:53;;55035:28;55047:4;:15;;;55035:11;:28::i;:::-;55156:8;-1:-1:-1;;;;;55156:13:0;;55178:12;55211:92;;;;;;;;55227:7;55211:92;;;;;;55236:25;55253:7;55236:16;:25::i;:::-;55211:92;;;;55263:8;55211:92;;;;55273:8;55211:92;;;;55301:1;55283:4;:15;;;:19;55211:92;;;;;55322:14;55156:195;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;55076:275;54576:783;-1:-1:-1;;;;;;;54576:783:0:o;128074:443::-;-1:-1:-1;;;;;128187:19:0;;128183:91;;128230:32;;-1:-1:-1;;;128230:32:0;;128259:1;128230:32;;;3585:51:1;3558:18;;128230:32:0;3439:203:1;128183:91:0;-1:-1:-1;;;;;128288:21:0;;128284:92;;128333:31;;-1:-1:-1;;;128333:31:0;;128361:1;128333:31;;;3585:51:1;3558:18;;128333:31:0;3439:203:1;128284:92:0;-1:-1:-1;;;;;128386:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;:35;;;128432:78;;;;128483:7;-1:-1:-1;;;;;128467:31:0;128476:5;-1:-1:-1;;;;;128467:31:0;;128492:5;128467:31;;;;6154:25:1;;6142:2;6127:18;;6008:177;128467:31:0;;;;;;;;128074:443;;;;:::o;106647:174::-;106718:16;106792:21;106755:33;106792:21;106755:9;:33;:::i;:::-;106754:59;;;;:::i;70854:125::-;70914:7;70949:21;69432:2;70914:7;70949:4;;:21;:::i;:::-;70941:30;;;:::i;71164:154::-;71226:6;71266:42;69488:2;69432;71266:4;;:42;:::i;:::-;71259:50;;;:::i;:::-;71252:58;;;71164:154;-1:-1:-1;;;71164:154:0:o;107052:141::-;107116:16;107152:33;107164:21;-1:-1:-1;;;;;107152:33:0;;;:::i;132290:472::-;132428:24;-1:-1:-1;;;;;132469:19:0;;132465:46;;132504:6;132490:21;;132465:46;132609:21;132615:3;132620:9;132609:5;:21::i;:::-;-1:-1:-1;132745:9:0;;132290:472;-1:-1:-1;;132290:472:0:o;71485:132::-;71549:12;71581:28;:4;69488:2;71581:4;;:28;:::i;:::-;71574:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;71574:35:0;;71485:132;-1:-1:-1;;;;;;71485:132:0:o;66707:291::-;66896:17;66950:6;66958:7;66967:9;66978:11;66933:57;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;66926:64;;66707:291;;;;;;:::o;124300:1135::-;-1:-1:-1;;;;;124390:18:0;;124386:552;;124544:5;124528:12;;:21;;;;;;;:::i;:::-;;;;-1:-1:-1;124386:552:0;;-1:-1:-1;124386:552:0;;-1:-1:-1;;;;;124604:15:0;;124582:19;124604:15;;;:9;:15;;;;;;124638:19;;;124634:117;;;124685:50;;-1:-1:-1;;;124685:50:0;;-1:-1:-1;;;;;25044:32:1;;124685:50:0;;;25026:51:1;25093:18;;;25086:34;;;25136:18;;;25129:34;;;24999:18;;124685:50:0;24824:345:1;124634:117:0;-1:-1:-1;;;;;124874:15:0;;;;;;:9;:15;;;;;124892:19;;;;124874:37;;124386:552;-1:-1:-1;;;;;124954:16:0;;124950:435;;125120:12;:21;;;;;;;124950:435;;;-1:-1:-1;;;;;125336:13:0;;;;;;:9;:13;;;;;:22;;;;;;124950:435;125417:2;-1:-1:-1;;;;;125402:25:0;125411:4;-1:-1:-1;;;;;125402:25:0;;125421:5;125402:25;;;;6154::1;;6142:2;6127:18;;6008:177;125402:25:0;;;;;;;;124300:1135;;;:::o;107424:149::-;107489:15;107531:33;107543:21;107531:9;:33;:::i;69853:516::-;70051:18;;69991:17;;70051:22;;;70196:165;;70338:7;70347:13;70321:40;;;;;;;;32997:19:1;;;33072:3;33050:16;-1:-1:-1;;;;;;33046:51:1;33041:2;33032:12;;33025:73;33123:2;33114:12;;32842:290;70321:40:0;;;;;;;;;;;;;70196:165;;;70239:7;70248:13;70280:10;70293:11;70222:83;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;70196:165;70189:172;;69853:516;;;;;;:::o;126329:211::-;-1:-1:-1;;;;;126400:21:0;;126396:91;;126445:30;;-1:-1:-1;;;126445:30:0;;126472:1;126445:30;;;3585:51:1;3558:18;;126445:30:0;3439:203:1;126396:91:0;126497:35;126505:7;126522:1;126526:5;126497:7;:35::i;56068:194::-;56134:17;56181:10;56168:9;:23;56164:62;;56200:26;;-1:-1:-1;;;56200:26:0;;56216:9;56200:26;;;6154:25:1;6127:18;;56200:26:0;6008:177:1;56164:62:0;-1:-1:-1;56244:10:0;56068:194::o;56648:417::-;56803:15;56821:8;-1:-1:-1;;;;;56821:16:0;;:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;56803:36;-1:-1:-1;;;;;;56854:21:0;;56850:54;;56884:20;;-1:-1:-1;;;56884:20:0;;;;;;;;;;;56850:54;56981:76;-1:-1:-1;;;;;56981:32:0;;57014:10;57034:8;57045:11;56981:32;:76::i;125788:213::-;-1:-1:-1;;;;;125859:21:0;;125855:93;;125904:32;;-1:-1:-1;;;125904:32:0;;125933:1;125904:32;;;3585:51:1;3558:18;;125904:32:0;3439:203:1;125855:93:0;125958:35;125974:1;125978:7;125987:5;125958:7;:35::i;47355:190::-;47483:53;;;-1:-1:-1;;;;;34188:15:1;;;47483:53:0;;;34170:34:1;34240:15;;;34220:18;;;34213:43;34272:18;;;;34265:34;;;47483:53:0;;;;;;;;;;34105:18:1;;;;47483:53:0;;;;;;;;-1:-1:-1;;;;;47483:53:0;-1:-1:-1;;;47483:53:0;;;47456:81;;47476:5;;47483:53;-1:-1:-1;;50209:33:0;;47498:18;;47483:53;50209:27;:33::i;:::-;50183:59;;50257:10;:17;50278:1;50257:22;;:57;;;;;50295:10;50284:30;;;;;;;;;;;;:::i;:::-;50283:31;50257:57;50253:137;;;50338:40;;-1:-1:-1;;;50338:40:0;;-1:-1:-1;;;;;3603:32:1;;50338:40:0;;;3585:51:1;3558:18;;50338:40:0;3439:203:1;42019:153:0;42094:12;42126:38;42148:6;42156:4;42162:1;42094:12;42752;42766:23;42793:6;-1:-1:-1;;;;;42793:11:0;42812:5;42819:4;42793:31;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42751:73;;;;42842:55;42869:6;42877:7;42886:10;44131:12;44161:7;44156:417;;44185:19;44193:10;44185:7;:19::i;:::-;44156:417;;;44413:17;;:22;:49;;;;-1:-1:-1;;;;;;44439:18:0;;;:23;44413:49;44409:121;;;44490:24;;-1:-1:-1;;;44490:24:0;;-1:-1:-1;;;;;3603:32:1;;44490:24:0;;;3585:51:1;3558:18;;44490:24:0;3439:203:1;44409:121:0;-1:-1:-1;44551:10:0;44544:17;;45133:528;45266:17;;:21;45262:392;;45498:10;45492:17;45555:15;45542:10;45538:2;45534:19;45527:44;45262:392;45625:17;;-1:-1:-1;;;45625:17:0;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;14:250:1:-;99:1;109:113;123:6;120:1;117:13;109:113;;;199:11;;;193:18;180:11;;;173:39;145:2;138:10;109:113;;;-1:-1:-1;;256:1:1;238:16;;231:27;14:250::o;269:271::-;311:3;349:5;343:12;376:6;371:3;364:19;392:76;461:6;454:4;449:3;445:14;438:4;431:5;427:16;392:76;:::i;:::-;522:2;501:15;-1:-1:-1;;497:29:1;488:39;;;;529:4;484:50;;269:271;-1:-1:-1;;269:271:1:o;545:220::-;694:2;683:9;676:21;657:4;714:45;755:2;744:9;740:18;732:6;714:45;:::i;770:131::-;-1:-1:-1;;;;;845:31:1;;835:42;;825:70;;891:1;888;881:12;906:315;974:6;982;1035:2;1023:9;1014:7;1010:23;1006:32;1003:52;;;1051:1;1048;1041:12;1003:52;1090:9;1077:23;1109:31;1134:5;1109:31;:::i;:::-;1159:5;1211:2;1196:18;;;;1183:32;;-1:-1:-1;;;906:315:1:o;1418:158::-;1480:5;1525:3;1516:6;1511:3;1507:16;1503:26;1500:46;;;1542:1;1539;1532:12;1500:46;-1:-1:-1;1564:6:1;1418:158;-1:-1:-1;1418:158:1:o;1581:360::-;1669:6;1722:2;1710:9;1701:7;1697:23;1693:32;1690:52;;;1738:1;1735;1728:12;1690:52;1778:9;1765:23;-1:-1:-1;;;;;1803:6:1;1800:30;1797:50;;;1843:1;1840;1833:12;1797:50;1866:69;1927:7;1918:6;1907:9;1903:22;1866:69;:::i;2100:1334::-;2020:12;;2008:25;;2082:4;2071:16;;;2065:23;2049:14;;;2042:47;2466:4;2514:3;2499:19;;2591:2;2629:3;2624:2;2613:9;2609:18;2602:31;2653:6;2688;2682:13;2719:6;2711;2704:22;2757:3;2746:9;2742:19;2735:26;;2820:3;2810:6;2807:1;2803:14;2792:9;2788:30;2784:40;2770:54;;2843:4;2882:2;2874:6;2870:15;2903:1;2913:429;2927:6;2924:1;2921:13;2913:429;;;2992:22;;;-1:-1:-1;;2988:37:1;2976:50;;3049:13;;3090:9;;3075:25;;3139:11;;3133:18;3171:15;;;3164:27;;;3214:48;3246:15;;;3133:18;3214:48;:::i;:::-;3204:58;-1:-1:-1;;3320:12:1;;;;3285:15;;;;2949:1;2942:9;2913:429;;;-1:-1:-1;;2020:12:1;;3424:2;3409:18;;2008:25;-1:-1:-1;;;2082:4:1;2071:16;;2065:23;2049:14;;;2042:47;-1:-1:-1;3359:6:1;-1:-1:-1;3374:54:1;1946:149;3647:154;3706:5;3751:2;3742:6;3737:3;3733:16;3729:25;3726:45;;;3767:1;3764;3757:12;3806:347;3857:8;3867:6;3921:3;3914:4;3906:6;3902:17;3898:27;3888:55;;3939:1;3936;3929:12;3888:55;-1:-1:-1;3962:20:1;;-1:-1:-1;;;;;3994:30:1;;3991:50;;;4037:1;4034;4027:12;3991:50;4074:4;4066:6;4062:17;4050:29;;4126:3;4119:4;4110:6;4102;4098:19;4094:30;4091:39;4088:59;;;4143:1;4140;4133:12;4088:59;3806:347;;;;;:::o;4158:1047::-;4300:6;4308;4316;4324;4332;4340;4348;4401:3;4389:9;4380:7;4376:23;4372:33;4369:53;;;4418:1;4415;4408:12;4369:53;4441;4486:7;4475:9;4441:53;:::i;:::-;4431:63;;4541:2;4530:9;4526:18;4513:32;4503:42;;4596:3;4585:9;4581:19;4568:33;-1:-1:-1;;;;;4661:2:1;4653:6;4650:14;4647:34;;;4677:1;4674;4667:12;4647:34;4716:58;4766:7;4757:6;4746:9;4742:22;4716:58;:::i;:::-;4793:8;;-1:-1:-1;4690:84:1;-1:-1:-1;4878:3:1;4863:19;;4850:33;;-1:-1:-1;4892:31:1;4850:33;4892:31;:::i;:::-;4942:5;;-1:-1:-1;5000:3:1;4985:19;;4972:33;;5017:16;;;5014:36;;;5046:1;5043;5036:12;5014:36;;5085:60;5137:7;5126:8;5115:9;5111:24;5085:60;:::i;:::-;4158:1047;;;;-1:-1:-1;4158:1047:1;;-1:-1:-1;4158:1047:1;;;;5059:86;;-1:-1:-1;;;4158:1047:1:o;6190:456::-;6267:6;6275;6283;6336:2;6324:9;6315:7;6311:23;6307:32;6304:52;;;6352:1;6349;6342:12;6304:52;6391:9;6378:23;6410:31;6435:5;6410:31;:::i;:::-;6460:5;-1:-1:-1;6517:2:1;6502:18;;6489:32;6530:33;6489:32;6530:33;:::i;:::-;6190:456;;6582:7;;-1:-1:-1;;;6636:2:1;6621:18;;;;6608:32;;6190:456::o;6840:163::-;6907:20;;6967:10;6956:22;;6946:33;;6936:61;;6993:1;6990;6983:12;6936:61;6840:163;;;:::o;7008:252::-;7075:6;7083;7136:2;7124:9;7115:7;7111:23;7107:32;7104:52;;;7152:1;7149;7142:12;7104:52;7175:28;7193:9;7175:28;:::i;7265:118::-;7351:5;7344:13;7337:21;7330:5;7327:32;7317:60;;7373:1;7370;7363:12;7388:489;7482:6;7490;7543:2;7531:9;7522:7;7518:23;7514:32;7511:52;;;7559:1;7556;7549:12;7511:52;7599:9;7586:23;-1:-1:-1;;;;;7624:6:1;7621:30;7618:50;;;7664:1;7661;7654:12;7618:50;7687:69;7748:7;7739:6;7728:9;7724:22;7687:69;:::i;:::-;7677:79;;;7806:2;7795:9;7791:18;7778:32;7819:28;7841:5;7819:28;:::i;:::-;7866:5;7856:15;;;7388:489;;;;;:::o;7882:255::-;2020:12;;2008:25;;2082:4;2071:16;;;2065:23;2049:14;;;2042:47;8074:2;8059:18;;8086:45;1946:149;8142:159;8209:20;;8269:6;8258:18;;8248:29;;8238:57;;8291:1;8288;8281:12;8306:256;8372:6;8380;8433:2;8421:9;8412:7;8408:23;8404:32;8401:52;;;8449:1;8446;8439:12;8401:52;8472:28;8490:9;8472:28;:::i;:::-;8462:38;;8519:37;8552:2;8541:9;8537:18;8519:37;:::i;:::-;8509:47;;8306:256;;;;;:::o;9026:247::-;9085:6;9138:2;9126:9;9117:7;9113:23;9109:32;9106:52;;;9154:1;9151;9144:12;9106:52;9193:9;9180:23;9212:31;9237:5;9212:31;:::i;9483:669::-;9596:6;9604;9612;9620;9673:3;9661:9;9652:7;9648:23;9644:33;9641:53;;;9690:1;9687;9680:12;9641:53;9713;9758:7;9747:9;9713:53;:::i;:::-;9703:63;;9817:2;9806:9;9802:18;9789:32;-1:-1:-1;;;;;9836:6:1;9833:30;9830:50;;;9876:1;9873;9866:12;9830:50;9915:58;9965:7;9956:6;9945:9;9941:22;9915:58;:::i;:::-;9992:8;;-1:-1:-1;9889:84:1;-1:-1:-1;;10077:3:1;10062:19;;10049:33;10091:31;10049:33;10091:31;:::i;:::-;9483:669;;;;-1:-1:-1;9483:669:1;;-1:-1:-1;;9483:669:1:o;10157:395::-;10248:8;10258:6;10312:3;10305:4;10297:6;10293:17;10289:27;10279:55;;10330:1;10327;10320:12;10279:55;-1:-1:-1;10353:20:1;;-1:-1:-1;;;;;10385:30:1;;10382:50;;;10428:1;10425;10418:12;10382:50;10465:4;10457:6;10453:17;10441:29;;10525:3;10518:4;10508:6;10505:1;10501:14;10493:6;10489:27;10485:38;10482:47;10479:67;;;10542:1;10539;10532:12;10557:503;10681:6;10689;10742:2;10730:9;10721:7;10717:23;10713:32;10710:52;;;10758:1;10755;10748:12;10710:52;10798:9;10785:23;-1:-1:-1;;;;;10823:6:1;10820:30;10817:50;;;10863:1;10860;10853:12;10817:50;10902:98;10992:7;10983:6;10972:9;10968:22;10902:98;:::i;:::-;11019:8;;10876:124;;-1:-1:-1;10557:503:1;-1:-1:-1;;;;10557:503:1:o;11065:184::-;11123:6;11176:2;11164:9;11155:7;11151:23;11147:32;11144:52;;;11192:1;11189;11182:12;11144:52;11215:28;11233:9;11215:28;:::i;11436:553::-;11522:6;11530;11538;11546;11599:2;11587:9;11578:7;11574:23;11570:32;11567:52;;;11615:1;11612;11605:12;11567:52;11638:28;11656:9;11638:28;:::i;:::-;11628:38;;11685:37;11718:2;11707:9;11703:18;11685:37;:::i;:::-;11675:47;;11773:2;11762:9;11758:18;11745:32;-1:-1:-1;;;;;11792:6:1;11789:30;11786:50;;;11832:1;11829;11822:12;11786:50;11871:58;11921:7;11912:6;11901:9;11897:22;11871:58;:::i;:::-;11436:553;;;;-1:-1:-1;11948:8:1;-1:-1:-1;;;;11436:553:1:o;12497:656::-;12634:6;12642;12650;12694:9;12685:7;12681:23;12724:3;12720:2;12716:12;12713:32;;;12741:1;12738;12731:12;12713:32;12781:9;12768:23;-1:-1:-1;;;;;12806:6:1;12803:30;12800:50;;;12846:1;12843;12836:12;12800:50;12869:69;12930:7;12921:6;12910:9;12906:22;12869:69;:::i;:::-;12859:79;-1:-1:-1;;12972:2:1;-1:-1:-1;;12954:16:1;;12950:25;12947:45;;;12988:1;12985;12978:12;12947:45;;13026:2;13015:9;13011:18;13001:28;;13079:2;13068:9;13064:18;13051:32;13092:31;13117:5;13092:31;:::i;:::-;13142:5;13132:15;;;12497:656;;;;;:::o;13158:611::-;13400:4;13442:3;13431:9;13427:19;13419:27;;13479:6;13473:13;13462:9;13455:32;-1:-1:-1;;;;;13547:4:1;13539:6;13535:17;13529:24;13525:49;13518:4;13507:9;13503:20;13496:79;13622:4;13614:6;13610:17;13604:24;13637:62;13693:4;13682:9;13678:20;13664:12;2020;;2008:25;;2082:4;2071:16;;;2065:23;2049:14;;2042:47;1946:149;13637:62;-1:-1:-1;2020:12:1;;13758:3;13743:19;;2008:25;2082:4;2071:16;;2065:23;2049:14;;;2042:47;13708:55;1946:149;13774:388;13842:6;13850;13903:2;13891:9;13882:7;13878:23;13874:32;13871:52;;;13919:1;13916;13909:12;13871:52;13958:9;13945:23;13977:31;14002:5;13977:31;:::i;:::-;14027:5;-1:-1:-1;14084:2:1;14069:18;;14056:32;14097:33;14056:32;14097:33;:::i;14167:235::-;14251:6;14304:2;14292:9;14283:7;14279:23;14275:32;14272:52;;;14320:1;14317;14310:12;14272:52;14343:53;14388:7;14377:9;14343:53;:::i;14407:380::-;14486:1;14482:12;;;;14529;;;14550:61;;14604:4;14596:6;14592:17;14582:27;;14550:61;14657:2;14649:6;14646:14;14626:18;14623:38;14620:161;;14703:10;14698:3;14694:20;14691:1;14684:31;14738:4;14735:1;14728:15;14766:4;14763:1;14756:15;14792:127;14853:10;14848:3;14844:20;14841:1;14834:31;14884:4;14881:1;14874:15;14908:4;14905:1;14898:15;15192:253;15264:2;15258:9;15306:4;15294:17;;-1:-1:-1;;;;;15326:34:1;;15362:22;;;15323:62;15320:88;;;15388:18;;:::i;:::-;15424:2;15417:22;15192:253;:::o;15450:251::-;15522:2;15516:9;;;15552:15;;-1:-1:-1;;;;;15582:34:1;;15618:22;;;15579:62;15576:88;;;15644:18;;:::i;15706:275::-;15777:2;15771:9;15842:2;15823:13;;-1:-1:-1;;15819:27:1;15807:40;;-1:-1:-1;;;;;15862:34:1;;15898:22;;;15859:62;15856:88;;;15924:18;;:::i;:::-;15960:2;15953:22;15706:275;;-1:-1:-1;15706:275:1:o;15986:186::-;16034:4;-1:-1:-1;;;;;16059:6:1;16056:30;16053:56;;;16089:18;;:::i;:::-;-1:-1:-1;16155:2:1;16134:15;-1:-1:-1;;16130:29:1;16161:4;16126:40;;15986:186::o;16177:2115::-;16367:9;-1:-1:-1;;;;;16442:2:1;16434:6;16431:14;16428:40;;;16448:18;;:::i;:::-;16494:6;16491:1;16487:14;16520:4;16544:28;16568:2;16564;16560:11;16544:28;:::i;:::-;16606:19;;;16676:14;;;;16641:12;;;;16713:14;16702:26;;16699:46;;;16741:1;16738;16731:12;16699:46;16765:5;16779:1480;16795:6;16790:3;16787:15;16779:1480;;;16881:3;16868:17;16917:2;16904:11;16901:19;16898:109;;;16961:1;16990:2;16986;16979:14;16898:109;17030:23;;17098:4;17077:14;17073:23;;;17069:34;17066:124;;;17144:1;17173:2;17169;17162:14;17066:124;17218:22;;:::i;:::-;17269:21;17287:2;17269:21;:::i;:::-;17260:7;17253:38;17329:30;17355:2;17351;17347:11;17329:30;:::i;:::-;17324:2;17315:7;17311:16;17304:56;17383:2;17433;17429;17425:11;17412:25;17464:2;17456:6;17453:14;17450:104;;;17508:1;17537:2;17533;17526:14;17450:104;17577:15;;;;;17634:14;17627:4;17619:13;;17615:34;17605:135;;17692:1;17722:3;17717;17710:16;17605:135;17777:2;17764:16;17806:49;17822:32;17850:3;17822:32;:::i;:::-;17806:49;:::i;:::-;17882:3;17875:5;17868:18;17928:14;17923:2;17917:3;17913:2;17909:12;17905:21;17902:41;17899:134;;;17985:1;18015:3;18010;18003:16;17899:134;18088:3;18083:2;18079;18075:11;18070:2;18063:5;18059:14;18046:46;18138:1;18116:15;;;18112:24;;18105:35;;;;18160:16;;;18153:31;18197:20;;-1:-1:-1;18237:12:1;;;;16812;;16779:1480;;;-1:-1:-1;18281:5:1;16177:2115;-1:-1:-1;;;;;;;16177:2115:1:o;18297:331::-;18402:9;18413;18455:8;18443:10;18440:24;18437:44;;;18477:1;18474;18467:12;18437:44;18506:6;18496:8;18493:20;18490:40;;;18526:1;18523;18516:12;18490:40;-1:-1:-1;;18552:23:1;;;18597:25;;;;;-1:-1:-1;18297:331:1:o;18633:476::-;18824:3;18862:6;18856:13;18878:66;18937:6;18932:3;18925:4;18917:6;18913:17;18878:66;:::i;:::-;18966:16;;19019:6;19011;18966:16;18991:35;19083:1;19045:18;;19072:13;;;-1:-1:-1;19045:18:1;;18633:476;-1:-1:-1;;;18633:476:1:o;19114:266::-;19202:6;19197:3;19190:19;19254:6;19247:5;19240:4;19235:3;19231:14;19218:43;-1:-1:-1;19306:1:1;19281:16;;;19299:4;19277:27;;;19270:38;;;;19362:2;19341:15;;;-1:-1:-1;;19337:29:1;19328:39;;;19324:50;;19114:266::o;19385:244::-;19542:2;19531:9;19524:21;19505:4;19562:61;19619:2;19608:9;19604:18;19596:6;19588;19562:61;:::i;19634:127::-;19695:10;19690:3;19686:20;19683:1;19676:31;19726:4;19723:1;19716:15;19750:4;19747:1;19740:15;19766:331;19865:4;19923:11;19910:25;20017:3;20013:8;20002;19986:14;19982:29;19978:44;19958:18;19954:69;19944:97;;20037:1;20034;20027:12;19944:97;20058:33;;;;;19766:331;-1:-1:-1;;19766:331:1:o;20102:521::-;20179:4;20185:6;20245:11;20232:25;20339:2;20335:7;20324:8;20308:14;20304:29;20300:43;20280:18;20276:68;20266:96;;20358:1;20355;20348:12;20266:96;20385:33;;20437:20;;;-1:-1:-1;;;;;;20469:30:1;;20466:50;;;20512:1;20509;20502:12;20466:50;20545:4;20533:17;;-1:-1:-1;20576:14:1;20572:27;;;20562:38;;20559:58;;;20613:1;20610;20603:12;20628:129;-1:-1:-1;;;;;20706:5:1;20702:30;20695:5;20692:41;20682:69;;20747:1;20744;20737:12;20762:990;21138:10;21111:25;21129:6;21111:25;:::i;:::-;21107:42;21096:9;21089:61;21213:4;21205:6;21201:17;21188:31;21181:4;21170:9;21166:20;21159:61;21070:4;21267;21259:6;21255:17;21242:31;21282:30;21306:5;21282:30;:::i;:::-;-1:-1:-1;;;;;21354:5:1;21350:30;21343:4;21332:9;21328:20;21321:60;;21417:6;21412:2;21401:9;21397:18;21390:34;21461:3;21455;21444:9;21440:19;21433:32;21488:62;21545:3;21534:9;21530:19;21522:6;21514;21488:62;:::i;:::-;-1:-1:-1;;;;;21587:32:1;;21607:3;21566:19;;21559:61;21657:22;;;21651:3;21636:19;;21629:51;21697:49;21661:6;21731;21723;21697:49;:::i;:::-;21689:57;20762:990;-1:-1:-1;;;;;;;;;;20762:990:1:o;21757:127::-;21818:10;21813:3;21809:20;21806:1;21799:31;21849:4;21846:1;21839:15;21873:4;21870:1;21863:15;21889:135;21928:3;21949:17;;;21946:43;;21969:18;;:::i;:::-;-1:-1:-1;22016:1:1;22005:13;;21889:135::o;22029:647::-;22108:6;22161:2;22149:9;22140:7;22136:23;22132:32;22129:52;;;22177:1;22174;22167:12;22129:52;22210:9;22204:16;-1:-1:-1;;;;;22235:6:1;22232:30;22229:50;;;22275:1;22272;22265:12;22229:50;22298:22;;22351:4;22343:13;;22339:27;-1:-1:-1;22329:55:1;;22380:1;22377;22370:12;22329:55;22409:2;22403:9;22434:48;22450:31;22478:2;22450:31;:::i;22434:48::-;22505:2;22498:5;22491:17;22545:7;22540:2;22535;22531;22527:11;22523:20;22520:33;22517:53;;;22566:1;22563;22556:12;22517:53;22579:67;22643:2;22638;22631:5;22627:14;22622:2;22618;22614:11;22579:67;:::i;22681:347::-;22769:6;22822:2;22810:9;22801:7;22797:23;22793:32;22790:52;;;22838:1;22835;22828:12;22790:52;22864:22;;:::i;:::-;22922:9;22909:23;22902:5;22895:38;22993:2;22982:9;22978:18;22965:32;22960:2;22953:5;22949:14;22942:56;23017:5;23007:15;;;22681:347;;;;:::o;23822:245::-;23880:6;23933:2;23921:9;23912:7;23908:23;23904:32;23901:52;;;23949:1;23946;23939:12;23901:52;23988:9;23975:23;24007:30;24031:5;24007:30;:::i;24072:479::-;24339:1;24335;24330:3;24326:11;24322:19;24314:6;24310:32;24299:9;24292:51;24379:6;24374:2;24363:9;24359:18;24352:34;24434:6;24426;24422:19;24417:2;24406:9;24402:18;24395:47;24478:3;24473:2;24462:9;24458:18;24451:31;24273:4;24499:46;24540:3;24529:9;24525:19;24517:6;24499:46;:::i;25174:379::-;25367:2;25356:9;25349:21;25330:4;25393:45;25434:2;25423:9;25419:18;25411:6;25393:45;:::i;:::-;25486:9;25478:6;25474:22;25469:2;25458:9;25454:18;25447:50;25514:33;25540:6;25532;25514:33;:::i;25558:245::-;25625:6;25678:2;25666:9;25657:7;25653:23;25649:32;25646:52;;;25694:1;25691;25684:12;25646:52;25726:9;25720:16;25745:28;25767:5;25745:28;:::i;25808:889::-;26029:2;26018:9;26011:21;26087:10;26078:6;26072:13;26068:30;26063:2;26052:9;26048:18;26041:58;26153:4;26145:6;26141:17;26135:24;26130:2;26119:9;26115:18;26108:52;25992:4;26207:2;26199:6;26195:15;26189:22;26248:4;26242:3;26231:9;26227:19;26220:33;26276:52;26323:3;26312:9;26308:19;26294:12;26276:52;:::i;:::-;26262:66;;26377:2;26369:6;26365:15;26359:22;26451:2;26447:7;26435:9;26427:6;26423:22;26419:36;26412:4;26401:9;26397:20;26390:66;26479:41;26513:6;26497:14;26479:41;:::i;:::-;26589:3;26577:16;;;;26571:23;26564:31;26557:39;26551:3;26536:19;;26529:68;-1:-1:-1;;;;;;;;26658:32:1;;;;26651:4;26636:20;;;26629:62;26465:55;25808:889::o;26702:284::-;26772:5;26820:4;26808:9;26803:3;26799:19;26795:30;26792:50;;;26838:1;26835;26828:12;26792:50;26860:22;;:::i;:::-;26851:31;;26911:9;26905:16;26898:5;26891:31;26975:2;26964:9;26960:18;26954:25;26949:2;26942:5;26938:14;26931:49;26702:284;;;;:::o;26991:258::-;27090:6;27143:2;27131:9;27122:7;27118:23;27114:32;27111:52;;;27159:1;27156;27149:12;27111:52;27182:61;27235:7;27224:9;27182:61;:::i;27379:544::-;27480:2;27475:3;27472:11;27469:448;;;27516:1;27541:5;27537:2;27530:17;27586:4;27582:2;27572:19;27656:2;27644:10;27640:19;27637:1;27633:27;27627:4;27623:38;27692:4;27680:10;27677:20;27674:47;;;-1:-1:-1;27715:4:1;27674:47;27770:2;27765:3;27761:12;27758:1;27754:20;27748:4;27744:31;27734:41;;27825:82;27843:2;27836:5;27833:13;27825:82;;;27888:17;;;27869:1;27858:13;27825:82;;;27829:3;;;27379:544;;;:::o;28099:1348::-;28223:3;28217:10;-1:-1:-1;;;;;28242:6:1;28239:30;28236:56;;;28272:18;;:::i;:::-;28301:96;28390:6;28350:38;28382:4;28376:11;28350:38;:::i;:::-;28344:4;28301:96;:::i;:::-;28452:4;;28516:2;28505:14;;28533:1;28528:662;;;;29234:1;29251:6;29248:89;;;-1:-1:-1;29303:19:1;;;29297:26;29248:89;-1:-1:-1;;28056:1:1;28052:11;;;28048:24;28044:29;28034:40;28080:1;28076:11;;;28031:57;29350:81;;28498:943;;28528:662;27326:1;27319:14;;;27363:4;27350:18;;-1:-1:-1;;28564:20:1;;;28681:236;28695:7;28692:1;28689:14;28681:236;;;28784:19;;;28778:26;28763:42;;28876:27;;;;28844:1;28832:14;;;;28711:19;;28681:236;;;28685:3;28945:6;28936:7;28933:19;28930:201;;;29006:19;;;29000:26;-1:-1:-1;;29089:1:1;29085:14;;;29101:3;29081:24;29077:37;29073:42;29058:58;29043:74;;28930:201;-1:-1:-1;;;;;29177:1:1;29161:14;;;29157:22;29144:36;;-1:-1:-1;28099:1348:1:o;29452:1162::-;29666:4;29695:2;29735;29724:9;29720:18;29765:2;29754:9;29747:21;29788:6;29823;29817:13;29854:6;29846;29839:22;29880:2;29870:12;;29913:2;29902:9;29898:18;29891:25;;29975:2;29965:6;29962:1;29958:14;29947:9;29943:30;29939:39;30013:2;30005:6;30001:15;30034:1;30044:541;30058:6;30055:1;30052:13;30044:541;;;30123:22;;;-1:-1:-1;;30119:36:1;30107:49;;30179:13;;30251:9;;30262:10;30247:26;30232:42;;30321:11;;;30315:18;30335:6;30311:31;30294:15;;;30287:56;30382:11;;30376:18;30215:4;30414:15;;;30407:27;;;30457:48;30489:15;;;30376:18;30457:48;:::i;:::-;30563:12;;;;30447:58;-1:-1:-1;;;30528:15:1;;;;30080:1;30073:9;30044:541;;;-1:-1:-1;30602:6:1;;29452:1162;-1:-1:-1;;;;;;;;29452:1162:1:o;30619:524::-;30722:6;30775:3;30763:9;30754:7;30750:23;30746:33;30743:53;;;30792:1;30789;30782:12;30743:53;30818:22;;:::i;:::-;30869:9;30863:16;30856:5;30849:31;30925:2;30914:9;30910:18;30904:25;30938:32;30962:7;30938:32;:::i;:::-;30997:2;30986:14;;30979:31;31042:70;31104:7;31099:2;31084:18;;31042:70;:::i;:::-;31037:2;31026:14;;31019:94;31030:5;30619:524;-1:-1:-1;;;30619:524:1:o;31148:217::-;31188:1;31214;31204:132;;31258:10;31253:3;31249:20;31246:1;31239:31;31293:4;31290:1;31283:15;31321:4;31318:1;31311:15;31204:132;-1:-1:-1;31350:9:1;;31148:217::o;31370:168::-;31443:9;;;31474;;31491:15;;;31485:22;;31471:37;31461:71;;31512:18;;:::i;31543:255::-;31663:19;;31702:2;31694:11;;31691:101;;;-1:-1:-1;;31763:2:1;31759:12;;;31756:1;31752:20;31748:33;31737:45;31543:255;;;;:::o;31803:331::-;-1:-1:-1;;;;;;31923:19:1;;32007:11;;;;32038:1;32030:10;;32027:101;;;32115:2;32109;32102:3;32099:1;32095:11;32092:1;32088:19;32084:28;32080:2;32076:37;32072:46;32063:55;;32027:101;;;31803:331;;;;:::o;32139:568::-;-1:-1:-1;;;;;32404:3:1;32400:28;32391:6;32386:3;32382:16;32378:51;32373:3;32366:64;32490:10;32485:3;32481:20;32472:6;32467:3;32463:16;32459:43;32455:1;32450:3;32446:11;32439:64;32533:6;32528:2;32523:3;32519:12;32512:28;32348:3;32569:6;32563:13;32585:75;32653:6;32648:2;32643:3;32639:12;32632:4;32624:6;32620:17;32585:75;:::i;:::-;32680:16;;;;32698:2;32676:25;;32139:568;-1:-1:-1;;;;;32139:568:1:o;32712:125::-;32777:9;;;32798:10;;;32795:36;;;32811:18;;:::i;33137:532::-;33378:6;33373:3;33366:19;-1:-1:-1;;;;;33441:3:1;33437:28;33428:6;33423:3;33419:16;33415:51;33410:2;33405:3;33401:12;33394:73;33497:6;33492:2;33487:3;33483:12;33476:28;33348:3;33533:6;33527:13;33549:73;33615:6;33610:2;33605:3;33601:12;33596:2;33588:6;33584:15;33549:73;:::i;:::-;33642:16;;;;33660:2;33638:25;;33137:532;-1:-1:-1;;;;;33137:532:1:o;33674:251::-;33744:6;33797:2;33785:9;33776:7;33772:23;33768:32;33765:52;;;33813:1;33810;33803:12;33765:52;33845:9;33839:16;33864:31;33889:5;33864:31;:::i;34310:287::-;34439:3;34477:6;34471:13;34493:66;34552:6;34547:3;34540:4;34532:6;34528:17;34493:66;:::i

Swarm Source

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

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