@huma-finance/shared 0.0.12 → 0.0.15

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 (166) hide show
  1. package/dist/abis/SuperfluidPoolProcessor.json +692 -0
  2. package/dist/abis/types/BaseCreditPool.d.ts +152 -152
  3. package/dist/abis/types/BaseFeeManager.d.ts +65 -65
  4. package/dist/abis/types/BasePoolConfig.d.ts +227 -227
  5. package/dist/abis/types/Erc20.d.ts +38 -38
  6. package/dist/abis/types/Erc721.d.ts +123 -123
  7. package/dist/abis/types/HDT.d.ts +86 -86
  8. package/dist/abis/types/InvoiceNFT.d.ts +108 -108
  9. package/dist/abis/types/ReceivableFactoringPool.d.ts +198 -198
  10. package/dist/abis/types/StreamFeeManager.d.ts +71 -71
  11. package/dist/abis/types/SuperfluidPoolProcessor.d.ts +398 -0
  12. package/dist/abis/types/SuperfluidPoolProcessor.js +2 -0
  13. package/dist/abis/types/SuperfluidPoolProcessor.js.map +1 -0
  14. package/dist/abis/types/TestERC20.d.ts +59 -59
  15. package/dist/abis/types/Transfer.d.ts +7 -7
  16. package/dist/abis/types/common.d.ts +3 -3
  17. package/dist/abis/types/factories/BaseCreditPool__factory.d.ts +3 -3
  18. package/dist/abis/types/factories/BaseCreditPool__factory.js +549 -549
  19. package/dist/abis/types/factories/BaseCreditPool__factory.js.map +1 -1
  20. package/dist/abis/types/factories/BaseFeeManager__factory.d.ts +3 -3
  21. package/dist/abis/types/factories/BaseFeeManager__factory.js +239 -239
  22. package/dist/abis/types/factories/BaseFeeManager__factory.js.map +1 -1
  23. package/dist/abis/types/factories/BasePoolConfig__factory.d.ts +3 -3
  24. package/dist/abis/types/factories/BasePoolConfig__factory.js +629 -629
  25. package/dist/abis/types/factories/BasePoolConfig__factory.js.map +1 -1
  26. package/dist/abis/types/factories/Erc20__factory.d.ts +3 -3
  27. package/dist/abis/types/factories/Erc20__factory.js +84 -84
  28. package/dist/abis/types/factories/Erc20__factory.js.map +1 -1
  29. package/dist/abis/types/factories/Erc721__factory.d.ts +3 -3
  30. package/dist/abis/types/factories/Erc721__factory.js +287 -287
  31. package/dist/abis/types/factories/Erc721__factory.js.map +1 -1
  32. package/dist/abis/types/factories/HDT__factory.d.ts +3 -3
  33. package/dist/abis/types/factories/HDT__factory.js +241 -241
  34. package/dist/abis/types/factories/HDT__factory.js.map +1 -1
  35. package/dist/abis/types/factories/InvoiceNFT__factory.d.ts +3 -3
  36. package/dist/abis/types/factories/InvoiceNFT__factory.js +295 -295
  37. package/dist/abis/types/factories/InvoiceNFT__factory.js.map +1 -1
  38. package/dist/abis/types/factories/ReceivableFactoringPool__factory.d.ts +3 -3
  39. package/dist/abis/types/factories/ReceivableFactoringPool__factory.js +718 -718
  40. package/dist/abis/types/factories/ReceivableFactoringPool__factory.js.map +1 -1
  41. package/dist/abis/types/factories/StreamFeeManager__factory.d.ts +3 -3
  42. package/dist/abis/types/factories/StreamFeeManager__factory.js +260 -260
  43. package/dist/abis/types/factories/StreamFeeManager__factory.js.map +1 -1
  44. package/dist/abis/types/factories/SuperfluidPoolProcessor__factory.d.ts +546 -0
  45. package/dist/abis/types/factories/SuperfluidPoolProcessor__factory.js +706 -0
  46. package/dist/abis/types/factories/SuperfluidPoolProcessor__factory.js.map +1 -0
  47. package/dist/abis/types/factories/TestERC20__factory.d.ts +3 -3
  48. package/dist/abis/types/factories/TestERC20__factory.js +172 -172
  49. package/dist/abis/types/factories/TestERC20__factory.js.map +1 -1
  50. package/dist/abis/types/factories/Transfer__factory.d.ts +3 -3
  51. package/dist/abis/types/factories/Transfer__factory.js +9 -9
  52. package/dist/abis/types/factories/Transfer__factory.js.map +1 -1
  53. package/dist/abis/types/factories/index.d.ts +1 -0
  54. package/dist/abis/types/factories/index.js +1 -0
  55. package/dist/abis/types/factories/index.js.map +1 -1
  56. package/dist/abis/types/index.d.ts +2 -0
  57. package/dist/abis/types/index.js +1 -0
  58. package/dist/abis/types/index.js.map +1 -1
  59. package/dist/cjs/abis/SuperfluidPoolProcessor.json +692 -0
  60. package/dist/cjs/abis/types/BaseCreditPool.d.ts +152 -152
  61. package/dist/cjs/abis/types/BaseFeeManager.d.ts +65 -65
  62. package/dist/cjs/abis/types/BasePoolConfig.d.ts +227 -227
  63. package/dist/cjs/abis/types/Erc20.d.ts +38 -38
  64. package/dist/cjs/abis/types/Erc721.d.ts +123 -123
  65. package/dist/cjs/abis/types/HDT.d.ts +86 -86
  66. package/dist/cjs/abis/types/InvoiceNFT.d.ts +108 -108
  67. package/dist/cjs/abis/types/ReceivableFactoringPool.d.ts +198 -198
  68. package/dist/cjs/abis/types/StreamFeeManager.d.ts +71 -71
  69. package/dist/cjs/abis/types/SuperfluidPoolProcessor.d.ts +398 -0
  70. package/dist/cjs/abis/types/SuperfluidPoolProcessor.js +3 -0
  71. package/dist/cjs/abis/types/SuperfluidPoolProcessor.js.map +1 -0
  72. package/dist/cjs/abis/types/TestERC20.d.ts +59 -59
  73. package/dist/cjs/abis/types/Transfer.d.ts +7 -7
  74. package/dist/cjs/abis/types/common.d.ts +3 -3
  75. package/dist/cjs/abis/types/factories/BaseCreditPool__factory.d.ts +3 -3
  76. package/dist/cjs/abis/types/factories/BaseCreditPool__factory.js +548 -548
  77. package/dist/cjs/abis/types/factories/BaseCreditPool__factory.js.map +1 -1
  78. package/dist/cjs/abis/types/factories/BaseFeeManager__factory.d.ts +3 -3
  79. package/dist/cjs/abis/types/factories/BaseFeeManager__factory.js +238 -238
  80. package/dist/cjs/abis/types/factories/BaseFeeManager__factory.js.map +1 -1
  81. package/dist/cjs/abis/types/factories/BasePoolConfig__factory.d.ts +3 -3
  82. package/dist/cjs/abis/types/factories/BasePoolConfig__factory.js +628 -628
  83. package/dist/cjs/abis/types/factories/BasePoolConfig__factory.js.map +1 -1
  84. package/dist/cjs/abis/types/factories/Erc20__factory.d.ts +3 -3
  85. package/dist/cjs/abis/types/factories/Erc20__factory.js +83 -83
  86. package/dist/cjs/abis/types/factories/Erc20__factory.js.map +1 -1
  87. package/dist/cjs/abis/types/factories/Erc721__factory.d.ts +3 -3
  88. package/dist/cjs/abis/types/factories/Erc721__factory.js +286 -286
  89. package/dist/cjs/abis/types/factories/Erc721__factory.js.map +1 -1
  90. package/dist/cjs/abis/types/factories/HDT__factory.d.ts +3 -3
  91. package/dist/cjs/abis/types/factories/HDT__factory.js +240 -240
  92. package/dist/cjs/abis/types/factories/HDT__factory.js.map +1 -1
  93. package/dist/cjs/abis/types/factories/InvoiceNFT__factory.d.ts +3 -3
  94. package/dist/cjs/abis/types/factories/InvoiceNFT__factory.js +294 -294
  95. package/dist/cjs/abis/types/factories/InvoiceNFT__factory.js.map +1 -1
  96. package/dist/cjs/abis/types/factories/ReceivableFactoringPool__factory.d.ts +3 -3
  97. package/dist/cjs/abis/types/factories/ReceivableFactoringPool__factory.js +717 -717
  98. package/dist/cjs/abis/types/factories/ReceivableFactoringPool__factory.js.map +1 -1
  99. package/dist/cjs/abis/types/factories/StreamFeeManager__factory.d.ts +3 -3
  100. package/dist/cjs/abis/types/factories/StreamFeeManager__factory.js +259 -259
  101. package/dist/cjs/abis/types/factories/StreamFeeManager__factory.js.map +1 -1
  102. package/dist/cjs/abis/types/factories/SuperfluidPoolProcessor__factory.d.ts +546 -0
  103. package/dist/cjs/abis/types/factories/SuperfluidPoolProcessor__factory.js +710 -0
  104. package/dist/cjs/abis/types/factories/SuperfluidPoolProcessor__factory.js.map +1 -0
  105. package/dist/cjs/abis/types/factories/TestERC20__factory.d.ts +3 -3
  106. package/dist/cjs/abis/types/factories/TestERC20__factory.js +171 -171
  107. package/dist/cjs/abis/types/factories/TestERC20__factory.js.map +1 -1
  108. package/dist/cjs/abis/types/factories/Transfer__factory.d.ts +3 -3
  109. package/dist/cjs/abis/types/factories/Transfer__factory.js +8 -8
  110. package/dist/cjs/abis/types/factories/Transfer__factory.js.map +1 -1
  111. package/dist/cjs/abis/types/factories/index.d.ts +1 -0
  112. package/dist/cjs/abis/types/factories/index.js +3 -1
  113. package/dist/cjs/abis/types/factories/index.js.map +1 -1
  114. package/dist/cjs/abis/types/index.d.ts +2 -0
  115. package/dist/cjs/abis/types/index.js +3 -1
  116. package/dist/cjs/abis/types/index.js.map +1 -1
  117. package/dist/cjs/hooks/usePoolContract.d.ts +1 -0
  118. package/dist/cjs/hooks/usePoolContract.js +18 -1
  119. package/dist/cjs/hooks/usePoolContract.js.map +1 -1
  120. package/dist/cjs/services/EAService.d.ts +15 -49
  121. package/dist/cjs/services/EAService.js +18 -16
  122. package/dist/cjs/services/EAService.js.map +1 -1
  123. package/dist/cjs/utils/chain.js +7 -5
  124. package/dist/cjs/utils/chain.js.map +1 -1
  125. package/dist/cjs/utils/config.d.ts +0 -3
  126. package/dist/cjs/utils/config.js +0 -6
  127. package/dist/cjs/utils/config.js.map +1 -1
  128. package/dist/cjs/utils/const.d.ts +0 -1
  129. package/dist/cjs/utils/const.js +1 -2
  130. package/dist/cjs/utils/const.js.map +1 -1
  131. package/dist/cjs/utils/contractError.json +12 -4
  132. package/dist/cjs/utils/index.d.ts +1 -0
  133. package/dist/cjs/utils/index.js +1 -0
  134. package/dist/cjs/utils/index.js.map +1 -1
  135. package/dist/cjs/utils/pool.d.ts +1 -0
  136. package/dist/cjs/utils/pool.js +8 -7
  137. package/dist/cjs/utils/pool.js.map +1 -1
  138. package/dist/cjs/utils/style.d.ts +1 -0
  139. package/dist/cjs/utils/style.js +17 -0
  140. package/dist/cjs/utils/style.js.map +1 -0
  141. package/dist/hooks/usePoolContract.d.ts +1 -0
  142. package/dist/hooks/usePoolContract.js +16 -0
  143. package/dist/hooks/usePoolContract.js.map +1 -1
  144. package/dist/services/EAService.d.ts +15 -49
  145. package/dist/services/EAService.js +18 -16
  146. package/dist/services/EAService.js.map +1 -1
  147. package/dist/tsconfig.cjs.tsbuildinfo +1 -1
  148. package/dist/utils/chain.js +7 -5
  149. package/dist/utils/chain.js.map +1 -1
  150. package/dist/utils/config.d.ts +0 -3
  151. package/dist/utils/config.js +0 -6
  152. package/dist/utils/config.js.map +1 -1
  153. package/dist/utils/const.d.ts +0 -1
  154. package/dist/utils/const.js +0 -1
  155. package/dist/utils/const.js.map +1 -1
  156. package/dist/utils/contractError.json +12 -4
  157. package/dist/utils/index.d.ts +1 -0
  158. package/dist/utils/index.js +1 -0
  159. package/dist/utils/index.js.map +1 -1
  160. package/dist/utils/pool.d.ts +1 -0
  161. package/dist/utils/pool.js +8 -7
  162. package/dist/utils/pool.js.map +1 -1
  163. package/dist/utils/style.d.ts +1 -0
  164. package/dist/utils/style.js +13 -0
  165. package/dist/utils/style.js.map +1 -0
  166. package/package.json +14 -15
