A policy is the central configuration object in the Forte Rules Engine. It defines what rules should be executed during a contract call. Policies are stored and enforced on-chain and can be reused across different contracts and applications.Documentation Index
Fetch the complete documentation index at: https://docs.forterulesengine.io/llms.txt
Use this file to discover all available pages before exploring further.
What You Can Configure in a Policy
- A sequence of rules, defined in a specific order, each with conditions and effects
- A set of trackers for maintaining persistent state
- A set of mapped trackers for key-value storage functionality
- A list of calling functions that define which smart contract functions can trigger the policy
- A list of foreign calls that can be used as input to rule conditions, as effects triggered by a rule, or as inputs to other foreign calls
- Policy metadata (off-chain), such as names, descriptions, and labels for readability
