-
Notifications
You must be signed in to change notification settings - Fork 41
/
numerical_contract_input.json
85 lines (85 loc) · 2.28 KB
/
numerical_contract_input.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
{
"offerCollateral": 100000000,
"acceptCollateral": 100000000,
"feeRate": 2,
"contractInfos": [
{
"contractDescriptor": {
"numerical": {
"payoutFunction": {
"payoutFunctionPieces": [
{
"polynomialPayoutCurvePiece": {
"payoutPoints": [
{
"eventOutcome": 0,
"outcomePayout": 0,
"extraPrecision": 0
},
{
"eventOutcome": 50000,
"outcomePayout": 0,
"extraPrecision": 0
}
]
}
},
{
"polynomialPayoutCurvePiece": {
"payoutPoints": [
{
"eventOutcome": 50000,
"outcomePayout": 0,
"extraPrecision": 0
},
{
"eventOutcome": 60000,
"outcomePayout": 200000000,
"extraPrecision": 0
}
]
}
},
{
"polynomialPayoutCurvePiece": {
"payoutPoints": [
{
"eventOutcome": 60000,
"outcomePayout": 200000000,
"extraPrecision": 0
},
{
"eventOutcome": 1048575,
"outcomePayout": 200000000,
"extraPrecision": 0
}
]
}
}
]
},
"roundingIntervals": {
"intervals": [
{
"beginInterval": 0,
"roundingMod": 1
}
]
},
"differenceParams": null,
"oracleNumericInfos": {
"base": 2,
"nbDigits": [20]
}
}
},
"oracles": {
"publicKeys": [
"0d829c1cc556aa59060df5a9543c5357199ace5db9bcd5a8ddd6ee2fc7b6d174"
],
"eventId": "btcusd1707120297",
"threshold": 1
}
}
]
}