The vault requires approval from the protocol and the depositor
CollateralVault is the accounting gate for available and reserved ERC-20 balances. Governance chooses supported tokens and approves contracts that may use the vault. An account must also set an allowance before one of those contracts can reserve its collateral. The contract therefore does not turn every deposit into a general line of credit.
LetterOfCredit adds named parties to that base. A creator reserves collateral for a beneficiary and specifies a credited amount. Redemption requires the beneficiary or a third party holding its signed authorization. Cancellation follows that rule before expiry, while current v3 allows any caller to cancel after expiry. The code creates a bounded on-chain claim rather than a transferable ownership interest in everything held by the vault.
