@venusprotocol/protocol-reserve 1.0.0-dev.1 → 1.0.0-dev.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (120) hide show
  1. package/artifacts/@openzeppelin/contracts/access/IAccessControl.sol/IAccessControl.dbg.json +1 -1
  2. package/artifacts/@openzeppelin/contracts/token/ERC20/ERC20.sol/ERC20.dbg.json +1 -1
  3. package/artifacts/@openzeppelin/contracts/token/ERC20/IERC20.sol/IERC20.dbg.json +1 -1
  4. package/artifacts/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol/IERC20Metadata.dbg.json +1 -1
  5. package/artifacts/@openzeppelin/contracts/utils/Context.sol/Context.dbg.json +1 -1
  6. package/artifacts/@openzeppelin/contracts-upgradeable/access/Ownable2StepUpgradeable.sol/Ownable2StepUpgradeable.dbg.json +1 -1
  7. package/artifacts/@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol/OwnableUpgradeable.dbg.json +1 -1
  8. package/artifacts/@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol/Initializable.dbg.json +1 -1
  9. package/artifacts/@openzeppelin/contracts-upgradeable/token/ERC20/IERC20Upgradeable.sol/IERC20Upgradeable.dbg.json +1 -1
  10. package/artifacts/@openzeppelin/contracts-upgradeable/token/ERC20/extensions/draft-IERC20PermitUpgradeable.sol/IERC20PermitUpgradeable.dbg.json +1 -1
  11. package/artifacts/@openzeppelin/contracts-upgradeable/token/ERC20/utils/SafeERC20Upgradeable.sol/SafeERC20Upgradeable.dbg.json +1 -1
  12. package/artifacts/@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol/AddressUpgradeable.dbg.json +1 -1
  13. package/artifacts/@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol/ContextUpgradeable.dbg.json +1 -1
  14. package/artifacts/@venusprotocol/governance-contracts/contracts/Governance/AccessControlledV8.sol/AccessControlledV8.dbg.json +1 -1
  15. package/artifacts/@venusprotocol/governance-contracts/contracts/Governance/IAccessControlManagerV8.sol/IAccessControlManagerV8.dbg.json +1 -1
  16. package/artifacts/build-info/3320cd7a54f60491d1bcaf9577bfbaa8.json +1 -0
  17. package/artifacts/contracts/Interfaces/ComptrollerInterface.sol/ComptrollerInterface.dbg.json +1 -1
  18. package/artifacts/contracts/Interfaces/IIncomeDestination.sol/IIncomeDestination.dbg.json +1 -1
  19. package/artifacts/contracts/Interfaces/IPrime.sol/IPrime.dbg.json +1 -1
  20. package/artifacts/contracts/Interfaces/IProtocolShareReserve.sol/IProtocolShareReserve.dbg.json +1 -1
  21. package/artifacts/contracts/Interfaces/IVToken.sol/IVToken.dbg.json +1 -1
  22. package/artifacts/contracts/Interfaces/PoolRegistryInterface.sol/PoolRegistryInterface.dbg.json +1 -1
  23. package/artifacts/contracts/ProtocolReserve/ProtocolShareReserve.sol/ProtocolShareReserve.dbg.json +1 -1
  24. package/artifacts/contracts/ProtocolReserve/ProtocolShareReserve.sol/ProtocolShareReserve.json +2 -27
  25. package/artifacts/contracts/Test/Mocks/MockToken.sol/MockToken.dbg.json +1 -1
  26. package/contracts/ProtocolReserve/ProtocolShareReserve.sol +0 -3
  27. package/package.json +4 -7
  28. package/typechain/@openzeppelin/contracts/access/IAccessControl.ts +343 -0
  29. package/typechain/@openzeppelin/contracts/access/index.ts +4 -0
  30. package/typechain/@openzeppelin/contracts/index.ts +11 -0
  31. package/typechain/@openzeppelin/contracts/token/ERC20/ERC20.ts +466 -0
  32. package/typechain/@openzeppelin/contracts/token/ERC20/IERC20.ts +344 -0
  33. package/typechain/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.ts +386 -0
  34. package/typechain/@openzeppelin/contracts/token/ERC20/extensions/index.ts +4 -0
  35. package/typechain/@openzeppelin/contracts/token/ERC20/index.ts +10 -0
  36. package/typechain/@openzeppelin/contracts/token/index.ts +8 -0
  37. package/typechain/@openzeppelin/contracts-upgradeable/access/Ownable2StepUpgradeable.ts +264 -0
  38. package/typechain/@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.ts +190 -0
  39. package/typechain/@openzeppelin/contracts-upgradeable/access/index.ts +5 -0
  40. package/typechain/@openzeppelin/contracts-upgradeable/index.ts +17 -0
  41. package/typechain/@openzeppelin/contracts-upgradeable/proxy/index.ts +8 -0
  42. package/typechain/@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.ts +72 -0
  43. package/typechain/@openzeppelin/contracts-upgradeable/proxy/utils/index.ts +4 -0
  44. package/typechain/@openzeppelin/contracts-upgradeable/token/ERC20/IERC20Upgradeable.ts +344 -0
  45. package/typechain/@openzeppelin/contracts-upgradeable/token/ERC20/extensions/draft-IERC20PermitUpgradeable.sol/IERC20PermitUpgradeable.ts +195 -0
  46. package/typechain/@openzeppelin/contracts-upgradeable/token/ERC20/extensions/draft-IERC20PermitUpgradeable.sol/index.ts +4 -0
  47. package/typechain/@openzeppelin/contracts-upgradeable/token/ERC20/extensions/index.ts +8 -0
  48. package/typechain/@openzeppelin/contracts-upgradeable/token/ERC20/index.ts +9 -0
  49. package/typechain/@openzeppelin/contracts-upgradeable/token/index.ts +8 -0
  50. package/typechain/@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.ts +72 -0
  51. package/typechain/@openzeppelin/contracts-upgradeable/utils/index.ts +4 -0
  52. package/typechain/@openzeppelin/index.ts +11 -0
  53. package/typechain/@venusprotocol/governance-contracts/contracts/Governance/AccessControlledV8.ts +344 -0
  54. package/typechain/@venusprotocol/governance-contracts/contracts/Governance/IAccessControlManagerV8.ts +530 -0
  55. package/typechain/@venusprotocol/governance-contracts/contracts/Governance/index.ts +5 -0
  56. package/typechain/@venusprotocol/governance-contracts/contracts/index.ts +8 -0
  57. package/typechain/@venusprotocol/governance-contracts/index.ts +8 -0
  58. package/typechain/@venusprotocol/index.ts +8 -0
  59. package/typechain/common.ts +48 -0
  60. package/typechain/contracts/Interfaces/ComptrollerInterface.ts +90 -0
  61. package/typechain/contracts/Interfaces/IIncomeDestination.ts +112 -0
  62. package/typechain/contracts/Interfaces/IPrime.ts +202 -0
  63. package/typechain/contracts/Interfaces/IProtocolShareReserve.ts +122 -0
  64. package/typechain/contracts/Interfaces/IVToken.ts +87 -0
  65. package/typechain/contracts/Interfaces/PoolRegistryInterface.ts +110 -0
  66. package/typechain/contracts/Interfaces/index.ts +9 -0
  67. package/typechain/contracts/ProtocolReserve/ProtocolShareReserve.ts +1074 -0
  68. package/typechain/contracts/ProtocolReserve/index.ts +4 -0
  69. package/typechain/contracts/Test/Mocks/MockToken.ts +498 -0
  70. package/typechain/contracts/Test/Mocks/index.ts +4 -0
  71. package/typechain/contracts/Test/index.ts +8 -0
  72. package/typechain/contracts/index.ts +14 -0
  73. package/typechain/factories/@openzeppelin/contracts/access/IAccessControl__factory.ts +199 -0
  74. package/typechain/factories/@openzeppelin/contracts/access/index.ts +4 -0
  75. package/typechain/factories/@openzeppelin/contracts/index.ts +5 -0
  76. package/typechain/factories/@openzeppelin/contracts/token/ERC20/ERC20__factory.ts +352 -0
  77. package/typechain/factories/@openzeppelin/contracts/token/ERC20/IERC20__factory.ts +207 -0
  78. package/typechain/factories/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata__factory.ts +249 -0
  79. package/typechain/factories/@openzeppelin/contracts/token/ERC20/extensions/index.ts +4 -0
  80. package/typechain/factories/@openzeppelin/contracts/token/ERC20/index.ts +6 -0
  81. package/typechain/factories/@openzeppelin/contracts/token/index.ts +4 -0
  82. package/typechain/factories/@openzeppelin/contracts-upgradeable/access/Ownable2StepUpgradeable__factory.ts +135 -0
  83. package/typechain/factories/@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable__factory.ts +92 -0
  84. package/typechain/factories/@openzeppelin/contracts-upgradeable/access/index.ts +5 -0
  85. package/typechain/factories/@openzeppelin/contracts-upgradeable/index.ts +7 -0
  86. package/typechain/factories/@openzeppelin/contracts-upgradeable/proxy/index.ts +4 -0
  87. package/typechain/factories/@openzeppelin/contracts-upgradeable/proxy/utils/Initializable__factory.ts +40 -0
  88. package/typechain/factories/@openzeppelin/contracts-upgradeable/proxy/utils/index.ts +4 -0
  89. package/typechain/factories/@openzeppelin/contracts-upgradeable/token/ERC20/IERC20Upgradeable__factory.ts +210 -0
  90. package/typechain/factories/@openzeppelin/contracts-upgradeable/token/ERC20/extensions/draft-IERC20PermitUpgradeable.sol/IERC20PermitUpgradeable__factory.ts +106 -0
  91. package/typechain/factories/@openzeppelin/contracts-upgradeable/token/ERC20/extensions/draft-IERC20PermitUpgradeable.sol/index.ts +4 -0
  92. package/typechain/factories/@openzeppelin/contracts-upgradeable/token/ERC20/extensions/index.ts +4 -0
  93. package/typechain/factories/@openzeppelin/contracts-upgradeable/token/ERC20/index.ts +5 -0
  94. package/typechain/factories/@openzeppelin/contracts-upgradeable/token/index.ts +4 -0
  95. package/typechain/factories/@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable__factory.ts +40 -0
  96. package/typechain/factories/@openzeppelin/contracts-upgradeable/utils/index.ts +4 -0
  97. package/typechain/factories/@openzeppelin/index.ts +5 -0
  98. package/typechain/factories/@venusprotocol/governance-contracts/contracts/Governance/AccessControlledV8__factory.ts +197 -0
  99. package/typechain/factories/@venusprotocol/governance-contracts/contracts/Governance/IAccessControlManagerV8__factory.ts +302 -0
  100. package/typechain/factories/@venusprotocol/governance-contracts/contracts/Governance/index.ts +5 -0
  101. package/typechain/factories/@venusprotocol/governance-contracts/contracts/index.ts +4 -0
  102. package/typechain/factories/@venusprotocol/governance-contracts/index.ts +4 -0
  103. package/typechain/factories/@venusprotocol/index.ts +4 -0
  104. package/typechain/factories/contracts/Interfaces/ComptrollerInterface__factory.ts +44 -0
  105. package/typechain/factories/contracts/Interfaces/IIncomeDestination__factory.ts +45 -0
  106. package/typechain/factories/contracts/Interfaces/IPrime__factory.ts +87 -0
  107. package/typechain/factories/contracts/Interfaces/IProtocolShareReserve__factory.ts +54 -0
  108. package/typechain/factories/contracts/Interfaces/IVToken__factory.ts +40 -0
  109. package/typechain/factories/contracts/Interfaces/PoolRegistryInterface__factory.ts +55 -0
  110. package/typechain/factories/contracts/Interfaces/index.ts +9 -0
  111. package/typechain/factories/contracts/ProtocolReserve/ProtocolShareReserve__factory.ts +790 -0
  112. package/typechain/factories/contracts/ProtocolReserve/index.ts +4 -0
  113. package/typechain/factories/contracts/Test/Mocks/MockToken__factory.ts +392 -0
  114. package/typechain/factories/contracts/Test/Mocks/index.ts +4 -0
  115. package/typechain/factories/contracts/Test/index.ts +4 -0
  116. package/typechain/factories/contracts/index.ts +6 -0
  117. package/typechain/factories/index.ts +6 -0
  118. package/typechain/hardhat.d.ts +213 -0
  119. package/typechain/index.ts +55 -0
  120. package/artifacts/build-info/c112788394311939ef4c47b76cde5898.json +0 -1
