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