Expand description
§Noviscia Types
Shared types, PDA seed constants, and program IDs used across all Noviscia SDK crates. Mirrors the on-chain account layouts from the active programs.
Structs§
- Asset
Engine Registry - Global asset engine configuration — stores the three-tier Layered Governance multi-sig keys (Squads PDAs) that gate every authority path.
- Asset
Pool - Per-mint pool profile: liquidity, premium params, and capacity ceiling.
- Borrower
- A whitelisted borrower’s registry entry.
- Capacity
Config - Global capacity engine configuration.
- Client
Account - Registered institutional client.
- Congestion
Oracle - Network congestion oracle feeding the dynamic premium model.
- Credit
Line - The credit line ledger. One per program — the shared alpha sleeve.
- Desk
Position - Per-desk borrow mirror for one mint — principal out + settled premiums.
- Institutional
Credit Line - Aggregate institutional multi-asset credit ceiling + 24h floating window.
- LpEntry
- Per-LP entry in a permissioned pool.
- Pool
Config - Permissioned pool configuration.
- Slot
Ledger - Per-slot capacity ledger.
- Toll
Result - Dynamic toll result mirroring the TypeScript
TollResultand on-chaintoll_and_utilizationoutput. - Tranche
Position - LP position inside a tranche.
- Tranche
Vault - Per-tranche NAV ledger.
Enums§
- Client
Tier - Institutional client tier.
- LpTier
- KYC tier for an LP in the permissioned pool.
- Side
- Position side — long or short.
- Tranche
- Tranche discriminator.
Constants§
- ASSET_
AUTHORITY_ SEED - PDA authorizing per-asset vault transfers.
- ASSET_
CREDIT_ LINE_ SEED - Institutional credit line PDA seed.
- ASSET_
ENGINE_ PROGRAM_ ID - On-chain program ID for
noviscia-asset-engine(devnet) — now aliases the consolidatednoviscia-capacityhost (19→4 consolidation: the standalonenoviscia-asset-enginewas absorbed at Stage 2; seedocs/FROZEN.md+docs/CONSOLIDATION.md§7). PDAs derive under the host ID. - ASSET_
FEE_ VAULT_ SEED - Per-asset premium fee vault token-account PDA seed.
- ASSET_
LP_ MINT_ SEED - Per-pool ERC-4626 share-mint (nUSDC / nSOL / nNVSC) PDA seed.
- ASSET_
LP_ POSITION_ SEED - Per-(pool, LP) share-position ledger seed.
- ASSET_
POOL_ SEED - Per-asset pool PDA seed.
- ASSET_
REGISTRY_ SEED - Global engine registry PDA seed.
- ASSET_
VAULT_ SEED - Per-asset principal vault token-account PDA seed.
- BORROWER_
SEED - Per-borrower registry PDA seed.
- BPS
- BPS denominator (10_000 = 100%).
- BPS_
U128 - BPS denominator as u128 for intermediate math.
- BURN_
ENGINE_ PROGRAM_ ID - Burn engine program (devnet).
- CAPACITY_
PROGRAM_ ID - On-chain program ID for
noviscia-capacity(devnet). - CAPACITY_
SEED - Capacity engine config PDA seed.
- CLIENT_
SEED - Client account PDA seed.
- COLLATERAL_
VAULT_ SEED - Collateral vault PDA seed.
- CONGESTION_
SEED - Congestion oracle PDA seed.
- CREDIT_
LINE_ PROGRAM_ ID - Credit line program (devnet) — now aliases the consolidated
netting-enginehost (19→4 consolidation: the standalonenoviscia-credit-linewas absorbed at Stage 3; seedocs/FROZEN.md+docs/CONSOLIDATION.md§7). PDAs derive under the host ID. - CREDIT_
LINE_ SEED - Credit line ledger PDA seed (
noviscia-credit-line). - CREDIT_
VAULT_ SEED - Alpha-sleeve USDC vault PDA seed.
- DESK_
POSITION_ SEED - Per-desk per-mint borrow mirror PDA seed.
- ESCROW_
PROGRAM_ ID - Escrow program (devnet).
- GATEWAY_
AUCTION_ PROGRAM_ ID - Gateway auction program (devnet).
- GRACE_
SLOTS - Hard-escalation grace window (~2h @ 400ms blocks) before a desk “Breaches”.
- INSTI_
VAULT_ SEED - Institutional tranche ledger/vault seeds.
- INSURANCE_
SEED - Insurance reserve PDA seed.
- JIT_
RISK_ PROGRAM_ ID - JIT risk marketplace program (devnet) — now aliases the consolidated
noviscia-capacityhost (19→4 consolidation: the standalonejit-riskwas absorbed at Stage 2; seedocs/FROZEN.md+docs/CONSOLIDATION.md§7). PDAs derive under the host ID. - LATE_
FEE_ BASE - LATE_
FEE_ RATE_ BPS - Micro-bps per overdue slot for the per-block late-fee taxi meter.
- LIQUIDATION_
VAULT_ PROGRAM_ ID - Liquidation vault program (devnet).
- LP_
ENTRY_ SEED - LP entry PDA seed.
- LP_
MINT_ SEED - LP mint PDA seed.
- LP_
NAV_ SPLIT_ BPS - Share of each credit-line toll routed to the omni-pool (LP NAV). 9000 = 90%.
- NETTING_
ENGINE_ PROGRAM_ ID - Netting engine program (devnet).
- NVSCUSDC_
MINT - nvscUSDC devnet yield-bearing share token mint.
- NVSC_
MINT - NVSC devnet governance token mint.
- NV_
USDC_ VAULT_ PROGRAM_ ID - nv-usdc-vault omni-pool program (devnet).
- POOL_
SEED - Pool config PDA seed (
noviscia-permissioned-pool). - POOL_
VAULT_ SEED - Pool vault PDA seed (token custody).
- POSITION_
SEED - Position PDA seed (
position-tracker). - POSITION_
TRACKER_ PROGRAM_ ID - Position tracker program (devnet).
- PROTECTED_
VAULT_ SEED - Protected tranche ledger/vault seeds.
- PT_
CONFIG_ SEED - Pt-config PDA seed.
- SLOT_
LEDGER_ SEED - Per-slot ledger PDA seed.
- SOVEREIGN_
NETTING_ PROGRAM_ ID - Sovereign netting program (devnet) — now aliases the consolidated
netting-enginehost (19→4 consolidation: the standalonesovereign-nettingwas absorbed at Stage 3; seedocs/FROZEN.md+docs/CONSOLIDATION.md§7). PDAs derive under the host ID. - STAKING_
MANAGER_ PROGRAM_ ID - Staking manager program (devnet).
- TOLL_
VAULT_ SEED - Toll staging vault PDA seed (90% before omni-pool sweep).
- TRANCHES_
SEED - Dual-tranche vault config PDA seed.
- TRANCHE_
POSITION_ SEED - Tranche position PDA seed.
- TRANCHE_
VAULT_ PROGRAM_ ID - On-chain program ID for
noviscia-tranche-vault(devnet). - TREASURY_
AUTH_ SEED - Treasury authority PDA seed (owner of the token account).
- TREASURY_
SEED - Treasury token account PDA seed.
- TREASURY_
SPLIT_ BPS - Share of each credit-line toll routed to the system treasury. 1000 = 10%.
- USDC_
MINT - USDC devnet mint.
- WAD
- WAD (1e12) — per-slot premium rate for jit-risk.
- WINDOW_
SLOTS - Floating KYC/allocation window length (~24h @ 400ms blocks).
- WSOL_
MINT - Wrap-SOL mint (native-interop profile for SOL exposure).