@venusprotocol/protocol-reserve 2.3.0-dev.3 → 2.3.0-dev.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (120) hide show
  1. package/deployments/zksyncmainnet/.chainId +1 -0
  2. package/deployments/zksyncmainnet/DefaultProxyAdmin.json +284 -0
  3. package/deployments/zksyncmainnet/ProtocolShareReserve.json +1149 -0
  4. package/deployments/zksyncmainnet/ProtocolShareReserve_Implementation.json +1383 -0
  5. package/deployments/zksyncmainnet/ProtocolShareReserve_Proxy.json +370 -0
  6. package/deployments/zksyncmainnet/solcInputs/7f8b905cd18f295f8d1e22a3432f9a06.json +271 -0
  7. package/deployments/zksyncmainnet.json +2023 -0
  8. package/deployments/zksyncmainnet_addresses.json +10 -0
  9. package/dist/helpers/utils.d.ts.map +1 -1
  10. package/dist/helpers/utils.js +1 -0
  11. package/dist/helpers/utils.js.map +1 -1
  12. package/dist/typechain/factories/BeaconProxy__factory.d.ts +1 -1
  13. package/dist/typechain/factories/BeaconProxy__factory.d.ts.map +1 -1
  14. package/dist/typechain/factories/BeaconProxy__factory.js +1 -1
  15. package/dist/typechain/factories/BeaconProxy__factory.js.map +1 -1
  16. package/dist/typechain/factories/ConverterNetwork__factory.d.ts +1 -1
  17. package/dist/typechain/factories/ConverterNetwork__factory.d.ts.map +1 -1
  18. package/dist/typechain/factories/ConverterNetwork__factory.js +1 -1
  19. package/dist/typechain/factories/ConverterNetwork__factory.js.map +1 -1
  20. package/dist/typechain/factories/ERC1967Proxy__factory.d.ts +1 -1
  21. package/dist/typechain/factories/ERC1967Proxy__factory.d.ts.map +1 -1
  22. package/dist/typechain/factories/ERC1967Proxy__factory.js +1 -1
  23. package/dist/typechain/factories/ERC1967Proxy__factory.js.map +1 -1
  24. package/dist/typechain/factories/ERC20__factory.d.ts +1 -1
  25. package/dist/typechain/factories/ERC20__factory.d.ts.map +1 -1
  26. package/dist/typechain/factories/ERC20__factory.js +1 -1
  27. package/dist/typechain/factories/ERC20__factory.js.map +1 -1
  28. package/dist/typechain/factories/MaxLoopsLimitHelpersStorage__factory.d.ts +1 -1
  29. package/dist/typechain/factories/MaxLoopsLimitHelpersStorage__factory.js +1 -1
  30. package/dist/typechain/factories/MockACM__factory.d.ts +1 -1
  31. package/dist/typechain/factories/MockACM__factory.d.ts.map +1 -1
  32. package/dist/typechain/factories/MockACM__factory.js +1 -1
  33. package/dist/typechain/factories/MockACM__factory.js.map +1 -1
  34. package/dist/typechain/factories/MockArraySorter__factory.d.ts +1 -1
  35. package/dist/typechain/factories/MockArraySorter__factory.js +1 -1
  36. package/dist/typechain/factories/MockConverter__factory.d.ts +1 -1
  37. package/dist/typechain/factories/MockConverter__factory.d.ts.map +1 -1
  38. package/dist/typechain/factories/MockConverter__factory.js +1 -1
  39. package/dist/typechain/factories/MockConverter__factory.js.map +1 -1
  40. package/dist/typechain/factories/MockDeflatingToken__factory.d.ts +1 -1
  41. package/dist/typechain/factories/MockDeflatingToken__factory.d.ts.map +1 -1
  42. package/dist/typechain/factories/MockDeflatingToken__factory.js +1 -1
  43. package/dist/typechain/factories/MockDeflatingToken__factory.js.map +1 -1
  44. package/dist/typechain/factories/MockRiskFundConverter__factory.d.ts +1 -1
  45. package/dist/typechain/factories/MockRiskFundConverter__factory.d.ts.map +1 -1
  46. package/dist/typechain/factories/MockRiskFundConverter__factory.js +1 -1
  47. package/dist/typechain/factories/MockRiskFundConverter__factory.js.map +1 -1
  48. package/dist/typechain/factories/MockToken__factory.d.ts +1 -1
  49. package/dist/typechain/factories/MockToken__factory.d.ts.map +1 -1
  50. package/dist/typechain/factories/MockToken__factory.js +1 -1
  51. package/dist/typechain/factories/MockToken__factory.js.map +1 -1
  52. package/dist/typechain/factories/OptimizedTransparentUpgradeableProxy__factory.d.ts +1 -1
  53. package/dist/typechain/factories/OptimizedTransparentUpgradeableProxy__factory.d.ts.map +1 -1
  54. package/dist/typechain/factories/OptimizedTransparentUpgradeableProxy__factory.js +1 -1
  55. package/dist/typechain/factories/OptimizedTransparentUpgradeableProxy__factory.js.map +1 -1
  56. package/dist/typechain/factories/ProtocolShareReserve__factory.d.ts +1 -1
  57. package/dist/typechain/factories/ProtocolShareReserve__factory.d.ts.map +1 -1
  58. package/dist/typechain/factories/ProtocolShareReserve__factory.js +1 -1
  59. package/dist/typechain/factories/ProtocolShareReserve__factory.js.map +1 -1
  60. package/dist/typechain/factories/ProxyAdmin__factory.d.ts +1 -1
  61. package/dist/typechain/factories/ProxyAdmin__factory.d.ts.map +1 -1
  62. package/dist/typechain/factories/ProxyAdmin__factory.js +1 -1
  63. package/dist/typechain/factories/ProxyAdmin__factory.js.map +1 -1
  64. package/dist/typechain/factories/ReserveHelpersStorage__factory.d.ts +1 -1
  65. package/dist/typechain/factories/ReserveHelpersStorage__factory.js +1 -1
  66. package/dist/typechain/factories/ResilientOracle__factory.d.ts +1 -1
  67. package/dist/typechain/factories/ResilientOracle__factory.d.ts.map +1 -1
  68. package/dist/typechain/factories/ResilientOracle__factory.js +1 -1
  69. package/dist/typechain/factories/ResilientOracle__factory.js.map +1 -1
  70. package/dist/typechain/factories/RiskFundConverter__factory.d.ts +1 -1
  71. package/dist/typechain/factories/RiskFundConverter__factory.d.ts.map +1 -1
  72. package/dist/typechain/factories/RiskFundConverter__factory.js +1 -1
  73. package/dist/typechain/factories/RiskFundConverter__factory.js.map +1 -1
  74. package/dist/typechain/factories/RiskFundV1Storage__factory.d.ts +1 -1
  75. package/dist/typechain/factories/RiskFundV1Storage__factory.js +1 -1
  76. package/dist/typechain/factories/RiskFundV2Storage__factory.d.ts +1 -1
  77. package/dist/typechain/factories/RiskFundV2Storage__factory.js +1 -1
  78. package/dist/typechain/factories/RiskFundV2__factory.d.ts +1 -1
  79. package/dist/typechain/factories/RiskFundV2__factory.d.ts.map +1 -1
  80. package/dist/typechain/factories/RiskFundV2__factory.js +1 -1
  81. package/dist/typechain/factories/RiskFundV2__factory.js.map +1 -1
  82. package/dist/typechain/factories/SingleTokenConverter__factory.d.ts +1 -1
  83. package/dist/typechain/factories/SingleTokenConverter__factory.d.ts.map +1 -1
  84. package/dist/typechain/factories/SingleTokenConverter__factory.js +1 -1
  85. package/dist/typechain/factories/SingleTokenConverter__factory.js.map +1 -1
  86. package/dist/typechain/factories/TransparentUpgradeableProxy__factory.d.ts +1 -1
  87. package/dist/typechain/factories/TransparentUpgradeableProxy__factory.d.ts.map +1 -1
  88. package/dist/typechain/factories/TransparentUpgradeableProxy__factory.js +1 -1
  89. package/dist/typechain/factories/TransparentUpgradeableProxy__factory.js.map +1 -1
  90. package/dist/typechain/factories/UpgradeableBeacon__factory.d.ts +1 -1
  91. package/dist/typechain/factories/UpgradeableBeacon__factory.js +1 -1
  92. package/dist/typechain/factories/XVSVaultTreasury__factory.d.ts +1 -1
  93. package/dist/typechain/factories/XVSVaultTreasury__factory.d.ts.map +1 -1
  94. package/dist/typechain/factories/XVSVaultTreasury__factory.js +1 -1
  95. package/dist/typechain/factories/XVSVaultTreasury__factory.js.map +1 -1
  96. package/package.json +1 -1
  97. package/typechain/factories/BeaconProxy__factory.ts +1 -1
  98. package/typechain/factories/ConverterNetwork__factory.ts +1 -1
  99. package/typechain/factories/ERC1967Proxy__factory.ts +1 -1
  100. package/typechain/factories/ERC20__factory.ts +1 -1
  101. package/typechain/factories/MaxLoopsLimitHelpersStorage__factory.ts +1 -1
  102. package/typechain/factories/MockACM__factory.ts +1 -1
  103. package/typechain/factories/MockArraySorter__factory.ts +1 -1
  104. package/typechain/factories/MockConverter__factory.ts +1 -1
  105. package/typechain/factories/MockDeflatingToken__factory.ts +1 -1
  106. package/typechain/factories/MockRiskFundConverter__factory.ts +1 -1
  107. package/typechain/factories/MockToken__factory.ts +1 -1
  108. package/typechain/factories/OptimizedTransparentUpgradeableProxy__factory.ts +1 -1
  109. package/typechain/factories/ProtocolShareReserve__factory.ts +1 -1
  110. package/typechain/factories/ProxyAdmin__factory.ts +1 -1
  111. package/typechain/factories/ReserveHelpersStorage__factory.ts +1 -1
  112. package/typechain/factories/ResilientOracle__factory.ts +1 -1
  113. package/typechain/factories/RiskFundConverter__factory.ts +1 -1
  114. package/typechain/factories/RiskFundV1Storage__factory.ts +1 -1
  115. package/typechain/factories/RiskFundV2Storage__factory.ts +1 -1
  116. package/typechain/factories/RiskFundV2__factory.ts +1 -1
  117. package/typechain/factories/SingleTokenConverter__factory.ts +1 -1
  118. package/typechain/factories/TransparentUpgradeableProxy__factory.ts +1 -1
  119. package/typechain/factories/UpgradeableBeacon__factory.ts +1 -1
  120. package/typechain/factories/XVSVaultTreasury__factory.ts +1 -1
