@corridor/core) defines the vocabulary every other package uses. It has no I/O.
Venues
A venue is a place where value physically sits.zcash_ironwood is the one shielded venue: value there is observable only with a viewing key. Privacy is modelled as this venue, not as a flag on payments. See ADR 0005.
Currencies
32 fiat currencies across four regions, each with a stable one-byte index used in the Corridor Reference. The table is append-only: indices are never renumbered.
Digital assets:
pathUSD, USDC.e, USDC, USDT, PYUSD, EURC (6 decimals) and ZEC (8 decimals). Stablecoins are issuer-neutral: each is booked in its own asset, and pegOf says which fiat it tracks (EUR for EURC, USD for the rest). Which stablecoins exist on which chain lives in each chain package’s registry. See ADR 0010.
Money
Every amount is an integer count of minor units of its asset. There are no floats anywhere in monetary code.Corridors
A corridor is the pair (currency the customer funds in, currency the beneficiary receives), writtenSOURCE-DESTINATION: EUR-NGN is a diaspora payout into Nigeria, NGN-CNY is a Nigerian importer paying a Chinese supplier. Because a corridor is just a pair, adding one needs no registry or code change.