Module types

Source
Expand description

Chain-agnostic types for the vault kernel.

These types are designed to be portable across NEAR and Soroban.

Structsยง

ActualIdx
Actual index reached during processing.
Address
Canonical address bytes. Executors map chain-native account identifiers to this form (sha256 hash).
AssetId
Asset identifier as a fixed 32-byte hash. Executors map chain-native asset identifiers (e.g., NEAR account id) to this form (sha256 hash) and maintain the mapping.
EscrowSettlement
Settlement result for escrowed shares.
ExpectedIdx
Expected index in a queue or plan.
KernelVersion
Kernel version identifier.
TimestampNs
Timestamp in nanoseconds.