Skip to content

API ReferenceLOC lifecycleInterface

LetterOfCreditDirectCapabilities

State-valid V3 routes for the declared msg.sender at the LOC contract.

Remarks

Every flag is false when no caller is selected or the LOC is resolved. These gates do not establish Safe ownership, signed-authorization routes, balances, allowances or validity of operation-specific amounts and inputs. Full operation validation remains necessary.

Properties

caller

caller: `0x${string}` | null;

Address the LOC contract will see as msg.sender, or null before a caller is selected.


canCancel

canCancel: boolean;

The unexpired LOC’s beneficiary may cancel; after expiry any selected caller may cancel.


canConvert

canConvert: boolean;

An unexpired dynamic reservation is unhealthy under matching risk evidence and has nonzero full-conversion amounts; any selected caller may convert.


canExtend

canExtend: boolean;

The caller is the creator and the outstanding LOC has not expired.


canModifyCollateral

canModifyCollateral: boolean;

The creator may modify collateral while an unexpired dynamic LOC still has reserved backing.


canRedeem

canRedeem: boolean;

The caller is the beneficiary and the outstanding LOC has not expired.