OmniaPoolAllocationContext
@totemsdk/omnia-pool / OmniaPoolAllocationContext
Interface: OmniaPoolAllocationContext
Properties
factory?
optionalfactory?:FactoryExecutionPort
Execute channel factory operations.
leaseProvider?
optionalleaseProvider?:WotsLeaseProvider
WOTS lease provider used for per-signing key reservations.
loadChannel?
optionalloadChannel?: (channelId) =>Promise<OmniaChannel>
Materialize a live Omnia channel from its id. Default impl reads a stored
channel snapshot via recoverChannel(deserializeChannelSnapshot(snapshot)) —
see createChannelLoader. The allocation/withdrawal path calls
loadChannel(position.omniaChannelId) instead of requiring the caller to
inject the live object.
Parameters
channelId
string
Returns
Promise<OmniaChannel>
omnia?
optionalomnia?:OmniaExecutionPort
Execute direct Omnia channel operations.
router?
optionalrouter?:RouterExecutionPort
Execute router channel graph operations.
saveChannelSnapshot?
optionalsaveChannelSnapshot?: (channel) =>void|Promise<void>
Persist a channel snapshot after create/update/close so it can be reloaded later.
Parameters
channel
OmniaChannel
Returns
void | Promise<void>
signer?
optionalsigner?:PoolSigner
Lease-backed signer aligned with Omnia's ChannelSigner (WOTS + signing indices).
splice?
optionalsplice?:SpliceExecutionPort
Execute splice operations.
vtxo?
optionalvtxo?:VtxoExecutionPort
Execute VTXO pool operations.