@augustdigital/sdk 4.0.9-alpha → 4.0.9-beta

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 (259) hide show
  1. package/README.md +169 -11
  2. package/lib/abis/AddressResolver.d.ts +28 -0
  3. package/lib/abis/AddressResolver.js +23 -0
  4. package/lib/abis/AddressResolver.js.map +1 -0
  5. package/lib/abis/ChainlinkV3.d.ts +87 -0
  6. package/lib/abis/ChainlinkV3.js +117 -0
  7. package/lib/abis/ChainlinkV3.js.map +1 -0
  8. package/lib/abis/ERC20.d.ts +168 -0
  9. package/lib/abis/ERC20.js +226 -0
  10. package/lib/abis/ERC20.js.map +1 -0
  11. package/lib/abis/ERC20_Bytes32.d.ts +135 -0
  12. package/lib/abis/ERC20_Bytes32.js +192 -0
  13. package/lib/abis/ERC20_Bytes32.js.map +1 -0
  14. package/lib/abis/ERC4626.d.ts +363 -0
  15. package/lib/abis/ERC4626.js +506 -0
  16. package/lib/abis/ERC4626.js.map +1 -0
  17. package/lib/abis/ERC721.d.ts +230 -0
  18. package/lib/abis/ERC721.js +320 -0
  19. package/lib/abis/ERC721.js.map +1 -0
  20. package/lib/abis/FeeOracle.d.ts +120 -0
  21. package/lib/abis/FeeOracle.js +161 -0
  22. package/lib/abis/FeeOracle.js.map +1 -0
  23. package/lib/abis/LendingPool.d.ts +1393 -0
  24. package/lib/abis/LendingPool.js +1806 -0
  25. package/lib/abis/LendingPool.js.map +1 -0
  26. package/lib/abis/LendingPoolV2.d.ts +55 -0
  27. package/lib/abis/LendingPoolV2.js +1832 -0
  28. package/lib/abis/LendingPoolV2.js.map +1 -0
  29. package/lib/abis/LendingPoolV3.d.ts +35 -0
  30. package/lib/abis/LendingPoolV3.js +1160 -0
  31. package/lib/abis/LendingPoolV3.js.map +1 -0
  32. package/lib/abis/Loan.d.ts +837 -0
  33. package/lib/abis/Loan.js +1080 -0
  34. package/lib/abis/Loan.js.map +1 -0
  35. package/lib/abis/Multicall3.d.ts +30 -0
  36. package/lib/abis/Multicall3.js +94 -0
  37. package/lib/abis/Multicall3.js.map +1 -0
  38. package/lib/abis/PoolAdapter.d.ts +76 -0
  39. package/lib/abis/PoolAdapter.js +412 -0
  40. package/lib/abis/PoolAdapter.js.map +1 -0
  41. package/lib/abis/RewardDistributor.d.ts +46 -0
  42. package/lib/abis/RewardDistributor.js +352 -0
  43. package/lib/abis/RewardDistributor.js.map +1 -0
  44. package/lib/abis/SmartAccount.d.ts +16 -0
  45. package/lib/abis/SmartAccount.js +16 -0
  46. package/lib/abis/SmartAccount.js.map +1 -0
  47. package/lib/abis/TextResolver.d.ts +16 -0
  48. package/lib/abis/TextResolver.js +16 -0
  49. package/lib/abis/TextResolver.js.map +1 -0
  50. package/lib/abis/TokenizedVaultV2.d.ts +1354 -0
  51. package/lib/abis/TokenizedVaultV2.js +1028 -0
  52. package/lib/abis/TokenizedVaultV2.js.map +1 -0
  53. package/lib/abis/TokenizedVaultV2Receipt.d.ts +1568 -0
  54. package/lib/abis/TokenizedVaultV2Receipt.js +1061 -0
  55. package/lib/abis/TokenizedVaultV2Receipt.js.map +1 -0
  56. package/lib/abis/TokenizedVaultV2WhitelistedAssets.d.ts +274 -0
  57. package/lib/abis/TokenizedVaultV2WhitelistedAssets.js +167 -0
  58. package/lib/abis/TokenizedVaultV2WhitelistedAssets.js.map +1 -0
  59. package/lib/abis/UniversalResolverResolve.d.ts +69 -0
  60. package/lib/abis/UniversalResolverResolve.js +35 -0
  61. package/lib/abis/UniversalResolverResolve.js.map +1 -0
  62. package/lib/abis/UniversalSignatureValidator.d.ts +17 -0
  63. package/lib/abis/UniversalSignatureValidator.js +27 -0
  64. package/lib/abis/UniversalSignatureValidator.js.map +1 -0
  65. package/lib/abis/WrapperAdapter.d.ts +60 -0
  66. package/lib/abis/WrapperAdapter.js +150 -0
  67. package/lib/abis/WrapperAdapter.js.map +1 -0
  68. package/lib/abis/index.d.ts +22 -0
  69. package/lib/abis/index.js +39 -0
  70. package/lib/abis/index.js.map +1 -0
  71. package/lib/adapters/evm/getters.d.ts +4 -0
  72. package/lib/adapters/evm/getters.js +152 -0
  73. package/lib/adapters/evm/getters.js.map +1 -0
  74. package/lib/adapters/evm/index.d.ts +19 -0
  75. package/lib/adapters/evm/index.js +54 -0
  76. package/lib/adapters/evm/index.js.map +1 -0
  77. package/lib/adapters/evm/utils.d.ts +2 -0
  78. package/lib/adapters/evm/utils.js +43 -0
  79. package/lib/adapters/evm/utils.js.map +1 -0
  80. package/lib/adapters/solana/constants.d.ts +25 -0
  81. package/lib/adapters/solana/constants.js +32 -0
  82. package/lib/adapters/solana/constants.js.map +1 -0
  83. package/lib/adapters/solana/getters.d.ts +3 -0
  84. package/lib/adapters/solana/getters.js +133 -0
  85. package/lib/adapters/solana/getters.js.map +1 -0
  86. package/lib/adapters/solana/idl/vault-idl.d.ts +338 -0
  87. package/lib/adapters/solana/idl/vault-idl.js +1075 -0
  88. package/lib/adapters/solana/idl/vault-idl.js.map +1 -0
  89. package/lib/adapters/solana/index.d.ts +160 -0
  90. package/lib/adapters/solana/index.js +174 -0
  91. package/lib/adapters/solana/index.js.map +1 -0
  92. package/lib/adapters/solana/types.d.ts +58 -0
  93. package/lib/adapters/solana/types.js +3 -0
  94. package/lib/adapters/solana/types.js.map +1 -0
  95. package/lib/adapters/solana/utils.d.ts +116 -0
  96. package/lib/adapters/solana/utils.js +435 -0
  97. package/lib/adapters/solana/utils.js.map +1 -0
  98. package/lib/adapters/solana/vault.actions.d.ts +18 -0
  99. package/lib/adapters/solana/vault.actions.js +235 -0
  100. package/lib/adapters/solana/vault.actions.js.map +1 -0
  101. package/lib/adapters/sui/constants.d.ts +20 -0
  102. package/lib/adapters/sui/constants.js +24 -0
  103. package/lib/adapters/sui/constants.js.map +1 -0
  104. package/lib/adapters/sui/getters.d.ts +3 -0
  105. package/lib/adapters/sui/getters.js +52 -0
  106. package/lib/adapters/sui/getters.js.map +1 -0
  107. package/lib/adapters/sui/index.d.ts +31 -0
  108. package/lib/adapters/sui/index.js +87 -0
  109. package/lib/adapters/sui/index.js.map +1 -0
  110. package/lib/adapters/sui/transformer.d.ts +4 -0
  111. package/lib/adapters/sui/transformer.js +92 -0
  112. package/lib/adapters/sui/transformer.js.map +1 -0
  113. package/lib/adapters/sui/types.d.ts +62 -0
  114. package/lib/adapters/sui/types.js +3 -0
  115. package/lib/adapters/sui/types.js.map +1 -0
  116. package/lib/adapters/sui/utils.d.ts +6 -0
  117. package/lib/adapters/sui/utils.js +35 -0
  118. package/lib/adapters/sui/utils.js.map +1 -0
  119. package/lib/core/auth/index.d.ts +1 -0
  120. package/lib/core/auth/index.js +18 -0
  121. package/lib/core/auth/index.js.map +1 -0
  122. package/lib/core/auth/verify.d.ts +2 -0
  123. package/lib/core/auth/verify.js +21 -0
  124. package/lib/core/auth/verify.js.map +1 -0
  125. package/lib/core/base.class.d.ts +33 -0
  126. package/lib/core/base.class.js +66 -0
  127. package/lib/core/base.class.js.map +1 -0
  128. package/lib/core/constants.core.d.ts +59 -0
  129. package/lib/core/constants.core.js +63 -0
  130. package/lib/core/constants.core.js.map +1 -0
  131. package/lib/core/constants.d.ts +88 -0
  132. package/lib/core/constants.js +148 -0
  133. package/lib/core/constants.js.map +1 -0
  134. package/lib/core/constants.vaults.d.ts +19 -0
  135. package/lib/core/constants.vaults.js +130 -0
  136. package/lib/core/constants.vaults.js.map +1 -0
  137. package/lib/core/constants.web3.d.ts +30 -0
  138. package/lib/core/constants.web3.js +89 -0
  139. package/lib/core/constants.web3.js.map +1 -0
  140. package/lib/core/core.helpers.d.ts +23 -0
  141. package/lib/core/core.helpers.js +210 -0
  142. package/lib/core/core.helpers.js.map +1 -0
  143. package/lib/core/fetcher.d.ts +22 -0
  144. package/lib/core/fetcher.js +372 -0
  145. package/lib/core/fetcher.js.map +1 -0
  146. package/lib/core/helpers.core.d.ts +23 -0
  147. package/lib/core/helpers.core.js +210 -0
  148. package/lib/core/helpers.core.js.map +1 -0
  149. package/lib/core/helpers.vaults.d.ts +15 -0
  150. package/lib/core/helpers.vaults.js +123 -0
  151. package/lib/core/helpers.vaults.js.map +1 -0
  152. package/lib/core/helpers.web3.d.ts +29 -0
  153. package/lib/core/helpers.web3.js +365 -0
  154. package/lib/core/helpers.web3.js.map +1 -0
  155. package/lib/core/index.d.ts +10 -0
  156. package/lib/core/index.js +27 -0
  157. package/lib/core/index.js.map +1 -0
  158. package/lib/core/logger/index.d.ts +21 -0
  159. package/lib/core/logger/index.js +80 -0
  160. package/lib/core/logger/index.js.map +1 -0
  161. package/lib/core/logger/slack.d.ts +12 -0
  162. package/lib/core/logger/slack.js +49 -0
  163. package/lib/core/logger/slack.js.map +1 -0
  164. package/lib/core/read.actions.d.ts +3 -0
  165. package/lib/core/read.actions.js +39 -0
  166. package/lib/core/read.actions.js.map +1 -0
  167. package/lib/core/web3.helpers.d.ts +29 -0
  168. package/lib/core/web3.helpers.js +356 -0
  169. package/lib/core/web3.helpers.js.map +1 -0
  170. package/lib/core/write.actions.d.ts +9 -0
  171. package/lib/core/write.actions.js +51 -0
  172. package/lib/core/write.actions.js.map +1 -0
  173. package/lib/index.d.ts +6 -6
  174. package/lib/index.js +14 -7
  175. package/lib/index.js.map +1 -1
  176. package/lib/main.d.ts +88 -14
  177. package/lib/main.js +54 -17
  178. package/lib/main.js.map +1 -1
  179. package/lib/modules/vaults/constants.d.ts +65 -0
  180. package/lib/modules/vaults/constants.js +194 -0
  181. package/lib/modules/vaults/constants.js.map +1 -0
  182. package/lib/modules/vaults/fetcher.d.ts +101 -0
  183. package/lib/modules/vaults/fetcher.js +257 -0
  184. package/lib/modules/vaults/fetcher.js.map +1 -0
  185. package/lib/modules/vaults/getters.d.ts +67 -0
  186. package/lib/modules/vaults/getters.js +932 -0
  187. package/lib/modules/vaults/getters.js.map +1 -0
  188. package/lib/modules/vaults/index.d.ts +3 -0
  189. package/lib/modules/vaults/index.js +20 -0
  190. package/lib/modules/vaults/index.js.map +1 -0
  191. package/lib/modules/vaults/main.d.ts +100 -0
  192. package/lib/modules/vaults/main.js +532 -0
  193. package/lib/modules/vaults/main.js.map +1 -0
  194. package/lib/modules/vaults/read.actions.d.ts +3 -0
  195. package/lib/modules/vaults/read.actions.js +39 -0
  196. package/lib/modules/vaults/read.actions.js.map +1 -0
  197. package/lib/modules/vaults/utils.d.ts +12 -0
  198. package/lib/modules/vaults/utils.js +170 -0
  199. package/lib/modules/vaults/utils.js.map +1 -0
  200. package/lib/modules/vaults/vault.actions.d.ts +10 -0
  201. package/lib/modules/vaults/vault.actions.js +95 -0
  202. package/lib/modules/vaults/vault.actions.js.map +1 -0
  203. package/lib/modules/vaults/write.actions.d.ts +17 -0
  204. package/lib/modules/vaults/write.actions.js +143 -0
  205. package/lib/modules/vaults/write.actions.js.map +1 -0
  206. package/lib/services/coingecko/fetcher.d.ts +1 -0
  207. package/lib/services/coingecko/fetcher.js +36 -0
  208. package/lib/services/coingecko/fetcher.js.map +1 -0
  209. package/lib/services/coingecko/index.d.ts +2 -0
  210. package/lib/services/coingecko/index.js +19 -0
  211. package/lib/services/coingecko/index.js.map +1 -0
  212. package/lib/services/coingecko/utils.d.ts +1 -0
  213. package/lib/services/coingecko/utils.js +24 -0
  214. package/lib/services/coingecko/utils.js.map +1 -0
  215. package/lib/services/debank/fetcher.d.ts +2 -0
  216. package/lib/services/debank/fetcher.js +16 -0
  217. package/lib/services/debank/fetcher.js.map +1 -0
  218. package/lib/services/debank/index.d.ts +2 -0
  219. package/lib/services/debank/index.js +19 -0
  220. package/lib/services/debank/index.js.map +1 -0
  221. package/lib/services/debank/utils.d.ts +32 -0
  222. package/lib/services/debank/utils.js +229 -0
  223. package/lib/services/debank/utils.js.map +1 -0
  224. package/lib/services/subgraph/fetcher.d.ts +2 -0
  225. package/lib/services/subgraph/fetcher.js +59 -0
  226. package/lib/services/subgraph/fetcher.js.map +1 -0
  227. package/lib/services/subgraph/index.d.ts +2 -0
  228. package/lib/services/subgraph/index.js +19 -0
  229. package/lib/services/subgraph/index.js.map +1 -0
  230. package/lib/services/subgraph/vaults.d.ts +10 -0
  231. package/lib/services/subgraph/vaults.js +471 -0
  232. package/lib/services/subgraph/vaults.js.map +1 -0
  233. package/lib/types/index.d.ts +8 -0
  234. package/lib/types/index.js +24 -0
  235. package/lib/types/index.js.map +1 -0
  236. package/lib/types/pools.d.ts +141 -0
  237. package/lib/types/pools.js +3 -0
  238. package/lib/types/pools.js.map +1 -0
  239. package/lib/types/staking.d.ts +28 -0
  240. package/lib/types/staking.js +3 -0
  241. package/lib/types/staking.js.map +1 -0
  242. package/lib/types/subgraph.d.ts +45 -0
  243. package/lib/types/subgraph.js +3 -0
  244. package/lib/types/subgraph.js.map +1 -0
  245. package/lib/types/user.d.ts +1 -0
  246. package/lib/types/user.js +3 -0
  247. package/lib/types/user.js.map +1 -0
  248. package/lib/types/vaults.d.ts +171 -0
  249. package/lib/types/vaults.js +3 -0
  250. package/lib/types/vaults.js.map +1 -0
  251. package/lib/types/web3.d.ts +24 -0
  252. package/lib/types/web3.js +3 -0
  253. package/lib/types/web3.js.map +1 -0
  254. package/lib/types/webserver.d.ts +489 -0
  255. package/lib/types/webserver.js +3 -0
  256. package/lib/types/webserver.js.map +1 -0
  257. package/lib/verify.js +25 -12
  258. package/lib/verify.js.map +1 -1
  259. package/package.json +16 -10
