Verified contractPartialAGPL-3.0-only
NestVaultCoreValidationLogic
Address0x3e5f0bce2db2bc99d341b96ca3d2294dcd3a9cfd
- Balance
0 ETH
- Transactions
1
- Compiler
solc 0.8.30
- Same code
7 more contracts
Details
- Compiler
- solc 0.8.30+commit.73712a01
- Language
- solidity
- Optimization
- Yes, 200 runs
- EVM version
- osaka
- Via IR
- yes
- License
- AGPL-3.0-only
- Match
- Partialcreation code: yes, runtime code: yes
- Verified on Sourcify
- Created in block
- 26,299,710
- Creation transaction
- 0x02c188ac31…ba310863ac
- Libraries
- contracts/libraries/NestVaultCoreValidationLogic.sol:NestVaultCoreValidationLogic0xbea4…7cc243
82 files
The source code is large: one file is shown at a time. Choose a file in the list.
- contracts/libraries/NestVaultCoreValidationLogic.solmain15.16 KB
- contracts/NestShareOFT.sol20.64 KB
- contracts/accountant/NestHubAccountant.sol64.94 KB
- contracts/auth/AuthUpgradeable.sol8.37 KB
- contracts/interfaces/IERC7540.sol6.58 KB
- contracts/interfaces/IRateProvider.sol797 B
- contracts/interfaces/ITransferHook.sol419 B
- contracts/libraries/NestVaultAccountingLogic.sol4.72 KB
- contracts/operators/OperatorRegistry.sol4.37 KB
- contracts/types/Errors.sol6.29 KB
- contracts/types/NestVaultCoreTypes.sol5.25 KB
- node_modules/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/ILayerZeroEndpointV2.sol2.59 KB
- node_modules/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/ILayerZeroReceiver.sol519 B
- node_modules/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/IMessageLib.sol805 B
- node_modules/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/IMessageLibManager.sol2.76 KB
- node_modules/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/IMessagingChannel.sol1.54 KB
- node_modules/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/IMessagingComposer.sol1.03 KB
- node_modules/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/IMessagingContext.sol239 B
- node_modules/@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/ISendLib.sol923 B
- node_modules/@layerzerolabs/lz-evm-protocol-v2/contracts/libs/AddressCast.sol1.47 KB
- node_modules/@layerzerolabs/lz-evm-protocol-v2/contracts/messagelib/libs/PacketV1Codec.sol3.67 KB
- node_modules/@layerzerolabs/oapp-evm-upgradeable/contracts/oapp/OAppCoreUpgradeable.sol4.23 KB
- node_modules/@layerzerolabs/oapp-evm-upgradeable/contracts/oapp/OAppReceiverUpgradeable.sol5.96 KB
- node_modules/@layerzerolabs/oapp-evm-upgradeable/contracts/oapp/OAppSenderUpgradeable.sol6.14 KB
- node_modules/@layerzerolabs/oapp-evm-upgradeable/contracts/oapp/OAppUpgradeable.sol2.21 KB
- node_modules/@layerzerolabs/oapp-evm-upgradeable/contracts/oapp/libs/OAppOptionsType3Upgradeable.sol5.29 KB
- node_modules/@layerzerolabs/oapp-evm-upgradeable/contracts/precrime/OAppPreCrimeSimulatorUpgradeable.sol6.64 KB
- node_modules/@layerzerolabs/oapp-evm/contracts/oapp/OAppCore.sol3.36 KB
- node_modules/@layerzerolabs/oapp-evm/contracts/oapp/OAppSender.sol5.63 KB
- node_modules/@layerzerolabs/oapp-evm/contracts/oapp/interfaces/IOAppCore.sol1.86 KB
- node_modules/@layerzerolabs/oapp-evm/contracts/oapp/interfaces/IOAppMsgInspector.sol909 B
- node_modules/@layerzerolabs/oapp-evm/contracts/oapp/interfaces/IOAppOptionsType3.sol1.44 KB
- node_modules/@layerzerolabs/oapp-evm/contracts/oapp/interfaces/IOAppReceiver.sol1.08 KB
- node_modules/@layerzerolabs/oapp-evm/contracts/precrime/interfaces/IOAppPreCrimeSimulator.sol1.92 KB
- node_modules/@layerzerolabs/oapp-evm/contracts/precrime/interfaces/IPreCrime.sol1.11 KB
- node_modules/@layerzerolabs/oapp-evm/contracts/precrime/libs/Packet.sol2.47 KB
- node_modules/@layerzerolabs/oft-evm-upgradeable/contracts/oft/OFTCoreUpgradeable.sol21.78 KB
- node_modules/@layerzerolabs/oft-evm-upgradeable/contracts/oft/OFTUpgradeable.sol3.97 KB
- node_modules/@layerzerolabs/oft-evm/contracts/interfaces/IOFT.sol6.28 KB
- node_modules/@layerzerolabs/oft-evm/contracts/libs/OFTComposeMsgCodec.sol2.99 KB
- node_modules/@layerzerolabs/oft-evm/contracts/libs/OFTMsgCodec.sol2.91 KB
- node_modules/@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol4.03 KB
- node_modules/@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol9.28 KB
- node_modules/@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.sol12.13 KB
- node_modules/@openzeppelin/contracts-upgradeable/token/ERC20/extensions/ERC20PermitUpgradeable.sol3.16 KB
- node_modules/@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol1.19 KB
- node_modules/@openzeppelin/contracts-upgradeable/utils/NoncesUpgradeable.sol2.33 KB
- node_modules/@openzeppelin/contracts-upgradeable/utils/cryptography/EIP712Upgradeable.sol8.56 KB
- node_modules/@openzeppelin/contracts/access/Ownable.sol3.1 KB
- node_modules/@openzeppelin/contracts/interfaces/IERC1271.sol656 B
- node_modules/@openzeppelin/contracts/interfaces/IERC1363.sol4.45 KB
- node_modules/@openzeppelin/contracts/interfaces/IERC165.sol193 B
- node_modules/@openzeppelin/contracts/interfaces/IERC20.sol182 B
- node_modules/@openzeppelin/contracts/interfaces/IERC5267.sol740 B
- node_modules/@openzeppelin/contracts/interfaces/IERC7913.sol674 B
- node_modules/@openzeppelin/contracts/interfaces/draft-IERC6093.sol6.54 KB
- node_modules/@openzeppelin/contracts/token/ERC20/IERC20.sol2.78 KB
- node_modules/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol684 B
- node_modules/@openzeppelin/contracts/token/ERC20/extensions/IERC20Permit.sol3.81 KB
- node_modules/@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol10.08 KB
- node_modules/@openzeppelin/contracts/utils/Address.sol6 KB
- node_modules/@openzeppelin/contracts/utils/Bytes.sol4.89 KB
- node_modules/@openzeppelin/contracts/utils/Context.sol963 B
- node_modules/@openzeppelin/contracts/utils/Errors.sol896 B
- node_modules/@openzeppelin/contracts/utils/Panic.sol1.97 KB
- node_modules/@openzeppelin/contracts/utils/ShortStrings.sol4.3 KB
- node_modules/@openzeppelin/contracts/utils/StorageSlot.sol4.18 KB
- node_modules/@openzeppelin/contracts/utils/Strings.sol19.28 KB
- node_modules/@openzeppelin/contracts/utils/cryptography/ECDSA.sol7.82 KB
- node_modules/@openzeppelin/contracts/utils/cryptography/EIP712.sol6.7 KB
- node_modules/@openzeppelin/contracts/utils/cryptography/MessageHashUtils.sol4.25 KB
- node_modules/@openzeppelin/contracts/utils/cryptography/SignatureChecker.sol6.05 KB
- node_modules/@openzeppelin/contracts/utils/introspection/IERC165.sol871 B
- node_modules/@openzeppelin/contracts/utils/math/Math.sol32.15 KB
- node_modules/@openzeppelin/contracts/utils/math/SafeCast.sol34.94 KB
- node_modules/@openzeppelin/contracts/utils/math/SignedMath.sol2.61 KB
- node_modules/forge-std/src/interfaces/IERC165.sol537 B
- node_modules/forge-std/src/interfaces/IERC7575.sol12.6 KB
- node_modules/solmate/src/auth/Auth.sol2.58 KB
- node_modules/solmate/src/tokens/ERC20.sol6.81 KB
- node_modules/solmate/src/utils/FixedPointMathLib.sol10.05 KB
- node_modules/solmate/src/utils/SafeTransferLib.sol5.77 KB
contracts/libraries/NestVaultCoreValidationLogic.sol
// SPDX-License-Identifier: AGPL-3.0-only
pragma solidity ^0.8.30;
import {ERC20} from "@solmate/tokens/ERC20.sol";
import {NestVaultCoreTypes} from "contracts/types/NestVaultCoreTypes.sol";
import {IERC7540Operator} from "contracts/interfaces/IERC7540.sol";
import {OperatorRegistry} from "contracts/operators/OperatorRegistry.sol";
import {NestHubAccountant} from "contracts/accountant/NestHubAccountant.sol";
import {Errors} from "contracts/types/Errors.sol";
/// @title NestVaultCoreValidationLogic
/// @notice Library containing validation logic for NestVaultCore operations
/// @author plumenetwork
library NestVaultCoreValidationLogic {
/// @notice Validates parameters for requestRedeem operation
/// @param $ NestVaultCoreTypes.NestVaultCoreStorage The full storage struct
/// @param _shares uint256 The shares to redeem
/// @param _controller address The controller address
/// @param _owner address The owner address
/// @param _caller address The caller address
function validateRequestRedeem(
NestVaultCoreTypes.NestVaultCoreStorage storage $,
uint256 _shares,
address _controller,
address _owner,
address _caller,
ERC20 /*shareToken*/
) external view {
_validateCaller($, _owner, _caller);
if (_controller == address(0)) {
revert Errors.ZeroAddress();
}
if (_shares == 0) {
revert Errors.ZeroShares();
}
}
/// @notice Validates parameters for fulfillRedeem operation
/// @param $ NestVaultCoreTypes.NestVaultCoreStorage The full storage struct
/// @param _controller address The controller address
/// @param _shares uint256 The shares to fulfill
/// @param _assets uint256 The calculated assets
function validateFulfillRedeem(
NestVaultCoreTypes.NestVaultCoreStorage storage $,
address _controller,
uint256 _shares,
uint256 _assets
) external view {
uint256 pendingShares = $.pendingRedeem[_controller].shares;
if (pendingShares == 0) {
revert Errors.NoPendingRedeem();
}
if (_shares > pendingShares) {
revert Errors.InsufficientBalance();
}
if (_assets == 0) {
revert Errors.ZeroAssets();
}
}
/// @notice Validates parameters for instantRedeem operation
/// @param $ NestVaultCoreTypes.NestVaultCoreStorage The full storage struct
/// @param _shares uint256 The shares to redeem
/// @param _receiver address The receiver address
/// @param _owner address The owner of the shares
/// @param _caller address The caller address
function validateInstantRedeem(
NestVaultCoreTypes.NestVaultCoreStorage storage $,
uint256 _shares,
address _receiver,
address _owner,
address _caller,
ERC20 /*shareToken*/
) external view {
_validateCaller($, _owner, _caller);
if (_receiver == address(0)) {
revert Errors.ZeroAddress();
}
if (_shares == 0) {
revert Errors.ZeroShares();
}
}
/// @notice Validates parameters for updateRedeem operation
/// @param $ NestVaultCoreTypes.NestVaultCoreStorage The full storage struct
/// @param _newShares uint256 The new shares amount
/// @param _controller address The controller address
/// @param _receiver address The receiver address
/// @param _caller address The caller address
/// @param _oldShares uint256 The old shares amount
function validateUpdateRedeem(
NestVaultCoreTypes.NestVaultCoreStorage storage $,
uint256 _newShares,
address _controller,
address _receiver,
address _caller,
uint256 _oldShares
) external view {
_validateCaller($, _controller, _caller);
if (_receiver == address(0)) {
revert Errors.ZeroAddress();
}
if (_oldShares == 0) {
revert Errors.NoPendingRedeem();
}
if (_oldShares < _newShares) {
revert Errors.InsufficientBalance();
}
}
/// @notice Validates parameters for withdraw operation
/// @param $ NestVaultCoreTypes.NestVaultCoreStorage The full storage struct
/// @param _assets uint256 The assets to withdraw
/// @param _receiver address The receiver address
/// @param _controller address The controller address
/// @param _caller address The caller address
function validateWithdraw(
NestVaultCoreTypes.NestVaultCoreStorage storage $,
uint256 _assets,
address _receiver,
address _controller,
address _caller
) external view {
_validateCaller($, _controller, _caller);
if (_receiver == address(0)) {
revert Errors.ZeroAddress();
}
if (_assets == 0) {
revert Errors.ZeroAssets();
}
uint256 claimableAssets = $.claimableRedeem[_controller].assets;
if (claimableAssets < _assets) {
revert Errors.InsufficientClaimable();
}
}
/// @notice Validates parameters for redeem operation
/// @param $ NestVaultCoreTypes.NestVaultCoreStorage The full storage struct
/// @param _shares uint256 The shares to redeem
/// @param _controller address The controller address
/// @param _receiver address The receiver address
/// @param _caller address The caller address
function validateRedeem(
NestVaultCoreTypes.NestVaultCoreStorage storage $,
uint256 _shares,
address _controller,
address _receiver,
address _caller
) external view {
_validateCaller($, _controller, _caller);
if (_receiver == address(0)) {
revert Errors.ZeroAddress();
}
if (_shares == 0) {
revert Errors.ZeroShares();
}
uint256 claimableShares = $.claimableRedeem[_controller].shares;
if (claimableShares < _shares) {
revert Errors.InsufficientClaimable();
}
}
/// @notice Validates parameters for authorizeOperator operation
/// @param $ NestVaultCoreTypes.NestVaultCoreStorage The full storage struct
/// @param _controller address The controller address
/// @param _operator address The operator address
/// @param _nonce bytes32 The nonce value
/// @param _deadline uint256 The deadline timestamp
function validateAuthorizeOperator(
NestVaultCoreTypes.NestVaultCoreStorage storage $,
address _controller,
address _operator,
bytes32 _nonce,
uint256 _deadline
) external view {
if (_controller == address(0)) revert Errors.ZeroAddress();
if (_operator == address(0)) revert Errors.ZeroAddress();
if (_controller == _operator) {
revert Errors.ERC7540SelfOperatorNotAllowed();
}
if (block.timestamp > _deadline) {
revert Errors.ERC7540Expired();
}
if ($.authorizations[_controller][_nonce]) {
revert Errors.ERC7540UsedAuthorization();
}
}
/// @notice Validates parameters for setOperator operation
/// @dev $ NestVaultCoreTypes.NestVaultCoreStorage The full storage struct
/// @param _operator address The operator address
/// @param _caller address The caller address
function validateSetOperator(
NestVaultCoreTypes.NestVaultCoreStorage storage,
/*$*/
address _operator,
address _caller
) external pure {
if (_operator == address(0)) {
revert Errors.ZeroAddress();
}
if (_caller == _operator) {
revert Errors.ERC7540SelfOperatorNotAllowed();
}
}
/// @notice Validates parameters for deposit operation
/// @dev $ NestVaultCoreTypes.NestVaultCoreStorage The full storage struct
/// @param _isAuthorized bool Whether the caller is authorized
/// @param _assets uint256 The assets being deposited
/// @param _shares uint256 The shares to mint
function validateDeposit(
NestVaultCoreTypes.NestVaultCoreStorage storage,
/*$*/
bool _isAuthorized,
uint256 _assets,
uint256 _shares
) external pure {
if (!_isAuthorized) {
revert Errors.Unauthorized();
}
if (_assets > 0 && _shares == 0) {
revert Errors.ZeroShares();
}
}
/// @notice Validates candidate accountant compatibility
/// @dev Verifies the candidate is a contract and exposes `getRateInQuoteSafe(ERC20)`.
/// A paused NestHubAccountant reverts `getRateInQuoteSafe` with `Errors.Paused()`,
/// which is treated as a valid compatibility signal.
/// @param _accountant address Candidate accountant address
/// @param _asset ERC20 Vault asset used to probe safe quote rates
function validateSetAccountant(
NestVaultCoreTypes.NestVaultCoreStorage storage,
/*$*/
address _accountant,
ERC20 _asset
) external view {
// Validate that the address is a contract (not an EOA)
if (_accountant.code.length == 0) {
revert Errors.IncompatibleAccountant();
}
// Validate that the accountant exposes getRateInQuoteSafe(ERC20).
// We verify the call returns at least 32 bytes (a valid uint256) to avoid false positives
// from contracts with fallback functions that return empty data.
(bool success, bytes memory returnData) =
_accountant.staticcall(abi.encodeWithSelector(NestHubAccountant.getRateInQuoteSafe.selector, _asset));
bool validResponse = success && returnData.length >= 32;
bool revertedPaused = !success && returnData.length >= 4 && bytes4(returnData) == Errors.Paused.selector;
if (!validResponse && !revertedPaused) {
revert Errors.IncompatibleAccountant();
}
}
/// @notice Validates fee configuration update for a given fee type
/// @param _f NestVaultCoreTypes.Fees Fee type
/// @param _fee NestVaultCoreTypes.Fee Candidate fee configuration
function validateSetFee(
NestVaultCoreTypes.NestVaultCoreStorage storage $,
NestVaultCoreTypes.Fees _f,
NestVaultCoreTypes.Fee calldata _fee
) external view {
NestVaultCoreTypes.Fee storage maxFee = $.maxFees[_f];
if (_fee.rate > maxFee.rate) revert Errors.InvalidFee();
if (_fee.flat > maxFee.flat) revert Errors.InvalidFee();
}
/// @notice Validates max fee configuration update for a given fee type
/// @dev Ensures the new max fee is not below the currently active fee for that type
/// @param $ NestVaultCoreTypes.NestVaultCoreStorage The full storage struct
/// @param _f NestVaultCoreTypes.Fees Fee type
/// @param _maxFee NestVaultCoreTypes.Fee Candidate max fee configuration
function validateSetMaxFee(
NestVaultCoreTypes.NestVaultCoreStorage storage $,
NestVaultCoreTypes.Fees _f,
NestVaultCoreTypes.Fee calldata _maxFee
) external view {
if (_maxFee.rate > NestVaultCoreTypes.FEE_CAP) revert Errors.InvalidFee();
NestVaultCoreTypes.Fee storage currentFee = $.fees[_f];
if (_maxFee.rate < currentFee.rate) revert Errors.InvalidFee();
if (_maxFee.flat < currentFee.flat) revert Errors.InvalidFee();
}
/// @notice Validates fee claim request for a fee type
/// @param _f NestVaultCoreTypes.Fees Fee type to claim
/// @param _receiver address Claim receiver
function validateClaimFee(
NestVaultCoreTypes.NestVaultCoreStorage storage $,
NestVaultCoreTypes.Fees _f,
address _receiver
) external view {
if (_receiver == address(0)) {
revert Errors.ZeroAddress();
}
if ($.claimableFees[_f] == 0) {
revert Errors.ZeroFeesOwed();
}
}
/// @notice Validates redeem payout is non-zero
/// @dev $ NestVaultCoreTypes.NestVaultCoreStorage The full storage struct
/// @param _assets uint256 The assets to pay out
/// @param _shares uint256 The shares being redeemed
/// @param _claimableShares uint256 The total claimable shares
function validateRedeemPayout(
NestVaultCoreTypes.NestVaultCoreStorage storage,
/*$*/
uint256 _assets,
uint256 _shares,
uint256 _claimableShares
) external pure {
if (_assets == 0 && _shares != _claimableShares) {
revert Errors.ERC7540ZeroPayout();
}
}
/// @notice Validates operator registry compatibility
/// @dev Allows zero address (registry disabled). For non-zero addresses, probes IERC7540Operator.isOperator via staticcall.
/// @param _operatorRegistry address Candidate operator registry address
function validateOperatorRegistry(
NestVaultCoreTypes.NestVaultCoreStorage storage,
/*$*/
address _operatorRegistry
)
internal
view
{
if (_operatorRegistry == address(0)) return;
(bool success, bytes memory data) = _operatorRegistry.staticcall(
abi.encodeWithSelector(IERC7540Operator.isOperator.selector, address(0), address(0))
);
if (!success || data.length < 32) {
revert Errors.IncompatibleOperatorRegistry();
}
}
/// @dev Internal function to check if an operator is authorized for a given controller
/// @param _controller address The controller whose operator permissions are being queried
/// @param _operator address The operator being checked
/// @return bool True if the operator is authorized for the controller
function isOperator(NestVaultCoreTypes.NestVaultCoreStorage storage $, address _controller, address _operator)
internal
view
returns (bool)
{
bool _approved = $.isVaultOperator[_controller][_operator];
OperatorRegistry registry = $.operatorRegistry;
if (address(registry) == address(0)) return _approved;
return _approved || registry.isOperator(_controller, _operator);
}
/// @notice Internal function to validate caller authorization
/// @param $ NestVaultCoreTypes.NestVaultCoreStorage The full storage struct
/// @param _account address The account whose authorization is being checked
/// @param _caller address The caller address
function _validateCaller(NestVaultCoreTypes.NestVaultCoreStorage storage $, address _account, address _caller)
private
view
{
if (_account != _caller && !isOperator($, _account, _caller)) {
revert Errors.Unauthorized();
}
}
}
Compiler settingsShow
{
"viaIR": true,
"metadata": {
"bytecodeHash": "ipfs"
},
"libraries": {
"contracts/libraries/NestVaultCoreValidationLogic.sol": {
"NestVaultCoreValidationLogic": "0xBEa4EFf7CC7b6d04a501fa0F896D7eA5147cC243"
}
},
"optimizer": {
"runs": 200,
"enabled": true
},
"evmVersion": "osaka",
"remappings": [
"/Users/rafa/Documents/Plume/worktrees/nest-async-redemption-fee-tiers/node_modules/@layerzerolabs/toolbox-foundry/:solidity-bytes-utils/=node_modules/@layerzerolabs/toolbox-foundry/lib/solidity-bytes-utils/",
"/Users/rafa/Documents/Plume/worktrees/nest-async-redemption-fee-tiers/node_modules/@layerzerolabs/toolbox-foundry/:solidity-bytes-utils/contracts/=node_modules/@layerzerolabs/toolbox-foundry/lib/solidity-bytes-utils/",
"@boring-vault/=node_modules/boring-vault/",
"@ds-test/=node_modules/boring-vault/lib/forge-std/lib/ds-test/src/",
"@forge-std/=node_modules/boring-vault/lib/forge-std/src/",
"@ion-protocol/=node_modules/boring-vault/lib/ion-protocol/src/",
"@layerzerolabs/=node_modules/@layerzerolabs/",
"@morpho/=node_modules/morpho/src/",
"@openzeppelin-4.9.3/=script/vendor/openzeppelin-4.9.3/",
"@openzeppelin/=node_modules/@openzeppelin/",
"@pendle/=node_modules/@pendle/",
"@predicate-v2/=contracts/vendor/predicate-v2/",
"@predicate/=node_modules/@predicate/contracts/",
"@solmate/=node_modules/solmate/src/",
"@uniswap/=node_modules/@uniswap/",
"@uniswap/permit2/=node_modules/@uniswap/permit2/src/",
"boring-vault/=node_modules/boring-vault/",
"createx/=node_modules/createx/src/",
"ds-test/=node_modules/@layerzerolabs/toolbox-foundry/lib/ds-test/",
"forge-std/=node_modules/forge-std/src/",
"hardhat-deploy/=node_modules/hardhat-deploy/",
"hardhat/=node_modules/hardhat/",
"morpho/=node_modules/morpho/",
"openzeppelin/=node_modules/createx/lib/openzeppelin-contracts/contracts/",
"solady/=node_modules/createx/lib/solady/src/",
"solidity-bytes-utils/=node_modules/solidity-bytes-utils/",
"solidity-bytes-utils/contracts/=node_modules/@layerzerolabs/toolbox-foundry/lib/solidity-bytes-utils/",
"solmate/=node_modules/solmate/",
"src/=node_modules/boring-vault/src/",
"node_modules/@layerzerolabs/toolbox-foundry/:solidity-bytes-utils/=node_modules/@layerzerolabs/toolbox-foundry/lib/solidity-bytes-utils/",
"node_modules/@layerzerolabs/toolbox-foundry/:solidity-bytes-utils/contracts/=node_modules/@layerzerolabs/toolbox-foundry/lib/solidity-bytes-utils/"
]
}Source code and metadata: Sourcify.
The source code belongs to the authors of the contract.