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