Anoma Developer Documentation
  • Overview
  • Build
    • Getting Started
    • Your First Anoma App
      • Define a Resource
      • Write a Transaction Function
      • Write a Projection Function
      • Run your App
    • Anoma App Examples
  • LEARN
    • Overview
    • State Model
      • Model Comparison
    • Resource Machine
      • Information Flow Control
    • Resources
      • State
      • Logic
      • Kind
      • Lifecycle
    • Transactions
      • Delta
      • Actions
      • Balanced Transactions
      • Intents
    • Applications
      • Backend
      • Interface
    • Services
      • Indexing
      • Solving
Powered by GitBook
On this page
  1. LEARN
  2. Resources

Logic

Besides state, resources are associated with a logic function. The logic function enforces predicates checking data, e.g., in the resource carrying the logic or other resources in the same transaction context

💵 Logic

🍏 Logic

💌 Logic

This resource can be transferred if the owner signs a message specifying the new owner.

This apple can be eaten if the fruitiness is at least 3.

This message can be edited by the author being encoded in the label.

PreviousStateNextKind

Last updated 2 months ago