@venusprotocol/protocol-reserve 1.5.0-dev.1 → 1.5.0-dev.2

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 (125) hide show
  1. package/package.json +2 -3
  2. package/typechain/AbstractTokenConverter.d.ts +0 -1775
  3. package/typechain/AccessControl.d.ts +0 -388
  4. package/typechain/AccessControlledV8.d.ts +0 -341
  5. package/typechain/BeaconProxy.d.ts +0 -126
  6. package/typechain/BoundValidatorInterface.d.ts +0 -126
  7. package/typechain/ContextUpgradeable.d.ts +0 -92
  8. package/typechain/ConverterNetwork.d.ts +0 -723
  9. package/typechain/ERC165.d.ts +0 -116
  10. package/typechain/ERC1967Upgrade.d.ts +0 -126
  11. package/typechain/ERC20.d.ts +0 -441
  12. package/typechain/IAbstractTokenConverter.d.ts +0 -773
  13. package/typechain/IAccessControl.d.ts +0 -333
  14. package/typechain/IAccessControlManagerV8.d.ts +0 -504
  15. package/typechain/IBeacon.d.ts +0 -101
  16. package/typechain/IComptroller.d.ts +0 -136
  17. package/typechain/IConverterNetwork.d.ts +0 -292
  18. package/typechain/IERC165.d.ts +0 -116
  19. package/typechain/IERC1822Proxiable.d.ts +0 -101
  20. package/typechain/IERC1967.d.ts +0 -126
  21. package/typechain/IERC20.d.ts +0 -324
  22. package/typechain/IERC20Metadata.d.ts +0 -363
  23. package/typechain/IERC20PermitUpgradeable.d.ts +0 -187
  24. package/typechain/IERC20Upgradeable.d.ts +0 -324
  25. package/typechain/IIncomeDestination.d.ts +0 -122
  26. package/typechain/IPoolRegistry.d.ts +0 -155
  27. package/typechain/IProtocolShareReserve.d.ts +0 -127
  28. package/typechain/IRiskFund.d.ts +0 -200
  29. package/typechain/IRiskFundConverter.d.ts +0 -138
  30. package/typechain/IRiskFundGetters.d.ts +0 -103
  31. package/typechain/IShortfall.d.ts +0 -110
  32. package/typechain/IVToken.d.ts +0 -98
  33. package/typechain/IXVSVault.d.ts +0 -95
  34. package/typechain/Initializable.d.ts +0 -92
  35. package/typechain/MaxLoopsLimitHelper.d.ts +0 -128
  36. package/typechain/MaxLoopsLimitHelpersStorage.d.ts +0 -101
  37. package/typechain/MockACM.d.ts +0 -615
  38. package/typechain/MockArraySorter.d.ts +0 -118
  39. package/typechain/MockConverter.d.ts +0 -1969
  40. package/typechain/MockDeflatingToken.d.ts +0 -486
  41. package/typechain/MockRiskFundConverter.d.ts +0 -2479
  42. package/typechain/MockToken.d.ts +0 -505
  43. package/typechain/OracleInterface.d.ts +0 -98
  44. package/typechain/Ownable.d.ts +0 -181
  45. package/typechain/Ownable2StepUpgradeable.d.ts +0 -261
  46. package/typechain/OwnableUpgradeable.d.ts +0 -193
  47. package/typechain/PausableUpgradeable.d.ts +0 -129
  48. package/typechain/ProtocolShareReserve.d.ts +0 -1214
  49. package/typechain/Proxy.d.ts +0 -78
  50. package/typechain/ReentrancyGuardUpgradeable.d.ts +0 -92
  51. package/typechain/ReserveHelpersStorage.d.ts +0 -300
  52. package/typechain/ResilientOracle.d.ts +0 -1034
  53. package/typechain/ResilientOracleInterface.d.ts +0 -192
  54. package/typechain/RiskFundConverter.d.ts +0 -2235
  55. package/typechain/RiskFundV1Storage.d.ts +0 -353
  56. package/typechain/RiskFundV2.d.ts +0 -965
  57. package/typechain/RiskFundV2Storage.d.ts +0 -372
  58. package/typechain/SingleTokenConverter.d.ts +0 -1944
  59. package/typechain/TwapInterface.d.ts +0 -124
  60. package/typechain/UpgradeableBeacon.d.ts +0 -240
  61. package/typechain/VBep20Interface.d.ts +0 -379
  62. package/typechain/XVSVaultTreasury.d.ts +0 -515
  63. package/typechain/common.d.ts +0 -35
  64. package/typechain/factories/AbstractTokenConverter__factory.ts +0 -1297
  65. package/typechain/factories/AccessControl__factory.ts +0 -227
  66. package/typechain/factories/AccessControlledV8__factory.ts +0 -196
  67. package/typechain/factories/BeaconProxy__factory.ts +0 -133
  68. package/typechain/factories/BoundValidatorInterface__factory.ts +0 -59
  69. package/typechain/factories/ContextUpgradeable__factory.ts +0 -39
  70. package/typechain/factories/ConverterNetwork__factory.ts +0 -502
  71. package/typechain/factories/ERC165__factory.ts +0 -39
  72. package/typechain/factories/ERC1967Upgrade__factory.ts +0 -71
  73. package/typechain/factories/ERC20__factory.ts +0 -340
  74. package/typechain/factories/IAbstractTokenConverter__factory.ts +0 -466
  75. package/typechain/factories/IAccessControlManagerV8__factory.ts +0 -301
  76. package/typechain/factories/IAccessControl__factory.ts +0 -198
  77. package/typechain/factories/IBeacon__factory.ts +0 -36
  78. package/typechain/factories/IComptroller__factory.ts +0 -68
  79. package/typechain/factories/IConverterNetwork__factory.ts +0 -142
  80. package/typechain/factories/IERC165__factory.ts +0 -42
  81. package/typechain/factories/IERC1822Proxiable__factory.ts +0 -39
  82. package/typechain/factories/IERC1967__factory.ts +0 -68
  83. package/typechain/factories/IERC20Metadata__factory.ts +0 -248
  84. package/typechain/factories/IERC20PermitUpgradeable__factory.ts +0 -105
  85. package/typechain/factories/IERC20Upgradeable__factory.ts +0 -209
  86. package/typechain/factories/IERC20__factory.ts +0 -203
  87. package/typechain/factories/IIncomeDestination__factory.ts +0 -44
  88. package/typechain/factories/IPoolRegistry__factory.ts +0 -66
  89. package/typechain/factories/IProtocolShareReserve__factory.ts +0 -53
  90. package/typechain/factories/IRiskFundConverter__factory.ts +0 -63
  91. package/typechain/factories/IRiskFundGetters__factory.ts +0 -39
  92. package/typechain/factories/IRiskFund__factory.ts +0 -89
  93. package/typechain/factories/IShortfall__factory.ts +0 -36
  94. package/typechain/factories/IVToken__factory.ts +0 -36
  95. package/typechain/factories/IXVSVault__factory.ts +0 -36
  96. package/typechain/factories/Initializable__factory.ts +0 -36
  97. package/typechain/factories/MaxLoopsLimitHelper__factory.ts +0 -74
  98. package/typechain/factories/MaxLoopsLimitHelpersStorage__factory.ts +0 -75
  99. package/typechain/factories/MockACM__factory.ts +0 -411
  100. package/typechain/factories/MockArraySorter__factory.ts +0 -85
  101. package/typechain/factories/MockConverter__factory.ts +0 -1439
  102. package/typechain/factories/MockDeflatingToken__factory.ts +0 -389
  103. package/typechain/factories/MockRiskFundConverter__factory.ts +0 -1828
  104. package/typechain/factories/MockToken__factory.ts +0 -398
  105. package/typechain/factories/OracleInterface__factory.ts +0 -45
  106. package/typechain/factories/Ownable2StepUpgradeable__factory.ts +0 -134
  107. package/typechain/factories/OwnableUpgradeable__factory.ts +0 -91
  108. package/typechain/factories/Ownable__factory.ts +0 -75
  109. package/typechain/factories/PausableUpgradeable__factory.ts +0 -78
  110. package/typechain/factories/ProtocolShareReserve__factory.ts +0 -874
  111. package/typechain/factories/Proxy__factory.ts +0 -28
  112. package/typechain/factories/ReentrancyGuardUpgradeable__factory.ts +0 -43
  113. package/typechain/factories/ReserveHelpersStorage__factory.ts +0 -188
  114. package/typechain/factories/ResilientOracleInterface__factory.ts +0 -94
  115. package/typechain/factories/ResilientOracle__factory.ts +0 -710
  116. package/typechain/factories/RiskFundConverter__factory.ts +0 -1694
  117. package/typechain/factories/RiskFundV1Storage__factory.ts +0 -223
  118. package/typechain/factories/RiskFundV2Storage__factory.ts +0 -236
  119. package/typechain/factories/RiskFundV2__factory.ts +0 -672
  120. package/typechain/factories/SingleTokenConverter__factory.ts +0 -1441
  121. package/typechain/factories/TwapInterface__factory.ts +0 -61
  122. package/typechain/factories/UpgradeableBeacon__factory.ts +0 -163
  123. package/typechain/factories/VBep20Interface__factory.ts +0 -261
  124. package/typechain/factories/XVSVaultTreasury__factory.ts +0 -365
  125. package/typechain/index.ts +0 -126
