Ledger Event
- CURIE:
gmeow:LedgerEvent - IRI: https://blackcatinformatics.ca/gmeow/LedgerEvent
- Category: class
- Defined by:
gmeow:slices/attestation - Box roles: CBox role, TBox role (What is this?)
An event emitted by a smart contract or recorded on a ledger — a log entry, oracle callback, or bridge message.
Structure
Subclass of: gmeow:Event
Practical Pattern
Use gmeow:LedgerEvent as a specialized kind of gmeow:Event. Add statement metadata or a standpoint when the assertion needs provenance, confidence, or vantage.
Common Companion Terms
Usage Advice
Use when
- Use to model an event emitted on-chain — a smart-contract log, oracle callback, or bridge message — as the occurrent perspective of ledger activity, distinct from the transaction that produced it.
Avoid when
- Avoid for the transaction record itself (that is
gmeow:LedgerTransaction, anInformationObject) and avoid treating an emitted event as real-world truth — it proves only that the contract logged it under chain rules.
How to use
- Mint the event with
gmeow:logIndex(the EL minimum) naming its position in the block/transaction, link it to its emittinggmeow:SmartContract, and let its temporal extent ride on the gufo:Event spine.
Examples
- ex:transferEvent a
gmeow:LedgerEvent;gmeow:logIndex3.