@@ -0,0 +1,1074 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+
3
+ /* tslint:disable */
4
+
5
+ /* eslint-disable */
6
+ import type {
7
+ TypedEventFilter,
8
+ TypedEvent,
9
+ TypedListener,
10
+ OnEvent,
11
+ PromiseOrValue,
12
+ } from "../../common";
13
+ import type {
14
+ FunctionFragment,
15
+ Result,
16
+ EventFragment,
17
+ } from "@ethersproject/abi";
18
+ import type { Listener, Provider } from "@ethersproject/providers";
19
+ import type {
20
+ BaseContract,
21
+ BigNumber,
22
+ BigNumberish,
23
+ BytesLike,
24
+ CallOverrides,
25
+ ContractTransaction,
26
+ Overrides,
27
+ PopulatedTransaction,
28
+ Signer,
29
+ utils,
30
+ } from "ethers";
31
+
32
+ export declare namespace ProtocolShareReserve {
33
+ export type DistributionConfigStruct = {
34
+ schema: PromiseOrValue<BigNumberish>;
35
+ percentage: PromiseOrValue<BigNumberish>;
36
+ destination: PromiseOrValue<string>;
37
+ };
38
+
39
+ export type DistributionConfigStructOutput = [number, BigNumber, string] & {
40
+ schema: number;
41
+ percentage: BigNumber;
42
+ destination: string;
43
+ };
44
+ }
45
+
46
+ export interface ProtocolShareReserveInterface extends utils.Interface {
47
+ functions: {
48
+ "CORE_POOL_COMPTROLLER()": FunctionFragment;
49
+ "WBNB()": FunctionFragment;
50
+ "acceptOwnership()": FunctionFragment;
51
+ "accessControlManager()": FunctionFragment;
52
+ "addOrUpdateDistributionConfigs((uint8,uint256,address)[])": FunctionFragment;
53
+ "assetsReserves(address,address,uint8)": FunctionFragment;
54
+ "distributionTargets(uint256)": FunctionFragment;
55
+ "getUnreleasedFunds(address,uint8,address,address)": FunctionFragment;
56
+ "initialize(address)": FunctionFragment;
57
+ "owner()": FunctionFragment;
58
+ "pendingOwner()": FunctionFragment;
59
+ "poolRegistry()": FunctionFragment;
60
+ "prime()": FunctionFragment;
61
+ "releaseFunds(address,address[])": FunctionFragment;
62
+ "renounceOwnership()": FunctionFragment;
63
+ "setAccessControlManager(address)": FunctionFragment;
64
+ "setPoolRegistry(address)": FunctionFragment;
65
+ "setPrime(address)": FunctionFragment;
66
+ "totalAssetReserve(address)": FunctionFragment;
67
+ "totalDistributions()": FunctionFragment;
68
+ "transferOwnership(address)": FunctionFragment;
69
+ "updateAssetsState(address,address,uint8)": FunctionFragment;
70
+ "vBNB()": FunctionFragment;
71
+ };
72
+
73
+ getFunction(
74
+ nameOrSignatureOrTopic:
75
+ | "CORE_POOL_COMPTROLLER"
76
+ | "WBNB"
77
+ | "acceptOwnership"
78
+ | "accessControlManager"
79
+ | "addOrUpdateDistributionConfigs"
80
+ | "assetsReserves"
81
+ | "distributionTargets"
82
+ | "getUnreleasedFunds"
83
+ | "initialize"
84
+ | "owner"
85
+ | "pendingOwner"
86
+ | "poolRegistry"
87
+ | "prime"
88
+ | "releaseFunds"
89
+ | "renounceOwnership"
90
+ | "setAccessControlManager"
91
+ | "setPoolRegistry"
92
+ | "setPrime"
93
+ | "totalAssetReserve"
94
+ | "totalDistributions"
95
+ | "transferOwnership"
96
+ | "updateAssetsState"
97
+ | "vBNB"
98
+ ): FunctionFragment;
99
+
100
+ encodeFunctionData(
101
+ functionFragment: "CORE_POOL_COMPTROLLER",
102
+ values?: undefined
103
+ ): string;
104
+ encodeFunctionData(functionFragment: "WBNB", values?: undefined): string;
105
+ encodeFunctionData(
106
+ functionFragment: "acceptOwnership",
107
+ values?: undefined
108
+ ): string;
109
+ encodeFunctionData(
110
+ functionFragment: "accessControlManager",
111
+ values?: undefined
112
+ ): string;
113
+ encodeFunctionData(
114
+ functionFragment: "addOrUpdateDistributionConfigs",
115
+ values: [ProtocolShareReserve.DistributionConfigStruct[]]
116
+ ): string;
117
+ encodeFunctionData(
118
+ functionFragment: "assetsReserves",
119
+ values: [
120
+ PromiseOrValue<string>,
121
+ PromiseOrValue<string>,
122
+ PromiseOrValue<BigNumberish>
123
+ ]
124
+ ): string;
125
+ encodeFunctionData(
126
+ functionFragment: "distributionTargets",
127
+ values: [PromiseOrValue<BigNumberish>]
128
+ ): string;
129
+ encodeFunctionData(
130
+ functionFragment: "getUnreleasedFunds",
131
+ values: [
132
+ PromiseOrValue<string>,
133
+ PromiseOrValue<BigNumberish>,
134
+ PromiseOrValue<string>,
135
+ PromiseOrValue<string>
136
+ ]
137
+ ): string;
138
+ encodeFunctionData(
139
+ functionFragment: "initialize",
140
+ values: [PromiseOrValue<string>]
141
+ ): string;
142
+ encodeFunctionData(functionFragment: "owner", values?: undefined): string;
143
+ encodeFunctionData(
144
+ functionFragment: "pendingOwner",
145
+ values?: undefined
146
+ ): string;
147
+ encodeFunctionData(
148
+ functionFragment: "poolRegistry",
149
+ values?: undefined
150
+ ): string;
151
+ encodeFunctionData(functionFragment: "prime", values?: undefined): string;
152
+ encodeFunctionData(
153
+ functionFragment: "releaseFunds",
154
+ values: [PromiseOrValue<string>, PromiseOrValue<string>[]]
155
+ ): string;
156
+ encodeFunctionData(
157
+ functionFragment: "renounceOwnership",
158
+ values?: undefined
159
+ ): string;
160
+ encodeFunctionData(
161
+ functionFragment: "setAccessControlManager",
162
+ values: [PromiseOrValue<string>]
163
+ ): string;
164
+ encodeFunctionData(
165
+ functionFragment: "setPoolRegistry",
166
+ values: [PromiseOrValue<string>]
167
+ ): string;
168
+ encodeFunctionData(
169
+ functionFragment: "setPrime",
170
+ values: [PromiseOrValue<string>]
171
+ ): string;
172
+ encodeFunctionData(
173
+ functionFragment: "totalAssetReserve",
174
+ values: [PromiseOrValue<string>]
175
+ ): string;
176
+ encodeFunctionData(
177
+ functionFragment: "totalDistributions",
178
+ values?: undefined
179
+ ): string;
180
+ encodeFunctionData(
181
+ functionFragment: "transferOwnership",
182
+ values: [PromiseOrValue<string>]
183
+ ): string;
184
+ encodeFunctionData(
185
+ functionFragment: "updateAssetsState",
186
+ values: [
187
+ PromiseOrValue<string>,
188
+ PromiseOrValue<string>,
189
+ PromiseOrValue<BigNumberish>
190
+ ]
191
+ ): string;
192
+ encodeFunctionData(functionFragment: "vBNB", values?: undefined): string;
193
+
194
+ decodeFunctionResult(
195
+ functionFragment: "CORE_POOL_COMPTROLLER",
196
+ data: BytesLike
197
+ ): Result;
198
+ decodeFunctionResult(functionFragment: "WBNB", data: BytesLike): Result;
199
+ decodeFunctionResult(
200
+ functionFragment: "acceptOwnership",
201
+ data: BytesLike
202
+ ): Result;
203
+ decodeFunctionResult(
204
+ functionFragment: "accessControlManager",
205
+ data: BytesLike
206
+ ): Result;
207
+ decodeFunctionResult(
208
+ functionFragment: "addOrUpdateDistributionConfigs",
209
+ data: BytesLike
210
+ ): Result;
211
+ decodeFunctionResult(
212
+ functionFragment: "assetsReserves",
213
+ data: BytesLike
214
+ ): Result;
215
+ decodeFunctionResult(
216
+ functionFragment: "distributionTargets",
217
+ data: BytesLike
218
+ ): Result;
219
+ decodeFunctionResult(
220
+ functionFragment: "getUnreleasedFunds",
221
+ data: BytesLike
222
+ ): Result;
223
+ decodeFunctionResult(functionFragment: "initialize", data: BytesLike): Result;
224
+ decodeFunctionResult(functionFragment: "owner", data: BytesLike): Result;
225
+ decodeFunctionResult(
226
+ functionFragment: "pendingOwner",
227
+ data: BytesLike
228
+ ): Result;
229
+ decodeFunctionResult(
230
+ functionFragment: "poolRegistry",
231
+ data: BytesLike
232
+ ): Result;
233
+ decodeFunctionResult(functionFragment: "prime", data: BytesLike): Result;
234
+ decodeFunctionResult(
235
+ functionFragment: "releaseFunds",
236
+ data: BytesLike
237
+ ): Result;
238
+ decodeFunctionResult(
239
+ functionFragment: "renounceOwnership",
240
+ data: BytesLike
241
+ ): Result;
242
+ decodeFunctionResult(
243
+ functionFragment: "setAccessControlManager",
244
+ data: BytesLike
245
+ ): Result;
246
+ decodeFunctionResult(
247
+ functionFragment: "setPoolRegistry",
248
+ data: BytesLike
249
+ ): Result;
250
+ decodeFunctionResult(functionFragment: "setPrime", data: BytesLike): Result;
251
+ decodeFunctionResult(
252
+ functionFragment: "totalAssetReserve",
253
+ data: BytesLike
254
+ ): Result;
255
+ decodeFunctionResult(
256
+ functionFragment: "totalDistributions",
257
+ data: BytesLike
258
+ ): Result;
259
+ decodeFunctionResult(
260
+ functionFragment: "transferOwnership",
261
+ data: BytesLike
262
+ ): Result;
263
+ decodeFunctionResult(
264
+ functionFragment: "updateAssetsState",
265
+ data: BytesLike
266
+ ): Result;
267
+ decodeFunctionResult(functionFragment: "vBNB", data: BytesLike): Result;
268
+
269
+ events: {
270
+ "AssetReleased(address,address,uint8,uint256,uint256)": EventFragment;
271
+ "AssetsReservesUpdated(address,address,uint256,uint8,uint8)": EventFragment;
272
+ "DistributionConfigAdded(address,uint256,uint8)": EventFragment;
273
+ "DistributionConfigUpdated(address,uint256,uint256,uint8)": EventFragment;
274
+ "Initialized(uint8)": EventFragment;
275
+ "NewAccessControlManager(address,address)": EventFragment;
276
+ "OwnershipTransferStarted(address,address)": EventFragment;
277
+ "OwnershipTransferred(address,address)": EventFragment;
278
+ "PoolRegistryUpdated(address,address)": EventFragment;
279
+ "PrimeUpdated(address,address)": EventFragment;
280
+ "ReservesUpdated(address,address,uint8,uint256,uint256)": EventFragment;
281
+ };
282
+
283
+ getEvent(nameOrSignatureOrTopic: "AssetReleased"): EventFragment;
284
+ getEvent(nameOrSignatureOrTopic: "AssetsReservesUpdated"): EventFragment;
285
+ getEvent(nameOrSignatureOrTopic: "DistributionConfigAdded"): EventFragment;
286
+ getEvent(nameOrSignatureOrTopic: "DistributionConfigUpdated"): EventFragment;
287
+ getEvent(nameOrSignatureOrTopic: "Initialized"): EventFragment;
288
+ getEvent(nameOrSignatureOrTopic: "NewAccessControlManager"): EventFragment;
289
+ getEvent(nameOrSignatureOrTopic: "OwnershipTransferStarted"): EventFragment;
290
+ getEvent(nameOrSignatureOrTopic: "OwnershipTransferred"): EventFragment;
291
+ getEvent(nameOrSignatureOrTopic: "PoolRegistryUpdated"): EventFragment;
292
+ getEvent(nameOrSignatureOrTopic: "PrimeUpdated"): EventFragment;
293
+ getEvent(nameOrSignatureOrTopic: "ReservesUpdated"): EventFragment;
294
+ }
295
+
296
+ export interface AssetReleasedEventObject {
297
+ destination: string;
298
+ asset: string;
299
+ schema: number;
300
+ percent: BigNumber;
301
+ amount: BigNumber;
302
+ }
303
+ export type AssetReleasedEvent = TypedEvent<
304
+ [string, string, number, BigNumber, BigNumber],
305
+ AssetReleasedEventObject
306
+ >;
307
+
308
+ export type AssetReleasedEventFilter = TypedEventFilter<AssetReleasedEvent>;
309
+
310
+ export interface AssetsReservesUpdatedEventObject {
311
+ comptroller: string;
312
+ asset: string;
313
+ amount: BigNumber;
314
+ incomeType: number;
315
+ schema: number;
316
+ }
317
+ export type AssetsReservesUpdatedEvent = TypedEvent<
318
+ [string, string, BigNumber, number, number],
319
+ AssetsReservesUpdatedEventObject
320
+ >;
321
+
322
+ export type AssetsReservesUpdatedEventFilter =
323
+ TypedEventFilter<AssetsReservesUpdatedEvent>;
324
+
325
+ export interface DistributionConfigAddedEventObject {
326
+ destination: string;
327
+ percentage: BigNumber;
328
+ schema: number;
329
+ }
330
+ export type DistributionConfigAddedEvent = TypedEvent<
331
+ [string, BigNumber, number],
332
+ DistributionConfigAddedEventObject
333
+ >;
334
+
335
+ export type DistributionConfigAddedEventFilter =
336
+ TypedEventFilter<DistributionConfigAddedEvent>;
337
+
338
+ export interface DistributionConfigUpdatedEventObject {
339
+ destination: string;
340
+ oldPercentage: BigNumber;
341
+ newPercentage: BigNumber;
342
+ schema: number;
343
+ }
344
+ export type DistributionConfigUpdatedEvent = TypedEvent<
345
+ [string, BigNumber, BigNumber, number],
346
+ DistributionConfigUpdatedEventObject
347
+ >;
348
+
349
+ export type DistributionConfigUpdatedEventFilter =
350
+ TypedEventFilter<DistributionConfigUpdatedEvent>;
351
+
352
+ export interface InitializedEventObject {
353
+ version: number;
354
+ }
355
+ export type InitializedEvent = TypedEvent<[number], InitializedEventObject>;
356
+
357
+ export type InitializedEventFilter = TypedEventFilter<InitializedEvent>;
358
+
359
+ export interface NewAccessControlManagerEventObject {
360
+ oldAccessControlManager: string;
361
+ newAccessControlManager: string;
362
+ }
363
+ export type NewAccessControlManagerEvent = TypedEvent<
364
+ [string, string],
365
+ NewAccessControlManagerEventObject
366
+ >;
367
+
368
+ export type NewAccessControlManagerEventFilter =
369
+ TypedEventFilter<NewAccessControlManagerEvent>;
370
+
371
+ export interface OwnershipTransferStartedEventObject {
372
+ previousOwner: string;
373
+ newOwner: string;
374
+ }
375
+ export type OwnershipTransferStartedEvent = TypedEvent<
376
+ [string, string],
377
+ OwnershipTransferStartedEventObject
378
+ >;
379
+
380
+ export type OwnershipTransferStartedEventFilter =
381
+ TypedEventFilter<OwnershipTransferStartedEvent>;
382
+
383
+ export interface OwnershipTransferredEventObject {
384
+ previousOwner: string;
385
+ newOwner: string;
386
+ }
387
+ export type OwnershipTransferredEvent = TypedEvent<
388
+ [string, string],
389
+ OwnershipTransferredEventObject
390
+ >;
391
+
392
+ export type OwnershipTransferredEventFilter =
393
+ TypedEventFilter<OwnershipTransferredEvent>;
394
+
395
+ export interface PoolRegistryUpdatedEventObject {
396
+ oldPoolRegistry: string;
397
+ newPoolRegistry: string;
398
+ }
399
+ export type PoolRegistryUpdatedEvent = TypedEvent<
400
+ [string, string],
401
+ PoolRegistryUpdatedEventObject
402
+ >;
403
+
404
+ export type PoolRegistryUpdatedEventFilter =
405
+ TypedEventFilter<PoolRegistryUpdatedEvent>;
406
+
407
+ export interface PrimeUpdatedEventObject {
408
+ oldPrime: string;
409
+ newPrime: string;
410
+ }
411
+ export type PrimeUpdatedEvent = TypedEvent<
412
+ [string, string],
413
+ PrimeUpdatedEventObject
414
+ >;
415
+
416
+ export type PrimeUpdatedEventFilter = TypedEventFilter<PrimeUpdatedEvent>;
417
+
418
+ export interface ReservesUpdatedEventObject {
419
+ comptroller: string;
420
+ asset: string;
421
+ schema: number;
422
+ oldBalance: BigNumber;
423
+ newBalance: BigNumber;
424
+ }
425
+ export type ReservesUpdatedEvent = TypedEvent<
426
+ [string, string, number, BigNumber, BigNumber],
427
+ ReservesUpdatedEventObject
428
+ >;
429
+
430
+ export type ReservesUpdatedEventFilter = TypedEventFilter<ReservesUpdatedEvent>;
431
+
432
+ export interface ProtocolShareReserve extends BaseContract {
433
+ connect(signerOrProvider: Signer | Provider | string): this;
434
+ attach(addressOrName: string): this;
435
+ deployed(): Promise<this>;
436
+
437
+ interface: ProtocolShareReserveInterface;
438
+
439
+ queryFilter<TEvent extends TypedEvent>(
440
+ event: TypedEventFilter<TEvent>,
441
+ fromBlockOrBlockhash?: string | number | undefined,
442
+ toBlock?: string | number | undefined
443
+ ): Promise<Array<TEvent>>;
444
+
445
+ listeners<TEvent extends TypedEvent>(
446
+ eventFilter?: TypedEventFilter<TEvent>
447
+ ): Array<TypedListener<TEvent>>;
448
+ listeners(eventName?: string): Array<Listener>;
449
+ removeAllListeners<TEvent extends TypedEvent>(
450
+ eventFilter: TypedEventFilter<TEvent>
451
+ ): this;
452
+ removeAllListeners(eventName?: string): this;
453
+ off: OnEvent<this>;
454
+ on: OnEvent<this>;
455
+ once: OnEvent<this>;
456
+ removeListener: OnEvent<this>;
457
+
458
+ functions: {
459
+ CORE_POOL_COMPTROLLER(overrides?: CallOverrides): Promise<[string]>;
460
+
461
+ WBNB(overrides?: CallOverrides): Promise<[string]>;
462
+
463
+ acceptOwnership(
464
+ overrides?: Overrides & { from?: PromiseOrValue<string> }
465
+ ): Promise<ContractTransaction>;
466
+
467
+ accessControlManager(overrides?: CallOverrides): Promise<[string]>;
468
+
469
+ addOrUpdateDistributionConfigs(
470
+ configs: ProtocolShareReserve.DistributionConfigStruct[],
471
+ overrides?: Overrides & { from?: PromiseOrValue<string> }
472
+ ): Promise<ContractTransaction>;
473
+
474
+ assetsReserves(
475
+ arg0: PromiseOrValue<string>,
476
+ arg1: PromiseOrValue<string>,
477
+ arg2: PromiseOrValue<BigNumberish>,
478
+ overrides?: CallOverrides
479
+ ): Promise<[BigNumber]>;
480
+
481
+ distributionTargets(
482
+ arg0: PromiseOrValue<BigNumberish>,
483
+ overrides?: CallOverrides
484
+ ): Promise<
485
+ [number, BigNumber, string] & {
486
+ schema: number;
487
+ percentage: BigNumber;
488
+ destination: string;
489
+ }
490
+ >;
491
+
492
+ getUnreleasedFunds(
493
+ comptroller: PromiseOrValue<string>,
494
+ schema: PromiseOrValue<BigNumberish>,
495
+ destination: PromiseOrValue<string>,
496
+ asset: PromiseOrValue<string>,
497
+ overrides?: CallOverrides
498
+ ): Promise<[BigNumber]>;
499
+
500
+ initialize(
501
+ _accessControlManager: PromiseOrValue<string>,
502
+ overrides?: Overrides & { from?: PromiseOrValue<string> }
503
+ ): Promise<ContractTransaction>;
504
+
505
+ owner(overrides?: CallOverrides): Promise<[string]>;
506
+
507
+ pendingOwner(overrides?: CallOverrides): Promise<[string]>;
508
+
509
+ poolRegistry(overrides?: CallOverrides): Promise<[string]>;
510
+
511
+ prime(overrides?: CallOverrides): Promise<[string]>;
512
+
513
+ releaseFunds(
514
+ comptroller: PromiseOrValue<string>,
515
+ assets: PromiseOrValue<string>[],
516
+ overrides?: Overrides & { from?: PromiseOrValue<string> }
517
+ ): Promise<ContractTransaction>;
518
+
519
+ renounceOwnership(
520
+ overrides?: Overrides & { from?: PromiseOrValue<string> }
521
+ ): Promise<ContractTransaction>;
522
+
523
+ setAccessControlManager(
524
+ accessControlManager_: PromiseOrValue<string>,
525
+ overrides?: Overrides & { from?: PromiseOrValue<string> }
526
+ ): Promise<ContractTransaction>;
527
+
528
+ setPoolRegistry(
529
+ _poolRegistry: PromiseOrValue<string>,
530
+ overrides?: Overrides & { from?: PromiseOrValue<string> }
531
+ ): Promise<ContractTransaction>;
532
+
533
+ setPrime(
534
+ _prime: PromiseOrValue<string>,
535
+ overrides?: Overrides & { from?: PromiseOrValue<string> }
536
+ ): Promise<ContractTransaction>;
537
+
538
+ totalAssetReserve(
539
+ arg0: PromiseOrValue<string>,
540
+ overrides?: CallOverrides
541
+ ): Promise<[BigNumber]>;
542
+
543
+ totalDistributions(overrides?: CallOverrides): Promise<[BigNumber]>;
544
+
545
+ transferOwnership(
546
+ newOwner: PromiseOrValue<string>,
547
+ overrides?: Overrides & { from?: PromiseOrValue<string> }
548
+ ): Promise<ContractTransaction>;
549
+
550
+ updateAssetsState(
551
+ comptroller: PromiseOrValue<string>,
552
+ asset: PromiseOrValue<string>,
553
+ incomeType: PromiseOrValue<BigNumberish>,
554
+ overrides?: Overrides & { from?: PromiseOrValue<string> }
555
+ ): Promise<ContractTransaction>;
556
+
557
+ vBNB(overrides?: CallOverrides): Promise<[string]>;
558
+ };
559
+
560
+ CORE_POOL_COMPTROLLER(overrides?: CallOverrides): Promise<string>;
561
+
562
+ WBNB(overrides?: CallOverrides): Promise<string>;
563
+
564
+ acceptOwnership(
565
+ overrides?: Overrides & { from?: PromiseOrValue<string> }
566
+ ): Promise<ContractTransaction>;
567
+
568
+ accessControlManager(overrides?: CallOverrides): Promise<string>;
569
+
570
+ addOrUpdateDistributionConfigs(
571
+ configs: ProtocolShareReserve.DistributionConfigStruct[],
572
+ overrides?: Overrides & { from?: PromiseOrValue<string> }
573
+ ): Promise<ContractTransaction>;
574
+
575
+ assetsReserves(
576
+ arg0: PromiseOrValue<string>,
577
+ arg1: PromiseOrValue<string>,
578
+ arg2: PromiseOrValue<BigNumberish>,
579
+ overrides?: CallOverrides
580
+ ): Promise<BigNumber>;
581
+
582
+ distributionTargets(
583
+ arg0: PromiseOrValue<BigNumberish>,
584
+ overrides?: CallOverrides
585
+ ): Promise<
586
+ [number, BigNumber, string] & {
587
+ schema: number;
588
+ percentage: BigNumber;
589
+ destination: string;
590
+ }
591
+ >;
592
+
593
+ getUnreleasedFunds(
594
+ comptroller: PromiseOrValue<string>,
595
+ schema: PromiseOrValue<BigNumberish>,
596
+ destination: PromiseOrValue<string>,
597
+ asset: PromiseOrValue<string>,
598
+ overrides?: CallOverrides
599
+ ): Promise<BigNumber>;
600
+
601
+ initialize(
602
+ _accessControlManager: PromiseOrValue<string>,
603
+ overrides?: Overrides & { from?: PromiseOrValue<string> }
604
+ ): Promise<ContractTransaction>;
605
+
606
+ owner(overrides?: CallOverrides): Promise<string>;
607
+
608
+ pendingOwner(overrides?: CallOverrides): Promise<string>;
609
+
610
+ poolRegistry(overrides?: CallOverrides): Promise<string>;
611
+
612
+ prime(overrides?: CallOverrides): Promise<string>;
613
+
614
+ releaseFunds(
615
+ comptroller: PromiseOrValue<string>,
616
+ assets: PromiseOrValue<string>[],
617
+ overrides?: Overrides & { from?: PromiseOrValue<string> }
618
+ ): Promise<ContractTransaction>;
619
+
620
+ renounceOwnership(
621
+ overrides?: Overrides & { from?: PromiseOrValue<string> }
622
+ ): Promise<ContractTransaction>;
623
+
624
+ setAccessControlManager(
625
+ accessControlManager_: PromiseOrValue<string>,
626
+ overrides?: Overrides & { from?: PromiseOrValue<string> }
627
+ ): Promise<ContractTransaction>;
628
+
629
+ setPoolRegistry(
630
+ _poolRegistry: PromiseOrValue<string>,
631
+ overrides?: Overrides & { from?: PromiseOrValue<string> }
632
+ ): Promise<ContractTransaction>;
633
+
634
+ setPrime(
635
+ _prime: PromiseOrValue<string>,
636
+ overrides?: Overrides & { from?: PromiseOrValue<string> }
637
+ ): Promise<ContractTransaction>;
638
+
639
+ totalAssetReserve(
640
+ arg0: PromiseOrValue<string>,
641
+ overrides?: CallOverrides
642
+ ): Promise<BigNumber>;
643
+
644
+ totalDistributions(overrides?: CallOverrides): Promise<BigNumber>;
645
+
646
+ transferOwnership(
647
+ newOwner: PromiseOrValue<string>,
648
+ overrides?: Overrides & { from?: PromiseOrValue<string> }
649
+ ): Promise<ContractTransaction>;
650
+
651
+ updateAssetsState(
652
+ comptroller: PromiseOrValue<string>,
653
+ asset: PromiseOrValue<string>,
654
+ incomeType: PromiseOrValue<BigNumberish>,
655
+ overrides?: Overrides & { from?: PromiseOrValue<string> }
656
+ ): Promise<ContractTransaction>;
657
+
658
+ vBNB(overrides?: CallOverrides): Promise<string>;
659
+
660
+ callStatic: {
661
+ CORE_POOL_COMPTROLLER(overrides?: CallOverrides): Promise<string>;
662
+
663
+ WBNB(overrides?: CallOverrides): Promise<string>;
664
+
665
+ acceptOwnership(overrides?: CallOverrides): Promise<void>;
666
+
667
+ accessControlManager(overrides?: CallOverrides): Promise<string>;
668
+
669
+ addOrUpdateDistributionConfigs(
670
+ configs: ProtocolShareReserve.DistributionConfigStruct[],
671
+ overrides?: CallOverrides
672
+ ): Promise<void>;
673
+
674
+ assetsReserves(
675
+ arg0: PromiseOrValue<string>,
676
+ arg1: PromiseOrValue<string>,
677
+ arg2: PromiseOrValue<BigNumberish>,
678
+ overrides?: CallOverrides
679
+ ): Promise<BigNumber>;
680
+
681
+ distributionTargets(
682
+ arg0: PromiseOrValue<BigNumberish>,
683
+ overrides?: CallOverrides
684
+ ): Promise<
685
+ [number, BigNumber, string] & {
686
+ schema: number;
687
+ percentage: BigNumber;
688
+ destination: string;
689
+ }
690
+ >;
691
+
692
+ getUnreleasedFunds(
693
+ comptroller: PromiseOrValue<string>,
694
+ schema: PromiseOrValue<BigNumberish>,
695
+ destination: PromiseOrValue<string>,
696
+ asset: PromiseOrValue<string>,
697
+ overrides?: CallOverrides
698
+ ): Promise<BigNumber>;
699
+
700
+ initialize(
701
+ _accessControlManager: PromiseOrValue<string>,
702
+ overrides?: CallOverrides
703
+ ): Promise<void>;
704
+
705
+ owner(overrides?: CallOverrides): Promise<string>;
706
+
707
+ pendingOwner(overrides?: CallOverrides): Promise<string>;
708
+
709
+ poolRegistry(overrides?: CallOverrides): Promise<string>;
710
+
711
+ prime(overrides?: CallOverrides): Promise<string>;
712
+
713
+ releaseFunds(
714
+ comptroller: PromiseOrValue<string>,
715
+ assets: PromiseOrValue<string>[],
716
+ overrides?: CallOverrides
717
+ ): Promise<void>;
718
+
719
+ renounceOwnership(overrides?: CallOverrides): Promise<void>;
720
+
721
+ setAccessControlManager(
722
+ accessControlManager_: PromiseOrValue<string>,
723
+ overrides?: CallOverrides
724
+ ): Promise<void>;
725
+
726
+ setPoolRegistry(
727
+ _poolRegistry: PromiseOrValue<string>,
728
+ overrides?: CallOverrides
729
+ ): Promise<void>;
730
+
731
+ setPrime(
732
+ _prime: PromiseOrValue<string>,
733
+ overrides?: CallOverrides
734
+ ): Promise<void>;
735
+
736
+ totalAssetReserve(
737
+ arg0: PromiseOrValue<string>,
738
+ overrides?: CallOverrides
739
+ ): Promise<BigNumber>;
740
+
741
+ totalDistributions(overrides?: CallOverrides): Promise<BigNumber>;
742
+
743
+ transferOwnership(
744
+ newOwner: PromiseOrValue<string>,
745
+ overrides?: CallOverrides
746
+ ): Promise<void>;
747
+
748
+ updateAssetsState(
749
+ comptroller: PromiseOrValue<string>,
750
+ asset: PromiseOrValue<string>,
751
+ incomeType: PromiseOrValue<BigNumberish>,
752
+ overrides?: CallOverrides
753
+ ): Promise<void>;
754
+
755
+ vBNB(overrides?: CallOverrides): Promise<string>;
756
+ };
757
+
758
+ filters: {
759
+ "AssetReleased(address,address,uint8,uint256,uint256)"(
760
+ destination?: PromiseOrValue<string> | null,
761
+ asset?: PromiseOrValue<string> | null,
762
+ schema?: null,
763
+ percent?: null,
764
+ amount?: null
765
+ ): AssetReleasedEventFilter;
766
+ AssetReleased(
767
+ destination?: PromiseOrValue<string> | null,
768
+ asset?: PromiseOrValue<string> | null,
769
+ schema?: null,
770
+ percent?: null,
771
+ amount?: null
772
+ ): AssetReleasedEventFilter;
773
+
774
+ "AssetsReservesUpdated(address,address,uint256,uint8,uint8)"(
775
+ comptroller?: PromiseOrValue<string> | null,
776
+ asset?: PromiseOrValue<string> | null,
777
+ amount?: null,
778
+ incomeType?: null,
779
+ schema?: null
780
+ ): AssetsReservesUpdatedEventFilter;
781
+ AssetsReservesUpdated(
782
+ comptroller?: PromiseOrValue<string> | null,
783
+ asset?: PromiseOrValue<string> | null,
784
+ amount?: null,
785
+ incomeType?: null,
786
+ schema?: null
787
+ ): AssetsReservesUpdatedEventFilter;
788
+
789
+ "DistributionConfigAdded(address,uint256,uint8)"(
790
+ destination?: PromiseOrValue<string> | null,
791
+ percentage?: null,
792
+ schema?: null
793
+ ): DistributionConfigAddedEventFilter;
794
+ DistributionConfigAdded(
795
+ destination?: PromiseOrValue<string> | null,
796
+ percentage?: null,
797
+ schema?: null
798
+ ): DistributionConfigAddedEventFilter;
799
+
800
+ "DistributionConfigUpdated(address,uint256,uint256,uint8)"(
801
+ destination?: PromiseOrValue<string> | null,
802
+ oldPercentage?: null,
803
+ newPercentage?: null,
804
+ schema?: null
805
+ ): DistributionConfigUpdatedEventFilter;
806
+ DistributionConfigUpdated(
807
+ destination?: PromiseOrValue<string> | null,
808
+ oldPercentage?: null,
809
+ newPercentage?: null,
810
+ schema?: null
811
+ ): DistributionConfigUpdatedEventFilter;
812
+
813
+ "Initialized(uint8)"(version?: null): InitializedEventFilter;
814
+ Initialized(version?: null): InitializedEventFilter;
815
+
816
+ "NewAccessControlManager(address,address)"(
817
+ oldAccessControlManager?: null,
818
+ newAccessControlManager?: null
819
+ ): NewAccessControlManagerEventFilter;
820
+ NewAccessControlManager(
821
+ oldAccessControlManager?: null,
822
+ newAccessControlManager?: null
823
+ ): NewAccessControlManagerEventFilter;
824
+
825
+ "OwnershipTransferStarted(address,address)"(
826
+ previousOwner?: PromiseOrValue<string> | null,
827
+ newOwner?: PromiseOrValue<string> | null
828
+ ): OwnershipTransferStartedEventFilter;
829
+ OwnershipTransferStarted(
830
+ previousOwner?: PromiseOrValue<string> | null,
831
+ newOwner?: PromiseOrValue<string> | null
832
+ ): OwnershipTransferStartedEventFilter;
833
+
834
+ "OwnershipTransferred(address,address)"(
835
+ previousOwner?: PromiseOrValue<string> | null,
836
+ newOwner?: PromiseOrValue<string> | null
837
+ ): OwnershipTransferredEventFilter;
838
+ OwnershipTransferred(
839
+ previousOwner?: PromiseOrValue<string> | null,
840
+ newOwner?: PromiseOrValue<string> | null
841
+ ): OwnershipTransferredEventFilter;
842
+
843
+ "PoolRegistryUpdated(address,address)"(
844
+ oldPoolRegistry?: PromiseOrValue<string> | null,
845
+ newPoolRegistry?: PromiseOrValue<string> | null
846
+ ): PoolRegistryUpdatedEventFilter;
847
+ PoolRegistryUpdated(
848
+ oldPoolRegistry?: PromiseOrValue<string> | null,
849
+ newPoolRegistry?: PromiseOrValue<string> | null
850
+ ): PoolRegistryUpdatedEventFilter;
851
+
852
+ "PrimeUpdated(address,address)"(
853
+ oldPrime?: PromiseOrValue<string> | null,
854
+ newPrime?: PromiseOrValue<string> | null
855
+ ): PrimeUpdatedEventFilter;
856
+ PrimeUpdated(
857
+ oldPrime?: PromiseOrValue<string> | null,
858
+ newPrime?: PromiseOrValue<string> | null
859
+ ): PrimeUpdatedEventFilter;
860
+
861
+ "ReservesUpdated(address,address,uint8,uint256,uint256)"(
862
+ comptroller?: PromiseOrValue<string> | null,
863
+ asset?: PromiseOrValue<string> | null,
864
+ schema?: null,
865
+ oldBalance?: null,
866
+ newBalance?: null
867
+ ): ReservesUpdatedEventFilter;
868
+ ReservesUpdated(
869
+ comptroller?: PromiseOrValue<string> | null,
870
+ asset?: PromiseOrValue<string> | null,
871
+ schema?: null,
872
+ oldBalance?: null,
873
+ newBalance?: null
874
+ ): ReservesUpdatedEventFilter;
875
+ };
876
+
877
+ estimateGas: {
878
+ CORE_POOL_COMPTROLLER(overrides?: CallOverrides): Promise<BigNumber>;
879
+
880
+ WBNB(overrides?: CallOverrides): Promise<BigNumber>;
881
+
882
+ acceptOwnership(
883
+ overrides?: Overrides & { from?: PromiseOrValue<string> }
884
+ ): Promise<BigNumber>;
885
+
886
+ accessControlManager(overrides?: CallOverrides): Promise<BigNumber>;
887
+
888
+ addOrUpdateDistributionConfigs(
889
+ configs: ProtocolShareReserve.DistributionConfigStruct[],
890
+ overrides?: Overrides & { from?: PromiseOrValue<string> }
891
+ ): Promise<BigNumber>;
892
+
893
+ assetsReserves(
894
+ arg0: PromiseOrValue<string>,
895
+ arg1: PromiseOrValue<string>,
896
+ arg2: PromiseOrValue<BigNumberish>,
897
+ overrides?: CallOverrides
898
+ ): Promise<BigNumber>;
899
+
900
+ distributionTargets(
901
+ arg0: PromiseOrValue<BigNumberish>,
902
+ overrides?: CallOverrides
903
+ ): Promise<BigNumber>;
904
+
905
+ getUnreleasedFunds(
906
+ comptroller: PromiseOrValue<string>,
907
+ schema: PromiseOrValue<BigNumberish>,
908
+ destination: PromiseOrValue<string>,
909
+ asset: PromiseOrValue<string>,
910
+ overrides?: CallOverrides
911
+ ): Promise<BigNumber>;
912
+
913
+ initialize(
914
+ _accessControlManager: PromiseOrValue<string>,
915
+ overrides?: Overrides & { from?: PromiseOrValue<string> }
916
+ ): Promise<BigNumber>;
917
+
918
+ owner(overrides?: CallOverrides): Promise<BigNumber>;
919
+
920
+ pendingOwner(overrides?: CallOverrides): Promise<BigNumber>;
921
+
922
+ poolRegistry(overrides?: CallOverrides): Promise<BigNumber>;
923
+
924
+ prime(overrides?: CallOverrides): Promise<BigNumber>;
925
+
926
+ releaseFunds(
927
+ comptroller: PromiseOrValue<string>,
928
+ assets: PromiseOrValue<string>[],
929
+ overrides?: Overrides & { from?: PromiseOrValue<string> }
930
+ ): Promise<BigNumber>;
931
+
932
+ renounceOwnership(
933
+ overrides?: Overrides & { from?: PromiseOrValue<string> }
934
+ ): Promise<BigNumber>;
935
+
936
+ setAccessControlManager(
937
+ accessControlManager_: PromiseOrValue<string>,
938
+ overrides?: Overrides & { from?: PromiseOrValue<string> }
939
+ ): Promise<BigNumber>;
940
+
941
+ setPoolRegistry(
942
+ _poolRegistry: PromiseOrValue<string>,
943
+ overrides?: Overrides & { from?: PromiseOrValue<string> }
944
+ ): Promise<BigNumber>;
945
+
946
+ setPrime(
947
+ _prime: PromiseOrValue<string>,
948
+ overrides?: Overrides & { from?: PromiseOrValue<string> }
949
+ ): Promise<BigNumber>;
950
+
951
+ totalAssetReserve(
952
+ arg0: PromiseOrValue<string>,
953
+ overrides?: CallOverrides
954
+ ): Promise<BigNumber>;
955
+
956
+ totalDistributions(overrides?: CallOverrides): Promise<BigNumber>;
957
+
958
+ transferOwnership(
959
+ newOwner: PromiseOrValue<string>,
960
+ overrides?: Overrides & { from?: PromiseOrValue<string> }
961
+ ): Promise<BigNumber>;
962
+
963
+ updateAssetsState(
964
+ comptroller: PromiseOrValue<string>,
965
+ asset: PromiseOrValue<string>,
966
+ incomeType: PromiseOrValue<BigNumberish>,
967
+ overrides?: Overrides & { from?: PromiseOrValue<string> }
968
+ ): Promise<BigNumber>;
969
+
970
+ vBNB(overrides?: CallOverrides): Promise<BigNumber>;
971
+ };
972
+
973
+ populateTransaction: {
974
+ CORE_POOL_COMPTROLLER(
975
+ overrides?: CallOverrides
976
+ ): Promise<PopulatedTransaction>;
977
+
978
+ WBNB(overrides?: CallOverrides): Promise<PopulatedTransaction>;
979
+
980
+ acceptOwnership(
981
+ overrides?: Overrides & { from?: PromiseOrValue<string> }
982
+ ): Promise<PopulatedTransaction>;
983
+
984
+ accessControlManager(
985
+ overrides?: CallOverrides
986
+ ): Promise<PopulatedTransaction>;
987
+
988
+ addOrUpdateDistributionConfigs(
989
+ configs: ProtocolShareReserve.DistributionConfigStruct[],
990
+ overrides?: Overrides & { from?: PromiseOrValue<string> }
991
+ ): Promise<PopulatedTransaction>;
992
+
993
+ assetsReserves(
994
+ arg0: PromiseOrValue<string>,
995
+ arg1: PromiseOrValue<string>,
996
+ arg2: PromiseOrValue<BigNumberish>,
997
+ overrides?: CallOverrides
998
+ ): Promise<PopulatedTransaction>;
999
+
1000
+ distributionTargets(
1001
+ arg0: PromiseOrValue<BigNumberish>,
1002
+ overrides?: CallOverrides
1003
+ ): Promise<PopulatedTransaction>;
1004
+
1005
+ getUnreleasedFunds(
1006
+ comptroller: PromiseOrValue<string>,
1007
+ schema: PromiseOrValue<BigNumberish>,
1008
+ destination: PromiseOrValue<string>,
1009
+ asset: PromiseOrValue<string>,
1010
+ overrides?: CallOverrides
1011
+ ): Promise<PopulatedTransaction>;
1012
+
1013
+ initialize(
1014
+ _accessControlManager: PromiseOrValue<string>,
1015
+ overrides?: Overrides & { from?: PromiseOrValue<string> }
1016
+ ): Promise<PopulatedTransaction>;
1017
+
1018
+ owner(overrides?: CallOverrides): Promise<PopulatedTransaction>;
1019
+
1020
+ pendingOwner(overrides?: CallOverrides): Promise<PopulatedTransaction>;
1021
+
1022
+ poolRegistry(overrides?: CallOverrides): Promise<PopulatedTransaction>;
1023
+
1024
+ prime(overrides?: CallOverrides): Promise<PopulatedTransaction>;
1025
+
1026
+ releaseFunds(
1027
+ comptroller: PromiseOrValue<string>,
1028
+ assets: PromiseOrValue<string>[],
1029
+ overrides?: Overrides & { from?: PromiseOrValue<string> }
1030
+ ): Promise<PopulatedTransaction>;
1031
+
1032
+ renounceOwnership(
1033
+ overrides?: Overrides & { from?: PromiseOrValue<string> }
1034
+ ): Promise<PopulatedTransaction>;
1035
+
1036
+ setAccessControlManager(
1037
+ accessControlManager_: PromiseOrValue<string>,
1038
+ overrides?: Overrides & { from?: PromiseOrValue<string> }
1039
+ ): Promise<PopulatedTransaction>;
1040
+
1041
+ setPoolRegistry(
1042
+ _poolRegistry: PromiseOrValue<string>,
1043
+ overrides?: Overrides & { from?: PromiseOrValue<string> }
1044
+ ): Promise<PopulatedTransaction>;
1045
+
1046
+ setPrime(
1047
+ _prime: PromiseOrValue<string>,
1048
+ overrides?: Overrides & { from?: PromiseOrValue<string> }
1049
+ ): Promise<PopulatedTransaction>;
1050
+
1051
+ totalAssetReserve(
1052
+ arg0: PromiseOrValue<string>,
1053
+ overrides?: CallOverrides
1054
+ ): Promise<PopulatedTransaction>;
1055
+
1056
+ totalDistributions(
1057
+ overrides?: CallOverrides
1058
+ ): Promise<PopulatedTransaction>;
1059
+
1060
+ transferOwnership(
1061
+ newOwner: PromiseOrValue<string>,
1062
+ overrides?: Overrides & { from?: PromiseOrValue<string> }
1063
+ ): Promise<PopulatedTransaction>;
1064
+
1065
+ updateAssetsState(
1066
+ comptroller: PromiseOrValue<string>,
1067
+ asset: PromiseOrValue<string>,
1068
+ incomeType: PromiseOrValue<BigNumberish>,
1069
+ overrides?: Overrides & { from?: PromiseOrValue<string> }
1070
+ ): Promise<PopulatedTransaction>;
1071
+
1072
+ vBNB(overrides?: CallOverrides): Promise<PopulatedTransaction>;
1073
+ };
1074
+ }