@@ -1,2479 +0,0 @@
1
- /* Autogenerated file. Do not edit manually. */
2
- /* tslint:disable */
3
- /* eslint-disable */
4
-
5
- import {
6
- ethers,
7
- EventFilter,
8
- Signer,
9
- BigNumber,
10
- BigNumberish,
11
- PopulatedTransaction,
12
- BaseContract,
13
- ContractTransaction,
14
- Overrides,
15
- CallOverrides,
16
- } from "ethers";
17
- import { BytesLike } from "@ethersproject/bytes";
18
- import { Listener, Provider } from "@ethersproject/providers";
19
- import { FunctionFragment, EventFragment, Result } from "@ethersproject/abi";
20
- import type { TypedEventFilter, TypedEvent, TypedListener } from "./common";
21
-
22
- interface MockRiskFundConverterInterface extends ethers.utils.Interface {
23
- functions: {
24
- "CORE_POOL_COMPTROLLER()": FunctionFragment;
25
- "MAX_INCENTIVE()": FunctionFragment;
26
- "NATIVE_WRAPPED()": FunctionFragment;
27
- "VBNB()": FunctionFragment;
28
- "acceptOwnership()": FunctionFragment;
29
- "accessControlManager()": FunctionFragment;
30
- "balanceOf(address)": FunctionFragment;
31
- "conversionConfigurations(address,address)": FunctionFragment;
32
- "conversionPaused()": FunctionFragment;
33
- "convertExactTokens(uint256,uint256,address,address,address)": FunctionFragment;
34
- "convertExactTokensSupportingFeeOnTransferTokens(uint256,uint256,address,address,address)": FunctionFragment;
35
- "convertForExactTokens(uint256,uint256,address,address,address)": FunctionFragment;
36
- "convertForExactTokensSupportingFeeOnTransferTokens(uint256,uint256,address,address,address)": FunctionFragment;
37
- "converterNetwork()": FunctionFragment;
38
- "destinationAddress()": FunctionFragment;
39
- "getAmountIn(uint256,address,address)": FunctionFragment;
40
- "getAmountOut(uint256,address,address)": FunctionFragment;
41
- "getAssetsReserves(address)": FunctionFragment;
42
- "getPoolAssetReserve(address,address)": FunctionFragment;
43
- "getPools(address)": FunctionFragment;
44
- "getPoolsAssetsReserves(address,address)": FunctionFragment;
45
- "getUpdatedAmountIn(uint256,address,address)": FunctionFragment;
46
- "getUpdatedAmountOut(uint256,address,address)": FunctionFragment;
47
- "initialize(address,address,address,address,uint256,address[],address[][],bool[][])": FunctionFragment;
48
- "minAmountToConvert()": FunctionFragment;
49
- "owner()": FunctionFragment;
50
- "pauseConversion()": FunctionFragment;
51
- "pendingOwner()": FunctionFragment;
52
- "poolRegistry()": FunctionFragment;
53
- "poolsAssetsDirectTransfer(address,address)": FunctionFragment;
54
- "postConversionHookMock(address,address,uint256,uint256)": FunctionFragment;
55
- "preTransferHookMock(address,uint256)": FunctionFragment;
56
- "priceOracle()": FunctionFragment;
57
- "renounceOwnership()": FunctionFragment;
58
- "resumeConversion()": FunctionFragment;
59
- "setAccessControlManager(address)": FunctionFragment;
60
- "setAssetsReserves(address,uint256)": FunctionFragment;
61
- "setConversionConfig(address,address,(uint256,uint8))": FunctionFragment;
62
- "setConversionConfigs(address,address[],tuple[])": FunctionFragment;
63
- "setConverterNetwork(address)": FunctionFragment;
64
- "setDestination(address)": FunctionFragment;
65
- "setMinAmountToConvert(uint256)": FunctionFragment;
66
- "setPoolRegistry(address)": FunctionFragment;
67
- "setPoolsAssetsDirectTransfer(address[],address[][],bool[][])": FunctionFragment;
68
- "setPoolsAssetsReserves(address,address,uint256)": FunctionFragment;
69
- "setPriceOracle(address)": FunctionFragment;
70
- "sweepToken(address,address,uint256)": FunctionFragment;
71
- "transferOwnership(address)": FunctionFragment;
72
- "updateAssetsState(address,address)": FunctionFragment;
73
- };
74
-
75
- encodeFunctionData(
76
- functionFragment: "CORE_POOL_COMPTROLLER",
77
- values?: undefined
78
- ): string;
79
- encodeFunctionData(
80
- functionFragment: "MAX_INCENTIVE",
81
- values?: undefined
82
- ): string;
83
- encodeFunctionData(
84
- functionFragment: "NATIVE_WRAPPED",
85
- values?: undefined
86
- ): string;
87
- encodeFunctionData(functionFragment: "VBNB", values?: undefined): string;
88
- encodeFunctionData(
89
- functionFragment: "acceptOwnership",
90
- values?: undefined
91
- ): string;
92
- encodeFunctionData(
93
- functionFragment: "accessControlManager",
94
- values?: undefined
95
- ): string;
96
- encodeFunctionData(functionFragment: "balanceOf", values: [string]): string;
97
- encodeFunctionData(
98
- functionFragment: "conversionConfigurations",
99
- values: [string, string]
100
- ): string;
101
- encodeFunctionData(
102
- functionFragment: "conversionPaused",
103
- values?: undefined
104
- ): string;
105
- encodeFunctionData(
106
- functionFragment: "convertExactTokens",
107
- values: [BigNumberish, BigNumberish, string, string, string]
108
- ): string;
109
- encodeFunctionData(
110
- functionFragment: "convertExactTokensSupportingFeeOnTransferTokens",
111
- values: [BigNumberish, BigNumberish, string, string, string]
112
- ): string;
113
- encodeFunctionData(
114
- functionFragment: "convertForExactTokens",
115
- values: [BigNumberish, BigNumberish, string, string, string]
116
- ): string;
117
- encodeFunctionData(
118
- functionFragment: "convertForExactTokensSupportingFeeOnTransferTokens",
119
- values: [BigNumberish, BigNumberish, string, string, string]
120
- ): string;
121
- encodeFunctionData(
122
- functionFragment: "converterNetwork",
123
- values?: undefined
124
- ): string;
125
- encodeFunctionData(
126
- functionFragment: "destinationAddress",
127
- values?: undefined
128
- ): string;
129
- encodeFunctionData(
130
- functionFragment: "getAmountIn",
131
- values: [BigNumberish, string, string]
132
- ): string;
133
- encodeFunctionData(
134
- functionFragment: "getAmountOut",
135
- values: [BigNumberish, string, string]
136
- ): string;
137
- encodeFunctionData(
138
- functionFragment: "getAssetsReserves",
139
- values: [string]
140
- ): string;
141
- encodeFunctionData(
142
- functionFragment: "getPoolAssetReserve",
143
- values: [string, string]
144
- ): string;
145
- encodeFunctionData(functionFragment: "getPools", values: [string]): string;
146
- encodeFunctionData(
147
- functionFragment: "getPoolsAssetsReserves",
148
- values: [string, string]
149
- ): string;
150
- encodeFunctionData(
151
- functionFragment: "getUpdatedAmountIn",
152
- values: [BigNumberish, string, string]
153
- ): string;
154
- encodeFunctionData(
155
- functionFragment: "getUpdatedAmountOut",
156
- values: [BigNumberish, string, string]
157
- ): string;
158
- encodeFunctionData(
159
- functionFragment: "initialize",
160
- values: [
161
- string,
162
- string,
163
- string,
164
- string,
165
- BigNumberish,
166
- string[],
167
- string[][],
168
- boolean[][]
169
- ]
170
- ): string;
171
- encodeFunctionData(
172
- functionFragment: "minAmountToConvert",
173
- values?: undefined
174
- ): string;
175
- encodeFunctionData(functionFragment: "owner", values?: undefined): string;
176
- encodeFunctionData(
177
- functionFragment: "pauseConversion",
178
- values?: undefined
179
- ): string;
180
- encodeFunctionData(
181
- functionFragment: "pendingOwner",
182
- values?: undefined
183
- ): string;
184
- encodeFunctionData(
185
- functionFragment: "poolRegistry",
186
- values?: undefined
187
- ): string;
188
- encodeFunctionData(
189
- functionFragment: "poolsAssetsDirectTransfer",
190
- values: [string, string]
191
- ): string;
192
- encodeFunctionData(
193
- functionFragment: "postConversionHookMock",
194
- values: [string, string, BigNumberish, BigNumberish]
195
- ): string;
196
- encodeFunctionData(
197
- functionFragment: "preTransferHookMock",
198
- values: [string, BigNumberish]
199
- ): string;
200
- encodeFunctionData(
201
- functionFragment: "priceOracle",
202
- values?: undefined
203
- ): string;
204
- encodeFunctionData(
205
- functionFragment: "renounceOwnership",
206
- values?: undefined
207
- ): string;
208
- encodeFunctionData(
209
- functionFragment: "resumeConversion",
210
- values?: undefined
211
- ): string;
212
- encodeFunctionData(
213
- functionFragment: "setAccessControlManager",
214
- values: [string]
215
- ): string;
216
- encodeFunctionData(
217
- functionFragment: "setAssetsReserves",
218
- values: [string, BigNumberish]
219
- ): string;
220
- encodeFunctionData(
221
- functionFragment: "setConversionConfig",
222
- values: [
223
- string,
224
- string,
225
- { incentive: BigNumberish; conversionAccess: BigNumberish }
226
- ]
227
- ): string;
228
- encodeFunctionData(
229
- functionFragment: "setConversionConfigs",
230
- values: [
231
- string,
232
- string[],
233
- { incentive: BigNumberish; conversionAccess: BigNumberish }[]
234
- ]
235
- ): string;
236
- encodeFunctionData(
237
- functionFragment: "setConverterNetwork",
238
- values: [string]
239
- ): string;
240
- encodeFunctionData(
241
- functionFragment: "setDestination",
242
- values: [string]
243
- ): string;
244
- encodeFunctionData(
245
- functionFragment: "setMinAmountToConvert",
246
- values: [BigNumberish]
247
- ): string;
248
- encodeFunctionData(
249
- functionFragment: "setPoolRegistry",
250
- values: [string]
251
- ): string;
252
- encodeFunctionData(
253
- functionFragment: "setPoolsAssetsDirectTransfer",
254
- values: [string[], string[][], boolean[][]]
255
- ): string;
256
- encodeFunctionData(
257
- functionFragment: "setPoolsAssetsReserves",
258
- values: [string, string, BigNumberish]
259
- ): string;
260
- encodeFunctionData(
261
- functionFragment: "setPriceOracle",
262
- values: [string]
263
- ): string;
264
- encodeFunctionData(
265
- functionFragment: "sweepToken",
266
- values: [string, string, BigNumberish]
267
- ): string;
268
- encodeFunctionData(
269
- functionFragment: "transferOwnership",
270
- values: [string]
271
- ): string;
272
- encodeFunctionData(
273
- functionFragment: "updateAssetsState",
274
- values: [string, string]
275
- ): string;
276
-
277
- decodeFunctionResult(
278
- functionFragment: "CORE_POOL_COMPTROLLER",
279
- data: BytesLike
280
- ): Result;
281
- decodeFunctionResult(
282
- functionFragment: "MAX_INCENTIVE",
283
- data: BytesLike
284
- ): Result;
285
- decodeFunctionResult(
286
- functionFragment: "NATIVE_WRAPPED",
287
- data: BytesLike
288
- ): Result;
289
- decodeFunctionResult(functionFragment: "VBNB", data: BytesLike): Result;
290
- decodeFunctionResult(
291
- functionFragment: "acceptOwnership",
292
- data: BytesLike
293
- ): Result;
294
- decodeFunctionResult(
295
- functionFragment: "accessControlManager",
296
- data: BytesLike
297
- ): Result;
298
- decodeFunctionResult(functionFragment: "balanceOf", data: BytesLike): Result;
299
- decodeFunctionResult(
300
- functionFragment: "conversionConfigurations",
301
- data: BytesLike
302
- ): Result;
303
- decodeFunctionResult(
304
- functionFragment: "conversionPaused",
305
- data: BytesLike
306
- ): Result;
307
- decodeFunctionResult(
308
- functionFragment: "convertExactTokens",
309
- data: BytesLike
310
- ): Result;
311
- decodeFunctionResult(
312
- functionFragment: "convertExactTokensSupportingFeeOnTransferTokens",
313
- data: BytesLike
314
- ): Result;
315
- decodeFunctionResult(
316
- functionFragment: "convertForExactTokens",
317
- data: BytesLike
318
- ): Result;
319
- decodeFunctionResult(
320
- functionFragment: "convertForExactTokensSupportingFeeOnTransferTokens",
321
- data: BytesLike
322
- ): Result;
323
- decodeFunctionResult(
324
- functionFragment: "converterNetwork",
325
- data: BytesLike
326
- ): Result;
327
- decodeFunctionResult(
328
- functionFragment: "destinationAddress",
329
- data: BytesLike
330
- ): Result;
331
- decodeFunctionResult(
332
- functionFragment: "getAmountIn",
333
- data: BytesLike
334
- ): Result;
335
- decodeFunctionResult(
336
- functionFragment: "getAmountOut",
337
- data: BytesLike
338
- ): Result;
339
- decodeFunctionResult(
340
- functionFragment: "getAssetsReserves",
341
- data: BytesLike
342
- ): Result;
343
- decodeFunctionResult(
344
- functionFragment: "getPoolAssetReserve",
345
- data: BytesLike
346
- ): Result;
347
- decodeFunctionResult(functionFragment: "getPools", data: BytesLike): Result;
348
- decodeFunctionResult(
349
- functionFragment: "getPoolsAssetsReserves",
350
- data: BytesLike
351
- ): Result;
352
- decodeFunctionResult(
353
- functionFragment: "getUpdatedAmountIn",
354
- data: BytesLike
355
- ): Result;
356
- decodeFunctionResult(
357
- functionFragment: "getUpdatedAmountOut",
358
- data: BytesLike
359
- ): Result;
360
- decodeFunctionResult(functionFragment: "initialize", data: BytesLike): Result;
361
- decodeFunctionResult(
362
- functionFragment: "minAmountToConvert",
363
- data: BytesLike
364
- ): Result;
365
- decodeFunctionResult(functionFragment: "owner", data: BytesLike): Result;
366
- decodeFunctionResult(
367
- functionFragment: "pauseConversion",
368
- data: BytesLike
369
- ): Result;
370
- decodeFunctionResult(
371
- functionFragment: "pendingOwner",
372
- data: BytesLike
373
- ): Result;
374
- decodeFunctionResult(
375
- functionFragment: "poolRegistry",
376
- data: BytesLike
377
- ): Result;
378
- decodeFunctionResult(
379
- functionFragment: "poolsAssetsDirectTransfer",
380
- data: BytesLike
381
- ): Result;
382
- decodeFunctionResult(
383
- functionFragment: "postConversionHookMock",
384
- data: BytesLike
385
- ): Result;
386
- decodeFunctionResult(
387
- functionFragment: "preTransferHookMock",
388
- data: BytesLike
389
- ): Result;
390
- decodeFunctionResult(
391
- functionFragment: "priceOracle",
392
- data: BytesLike
393
- ): Result;
394
- decodeFunctionResult(
395
- functionFragment: "renounceOwnership",
396
- data: BytesLike
397
- ): Result;
398
- decodeFunctionResult(
399
- functionFragment: "resumeConversion",
400
- data: BytesLike
401
- ): Result;
402
- decodeFunctionResult(
403
- functionFragment: "setAccessControlManager",
404
- data: BytesLike
405
- ): Result;
406
- decodeFunctionResult(
407
- functionFragment: "setAssetsReserves",
408
- data: BytesLike
409
- ): Result;
410
- decodeFunctionResult(
411
- functionFragment: "setConversionConfig",
412
- data: BytesLike
413
- ): Result;
414
- decodeFunctionResult(
415
- functionFragment: "setConversionConfigs",
416
- data: BytesLike
417
- ): Result;
418
- decodeFunctionResult(
419
- functionFragment: "setConverterNetwork",
420
- data: BytesLike
421
- ): Result;
422
- decodeFunctionResult(
423
- functionFragment: "setDestination",
424
- data: BytesLike
425
- ): Result;
426
- decodeFunctionResult(
427
- functionFragment: "setMinAmountToConvert",
428
- data: BytesLike
429
- ): Result;
430
- decodeFunctionResult(
431
- functionFragment: "setPoolRegistry",
432
- data: BytesLike
433
- ): Result;
434
- decodeFunctionResult(
435
- functionFragment: "setPoolsAssetsDirectTransfer",
436
- data: BytesLike
437
- ): Result;
438
- decodeFunctionResult(
439
- functionFragment: "setPoolsAssetsReserves",
440
- data: BytesLike
441
- ): Result;
442
- decodeFunctionResult(
443
- functionFragment: "setPriceOracle",
444
- data: BytesLike
445
- ): Result;
446
- decodeFunctionResult(functionFragment: "sweepToken", data: BytesLike): Result;
447
- decodeFunctionResult(
448
- functionFragment: "transferOwnership",
449
- data: BytesLike
450
- ): Result;
451
- decodeFunctionResult(
452
- functionFragment: "updateAssetsState",
453
- data: BytesLike
454
- ): Result;
455
-
456
- events: {
457
- "AssetTransferredToDestination(address,address,address,uint256)": EventFragment;
458
- "AssetsReservesUpdated(address,address,uint256)": EventFragment;
459
- "ConversionConfigUpdated(address,address,uint256,uint256,uint8,uint8)": EventFragment;
460
- "ConversionPaused(address)": EventFragment;
461
- "ConversionResumed(address)": EventFragment;
462
- "ConvertedExactTokens(address,address,address,address,uint256,uint256)": EventFragment;
463
- "ConvertedExactTokensSupportingFeeOnTransferTokens(address,address,address,address,uint256,uint256)": EventFragment;
464
- "ConvertedForExactTokens(address,address,address,address,uint256,uint256)": EventFragment;
465
- "ConvertedForExactTokensSupportingFeeOnTransferTokens(address,address,address,address,uint256,uint256)": EventFragment;
466
- "ConverterNetworkAddressUpdated(address,address)": EventFragment;
467
- "DestinationAddressUpdated(address,address)": EventFragment;
468
- "Initialized(uint8)": EventFragment;
469
- "MinAmountToConvertUpdated(uint256,uint256)": EventFragment;
470
- "NewAccessControlManager(address,address)": EventFragment;
471
- "OwnershipTransferStarted(address,address)": EventFragment;
472
- "OwnershipTransferred(address,address)": EventFragment;
473
- "PoolAssetsDirectTransferUpdated(address,address,bool)": EventFragment;
474
- "PoolRegistryUpdated(address,address)": EventFragment;
475
- "PriceOracleUpdated(address,address)": EventFragment;
476
- "SweepToken(address,address,uint256)": EventFragment;
477
- };
478
-
479
- getEvent(
480
- nameOrSignatureOrTopic: "AssetTransferredToDestination"
481
- ): EventFragment;
482
- getEvent(nameOrSignatureOrTopic: "AssetsReservesUpdated"): EventFragment;
483
- getEvent(nameOrSignatureOrTopic: "ConversionConfigUpdated"): EventFragment;
484
- getEvent(nameOrSignatureOrTopic: "ConversionPaused"): EventFragment;
485
- getEvent(nameOrSignatureOrTopic: "ConversionResumed"): EventFragment;
486
- getEvent(nameOrSignatureOrTopic: "ConvertedExactTokens"): EventFragment;
487
- getEvent(
488
- nameOrSignatureOrTopic: "ConvertedExactTokensSupportingFeeOnTransferTokens"
489
- ): EventFragment;
490
- getEvent(nameOrSignatureOrTopic: "ConvertedForExactTokens"): EventFragment;
491
- getEvent(
492
- nameOrSignatureOrTopic: "ConvertedForExactTokensSupportingFeeOnTransferTokens"
493
- ): EventFragment;
494
- getEvent(
495
- nameOrSignatureOrTopic: "ConverterNetworkAddressUpdated"
496
- ): EventFragment;
497
- getEvent(nameOrSignatureOrTopic: "DestinationAddressUpdated"): EventFragment;
498
- getEvent(nameOrSignatureOrTopic: "Initialized"): EventFragment;
499
- getEvent(nameOrSignatureOrTopic: "MinAmountToConvertUpdated"): EventFragment;
500
- getEvent(nameOrSignatureOrTopic: "NewAccessControlManager"): EventFragment;
501
- getEvent(nameOrSignatureOrTopic: "OwnershipTransferStarted"): EventFragment;
502
- getEvent(nameOrSignatureOrTopic: "OwnershipTransferred"): EventFragment;
503
- getEvent(
504
- nameOrSignatureOrTopic: "PoolAssetsDirectTransferUpdated"
505
- ): EventFragment;
506
- getEvent(nameOrSignatureOrTopic: "PoolRegistryUpdated"): EventFragment;
507
- getEvent(nameOrSignatureOrTopic: "PriceOracleUpdated"): EventFragment;
508
- getEvent(nameOrSignatureOrTopic: "SweepToken"): EventFragment;
509
- }
510
-
511
- export type AssetTransferredToDestinationEvent = TypedEvent<
512
- [string, string, string, BigNumber] & {
513
- receiver: string;
514
- comptroller: string;
515
- asset: string;
516
- amount: BigNumber;
517
- }
518
- >;
519
-
520
- export type AssetsReservesUpdatedEvent = TypedEvent<
521
- [string, string, BigNumber] & {
522
- comptroller: string;
523
- asset: string;
524
- amount: BigNumber;
525
- }
526
- >;
527
-
528
- export type ConversionConfigUpdatedEvent = TypedEvent<
529
- [string, string, BigNumber, BigNumber, number, number] & {
530
- tokenAddressIn: string;
531
- tokenAddressOut: string;
532
- oldIncentive: BigNumber;
533
- newIncentive: BigNumber;
534
- oldAccess: number;
535
- newAccess: number;
536
- }
537
- >;
538
-
539
- export type ConversionPausedEvent = TypedEvent<[string] & { sender: string }>;
540
-
541
- export type ConversionResumedEvent = TypedEvent<[string] & { sender: string }>;
542
-
543
- export type ConvertedExactTokensEvent = TypedEvent<
544
- [string, string, string, string, BigNumber, BigNumber] & {
545
- sender: string;
546
- receiver: string;
547
- tokenAddressIn: string;
548
- tokenAddressOut: string;
549
- amountIn: BigNumber;
550
- amountOut: BigNumber;
551
- }
552
- >;
553
-
554
- export type ConvertedExactTokensSupportingFeeOnTransferTokensEvent = TypedEvent<
555
- [string, string, string, string, BigNumber, BigNumber] & {
556
- sender: string;
557
- receiver: string;
558
- tokenAddressIn: string;
559
- tokenAddressOut: string;
560
- amountIn: BigNumber;
561
- amountOut: BigNumber;
562
- }
563
- >;
564
-
565
- export type ConvertedForExactTokensEvent = TypedEvent<
566
- [string, string, string, string, BigNumber, BigNumber] & {
567
- sender: string;
568
- receiver: string;
569
- tokenAddressIn: string;
570
- tokenAddressOut: string;
571
- amountIn: BigNumber;
572
- amountOut: BigNumber;
573
- }
574
- >;
575
-
576
- export type ConvertedForExactTokensSupportingFeeOnTransferTokensEvent =
577
- TypedEvent<
578
- [string, string, string, string, BigNumber, BigNumber] & {
579
- sender: string;
580
- receiver: string;
581
- tokenAddressIn: string;
582
- tokenAddressOut: string;
583
- amountIn: BigNumber;
584
- amountOut: BigNumber;
585
- }
586
- >;
587
-
588
- export type ConverterNetworkAddressUpdatedEvent = TypedEvent<
589
- [string, string] & { oldConverterNetwork: string; converterNetwork: string }
590
- >;
591
-
592
- export type DestinationAddressUpdatedEvent = TypedEvent<
593
- [string, string] & {
594
- oldDestinationAddress: string;
595
- destinationAddress: string;
596
- }
597
- >;
598
-
599
- export type InitializedEvent = TypedEvent<[number] & { version: number }>;
600
-
601
- export type MinAmountToConvertUpdatedEvent = TypedEvent<
602
- [BigNumber, BigNumber] & {
603
- oldMinAmountToConvert: BigNumber;
604
- newMinAmountToConvert: BigNumber;
605
- }
606
- >;
607
-
608
- export type NewAccessControlManagerEvent = TypedEvent<
609
- [string, string] & {
610
- oldAccessControlManager: string;
611
- newAccessControlManager: string;
612
- }
613
- >;
614
-
615
- export type OwnershipTransferStartedEvent = TypedEvent<
616
- [string, string] & { previousOwner: string; newOwner: string }
617
- >;
618
-
619
- export type OwnershipTransferredEvent = TypedEvent<
620
- [string, string] & { previousOwner: string; newOwner: string }
621
- >;
622
-
623
- export type PoolAssetsDirectTransferUpdatedEvent = TypedEvent<
624
- [string, string, boolean] & {
625
- comptroller: string;
626
- asset: string;
627
- value: boolean;
628
- }
629
- >;
630
-
631
- export type PoolRegistryUpdatedEvent = TypedEvent<
632
- [string, string] & { oldPoolRegistry: string; newPoolRegistry: string }
633
- >;
634
-
635
- export type PriceOracleUpdatedEvent = TypedEvent<
636
- [string, string] & { oldPriceOracle: string; priceOracle: string }
637
- >;
638
-
639
- export type SweepTokenEvent = TypedEvent<
640
- [string, string, BigNumber] & { token: string; to: string; amount: BigNumber }
641
- >;
642
-
643
- export class MockRiskFundConverter extends BaseContract {
644
- connect(signerOrProvider: Signer | Provider | string): this;
645
- attach(addressOrName: string): this;
646
- deployed(): Promise<this>;
647
-
648
- listeners<EventArgsArray extends Array<any>, EventArgsObject>(
649
- eventFilter?: TypedEventFilter<EventArgsArray, EventArgsObject>
650
- ): Array<TypedListener<EventArgsArray, EventArgsObject>>;
651
- off<EventArgsArray extends Array<any>, EventArgsObject>(
652
- eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>,
653
- listener: TypedListener<EventArgsArray, EventArgsObject>
654
- ): this;
655
- on<EventArgsArray extends Array<any>, EventArgsObject>(
656
- eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>,
657
- listener: TypedListener<EventArgsArray, EventArgsObject>
658
- ): this;
659
- once<EventArgsArray extends Array<any>, EventArgsObject>(
660
- eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>,
661
- listener: TypedListener<EventArgsArray, EventArgsObject>
662
- ): this;
663
- removeListener<EventArgsArray extends Array<any>, EventArgsObject>(
664
- eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>,
665
- listener: TypedListener<EventArgsArray, EventArgsObject>
666
- ): this;
667
- removeAllListeners<EventArgsArray extends Array<any>, EventArgsObject>(
668
- eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>
669
- ): this;
670
-
671
- listeners(eventName?: string): Array<Listener>;
672
- off(eventName: string, listener: Listener): this;
673
- on(eventName: string, listener: Listener): this;
674
- once(eventName: string, listener: Listener): this;
675
- removeListener(eventName: string, listener: Listener): this;
676
- removeAllListeners(eventName?: string): this;
677
-
678
- queryFilter<EventArgsArray extends Array<any>, EventArgsObject>(
679
- event: TypedEventFilter<EventArgsArray, EventArgsObject>,
680
- fromBlockOrBlockhash?: string | number | undefined,
681
- toBlock?: string | number | undefined
682
- ): Promise<Array<TypedEvent<EventArgsArray & EventArgsObject>>>;
683
-
684
- interface: MockRiskFundConverterInterface;
685
-
686
- functions: {
687
- CORE_POOL_COMPTROLLER(overrides?: CallOverrides): Promise<[string]>;
688
-
689
- MAX_INCENTIVE(overrides?: CallOverrides): Promise<[BigNumber]>;
690
-
691
- NATIVE_WRAPPED(overrides?: CallOverrides): Promise<[string]>;
692
-
693
- VBNB(overrides?: CallOverrides): Promise<[string]>;
694
-
695
- acceptOwnership(
696
- overrides?: Overrides & { from?: string | Promise<string> }
697
- ): Promise<ContractTransaction>;
698
-
699
- accessControlManager(overrides?: CallOverrides): Promise<[string]>;
700
-
701
- balanceOf(
702
- tokenAddress: string,
703
- overrides?: CallOverrides
704
- ): Promise<[BigNumber] & { tokenBalance: BigNumber }>;
705
-
706
- conversionConfigurations(
707
- arg0: string,
708
- arg1: string,
709
- overrides?: CallOverrides
710
- ): Promise<
711
- [BigNumber, number] & { incentive: BigNumber; conversionAccess: number }
712
- >;
713
-
714
- conversionPaused(overrides?: CallOverrides): Promise<[boolean]>;
715
-
716
- convertExactTokens(
717
- amountInMantissa: BigNumberish,
718
- amountOutMinMantissa: BigNumberish,
719
- tokenAddressIn: string,
720
- tokenAddressOut: string,
721
- to: string,
722
- overrides?: Overrides & { from?: string | Promise<string> }
723
- ): Promise<ContractTransaction>;
724
-
725
- convertExactTokensSupportingFeeOnTransferTokens(
726
- amountInMantissa: BigNumberish,
727
- amountOutMinMantissa: BigNumberish,
728
- tokenAddressIn: string,
729
- tokenAddressOut: string,
730
- to: string,
731
- overrides?: Overrides & { from?: string | Promise<string> }
732
- ): Promise<ContractTransaction>;
733
-
734
- convertForExactTokens(
735
- amountInMaxMantissa: BigNumberish,
736
- amountOutMantissa: BigNumberish,
737
- tokenAddressIn: string,
738
- tokenAddressOut: string,
739
- to: string,
740
- overrides?: Overrides & { from?: string | Promise<string> }
741
- ): Promise<ContractTransaction>;
742
-
743
- convertForExactTokensSupportingFeeOnTransferTokens(
744
- amountInMaxMantissa: BigNumberish,
745
- amountOutMantissa: BigNumberish,
746
- tokenAddressIn: string,
747
- tokenAddressOut: string,
748
- to: string,
749
- overrides?: Overrides & { from?: string | Promise<string> }
750
- ): Promise<ContractTransaction>;
751
-
752
- converterNetwork(overrides?: CallOverrides): Promise<[string]>;
753
-
754
- destinationAddress(overrides?: CallOverrides): Promise<[string]>;
755
-
756
- getAmountIn(
757
- amountOutMantissa: BigNumberish,
758
- tokenAddressIn: string,
759
- tokenAddressOut: string,
760
- overrides?: CallOverrides
761
- ): Promise<
762
- [BigNumber, BigNumber] & {
763
- amountConvertedMantissa: BigNumber;
764
- amountInMantissa: BigNumber;
765
- }
766
- >;
767
-
768
- getAmountOut(
769
- amountInMantissa: BigNumberish,
770
- tokenAddressIn: string,
771
- tokenAddressOut: string,
772
- overrides?: CallOverrides
773
- ): Promise<
774
- [BigNumber, BigNumber] & {
775
- amountConvertedMantissa: BigNumber;
776
- amountOutMantissa: BigNumber;
777
- }
778
- >;
779
-
780
- getAssetsReserves(
781
- asset: string,
782
- overrides?: CallOverrides
783
- ): Promise<[BigNumber]>;
784
-
785
- getPoolAssetReserve(
786
- comptroller: string,
787
- asset: string,
788
- overrides?: CallOverrides
789
- ): Promise<[BigNumber] & { reserves: BigNumber }>;
790
-
791
- getPools(
792
- tokenAddress: string,
793
- overrides?: CallOverrides
794
- ): Promise<[string[]] & { poolsWithCore: string[] }>;
795
-
796
- getPoolsAssetsReserves(
797
- comptroller: string,
798
- asset: string,
799
- overrides?: CallOverrides
800
- ): Promise<[BigNumber]>;
801
-
802
- getUpdatedAmountIn(
803
- amountOutMantissa: BigNumberish,
804
- tokenAddressIn: string,
805
- tokenAddressOut: string,
806
- overrides?: Overrides & { from?: string | Promise<string> }
807
- ): Promise<ContractTransaction>;
808
-
809
- getUpdatedAmountOut(
810
- amountInMantissa: BigNumberish,
811
- tokenAddressIn: string,
812
- tokenAddressOut: string,
813
- overrides?: Overrides & { from?: string | Promise<string> }
814
- ): Promise<ContractTransaction>;
815
-
816
- initialize(
817
- accessControlManager_: string,
818
- priceOracle_: string,
819
- destinationAddress_: string,
820
- poolRegistry_: string,
821
- minAmountToConvert_: BigNumberish,
822
- comptrollers: string[],
823
- assets: string[][],
824
- values: boolean[][],
825
- overrides?: Overrides & { from?: string | Promise<string> }
826
- ): Promise<ContractTransaction>;
827
-
828
- minAmountToConvert(overrides?: CallOverrides): Promise<[BigNumber]>;
829
-
830
- owner(overrides?: CallOverrides): Promise<[string]>;
831
-
832
- pauseConversion(
833
- overrides?: Overrides & { from?: string | Promise<string> }
834
- ): Promise<ContractTransaction>;
835
-
836
- pendingOwner(overrides?: CallOverrides): Promise<[string]>;
837
-
838
- poolRegistry(overrides?: CallOverrides): Promise<[string]>;
839
-
840
- poolsAssetsDirectTransfer(
841
- arg0: string,
842
- arg1: string,
843
- overrides?: CallOverrides
844
- ): Promise<[boolean]>;
845
-
846
- postConversionHookMock(
847
- tokenInAddress: string,
848
- tokenOutAddress: string,
849
- amountIn: BigNumberish,
850
- amountOut: BigNumberish,
851
- overrides?: Overrides & { from?: string | Promise<string> }
852
- ): Promise<ContractTransaction>;
853
-
854
- preTransferHookMock(
855
- tokenOutAddress: string,
856
- amountOut: BigNumberish,
857
- overrides?: Overrides & { from?: string | Promise<string> }
858
- ): Promise<ContractTransaction>;
859
-
860
- priceOracle(overrides?: CallOverrides): Promise<[string]>;
861
-
862
- renounceOwnership(
863
- overrides?: Overrides & { from?: string | Promise<string> }
864
- ): Promise<ContractTransaction>;
865
-
866
- resumeConversion(
867
- overrides?: Overrides & { from?: string | Promise<string> }
868
- ): Promise<ContractTransaction>;
869
-
870
- setAccessControlManager(
871
- accessControlManager_: string,
872
- overrides?: Overrides & { from?: string | Promise<string> }
873
- ): Promise<ContractTransaction>;
874
-
875
- setAssetsReserves(
876
- asset: string,
877
- amount: BigNumberish,
878
- overrides?: Overrides & { from?: string | Promise<string> }
879
- ): Promise<ContractTransaction>;
880
-
881
- setConversionConfig(
882
- tokenAddressIn: string,
883
- tokenAddressOut: string,
884
- conversionConfig: {
885
- incentive: BigNumberish;
886
- conversionAccess: BigNumberish;
887
- },
888
- overrides?: Overrides & { from?: string | Promise<string> }
889
- ): Promise<ContractTransaction>;
890
-
891
- setConversionConfigs(
892
- tokenAddressIn: string,
893
- tokenAddressesOut: string[],
894
- conversionConfigs: {
895
- incentive: BigNumberish;
896
- conversionAccess: BigNumberish;
897
- }[],
898
- overrides?: Overrides & { from?: string | Promise<string> }
899
- ): Promise<ContractTransaction>;
900
-
901
- setConverterNetwork(
902
- converterNetwork_: string,
903
- overrides?: Overrides & { from?: string | Promise<string> }
904
- ): Promise<ContractTransaction>;
905
-
906
- setDestination(
907
- destinationAddress_: string,
908
- overrides?: Overrides & { from?: string | Promise<string> }
909
- ): Promise<ContractTransaction>;
910
-
911
- setMinAmountToConvert(
912
- minAmountToConvert_: BigNumberish,
913
- overrides?: Overrides & { from?: string | Promise<string> }
914
- ): Promise<ContractTransaction>;
915
-
916
- setPoolRegistry(
917
- poolRegistry_: string,
918
- overrides?: Overrides & { from?: string | Promise<string> }
919
- ): Promise<ContractTransaction>;
920
-
921
- setPoolsAssetsDirectTransfer(
922
- comptrollers: string[],
923
- assets: string[][],
924
- values: boolean[][],
925
- overrides?: Overrides & { from?: string | Promise<string> }
926
- ): Promise<ContractTransaction>;
927
-
928
- setPoolsAssetsReserves(
929
- comptroller: string,
930
- asset: string,
931
- amount: BigNumberish,
932
- overrides?: Overrides & { from?: string | Promise<string> }
933
- ): Promise<ContractTransaction>;
934
-
935
- setPriceOracle(
936
- priceOracle_: string,
937
- overrides?: Overrides & { from?: string | Promise<string> }
938
- ): Promise<ContractTransaction>;
939
-
940
- sweepToken(
941
- tokenAddress: string,
942
- to: string,
943
- amount: BigNumberish,
944
- overrides?: Overrides & { from?: string | Promise<string> }
945
- ): Promise<ContractTransaction>;
946
-
947
- transferOwnership(
948
- newOwner: string,
949
- overrides?: Overrides & { from?: string | Promise<string> }
950
- ): Promise<ContractTransaction>;
951
-
952
- updateAssetsState(
953
- comptroller: string,
954
- asset: string,
955
- overrides?: Overrides & { from?: string | Promise<string> }
956
- ): Promise<ContractTransaction>;
957
- };
958
-
959
- CORE_POOL_COMPTROLLER(overrides?: CallOverrides): Promise<string>;
960
-
961
- MAX_INCENTIVE(overrides?: CallOverrides): Promise<BigNumber>;
962
-
963
- NATIVE_WRAPPED(overrides?: CallOverrides): Promise<string>;
964
-
965
- VBNB(overrides?: CallOverrides): Promise<string>;
966
-
967
- acceptOwnership(
968
- overrides?: Overrides & { from?: string | Promise<string> }
969
- ): Promise<ContractTransaction>;
970
-
971
- accessControlManager(overrides?: CallOverrides): Promise<string>;
972
-
973
- balanceOf(
974
- tokenAddress: string,
975
- overrides?: CallOverrides
976
- ): Promise<BigNumber>;
977
-
978
- conversionConfigurations(
979
- arg0: string,
980
- arg1: string,
981
- overrides?: CallOverrides
982
- ): Promise<
983
- [BigNumber, number] & { incentive: BigNumber; conversionAccess: number }
984
- >;
985
-
986
- conversionPaused(overrides?: CallOverrides): Promise<boolean>;
987
-
988
- convertExactTokens(
989
- amountInMantissa: BigNumberish,
990
- amountOutMinMantissa: BigNumberish,
991
- tokenAddressIn: string,
992
- tokenAddressOut: string,
993
- to: string,
994
- overrides?: Overrides & { from?: string | Promise<string> }
995
- ): Promise<ContractTransaction>;
996
-
997
- convertExactTokensSupportingFeeOnTransferTokens(
998
- amountInMantissa: BigNumberish,
999
- amountOutMinMantissa: BigNumberish,
1000
- tokenAddressIn: string,
1001
- tokenAddressOut: string,
1002
- to: string,
1003
- overrides?: Overrides & { from?: string | Promise<string> }
1004
- ): Promise<ContractTransaction>;
1005
-
1006
- convertForExactTokens(
1007
- amountInMaxMantissa: BigNumberish,
1008
- amountOutMantissa: BigNumberish,
1009
- tokenAddressIn: string,
1010
- tokenAddressOut: string,
1011
- to: string,
1012
- overrides?: Overrides & { from?: string | Promise<string> }
1013
- ): Promise<ContractTransaction>;
1014
-
1015
- convertForExactTokensSupportingFeeOnTransferTokens(
1016
- amountInMaxMantissa: BigNumberish,
1017
- amountOutMantissa: BigNumberish,
1018
- tokenAddressIn: string,
1019
- tokenAddressOut: string,
1020
- to: string,
1021
- overrides?: Overrides & { from?: string | Promise<string> }
1022
- ): Promise<ContractTransaction>;
1023
-
1024
- converterNetwork(overrides?: CallOverrides): Promise<string>;
1025
-
1026
- destinationAddress(overrides?: CallOverrides): Promise<string>;
1027
-
1028
- getAmountIn(
1029
- amountOutMantissa: BigNumberish,
1030
- tokenAddressIn: string,
1031
- tokenAddressOut: string,
1032
- overrides?: CallOverrides
1033
- ): Promise<
1034
- [BigNumber, BigNumber] & {
1035
- amountConvertedMantissa: BigNumber;
1036
- amountInMantissa: BigNumber;
1037
- }
1038
- >;
1039
-
1040
- getAmountOut(
1041
- amountInMantissa: BigNumberish,
1042
- tokenAddressIn: string,
1043
- tokenAddressOut: string,
1044
- overrides?: CallOverrides
1045
- ): Promise<
1046
- [BigNumber, BigNumber] & {
1047
- amountConvertedMantissa: BigNumber;
1048
- amountOutMantissa: BigNumber;
1049
- }
1050
- >;
1051
-
1052
- getAssetsReserves(
1053
- asset: string,
1054
- overrides?: CallOverrides
1055
- ): Promise<BigNumber>;
1056
-
1057
- getPoolAssetReserve(
1058
- comptroller: string,
1059
- asset: string,
1060
- overrides?: CallOverrides
1061
- ): Promise<BigNumber>;
1062
-
1063
- getPools(tokenAddress: string, overrides?: CallOverrides): Promise<string[]>;
1064
-
1065
- getPoolsAssetsReserves(
1066
- comptroller: string,
1067
- asset: string,
1068
- overrides?: CallOverrides
1069
- ): Promise<BigNumber>;
1070
-
1071
- getUpdatedAmountIn(
1072
- amountOutMantissa: BigNumberish,
1073
- tokenAddressIn: string,
1074
- tokenAddressOut: string,
1075
- overrides?: Overrides & { from?: string | Promise<string> }
1076
- ): Promise<ContractTransaction>;
1077
-
1078
- getUpdatedAmountOut(
1079
- amountInMantissa: BigNumberish,
1080
- tokenAddressIn: string,
1081
- tokenAddressOut: string,
1082
- overrides?: Overrides & { from?: string | Promise<string> }
1083
- ): Promise<ContractTransaction>;
1084
-
1085
- initialize(
1086
- accessControlManager_: string,
1087
- priceOracle_: string,
1088
- destinationAddress_: string,
1089
- poolRegistry_: string,
1090
- minAmountToConvert_: BigNumberish,
1091
- comptrollers: string[],
1092
- assets: string[][],
1093
- values: boolean[][],
1094
- overrides?: Overrides & { from?: string | Promise<string> }
1095
- ): Promise<ContractTransaction>;
1096
-
1097
- minAmountToConvert(overrides?: CallOverrides): Promise<BigNumber>;
1098
-
1099
- owner(overrides?: CallOverrides): Promise<string>;
1100
-
1101
- pauseConversion(
1102
- overrides?: Overrides & { from?: string | Promise<string> }
1103
- ): Promise<ContractTransaction>;
1104
-
1105
- pendingOwner(overrides?: CallOverrides): Promise<string>;
1106
-
1107
- poolRegistry(overrides?: CallOverrides): Promise<string>;
1108
-
1109
- poolsAssetsDirectTransfer(
1110
- arg0: string,
1111
- arg1: string,
1112
- overrides?: CallOverrides
1113
- ): Promise<boolean>;
1114
-
1115
- postConversionHookMock(
1116
- tokenInAddress: string,
1117
- tokenOutAddress: string,
1118
- amountIn: BigNumberish,
1119
- amountOut: BigNumberish,
1120
- overrides?: Overrides & { from?: string | Promise<string> }
1121
- ): Promise<ContractTransaction>;
1122
-
1123
- preTransferHookMock(
1124
- tokenOutAddress: string,
1125
- amountOut: BigNumberish,
1126
- overrides?: Overrides & { from?: string | Promise<string> }
1127
- ): Promise<ContractTransaction>;
1128
-
1129
- priceOracle(overrides?: CallOverrides): Promise<string>;
1130
-
1131
- renounceOwnership(
1132
- overrides?: Overrides & { from?: string | Promise<string> }
1133
- ): Promise<ContractTransaction>;
1134
-
1135
- resumeConversion(
1136
- overrides?: Overrides & { from?: string | Promise<string> }
1137
- ): Promise<ContractTransaction>;
1138
-
1139
- setAccessControlManager(
1140
- accessControlManager_: string,
1141
- overrides?: Overrides & { from?: string | Promise<string> }
1142
- ): Promise<ContractTransaction>;
1143
-
1144
- setAssetsReserves(
1145
- asset: string,
1146
- amount: BigNumberish,
1147
- overrides?: Overrides & { from?: string | Promise<string> }
1148
- ): Promise<ContractTransaction>;
1149
-
1150
- setConversionConfig(
1151
- tokenAddressIn: string,
1152
- tokenAddressOut: string,
1153
- conversionConfig: {
1154
- incentive: BigNumberish;
1155
- conversionAccess: BigNumberish;
1156
- },
1157
- overrides?: Overrides & { from?: string | Promise<string> }
1158
- ): Promise<ContractTransaction>;
1159
-
1160
- setConversionConfigs(
1161
- tokenAddressIn: string,
1162
- tokenAddressesOut: string[],
1163
- conversionConfigs: {
1164
- incentive: BigNumberish;
1165
- conversionAccess: BigNumberish;
1166
- }[],
1167
- overrides?: Overrides & { from?: string | Promise<string> }
1168
- ): Promise<ContractTransaction>;
1169
-
1170
- setConverterNetwork(
1171
- converterNetwork_: string,
1172
- overrides?: Overrides & { from?: string | Promise<string> }
1173
- ): Promise<ContractTransaction>;
1174
-
1175
- setDestination(
1176
- destinationAddress_: string,
1177
- overrides?: Overrides & { from?: string | Promise<string> }
1178
- ): Promise<ContractTransaction>;
1179
-
1180
- setMinAmountToConvert(
1181
- minAmountToConvert_: BigNumberish,
1182
- overrides?: Overrides & { from?: string | Promise<string> }
1183
- ): Promise<ContractTransaction>;
1184
-
1185
- setPoolRegistry(
1186
- poolRegistry_: string,
1187
- overrides?: Overrides & { from?: string | Promise<string> }
1188
- ): Promise<ContractTransaction>;
1189
-
1190
- setPoolsAssetsDirectTransfer(
1191
- comptrollers: string[],
1192
- assets: string[][],
1193
- values: boolean[][],
1194
- overrides?: Overrides & { from?: string | Promise<string> }
1195
- ): Promise<ContractTransaction>;
1196
-
1197
- setPoolsAssetsReserves(
1198
- comptroller: string,
1199
- asset: string,
1200
- amount: BigNumberish,
1201
- overrides?: Overrides & { from?: string | Promise<string> }
1202
- ): Promise<ContractTransaction>;
1203
-
1204
- setPriceOracle(
1205
- priceOracle_: string,
1206
- overrides?: Overrides & { from?: string | Promise<string> }
1207
- ): Promise<ContractTransaction>;
1208
-
1209
- sweepToken(
1210
- tokenAddress: string,
1211
- to: string,
1212
- amount: BigNumberish,
1213
- overrides?: Overrides & { from?: string | Promise<string> }
1214
- ): Promise<ContractTransaction>;
1215
-
1216
- transferOwnership(
1217
- newOwner: string,
1218
- overrides?: Overrides & { from?: string | Promise<string> }
1219
- ): Promise<ContractTransaction>;
1220
-
1221
- updateAssetsState(
1222
- comptroller: string,
1223
- asset: string,
1224
- overrides?: Overrides & { from?: string | Promise<string> }
1225
- ): Promise<ContractTransaction>;
1226
-
1227
- callStatic: {
1228
- CORE_POOL_COMPTROLLER(overrides?: CallOverrides): Promise<string>;
1229
-
1230
- MAX_INCENTIVE(overrides?: CallOverrides): Promise<BigNumber>;
1231
-
1232
- NATIVE_WRAPPED(overrides?: CallOverrides): Promise<string>;
1233
-
1234
- VBNB(overrides?: CallOverrides): Promise<string>;
1235
-
1236
- acceptOwnership(overrides?: CallOverrides): Promise<void>;
1237
-
1238
- accessControlManager(overrides?: CallOverrides): Promise<string>;
1239
-
1240
- balanceOf(
1241
- tokenAddress: string,
1242
- overrides?: CallOverrides
1243
- ): Promise<BigNumber>;
1244
-
1245
- conversionConfigurations(
1246
- arg0: string,
1247
- arg1: string,
1248
- overrides?: CallOverrides
1249
- ): Promise<
1250
- [BigNumber, number] & { incentive: BigNumber; conversionAccess: number }
1251
- >;
1252
-
1253
- conversionPaused(overrides?: CallOverrides): Promise<boolean>;
1254
-
1255
- convertExactTokens(
1256
- amountInMantissa: BigNumberish,
1257
- amountOutMinMantissa: BigNumberish,
1258
- tokenAddressIn: string,
1259
- tokenAddressOut: string,
1260
- to: string,
1261
- overrides?: CallOverrides
1262
- ): Promise<
1263
- [BigNumber, BigNumber] & {
1264
- actualAmountIn: BigNumber;
1265
- actualAmountOut: BigNumber;
1266
- }
1267
- >;
1268
-
1269
- convertExactTokensSupportingFeeOnTransferTokens(
1270
- amountInMantissa: BigNumberish,
1271
- amountOutMinMantissa: BigNumberish,
1272
- tokenAddressIn: string,
1273
- tokenAddressOut: string,
1274
- to: string,
1275
- overrides?: CallOverrides
1276
- ): Promise<
1277
- [BigNumber, BigNumber] & {
1278
- actualAmountIn: BigNumber;
1279
- actualAmountOut: BigNumber;
1280
- }
1281
- >;
1282
-
1283
- convertForExactTokens(
1284
- amountInMaxMantissa: BigNumberish,
1285
- amountOutMantissa: BigNumberish,
1286
- tokenAddressIn: string,
1287
- tokenAddressOut: string,
1288
- to: string,
1289
- overrides?: CallOverrides
1290
- ): Promise<
1291
- [BigNumber, BigNumber] & {
1292
- actualAmountIn: BigNumber;
1293
- actualAmountOut: BigNumber;
1294
- }
1295
- >;
1296
-
1297
- convertForExactTokensSupportingFeeOnTransferTokens(
1298
- amountInMaxMantissa: BigNumberish,
1299
- amountOutMantissa: BigNumberish,
1300
- tokenAddressIn: string,
1301
- tokenAddressOut: string,
1302
- to: string,
1303
- overrides?: CallOverrides
1304
- ): Promise<
1305
- [BigNumber, BigNumber] & {
1306
- actualAmountIn: BigNumber;
1307
- actualAmountOut: BigNumber;
1308
- }
1309
- >;
1310
-
1311
- converterNetwork(overrides?: CallOverrides): Promise<string>;
1312
-
1313
- destinationAddress(overrides?: CallOverrides): Promise<string>;
1314
-
1315
- getAmountIn(
1316
- amountOutMantissa: BigNumberish,
1317
- tokenAddressIn: string,
1318
- tokenAddressOut: string,
1319
- overrides?: CallOverrides
1320
- ): Promise<
1321
- [BigNumber, BigNumber] & {
1322
- amountConvertedMantissa: BigNumber;
1323
- amountInMantissa: BigNumber;
1324
- }
1325
- >;
1326
-
1327
- getAmountOut(
1328
- amountInMantissa: BigNumberish,
1329
- tokenAddressIn: string,
1330
- tokenAddressOut: string,
1331
- overrides?: CallOverrides
1332
- ): Promise<
1333
- [BigNumber, BigNumber] & {
1334
- amountConvertedMantissa: BigNumber;
1335
- amountOutMantissa: BigNumber;
1336
- }
1337
- >;
1338
-
1339
- getAssetsReserves(
1340
- asset: string,
1341
- overrides?: CallOverrides
1342
- ): Promise<BigNumber>;
1343
-
1344
- getPoolAssetReserve(
1345
- comptroller: string,
1346
- asset: string,
1347
- overrides?: CallOverrides
1348
- ): Promise<BigNumber>;
1349
-
1350
- getPools(
1351
- tokenAddress: string,
1352
- overrides?: CallOverrides
1353
- ): Promise<string[]>;
1354
-
1355
- getPoolsAssetsReserves(
1356
- comptroller: string,
1357
- asset: string,
1358
- overrides?: CallOverrides
1359
- ): Promise<BigNumber>;
1360
-
1361
- getUpdatedAmountIn(
1362
- amountOutMantissa: BigNumberish,
1363
- tokenAddressIn: string,
1364
- tokenAddressOut: string,
1365
- overrides?: CallOverrides
1366
- ): Promise<
1367
- [BigNumber, BigNumber] & {
1368
- amountConvertedMantissa: BigNumber;
1369
- amountInMantissa: BigNumber;
1370
- }
1371
- >;
1372
-
1373
- getUpdatedAmountOut(
1374
- amountInMantissa: BigNumberish,
1375
- tokenAddressIn: string,
1376
- tokenAddressOut: string,
1377
- overrides?: CallOverrides
1378
- ): Promise<
1379
- [BigNumber, BigNumber] & {
1380
- amountConvertedMantissa: BigNumber;
1381
- amountOutMantissa: BigNumber;
1382
- }
1383
- >;
1384
-
1385
- initialize(
1386
- accessControlManager_: string,
1387
- priceOracle_: string,
1388
- destinationAddress_: string,
1389
- poolRegistry_: string,
1390
- minAmountToConvert_: BigNumberish,
1391
- comptrollers: string[],
1392
- assets: string[][],
1393
- values: boolean[][],
1394
- overrides?: CallOverrides
1395
- ): Promise<void>;
1396
-
1397
- minAmountToConvert(overrides?: CallOverrides): Promise<BigNumber>;
1398
-
1399
- owner(overrides?: CallOverrides): Promise<string>;
1400
-
1401
- pauseConversion(overrides?: CallOverrides): Promise<void>;
1402
-
1403
- pendingOwner(overrides?: CallOverrides): Promise<string>;
1404
-
1405
- poolRegistry(overrides?: CallOverrides): Promise<string>;
1406
-
1407
- poolsAssetsDirectTransfer(
1408
- arg0: string,
1409
- arg1: string,
1410
- overrides?: CallOverrides
1411
- ): Promise<boolean>;
1412
-
1413
- postConversionHookMock(
1414
- tokenInAddress: string,
1415
- tokenOutAddress: string,
1416
- amountIn: BigNumberish,
1417
- amountOut: BigNumberish,
1418
- overrides?: CallOverrides
1419
- ): Promise<void>;
1420
-
1421
- preTransferHookMock(
1422
- tokenOutAddress: string,
1423
- amountOut: BigNumberish,
1424
- overrides?: CallOverrides
1425
- ): Promise<void>;
1426
-
1427
- priceOracle(overrides?: CallOverrides): Promise<string>;
1428
-
1429
- renounceOwnership(overrides?: CallOverrides): Promise<void>;
1430
-
1431
- resumeConversion(overrides?: CallOverrides): Promise<void>;
1432
-
1433
- setAccessControlManager(
1434
- accessControlManager_: string,
1435
- overrides?: CallOverrides
1436
- ): Promise<void>;
1437
-
1438
- setAssetsReserves(
1439
- asset: string,
1440
- amount: BigNumberish,
1441
- overrides?: CallOverrides
1442
- ): Promise<void>;
1443
-
1444
- setConversionConfig(
1445
- tokenAddressIn: string,
1446
- tokenAddressOut: string,
1447
- conversionConfig: {
1448
- incentive: BigNumberish;
1449
- conversionAccess: BigNumberish;
1450
- },
1451
- overrides?: CallOverrides
1452
- ): Promise<void>;
1453
-
1454
- setConversionConfigs(
1455
- tokenAddressIn: string,
1456
- tokenAddressesOut: string[],
1457
- conversionConfigs: {
1458
- incentive: BigNumberish;
1459
- conversionAccess: BigNumberish;
1460
- }[],
1461
- overrides?: CallOverrides
1462
- ): Promise<void>;
1463
-
1464
- setConverterNetwork(
1465
- converterNetwork_: string,
1466
- overrides?: CallOverrides
1467
- ): Promise<void>;
1468
-
1469
- setDestination(
1470
- destinationAddress_: string,
1471
- overrides?: CallOverrides
1472
- ): Promise<void>;
1473
-
1474
- setMinAmountToConvert(
1475
- minAmountToConvert_: BigNumberish,
1476
- overrides?: CallOverrides
1477
- ): Promise<void>;
1478
-
1479
- setPoolRegistry(
1480
- poolRegistry_: string,
1481
- overrides?: CallOverrides
1482
- ): Promise<void>;
1483
-
1484
- setPoolsAssetsDirectTransfer(
1485
- comptrollers: string[],
1486
- assets: string[][],
1487
- values: boolean[][],
1488
- overrides?: CallOverrides
1489
- ): Promise<void>;
1490
-
1491
- setPoolsAssetsReserves(
1492
- comptroller: string,
1493
- asset: string,
1494
- amount: BigNumberish,
1495
- overrides?: CallOverrides
1496
- ): Promise<void>;
1497
-
1498
- setPriceOracle(
1499
- priceOracle_: string,
1500
- overrides?: CallOverrides
1501
- ): Promise<void>;
1502
-
1503
- sweepToken(
1504
- tokenAddress: string,
1505
- to: string,
1506
- amount: BigNumberish,
1507
- overrides?: CallOverrides
1508
- ): Promise<void>;
1509
-
1510
- transferOwnership(
1511
- newOwner: string,
1512
- overrides?: CallOverrides
1513
- ): Promise<void>;
1514
-
1515
- updateAssetsState(
1516
- comptroller: string,
1517
- asset: string,
1518
- overrides?: CallOverrides
1519
- ): Promise<void>;
1520
- };
1521
-
1522
- filters: {
1523
- "AssetTransferredToDestination(address,address,address,uint256)"(
1524
- receiver?: string | null,
1525
- comptroller?: string | null,
1526
- asset?: string | null,
1527
- amount?: null
1528
- ): TypedEventFilter<
1529
- [string, string, string, BigNumber],
1530
- {
1531
- receiver: string;
1532
- comptroller: string;
1533
- asset: string;
1534
- amount: BigNumber;
1535
- }
1536
- >;
1537
-
1538
- AssetTransferredToDestination(
1539
- receiver?: string | null,
1540
- comptroller?: string | null,
1541
- asset?: string | null,
1542
- amount?: null
1543
- ): TypedEventFilter<
1544
- [string, string, string, BigNumber],
1545
- {
1546
- receiver: string;
1547
- comptroller: string;
1548
- asset: string;
1549
- amount: BigNumber;
1550
- }
1551
- >;
1552
-
1553
- "AssetsReservesUpdated(address,address,uint256)"(
1554
- comptroller?: string | null,
1555
- asset?: string | null,
1556
- amount?: null
1557
- ): TypedEventFilter<
1558
- [string, string, BigNumber],
1559
- { comptroller: string; asset: string; amount: BigNumber }
1560
- >;
1561
-
1562
- AssetsReservesUpdated(
1563
- comptroller?: string | null,
1564
- asset?: string | null,
1565
- amount?: null
1566
- ): TypedEventFilter<
1567
- [string, string, BigNumber],
1568
- { comptroller: string; asset: string; amount: BigNumber }
1569
- >;
1570
-
1571
- "ConversionConfigUpdated(address,address,uint256,uint256,uint8,uint8)"(
1572
- tokenAddressIn?: string | null,
1573
- tokenAddressOut?: string | null,
1574
- oldIncentive?: null,
1575
- newIncentive?: null,
1576
- oldAccess?: null,
1577
- newAccess?: null
1578
- ): TypedEventFilter<
1579
- [string, string, BigNumber, BigNumber, number, number],
1580
- {
1581
- tokenAddressIn: string;
1582
- tokenAddressOut: string;
1583
- oldIncentive: BigNumber;
1584
- newIncentive: BigNumber;
1585
- oldAccess: number;
1586
- newAccess: number;
1587
- }
1588
- >;
1589
-
1590
- ConversionConfigUpdated(
1591
- tokenAddressIn?: string | null,
1592
- tokenAddressOut?: string | null,
1593
- oldIncentive?: null,
1594
- newIncentive?: null,
1595
- oldAccess?: null,
1596
- newAccess?: null
1597
- ): TypedEventFilter<
1598
- [string, string, BigNumber, BigNumber, number, number],
1599
- {
1600
- tokenAddressIn: string;
1601
- tokenAddressOut: string;
1602
- oldIncentive: BigNumber;
1603
- newIncentive: BigNumber;
1604
- oldAccess: number;
1605
- newAccess: number;
1606
- }
1607
- >;
1608
-
1609
- "ConversionPaused(address)"(
1610
- sender?: string | null
1611
- ): TypedEventFilter<[string], { sender: string }>;
1612
-
1613
- ConversionPaused(
1614
- sender?: string | null
1615
- ): TypedEventFilter<[string], { sender: string }>;
1616
-
1617
- "ConversionResumed(address)"(
1618
- sender?: string | null
1619
- ): TypedEventFilter<[string], { sender: string }>;
1620
-
1621
- ConversionResumed(
1622
- sender?: string | null
1623
- ): TypedEventFilter<[string], { sender: string }>;
1624
-
1625
- "ConvertedExactTokens(address,address,address,address,uint256,uint256)"(
1626
- sender?: string | null,
1627
- receiver?: string | null,
1628
- tokenAddressIn?: null,
1629
- tokenAddressOut?: string | null,
1630
- amountIn?: null,
1631
- amountOut?: null
1632
- ): TypedEventFilter<
1633
- [string, string, string, string, BigNumber, BigNumber],
1634
- {
1635
- sender: string;
1636
- receiver: string;
1637
- tokenAddressIn: string;
1638
- tokenAddressOut: string;
1639
- amountIn: BigNumber;
1640
- amountOut: BigNumber;
1641
- }
1642
- >;
1643
-
1644
- ConvertedExactTokens(
1645
- sender?: string | null,
1646
- receiver?: string | null,
1647
- tokenAddressIn?: null,
1648
- tokenAddressOut?: string | null,
1649
- amountIn?: null,
1650
- amountOut?: null
1651
- ): TypedEventFilter<
1652
- [string, string, string, string, BigNumber, BigNumber],
1653
- {
1654
- sender: string;
1655
- receiver: string;
1656
- tokenAddressIn: string;
1657
- tokenAddressOut: string;
1658
- amountIn: BigNumber;
1659
- amountOut: BigNumber;
1660
- }
1661
- >;
1662
-
1663
- "ConvertedExactTokensSupportingFeeOnTransferTokens(address,address,address,address,uint256,uint256)"(
1664
- sender?: string | null,
1665
- receiver?: string | null,
1666
- tokenAddressIn?: null,
1667
- tokenAddressOut?: string | null,
1668
- amountIn?: null,
1669
- amountOut?: null
1670
- ): TypedEventFilter<
1671
- [string, string, string, string, BigNumber, BigNumber],
1672
- {
1673
- sender: string;
1674
- receiver: string;
1675
- tokenAddressIn: string;
1676
- tokenAddressOut: string;
1677
- amountIn: BigNumber;
1678
- amountOut: BigNumber;
1679
- }
1680
- >;
1681
-
1682
- ConvertedExactTokensSupportingFeeOnTransferTokens(
1683
- sender?: string | null,
1684
- receiver?: string | null,
1685
- tokenAddressIn?: null,
1686
- tokenAddressOut?: string | null,
1687
- amountIn?: null,
1688
- amountOut?: null
1689
- ): TypedEventFilter<
1690
- [string, string, string, string, BigNumber, BigNumber],
1691
- {
1692
- sender: string;
1693
- receiver: string;
1694
- tokenAddressIn: string;
1695
- tokenAddressOut: string;
1696
- amountIn: BigNumber;
1697
- amountOut: BigNumber;
1698
- }
1699
- >;
1700
-
1701
- "ConvertedForExactTokens(address,address,address,address,uint256,uint256)"(
1702
- sender?: string | null,
1703
- receiver?: string | null,
1704
- tokenAddressIn?: null,
1705
- tokenAddressOut?: string | null,
1706
- amountIn?: null,
1707
- amountOut?: null
1708
- ): TypedEventFilter<
1709
- [string, string, string, string, BigNumber, BigNumber],
1710
- {
1711
- sender: string;
1712
- receiver: string;
1713
- tokenAddressIn: string;
1714
- tokenAddressOut: string;
1715
- amountIn: BigNumber;
1716
- amountOut: BigNumber;
1717
- }
1718
- >;
1719
-
1720
- ConvertedForExactTokens(
1721
- sender?: string | null,
1722
- receiver?: string | null,
1723
- tokenAddressIn?: null,
1724
- tokenAddressOut?: string | null,
1725
- amountIn?: null,
1726
- amountOut?: null
1727
- ): TypedEventFilter<
1728
- [string, string, string, string, BigNumber, BigNumber],
1729
- {
1730
- sender: string;
1731
- receiver: string;
1732
- tokenAddressIn: string;
1733
- tokenAddressOut: string;
1734
- amountIn: BigNumber;
1735
- amountOut: BigNumber;
1736
- }
1737
- >;
1738
-
1739
- "ConvertedForExactTokensSupportingFeeOnTransferTokens(address,address,address,address,uint256,uint256)"(
1740
- sender?: string | null,
1741
- receiver?: string | null,
1742
- tokenAddressIn?: null,
1743
- tokenAddressOut?: string | null,
1744
- amountIn?: null,
1745
- amountOut?: null
1746
- ): TypedEventFilter<
1747
- [string, string, string, string, BigNumber, BigNumber],
1748
- {
1749
- sender: string;
1750
- receiver: string;
1751
- tokenAddressIn: string;
1752
- tokenAddressOut: string;
1753
- amountIn: BigNumber;
1754
- amountOut: BigNumber;
1755
- }
1756
- >;
1757
-
1758
- ConvertedForExactTokensSupportingFeeOnTransferTokens(
1759
- sender?: string | null,
1760
- receiver?: string | null,
1761
- tokenAddressIn?: null,
1762
- tokenAddressOut?: string | null,
1763
- amountIn?: null,
1764
- amountOut?: null
1765
- ): TypedEventFilter<
1766
- [string, string, string, string, BigNumber, BigNumber],
1767
- {
1768
- sender: string;
1769
- receiver: string;
1770
- tokenAddressIn: string;
1771
- tokenAddressOut: string;
1772
- amountIn: BigNumber;
1773
- amountOut: BigNumber;
1774
- }
1775
- >;
1776
-
1777
- "ConverterNetworkAddressUpdated(address,address)"(
1778
- oldConverterNetwork?: string | null,
1779
- converterNetwork?: string | null
1780
- ): TypedEventFilter<
1781
- [string, string],
1782
- { oldConverterNetwork: string; converterNetwork: string }
1783
- >;
1784
-
1785
- ConverterNetworkAddressUpdated(
1786
- oldConverterNetwork?: string | null,
1787
- converterNetwork?: string | null
1788
- ): TypedEventFilter<
1789
- [string, string],
1790
- { oldConverterNetwork: string; converterNetwork: string }
1791
- >;
1792
-
1793
- "DestinationAddressUpdated(address,address)"(
1794
- oldDestinationAddress?: string | null,
1795
- destinationAddress?: string | null
1796
- ): TypedEventFilter<
1797
- [string, string],
1798
- { oldDestinationAddress: string; destinationAddress: string }
1799
- >;
1800
-
1801
- DestinationAddressUpdated(
1802
- oldDestinationAddress?: string | null,
1803
- destinationAddress?: string | null
1804
- ): TypedEventFilter<
1805
- [string, string],
1806
- { oldDestinationAddress: string; destinationAddress: string }
1807
- >;
1808
-
1809
- "Initialized(uint8)"(
1810
- version?: null
1811
- ): TypedEventFilter<[number], { version: number }>;
1812
-
1813
- Initialized(
1814
- version?: null
1815
- ): TypedEventFilter<[number], { version: number }>;
1816
-
1817
- "MinAmountToConvertUpdated(uint256,uint256)"(
1818
- oldMinAmountToConvert?: null,
1819
- newMinAmountToConvert?: null
1820
- ): TypedEventFilter<
1821
- [BigNumber, BigNumber],
1822
- { oldMinAmountToConvert: BigNumber; newMinAmountToConvert: BigNumber }
1823
- >;
1824
-
1825
- MinAmountToConvertUpdated(
1826
- oldMinAmountToConvert?: null,
1827
- newMinAmountToConvert?: null
1828
- ): TypedEventFilter<
1829
- [BigNumber, BigNumber],
1830
- { oldMinAmountToConvert: BigNumber; newMinAmountToConvert: BigNumber }
1831
- >;
1832
-
1833
- "NewAccessControlManager(address,address)"(
1834
- oldAccessControlManager?: null,
1835
- newAccessControlManager?: null
1836
- ): TypedEventFilter<
1837
- [string, string],
1838
- { oldAccessControlManager: string; newAccessControlManager: string }
1839
- >;
1840
-
1841
- NewAccessControlManager(
1842
- oldAccessControlManager?: null,
1843
- newAccessControlManager?: null
1844
- ): TypedEventFilter<
1845
- [string, string],
1846
- { oldAccessControlManager: string; newAccessControlManager: string }
1847
- >;
1848
-
1849
- "OwnershipTransferStarted(address,address)"(
1850
- previousOwner?: string | null,
1851
- newOwner?: string | null
1852
- ): TypedEventFilter<
1853
- [string, string],
1854
- { previousOwner: string; newOwner: string }
1855
- >;
1856
-
1857
- OwnershipTransferStarted(
1858
- previousOwner?: string | null,
1859
- newOwner?: string | null
1860
- ): TypedEventFilter<
1861
- [string, string],
1862
- { previousOwner: string; newOwner: string }
1863
- >;
1864
-
1865
- "OwnershipTransferred(address,address)"(
1866
- previousOwner?: string | null,
1867
- newOwner?: string | null
1868
- ): TypedEventFilter<
1869
- [string, string],
1870
- { previousOwner: string; newOwner: string }
1871
- >;
1872
-
1873
- OwnershipTransferred(
1874
- previousOwner?: string | null,
1875
- newOwner?: string | null
1876
- ): TypedEventFilter<
1877
- [string, string],
1878
- { previousOwner: string; newOwner: string }
1879
- >;
1880
-
1881
- "PoolAssetsDirectTransferUpdated(address,address,bool)"(
1882
- comptroller?: string | null,
1883
- asset?: string | null,
1884
- value?: null
1885
- ): TypedEventFilter<
1886
- [string, string, boolean],
1887
- { comptroller: string; asset: string; value: boolean }
1888
- >;
1889
-
1890
- PoolAssetsDirectTransferUpdated(
1891
- comptroller?: string | null,
1892
- asset?: string | null,
1893
- value?: null
1894
- ): TypedEventFilter<
1895
- [string, string, boolean],
1896
- { comptroller: string; asset: string; value: boolean }
1897
- >;
1898
-
1899
- "PoolRegistryUpdated(address,address)"(
1900
- oldPoolRegistry?: string | null,
1901
- newPoolRegistry?: string | null
1902
- ): TypedEventFilter<
1903
- [string, string],
1904
- { oldPoolRegistry: string; newPoolRegistry: string }
1905
- >;
1906
-
1907
- PoolRegistryUpdated(
1908
- oldPoolRegistry?: string | null,
1909
- newPoolRegistry?: string | null
1910
- ): TypedEventFilter<
1911
- [string, string],
1912
- { oldPoolRegistry: string; newPoolRegistry: string }
1913
- >;
1914
-
1915
- "PriceOracleUpdated(address,address)"(
1916
- oldPriceOracle?: string | null,
1917
- priceOracle?: string | null
1918
- ): TypedEventFilter<
1919
- [string, string],
1920
- { oldPriceOracle: string; priceOracle: string }
1921
- >;
1922
-
1923
- PriceOracleUpdated(
1924
- oldPriceOracle?: string | null,
1925
- priceOracle?: string | null
1926
- ): TypedEventFilter<
1927
- [string, string],
1928
- { oldPriceOracle: string; priceOracle: string }
1929
- >;
1930
-
1931
- "SweepToken(address,address,uint256)"(
1932
- token?: string | null,
1933
- to?: string | null,
1934
- amount?: null
1935
- ): TypedEventFilter<
1936
- [string, string, BigNumber],
1937
- { token: string; to: string; amount: BigNumber }
1938
- >;
1939
-
1940
- SweepToken(
1941
- token?: string | null,
1942
- to?: string | null,
1943
- amount?: null
1944
- ): TypedEventFilter<
1945
- [string, string, BigNumber],
1946
- { token: string; to: string; amount: BigNumber }
1947
- >;
1948
- };
1949
-
1950
- estimateGas: {
1951
- CORE_POOL_COMPTROLLER(overrides?: CallOverrides): Promise<BigNumber>;
1952
-
1953
- MAX_INCENTIVE(overrides?: CallOverrides): Promise<BigNumber>;
1954
-
1955
- NATIVE_WRAPPED(overrides?: CallOverrides): Promise<BigNumber>;
1956
-
1957
- VBNB(overrides?: CallOverrides): Promise<BigNumber>;
1958
-
1959
- acceptOwnership(
1960
- overrides?: Overrides & { from?: string | Promise<string> }
1961
- ): Promise<BigNumber>;
1962
-
1963
- accessControlManager(overrides?: CallOverrides): Promise<BigNumber>;
1964
-
1965
- balanceOf(
1966
- tokenAddress: string,
1967
- overrides?: CallOverrides
1968
- ): Promise<BigNumber>;
1969
-
1970
- conversionConfigurations(
1971
- arg0: string,
1972
- arg1: string,
1973
- overrides?: CallOverrides
1974
- ): Promise<BigNumber>;
1975
-
1976
- conversionPaused(overrides?: CallOverrides): Promise<BigNumber>;
1977
-
1978
- convertExactTokens(
1979
- amountInMantissa: BigNumberish,
1980
- amountOutMinMantissa: BigNumberish,
1981
- tokenAddressIn: string,
1982
- tokenAddressOut: string,
1983
- to: string,
1984
- overrides?: Overrides & { from?: string | Promise<string> }
1985
- ): Promise<BigNumber>;
1986
-
1987
- convertExactTokensSupportingFeeOnTransferTokens(
1988
- amountInMantissa: BigNumberish,
1989
- amountOutMinMantissa: BigNumberish,
1990
- tokenAddressIn: string,
1991
- tokenAddressOut: string,
1992
- to: string,
1993
- overrides?: Overrides & { from?: string | Promise<string> }
1994
- ): Promise<BigNumber>;
1995
-
1996
- convertForExactTokens(
1997
- amountInMaxMantissa: BigNumberish,
1998
- amountOutMantissa: BigNumberish,
1999
- tokenAddressIn: string,
2000
- tokenAddressOut: string,
2001
- to: string,
2002
- overrides?: Overrides & { from?: string | Promise<string> }
2003
- ): Promise<BigNumber>;
2004
-
2005
- convertForExactTokensSupportingFeeOnTransferTokens(
2006
- amountInMaxMantissa: BigNumberish,
2007
- amountOutMantissa: BigNumberish,
2008
- tokenAddressIn: string,
2009
- tokenAddressOut: string,
2010
- to: string,
2011
- overrides?: Overrides & { from?: string | Promise<string> }
2012
- ): Promise<BigNumber>;
2013
-
2014
- converterNetwork(overrides?: CallOverrides): Promise<BigNumber>;
2015
-
2016
- destinationAddress(overrides?: CallOverrides): Promise<BigNumber>;
2017
-
2018
- getAmountIn(
2019
- amountOutMantissa: BigNumberish,
2020
- tokenAddressIn: string,
2021
- tokenAddressOut: string,
2022
- overrides?: CallOverrides
2023
- ): Promise<BigNumber>;
2024
-
2025
- getAmountOut(
2026
- amountInMantissa: BigNumberish,
2027
- tokenAddressIn: string,
2028
- tokenAddressOut: string,
2029
- overrides?: CallOverrides
2030
- ): Promise<BigNumber>;
2031
-
2032
- getAssetsReserves(
2033
- asset: string,
2034
- overrides?: CallOverrides
2035
- ): Promise<BigNumber>;
2036
-
2037
- getPoolAssetReserve(
2038
- comptroller: string,
2039
- asset: string,
2040
- overrides?: CallOverrides
2041
- ): Promise<BigNumber>;
2042
-
2043
- getPools(
2044
- tokenAddress: string,
2045
- overrides?: CallOverrides
2046
- ): Promise<BigNumber>;
2047
-
2048
- getPoolsAssetsReserves(
2049
- comptroller: string,
2050
- asset: string,
2051
- overrides?: CallOverrides
2052
- ): Promise<BigNumber>;
2053
-
2054
- getUpdatedAmountIn(
2055
- amountOutMantissa: BigNumberish,
2056
- tokenAddressIn: string,
2057
- tokenAddressOut: string,
2058
- overrides?: Overrides & { from?: string | Promise<string> }
2059
- ): Promise<BigNumber>;
2060
-
2061
- getUpdatedAmountOut(
2062
- amountInMantissa: BigNumberish,
2063
- tokenAddressIn: string,
2064
- tokenAddressOut: string,
2065
- overrides?: Overrides & { from?: string | Promise<string> }
2066
- ): Promise<BigNumber>;
2067
-
2068
- initialize(
2069
- accessControlManager_: string,
2070
- priceOracle_: string,
2071
- destinationAddress_: string,
2072
- poolRegistry_: string,
2073
- minAmountToConvert_: BigNumberish,
2074
- comptrollers: string[],
2075
- assets: string[][],
2076
- values: boolean[][],
2077
- overrides?: Overrides & { from?: string | Promise<string> }
2078
- ): Promise<BigNumber>;
2079
-
2080
- minAmountToConvert(overrides?: CallOverrides): Promise<BigNumber>;
2081
-
2082
- owner(overrides?: CallOverrides): Promise<BigNumber>;
2083
-
2084
- pauseConversion(
2085
- overrides?: Overrides & { from?: string | Promise<string> }
2086
- ): Promise<BigNumber>;
2087
-
2088
- pendingOwner(overrides?: CallOverrides): Promise<BigNumber>;
2089
-
2090
- poolRegistry(overrides?: CallOverrides): Promise<BigNumber>;
2091
-
2092
- poolsAssetsDirectTransfer(
2093
- arg0: string,
2094
- arg1: string,
2095
- overrides?: CallOverrides
2096
- ): Promise<BigNumber>;
2097
-
2098
- postConversionHookMock(
2099
- tokenInAddress: string,
2100
- tokenOutAddress: string,
2101
- amountIn: BigNumberish,
2102
- amountOut: BigNumberish,
2103
- overrides?: Overrides & { from?: string | Promise<string> }
2104
- ): Promise<BigNumber>;
2105
-
2106
- preTransferHookMock(
2107
- tokenOutAddress: string,
2108
- amountOut: BigNumberish,
2109
- overrides?: Overrides & { from?: string | Promise<string> }
2110
- ): Promise<BigNumber>;
2111
-
2112
- priceOracle(overrides?: CallOverrides): Promise<BigNumber>;
2113
-
2114
- renounceOwnership(
2115
- overrides?: Overrides & { from?: string | Promise<string> }
2116
- ): Promise<BigNumber>;
2117
-
2118
- resumeConversion(
2119
- overrides?: Overrides & { from?: string | Promise<string> }
2120
- ): Promise<BigNumber>;
2121
-
2122
- setAccessControlManager(
2123
- accessControlManager_: string,
2124
- overrides?: Overrides & { from?: string | Promise<string> }
2125
- ): Promise<BigNumber>;
2126
-
2127
- setAssetsReserves(
2128
- asset: string,
2129
- amount: BigNumberish,
2130
- overrides?: Overrides & { from?: string | Promise<string> }
2131
- ): Promise<BigNumber>;
2132
-
2133
- setConversionConfig(
2134
- tokenAddressIn: string,
2135
- tokenAddressOut: string,
2136
- conversionConfig: {
2137
- incentive: BigNumberish;
2138
- conversionAccess: BigNumberish;
2139
- },
2140
- overrides?: Overrides & { from?: string | Promise<string> }
2141
- ): Promise<BigNumber>;
2142
-
2143
- setConversionConfigs(
2144
- tokenAddressIn: string,
2145
- tokenAddressesOut: string[],
2146
- conversionConfigs: {
2147
- incentive: BigNumberish;
2148
- conversionAccess: BigNumberish;
2149
- }[],
2150
- overrides?: Overrides & { from?: string | Promise<string> }
2151
- ): Promise<BigNumber>;
2152
-
2153
- setConverterNetwork(
2154
- converterNetwork_: string,
2155
- overrides?: Overrides & { from?: string | Promise<string> }
2156
- ): Promise<BigNumber>;
2157
-
2158
- setDestination(
2159
- destinationAddress_: string,
2160
- overrides?: Overrides & { from?: string | Promise<string> }
2161
- ): Promise<BigNumber>;
2162
-
2163
- setMinAmountToConvert(
2164
- minAmountToConvert_: BigNumberish,
2165
- overrides?: Overrides & { from?: string | Promise<string> }
2166
- ): Promise<BigNumber>;
2167
-
2168
- setPoolRegistry(
2169
- poolRegistry_: string,
2170
- overrides?: Overrides & { from?: string | Promise<string> }
2171
- ): Promise<BigNumber>;
2172
-
2173
- setPoolsAssetsDirectTransfer(
2174
- comptrollers: string[],
2175
- assets: string[][],
2176
- values: boolean[][],
2177
- overrides?: Overrides & { from?: string | Promise<string> }
2178
- ): Promise<BigNumber>;
2179
-
2180
- setPoolsAssetsReserves(
2181
- comptroller: string,
2182
- asset: string,
2183
- amount: BigNumberish,
2184
- overrides?: Overrides & { from?: string | Promise<string> }
2185
- ): Promise<BigNumber>;
2186
-
2187
- setPriceOracle(
2188
- priceOracle_: string,
2189
- overrides?: Overrides & { from?: string | Promise<string> }
2190
- ): Promise<BigNumber>;
2191
-
2192
- sweepToken(
2193
- tokenAddress: string,
2194
- to: string,
2195
- amount: BigNumberish,
2196
- overrides?: Overrides & { from?: string | Promise<string> }
2197
- ): Promise<BigNumber>;
2198
-
2199
- transferOwnership(
2200
- newOwner: string,
2201
- overrides?: Overrides & { from?: string | Promise<string> }
2202
- ): Promise<BigNumber>;
2203
-
2204
- updateAssetsState(
2205
- comptroller: string,
2206
- asset: string,
2207
- overrides?: Overrides & { from?: string | Promise<string> }
2208
- ): Promise<BigNumber>;
2209
- };
2210
-
2211
- populateTransaction: {
2212
- CORE_POOL_COMPTROLLER(
2213
- overrides?: CallOverrides
2214
- ): Promise<PopulatedTransaction>;
2215
-
2216
- MAX_INCENTIVE(overrides?: CallOverrides): Promise<PopulatedTransaction>;
2217
-
2218
- NATIVE_WRAPPED(overrides?: CallOverrides): Promise<PopulatedTransaction>;
2219
-
2220
- VBNB(overrides?: CallOverrides): Promise<PopulatedTransaction>;
2221
-
2222
- acceptOwnership(
2223
- overrides?: Overrides & { from?: string | Promise<string> }
2224
- ): Promise<PopulatedTransaction>;
2225
-
2226
- accessControlManager(
2227
- overrides?: CallOverrides
2228
- ): Promise<PopulatedTransaction>;
2229
-
2230
- balanceOf(
2231
- tokenAddress: string,
2232
- overrides?: CallOverrides
2233
- ): Promise<PopulatedTransaction>;
2234
-
2235
- conversionConfigurations(
2236
- arg0: string,
2237
- arg1: string,
2238
- overrides?: CallOverrides
2239
- ): Promise<PopulatedTransaction>;
2240
-
2241
- conversionPaused(overrides?: CallOverrides): Promise<PopulatedTransaction>;
2242
-
2243
- convertExactTokens(
2244
- amountInMantissa: BigNumberish,
2245
- amountOutMinMantissa: BigNumberish,
2246
- tokenAddressIn: string,
2247
- tokenAddressOut: string,
2248
- to: string,
2249
- overrides?: Overrides & { from?: string | Promise<string> }
2250
- ): Promise<PopulatedTransaction>;
2251
-
2252
- convertExactTokensSupportingFeeOnTransferTokens(
2253
- amountInMantissa: BigNumberish,
2254
- amountOutMinMantissa: BigNumberish,
2255
- tokenAddressIn: string,
2256
- tokenAddressOut: string,
2257
- to: string,
2258
- overrides?: Overrides & { from?: string | Promise<string> }
2259
- ): Promise<PopulatedTransaction>;
2260
-
2261
- convertForExactTokens(
2262
- amountInMaxMantissa: BigNumberish,
2263
- amountOutMantissa: BigNumberish,
2264
- tokenAddressIn: string,
2265
- tokenAddressOut: string,
2266
- to: string,
2267
- overrides?: Overrides & { from?: string | Promise<string> }
2268
- ): Promise<PopulatedTransaction>;
2269
-
2270
- convertForExactTokensSupportingFeeOnTransferTokens(
2271
- amountInMaxMantissa: BigNumberish,
2272
- amountOutMantissa: BigNumberish,
2273
- tokenAddressIn: string,
2274
- tokenAddressOut: string,
2275
- to: string,
2276
- overrides?: Overrides & { from?: string | Promise<string> }
2277
- ): Promise<PopulatedTransaction>;
2278
-
2279
- converterNetwork(overrides?: CallOverrides): Promise<PopulatedTransaction>;
2280
-
2281
- destinationAddress(
2282
- overrides?: CallOverrides
2283
- ): Promise<PopulatedTransaction>;
2284
-
2285
- getAmountIn(
2286
- amountOutMantissa: BigNumberish,
2287
- tokenAddressIn: string,
2288
- tokenAddressOut: string,
2289
- overrides?: CallOverrides
2290
- ): Promise<PopulatedTransaction>;
2291
-
2292
- getAmountOut(
2293
- amountInMantissa: BigNumberish,
2294
- tokenAddressIn: string,
2295
- tokenAddressOut: string,
2296
- overrides?: CallOverrides
2297
- ): Promise<PopulatedTransaction>;
2298
-
2299
- getAssetsReserves(
2300
- asset: string,
2301
- overrides?: CallOverrides
2302
- ): Promise<PopulatedTransaction>;
2303
-
2304
- getPoolAssetReserve(
2305
- comptroller: string,
2306
- asset: string,
2307
- overrides?: CallOverrides
2308
- ): Promise<PopulatedTransaction>;
2309
-
2310
- getPools(
2311
- tokenAddress: string,
2312
- overrides?: CallOverrides
2313
- ): Promise<PopulatedTransaction>;
2314
-
2315
- getPoolsAssetsReserves(
2316
- comptroller: string,
2317
- asset: string,
2318
- overrides?: CallOverrides
2319
- ): Promise<PopulatedTransaction>;
2320
-
2321
- getUpdatedAmountIn(
2322
- amountOutMantissa: BigNumberish,
2323
- tokenAddressIn: string,
2324
- tokenAddressOut: string,
2325
- overrides?: Overrides & { from?: string | Promise<string> }
2326
- ): Promise<PopulatedTransaction>;
2327
-
2328
- getUpdatedAmountOut(
2329
- amountInMantissa: BigNumberish,
2330
- tokenAddressIn: string,
2331
- tokenAddressOut: string,
2332
- overrides?: Overrides & { from?: string | Promise<string> }
2333
- ): Promise<PopulatedTransaction>;
2334
-
2335
- initialize(
2336
- accessControlManager_: string,
2337
- priceOracle_: string,
2338
- destinationAddress_: string,
2339
- poolRegistry_: string,
2340
- minAmountToConvert_: BigNumberish,
2341
- comptrollers: string[],
2342
- assets: string[][],
2343
- values: boolean[][],
2344
- overrides?: Overrides & { from?: string | Promise<string> }
2345
- ): Promise<PopulatedTransaction>;
2346
-
2347
- minAmountToConvert(
2348
- overrides?: CallOverrides
2349
- ): Promise<PopulatedTransaction>;
2350
-
2351
- owner(overrides?: CallOverrides): Promise<PopulatedTransaction>;
2352
-
2353
- pauseConversion(
2354
- overrides?: Overrides & { from?: string | Promise<string> }
2355
- ): Promise<PopulatedTransaction>;
2356
-
2357
- pendingOwner(overrides?: CallOverrides): Promise<PopulatedTransaction>;
2358
-
2359
- poolRegistry(overrides?: CallOverrides): Promise<PopulatedTransaction>;
2360
-
2361
- poolsAssetsDirectTransfer(
2362
- arg0: string,
2363
- arg1: string,
2364
- overrides?: CallOverrides
2365
- ): Promise<PopulatedTransaction>;
2366
-
2367
- postConversionHookMock(
2368
- tokenInAddress: string,
2369
- tokenOutAddress: string,
2370
- amountIn: BigNumberish,
2371
- amountOut: BigNumberish,
2372
- overrides?: Overrides & { from?: string | Promise<string> }
2373
- ): Promise<PopulatedTransaction>;
2374
-
2375
- preTransferHookMock(
2376
- tokenOutAddress: string,
2377
- amountOut: BigNumberish,
2378
- overrides?: Overrides & { from?: string | Promise<string> }
2379
- ): Promise<PopulatedTransaction>;
2380
-
2381
- priceOracle(overrides?: CallOverrides): Promise<PopulatedTransaction>;
2382
-
2383
- renounceOwnership(
2384
- overrides?: Overrides & { from?: string | Promise<string> }
2385
- ): Promise<PopulatedTransaction>;
2386
-
2387
- resumeConversion(
2388
- overrides?: Overrides & { from?: string | Promise<string> }
2389
- ): Promise<PopulatedTransaction>;
2390
-
2391
- setAccessControlManager(
2392
- accessControlManager_: string,
2393
- overrides?: Overrides & { from?: string | Promise<string> }
2394
- ): Promise<PopulatedTransaction>;
2395
-
2396
- setAssetsReserves(
2397
- asset: string,
2398
- amount: BigNumberish,
2399
- overrides?: Overrides & { from?: string | Promise<string> }
2400
- ): Promise<PopulatedTransaction>;
2401
-
2402
- setConversionConfig(
2403
- tokenAddressIn: string,
2404
- tokenAddressOut: string,
2405
- conversionConfig: {
2406
- incentive: BigNumberish;
2407
- conversionAccess: BigNumberish;
2408
- },
2409
- overrides?: Overrides & { from?: string | Promise<string> }
2410
- ): Promise<PopulatedTransaction>;
2411
-
2412
- setConversionConfigs(
2413
- tokenAddressIn: string,
2414
- tokenAddressesOut: string[],
2415
- conversionConfigs: {
2416
- incentive: BigNumberish;
2417
- conversionAccess: BigNumberish;
2418
- }[],
2419
- overrides?: Overrides & { from?: string | Promise<string> }
2420
- ): Promise<PopulatedTransaction>;
2421
-
2422
- setConverterNetwork(
2423
- converterNetwork_: string,
2424
- overrides?: Overrides & { from?: string | Promise<string> }
2425
- ): Promise<PopulatedTransaction>;
2426
-
2427
- setDestination(
2428
- destinationAddress_: string,
2429
- overrides?: Overrides & { from?: string | Promise<string> }
2430
- ): Promise<PopulatedTransaction>;
2431
-
2432
- setMinAmountToConvert(
2433
- minAmountToConvert_: BigNumberish,
2434
- overrides?: Overrides & { from?: string | Promise<string> }
2435
- ): Promise<PopulatedTransaction>;
2436
-
2437
- setPoolRegistry(
2438
- poolRegistry_: string,
2439
- overrides?: Overrides & { from?: string | Promise<string> }
2440
- ): Promise<PopulatedTransaction>;
2441
-
2442
- setPoolsAssetsDirectTransfer(
2443
- comptrollers: string[],
2444
- assets: string[][],
2445
- values: boolean[][],
2446
- overrides?: Overrides & { from?: string | Promise<string> }
2447
- ): Promise<PopulatedTransaction>;
2448
-
2449
- setPoolsAssetsReserves(
2450
- comptroller: string,
2451
- asset: string,
2452
- amount: BigNumberish,
2453
- overrides?: Overrides & { from?: string | Promise<string> }
2454
- ): Promise<PopulatedTransaction>;
2455
-
2456
- setPriceOracle(
2457
- priceOracle_: string,
2458
- overrides?: Overrides & { from?: string | Promise<string> }
2459
- ): Promise<PopulatedTransaction>;
2460
-
2461
- sweepToken(
2462
- tokenAddress: string,
2463
- to: string,
2464
- amount: BigNumberish,
2465
- overrides?: Overrides & { from?: string | Promise<string> }
2466
- ): Promise<PopulatedTransaction>;
2467
-
2468
- transferOwnership(
2469
- newOwner: string,
2470
- overrides?: Overrides & { from?: string | Promise<string> }
2471
- ): Promise<PopulatedTransaction>;
2472
-
2473
- updateAssetsState(
2474
- comptroller: string,
2475
- asset: string,
2476
- overrides?: Overrides & { from?: string | Promise<string> }
2477
- ): Promise<PopulatedTransaction>;
2478
- };
2479
- }