Expand description
Structure containing information about contract details.
Structs§
- Contract
Info Inner - Payout and oracle information for a contract.
- Contract
Outcome - Represents a single outcome of a DLC contract and the associated offer party payout.
- Disjoint
Contract Info - Information for a contract based on a multiple events.
- Enumerated
Contract Descriptor - Information about outcomes and payouts for a contract based on enumerated outcome event.
- Hyperbola
Payout Curve Piece - A payout curve represented as an hyperbola.
- Numeric
Outcome Contract Descriptor - Information about outcomes and payouts for a contract based on numerical outcome event.
- Payout
Function - Function representing the payouts based on the outcomes of a numerical contract.
- Payout
Function Piece - A piece of a
PayoutFunction. - Payout
Point - A point on a payout curve.
- Polynomial
Payout Curve Piece - A payout curve represented by a polynomial function.
- Rounding
Interval - Rounding interval to be applied to an interval to increase the set of points with common payouts.
- Rounding
Intervals - A set of
RoundingInterval. - Single
Contract Info - Information for a contract based on a single event.
Enums§
- Contract
Descriptor - Information about the outcomes and payouts of a contract.
- Contract
Info - Contains information about the contract outcomes, payouts and oracles.
- Payout
Curve Piece - Representations of functions describing the payout curve over a given interval.