@levrbet/shared 0.5.56 → 0.5.58

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.
@@ -2,1815 +2,1815 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.default = [
4
4
  {
5
- inputs: [{ internalType: "address", name: "_protocolAdmin", type: "address" }],
6
- stateMutability: "nonpayable",
7
5
  type: "constructor",
6
+ inputs: [{ name: "_protocolAdmin", type: "address", internalType: "address" }],
7
+ stateMutability: "nonpayable",
8
8
  },
9
- { inputs: [], name: "AccessControlBadConfirmation", type: "error" },
10
9
  {
11
- inputs: [
12
- { internalType: "address", name: "account", type: "address" },
13
- { internalType: "bytes32", name: "neededRole", type: "bytes32" },
14
- ],
15
- name: "AccessControlUnauthorizedAccount",
16
- type: "error",
17
- },
18
- { inputs: [{ internalType: "address", name: "asset", type: "address" }], name: "LCP_ALREADY_VAULT_ASSET", type: "error" },
19
- { inputs: [], name: "LCP_EXISTING_ASSETS_MISMATCH", type: "error" },
20
- { inputs: [], name: "LCP_INVALID_ADDRESS", type: "error" },
21
- { inputs: [], name: "LCP_INVALID_ARRAY_LENGTH", type: "error" },
22
- { inputs: [], name: "LCP_INVALID_BPS", type: "error" },
23
- { inputs: [], name: "LCP_INVALID_MAX_ROUND_DURATION", type: "error" },
24
- { inputs: [], name: "LCP_INVALID_MIN_DEPOSIT_VALUE", type: "error" },
25
- { inputs: [], name: "LCP_INVALID_MIN_INITIAL_DEPOSIT_VALUE", type: "error" },
26
- { inputs: [], name: "LCP_INVALID_PYTH_AGE", type: "error" },
27
- { inputs: [], name: "LCP_INVALID_PYTH_FEED_ID", type: "error" },
28
- { inputs: [], name: "LCP_INVALID_ROUND_DURATION", type: "error" },
29
- { inputs: [], name: "LCP_INVALID_VAULT_ASSET", type: "error" },
30
- { inputs: [], name: "LCP_INVALID_WITHDRAWAL_EXECUTION_WINDOW", type: "error" },
31
- { inputs: [], name: "LCP_INVALID_WITHDRAWAL_REQUEST_WINDOW", type: "error" },
32
- { inputs: [], name: "LCP_INVALID_WITHDRAWAL_WAIT_ROUNDS", type: "error" },
33
- { inputs: [], name: "LCP_LEVR_MVP_ALREADY_SET", type: "error" },
34
- { inputs: [], name: "LDPC_ALREADY_DEPRECATED", type: "error" },
35
- { inputs: [], name: "LDPC_INVALID_ADDRESS", type: "error" },
36
- { inputs: [], name: "LFC_INVALID_BPS", type: "error" },
37
- { inputs: [], name: "LFMC_INVALID_ADDRESS", type: "error" },
38
- { inputs: [], name: "LMC_INVALID_ADDRESS", type: "error" },
39
- { inputs: [], name: "LMC_INVALID_ASSET_COLLATERAL_LENGTH", type: "error" },
40
- {
41
- inputs: [
42
- { internalType: "address", name: "asset", type: "address" },
43
- { internalType: "uint256", name: "minCollateral", type: "uint256" },
44
- { internalType: "uint256", name: "maxCollateral", type: "uint256" },
45
- ],
46
- name: "LMC_INVALID_COLLATERAL_LIMITS",
47
- type: "error",
10
+ type: "function",
11
+ name: "DEFAULT_ADMIN_ROLE",
12
+ inputs: [],
13
+ outputs: [{ name: "", type: "bytes32", internalType: "bytes32" }],
14
+ stateMutability: "view",
48
15
  },
49
- { inputs: [], name: "LMC_INVALID_FEE_BPS", type: "error" },
50
- { inputs: [], name: "LMC_INVALID_LIQUIDATION_BUFFER_BPS", type: "error" },
51
- { inputs: [], name: "LMC_INVALID_MERKLE_ROOT", type: "error" },
52
- { inputs: [], name: "LMC_INVALID_TOURNAMENT_ID", type: "error" },
53
- { inputs: [], name: "LMC_INVALID_USER_LEVERAGES", type: "error" },
54
- { inputs: [], name: "LOC_INVALID_BPS", type: "error" },
55
16
  {
56
- anonymous: false,
57
- inputs: [
58
- { indexed: true, internalType: "address", name: "asset", type: "address" },
59
- { indexed: true, internalType: "uint16", name: "oldWeight", type: "uint16" },
60
- { indexed: true, internalType: "uint16", name: "newWeight", type: "uint16" },
61
- ],
62
- name: "AssetWeightUpdated",
63
- type: "event",
17
+ type: "function",
18
+ name: "DRAW_POOL_ADMIN_ROLE",
19
+ inputs: [],
20
+ outputs: [{ name: "", type: "bytes32", internalType: "bytes32" }],
21
+ stateMutability: "view",
64
22
  },
65
23
  {
66
- anonymous: false,
67
- inputs: [
68
- { indexed: true, internalType: "address", name: "user", type: "address" },
69
- { indexed: false, internalType: "bool", name: "isBlacklisted", type: "bool" },
70
- ],
71
- name: "BlacklistUpdated",
72
- type: "event",
24
+ type: "function",
25
+ name: "FEED_PROVIDER_ROLE",
26
+ inputs: [],
27
+ outputs: [{ name: "", type: "bytes32", internalType: "bytes32" }],
28
+ stateMutability: "view",
73
29
  },
74
30
  {
75
- anonymous: false,
76
- inputs: [
77
- { indexed: false, internalType: "uint16", name: "oldBorrowFeeBps", type: "uint16" },
78
- { indexed: false, internalType: "uint16", name: "newBorrowFeeBps", type: "uint16" },
79
- ],
80
- name: "BorrowFeeBpsUpdated",
81
- type: "event",
31
+ type: "function",
32
+ name: "GAME_ADMIN_ROLE",
33
+ inputs: [],
34
+ outputs: [{ name: "", type: "bytes32", internalType: "bytes32" }],
35
+ stateMutability: "view",
82
36
  },
83
37
  {
84
- anonymous: false,
85
- inputs: [
86
- { indexed: true, internalType: "address", name: "asset", type: "address" },
87
- { indexed: false, internalType: "uint256", name: "oldMaxCollateral", type: "uint256" },
88
- { indexed: false, internalType: "uint256", name: "newMaxCollateral", type: "uint256" },
89
- ],
90
- name: "DefaultMaxBetCollateralUpdated",
91
- type: "event",
38
+ type: "function",
39
+ name: "LEVR_ADMIN_ROLE",
40
+ inputs: [],
41
+ outputs: [{ name: "", type: "bytes32", internalType: "bytes32" }],
42
+ stateMutability: "view",
92
43
  },
93
44
  {
94
- anonymous: false,
95
- inputs: [
96
- { indexed: true, internalType: "address", name: "asset", type: "address" },
97
- { indexed: false, internalType: "uint256", name: "oldMinCollateral", type: "uint256" },
98
- { indexed: false, internalType: "uint256", name: "newMinCollateral", type: "uint256" },
99
- ],
100
- name: "DefaultMinBetCollateralUpdated",
101
- type: "event",
45
+ type: "function",
46
+ name: "LEVR_MVP_TOKEN_MINTER_ROLE",
47
+ inputs: [],
48
+ outputs: [{ name: "", type: "bytes32", internalType: "bytes32" }],
49
+ stateMutability: "view",
102
50
  },
103
51
  {
104
- anonymous: false,
105
- inputs: [
106
- { indexed: false, internalType: "uint16", name: "oldMvpVaultStakersBps", type: "uint16" },
107
- { indexed: false, internalType: "uint16", name: "oldLevrStakersBps", type: "uint16" },
108
- { indexed: false, internalType: "uint16", name: "oldTreasuryBps", type: "uint16" },
109
- { indexed: false, internalType: "uint16", name: "oldReferralPoolBps", type: "uint16" },
110
- { indexed: false, internalType: "uint16", name: "newMvpVaultStakersBps", type: "uint16" },
111
- { indexed: false, internalType: "uint16", name: "newLevrStakersBps", type: "uint16" },
112
- { indexed: false, internalType: "uint16", name: "newTreasuryBps", type: "uint16" },
113
- { indexed: false, internalType: "uint16", name: "newReferralPoolBps", type: "uint16" },
114
- ],
115
- name: "FeeShareUpdated",
116
- type: "event",
52
+ type: "function",
53
+ name: "LIQUIDATOR_ROLE",
54
+ inputs: [],
55
+ outputs: [{ name: "", type: "bytes32", internalType: "bytes32" }],
56
+ stateMutability: "view",
117
57
  },
118
58
  {
119
- anonymous: false,
120
- inputs: [{ indexed: true, internalType: "address", name: "asset", type: "address" }],
121
- name: "FundManagerAllowedAssetAdded",
122
- type: "event",
59
+ type: "function",
60
+ name: "MATCH_MAKER_ROLE",
61
+ inputs: [],
62
+ outputs: [{ name: "", type: "bytes32", internalType: "bytes32" }],
63
+ stateMutability: "view",
123
64
  },
124
65
  {
125
- anonymous: false,
126
- inputs: [{ indexed: true, internalType: "address", name: "asset", type: "address" }],
127
- name: "FundManagerAllowedAssetRemoved",
128
- type: "event",
66
+ type: "function",
67
+ name: "MAX_BPS",
68
+ inputs: [],
69
+ outputs: [{ name: "", type: "uint16", internalType: "uint16" }],
70
+ stateMutability: "view",
129
71
  },
130
72
  {
131
- anonymous: false,
132
- inputs: [
133
- { indexed: false, internalType: "uint16", name: "prevMinTierFeeInGameBps", type: "uint16" },
134
- { indexed: false, internalType: "uint16", name: "newMinTierFeeInGameBps", type: "uint16" },
135
- { indexed: false, internalType: "uint16", name: "prevMaxTierFeeInGameBps", type: "uint16" },
136
- { indexed: false, internalType: "uint16", name: "newMaxTierFeeInGameBps", type: "uint16" },
137
- ],
138
- name: "InGameTierFeesUpdated",
139
- type: "event",
73
+ type: "function",
74
+ name: "POSITION_HANDLER_ROLE",
75
+ inputs: [],
76
+ outputs: [{ name: "", type: "bytes32", internalType: "bytes32" }],
77
+ stateMutability: "view",
140
78
  },
141
79
  {
142
- anonymous: false,
143
- inputs: [
144
- { indexed: false, internalType: "address", name: "prevBetCreditManager", type: "address" },
145
- { indexed: false, internalType: "address", name: "newBetCreditManager", type: "address" },
146
- ],
147
- name: "LevrBetCreditManagerUpdated",
148
- type: "event",
80
+ type: "function",
81
+ name: "acquitBlacklist",
82
+ inputs: [{ name: "users", type: "address[]", internalType: "address[]" }],
83
+ outputs: [],
84
+ stateMutability: "nonpayable",
149
85
  },
150
86
  {
151
- anonymous: false,
152
- inputs: [
153
- { indexed: true, internalType: "address", name: "previousLevrDrawPool", type: "address" },
154
- { indexed: true, internalType: "address", name: "newLevrDrawPool", type: "address" },
155
- ],
156
- name: "LevrDrawPoolUpdated",
157
- type: "event",
87
+ type: "function",
88
+ name: "addAllowedFundManagerAssets",
89
+ inputs: [{ name: "assets", type: "address[]", internalType: "address[]" }],
90
+ outputs: [],
91
+ stateMutability: "nonpayable",
158
92
  },
159
93
  {
160
- anonymous: false,
161
- inputs: [
162
- { indexed: false, internalType: "address", name: "prevFeeCollector", type: "address" },
163
- { indexed: false, internalType: "address", name: "newFeeCollector", type: "address" },
164
- ],
165
- name: "LevrFeeCollectorUpdated",
166
- type: "event",
94
+ type: "function",
95
+ name: "addMvpTokenTransferrers",
96
+ inputs: [{ name: "accounts", type: "address[]", internalType: "address[]" }],
97
+ outputs: [],
98
+ stateMutability: "nonpayable",
167
99
  },
168
100
  {
169
- anonymous: false,
101
+ type: "function",
102
+ name: "addMvpVaultAssets",
170
103
  inputs: [
171
- { indexed: false, internalType: "address", name: "prevFundManager", type: "address" },
172
- { indexed: false, internalType: "address", name: "newFundManager", type: "address" },
104
+ { name: "existingAssets", type: "address[]", internalType: "address[]" },
105
+ { name: "updatedWeights", type: "uint16[]", internalType: "uint16[]" },
106
+ { name: "newAssets", type: "address[]", internalType: "address[]" },
107
+ { name: "newAssetsWeights", type: "uint16[]", internalType: "uint16[]" },
173
108
  ],
174
- name: "LevrFundManagerUpdated",
175
- type: "event",
109
+ outputs: [],
110
+ stateMutability: "nonpayable",
176
111
  },
177
112
  {
178
- anonymous: false,
179
- inputs: [
180
- { indexed: false, internalType: "address", name: "prevEngine", type: "address" },
181
- { indexed: false, internalType: "address", name: "newEngine", type: "address" },
182
- ],
183
- name: "LevrLiquidationEngineUpdated",
184
- type: "event",
113
+ type: "function",
114
+ name: "addSMvpTokenTransferrers",
115
+ inputs: [{ name: "accounts", type: "address[]", internalType: "address[]" }],
116
+ outputs: [],
117
+ stateMutability: "nonpayable",
185
118
  },
186
119
  {
187
- anonymous: false,
188
- inputs: [
189
- { indexed: false, internalType: "address", name: "prevManager", type: "address" },
190
- { indexed: false, internalType: "address", name: "newManager", type: "address" },
191
- ],
192
- name: "LevrManagerUpdated",
193
- type: "event",
120
+ type: "function",
121
+ name: "areAuthorizedMvpTokenTransferrers",
122
+ inputs: [{ name: "accounts", type: "address[]", internalType: "address[]" }],
123
+ outputs: [{ name: "", type: "bool[]", internalType: "bool[]" }],
124
+ stateMutability: "view",
194
125
  },
195
126
  {
196
- anonymous: false,
127
+ type: "function",
128
+ name: "areAuthorizedMvpTokenTransferrers",
197
129
  inputs: [
198
- { indexed: false, internalType: "address", name: "prevFeed", type: "address" },
199
- { indexed: false, internalType: "address", name: "newFeed", type: "address" },
130
+ { name: "from", type: "address", internalType: "address" },
131
+ { name: "to", type: "address", internalType: "address" },
200
132
  ],
201
- name: "LevrMarketFeedUpdated",
202
- type: "event",
203
- },
204
- {
205
- anonymous: false,
206
- inputs: [
207
- { indexed: false, internalType: "address", name: "oldLevrMarketMaker", type: "address" },
208
- { indexed: false, internalType: "address", name: "newLevrMarketMaker", type: "address" },
133
+ outputs: [
134
+ { name: "", type: "bool", internalType: "bool" },
135
+ { name: "", type: "bool", internalType: "bool" },
209
136
  ],
210
- name: "LevrMarketMakerUpdated",
211
- type: "event",
137
+ stateMutability: "view",
212
138
  },
213
139
  {
214
- anonymous: false,
140
+ type: "function",
141
+ name: "areAuthorizedSMvpTokenTransferrers",
215
142
  inputs: [
216
- { indexed: false, internalType: "address", name: "prevSentinel", type: "address" },
217
- { indexed: false, internalType: "address", name: "newSentinel", type: "address" },
143
+ { name: "from", type: "address", internalType: "address" },
144
+ { name: "to", type: "address", internalType: "address" },
218
145
  ],
219
- name: "LevrMarketRiskSentinelUpdated",
220
- type: "event",
146
+ outputs: [
147
+ { name: "", type: "bool", internalType: "bool" },
148
+ { name: "", type: "bool", internalType: "bool" },
149
+ ],
150
+ stateMutability: "view",
221
151
  },
222
152
  {
223
- anonymous: false,
224
- inputs: [
225
- { indexed: true, internalType: "address", name: "oldLevrMarketRouter", type: "address" },
226
- { indexed: true, internalType: "address", name: "newLevrMarketRouter", type: "address" },
227
- ],
228
- name: "LevrMarketRouterUpdated",
229
- type: "event",
153
+ type: "function",
154
+ name: "blacklist",
155
+ inputs: [{ name: "users", type: "address[]", internalType: "address[]" }],
156
+ outputs: [],
157
+ stateMutability: "nonpayable",
230
158
  },
231
159
  {
232
- anonymous: false,
233
- inputs: [
234
- { indexed: true, internalType: "address", name: "oldLevrMvpDepository", type: "address" },
235
- { indexed: true, internalType: "address", name: "newLevrMvpDepository", type: "address" },
236
- ],
237
- name: "LevrMvpDepositoryUpdated",
238
- type: "event",
160
+ type: "function",
161
+ name: "borrowFeeBps",
162
+ inputs: [],
163
+ outputs: [{ name: "", type: "uint16", internalType: "uint16" }],
164
+ stateMutability: "view",
239
165
  },
240
166
  {
241
- anonymous: false,
242
- inputs: [
243
- { indexed: true, internalType: "address", name: "prevLevrMvpRouter", type: "address" },
244
- { indexed: true, internalType: "address", name: "newLevrMvpRouter", type: "address" },
245
- ],
246
- name: "LevrMvpRouterUpdated",
247
- type: "event",
167
+ type: "function",
168
+ name: "defaultAge",
169
+ inputs: [],
170
+ outputs: [{ name: "", type: "uint48", internalType: "uint48" }],
171
+ stateMutability: "view",
248
172
  },
249
173
  {
250
- anonymous: false,
251
- inputs: [
252
- { indexed: true, internalType: "address", name: "oldLevrMvpStaker", type: "address" },
253
- { indexed: true, internalType: "address", name: "newLevrMvpStaker", type: "address" },
254
- ],
255
- name: "LevrMvpStakerUpdated",
256
- type: "event",
174
+ type: "function",
175
+ name: "defaultMaxBetCollateral",
176
+ inputs: [{ name: "asset", type: "address", internalType: "address" }],
177
+ outputs: [{ name: "max", type: "uint256", internalType: "uint256" }],
178
+ stateMutability: "view",
257
179
  },
258
180
  {
259
- anonymous: false,
260
- inputs: [{ indexed: true, internalType: "address", name: "levrMvp", type: "address" }],
261
- name: "LevrMvpTokenUpdated",
262
- type: "event",
181
+ type: "function",
182
+ name: "defaultMinBetCollateral",
183
+ inputs: [{ name: "asset", type: "address", internalType: "address" }],
184
+ outputs: [{ name: "min", type: "uint256", internalType: "uint256" }],
185
+ stateMutability: "view",
263
186
  },
264
187
  {
265
- anonymous: false,
266
- inputs: [
267
- { indexed: true, internalType: "address", name: "previousLevrOrderbookLens", type: "address" },
268
- { indexed: true, internalType: "address", name: "newLevrOrderbookLens", type: "address" },
269
- ],
270
- name: "LevrOrderbookLensUpdated",
271
- type: "event",
188
+ type: "function",
189
+ name: "getAcceptableStalenessAge",
190
+ inputs: [{ name: "asset", type: "address", internalType: "address" }],
191
+ outputs: [{ name: "", type: "uint48", internalType: "uint48" }],
192
+ stateMutability: "view",
272
193
  },
273
194
  {
274
- anonymous: false,
275
- inputs: [
276
- { indexed: false, internalType: "address", name: "oldLevrOrderbook", type: "address" },
277
- { indexed: false, internalType: "address", name: "newLevrOrderbook", type: "address" },
195
+ type: "function",
196
+ name: "getAeeTierFeeBps",
197
+ inputs: [],
198
+ outputs: [
199
+ { name: "min", type: "uint16", internalType: "uint16" },
200
+ { name: "max", type: "uint16", internalType: "uint16" },
278
201
  ],
279
- name: "LevrOrderbookUpdated",
280
- type: "event",
202
+ stateMutability: "view",
281
203
  },
282
204
  {
283
- anonymous: false,
284
- inputs: [
285
- { indexed: true, internalType: "address", name: "prevLevrPythFeed", type: "address" },
286
- { indexed: true, internalType: "address", name: "newLevrPythFeed", type: "address" },
287
- ],
288
- name: "LevrPythFeedUpdated",
289
- type: "event",
205
+ type: "function",
206
+ name: "getAllowedFundManagerAssets",
207
+ inputs: [],
208
+ outputs: [{ name: "", type: "address[]", internalType: "address[]" }],
209
+ stateMutability: "view",
290
210
  },
291
211
  {
292
- anonymous: false,
293
- inputs: [
294
- { indexed: false, internalType: "address", name: "prevReferralRewardsPool", type: "address" },
295
- { indexed: false, internalType: "address", name: "newReferralRewardsPool", type: "address" },
296
- ],
297
- name: "LevrReferralRewardsPoolUpdated",
298
- type: "event",
212
+ type: "function",
213
+ name: "getAssetWeight",
214
+ inputs: [{ name: "asset", type: "address", internalType: "address" }],
215
+ outputs: [{ name: "", type: "uint16", internalType: "uint16" }],
216
+ stateMutability: "view",
299
217
  },
300
218
  {
301
- anonymous: false,
302
- inputs: [
303
- { indexed: true, internalType: "address", name: "previousLevrStaker", type: "address" },
304
- { indexed: true, internalType: "address", name: "newLevrStaker", type: "address" },
305
- ],
306
- name: "LevrStakerUpdated",
307
- type: "event",
219
+ type: "function",
220
+ name: "getAuthorizedMvpTokenTransferrers",
221
+ inputs: [],
222
+ outputs: [{ name: "", type: "address[]", internalType: "address[]" }],
223
+ stateMutability: "view",
308
224
  },
309
225
  {
310
- anonymous: false,
311
- inputs: [
312
- { indexed: false, internalType: "address", name: "prevTreasury", type: "address" },
313
- { indexed: false, internalType: "address", name: "newTreasury", type: "address" },
314
- ],
315
- name: "LevrTreasuryUpdated",
316
- type: "event",
226
+ type: "function",
227
+ name: "getBlacklistedUsers",
228
+ inputs: [],
229
+ outputs: [{ name: "", type: "address[]", internalType: "address[]" }],
230
+ stateMutability: "view",
317
231
  },
318
232
  {
319
- anonymous: false,
320
- inputs: [
321
- { indexed: false, internalType: "uint16", name: "oldBps", type: "uint16" },
322
- { indexed: false, internalType: "uint16", name: "newBps", type: "uint16" },
323
- ],
324
- name: "LiquidationBufferBps2WayUpdated",
325
- type: "event",
233
+ type: "function",
234
+ name: "getDeprecatedDrawPools",
235
+ inputs: [],
236
+ outputs: [{ name: "", type: "address[]", internalType: "address[]" }],
237
+ stateMutability: "view",
326
238
  },
327
239
  {
328
- anonymous: false,
329
- inputs: [
330
- { indexed: false, internalType: "uint16", name: "oldBps", type: "uint16" },
331
- { indexed: false, internalType: "uint16", name: "newBps", type: "uint16" },
240
+ type: "function",
241
+ name: "getFeeRecipientsAndShares",
242
+ inputs: [],
243
+ outputs: [
244
+ {
245
+ name: "",
246
+ type: "tuple",
247
+ internalType: "struct FeeRecipientsAndShares",
248
+ components: [
249
+ { name: "mvpVault", type: "address", internalType: "address" },
250
+ { name: "levrStakers", type: "address", internalType: "address" },
251
+ { name: "treasury", type: "address", internalType: "address" },
252
+ { name: "referralPool", type: "address", internalType: "address" },
253
+ { name: "mvpVaultBps", type: "uint16", internalType: "uint16" },
254
+ { name: "levrStakersBps", type: "uint16", internalType: "uint16" },
255
+ { name: "treasuryBps", type: "uint16", internalType: "uint16" },
256
+ { name: "referralPoolBps", type: "uint16", internalType: "uint16" },
257
+ { name: "maxBps", type: "uint16", internalType: "uint16" },
258
+ ],
259
+ },
332
260
  ],
333
- name: "LiquidationBufferBps3WayUpdated",
334
- type: "event",
261
+ stateMutability: "view",
335
262
  },
336
263
  {
337
- anonymous: false,
338
- inputs: [
339
- { indexed: false, internalType: "uint16", name: "oldBps", type: "uint16" },
340
- { indexed: false, internalType: "uint16", name: "newBps", type: "uint16" },
264
+ type: "function",
265
+ name: "getFeeRecipientsShareBps",
266
+ inputs: [],
267
+ outputs: [
268
+ { name: "_mvpStakersShareBps", type: "uint16", internalType: "uint16" },
269
+ { name: "_levrStakerShareBps", type: "uint16", internalType: "uint16" },
270
+ { name: "_treasuryShareBps", type: "uint16", internalType: "uint16" },
271
+ { name: "_referralShareBps", type: "uint16", internalType: "uint16" },
272
+ { name: "_maxBps", type: "uint16", internalType: "uint16" },
341
273
  ],
342
- name: "LiquidationBufferBpsOverUnderUpdated",
343
- type: "event",
274
+ stateMutability: "view",
344
275
  },
345
276
  {
346
- anonymous: false,
347
- inputs: [
348
- { indexed: false, internalType: "uint16", name: "oldLiquidationTipBps", type: "uint16" },
349
- { indexed: false, internalType: "uint16", name: "newLiquidationTipBps", type: "uint16" },
350
- ],
351
- name: "LiquidationTipBpsUpdated",
352
- type: "event",
277
+ type: "function",
278
+ name: "getLiquidationBufferBps",
279
+ inputs: [{ name: "isThreeWayMarket", type: "bool", internalType: "bool" }],
280
+ outputs: [{ name: "bufferBps", type: "uint16", internalType: "uint16" }],
281
+ stateMutability: "view",
353
282
  },
354
283
  {
355
- anonymous: false,
356
- inputs: [
357
- { indexed: false, internalType: "uint256", name: "prevMvpAmount", type: "uint256" },
358
- { indexed: false, internalType: "uint256", name: "newMvpAmount", type: "uint256" },
359
- ],
360
- name: "MinDepositValueUpdated",
361
- type: "event",
284
+ type: "function",
285
+ name: "getLiquidationBufferBpsOverUnder",
286
+ inputs: [],
287
+ outputs: [{ name: "bufferBps", type: "uint16", internalType: "uint16" }],
288
+ stateMutability: "view",
362
289
  },
363
290
  {
364
- anonymous: false,
365
- inputs: [
366
- { indexed: false, internalType: "uint256", name: "prevMvpAmount", type: "uint256" },
367
- { indexed: false, internalType: "uint256", name: "newMvpAmount", type: "uint256" },
368
- ],
369
- name: "MinInitialDepositValueUpdated",
370
- type: "event",
291
+ type: "function",
292
+ name: "getMvpVaultAssets",
293
+ inputs: [],
294
+ outputs: [{ name: "", type: "address[]", internalType: "address[]" }],
295
+ stateMutability: "view",
371
296
  },
372
297
  {
373
- anonymous: false,
374
- inputs: [
375
- { indexed: false, internalType: "address", name: "account", type: "address" },
376
- { indexed: false, internalType: "bool", name: "added", type: "bool" },
298
+ type: "function",
299
+ name: "getProtocolFeeRecipients",
300
+ inputs: [],
301
+ outputs: [
302
+ { name: "_mvpDepository", type: "address", internalType: "address" },
303
+ { name: "_levrStaker", type: "address", internalType: "address" },
304
+ { name: "_levrTreasury", type: "address", internalType: "address" },
305
+ { name: "_referralPool", type: "address", internalType: "address" },
377
306
  ],
378
- name: "MvpTokenTransferrersUpdated",
379
- type: "event",
307
+ stateMutability: "view",
380
308
  },
381
309
  {
382
- anonymous: false,
383
- inputs: [
384
- { indexed: true, internalType: "address", name: "asset", type: "address" },
385
- { indexed: true, internalType: "uint16", name: "weight", type: "uint16" },
386
- ],
387
- name: "NewVaultAssetAdded",
388
- type: "event",
310
+ type: "function",
311
+ name: "getPythFeedId",
312
+ inputs: [{ name: "asset", type: "address", internalType: "address" }],
313
+ outputs: [{ name: "", type: "bytes32", internalType: "bytes32" }],
314
+ stateMutability: "view",
389
315
  },
390
316
  {
391
- anonymous: false,
392
- inputs: [
393
- { indexed: false, internalType: "uint16", name: "prevBps", type: "uint16" },
394
- { indexed: false, internalType: "uint16", name: "newBps", type: "uint16" },
395
- ],
396
- name: "PositionFeeBpsUpdated",
397
- type: "event",
317
+ type: "function",
318
+ name: "getRoleAdmin",
319
+ inputs: [{ name: "role", type: "bytes32", internalType: "bytes32" }],
320
+ outputs: [{ name: "", type: "bytes32", internalType: "bytes32" }],
321
+ stateMutability: "view",
398
322
  },
399
323
  {
400
- anonymous: false,
401
- inputs: [
402
- { indexed: true, internalType: "address", name: "asset", type: "address" },
403
- { indexed: true, internalType: "bytes32", name: "feedId", type: "bytes32" },
404
- ],
405
- name: "PythFeedIdSet",
406
- type: "event",
324
+ type: "function",
325
+ name: "getSMvpTransferrers",
326
+ inputs: [],
327
+ outputs: [{ name: "", type: "address[]", internalType: "address[]" }],
328
+ stateMutability: "view",
407
329
  },
408
330
  {
409
- anonymous: false,
410
- inputs: [
411
- { indexed: true, internalType: "address", name: "asset", type: "address" },
412
- { indexed: false, internalType: "bytes32", name: "newFeedId", type: "bytes32" },
413
- ],
414
- name: "PythFeedIdUpdated",
415
- type: "event",
331
+ type: "function",
332
+ name: "getTokenTargetMvpAmount",
333
+ inputs: [{ name: "asset", type: "address", internalType: "address" }],
334
+ outputs: [{ name: "", type: "uint256", internalType: "uint256" }],
335
+ stateMutability: "view",
416
336
  },
417
337
  {
418
- anonymous: false,
338
+ type: "function",
339
+ name: "getTournamentConfig",
419
340
  inputs: [
420
- { indexed: false, internalType: "bool", name: "oldRestrictedLiquidation", type: "bool" },
421
- { indexed: false, internalType: "bool", name: "newRestrictedLiquidation", type: "bool" },
341
+ { name: "tournamentId", type: "bytes6", internalType: "bytes6" },
342
+ { name: "asset", type: "address", internalType: "address" },
422
343
  ],
423
- name: "RestrictedLiquidationUpdated",
424
- type: "event",
425
- },
426
- {
427
- anonymous: false,
428
- inputs: [
429
- { indexed: true, internalType: "bytes32", name: "role", type: "bytes32" },
430
- { indexed: true, internalType: "bytes32", name: "previousAdminRole", type: "bytes32" },
431
- { indexed: true, internalType: "bytes32", name: "newAdminRole", type: "bytes32" },
344
+ outputs: [
345
+ { name: "whitelistMerkleRoot", type: "bytes32", internalType: "bytes32" },
346
+ { name: "maxBetsPerMarket", type: "uint256", internalType: "uint256" },
347
+ { name: "minBetCollateral", type: "uint256", internalType: "uint256" },
348
+ { name: "maxBetCollateral", type: "uint256", internalType: "uint256" },
432
349
  ],
433
- name: "RoleAdminChanged",
434
- type: "event",
350
+ stateMutability: "view",
435
351
  },
436
352
  {
437
- anonymous: false,
438
- inputs: [
439
- { indexed: true, internalType: "bytes32", name: "role", type: "bytes32" },
440
- { indexed: true, internalType: "address", name: "account", type: "address" },
441
- { indexed: true, internalType: "address", name: "sender", type: "address" },
353
+ type: "function",
354
+ name: "getTradeFeesBps",
355
+ inputs: [],
356
+ outputs: [
357
+ { name: "_positionFeeBps", type: "uint16", internalType: "uint16" },
358
+ { name: "_txFeeBps", type: "uint16", internalType: "uint16" },
359
+ { name: "_minTierFeeInGameBps", type: "uint16", internalType: "uint16" },
360
+ { name: "_maxTierFeeInGameBps", type: "uint16", internalType: "uint16" },
442
361
  ],
443
- name: "RoleGranted",
444
- type: "event",
362
+ stateMutability: "view",
445
363
  },
446
364
  {
447
- anonymous: false,
448
- inputs: [
449
- { indexed: true, internalType: "bytes32", name: "role", type: "bytes32" },
450
- { indexed: true, internalType: "address", name: "account", type: "address" },
451
- { indexed: true, internalType: "address", name: "sender", type: "address" },
365
+ type: "function",
366
+ name: "getUserLeverages",
367
+ inputs: [],
368
+ outputs: [
369
+ { name: "min", type: "uint8", internalType: "uint8" },
370
+ { name: "max", type: "uint8", internalType: "uint8" },
452
371
  ],
453
- name: "RoleRevoked",
454
- type: "event",
372
+ stateMutability: "view",
455
373
  },
456
374
  {
457
- anonymous: false,
375
+ type: "function",
376
+ name: "grantRole",
458
377
  inputs: [
459
- { indexed: true, internalType: "address", name: "account", type: "address" },
460
- { indexed: false, internalType: "bool", name: "isAdded", type: "bool" },
378
+ { name: "role", type: "bytes32", internalType: "bytes32" },
379
+ { name: "account", type: "address", internalType: "address" },
461
380
  ],
462
- name: "SMvpTokenTransferrersUpdated",
463
- type: "event",
381
+ outputs: [],
382
+ stateMutability: "nonpayable",
464
383
  },
465
384
  {
466
- anonymous: false,
385
+ type: "function",
386
+ name: "hasRole",
467
387
  inputs: [
468
- { indexed: true, internalType: "address", name: "asset", type: "address" },
469
- { indexed: true, internalType: "uint256", name: "oldAmount", type: "uint256" },
470
- { indexed: true, internalType: "uint256", name: "newAmount", type: "uint256" },
388
+ { name: "role", type: "bytes32", internalType: "bytes32" },
389
+ { name: "account", type: "address", internalType: "address" },
471
390
  ],
472
- name: "TargetMvpAmountUpdated",
473
- type: "event",
391
+ outputs: [{ name: "", type: "bool", internalType: "bool" }],
392
+ stateMutability: "view",
474
393
  },
475
394
  {
476
- anonymous: false,
477
- inputs: [
478
- { indexed: false, internalType: "uint16", name: "prevMinTierFeeBps", type: "uint16" },
479
- { indexed: false, internalType: "uint16", name: "newMinTierFeeBps", type: "uint16" },
480
- { indexed: false, internalType: "uint16", name: "prevMaxTierFeeBps", type: "uint16" },
481
- { indexed: false, internalType: "uint16", name: "newMaxTierFeeBps", type: "uint16" },
482
- ],
483
- name: "TierFeesUpdated",
484
- type: "event",
395
+ type: "function",
396
+ name: "isAllowedFundManagerAsset",
397
+ inputs: [{ name: "asset", type: "address", internalType: "address" }],
398
+ outputs: [{ name: "", type: "bool", internalType: "bool" }],
399
+ stateMutability: "view",
485
400
  },
486
401
  {
487
- anonymous: false,
488
- inputs: [{ indexed: true, internalType: "bytes6", name: "tournamentId", type: "bytes6" }],
489
- name: "TournamentConfigInitialized",
490
- type: "event",
402
+ type: "function",
403
+ name: "isAuthorizedMvpTokenTransferrer",
404
+ inputs: [{ name: "account", type: "address", internalType: "address" }],
405
+ outputs: [{ name: "", type: "bool", internalType: "bool" }],
406
+ stateMutability: "view",
491
407
  },
492
408
  {
493
- anonymous: false,
494
- inputs: [
495
- { indexed: true, internalType: "bytes6", name: "tournamentId", type: "bytes6" },
496
- { indexed: true, internalType: "address", name: "asset", type: "address" },
497
- { indexed: false, internalType: "uint256", name: "oldMaxCollateral", type: "uint256" },
498
- { indexed: false, internalType: "uint256", name: "newMaxCollateral", type: "uint256" },
499
- ],
500
- name: "TournamentMaxBetCollateralUpdated",
501
- type: "event",
409
+ type: "function",
410
+ name: "isBlacklistedUser",
411
+ inputs: [{ name: "user", type: "address", internalType: "address" }],
412
+ outputs: [{ name: "", type: "bool", internalType: "bool" }],
413
+ stateMutability: "view",
502
414
  },
503
415
  {
504
- anonymous: false,
505
- inputs: [
506
- { indexed: true, internalType: "bytes6", name: "tournamentId", type: "bytes6" },
507
- { indexed: false, internalType: "uint256", name: "oldMaxBetsPerMarket", type: "uint256" },
508
- { indexed: false, internalType: "uint256", name: "newMaxBetsPerMarket", type: "uint256" },
509
- ],
510
- name: "TournamentMaxBetsPerMarketUpdated",
511
- type: "event",
416
+ type: "function",
417
+ name: "isDeprecatedDrawPool",
418
+ inputs: [{ name: "drawPool", type: "address", internalType: "address" }],
419
+ outputs: [{ name: "", type: "bool", internalType: "bool" }],
420
+ stateMutability: "view",
512
421
  },
513
422
  {
514
- anonymous: false,
515
- inputs: [
516
- { indexed: true, internalType: "bytes6", name: "tournamentId", type: "bytes6" },
517
- { indexed: true, internalType: "address", name: "asset", type: "address" },
518
- { indexed: false, internalType: "uint256", name: "oldMinCollateral", type: "uint256" },
519
- { indexed: false, internalType: "uint256", name: "newMinCollateral", type: "uint256" },
520
- ],
521
- name: "TournamentMinBetCollateralUpdated",
522
- type: "event",
423
+ type: "function",
424
+ name: "isFeedProvider",
425
+ inputs: [{ name: "user", type: "address", internalType: "address" }],
426
+ outputs: [{ name: "", type: "bool", internalType: "bool" }],
427
+ stateMutability: "view",
523
428
  },
524
429
  {
525
- anonymous: false,
526
- inputs: [
527
- { indexed: true, internalType: "bytes6", name: "tournamentId", type: "bytes6" },
528
- { indexed: false, internalType: "bytes32", name: "oldMerkleRoot", type: "bytes32" },
529
- { indexed: false, internalType: "bytes32", name: "newMerkleRoot", type: "bytes32" },
530
- ],
531
- name: "TournamentWhitelistMerkleRootUpdated",
532
- type: "event",
430
+ type: "function",
431
+ name: "isGameAdmin",
432
+ inputs: [{ name: "user", type: "address", internalType: "address" }],
433
+ outputs: [{ name: "", type: "bool", internalType: "bool" }],
434
+ stateMutability: "view",
533
435
  },
534
436
  {
535
- anonymous: false,
536
- inputs: [
537
- { indexed: false, internalType: "uint16", name: "oldTxFeeBps", type: "uint16" },
538
- { indexed: false, internalType: "uint16", name: "newTxFeeBps", type: "uint16" },
539
- ],
540
- name: "TxFeeBpsUpdated",
541
- type: "event",
437
+ type: "function",
438
+ name: "isLevrAdmin",
439
+ inputs: [{ name: "user", type: "address", internalType: "address" }],
440
+ outputs: [{ name: "", type: "bool", internalType: "bool" }],
441
+ stateMutability: "view",
542
442
  },
543
443
  {
544
- anonymous: false,
545
- inputs: [
546
- { indexed: false, internalType: "address", name: "asset", type: "address" },
547
- { indexed: false, internalType: "uint48", name: "prevAge", type: "uint48" },
548
- { indexed: false, internalType: "uint48", name: "newAge", type: "uint48" },
549
- ],
550
- name: "UpdatedAssetStalenessAge",
551
- type: "event",
444
+ type: "function",
445
+ name: "isLiquidator",
446
+ inputs: [{ name: "user", type: "address", internalType: "address" }],
447
+ outputs: [{ name: "", type: "bool", internalType: "bool" }],
448
+ stateMutability: "view",
552
449
  },
553
450
  {
554
- anonymous: false,
555
- inputs: [
556
- { indexed: true, internalType: "uint48", name: "prevAge", type: "uint48" },
557
- { indexed: true, internalType: "uint48", name: "newAge", type: "uint48" },
558
- ],
559
- name: "UpdatedPythAge",
560
- type: "event",
451
+ type: "function",
452
+ name: "isMatchMaker",
453
+ inputs: [{ name: "account", type: "address", internalType: "address" }],
454
+ outputs: [{ name: "", type: "bool", internalType: "bool" }],
455
+ stateMutability: "view",
561
456
  },
562
457
  {
563
- anonymous: false,
564
- inputs: [
565
- { indexed: false, internalType: "uint8", name: "prevMinUserLeverage", type: "uint8" },
566
- { indexed: false, internalType: "uint8", name: "newMinUserLeverage", type: "uint8" },
567
- { indexed: false, internalType: "uint8", name: "prevMaxUserLeverage", type: "uint8" },
568
- { indexed: false, internalType: "uint8", name: "newMaxUserLeverage", type: "uint8" },
569
- ],
570
- name: "UserLeveragesUpdated",
571
- type: "event",
458
+ type: "function",
459
+ name: "isMvpTokenMinter",
460
+ inputs: [{ name: "account", type: "address", internalType: "address" }],
461
+ outputs: [{ name: "", type: "bool", internalType: "bool" }],
462
+ stateMutability: "view",
572
463
  },
573
464
  {
574
- anonymous: false,
575
- inputs: [{ indexed: true, internalType: "address", name: "asset", type: "address" }],
576
- name: "VaultAssetRemoved",
577
- type: "event",
465
+ type: "function",
466
+ name: "isMvpVaultAsset",
467
+ inputs: [{ name: "asset", type: "address", internalType: "address" }],
468
+ outputs: [{ name: "", type: "bool", internalType: "bool" }],
469
+ stateMutability: "view",
578
470
  },
579
471
  {
580
- anonymous: false,
581
- inputs: [
582
- { indexed: true, internalType: "uint48", name: "oldMaxRoundDuration", type: "uint48" },
583
- { indexed: true, internalType: "uint48", name: "newRoundDuration", type: "uint48" },
584
- ],
585
- name: "VaultRoundDurationUpdated",
586
- type: "event",
472
+ type: "function",
473
+ name: "isPositionHandler",
474
+ inputs: [{ name: "user", type: "address", internalType: "address" }],
475
+ outputs: [{ name: "", type: "bool", internalType: "bool" }],
476
+ stateMutability: "view",
587
477
  },
588
478
  {
589
- anonymous: false,
479
+ type: "function",
480
+ name: "isWhitelistedForTournament",
590
481
  inputs: [
591
- { indexed: true, internalType: "uint16", name: "oldFee", type: "uint16" },
592
- { indexed: true, internalType: "uint16", name: "newFee", type: "uint16" },
482
+ { name: "tournamentId", type: "bytes6", internalType: "bytes6" },
483
+ { name: "proof", type: "bytes32[]", internalType: "bytes32[]" },
484
+ { name: "user", type: "address", internalType: "address" },
593
485
  ],
594
- name: "WeightFeeBpsUpdated",
595
- type: "event",
486
+ outputs: [{ name: "", type: "bool", internalType: "bool" }],
487
+ stateMutability: "view",
596
488
  },
597
489
  {
598
- anonymous: false,
599
- inputs: [
600
- { indexed: true, internalType: "uint48", name: "oldWindow", type: "uint48" },
601
- { indexed: true, internalType: "uint48", name: "newWindow", type: "uint48" },
602
- ],
603
- name: "WithdrawalExecutionWindowUpdated",
604
- type: "event",
605
- },
606
- {
607
- anonymous: false,
608
- inputs: [
609
- { indexed: true, internalType: "uint48", name: "oldWindow", type: "uint48" },
610
- { indexed: true, internalType: "uint48", name: "newWindow", type: "uint48" },
611
- ],
612
- name: "WithdrawalRequestWindowUpdated",
613
- type: "event",
614
- },
615
- {
616
- anonymous: false,
617
- inputs: [
618
- { indexed: false, internalType: "uint8", name: "oldWaitRounds", type: "uint8" },
619
- { indexed: false, internalType: "uint8", name: "newWaitRounds", type: "uint8" },
620
- ],
621
- name: "WithdrawalWaitRoundsUpdated",
622
- type: "event",
490
+ type: "function",
491
+ name: "levrBetCreditManager",
492
+ inputs: [],
493
+ outputs: [{ name: "", type: "address", internalType: "address" }],
494
+ stateMutability: "view",
623
495
  },
624
496
  {
497
+ type: "function",
498
+ name: "levrDrawPool",
625
499
  inputs: [],
626
- name: "DEFAULT_ADMIN_ROLE",
627
- outputs: [{ internalType: "bytes32", name: "", type: "bytes32" }],
500
+ outputs: [{ name: "", type: "address", internalType: "address" }],
628
501
  stateMutability: "view",
629
- type: "function",
630
502
  },
631
503
  {
504
+ type: "function",
505
+ name: "levrFeeCollector",
632
506
  inputs: [],
633
- name: "DRAW_POOL_ADMIN_ROLE",
634
- outputs: [{ internalType: "bytes32", name: "", type: "bytes32" }],
507
+ outputs: [{ name: "", type: "address", internalType: "address" }],
635
508
  stateMutability: "view",
636
- type: "function",
637
509
  },
638
510
  {
511
+ type: "function",
512
+ name: "levrFundManager",
639
513
  inputs: [],
640
- name: "FEED_PROVIDER_ROLE",
641
- outputs: [{ internalType: "bytes32", name: "", type: "bytes32" }],
514
+ outputs: [{ name: "", type: "address", internalType: "address" }],
642
515
  stateMutability: "view",
643
- type: "function",
644
516
  },
645
517
  {
518
+ type: "function",
519
+ name: "levrLiquidationEngine",
646
520
  inputs: [],
647
- name: "GAME_ADMIN_ROLE",
648
- outputs: [{ internalType: "bytes32", name: "", type: "bytes32" }],
521
+ outputs: [{ name: "", type: "address", internalType: "address" }],
649
522
  stateMutability: "view",
650
- type: "function",
651
523
  },
652
524
  {
525
+ type: "function",
526
+ name: "levrManager",
653
527
  inputs: [],
654
- name: "LEVR_ADMIN_ROLE",
655
- outputs: [{ internalType: "bytes32", name: "", type: "bytes32" }],
528
+ outputs: [{ name: "", type: "address", internalType: "address" }],
656
529
  stateMutability: "view",
657
- type: "function",
658
530
  },
659
531
  {
532
+ type: "function",
533
+ name: "levrMarketFeed",
660
534
  inputs: [],
661
- name: "LEVR_MVP_TOKEN_MINTER_ROLE",
662
- outputs: [{ internalType: "bytes32", name: "", type: "bytes32" }],
535
+ outputs: [{ name: "", type: "address", internalType: "address" }],
663
536
  stateMutability: "view",
664
- type: "function",
665
537
  },
666
538
  {
539
+ type: "function",
540
+ name: "levrMarketMaker",
667
541
  inputs: [],
668
- name: "LIQUIDATOR_ROLE",
669
- outputs: [{ internalType: "bytes32", name: "", type: "bytes32" }],
542
+ outputs: [{ name: "", type: "address", internalType: "address" }],
670
543
  stateMutability: "view",
671
- type: "function",
672
544
  },
673
545
  {
546
+ type: "function",
547
+ name: "levrMarketRiskSentinel",
674
548
  inputs: [],
675
- name: "MATCH_MAKER_ROLE",
676
- outputs: [{ internalType: "bytes32", name: "", type: "bytes32" }],
549
+ outputs: [{ name: "", type: "address", internalType: "address" }],
677
550
  stateMutability: "view",
678
- type: "function",
679
551
  },
680
552
  {
553
+ type: "function",
554
+ name: "levrMarketRouter",
681
555
  inputs: [],
682
- name: "MAX_BPS",
683
- outputs: [{ internalType: "uint16", name: "", type: "uint16" }],
556
+ outputs: [{ name: "", type: "address", internalType: "address" }],
684
557
  stateMutability: "view",
685
- type: "function",
686
558
  },
687
559
  {
560
+ type: "function",
561
+ name: "levrMvp",
688
562
  inputs: [],
689
- name: "POSITION_HANDLER_ROLE",
690
- outputs: [{ internalType: "bytes32", name: "", type: "bytes32" }],
563
+ outputs: [{ name: "", type: "address", internalType: "address" }],
691
564
  stateMutability: "view",
692
- type: "function",
693
565
  },
694
566
  {
695
- inputs: [{ internalType: "address[]", name: "users", type: "address[]" }],
696
- name: "acquitBlacklist",
697
- outputs: [],
698
- stateMutability: "nonpayable",
699
567
  type: "function",
568
+ name: "levrMvpDepository",
569
+ inputs: [],
570
+ outputs: [{ name: "", type: "address", internalType: "address" }],
571
+ stateMutability: "view",
700
572
  },
701
573
  {
702
- inputs: [{ internalType: "address[]", name: "assets", type: "address[]" }],
703
- name: "addAllowedFundManagerAssets",
704
- outputs: [],
705
- stateMutability: "nonpayable",
706
574
  type: "function",
575
+ name: "levrMvpRouter",
576
+ inputs: [],
577
+ outputs: [{ name: "", type: "address", internalType: "address" }],
578
+ stateMutability: "view",
707
579
  },
708
580
  {
709
- inputs: [{ internalType: "address[]", name: "accounts", type: "address[]" }],
710
- name: "addMvpTokenTransferrers",
711
- outputs: [],
712
- stateMutability: "nonpayable",
713
581
  type: "function",
582
+ name: "levrMvpStaker",
583
+ inputs: [],
584
+ outputs: [{ name: "", type: "address", internalType: "address" }],
585
+ stateMutability: "view",
714
586
  },
715
587
  {
716
- inputs: [
717
- { internalType: "address[]", name: "existingAssets", type: "address[]" },
718
- { internalType: "uint16[]", name: "updatedWeights", type: "uint16[]" },
719
- { internalType: "address[]", name: "newAssets", type: "address[]" },
720
- { internalType: "uint16[]", name: "newAssetsWeights", type: "uint16[]" },
721
- ],
722
- name: "addMvpVaultAssets",
723
- outputs: [],
724
- stateMutability: "nonpayable",
725
588
  type: "function",
589
+ name: "levrOrderbook",
590
+ inputs: [],
591
+ outputs: [{ name: "", type: "address", internalType: "address" }],
592
+ stateMutability: "view",
726
593
  },
727
594
  {
728
- inputs: [{ internalType: "address[]", name: "accounts", type: "address[]" }],
729
- name: "addSMvpTokenTransferrers",
730
- outputs: [],
731
- stateMutability: "nonpayable",
732
595
  type: "function",
733
- },
734
- {
735
- inputs: [{ internalType: "address[]", name: "accounts", type: "address[]" }],
736
- name: "areAuthorizedMvpTokenTransferrers",
737
- outputs: [{ internalType: "bool[]", name: "", type: "bool[]" }],
596
+ name: "levrOrderbookLens",
597
+ inputs: [],
598
+ outputs: [{ name: "", type: "address", internalType: "address" }],
738
599
  stateMutability: "view",
739
- type: "function",
740
600
  },
741
601
  {
742
- inputs: [
743
- { internalType: "address", name: "from", type: "address" },
744
- { internalType: "address", name: "to", type: "address" },
745
- ],
746
- name: "areAuthorizedMvpTokenTransferrers",
747
- outputs: [
748
- { internalType: "bool", name: "", type: "bool" },
749
- { internalType: "bool", name: "", type: "bool" },
750
- ],
751
- stateMutability: "view",
752
602
  type: "function",
753
- },
754
- {
755
- inputs: [
756
- { internalType: "address", name: "from", type: "address" },
757
- { internalType: "address", name: "to", type: "address" },
758
- ],
759
- name: "areAuthorizedSMvpTokenTransferrers",
760
- outputs: [
761
- { internalType: "bool", name: "", type: "bool" },
762
- { internalType: "bool", name: "", type: "bool" },
763
- ],
603
+ name: "levrPythFeed",
604
+ inputs: [],
605
+ outputs: [{ name: "", type: "address", internalType: "address" }],
764
606
  stateMutability: "view",
765
- type: "function",
766
607
  },
767
608
  {
768
- inputs: [{ internalType: "address[]", name: "users", type: "address[]" }],
769
- name: "blacklist",
770
- outputs: [],
771
- stateMutability: "nonpayable",
772
609
  type: "function",
773
- },
774
- {
610
+ name: "levrReferralRewardsPool",
775
611
  inputs: [],
776
- name: "borrowFeeBps",
777
- outputs: [{ internalType: "uint16", name: "", type: "uint16" }],
612
+ outputs: [{ name: "", type: "address", internalType: "address" }],
778
613
  stateMutability: "view",
779
- type: "function",
780
614
  },
781
615
  {
616
+ type: "function",
617
+ name: "levrStaker",
782
618
  inputs: [],
783
- name: "defaultAge",
784
- outputs: [{ internalType: "uint48", name: "", type: "uint48" }],
619
+ outputs: [{ name: "", type: "address", internalType: "address" }],
785
620
  stateMutability: "view",
786
- type: "function",
787
621
  },
788
622
  {
789
- inputs: [{ internalType: "address", name: "asset", type: "address" }],
790
- name: "defaultMaxBetCollateral",
791
- outputs: [{ internalType: "uint256", name: "max", type: "uint256" }],
792
- stateMutability: "view",
793
623
  type: "function",
794
- },
795
- {
796
- inputs: [{ internalType: "address", name: "asset", type: "address" }],
797
- name: "defaultMinBetCollateral",
798
- outputs: [{ internalType: "uint256", name: "min", type: "uint256" }],
624
+ name: "levrStakersBps",
625
+ inputs: [],
626
+ outputs: [{ name: "", type: "uint16", internalType: "uint16" }],
799
627
  stateMutability: "view",
800
- type: "function",
801
628
  },
802
629
  {
803
- inputs: [{ internalType: "address", name: "asset", type: "address" }],
804
- name: "getAcceptableStalenessAge",
805
- outputs: [{ internalType: "uint48", name: "", type: "uint48" }],
806
- stateMutability: "view",
807
630
  type: "function",
808
- },
809
- {
631
+ name: "levrTreasury",
810
632
  inputs: [],
811
- name: "getAeeTierFeeBps",
812
- outputs: [
813
- { internalType: "uint16", name: "min", type: "uint16" },
814
- { internalType: "uint16", name: "max", type: "uint16" },
815
- ],
633
+ outputs: [{ name: "", type: "address", internalType: "address" }],
816
634
  stateMutability: "view",
817
- type: "function",
818
635
  },
819
636
  {
637
+ type: "function",
638
+ name: "liquidationTipBps",
820
639
  inputs: [],
821
- name: "getAllowedFundManagerAssets",
822
- outputs: [{ internalType: "address[]", name: "", type: "address[]" }],
640
+ outputs: [{ name: "", type: "uint16", internalType: "uint16" }],
823
641
  stateMutability: "view",
824
- type: "function",
825
642
  },
826
643
  {
827
- inputs: [{ internalType: "address", name: "asset", type: "address" }],
828
- name: "getAssetWeight",
829
- outputs: [{ internalType: "uint16", name: "", type: "uint16" }],
830
- stateMutability: "view",
831
644
  type: "function",
645
+ name: "maxTierFeeBps",
646
+ inputs: [],
647
+ outputs: [{ name: "", type: "uint16", internalType: "uint16" }],
648
+ stateMutability: "view",
832
649
  },
833
650
  {
651
+ type: "function",
652
+ name: "maxTierFeeInGameBps",
834
653
  inputs: [],
835
- name: "getAuthorizedMvpTokenTransferrers",
836
- outputs: [{ internalType: "address[]", name: "", type: "address[]" }],
654
+ outputs: [{ name: "", type: "uint16", internalType: "uint16" }],
837
655
  stateMutability: "view",
838
- type: "function",
839
656
  },
840
657
  {
658
+ type: "function",
659
+ name: "maxUserLeverage",
841
660
  inputs: [],
842
- name: "getBlacklistedUsers",
843
- outputs: [{ internalType: "address[]", name: "", type: "address[]" }],
661
+ outputs: [{ name: "", type: "uint8", internalType: "uint8" }],
844
662
  stateMutability: "view",
845
- type: "function",
846
663
  },
847
664
  {
665
+ type: "function",
666
+ name: "minDepositValue",
848
667
  inputs: [],
849
- name: "getDeprecatedDrawPools",
850
- outputs: [{ internalType: "address[]", name: "", type: "address[]" }],
668
+ outputs: [{ name: "", type: "uint256", internalType: "uint256" }],
851
669
  stateMutability: "view",
852
- type: "function",
853
670
  },
854
671
  {
672
+ type: "function",
673
+ name: "minInitialDepositValue",
855
674
  inputs: [],
856
- name: "getFeeRecipientsAndShares",
857
- outputs: [
858
- {
859
- components: [
860
- { internalType: "address", name: "mvpVault", type: "address" },
861
- { internalType: "address", name: "levrStakers", type: "address" },
862
- { internalType: "address", name: "treasury", type: "address" },
863
- { internalType: "address", name: "referralPool", type: "address" },
864
- { internalType: "uint16", name: "mvpVaultBps", type: "uint16" },
865
- { internalType: "uint16", name: "levrStakersBps", type: "uint16" },
866
- { internalType: "uint16", name: "treasuryBps", type: "uint16" },
867
- { internalType: "uint16", name: "referralPoolBps", type: "uint16" },
868
- { internalType: "uint16", name: "maxBps", type: "uint16" },
869
- ],
870
- internalType: "struct FeeRecipientsAndShares",
871
- name: "",
872
- type: "tuple",
873
- },
874
- ],
675
+ outputs: [{ name: "", type: "uint256", internalType: "uint256" }],
875
676
  stateMutability: "view",
876
- type: "function",
877
677
  },
878
678
  {
679
+ type: "function",
680
+ name: "minTierFeeBps",
879
681
  inputs: [],
880
- name: "getFeeRecipientsShareBps",
881
- outputs: [
882
- { internalType: "uint16", name: "_mvpStakersShareBps", type: "uint16" },
883
- { internalType: "uint16", name: "_levrStakerShareBps", type: "uint16" },
884
- { internalType: "uint16", name: "_treasuryShareBps", type: "uint16" },
885
- { internalType: "uint16", name: "_referralShareBps", type: "uint16" },
886
- { internalType: "uint16", name: "_maxBps", type: "uint16" },
887
- ],
682
+ outputs: [{ name: "", type: "uint16", internalType: "uint16" }],
888
683
  stateMutability: "view",
889
- type: "function",
890
684
  },
891
685
  {
892
- inputs: [{ internalType: "bool", name: "isThreeWayMarket", type: "bool" }],
893
- name: "getLiquidationBufferBps",
894
- outputs: [{ internalType: "uint16", name: "bufferBps", type: "uint16" }],
895
- stateMutability: "view",
896
686
  type: "function",
687
+ name: "minTierFeeInGameBps",
688
+ inputs: [],
689
+ outputs: [{ name: "", type: "uint16", internalType: "uint16" }],
690
+ stateMutability: "view",
897
691
  },
898
692
  {
693
+ type: "function",
694
+ name: "minUserLeverage",
899
695
  inputs: [],
900
- name: "getLiquidationBufferBpsOverUnder",
901
- outputs: [{ internalType: "uint16", name: "bufferBps", type: "uint16" }],
696
+ outputs: [{ name: "", type: "uint8", internalType: "uint8" }],
902
697
  stateMutability: "view",
903
- type: "function",
904
698
  },
905
699
  {
700
+ type: "function",
701
+ name: "mvpVaultBps",
906
702
  inputs: [],
907
- name: "getMvpVaultAssets",
908
- outputs: [{ internalType: "address[]", name: "", type: "address[]" }],
703
+ outputs: [{ name: "", type: "uint16", internalType: "uint16" }],
909
704
  stateMutability: "view",
910
- type: "function",
911
705
  },
912
706
  {
707
+ type: "function",
708
+ name: "mvpVaultRoundDuration",
913
709
  inputs: [],
914
- name: "getProtocolFeeRecipients",
915
- outputs: [
916
- { internalType: "address", name: "_mvpDepository", type: "address" },
917
- { internalType: "address", name: "_levrStaker", type: "address" },
918
- { internalType: "address", name: "_levrTreasury", type: "address" },
919
- { internalType: "address", name: "_referralPool", type: "address" },
920
- ],
710
+ outputs: [{ name: "", type: "uint48", internalType: "uint48" }],
921
711
  stateMutability: "view",
922
- type: "function",
923
712
  },
924
713
  {
925
- inputs: [{ internalType: "address", name: "asset", type: "address" }],
926
- name: "getPythFeedId",
927
- outputs: [{ internalType: "bytes32", name: "", type: "bytes32" }],
928
- stateMutability: "view",
929
714
  type: "function",
715
+ name: "onLevrConfigProviderUpdate",
716
+ inputs: [{ name: "", type: "address", internalType: "address" }],
717
+ outputs: [{ name: "", type: "bytes4", internalType: "bytes4" }],
718
+ stateMutability: "pure",
930
719
  },
931
720
  {
932
- inputs: [{ internalType: "bytes32", name: "role", type: "bytes32" }],
933
- name: "getRoleAdmin",
934
- outputs: [{ internalType: "bytes32", name: "", type: "bytes32" }],
935
- stateMutability: "view",
936
721
  type: "function",
722
+ name: "positionFeeBps",
723
+ inputs: [],
724
+ outputs: [{ name: "", type: "uint16", internalType: "uint16" }],
725
+ stateMutability: "view",
937
726
  },
938
727
  {
728
+ type: "function",
729
+ name: "referralPoolBps",
939
730
  inputs: [],
940
- name: "getSMvpTransferrers",
941
- outputs: [{ internalType: "address[]", name: "", type: "address[]" }],
731
+ outputs: [{ name: "", type: "uint16", internalType: "uint16" }],
942
732
  stateMutability: "view",
733
+ },
734
+ {
943
735
  type: "function",
736
+ name: "removeAllowedFundManagerAssets",
737
+ inputs: [{ name: "assets", type: "address[]", internalType: "address[]" }],
738
+ outputs: [],
739
+ stateMutability: "nonpayable",
944
740
  },
945
741
  {
946
- inputs: [{ internalType: "address", name: "asset", type: "address" }],
947
- name: "getTokenTargetMvpAmount",
948
- outputs: [{ internalType: "uint256", name: "", type: "uint256" }],
949
- stateMutability: "view",
950
742
  type: "function",
743
+ name: "removeMvpTokenTransferrers",
744
+ inputs: [{ name: "accounts", type: "address[]", internalType: "address[]" }],
745
+ outputs: [],
746
+ stateMutability: "nonpayable",
951
747
  },
952
748
  {
749
+ type: "function",
750
+ name: "removeMvpVaultAssets",
953
751
  inputs: [
954
- { internalType: "bytes6", name: "tournamentId", type: "bytes6" },
955
- { internalType: "address", name: "asset", type: "address" },
956
- ],
957
- name: "getTournamentConfig",
958
- outputs: [
959
- { internalType: "bytes32", name: "whitelistMerkleRoot", type: "bytes32" },
960
- { internalType: "uint256", name: "maxBetsPerMarket", type: "uint256" },
961
- { internalType: "uint256", name: "minBetCollateral", type: "uint256" },
962
- { internalType: "uint256", name: "maxBetCollateral", type: "uint256" },
752
+ { name: "existingAssets", type: "address[]", internalType: "address[]" },
753
+ { name: "updatedWeights", type: "uint16[]", internalType: "uint16[]" },
754
+ { name: "asset", type: "address", internalType: "address" },
963
755
  ],
964
- stateMutability: "view",
756
+ outputs: [],
757
+ stateMutability: "nonpayable",
758
+ },
759
+ {
965
760
  type: "function",
761
+ name: "removeSMvpTokenTransferrers",
762
+ inputs: [{ name: "accounts", type: "address[]", internalType: "address[]" }],
763
+ outputs: [],
764
+ stateMutability: "nonpayable",
966
765
  },
967
766
  {
968
- inputs: [],
969
- name: "getTradeFeesBps",
970
- outputs: [
971
- { internalType: "uint16", name: "_positionFeeBps", type: "uint16" },
972
- { internalType: "uint16", name: "_txFeeBps", type: "uint16" },
973
- { internalType: "uint16", name: "_minTierFeeInGameBps", type: "uint16" },
974
- { internalType: "uint16", name: "_maxTierFeeInGameBps", type: "uint16" },
975
- ],
976
- stateMutability: "view",
977
767
  type: "function",
768
+ name: "renounceRole",
769
+ inputs: [
770
+ { name: "role", type: "bytes32", internalType: "bytes32" },
771
+ { name: "callerConfirmation", type: "address", internalType: "address" },
772
+ ],
773
+ outputs: [],
774
+ stateMutability: "nonpayable",
978
775
  },
979
776
  {
777
+ type: "function",
778
+ name: "restrictedLiquidation",
980
779
  inputs: [],
981
- name: "getUserLeverages",
982
- outputs: [
983
- { internalType: "uint8", name: "min", type: "uint8" },
984
- { internalType: "uint8", name: "max", type: "uint8" },
985
- ],
780
+ outputs: [{ name: "", type: "bool", internalType: "bool" }],
986
781
  stateMutability: "view",
987
- type: "function",
988
782
  },
989
783
  {
784
+ type: "function",
785
+ name: "revokeRole",
990
786
  inputs: [
991
- { internalType: "bytes32", name: "role", type: "bytes32" },
992
- { internalType: "address", name: "account", type: "address" },
787
+ { name: "role", type: "bytes32", internalType: "bytes32" },
788
+ { name: "account", type: "address", internalType: "address" },
993
789
  ],
994
- name: "grantRole",
995
790
  outputs: [],
996
791
  stateMutability: "nonpayable",
997
- type: "function",
998
792
  },
999
793
  {
794
+ type: "function",
795
+ name: "setPythFeedId",
1000
796
  inputs: [
1001
- { internalType: "bytes32", name: "role", type: "bytes32" },
1002
- { internalType: "address", name: "account", type: "address" },
797
+ { name: "asset", type: "address", internalType: "address" },
798
+ { name: "feedId", type: "bytes32", internalType: "bytes32" },
1003
799
  ],
1004
- name: "hasRole",
1005
- outputs: [{ internalType: "bool", name: "", type: "bool" }],
1006
- stateMutability: "view",
1007
- type: "function",
800
+ outputs: [],
801
+ stateMutability: "nonpayable",
1008
802
  },
1009
803
  {
1010
- inputs: [{ internalType: "address", name: "asset", type: "address" }],
1011
- name: "isAllowedFundManagerAsset",
1012
- outputs: [{ internalType: "bool", name: "", type: "bool" }],
1013
- stateMutability: "view",
1014
804
  type: "function",
805
+ name: "supportsInterface",
806
+ inputs: [{ name: "interfaceId", type: "bytes4", internalType: "bytes4" }],
807
+ outputs: [{ name: "", type: "bool", internalType: "bool" }],
808
+ stateMutability: "view",
1015
809
  },
1016
810
  {
1017
- inputs: [{ internalType: "address", name: "account", type: "address" }],
1018
- name: "isAuthorizedMvpTokenTransferrer",
1019
- outputs: [{ internalType: "bool", name: "", type: "bool" }],
1020
- stateMutability: "view",
1021
811
  type: "function",
1022
- },
1023
- {
1024
- inputs: [{ internalType: "address", name: "user", type: "address" }],
1025
- name: "isBlacklistedUser",
1026
- outputs: [{ internalType: "bool", name: "", type: "bool" }],
812
+ name: "treasuryBps",
813
+ inputs: [],
814
+ outputs: [{ name: "", type: "uint16", internalType: "uint16" }],
1027
815
  stateMutability: "view",
1028
- type: "function",
1029
816
  },
1030
817
  {
1031
- inputs: [{ internalType: "address", name: "drawPool", type: "address" }],
1032
- name: "isDeprecatedDrawPool",
1033
- outputs: [{ internalType: "bool", name: "", type: "bool" }],
1034
- stateMutability: "view",
1035
818
  type: "function",
1036
- },
1037
- {
1038
- inputs: [{ internalType: "address", name: "user", type: "address" }],
1039
- name: "isFeedProvider",
1040
- outputs: [{ internalType: "bool", name: "", type: "bool" }],
819
+ name: "txFeeBps",
820
+ inputs: [],
821
+ outputs: [{ name: "", type: "uint16", internalType: "uint16" }],
1041
822
  stateMutability: "view",
1042
- type: "function",
1043
823
  },
1044
824
  {
1045
- inputs: [{ internalType: "address", name: "user", type: "address" }],
1046
- name: "isGameAdmin",
1047
- outputs: [{ internalType: "bool", name: "", type: "bool" }],
1048
- stateMutability: "view",
1049
825
  type: "function",
826
+ name: "updateAssetStalenessAge",
827
+ inputs: [
828
+ { name: "asset", type: "address", internalType: "address" },
829
+ { name: "newAge", type: "uint48", internalType: "uint48" },
830
+ ],
831
+ outputs: [],
832
+ stateMutability: "nonpayable",
1050
833
  },
1051
834
  {
1052
- inputs: [{ internalType: "address", name: "user", type: "address" }],
1053
- name: "isLevrAdmin",
1054
- outputs: [{ internalType: "bool", name: "", type: "bool" }],
1055
- stateMutability: "view",
1056
835
  type: "function",
836
+ name: "updateBorrowFeeBps",
837
+ inputs: [{ name: "newBorrowFeeBps", type: "uint16", internalType: "uint16" }],
838
+ outputs: [],
839
+ stateMutability: "nonpayable",
1057
840
  },
1058
841
  {
1059
- inputs: [{ internalType: "address", name: "user", type: "address" }],
1060
- name: "isLiquidator",
1061
- outputs: [{ internalType: "bool", name: "", type: "bool" }],
1062
- stateMutability: "view",
1063
842
  type: "function",
843
+ name: "updateDefaultAge",
844
+ inputs: [{ name: "newAge", type: "uint48", internalType: "uint48" }],
845
+ outputs: [],
846
+ stateMutability: "nonpayable",
1064
847
  },
1065
848
  {
1066
- inputs: [{ internalType: "address", name: "account", type: "address" }],
1067
- name: "isMatchMaker",
1068
- outputs: [{ internalType: "bool", name: "", type: "bool" }],
1069
- stateMutability: "view",
1070
849
  type: "function",
850
+ name: "updateDefaultMaxCollateral",
851
+ inputs: [
852
+ { name: "asset", type: "address", internalType: "address" },
853
+ { name: "newMaxCollateral", type: "uint256", internalType: "uint256" },
854
+ ],
855
+ outputs: [],
856
+ stateMutability: "nonpayable",
1071
857
  },
1072
858
  {
1073
- inputs: [{ internalType: "address", name: "account", type: "address" }],
1074
- name: "isMvpTokenMinter",
1075
- outputs: [{ internalType: "bool", name: "", type: "bool" }],
1076
- stateMutability: "view",
1077
859
  type: "function",
860
+ name: "updateDefaultMinCollateral",
861
+ inputs: [
862
+ { name: "asset", type: "address", internalType: "address" },
863
+ { name: "newMinCollateral", type: "uint256", internalType: "uint256" },
864
+ ],
865
+ outputs: [],
866
+ stateMutability: "nonpayable",
1078
867
  },
1079
868
  {
1080
- inputs: [{ internalType: "address", name: "asset", type: "address" }],
1081
- name: "isMvpVaultAsset",
1082
- outputs: [{ internalType: "bool", name: "", type: "bool" }],
1083
- stateMutability: "view",
1084
869
  type: "function",
870
+ name: "updateFeeBps",
871
+ inputs: [
872
+ { name: "newMvpVaultStakersBps", type: "uint16", internalType: "uint16" },
873
+ { name: "newLevrStakersBps", type: "uint16", internalType: "uint16" },
874
+ { name: "newTreasuryBps", type: "uint16", internalType: "uint16" },
875
+ { name: "newReferralPoolBps", type: "uint16", internalType: "uint16" },
876
+ ],
877
+ outputs: [],
878
+ stateMutability: "nonpayable",
1085
879
  },
1086
880
  {
1087
- inputs: [{ internalType: "address", name: "user", type: "address" }],
1088
- name: "isPositionHandler",
1089
- outputs: [{ internalType: "bool", name: "", type: "bool" }],
1090
- stateMutability: "view",
1091
881
  type: "function",
1092
- },
1093
- {
882
+ name: "updateInGameTierFees",
1094
883
  inputs: [
1095
- { internalType: "bytes6", name: "tournamentId", type: "bytes6" },
1096
- { internalType: "bytes32[]", name: "proof", type: "bytes32[]" },
1097
- { internalType: "address", name: "user", type: "address" },
884
+ { name: "newMinTierFeeInGameBps", type: "uint16", internalType: "uint16" },
885
+ { name: "newMaxTierFeeInGameBps", type: "uint16", internalType: "uint16" },
1098
886
  ],
1099
- name: "isWhitelistedForTournament",
1100
- outputs: [{ internalType: "bool", name: "", type: "bool" }],
1101
- stateMutability: "view",
1102
- type: "function",
887
+ outputs: [],
888
+ stateMutability: "nonpayable",
1103
889
  },
1104
890
  {
1105
- inputs: [],
1106
- name: "levrBetCreditManager",
1107
- outputs: [{ internalType: "address", name: "", type: "address" }],
1108
- stateMutability: "view",
1109
891
  type: "function",
892
+ name: "updateLevrBetCreditManager",
893
+ inputs: [{ name: "newBetCreditManager", type: "address", internalType: "address" }],
894
+ outputs: [],
895
+ stateMutability: "nonpayable",
1110
896
  },
1111
897
  {
1112
- inputs: [],
1113
- name: "levrDrawPool",
1114
- outputs: [{ internalType: "address", name: "", type: "address" }],
1115
- stateMutability: "view",
1116
898
  type: "function",
899
+ name: "updateLevrDrawPool",
900
+ inputs: [{ name: "_levrDrawPool", type: "address", internalType: "address" }],
901
+ outputs: [],
902
+ stateMutability: "nonpayable",
1117
903
  },
1118
904
  {
1119
- inputs: [],
1120
- name: "levrFeeCollector",
1121
- outputs: [{ internalType: "address", name: "", type: "address" }],
1122
- stateMutability: "view",
1123
905
  type: "function",
906
+ name: "updateLevrFeeCollector",
907
+ inputs: [{ name: "newFeeCollector", type: "address", internalType: "address" }],
908
+ outputs: [],
909
+ stateMutability: "nonpayable",
1124
910
  },
1125
911
  {
1126
- inputs: [],
1127
- name: "levrFundManager",
1128
- outputs: [{ internalType: "address", name: "", type: "address" }],
1129
- stateMutability: "view",
1130
912
  type: "function",
913
+ name: "updateLevrFundManager",
914
+ inputs: [{ name: "newFundManager", type: "address", internalType: "address" }],
915
+ outputs: [],
916
+ stateMutability: "nonpayable",
1131
917
  },
1132
918
  {
1133
- inputs: [],
1134
- name: "levrLiquidationEngine",
1135
- outputs: [{ internalType: "address", name: "", type: "address" }],
1136
- stateMutability: "view",
1137
919
  type: "function",
920
+ name: "updateLevrLiquidationEngine",
921
+ inputs: [{ name: "newLiquidationEngine", type: "address", internalType: "address" }],
922
+ outputs: [],
923
+ stateMutability: "nonpayable",
1138
924
  },
1139
925
  {
1140
- inputs: [],
1141
- name: "levrManager",
1142
- outputs: [{ internalType: "address", name: "", type: "address" }],
1143
- stateMutability: "view",
1144
926
  type: "function",
927
+ name: "updateLevrManager",
928
+ inputs: [{ name: "newGameManager", type: "address", internalType: "address" }],
929
+ outputs: [],
930
+ stateMutability: "nonpayable",
1145
931
  },
1146
932
  {
1147
- inputs: [],
1148
- name: "levrMarketFeed",
1149
- outputs: [{ internalType: "address", name: "", type: "address" }],
1150
- stateMutability: "view",
1151
933
  type: "function",
934
+ name: "updateLevrMarketFeed",
935
+ inputs: [{ name: "newMarketFeed", type: "address", internalType: "address" }],
936
+ outputs: [],
937
+ stateMutability: "nonpayable",
1152
938
  },
1153
939
  {
1154
- inputs: [],
1155
- name: "levrMarketMaker",
1156
- outputs: [{ internalType: "address", name: "", type: "address" }],
1157
- stateMutability: "view",
1158
940
  type: "function",
941
+ name: "updateLevrMarketMaker",
942
+ inputs: [{ name: "newLevrMarketMaker", type: "address", internalType: "address" }],
943
+ outputs: [],
944
+ stateMutability: "nonpayable",
1159
945
  },
1160
946
  {
1161
- inputs: [],
1162
- name: "levrMarketRiskSentinel",
1163
- outputs: [{ internalType: "address", name: "", type: "address" }],
1164
- stateMutability: "view",
1165
947
  type: "function",
948
+ name: "updateLevrMarketRiskSentinel",
949
+ inputs: [{ name: "newMarketRiskSentinel", type: "address", internalType: "address" }],
950
+ outputs: [],
951
+ stateMutability: "nonpayable",
1166
952
  },
1167
953
  {
1168
- inputs: [],
1169
- name: "levrMarketRouter",
1170
- outputs: [{ internalType: "address", name: "", type: "address" }],
1171
- stateMutability: "view",
1172
954
  type: "function",
955
+ name: "updateLevrMarketRouter",
956
+ inputs: [{ name: "newLevrMarketRouter", type: "address", internalType: "address" }],
957
+ outputs: [],
958
+ stateMutability: "nonpayable",
1173
959
  },
1174
960
  {
1175
- inputs: [],
1176
- name: "levrMvp",
1177
- outputs: [{ internalType: "address", name: "", type: "address" }],
1178
- stateMutability: "view",
1179
961
  type: "function",
962
+ name: "updateLevrMvpDepository",
963
+ inputs: [{ name: "newLevrMvpDepository", type: "address", internalType: "address" }],
964
+ outputs: [],
965
+ stateMutability: "nonpayable",
1180
966
  },
1181
967
  {
1182
- inputs: [],
1183
- name: "levrMvpDepository",
1184
- outputs: [{ internalType: "address", name: "", type: "address" }],
1185
- stateMutability: "view",
1186
968
  type: "function",
969
+ name: "updateLevrMvpRouter",
970
+ inputs: [{ name: "newLevrMvpRouter", type: "address", internalType: "address" }],
971
+ outputs: [],
972
+ stateMutability: "nonpayable",
1187
973
  },
1188
974
  {
1189
- inputs: [],
1190
- name: "levrMvpRouter",
1191
- outputs: [{ internalType: "address", name: "", type: "address" }],
1192
- stateMutability: "view",
1193
975
  type: "function",
976
+ name: "updateLevrMvpStaker",
977
+ inputs: [{ name: "newLevrMvpStaker", type: "address", internalType: "address" }],
978
+ outputs: [],
979
+ stateMutability: "nonpayable",
1194
980
  },
1195
981
  {
1196
- inputs: [],
1197
- name: "levrMvpStaker",
1198
- outputs: [{ internalType: "address", name: "", type: "address" }],
1199
- stateMutability: "view",
1200
982
  type: "function",
983
+ name: "updateLevrMvpToken",
984
+ inputs: [{ name: "_levrMvp", type: "address", internalType: "address" }],
985
+ outputs: [],
986
+ stateMutability: "nonpayable",
1201
987
  },
1202
988
  {
1203
- inputs: [],
1204
- name: "levrOrderbook",
1205
- outputs: [{ internalType: "address", name: "", type: "address" }],
1206
- stateMutability: "view",
1207
989
  type: "function",
990
+ name: "updateLevrOrderbook",
991
+ inputs: [{ name: "newLevrOrderbook", type: "address", internalType: "address" }],
992
+ outputs: [],
993
+ stateMutability: "nonpayable",
1208
994
  },
1209
995
  {
1210
- inputs: [],
1211
- name: "levrOrderbookLens",
1212
- outputs: [{ internalType: "address", name: "", type: "address" }],
1213
- stateMutability: "view",
1214
996
  type: "function",
997
+ name: "updateLevrOrderbookLens",
998
+ inputs: [{ name: "newLevrOrderbookLens", type: "address", internalType: "address" }],
999
+ outputs: [],
1000
+ stateMutability: "nonpayable",
1215
1001
  },
1216
1002
  {
1217
- inputs: [],
1218
- name: "levrPythFeed",
1219
- outputs: [{ internalType: "address", name: "", type: "address" }],
1220
- stateMutability: "view",
1221
1003
  type: "function",
1004
+ name: "updateLevrPythFeed",
1005
+ inputs: [{ name: "newLevrPythFeed", type: "address", internalType: "address" }],
1006
+ outputs: [],
1007
+ stateMutability: "nonpayable",
1222
1008
  },
1223
1009
  {
1224
- inputs: [],
1225
- name: "levrReferralRewardsPool",
1226
- outputs: [{ internalType: "address", name: "", type: "address" }],
1227
- stateMutability: "view",
1228
1010
  type: "function",
1011
+ name: "updateLevrReferralRewardsPool",
1012
+ inputs: [{ name: "newReferralRewardsPool", type: "address", internalType: "address" }],
1013
+ outputs: [],
1014
+ stateMutability: "nonpayable",
1229
1015
  },
1230
1016
  {
1231
- inputs: [],
1232
- name: "levrStaker",
1233
- outputs: [{ internalType: "address", name: "", type: "address" }],
1234
- stateMutability: "view",
1235
1017
  type: "function",
1018
+ name: "updateLevrStakerAddress",
1019
+ inputs: [{ name: "newLevrStaker", type: "address", internalType: "address" }],
1020
+ outputs: [],
1021
+ stateMutability: "nonpayable",
1236
1022
  },
1237
1023
  {
1238
- inputs: [],
1239
- name: "levrStakersBps",
1240
- outputs: [{ internalType: "uint16", name: "", type: "uint16" }],
1241
- stateMutability: "view",
1242
1024
  type: "function",
1025
+ name: "updateLevrTreasury",
1026
+ inputs: [{ name: "newTreasury", type: "address", internalType: "address" }],
1027
+ outputs: [],
1028
+ stateMutability: "nonpayable",
1243
1029
  },
1244
1030
  {
1245
- inputs: [],
1246
- name: "levrTreasury",
1247
- outputs: [{ internalType: "address", name: "", type: "address" }],
1248
- stateMutability: "view",
1249
1031
  type: "function",
1032
+ name: "updateLiquidationBufferBps2Way",
1033
+ inputs: [{ name: "newBps", type: "uint16", internalType: "uint16" }],
1034
+ outputs: [],
1035
+ stateMutability: "nonpayable",
1250
1036
  },
1251
1037
  {
1252
- inputs: [],
1253
- name: "liquidationTipBps",
1254
- outputs: [{ internalType: "uint16", name: "", type: "uint16" }],
1255
- stateMutability: "view",
1256
1038
  type: "function",
1039
+ name: "updateLiquidationBufferBps3Way",
1040
+ inputs: [{ name: "newBps", type: "uint16", internalType: "uint16" }],
1041
+ outputs: [],
1042
+ stateMutability: "nonpayable",
1257
1043
  },
1258
1044
  {
1259
- inputs: [],
1260
- name: "maxTierFeeBps",
1261
- outputs: [{ internalType: "uint16", name: "", type: "uint16" }],
1262
- stateMutability: "view",
1263
1045
  type: "function",
1046
+ name: "updateLiquidationBufferBpsOverUnder",
1047
+ inputs: [{ name: "newBps", type: "uint16", internalType: "uint16" }],
1048
+ outputs: [],
1049
+ stateMutability: "nonpayable",
1264
1050
  },
1265
1051
  {
1266
- inputs: [],
1267
- name: "maxTierFeeInGameBps",
1268
- outputs: [{ internalType: "uint16", name: "", type: "uint16" }],
1269
- stateMutability: "view",
1270
1052
  type: "function",
1053
+ name: "updateLiquidationTipBps",
1054
+ inputs: [{ name: "newLiquidationTipBps", type: "uint16", internalType: "uint16" }],
1055
+ outputs: [],
1056
+ stateMutability: "nonpayable",
1271
1057
  },
1272
1058
  {
1273
- inputs: [],
1274
- name: "maxUserLeverage",
1275
- outputs: [{ internalType: "uint8", name: "", type: "uint8" }],
1276
- stateMutability: "view",
1277
1059
  type: "function",
1060
+ name: "updateMinDepositValue",
1061
+ inputs: [{ name: "newMvpValue", type: "uint256", internalType: "uint256" }],
1062
+ outputs: [],
1063
+ stateMutability: "nonpayable",
1278
1064
  },
1279
1065
  {
1280
- inputs: [],
1281
- name: "minDepositValue",
1282
- outputs: [{ internalType: "uint256", name: "", type: "uint256" }],
1283
- stateMutability: "view",
1284
1066
  type: "function",
1067
+ name: "updateMinInitialDepositValue",
1068
+ inputs: [{ name: "newMvpValue", type: "uint256", internalType: "uint256" }],
1069
+ outputs: [],
1070
+ stateMutability: "nonpayable",
1285
1071
  },
1286
1072
  {
1287
- inputs: [],
1288
- name: "minInitialDepositValue",
1289
- outputs: [{ internalType: "uint256", name: "", type: "uint256" }],
1290
- stateMutability: "view",
1291
1073
  type: "function",
1074
+ name: "updateMinMaxUserLeverages",
1075
+ inputs: [
1076
+ { name: "newMinUserLeverage", type: "uint8", internalType: "uint8" },
1077
+ { name: "newMaxUserLeverage", type: "uint8", internalType: "uint8" },
1078
+ ],
1079
+ outputs: [],
1080
+ stateMutability: "nonpayable",
1292
1081
  },
1293
1082
  {
1294
- inputs: [],
1295
- name: "minTierFeeBps",
1296
- outputs: [{ internalType: "uint16", name: "", type: "uint16" }],
1297
- stateMutability: "view",
1298
1083
  type: "function",
1084
+ name: "updateMvpRoundDuration",
1085
+ inputs: [{ name: "newRoundDuration", type: "uint48", internalType: "uint48" }],
1086
+ outputs: [],
1087
+ stateMutability: "nonpayable",
1299
1088
  },
1300
1089
  {
1301
- inputs: [],
1302
- name: "minTierFeeInGameBps",
1303
- outputs: [{ internalType: "uint16", name: "", type: "uint16" }],
1304
- stateMutability: "view",
1305
1090
  type: "function",
1091
+ name: "updatePositionFeeBps",
1092
+ inputs: [{ name: "newPositionFeeBps", type: "uint16", internalType: "uint16" }],
1093
+ outputs: [],
1094
+ stateMutability: "nonpayable",
1306
1095
  },
1307
1096
  {
1308
- inputs: [],
1309
- name: "minUserLeverage",
1310
- outputs: [{ internalType: "uint8", name: "", type: "uint8" }],
1311
- stateMutability: "view",
1312
1097
  type: "function",
1098
+ name: "updateRestrictedLiquidation",
1099
+ inputs: [{ name: "state", type: "bool", internalType: "bool" }],
1100
+ outputs: [],
1101
+ stateMutability: "nonpayable",
1313
1102
  },
1314
1103
  {
1315
- inputs: [],
1316
- name: "mvpVaultBps",
1317
- outputs: [{ internalType: "uint16", name: "", type: "uint16" }],
1318
- stateMutability: "view",
1319
1104
  type: "function",
1105
+ name: "updateTargetAmount",
1106
+ inputs: [
1107
+ { name: "asset", type: "address", internalType: "address" },
1108
+ { name: "target", type: "uint256", internalType: "uint256" },
1109
+ ],
1110
+ outputs: [],
1111
+ stateMutability: "nonpayable",
1320
1112
  },
1321
1113
  {
1322
- inputs: [],
1323
- name: "mvpVaultRoundDuration",
1324
- outputs: [{ internalType: "uint48", name: "", type: "uint48" }],
1325
- stateMutability: "view",
1326
1114
  type: "function",
1115
+ name: "updateTierFees",
1116
+ inputs: [
1117
+ { name: "newMinTierFeeBps", type: "uint16", internalType: "uint16" },
1118
+ { name: "newMaxTierFeeBps", type: "uint16", internalType: "uint16" },
1119
+ ],
1120
+ outputs: [],
1121
+ stateMutability: "nonpayable",
1327
1122
  },
1328
1123
  {
1329
- inputs: [{ internalType: "address", name: "", type: "address" }],
1330
- name: "onLevrConfigProviderUpdate",
1331
- outputs: [{ internalType: "bytes4", name: "", type: "bytes4" }],
1332
- stateMutability: "pure",
1333
1124
  type: "function",
1125
+ name: "updateTournamentConfig",
1126
+ inputs: [
1127
+ { name: "tournamentId", type: "bytes6", internalType: "bytes6" },
1128
+ { name: "maxBetsPerMarket", type: "uint256", internalType: "uint256" },
1129
+ { name: "whitelistMerkleRoot", type: "bytes32", internalType: "bytes32" },
1130
+ { name: "assets", type: "address[]", internalType: "address[]" },
1131
+ { name: "minBetCollaterals", type: "uint256[]", internalType: "uint256[]" },
1132
+ { name: "maxBetCollaterals", type: "uint256[]", internalType: "uint256[]" },
1133
+ ],
1134
+ outputs: [],
1135
+ stateMutability: "nonpayable",
1334
1136
  },
1335
1137
  {
1336
- inputs: [],
1337
- name: "positionFeeBps",
1338
- outputs: [{ internalType: "uint16", name: "", type: "uint16" }],
1339
- stateMutability: "view",
1340
1138
  type: "function",
1139
+ name: "updateTxFeeBps",
1140
+ inputs: [{ name: "newTxFeeBps", type: "uint16", internalType: "uint16" }],
1141
+ outputs: [],
1142
+ stateMutability: "nonpayable",
1341
1143
  },
1342
1144
  {
1343
- inputs: [],
1344
- name: "referralPoolBps",
1345
- outputs: [{ internalType: "uint16", name: "", type: "uint16" }],
1346
- stateMutability: "view",
1347
1145
  type: "function",
1348
- },
1349
- {
1350
- inputs: [{ internalType: "address[]", name: "assets", type: "address[]" }],
1351
- name: "removeAllowedFundManagerAssets",
1146
+ name: "updateWeightFeeBps",
1147
+ inputs: [{ name: "newFee", type: "uint16", internalType: "uint16" }],
1352
1148
  outputs: [],
1353
1149
  stateMutability: "nonpayable",
1354
- type: "function",
1355
1150
  },
1356
1151
  {
1357
- inputs: [{ internalType: "address[]", name: "accounts", type: "address[]" }],
1358
- name: "removeMvpTokenTransferrers",
1152
+ type: "function",
1153
+ name: "updateWithdrawalExecutionWindow",
1154
+ inputs: [{ name: "newWindow", type: "uint48", internalType: "uint48" }],
1359
1155
  outputs: [],
1360
1156
  stateMutability: "nonpayable",
1361
- type: "function",
1362
1157
  },
1363
1158
  {
1364
- inputs: [
1365
- { internalType: "address[]", name: "existingAssets", type: "address[]" },
1366
- { internalType: "uint16[]", name: "updatedWeights", type: "uint16[]" },
1367
- { internalType: "address", name: "asset", type: "address" },
1368
- ],
1369
- name: "removeMvpVaultAssets",
1159
+ type: "function",
1160
+ name: "updateWithdrawalRequestWindow",
1161
+ inputs: [{ name: "newWindow", type: "uint48", internalType: "uint48" }],
1370
1162
  outputs: [],
1371
1163
  stateMutability: "nonpayable",
1372
- type: "function",
1373
1164
  },
1374
1165
  {
1375
- inputs: [{ internalType: "address[]", name: "accounts", type: "address[]" }],
1376
- name: "removeSMvpTokenTransferrers",
1166
+ type: "function",
1167
+ name: "updateWithdrawalWaitRounds",
1168
+ inputs: [{ name: "newWaitRounds", type: "uint8", internalType: "uint8" }],
1377
1169
  outputs: [],
1378
1170
  stateMutability: "nonpayable",
1171
+ },
1172
+ {
1379
1173
  type: "function",
1174
+ name: "weightFeeBps",
1175
+ inputs: [],
1176
+ outputs: [{ name: "", type: "uint16", internalType: "uint16" }],
1177
+ stateMutability: "view",
1380
1178
  },
1381
1179
  {
1382
- inputs: [
1383
- { internalType: "bytes32", name: "role", type: "bytes32" },
1384
- { internalType: "address", name: "callerConfirmation", type: "address" },
1385
- ],
1386
- name: "renounceRole",
1387
- outputs: [],
1388
- stateMutability: "nonpayable",
1389
1180
  type: "function",
1181
+ name: "withdrawalExecutionWindow",
1182
+ inputs: [],
1183
+ outputs: [{ name: "", type: "uint48", internalType: "uint48" }],
1184
+ stateMutability: "view",
1390
1185
  },
1391
1186
  {
1187
+ type: "function",
1188
+ name: "withdrawalRequestWindow",
1392
1189
  inputs: [],
1393
- name: "restrictedLiquidation",
1394
- outputs: [{ internalType: "bool", name: "", type: "bool" }],
1190
+ outputs: [{ name: "", type: "uint48", internalType: "uint48" }],
1395
1191
  stateMutability: "view",
1192
+ },
1193
+ {
1396
1194
  type: "function",
1195
+ name: "withdrawalWaitRounds",
1196
+ inputs: [],
1197
+ outputs: [{ name: "", type: "uint8", internalType: "uint8" }],
1198
+ stateMutability: "view",
1397
1199
  },
1398
1200
  {
1201
+ type: "event",
1202
+ name: "AssetWeightUpdated",
1399
1203
  inputs: [
1400
- { internalType: "bytes32", name: "role", type: "bytes32" },
1401
- { internalType: "address", name: "account", type: "address" },
1204
+ { name: "asset", type: "address", indexed: true, internalType: "address" },
1205
+ { name: "oldWeight", type: "uint16", indexed: true, internalType: "uint16" },
1206
+ { name: "newWeight", type: "uint16", indexed: true, internalType: "uint16" },
1402
1207
  ],
1403
- name: "revokeRole",
1404
- outputs: [],
1405
- stateMutability: "nonpayable",
1406
- type: "function",
1208
+ anonymous: false,
1407
1209
  },
1408
1210
  {
1211
+ type: "event",
1212
+ name: "BlacklistUpdated",
1409
1213
  inputs: [
1410
- { internalType: "address", name: "asset", type: "address" },
1411
- { internalType: "bytes32", name: "feedId", type: "bytes32" },
1214
+ { name: "user", type: "address", indexed: true, internalType: "address" },
1215
+ { name: "isBlacklisted", type: "bool", indexed: false, internalType: "bool" },
1412
1216
  ],
1413
- name: "setPythFeedId",
1414
- outputs: [],
1415
- stateMutability: "nonpayable",
1416
- type: "function",
1217
+ anonymous: false,
1417
1218
  },
1418
1219
  {
1419
- inputs: [{ internalType: "bytes4", name: "interfaceId", type: "bytes4" }],
1420
- name: "supportsInterface",
1421
- outputs: [{ internalType: "bool", name: "", type: "bool" }],
1422
- stateMutability: "view",
1423
- type: "function",
1220
+ type: "event",
1221
+ name: "BorrowFeeBpsUpdated",
1222
+ inputs: [
1223
+ { name: "oldBorrowFeeBps", type: "uint16", indexed: false, internalType: "uint16" },
1224
+ { name: "newBorrowFeeBps", type: "uint16", indexed: false, internalType: "uint16" },
1225
+ ],
1226
+ anonymous: false,
1424
1227
  },
1425
1228
  {
1426
- inputs: [],
1427
- name: "treasuryBps",
1428
- outputs: [{ internalType: "uint16", name: "", type: "uint16" }],
1429
- stateMutability: "view",
1430
- type: "function",
1229
+ type: "event",
1230
+ name: "DefaultMaxBetCollateralUpdated",
1231
+ inputs: [
1232
+ { name: "asset", type: "address", indexed: true, internalType: "address" },
1233
+ { name: "oldMaxCollateral", type: "uint256", indexed: false, internalType: "uint256" },
1234
+ { name: "newMaxCollateral", type: "uint256", indexed: false, internalType: "uint256" },
1235
+ ],
1236
+ anonymous: false,
1431
1237
  },
1432
1238
  {
1433
- inputs: [],
1434
- name: "txFeeBps",
1435
- outputs: [{ internalType: "uint16", name: "", type: "uint16" }],
1436
- stateMutability: "view",
1437
- type: "function",
1239
+ type: "event",
1240
+ name: "DefaultMinBetCollateralUpdated",
1241
+ inputs: [
1242
+ { name: "asset", type: "address", indexed: true, internalType: "address" },
1243
+ { name: "oldMinCollateral", type: "uint256", indexed: false, internalType: "uint256" },
1244
+ { name: "newMinCollateral", type: "uint256", indexed: false, internalType: "uint256" },
1245
+ ],
1246
+ anonymous: false,
1438
1247
  },
1439
1248
  {
1249
+ type: "event",
1250
+ name: "FeeShareUpdated",
1440
1251
  inputs: [
1441
- { internalType: "address", name: "asset", type: "address" },
1442
- { internalType: "uint48", name: "newAge", type: "uint48" },
1252
+ { name: "oldMvpVaultStakersBps", type: "uint16", indexed: false, internalType: "uint16" },
1253
+ { name: "oldLevrStakersBps", type: "uint16", indexed: false, internalType: "uint16" },
1254
+ { name: "oldTreasuryBps", type: "uint16", indexed: false, internalType: "uint16" },
1255
+ { name: "oldReferralPoolBps", type: "uint16", indexed: false, internalType: "uint16" },
1256
+ { name: "newMvpVaultStakersBps", type: "uint16", indexed: false, internalType: "uint16" },
1257
+ { name: "newLevrStakersBps", type: "uint16", indexed: false, internalType: "uint16" },
1258
+ { name: "newTreasuryBps", type: "uint16", indexed: false, internalType: "uint16" },
1259
+ { name: "newReferralPoolBps", type: "uint16", indexed: false, internalType: "uint16" },
1443
1260
  ],
1444
- name: "updateAssetStalenessAge",
1445
- outputs: [],
1446
- stateMutability: "nonpayable",
1447
- type: "function",
1261
+ anonymous: false,
1448
1262
  },
1449
1263
  {
1450
- inputs: [{ internalType: "uint16", name: "newBorrowFeeBps", type: "uint16" }],
1451
- name: "updateBorrowFeeBps",
1452
- outputs: [],
1453
- stateMutability: "nonpayable",
1454
- type: "function",
1264
+ type: "event",
1265
+ name: "FundManagerAllowedAssetAdded",
1266
+ inputs: [{ name: "asset", type: "address", indexed: true, internalType: "address" }],
1267
+ anonymous: false,
1455
1268
  },
1456
1269
  {
1457
- inputs: [{ internalType: "uint48", name: "newAge", type: "uint48" }],
1458
- name: "updateDefaultAge",
1459
- outputs: [],
1460
- stateMutability: "nonpayable",
1461
- type: "function",
1270
+ type: "event",
1271
+ name: "FundManagerAllowedAssetRemoved",
1272
+ inputs: [{ name: "asset", type: "address", indexed: true, internalType: "address" }],
1273
+ anonymous: false,
1462
1274
  },
1463
1275
  {
1276
+ type: "event",
1277
+ name: "InGameTierFeesUpdated",
1464
1278
  inputs: [
1465
- { internalType: "address", name: "asset", type: "address" },
1466
- { internalType: "uint256", name: "newMaxCollateral", type: "uint256" },
1279
+ { name: "prevMinTierFeeInGameBps", type: "uint16", indexed: false, internalType: "uint16" },
1280
+ { name: "newMinTierFeeInGameBps", type: "uint16", indexed: false, internalType: "uint16" },
1281
+ { name: "prevMaxTierFeeInGameBps", type: "uint16", indexed: false, internalType: "uint16" },
1282
+ { name: "newMaxTierFeeInGameBps", type: "uint16", indexed: false, internalType: "uint16" },
1467
1283
  ],
1468
- name: "updateDefaultMaxCollateral",
1469
- outputs: [],
1470
- stateMutability: "nonpayable",
1471
- type: "function",
1284
+ anonymous: false,
1472
1285
  },
1473
1286
  {
1287
+ type: "event",
1288
+ name: "LevrBetCreditManagerUpdated",
1474
1289
  inputs: [
1475
- { internalType: "address", name: "asset", type: "address" },
1476
- { internalType: "uint256", name: "newMinCollateral", type: "uint256" },
1290
+ { name: "prevBetCreditManager", type: "address", indexed: false, internalType: "address" },
1291
+ { name: "newBetCreditManager", type: "address", indexed: false, internalType: "address" },
1477
1292
  ],
1478
- name: "updateDefaultMinCollateral",
1479
- outputs: [],
1480
- stateMutability: "nonpayable",
1481
- type: "function",
1293
+ anonymous: false,
1482
1294
  },
1483
1295
  {
1296
+ type: "event",
1297
+ name: "LevrDrawPoolUpdated",
1484
1298
  inputs: [
1485
- { internalType: "uint16", name: "newMvpVaultStakersBps", type: "uint16" },
1486
- { internalType: "uint16", name: "newLevrStakersBps", type: "uint16" },
1487
- { internalType: "uint16", name: "newTreasuryBps", type: "uint16" },
1488
- { internalType: "uint16", name: "newReferralPoolBps", type: "uint16" },
1299
+ { name: "previousLevrDrawPool", type: "address", indexed: true, internalType: "address" },
1300
+ { name: "newLevrDrawPool", type: "address", indexed: true, internalType: "address" },
1489
1301
  ],
1490
- name: "updateFeeBps",
1491
- outputs: [],
1492
- stateMutability: "nonpayable",
1493
- type: "function",
1302
+ anonymous: false,
1494
1303
  },
1495
1304
  {
1305
+ type: "event",
1306
+ name: "LevrFeeCollectorUpdated",
1496
1307
  inputs: [
1497
- { internalType: "uint16", name: "newMinTierFeeInGameBps", type: "uint16" },
1498
- { internalType: "uint16", name: "newMaxTierFeeInGameBps", type: "uint16" },
1308
+ { name: "prevFeeCollector", type: "address", indexed: false, internalType: "address" },
1309
+ { name: "newFeeCollector", type: "address", indexed: false, internalType: "address" },
1499
1310
  ],
1500
- name: "updateInGameTierFees",
1501
- outputs: [],
1502
- stateMutability: "nonpayable",
1503
- type: "function",
1311
+ anonymous: false,
1504
1312
  },
1505
1313
  {
1506
- inputs: [{ internalType: "address", name: "newBetCreditManager", type: "address" }],
1507
- name: "updateLevrBetCreditManager",
1508
- outputs: [],
1509
- stateMutability: "nonpayable",
1510
- type: "function",
1314
+ type: "event",
1315
+ name: "LevrFundManagerUpdated",
1316
+ inputs: [
1317
+ { name: "prevFundManager", type: "address", indexed: false, internalType: "address" },
1318
+ { name: "newFundManager", type: "address", indexed: false, internalType: "address" },
1319
+ ],
1320
+ anonymous: false,
1511
1321
  },
1512
1322
  {
1513
- inputs: [{ internalType: "address", name: "_levrDrawPool", type: "address" }],
1514
- name: "updateLevrDrawPool",
1515
- outputs: [],
1516
- stateMutability: "nonpayable",
1517
- type: "function",
1323
+ type: "event",
1324
+ name: "LevrLiquidationEngineUpdated",
1325
+ inputs: [
1326
+ { name: "prevEngine", type: "address", indexed: false, internalType: "address" },
1327
+ { name: "newEngine", type: "address", indexed: false, internalType: "address" },
1328
+ ],
1329
+ anonymous: false,
1518
1330
  },
1519
1331
  {
1520
- inputs: [{ internalType: "address", name: "newFeeCollector", type: "address" }],
1521
- name: "updateLevrFeeCollector",
1522
- outputs: [],
1523
- stateMutability: "nonpayable",
1524
- type: "function",
1332
+ type: "event",
1333
+ name: "LevrManagerUpdated",
1334
+ inputs: [
1335
+ { name: "prevManager", type: "address", indexed: false, internalType: "address" },
1336
+ { name: "newManager", type: "address", indexed: false, internalType: "address" },
1337
+ ],
1338
+ anonymous: false,
1525
1339
  },
1526
1340
  {
1527
- inputs: [{ internalType: "address", name: "newFundManager", type: "address" }],
1528
- name: "updateLevrFundManager",
1529
- outputs: [],
1530
- stateMutability: "nonpayable",
1531
- type: "function",
1341
+ type: "event",
1342
+ name: "LevrMarketFeedUpdated",
1343
+ inputs: [
1344
+ { name: "prevFeed", type: "address", indexed: false, internalType: "address" },
1345
+ { name: "newFeed", type: "address", indexed: false, internalType: "address" },
1346
+ ],
1347
+ anonymous: false,
1532
1348
  },
1533
1349
  {
1534
- inputs: [{ internalType: "address", name: "newLiquidationEngine", type: "address" }],
1535
- name: "updateLevrLiquidationEngine",
1536
- outputs: [],
1537
- stateMutability: "nonpayable",
1538
- type: "function",
1350
+ type: "event",
1351
+ name: "LevrMarketMakerUpdated",
1352
+ inputs: [
1353
+ { name: "oldLevrMarketMaker", type: "address", indexed: false, internalType: "address" },
1354
+ { name: "newLevrMarketMaker", type: "address", indexed: false, internalType: "address" },
1355
+ ],
1356
+ anonymous: false,
1539
1357
  },
1540
1358
  {
1541
- inputs: [{ internalType: "address", name: "newGameManager", type: "address" }],
1542
- name: "updateLevrManager",
1543
- outputs: [],
1544
- stateMutability: "nonpayable",
1545
- type: "function",
1359
+ type: "event",
1360
+ name: "LevrMarketRiskSentinelUpdated",
1361
+ inputs: [
1362
+ { name: "prevSentinel", type: "address", indexed: false, internalType: "address" },
1363
+ { name: "newSentinel", type: "address", indexed: false, internalType: "address" },
1364
+ ],
1365
+ anonymous: false,
1546
1366
  },
1547
1367
  {
1548
- inputs: [{ internalType: "address", name: "newMarketFeed", type: "address" }],
1549
- name: "updateLevrMarketFeed",
1550
- outputs: [],
1551
- stateMutability: "nonpayable",
1552
- type: "function",
1368
+ type: "event",
1369
+ name: "LevrMarketRouterUpdated",
1370
+ inputs: [
1371
+ { name: "oldLevrMarketRouter", type: "address", indexed: true, internalType: "address" },
1372
+ { name: "newLevrMarketRouter", type: "address", indexed: true, internalType: "address" },
1373
+ ],
1374
+ anonymous: false,
1553
1375
  },
1554
1376
  {
1555
- inputs: [{ internalType: "address", name: "newLevrMarketMaker", type: "address" }],
1556
- name: "updateLevrMarketMaker",
1557
- outputs: [],
1558
- stateMutability: "nonpayable",
1559
- type: "function",
1377
+ type: "event",
1378
+ name: "LevrMvpDepositoryUpdated",
1379
+ inputs: [
1380
+ { name: "oldLevrMvpDepository", type: "address", indexed: true, internalType: "address" },
1381
+ { name: "newLevrMvpDepository", type: "address", indexed: true, internalType: "address" },
1382
+ ],
1383
+ anonymous: false,
1560
1384
  },
1561
1385
  {
1562
- inputs: [{ internalType: "address", name: "newMarketRiskSentinel", type: "address" }],
1563
- name: "updateLevrMarketRiskSentinel",
1564
- outputs: [],
1565
- stateMutability: "nonpayable",
1566
- type: "function",
1386
+ type: "event",
1387
+ name: "LevrMvpRouterUpdated",
1388
+ inputs: [
1389
+ { name: "prevLevrMvpRouter", type: "address", indexed: true, internalType: "address" },
1390
+ { name: "newLevrMvpRouter", type: "address", indexed: true, internalType: "address" },
1391
+ ],
1392
+ anonymous: false,
1567
1393
  },
1568
1394
  {
1569
- inputs: [{ internalType: "address", name: "newLevrMarketRouter", type: "address" }],
1570
- name: "updateLevrMarketRouter",
1571
- outputs: [],
1572
- stateMutability: "nonpayable",
1573
- type: "function",
1395
+ type: "event",
1396
+ name: "LevrMvpStakerUpdated",
1397
+ inputs: [
1398
+ { name: "oldLevrMvpStaker", type: "address", indexed: true, internalType: "address" },
1399
+ { name: "newLevrMvpStaker", type: "address", indexed: true, internalType: "address" },
1400
+ ],
1401
+ anonymous: false,
1574
1402
  },
1575
1403
  {
1576
- inputs: [{ internalType: "address", name: "newLevrMvpDepository", type: "address" }],
1577
- name: "updateLevrMvpDepository",
1578
- outputs: [],
1579
- stateMutability: "nonpayable",
1580
- type: "function",
1404
+ type: "event",
1405
+ name: "LevrMvpTokenUpdated",
1406
+ inputs: [{ name: "levrMvp", type: "address", indexed: true, internalType: "address" }],
1407
+ anonymous: false,
1581
1408
  },
1582
1409
  {
1583
- inputs: [{ internalType: "address", name: "newLevrMvpRouter", type: "address" }],
1584
- name: "updateLevrMvpRouter",
1585
- outputs: [],
1586
- stateMutability: "nonpayable",
1587
- type: "function",
1410
+ type: "event",
1411
+ name: "LevrOrderbookLensUpdated",
1412
+ inputs: [
1413
+ { name: "previousLevrOrderbookLens", type: "address", indexed: true, internalType: "address" },
1414
+ { name: "newLevrOrderbookLens", type: "address", indexed: true, internalType: "address" },
1415
+ ],
1416
+ anonymous: false,
1588
1417
  },
1589
1418
  {
1590
- inputs: [{ internalType: "address", name: "newLevrMvpStaker", type: "address" }],
1591
- name: "updateLevrMvpStaker",
1592
- outputs: [],
1593
- stateMutability: "nonpayable",
1594
- type: "function",
1419
+ type: "event",
1420
+ name: "LevrOrderbookUpdated",
1421
+ inputs: [
1422
+ { name: "oldLevrOrderbook", type: "address", indexed: false, internalType: "address" },
1423
+ { name: "newLevrOrderbook", type: "address", indexed: false, internalType: "address" },
1424
+ ],
1425
+ anonymous: false,
1595
1426
  },
1596
1427
  {
1597
- inputs: [{ internalType: "address", name: "_levrMvp", type: "address" }],
1598
- name: "updateLevrMvpToken",
1599
- outputs: [],
1600
- stateMutability: "nonpayable",
1601
- type: "function",
1428
+ type: "event",
1429
+ name: "LevrPythFeedUpdated",
1430
+ inputs: [
1431
+ { name: "prevLevrPythFeed", type: "address", indexed: true, internalType: "address" },
1432
+ { name: "newLevrPythFeed", type: "address", indexed: true, internalType: "address" },
1433
+ ],
1434
+ anonymous: false,
1602
1435
  },
1603
1436
  {
1604
- inputs: [{ internalType: "address", name: "newLevrOrderbook", type: "address" }],
1605
- name: "updateLevrOrderbook",
1606
- outputs: [],
1607
- stateMutability: "nonpayable",
1608
- type: "function",
1437
+ type: "event",
1438
+ name: "LevrReferralRewardsPoolUpdated",
1439
+ inputs: [
1440
+ { name: "prevReferralRewardsPool", type: "address", indexed: false, internalType: "address" },
1441
+ { name: "newReferralRewardsPool", type: "address", indexed: false, internalType: "address" },
1442
+ ],
1443
+ anonymous: false,
1609
1444
  },
1610
1445
  {
1611
- inputs: [{ internalType: "address", name: "newLevrOrderbookLens", type: "address" }],
1612
- name: "updateLevrOrderbookLens",
1613
- outputs: [],
1614
- stateMutability: "nonpayable",
1615
- type: "function",
1446
+ type: "event",
1447
+ name: "LevrStakerUpdated",
1448
+ inputs: [
1449
+ { name: "previousLevrStaker", type: "address", indexed: true, internalType: "address" },
1450
+ { name: "newLevrStaker", type: "address", indexed: true, internalType: "address" },
1451
+ ],
1452
+ anonymous: false,
1616
1453
  },
1617
1454
  {
1618
- inputs: [{ internalType: "address", name: "newLevrPythFeed", type: "address" }],
1619
- name: "updateLevrPythFeed",
1620
- outputs: [],
1621
- stateMutability: "nonpayable",
1622
- type: "function",
1455
+ type: "event",
1456
+ name: "LevrTreasuryUpdated",
1457
+ inputs: [
1458
+ { name: "prevTreasury", type: "address", indexed: false, internalType: "address" },
1459
+ { name: "newTreasury", type: "address", indexed: false, internalType: "address" },
1460
+ ],
1461
+ anonymous: false,
1623
1462
  },
1624
1463
  {
1625
- inputs: [{ internalType: "address", name: "newReferralRewardsPool", type: "address" }],
1626
- name: "updateLevrReferralRewardsPool",
1627
- outputs: [],
1628
- stateMutability: "nonpayable",
1629
- type: "function",
1464
+ type: "event",
1465
+ name: "LiquidationBufferBps2WayUpdated",
1466
+ inputs: [
1467
+ { name: "oldBps", type: "uint16", indexed: false, internalType: "uint16" },
1468
+ { name: "newBps", type: "uint16", indexed: false, internalType: "uint16" },
1469
+ ],
1470
+ anonymous: false,
1630
1471
  },
1631
1472
  {
1632
- inputs: [{ internalType: "address", name: "newLevrStaker", type: "address" }],
1633
- name: "updateLevrStakerAddress",
1634
- outputs: [],
1635
- stateMutability: "nonpayable",
1636
- type: "function",
1473
+ type: "event",
1474
+ name: "LiquidationBufferBps3WayUpdated",
1475
+ inputs: [
1476
+ { name: "oldBps", type: "uint16", indexed: false, internalType: "uint16" },
1477
+ { name: "newBps", type: "uint16", indexed: false, internalType: "uint16" },
1478
+ ],
1479
+ anonymous: false,
1637
1480
  },
1638
1481
  {
1639
- inputs: [{ internalType: "address", name: "newTreasury", type: "address" }],
1640
- name: "updateLevrTreasury",
1641
- outputs: [],
1642
- stateMutability: "nonpayable",
1643
- type: "function",
1482
+ type: "event",
1483
+ name: "LiquidationBufferBpsOverUnderUpdated",
1484
+ inputs: [
1485
+ { name: "oldBps", type: "uint16", indexed: false, internalType: "uint16" },
1486
+ { name: "newBps", type: "uint16", indexed: false, internalType: "uint16" },
1487
+ ],
1488
+ anonymous: false,
1644
1489
  },
1645
1490
  {
1646
- inputs: [{ internalType: "uint16", name: "newBps", type: "uint16" }],
1647
- name: "updateLiquidationBufferBps2Way",
1648
- outputs: [],
1649
- stateMutability: "nonpayable",
1650
- type: "function",
1491
+ type: "event",
1492
+ name: "LiquidationTipBpsUpdated",
1493
+ inputs: [
1494
+ { name: "oldLiquidationTipBps", type: "uint16", indexed: false, internalType: "uint16" },
1495
+ { name: "newLiquidationTipBps", type: "uint16", indexed: false, internalType: "uint16" },
1496
+ ],
1497
+ anonymous: false,
1651
1498
  },
1652
1499
  {
1653
- inputs: [{ internalType: "uint16", name: "newBps", type: "uint16" }],
1654
- name: "updateLiquidationBufferBps3Way",
1655
- outputs: [],
1656
- stateMutability: "nonpayable",
1657
- type: "function",
1500
+ type: "event",
1501
+ name: "MinDepositValueUpdated",
1502
+ inputs: [
1503
+ { name: "prevMvpAmount", type: "uint256", indexed: false, internalType: "uint256" },
1504
+ { name: "newMvpAmount", type: "uint256", indexed: false, internalType: "uint256" },
1505
+ ],
1506
+ anonymous: false,
1658
1507
  },
1659
1508
  {
1660
- inputs: [{ internalType: "uint16", name: "newBps", type: "uint16" }],
1661
- name: "updateLiquidationBufferBpsOverUnder",
1662
- outputs: [],
1663
- stateMutability: "nonpayable",
1664
- type: "function",
1509
+ type: "event",
1510
+ name: "MinInitialDepositValueUpdated",
1511
+ inputs: [
1512
+ { name: "prevMvpAmount", type: "uint256", indexed: false, internalType: "uint256" },
1513
+ { name: "newMvpAmount", type: "uint256", indexed: false, internalType: "uint256" },
1514
+ ],
1515
+ anonymous: false,
1665
1516
  },
1666
1517
  {
1667
- inputs: [{ internalType: "uint16", name: "newLiquidationTipBps", type: "uint16" }],
1668
- name: "updateLiquidationTipBps",
1669
- outputs: [],
1670
- stateMutability: "nonpayable",
1671
- type: "function",
1518
+ type: "event",
1519
+ name: "MvpTokenTransferrersUpdated",
1520
+ inputs: [
1521
+ { name: "account", type: "address", indexed: false, internalType: "address" },
1522
+ { name: "added", type: "bool", indexed: false, internalType: "bool" },
1523
+ ],
1524
+ anonymous: false,
1672
1525
  },
1673
1526
  {
1674
- inputs: [{ internalType: "uint256", name: "newMvpValue", type: "uint256" }],
1675
- name: "updateMinDepositValue",
1676
- outputs: [],
1677
- stateMutability: "nonpayable",
1678
- type: "function",
1527
+ type: "event",
1528
+ name: "NewVaultAssetAdded",
1529
+ inputs: [
1530
+ { name: "asset", type: "address", indexed: true, internalType: "address" },
1531
+ { name: "weight", type: "uint16", indexed: true, internalType: "uint16" },
1532
+ ],
1533
+ anonymous: false,
1679
1534
  },
1680
1535
  {
1681
- inputs: [{ internalType: "uint256", name: "newMvpValue", type: "uint256" }],
1682
- name: "updateMinInitialDepositValue",
1683
- outputs: [],
1684
- stateMutability: "nonpayable",
1685
- type: "function",
1536
+ type: "event",
1537
+ name: "PositionFeeBpsUpdated",
1538
+ inputs: [
1539
+ { name: "prevBps", type: "uint16", indexed: false, internalType: "uint16" },
1540
+ { name: "newBps", type: "uint16", indexed: false, internalType: "uint16" },
1541
+ ],
1542
+ anonymous: false,
1686
1543
  },
1687
1544
  {
1545
+ type: "event",
1546
+ name: "PythFeedIdSet",
1688
1547
  inputs: [
1689
- { internalType: "uint8", name: "newMinUserLeverage", type: "uint8" },
1690
- { internalType: "uint8", name: "newMaxUserLeverage", type: "uint8" },
1548
+ { name: "asset", type: "address", indexed: true, internalType: "address" },
1549
+ { name: "feedId", type: "bytes32", indexed: true, internalType: "bytes32" },
1691
1550
  ],
1692
- name: "updateMinMaxUserLeverages",
1693
- outputs: [],
1694
- stateMutability: "nonpayable",
1695
- type: "function",
1551
+ anonymous: false,
1696
1552
  },
1697
1553
  {
1698
- inputs: [{ internalType: "uint48", name: "newRoundDuration", type: "uint48" }],
1699
- name: "updateMvpRoundDuration",
1700
- outputs: [],
1701
- stateMutability: "nonpayable",
1702
- type: "function",
1554
+ type: "event",
1555
+ name: "PythFeedIdUpdated",
1556
+ inputs: [
1557
+ { name: "asset", type: "address", indexed: true, internalType: "address" },
1558
+ { name: "newFeedId", type: "bytes32", indexed: false, internalType: "bytes32" },
1559
+ ],
1560
+ anonymous: false,
1703
1561
  },
1704
1562
  {
1705
- inputs: [{ internalType: "uint16", name: "newPositionFeeBps", type: "uint16" }],
1706
- name: "updatePositionFeeBps",
1707
- outputs: [],
1708
- stateMutability: "nonpayable",
1709
- type: "function",
1563
+ type: "event",
1564
+ name: "RestrictedLiquidationUpdated",
1565
+ inputs: [
1566
+ { name: "oldRestrictedLiquidation", type: "bool", indexed: false, internalType: "bool" },
1567
+ { name: "newRestrictedLiquidation", type: "bool", indexed: false, internalType: "bool" },
1568
+ ],
1569
+ anonymous: false,
1710
1570
  },
1711
1571
  {
1712
- inputs: [{ internalType: "bool", name: "state", type: "bool" }],
1713
- name: "updateRestrictedLiquidation",
1714
- outputs: [],
1715
- stateMutability: "nonpayable",
1716
- type: "function",
1572
+ type: "event",
1573
+ name: "RoleAdminChanged",
1574
+ inputs: [
1575
+ { name: "role", type: "bytes32", indexed: true, internalType: "bytes32" },
1576
+ { name: "previousAdminRole", type: "bytes32", indexed: true, internalType: "bytes32" },
1577
+ { name: "newAdminRole", type: "bytes32", indexed: true, internalType: "bytes32" },
1578
+ ],
1579
+ anonymous: false,
1580
+ },
1581
+ {
1582
+ type: "event",
1583
+ name: "RoleGranted",
1584
+ inputs: [
1585
+ { name: "role", type: "bytes32", indexed: true, internalType: "bytes32" },
1586
+ { name: "account", type: "address", indexed: true, internalType: "address" },
1587
+ { name: "sender", type: "address", indexed: true, internalType: "address" },
1588
+ ],
1589
+ anonymous: false,
1717
1590
  },
1718
1591
  {
1592
+ type: "event",
1593
+ name: "RoleRevoked",
1719
1594
  inputs: [
1720
- { internalType: "address", name: "asset", type: "address" },
1721
- { internalType: "uint256", name: "target", type: "uint256" },
1595
+ { name: "role", type: "bytes32", indexed: true, internalType: "bytes32" },
1596
+ { name: "account", type: "address", indexed: true, internalType: "address" },
1597
+ { name: "sender", type: "address", indexed: true, internalType: "address" },
1722
1598
  ],
1723
- name: "updateTargetAmount",
1724
- outputs: [],
1725
- stateMutability: "nonpayable",
1726
- type: "function",
1599
+ anonymous: false,
1727
1600
  },
1728
1601
  {
1602
+ type: "event",
1603
+ name: "SMvpTokenTransferrersUpdated",
1729
1604
  inputs: [
1730
- { internalType: "uint16", name: "newMinTierFeeBps", type: "uint16" },
1731
- { internalType: "uint16", name: "newMaxTierFeeBps", type: "uint16" },
1605
+ { name: "account", type: "address", indexed: true, internalType: "address" },
1606
+ { name: "isAdded", type: "bool", indexed: false, internalType: "bool" },
1732
1607
  ],
1733
- name: "updateTierFees",
1734
- outputs: [],
1735
- stateMutability: "nonpayable",
1736
- type: "function",
1608
+ anonymous: false,
1737
1609
  },
1738
1610
  {
1611
+ type: "event",
1612
+ name: "TargetMvpAmountUpdated",
1739
1613
  inputs: [
1740
- { internalType: "bytes6", name: "tournamentId", type: "bytes6" },
1741
- { internalType: "uint256", name: "maxBetsPerMarket", type: "uint256" },
1742
- { internalType: "bytes32", name: "whitelistMerkleRoot", type: "bytes32" },
1743
- { internalType: "address[]", name: "assets", type: "address[]" },
1744
- { internalType: "uint256[]", name: "minBetCollaterals", type: "uint256[]" },
1745
- { internalType: "uint256[]", name: "maxBetCollaterals", type: "uint256[]" },
1614
+ { name: "asset", type: "address", indexed: true, internalType: "address" },
1615
+ { name: "oldAmount", type: "uint256", indexed: true, internalType: "uint256" },
1616
+ { name: "newAmount", type: "uint256", indexed: true, internalType: "uint256" },
1746
1617
  ],
1747
- name: "updateTournamentConfig",
1748
- outputs: [],
1749
- stateMutability: "nonpayable",
1750
- type: "function",
1618
+ anonymous: false,
1751
1619
  },
1752
1620
  {
1753
- inputs: [{ internalType: "uint16", name: "newTxFeeBps", type: "uint16" }],
1754
- name: "updateTxFeeBps",
1755
- outputs: [],
1756
- stateMutability: "nonpayable",
1757
- type: "function",
1621
+ type: "event",
1622
+ name: "TierFeesUpdated",
1623
+ inputs: [
1624
+ { name: "prevMinTierFeeBps", type: "uint16", indexed: false, internalType: "uint16" },
1625
+ { name: "newMinTierFeeBps", type: "uint16", indexed: false, internalType: "uint16" },
1626
+ { name: "prevMaxTierFeeBps", type: "uint16", indexed: false, internalType: "uint16" },
1627
+ { name: "newMaxTierFeeBps", type: "uint16", indexed: false, internalType: "uint16" },
1628
+ ],
1629
+ anonymous: false,
1758
1630
  },
1759
1631
  {
1760
- inputs: [{ internalType: "uint16", name: "newFee", type: "uint16" }],
1761
- name: "updateWeightFeeBps",
1762
- outputs: [],
1763
- stateMutability: "nonpayable",
1764
- type: "function",
1632
+ type: "event",
1633
+ name: "TournamentConfigInitialized",
1634
+ inputs: [{ name: "tournamentId", type: "bytes6", indexed: true, internalType: "bytes6" }],
1635
+ anonymous: false,
1765
1636
  },
1766
1637
  {
1767
- inputs: [{ internalType: "uint48", name: "newWindow", type: "uint48" }],
1768
- name: "updateWithdrawalExecutionWindow",
1769
- outputs: [],
1770
- stateMutability: "nonpayable",
1771
- type: "function",
1638
+ type: "event",
1639
+ name: "TournamentMaxBetCollateralUpdated",
1640
+ inputs: [
1641
+ { name: "tournamentId", type: "bytes6", indexed: true, internalType: "bytes6" },
1642
+ { name: "asset", type: "address", indexed: true, internalType: "address" },
1643
+ { name: "oldMaxCollateral", type: "uint256", indexed: false, internalType: "uint256" },
1644
+ { name: "newMaxCollateral", type: "uint256", indexed: false, internalType: "uint256" },
1645
+ ],
1646
+ anonymous: false,
1772
1647
  },
1773
1648
  {
1774
- inputs: [{ internalType: "uint48", name: "newWindow", type: "uint48" }],
1775
- name: "updateWithdrawalRequestWindow",
1776
- outputs: [],
1777
- stateMutability: "nonpayable",
1778
- type: "function",
1649
+ type: "event",
1650
+ name: "TournamentMaxBetsPerMarketUpdated",
1651
+ inputs: [
1652
+ { name: "tournamentId", type: "bytes6", indexed: true, internalType: "bytes6" },
1653
+ { name: "oldMaxBetsPerMarket", type: "uint256", indexed: false, internalType: "uint256" },
1654
+ { name: "newMaxBetsPerMarket", type: "uint256", indexed: false, internalType: "uint256" },
1655
+ ],
1656
+ anonymous: false,
1779
1657
  },
1780
1658
  {
1781
- inputs: [{ internalType: "uint8", name: "newWaitRounds", type: "uint8" }],
1782
- name: "updateWithdrawalWaitRounds",
1783
- outputs: [],
1784
- stateMutability: "nonpayable",
1785
- type: "function",
1659
+ type: "event",
1660
+ name: "TournamentMinBetCollateralUpdated",
1661
+ inputs: [
1662
+ { name: "tournamentId", type: "bytes6", indexed: true, internalType: "bytes6" },
1663
+ { name: "asset", type: "address", indexed: true, internalType: "address" },
1664
+ { name: "oldMinCollateral", type: "uint256", indexed: false, internalType: "uint256" },
1665
+ { name: "newMinCollateral", type: "uint256", indexed: false, internalType: "uint256" },
1666
+ ],
1667
+ anonymous: false,
1786
1668
  },
1787
1669
  {
1788
- inputs: [],
1789
- name: "weightFeeBps",
1790
- outputs: [{ internalType: "uint16", name: "", type: "uint16" }],
1791
- stateMutability: "view",
1792
- type: "function",
1670
+ type: "event",
1671
+ name: "TournamentWhitelistMerkleRootUpdated",
1672
+ inputs: [
1673
+ { name: "tournamentId", type: "bytes6", indexed: true, internalType: "bytes6" },
1674
+ { name: "oldMerkleRoot", type: "bytes32", indexed: false, internalType: "bytes32" },
1675
+ { name: "newMerkleRoot", type: "bytes32", indexed: false, internalType: "bytes32" },
1676
+ ],
1677
+ anonymous: false,
1793
1678
  },
1794
1679
  {
1795
- inputs: [],
1796
- name: "withdrawalExecutionWindow",
1797
- outputs: [{ internalType: "uint48", name: "", type: "uint48" }],
1798
- stateMutability: "view",
1799
- type: "function",
1680
+ type: "event",
1681
+ name: "TxFeeBpsUpdated",
1682
+ inputs: [
1683
+ { name: "oldTxFeeBps", type: "uint16", indexed: false, internalType: "uint16" },
1684
+ { name: "newTxFeeBps", type: "uint16", indexed: false, internalType: "uint16" },
1685
+ ],
1686
+ anonymous: false,
1800
1687
  },
1801
1688
  {
1802
- inputs: [],
1803
- name: "withdrawalRequestWindow",
1804
- outputs: [{ internalType: "uint48", name: "", type: "uint48" }],
1805
- stateMutability: "view",
1806
- type: "function",
1689
+ type: "event",
1690
+ name: "UpdatedAssetStalenessAge",
1691
+ inputs: [
1692
+ { name: "asset", type: "address", indexed: false, internalType: "address" },
1693
+ { name: "prevAge", type: "uint48", indexed: false, internalType: "uint48" },
1694
+ { name: "newAge", type: "uint48", indexed: false, internalType: "uint48" },
1695
+ ],
1696
+ anonymous: false,
1807
1697
  },
1808
1698
  {
1809
- inputs: [],
1810
- name: "withdrawalWaitRounds",
1811
- outputs: [{ internalType: "uint8", name: "", type: "uint8" }],
1812
- stateMutability: "view",
1813
- type: "function",
1699
+ type: "event",
1700
+ name: "UpdatedPythAge",
1701
+ inputs: [
1702
+ { name: "prevAge", type: "uint48", indexed: true, internalType: "uint48" },
1703
+ { name: "newAge", type: "uint48", indexed: true, internalType: "uint48" },
1704
+ ],
1705
+ anonymous: false,
1706
+ },
1707
+ {
1708
+ type: "event",
1709
+ name: "UserLeveragesUpdated",
1710
+ inputs: [
1711
+ { name: "prevMinUserLeverage", type: "uint8", indexed: false, internalType: "uint8" },
1712
+ { name: "newMinUserLeverage", type: "uint8", indexed: false, internalType: "uint8" },
1713
+ { name: "prevMaxUserLeverage", type: "uint8", indexed: false, internalType: "uint8" },
1714
+ { name: "newMaxUserLeverage", type: "uint8", indexed: false, internalType: "uint8" },
1715
+ ],
1716
+ anonymous: false,
1717
+ },
1718
+ {
1719
+ type: "event",
1720
+ name: "VaultAssetRemoved",
1721
+ inputs: [{ name: "asset", type: "address", indexed: true, internalType: "address" }],
1722
+ anonymous: false,
1723
+ },
1724
+ {
1725
+ type: "event",
1726
+ name: "VaultRoundDurationUpdated",
1727
+ inputs: [
1728
+ { name: "oldMaxRoundDuration", type: "uint48", indexed: true, internalType: "uint48" },
1729
+ { name: "newRoundDuration", type: "uint48", indexed: true, internalType: "uint48" },
1730
+ ],
1731
+ anonymous: false,
1732
+ },
1733
+ {
1734
+ type: "event",
1735
+ name: "WeightFeeBpsUpdated",
1736
+ inputs: [
1737
+ { name: "oldFee", type: "uint16", indexed: true, internalType: "uint16" },
1738
+ { name: "newFee", type: "uint16", indexed: true, internalType: "uint16" },
1739
+ ],
1740
+ anonymous: false,
1741
+ },
1742
+ {
1743
+ type: "event",
1744
+ name: "WithdrawalExecutionWindowUpdated",
1745
+ inputs: [
1746
+ { name: "oldWindow", type: "uint48", indexed: true, internalType: "uint48" },
1747
+ { name: "newWindow", type: "uint48", indexed: true, internalType: "uint48" },
1748
+ ],
1749
+ anonymous: false,
1750
+ },
1751
+ {
1752
+ type: "event",
1753
+ name: "WithdrawalRequestWindowUpdated",
1754
+ inputs: [
1755
+ { name: "oldWindow", type: "uint48", indexed: true, internalType: "uint48" },
1756
+ { name: "newWindow", type: "uint48", indexed: true, internalType: "uint48" },
1757
+ ],
1758
+ anonymous: false,
1759
+ },
1760
+ {
1761
+ type: "event",
1762
+ name: "WithdrawalWaitRoundsUpdated",
1763
+ inputs: [
1764
+ { name: "oldWaitRounds", type: "uint8", indexed: false, internalType: "uint8" },
1765
+ { name: "newWaitRounds", type: "uint8", indexed: false, internalType: "uint8" },
1766
+ ],
1767
+ anonymous: false,
1768
+ },
1769
+ { type: "error", name: "AccessControlBadConfirmation", inputs: [] },
1770
+ {
1771
+ type: "error",
1772
+ name: "AccessControlUnauthorizedAccount",
1773
+ inputs: [
1774
+ { name: "account", type: "address", internalType: "address" },
1775
+ { name: "neededRole", type: "bytes32", internalType: "bytes32" },
1776
+ ],
1777
+ },
1778
+ { type: "error", name: "LCP_ALREADY_VAULT_ASSET", inputs: [{ name: "asset", type: "address", internalType: "address" }] },
1779
+ { type: "error", name: "LCP_EXISTING_ASSETS_MISMATCH", inputs: [] },
1780
+ { type: "error", name: "LCP_INVALID_ADDRESS", inputs: [] },
1781
+ { type: "error", name: "LCP_INVALID_ARRAY_LENGTH", inputs: [] },
1782
+ { type: "error", name: "LCP_INVALID_BPS", inputs: [] },
1783
+ { type: "error", name: "LCP_INVALID_MAX_ROUND_DURATION", inputs: [] },
1784
+ { type: "error", name: "LCP_INVALID_MIN_DEPOSIT_VALUE", inputs: [] },
1785
+ { type: "error", name: "LCP_INVALID_MIN_INITIAL_DEPOSIT_VALUE", inputs: [] },
1786
+ { type: "error", name: "LCP_INVALID_PYTH_AGE", inputs: [] },
1787
+ { type: "error", name: "LCP_INVALID_PYTH_FEED_ID", inputs: [] },
1788
+ { type: "error", name: "LCP_INVALID_ROUND_DURATION", inputs: [] },
1789
+ { type: "error", name: "LCP_INVALID_VAULT_ASSET", inputs: [] },
1790
+ { type: "error", name: "LCP_INVALID_WITHDRAWAL_EXECUTION_WINDOW", inputs: [] },
1791
+ { type: "error", name: "LCP_INVALID_WITHDRAWAL_REQUEST_WINDOW", inputs: [] },
1792
+ { type: "error", name: "LCP_INVALID_WITHDRAWAL_WAIT_ROUNDS", inputs: [] },
1793
+ { type: "error", name: "LCP_LEVR_MVP_ALREADY_SET", inputs: [] },
1794
+ { type: "error", name: "LDPC_ALREADY_DEPRECATED", inputs: [] },
1795
+ { type: "error", name: "LDPC_INVALID_ADDRESS", inputs: [] },
1796
+ { type: "error", name: "LFC_INVALID_BPS", inputs: [] },
1797
+ { type: "error", name: "LFMC_INVALID_ADDRESS", inputs: [] },
1798
+ { type: "error", name: "LMC_INVALID_ADDRESS", inputs: [] },
1799
+ { type: "error", name: "LMC_INVALID_ASSET_COLLATERAL_LENGTH", inputs: [] },
1800
+ {
1801
+ type: "error",
1802
+ name: "LMC_INVALID_COLLATERAL_LIMITS",
1803
+ inputs: [
1804
+ { name: "asset", type: "address", internalType: "address" },
1805
+ { name: "minCollateral", type: "uint256", internalType: "uint256" },
1806
+ { name: "maxCollateral", type: "uint256", internalType: "uint256" },
1807
+ ],
1814
1808
  },
1809
+ { type: "error", name: "LMC_INVALID_FEE_BPS", inputs: [] },
1810
+ { type: "error", name: "LMC_INVALID_LIQUIDATION_BUFFER_BPS", inputs: [] },
1811
+ { type: "error", name: "LMC_INVALID_MERKLE_ROOT", inputs: [] },
1812
+ { type: "error", name: "LMC_INVALID_TOURNAMENT_ID", inputs: [] },
1813
+ { type: "error", name: "LMC_INVALID_USER_LEVERAGES", inputs: [] },
1814
+ { type: "error", name: "LOC_INVALID_BPS", inputs: [] },
1815
1815
  ];
1816
1816
  //# sourceMappingURL=LevrConfigProvider.js.map