Skip to main content

@midnight-ntwrk/compact-runtime v0.7.0Readme | API


@midnight-ntwrk/compact-runtime v0.7.0 / ContractReferenceLocations

Type alias: ContractReferenceLocations

type ContractReferenceLocations: EmptyPublicLedger | PublicLedgerSegments;

A data structure indicating the locations of all contract references in a given ledger state. If it is a EmptyPublicLedger, then no contract references are present in the ledger state. If it is a PublicLedgerSegments, then contract references are present and can be extracted using contractDependencies.