@tokenops/sdk 2.0.0-alpha.1 → 2.0.0-alpha.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/CHANGELOG.md +29 -0
- package/README.md +5 -5
- package/dist/{chunk-JZLGCTGK.cjs → chunk-3YHBO2DL.cjs} +2 -2
- package/dist/{chunk-H5POPGOZ.js → chunk-44YJPMQC.js} +1 -1
- package/dist/{chunk-DZHYSUGY.js → chunk-A4DCEE33.js} +11 -5
- package/dist/{chunk-M4IT6DNJ.cjs → chunk-AREQJHKA.cjs} +108 -3
- package/dist/chunk-EBLBPUPI.cjs +255 -0
- package/dist/chunk-EYDA6Q6C.js +245 -0
- package/dist/{chunk-XAYGD4E4.cjs → chunk-FEDX7B6T.cjs} +3 -3
- package/dist/{chunk-JQYC66TO.cjs → chunk-FHWSBGWE.cjs} +5 -5
- package/dist/{chunk-5576FRT3.cjs → chunk-FT5H2Q7Y.cjs} +11 -5
- package/dist/{chunk-456VDDA3.js → chunk-GADGBQJO.js} +78 -25
- package/dist/{chunk-6NAVMWZQ.js → chunk-IGO5XSPS.js} +2 -2
- package/dist/{chunk-CTED3MTR.cjs → chunk-IUKKNJ2R.cjs} +82 -29
- package/dist/{chunk-FGEB7RMY.cjs → chunk-MM5BV5CS.cjs} +4 -4
- package/dist/{chunk-335Z2W67.js → chunk-PYYSB5ZN.js} +1 -1
- package/dist/{chunk-PUX5VXDB.cjs → chunk-PZZK3O3S.cjs} +1040 -42
- package/dist/{chunk-74QFZ5MK.js → chunk-SPLNGUFF.js} +1 -1
- package/dist/{chunk-6PXXGACR.cjs → chunk-UHHMVBLU.cjs} +2 -2
- package/dist/{chunk-O5676ZWY.js → chunk-VW356KR3.js} +108 -5
- package/dist/{chunk-EAJ7SYHE.js → chunk-WJMEBBU7.js} +1 -1
- package/dist/{chunk-GKKDAW44.js → chunk-X7WBPCEU.js} +1026 -32
- package/dist/core/addresses.d.ts +4 -4
- package/dist/core/errors.d.ts +1 -1
- package/dist/fhe/types.d.ts +2 -2
- package/dist/fhe-airdrop/abis/merkle.d.ts +24 -12
- package/dist/fhe-airdrop/advanced/index.cjs +4 -4
- package/dist/fhe-airdrop/advanced/index.js +1 -1
- package/dist/fhe-airdrop/advanced/react/index.cjs +590 -9
- package/dist/fhe-airdrop/advanced/react/index.d.cts +34 -0
- package/dist/fhe-airdrop/advanced/react/index.d.ts +34 -0
- package/dist/fhe-airdrop/advanced/react/index.js +561 -7
- package/dist/fhe-airdrop/advanced/react/useClearCompliancePolicy.d.ts +28 -0
- package/dist/fhe-airdrop/advanced/react/useClearUpgradeabilityPolicy.d.ts +26 -0
- package/dist/fhe-airdrop/advanced/react/useDisableCustomFee.d.ts +25 -0
- package/dist/fhe-airdrop/advanced/react/useEcdsaInitCodeHash.d.ts +30 -0
- package/dist/fhe-airdrop/advanced/react/useFactoryComplianceDelegate.d.ts +25 -0
- package/dist/fhe-airdrop/advanced/react/useFactoryCompliancePolicy.d.ts +38 -0
- package/dist/fhe-airdrop/advanced/react/useFactoryCustomFee.d.ts +24 -0
- package/dist/fhe-airdrop/advanced/react/useFactoryGrantRole.d.ts +32 -0
- package/dist/fhe-airdrop/advanced/react/useFactoryHasRole.d.ts +27 -0
- package/dist/fhe-airdrop/advanced/react/useFactoryImplementations.d.ts +33 -0
- package/dist/fhe-airdrop/advanced/react/useFactoryRenounceRole.d.ts +36 -0
- package/dist/fhe-airdrop/advanced/react/useFactoryRevokeRole.d.ts +35 -0
- package/dist/fhe-airdrop/advanced/react/useFactoryRoleConstants.d.ts +46 -0
- package/dist/fhe-airdrop/advanced/react/useFactoryRoleMembers.d.ts +47 -0
- package/dist/fhe-airdrop/advanced/react/useFactoryUpgradeabilityPolicy.d.ts +39 -0
- package/dist/fhe-airdrop/advanced/react/useMerkleInitCodeHash.d.ts +24 -0
- package/dist/fhe-airdrop/advanced/react/useSetComplianceDelegate.d.ts +33 -0
- package/dist/fhe-airdrop/advanced/react/useSetComplianceManagerImpl.d.ts +27 -0
- package/dist/fhe-airdrop/advanced/react/useSetCompliancePolicy.d.ts +28 -0
- package/dist/fhe-airdrop/advanced/react/useSetCustomFee.d.ts +28 -0
- package/dist/fhe-airdrop/advanced/react/useSetDefaultDelegateToCompliance.d.ts +31 -0
- package/dist/fhe-airdrop/advanced/react/useSetDefaultGasFee.d.ts +28 -0
- package/dist/fhe-airdrop/advanced/react/useSetDefaultUpgradeable.d.ts +27 -0
- package/dist/fhe-airdrop/advanced/react/useSetEcdsaImplementation.d.ts +34 -0
- package/dist/fhe-airdrop/advanced/react/useSetFeeCollector.d.ts +27 -0
- package/dist/fhe-airdrop/advanced/react/useSetMerkleImplementation.d.ts +30 -0
- package/dist/fhe-airdrop/advanced/react/useSetUpgradeabilityPolicy.d.ts +31 -0
- package/dist/fhe-airdrop/airdrop-base.d.ts +8 -0
- package/dist/fhe-airdrop/campaign.d.ts +61 -20
- package/dist/fhe-airdrop/constants.d.ts +1 -1
- package/dist/fhe-airdrop/errors.d.ts +28 -0
- package/dist/fhe-airdrop/guards.d.ts +46 -2
- package/dist/fhe-airdrop/index.cjs +74 -971
- package/dist/fhe-airdrop/index.d.cts +2 -2
- package/dist/fhe-airdrop/index.d.ts +2 -2
- package/dist/fhe-airdrop/index.js +8 -927
- package/dist/fhe-airdrop/merkle-tree.d.ts +32 -38
- package/dist/fhe-airdrop/merkle.d.ts +52 -31
- package/dist/fhe-airdrop/react/_shared.d.ts +13 -0
- package/dist/fhe-airdrop/react/index.cjs +934 -84
- package/dist/fhe-airdrop/react/index.d.cts +49 -3
- package/dist/fhe-airdrop/react/index.d.ts +49 -3
- package/dist/fhe-airdrop/react/index.js +825 -22
- package/dist/fhe-airdrop/react/keys.d.ts +90 -0
- package/dist/fhe-airdrop/react/useAccessEcdsaClaimAmount.d.ts +26 -0
- package/dist/fhe-airdrop/react/useAccessMerkleClaimAmount.d.ts +27 -0
- package/dist/fhe-airdrop/react/useAddComplianceDelegate.d.ts +37 -0
- package/dist/fhe-airdrop/react/useAdminBatchDiscloseBalanceToParties.d.ts +36 -0
- package/dist/fhe-airdrop/react/useAdminDiscloseBalanceToParty.d.ts +31 -0
- package/dist/fhe-airdrop/react/useAdminGetCurrentBalance.d.ts +27 -0
- package/dist/fhe-airdrop/react/useAirdropConfig.d.ts +49 -0
- package/dist/fhe-airdrop/react/useAirdropDeploymentMode.d.ts +28 -0
- package/dist/fhe-airdrop/react/useAirdropGrantRole.d.ts +35 -0
- package/dist/fhe-airdrop/react/useAirdropRenounceRole.d.ts +36 -0
- package/dist/fhe-airdrop/react/useAirdropRevokeRole.d.ts +33 -0
- package/dist/fhe-airdrop/react/useAirdropRoleAdmin.d.ts +28 -0
- package/dist/fhe-airdrop/react/useAirdropRoleConstants.d.ts +67 -0
- package/dist/fhe-airdrop/react/useAirdropRoleMembers.d.ts +49 -0
- package/dist/fhe-airdrop/react/useAirdropUpgradeToAndCall.d.ts +45 -0
- package/dist/fhe-airdrop/react/useBatchDiscloseHandlesToParty.d.ts +32 -0
- package/dist/fhe-airdrop/react/useBuildMerkleCampaign.d.ts +68 -0
- package/dist/fhe-airdrop/react/useComplianceGrantRole.d.ts +32 -0
- package/dist/fhe-airdrop/react/useComplianceHasRole.d.ts +37 -0
- package/dist/fhe-airdrop/react/useComplianceInfo.d.ts +50 -0
- package/dist/fhe-airdrop/react/useComplianceManagerOf.d.ts +32 -0
- package/dist/fhe-airdrop/react/useComplianceRenounceRole.d.ts +38 -0
- package/dist/fhe-airdrop/react/useComplianceRevokeRole.d.ts +36 -0
- package/dist/fhe-airdrop/react/useComplianceRoleConstants.d.ts +41 -0
- package/dist/fhe-airdrop/react/useComplianceRoleMembers.d.ts +45 -0
- package/dist/fhe-airdrop/react/useCreateAndFundEcdsaAirdrop.d.ts +55 -0
- package/dist/fhe-airdrop/react/useCreateAndFundMerkleAirdrop.d.ts +52 -0
- package/dist/fhe-airdrop/react/useDiscloseHandleToParty.d.ts +35 -0
- package/dist/fhe-airdrop/react/useEcdsaClaim.d.ts +4 -3
- package/dist/fhe-airdrop/react/useEcdsaClaimAndUnwrap.d.ts +27 -0
- package/dist/fhe-airdrop/react/useEcdsaDomain.d.ts +41 -0
- package/dist/fhe-airdrop/react/useEffectiveDelegateToCompliance.d.ts +26 -0
- package/dist/fhe-airdrop/react/useEncryptCampaignAmounts.d.ts +59 -0
- package/dist/fhe-airdrop/react/useIsActiveDelegate.d.ts +29 -0
- package/dist/fhe-airdrop/react/useIsMerkleRootMutable.d.ts +21 -0
- package/dist/fhe-airdrop/react/useIsSignatureValid.d.ts +46 -0
- package/dist/fhe-airdrop/react/useMerkleClaim.d.ts +7 -19
- package/dist/fhe-airdrop/react/useMerkleClaimAndUnwrap.d.ts +29 -0
- package/dist/fhe-airdrop/react/usePlanMerkleCampaign.d.ts +53 -0
- package/dist/fhe-airdrop/react/usePreflightClaim.d.ts +46 -0
- package/dist/fhe-airdrop/react/usePreflightCreateAirdrop.d.ts +67 -0
- package/dist/fhe-airdrop/react/useRescueERC20.d.ts +30 -0
- package/dist/fhe-airdrop/react/useRescueOtherConfidentialToken.d.ts +34 -0
- package/dist/fhe-airdrop/react/useRevokeComplianceDelegate.d.ts +37 -0
- package/dist/fhe-airdrop/react/useRotateMerkleRoot.d.ts +52 -0
- package/dist/fhe-airdrop/react/useSignClaimAuthorization.d.ts +42 -0
- package/dist/fhe-airdrop/react/useWithdrawGasFee.d.ts +37 -0
- package/dist/fhe-airdrop/types.d.ts +14 -1
- package/dist/fhe-disperse/index.cjs +21 -21
- package/dist/fhe-disperse/index.js +2 -2
- package/dist/fhe-disperse/react/index.cjs +22 -22
- package/dist/fhe-disperse/react/index.js +3 -3
- package/dist/fhe-vesting/advanced/index.cjs +5 -5
- package/dist/fhe-vesting/advanced/index.js +3 -3
- package/dist/fhe-vesting/advanced/react/index.cjs +7 -7
- package/dist/fhe-vesting/advanced/react/index.js +4 -4
- package/dist/fhe-vesting/index.cjs +8 -8
- package/dist/fhe-vesting/index.js +2 -2
- package/dist/fhe-vesting/react/index.cjs +114 -114
- package/dist/fhe-vesting/react/index.js +3 -3
- package/dist/index.cjs +18 -18
- package/dist/index.js +1 -1
- package/dist/testnet-faucet/index.cjs +14 -14
- package/dist/testnet-faucet/index.js +2 -2
- package/dist/testnet-faucet/react/index.cjs +8 -8
- package/dist/testnet-faucet/react/index.js +3 -3
- package/package.json +1 -1
- package/dist/chunk-NCVX3K2N.cjs +0 -161
- package/dist/chunk-VP2B4WM2.js +0 -154
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SDK_VERSION } from './chunk-NWFMBLSQ.js';
|
|
2
2
|
import { isContractRevert, mapContractRevert } from './chunk-4RAAATVY.js';
|
|
3
|
-
import { getConfidentialTestTokenAddress, getTestTokenAddress } from './chunk-
|
|
3
|
+
import { getConfidentialTestTokenAddress, getTestTokenAddress } from './chunk-A4DCEE33.js';
|
|
4
4
|
import { normaliseAddress } from './chunk-ZA673I3O.js';
|
|
5
5
|
import { asEncryptedHandle, asTxHash } from './chunk-KWFFIJYX.js';
|
|
6
6
|
import { TokenOpsSdkError, UnsupportedChainError, DeploymentAddressUnavailableError, TokenOpsContractError, ReceiptEventNotFoundError, ReceiptEventAmbiguousError, MissingWalletClientError, MissingAccountError, InvalidArgumentError } from './chunk-QBJ7O2B4.js';
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
var chunkUG5RKLU2_cjs = require('./chunk-UG5RKLU2.cjs');
|
|
4
4
|
var chunkMVDQMV25_cjs = require('./chunk-MVDQMV25.cjs');
|
|
5
|
-
var
|
|
5
|
+
var chunkFT5H2Q7Y_cjs = require('./chunk-FT5H2Q7Y.cjs');
|
|
6
6
|
var chunkJK4XMMKM_cjs = require('./chunk-JK4XMMKM.cjs');
|
|
7
7
|
var chunk66IHPTOK_cjs = require('./chunk-66IHPTOK.cjs');
|
|
8
8
|
var chunk67OV5CX2_cjs = require('./chunk-67OV5CX2.cjs');
|
|
@@ -446,7 +446,7 @@ var ConfidentialVestingFactoryClient = class {
|
|
|
446
446
|
this.walletClient = config.walletClient;
|
|
447
447
|
const chainId = config.chainId ?? config.publicClient.chain?.id;
|
|
448
448
|
const addressOverride = config.address ? chunkJK4XMMKM_cjs.normaliseAddress(config.address) : void 0;
|
|
449
|
-
const resolved = addressOverride ?? (chainId === void 0 ? void 0 :
|
|
449
|
+
const resolved = addressOverride ?? (chainId === void 0 ? void 0 : chunkFT5H2Q7Y_cjs.getFheVestingFactoryAddress(chainId));
|
|
450
450
|
if (!resolved) {
|
|
451
451
|
throw new chunk67OV5CX2_cjs.DeploymentAddressUnavailableError({
|
|
452
452
|
reason: chainId === void 0 ? "chain-id-missing" : "registry-not-deployed",
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { isContractRevert } from './chunk-4RAAATVY.js';
|
|
2
2
|
import { TokenOpsSdkError, InvalidArgumentError, FeatureDisabledError, UnsupportedChainError, FheHandleNotAllowedError, TransferFailedError, InsufficientBalanceError, InsufficientFeeError, PausedError, InvalidSignatureError, isTokenOpsSdkError } from './chunk-QBJ7O2B4.js';
|
|
3
|
-
import { isAddressEqual, zeroAddress, BaseError, ContractFunctionZeroDataError } from 'viem';
|
|
3
|
+
import { isAddressEqual, zeroAddress, isAddress, BaseError, ContractFunctionZeroDataError } from 'viem';
|
|
4
4
|
|
|
5
5
|
// src/fhe-airdrop/constants.ts
|
|
6
|
-
var AIRDROP_CONTRACTS_COMMIT = "
|
|
6
|
+
var AIRDROP_CONTRACTS_COMMIT = "7175ac82f467f0f88c05aba1a4536892999b4251";
|
|
7
7
|
var DEPLOYMENT_MODE = { clone: 0, uups: 1 };
|
|
8
8
|
var DEDUP_MODE = { perAddress: 0, perDedupId: 1, both: 2, none: 3 };
|
|
9
9
|
|
|
@@ -35,6 +35,25 @@ var NonStockWrapperError = class extends TokenOpsSdkError {
|
|
|
35
35
|
);
|
|
36
36
|
}
|
|
37
37
|
};
|
|
38
|
+
var UnauthorizedRedirectError = class extends TokenOpsSdkError {
|
|
39
|
+
name = "UnauthorizedRedirectError";
|
|
40
|
+
constructor(args) {
|
|
41
|
+
const who = args?.submitter ? ` (submitter: ${args.submitter})` : "";
|
|
42
|
+
super(
|
|
43
|
+
`Only the claim identity may redirect its own payout${who}: \`to\` (${args?.to ?? "unknown"}) differs from \`account\` (${args?.account ?? "unknown"}) and the submitter is not that account. Leave \`to\` unset (or equal to \`account\`) when submitting on someone else's behalf.`,
|
|
44
|
+
{
|
|
45
|
+
code: "TOKENOPS_UNAUTHORIZED_REDIRECT",
|
|
46
|
+
cause: args?.cause,
|
|
47
|
+
context: {
|
|
48
|
+
constraint: "merkle-third-party-redirect",
|
|
49
|
+
account: args?.account,
|
|
50
|
+
to: args?.to,
|
|
51
|
+
submitter: args?.submitter
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
);
|
|
55
|
+
}
|
|
56
|
+
};
|
|
38
57
|
var SaltCollisionError = class extends TokenOpsSdkError {
|
|
39
58
|
name = "SaltCollisionError";
|
|
40
59
|
constructor(args) {
|
|
@@ -239,6 +258,22 @@ var airdropProductMapper = (name, errArgs, ctx) => {
|
|
|
239
258
|
});
|
|
240
259
|
case "RootImmutable":
|
|
241
260
|
return new FeatureDisabledError({ ...ctx, feature: "merkleRootRotation" });
|
|
261
|
+
case "ZeroAccount":
|
|
262
|
+
return invalidArg(
|
|
263
|
+
ctx,
|
|
264
|
+
"account",
|
|
265
|
+
name,
|
|
266
|
+
"the claim identity is mandatory and is never defaulted from the caller"
|
|
267
|
+
);
|
|
268
|
+
case "UnauthorizedRedirect": {
|
|
269
|
+
const account = errArgs?.[0];
|
|
270
|
+
const to = errArgs?.[1];
|
|
271
|
+
return new UnauthorizedRedirectError({
|
|
272
|
+
account,
|
|
273
|
+
to,
|
|
274
|
+
submitter: ctx.productContext?.["creator"]
|
|
275
|
+
});
|
|
276
|
+
}
|
|
242
277
|
// ---- FHEVM chain config ---------------------------------------------
|
|
243
278
|
case "ZamaProtocolUnsupported": {
|
|
244
279
|
const chainId = ctx.productContext?.["chainId"] ?? 0;
|
|
@@ -513,18 +548,86 @@ async function preflightCreate(args) {
|
|
|
513
548
|
}
|
|
514
549
|
return { ready: blockers.length === 0, blockers };
|
|
515
550
|
}
|
|
551
|
+
function assertMerkleClaimIdentity(args) {
|
|
552
|
+
const { method, account, submitter, boundTo, to, entrypoint = "claim" } = args;
|
|
553
|
+
for (const [argument, value] of [
|
|
554
|
+
["account", account],
|
|
555
|
+
["entry.boundTo", boundTo],
|
|
556
|
+
["to", to],
|
|
557
|
+
["submitter", submitter]
|
|
558
|
+
]) {
|
|
559
|
+
if (value !== void 0 && !isAddress(value, { strict: false })) {
|
|
560
|
+
throw new InvalidArgumentError({
|
|
561
|
+
method,
|
|
562
|
+
argument,
|
|
563
|
+
reason: "is not a 20-byte hex address",
|
|
564
|
+
value
|
|
565
|
+
});
|
|
566
|
+
}
|
|
567
|
+
}
|
|
568
|
+
if (isAddressEqual(account, zeroAddress)) {
|
|
569
|
+
throw new InvalidArgumentError({
|
|
570
|
+
method,
|
|
571
|
+
argument: "account",
|
|
572
|
+
reason: "is the zero address; the claim identity is mandatory and is never defaulted from the caller"
|
|
573
|
+
});
|
|
574
|
+
}
|
|
575
|
+
if (boundTo !== void 0 && !isAddressEqual(boundTo, submitter)) {
|
|
576
|
+
throw new InvalidArgumentError({
|
|
577
|
+
method,
|
|
578
|
+
argument: "entry.boundTo",
|
|
579
|
+
reason: `is ${boundTo}, but this transaction is sent from ${submitter}; the FHE input proof is bound to the sender, so only ${boundTo} can submit this entry`
|
|
580
|
+
});
|
|
581
|
+
}
|
|
582
|
+
if (entrypoint === "claimAndUnwrap") {
|
|
583
|
+
if (!isAddressEqual(account, submitter)) {
|
|
584
|
+
throw new InvalidArgumentError({
|
|
585
|
+
method,
|
|
586
|
+
argument: "entry.account",
|
|
587
|
+
reason: `is ${account}, but \`claimAndUnwrap\` is always submitted for the caller (${submitter}); use \`claim\` to settle on someone else's behalf`
|
|
588
|
+
});
|
|
589
|
+
}
|
|
590
|
+
return;
|
|
591
|
+
}
|
|
592
|
+
const beneficiary = to === void 0 || isAddressEqual(to, zeroAddress) ? account : to;
|
|
593
|
+
if (!isAddressEqual(beneficiary, account) && !isAddressEqual(submitter, account)) {
|
|
594
|
+
throw new UnauthorizedRedirectError({ account, to: beneficiary, submitter });
|
|
595
|
+
}
|
|
596
|
+
}
|
|
516
597
|
async function preflightClaim(args) {
|
|
517
598
|
const { airdrop, claimant } = args;
|
|
518
599
|
const method = "preflightClaim";
|
|
519
600
|
const blockers = [];
|
|
520
601
|
collect(blockers, () => assertSupportedChain(airdrop.chainId));
|
|
521
|
-
|
|
602
|
+
if (args.account !== void 0 || args.entrypoint !== void 0) {
|
|
603
|
+
collect(
|
|
604
|
+
blockers,
|
|
605
|
+
() => assertMerkleClaimIdentity({
|
|
606
|
+
method,
|
|
607
|
+
account: args.account ?? claimant,
|
|
608
|
+
submitter: claimant,
|
|
609
|
+
to: args.to,
|
|
610
|
+
entrypoint: args.entrypoint
|
|
611
|
+
})
|
|
612
|
+
);
|
|
613
|
+
}
|
|
614
|
+
const [started, ended, paused, fee, balance, unwrappable] = await Promise.all([
|
|
522
615
|
airdrop.hasClaimStarted(),
|
|
523
616
|
airdrop.hasClaimEnded(),
|
|
524
617
|
airdrop.paused(),
|
|
525
618
|
airdrop.gasFee(),
|
|
526
|
-
airdrop.publicClient.getBalance({ address: claimant })
|
|
619
|
+
airdrop.publicClient.getBalance({ address: claimant }),
|
|
620
|
+
args.entrypoint === "claimAndUnwrap" && airdrop.unwrappable ? airdrop.unwrappable() : Promise.resolve(true)
|
|
527
621
|
]);
|
|
622
|
+
if (!unwrappable) {
|
|
623
|
+
blockers.push(
|
|
624
|
+
new FeatureDisabledError({
|
|
625
|
+
method,
|
|
626
|
+
contractAddress: airdrop.address,
|
|
627
|
+
feature: "claimAndUnwrap"
|
|
628
|
+
})
|
|
629
|
+
);
|
|
630
|
+
}
|
|
528
631
|
if (paused) {
|
|
529
632
|
blockers.push(new PausedError({ method, contractAddress: airdrop.address }));
|
|
530
633
|
}
|
|
@@ -582,4 +685,4 @@ async function collectAsync(blockers, run) {
|
|
|
582
685
|
}
|
|
583
686
|
}
|
|
584
687
|
|
|
585
|
-
export { AIRDROP_CONTRACTS_COMMIT, AlreadyClaimedError, ClaimNotStartedError, ClaimWindowClosedError, DEDUP_MODE, DEPLOYMENT_MODE, DedupIdConsumedError, FeeCollectorSelfAdministeredError, MerkleUupsUnsupportedError, NonStockWrapperError, PredictionDriftError, SaltCollisionError, SignatureExpiredError, UpgradeabilityNotAllowedError, airdropProductMapper, assertMerkleModeSupported, assertPredictionFresh, assertSaltAvailable, assertStockWrapper, assertSupportedChain, preflightClaim, preflightCreate };
|
|
688
|
+
export { AIRDROP_CONTRACTS_COMMIT, AlreadyClaimedError, ClaimNotStartedError, ClaimWindowClosedError, DEDUP_MODE, DEPLOYMENT_MODE, DedupIdConsumedError, FeeCollectorSelfAdministeredError, MerkleUupsUnsupportedError, NonStockWrapperError, PredictionDriftError, SaltCollisionError, SignatureExpiredError, UnauthorizedRedirectError, UpgradeabilityNotAllowedError, airdropProductMapper, assertMerkleClaimIdentity, assertMerkleModeSupported, assertPredictionFresh, assertSaltAvailable, assertStockWrapper, assertSupportedChain, preflightClaim, preflightCreate };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SDK_VERSION } from './chunk-NWFMBLSQ.js';
|
|
2
2
|
import { mapContractRevert, isContractRevert } from './chunk-4RAAATVY.js';
|
|
3
|
-
import { getFheVestingFactoryAddress } from './chunk-
|
|
3
|
+
import { getFheVestingFactoryAddress } from './chunk-A4DCEE33.js';
|
|
4
4
|
import { normaliseAddress } from './chunk-ZA673I3O.js';
|
|
5
5
|
import { asTxHash } from './chunk-KWFFIJYX.js';
|
|
6
6
|
import { DeploymentAddressUnavailableError, TokenOpsSdkError, MissingWalletClientError, MissingAccountError } from './chunk-QBJ7O2B4.js';
|