Skip to content
Verified contractPartialMIT

PeddlesClogVaultFactory

Address0x019d6a0e4c8a0e585946ef12dcfa1e8e2f0bcd0b
Balance

0 ETH

 

Transactions

1

 

Compiler

solc 0.8.26

 

Same code

Only this contract

 

Details

Compiler
solc 0.8.26+commit.8a97fa7a
Language
solidity
Optimization
Yes, 200 runs
EVM version
cancun
Via IR
yes
License
MIT
Match
Partialcreation code: yes, runtime code: yes
Verified on Sourcify
Created in block
26,374,044
Creation transaction
0x72bd37637c…de2ea4c7df

src/PeddlesClogVaultFactory.sol

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.26;

/*

               _______  _______  ______   ______   _        _______
      (  ____ )(  ____ \(  __  \ (  __  \ ( \      (  ____ \(  ____ \
      | (    )|| (    \/| (  \  )| (  \  )| (      | (    \/| (    \/
      | (____)|| (__    | |   ) || |   ) || |      | (__    | (_____
      |  _____)|  __)   | |   | || |   | || |      |  __)   (_____  )
      | (      | (      | |   ) || |   ) || |      | (            ) |
      | )      | (____/\| (__/  )| (__/  )| (____/\| (____/\/\____) |
      |/       (_______/(______/ (______/ (_______/(_______/\_______)


      THE STOCK-PAIRED LAUNCHPAD

      Launch tokens and NFTs paired against tokenised stocks.
      100% of supply goes to liquidity, locked from block zero.
      Holders earn the stock you are paired to.

      Website     https://peddles.xyz
      X           https://x.com/PeddlesX
      Telegram    https://t.me/peddlesnews


*/

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

