@huma-finance/shared 0.0.12 → 0.0.13

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