Documentation
¶
Overview ¶
Package ledgercompat projects neutral metering facts onto the legacy token ledger record. It lives outside internal/core/metering/aggregate so the neutral reduction closure stays provider-neutral: aggregate and billing must not transitively import legacy persistence or canonical wire types (requirement 15.1). Money is intentionally omitted (token ledger is token-only); callers must keep money on the metering journal (requirement 13.3, 17.1, 17.4).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ProjectLedgerRecord ¶
ProjectLedgerRecord maps a representable metering fact onto a legacy token ledger record. Money is intentionally omitted (token ledger is token-only); callers must keep money on the metering journal (requirement 13.3, 17.1, 17.4).
Types ¶
This section is empty.