@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,301 +0,0 @@
1
- /* Autogenerated file. Do not edit manually. */
2
- /* tslint:disable */
3
- /* eslint-disable */
4
-
5
- import { Contract, Signer, utils } from "ethers";
6
- import { Provider } from "@ethersproject/providers";
7
- import type {
8
- IAccessControlManagerV8,
9
- IAccessControlManagerV8Interface,
10
- } from "../IAccessControlManagerV8";
11
-
12
- const _abi = [
13
- {
14
- anonymous: false,
15
- inputs: [
16
- {
17
- indexed: true,
18
- internalType: "bytes32",
19
- name: "role",
20
- type: "bytes32",
21
- },
22
- {
23
- indexed: true,
24
- internalType: "bytes32",
25
- name: "previousAdminRole",
26
- type: "bytes32",
27
- },
28
- {
29
- indexed: true,
30
- internalType: "bytes32",
31
- name: "newAdminRole",
32
- type: "bytes32",
33
- },
34
- ],
35
- name: "RoleAdminChanged",
36
- type: "event",
37
- },
38
- {
39
- anonymous: false,
40
- inputs: [
41
- {
42
- indexed: true,
43
- internalType: "bytes32",
44
- name: "role",
45
- type: "bytes32",
46
- },
47
- {
48
- indexed: true,
49
- internalType: "address",
50
- name: "account",
51
- type: "address",
52
- },
53
- {
54
- indexed: true,
55
- internalType: "address",
56
- name: "sender",
57
- type: "address",
58
- },
59
- ],
60
- name: "RoleGranted",
61
- type: "event",
62
- },
63
- {
64
- anonymous: false,
65
- inputs: [
66
- {
67
- indexed: true,
68
- internalType: "bytes32",
69
- name: "role",
70
- type: "bytes32",
71
- },
72
- {
73
- indexed: true,
74
- internalType: "address",
75
- name: "account",
76
- type: "address",
77
- },
78
- {
79
- indexed: true,
80
- internalType: "address",
81
- name: "sender",
82
- type: "address",
83
- },
84
- ],
85
- name: "RoleRevoked",
86
- type: "event",
87
- },
88
- {
89
- inputs: [
90
- {
91
- internalType: "bytes32",
92
- name: "role",
93
- type: "bytes32",
94
- },
95
- ],
96
- name: "getRoleAdmin",
97
- outputs: [
98
- {
99
- internalType: "bytes32",
100
- name: "",
101
- type: "bytes32",
102
- },
103
- ],
104
- stateMutability: "view",
105
- type: "function",
106
- },
107
- {
108
- inputs: [
109
- {
110
- internalType: "address",
111
- name: "contractAddress",
112
- type: "address",
113
- },
114
- {
115
- internalType: "string",
116
- name: "functionSig",
117
- type: "string",
118
- },
119
- {
120
- internalType: "address",
121
- name: "accountToPermit",
122
- type: "address",
123
- },
124
- ],
125
- name: "giveCallPermission",
126
- outputs: [],
127
- stateMutability: "nonpayable",
128
- type: "function",
129
- },
130
- {
131
- inputs: [
132
- {
133
- internalType: "bytes32",
134
- name: "role",
135
- type: "bytes32",
136
- },
137
- {
138
- internalType: "address",
139
- name: "account",
140
- type: "address",
141
- },
142
- ],
143
- name: "grantRole",
144
- outputs: [],
145
- stateMutability: "nonpayable",
146
- type: "function",
147
- },
148
- {
149
- inputs: [
150
- {
151
- internalType: "address",
152
- name: "account",
153
- type: "address",
154
- },
155
- {
156
- internalType: "address",
157
- name: "contractAddress",
158
- type: "address",
159
- },
160
- {
161
- internalType: "string",
162
- name: "functionSig",
163
- type: "string",
164
- },
165
- ],
166
- name: "hasPermission",
167
- outputs: [
168
- {
169
- internalType: "bool",
170
- name: "",
171
- type: "bool",
172
- },
173
- ],
174
- stateMutability: "view",
175
- type: "function",
176
- },
177
- {
178
- inputs: [
179
- {
180
- internalType: "bytes32",
181
- name: "role",
182
- type: "bytes32",
183
- },
184
- {
185
- internalType: "address",
186
- name: "account",
187
- type: "address",
188
- },
189
- ],
190
- name: "hasRole",
191
- outputs: [
192
- {
193
- internalType: "bool",
194
- name: "",
195
- type: "bool",
196
- },
197
- ],
198
- stateMutability: "view",
199
- type: "function",
200
- },
201
- {
202
- inputs: [
203
- {
204
- internalType: "address",
205
- name: "account",
206
- type: "address",
207
- },
208
- {
209
- internalType: "string",
210
- name: "functionSig",
211
- type: "string",
212
- },
213
- ],
214
- name: "isAllowedToCall",
215
- outputs: [
216
- {
217
- internalType: "bool",
218
- name: "",
219
- type: "bool",
220
- },
221
- ],
222
- stateMutability: "view",
223
- type: "function",
224
- },
225
- {
226
- inputs: [
227
- {
228
- internalType: "bytes32",
229
- name: "role",
230
- type: "bytes32",
231
- },
232
- {
233
- internalType: "address",
234
- name: "account",
235
- type: "address",
236
- },
237
- ],
238
- name: "renounceRole",
239
- outputs: [],
240
- stateMutability: "nonpayable",
241
- type: "function",
242
- },
243
- {
244
- inputs: [
245
- {
246
- internalType: "address",
247
- name: "contractAddress",
248
- type: "address",
249
- },
250
- {
251
- internalType: "string",
252
- name: "functionSig",
253
- type: "string",
254
- },
255
- {
256
- internalType: "address",
257
- name: "accountToRevoke",
258
- type: "address",
259
- },
260
- ],
261
- name: "revokeCallPermission",
262
- outputs: [],
263
- stateMutability: "nonpayable",
264
- type: "function",
265
- },
266
- {
267
- inputs: [
268
- {
269
- internalType: "bytes32",
270
- name: "role",
271
- type: "bytes32",
272
- },
273
- {
274
- internalType: "address",
275
- name: "account",
276
- type: "address",
277
- },
278
- ],
279
- name: "revokeRole",
280
- outputs: [],
281
- stateMutability: "nonpayable",
282
- type: "function",
283
- },
284
- ];
285
-
286
- export class IAccessControlManagerV8__factory {
287
- static readonly abi = _abi;
288
- static createInterface(): IAccessControlManagerV8Interface {
289
- return new utils.Interface(_abi) as IAccessControlManagerV8Interface;
290
- }
291
- static connect(
292
- address: string,
293
- signerOrProvider: Signer | Provider
294
- ): IAccessControlManagerV8 {
295
- return new Contract(
296
- address,
297
- _abi,
298
- signerOrProvider
299
- ) as IAccessControlManagerV8;
300
- }
301
- }
@@ -1,198 +0,0 @@
1
- /* Autogenerated file. Do not edit manually. */
2
- /* tslint:disable */
3
- /* eslint-disable */
4
-
5
- import { Contract, Signer, utils } from "ethers";
6
- import { Provider } from "@ethersproject/providers";
7
- import type {
8
- IAccessControl,
9
- IAccessControlInterface,
10
- } from "../IAccessControl";
11
-
12
- const _abi = [
13
- {
14
- anonymous: false,
15
- inputs: [
16
- {
17
- indexed: true,
18
- internalType: "bytes32",
19
- name: "role",
20
- type: "bytes32",
21
- },
22
- {
23
- indexed: true,
24
- internalType: "bytes32",
25
- name: "previousAdminRole",
26
- type: "bytes32",
27
- },
28
- {
29
- indexed: true,
30
- internalType: "bytes32",
31
- name: "newAdminRole",
32
- type: "bytes32",
33
- },
34
- ],
35
- name: "RoleAdminChanged",
36
- type: "event",
37
- },
38
- {
39
- anonymous: false,
40
- inputs: [
41
- {
42
- indexed: true,
43
- internalType: "bytes32",
44
- name: "role",
45
- type: "bytes32",
46
- },
47
- {
48
- indexed: true,
49
- internalType: "address",
50
- name: "account",
51
- type: "address",
52
- },
53
- {
54
- indexed: true,
55
- internalType: "address",
56
- name: "sender",
57
- type: "address",
58
- },
59
- ],
60
- name: "RoleGranted",
61
- type: "event",
62
- },
63
- {
64
- anonymous: false,
65
- inputs: [
66
- {
67
- indexed: true,
68
- internalType: "bytes32",
69
- name: "role",
70
- type: "bytes32",
71
- },
72
- {
73
- indexed: true,
74
- internalType: "address",
75
- name: "account",
76
- type: "address",
77
- },
78
- {
79
- indexed: true,
80
- internalType: "address",
81
- name: "sender",
82
- type: "address",
83
- },
84
- ],
85
- name: "RoleRevoked",
86
- type: "event",
87
- },
88
- {
89
- inputs: [
90
- {
91
- internalType: "bytes32",
92
- name: "role",
93
- type: "bytes32",
94
- },
95
- ],
96
- name: "getRoleAdmin",
97
- outputs: [
98
- {
99
- internalType: "bytes32",
100
- name: "",
101
- type: "bytes32",
102
- },
103
- ],
104
- stateMutability: "view",
105
- type: "function",
106
- },
107
- {
108
- inputs: [
109
- {
110
- internalType: "bytes32",
111
- name: "role",
112
- type: "bytes32",
113
- },
114
- {
115
- internalType: "address",
116
- name: "account",
117
- type: "address",
118
- },
119
- ],
120
- name: "grantRole",
121
- outputs: [],
122
- stateMutability: "nonpayable",
123
- type: "function",
124
- },
125
- {
126
- inputs: [
127
- {
128
- internalType: "bytes32",
129
- name: "role",
130
- type: "bytes32",
131
- },
132
- {
133
- internalType: "address",
134
- name: "account",
135
- type: "address",
136
- },
137
- ],
138
- name: "hasRole",
139
- outputs: [
140
- {
141
- internalType: "bool",
142
- name: "",
143
- type: "bool",
144
- },
145
- ],
146
- stateMutability: "view",
147
- type: "function",
148
- },
149
- {
150
- inputs: [
151
- {
152
- internalType: "bytes32",
153
- name: "role",
154
- type: "bytes32",
155
- },
156
- {
157
- internalType: "address",
158
- name: "account",
159
- type: "address",
160
- },
161
- ],
162
- name: "renounceRole",
163
- outputs: [],
164
- stateMutability: "nonpayable",
165
- type: "function",
166
- },
167
- {
168
- inputs: [
169
- {
170
- internalType: "bytes32",
171
- name: "role",
172
- type: "bytes32",
173
- },
174
- {
175
- internalType: "address",
176
- name: "account",
177
- type: "address",
178
- },
179
- ],
180
- name: "revokeRole",
181
- outputs: [],
182
- stateMutability: "nonpayable",
183
- type: "function",
184
- },
185
- ];
186
-
187
- export class IAccessControl__factory {
188
- static readonly abi = _abi;
189
- static createInterface(): IAccessControlInterface {
190
- return new utils.Interface(_abi) as IAccessControlInterface;
191
- }
192
- static connect(
193
- address: string,
194
- signerOrProvider: Signer | Provider
195
- ): IAccessControl {
196
- return new Contract(address, _abi, signerOrProvider) as IAccessControl;
197
- }
198
- }
@@ -1,36 +0,0 @@
1
- /* Autogenerated file. Do not edit manually. */
2
- /* tslint:disable */
3
- /* eslint-disable */
4
-
5
- import { Contract, Signer, utils } from "ethers";
6
- import { Provider } from "@ethersproject/providers";
7
- import type { IBeacon, IBeaconInterface } from "../IBeacon";
8
-
9
- const _abi = [
10
- {
11
- inputs: [],
12
- name: "implementation",
13
- outputs: [
14
- {
15
- internalType: "address",
16
- name: "",
17
- type: "address",
18
- },
19
- ],
20
- stateMutability: "view",
21
- type: "function",
22
- },
23
- ];
24
-
25
- export class IBeacon__factory {
26
- static readonly abi = _abi;
27
- static createInterface(): IBeaconInterface {
28
- return new utils.Interface(_abi) as IBeaconInterface;
29
- }
30
- static connect(
31
- address: string,
32
- signerOrProvider: Signer | Provider
33
- ): IBeacon {
34
- return new Contract(address, _abi, signerOrProvider) as IBeacon;
35
- }
36
- }
@@ -1,68 +0,0 @@
1
- /* Autogenerated file. Do not edit manually. */
2
- /* tslint:disable */
3
- /* eslint-disable */
4
-
5
- import { Contract, Signer, utils } from "ethers";
6
- import { Provider } from "@ethersproject/providers";
7
- import type { IComptroller, IComptrollerInterface } from "../IComptroller";
8
-
9
- const _abi = [
10
- {
11
- inputs: [],
12
- name: "getAllMarkets",
13
- outputs: [
14
- {
15
- internalType: "address[]",
16
- name: "",
17
- type: "address[]",
18
- },
19
- ],
20
- stateMutability: "view",
21
- type: "function",
22
- },
23
- {
24
- inputs: [],
25
- name: "isComptroller",
26
- outputs: [
27
- {
28
- internalType: "bool",
29
- name: "",
30
- type: "bool",
31
- },
32
- ],
33
- stateMutability: "view",
34
- type: "function",
35
- },
36
- {
37
- inputs: [
38
- {
39
- internalType: "address",
40
- name: "",
41
- type: "address",
42
- },
43
- ],
44
- name: "markets",
45
- outputs: [
46
- {
47
- internalType: "bool",
48
- name: "",
49
- type: "bool",
50
- },
51
- ],
52
- stateMutability: "view",
53
- type: "function",
54
- },
55
- ];
56
-
57
- export class IComptroller__factory {
58
- static readonly abi = _abi;
59
- static createInterface(): IComptrollerInterface {
60
- return new utils.Interface(_abi) as IComptrollerInterface;
61
- }
62
- static connect(
63
- address: string,
64
- signerOrProvider: Signer | Provider
65
- ): IComptroller {
66
- return new Contract(address, _abi, signerOrProvider) as IComptroller;
67
- }
68
- }