Smart Contract
- CURIE:
gmeow:SmartContract - IRI: https://blackcatinformatics.ca/gmeow/SmartContract
- Category: class
- Defined by:
gmeow:slices/attestation - Box roles: CBox role, TBox role (What is this?)
A deployed program on a blockchain or distributed ledger, identified by a contract address.
Structure
Subclass of: gmeow:Entity
Practical Pattern
Use gmeow:SmartContract as a specialized kind of gmeow:Entity. Add statement metadata or a standpoint when the assertion needs provenance, confidence, or vantage.
Common Companion Terms
Usage Advice
Use when
- Use to model a deployed on-chain program — a registry, oracle, or attestation contract — identified by its address, when it is the source or anchor of ledger-based attestation evidence.
Avoid when
- Avoid for an address-controlled wallet that signs transactions (that is
gmeow:BlockchainAccount) and for the network it runs on (gmeow:BlockchainNetwork); the contract is the deployed code, not an account or a chain.
How to use
- Mint the contract with
gmeow:contractAddress(the EL minimum), locate it on itsgmeow:BlockchainNetwork, and link emittedgmeow:LedgerEventrecords back to it.
Examples
- ex:registry a
gmeow:SmartContract;gmeow:contractAddress"0x1234...".