@@ -0,0 +1,2023 @@
1
+ {
2
+ "name": "zksyncmainnet",
3
+ "chainId": "324",
4
+ "contracts": {
5
+ "DefaultProxyAdmin": {
6
+ "address": "0x8Ea1A989B036f7Ef21bb95CE4E7961522Ca00287",
7
+ "abi": [
8
+ {
9
+ "inputs": [
10
+ {
11
+ "internalType": "address",
12
+ "name": "initialOwner",
13
+ "type": "address"
14
+ }
15
+ ],
16
+ "stateMutability": "nonpayable",
17
+ "type": "constructor"
18
+ },
19
+ {
20
+ "anonymous": false,
21
+ "inputs": [
22
+ {
23
+ "indexed": true,
24
+ "internalType": "address",
25
+ "name": "previousOwner",
26
+ "type": "address"
27
+ },
28
+ {
29
+ "indexed": true,
30
+ "internalType": "address",
31
+ "name": "newOwner",
32
+ "type": "address"
33
+ }
34
+ ],
35
+ "name": "OwnershipTransferred",
36
+ "type": "event"
37
+ },
38
+ {
39
+ "inputs": [
40
+ {
41
+ "internalType": "contract TransparentUpgradeableProxy",
42
+ "name": "proxy",
43
+ "type": "address"
44
+ },
45
+ {
46
+ "internalType": "address",
47
+ "name": "newAdmin",
48
+ "type": "address"
49
+ }
50
+ ],
51
+ "name": "changeProxyAdmin",
52
+ "outputs": [],
53
+ "stateMutability": "nonpayable",
54
+ "type": "function"
55
+ },
56
+ {
57
+ "inputs": [
58
+ {
59
+ "internalType": "contract TransparentUpgradeableProxy",
60
+ "name": "proxy",
61
+ "type": "address"
62
+ }
63
+ ],
64
+ "name": "getProxyAdmin",
65
+ "outputs": [
66
+ {
67
+ "internalType": "address",
68
+ "name": "",
69
+ "type": "address"
70
+ }
71
+ ],
72
+ "stateMutability": "view",
73
+ "type": "function"
74
+ },
75
+ {
76
+ "inputs": [
77
+ {
78
+ "internalType": "contract TransparentUpgradeableProxy",
79
+ "name": "proxy",
80
+ "type": "address"
81
+ }
82
+ ],
83
+ "name": "getProxyImplementation",
84
+ "outputs": [
85
+ {
86
+ "internalType": "address",
87
+ "name": "",
88
+ "type": "address"
89
+ }
90
+ ],
91
+ "stateMutability": "view",
92
+ "type": "function"
93
+ },
94
+ {
95
+ "inputs": [],
96
+ "name": "owner",
97
+ "outputs": [
98
+ {
99
+ "internalType": "address",
100
+ "name": "",
101
+ "type": "address"
102
+ }
103
+ ],
104
+ "stateMutability": "view",
105
+ "type": "function"
106
+ },
107
+ {
108
+ "inputs": [],
109
+ "name": "renounceOwnership",
110
+ "outputs": [],
111
+ "stateMutability": "nonpayable",
112
+ "type": "function"
113
+ },
114
+ {
115
+ "inputs": [
116
+ {
117
+ "internalType": "address",
118
+ "name": "newOwner",
119
+ "type": "address"
120
+ }
121
+ ],
122
+ "name": "transferOwnership",
123
+ "outputs": [],
124
+ "stateMutability": "nonpayable",
125
+ "type": "function"
126
+ },
127
+ {
128
+ "inputs": [
129
+ {
130
+ "internalType": "contract TransparentUpgradeableProxy",
131
+ "name": "proxy",
132
+ "type": "address"
133
+ },
134
+ {
135
+ "internalType": "address",
136
+ "name": "implementation",
137
+ "type": "address"
138
+ }
139
+ ],
140
+ "name": "upgrade",
141
+ "outputs": [],
142
+ "stateMutability": "nonpayable",
143
+ "type": "function"
144
+ },
145
+ {
146
+ "inputs": [
147
+ {
148
+ "internalType": "contract TransparentUpgradeableProxy",
149
+ "name": "proxy",
150
+ "type": "address"
151
+ },
152
+ {
153
+ "internalType": "address",
154
+ "name": "implementation",
155
+ "type": "address"
156
+ },
157
+ {
158
+ "internalType": "bytes",
159
+ "name": "data",
160
+ "type": "bytes"
161
+ }
162
+ ],
163
+ "name": "upgradeAndCall",
164
+ "outputs": [],
165
+ "stateMutability": "payable",
166
+ "type": "function"
167
+ }
168
+ ]
169
+ },
170
+ "ProtocolShareReserve": {
171
+ "address": "0xA1193e941BDf34E858f7F276221B4886EfdD040b",
172
+ "abi": [
173
+ {
174
+ "anonymous": false,
175
+ "inputs": [
176
+ {
177
+ "indexed": false,
178
+ "internalType": "address",
179
+ "name": "previousAdmin",
180
+ "type": "address"
181
+ },
182
+ {
183
+ "indexed": false,
184
+ "internalType": "address",
185
+ "name": "newAdmin",
186
+ "type": "address"
187
+ }
188
+ ],
189
+ "name": "AdminChanged",
190
+ "type": "event"
191
+ },
192
+ {
193
+ "anonymous": false,
194
+ "inputs": [
195
+ {
196
+ "indexed": true,
197
+ "internalType": "address",
198
+ "name": "beacon",
199
+ "type": "address"
200
+ }
201
+ ],
202
+ "name": "BeaconUpgraded",
203
+ "type": "event"
204
+ },
205
+ {
206
+ "anonymous": false,
207
+ "inputs": [
208
+ {
209
+ "indexed": true,
210
+ "internalType": "address",
211
+ "name": "implementation",
212
+ "type": "address"
213
+ }
214
+ ],
215
+ "name": "Upgraded",
216
+ "type": "event"
217
+ },
218
+ {
219
+ "stateMutability": "payable",
220
+ "type": "fallback"
221
+ },
222
+ {
223
+ "inputs": [],
224
+ "name": "admin",
225
+ "outputs": [
226
+ {
227
+ "internalType": "address",
228
+ "name": "admin_",
229
+ "type": "address"
230
+ }
231
+ ],
232
+ "stateMutability": "nonpayable",
233
+ "type": "function"
234
+ },
235
+ {
236
+ "inputs": [],
237
+ "name": "implementation",
238
+ "outputs": [
239
+ {
240
+ "internalType": "address",
241
+ "name": "implementation_",
242
+ "type": "address"
243
+ }
244
+ ],
245
+ "stateMutability": "nonpayable",
246
+ "type": "function"
247
+ },
248
+ {
249
+ "inputs": [
250
+ {
251
+ "internalType": "address",
252
+ "name": "newImplementation",
253
+ "type": "address"
254
+ }
255
+ ],
256
+ "name": "upgradeTo",
257
+ "outputs": [],
258
+ "stateMutability": "nonpayable",
259
+ "type": "function"
260
+ },
261
+ {
262
+ "inputs": [
263
+ {
264
+ "internalType": "address",
265
+ "name": "newImplementation",
266
+ "type": "address"
267
+ },
268
+ {
269
+ "internalType": "bytes",
270
+ "name": "data",
271
+ "type": "bytes"
272
+ }
273
+ ],
274
+ "name": "upgradeToAndCall",
275
+ "outputs": [],
276
+ "stateMutability": "payable",
277
+ "type": "function"
278
+ },
279
+ {
280
+ "stateMutability": "payable",
281
+ "type": "receive"
282
+ },
283
+ {
284
+ "inputs": [],
285
+ "name": "InvalidAddress",
286
+ "type": "error"
287
+ },
288
+ {
289
+ "inputs": [],
290
+ "name": "InvalidTotalPercentage",
291
+ "type": "error"
292
+ },
293
+ {
294
+ "inputs": [
295
+ {
296
+ "internalType": "uint256",
297
+ "name": "loopsLimit",
298
+ "type": "uint256"
299
+ },
300
+ {
301
+ "internalType": "uint256",
302
+ "name": "requiredLoops",
303
+ "type": "uint256"
304
+ }
305
+ ],
306
+ "name": "MaxLoopsLimitExceeded",
307
+ "type": "error"
308
+ },
309
+ {
310
+ "inputs": [
311
+ {
312
+ "internalType": "address",
313
+ "name": "sender",
314
+ "type": "address"
315
+ },
316
+ {
317
+ "internalType": "address",
318
+ "name": "calledContract",
319
+ "type": "address"
320
+ },
321
+ {
322
+ "internalType": "string",
323
+ "name": "methodSignature",
324
+ "type": "string"
325
+ }
326
+ ],
327
+ "name": "Unauthorized",
328
+ "type": "error"
329
+ },
330
+ {
331
+ "inputs": [],
332
+ "name": "ZeroAddressNotAllowed",
333
+ "type": "error"
334
+ },
335
+ {
336
+ "anonymous": false,
337
+ "inputs": [
338
+ {
339
+ "indexed": true,
340
+ "internalType": "address",
341
+ "name": "destination",
342
+ "type": "address"
343
+ },
344
+ {
345
+ "indexed": true,
346
+ "internalType": "address",
347
+ "name": "asset",
348
+ "type": "address"
349
+ },
350
+ {
351
+ "indexed": false,
352
+ "internalType": "enum ProtocolShareReserve.Schema",
353
+ "name": "schema",
354
+ "type": "uint8"
355
+ },
356
+ {
357
+ "indexed": false,
358
+ "internalType": "uint256",
359
+ "name": "percent",
360
+ "type": "uint256"
361
+ },
362
+ {
363
+ "indexed": false,
364
+ "internalType": "uint256",
365
+ "name": "amount",
366
+ "type": "uint256"
367
+ }
368
+ ],
369
+ "name": "AssetReleased",
370
+ "type": "event"
371
+ },
372
+ {
373
+ "anonymous": false,
374
+ "inputs": [
375
+ {
376
+ "indexed": true,
377
+ "internalType": "address",
378
+ "name": "comptroller",
379
+ "type": "address"
380
+ },
381
+ {
382
+ "indexed": true,
383
+ "internalType": "address",
384
+ "name": "asset",
385
+ "type": "address"
386
+ },
387
+ {
388
+ "indexed": false,
389
+ "internalType": "uint256",
390
+ "name": "amount",
391
+ "type": "uint256"
392
+ },
393
+ {
394
+ "indexed": false,
395
+ "internalType": "enum IProtocolShareReserve.IncomeType",
396
+ "name": "incomeType",
397
+ "type": "uint8"
398
+ },
399
+ {
400
+ "indexed": false,
401
+ "internalType": "enum ProtocolShareReserve.Schema",
402
+ "name": "schema",
403
+ "type": "uint8"
404
+ }
405
+ ],
406
+ "name": "AssetsReservesUpdated",
407
+ "type": "event"
408
+ },
409
+ {
410
+ "anonymous": false,
411
+ "inputs": [
412
+ {
413
+ "indexed": true,
414
+ "internalType": "address",
415
+ "name": "destination",
416
+ "type": "address"
417
+ },
418
+ {
419
+ "indexed": false,
420
+ "internalType": "uint16",
421
+ "name": "percentage",
422
+ "type": "uint16"
423
+ },
424
+ {
425
+ "indexed": false,
426
+ "internalType": "enum ProtocolShareReserve.Schema",
427
+ "name": "schema",
428
+ "type": "uint8"
429
+ }
430
+ ],
431
+ "name": "DistributionConfigAdded",
432
+ "type": "event"
433
+ },
434
+ {
435
+ "anonymous": false,
436
+ "inputs": [
437
+ {
438
+ "indexed": true,
439
+ "internalType": "address",
440
+ "name": "destination",
441
+ "type": "address"
442
+ },
443
+ {
444
+ "indexed": false,
445
+ "internalType": "uint16",
446
+ "name": "percentage",
447
+ "type": "uint16"
448
+ },
449
+ {
450
+ "indexed": false,
451
+ "internalType": "enum ProtocolShareReserve.Schema",
452
+ "name": "schema",
453
+ "type": "uint8"
454
+ }
455
+ ],
456
+ "name": "DistributionConfigRemoved",
457
+ "type": "event"
458
+ },
459
+ {
460
+ "anonymous": false,
461
+ "inputs": [
462
+ {
463
+ "indexed": true,
464
+ "internalType": "address",
465
+ "name": "destination",
466
+ "type": "address"
467
+ },
468
+ {
469
+ "indexed": false,
470
+ "internalType": "uint16",
471
+ "name": "oldPercentage",
472
+ "type": "uint16"
473
+ },
474
+ {
475
+ "indexed": false,
476
+ "internalType": "uint16",
477
+ "name": "newPercentage",
478
+ "type": "uint16"
479
+ },
480
+ {
481
+ "indexed": false,
482
+ "internalType": "enum ProtocolShareReserve.Schema",
483
+ "name": "schema",
484
+ "type": "uint8"
485
+ }
486
+ ],
487
+ "name": "DistributionConfigUpdated",
488
+ "type": "event"
489
+ },
490
+ {
491
+ "anonymous": false,
492
+ "inputs": [
493
+ {
494
+ "indexed": false,
495
+ "internalType": "uint8",
496
+ "name": "version",
497
+ "type": "uint8"
498
+ }
499
+ ],
500
+ "name": "Initialized",
501
+ "type": "event"
502
+ },
503
+ {
504
+ "anonymous": false,
505
+ "inputs": [
506
+ {
507
+ "indexed": false,
508
+ "internalType": "uint256",
509
+ "name": "oldMaxLoopsLimit",
510
+ "type": "uint256"
511
+ },
512
+ {
513
+ "indexed": false,
514
+ "internalType": "uint256",
515
+ "name": "newmaxLoopsLimit",
516
+ "type": "uint256"
517
+ }
518
+ ],
519
+ "name": "MaxLoopsLimitUpdated",
520
+ "type": "event"
521
+ },
522
+ {
523
+ "anonymous": false,
524
+ "inputs": [
525
+ {
526
+ "indexed": false,
527
+ "internalType": "address",
528
+ "name": "oldAccessControlManager",
529
+ "type": "address"
530
+ },
531
+ {
532
+ "indexed": false,
533
+ "internalType": "address",
534
+ "name": "newAccessControlManager",
535
+ "type": "address"
536
+ }
537
+ ],
538
+ "name": "NewAccessControlManager",
539
+ "type": "event"
540
+ },
541
+ {
542
+ "anonymous": false,
543
+ "inputs": [
544
+ {
545
+ "indexed": true,
546
+ "internalType": "address",
547
+ "name": "previousOwner",
548
+ "type": "address"
549
+ },
550
+ {
551
+ "indexed": true,
552
+ "internalType": "address",
553
+ "name": "newOwner",
554
+ "type": "address"
555
+ }
556
+ ],
557
+ "name": "OwnershipTransferStarted",
558
+ "type": "event"
559
+ },
560
+ {
561
+ "anonymous": false,
562
+ "inputs": [
563
+ {
564
+ "indexed": true,
565
+ "internalType": "address",
566
+ "name": "previousOwner",
567
+ "type": "address"
568
+ },
569
+ {
570
+ "indexed": true,
571
+ "internalType": "address",
572
+ "name": "newOwner",
573
+ "type": "address"
574
+ }
575
+ ],
576
+ "name": "OwnershipTransferred",
577
+ "type": "event"
578
+ },
579
+ {
580
+ "anonymous": false,
581
+ "inputs": [
582
+ {
583
+ "indexed": true,
584
+ "internalType": "address",
585
+ "name": "oldPoolRegistry",
586
+ "type": "address"
587
+ },
588
+ {
589
+ "indexed": true,
590
+ "internalType": "address",
591
+ "name": "newPoolRegistry",
592
+ "type": "address"
593
+ }
594
+ ],
595
+ "name": "PoolRegistryUpdated",
596
+ "type": "event"
597
+ },
598
+ {
599
+ "anonymous": false,
600
+ "inputs": [
601
+ {
602
+ "indexed": true,
603
+ "internalType": "address",
604
+ "name": "comptroller",
605
+ "type": "address"
606
+ },
607
+ {
608
+ "indexed": true,
609
+ "internalType": "address",
610
+ "name": "asset",
611
+ "type": "address"
612
+ },
613
+ {
614
+ "indexed": false,
615
+ "internalType": "enum ProtocolShareReserve.Schema",
616
+ "name": "schema",
617
+ "type": "uint8"
618
+ },
619
+ {
620
+ "indexed": false,
621
+ "internalType": "uint256",
622
+ "name": "oldBalance",
623
+ "type": "uint256"
624
+ },
625
+ {
626
+ "indexed": false,
627
+ "internalType": "uint256",
628
+ "name": "newBalance",
629
+ "type": "uint256"
630
+ }
631
+ ],
632
+ "name": "ReservesUpdated",
633
+ "type": "event"
634
+ },
635
+ {
636
+ "inputs": [],
637
+ "name": "CORE_POOL_COMPTROLLER",
638
+ "outputs": [
639
+ {
640
+ "internalType": "address",
641
+ "name": "",
642
+ "type": "address"
643
+ }
644
+ ],
645
+ "stateMutability": "view",
646
+ "type": "function"
647
+ },
648
+ {
649
+ "inputs": [],
650
+ "name": "MAX_PERCENT",
651
+ "outputs": [
652
+ {
653
+ "internalType": "uint16",
654
+ "name": "",
655
+ "type": "uint16"
656
+ }
657
+ ],
658
+ "stateMutability": "view",
659
+ "type": "function"
660
+ },
661
+ {
662
+ "inputs": [],
663
+ "name": "WBNB",
664
+ "outputs": [
665
+ {
666
+ "internalType": "address",
667
+ "name": "",
668
+ "type": "address"
669
+ }
670
+ ],
671
+ "stateMutability": "view",
672
+ "type": "function"
673
+ },
674
+ {
675
+ "inputs": [],
676
+ "name": "acceptOwnership",
677
+ "outputs": [],
678
+ "stateMutability": "nonpayable",
679
+ "type": "function"
680
+ },
681
+ {
682
+ "inputs": [],
683
+ "name": "accessControlManager",
684
+ "outputs": [
685
+ {
686
+ "internalType": "contract IAccessControlManagerV8",
687
+ "name": "",
688
+ "type": "address"
689
+ }
690
+ ],
691
+ "stateMutability": "view",
692
+ "type": "function"
693
+ },
694
+ {
695
+ "inputs": [
696
+ {
697
+ "components": [
698
+ {
699
+ "internalType": "enum ProtocolShareReserve.Schema",
700
+ "name": "schema",
701
+ "type": "uint8"
702
+ },
703
+ {
704
+ "internalType": "uint16",
705
+ "name": "percentage",
706
+ "type": "uint16"
707
+ },
708
+ {
709
+ "internalType": "address",
710
+ "name": "destination",
711
+ "type": "address"
712
+ }
713
+ ],
714
+ "internalType": "struct ProtocolShareReserve.DistributionConfig[]",
715
+ "name": "configs",
716
+ "type": "tuple[]"
717
+ }
718
+ ],
719
+ "name": "addOrUpdateDistributionConfigs",
720
+ "outputs": [],
721
+ "stateMutability": "nonpayable",
722
+ "type": "function"
723
+ },
724
+ {
725
+ "inputs": [
726
+ {
727
+ "internalType": "address",
728
+ "name": "",
729
+ "type": "address"
730
+ },
731
+ {
732
+ "internalType": "address",
733
+ "name": "",
734
+ "type": "address"
735
+ },
736
+ {
737
+ "internalType": "enum ProtocolShareReserve.Schema",
738
+ "name": "",
739
+ "type": "uint8"
740
+ }
741
+ ],
742
+ "name": "assetsReserves",
743
+ "outputs": [
744
+ {
745
+ "internalType": "uint256",
746
+ "name": "",
747
+ "type": "uint256"
748
+ }
749
+ ],
750
+ "stateMutability": "view",
751
+ "type": "function"
752
+ },
753
+ {
754
+ "inputs": [
755
+ {
756
+ "internalType": "uint256",
757
+ "name": "",
758
+ "type": "uint256"
759
+ }
760
+ ],
761
+ "name": "distributionTargets",
762
+ "outputs": [
763
+ {
764
+ "internalType": "enum ProtocolShareReserve.Schema",
765
+ "name": "schema",
766
+ "type": "uint8"
767
+ },
768
+ {
769
+ "internalType": "uint16",
770
+ "name": "percentage",
771
+ "type": "uint16"
772
+ },
773
+ {
774
+ "internalType": "address",
775
+ "name": "destination",
776
+ "type": "address"
777
+ }
778
+ ],
779
+ "stateMutability": "view",
780
+ "type": "function"
781
+ },
782
+ {
783
+ "inputs": [
784
+ {
785
+ "internalType": "address",
786
+ "name": "destination",
787
+ "type": "address"
788
+ },
789
+ {
790
+ "internalType": "enum ProtocolShareReserve.Schema",
791
+ "name": "schema",
792
+ "type": "uint8"
793
+ }
794
+ ],
795
+ "name": "getPercentageDistribution",
796
+ "outputs": [
797
+ {
798
+ "internalType": "uint256",
799
+ "name": "",
800
+ "type": "uint256"
801
+ }
802
+ ],
803
+ "stateMutability": "view",
804
+ "type": "function"
805
+ },
806
+ {
807
+ "inputs": [
808
+ {
809
+ "internalType": "address",
810
+ "name": "comptroller",
811
+ "type": "address"
812
+ },
813
+ {
814
+ "internalType": "enum ProtocolShareReserve.Schema",
815
+ "name": "schema",
816
+ "type": "uint8"
817
+ },
818
+ {
819
+ "internalType": "address",
820
+ "name": "destination",
821
+ "type": "address"
822
+ },
823
+ {
824
+ "internalType": "address",
825
+ "name": "asset",
826
+ "type": "address"
827
+ }
828
+ ],
829
+ "name": "getUnreleasedFunds",
830
+ "outputs": [
831
+ {
832
+ "internalType": "uint256",
833
+ "name": "",
834
+ "type": "uint256"
835
+ }
836
+ ],
837
+ "stateMutability": "view",
838
+ "type": "function"
839
+ },
840
+ {
841
+ "inputs": [
842
+ {
843
+ "internalType": "address",
844
+ "name": "_accessControlManager",
845
+ "type": "address"
846
+ },
847
+ {
848
+ "internalType": "uint256",
849
+ "name": "_loopsLimit",
850
+ "type": "uint256"
851
+ }
852
+ ],
853
+ "name": "initialize",
854
+ "outputs": [],
855
+ "stateMutability": "nonpayable",
856
+ "type": "function"
857
+ },
858
+ {
859
+ "inputs": [],
860
+ "name": "maxLoopsLimit",
861
+ "outputs": [
862
+ {
863
+ "internalType": "uint256",
864
+ "name": "",
865
+ "type": "uint256"
866
+ }
867
+ ],
868
+ "stateMutability": "view",
869
+ "type": "function"
870
+ },
871
+ {
872
+ "inputs": [],
873
+ "name": "owner",
874
+ "outputs": [
875
+ {
876
+ "internalType": "address",
877
+ "name": "",
878
+ "type": "address"
879
+ }
880
+ ],
881
+ "stateMutability": "view",
882
+ "type": "function"
883
+ },
884
+ {
885
+ "inputs": [],
886
+ "name": "pendingOwner",
887
+ "outputs": [
888
+ {
889
+ "internalType": "address",
890
+ "name": "",
891
+ "type": "address"
892
+ }
893
+ ],
894
+ "stateMutability": "view",
895
+ "type": "function"
896
+ },
897
+ {
898
+ "inputs": [],
899
+ "name": "poolRegistry",
900
+ "outputs": [
901
+ {
902
+ "internalType": "address",
903
+ "name": "",
904
+ "type": "address"
905
+ }
906
+ ],
907
+ "stateMutability": "view",
908
+ "type": "function"
909
+ },
910
+ {
911
+ "inputs": [
912
+ {
913
+ "internalType": "address",
914
+ "name": "comptroller",
915
+ "type": "address"
916
+ },
917
+ {
918
+ "internalType": "address[]",
919
+ "name": "assets",
920
+ "type": "address[]"
921
+ }
922
+ ],
923
+ "name": "releaseFunds",
924
+ "outputs": [],
925
+ "stateMutability": "nonpayable",
926
+ "type": "function"
927
+ },
928
+ {
929
+ "inputs": [
930
+ {
931
+ "internalType": "enum ProtocolShareReserve.Schema",
932
+ "name": "schema",
933
+ "type": "uint8"
934
+ },
935
+ {
936
+ "internalType": "address",
937
+ "name": "destination",
938
+ "type": "address"
939
+ }
940
+ ],
941
+ "name": "removeDistributionConfig",
942
+ "outputs": [],
943
+ "stateMutability": "nonpayable",
944
+ "type": "function"
945
+ },
946
+ {
947
+ "inputs": [],
948
+ "name": "renounceOwnership",
949
+ "outputs": [],
950
+ "stateMutability": "nonpayable",
951
+ "type": "function"
952
+ },
953
+ {
954
+ "inputs": [
955
+ {
956
+ "internalType": "address",
957
+ "name": "accessControlManager_",
958
+ "type": "address"
959
+ }
960
+ ],
961
+ "name": "setAccessControlManager",
962
+ "outputs": [],
963
+ "stateMutability": "nonpayable",
964
+ "type": "function"
965
+ },
966
+ {
967
+ "inputs": [
968
+ {
969
+ "internalType": "address",
970
+ "name": "_poolRegistry",
971
+ "type": "address"
972
+ }
973
+ ],
974
+ "name": "setPoolRegistry",
975
+ "outputs": [],
976
+ "stateMutability": "nonpayable",
977
+ "type": "function"
978
+ },
979
+ {
980
+ "inputs": [
981
+ {
982
+ "internalType": "address",
983
+ "name": "",
984
+ "type": "address"
985
+ }
986
+ ],
987
+ "name": "totalAssetReserve",
988
+ "outputs": [
989
+ {
990
+ "internalType": "uint256",
991
+ "name": "",
992
+ "type": "uint256"
993
+ }
994
+ ],
995
+ "stateMutability": "view",
996
+ "type": "function"
997
+ },
998
+ {
999
+ "inputs": [],
1000
+ "name": "totalDistributions",
1001
+ "outputs": [
1002
+ {
1003
+ "internalType": "uint256",
1004
+ "name": "",
1005
+ "type": "uint256"
1006
+ }
1007
+ ],
1008
+ "stateMutability": "view",
1009
+ "type": "function"
1010
+ },
1011
+ {
1012
+ "inputs": [
1013
+ {
1014
+ "internalType": "address",
1015
+ "name": "newOwner",
1016
+ "type": "address"
1017
+ }
1018
+ ],
1019
+ "name": "transferOwnership",
1020
+ "outputs": [],
1021
+ "stateMutability": "nonpayable",
1022
+ "type": "function"
1023
+ },
1024
+ {
1025
+ "inputs": [
1026
+ {
1027
+ "internalType": "address",
1028
+ "name": "comptroller",
1029
+ "type": "address"
1030
+ },
1031
+ {
1032
+ "internalType": "address",
1033
+ "name": "asset",
1034
+ "type": "address"
1035
+ },
1036
+ {
1037
+ "internalType": "enum IProtocolShareReserve.IncomeType",
1038
+ "name": "incomeType",
1039
+ "type": "uint8"
1040
+ }
1041
+ ],
1042
+ "name": "updateAssetsState",
1043
+ "outputs": [],
1044
+ "stateMutability": "nonpayable",
1045
+ "type": "function"
1046
+ },
1047
+ {
1048
+ "inputs": [],
1049
+ "name": "vBNB",
1050
+ "outputs": [
1051
+ {
1052
+ "internalType": "address",
1053
+ "name": "",
1054
+ "type": "address"
1055
+ }
1056
+ ],
1057
+ "stateMutability": "view",
1058
+ "type": "function"
1059
+ },
1060
+ {
1061
+ "inputs": [
1062
+ {
1063
+ "internalType": "address",
1064
+ "name": "_logic",
1065
+ "type": "address"
1066
+ },
1067
+ {
1068
+ "internalType": "address",
1069
+ "name": "admin_",
1070
+ "type": "address"
1071
+ },
1072
+ {
1073
+ "internalType": "bytes",
1074
+ "name": "_data",
1075
+ "type": "bytes"
1076
+ }
1077
+ ],
1078
+ "stateMutability": "payable",
1079
+ "type": "constructor"
1080
+ }
1081
+ ]
1082
+ },
1083
+ "ProtocolShareReserve_Implementation": {
1084
+ "address": "0x72FdEC477A5652E4a012CEE2e50A4150459Ec296",
1085
+ "abi": [
1086
+ {
1087
+ "inputs": [
1088
+ {
1089
+ "internalType": "address",
1090
+ "name": "_corePoolComptroller",
1091
+ "type": "address"
1092
+ },
1093
+ {
1094
+ "internalType": "address",
1095
+ "name": "_wbnb",
1096
+ "type": "address"
1097
+ },
1098
+ {
1099
+ "internalType": "address",
1100
+ "name": "_vbnb",
1101
+ "type": "address"
1102
+ }
1103
+ ],
1104
+ "stateMutability": "nonpayable",
1105
+ "type": "constructor"
1106
+ },
1107
+ {
1108
+ "inputs": [],
1109
+ "name": "InvalidAddress",
1110
+ "type": "error"
1111
+ },
1112
+ {
1113
+ "inputs": [],
1114
+ "name": "InvalidTotalPercentage",
1115
+ "type": "error"
1116
+ },
1117
+ {
1118
+ "inputs": [
1119
+ {
1120
+ "internalType": "uint256",
1121
+ "name": "loopsLimit",
1122
+ "type": "uint256"
1123
+ },
1124
+ {
1125
+ "internalType": "uint256",
1126
+ "name": "requiredLoops",
1127
+ "type": "uint256"
1128
+ }
1129
+ ],
1130
+ "name": "MaxLoopsLimitExceeded",
1131
+ "type": "error"
1132
+ },
1133
+ {
1134
+ "inputs": [
1135
+ {
1136
+ "internalType": "address",
1137
+ "name": "sender",
1138
+ "type": "address"
1139
+ },
1140
+ {
1141
+ "internalType": "address",
1142
+ "name": "calledContract",
1143
+ "type": "address"
1144
+ },
1145
+ {
1146
+ "internalType": "string",
1147
+ "name": "methodSignature",
1148
+ "type": "string"
1149
+ }
1150
+ ],
1151
+ "name": "Unauthorized",
1152
+ "type": "error"
1153
+ },
1154
+ {
1155
+ "inputs": [],
1156
+ "name": "ZeroAddressNotAllowed",
1157
+ "type": "error"
1158
+ },
1159
+ {
1160
+ "anonymous": false,
1161
+ "inputs": [
1162
+ {
1163
+ "indexed": true,
1164
+ "internalType": "address",
1165
+ "name": "destination",
1166
+ "type": "address"
1167
+ },
1168
+ {
1169
+ "indexed": true,
1170
+ "internalType": "address",
1171
+ "name": "asset",
1172
+ "type": "address"
1173
+ },
1174
+ {
1175
+ "indexed": false,
1176
+ "internalType": "enum ProtocolShareReserve.Schema",
1177
+ "name": "schema",
1178
+ "type": "uint8"
1179
+ },
1180
+ {
1181
+ "indexed": false,
1182
+ "internalType": "uint256",
1183
+ "name": "percent",
1184
+ "type": "uint256"
1185
+ },
1186
+ {
1187
+ "indexed": false,
1188
+ "internalType": "uint256",
1189
+ "name": "amount",
1190
+ "type": "uint256"
1191
+ }
1192
+ ],
1193
+ "name": "AssetReleased",
1194
+ "type": "event"
1195
+ },
1196
+ {
1197
+ "anonymous": false,
1198
+ "inputs": [
1199
+ {
1200
+ "indexed": true,
1201
+ "internalType": "address",
1202
+ "name": "comptroller",
1203
+ "type": "address"
1204
+ },
1205
+ {
1206
+ "indexed": true,
1207
+ "internalType": "address",
1208
+ "name": "asset",
1209
+ "type": "address"
1210
+ },
1211
+ {
1212
+ "indexed": false,
1213
+ "internalType": "uint256",
1214
+ "name": "amount",
1215
+ "type": "uint256"
1216
+ },
1217
+ {
1218
+ "indexed": false,
1219
+ "internalType": "enum IProtocolShareReserve.IncomeType",
1220
+ "name": "incomeType",
1221
+ "type": "uint8"
1222
+ },
1223
+ {
1224
+ "indexed": false,
1225
+ "internalType": "enum ProtocolShareReserve.Schema",
1226
+ "name": "schema",
1227
+ "type": "uint8"
1228
+ }
1229
+ ],
1230
+ "name": "AssetsReservesUpdated",
1231
+ "type": "event"
1232
+ },
1233
+ {
1234
+ "anonymous": false,
1235
+ "inputs": [
1236
+ {
1237
+ "indexed": true,
1238
+ "internalType": "address",
1239
+ "name": "destination",
1240
+ "type": "address"
1241
+ },
1242
+ {
1243
+ "indexed": false,
1244
+ "internalType": "uint16",
1245
+ "name": "percentage",
1246
+ "type": "uint16"
1247
+ },
1248
+ {
1249
+ "indexed": false,
1250
+ "internalType": "enum ProtocolShareReserve.Schema",
1251
+ "name": "schema",
1252
+ "type": "uint8"
1253
+ }
1254
+ ],
1255
+ "name": "DistributionConfigAdded",
1256
+ "type": "event"
1257
+ },
1258
+ {
1259
+ "anonymous": false,
1260
+ "inputs": [
1261
+ {
1262
+ "indexed": true,
1263
+ "internalType": "address",
1264
+ "name": "destination",
1265
+ "type": "address"
1266
+ },
1267
+ {
1268
+ "indexed": false,
1269
+ "internalType": "uint16",
1270
+ "name": "percentage",
1271
+ "type": "uint16"
1272
+ },
1273
+ {
1274
+ "indexed": false,
1275
+ "internalType": "enum ProtocolShareReserve.Schema",
1276
+ "name": "schema",
1277
+ "type": "uint8"
1278
+ }
1279
+ ],
1280
+ "name": "DistributionConfigRemoved",
1281
+ "type": "event"
1282
+ },
1283
+ {
1284
+ "anonymous": false,
1285
+ "inputs": [
1286
+ {
1287
+ "indexed": true,
1288
+ "internalType": "address",
1289
+ "name": "destination",
1290
+ "type": "address"
1291
+ },
1292
+ {
1293
+ "indexed": false,
1294
+ "internalType": "uint16",
1295
+ "name": "oldPercentage",
1296
+ "type": "uint16"
1297
+ },
1298
+ {
1299
+ "indexed": false,
1300
+ "internalType": "uint16",
1301
+ "name": "newPercentage",
1302
+ "type": "uint16"
1303
+ },
1304
+ {
1305
+ "indexed": false,
1306
+ "internalType": "enum ProtocolShareReserve.Schema",
1307
+ "name": "schema",
1308
+ "type": "uint8"
1309
+ }
1310
+ ],
1311
+ "name": "DistributionConfigUpdated",
1312
+ "type": "event"
1313
+ },
1314
+ {
1315
+ "anonymous": false,
1316
+ "inputs": [
1317
+ {
1318
+ "indexed": false,
1319
+ "internalType": "uint8",
1320
+ "name": "version",
1321
+ "type": "uint8"
1322
+ }
1323
+ ],
1324
+ "name": "Initialized",
1325
+ "type": "event"
1326
+ },
1327
+ {
1328
+ "anonymous": false,
1329
+ "inputs": [
1330
+ {
1331
+ "indexed": false,
1332
+ "internalType": "uint256",
1333
+ "name": "oldMaxLoopsLimit",
1334
+ "type": "uint256"
1335
+ },
1336
+ {
1337
+ "indexed": false,
1338
+ "internalType": "uint256",
1339
+ "name": "newmaxLoopsLimit",
1340
+ "type": "uint256"
1341
+ }
1342
+ ],
1343
+ "name": "MaxLoopsLimitUpdated",
1344
+ "type": "event"
1345
+ },
1346
+ {
1347
+ "anonymous": false,
1348
+ "inputs": [
1349
+ {
1350
+ "indexed": false,
1351
+ "internalType": "address",
1352
+ "name": "oldAccessControlManager",
1353
+ "type": "address"
1354
+ },
1355
+ {
1356
+ "indexed": false,
1357
+ "internalType": "address",
1358
+ "name": "newAccessControlManager",
1359
+ "type": "address"
1360
+ }
1361
+ ],
1362
+ "name": "NewAccessControlManager",
1363
+ "type": "event"
1364
+ },
1365
+ {
1366
+ "anonymous": false,
1367
+ "inputs": [
1368
+ {
1369
+ "indexed": true,
1370
+ "internalType": "address",
1371
+ "name": "previousOwner",
1372
+ "type": "address"
1373
+ },
1374
+ {
1375
+ "indexed": true,
1376
+ "internalType": "address",
1377
+ "name": "newOwner",
1378
+ "type": "address"
1379
+ }
1380
+ ],
1381
+ "name": "OwnershipTransferStarted",
1382
+ "type": "event"
1383
+ },
1384
+ {
1385
+ "anonymous": false,
1386
+ "inputs": [
1387
+ {
1388
+ "indexed": true,
1389
+ "internalType": "address",
1390
+ "name": "previousOwner",
1391
+ "type": "address"
1392
+ },
1393
+ {
1394
+ "indexed": true,
1395
+ "internalType": "address",
1396
+ "name": "newOwner",
1397
+ "type": "address"
1398
+ }
1399
+ ],
1400
+ "name": "OwnershipTransferred",
1401
+ "type": "event"
1402
+ },
1403
+ {
1404
+ "anonymous": false,
1405
+ "inputs": [
1406
+ {
1407
+ "indexed": true,
1408
+ "internalType": "address",
1409
+ "name": "oldPoolRegistry",
1410
+ "type": "address"
1411
+ },
1412
+ {
1413
+ "indexed": true,
1414
+ "internalType": "address",
1415
+ "name": "newPoolRegistry",
1416
+ "type": "address"
1417
+ }
1418
+ ],
1419
+ "name": "PoolRegistryUpdated",
1420
+ "type": "event"
1421
+ },
1422
+ {
1423
+ "anonymous": false,
1424
+ "inputs": [
1425
+ {
1426
+ "indexed": true,
1427
+ "internalType": "address",
1428
+ "name": "comptroller",
1429
+ "type": "address"
1430
+ },
1431
+ {
1432
+ "indexed": true,
1433
+ "internalType": "address",
1434
+ "name": "asset",
1435
+ "type": "address"
1436
+ },
1437
+ {
1438
+ "indexed": false,
1439
+ "internalType": "enum ProtocolShareReserve.Schema",
1440
+ "name": "schema",
1441
+ "type": "uint8"
1442
+ },
1443
+ {
1444
+ "indexed": false,
1445
+ "internalType": "uint256",
1446
+ "name": "oldBalance",
1447
+ "type": "uint256"
1448
+ },
1449
+ {
1450
+ "indexed": false,
1451
+ "internalType": "uint256",
1452
+ "name": "newBalance",
1453
+ "type": "uint256"
1454
+ }
1455
+ ],
1456
+ "name": "ReservesUpdated",
1457
+ "type": "event"
1458
+ },
1459
+ {
1460
+ "inputs": [],
1461
+ "name": "CORE_POOL_COMPTROLLER",
1462
+ "outputs": [
1463
+ {
1464
+ "internalType": "address",
1465
+ "name": "",
1466
+ "type": "address"
1467
+ }
1468
+ ],
1469
+ "stateMutability": "view",
1470
+ "type": "function"
1471
+ },
1472
+ {
1473
+ "inputs": [],
1474
+ "name": "MAX_PERCENT",
1475
+ "outputs": [
1476
+ {
1477
+ "internalType": "uint16",
1478
+ "name": "",
1479
+ "type": "uint16"
1480
+ }
1481
+ ],
1482
+ "stateMutability": "view",
1483
+ "type": "function"
1484
+ },
1485
+ {
1486
+ "inputs": [],
1487
+ "name": "WBNB",
1488
+ "outputs": [
1489
+ {
1490
+ "internalType": "address",
1491
+ "name": "",
1492
+ "type": "address"
1493
+ }
1494
+ ],
1495
+ "stateMutability": "view",
1496
+ "type": "function"
1497
+ },
1498
+ {
1499
+ "inputs": [],
1500
+ "name": "acceptOwnership",
1501
+ "outputs": [],
1502
+ "stateMutability": "nonpayable",
1503
+ "type": "function"
1504
+ },
1505
+ {
1506
+ "inputs": [],
1507
+ "name": "accessControlManager",
1508
+ "outputs": [
1509
+ {
1510
+ "internalType": "contract IAccessControlManagerV8",
1511
+ "name": "",
1512
+ "type": "address"
1513
+ }
1514
+ ],
1515
+ "stateMutability": "view",
1516
+ "type": "function"
1517
+ },
1518
+ {
1519
+ "inputs": [
1520
+ {
1521
+ "components": [
1522
+ {
1523
+ "internalType": "enum ProtocolShareReserve.Schema",
1524
+ "name": "schema",
1525
+ "type": "uint8"
1526
+ },
1527
+ {
1528
+ "internalType": "uint16",
1529
+ "name": "percentage",
1530
+ "type": "uint16"
1531
+ },
1532
+ {
1533
+ "internalType": "address",
1534
+ "name": "destination",
1535
+ "type": "address"
1536
+ }
1537
+ ],
1538
+ "internalType": "struct ProtocolShareReserve.DistributionConfig[]",
1539
+ "name": "configs",
1540
+ "type": "tuple[]"
1541
+ }
1542
+ ],
1543
+ "name": "addOrUpdateDistributionConfigs",
1544
+ "outputs": [],
1545
+ "stateMutability": "nonpayable",
1546
+ "type": "function"
1547
+ },
1548
+ {
1549
+ "inputs": [
1550
+ {
1551
+ "internalType": "address",
1552
+ "name": "",
1553
+ "type": "address"
1554
+ },
1555
+ {
1556
+ "internalType": "address",
1557
+ "name": "",
1558
+ "type": "address"
1559
+ },
1560
+ {
1561
+ "internalType": "enum ProtocolShareReserve.Schema",
1562
+ "name": "",
1563
+ "type": "uint8"
1564
+ }
1565
+ ],
1566
+ "name": "assetsReserves",
1567
+ "outputs": [
1568
+ {
1569
+ "internalType": "uint256",
1570
+ "name": "",
1571
+ "type": "uint256"
1572
+ }
1573
+ ],
1574
+ "stateMutability": "view",
1575
+ "type": "function"
1576
+ },
1577
+ {
1578
+ "inputs": [
1579
+ {
1580
+ "internalType": "uint256",
1581
+ "name": "",
1582
+ "type": "uint256"
1583
+ }
1584
+ ],
1585
+ "name": "distributionTargets",
1586
+ "outputs": [
1587
+ {
1588
+ "internalType": "enum ProtocolShareReserve.Schema",
1589
+ "name": "schema",
1590
+ "type": "uint8"
1591
+ },
1592
+ {
1593
+ "internalType": "uint16",
1594
+ "name": "percentage",
1595
+ "type": "uint16"
1596
+ },
1597
+ {
1598
+ "internalType": "address",
1599
+ "name": "destination",
1600
+ "type": "address"
1601
+ }
1602
+ ],
1603
+ "stateMutability": "view",
1604
+ "type": "function"
1605
+ },
1606
+ {
1607
+ "inputs": [
1608
+ {
1609
+ "internalType": "address",
1610
+ "name": "destination",
1611
+ "type": "address"
1612
+ },
1613
+ {
1614
+ "internalType": "enum ProtocolShareReserve.Schema",
1615
+ "name": "schema",
1616
+ "type": "uint8"
1617
+ }
1618
+ ],
1619
+ "name": "getPercentageDistribution",
1620
+ "outputs": [
1621
+ {
1622
+ "internalType": "uint256",
1623
+ "name": "",
1624
+ "type": "uint256"
1625
+ }
1626
+ ],
1627
+ "stateMutability": "view",
1628
+ "type": "function"
1629
+ },
1630
+ {
1631
+ "inputs": [
1632
+ {
1633
+ "internalType": "address",
1634
+ "name": "comptroller",
1635
+ "type": "address"
1636
+ },
1637
+ {
1638
+ "internalType": "enum ProtocolShareReserve.Schema",
1639
+ "name": "schema",
1640
+ "type": "uint8"
1641
+ },
1642
+ {
1643
+ "internalType": "address",
1644
+ "name": "destination",
1645
+ "type": "address"
1646
+ },
1647
+ {
1648
+ "internalType": "address",
1649
+ "name": "asset",
1650
+ "type": "address"
1651
+ }
1652
+ ],
1653
+ "name": "getUnreleasedFunds",
1654
+ "outputs": [
1655
+ {
1656
+ "internalType": "uint256",
1657
+ "name": "",
1658
+ "type": "uint256"
1659
+ }
1660
+ ],
1661
+ "stateMutability": "view",
1662
+ "type": "function"
1663
+ },
1664
+ {
1665
+ "inputs": [
1666
+ {
1667
+ "internalType": "address",
1668
+ "name": "_accessControlManager",
1669
+ "type": "address"
1670
+ },
1671
+ {
1672
+ "internalType": "uint256",
1673
+ "name": "_loopsLimit",
1674
+ "type": "uint256"
1675
+ }
1676
+ ],
1677
+ "name": "initialize",
1678
+ "outputs": [],
1679
+ "stateMutability": "nonpayable",
1680
+ "type": "function"
1681
+ },
1682
+ {
1683
+ "inputs": [],
1684
+ "name": "maxLoopsLimit",
1685
+ "outputs": [
1686
+ {
1687
+ "internalType": "uint256",
1688
+ "name": "",
1689
+ "type": "uint256"
1690
+ }
1691
+ ],
1692
+ "stateMutability": "view",
1693
+ "type": "function"
1694
+ },
1695
+ {
1696
+ "inputs": [],
1697
+ "name": "owner",
1698
+ "outputs": [
1699
+ {
1700
+ "internalType": "address",
1701
+ "name": "",
1702
+ "type": "address"
1703
+ }
1704
+ ],
1705
+ "stateMutability": "view",
1706
+ "type": "function"
1707
+ },
1708
+ {
1709
+ "inputs": [],
1710
+ "name": "pendingOwner",
1711
+ "outputs": [
1712
+ {
1713
+ "internalType": "address",
1714
+ "name": "",
1715
+ "type": "address"
1716
+ }
1717
+ ],
1718
+ "stateMutability": "view",
1719
+ "type": "function"
1720
+ },
1721
+ {
1722
+ "inputs": [],
1723
+ "name": "poolRegistry",
1724
+ "outputs": [
1725
+ {
1726
+ "internalType": "address",
1727
+ "name": "",
1728
+ "type": "address"
1729
+ }
1730
+ ],
1731
+ "stateMutability": "view",
1732
+ "type": "function"
1733
+ },
1734
+ {
1735
+ "inputs": [
1736
+ {
1737
+ "internalType": "address",
1738
+ "name": "comptroller",
1739
+ "type": "address"
1740
+ },
1741
+ {
1742
+ "internalType": "address[]",
1743
+ "name": "assets",
1744
+ "type": "address[]"
1745
+ }
1746
+ ],
1747
+ "name": "releaseFunds",
1748
+ "outputs": [],
1749
+ "stateMutability": "nonpayable",
1750
+ "type": "function"
1751
+ },
1752
+ {
1753
+ "inputs": [
1754
+ {
1755
+ "internalType": "enum ProtocolShareReserve.Schema",
1756
+ "name": "schema",
1757
+ "type": "uint8"
1758
+ },
1759
+ {
1760
+ "internalType": "address",
1761
+ "name": "destination",
1762
+ "type": "address"
1763
+ }
1764
+ ],
1765
+ "name": "removeDistributionConfig",
1766
+ "outputs": [],
1767
+ "stateMutability": "nonpayable",
1768
+ "type": "function"
1769
+ },
1770
+ {
1771
+ "inputs": [],
1772
+ "name": "renounceOwnership",
1773
+ "outputs": [],
1774
+ "stateMutability": "nonpayable",
1775
+ "type": "function"
1776
+ },
1777
+ {
1778
+ "inputs": [
1779
+ {
1780
+ "internalType": "address",
1781
+ "name": "accessControlManager_",
1782
+ "type": "address"
1783
+ }
1784
+ ],
1785
+ "name": "setAccessControlManager",
1786
+ "outputs": [],
1787
+ "stateMutability": "nonpayable",
1788
+ "type": "function"
1789
+ },
1790
+ {
1791
+ "inputs": [
1792
+ {
1793
+ "internalType": "address",
1794
+ "name": "_poolRegistry",
1795
+ "type": "address"
1796
+ }
1797
+ ],
1798
+ "name": "setPoolRegistry",
1799
+ "outputs": [],
1800
+ "stateMutability": "nonpayable",
1801
+ "type": "function"
1802
+ },
1803
+ {
1804
+ "inputs": [
1805
+ {
1806
+ "internalType": "address",
1807
+ "name": "",
1808
+ "type": "address"
1809
+ }
1810
+ ],
1811
+ "name": "totalAssetReserve",
1812
+ "outputs": [
1813
+ {
1814
+ "internalType": "uint256",
1815
+ "name": "",
1816
+ "type": "uint256"
1817
+ }
1818
+ ],
1819
+ "stateMutability": "view",
1820
+ "type": "function"
1821
+ },
1822
+ {
1823
+ "inputs": [],
1824
+ "name": "totalDistributions",
1825
+ "outputs": [
1826
+ {
1827
+ "internalType": "uint256",
1828
+ "name": "",
1829
+ "type": "uint256"
1830
+ }
1831
+ ],
1832
+ "stateMutability": "view",
1833
+ "type": "function"
1834
+ },
1835
+ {
1836
+ "inputs": [
1837
+ {
1838
+ "internalType": "address",
1839
+ "name": "newOwner",
1840
+ "type": "address"
1841
+ }
1842
+ ],
1843
+ "name": "transferOwnership",
1844
+ "outputs": [],
1845
+ "stateMutability": "nonpayable",
1846
+ "type": "function"
1847
+ },
1848
+ {
1849
+ "inputs": [
1850
+ {
1851
+ "internalType": "address",
1852
+ "name": "comptroller",
1853
+ "type": "address"
1854
+ },
1855
+ {
1856
+ "internalType": "address",
1857
+ "name": "asset",
1858
+ "type": "address"
1859
+ },
1860
+ {
1861
+ "internalType": "enum IProtocolShareReserve.IncomeType",
1862
+ "name": "incomeType",
1863
+ "type": "uint8"
1864
+ }
1865
+ ],
1866
+ "name": "updateAssetsState",
1867
+ "outputs": [],
1868
+ "stateMutability": "nonpayable",
1869
+ "type": "function"
1870
+ },
1871
+ {
1872
+ "inputs": [],
1873
+ "name": "vBNB",
1874
+ "outputs": [
1875
+ {
1876
+ "internalType": "address",
1877
+ "name": "",
1878
+ "type": "address"
1879
+ }
1880
+ ],
1881
+ "stateMutability": "view",
1882
+ "type": "function"
1883
+ }
1884
+ ]
1885
+ },
1886
+ "ProtocolShareReserve_Proxy": {
1887
+ "address": "0xA1193e941BDf34E858f7F276221B4886EfdD040b",
1888
+ "abi": [
1889
+ {
1890
+ "inputs": [
1891
+ {
1892
+ "internalType": "address",
1893
+ "name": "_logic",
1894
+ "type": "address"
1895
+ },
1896
+ {
1897
+ "internalType": "address",
1898
+ "name": "admin_",
1899
+ "type": "address"
1900
+ },
1901
+ {
1902
+ "internalType": "bytes",
1903
+ "name": "_data",
1904
+ "type": "bytes"
1905
+ }
1906
+ ],
1907
+ "stateMutability": "payable",
1908
+ "type": "constructor"
1909
+ },
1910
+ {
1911
+ "anonymous": false,
1912
+ "inputs": [
1913
+ {
1914
+ "indexed": false,
1915
+ "internalType": "address",
1916
+ "name": "previousAdmin",
1917
+ "type": "address"
1918
+ },
1919
+ {
1920
+ "indexed": false,
1921
+ "internalType": "address",
1922
+ "name": "newAdmin",
1923
+ "type": "address"
1924
+ }
1925
+ ],
1926
+ "name": "AdminChanged",
1927
+ "type": "event"
1928
+ },
1929
+ {
1930
+ "anonymous": false,
1931
+ "inputs": [
1932
+ {
1933
+ "indexed": true,
1934
+ "internalType": "address",
1935
+ "name": "beacon",
1936
+ "type": "address"
1937
+ }
1938
+ ],
1939
+ "name": "BeaconUpgraded",
1940
+ "type": "event"
1941
+ },
1942
+ {
1943
+ "anonymous": false,
1944
+ "inputs": [
1945
+ {
1946
+ "indexed": true,
1947
+ "internalType": "address",
1948
+ "name": "implementation",
1949
+ "type": "address"
1950
+ }
1951
+ ],
1952
+ "name": "Upgraded",
1953
+ "type": "event"
1954
+ },
1955
+ {
1956
+ "stateMutability": "payable",
1957
+ "type": "fallback"
1958
+ },
1959
+ {
1960
+ "inputs": [],
1961
+ "name": "admin",
1962
+ "outputs": [
1963
+ {
1964
+ "internalType": "address",
1965
+ "name": "admin_",
1966
+ "type": "address"
1967
+ }
1968
+ ],
1969
+ "stateMutability": "nonpayable",
1970
+ "type": "function"
1971
+ },
1972
+ {
1973
+ "inputs": [],
1974
+ "name": "implementation",
1975
+ "outputs": [
1976
+ {
1977
+ "internalType": "address",
1978
+ "name": "implementation_",
1979
+ "type": "address"
1980
+ }
1981
+ ],
1982
+ "stateMutability": "nonpayable",
1983
+ "type": "function"
1984
+ },
1985
+ {
1986
+ "inputs": [
1987
+ {
1988
+ "internalType": "address",
1989
+ "name": "newImplementation",
1990
+ "type": "address"
1991
+ }
1992
+ ],
1993
+ "name": "upgradeTo",
1994
+ "outputs": [],
1995
+ "stateMutability": "nonpayable",
1996
+ "type": "function"
1997
+ },
1998
+ {
1999
+ "inputs": [
2000
+ {
2001
+ "internalType": "address",
2002
+ "name": "newImplementation",
2003
+ "type": "address"
2004
+ },
2005
+ {
2006
+ "internalType": "bytes",
2007
+ "name": "data",
2008
+ "type": "bytes"
2009
+ }
2010
+ ],
2011
+ "name": "upgradeToAndCall",
2012
+ "outputs": [],
2013
+ "stateMutability": "payable",
2014
+ "type": "function"
2015
+ },
2016
+ {
2017
+ "stateMutability": "payable",
2018
+ "type": "receive"
2019
+ }
2020
+ ]
2021
+ }
2022
+ }
2023
+ }