upshift-config 0.5.14

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 (316) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +349 -0
  3. package/lib/abis/AddressResolver.d.ts +28 -0
  4. package/lib/abis/AddressResolver.js +23 -0
  5. package/lib/abis/ChainlinkV3.d.ts +87 -0
  6. package/lib/abis/ChainlinkV3.js +117 -0
  7. package/lib/abis/ERC20.d.ts +168 -0
  8. package/lib/abis/ERC20.js +226 -0
  9. package/lib/abis/ERC20_Bytes32.d.ts +139 -0
  10. package/lib/abis/ERC20_Bytes32.js +196 -0
  11. package/lib/abis/ERC4626.d.ts +364 -0
  12. package/lib/abis/ERC4626.js +507 -0
  13. package/lib/abis/ERC721.d.ts +231 -0
  14. package/lib/abis/ERC721.js +321 -0
  15. package/lib/abis/FeeOracle.d.ts +120 -0
  16. package/lib/abis/FeeOracle.js +162 -0
  17. package/lib/abis/LendingPool.d.ts +1393 -0
  18. package/lib/abis/LendingPool.js +1807 -0
  19. package/lib/abis/LendingPoolV2.d.ts +1413 -0
  20. package/lib/abis/LendingPoolV2.js +1833 -0
  21. package/lib/abis/LendingPoolV3.d.ts +1677 -0
  22. package/lib/abis/LendingPoolV3.js +1160 -0
  23. package/lib/abis/Loan.d.ts +837 -0
  24. package/lib/abis/Loan.js +1080 -0
  25. package/lib/abis/MultiAssetNativeDepositWrapper.d.ts +137 -0
  26. package/lib/abis/MultiAssetNativeDepositWrapper.js +125 -0
  27. package/lib/abis/Multicall3.d.ts +30 -0
  28. package/lib/abis/Multicall3.js +97 -0
  29. package/lib/abis/OFT.d.ts +116 -0
  30. package/lib/abis/OFT.js +85 -0
  31. package/lib/abis/PoolAdapter.d.ts +36 -0
  32. package/lib/abis/PoolAdapter.js +51 -0
  33. package/lib/abis/RewardDistributor.d.ts +267 -0
  34. package/lib/abis/RewardDistributor.js +352 -0
  35. package/lib/abis/RwaRedeemSubaccount.d.ts +747 -0
  36. package/lib/abis/RwaRedeemSubaccount.js +548 -0
  37. package/lib/abis/SmartAccount.d.ts +17 -0
  38. package/lib/abis/SmartAccount.js +19 -0
  39. package/lib/abis/SwapRouter.d.ts +1043 -0
  40. package/lib/abis/SwapRouter.js +740 -0
  41. package/lib/abis/TextResolver.d.ts +16 -0
  42. package/lib/abis/TextResolver.js +16 -0
  43. package/lib/abis/TokenizedVaultV2.d.ts +1364 -0
  44. package/lib/abis/TokenizedVaultV2.js +1041 -0
  45. package/lib/abis/TokenizedVaultV2DepositWithPermit.d.ts +1456 -0
  46. package/lib/abis/TokenizedVaultV2DepositWithPermit.js +1878 -0
  47. package/lib/abis/TokenizedVaultV2Receipt.d.ts +1568 -0
  48. package/lib/abis/TokenizedVaultV2Receipt.js +1061 -0
  49. package/lib/abis/TokenizedVaultV2SenderAllocationWhitelist.d.ts +454 -0
  50. package/lib/abis/TokenizedVaultV2SenderAllocationWhitelist.js +327 -0
  51. package/lib/abis/TokenizedVaultV2WhitelistedAllocation.d.ts +1466 -0
  52. package/lib/abis/TokenizedVaultV2WhitelistedAllocation.js +1092 -0
  53. package/lib/abis/TokenizedVaultV2WhitelistedAssets.d.ts +274 -0
  54. package/lib/abis/TokenizedVaultV2WhitelistedAssets.js +167 -0
  55. package/lib/abis/UniversalResolverResolve.d.ts +69 -0
  56. package/lib/abis/UniversalResolverResolve.js +35 -0
  57. package/lib/abis/UniversalSignatureValidator.d.ts +17 -0
  58. package/lib/abis/UniversalSignatureValidator.js +30 -0
  59. package/lib/abis/WrapperAdapter.d.ts +71 -0
  60. package/lib/abis/WrapperAdapter.js +77 -0
  61. package/lib/abis/index.d.ts +34 -0
  62. package/lib/abis/index.js +51 -0
  63. package/lib/adapters/evm/getters.d.ts +19 -0
  64. package/lib/adapters/evm/getters.js +209 -0
  65. package/lib/adapters/evm/index.d.ts +353 -0
  66. package/lib/adapters/evm/index.js +434 -0
  67. package/lib/adapters/evm/utils.d.ts +8 -0
  68. package/lib/adapters/evm/utils.js +51 -0
  69. package/lib/adapters/solana/constants.d.ts +33 -0
  70. package/lib/adapters/solana/constants.js +52 -0
  71. package/lib/adapters/solana/getters.d.ts +11 -0
  72. package/lib/adapters/solana/getters.js +165 -0
  73. package/lib/adapters/solana/idl/vault-idl.d.ts +272 -0
  74. package/lib/adapters/solana/idl/vault-idl.js +1084 -0
  75. package/lib/adapters/solana/index.d.ts +233 -0
  76. package/lib/adapters/solana/index.js +291 -0
  77. package/lib/adapters/solana/types.d.ts +67 -0
  78. package/lib/adapters/solana/types.js +3 -0
  79. package/lib/adapters/solana/utils.d.ts +141 -0
  80. package/lib/adapters/solana/utils.js +595 -0
  81. package/lib/adapters/solana/vault.actions.d.ts +57 -0
  82. package/lib/adapters/solana/vault.actions.js +379 -0
  83. package/lib/adapters/stellar/actions.d.ts +28 -0
  84. package/lib/adapters/stellar/actions.js +77 -0
  85. package/lib/adapters/stellar/constants.d.ts +43 -0
  86. package/lib/adapters/stellar/constants.js +53 -0
  87. package/lib/adapters/stellar/getters.d.ts +68 -0
  88. package/lib/adapters/stellar/getters.js +290 -0
  89. package/lib/adapters/stellar/index.d.ts +114 -0
  90. package/lib/adapters/stellar/index.js +175 -0
  91. package/lib/adapters/stellar/soroban.d.ts +123 -0
  92. package/lib/adapters/stellar/soroban.js +613 -0
  93. package/lib/adapters/stellar/submit.d.ts +34 -0
  94. package/lib/adapters/stellar/submit.js +149 -0
  95. package/lib/adapters/stellar/types.d.ts +58 -0
  96. package/lib/adapters/stellar/types.js +6 -0
  97. package/lib/adapters/stellar/utils.d.ts +24 -0
  98. package/lib/adapters/stellar/utils.js +34 -0
  99. package/lib/adapters/sui/constants.d.ts +14 -0
  100. package/lib/adapters/sui/constants.js +29 -0
  101. package/lib/adapters/sui/getters.d.ts +9 -0
  102. package/lib/adapters/sui/getters.js +60 -0
  103. package/lib/adapters/sui/index.d.ts +45 -0
  104. package/lib/adapters/sui/index.js +101 -0
  105. package/lib/adapters/sui/transformer.d.ts +10 -0
  106. package/lib/adapters/sui/transformer.js +107 -0
  107. package/lib/adapters/sui/types.d.ts +66 -0
  108. package/lib/adapters/sui/types.js +3 -0
  109. package/lib/adapters/sui/utils.d.ts +10 -0
  110. package/lib/adapters/sui/utils.js +29 -0
  111. package/lib/core/analytics/chain-name.d.ts +9 -0
  112. package/lib/core/analytics/chain-name.js +34 -0
  113. package/lib/core/analytics/constants.d.ts +5 -0
  114. package/lib/core/analytics/constants.js +9 -0
  115. package/lib/core/analytics/env.d.ts +29 -0
  116. package/lib/core/analytics/env.js +59 -0
  117. package/lib/core/analytics/index.d.ts +36 -0
  118. package/lib/core/analytics/index.js +79 -0
  119. package/lib/core/analytics/instrumentation.d.ts +29 -0
  120. package/lib/core/analytics/instrumentation.js +277 -0
  121. package/lib/core/analytics/method-taxonomy.d.ts +19 -0
  122. package/lib/core/analytics/method-taxonomy.js +128 -0
  123. package/lib/core/analytics/metrics.d.ts +33 -0
  124. package/lib/core/analytics/metrics.js +116 -0
  125. package/lib/core/analytics/sanitize.d.ts +44 -0
  126. package/lib/core/analytics/sanitize.js +260 -0
  127. package/lib/core/analytics/sentry-runtime.d.ts +15 -0
  128. package/lib/core/analytics/sentry-runtime.js +97 -0
  129. package/lib/core/analytics/sentry.d.ts +67 -0
  130. package/lib/core/analytics/sentry.js +613 -0
  131. package/lib/core/analytics/types.d.ts +48 -0
  132. package/lib/core/analytics/types.js +3 -0
  133. package/lib/core/analytics/user-identity.d.ts +41 -0
  134. package/lib/core/analytics/user-identity.js +141 -0
  135. package/lib/core/analytics/version.d.ts +6 -0
  136. package/lib/core/analytics/version.js +10 -0
  137. package/lib/core/attribution.d.ts +111 -0
  138. package/lib/core/attribution.js +142 -0
  139. package/lib/core/auth/index.d.ts +1 -0
  140. package/lib/core/auth/index.js +18 -0
  141. package/lib/core/auth/verify.d.ts +2 -0
  142. package/lib/core/auth/verify.js +31 -0
  143. package/lib/core/base.class.d.ts +152 -0
  144. package/lib/core/base.class.js +172 -0
  145. package/lib/core/cache.d.ts +9 -0
  146. package/lib/core/cache.js +31 -0
  147. package/lib/core/constants/adapters.d.ts +103 -0
  148. package/lib/core/constants/adapters.js +180 -0
  149. package/lib/core/constants/core.d.ts +133 -0
  150. package/lib/core/constants/core.js +209 -0
  151. package/lib/core/constants/swap-router.d.ts +150 -0
  152. package/lib/core/constants/swap-router.js +169 -0
  153. package/lib/core/constants/vaults.d.ts +93 -0
  154. package/lib/core/constants/vaults.js +273 -0
  155. package/lib/core/constants/web3.d.ts +91 -0
  156. package/lib/core/constants/web3.js +229 -0
  157. package/lib/core/errors/index.d.ts +114 -0
  158. package/lib/core/errors/index.js +183 -0
  159. package/lib/core/fetcher.d.ts +198 -0
  160. package/lib/core/fetcher.js +903 -0
  161. package/lib/core/helpers/adapters.d.ts +13 -0
  162. package/lib/core/helpers/adapters.js +39 -0
  163. package/lib/core/helpers/chain-address.d.ts +13 -0
  164. package/lib/core/helpers/chain-address.js +47 -0
  165. package/lib/core/helpers/chain-error.d.ts +207 -0
  166. package/lib/core/helpers/chain-error.js +682 -0
  167. package/lib/core/helpers/chain-support.d.ts +80 -0
  168. package/lib/core/helpers/chain-support.js +115 -0
  169. package/lib/core/helpers/core.d.ts +68 -0
  170. package/lib/core/helpers/core.js +285 -0
  171. package/lib/core/helpers/explorer-link.d.ts +16 -0
  172. package/lib/core/helpers/explorer-link.js +26 -0
  173. package/lib/core/helpers/multicall.d.ts +68 -0
  174. package/lib/core/helpers/multicall.js +103 -0
  175. package/lib/core/helpers/revert-decode.d.ts +248 -0
  176. package/lib/core/helpers/revert-decode.js +515 -0
  177. package/lib/core/helpers/signer.d.ts +52 -0
  178. package/lib/core/helpers/signer.js +145 -0
  179. package/lib/core/helpers/swap-router.d.ts +211 -0
  180. package/lib/core/helpers/swap-router.js +480 -0
  181. package/lib/core/helpers/vault-version.d.ts +23 -0
  182. package/lib/core/helpers/vault-version.js +75 -0
  183. package/lib/core/helpers/vaults.d.ts +89 -0
  184. package/lib/core/helpers/vaults.js +235 -0
  185. package/lib/core/helpers/web3.d.ts +353 -0
  186. package/lib/core/helpers/web3.js +992 -0
  187. package/lib/core/index.d.ts +23 -0
  188. package/lib/core/index.js +40 -0
  189. package/lib/core/logger/index.d.ts +98 -0
  190. package/lib/core/logger/index.js +144 -0
  191. package/lib/core/logger/slack.d.ts +16 -0
  192. package/lib/core/logger/slack.js +57 -0
  193. package/lib/core/vault-metadata.d.ts +12 -0
  194. package/lib/core/vault-metadata.js +42 -0
  195. package/lib/core/version-check.d.ts +58 -0
  196. package/lib/core/version-check.js +182 -0
  197. package/lib/evm/index.d.ts +2 -0
  198. package/lib/evm/index.js +19 -0
  199. package/lib/evm/methods/crossChainVault.d.ts +128 -0
  200. package/lib/evm/methods/crossChainVault.js +853 -0
  201. package/lib/evm/methods/crossChainVaultRegistry.d.ts +93 -0
  202. package/lib/evm/methods/crossChainVaultRegistry.js +240 -0
  203. package/lib/evm/methods/index.d.ts +2 -0
  204. package/lib/evm/methods/index.js +19 -0
  205. package/lib/evm/types/crossChain.d.ts +363 -0
  206. package/lib/evm/types/crossChain.js +20 -0
  207. package/lib/evm/types/index.d.ts +1 -0
  208. package/lib/evm/types/index.js +18 -0
  209. package/lib/index.d.ts +30 -0
  210. package/lib/index.js +52 -0
  211. package/lib/main.d.ts +527 -0
  212. package/lib/main.js +601 -0
  213. package/lib/modules/api/fetcher.d.ts +82 -0
  214. package/lib/modules/api/fetcher.js +150 -0
  215. package/lib/modules/api/index.d.ts +1 -0
  216. package/lib/modules/api/index.js +6 -0
  217. package/lib/modules/api/main.d.ts +313 -0
  218. package/lib/modules/api/main.js +479 -0
  219. package/lib/modules/sub-accounts/fetcher.d.ts +53 -0
  220. package/lib/modules/sub-accounts/fetcher.js +120 -0
  221. package/lib/modules/sub-accounts/index.d.ts +2 -0
  222. package/lib/modules/sub-accounts/index.js +19 -0
  223. package/lib/modules/sub-accounts/main.d.ts +243 -0
  224. package/lib/modules/sub-accounts/main.js +205 -0
  225. package/lib/modules/sub-accounts/utils.d.ts +106 -0
  226. package/lib/modules/sub-accounts/utils.js +112 -0
  227. package/lib/modules/vaults/adapter.helpers.d.ts +64 -0
  228. package/lib/modules/vaults/adapter.helpers.js +184 -0
  229. package/lib/modules/vaults/fetcher.d.ts +147 -0
  230. package/lib/modules/vaults/fetcher.js +368 -0
  231. package/lib/modules/vaults/getters.d.ts +570 -0
  232. package/lib/modules/vaults/getters.js +3051 -0
  233. package/lib/modules/vaults/index.d.ts +20 -0
  234. package/lib/modules/vaults/index.js +44 -0
  235. package/lib/modules/vaults/main.d.ts +601 -0
  236. package/lib/modules/vaults/main.js +1623 -0
  237. package/lib/modules/vaults/prefetch.d.ts +65 -0
  238. package/lib/modules/vaults/prefetch.js +120 -0
  239. package/lib/modules/vaults/read.actions.d.ts +225 -0
  240. package/lib/modules/vaults/read.actions.js +596 -0
  241. package/lib/modules/vaults/types.d.ts +71 -0
  242. package/lib/modules/vaults/types.js +3 -0
  243. package/lib/modules/vaults/utils/call-data-decoder.d.ts +61 -0
  244. package/lib/modules/vaults/utils/call-data-decoder.js +194 -0
  245. package/lib/modules/vaults/utils/date-utils.d.ts +50 -0
  246. package/lib/modules/vaults/utils/date-utils.js +84 -0
  247. package/lib/modules/vaults/utils.d.ts +140 -0
  248. package/lib/modules/vaults/utils.js +799 -0
  249. package/lib/modules/vaults/write.actions.d.ts +529 -0
  250. package/lib/modules/vaults/write.actions.js +1749 -0
  251. package/lib/polyfills.d.ts +1 -0
  252. package/lib/polyfills.js +12 -0
  253. package/lib/sdk.d.ts +26721 -0
  254. package/lib/services/coingecko/fetcher.d.ts +15 -0
  255. package/lib/services/coingecko/fetcher.js +67 -0
  256. package/lib/services/coingecko/index.d.ts +2 -0
  257. package/lib/services/coingecko/index.js +19 -0
  258. package/lib/services/coingecko/utils.d.ts +1 -0
  259. package/lib/services/coingecko/utils.js +24 -0
  260. package/lib/services/debank/fetcher.d.ts +126 -0
  261. package/lib/services/debank/fetcher.js +47 -0
  262. package/lib/services/debank/index.d.ts +2 -0
  263. package/lib/services/debank/index.js +19 -0
  264. package/lib/services/debank/utils.d.ts +38 -0
  265. package/lib/services/debank/utils.js +297 -0
  266. package/lib/services/layerzero/deposits.d.ts +49 -0
  267. package/lib/services/layerzero/deposits.js +166 -0
  268. package/lib/services/layerzero/redeems.d.ts +20 -0
  269. package/lib/services/layerzero/redeems.js +92 -0
  270. package/lib/services/layerzero/utils.d.ts +9 -0
  271. package/lib/services/layerzero/utils.js +22 -0
  272. package/lib/services/octavfi/fetcher.d.ts +9 -0
  273. package/lib/services/octavfi/fetcher.js +103 -0
  274. package/lib/services/octavfi/index.d.ts +3 -0
  275. package/lib/services/octavfi/index.js +20 -0
  276. package/lib/services/octavfi/types.d.ts +34 -0
  277. package/lib/services/octavfi/types.js +3 -0
  278. package/lib/services/octavfi/utils.d.ts +16 -0
  279. package/lib/services/octavfi/utils.js +212 -0
  280. package/lib/services/subgraph/fetcher.d.ts +2 -0
  281. package/lib/services/subgraph/fetcher.js +61 -0
  282. package/lib/services/subgraph/index.d.ts +2 -0
  283. package/lib/services/subgraph/index.js +19 -0
  284. package/lib/services/subgraph/schema.d.ts +45 -0
  285. package/lib/services/subgraph/schema.js +75 -0
  286. package/lib/services/subgraph/vaults.d.ts +25 -0
  287. package/lib/services/subgraph/vaults.js +1106 -0
  288. package/lib/services/swap-quotes/index.d.ts +105 -0
  289. package/lib/services/swap-quotes/index.js +77 -0
  290. package/lib/services/swap-quotes/paraswap.d.ts +51 -0
  291. package/lib/services/swap-quotes/paraswap.js +138 -0
  292. package/lib/types/api.d.ts +280 -0
  293. package/lib/types/api.js +3 -0
  294. package/lib/types/index.d.ts +12 -0
  295. package/lib/types/index.js +28 -0
  296. package/lib/types/points.d.ts +28 -0
  297. package/lib/types/points.js +3 -0
  298. package/lib/types/pools.d.ts +144 -0
  299. package/lib/types/pools.js +3 -0
  300. package/lib/types/staking.d.ts +28 -0
  301. package/lib/types/staking.js +3 -0
  302. package/lib/types/sub-accounts.d.ts +140 -0
  303. package/lib/types/sub-accounts.js +3 -0
  304. package/lib/types/subgraph.d.ts +74 -0
  305. package/lib/types/subgraph.js +3 -0
  306. package/lib/types/typed-contract.d.ts +102 -0
  307. package/lib/types/typed-contract.js +3 -0
  308. package/lib/types/user.d.ts +1 -0
  309. package/lib/types/user.js +3 -0
  310. package/lib/types/vaults.d.ts +714 -0
  311. package/lib/types/vaults.js +24 -0
  312. package/lib/types/web3.d.ts +51 -0
  313. package/lib/types/web3.js +14 -0
  314. package/lib/types/webserver.d.ts +698 -0
  315. package/lib/types/webserver.js +3 -0
  316. package/package.json +78 -0
