Verified contractPartialMIT
MoonbaseZap
Address0x26a9023b98cd536c82468acd154fd175cf8d3352
- Balance
0 ETH
- Transactions
11
- Compiler
solc 0.8.26
- Same code
1 more contract
Details
- Compiler
- solc 0.8.26+commit.8a97fa7a
- Language
- solidity
- Optimization
- Yes, 44,444,444 runs
- EVM version
- cancun
- Via IR
- yes
- License
- MIT
- Match
- Partialcreation code: yes, runtime code: yes
- Verified on Sourcify
- Created in block
- 26,168,284
- Creation transaction
- 0x9cad4fa129…0271c3a28c
src/MoonbaseZap.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.26;
import {ERC20} from "solmate/src/tokens/ERC20.sol";
import {SafeTransferLib} from "solmate/src/utils/SafeTransferLib.sol";
import {LaunchParams, IMoonbaseFactory, IMoonbaseRouter} from "./MoonbaseTypes.sol";
/// @title Moonbase conversion contract ("zap")
/// @notice Lets people who hold only dollars launch and buy: whoever calls it (in practice the cross-chain service that
/// delivered the user's dollars or coins on this chain) hands over an input asset, the zap converts it into the token's
/// pair asset through an ALLOWLISTED exchange router, then
/// - launch: launches for the creator with the whole output as the first buy (creation + first buy stay one
/// transaction in the factory, approved by the creator's signature), or
/// - buy: buys the token for the user,
/// and the reverse for sellers: sell (the seller's own transaction) turns tokens into the pair asset, then into e.g. the
/// chain's dollar, ready to go back to the seller's balance. Anything left (unused input, refunds) goes to the creator / buyer. The zap holds no funds between calls.
contract MoonbaseZap {
address public constant NATIVE = address(0);
IMoonbaseFactory public immutable factory;
IMoonbaseRouter public immutable router;
address public owner;
/// Exchange routers the zap may call to convert (aggregators on this chain). Set by the owner.
mapping(address => bool) public swapRouters;
/// A proposed router may be allowed from this time (0 = not proposed).
mapping(address => uint256) public routerAllowedAt;
uint256 public constant ROUTER_DELAY = 48 hours;
/// Offered the admin rights, not accepted yet.
address public pendingOwner;
/// True once the deployer handed the admin rights over: from then on new routers wait ROUTER_DELAY.
bool public handedOver;
uint256 private locked = 1;
/// Input to convert: `inToken` (address(0) = native coin) × `amountIn`, via `target` with `data`, at least `minOut`
/// of the pair asset. When the input already is the pair asset, target / data are ignored.
struct Swap {
address inToken;
uint256 amountIn;
address target;
bytes data;
uint256 minOut;
}
event SwapRouterSet(address router, bool allowed);
event OwnerSet(address owner);
event OwnershipOffered(address pendingOwner);
event SwapRouterProposed(address router, uint256 allowedAt);
/// EIP-2612 approval of the tokens being sold (skipped if `deadline` is 0: approved beforehand).
struct Permit {
uint256 deadline;
uint8 v;
bytes32 r;
bytes32 s;
}
event Zapped(address indexed token, address indexed user, address inToken, uint256 amountIn, uint256 pairAmount, bool launch);
error NotOwner();
error TooEarly();
error Reentrancy();
error BadValue();
error RouterNotAllowed();
error SwapFailed();
error TooLittle(uint256 out);
error UnknownToken();
error TransferFailed();
constructor(IMoonbaseFactory _factory, IMoonbaseRouter _router, address _owner) {
factory = _factory;
router = _router;
owner = _owner;
}
modifier nonReentrant() {
if (locked != 1) revert Reentrancy();
locked = 2;
_;
locked = 1;
}
receive() external payable {}
/// @notice Allows (or removes) an exchange router the zap may convert through. Removing is immediate. Once the admin
/// rights were handed over, a NEW router is first proposed and can be allowed only 48 hours later (security audit 2,
/// F-11: a stolen admin key can't instantly plug in a hostile "router"); calling again after the wait allows it.
function setSwapRouter(address r, bool allowed) external {
if (msg.sender != owner) revert NotOwner();
if (allowed && handedOver && !swapRouters[r]) {
uint256 at = routerAllowedAt[r];
if (at == 0) {
routerAllowedAt[r] = block.timestamp + ROUTER_DELAY;
emit SwapRouterProposed(r, block.timestamp + ROUTER_DELAY);
return;
}
if (block.timestamp < at) revert TooEarly();
}
routerAllowedAt[r] = 0;
swapRouters[r] = allowed;
emit SwapRouterSet(r, allowed);
}
/// @notice Offers the admin rights to `o` (the owner's multisig); they move only when it accepts (F-11).
function transferOwnership(address o) external {
if (msg.sender != owner) revert NotOwner();
if (o == address(0)) revert NotOwner();
pendingOwner = o;
handedOver = true;
emit OwnershipOffered(o);
}
function acceptOwnership() external {
if (msg.sender != pendingOwner || msg.sender == address(0)) revert NotOwner();
owner = msg.sender;
pendingOwner = address(0);
emit OwnerSet(msg.sender);
}
/// @notice Converts the input into `p.pairAsset` and launches for `creator` with all of it as the first buy.
/// `p.firstBuy` is ignored (set to the conversion's output); the creator's signature covers everything else.
function launch(LaunchParams memory p, address creator, uint256 deadline, bytes calldata signature, Swap calldata s)
external
payable
nonReentrant
returns (address token)
{
uint256 out = _convert(s, p.pairAsset);
p.firstBuy = out;
if (p.pairAsset == NATIVE) {
token = factory.launchFor{value: out}(p, creator, deadline, signature);
} else {
SafeTransferLib.safeApprove(ERC20(p.pairAsset), address(factory), out);
token = factory.launchFor(p, creator, deadline, signature);
}
_sweep(s.inToken, creator);
_sweep(p.pairAsset, creator);
emit Zapped(token, creator, s.inToken, s.amountIn, out, true);
}
/// @notice Converts the input into the token's pair asset and buys the token for `to`.
function buy(address token, uint256 minTokensOut, address to, Swap calldata s) external payable nonReentrant returns (uint256 tokensOut) {
if (factory.creatorOf(token) == address(0)) revert UnknownToken();
address pair = factory.pairAssetOf(token);
uint256 out = _convert(s, pair);
if (pair == NATIVE) {
tokensOut = router.buy{value: out}(token, out, minTokensOut, to);
} else {
SafeTransferLib.safeApprove(ERC20(pair), address(router), out);
tokensOut = router.buy(token, out, minTokensOut, to);
SafeTransferLib.safeApprove(ERC20(pair), address(router), 0);
}
_sweep(s.inToken, to);
_sweep(pair, to);
emit Zapped(token, to, s.inToken, s.amountIn, out, false);
}
/// @notice Sells the caller's `amount` of `token` for its pair asset (at least `minPairOut`), then converts
/// `s.amountIn` of it (≤ minPairOut) into `outToken` through an allowlisted router; everything goes to `to`.
/// With outToken = the pair asset, no conversion (s is ignored).
function sell(address token, uint256 amount, uint256 minPairOut, address outToken, Swap calldata s, address to, Permit calldata pm)
external
nonReentrant
returns (uint256 out)
{
if (factory.creatorOf(token) == address(0)) revert UnknownToken();
address pair = factory.pairAssetOf(token);
if (pm.deadline != 0) {
try ERC20(token).permit(msg.sender, address(this), amount, pm.deadline, pm.v, pm.r, pm.s) {} catch {} // approved already is fine
}
SafeTransferLib.safeTransferFrom(ERC20(token), msg.sender, address(this), amount);
SafeTransferLib.safeApprove(ERC20(token), address(router), amount);
uint256 pairOut = router.sell(token, amount, minPairOut, address(this));
if (outToken == pair) {
out = pairOut;
} else {
if (s.inToken != pair || s.amountIn > pairOut) revert BadValue();
out = _swap(s, outToken);
}
_sweep(outToken, to);
_sweep(pair, to);
emit Zapped(token, to, token, amount, pairOut, false);
}
/// Takes the input from the caller and converts it; returns the pair asset amount now held for this call.
function _convert(Swap calldata s, address pair) internal returns (uint256 out) {
if (s.inToken == NATIVE) {
if (msg.value != s.amountIn) revert BadValue();
} else {
if (msg.value != 0) revert BadValue();
SafeTransferLib.safeTransferFrom(ERC20(s.inToken), msg.sender, address(this), s.amountIn);
}
if (s.inToken == pair) return s.amountIn;
return _swap(s, pair);
}
/// Converts `s.amountIn` of `s.inToken` held here into `outAsset` through an allowlisted router.
function _swap(Swap calldata s, address outAsset) internal returns (uint256 out) {
if (!swapRouters[s.target]) revert RouterNotAllowed();
address pair = outAsset;
uint256 before = _balance(pair);
bool ok;
if (s.inToken == NATIVE) {
(ok,) = s.target.call{value: s.amountIn}(s.data);
} else {
SafeTransferLib.safeApprove(ERC20(s.inToken), s.target, s.amountIn);
(ok,) = s.target.call(s.data);
SafeTransferLib.safeApprove(ERC20(s.inToken), s.target, 0);
}
if (!ok) revert SwapFailed();
out = _balance(pair) - before;
if (out < s.minOut) revert TooLittle(out);
}
function _balance(address asset) internal view returns (uint256) {
return asset == NATIVE ? address(this).balance : ERC20(asset).balanceOf(address(this));
}
/// Everything of `asset` still here belongs to this call's user (unused input, refunds).
function _sweep(address asset, address to) internal {
uint256 b = _balance(asset);
if (b == 0) return;
if (asset == NATIVE) {
(bool ok,) = to.call{value: b}("");
if (!ok) revert TransferFailed();
} else {
SafeTransferLib.safeTransfer(ERC20(asset), to, b);
}
}
}
lib/v4-periphery/lib/v4-core/lib/solmate/src/tokens/ERC20.sol
// SPDX-License-Identifier: AGPL-3.0-only
pragma solidity >=0.8.0;
/// @notice Modern and gas efficient ERC20 + EIP-2612 implementation.
/// @author Solmate (https://github.com/transmissions11/solmate/blob/main/src/tokens/ERC20.sol)
/// @author Modified from Uniswap (https://github.com/Uniswap/uniswap-v2-core/blob/master/contracts/UniswapV2ERC20.sol)
/// @dev Do not manually set balances without updating totalSupply, as the sum of all user balances must not exceed it.
abstract contract ERC20 {
/*//////////////////////////////////////////////////////////////
EVENTS
//////////////////////////////////////////////////////////////*/
event Transfer(address indexed from, address indexed to, uint256 amount);
event Approval(address indexed owner, address indexed spender, uint256 amount);
/*//////////////////////////////////////////////////////////////
METADATA STORAGE
//////////////////////////////////////////////////////////////*/
string public name;
string public symbol;
uint8 public immutable decimals;
/*//////////////////////////////////////////////////////////////
ERC20 STORAGE
//////////////////////////////////////////////////////////////*/
uint256 public totalSupply;
mapping(address => uint256) public balanceOf;
mapping(address => mapping(address => uint256)) public allowance;
/*//////////////////////////////////////////////////////////////
EIP-2612 STORAGE
//////////////////////////////////////////////////////////////*/
uint256 internal immutable INITIAL_CHAIN_ID;
bytes32 internal immutable INITIAL_DOMAIN_SEPARATOR;
mapping(address => uint256) public nonces;
/*//////////////////////////////////////////////////////////////
CONSTRUCTOR
//////////////////////////////////////////////////////////////*/
constructor(
string memory _name,
string memory _symbol,
uint8 _decimals
) {
name = _name;
symbol = _symbol;
decimals = _decimals;
INITIAL_CHAIN_ID = block.chainid;
INITIAL_DOMAIN_SEPARATOR = computeDomainSeparator();
}
/*//////////////////////////////////////////////////////////////
ERC20 LOGIC
//////////////////////////////////////////////////////////////*/
function approve(address spender, uint256 amount) public virtual returns (bool) {
allowance[msg.sender][spender] = amount;
emit Approval(msg.sender, spender, amount);
return true;
}
function transfer(address to, uint256 amount) public virtual returns (bool) {
balanceOf[msg.sender] -= amount;
// Cannot overflow because the sum of all user
// balances can't exceed the max uint256 value.
unchecked {
balanceOf[to] += amount;
}
emit Transfer(msg.sender, to, amount);
return true;
}
function transferFrom(
address from,
address to,
uint256 amount
) public virtual returns (bool) {
uint256 allowed = allowance[from][msg.sender]; // Saves gas for limited approvals.
if (allowed != type(uint256).max) allowance[from][msg.sender] = allowed - amount;
balanceOf[from] -= amount;
// Cannot overflow because the sum of all user
// balances can't exceed the max uint256 value.
unchecked {
balanceOf[to] += amount;
}
emit Transfer(from, to, amount);
return true;
}
/*//////////////////////////////////////////////////////////////
EIP-2612 LOGIC
//////////////////////////////////////////////////////////////*/
function permit(
address owner,
address spender,
uint256 value,
uint256 deadline,
uint8 v,
bytes32 r,
bytes32 s
) public virtual {
require(deadline >= block.timestamp, "PERMIT_DEADLINE_EXPIRED");
// Unchecked because the only math done is incrementing
// the owner's nonce which cannot realistically overflow.
unchecked {
address recoveredAddress = ecrecover(
keccak256(
abi.encodePacked(
"\x19\x01",
DOMAIN_SEPARATOR(),
keccak256(
abi.encode(
keccak256(
"Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)"
),
owner,
spender,
value,
nonces[owner]++,
deadline
)
)
)
),
v,
r,
s
);
require(recoveredAddress != address(0) && recoveredAddress == owner, "INVALID_SIGNER");
allowance[recoveredAddress][spender] = value;
}
emit Approval(owner, spender, value);
}
function DOMAIN_SEPARATOR() public view virtual returns (bytes32) {
return block.chainid == INITIAL_CHAIN_ID ? INITIAL_DOMAIN_SEPARATOR : computeDomainSeparator();
}
function computeDomainSeparator() internal view virtual returns (bytes32) {
return
keccak256(
abi.encode(
keccak256("EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)"),
keccak256(bytes(name)),
keccak256("1"),
block.chainid,
address(this)
)
);
}
/*//////////////////////////////////////////////////////////////
INTERNAL MINT/BURN LOGIC
//////////////////////////////////////////////////////////////*/
function _mint(address to, uint256 amount) internal virtual {
totalSupply += amount;
// Cannot overflow because the sum of all user
// balances can't exceed the max uint256 value.
unchecked {
balanceOf[to] += amount;
}
emit Transfer(address(0), to, amount);
}
function _burn(address from, uint256 amount) internal virtual {
balanceOf[from] -= amount;
// Cannot underflow because a user's balance
// will never be larger than the total supply.
unchecked {
totalSupply -= amount;
}
emit Transfer(from, address(0), amount);
}
}
lib/v4-periphery/lib/v4-core/lib/solmate/src/utils/SafeTransferLib.sol
// SPDX-License-Identifier: AGPL-3.0-only
pragma solidity >=0.8.0;
import {ERC20} from "../tokens/ERC20.sol";
/// @notice Safe ETH and ERC20 transfer library that gracefully handles missing return values.
/// @author Solmate (https://github.com/transmissions11/solmate/blob/main/src/utils/SafeTransferLib.sol)
/// @dev Use with caution! Some functions in this library knowingly create dirty bits at the destination of the free memory pointer.
/// @dev Note that none of the functions in this library check that a token has code at all! That responsibility is delegated to the caller.
library SafeTransferLib {
/*//////////////////////////////////////////////////////////////
ETH OPERATIONS
//////////////////////////////////////////////////////////////*/
function safeTransferETH(address to, uint256 amount) internal {
bool success;
/// @solidity memory-safe-assembly
assembly {
// Transfer the ETH and store if it succeeded or not.
success := call(gas(), to, amount, 0, 0, 0, 0)
}
require(success, "ETH_TRANSFER_FAILED");
}
/*//////////////////////////////////////////////////////////////
ERC20 OPERATIONS
//////////////////////////////////////////////////////////////*/
function safeTransferFrom(
ERC20 token,
address from,
address to,
uint256 amount
) internal {
bool success;
/// @solidity memory-safe-assembly
assembly {
// Get a pointer to some free memory.
let freeMemoryPointer := mload(0x40)
// Write the abi-encoded calldata into memory, beginning with the function selector.
mstore(freeMemoryPointer, 0x23b872dd00000000000000000000000000000000000000000000000000000000)
mstore(add(freeMemoryPointer, 4), and(from, 0xffffffffffffffffffffffffffffffffffffffff)) // Append and mask the "from" argument.
mstore(add(freeMemoryPointer, 36), and(to, 0xffffffffffffffffffffffffffffffffffffffff)) // Append and mask the "to" argument.
mstore(add(freeMemoryPointer, 68), amount) // Append the "amount" argument. Masking not required as it's a full 32 byte type.
success := and(
// Set success to whether the call reverted, if not we check it either
// returned exactly 1 (can't just be non-zero data), or had no return data.
or(and(eq(mload(0), 1), gt(returndatasize(), 31)), iszero(returndatasize())),
// We use 100 because the length of our calldata totals up like so: 4 + 32 * 3.
// We use 0 and 32 to copy up to 32 bytes of return data into the scratch space.
// Counterintuitively, this call must be positioned second to the or() call in the
// surrounding and() call or else returndatasize() will be zero during the computation.
call(gas(), token, 0, freeMemoryPointer, 100, 0, 32)
)
}
require(success, "TRANSFER_FROM_FAILED");
}
function safeTransfer(
ERC20 token,
address to,
uint256 amount
) internal {
bool success;
/// @solidity memory-safe-assembly
assembly {
// Get a pointer to some free memory.
let freeMemoryPointer := mload(0x40)
// Write the abi-encoded calldata into memory, beginning with the function selector.
mstore(freeMemoryPointer, 0xa9059cbb00000000000000000000000000000000000000000000000000000000)
mstore(add(freeMemoryPointer, 4), and(to, 0xffffffffffffffffffffffffffffffffffffffff)) // Append and mask the "to" argument.
mstore(add(freeMemoryPointer, 36), amount) // Append the "amount" argument. Masking not required as it's a full 32 byte type.
success := and(
// Set success to whether the call reverted, if not we check it either
// returned exactly 1 (can't just be non-zero data), or had no return data.
or(and(eq(mload(0), 1), gt(returndatasize(), 31)), iszero(returndatasize())),
// We use 68 because the length of our calldata totals up like so: 4 + 32 * 2.
// We use 0 and 32 to copy up to 32 bytes of return data into the scratch space.
// Counterintuitively, this call must be positioned second to the or() call in the
// surrounding and() call or else returndatasize() will be zero during the computation.
call(gas(), token, 0, freeMemoryPointer, 68, 0, 32)
)
}
require(success, "TRANSFER_FAILED");
}
function safeApprove(
ERC20 token,
address to,
uint256 amount
) internal {
bool success;
/// @solidity memory-safe-assembly
assembly {
// Get a pointer to some free memory.
let freeMemoryPointer := mload(0x40)
// Write the abi-encoded calldata into memory, beginning with the function selector.
mstore(freeMemoryPointer, 0x095ea7b300000000000000000000000000000000000000000000000000000000)
mstore(add(freeMemoryPointer, 4), and(to, 0xffffffffffffffffffffffffffffffffffffffff)) // Append and mask the "to" argument.
mstore(add(freeMemoryPointer, 36), amount) // Append the "amount" argument. Masking not required as it's a full 32 byte type.
success := and(
// Set success to whether the call reverted, if not we check it either
// returned exactly 1 (can't just be non-zero data), or had no return data.
or(and(eq(mload(0), 1), gt(returndatasize(), 31)), iszero(returndatasize())),
// We use 68 because the length of our calldata totals up like so: 4 + 32 * 2.
// We use 0 and 32 to copy up to 32 bytes of return data into the scratch space.
// Counterintuitively, this call must be positioned second to the or() call in the
// surrounding and() call or else returndatasize() will be zero during the computation.
call(gas(), token, 0, freeMemoryPointer, 68, 0, 32)
)
}
require(success, "APPROVE_FAILED");
}
}
src/MoonbaseTypes.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.26;
/// A token's picture, description and links, stored in the token itself (see MoonbaseToken).
struct TokenInfo {
string image;
string description;
string twitter;
string telegram;
string website;
}
/// What a launch needs. `firstBuy` is in the pair asset (0 = none), paid by the caller.
struct LaunchParams {
string name;
string symbol;
string metadataURI;
address pairAsset;
uint16 creatorBps;
uint16 holderBps;
uint256 firstBuy;
uint256 minFirstBuyTokens;
TokenInfo info;
}
/// The factory surface shared by the Uniswap v4 (Base, Ethereum, Robinhood Chain) and PancakeSwap Infinity (BNB Chain)
/// versions, so one conversion contract (MoonbaseZap) works with both.
interface IMoonbaseFactory {
function launchFor(LaunchParams calldata p, address creator, uint256 deadline, bytes calldata signature) external payable returns (address);
function creatorOf(address token) external view returns (address);
function pairAssetOf(address token) external view returns (address);
}
interface IMoonbaseRouter {
function buy(address token, uint256 amountIn, uint256 minTokensOut, address to) external payable returns (uint256);
function sell(address token, uint256 amountIn, uint256 minOut, address to) external returns (uint256);
}
Compiler settingsShow
{
"viaIR": true,
"metadata": {
"appendCBOR": true,
"bytecodeHash": "none",
"useLiteralContent": false
},
"libraries": {},
"optimizer": {
"runs": 44444444,
"enabled": true
},
"evmVersion": "cancun",
"remappings": [
"@uniswap/v4-core/=lib/v4-periphery/lib/v4-core/",
"v4-core/=lib/v4-periphery/lib/v4-core/src/",
"v4-core-test/=lib/v4-periphery/lib/v4-core/test/",
"v4-periphery/=lib/v4-periphery/src/",
"v4-periphery-test/=lib/v4-periphery/test/",
"solmate/=lib/v4-periphery/lib/v4-core/lib/solmate/",
"forge-std/=lib/forge-std/src/",
"infinity-core/=lib/infinity-core/src/",
"@openzeppelin/contracts/=lib/infinity-core/lib/openzeppelin-contracts/contracts/",
"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-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-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/: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/:openzeppelin-contracts/=lib/infinity-core/lib/openzeppelin-contracts/",
"lib/infinity-core/:openzeppelin-contracts/=lib/infinity-core/lib/openzeppelin-contracts/",
"@ensdomains/=lib/v4-periphery/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-periphery/lib/v4-core/node_modules/hardhat/",
"openzeppelin-contracts/=lib/infinity-core/lib/openzeppelin-contracts/",
"pancake-create3-factory/=lib/infinity-core/lib/pancake-create3-factory/",
"permit2/=lib/v4-periphery/lib/permit2/"
]
}Source code and metadata: Sourcify.
The source code belongs to the authors of the contract.