Skip to main content
GET
Reports, read live from the chain, which identity registers the market names and what each one gates. Both registers are optional. Without a borrower register, the collateral token’s own compliance alone governs borrowers. Without a provider register, each vault admits depositors through its own register alone. Change the registers with Set Identity Gates.

What Each Register Gates

On a current market, the two registers gate different parties at different doors. The borrower register (borrowerRegistry) is examined by the market itself on every openLoan and borrowMore. Repaying, closing a loan, releasing collateral and claiming a surplus are never gated. The provider register (providerRegistry) is not examined by the market. The market takes direct deposits only from the operator wallet and the vaults its admin registered, and asks no register about either. Every registered vault reads the market’s provider register, beside its own register, before it admits a depositor or a share transfer. With no provider register, each vault admits depositors through its own register alone. Redemptions are never gated. Every check is a live isVerified(address) call against the register, so a change on the register side takes effect on the next call. Registers answering a single bool, as ERC-3643 and ONCHAINID-based registers do, and registers answering (bool, uint8), as the Trusset register does, are read alike. A register that cannot answer refuses every party.

Older Market Generations

generation: SINGLE_REGISTER marks an earlier implementation that examines borrowers and providers against one register and offers no way to change it. providerRegistry then repeats borrowerRegistry, and upgradeRequired is true. The market admin moves it onto the current implementation with Upgrade Market before the registers can be chosen. A two-register market from before the current generation reports vaultOnlyLiquidity: false and providerGateReadBy: MARKET. When its pool is open to third-party providers (operatorOnlyLiquidity: false), the market itself examines those providers against the provider register, which must then stay installed (providerGateRequired: true).

Path Parameters

string
required
Market ID.

Response Fields

object

Error Codes