@@ -8,1365 +8,1365 @@ const ethers_1 = require("ethers");
8
8
  const _abi = [
9
9
  {
10
10
  inputs: [],
11
- name: "evaluationAgentNotEnoughLiquidity",
12
- type: "error",
11
+ name: 'evaluationAgentNotEnoughLiquidity',
12
+ type: 'error',
13
13
  },
14
14
  {
15
15
  inputs: [],
16
- name: "invalidBasisPointHigherThan10000",
17
- type: "error",
16
+ name: 'invalidBasisPointHigherThan10000',
17
+ type: 'error',
18
18
  },
19
19
  {
20
20
  inputs: [],
21
- name: "notEvaluationAgent",
22
- type: "error",
21
+ name: 'notEvaluationAgent',
22
+ type: 'error',
23
23
  },
24
24
  {
25
25
  inputs: [],
26
- name: "notPool",
27
- type: "error",
26
+ name: 'notPool',
27
+ type: 'error',
28
28
  },
29
29
  {
30
30
  inputs: [],
31
- name: "notPoolOwner",
32
- type: "error",
31
+ name: 'notPoolOwner',
32
+ type: 'error',
33
33
  },
34
34
  {
35
35
  inputs: [],
36
- name: "notProtocolOwner",
37
- type: "error",
36
+ name: 'notProtocolOwner',
37
+ type: 'error',
38
38
  },
39
39
  {
40
40
  inputs: [],
41
- name: "permissionDeniedNotAdmin",
42
- type: "error",
41
+ name: 'permissionDeniedNotAdmin',
42
+ type: 'error',
43
43
  },
44
44
  {
45
45
  inputs: [],
46
- name: "poolOwnerNotEnoughLiquidity",
47
- type: "error",
46
+ name: 'poolOwnerNotEnoughLiquidity',
47
+ type: 'error',
48
48
  },
49
49
  {
50
50
  inputs: [],
51
- name: "proposedEADoesNotOwnProvidedEANFT",
52
- type: "error",
51
+ name: 'proposedEADoesNotOwnProvidedEANFT',
52
+ type: 'error',
53
53
  },
54
54
  {
55
55
  inputs: [],
56
- name: "underlyingTokenNotApprovedForHumaProtocol",
57
- type: "error",
56
+ name: 'underlyingTokenNotApprovedForHumaProtocol',
57
+ type: 'error',
58
58
  },
59
59
  {
60
60
  inputs: [],
61
- name: "withdrawnAmountHigherThanBalance",
62
- type: "error",
61
+ name: 'withdrawnAmountHigherThanBalance',
62
+ type: 'error',
63
63
  },
64
64
  {
65
65
  inputs: [],
66
- name: "zeroAddressProvided",
67
- type: "error",
66
+ name: 'zeroAddressProvided',
67
+ type: 'error',
68
68
  },
69
69
  {
70
70
  inputs: [],
71
- name: "zeroAmountProvided",
72
- type: "error",
71
+ name: 'zeroAmountProvided',
72
+ type: 'error',
73
73
  },
74
74
  {
75
75
  anonymous: false,
76
76
  inputs: [
77
77
  {
78
78
  indexed: false,
79
- internalType: "uint256",
80
- name: "aprInBps",
81
- type: "uint256",
79
+ internalType: 'uint256',
80
+ name: 'aprInBps',
81
+ type: 'uint256',
82
82
  },
83
83
  {
84
84
  indexed: false,
85
- internalType: "address",
86
- name: "by",
87
- type: "address",
85
+ internalType: 'address',
86
+ name: 'by',
87
+ type: 'address',
88
88
  },
89
89
  ],
90
- name: "APRChanged",
91
- type: "event",
90
+ name: 'APRChanged',
91
+ type: 'event',
92
92
  },
93
93
  {
94
94
  anonymous: false,
95
95
  inputs: [
96
96
  {
97
97
  indexed: false,
98
- internalType: "uint256",
99
- name: "durationInSeconds",
100
- type: "uint256",
98
+ internalType: 'uint256',
99
+ name: 'durationInSeconds',
100
+ type: 'uint256',
101
101
  },
102
102
  {
103
103
  indexed: false,
104
- internalType: "address",
105
- name: "by",
106
- type: "address",
104
+ internalType: 'address',
105
+ name: 'by',
106
+ type: 'address',
107
107
  },
108
108
  ],
109
- name: "CreditApprovalExpirationChanged",
110
- type: "event",
109
+ name: 'CreditApprovalExpirationChanged',
110
+ type: 'event',
111
111
  },
112
112
  {
113
113
  anonymous: false,
114
114
  inputs: [
115
115
  {
116
116
  indexed: false,
117
- internalType: "uint256",
118
- name: "rewardsRate",
119
- type: "uint256",
117
+ internalType: 'uint256',
118
+ name: 'rewardsRate',
119
+ type: 'uint256',
120
120
  },
121
121
  {
122
122
  indexed: false,
123
- internalType: "uint256",
124
- name: "liquidityRate",
125
- type: "uint256",
123
+ internalType: 'uint256',
124
+ name: 'liquidityRate',
125
+ type: 'uint256',
126
126
  },
127
127
  {
128
128
  indexed: true,
129
- internalType: "address",
130
- name: "by",
131
- type: "address",
129
+ internalType: 'address',
130
+ name: 'by',
131
+ type: 'address',
132
132
  },
133
133
  ],
134
- name: "EARewardsAndLiquidityChanged",
135
- type: "event",
134
+ name: 'EARewardsAndLiquidityChanged',
135
+ type: 'event',
136
136
  },
137
137
  {
138
138
  anonymous: false,
139
139
  inputs: [
140
140
  {
141
141
  indexed: false,
142
- internalType: "address",
143
- name: "oldEA",
144
- type: "address",
142
+ internalType: 'address',
143
+ name: 'oldEA',
144
+ type: 'address',
145
145
  },
146
146
  {
147
147
  indexed: false,
148
- internalType: "address",
149
- name: "newEA",
150
- type: "address",
148
+ internalType: 'address',
149
+ name: 'newEA',
150
+ type: 'address',
151
151
  },
152
152
  {
153
153
  indexed: false,
154
- internalType: "uint256",
155
- name: "newEAId",
156
- type: "uint256",
154
+ internalType: 'uint256',
155
+ name: 'newEAId',
156
+ type: 'uint256',
157
157
  },
158
158
  {
159
159
  indexed: false,
160
- internalType: "address",
161
- name: "by",
162
- type: "address",
160
+ internalType: 'address',
161
+ name: 'by',
162
+ type: 'address',
163
163
  },
164
164
  ],
165
- name: "EvaluationAgentChanged",
166
- type: "event",
165
+ name: 'EvaluationAgentChanged',
166
+ type: 'event',
167
167
  },
168
168
  {
169
169
  anonymous: false,
170
170
  inputs: [
171
171
  {
172
172
  indexed: false,
173
- internalType: "address",
174
- name: "receiver",
175
- type: "address",
173
+ internalType: 'address',
174
+ name: 'receiver',
175
+ type: 'address',
176
176
  },
177
177
  {
178
178
  indexed: false,
179
- internalType: "uint256",
180
- name: "amount",
181
- type: "uint256",
179
+ internalType: 'uint256',
180
+ name: 'amount',
181
+ type: 'uint256',
182
182
  },
183
183
  {
184
184
  indexed: false,
185
- internalType: "address",
186
- name: "by",
187
- type: "address",
185
+ internalType: 'address',
186
+ name: 'by',
187
+ type: 'address',
188
188
  },
189
189
  ],
190
- name: "EvaluationAgentRewardsWithdrawn",
191
- type: "event",
190
+ name: 'EvaluationAgentRewardsWithdrawn',
191
+ type: 'event',
192
192
  },
193
193
  {
194
194
  anonymous: false,
195
195
  inputs: [
196
196
  {
197
197
  indexed: false,
198
- internalType: "address",
199
- name: "feeManager",
200
- type: "address",
198
+ internalType: 'address',
199
+ name: 'feeManager',
200
+ type: 'address',
201
201
  },
202
202
  {
203
203
  indexed: false,
204
- internalType: "address",
205
- name: "by",
206
- type: "address",
204
+ internalType: 'address',
205
+ name: 'by',
206
+ type: 'address',
207
207
  },
208
208
  ],
209
- name: "FeeManagerChanged",
210
- type: "event",
209
+ name: 'FeeManagerChanged',
210
+ type: 'event',
211
211
  },
212
212
  {
213
213
  anonymous: false,
214
214
  inputs: [
215
215
  {
216
216
  indexed: false,
217
- internalType: "address",
218
- name: "hdt",
219
- type: "address",
217
+ internalType: 'address',
218
+ name: 'hdt',
219
+ type: 'address',
220
220
  },
221
221
  {
222
222
  indexed: false,
223
- internalType: "address",
224
- name: "udnerlyingToken",
225
- type: "address",
223
+ internalType: 'address',
224
+ name: 'udnerlyingToken',
225
+ type: 'address',
226
226
  },
227
227
  {
228
228
  indexed: false,
229
- internalType: "address",
230
- name: "by",
231
- type: "address",
229
+ internalType: 'address',
230
+ name: 'by',
231
+ type: 'address',
232
232
  },
233
233
  ],
234
- name: "HDTChanged",
235
- type: "event",
234
+ name: 'HDTChanged',
235
+ type: 'event',
236
236
  },
237
237
  {
238
238
  anonymous: false,
239
239
  inputs: [
240
240
  {
241
241
  indexed: false,
242
- internalType: "address",
243
- name: "humaConfig",
244
- type: "address",
242
+ internalType: 'address',
243
+ name: 'humaConfig',
244
+ type: 'address',
245
245
  },
246
246
  {
247
247
  indexed: false,
248
- internalType: "address",
249
- name: "by",
250
- type: "address",
248
+ internalType: 'address',
249
+ name: 'by',
250
+ type: 'address',
251
251
  },
252
252
  ],
253
- name: "HumaConfigChanged",
254
- type: "event",
253
+ name: 'HumaConfigChanged',
254
+ type: 'event',
255
255
  },
256
256
  {
257
257
  anonymous: false,
258
258
  inputs: [
259
259
  {
260
260
  indexed: false,
261
- internalType: "uint256",
262
- name: "protocolFee",
263
- type: "uint256",
261
+ internalType: 'uint256',
262
+ name: 'protocolFee',
263
+ type: 'uint256',
264
264
  },
265
265
  {
266
266
  indexed: false,
267
- internalType: "uint256",
268
- name: "ownerIncome",
269
- type: "uint256",
267
+ internalType: 'uint256',
268
+ name: 'ownerIncome',
269
+ type: 'uint256',
270
270
  },
271
271
  {
272
272
  indexed: false,
273
- internalType: "uint256",
274
- name: "eaIncome",
275
- type: "uint256",
273
+ internalType: 'uint256',
274
+ name: 'eaIncome',
275
+ type: 'uint256',
276
276
  },
277
277
  {
278
278
  indexed: false,
279
- internalType: "uint256",
280
- name: "poolIncome",
281
- type: "uint256",
279
+ internalType: 'uint256',
280
+ name: 'poolIncome',
281
+ type: 'uint256',
282
282
  },
283
283
  ],
284
- name: "IncomeDistributed",
285
- type: "event",
284
+ name: 'IncomeDistributed',
285
+ type: 'event',
286
286
  },
287
287
  {
288
288
  anonymous: false,
289
289
  inputs: [
290
290
  {
291
291
  indexed: false,
292
- internalType: "uint256",
293
- name: "protocolFee",
294
- type: "uint256",
292
+ internalType: 'uint256',
293
+ name: 'protocolFee',
294
+ type: 'uint256',
295
295
  },
296
296
  {
297
297
  indexed: false,
298
- internalType: "uint256",
299
- name: "ownerIncome",
300
- type: "uint256",
298
+ internalType: 'uint256',
299
+ name: 'ownerIncome',
300
+ type: 'uint256',
301
301
  },
302
302
  {
303
303
  indexed: false,
304
- internalType: "uint256",
305
- name: "eaIncome",
306
- type: "uint256",
304
+ internalType: 'uint256',
305
+ name: 'eaIncome',
306
+ type: 'uint256',
307
307
  },
308
308
  {
309
309
  indexed: false,
310
- internalType: "uint256",
311
- name: "poolIncome",
312
- type: "uint256",
310
+ internalType: 'uint256',
311
+ name: 'poolIncome',
312
+ type: 'uint256',
313
313
  },
314
314
  ],
315
- name: "IncomeReversed",
316
- type: "event",
315
+ name: 'IncomeReversed',
316
+ type: 'event',
317
317
  },
318
318
  {
319
319
  anonymous: false,
320
320
  inputs: [
321
321
  {
322
322
  indexed: false,
323
- internalType: "uint256",
324
- name: "maxCreditLine",
325
- type: "uint256",
323
+ internalType: 'uint256',
324
+ name: 'maxCreditLine',
325
+ type: 'uint256',
326
326
  },
327
327
  {
328
328
  indexed: false,
329
- internalType: "address",
330
- name: "by",
331
- type: "address",
329
+ internalType: 'address',
330
+ name: 'by',
331
+ type: 'address',
332
332
  },
333
333
  ],
334
- name: "MaxCreditLineChanged",
335
- type: "event",
334
+ name: 'MaxCreditLineChanged',
335
+ type: 'event',
336
336
  },
337
337
  {
338
338
  anonymous: false,
339
339
  inputs: [
340
340
  {
341
341
  indexed: true,
342
- internalType: "address",
343
- name: "previousOwner",
344
- type: "address",
342
+ internalType: 'address',
343
+ name: 'previousOwner',
344
+ type: 'address',
345
345
  },
346
346
  {
347
347
  indexed: true,
348
- internalType: "address",
349
- name: "newOwner",
350
- type: "address",
348
+ internalType: 'address',
349
+ name: 'newOwner',
350
+ type: 'address',
351
351
  },
352
352
  ],
353
- name: "OwnershipTransferred",
354
- type: "event",
353
+ name: 'OwnershipTransferred',
354
+ type: 'event',
355
355
  },
356
356
  {
357
357
  anonymous: false,
358
358
  inputs: [
359
359
  {
360
360
  indexed: false,
361
- internalType: "address",
362
- name: "pool",
363
- type: "address",
361
+ internalType: 'address',
362
+ name: 'pool',
363
+ type: 'address',
364
364
  },
365
365
  {
366
366
  indexed: false,
367
- internalType: "address",
368
- name: "by",
369
- type: "address",
367
+ internalType: 'address',
368
+ name: 'by',
369
+ type: 'address',
370
370
  },
371
371
  ],
372
- name: "PoolChanged",
373
- type: "event",
372
+ name: 'PoolChanged',
373
+ type: 'event',
374
374
  },
375
375
  {
376
376
  anonymous: false,
377
377
  inputs: [
378
378
  {
379
379
  indexed: false,
380
- internalType: "uint256",
381
- name: "gracePeriodInDays",
382
- type: "uint256",
380
+ internalType: 'uint256',
381
+ name: 'gracePeriodInDays',
382
+ type: 'uint256',
383
383
  },
384
384
  {
385
385
  indexed: false,
386
- internalType: "address",
387
- name: "by",
388
- type: "address",
386
+ internalType: 'address',
387
+ name: 'by',
388
+ type: 'address',
389
389
  },
390
390
  ],
391
- name: "PoolDefaultGracePeriodChanged",
392
- type: "event",
391
+ name: 'PoolDefaultGracePeriodChanged',
392
+ type: 'event',
393
393
  },
394
394
  {
395
395
  anonymous: false,
396
396
  inputs: [
397
397
  {
398
398
  indexed: false,
399
- internalType: "uint256",
400
- name: "liquidityCap",
401
- type: "uint256",
399
+ internalType: 'uint256',
400
+ name: 'liquidityCap',
401
+ type: 'uint256',
402
402
  },
403
403
  {
404
404
  indexed: false,
405
- internalType: "address",
406
- name: "by",
407
- type: "address",
405
+ internalType: 'address',
406
+ name: 'by',
407
+ type: 'address',
408
408
  },
409
409
  ],
410
- name: "PoolLiquidityCapChanged",
411
- type: "event",
410
+ name: 'PoolLiquidityCapChanged',
411
+ type: 'event',
412
412
  },
413
413
  {
414
414
  anonymous: false,
415
415
  inputs: [
416
416
  {
417
417
  indexed: false,
418
- internalType: "string",
419
- name: "name",
420
- type: "string",
418
+ internalType: 'string',
419
+ name: 'name',
420
+ type: 'string',
421
421
  },
422
422
  {
423
423
  indexed: false,
424
- internalType: "address",
425
- name: "by",
426
- type: "address",
424
+ internalType: 'address',
425
+ name: 'by',
426
+ type: 'address',
427
427
  },
428
428
  ],
429
- name: "PoolNameChanged",
430
- type: "event",
429
+ name: 'PoolNameChanged',
430
+ type: 'event',
431
431
  },
432
432
  {
433
433
  anonymous: false,
434
434
  inputs: [
435
435
  {
436
436
  indexed: false,
437
- internalType: "uint256",
438
- name: "rewardsRate",
439
- type: "uint256",
437
+ internalType: 'uint256',
438
+ name: 'rewardsRate',
439
+ type: 'uint256',
440
440
  },
441
441
  {
442
442
  indexed: false,
443
- internalType: "uint256",
444
- name: "liquidityRate",
445
- type: "uint256",
443
+ internalType: 'uint256',
444
+ name: 'liquidityRate',
445
+ type: 'uint256',
446
446
  },
447
447
  {
448
448
  indexed: true,
449
- internalType: "address",
450
- name: "by",
451
- type: "address",
449
+ internalType: 'address',
450
+ name: 'by',
451
+ type: 'address',
452
452
  },
453
453
  ],
454
- name: "PoolOwnerRewardsAndLiquidityChanged",
455
- type: "event",
454
+ name: 'PoolOwnerRewardsAndLiquidityChanged',
455
+ type: 'event',
456
456
  },
457
457
  {
458
458
  anonymous: false,
459
459
  inputs: [
460
460
  {
461
461
  indexed: false,
462
- internalType: "uint256",
463
- name: "periodInDays",
464
- type: "uint256",
462
+ internalType: 'uint256',
463
+ name: 'periodInDays',
464
+ type: 'uint256',
465
465
  },
466
466
  {
467
467
  indexed: false,
468
- internalType: "address",
469
- name: "by",
470
- type: "address",
468
+ internalType: 'address',
469
+ name: 'by',
470
+ type: 'address',
471
471
  },
472
472
  ],
473
- name: "PoolPayPeriodChanged",
474
- type: "event",
473
+ name: 'PoolPayPeriodChanged',
474
+ type: 'event',
475
475
  },
476
476
  {
477
477
  anonymous: false,
478
478
  inputs: [
479
479
  {
480
480
  indexed: false,
481
- internalType: "address",
482
- name: "receiver",
483
- type: "address",
481
+ internalType: 'address',
482
+ name: 'receiver',
483
+ type: 'address',
484
484
  },
485
485
  {
486
486
  indexed: false,
487
- internalType: "uint256",
488
- name: "amount",
489
- type: "uint256",
487
+ internalType: 'uint256',
488
+ name: 'amount',
489
+ type: 'uint256',
490
490
  },
491
491
  {
492
492
  indexed: false,
493
- internalType: "address",
494
- name: "by",
495
- type: "address",
493
+ internalType: 'address',
494
+ name: 'by',
495
+ type: 'address',
496
496
  },
497
497
  ],
498
- name: "PoolRewardsWithdrawn",
499
- type: "event",
498
+ name: 'PoolRewardsWithdrawn',
499
+ type: 'event',
500
500
  },
501
501
  {
502
502
  anonymous: false,
503
503
  inputs: [
504
504
  {
505
505
  indexed: false,
506
- internalType: "address",
507
- name: "receiver",
508
- type: "address",
506
+ internalType: 'address',
507
+ name: 'receiver',
508
+ type: 'address',
509
509
  },
510
510
  {
511
511
  indexed: false,
512
- internalType: "uint256",
513
- name: "amount",
514
- type: "uint256",
512
+ internalType: 'uint256',
513
+ name: 'amount',
514
+ type: 'uint256',
515
515
  },
516
516
  {
517
517
  indexed: false,
518
- internalType: "address",
519
- name: "by",
520
- type: "address",
518
+ internalType: 'address',
519
+ name: 'by',
520
+ type: 'address',
521
521
  },
522
522
  ],
523
- name: "ProtocolRewardsWithdrawn",
524
- type: "event",
523
+ name: 'ProtocolRewardsWithdrawn',
524
+ type: 'event',
525
525
  },
526
526
  {
527
527
  anonymous: false,
528
528
  inputs: [
529
529
  {
530
530
  indexed: false,
531
- internalType: "uint256",
532
- name: "receivableInBps",
533
- type: "uint256",
531
+ internalType: 'uint256',
532
+ name: 'receivableInBps',
533
+ type: 'uint256',
534
534
  },
535
535
  {
536
536
  indexed: false,
537
- internalType: "address",
538
- name: "by",
539
- type: "address",
537
+ internalType: 'address',
538
+ name: 'by',
539
+ type: 'address',
540
540
  },
541
541
  ],
542
- name: "ReceivableRequiredInBpsChanged",
543
- type: "event",
542
+ name: 'ReceivableRequiredInBpsChanged',
543
+ type: 'event',
544
544
  },
545
545
  {
546
546
  anonymous: false,
547
547
  inputs: [
548
548
  {
549
549
  indexed: false,
550
- internalType: "uint256",
551
- name: "lockoutPeriodInDays",
552
- type: "uint256",
550
+ internalType: 'uint256',
551
+ name: 'lockoutPeriodInDays',
552
+ type: 'uint256',
553
553
  },
554
554
  {
555
555
  indexed: false,
556
- internalType: "address",
557
- name: "by",
558
- type: "address",
556
+ internalType: 'address',
557
+ name: 'by',
558
+ type: 'address',
559
559
  },
560
560
  ],
561
- name: "WithdrawalLockoutPeriodChanged",
562
- type: "event",
561
+ name: 'WithdrawalLockoutPeriodChanged',
562
+ type: 'event',
563
563
  },
564
564
  {
565
565
  inputs: [],
566
- name: "accruedIncome",
566
+ name: 'accruedIncome',
567
567
  outputs: [
568
568
  {
569
- internalType: "uint256",
570
- name: "protocolIncome",
571
- type: "uint256",
569
+ internalType: 'uint256',
570
+ name: 'protocolIncome',
571
+ type: 'uint256',
572
572
  },
573
573
  {
574
- internalType: "uint256",
575
- name: "poolOwnerIncome",
576
- type: "uint256",
574
+ internalType: 'uint256',
575
+ name: 'poolOwnerIncome',
576
+ type: 'uint256',
577
577
  },
578
578
  {
579
- internalType: "uint256",
580
- name: "eaIncome",
581
- type: "uint256",
579
+ internalType: 'uint256',
580
+ name: 'eaIncome',
581
+ type: 'uint256',
582
582
  },
583
583
  {
584
- internalType: "uint256",
585
- name: "protocolIncomeWithdrawn",
586
- type: "uint256",
584
+ internalType: 'uint256',
585
+ name: 'protocolIncomeWithdrawn',
586
+ type: 'uint256',
587
587
  },
588
588
  {
589
- internalType: "uint256",
590
- name: "poolOwnerIncomeWithdrawn",
591
- type: "uint256",
589
+ internalType: 'uint256',
590
+ name: 'poolOwnerIncomeWithdrawn',
591
+ type: 'uint256',
592
592
  },
593
593
  {
594
- internalType: "uint256",
595
- name: "eaIncomeWithdrawn",
596
- type: "uint256",
594
+ internalType: 'uint256',
595
+ name: 'eaIncomeWithdrawn',
596
+ type: 'uint256',
597
597
  },
598
598
  ],
599
- stateMutability: "view",
600
- type: "function",
599
+ stateMutability: 'view',
600
+ type: 'function',
601
601
  },
602
602
  {
603
603
  inputs: [],
604
- name: "checkLiquidityRequirement",
604
+ name: 'checkLiquidityRequirement',
605
605
  outputs: [],
606
- stateMutability: "view",
607
- type: "function",
606
+ stateMutability: 'view',
607
+ type: 'function',
608
608
  },
609
609
  {
610
610
  inputs: [
611
611
  {
612
- internalType: "uint256",
613
- name: "balance",
614
- type: "uint256",
612
+ internalType: 'uint256',
613
+ name: 'balance',
614
+ type: 'uint256',
615
615
  },
616
616
  ],
617
- name: "checkLiquidityRequirementForEA",
617
+ name: 'checkLiquidityRequirementForEA',
618
618
  outputs: [],
619
- stateMutability: "view",
620
- type: "function",
619
+ stateMutability: 'view',
620
+ type: 'function',
621
621
  },
622
622
  {
623
623
  inputs: [
624
624
  {
625
- internalType: "uint256",
626
- name: "balance",
627
- type: "uint256",
625
+ internalType: 'uint256',
626
+ name: 'balance',
627
+ type: 'uint256',
628
628
  },
629
629
  ],
630
- name: "checkLiquidityRequirementForPoolOwner",
630
+ name: 'checkLiquidityRequirementForPoolOwner',
631
631
  outputs: [],
632
- stateMutability: "view",
633
- type: "function",
632
+ stateMutability: 'view',
633
+ type: 'function',
634
634
  },
635
635
  {
636
636
  inputs: [],
637
- name: "creditApprovalExpirationInSeconds",
637
+ name: 'creditApprovalExpirationInSeconds',
638
638
  outputs: [
639
639
  {
640
- internalType: "uint256",
641
- name: "",
642
- type: "uint256",
640
+ internalType: 'uint256',
641
+ name: '',
642
+ type: 'uint256',
643
643
  },
644
644
  ],
645
- stateMutability: "view",
646
- type: "function",
645
+ stateMutability: 'view',
646
+ type: 'function',
647
647
  },
648
648
  {
649
649
  inputs: [
650
650
  {
651
- internalType: "uint256",
652
- name: "value",
653
- type: "uint256",
651
+ internalType: 'uint256',
652
+ name: 'value',
653
+ type: 'uint256',
654
654
  },
655
655
  ],
656
- name: "distributeIncome",
656
+ name: 'distributeIncome',
657
657
  outputs: [
658
658
  {
659
- internalType: "uint256",
660
- name: "poolIncome",
661
- type: "uint256",
659
+ internalType: 'uint256',
660
+ name: 'poolIncome',
661
+ type: 'uint256',
662
662
  },
663
663
  ],
664
- stateMutability: "nonpayable",
665
- type: "function",
664
+ stateMutability: 'nonpayable',
665
+ type: 'function',
666
666
  },
667
667
  {
668
668
  inputs: [],
669
- name: "evaluationAgent",
669
+ name: 'evaluationAgent',
670
670
  outputs: [
671
671
  {
672
- internalType: "address",
673
- name: "",
674
- type: "address",
672
+ internalType: 'address',
673
+ name: '',
674
+ type: 'address',
675
675
  },
676
676
  ],
677
- stateMutability: "view",
678
- type: "function",
677
+ stateMutability: 'view',
678
+ type: 'function',
679
679
  },
680
680
  {
681
681
  inputs: [],
682
- name: "evaluationAgentId",
682
+ name: 'evaluationAgentId',
683
683
  outputs: [
684
684
  {
685
- internalType: "uint256",
686
- name: "",
687
- type: "uint256",
685
+ internalType: 'uint256',
686
+ name: '',
687
+ type: 'uint256',
688
688
  },
689
689
  ],
690
- stateMutability: "view",
691
- type: "function",
690
+ stateMutability: 'view',
691
+ type: 'function',
692
692
  },
693
693
  {
694
694
  inputs: [],
695
- name: "feeManager",
695
+ name: 'feeManager',
696
696
  outputs: [
697
697
  {
698
- internalType: "address",
699
- name: "",
700
- type: "address",
698
+ internalType: 'address',
699
+ name: '',
700
+ type: 'address',
701
701
  },
702
702
  ],
703
- stateMutability: "view",
704
- type: "function",
703
+ stateMutability: 'view',
704
+ type: 'function',
705
705
  },
706
706
  {
707
707
  inputs: [],
708
- name: "getCoreData",
708
+ name: 'getCoreData',
709
709
  outputs: [
710
710
  {
711
- internalType: "address",
712
- name: "underlyingToken_",
713
- type: "address",
711
+ internalType: 'address',
712
+ name: 'underlyingToken_',
713
+ type: 'address',
714
714
  },
715
715
  {
716
- internalType: "address",
717
- name: "poolToken_",
718
- type: "address",
716
+ internalType: 'address',
717
+ name: 'poolToken_',
718
+ type: 'address',
719
719
  },
720
720
  {
721
- internalType: "address",
722
- name: "humaConfig_",
723
- type: "address",
721
+ internalType: 'address',
722
+ name: 'humaConfig_',
723
+ type: 'address',
724
724
  },
725
725
  {
726
- internalType: "address",
727
- name: "feeManager_",
728
- type: "address",
726
+ internalType: 'address',
727
+ name: 'feeManager_',
728
+ type: 'address',
729
729
  },
730
730
  ],
731
- stateMutability: "view",
732
- type: "function",
731
+ stateMutability: 'view',
732
+ type: 'function',
733
733
  },
734
734
  {
735
735
  inputs: [],
736
- name: "getPoolSummary",
736
+ name: 'getPoolSummary',
737
737
  outputs: [
738
738
  {
739
- internalType: "address",
740
- name: "token",
741
- type: "address",
739
+ internalType: 'address',
740
+ name: 'token',
741
+ type: 'address',
742
742
  },
743
743
  {
744
- internalType: "uint256",
745
- name: "apr",
746
- type: "uint256",
744
+ internalType: 'uint256',
745
+ name: 'apr',
746
+ type: 'uint256',
747
747
  },
748
748
  {
749
- internalType: "uint256",
750
- name: "payPeriod",
751
- type: "uint256",
749
+ internalType: 'uint256',
750
+ name: 'payPeriod',
751
+ type: 'uint256',
752
752
  },
753
753
  {
754
- internalType: "uint256",
755
- name: "maxCreditAmount",
756
- type: "uint256",
754
+ internalType: 'uint256',
755
+ name: 'maxCreditAmount',
756
+ type: 'uint256',
757
757
  },
758
758
  {
759
- internalType: "uint256",
760
- name: "liquiditycap",
761
- type: "uint256",
759
+ internalType: 'uint256',
760
+ name: 'liquiditycap',
761
+ type: 'uint256',
762
762
  },
763
763
  {
764
- internalType: "string",
765
- name: "name",
766
- type: "string",
764
+ internalType: 'string',
765
+ name: 'name',
766
+ type: 'string',
767
767
  },
768
768
  {
769
- internalType: "string",
770
- name: "symbol",
771
- type: "string",
769
+ internalType: 'string',
770
+ name: 'symbol',
771
+ type: 'string',
772
772
  },
773
773
  {
774
- internalType: "uint8",
775
- name: "decimals",
776
- type: "uint8",
774
+ internalType: 'uint8',
775
+ name: 'decimals',
776
+ type: 'uint8',
777
777
  },
778
778
  {
779
- internalType: "uint256",
780
- name: "eaId",
781
- type: "uint256",
779
+ internalType: 'uint256',
780
+ name: 'eaId',
781
+ type: 'uint256',
782
782
  },
783
783
  {
784
- internalType: "address",
785
- name: "eaNFTAddress",
786
- type: "address",
784
+ internalType: 'address',
785
+ name: 'eaNFTAddress',
786
+ type: 'address',
787
787
  },
788
788
  ],
789
- stateMutability: "view",
790
- type: "function",
789
+ stateMutability: 'view',
790
+ type: 'function',
791
791
  },
792
792
  {
793
793
  inputs: [],
794
- name: "humaConfig",
794
+ name: 'humaConfig',
795
795
  outputs: [
796
796
  {
797
- internalType: "contract HumaConfig",
798
- name: "",
799
- type: "address",
797
+ internalType: 'contract HumaConfig',
798
+ name: '',
799
+ type: 'address',
800
800
  },
801
801
  ],
802
- stateMutability: "view",
803
- type: "function",
802
+ stateMutability: 'view',
803
+ type: 'function',
804
804
  },
805
805
  {
806
806
  inputs: [
807
807
  {
808
- internalType: "string",
809
- name: "_poolName",
810
- type: "string",
808
+ internalType: 'string',
809
+ name: '_poolName',
810
+ type: 'string',
811
811
  },
812
812
  {
813
- internalType: "address",
814
- name: "_poolToken",
815
- type: "address",
813
+ internalType: 'address',
814
+ name: '_poolToken',
815
+ type: 'address',
816
816
  },
817
817
  {
818
- internalType: "address",
819
- name: "_humaConfig",
820
- type: "address",
818
+ internalType: 'address',
819
+ name: '_humaConfig',
820
+ type: 'address',
821
821
  },
822
822
  {
823
- internalType: "address",
824
- name: "_feeManager",
825
- type: "address",
823
+ internalType: 'address',
824
+ name: '_feeManager',
825
+ type: 'address',
826
826
  },
827
827
  ],
828
- name: "initialize",
828
+ name: 'initialize',
829
829
  outputs: [],
830
- stateMutability: "nonpayable",
831
- type: "function",
830
+ stateMutability: 'nonpayable',
831
+ type: 'function',
832
832
  },
833
833
  {
834
834
  inputs: [
835
835
  {
836
- internalType: "address",
837
- name: "account",
838
- type: "address",
836
+ internalType: 'address',
837
+ name: 'account',
838
+ type: 'address',
839
839
  },
840
840
  ],
841
- name: "isOwnerOrEA",
841
+ name: 'isOwnerOrEA',
842
842
  outputs: [
843
843
  {
844
- internalType: "bool",
845
- name: "",
846
- type: "bool",
844
+ internalType: 'bool',
845
+ name: '',
846
+ type: 'bool',
847
847
  },
848
848
  ],
849
- stateMutability: "view",
850
- type: "function",
849
+ stateMutability: 'view',
850
+ type: 'function',
851
851
  },
852
852
  {
853
853
  inputs: [],
854
- name: "maxCreditLine",
854
+ name: 'maxCreditLine',
855
855
  outputs: [
856
856
  {
857
- internalType: "uint256",
858
- name: "",
859
- type: "uint256",
857
+ internalType: 'uint256',
858
+ name: '',
859
+ type: 'uint256',
860
860
  },
861
861
  ],
862
- stateMutability: "view",
863
- type: "function",
862
+ stateMutability: 'view',
863
+ type: 'function',
864
864
  },
865
865
  {
866
866
  inputs: [
867
867
  {
868
- internalType: "address",
869
- name: "account",
870
- type: "address",
868
+ internalType: 'address',
869
+ name: 'account',
870
+ type: 'address',
871
871
  },
872
872
  ],
873
- name: "onlyOwnerOrEA",
873
+ name: 'onlyOwnerOrEA',
874
874
  outputs: [],
875
- stateMutability: "view",
876
- type: "function",
875
+ stateMutability: 'view',
876
+ type: 'function',
877
877
  },
878
878
  {
879
879
  inputs: [
880
880
  {
881
- internalType: "address",
882
- name: "account",
883
- type: "address",
881
+ internalType: 'address',
882
+ name: 'account',
883
+ type: 'address',
884
884
  },
885
885
  ],
886
- name: "onlyOwnerOrHumaMasterAdmin",
886
+ name: 'onlyOwnerOrHumaMasterAdmin',
887
887
  outputs: [],
888
- stateMutability: "view",
889
- type: "function",
888
+ stateMutability: 'view',
889
+ type: 'function',
890
890
  },
891
891
  {
892
892
  inputs: [],
893
- name: "owner",
893
+ name: 'owner',
894
894
  outputs: [
895
895
  {
896
- internalType: "address",
897
- name: "",
898
- type: "address",
896
+ internalType: 'address',
897
+ name: '',
898
+ type: 'address',
899
899
  },
900
900
  ],
901
- stateMutability: "view",
902
- type: "function",
901
+ stateMutability: 'view',
902
+ type: 'function',
903
903
  },
904
904
  {
905
905
  inputs: [],
906
- name: "payPeriodInDays",
906
+ name: 'payPeriodInDays',
907
907
  outputs: [
908
908
  {
909
- internalType: "uint256",
910
- name: "",
911
- type: "uint256",
909
+ internalType: 'uint256',
910
+ name: '',
911
+ type: 'uint256',
912
912
  },
913
913
  ],
914
- stateMutability: "view",
915
- type: "function",
914
+ stateMutability: 'view',
915
+ type: 'function',
916
916
  },
917
917
  {
918
918
  inputs: [],
919
- name: "pool",
919
+ name: 'pool',
920
920
  outputs: [
921
921
  {
922
- internalType: "address",
923
- name: "",
924
- type: "address",
922
+ internalType: 'address',
923
+ name: '',
924
+ type: 'address',
925
925
  },
926
926
  ],
927
- stateMutability: "view",
928
- type: "function",
927
+ stateMutability: 'view',
928
+ type: 'function',
929
929
  },
930
930
  {
931
931
  inputs: [],
932
- name: "poolAprInBps",
932
+ name: 'poolAprInBps',
933
933
  outputs: [
934
934
  {
935
- internalType: "uint256",
936
- name: "",
937
- type: "uint256",
935
+ internalType: 'uint256',
936
+ name: '',
937
+ type: 'uint256',
938
938
  },
939
939
  ],
940
- stateMutability: "view",
941
- type: "function",
940
+ stateMutability: 'view',
941
+ type: 'function',
942
942
  },
943
943
  {
944
944
  inputs: [],
945
- name: "poolDefaultGracePeriodInSeconds",
945
+ name: 'poolDefaultGracePeriodInSeconds',
946
946
  outputs: [
947
947
  {
948
- internalType: "uint256",
949
- name: "",
950
- type: "uint256",
948
+ internalType: 'uint256',
949
+ name: '',
950
+ type: 'uint256',
951
951
  },
952
952
  ],
953
- stateMutability: "view",
954
- type: "function",
953
+ stateMutability: 'view',
954
+ type: 'function',
955
955
  },
956
956
  {
957
957
  inputs: [],
958
- name: "poolLiquidityCap",
958
+ name: 'poolLiquidityCap',
959
959
  outputs: [
960
960
  {
961
- internalType: "uint256",
962
- name: "",
963
- type: "uint256",
961
+ internalType: 'uint256',
962
+ name: '',
963
+ type: 'uint256',
964
964
  },
965
965
  ],
966
- stateMutability: "view",
967
- type: "function",
966
+ stateMutability: 'view',
967
+ type: 'function',
968
968
  },
969
969
  {
970
970
  inputs: [],
971
- name: "poolName",
971
+ name: 'poolName',
972
972
  outputs: [
973
973
  {
974
- internalType: "string",
975
- name: "",
976
- type: "string",
974
+ internalType: 'string',
975
+ name: '',
976
+ type: 'string',
977
977
  },
978
978
  ],
979
- stateMutability: "view",
980
- type: "function",
979
+ stateMutability: 'view',
980
+ type: 'function',
981
981
  },
982
982
  {
983
983
  inputs: [],
984
- name: "poolToken",
984
+ name: 'poolToken',
985
985
  outputs: [
986
986
  {
987
- internalType: "contract HDT",
988
- name: "",
989
- type: "address",
987
+ internalType: 'contract HDT',
988
+ name: '',
989
+ type: 'address',
990
990
  },
991
991
  ],
992
- stateMutability: "view",
993
- type: "function",
992
+ stateMutability: 'view',
993
+ type: 'function',
994
994
  },
995
995
  {
996
996
  inputs: [],
997
- name: "receivableRequiredInBps",
997
+ name: 'receivableRequiredInBps',
998
998
  outputs: [
999
999
  {
1000
- internalType: "uint256",
1001
- name: "",
1002
- type: "uint256",
1000
+ internalType: 'uint256',
1001
+ name: '',
1002
+ type: 'uint256',
1003
1003
  },
1004
1004
  ],
1005
- stateMutability: "view",
1006
- type: "function",
1005
+ stateMutability: 'view',
1006
+ type: 'function',
1007
1007
  },
1008
1008
  {
1009
1009
  inputs: [],
1010
- name: "renounceOwnership",
1010
+ name: 'renounceOwnership',
1011
1011
  outputs: [],
1012
- stateMutability: "nonpayable",
1013
- type: "function",
1012
+ stateMutability: 'nonpayable',
1013
+ type: 'function',
1014
1014
  },
1015
1015
  {
1016
1016
  inputs: [
1017
1017
  {
1018
- internalType: "uint256",
1019
- name: "value",
1020
- type: "uint256",
1018
+ internalType: 'uint256',
1019
+ name: 'value',
1020
+ type: 'uint256',
1021
1021
  },
1022
1022
  ],
1023
- name: "reverseIncome",
1023
+ name: 'reverseIncome',
1024
1024
  outputs: [
1025
1025
  {
1026
- internalType: "uint256",
1027
- name: "poolIncome",
1028
- type: "uint256",
1026
+ internalType: 'uint256',
1027
+ name: 'poolIncome',
1028
+ type: 'uint256',
1029
1029
  },
1030
1030
  ],
1031
- stateMutability: "nonpayable",
1032
- type: "function",
1031
+ stateMutability: 'nonpayable',
1032
+ type: 'function',
1033
1033
  },
1034
1034
  {
1035
1035
  inputs: [],
1036
- name: "rewardsAndLiquidityRateForEA",
1036
+ name: 'rewardsAndLiquidityRateForEA',
1037
1037
  outputs: [
1038
1038
  {
1039
- internalType: "uint256",
1040
- name: "",
1041
- type: "uint256",
1039
+ internalType: 'uint256',
1040
+ name: '',
1041
+ type: 'uint256',
1042
1042
  },
1043
1043
  {
1044
- internalType: "uint256",
1045
- name: "",
1046
- type: "uint256",
1044
+ internalType: 'uint256',
1045
+ name: '',
1046
+ type: 'uint256',
1047
1047
  },
1048
1048
  ],
1049
- stateMutability: "view",
1050
- type: "function",
1049
+ stateMutability: 'view',
1050
+ type: 'function',
1051
1051
  },
1052
1052
  {
1053
1053
  inputs: [],
1054
- name: "rewardsAndLiquidityRateForPoolOwner",
1054
+ name: 'rewardsAndLiquidityRateForPoolOwner',
1055
1055
  outputs: [
1056
1056
  {
1057
- internalType: "uint256",
1058
- name: "",
1059
- type: "uint256",
1057
+ internalType: 'uint256',
1058
+ name: '',
1059
+ type: 'uint256',
1060
1060
  },
1061
1061
  {
1062
- internalType: "uint256",
1063
- name: "",
1064
- type: "uint256",
1062
+ internalType: 'uint256',
1063
+ name: '',
1064
+ type: 'uint256',
1065
1065
  },
1066
1066
  ],
1067
- stateMutability: "view",
1068
- type: "function",
1067
+ stateMutability: 'view',
1068
+ type: 'function',
1069
1069
  },
1070
1070
  {
1071
1071
  inputs: [
1072
1072
  {
1073
- internalType: "uint256",
1074
- name: "aprInBps",
1075
- type: "uint256",
1073
+ internalType: 'uint256',
1074
+ name: 'aprInBps',
1075
+ type: 'uint256',
1076
1076
  },
1077
1077
  ],
1078
- name: "setAPR",
1078
+ name: 'setAPR',
1079
1079
  outputs: [],
1080
- stateMutability: "nonpayable",
1081
- type: "function",
1080
+ stateMutability: 'nonpayable',
1081
+ type: 'function',
1082
1082
  },
1083
1083
  {
1084
1084
  inputs: [
1085
1085
  {
1086
- internalType: "uint256",
1087
- name: "durationInDays",
1088
- type: "uint256",
1086
+ internalType: 'uint256',
1087
+ name: 'durationInDays',
1088
+ type: 'uint256',
1089
1089
  },
1090
1090
  ],
1091
- name: "setCreditApprovalExpiration",
1091
+ name: 'setCreditApprovalExpiration',
1092
1092
  outputs: [],
1093
- stateMutability: "nonpayable",
1094
- type: "function",
1093
+ stateMutability: 'nonpayable',
1094
+ type: 'function',
1095
1095
  },
1096
1096
  {
1097
1097
  inputs: [
1098
1098
  {
1099
- internalType: "uint256",
1100
- name: "rewardsRate",
1101
- type: "uint256",
1099
+ internalType: 'uint256',
1100
+ name: 'rewardsRate',
1101
+ type: 'uint256',
1102
1102
  },
1103
1103
  {
1104
- internalType: "uint256",
1105
- name: "liquidityRate",
1106
- type: "uint256",
1104
+ internalType: 'uint256',
1105
+ name: 'liquidityRate',
1106
+ type: 'uint256',
1107
1107
  },
1108
1108
  ],
1109
- name: "setEARewardsAndLiquidity",
1109
+ name: 'setEARewardsAndLiquidity',
1110
1110
  outputs: [],
1111
- stateMutability: "nonpayable",
1112
- type: "function",
1111
+ stateMutability: 'nonpayable',
1112
+ type: 'function',
1113
1113
  },
1114
1114
  {
1115
1115
  inputs: [
1116
1116
  {
1117
- internalType: "uint256",
1118
- name: "eaId",
1119
- type: "uint256",
1117
+ internalType: 'uint256',
1118
+ name: 'eaId',
1119
+ type: 'uint256',
1120
1120
  },
1121
1121
  {
1122
- internalType: "address",
1123
- name: "agent",
1124
- type: "address",
1122
+ internalType: 'address',
1123
+ name: 'agent',
1124
+ type: 'address',
1125
1125
  },
1126
1126
  ],
1127
- name: "setEvaluationAgent",
1127
+ name: 'setEvaluationAgent',
1128
1128
  outputs: [],
1129
- stateMutability: "nonpayable",
1130
- type: "function",
1129
+ stateMutability: 'nonpayable',
1130
+ type: 'function',
1131
1131
  },
1132
1132
  {
1133
1133
  inputs: [
1134
1134
  {
1135
- internalType: "address",
1136
- name: "_feeManager",
1137
- type: "address",
1135
+ internalType: 'address',
1136
+ name: '_feeManager',
1137
+ type: 'address',
1138
1138
  },
1139
1139
  ],
1140
- name: "setFeeManager",
1140
+ name: 'setFeeManager',
1141
1141
  outputs: [],
1142
- stateMutability: "nonpayable",
1143
- type: "function",
1142
+ stateMutability: 'nonpayable',
1143
+ type: 'function',
1144
1144
  },
1145
1145
  {
1146
1146
  inputs: [
1147
1147
  {
1148
- internalType: "address",
1149
- name: "_humaConfig",
1150
- type: "address",
1148
+ internalType: 'address',
1149
+ name: '_humaConfig',
1150
+ type: 'address',
1151
1151
  },
1152
1152
  ],
1153
- name: "setHumaConfig",
1153
+ name: 'setHumaConfig',
1154
1154
  outputs: [],
1155
- stateMutability: "nonpayable",
1156
- type: "function",
1155
+ stateMutability: 'nonpayable',
1156
+ type: 'function',
1157
1157
  },
1158
1158
  {
1159
1159
  inputs: [
1160
1160
  {
1161
- internalType: "uint256",
1162
- name: "creditLine",
1163
- type: "uint256",
1161
+ internalType: 'uint256',
1162
+ name: 'creditLine',
1163
+ type: 'uint256',
1164
1164
  },
1165
1165
  ],
1166
- name: "setMaxCreditLine",
1166
+ name: 'setMaxCreditLine',
1167
1167
  outputs: [],
1168
- stateMutability: "nonpayable",
1169
- type: "function",
1168
+ stateMutability: 'nonpayable',
1169
+ type: 'function',
1170
1170
  },
1171
1171
  {
1172
1172
  inputs: [
1173
1173
  {
1174
- internalType: "address",
1175
- name: "_pool",
1176
- type: "address",
1174
+ internalType: 'address',
1175
+ name: '_pool',
1176
+ type: 'address',
1177
1177
  },
1178
1178
  ],
1179
- name: "setPool",
1179
+ name: 'setPool',
1180
1180
  outputs: [],
1181
- stateMutability: "nonpayable",
1182
- type: "function",
1181
+ stateMutability: 'nonpayable',
1182
+ type: 'function',
1183
1183
  },
1184
1184
  {
1185
1185
  inputs: [
1186
1186
  {
1187
- internalType: "uint256",
1188
- name: "gracePeriodInDays",
1189
- type: "uint256",
1187
+ internalType: 'uint256',
1188
+ name: 'gracePeriodInDays',
1189
+ type: 'uint256',
1190
1190
  },
1191
1191
  ],
1192
- name: "setPoolDefaultGracePeriod",
1192
+ name: 'setPoolDefaultGracePeriod',
1193
1193
  outputs: [],
1194
- stateMutability: "nonpayable",
1195
- type: "function",
1194
+ stateMutability: 'nonpayable',
1195
+ type: 'function',
1196
1196
  },
1197
1197
  {
1198
1198
  inputs: [
1199
1199
  {
1200
- internalType: "uint256",
1201
- name: "liquidityCap",
1202
- type: "uint256",
1200
+ internalType: 'uint256',
1201
+ name: 'liquidityCap',
1202
+ type: 'uint256',
1203
1203
  },
1204
1204
  ],
1205
- name: "setPoolLiquidityCap",
1205
+ name: 'setPoolLiquidityCap',
1206
1206
  outputs: [],
1207
- stateMutability: "nonpayable",
1208
- type: "function",
1207
+ stateMutability: 'nonpayable',
1208
+ type: 'function',
1209
1209
  },
1210
1210
  {
1211
1211
  inputs: [
1212
1212
  {
1213
- internalType: "string",
1214
- name: "newName",
1215
- type: "string",
1213
+ internalType: 'string',
1214
+ name: 'newName',
1215
+ type: 'string',
1216
1216
  },
1217
1217
  ],
1218
- name: "setPoolName",
1218
+ name: 'setPoolName',
1219
1219
  outputs: [],
1220
- stateMutability: "nonpayable",
1221
- type: "function",
1220
+ stateMutability: 'nonpayable',
1221
+ type: 'function',
1222
1222
  },
1223
1223
  {
1224
1224
  inputs: [
1225
1225
  {
1226
- internalType: "uint256",
1227
- name: "rewardsRate",
1228
- type: "uint256",
1226
+ internalType: 'uint256',
1227
+ name: 'rewardsRate',
1228
+ type: 'uint256',
1229
1229
  },
1230
1230
  {
1231
- internalType: "uint256",
1232
- name: "liquidityRate",
1233
- type: "uint256",
1231
+ internalType: 'uint256',
1232
+ name: 'liquidityRate',
1233
+ type: 'uint256',
1234
1234
  },
1235
1235
  ],
1236
- name: "setPoolOwnerRewardsAndLiquidity",
1236
+ name: 'setPoolOwnerRewardsAndLiquidity',
1237
1237
  outputs: [],
1238
- stateMutability: "nonpayable",
1239
- type: "function",
1238
+ stateMutability: 'nonpayable',
1239
+ type: 'function',
1240
1240
  },
1241
1241
  {
1242
1242
  inputs: [
1243
1243
  {
1244
- internalType: "uint256",
1245
- name: "periodInDays",
1246
- type: "uint256",
1244
+ internalType: 'uint256',
1245
+ name: 'periodInDays',
1246
+ type: 'uint256',
1247
1247
  },
1248
1248
  ],
1249
- name: "setPoolPayPeriod",
1249
+ name: 'setPoolPayPeriod',
1250
1250
  outputs: [],
1251
- stateMutability: "nonpayable",
1252
- type: "function",
1251
+ stateMutability: 'nonpayable',
1252
+ type: 'function',
1253
1253
  },
1254
1254
  {
1255
1255
  inputs: [
1256
1256
  {
1257
- internalType: "address",
1258
- name: "_poolToken",
1259
- type: "address",
1257
+ internalType: 'address',
1258
+ name: '_poolToken',
1259
+ type: 'address',
1260
1260
  },
1261
1261
  ],
1262
- name: "setPoolToken",
1262
+ name: 'setPoolToken',
1263
1263
  outputs: [],
1264
- stateMutability: "nonpayable",
1265
- type: "function",
1264
+ stateMutability: 'nonpayable',
1265
+ type: 'function',
1266
1266
  },
1267
1267
  {
1268
1268
  inputs: [
1269
1269
  {
1270
- internalType: "uint256",
1271
- name: "receivableInBps",
1272
- type: "uint256",
1270
+ internalType: 'uint256',
1271
+ name: 'receivableInBps',
1272
+ type: 'uint256',
1273
1273
  },
1274
1274
  ],
1275
- name: "setReceivableRequiredInBps",
1275
+ name: 'setReceivableRequiredInBps',
1276
1276
  outputs: [],
1277
- stateMutability: "nonpayable",
1278
- type: "function",
1277
+ stateMutability: 'nonpayable',
1278
+ type: 'function',
1279
1279
  },
1280
1280
  {
1281
1281
  inputs: [
1282
1282
  {
1283
- internalType: "uint256",
1284
- name: "lockoutPeriodInDays",
1285
- type: "uint256",
1283
+ internalType: 'uint256',
1284
+ name: 'lockoutPeriodInDays',
1285
+ type: 'uint256',
1286
1286
  },
1287
1287
  ],
1288
- name: "setWithdrawalLockoutPeriod",
1288
+ name: 'setWithdrawalLockoutPeriod',
1289
1289
  outputs: [],
1290
- stateMutability: "nonpayable",
1291
- type: "function",
1290
+ stateMutability: 'nonpayable',
1291
+ type: 'function',
1292
1292
  },
1293
1293
  {
1294
1294
  inputs: [
1295
1295
  {
1296
- internalType: "address",
1297
- name: "newOwner",
1298
- type: "address",
1296
+ internalType: 'address',
1297
+ name: 'newOwner',
1298
+ type: 'address',
1299
1299
  },
1300
1300
  ],
1301
- name: "transferOwnership",
1301
+ name: 'transferOwnership',
1302
1302
  outputs: [],
1303
- stateMutability: "nonpayable",
1304
- type: "function",
1303
+ stateMutability: 'nonpayable',
1304
+ type: 'function',
1305
1305
  },
1306
1306
  {
1307
1307
  inputs: [],
1308
- name: "underlyingToken",
1308
+ name: 'underlyingToken',
1309
1309
  outputs: [
1310
1310
  {
1311
- internalType: "contract IERC20",
1312
- name: "",
1313
- type: "address",
1311
+ internalType: 'contract IERC20',
1312
+ name: '',
1313
+ type: 'address',
1314
1314
  },
1315
1315
  ],
1316
- stateMutability: "view",
1317
- type: "function",
1316
+ stateMutability: 'view',
1317
+ type: 'function',
1318
1318
  },
1319
1319
  {
1320
1320
  inputs: [
1321
1321
  {
1322
- internalType: "uint256",
1323
- name: "amount",
1324
- type: "uint256",
1322
+ internalType: 'uint256',
1323
+ name: 'amount',
1324
+ type: 'uint256',
1325
1325
  },
1326
1326
  ],
1327
- name: "withdrawEAFee",
1327
+ name: 'withdrawEAFee',
1328
1328
  outputs: [],
1329
- stateMutability: "nonpayable",
1330
- type: "function",
1329
+ stateMutability: 'nonpayable',
1330
+ type: 'function',
1331
1331
  },
1332
1332
  {
1333
1333
  inputs: [
1334
1334
  {
1335
- internalType: "uint256",
1336
- name: "amount",
1337
- type: "uint256",
1335
+ internalType: 'uint256',
1336
+ name: 'amount',
1337
+ type: 'uint256',
1338
1338
  },
1339
1339
  ],
1340
- name: "withdrawPoolOwnerFee",
1340
+ name: 'withdrawPoolOwnerFee',
1341
1341
  outputs: [],
1342
- stateMutability: "nonpayable",
1343
- type: "function",
1342
+ stateMutability: 'nonpayable',
1343
+ type: 'function',
1344
1344
  },
1345
1345
  {
1346
1346
  inputs: [
1347
1347
  {
1348
- internalType: "uint256",
1349
- name: "amount",
1350
- type: "uint256",
1348
+ internalType: 'uint256',
1349
+ name: 'amount',
1350
+ type: 'uint256',
1351
1351
  },
1352
1352
  ],
1353
- name: "withdrawProtocolFee",
1353
+ name: 'withdrawProtocolFee',
1354
1354
  outputs: [],
1355
- stateMutability: "nonpayable",
1356
- type: "function",
1355
+ stateMutability: 'nonpayable',
1356
+ type: 'function',
1357
1357
  },
1358
1358
  {
1359
1359
  inputs: [],
1360
- name: "withdrawalLockoutPeriodInSeconds",
1360
+ name: 'withdrawalLockoutPeriodInSeconds',
1361
1361
  outputs: [
1362
1362
  {
1363
- internalType: "uint256",
1364
- name: "",
1365
- type: "uint256",
1363
+ internalType: 'uint256',
1364
+ name: '',
1365
+ type: 'uint256',
1366
1366
  },
1367
1367
  ],
1368
- stateMutability: "view",
1369
- type: "function",
1368
+ stateMutability: 'view',
1369
+ type: 'function',
1370
1370
  },
1371
1371
  ];
1372
1372
  class BasePoolConfig__factory {