Verified contractPartialAGPL-3.0
FlexExitRouter
Address0xff492abc3f45e482ad5c7af22e045cedca207f7a
- Balance
0 ETH
- Transactions
1
- Compiler
solc 0.8.30
- Same code
Only this contract
Details
- Compiler
- solc 0.8.30+commit.73712a01
- Language
- solidity
- Optimization
- No
- EVM version
- cancun
- License
- AGPL-3.0
- Match
- Partialcreation code: yes, runtime code: yes
- Verified on Sourcify
- Created in block
- 26,399,172
- Creation transaction
- 0x162ef23bd4…a0e697a775
17 files
- src/periphery/ExitRouter.solmain4.02 KB
- lib/openzeppelin-contracts/contracts/interfaces/IERC4626.sol12.18 KB
- lib/openzeppelin-contracts/contracts/token/ERC20/ERC20.sol12.85 KB
- lib/openzeppelin-contracts/contracts/token/ERC20/IERC20.sol2.74 KB
- lib/openzeppelin-contracts/contracts/token/ERC20/extensions/IERC20Metadata.sol683 B
- lib/openzeppelin-contracts/contracts/token/ERC20/extensions/IERC20Permit.sol3.8 KB
- lib/openzeppelin-contracts/contracts/utils/Context.sol962 B
- lib/tokenized-strategy-periphery/src/Bases/HealthCheck/IBaseHealthCheck.sol802 B
- lib/tokenized-strategy/src/interfaces/IBaseStrategy.sol899 B
- lib/tokenized-strategy/src/interfaces/IStrategy.sol237 B
- lib/tokenized-strategy/src/interfaces/ITokenizedStrategy.sol5.33 KB
- src/interfaces/IAllocatorVault.sol247 B
- src/interfaces/IAuction.sol672 B
- src/interfaces/IDutchDesk.sol280 B
- src/interfaces/ILender.sol1.63 KB
- src/interfaces/IStrategy.sol2.14 KB
- src/interfaces/ITroveManager.sol506 B
src/periphery/ExitRouter.sol
// SPDX-License-Identifier: AGPL-3.0
pragma solidity 0.8.30;
import {IAllocatorVault} from "../interfaces/IAllocatorVault.sol";
import {IStrategy} from "../interfaces/IStrategy.sol";
/// @title Flex Exit Router
/// @author Flex
/// @notice Entry point for exits that need a collateral redemption
contract FlexExitRouter {
// ============================================================================================
// Redeem
// ============================================================================================
/// @notice Redeem allocator vault shares, routing the strategies' withdrawals to the receiver
/// @dev The caller must first approve this router for `_shares` of `_vault`
/// @param _vault The allocator vault to redeem from
/// @param _shares The amount of vault shares to burn
/// @param _receiver The address to receive the withdrawal and any kicked auction's proceeds
/// @param _maxLoss Acceptable loss in basis points
/// @param _minCollateralOut Minimum amount of collateral auctioned by each strategy's redemption
/// @param _strategies The strategies to set the receiver on
/// @return _assets The amount of asset delivered by the vault
function redeem(
address _vault,
uint256 _shares,
address _receiver,
uint256 _maxLoss,
uint256[] calldata _minCollateralOut,
IStrategy[] calldata _strategies
) external returns (uint256 _assets) {
// Cache the next auction ids, in case the redemption kicks any
uint256[] memory _nextAuctionIds = _getNextAuctionIds(_strategies);
// Set the receiver. The strategies reject a vault they are not allowed to be held by
_setProceedsReceiver(_strategies, _receiver, _vault);
// Redeem the shares from the vault
_assets = IAllocatorVault(_vault).redeem(_shares, _receiver, msg.sender, _maxLoss);
// Clear the receiver
_setProceedsReceiver(_strategies, address(0), _vault);
// Make sure each redemption auctioned at least the minimum collateral requested
_checkMinCollateralOut(_strategies, _nextAuctionIds, _minCollateralOut);
}
// ============================================================================================
// Internal view functions
// ============================================================================================
/// @dev Get the next auction id of every given strategy
function _getNextAuctionIds(
IStrategy[] calldata _strategies
) internal view returns (uint256[] memory _nextAuctionIds) {
_nextAuctionIds = new uint256[](_strategies.length);
for (uint256 i; i < _strategies.length; ++i) {
_nextAuctionIds[i] = _strategies[i].DUTCH_DESK().nonce();
}
}
/// @dev Check every given strategy's kicked auction, if any, against its minimum collateral
function _checkMinCollateralOut(
IStrategy[] calldata _strategies,
uint256[] memory _nextAuctionIds,
uint256[] calldata _minCollateralOut
) internal view {
for (uint256 i; i < _strategies.length; ++i) {
require(
_strategies[i].DUTCH_DESK().nonce() == _nextAuctionIds[i]
|| _strategies[i].AUCTION().auctions(_nextAuctionIds[i]).initial_amount >= _minCollateralOut[i],
"!collateral"
);
}
}
// ============================================================================================
// Internal mutative functions
// ============================================================================================
/// @dev Set the proceeds receiver on every given strategy
function _setProceedsReceiver(
IStrategy[] calldata _strategies,
address _receiver,
address _vault
) internal {
for (uint256 i; i < _strategies.length; ++i) {
_strategies[i].setProceedsReceiver(_receiver, _vault);
}
}
}
lib/openzeppelin-contracts/contracts/interfaces/IERC4626.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (interfaces/IERC4626.sol)
pragma solidity ^0.8.0;
import "../token/ERC20/IERC20.sol";
import "../token/ERC20/extensions/IERC20Metadata.sol";
/**
* @dev Interface of the ERC4626 "Tokenized Vault Standard", as defined in
* https://eips.ethereum.org/EIPS/eip-4626[ERC-4626].
*
* _Available since v4.7._
*/
interface IERC4626 is IERC20, IERC20Metadata {
event Deposit(address indexed sender, address indexed owner, uint256 assets, uint256 shares);
event Withdraw(
address indexed sender,
address indexed receiver,
address indexed owner,
uint256 assets,
uint256 shares
);
/**
* @dev Returns the address of the underlying token used for the Vault for accounting, depositing, and withdrawing.
*
* - MUST be an ERC-20 token contract.
* - MUST NOT revert.
*/
function asset() external view returns (address assetTokenAddress);
/**
* @dev Returns the total amount of the underlying asset that is “managed” by Vault.
*
* - SHOULD include any compounding that occurs from yield.
* - MUST be inclusive of any fees that are charged against assets in the Vault.
* - MUST NOT revert.
*/
function totalAssets() external view returns (uint256 totalManagedAssets);
/**
* @dev Returns the amount of shares that the Vault would exchange for the amount of assets provided, in an ideal
* scenario where all the conditions are met.
*
* - MUST NOT be inclusive of any fees that are charged against assets in the Vault.
* - MUST NOT show any variations depending on the caller.
* - MUST NOT reflect slippage or other on-chain conditions, when performing the actual exchange.
* - MUST NOT revert.
*
* NOTE: This calculation MAY NOT reflect the “per-user” price-per-share, and instead should reflect the
* “average-user’s” price-per-share, meaning what the average user should expect to see when exchanging to and
* from.
*/
function convertToShares(uint256 assets) external view returns (uint256 shares);
/**
* @dev Returns the amount of assets that the Vault would exchange for the amount of shares provided, in an ideal
* scenario where all the conditions are met.
*
* - MUST NOT be inclusive of any fees that are charged against assets in the Vault.
* - MUST NOT show any variations depending on the caller.
* - MUST NOT reflect slippage or other on-chain conditions, when performing the actual exchange.
* - MUST NOT revert.
*
* NOTE: This calculation MAY NOT reflect the “per-user” price-per-share, and instead should reflect the
* “average-user’s” price-per-share, meaning what the average user should expect to see when exchanging to and
* from.
*/
function convertToAssets(uint256 shares) external view returns (uint256 assets);
/**
* @dev Returns the maximum amount of the underlying asset that can be deposited into the Vault for the receiver,
* through a deposit call.
*
* - MUST return a limited value if receiver is subject to some deposit limit.
* - MUST return 2 ** 256 - 1 if there is no limit on the maximum amount of assets that may be deposited.
* - MUST NOT revert.
*/
function maxDeposit(address receiver) external view returns (uint256 maxAssets);
/**
* @dev Allows an on-chain or off-chain user to simulate the effects of their deposit at the current block, given
* current on-chain conditions.
*
* - MUST return as close to and no more than the exact amount of Vault shares that would be minted in a deposit
* call in the same transaction. I.e. deposit should return the same or more shares as previewDeposit if called
* in the same transaction.
* - MUST NOT account for deposit limits like those returned from maxDeposit and should always act as though the
* deposit would be accepted, regardless if the user has enough tokens approved, etc.
* - MUST be inclusive of deposit fees. Integrators should be aware of the existence of deposit fees.
* - MUST NOT revert.
*
* NOTE: any unfavorable discrepancy between convertToShares and previewDeposit SHOULD be considered slippage in
* share price or some other type of condition, meaning the depositor will lose assets by depositing.
*/
function previewDeposit(uint256 assets) external view returns (uint256 shares);
/**
* @dev Mints shares Vault shares to receiver by depositing exactly amount of underlying tokens.
*
* - MUST emit the Deposit event.
* - MAY support an additional flow in which the underlying tokens are owned by the Vault contract before the
* deposit execution, and are accounted for during deposit.
* - MUST revert if all of assets cannot be deposited (due to deposit limit being reached, slippage, the user not
* approving enough underlying tokens to the Vault contract, etc).
*
* NOTE: most implementations will require pre-approval of the Vault with the Vault’s underlying asset token.
*/
function deposit(uint256 assets, address receiver) external returns (uint256 shares);
/**
* @dev Returns the maximum amount of the Vault shares that can be minted for the receiver, through a mint call.
* - MUST return a limited value if receiver is subject to some mint limit.
* - MUST return 2 ** 256 - 1 if there is no limit on the maximum amount of shares that may be minted.
* - MUST NOT revert.
*/
function maxMint(address receiver) external view returns (uint256 maxShares);
/**
* @dev Allows an on-chain or off-chain user to simulate the effects of their mint at the current block, given
* current on-chain conditions.
*
* - MUST return as close to and no fewer than the exact amount of assets that would be deposited in a mint call
* in the same transaction. I.e. mint should return the same or fewer assets as previewMint if called in the
* same transaction.
* - MUST NOT account for mint limits like those returned from maxMint and should always act as though the mint
* would be accepted, regardless if the user has enough tokens approved, etc.
* - MUST be inclusive of deposit fees. Integrators should be aware of the existence of deposit fees.
* - MUST NOT revert.
*
* NOTE: any unfavorable discrepancy between convertToAssets and previewMint SHOULD be considered slippage in
* share price or some other type of condition, meaning the depositor will lose assets by minting.
*/
function previewMint(uint256 shares) external view returns (uint256 assets);
/**
* @dev Mints exactly shares Vault shares to receiver by depositing amount of underlying tokens.
*
* - MUST emit the Deposit event.
* - MAY support an additional flow in which the underlying tokens are owned by the Vault contract before the mint
* execution, and are accounted for during mint.
* - MUST revert if all of shares cannot be minted (due to deposit limit being reached, slippage, the user not
* approving enough underlying tokens to the Vault contract, etc).
*
* NOTE: most implementations will require pre-approval of the Vault with the Vault’s underlying asset token.
*/
function mint(uint256 shares, address receiver) external returns (uint256 assets);
/**
* @dev Returns the maximum amount of the underlying asset that can be withdrawn from the owner balance in the
* Vault, through a withdraw call.
*
* - MUST return a limited value if owner is subject to some withdrawal limit or timelock.
* - MUST NOT revert.
*/
function maxWithdraw(address owner) external view returns (uint256 maxAssets);
/**
* @dev Allows an on-chain or off-chain user to simulate the effects of their withdrawal at the current block,
* given current on-chain conditions.
*
* - MUST return as close to and no fewer than the exact amount of Vault shares that would be burned in a withdraw
* call in the same transaction. I.e. withdraw should return the same or fewer shares as previewWithdraw if
* called
* in the same transaction.
* - MUST NOT account for withdrawal limits like those returned from maxWithdraw and should always act as though
* the withdrawal would be accepted, regardless if the user has enough shares, etc.
* - MUST be inclusive of withdrawal fees. Integrators should be aware of the existence of withdrawal fees.
* - MUST NOT revert.
*
* NOTE: any unfavorable discrepancy between convertToShares and previewWithdraw SHOULD be considered slippage in
* share price or some other type of condition, meaning the depositor will lose assets by depositing.
*/
function previewWithdraw(uint256 assets) external view returns (uint256 shares);
/**
* @dev Burns shares from owner and sends exactly assets of underlying tokens to receiver.
*
* - MUST emit the Withdraw event.
* - MAY support an additional flow in which the underlying tokens are owned by the Vault contract before the
* withdraw execution, and are accounted for during withdraw.
* - MUST revert if all of assets cannot be withdrawn (due to withdrawal limit being reached, slippage, the owner
* not having enough shares, etc).
*
* Note that some implementations will require pre-requesting to the Vault before a withdrawal may be performed.
* Those methods should be performed separately.
*/
function withdraw(uint256 assets, address receiver, address owner) external returns (uint256 shares);
/**
* @dev Returns the maximum amount of Vault shares that can be redeemed from the owner balance in the Vault,
* through a redeem call.
*
* - MUST return a limited value if owner is subject to some withdrawal limit or timelock.
* - MUST return balanceOf(owner) if owner is not subject to any withdrawal limit or timelock.
* - MUST NOT revert.
*/
function maxRedeem(address owner) external view returns (uint256 maxShares);
/**
* @dev Allows an on-chain or off-chain user to simulate the effects of their redeemption at the current block,
* given current on-chain conditions.
*
* - MUST return as close to and no more than the exact amount of assets that would be withdrawn in a redeem call
* in the same transaction. I.e. redeem should return the same or more assets as previewRedeem if called in the
* same transaction.
* - MUST NOT account for redemption limits like those returned from maxRedeem and should always act as though the
* redemption would be accepted, regardless if the user has enough shares, etc.
* - MUST be inclusive of withdrawal fees. Integrators should be aware of the existence of withdrawal fees.
* - MUST NOT revert.
*
* NOTE: any unfavorable discrepancy between convertToAssets and previewRedeem SHOULD be considered slippage in
* share price or some other type of condition, meaning the depositor will lose assets by redeeming.
*/
function previewRedeem(uint256 shares) external view returns (uint256 assets);
/**
* @dev Burns exactly shares from owner and sends assets of underlying tokens to receiver.
*
* - MUST emit the Withdraw event.
* - MAY support an additional flow in which the underlying tokens are owned by the Vault contract before the
* redeem execution, and are accounted for during redeem.
* - MUST revert if all of shares cannot be redeemed (due to withdrawal limit being reached, slippage, the owner
* not having enough shares, etc).
*
* NOTE: some implementations will require pre-requesting to the Vault before a withdrawal may be performed.
* Those methods should be performed separately.
*/
function redeem(uint256 shares, address receiver, address owner) external returns (uint256 assets);
}
lib/openzeppelin-contracts/contracts/token/ERC20/ERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/ERC20.sol)
pragma solidity ^0.8.0;
import "./IERC20.sol";
import "./extensions/IERC20Metadata.sol";
import "../../utils/Context.sol";
/**
* @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}.
* For a generic mechanism see {ERC20PresetMinterPauser}.
*
* 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.
*
* Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
* functions have been added to mitigate the well-known issues around setting
* allowances. See {IERC20-approve}.
*/
contract ERC20 is Context, IERC20, IERC20Metadata {
mapping(address => uint256) private _balances;
mapping(address => mapping(address => 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 override returns (string memory) {
return _name;
}
/**
* @dev Returns the symbol of the token, usually a shorter version of the
* name.
*/
function symbol() public view virtual override 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 override returns (uint8) {
return 18;
}
/**
* @dev See {IERC20-totalSupply}.
*/
function totalSupply() public view virtual override returns (uint256) {
return _totalSupply;
}
/**
* @dev See {IERC20-balanceOf}.
*/
function balanceOf(address account) public view virtual override 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 `amount`.
*/
function transfer(address to, uint256 amount) public virtual override returns (bool) {
address owner = _msgSender();
_transfer(owner, to, amount);
return true;
}
/**
* @dev See {IERC20-allowance}.
*/
function allowance(address owner, address spender) public view virtual override returns (uint256) {
return _allowances[owner][spender];
}
/**
* @dev See {IERC20-approve}.
*
* NOTE: If `amount` 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 amount) public virtual override returns (bool) {
address owner = _msgSender();
_approve(owner, spender, amount);
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 `amount`.
* - the caller must have allowance for ``from``'s tokens of at least
* `amount`.
*/
function transferFrom(address from, address to, uint256 amount) public virtual override returns (bool) {
address spender = _msgSender();
_spendAllowance(from, spender, amount);
_transfer(from, to, amount);
return true;
}
/**
* @dev Atomically increases the allowance granted to `spender` by the caller.
*
* This is an alternative to {approve} that can be used as a mitigation for
* problems described in {IERC20-approve}.
*
* Emits an {Approval} event indicating the updated allowance.
*
* Requirements:
*
* - `spender` cannot be the zero address.
*/
function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
address owner = _msgSender();
_approve(owner, spender, allowance(owner, spender) + addedValue);
return true;
}
/**
* @dev Atomically decreases the allowance granted to `spender` by the caller.
*
* This is an alternative to {approve} that can be used as a mitigation for
* problems described in {IERC20-approve}.
*
* Emits an {Approval} event indicating the updated allowance.
*
* Requirements:
*
* - `spender` cannot be the zero address.
* - `spender` must have allowance for the caller of at least
* `subtractedValue`.
*/
function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
address owner = _msgSender();
uint256 currentAllowance = allowance(owner, spender);
require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
unchecked {
_approve(owner, spender, currentAllowance - subtractedValue);
}
return true;
}
/**
* @dev Moves `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.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `from` must have a balance of at least `amount`.
*/
function _transfer(address from, address to, uint256 amount) internal virtual {
require(from != address(0), "ERC20: transfer from the zero address");
require(to != address(0), "ERC20: transfer to the zero address");
_beforeTokenTransfer(from, to, amount);
uint256 fromBalance = _balances[from];
require(fromBalance >= amount, "ERC20: transfer amount exceeds balance");
unchecked {
_balances[from] = fromBalance - amount;
// Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by
// decrementing then incrementing.
_balances[to] += amount;
}
emit Transfer(from, to, amount);
_afterTokenTransfer(from, to, amount);
}
/** @dev Creates `amount` tokens and assigns them to `account`, increasing
* the total supply.
*
* Emits a {Transfer} event with `from` set to the zero address.
*
* Requirements:
*
* - `account` cannot be the zero address.
*/
function _mint(address account, uint256 amount) internal virtual {
require(account != address(0), "ERC20: mint to the zero address");
_beforeTokenTransfer(address(0), account, amount);
_totalSupply += amount;
unchecked {
// Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above.
_balances[account] += amount;
}
emit Transfer(address(0), account, amount);
_afterTokenTransfer(address(0), account, amount);
}
/**
* @dev Destroys `amount` tokens from `account`, reducing the
* total supply.
*
* Emits a {Transfer} event with `to` set to the zero address.
*
* Requirements:
*
* - `account` cannot be the zero address.
* - `account` must have at least `amount` tokens.
*/
function _burn(address account, uint256 amount) internal virtual {
require(account != address(0), "ERC20: burn from the zero address");
_beforeTokenTransfer(account, address(0), amount);
uint256 accountBalance = _balances[account];
require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
unchecked {
_balances[account] = accountBalance - amount;
// Overflow not possible: amount <= accountBalance <= totalSupply.
_totalSupply -= amount;
}
emit Transfer(account, address(0), amount);
_afterTokenTransfer(account, address(0), amount);
}
/**
* @dev Sets `amount` 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.
*/
function _approve(address owner, address spender, uint256 amount) internal virtual {
require(owner != address(0), "ERC20: approve from the zero address");
require(spender != address(0), "ERC20: approve to the zero address");
_allowances[owner][spender] = amount;
emit Approval(owner, spender, amount);
}
/**
* @dev Updates `owner` s allowance for `spender` based on spent `amount`.
*
* Does not update the allowance amount in case of infinite allowance.
* Revert if not enough allowance is available.
*
* Might emit an {Approval} event.
*/
function _spendAllowance(address owner, address spender, uint256 amount) internal virtual {
uint256 currentAllowance = allowance(owner, spender);
if (currentAllowance != type(uint256).max) {
require(currentAllowance >= amount, "ERC20: insufficient allowance");
unchecked {
_approve(owner, spender, currentAllowance - amount);
}
}
}
/**
* @dev Hook that is called before any transfer of tokens. This includes
* minting and burning.
*
* Calling conditions:
*
* - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
* will be transferred to `to`.
* - when `from` is zero, `amount` tokens will be minted for `to`.
* - when `to` is zero, `amount` of ``from``'s tokens will be burned.
* - `from` and `to` are never both zero.
*
* To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
*/
function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual {}
/**
* @dev Hook that is called after any transfer of tokens. This includes
* minting and burning.
*
* Calling conditions:
*
* - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
* has been transferred to `to`.
* - when `from` is zero, `amount` tokens have been minted for `to`.
* - when `to` is zero, `amount` of ``from``'s tokens have been burned.
* - `from` and `to` are never both zero.
*
* To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
*/
function _afterTokenTransfer(address from, address to, uint256 amount) internal virtual {}
}
lib/openzeppelin-contracts/contracts/token/ERC20/IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/IERC20.sol)
pragma solidity ^0.8.0;
/**
* @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 amount of tokens in existence.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns the amount of tokens owned by `account`.
*/
function balanceOf(address account) external view returns (uint256);
/**
* @dev Moves `amount` 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 amount) 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 `amount` 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 amount) external returns (bool);
/**
* @dev Moves `amount` tokens from `from` to `to` using the
* allowance mechanism. `amount` 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 amount) external returns (bool);
}
lib/openzeppelin-contracts/contracts/token/ERC20/extensions/IERC20Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)
pragma solidity ^0.8.0;
import "../IERC20.sol";
/**
* @dev Interface for the optional metadata functions from the ERC20 standard.
*
* _Available since v4.1._
*/
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);
}
lib/openzeppelin-contracts/contracts/token/ERC20/extensions/IERC20Permit.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.4) (token/ERC20/extensions/IERC20Permit.sol)
pragma solidity ^0.8.0;
/**
* @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);
}
lib/openzeppelin-contracts/contracts/utils/Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.4) (utils/Context.sol)
pragma solidity ^0.8.0;
/**
* @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;
}
}
lib/tokenized-strategy-periphery/src/Bases/HealthCheck/IBaseHealthCheck.sol
// SPDX-License-Identifier: AGPL-3.0
pragma solidity >=0.8.18;
import {IStrategy} from "@tokenized-strategy/interfaces/IStrategy.sol";
interface IBaseHealthCheck is IStrategy {
function doHealthCheck() external view returns (bool);
function open() external view returns (bool);
function allowed(address) external view returns (bool);
function profitLimitRatio() external view returns (uint256);
function lossLimitRatio() external view returns (uint256);
function setOpen(bool _open) external;
function setAllowed(address _depositor, bool _allowed) external;
function setProfitLimitRatio(uint256 _newProfitLimitRatio) external;
function setLossLimitRatio(uint256 _newLossLimitRatio) external;
function setDoHealthCheck(bool _doHealthCheck) external;
}
lib/tokenized-strategy/src/interfaces/IBaseStrategy.sol
// SPDX-License-Identifier: AGPL-3.0
pragma solidity >=0.8.18;
interface IBaseStrategy {
function tokenizedStrategyAddress() external view returns (address);
/*//////////////////////////////////////////////////////////////
IMMUTABLE FUNCTIONS
//////////////////////////////////////////////////////////////*/
function availableDepositLimit(
address _owner
) external view returns (uint256);
function availableWithdrawLimit(
address _owner
) external view returns (uint256);
function deployFunds(uint256 _assets) external;
function freeFunds(uint256 _amount) external;
function harvestAndReport() external returns (uint256);
function tendThis(uint256 _totalIdle) external;
function shutdownWithdraw(uint256 _amount) external;
function tendTrigger() external view returns (bool, bytes memory);
}
lib/tokenized-strategy/src/interfaces/IStrategy.sol
// SPDX-License-Identifier: AGPL-3.0
pragma solidity >=0.8.18;
import {ITokenizedStrategy} from "./ITokenizedStrategy.sol";
import {IBaseStrategy} from "./IBaseStrategy.sol";
interface IStrategy is IBaseStrategy, ITokenizedStrategy {}
lib/tokenized-strategy/src/interfaces/ITokenizedStrategy.sol
// SPDX-License-Identifier: AGPL-3.0
pragma solidity >=0.8.18;
import {ERC20} from "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import {IERC4626} from "@openzeppelin/contracts/interfaces/IERC4626.sol";
import {IERC20Permit} from "@openzeppelin/contracts/token/ERC20/extensions/IERC20Permit.sol";
// Interface that implements the 4626 standard and the implementation functions
interface ITokenizedStrategy is IERC4626, IERC20Permit {
/*//////////////////////////////////////////////////////////////
EVENTS
//////////////////////////////////////////////////////////////*/
event StrategyShutdown();
event NewTokenizedStrategy(
address indexed strategy,
address indexed asset,
string apiVersion
);
event Reported(
uint256 profit,
uint256 loss,
uint256 protocolFees,
uint256 performanceFees
);
event UpdatePerformanceFeeRecipient(
address indexed newPerformanceFeeRecipient
);
event UpdateKeeper(address indexed newKeeper);
event UpdatePerformanceFee(uint16 newPerformanceFee);
event UpdateManagement(address indexed newManagement);
event UpdateEmergencyAdmin(address indexed newEmergencyAdmin);
event UpdateProfitMaxUnlockTime(uint256 newProfitMaxUnlockTime);
event UpdatePendingManagement(address indexed newPendingManagement);
/*//////////////////////////////////////////////////////////////
INITIALIZATION
//////////////////////////////////////////////////////////////*/
function initialize(
address _asset,
string memory _name,
address _management,
address _performanceFeeRecipient,
address _keeper
) external;
/*//////////////////////////////////////////////////////////////
NON-STANDARD 4626 OPTIONS
//////////////////////////////////////////////////////////////*/
function withdraw(
uint256 assets,
address receiver,
address owner,
uint256 maxLoss
) external returns (uint256);
function redeem(
uint256 shares,
address receiver,
address owner,
uint256 maxLoss
) external returns (uint256);
function maxWithdraw(
address owner,
uint256 /*maxLoss*/
) external view returns (uint256);
function maxRedeem(
address owner,
uint256 /*maxLoss*/
) external view returns (uint256);
/*//////////////////////////////////////////////////////////////
MODIFIER HELPERS
//////////////////////////////////////////////////////////////*/
function requireManagement(address _sender) external view;
function requireKeeperOrManagement(address _sender) external view;
function requireEmergencyAuthorized(address _sender) external view;
/*//////////////////////////////////////////////////////////////
KEEPERS FUNCTIONS
//////////////////////////////////////////////////////////////*/
function tend() external;
function report() external returns (uint256 _profit, uint256 _loss);
/*//////////////////////////////////////////////////////////////
CONSTANTS
//////////////////////////////////////////////////////////////*/
function MAX_FEE() external view returns (uint16);
function FACTORY() external view returns (address);
/*//////////////////////////////////////////////////////////////
GETTERS
//////////////////////////////////////////////////////////////*/
function apiVersion() external view returns (string memory);
function pricePerShare() external view returns (uint256);
function management() external view returns (address);
function pendingManagement() external view returns (address);
function keeper() external view returns (address);
function emergencyAdmin() external view returns (address);
function performanceFee() external view returns (uint16);
function performanceFeeRecipient() external view returns (address);
function fullProfitUnlockDate() external view returns (uint256);
function profitUnlockingRate() external view returns (uint256);
function profitMaxUnlockTime() external view returns (uint256);
function lastReport() external view returns (uint256);
function isShutdown() external view returns (bool);
function unlockedShares() external view returns (uint256);
/*//////////////////////////////////////////////////////////////
SETTERS
//////////////////////////////////////////////////////////////*/
function setPendingManagement(address) external;
function acceptManagement() external;
function setKeeper(address _keeper) external;
function setEmergencyAdmin(address _emergencyAdmin) external;
function setPerformanceFee(uint16 _performanceFee) external;
function setPerformanceFeeRecipient(
address _performanceFeeRecipient
) external;
function setProfitMaxUnlockTime(uint256 _profitMaxUnlockTime) external;
function setName(string calldata _newName) external;
function shutdownStrategy() external;
function emergencyWithdraw(uint256 _amount) external;
}
src/interfaces/IAllocatorVault.sol
// SPDX-License-Identifier: AGPL-3.0
pragma solidity 0.8.30;
interface IAllocatorVault {
function redeem(
uint256 shares,
address receiver,
address owner,
uint256 max_loss
) external returns (uint256);
}
src/interfaces/IAuction.sol
// SPDX-License-Identifier: AGPL-3.0
pragma solidity 0.8.30;
interface IAuction {
struct AuctionInfo {
uint256 kick_timestamp;
uint256 initial_amount;
uint256 current_amount;
uint256 maximum_amount;
uint256 amount_received;
uint256 starting_price;
uint256 minimum_price;
address receiver;
address surplus_receiver;
}
function auctions(
uint256 auction_id
) external view returns (AuctionInfo memory);
function is_active(
uint256 auction_id
) external view returns (bool);
function take(
uint256 auction_id
) external returns (uint256);
}
src/interfaces/IDutchDesk.sol
// SPDX-License-Identifier: AGPL-3.0
pragma solidity 0.8.30;
interface IDutchDesk {
function auction() external view returns (address);
function nonce() external view returns (uint256);
function starting_price_buffer_percentage() external view returns (uint256);
}
src/interfaces/ILender.sol
// SPDX-License-Identifier: AGPL-3.0
pragma solidity 0.8.30;
import {IBaseHealthCheck} from "@periphery/Bases/HealthCheck/IBaseHealthCheck.sol";
import {ITroveManager} from "./ITroveManager.sol";
interface ILender is IBaseHealthCheck {
// ============================================================================================
// Constants
// ============================================================================================
function TROVE_MANAGER() external view returns (ITroveManager);
// ============================================================================================
// Storage
// ============================================================================================
function depositLimit() external view returns (uint256);
// ============================================================================================
// Management functions
// ============================================================================================
function setKeeper(
address _keeper
) external;
function setPendingManagement(
address _management
) external;
function setPerformanceFeeRecipient(
address _performanceFeeRecipient
) external;
function setDepositLimit(
uint256 _depositLimit
) external;
// ============================================================================================
// Disable health check
// ============================================================================================
function disableHealthCheck() external;
}
src/interfaces/IStrategy.sol
// SPDX-License-Identifier: AGPL-3.0
pragma solidity 0.8.30;
import {IBaseHealthCheck} from "@periphery/Bases/HealthCheck/IBaseHealthCheck.sol";
import {IAuction} from "../interfaces/IAuction.sol";
import {IDutchDesk} from "../interfaces/IDutchDesk.sol";
import {ILender} from "../interfaces/ILender.sol";
interface IStrategy is IBaseHealthCheck {
// ============================================================================================
// Constants
// ============================================================================================
function LENDER() external view returns (ILender);
function EXIT_ROUTER() external view returns (address);
function DUTCH_DESK() external view returns (IDutchDesk);
function AUCTION() external view returns (IAuction);
// ============================================================================================
// Storage
// ============================================================================================
function pendingAuctionId() external view returns (uint256);
// ============================================================================================
// Management functions
// ============================================================================================
function setKeeper(
address _keeper
) external;
function setPendingManagement(
address _management
) external;
function setPerformanceFeeRecipient(
address _performanceFeeRecipient
) external;
function forceFreeFunds(
uint256 _amount,
uint256 _minBorrowOut,
uint256 _minCollateralOut
) external returns (uint256);
function deployIdleFunds(
uint256 _amount
) external returns (uint256);
// ============================================================================================
// Proceeds receiver
// ============================================================================================
function setProceedsReceiver(
address _receiver,
address _vault
) external;
}
src/interfaces/ITroveManager.sol
// SPDX-License-Identifier: AGPL-3.0
pragma solidity 0.8.30;
interface ITroveManager {
function total_weighted_debt() external view returns (uint256);
function unclaimed_protocol_fees() external view returns (uint256);
function dutch_desk() external view returns (address);
function collateral_token() external view returns (address);
function sync_total_debt() external returns (uint256);
function redeem(
uint256 debt_amount,
address receiver
) external;
}
Compiler settingsShow
{
"viaIR": false,
"metadata": {
"appendCBOR": true,
"bytecodeHash": "ipfs",
"useLiteralContent": false
},
"libraries": {},
"optimizer": {
"runs": 200,
"enabled": false
},
"evmVersion": "cancun",
"remappings": [
"@openzeppelin/=lib/openzeppelin-contracts/",
"forge-std/=lib/forge-std/src/",
"@tokenized-strategy/=lib/tokenized-strategy/src/",
"@periphery/=lib/tokenized-strategy-periphery/src/",
"lib/flex-contracts/lib/snekmate/lib/murky/lib/openzeppelin-contracts/lib/forge-std/:ds-test/=lib/flex-contracts/lib/snekmate/lib/murky/lib/openzeppelin-contracts/lib/forge-std/lib/ds-test/src/",
"lib/flex-contracts/lib/snekmate/lib/murky/lib/openzeppelin-contracts/lib/forge-std/:ds-test/=lib/flex-contracts/lib/snekmate/lib/murky/lib/openzeppelin-contracts/lib/forge-std/lib/ds-test/src/",
"lib/flex-contracts/lib/snekmate/lib/properties/lib/openzeppelin-contracts/lib/forge-std/:ds-test/=lib/flex-contracts/lib/snekmate/lib/properties/lib/openzeppelin-contracts/lib/forge-std/lib/ds-test/src/",
"lib/flex-contracts/lib/snekmate/lib/properties/lib/openzeppelin-contracts/lib/forge-std/:ds-test/=lib/flex-contracts/lib/snekmate/lib/properties/lib/openzeppelin-contracts/lib/forge-std/lib/ds-test/src/",
"lib/flex-contracts/lib/tokenized-strategy-periphery/lib/tokenized-strategy/lib/openzeppelin-contracts/lib/forge-std/:ds-test/=lib/flex-contracts/lib/tokenized-strategy-periphery/lib/tokenized-strategy/lib/openzeppelin-contracts/lib/forge-std/lib/ds-test/src/",
"lib/flex-contracts/lib/tokenized-strategy-periphery/lib/tokenized-strategy/lib/openzeppelin-contracts/lib/forge-std/:ds-test/=lib/flex-contracts/lib/tokenized-strategy-periphery/lib/tokenized-strategy/lib/openzeppelin-contracts/lib/forge-std/lib/ds-test/src/",
"lib/tokenized-strategy-periphery/lib/yearn-vaults-v3/lib/tokenized-strategy/lib/openzeppelin-contracts/lib/forge-std/:ds-test/=lib/tokenized-strategy-periphery/lib/yearn-vaults-v3/lib/tokenized-strategy/lib/openzeppelin-contracts/lib/forge-std/lib/ds-test/src/",
"lib/tokenized-strategy-periphery/lib/yearn-vaults-v3/lib/tokenized-strategy/lib/openzeppelin-contracts/lib/forge-std/:ds-test/=lib/tokenized-strategy-periphery/lib/yearn-vaults-v3/lib/tokenized-strategy/lib/openzeppelin-contracts/lib/forge-std/lib/ds-test/src/",
"lib/flex-contracts/lib/snekmate/lib/murky/lib/openzeppelin-contracts/:erc4626-tests/=lib/flex-contracts/lib/snekmate/lib/murky/lib/openzeppelin-contracts/lib/erc4626-tests/",
"lib/flex-contracts/lib/snekmate/lib/murky/lib/openzeppelin-contracts/:erc4626-tests/=lib/flex-contracts/lib/snekmate/lib/murky/lib/openzeppelin-contracts/lib/erc4626-tests/",
"lib/flex-contracts/lib/snekmate/lib/properties/lib/forge-std/:ds-test/=lib/flex-contracts/lib/snekmate/lib/properties/lib/forge-std/lib/ds-test/src/",
"lib/flex-contracts/lib/snekmate/lib/properties/lib/forge-std/:ds-test/=lib/flex-contracts/lib/snekmate/lib/properties/lib/forge-std/lib/ds-test/src/",
"lib/flex-contracts/lib/snekmate/lib/properties/lib/openzeppelin-contracts/:erc4626-tests/=lib/flex-contracts/lib/snekmate/lib/properties/lib/openzeppelin-contracts/lib/erc4626-tests/",
"lib/flex-contracts/lib/snekmate/lib/properties/lib/openzeppelin-contracts/:erc4626-tests/=lib/flex-contracts/lib/snekmate/lib/properties/lib/openzeppelin-contracts/lib/erc4626-tests/",
"lib/flex-contracts/lib/snekmate/lib/properties/lib/solmate/:ds-test/=lib/flex-contracts/lib/snekmate/lib/properties/lib/solmate/lib/ds-test/src/",
"lib/flex-contracts/lib/snekmate/lib/properties/lib/solmate/:ds-test/=lib/flex-contracts/lib/snekmate/lib/properties/lib/solmate/lib/ds-test/src/",
"lib/flex-contracts/lib/snekmate/lib/solidity-bytes-utils/lib/forge-std/:ds-test/=lib/flex-contracts/lib/snekmate/lib/solidity-bytes-utils/lib/forge-std/lib/ds-test/src/",
"lib/flex-contracts/lib/snekmate/lib/solidity-bytes-utils/lib/forge-std/:ds-test/=lib/flex-contracts/lib/snekmate/lib/solidity-bytes-utils/lib/forge-std/lib/ds-test/src/",
"lib/flex-contracts/lib/tokenized-strategy-periphery/lib/openzeppelin-contracts/lib/forge-std/:ds-test/=lib/flex-contracts/lib/tokenized-strategy-periphery/lib/openzeppelin-contracts/lib/forge-std/lib/ds-test/src/",
"lib/flex-contracts/lib/tokenized-strategy-periphery/lib/openzeppelin-contracts/lib/forge-std/:ds-test/=lib/flex-contracts/lib/tokenized-strategy-periphery/lib/openzeppelin-contracts/lib/forge-std/lib/ds-test/src/",
"lib/flex-contracts/lib/tokenized-strategy-periphery/lib/tokenized-strategy/lib/forge-std/:ds-test/=lib/flex-contracts/lib/tokenized-strategy-periphery/lib/tokenized-strategy/lib/forge-std/lib/ds-test/src/",
"lib/flex-contracts/lib/tokenized-strategy-periphery/lib/tokenized-strategy/lib/forge-std/:ds-test/=lib/flex-contracts/lib/tokenized-strategy-periphery/lib/tokenized-strategy/lib/forge-std/lib/ds-test/src/",
"lib/flex-contracts/lib/tokenized-strategy-periphery/lib/tokenized-strategy/lib/openzeppelin-contracts/:erc4626-tests/=lib/flex-contracts/lib/tokenized-strategy-periphery/lib/tokenized-strategy/lib/openzeppelin-contracts/lib/erc4626-tests/",
"lib/flex-contracts/lib/tokenized-strategy-periphery/lib/tokenized-strategy/lib/openzeppelin-contracts/:erc4626-tests/=lib/flex-contracts/lib/tokenized-strategy-periphery/lib/tokenized-strategy/lib/openzeppelin-contracts/lib/erc4626-tests/",
"lib/flex-contracts/lib/tokenized-strategy-periphery/lib/yearn-vaults-v3/lib/forge-std/:ds-test/=lib/flex-contracts/lib/tokenized-strategy-periphery/lib/yearn-vaults-v3/lib/forge-std/lib/ds-test/src/",
"lib/flex-contracts/lib/tokenized-strategy-periphery/lib/yearn-vaults-v3/lib/forge-std/:ds-test/=lib/flex-contracts/lib/tokenized-strategy-periphery/lib/yearn-vaults-v3/lib/forge-std/lib/ds-test/src/",
"lib/flex-contracts/lib/tokenized-strategy/lib/openzeppelin-contracts/lib/forge-std/:ds-test/=lib/flex-contracts/lib/tokenized-strategy/lib/openzeppelin-contracts/lib/forge-std/lib/ds-test/src/",
"lib/flex-contracts/lib/tokenized-strategy/lib/openzeppelin-contracts/lib/forge-std/:ds-test/=lib/flex-contracts/lib/tokenized-strategy/lib/openzeppelin-contracts/lib/forge-std/lib/ds-test/src/",
"lib/tokenized-strategy-periphery/lib/tokenized-strategy/lib/openzeppelin-contracts/lib/forge-std/:ds-test/=lib/tokenized-strategy-periphery/lib/tokenized-strategy/lib/openzeppelin-contracts/lib/forge-std/lib/ds-test/src/",
"lib/tokenized-strategy-periphery/lib/tokenized-strategy/lib/openzeppelin-contracts/lib/forge-std/:ds-test/=lib/tokenized-strategy-periphery/lib/tokenized-strategy/lib/openzeppelin-contracts/lib/forge-std/lib/ds-test/src/",
"lib/tokenized-strategy-periphery/lib/yearn-vaults-v3/lib/openzeppelin-contracts/lib/forge-std/:ds-test/=lib/tokenized-strategy-periphery/lib/yearn-vaults-v3/lib/openzeppelin-contracts/lib/forge-std/lib/ds-test/src/",
"lib/tokenized-strategy-periphery/lib/yearn-vaults-v3/lib/openzeppelin-contracts/lib/forge-std/:ds-test/=lib/tokenized-strategy-periphery/lib/yearn-vaults-v3/lib/openzeppelin-contracts/lib/forge-std/lib/ds-test/src/",
"lib/tokenized-strategy-periphery/lib/yearn-vaults-v3/lib/tokenized-strategy/lib/forge-std/:ds-test/=lib/tokenized-strategy-periphery/lib/yearn-vaults-v3/lib/tokenized-strategy/lib/forge-std/lib/ds-test/src/",
"lib/tokenized-strategy-periphery/lib/yearn-vaults-v3/lib/tokenized-strategy/lib/forge-std/:ds-test/=lib/tokenized-strategy-periphery/lib/yearn-vaults-v3/lib/tokenized-strategy/lib/forge-std/lib/ds-test/src/",
"lib/tokenized-strategy-periphery/lib/yearn-vaults-v3/lib/tokenized-strategy/lib/openzeppelin-contracts/:erc4626-tests/=lib/tokenized-strategy-periphery/lib/yearn-vaults-v3/lib/tokenized-strategy/lib/openzeppelin-contracts/lib/erc4626-tests/",
"lib/tokenized-strategy-periphery/lib/yearn-vaults-v3/lib/tokenized-strategy/lib/openzeppelin-contracts/:erc4626-tests/=lib/tokenized-strategy-periphery/lib/yearn-vaults-v3/lib/tokenized-strategy/lib/openzeppelin-contracts/lib/erc4626-tests/",
"lib/flex-contracts/lib/openzeppelin-contracts/lib/forge-std/:ds-test/=lib/flex-contracts/lib/openzeppelin-contracts/lib/forge-std/lib/ds-test/src/",
"lib/flex-contracts/lib/openzeppelin-contracts/lib/forge-std/:ds-test/=lib/flex-contracts/lib/openzeppelin-contracts/lib/forge-std/lib/ds-test/src/",
"lib/flex-contracts/lib/snekmate/lib/murky/:openzeppelin-contracts/=lib/flex-contracts/lib/snekmate/lib/murky/lib/openzeppelin-contracts/",
"lib/flex-contracts/lib/snekmate/lib/murky/:openzeppelin-contracts/=lib/flex-contracts/lib/snekmate/lib/murky/lib/openzeppelin-contracts/",
"lib/flex-contracts/lib/snekmate/lib/openzeppelin-contracts/:erc4626-tests/=lib/flex-contracts/lib/snekmate/lib/openzeppelin-contracts/lib/erc4626-tests/",
"lib/flex-contracts/lib/snekmate/lib/openzeppelin-contracts/:erc4626-tests/=lib/flex-contracts/lib/snekmate/lib/openzeppelin-contracts/lib/erc4626-tests/",
"lib/flex-contracts/lib/snekmate/lib/openzeppelin-contracts/:halmos-cheatcodes/=lib/flex-contracts/lib/snekmate/lib/openzeppelin-contracts/lib/halmos-cheatcodes/src/",
"lib/flex-contracts/lib/snekmate/lib/openzeppelin-contracts/:halmos-cheatcodes/=lib/flex-contracts/lib/snekmate/lib/openzeppelin-contracts/lib/halmos-cheatcodes/src/",
"lib/flex-contracts/lib/snekmate/lib/properties/:openzeppelin-contracts/=lib/flex-contracts/lib/snekmate/lib/properties/lib/openzeppelin-contracts/",
"lib/flex-contracts/lib/snekmate/lib/properties/:openzeppelin-contracts/=lib/flex-contracts/lib/snekmate/lib/properties/lib/openzeppelin-contracts/",
"lib/flex-contracts/lib/snekmate/lib/properties/:solmate/=lib/flex-contracts/lib/snekmate/lib/properties/lib/solmate/src/",
"lib/flex-contracts/lib/snekmate/lib/properties/:solmate/=lib/flex-contracts/lib/snekmate/lib/properties/lib/solmate/src/",
"lib/flex-contracts/lib/snekmate/lib/solmate/:ds-test/=lib/flex-contracts/lib/snekmate/lib/solmate/lib/ds-test/src/",
"lib/flex-contracts/lib/snekmate/lib/solmate/:ds-test/=lib/flex-contracts/lib/snekmate/lib/solmate/lib/ds-test/src/",
"lib/flex-contracts/lib/tokenized-strategy-periphery/lib/forge-std/:ds-test/=lib/flex-contracts/lib/tokenized-strategy-periphery/lib/forge-std/lib/ds-test/src/",
"lib/flex-contracts/lib/tokenized-strategy-periphery/lib/forge-std/:ds-test/=lib/flex-contracts/lib/tokenized-strategy-periphery/lib/forge-std/lib/ds-test/src/",
"lib/flex-contracts/lib/tokenized-strategy-periphery/lib/openzeppelin-contracts/:erc4626-tests/=lib/flex-contracts/lib/tokenized-strategy-periphery/lib/openzeppelin-contracts/lib/erc4626-tests/",
"lib/flex-contracts/lib/tokenized-strategy-periphery/lib/openzeppelin-contracts/:erc4626-tests/=lib/flex-contracts/lib/tokenized-strategy-periphery/lib/openzeppelin-contracts/lib/erc4626-tests/",
"lib/flex-contracts/lib/tokenized-strategy-periphery/lib/tokenized-strategy/:erc4626-tests/=lib/flex-contracts/lib/tokenized-strategy-periphery/lib/tokenized-strategy/lib/erc4626-tests/",
"lib/flex-contracts/lib/tokenized-strategy-periphery/lib/tokenized-strategy/:erc4626-tests/=lib/flex-contracts/lib/tokenized-strategy-periphery/lib/tokenized-strategy/lib/erc4626-tests/",
"lib/flex-contracts/lib/tokenized-strategy-periphery/lib/tokenized-strategy/:openzeppelin-contracts/=lib/flex-contracts/lib/tokenized-strategy-periphery/lib/tokenized-strategy/lib/openzeppelin-contracts/",
"lib/flex-contracts/lib/tokenized-strategy-periphery/lib/tokenized-strategy/:openzeppelin-contracts/=lib/flex-contracts/lib/tokenized-strategy-periphery/lib/tokenized-strategy/lib/openzeppelin-contracts/",
"lib/flex-contracts/lib/tokenized-strategy-periphery/lib/yearn-vaults-v3/:erc4626-tests/=lib/flex-contracts/lib/tokenized-strategy-periphery/lib/yearn-vaults-v3/lib/erc4626-tests/",
"lib/flex-contracts/lib/tokenized-strategy-periphery/lib/yearn-vaults-v3/:erc4626-tests/=lib/flex-contracts/lib/tokenized-strategy-periphery/lib/yearn-vaults-v3/lib/erc4626-tests/",
"lib/flex-contracts/lib/tokenized-strategy/lib/forge-std/:ds-test/=lib/flex-contracts/lib/tokenized-strategy/lib/forge-std/lib/ds-test/src/",
"lib/flex-contracts/lib/tokenized-strategy/lib/forge-std/:ds-test/=lib/flex-contracts/lib/tokenized-strategy/lib/forge-std/lib/ds-test/src/",
"lib/flex-contracts/lib/tokenized-strategy/lib/openzeppelin-contracts/:erc4626-tests/=lib/flex-contracts/lib/tokenized-strategy/lib/openzeppelin-contracts/lib/erc4626-tests/",
"lib/flex-contracts/lib/tokenized-strategy/lib/openzeppelin-contracts/:erc4626-tests/=lib/flex-contracts/lib/tokenized-strategy/lib/openzeppelin-contracts/lib/erc4626-tests/",
"lib/tokenized-strategy-periphery/lib/openzeppelin-contracts/lib/forge-std/:ds-test/=lib/tokenized-strategy-periphery/lib/openzeppelin-contracts/lib/forge-std/lib/ds-test/src/",
"lib/tokenized-strategy-periphery/lib/openzeppelin-contracts/lib/forge-std/:ds-test/=lib/tokenized-strategy-periphery/lib/openzeppelin-contracts/lib/forge-std/lib/ds-test/src/",
"lib/tokenized-strategy-periphery/lib/tokenized-strategy/lib/forge-std/:ds-test/=lib/tokenized-strategy-periphery/lib/tokenized-strategy/lib/forge-std/lib/ds-test/src/",
"lib/tokenized-strategy-periphery/lib/tokenized-strategy/lib/forge-std/:ds-test/=lib/tokenized-strategy-periphery/lib/tokenized-strategy/lib/forge-std/lib/ds-test/src/",
"lib/tokenized-strategy-periphery/lib/tokenized-strategy/lib/openzeppelin-contracts/:erc4626-tests/=lib/tokenized-strategy-periphery/lib/tokenized-strategy/lib/openzeppelin-contracts/lib/erc4626-tests/",
"lib/tokenized-strategy-periphery/lib/tokenized-strategy/lib/openzeppelin-contracts/:erc4626-tests/=lib/tokenized-strategy-periphery/lib/tokenized-strategy/lib/openzeppelin-contracts/lib/erc4626-tests/",
"lib/tokenized-strategy-periphery/lib/yearn-vaults-v3/lib/forge-std/:ds-test/=lib/tokenized-strategy-periphery/lib/yearn-vaults-v3/lib/forge-std/lib/ds-test/src/",
"lib/tokenized-strategy-periphery/lib/yearn-vaults-v3/lib/forge-std/:ds-test/=lib/tokenized-strategy-periphery/lib/yearn-vaults-v3/lib/forge-std/lib/ds-test/src/",
"lib/tokenized-strategy-periphery/lib/yearn-vaults-v3/lib/openzeppelin-contracts/:erc4626-tests/=lib/tokenized-strategy-periphery/lib/yearn-vaults-v3/lib/openzeppelin-contracts/lib/erc4626-tests/",
"lib/tokenized-strategy-periphery/lib/yearn-vaults-v3/lib/openzeppelin-contracts/:erc4626-tests/=lib/tokenized-strategy-periphery/lib/yearn-vaults-v3/lib/openzeppelin-contracts/lib/erc4626-tests/",
"lib/tokenized-strategy-periphery/lib/yearn-vaults-v3/lib/tokenized-strategy/:erc4626-tests/=lib/tokenized-strategy-periphery/lib/yearn-vaults-v3/lib/tokenized-strategy/lib/erc4626-tests/",
"lib/tokenized-strategy-periphery/lib/yearn-vaults-v3/lib/tokenized-strategy/:erc4626-tests/=lib/tokenized-strategy-periphery/lib/yearn-vaults-v3/lib/tokenized-strategy/lib/erc4626-tests/",
"lib/tokenized-strategy-periphery/lib/yearn-vaults-v3/lib/tokenized-strategy/:openzeppelin-contracts/=lib/tokenized-strategy-periphery/lib/yearn-vaults-v3/lib/tokenized-strategy/lib/openzeppelin-contracts/",
"lib/tokenized-strategy-periphery/lib/yearn-vaults-v3/lib/tokenized-strategy/:openzeppelin-contracts/=lib/tokenized-strategy-periphery/lib/yearn-vaults-v3/lib/tokenized-strategy/lib/openzeppelin-contracts/",
"lib/tokenized-strategy/lib/openzeppelin-contracts/lib/forge-std/:ds-test/=lib/tokenized-strategy/lib/openzeppelin-contracts/lib/forge-std/lib/ds-test/src/",
"lib/tokenized-strategy/lib/openzeppelin-contracts/lib/forge-std/:ds-test/=lib/tokenized-strategy/lib/openzeppelin-contracts/lib/forge-std/lib/ds-test/src/",
"lib/flex-contracts/lib/forge-std/:ds-test/=lib/flex-contracts/lib/forge-std/lib/ds-test/src/",
"lib/flex-contracts/lib/forge-std/:ds-test/=lib/flex-contracts/lib/forge-std/lib/ds-test/src/",
"lib/flex-contracts/lib/openzeppelin-contracts/:erc4626-tests/=lib/flex-contracts/lib/openzeppelin-contracts/lib/erc4626-tests/",
"lib/flex-contracts/lib/openzeppelin-contracts/:erc4626-tests/=lib/flex-contracts/lib/openzeppelin-contracts/lib/erc4626-tests/",
"lib/flex-contracts/lib/snekmate/:murky/=lib/flex-contracts/lib/snekmate/lib/murky/src/",
"lib/flex-contracts/lib/snekmate/:murky/=lib/flex-contracts/lib/snekmate/lib/murky/src/",
"lib/flex-contracts/lib/snekmate/:erc4626-tests/=lib/flex-contracts/lib/snekmate/lib/erc4626-tests/",
"lib/flex-contracts/lib/snekmate/:erc4626-tests/=lib/flex-contracts/lib/snekmate/lib/erc4626-tests/",
"lib/flex-contracts/lib/snekmate/:halmos-cheatcodes/=lib/flex-contracts/lib/snekmate/lib/halmos-cheatcodes/src/",
"lib/flex-contracts/lib/snekmate/:halmos-cheatcodes/=lib/flex-contracts/lib/snekmate/lib/halmos-cheatcodes/src/",
"lib/flex-contracts/lib/snekmate/:openzeppelin-contracts/=lib/flex-contracts/lib/snekmate/lib/openzeppelin-contracts/",
"lib/flex-contracts/lib/snekmate/:openzeppelin-contracts/=lib/flex-contracts/lib/snekmate/lib/openzeppelin-contracts/",
"lib/flex-contracts/lib/snekmate/:solmate/=lib/flex-contracts/lib/snekmate/lib/solmate/src/",
"lib/flex-contracts/lib/snekmate/:solmate/=lib/flex-contracts/lib/snekmate/lib/solmate/src/",
"lib/flex-contracts/lib/tokenized-strategy-periphery/:openzeppelin-contracts/=lib/flex-contracts/lib/tokenized-strategy-periphery/lib/openzeppelin-contracts/",
"lib/flex-contracts/lib/tokenized-strategy-periphery/:openzeppelin-contracts/=lib/flex-contracts/lib/tokenized-strategy-periphery/lib/openzeppelin-contracts/",
"lib/flex-contracts/lib/tokenized-strategy-periphery/:tokenized-strategy/=lib/flex-contracts/lib/tokenized-strategy-periphery/lib/tokenized-strategy/",
"lib/flex-contracts/lib/tokenized-strategy-periphery/:tokenized-strategy/=lib/flex-contracts/lib/tokenized-strategy-periphery/lib/tokenized-strategy/",
"lib/flex-contracts/lib/tokenized-strategy-periphery/:yearn-vaults-v3/=lib/flex-contracts/lib/tokenized-strategy-periphery/lib/yearn-vaults-v3/",
"lib/flex-contracts/lib/tokenized-strategy-periphery/:yearn-vaults-v3/=lib/flex-contracts/lib/tokenized-strategy-periphery/lib/yearn-vaults-v3/",
"lib/flex-contracts/lib/tokenized-strategy/:erc4626-tests/=lib/flex-contracts/lib/tokenized-strategy/lib/erc4626-tests/",
"lib/flex-contracts/lib/tokenized-strategy/:erc4626-tests/=lib/flex-contracts/lib/tokenized-strategy/lib/erc4626-tests/",
"lib/flex-contracts/lib/tokenized-strategy/:openzeppelin-contracts/=lib/flex-contracts/lib/tokenized-strategy/lib/openzeppelin-contracts/",
"lib/flex-contracts/lib/tokenized-strategy/:openzeppelin-contracts/=lib/flex-contracts/lib/tokenized-strategy/lib/openzeppelin-contracts/",
"lib/openzeppelin-contracts/lib/forge-std/:ds-test/=lib/openzeppelin-contracts/lib/forge-std/lib/ds-test/src/",
"lib/openzeppelin-contracts/lib/forge-std/:ds-test/=lib/openzeppelin-contracts/lib/forge-std/lib/ds-test/src/",
"lib/tokenized-strategy-periphery/lib/forge-std/:ds-test/=lib/tokenized-strategy-periphery/lib/forge-std/lib/ds-test/src/",
"lib/tokenized-strategy-periphery/lib/forge-std/:ds-test/=lib/tokenized-strategy-periphery/lib/forge-std/lib/ds-test/src/",
"lib/tokenized-strategy-periphery/lib/openzeppelin-contracts/:erc4626-tests/=lib/tokenized-strategy-periphery/lib/openzeppelin-contracts/lib/erc4626-tests/",
"lib/tokenized-strategy-periphery/lib/openzeppelin-contracts/:erc4626-tests/=lib/tokenized-strategy-periphery/lib/openzeppelin-contracts/lib/erc4626-tests/",
"lib/tokenized-strategy-periphery/lib/tokenized-strategy/:erc4626-tests/=lib/tokenized-strategy-periphery/lib/tokenized-strategy/lib/erc4626-tests/",
"lib/tokenized-strategy-periphery/lib/tokenized-strategy/:erc4626-tests/=lib/tokenized-strategy-periphery/lib/tokenized-strategy/lib/erc4626-tests/",
"lib/tokenized-strategy-periphery/lib/tokenized-strategy/:openzeppelin-contracts/=lib/tokenized-strategy-periphery/lib/tokenized-strategy/lib/openzeppelin-contracts/",
"lib/tokenized-strategy-periphery/lib/tokenized-strategy/:openzeppelin-contracts/=lib/tokenized-strategy-periphery/lib/tokenized-strategy/lib/openzeppelin-contracts/",
"lib/tokenized-strategy-periphery/lib/yearn-vaults-v3/:erc4626-tests/=lib/tokenized-strategy-periphery/lib/yearn-vaults-v3/lib/erc4626-tests/",
"lib/tokenized-strategy-periphery/lib/yearn-vaults-v3/:erc4626-tests/=lib/tokenized-strategy-periphery/lib/yearn-vaults-v3/lib/erc4626-tests/",
"lib/tokenized-strategy-periphery/lib/yearn-vaults-v3/:openzeppelin-contracts/=lib/tokenized-strategy-periphery/lib/yearn-vaults-v3/lib/openzeppelin-contracts/",
"lib/tokenized-strategy-periphery/lib/yearn-vaults-v3/:openzeppelin-contracts/=lib/tokenized-strategy-periphery/lib/yearn-vaults-v3/lib/openzeppelin-contracts/",
"lib/tokenized-strategy-periphery/lib/yearn-vaults-v3/:tokenized-strategy/=lib/tokenized-strategy-periphery/lib/yearn-vaults-v3/lib/tokenized-strategy/",
"lib/tokenized-strategy-periphery/lib/yearn-vaults-v3/:tokenized-strategy/=lib/tokenized-strategy-periphery/lib/yearn-vaults-v3/lib/tokenized-strategy/",
"lib/tokenized-strategy/lib/forge-std/:ds-test/=lib/tokenized-strategy/lib/forge-std/lib/ds-test/src/",
"lib/tokenized-strategy/lib/forge-std/:ds-test/=lib/tokenized-strategy/lib/forge-std/lib/ds-test/src/",
"lib/tokenized-strategy/lib/openzeppelin-contracts/:erc4626-tests/=lib/tokenized-strategy/lib/openzeppelin-contracts/lib/erc4626-tests/",
"lib/tokenized-strategy/lib/openzeppelin-contracts/:erc4626-tests/=lib/tokenized-strategy/lib/openzeppelin-contracts/lib/erc4626-tests/",
"lib/flex-contracts/:openzeppelin-contracts/=lib/flex-contracts/lib/openzeppelin-contracts/",
"lib/flex-contracts/:openzeppelin-contracts/=lib/flex-contracts/lib/openzeppelin-contracts/",
"lib/flex-contracts/:tokenized-strategy-periphery/=lib/flex-contracts/lib/tokenized-strategy-periphery/",
"lib/flex-contracts/:tokenized-strategy-periphery/=lib/flex-contracts/lib/tokenized-strategy-periphery/",
"lib/flex-contracts/:tokenized-strategy/=lib/flex-contracts/lib/tokenized-strategy/",
"lib/flex-contracts/:tokenized-strategy/=lib/flex-contracts/lib/tokenized-strategy/",
"lib/openzeppelin-contracts/:erc4626-tests/=lib/openzeppelin-contracts/lib/erc4626-tests/",
"lib/openzeppelin-contracts/:erc4626-tests/=lib/openzeppelin-contracts/lib/erc4626-tests/",
"lib/tokenized-strategy-periphery/:openzeppelin-contracts/=lib/tokenized-strategy-periphery/lib/openzeppelin-contracts/",
"lib/tokenized-strategy-periphery/:openzeppelin-contracts/=lib/tokenized-strategy-periphery/lib/openzeppelin-contracts/",
"lib/tokenized-strategy-periphery/:tokenized-strategy/=lib/tokenized-strategy-periphery/lib/tokenized-strategy/",
"lib/tokenized-strategy-periphery/:tokenized-strategy/=lib/tokenized-strategy-periphery/lib/tokenized-strategy/",
"lib/tokenized-strategy-periphery/:yearn-vaults-v3/=lib/tokenized-strategy-periphery/lib/yearn-vaults-v3/",
"lib/tokenized-strategy-periphery/:yearn-vaults-v3/=lib/tokenized-strategy-periphery/lib/yearn-vaults-v3/",
"lib/tokenized-strategy/:erc4626-tests/=lib/tokenized-strategy/lib/erc4626-tests/",
"lib/tokenized-strategy/:erc4626-tests/=lib/tokenized-strategy/lib/erc4626-tests/",
"lib/tokenized-strategy/:openzeppelin-contracts/=lib/tokenized-strategy/lib/openzeppelin-contracts/",
"lib/tokenized-strategy/:openzeppelin-contracts/=lib/tokenized-strategy/lib/openzeppelin-contracts/",
"@yearn-vaults/=lib/tokenized-strategy-periphery/lib/yearn-vaults-v3/contracts/",
"ERC4626/=lib/flex-contracts/lib/snekmate/lib/properties/lib/ERC4626/contracts/",
"create-util/=lib/flex-contracts/lib/snekmate/lib/create-util/contracts/",
"ds-test/=lib/flex-contracts/lib/forge-std/lib/ds-test/src/",
"erc4626-tests/=lib/openzeppelin-contracts/lib/erc4626-tests/",
"flex-contracts/=lib/flex-contracts/",
"halmos-cheatcodes/=lib/flex-contracts/lib/snekmate/lib/halmos-cheatcodes/src/",
"murky/=lib/flex-contracts/lib/snekmate/lib/murky/",
"openzeppelin-contracts/=lib/openzeppelin-contracts/",
"openzeppelin/=lib/openzeppelin-contracts/contracts/",
"prb-test/=lib/flex-contracts/lib/snekmate/lib/prb-test/src/",
"prb/test/=lib/flex-contracts/lib/snekmate/lib/prb-test/src/",
"properties/=lib/flex-contracts/lib/snekmate/lib/properties/contracts/",
"snekmate/=lib/flex-contracts/lib/snekmate/src/snekmate/",
"solady/=lib/flex-contracts/lib/snekmate/lib/solady/src/",
"solidity-bytes-utils/=lib/flex-contracts/lib/snekmate/lib/solidity-bytes-utils/contracts/",
"solmate/=lib/flex-contracts/lib/snekmate/lib/solmate/src/",
"tokenized-strategy-periphery/=lib/tokenized-strategy-periphery/",
"tokenized-strategy/=lib/tokenized-strategy/",
"utils/=lib/flex-contracts/lib/snekmate/lib/utils/",
"yearn-vaults-v3/=lib/tokenized-strategy-periphery/lib/yearn-vaults-v3/"
]
}Source code and metadata: Sourcify.
The source code belongs to the authors of the contract.