@oddmaki-protocol/sdk 0.1.0 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -3
- package/dist/index.d.mts +1074 -177
- package/dist/index.d.ts +1074 -177
- package/dist/index.js +1323 -281
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1323 -281
- package/dist/index.mjs.map +1 -1
- package/package.json +12 -10
package/dist/index.d.ts
CHANGED
|
@@ -8618,10 +8618,53 @@ declare class TradeModule extends BaseModule {
|
|
|
8618
8618
|
qty: bigint;
|
|
8619
8619
|
expiry: bigint;
|
|
8620
8620
|
}): Promise<never>;
|
|
8621
|
+
/**
|
|
8622
|
+
* Execute a market sell order (FOK or FAK)
|
|
8623
|
+
*
|
|
8624
|
+
* @param params.marketId - The market to sell on
|
|
8625
|
+
* @param params.outcomeId - Which outcome to sell (0=YES, 1=NO)
|
|
8626
|
+
* @param params.tokenAmount - Amount of outcome tokens to sell
|
|
8627
|
+
* @param params.minPriceTick - Minimum price tick willing to accept (slippage protection)
|
|
8628
|
+
* @param params.orderType - 0=FOK (Fill-Or-Kill), 1=FAK (Fill-And-Kill)
|
|
8629
|
+
*/
|
|
8630
|
+
placeMarketSell(params: {
|
|
8631
|
+
marketId: bigint;
|
|
8632
|
+
outcomeId: bigint;
|
|
8633
|
+
tokenAmount: bigint;
|
|
8634
|
+
minPriceTick: bigint;
|
|
8635
|
+
orderType: number;
|
|
8636
|
+
}): Promise<`0x${string}`>;
|
|
8637
|
+
/**
|
|
8638
|
+
* Execute a market sell order with simple string inputs (recommended for frontends)
|
|
8639
|
+
* @param params.amount - Token amount as decimal string (e.g., "100.5")
|
|
8640
|
+
* @param params.minPrice - Minimum price as decimal string (e.g., "0.70")
|
|
8641
|
+
* @param params.orderType - 'FOK' or 'FAK' (default: 'FAK')
|
|
8642
|
+
*/
|
|
8643
|
+
placeMarketSellSimple(params: {
|
|
8644
|
+
marketId: bigint;
|
|
8645
|
+
outcomeId: bigint;
|
|
8646
|
+
amount: string;
|
|
8647
|
+
minPrice: string;
|
|
8648
|
+
orderType?: 'FOK' | 'FAK';
|
|
8649
|
+
}): Promise<`0x${string}`>;
|
|
8650
|
+
/**
|
|
8651
|
+
* Preview a market sell order (simulate transaction)
|
|
8652
|
+
*/
|
|
8653
|
+
previewMarketSell(params: {
|
|
8654
|
+
marketId: bigint;
|
|
8655
|
+
outcomeId: bigint;
|
|
8656
|
+
tokenAmount: bigint;
|
|
8657
|
+
minPriceTick: bigint;
|
|
8658
|
+
orderType: number;
|
|
8659
|
+
}): Promise<never>;
|
|
8621
8660
|
/**
|
|
8622
8661
|
* Watch for MarketOrderExecuted events
|
|
8623
8662
|
*/
|
|
8624
8663
|
watchMarketOrder(marketId: bigint, onLogs: (logs: any[]) => void): viem.WatchContractEventReturnType;
|
|
8664
|
+
/**
|
|
8665
|
+
* Watch for MarketSellExecuted events
|
|
8666
|
+
*/
|
|
8667
|
+
watchMarketSell(marketId: bigint, onLogs: (logs: any[]) => void): viem.WatchContractEventReturnType;
|
|
8625
8668
|
/**
|
|
8626
8669
|
* Check whether any orders are matchable in the given market.
|
|
8627
8670
|
* Returns a preview of which fill paths have crossing conditions,
|
|
@@ -10104,6 +10147,31 @@ var VenueFacet = [
|
|
|
10104
10147
|
],
|
|
10105
10148
|
stateMutability: "nonpayable"
|
|
10106
10149
|
},
|
|
10150
|
+
{
|
|
10151
|
+
type: "event",
|
|
10152
|
+
name: "VenueAccessControlUpdated",
|
|
10153
|
+
inputs: [
|
|
10154
|
+
{
|
|
10155
|
+
name: "venueId",
|
|
10156
|
+
type: "uint256",
|
|
10157
|
+
indexed: true,
|
|
10158
|
+
internalType: "uint256"
|
|
10159
|
+
},
|
|
10160
|
+
{
|
|
10161
|
+
name: "tradingAccessControl",
|
|
10162
|
+
type: "address",
|
|
10163
|
+
indexed: false,
|
|
10164
|
+
internalType: "address"
|
|
10165
|
+
},
|
|
10166
|
+
{
|
|
10167
|
+
name: "creationAccessControl",
|
|
10168
|
+
type: "address",
|
|
10169
|
+
indexed: false,
|
|
10170
|
+
internalType: "address"
|
|
10171
|
+
}
|
|
10172
|
+
],
|
|
10173
|
+
anonymous: false
|
|
10174
|
+
},
|
|
10107
10175
|
{
|
|
10108
10176
|
type: "event",
|
|
10109
10177
|
name: "VenueCreated",
|
|
@@ -10272,6 +10340,12 @@ var VenueFacet = [
|
|
|
10272
10340
|
inputs: [
|
|
10273
10341
|
]
|
|
10274
10342
|
},
|
|
10343
|
+
{
|
|
10344
|
+
type: "error",
|
|
10345
|
+
name: "InvalidTickSize",
|
|
10346
|
+
inputs: [
|
|
10347
|
+
]
|
|
10348
|
+
},
|
|
10275
10349
|
{
|
|
10276
10350
|
type: "error",
|
|
10277
10351
|
name: "InvalidVenueFee",
|
|
@@ -10290,6 +10364,12 @@ var VenueFacet = [
|
|
|
10290
10364
|
inputs: [
|
|
10291
10365
|
]
|
|
10292
10366
|
},
|
|
10367
|
+
{
|
|
10368
|
+
type: "error",
|
|
10369
|
+
name: "ProtocolPaused",
|
|
10370
|
+
inputs: [
|
|
10371
|
+
]
|
|
10372
|
+
},
|
|
10293
10373
|
{
|
|
10294
10374
|
type: "error",
|
|
10295
10375
|
name: "VenueInactive",
|
|
@@ -10301,6 +10381,12 @@ var VenueFacet = [
|
|
|
10301
10381
|
name: "VenueNotFound",
|
|
10302
10382
|
inputs: [
|
|
10303
10383
|
]
|
|
10384
|
+
},
|
|
10385
|
+
{
|
|
10386
|
+
type: "error",
|
|
10387
|
+
name: "VenueSuspended",
|
|
10388
|
+
inputs: [
|
|
10389
|
+
]
|
|
10304
10390
|
}
|
|
10305
10391
|
];
|
|
10306
10392
|
|
|
@@ -10572,6 +10658,16 @@ var MarketsFacet = [
|
|
|
10572
10658
|
name: "tickSize",
|
|
10573
10659
|
type: "uint256",
|
|
10574
10660
|
internalType: "uint256"
|
|
10661
|
+
},
|
|
10662
|
+
{
|
|
10663
|
+
name: "venueFeeBps",
|
|
10664
|
+
type: "uint256",
|
|
10665
|
+
internalType: "uint256"
|
|
10666
|
+
},
|
|
10667
|
+
{
|
|
10668
|
+
name: "creatorFeeBps",
|
|
10669
|
+
type: "uint256",
|
|
10670
|
+
internalType: "uint256"
|
|
10575
10671
|
}
|
|
10576
10672
|
]
|
|
10577
10673
|
}
|
|
@@ -10776,14 +10872,8 @@ var MarketsFacet = [
|
|
|
10776
10872
|
},
|
|
10777
10873
|
{
|
|
10778
10874
|
type: "event",
|
|
10779
|
-
name: "
|
|
10875
|
+
name: "MarketCreationFeeCollected",
|
|
10780
10876
|
inputs: [
|
|
10781
|
-
{
|
|
10782
|
-
name: "marketId",
|
|
10783
|
-
type: "uint256",
|
|
10784
|
-
indexed: true,
|
|
10785
|
-
internalType: "uint256"
|
|
10786
|
-
},
|
|
10787
10877
|
{
|
|
10788
10878
|
name: "venueId",
|
|
10789
10879
|
type: "uint256",
|
|
@@ -10791,17 +10881,29 @@ var MarketsFacet = [
|
|
|
10791
10881
|
internalType: "uint256"
|
|
10792
10882
|
},
|
|
10793
10883
|
{
|
|
10794
|
-
name: "
|
|
10884
|
+
name: "payer",
|
|
10795
10885
|
type: "address",
|
|
10796
10886
|
indexed: true,
|
|
10797
10887
|
internalType: "address"
|
|
10888
|
+
},
|
|
10889
|
+
{
|
|
10890
|
+
name: "protocolShare",
|
|
10891
|
+
type: "uint256",
|
|
10892
|
+
indexed: false,
|
|
10893
|
+
internalType: "uint256"
|
|
10894
|
+
},
|
|
10895
|
+
{
|
|
10896
|
+
name: "venueShare",
|
|
10897
|
+
type: "uint256",
|
|
10898
|
+
indexed: false,
|
|
10899
|
+
internalType: "uint256"
|
|
10798
10900
|
}
|
|
10799
10901
|
],
|
|
10800
10902
|
anonymous: false
|
|
10801
10903
|
},
|
|
10802
10904
|
{
|
|
10803
10905
|
type: "event",
|
|
10804
|
-
name: "
|
|
10906
|
+
name: "MarketPausedEvent",
|
|
10805
10907
|
inputs: [
|
|
10806
10908
|
{
|
|
10807
10909
|
name: "marketId",
|
|
@@ -10826,31 +10928,25 @@ var MarketsFacet = [
|
|
|
10826
10928
|
},
|
|
10827
10929
|
{
|
|
10828
10930
|
type: "event",
|
|
10829
|
-
name: "
|
|
10931
|
+
name: "MarketUnpausedEvent",
|
|
10830
10932
|
inputs: [
|
|
10831
10933
|
{
|
|
10832
|
-
name: "
|
|
10934
|
+
name: "marketId",
|
|
10833
10935
|
type: "uint256",
|
|
10834
10936
|
indexed: true,
|
|
10835
10937
|
internalType: "uint256"
|
|
10836
10938
|
},
|
|
10837
10939
|
{
|
|
10838
|
-
name: "
|
|
10839
|
-
type: "address",
|
|
10840
|
-
indexed: true,
|
|
10841
|
-
internalType: "address"
|
|
10842
|
-
},
|
|
10843
|
-
{
|
|
10844
|
-
name: "protocolShare",
|
|
10940
|
+
name: "venueId",
|
|
10845
10941
|
type: "uint256",
|
|
10846
|
-
indexed:
|
|
10942
|
+
indexed: true,
|
|
10847
10943
|
internalType: "uint256"
|
|
10848
10944
|
},
|
|
10849
10945
|
{
|
|
10850
|
-
name: "
|
|
10851
|
-
type: "
|
|
10852
|
-
indexed:
|
|
10853
|
-
internalType: "
|
|
10946
|
+
name: "operator",
|
|
10947
|
+
type: "address",
|
|
10948
|
+
indexed: true,
|
|
10949
|
+
internalType: "address"
|
|
10854
10950
|
}
|
|
10855
10951
|
],
|
|
10856
10952
|
anonymous: false
|
|
@@ -10936,6 +11032,12 @@ var MarketsFacet = [
|
|
|
10936
11032
|
],
|
|
10937
11033
|
anonymous: false
|
|
10938
11034
|
},
|
|
11035
|
+
{
|
|
11036
|
+
type: "error",
|
|
11037
|
+
name: "CollateralNotWhitelisted",
|
|
11038
|
+
inputs: [
|
|
11039
|
+
]
|
|
11040
|
+
},
|
|
10939
11041
|
{
|
|
10940
11042
|
type: "error",
|
|
10941
11043
|
name: "CreationAccessDenied",
|
|
@@ -10992,49 +11094,49 @@ var MarketsFacet = [
|
|
|
10992
11094
|
},
|
|
10993
11095
|
{
|
|
10994
11096
|
type: "error",
|
|
10995
|
-
name: "
|
|
11097
|
+
name: "MarketGroupNotFound",
|
|
10996
11098
|
inputs: [
|
|
10997
11099
|
]
|
|
10998
11100
|
},
|
|
10999
11101
|
{
|
|
11000
11102
|
type: "error",
|
|
11001
|
-
name: "
|
|
11103
|
+
name: "MarketNotPlaceholder",
|
|
11002
11104
|
inputs: [
|
|
11003
11105
|
]
|
|
11004
11106
|
},
|
|
11005
11107
|
{
|
|
11006
11108
|
type: "error",
|
|
11007
|
-
name: "
|
|
11109
|
+
name: "NotGroupCreator",
|
|
11008
11110
|
inputs: [
|
|
11009
11111
|
]
|
|
11010
11112
|
},
|
|
11011
11113
|
{
|
|
11012
11114
|
type: "error",
|
|
11013
|
-
name: "
|
|
11115
|
+
name: "OnlyVenueOperator",
|
|
11014
11116
|
inputs: [
|
|
11015
11117
|
]
|
|
11016
11118
|
},
|
|
11017
11119
|
{
|
|
11018
11120
|
type: "error",
|
|
11019
|
-
name: "
|
|
11121
|
+
name: "OracleAlreadyExists",
|
|
11020
11122
|
inputs: [
|
|
11021
11123
|
]
|
|
11022
11124
|
},
|
|
11023
11125
|
{
|
|
11024
11126
|
type: "error",
|
|
11025
|
-
name: "
|
|
11127
|
+
name: "OracleCtfNotSet",
|
|
11026
11128
|
inputs: [
|
|
11027
11129
|
]
|
|
11028
11130
|
},
|
|
11029
11131
|
{
|
|
11030
11132
|
type: "error",
|
|
11031
|
-
name: "
|
|
11133
|
+
name: "OracleNotInitialized",
|
|
11032
11134
|
inputs: [
|
|
11033
11135
|
]
|
|
11034
11136
|
},
|
|
11035
11137
|
{
|
|
11036
11138
|
type: "error",
|
|
11037
|
-
name: "
|
|
11139
|
+
name: "ProtocolPaused",
|
|
11038
11140
|
inputs: [
|
|
11039
11141
|
]
|
|
11040
11142
|
},
|
|
@@ -11079,6 +11181,12 @@ var MarketsFacet = [
|
|
|
11079
11181
|
name: "VenueNotFound",
|
|
11080
11182
|
inputs: [
|
|
11081
11183
|
]
|
|
11184
|
+
},
|
|
11185
|
+
{
|
|
11186
|
+
type: "error",
|
|
11187
|
+
name: "VenueSuspended",
|
|
11188
|
+
inputs: [
|
|
11189
|
+
]
|
|
11082
11190
|
}
|
|
11083
11191
|
];
|
|
11084
11192
|
|
|
@@ -11097,6 +11205,30 @@ var LimitOrdersFacet = [
|
|
|
11097
11205
|
],
|
|
11098
11206
|
stateMutability: "nonpayable"
|
|
11099
11207
|
},
|
|
11208
|
+
{
|
|
11209
|
+
type: "function",
|
|
11210
|
+
name: "cancelOrdersOnResolvedMarket",
|
|
11211
|
+
inputs: [
|
|
11212
|
+
{
|
|
11213
|
+
name: "marketId",
|
|
11214
|
+
type: "uint256",
|
|
11215
|
+
internalType: "uint256"
|
|
11216
|
+
},
|
|
11217
|
+
{
|
|
11218
|
+
name: "orderIds",
|
|
11219
|
+
type: "uint256[]",
|
|
11220
|
+
internalType: "uint256[]"
|
|
11221
|
+
}
|
|
11222
|
+
],
|
|
11223
|
+
outputs: [
|
|
11224
|
+
{
|
|
11225
|
+
name: "cancelledCount",
|
|
11226
|
+
type: "uint256",
|
|
11227
|
+
internalType: "uint256"
|
|
11228
|
+
}
|
|
11229
|
+
],
|
|
11230
|
+
stateMutability: "nonpayable"
|
|
11231
|
+
},
|
|
11100
11232
|
{
|
|
11101
11233
|
type: "function",
|
|
11102
11234
|
name: "expireOrders",
|
|
@@ -11413,6 +11545,12 @@ var LimitOrdersFacet = [
|
|
|
11413
11545
|
inputs: [
|
|
11414
11546
|
]
|
|
11415
11547
|
},
|
|
11548
|
+
{
|
|
11549
|
+
type: "error",
|
|
11550
|
+
name: "BatchTooLarge",
|
|
11551
|
+
inputs: [
|
|
11552
|
+
]
|
|
11553
|
+
},
|
|
11416
11554
|
{
|
|
11417
11555
|
type: "error",
|
|
11418
11556
|
name: "InvalidOutcome",
|
|
@@ -11439,19 +11577,19 @@ var LimitOrdersFacet = [
|
|
|
11439
11577
|
},
|
|
11440
11578
|
{
|
|
11441
11579
|
type: "error",
|
|
11442
|
-
name: "
|
|
11580
|
+
name: "MarketNotResolved",
|
|
11443
11581
|
inputs: [
|
|
11444
11582
|
]
|
|
11445
11583
|
},
|
|
11446
11584
|
{
|
|
11447
11585
|
type: "error",
|
|
11448
|
-
name: "
|
|
11586
|
+
name: "MarketPaused",
|
|
11449
11587
|
inputs: [
|
|
11450
11588
|
]
|
|
11451
11589
|
},
|
|
11452
11590
|
{
|
|
11453
11591
|
type: "error",
|
|
11454
|
-
name: "
|
|
11592
|
+
name: "OrderExpired",
|
|
11455
11593
|
inputs: [
|
|
11456
11594
|
]
|
|
11457
11595
|
},
|
|
@@ -11461,6 +11599,30 @@ var LimitOrdersFacet = [
|
|
|
11461
11599
|
inputs: [
|
|
11462
11600
|
]
|
|
11463
11601
|
},
|
|
11602
|
+
{
|
|
11603
|
+
type: "error",
|
|
11604
|
+
name: "ProtocolPaused",
|
|
11605
|
+
inputs: [
|
|
11606
|
+
]
|
|
11607
|
+
},
|
|
11608
|
+
{
|
|
11609
|
+
type: "error",
|
|
11610
|
+
name: "TradingAccessDenied",
|
|
11611
|
+
inputs: [
|
|
11612
|
+
]
|
|
11613
|
+
},
|
|
11614
|
+
{
|
|
11615
|
+
type: "error",
|
|
11616
|
+
name: "TransferFailed",
|
|
11617
|
+
inputs: [
|
|
11618
|
+
]
|
|
11619
|
+
},
|
|
11620
|
+
{
|
|
11621
|
+
type: "error",
|
|
11622
|
+
name: "TransferFromFailed",
|
|
11623
|
+
inputs: [
|
|
11624
|
+
]
|
|
11625
|
+
},
|
|
11464
11626
|
{
|
|
11465
11627
|
type: "error",
|
|
11466
11628
|
name: "VenueInactive",
|
|
@@ -11472,6 +11634,12 @@ var LimitOrdersFacet = [
|
|
|
11472
11634
|
name: "VenueNotFound",
|
|
11473
11635
|
inputs: [
|
|
11474
11636
|
]
|
|
11637
|
+
},
|
|
11638
|
+
{
|
|
11639
|
+
type: "error",
|
|
11640
|
+
name: "VenueSuspended",
|
|
11641
|
+
inputs: [
|
|
11642
|
+
]
|
|
11475
11643
|
}
|
|
11476
11644
|
];
|
|
11477
11645
|
|
|
@@ -11637,46 +11805,78 @@ var MatchingFacet = [
|
|
|
11637
11805
|
},
|
|
11638
11806
|
{
|
|
11639
11807
|
type: "event",
|
|
11640
|
-
name: "
|
|
11808
|
+
name: "OrderDeleted",
|
|
11641
11809
|
inputs: [
|
|
11642
11810
|
{
|
|
11643
|
-
name: "
|
|
11811
|
+
name: "orderId",
|
|
11644
11812
|
type: "uint256",
|
|
11645
11813
|
indexed: true,
|
|
11646
11814
|
internalType: "uint256"
|
|
11647
|
-
}
|
|
11815
|
+
}
|
|
11816
|
+
],
|
|
11817
|
+
anonymous: false
|
|
11818
|
+
},
|
|
11819
|
+
{
|
|
11820
|
+
type: "event",
|
|
11821
|
+
name: "OrderExpired",
|
|
11822
|
+
inputs: [
|
|
11648
11823
|
{
|
|
11649
|
-
name: "
|
|
11824
|
+
name: "orderId",
|
|
11650
11825
|
type: "uint256",
|
|
11651
11826
|
indexed: true,
|
|
11652
11827
|
internalType: "uint256"
|
|
11653
11828
|
},
|
|
11654
11829
|
{
|
|
11655
|
-
name: "
|
|
11656
|
-
type: "
|
|
11830
|
+
name: "owner",
|
|
11831
|
+
type: "address",
|
|
11657
11832
|
indexed: true,
|
|
11658
|
-
internalType: "
|
|
11833
|
+
internalType: "address"
|
|
11659
11834
|
},
|
|
11660
11835
|
{
|
|
11661
|
-
name: "
|
|
11836
|
+
name: "qty",
|
|
11662
11837
|
type: "uint256",
|
|
11663
11838
|
indexed: false,
|
|
11664
11839
|
internalType: "uint256"
|
|
11665
|
-
}
|
|
11840
|
+
}
|
|
11841
|
+
],
|
|
11842
|
+
anonymous: false
|
|
11843
|
+
},
|
|
11844
|
+
{
|
|
11845
|
+
type: "event",
|
|
11846
|
+
name: "OrderFilled",
|
|
11847
|
+
inputs: [
|
|
11666
11848
|
{
|
|
11667
|
-
name: "
|
|
11849
|
+
name: "buyOrderId",
|
|
11668
11850
|
type: "uint256",
|
|
11669
|
-
indexed:
|
|
11851
|
+
indexed: true,
|
|
11670
11852
|
internalType: "uint256"
|
|
11671
11853
|
},
|
|
11672
11854
|
{
|
|
11673
|
-
name: "
|
|
11855
|
+
name: "sellOrderId",
|
|
11674
11856
|
type: "uint256",
|
|
11675
|
-
indexed:
|
|
11857
|
+
indexed: true,
|
|
11676
11858
|
internalType: "uint256"
|
|
11677
11859
|
},
|
|
11678
11860
|
{
|
|
11679
|
-
name: "
|
|
11861
|
+
name: "marketId",
|
|
11862
|
+
type: "uint256",
|
|
11863
|
+
indexed: true,
|
|
11864
|
+
internalType: "uint256"
|
|
11865
|
+
},
|
|
11866
|
+
{
|
|
11867
|
+
name: "outcomeId",
|
|
11868
|
+
type: "uint256",
|
|
11869
|
+
indexed: false,
|
|
11870
|
+
internalType: "uint256"
|
|
11871
|
+
},
|
|
11872
|
+
{
|
|
11873
|
+
name: "qty",
|
|
11874
|
+
type: "uint256",
|
|
11875
|
+
indexed: false,
|
|
11876
|
+
internalType: "uint256"
|
|
11877
|
+
},
|
|
11878
|
+
{
|
|
11879
|
+
name: "priceTick",
|
|
11680
11880
|
type: "uint256",
|
|
11681
11881
|
indexed: false,
|
|
11682
11882
|
internalType: "uint256"
|
|
@@ -11686,35 +11886,47 @@ var MatchingFacet = [
|
|
|
11686
11886
|
},
|
|
11687
11887
|
{
|
|
11688
11888
|
type: "event",
|
|
11689
|
-
name: "
|
|
11889
|
+
name: "SurplusRouted",
|
|
11690
11890
|
inputs: [
|
|
11691
11891
|
{
|
|
11692
|
-
name: "
|
|
11892
|
+
name: "marketId",
|
|
11893
|
+
type: "uint256",
|
|
11894
|
+
indexed: true,
|
|
11895
|
+
internalType: "uint256"
|
|
11896
|
+
},
|
|
11897
|
+
{
|
|
11898
|
+
name: "fillId",
|
|
11693
11899
|
type: "uint256",
|
|
11694
11900
|
indexed: true,
|
|
11695
11901
|
internalType: "uint256"
|
|
11902
|
+
},
|
|
11903
|
+
{
|
|
11904
|
+
name: "amount",
|
|
11905
|
+
type: "uint256",
|
|
11906
|
+
indexed: false,
|
|
11907
|
+
internalType: "uint256"
|
|
11696
11908
|
}
|
|
11697
11909
|
],
|
|
11698
11910
|
anonymous: false
|
|
11699
11911
|
},
|
|
11700
11912
|
{
|
|
11701
11913
|
type: "event",
|
|
11702
|
-
name: "
|
|
11914
|
+
name: "SurplusRouted",
|
|
11703
11915
|
inputs: [
|
|
11704
11916
|
{
|
|
11705
|
-
name: "
|
|
11917
|
+
name: "marketId",
|
|
11706
11918
|
type: "uint256",
|
|
11707
11919
|
indexed: true,
|
|
11708
11920
|
internalType: "uint256"
|
|
11709
11921
|
},
|
|
11710
11922
|
{
|
|
11711
|
-
name: "
|
|
11712
|
-
type: "
|
|
11923
|
+
name: "fillId",
|
|
11924
|
+
type: "uint256",
|
|
11713
11925
|
indexed: true,
|
|
11714
|
-
internalType: "
|
|
11926
|
+
internalType: "uint256"
|
|
11715
11927
|
},
|
|
11716
11928
|
{
|
|
11717
|
-
name: "
|
|
11929
|
+
name: "amount",
|
|
11718
11930
|
type: "uint256",
|
|
11719
11931
|
indexed: false,
|
|
11720
11932
|
internalType: "uint256"
|
|
@@ -11724,20 +11936,39 @@ var MatchingFacet = [
|
|
|
11724
11936
|
},
|
|
11725
11937
|
{
|
|
11726
11938
|
type: "event",
|
|
11727
|
-
name: "
|
|
11939
|
+
name: "TopOfBookChanged",
|
|
11728
11940
|
inputs: [
|
|
11729
11941
|
{
|
|
11730
|
-
name: "
|
|
11942
|
+
name: "marketId",
|
|
11731
11943
|
type: "uint256",
|
|
11732
11944
|
indexed: true,
|
|
11733
11945
|
internalType: "uint256"
|
|
11734
11946
|
},
|
|
11735
11947
|
{
|
|
11736
|
-
name: "
|
|
11948
|
+
name: "outcomeId",
|
|
11737
11949
|
type: "uint256",
|
|
11738
11950
|
indexed: true,
|
|
11739
11951
|
internalType: "uint256"
|
|
11740
11952
|
},
|
|
11953
|
+
{
|
|
11954
|
+
name: "side",
|
|
11955
|
+
type: "uint8",
|
|
11956
|
+
indexed: false,
|
|
11957
|
+
internalType: "enum Side"
|
|
11958
|
+
},
|
|
11959
|
+
{
|
|
11960
|
+
name: "bestTick",
|
|
11961
|
+
type: "uint256",
|
|
11962
|
+
indexed: false,
|
|
11963
|
+
internalType: "uint256"
|
|
11964
|
+
}
|
|
11965
|
+
],
|
|
11966
|
+
anonymous: false
|
|
11967
|
+
},
|
|
11968
|
+
{
|
|
11969
|
+
type: "event",
|
|
11970
|
+
name: "TradeExecuted",
|
|
11971
|
+
inputs: [
|
|
11741
11972
|
{
|
|
11742
11973
|
name: "marketId",
|
|
11743
11974
|
type: "uint256",
|
|
@@ -11747,17 +11978,35 @@ var MatchingFacet = [
|
|
|
11747
11978
|
{
|
|
11748
11979
|
name: "outcomeId",
|
|
11749
11980
|
type: "uint256",
|
|
11981
|
+
indexed: true,
|
|
11982
|
+
internalType: "uint256"
|
|
11983
|
+
},
|
|
11984
|
+
{
|
|
11985
|
+
name: "fillId",
|
|
11986
|
+
type: "uint256",
|
|
11987
|
+
indexed: true,
|
|
11988
|
+
internalType: "uint256"
|
|
11989
|
+
},
|
|
11990
|
+
{
|
|
11991
|
+
name: "priceTick",
|
|
11992
|
+
type: "uint256",
|
|
11750
11993
|
indexed: false,
|
|
11751
11994
|
internalType: "uint256"
|
|
11752
11995
|
},
|
|
11753
11996
|
{
|
|
11754
|
-
name: "
|
|
11997
|
+
name: "quantity",
|
|
11755
11998
|
type: "uint256",
|
|
11756
11999
|
indexed: false,
|
|
11757
12000
|
internalType: "uint256"
|
|
11758
12001
|
},
|
|
11759
12002
|
{
|
|
11760
|
-
name: "
|
|
12003
|
+
name: "cumulativeVolume",
|
|
12004
|
+
type: "uint256",
|
|
12005
|
+
indexed: false,
|
|
12006
|
+
internalType: "uint256"
|
|
12007
|
+
},
|
|
12008
|
+
{
|
|
12009
|
+
name: "timestamp",
|
|
11761
12010
|
type: "uint256",
|
|
11762
12011
|
indexed: false,
|
|
11763
12012
|
internalType: "uint256"
|
|
@@ -11767,7 +12016,7 @@ var MatchingFacet = [
|
|
|
11767
12016
|
},
|
|
11768
12017
|
{
|
|
11769
12018
|
type: "event",
|
|
11770
|
-
name: "
|
|
12019
|
+
name: "TradeExecuted",
|
|
11771
12020
|
inputs: [
|
|
11772
12021
|
{
|
|
11773
12022
|
name: "marketId",
|
|
@@ -11782,13 +12031,31 @@ var MatchingFacet = [
|
|
|
11782
12031
|
internalType: "uint256"
|
|
11783
12032
|
},
|
|
11784
12033
|
{
|
|
11785
|
-
name: "
|
|
11786
|
-
type: "
|
|
12034
|
+
name: "fillId",
|
|
12035
|
+
type: "uint256",
|
|
12036
|
+
indexed: true,
|
|
12037
|
+
internalType: "uint256"
|
|
12038
|
+
},
|
|
12039
|
+
{
|
|
12040
|
+
name: "priceTick",
|
|
12041
|
+
type: "uint256",
|
|
11787
12042
|
indexed: false,
|
|
11788
|
-
internalType: "
|
|
12043
|
+
internalType: "uint256"
|
|
11789
12044
|
},
|
|
11790
12045
|
{
|
|
11791
|
-
name: "
|
|
12046
|
+
name: "quantity",
|
|
12047
|
+
type: "uint256",
|
|
12048
|
+
indexed: false,
|
|
12049
|
+
internalType: "uint256"
|
|
12050
|
+
},
|
|
12051
|
+
{
|
|
12052
|
+
name: "cumulativeVolume",
|
|
12053
|
+
type: "uint256",
|
|
12054
|
+
indexed: false,
|
|
12055
|
+
internalType: "uint256"
|
|
12056
|
+
},
|
|
12057
|
+
{
|
|
12058
|
+
name: "timestamp",
|
|
11792
12059
|
type: "uint256",
|
|
11793
12060
|
indexed: false,
|
|
11794
12061
|
internalType: "uint256"
|
|
@@ -11808,6 +12075,18 @@ var MatchingFacet = [
|
|
|
11808
12075
|
inputs: [
|
|
11809
12076
|
]
|
|
11810
12077
|
},
|
|
12078
|
+
{
|
|
12079
|
+
type: "error",
|
|
12080
|
+
name: "MarketPaused",
|
|
12081
|
+
inputs: [
|
|
12082
|
+
]
|
|
12083
|
+
},
|
|
12084
|
+
{
|
|
12085
|
+
type: "error",
|
|
12086
|
+
name: "ProtocolPaused",
|
|
12087
|
+
inputs: [
|
|
12088
|
+
]
|
|
12089
|
+
},
|
|
11811
12090
|
{
|
|
11812
12091
|
type: "error",
|
|
11813
12092
|
name: "TransferFailed",
|
|
@@ -11825,6 +12104,12 @@ var MatchingFacet = [
|
|
|
11825
12104
|
name: "VenueNotFound",
|
|
11826
12105
|
inputs: [
|
|
11827
12106
|
]
|
|
12107
|
+
},
|
|
12108
|
+
{
|
|
12109
|
+
type: "error",
|
|
12110
|
+
name: "VenueSuspended",
|
|
12111
|
+
inputs: [
|
|
12112
|
+
]
|
|
11828
12113
|
}
|
|
11829
12114
|
];
|
|
11830
12115
|
|
|
@@ -12429,6 +12714,12 @@ var MarketGroupFacet = [
|
|
|
12429
12714
|
],
|
|
12430
12715
|
anonymous: false
|
|
12431
12716
|
},
|
|
12717
|
+
{
|
|
12718
|
+
type: "error",
|
|
12719
|
+
name: "CollateralNotWhitelisted",
|
|
12720
|
+
inputs: [
|
|
12721
|
+
]
|
|
12722
|
+
},
|
|
12432
12723
|
{
|
|
12433
12724
|
type: "error",
|
|
12434
12725
|
name: "CreationAccessDenied",
|
|
@@ -12453,6 +12744,12 @@ var MarketGroupFacet = [
|
|
|
12453
12744
|
inputs: [
|
|
12454
12745
|
]
|
|
12455
12746
|
},
|
|
12747
|
+
{
|
|
12748
|
+
type: "error",
|
|
12749
|
+
name: "InvalidTickSize",
|
|
12750
|
+
inputs: [
|
|
12751
|
+
]
|
|
12752
|
+
},
|
|
12456
12753
|
{
|
|
12457
12754
|
type: "error",
|
|
12458
12755
|
name: "MarketGroupNotFound",
|
|
@@ -12465,6 +12762,12 @@ var MarketGroupFacet = [
|
|
|
12465
12762
|
inputs: [
|
|
12466
12763
|
]
|
|
12467
12764
|
},
|
|
12765
|
+
{
|
|
12766
|
+
type: "error",
|
|
12767
|
+
name: "ProtocolPaused",
|
|
12768
|
+
inputs: [
|
|
12769
|
+
]
|
|
12770
|
+
},
|
|
12468
12771
|
{
|
|
12469
12772
|
type: "error",
|
|
12470
12773
|
name: "TooManyTags",
|
|
@@ -12488,6 +12791,12 @@ var MarketGroupFacet = [
|
|
|
12488
12791
|
name: "VenueNotFound",
|
|
12489
12792
|
inputs: [
|
|
12490
12793
|
]
|
|
12794
|
+
},
|
|
12795
|
+
{
|
|
12796
|
+
type: "error",
|
|
12797
|
+
name: "VenueSuspended",
|
|
12798
|
+
inputs: [
|
|
12799
|
+
]
|
|
12491
12800
|
}
|
|
12492
12801
|
];
|
|
12493
12802
|
|
|
@@ -12553,6 +12862,67 @@ var MarketOrdersFacet = [
|
|
|
12553
12862
|
],
|
|
12554
12863
|
stateMutability: "nonpayable"
|
|
12555
12864
|
},
|
|
12865
|
+
{
|
|
12866
|
+
type: "function",
|
|
12867
|
+
name: "placeMarketSell",
|
|
12868
|
+
inputs: [
|
|
12869
|
+
{
|
|
12870
|
+
name: "marketId",
|
|
12871
|
+
type: "uint256",
|
|
12872
|
+
internalType: "uint256"
|
|
12873
|
+
},
|
|
12874
|
+
{
|
|
12875
|
+
name: "outcomeId",
|
|
12876
|
+
type: "uint256",
|
|
12877
|
+
internalType: "uint256"
|
|
12878
|
+
},
|
|
12879
|
+
{
|
|
12880
|
+
name: "tokenAmount",
|
|
12881
|
+
type: "uint256",
|
|
12882
|
+
internalType: "uint256"
|
|
12883
|
+
},
|
|
12884
|
+
{
|
|
12885
|
+
name: "minPriceTick",
|
|
12886
|
+
type: "uint256",
|
|
12887
|
+
internalType: "uint256"
|
|
12888
|
+
},
|
|
12889
|
+
{
|
|
12890
|
+
name: "orderType",
|
|
12891
|
+
type: "uint8",
|
|
12892
|
+
internalType: "enum MarketOrderType"
|
|
12893
|
+
}
|
|
12894
|
+
],
|
|
12895
|
+
outputs: [
|
|
12896
|
+
{
|
|
12897
|
+
name: "result",
|
|
12898
|
+
type: "tuple",
|
|
12899
|
+
internalType: "struct MarketSellResult",
|
|
12900
|
+
components: [
|
|
12901
|
+
{
|
|
12902
|
+
name: "tokensSold",
|
|
12903
|
+
type: "uint256",
|
|
12904
|
+
internalType: "uint256"
|
|
12905
|
+
},
|
|
12906
|
+
{
|
|
12907
|
+
name: "avgPrice",
|
|
12908
|
+
type: "uint256",
|
|
12909
|
+
internalType: "uint256"
|
|
12910
|
+
},
|
|
12911
|
+
{
|
|
12912
|
+
name: "collateralReceived",
|
|
12913
|
+
type: "uint256",
|
|
12914
|
+
internalType: "uint256"
|
|
12915
|
+
},
|
|
12916
|
+
{
|
|
12917
|
+
name: "unsoldTokens",
|
|
12918
|
+
type: "uint256",
|
|
12919
|
+
internalType: "uint256"
|
|
12920
|
+
}
|
|
12921
|
+
]
|
|
12922
|
+
}
|
|
12923
|
+
],
|
|
12924
|
+
stateMutability: "nonpayable"
|
|
12925
|
+
},
|
|
12556
12926
|
{
|
|
12557
12927
|
type: "event",
|
|
12558
12928
|
name: "FeesDistributed",
|
|
@@ -12653,46 +13023,14 @@ var MarketOrdersFacet = [
|
|
|
12653
13023
|
},
|
|
12654
13024
|
{
|
|
12655
13025
|
type: "event",
|
|
12656
|
-
name: "
|
|
12657
|
-
inputs: [
|
|
12658
|
-
{
|
|
12659
|
-
name: "orderId",
|
|
12660
|
-
type: "uint256",
|
|
12661
|
-
indexed: true,
|
|
12662
|
-
internalType: "uint256"
|
|
12663
|
-
}
|
|
12664
|
-
],
|
|
12665
|
-
anonymous: false
|
|
12666
|
-
},
|
|
12667
|
-
{
|
|
12668
|
-
type: "event",
|
|
12669
|
-
name: "OrderExpired",
|
|
13026
|
+
name: "MarketSellExecuted",
|
|
12670
13027
|
inputs: [
|
|
12671
13028
|
{
|
|
12672
|
-
name: "
|
|
12673
|
-
type: "uint256",
|
|
12674
|
-
indexed: true,
|
|
12675
|
-
internalType: "uint256"
|
|
12676
|
-
},
|
|
12677
|
-
{
|
|
12678
|
-
name: "owner",
|
|
13029
|
+
name: "seller",
|
|
12679
13030
|
type: "address",
|
|
12680
13031
|
indexed: true,
|
|
12681
13032
|
internalType: "address"
|
|
12682
13033
|
},
|
|
12683
|
-
{
|
|
12684
|
-
name: "qty",
|
|
12685
|
-
type: "uint256",
|
|
12686
|
-
indexed: false,
|
|
12687
|
-
internalType: "uint256"
|
|
12688
|
-
}
|
|
12689
|
-
],
|
|
12690
|
-
anonymous: false
|
|
12691
|
-
},
|
|
12692
|
-
{
|
|
12693
|
-
type: "event",
|
|
12694
|
-
name: "TopOfBookChanged",
|
|
12695
|
-
inputs: [
|
|
12696
13034
|
{
|
|
12697
13035
|
name: "marketId",
|
|
12698
13036
|
type: "uint256",
|
|
@@ -12702,14 +13040,95 @@ var MarketOrdersFacet = [
|
|
|
12702
13040
|
{
|
|
12703
13041
|
name: "outcomeId",
|
|
12704
13042
|
type: "uint256",
|
|
12705
|
-
indexed:
|
|
13043
|
+
indexed: false,
|
|
12706
13044
|
internalType: "uint256"
|
|
12707
13045
|
},
|
|
12708
13046
|
{
|
|
12709
|
-
name: "
|
|
12710
|
-
type: "
|
|
13047
|
+
name: "tokensSold",
|
|
13048
|
+
type: "uint256",
|
|
12711
13049
|
indexed: false,
|
|
12712
|
-
internalType: "
|
|
13050
|
+
internalType: "uint256"
|
|
13051
|
+
},
|
|
13052
|
+
{
|
|
13053
|
+
name: "collateralReceived",
|
|
13054
|
+
type: "uint256",
|
|
13055
|
+
indexed: false,
|
|
13056
|
+
internalType: "uint256"
|
|
13057
|
+
},
|
|
13058
|
+
{
|
|
13059
|
+
name: "avgPrice",
|
|
13060
|
+
type: "uint256",
|
|
13061
|
+
indexed: false,
|
|
13062
|
+
internalType: "uint256"
|
|
13063
|
+
},
|
|
13064
|
+
{
|
|
13065
|
+
name: "unsoldTokens",
|
|
13066
|
+
type: "uint256",
|
|
13067
|
+
indexed: false,
|
|
13068
|
+
internalType: "uint256"
|
|
13069
|
+
}
|
|
13070
|
+
],
|
|
13071
|
+
anonymous: false
|
|
13072
|
+
},
|
|
13073
|
+
{
|
|
13074
|
+
type: "event",
|
|
13075
|
+
name: "OrderDeleted",
|
|
13076
|
+
inputs: [
|
|
13077
|
+
{
|
|
13078
|
+
name: "orderId",
|
|
13079
|
+
type: "uint256",
|
|
13080
|
+
indexed: true,
|
|
13081
|
+
internalType: "uint256"
|
|
13082
|
+
}
|
|
13083
|
+
],
|
|
13084
|
+
anonymous: false
|
|
13085
|
+
},
|
|
13086
|
+
{
|
|
13087
|
+
type: "event",
|
|
13088
|
+
name: "OrderExpired",
|
|
13089
|
+
inputs: [
|
|
13090
|
+
{
|
|
13091
|
+
name: "orderId",
|
|
13092
|
+
type: "uint256",
|
|
13093
|
+
indexed: true,
|
|
13094
|
+
internalType: "uint256"
|
|
13095
|
+
},
|
|
13096
|
+
{
|
|
13097
|
+
name: "owner",
|
|
13098
|
+
type: "address",
|
|
13099
|
+
indexed: true,
|
|
13100
|
+
internalType: "address"
|
|
13101
|
+
},
|
|
13102
|
+
{
|
|
13103
|
+
name: "qty",
|
|
13104
|
+
type: "uint256",
|
|
13105
|
+
indexed: false,
|
|
13106
|
+
internalType: "uint256"
|
|
13107
|
+
}
|
|
13108
|
+
],
|
|
13109
|
+
anonymous: false
|
|
13110
|
+
},
|
|
13111
|
+
{
|
|
13112
|
+
type: "event",
|
|
13113
|
+
name: "TopOfBookChanged",
|
|
13114
|
+
inputs: [
|
|
13115
|
+
{
|
|
13116
|
+
name: "marketId",
|
|
13117
|
+
type: "uint256",
|
|
13118
|
+
indexed: true,
|
|
13119
|
+
internalType: "uint256"
|
|
13120
|
+
},
|
|
13121
|
+
{
|
|
13122
|
+
name: "outcomeId",
|
|
13123
|
+
type: "uint256",
|
|
13124
|
+
indexed: true,
|
|
13125
|
+
internalType: "uint256"
|
|
13126
|
+
},
|
|
13127
|
+
{
|
|
13128
|
+
name: "side",
|
|
13129
|
+
type: "uint8",
|
|
13130
|
+
indexed: false,
|
|
13131
|
+
internalType: "enum Side"
|
|
12713
13132
|
},
|
|
12714
13133
|
{
|
|
12715
13134
|
name: "bestTick",
|
|
@@ -12732,6 +13151,12 @@ var MarketOrdersFacet = [
|
|
|
12732
13151
|
inputs: [
|
|
12733
13152
|
]
|
|
12734
13153
|
},
|
|
13154
|
+
{
|
|
13155
|
+
type: "error",
|
|
13156
|
+
name: "InvalidMinPrice",
|
|
13157
|
+
inputs: [
|
|
13158
|
+
]
|
|
13159
|
+
},
|
|
12735
13160
|
{
|
|
12736
13161
|
type: "error",
|
|
12737
13162
|
name: "InvalidOutcome",
|
|
@@ -12746,19 +13171,37 @@ var MarketOrdersFacet = [
|
|
|
12746
13171
|
},
|
|
12747
13172
|
{
|
|
12748
13173
|
type: "error",
|
|
12749
|
-
name: "
|
|
13174
|
+
name: "MarketPaused",
|
|
12750
13175
|
inputs: [
|
|
12751
13176
|
]
|
|
12752
13177
|
},
|
|
12753
13178
|
{
|
|
12754
13179
|
type: "error",
|
|
12755
|
-
name: "
|
|
13180
|
+
name: "NoLiquidityAvailable",
|
|
12756
13181
|
inputs: [
|
|
12757
13182
|
]
|
|
12758
13183
|
},
|
|
12759
13184
|
{
|
|
12760
13185
|
type: "error",
|
|
12761
|
-
name: "
|
|
13186
|
+
name: "ProtocolPaused",
|
|
13187
|
+
inputs: [
|
|
13188
|
+
]
|
|
13189
|
+
},
|
|
13190
|
+
{
|
|
13191
|
+
type: "error",
|
|
13192
|
+
name: "TradingAccessDenied",
|
|
13193
|
+
inputs: [
|
|
13194
|
+
]
|
|
13195
|
+
},
|
|
13196
|
+
{
|
|
13197
|
+
type: "error",
|
|
13198
|
+
name: "TransferFailed",
|
|
13199
|
+
inputs: [
|
|
13200
|
+
]
|
|
13201
|
+
},
|
|
13202
|
+
{
|
|
13203
|
+
type: "error",
|
|
13204
|
+
name: "TransferFromFailed",
|
|
12762
13205
|
inputs: [
|
|
12763
13206
|
]
|
|
12764
13207
|
},
|
|
@@ -12773,6 +13216,24 @@ var MarketOrdersFacet = [
|
|
|
12773
13216
|
name: "VenueNotFound",
|
|
12774
13217
|
inputs: [
|
|
12775
13218
|
]
|
|
13219
|
+
},
|
|
13220
|
+
{
|
|
13221
|
+
type: "error",
|
|
13222
|
+
name: "VenueSuspended",
|
|
13223
|
+
inputs: [
|
|
13224
|
+
]
|
|
13225
|
+
},
|
|
13226
|
+
{
|
|
13227
|
+
type: "error",
|
|
13228
|
+
name: "ZeroCollateralAmount",
|
|
13229
|
+
inputs: [
|
|
13230
|
+
]
|
|
13231
|
+
},
|
|
13232
|
+
{
|
|
13233
|
+
type: "error",
|
|
13234
|
+
name: "ZeroTokenAmount",
|
|
13235
|
+
inputs: [
|
|
13236
|
+
]
|
|
12776
13237
|
}
|
|
12777
13238
|
];
|
|
12778
13239
|
|
|
@@ -12990,6 +13451,50 @@ var ResolutionFacet = [
|
|
|
12990
13451
|
],
|
|
12991
13452
|
anonymous: false
|
|
12992
13453
|
},
|
|
13454
|
+
{
|
|
13455
|
+
type: "event",
|
|
13456
|
+
name: "MarketGroupResolved",
|
|
13457
|
+
inputs: [
|
|
13458
|
+
{
|
|
13459
|
+
name: "groupId",
|
|
13460
|
+
type: "uint256",
|
|
13461
|
+
indexed: true,
|
|
13462
|
+
internalType: "uint256"
|
|
13463
|
+
},
|
|
13464
|
+
{
|
|
13465
|
+
name: "winningMarketId",
|
|
13466
|
+
type: "uint256",
|
|
13467
|
+
indexed: true,
|
|
13468
|
+
internalType: "uint256"
|
|
13469
|
+
}
|
|
13470
|
+
],
|
|
13471
|
+
anonymous: false
|
|
13472
|
+
},
|
|
13473
|
+
{
|
|
13474
|
+
type: "event",
|
|
13475
|
+
name: "MarketResolved",
|
|
13476
|
+
inputs: [
|
|
13477
|
+
{
|
|
13478
|
+
name: "marketId",
|
|
13479
|
+
type: "uint256",
|
|
13480
|
+
indexed: true,
|
|
13481
|
+
internalType: "uint256"
|
|
13482
|
+
},
|
|
13483
|
+
{
|
|
13484
|
+
name: "questionId",
|
|
13485
|
+
type: "bytes32",
|
|
13486
|
+
indexed: true,
|
|
13487
|
+
internalType: "bytes32"
|
|
13488
|
+
},
|
|
13489
|
+
{
|
|
13490
|
+
name: "outcome",
|
|
13491
|
+
type: "string",
|
|
13492
|
+
indexed: false,
|
|
13493
|
+
internalType: "string"
|
|
13494
|
+
}
|
|
13495
|
+
],
|
|
13496
|
+
anonymous: false
|
|
13497
|
+
},
|
|
12993
13498
|
{
|
|
12994
13499
|
type: "event",
|
|
12995
13500
|
name: "MarketResolved",
|
|
@@ -13176,6 +13681,69 @@ var VaultFacet = [
|
|
|
13176
13681
|
],
|
|
13177
13682
|
stateMutability: "nonpayable"
|
|
13178
13683
|
},
|
|
13684
|
+
{
|
|
13685
|
+
type: "event",
|
|
13686
|
+
name: "CtfUpdated",
|
|
13687
|
+
inputs: [
|
|
13688
|
+
{
|
|
13689
|
+
name: "ctf",
|
|
13690
|
+
type: "address",
|
|
13691
|
+
indexed: true,
|
|
13692
|
+
internalType: "address"
|
|
13693
|
+
}
|
|
13694
|
+
],
|
|
13695
|
+
anonymous: false
|
|
13696
|
+
},
|
|
13697
|
+
{
|
|
13698
|
+
type: "event",
|
|
13699
|
+
name: "PositionSplit",
|
|
13700
|
+
inputs: [
|
|
13701
|
+
{
|
|
13702
|
+
name: "trader",
|
|
13703
|
+
type: "address",
|
|
13704
|
+
indexed: true,
|
|
13705
|
+
internalType: "address"
|
|
13706
|
+
},
|
|
13707
|
+
{
|
|
13708
|
+
name: "marketId",
|
|
13709
|
+
type: "uint256",
|
|
13710
|
+
indexed: true,
|
|
13711
|
+
internalType: "uint256"
|
|
13712
|
+
},
|
|
13713
|
+
{
|
|
13714
|
+
name: "amount",
|
|
13715
|
+
type: "uint256",
|
|
13716
|
+
indexed: false,
|
|
13717
|
+
internalType: "uint256"
|
|
13718
|
+
}
|
|
13719
|
+
],
|
|
13720
|
+
anonymous: false
|
|
13721
|
+
},
|
|
13722
|
+
{
|
|
13723
|
+
type: "event",
|
|
13724
|
+
name: "PositionsMerged",
|
|
13725
|
+
inputs: [
|
|
13726
|
+
{
|
|
13727
|
+
name: "trader",
|
|
13728
|
+
type: "address",
|
|
13729
|
+
indexed: true,
|
|
13730
|
+
internalType: "address"
|
|
13731
|
+
},
|
|
13732
|
+
{
|
|
13733
|
+
name: "marketId",
|
|
13734
|
+
type: "uint256",
|
|
13735
|
+
indexed: true,
|
|
13736
|
+
internalType: "uint256"
|
|
13737
|
+
},
|
|
13738
|
+
{
|
|
13739
|
+
name: "amount",
|
|
13740
|
+
type: "uint256",
|
|
13741
|
+
indexed: false,
|
|
13742
|
+
internalType: "uint256"
|
|
13743
|
+
}
|
|
13744
|
+
],
|
|
13745
|
+
anonymous: false
|
|
13746
|
+
},
|
|
13179
13747
|
{
|
|
13180
13748
|
type: "error",
|
|
13181
13749
|
name: "ApproveFailed",
|
|
@@ -13194,6 +13762,34 @@ var VaultFacet = [
|
|
|
13194
13762
|
inputs: [
|
|
13195
13763
|
]
|
|
13196
13764
|
},
|
|
13765
|
+
{
|
|
13766
|
+
type: "error",
|
|
13767
|
+
name: "MarketPaused",
|
|
13768
|
+
inputs: [
|
|
13769
|
+
]
|
|
13770
|
+
},
|
|
13771
|
+
{
|
|
13772
|
+
type: "error",
|
|
13773
|
+
name: "NotContractOwner",
|
|
13774
|
+
inputs: [
|
|
13775
|
+
{
|
|
13776
|
+
name: "_user",
|
|
13777
|
+
type: "address",
|
|
13778
|
+
internalType: "address"
|
|
13779
|
+
},
|
|
13780
|
+
{
|
|
13781
|
+
name: "_contractOwner",
|
|
13782
|
+
type: "address",
|
|
13783
|
+
internalType: "address"
|
|
13784
|
+
}
|
|
13785
|
+
]
|
|
13786
|
+
},
|
|
13787
|
+
{
|
|
13788
|
+
type: "error",
|
|
13789
|
+
name: "ProtocolPaused",
|
|
13790
|
+
inputs: [
|
|
13791
|
+
]
|
|
13792
|
+
},
|
|
13197
13793
|
{
|
|
13198
13794
|
type: "error",
|
|
13199
13795
|
name: "TransferFailed",
|
|
@@ -13205,6 +13801,24 @@ var VaultFacet = [
|
|
|
13205
13801
|
name: "TransferFromFailed",
|
|
13206
13802
|
inputs: [
|
|
13207
13803
|
]
|
|
13804
|
+
},
|
|
13805
|
+
{
|
|
13806
|
+
type: "error",
|
|
13807
|
+
name: "VenueInactive",
|
|
13808
|
+
inputs: [
|
|
13809
|
+
]
|
|
13810
|
+
},
|
|
13811
|
+
{
|
|
13812
|
+
type: "error",
|
|
13813
|
+
name: "VenueNotFound",
|
|
13814
|
+
inputs: [
|
|
13815
|
+
]
|
|
13816
|
+
},
|
|
13817
|
+
{
|
|
13818
|
+
type: "error",
|
|
13819
|
+
name: "VenueSuspended",
|
|
13820
|
+
inputs: [
|
|
13821
|
+
]
|
|
13208
13822
|
}
|
|
13209
13823
|
];
|
|
13210
13824
|
|
|
@@ -13281,6 +13895,20 @@ var NegRiskFacet = [
|
|
|
13281
13895
|
];
|
|
13282
13896
|
|
|
13283
13897
|
var ProtocolFacet = [
|
|
13898
|
+
{
|
|
13899
|
+
type: "function",
|
|
13900
|
+
name: "getProtocolPaused",
|
|
13901
|
+
inputs: [
|
|
13902
|
+
],
|
|
13903
|
+
outputs: [
|
|
13904
|
+
{
|
|
13905
|
+
name: "",
|
|
13906
|
+
type: "bool",
|
|
13907
|
+
internalType: "bool"
|
|
13908
|
+
}
|
|
13909
|
+
],
|
|
13910
|
+
stateMutability: "view"
|
|
13911
|
+
},
|
|
13284
13912
|
{
|
|
13285
13913
|
type: "function",
|
|
13286
13914
|
name: "getProtocolTreasury",
|
|
@@ -13323,6 +13951,72 @@ var ProtocolFacet = [
|
|
|
13323
13951
|
],
|
|
13324
13952
|
stateMutability: "view"
|
|
13325
13953
|
},
|
|
13954
|
+
{
|
|
13955
|
+
type: "function",
|
|
13956
|
+
name: "getVenueSuspended",
|
|
13957
|
+
inputs: [
|
|
13958
|
+
{
|
|
13959
|
+
name: "venueId",
|
|
13960
|
+
type: "uint256",
|
|
13961
|
+
internalType: "uint256"
|
|
13962
|
+
}
|
|
13963
|
+
],
|
|
13964
|
+
outputs: [
|
|
13965
|
+
{
|
|
13966
|
+
name: "",
|
|
13967
|
+
type: "bool",
|
|
13968
|
+
internalType: "bool"
|
|
13969
|
+
}
|
|
13970
|
+
],
|
|
13971
|
+
stateMutability: "view"
|
|
13972
|
+
},
|
|
13973
|
+
{
|
|
13974
|
+
type: "function",
|
|
13975
|
+
name: "isCollateralWhitelisted",
|
|
13976
|
+
inputs: [
|
|
13977
|
+
{
|
|
13978
|
+
name: "token",
|
|
13979
|
+
type: "address",
|
|
13980
|
+
internalType: "address"
|
|
13981
|
+
}
|
|
13982
|
+
],
|
|
13983
|
+
outputs: [
|
|
13984
|
+
{
|
|
13985
|
+
name: "",
|
|
13986
|
+
type: "bool",
|
|
13987
|
+
internalType: "bool"
|
|
13988
|
+
}
|
|
13989
|
+
],
|
|
13990
|
+
stateMutability: "view"
|
|
13991
|
+
},
|
|
13992
|
+
{
|
|
13993
|
+
type: "function",
|
|
13994
|
+
name: "pauseProtocol",
|
|
13995
|
+
inputs: [
|
|
13996
|
+
],
|
|
13997
|
+
outputs: [
|
|
13998
|
+
],
|
|
13999
|
+
stateMutability: "nonpayable"
|
|
14000
|
+
},
|
|
14001
|
+
{
|
|
14002
|
+
type: "function",
|
|
14003
|
+
name: "setCollateralWhitelisted",
|
|
14004
|
+
inputs: [
|
|
14005
|
+
{
|
|
14006
|
+
name: "token",
|
|
14007
|
+
type: "address",
|
|
14008
|
+
internalType: "address"
|
|
14009
|
+
},
|
|
14010
|
+
{
|
|
14011
|
+
name: "whitelisted",
|
|
14012
|
+
type: "bool",
|
|
14013
|
+
internalType: "bool"
|
|
14014
|
+
}
|
|
14015
|
+
],
|
|
14016
|
+
outputs: [
|
|
14017
|
+
],
|
|
14018
|
+
stateMutability: "nonpayable"
|
|
14019
|
+
},
|
|
13326
14020
|
{
|
|
13327
14021
|
type: "function",
|
|
13328
14022
|
name: "setProtocolTreasury",
|
|
@@ -13353,10 +14047,85 @@ var ProtocolFacet = [
|
|
|
13353
14047
|
},
|
|
13354
14048
|
{
|
|
13355
14049
|
type: "function",
|
|
13356
|
-
name: "setUmaOracle",
|
|
14050
|
+
name: "setUmaOracle",
|
|
14051
|
+
inputs: [
|
|
14052
|
+
{
|
|
14053
|
+
name: "oracle",
|
|
14054
|
+
type: "address",
|
|
14055
|
+
internalType: "address"
|
|
14056
|
+
}
|
|
14057
|
+
],
|
|
14058
|
+
outputs: [
|
|
14059
|
+
],
|
|
14060
|
+
stateMutability: "nonpayable"
|
|
14061
|
+
},
|
|
14062
|
+
{
|
|
14063
|
+
type: "function",
|
|
14064
|
+
name: "suspendVenue",
|
|
14065
|
+
inputs: [
|
|
14066
|
+
{
|
|
14067
|
+
name: "venueId",
|
|
14068
|
+
type: "uint256",
|
|
14069
|
+
internalType: "uint256"
|
|
14070
|
+
}
|
|
14071
|
+
],
|
|
14072
|
+
outputs: [
|
|
14073
|
+
],
|
|
14074
|
+
stateMutability: "nonpayable"
|
|
14075
|
+
},
|
|
14076
|
+
{
|
|
14077
|
+
type: "function",
|
|
14078
|
+
name: "unpauseProtocol",
|
|
14079
|
+
inputs: [
|
|
14080
|
+
],
|
|
14081
|
+
outputs: [
|
|
14082
|
+
],
|
|
14083
|
+
stateMutability: "nonpayable"
|
|
14084
|
+
},
|
|
14085
|
+
{
|
|
14086
|
+
type: "function",
|
|
14087
|
+
name: "unsuspendVenue",
|
|
14088
|
+
inputs: [
|
|
14089
|
+
{
|
|
14090
|
+
name: "venueId",
|
|
14091
|
+
type: "uint256",
|
|
14092
|
+
internalType: "uint256"
|
|
14093
|
+
}
|
|
14094
|
+
],
|
|
14095
|
+
outputs: [
|
|
14096
|
+
],
|
|
14097
|
+
stateMutability: "nonpayable"
|
|
14098
|
+
},
|
|
14099
|
+
{
|
|
14100
|
+
type: "function",
|
|
14101
|
+
name: "withdrawERC20",
|
|
14102
|
+
inputs: [
|
|
14103
|
+
{
|
|
14104
|
+
name: "token",
|
|
14105
|
+
type: "address",
|
|
14106
|
+
internalType: "address"
|
|
14107
|
+
},
|
|
14108
|
+
{
|
|
14109
|
+
name: "recipient",
|
|
14110
|
+
type: "address",
|
|
14111
|
+
internalType: "address"
|
|
14112
|
+
},
|
|
14113
|
+
{
|
|
14114
|
+
name: "amount",
|
|
14115
|
+
type: "uint256",
|
|
14116
|
+
internalType: "uint256"
|
|
14117
|
+
}
|
|
14118
|
+
],
|
|
14119
|
+
outputs: [
|
|
14120
|
+
],
|
|
14121
|
+
stateMutability: "nonpayable"
|
|
14122
|
+
},
|
|
14123
|
+
{
|
|
14124
|
+
type: "function",
|
|
14125
|
+
name: "withdrawETH",
|
|
13357
14126
|
inputs: [
|
|
13358
14127
|
{
|
|
13359
|
-
name: "
|
|
14128
|
+
name: "recipient",
|
|
13360
14129
|
type: "address",
|
|
13361
14130
|
internalType: "address"
|
|
13362
14131
|
}
|
|
@@ -13366,18 +14135,48 @@ var ProtocolFacet = [
|
|
|
13366
14135
|
stateMutability: "nonpayable"
|
|
13367
14136
|
},
|
|
13368
14137
|
{
|
|
13369
|
-
type: "
|
|
13370
|
-
name: "
|
|
14138
|
+
type: "event",
|
|
14139
|
+
name: "CollateralWhitelistUpdated",
|
|
13371
14140
|
inputs: [
|
|
13372
14141
|
{
|
|
13373
|
-
name: "
|
|
14142
|
+
name: "token",
|
|
13374
14143
|
type: "address",
|
|
14144
|
+
indexed: true,
|
|
13375
14145
|
internalType: "address"
|
|
14146
|
+
},
|
|
14147
|
+
{
|
|
14148
|
+
name: "whitelisted",
|
|
14149
|
+
type: "bool",
|
|
14150
|
+
indexed: false,
|
|
14151
|
+
internalType: "bool"
|
|
13376
14152
|
}
|
|
13377
14153
|
],
|
|
13378
|
-
|
|
14154
|
+
anonymous: false
|
|
14155
|
+
},
|
|
14156
|
+
{
|
|
14157
|
+
type: "event",
|
|
14158
|
+
name: "ERC20Withdrawn",
|
|
14159
|
+
inputs: [
|
|
14160
|
+
{
|
|
14161
|
+
name: "token",
|
|
14162
|
+
type: "address",
|
|
14163
|
+
indexed: true,
|
|
14164
|
+
internalType: "address"
|
|
14165
|
+
},
|
|
14166
|
+
{
|
|
14167
|
+
name: "recipient",
|
|
14168
|
+
type: "address",
|
|
14169
|
+
indexed: true,
|
|
14170
|
+
internalType: "address"
|
|
14171
|
+
},
|
|
14172
|
+
{
|
|
14173
|
+
name: "amount",
|
|
14174
|
+
type: "uint256",
|
|
14175
|
+
indexed: false,
|
|
14176
|
+
internalType: "uint256"
|
|
14177
|
+
}
|
|
13379
14178
|
],
|
|
13380
|
-
|
|
14179
|
+
anonymous: false
|
|
13381
14180
|
},
|
|
13382
14181
|
{
|
|
13383
14182
|
type: "event",
|
|
@@ -13398,6 +14197,19 @@ var ProtocolFacet = [
|
|
|
13398
14197
|
],
|
|
13399
14198
|
anonymous: false
|
|
13400
14199
|
},
|
|
14200
|
+
{
|
|
14201
|
+
type: "event",
|
|
14202
|
+
name: "ProtocolPausedEvent",
|
|
14203
|
+
inputs: [
|
|
14204
|
+
{
|
|
14205
|
+
name: "caller",
|
|
14206
|
+
type: "address",
|
|
14207
|
+
indexed: true,
|
|
14208
|
+
internalType: "address"
|
|
14209
|
+
}
|
|
14210
|
+
],
|
|
14211
|
+
anonymous: false
|
|
14212
|
+
},
|
|
13401
14213
|
{
|
|
13402
14214
|
type: "event",
|
|
13403
14215
|
name: "ProtocolTreasuryUpdated",
|
|
@@ -13411,6 +14223,19 @@ var ProtocolFacet = [
|
|
|
13411
14223
|
],
|
|
13412
14224
|
anonymous: false
|
|
13413
14225
|
},
|
|
14226
|
+
{
|
|
14227
|
+
type: "event",
|
|
14228
|
+
name: "ProtocolUnpausedEvent",
|
|
14229
|
+
inputs: [
|
|
14230
|
+
{
|
|
14231
|
+
name: "caller",
|
|
14232
|
+
type: "address",
|
|
14233
|
+
indexed: true,
|
|
14234
|
+
internalType: "address"
|
|
14235
|
+
}
|
|
14236
|
+
],
|
|
14237
|
+
anonymous: false
|
|
14238
|
+
},
|
|
13414
14239
|
{
|
|
13415
14240
|
type: "event",
|
|
13416
14241
|
name: "UmaIdentifierUpdated",
|
|
@@ -13437,6 +14262,44 @@ var ProtocolFacet = [
|
|
|
13437
14262
|
],
|
|
13438
14263
|
anonymous: false
|
|
13439
14264
|
},
|
|
14265
|
+
{
|
|
14266
|
+
type: "event",
|
|
14267
|
+
name: "VenueSuspendedEvent",
|
|
14268
|
+
inputs: [
|
|
14269
|
+
{
|
|
14270
|
+
name: "venueId",
|
|
14271
|
+
type: "uint256",
|
|
14272
|
+
indexed: true,
|
|
14273
|
+
internalType: "uint256"
|
|
14274
|
+
},
|
|
14275
|
+
{
|
|
14276
|
+
name: "caller",
|
|
14277
|
+
type: "address",
|
|
14278
|
+
indexed: true,
|
|
14279
|
+
internalType: "address"
|
|
14280
|
+
}
|
|
14281
|
+
],
|
|
14282
|
+
anonymous: false
|
|
14283
|
+
},
|
|
14284
|
+
{
|
|
14285
|
+
type: "event",
|
|
14286
|
+
name: "VenueUnsuspendedEvent",
|
|
14287
|
+
inputs: [
|
|
14288
|
+
{
|
|
14289
|
+
name: "venueId",
|
|
14290
|
+
type: "uint256",
|
|
14291
|
+
indexed: true,
|
|
14292
|
+
internalType: "uint256"
|
|
14293
|
+
},
|
|
14294
|
+
{
|
|
14295
|
+
name: "caller",
|
|
14296
|
+
type: "address",
|
|
14297
|
+
indexed: true,
|
|
14298
|
+
internalType: "address"
|
|
14299
|
+
}
|
|
14300
|
+
],
|
|
14301
|
+
anonymous: false
|
|
14302
|
+
},
|
|
13440
14303
|
{
|
|
13441
14304
|
type: "error",
|
|
13442
14305
|
name: "NotContractOwner",
|
|
@@ -13452,6 +14315,18 @@ var ProtocolFacet = [
|
|
|
13452
14315
|
internalType: "address"
|
|
13453
14316
|
}
|
|
13454
14317
|
]
|
|
14318
|
+
},
|
|
14319
|
+
{
|
|
14320
|
+
type: "error",
|
|
14321
|
+
name: "TransferFailed",
|
|
14322
|
+
inputs: [
|
|
14323
|
+
]
|
|
14324
|
+
},
|
|
14325
|
+
{
|
|
14326
|
+
type: "error",
|
|
14327
|
+
name: "VenueNotFound",
|
|
14328
|
+
inputs: [
|
|
14329
|
+
]
|
|
13455
14330
|
}
|
|
13456
14331
|
];
|
|
13457
14332
|
|
|
@@ -13655,6 +14530,36 @@ var AccessControlFacet = [
|
|
|
13655
14530
|
}
|
|
13656
14531
|
],
|
|
13657
14532
|
anonymous: false
|
|
14533
|
+
},
|
|
14534
|
+
{
|
|
14535
|
+
type: "error",
|
|
14536
|
+
name: "OnlyVenueOperator",
|
|
14537
|
+
inputs: [
|
|
14538
|
+
]
|
|
14539
|
+
},
|
|
14540
|
+
{
|
|
14541
|
+
type: "error",
|
|
14542
|
+
name: "ProtocolPaused",
|
|
14543
|
+
inputs: [
|
|
14544
|
+
]
|
|
14545
|
+
},
|
|
14546
|
+
{
|
|
14547
|
+
type: "error",
|
|
14548
|
+
name: "VenueInactive",
|
|
14549
|
+
inputs: [
|
|
14550
|
+
]
|
|
14551
|
+
},
|
|
14552
|
+
{
|
|
14553
|
+
type: "error",
|
|
14554
|
+
name: "VenueNotFound",
|
|
14555
|
+
inputs: [
|
|
14556
|
+
]
|
|
14557
|
+
},
|
|
14558
|
+
{
|
|
14559
|
+
type: "error",
|
|
14560
|
+
name: "VenueSuspended",
|
|
14561
|
+
inputs: [
|
|
14562
|
+
]
|
|
13658
14563
|
}
|
|
13659
14564
|
];
|
|
13660
14565
|
|
|
@@ -13764,10 +14669,10 @@ var TagsFacet = [
|
|
|
13764
14669
|
var MetadataFacet = [
|
|
13765
14670
|
{
|
|
13766
14671
|
type: "function",
|
|
13767
|
-
name: "
|
|
14672
|
+
name: "updateMarketGroupMetadata",
|
|
13768
14673
|
inputs: [
|
|
13769
14674
|
{
|
|
13770
|
-
name: "
|
|
14675
|
+
name: "groupId",
|
|
13771
14676
|
type: "uint256",
|
|
13772
14677
|
internalType: "uint256"
|
|
13773
14678
|
},
|
|
@@ -13783,10 +14688,10 @@ var MetadataFacet = [
|
|
|
13783
14688
|
},
|
|
13784
14689
|
{
|
|
13785
14690
|
type: "function",
|
|
13786
|
-
name: "
|
|
14691
|
+
name: "updateMarketMetadata",
|
|
13787
14692
|
inputs: [
|
|
13788
14693
|
{
|
|
13789
|
-
name: "
|
|
14694
|
+
name: "marketId",
|
|
13790
14695
|
type: "uint256",
|
|
13791
14696
|
internalType: "uint256"
|
|
13792
14697
|
},
|
|
@@ -13802,10 +14707,10 @@ var MetadataFacet = [
|
|
|
13802
14707
|
},
|
|
13803
14708
|
{
|
|
13804
14709
|
type: "event",
|
|
13805
|
-
name: "
|
|
14710
|
+
name: "MarketGroupMetadataUpdated",
|
|
13806
14711
|
inputs: [
|
|
13807
14712
|
{
|
|
13808
|
-
name: "
|
|
14713
|
+
name: "groupId",
|
|
13809
14714
|
type: "uint256",
|
|
13810
14715
|
indexed: true,
|
|
13811
14716
|
internalType: "uint256"
|
|
@@ -13821,10 +14726,10 @@ var MetadataFacet = [
|
|
|
13821
14726
|
},
|
|
13822
14727
|
{
|
|
13823
14728
|
type: "event",
|
|
13824
|
-
name: "
|
|
14729
|
+
name: "MarketMetadataUpdated",
|
|
13825
14730
|
inputs: [
|
|
13826
14731
|
{
|
|
13827
|
-
name: "
|
|
14732
|
+
name: "marketId",
|
|
13828
14733
|
type: "uint256",
|
|
13829
14734
|
indexed: true,
|
|
13830
14735
|
internalType: "uint256"
|
|
@@ -14178,25 +15083,6 @@ var PythResolutionFacet = [
|
|
|
14178
15083
|
],
|
|
14179
15084
|
anonymous: false
|
|
14180
15085
|
},
|
|
14181
|
-
{
|
|
14182
|
-
type: "event",
|
|
14183
|
-
name: "MarketGroupResolved",
|
|
14184
|
-
inputs: [
|
|
14185
|
-
{
|
|
14186
|
-
name: "groupId",
|
|
14187
|
-
type: "uint256",
|
|
14188
|
-
indexed: true,
|
|
14189
|
-
internalType: "uint256"
|
|
14190
|
-
},
|
|
14191
|
-
{
|
|
14192
|
-
name: "winningMarketId",
|
|
14193
|
-
type: "uint256",
|
|
14194
|
-
indexed: true,
|
|
14195
|
-
internalType: "uint256"
|
|
14196
|
-
}
|
|
14197
|
-
],
|
|
14198
|
-
anonymous: false
|
|
14199
|
-
},
|
|
14200
15086
|
{
|
|
14201
15087
|
type: "event",
|
|
14202
15088
|
name: "MarketResolved",
|
|
@@ -14434,18 +15320,6 @@ var PythResolutionFacet = [
|
|
|
14434
15320
|
inputs: [
|
|
14435
15321
|
]
|
|
14436
15322
|
},
|
|
14437
|
-
{
|
|
14438
|
-
type: "error",
|
|
14439
|
-
name: "InvalidTickSize",
|
|
14440
|
-
inputs: [
|
|
14441
|
-
]
|
|
14442
|
-
},
|
|
14443
|
-
{
|
|
14444
|
-
type: "error",
|
|
14445
|
-
name: "InvalidTickSize",
|
|
14446
|
-
inputs: [
|
|
14447
|
-
]
|
|
14448
|
-
},
|
|
14449
15323
|
{
|
|
14450
15324
|
type: "error",
|
|
14451
15325
|
name: "MarketNotActive",
|
|
@@ -14922,6 +15796,17 @@ var BatchOrdersFacet = [
|
|
|
14922
15796
|
];
|
|
14923
15797
|
|
|
14924
15798
|
var WhitelistAccessControl = [
|
|
15799
|
+
{
|
|
15800
|
+
type: "constructor",
|
|
15801
|
+
inputs: [
|
|
15802
|
+
{
|
|
15803
|
+
name: "_owner",
|
|
15804
|
+
type: "address",
|
|
15805
|
+
internalType: "address"
|
|
15806
|
+
}
|
|
15807
|
+
],
|
|
15808
|
+
stateMutability: "nonpayable"
|
|
15809
|
+
},
|
|
14925
15810
|
{
|
|
14926
15811
|
type: "function",
|
|
14927
15812
|
name: "addToWhitelist",
|
|
@@ -15060,10 +15945,46 @@ var WhitelistAccessControl = [
|
|
|
15060
15945
|
}
|
|
15061
15946
|
],
|
|
15062
15947
|
anonymous: false
|
|
15948
|
+
},
|
|
15949
|
+
{
|
|
15950
|
+
type: "error",
|
|
15951
|
+
name: "OnlyOwner",
|
|
15952
|
+
inputs: [
|
|
15953
|
+
]
|
|
15954
|
+
},
|
|
15955
|
+
{
|
|
15956
|
+
type: "error",
|
|
15957
|
+
name: "ZeroAddress",
|
|
15958
|
+
inputs: [
|
|
15959
|
+
]
|
|
15063
15960
|
}
|
|
15064
15961
|
];
|
|
15065
15962
|
|
|
15066
15963
|
var ConditionalTokens = [
|
|
15964
|
+
{
|
|
15965
|
+
type: "function",
|
|
15966
|
+
name: "balanceOf",
|
|
15967
|
+
inputs: [
|
|
15968
|
+
{
|
|
15969
|
+
name: "account",
|
|
15970
|
+
type: "address",
|
|
15971
|
+
internalType: "address"
|
|
15972
|
+
},
|
|
15973
|
+
{
|
|
15974
|
+
name: "id",
|
|
15975
|
+
type: "uint256",
|
|
15976
|
+
internalType: "uint256"
|
|
15977
|
+
}
|
|
15978
|
+
],
|
|
15979
|
+
outputs: [
|
|
15980
|
+
{
|
|
15981
|
+
name: "",
|
|
15982
|
+
type: "uint256",
|
|
15983
|
+
internalType: "uint256"
|
|
15984
|
+
}
|
|
15985
|
+
],
|
|
15986
|
+
stateMutability: "view"
|
|
15987
|
+
},
|
|
15067
15988
|
{
|
|
15068
15989
|
type: "function",
|
|
15069
15990
|
name: "getCollectionId",
|
|
@@ -15347,30 +16268,6 @@ var ConditionalTokens = [
|
|
|
15347
16268
|
outputs: [
|
|
15348
16269
|
],
|
|
15349
16270
|
stateMutability: "nonpayable"
|
|
15350
|
-
},
|
|
15351
|
-
{
|
|
15352
|
-
type: "function",
|
|
15353
|
-
name: "balanceOf",
|
|
15354
|
-
inputs: [
|
|
15355
|
-
{
|
|
15356
|
-
name: "account",
|
|
15357
|
-
type: "address",
|
|
15358
|
-
internalType: "address"
|
|
15359
|
-
},
|
|
15360
|
-
{
|
|
15361
|
-
name: "id",
|
|
15362
|
-
type: "uint256",
|
|
15363
|
-
internalType: "uint256"
|
|
15364
|
-
}
|
|
15365
|
-
],
|
|
15366
|
-
outputs: [
|
|
15367
|
-
{
|
|
15368
|
-
name: "",
|
|
15369
|
-
type: "uint256",
|
|
15370
|
-
internalType: "uint256"
|
|
15371
|
-
}
|
|
15372
|
-
],
|
|
15373
|
-
stateMutability: "view"
|
|
15374
16271
|
}
|
|
15375
16272
|
];
|
|
15376
16273
|
|