Open the app

Admission

Only admitted members hold positions. The operator's key co-signs each admission.

Admission is how a wallet joins the register. The admit instruction creates the wallet's Member account with a role and an entity name, and it needs two signatures: the wallet's, which pays the account's rent, and the ledger operator's. The operator's check stands in for onboarding: the operator signs only for entities it has approved.

Roles

RoleWhat it can do
HolderHolds positions, trades, lends and borrows.
IssuerCan also list instruments, issue their units and pay income.

An issuer is a holder too: it can deposit, trade, lend and borrow like any member. Listing needs the Issuer role, and issuing units or paying income in an instrument needs to be the wallet that listed it.

A member's role and entity name are fixed at admission, and membership is permanent: the program has no instruction that changes or removes a Member.

Requesting admission

The API keeps the requests and adds the operator's signature:

  1. The wallet asks with POST /v1/admissions, giving its entity name and role and signing them, so only the wallet can file or change its own request. The request is pending.
  2. The request is approved. Under Mainnet the API approves it at once (admissionMode: "instant" in GET /v1/config). Where admissionMode is review, requests queue and the operator approves or rejects each one with the operator CLI; a rejected request carries the operator's reason.
  3. Once approved, the wallet builds admit, signs it and submits it in relay mode. The API adds the operator's signature and sends it.
  4. The Member account exists and the account reads admitted.

Get admitted walks through it in the app and through the API.

What checks admission

InstructionWho must be a member
deposit, withdrawthe owner
list_instrumentthe issuer, with the Issuer role
issuethe recipient
post_offer, take_offerthe maker, the taker
post_repo_offer, take_repo_offerthe lender, the borrower

Instructions on an existing offer, repo or position (cancelling, repaying, claiming) need no second check: only a member could have created it. settle_default takes any signer.

On chain, a wallet with no Member fails with NotAdmitted where the program reads the account itself (deposit, withdraw, list_instrument, take_offer), and with Anchor's AccountNotInitialized where it loads it as a typed account (issue, post_offer, post_repo_offer, take_repo_offer). Through the API the build is refused first, before anything is signed.