@@ -0,0 +1,1833 @@
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
+ // Tokenized Vaults only
1172
+ inputs: [],
1173
+ name: 'operator',
1174
+ outputs: [
1175
+ {
1176
+ internalType: 'address',
1177
+ name: '',
1178
+ type: 'address',
1179
+ },
1180
+ ],
1181
+ stateMutability: 'view',
1182
+ type: 'function',
1183
+ },
1184
+ {
1185
+ inputs: [
1186
+ {
1187
+ internalType: 'address',
1188
+ name: '',
1189
+ type: 'address',
1190
+ },
1191
+ ],
1192
+ name: 'maxDeposit',
1193
+ outputs: [
1194
+ {
1195
+ internalType: 'uint256',
1196
+ name: '',
1197
+ type: 'uint256',
1198
+ },
1199
+ ],
1200
+ stateMutability: 'view',
1201
+ type: 'function',
1202
+ },
1203
+ {
1204
+ inputs: [],
1205
+ name: 'maxDepositAmount',
1206
+ outputs: [
1207
+ {
1208
+ internalType: 'uint256',
1209
+ name: '',
1210
+ type: 'uint256',
1211
+ },
1212
+ ],
1213
+ stateMutability: 'view',
1214
+ type: 'function',
1215
+ },
1216
+ {
1217
+ inputs: [
1218
+ {
1219
+ internalType: 'address',
1220
+ name: '',
1221
+ type: 'address',
1222
+ },
1223
+ ],
1224
+ name: 'maxMint',
1225
+ outputs: [
1226
+ {
1227
+ internalType: 'uint256',
1228
+ name: '',
1229
+ type: 'uint256',
1230
+ },
1231
+ ],
1232
+ stateMutability: 'view',
1233
+ type: 'function',
1234
+ },
1235
+ {
1236
+ inputs: [
1237
+ {
1238
+ internalType: 'address',
1239
+ name: 'holderAddr',
1240
+ type: 'address',
1241
+ },
1242
+ ],
1243
+ name: 'maxRedeem',
1244
+ outputs: [
1245
+ {
1246
+ internalType: 'uint256',
1247
+ name: '',
1248
+ type: 'uint256',
1249
+ },
1250
+ ],
1251
+ stateMutability: 'view',
1252
+ type: 'function',
1253
+ },
1254
+ {
1255
+ inputs: [],
1256
+ name: 'maxSupply',
1257
+ outputs: [
1258
+ {
1259
+ internalType: 'uint256',
1260
+ name: '',
1261
+ type: 'uint256',
1262
+ },
1263
+ ],
1264
+ stateMutability: 'view',
1265
+ type: 'function',
1266
+ },
1267
+ {
1268
+ inputs: [
1269
+ {
1270
+ internalType: 'address',
1271
+ name: 'holderAddr',
1272
+ type: 'address',
1273
+ },
1274
+ ],
1275
+ name: 'maxWithdraw',
1276
+ outputs: [
1277
+ {
1278
+ internalType: 'uint256',
1279
+ name: '',
1280
+ type: 'uint256',
1281
+ },
1282
+ ],
1283
+ stateMutability: 'view',
1284
+ type: 'function',
1285
+ },
1286
+ {
1287
+ inputs: [],
1288
+ name: 'maxWithdrawalAmount',
1289
+ outputs: [
1290
+ {
1291
+ internalType: 'uint256',
1292
+ name: '',
1293
+ type: 'uint256',
1294
+ },
1295
+ ],
1296
+ stateMutability: 'view',
1297
+ type: 'function',
1298
+ },
1299
+ {
1300
+ inputs: [
1301
+ {
1302
+ internalType: 'uint256',
1303
+ name: 'shares',
1304
+ type: 'uint256',
1305
+ },
1306
+ {
1307
+ internalType: 'address',
1308
+ name: 'receiver',
1309
+ type: 'address',
1310
+ },
1311
+ ],
1312
+ name: 'mint',
1313
+ outputs: [
1314
+ {
1315
+ internalType: 'uint256',
1316
+ name: 'assets',
1317
+ type: 'uint256',
1318
+ },
1319
+ ],
1320
+ stateMutability: 'nonpayable',
1321
+ type: 'function',
1322
+ },
1323
+ {
1324
+ inputs: [],
1325
+ name: 'name',
1326
+ outputs: [
1327
+ {
1328
+ internalType: 'string',
1329
+ name: '',
1330
+ type: 'string',
1331
+ },
1332
+ ],
1333
+ stateMutability: 'view',
1334
+ type: 'function',
1335
+ },
1336
+ {
1337
+ inputs: [],
1338
+ name: 'notifyLoanClosed',
1339
+ outputs: [],
1340
+ stateMutability: 'nonpayable',
1341
+ type: 'function',
1342
+ },
1343
+ {
1344
+ inputs: [],
1345
+ name: 'notifyLoanMatured',
1346
+ outputs: [],
1347
+ stateMutability: 'nonpayable',
1348
+ type: 'function',
1349
+ },
1350
+ {
1351
+ inputs: [
1352
+ {
1353
+ internalType: 'uint256',
1354
+ name: 'effectiveLoanAmount',
1355
+ type: 'uint256',
1356
+ },
1357
+ {
1358
+ internalType: 'uint256',
1359
+ name: 'principalRepaid',
1360
+ type: 'uint256',
1361
+ },
1362
+ ],
1363
+ name: 'notifyPrincipalRepayment',
1364
+ outputs: [],
1365
+ stateMutability: 'nonpayable',
1366
+ type: 'function',
1367
+ },
1368
+ {
1369
+ inputs: [],
1370
+ name: 'owner',
1371
+ outputs: [
1372
+ {
1373
+ internalType: 'address',
1374
+ name: '',
1375
+ type: 'address',
1376
+ },
1377
+ ],
1378
+ stateMutability: 'view',
1379
+ type: 'function',
1380
+ },
1381
+ {
1382
+ inputs: [
1383
+ {
1384
+ internalType: 'bool',
1385
+ name: 'bPauseDeposits',
1386
+ type: 'bool',
1387
+ },
1388
+ {
1389
+ internalType: 'bool',
1390
+ name: 'bPauseWithdrawals',
1391
+ type: 'bool',
1392
+ },
1393
+ ],
1394
+ name: 'pauseDepositsAndWithdrawals',
1395
+ outputs: [],
1396
+ stateMutability: 'nonpayable',
1397
+ type: 'function',
1398
+ },
1399
+ {
1400
+ inputs: [
1401
+ {
1402
+ internalType: 'uint256',
1403
+ name: 'assets',
1404
+ type: 'uint256',
1405
+ },
1406
+ ],
1407
+ name: 'previewDeposit',
1408
+ outputs: [
1409
+ {
1410
+ internalType: 'uint256',
1411
+ name: '',
1412
+ type: 'uint256',
1413
+ },
1414
+ ],
1415
+ stateMutability: 'view',
1416
+ type: 'function',
1417
+ },
1418
+ {
1419
+ inputs: [
1420
+ {
1421
+ internalType: 'uint256',
1422
+ name: 'shares',
1423
+ type: 'uint256',
1424
+ },
1425
+ ],
1426
+ name: 'previewMint',
1427
+ outputs: [
1428
+ {
1429
+ internalType: 'uint256',
1430
+ name: '',
1431
+ type: 'uint256',
1432
+ },
1433
+ ],
1434
+ stateMutability: 'view',
1435
+ type: 'function',
1436
+ },
1437
+ {
1438
+ inputs: [
1439
+ {
1440
+ internalType: 'uint256',
1441
+ name: 'shares',
1442
+ type: 'uint256',
1443
+ },
1444
+ ],
1445
+ name: 'previewRedeem',
1446
+ outputs: [
1447
+ {
1448
+ internalType: 'uint256',
1449
+ name: 'assets',
1450
+ type: 'uint256',
1451
+ },
1452
+ ],
1453
+ stateMutability: 'view',
1454
+ type: 'function',
1455
+ },
1456
+ {
1457
+ inputs: [
1458
+ {
1459
+ internalType: 'uint256',
1460
+ name: 'assets',
1461
+ type: 'uint256',
1462
+ },
1463
+ ],
1464
+ name: 'previewWithdraw',
1465
+ outputs: [
1466
+ {
1467
+ internalType: 'uint256',
1468
+ name: '',
1469
+ type: 'uint256',
1470
+ },
1471
+ ],
1472
+ stateMutability: 'view',
1473
+ type: 'function',
1474
+ },
1475
+ {
1476
+ inputs: [
1477
+ {
1478
+ internalType: 'uint256',
1479
+ name: 'year',
1480
+ type: 'uint256',
1481
+ },
1482
+ {
1483
+ internalType: 'uint256',
1484
+ name: 'month',
1485
+ type: 'uint256',
1486
+ },
1487
+ {
1488
+ internalType: 'uint256',
1489
+ name: 'day',
1490
+ type: 'uint256',
1491
+ },
1492
+ {
1493
+ internalType: 'uint256',
1494
+ name: 'maxLimit',
1495
+ type: 'uint256',
1496
+ },
1497
+ ],
1498
+ name: 'processAllClaimsByDate',
1499
+ outputs: [],
1500
+ stateMutability: 'nonpayable',
1501
+ type: 'function',
1502
+ },
1503
+ {
1504
+ inputs: [
1505
+ {
1506
+ internalType: 'address',
1507
+ name: 'loanAddr',
1508
+ type: 'address',
1509
+ },
1510
+ {
1511
+ internalType: 'uint256',
1512
+ name: 'newAprWithTwoDecimals',
1513
+ type: 'uint256',
1514
+ },
1515
+ ],
1516
+ name: 'proposeNewApr',
1517
+ outputs: [],
1518
+ stateMutability: 'nonpayable',
1519
+ type: 'function',
1520
+ },
1521
+ {
1522
+ inputs: [
1523
+ {
1524
+ internalType: 'uint256',
1525
+ name: '',
1526
+ type: 'uint256',
1527
+ },
1528
+ {
1529
+ internalType: 'address',
1530
+ name: '',
1531
+ type: 'address',
1532
+ },
1533
+ {
1534
+ internalType: 'address',
1535
+ name: '',
1536
+ type: 'address',
1537
+ },
1538
+ ],
1539
+ name: 'redeem',
1540
+ outputs: [
1541
+ {
1542
+ internalType: 'uint256',
1543
+ name: '',
1544
+ type: 'uint256',
1545
+ },
1546
+ ],
1547
+ stateMutability: 'pure',
1548
+ type: 'function',
1549
+ },
1550
+ {
1551
+ inputs: [
1552
+ {
1553
+ internalType: 'uint256',
1554
+ name: 'shares',
1555
+ type: 'uint256',
1556
+ },
1557
+ {
1558
+ internalType: 'address',
1559
+ name: 'receiverAddr',
1560
+ type: 'address',
1561
+ },
1562
+ {
1563
+ internalType: 'address',
1564
+ name: 'holderAddr',
1565
+ type: 'address',
1566
+ },
1567
+ ],
1568
+ name: 'requestRedeem',
1569
+ outputs: [
1570
+ {
1571
+ internalType: 'uint256',
1572
+ name: 'assets',
1573
+ type: 'uint256',
1574
+ },
1575
+ {
1576
+ internalType: 'uint256',
1577
+ name: 'claimableEpoch',
1578
+ type: 'uint256',
1579
+ },
1580
+ ],
1581
+ stateMutability: 'nonpayable',
1582
+ type: 'function',
1583
+ },
1584
+ {
1585
+ inputs: [],
1586
+ name: 'scheduledCallerAddress',
1587
+ outputs: [
1588
+ {
1589
+ internalType: 'address',
1590
+ name: '',
1591
+ type: 'address',
1592
+ },
1593
+ ],
1594
+ stateMutability: 'view',
1595
+ type: 'function',
1596
+ },
1597
+ {
1598
+ inputs: [],
1599
+ name: 'symbol',
1600
+ outputs: [
1601
+ {
1602
+ internalType: 'string',
1603
+ name: '',
1604
+ type: 'string',
1605
+ },
1606
+ ],
1607
+ stateMutability: 'view',
1608
+ type: 'function',
1609
+ },
1610
+ {
1611
+ inputs: [],
1612
+ name: 'totalAssets',
1613
+ outputs: [
1614
+ {
1615
+ internalType: 'uint256',
1616
+ name: '',
1617
+ type: 'uint256',
1618
+ },
1619
+ ],
1620
+ stateMutability: 'view',
1621
+ type: 'function',
1622
+ },
1623
+ {
1624
+ inputs: [],
1625
+ name: 'totalCollectableFees',
1626
+ outputs: [
1627
+ {
1628
+ internalType: 'uint256',
1629
+ name: '',
1630
+ type: 'uint256',
1631
+ },
1632
+ ],
1633
+ stateMutability: 'view',
1634
+ type: 'function',
1635
+ },
1636
+ {
1637
+ inputs: [],
1638
+ name: 'totalSupply',
1639
+ outputs: [
1640
+ {
1641
+ internalType: 'uint256',
1642
+ name: '',
1643
+ type: 'uint256',
1644
+ },
1645
+ ],
1646
+ stateMutability: 'view',
1647
+ type: 'function',
1648
+ },
1649
+ {
1650
+ inputs: [
1651
+ {
1652
+ internalType: 'address',
1653
+ name: 'to',
1654
+ type: 'address',
1655
+ },
1656
+ {
1657
+ internalType: 'uint256',
1658
+ name: 'value',
1659
+ type: 'uint256',
1660
+ },
1661
+ ],
1662
+ name: 'transfer',
1663
+ outputs: [
1664
+ {
1665
+ internalType: 'bool',
1666
+ name: '',
1667
+ type: 'bool',
1668
+ },
1669
+ ],
1670
+ stateMutability: 'nonpayable',
1671
+ type: 'function',
1672
+ },
1673
+ {
1674
+ inputs: [
1675
+ {
1676
+ internalType: 'address',
1677
+ name: 'from',
1678
+ type: 'address',
1679
+ },
1680
+ {
1681
+ internalType: 'address',
1682
+ name: 'to',
1683
+ type: 'address',
1684
+ },
1685
+ {
1686
+ internalType: 'uint256',
1687
+ name: 'value',
1688
+ type: 'uint256',
1689
+ },
1690
+ ],
1691
+ name: 'transferFrom',
1692
+ outputs: [
1693
+ {
1694
+ internalType: 'bool',
1695
+ name: '',
1696
+ type: 'bool',
1697
+ },
1698
+ ],
1699
+ stateMutability: 'nonpayable',
1700
+ type: 'function',
1701
+ },
1702
+ {
1703
+ inputs: [
1704
+ {
1705
+ internalType: 'address',
1706
+ name: 'newOwner',
1707
+ type: 'address',
1708
+ },
1709
+ ],
1710
+ name: 'transferOwnership',
1711
+ outputs: [],
1712
+ stateMutability: 'nonpayable',
1713
+ type: 'function',
1714
+ },
1715
+ {
1716
+ inputs: [
1717
+ {
1718
+ internalType: 'address',
1719
+ name: 'newFeeCollectorAddr',
1720
+ type: 'address',
1721
+ },
1722
+ ],
1723
+ name: 'updateFeeCollector',
1724
+ outputs: [],
1725
+ stateMutability: 'nonpayable',
1726
+ type: 'function',
1727
+ },
1728
+ {
1729
+ inputs: [
1730
+ {
1731
+ internalType: 'uint256',
1732
+ name: 'newMaxDepositAmount',
1733
+ type: 'uint256',
1734
+ },
1735
+ {
1736
+ internalType: 'uint256',
1737
+ name: 'newMaxWithdrawalAmount',
1738
+ type: 'uint256',
1739
+ },
1740
+ {
1741
+ internalType: 'uint256',
1742
+ name: 'newMaxTokenSupply',
1743
+ type: 'uint256',
1744
+ },
1745
+ ],
1746
+ name: 'updateIssuanceLimits',
1747
+ outputs: [],
1748
+ stateMutability: 'nonpayable',
1749
+ type: 'function',
1750
+ },
1751
+ {
1752
+ inputs: [
1753
+ {
1754
+ internalType: 'uint256',
1755
+ name: 'newDuration',
1756
+ type: 'uint256',
1757
+ },
1758
+ ],
1759
+ name: 'updateTimelockDuration',
1760
+ outputs: [],
1761
+ stateMutability: 'nonpayable',
1762
+ type: 'function',
1763
+ },
1764
+ {
1765
+ inputs: [
1766
+ {
1767
+ internalType: 'uint256',
1768
+ name: 'newWithdrawalFee',
1769
+ type: 'uint256',
1770
+ },
1771
+ ],
1772
+ name: 'updateWithdrawalFee',
1773
+ outputs: [],
1774
+ stateMutability: 'nonpayable',
1775
+ type: 'function',
1776
+ },
1777
+ {
1778
+ inputs: [
1779
+ {
1780
+ internalType: 'uint256',
1781
+ name: '',
1782
+ type: 'uint256',
1783
+ },
1784
+ {
1785
+ internalType: 'address',
1786
+ name: '',
1787
+ type: 'address',
1788
+ },
1789
+ {
1790
+ internalType: 'address',
1791
+ name: '',
1792
+ type: 'address',
1793
+ },
1794
+ ],
1795
+ name: 'withdraw',
1796
+ outputs: [
1797
+ {
1798
+ internalType: 'uint256',
1799
+ name: '',
1800
+ type: 'uint256',
1801
+ },
1802
+ ],
1803
+ stateMutability: 'pure',
1804
+ type: 'function',
1805
+ },
1806
+ {
1807
+ inputs: [],
1808
+ name: 'withdrawalFee',
1809
+ outputs: [
1810
+ {
1811
+ internalType: 'uint256',
1812
+ name: '',
1813
+ type: 'uint256',
1814
+ },
1815
+ ],
1816
+ stateMutability: 'view',
1817
+ type: 'function',
1818
+ },
1819
+ {
1820
+ inputs: [],
1821
+ name: 'withdrawalsPaused',
1822
+ outputs: [
1823
+ {
1824
+ internalType: 'bool',
1825
+ name: '',
1826
+ type: 'bool',
1827
+ },
1828
+ ],
1829
+ stateMutability: 'view',
1830
+ type: 'function',
1831
+ },
1832
+ ];
1833
+ //# sourceMappingURL=LendingPoolV2.js.map