@straton/blockchain 1.1.2
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/index.d.mts +2488 -0
- package/dist/index.d.ts +2488 -0
- package/dist/index.js +6456 -0
- package/dist/index.mjs +6404 -0
- package/package.json +44 -0
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,2488 @@
|
|
|
1
|
+
import { Address } from 'viem';
|
|
2
|
+
|
|
3
|
+
interface ChainContracts {
|
|
4
|
+
stfToken: Address;
|
|
5
|
+
tbillToken: Address;
|
|
6
|
+
tokenFactory: Address;
|
|
7
|
+
vault: Address;
|
|
8
|
+
mockUSDC: Address;
|
|
9
|
+
mockUSDT: Address;
|
|
10
|
+
sanctionsOracle: Address;
|
|
11
|
+
safeMultisig: Address;
|
|
12
|
+
}
|
|
13
|
+
declare const CONTRACT_ADDRESSES: Record<number, ChainContracts>;
|
|
14
|
+
declare function hasContractAddresses(chainId: number): boolean;
|
|
15
|
+
declare function getActiveChainId(): number;
|
|
16
|
+
declare function getContractAddresses(chainId?: number): ChainContracts;
|
|
17
|
+
declare function getStfTokenAddress(chainId?: number): Address;
|
|
18
|
+
declare function getTbillTokenAddress(chainId?: number): Address;
|
|
19
|
+
declare function getTokenFactoryAddress(chainId?: number): Address;
|
|
20
|
+
declare function getVaultAddress(chainId?: number): Address;
|
|
21
|
+
declare function getMockUSDCAddress(chainId?: number): Address;
|
|
22
|
+
declare function getMockUSDTAddress(chainId?: number): Address;
|
|
23
|
+
declare function getSafeMultisigAddress(chainId?: number): Address;
|
|
24
|
+
|
|
25
|
+
declare const STABLECOIN_DECIMALS = 6;
|
|
26
|
+
declare const RECEIPT_TOKEN_DECIMALS = 18;
|
|
27
|
+
declare const DECIMAL_CONVERSION_FACTOR: bigint;
|
|
28
|
+
declare const ERROR_MESSAGE_MAX_LENGTH = 100;
|
|
29
|
+
interface StablecoinConfig {
|
|
30
|
+
symbol: string;
|
|
31
|
+
label: string;
|
|
32
|
+
address: Address;
|
|
33
|
+
decimals: number;
|
|
34
|
+
partnerSlug?: string;
|
|
35
|
+
iconPath?: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Per-chain stablecoin registry.
|
|
39
|
+
* Each chain lists the stablecoins accepted by its vault.
|
|
40
|
+
*/
|
|
41
|
+
declare const STABLECOINS_BY_CHAIN: Record<number, StablecoinConfig[]>;
|
|
42
|
+
/**
|
|
43
|
+
* Get stablecoins for the given chain.
|
|
44
|
+
* Falls back to an empty array for unsupported chains.
|
|
45
|
+
*/
|
|
46
|
+
declare function getStablecoinsForChain(chainId: number): StablecoinConfig[];
|
|
47
|
+
/**
|
|
48
|
+
* Legacy STABLECOINS array — kept for backward compatibility.
|
|
49
|
+
* Resolves from the default chain (NEXT_PUBLIC_CHAIN_ID or BASE_SEPOLIA).
|
|
50
|
+
*/
|
|
51
|
+
declare const STABLECOINS: readonly [{
|
|
52
|
+
readonly symbol: "USDC";
|
|
53
|
+
readonly label: "Mock USDC";
|
|
54
|
+
readonly getAddress: () => `0x${string}`;
|
|
55
|
+
}, {
|
|
56
|
+
readonly symbol: "USDT";
|
|
57
|
+
readonly label: "Mock USDT";
|
|
58
|
+
readonly getAddress: () => `0x${string}`;
|
|
59
|
+
}];
|
|
60
|
+
|
|
61
|
+
declare const erc20Abi: readonly [{
|
|
62
|
+
readonly type: "function";
|
|
63
|
+
readonly name: "name";
|
|
64
|
+
readonly inputs: readonly [];
|
|
65
|
+
readonly outputs: readonly [{
|
|
66
|
+
readonly type: "string";
|
|
67
|
+
}];
|
|
68
|
+
readonly stateMutability: "view";
|
|
69
|
+
}, {
|
|
70
|
+
readonly type: "function";
|
|
71
|
+
readonly name: "symbol";
|
|
72
|
+
readonly inputs: readonly [];
|
|
73
|
+
readonly outputs: readonly [{
|
|
74
|
+
readonly type: "string";
|
|
75
|
+
}];
|
|
76
|
+
readonly stateMutability: "view";
|
|
77
|
+
}, {
|
|
78
|
+
readonly type: "function";
|
|
79
|
+
readonly name: "decimals";
|
|
80
|
+
readonly inputs: readonly [];
|
|
81
|
+
readonly outputs: readonly [{
|
|
82
|
+
readonly type: "uint8";
|
|
83
|
+
}];
|
|
84
|
+
readonly stateMutability: "view";
|
|
85
|
+
}, {
|
|
86
|
+
readonly type: "function";
|
|
87
|
+
readonly name: "totalSupply";
|
|
88
|
+
readonly inputs: readonly [];
|
|
89
|
+
readonly outputs: readonly [{
|
|
90
|
+
readonly type: "uint256";
|
|
91
|
+
}];
|
|
92
|
+
readonly stateMutability: "view";
|
|
93
|
+
}, {
|
|
94
|
+
readonly type: "function";
|
|
95
|
+
readonly name: "balanceOf";
|
|
96
|
+
readonly inputs: readonly [{
|
|
97
|
+
readonly name: "account";
|
|
98
|
+
readonly type: "address";
|
|
99
|
+
}];
|
|
100
|
+
readonly outputs: readonly [{
|
|
101
|
+
readonly type: "uint256";
|
|
102
|
+
}];
|
|
103
|
+
readonly stateMutability: "view";
|
|
104
|
+
}, {
|
|
105
|
+
readonly type: "function";
|
|
106
|
+
readonly name: "allowance";
|
|
107
|
+
readonly inputs: readonly [{
|
|
108
|
+
readonly name: "owner";
|
|
109
|
+
readonly type: "address";
|
|
110
|
+
}, {
|
|
111
|
+
readonly name: "spender";
|
|
112
|
+
readonly type: "address";
|
|
113
|
+
}];
|
|
114
|
+
readonly outputs: readonly [{
|
|
115
|
+
readonly type: "uint256";
|
|
116
|
+
}];
|
|
117
|
+
readonly stateMutability: "view";
|
|
118
|
+
}, {
|
|
119
|
+
readonly type: "function";
|
|
120
|
+
readonly name: "approve";
|
|
121
|
+
readonly inputs: readonly [{
|
|
122
|
+
readonly name: "spender";
|
|
123
|
+
readonly type: "address";
|
|
124
|
+
}, {
|
|
125
|
+
readonly name: "amount";
|
|
126
|
+
readonly type: "uint256";
|
|
127
|
+
}];
|
|
128
|
+
readonly outputs: readonly [{
|
|
129
|
+
readonly type: "bool";
|
|
130
|
+
}];
|
|
131
|
+
readonly stateMutability: "nonpayable";
|
|
132
|
+
}, {
|
|
133
|
+
readonly type: "function";
|
|
134
|
+
readonly name: "transfer";
|
|
135
|
+
readonly inputs: readonly [{
|
|
136
|
+
readonly name: "to";
|
|
137
|
+
readonly type: "address";
|
|
138
|
+
}, {
|
|
139
|
+
readonly name: "amount";
|
|
140
|
+
readonly type: "uint256";
|
|
141
|
+
}];
|
|
142
|
+
readonly outputs: readonly [{
|
|
143
|
+
readonly type: "bool";
|
|
144
|
+
}];
|
|
145
|
+
readonly stateMutability: "nonpayable";
|
|
146
|
+
}, {
|
|
147
|
+
readonly type: "function";
|
|
148
|
+
readonly name: "transferFrom";
|
|
149
|
+
readonly inputs: readonly [{
|
|
150
|
+
readonly name: "from";
|
|
151
|
+
readonly type: "address";
|
|
152
|
+
}, {
|
|
153
|
+
readonly name: "to";
|
|
154
|
+
readonly type: "address";
|
|
155
|
+
}, {
|
|
156
|
+
readonly name: "amount";
|
|
157
|
+
readonly type: "uint256";
|
|
158
|
+
}];
|
|
159
|
+
readonly outputs: readonly [{
|
|
160
|
+
readonly type: "bool";
|
|
161
|
+
}];
|
|
162
|
+
readonly stateMutability: "nonpayable";
|
|
163
|
+
}, {
|
|
164
|
+
readonly type: "event";
|
|
165
|
+
readonly name: "Transfer";
|
|
166
|
+
readonly inputs: readonly [{
|
|
167
|
+
readonly name: "from";
|
|
168
|
+
readonly type: "address";
|
|
169
|
+
readonly indexed: true;
|
|
170
|
+
}, {
|
|
171
|
+
readonly name: "to";
|
|
172
|
+
readonly type: "address";
|
|
173
|
+
readonly indexed: true;
|
|
174
|
+
}, {
|
|
175
|
+
readonly name: "value";
|
|
176
|
+
readonly type: "uint256";
|
|
177
|
+
readonly indexed: false;
|
|
178
|
+
}];
|
|
179
|
+
}, {
|
|
180
|
+
readonly type: "event";
|
|
181
|
+
readonly name: "Approval";
|
|
182
|
+
readonly inputs: readonly [{
|
|
183
|
+
readonly name: "owner";
|
|
184
|
+
readonly type: "address";
|
|
185
|
+
readonly indexed: true;
|
|
186
|
+
}, {
|
|
187
|
+
readonly name: "spender";
|
|
188
|
+
readonly type: "address";
|
|
189
|
+
readonly indexed: true;
|
|
190
|
+
}, {
|
|
191
|
+
readonly name: "value";
|
|
192
|
+
readonly type: "uint256";
|
|
193
|
+
readonly indexed: false;
|
|
194
|
+
}];
|
|
195
|
+
}];
|
|
196
|
+
|
|
197
|
+
declare const rwaTokenAbi: readonly [{
|
|
198
|
+
readonly type: "constructor";
|
|
199
|
+
readonly inputs: readonly [];
|
|
200
|
+
readonly stateMutability: "nonpayable";
|
|
201
|
+
}, {
|
|
202
|
+
readonly type: "function";
|
|
203
|
+
readonly name: "AGENT_ROLE";
|
|
204
|
+
readonly inputs: readonly [];
|
|
205
|
+
readonly outputs: readonly [{
|
|
206
|
+
readonly name: "";
|
|
207
|
+
readonly type: "bytes32";
|
|
208
|
+
readonly internalType: "bytes32";
|
|
209
|
+
}];
|
|
210
|
+
readonly stateMutability: "view";
|
|
211
|
+
}, {
|
|
212
|
+
readonly type: "function";
|
|
213
|
+
readonly name: "DEFAULT_ADMIN_ROLE";
|
|
214
|
+
readonly inputs: readonly [];
|
|
215
|
+
readonly outputs: readonly [{
|
|
216
|
+
readonly name: "";
|
|
217
|
+
readonly type: "bytes32";
|
|
218
|
+
readonly internalType: "bytes32";
|
|
219
|
+
}];
|
|
220
|
+
readonly stateMutability: "view";
|
|
221
|
+
}, {
|
|
222
|
+
readonly type: "function";
|
|
223
|
+
readonly name: "ERC1400_COMPLIANCE_FAILURE";
|
|
224
|
+
readonly inputs: readonly [];
|
|
225
|
+
readonly outputs: readonly [{
|
|
226
|
+
readonly name: "";
|
|
227
|
+
readonly type: "bytes1";
|
|
228
|
+
readonly internalType: "bytes1";
|
|
229
|
+
}];
|
|
230
|
+
readonly stateMutability: "view";
|
|
231
|
+
}, {
|
|
232
|
+
readonly type: "function";
|
|
233
|
+
readonly name: "ERC1400_FUNDS_LOCKED";
|
|
234
|
+
readonly inputs: readonly [];
|
|
235
|
+
readonly outputs: readonly [{
|
|
236
|
+
readonly name: "";
|
|
237
|
+
readonly type: "bytes1";
|
|
238
|
+
readonly internalType: "bytes1";
|
|
239
|
+
}];
|
|
240
|
+
readonly stateMutability: "view";
|
|
241
|
+
}, {
|
|
242
|
+
readonly type: "function";
|
|
243
|
+
readonly name: "ERC1400_INSUFFICIENT_BALANCE";
|
|
244
|
+
readonly inputs: readonly [];
|
|
245
|
+
readonly outputs: readonly [{
|
|
246
|
+
readonly name: "";
|
|
247
|
+
readonly type: "bytes1";
|
|
248
|
+
readonly internalType: "bytes1";
|
|
249
|
+
}];
|
|
250
|
+
readonly stateMutability: "view";
|
|
251
|
+
}, {
|
|
252
|
+
readonly type: "function";
|
|
253
|
+
readonly name: "ERC1400_INVALID_RECEIVER";
|
|
254
|
+
readonly inputs: readonly [];
|
|
255
|
+
readonly outputs: readonly [{
|
|
256
|
+
readonly name: "";
|
|
257
|
+
readonly type: "bytes1";
|
|
258
|
+
readonly internalType: "bytes1";
|
|
259
|
+
}];
|
|
260
|
+
readonly stateMutability: "view";
|
|
261
|
+
}, {
|
|
262
|
+
readonly type: "function";
|
|
263
|
+
readonly name: "ERC1400_INVALID_SENDER";
|
|
264
|
+
readonly inputs: readonly [];
|
|
265
|
+
readonly outputs: readonly [{
|
|
266
|
+
readonly name: "";
|
|
267
|
+
readonly type: "bytes1";
|
|
268
|
+
readonly internalType: "bytes1";
|
|
269
|
+
}];
|
|
270
|
+
readonly stateMutability: "view";
|
|
271
|
+
}, {
|
|
272
|
+
readonly type: "function";
|
|
273
|
+
readonly name: "ERC1400_TRANSFERS_HALTED";
|
|
274
|
+
readonly inputs: readonly [];
|
|
275
|
+
readonly outputs: readonly [{
|
|
276
|
+
readonly name: "";
|
|
277
|
+
readonly type: "bytes1";
|
|
278
|
+
readonly internalType: "bytes1";
|
|
279
|
+
}];
|
|
280
|
+
readonly stateMutability: "view";
|
|
281
|
+
}, {
|
|
282
|
+
readonly type: "function";
|
|
283
|
+
readonly name: "ERC1400_TRANSFER_FAILURE";
|
|
284
|
+
readonly inputs: readonly [];
|
|
285
|
+
readonly outputs: readonly [{
|
|
286
|
+
readonly name: "";
|
|
287
|
+
readonly type: "bytes1";
|
|
288
|
+
readonly internalType: "bytes1";
|
|
289
|
+
}];
|
|
290
|
+
readonly stateMutability: "view";
|
|
291
|
+
}, {
|
|
292
|
+
readonly type: "function";
|
|
293
|
+
readonly name: "ERC1400_TRANSFER_SUCCESS";
|
|
294
|
+
readonly inputs: readonly [];
|
|
295
|
+
readonly outputs: readonly [{
|
|
296
|
+
readonly name: "";
|
|
297
|
+
readonly type: "bytes1";
|
|
298
|
+
readonly internalType: "bytes1";
|
|
299
|
+
}];
|
|
300
|
+
readonly stateMutability: "view";
|
|
301
|
+
}, {
|
|
302
|
+
readonly type: "function";
|
|
303
|
+
readonly name: "OWNER_ROLE";
|
|
304
|
+
readonly inputs: readonly [];
|
|
305
|
+
readonly outputs: readonly [{
|
|
306
|
+
readonly name: "";
|
|
307
|
+
readonly type: "bytes32";
|
|
308
|
+
readonly internalType: "bytes32";
|
|
309
|
+
}];
|
|
310
|
+
readonly stateMutability: "view";
|
|
311
|
+
}, {
|
|
312
|
+
readonly type: "function";
|
|
313
|
+
readonly name: "allowance";
|
|
314
|
+
readonly inputs: readonly [{
|
|
315
|
+
readonly name: "owner";
|
|
316
|
+
readonly type: "address";
|
|
317
|
+
readonly internalType: "address";
|
|
318
|
+
}, {
|
|
319
|
+
readonly name: "spender";
|
|
320
|
+
readonly type: "address";
|
|
321
|
+
readonly internalType: "address";
|
|
322
|
+
}];
|
|
323
|
+
readonly outputs: readonly [{
|
|
324
|
+
readonly name: "";
|
|
325
|
+
readonly type: "uint256";
|
|
326
|
+
readonly internalType: "uint256";
|
|
327
|
+
}];
|
|
328
|
+
readonly stateMutability: "view";
|
|
329
|
+
}, {
|
|
330
|
+
readonly type: "function";
|
|
331
|
+
readonly name: "approve";
|
|
332
|
+
readonly inputs: readonly [{
|
|
333
|
+
readonly name: "spender";
|
|
334
|
+
readonly type: "address";
|
|
335
|
+
readonly internalType: "address";
|
|
336
|
+
}, {
|
|
337
|
+
readonly name: "value";
|
|
338
|
+
readonly type: "uint256";
|
|
339
|
+
readonly internalType: "uint256";
|
|
340
|
+
}];
|
|
341
|
+
readonly outputs: readonly [{
|
|
342
|
+
readonly name: "";
|
|
343
|
+
readonly type: "bool";
|
|
344
|
+
readonly internalType: "bool";
|
|
345
|
+
}];
|
|
346
|
+
readonly stateMutability: "nonpayable";
|
|
347
|
+
}, {
|
|
348
|
+
readonly type: "function";
|
|
349
|
+
readonly name: "balanceOf";
|
|
350
|
+
readonly inputs: readonly [{
|
|
351
|
+
readonly name: "account";
|
|
352
|
+
readonly type: "address";
|
|
353
|
+
readonly internalType: "address";
|
|
354
|
+
}];
|
|
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: "batchSetAddressFrozen";
|
|
364
|
+
readonly inputs: readonly [{
|
|
365
|
+
readonly name: "accounts";
|
|
366
|
+
readonly type: "address[]";
|
|
367
|
+
readonly internalType: "address[]";
|
|
368
|
+
}, {
|
|
369
|
+
readonly name: "frozen";
|
|
370
|
+
readonly type: "bool[]";
|
|
371
|
+
readonly internalType: "bool[]";
|
|
372
|
+
}];
|
|
373
|
+
readonly outputs: readonly [];
|
|
374
|
+
readonly stateMutability: "nonpayable";
|
|
375
|
+
}, {
|
|
376
|
+
readonly type: "function";
|
|
377
|
+
readonly name: "batchSetWhitelisted";
|
|
378
|
+
readonly inputs: readonly [{
|
|
379
|
+
readonly name: "accounts";
|
|
380
|
+
readonly type: "address[]";
|
|
381
|
+
readonly internalType: "address[]";
|
|
382
|
+
}, {
|
|
383
|
+
readonly name: "status";
|
|
384
|
+
readonly type: "bool";
|
|
385
|
+
readonly internalType: "bool";
|
|
386
|
+
}];
|
|
387
|
+
readonly outputs: readonly [];
|
|
388
|
+
readonly stateMutability: "nonpayable";
|
|
389
|
+
}, {
|
|
390
|
+
readonly type: "function";
|
|
391
|
+
readonly name: "burn";
|
|
392
|
+
readonly inputs: readonly [{
|
|
393
|
+
readonly name: "from";
|
|
394
|
+
readonly type: "address";
|
|
395
|
+
readonly internalType: "address";
|
|
396
|
+
}, {
|
|
397
|
+
readonly name: "amount";
|
|
398
|
+
readonly type: "uint256";
|
|
399
|
+
readonly internalType: "uint256";
|
|
400
|
+
}];
|
|
401
|
+
readonly outputs: readonly [];
|
|
402
|
+
readonly stateMutability: "nonpayable";
|
|
403
|
+
}, {
|
|
404
|
+
readonly type: "function";
|
|
405
|
+
readonly name: "canTransfer";
|
|
406
|
+
readonly inputs: readonly [{
|
|
407
|
+
readonly name: "to";
|
|
408
|
+
readonly type: "address";
|
|
409
|
+
readonly internalType: "address";
|
|
410
|
+
}, {
|
|
411
|
+
readonly name: "value";
|
|
412
|
+
readonly type: "uint256";
|
|
413
|
+
readonly internalType: "uint256";
|
|
414
|
+
}, {
|
|
415
|
+
readonly name: "";
|
|
416
|
+
readonly type: "bytes";
|
|
417
|
+
readonly internalType: "bytes";
|
|
418
|
+
}];
|
|
419
|
+
readonly outputs: readonly [{
|
|
420
|
+
readonly name: "success";
|
|
421
|
+
readonly type: "bool";
|
|
422
|
+
readonly internalType: "bool";
|
|
423
|
+
}, {
|
|
424
|
+
readonly name: "statusCode";
|
|
425
|
+
readonly type: "bytes1";
|
|
426
|
+
readonly internalType: "bytes1";
|
|
427
|
+
}, {
|
|
428
|
+
readonly name: "reason";
|
|
429
|
+
readonly type: "bytes32";
|
|
430
|
+
readonly internalType: "bytes32";
|
|
431
|
+
}];
|
|
432
|
+
readonly stateMutability: "view";
|
|
433
|
+
}, {
|
|
434
|
+
readonly type: "function";
|
|
435
|
+
readonly name: "canTransferFrom";
|
|
436
|
+
readonly inputs: readonly [{
|
|
437
|
+
readonly name: "from";
|
|
438
|
+
readonly type: "address";
|
|
439
|
+
readonly internalType: "address";
|
|
440
|
+
}, {
|
|
441
|
+
readonly name: "to";
|
|
442
|
+
readonly type: "address";
|
|
443
|
+
readonly internalType: "address";
|
|
444
|
+
}, {
|
|
445
|
+
readonly name: "value";
|
|
446
|
+
readonly type: "uint256";
|
|
447
|
+
readonly internalType: "uint256";
|
|
448
|
+
}, {
|
|
449
|
+
readonly name: "";
|
|
450
|
+
readonly type: "bytes";
|
|
451
|
+
readonly internalType: "bytes";
|
|
452
|
+
}];
|
|
453
|
+
readonly outputs: readonly [{
|
|
454
|
+
readonly name: "success";
|
|
455
|
+
readonly type: "bool";
|
|
456
|
+
readonly internalType: "bool";
|
|
457
|
+
}, {
|
|
458
|
+
readonly name: "statusCode";
|
|
459
|
+
readonly type: "bytes1";
|
|
460
|
+
readonly internalType: "bytes1";
|
|
461
|
+
}, {
|
|
462
|
+
readonly name: "reason";
|
|
463
|
+
readonly type: "bytes32";
|
|
464
|
+
readonly internalType: "bytes32";
|
|
465
|
+
}];
|
|
466
|
+
readonly stateMutability: "view";
|
|
467
|
+
}, {
|
|
468
|
+
readonly type: "function";
|
|
469
|
+
readonly name: "compliance";
|
|
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: "decimals";
|
|
480
|
+
readonly inputs: readonly [];
|
|
481
|
+
readonly outputs: readonly [{
|
|
482
|
+
readonly name: "";
|
|
483
|
+
readonly type: "uint8";
|
|
484
|
+
readonly internalType: "uint8";
|
|
485
|
+
}];
|
|
486
|
+
readonly stateMutability: "view";
|
|
487
|
+
}, {
|
|
488
|
+
readonly type: "function";
|
|
489
|
+
readonly name: "forcedTransfer";
|
|
490
|
+
readonly inputs: readonly [{
|
|
491
|
+
readonly name: "from";
|
|
492
|
+
readonly type: "address";
|
|
493
|
+
readonly internalType: "address";
|
|
494
|
+
}, {
|
|
495
|
+
readonly name: "to";
|
|
496
|
+
readonly type: "address";
|
|
497
|
+
readonly internalType: "address";
|
|
498
|
+
}, {
|
|
499
|
+
readonly name: "amount";
|
|
500
|
+
readonly type: "uint256";
|
|
501
|
+
readonly internalType: "uint256";
|
|
502
|
+
}];
|
|
503
|
+
readonly outputs: readonly [];
|
|
504
|
+
readonly stateMutability: "nonpayable";
|
|
505
|
+
}, {
|
|
506
|
+
readonly type: "function";
|
|
507
|
+
readonly name: "getRoleAdmin";
|
|
508
|
+
readonly inputs: readonly [{
|
|
509
|
+
readonly name: "role";
|
|
510
|
+
readonly type: "bytes32";
|
|
511
|
+
readonly internalType: "bytes32";
|
|
512
|
+
}];
|
|
513
|
+
readonly outputs: readonly [{
|
|
514
|
+
readonly name: "";
|
|
515
|
+
readonly type: "bytes32";
|
|
516
|
+
readonly internalType: "bytes32";
|
|
517
|
+
}];
|
|
518
|
+
readonly stateMutability: "view";
|
|
519
|
+
}, {
|
|
520
|
+
readonly type: "function";
|
|
521
|
+
readonly name: "grantRole";
|
|
522
|
+
readonly inputs: readonly [{
|
|
523
|
+
readonly name: "role";
|
|
524
|
+
readonly type: "bytes32";
|
|
525
|
+
readonly internalType: "bytes32";
|
|
526
|
+
}, {
|
|
527
|
+
readonly name: "account";
|
|
528
|
+
readonly type: "address";
|
|
529
|
+
readonly internalType: "address";
|
|
530
|
+
}];
|
|
531
|
+
readonly outputs: readonly [];
|
|
532
|
+
readonly stateMutability: "nonpayable";
|
|
533
|
+
}, {
|
|
534
|
+
readonly type: "function";
|
|
535
|
+
readonly name: "hasRole";
|
|
536
|
+
readonly inputs: readonly [{
|
|
537
|
+
readonly name: "role";
|
|
538
|
+
readonly type: "bytes32";
|
|
539
|
+
readonly internalType: "bytes32";
|
|
540
|
+
}, {
|
|
541
|
+
readonly name: "account";
|
|
542
|
+
readonly type: "address";
|
|
543
|
+
readonly internalType: "address";
|
|
544
|
+
}];
|
|
545
|
+
readonly outputs: readonly [{
|
|
546
|
+
readonly name: "";
|
|
547
|
+
readonly type: "bool";
|
|
548
|
+
readonly internalType: "bool";
|
|
549
|
+
}];
|
|
550
|
+
readonly stateMutability: "view";
|
|
551
|
+
}, {
|
|
552
|
+
readonly type: "function";
|
|
553
|
+
readonly name: "identityRegistry";
|
|
554
|
+
readonly inputs: readonly [];
|
|
555
|
+
readonly outputs: readonly [{
|
|
556
|
+
readonly name: "";
|
|
557
|
+
readonly type: "address";
|
|
558
|
+
readonly internalType: "address";
|
|
559
|
+
}];
|
|
560
|
+
readonly stateMutability: "view";
|
|
561
|
+
}, {
|
|
562
|
+
readonly type: "function";
|
|
563
|
+
readonly name: "initialize";
|
|
564
|
+
readonly inputs: readonly [{
|
|
565
|
+
readonly name: "name_";
|
|
566
|
+
readonly type: "string";
|
|
567
|
+
readonly internalType: "string";
|
|
568
|
+
}, {
|
|
569
|
+
readonly name: "symbol_";
|
|
570
|
+
readonly type: "string";
|
|
571
|
+
readonly internalType: "string";
|
|
572
|
+
}, {
|
|
573
|
+
readonly name: "owner_";
|
|
574
|
+
readonly type: "address";
|
|
575
|
+
readonly internalType: "address";
|
|
576
|
+
}];
|
|
577
|
+
readonly outputs: readonly [];
|
|
578
|
+
readonly stateMutability: "nonpayable";
|
|
579
|
+
}, {
|
|
580
|
+
readonly type: "function";
|
|
581
|
+
readonly name: "isFrozen";
|
|
582
|
+
readonly inputs: readonly [{
|
|
583
|
+
readonly name: "account";
|
|
584
|
+
readonly type: "address";
|
|
585
|
+
readonly internalType: "address";
|
|
586
|
+
}];
|
|
587
|
+
readonly outputs: readonly [{
|
|
588
|
+
readonly name: "";
|
|
589
|
+
readonly type: "bool";
|
|
590
|
+
readonly internalType: "bool";
|
|
591
|
+
}];
|
|
592
|
+
readonly stateMutability: "view";
|
|
593
|
+
}, {
|
|
594
|
+
readonly type: "function";
|
|
595
|
+
readonly name: "isWhitelisted";
|
|
596
|
+
readonly inputs: readonly [{
|
|
597
|
+
readonly name: "account";
|
|
598
|
+
readonly type: "address";
|
|
599
|
+
readonly internalType: "address";
|
|
600
|
+
}];
|
|
601
|
+
readonly outputs: readonly [{
|
|
602
|
+
readonly name: "";
|
|
603
|
+
readonly type: "bool";
|
|
604
|
+
readonly internalType: "bool";
|
|
605
|
+
}];
|
|
606
|
+
readonly stateMutability: "view";
|
|
607
|
+
}, {
|
|
608
|
+
readonly type: "function";
|
|
609
|
+
readonly name: "maxSupply";
|
|
610
|
+
readonly inputs: readonly [];
|
|
611
|
+
readonly outputs: readonly [{
|
|
612
|
+
readonly name: "";
|
|
613
|
+
readonly type: "uint256";
|
|
614
|
+
readonly internalType: "uint256";
|
|
615
|
+
}];
|
|
616
|
+
readonly stateMutability: "view";
|
|
617
|
+
}, {
|
|
618
|
+
readonly type: "function";
|
|
619
|
+
readonly name: "mint";
|
|
620
|
+
readonly inputs: readonly [{
|
|
621
|
+
readonly name: "to";
|
|
622
|
+
readonly type: "address";
|
|
623
|
+
readonly internalType: "address";
|
|
624
|
+
}, {
|
|
625
|
+
readonly name: "amount";
|
|
626
|
+
readonly type: "uint256";
|
|
627
|
+
readonly internalType: "uint256";
|
|
628
|
+
}];
|
|
629
|
+
readonly outputs: readonly [];
|
|
630
|
+
readonly stateMutability: "nonpayable";
|
|
631
|
+
}, {
|
|
632
|
+
readonly type: "function";
|
|
633
|
+
readonly name: "name";
|
|
634
|
+
readonly inputs: readonly [];
|
|
635
|
+
readonly outputs: readonly [{
|
|
636
|
+
readonly name: "";
|
|
637
|
+
readonly type: "string";
|
|
638
|
+
readonly internalType: "string";
|
|
639
|
+
}];
|
|
640
|
+
readonly stateMutability: "view";
|
|
641
|
+
}, {
|
|
642
|
+
readonly type: "function";
|
|
643
|
+
readonly name: "pause";
|
|
644
|
+
readonly inputs: readonly [];
|
|
645
|
+
readonly outputs: readonly [];
|
|
646
|
+
readonly stateMutability: "nonpayable";
|
|
647
|
+
}, {
|
|
648
|
+
readonly type: "function";
|
|
649
|
+
readonly name: "paused";
|
|
650
|
+
readonly inputs: readonly [];
|
|
651
|
+
readonly outputs: readonly [{
|
|
652
|
+
readonly name: "";
|
|
653
|
+
readonly type: "bool";
|
|
654
|
+
readonly internalType: "bool";
|
|
655
|
+
}];
|
|
656
|
+
readonly stateMutability: "view";
|
|
657
|
+
}, {
|
|
658
|
+
readonly type: "function";
|
|
659
|
+
readonly name: "renounceRole";
|
|
660
|
+
readonly inputs: readonly [{
|
|
661
|
+
readonly name: "role";
|
|
662
|
+
readonly type: "bytes32";
|
|
663
|
+
readonly internalType: "bytes32";
|
|
664
|
+
}, {
|
|
665
|
+
readonly name: "callerConfirmation";
|
|
666
|
+
readonly type: "address";
|
|
667
|
+
readonly internalType: "address";
|
|
668
|
+
}];
|
|
669
|
+
readonly outputs: readonly [];
|
|
670
|
+
readonly stateMutability: "nonpayable";
|
|
671
|
+
}, {
|
|
672
|
+
readonly type: "function";
|
|
673
|
+
readonly name: "revokeRole";
|
|
674
|
+
readonly inputs: readonly [{
|
|
675
|
+
readonly name: "role";
|
|
676
|
+
readonly type: "bytes32";
|
|
677
|
+
readonly internalType: "bytes32";
|
|
678
|
+
}, {
|
|
679
|
+
readonly name: "account";
|
|
680
|
+
readonly type: "address";
|
|
681
|
+
readonly internalType: "address";
|
|
682
|
+
}];
|
|
683
|
+
readonly outputs: readonly [];
|
|
684
|
+
readonly stateMutability: "nonpayable";
|
|
685
|
+
}, {
|
|
686
|
+
readonly type: "function";
|
|
687
|
+
readonly name: "sanctionsOracle";
|
|
688
|
+
readonly inputs: readonly [];
|
|
689
|
+
readonly outputs: readonly [{
|
|
690
|
+
readonly name: "";
|
|
691
|
+
readonly type: "address";
|
|
692
|
+
readonly internalType: "address";
|
|
693
|
+
}];
|
|
694
|
+
readonly stateMutability: "view";
|
|
695
|
+
}, {
|
|
696
|
+
readonly type: "function";
|
|
697
|
+
readonly name: "setAddressFrozen";
|
|
698
|
+
readonly inputs: readonly [{
|
|
699
|
+
readonly name: "account";
|
|
700
|
+
readonly type: "address";
|
|
701
|
+
readonly internalType: "address";
|
|
702
|
+
}, {
|
|
703
|
+
readonly name: "frozen";
|
|
704
|
+
readonly type: "bool";
|
|
705
|
+
readonly internalType: "bool";
|
|
706
|
+
}];
|
|
707
|
+
readonly outputs: readonly [];
|
|
708
|
+
readonly stateMutability: "nonpayable";
|
|
709
|
+
}, {
|
|
710
|
+
readonly type: "function";
|
|
711
|
+
readonly name: "setCompliance";
|
|
712
|
+
readonly inputs: readonly [{
|
|
713
|
+
readonly name: "compliance_";
|
|
714
|
+
readonly type: "address";
|
|
715
|
+
readonly internalType: "address";
|
|
716
|
+
}];
|
|
717
|
+
readonly outputs: readonly [];
|
|
718
|
+
readonly stateMutability: "nonpayable";
|
|
719
|
+
}, {
|
|
720
|
+
readonly type: "function";
|
|
721
|
+
readonly name: "setIdentityRegistry";
|
|
722
|
+
readonly inputs: readonly [{
|
|
723
|
+
readonly name: "identityRegistry_";
|
|
724
|
+
readonly type: "address";
|
|
725
|
+
readonly internalType: "address";
|
|
726
|
+
}];
|
|
727
|
+
readonly outputs: readonly [];
|
|
728
|
+
readonly stateMutability: "nonpayable";
|
|
729
|
+
}, {
|
|
730
|
+
readonly type: "function";
|
|
731
|
+
readonly name: "setMaxSupply";
|
|
732
|
+
readonly inputs: readonly [{
|
|
733
|
+
readonly name: "newCap";
|
|
734
|
+
readonly type: "uint256";
|
|
735
|
+
readonly internalType: "uint256";
|
|
736
|
+
}];
|
|
737
|
+
readonly outputs: readonly [];
|
|
738
|
+
readonly stateMutability: "nonpayable";
|
|
739
|
+
}, {
|
|
740
|
+
readonly type: "function";
|
|
741
|
+
readonly name: "setSanctionsOracle";
|
|
742
|
+
readonly inputs: readonly [{
|
|
743
|
+
readonly name: "oracle";
|
|
744
|
+
readonly type: "address";
|
|
745
|
+
readonly internalType: "address";
|
|
746
|
+
}];
|
|
747
|
+
readonly outputs: readonly [];
|
|
748
|
+
readonly stateMutability: "nonpayable";
|
|
749
|
+
}, {
|
|
750
|
+
readonly type: "function";
|
|
751
|
+
readonly name: "setWhitelisted";
|
|
752
|
+
readonly inputs: readonly [{
|
|
753
|
+
readonly name: "account";
|
|
754
|
+
readonly type: "address";
|
|
755
|
+
readonly internalType: "address";
|
|
756
|
+
}, {
|
|
757
|
+
readonly name: "status";
|
|
758
|
+
readonly type: "bool";
|
|
759
|
+
readonly internalType: "bool";
|
|
760
|
+
}];
|
|
761
|
+
readonly outputs: readonly [];
|
|
762
|
+
readonly stateMutability: "nonpayable";
|
|
763
|
+
}, {
|
|
764
|
+
readonly type: "function";
|
|
765
|
+
readonly name: "supportsInterface";
|
|
766
|
+
readonly inputs: readonly [{
|
|
767
|
+
readonly name: "interfaceId";
|
|
768
|
+
readonly type: "bytes4";
|
|
769
|
+
readonly internalType: "bytes4";
|
|
770
|
+
}];
|
|
771
|
+
readonly outputs: readonly [{
|
|
772
|
+
readonly name: "";
|
|
773
|
+
readonly type: "bool";
|
|
774
|
+
readonly internalType: "bool";
|
|
775
|
+
}];
|
|
776
|
+
readonly stateMutability: "view";
|
|
777
|
+
}, {
|
|
778
|
+
readonly type: "function";
|
|
779
|
+
readonly name: "symbol";
|
|
780
|
+
readonly inputs: readonly [];
|
|
781
|
+
readonly outputs: readonly [{
|
|
782
|
+
readonly name: "";
|
|
783
|
+
readonly type: "string";
|
|
784
|
+
readonly internalType: "string";
|
|
785
|
+
}];
|
|
786
|
+
readonly stateMutability: "view";
|
|
787
|
+
}, {
|
|
788
|
+
readonly type: "function";
|
|
789
|
+
readonly name: "totalSupply";
|
|
790
|
+
readonly inputs: readonly [];
|
|
791
|
+
readonly outputs: readonly [{
|
|
792
|
+
readonly name: "";
|
|
793
|
+
readonly type: "uint256";
|
|
794
|
+
readonly internalType: "uint256";
|
|
795
|
+
}];
|
|
796
|
+
readonly stateMutability: "view";
|
|
797
|
+
}, {
|
|
798
|
+
readonly type: "function";
|
|
799
|
+
readonly name: "transfer";
|
|
800
|
+
readonly inputs: readonly [{
|
|
801
|
+
readonly name: "to";
|
|
802
|
+
readonly type: "address";
|
|
803
|
+
readonly internalType: "address";
|
|
804
|
+
}, {
|
|
805
|
+
readonly name: "value";
|
|
806
|
+
readonly type: "uint256";
|
|
807
|
+
readonly internalType: "uint256";
|
|
808
|
+
}];
|
|
809
|
+
readonly outputs: readonly [{
|
|
810
|
+
readonly name: "";
|
|
811
|
+
readonly type: "bool";
|
|
812
|
+
readonly internalType: "bool";
|
|
813
|
+
}];
|
|
814
|
+
readonly stateMutability: "nonpayable";
|
|
815
|
+
}, {
|
|
816
|
+
readonly type: "function";
|
|
817
|
+
readonly name: "transferFrom";
|
|
818
|
+
readonly inputs: readonly [{
|
|
819
|
+
readonly name: "from";
|
|
820
|
+
readonly type: "address";
|
|
821
|
+
readonly internalType: "address";
|
|
822
|
+
}, {
|
|
823
|
+
readonly name: "to";
|
|
824
|
+
readonly type: "address";
|
|
825
|
+
readonly internalType: "address";
|
|
826
|
+
}, {
|
|
827
|
+
readonly name: "value";
|
|
828
|
+
readonly type: "uint256";
|
|
829
|
+
readonly internalType: "uint256";
|
|
830
|
+
}];
|
|
831
|
+
readonly outputs: readonly [{
|
|
832
|
+
readonly name: "";
|
|
833
|
+
readonly type: "bool";
|
|
834
|
+
readonly internalType: "bool";
|
|
835
|
+
}];
|
|
836
|
+
readonly stateMutability: "nonpayable";
|
|
837
|
+
}, {
|
|
838
|
+
readonly type: "function";
|
|
839
|
+
readonly name: "unpause";
|
|
840
|
+
readonly inputs: readonly [];
|
|
841
|
+
readonly outputs: readonly [];
|
|
842
|
+
readonly stateMutability: "nonpayable";
|
|
843
|
+
}, {
|
|
844
|
+
readonly type: "event";
|
|
845
|
+
readonly name: "AddressFrozen";
|
|
846
|
+
readonly inputs: readonly [{
|
|
847
|
+
readonly name: "account";
|
|
848
|
+
readonly type: "address";
|
|
849
|
+
readonly indexed: true;
|
|
850
|
+
readonly internalType: "address";
|
|
851
|
+
}, {
|
|
852
|
+
readonly name: "frozen";
|
|
853
|
+
readonly type: "bool";
|
|
854
|
+
readonly indexed: true;
|
|
855
|
+
readonly internalType: "bool";
|
|
856
|
+
}];
|
|
857
|
+
readonly anonymous: false;
|
|
858
|
+
}, {
|
|
859
|
+
readonly type: "event";
|
|
860
|
+
readonly name: "AddressWhitelisted";
|
|
861
|
+
readonly inputs: readonly [{
|
|
862
|
+
readonly name: "account";
|
|
863
|
+
readonly type: "address";
|
|
864
|
+
readonly indexed: true;
|
|
865
|
+
readonly internalType: "address";
|
|
866
|
+
}, {
|
|
867
|
+
readonly name: "status";
|
|
868
|
+
readonly type: "bool";
|
|
869
|
+
readonly indexed: true;
|
|
870
|
+
readonly internalType: "bool";
|
|
871
|
+
}];
|
|
872
|
+
readonly anonymous: false;
|
|
873
|
+
}, {
|
|
874
|
+
readonly type: "event";
|
|
875
|
+
readonly name: "Approval";
|
|
876
|
+
readonly inputs: readonly [{
|
|
877
|
+
readonly name: "owner";
|
|
878
|
+
readonly type: "address";
|
|
879
|
+
readonly indexed: true;
|
|
880
|
+
readonly internalType: "address";
|
|
881
|
+
}, {
|
|
882
|
+
readonly name: "spender";
|
|
883
|
+
readonly type: "address";
|
|
884
|
+
readonly indexed: true;
|
|
885
|
+
readonly internalType: "address";
|
|
886
|
+
}, {
|
|
887
|
+
readonly name: "value";
|
|
888
|
+
readonly type: "uint256";
|
|
889
|
+
readonly indexed: false;
|
|
890
|
+
readonly internalType: "uint256";
|
|
891
|
+
}];
|
|
892
|
+
readonly anonymous: false;
|
|
893
|
+
}, {
|
|
894
|
+
readonly type: "event";
|
|
895
|
+
readonly name: "ComplianceSet";
|
|
896
|
+
readonly inputs: readonly [{
|
|
897
|
+
readonly name: "compliance";
|
|
898
|
+
readonly type: "address";
|
|
899
|
+
readonly indexed: true;
|
|
900
|
+
readonly internalType: "address";
|
|
901
|
+
}];
|
|
902
|
+
readonly anonymous: false;
|
|
903
|
+
}, {
|
|
904
|
+
readonly type: "event";
|
|
905
|
+
readonly name: "ForcedTransfer";
|
|
906
|
+
readonly inputs: readonly [{
|
|
907
|
+
readonly name: "from";
|
|
908
|
+
readonly type: "address";
|
|
909
|
+
readonly indexed: true;
|
|
910
|
+
readonly internalType: "address";
|
|
911
|
+
}, {
|
|
912
|
+
readonly name: "to";
|
|
913
|
+
readonly type: "address";
|
|
914
|
+
readonly indexed: true;
|
|
915
|
+
readonly internalType: "address";
|
|
916
|
+
}, {
|
|
917
|
+
readonly name: "amount";
|
|
918
|
+
readonly type: "uint256";
|
|
919
|
+
readonly indexed: false;
|
|
920
|
+
readonly internalType: "uint256";
|
|
921
|
+
}, {
|
|
922
|
+
readonly name: "agent";
|
|
923
|
+
readonly type: "address";
|
|
924
|
+
readonly indexed: true;
|
|
925
|
+
readonly internalType: "address";
|
|
926
|
+
}];
|
|
927
|
+
readonly anonymous: false;
|
|
928
|
+
}, {
|
|
929
|
+
readonly type: "event";
|
|
930
|
+
readonly name: "IdentityRegistrySet";
|
|
931
|
+
readonly inputs: readonly [{
|
|
932
|
+
readonly name: "identityRegistry";
|
|
933
|
+
readonly type: "address";
|
|
934
|
+
readonly indexed: true;
|
|
935
|
+
readonly internalType: "address";
|
|
936
|
+
}];
|
|
937
|
+
readonly anonymous: false;
|
|
938
|
+
}, {
|
|
939
|
+
readonly type: "event";
|
|
940
|
+
readonly name: "Initialized";
|
|
941
|
+
readonly inputs: readonly [{
|
|
942
|
+
readonly name: "version";
|
|
943
|
+
readonly type: "uint64";
|
|
944
|
+
readonly indexed: false;
|
|
945
|
+
readonly internalType: "uint64";
|
|
946
|
+
}];
|
|
947
|
+
readonly anonymous: false;
|
|
948
|
+
}, {
|
|
949
|
+
readonly type: "event";
|
|
950
|
+
readonly name: "MaxSupplyUpdated";
|
|
951
|
+
readonly inputs: readonly [{
|
|
952
|
+
readonly name: "oldCap";
|
|
953
|
+
readonly type: "uint256";
|
|
954
|
+
readonly indexed: false;
|
|
955
|
+
readonly internalType: "uint256";
|
|
956
|
+
}, {
|
|
957
|
+
readonly name: "newCap";
|
|
958
|
+
readonly type: "uint256";
|
|
959
|
+
readonly indexed: false;
|
|
960
|
+
readonly internalType: "uint256";
|
|
961
|
+
}];
|
|
962
|
+
readonly anonymous: false;
|
|
963
|
+
}, {
|
|
964
|
+
readonly type: "event";
|
|
965
|
+
readonly name: "Paused";
|
|
966
|
+
readonly inputs: readonly [{
|
|
967
|
+
readonly name: "account";
|
|
968
|
+
readonly type: "address";
|
|
969
|
+
readonly indexed: false;
|
|
970
|
+
readonly internalType: "address";
|
|
971
|
+
}];
|
|
972
|
+
readonly anonymous: false;
|
|
973
|
+
}, {
|
|
974
|
+
readonly type: "event";
|
|
975
|
+
readonly name: "RoleAdminChanged";
|
|
976
|
+
readonly inputs: readonly [{
|
|
977
|
+
readonly name: "role";
|
|
978
|
+
readonly type: "bytes32";
|
|
979
|
+
readonly indexed: true;
|
|
980
|
+
readonly internalType: "bytes32";
|
|
981
|
+
}, {
|
|
982
|
+
readonly name: "previousAdminRole";
|
|
983
|
+
readonly type: "bytes32";
|
|
984
|
+
readonly indexed: true;
|
|
985
|
+
readonly internalType: "bytes32";
|
|
986
|
+
}, {
|
|
987
|
+
readonly name: "newAdminRole";
|
|
988
|
+
readonly type: "bytes32";
|
|
989
|
+
readonly indexed: true;
|
|
990
|
+
readonly internalType: "bytes32";
|
|
991
|
+
}];
|
|
992
|
+
readonly anonymous: false;
|
|
993
|
+
}, {
|
|
994
|
+
readonly type: "event";
|
|
995
|
+
readonly name: "RoleGranted";
|
|
996
|
+
readonly inputs: readonly [{
|
|
997
|
+
readonly name: "role";
|
|
998
|
+
readonly type: "bytes32";
|
|
999
|
+
readonly indexed: true;
|
|
1000
|
+
readonly internalType: "bytes32";
|
|
1001
|
+
}, {
|
|
1002
|
+
readonly name: "account";
|
|
1003
|
+
readonly type: "address";
|
|
1004
|
+
readonly indexed: true;
|
|
1005
|
+
readonly internalType: "address";
|
|
1006
|
+
}, {
|
|
1007
|
+
readonly name: "sender";
|
|
1008
|
+
readonly type: "address";
|
|
1009
|
+
readonly indexed: true;
|
|
1010
|
+
readonly internalType: "address";
|
|
1011
|
+
}];
|
|
1012
|
+
readonly anonymous: false;
|
|
1013
|
+
}, {
|
|
1014
|
+
readonly type: "event";
|
|
1015
|
+
readonly name: "RoleRevoked";
|
|
1016
|
+
readonly inputs: readonly [{
|
|
1017
|
+
readonly name: "role";
|
|
1018
|
+
readonly type: "bytes32";
|
|
1019
|
+
readonly indexed: true;
|
|
1020
|
+
readonly internalType: "bytes32";
|
|
1021
|
+
}, {
|
|
1022
|
+
readonly name: "account";
|
|
1023
|
+
readonly type: "address";
|
|
1024
|
+
readonly indexed: true;
|
|
1025
|
+
readonly internalType: "address";
|
|
1026
|
+
}, {
|
|
1027
|
+
readonly name: "sender";
|
|
1028
|
+
readonly type: "address";
|
|
1029
|
+
readonly indexed: true;
|
|
1030
|
+
readonly internalType: "address";
|
|
1031
|
+
}];
|
|
1032
|
+
readonly anonymous: false;
|
|
1033
|
+
}, {
|
|
1034
|
+
readonly type: "event";
|
|
1035
|
+
readonly name: "SanctionsOracleUpdated";
|
|
1036
|
+
readonly inputs: readonly [{
|
|
1037
|
+
readonly name: "oracle";
|
|
1038
|
+
readonly type: "address";
|
|
1039
|
+
readonly indexed: true;
|
|
1040
|
+
readonly internalType: "address";
|
|
1041
|
+
}];
|
|
1042
|
+
readonly anonymous: false;
|
|
1043
|
+
}, {
|
|
1044
|
+
readonly type: "event";
|
|
1045
|
+
readonly name: "Transfer";
|
|
1046
|
+
readonly inputs: readonly [{
|
|
1047
|
+
readonly name: "from";
|
|
1048
|
+
readonly type: "address";
|
|
1049
|
+
readonly indexed: true;
|
|
1050
|
+
readonly internalType: "address";
|
|
1051
|
+
}, {
|
|
1052
|
+
readonly name: "to";
|
|
1053
|
+
readonly type: "address";
|
|
1054
|
+
readonly indexed: true;
|
|
1055
|
+
readonly internalType: "address";
|
|
1056
|
+
}, {
|
|
1057
|
+
readonly name: "value";
|
|
1058
|
+
readonly type: "uint256";
|
|
1059
|
+
readonly indexed: false;
|
|
1060
|
+
readonly internalType: "uint256";
|
|
1061
|
+
}];
|
|
1062
|
+
readonly anonymous: false;
|
|
1063
|
+
}, {
|
|
1064
|
+
readonly type: "event";
|
|
1065
|
+
readonly name: "Unpaused";
|
|
1066
|
+
readonly inputs: readonly [{
|
|
1067
|
+
readonly name: "account";
|
|
1068
|
+
readonly type: "address";
|
|
1069
|
+
readonly indexed: false;
|
|
1070
|
+
readonly internalType: "address";
|
|
1071
|
+
}];
|
|
1072
|
+
readonly anonymous: false;
|
|
1073
|
+
}, {
|
|
1074
|
+
readonly type: "error";
|
|
1075
|
+
readonly name: "AccessControlBadConfirmation";
|
|
1076
|
+
readonly inputs: readonly [];
|
|
1077
|
+
}, {
|
|
1078
|
+
readonly type: "error";
|
|
1079
|
+
readonly name: "AccessControlUnauthorizedAccount";
|
|
1080
|
+
readonly inputs: readonly [{
|
|
1081
|
+
readonly name: "account";
|
|
1082
|
+
readonly type: "address";
|
|
1083
|
+
readonly internalType: "address";
|
|
1084
|
+
}, {
|
|
1085
|
+
readonly name: "neededRole";
|
|
1086
|
+
readonly type: "bytes32";
|
|
1087
|
+
readonly internalType: "bytes32";
|
|
1088
|
+
}];
|
|
1089
|
+
}, {
|
|
1090
|
+
readonly type: "error";
|
|
1091
|
+
readonly name: "ERC20InsufficientAllowance";
|
|
1092
|
+
readonly inputs: readonly [{
|
|
1093
|
+
readonly name: "spender";
|
|
1094
|
+
readonly type: "address";
|
|
1095
|
+
readonly internalType: "address";
|
|
1096
|
+
}, {
|
|
1097
|
+
readonly name: "allowance";
|
|
1098
|
+
readonly type: "uint256";
|
|
1099
|
+
readonly internalType: "uint256";
|
|
1100
|
+
}, {
|
|
1101
|
+
readonly name: "needed";
|
|
1102
|
+
readonly type: "uint256";
|
|
1103
|
+
readonly internalType: "uint256";
|
|
1104
|
+
}];
|
|
1105
|
+
}, {
|
|
1106
|
+
readonly type: "error";
|
|
1107
|
+
readonly name: "ERC20InsufficientBalance";
|
|
1108
|
+
readonly inputs: readonly [{
|
|
1109
|
+
readonly name: "sender";
|
|
1110
|
+
readonly type: "address";
|
|
1111
|
+
readonly internalType: "address";
|
|
1112
|
+
}, {
|
|
1113
|
+
readonly name: "balance";
|
|
1114
|
+
readonly type: "uint256";
|
|
1115
|
+
readonly internalType: "uint256";
|
|
1116
|
+
}, {
|
|
1117
|
+
readonly name: "needed";
|
|
1118
|
+
readonly type: "uint256";
|
|
1119
|
+
readonly internalType: "uint256";
|
|
1120
|
+
}];
|
|
1121
|
+
}, {
|
|
1122
|
+
readonly type: "error";
|
|
1123
|
+
readonly name: "ERC20InvalidApprover";
|
|
1124
|
+
readonly inputs: readonly [{
|
|
1125
|
+
readonly name: "approver";
|
|
1126
|
+
readonly type: "address";
|
|
1127
|
+
readonly internalType: "address";
|
|
1128
|
+
}];
|
|
1129
|
+
}, {
|
|
1130
|
+
readonly type: "error";
|
|
1131
|
+
readonly name: "ERC20InvalidReceiver";
|
|
1132
|
+
readonly inputs: readonly [{
|
|
1133
|
+
readonly name: "receiver";
|
|
1134
|
+
readonly type: "address";
|
|
1135
|
+
readonly internalType: "address";
|
|
1136
|
+
}];
|
|
1137
|
+
}, {
|
|
1138
|
+
readonly type: "error";
|
|
1139
|
+
readonly name: "ERC20InvalidSender";
|
|
1140
|
+
readonly inputs: readonly [{
|
|
1141
|
+
readonly name: "sender";
|
|
1142
|
+
readonly type: "address";
|
|
1143
|
+
readonly internalType: "address";
|
|
1144
|
+
}];
|
|
1145
|
+
}, {
|
|
1146
|
+
readonly type: "error";
|
|
1147
|
+
readonly name: "ERC20InvalidSpender";
|
|
1148
|
+
readonly inputs: readonly [{
|
|
1149
|
+
readonly name: "spender";
|
|
1150
|
+
readonly type: "address";
|
|
1151
|
+
readonly internalType: "address";
|
|
1152
|
+
}];
|
|
1153
|
+
}, {
|
|
1154
|
+
readonly type: "error";
|
|
1155
|
+
readonly name: "EnforcedPause";
|
|
1156
|
+
readonly inputs: readonly [];
|
|
1157
|
+
}, {
|
|
1158
|
+
readonly type: "error";
|
|
1159
|
+
readonly name: "ExpectedPause";
|
|
1160
|
+
readonly inputs: readonly [];
|
|
1161
|
+
}, {
|
|
1162
|
+
readonly type: "error";
|
|
1163
|
+
readonly name: "InvalidInitialization";
|
|
1164
|
+
readonly inputs: readonly [];
|
|
1165
|
+
}, {
|
|
1166
|
+
readonly type: "error";
|
|
1167
|
+
readonly name: "NotInitializing";
|
|
1168
|
+
readonly inputs: readonly [];
|
|
1169
|
+
}];
|
|
1170
|
+
|
|
1171
|
+
declare const tokenFactoryAbi: readonly [{
|
|
1172
|
+
readonly type: "function";
|
|
1173
|
+
readonly name: "tokenImplementation";
|
|
1174
|
+
readonly inputs: readonly [];
|
|
1175
|
+
readonly outputs: readonly [{
|
|
1176
|
+
readonly type: "address";
|
|
1177
|
+
}];
|
|
1178
|
+
readonly stateMutability: "view";
|
|
1179
|
+
}, {
|
|
1180
|
+
readonly type: "function";
|
|
1181
|
+
readonly name: "getDeployedTokens";
|
|
1182
|
+
readonly inputs: readonly [];
|
|
1183
|
+
readonly outputs: readonly [{
|
|
1184
|
+
readonly type: "address[]";
|
|
1185
|
+
}];
|
|
1186
|
+
readonly stateMutability: "view";
|
|
1187
|
+
}, {
|
|
1188
|
+
readonly type: "function";
|
|
1189
|
+
readonly name: "getDeployedTokensCount";
|
|
1190
|
+
readonly inputs: readonly [];
|
|
1191
|
+
readonly outputs: readonly [{
|
|
1192
|
+
readonly type: "uint256";
|
|
1193
|
+
}];
|
|
1194
|
+
readonly stateMutability: "view";
|
|
1195
|
+
}, {
|
|
1196
|
+
readonly type: "function";
|
|
1197
|
+
readonly name: "isDeployedToken";
|
|
1198
|
+
readonly inputs: readonly [{
|
|
1199
|
+
readonly name: "";
|
|
1200
|
+
readonly type: "address";
|
|
1201
|
+
}];
|
|
1202
|
+
readonly outputs: readonly [{
|
|
1203
|
+
readonly type: "bool";
|
|
1204
|
+
}];
|
|
1205
|
+
readonly stateMutability: "view";
|
|
1206
|
+
}, {
|
|
1207
|
+
readonly type: "function";
|
|
1208
|
+
readonly name: "predictTokenAddress";
|
|
1209
|
+
readonly inputs: readonly [{
|
|
1210
|
+
readonly name: "salt";
|
|
1211
|
+
readonly type: "bytes32";
|
|
1212
|
+
}];
|
|
1213
|
+
readonly outputs: readonly [{
|
|
1214
|
+
readonly type: "address";
|
|
1215
|
+
}];
|
|
1216
|
+
readonly stateMutability: "view";
|
|
1217
|
+
}, {
|
|
1218
|
+
readonly type: "function";
|
|
1219
|
+
readonly name: "DEPLOYER_ROLE";
|
|
1220
|
+
readonly inputs: readonly [];
|
|
1221
|
+
readonly outputs: readonly [{
|
|
1222
|
+
readonly type: "bytes32";
|
|
1223
|
+
}];
|
|
1224
|
+
readonly stateMutability: "view";
|
|
1225
|
+
}, {
|
|
1226
|
+
readonly type: "function";
|
|
1227
|
+
readonly name: "hasRole";
|
|
1228
|
+
readonly inputs: readonly [{
|
|
1229
|
+
readonly name: "role";
|
|
1230
|
+
readonly type: "bytes32";
|
|
1231
|
+
}, {
|
|
1232
|
+
readonly name: "account";
|
|
1233
|
+
readonly type: "address";
|
|
1234
|
+
}];
|
|
1235
|
+
readonly outputs: readonly [{
|
|
1236
|
+
readonly type: "bool";
|
|
1237
|
+
}];
|
|
1238
|
+
readonly stateMutability: "view";
|
|
1239
|
+
}, {
|
|
1240
|
+
readonly type: "function";
|
|
1241
|
+
readonly name: "deployToken";
|
|
1242
|
+
readonly inputs: readonly [{
|
|
1243
|
+
readonly name: "name";
|
|
1244
|
+
readonly type: "string";
|
|
1245
|
+
}, {
|
|
1246
|
+
readonly name: "symbol";
|
|
1247
|
+
readonly type: "string";
|
|
1248
|
+
}, {
|
|
1249
|
+
readonly name: "owner";
|
|
1250
|
+
readonly type: "address";
|
|
1251
|
+
}];
|
|
1252
|
+
readonly outputs: readonly [{
|
|
1253
|
+
readonly name: "token";
|
|
1254
|
+
readonly type: "address";
|
|
1255
|
+
}];
|
|
1256
|
+
readonly stateMutability: "nonpayable";
|
|
1257
|
+
}, {
|
|
1258
|
+
readonly type: "event";
|
|
1259
|
+
readonly name: "TokenDeployed";
|
|
1260
|
+
readonly inputs: readonly [{
|
|
1261
|
+
readonly name: "token";
|
|
1262
|
+
readonly type: "address";
|
|
1263
|
+
readonly indexed: true;
|
|
1264
|
+
}, {
|
|
1265
|
+
readonly name: "name";
|
|
1266
|
+
readonly type: "string";
|
|
1267
|
+
readonly indexed: false;
|
|
1268
|
+
}, {
|
|
1269
|
+
readonly name: "symbol";
|
|
1270
|
+
readonly type: "string";
|
|
1271
|
+
readonly indexed: false;
|
|
1272
|
+
}, {
|
|
1273
|
+
readonly name: "owner";
|
|
1274
|
+
readonly type: "address";
|
|
1275
|
+
readonly indexed: true;
|
|
1276
|
+
}];
|
|
1277
|
+
}];
|
|
1278
|
+
|
|
1279
|
+
declare const vaultAbi: readonly [{
|
|
1280
|
+
readonly type: "constructor";
|
|
1281
|
+
readonly inputs: readonly [];
|
|
1282
|
+
readonly stateMutability: "nonpayable";
|
|
1283
|
+
}, {
|
|
1284
|
+
readonly type: "function";
|
|
1285
|
+
readonly name: "DEFAULT_ADMIN_ROLE";
|
|
1286
|
+
readonly inputs: readonly [];
|
|
1287
|
+
readonly outputs: readonly [{
|
|
1288
|
+
readonly name: "";
|
|
1289
|
+
readonly type: "bytes32";
|
|
1290
|
+
readonly internalType: "bytes32";
|
|
1291
|
+
}];
|
|
1292
|
+
readonly stateMutability: "view";
|
|
1293
|
+
}, {
|
|
1294
|
+
readonly type: "function";
|
|
1295
|
+
readonly name: "MAX_BATCH_SIZE";
|
|
1296
|
+
readonly inputs: readonly [];
|
|
1297
|
+
readonly outputs: readonly [{
|
|
1298
|
+
readonly name: "";
|
|
1299
|
+
readonly type: "uint256";
|
|
1300
|
+
readonly internalType: "uint256";
|
|
1301
|
+
}];
|
|
1302
|
+
readonly stateMutability: "view";
|
|
1303
|
+
}, {
|
|
1304
|
+
readonly type: "function";
|
|
1305
|
+
readonly name: "OPERATOR_ROLE";
|
|
1306
|
+
readonly inputs: readonly [];
|
|
1307
|
+
readonly outputs: readonly [{
|
|
1308
|
+
readonly name: "";
|
|
1309
|
+
readonly type: "bytes32";
|
|
1310
|
+
readonly internalType: "bytes32";
|
|
1311
|
+
}];
|
|
1312
|
+
readonly stateMutability: "view";
|
|
1313
|
+
}, {
|
|
1314
|
+
readonly type: "function";
|
|
1315
|
+
readonly name: "PAUSER_ROLE";
|
|
1316
|
+
readonly inputs: readonly [];
|
|
1317
|
+
readonly outputs: readonly [{
|
|
1318
|
+
readonly name: "";
|
|
1319
|
+
readonly type: "bytes32";
|
|
1320
|
+
readonly internalType: "bytes32";
|
|
1321
|
+
}];
|
|
1322
|
+
readonly stateMutability: "view";
|
|
1323
|
+
}, {
|
|
1324
|
+
readonly type: "function";
|
|
1325
|
+
readonly name: "cancelWithdraw";
|
|
1326
|
+
readonly inputs: readonly [{
|
|
1327
|
+
readonly name: "requestId";
|
|
1328
|
+
readonly type: "uint256";
|
|
1329
|
+
readonly internalType: "uint256";
|
|
1330
|
+
}];
|
|
1331
|
+
readonly outputs: readonly [];
|
|
1332
|
+
readonly stateMutability: "nonpayable";
|
|
1333
|
+
}, {
|
|
1334
|
+
readonly type: "function";
|
|
1335
|
+
readonly name: "deposit";
|
|
1336
|
+
readonly inputs: readonly [{
|
|
1337
|
+
readonly name: "stablecoin";
|
|
1338
|
+
readonly type: "address";
|
|
1339
|
+
readonly internalType: "address";
|
|
1340
|
+
}, {
|
|
1341
|
+
readonly name: "amount";
|
|
1342
|
+
readonly type: "uint256";
|
|
1343
|
+
readonly internalType: "uint256";
|
|
1344
|
+
}];
|
|
1345
|
+
readonly outputs: readonly [];
|
|
1346
|
+
readonly stateMutability: "nonpayable";
|
|
1347
|
+
}, {
|
|
1348
|
+
readonly type: "function";
|
|
1349
|
+
readonly name: "emergencyWithdrawToken";
|
|
1350
|
+
readonly inputs: readonly [{
|
|
1351
|
+
readonly name: "token";
|
|
1352
|
+
readonly type: "address";
|
|
1353
|
+
readonly internalType: "address";
|
|
1354
|
+
}, {
|
|
1355
|
+
readonly name: "to";
|
|
1356
|
+
readonly type: "address";
|
|
1357
|
+
readonly internalType: "address";
|
|
1358
|
+
}, {
|
|
1359
|
+
readonly name: "amount";
|
|
1360
|
+
readonly type: "uint256";
|
|
1361
|
+
readonly internalType: "uint256";
|
|
1362
|
+
}];
|
|
1363
|
+
readonly outputs: readonly [];
|
|
1364
|
+
readonly stateMutability: "nonpayable";
|
|
1365
|
+
}, {
|
|
1366
|
+
readonly type: "function";
|
|
1367
|
+
readonly name: "feeBps";
|
|
1368
|
+
readonly inputs: readonly [];
|
|
1369
|
+
readonly outputs: readonly [{
|
|
1370
|
+
readonly name: "";
|
|
1371
|
+
readonly type: "uint256";
|
|
1372
|
+
readonly internalType: "uint256";
|
|
1373
|
+
}];
|
|
1374
|
+
readonly stateMutability: "view";
|
|
1375
|
+
}, {
|
|
1376
|
+
readonly type: "function";
|
|
1377
|
+
readonly name: "feeRecipient";
|
|
1378
|
+
readonly inputs: readonly [];
|
|
1379
|
+
readonly outputs: readonly [{
|
|
1380
|
+
readonly name: "";
|
|
1381
|
+
readonly type: "address";
|
|
1382
|
+
readonly internalType: "address";
|
|
1383
|
+
}];
|
|
1384
|
+
readonly stateMutability: "view";
|
|
1385
|
+
}, {
|
|
1386
|
+
readonly type: "function";
|
|
1387
|
+
readonly name: "fulfillWithdraw";
|
|
1388
|
+
readonly inputs: readonly [{
|
|
1389
|
+
readonly name: "requestId";
|
|
1390
|
+
readonly type: "uint256";
|
|
1391
|
+
readonly internalType: "uint256";
|
|
1392
|
+
}];
|
|
1393
|
+
readonly outputs: readonly [];
|
|
1394
|
+
readonly stateMutability: "nonpayable";
|
|
1395
|
+
}, {
|
|
1396
|
+
readonly type: "function";
|
|
1397
|
+
readonly name: "fulfillWithdrawBatch";
|
|
1398
|
+
readonly inputs: readonly [{
|
|
1399
|
+
readonly name: "requestIds";
|
|
1400
|
+
readonly type: "uint256[]";
|
|
1401
|
+
readonly internalType: "uint256[]";
|
|
1402
|
+
}];
|
|
1403
|
+
readonly outputs: readonly [];
|
|
1404
|
+
readonly stateMutability: "nonpayable";
|
|
1405
|
+
}, {
|
|
1406
|
+
readonly type: "function";
|
|
1407
|
+
readonly name: "getRoleAdmin";
|
|
1408
|
+
readonly inputs: readonly [{
|
|
1409
|
+
readonly name: "role";
|
|
1410
|
+
readonly type: "bytes32";
|
|
1411
|
+
readonly internalType: "bytes32";
|
|
1412
|
+
}];
|
|
1413
|
+
readonly outputs: readonly [{
|
|
1414
|
+
readonly name: "";
|
|
1415
|
+
readonly type: "bytes32";
|
|
1416
|
+
readonly internalType: "bytes32";
|
|
1417
|
+
}];
|
|
1418
|
+
readonly stateMutability: "view";
|
|
1419
|
+
}, {
|
|
1420
|
+
readonly type: "function";
|
|
1421
|
+
readonly name: "getUserWithdrawRequests";
|
|
1422
|
+
readonly inputs: readonly [{
|
|
1423
|
+
readonly name: "user";
|
|
1424
|
+
readonly type: "address";
|
|
1425
|
+
readonly internalType: "address";
|
|
1426
|
+
}];
|
|
1427
|
+
readonly outputs: readonly [{
|
|
1428
|
+
readonly name: "";
|
|
1429
|
+
readonly type: "uint256[]";
|
|
1430
|
+
readonly internalType: "uint256[]";
|
|
1431
|
+
}];
|
|
1432
|
+
readonly stateMutability: "view";
|
|
1433
|
+
}, {
|
|
1434
|
+
readonly type: "function";
|
|
1435
|
+
readonly name: "getWithdrawRequest";
|
|
1436
|
+
readonly inputs: readonly [{
|
|
1437
|
+
readonly name: "requestId";
|
|
1438
|
+
readonly type: "uint256";
|
|
1439
|
+
readonly internalType: "uint256";
|
|
1440
|
+
}];
|
|
1441
|
+
readonly outputs: readonly [{
|
|
1442
|
+
readonly name: "";
|
|
1443
|
+
readonly type: "tuple";
|
|
1444
|
+
readonly internalType: "struct IVault.WithdrawRequest";
|
|
1445
|
+
readonly components: readonly [{
|
|
1446
|
+
readonly name: "id";
|
|
1447
|
+
readonly type: "uint256";
|
|
1448
|
+
readonly internalType: "uint256";
|
|
1449
|
+
}, {
|
|
1450
|
+
readonly name: "user";
|
|
1451
|
+
readonly type: "address";
|
|
1452
|
+
readonly internalType: "address";
|
|
1453
|
+
}, {
|
|
1454
|
+
readonly name: "stablecoin";
|
|
1455
|
+
readonly type: "address";
|
|
1456
|
+
readonly internalType: "address";
|
|
1457
|
+
}, {
|
|
1458
|
+
readonly name: "receiptAmount";
|
|
1459
|
+
readonly type: "uint256";
|
|
1460
|
+
readonly internalType: "uint256";
|
|
1461
|
+
}, {
|
|
1462
|
+
readonly name: "stablecoinAmount";
|
|
1463
|
+
readonly type: "uint256";
|
|
1464
|
+
readonly internalType: "uint256";
|
|
1465
|
+
}, {
|
|
1466
|
+
readonly name: "requestedAt";
|
|
1467
|
+
readonly type: "uint64";
|
|
1468
|
+
readonly internalType: "uint64";
|
|
1469
|
+
}, {
|
|
1470
|
+
readonly name: "fulfilled";
|
|
1471
|
+
readonly type: "bool";
|
|
1472
|
+
readonly internalType: "bool";
|
|
1473
|
+
}, {
|
|
1474
|
+
readonly name: "cancelled";
|
|
1475
|
+
readonly type: "bool";
|
|
1476
|
+
readonly internalType: "bool";
|
|
1477
|
+
}];
|
|
1478
|
+
}];
|
|
1479
|
+
readonly stateMutability: "view";
|
|
1480
|
+
}, {
|
|
1481
|
+
readonly type: "function";
|
|
1482
|
+
readonly name: "globalDepositCap";
|
|
1483
|
+
readonly inputs: readonly [];
|
|
1484
|
+
readonly outputs: readonly [{
|
|
1485
|
+
readonly name: "";
|
|
1486
|
+
readonly type: "uint256";
|
|
1487
|
+
readonly internalType: "uint256";
|
|
1488
|
+
}];
|
|
1489
|
+
readonly stateMutability: "view";
|
|
1490
|
+
}, {
|
|
1491
|
+
readonly type: "function";
|
|
1492
|
+
readonly name: "grantRole";
|
|
1493
|
+
readonly inputs: readonly [{
|
|
1494
|
+
readonly name: "role";
|
|
1495
|
+
readonly type: "bytes32";
|
|
1496
|
+
readonly internalType: "bytes32";
|
|
1497
|
+
}, {
|
|
1498
|
+
readonly name: "account";
|
|
1499
|
+
readonly type: "address";
|
|
1500
|
+
readonly internalType: "address";
|
|
1501
|
+
}];
|
|
1502
|
+
readonly outputs: readonly [];
|
|
1503
|
+
readonly stateMutability: "nonpayable";
|
|
1504
|
+
}, {
|
|
1505
|
+
readonly type: "function";
|
|
1506
|
+
readonly name: "hasRole";
|
|
1507
|
+
readonly inputs: readonly [{
|
|
1508
|
+
readonly name: "role";
|
|
1509
|
+
readonly type: "bytes32";
|
|
1510
|
+
readonly internalType: "bytes32";
|
|
1511
|
+
}, {
|
|
1512
|
+
readonly name: "account";
|
|
1513
|
+
readonly type: "address";
|
|
1514
|
+
readonly internalType: "address";
|
|
1515
|
+
}];
|
|
1516
|
+
readonly outputs: readonly [{
|
|
1517
|
+
readonly name: "";
|
|
1518
|
+
readonly type: "bool";
|
|
1519
|
+
readonly internalType: "bool";
|
|
1520
|
+
}];
|
|
1521
|
+
readonly stateMutability: "view";
|
|
1522
|
+
}, {
|
|
1523
|
+
readonly type: "function";
|
|
1524
|
+
readonly name: "initialize";
|
|
1525
|
+
readonly inputs: readonly [{
|
|
1526
|
+
readonly name: "receiptToken_";
|
|
1527
|
+
readonly type: "address";
|
|
1528
|
+
readonly internalType: "address";
|
|
1529
|
+
}, {
|
|
1530
|
+
readonly name: "admin_";
|
|
1531
|
+
readonly type: "address";
|
|
1532
|
+
readonly internalType: "address";
|
|
1533
|
+
}];
|
|
1534
|
+
readonly outputs: readonly [];
|
|
1535
|
+
readonly stateMutability: "nonpayable";
|
|
1536
|
+
}, {
|
|
1537
|
+
readonly type: "function";
|
|
1538
|
+
readonly name: "isAcceptedStablecoin";
|
|
1539
|
+
readonly inputs: readonly [{
|
|
1540
|
+
readonly name: "stablecoin";
|
|
1541
|
+
readonly type: "address";
|
|
1542
|
+
readonly internalType: "address";
|
|
1543
|
+
}];
|
|
1544
|
+
readonly outputs: readonly [{
|
|
1545
|
+
readonly name: "";
|
|
1546
|
+
readonly type: "bool";
|
|
1547
|
+
readonly internalType: "bool";
|
|
1548
|
+
}];
|
|
1549
|
+
readonly stateMutability: "view";
|
|
1550
|
+
}, {
|
|
1551
|
+
readonly type: "function";
|
|
1552
|
+
readonly name: "minDepositAmount";
|
|
1553
|
+
readonly inputs: readonly [];
|
|
1554
|
+
readonly outputs: readonly [{
|
|
1555
|
+
readonly name: "";
|
|
1556
|
+
readonly type: "uint256";
|
|
1557
|
+
readonly internalType: "uint256";
|
|
1558
|
+
}];
|
|
1559
|
+
readonly stateMutability: "view";
|
|
1560
|
+
}, {
|
|
1561
|
+
readonly type: "function";
|
|
1562
|
+
readonly name: "minWithdrawAmount";
|
|
1563
|
+
readonly inputs: readonly [];
|
|
1564
|
+
readonly outputs: readonly [{
|
|
1565
|
+
readonly name: "";
|
|
1566
|
+
readonly type: "uint256";
|
|
1567
|
+
readonly internalType: "uint256";
|
|
1568
|
+
}];
|
|
1569
|
+
readonly stateMutability: "view";
|
|
1570
|
+
}, {
|
|
1571
|
+
readonly type: "function";
|
|
1572
|
+
readonly name: "nextRequestId";
|
|
1573
|
+
readonly inputs: readonly [];
|
|
1574
|
+
readonly outputs: readonly [{
|
|
1575
|
+
readonly name: "";
|
|
1576
|
+
readonly type: "uint256";
|
|
1577
|
+
readonly internalType: "uint256";
|
|
1578
|
+
}];
|
|
1579
|
+
readonly stateMutability: "view";
|
|
1580
|
+
}, {
|
|
1581
|
+
readonly type: "function";
|
|
1582
|
+
readonly name: "pause";
|
|
1583
|
+
readonly inputs: readonly [];
|
|
1584
|
+
readonly outputs: readonly [];
|
|
1585
|
+
readonly stateMutability: "nonpayable";
|
|
1586
|
+
}, {
|
|
1587
|
+
readonly type: "function";
|
|
1588
|
+
readonly name: "paused";
|
|
1589
|
+
readonly inputs: readonly [];
|
|
1590
|
+
readonly outputs: readonly [{
|
|
1591
|
+
readonly name: "";
|
|
1592
|
+
readonly type: "bool";
|
|
1593
|
+
readonly internalType: "bool";
|
|
1594
|
+
}];
|
|
1595
|
+
readonly stateMutability: "view";
|
|
1596
|
+
}, {
|
|
1597
|
+
readonly type: "function";
|
|
1598
|
+
readonly name: "receiptToStablecoin";
|
|
1599
|
+
readonly inputs: readonly [{
|
|
1600
|
+
readonly name: "stablecoin";
|
|
1601
|
+
readonly type: "address";
|
|
1602
|
+
readonly internalType: "address";
|
|
1603
|
+
}, {
|
|
1604
|
+
readonly name: "receiptAmount";
|
|
1605
|
+
readonly type: "uint256";
|
|
1606
|
+
readonly internalType: "uint256";
|
|
1607
|
+
}];
|
|
1608
|
+
readonly outputs: readonly [{
|
|
1609
|
+
readonly name: "";
|
|
1610
|
+
readonly type: "uint256";
|
|
1611
|
+
readonly internalType: "uint256";
|
|
1612
|
+
}];
|
|
1613
|
+
readonly stateMutability: "view";
|
|
1614
|
+
}, {
|
|
1615
|
+
readonly type: "function";
|
|
1616
|
+
readonly name: "receiptToStablecoin";
|
|
1617
|
+
readonly inputs: readonly [{
|
|
1618
|
+
readonly name: "receiptAmount";
|
|
1619
|
+
readonly type: "uint256";
|
|
1620
|
+
readonly internalType: "uint256";
|
|
1621
|
+
}];
|
|
1622
|
+
readonly outputs: readonly [{
|
|
1623
|
+
readonly name: "";
|
|
1624
|
+
readonly type: "uint256";
|
|
1625
|
+
readonly internalType: "uint256";
|
|
1626
|
+
}];
|
|
1627
|
+
readonly stateMutability: "pure";
|
|
1628
|
+
}, {
|
|
1629
|
+
readonly type: "function";
|
|
1630
|
+
readonly name: "receiptToken";
|
|
1631
|
+
readonly inputs: readonly [];
|
|
1632
|
+
readonly outputs: readonly [{
|
|
1633
|
+
readonly name: "";
|
|
1634
|
+
readonly type: "address";
|
|
1635
|
+
readonly internalType: "contract IRWAToken";
|
|
1636
|
+
}];
|
|
1637
|
+
readonly stateMutability: "view";
|
|
1638
|
+
}, {
|
|
1639
|
+
readonly type: "function";
|
|
1640
|
+
readonly name: "renounceRole";
|
|
1641
|
+
readonly inputs: readonly [{
|
|
1642
|
+
readonly name: "role";
|
|
1643
|
+
readonly type: "bytes32";
|
|
1644
|
+
readonly internalType: "bytes32";
|
|
1645
|
+
}, {
|
|
1646
|
+
readonly name: "callerConfirmation";
|
|
1647
|
+
readonly type: "address";
|
|
1648
|
+
readonly internalType: "address";
|
|
1649
|
+
}];
|
|
1650
|
+
readonly outputs: readonly [];
|
|
1651
|
+
readonly stateMutability: "nonpayable";
|
|
1652
|
+
}, {
|
|
1653
|
+
readonly type: "function";
|
|
1654
|
+
readonly name: "requestWithdraw";
|
|
1655
|
+
readonly inputs: readonly [{
|
|
1656
|
+
readonly name: "stablecoin";
|
|
1657
|
+
readonly type: "address";
|
|
1658
|
+
readonly internalType: "address";
|
|
1659
|
+
}, {
|
|
1660
|
+
readonly name: "receiptAmount";
|
|
1661
|
+
readonly type: "uint256";
|
|
1662
|
+
readonly internalType: "uint256";
|
|
1663
|
+
}];
|
|
1664
|
+
readonly outputs: readonly [];
|
|
1665
|
+
readonly stateMutability: "nonpayable";
|
|
1666
|
+
}, {
|
|
1667
|
+
readonly type: "function";
|
|
1668
|
+
readonly name: "revokeRole";
|
|
1669
|
+
readonly inputs: readonly [{
|
|
1670
|
+
readonly name: "role";
|
|
1671
|
+
readonly type: "bytes32";
|
|
1672
|
+
readonly internalType: "bytes32";
|
|
1673
|
+
}, {
|
|
1674
|
+
readonly name: "account";
|
|
1675
|
+
readonly type: "address";
|
|
1676
|
+
readonly internalType: "address";
|
|
1677
|
+
}];
|
|
1678
|
+
readonly outputs: readonly [];
|
|
1679
|
+
readonly stateMutability: "nonpayable";
|
|
1680
|
+
}, {
|
|
1681
|
+
readonly type: "function";
|
|
1682
|
+
readonly name: "setAcceptedStablecoin";
|
|
1683
|
+
readonly inputs: readonly [{
|
|
1684
|
+
readonly name: "stablecoin";
|
|
1685
|
+
readonly type: "address";
|
|
1686
|
+
readonly internalType: "address";
|
|
1687
|
+
}, {
|
|
1688
|
+
readonly name: "accepted";
|
|
1689
|
+
readonly type: "bool";
|
|
1690
|
+
readonly internalType: "bool";
|
|
1691
|
+
}];
|
|
1692
|
+
readonly outputs: readonly [];
|
|
1693
|
+
readonly stateMutability: "nonpayable";
|
|
1694
|
+
}, {
|
|
1695
|
+
readonly type: "function";
|
|
1696
|
+
readonly name: "setFee";
|
|
1697
|
+
readonly inputs: readonly [{
|
|
1698
|
+
readonly name: "bps";
|
|
1699
|
+
readonly type: "uint256";
|
|
1700
|
+
readonly internalType: "uint256";
|
|
1701
|
+
}, {
|
|
1702
|
+
readonly name: "recipient";
|
|
1703
|
+
readonly type: "address";
|
|
1704
|
+
readonly internalType: "address";
|
|
1705
|
+
}];
|
|
1706
|
+
readonly outputs: readonly [];
|
|
1707
|
+
readonly stateMutability: "nonpayable";
|
|
1708
|
+
}, {
|
|
1709
|
+
readonly type: "function";
|
|
1710
|
+
readonly name: "setGlobalDepositCap";
|
|
1711
|
+
readonly inputs: readonly [{
|
|
1712
|
+
readonly name: "cap";
|
|
1713
|
+
readonly type: "uint256";
|
|
1714
|
+
readonly internalType: "uint256";
|
|
1715
|
+
}];
|
|
1716
|
+
readonly outputs: readonly [];
|
|
1717
|
+
readonly stateMutability: "nonpayable";
|
|
1718
|
+
}, {
|
|
1719
|
+
readonly type: "function";
|
|
1720
|
+
readonly name: "setMinDepositAmount";
|
|
1721
|
+
readonly inputs: readonly [{
|
|
1722
|
+
readonly name: "amount";
|
|
1723
|
+
readonly type: "uint256";
|
|
1724
|
+
readonly internalType: "uint256";
|
|
1725
|
+
}];
|
|
1726
|
+
readonly outputs: readonly [];
|
|
1727
|
+
readonly stateMutability: "nonpayable";
|
|
1728
|
+
}, {
|
|
1729
|
+
readonly type: "function";
|
|
1730
|
+
readonly name: "setMinWithdrawAmount";
|
|
1731
|
+
readonly inputs: readonly [{
|
|
1732
|
+
readonly name: "amount";
|
|
1733
|
+
readonly type: "uint256";
|
|
1734
|
+
readonly internalType: "uint256";
|
|
1735
|
+
}];
|
|
1736
|
+
readonly outputs: readonly [];
|
|
1737
|
+
readonly stateMutability: "nonpayable";
|
|
1738
|
+
}, {
|
|
1739
|
+
readonly type: "function";
|
|
1740
|
+
readonly name: "setReceiptToken";
|
|
1741
|
+
readonly inputs: readonly [{
|
|
1742
|
+
readonly name: "newReceiptToken";
|
|
1743
|
+
readonly type: "address";
|
|
1744
|
+
readonly internalType: "address";
|
|
1745
|
+
}];
|
|
1746
|
+
readonly outputs: readonly [];
|
|
1747
|
+
readonly stateMutability: "nonpayable";
|
|
1748
|
+
}, {
|
|
1749
|
+
readonly type: "function";
|
|
1750
|
+
readonly name: "setUserDepositCap";
|
|
1751
|
+
readonly inputs: readonly [{
|
|
1752
|
+
readonly name: "user";
|
|
1753
|
+
readonly type: "address";
|
|
1754
|
+
readonly internalType: "address";
|
|
1755
|
+
}, {
|
|
1756
|
+
readonly name: "cap";
|
|
1757
|
+
readonly type: "uint256";
|
|
1758
|
+
readonly internalType: "uint256";
|
|
1759
|
+
}];
|
|
1760
|
+
readonly outputs: readonly [];
|
|
1761
|
+
readonly stateMutability: "nonpayable";
|
|
1762
|
+
}, {
|
|
1763
|
+
readonly type: "function";
|
|
1764
|
+
readonly name: "setUserDepositCapBatch";
|
|
1765
|
+
readonly inputs: readonly [{
|
|
1766
|
+
readonly name: "users";
|
|
1767
|
+
readonly type: "address[]";
|
|
1768
|
+
readonly internalType: "address[]";
|
|
1769
|
+
}, {
|
|
1770
|
+
readonly name: "cap";
|
|
1771
|
+
readonly type: "uint256";
|
|
1772
|
+
readonly internalType: "uint256";
|
|
1773
|
+
}];
|
|
1774
|
+
readonly outputs: readonly [];
|
|
1775
|
+
readonly stateMutability: "nonpayable";
|
|
1776
|
+
}, {
|
|
1777
|
+
readonly type: "function";
|
|
1778
|
+
readonly name: "stablecoinToReceipt";
|
|
1779
|
+
readonly inputs: readonly [{
|
|
1780
|
+
readonly name: "stablecoinAmount";
|
|
1781
|
+
readonly type: "uint256";
|
|
1782
|
+
readonly internalType: "uint256";
|
|
1783
|
+
}];
|
|
1784
|
+
readonly outputs: readonly [{
|
|
1785
|
+
readonly name: "";
|
|
1786
|
+
readonly type: "uint256";
|
|
1787
|
+
readonly internalType: "uint256";
|
|
1788
|
+
}];
|
|
1789
|
+
readonly stateMutability: "pure";
|
|
1790
|
+
}, {
|
|
1791
|
+
readonly type: "function";
|
|
1792
|
+
readonly name: "stablecoinToReceipt";
|
|
1793
|
+
readonly inputs: readonly [{
|
|
1794
|
+
readonly name: "stablecoin";
|
|
1795
|
+
readonly type: "address";
|
|
1796
|
+
readonly internalType: "address";
|
|
1797
|
+
}, {
|
|
1798
|
+
readonly name: "stablecoinAmount";
|
|
1799
|
+
readonly type: "uint256";
|
|
1800
|
+
readonly internalType: "uint256";
|
|
1801
|
+
}];
|
|
1802
|
+
readonly outputs: readonly [{
|
|
1803
|
+
readonly name: "";
|
|
1804
|
+
readonly type: "uint256";
|
|
1805
|
+
readonly internalType: "uint256";
|
|
1806
|
+
}];
|
|
1807
|
+
readonly stateMutability: "view";
|
|
1808
|
+
}, {
|
|
1809
|
+
readonly type: "function";
|
|
1810
|
+
readonly name: "supportsInterface";
|
|
1811
|
+
readonly inputs: readonly [{
|
|
1812
|
+
readonly name: "interfaceId";
|
|
1813
|
+
readonly type: "bytes4";
|
|
1814
|
+
readonly internalType: "bytes4";
|
|
1815
|
+
}];
|
|
1816
|
+
readonly outputs: readonly [{
|
|
1817
|
+
readonly name: "";
|
|
1818
|
+
readonly type: "bool";
|
|
1819
|
+
readonly internalType: "bool";
|
|
1820
|
+
}];
|
|
1821
|
+
readonly stateMutability: "view";
|
|
1822
|
+
}, {
|
|
1823
|
+
readonly type: "function";
|
|
1824
|
+
readonly name: "totalDeposited";
|
|
1825
|
+
readonly inputs: readonly [];
|
|
1826
|
+
readonly outputs: readonly [{
|
|
1827
|
+
readonly name: "";
|
|
1828
|
+
readonly type: "uint256";
|
|
1829
|
+
readonly internalType: "uint256";
|
|
1830
|
+
}];
|
|
1831
|
+
readonly stateMutability: "view";
|
|
1832
|
+
}, {
|
|
1833
|
+
readonly type: "function";
|
|
1834
|
+
readonly name: "unpause";
|
|
1835
|
+
readonly inputs: readonly [];
|
|
1836
|
+
readonly outputs: readonly [];
|
|
1837
|
+
readonly stateMutability: "nonpayable";
|
|
1838
|
+
}, {
|
|
1839
|
+
readonly type: "function";
|
|
1840
|
+
readonly name: "userDepositCap";
|
|
1841
|
+
readonly inputs: readonly [{
|
|
1842
|
+
readonly name: "user";
|
|
1843
|
+
readonly type: "address";
|
|
1844
|
+
readonly internalType: "address";
|
|
1845
|
+
}];
|
|
1846
|
+
readonly outputs: readonly [{
|
|
1847
|
+
readonly name: "";
|
|
1848
|
+
readonly type: "uint256";
|
|
1849
|
+
readonly internalType: "uint256";
|
|
1850
|
+
}];
|
|
1851
|
+
readonly stateMutability: "view";
|
|
1852
|
+
}, {
|
|
1853
|
+
readonly type: "function";
|
|
1854
|
+
readonly name: "userTotalDeposited";
|
|
1855
|
+
readonly inputs: readonly [{
|
|
1856
|
+
readonly name: "user";
|
|
1857
|
+
readonly type: "address";
|
|
1858
|
+
readonly internalType: "address";
|
|
1859
|
+
}];
|
|
1860
|
+
readonly outputs: readonly [{
|
|
1861
|
+
readonly name: "";
|
|
1862
|
+
readonly type: "uint256";
|
|
1863
|
+
readonly internalType: "uint256";
|
|
1864
|
+
}];
|
|
1865
|
+
readonly stateMutability: "view";
|
|
1866
|
+
}, {
|
|
1867
|
+
readonly type: "event";
|
|
1868
|
+
readonly name: "DepositFeeCollected";
|
|
1869
|
+
readonly inputs: readonly [{
|
|
1870
|
+
readonly name: "user";
|
|
1871
|
+
readonly type: "address";
|
|
1872
|
+
readonly indexed: true;
|
|
1873
|
+
readonly internalType: "address";
|
|
1874
|
+
}, {
|
|
1875
|
+
readonly name: "stablecoin";
|
|
1876
|
+
readonly type: "address";
|
|
1877
|
+
readonly indexed: true;
|
|
1878
|
+
readonly internalType: "address";
|
|
1879
|
+
}, {
|
|
1880
|
+
readonly name: "feeAmount";
|
|
1881
|
+
readonly type: "uint256";
|
|
1882
|
+
readonly indexed: false;
|
|
1883
|
+
readonly internalType: "uint256";
|
|
1884
|
+
}];
|
|
1885
|
+
readonly anonymous: false;
|
|
1886
|
+
}, {
|
|
1887
|
+
readonly type: "event";
|
|
1888
|
+
readonly name: "Deposited";
|
|
1889
|
+
readonly inputs: readonly [{
|
|
1890
|
+
readonly name: "user";
|
|
1891
|
+
readonly type: "address";
|
|
1892
|
+
readonly indexed: true;
|
|
1893
|
+
readonly internalType: "address";
|
|
1894
|
+
}, {
|
|
1895
|
+
readonly name: "stablecoin";
|
|
1896
|
+
readonly type: "address";
|
|
1897
|
+
readonly indexed: true;
|
|
1898
|
+
readonly internalType: "address";
|
|
1899
|
+
}, {
|
|
1900
|
+
readonly name: "stablecoinAmount";
|
|
1901
|
+
readonly type: "uint256";
|
|
1902
|
+
readonly indexed: false;
|
|
1903
|
+
readonly internalType: "uint256";
|
|
1904
|
+
}, {
|
|
1905
|
+
readonly name: "receiptAmount";
|
|
1906
|
+
readonly type: "uint256";
|
|
1907
|
+
readonly indexed: false;
|
|
1908
|
+
readonly internalType: "uint256";
|
|
1909
|
+
}, {
|
|
1910
|
+
readonly name: "timestamp";
|
|
1911
|
+
readonly type: "uint256";
|
|
1912
|
+
readonly indexed: false;
|
|
1913
|
+
readonly internalType: "uint256";
|
|
1914
|
+
}];
|
|
1915
|
+
readonly anonymous: false;
|
|
1916
|
+
}, {
|
|
1917
|
+
readonly type: "event";
|
|
1918
|
+
readonly name: "EmergencyWithdraw";
|
|
1919
|
+
readonly inputs: readonly [{
|
|
1920
|
+
readonly name: "token";
|
|
1921
|
+
readonly type: "address";
|
|
1922
|
+
readonly indexed: true;
|
|
1923
|
+
readonly internalType: "address";
|
|
1924
|
+
}, {
|
|
1925
|
+
readonly name: "to";
|
|
1926
|
+
readonly type: "address";
|
|
1927
|
+
readonly indexed: true;
|
|
1928
|
+
readonly internalType: "address";
|
|
1929
|
+
}, {
|
|
1930
|
+
readonly name: "amount";
|
|
1931
|
+
readonly type: "uint256";
|
|
1932
|
+
readonly indexed: false;
|
|
1933
|
+
readonly internalType: "uint256";
|
|
1934
|
+
}];
|
|
1935
|
+
readonly anonymous: false;
|
|
1936
|
+
}, {
|
|
1937
|
+
readonly type: "event";
|
|
1938
|
+
readonly name: "FeeUpdated";
|
|
1939
|
+
readonly inputs: readonly [{
|
|
1940
|
+
readonly name: "feeBps";
|
|
1941
|
+
readonly type: "uint256";
|
|
1942
|
+
readonly indexed: false;
|
|
1943
|
+
readonly internalType: "uint256";
|
|
1944
|
+
}, {
|
|
1945
|
+
readonly name: "feeRecipient";
|
|
1946
|
+
readonly type: "address";
|
|
1947
|
+
readonly indexed: true;
|
|
1948
|
+
readonly internalType: "address";
|
|
1949
|
+
}];
|
|
1950
|
+
readonly anonymous: false;
|
|
1951
|
+
}, {
|
|
1952
|
+
readonly type: "event";
|
|
1953
|
+
readonly name: "GlobalDepositCapUpdated";
|
|
1954
|
+
readonly inputs: readonly [{
|
|
1955
|
+
readonly name: "newCap";
|
|
1956
|
+
readonly type: "uint256";
|
|
1957
|
+
readonly indexed: false;
|
|
1958
|
+
readonly internalType: "uint256";
|
|
1959
|
+
}];
|
|
1960
|
+
readonly anonymous: false;
|
|
1961
|
+
}, {
|
|
1962
|
+
readonly type: "event";
|
|
1963
|
+
readonly name: "Initialized";
|
|
1964
|
+
readonly inputs: readonly [{
|
|
1965
|
+
readonly name: "version";
|
|
1966
|
+
readonly type: "uint64";
|
|
1967
|
+
readonly indexed: false;
|
|
1968
|
+
readonly internalType: "uint64";
|
|
1969
|
+
}];
|
|
1970
|
+
readonly anonymous: false;
|
|
1971
|
+
}, {
|
|
1972
|
+
readonly type: "event";
|
|
1973
|
+
readonly name: "MinDepositAmountUpdated";
|
|
1974
|
+
readonly inputs: readonly [{
|
|
1975
|
+
readonly name: "newMin";
|
|
1976
|
+
readonly type: "uint256";
|
|
1977
|
+
readonly indexed: false;
|
|
1978
|
+
readonly internalType: "uint256";
|
|
1979
|
+
}];
|
|
1980
|
+
readonly anonymous: false;
|
|
1981
|
+
}, {
|
|
1982
|
+
readonly type: "event";
|
|
1983
|
+
readonly name: "MinWithdrawAmountUpdated";
|
|
1984
|
+
readonly inputs: readonly [{
|
|
1985
|
+
readonly name: "newMin";
|
|
1986
|
+
readonly type: "uint256";
|
|
1987
|
+
readonly indexed: false;
|
|
1988
|
+
readonly internalType: "uint256";
|
|
1989
|
+
}];
|
|
1990
|
+
readonly anonymous: false;
|
|
1991
|
+
}, {
|
|
1992
|
+
readonly type: "event";
|
|
1993
|
+
readonly name: "Paused";
|
|
1994
|
+
readonly inputs: readonly [{
|
|
1995
|
+
readonly name: "account";
|
|
1996
|
+
readonly type: "address";
|
|
1997
|
+
readonly indexed: false;
|
|
1998
|
+
readonly internalType: "address";
|
|
1999
|
+
}];
|
|
2000
|
+
readonly anonymous: false;
|
|
2001
|
+
}, {
|
|
2002
|
+
readonly type: "event";
|
|
2003
|
+
readonly name: "ReceiptTokenUpdated";
|
|
2004
|
+
readonly inputs: readonly [{
|
|
2005
|
+
readonly name: "oldToken";
|
|
2006
|
+
readonly type: "address";
|
|
2007
|
+
readonly indexed: true;
|
|
2008
|
+
readonly internalType: "address";
|
|
2009
|
+
}, {
|
|
2010
|
+
readonly name: "newToken";
|
|
2011
|
+
readonly type: "address";
|
|
2012
|
+
readonly indexed: true;
|
|
2013
|
+
readonly internalType: "address";
|
|
2014
|
+
}];
|
|
2015
|
+
readonly anonymous: false;
|
|
2016
|
+
}, {
|
|
2017
|
+
readonly type: "event";
|
|
2018
|
+
readonly name: "RoleAdminChanged";
|
|
2019
|
+
readonly inputs: readonly [{
|
|
2020
|
+
readonly name: "role";
|
|
2021
|
+
readonly type: "bytes32";
|
|
2022
|
+
readonly indexed: true;
|
|
2023
|
+
readonly internalType: "bytes32";
|
|
2024
|
+
}, {
|
|
2025
|
+
readonly name: "previousAdminRole";
|
|
2026
|
+
readonly type: "bytes32";
|
|
2027
|
+
readonly indexed: true;
|
|
2028
|
+
readonly internalType: "bytes32";
|
|
2029
|
+
}, {
|
|
2030
|
+
readonly name: "newAdminRole";
|
|
2031
|
+
readonly type: "bytes32";
|
|
2032
|
+
readonly indexed: true;
|
|
2033
|
+
readonly internalType: "bytes32";
|
|
2034
|
+
}];
|
|
2035
|
+
readonly anonymous: false;
|
|
2036
|
+
}, {
|
|
2037
|
+
readonly type: "event";
|
|
2038
|
+
readonly name: "RoleGranted";
|
|
2039
|
+
readonly inputs: readonly [{
|
|
2040
|
+
readonly name: "role";
|
|
2041
|
+
readonly type: "bytes32";
|
|
2042
|
+
readonly indexed: true;
|
|
2043
|
+
readonly internalType: "bytes32";
|
|
2044
|
+
}, {
|
|
2045
|
+
readonly name: "account";
|
|
2046
|
+
readonly type: "address";
|
|
2047
|
+
readonly indexed: true;
|
|
2048
|
+
readonly internalType: "address";
|
|
2049
|
+
}, {
|
|
2050
|
+
readonly name: "sender";
|
|
2051
|
+
readonly type: "address";
|
|
2052
|
+
readonly indexed: true;
|
|
2053
|
+
readonly internalType: "address";
|
|
2054
|
+
}];
|
|
2055
|
+
readonly anonymous: false;
|
|
2056
|
+
}, {
|
|
2057
|
+
readonly type: "event";
|
|
2058
|
+
readonly name: "RoleRevoked";
|
|
2059
|
+
readonly inputs: readonly [{
|
|
2060
|
+
readonly name: "role";
|
|
2061
|
+
readonly type: "bytes32";
|
|
2062
|
+
readonly indexed: true;
|
|
2063
|
+
readonly internalType: "bytes32";
|
|
2064
|
+
}, {
|
|
2065
|
+
readonly name: "account";
|
|
2066
|
+
readonly type: "address";
|
|
2067
|
+
readonly indexed: true;
|
|
2068
|
+
readonly internalType: "address";
|
|
2069
|
+
}, {
|
|
2070
|
+
readonly name: "sender";
|
|
2071
|
+
readonly type: "address";
|
|
2072
|
+
readonly indexed: true;
|
|
2073
|
+
readonly internalType: "address";
|
|
2074
|
+
}];
|
|
2075
|
+
readonly anonymous: false;
|
|
2076
|
+
}, {
|
|
2077
|
+
readonly type: "event";
|
|
2078
|
+
readonly name: "StablecoinUpdated";
|
|
2079
|
+
readonly inputs: readonly [{
|
|
2080
|
+
readonly name: "stablecoin";
|
|
2081
|
+
readonly type: "address";
|
|
2082
|
+
readonly indexed: true;
|
|
2083
|
+
readonly internalType: "address";
|
|
2084
|
+
}, {
|
|
2085
|
+
readonly name: "accepted";
|
|
2086
|
+
readonly type: "bool";
|
|
2087
|
+
readonly indexed: false;
|
|
2088
|
+
readonly internalType: "bool";
|
|
2089
|
+
}];
|
|
2090
|
+
readonly anonymous: false;
|
|
2091
|
+
}, {
|
|
2092
|
+
readonly type: "event";
|
|
2093
|
+
readonly name: "Unpaused";
|
|
2094
|
+
readonly inputs: readonly [{
|
|
2095
|
+
readonly name: "account";
|
|
2096
|
+
readonly type: "address";
|
|
2097
|
+
readonly indexed: false;
|
|
2098
|
+
readonly internalType: "address";
|
|
2099
|
+
}];
|
|
2100
|
+
readonly anonymous: false;
|
|
2101
|
+
}, {
|
|
2102
|
+
readonly type: "event";
|
|
2103
|
+
readonly name: "UserDepositCapUpdated";
|
|
2104
|
+
readonly inputs: readonly [{
|
|
2105
|
+
readonly name: "user";
|
|
2106
|
+
readonly type: "address";
|
|
2107
|
+
readonly indexed: true;
|
|
2108
|
+
readonly internalType: "address";
|
|
2109
|
+
}, {
|
|
2110
|
+
readonly name: "cap";
|
|
2111
|
+
readonly type: "uint256";
|
|
2112
|
+
readonly indexed: false;
|
|
2113
|
+
readonly internalType: "uint256";
|
|
2114
|
+
}];
|
|
2115
|
+
readonly anonymous: false;
|
|
2116
|
+
}, {
|
|
2117
|
+
readonly type: "event";
|
|
2118
|
+
readonly name: "WithdrawCancelled";
|
|
2119
|
+
readonly inputs: readonly [{
|
|
2120
|
+
readonly name: "requestId";
|
|
2121
|
+
readonly type: "uint256";
|
|
2122
|
+
readonly indexed: true;
|
|
2123
|
+
readonly internalType: "uint256";
|
|
2124
|
+
}, {
|
|
2125
|
+
readonly name: "user";
|
|
2126
|
+
readonly type: "address";
|
|
2127
|
+
readonly indexed: true;
|
|
2128
|
+
readonly internalType: "address";
|
|
2129
|
+
}, {
|
|
2130
|
+
readonly name: "receiptAmount";
|
|
2131
|
+
readonly type: "uint256";
|
|
2132
|
+
readonly indexed: false;
|
|
2133
|
+
readonly internalType: "uint256";
|
|
2134
|
+
}];
|
|
2135
|
+
readonly anonymous: false;
|
|
2136
|
+
}, {
|
|
2137
|
+
readonly type: "event";
|
|
2138
|
+
readonly name: "WithdrawFulfilled";
|
|
2139
|
+
readonly inputs: readonly [{
|
|
2140
|
+
readonly name: "requestId";
|
|
2141
|
+
readonly type: "uint256";
|
|
2142
|
+
readonly indexed: true;
|
|
2143
|
+
readonly internalType: "uint256";
|
|
2144
|
+
}, {
|
|
2145
|
+
readonly name: "user";
|
|
2146
|
+
readonly type: "address";
|
|
2147
|
+
readonly indexed: true;
|
|
2148
|
+
readonly internalType: "address";
|
|
2149
|
+
}, {
|
|
2150
|
+
readonly name: "stablecoinAmount";
|
|
2151
|
+
readonly type: "uint256";
|
|
2152
|
+
readonly indexed: false;
|
|
2153
|
+
readonly internalType: "uint256";
|
|
2154
|
+
}];
|
|
2155
|
+
readonly anonymous: false;
|
|
2156
|
+
}, {
|
|
2157
|
+
readonly type: "event";
|
|
2158
|
+
readonly name: "WithdrawRequested";
|
|
2159
|
+
readonly inputs: readonly [{
|
|
2160
|
+
readonly name: "requestId";
|
|
2161
|
+
readonly type: "uint256";
|
|
2162
|
+
readonly indexed: true;
|
|
2163
|
+
readonly internalType: "uint256";
|
|
2164
|
+
}, {
|
|
2165
|
+
readonly name: "user";
|
|
2166
|
+
readonly type: "address";
|
|
2167
|
+
readonly indexed: true;
|
|
2168
|
+
readonly internalType: "address";
|
|
2169
|
+
}, {
|
|
2170
|
+
readonly name: "stablecoin";
|
|
2171
|
+
readonly type: "address";
|
|
2172
|
+
readonly indexed: true;
|
|
2173
|
+
readonly internalType: "address";
|
|
2174
|
+
}, {
|
|
2175
|
+
readonly name: "receiptAmount";
|
|
2176
|
+
readonly type: "uint256";
|
|
2177
|
+
readonly indexed: false;
|
|
2178
|
+
readonly internalType: "uint256";
|
|
2179
|
+
}, {
|
|
2180
|
+
readonly name: "stablecoinAmount";
|
|
2181
|
+
readonly type: "uint256";
|
|
2182
|
+
readonly indexed: false;
|
|
2183
|
+
readonly internalType: "uint256";
|
|
2184
|
+
}, {
|
|
2185
|
+
readonly name: "timestamp";
|
|
2186
|
+
readonly type: "uint256";
|
|
2187
|
+
readonly indexed: false;
|
|
2188
|
+
readonly internalType: "uint256";
|
|
2189
|
+
}];
|
|
2190
|
+
readonly anonymous: false;
|
|
2191
|
+
}, {
|
|
2192
|
+
readonly type: "error";
|
|
2193
|
+
readonly name: "AccessControlBadConfirmation";
|
|
2194
|
+
readonly inputs: readonly [];
|
|
2195
|
+
}, {
|
|
2196
|
+
readonly type: "error";
|
|
2197
|
+
readonly name: "AccessControlUnauthorizedAccount";
|
|
2198
|
+
readonly inputs: readonly [{
|
|
2199
|
+
readonly name: "account";
|
|
2200
|
+
readonly type: "address";
|
|
2201
|
+
readonly internalType: "address";
|
|
2202
|
+
}, {
|
|
2203
|
+
readonly name: "neededRole";
|
|
2204
|
+
readonly type: "bytes32";
|
|
2205
|
+
readonly internalType: "bytes32";
|
|
2206
|
+
}];
|
|
2207
|
+
}, {
|
|
2208
|
+
readonly type: "error";
|
|
2209
|
+
readonly name: "EnforcedPause";
|
|
2210
|
+
readonly inputs: readonly [];
|
|
2211
|
+
}, {
|
|
2212
|
+
readonly type: "error";
|
|
2213
|
+
readonly name: "ExpectedPause";
|
|
2214
|
+
readonly inputs: readonly [];
|
|
2215
|
+
}, {
|
|
2216
|
+
readonly type: "error";
|
|
2217
|
+
readonly name: "InvalidInitialization";
|
|
2218
|
+
readonly inputs: readonly [];
|
|
2219
|
+
}, {
|
|
2220
|
+
readonly type: "error";
|
|
2221
|
+
readonly name: "NotInitializing";
|
|
2222
|
+
readonly inputs: readonly [];
|
|
2223
|
+
}, {
|
|
2224
|
+
readonly type: "error";
|
|
2225
|
+
readonly name: "ReentrancyGuardReentrantCall";
|
|
2226
|
+
readonly inputs: readonly [];
|
|
2227
|
+
}, {
|
|
2228
|
+
readonly type: "error";
|
|
2229
|
+
readonly name: "SafeERC20FailedOperation";
|
|
2230
|
+
readonly inputs: readonly [{
|
|
2231
|
+
readonly name: "token";
|
|
2232
|
+
readonly type: "address";
|
|
2233
|
+
readonly internalType: "address";
|
|
2234
|
+
}];
|
|
2235
|
+
}];
|
|
2236
|
+
|
|
2237
|
+
declare const stfTokenAbi: ({
|
|
2238
|
+
type: string;
|
|
2239
|
+
inputs: {
|
|
2240
|
+
name: string;
|
|
2241
|
+
type: string;
|
|
2242
|
+
internalType: string;
|
|
2243
|
+
}[];
|
|
2244
|
+
stateMutability: string;
|
|
2245
|
+
name?: undefined;
|
|
2246
|
+
outputs?: undefined;
|
|
2247
|
+
anonymous?: undefined;
|
|
2248
|
+
} | {
|
|
2249
|
+
type: string;
|
|
2250
|
+
name: string;
|
|
2251
|
+
inputs: {
|
|
2252
|
+
name: string;
|
|
2253
|
+
type: string;
|
|
2254
|
+
internalType: string;
|
|
2255
|
+
}[];
|
|
2256
|
+
outputs: {
|
|
2257
|
+
name: string;
|
|
2258
|
+
type: string;
|
|
2259
|
+
internalType: string;
|
|
2260
|
+
}[];
|
|
2261
|
+
stateMutability: string;
|
|
2262
|
+
anonymous?: undefined;
|
|
2263
|
+
} | {
|
|
2264
|
+
type: string;
|
|
2265
|
+
name: string;
|
|
2266
|
+
inputs: {
|
|
2267
|
+
name: string;
|
|
2268
|
+
type: string;
|
|
2269
|
+
internalType: string;
|
|
2270
|
+
}[];
|
|
2271
|
+
outputs: {
|
|
2272
|
+
name: string;
|
|
2273
|
+
type: string;
|
|
2274
|
+
internalType: string;
|
|
2275
|
+
components: {
|
|
2276
|
+
name: string;
|
|
2277
|
+
type: string;
|
|
2278
|
+
internalType: string;
|
|
2279
|
+
}[];
|
|
2280
|
+
}[];
|
|
2281
|
+
stateMutability: string;
|
|
2282
|
+
anonymous?: undefined;
|
|
2283
|
+
} | {
|
|
2284
|
+
type: string;
|
|
2285
|
+
name: string;
|
|
2286
|
+
inputs: {
|
|
2287
|
+
name: string;
|
|
2288
|
+
type: string;
|
|
2289
|
+
indexed: boolean;
|
|
2290
|
+
internalType: string;
|
|
2291
|
+
}[];
|
|
2292
|
+
anonymous: boolean;
|
|
2293
|
+
stateMutability?: undefined;
|
|
2294
|
+
outputs?: undefined;
|
|
2295
|
+
} | {
|
|
2296
|
+
type: string;
|
|
2297
|
+
name: string;
|
|
2298
|
+
inputs: {
|
|
2299
|
+
name: string;
|
|
2300
|
+
type: string;
|
|
2301
|
+
internalType: string;
|
|
2302
|
+
}[];
|
|
2303
|
+
stateMutability?: undefined;
|
|
2304
|
+
outputs?: undefined;
|
|
2305
|
+
anonymous?: undefined;
|
|
2306
|
+
})[];
|
|
2307
|
+
|
|
2308
|
+
declare const xstfAbi: ({
|
|
2309
|
+
type: string;
|
|
2310
|
+
inputs: {
|
|
2311
|
+
name: string;
|
|
2312
|
+
type: string;
|
|
2313
|
+
internalType: string;
|
|
2314
|
+
}[];
|
|
2315
|
+
stateMutability: string;
|
|
2316
|
+
name?: undefined;
|
|
2317
|
+
outputs?: undefined;
|
|
2318
|
+
anonymous?: undefined;
|
|
2319
|
+
} | {
|
|
2320
|
+
type: string;
|
|
2321
|
+
name: string;
|
|
2322
|
+
inputs: {
|
|
2323
|
+
name: string;
|
|
2324
|
+
type: string;
|
|
2325
|
+
internalType: string;
|
|
2326
|
+
}[];
|
|
2327
|
+
outputs: {
|
|
2328
|
+
name: string;
|
|
2329
|
+
type: string;
|
|
2330
|
+
internalType: string;
|
|
2331
|
+
}[];
|
|
2332
|
+
stateMutability: string;
|
|
2333
|
+
anonymous?: undefined;
|
|
2334
|
+
} | {
|
|
2335
|
+
type: string;
|
|
2336
|
+
name: string;
|
|
2337
|
+
inputs: {
|
|
2338
|
+
name: string;
|
|
2339
|
+
type: string;
|
|
2340
|
+
internalType: string;
|
|
2341
|
+
}[];
|
|
2342
|
+
outputs: {
|
|
2343
|
+
name: string;
|
|
2344
|
+
type: string;
|
|
2345
|
+
internalType: string;
|
|
2346
|
+
components: {
|
|
2347
|
+
name: string;
|
|
2348
|
+
type: string;
|
|
2349
|
+
internalType: string;
|
|
2350
|
+
}[];
|
|
2351
|
+
}[];
|
|
2352
|
+
stateMutability: string;
|
|
2353
|
+
anonymous?: undefined;
|
|
2354
|
+
} | {
|
|
2355
|
+
type: string;
|
|
2356
|
+
name: string;
|
|
2357
|
+
inputs: {
|
|
2358
|
+
name: string;
|
|
2359
|
+
type: string;
|
|
2360
|
+
indexed: boolean;
|
|
2361
|
+
internalType: string;
|
|
2362
|
+
}[];
|
|
2363
|
+
anonymous: boolean;
|
|
2364
|
+
stateMutability?: undefined;
|
|
2365
|
+
outputs?: undefined;
|
|
2366
|
+
} | {
|
|
2367
|
+
type: string;
|
|
2368
|
+
name: string;
|
|
2369
|
+
inputs: {
|
|
2370
|
+
name: string;
|
|
2371
|
+
type: string;
|
|
2372
|
+
internalType: string;
|
|
2373
|
+
}[];
|
|
2374
|
+
stateMutability?: undefined;
|
|
2375
|
+
outputs?: undefined;
|
|
2376
|
+
anonymous?: undefined;
|
|
2377
|
+
})[];
|
|
2378
|
+
|
|
2379
|
+
declare const stfVestingAbi: ({
|
|
2380
|
+
type: string;
|
|
2381
|
+
inputs: {
|
|
2382
|
+
name: string;
|
|
2383
|
+
type: string;
|
|
2384
|
+
internalType: string;
|
|
2385
|
+
}[];
|
|
2386
|
+
stateMutability: string;
|
|
2387
|
+
name?: undefined;
|
|
2388
|
+
outputs?: undefined;
|
|
2389
|
+
anonymous?: undefined;
|
|
2390
|
+
} | {
|
|
2391
|
+
type: string;
|
|
2392
|
+
stateMutability: string;
|
|
2393
|
+
inputs?: undefined;
|
|
2394
|
+
name?: undefined;
|
|
2395
|
+
outputs?: undefined;
|
|
2396
|
+
anonymous?: undefined;
|
|
2397
|
+
} | {
|
|
2398
|
+
type: string;
|
|
2399
|
+
name: string;
|
|
2400
|
+
inputs: {
|
|
2401
|
+
name: string;
|
|
2402
|
+
type: string;
|
|
2403
|
+
internalType: string;
|
|
2404
|
+
}[];
|
|
2405
|
+
outputs: {
|
|
2406
|
+
name: string;
|
|
2407
|
+
type: string;
|
|
2408
|
+
internalType: string;
|
|
2409
|
+
}[];
|
|
2410
|
+
stateMutability: string;
|
|
2411
|
+
anonymous?: undefined;
|
|
2412
|
+
} | {
|
|
2413
|
+
type: string;
|
|
2414
|
+
name: string;
|
|
2415
|
+
inputs: {
|
|
2416
|
+
name: string;
|
|
2417
|
+
type: string;
|
|
2418
|
+
indexed: boolean;
|
|
2419
|
+
internalType: string;
|
|
2420
|
+
}[];
|
|
2421
|
+
anonymous: boolean;
|
|
2422
|
+
stateMutability?: undefined;
|
|
2423
|
+
outputs?: undefined;
|
|
2424
|
+
} | {
|
|
2425
|
+
type: string;
|
|
2426
|
+
name: string;
|
|
2427
|
+
inputs: {
|
|
2428
|
+
name: string;
|
|
2429
|
+
type: string;
|
|
2430
|
+
internalType: string;
|
|
2431
|
+
}[];
|
|
2432
|
+
stateMutability?: undefined;
|
|
2433
|
+
outputs?: undefined;
|
|
2434
|
+
anonymous?: undefined;
|
|
2435
|
+
})[];
|
|
2436
|
+
|
|
2437
|
+
declare const feeCollectorAbi: ({
|
|
2438
|
+
type: string;
|
|
2439
|
+
inputs: {
|
|
2440
|
+
name: string;
|
|
2441
|
+
type: string;
|
|
2442
|
+
internalType: string;
|
|
2443
|
+
}[];
|
|
2444
|
+
stateMutability: string;
|
|
2445
|
+
name?: undefined;
|
|
2446
|
+
outputs?: undefined;
|
|
2447
|
+
anonymous?: undefined;
|
|
2448
|
+
} | {
|
|
2449
|
+
type: string;
|
|
2450
|
+
name: string;
|
|
2451
|
+
inputs: {
|
|
2452
|
+
name: string;
|
|
2453
|
+
type: string;
|
|
2454
|
+
internalType: string;
|
|
2455
|
+
}[];
|
|
2456
|
+
outputs: {
|
|
2457
|
+
name: string;
|
|
2458
|
+
type: string;
|
|
2459
|
+
internalType: string;
|
|
2460
|
+
}[];
|
|
2461
|
+
stateMutability: string;
|
|
2462
|
+
anonymous?: undefined;
|
|
2463
|
+
} | {
|
|
2464
|
+
type: string;
|
|
2465
|
+
name: string;
|
|
2466
|
+
inputs: {
|
|
2467
|
+
name: string;
|
|
2468
|
+
type: string;
|
|
2469
|
+
indexed: boolean;
|
|
2470
|
+
internalType: string;
|
|
2471
|
+
}[];
|
|
2472
|
+
anonymous: boolean;
|
|
2473
|
+
stateMutability?: undefined;
|
|
2474
|
+
outputs?: undefined;
|
|
2475
|
+
} | {
|
|
2476
|
+
type: string;
|
|
2477
|
+
name: string;
|
|
2478
|
+
inputs: {
|
|
2479
|
+
name: string;
|
|
2480
|
+
type: string;
|
|
2481
|
+
internalType: string;
|
|
2482
|
+
}[];
|
|
2483
|
+
stateMutability?: undefined;
|
|
2484
|
+
outputs?: undefined;
|
|
2485
|
+
anonymous?: undefined;
|
|
2486
|
+
})[];
|
|
2487
|
+
|
|
2488
|
+
export { CONTRACT_ADDRESSES, type ChainContracts, DECIMAL_CONVERSION_FACTOR, ERROR_MESSAGE_MAX_LENGTH, RECEIPT_TOKEN_DECIMALS, STABLECOINS, STABLECOINS_BY_CHAIN, STABLECOIN_DECIMALS, type StablecoinConfig, erc20Abi, feeCollectorAbi, getActiveChainId, getContractAddresses, getMockUSDCAddress, getMockUSDTAddress, getSafeMultisigAddress, getStablecoinsForChain, getStfTokenAddress, getTbillTokenAddress, getTokenFactoryAddress, getVaultAddress, hasContractAddresses, rwaTokenAbi, stfTokenAbi, stfVestingAbi, tokenFactoryAbi, vaultAbi, xstfAbi };
|