@tokenops/sdk 2.0.0-alpha.3 → 2.0.0-alpha.4
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/CHANGELOG.md +53 -0
- package/README.md +71 -35
- package/SUPPORT.md +1 -1
- package/dist/{chunk-NGU4JYIR.js → chunk-2ND7US2I.js} +1 -1
- package/dist/{chunk-U3TBQRT7.js → chunk-3ZSPRHR3.js} +55 -12
- package/dist/{chunk-BXX5TETM.js → chunk-67Q6KSVV.js} +4114 -3267
- package/dist/{chunk-JVNJSDQ4.cjs → chunk-6AYJRUGP.cjs} +7 -50
- package/dist/{chunk-AHU2HMNE.cjs → chunk-6FUHF73F.cjs} +5 -5
- package/dist/{chunk-NWFMBLSQ.js → chunk-7KY4K4PH.js} +1 -1
- package/dist/{chunk-YABHXJNH.cjs → chunk-ARZ5C3FS.cjs} +7 -7
- package/dist/{chunk-4IB4IY5Y.js → chunk-AX6MQAWU.js} +2 -2
- package/dist/{chunk-BPIVVCSQ.js → chunk-BSXEX2SH.js} +3 -3
- package/dist/{chunk-PK6Q6J5F.js → chunk-CHGY6B7L.js} +34 -81
- package/dist/{chunk-GKYZQJGP.cjs → chunk-DFK5GCJP.cjs} +55 -72
- package/dist/{chunk-4AWQJQXY.cjs → chunk-E4IV4M4E.cjs} +4126 -3279
- package/dist/{chunk-6HCT4QIX.js → chunk-GHGF65LN.js} +16 -13
- package/dist/{chunk-TWT3STIX.js → chunk-K3R27WX4.js} +8 -46
- package/dist/{chunk-GCJFAY4X.js → chunk-KJUNBOJQ.js} +52 -71
- package/dist/{chunk-6XOAYDC6.cjs → chunk-PO3A2AQX.cjs} +4 -4
- package/dist/{chunk-TND5NDV7.cjs → chunk-QHDMPT7I.cjs} +64 -19
- package/dist/{chunk-IEKTGJ4J.cjs → chunk-S47IBDTA.cjs} +36 -83
- package/dist/{chunk-UG5RKLU2.cjs → chunk-SUYBAF27.cjs} +1 -1
- package/dist/{chunk-WRWRA4TN.js → chunk-TWU7L5H7.js} +5 -48
- package/dist/{chunk-WJLECC22.cjs → chunk-UUSSWOPR.cjs} +9 -47
- package/dist/{chunk-YTIYTV4K.cjs → chunk-VHKMWWBA.cjs} +319 -40
- package/dist/{chunk-PG3WXT3K.cjs → chunk-YAL6JSAZ.cjs} +16 -13
- package/dist/{chunk-LEYYG4RF.js → chunk-YMWMIWBP.js} +315 -42
- package/dist/core/addresses.d.ts +4 -4
- package/dist/core/errors.d.ts +1 -1
- package/dist/core/index.d.ts +1 -0
- package/dist/core/pending.d.ts +57 -0
- package/dist/core/version.d.ts +1 -1
- package/dist/fhe/operators.d.ts +6 -5
- package/dist/fhe/types.d.ts +1 -1
- package/dist/fhe-airdrop/abis/airdrop-base.d.ts +81 -4
- package/dist/fhe-airdrop/abis/ecdsa.d.ts +101 -4
- package/dist/fhe-airdrop/abis/factory.d.ts +222 -4
- package/dist/fhe-airdrop/abis/merkle.d.ts +100 -4
- package/dist/fhe-airdrop/advanced/index.cjs +8 -4
- package/dist/fhe-airdrop/advanced/index.d.cts +1 -0
- package/dist/fhe-airdrop/advanced/index.d.ts +1 -0
- package/dist/fhe-airdrop/advanced/index.js +1 -1
- package/dist/fhe-airdrop/advanced/react/index.cjs +121 -143
- package/dist/fhe-airdrop/advanced/react/index.js +55 -77
- package/dist/fhe-airdrop/advanced/react/useClearCompliancePolicy.d.ts +3 -1
- package/dist/fhe-airdrop/advanced/react/useDisableCustomFee.d.ts +3 -1
- package/dist/fhe-airdrop/advanced/react/useFactoryComplianceDelegate.d.ts +2 -4
- package/dist/fhe-airdrop/advanced/react/useSetComplianceDelegate.d.ts +7 -7
- package/dist/fhe-airdrop/advanced/react/useSetComplianceManagerImpl.d.ts +3 -1
- package/dist/fhe-airdrop/advanced/react/useSetCompliancePolicy.d.ts +2 -1
- package/dist/fhe-airdrop/advanced/react/useSetCustomFee.d.ts +3 -1
- package/dist/fhe-airdrop/advanced/react/useSetDefaultDelegateToCompliance.d.ts +5 -4
- package/dist/fhe-airdrop/advanced/react/useSetDefaultGasFee.d.ts +3 -1
- package/dist/fhe-airdrop/advanced/react/useSetMaxGasFee.d.ts +7 -3
- package/dist/fhe-airdrop/airdrop-base.d.ts +95 -10
- package/dist/fhe-airdrop/campaign.d.ts +37 -73
- package/dist/fhe-airdrop/compliance-clone.d.ts +21 -0
- package/dist/fhe-airdrop/constants.d.ts +3 -1
- package/dist/fhe-airdrop/ecdsa.d.ts +67 -27
- package/dist/fhe-airdrop/encryption.d.ts +19 -6
- package/dist/fhe-airdrop/errors.d.ts +77 -2
- package/dist/fhe-airdrop/factory-params.d.ts +2361 -0
- package/dist/fhe-airdrop/factory.d.ts +142 -68
- package/dist/fhe-airdrop/guards.d.ts +110 -31
- package/dist/fhe-airdrop/index.cjs +79 -59
- package/dist/fhe-airdrop/index.d.cts +11 -9
- package/dist/fhe-airdrop/index.d.ts +11 -9
- package/dist/fhe-airdrop/index.js +5 -5
- package/dist/fhe-airdrop/merkle-tree.d.ts +9 -9
- package/dist/fhe-airdrop/merkle.d.ts +32 -11
- package/dist/fhe-airdrop/react/_shared.d.ts +12 -6
- package/dist/fhe-airdrop/react/index.cjs +294 -258
- package/dist/fhe-airdrop/react/index.d.cts +16 -9
- package/dist/fhe-airdrop/react/index.d.ts +16 -9
- package/dist/fhe-airdrop/react/index.js +114 -110
- package/dist/fhe-airdrop/react/keys.d.ts +46 -7
- package/dist/fhe-airdrop/react/useAccessEcdsaClaimAmount.d.ts +6 -3
- package/dist/fhe-airdrop/react/useAccessMerkleClaimAmount.d.ts +2 -2
- package/dist/fhe-airdrop/react/useAirdropConfig.d.ts +8 -3
- package/dist/fhe-airdrop/react/useAirdropPause.d.ts +5 -0
- package/dist/fhe-airdrop/react/useBuildMerkleCampaign.d.ts +4 -6
- package/dist/fhe-airdrop/react/useComplianceManager.d.ts +2 -2
- package/dist/fhe-airdrop/react/useComplianceManagerOf.d.ts +1 -2
- package/dist/fhe-airdrop/react/useCreateAndFundEcdsaAirdrop.d.ts +16 -11
- package/dist/fhe-airdrop/react/useCreateAndFundMerkleAirdrop.d.ts +23 -7
- package/dist/fhe-airdrop/react/useCreateEcdsaAirdrop.d.ts +13 -8
- package/dist/fhe-airdrop/react/useCreateMerkleAirdrop.d.ts +27 -7
- package/dist/fhe-airdrop/react/useDedupMode.d.ts +16 -0
- package/dist/fhe-airdrop/react/useDiscloseHandleToParty.d.ts +4 -3
- package/dist/fhe-airdrop/react/useEcdsaClaim.d.ts +6 -4
- package/dist/fhe-airdrop/react/useEcdsaClaimAndUnwrap.d.ts +15 -8
- package/dist/fhe-airdrop/react/useEcdsaDomain.d.ts +1 -1
- package/dist/fhe-airdrop/react/useEncryptCampaignAmounts.d.ts +5 -7
- package/dist/fhe-airdrop/react/useExtendClaimWindow.d.ts +4 -1
- package/dist/fhe-airdrop/react/useFundAirdrop.d.ts +3 -4
- package/dist/fhe-airdrop/react/useGrantInstanceRoles.d.ts +2 -1
- package/dist/fhe-airdrop/react/useIsSignatureValid.d.ts +5 -4
- package/dist/fhe-airdrop/react/useMerkleClaim.d.ts +4 -1
- package/dist/fhe-airdrop/react/useMerkleClaimAndUnwrap.d.ts +14 -3
- package/dist/fhe-airdrop/react/usePlanMerkleCampaign.d.ts +18 -3
- package/dist/fhe-airdrop/react/usePreflightClaim.d.ts +1 -1
- package/dist/fhe-airdrop/react/usePreflightCreateAirdrop.d.ts +34 -13
- package/dist/fhe-airdrop/react/useRescueERC20.d.ts +3 -3
- package/dist/fhe-airdrop/react/useRescueNativeToken.d.ts +23 -0
- package/dist/fhe-airdrop/react/useRotateMerkleRoot.d.ts +5 -2
- package/dist/fhe-airdrop/react/useSignClaimAuthorization.d.ts +4 -0
- package/dist/fhe-airdrop/react/useTokenOf.d.ts +29 -0
- package/dist/fhe-airdrop/react/useUnwrapRequest.d.ts +25 -0
- package/dist/fhe-airdrop/react/useWithdrawConfidential.d.ts +4 -0
- package/dist/fhe-airdrop/roles.d.ts +82 -7
- package/dist/fhe-airdrop/types.d.ts +109 -14
- package/dist/fhe-disperse/errors.d.ts +3 -3
- package/dist/fhe-disperse/index.cjs +22 -22
- package/dist/fhe-disperse/index.d.cts +2 -1
- package/dist/fhe-disperse/index.d.ts +2 -1
- package/dist/fhe-disperse/index.js +3 -3
- package/dist/fhe-disperse/react/index.cjs +27 -25
- package/dist/fhe-disperse/react/index.d.cts +2 -1
- package/dist/fhe-disperse/react/index.d.ts +2 -1
- package/dist/fhe-disperse/react/index.js +8 -6
- package/dist/fhe-disperse/react/useDisperse.d.ts +6 -2
- package/dist/fhe-disperse/react/useRegister.d.ts +9 -3
- package/dist/fhe-disperse/react/useSingletonWithdrawTokenFee.d.ts +7 -2
- package/dist/fhe-disperse/react/useWithdrawTokenFee.d.ts +7 -2
- package/dist/fhe-disperse/singleton.d.ts +33 -19
- package/dist/fhe-disperse/types.d.ts +48 -8
- package/dist/fhe-vesting/advanced/index.cjs +6 -6
- package/dist/fhe-vesting/advanced/index.js +4 -4
- package/dist/fhe-vesting/advanced/react/index.cjs +9 -9
- package/dist/fhe-vesting/advanced/react/index.js +6 -6
- package/dist/fhe-vesting/factory.d.ts +31 -8
- package/dist/fhe-vesting/index.cjs +23 -23
- package/dist/fhe-vesting/index.d.cts +3 -2
- package/dist/fhe-vesting/index.d.ts +3 -2
- package/dist/fhe-vesting/index.js +4 -4
- package/dist/fhe-vesting/manager.d.ts +27 -2
- package/dist/fhe-vesting/react/index.cjs +126 -126
- package/dist/fhe-vesting/react/index.d.cts +3 -2
- package/dist/fhe-vesting/react/index.d.ts +3 -2
- package/dist/fhe-vesting/react/index.js +5 -5
- package/dist/fhe-vesting/react/useCreateManager.d.ts +16 -9
- package/dist/fhe-vesting/react/useCreateManagerAndGetAddress.d.ts +9 -5
- package/dist/fhe-vesting/react/useSplitVesting.d.ts +9 -3
- package/dist/index.cjs +18 -18
- package/dist/index.js +1 -1
- package/dist/testnet-faucet/faucet.d.ts +3 -0
- package/dist/testnet-faucet/index.cjs +15 -15
- package/dist/testnet-faucet/index.js +3 -3
- package/dist/testnet-faucet/react/index.cjs +9 -9
- package/dist/testnet-faucet/react/index.js +4 -4
- package/package.json +1 -1
|
@@ -31,6 +31,10 @@ export declare const confidentialAirdropBaseAbi: readonly [{
|
|
|
31
31
|
readonly inputs: readonly [];
|
|
32
32
|
readonly name: "ClaimsPaused";
|
|
33
33
|
readonly type: "error";
|
|
34
|
+
}, {
|
|
35
|
+
readonly inputs: readonly [];
|
|
36
|
+
readonly name: "ClawbackRequiresPause";
|
|
37
|
+
readonly type: "error";
|
|
34
38
|
}, {
|
|
35
39
|
readonly inputs: readonly [];
|
|
36
40
|
readonly name: "EmptyBatch";
|
|
@@ -115,6 +119,10 @@ export declare const confidentialAirdropBaseAbi: readonly [{
|
|
|
115
119
|
readonly inputs: readonly [];
|
|
116
120
|
readonly name: "LastFeeCollector";
|
|
117
121
|
readonly type: "error";
|
|
122
|
+
}, {
|
|
123
|
+
readonly inputs: readonly [];
|
|
124
|
+
readonly name: "NativeRescueRequiresZeroFee";
|
|
125
|
+
readonly type: "error";
|
|
118
126
|
}, {
|
|
119
127
|
readonly inputs: readonly [];
|
|
120
128
|
readonly name: "TokenNotAWrapper";
|
|
@@ -123,6 +131,10 @@ export declare const confidentialAirdropBaseAbi: readonly [{
|
|
|
123
131
|
readonly inputs: readonly [];
|
|
124
132
|
readonly name: "TokenNotUnwrappable";
|
|
125
133
|
readonly type: "error";
|
|
134
|
+
}, {
|
|
135
|
+
readonly inputs: readonly [];
|
|
136
|
+
readonly name: "UninitializedHandle";
|
|
137
|
+
readonly type: "error";
|
|
126
138
|
}, {
|
|
127
139
|
readonly inputs: readonly [];
|
|
128
140
|
readonly name: "ZeroAdminGrant";
|
|
@@ -180,13 +192,33 @@ export declare const confidentialAirdropBaseAbi: readonly [{
|
|
|
180
192
|
}, {
|
|
181
193
|
readonly indexed: false;
|
|
182
194
|
readonly internalType: "uint256";
|
|
183
|
-
readonly name: "
|
|
195
|
+
readonly name: "gasFee";
|
|
184
196
|
readonly type: "uint256";
|
|
185
197
|
}, {
|
|
186
198
|
readonly indexed: false;
|
|
187
|
-
readonly internalType: "
|
|
188
|
-
readonly name: "
|
|
189
|
-
readonly type: "
|
|
199
|
+
readonly internalType: "uint32";
|
|
200
|
+
readonly name: "startTime";
|
|
201
|
+
readonly type: "uint32";
|
|
202
|
+
}, {
|
|
203
|
+
readonly indexed: false;
|
|
204
|
+
readonly internalType: "uint32";
|
|
205
|
+
readonly name: "endTime";
|
|
206
|
+
readonly type: "uint32";
|
|
207
|
+
}, {
|
|
208
|
+
readonly indexed: false;
|
|
209
|
+
readonly internalType: "bool";
|
|
210
|
+
readonly name: "canExtendClaimWindow";
|
|
211
|
+
readonly type: "bool";
|
|
212
|
+
}, {
|
|
213
|
+
readonly indexed: false;
|
|
214
|
+
readonly internalType: "bool";
|
|
215
|
+
readonly name: "unwrappable";
|
|
216
|
+
readonly type: "bool";
|
|
217
|
+
}, {
|
|
218
|
+
readonly indexed: false;
|
|
219
|
+
readonly internalType: "address";
|
|
220
|
+
readonly name: "complianceManager";
|
|
221
|
+
readonly type: "address";
|
|
190
222
|
}];
|
|
191
223
|
readonly name: "AirdropInitialized";
|
|
192
224
|
readonly type: "event";
|
|
@@ -320,6 +352,21 @@ export declare const confidentialAirdropBaseAbi: readonly [{
|
|
|
320
352
|
}];
|
|
321
353
|
readonly name: "HandleDisclosedToParty";
|
|
322
354
|
readonly type: "event";
|
|
355
|
+
}, {
|
|
356
|
+
readonly anonymous: false;
|
|
357
|
+
readonly inputs: readonly [{
|
|
358
|
+
readonly indexed: true;
|
|
359
|
+
readonly internalType: "address";
|
|
360
|
+
readonly name: "recipient";
|
|
361
|
+
readonly type: "address";
|
|
362
|
+
}, {
|
|
363
|
+
readonly indexed: false;
|
|
364
|
+
readonly internalType: "uint256";
|
|
365
|
+
readonly name: "amount";
|
|
366
|
+
readonly type: "uint256";
|
|
367
|
+
}];
|
|
368
|
+
readonly name: "NativeTokenRescued";
|
|
369
|
+
readonly type: "event";
|
|
323
370
|
}, {
|
|
324
371
|
readonly anonymous: false;
|
|
325
372
|
readonly inputs: readonly [{
|
|
@@ -467,6 +514,16 @@ export declare const confidentialAirdropBaseAbi: readonly [{
|
|
|
467
514
|
readonly outputs: readonly [];
|
|
468
515
|
readonly stateMutability: "nonpayable";
|
|
469
516
|
readonly type: "function";
|
|
517
|
+
}, {
|
|
518
|
+
readonly inputs: readonly [];
|
|
519
|
+
readonly name: "canExtendClaimWindow";
|
|
520
|
+
readonly outputs: readonly [{
|
|
521
|
+
readonly internalType: "bool";
|
|
522
|
+
readonly name: "";
|
|
523
|
+
readonly type: "bool";
|
|
524
|
+
}];
|
|
525
|
+
readonly stateMutability: "view";
|
|
526
|
+
readonly type: "function";
|
|
470
527
|
}, {
|
|
471
528
|
readonly inputs: readonly [];
|
|
472
529
|
readonly name: "complianceManager";
|
|
@@ -477,6 +534,16 @@ export declare const confidentialAirdropBaseAbi: readonly [{
|
|
|
477
534
|
}];
|
|
478
535
|
readonly stateMutability: "view";
|
|
479
536
|
readonly type: "function";
|
|
537
|
+
}, {
|
|
538
|
+
readonly inputs: readonly [];
|
|
539
|
+
readonly name: "deploymentBlockNumber";
|
|
540
|
+
readonly outputs: readonly [{
|
|
541
|
+
readonly internalType: "uint256";
|
|
542
|
+
readonly name: "";
|
|
543
|
+
readonly type: "uint256";
|
|
544
|
+
}];
|
|
545
|
+
readonly stateMutability: "view";
|
|
546
|
+
readonly type: "function";
|
|
480
547
|
}, {
|
|
481
548
|
readonly inputs: readonly [{
|
|
482
549
|
readonly internalType: "euint64";
|
|
@@ -581,6 +648,16 @@ export declare const confidentialAirdropBaseAbi: readonly [{
|
|
|
581
648
|
readonly outputs: readonly [];
|
|
582
649
|
readonly stateMutability: "nonpayable";
|
|
583
650
|
readonly type: "function";
|
|
651
|
+
}, {
|
|
652
|
+
readonly inputs: readonly [{
|
|
653
|
+
readonly internalType: "address";
|
|
654
|
+
readonly name: "recipient";
|
|
655
|
+
readonly type: "address";
|
|
656
|
+
}];
|
|
657
|
+
readonly name: "rescueNativeToken";
|
|
658
|
+
readonly outputs: readonly [];
|
|
659
|
+
readonly stateMutability: "nonpayable";
|
|
660
|
+
readonly type: "function";
|
|
584
661
|
}, {
|
|
585
662
|
readonly inputs: readonly [{
|
|
586
663
|
readonly internalType: "address";
|
|
@@ -59,6 +59,10 @@ export declare const ecdsaConfidentialAirdropAbi: readonly [{
|
|
|
59
59
|
readonly inputs: readonly [];
|
|
60
60
|
readonly name: "ClaimsPaused";
|
|
61
61
|
readonly type: "error";
|
|
62
|
+
}, {
|
|
63
|
+
readonly inputs: readonly [];
|
|
64
|
+
readonly name: "ClawbackRequiresPause";
|
|
65
|
+
readonly type: "error";
|
|
62
66
|
}, {
|
|
63
67
|
readonly inputs: readonly [];
|
|
64
68
|
readonly name: "DedupIdAlreadyClaimed";
|
|
@@ -179,6 +183,10 @@ export declare const ecdsaConfidentialAirdropAbi: readonly [{
|
|
|
179
183
|
readonly inputs: readonly [];
|
|
180
184
|
readonly name: "LastFeeCollector";
|
|
181
185
|
readonly type: "error";
|
|
186
|
+
}, {
|
|
187
|
+
readonly inputs: readonly [];
|
|
188
|
+
readonly name: "NativeRescueRequiresZeroFee";
|
|
189
|
+
readonly type: "error";
|
|
182
190
|
}, {
|
|
183
191
|
readonly inputs: readonly [];
|
|
184
192
|
readonly name: "NotInitializing";
|
|
@@ -243,6 +251,10 @@ export declare const ecdsaConfidentialAirdropAbi: readonly [{
|
|
|
243
251
|
}];
|
|
244
252
|
readonly name: "UUPSUnsupportedProxiableUUID";
|
|
245
253
|
readonly type: "error";
|
|
254
|
+
}, {
|
|
255
|
+
readonly inputs: readonly [];
|
|
256
|
+
readonly name: "UninitializedHandle";
|
|
257
|
+
readonly type: "error";
|
|
246
258
|
}, {
|
|
247
259
|
readonly inputs: readonly [];
|
|
248
260
|
readonly name: "ZamaProtocolUnsupported";
|
|
@@ -308,13 +320,33 @@ export declare const ecdsaConfidentialAirdropAbi: readonly [{
|
|
|
308
320
|
}, {
|
|
309
321
|
readonly indexed: false;
|
|
310
322
|
readonly internalType: "uint256";
|
|
311
|
-
readonly name: "
|
|
323
|
+
readonly name: "gasFee";
|
|
312
324
|
readonly type: "uint256";
|
|
313
325
|
}, {
|
|
314
326
|
readonly indexed: false;
|
|
315
|
-
readonly internalType: "
|
|
316
|
-
readonly name: "
|
|
317
|
-
readonly type: "
|
|
327
|
+
readonly internalType: "uint32";
|
|
328
|
+
readonly name: "startTime";
|
|
329
|
+
readonly type: "uint32";
|
|
330
|
+
}, {
|
|
331
|
+
readonly indexed: false;
|
|
332
|
+
readonly internalType: "uint32";
|
|
333
|
+
readonly name: "endTime";
|
|
334
|
+
readonly type: "uint32";
|
|
335
|
+
}, {
|
|
336
|
+
readonly indexed: false;
|
|
337
|
+
readonly internalType: "bool";
|
|
338
|
+
readonly name: "canExtendClaimWindow";
|
|
339
|
+
readonly type: "bool";
|
|
340
|
+
}, {
|
|
341
|
+
readonly indexed: false;
|
|
342
|
+
readonly internalType: "bool";
|
|
343
|
+
readonly name: "unwrappable";
|
|
344
|
+
readonly type: "bool";
|
|
345
|
+
}, {
|
|
346
|
+
readonly indexed: false;
|
|
347
|
+
readonly internalType: "address";
|
|
348
|
+
readonly name: "complianceManager";
|
|
349
|
+
readonly type: "address";
|
|
318
350
|
}];
|
|
319
351
|
readonly name: "AirdropInitialized";
|
|
320
352
|
readonly type: "event";
|
|
@@ -413,6 +445,16 @@ export declare const ecdsaConfidentialAirdropAbi: readonly [{
|
|
|
413
445
|
}];
|
|
414
446
|
readonly name: "ComplianceBalanceDisclosed";
|
|
415
447
|
readonly type: "event";
|
|
448
|
+
}, {
|
|
449
|
+
readonly anonymous: false;
|
|
450
|
+
readonly inputs: readonly [{
|
|
451
|
+
readonly indexed: false;
|
|
452
|
+
readonly internalType: "enum IECDSAConfidentialAirdropTypes.DedupMode";
|
|
453
|
+
readonly name: "dedupMode";
|
|
454
|
+
readonly type: "uint8";
|
|
455
|
+
}];
|
|
456
|
+
readonly name: "ECDSAAirdropInitialized";
|
|
457
|
+
readonly type: "event";
|
|
416
458
|
}, {
|
|
417
459
|
readonly anonymous: false;
|
|
418
460
|
readonly inputs: readonly [];
|
|
@@ -463,6 +505,21 @@ export declare const ecdsaConfidentialAirdropAbi: readonly [{
|
|
|
463
505
|
}];
|
|
464
506
|
readonly name: "Initialized";
|
|
465
507
|
readonly type: "event";
|
|
508
|
+
}, {
|
|
509
|
+
readonly anonymous: false;
|
|
510
|
+
readonly inputs: readonly [{
|
|
511
|
+
readonly indexed: true;
|
|
512
|
+
readonly internalType: "address";
|
|
513
|
+
readonly name: "recipient";
|
|
514
|
+
readonly type: "address";
|
|
515
|
+
}, {
|
|
516
|
+
readonly indexed: false;
|
|
517
|
+
readonly internalType: "uint256";
|
|
518
|
+
readonly name: "amount";
|
|
519
|
+
readonly type: "uint256";
|
|
520
|
+
}];
|
|
521
|
+
readonly name: "NativeTokenRescued";
|
|
522
|
+
readonly type: "event";
|
|
466
523
|
}, {
|
|
467
524
|
readonly anonymous: false;
|
|
468
525
|
readonly inputs: readonly [{
|
|
@@ -750,6 +807,16 @@ export declare const ecdsaConfidentialAirdropAbi: readonly [{
|
|
|
750
807
|
readonly outputs: readonly [];
|
|
751
808
|
readonly stateMutability: "nonpayable";
|
|
752
809
|
readonly type: "function";
|
|
810
|
+
}, {
|
|
811
|
+
readonly inputs: readonly [];
|
|
812
|
+
readonly name: "canExtendClaimWindow";
|
|
813
|
+
readonly outputs: readonly [{
|
|
814
|
+
readonly internalType: "bool";
|
|
815
|
+
readonly name: "";
|
|
816
|
+
readonly type: "bool";
|
|
817
|
+
}];
|
|
818
|
+
readonly stateMutability: "view";
|
|
819
|
+
readonly type: "function";
|
|
753
820
|
}, {
|
|
754
821
|
readonly inputs: readonly [{
|
|
755
822
|
readonly internalType: "address";
|
|
@@ -828,6 +895,26 @@ export declare const ecdsaConfidentialAirdropAbi: readonly [{
|
|
|
828
895
|
}];
|
|
829
896
|
readonly stateMutability: "view";
|
|
830
897
|
readonly type: "function";
|
|
898
|
+
}, {
|
|
899
|
+
readonly inputs: readonly [];
|
|
900
|
+
readonly name: "dedupMode";
|
|
901
|
+
readonly outputs: readonly [{
|
|
902
|
+
readonly internalType: "enum IECDSAConfidentialAirdropTypes.DedupMode";
|
|
903
|
+
readonly name: "";
|
|
904
|
+
readonly type: "uint8";
|
|
905
|
+
}];
|
|
906
|
+
readonly stateMutability: "view";
|
|
907
|
+
readonly type: "function";
|
|
908
|
+
}, {
|
|
909
|
+
readonly inputs: readonly [];
|
|
910
|
+
readonly name: "deploymentBlockNumber";
|
|
911
|
+
readonly outputs: readonly [{
|
|
912
|
+
readonly internalType: "uint256";
|
|
913
|
+
readonly name: "";
|
|
914
|
+
readonly type: "uint256";
|
|
915
|
+
}];
|
|
916
|
+
readonly stateMutability: "view";
|
|
917
|
+
readonly type: "function";
|
|
831
918
|
}, {
|
|
832
919
|
readonly inputs: readonly [{
|
|
833
920
|
readonly internalType: "euint64";
|
|
@@ -1216,6 +1303,16 @@ export declare const ecdsaConfidentialAirdropAbi: readonly [{
|
|
|
1216
1303
|
readonly outputs: readonly [];
|
|
1217
1304
|
readonly stateMutability: "nonpayable";
|
|
1218
1305
|
readonly type: "function";
|
|
1306
|
+
}, {
|
|
1307
|
+
readonly inputs: readonly [{
|
|
1308
|
+
readonly internalType: "address";
|
|
1309
|
+
readonly name: "recipient";
|
|
1310
|
+
readonly type: "address";
|
|
1311
|
+
}];
|
|
1312
|
+
readonly name: "rescueNativeToken";
|
|
1313
|
+
readonly outputs: readonly [];
|
|
1314
|
+
readonly stateMutability: "nonpayable";
|
|
1315
|
+
readonly type: "function";
|
|
1219
1316
|
}, {
|
|
1220
1317
|
readonly inputs: readonly [{
|
|
1221
1318
|
readonly internalType: "address";
|
|
@@ -49,6 +49,10 @@ export declare const airdropFactoryAbi: readonly [{
|
|
|
49
49
|
readonly internalType: "uint96";
|
|
50
50
|
readonly name: "maxGasFee_";
|
|
51
51
|
readonly type: "uint96";
|
|
52
|
+
}, {
|
|
53
|
+
readonly internalType: "address";
|
|
54
|
+
readonly name: "complianceDelegate_";
|
|
55
|
+
readonly type: "address";
|
|
52
56
|
}];
|
|
53
57
|
readonly stateMutability: "nonpayable";
|
|
54
58
|
readonly type: "constructor";
|
|
@@ -100,6 +104,22 @@ export declare const airdropFactoryAbi: readonly [{
|
|
|
100
104
|
readonly inputs: readonly [];
|
|
101
105
|
readonly name: "ClaimsPaused";
|
|
102
106
|
readonly type: "error";
|
|
107
|
+
}, {
|
|
108
|
+
readonly inputs: readonly [];
|
|
109
|
+
readonly name: "ClawbackRequiresPause";
|
|
110
|
+
readonly type: "error";
|
|
111
|
+
}, {
|
|
112
|
+
readonly inputs: readonly [{
|
|
113
|
+
readonly internalType: "address";
|
|
114
|
+
readonly name: "expected";
|
|
115
|
+
readonly type: "address";
|
|
116
|
+
}, {
|
|
117
|
+
readonly internalType: "address";
|
|
118
|
+
readonly name: "actual";
|
|
119
|
+
readonly type: "address";
|
|
120
|
+
}];
|
|
121
|
+
readonly name: "ComplianceDelegateMismatch";
|
|
122
|
+
readonly type: "error";
|
|
103
123
|
}, {
|
|
104
124
|
readonly inputs: readonly [];
|
|
105
125
|
readonly name: "EmptyBatch";
|
|
@@ -172,6 +192,14 @@ export declare const airdropFactoryAbi: readonly [{
|
|
|
172
192
|
}];
|
|
173
193
|
readonly name: "IndexOutOfBounds";
|
|
174
194
|
readonly type: "error";
|
|
195
|
+
}, {
|
|
196
|
+
readonly inputs: readonly [{
|
|
197
|
+
readonly internalType: "address";
|
|
198
|
+
readonly name: "target";
|
|
199
|
+
readonly type: "address";
|
|
200
|
+
}];
|
|
201
|
+
readonly name: "InitializationMismatch";
|
|
202
|
+
readonly type: "error";
|
|
175
203
|
}, {
|
|
176
204
|
readonly inputs: readonly [{
|
|
177
205
|
readonly internalType: "uint256";
|
|
@@ -220,6 +248,14 @@ export declare const airdropFactoryAbi: readonly [{
|
|
|
220
248
|
}];
|
|
221
249
|
readonly name: "InvalidDuration";
|
|
222
250
|
readonly type: "error";
|
|
251
|
+
}, {
|
|
252
|
+
readonly inputs: readonly [{
|
|
253
|
+
readonly internalType: "address";
|
|
254
|
+
readonly name: "implementation";
|
|
255
|
+
readonly type: "address";
|
|
256
|
+
}];
|
|
257
|
+
readonly name: "InvalidImplementation";
|
|
258
|
+
readonly type: "error";
|
|
223
259
|
}, {
|
|
224
260
|
readonly inputs: readonly [];
|
|
225
261
|
readonly name: "InvalidParty";
|
|
@@ -236,6 +272,34 @@ export declare const airdropFactoryAbi: readonly [{
|
|
|
236
272
|
readonly inputs: readonly [];
|
|
237
273
|
readonly name: "LastFeeCollector";
|
|
238
274
|
readonly type: "error";
|
|
275
|
+
}, {
|
|
276
|
+
readonly inputs: readonly [{
|
|
277
|
+
readonly internalType: "address";
|
|
278
|
+
readonly name: "expected";
|
|
279
|
+
readonly type: "address";
|
|
280
|
+
}, {
|
|
281
|
+
readonly internalType: "address";
|
|
282
|
+
readonly name: "actual";
|
|
283
|
+
readonly type: "address";
|
|
284
|
+
}];
|
|
285
|
+
readonly name: "ManagerImplementationMismatch";
|
|
286
|
+
readonly type: "error";
|
|
287
|
+
}, {
|
|
288
|
+
readonly inputs: readonly [];
|
|
289
|
+
readonly name: "NativeRescueRequiresZeroFee";
|
|
290
|
+
readonly type: "error";
|
|
291
|
+
}, {
|
|
292
|
+
readonly inputs: readonly [{
|
|
293
|
+
readonly internalType: "address";
|
|
294
|
+
readonly name: "expected";
|
|
295
|
+
readonly type: "address";
|
|
296
|
+
}, {
|
|
297
|
+
readonly internalType: "address";
|
|
298
|
+
readonly name: "predicted";
|
|
299
|
+
readonly type: "address";
|
|
300
|
+
}];
|
|
301
|
+
readonly name: "PredictionMismatch";
|
|
302
|
+
readonly type: "error";
|
|
239
303
|
}, {
|
|
240
304
|
readonly inputs: readonly [{
|
|
241
305
|
readonly internalType: "address";
|
|
@@ -264,6 +328,10 @@ export declare const airdropFactoryAbi: readonly [{
|
|
|
264
328
|
readonly inputs: readonly [];
|
|
265
329
|
readonly name: "TokenNotUnwrappable";
|
|
266
330
|
readonly type: "error";
|
|
331
|
+
}, {
|
|
332
|
+
readonly inputs: readonly [];
|
|
333
|
+
readonly name: "UninitializedHandle";
|
|
334
|
+
readonly type: "error";
|
|
267
335
|
}, {
|
|
268
336
|
readonly inputs: readonly [];
|
|
269
337
|
readonly name: "UnknownAirdrop";
|
|
@@ -349,13 +417,33 @@ export declare const airdropFactoryAbi: readonly [{
|
|
|
349
417
|
}, {
|
|
350
418
|
readonly indexed: false;
|
|
351
419
|
readonly internalType: "uint256";
|
|
352
|
-
readonly name: "
|
|
420
|
+
readonly name: "gasFee";
|
|
353
421
|
readonly type: "uint256";
|
|
354
422
|
}, {
|
|
355
423
|
readonly indexed: false;
|
|
356
|
-
readonly internalType: "
|
|
357
|
-
readonly name: "
|
|
358
|
-
readonly type: "
|
|
424
|
+
readonly internalType: "uint32";
|
|
425
|
+
readonly name: "startTime";
|
|
426
|
+
readonly type: "uint32";
|
|
427
|
+
}, {
|
|
428
|
+
readonly indexed: false;
|
|
429
|
+
readonly internalType: "uint32";
|
|
430
|
+
readonly name: "endTime";
|
|
431
|
+
readonly type: "uint32";
|
|
432
|
+
}, {
|
|
433
|
+
readonly indexed: false;
|
|
434
|
+
readonly internalType: "bool";
|
|
435
|
+
readonly name: "canExtendClaimWindow";
|
|
436
|
+
readonly type: "bool";
|
|
437
|
+
}, {
|
|
438
|
+
readonly indexed: false;
|
|
439
|
+
readonly internalType: "bool";
|
|
440
|
+
readonly name: "unwrappable";
|
|
441
|
+
readonly type: "bool";
|
|
442
|
+
}, {
|
|
443
|
+
readonly indexed: false;
|
|
444
|
+
readonly internalType: "address";
|
|
445
|
+
readonly name: "complianceManager";
|
|
446
|
+
readonly type: "address";
|
|
359
447
|
}];
|
|
360
448
|
readonly name: "AirdropInitialized";
|
|
361
449
|
readonly type: "event";
|
|
@@ -481,6 +569,11 @@ export declare const airdropFactoryAbi: readonly [{
|
|
|
481
569
|
readonly internalType: "address";
|
|
482
570
|
readonly name: "complianceDelegate";
|
|
483
571
|
readonly type: "address";
|
|
572
|
+
}, {
|
|
573
|
+
readonly indexed: false;
|
|
574
|
+
readonly internalType: "address";
|
|
575
|
+
readonly name: "managerImplementation";
|
|
576
|
+
readonly type: "address";
|
|
484
577
|
}];
|
|
485
578
|
readonly name: "ComplianceManagerCloned";
|
|
486
579
|
readonly type: "event";
|
|
@@ -669,6 +762,21 @@ export declare const airdropFactoryAbi: readonly [{
|
|
|
669
762
|
}];
|
|
670
763
|
readonly name: "MerkleImplementationSet";
|
|
671
764
|
readonly type: "event";
|
|
765
|
+
}, {
|
|
766
|
+
readonly anonymous: false;
|
|
767
|
+
readonly inputs: readonly [{
|
|
768
|
+
readonly indexed: true;
|
|
769
|
+
readonly internalType: "address";
|
|
770
|
+
readonly name: "recipient";
|
|
771
|
+
readonly type: "address";
|
|
772
|
+
}, {
|
|
773
|
+
readonly indexed: false;
|
|
774
|
+
readonly internalType: "uint256";
|
|
775
|
+
readonly name: "amount";
|
|
776
|
+
readonly type: "uint256";
|
|
777
|
+
}];
|
|
778
|
+
readonly name: "NativeTokenRescued";
|
|
779
|
+
readonly type: "event";
|
|
672
780
|
}, {
|
|
673
781
|
readonly anonymous: false;
|
|
674
782
|
readonly inputs: readonly [{
|
|
@@ -991,6 +1099,18 @@ export declare const airdropFactoryAbi: readonly [{
|
|
|
991
1099
|
readonly internalType: "uint96";
|
|
992
1100
|
readonly name: "maxAcceptedGasFee";
|
|
993
1101
|
readonly type: "uint96";
|
|
1102
|
+
}, {
|
|
1103
|
+
readonly internalType: "address";
|
|
1104
|
+
readonly name: "expectedAirdrop";
|
|
1105
|
+
readonly type: "address";
|
|
1106
|
+
}, {
|
|
1107
|
+
readonly internalType: "address";
|
|
1108
|
+
readonly name: "expectedComplianceManagerImpl";
|
|
1109
|
+
readonly type: "address";
|
|
1110
|
+
}, {
|
|
1111
|
+
readonly internalType: "address";
|
|
1112
|
+
readonly name: "expectedComplianceDelegate";
|
|
1113
|
+
readonly type: "address";
|
|
994
1114
|
}];
|
|
995
1115
|
readonly internalType: "struct IAirdropFactory.CommonAirdropParams";
|
|
996
1116
|
readonly name: "common";
|
|
@@ -1063,6 +1183,18 @@ export declare const airdropFactoryAbi: readonly [{
|
|
|
1063
1183
|
readonly internalType: "uint96";
|
|
1064
1184
|
readonly name: "maxAcceptedGasFee";
|
|
1065
1185
|
readonly type: "uint96";
|
|
1186
|
+
}, {
|
|
1187
|
+
readonly internalType: "address";
|
|
1188
|
+
readonly name: "expectedAirdrop";
|
|
1189
|
+
readonly type: "address";
|
|
1190
|
+
}, {
|
|
1191
|
+
readonly internalType: "address";
|
|
1192
|
+
readonly name: "expectedComplianceManagerImpl";
|
|
1193
|
+
readonly type: "address";
|
|
1194
|
+
}, {
|
|
1195
|
+
readonly internalType: "address";
|
|
1196
|
+
readonly name: "expectedComplianceDelegate";
|
|
1197
|
+
readonly type: "address";
|
|
1066
1198
|
}];
|
|
1067
1199
|
readonly internalType: "struct IAirdropFactory.CommonAirdropParams";
|
|
1068
1200
|
readonly name: "common";
|
|
@@ -1135,6 +1267,18 @@ export declare const airdropFactoryAbi: readonly [{
|
|
|
1135
1267
|
readonly internalType: "uint96";
|
|
1136
1268
|
readonly name: "maxAcceptedGasFee";
|
|
1137
1269
|
readonly type: "uint96";
|
|
1270
|
+
}, {
|
|
1271
|
+
readonly internalType: "address";
|
|
1272
|
+
readonly name: "expectedAirdrop";
|
|
1273
|
+
readonly type: "address";
|
|
1274
|
+
}, {
|
|
1275
|
+
readonly internalType: "address";
|
|
1276
|
+
readonly name: "expectedComplianceManagerImpl";
|
|
1277
|
+
readonly type: "address";
|
|
1278
|
+
}, {
|
|
1279
|
+
readonly internalType: "address";
|
|
1280
|
+
readonly name: "expectedComplianceDelegate";
|
|
1281
|
+
readonly type: "address";
|
|
1138
1282
|
}];
|
|
1139
1283
|
readonly internalType: "struct IAirdropFactory.CommonAirdropParams";
|
|
1140
1284
|
readonly name: "common";
|
|
@@ -1199,6 +1343,18 @@ export declare const airdropFactoryAbi: readonly [{
|
|
|
1199
1343
|
readonly internalType: "uint96";
|
|
1200
1344
|
readonly name: "maxAcceptedGasFee";
|
|
1201
1345
|
readonly type: "uint96";
|
|
1346
|
+
}, {
|
|
1347
|
+
readonly internalType: "address";
|
|
1348
|
+
readonly name: "expectedAirdrop";
|
|
1349
|
+
readonly type: "address";
|
|
1350
|
+
}, {
|
|
1351
|
+
readonly internalType: "address";
|
|
1352
|
+
readonly name: "expectedComplianceManagerImpl";
|
|
1353
|
+
readonly type: "address";
|
|
1354
|
+
}, {
|
|
1355
|
+
readonly internalType: "address";
|
|
1356
|
+
readonly name: "expectedComplianceDelegate";
|
|
1357
|
+
readonly type: "address";
|
|
1202
1358
|
}];
|
|
1203
1359
|
readonly internalType: "struct IAirdropFactory.CommonAirdropParams";
|
|
1204
1360
|
readonly name: "common";
|
|
@@ -1405,6 +1561,18 @@ export declare const airdropFactoryAbi: readonly [{
|
|
|
1405
1561
|
readonly internalType: "uint96";
|
|
1406
1562
|
readonly name: "maxAcceptedGasFee";
|
|
1407
1563
|
readonly type: "uint96";
|
|
1564
|
+
}, {
|
|
1565
|
+
readonly internalType: "address";
|
|
1566
|
+
readonly name: "expectedAirdrop";
|
|
1567
|
+
readonly type: "address";
|
|
1568
|
+
}, {
|
|
1569
|
+
readonly internalType: "address";
|
|
1570
|
+
readonly name: "expectedComplianceManagerImpl";
|
|
1571
|
+
readonly type: "address";
|
|
1572
|
+
}, {
|
|
1573
|
+
readonly internalType: "address";
|
|
1574
|
+
readonly name: "expectedComplianceDelegate";
|
|
1575
|
+
readonly type: "address";
|
|
1408
1576
|
}];
|
|
1409
1577
|
readonly internalType: "struct IAirdropFactory.CommonAirdropParams";
|
|
1410
1578
|
readonly name: "common";
|
|
@@ -1465,6 +1633,18 @@ export declare const airdropFactoryAbi: readonly [{
|
|
|
1465
1633
|
readonly internalType: "uint96";
|
|
1466
1634
|
readonly name: "maxAcceptedGasFee";
|
|
1467
1635
|
readonly type: "uint96";
|
|
1636
|
+
}, {
|
|
1637
|
+
readonly internalType: "address";
|
|
1638
|
+
readonly name: "expectedAirdrop";
|
|
1639
|
+
readonly type: "address";
|
|
1640
|
+
}, {
|
|
1641
|
+
readonly internalType: "address";
|
|
1642
|
+
readonly name: "expectedComplianceManagerImpl";
|
|
1643
|
+
readonly type: "address";
|
|
1644
|
+
}, {
|
|
1645
|
+
readonly internalType: "address";
|
|
1646
|
+
readonly name: "expectedComplianceDelegate";
|
|
1647
|
+
readonly type: "address";
|
|
1468
1648
|
}];
|
|
1469
1649
|
readonly internalType: "struct IAirdropFactory.CommonAirdropParams";
|
|
1470
1650
|
readonly name: "common";
|
|
@@ -1674,6 +1854,18 @@ export declare const airdropFactoryAbi: readonly [{
|
|
|
1674
1854
|
readonly internalType: "uint96";
|
|
1675
1855
|
readonly name: "maxAcceptedGasFee";
|
|
1676
1856
|
readonly type: "uint96";
|
|
1857
|
+
}, {
|
|
1858
|
+
readonly internalType: "address";
|
|
1859
|
+
readonly name: "expectedAirdrop";
|
|
1860
|
+
readonly type: "address";
|
|
1861
|
+
}, {
|
|
1862
|
+
readonly internalType: "address";
|
|
1863
|
+
readonly name: "expectedComplianceManagerImpl";
|
|
1864
|
+
readonly type: "address";
|
|
1865
|
+
}, {
|
|
1866
|
+
readonly internalType: "address";
|
|
1867
|
+
readonly name: "expectedComplianceDelegate";
|
|
1868
|
+
readonly type: "address";
|
|
1677
1869
|
}];
|
|
1678
1870
|
readonly internalType: "struct IAirdropFactory.CommonAirdropParams";
|
|
1679
1871
|
readonly name: "common";
|
|
@@ -1742,6 +1934,18 @@ export declare const airdropFactoryAbi: readonly [{
|
|
|
1742
1934
|
readonly internalType: "uint96";
|
|
1743
1935
|
readonly name: "maxAcceptedGasFee";
|
|
1744
1936
|
readonly type: "uint96";
|
|
1937
|
+
}, {
|
|
1938
|
+
readonly internalType: "address";
|
|
1939
|
+
readonly name: "expectedAirdrop";
|
|
1940
|
+
readonly type: "address";
|
|
1941
|
+
}, {
|
|
1942
|
+
readonly internalType: "address";
|
|
1943
|
+
readonly name: "expectedComplianceManagerImpl";
|
|
1944
|
+
readonly type: "address";
|
|
1945
|
+
}, {
|
|
1946
|
+
readonly internalType: "address";
|
|
1947
|
+
readonly name: "expectedComplianceDelegate";
|
|
1948
|
+
readonly type: "address";
|
|
1745
1949
|
}];
|
|
1746
1950
|
readonly internalType: "struct IAirdropFactory.CommonAirdropParams";
|
|
1747
1951
|
readonly name: "common";
|
|
@@ -1953,4 +2157,18 @@ export declare const airdropFactoryAbi: readonly [{
|
|
|
1953
2157
|
}];
|
|
1954
2158
|
readonly stateMutability: "view";
|
|
1955
2159
|
readonly type: "function";
|
|
2160
|
+
}, {
|
|
2161
|
+
readonly inputs: readonly [{
|
|
2162
|
+
readonly internalType: "address";
|
|
2163
|
+
readonly name: "airdrop";
|
|
2164
|
+
readonly type: "address";
|
|
2165
|
+
}];
|
|
2166
|
+
readonly name: "tokenOf";
|
|
2167
|
+
readonly outputs: readonly [{
|
|
2168
|
+
readonly internalType: "address";
|
|
2169
|
+
readonly name: "";
|
|
2170
|
+
readonly type: "address";
|
|
2171
|
+
}];
|
|
2172
|
+
readonly stateMutability: "view";
|
|
2173
|
+
readonly type: "function";
|
|
1956
2174
|
}];
|