@levrbet/shared 0.2.103 → 0.3.3
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/config/urls.d.ts +0 -8
- package/dist/core/config/urls.js +12 -20
- package/dist/core/config/urls.js.map +1 -1
- package/dist/core/contracts/abis/LevrManager.d.ts +988 -1008
- package/dist/core/contracts/abis/LevrManager.js +497 -1536
- package/dist/core/contracts/abis/LevrManager.js.map +1 -1
- package/dist/core/contracts/abis/index.d.ts +988 -1008
- package/dist/core/contracts/addresses.d.ts +21 -21
- package/dist/core/contracts/addresses.js +19 -19
- package/dist/core/types/oracle/market/positions.types.d.ts +1 -7
- package/dist/react/hooks/contracts/useContracts.d.ts +19 -19
- package/dist/server/config/kms.js +1 -1
- package/dist/server/config/redis.d.ts +0 -5
- package/dist/server/config/redis.js +3 -13
- package/dist/server/config/redis.js.map +1 -1
- package/dist/server/config/urls.d.ts +0 -8
- package/dist/server/contracts/clients/ozRelayerService.d.ts +0 -1
- package/dist/server/contracts/clients/ozRelayerService.js +17 -110
- package/dist/server/contracts/clients/ozRelayerService.js.map +1 -1
- package/dist/server/liquidation-engine/redis.cache.manager/prices.set.manager.d.ts +9 -9
- package/dist/server/liquidation-engine/redis.cache.manager/prices.set.manager.js.map +1 -1
- package/dist/server/liquidation-engine/redis.cache.manager/prices.set.manager.test.js +1 -1
- package/dist/server/liquidation-engine/redis.cache.manager/prices.set.manager.test.js.map +1 -1
- package/dist/server/oracle/config/game-periods/providers/optic-odds.periods.d.ts +0 -4
- package/dist/server/oracle/config/game-periods/providers/optic-odds.periods.js +1 -5
- package/dist/server/oracle/config/game-periods/providers/optic-odds.periods.js.map +1 -1
- package/dist/server/oracle/config/game-periods/sports.config.d.ts +1 -1
- package/dist/server/oracle/config/game-periods/sports.config.js +6 -56
- package/dist/server/oracle/config/game-periods/sports.config.js.map +1 -1
- package/dist/server/oracle/config/game-periods/types.d.ts +1 -9
- package/dist/server/oracle/config/game-periods/types.js +0 -5
- package/dist/server/oracle/config/game-periods/types.js.map +1 -1
- package/dist/server/oracle/redis-cache-manager/cache.keys.utils.d.ts +45 -74
- package/dist/server/oracle/redis-cache-manager/cache.keys.utils.js +65 -120
- package/dist/server/oracle/redis-cache-manager/cache.keys.utils.js.map +1 -1
- package/dist/server/oracle/redis-cache-manager/channels.d.ts +2 -2
- package/dist/server/oracle/redis-cache-manager/channels.js.map +1 -1
- package/dist/server/oracle/redis-cache-manager/game.progress.d.ts +4 -4
- package/dist/server/oracle/redis-cache-manager/game.progress.js.map +1 -1
- package/dist/server/oracle/redis-cache-manager/game.query.engine.d.ts +90 -0
- package/dist/server/oracle/redis-cache-manager/game.query.engine.js +436 -0
- package/dist/server/oracle/redis-cache-manager/game.query.engine.js.map +1 -0
- package/dist/server/oracle/redis-cache-manager/index.d.ts +2 -2
- package/dist/server/oracle/redis-cache-manager/index.js +2 -2
- package/dist/server/oracle/redis-cache-manager/index.js.map +1 -1
- package/dist/server/oracle/redis-cache-manager/leagues.cache.service.d.ts +3 -3
- package/dist/server/oracle/redis-cache-manager/leagues.cache.service.js +1 -5
- package/dist/server/oracle/redis-cache-manager/leagues.cache.service.js.map +1 -1
- package/dist/server/oracle/redis-cache-manager/market.query.engine.d.ts +50 -97
- package/dist/server/oracle/redis-cache-manager/market.query.engine.js +310 -467
- package/dist/server/oracle/redis-cache-manager/market.query.engine.js.map +1 -1
- package/dist/server/oracle/rmq-manager/base.queue.manager.d.ts +1 -1
- package/dist/server/oracle/rmq-manager/base.queue.manager.js +1 -1
- package/dist/server/oracle/rmq-manager/base.queue.manager.js.map +1 -1
- package/dist/server/services/presigned.urls.js +1 -1
- package/dist/server/services/presigned.urls.js.map +1 -1
- package/dist/server/utils/game_progress/caclulate.game.progress.d.ts +4 -132
- package/dist/server/utils/game_progress/caclulate.game.progress.js +24 -195
- package/dist/server/utils/game_progress/caclulate.game.progress.js.map +1 -1
- package/dist/server/utils/game_progress/game.utils.d.ts +1 -6
- package/dist/server/utils/game_progress/game.utils.js +52 -71
- package/dist/server/utils/game_progress/game.utils.js.map +1 -1
- package/dist/server/utils/game_progress/parser.js +0 -6
- package/dist/server/utils/game_progress/parser.js.map +1 -1
- package/package.json +5 -5
- package/prisma/schema.prisma +3 -39
- package/scripts/setup-prisma.js +0 -0
- package/dist/server/oracle/redis-cache-manager/game.cache.service.d.ts +0 -186
- package/dist/server/oracle/redis-cache-manager/game.cache.service.js +0 -712
- package/dist/server/oracle/redis-cache-manager/game.cache.service.js.map +0 -1
- package/dist/server/oracle/redis-cache-manager/market.cache.service.d.ts +0 -87
- package/dist/server/oracle/redis-cache-manager/market.cache.service.js +0 -139
- package/dist/server/oracle/redis-cache-manager/market.cache.service.js.map +0 -1
|
@@ -4791,1344 +4791,1324 @@ export declare const abis: {
|
|
|
4791
4791
|
readonly type: "function";
|
|
4792
4792
|
}];
|
|
4793
4793
|
readonly levrManager: readonly [{
|
|
4794
|
-
readonly type: "constructor";
|
|
4795
4794
|
readonly inputs: readonly [{
|
|
4795
|
+
readonly internalType: "address";
|
|
4796
4796
|
readonly name: "_levrConfig";
|
|
4797
4797
|
readonly type: "address";
|
|
4798
|
-
readonly internalType: "address";
|
|
4799
4798
|
}];
|
|
4800
4799
|
readonly stateMutability: "nonpayable";
|
|
4800
|
+
readonly type: "constructor";
|
|
4801
|
+
}, {
|
|
4802
|
+
readonly inputs: readonly [];
|
|
4803
|
+
readonly name: "LB_CONFIG_INVALID_INTERFACE";
|
|
4804
|
+
readonly type: "error";
|
|
4805
|
+
}, {
|
|
4806
|
+
readonly inputs: readonly [];
|
|
4807
|
+
readonly name: "LB_CONFIG_PROVIDER_NOT_CONTRACT";
|
|
4808
|
+
readonly type: "error";
|
|
4809
|
+
}, {
|
|
4810
|
+
readonly inputs: readonly [];
|
|
4811
|
+
readonly name: "LB_NOT_LEVR_ADMIN";
|
|
4812
|
+
readonly type: "error";
|
|
4813
|
+
}, {
|
|
4814
|
+
readonly inputs: readonly [];
|
|
4815
|
+
readonly name: "LM_CANNOT_CANCEL_POST_GAME_MARKET";
|
|
4816
|
+
readonly type: "error";
|
|
4817
|
+
}, {
|
|
4818
|
+
readonly inputs: readonly [];
|
|
4819
|
+
readonly name: "LM_CANNOT_OVERRIDE_WINNER_IN_PRE_GAME";
|
|
4820
|
+
readonly type: "error";
|
|
4801
4821
|
}, {
|
|
4802
|
-
readonly type: "function";
|
|
4803
|
-
readonly name: "addLevrLeague";
|
|
4804
4822
|
readonly inputs: readonly [{
|
|
4805
|
-
readonly
|
|
4806
|
-
readonly
|
|
4807
|
-
readonly
|
|
4808
|
-
}, {
|
|
4809
|
-
readonly name: "location";
|
|
4810
|
-
readonly type: "string";
|
|
4811
|
-
readonly internalType: "string";
|
|
4812
|
-
}, {
|
|
4813
|
-
readonly name: "levrSportId";
|
|
4814
|
-
readonly type: "bytes12";
|
|
4815
|
-
readonly internalType: "bytes12";
|
|
4823
|
+
readonly internalType: "address";
|
|
4824
|
+
readonly name: "marketContract";
|
|
4825
|
+
readonly type: "address";
|
|
4816
4826
|
}];
|
|
4817
|
-
readonly
|
|
4818
|
-
readonly
|
|
4827
|
+
readonly name: "LM_DEPRECATED_MARKET_CONTRACT";
|
|
4828
|
+
readonly type: "error";
|
|
4819
4829
|
}, {
|
|
4820
|
-
readonly type: "function";
|
|
4821
|
-
readonly name: "addLevrMarket";
|
|
4822
4830
|
readonly inputs: readonly [{
|
|
4831
|
+
readonly internalType: "address";
|
|
4823
4832
|
readonly name: "marketContract";
|
|
4824
4833
|
readonly type: "address";
|
|
4825
|
-
|
|
4826
|
-
|
|
4834
|
+
}];
|
|
4835
|
+
readonly name: "LM_DUPLICATE_MARKET_CONTRACT";
|
|
4836
|
+
readonly type: "error";
|
|
4837
|
+
}, {
|
|
4838
|
+
readonly inputs: readonly [{
|
|
4839
|
+
readonly internalType: "string";
|
|
4827
4840
|
readonly name: "marketName";
|
|
4828
4841
|
readonly type: "string";
|
|
4829
|
-
readonly internalType: "string";
|
|
4830
|
-
}, {
|
|
4831
|
-
readonly name: "allowedSideGroup";
|
|
4832
|
-
readonly type: "uint8";
|
|
4833
|
-
readonly internalType: "uint8";
|
|
4834
4842
|
}];
|
|
4835
|
-
readonly
|
|
4836
|
-
readonly
|
|
4843
|
+
readonly name: "LM_DUPLICATE_MARKET_NAME";
|
|
4844
|
+
readonly type: "error";
|
|
4837
4845
|
}, {
|
|
4838
|
-
readonly type: "function";
|
|
4839
|
-
readonly name: "addLevrSport";
|
|
4840
4846
|
readonly inputs: readonly [{
|
|
4841
|
-
readonly name: "sportsName";
|
|
4842
|
-
readonly type: "string";
|
|
4843
4847
|
readonly internalType: "string";
|
|
4844
|
-
|
|
4845
|
-
readonly name: "scoringType";
|
|
4848
|
+
readonly name: "sportName";
|
|
4846
4849
|
readonly type: "string";
|
|
4847
|
-
readonly internalType: "string";
|
|
4848
|
-
}, {
|
|
4849
|
-
readonly name: "hasDrawMarket";
|
|
4850
|
-
readonly type: "bool";
|
|
4851
|
-
readonly internalType: "bool";
|
|
4852
4850
|
}];
|
|
4853
|
-
readonly
|
|
4854
|
-
readonly
|
|
4851
|
+
readonly name: "LM_DUPLICATE_SPORT_NAME";
|
|
4852
|
+
readonly type: "error";
|
|
4855
4853
|
}, {
|
|
4856
|
-
readonly type: "function";
|
|
4857
|
-
readonly name: "addLevrTournament";
|
|
4858
4854
|
readonly inputs: readonly [{
|
|
4859
|
-
readonly name: "name";
|
|
4860
|
-
readonly type: "string";
|
|
4861
4855
|
readonly internalType: "string";
|
|
4862
|
-
|
|
4863
|
-
readonly name: "description";
|
|
4856
|
+
readonly name: "tournamentName";
|
|
4864
4857
|
readonly type: "string";
|
|
4865
|
-
readonly internalType: "string";
|
|
4866
|
-
}, {
|
|
4867
|
-
readonly name: "exclusive";
|
|
4868
|
-
readonly type: "bool";
|
|
4869
|
-
readonly internalType: "bool";
|
|
4870
4858
|
}];
|
|
4871
|
-
readonly
|
|
4872
|
-
readonly
|
|
4859
|
+
readonly name: "LM_DUPLICATE_TOURNAMENT_NAME";
|
|
4860
|
+
readonly type: "error";
|
|
4873
4861
|
}, {
|
|
4874
|
-
readonly type: "function";
|
|
4875
|
-
readonly name: "cancelLevrGame";
|
|
4876
4862
|
readonly inputs: readonly [{
|
|
4863
|
+
readonly internalType: "uint256";
|
|
4877
4864
|
readonly name: "gameId";
|
|
4878
4865
|
readonly type: "uint256";
|
|
4879
|
-
readonly internalType: "uint256";
|
|
4880
4866
|
}, {
|
|
4881
|
-
readonly name: "winnerOverride";
|
|
4882
|
-
readonly type: "uint8";
|
|
4883
4867
|
readonly internalType: "enum Side";
|
|
4884
|
-
|
|
4885
|
-
readonly
|
|
4886
|
-
readonly type: "bool";
|
|
4887
|
-
readonly internalType: "bool";
|
|
4868
|
+
readonly name: "winner";
|
|
4869
|
+
readonly type: "uint8";
|
|
4888
4870
|
}];
|
|
4889
|
-
readonly
|
|
4890
|
-
readonly
|
|
4871
|
+
readonly name: "LM_GAME_ALREADY_SETTLED";
|
|
4872
|
+
readonly type: "error";
|
|
4873
|
+
}, {
|
|
4874
|
+
readonly inputs: readonly [{
|
|
4875
|
+
readonly internalType: "bytes32";
|
|
4876
|
+
readonly name: "gameMarketId";
|
|
4877
|
+
readonly type: "bytes32";
|
|
4878
|
+
}];
|
|
4879
|
+
readonly name: "LM_GAME_MARKET_NOT_ACTIVE";
|
|
4880
|
+
readonly type: "error";
|
|
4891
4881
|
}, {
|
|
4892
|
-
readonly type: "function";
|
|
4893
|
-
readonly name: "cancelLevrGameMarket";
|
|
4894
4882
|
readonly inputs: readonly [{
|
|
4883
|
+
readonly internalType: "uint256";
|
|
4895
4884
|
readonly name: "gameId";
|
|
4896
4885
|
readonly type: "uint256";
|
|
4897
|
-
readonly internalType: "uint256";
|
|
4898
|
-
}, {
|
|
4899
|
-
readonly name: "marketWinnerOverride";
|
|
4900
|
-
readonly type: "uint8";
|
|
4901
|
-
readonly internalType: "enum Side";
|
|
4902
|
-
}, {
|
|
4903
|
-
readonly name: "levrMarketId";
|
|
4904
|
-
readonly type: "bytes16";
|
|
4905
|
-
readonly internalType: "bytes16";
|
|
4906
4886
|
}];
|
|
4907
|
-
readonly
|
|
4908
|
-
readonly
|
|
4887
|
+
readonly name: "LM_GAME_NOT_ENDED";
|
|
4888
|
+
readonly type: "error";
|
|
4909
4889
|
}, {
|
|
4910
|
-
readonly type: "function";
|
|
4911
|
-
readonly name: "changeGameTournamentId";
|
|
4912
4890
|
readonly inputs: readonly [{
|
|
4891
|
+
readonly internalType: "uint256";
|
|
4913
4892
|
readonly name: "gameId";
|
|
4914
4893
|
readonly type: "uint256";
|
|
4915
|
-
readonly internalType: "uint256";
|
|
4916
|
-
}, {
|
|
4917
|
-
readonly name: "tournamentId";
|
|
4918
|
-
readonly type: "bytes6";
|
|
4919
|
-
readonly internalType: "bytes6";
|
|
4920
4894
|
}];
|
|
4921
|
-
readonly
|
|
4922
|
-
readonly
|
|
4895
|
+
readonly name: "LM_GAME_NOT_LIVE";
|
|
4896
|
+
readonly type: "error";
|
|
4897
|
+
}, {
|
|
4898
|
+
readonly inputs: readonly [];
|
|
4899
|
+
readonly name: "LM_INVALID_ADDRESS";
|
|
4900
|
+
readonly type: "error";
|
|
4923
4901
|
}, {
|
|
4924
|
-
readonly type: "function";
|
|
4925
|
-
readonly name: "createGameMarket";
|
|
4926
4902
|
readonly inputs: readonly [{
|
|
4903
|
+
readonly internalType: "uint256";
|
|
4927
4904
|
readonly name: "gameId";
|
|
4928
4905
|
readonly type: "uint256";
|
|
4929
|
-
|
|
4930
|
-
|
|
4931
|
-
|
|
4932
|
-
|
|
4933
|
-
|
|
4906
|
+
}];
|
|
4907
|
+
readonly name: "LM_INVALID_GAME_ID";
|
|
4908
|
+
readonly type: "error";
|
|
4909
|
+
}, {
|
|
4910
|
+
readonly inputs: readonly [{
|
|
4911
|
+
readonly internalType: "enum GameStatus";
|
|
4912
|
+
readonly name: "prevStatus";
|
|
4913
|
+
readonly type: "uint8";
|
|
4934
4914
|
}, {
|
|
4935
|
-
readonly
|
|
4936
|
-
readonly
|
|
4937
|
-
readonly
|
|
4915
|
+
readonly internalType: "enum GameStatus";
|
|
4916
|
+
readonly name: "newStatus";
|
|
4917
|
+
readonly type: "uint8";
|
|
4938
4918
|
}];
|
|
4939
|
-
readonly
|
|
4940
|
-
readonly
|
|
4919
|
+
readonly name: "LM_INVALID_GAME_STATUS_SWITCH";
|
|
4920
|
+
readonly type: "error";
|
|
4921
|
+
}, {
|
|
4922
|
+
readonly inputs: readonly [];
|
|
4923
|
+
readonly name: "LM_INVALID_GAME_WINNER";
|
|
4924
|
+
readonly type: "error";
|
|
4941
4925
|
}, {
|
|
4942
|
-
readonly type: "function";
|
|
4943
|
-
readonly name: "createLevrGame";
|
|
4944
4926
|
readonly inputs: readonly [{
|
|
4945
|
-
readonly name: "teamH";
|
|
4946
|
-
readonly type: "string";
|
|
4947
4927
|
readonly internalType: "string";
|
|
4948
|
-
|
|
4949
|
-
readonly name: "teamV";
|
|
4928
|
+
readonly name: "leagueName";
|
|
4950
4929
|
readonly type: "string";
|
|
4951
|
-
readonly internalType: "string";
|
|
4952
|
-
}, {
|
|
4953
|
-
readonly name: "levrSportId";
|
|
4954
|
-
readonly type: "bytes12";
|
|
4955
|
-
readonly internalType: "bytes12";
|
|
4956
|
-
}, {
|
|
4957
|
-
readonly name: "levrLeagueId";
|
|
4958
|
-
readonly type: "bytes8";
|
|
4959
|
-
readonly internalType: "bytes8";
|
|
4960
|
-
}, {
|
|
4961
|
-
readonly name: "tournamentId";
|
|
4962
|
-
readonly type: "bytes6";
|
|
4963
|
-
readonly internalType: "bytes6";
|
|
4964
|
-
}, {
|
|
4965
|
-
readonly name: "initLevrMarkets";
|
|
4966
|
-
readonly type: "bytes16[]";
|
|
4967
|
-
readonly internalType: "bytes16[]";
|
|
4968
|
-
}, {
|
|
4969
|
-
readonly name: "initMarketData";
|
|
4970
|
-
readonly type: "bytes[]";
|
|
4971
|
-
readonly internalType: "bytes[]";
|
|
4972
4930
|
}, {
|
|
4973
|
-
readonly
|
|
4974
|
-
readonly
|
|
4975
|
-
readonly
|
|
4931
|
+
readonly internalType: "string";
|
|
4932
|
+
readonly name: "location";
|
|
4933
|
+
readonly type: "string";
|
|
4976
4934
|
}];
|
|
4977
|
-
readonly
|
|
4978
|
-
readonly
|
|
4935
|
+
readonly name: "LM_INVALID_LEAGUE";
|
|
4936
|
+
readonly type: "error";
|
|
4979
4937
|
}, {
|
|
4980
|
-
readonly
|
|
4981
|
-
|
|
4982
|
-
|
|
4983
|
-
|
|
4984
|
-
readonly name: "";
|
|
4985
|
-
readonly type: "uint256";
|
|
4986
|
-
readonly internalType: "uint256";
|
|
4938
|
+
readonly inputs: readonly [{
|
|
4939
|
+
readonly internalType: "bytes8";
|
|
4940
|
+
readonly name: "leagueId";
|
|
4941
|
+
readonly type: "bytes8";
|
|
4987
4942
|
}];
|
|
4988
|
-
readonly
|
|
4943
|
+
readonly name: "LM_INVALID_LEVR_LEAGUE";
|
|
4944
|
+
readonly type: "error";
|
|
4989
4945
|
}, {
|
|
4990
|
-
readonly type: "function";
|
|
4991
|
-
readonly name: "getActiveLevrMarketsForGame";
|
|
4992
4946
|
readonly inputs: readonly [{
|
|
4993
|
-
readonly
|
|
4994
|
-
readonly
|
|
4995
|
-
readonly
|
|
4996
|
-
}];
|
|
4997
|
-
readonly outputs: readonly [{
|
|
4998
|
-
readonly name: "";
|
|
4999
|
-
readonly type: "bytes32[]";
|
|
5000
|
-
readonly internalType: "bytes32[]";
|
|
4947
|
+
readonly internalType: "bytes16";
|
|
4948
|
+
readonly name: "marketId";
|
|
4949
|
+
readonly type: "bytes16";
|
|
5001
4950
|
}];
|
|
5002
|
-
readonly
|
|
4951
|
+
readonly name: "LM_INVALID_LEVR_MARKET_ID";
|
|
4952
|
+
readonly type: "error";
|
|
5003
4953
|
}, {
|
|
5004
|
-
readonly type: "function";
|
|
5005
|
-
readonly name: "getDeprecatedMarketContracts";
|
|
5006
4954
|
readonly inputs: readonly [];
|
|
5007
|
-
readonly
|
|
5008
|
-
|
|
5009
|
-
|
|
5010
|
-
|
|
4955
|
+
readonly name: "LM_INVALID_PARAMS_LENGTH";
|
|
4956
|
+
readonly type: "error";
|
|
4957
|
+
}, {
|
|
4958
|
+
readonly inputs: readonly [];
|
|
4959
|
+
readonly name: "LM_INVALID_PROGRESS_BPS";
|
|
4960
|
+
readonly type: "error";
|
|
4961
|
+
}, {
|
|
4962
|
+
readonly inputs: readonly [{
|
|
4963
|
+
readonly internalType: "enum Side";
|
|
4964
|
+
readonly name: "side";
|
|
4965
|
+
readonly type: "uint8";
|
|
5011
4966
|
}];
|
|
5012
|
-
readonly
|
|
4967
|
+
readonly name: "LM_INVALID_SIDE";
|
|
4968
|
+
readonly type: "error";
|
|
4969
|
+
}, {
|
|
4970
|
+
readonly inputs: readonly [];
|
|
4971
|
+
readonly name: "LM_INVALID_SIDE_GROUP";
|
|
4972
|
+
readonly type: "error";
|
|
4973
|
+
}, {
|
|
4974
|
+
readonly inputs: readonly [];
|
|
4975
|
+
readonly name: "LM_INVALID_SPORT_ID";
|
|
4976
|
+
readonly type: "error";
|
|
4977
|
+
}, {
|
|
4978
|
+
readonly inputs: readonly [];
|
|
4979
|
+
readonly name: "LM_INVALID_STRING";
|
|
4980
|
+
readonly type: "error";
|
|
5013
4981
|
}, {
|
|
5014
|
-
readonly type: "function";
|
|
5015
|
-
readonly name: "getGameActiveMarketIds";
|
|
5016
4982
|
readonly inputs: readonly [{
|
|
5017
|
-
readonly
|
|
5018
|
-
readonly
|
|
5019
|
-
readonly
|
|
4983
|
+
readonly internalType: "bytes6";
|
|
4984
|
+
readonly name: "tournamentId";
|
|
4985
|
+
readonly type: "bytes6";
|
|
5020
4986
|
}];
|
|
5021
|
-
readonly
|
|
5022
|
-
|
|
5023
|
-
|
|
5024
|
-
|
|
4987
|
+
readonly name: "LM_INVALID_TOURNAMENT_ID";
|
|
4988
|
+
readonly type: "error";
|
|
4989
|
+
}, {
|
|
4990
|
+
readonly inputs: readonly [];
|
|
4991
|
+
readonly name: "LM_MARKET_CONTRACT_HAS_ACTIVE_MARKETS";
|
|
4992
|
+
readonly type: "error";
|
|
4993
|
+
}, {
|
|
4994
|
+
readonly inputs: readonly [];
|
|
4995
|
+
readonly name: "LM_NOT_FEED_PROVIDER_OR_MARKET_FEED_CONTRACT";
|
|
4996
|
+
readonly type: "error";
|
|
4997
|
+
}, {
|
|
4998
|
+
readonly inputs: readonly [];
|
|
4999
|
+
readonly name: "LM_NOT_GAME_ADMIN";
|
|
5000
|
+
readonly type: "error";
|
|
5001
|
+
}, {
|
|
5002
|
+
readonly inputs: readonly [];
|
|
5003
|
+
readonly name: "LM_NOT_LEVR_ADMIN";
|
|
5004
|
+
readonly type: "error";
|
|
5005
|
+
}, {
|
|
5006
|
+
readonly anonymous: false;
|
|
5007
|
+
readonly inputs: readonly [{
|
|
5008
|
+
readonly indexed: true;
|
|
5009
|
+
readonly internalType: "address";
|
|
5010
|
+
readonly name: "prevProvider";
|
|
5011
|
+
readonly type: "address";
|
|
5012
|
+
}, {
|
|
5013
|
+
readonly indexed: true;
|
|
5014
|
+
readonly internalType: "address";
|
|
5015
|
+
readonly name: "newProvider";
|
|
5016
|
+
readonly type: "address";
|
|
5025
5017
|
}];
|
|
5026
|
-
readonly
|
|
5018
|
+
readonly name: "LevrConfigProviderUpdated";
|
|
5019
|
+
readonly type: "event";
|
|
5027
5020
|
}, {
|
|
5028
|
-
readonly
|
|
5029
|
-
readonly name: "getGameProgressBps";
|
|
5021
|
+
readonly anonymous: false;
|
|
5030
5022
|
readonly inputs: readonly [{
|
|
5023
|
+
readonly indexed: true;
|
|
5024
|
+
readonly internalType: "uint256";
|
|
5031
5025
|
readonly name: "gameId";
|
|
5032
5026
|
readonly type: "uint256";
|
|
5033
|
-
|
|
5034
|
-
|
|
5035
|
-
|
|
5036
|
-
readonly name: "";
|
|
5037
|
-
readonly type: "
|
|
5038
|
-
|
|
5027
|
+
}, {
|
|
5028
|
+
readonly indexed: false;
|
|
5029
|
+
readonly internalType: "string";
|
|
5030
|
+
readonly name: "teamH";
|
|
5031
|
+
readonly type: "string";
|
|
5032
|
+
}, {
|
|
5033
|
+
readonly indexed: false;
|
|
5034
|
+
readonly internalType: "string";
|
|
5035
|
+
readonly name: "teamV";
|
|
5036
|
+
readonly type: "string";
|
|
5037
|
+
}, {
|
|
5038
|
+
readonly indexed: true;
|
|
5039
|
+
readonly internalType: "bytes12";
|
|
5040
|
+
readonly name: "levrSportId";
|
|
5041
|
+
readonly type: "bytes12";
|
|
5042
|
+
}, {
|
|
5043
|
+
readonly indexed: true;
|
|
5044
|
+
readonly internalType: "bytes8";
|
|
5045
|
+
readonly name: "levrLeagueId";
|
|
5046
|
+
readonly type: "bytes8";
|
|
5039
5047
|
}];
|
|
5040
|
-
readonly
|
|
5048
|
+
readonly name: "LevrGameCreated";
|
|
5049
|
+
readonly type: "event";
|
|
5041
5050
|
}, {
|
|
5042
|
-
readonly
|
|
5043
|
-
readonly name: "getGameStatusAndProgress";
|
|
5051
|
+
readonly anonymous: false;
|
|
5044
5052
|
readonly inputs: readonly [{
|
|
5053
|
+
readonly indexed: true;
|
|
5054
|
+
readonly internalType: "uint256";
|
|
5045
5055
|
readonly name: "gameId";
|
|
5046
5056
|
readonly type: "uint256";
|
|
5047
|
-
|
|
5057
|
+
}, {
|
|
5058
|
+
readonly indexed: false;
|
|
5059
|
+
readonly internalType: "bool";
|
|
5060
|
+
readonly name: "paused";
|
|
5061
|
+
readonly type: "bool";
|
|
5048
5062
|
}];
|
|
5049
|
-
readonly
|
|
5050
|
-
|
|
5051
|
-
|
|
5052
|
-
|
|
5063
|
+
readonly name: "LevrGamePaused";
|
|
5064
|
+
readonly type: "event";
|
|
5065
|
+
}, {
|
|
5066
|
+
readonly anonymous: false;
|
|
5067
|
+
readonly inputs: readonly [{
|
|
5068
|
+
readonly indexed: true;
|
|
5069
|
+
readonly internalType: "uint256";
|
|
5070
|
+
readonly name: "gameId";
|
|
5071
|
+
readonly type: "uint256";
|
|
5053
5072
|
}, {
|
|
5073
|
+
readonly indexed: false;
|
|
5074
|
+
readonly internalType: "uint16";
|
|
5054
5075
|
readonly name: "progressBps";
|
|
5055
5076
|
readonly type: "uint16";
|
|
5056
|
-
readonly internalType: "uint16";
|
|
5057
5077
|
}];
|
|
5058
|
-
readonly
|
|
5078
|
+
readonly name: "LevrGameProgressUpdated";
|
|
5079
|
+
readonly type: "event";
|
|
5059
5080
|
}, {
|
|
5060
|
-
readonly
|
|
5061
|
-
readonly name: "getLevrGame";
|
|
5081
|
+
readonly anonymous: false;
|
|
5062
5082
|
readonly inputs: readonly [{
|
|
5083
|
+
readonly indexed: true;
|
|
5084
|
+
readonly internalType: "uint256";
|
|
5063
5085
|
readonly name: "gameId";
|
|
5064
5086
|
readonly type: "uint256";
|
|
5065
|
-
|
|
5066
|
-
|
|
5067
|
-
|
|
5068
|
-
readonly name: "";
|
|
5069
|
-
readonly type: "
|
|
5070
|
-
|
|
5071
|
-
readonly
|
|
5072
|
-
|
|
5073
|
-
|
|
5074
|
-
|
|
5075
|
-
}, {
|
|
5076
|
-
readonly name: "teamV";
|
|
5077
|
-
readonly type: "string";
|
|
5078
|
-
readonly internalType: "string";
|
|
5079
|
-
}, {
|
|
5080
|
-
readonly name: "gameId";
|
|
5081
|
-
readonly type: "uint256";
|
|
5082
|
-
readonly internalType: "uint256";
|
|
5083
|
-
}, {
|
|
5084
|
-
readonly name: "status";
|
|
5085
|
-
readonly type: "uint8";
|
|
5086
|
-
readonly internalType: "enum GameStatus";
|
|
5087
|
-
}, {
|
|
5088
|
-
readonly name: "winner";
|
|
5089
|
-
readonly type: "uint8";
|
|
5090
|
-
readonly internalType: "enum Side";
|
|
5091
|
-
}, {
|
|
5092
|
-
readonly name: "registeredAt";
|
|
5093
|
-
readonly type: "uint48";
|
|
5094
|
-
readonly internalType: "uint48";
|
|
5095
|
-
}, {
|
|
5096
|
-
readonly name: "startedAt";
|
|
5097
|
-
readonly type: "uint48";
|
|
5098
|
-
readonly internalType: "uint48";
|
|
5099
|
-
}, {
|
|
5100
|
-
readonly name: "endedAt";
|
|
5101
|
-
readonly type: "uint48";
|
|
5102
|
-
readonly internalType: "uint48";
|
|
5103
|
-
}, {
|
|
5104
|
-
readonly name: "progressBps";
|
|
5105
|
-
readonly type: "uint16";
|
|
5106
|
-
readonly internalType: "uint16";
|
|
5107
|
-
}, {
|
|
5108
|
-
readonly name: "paused";
|
|
5109
|
-
readonly type: "bool";
|
|
5110
|
-
readonly internalType: "bool";
|
|
5111
|
-
}, {
|
|
5112
|
-
readonly name: "levrSportId";
|
|
5113
|
-
readonly type: "bytes12";
|
|
5114
|
-
readonly internalType: "bytes12";
|
|
5115
|
-
}, {
|
|
5116
|
-
readonly name: "levrLeagueId";
|
|
5117
|
-
readonly type: "bytes8";
|
|
5118
|
-
readonly internalType: "bytes8";
|
|
5119
|
-
}, {
|
|
5120
|
-
readonly name: "tournamentId";
|
|
5121
|
-
readonly type: "bytes6";
|
|
5122
|
-
readonly internalType: "bytes6";
|
|
5123
|
-
}, {
|
|
5124
|
-
readonly name: "customData";
|
|
5125
|
-
readonly type: "bytes";
|
|
5126
|
-
readonly internalType: "bytes";
|
|
5127
|
-
}];
|
|
5087
|
+
}, {
|
|
5088
|
+
readonly indexed: false;
|
|
5089
|
+
readonly internalType: "enum Side";
|
|
5090
|
+
readonly name: "winner";
|
|
5091
|
+
readonly type: "uint8";
|
|
5092
|
+
}, {
|
|
5093
|
+
readonly indexed: false;
|
|
5094
|
+
readonly internalType: "uint48";
|
|
5095
|
+
readonly name: "settledAt";
|
|
5096
|
+
readonly type: "uint48";
|
|
5128
5097
|
}];
|
|
5129
|
-
readonly
|
|
5098
|
+
readonly name: "LevrGameSettled";
|
|
5099
|
+
readonly type: "event";
|
|
5130
5100
|
}, {
|
|
5131
|
-
readonly
|
|
5132
|
-
readonly name: "getLevrGameStatus";
|
|
5101
|
+
readonly anonymous: false;
|
|
5133
5102
|
readonly inputs: readonly [{
|
|
5103
|
+
readonly indexed: true;
|
|
5104
|
+
readonly internalType: "uint256";
|
|
5134
5105
|
readonly name: "gameId";
|
|
5135
5106
|
readonly type: "uint256";
|
|
5136
|
-
|
|
5137
|
-
|
|
5138
|
-
readonly outputs: readonly [{
|
|
5139
|
-
readonly name: "";
|
|
5140
|
-
readonly type: "uint8";
|
|
5107
|
+
}, {
|
|
5108
|
+
readonly indexed: false;
|
|
5141
5109
|
readonly internalType: "enum GameStatus";
|
|
5110
|
+
readonly name: "status";
|
|
5111
|
+
readonly type: "uint8";
|
|
5112
|
+
}, {
|
|
5113
|
+
readonly indexed: false;
|
|
5114
|
+
readonly internalType: "uint48";
|
|
5115
|
+
readonly name: "updatedAt";
|
|
5116
|
+
readonly type: "uint48";
|
|
5142
5117
|
}];
|
|
5143
|
-
readonly
|
|
5144
|
-
|
|
5145
|
-
readonly type: "function";
|
|
5146
|
-
readonly name: "getLevrLeagueIds";
|
|
5147
|
-
readonly inputs: readonly [];
|
|
5148
|
-
readonly outputs: readonly [{
|
|
5149
|
-
readonly name: "";
|
|
5150
|
-
readonly type: "bytes32[]";
|
|
5151
|
-
readonly internalType: "bytes32[]";
|
|
5152
|
-
}];
|
|
5153
|
-
readonly stateMutability: "view";
|
|
5118
|
+
readonly name: "LevrGameStatusUpdated";
|
|
5119
|
+
readonly type: "event";
|
|
5154
5120
|
}, {
|
|
5155
|
-
readonly
|
|
5156
|
-
readonly name: "getLevrLeagueMetadata";
|
|
5121
|
+
readonly anonymous: false;
|
|
5157
5122
|
readonly inputs: readonly [{
|
|
5158
|
-
readonly
|
|
5159
|
-
readonly
|
|
5160
|
-
readonly
|
|
5161
|
-
|
|
5162
|
-
|
|
5163
|
-
readonly
|
|
5164
|
-
readonly
|
|
5165
|
-
readonly
|
|
5166
|
-
readonly
|
|
5167
|
-
readonly name: "name";
|
|
5168
|
-
readonly type: "string";
|
|
5169
|
-
readonly internalType: "string";
|
|
5170
|
-
}, {
|
|
5171
|
-
readonly name: "location";
|
|
5172
|
-
readonly type: "string";
|
|
5173
|
-
readonly internalType: "string";
|
|
5174
|
-
}, {
|
|
5175
|
-
readonly name: "levrSportId";
|
|
5176
|
-
readonly type: "bytes12";
|
|
5177
|
-
readonly internalType: "bytes12";
|
|
5178
|
-
}, {
|
|
5179
|
-
readonly name: "leagueId";
|
|
5180
|
-
readonly type: "bytes8";
|
|
5181
|
-
readonly internalType: "bytes8";
|
|
5182
|
-
}];
|
|
5123
|
+
readonly indexed: true;
|
|
5124
|
+
readonly internalType: "uint256";
|
|
5125
|
+
readonly name: "gameId";
|
|
5126
|
+
readonly type: "uint256";
|
|
5127
|
+
}, {
|
|
5128
|
+
readonly indexed: true;
|
|
5129
|
+
readonly internalType: "bytes6";
|
|
5130
|
+
readonly name: "tournamentId";
|
|
5131
|
+
readonly type: "bytes6";
|
|
5183
5132
|
}];
|
|
5184
|
-
readonly
|
|
5133
|
+
readonly name: "LevrGameTournamentUpdated";
|
|
5134
|
+
readonly type: "event";
|
|
5185
5135
|
}, {
|
|
5186
|
-
readonly
|
|
5187
|
-
readonly name: "getLevrMarketContractAddress";
|
|
5136
|
+
readonly anonymous: false;
|
|
5188
5137
|
readonly inputs: readonly [{
|
|
5138
|
+
readonly indexed: true;
|
|
5139
|
+
readonly internalType: "uint256";
|
|
5140
|
+
readonly name: "gameId";
|
|
5141
|
+
readonly type: "uint256";
|
|
5142
|
+
}, {
|
|
5143
|
+
readonly indexed: false;
|
|
5144
|
+
readonly internalType: "uint48";
|
|
5145
|
+
readonly name: "unpausedAt";
|
|
5146
|
+
readonly type: "uint48";
|
|
5147
|
+
}];
|
|
5148
|
+
readonly name: "LevrGameUnpaused";
|
|
5149
|
+
readonly type: "event";
|
|
5150
|
+
}, {
|
|
5151
|
+
readonly anonymous: false;
|
|
5152
|
+
readonly inputs: readonly [{
|
|
5153
|
+
readonly indexed: true;
|
|
5154
|
+
readonly internalType: "bytes16";
|
|
5189
5155
|
readonly name: "levrMarketId";
|
|
5190
5156
|
readonly type: "bytes16";
|
|
5191
|
-
|
|
5192
|
-
|
|
5193
|
-
|
|
5194
|
-
readonly name: "";
|
|
5157
|
+
}, {
|
|
5158
|
+
readonly indexed: true;
|
|
5159
|
+
readonly internalType: "address";
|
|
5160
|
+
readonly name: "prevMarketAddress";
|
|
5195
5161
|
readonly type: "address";
|
|
5162
|
+
}, {
|
|
5163
|
+
readonly indexed: true;
|
|
5196
5164
|
readonly internalType: "address";
|
|
5165
|
+
readonly name: "newMarketAddress";
|
|
5166
|
+
readonly type: "address";
|
|
5197
5167
|
}];
|
|
5198
|
-
readonly
|
|
5168
|
+
readonly name: "LevrMarketContractUpdated";
|
|
5169
|
+
readonly type: "event";
|
|
5199
5170
|
}, {
|
|
5200
|
-
readonly
|
|
5201
|
-
readonly name: "getLevrMarketContracts";
|
|
5171
|
+
readonly anonymous: false;
|
|
5202
5172
|
readonly inputs: readonly [{
|
|
5203
|
-
readonly
|
|
5204
|
-
readonly
|
|
5205
|
-
readonly
|
|
5206
|
-
|
|
5207
|
-
|
|
5208
|
-
readonly
|
|
5209
|
-
readonly
|
|
5210
|
-
readonly
|
|
5173
|
+
readonly indexed: true;
|
|
5174
|
+
readonly internalType: "bytes32";
|
|
5175
|
+
readonly name: "gameMarketId";
|
|
5176
|
+
readonly type: "bytes32";
|
|
5177
|
+
}, {
|
|
5178
|
+
readonly indexed: true;
|
|
5179
|
+
readonly internalType: "enum Side";
|
|
5180
|
+
readonly name: "winner";
|
|
5181
|
+
readonly type: "uint8";
|
|
5182
|
+
}, {
|
|
5183
|
+
readonly indexed: false;
|
|
5184
|
+
readonly internalType: "enum Side";
|
|
5185
|
+
readonly name: "winnerOverride";
|
|
5186
|
+
readonly type: "uint8";
|
|
5211
5187
|
}];
|
|
5212
|
-
readonly
|
|
5188
|
+
readonly name: "MarketSettledWithOverride";
|
|
5189
|
+
readonly type: "event";
|
|
5213
5190
|
}, {
|
|
5214
|
-
readonly
|
|
5215
|
-
readonly
|
|
5216
|
-
|
|
5217
|
-
|
|
5218
|
-
readonly name: "";
|
|
5219
|
-
readonly type: "
|
|
5220
|
-
|
|
5191
|
+
readonly anonymous: false;
|
|
5192
|
+
readonly inputs: readonly [{
|
|
5193
|
+
readonly indexed: true;
|
|
5194
|
+
readonly internalType: "bytes8";
|
|
5195
|
+
readonly name: "leagueId";
|
|
5196
|
+
readonly type: "bytes8";
|
|
5197
|
+
}, {
|
|
5198
|
+
readonly indexed: true;
|
|
5199
|
+
readonly internalType: "bytes12";
|
|
5200
|
+
readonly name: "levrSportId";
|
|
5201
|
+
readonly type: "bytes12";
|
|
5202
|
+
}, {
|
|
5203
|
+
readonly indexed: false;
|
|
5204
|
+
readonly internalType: "string";
|
|
5205
|
+
readonly name: "leagueName";
|
|
5206
|
+
readonly type: "string";
|
|
5207
|
+
}, {
|
|
5208
|
+
readonly indexed: false;
|
|
5209
|
+
readonly internalType: "string";
|
|
5210
|
+
readonly name: "location";
|
|
5211
|
+
readonly type: "string";
|
|
5221
5212
|
}];
|
|
5222
|
-
readonly
|
|
5213
|
+
readonly name: "NewLevrLeague";
|
|
5214
|
+
readonly type: "event";
|
|
5223
5215
|
}, {
|
|
5224
|
-
readonly
|
|
5225
|
-
readonly name: "getLevrMarketMetadata";
|
|
5216
|
+
readonly anonymous: false;
|
|
5226
5217
|
readonly inputs: readonly [{
|
|
5218
|
+
readonly indexed: true;
|
|
5219
|
+
readonly internalType: "bytes16";
|
|
5227
5220
|
readonly name: "levrMarketId";
|
|
5228
5221
|
readonly type: "bytes16";
|
|
5229
|
-
|
|
5230
|
-
|
|
5231
|
-
|
|
5232
|
-
readonly name: "";
|
|
5233
|
-
readonly type: "
|
|
5234
|
-
readonly internalType: "struct LevrMarketMetadata";
|
|
5235
|
-
readonly components: readonly [{
|
|
5236
|
-
readonly name: "marketAddress";
|
|
5237
|
-
readonly type: "address";
|
|
5238
|
-
readonly internalType: "address";
|
|
5239
|
-
}, {
|
|
5240
|
-
readonly name: "allowedSideGroup";
|
|
5241
|
-
readonly type: "uint8";
|
|
5242
|
-
readonly internalType: "uint8";
|
|
5243
|
-
}, {
|
|
5244
|
-
readonly name: "marketId";
|
|
5245
|
-
readonly type: "bytes16";
|
|
5246
|
-
readonly internalType: "bytes16";
|
|
5247
|
-
}, {
|
|
5248
|
-
readonly name: "marketName";
|
|
5249
|
-
readonly type: "string";
|
|
5250
|
-
readonly internalType: "string";
|
|
5251
|
-
}];
|
|
5252
|
-
}];
|
|
5253
|
-
readonly stateMutability: "view";
|
|
5254
|
-
}, {
|
|
5255
|
-
readonly type: "function";
|
|
5256
|
-
readonly name: "getLevrSportIds";
|
|
5257
|
-
readonly inputs: readonly [];
|
|
5258
|
-
readonly outputs: readonly [{
|
|
5259
|
-
readonly name: "";
|
|
5260
|
-
readonly type: "bytes32[]";
|
|
5261
|
-
readonly internalType: "bytes32[]";
|
|
5222
|
+
}, {
|
|
5223
|
+
readonly indexed: false;
|
|
5224
|
+
readonly internalType: "string";
|
|
5225
|
+
readonly name: "name";
|
|
5226
|
+
readonly type: "string";
|
|
5262
5227
|
}];
|
|
5263
|
-
readonly
|
|
5228
|
+
readonly name: "NewLevrMarket";
|
|
5229
|
+
readonly type: "event";
|
|
5264
5230
|
}, {
|
|
5265
|
-
readonly
|
|
5266
|
-
readonly name: "getLevrSportsMetadata";
|
|
5231
|
+
readonly anonymous: false;
|
|
5267
5232
|
readonly inputs: readonly [{
|
|
5233
|
+
readonly indexed: true;
|
|
5234
|
+
readonly internalType: "bytes12";
|
|
5268
5235
|
readonly name: "levrSportId";
|
|
5269
5236
|
readonly type: "bytes12";
|
|
5270
|
-
|
|
5271
|
-
|
|
5272
|
-
|
|
5273
|
-
readonly name: "";
|
|
5274
|
-
readonly type: "
|
|
5275
|
-
readonly internalType: "struct LevrSportMetadata";
|
|
5276
|
-
readonly components: readonly [{
|
|
5277
|
-
readonly name: "name";
|
|
5278
|
-
readonly type: "string";
|
|
5279
|
-
readonly internalType: "string";
|
|
5280
|
-
}, {
|
|
5281
|
-
readonly name: "scoreType";
|
|
5282
|
-
readonly type: "string";
|
|
5283
|
-
readonly internalType: "string";
|
|
5284
|
-
}, {
|
|
5285
|
-
readonly name: "levrSportId";
|
|
5286
|
-
readonly type: "bytes12";
|
|
5287
|
-
readonly internalType: "bytes12";
|
|
5288
|
-
}, {
|
|
5289
|
-
readonly name: "hasDraw";
|
|
5290
|
-
readonly type: "bool";
|
|
5291
|
-
readonly internalType: "bool";
|
|
5292
|
-
}];
|
|
5293
|
-
}];
|
|
5294
|
-
readonly stateMutability: "view";
|
|
5295
|
-
}, {
|
|
5296
|
-
readonly type: "function";
|
|
5297
|
-
readonly name: "getLevrTournamentIds";
|
|
5298
|
-
readonly inputs: readonly [];
|
|
5299
|
-
readonly outputs: readonly [{
|
|
5300
|
-
readonly name: "";
|
|
5301
|
-
readonly type: "bytes32[]";
|
|
5302
|
-
readonly internalType: "bytes32[]";
|
|
5237
|
+
}, {
|
|
5238
|
+
readonly indexed: false;
|
|
5239
|
+
readonly internalType: "string";
|
|
5240
|
+
readonly name: "name";
|
|
5241
|
+
readonly type: "string";
|
|
5303
5242
|
}];
|
|
5304
|
-
readonly
|
|
5243
|
+
readonly name: "NewLevrSport";
|
|
5244
|
+
readonly type: "event";
|
|
5305
5245
|
}, {
|
|
5306
|
-
readonly
|
|
5307
|
-
readonly name: "getLevrTournamentMetadata";
|
|
5246
|
+
readonly anonymous: false;
|
|
5308
5247
|
readonly inputs: readonly [{
|
|
5248
|
+
readonly indexed: true;
|
|
5249
|
+
readonly internalType: "bytes6";
|
|
5309
5250
|
readonly name: "tournamentId";
|
|
5310
5251
|
readonly type: "bytes6";
|
|
5311
|
-
|
|
5312
|
-
|
|
5313
|
-
|
|
5314
|
-
readonly name: "";
|
|
5315
|
-
readonly type: "
|
|
5316
|
-
|
|
5317
|
-
readonly
|
|
5318
|
-
|
|
5319
|
-
|
|
5320
|
-
|
|
5321
|
-
|
|
5322
|
-
|
|
5323
|
-
|
|
5324
|
-
|
|
5325
|
-
|
|
5326
|
-
readonly name: "tournamentId";
|
|
5327
|
-
readonly type: "bytes6";
|
|
5328
|
-
readonly internalType: "bytes6";
|
|
5329
|
-
}, {
|
|
5330
|
-
readonly name: "exclusive";
|
|
5331
|
-
readonly type: "bool";
|
|
5332
|
-
readonly internalType: "bool";
|
|
5333
|
-
}];
|
|
5252
|
+
}, {
|
|
5253
|
+
readonly indexed: false;
|
|
5254
|
+
readonly internalType: "string";
|
|
5255
|
+
readonly name: "tournamentName";
|
|
5256
|
+
readonly type: "string";
|
|
5257
|
+
}, {
|
|
5258
|
+
readonly indexed: false;
|
|
5259
|
+
readonly internalType: "string";
|
|
5260
|
+
readonly name: "description";
|
|
5261
|
+
readonly type: "string";
|
|
5262
|
+
}, {
|
|
5263
|
+
readonly indexed: false;
|
|
5264
|
+
readonly internalType: "bool";
|
|
5265
|
+
readonly name: "exclusive";
|
|
5266
|
+
readonly type: "bool";
|
|
5334
5267
|
}];
|
|
5335
|
-
readonly
|
|
5268
|
+
readonly name: "NewLevrTournament";
|
|
5269
|
+
readonly type: "event";
|
|
5336
5270
|
}, {
|
|
5337
|
-
readonly
|
|
5338
|
-
readonly name: "isActiveLevrMarketForGame";
|
|
5271
|
+
readonly anonymous: false;
|
|
5339
5272
|
readonly inputs: readonly [{
|
|
5340
|
-
readonly
|
|
5341
|
-
readonly
|
|
5342
|
-
readonly
|
|
5273
|
+
readonly indexed: true;
|
|
5274
|
+
readonly internalType: "bytes6";
|
|
5275
|
+
readonly name: "tournamentId";
|
|
5276
|
+
readonly type: "bytes6";
|
|
5343
5277
|
}, {
|
|
5344
|
-
readonly
|
|
5345
|
-
readonly type: "bytes16";
|
|
5346
|
-
readonly internalType: "bytes16";
|
|
5347
|
-
}];
|
|
5348
|
-
readonly outputs: readonly [{
|
|
5349
|
-
readonly name: "";
|
|
5350
|
-
readonly type: "bool";
|
|
5278
|
+
readonly indexed: false;
|
|
5351
5279
|
readonly internalType: "bool";
|
|
5280
|
+
readonly name: "exclusive";
|
|
5281
|
+
readonly type: "bool";
|
|
5352
5282
|
}];
|
|
5353
|
-
readonly
|
|
5283
|
+
readonly name: "TournamentExclusivityUpdated";
|
|
5284
|
+
readonly type: "event";
|
|
5354
5285
|
}, {
|
|
5286
|
+
readonly inputs: readonly [{
|
|
5287
|
+
readonly internalType: "string";
|
|
5288
|
+
readonly name: "leagueName";
|
|
5289
|
+
readonly type: "string";
|
|
5290
|
+
}, {
|
|
5291
|
+
readonly internalType: "string";
|
|
5292
|
+
readonly name: "location";
|
|
5293
|
+
readonly type: "string";
|
|
5294
|
+
}, {
|
|
5295
|
+
readonly internalType: "bytes12";
|
|
5296
|
+
readonly name: "levrSportId";
|
|
5297
|
+
readonly type: "bytes12";
|
|
5298
|
+
}];
|
|
5299
|
+
readonly name: "addLevrLeague";
|
|
5300
|
+
readonly outputs: readonly [];
|
|
5301
|
+
readonly stateMutability: "nonpayable";
|
|
5355
5302
|
readonly type: "function";
|
|
5356
|
-
|
|
5303
|
+
}, {
|
|
5357
5304
|
readonly inputs: readonly [{
|
|
5305
|
+
readonly internalType: "address";
|
|
5358
5306
|
readonly name: "marketContract";
|
|
5359
5307
|
readonly type: "address";
|
|
5360
|
-
|
|
5308
|
+
}, {
|
|
5309
|
+
readonly internalType: "string";
|
|
5310
|
+
readonly name: "marketName";
|
|
5311
|
+
readonly type: "string";
|
|
5312
|
+
}, {
|
|
5313
|
+
readonly internalType: "uint8";
|
|
5314
|
+
readonly name: "allowedSideGroup";
|
|
5315
|
+
readonly type: "uint8";
|
|
5361
5316
|
}];
|
|
5362
|
-
readonly
|
|
5363
|
-
|
|
5364
|
-
|
|
5317
|
+
readonly name: "addLevrMarket";
|
|
5318
|
+
readonly outputs: readonly [];
|
|
5319
|
+
readonly stateMutability: "nonpayable";
|
|
5320
|
+
readonly type: "function";
|
|
5321
|
+
}, {
|
|
5322
|
+
readonly inputs: readonly [{
|
|
5323
|
+
readonly internalType: "string";
|
|
5324
|
+
readonly name: "sportsName";
|
|
5325
|
+
readonly type: "string";
|
|
5326
|
+
}, {
|
|
5327
|
+
readonly internalType: "string";
|
|
5328
|
+
readonly name: "scoringType";
|
|
5329
|
+
readonly type: "string";
|
|
5330
|
+
}, {
|
|
5365
5331
|
readonly internalType: "bool";
|
|
5332
|
+
readonly name: "hasDrawMarket";
|
|
5333
|
+
readonly type: "bool";
|
|
5366
5334
|
}];
|
|
5367
|
-
readonly
|
|
5335
|
+
readonly name: "addLevrSport";
|
|
5336
|
+
readonly outputs: readonly [];
|
|
5337
|
+
readonly stateMutability: "nonpayable";
|
|
5338
|
+
readonly type: "function";
|
|
5368
5339
|
}, {
|
|
5340
|
+
readonly inputs: readonly [{
|
|
5341
|
+
readonly internalType: "string";
|
|
5342
|
+
readonly name: "name";
|
|
5343
|
+
readonly type: "string";
|
|
5344
|
+
}, {
|
|
5345
|
+
readonly internalType: "string";
|
|
5346
|
+
readonly name: "description";
|
|
5347
|
+
readonly type: "string";
|
|
5348
|
+
}, {
|
|
5349
|
+
readonly internalType: "bool";
|
|
5350
|
+
readonly name: "exclusive";
|
|
5351
|
+
readonly type: "bool";
|
|
5352
|
+
}];
|
|
5353
|
+
readonly name: "addLevrTournament";
|
|
5354
|
+
readonly outputs: readonly [];
|
|
5355
|
+
readonly stateMutability: "nonpayable";
|
|
5369
5356
|
readonly type: "function";
|
|
5370
|
-
|
|
5357
|
+
}, {
|
|
5371
5358
|
readonly inputs: readonly [{
|
|
5359
|
+
readonly internalType: "uint256";
|
|
5372
5360
|
readonly name: "gameId";
|
|
5373
5361
|
readonly type: "uint256";
|
|
5362
|
+
}, {
|
|
5363
|
+
readonly internalType: "enum Side";
|
|
5364
|
+
readonly name: "winnerOverride";
|
|
5365
|
+
readonly type: "uint8";
|
|
5366
|
+
}, {
|
|
5367
|
+
readonly internalType: "bool";
|
|
5368
|
+
readonly name: "autoResolveMarkets";
|
|
5369
|
+
readonly type: "bool";
|
|
5370
|
+
}];
|
|
5371
|
+
readonly name: "cancelLevrGame";
|
|
5372
|
+
readonly outputs: readonly [];
|
|
5373
|
+
readonly stateMutability: "nonpayable";
|
|
5374
|
+
readonly type: "function";
|
|
5375
|
+
}, {
|
|
5376
|
+
readonly inputs: readonly [{
|
|
5374
5377
|
readonly internalType: "uint256";
|
|
5378
|
+
readonly name: "gameId";
|
|
5379
|
+
readonly type: "uint256";
|
|
5375
5380
|
}, {
|
|
5376
|
-
readonly
|
|
5377
|
-
readonly
|
|
5378
|
-
readonly
|
|
5381
|
+
readonly internalType: "enum Side";
|
|
5382
|
+
readonly name: "marketWinnerOverride";
|
|
5383
|
+
readonly type: "uint8";
|
|
5384
|
+
}, {
|
|
5385
|
+
readonly internalType: "bytes16";
|
|
5386
|
+
readonly name: "levrMarketId";
|
|
5387
|
+
readonly type: "bytes16";
|
|
5379
5388
|
}];
|
|
5380
|
-
readonly
|
|
5381
|
-
|
|
5382
|
-
|
|
5383
|
-
|
|
5389
|
+
readonly name: "cancelLevrGameMarket";
|
|
5390
|
+
readonly outputs: readonly [];
|
|
5391
|
+
readonly stateMutability: "nonpayable";
|
|
5392
|
+
readonly type: "function";
|
|
5393
|
+
}, {
|
|
5394
|
+
readonly inputs: readonly [{
|
|
5395
|
+
readonly internalType: "uint256";
|
|
5396
|
+
readonly name: "gameId";
|
|
5397
|
+
readonly type: "uint256";
|
|
5398
|
+
}, {
|
|
5399
|
+
readonly internalType: "bytes6";
|
|
5400
|
+
readonly name: "tournamentId";
|
|
5401
|
+
readonly type: "bytes6";
|
|
5384
5402
|
}];
|
|
5385
|
-
readonly
|
|
5403
|
+
readonly name: "changeGameTournamentId";
|
|
5404
|
+
readonly outputs: readonly [];
|
|
5405
|
+
readonly stateMutability: "nonpayable";
|
|
5406
|
+
readonly type: "function";
|
|
5386
5407
|
}, {
|
|
5408
|
+
readonly inputs: readonly [{
|
|
5409
|
+
readonly internalType: "uint256";
|
|
5410
|
+
readonly name: "gameId";
|
|
5411
|
+
readonly type: "uint256";
|
|
5412
|
+
}, {
|
|
5413
|
+
readonly internalType: "bytes16[]";
|
|
5414
|
+
readonly name: "_levrMarketIds";
|
|
5415
|
+
readonly type: "bytes16[]";
|
|
5416
|
+
}, {
|
|
5417
|
+
readonly internalType: "bytes[]";
|
|
5418
|
+
readonly name: "params";
|
|
5419
|
+
readonly type: "bytes[]";
|
|
5420
|
+
}];
|
|
5421
|
+
readonly name: "createGameMarket";
|
|
5422
|
+
readonly outputs: readonly [];
|
|
5423
|
+
readonly stateMutability: "nonpayable";
|
|
5387
5424
|
readonly type: "function";
|
|
5388
|
-
|
|
5425
|
+
}, {
|
|
5389
5426
|
readonly inputs: readonly [{
|
|
5390
|
-
readonly
|
|
5391
|
-
readonly
|
|
5427
|
+
readonly internalType: "string";
|
|
5428
|
+
readonly name: "teamH";
|
|
5429
|
+
readonly type: "string";
|
|
5430
|
+
}, {
|
|
5431
|
+
readonly internalType: "string";
|
|
5432
|
+
readonly name: "teamV";
|
|
5433
|
+
readonly type: "string";
|
|
5434
|
+
}, {
|
|
5435
|
+
readonly internalType: "bytes12";
|
|
5436
|
+
readonly name: "levrSportId";
|
|
5437
|
+
readonly type: "bytes12";
|
|
5438
|
+
}, {
|
|
5392
5439
|
readonly internalType: "bytes8";
|
|
5440
|
+
readonly name: "levrLeagueId";
|
|
5441
|
+
readonly type: "bytes8";
|
|
5442
|
+
}, {
|
|
5443
|
+
readonly internalType: "bytes6";
|
|
5444
|
+
readonly name: "tournamentId";
|
|
5445
|
+
readonly type: "bytes6";
|
|
5446
|
+
}, {
|
|
5447
|
+
readonly internalType: "bytes16[]";
|
|
5448
|
+
readonly name: "initLevrMarkets";
|
|
5449
|
+
readonly type: "bytes16[]";
|
|
5450
|
+
}, {
|
|
5451
|
+
readonly internalType: "bytes[]";
|
|
5452
|
+
readonly name: "initMarketData";
|
|
5453
|
+
readonly type: "bytes[]";
|
|
5454
|
+
}, {
|
|
5455
|
+
readonly internalType: "bytes";
|
|
5456
|
+
readonly name: "customGameData";
|
|
5457
|
+
readonly type: "bytes";
|
|
5393
5458
|
}];
|
|
5459
|
+
readonly name: "createLevrGame";
|
|
5460
|
+
readonly outputs: readonly [];
|
|
5461
|
+
readonly stateMutability: "nonpayable";
|
|
5462
|
+
readonly type: "function";
|
|
5463
|
+
}, {
|
|
5464
|
+
readonly inputs: readonly [];
|
|
5465
|
+
readonly name: "gameCount";
|
|
5394
5466
|
readonly outputs: readonly [{
|
|
5467
|
+
readonly internalType: "uint256";
|
|
5395
5468
|
readonly name: "";
|
|
5396
|
-
readonly type: "
|
|
5397
|
-
readonly internalType: "bool";
|
|
5469
|
+
readonly type: "uint256";
|
|
5398
5470
|
}];
|
|
5399
5471
|
readonly stateMutability: "view";
|
|
5400
|
-
}, {
|
|
5401
5472
|
readonly type: "function";
|
|
5402
|
-
|
|
5473
|
+
}, {
|
|
5403
5474
|
readonly inputs: readonly [{
|
|
5404
|
-
readonly
|
|
5405
|
-
readonly
|
|
5406
|
-
readonly
|
|
5475
|
+
readonly internalType: "uint256";
|
|
5476
|
+
readonly name: "gameId";
|
|
5477
|
+
readonly type: "uint256";
|
|
5407
5478
|
}];
|
|
5479
|
+
readonly name: "getActiveLevrMarketsForGame";
|
|
5408
5480
|
readonly outputs: readonly [{
|
|
5481
|
+
readonly internalType: "bytes32[]";
|
|
5409
5482
|
readonly name: "";
|
|
5410
|
-
readonly type: "
|
|
5411
|
-
readonly internalType: "bool";
|
|
5483
|
+
readonly type: "bytes32[]";
|
|
5412
5484
|
}];
|
|
5413
5485
|
readonly stateMutability: "view";
|
|
5414
|
-
}, {
|
|
5415
5486
|
readonly type: "function";
|
|
5416
|
-
|
|
5417
|
-
readonly inputs: readonly [
|
|
5418
|
-
|
|
5419
|
-
readonly type: "bytes12";
|
|
5420
|
-
readonly internalType: "bytes12";
|
|
5421
|
-
}];
|
|
5487
|
+
}, {
|
|
5488
|
+
readonly inputs: readonly [];
|
|
5489
|
+
readonly name: "getDeprecatedMarketContracts";
|
|
5422
5490
|
readonly outputs: readonly [{
|
|
5491
|
+
readonly internalType: "address[]";
|
|
5423
5492
|
readonly name: "";
|
|
5424
|
-
readonly type: "
|
|
5425
|
-
readonly internalType: "bool";
|
|
5493
|
+
readonly type: "address[]";
|
|
5426
5494
|
}];
|
|
5427
5495
|
readonly stateMutability: "view";
|
|
5428
|
-
}, {
|
|
5429
5496
|
readonly type: "function";
|
|
5430
|
-
|
|
5497
|
+
}, {
|
|
5431
5498
|
readonly inputs: readonly [{
|
|
5432
|
-
readonly
|
|
5433
|
-
readonly
|
|
5434
|
-
readonly
|
|
5499
|
+
readonly internalType: "uint256";
|
|
5500
|
+
readonly name: "gameId";
|
|
5501
|
+
readonly type: "uint256";
|
|
5435
5502
|
}];
|
|
5503
|
+
readonly name: "getGameActiveMarketIds";
|
|
5436
5504
|
readonly outputs: readonly [{
|
|
5505
|
+
readonly internalType: "bytes32[]";
|
|
5437
5506
|
readonly name: "";
|
|
5438
|
-
readonly type: "
|
|
5439
|
-
readonly internalType: "bool";
|
|
5507
|
+
readonly type: "bytes32[]";
|
|
5440
5508
|
}];
|
|
5441
5509
|
readonly stateMutability: "view";
|
|
5442
|
-
}, {
|
|
5443
5510
|
readonly type: "function";
|
|
5444
|
-
readonly name: "levrConfigProvider";
|
|
5445
|
-
readonly inputs: readonly [];
|
|
5446
|
-
readonly outputs: readonly [{
|
|
5447
|
-
readonly name: "";
|
|
5448
|
-
readonly type: "address";
|
|
5449
|
-
readonly internalType: "address";
|
|
5450
|
-
}];
|
|
5451
|
-
readonly stateMutability: "view";
|
|
5452
5511
|
}, {
|
|
5453
|
-
readonly type: "function";
|
|
5454
|
-
readonly name: "levrMarketIdByAddress";
|
|
5455
5512
|
readonly inputs: readonly [{
|
|
5456
|
-
readonly
|
|
5457
|
-
readonly
|
|
5458
|
-
readonly
|
|
5513
|
+
readonly internalType: "uint256";
|
|
5514
|
+
readonly name: "gameId";
|
|
5515
|
+
readonly type: "uint256";
|
|
5459
5516
|
}];
|
|
5517
|
+
readonly name: "getGameProgressBps";
|
|
5460
5518
|
readonly outputs: readonly [{
|
|
5461
|
-
readonly
|
|
5462
|
-
readonly
|
|
5463
|
-
readonly
|
|
5519
|
+
readonly internalType: "uint16";
|
|
5520
|
+
readonly name: "";
|
|
5521
|
+
readonly type: "uint16";
|
|
5464
5522
|
}];
|
|
5465
5523
|
readonly stateMutability: "view";
|
|
5466
|
-
}, {
|
|
5467
5524
|
readonly type: "function";
|
|
5468
|
-
readonly name: "openOrCloseGameMarket";
|
|
5469
|
-
readonly inputs: readonly [{
|
|
5470
|
-
readonly name: "gameMarketId";
|
|
5471
|
-
readonly type: "bytes32";
|
|
5472
|
-
readonly internalType: "bytes32";
|
|
5473
|
-
}, {
|
|
5474
|
-
readonly name: "levrMarketId";
|
|
5475
|
-
readonly type: "bytes16";
|
|
5476
|
-
readonly internalType: "bytes16";
|
|
5477
|
-
}, {
|
|
5478
|
-
readonly name: "open";
|
|
5479
|
-
readonly type: "bool";
|
|
5480
|
-
readonly internalType: "bool";
|
|
5481
|
-
}];
|
|
5482
|
-
readonly outputs: readonly [];
|
|
5483
|
-
readonly stateMutability: "nonpayable";
|
|
5484
5525
|
}, {
|
|
5485
|
-
readonly type: "function";
|
|
5486
|
-
readonly name: "pauseOrUnpauseGame";
|
|
5487
5526
|
readonly inputs: readonly [{
|
|
5527
|
+
readonly internalType: "uint256";
|
|
5488
5528
|
readonly name: "gameId";
|
|
5489
5529
|
readonly type: "uint256";
|
|
5490
|
-
|
|
5530
|
+
}];
|
|
5531
|
+
readonly name: "getGameStatusAndProgress";
|
|
5532
|
+
readonly outputs: readonly [{
|
|
5533
|
+
readonly internalType: "enum GameStatus";
|
|
5534
|
+
readonly name: "status";
|
|
5535
|
+
readonly type: "uint8";
|
|
5491
5536
|
}, {
|
|
5492
|
-
readonly
|
|
5493
|
-
readonly
|
|
5494
|
-
readonly
|
|
5537
|
+
readonly internalType: "uint16";
|
|
5538
|
+
readonly name: "progressBps";
|
|
5539
|
+
readonly type: "uint16";
|
|
5495
5540
|
}];
|
|
5496
|
-
readonly
|
|
5497
|
-
readonly stateMutability: "nonpayable";
|
|
5498
|
-
}, {
|
|
5541
|
+
readonly stateMutability: "view";
|
|
5499
5542
|
readonly type: "function";
|
|
5500
|
-
|
|
5543
|
+
}, {
|
|
5501
5544
|
readonly inputs: readonly [{
|
|
5545
|
+
readonly internalType: "uint256";
|
|
5502
5546
|
readonly name: "gameId";
|
|
5503
5547
|
readonly type: "uint256";
|
|
5504
|
-
readonly internalType: "uint256";
|
|
5505
5548
|
}];
|
|
5506
|
-
readonly
|
|
5507
|
-
readonly
|
|
5508
|
-
|
|
5549
|
+
readonly name: "getLevrGame";
|
|
5550
|
+
readonly outputs: readonly [{
|
|
5551
|
+
readonly components: readonly [{
|
|
5552
|
+
readonly internalType: "string";
|
|
5553
|
+
readonly name: "teamH";
|
|
5554
|
+
readonly type: "string";
|
|
5555
|
+
}, {
|
|
5556
|
+
readonly internalType: "string";
|
|
5557
|
+
readonly name: "teamV";
|
|
5558
|
+
readonly type: "string";
|
|
5559
|
+
}, {
|
|
5560
|
+
readonly internalType: "uint256";
|
|
5561
|
+
readonly name: "gameId";
|
|
5562
|
+
readonly type: "uint256";
|
|
5563
|
+
}, {
|
|
5564
|
+
readonly internalType: "enum GameStatus";
|
|
5565
|
+
readonly name: "status";
|
|
5566
|
+
readonly type: "uint8";
|
|
5567
|
+
}, {
|
|
5568
|
+
readonly internalType: "enum Side";
|
|
5569
|
+
readonly name: "winner";
|
|
5570
|
+
readonly type: "uint8";
|
|
5571
|
+
}, {
|
|
5572
|
+
readonly internalType: "uint48";
|
|
5573
|
+
readonly name: "registeredAt";
|
|
5574
|
+
readonly type: "uint48";
|
|
5575
|
+
}, {
|
|
5576
|
+
readonly internalType: "uint48";
|
|
5577
|
+
readonly name: "startedAt";
|
|
5578
|
+
readonly type: "uint48";
|
|
5579
|
+
}, {
|
|
5580
|
+
readonly internalType: "uint48";
|
|
5581
|
+
readonly name: "endedAt";
|
|
5582
|
+
readonly type: "uint48";
|
|
5583
|
+
}, {
|
|
5584
|
+
readonly internalType: "bytes12";
|
|
5585
|
+
readonly name: "levrSportId";
|
|
5586
|
+
readonly type: "bytes12";
|
|
5587
|
+
}, {
|
|
5588
|
+
readonly internalType: "bytes8";
|
|
5589
|
+
readonly name: "levrLeagueId";
|
|
5590
|
+
readonly type: "bytes8";
|
|
5591
|
+
}, {
|
|
5592
|
+
readonly internalType: "bytes6";
|
|
5593
|
+
readonly name: "tournamentId";
|
|
5594
|
+
readonly type: "bytes6";
|
|
5595
|
+
}, {
|
|
5596
|
+
readonly internalType: "uint16";
|
|
5597
|
+
readonly name: "progressBps";
|
|
5598
|
+
readonly type: "uint16";
|
|
5599
|
+
}, {
|
|
5600
|
+
readonly internalType: "bool";
|
|
5601
|
+
readonly name: "paused";
|
|
5602
|
+
readonly type: "bool";
|
|
5603
|
+
}, {
|
|
5604
|
+
readonly internalType: "bytes";
|
|
5605
|
+
readonly name: "customData";
|
|
5606
|
+
readonly type: "bytes";
|
|
5607
|
+
}];
|
|
5608
|
+
readonly internalType: "struct LevrGame";
|
|
5609
|
+
readonly name: "";
|
|
5610
|
+
readonly type: "tuple";
|
|
5611
|
+
}];
|
|
5612
|
+
readonly stateMutability: "view";
|
|
5509
5613
|
readonly type: "function";
|
|
5510
|
-
|
|
5614
|
+
}, {
|
|
5511
5615
|
readonly inputs: readonly [{
|
|
5616
|
+
readonly internalType: "uint256";
|
|
5512
5617
|
readonly name: "gameId";
|
|
5513
5618
|
readonly type: "uint256";
|
|
5514
|
-
|
|
5515
|
-
|
|
5516
|
-
|
|
5619
|
+
}];
|
|
5620
|
+
readonly name: "getLevrGameStatus";
|
|
5621
|
+
readonly outputs: readonly [{
|
|
5622
|
+
readonly internalType: "enum GameStatus";
|
|
5623
|
+
readonly name: "";
|
|
5517
5624
|
readonly type: "uint8";
|
|
5518
|
-
readonly internalType: "enum Side";
|
|
5519
|
-
}, {
|
|
5520
|
-
readonly name: "autoResolveMarkets";
|
|
5521
|
-
readonly type: "bool";
|
|
5522
|
-
readonly internalType: "bool";
|
|
5523
5625
|
}];
|
|
5524
|
-
readonly
|
|
5525
|
-
readonly
|
|
5626
|
+
readonly stateMutability: "view";
|
|
5627
|
+
readonly type: "function";
|
|
5526
5628
|
}, {
|
|
5629
|
+
readonly inputs: readonly [];
|
|
5630
|
+
readonly name: "getLevrLeagueIds";
|
|
5631
|
+
readonly outputs: readonly [{
|
|
5632
|
+
readonly internalType: "bytes32[]";
|
|
5633
|
+
readonly name: "";
|
|
5634
|
+
readonly type: "bytes32[]";
|
|
5635
|
+
}];
|
|
5636
|
+
readonly stateMutability: "view";
|
|
5527
5637
|
readonly type: "function";
|
|
5528
|
-
|
|
5638
|
+
}, {
|
|
5529
5639
|
readonly inputs: readonly [{
|
|
5530
|
-
readonly
|
|
5531
|
-
readonly
|
|
5532
|
-
readonly
|
|
5533
|
-
}, {
|
|
5534
|
-
readonly name: "levrMarketId";
|
|
5535
|
-
readonly type: "bytes16";
|
|
5536
|
-
readonly internalType: "bytes16";
|
|
5537
|
-
}, {
|
|
5538
|
-
readonly name: "winnerOverride";
|
|
5539
|
-
readonly type: "uint8";
|
|
5540
|
-
readonly internalType: "enum Side";
|
|
5640
|
+
readonly internalType: "bytes8";
|
|
5641
|
+
readonly name: "leagueId";
|
|
5642
|
+
readonly type: "bytes8";
|
|
5541
5643
|
}];
|
|
5542
|
-
readonly
|
|
5543
|
-
readonly
|
|
5544
|
-
|
|
5644
|
+
readonly name: "getLevrLeagueMetadata";
|
|
5645
|
+
readonly outputs: readonly [{
|
|
5646
|
+
readonly components: readonly [{
|
|
5647
|
+
readonly internalType: "string";
|
|
5648
|
+
readonly name: "name";
|
|
5649
|
+
readonly type: "string";
|
|
5650
|
+
}, {
|
|
5651
|
+
readonly internalType: "string";
|
|
5652
|
+
readonly name: "location";
|
|
5653
|
+
readonly type: "string";
|
|
5654
|
+
}, {
|
|
5655
|
+
readonly internalType: "bytes12";
|
|
5656
|
+
readonly name: "levrSportId";
|
|
5657
|
+
readonly type: "bytes12";
|
|
5658
|
+
}, {
|
|
5659
|
+
readonly internalType: "bytes8";
|
|
5660
|
+
readonly name: "leagueId";
|
|
5661
|
+
readonly type: "bytes8";
|
|
5662
|
+
}];
|
|
5663
|
+
readonly internalType: "struct LevrLeagueMetadata";
|
|
5664
|
+
readonly name: "";
|
|
5665
|
+
readonly type: "tuple";
|
|
5666
|
+
}];
|
|
5667
|
+
readonly stateMutability: "view";
|
|
5545
5668
|
readonly type: "function";
|
|
5546
|
-
|
|
5669
|
+
}, {
|
|
5547
5670
|
readonly inputs: readonly [{
|
|
5548
|
-
readonly
|
|
5549
|
-
readonly
|
|
5550
|
-
readonly
|
|
5671
|
+
readonly internalType: "bytes16";
|
|
5672
|
+
readonly name: "levrMarketId";
|
|
5673
|
+
readonly type: "bytes16";
|
|
5551
5674
|
}];
|
|
5675
|
+
readonly name: "getLevrMarketContractAddress";
|
|
5552
5676
|
readonly outputs: readonly [{
|
|
5677
|
+
readonly internalType: "address";
|
|
5553
5678
|
readonly name: "";
|
|
5554
|
-
readonly type: "
|
|
5555
|
-
readonly internalType: "bool";
|
|
5679
|
+
readonly type: "address";
|
|
5556
5680
|
}];
|
|
5557
5681
|
readonly stateMutability: "view";
|
|
5558
|
-
}, {
|
|
5559
5682
|
readonly type: "function";
|
|
5560
|
-
|
|
5683
|
+
}, {
|
|
5561
5684
|
readonly inputs: readonly [{
|
|
5562
|
-
readonly
|
|
5563
|
-
readonly
|
|
5564
|
-
readonly
|
|
5565
|
-
}, {
|
|
5566
|
-
readonly name: "progressBps";
|
|
5567
|
-
readonly type: "uint16";
|
|
5568
|
-
readonly internalType: "uint16";
|
|
5685
|
+
readonly internalType: "bool";
|
|
5686
|
+
readonly name: "includeDeprecated";
|
|
5687
|
+
readonly type: "bool";
|
|
5569
5688
|
}];
|
|
5689
|
+
readonly name: "getLevrMarketContracts";
|
|
5570
5690
|
readonly outputs: readonly [{
|
|
5571
|
-
readonly
|
|
5572
|
-
readonly
|
|
5573
|
-
readonly
|
|
5691
|
+
readonly internalType: "address[]";
|
|
5692
|
+
readonly name: "marketContracts";
|
|
5693
|
+
readonly type: "address[]";
|
|
5574
5694
|
}];
|
|
5575
|
-
readonly stateMutability: "
|
|
5576
|
-
}, {
|
|
5695
|
+
readonly stateMutability: "view";
|
|
5577
5696
|
readonly type: "function";
|
|
5578
|
-
readonly name: "updateGameStatus";
|
|
5579
|
-
readonly inputs: readonly [{
|
|
5580
|
-
readonly name: "gameId";
|
|
5581
|
-
readonly type: "uint256";
|
|
5582
|
-
readonly internalType: "uint256";
|
|
5583
|
-
}, {
|
|
5584
|
-
readonly name: "status";
|
|
5585
|
-
readonly type: "uint8";
|
|
5586
|
-
readonly internalType: "enum GameStatus";
|
|
5587
|
-
}];
|
|
5588
|
-
readonly outputs: readonly [];
|
|
5589
|
-
readonly stateMutability: "nonpayable";
|
|
5590
5697
|
}, {
|
|
5591
|
-
readonly
|
|
5592
|
-
readonly name: "
|
|
5593
|
-
readonly
|
|
5594
|
-
readonly
|
|
5595
|
-
readonly
|
|
5596
|
-
readonly
|
|
5698
|
+
readonly inputs: readonly [];
|
|
5699
|
+
readonly name: "getLevrMarketIds";
|
|
5700
|
+
readonly outputs: readonly [{
|
|
5701
|
+
readonly internalType: "bytes32[]";
|
|
5702
|
+
readonly name: "";
|
|
5703
|
+
readonly type: "bytes32[]";
|
|
5597
5704
|
}];
|
|
5598
|
-
readonly
|
|
5599
|
-
readonly stateMutability: "nonpayable";
|
|
5600
|
-
}, {
|
|
5705
|
+
readonly stateMutability: "view";
|
|
5601
5706
|
readonly type: "function";
|
|
5602
|
-
|
|
5707
|
+
}, {
|
|
5603
5708
|
readonly inputs: readonly [{
|
|
5709
|
+
readonly internalType: "bytes16";
|
|
5604
5710
|
readonly name: "levrMarketId";
|
|
5605
5711
|
readonly type: "bytes16";
|
|
5606
|
-
readonly internalType: "bytes16";
|
|
5607
|
-
}, {
|
|
5608
|
-
readonly name: "newMarketAddress";
|
|
5609
|
-
readonly type: "address";
|
|
5610
|
-
readonly internalType: "address";
|
|
5611
5712
|
}];
|
|
5612
|
-
readonly
|
|
5613
|
-
readonly
|
|
5614
|
-
|
|
5615
|
-
|
|
5616
|
-
|
|
5617
|
-
|
|
5618
|
-
|
|
5619
|
-
|
|
5620
|
-
|
|
5621
|
-
|
|
5622
|
-
|
|
5623
|
-
|
|
5624
|
-
|
|
5713
|
+
readonly name: "getLevrMarketMetadata";
|
|
5714
|
+
readonly outputs: readonly [{
|
|
5715
|
+
readonly components: readonly [{
|
|
5716
|
+
readonly internalType: "string";
|
|
5717
|
+
readonly name: "marketName";
|
|
5718
|
+
readonly type: "string";
|
|
5719
|
+
}, {
|
|
5720
|
+
readonly internalType: "address";
|
|
5721
|
+
readonly name: "marketAddress";
|
|
5722
|
+
readonly type: "address";
|
|
5723
|
+
}, {
|
|
5724
|
+
readonly internalType: "bytes16";
|
|
5725
|
+
readonly name: "marketId";
|
|
5726
|
+
readonly type: "bytes16";
|
|
5727
|
+
}, {
|
|
5728
|
+
readonly internalType: "uint8";
|
|
5729
|
+
readonly name: "allowedSideGroup";
|
|
5730
|
+
readonly type: "uint8";
|
|
5731
|
+
}];
|
|
5732
|
+
readonly internalType: "struct LevrMarketMetadata";
|
|
5733
|
+
readonly name: "";
|
|
5734
|
+
readonly type: "tuple";
|
|
5625
5735
|
}];
|
|
5626
|
-
readonly
|
|
5627
|
-
readonly
|
|
5736
|
+
readonly stateMutability: "view";
|
|
5737
|
+
readonly type: "function";
|
|
5628
5738
|
}, {
|
|
5629
|
-
readonly
|
|
5630
|
-
readonly name: "
|
|
5631
|
-
readonly
|
|
5632
|
-
readonly
|
|
5633
|
-
readonly
|
|
5634
|
-
readonly
|
|
5635
|
-
readonly internalType: "address";
|
|
5636
|
-
}, {
|
|
5637
|
-
readonly name: "newProvider";
|
|
5638
|
-
readonly type: "address";
|
|
5639
|
-
readonly indexed: true;
|
|
5640
|
-
readonly internalType: "address";
|
|
5739
|
+
readonly inputs: readonly [];
|
|
5740
|
+
readonly name: "getLevrSportIds";
|
|
5741
|
+
readonly outputs: readonly [{
|
|
5742
|
+
readonly internalType: "bytes32[]";
|
|
5743
|
+
readonly name: "";
|
|
5744
|
+
readonly type: "bytes32[]";
|
|
5641
5745
|
}];
|
|
5642
|
-
readonly
|
|
5746
|
+
readonly stateMutability: "view";
|
|
5747
|
+
readonly type: "function";
|
|
5643
5748
|
}, {
|
|
5644
|
-
readonly type: "event";
|
|
5645
|
-
readonly name: "LevrGameCreated";
|
|
5646
5749
|
readonly inputs: readonly [{
|
|
5647
|
-
readonly
|
|
5648
|
-
readonly type: "uint256";
|
|
5649
|
-
readonly indexed: true;
|
|
5650
|
-
readonly internalType: "uint256";
|
|
5651
|
-
}, {
|
|
5652
|
-
readonly name: "teamH";
|
|
5653
|
-
readonly type: "string";
|
|
5654
|
-
readonly indexed: false;
|
|
5655
|
-
readonly internalType: "string";
|
|
5656
|
-
}, {
|
|
5657
|
-
readonly name: "teamV";
|
|
5658
|
-
readonly type: "string";
|
|
5659
|
-
readonly indexed: false;
|
|
5660
|
-
readonly internalType: "string";
|
|
5661
|
-
}, {
|
|
5750
|
+
readonly internalType: "bytes12";
|
|
5662
5751
|
readonly name: "levrSportId";
|
|
5663
5752
|
readonly type: "bytes12";
|
|
5664
|
-
readonly indexed: true;
|
|
5665
|
-
readonly internalType: "bytes12";
|
|
5666
|
-
}, {
|
|
5667
|
-
readonly name: "levrLeagueId";
|
|
5668
|
-
readonly type: "bytes8";
|
|
5669
|
-
readonly indexed: true;
|
|
5670
|
-
readonly internalType: "bytes8";
|
|
5671
|
-
}];
|
|
5672
|
-
readonly anonymous: false;
|
|
5673
|
-
}, {
|
|
5674
|
-
readonly type: "event";
|
|
5675
|
-
readonly name: "LevrGamePaused";
|
|
5676
|
-
readonly inputs: readonly [{
|
|
5677
|
-
readonly name: "gameId";
|
|
5678
|
-
readonly type: "uint256";
|
|
5679
|
-
readonly indexed: true;
|
|
5680
|
-
readonly internalType: "uint256";
|
|
5681
|
-
}, {
|
|
5682
|
-
readonly name: "paused";
|
|
5683
|
-
readonly type: "bool";
|
|
5684
|
-
readonly indexed: false;
|
|
5685
|
-
readonly internalType: "bool";
|
|
5686
|
-
}];
|
|
5687
|
-
readonly anonymous: false;
|
|
5688
|
-
}, {
|
|
5689
|
-
readonly type: "event";
|
|
5690
|
-
readonly name: "LevrGameProgressUpdated";
|
|
5691
|
-
readonly inputs: readonly [{
|
|
5692
|
-
readonly name: "gameId";
|
|
5693
|
-
readonly type: "uint256";
|
|
5694
|
-
readonly indexed: true;
|
|
5695
|
-
readonly internalType: "uint256";
|
|
5696
|
-
}, {
|
|
5697
|
-
readonly name: "progressBps";
|
|
5698
|
-
readonly type: "uint16";
|
|
5699
|
-
readonly indexed: false;
|
|
5700
|
-
readonly internalType: "uint16";
|
|
5701
5753
|
}];
|
|
5702
|
-
readonly
|
|
5703
|
-
|
|
5704
|
-
|
|
5705
|
-
|
|
5706
|
-
|
|
5707
|
-
|
|
5708
|
-
|
|
5709
|
-
|
|
5710
|
-
|
|
5711
|
-
|
|
5712
|
-
|
|
5713
|
-
|
|
5714
|
-
|
|
5715
|
-
|
|
5716
|
-
|
|
5717
|
-
|
|
5718
|
-
|
|
5719
|
-
|
|
5720
|
-
|
|
5754
|
+
readonly name: "getLevrSportsMetadata";
|
|
5755
|
+
readonly outputs: readonly [{
|
|
5756
|
+
readonly components: readonly [{
|
|
5757
|
+
readonly internalType: "string";
|
|
5758
|
+
readonly name: "name";
|
|
5759
|
+
readonly type: "string";
|
|
5760
|
+
}, {
|
|
5761
|
+
readonly internalType: "string";
|
|
5762
|
+
readonly name: "scoreType";
|
|
5763
|
+
readonly type: "string";
|
|
5764
|
+
}, {
|
|
5765
|
+
readonly internalType: "bytes12";
|
|
5766
|
+
readonly name: "levrSportId";
|
|
5767
|
+
readonly type: "bytes12";
|
|
5768
|
+
}, {
|
|
5769
|
+
readonly internalType: "bool";
|
|
5770
|
+
readonly name: "hasDraw";
|
|
5771
|
+
readonly type: "bool";
|
|
5772
|
+
}];
|
|
5773
|
+
readonly internalType: "struct LevrSportMetadata";
|
|
5774
|
+
readonly name: "";
|
|
5775
|
+
readonly type: "tuple";
|
|
5721
5776
|
}];
|
|
5722
|
-
readonly
|
|
5777
|
+
readonly stateMutability: "view";
|
|
5778
|
+
readonly type: "function";
|
|
5723
5779
|
}, {
|
|
5724
|
-
readonly
|
|
5725
|
-
readonly name: "
|
|
5726
|
-
readonly
|
|
5727
|
-
readonly
|
|
5728
|
-
readonly
|
|
5729
|
-
readonly
|
|
5730
|
-
readonly internalType: "uint256";
|
|
5731
|
-
}, {
|
|
5732
|
-
readonly name: "status";
|
|
5733
|
-
readonly type: "uint8";
|
|
5734
|
-
readonly indexed: false;
|
|
5735
|
-
readonly internalType: "enum GameStatus";
|
|
5736
|
-
}, {
|
|
5737
|
-
readonly name: "updatedAt";
|
|
5738
|
-
readonly type: "uint48";
|
|
5739
|
-
readonly indexed: false;
|
|
5740
|
-
readonly internalType: "uint48";
|
|
5780
|
+
readonly inputs: readonly [];
|
|
5781
|
+
readonly name: "getLevrTournamentIds";
|
|
5782
|
+
readonly outputs: readonly [{
|
|
5783
|
+
readonly internalType: "bytes32[]";
|
|
5784
|
+
readonly name: "";
|
|
5785
|
+
readonly type: "bytes32[]";
|
|
5741
5786
|
}];
|
|
5742
|
-
readonly
|
|
5787
|
+
readonly stateMutability: "view";
|
|
5788
|
+
readonly type: "function";
|
|
5743
5789
|
}, {
|
|
5744
|
-
readonly type: "event";
|
|
5745
|
-
readonly name: "LevrGameTournamentUpdated";
|
|
5746
5790
|
readonly inputs: readonly [{
|
|
5747
|
-
readonly
|
|
5748
|
-
readonly type: "uint256";
|
|
5749
|
-
readonly indexed: true;
|
|
5750
|
-
readonly internalType: "uint256";
|
|
5751
|
-
}, {
|
|
5791
|
+
readonly internalType: "bytes6";
|
|
5752
5792
|
readonly name: "tournamentId";
|
|
5753
5793
|
readonly type: "bytes6";
|
|
5754
|
-
readonly indexed: true;
|
|
5755
|
-
readonly internalType: "bytes6";
|
|
5756
5794
|
}];
|
|
5757
|
-
readonly
|
|
5795
|
+
readonly name: "getLevrTournamentMetadata";
|
|
5796
|
+
readonly outputs: readonly [{
|
|
5797
|
+
readonly components: readonly [{
|
|
5798
|
+
readonly internalType: "string";
|
|
5799
|
+
readonly name: "name";
|
|
5800
|
+
readonly type: "string";
|
|
5801
|
+
}, {
|
|
5802
|
+
readonly internalType: "string";
|
|
5803
|
+
readonly name: "description";
|
|
5804
|
+
readonly type: "string";
|
|
5805
|
+
}, {
|
|
5806
|
+
readonly internalType: "bytes6";
|
|
5807
|
+
readonly name: "tournamentId";
|
|
5808
|
+
readonly type: "bytes6";
|
|
5809
|
+
}, {
|
|
5810
|
+
readonly internalType: "bool";
|
|
5811
|
+
readonly name: "exclusive";
|
|
5812
|
+
readonly type: "bool";
|
|
5813
|
+
}];
|
|
5814
|
+
readonly internalType: "struct LevrTournamentMetadata";
|
|
5815
|
+
readonly name: "";
|
|
5816
|
+
readonly type: "tuple";
|
|
5817
|
+
}];
|
|
5818
|
+
readonly stateMutability: "view";
|
|
5819
|
+
readonly type: "function";
|
|
5758
5820
|
}, {
|
|
5759
|
-
readonly type: "event";
|
|
5760
|
-
readonly name: "LevrGameUnpaused";
|
|
5761
5821
|
readonly inputs: readonly [{
|
|
5822
|
+
readonly internalType: "uint256";
|
|
5762
5823
|
readonly name: "gameId";
|
|
5763
5824
|
readonly type: "uint256";
|
|
5764
|
-
readonly indexed: true;
|
|
5765
|
-
readonly internalType: "uint256";
|
|
5766
5825
|
}, {
|
|
5767
|
-
readonly
|
|
5768
|
-
readonly
|
|
5769
|
-
readonly
|
|
5770
|
-
readonly internalType: "uint48";
|
|
5826
|
+
readonly internalType: "bytes16";
|
|
5827
|
+
readonly name: "levrMarketId";
|
|
5828
|
+
readonly type: "bytes16";
|
|
5771
5829
|
}];
|
|
5772
|
-
readonly
|
|
5830
|
+
readonly name: "isActiveLevrMarketForGame";
|
|
5831
|
+
readonly outputs: readonly [{
|
|
5832
|
+
readonly internalType: "bool";
|
|
5833
|
+
readonly name: "";
|
|
5834
|
+
readonly type: "bool";
|
|
5835
|
+
}];
|
|
5836
|
+
readonly stateMutability: "view";
|
|
5837
|
+
readonly type: "function";
|
|
5773
5838
|
}, {
|
|
5774
|
-
readonly type: "event";
|
|
5775
|
-
readonly name: "LevrMarketContractUpdated";
|
|
5776
5839
|
readonly inputs: readonly [{
|
|
5777
|
-
readonly name: "levrMarketId";
|
|
5778
|
-
readonly type: "bytes16";
|
|
5779
|
-
readonly indexed: true;
|
|
5780
|
-
readonly internalType: "bytes16";
|
|
5781
|
-
}, {
|
|
5782
|
-
readonly name: "prevMarketAddress";
|
|
5783
|
-
readonly type: "address";
|
|
5784
|
-
readonly indexed: true;
|
|
5785
5840
|
readonly internalType: "address";
|
|
5786
|
-
|
|
5787
|
-
readonly name: "newMarketAddress";
|
|
5841
|
+
readonly name: "marketContract";
|
|
5788
5842
|
readonly type: "address";
|
|
5789
|
-
readonly indexed: true;
|
|
5790
|
-
readonly internalType: "address";
|
|
5791
5843
|
}];
|
|
5792
|
-
readonly
|
|
5844
|
+
readonly name: "isDeprecatedMarketContract";
|
|
5845
|
+
readonly outputs: readonly [{
|
|
5846
|
+
readonly internalType: "bool";
|
|
5847
|
+
readonly name: "";
|
|
5848
|
+
readonly type: "bool";
|
|
5849
|
+
}];
|
|
5850
|
+
readonly stateMutability: "view";
|
|
5851
|
+
readonly type: "function";
|
|
5793
5852
|
}, {
|
|
5794
|
-
readonly type: "event";
|
|
5795
|
-
readonly name: "MarketSettledWithOverride";
|
|
5796
5853
|
readonly inputs: readonly [{
|
|
5854
|
+
readonly internalType: "uint256";
|
|
5855
|
+
readonly name: "gameId";
|
|
5856
|
+
readonly type: "uint256";
|
|
5857
|
+
}, {
|
|
5858
|
+
readonly internalType: "bytes32";
|
|
5797
5859
|
readonly name: "gameMarketId";
|
|
5798
5860
|
readonly type: "bytes32";
|
|
5799
|
-
readonly indexed: true;
|
|
5800
|
-
readonly internalType: "bytes32";
|
|
5801
|
-
}, {
|
|
5802
|
-
readonly name: "winner";
|
|
5803
|
-
readonly type: "uint8";
|
|
5804
|
-
readonly indexed: true;
|
|
5805
|
-
readonly internalType: "enum Side";
|
|
5806
|
-
}, {
|
|
5807
|
-
readonly name: "winnerOverride";
|
|
5808
|
-
readonly type: "uint8";
|
|
5809
|
-
readonly indexed: false;
|
|
5810
|
-
readonly internalType: "enum Side";
|
|
5811
5861
|
}];
|
|
5812
|
-
readonly
|
|
5862
|
+
readonly name: "isGameActiveMarket";
|
|
5863
|
+
readonly outputs: readonly [{
|
|
5864
|
+
readonly internalType: "bool";
|
|
5865
|
+
readonly name: "";
|
|
5866
|
+
readonly type: "bool";
|
|
5867
|
+
}];
|
|
5868
|
+
readonly stateMutability: "view";
|
|
5869
|
+
readonly type: "function";
|
|
5813
5870
|
}, {
|
|
5814
|
-
readonly type: "event";
|
|
5815
|
-
readonly name: "NewLevrLeague";
|
|
5816
5871
|
readonly inputs: readonly [{
|
|
5872
|
+
readonly internalType: "bytes8";
|
|
5817
5873
|
readonly name: "leagueId";
|
|
5818
5874
|
readonly type: "bytes8";
|
|
5819
|
-
readonly indexed: true;
|
|
5820
|
-
readonly internalType: "bytes8";
|
|
5821
|
-
}, {
|
|
5822
|
-
readonly name: "levrSportId";
|
|
5823
|
-
readonly type: "bytes12";
|
|
5824
|
-
readonly indexed: true;
|
|
5825
|
-
readonly internalType: "bytes12";
|
|
5826
|
-
}, {
|
|
5827
|
-
readonly name: "leagueName";
|
|
5828
|
-
readonly type: "string";
|
|
5829
|
-
readonly indexed: false;
|
|
5830
|
-
readonly internalType: "string";
|
|
5831
|
-
}, {
|
|
5832
|
-
readonly name: "location";
|
|
5833
|
-
readonly type: "string";
|
|
5834
|
-
readonly indexed: false;
|
|
5835
|
-
readonly internalType: "string";
|
|
5836
5875
|
}];
|
|
5837
|
-
readonly
|
|
5876
|
+
readonly name: "isLevrLeagueId";
|
|
5877
|
+
readonly outputs: readonly [{
|
|
5878
|
+
readonly internalType: "bool";
|
|
5879
|
+
readonly name: "";
|
|
5880
|
+
readonly type: "bool";
|
|
5881
|
+
}];
|
|
5882
|
+
readonly stateMutability: "view";
|
|
5883
|
+
readonly type: "function";
|
|
5838
5884
|
}, {
|
|
5839
|
-
readonly type: "event";
|
|
5840
|
-
readonly name: "NewLevrMarket";
|
|
5841
5885
|
readonly inputs: readonly [{
|
|
5886
|
+
readonly internalType: "bytes16";
|
|
5842
5887
|
readonly name: "levrMarketId";
|
|
5843
5888
|
readonly type: "bytes16";
|
|
5844
|
-
readonly indexed: true;
|
|
5845
|
-
readonly internalType: "bytes16";
|
|
5846
|
-
}, {
|
|
5847
|
-
readonly name: "name";
|
|
5848
|
-
readonly type: "string";
|
|
5849
|
-
readonly indexed: false;
|
|
5850
|
-
readonly internalType: "string";
|
|
5851
5889
|
}];
|
|
5852
|
-
readonly
|
|
5890
|
+
readonly name: "isLevrMarketId";
|
|
5891
|
+
readonly outputs: readonly [{
|
|
5892
|
+
readonly internalType: "bool";
|
|
5893
|
+
readonly name: "";
|
|
5894
|
+
readonly type: "bool";
|
|
5895
|
+
}];
|
|
5896
|
+
readonly stateMutability: "view";
|
|
5897
|
+
readonly type: "function";
|
|
5853
5898
|
}, {
|
|
5854
|
-
readonly type: "event";
|
|
5855
|
-
readonly name: "NewLevrSport";
|
|
5856
5899
|
readonly inputs: readonly [{
|
|
5900
|
+
readonly internalType: "bytes12";
|
|
5857
5901
|
readonly name: "levrSportId";
|
|
5858
5902
|
readonly type: "bytes12";
|
|
5859
|
-
readonly indexed: true;
|
|
5860
|
-
readonly internalType: "bytes12";
|
|
5861
|
-
}, {
|
|
5862
|
-
readonly name: "name";
|
|
5863
|
-
readonly type: "string";
|
|
5864
|
-
readonly indexed: false;
|
|
5865
|
-
readonly internalType: "string";
|
|
5866
5903
|
}];
|
|
5867
|
-
readonly
|
|
5868
|
-
|
|
5869
|
-
readonly type: "event";
|
|
5870
|
-
readonly name: "NewLevrTournament";
|
|
5871
|
-
readonly inputs: readonly [{
|
|
5872
|
-
readonly name: "tournamentId";
|
|
5873
|
-
readonly type: "bytes6";
|
|
5874
|
-
readonly indexed: true;
|
|
5875
|
-
readonly internalType: "bytes6";
|
|
5876
|
-
}, {
|
|
5877
|
-
readonly name: "tournamentName";
|
|
5878
|
-
readonly type: "string";
|
|
5879
|
-
readonly indexed: false;
|
|
5880
|
-
readonly internalType: "string";
|
|
5881
|
-
}, {
|
|
5882
|
-
readonly name: "description";
|
|
5883
|
-
readonly type: "string";
|
|
5884
|
-
readonly indexed: false;
|
|
5885
|
-
readonly internalType: "string";
|
|
5886
|
-
}, {
|
|
5887
|
-
readonly name: "exclusive";
|
|
5888
|
-
readonly type: "bool";
|
|
5889
|
-
readonly indexed: false;
|
|
5904
|
+
readonly name: "isLevrSportId";
|
|
5905
|
+
readonly outputs: readonly [{
|
|
5890
5906
|
readonly internalType: "bool";
|
|
5907
|
+
readonly name: "";
|
|
5908
|
+
readonly type: "bool";
|
|
5891
5909
|
}];
|
|
5892
|
-
readonly
|
|
5910
|
+
readonly stateMutability: "view";
|
|
5911
|
+
readonly type: "function";
|
|
5893
5912
|
}, {
|
|
5894
|
-
readonly type: "event";
|
|
5895
|
-
readonly name: "TournamentExclusivityUpdated";
|
|
5896
5913
|
readonly inputs: readonly [{
|
|
5914
|
+
readonly internalType: "bytes6";
|
|
5897
5915
|
readonly name: "tournamentId";
|
|
5898
5916
|
readonly type: "bytes6";
|
|
5899
|
-
readonly indexed: true;
|
|
5900
|
-
readonly internalType: "bytes6";
|
|
5901
|
-
}, {
|
|
5902
|
-
readonly name: "exclusive";
|
|
5903
|
-
readonly type: "bool";
|
|
5904
|
-
readonly indexed: false;
|
|
5905
|
-
readonly internalType: "bool";
|
|
5906
|
-
}];
|
|
5907
|
-
readonly anonymous: false;
|
|
5908
|
-
}, {
|
|
5909
|
-
readonly type: "error";
|
|
5910
|
-
readonly name: "LB_CONFIG_INVALID_INTERFACE";
|
|
5911
|
-
readonly inputs: readonly [];
|
|
5912
|
-
}, {
|
|
5913
|
-
readonly type: "error";
|
|
5914
|
-
readonly name: "LB_CONFIG_PROVIDER_NOT_CONTRACT";
|
|
5915
|
-
readonly inputs: readonly [];
|
|
5916
|
-
}, {
|
|
5917
|
-
readonly type: "error";
|
|
5918
|
-
readonly name: "LB_NOT_LEVR_ADMIN";
|
|
5919
|
-
readonly inputs: readonly [];
|
|
5920
|
-
}, {
|
|
5921
|
-
readonly type: "error";
|
|
5922
|
-
readonly name: "LM_CANNOT_CANCEL_POST_GAME_MARKET";
|
|
5923
|
-
readonly inputs: readonly [];
|
|
5924
|
-
}, {
|
|
5925
|
-
readonly type: "error";
|
|
5926
|
-
readonly name: "LM_CANNOT_OVERRIDE_WINNER_IN_PRE_GAME";
|
|
5927
|
-
readonly inputs: readonly [];
|
|
5928
|
-
}, {
|
|
5929
|
-
readonly type: "error";
|
|
5930
|
-
readonly name: "LM_DEPRECATED_MARKET_CONTRACT";
|
|
5931
|
-
readonly inputs: readonly [{
|
|
5932
|
-
readonly name: "marketContract";
|
|
5933
|
-
readonly type: "address";
|
|
5934
|
-
readonly internalType: "address";
|
|
5935
|
-
}];
|
|
5936
|
-
}, {
|
|
5937
|
-
readonly type: "error";
|
|
5938
|
-
readonly name: "LM_DUPLICATE_MARKET_CONTRACT";
|
|
5939
|
-
readonly inputs: readonly [{
|
|
5940
|
-
readonly name: "marketContract";
|
|
5941
|
-
readonly type: "address";
|
|
5942
|
-
readonly internalType: "address";
|
|
5943
5917
|
}];
|
|
5944
|
-
|
|
5945
|
-
readonly
|
|
5946
|
-
|
|
5947
|
-
|
|
5948
|
-
readonly
|
|
5949
|
-
readonly type: "string";
|
|
5950
|
-
readonly internalType: "string";
|
|
5918
|
+
readonly name: "isLevrTournamentId";
|
|
5919
|
+
readonly outputs: readonly [{
|
|
5920
|
+
readonly internalType: "bool";
|
|
5921
|
+
readonly name: "";
|
|
5922
|
+
readonly type: "bool";
|
|
5951
5923
|
}];
|
|
5924
|
+
readonly stateMutability: "view";
|
|
5925
|
+
readonly type: "function";
|
|
5952
5926
|
}, {
|
|
5953
|
-
readonly
|
|
5954
|
-
readonly name: "
|
|
5955
|
-
readonly
|
|
5956
|
-
readonly
|
|
5957
|
-
readonly
|
|
5958
|
-
readonly
|
|
5927
|
+
readonly inputs: readonly [];
|
|
5928
|
+
readonly name: "levrConfigProvider";
|
|
5929
|
+
readonly outputs: readonly [{
|
|
5930
|
+
readonly internalType: "address";
|
|
5931
|
+
readonly name: "";
|
|
5932
|
+
readonly type: "address";
|
|
5959
5933
|
}];
|
|
5934
|
+
readonly stateMutability: "view";
|
|
5935
|
+
readonly type: "function";
|
|
5960
5936
|
}, {
|
|
5961
|
-
readonly type: "error";
|
|
5962
|
-
readonly name: "LM_DUPLICATE_TOURNAMENT_NAME";
|
|
5963
5937
|
readonly inputs: readonly [{
|
|
5964
|
-
readonly
|
|
5965
|
-
readonly
|
|
5966
|
-
readonly
|
|
5938
|
+
readonly internalType: "address";
|
|
5939
|
+
readonly name: "";
|
|
5940
|
+
readonly type: "address";
|
|
5967
5941
|
}];
|
|
5968
|
-
|
|
5969
|
-
readonly
|
|
5970
|
-
|
|
5971
|
-
|
|
5972
|
-
readonly
|
|
5973
|
-
readonly type: "uint256";
|
|
5974
|
-
readonly internalType: "uint256";
|
|
5975
|
-
}, {
|
|
5976
|
-
readonly name: "winner";
|
|
5977
|
-
readonly type: "uint8";
|
|
5978
|
-
readonly internalType: "enum Side";
|
|
5942
|
+
readonly name: "levrMarketIdByAddress";
|
|
5943
|
+
readonly outputs: readonly [{
|
|
5944
|
+
readonly internalType: "bytes16";
|
|
5945
|
+
readonly name: "levrMarketId";
|
|
5946
|
+
readonly type: "bytes16";
|
|
5979
5947
|
}];
|
|
5948
|
+
readonly stateMutability: "view";
|
|
5949
|
+
readonly type: "function";
|
|
5980
5950
|
}, {
|
|
5981
|
-
readonly type: "error";
|
|
5982
|
-
readonly name: "LM_GAME_MARKET_NOT_ACTIVE";
|
|
5983
5951
|
readonly inputs: readonly [{
|
|
5952
|
+
readonly internalType: "bytes32";
|
|
5984
5953
|
readonly name: "gameMarketId";
|
|
5985
5954
|
readonly type: "bytes32";
|
|
5986
|
-
|
|
5955
|
+
}, {
|
|
5956
|
+
readonly internalType: "bytes16";
|
|
5957
|
+
readonly name: "levrMarketId";
|
|
5958
|
+
readonly type: "bytes16";
|
|
5959
|
+
}, {
|
|
5960
|
+
readonly internalType: "bool";
|
|
5961
|
+
readonly name: "open";
|
|
5962
|
+
readonly type: "bool";
|
|
5987
5963
|
}];
|
|
5964
|
+
readonly name: "openOrCloseGameMarket";
|
|
5965
|
+
readonly outputs: readonly [];
|
|
5966
|
+
readonly stateMutability: "nonpayable";
|
|
5967
|
+
readonly type: "function";
|
|
5988
5968
|
}, {
|
|
5989
|
-
readonly type: "error";
|
|
5990
|
-
readonly name: "LM_GAME_NOT_ENDED";
|
|
5991
5969
|
readonly inputs: readonly [{
|
|
5970
|
+
readonly internalType: "uint256";
|
|
5992
5971
|
readonly name: "gameId";
|
|
5993
5972
|
readonly type: "uint256";
|
|
5994
|
-
|
|
5973
|
+
}, {
|
|
5974
|
+
readonly internalType: "bool";
|
|
5975
|
+
readonly name: "pause";
|
|
5976
|
+
readonly type: "bool";
|
|
5995
5977
|
}];
|
|
5978
|
+
readonly name: "pauseOrUnpauseGame";
|
|
5979
|
+
readonly outputs: readonly [];
|
|
5980
|
+
readonly stateMutability: "nonpayable";
|
|
5981
|
+
readonly type: "function";
|
|
5996
5982
|
}, {
|
|
5997
|
-
readonly type: "error";
|
|
5998
|
-
readonly name: "LM_GAME_NOT_LIVE";
|
|
5999
5983
|
readonly inputs: readonly [{
|
|
5984
|
+
readonly internalType: "uint256";
|
|
6000
5985
|
readonly name: "gameId";
|
|
6001
5986
|
readonly type: "uint256";
|
|
6002
|
-
readonly internalType: "uint256";
|
|
6003
5987
|
}];
|
|
5988
|
+
readonly name: "settleAllGameMarkets";
|
|
5989
|
+
readonly outputs: readonly [];
|
|
5990
|
+
readonly stateMutability: "nonpayable";
|
|
5991
|
+
readonly type: "function";
|
|
6004
5992
|
}, {
|
|
6005
|
-
readonly type: "error";
|
|
6006
|
-
readonly name: "LM_GAME_STARTED_OR_ENDED";
|
|
6007
|
-
readonly inputs: readonly [];
|
|
6008
|
-
}, {
|
|
6009
|
-
readonly type: "error";
|
|
6010
|
-
readonly name: "LM_INVALID_ADDRESS";
|
|
6011
|
-
readonly inputs: readonly [];
|
|
6012
|
-
}, {
|
|
6013
|
-
readonly type: "error";
|
|
6014
|
-
readonly name: "LM_INVALID_DRAW_OUTCOME_FOR_GAME";
|
|
6015
5993
|
readonly inputs: readonly [{
|
|
5994
|
+
readonly internalType: "uint256";
|
|
6016
5995
|
readonly name: "gameId";
|
|
6017
5996
|
readonly type: "uint256";
|
|
6018
|
-
readonly internalType: "uint256";
|
|
6019
|
-
}, {
|
|
6020
|
-
readonly name: "levrSportId";
|
|
6021
|
-
readonly type: "bytes12";
|
|
6022
|
-
readonly internalType: "bytes12";
|
|
6023
5997
|
}, {
|
|
5998
|
+
readonly internalType: "enum Side";
|
|
6024
5999
|
readonly name: "winner";
|
|
6025
6000
|
readonly type: "uint8";
|
|
6026
|
-
|
|
6001
|
+
}, {
|
|
6002
|
+
readonly internalType: "bool";
|
|
6003
|
+
readonly name: "autoResolveMarkets";
|
|
6004
|
+
readonly type: "bool";
|
|
6027
6005
|
}];
|
|
6006
|
+
readonly name: "settleGame";
|
|
6007
|
+
readonly outputs: readonly [];
|
|
6008
|
+
readonly stateMutability: "nonpayable";
|
|
6009
|
+
readonly type: "function";
|
|
6028
6010
|
}, {
|
|
6029
|
-
readonly type: "error";
|
|
6030
|
-
readonly name: "LM_INVALID_GAME_ID";
|
|
6031
6011
|
readonly inputs: readonly [{
|
|
6012
|
+
readonly internalType: "uint256";
|
|
6032
6013
|
readonly name: "gameId";
|
|
6033
6014
|
readonly type: "uint256";
|
|
6034
|
-
readonly internalType: "uint256";
|
|
6035
|
-
}];
|
|
6036
|
-
}, {
|
|
6037
|
-
readonly type: "error";
|
|
6038
|
-
readonly name: "LM_INVALID_GAME_STATUS_SWITCH";
|
|
6039
|
-
readonly inputs: readonly [{
|
|
6040
|
-
readonly name: "prevStatus";
|
|
6041
|
-
readonly type: "uint8";
|
|
6042
|
-
readonly internalType: "enum GameStatus";
|
|
6043
6015
|
}, {
|
|
6044
|
-
readonly
|
|
6016
|
+
readonly internalType: "bytes16";
|
|
6017
|
+
readonly name: "levrMarketId";
|
|
6018
|
+
readonly type: "bytes16";
|
|
6019
|
+
}, {
|
|
6020
|
+
readonly internalType: "enum Side";
|
|
6021
|
+
readonly name: "winnerOverride";
|
|
6045
6022
|
readonly type: "uint8";
|
|
6046
|
-
readonly internalType: "enum GameStatus";
|
|
6047
6023
|
}];
|
|
6024
|
+
readonly name: "settleGameMarket";
|
|
6025
|
+
readonly outputs: readonly [];
|
|
6026
|
+
readonly stateMutability: "nonpayable";
|
|
6027
|
+
readonly type: "function";
|
|
6048
6028
|
}, {
|
|
6049
|
-
readonly
|
|
6050
|
-
|
|
6051
|
-
|
|
6029
|
+
readonly inputs: readonly [{
|
|
6030
|
+
readonly internalType: "bytes4";
|
|
6031
|
+
readonly name: "interfaceId";
|
|
6032
|
+
readonly type: "bytes4";
|
|
6033
|
+
}];
|
|
6034
|
+
readonly name: "supportsInterface";
|
|
6035
|
+
readonly outputs: readonly [{
|
|
6036
|
+
readonly internalType: "bool";
|
|
6037
|
+
readonly name: "";
|
|
6038
|
+
readonly type: "bool";
|
|
6039
|
+
}];
|
|
6040
|
+
readonly stateMutability: "view";
|
|
6041
|
+
readonly type: "function";
|
|
6052
6042
|
}, {
|
|
6053
|
-
readonly type: "error";
|
|
6054
|
-
readonly name: "LM_INVALID_LEAGUE";
|
|
6055
6043
|
readonly inputs: readonly [{
|
|
6056
|
-
readonly
|
|
6057
|
-
readonly
|
|
6058
|
-
readonly
|
|
6044
|
+
readonly internalType: "uint256";
|
|
6045
|
+
readonly name: "gameId";
|
|
6046
|
+
readonly type: "uint256";
|
|
6059
6047
|
}, {
|
|
6060
|
-
readonly
|
|
6061
|
-
readonly
|
|
6062
|
-
readonly
|
|
6048
|
+
readonly internalType: "uint16";
|
|
6049
|
+
readonly name: "progressBps";
|
|
6050
|
+
readonly type: "uint16";
|
|
6051
|
+
}];
|
|
6052
|
+
readonly name: "updateGameProgress";
|
|
6053
|
+
readonly outputs: readonly [{
|
|
6054
|
+
readonly internalType: "uint16";
|
|
6055
|
+
readonly name: "updatedProgressBps";
|
|
6056
|
+
readonly type: "uint16";
|
|
6063
6057
|
}];
|
|
6058
|
+
readonly stateMutability: "nonpayable";
|
|
6059
|
+
readonly type: "function";
|
|
6064
6060
|
}, {
|
|
6065
|
-
readonly type: "error";
|
|
6066
|
-
readonly name: "LM_INVALID_LEVR_LEAGUE";
|
|
6067
6061
|
readonly inputs: readonly [{
|
|
6068
|
-
readonly
|
|
6069
|
-
readonly
|
|
6070
|
-
readonly
|
|
6062
|
+
readonly internalType: "uint256";
|
|
6063
|
+
readonly name: "gameId";
|
|
6064
|
+
readonly type: "uint256";
|
|
6065
|
+
}, {
|
|
6066
|
+
readonly internalType: "enum GameStatus";
|
|
6067
|
+
readonly name: "status";
|
|
6068
|
+
readonly type: "uint8";
|
|
6071
6069
|
}];
|
|
6070
|
+
readonly name: "updateGameStatus";
|
|
6071
|
+
readonly outputs: readonly [];
|
|
6072
|
+
readonly stateMutability: "nonpayable";
|
|
6073
|
+
readonly type: "function";
|
|
6072
6074
|
}, {
|
|
6073
|
-
readonly type: "error";
|
|
6074
|
-
readonly name: "LM_INVALID_LEVR_MARKET_ID";
|
|
6075
6075
|
readonly inputs: readonly [{
|
|
6076
|
-
readonly
|
|
6077
|
-
readonly
|
|
6078
|
-
readonly
|
|
6076
|
+
readonly internalType: "address";
|
|
6077
|
+
readonly name: "newLevrConfigProvider";
|
|
6078
|
+
readonly type: "address";
|
|
6079
6079
|
}];
|
|
6080
|
+
readonly name: "updateLevrConfigProvider";
|
|
6081
|
+
readonly outputs: readonly [];
|
|
6082
|
+
readonly stateMutability: "nonpayable";
|
|
6083
|
+
readonly type: "function";
|
|
6080
6084
|
}, {
|
|
6081
|
-
readonly type: "error";
|
|
6082
|
-
readonly name: "LM_INVALID_PARAMS_LENGTH";
|
|
6083
|
-
readonly inputs: readonly [];
|
|
6084
|
-
}, {
|
|
6085
|
-
readonly type: "error";
|
|
6086
|
-
readonly name: "LM_INVALID_PROGRESS_BPS";
|
|
6087
|
-
readonly inputs: readonly [];
|
|
6088
|
-
}, {
|
|
6089
|
-
readonly type: "error";
|
|
6090
|
-
readonly name: "LM_INVALID_SIDE";
|
|
6091
6085
|
readonly inputs: readonly [{
|
|
6092
|
-
readonly
|
|
6093
|
-
readonly
|
|
6094
|
-
readonly
|
|
6086
|
+
readonly internalType: "bytes16";
|
|
6087
|
+
readonly name: "levrMarketId";
|
|
6088
|
+
readonly type: "bytes16";
|
|
6089
|
+
}, {
|
|
6090
|
+
readonly internalType: "address";
|
|
6091
|
+
readonly name: "newMarketAddress";
|
|
6092
|
+
readonly type: "address";
|
|
6095
6093
|
}];
|
|
6094
|
+
readonly name: "updateLevrMarketAddress";
|
|
6095
|
+
readonly outputs: readonly [];
|
|
6096
|
+
readonly stateMutability: "nonpayable";
|
|
6097
|
+
readonly type: "function";
|
|
6096
6098
|
}, {
|
|
6097
|
-
readonly type: "error";
|
|
6098
|
-
readonly name: "LM_INVALID_SIDE_GROUP";
|
|
6099
|
-
readonly inputs: readonly [];
|
|
6100
|
-
}, {
|
|
6101
|
-
readonly type: "error";
|
|
6102
|
-
readonly name: "LM_INVALID_SPORT_ID";
|
|
6103
|
-
readonly inputs: readonly [];
|
|
6104
|
-
}, {
|
|
6105
|
-
readonly type: "error";
|
|
6106
|
-
readonly name: "LM_INVALID_STRING";
|
|
6107
|
-
readonly inputs: readonly [];
|
|
6108
|
-
}, {
|
|
6109
|
-
readonly type: "error";
|
|
6110
|
-
readonly name: "LM_INVALID_TOURNAMENT_ID";
|
|
6111
6099
|
readonly inputs: readonly [{
|
|
6100
|
+
readonly internalType: "bytes6";
|
|
6112
6101
|
readonly name: "tournamentId";
|
|
6113
6102
|
readonly type: "bytes6";
|
|
6114
|
-
|
|
6103
|
+
}, {
|
|
6104
|
+
readonly internalType: "bool";
|
|
6105
|
+
readonly name: "exclusive";
|
|
6106
|
+
readonly type: "bool";
|
|
6115
6107
|
}];
|
|
6116
|
-
|
|
6117
|
-
readonly
|
|
6118
|
-
readonly
|
|
6119
|
-
readonly
|
|
6120
|
-
}, {
|
|
6121
|
-
readonly type: "error";
|
|
6122
|
-
readonly name: "LM_NOT_FEED_PROVIDER_OR_MARKET_FEED_CONTRACT";
|
|
6123
|
-
readonly inputs: readonly [];
|
|
6124
|
-
}, {
|
|
6125
|
-
readonly type: "error";
|
|
6126
|
-
readonly name: "LM_NOT_GAME_ADMIN";
|
|
6127
|
-
readonly inputs: readonly [];
|
|
6128
|
-
}, {
|
|
6129
|
-
readonly type: "error";
|
|
6130
|
-
readonly name: "LM_NOT_LEVR_ADMIN";
|
|
6131
|
-
readonly inputs: readonly [];
|
|
6108
|
+
readonly name: "updateTournamentExclusivity";
|
|
6109
|
+
readonly outputs: readonly [];
|
|
6110
|
+
readonly stateMutability: "nonpayable";
|
|
6111
|
+
readonly type: "function";
|
|
6132
6112
|
}];
|
|
6133
6113
|
readonly levrMarketFeed: readonly [{
|
|
6134
6114
|
readonly inputs: readonly [{
|