@levrbet/shared 0.3.19 → 0.3.21
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/core/contracts/abis/LevrConfigProvider.d.ts +46 -7
- package/dist/core/contracts/abis/LevrConfigProvider.js +29 -5
- package/dist/core/contracts/abis/LevrConfigProvider.js.map +1 -1
- package/dist/core/contracts/abis/LevrFeeCollector.d.ts +8 -0
- package/dist/core/contracts/abis/LevrFeeCollector.js +1 -0
- package/dist/core/contracts/abis/LevrFeeCollector.js.map +1 -1
- package/dist/core/contracts/abis/LevrFulltimeMarket.d.ts +54 -8
- package/dist/core/contracts/abis/LevrFulltimeMarket.js +25 -5
- package/dist/core/contracts/abis/LevrFulltimeMarket.js.map +1 -1
- package/dist/core/contracts/abis/LevrLiquidationEngine.d.ts +13 -0
- package/dist/core/contracts/abis/LevrLiquidationEngine.js +2 -0
- package/dist/core/contracts/abis/LevrLiquidationEngine.js.map +1 -1
- package/dist/core/contracts/abis/LevrManager.d.ts +105 -4
- package/dist/core/contracts/abis/LevrManager.js +55 -1
- package/dist/core/contracts/abis/LevrManager.js.map +1 -1
- package/dist/core/contracts/abis/LevrMarketFeed.d.ts +4 -0
- package/dist/core/contracts/abis/LevrMarketFeed.js +1 -0
- package/dist/core/contracts/abis/LevrMarketFeed.js.map +1 -1
- package/dist/core/contracts/abis/LevrMarketRiskSentinel.d.ts +27 -1
- package/dist/core/contracts/abis/LevrMarketRiskSentinel.js +15 -1
- package/dist/core/contracts/abis/LevrMarketRiskSentinel.js.map +1 -1
- package/dist/core/contracts/abis/LevrMarketRouter.d.ts +20 -2
- package/dist/core/contracts/abis/LevrMarketRouter.js +13 -2
- package/dist/core/contracts/abis/LevrMarketRouter.js.map +1 -1
- package/dist/core/contracts/abis/LevrMvpDepository.d.ts +38 -64
- package/dist/core/contracts/abis/LevrMvpDepository.js +16 -32
- package/dist/core/contracts/abis/LevrMvpDepository.js.map +1 -1
- package/dist/core/contracts/abis/LevrMvpRouter.d.ts +8 -22
- package/dist/core/contracts/abis/LevrMvpRouter.js +4 -7
- package/dist/core/contracts/abis/LevrMvpRouter.js.map +1 -1
- package/dist/core/contracts/abis/LevrMvpStaker.d.ts +2 -2
- package/dist/core/contracts/abis/LevrMvpStaker.js +2 -2
- package/dist/core/contracts/abis/LevrMvpStaker.js.map +1 -1
- package/dist/core/contracts/abis/LevrOrderbook.d.ts +30 -14
- package/dist/core/contracts/abis/LevrOrderbook.js +14 -5
- package/dist/core/contracts/abis/LevrOrderbook.js.map +1 -1
- package/dist/core/contracts/abis/LevrOverUnderMarket.d.ts +54 -8
- package/dist/core/contracts/abis/LevrOverUnderMarket.js +25 -5
- package/dist/core/contracts/abis/LevrOverUnderMarket.js.map +1 -1
- package/dist/core/contracts/abis/LevrPythFeed.d.ts +2 -2
- package/dist/core/contracts/abis/LevrPythFeed.js +2 -2
- package/dist/core/contracts/abis/LevrPythFeed.js.map +1 -1
- package/dist/core/contracts/abis/LevrUtil.d.ts +9 -5
- package/dist/core/contracts/abis/LevrUtil.js +6 -5
- package/dist/core/contracts/abis/LevrUtil.js.map +1 -1
- package/dist/core/contracts/abis/index.d.ts +420 -139
- package/dist/core/contracts/addresses.d.ts +46 -46
- package/dist/core/contracts/addresses.js +38 -38
- package/dist/core/socket.io/events.d.ts +12 -2
- package/dist/core/socket.io/events.js +1 -0
- package/dist/core/socket.io/events.js.map +1 -1
- package/dist/core/types/oracle/market/odds.types.d.ts +15 -0
- package/dist/react/hooks/contracts/useContracts.d.ts +38 -38
- package/dist/server/middleware/rateLimit.middleware.d.ts +12 -2
- package/dist/server/middleware/rateLimit.middleware.js +25 -8
- package/dist/server/middleware/rateLimit.middleware.js.map +1 -1
- package/package.json +1 -1
|
@@ -51,6 +51,10 @@ export declare const abis: {
|
|
|
51
51
|
readonly inputs: readonly [];
|
|
52
52
|
readonly name: "LCP_INVALID_MAX_ROUND_DURATION";
|
|
53
53
|
readonly type: "error";
|
|
54
|
+
}, {
|
|
55
|
+
readonly inputs: readonly [];
|
|
56
|
+
readonly name: "LCP_INVALID_MIN_DEPOSIT_VALUE";
|
|
57
|
+
readonly type: "error";
|
|
54
58
|
}, {
|
|
55
59
|
readonly inputs: readonly [];
|
|
56
60
|
readonly name: "LCP_INVALID_MIN_INITIAL_DEPOSIT_VALUE";
|
|
@@ -467,12 +471,12 @@ export declare const abis: {
|
|
|
467
471
|
readonly inputs: readonly [{
|
|
468
472
|
readonly indexed: true;
|
|
469
473
|
readonly internalType: "address";
|
|
470
|
-
readonly name: "
|
|
474
|
+
readonly name: "oldLevrMvpDepository";
|
|
471
475
|
readonly type: "address";
|
|
472
476
|
}, {
|
|
473
477
|
readonly indexed: true;
|
|
474
478
|
readonly internalType: "address";
|
|
475
|
-
readonly name: "
|
|
479
|
+
readonly name: "newLevrMvpDepository";
|
|
476
480
|
readonly type: "address";
|
|
477
481
|
}];
|
|
478
482
|
readonly name: "LevrMvpDepositoryUpdated";
|
|
@@ -497,12 +501,12 @@ export declare const abis: {
|
|
|
497
501
|
readonly inputs: readonly [{
|
|
498
502
|
readonly indexed: true;
|
|
499
503
|
readonly internalType: "address";
|
|
500
|
-
readonly name: "
|
|
504
|
+
readonly name: "oldLevrMvpStaker";
|
|
501
505
|
readonly type: "address";
|
|
502
506
|
}, {
|
|
503
507
|
readonly indexed: true;
|
|
504
508
|
readonly internalType: "address";
|
|
505
|
-
readonly name: "
|
|
509
|
+
readonly name: "newLevrMvpStaker";
|
|
506
510
|
readonly type: "address";
|
|
507
511
|
}];
|
|
508
512
|
readonly name: "LevrMvpStakerUpdated";
|
|
@@ -627,12 +631,27 @@ export declare const abis: {
|
|
|
627
631
|
readonly inputs: readonly [{
|
|
628
632
|
readonly indexed: false;
|
|
629
633
|
readonly internalType: "uint256";
|
|
630
|
-
readonly name: "
|
|
634
|
+
readonly name: "prevMvpAmount";
|
|
635
|
+
readonly type: "uint256";
|
|
636
|
+
}, {
|
|
637
|
+
readonly indexed: false;
|
|
638
|
+
readonly internalType: "uint256";
|
|
639
|
+
readonly name: "newMvpAmount";
|
|
640
|
+
readonly type: "uint256";
|
|
641
|
+
}];
|
|
642
|
+
readonly name: "MinDepositValueUpdated";
|
|
643
|
+
readonly type: "event";
|
|
644
|
+
}, {
|
|
645
|
+
readonly anonymous: false;
|
|
646
|
+
readonly inputs: readonly [{
|
|
647
|
+
readonly indexed: false;
|
|
648
|
+
readonly internalType: "uint256";
|
|
649
|
+
readonly name: "prevMvpAmount";
|
|
631
650
|
readonly type: "uint256";
|
|
632
651
|
}, {
|
|
633
652
|
readonly indexed: false;
|
|
634
653
|
readonly internalType: "uint256";
|
|
635
|
-
readonly name: "
|
|
654
|
+
readonly name: "newMvpAmount";
|
|
636
655
|
readonly type: "uint256";
|
|
637
656
|
}];
|
|
638
657
|
readonly name: "MinInitialDepositValueUpdated";
|
|
@@ -2152,6 +2171,16 @@ export declare const abis: {
|
|
|
2152
2171
|
}];
|
|
2153
2172
|
readonly stateMutability: "view";
|
|
2154
2173
|
readonly type: "function";
|
|
2174
|
+
}, {
|
|
2175
|
+
readonly inputs: readonly [];
|
|
2176
|
+
readonly name: "minDepositValue";
|
|
2177
|
+
readonly outputs: readonly [{
|
|
2178
|
+
readonly internalType: "uint256";
|
|
2179
|
+
readonly name: "";
|
|
2180
|
+
readonly type: "uint256";
|
|
2181
|
+
}];
|
|
2182
|
+
readonly stateMutability: "view";
|
|
2183
|
+
readonly type: "function";
|
|
2155
2184
|
}, {
|
|
2156
2185
|
readonly inputs: readonly [];
|
|
2157
2186
|
readonly name: "minInitialDepositValue";
|
|
@@ -2681,7 +2710,17 @@ export declare const abis: {
|
|
|
2681
2710
|
}, {
|
|
2682
2711
|
readonly inputs: readonly [{
|
|
2683
2712
|
readonly internalType: "uint256";
|
|
2684
|
-
readonly name: "
|
|
2713
|
+
readonly name: "newMvpValue";
|
|
2714
|
+
readonly type: "uint256";
|
|
2715
|
+
}];
|
|
2716
|
+
readonly name: "updateMinDepositValue";
|
|
2717
|
+
readonly outputs: readonly [];
|
|
2718
|
+
readonly stateMutability: "nonpayable";
|
|
2719
|
+
readonly type: "function";
|
|
2720
|
+
}, {
|
|
2721
|
+
readonly inputs: readonly [{
|
|
2722
|
+
readonly internalType: "uint256";
|
|
2723
|
+
readonly name: "newMvpValue";
|
|
2685
2724
|
readonly type: "uint256";
|
|
2686
2725
|
}];
|
|
2687
2726
|
readonly name: "updateMinInitialDepositValue";
|
|
@@ -2917,6 +2956,14 @@ export declare const abis: {
|
|
|
2917
2956
|
readonly inputs: readonly [];
|
|
2918
2957
|
readonly name: "LFC_NOT_LEVR_ADMIN";
|
|
2919
2958
|
readonly type: "error";
|
|
2959
|
+
}, {
|
|
2960
|
+
readonly inputs: readonly [{
|
|
2961
|
+
readonly internalType: "address";
|
|
2962
|
+
readonly name: "caller";
|
|
2963
|
+
readonly type: "address";
|
|
2964
|
+
}];
|
|
2965
|
+
readonly name: "LFC_NOT_MARKET_CONTRACT";
|
|
2966
|
+
readonly type: "error";
|
|
2920
2967
|
}, {
|
|
2921
2968
|
readonly inputs: readonly [{
|
|
2922
2969
|
readonly internalType: "address";
|
|
@@ -3167,6 +3214,18 @@ export declare const abis: {
|
|
|
3167
3214
|
readonly inputs: readonly [];
|
|
3168
3215
|
readonly name: "LBM_DUPLICATE_MARKET";
|
|
3169
3216
|
readonly type: "error";
|
|
3217
|
+
}, {
|
|
3218
|
+
readonly inputs: readonly [{
|
|
3219
|
+
readonly internalType: "uint256";
|
|
3220
|
+
readonly name: "gameId";
|
|
3221
|
+
readonly type: "uint256";
|
|
3222
|
+
}, {
|
|
3223
|
+
readonly internalType: "bytes32";
|
|
3224
|
+
readonly name: "gameMarketId";
|
|
3225
|
+
readonly type: "bytes32";
|
|
3226
|
+
}];
|
|
3227
|
+
readonly name: "LBM_GAME_PAUSED";
|
|
3228
|
+
readonly type: "error";
|
|
3170
3229
|
}, {
|
|
3171
3230
|
readonly inputs: readonly [{
|
|
3172
3231
|
readonly internalType: "bytes32";
|
|
@@ -3283,6 +3342,10 @@ export declare const abis: {
|
|
|
3283
3342
|
}];
|
|
3284
3343
|
readonly name: "LBM_MARKET_SETTLED";
|
|
3285
3344
|
readonly type: "error";
|
|
3345
|
+
}, {
|
|
3346
|
+
readonly inputs: readonly [];
|
|
3347
|
+
readonly name: "LBM_MISSING_RISK_ALLOCATION_FOR_DRAW";
|
|
3348
|
+
readonly type: "error";
|
|
3286
3349
|
}, {
|
|
3287
3350
|
readonly inputs: readonly [];
|
|
3288
3351
|
readonly name: "LBM_NOT_LEVR_ADMIN";
|
|
@@ -3319,6 +3382,14 @@ export declare const abis: {
|
|
|
3319
3382
|
readonly inputs: readonly [];
|
|
3320
3383
|
readonly name: "LM_INVALID_PROGRESS_BPS";
|
|
3321
3384
|
readonly type: "error";
|
|
3385
|
+
}, {
|
|
3386
|
+
readonly inputs: readonly [{
|
|
3387
|
+
readonly internalType: "address";
|
|
3388
|
+
readonly name: "token";
|
|
3389
|
+
readonly type: "address";
|
|
3390
|
+
}];
|
|
3391
|
+
readonly name: "SafeERC20FailedOperation";
|
|
3392
|
+
readonly type: "error";
|
|
3322
3393
|
}, {
|
|
3323
3394
|
readonly anonymous: false;
|
|
3324
3395
|
readonly inputs: readonly [{
|
|
@@ -3514,7 +3585,7 @@ export declare const abis: {
|
|
|
3514
3585
|
}, {
|
|
3515
3586
|
readonly indexed: false;
|
|
3516
3587
|
readonly internalType: "uint256";
|
|
3517
|
-
readonly name: "
|
|
3588
|
+
readonly name: "balanceFee";
|
|
3518
3589
|
readonly type: "uint256";
|
|
3519
3590
|
}, {
|
|
3520
3591
|
readonly indexed: false;
|
|
@@ -3579,7 +3650,7 @@ export declare const abis: {
|
|
|
3579
3650
|
}, {
|
|
3580
3651
|
readonly indexed: false;
|
|
3581
3652
|
readonly internalType: "uint256";
|
|
3582
|
-
readonly name: "
|
|
3653
|
+
readonly name: "balanceFee";
|
|
3583
3654
|
readonly type: "uint256";
|
|
3584
3655
|
}];
|
|
3585
3656
|
readonly name: "PositionRedeemed";
|
|
@@ -3622,6 +3693,16 @@ export declare const abis: {
|
|
|
3622
3693
|
readonly outputs: readonly [];
|
|
3623
3694
|
readonly stateMutability: "nonpayable";
|
|
3624
3695
|
readonly type: "function";
|
|
3696
|
+
}, {
|
|
3697
|
+
readonly inputs: readonly [];
|
|
3698
|
+
readonly name: "expectedSideGroup";
|
|
3699
|
+
readonly outputs: readonly [{
|
|
3700
|
+
readonly internalType: "uint8";
|
|
3701
|
+
readonly name: "";
|
|
3702
|
+
readonly type: "uint8";
|
|
3703
|
+
}];
|
|
3704
|
+
readonly stateMutability: "pure";
|
|
3705
|
+
readonly type: "function";
|
|
3625
3706
|
}, {
|
|
3626
3707
|
readonly inputs: readonly [];
|
|
3627
3708
|
readonly name: "getActiveGameMarkets";
|
|
@@ -3704,18 +3785,26 @@ export declare const abis: {
|
|
|
3704
3785
|
readonly internalType: "address";
|
|
3705
3786
|
readonly name: "collateralAsset";
|
|
3706
3787
|
readonly type: "address";
|
|
3707
|
-
}, {
|
|
3708
|
-
readonly internalType: "bytes12";
|
|
3709
|
-
readonly name: "levrSportId";
|
|
3710
|
-
readonly type: "bytes12";
|
|
3711
3788
|
}, {
|
|
3712
3789
|
readonly internalType: "uint16";
|
|
3713
3790
|
readonly name: "borrowFeeBps";
|
|
3714
3791
|
readonly type: "uint16";
|
|
3792
|
+
}, {
|
|
3793
|
+
readonly internalType: "uint16";
|
|
3794
|
+
readonly name: "gameProgressAtCancel";
|
|
3795
|
+
readonly type: "uint16";
|
|
3715
3796
|
}, {
|
|
3716
3797
|
readonly internalType: "uint8";
|
|
3717
3798
|
readonly name: "allowedSideGroup";
|
|
3718
3799
|
readonly type: "uint8";
|
|
3800
|
+
}, {
|
|
3801
|
+
readonly internalType: "bool";
|
|
3802
|
+
readonly name: "isThreeWayMarket";
|
|
3803
|
+
readonly type: "bool";
|
|
3804
|
+
}, {
|
|
3805
|
+
readonly internalType: "bytes12";
|
|
3806
|
+
readonly name: "levrSportId";
|
|
3807
|
+
readonly type: "bytes12";
|
|
3719
3808
|
}];
|
|
3720
3809
|
readonly internalType: "struct LevrMarket";
|
|
3721
3810
|
readonly name: "";
|
|
@@ -3783,7 +3872,7 @@ export declare const abis: {
|
|
|
3783
3872
|
readonly type: "uint256";
|
|
3784
3873
|
}, {
|
|
3785
3874
|
readonly internalType: "uint256";
|
|
3786
|
-
readonly name: "
|
|
3875
|
+
readonly name: "balanceFee";
|
|
3787
3876
|
readonly type: "uint256";
|
|
3788
3877
|
}, {
|
|
3789
3878
|
readonly internalType: "uint256";
|
|
@@ -3904,7 +3993,7 @@ export declare const abis: {
|
|
|
3904
3993
|
readonly type: "uint256";
|
|
3905
3994
|
}, {
|
|
3906
3995
|
readonly internalType: "uint256";
|
|
3907
|
-
readonly name: "
|
|
3996
|
+
readonly name: "balanceFee";
|
|
3908
3997
|
readonly type: "uint256";
|
|
3909
3998
|
}, {
|
|
3910
3999
|
readonly internalType: "uint256";
|
|
@@ -4010,6 +4099,10 @@ export declare const abis: {
|
|
|
4010
4099
|
readonly internalType: "bytes12";
|
|
4011
4100
|
readonly name: "levrSportId";
|
|
4012
4101
|
readonly type: "bytes12";
|
|
4102
|
+
}, {
|
|
4103
|
+
readonly internalType: "bool";
|
|
4104
|
+
readonly name: "isThreeWay";
|
|
4105
|
+
readonly type: "bool";
|
|
4013
4106
|
}, {
|
|
4014
4107
|
readonly internalType: "bytes";
|
|
4015
4108
|
readonly name: "gameMarketInitData";
|
|
@@ -4577,6 +4670,14 @@ export declare const abis: {
|
|
|
4577
4670
|
readonly inputs: readonly [];
|
|
4578
4671
|
readonly name: "LB_NOT_LEVR_ADMIN";
|
|
4579
4672
|
readonly type: "error";
|
|
4673
|
+
}, {
|
|
4674
|
+
readonly inputs: readonly [{
|
|
4675
|
+
readonly internalType: "uint256";
|
|
4676
|
+
readonly name: "gameId";
|
|
4677
|
+
readonly type: "uint256";
|
|
4678
|
+
}];
|
|
4679
|
+
readonly name: "LLE_GAME_PAUSED";
|
|
4680
|
+
readonly type: "error";
|
|
4580
4681
|
}, {
|
|
4581
4682
|
readonly inputs: readonly [{
|
|
4582
4683
|
readonly internalType: "uint256";
|
|
@@ -4697,6 +4798,11 @@ export declare const abis: {
|
|
|
4697
4798
|
readonly internalType: "uint256";
|
|
4698
4799
|
readonly name: "liquidationPrice";
|
|
4699
4800
|
readonly type: "uint256";
|
|
4801
|
+
}, {
|
|
4802
|
+
readonly indexed: false;
|
|
4803
|
+
readonly internalType: "uint256";
|
|
4804
|
+
readonly name: "borrowFeeDeficit";
|
|
4805
|
+
readonly type: "uint256";
|
|
4700
4806
|
}];
|
|
4701
4807
|
readonly name: "PositionLiquidated";
|
|
4702
4808
|
readonly type: "event";
|
|
@@ -4894,10 +5000,34 @@ export declare const abis: {
|
|
|
4894
5000
|
}];
|
|
4895
5001
|
readonly name: "LM_GAME_NOT_LIVE";
|
|
4896
5002
|
readonly type: "error";
|
|
5003
|
+
}, {
|
|
5004
|
+
readonly inputs: readonly [];
|
|
5005
|
+
readonly name: "LM_GAME_PAUSED";
|
|
5006
|
+
readonly type: "error";
|
|
5007
|
+
}, {
|
|
5008
|
+
readonly inputs: readonly [];
|
|
5009
|
+
readonly name: "LM_GAME_STARTED_OR_ENDED";
|
|
5010
|
+
readonly type: "error";
|
|
4897
5011
|
}, {
|
|
4898
5012
|
readonly inputs: readonly [];
|
|
4899
5013
|
readonly name: "LM_INVALID_ADDRESS";
|
|
4900
5014
|
readonly type: "error";
|
|
5015
|
+
}, {
|
|
5016
|
+
readonly inputs: readonly [{
|
|
5017
|
+
readonly internalType: "uint256";
|
|
5018
|
+
readonly name: "gameId";
|
|
5019
|
+
readonly type: "uint256";
|
|
5020
|
+
}, {
|
|
5021
|
+
readonly internalType: "bytes12";
|
|
5022
|
+
readonly name: "levrSportId";
|
|
5023
|
+
readonly type: "bytes12";
|
|
5024
|
+
}, {
|
|
5025
|
+
readonly internalType: "enum Side";
|
|
5026
|
+
readonly name: "winner";
|
|
5027
|
+
readonly type: "uint8";
|
|
5028
|
+
}];
|
|
5029
|
+
readonly name: "LM_INVALID_DRAW_OUTCOME_FOR_GAME";
|
|
5030
|
+
readonly type: "error";
|
|
4901
5031
|
}, {
|
|
4902
5032
|
readonly inputs: readonly [{
|
|
4903
5033
|
readonly internalType: "uint256";
|
|
@@ -5002,6 +5132,18 @@ export declare const abis: {
|
|
|
5002
5132
|
readonly inputs: readonly [];
|
|
5003
5133
|
readonly name: "LM_NOT_LEVR_ADMIN";
|
|
5004
5134
|
readonly type: "error";
|
|
5135
|
+
}, {
|
|
5136
|
+
readonly inputs: readonly [{
|
|
5137
|
+
readonly internalType: "uint8";
|
|
5138
|
+
readonly name: "expected";
|
|
5139
|
+
readonly type: "uint8";
|
|
5140
|
+
}, {
|
|
5141
|
+
readonly internalType: "uint8";
|
|
5142
|
+
readonly name: "provided";
|
|
5143
|
+
readonly type: "uint8";
|
|
5144
|
+
}];
|
|
5145
|
+
readonly name: "LM_SIDE_GROUP_MISMATCH";
|
|
5146
|
+
readonly type: "error";
|
|
5005
5147
|
}, {
|
|
5006
5148
|
readonly anonymous: false;
|
|
5007
5149
|
readonly inputs: readonly [{
|
|
@@ -5017,6 +5159,26 @@ export declare const abis: {
|
|
|
5017
5159
|
}];
|
|
5018
5160
|
readonly name: "LevrConfigProviderUpdated";
|
|
5019
5161
|
readonly type: "event";
|
|
5162
|
+
}, {
|
|
5163
|
+
readonly anonymous: false;
|
|
5164
|
+
readonly inputs: readonly [{
|
|
5165
|
+
readonly indexed: false;
|
|
5166
|
+
readonly internalType: "uint256";
|
|
5167
|
+
readonly name: "gameId";
|
|
5168
|
+
readonly type: "uint256";
|
|
5169
|
+
}, {
|
|
5170
|
+
readonly indexed: false;
|
|
5171
|
+
readonly internalType: "enum Side";
|
|
5172
|
+
readonly name: "winnerOverride";
|
|
5173
|
+
readonly type: "uint8";
|
|
5174
|
+
}, {
|
|
5175
|
+
readonly indexed: false;
|
|
5176
|
+
readonly internalType: "bool";
|
|
5177
|
+
readonly name: "marketsAutoResolved";
|
|
5178
|
+
readonly type: "bool";
|
|
5179
|
+
}];
|
|
5180
|
+
readonly name: "LevrGameCanceled";
|
|
5181
|
+
readonly type: "event";
|
|
5020
5182
|
}, {
|
|
5021
5183
|
readonly anonymous: false;
|
|
5022
5184
|
readonly inputs: readonly [{
|
|
@@ -5047,6 +5209,21 @@ export declare const abis: {
|
|
|
5047
5209
|
}];
|
|
5048
5210
|
readonly name: "LevrGameCreated";
|
|
5049
5211
|
readonly type: "event";
|
|
5212
|
+
}, {
|
|
5213
|
+
readonly anonymous: false;
|
|
5214
|
+
readonly inputs: readonly [{
|
|
5215
|
+
readonly indexed: false;
|
|
5216
|
+
readonly internalType: "bytes32";
|
|
5217
|
+
readonly name: "gameMarketId";
|
|
5218
|
+
readonly type: "bytes32";
|
|
5219
|
+
}, {
|
|
5220
|
+
readonly indexed: false;
|
|
5221
|
+
readonly internalType: "enum Side";
|
|
5222
|
+
readonly name: "marketWinnerOverride";
|
|
5223
|
+
readonly type: "uint8";
|
|
5224
|
+
}];
|
|
5225
|
+
readonly name: "LevrGameMarketCanceledWithOverride";
|
|
5226
|
+
readonly type: "event";
|
|
5050
5227
|
}, {
|
|
5051
5228
|
readonly anonymous: false;
|
|
5052
5229
|
readonly inputs: readonly [{
|
|
@@ -5167,6 +5344,26 @@ export declare const abis: {
|
|
|
5167
5344
|
}];
|
|
5168
5345
|
readonly name: "LevrMarketContractUpdated";
|
|
5169
5346
|
readonly type: "event";
|
|
5347
|
+
}, {
|
|
5348
|
+
readonly anonymous: false;
|
|
5349
|
+
readonly inputs: readonly [{
|
|
5350
|
+
readonly indexed: true;
|
|
5351
|
+
readonly internalType: "uint256";
|
|
5352
|
+
readonly name: "gameId";
|
|
5353
|
+
readonly type: "uint256";
|
|
5354
|
+
}, {
|
|
5355
|
+
readonly indexed: true;
|
|
5356
|
+
readonly internalType: "bytes32";
|
|
5357
|
+
readonly name: "gameMarketId";
|
|
5358
|
+
readonly type: "bytes32";
|
|
5359
|
+
}, {
|
|
5360
|
+
readonly indexed: false;
|
|
5361
|
+
readonly internalType: "bool";
|
|
5362
|
+
readonly name: "pause";
|
|
5363
|
+
readonly type: "bool";
|
|
5364
|
+
}];
|
|
5365
|
+
readonly name: "LevrMarketPauseUnpauseFailed";
|
|
5366
|
+
readonly type: "event";
|
|
5170
5367
|
}, {
|
|
5171
5368
|
readonly anonymous: false;
|
|
5172
5369
|
readonly inputs: readonly [{
|
|
@@ -5309,10 +5506,6 @@ export declare const abis: {
|
|
|
5309
5506
|
readonly internalType: "string";
|
|
5310
5507
|
readonly name: "marketName";
|
|
5311
5508
|
readonly type: "string";
|
|
5312
|
-
}, {
|
|
5313
|
-
readonly internalType: "uint8";
|
|
5314
|
-
readonly name: "allowedSideGroup";
|
|
5315
|
-
readonly type: "uint8";
|
|
5316
5509
|
}];
|
|
5317
5510
|
readonly name: "addLevrMarket";
|
|
5318
5511
|
readonly outputs: readonly [];
|
|
@@ -5867,6 +6060,20 @@ export declare const abis: {
|
|
|
5867
6060
|
}];
|
|
5868
6061
|
readonly stateMutability: "view";
|
|
5869
6062
|
readonly type: "function";
|
|
6063
|
+
}, {
|
|
6064
|
+
readonly inputs: readonly [{
|
|
6065
|
+
readonly internalType: "uint256";
|
|
6066
|
+
readonly name: "gameId";
|
|
6067
|
+
readonly type: "uint256";
|
|
6068
|
+
}];
|
|
6069
|
+
readonly name: "isGamePaused";
|
|
6070
|
+
readonly outputs: readonly [{
|
|
6071
|
+
readonly internalType: "bool";
|
|
6072
|
+
readonly name: "";
|
|
6073
|
+
readonly type: "bool";
|
|
6074
|
+
}];
|
|
6075
|
+
readonly stateMutability: "view";
|
|
6076
|
+
readonly type: "function";
|
|
5870
6077
|
}, {
|
|
5871
6078
|
readonly inputs: readonly [{
|
|
5872
6079
|
readonly internalType: "bytes8";
|
|
@@ -6186,6 +6393,10 @@ export declare const abis: {
|
|
|
6186
6393
|
readonly inputs: readonly [];
|
|
6187
6394
|
readonly name: "LMF_INVALID_ODDS";
|
|
6188
6395
|
readonly type: "error";
|
|
6396
|
+
}, {
|
|
6397
|
+
readonly inputs: readonly [];
|
|
6398
|
+
readonly name: "LMF_INVALID_ODDS_FORMAT";
|
|
6399
|
+
readonly type: "error";
|
|
6189
6400
|
}, {
|
|
6190
6401
|
readonly inputs: readonly [];
|
|
6191
6402
|
readonly name: "LMF_INVALID_ODDS_GROUP";
|
|
@@ -7275,7 +7486,7 @@ export declare const abis: {
|
|
|
7275
7486
|
readonly type: "error";
|
|
7276
7487
|
}, {
|
|
7277
7488
|
readonly inputs: readonly [];
|
|
7278
|
-
readonly name: "
|
|
7489
|
+
readonly name: "LMRS_NOT_LEVR_GAME_ADMIN";
|
|
7279
7490
|
readonly type: "error";
|
|
7280
7491
|
}, {
|
|
7281
7492
|
readonly inputs: readonly [{
|
|
@@ -7662,6 +7873,32 @@ export declare const abis: {
|
|
|
7662
7873
|
}];
|
|
7663
7874
|
readonly stateMutability: "view";
|
|
7664
7875
|
readonly type: "function";
|
|
7876
|
+
}, {
|
|
7877
|
+
readonly inputs: readonly [{
|
|
7878
|
+
readonly internalType: "bytes32";
|
|
7879
|
+
readonly name: "gameMarketId";
|
|
7880
|
+
readonly type: "bytes32";
|
|
7881
|
+
}, {
|
|
7882
|
+
readonly internalType: "uint256";
|
|
7883
|
+
readonly name: "boundedLossRequested";
|
|
7884
|
+
readonly type: "uint256";
|
|
7885
|
+
}, {
|
|
7886
|
+
readonly internalType: "enum Side";
|
|
7887
|
+
readonly name: "side";
|
|
7888
|
+
readonly type: "uint8";
|
|
7889
|
+
}];
|
|
7890
|
+
readonly name: "getBalanceBps";
|
|
7891
|
+
readonly outputs: readonly [{
|
|
7892
|
+
readonly internalType: "uint16";
|
|
7893
|
+
readonly name: "preBalanceBps";
|
|
7894
|
+
readonly type: "uint16";
|
|
7895
|
+
}, {
|
|
7896
|
+
readonly internalType: "uint16";
|
|
7897
|
+
readonly name: "postBalanceBps";
|
|
7898
|
+
readonly type: "uint16";
|
|
7899
|
+
}];
|
|
7900
|
+
readonly stateMutability: "view";
|
|
7901
|
+
readonly type: "function";
|
|
7665
7902
|
}, {
|
|
7666
7903
|
readonly inputs: readonly [{
|
|
7667
7904
|
readonly internalType: "bytes32";
|
|
@@ -7966,7 +8203,7 @@ export declare const abis: {
|
|
|
7966
8203
|
readonly type: "uint256";
|
|
7967
8204
|
}, {
|
|
7968
8205
|
readonly internalType: "uint256";
|
|
7969
|
-
readonly name: "
|
|
8206
|
+
readonly name: "minTokensOut";
|
|
7970
8207
|
readonly type: "uint256";
|
|
7971
8208
|
}, {
|
|
7972
8209
|
readonly internalType: "enum Side";
|
|
@@ -8004,7 +8241,7 @@ export declare const abis: {
|
|
|
8004
8241
|
readonly type: "uint256";
|
|
8005
8242
|
}, {
|
|
8006
8243
|
readonly internalType: "uint256";
|
|
8007
|
-
readonly name: "
|
|
8244
|
+
readonly name: "minTokensOut";
|
|
8008
8245
|
readonly type: "uint256";
|
|
8009
8246
|
}, {
|
|
8010
8247
|
readonly internalType: "enum Side";
|
|
@@ -8251,6 +8488,24 @@ export declare const abis: {
|
|
|
8251
8488
|
readonly outputs: readonly [];
|
|
8252
8489
|
readonly stateMutability: "nonpayable";
|
|
8253
8490
|
readonly type: "function";
|
|
8491
|
+
}, {
|
|
8492
|
+
readonly inputs: readonly [{
|
|
8493
|
+
readonly internalType: "bytes32[]";
|
|
8494
|
+
readonly name: "gameMarketIds";
|
|
8495
|
+
readonly type: "bytes32[]";
|
|
8496
|
+
}, {
|
|
8497
|
+
readonly internalType: "bytes16[]";
|
|
8498
|
+
readonly name: "levrMarketIds";
|
|
8499
|
+
readonly type: "bytes16[]";
|
|
8500
|
+
}, {
|
|
8501
|
+
readonly internalType: "bytes32[]";
|
|
8502
|
+
readonly name: "positionIds";
|
|
8503
|
+
readonly type: "bytes32[]";
|
|
8504
|
+
}];
|
|
8505
|
+
readonly name: "redeemPositions";
|
|
8506
|
+
readonly outputs: readonly [];
|
|
8507
|
+
readonly stateMutability: "nonpayable";
|
|
8508
|
+
readonly type: "function";
|
|
8254
8509
|
}, {
|
|
8255
8510
|
readonly inputs: readonly [{
|
|
8256
8511
|
readonly internalType: "bytes4";
|
|
@@ -8281,10 +8536,6 @@ export declare const abis: {
|
|
|
8281
8536
|
readonly internalType: "address";
|
|
8282
8537
|
readonly name: "_levrConfigProvider";
|
|
8283
8538
|
readonly type: "address";
|
|
8284
|
-
}, {
|
|
8285
|
-
readonly internalType: "bool";
|
|
8286
|
-
readonly name: "activateRush";
|
|
8287
|
-
readonly type: "bool";
|
|
8288
8539
|
}];
|
|
8289
8540
|
readonly stateMutability: "nonpayable";
|
|
8290
8541
|
readonly type: "constructor";
|
|
@@ -8372,14 +8623,6 @@ export declare const abis: {
|
|
|
8372
8623
|
}];
|
|
8373
8624
|
readonly name: "LVD_RISK_EXCEEDS_UTILIZATION";
|
|
8374
8625
|
readonly type: "error";
|
|
8375
|
-
}, {
|
|
8376
|
-
readonly inputs: readonly [];
|
|
8377
|
-
readonly name: "LVD_VAULT_RUSH_ACTIVE";
|
|
8378
|
-
readonly type: "error";
|
|
8379
|
-
}, {
|
|
8380
|
-
readonly inputs: readonly [];
|
|
8381
|
-
readonly name: "LVD_VAULT_RUSH_INACTIVE";
|
|
8382
|
-
readonly type: "error";
|
|
8383
8626
|
}, {
|
|
8384
8627
|
readonly inputs: readonly [];
|
|
8385
8628
|
readonly name: "LVD_WITHDRAWAL_EXECUTION_WINDOW_ELAPSED";
|
|
@@ -8483,16 +8726,6 @@ export declare const abis: {
|
|
|
8483
8726
|
}];
|
|
8484
8727
|
readonly name: "Unpaused";
|
|
8485
8728
|
readonly type: "event";
|
|
8486
|
-
}, {
|
|
8487
|
-
readonly anonymous: false;
|
|
8488
|
-
readonly inputs: readonly [{
|
|
8489
|
-
readonly indexed: false;
|
|
8490
|
-
readonly internalType: "uint48";
|
|
8491
|
-
readonly name: "endedAt";
|
|
8492
|
-
readonly type: "uint48";
|
|
8493
|
-
}];
|
|
8494
|
-
readonly name: "VaultRushEnded";
|
|
8495
|
-
readonly type: "event";
|
|
8496
8729
|
}, {
|
|
8497
8730
|
readonly anonymous: false;
|
|
8498
8731
|
readonly inputs: readonly [{
|
|
@@ -8579,38 +8812,6 @@ export declare const abis: {
|
|
|
8579
8812
|
readonly outputs: readonly [];
|
|
8580
8813
|
readonly stateMutability: "nonpayable";
|
|
8581
8814
|
readonly type: "function";
|
|
8582
|
-
}, {
|
|
8583
|
-
readonly inputs: readonly [];
|
|
8584
|
-
readonly name: "endVaultRush";
|
|
8585
|
-
readonly outputs: readonly [];
|
|
8586
|
-
readonly stateMutability: "nonpayable";
|
|
8587
|
-
readonly type: "function";
|
|
8588
|
-
}, {
|
|
8589
|
-
readonly inputs: readonly [{
|
|
8590
|
-
readonly internalType: "address";
|
|
8591
|
-
readonly name: "asset";
|
|
8592
|
-
readonly type: "address";
|
|
8593
|
-
}, {
|
|
8594
|
-
readonly internalType: "uint256";
|
|
8595
|
-
readonly name: "mvpAmount";
|
|
8596
|
-
readonly type: "uint256";
|
|
8597
|
-
}, {
|
|
8598
|
-
readonly internalType: "uint16";
|
|
8599
|
-
readonly name: "feeBps";
|
|
8600
|
-
readonly type: "uint16";
|
|
8601
|
-
}, {
|
|
8602
|
-
readonly internalType: "bool";
|
|
8603
|
-
readonly name: "isDeposit";
|
|
8604
|
-
readonly type: "bool";
|
|
8605
|
-
}];
|
|
8606
|
-
readonly name: "getFeeBps";
|
|
8607
|
-
readonly outputs: readonly [{
|
|
8608
|
-
readonly internalType: "uint16";
|
|
8609
|
-
readonly name: "";
|
|
8610
|
-
readonly type: "uint16";
|
|
8611
|
-
}];
|
|
8612
|
-
readonly stateMutability: "view";
|
|
8613
|
-
readonly type: "function";
|
|
8614
8815
|
}, {
|
|
8615
8816
|
readonly inputs: readonly [];
|
|
8616
8817
|
readonly name: "getLatestRound";
|
|
@@ -8692,6 +8893,28 @@ export declare const abis: {
|
|
|
8692
8893
|
}];
|
|
8693
8894
|
readonly stateMutability: "view";
|
|
8694
8895
|
readonly type: "function";
|
|
8896
|
+
}, {
|
|
8897
|
+
readonly inputs: readonly [{
|
|
8898
|
+
readonly internalType: "address";
|
|
8899
|
+
readonly name: "asset";
|
|
8900
|
+
readonly type: "address";
|
|
8901
|
+
}, {
|
|
8902
|
+
readonly internalType: "uint256";
|
|
8903
|
+
readonly name: "mvpAmount";
|
|
8904
|
+
readonly type: "uint256";
|
|
8905
|
+
}, {
|
|
8906
|
+
readonly internalType: "bool";
|
|
8907
|
+
readonly name: "isDeposit";
|
|
8908
|
+
readonly type: "bool";
|
|
8909
|
+
}];
|
|
8910
|
+
readonly name: "getWeightedFeeBps";
|
|
8911
|
+
readonly outputs: readonly [{
|
|
8912
|
+
readonly internalType: "uint16";
|
|
8913
|
+
readonly name: "";
|
|
8914
|
+
readonly type: "uint16";
|
|
8915
|
+
}];
|
|
8916
|
+
readonly stateMutability: "view";
|
|
8917
|
+
readonly type: "function";
|
|
8695
8918
|
}, {
|
|
8696
8919
|
readonly inputs: readonly [{
|
|
8697
8920
|
readonly internalType: "address";
|
|
@@ -8823,6 +9046,10 @@ export declare const abis: {
|
|
|
8823
9046
|
readonly internalType: "uint256";
|
|
8824
9047
|
readonly name: "mvpAmount";
|
|
8825
9048
|
readonly type: "uint256";
|
|
9049
|
+
}, {
|
|
9050
|
+
readonly internalType: "uint256";
|
|
9051
|
+
readonly name: "mvpFee";
|
|
9052
|
+
readonly type: "uint256";
|
|
8826
9053
|
}, {
|
|
8827
9054
|
readonly internalType: "uint256";
|
|
8828
9055
|
readonly name: "price";
|
|
@@ -8845,6 +9072,10 @@ export declare const abis: {
|
|
|
8845
9072
|
readonly internalType: "uint256";
|
|
8846
9073
|
readonly name: "mvpAmount";
|
|
8847
9074
|
readonly type: "uint256";
|
|
9075
|
+
}, {
|
|
9076
|
+
readonly internalType: "uint256";
|
|
9077
|
+
readonly name: "mvpFee";
|
|
9078
|
+
readonly type: "uint256";
|
|
8848
9079
|
}, {
|
|
8849
9080
|
readonly internalType: "uint256";
|
|
8850
9081
|
readonly name: "price";
|
|
@@ -8867,6 +9098,10 @@ export declare const abis: {
|
|
|
8867
9098
|
readonly internalType: "uint256";
|
|
8868
9099
|
readonly name: "assetAmount";
|
|
8869
9100
|
readonly type: "uint256";
|
|
9101
|
+
}, {
|
|
9102
|
+
readonly internalType: "uint256";
|
|
9103
|
+
readonly name: "mvpFee";
|
|
9104
|
+
readonly type: "uint256";
|
|
8870
9105
|
}, {
|
|
8871
9106
|
readonly internalType: "uint256";
|
|
8872
9107
|
readonly name: "price";
|
|
@@ -8889,6 +9124,10 @@ export declare const abis: {
|
|
|
8889
9124
|
readonly internalType: "uint256";
|
|
8890
9125
|
readonly name: "assetAmount";
|
|
8891
9126
|
readonly type: "uint256";
|
|
9127
|
+
}, {
|
|
9128
|
+
readonly internalType: "uint256";
|
|
9129
|
+
readonly name: "mvpFee";
|
|
9130
|
+
readonly type: "uint256";
|
|
8892
9131
|
}, {
|
|
8893
9132
|
readonly internalType: "uint256";
|
|
8894
9133
|
readonly name: "price";
|
|
@@ -8976,16 +9215,6 @@ export declare const abis: {
|
|
|
8976
9215
|
readonly outputs: readonly [];
|
|
8977
9216
|
readonly stateMutability: "nonpayable";
|
|
8978
9217
|
readonly type: "function";
|
|
8979
|
-
}, {
|
|
8980
|
-
readonly inputs: readonly [];
|
|
8981
|
-
readonly name: "vaultRushActive";
|
|
8982
|
-
readonly outputs: readonly [{
|
|
8983
|
-
readonly internalType: "bool";
|
|
8984
|
-
readonly name: "";
|
|
8985
|
-
readonly type: "bool";
|
|
8986
|
-
}];
|
|
8987
|
-
readonly stateMutability: "view";
|
|
8988
|
-
readonly type: "function";
|
|
8989
9218
|
}, {
|
|
8990
9219
|
readonly inputs: readonly [{
|
|
8991
9220
|
readonly internalType: "address";
|
|
@@ -9061,6 +9290,10 @@ export declare const abis: {
|
|
|
9061
9290
|
readonly inputs: readonly [];
|
|
9062
9291
|
readonly name: "LB_NOT_LEVR_ADMIN";
|
|
9063
9292
|
readonly type: "error";
|
|
9293
|
+
}, {
|
|
9294
|
+
readonly inputs: readonly [];
|
|
9295
|
+
readonly name: "LVR_INSUFFICIENT_DEPOSIT_VALUE";
|
|
9296
|
+
readonly type: "error";
|
|
9064
9297
|
}, {
|
|
9065
9298
|
readonly inputs: readonly [];
|
|
9066
9299
|
readonly name: "LVR_INSUFFICIENT_INITIAL_DEPOSIT_VALUE";
|
|
@@ -9087,11 +9320,11 @@ export declare const abis: {
|
|
|
9087
9320
|
readonly type: "error";
|
|
9088
9321
|
}, {
|
|
9089
9322
|
readonly inputs: readonly [];
|
|
9090
|
-
readonly name: "
|
|
9323
|
+
readonly name: "LVR_INVALID_AMOUNT";
|
|
9091
9324
|
readonly type: "error";
|
|
9092
9325
|
}, {
|
|
9093
9326
|
readonly inputs: readonly [];
|
|
9094
|
-
readonly name: "
|
|
9327
|
+
readonly name: "LVR_NOT_VAULT_ASSET";
|
|
9095
9328
|
readonly type: "error";
|
|
9096
9329
|
}, {
|
|
9097
9330
|
readonly inputs: readonly [];
|
|
@@ -9114,12 +9347,7 @@ export declare const abis: {
|
|
|
9114
9347
|
readonly inputs: readonly [{
|
|
9115
9348
|
readonly indexed: true;
|
|
9116
9349
|
readonly internalType: "address";
|
|
9117
|
-
readonly name: "
|
|
9118
|
-
readonly type: "address";
|
|
9119
|
-
}, {
|
|
9120
|
-
readonly indexed: true;
|
|
9121
|
-
readonly internalType: "address";
|
|
9122
|
-
readonly name: "receiver";
|
|
9350
|
+
readonly name: "user";
|
|
9123
9351
|
readonly type: "address";
|
|
9124
9352
|
}, {
|
|
9125
9353
|
readonly indexed: true;
|
|
@@ -9169,12 +9397,7 @@ export declare const abis: {
|
|
|
9169
9397
|
readonly inputs: readonly [{
|
|
9170
9398
|
readonly indexed: true;
|
|
9171
9399
|
readonly internalType: "address";
|
|
9172
|
-
readonly name: "
|
|
9173
|
-
readonly type: "address";
|
|
9174
|
-
}, {
|
|
9175
|
-
readonly indexed: true;
|
|
9176
|
-
readonly internalType: "address";
|
|
9177
|
-
readonly name: "receiver";
|
|
9400
|
+
readonly name: "user";
|
|
9178
9401
|
readonly type: "address";
|
|
9179
9402
|
}, {
|
|
9180
9403
|
readonly indexed: true;
|
|
@@ -9287,10 +9510,6 @@ export declare const abis: {
|
|
|
9287
9510
|
readonly type: "function";
|
|
9288
9511
|
}, {
|
|
9289
9512
|
readonly inputs: readonly [{
|
|
9290
|
-
readonly internalType: "address";
|
|
9291
|
-
readonly name: "receiver";
|
|
9292
|
-
readonly type: "address";
|
|
9293
|
-
}, {
|
|
9294
9513
|
readonly internalType: "address";
|
|
9295
9514
|
readonly name: "asset";
|
|
9296
9515
|
readonly type: "address";
|
|
@@ -9345,10 +9564,6 @@ export declare const abis: {
|
|
|
9345
9564
|
readonly type: "function";
|
|
9346
9565
|
}, {
|
|
9347
9566
|
readonly inputs: readonly [{
|
|
9348
|
-
readonly internalType: "address";
|
|
9349
|
-
readonly name: "receiver";
|
|
9350
|
-
readonly type: "address";
|
|
9351
|
-
}, {
|
|
9352
9567
|
readonly internalType: "address";
|
|
9353
9568
|
readonly name: "asset";
|
|
9354
9569
|
readonly type: "address";
|
|
@@ -10028,7 +10243,7 @@ export declare const abis: {
|
|
|
10028
10243
|
}, {
|
|
10029
10244
|
readonly inputs: readonly [{
|
|
10030
10245
|
readonly internalType: "address";
|
|
10031
|
-
readonly name: "";
|
|
10246
|
+
readonly name: "receiver";
|
|
10032
10247
|
readonly type: "address";
|
|
10033
10248
|
}];
|
|
10034
10249
|
readonly name: "maxDeposit";
|
|
@@ -10042,7 +10257,7 @@ export declare const abis: {
|
|
|
10042
10257
|
}, {
|
|
10043
10258
|
readonly inputs: readonly [{
|
|
10044
10259
|
readonly internalType: "address";
|
|
10045
|
-
readonly name: "";
|
|
10260
|
+
readonly name: "receiver";
|
|
10046
10261
|
readonly type: "address";
|
|
10047
10262
|
}];
|
|
10048
10263
|
readonly name: "maxMint";
|
|
@@ -10748,6 +10963,22 @@ export declare const abis: {
|
|
|
10748
10963
|
}];
|
|
10749
10964
|
readonly name: "LO_FEES_EXCEEDS_PAYOUT";
|
|
10750
10965
|
readonly type: "error";
|
|
10966
|
+
}, {
|
|
10967
|
+
readonly inputs: readonly [{
|
|
10968
|
+
readonly internalType: "address";
|
|
10969
|
+
readonly name: "buyer";
|
|
10970
|
+
readonly type: "address";
|
|
10971
|
+
}, {
|
|
10972
|
+
readonly internalType: "uint256";
|
|
10973
|
+
readonly name: "wageredAmount";
|
|
10974
|
+
readonly type: "uint256";
|
|
10975
|
+
}, {
|
|
10976
|
+
readonly internalType: "uint256";
|
|
10977
|
+
readonly name: "totalFees";
|
|
10978
|
+
readonly type: "uint256";
|
|
10979
|
+
}];
|
|
10980
|
+
readonly name: "LO_INSUFFICIENT_COLLATERAL_AFTER_FEES";
|
|
10981
|
+
readonly type: "error";
|
|
10751
10982
|
}, {
|
|
10752
10983
|
readonly inputs: readonly [{
|
|
10753
10984
|
readonly internalType: "bytes32";
|
|
@@ -10948,7 +11179,7 @@ export declare const abis: {
|
|
|
10948
11179
|
}, {
|
|
10949
11180
|
readonly indexed: false;
|
|
10950
11181
|
readonly internalType: "uint256";
|
|
10951
|
-
readonly name: "
|
|
11182
|
+
readonly name: "purchaseBalanceFee";
|
|
10952
11183
|
readonly type: "uint256";
|
|
10953
11184
|
}, {
|
|
10954
11185
|
readonly indexed: false;
|
|
@@ -11008,7 +11239,7 @@ export declare const abis: {
|
|
|
11008
11239
|
}, {
|
|
11009
11240
|
readonly indexed: false;
|
|
11010
11241
|
readonly internalType: "uint256";
|
|
11011
|
-
readonly name: "
|
|
11242
|
+
readonly name: "saleBalanceFee";
|
|
11012
11243
|
readonly type: "uint256";
|
|
11013
11244
|
}, {
|
|
11014
11245
|
readonly indexed: false;
|
|
@@ -11079,14 +11310,14 @@ export declare const abis: {
|
|
|
11079
11310
|
readonly internalType: "address";
|
|
11080
11311
|
readonly name: "buyer";
|
|
11081
11312
|
readonly type: "address";
|
|
11082
|
-
}, {
|
|
11083
|
-
readonly internalType: "bytes16";
|
|
11084
|
-
readonly name: "levrMarketId";
|
|
11085
|
-
readonly type: "bytes16";
|
|
11086
11313
|
}, {
|
|
11087
11314
|
readonly internalType: "uint8";
|
|
11088
11315
|
readonly name: "leverage";
|
|
11089
11316
|
readonly type: "uint8";
|
|
11317
|
+
}, {
|
|
11318
|
+
readonly internalType: "bytes16";
|
|
11319
|
+
readonly name: "levrMarketId";
|
|
11320
|
+
readonly type: "bytes16";
|
|
11090
11321
|
}];
|
|
11091
11322
|
readonly internalType: "struct AsksToBidInput";
|
|
11092
11323
|
readonly name: "input";
|
|
@@ -11175,14 +11406,14 @@ export declare const abis: {
|
|
|
11175
11406
|
readonly internalType: "address";
|
|
11176
11407
|
readonly name: "buyer";
|
|
11177
11408
|
readonly type: "address";
|
|
11178
|
-
}, {
|
|
11179
|
-
readonly internalType: "bytes16";
|
|
11180
|
-
readonly name: "levrMarketId";
|
|
11181
|
-
readonly type: "bytes16";
|
|
11182
11409
|
}, {
|
|
11183
11410
|
readonly internalType: "uint8";
|
|
11184
11411
|
readonly name: "leverage";
|
|
11185
11412
|
readonly type: "uint8";
|
|
11413
|
+
}, {
|
|
11414
|
+
readonly internalType: "bytes16";
|
|
11415
|
+
readonly name: "levrMarketId";
|
|
11416
|
+
readonly type: "bytes16";
|
|
11186
11417
|
}];
|
|
11187
11418
|
readonly internalType: "struct AsksToBidInput";
|
|
11188
11419
|
readonly name: "asksToBid";
|
|
@@ -11265,14 +11496,14 @@ export declare const abis: {
|
|
|
11265
11496
|
readonly internalType: "address";
|
|
11266
11497
|
readonly name: "buyer";
|
|
11267
11498
|
readonly type: "address";
|
|
11268
|
-
}, {
|
|
11269
|
-
readonly internalType: "bytes16";
|
|
11270
|
-
readonly name: "levrMarketId";
|
|
11271
|
-
readonly type: "bytes16";
|
|
11272
11499
|
}, {
|
|
11273
11500
|
readonly internalType: "uint8";
|
|
11274
11501
|
readonly name: "leverage";
|
|
11275
11502
|
readonly type: "uint8";
|
|
11503
|
+
}, {
|
|
11504
|
+
readonly internalType: "bytes16";
|
|
11505
|
+
readonly name: "levrMarketId";
|
|
11506
|
+
readonly type: "bytes16";
|
|
11276
11507
|
}];
|
|
11277
11508
|
readonly internalType: "struct AsksToBidInput[]";
|
|
11278
11509
|
readonly name: "asksData";
|
|
@@ -11543,6 +11774,18 @@ export declare const abis: {
|
|
|
11543
11774
|
readonly inputs: readonly [];
|
|
11544
11775
|
readonly name: "LBM_DUPLICATE_MARKET";
|
|
11545
11776
|
readonly type: "error";
|
|
11777
|
+
}, {
|
|
11778
|
+
readonly inputs: readonly [{
|
|
11779
|
+
readonly internalType: "uint256";
|
|
11780
|
+
readonly name: "gameId";
|
|
11781
|
+
readonly type: "uint256";
|
|
11782
|
+
}, {
|
|
11783
|
+
readonly internalType: "bytes32";
|
|
11784
|
+
readonly name: "gameMarketId";
|
|
11785
|
+
readonly type: "bytes32";
|
|
11786
|
+
}];
|
|
11787
|
+
readonly name: "LBM_GAME_PAUSED";
|
|
11788
|
+
readonly type: "error";
|
|
11546
11789
|
}, {
|
|
11547
11790
|
readonly inputs: readonly [{
|
|
11548
11791
|
readonly internalType: "bytes32";
|
|
@@ -11659,6 +11902,10 @@ export declare const abis: {
|
|
|
11659
11902
|
}];
|
|
11660
11903
|
readonly name: "LBM_MARKET_SETTLED";
|
|
11661
11904
|
readonly type: "error";
|
|
11905
|
+
}, {
|
|
11906
|
+
readonly inputs: readonly [];
|
|
11907
|
+
readonly name: "LBM_MISSING_RISK_ALLOCATION_FOR_DRAW";
|
|
11908
|
+
readonly type: "error";
|
|
11662
11909
|
}, {
|
|
11663
11910
|
readonly inputs: readonly [];
|
|
11664
11911
|
readonly name: "LBM_NOT_LEVR_ADMIN";
|
|
@@ -11699,6 +11946,14 @@ export declare const abis: {
|
|
|
11699
11946
|
readonly inputs: readonly [];
|
|
11700
11947
|
readonly name: "LOUM_TARGET_SCORE_NOT_REACHED";
|
|
11701
11948
|
readonly type: "error";
|
|
11949
|
+
}, {
|
|
11950
|
+
readonly inputs: readonly [{
|
|
11951
|
+
readonly internalType: "address";
|
|
11952
|
+
readonly name: "token";
|
|
11953
|
+
readonly type: "address";
|
|
11954
|
+
}];
|
|
11955
|
+
readonly name: "SafeERC20FailedOperation";
|
|
11956
|
+
readonly type: "error";
|
|
11702
11957
|
}, {
|
|
11703
11958
|
readonly anonymous: false;
|
|
11704
11959
|
readonly inputs: readonly [{
|
|
@@ -11894,7 +12149,7 @@ export declare const abis: {
|
|
|
11894
12149
|
}, {
|
|
11895
12150
|
readonly indexed: false;
|
|
11896
12151
|
readonly internalType: "uint256";
|
|
11897
|
-
readonly name: "
|
|
12152
|
+
readonly name: "balanceFee";
|
|
11898
12153
|
readonly type: "uint256";
|
|
11899
12154
|
}, {
|
|
11900
12155
|
readonly indexed: false;
|
|
@@ -11959,7 +12214,7 @@ export declare const abis: {
|
|
|
11959
12214
|
}, {
|
|
11960
12215
|
readonly indexed: false;
|
|
11961
12216
|
readonly internalType: "uint256";
|
|
11962
|
-
readonly name: "
|
|
12217
|
+
readonly name: "balanceFee";
|
|
11963
12218
|
readonly type: "uint256";
|
|
11964
12219
|
}];
|
|
11965
12220
|
readonly name: "PositionRedeemed";
|
|
@@ -12002,6 +12257,16 @@ export declare const abis: {
|
|
|
12002
12257
|
readonly outputs: readonly [];
|
|
12003
12258
|
readonly stateMutability: "nonpayable";
|
|
12004
12259
|
readonly type: "function";
|
|
12260
|
+
}, {
|
|
12261
|
+
readonly inputs: readonly [];
|
|
12262
|
+
readonly name: "expectedSideGroup";
|
|
12263
|
+
readonly outputs: readonly [{
|
|
12264
|
+
readonly internalType: "uint8";
|
|
12265
|
+
readonly name: "";
|
|
12266
|
+
readonly type: "uint8";
|
|
12267
|
+
}];
|
|
12268
|
+
readonly stateMutability: "pure";
|
|
12269
|
+
readonly type: "function";
|
|
12005
12270
|
}, {
|
|
12006
12271
|
readonly inputs: readonly [];
|
|
12007
12272
|
readonly name: "getActiveGameMarkets";
|
|
@@ -12084,18 +12349,26 @@ export declare const abis: {
|
|
|
12084
12349
|
readonly internalType: "address";
|
|
12085
12350
|
readonly name: "collateralAsset";
|
|
12086
12351
|
readonly type: "address";
|
|
12087
|
-
}, {
|
|
12088
|
-
readonly internalType: "bytes12";
|
|
12089
|
-
readonly name: "levrSportId";
|
|
12090
|
-
readonly type: "bytes12";
|
|
12091
12352
|
}, {
|
|
12092
12353
|
readonly internalType: "uint16";
|
|
12093
12354
|
readonly name: "borrowFeeBps";
|
|
12094
12355
|
readonly type: "uint16";
|
|
12356
|
+
}, {
|
|
12357
|
+
readonly internalType: "uint16";
|
|
12358
|
+
readonly name: "gameProgressAtCancel";
|
|
12359
|
+
readonly type: "uint16";
|
|
12095
12360
|
}, {
|
|
12096
12361
|
readonly internalType: "uint8";
|
|
12097
12362
|
readonly name: "allowedSideGroup";
|
|
12098
12363
|
readonly type: "uint8";
|
|
12364
|
+
}, {
|
|
12365
|
+
readonly internalType: "bool";
|
|
12366
|
+
readonly name: "isThreeWayMarket";
|
|
12367
|
+
readonly type: "bool";
|
|
12368
|
+
}, {
|
|
12369
|
+
readonly internalType: "bytes12";
|
|
12370
|
+
readonly name: "levrSportId";
|
|
12371
|
+
readonly type: "bytes12";
|
|
12099
12372
|
}];
|
|
12100
12373
|
readonly internalType: "struct LevrMarket";
|
|
12101
12374
|
readonly name: "";
|
|
@@ -12163,7 +12436,7 @@ export declare const abis: {
|
|
|
12163
12436
|
readonly type: "uint256";
|
|
12164
12437
|
}, {
|
|
12165
12438
|
readonly internalType: "uint256";
|
|
12166
|
-
readonly name: "
|
|
12439
|
+
readonly name: "balanceFee";
|
|
12167
12440
|
readonly type: "uint256";
|
|
12168
12441
|
}, {
|
|
12169
12442
|
readonly internalType: "uint256";
|
|
@@ -12284,7 +12557,7 @@ export declare const abis: {
|
|
|
12284
12557
|
readonly type: "uint256";
|
|
12285
12558
|
}, {
|
|
12286
12559
|
readonly internalType: "uint256";
|
|
12287
|
-
readonly name: "
|
|
12560
|
+
readonly name: "balanceFee";
|
|
12288
12561
|
readonly type: "uint256";
|
|
12289
12562
|
}, {
|
|
12290
12563
|
readonly internalType: "uint256";
|
|
@@ -12390,6 +12663,10 @@ export declare const abis: {
|
|
|
12390
12663
|
readonly internalType: "bytes12";
|
|
12391
12664
|
readonly name: "levrSportId";
|
|
12392
12665
|
readonly type: "bytes12";
|
|
12666
|
+
}, {
|
|
12667
|
+
readonly internalType: "bool";
|
|
12668
|
+
readonly name: "";
|
|
12669
|
+
readonly type: "bool";
|
|
12393
12670
|
}, {
|
|
12394
12671
|
readonly internalType: "bytes";
|
|
12395
12672
|
readonly name: "gameMarketInitData";
|
|
@@ -12599,7 +12876,7 @@ export declare const abis: {
|
|
|
12599
12876
|
}, {
|
|
12600
12877
|
readonly inputs: readonly [{
|
|
12601
12878
|
readonly internalType: "uint256";
|
|
12602
|
-
readonly name: "
|
|
12879
|
+
readonly name: "minPrice";
|
|
12603
12880
|
readonly type: "uint256";
|
|
12604
12881
|
}, {
|
|
12605
12882
|
readonly internalType: "uint256";
|
|
@@ -12703,7 +12980,7 @@ export declare const abis: {
|
|
|
12703
12980
|
readonly name: "getPythExtremePrices";
|
|
12704
12981
|
readonly outputs: readonly [{
|
|
12705
12982
|
readonly internalType: "uint256";
|
|
12706
|
-
readonly name: "
|
|
12983
|
+
readonly name: "minPrice";
|
|
12707
12984
|
readonly type: "uint256";
|
|
12708
12985
|
}, {
|
|
12709
12986
|
readonly internalType: "uint256";
|
|
@@ -12820,6 +13097,10 @@ export declare const abis: {
|
|
|
12820
13097
|
readonly inputs: readonly [];
|
|
12821
13098
|
readonly name: "LU_INEXISTENT_GAME_MARKET";
|
|
12822
13099
|
readonly type: "error";
|
|
13100
|
+
}, {
|
|
13101
|
+
readonly inputs: readonly [];
|
|
13102
|
+
readonly name: "LU_INSUFFICIENT_COLLATERAL_AFTER_FEES";
|
|
13103
|
+
readonly type: "error";
|
|
12823
13104
|
}, {
|
|
12824
13105
|
readonly inputs: readonly [{
|
|
12825
13106
|
readonly internalType: "uint256";
|
|
@@ -13036,7 +13317,7 @@ export declare const abis: {
|
|
|
13036
13317
|
readonly inputs: readonly [{
|
|
13037
13318
|
readonly internalType: "contract ILevrConfigProvider";
|
|
13038
13319
|
readonly name: "configProvider";
|
|
13039
|
-
readonly type: "
|
|
13320
|
+
readonly type: "ILevrConfigProvider";
|
|
13040
13321
|
}, {
|
|
13041
13322
|
readonly internalType: "address";
|
|
13042
13323
|
readonly name: "user";
|
|
@@ -13117,7 +13398,7 @@ export declare const abis: {
|
|
|
13117
13398
|
readonly type: "uint256";
|
|
13118
13399
|
}, {
|
|
13119
13400
|
readonly internalType: "uint256";
|
|
13120
|
-
readonly name: "
|
|
13401
|
+
readonly name: "balanceFee";
|
|
13121
13402
|
readonly type: "uint256";
|
|
13122
13403
|
}];
|
|
13123
13404
|
readonly stateMutability: "view";
|
|
@@ -13126,7 +13407,7 @@ export declare const abis: {
|
|
|
13126
13407
|
readonly inputs: readonly [{
|
|
13127
13408
|
readonly internalType: "contract ILevrConfigProvider";
|
|
13128
13409
|
readonly name: "configProvider";
|
|
13129
|
-
readonly type: "
|
|
13410
|
+
readonly type: "ILevrConfigProvider";
|
|
13130
13411
|
}, {
|
|
13131
13412
|
readonly internalType: "address";
|
|
13132
13413
|
readonly name: "user";
|
|
@@ -13164,7 +13445,7 @@ export declare const abis: {
|
|
|
13164
13445
|
readonly inputs: readonly [{
|
|
13165
13446
|
readonly internalType: "contract ILevrConfigProvider";
|
|
13166
13447
|
readonly name: "configProvider";
|
|
13167
|
-
readonly type: "
|
|
13448
|
+
readonly type: "ILevrConfigProvider";
|
|
13168
13449
|
}, {
|
|
13169
13450
|
readonly components: readonly [{
|
|
13170
13451
|
readonly internalType: "bytes32";
|
|
@@ -13204,7 +13485,7 @@ export declare const abis: {
|
|
|
13204
13485
|
readonly type: "uint256";
|
|
13205
13486
|
}, {
|
|
13206
13487
|
readonly internalType: "uint256";
|
|
13207
|
-
readonly name: "
|
|
13488
|
+
readonly name: "balanceFee";
|
|
13208
13489
|
readonly type: "uint256";
|
|
13209
13490
|
}, {
|
|
13210
13491
|
readonly internalType: "uint256";
|