@lombard.finance/sdk 0.11.4 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -4
- package/dist/index.cjs +65 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +3491 -925
- package/dist/index.js.map +1 -1
- package/dist/style.css +1 -0
- package/package.json +1 -1
- package/src/common/types/types.ts +2 -1
- package/src/index.ts +1 -0
- package/src/provider/rpcUrlConfig.ts +4 -0
- package/src/sdk/apiConfig.ts +5 -1
- package/src/sdk/const.ts +1 -0
- package/src/sdk/getDepositsByAddress/getDepositsByAddress.ts +39 -10
- package/src/sdk/{getLBTCExchageRate/getLBTCExchageRate.stories.tsx → getLBTCExchangeRate/getLBTCExchangeRate.stories.tsx} +8 -8
- package/src/sdk/getLBTCExchangeRate/getLBTCExchangeRate.ts +65 -0
- package/src/sdk/getLBTCExchangeRate/index.ts +1 -0
- package/src/sdk/getNetworkFeeSignature/getNetworkFeeSignature.stories.tsx +85 -0
- package/src/sdk/getNetworkFeeSignature/getNetworkFeeSignature.ts +81 -0
- package/src/sdk/getNetworkFeeSignature/index.ts +1 -0
- package/src/sdk/index.ts +4 -1
- package/src/sdk/storeNetworkFeeSignature/index.ts +1 -0
- package/src/sdk/storeNetworkFeeSignature/storeNetworkFeeSignature.stories.tsx +86 -0
- package/src/sdk/storeNetworkFeeSignature/storeNetworkFeeSignature.ts +62 -0
- package/src/sdk/utils/getCainIdByName.ts +1 -1
- package/src/sdk/utils/getChainNameById.ts +1 -0
- package/src/stories/components/Button/Button.tsx +0 -4
- package/src/web3Sdk/abi/LBTC.json +542 -354
- package/src/web3Sdk/basculeAddressConfig.ts +6 -3
- package/src/web3Sdk/claimLBTC/claimLBTC.ts +4 -1
- package/src/web3Sdk/getLBTCMintingFee/getLBTCMintingFee.stories.tsx +65 -0
- package/src/web3Sdk/getLBTCMintingFee/getLBTCMintingFee.tsx +51 -0
- package/src/web3Sdk/getLBTCMintingFee/index.ts +1 -0
- package/src/web3Sdk/getPermitNonce/getPermitNonce.stories.tsx +65 -0
- package/src/web3Sdk/getPermitNonce/getPermitNonce.ts +47 -0
- package/src/web3Sdk/getPermitNonce/index.ts +1 -0
- package/src/web3Sdk/index.ts +9 -3
- package/src/web3Sdk/lbtcAddressConfig.ts +4 -2
- package/src/web3Sdk/signNetworkFee/getTypedData.ts +41 -0
- package/src/web3Sdk/signNetworkFee/index.ts +1 -0
- package/src/web3Sdk/signNetworkFee/signNetworkFee.stories.tsx +92 -0
- package/src/web3Sdk/signNetworkFee/signNetworkFee.ts +82 -0
- package/src/web3Sdk/utils/chainIdToEnv.ts +10 -0
- package/src/web3Sdk/utils/getGasMultiplier.ts +1 -0
- package/src/web3Sdk/utils/getRpcUrlConfigFromChain.ts +34 -0
- package/src/sdk/getLBTCExchageRate/getLBTCExchageRate.ts +0 -43
- package/src/sdk/getLBTCExchageRate/index.ts +0 -1
|
@@ -26,53 +26,6 @@
|
|
|
26
26
|
"name": "AmountLessThanCommission",
|
|
27
27
|
"type": "error"
|
|
28
28
|
},
|
|
29
|
-
{
|
|
30
|
-
"inputs": [],
|
|
31
|
-
"name": "AmountTooSmallToPayRelativeFee",
|
|
32
|
-
"type": "error"
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
"inputs": [
|
|
36
|
-
{
|
|
37
|
-
"internalType": "uint256",
|
|
38
|
-
"name": "expected",
|
|
39
|
-
"type": "uint256"
|
|
40
|
-
},
|
|
41
|
-
{
|
|
42
|
-
"internalType": "uint256",
|
|
43
|
-
"name": "received",
|
|
44
|
-
"type": "uint256"
|
|
45
|
-
}
|
|
46
|
-
],
|
|
47
|
-
"name": "BadChainId",
|
|
48
|
-
"type": "error"
|
|
49
|
-
},
|
|
50
|
-
{
|
|
51
|
-
"inputs": [],
|
|
52
|
-
"name": "BadCommission",
|
|
53
|
-
"type": "error"
|
|
54
|
-
},
|
|
55
|
-
{
|
|
56
|
-
"inputs": [],
|
|
57
|
-
"name": "BadDestination",
|
|
58
|
-
"type": "error"
|
|
59
|
-
},
|
|
60
|
-
{
|
|
61
|
-
"inputs": [
|
|
62
|
-
{
|
|
63
|
-
"internalType": "address",
|
|
64
|
-
"name": "expected",
|
|
65
|
-
"type": "address"
|
|
66
|
-
},
|
|
67
|
-
{
|
|
68
|
-
"internalType": "address",
|
|
69
|
-
"name": "received",
|
|
70
|
-
"type": "address"
|
|
71
|
-
}
|
|
72
|
-
],
|
|
73
|
-
"name": "BadToContractAddress",
|
|
74
|
-
"type": "error"
|
|
75
|
-
},
|
|
76
29
|
{
|
|
77
30
|
"inputs": [],
|
|
78
31
|
"name": "ECDSAInvalidSignature",
|
|
@@ -186,6 +139,33 @@
|
|
|
186
139
|
"name": "ERC20InvalidSpender",
|
|
187
140
|
"type": "error"
|
|
188
141
|
},
|
|
142
|
+
{
|
|
143
|
+
"inputs": [
|
|
144
|
+
{
|
|
145
|
+
"internalType": "uint256",
|
|
146
|
+
"name": "deadline",
|
|
147
|
+
"type": "uint256"
|
|
148
|
+
}
|
|
149
|
+
],
|
|
150
|
+
"name": "ERC2612ExpiredSignature",
|
|
151
|
+
"type": "error"
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
"inputs": [
|
|
155
|
+
{
|
|
156
|
+
"internalType": "address",
|
|
157
|
+
"name": "signer",
|
|
158
|
+
"type": "address"
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
"internalType": "address",
|
|
162
|
+
"name": "owner",
|
|
163
|
+
"type": "address"
|
|
164
|
+
}
|
|
165
|
+
],
|
|
166
|
+
"name": "ERC2612InvalidSigner",
|
|
167
|
+
"type": "error"
|
|
168
|
+
},
|
|
189
169
|
{
|
|
190
170
|
"inputs": [],
|
|
191
171
|
"name": "EnforcedPause",
|
|
@@ -196,6 +176,27 @@
|
|
|
196
176
|
"name": "ExpectedPause",
|
|
197
177
|
"type": "error"
|
|
198
178
|
},
|
|
179
|
+
{
|
|
180
|
+
"inputs": [],
|
|
181
|
+
"name": "FeeGreaterThanAmount",
|
|
182
|
+
"type": "error"
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
"inputs": [
|
|
186
|
+
{
|
|
187
|
+
"internalType": "address",
|
|
188
|
+
"name": "account",
|
|
189
|
+
"type": "address"
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
"internalType": "uint256",
|
|
193
|
+
"name": "currentNonce",
|
|
194
|
+
"type": "uint256"
|
|
195
|
+
}
|
|
196
|
+
],
|
|
197
|
+
"name": "InvalidAccountNonce",
|
|
198
|
+
"type": "error"
|
|
199
|
+
},
|
|
199
200
|
{
|
|
200
201
|
"inputs": [],
|
|
201
202
|
"name": "InvalidDustFeeRate",
|
|
@@ -208,12 +209,17 @@
|
|
|
208
209
|
},
|
|
209
210
|
{
|
|
210
211
|
"inputs": [],
|
|
211
|
-
"name": "
|
|
212
|
+
"name": "InvalidInputLength",
|
|
212
213
|
"type": "error"
|
|
213
214
|
},
|
|
214
215
|
{
|
|
215
216
|
"inputs": [],
|
|
216
|
-
"name": "
|
|
217
|
+
"name": "InvalidUserSignature",
|
|
218
|
+
"type": "error"
|
|
219
|
+
},
|
|
220
|
+
{
|
|
221
|
+
"inputs": [],
|
|
222
|
+
"name": "KnownDestination",
|
|
217
223
|
"type": "error"
|
|
218
224
|
},
|
|
219
225
|
{
|
|
@@ -245,7 +251,7 @@
|
|
|
245
251
|
},
|
|
246
252
|
{
|
|
247
253
|
"inputs": [],
|
|
248
|
-
"name": "
|
|
254
|
+
"name": "PayloadAlreadyUsed",
|
|
249
255
|
"type": "error"
|
|
250
256
|
},
|
|
251
257
|
{
|
|
@@ -258,11 +264,6 @@
|
|
|
258
264
|
"name": "ScriptPubkeyUnsupported",
|
|
259
265
|
"type": "error"
|
|
260
266
|
},
|
|
261
|
-
{
|
|
262
|
-
"inputs": [],
|
|
263
|
-
"name": "SignatureVerificationFailed",
|
|
264
|
-
"type": "error"
|
|
265
|
-
},
|
|
266
267
|
{
|
|
267
268
|
"inputs": [
|
|
268
269
|
{
|
|
@@ -275,38 +276,56 @@
|
|
|
275
276
|
"type": "error"
|
|
276
277
|
},
|
|
277
278
|
{
|
|
278
|
-
"inputs": [
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
279
|
+
"inputs": [
|
|
280
|
+
{
|
|
281
|
+
"internalType": "bytes4",
|
|
282
|
+
"name": "action",
|
|
283
|
+
"type": "bytes4"
|
|
284
|
+
}
|
|
285
|
+
],
|
|
286
|
+
"name": "UnexpectedAction",
|
|
285
287
|
"type": "error"
|
|
286
288
|
},
|
|
287
289
|
{
|
|
288
290
|
"inputs": [],
|
|
289
|
-
"name": "
|
|
291
|
+
"name": "UnknownDestination",
|
|
290
292
|
"type": "error"
|
|
291
293
|
},
|
|
292
294
|
{
|
|
293
|
-
"inputs": [
|
|
294
|
-
|
|
295
|
+
"inputs": [
|
|
296
|
+
{
|
|
297
|
+
"internalType": "uint256",
|
|
298
|
+
"name": "fromChainId",
|
|
299
|
+
"type": "uint256"
|
|
300
|
+
},
|
|
301
|
+
{
|
|
302
|
+
"internalType": "address",
|
|
303
|
+
"name": "fromContract",
|
|
304
|
+
"type": "address"
|
|
305
|
+
}
|
|
306
|
+
],
|
|
307
|
+
"name": "UnknownOriginContract",
|
|
295
308
|
"type": "error"
|
|
296
309
|
},
|
|
297
310
|
{
|
|
298
|
-
"inputs": [
|
|
299
|
-
|
|
311
|
+
"inputs": [
|
|
312
|
+
{
|
|
313
|
+
"internalType": "uint256",
|
|
314
|
+
"name": "expiry",
|
|
315
|
+
"type": "uint256"
|
|
316
|
+
}
|
|
317
|
+
],
|
|
318
|
+
"name": "UserSignatureExpired",
|
|
300
319
|
"type": "error"
|
|
301
320
|
},
|
|
302
321
|
{
|
|
303
322
|
"inputs": [],
|
|
304
|
-
"name": "
|
|
323
|
+
"name": "WithdrawalsDisabled",
|
|
305
324
|
"type": "error"
|
|
306
325
|
},
|
|
307
326
|
{
|
|
308
327
|
"inputs": [],
|
|
309
|
-
"name": "
|
|
328
|
+
"name": "WrongChainId",
|
|
310
329
|
"type": "error"
|
|
311
330
|
},
|
|
312
331
|
{
|
|
@@ -324,16 +343,6 @@
|
|
|
324
343
|
"name": "ZeroAmount",
|
|
325
344
|
"type": "error"
|
|
326
345
|
},
|
|
327
|
-
{
|
|
328
|
-
"inputs": [],
|
|
329
|
-
"name": "ZeroAmount",
|
|
330
|
-
"type": "error"
|
|
331
|
-
},
|
|
332
|
-
{
|
|
333
|
-
"inputs": [],
|
|
334
|
-
"name": "ZeroChainId",
|
|
335
|
-
"type": "error"
|
|
336
|
-
},
|
|
337
346
|
{
|
|
338
347
|
"inputs": [],
|
|
339
348
|
"name": "ZeroChainId",
|
|
@@ -346,7 +355,7 @@
|
|
|
346
355
|
},
|
|
347
356
|
{
|
|
348
357
|
"inputs": [],
|
|
349
|
-
"name": "
|
|
358
|
+
"name": "ZeroFee",
|
|
350
359
|
"type": "error"
|
|
351
360
|
},
|
|
352
361
|
{
|
|
@@ -398,18 +407,18 @@
|
|
|
398
407
|
"inputs": [
|
|
399
408
|
{
|
|
400
409
|
"indexed": true,
|
|
401
|
-
"internalType": "
|
|
402
|
-
"name": "
|
|
403
|
-
"type": "
|
|
410
|
+
"internalType": "address",
|
|
411
|
+
"name": "prevVal",
|
|
412
|
+
"type": "address"
|
|
404
413
|
},
|
|
405
414
|
{
|
|
406
415
|
"indexed": true,
|
|
407
|
-
"internalType": "
|
|
408
|
-
"name": "
|
|
409
|
-
"type": "
|
|
416
|
+
"internalType": "address",
|
|
417
|
+
"name": "newVal",
|
|
418
|
+
"type": "address"
|
|
410
419
|
}
|
|
411
420
|
],
|
|
412
|
-
"name": "
|
|
421
|
+
"name": "BridgeChanged",
|
|
413
422
|
"type": "event"
|
|
414
423
|
},
|
|
415
424
|
{
|
|
@@ -417,18 +426,18 @@
|
|
|
417
426
|
"inputs": [
|
|
418
427
|
{
|
|
419
428
|
"indexed": true,
|
|
420
|
-
"internalType": "
|
|
421
|
-
"name": "
|
|
422
|
-
"type": "
|
|
429
|
+
"internalType": "uint64",
|
|
430
|
+
"name": "prevValue",
|
|
431
|
+
"type": "uint64"
|
|
423
432
|
},
|
|
424
433
|
{
|
|
425
434
|
"indexed": true,
|
|
426
|
-
"internalType": "
|
|
427
|
-
"name": "
|
|
428
|
-
"type": "
|
|
435
|
+
"internalType": "uint64",
|
|
436
|
+
"name": "newValue",
|
|
437
|
+
"type": "uint64"
|
|
429
438
|
}
|
|
430
439
|
],
|
|
431
|
-
"name": "
|
|
440
|
+
"name": "BurnCommissionChanged",
|
|
432
441
|
"type": "event"
|
|
433
442
|
},
|
|
434
443
|
{
|
|
@@ -436,18 +445,18 @@
|
|
|
436
445
|
"inputs": [
|
|
437
446
|
{
|
|
438
447
|
"indexed": true,
|
|
439
|
-
"internalType": "
|
|
440
|
-
"name": "
|
|
441
|
-
"type": "
|
|
448
|
+
"internalType": "address",
|
|
449
|
+
"name": "claimer",
|
|
450
|
+
"type": "address"
|
|
442
451
|
},
|
|
443
452
|
{
|
|
444
|
-
"indexed":
|
|
445
|
-
"internalType": "
|
|
446
|
-
"name": "
|
|
447
|
-
"type": "
|
|
453
|
+
"indexed": false,
|
|
454
|
+
"internalType": "bool",
|
|
455
|
+
"name": "isClaimer",
|
|
456
|
+
"type": "bool"
|
|
448
457
|
}
|
|
449
458
|
],
|
|
450
|
-
"name": "
|
|
459
|
+
"name": "ClaimerUpdated",
|
|
451
460
|
"type": "event"
|
|
452
461
|
},
|
|
453
462
|
{
|
|
@@ -473,38 +482,25 @@
|
|
|
473
482
|
"anonymous": false,
|
|
474
483
|
"inputs": [
|
|
475
484
|
{
|
|
476
|
-
"indexed":
|
|
477
|
-
"internalType": "
|
|
478
|
-
"name": "
|
|
479
|
-
"type": "
|
|
485
|
+
"indexed": true,
|
|
486
|
+
"internalType": "uint256",
|
|
487
|
+
"name": "oldRate",
|
|
488
|
+
"type": "uint256"
|
|
480
489
|
},
|
|
481
490
|
{
|
|
482
491
|
"indexed": true,
|
|
483
|
-
"internalType": "
|
|
484
|
-
"name": "
|
|
485
|
-
"type": "
|
|
492
|
+
"internalType": "uint256",
|
|
493
|
+
"name": "newRate",
|
|
494
|
+
"type": "uint256"
|
|
486
495
|
}
|
|
487
496
|
],
|
|
488
|
-
"name": "
|
|
497
|
+
"name": "DustFeeRateChanged",
|
|
489
498
|
"type": "event"
|
|
490
499
|
},
|
|
491
500
|
{
|
|
492
501
|
"anonymous": false,
|
|
493
|
-
"inputs": [
|
|
494
|
-
|
|
495
|
-
"indexed": false,
|
|
496
|
-
"internalType": "uint16",
|
|
497
|
-
"name": "newValue",
|
|
498
|
-
"type": "uint16"
|
|
499
|
-
},
|
|
500
|
-
{
|
|
501
|
-
"indexed": true,
|
|
502
|
-
"internalType": "bytes32",
|
|
503
|
-
"name": "toChain",
|
|
504
|
-
"type": "bytes32"
|
|
505
|
-
}
|
|
506
|
-
],
|
|
507
|
-
"name": "DepositRelativeCommissionChanged",
|
|
502
|
+
"inputs": [],
|
|
503
|
+
"name": "EIP712DomainChanged",
|
|
508
504
|
"type": "event"
|
|
509
505
|
},
|
|
510
506
|
{
|
|
@@ -512,36 +508,18 @@
|
|
|
512
508
|
"inputs": [
|
|
513
509
|
{
|
|
514
510
|
"indexed": true,
|
|
515
|
-
"internalType": "
|
|
516
|
-
"name": "
|
|
517
|
-
"type": "
|
|
511
|
+
"internalType": "uint256",
|
|
512
|
+
"name": "oldFee",
|
|
513
|
+
"type": "uint256"
|
|
518
514
|
},
|
|
519
515
|
{
|
|
520
516
|
"indexed": true,
|
|
521
|
-
"internalType": "
|
|
522
|
-
"name": "
|
|
523
|
-
"type": "
|
|
524
|
-
},
|
|
525
|
-
{
|
|
526
|
-
"indexed": false,
|
|
527
|
-
"internalType": "bytes32",
|
|
528
|
-
"name": "toContract",
|
|
529
|
-
"type": "bytes32"
|
|
530
|
-
},
|
|
531
|
-
{
|
|
532
|
-
"indexed": false,
|
|
533
|
-
"internalType": "bytes32",
|
|
534
|
-
"name": "chainId",
|
|
535
|
-
"type": "bytes32"
|
|
536
|
-
},
|
|
537
|
-
{
|
|
538
|
-
"indexed": false,
|
|
539
|
-
"internalType": "uint64",
|
|
540
|
-
"name": "amount",
|
|
541
|
-
"type": "uint64"
|
|
517
|
+
"internalType": "uint256",
|
|
518
|
+
"name": "newFee",
|
|
519
|
+
"type": "uint256"
|
|
542
520
|
}
|
|
543
521
|
],
|
|
544
|
-
"name": "
|
|
522
|
+
"name": "FeeChanged",
|
|
545
523
|
"type": "event"
|
|
546
524
|
},
|
|
547
525
|
{
|
|
@@ -550,17 +528,17 @@
|
|
|
550
528
|
{
|
|
551
529
|
"indexed": true,
|
|
552
530
|
"internalType": "uint256",
|
|
553
|
-
"name": "
|
|
531
|
+
"name": "fee",
|
|
554
532
|
"type": "uint256"
|
|
555
533
|
},
|
|
556
534
|
{
|
|
557
|
-
"indexed":
|
|
558
|
-
"internalType": "
|
|
559
|
-
"name": "
|
|
560
|
-
"type": "
|
|
535
|
+
"indexed": false,
|
|
536
|
+
"internalType": "bytes",
|
|
537
|
+
"name": "userSignature",
|
|
538
|
+
"type": "bytes"
|
|
561
539
|
}
|
|
562
540
|
],
|
|
563
|
-
"name": "
|
|
541
|
+
"name": "FeeCharged",
|
|
564
542
|
"type": "event"
|
|
565
543
|
},
|
|
566
544
|
{
|
|
@@ -580,19 +558,25 @@
|
|
|
580
558
|
"anonymous": false,
|
|
581
559
|
"inputs": [
|
|
582
560
|
{
|
|
583
|
-
"indexed":
|
|
584
|
-
"internalType": "
|
|
585
|
-
"name": "
|
|
586
|
-
"type": "
|
|
561
|
+
"indexed": true,
|
|
562
|
+
"internalType": "address",
|
|
563
|
+
"name": "recipient",
|
|
564
|
+
"type": "address"
|
|
565
|
+
},
|
|
566
|
+
{
|
|
567
|
+
"indexed": true,
|
|
568
|
+
"internalType": "bytes32",
|
|
569
|
+
"name": "payloadHash",
|
|
570
|
+
"type": "bytes32"
|
|
587
571
|
},
|
|
588
572
|
{
|
|
589
573
|
"indexed": false,
|
|
590
|
-
"internalType": "
|
|
591
|
-
"name": "
|
|
592
|
-
"type": "
|
|
574
|
+
"internalType": "bytes",
|
|
575
|
+
"name": "payload",
|
|
576
|
+
"type": "bytes"
|
|
593
577
|
}
|
|
594
578
|
],
|
|
595
|
-
"name": "
|
|
579
|
+
"name": "MintProofConsumed",
|
|
596
580
|
"type": "event"
|
|
597
581
|
},
|
|
598
582
|
{
|
|
@@ -600,24 +584,37 @@
|
|
|
600
584
|
"inputs": [
|
|
601
585
|
{
|
|
602
586
|
"indexed": true,
|
|
603
|
-
"internalType": "
|
|
604
|
-
"name": "
|
|
605
|
-
"type": "
|
|
587
|
+
"internalType": "address",
|
|
588
|
+
"name": "minter",
|
|
589
|
+
"type": "address"
|
|
606
590
|
},
|
|
607
591
|
{
|
|
608
|
-
"indexed":
|
|
609
|
-
"internalType": "
|
|
610
|
-
"name": "
|
|
611
|
-
"type": "
|
|
592
|
+
"indexed": false,
|
|
593
|
+
"internalType": "bool",
|
|
594
|
+
"name": "isMinter",
|
|
595
|
+
"type": "bool"
|
|
596
|
+
}
|
|
597
|
+
],
|
|
598
|
+
"name": "MinterUpdated",
|
|
599
|
+
"type": "event"
|
|
600
|
+
},
|
|
601
|
+
{
|
|
602
|
+
"anonymous": false,
|
|
603
|
+
"inputs": [
|
|
604
|
+
{
|
|
605
|
+
"indexed": false,
|
|
606
|
+
"internalType": "string",
|
|
607
|
+
"name": "name",
|
|
608
|
+
"type": "string"
|
|
612
609
|
},
|
|
613
610
|
{
|
|
614
611
|
"indexed": false,
|
|
615
|
-
"internalType": "
|
|
616
|
-
"name": "
|
|
617
|
-
"type": "
|
|
612
|
+
"internalType": "string",
|
|
613
|
+
"name": "symbol",
|
|
614
|
+
"type": "string"
|
|
618
615
|
}
|
|
619
616
|
],
|
|
620
|
-
"name": "
|
|
617
|
+
"name": "NameAndSymbolChanged",
|
|
621
618
|
"type": "event"
|
|
622
619
|
},
|
|
623
620
|
{
|
|
@@ -772,55 +769,6 @@
|
|
|
772
769
|
"name": "UnstakeRequest",
|
|
773
770
|
"type": "event"
|
|
774
771
|
},
|
|
775
|
-
{
|
|
776
|
-
"anonymous": false,
|
|
777
|
-
"inputs": [
|
|
778
|
-
{
|
|
779
|
-
"indexed": true,
|
|
780
|
-
"internalType": "address",
|
|
781
|
-
"name": "toAddress",
|
|
782
|
-
"type": "address"
|
|
783
|
-
},
|
|
784
|
-
{
|
|
785
|
-
"indexed": true,
|
|
786
|
-
"internalType": "bytes32",
|
|
787
|
-
"name": "txHash",
|
|
788
|
-
"type": "bytes32"
|
|
789
|
-
},
|
|
790
|
-
{
|
|
791
|
-
"indexed": true,
|
|
792
|
-
"internalType": "uint32",
|
|
793
|
-
"name": "eventIndex",
|
|
794
|
-
"type": "uint32"
|
|
795
|
-
},
|
|
796
|
-
{
|
|
797
|
-
"indexed": false,
|
|
798
|
-
"internalType": "bytes32",
|
|
799
|
-
"name": "proofHash",
|
|
800
|
-
"type": "bytes32"
|
|
801
|
-
},
|
|
802
|
-
{
|
|
803
|
-
"indexed": false,
|
|
804
|
-
"internalType": "bytes32",
|
|
805
|
-
"name": "fromContract",
|
|
806
|
-
"type": "bytes32"
|
|
807
|
-
},
|
|
808
|
-
{
|
|
809
|
-
"indexed": false,
|
|
810
|
-
"internalType": "bytes32",
|
|
811
|
-
"name": "fromChainId",
|
|
812
|
-
"type": "bytes32"
|
|
813
|
-
},
|
|
814
|
-
{
|
|
815
|
-
"indexed": false,
|
|
816
|
-
"internalType": "uint64",
|
|
817
|
-
"name": "amount",
|
|
818
|
-
"type": "uint64"
|
|
819
|
-
}
|
|
820
|
-
],
|
|
821
|
-
"name": "WithdrawFromBridge",
|
|
822
|
-
"type": "event"
|
|
823
|
-
},
|
|
824
772
|
{
|
|
825
773
|
"anonymous": false,
|
|
826
774
|
"inputs": [
|
|
@@ -849,12 +797,12 @@
|
|
|
849
797
|
},
|
|
850
798
|
{
|
|
851
799
|
"inputs": [],
|
|
852
|
-
"name": "
|
|
800
|
+
"name": "DOMAIN_SEPARATOR",
|
|
853
801
|
"outputs": [
|
|
854
802
|
{
|
|
855
|
-
"internalType": "
|
|
803
|
+
"internalType": "bytes32",
|
|
856
804
|
"name": "",
|
|
857
|
-
"type": "
|
|
805
|
+
"type": "bytes32"
|
|
858
806
|
}
|
|
859
807
|
],
|
|
860
808
|
"stateMutability": "view",
|
|
@@ -870,27 +818,25 @@
|
|
|
870
818
|
{
|
|
871
819
|
"inputs": [
|
|
872
820
|
{
|
|
873
|
-
"internalType": "
|
|
874
|
-
"name": "
|
|
875
|
-
"type": "
|
|
876
|
-
}
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
"type": "uint16"
|
|
886
|
-
},
|
|
821
|
+
"internalType": "address",
|
|
822
|
+
"name": "newClaimer",
|
|
823
|
+
"type": "address"
|
|
824
|
+
}
|
|
825
|
+
],
|
|
826
|
+
"name": "addClaimer",
|
|
827
|
+
"outputs": [],
|
|
828
|
+
"stateMutability": "nonpayable",
|
|
829
|
+
"type": "function"
|
|
830
|
+
},
|
|
831
|
+
{
|
|
832
|
+
"inputs": [
|
|
887
833
|
{
|
|
888
|
-
"internalType": "
|
|
889
|
-
"name": "
|
|
890
|
-
"type": "
|
|
834
|
+
"internalType": "address",
|
|
835
|
+
"name": "newMinter",
|
|
836
|
+
"type": "address"
|
|
891
837
|
}
|
|
892
838
|
],
|
|
893
|
-
"name": "
|
|
839
|
+
"name": "addMinter",
|
|
894
840
|
"outputs": [],
|
|
895
841
|
"stateMutability": "nonpayable",
|
|
896
842
|
"type": "function"
|
|
@@ -964,6 +910,88 @@
|
|
|
964
910
|
},
|
|
965
911
|
{
|
|
966
912
|
"inputs": [
|
|
913
|
+
{
|
|
914
|
+
"internalType": "address[]",
|
|
915
|
+
"name": "to",
|
|
916
|
+
"type": "address[]"
|
|
917
|
+
},
|
|
918
|
+
{
|
|
919
|
+
"internalType": "uint256[]",
|
|
920
|
+
"name": "amount",
|
|
921
|
+
"type": "uint256[]"
|
|
922
|
+
}
|
|
923
|
+
],
|
|
924
|
+
"name": "batchMint",
|
|
925
|
+
"outputs": [],
|
|
926
|
+
"stateMutability": "nonpayable",
|
|
927
|
+
"type": "function"
|
|
928
|
+
},
|
|
929
|
+
{
|
|
930
|
+
"inputs": [
|
|
931
|
+
{
|
|
932
|
+
"internalType": "bytes[]",
|
|
933
|
+
"name": "payload",
|
|
934
|
+
"type": "bytes[]"
|
|
935
|
+
},
|
|
936
|
+
{
|
|
937
|
+
"internalType": "bytes[]",
|
|
938
|
+
"name": "proof",
|
|
939
|
+
"type": "bytes[]"
|
|
940
|
+
}
|
|
941
|
+
],
|
|
942
|
+
"name": "batchMint",
|
|
943
|
+
"outputs": [],
|
|
944
|
+
"stateMutability": "nonpayable",
|
|
945
|
+
"type": "function"
|
|
946
|
+
},
|
|
947
|
+
{
|
|
948
|
+
"inputs": [
|
|
949
|
+
{
|
|
950
|
+
"internalType": "bytes[]",
|
|
951
|
+
"name": "mintPayload",
|
|
952
|
+
"type": "bytes[]"
|
|
953
|
+
},
|
|
954
|
+
{
|
|
955
|
+
"internalType": "bytes[]",
|
|
956
|
+
"name": "proof",
|
|
957
|
+
"type": "bytes[]"
|
|
958
|
+
},
|
|
959
|
+
{
|
|
960
|
+
"internalType": "bytes[]",
|
|
961
|
+
"name": "feePayload",
|
|
962
|
+
"type": "bytes[]"
|
|
963
|
+
},
|
|
964
|
+
{
|
|
965
|
+
"internalType": "bytes[]",
|
|
966
|
+
"name": "userSignature",
|
|
967
|
+
"type": "bytes[]"
|
|
968
|
+
}
|
|
969
|
+
],
|
|
970
|
+
"name": "batchMintWithFee",
|
|
971
|
+
"outputs": [],
|
|
972
|
+
"stateMutability": "nonpayable",
|
|
973
|
+
"type": "function"
|
|
974
|
+
},
|
|
975
|
+
{
|
|
976
|
+
"inputs": [
|
|
977
|
+
{
|
|
978
|
+
"internalType": "uint256",
|
|
979
|
+
"name": "amount",
|
|
980
|
+
"type": "uint256"
|
|
981
|
+
}
|
|
982
|
+
],
|
|
983
|
+
"name": "burn",
|
|
984
|
+
"outputs": [],
|
|
985
|
+
"stateMutability": "nonpayable",
|
|
986
|
+
"type": "function"
|
|
987
|
+
},
|
|
988
|
+
{
|
|
989
|
+
"inputs": [
|
|
990
|
+
{
|
|
991
|
+
"internalType": "address",
|
|
992
|
+
"name": "from",
|
|
993
|
+
"type": "address"
|
|
994
|
+
},
|
|
967
995
|
{
|
|
968
996
|
"internalType": "uint256",
|
|
969
997
|
"name": "amount",
|
|
@@ -1017,28 +1045,15 @@
|
|
|
1017
1045
|
"stateMutability": "nonpayable",
|
|
1018
1046
|
"type": "function"
|
|
1019
1047
|
},
|
|
1020
|
-
{
|
|
1021
|
-
"inputs": [
|
|
1022
|
-
{
|
|
1023
|
-
"internalType": "uint64",
|
|
1024
|
-
"name": "newValue",
|
|
1025
|
-
"type": "uint64"
|
|
1026
|
-
}
|
|
1027
|
-
],
|
|
1028
|
-
"name": "changeBurnCommission",
|
|
1029
|
-
"outputs": [],
|
|
1030
|
-
"stateMutability": "nonpayable",
|
|
1031
|
-
"type": "function"
|
|
1032
|
-
},
|
|
1033
1048
|
{
|
|
1034
1049
|
"inputs": [
|
|
1035
1050
|
{
|
|
1036
1051
|
"internalType": "address",
|
|
1037
|
-
"name": "
|
|
1052
|
+
"name": "newBridge",
|
|
1038
1053
|
"type": "address"
|
|
1039
1054
|
}
|
|
1040
1055
|
],
|
|
1041
|
-
"name": "
|
|
1056
|
+
"name": "changeBridge",
|
|
1042
1057
|
"outputs": [],
|
|
1043
1058
|
"stateMutability": "nonpayable",
|
|
1044
1059
|
"type": "function"
|
|
@@ -1046,17 +1061,12 @@
|
|
|
1046
1061
|
{
|
|
1047
1062
|
"inputs": [
|
|
1048
1063
|
{
|
|
1049
|
-
"internalType": "uint64",
|
|
1050
|
-
"name": "newValue",
|
|
1051
|
-
"type": "uint64"
|
|
1052
|
-
},
|
|
1053
|
-
{
|
|
1054
|
-
"internalType": "bytes32",
|
|
1055
|
-
"name": "chain",
|
|
1056
|
-
"type": "bytes32"
|
|
1064
|
+
"internalType": "uint64",
|
|
1065
|
+
"name": "newValue",
|
|
1066
|
+
"type": "uint64"
|
|
1057
1067
|
}
|
|
1058
1068
|
],
|
|
1059
|
-
"name": "
|
|
1069
|
+
"name": "changeBurnCommission",
|
|
1060
1070
|
"outputs": [],
|
|
1061
1071
|
"stateMutability": "nonpayable",
|
|
1062
1072
|
"type": "function"
|
|
@@ -1064,17 +1074,12 @@
|
|
|
1064
1074
|
{
|
|
1065
1075
|
"inputs": [
|
|
1066
1076
|
{
|
|
1067
|
-
"internalType": "
|
|
1068
|
-
"name": "
|
|
1069
|
-
"type": "
|
|
1070
|
-
},
|
|
1071
|
-
{
|
|
1072
|
-
"internalType": "bytes32",
|
|
1073
|
-
"name": "chain",
|
|
1074
|
-
"type": "bytes32"
|
|
1077
|
+
"internalType": "address",
|
|
1078
|
+
"name": "newVal",
|
|
1079
|
+
"type": "address"
|
|
1075
1080
|
}
|
|
1076
1081
|
],
|
|
1077
|
-
"name": "
|
|
1082
|
+
"name": "changeConsortium",
|
|
1078
1083
|
"outputs": [],
|
|
1079
1084
|
"stateMutability": "nonpayable",
|
|
1080
1085
|
"type": "function"
|
|
@@ -1150,93 +1155,69 @@
|
|
|
1150
1155
|
"type": "function"
|
|
1151
1156
|
},
|
|
1152
1157
|
{
|
|
1153
|
-
"inputs": [
|
|
1158
|
+
"inputs": [],
|
|
1159
|
+
"name": "eip712Domain",
|
|
1160
|
+
"outputs": [
|
|
1154
1161
|
{
|
|
1155
|
-
"internalType": "
|
|
1156
|
-
"name": "
|
|
1157
|
-
"type": "
|
|
1162
|
+
"internalType": "bytes1",
|
|
1163
|
+
"name": "fields",
|
|
1164
|
+
"type": "bytes1"
|
|
1158
1165
|
},
|
|
1159
1166
|
{
|
|
1160
|
-
"internalType": "
|
|
1161
|
-
"name": "
|
|
1162
|
-
"type": "
|
|
1167
|
+
"internalType": "string",
|
|
1168
|
+
"name": "name",
|
|
1169
|
+
"type": "string"
|
|
1163
1170
|
},
|
|
1164
1171
|
{
|
|
1165
|
-
"internalType": "
|
|
1166
|
-
"name": "
|
|
1167
|
-
"type": "
|
|
1168
|
-
}
|
|
1169
|
-
],
|
|
1170
|
-
"name": "depositToBridge",
|
|
1171
|
-
"outputs": [],
|
|
1172
|
-
"stateMutability": "nonpayable",
|
|
1173
|
-
"type": "function"
|
|
1174
|
-
},
|
|
1175
|
-
{
|
|
1176
|
-
"inputs": [],
|
|
1177
|
-
"name": "getBurnCommission",
|
|
1178
|
-
"outputs": [
|
|
1172
|
+
"internalType": "string",
|
|
1173
|
+
"name": "version",
|
|
1174
|
+
"type": "string"
|
|
1175
|
+
},
|
|
1179
1176
|
{
|
|
1180
|
-
"internalType": "
|
|
1181
|
-
"name": "",
|
|
1182
|
-
"type": "
|
|
1183
|
-
}
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
"inputs": [
|
|
1177
|
+
"internalType": "uint256",
|
|
1178
|
+
"name": "chainId",
|
|
1179
|
+
"type": "uint256"
|
|
1180
|
+
},
|
|
1181
|
+
{
|
|
1182
|
+
"internalType": "address",
|
|
1183
|
+
"name": "verifyingContract",
|
|
1184
|
+
"type": "address"
|
|
1185
|
+
},
|
|
1190
1186
|
{
|
|
1191
1187
|
"internalType": "bytes32",
|
|
1192
|
-
"name": "
|
|
1188
|
+
"name": "salt",
|
|
1193
1189
|
"type": "bytes32"
|
|
1194
|
-
}
|
|
1195
|
-
],
|
|
1196
|
-
"name": "getDepositAbsoluteCommission",
|
|
1197
|
-
"outputs": [
|
|
1190
|
+
},
|
|
1198
1191
|
{
|
|
1199
|
-
"internalType": "
|
|
1200
|
-
"name": "",
|
|
1201
|
-
"type": "
|
|
1192
|
+
"internalType": "uint256[]",
|
|
1193
|
+
"name": "extensions",
|
|
1194
|
+
"type": "uint256[]"
|
|
1202
1195
|
}
|
|
1203
1196
|
],
|
|
1204
1197
|
"stateMutability": "view",
|
|
1205
1198
|
"type": "function"
|
|
1206
1199
|
},
|
|
1207
1200
|
{
|
|
1208
|
-
"inputs": [
|
|
1209
|
-
|
|
1210
|
-
"internalType": "bytes32",
|
|
1211
|
-
"name": "toChain",
|
|
1212
|
-
"type": "bytes32"
|
|
1213
|
-
}
|
|
1214
|
-
],
|
|
1215
|
-
"name": "getDepositRelativeCommission",
|
|
1201
|
+
"inputs": [],
|
|
1202
|
+
"name": "getBurnCommission",
|
|
1216
1203
|
"outputs": [
|
|
1217
1204
|
{
|
|
1218
|
-
"internalType": "
|
|
1205
|
+
"internalType": "uint64",
|
|
1219
1206
|
"name": "",
|
|
1220
|
-
"type": "
|
|
1207
|
+
"type": "uint64"
|
|
1221
1208
|
}
|
|
1222
1209
|
],
|
|
1223
1210
|
"stateMutability": "view",
|
|
1224
1211
|
"type": "function"
|
|
1225
1212
|
},
|
|
1226
1213
|
{
|
|
1227
|
-
"inputs": [
|
|
1228
|
-
|
|
1229
|
-
"internalType": "bytes32",
|
|
1230
|
-
"name": "chainId",
|
|
1231
|
-
"type": "bytes32"
|
|
1232
|
-
}
|
|
1233
|
-
],
|
|
1234
|
-
"name": "getDestination",
|
|
1214
|
+
"inputs": [],
|
|
1215
|
+
"name": "getDustFeeRate",
|
|
1235
1216
|
"outputs": [
|
|
1236
1217
|
{
|
|
1237
|
-
"internalType": "
|
|
1218
|
+
"internalType": "uint256",
|
|
1238
1219
|
"name": "",
|
|
1239
|
-
"type": "
|
|
1220
|
+
"type": "uint256"
|
|
1240
1221
|
}
|
|
1241
1222
|
],
|
|
1242
1223
|
"stateMutability": "view",
|
|
@@ -1244,7 +1225,7 @@
|
|
|
1244
1225
|
},
|
|
1245
1226
|
{
|
|
1246
1227
|
"inputs": [],
|
|
1247
|
-
"name": "
|
|
1228
|
+
"name": "getMintFee",
|
|
1248
1229
|
"outputs": [
|
|
1249
1230
|
{
|
|
1250
1231
|
"internalType": "uint256",
|
|
@@ -1279,6 +1260,11 @@
|
|
|
1279
1260
|
"internalType": "uint64",
|
|
1280
1261
|
"name": "burnCommission_",
|
|
1281
1262
|
"type": "uint64"
|
|
1263
|
+
},
|
|
1264
|
+
{
|
|
1265
|
+
"internalType": "address",
|
|
1266
|
+
"name": "owner_",
|
|
1267
|
+
"type": "address"
|
|
1282
1268
|
}
|
|
1283
1269
|
],
|
|
1284
1270
|
"name": "initialize",
|
|
@@ -1289,12 +1275,31 @@
|
|
|
1289
1275
|
{
|
|
1290
1276
|
"inputs": [
|
|
1291
1277
|
{
|
|
1292
|
-
"internalType": "
|
|
1293
|
-
"name": "
|
|
1294
|
-
"type": "
|
|
1278
|
+
"internalType": "address",
|
|
1279
|
+
"name": "claimer",
|
|
1280
|
+
"type": "address"
|
|
1281
|
+
}
|
|
1282
|
+
],
|
|
1283
|
+
"name": "isClaimer",
|
|
1284
|
+
"outputs": [
|
|
1285
|
+
{
|
|
1286
|
+
"internalType": "bool",
|
|
1287
|
+
"name": "",
|
|
1288
|
+
"type": "bool"
|
|
1289
|
+
}
|
|
1290
|
+
],
|
|
1291
|
+
"stateMutability": "view",
|
|
1292
|
+
"type": "function"
|
|
1293
|
+
},
|
|
1294
|
+
{
|
|
1295
|
+
"inputs": [
|
|
1296
|
+
{
|
|
1297
|
+
"internalType": "address",
|
|
1298
|
+
"name": "minter",
|
|
1299
|
+
"type": "address"
|
|
1295
1300
|
}
|
|
1296
1301
|
],
|
|
1297
|
-
"name": "
|
|
1302
|
+
"name": "isMinter",
|
|
1298
1303
|
"outputs": [
|
|
1299
1304
|
{
|
|
1300
1305
|
"internalType": "bool",
|
|
@@ -1305,16 +1310,34 @@
|
|
|
1305
1310
|
"stateMutability": "view",
|
|
1306
1311
|
"type": "function"
|
|
1307
1312
|
},
|
|
1313
|
+
{
|
|
1314
|
+
"inputs": [
|
|
1315
|
+
{
|
|
1316
|
+
"internalType": "address",
|
|
1317
|
+
"name": "to",
|
|
1318
|
+
"type": "address"
|
|
1319
|
+
},
|
|
1320
|
+
{
|
|
1321
|
+
"internalType": "uint256",
|
|
1322
|
+
"name": "amount",
|
|
1323
|
+
"type": "uint256"
|
|
1324
|
+
}
|
|
1325
|
+
],
|
|
1326
|
+
"name": "mint",
|
|
1327
|
+
"outputs": [],
|
|
1328
|
+
"stateMutability": "nonpayable",
|
|
1329
|
+
"type": "function"
|
|
1330
|
+
},
|
|
1308
1331
|
{
|
|
1309
1332
|
"inputs": [
|
|
1310
1333
|
{
|
|
1311
1334
|
"internalType": "bytes",
|
|
1312
|
-
"name": "
|
|
1335
|
+
"name": "payload",
|
|
1313
1336
|
"type": "bytes"
|
|
1314
1337
|
},
|
|
1315
1338
|
{
|
|
1316
1339
|
"internalType": "bytes",
|
|
1317
|
-
"name": "
|
|
1340
|
+
"name": "proof",
|
|
1318
1341
|
"type": "bytes"
|
|
1319
1342
|
}
|
|
1320
1343
|
],
|
|
@@ -1323,6 +1346,34 @@
|
|
|
1323
1346
|
"stateMutability": "nonpayable",
|
|
1324
1347
|
"type": "function"
|
|
1325
1348
|
},
|
|
1349
|
+
{
|
|
1350
|
+
"inputs": [
|
|
1351
|
+
{
|
|
1352
|
+
"internalType": "bytes",
|
|
1353
|
+
"name": "mintPayload",
|
|
1354
|
+
"type": "bytes"
|
|
1355
|
+
},
|
|
1356
|
+
{
|
|
1357
|
+
"internalType": "bytes",
|
|
1358
|
+
"name": "proof",
|
|
1359
|
+
"type": "bytes"
|
|
1360
|
+
},
|
|
1361
|
+
{
|
|
1362
|
+
"internalType": "bytes",
|
|
1363
|
+
"name": "feePayload",
|
|
1364
|
+
"type": "bytes"
|
|
1365
|
+
},
|
|
1366
|
+
{
|
|
1367
|
+
"internalType": "bytes",
|
|
1368
|
+
"name": "userSignature",
|
|
1369
|
+
"type": "bytes"
|
|
1370
|
+
}
|
|
1371
|
+
],
|
|
1372
|
+
"name": "mintWithFee",
|
|
1373
|
+
"outputs": [],
|
|
1374
|
+
"stateMutability": "nonpayable",
|
|
1375
|
+
"type": "function"
|
|
1376
|
+
},
|
|
1326
1377
|
{
|
|
1327
1378
|
"inputs": [],
|
|
1328
1379
|
"name": "name",
|
|
@@ -1336,6 +1387,25 @@
|
|
|
1336
1387
|
"stateMutability": "view",
|
|
1337
1388
|
"type": "function"
|
|
1338
1389
|
},
|
|
1390
|
+
{
|
|
1391
|
+
"inputs": [
|
|
1392
|
+
{
|
|
1393
|
+
"internalType": "address",
|
|
1394
|
+
"name": "owner",
|
|
1395
|
+
"type": "address"
|
|
1396
|
+
}
|
|
1397
|
+
],
|
|
1398
|
+
"name": "nonces",
|
|
1399
|
+
"outputs": [
|
|
1400
|
+
{
|
|
1401
|
+
"internalType": "uint256",
|
|
1402
|
+
"name": "",
|
|
1403
|
+
"type": "uint256"
|
|
1404
|
+
}
|
|
1405
|
+
],
|
|
1406
|
+
"stateMutability": "view",
|
|
1407
|
+
"type": "function"
|
|
1408
|
+
},
|
|
1339
1409
|
{
|
|
1340
1410
|
"inputs": [],
|
|
1341
1411
|
"name": "owner",
|
|
@@ -1395,6 +1465,49 @@
|
|
|
1395
1465
|
"stateMutability": "view",
|
|
1396
1466
|
"type": "function"
|
|
1397
1467
|
},
|
|
1468
|
+
{
|
|
1469
|
+
"inputs": [
|
|
1470
|
+
{
|
|
1471
|
+
"internalType": "address",
|
|
1472
|
+
"name": "owner",
|
|
1473
|
+
"type": "address"
|
|
1474
|
+
},
|
|
1475
|
+
{
|
|
1476
|
+
"internalType": "address",
|
|
1477
|
+
"name": "spender",
|
|
1478
|
+
"type": "address"
|
|
1479
|
+
},
|
|
1480
|
+
{
|
|
1481
|
+
"internalType": "uint256",
|
|
1482
|
+
"name": "value",
|
|
1483
|
+
"type": "uint256"
|
|
1484
|
+
},
|
|
1485
|
+
{
|
|
1486
|
+
"internalType": "uint256",
|
|
1487
|
+
"name": "deadline",
|
|
1488
|
+
"type": "uint256"
|
|
1489
|
+
},
|
|
1490
|
+
{
|
|
1491
|
+
"internalType": "uint8",
|
|
1492
|
+
"name": "v",
|
|
1493
|
+
"type": "uint8"
|
|
1494
|
+
},
|
|
1495
|
+
{
|
|
1496
|
+
"internalType": "bytes32",
|
|
1497
|
+
"name": "r",
|
|
1498
|
+
"type": "bytes32"
|
|
1499
|
+
},
|
|
1500
|
+
{
|
|
1501
|
+
"internalType": "bytes32",
|
|
1502
|
+
"name": "s",
|
|
1503
|
+
"type": "bytes32"
|
|
1504
|
+
}
|
|
1505
|
+
],
|
|
1506
|
+
"name": "permit",
|
|
1507
|
+
"outputs": [],
|
|
1508
|
+
"stateMutability": "nonpayable",
|
|
1509
|
+
"type": "function"
|
|
1510
|
+
},
|
|
1398
1511
|
{
|
|
1399
1512
|
"inputs": [
|
|
1400
1513
|
{
|
|
@@ -1413,15 +1526,35 @@
|
|
|
1413
1526
|
"stateMutability": "nonpayable",
|
|
1414
1527
|
"type": "function"
|
|
1415
1528
|
},
|
|
1529
|
+
{
|
|
1530
|
+
"inputs": [],
|
|
1531
|
+
"name": "reinitialize",
|
|
1532
|
+
"outputs": [],
|
|
1533
|
+
"stateMutability": "nonpayable",
|
|
1534
|
+
"type": "function"
|
|
1535
|
+
},
|
|
1416
1536
|
{
|
|
1417
1537
|
"inputs": [
|
|
1418
1538
|
{
|
|
1419
|
-
"internalType": "
|
|
1420
|
-
"name": "
|
|
1421
|
-
"type": "
|
|
1539
|
+
"internalType": "address",
|
|
1540
|
+
"name": "oldClaimer",
|
|
1541
|
+
"type": "address"
|
|
1542
|
+
}
|
|
1543
|
+
],
|
|
1544
|
+
"name": "removeClaimer",
|
|
1545
|
+
"outputs": [],
|
|
1546
|
+
"stateMutability": "nonpayable",
|
|
1547
|
+
"type": "function"
|
|
1548
|
+
},
|
|
1549
|
+
{
|
|
1550
|
+
"inputs": [
|
|
1551
|
+
{
|
|
1552
|
+
"internalType": "address",
|
|
1553
|
+
"name": "oldMinter",
|
|
1554
|
+
"type": "address"
|
|
1422
1555
|
}
|
|
1423
1556
|
],
|
|
1424
|
-
"name": "
|
|
1557
|
+
"name": "removeMinter",
|
|
1425
1558
|
"outputs": [],
|
|
1426
1559
|
"stateMutability": "nonpayable",
|
|
1427
1560
|
"type": "function"
|
|
@@ -1433,6 +1566,19 @@
|
|
|
1433
1566
|
"stateMutability": "nonpayable",
|
|
1434
1567
|
"type": "function"
|
|
1435
1568
|
},
|
|
1569
|
+
{
|
|
1570
|
+
"inputs": [
|
|
1571
|
+
{
|
|
1572
|
+
"internalType": "uint256",
|
|
1573
|
+
"name": "fee",
|
|
1574
|
+
"type": "uint256"
|
|
1575
|
+
}
|
|
1576
|
+
],
|
|
1577
|
+
"name": "setMintFee",
|
|
1578
|
+
"outputs": [],
|
|
1579
|
+
"stateMutability": "nonpayable",
|
|
1580
|
+
"type": "function"
|
|
1581
|
+
},
|
|
1436
1582
|
{
|
|
1437
1583
|
"inputs": [],
|
|
1438
1584
|
"name": "symbol",
|
|
@@ -1555,19 +1701,61 @@
|
|
|
1555
1701
|
{
|
|
1556
1702
|
"inputs": [
|
|
1557
1703
|
{
|
|
1558
|
-
"
|
|
1559
|
-
|
|
1560
|
-
|
|
1704
|
+
"components": [
|
|
1705
|
+
{
|
|
1706
|
+
"internalType": "uint256",
|
|
1707
|
+
"name": "fromChain",
|
|
1708
|
+
"type": "uint256"
|
|
1709
|
+
},
|
|
1710
|
+
{
|
|
1711
|
+
"internalType": "address",
|
|
1712
|
+
"name": "fromContract",
|
|
1713
|
+
"type": "address"
|
|
1714
|
+
},
|
|
1715
|
+
{
|
|
1716
|
+
"internalType": "uint256",
|
|
1717
|
+
"name": "toChain",
|
|
1718
|
+
"type": "uint256"
|
|
1719
|
+
},
|
|
1720
|
+
{
|
|
1721
|
+
"internalType": "address",
|
|
1722
|
+
"name": "toContract",
|
|
1723
|
+
"type": "address"
|
|
1724
|
+
},
|
|
1725
|
+
{
|
|
1726
|
+
"internalType": "address",
|
|
1727
|
+
"name": "recipient",
|
|
1728
|
+
"type": "address"
|
|
1729
|
+
},
|
|
1730
|
+
{
|
|
1731
|
+
"internalType": "uint64",
|
|
1732
|
+
"name": "amount",
|
|
1733
|
+
"type": "uint64"
|
|
1734
|
+
},
|
|
1735
|
+
{
|
|
1736
|
+
"internalType": "bytes32",
|
|
1737
|
+
"name": "uniqueActionData",
|
|
1738
|
+
"type": "bytes32"
|
|
1739
|
+
}
|
|
1740
|
+
],
|
|
1741
|
+
"internalType": "struct Actions.DepositBridgeAction",
|
|
1742
|
+
"name": "action",
|
|
1743
|
+
"type": "tuple"
|
|
1744
|
+
},
|
|
1745
|
+
{
|
|
1746
|
+
"internalType": "bytes32",
|
|
1747
|
+
"name": "",
|
|
1748
|
+
"type": "bytes32"
|
|
1561
1749
|
},
|
|
1562
1750
|
{
|
|
1563
1751
|
"internalType": "bytes",
|
|
1564
|
-
"name": "
|
|
1752
|
+
"name": "",
|
|
1565
1753
|
"type": "bytes"
|
|
1566
1754
|
}
|
|
1567
1755
|
],
|
|
1568
|
-
"name": "
|
|
1756
|
+
"name": "withdraw",
|
|
1569
1757
|
"outputs": [],
|
|
1570
1758
|
"stateMutability": "nonpayable",
|
|
1571
1759
|
"type": "function"
|
|
1572
1760
|
}
|
|
1573
|
-
]
|
|
1761
|
+
]
|