@shippedcalls/sdk 0.2.0 → 0.3.1

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/src/abi.ts CHANGED
@@ -2135,3 +2135,1367 @@ export const calledItAbi = [
2135
2135
  ]
2136
2136
  }
2137
2137
  ] as const;
2138
+
2139
+ export const roundsAbi = [
2140
+ {
2141
+ "type": "constructor",
2142
+ "inputs": [
2143
+ {
2144
+ "name": "guardian_",
2145
+ "type": "address",
2146
+ "internalType": "address"
2147
+ },
2148
+ {
2149
+ "name": "treasury_",
2150
+ "type": "address",
2151
+ "internalType": "address"
2152
+ },
2153
+ {
2154
+ "name": "markets_",
2155
+ "type": "bytes32[]",
2156
+ "internalType": "bytes32[]"
2157
+ },
2158
+ {
2159
+ "name": "sources_",
2160
+ "type": "address[]",
2161
+ "internalType": "contract IPriceSource[]"
2162
+ },
2163
+ {
2164
+ "name": "holdToken",
2165
+ "type": "address",
2166
+ "internalType": "address"
2167
+ },
2168
+ {
2169
+ "name": "holdMin_",
2170
+ "type": "uint256",
2171
+ "internalType": "uint256"
2172
+ },
2173
+ {
2174
+ "name": "cards_",
2175
+ "type": "address",
2176
+ "internalType": "contract IRoundCards"
2177
+ }
2178
+ ],
2179
+ "stateMutability": "nonpayable"
2180
+ },
2181
+ {
2182
+ "type": "function",
2183
+ "name": "BET_CUTOFF",
2184
+ "inputs": [],
2185
+ "outputs": [
2186
+ {
2187
+ "name": "",
2188
+ "type": "uint256",
2189
+ "internalType": "uint256"
2190
+ }
2191
+ ],
2192
+ "stateMutability": "view"
2193
+ },
2194
+ {
2195
+ "type": "function",
2196
+ "name": "CARD_CUT_BPS",
2197
+ "inputs": [],
2198
+ "outputs": [
2199
+ {
2200
+ "name": "",
2201
+ "type": "uint256",
2202
+ "internalType": "uint256"
2203
+ }
2204
+ ],
2205
+ "stateMutability": "view"
2206
+ },
2207
+ {
2208
+ "type": "function",
2209
+ "name": "CARD_STREAK",
2210
+ "inputs": [],
2211
+ "outputs": [
2212
+ {
2213
+ "name": "",
2214
+ "type": "uint256",
2215
+ "internalType": "uint256"
2216
+ }
2217
+ ],
2218
+ "stateMutability": "view"
2219
+ },
2220
+ {
2221
+ "type": "function",
2222
+ "name": "HOLDER_RAKE_BPS",
2223
+ "inputs": [],
2224
+ "outputs": [
2225
+ {
2226
+ "name": "",
2227
+ "type": "uint256",
2228
+ "internalType": "uint256"
2229
+ }
2230
+ ],
2231
+ "stateMutability": "view"
2232
+ },
2233
+ {
2234
+ "type": "function",
2235
+ "name": "HOLD_TOKEN",
2236
+ "inputs": [],
2237
+ "outputs": [
2238
+ {
2239
+ "name": "",
2240
+ "type": "address",
2241
+ "internalType": "address"
2242
+ }
2243
+ ],
2244
+ "stateMutability": "view"
2245
+ },
2246
+ {
2247
+ "type": "function",
2248
+ "name": "INTERVAL",
2249
+ "inputs": [],
2250
+ "outputs": [
2251
+ {
2252
+ "name": "",
2253
+ "type": "uint256",
2254
+ "internalType": "uint256"
2255
+ }
2256
+ ],
2257
+ "stateMutability": "view"
2258
+ },
2259
+ {
2260
+ "type": "function",
2261
+ "name": "LIMIT_DELAY",
2262
+ "inputs": [],
2263
+ "outputs": [
2264
+ {
2265
+ "name": "",
2266
+ "type": "uint256",
2267
+ "internalType": "uint256"
2268
+ }
2269
+ ],
2270
+ "stateMutability": "view"
2271
+ },
2272
+ {
2273
+ "type": "function",
2274
+ "name": "MAX_CARD_CUT",
2275
+ "inputs": [],
2276
+ "outputs": [
2277
+ {
2278
+ "name": "",
2279
+ "type": "uint256",
2280
+ "internalType": "uint256"
2281
+ }
2282
+ ],
2283
+ "stateMutability": "view"
2284
+ },
2285
+ {
2286
+ "type": "function",
2287
+ "name": "MAX_STAKE",
2288
+ "inputs": [],
2289
+ "outputs": [
2290
+ {
2291
+ "name": "",
2292
+ "type": "uint256",
2293
+ "internalType": "uint256"
2294
+ }
2295
+ ],
2296
+ "stateMutability": "view"
2297
+ },
2298
+ {
2299
+ "type": "function",
2300
+ "name": "MIN_BET",
2301
+ "inputs": [],
2302
+ "outputs": [
2303
+ {
2304
+ "name": "",
2305
+ "type": "uint256",
2306
+ "internalType": "uint256"
2307
+ }
2308
+ ],
2309
+ "stateMutability": "view"
2310
+ },
2311
+ {
2312
+ "type": "function",
2313
+ "name": "RAKE_BPS",
2314
+ "inputs": [],
2315
+ "outputs": [
2316
+ {
2317
+ "name": "",
2318
+ "type": "uint256",
2319
+ "internalType": "uint256"
2320
+ }
2321
+ ],
2322
+ "stateMutability": "view"
2323
+ },
2324
+ {
2325
+ "type": "function",
2326
+ "name": "VOID_AFTER",
2327
+ "inputs": [],
2328
+ "outputs": [
2329
+ {
2330
+ "name": "",
2331
+ "type": "uint256",
2332
+ "internalType": "uint256"
2333
+ }
2334
+ ],
2335
+ "stateMutability": "view"
2336
+ },
2337
+ {
2338
+ "type": "function",
2339
+ "name": "acceptGuardian",
2340
+ "inputs": [],
2341
+ "outputs": [],
2342
+ "stateMutability": "nonpayable"
2343
+ },
2344
+ {
2345
+ "type": "function",
2346
+ "name": "addMarket",
2347
+ "inputs": [
2348
+ {
2349
+ "name": "market",
2350
+ "type": "bytes32",
2351
+ "internalType": "bytes32"
2352
+ },
2353
+ {
2354
+ "name": "source",
2355
+ "type": "address",
2356
+ "internalType": "contract IPriceSource"
2357
+ }
2358
+ ],
2359
+ "outputs": [],
2360
+ "stateMutability": "nonpayable"
2361
+ },
2362
+ {
2363
+ "type": "function",
2364
+ "name": "advance",
2365
+ "inputs": [
2366
+ {
2367
+ "name": "market",
2368
+ "type": "bytes32",
2369
+ "internalType": "bytes32"
2370
+ },
2371
+ {
2372
+ "name": "boundary",
2373
+ "type": "uint64",
2374
+ "internalType": "uint64"
2375
+ },
2376
+ {
2377
+ "name": "proof",
2378
+ "type": "bytes",
2379
+ "internalType": "bytes"
2380
+ }
2381
+ ],
2382
+ "outputs": [],
2383
+ "stateMutability": "payable"
2384
+ },
2385
+ {
2386
+ "type": "function",
2387
+ "name": "bet",
2388
+ "inputs": [
2389
+ {
2390
+ "name": "market",
2391
+ "type": "bytes32",
2392
+ "internalType": "bytes32"
2393
+ },
2394
+ {
2395
+ "name": "up",
2396
+ "type": "bool",
2397
+ "internalType": "bool"
2398
+ }
2399
+ ],
2400
+ "outputs": [],
2401
+ "stateMutability": "payable"
2402
+ },
2403
+ {
2404
+ "type": "function",
2405
+ "name": "cards",
2406
+ "inputs": [],
2407
+ "outputs": [
2408
+ {
2409
+ "name": "",
2410
+ "type": "address",
2411
+ "internalType": "contract IRoundCards"
2412
+ }
2413
+ ],
2414
+ "stateMutability": "view"
2415
+ },
2416
+ {
2417
+ "type": "function",
2418
+ "name": "claim",
2419
+ "inputs": [
2420
+ {
2421
+ "name": "markets_",
2422
+ "type": "bytes32[]",
2423
+ "internalType": "bytes32[]"
2424
+ },
2425
+ {
2426
+ "name": "epochs",
2427
+ "type": "uint256[]",
2428
+ "internalType": "uint256[]"
2429
+ }
2430
+ ],
2431
+ "outputs": [],
2432
+ "stateMutability": "nonpayable"
2433
+ },
2434
+ {
2435
+ "type": "function",
2436
+ "name": "claimTreasury",
2437
+ "inputs": [],
2438
+ "outputs": [],
2439
+ "stateMutability": "nonpayable"
2440
+ },
2441
+ {
2442
+ "type": "function",
2443
+ "name": "claimable",
2444
+ "inputs": [
2445
+ {
2446
+ "name": "market",
2447
+ "type": "bytes32",
2448
+ "internalType": "bytes32"
2449
+ },
2450
+ {
2451
+ "name": "epoch",
2452
+ "type": "uint256",
2453
+ "internalType": "uint256"
2454
+ },
2455
+ {
2456
+ "name": "wallet",
2457
+ "type": "address",
2458
+ "internalType": "address"
2459
+ }
2460
+ ],
2461
+ "outputs": [
2462
+ {
2463
+ "name": "",
2464
+ "type": "uint256",
2465
+ "internalType": "uint256"
2466
+ }
2467
+ ],
2468
+ "stateMutability": "view"
2469
+ },
2470
+ {
2471
+ "type": "function",
2472
+ "name": "closeAt",
2473
+ "inputs": [
2474
+ {
2475
+ "name": "epoch",
2476
+ "type": "uint256",
2477
+ "internalType": "uint256"
2478
+ }
2479
+ ],
2480
+ "outputs": [
2481
+ {
2482
+ "name": "",
2483
+ "type": "uint64",
2484
+ "internalType": "uint64"
2485
+ }
2486
+ ],
2487
+ "stateMutability": "pure"
2488
+ },
2489
+ {
2490
+ "type": "function",
2491
+ "name": "currentEpoch",
2492
+ "inputs": [],
2493
+ "outputs": [
2494
+ {
2495
+ "name": "",
2496
+ "type": "uint256",
2497
+ "internalType": "uint256"
2498
+ }
2499
+ ],
2500
+ "stateMutability": "view"
2501
+ },
2502
+ {
2503
+ "type": "function",
2504
+ "name": "guardian",
2505
+ "inputs": [],
2506
+ "outputs": [
2507
+ {
2508
+ "name": "",
2509
+ "type": "address",
2510
+ "internalType": "address"
2511
+ }
2512
+ ],
2513
+ "stateMutability": "view"
2514
+ },
2515
+ {
2516
+ "type": "function",
2517
+ "name": "holdMin",
2518
+ "inputs": [],
2519
+ "outputs": [
2520
+ {
2521
+ "name": "",
2522
+ "type": "uint256",
2523
+ "internalType": "uint256"
2524
+ }
2525
+ ],
2526
+ "stateMutability": "view"
2527
+ },
2528
+ {
2529
+ "type": "function",
2530
+ "name": "holds",
2531
+ "inputs": [
2532
+ {
2533
+ "name": "wallet",
2534
+ "type": "address",
2535
+ "internalType": "address"
2536
+ }
2537
+ ],
2538
+ "outputs": [
2539
+ {
2540
+ "name": "",
2541
+ "type": "bool",
2542
+ "internalType": "bool"
2543
+ }
2544
+ ],
2545
+ "stateMutability": "view"
2546
+ },
2547
+ {
2548
+ "type": "function",
2549
+ "name": "limitOf",
2550
+ "inputs": [
2551
+ {
2552
+ "name": "wallet",
2553
+ "type": "address",
2554
+ "internalType": "address"
2555
+ }
2556
+ ],
2557
+ "outputs": [
2558
+ {
2559
+ "name": "cap",
2560
+ "type": "uint256",
2561
+ "internalType": "uint256"
2562
+ },
2563
+ {
2564
+ "name": "pendingCap",
2565
+ "type": "uint256",
2566
+ "internalType": "uint256"
2567
+ },
2568
+ {
2569
+ "name": "pendingAt",
2570
+ "type": "uint64",
2571
+ "internalType": "uint64"
2572
+ },
2573
+ {
2574
+ "name": "spentToday",
2575
+ "type": "uint256",
2576
+ "internalType": "uint256"
2577
+ }
2578
+ ],
2579
+ "stateMutability": "view"
2580
+ },
2581
+ {
2582
+ "type": "function",
2583
+ "name": "lockAt",
2584
+ "inputs": [
2585
+ {
2586
+ "name": "epoch",
2587
+ "type": "uint256",
2588
+ "internalType": "uint256"
2589
+ }
2590
+ ],
2591
+ "outputs": [
2592
+ {
2593
+ "name": "",
2594
+ "type": "uint64",
2595
+ "internalType": "uint64"
2596
+ }
2597
+ ],
2598
+ "stateMutability": "pure"
2599
+ },
2600
+ {
2601
+ "type": "function",
2602
+ "name": "markets",
2603
+ "inputs": [
2604
+ {
2605
+ "name": "market",
2606
+ "type": "bytes32",
2607
+ "internalType": "bytes32"
2608
+ }
2609
+ ],
2610
+ "outputs": [
2611
+ {
2612
+ "name": "source",
2613
+ "type": "address",
2614
+ "internalType": "contract IPriceSource"
2615
+ },
2616
+ {
2617
+ "name": "paused",
2618
+ "type": "bool",
2619
+ "internalType": "bool"
2620
+ }
2621
+ ],
2622
+ "stateMutability": "view"
2623
+ },
2624
+ {
2625
+ "type": "function",
2626
+ "name": "payoutIfWon",
2627
+ "inputs": [
2628
+ {
2629
+ "name": "market",
2630
+ "type": "bytes32",
2631
+ "internalType": "bytes32"
2632
+ },
2633
+ {
2634
+ "name": "epoch",
2635
+ "type": "uint256",
2636
+ "internalType": "uint256"
2637
+ },
2638
+ {
2639
+ "name": "up",
2640
+ "type": "bool",
2641
+ "internalType": "bool"
2642
+ },
2643
+ {
2644
+ "name": "stake",
2645
+ "type": "uint256",
2646
+ "internalType": "uint256"
2647
+ }
2648
+ ],
2649
+ "outputs": [
2650
+ {
2651
+ "name": "",
2652
+ "type": "uint256",
2653
+ "internalType": "uint256"
2654
+ }
2655
+ ],
2656
+ "stateMutability": "view"
2657
+ },
2658
+ {
2659
+ "type": "function",
2660
+ "name": "pendingGuardian",
2661
+ "inputs": [],
2662
+ "outputs": [
2663
+ {
2664
+ "name": "",
2665
+ "type": "address",
2666
+ "internalType": "address"
2667
+ }
2668
+ ],
2669
+ "stateMutability": "view"
2670
+ },
2671
+ {
2672
+ "type": "function",
2673
+ "name": "plainWins",
2674
+ "inputs": [
2675
+ {
2676
+ "name": "wallet",
2677
+ "type": "address",
2678
+ "internalType": "address"
2679
+ }
2680
+ ],
2681
+ "outputs": [
2682
+ {
2683
+ "name": "",
2684
+ "type": "bool",
2685
+ "internalType": "bool"
2686
+ }
2687
+ ],
2688
+ "stateMutability": "view"
2689
+ },
2690
+ {
2691
+ "type": "function",
2692
+ "name": "positionOf",
2693
+ "inputs": [
2694
+ {
2695
+ "name": "market",
2696
+ "type": "bytes32",
2697
+ "internalType": "bytes32"
2698
+ },
2699
+ {
2700
+ "name": "epoch",
2701
+ "type": "uint256",
2702
+ "internalType": "uint256"
2703
+ },
2704
+ {
2705
+ "name": "wallet",
2706
+ "type": "address",
2707
+ "internalType": "address"
2708
+ }
2709
+ ],
2710
+ "outputs": [
2711
+ {
2712
+ "name": "stake",
2713
+ "type": "uint256",
2714
+ "internalType": "uint256"
2715
+ },
2716
+ {
2717
+ "name": "up",
2718
+ "type": "bool",
2719
+ "internalType": "bool"
2720
+ },
2721
+ {
2722
+ "name": "claimed",
2723
+ "type": "bool",
2724
+ "internalType": "bool"
2725
+ }
2726
+ ],
2727
+ "stateMutability": "view"
2728
+ },
2729
+ {
2730
+ "type": "function",
2731
+ "name": "preview",
2732
+ "inputs": [
2733
+ {
2734
+ "name": "market",
2735
+ "type": "bytes32",
2736
+ "internalType": "bytes32"
2737
+ },
2738
+ {
2739
+ "name": "epoch",
2740
+ "type": "uint256",
2741
+ "internalType": "uint256"
2742
+ },
2743
+ {
2744
+ "name": "wallet",
2745
+ "type": "address",
2746
+ "internalType": "address"
2747
+ }
2748
+ ],
2749
+ "outputs": [
2750
+ {
2751
+ "name": "amount",
2752
+ "type": "uint256",
2753
+ "internalType": "uint256"
2754
+ },
2755
+ {
2756
+ "name": "cut",
2757
+ "type": "uint256",
2758
+ "internalType": "uint256"
2759
+ },
2760
+ {
2761
+ "name": "streak",
2762
+ "type": "uint256",
2763
+ "internalType": "uint256"
2764
+ },
2765
+ {
2766
+ "name": "card",
2767
+ "type": "bool",
2768
+ "internalType": "bool"
2769
+ }
2770
+ ],
2771
+ "stateMutability": "view"
2772
+ },
2773
+ {
2774
+ "type": "function",
2775
+ "name": "prices",
2776
+ "inputs": [
2777
+ {
2778
+ "name": "market",
2779
+ "type": "bytes32",
2780
+ "internalType": "bytes32"
2781
+ },
2782
+ {
2783
+ "name": "boundary",
2784
+ "type": "uint64",
2785
+ "internalType": "uint64"
2786
+ }
2787
+ ],
2788
+ "outputs": [
2789
+ {
2790
+ "name": "",
2791
+ "type": "uint64",
2792
+ "internalType": "uint64"
2793
+ }
2794
+ ],
2795
+ "stateMutability": "view"
2796
+ },
2797
+ {
2798
+ "type": "function",
2799
+ "name": "proposeGuardian",
2800
+ "inputs": [
2801
+ {
2802
+ "name": "guardian_",
2803
+ "type": "address",
2804
+ "internalType": "address"
2805
+ }
2806
+ ],
2807
+ "outputs": [],
2808
+ "stateMutability": "nonpayable"
2809
+ },
2810
+ {
2811
+ "type": "function",
2812
+ "name": "roundOf",
2813
+ "inputs": [
2814
+ {
2815
+ "name": "market",
2816
+ "type": "bytes32",
2817
+ "internalType": "bytes32"
2818
+ },
2819
+ {
2820
+ "name": "epoch",
2821
+ "type": "uint256",
2822
+ "internalType": "uint256"
2823
+ }
2824
+ ],
2825
+ "outputs": [
2826
+ {
2827
+ "name": "upPool",
2828
+ "type": "uint256",
2829
+ "internalType": "uint256"
2830
+ },
2831
+ {
2832
+ "name": "downPool",
2833
+ "type": "uint256",
2834
+ "internalType": "uint256"
2835
+ },
2836
+ {
2837
+ "name": "outcome",
2838
+ "type": "uint8",
2839
+ "internalType": "enum Outcome"
2840
+ },
2841
+ {
2842
+ "name": "lockPrice",
2843
+ "type": "uint64",
2844
+ "internalType": "uint64"
2845
+ },
2846
+ {
2847
+ "name": "closePrice",
2848
+ "type": "uint64",
2849
+ "internalType": "uint64"
2850
+ },
2851
+ {
2852
+ "name": "decidedAt",
2853
+ "type": "uint64",
2854
+ "internalType": "uint64"
2855
+ }
2856
+ ],
2857
+ "stateMutability": "view"
2858
+ },
2859
+ {
2860
+ "type": "function",
2861
+ "name": "setCards",
2862
+ "inputs": [
2863
+ {
2864
+ "name": "cards_",
2865
+ "type": "address",
2866
+ "internalType": "contract IRoundCards"
2867
+ }
2868
+ ],
2869
+ "outputs": [],
2870
+ "stateMutability": "nonpayable"
2871
+ },
2872
+ {
2873
+ "type": "function",
2874
+ "name": "setHoldMin",
2875
+ "inputs": [
2876
+ {
2877
+ "name": "holdMin_",
2878
+ "type": "uint256",
2879
+ "internalType": "uint256"
2880
+ }
2881
+ ],
2882
+ "outputs": [],
2883
+ "stateMutability": "nonpayable"
2884
+ },
2885
+ {
2886
+ "type": "function",
2887
+ "name": "setLimit",
2888
+ "inputs": [
2889
+ {
2890
+ "name": "cap",
2891
+ "type": "uint256",
2892
+ "internalType": "uint256"
2893
+ }
2894
+ ],
2895
+ "outputs": [],
2896
+ "stateMutability": "nonpayable"
2897
+ },
2898
+ {
2899
+ "type": "function",
2900
+ "name": "setPaused",
2901
+ "inputs": [
2902
+ {
2903
+ "name": "market",
2904
+ "type": "bytes32",
2905
+ "internalType": "bytes32"
2906
+ },
2907
+ {
2908
+ "name": "paused",
2909
+ "type": "bool",
2910
+ "internalType": "bool"
2911
+ }
2912
+ ],
2913
+ "outputs": [],
2914
+ "stateMutability": "nonpayable"
2915
+ },
2916
+ {
2917
+ "type": "function",
2918
+ "name": "setPlainWins",
2919
+ "inputs": [
2920
+ {
2921
+ "name": "plain",
2922
+ "type": "bool",
2923
+ "internalType": "bool"
2924
+ }
2925
+ ],
2926
+ "outputs": [],
2927
+ "stateMutability": "nonpayable"
2928
+ },
2929
+ {
2930
+ "type": "function",
2931
+ "name": "setTreasury",
2932
+ "inputs": [
2933
+ {
2934
+ "name": "treasury_",
2935
+ "type": "address",
2936
+ "internalType": "address"
2937
+ }
2938
+ ],
2939
+ "outputs": [],
2940
+ "stateMutability": "nonpayable"
2941
+ },
2942
+ {
2943
+ "type": "function",
2944
+ "name": "streakOf",
2945
+ "inputs": [
2946
+ {
2947
+ "name": "market",
2948
+ "type": "bytes32",
2949
+ "internalType": "bytes32"
2950
+ },
2951
+ {
2952
+ "name": "epoch",
2953
+ "type": "uint256",
2954
+ "internalType": "uint256"
2955
+ },
2956
+ {
2957
+ "name": "wallet",
2958
+ "type": "address",
2959
+ "internalType": "address"
2960
+ }
2961
+ ],
2962
+ "outputs": [
2963
+ {
2964
+ "name": "",
2965
+ "type": "uint256",
2966
+ "internalType": "uint256"
2967
+ }
2968
+ ],
2969
+ "stateMutability": "view"
2970
+ },
2971
+ {
2972
+ "type": "function",
2973
+ "name": "treasury",
2974
+ "inputs": [],
2975
+ "outputs": [
2976
+ {
2977
+ "name": "",
2978
+ "type": "address",
2979
+ "internalType": "address"
2980
+ }
2981
+ ],
2982
+ "stateMutability": "view"
2983
+ },
2984
+ {
2985
+ "type": "function",
2986
+ "name": "treasuryOwed",
2987
+ "inputs": [],
2988
+ "outputs": [
2989
+ {
2990
+ "name": "",
2991
+ "type": "uint256",
2992
+ "internalType": "uint256"
2993
+ }
2994
+ ],
2995
+ "stateMutability": "view"
2996
+ },
2997
+ {
2998
+ "type": "function",
2999
+ "name": "voidRound",
3000
+ "inputs": [
3001
+ {
3002
+ "name": "market",
3003
+ "type": "bytes32",
3004
+ "internalType": "bytes32"
3005
+ },
3006
+ {
3007
+ "name": "epoch",
3008
+ "type": "uint256",
3009
+ "internalType": "uint256"
3010
+ }
3011
+ ],
3012
+ "outputs": [],
3013
+ "stateMutability": "nonpayable"
3014
+ },
3015
+ {
3016
+ "type": "event",
3017
+ "name": "Bet",
3018
+ "inputs": [
3019
+ {
3020
+ "name": "market",
3021
+ "type": "bytes32",
3022
+ "indexed": true,
3023
+ "internalType": "bytes32"
3024
+ },
3025
+ {
3026
+ "name": "epoch",
3027
+ "type": "uint256",
3028
+ "indexed": true,
3029
+ "internalType": "uint256"
3030
+ },
3031
+ {
3032
+ "name": "wallet",
3033
+ "type": "address",
3034
+ "indexed": true,
3035
+ "internalType": "address"
3036
+ },
3037
+ {
3038
+ "name": "up",
3039
+ "type": "bool",
3040
+ "indexed": false,
3041
+ "internalType": "bool"
3042
+ },
3043
+ {
3044
+ "name": "amount",
3045
+ "type": "uint256",
3046
+ "indexed": false,
3047
+ "internalType": "uint256"
3048
+ },
3049
+ {
3050
+ "name": "upPool",
3051
+ "type": "uint256",
3052
+ "indexed": false,
3053
+ "internalType": "uint256"
3054
+ },
3055
+ {
3056
+ "name": "downPool",
3057
+ "type": "uint256",
3058
+ "indexed": false,
3059
+ "internalType": "uint256"
3060
+ }
3061
+ ],
3062
+ "anonymous": false
3063
+ },
3064
+ {
3065
+ "type": "event",
3066
+ "name": "CardCut",
3067
+ "inputs": [
3068
+ {
3069
+ "name": "wallet",
3070
+ "type": "address",
3071
+ "indexed": true,
3072
+ "internalType": "address"
3073
+ },
3074
+ {
3075
+ "name": "cards",
3076
+ "type": "uint256",
3077
+ "indexed": false,
3078
+ "internalType": "uint256"
3079
+ },
3080
+ {
3081
+ "name": "cut",
3082
+ "type": "uint256",
3083
+ "indexed": false,
3084
+ "internalType": "uint256"
3085
+ },
3086
+ {
3087
+ "name": "paid",
3088
+ "type": "bool",
3089
+ "indexed": false,
3090
+ "internalType": "bool"
3091
+ }
3092
+ ],
3093
+ "anonymous": false
3094
+ },
3095
+ {
3096
+ "type": "event",
3097
+ "name": "CardsSet",
3098
+ "inputs": [
3099
+ {
3100
+ "name": "cards",
3101
+ "type": "address",
3102
+ "indexed": true,
3103
+ "internalType": "address"
3104
+ }
3105
+ ],
3106
+ "anonymous": false
3107
+ },
3108
+ {
3109
+ "type": "event",
3110
+ "name": "Claimed",
3111
+ "inputs": [
3112
+ {
3113
+ "name": "market",
3114
+ "type": "bytes32",
3115
+ "indexed": true,
3116
+ "internalType": "bytes32"
3117
+ },
3118
+ {
3119
+ "name": "epoch",
3120
+ "type": "uint256",
3121
+ "indexed": true,
3122
+ "internalType": "uint256"
3123
+ },
3124
+ {
3125
+ "name": "wallet",
3126
+ "type": "address",
3127
+ "indexed": true,
3128
+ "internalType": "address"
3129
+ },
3130
+ {
3131
+ "name": "amount",
3132
+ "type": "uint256",
3133
+ "indexed": false,
3134
+ "internalType": "uint256"
3135
+ }
3136
+ ],
3137
+ "anonymous": false
3138
+ },
3139
+ {
3140
+ "type": "event",
3141
+ "name": "Decided",
3142
+ "inputs": [
3143
+ {
3144
+ "name": "market",
3145
+ "type": "bytes32",
3146
+ "indexed": true,
3147
+ "internalType": "bytes32"
3148
+ },
3149
+ {
3150
+ "name": "epoch",
3151
+ "type": "uint256",
3152
+ "indexed": true,
3153
+ "internalType": "uint256"
3154
+ },
3155
+ {
3156
+ "name": "outcome",
3157
+ "type": "uint8",
3158
+ "indexed": false,
3159
+ "internalType": "enum Outcome"
3160
+ },
3161
+ {
3162
+ "name": "lockPrice",
3163
+ "type": "uint64",
3164
+ "indexed": false,
3165
+ "internalType": "uint64"
3166
+ },
3167
+ {
3168
+ "name": "closePrice",
3169
+ "type": "uint64",
3170
+ "indexed": false,
3171
+ "internalType": "uint64"
3172
+ },
3173
+ {
3174
+ "name": "pool",
3175
+ "type": "uint256",
3176
+ "indexed": false,
3177
+ "internalType": "uint256"
3178
+ },
3179
+ {
3180
+ "name": "rake",
3181
+ "type": "uint256",
3182
+ "indexed": false,
3183
+ "internalType": "uint256"
3184
+ }
3185
+ ],
3186
+ "anonymous": false
3187
+ },
3188
+ {
3189
+ "type": "event",
3190
+ "name": "GuardianChanged",
3191
+ "inputs": [
3192
+ {
3193
+ "name": "guardian",
3194
+ "type": "address",
3195
+ "indexed": true,
3196
+ "internalType": "address"
3197
+ }
3198
+ ],
3199
+ "anonymous": false
3200
+ },
3201
+ {
3202
+ "type": "event",
3203
+ "name": "GuardianProposed",
3204
+ "inputs": [
3205
+ {
3206
+ "name": "guardian",
3207
+ "type": "address",
3208
+ "indexed": true,
3209
+ "internalType": "address"
3210
+ }
3211
+ ],
3212
+ "anonymous": false
3213
+ },
3214
+ {
3215
+ "type": "event",
3216
+ "name": "HoldMinSet",
3217
+ "inputs": [
3218
+ {
3219
+ "name": "holdMin",
3220
+ "type": "uint256",
3221
+ "indexed": false,
3222
+ "internalType": "uint256"
3223
+ }
3224
+ ],
3225
+ "anonymous": false
3226
+ },
3227
+ {
3228
+ "type": "event",
3229
+ "name": "LimitSet",
3230
+ "inputs": [
3231
+ {
3232
+ "name": "wallet",
3233
+ "type": "address",
3234
+ "indexed": true,
3235
+ "internalType": "address"
3236
+ },
3237
+ {
3238
+ "name": "cap",
3239
+ "type": "uint256",
3240
+ "indexed": false,
3241
+ "internalType": "uint256"
3242
+ },
3243
+ {
3244
+ "name": "effectiveAt",
3245
+ "type": "uint64",
3246
+ "indexed": false,
3247
+ "internalType": "uint64"
3248
+ }
3249
+ ],
3250
+ "anonymous": false
3251
+ },
3252
+ {
3253
+ "type": "event",
3254
+ "name": "MarketAdded",
3255
+ "inputs": [
3256
+ {
3257
+ "name": "market",
3258
+ "type": "bytes32",
3259
+ "indexed": true,
3260
+ "internalType": "bytes32"
3261
+ },
3262
+ {
3263
+ "name": "source",
3264
+ "type": "address",
3265
+ "indexed": false,
3266
+ "internalType": "address"
3267
+ }
3268
+ ],
3269
+ "anonymous": false
3270
+ },
3271
+ {
3272
+ "type": "event",
3273
+ "name": "MarketPauseSet",
3274
+ "inputs": [
3275
+ {
3276
+ "name": "market",
3277
+ "type": "bytes32",
3278
+ "indexed": true,
3279
+ "internalType": "bytes32"
3280
+ },
3281
+ {
3282
+ "name": "paused",
3283
+ "type": "bool",
3284
+ "indexed": false,
3285
+ "internalType": "bool"
3286
+ }
3287
+ ],
3288
+ "anonymous": false
3289
+ },
3290
+ {
3291
+ "type": "event",
3292
+ "name": "PlainWinsSet",
3293
+ "inputs": [
3294
+ {
3295
+ "name": "wallet",
3296
+ "type": "address",
3297
+ "indexed": true,
3298
+ "internalType": "address"
3299
+ },
3300
+ {
3301
+ "name": "plain",
3302
+ "type": "bool",
3303
+ "indexed": false,
3304
+ "internalType": "bool"
3305
+ }
3306
+ ],
3307
+ "anonymous": false
3308
+ },
3309
+ {
3310
+ "type": "event",
3311
+ "name": "Priced",
3312
+ "inputs": [
3313
+ {
3314
+ "name": "market",
3315
+ "type": "bytes32",
3316
+ "indexed": true,
3317
+ "internalType": "bytes32"
3318
+ },
3319
+ {
3320
+ "name": "boundary",
3321
+ "type": "uint64",
3322
+ "indexed": true,
3323
+ "internalType": "uint64"
3324
+ },
3325
+ {
3326
+ "name": "price",
3327
+ "type": "uint64",
3328
+ "indexed": false,
3329
+ "internalType": "uint64"
3330
+ },
3331
+ {
3332
+ "name": "sender",
3333
+ "type": "address",
3334
+ "indexed": false,
3335
+ "internalType": "address"
3336
+ }
3337
+ ],
3338
+ "anonymous": false
3339
+ },
3340
+ {
3341
+ "type": "event",
3342
+ "name": "TreasuryChanged",
3343
+ "inputs": [
3344
+ {
3345
+ "name": "treasury",
3346
+ "type": "address",
3347
+ "indexed": true,
3348
+ "internalType": "address"
3349
+ }
3350
+ ],
3351
+ "anonymous": false
3352
+ },
3353
+ {
3354
+ "type": "event",
3355
+ "name": "TreasuryPaid",
3356
+ "inputs": [
3357
+ {
3358
+ "name": "treasury",
3359
+ "type": "address",
3360
+ "indexed": true,
3361
+ "internalType": "address"
3362
+ },
3363
+ {
3364
+ "name": "amount",
3365
+ "type": "uint256",
3366
+ "indexed": false,
3367
+ "internalType": "uint256"
3368
+ }
3369
+ ],
3370
+ "anonymous": false
3371
+ },
3372
+ {
3373
+ "type": "event",
3374
+ "name": "Voided",
3375
+ "inputs": [
3376
+ {
3377
+ "name": "market",
3378
+ "type": "bytes32",
3379
+ "indexed": true,
3380
+ "internalType": "bytes32"
3381
+ },
3382
+ {
3383
+ "name": "epoch",
3384
+ "type": "uint256",
3385
+ "indexed": true,
3386
+ "internalType": "uint256"
3387
+ }
3388
+ ],
3389
+ "anonymous": false
3390
+ },
3391
+ {
3392
+ "type": "error",
3393
+ "name": "AlreadyDecided",
3394
+ "inputs": []
3395
+ },
3396
+ {
3397
+ "type": "error",
3398
+ "name": "AlreadyPriced",
3399
+ "inputs": []
3400
+ },
3401
+ {
3402
+ "type": "error",
3403
+ "name": "BadBoundary",
3404
+ "inputs": []
3405
+ },
3406
+ {
3407
+ "type": "error",
3408
+ "name": "BadInput",
3409
+ "inputs": []
3410
+ },
3411
+ {
3412
+ "type": "error",
3413
+ "name": "BadPrice",
3414
+ "inputs": []
3415
+ },
3416
+ {
3417
+ "type": "error",
3418
+ "name": "BelowMinimum",
3419
+ "inputs": []
3420
+ },
3421
+ {
3422
+ "type": "error",
3423
+ "name": "GasTooLow",
3424
+ "inputs": []
3425
+ },
3426
+ {
3427
+ "type": "error",
3428
+ "name": "MarketExists",
3429
+ "inputs": []
3430
+ },
3431
+ {
3432
+ "type": "error",
3433
+ "name": "MarketPaused",
3434
+ "inputs": []
3435
+ },
3436
+ {
3437
+ "type": "error",
3438
+ "name": "NotGuardian",
3439
+ "inputs": []
3440
+ },
3441
+ {
3442
+ "type": "error",
3443
+ "name": "NotPendingGuardian",
3444
+ "inputs": []
3445
+ },
3446
+ {
3447
+ "type": "error",
3448
+ "name": "NothingToClaim",
3449
+ "inputs": []
3450
+ },
3451
+ {
3452
+ "type": "error",
3453
+ "name": "NothingToVoid",
3454
+ "inputs": []
3455
+ },
3456
+ {
3457
+ "type": "error",
3458
+ "name": "OtherSide",
3459
+ "inputs": []
3460
+ },
3461
+ {
3462
+ "type": "error",
3463
+ "name": "OverDailyLimit",
3464
+ "inputs": []
3465
+ },
3466
+ {
3467
+ "type": "error",
3468
+ "name": "OverStakeCap",
3469
+ "inputs": []
3470
+ },
3471
+ {
3472
+ "type": "error",
3473
+ "name": "ReentrancyGuardReentrantCall",
3474
+ "inputs": []
3475
+ },
3476
+ {
3477
+ "type": "error",
3478
+ "name": "TooEarly",
3479
+ "inputs": []
3480
+ },
3481
+ {
3482
+ "type": "error",
3483
+ "name": "TooLate",
3484
+ "inputs": []
3485
+ },
3486
+ {
3487
+ "type": "error",
3488
+ "name": "TransferFailed",
3489
+ "inputs": []
3490
+ },
3491
+ {
3492
+ "type": "error",
3493
+ "name": "UnknownMarket",
3494
+ "inputs": []
3495
+ },
3496
+ {
3497
+ "type": "error",
3498
+ "name": "ZeroAddress",
3499
+ "inputs": []
3500
+ }
3501
+ ] as const;