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