/// @title  PeddlesClogVaultFactory — deterministic clog vaults, in their own size budget.
/// @notice Deploys and predicts `PeddlesClogVault` instances at CREATE2 addresses.
///
/// ── WHY THIS IS A SEPARATE CONTRACT ─────────────────────────────────────────
/// The obvious home was `PeddlesVaultFactoryV20`, which already builds the four
/// V20 vaults. It cannot take a fifth: that contract embeds every vault's
/// CREATION CODE TWICE — once inside `type(X).creationCode` for the address
/// prediction, and again inside `new X{salt: ...}` for the deployment. A clog
/// vault costs roughly 6,000 bytes across those two copies and the contract has
/// 1,185 to spare, so adding it there makes the whole stack undeployable rather
/// than making the clog work.
///
/// Splitting it out gives the clog its own 24,576-byte budget and costs the
/// existing contracts one immutable address and one external call.
///
/// ── THE ADDRESS SPACE IS BOUND TO THE CALLER ────────────────────────────────
/// A CREATE2 address is fully determined by (deployer, salt, initcode), and the
/// initcode here carries the constructor arguments. So anyone who can guess a
/// launch's arguments could pre-occupy its address and make the launch revert —
/// the exact permanent-brick griefing that `PeddlesStockVaultFactory.createVaults`
/// was fixed for. The salt is therefore bound to `msg.sender`: each caller owns a
/// disjoint address space, and occupying one address can never block anybody else.
///
/// ── THIS CONTRACT CUSTODIES NOTHING ─────────────────────────────────────────
/// It deploys vaults and holds no token. It has no `receive` and no `payable`
/// function, but native can still be FORCED in (`selfdestruct`, a block reward),
/// so `sweepNative` pays any such balance to the immutable `treasury`. The vaults
/// it deploys carry their own exits (`release`, `escape`, `withdrawProceeds`,
/// `sweepStray`).
contract PeddlesClogVaultFactory {
    /// @notice Salt discriminator, mirroring `PeddlesStockLaunchpad.COIN_VARIANT` and
    ///         `PeddlesFactoryV20._boundSalt`. Keeps this factory's CREATE2 space
    ///         disjoint from every other deterministic deployer in the stack.
    uint8 public constant VAULT_KIND = 5;

    /// @notice The only address `sweepNative` can pay.
    address public immutable treasury;

    event NativeSwept(address indexed to, uint256 amount);

    error ZeroAddress();
    error NothingToSweep();
    error TransferFailed();

    constructor(address treasury_) {
        if (treasury_ == address(0)) revert ZeroAddress();
        treasury = treasury_;
    }

    /// @notice Pay force-sent native currency to `treasury`. Permissionless; nothing here is owed.
    function sweepNative() external returns (uint256 amount) {
        amount = address(this).balance;
        if (amount == 0) revert NothingToSweep();
        (bool ok,) = payable(treasury).call{value: amount}("");
        if (!ok) revert TransferFailed();
        emit NativeSwept(treasury, amount);
    }

    /// @notice Every clog vault this factory has deployed, by token, per caller.
    ///         Read by the launch path so a second launch of the same token can
    ///         never silently point at an earlier vault.
    mapping(address => mapping(address => address)) public vaultOf;

    event ClogVaultCreated(
        address indexed caller,
        address indexed token,
        address vault,
        address router,
        address creator,
        uint256 sliceCap,
        uint64 minInterval
    );

    error VaultAlreadyCreated(address token);
    error DeploymentFailed();

    /// @dev The caller-bound salt. `token` is mixed in so one caller launching two
    ///      tokens gets two addresses without having to pick salts itself.
    function boundSalt(address caller, address token) public pure returns (bytes32) {
        return keccak256(abi.encodePacked(VAULT_KIND, caller, token));
    }

    /// @notice The initcode hash for a given set of vault terms. Exposed so the
    ///         launch path can predict without this factory having to re-derive it.
    function initCodeHash(
        address token,
        address router,
        address creator,
        uint256 sliceCap,
        uint64 minInterval
    ) public pure returns (bytes32) {
        return keccak256(
            abi.encodePacked(
                type(PeddlesClogVault).creationCode,
                abi.encode(token, router, creator, sliceCap, minInterval)
            )
        );
    }

    /// @notice Where `create` would put this vault, for this caller.
    /// @dev    The prediction and the deployment derive their salt and initcode from
    ///         THE SAME two functions, so the two cannot drift apart. A predictor that
    ///         recomputes the hash independently is a second source of truth, and the
    ///         failure is silent: the launch funds an address nothing was deployed to.
    function predict(
        address caller,
        address token,
        address router,
        address creator,
        uint256 sliceCap,
        uint64 minInterval
    ) public view returns (address) {
        return address(
            uint160(
                uint256(
                    keccak256(
                        abi.encodePacked(
                            bytes1(0xff),
                            address(this),
                            boundSalt(caller, token),
                            initCodeHash(token, router, creator, sliceCap, minInterval)
                        )
                    )
                )
            )
        );
    }

    /// @notice Deploy the clog vault for `token`.
    /// @dev    PERMISSIONLESS, and safe because of the caller binding above: a vault
    ///         created by a stranger lives at a stranger's address and holds nothing,
    ///         because only the launch transaction transfers supply, and it transfers
    ///         to the address IT predicted under its own binding.
    function create(
        address token,
        address router,
        address creator,
        uint256 sliceCap,
        uint64 minInterval
    ) external returns (address vault) {
        if (vaultOf[msg.sender][token] != address(0)) revert VaultAlreadyCreated(token);

        vault = address(
            new PeddlesClogVault{salt: boundSalt(msg.sender, token)}(
                token, router, creator, sliceCap, minInterval
            )
        );
        if (vault == address(0)) revert DeploymentFailed();

        vaultOf[msg.sender][token] = vault;
        emit ClogVaultCreated(msg.sender, token, vault, router, creator, sliceCap, minInterval);
    }
}

src/PeddlesClogVault.sol

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.26;

/*

               _______  _______  ______   ______   _        _______
      (  ____ )(  ____ \(  __  \ (  __  \ ( \      (  ____ \(  ____ \
      | (    )|| (    \/| (  \  )| (  \  )| (      | (    \/| (    \/
      | (____)|| (__    | |   ) || |   ) || |      | (__    | (_____
      |  _____)|  __)   | |   | || |   | || |      |  __)   (_____  )
      | (      | (      | |   ) || |   ) || |      | (            ) |
      | )      | (____/\| (__/  )| (__/  )| (____/\| (____/\/\____) |
      |/       (_______/(______/ (______/ (_______/(_______/\_______)


      THE STOCK-PAIRED LAUNCHPAD

      Launch tokens and NFTs paired against tokenised stocks.
      100% of supply goes to liquidity, locked from block zero.
      Holders earn the stock you are paired to.

      Website     https://peddles.xyz
      X           https://x.com/PeddlesX
      Telegram    https://t.me/peddlesnews


*/

