@augustdigital/sdk 4.15.5-alpha.0 → 4.17.0-alpha.0
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.
- package/lib/abis/AddressResolver.d.ts +28 -40
- package/lib/abis/ChainlinkV3.d.ts +83 -109
- package/lib/abis/ERC20.d.ts +137 -191
- package/lib/abis/ERC20_Bytes32.d.ts +125 -178
- package/lib/abis/ERC4626.d.ts +341 -480
- package/lib/abis/ERC721.d.ts +213 -299
- package/lib/abis/FeeOracle.d.ts +112 -149
- package/lib/abis/LendingPool.d.ts +1293 -1702
- package/lib/abis/LendingPoolV2.d.ts +37 -42
- package/lib/abis/LendingPoolV3.d.ts +25 -29
- package/lib/abis/Loan.d.ts +768 -1007
- package/lib/abis/Multicall3.d.ts +30 -43
- package/lib/abis/PoolAdapter.d.ts +35 -46
- package/lib/abis/RewardDistributor.d.ts +33 -38
- package/lib/abis/SmartAccount.d.ts +16 -23
- package/lib/abis/TextResolver.d.ts +16 -23
- package/lib/abis/TokenizedVaultV2.d.ts +1292 -1684
- package/lib/abis/TokenizedVaultV2DepositWithPermit.d.ts +55 -62
- package/lib/abis/TokenizedVaultV2Receipt.d.ts +1463 -1934
- package/lib/abis/TokenizedVaultV2WhitelistedAssets.d.ts +250 -333
- package/lib/abis/UniversalResolverResolve.d.ts +69 -97
- package/lib/abis/UniversalSignatureValidator.d.ts +17 -23
- package/lib/abis/WrapperAdapter.d.ts +67 -89
- package/lib/adapters/evm/getters.d.ts +2 -8
- package/lib/adapters/evm/index.d.ts +15 -19
- package/lib/adapters/evm/utils.d.ts +2 -12
- package/lib/adapters/solana/constants.d.ts +17 -23
- package/lib/adapters/solana/getters.d.ts +1 -4
- package/lib/adapters/solana/idl/vault-idl.d.ts +279 -340
- package/lib/adapters/solana/index.d.ts +116 -212
- package/lib/adapters/solana/types.d.ts +50 -50
- package/lib/adapters/solana/utils.d.ts +78 -139
- package/lib/adapters/solana/vault.actions.d.ts +12 -37
- package/lib/adapters/sui/constants.d.ts +9 -9
- package/lib/adapters/sui/constants.js +8 -1
- package/lib/adapters/sui/constants.js.map +1 -1
- package/lib/adapters/sui/getters.d.ts +1 -3
- package/lib/adapters/sui/index.d.ts +21 -29
- package/lib/adapters/sui/transformer.d.ts +2 -6
- package/lib/adapters/sui/types.d.ts +56 -56
- package/lib/adapters/sui/utils.d.ts +1 -4
- package/lib/core/analytics/constants.d.ts +12 -0
- package/lib/core/analytics/constants.js +49 -0
- package/lib/core/analytics/constants.js.map +1 -0
- package/lib/core/analytics/index.d.ts +6 -0
- package/lib/core/analytics/index.js +31 -0
- package/lib/core/analytics/index.js.map +1 -0
- package/lib/core/analytics/instrumentation.d.ts +2 -0
- package/lib/core/analytics/instrumentation.js +150 -0
- package/lib/core/analytics/instrumentation.js.map +1 -0
- package/lib/core/analytics/metrics.d.ts +12 -0
- package/lib/core/analytics/metrics.js +133 -0
- package/lib/core/analytics/metrics.js.map +1 -0
- package/lib/core/analytics/sentry.d.ts +9 -0
- package/lib/core/analytics/sentry.js +166 -0
- package/lib/core/analytics/sentry.js.map +1 -0
- package/lib/core/analytics/types.d.ts +21 -0
- package/lib/core/analytics/types.js +3 -0
- package/lib/core/analytics/types.js.map +1 -0
- package/lib/core/analytics/user-identity.d.ts +8 -0
- package/lib/core/analytics/user-identity.js +82 -0
- package/lib/core/analytics/user-identity.js.map +1 -0
- package/lib/core/analytics/version.d.ts +1 -0
- package/lib/core/analytics/version.js +5 -0
- package/lib/core/analytics/version.js.map +1 -0
- package/lib/core/base.class.d.ts +25 -30
- package/lib/core/base.class.js +5 -1
- package/lib/core/base.class.js.map +1 -1
- package/lib/core/constants/adapters.d.ts +83 -111
- package/lib/core/constants/core.d.ts +69 -76
- package/lib/core/constants/vaults.d.ts +5 -63
- package/lib/core/constants/vaults.js +3 -3
- package/lib/core/constants/vaults.js.map +1 -1
- package/lib/core/constants/web3.d.ts +18 -19
- package/lib/core/fetcher.d.ts +17 -71
- package/lib/core/fetcher.js +20 -2
- package/lib/core/fetcher.js.map +1 -1
- package/lib/core/helpers/adapters.d.ts +2 -7
- package/lib/core/helpers/core.d.ts +8 -33
- package/lib/core/helpers/signer.d.ts +2 -6
- package/lib/core/helpers/vaults.d.ts +15 -38
- package/lib/core/helpers/web3.d.ts +19 -87
- package/lib/core/index.d.ts +1 -0
- package/lib/core/index.js +1 -0
- package/lib/core/index.js.map +1 -1
- package/lib/core/logger/index.d.ts +11 -11
- package/lib/core/logger/slack.d.ts +8 -9
- package/lib/index.d.ts +1 -61
- package/lib/main.d.ts +141 -158
- package/lib/main.js +3 -0
- package/lib/main.js.map +1 -1
- package/lib/modules/vaults/adapter.helpers.d.ts +38 -72
- package/lib/modules/vaults/fetcher.d.ts +69 -85
- package/lib/modules/vaults/getters.d.ts +100 -205
- package/lib/modules/vaults/index.d.ts +1 -6
- package/lib/modules/vaults/main.d.ts +131 -224
- package/lib/modules/vaults/main.js +8 -1
- package/lib/modules/vaults/main.js.map +1 -1
- package/lib/modules/vaults/read.actions.d.ts +2 -8
- package/lib/modules/vaults/utils.d.ts +19 -55
- package/lib/modules/vaults/write.actions.d.ts +14 -26
- package/lib/services/coingecko/fetcher.d.ts +1 -4
- package/lib/services/debank/fetcher.d.ts +1 -4
- package/lib/services/debank/utils.d.ts +27 -38
- package/lib/services/octavfi/fetcher.d.ts +1 -3
- package/lib/services/octavfi/types.d.ts +24 -24
- package/lib/services/octavfi/utils.d.ts +2 -6
- package/lib/services/subgraph/fetcher.d.ts +2 -12
- package/lib/services/subgraph/vaults.d.ts +9 -42
- package/lib/types/points.d.ts +26 -35
- package/lib/types/pools.d.ts +112 -149
- package/lib/types/staking.d.ts +25 -25
- package/lib/types/subgraph.d.ts +33 -33
- package/lib/types/vaults.d.ts +219 -232
- package/lib/types/web3.d.ts +9 -9
- package/lib/types/webserver.d.ts +448 -466
- package/package.json +16 -13
package/lib/abis/Loan.d.ts
CHANGED
|
@@ -1,1076 +1,837 @@
|
|
|
1
|
-
export declare const ABI_LOAN: readonly [
|
|
2
|
-
|
|
3
|
-
readonly
|
|
4
|
-
readonly
|
|
5
|
-
readonly
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
readonly
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
readonly
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
},
|
|
25
|
-
];
|
|
26
|
-
readonly stateMutability: 'view';
|
|
27
|
-
},
|
|
28
|
-
{
|
|
29
|
-
readonly type: 'function';
|
|
30
|
-
readonly name: 'acceptApr';
|
|
1
|
+
export declare const ABI_LOAN: readonly [{
|
|
2
|
+
readonly type: "function";
|
|
3
|
+
readonly name: "LIQUIDATE_LOAN_COLLATERAL_CATEGORY";
|
|
4
|
+
readonly inputs: readonly [];
|
|
5
|
+
readonly outputs: readonly [{
|
|
6
|
+
readonly name: "";
|
|
7
|
+
readonly type: "bytes32";
|
|
8
|
+
readonly internalType: "bytes32";
|
|
9
|
+
}];
|
|
10
|
+
readonly stateMutability: "view";
|
|
11
|
+
}, {
|
|
12
|
+
readonly type: "function";
|
|
13
|
+
readonly name: "REPAY_INTERESTS_CATEGORY";
|
|
14
|
+
readonly inputs: readonly [];
|
|
15
|
+
readonly outputs: readonly [{
|
|
16
|
+
readonly name: "";
|
|
17
|
+
readonly type: "bytes32";
|
|
18
|
+
readonly internalType: "bytes32";
|
|
19
|
+
}];
|
|
20
|
+
readonly stateMutability: "view";
|
|
21
|
+
}, {
|
|
22
|
+
readonly type: "function";
|
|
23
|
+
readonly name: "acceptApr";
|
|
31
24
|
readonly inputs: readonly [];
|
|
32
25
|
readonly outputs: readonly [];
|
|
33
|
-
readonly stateMutability:
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
readonly
|
|
37
|
-
readonly
|
|
38
|
-
readonly
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
readonly
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
readonly
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
},
|
|
58
|
-
];
|
|
59
|
-
readonly stateMutability: 'view';
|
|
60
|
-
},
|
|
61
|
-
{
|
|
62
|
-
readonly type: 'function';
|
|
63
|
-
readonly name: 'borrowerCommitment';
|
|
26
|
+
readonly stateMutability: "nonpayable";
|
|
27
|
+
}, {
|
|
28
|
+
readonly type: "function";
|
|
29
|
+
readonly name: "aprUpdatedOn";
|
|
30
|
+
readonly inputs: readonly [];
|
|
31
|
+
readonly outputs: readonly [{
|
|
32
|
+
readonly name: "";
|
|
33
|
+
readonly type: "uint256";
|
|
34
|
+
readonly internalType: "uint256";
|
|
35
|
+
}];
|
|
36
|
+
readonly stateMutability: "view";
|
|
37
|
+
}, {
|
|
38
|
+
readonly type: "function";
|
|
39
|
+
readonly name: "borrower";
|
|
40
|
+
readonly inputs: readonly [];
|
|
41
|
+
readonly outputs: readonly [{
|
|
42
|
+
readonly name: "";
|
|
43
|
+
readonly type: "address";
|
|
44
|
+
readonly internalType: "address";
|
|
45
|
+
}];
|
|
46
|
+
readonly stateMutability: "view";
|
|
47
|
+
}, {
|
|
48
|
+
readonly type: "function";
|
|
49
|
+
readonly name: "borrowerCommitment";
|
|
64
50
|
readonly inputs: readonly [];
|
|
65
51
|
readonly outputs: readonly [];
|
|
66
|
-
readonly stateMutability:
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
readonly
|
|
70
|
-
readonly
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
readonly
|
|
74
|
-
|
|
75
|
-
readonly
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
readonly type: 'uint256';
|
|
80
|
-
readonly internalType: 'uint256';
|
|
81
|
-
},
|
|
82
|
-
];
|
|
52
|
+
readonly stateMutability: "nonpayable";
|
|
53
|
+
}, {
|
|
54
|
+
readonly type: "function";
|
|
55
|
+
readonly name: "callLoan";
|
|
56
|
+
readonly inputs: readonly [{
|
|
57
|
+
readonly name: "callbackPeriodInSeconds";
|
|
58
|
+
readonly type: "uint256";
|
|
59
|
+
readonly internalType: "uint256";
|
|
60
|
+
}, {
|
|
61
|
+
readonly name: "gracePeriodInSeconds";
|
|
62
|
+
readonly type: "uint256";
|
|
63
|
+
readonly internalType: "uint256";
|
|
64
|
+
}];
|
|
83
65
|
readonly outputs: readonly [];
|
|
84
|
-
readonly stateMutability:
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
readonly
|
|
88
|
-
readonly
|
|
89
|
-
readonly
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
readonly
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
readonly
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
readonly name: 'lateInterestFeeWithTwoDecimals';
|
|
118
|
-
readonly type: 'uint256';
|
|
119
|
-
readonly internalType: 'uint256';
|
|
120
|
-
},
|
|
121
|
-
{
|
|
122
|
-
readonly name: 'latePrincipalFeeWithTwoDecimals';
|
|
123
|
-
readonly type: 'uint256';
|
|
124
|
-
readonly internalType: 'uint256';
|
|
125
|
-
},
|
|
126
|
-
];
|
|
66
|
+
readonly stateMutability: "nonpayable";
|
|
67
|
+
}, {
|
|
68
|
+
readonly type: "function";
|
|
69
|
+
readonly name: "callbackDeadline";
|
|
70
|
+
readonly inputs: readonly [];
|
|
71
|
+
readonly outputs: readonly [{
|
|
72
|
+
readonly name: "";
|
|
73
|
+
readonly type: "uint256";
|
|
74
|
+
readonly internalType: "uint256";
|
|
75
|
+
}];
|
|
76
|
+
readonly stateMutability: "view";
|
|
77
|
+
}, {
|
|
78
|
+
readonly type: "function";
|
|
79
|
+
readonly name: "canSeizeCollateral";
|
|
80
|
+
readonly inputs: readonly [];
|
|
81
|
+
readonly outputs: readonly [{
|
|
82
|
+
readonly name: "";
|
|
83
|
+
readonly type: "bool";
|
|
84
|
+
readonly internalType: "bool";
|
|
85
|
+
}];
|
|
86
|
+
readonly stateMutability: "view";
|
|
87
|
+
}, {
|
|
88
|
+
readonly type: "function";
|
|
89
|
+
readonly name: "changeLateFees";
|
|
90
|
+
readonly inputs: readonly [{
|
|
91
|
+
readonly name: "lateInterestFeeWithTwoDecimals";
|
|
92
|
+
readonly type: "uint256";
|
|
93
|
+
readonly internalType: "uint256";
|
|
94
|
+
}, {
|
|
95
|
+
readonly name: "latePrincipalFeeWithTwoDecimals";
|
|
96
|
+
readonly type: "uint256";
|
|
97
|
+
readonly internalType: "uint256";
|
|
98
|
+
}];
|
|
127
99
|
readonly outputs: readonly [];
|
|
128
|
-
readonly stateMutability:
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
readonly
|
|
132
|
-
readonly
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
readonly
|
|
136
|
-
|
|
137
|
-
readonly internalType: 'uint256';
|
|
138
|
-
},
|
|
139
|
-
];
|
|
100
|
+
readonly stateMutability: "nonpayable";
|
|
101
|
+
}, {
|
|
102
|
+
readonly type: "function";
|
|
103
|
+
readonly name: "changeMaintenanceCollateralRatio";
|
|
104
|
+
readonly inputs: readonly [{
|
|
105
|
+
readonly name: "newRatioWith2Decimals";
|
|
106
|
+
readonly type: "uint256";
|
|
107
|
+
readonly internalType: "uint256";
|
|
108
|
+
}];
|
|
140
109
|
readonly outputs: readonly [];
|
|
141
|
-
readonly stateMutability:
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
readonly
|
|
145
|
-
readonly
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
readonly
|
|
149
|
-
|
|
150
|
-
readonly internalType: 'address';
|
|
151
|
-
},
|
|
152
|
-
];
|
|
110
|
+
readonly stateMutability: "nonpayable";
|
|
111
|
+
}, {
|
|
112
|
+
readonly type: "function";
|
|
113
|
+
readonly name: "changeOracle";
|
|
114
|
+
readonly inputs: readonly [{
|
|
115
|
+
readonly name: "newOracleAddr";
|
|
116
|
+
readonly type: "address";
|
|
117
|
+
readonly internalType: "address";
|
|
118
|
+
}];
|
|
153
119
|
readonly outputs: readonly [];
|
|
154
|
-
readonly stateMutability:
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
readonly
|
|
158
|
-
readonly name: 'claimCollateral';
|
|
120
|
+
readonly stateMutability: "nonpayable";
|
|
121
|
+
}, {
|
|
122
|
+
readonly type: "function";
|
|
123
|
+
readonly name: "claimCollateral";
|
|
159
124
|
readonly inputs: readonly [];
|
|
160
125
|
readonly outputs: readonly [];
|
|
161
|
-
readonly stateMutability:
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
readonly
|
|
165
|
-
readonly
|
|
166
|
-
readonly
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
readonly
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
readonly
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
readonly
|
|
192
|
-
|
|
193
|
-
readonly
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
readonly
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
readonly type:
|
|
204
|
-
readonly name:
|
|
205
|
-
readonly inputs: readonly [];
|
|
206
|
-
readonly outputs: readonly [
|
|
207
|
-
|
|
208
|
-
readonly
|
|
209
|
-
readonly
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
readonly
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
readonly
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
];
|
|
226
|
-
readonly
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
readonly
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
readonly
|
|
244
|
-
readonly
|
|
245
|
-
readonly
|
|
246
|
-
|
|
247
|
-
readonly name:
|
|
248
|
-
readonly type:
|
|
249
|
-
readonly internalType:
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
readonly
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
readonly name:
|
|
261
|
-
readonly type:
|
|
262
|
-
readonly internalType:
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
readonly name:
|
|
274
|
-
readonly type:
|
|
275
|
-
readonly internalType:
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
readonly type: 'function';
|
|
282
|
-
readonly name: 'fromTokenToToken';
|
|
283
|
-
readonly inputs: readonly [
|
|
284
|
-
{
|
|
285
|
-
readonly name: 'principalPrice';
|
|
286
|
-
readonly type: 'uint256';
|
|
287
|
-
readonly internalType: 'uint256';
|
|
288
|
-
},
|
|
289
|
-
{
|
|
290
|
-
readonly name: 'principalQty';
|
|
291
|
-
readonly type: 'uint256';
|
|
292
|
-
readonly internalType: 'uint256';
|
|
293
|
-
},
|
|
294
|
-
{
|
|
295
|
-
readonly name: 'collateralPrice';
|
|
296
|
-
readonly type: 'uint256';
|
|
297
|
-
readonly internalType: 'uint256';
|
|
298
|
-
},
|
|
299
|
-
{
|
|
300
|
-
readonly name: 'collateralDecimals';
|
|
301
|
-
readonly type: 'uint256';
|
|
302
|
-
readonly internalType: 'uint256';
|
|
303
|
-
},
|
|
304
|
-
];
|
|
305
|
-
readonly outputs: readonly [
|
|
306
|
-
{
|
|
307
|
-
readonly name: '';
|
|
308
|
-
readonly type: 'uint256';
|
|
309
|
-
readonly internalType: 'uint256';
|
|
310
|
-
},
|
|
311
|
-
];
|
|
312
|
-
readonly stateMutability: 'pure';
|
|
313
|
-
},
|
|
314
|
-
{
|
|
315
|
-
readonly type: 'function';
|
|
316
|
-
readonly name: 'fundLoan';
|
|
126
|
+
readonly stateMutability: "nonpayable";
|
|
127
|
+
}, {
|
|
128
|
+
readonly type: "function";
|
|
129
|
+
readonly name: "collateralAmountSeized";
|
|
130
|
+
readonly inputs: readonly [];
|
|
131
|
+
readonly outputs: readonly [{
|
|
132
|
+
readonly name: "";
|
|
133
|
+
readonly type: "uint256";
|
|
134
|
+
readonly internalType: "uint256";
|
|
135
|
+
}];
|
|
136
|
+
readonly stateMutability: "view";
|
|
137
|
+
}, {
|
|
138
|
+
readonly type: "function";
|
|
139
|
+
readonly name: "collateralToken";
|
|
140
|
+
readonly inputs: readonly [];
|
|
141
|
+
readonly outputs: readonly [{
|
|
142
|
+
readonly name: "";
|
|
143
|
+
readonly type: "address";
|
|
144
|
+
readonly internalType: "address";
|
|
145
|
+
}];
|
|
146
|
+
readonly stateMutability: "view";
|
|
147
|
+
}, {
|
|
148
|
+
readonly type: "function";
|
|
149
|
+
readonly name: "currentApr";
|
|
150
|
+
readonly inputs: readonly [];
|
|
151
|
+
readonly outputs: readonly [{
|
|
152
|
+
readonly name: "";
|
|
153
|
+
readonly type: "uint256";
|
|
154
|
+
readonly internalType: "uint256";
|
|
155
|
+
}];
|
|
156
|
+
readonly stateMutability: "view";
|
|
157
|
+
}, {
|
|
158
|
+
readonly type: "function";
|
|
159
|
+
readonly name: "cycleInterestsRepaid";
|
|
160
|
+
readonly inputs: readonly [];
|
|
161
|
+
readonly outputs: readonly [{
|
|
162
|
+
readonly name: "";
|
|
163
|
+
readonly type: "uint256";
|
|
164
|
+
readonly internalType: "uint256";
|
|
165
|
+
}];
|
|
166
|
+
readonly stateMutability: "view";
|
|
167
|
+
}, {
|
|
168
|
+
readonly type: "function";
|
|
169
|
+
readonly name: "deployedBy";
|
|
170
|
+
readonly inputs: readonly [];
|
|
171
|
+
readonly outputs: readonly [{
|
|
172
|
+
readonly name: "";
|
|
173
|
+
readonly type: "address";
|
|
174
|
+
readonly internalType: "address";
|
|
175
|
+
}];
|
|
176
|
+
readonly stateMutability: "view";
|
|
177
|
+
}, {
|
|
178
|
+
readonly type: "function";
|
|
179
|
+
readonly name: "effectiveLoanAmount";
|
|
180
|
+
readonly inputs: readonly [];
|
|
181
|
+
readonly outputs: readonly [{
|
|
182
|
+
readonly name: "";
|
|
183
|
+
readonly type: "uint256";
|
|
184
|
+
readonly internalType: "uint256";
|
|
185
|
+
}];
|
|
186
|
+
readonly stateMutability: "view";
|
|
187
|
+
}, {
|
|
188
|
+
readonly type: "function";
|
|
189
|
+
readonly name: "expiryInfo";
|
|
190
|
+
readonly inputs: readonly [];
|
|
191
|
+
readonly outputs: readonly [{
|
|
192
|
+
readonly name: "";
|
|
193
|
+
readonly type: "uint256";
|
|
194
|
+
readonly internalType: "uint256";
|
|
195
|
+
}];
|
|
196
|
+
readonly stateMutability: "view";
|
|
197
|
+
}, {
|
|
198
|
+
readonly type: "function";
|
|
199
|
+
readonly name: "feesCollector";
|
|
200
|
+
readonly inputs: readonly [];
|
|
201
|
+
readonly outputs: readonly [{
|
|
202
|
+
readonly name: "";
|
|
203
|
+
readonly type: "address";
|
|
204
|
+
readonly internalType: "address";
|
|
205
|
+
}];
|
|
206
|
+
readonly stateMutability: "view";
|
|
207
|
+
}, {
|
|
208
|
+
readonly type: "function";
|
|
209
|
+
readonly name: "feesOracle";
|
|
210
|
+
readonly inputs: readonly [];
|
|
211
|
+
readonly outputs: readonly [{
|
|
212
|
+
readonly name: "";
|
|
213
|
+
readonly type: "address";
|
|
214
|
+
readonly internalType: "address";
|
|
215
|
+
}];
|
|
216
|
+
readonly stateMutability: "view";
|
|
217
|
+
}, {
|
|
218
|
+
readonly type: "function";
|
|
219
|
+
readonly name: "fromTokenToToken";
|
|
220
|
+
readonly inputs: readonly [{
|
|
221
|
+
readonly name: "principalPrice";
|
|
222
|
+
readonly type: "uint256";
|
|
223
|
+
readonly internalType: "uint256";
|
|
224
|
+
}, {
|
|
225
|
+
readonly name: "principalQty";
|
|
226
|
+
readonly type: "uint256";
|
|
227
|
+
readonly internalType: "uint256";
|
|
228
|
+
}, {
|
|
229
|
+
readonly name: "collateralPrice";
|
|
230
|
+
readonly type: "uint256";
|
|
231
|
+
readonly internalType: "uint256";
|
|
232
|
+
}, {
|
|
233
|
+
readonly name: "collateralDecimals";
|
|
234
|
+
readonly type: "uint256";
|
|
235
|
+
readonly internalType: "uint256";
|
|
236
|
+
}];
|
|
237
|
+
readonly outputs: readonly [{
|
|
238
|
+
readonly name: "";
|
|
239
|
+
readonly type: "uint256";
|
|
240
|
+
readonly internalType: "uint256";
|
|
241
|
+
}];
|
|
242
|
+
readonly stateMutability: "pure";
|
|
243
|
+
}, {
|
|
244
|
+
readonly type: "function";
|
|
245
|
+
readonly name: "fundLoan";
|
|
317
246
|
readonly inputs: readonly [];
|
|
318
247
|
readonly outputs: readonly [];
|
|
319
|
-
readonly stateMutability:
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
readonly
|
|
323
|
-
readonly
|
|
324
|
-
readonly
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
readonly
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
readonly
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
readonly
|
|
350
|
-
|
|
351
|
-
readonly
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
readonly
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
readonly
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
readonly
|
|
372
|
-
|
|
373
|
-
readonly
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
readonly
|
|
386
|
-
readonly
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
readonly name:
|
|
390
|
-
readonly type:
|
|
391
|
-
readonly internalType:
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
readonly name:
|
|
400
|
-
readonly type:
|
|
401
|
-
readonly internalType:
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
readonly
|
|
410
|
-
readonly
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
readonly
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
readonly
|
|
448
|
-
readonly
|
|
449
|
-
|
|
450
|
-
];
|
|
451
|
-
readonly stateMutability:
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
readonly
|
|
455
|
-
readonly
|
|
456
|
-
readonly
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
readonly
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
readonly
|
|
465
|
-
},
|
|
466
|
-
{
|
|
467
|
-
readonly type: 'function';
|
|
468
|
-
readonly name: 'lateInterestFee';
|
|
469
|
-
readonly inputs: readonly [];
|
|
470
|
-
readonly outputs: readonly [
|
|
471
|
-
{
|
|
472
|
-
readonly name: '';
|
|
473
|
-
readonly type: 'uint256';
|
|
474
|
-
readonly internalType: 'uint256';
|
|
475
|
-
},
|
|
476
|
-
];
|
|
477
|
-
readonly stateMutability: 'view';
|
|
478
|
-
},
|
|
479
|
-
{
|
|
480
|
-
readonly type: 'function';
|
|
481
|
-
readonly name: 'latePrincipalFee';
|
|
482
|
-
readonly inputs: readonly [];
|
|
483
|
-
readonly outputs: readonly [
|
|
484
|
-
{
|
|
485
|
-
readonly name: '';
|
|
486
|
-
readonly type: 'uint256';
|
|
487
|
-
readonly internalType: 'uint256';
|
|
488
|
-
},
|
|
489
|
-
];
|
|
490
|
-
readonly stateMutability: 'view';
|
|
491
|
-
},
|
|
492
|
-
{
|
|
493
|
-
readonly type: 'function';
|
|
494
|
-
readonly name: 'lender';
|
|
495
|
-
readonly inputs: readonly [];
|
|
496
|
-
readonly outputs: readonly [
|
|
497
|
-
{
|
|
498
|
-
readonly name: '';
|
|
499
|
-
readonly type: 'address';
|
|
500
|
-
readonly internalType: 'address';
|
|
501
|
-
},
|
|
502
|
-
];
|
|
503
|
-
readonly stateMutability: 'view';
|
|
504
|
-
},
|
|
505
|
-
{
|
|
506
|
-
readonly type: 'function';
|
|
507
|
-
readonly name: 'liquidate';
|
|
248
|
+
readonly stateMutability: "nonpayable";
|
|
249
|
+
}, {
|
|
250
|
+
readonly type: "function";
|
|
251
|
+
readonly name: "fundedOn";
|
|
252
|
+
readonly inputs: readonly [];
|
|
253
|
+
readonly outputs: readonly [{
|
|
254
|
+
readonly name: "";
|
|
255
|
+
readonly type: "uint256";
|
|
256
|
+
readonly internalType: "uint256";
|
|
257
|
+
}];
|
|
258
|
+
readonly stateMutability: "view";
|
|
259
|
+
}, {
|
|
260
|
+
readonly type: "function";
|
|
261
|
+
readonly name: "fundingDeadline";
|
|
262
|
+
readonly inputs: readonly [];
|
|
263
|
+
readonly outputs: readonly [{
|
|
264
|
+
readonly name: "";
|
|
265
|
+
readonly type: "uint256";
|
|
266
|
+
readonly internalType: "uint256";
|
|
267
|
+
}];
|
|
268
|
+
readonly stateMutability: "view";
|
|
269
|
+
}, {
|
|
270
|
+
readonly type: "function";
|
|
271
|
+
readonly name: "fundingPeriod";
|
|
272
|
+
readonly inputs: readonly [];
|
|
273
|
+
readonly outputs: readonly [{
|
|
274
|
+
readonly name: "";
|
|
275
|
+
readonly type: "uint256";
|
|
276
|
+
readonly internalType: "uint256";
|
|
277
|
+
}];
|
|
278
|
+
readonly stateMutability: "view";
|
|
279
|
+
}, {
|
|
280
|
+
readonly type: "function";
|
|
281
|
+
readonly name: "getCollateralRequirements";
|
|
282
|
+
readonly inputs: readonly [];
|
|
283
|
+
readonly outputs: readonly [{
|
|
284
|
+
readonly name: "initialCollateralAmount";
|
|
285
|
+
readonly type: "uint256";
|
|
286
|
+
readonly internalType: "uint256";
|
|
287
|
+
}, {
|
|
288
|
+
readonly name: "maintenanceCollateralAmount";
|
|
289
|
+
readonly type: "uint256";
|
|
290
|
+
readonly internalType: "uint256";
|
|
291
|
+
}];
|
|
292
|
+
readonly stateMutability: "view";
|
|
293
|
+
}, {
|
|
294
|
+
readonly type: "function";
|
|
295
|
+
readonly name: "getDebt";
|
|
296
|
+
readonly inputs: readonly [];
|
|
297
|
+
readonly outputs: readonly [{
|
|
298
|
+
readonly name: "currentBillingCycle";
|
|
299
|
+
readonly type: "uint256";
|
|
300
|
+
readonly internalType: "uint256";
|
|
301
|
+
}, {
|
|
302
|
+
readonly name: "cyclesSinceLastAprUpdate";
|
|
303
|
+
readonly type: "uint256";
|
|
304
|
+
readonly internalType: "uint256";
|
|
305
|
+
}, {
|
|
306
|
+
readonly name: "interestOwed";
|
|
307
|
+
readonly type: "uint256";
|
|
308
|
+
readonly internalType: "uint256";
|
|
309
|
+
}, {
|
|
310
|
+
readonly name: "applicableLateFee";
|
|
311
|
+
readonly type: "uint256";
|
|
312
|
+
readonly internalType: "uint256";
|
|
313
|
+
}, {
|
|
314
|
+
readonly name: "minPaymentAmount";
|
|
315
|
+
readonly type: "uint256";
|
|
316
|
+
readonly internalType: "uint256";
|
|
317
|
+
}, {
|
|
318
|
+
readonly name: "maxPaymentAmount";
|
|
319
|
+
readonly type: "uint256";
|
|
320
|
+
readonly internalType: "uint256";
|
|
321
|
+
}];
|
|
322
|
+
readonly stateMutability: "view";
|
|
323
|
+
}, {
|
|
324
|
+
readonly type: "function";
|
|
325
|
+
readonly name: "getNextPaymentDate";
|
|
326
|
+
readonly inputs: readonly [];
|
|
327
|
+
readonly outputs: readonly [{
|
|
328
|
+
readonly name: "";
|
|
329
|
+
readonly type: "uint256";
|
|
330
|
+
readonly internalType: "uint256";
|
|
331
|
+
}];
|
|
332
|
+
readonly stateMutability: "view";
|
|
333
|
+
}, {
|
|
334
|
+
readonly type: "function";
|
|
335
|
+
readonly name: "getUpcomingAmountAfterFees";
|
|
336
|
+
readonly inputs: readonly [{
|
|
337
|
+
readonly name: "paymentAmount";
|
|
338
|
+
readonly type: "uint256";
|
|
339
|
+
readonly internalType: "uint256";
|
|
340
|
+
}];
|
|
341
|
+
readonly outputs: readonly [{
|
|
342
|
+
readonly name: "upcomingPaymentAmountAfterFees";
|
|
343
|
+
readonly type: "uint256";
|
|
344
|
+
readonly internalType: "uint256";
|
|
345
|
+
}, {
|
|
346
|
+
readonly name: "upcomingNetDebtAfterFees";
|
|
347
|
+
readonly type: "uint256";
|
|
348
|
+
readonly internalType: "uint256";
|
|
349
|
+
}];
|
|
350
|
+
readonly stateMutability: "view";
|
|
351
|
+
}, {
|
|
352
|
+
readonly type: "function";
|
|
353
|
+
readonly name: "initialCollateralRatio";
|
|
354
|
+
readonly inputs: readonly [];
|
|
355
|
+
readonly outputs: readonly [{
|
|
356
|
+
readonly name: "";
|
|
357
|
+
readonly type: "uint256";
|
|
358
|
+
readonly internalType: "uint256";
|
|
359
|
+
}];
|
|
360
|
+
readonly stateMutability: "view";
|
|
361
|
+
}, {
|
|
362
|
+
readonly type: "function";
|
|
363
|
+
readonly name: "lateInterestFee";
|
|
364
|
+
readonly inputs: readonly [];
|
|
365
|
+
readonly outputs: readonly [{
|
|
366
|
+
readonly name: "";
|
|
367
|
+
readonly type: "uint256";
|
|
368
|
+
readonly internalType: "uint256";
|
|
369
|
+
}];
|
|
370
|
+
readonly stateMutability: "view";
|
|
371
|
+
}, {
|
|
372
|
+
readonly type: "function";
|
|
373
|
+
readonly name: "latePrincipalFee";
|
|
374
|
+
readonly inputs: readonly [];
|
|
375
|
+
readonly outputs: readonly [{
|
|
376
|
+
readonly name: "";
|
|
377
|
+
readonly type: "uint256";
|
|
378
|
+
readonly internalType: "uint256";
|
|
379
|
+
}];
|
|
380
|
+
readonly stateMutability: "view";
|
|
381
|
+
}, {
|
|
382
|
+
readonly type: "function";
|
|
383
|
+
readonly name: "lender";
|
|
384
|
+
readonly inputs: readonly [];
|
|
385
|
+
readonly outputs: readonly [{
|
|
386
|
+
readonly name: "";
|
|
387
|
+
readonly type: "address";
|
|
388
|
+
readonly internalType: "address";
|
|
389
|
+
}];
|
|
390
|
+
readonly stateMutability: "view";
|
|
391
|
+
}, {
|
|
392
|
+
readonly type: "function";
|
|
393
|
+
readonly name: "liquidate";
|
|
508
394
|
readonly inputs: readonly [];
|
|
509
395
|
readonly outputs: readonly [];
|
|
510
|
-
readonly stateMutability:
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
readonly
|
|
514
|
-
readonly
|
|
515
|
-
readonly
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
readonly
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
readonly
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
readonly
|
|
541
|
-
|
|
542
|
-
readonly
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
readonly
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
readonly type:
|
|
553
|
-
readonly name:
|
|
554
|
-
readonly inputs: readonly [];
|
|
555
|
-
readonly outputs: readonly [
|
|
556
|
-
|
|
557
|
-
readonly
|
|
558
|
-
readonly
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
readonly
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
readonly
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
];
|
|
575
|
-
readonly
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
readonly
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
readonly
|
|
593
|
-
readonly
|
|
594
|
-
readonly
|
|
595
|
-
|
|
596
|
-
readonly name:
|
|
597
|
-
readonly type:
|
|
598
|
-
readonly internalType:
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
readonly
|
|
605
|
-
readonly
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
readonly
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
readonly
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
{
|
|
630
|
-
readonly type: 'function';
|
|
631
|
-
readonly name: 'principalRepaid';
|
|
632
|
-
readonly inputs: readonly [];
|
|
633
|
-
readonly outputs: readonly [
|
|
634
|
-
{
|
|
635
|
-
readonly name: '';
|
|
636
|
-
readonly type: 'uint256';
|
|
637
|
-
readonly internalType: 'uint256';
|
|
638
|
-
},
|
|
639
|
-
];
|
|
640
|
-
readonly stateMutability: 'view';
|
|
641
|
-
},
|
|
642
|
-
{
|
|
643
|
-
readonly type: 'function';
|
|
644
|
-
readonly name: 'principalToken';
|
|
645
|
-
readonly inputs: readonly [];
|
|
646
|
-
readonly outputs: readonly [
|
|
647
|
-
{
|
|
648
|
-
readonly name: '';
|
|
649
|
-
readonly type: 'address';
|
|
650
|
-
readonly internalType: 'address';
|
|
651
|
-
},
|
|
652
|
-
];
|
|
653
|
-
readonly stateMutability: 'view';
|
|
654
|
-
},
|
|
655
|
-
{
|
|
656
|
-
readonly type: 'function';
|
|
657
|
-
readonly name: 'proposeNewApr';
|
|
658
|
-
readonly inputs: readonly [
|
|
659
|
-
{
|
|
660
|
-
readonly name: 'newAprWithTwoDecimals';
|
|
661
|
-
readonly type: 'uint256';
|
|
662
|
-
readonly internalType: 'uint256';
|
|
663
|
-
},
|
|
664
|
-
];
|
|
396
|
+
readonly stateMutability: "nonpayable";
|
|
397
|
+
}, {
|
|
398
|
+
readonly type: "function";
|
|
399
|
+
readonly name: "loanAmountInPrincipalTokens";
|
|
400
|
+
readonly inputs: readonly [];
|
|
401
|
+
readonly outputs: readonly [{
|
|
402
|
+
readonly name: "";
|
|
403
|
+
readonly type: "uint256";
|
|
404
|
+
readonly internalType: "uint256";
|
|
405
|
+
}];
|
|
406
|
+
readonly stateMutability: "view";
|
|
407
|
+
}, {
|
|
408
|
+
readonly type: "function";
|
|
409
|
+
readonly name: "loanState";
|
|
410
|
+
readonly inputs: readonly [];
|
|
411
|
+
readonly outputs: readonly [{
|
|
412
|
+
readonly name: "";
|
|
413
|
+
readonly type: "uint8";
|
|
414
|
+
readonly internalType: "uint8";
|
|
415
|
+
}];
|
|
416
|
+
readonly stateMutability: "view";
|
|
417
|
+
}, {
|
|
418
|
+
readonly type: "function";
|
|
419
|
+
readonly name: "loanTypeInfo";
|
|
420
|
+
readonly inputs: readonly [];
|
|
421
|
+
readonly outputs: readonly [{
|
|
422
|
+
readonly name: "";
|
|
423
|
+
readonly type: "string";
|
|
424
|
+
readonly internalType: "string";
|
|
425
|
+
}];
|
|
426
|
+
readonly stateMutability: "view";
|
|
427
|
+
}, {
|
|
428
|
+
readonly type: "function";
|
|
429
|
+
readonly name: "maintenanceCollateralRatio";
|
|
430
|
+
readonly inputs: readonly [];
|
|
431
|
+
readonly outputs: readonly [{
|
|
432
|
+
readonly name: "";
|
|
433
|
+
readonly type: "uint256";
|
|
434
|
+
readonly internalType: "uint256";
|
|
435
|
+
}];
|
|
436
|
+
readonly stateMutability: "view";
|
|
437
|
+
}, {
|
|
438
|
+
readonly type: "function";
|
|
439
|
+
readonly name: "manager";
|
|
440
|
+
readonly inputs: readonly [];
|
|
441
|
+
readonly outputs: readonly [{
|
|
442
|
+
readonly name: "";
|
|
443
|
+
readonly type: "address";
|
|
444
|
+
readonly internalType: "address";
|
|
445
|
+
}];
|
|
446
|
+
readonly stateMutability: "view";
|
|
447
|
+
}, {
|
|
448
|
+
readonly type: "function";
|
|
449
|
+
readonly name: "minInterestAmount";
|
|
450
|
+
readonly inputs: readonly [];
|
|
451
|
+
readonly outputs: readonly [{
|
|
452
|
+
readonly name: "";
|
|
453
|
+
readonly type: "uint256";
|
|
454
|
+
readonly internalType: "uint256";
|
|
455
|
+
}];
|
|
456
|
+
readonly stateMutability: "view";
|
|
457
|
+
}, {
|
|
458
|
+
readonly type: "function";
|
|
459
|
+
readonly name: "paymentIntervalInSeconds";
|
|
460
|
+
readonly inputs: readonly [];
|
|
461
|
+
readonly outputs: readonly [{
|
|
462
|
+
readonly name: "";
|
|
463
|
+
readonly type: "uint256";
|
|
464
|
+
readonly internalType: "uint256";
|
|
465
|
+
}];
|
|
466
|
+
readonly stateMutability: "view";
|
|
467
|
+
}, {
|
|
468
|
+
readonly type: "function";
|
|
469
|
+
readonly name: "priceOracle";
|
|
470
|
+
readonly inputs: readonly [];
|
|
471
|
+
readonly outputs: readonly [{
|
|
472
|
+
readonly name: "";
|
|
473
|
+
readonly type: "address";
|
|
474
|
+
readonly internalType: "address";
|
|
475
|
+
}];
|
|
476
|
+
readonly stateMutability: "view";
|
|
477
|
+
}, {
|
|
478
|
+
readonly type: "function";
|
|
479
|
+
readonly name: "principalAmount";
|
|
480
|
+
readonly inputs: readonly [];
|
|
481
|
+
readonly outputs: readonly [{
|
|
482
|
+
readonly name: "";
|
|
483
|
+
readonly type: "uint256";
|
|
484
|
+
readonly internalType: "uint256";
|
|
485
|
+
}];
|
|
486
|
+
readonly stateMutability: "view";
|
|
487
|
+
}, {
|
|
488
|
+
readonly type: "function";
|
|
489
|
+
readonly name: "principalRepaid";
|
|
490
|
+
readonly inputs: readonly [];
|
|
491
|
+
readonly outputs: readonly [{
|
|
492
|
+
readonly name: "";
|
|
493
|
+
readonly type: "uint256";
|
|
494
|
+
readonly internalType: "uint256";
|
|
495
|
+
}];
|
|
496
|
+
readonly stateMutability: "view";
|
|
497
|
+
}, {
|
|
498
|
+
readonly type: "function";
|
|
499
|
+
readonly name: "principalToken";
|
|
500
|
+
readonly inputs: readonly [];
|
|
501
|
+
readonly outputs: readonly [{
|
|
502
|
+
readonly name: "";
|
|
503
|
+
readonly type: "address";
|
|
504
|
+
readonly internalType: "address";
|
|
505
|
+
}];
|
|
506
|
+
readonly stateMutability: "view";
|
|
507
|
+
}, {
|
|
508
|
+
readonly type: "function";
|
|
509
|
+
readonly name: "proposeNewApr";
|
|
510
|
+
readonly inputs: readonly [{
|
|
511
|
+
readonly name: "newAprWithTwoDecimals";
|
|
512
|
+
readonly type: "uint256";
|
|
513
|
+
readonly internalType: "uint256";
|
|
514
|
+
}];
|
|
665
515
|
readonly outputs: readonly [];
|
|
666
|
-
readonly stateMutability:
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
readonly
|
|
670
|
-
readonly
|
|
671
|
-
readonly
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
readonly
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
readonly
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
{
|
|
686
|
-
readonly name: 'paymentAmount';
|
|
687
|
-
readonly type: 'uint256';
|
|
688
|
-
readonly internalType: 'uint256';
|
|
689
|
-
},
|
|
690
|
-
];
|
|
516
|
+
readonly stateMutability: "nonpayable";
|
|
517
|
+
}, {
|
|
518
|
+
readonly type: "function";
|
|
519
|
+
readonly name: "proposedApr";
|
|
520
|
+
readonly inputs: readonly [];
|
|
521
|
+
readonly outputs: readonly [{
|
|
522
|
+
readonly name: "";
|
|
523
|
+
readonly type: "uint256";
|
|
524
|
+
readonly internalType: "uint256";
|
|
525
|
+
}];
|
|
526
|
+
readonly stateMutability: "view";
|
|
527
|
+
}, {
|
|
528
|
+
readonly type: "function";
|
|
529
|
+
readonly name: "repay";
|
|
530
|
+
readonly inputs: readonly [{
|
|
531
|
+
readonly name: "paymentAmount";
|
|
532
|
+
readonly type: "uint256";
|
|
533
|
+
readonly internalType: "uint256";
|
|
534
|
+
}];
|
|
691
535
|
readonly outputs: readonly [];
|
|
692
|
-
readonly stateMutability:
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
readonly
|
|
696
|
-
readonly name: 'repayInterests';
|
|
536
|
+
readonly stateMutability: "nonpayable";
|
|
537
|
+
}, {
|
|
538
|
+
readonly type: "function";
|
|
539
|
+
readonly name: "repayInterests";
|
|
697
540
|
readonly inputs: readonly [];
|
|
698
541
|
readonly outputs: readonly [];
|
|
699
|
-
readonly stateMutability:
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
readonly
|
|
703
|
-
readonly
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
readonly
|
|
707
|
-
|
|
708
|
-
readonly internalType: 'uint256';
|
|
709
|
-
},
|
|
710
|
-
];
|
|
542
|
+
readonly stateMutability: "nonpayable";
|
|
543
|
+
}, {
|
|
544
|
+
readonly type: "function";
|
|
545
|
+
readonly name: "repayPrincipal";
|
|
546
|
+
readonly inputs: readonly [{
|
|
547
|
+
readonly name: "paymentAmountInTokens";
|
|
548
|
+
readonly type: "uint256";
|
|
549
|
+
readonly internalType: "uint256";
|
|
550
|
+
}];
|
|
711
551
|
readonly outputs: readonly [];
|
|
712
|
-
readonly stateMutability:
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
readonly
|
|
716
|
-
readonly
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
readonly
|
|
720
|
-
|
|
721
|
-
readonly internalType: 'uint256';
|
|
722
|
-
},
|
|
723
|
-
];
|
|
552
|
+
readonly stateMutability: "nonpayable";
|
|
553
|
+
}, {
|
|
554
|
+
readonly type: "function";
|
|
555
|
+
readonly name: "returnCollateral";
|
|
556
|
+
readonly inputs: readonly [{
|
|
557
|
+
readonly name: "depositAmount";
|
|
558
|
+
readonly type: "uint256";
|
|
559
|
+
readonly internalType: "uint256";
|
|
560
|
+
}];
|
|
724
561
|
readonly outputs: readonly [];
|
|
725
|
-
readonly stateMutability:
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
readonly
|
|
729
|
-
readonly
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
readonly
|
|
733
|
-
|
|
734
|
-
readonly internalType: 'uint256';
|
|
735
|
-
},
|
|
736
|
-
];
|
|
562
|
+
readonly stateMutability: "nonpayable";
|
|
563
|
+
}, {
|
|
564
|
+
readonly type: "function";
|
|
565
|
+
readonly name: "seizeCollateral";
|
|
566
|
+
readonly inputs: readonly [{
|
|
567
|
+
readonly name: "amount";
|
|
568
|
+
readonly type: "uint256";
|
|
569
|
+
readonly internalType: "uint256";
|
|
570
|
+
}];
|
|
737
571
|
readonly outputs: readonly [];
|
|
738
|
-
readonly stateMutability:
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
readonly
|
|
742
|
-
readonly
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
readonly
|
|
746
|
-
|
|
747
|
-
readonly internalType: 'address';
|
|
748
|
-
},
|
|
749
|
-
];
|
|
572
|
+
readonly stateMutability: "nonpayable";
|
|
573
|
+
}, {
|
|
574
|
+
readonly type: "function";
|
|
575
|
+
readonly name: "setFeesCollector";
|
|
576
|
+
readonly inputs: readonly [{
|
|
577
|
+
readonly name: "newFeesCollector";
|
|
578
|
+
readonly type: "address";
|
|
579
|
+
readonly internalType: "address";
|
|
580
|
+
}];
|
|
750
581
|
readonly outputs: readonly [];
|
|
751
|
-
readonly stateMutability:
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
readonly
|
|
755
|
-
readonly
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
readonly
|
|
759
|
-
|
|
760
|
-
readonly internalType: 'address';
|
|
761
|
-
},
|
|
762
|
-
];
|
|
582
|
+
readonly stateMutability: "nonpayable";
|
|
583
|
+
}, {
|
|
584
|
+
readonly type: "function";
|
|
585
|
+
readonly name: "setFeesOracle";
|
|
586
|
+
readonly inputs: readonly [{
|
|
587
|
+
readonly name: "newFeesOracle";
|
|
588
|
+
readonly type: "address";
|
|
589
|
+
readonly internalType: "address";
|
|
590
|
+
}];
|
|
763
591
|
readonly outputs: readonly [];
|
|
764
|
-
readonly stateMutability:
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
readonly
|
|
768
|
-
readonly
|
|
769
|
-
readonly
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
readonly
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
readonly
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
readonly name: 'newExpiryInfo';
|
|
798
|
-
readonly type: 'uint256';
|
|
799
|
-
readonly internalType: 'uint256';
|
|
800
|
-
},
|
|
801
|
-
{
|
|
802
|
-
readonly name: 'newLoanTypeInfo';
|
|
803
|
-
readonly type: 'string';
|
|
804
|
-
readonly internalType: 'string';
|
|
805
|
-
},
|
|
806
|
-
];
|
|
592
|
+
readonly stateMutability: "nonpayable";
|
|
593
|
+
}, {
|
|
594
|
+
readonly type: "function";
|
|
595
|
+
readonly name: "totalInterestPaymentFees";
|
|
596
|
+
readonly inputs: readonly [];
|
|
597
|
+
readonly outputs: readonly [{
|
|
598
|
+
readonly name: "";
|
|
599
|
+
readonly type: "uint256";
|
|
600
|
+
readonly internalType: "uint256";
|
|
601
|
+
}];
|
|
602
|
+
readonly stateMutability: "view";
|
|
603
|
+
}, {
|
|
604
|
+
readonly type: "function";
|
|
605
|
+
readonly name: "totalInterestRepaid";
|
|
606
|
+
readonly inputs: readonly [];
|
|
607
|
+
readonly outputs: readonly [{
|
|
608
|
+
readonly name: "";
|
|
609
|
+
readonly type: "uint256";
|
|
610
|
+
readonly internalType: "uint256";
|
|
611
|
+
}];
|
|
612
|
+
readonly stateMutability: "view";
|
|
613
|
+
}, {
|
|
614
|
+
readonly type: "function";
|
|
615
|
+
readonly name: "updateInfo";
|
|
616
|
+
readonly inputs: readonly [{
|
|
617
|
+
readonly name: "newExpiryInfo";
|
|
618
|
+
readonly type: "uint256";
|
|
619
|
+
readonly internalType: "uint256";
|
|
620
|
+
}, {
|
|
621
|
+
readonly name: "newLoanTypeInfo";
|
|
622
|
+
readonly type: "string";
|
|
623
|
+
readonly internalType: "string";
|
|
624
|
+
}];
|
|
807
625
|
readonly outputs: readonly [];
|
|
808
|
-
readonly stateMutability:
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
readonly
|
|
812
|
-
readonly
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
readonly name: 'oldApr';
|
|
816
|
-
readonly type: 'uint256';
|
|
626
|
+
readonly stateMutability: "nonpayable";
|
|
627
|
+
}, {
|
|
628
|
+
readonly type: "event";
|
|
629
|
+
readonly name: "OnAprAcceptedByBorrower";
|
|
630
|
+
readonly inputs: readonly [{
|
|
631
|
+
readonly name: "oldApr";
|
|
632
|
+
readonly type: "uint256";
|
|
817
633
|
readonly indexed: false;
|
|
818
|
-
readonly internalType:
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
readonly
|
|
822
|
-
readonly type: 'uint256';
|
|
634
|
+
readonly internalType: "uint256";
|
|
635
|
+
}, {
|
|
636
|
+
readonly name: "newApr";
|
|
637
|
+
readonly type: "uint256";
|
|
823
638
|
readonly indexed: false;
|
|
824
|
-
readonly internalType:
|
|
825
|
-
|
|
826
|
-
];
|
|
639
|
+
readonly internalType: "uint256";
|
|
640
|
+
}];
|
|
827
641
|
readonly anonymous: false;
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
readonly
|
|
831
|
-
readonly name: 'OnBorrowerCommitment';
|
|
642
|
+
}, {
|
|
643
|
+
readonly type: "event";
|
|
644
|
+
readonly name: "OnBorrowerCommitment";
|
|
832
645
|
readonly inputs: readonly [];
|
|
833
646
|
readonly anonymous: false;
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
readonly
|
|
837
|
-
readonly
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
readonly name: 'numberOfTokens';
|
|
841
|
-
readonly type: 'uint256';
|
|
647
|
+
}, {
|
|
648
|
+
readonly type: "event";
|
|
649
|
+
readonly name: "OnBorrowerWithdrawal";
|
|
650
|
+
readonly inputs: readonly [{
|
|
651
|
+
readonly name: "numberOfTokens";
|
|
652
|
+
readonly type: "uint256";
|
|
842
653
|
readonly indexed: false;
|
|
843
|
-
readonly internalType:
|
|
844
|
-
|
|
845
|
-
];
|
|
654
|
+
readonly internalType: "uint256";
|
|
655
|
+
}];
|
|
846
656
|
readonly anonymous: false;
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
readonly
|
|
850
|
-
readonly
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
readonly name: 'amount';
|
|
854
|
-
readonly type: 'uint256';
|
|
657
|
+
}, {
|
|
658
|
+
readonly type: "event";
|
|
659
|
+
readonly name: "OnCollateralCaptured";
|
|
660
|
+
readonly inputs: readonly [{
|
|
661
|
+
readonly name: "amount";
|
|
662
|
+
readonly type: "uint256";
|
|
855
663
|
readonly indexed: false;
|
|
856
|
-
readonly internalType:
|
|
857
|
-
|
|
858
|
-
];
|
|
664
|
+
readonly internalType: "uint256";
|
|
665
|
+
}];
|
|
859
666
|
readonly anonymous: false;
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
readonly
|
|
863
|
-
readonly
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
readonly name: 'collateralClaimed';
|
|
867
|
-
readonly type: 'uint256';
|
|
667
|
+
}, {
|
|
668
|
+
readonly type: "event";
|
|
669
|
+
readonly name: "OnCollateralClaimed";
|
|
670
|
+
readonly inputs: readonly [{
|
|
671
|
+
readonly name: "collateralClaimed";
|
|
672
|
+
readonly type: "uint256";
|
|
868
673
|
readonly indexed: false;
|
|
869
|
-
readonly internalType:
|
|
870
|
-
|
|
871
|
-
];
|
|
674
|
+
readonly internalType: "uint256";
|
|
675
|
+
}];
|
|
872
676
|
readonly anonymous: false;
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
readonly
|
|
876
|
-
readonly
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
readonly name: 'prevValue';
|
|
880
|
-
readonly type: 'uint256';
|
|
677
|
+
}, {
|
|
678
|
+
readonly type: "event";
|
|
679
|
+
readonly name: "OnCollateralRatioChanged";
|
|
680
|
+
readonly inputs: readonly [{
|
|
681
|
+
readonly name: "prevValue";
|
|
682
|
+
readonly type: "uint256";
|
|
881
683
|
readonly indexed: false;
|
|
882
|
-
readonly internalType:
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
readonly
|
|
886
|
-
readonly type: 'uint256';
|
|
684
|
+
readonly internalType: "uint256";
|
|
685
|
+
}, {
|
|
686
|
+
readonly name: "newValue";
|
|
687
|
+
readonly type: "uint256";
|
|
887
688
|
readonly indexed: false;
|
|
888
|
-
readonly internalType:
|
|
889
|
-
|
|
890
|
-
];
|
|
689
|
+
readonly internalType: "uint256";
|
|
690
|
+
}];
|
|
891
691
|
readonly anonymous: false;
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
readonly
|
|
895
|
-
readonly
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
readonly name: 'depositAmount';
|
|
899
|
-
readonly type: 'uint256';
|
|
692
|
+
}, {
|
|
693
|
+
readonly type: "event";
|
|
694
|
+
readonly name: "OnCollateralRedeposited";
|
|
695
|
+
readonly inputs: readonly [{
|
|
696
|
+
readonly name: "depositAmount";
|
|
697
|
+
readonly type: "uint256";
|
|
900
698
|
readonly indexed: false;
|
|
901
|
-
readonly internalType:
|
|
902
|
-
|
|
903
|
-
];
|
|
699
|
+
readonly internalType: "uint256";
|
|
700
|
+
}];
|
|
904
701
|
readonly anonymous: false;
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
readonly
|
|
908
|
-
readonly
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
readonly name: 'feePercent';
|
|
912
|
-
readonly type: 'uint256';
|
|
702
|
+
}, {
|
|
703
|
+
readonly type: "event";
|
|
704
|
+
readonly name: "OnFeeProcessed";
|
|
705
|
+
readonly inputs: readonly [{
|
|
706
|
+
readonly name: "feePercent";
|
|
707
|
+
readonly type: "uint256";
|
|
913
708
|
readonly indexed: false;
|
|
914
|
-
readonly internalType:
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
readonly
|
|
918
|
-
readonly type: 'uint256';
|
|
709
|
+
readonly internalType: "uint256";
|
|
710
|
+
}, {
|
|
711
|
+
readonly name: "feeAmount";
|
|
712
|
+
readonly type: "uint256";
|
|
919
713
|
readonly indexed: false;
|
|
920
|
-
readonly internalType:
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
readonly
|
|
924
|
-
readonly type: 'address';
|
|
714
|
+
readonly internalType: "uint256";
|
|
715
|
+
}, {
|
|
716
|
+
readonly name: "from";
|
|
717
|
+
readonly type: "address";
|
|
925
718
|
readonly indexed: false;
|
|
926
|
-
readonly internalType:
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
readonly
|
|
930
|
-
readonly type: 'address';
|
|
719
|
+
readonly internalType: "address";
|
|
720
|
+
}, {
|
|
721
|
+
readonly name: "to";
|
|
722
|
+
readonly type: "address";
|
|
931
723
|
readonly indexed: false;
|
|
932
|
-
readonly internalType:
|
|
933
|
-
|
|
934
|
-
];
|
|
724
|
+
readonly internalType: "address";
|
|
725
|
+
}];
|
|
935
726
|
readonly anonymous: false;
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
readonly
|
|
939
|
-
readonly
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
readonly name: 'paymentAmountTokens';
|
|
943
|
-
readonly type: 'uint256';
|
|
727
|
+
}, {
|
|
728
|
+
readonly type: "event";
|
|
729
|
+
readonly name: "OnInterestsRepayment";
|
|
730
|
+
readonly inputs: readonly [{
|
|
731
|
+
readonly name: "paymentAmountTokens";
|
|
732
|
+
readonly type: "uint256";
|
|
944
733
|
readonly indexed: false;
|
|
945
|
-
readonly internalType:
|
|
946
|
-
|
|
947
|
-
];
|
|
734
|
+
readonly internalType: "uint256";
|
|
735
|
+
}];
|
|
948
736
|
readonly anonymous: false;
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
readonly
|
|
952
|
-
readonly
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
readonly name: 'prevLateInterestFee';
|
|
956
|
-
readonly type: 'uint256';
|
|
737
|
+
}, {
|
|
738
|
+
readonly type: "event";
|
|
739
|
+
readonly name: "OnLateFeesChanged";
|
|
740
|
+
readonly inputs: readonly [{
|
|
741
|
+
readonly name: "prevLateInterestFee";
|
|
742
|
+
readonly type: "uint256";
|
|
957
743
|
readonly indexed: false;
|
|
958
|
-
readonly internalType:
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
readonly
|
|
962
|
-
readonly type: 'uint256';
|
|
744
|
+
readonly internalType: "uint256";
|
|
745
|
+
}, {
|
|
746
|
+
readonly name: "newLateInterestFee";
|
|
747
|
+
readonly type: "uint256";
|
|
963
748
|
readonly indexed: false;
|
|
964
|
-
readonly internalType:
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
readonly
|
|
968
|
-
readonly type: 'uint256';
|
|
749
|
+
readonly internalType: "uint256";
|
|
750
|
+
}, {
|
|
751
|
+
readonly name: "prevLatePrincipalFee";
|
|
752
|
+
readonly type: "uint256";
|
|
969
753
|
readonly indexed: false;
|
|
970
|
-
readonly internalType:
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
readonly
|
|
974
|
-
readonly type: 'uint256';
|
|
754
|
+
readonly internalType: "uint256";
|
|
755
|
+
}, {
|
|
756
|
+
readonly name: "newLatePrincipalFee";
|
|
757
|
+
readonly type: "uint256";
|
|
975
758
|
readonly indexed: false;
|
|
976
|
-
readonly internalType:
|
|
977
|
-
|
|
978
|
-
];
|
|
759
|
+
readonly internalType: "uint256";
|
|
760
|
+
}];
|
|
979
761
|
readonly anonymous: false;
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
readonly
|
|
983
|
-
readonly
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
readonly name: 'callbackPeriodInHours';
|
|
987
|
-
readonly type: 'uint256';
|
|
762
|
+
}, {
|
|
763
|
+
readonly type: "event";
|
|
764
|
+
readonly name: "OnLoanCalled";
|
|
765
|
+
readonly inputs: readonly [{
|
|
766
|
+
readonly name: "callbackPeriodInHours";
|
|
767
|
+
readonly type: "uint256";
|
|
988
768
|
readonly indexed: false;
|
|
989
|
-
readonly internalType:
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
readonly
|
|
993
|
-
readonly type: 'uint256';
|
|
769
|
+
readonly internalType: "uint256";
|
|
770
|
+
}, {
|
|
771
|
+
readonly name: "gracePeriodInHours";
|
|
772
|
+
readonly type: "uint256";
|
|
994
773
|
readonly indexed: false;
|
|
995
|
-
readonly internalType:
|
|
996
|
-
|
|
997
|
-
];
|
|
774
|
+
readonly internalType: "uint256";
|
|
775
|
+
}];
|
|
998
776
|
readonly anonymous: false;
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
readonly
|
|
1002
|
-
readonly name: 'OnLoanClosed';
|
|
777
|
+
}, {
|
|
778
|
+
readonly type: "event";
|
|
779
|
+
readonly name: "OnLoanClosed";
|
|
1003
780
|
readonly inputs: readonly [];
|
|
1004
781
|
readonly anonymous: false;
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
readonly
|
|
1008
|
-
readonly
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
readonly name: 'amount';
|
|
1012
|
-
readonly type: 'uint256';
|
|
782
|
+
}, {
|
|
783
|
+
readonly type: "event";
|
|
784
|
+
readonly name: "OnLoanFunded";
|
|
785
|
+
readonly inputs: readonly [{
|
|
786
|
+
readonly name: "amount";
|
|
787
|
+
readonly type: "uint256";
|
|
1013
788
|
readonly indexed: false;
|
|
1014
|
-
readonly internalType:
|
|
1015
|
-
|
|
1016
|
-
];
|
|
789
|
+
readonly internalType: "uint256";
|
|
790
|
+
}];
|
|
1017
791
|
readonly anonymous: false;
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
readonly
|
|
1021
|
-
readonly name: 'OnLoanMatured';
|
|
792
|
+
}, {
|
|
793
|
+
readonly type: "event";
|
|
794
|
+
readonly name: "OnLoanMatured";
|
|
1022
795
|
readonly inputs: readonly [];
|
|
1023
796
|
readonly anonymous: false;
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
readonly
|
|
1027
|
-
readonly
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
readonly name: 'oldApr';
|
|
1031
|
-
readonly type: 'uint256';
|
|
797
|
+
}, {
|
|
798
|
+
readonly type: "event";
|
|
799
|
+
readonly name: "OnNewAprProposed";
|
|
800
|
+
readonly inputs: readonly [{
|
|
801
|
+
readonly name: "oldApr";
|
|
802
|
+
readonly type: "uint256";
|
|
1032
803
|
readonly indexed: false;
|
|
1033
|
-
readonly internalType:
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
readonly
|
|
1037
|
-
readonly type: 'uint256';
|
|
804
|
+
readonly internalType: "uint256";
|
|
805
|
+
}, {
|
|
806
|
+
readonly name: "newApr";
|
|
807
|
+
readonly type: "uint256";
|
|
1038
808
|
readonly indexed: false;
|
|
1039
|
-
readonly internalType:
|
|
1040
|
-
|
|
1041
|
-
];
|
|
809
|
+
readonly internalType: "uint256";
|
|
810
|
+
}];
|
|
1042
811
|
readonly anonymous: false;
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
readonly
|
|
1046
|
-
readonly
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
readonly name: 'prevAddress';
|
|
1050
|
-
readonly type: 'address';
|
|
812
|
+
}, {
|
|
813
|
+
readonly type: "event";
|
|
814
|
+
readonly name: "OnPriceOracleChanged";
|
|
815
|
+
readonly inputs: readonly [{
|
|
816
|
+
readonly name: "prevAddress";
|
|
817
|
+
readonly type: "address";
|
|
1051
818
|
readonly indexed: false;
|
|
1052
|
-
readonly internalType:
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
readonly
|
|
1056
|
-
readonly type: 'address';
|
|
819
|
+
readonly internalType: "address";
|
|
820
|
+
}, {
|
|
821
|
+
readonly name: "newAddress";
|
|
822
|
+
readonly type: "address";
|
|
1057
823
|
readonly indexed: false;
|
|
1058
|
-
readonly internalType:
|
|
1059
|
-
|
|
1060
|
-
];
|
|
824
|
+
readonly internalType: "address";
|
|
825
|
+
}];
|
|
1061
826
|
readonly anonymous: false;
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
readonly
|
|
1065
|
-
readonly
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
readonly name: 'paymentAmountTokens';
|
|
1069
|
-
readonly type: 'uint256';
|
|
827
|
+
}, {
|
|
828
|
+
readonly type: "event";
|
|
829
|
+
readonly name: "OnPrincipalRepayment";
|
|
830
|
+
readonly inputs: readonly [{
|
|
831
|
+
readonly name: "paymentAmountTokens";
|
|
832
|
+
readonly type: "uint256";
|
|
1070
833
|
readonly indexed: false;
|
|
1071
|
-
readonly internalType:
|
|
1072
|
-
|
|
1073
|
-
];
|
|
834
|
+
readonly internalType: "uint256";
|
|
835
|
+
}];
|
|
1074
836
|
readonly anonymous: false;
|
|
1075
|
-
|
|
1076
|
-
];
|
|
837
|
+
}];
|