Module contract_msgs

Module contract_msgs 

Source
Expand description

Structure containing information about contract details.

Structs§

ContractInfoInner
Payout and oracle information for a contract.
ContractOutcome
Represents a single outcome of a DLC contract and the associated offer party payout.
DisjointContractInfo
Information for a contract based on a multiple events.
EnumeratedContractDescriptor
Information about outcomes and payouts for a contract based on enumerated outcome event.
HyperbolaPayoutCurvePiece
A payout curve represented as an hyperbola.
NumericOutcomeContractDescriptor
Information about outcomes and payouts for a contract based on numerical outcome event.
PayoutFunction
Function representing the payouts based on the outcomes of a numerical contract.
PayoutFunctionPiece
A piece of a PayoutFunction.
PayoutPoint
A point on a payout curve.
PolynomialPayoutCurvePiece
A payout curve represented by a polynomial function.
RoundingInterval
Rounding interval to be applied to an interval to increase the set of points with common payouts.
RoundingIntervals
A set of RoundingInterval.
SingleContractInfo
Information for a contract based on a single event.

Enums§

ContractDescriptor
Information about the outcomes and payouts of a contract.
ContractInfo
Contains information about the contract outcomes, payouts and oracles.
PayoutCurvePiece
Representations of functions describing the payout curve over a given interval.