Skip to content

Commit

Permalink
feat: document that fallback user cannot be address(0)
Browse files Browse the repository at this point in the history
  • Loading branch information
reednaa committed Jan 18, 2024
1 parent 73b5bd0 commit 3831b29
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions evm/src/CatalystVaultCommon.sol
Original file line number Diff line number Diff line change
Expand Up @@ -389,6 +389,7 @@ abstract contract CatalystVaultCommon is
//-- Escrow Functions --//

/// @notice Creates a token escrow for a swap.
/// @param fallbackUser The user who the escrow belongs to. Do not set to address(0).
function _setTokenEscrow(
bytes32 sendAssetHash,
address fallbackUser,
Expand All @@ -404,6 +405,7 @@ abstract contract CatalystVaultCommon is
}

/// @notice Creates a liquidity escrow for a swap.
/// @param fallbackUser The user who the escrow belongs to. Do not set to address(0).
function _setLiquidityEscrow(
bytes32 sendLiquidityHash,
address fallbackUser,
Expand Down

0 comments on commit 3831b29

Please sign in to comment.