Skip to main content

LiquidityBondRegistryState

@totemsdk/liquidity-bond


@totemsdk/liquidity-bond / LiquidityBondRegistryState

Interface: LiquidityBondRegistryState

Properties

allocations

allocations: Record<string, LiquidityAllocation[]>


commitments

commitments: Record<string, LiquidityCommitment>


feeRecords

feeRecords: Record<string, LiquidityFeeRecord[]>


pools

pools: Record<string, LiquidityPoolManifest>


positions

positions: Record<string, LiquidityPosition>


receipts

receipts: Record<string, LiquidityReceipt>


root?

optional root?: string

The accepted registry anchor root — advanced only through signed transitions (applyRegistryTransition). Verifiers require the next transition's previousRoot to match it, so a fabricated registry without the anchor chain is rejected. Excluded from serializeRegistryState/computeRegistryRoot.


sequence?

optional sequence?: number

Monotonic anti-reorg sequence (#34): each applied transition must advance it, so a previousRoot resubmission after a rollback is rejected. Excluded from the root commitment.


updatedAt?

optional updatedAt?: number


withdrawals

withdrawals: Record<string, WithdrawalIntent[]>