Contract Templates

This section provides documentation for the various contract templates used in Anya.

Binary Outcome Contracts

Binary outcome contracts are used to create a contract that can be resolved in one of two ways. For example, a prediction about the outcome of a sports game could be represented as a binary outcome contract.

Contract Definition

The binary outcome contract is defined on the Bitcoin, Ethereum, and Stacks blockchains.

Last updated: 2025-06-02