/// @dev The launched token. Transfer-only surface plus the balance read the
///      release path needs; deliberately not a full IERC20.
interface IClogToken {
    function balanceOf(address account) external view returns (uint256);
    function approve(address spender, uint256 amount) external returns (bool);
    function transfer(address to, uint256 amount) external returns (bool);
}

/// @dev `PeddlesV4SwapRouter.sell`: sells `token` for WETH and pays the proceeds as NATIVE to `to`.
interface IClogRouter {
    function sell(address token, uint256 amountIn, uint256 minOut, address to)
        external
        returns (uint256 out);
}

/// @title  PeddlesClogVault — the marketing allocation, sold in slices.
/// @notice Holds a launch's clog allocation and sells it into the pool a capped
///         slice at a time. The proceeds accrue HERE, in native currency, and the
///         creator pulls them. This is how a creator funds marketing without putting
///         up capital.
///
/// ── WHAT A BUYER IS ACTUALLY AGREEING TO ────────────────────────────────────
/// The allocation is a share of SUPPLY, and it is sold into the pool the buyer
/// is buying from. Modelled on pure buy flow, which is the most flattering case:
///
///     allocation   5%      10%     15%     25%
///     of inflows   16.5%   37.1%   54.6%   75.0%
///
/// ── THE RATE LIMIT HOLDS ON EVERY EXIT ──────────────────────────────────────
/// No more than `sliceCap` tokens leave per `minInterval`, whichever exit they take:
///   * `release`  sells one slice into the pool. The proceeds come to THIS contract,
///                so nothing the creator does with their own address — a wallet that
///                refuses native, a contract that reverts — can make a release fail.
///   * `escape`   the fallback if the pool itself can no longer absorb a sale: once no
///                release has succeeded for ESCAPE_DELAY, the remainder is handed to the
///                creator as tokens — still ONE slice per interval, never in one piece.
///
/// ── WHO MAY RELEASE, AND AT WHAT PRICE ─────────────────────────────────────
/// The creator may release with any `minOut` they choose (it is their money). Anyone
/// else may release only at or above the creator's own `releaseFloorX18` price, which
/// is unset — and so closed to third parties — until the creator sets it. Without that
/// a stranger could call `release(0)` and sandwich the creator's proceeds.
///
/// ── EXITS (no-stuck-funds) ──────────────────────────────────────────────────
///   the allocation      `release()` / `escape()` — rate-limited, capped
///   native proceeds     `withdrawProceeds()` — to the creator, or where the creator says
///   forced native       the same function: indistinguishable from proceeds, owed to the creator
///   anything else       `sweepStray()` — never the clogged token itself
contract PeddlesClogVault {
    /* ------------------------------------------------------------ immutable */

    /// @notice The launched token this vault is clogging.
    address public immutable token;
    /// @notice The router releases sell through. Fixed at construction.
    address public immutable router;
    /// @notice Who the proceeds, and any escaped tokens, belong to.
    address public immutable creator;
    /// @notice Max tokens per release or escape, in raw units.
    uint256 public immutable sliceCap;
    /// @notice Minimum seconds between releases/escapes.
    uint64 public immutable minInterval;

    /// @notice No successful release for this long ⇒ `escape()` opens (in slices).
    uint64 public constant ESCAPE_DELAY = 180 days;
    /// @notice The longest cadence a vault may be built with. Well below ESCAPE_DELAY, so the
    ///         escape can never become the normal exit just because releases are rare.
    uint64 public constant MAX_MIN_INTERVAL = 7 days;

    /* -------------------------------------------------------------- storage */

    /// @notice Timestamp of the last successful release or escape. Seeded at construction.
    uint64 public lastRelease;
    /// @notice Once the escape has opened it stays open, at the release cadence.
    bool public escapeOpened;
    /// @notice Raw units sold so far. Read by the UI; the vault does not use it.
    uint256 public totalSold;
    /// @notice Creator-set minimum price for a THIRD-PARTY release: native wei per 1e18 token
    ///         units. Zero means third parties cannot release at all.
    uint256 public releaseFloorX18;

    uint256 private _lock = 1;

    /* --------------------------------------------------------------- events */

    event Released(uint256 tokensIn, uint256 quoteOut, address indexed to);
    event Escaped(uint256 tokensOut, address indexed to);
    event StraySwept(address indexed asset, uint256 amount, address indexed to);
    event ProceedsWithdrawn(address indexed to, uint256 amount);
    event ReleaseFloorSet(uint256 floorX18);

    /* --------------------------------------------------------------- errors */

    error ZeroAddress();
    error ZeroSliceCap();
    error IntervalTooLong();
    error TooSoon(uint64 readyAt);
    error NothingToRelease();
    error EscapeNotOpen(uint64 opensAt);
    error CannotSweepClog();
    error TransferFailed();
    error ApproveFailed();
    error NotRouter();
    error NotCreator();
    error FloorUnset();
    error Slippage();
    error Reentrant();

    modifier nonReentrant() {
        if (_lock != 1) revert Reentrant();
        _lock = 2;
        _;
        _lock = 1;
    }

    constructor(
        address token_,
        address router_,
        address creator_,
        uint256 sliceCap_,
        uint64 minInterval_
    ) {
        if (token_ == address(0) || router_ == address(0) || creator_ == address(0)) {
            revert ZeroAddress();
        }
        if (sliceCap_ == 0) revert ZeroSliceCap();
        if (minInterval_ > MAX_MIN_INTERVAL) revert IntervalTooLong();
        token = token_;
        router = router_;
        creator = creator_;
        sliceCap = sliceCap_;
        minInterval = minInterval_;
        lastRelease = uint64(block.timestamp);
    }

    /// @notice Sale proceeds arrive from the router as native. Nothing else may pay in.
    receive() external payable {
        if (msg.sender != router) revert NotRouter();
    }

    /// @notice The creator's price floor for releases anyone else triggers.
    function setReleaseFloor(uint256 floorX18) external {
        if (msg.sender != creator) revert NotCreator();
        releaseFloorX18 = floorX18;
        emit ReleaseFloorSet(floorX18);
    }

    /// @notice Sell the next slice into the pool. The proceeds stay here for the creator.
    /// @param minOut the least native the sale may return. A caller other than the creator is
    ///        additionally held to `releaseFloorX18`.
    function release(uint256 minOut) external nonReentrant returns (uint256 out) {
        uint64 readyAt = lastRelease + minInterval;
        if (block.timestamp < readyAt) revert TooSoon(readyAt);

        uint256 held = IClogToken(token).balanceOf(address(this));
        if (held == 0) revert NothingToRelease();
        uint256 amountIn = held < sliceCap ? held : sliceCap;

        if (msg.sender != creator) {
            uint256 floorX18 = releaseFloorX18;
            if (floorX18 == 0) revert FloorUnset();
            uint256 floorOut = (amountIn * floorX18) / 1e18;
            if (minOut < floorOut) minOut = floorOut;
        }

        // Written BEFORE the external call.
        lastRelease = uint64(block.timestamp);

        uint256 nativeBefore = address(this).balance;
        if (!IClogToken(token).approve(router, amountIn)) revert ApproveFailed();
        IClogRouter(router).sell(token, amountIn, minOut, address(this));
        if (!IClogToken(token).approve(router, 0)) revert ApproveFailed();

        // What actually ARRIVED, not what the router reports.
        out = address(this).balance - nativeBefore;
        if (out < minOut) revert Slippage();

        // What actually LEFT: a partial fill is refunded by the router and stays subject to the
        // next release. Saturating, so a token donated mid-call can only understate it.
        uint256 after_ = IClogToken(token).balanceOf(address(this));
        uint256 sold = held > after_ ? held - after_ : 0;
        totalSold += sold;
        emit Released(sold, out, address(this));
    }

    /// @notice After ESCAPE_DELAY without a successful release, hand the creator ONE slice of the
    ///         remainder as tokens — and then one per `minInterval`, never more.
    /// @dev    Exists for a pool that can no longer absorb a sale. It is not a rate-limit bypass:
    ///         it moves exactly what a release would, on the same clock. It pays the CREATOR and
    ///         takes no destination argument.
    function escape() external nonReentrant returns (uint256 amount) {
        if (!escapeOpened) {
            uint64 opensAt = lastRelease + ESCAPE_DELAY;
            if (block.timestamp < opensAt) revert EscapeNotOpen(opensAt);
            escapeOpened = true;
        } else {
            uint64 readyAt = lastRelease + minInterval;
            if (block.timestamp < readyAt) revert TooSoon(readyAt);
        }

        uint256 held = IClogToken(token).balanceOf(address(this));
        if (held == 0) revert NothingToRelease();
        amount = held < sliceCap ? held : sliceCap;

        lastRelease = uint64(block.timestamp);
        if (!IClogToken(token).transfer(creator, amount)) revert TransferFailed();
        emit Escaped(amount, creator);
    }

    /// @notice Pay the accrued native proceeds out. Anyone may push them to the creator; only the
    ///         creator may name another destination (for a creator address that cannot receive).
    function withdrawProceeds(address to) external nonReentrant returns (uint256 amount) {
        if (msg.sender != creator) to = creator;
        if (to == address(0)) revert ZeroAddress();
        amount = address(this).balance;
        if (amount == 0) revert NothingToRelease();
        (bool ok,) = payable(to).call{value: amount}("");
        if (!ok) revert TransferFailed();
        emit ProceedsWithdrawn(to, amount);
    }

    /// @notice Recover an asset that is not the clogged token. Pays the creator.
    function sweepStray(address asset) external nonReentrant returns (uint256 amount) {
        if (asset == token) revert CannotSweepClog();
        if (asset == address(0)) revert ZeroAddress();

        amount = IClogToken(asset).balanceOf(address(this));
        if (amount == 0) revert NothingToRelease();
        if (!IClogToken(asset).transfer(creator, amount)) revert TransferFailed();
        emit StraySwept(asset, amount, creator);
    }

    /// @notice What `release()` would sell right now, and when it may be called.
    function previewRelease() external view returns (uint256 amountIn, uint64 readyAt) {
        uint256 held = IClogToken(token).balanceOf(address(this));
        amountIn = held < sliceCap ? held : sliceCap;
        readyAt = lastRelease + minInterval;
    }
}
Compiler settingsShow
{
  "viaIR": true,
  "metadata": {
    "appendCBOR": false,
    "bytecodeHash": "none",
    "useLiteralContent": false
  },
  "libraries": {},
  "optimizer": {
    "runs": 200,
    "enabled": true
  },
  "evmVersion": "cancun",
  "remappings": [
    "forge-std/=lib/forge-std/src/",
    "@uniswap/v4-core/=lib/v4-core/",
    "@uniswap/v4-periphery/=lib/v4-periphery/",
    "solady/=lib/solady/",
    "@openzeppelin/contracts/=lib/infinity-core/lib/openzeppelin-contracts/contracts/",
    "permit2/=lib/v4-periphery/lib/permit2/",
    "infinity-core/=lib/infinity-core/",
    "lib/infinity-core/lib/pancake-create3-factory/lib/openzeppelin-contracts/lib/forge-std/:ds-test/=lib/infinity-core/lib/pancake-create3-factory/lib/openzeppelin-contracts/lib/forge-std/lib/ds-test/src/",
    "lib/infinity-core/lib/pancake-create3-factory/lib/openzeppelin-contracts/lib/forge-std/:ds-test/=lib/infinity-core/lib/pancake-create3-factory/lib/openzeppelin-contracts/lib/forge-std/lib/ds-test/src/",
    "lib/v4-periphery/lib/permit2/lib/forge-gas-snapshot/lib/forge-std/:ds-test/=lib/v4-periphery/lib/permit2/lib/forge-gas-snapshot/lib/forge-std/lib/ds-test/src/",
    "lib/v4-periphery/lib/permit2/lib/forge-gas-snapshot/lib/forge-std/:ds-test/=lib/v4-periphery/lib/permit2/lib/forge-gas-snapshot/lib/forge-std/lib/ds-test/src/",
    "lib/v4-periphery/lib/v4-core/lib/openzeppelin-contracts/lib/forge-std/:ds-test/=lib/v4-periphery/lib/v4-core/lib/openzeppelin-contracts/lib/forge-std/lib/ds-test/src/",
    "lib/v4-periphery/lib/v4-core/lib/openzeppelin-contracts/lib/forge-std/:ds-test/=lib/v4-periphery/lib/v4-core/lib/openzeppelin-contracts/lib/forge-std/lib/ds-test/src/",
    "lib/infinity-core/lib/openzeppelin-contracts/lib/forge-std/:ds-test/=lib/infinity-core/lib/openzeppelin-contracts/lib/forge-std/lib/ds-test/src/",
    "lib/infinity-core/lib/openzeppelin-contracts/lib/forge-std/:ds-test/=lib/infinity-core/lib/openzeppelin-contracts/lib/forge-std/lib/ds-test/src/",
    "lib/infinity-core/lib/pancake-create3-factory/lib/openzeppelin-contracts/:erc4626-tests/=lib/infinity-core/lib/pancake-create3-factory/lib/openzeppelin-contracts/lib/erc4626-tests/",
    "lib/infinity-core/lib/pancake-create3-factory/lib/openzeppelin-contracts/:erc4626-tests/=lib/infinity-core/lib/pancake-create3-factory/lib/openzeppelin-contracts/lib/erc4626-tests/",
    "lib/v4-core/lib/openzeppelin-contracts/lib/forge-std/:ds-test/=lib/v4-core/lib/openzeppelin-contracts/lib/forge-std/lib/ds-test/src/",
    "lib/v4-core/lib/openzeppelin-contracts/lib/forge-std/:ds-test/=lib/v4-core/lib/openzeppelin-contracts/lib/forge-std/lib/ds-test/src/",
    "lib/v4-periphery/lib/permit2/lib/forge-std/:ds-test/=lib/v4-periphery/lib/permit2/lib/forge-std/lib/ds-test/src/",
    "lib/v4-periphery/lib/permit2/lib/forge-std/:ds-test/=lib/v4-periphery/lib/permit2/lib/forge-std/lib/ds-test/src/",
    "lib/v4-periphery/lib/permit2/lib/solmate/:ds-test/=lib/v4-periphery/lib/permit2/lib/solmate/lib/ds-test/src/",
    "lib/v4-periphery/lib/permit2/lib/solmate/:ds-test/=lib/v4-periphery/lib/permit2/lib/solmate/lib/ds-test/src/",
    "lib/v4-periphery/lib/v4-core/lib/openzeppelin-contracts/:erc4626-tests/=lib/v4-periphery/lib/v4-core/lib/openzeppelin-contracts/lib/erc4626-tests/",
    "lib/v4-periphery/lib/v4-core/lib/openzeppelin-contracts/:erc4626-tests/=lib/v4-periphery/lib/v4-core/lib/openzeppelin-contracts/lib/erc4626-tests/",
    "lib/v4-periphery/lib/v4-core/lib/solmate/:ds-test/=lib/v4-periphery/lib/v4-core/lib/solmate/lib/ds-test/src/",
    "lib/v4-periphery/lib/v4-core/lib/solmate/:ds-test/=lib/v4-periphery/lib/v4-core/lib/solmate/lib/ds-test/src/",
    "lib/infinity-core/lib/openzeppelin-contracts/:erc4626-tests/=lib/infinity-core/lib/openzeppelin-contracts/lib/erc4626-tests/",
    "lib/infinity-core/lib/openzeppelin-contracts/:erc4626-tests/=lib/infinity-core/lib/openzeppelin-contracts/lib/erc4626-tests/",
    "lib/infinity-core/lib/pancake-create3-factory/:forge-gas-snapshot/=lib/infinity-core/lib/pancake-create3-factory/lib/forge-gas-snapshot/src/",
    "lib/infinity-core/lib/pancake-create3-factory/:forge-gas-snapshot/=lib/infinity-core/lib/pancake-create3-factory/lib/forge-gas-snapshot/src/",
    "lib/infinity-core/lib/pancake-create3-factory/:openzeppelin-contracts/=lib/infinity-core/lib/pancake-create3-factory/lib/openzeppelin-contracts/",
    "lib/infinity-core/lib/pancake-create3-factory/:openzeppelin-contracts/=lib/infinity-core/lib/pancake-create3-factory/lib/openzeppelin-contracts/",
    "lib/infinity-core/lib/solmate/:ds-test/=lib/infinity-core/lib/solmate/lib/ds-test/src/",
    "lib/infinity-core/lib/solmate/:ds-test/=lib/infinity-core/lib/solmate/lib/ds-test/src/",
    "lib/v4-core/lib/openzeppelin-contracts/:erc4626-tests/=lib/v4-core/lib/openzeppelin-contracts/lib/erc4626-tests/",
    "lib/v4-core/lib/openzeppelin-contracts/:erc4626-tests/=lib/v4-core/lib/openzeppelin-contracts/lib/erc4626-tests/",
    "lib/v4-core/lib/solmate/:ds-test/=lib/v4-core/lib/solmate/lib/ds-test/src/",
    "lib/v4-core/lib/solmate/:ds-test/=lib/v4-core/lib/solmate/lib/ds-test/src/",
    "lib/v4-periphery/lib/permit2/:solmate/=lib/v4-periphery/lib/permit2/lib/solmate/",
    "lib/v4-periphery/lib/permit2/:solmate/=lib/v4-periphery/lib/permit2/lib/solmate/",
    "lib/v4-periphery/lib/permit2/:forge-gas-snapshot/=lib/v4-periphery/lib/permit2/lib/forge-gas-snapshot/src/",
    "lib/v4-periphery/lib/permit2/:forge-gas-snapshot/=lib/v4-periphery/lib/permit2/lib/forge-gas-snapshot/src/",
    "lib/v4-periphery/lib/permit2/:openzeppelin-contracts/=lib/v4-periphery/lib/permit2/lib/openzeppelin-contracts/",
    "lib/v4-periphery/lib/permit2/:openzeppelin-contracts/=lib/v4-periphery/lib/permit2/lib/openzeppelin-contracts/",
    "lib/v4-periphery/lib/v4-core/:solmate/=lib/v4-periphery/lib/v4-core/lib/solmate/",
    "lib/v4-periphery/lib/v4-core/:solmate/=lib/v4-periphery/lib/v4-core/lib/solmate/",
    "lib/v4-periphery/lib/v4-core/:openzeppelin-contracts/=lib/v4-periphery/lib/v4-core/lib/openzeppelin-contracts/",
    "lib/v4-periphery/lib/v4-core/:openzeppelin-contracts/=lib/v4-periphery/lib/v4-core/lib/openzeppelin-contracts/",
    "lib/infinity-core/:solmate/=lib/infinity-core/lib/solmate/",
    "lib/infinity-core/:solmate/=lib/infinity-core/lib/solmate/",
    "lib/infinity-core/:openzeppelin-contracts/=lib/infinity-core/lib/openzeppelin-contracts/",
    "lib/infinity-core/:openzeppelin-contracts/=lib/infinity-core/lib/openzeppelin-contracts/",
    "lib/v4-core/:solmate/=lib/v4-core/lib/solmate/",
    "lib/v4-core/:solmate/=lib/v4-core/lib/solmate/",
    "lib/v4-core/:openzeppelin-contracts/=lib/v4-core/lib/openzeppelin-contracts/",
    "lib/v4-core/:openzeppelin-contracts/=lib/v4-core/lib/openzeppelin-contracts/",
    "lib/v4-periphery/:v4-core/=lib/v4-periphery/lib/v4-core/src/",
    "lib/v4-periphery/:v4-core/=lib/v4-periphery/lib/v4-core/src/",
    "@ensdomains/=lib/v4-core/node_modules/@ensdomains/",
    "@openzeppelin/=lib/infinity-core/lib/openzeppelin-contracts/",
    "ds-test/=lib/infinity-core/lib/forge-std/lib/ds-test/src/",
    "erc4626-tests/=lib/infinity-core/lib/openzeppelin-contracts/lib/erc4626-tests/",
    "forge-gas-snapshot/=lib/infinity-core/lib/forge-gas-snapshot/src/",
    "halmos-cheatcodes/=lib/infinity-core/lib/openzeppelin-contracts/lib/halmos-cheatcodes/src/",
    "hardhat/=lib/v4-core/node_modules/hardhat/",
    "openzeppelin-contracts/=lib/infinity-core/lib/openzeppelin-contracts/",
    "pancake-create3-factory/=lib/infinity-core/lib/pancake-create3-factory/",
    "solmate/=lib/infinity-core/lib/solmate/",
    "v4-core/=lib/v4-core/src/",
    "v4-periphery/=lib/v4-periphery/"
  ]
}

Source code and metadata: Sourcify.

The source code belongs to the authors of the contract.