Skip to content

Commit

Permalink
Fix forgotten types
Browse files Browse the repository at this point in the history
  • Loading branch information
Tibo-lg committed Apr 26, 2022
1 parent 25fe7b2 commit 8517c72
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
3 changes: 1 addition & 2 deletions NumericOutcome.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,7 @@ up in the case of a tie.

#### Rounding Interval Serialization

1. type: 42788 (`rounding_intervals_v0`)
2. data:
1. data:
* [`u16`:`num_rounding_intervals`]
* [`bigsize`:`begin_interval_1`]
* [`bigsize`:`rounding_mod_1`]
Expand Down
16 changes: 9 additions & 7 deletions PayoutCurve.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,9 @@ interpolation points.

In this section we detail the TLV serialization for a general `payout_function`.

#### Version 0 payout_function
#### payout_function

1. type: 42790 (`payout_function_v0`)
2. data:
1. data:
* [`bigsize`:`num_pieces`]
* [`bigsize`:`endpoint_0`]
* [`bigsize`:`endpoint_payout_0`]
Expand Down Expand Up @@ -158,8 +157,9 @@ where a spline is made up of polynomial pieces so that the resulting interpolati

#### Polynomial Serialization

1. type: 42792 (`polynomial_payout_curve_piece`)
2. data:
1. implements: `payout_curve_piece`
1. type: 0
1. data:
* [`bigsize`:`num_pts`]
* [`bigsize`:`event_outcome_1`]
* [`bigsize`:`outcome_payout_1`]
Expand Down Expand Up @@ -206,8 +206,10 @@ set `f_1 = b = c = 0, a = 1, d = constant, f_2 = constant'`.

#### Hyperbola Serialization

1. type: 42794 (`hyperbola_payout_curve_piece`)
2. data:

1. implements: `payout_curve_piece`
1. type: 1
1. data:
* [`bool`:`use_positive_piece`]
* [`bool`:`translate_outcome_sign`]
* [`bigsize`:`translate_outcome`]
Expand Down

0 comments on commit 8517c72

Please sign in to comment.