@@ -0,0 +1,1832 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ABI_LENDING_POOL_V2 = void 0;
4
+ exports.ABI_LENDING_POOL_V2 = [
5
+ {
6
+ inputs: [],
7
+ stateMutability: 'nonpayable',
8
+ type: 'constructor',
9
+ },
10
+ {
11
+ anonymous: false,
12
+ inputs: [
13
+ {
14
+ indexed: true,
15
+ internalType: 'address',
16
+ name: 'owner',
17
+ type: 'address',
18
+ },
19
+ {
20
+ indexed: true,
21
+ internalType: 'address',
22
+ name: 'spender',
23
+ type: 'address',
24
+ },
25
+ {
26
+ indexed: false,
27
+ internalType: 'uint256',
28
+ name: 'value',
29
+ type: 'uint256',
30
+ },
31
+ ],
32
+ name: 'Approval',
33
+ type: 'event',
34
+ },
35
+ {
36
+ anonymous: false,
37
+ inputs: [
38
+ {
39
+ indexed: true,
40
+ internalType: 'address',
41
+ name: 'sender',
42
+ type: 'address',
43
+ },
44
+ {
45
+ indexed: true,
46
+ internalType: 'address',
47
+ name: 'owner',
48
+ type: 'address',
49
+ },
50
+ {
51
+ indexed: false,
52
+ internalType: 'uint256',
53
+ name: 'assets',
54
+ type: 'uint256',
55
+ },
56
+ {
57
+ indexed: false,
58
+ internalType: 'uint256',
59
+ name: 'shares',
60
+ type: 'uint256',
61
+ },
62
+ ],
63
+ name: 'Deposit',
64
+ type: 'event',
65
+ },
66
+ {
67
+ anonymous: false,
68
+ inputs: [
69
+ {
70
+ indexed: false,
71
+ internalType: 'bool',
72
+ name: 'bDepositsPaused',
73
+ type: 'bool',
74
+ },
75
+ {
76
+ indexed: false,
77
+ internalType: 'bool',
78
+ name: 'bWithdrawalsPaused',
79
+ type: 'bool',
80
+ },
81
+ ],
82
+ name: 'DepositWithdrawalStatusChanged',
83
+ type: 'event',
84
+ },
85
+ {
86
+ anonymous: false,
87
+ inputs: [
88
+ {
89
+ indexed: false,
90
+ internalType: 'address',
91
+ name: 'newFeeCollectorAddr',
92
+ type: 'address',
93
+ },
94
+ ],
95
+ name: 'FeeCollectorUpdated',
96
+ type: 'event',
97
+ },
98
+ {
99
+ anonymous: false,
100
+ inputs: [
101
+ {
102
+ indexed: false,
103
+ internalType: 'uint8',
104
+ name: 'version',
105
+ type: 'uint8',
106
+ },
107
+ ],
108
+ name: 'Initialized',
109
+ type: 'event',
110
+ },
111
+ {
112
+ anonymous: false,
113
+ inputs: [
114
+ {
115
+ indexed: false,
116
+ internalType: 'address',
117
+ name: 'loanAddr',
118
+ type: 'address',
119
+ },
120
+ {
121
+ indexed: false,
122
+ internalType: 'uint256',
123
+ name: 'aprWithTwoDecimals',
124
+ type: 'uint256',
125
+ },
126
+ ],
127
+ name: 'NewLoanDeployedByPool',
128
+ type: 'event',
129
+ },
130
+ {
131
+ anonymous: false,
132
+ inputs: [
133
+ {
134
+ indexed: false,
135
+ internalType: 'uint256',
136
+ name: 'withdrawalAmount',
137
+ type: 'uint256',
138
+ },
139
+ {
140
+ indexed: false,
141
+ internalType: 'address',
142
+ name: 'tokenAddr',
143
+ type: 'address',
144
+ },
145
+ {
146
+ indexed: false,
147
+ internalType: 'address',
148
+ name: 'destinationAddr',
149
+ type: 'address',
150
+ },
151
+ ],
152
+ name: 'OnEmergencyWithdraw',
153
+ type: 'event',
154
+ },
155
+ {
156
+ anonymous: false,
157
+ inputs: [
158
+ {
159
+ indexed: false,
160
+ internalType: 'uint256',
161
+ name: 'prevValue',
162
+ type: 'uint256',
163
+ },
164
+ {
165
+ indexed: false,
166
+ internalType: 'uint256',
167
+ name: 'newValue',
168
+ type: 'uint256',
169
+ },
170
+ ],
171
+ name: 'OnMaxSupplyChanged',
172
+ type: 'event',
173
+ },
174
+ {
175
+ anonymous: false,
176
+ inputs: [
177
+ {
178
+ indexed: true,
179
+ internalType: 'address',
180
+ name: 'previousOwner',
181
+ type: 'address',
182
+ },
183
+ {
184
+ indexed: true,
185
+ internalType: 'address',
186
+ name: 'newOwner',
187
+ type: 'address',
188
+ },
189
+ ],
190
+ name: 'OwnershipTransferred',
191
+ type: 'event',
192
+ },
193
+ {
194
+ anonymous: false,
195
+ inputs: [
196
+ {
197
+ indexed: true,
198
+ internalType: 'address',
199
+ name: 'from',
200
+ type: 'address',
201
+ },
202
+ {
203
+ indexed: true,
204
+ internalType: 'address',
205
+ name: 'to',
206
+ type: 'address',
207
+ },
208
+ {
209
+ indexed: false,
210
+ internalType: 'uint256',
211
+ name: 'value',
212
+ type: 'uint256',
213
+ },
214
+ ],
215
+ name: 'Transfer',
216
+ type: 'event',
217
+ },
218
+ {
219
+ anonymous: false,
220
+ inputs: [
221
+ {
222
+ indexed: true,
223
+ internalType: 'address',
224
+ name: 'sender',
225
+ type: 'address',
226
+ },
227
+ {
228
+ indexed: true,
229
+ internalType: 'address',
230
+ name: 'receiver',
231
+ type: 'address',
232
+ },
233
+ {
234
+ indexed: true,
235
+ internalType: 'address',
236
+ name: 'owner',
237
+ type: 'address',
238
+ },
239
+ {
240
+ indexed: false,
241
+ internalType: 'uint256',
242
+ name: 'assets',
243
+ type: 'uint256',
244
+ },
245
+ {
246
+ indexed: false,
247
+ internalType: 'uint256',
248
+ name: 'shares',
249
+ type: 'uint256',
250
+ },
251
+ ],
252
+ name: 'Withdraw',
253
+ type: 'event',
254
+ },
255
+ {
256
+ anonymous: false,
257
+ inputs: [
258
+ {
259
+ indexed: false,
260
+ internalType: 'uint256',
261
+ name: 'assetsAmount',
262
+ type: 'uint256',
263
+ },
264
+ {
265
+ indexed: false,
266
+ internalType: 'uint256',
267
+ name: 'processedOn',
268
+ type: 'uint256',
269
+ },
270
+ {
271
+ indexed: false,
272
+ internalType: 'address',
273
+ name: 'receiverAddr',
274
+ type: 'address',
275
+ },
276
+ {
277
+ indexed: false,
278
+ internalType: 'uint256',
279
+ name: 'requestedOn',
280
+ type: 'uint256',
281
+ },
282
+ ],
283
+ name: 'WithdrawalProcessed',
284
+ type: 'event',
285
+ },
286
+ {
287
+ anonymous: false,
288
+ inputs: [
289
+ {
290
+ indexed: false,
291
+ internalType: 'address',
292
+ name: 'ownerAddr',
293
+ type: 'address',
294
+ },
295
+ {
296
+ indexed: false,
297
+ internalType: 'address',
298
+ name: 'receiverAddr',
299
+ type: 'address',
300
+ },
301
+ {
302
+ indexed: false,
303
+ internalType: 'uint256',
304
+ name: 'shares',
305
+ type: 'uint256',
306
+ },
307
+ {
308
+ indexed: false,
309
+ internalType: 'uint256',
310
+ name: 'assets',
311
+ type: 'uint256',
312
+ },
313
+ {
314
+ indexed: false,
315
+ internalType: 'uint256',
316
+ name: 'fee',
317
+ type: 'uint256',
318
+ },
319
+ {
320
+ indexed: false,
321
+ internalType: 'uint256',
322
+ name: 'year',
323
+ type: 'uint256',
324
+ },
325
+ {
326
+ indexed: false,
327
+ internalType: 'uint256',
328
+ name: 'month',
329
+ type: 'uint256',
330
+ },
331
+ {
332
+ indexed: false,
333
+ internalType: 'uint256',
334
+ name: 'day',
335
+ type: 'uint256',
336
+ },
337
+ ],
338
+ name: 'WithdrawalRequested',
339
+ type: 'event',
340
+ },
341
+ {
342
+ inputs: [
343
+ {
344
+ internalType: 'address',
345
+ name: 'ownerAddr',
346
+ type: 'address',
347
+ },
348
+ {
349
+ internalType: 'address',
350
+ name: 'spenderAddr',
351
+ type: 'address',
352
+ },
353
+ ],
354
+ name: 'allowance',
355
+ outputs: [
356
+ {
357
+ internalType: 'uint256',
358
+ name: '',
359
+ type: 'uint256',
360
+ },
361
+ ],
362
+ stateMutability: 'view',
363
+ type: 'function',
364
+ },
365
+ {
366
+ inputs: [
367
+ {
368
+ internalType: 'address',
369
+ name: 'spender',
370
+ type: 'address',
371
+ },
372
+ {
373
+ internalType: 'uint256',
374
+ name: 'value',
375
+ type: 'uint256',
376
+ },
377
+ ],
378
+ name: 'approve',
379
+ outputs: [
380
+ {
381
+ internalType: 'bool',
382
+ name: '',
383
+ type: 'bool',
384
+ },
385
+ ],
386
+ stateMutability: 'nonpayable',
387
+ type: 'function',
388
+ },
389
+ {
390
+ inputs: [],
391
+ name: 'asset',
392
+ outputs: [
393
+ {
394
+ internalType: 'address',
395
+ name: '',
396
+ type: 'address',
397
+ },
398
+ ],
399
+ stateMutability: 'view',
400
+ type: 'function',
401
+ },
402
+ {
403
+ inputs: [
404
+ {
405
+ internalType: 'address',
406
+ name: 'addr',
407
+ type: 'address',
408
+ },
409
+ ],
410
+ name: 'balanceOf',
411
+ outputs: [
412
+ {
413
+ internalType: 'uint256',
414
+ name: '',
415
+ type: 'uint256',
416
+ },
417
+ ],
418
+ stateMutability: 'view',
419
+ type: 'function',
420
+ },
421
+ {
422
+ inputs: [
423
+ {
424
+ internalType: 'address',
425
+ name: 'loanAddr',
426
+ type: 'address',
427
+ },
428
+ {
429
+ internalType: 'uint256',
430
+ name: 'callbackPeriodInSeconds',
431
+ type: 'uint256',
432
+ },
433
+ {
434
+ internalType: 'uint256',
435
+ name: 'gracePeriodInSeconds',
436
+ type: 'uint256',
437
+ },
438
+ ],
439
+ name: 'callLoan',
440
+ outputs: [],
441
+ stateMutability: 'nonpayable',
442
+ type: 'function',
443
+ },
444
+ {
445
+ inputs: [
446
+ {
447
+ internalType: 'address',
448
+ name: 'loanAddr',
449
+ type: 'address',
450
+ },
451
+ {
452
+ internalType: 'uint256',
453
+ name: 'lateInterestFeeWithTwoDecimals',
454
+ type: 'uint256',
455
+ },
456
+ {
457
+ internalType: 'uint256',
458
+ name: 'latePrincipalFeeWithTwoDecimals',
459
+ type: 'uint256',
460
+ },
461
+ ],
462
+ name: 'changeLateFees',
463
+ outputs: [],
464
+ stateMutability: 'nonpayable',
465
+ type: 'function',
466
+ },
467
+ {
468
+ inputs: [
469
+ {
470
+ internalType: 'address',
471
+ name: 'loanAddr',
472
+ type: 'address',
473
+ },
474
+ {
475
+ internalType: 'uint256',
476
+ name: 'maintenanceCollateralRatioWith2Decimals',
477
+ type: 'uint256',
478
+ },
479
+ ],
480
+ name: 'changeMaintenanceCollateralRatio',
481
+ outputs: [],
482
+ stateMutability: 'nonpayable',
483
+ type: 'function',
484
+ },
485
+ {
486
+ inputs: [
487
+ {
488
+ internalType: 'uint256',
489
+ name: 'year',
490
+ type: 'uint256',
491
+ },
492
+ {
493
+ internalType: 'uint256',
494
+ name: 'month',
495
+ type: 'uint256',
496
+ },
497
+ {
498
+ internalType: 'uint256',
499
+ name: 'day',
500
+ type: 'uint256',
501
+ },
502
+ {
503
+ internalType: 'address',
504
+ name: 'receiverAddr',
505
+ type: 'address',
506
+ },
507
+ ],
508
+ name: 'claim',
509
+ outputs: [
510
+ {
511
+ internalType: 'uint256',
512
+ name: '',
513
+ type: 'uint256',
514
+ },
515
+ {
516
+ internalType: 'uint256',
517
+ name: '',
518
+ type: 'uint256',
519
+ },
520
+ ],
521
+ stateMutability: 'nonpayable',
522
+ type: 'function',
523
+ },
524
+ {
525
+ inputs: [],
526
+ name: 'collectFees',
527
+ outputs: [],
528
+ stateMutability: 'nonpayable',
529
+ type: 'function',
530
+ },
531
+ {
532
+ inputs: [
533
+ {
534
+ internalType: 'uint256',
535
+ name: 'newLagDuration',
536
+ type: 'uint256',
537
+ },
538
+ {
539
+ internalType: 'uint256',
540
+ name: 'newMaxDepositAmount',
541
+ type: 'uint256',
542
+ },
543
+ {
544
+ internalType: 'uint256',
545
+ name: 'newMaxWithdrawalAmount',
546
+ type: 'uint256',
547
+ },
548
+ {
549
+ internalType: 'uint256',
550
+ name: 'newMaxTokenSupply',
551
+ type: 'uint256',
552
+ },
553
+ {
554
+ internalType: 'address',
555
+ name: 'newUnderlyingAsset',
556
+ type: 'address',
557
+ },
558
+ {
559
+ internalType: 'address',
560
+ name: 'newLoansOperator',
561
+ type: 'address',
562
+ },
563
+ {
564
+ internalType: 'address',
565
+ name: 'newLoansDeployerAddress',
566
+ type: 'address',
567
+ },
568
+ {
569
+ internalType: 'address',
570
+ name: 'newFeesCollectorAddr',
571
+ type: 'address',
572
+ },
573
+ {
574
+ internalType: 'address',
575
+ name: 'newScheduledCallerAddress',
576
+ type: 'address',
577
+ },
578
+ {
579
+ internalType: 'uint8',
580
+ name: 'newProcessingHour',
581
+ type: 'uint8',
582
+ },
583
+ ],
584
+ name: 'configurePool',
585
+ outputs: [],
586
+ stateMutability: 'nonpayable',
587
+ type: 'function',
588
+ },
589
+ {
590
+ inputs: [
591
+ {
592
+ internalType: 'uint256',
593
+ name: 'shares',
594
+ type: 'uint256',
595
+ },
596
+ ],
597
+ name: 'convertToAssets',
598
+ outputs: [
599
+ {
600
+ internalType: 'uint256',
601
+ name: '',
602
+ type: 'uint256',
603
+ },
604
+ ],
605
+ stateMutability: 'view',
606
+ type: 'function',
607
+ },
608
+ {
609
+ inputs: [
610
+ {
611
+ internalType: 'uint256',
612
+ name: 'assets',
613
+ type: 'uint256',
614
+ },
615
+ ],
616
+ name: 'convertToShares',
617
+ outputs: [
618
+ {
619
+ internalType: 'uint256',
620
+ name: '',
621
+ type: 'uint256',
622
+ },
623
+ ],
624
+ stateMutability: 'view',
625
+ type: 'function',
626
+ },
627
+ {
628
+ inputs: [],
629
+ name: 'decimals',
630
+ outputs: [
631
+ {
632
+ internalType: 'uint8',
633
+ name: '',
634
+ type: 'uint8',
635
+ },
636
+ ],
637
+ stateMutability: 'view',
638
+ type: 'function',
639
+ },
640
+ {
641
+ inputs: [
642
+ {
643
+ components: [
644
+ {
645
+ internalType: 'uint256',
646
+ name: 'fundingPeriodInSeconds',
647
+ type: 'uint256',
648
+ },
649
+ {
650
+ internalType: 'uint256',
651
+ name: 'newPaymentIntervalInSeconds',
652
+ type: 'uint256',
653
+ },
654
+ {
655
+ internalType: 'uint256',
656
+ name: 'newLoanAmountInPrincipalTokens',
657
+ type: 'uint256',
658
+ },
659
+ {
660
+ internalType: 'uint256',
661
+ name: 'originationFeePercent2Decimals',
662
+ type: 'uint256',
663
+ },
664
+ {
665
+ internalType: 'uint256',
666
+ name: 'newAprWithTwoDecimals',
667
+ type: 'uint256',
668
+ },
669
+ {
670
+ internalType: 'uint256',
671
+ name: 'initialCollateralRatioWith2Decimals',
672
+ type: 'uint256',
673
+ },
674
+ {
675
+ internalType: 'uint256',
676
+ name: 'maintenanceCollateralRatioWith2Decimals',
677
+ type: 'uint256',
678
+ },
679
+ {
680
+ internalType: 'uint256',
681
+ name: 'lateInterestFee',
682
+ type: 'uint256',
683
+ },
684
+ {
685
+ internalType: 'uint256',
686
+ name: 'latePrincipalFee',
687
+ type: 'uint256',
688
+ },
689
+ {
690
+ internalType: 'uint256',
691
+ name: 'expiryInfo',
692
+ type: 'uint256',
693
+ },
694
+ {
695
+ internalType: 'string',
696
+ name: 'loanTypeInfo',
697
+ type: 'string',
698
+ },
699
+ {
700
+ internalType: 'address',
701
+ name: 'lenderAddr',
702
+ type: 'address',
703
+ },
704
+ {
705
+ internalType: 'address',
706
+ name: 'borrowerAddr',
707
+ type: 'address',
708
+ },
709
+ {
710
+ internalType: 'address',
711
+ name: 'newCollateralToken',
712
+ type: 'address',
713
+ },
714
+ {
715
+ internalType: 'address',
716
+ name: 'newPrincipalToken',
717
+ type: 'address',
718
+ },
719
+ {
720
+ internalType: 'address',
721
+ name: 'feesManagerAddr',
722
+ type: 'address',
723
+ },
724
+ {
725
+ internalType: 'address',
726
+ name: 'priceOracleAddress',
727
+ type: 'address',
728
+ },
729
+ {
730
+ internalType: 'address',
731
+ name: 'feesCollectorAddress',
732
+ type: 'address',
733
+ },
734
+ {
735
+ internalType: 'address',
736
+ name: 'categoryFeesAdress',
737
+ type: 'address',
738
+ },
739
+ {
740
+ internalType: 'bool',
741
+ name: 'allowSeizeCollateral',
742
+ type: 'bool',
743
+ },
744
+ ],
745
+ internalType: 'struct LoanDeploymentParams',
746
+ name: 'loanParams',
747
+ type: 'tuple',
748
+ },
749
+ ],
750
+ name: 'deployLoan',
751
+ outputs: [
752
+ {
753
+ internalType: 'address',
754
+ name: '',
755
+ type: 'address',
756
+ },
757
+ ],
758
+ stateMutability: 'nonpayable',
759
+ type: 'function',
760
+ },
761
+ {
762
+ inputs: [
763
+ {
764
+ internalType: 'uint256',
765
+ name: 'assets',
766
+ type: 'uint256',
767
+ },
768
+ {
769
+ internalType: 'address',
770
+ name: 'receiver',
771
+ type: 'address',
772
+ },
773
+ ],
774
+ name: 'deposit',
775
+ outputs: [
776
+ {
777
+ internalType: 'uint256',
778
+ name: 'shares',
779
+ type: 'uint256',
780
+ },
781
+ ],
782
+ stateMutability: 'nonpayable',
783
+ type: 'function',
784
+ },
785
+ {
786
+ inputs: [],
787
+ name: 'depositsPaused',
788
+ outputs: [
789
+ {
790
+ internalType: 'bool',
791
+ name: '',
792
+ type: 'bool',
793
+ },
794
+ ],
795
+ stateMutability: 'view',
796
+ type: 'function',
797
+ },
798
+ {
799
+ inputs: [
800
+ {
801
+ internalType: 'contract IERC20',
802
+ name: 'token',
803
+ type: 'address',
804
+ },
805
+ {
806
+ internalType: 'address',
807
+ name: 'destinationAddr',
808
+ type: 'address',
809
+ },
810
+ ],
811
+ name: 'emergencyWithdraw',
812
+ outputs: [],
813
+ stateMutability: 'nonpayable',
814
+ type: 'function',
815
+ },
816
+ {
817
+ inputs: [],
818
+ name: 'feesCollector',
819
+ outputs: [
820
+ {
821
+ internalType: 'address',
822
+ name: '',
823
+ type: 'address',
824
+ },
825
+ ],
826
+ stateMutability: 'view',
827
+ type: 'function',
828
+ },
829
+ {
830
+ inputs: [
831
+ {
832
+ internalType: 'address',
833
+ name: 'loanAddr',
834
+ type: 'address',
835
+ },
836
+ ],
837
+ name: 'fundLoan',
838
+ outputs: [],
839
+ stateMutability: 'nonpayable',
840
+ type: 'function',
841
+ },
842
+ {
843
+ inputs: [
844
+ {
845
+ internalType: 'uint256',
846
+ name: 'year',
847
+ type: 'uint256',
848
+ },
849
+ {
850
+ internalType: 'uint256',
851
+ name: 'month',
852
+ type: 'uint256',
853
+ },
854
+ {
855
+ internalType: 'uint256',
856
+ name: 'day',
857
+ type: 'uint256',
858
+ },
859
+ {
860
+ internalType: 'address',
861
+ name: 'receiverAddr',
862
+ type: 'address',
863
+ },
864
+ ],
865
+ name: 'getBurnableAmountByReceiver',
866
+ outputs: [
867
+ {
868
+ internalType: 'uint256',
869
+ name: '',
870
+ type: 'uint256',
871
+ },
872
+ ],
873
+ stateMutability: 'view',
874
+ type: 'function',
875
+ },
876
+ {
877
+ inputs: [
878
+ {
879
+ internalType: 'uint256',
880
+ name: 'year',
881
+ type: 'uint256',
882
+ },
883
+ {
884
+ internalType: 'uint256',
885
+ name: 'month',
886
+ type: 'uint256',
887
+ },
888
+ {
889
+ internalType: 'uint256',
890
+ name: 'day',
891
+ type: 'uint256',
892
+ },
893
+ {
894
+ internalType: 'address',
895
+ name: 'receiverAddr',
896
+ type: 'address',
897
+ },
898
+ ],
899
+ name: 'getClaimableAmountByReceiver',
900
+ outputs: [
901
+ {
902
+ internalType: 'uint256',
903
+ name: '',
904
+ type: 'uint256',
905
+ },
906
+ ],
907
+ stateMutability: 'view',
908
+ type: 'function',
909
+ },
910
+ {
911
+ inputs: [],
912
+ name: 'getInitializedVersion',
913
+ outputs: [
914
+ {
915
+ internalType: 'uint8',
916
+ name: '',
917
+ type: 'uint8',
918
+ },
919
+ ],
920
+ stateMutability: 'view',
921
+ type: 'function',
922
+ },
923
+ {
924
+ inputs: [
925
+ {
926
+ internalType: 'uint256',
927
+ name: 'year',
928
+ type: 'uint256',
929
+ },
930
+ {
931
+ internalType: 'uint256',
932
+ name: 'month',
933
+ type: 'uint256',
934
+ },
935
+ {
936
+ internalType: 'uint256',
937
+ name: 'day',
938
+ type: 'uint256',
939
+ },
940
+ ],
941
+ name: 'getRequirementByDate',
942
+ outputs: [
943
+ {
944
+ internalType: 'uint256',
945
+ name: 'shares',
946
+ type: 'uint256',
947
+ },
948
+ {
949
+ internalType: 'uint256',
950
+ name: 'assets',
951
+ type: 'uint256',
952
+ },
953
+ ],
954
+ stateMutability: 'view',
955
+ type: 'function',
956
+ },
957
+ {
958
+ inputs: [
959
+ {
960
+ internalType: 'uint256',
961
+ name: 'year',
962
+ type: 'uint256',
963
+ },
964
+ {
965
+ internalType: 'uint256',
966
+ name: 'month',
967
+ type: 'uint256',
968
+ },
969
+ {
970
+ internalType: 'uint256',
971
+ name: 'day',
972
+ type: 'uint256',
973
+ },
974
+ ],
975
+ name: 'getScheduledTransactionsByDate',
976
+ outputs: [
977
+ {
978
+ internalType: 'uint256',
979
+ name: 'totalTransactions',
980
+ type: 'uint256',
981
+ },
982
+ {
983
+ internalType: 'uint256',
984
+ name: 'executionEpoch',
985
+ type: 'uint256',
986
+ },
987
+ ],
988
+ stateMutability: 'view',
989
+ type: 'function',
990
+ },
991
+ {
992
+ inputs: [],
993
+ name: 'getTotalLoansDeployed',
994
+ outputs: [
995
+ {
996
+ internalType: 'uint256',
997
+ name: '',
998
+ type: 'uint256',
999
+ },
1000
+ ],
1001
+ stateMutability: 'view',
1002
+ type: 'function',
1003
+ },
1004
+ {
1005
+ inputs: [],
1006
+ name: 'getWithdrawalEpoch',
1007
+ outputs: [
1008
+ {
1009
+ internalType: 'uint256',
1010
+ name: 'year',
1011
+ type: 'uint256',
1012
+ },
1013
+ {
1014
+ internalType: 'uint256',
1015
+ name: 'month',
1016
+ type: 'uint256',
1017
+ },
1018
+ {
1019
+ internalType: 'uint256',
1020
+ name: 'day',
1021
+ type: 'uint256',
1022
+ },
1023
+ {
1024
+ internalType: 'uint256',
1025
+ name: 'claimableEpoch',
1026
+ type: 'uint256',
1027
+ },
1028
+ ],
1029
+ stateMutability: 'view',
1030
+ type: 'function',
1031
+ },
1032
+ {
1033
+ inputs: [],
1034
+ name: 'globalLiabilityShares',
1035
+ outputs: [
1036
+ {
1037
+ internalType: 'uint256',
1038
+ name: '',
1039
+ type: 'uint256',
1040
+ },
1041
+ ],
1042
+ stateMutability: 'view',
1043
+ type: 'function',
1044
+ },
1045
+ {
1046
+ inputs: [],
1047
+ name: 'globalLoansAmount',
1048
+ outputs: [
1049
+ {
1050
+ internalType: 'uint256',
1051
+ name: '',
1052
+ type: 'uint256',
1053
+ },
1054
+ ],
1055
+ stateMutability: 'view',
1056
+ type: 'function',
1057
+ },
1058
+ {
1059
+ inputs: [
1060
+ {
1061
+ internalType: 'address',
1062
+ name: 'newOwner',
1063
+ type: 'address',
1064
+ },
1065
+ {
1066
+ internalType: 'uint8',
1067
+ name: 'erc20Decimals',
1068
+ type: 'uint8',
1069
+ },
1070
+ {
1071
+ internalType: 'string',
1072
+ name: 'erc20Symbol',
1073
+ type: 'string',
1074
+ },
1075
+ {
1076
+ internalType: 'string',
1077
+ name: 'erc20Name',
1078
+ type: 'string',
1079
+ },
1080
+ ],
1081
+ name: 'initialize',
1082
+ outputs: [],
1083
+ stateMutability: 'nonpayable',
1084
+ type: 'function',
1085
+ },
1086
+ {
1087
+ inputs: [],
1088
+ name: 'lagDuration',
1089
+ outputs: [
1090
+ {
1091
+ internalType: 'uint256',
1092
+ name: '',
1093
+ type: 'uint256',
1094
+ },
1095
+ ],
1096
+ stateMutability: 'view',
1097
+ type: 'function',
1098
+ },
1099
+ {
1100
+ inputs: [
1101
+ {
1102
+ internalType: 'address',
1103
+ name: 'loanAddr',
1104
+ type: 'address',
1105
+ },
1106
+ ],
1107
+ name: 'liquidate',
1108
+ outputs: [],
1109
+ stateMutability: 'nonpayable',
1110
+ type: 'function',
1111
+ },
1112
+ {
1113
+ inputs: [],
1114
+ name: 'liquidationHour',
1115
+ outputs: [
1116
+ {
1117
+ internalType: 'uint8',
1118
+ name: '',
1119
+ type: 'uint8',
1120
+ },
1121
+ ],
1122
+ stateMutability: 'view',
1123
+ type: 'function',
1124
+ },
1125
+ {
1126
+ inputs: [
1127
+ {
1128
+ internalType: 'uint256',
1129
+ name: '',
1130
+ type: 'uint256',
1131
+ },
1132
+ ],
1133
+ name: 'loansDeployed',
1134
+ outputs: [
1135
+ {
1136
+ internalType: 'address',
1137
+ name: '',
1138
+ type: 'address',
1139
+ },
1140
+ ],
1141
+ stateMutability: 'view',
1142
+ type: 'function',
1143
+ },
1144
+ {
1145
+ inputs: [],
1146
+ name: 'loansDeployerAddress',
1147
+ outputs: [
1148
+ {
1149
+ internalType: 'address',
1150
+ name: '',
1151
+ type: 'address',
1152
+ },
1153
+ ],
1154
+ stateMutability: 'view',
1155
+ type: 'function',
1156
+ },
1157
+ {
1158
+ inputs: [],
1159
+ name: 'loansOperator',
1160
+ outputs: [
1161
+ {
1162
+ internalType: 'address',
1163
+ name: '',
1164
+ type: 'address',
1165
+ },
1166
+ ],
1167
+ stateMutability: 'view',
1168
+ type: 'function',
1169
+ },
1170
+ {
1171
+ inputs: [],
1172
+ name: 'operator',
1173
+ outputs: [
1174
+ {
1175
+ internalType: 'address',
1176
+ name: '',
1177
+ type: 'address',
1178
+ },
1179
+ ],
1180
+ stateMutability: 'view',
1181
+ type: 'function',
1182
+ },
1183
+ {
1184
+ inputs: [
1185
+ {
1186
+ internalType: 'address',
1187
+ name: '',
1188
+ type: 'address',
1189
+ },
1190
+ ],
1191
+ name: 'maxDeposit',
1192
+ outputs: [
1193
+ {
1194
+ internalType: 'uint256',
1195
+ name: '',
1196
+ type: 'uint256',
1197
+ },
1198
+ ],
1199
+ stateMutability: 'view',
1200
+ type: 'function',
1201
+ },
1202
+ {
1203
+ inputs: [],
1204
+ name: 'maxDepositAmount',
1205
+ outputs: [
1206
+ {
1207
+ internalType: 'uint256',
1208
+ name: '',
1209
+ type: 'uint256',
1210
+ },
1211
+ ],
1212
+ stateMutability: 'view',
1213
+ type: 'function',
1214
+ },
1215
+ {
1216
+ inputs: [
1217
+ {
1218
+ internalType: 'address',
1219
+ name: '',
1220
+ type: 'address',
1221
+ },
1222
+ ],
1223
+ name: 'maxMint',
1224
+ outputs: [
1225
+ {
1226
+ internalType: 'uint256',
1227
+ name: '',
1228
+ type: 'uint256',
1229
+ },
1230
+ ],
1231
+ stateMutability: 'view',
1232
+ type: 'function',
1233
+ },
1234
+ {
1235
+ inputs: [
1236
+ {
1237
+ internalType: 'address',
1238
+ name: 'holderAddr',
1239
+ type: 'address',
1240
+ },
1241
+ ],
1242
+ name: 'maxRedeem',
1243
+ outputs: [
1244
+ {
1245
+ internalType: 'uint256',
1246
+ name: '',
1247
+ type: 'uint256',
1248
+ },
1249
+ ],
1250
+ stateMutability: 'view',
1251
+ type: 'function',
1252
+ },
1253
+ {
1254
+ inputs: [],
1255
+ name: 'maxSupply',
1256
+ outputs: [
1257
+ {
1258
+ internalType: 'uint256',
1259
+ name: '',
1260
+ type: 'uint256',
1261
+ },
1262
+ ],
1263
+ stateMutability: 'view',
1264
+ type: 'function',
1265
+ },
1266
+ {
1267
+ inputs: [
1268
+ {
1269
+ internalType: 'address',
1270
+ name: 'holderAddr',
1271
+ type: 'address',
1272
+ },
1273
+ ],
1274
+ name: 'maxWithdraw',
1275
+ outputs: [
1276
+ {
1277
+ internalType: 'uint256',
1278
+ name: '',
1279
+ type: 'uint256',
1280
+ },
1281
+ ],
1282
+ stateMutability: 'view',
1283
+ type: 'function',
1284
+ },
1285
+ {
1286
+ inputs: [],
1287
+ name: 'maxWithdrawalAmount',
1288
+ outputs: [
1289
+ {
1290
+ internalType: 'uint256',
1291
+ name: '',
1292
+ type: 'uint256',
1293
+ },
1294
+ ],
1295
+ stateMutability: 'view',
1296
+ type: 'function',
1297
+ },
1298
+ {
1299
+ inputs: [
1300
+ {
1301
+ internalType: 'uint256',
1302
+ name: 'shares',
1303
+ type: 'uint256',
1304
+ },
1305
+ {
1306
+ internalType: 'address',
1307
+ name: 'receiver',
1308
+ type: 'address',
1309
+ },
1310
+ ],
1311
+ name: 'mint',
1312
+ outputs: [
1313
+ {
1314
+ internalType: 'uint256',
1315
+ name: 'assets',
1316
+ type: 'uint256',
1317
+ },
1318
+ ],
1319
+ stateMutability: 'nonpayable',
1320
+ type: 'function',
1321
+ },
1322
+ {
1323
+ inputs: [],
1324
+ name: 'name',
1325
+ outputs: [
1326
+ {
1327
+ internalType: 'string',
1328
+ name: '',
1329
+ type: 'string',
1330
+ },
1331
+ ],
1332
+ stateMutability: 'view',
1333
+ type: 'function',
1334
+ },
1335
+ {
1336
+ inputs: [],
1337
+ name: 'notifyLoanClosed',
1338
+ outputs: [],
1339
+ stateMutability: 'nonpayable',
1340
+ type: 'function',
1341
+ },
1342
+ {
1343
+ inputs: [],
1344
+ name: 'notifyLoanMatured',
1345
+ outputs: [],
1346
+ stateMutability: 'nonpayable',
1347
+ type: 'function',
1348
+ },
1349
+ {
1350
+ inputs: [
1351
+ {
1352
+ internalType: 'uint256',
1353
+ name: 'effectiveLoanAmount',
1354
+ type: 'uint256',
1355
+ },
1356
+ {
1357
+ internalType: 'uint256',
1358
+ name: 'principalRepaid',
1359
+ type: 'uint256',
1360
+ },
1361
+ ],
1362
+ name: 'notifyPrincipalRepayment',
1363
+ outputs: [],
1364
+ stateMutability: 'nonpayable',
1365
+ type: 'function',
1366
+ },
1367
+ {
1368
+ inputs: [],
1369
+ name: 'owner',
1370
+ outputs: [
1371
+ {
1372
+ internalType: 'address',
1373
+ name: '',
1374
+ type: 'address',
1375
+ },
1376
+ ],
1377
+ stateMutability: 'view',
1378
+ type: 'function',
1379
+ },
1380
+ {
1381
+ inputs: [
1382
+ {
1383
+ internalType: 'bool',
1384
+ name: 'bPauseDeposits',
1385
+ type: 'bool',
1386
+ },
1387
+ {
1388
+ internalType: 'bool',
1389
+ name: 'bPauseWithdrawals',
1390
+ type: 'bool',
1391
+ },
1392
+ ],
1393
+ name: 'pauseDepositsAndWithdrawals',
1394
+ outputs: [],
1395
+ stateMutability: 'nonpayable',
1396
+ type: 'function',
1397
+ },
1398
+ {
1399
+ inputs: [
1400
+ {
1401
+ internalType: 'uint256',
1402
+ name: 'assets',
1403
+ type: 'uint256',
1404
+ },
1405
+ ],
1406
+ name: 'previewDeposit',
1407
+ outputs: [
1408
+ {
1409
+ internalType: 'uint256',
1410
+ name: '',
1411
+ type: 'uint256',
1412
+ },
1413
+ ],
1414
+ stateMutability: 'view',
1415
+ type: 'function',
1416
+ },
1417
+ {
1418
+ inputs: [
1419
+ {
1420
+ internalType: 'uint256',
1421
+ name: 'shares',
1422
+ type: 'uint256',
1423
+ },
1424
+ ],
1425
+ name: 'previewMint',
1426
+ outputs: [
1427
+ {
1428
+ internalType: 'uint256',
1429
+ name: '',
1430
+ type: 'uint256',
1431
+ },
1432
+ ],
1433
+ stateMutability: 'view',
1434
+ type: 'function',
1435
+ },
1436
+ {
1437
+ inputs: [
1438
+ {
1439
+ internalType: 'uint256',
1440
+ name: 'shares',
1441
+ type: 'uint256',
1442
+ },
1443
+ ],
1444
+ name: 'previewRedeem',
1445
+ outputs: [
1446
+ {
1447
+ internalType: 'uint256',
1448
+ name: 'assets',
1449
+ type: 'uint256',
1450
+ },
1451
+ ],
1452
+ stateMutability: 'view',
1453
+ type: 'function',
1454
+ },
1455
+ {
1456
+ inputs: [
1457
+ {
1458
+ internalType: 'uint256',
1459
+ name: 'assets',
1460
+ type: 'uint256',
1461
+ },
1462
+ ],
1463
+ name: 'previewWithdraw',
1464
+ outputs: [
1465
+ {
1466
+ internalType: 'uint256',
1467
+ name: '',
1468
+ type: 'uint256',
1469
+ },
1470
+ ],
1471
+ stateMutability: 'view',
1472
+ type: 'function',
1473
+ },
1474
+ {
1475
+ inputs: [
1476
+ {
1477
+ internalType: 'uint256',
1478
+ name: 'year',
1479
+ type: 'uint256',
1480
+ },
1481
+ {
1482
+ internalType: 'uint256',
1483
+ name: 'month',
1484
+ type: 'uint256',
1485
+ },
1486
+ {
1487
+ internalType: 'uint256',
1488
+ name: 'day',
1489
+ type: 'uint256',
1490
+ },
1491
+ {
1492
+ internalType: 'uint256',
1493
+ name: 'maxLimit',
1494
+ type: 'uint256',
1495
+ },
1496
+ ],
1497
+ name: 'processAllClaimsByDate',
1498
+ outputs: [],
1499
+ stateMutability: 'nonpayable',
1500
+ type: 'function',
1501
+ },
1502
+ {
1503
+ inputs: [
1504
+ {
1505
+ internalType: 'address',
1506
+ name: 'loanAddr',
1507
+ type: 'address',
1508
+ },
1509
+ {
1510
+ internalType: 'uint256',
1511
+ name: 'newAprWithTwoDecimals',
1512
+ type: 'uint256',
1513
+ },
1514
+ ],
1515
+ name: 'proposeNewApr',
1516
+ outputs: [],
1517
+ stateMutability: 'nonpayable',
1518
+ type: 'function',
1519
+ },
1520
+ {
1521
+ inputs: [
1522
+ {
1523
+ internalType: 'uint256',
1524
+ name: '',
1525
+ type: 'uint256',
1526
+ },
1527
+ {
1528
+ internalType: 'address',
1529
+ name: '',
1530
+ type: 'address',
1531
+ },
1532
+ {
1533
+ internalType: 'address',
1534
+ name: '',
1535
+ type: 'address',
1536
+ },
1537
+ ],
1538
+ name: 'redeem',
1539
+ outputs: [
1540
+ {
1541
+ internalType: 'uint256',
1542
+ name: '',
1543
+ type: 'uint256',
1544
+ },
1545
+ ],
1546
+ stateMutability: 'pure',
1547
+ type: 'function',
1548
+ },
1549
+ {
1550
+ inputs: [
1551
+ {
1552
+ internalType: 'uint256',
1553
+ name: 'shares',
1554
+ type: 'uint256',
1555
+ },
1556
+ {
1557
+ internalType: 'address',
1558
+ name: 'receiverAddr',
1559
+ type: 'address',
1560
+ },
1561
+ {
1562
+ internalType: 'address',
1563
+ name: 'holderAddr',
1564
+ type: 'address',
1565
+ },
1566
+ ],
1567
+ name: 'requestRedeem',
1568
+ outputs: [
1569
+ {
1570
+ internalType: 'uint256',
1571
+ name: 'assets',
1572
+ type: 'uint256',
1573
+ },
1574
+ {
1575
+ internalType: 'uint256',
1576
+ name: 'claimableEpoch',
1577
+ type: 'uint256',
1578
+ },
1579
+ ],
1580
+ stateMutability: 'nonpayable',
1581
+ type: 'function',
1582
+ },
1583
+ {
1584
+ inputs: [],
1585
+ name: 'scheduledCallerAddress',
1586
+ outputs: [
1587
+ {
1588
+ internalType: 'address',
1589
+ name: '',
1590
+ type: 'address',
1591
+ },
1592
+ ],
1593
+ stateMutability: 'view',
1594
+ type: 'function',
1595
+ },
1596
+ {
1597
+ inputs: [],
1598
+ name: 'symbol',
1599
+ outputs: [
1600
+ {
1601
+ internalType: 'string',
1602
+ name: '',
1603
+ type: 'string',
1604
+ },
1605
+ ],
1606
+ stateMutability: 'view',
1607
+ type: 'function',
1608
+ },
1609
+ {
1610
+ inputs: [],
1611
+ name: 'totalAssets',
1612
+ outputs: [
1613
+ {
1614
+ internalType: 'uint256',
1615
+ name: '',
1616
+ type: 'uint256',
1617
+ },
1618
+ ],
1619
+ stateMutability: 'view',
1620
+ type: 'function',
1621
+ },
1622
+ {
1623
+ inputs: [],
1624
+ name: 'totalCollectableFees',
1625
+ outputs: [
1626
+ {
1627
+ internalType: 'uint256',
1628
+ name: '',
1629
+ type: 'uint256',
1630
+ },
1631
+ ],
1632
+ stateMutability: 'view',
1633
+ type: 'function',
1634
+ },
1635
+ {
1636
+ inputs: [],
1637
+ name: 'totalSupply',
1638
+ outputs: [
1639
+ {
1640
+ internalType: 'uint256',
1641
+ name: '',
1642
+ type: 'uint256',
1643
+ },
1644
+ ],
1645
+ stateMutability: 'view',
1646
+ type: 'function',
1647
+ },
1648
+ {
1649
+ inputs: [
1650
+ {
1651
+ internalType: 'address',
1652
+ name: 'to',
1653
+ type: 'address',
1654
+ },
1655
+ {
1656
+ internalType: 'uint256',
1657
+ name: 'value',
1658
+ type: 'uint256',
1659
+ },
1660
+ ],
1661
+ name: 'transfer',
1662
+ outputs: [
1663
+ {
1664
+ internalType: 'bool',
1665
+ name: '',
1666
+ type: 'bool',
1667
+ },
1668
+ ],
1669
+ stateMutability: 'nonpayable',
1670
+ type: 'function',
1671
+ },
1672
+ {
1673
+ inputs: [
1674
+ {
1675
+ internalType: 'address',
1676
+ name: 'from',
1677
+ type: 'address',
1678
+ },
1679
+ {
1680
+ internalType: 'address',
1681
+ name: 'to',
1682
+ type: 'address',
1683
+ },
1684
+ {
1685
+ internalType: 'uint256',
1686
+ name: 'value',
1687
+ type: 'uint256',
1688
+ },
1689
+ ],
1690
+ name: 'transferFrom',
1691
+ outputs: [
1692
+ {
1693
+ internalType: 'bool',
1694
+ name: '',
1695
+ type: 'bool',
1696
+ },
1697
+ ],
1698
+ stateMutability: 'nonpayable',
1699
+ type: 'function',
1700
+ },
1701
+ {
1702
+ inputs: [
1703
+ {
1704
+ internalType: 'address',
1705
+ name: 'newOwner',
1706
+ type: 'address',
1707
+ },
1708
+ ],
1709
+ name: 'transferOwnership',
1710
+ outputs: [],
1711
+ stateMutability: 'nonpayable',
1712
+ type: 'function',
1713
+ },
1714
+ {
1715
+ inputs: [
1716
+ {
1717
+ internalType: 'address',
1718
+ name: 'newFeeCollectorAddr',
1719
+ type: 'address',
1720
+ },
1721
+ ],
1722
+ name: 'updateFeeCollector',
1723
+ outputs: [],
1724
+ stateMutability: 'nonpayable',
1725
+ type: 'function',
1726
+ },
1727
+ {
1728
+ inputs: [
1729
+ {
1730
+ internalType: 'uint256',
1731
+ name: 'newMaxDepositAmount',
1732
+ type: 'uint256',
1733
+ },
1734
+ {
1735
+ internalType: 'uint256',
1736
+ name: 'newMaxWithdrawalAmount',
1737
+ type: 'uint256',
1738
+ },
1739
+ {
1740
+ internalType: 'uint256',
1741
+ name: 'newMaxTokenSupply',
1742
+ type: 'uint256',
1743
+ },
1744
+ ],
1745
+ name: 'updateIssuanceLimits',
1746
+ outputs: [],
1747
+ stateMutability: 'nonpayable',
1748
+ type: 'function',
1749
+ },
1750
+ {
1751
+ inputs: [
1752
+ {
1753
+ internalType: 'uint256',
1754
+ name: 'newDuration',
1755
+ type: 'uint256',
1756
+ },
1757
+ ],
1758
+ name: 'updateTimelockDuration',
1759
+ outputs: [],
1760
+ stateMutability: 'nonpayable',
1761
+ type: 'function',
1762
+ },
1763
+ {
1764
+ inputs: [
1765
+ {
1766
+ internalType: 'uint256',
1767
+ name: 'newWithdrawalFee',
1768
+ type: 'uint256',
1769
+ },
1770
+ ],
1771
+ name: 'updateWithdrawalFee',
1772
+ outputs: [],
1773
+ stateMutability: 'nonpayable',
1774
+ type: 'function',
1775
+ },
1776
+ {
1777
+ inputs: [
1778
+ {
1779
+ internalType: 'uint256',
1780
+ name: '',
1781
+ type: 'uint256',
1782
+ },
1783
+ {
1784
+ internalType: 'address',
1785
+ name: '',
1786
+ type: 'address',
1787
+ },
1788
+ {
1789
+ internalType: 'address',
1790
+ name: '',
1791
+ type: 'address',
1792
+ },
1793
+ ],
1794
+ name: 'withdraw',
1795
+ outputs: [
1796
+ {
1797
+ internalType: 'uint256',
1798
+ name: '',
1799
+ type: 'uint256',
1800
+ },
1801
+ ],
1802
+ stateMutability: 'pure',
1803
+ type: 'function',
1804
+ },
1805
+ {
1806
+ inputs: [],
1807
+ name: 'withdrawalFee',
1808
+ outputs: [
1809
+ {
1810
+ internalType: 'uint256',
1811
+ name: '',
1812
+ type: 'uint256',
1813
+ },
1814
+ ],
1815
+ stateMutability: 'view',
1816
+ type: 'function',
1817
+ },
1818
+ {
1819
+ inputs: [],
1820
+ name: 'withdrawalsPaused',
1821
+ outputs: [
1822
+ {
1823
+ internalType: 'bool',
1824
+ name: '',
1825
+ type: 'bool',
1826
+ },
1827
+ ],
1828
+ stateMutability: 'view',
1829
+ type: 'function',
1830
+ },
1831
+ ];
1832
+ //# sourceMappingURL=LendingPoolV2.js.map