@gearbox-protocol/sdk 14.5.4 → 14.5.6
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/dist/cjs/abi/kyc/iDSRegistryService.js +265 -0
- package/dist/cjs/abi/kyc/iSecuritizeKYCFactory.js +53 -6
- package/dist/cjs/sdk/market/kyc/securitize/SecuritizeDegenNFT.js +41 -0
- package/dist/cjs/sdk/market/kyc/securitize/SecuritizeKYCFactory.js +3 -2
- package/dist/esm/abi/kyc/iDSRegistryService.js +265 -0
- package/dist/esm/abi/kyc/iSecuritizeKYCFactory.js +53 -6
- package/dist/esm/sdk/market/kyc/securitize/SecuritizeDegenNFT.js +17 -0
- package/dist/esm/sdk/market/kyc/securitize/SecuritizeKYCFactory.js +3 -2
- package/dist/types/abi/kyc/iDSRegistryService.d.ts +210 -0
- package/dist/types/abi/kyc/iSecuritizeKYCFactory.d.ts +78 -6
- package/dist/types/sdk/market/kyc/securitize/SecuritizeDegenNFT.d.ts +412 -0
- package/dist/types/sdk/market/kyc/securitize/SecuritizeKYCFactory.d.ts +80 -7
- package/package.json +1 -1
- package/dist/cjs/abi/compressors/subcompressors/securitizeRedemptionSubcompressor.js +0 -187
- package/dist/esm/abi/compressors/subcompressors/securitizeRedemptionSubcompressor.js +0 -163
- package/dist/types/abi/compressors/subcompressors/securitizeRedemptionSubcompressor.d.ts +0 -220
|
@@ -0,0 +1,412 @@
|
|
|
1
|
+
import type { Address } from "viem";
|
|
2
|
+
import { BaseContract } from "../../../base/index.js";
|
|
3
|
+
import type { OnchainSDK } from "../../../OnchainSDK.js";
|
|
4
|
+
declare const abi: readonly [{
|
|
5
|
+
readonly type: "function";
|
|
6
|
+
readonly name: "addRegistrar";
|
|
7
|
+
readonly inputs: readonly [{
|
|
8
|
+
readonly name: "registrar";
|
|
9
|
+
readonly type: "address";
|
|
10
|
+
readonly internalType: "address";
|
|
11
|
+
}];
|
|
12
|
+
readonly outputs: readonly [];
|
|
13
|
+
readonly stateMutability: "nonpayable";
|
|
14
|
+
}, {
|
|
15
|
+
readonly type: "function";
|
|
16
|
+
readonly name: "burn";
|
|
17
|
+
readonly inputs: readonly [{
|
|
18
|
+
readonly name: "wallet";
|
|
19
|
+
readonly type: "address";
|
|
20
|
+
readonly internalType: "address";
|
|
21
|
+
}, {
|
|
22
|
+
readonly name: "";
|
|
23
|
+
readonly type: "uint256";
|
|
24
|
+
readonly internalType: "uint256";
|
|
25
|
+
}];
|
|
26
|
+
readonly outputs: readonly [];
|
|
27
|
+
readonly stateMutability: "nonpayable";
|
|
28
|
+
}, {
|
|
29
|
+
readonly type: "function";
|
|
30
|
+
readonly name: "cacheRegisterSignatures";
|
|
31
|
+
readonly inputs: readonly [{
|
|
32
|
+
readonly name: "investor";
|
|
33
|
+
readonly type: "address";
|
|
34
|
+
readonly internalType: "address";
|
|
35
|
+
}, {
|
|
36
|
+
readonly name: "signatures";
|
|
37
|
+
readonly type: "tuple[]";
|
|
38
|
+
readonly internalType: "struct ISecuritizeDegenNFT.RegisterMessage[]";
|
|
39
|
+
readonly components: readonly [{
|
|
40
|
+
readonly name: "token";
|
|
41
|
+
readonly type: "address";
|
|
42
|
+
readonly internalType: "address";
|
|
43
|
+
}, {
|
|
44
|
+
readonly name: "signature";
|
|
45
|
+
readonly type: "tuple";
|
|
46
|
+
readonly internalType: "struct ISecuritizeDegenNFT.Signature";
|
|
47
|
+
readonly components: readonly [{
|
|
48
|
+
readonly name: "deadline";
|
|
49
|
+
readonly type: "uint256";
|
|
50
|
+
readonly internalType: "uint256";
|
|
51
|
+
}, {
|
|
52
|
+
readonly name: "signature";
|
|
53
|
+
readonly type: "bytes";
|
|
54
|
+
readonly internalType: "bytes";
|
|
55
|
+
}];
|
|
56
|
+
}];
|
|
57
|
+
}];
|
|
58
|
+
readonly outputs: readonly [];
|
|
59
|
+
readonly stateMutability: "nonpayable";
|
|
60
|
+
}, {
|
|
61
|
+
readonly type: "function";
|
|
62
|
+
readonly name: "contractType";
|
|
63
|
+
readonly inputs: readonly [];
|
|
64
|
+
readonly outputs: readonly [{
|
|
65
|
+
readonly name: "";
|
|
66
|
+
readonly type: "bytes32";
|
|
67
|
+
readonly internalType: "bytes32";
|
|
68
|
+
}];
|
|
69
|
+
readonly stateMutability: "view";
|
|
70
|
+
}, {
|
|
71
|
+
readonly type: "function";
|
|
72
|
+
readonly name: "getCachedSignature";
|
|
73
|
+
readonly inputs: readonly [{
|
|
74
|
+
readonly name: "investor";
|
|
75
|
+
readonly type: "address";
|
|
76
|
+
readonly internalType: "address";
|
|
77
|
+
}, {
|
|
78
|
+
readonly name: "token";
|
|
79
|
+
readonly type: "address";
|
|
80
|
+
readonly internalType: "address";
|
|
81
|
+
}];
|
|
82
|
+
readonly outputs: readonly [{
|
|
83
|
+
readonly name: "";
|
|
84
|
+
readonly type: "tuple";
|
|
85
|
+
readonly internalType: "struct ISecuritizeDegenNFT.Signature";
|
|
86
|
+
readonly components: readonly [{
|
|
87
|
+
readonly name: "deadline";
|
|
88
|
+
readonly type: "uint256";
|
|
89
|
+
readonly internalType: "uint256";
|
|
90
|
+
}, {
|
|
91
|
+
readonly name: "signature";
|
|
92
|
+
readonly type: "bytes";
|
|
93
|
+
readonly internalType: "bytes";
|
|
94
|
+
}];
|
|
95
|
+
}];
|
|
96
|
+
readonly stateMutability: "view";
|
|
97
|
+
}, {
|
|
98
|
+
readonly type: "function";
|
|
99
|
+
readonly name: "getDSTokens";
|
|
100
|
+
readonly inputs: readonly [];
|
|
101
|
+
readonly outputs: readonly [{
|
|
102
|
+
readonly name: "";
|
|
103
|
+
readonly type: "address[]";
|
|
104
|
+
readonly internalType: "address[]";
|
|
105
|
+
}];
|
|
106
|
+
readonly stateMutability: "view";
|
|
107
|
+
}, {
|
|
108
|
+
readonly type: "function";
|
|
109
|
+
readonly name: "getDSTokensData";
|
|
110
|
+
readonly inputs: readonly [];
|
|
111
|
+
readonly outputs: readonly [{
|
|
112
|
+
readonly name: "";
|
|
113
|
+
readonly type: "tuple[]";
|
|
114
|
+
readonly internalType: "struct ISecuritizeDegenNFT.DSTokenData[]";
|
|
115
|
+
readonly components: readonly [{
|
|
116
|
+
readonly name: "token";
|
|
117
|
+
readonly type: "address";
|
|
118
|
+
readonly internalType: "address";
|
|
119
|
+
}, {
|
|
120
|
+
readonly name: "registrar";
|
|
121
|
+
readonly type: "address";
|
|
122
|
+
readonly internalType: "address";
|
|
123
|
+
}, {
|
|
124
|
+
readonly name: "operators";
|
|
125
|
+
readonly type: "address[]";
|
|
126
|
+
readonly internalType: "address[]";
|
|
127
|
+
}];
|
|
128
|
+
}];
|
|
129
|
+
readonly stateMutability: "view";
|
|
130
|
+
}, {
|
|
131
|
+
readonly type: "function";
|
|
132
|
+
readonly name: "getFactory";
|
|
133
|
+
readonly inputs: readonly [];
|
|
134
|
+
readonly outputs: readonly [{
|
|
135
|
+
readonly name: "";
|
|
136
|
+
readonly type: "address";
|
|
137
|
+
readonly internalType: "address";
|
|
138
|
+
}];
|
|
139
|
+
readonly stateMutability: "view";
|
|
140
|
+
}, {
|
|
141
|
+
readonly type: "function";
|
|
142
|
+
readonly name: "getOperators";
|
|
143
|
+
readonly inputs: readonly [{
|
|
144
|
+
readonly name: "token";
|
|
145
|
+
readonly type: "address";
|
|
146
|
+
readonly internalType: "address";
|
|
147
|
+
}];
|
|
148
|
+
readonly outputs: readonly [{
|
|
149
|
+
readonly name: "";
|
|
150
|
+
readonly type: "address[]";
|
|
151
|
+
readonly internalType: "address[]";
|
|
152
|
+
}];
|
|
153
|
+
readonly stateMutability: "view";
|
|
154
|
+
}, {
|
|
155
|
+
readonly type: "function";
|
|
156
|
+
readonly name: "getRegistrar";
|
|
157
|
+
readonly inputs: readonly [{
|
|
158
|
+
readonly name: "token";
|
|
159
|
+
readonly type: "address";
|
|
160
|
+
readonly internalType: "address";
|
|
161
|
+
}];
|
|
162
|
+
readonly outputs: readonly [{
|
|
163
|
+
readonly name: "";
|
|
164
|
+
readonly type: "address";
|
|
165
|
+
readonly internalType: "address";
|
|
166
|
+
}];
|
|
167
|
+
readonly stateMutability: "view";
|
|
168
|
+
}, {
|
|
169
|
+
readonly type: "function";
|
|
170
|
+
readonly name: "isDSToken";
|
|
171
|
+
readonly inputs: readonly [{
|
|
172
|
+
readonly name: "token";
|
|
173
|
+
readonly type: "address";
|
|
174
|
+
readonly internalType: "address";
|
|
175
|
+
}];
|
|
176
|
+
readonly outputs: readonly [{
|
|
177
|
+
readonly name: "";
|
|
178
|
+
readonly type: "bool";
|
|
179
|
+
readonly internalType: "bool";
|
|
180
|
+
}];
|
|
181
|
+
readonly stateMutability: "view";
|
|
182
|
+
}, {
|
|
183
|
+
readonly type: "function";
|
|
184
|
+
readonly name: "isOperator";
|
|
185
|
+
readonly inputs: readonly [{
|
|
186
|
+
readonly name: "token";
|
|
187
|
+
readonly type: "address";
|
|
188
|
+
readonly internalType: "address";
|
|
189
|
+
}, {
|
|
190
|
+
readonly name: "operator";
|
|
191
|
+
readonly type: "address";
|
|
192
|
+
readonly internalType: "address";
|
|
193
|
+
}];
|
|
194
|
+
readonly outputs: readonly [{
|
|
195
|
+
readonly name: "";
|
|
196
|
+
readonly type: "bool";
|
|
197
|
+
readonly internalType: "bool";
|
|
198
|
+
}];
|
|
199
|
+
readonly stateMutability: "view";
|
|
200
|
+
}, {
|
|
201
|
+
readonly type: "function";
|
|
202
|
+
readonly name: "mint";
|
|
203
|
+
readonly inputs: readonly [{
|
|
204
|
+
readonly name: "wallet";
|
|
205
|
+
readonly type: "address";
|
|
206
|
+
readonly internalType: "address";
|
|
207
|
+
}];
|
|
208
|
+
readonly outputs: readonly [];
|
|
209
|
+
readonly stateMutability: "nonpayable";
|
|
210
|
+
}, {
|
|
211
|
+
readonly type: "function";
|
|
212
|
+
readonly name: "registerCreditAccount";
|
|
213
|
+
readonly inputs: readonly [{
|
|
214
|
+
readonly name: "creditAccount";
|
|
215
|
+
readonly type: "address";
|
|
216
|
+
readonly internalType: "address";
|
|
217
|
+
}, {
|
|
218
|
+
readonly name: "tokens";
|
|
219
|
+
readonly type: "address[]";
|
|
220
|
+
readonly internalType: "address[]";
|
|
221
|
+
}];
|
|
222
|
+
readonly outputs: readonly [];
|
|
223
|
+
readonly stateMutability: "nonpayable";
|
|
224
|
+
}, {
|
|
225
|
+
readonly type: "function";
|
|
226
|
+
readonly name: "registerHelperAccount";
|
|
227
|
+
readonly inputs: readonly [{
|
|
228
|
+
readonly name: "creditAccount";
|
|
229
|
+
readonly type: "address";
|
|
230
|
+
readonly internalType: "address";
|
|
231
|
+
}, {
|
|
232
|
+
readonly name: "helperAccount";
|
|
233
|
+
readonly type: "address";
|
|
234
|
+
readonly internalType: "address";
|
|
235
|
+
}, {
|
|
236
|
+
readonly name: "token";
|
|
237
|
+
readonly type: "address";
|
|
238
|
+
readonly internalType: "address";
|
|
239
|
+
}];
|
|
240
|
+
readonly outputs: readonly [];
|
|
241
|
+
readonly stateMutability: "nonpayable";
|
|
242
|
+
}, {
|
|
243
|
+
readonly type: "function";
|
|
244
|
+
readonly name: "serialize";
|
|
245
|
+
readonly inputs: readonly [];
|
|
246
|
+
readonly outputs: readonly [{
|
|
247
|
+
readonly name: "serializedData";
|
|
248
|
+
readonly type: "bytes";
|
|
249
|
+
readonly internalType: "bytes";
|
|
250
|
+
}];
|
|
251
|
+
readonly stateMutability: "view";
|
|
252
|
+
}, {
|
|
253
|
+
readonly type: "function";
|
|
254
|
+
readonly name: "setOperatorStatus";
|
|
255
|
+
readonly inputs: readonly [{
|
|
256
|
+
readonly name: "token";
|
|
257
|
+
readonly type: "address";
|
|
258
|
+
readonly internalType: "address";
|
|
259
|
+
}, {
|
|
260
|
+
readonly name: "operator";
|
|
261
|
+
readonly type: "address";
|
|
262
|
+
readonly internalType: "address";
|
|
263
|
+
}, {
|
|
264
|
+
readonly name: "approved";
|
|
265
|
+
readonly type: "bool";
|
|
266
|
+
readonly internalType: "bool";
|
|
267
|
+
}];
|
|
268
|
+
readonly outputs: readonly [];
|
|
269
|
+
readonly stateMutability: "nonpayable";
|
|
270
|
+
}, {
|
|
271
|
+
readonly type: "function";
|
|
272
|
+
readonly name: "version";
|
|
273
|
+
readonly inputs: readonly [];
|
|
274
|
+
readonly outputs: readonly [{
|
|
275
|
+
readonly name: "";
|
|
276
|
+
readonly type: "uint256";
|
|
277
|
+
readonly internalType: "uint256";
|
|
278
|
+
}];
|
|
279
|
+
readonly stateMutability: "view";
|
|
280
|
+
}, {
|
|
281
|
+
readonly type: "event";
|
|
282
|
+
readonly name: "Burn";
|
|
283
|
+
readonly inputs: readonly [{
|
|
284
|
+
readonly name: "wallet";
|
|
285
|
+
readonly type: "address";
|
|
286
|
+
readonly indexed: true;
|
|
287
|
+
readonly internalType: "address";
|
|
288
|
+
}];
|
|
289
|
+
readonly anonymous: false;
|
|
290
|
+
}, {
|
|
291
|
+
readonly type: "event";
|
|
292
|
+
readonly name: "Mint";
|
|
293
|
+
readonly inputs: readonly [{
|
|
294
|
+
readonly name: "wallet";
|
|
295
|
+
readonly type: "address";
|
|
296
|
+
readonly indexed: true;
|
|
297
|
+
readonly internalType: "address";
|
|
298
|
+
}];
|
|
299
|
+
readonly anonymous: false;
|
|
300
|
+
}, {
|
|
301
|
+
readonly type: "event";
|
|
302
|
+
readonly name: "SetOperatorStatus";
|
|
303
|
+
readonly inputs: readonly [{
|
|
304
|
+
readonly name: "token";
|
|
305
|
+
readonly type: "address";
|
|
306
|
+
readonly indexed: true;
|
|
307
|
+
readonly internalType: "address";
|
|
308
|
+
}, {
|
|
309
|
+
readonly name: "operator";
|
|
310
|
+
readonly type: "address";
|
|
311
|
+
readonly indexed: true;
|
|
312
|
+
readonly internalType: "address";
|
|
313
|
+
}, {
|
|
314
|
+
readonly name: "approved";
|
|
315
|
+
readonly type: "bool";
|
|
316
|
+
readonly indexed: false;
|
|
317
|
+
readonly internalType: "bool";
|
|
318
|
+
}];
|
|
319
|
+
readonly anonymous: false;
|
|
320
|
+
}, {
|
|
321
|
+
readonly type: "event";
|
|
322
|
+
readonly name: "SetRegistrar";
|
|
323
|
+
readonly inputs: readonly [{
|
|
324
|
+
readonly name: "token";
|
|
325
|
+
readonly type: "address";
|
|
326
|
+
readonly indexed: true;
|
|
327
|
+
readonly internalType: "address";
|
|
328
|
+
}, {
|
|
329
|
+
readonly name: "registrar";
|
|
330
|
+
readonly type: "address";
|
|
331
|
+
readonly indexed: true;
|
|
332
|
+
readonly internalType: "address";
|
|
333
|
+
}];
|
|
334
|
+
readonly anonymous: false;
|
|
335
|
+
}, {
|
|
336
|
+
readonly type: "error";
|
|
337
|
+
readonly name: "CallerIsNotCreditFacadeException";
|
|
338
|
+
readonly inputs: readonly [{
|
|
339
|
+
readonly name: "caller";
|
|
340
|
+
readonly type: "address";
|
|
341
|
+
readonly internalType: "address";
|
|
342
|
+
}];
|
|
343
|
+
}, {
|
|
344
|
+
readonly type: "error";
|
|
345
|
+
readonly name: "CallerIsNotFactoryException";
|
|
346
|
+
readonly inputs: readonly [{
|
|
347
|
+
readonly name: "caller";
|
|
348
|
+
readonly type: "address";
|
|
349
|
+
readonly internalType: "address";
|
|
350
|
+
}];
|
|
351
|
+
}, {
|
|
352
|
+
readonly type: "error";
|
|
353
|
+
readonly name: "CallerIsNotInstanceOwnerException";
|
|
354
|
+
readonly inputs: readonly [{
|
|
355
|
+
readonly name: "caller";
|
|
356
|
+
readonly type: "address";
|
|
357
|
+
readonly internalType: "address";
|
|
358
|
+
}];
|
|
359
|
+
}, {
|
|
360
|
+
readonly type: "error";
|
|
361
|
+
readonly name: "CallerIsNotOperatorException";
|
|
362
|
+
readonly inputs: readonly [{
|
|
363
|
+
readonly name: "token";
|
|
364
|
+
readonly type: "address";
|
|
365
|
+
readonly internalType: "address";
|
|
366
|
+
}, {
|
|
367
|
+
readonly name: "caller";
|
|
368
|
+
readonly type: "address";
|
|
369
|
+
readonly internalType: "address";
|
|
370
|
+
}];
|
|
371
|
+
}, {
|
|
372
|
+
readonly type: "error";
|
|
373
|
+
readonly name: "CreditAccountNotRegisteredException";
|
|
374
|
+
readonly inputs: readonly [{
|
|
375
|
+
readonly name: "creditAccount";
|
|
376
|
+
readonly type: "address";
|
|
377
|
+
readonly internalType: "address";
|
|
378
|
+
}, {
|
|
379
|
+
readonly name: "token";
|
|
380
|
+
readonly type: "address";
|
|
381
|
+
readonly internalType: "address";
|
|
382
|
+
}];
|
|
383
|
+
}, {
|
|
384
|
+
readonly type: "error";
|
|
385
|
+
readonly name: "RegistrarNotSetForTokenException";
|
|
386
|
+
readonly inputs: readonly [{
|
|
387
|
+
readonly name: "token";
|
|
388
|
+
readonly type: "address";
|
|
389
|
+
readonly internalType: "address";
|
|
390
|
+
}];
|
|
391
|
+
}, {
|
|
392
|
+
readonly type: "error";
|
|
393
|
+
readonly name: "UnknownTokenException";
|
|
394
|
+
readonly inputs: readonly [{
|
|
395
|
+
readonly name: "token";
|
|
396
|
+
readonly type: "address";
|
|
397
|
+
readonly internalType: "address";
|
|
398
|
+
}];
|
|
399
|
+
}, {
|
|
400
|
+
readonly type: "error";
|
|
401
|
+
readonly name: "UnknownWalletException";
|
|
402
|
+
readonly inputs: readonly [{
|
|
403
|
+
readonly name: "wallet";
|
|
404
|
+
readonly type: "address";
|
|
405
|
+
readonly internalType: "address";
|
|
406
|
+
}];
|
|
407
|
+
}];
|
|
408
|
+
type abi = typeof abi;
|
|
409
|
+
export declare class SecuritizeDegenNFT extends BaseContract<abi> {
|
|
410
|
+
constructor(sdk: OnchainSDK, address: Address);
|
|
411
|
+
}
|
|
412
|
+
export {};
|
|
@@ -5,6 +5,7 @@ import type { OnchainSDK } from "../../../OnchainSDK.js";
|
|
|
5
5
|
import type { MultiCall, RawTx } from "../../../types/index.js";
|
|
6
6
|
import type { IKYCFactory, KYCCompressorInvestorData, KYCFactoryData } from "../types.js";
|
|
7
7
|
import { KYC_FACTORY_SECURITIZE } from "./constants.js";
|
|
8
|
+
import { SecuritizeDegenNFT } from "./SecuritizeDegenNFT.js";
|
|
8
9
|
import { type DStokenData, type SecuritizeInvestorData, type SecuritizeKYCFactoryStateHuman, type SecuritizeOpenAccountRequirements, type SecuritizeOperationParams } from "./types.js";
|
|
9
10
|
declare const abi: readonly [{
|
|
10
11
|
readonly type: "function";
|
|
@@ -242,9 +243,13 @@ declare const abi: readonly [{
|
|
|
242
243
|
readonly stateMutability: "view";
|
|
243
244
|
}, {
|
|
244
245
|
readonly type: "function";
|
|
245
|
-
readonly name: "
|
|
246
|
+
readonly name: "setAllCreditAccountsFrozenStatus";
|
|
246
247
|
readonly inputs: readonly [{
|
|
247
|
-
readonly name: "
|
|
248
|
+
readonly name: "creditManager";
|
|
249
|
+
readonly type: "address";
|
|
250
|
+
readonly internalType: "address";
|
|
251
|
+
}, {
|
|
252
|
+
readonly name: "investor";
|
|
248
253
|
readonly type: "address";
|
|
249
254
|
readonly internalType: "address";
|
|
250
255
|
}, {
|
|
@@ -256,15 +261,75 @@ declare const abi: readonly [{
|
|
|
256
261
|
readonly stateMutability: "nonpayable";
|
|
257
262
|
}, {
|
|
258
263
|
readonly type: "function";
|
|
259
|
-
readonly name: "
|
|
264
|
+
readonly name: "setAllCreditAccountsFrozenStatus";
|
|
265
|
+
readonly inputs: readonly [{
|
|
266
|
+
readonly name: "investor";
|
|
267
|
+
readonly type: "address";
|
|
268
|
+
readonly internalType: "address";
|
|
269
|
+
}, {
|
|
270
|
+
readonly name: "frozen";
|
|
271
|
+
readonly type: "bool";
|
|
272
|
+
readonly internalType: "bool";
|
|
273
|
+
}];
|
|
274
|
+
readonly outputs: readonly [];
|
|
275
|
+
readonly stateMutability: "nonpayable";
|
|
276
|
+
}, {
|
|
277
|
+
readonly type: "function";
|
|
278
|
+
readonly name: "setCreditAccountFrozenStatus";
|
|
260
279
|
readonly inputs: readonly [{
|
|
261
280
|
readonly name: "creditAccount";
|
|
262
281
|
readonly type: "address";
|
|
263
282
|
readonly internalType: "address";
|
|
264
283
|
}, {
|
|
284
|
+
readonly name: "frozen";
|
|
285
|
+
readonly type: "bool";
|
|
286
|
+
readonly internalType: "bool";
|
|
287
|
+
}];
|
|
288
|
+
readonly outputs: readonly [];
|
|
289
|
+
readonly stateMutability: "nonpayable";
|
|
290
|
+
}, {
|
|
291
|
+
readonly type: "function";
|
|
292
|
+
readonly name: "transferAllCreditAccounts";
|
|
293
|
+
readonly inputs: readonly [{
|
|
265
294
|
readonly name: "investor";
|
|
266
295
|
readonly type: "address";
|
|
267
296
|
readonly internalType: "address";
|
|
297
|
+
}, {
|
|
298
|
+
readonly name: "newInvestor";
|
|
299
|
+
readonly type: "address";
|
|
300
|
+
readonly internalType: "address";
|
|
301
|
+
}];
|
|
302
|
+
readonly outputs: readonly [];
|
|
303
|
+
readonly stateMutability: "nonpayable";
|
|
304
|
+
}, {
|
|
305
|
+
readonly type: "function";
|
|
306
|
+
readonly name: "transferAllCreditAccounts";
|
|
307
|
+
readonly inputs: readonly [{
|
|
308
|
+
readonly name: "creditManager";
|
|
309
|
+
readonly type: "address";
|
|
310
|
+
readonly internalType: "address";
|
|
311
|
+
}, {
|
|
312
|
+
readonly name: "investor";
|
|
313
|
+
readonly type: "address";
|
|
314
|
+
readonly internalType: "address";
|
|
315
|
+
}, {
|
|
316
|
+
readonly name: "newInvestor";
|
|
317
|
+
readonly type: "address";
|
|
318
|
+
readonly internalType: "address";
|
|
319
|
+
}];
|
|
320
|
+
readonly outputs: readonly [];
|
|
321
|
+
readonly stateMutability: "nonpayable";
|
|
322
|
+
}, {
|
|
323
|
+
readonly type: "function";
|
|
324
|
+
readonly name: "transferCreditAccount";
|
|
325
|
+
readonly inputs: readonly [{
|
|
326
|
+
readonly name: "creditAccount";
|
|
327
|
+
readonly type: "address";
|
|
328
|
+
readonly internalType: "address";
|
|
329
|
+
}, {
|
|
330
|
+
readonly name: "newInvestor";
|
|
331
|
+
readonly type: "address";
|
|
332
|
+
readonly internalType: "address";
|
|
268
333
|
}];
|
|
269
334
|
readonly outputs: readonly [];
|
|
270
335
|
readonly stateMutability: "nonpayable";
|
|
@@ -280,7 +345,7 @@ declare const abi: readonly [{
|
|
|
280
345
|
readonly stateMutability: "view";
|
|
281
346
|
}, {
|
|
282
347
|
readonly type: "event";
|
|
283
|
-
readonly name: "
|
|
348
|
+
readonly name: "OpenKYCCreditAccount";
|
|
284
349
|
readonly inputs: readonly [{
|
|
285
350
|
readonly name: "creditAccount";
|
|
286
351
|
readonly type: "address";
|
|
@@ -300,7 +365,7 @@ declare const abi: readonly [{
|
|
|
300
365
|
readonly anonymous: false;
|
|
301
366
|
}, {
|
|
302
367
|
readonly type: "event";
|
|
303
|
-
readonly name: "
|
|
368
|
+
readonly name: "SetCreditAccountFrozenStatus";
|
|
304
369
|
readonly inputs: readonly [{
|
|
305
370
|
readonly name: "creditAccount";
|
|
306
371
|
readonly type: "address";
|
|
@@ -315,7 +380,7 @@ declare const abi: readonly [{
|
|
|
315
380
|
readonly anonymous: false;
|
|
316
381
|
}, {
|
|
317
382
|
readonly type: "event";
|
|
318
|
-
readonly name: "
|
|
383
|
+
readonly name: "TransferCreditAccount";
|
|
319
384
|
readonly inputs: readonly [{
|
|
320
385
|
readonly name: "creditAccount";
|
|
321
386
|
readonly type: "address";
|
|
@@ -369,6 +434,14 @@ declare const abi: readonly [{
|
|
|
369
434
|
readonly type: "address";
|
|
370
435
|
readonly internalType: "address";
|
|
371
436
|
}];
|
|
437
|
+
}, {
|
|
438
|
+
readonly type: "error";
|
|
439
|
+
readonly name: "TooManyCreditAccountsException";
|
|
440
|
+
readonly inputs: readonly [{
|
|
441
|
+
readonly name: "investor";
|
|
442
|
+
readonly type: "address";
|
|
443
|
+
readonly internalType: "address";
|
|
444
|
+
}];
|
|
372
445
|
}, {
|
|
373
446
|
readonly type: "error";
|
|
374
447
|
readonly name: "UnknownCreditAccountException";
|
|
@@ -385,7 +458,7 @@ declare const abi: readonly [{
|
|
|
385
458
|
type abi = typeof abi;
|
|
386
459
|
export declare class SecuritizeKYCFactory extends BaseContract<abi> implements IKYCFactory<typeof KYC_FACTORY_SECURITIZE> {
|
|
387
460
|
#private;
|
|
388
|
-
readonly degenNFT:
|
|
461
|
+
readonly degenNFT: SecuritizeDegenNFT;
|
|
389
462
|
readonly owner: Address;
|
|
390
463
|
readonly dsTokens: DStokenData[];
|
|
391
464
|
readonly contractType = "KYC_FACTORY::SECURITIZE";
|