@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
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { type UseMutationResult } from "@tanstack/react-query";
|
|
2
|
+
import type { Address, Hex } from "viem";
|
|
3
|
+
import type { Signature } from "../../core/brands.js";
|
|
4
|
+
import type { WriteAccountOverride } from "../airdrop-base.js";
|
|
5
|
+
import { type AirdropInstanceClientOptions } from "./_shared.js";
|
|
6
|
+
/** @alpha */
|
|
7
|
+
export interface SignClaimAuthorizationArgs extends WriteAccountOverride {
|
|
8
|
+
/** The account the signature entitles. Bound into the digest. */
|
|
9
|
+
recipient: Address;
|
|
10
|
+
/** The 32-byte encrypted-amount handle the recipient will present with this signature. */
|
|
11
|
+
encryptedAmountHandle: Hex;
|
|
12
|
+
/** Replay-scoping id, interpreted per the instance's deploy-time `dedupMode`. */
|
|
13
|
+
dedupId: Hex;
|
|
14
|
+
/** Unix seconds after which the signature is worthless. */
|
|
15
|
+
deadline: bigint;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* Sign a v2 `Claim(address recipient, bytes32 encryptedAmount, bytes32
|
|
19
|
+
* dedupId, uint256 deadline)` authorization for an `ECDSAConfidentialAirdrop`
|
|
20
|
+
* instance. The signer must hold `SIGNER_ROLE` on that instance.
|
|
21
|
+
*
|
|
22
|
+
* `airdrop` and `chainId` come from the hook's own options, so a component
|
|
23
|
+
* supplies only the claim fields.
|
|
24
|
+
*
|
|
25
|
+
* **Under `perDedupId` and `none` the contract enforces no per-recipient
|
|
26
|
+
* ceiling.** Every mode consumes the EIP-712 digest, so the exact signature
|
|
27
|
+
* bytes cannot be replayed - but under `perDedupId` the same ciphertext
|
|
28
|
+
* signed for two different `dedupId`s is claimable twice, and under `none`
|
|
29
|
+
* every distinct signature is independently claimable with no on-chain
|
|
30
|
+
* ceiling at all. The signing UI is then the ONLY bound on total payout. See
|
|
31
|
+
* {@link signClaimAuthorization}.
|
|
32
|
+
*
|
|
33
|
+
* **Invalidates:** nothing. The signature is produced off-chain and lands no
|
|
34
|
+
* transaction, so no cached read moves until the recipient claims.
|
|
35
|
+
*
|
|
36
|
+
* @example
|
|
37
|
+
* const sign = useSignClaimAuthorization({ address: airdropAddress });
|
|
38
|
+
* const signature = await sign.mutateAsync({ recipient, encryptedAmountHandle, dedupId, deadline });
|
|
39
|
+
*
|
|
40
|
+
* @alpha
|
|
41
|
+
*/
|
|
42
|
+
export declare function useSignClaimAuthorization(options: AirdropInstanceClientOptions): UseMutationResult<Signature, Error, SignClaimAuthorizationArgs>;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { type UseMutationResult } from "@tanstack/react-query";
|
|
2
|
+
import type { Address, Hex } from "viem";
|
|
3
|
+
import type { WriteAccountOverride } from "../airdrop-base.js";
|
|
4
|
+
import { type AirdropInstanceClientOptions } from "./_shared.js";
|
|
5
|
+
/** @alpha */
|
|
6
|
+
export interface WithdrawGasFeeArgs extends WriteAccountOverride {
|
|
7
|
+
/** Where the ETH goes. */
|
|
8
|
+
recipient: Address;
|
|
9
|
+
/**
|
|
10
|
+
* Wei. Exceeding the accrued balance reverts `InsufficientFeeBalance`,
|
|
11
|
+
* surfaced as `InsufficientBalanceError`.
|
|
12
|
+
*/
|
|
13
|
+
amount: bigint;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Withdraw an airdrop instance's accrued per-claim fee ETH to `recipient`.
|
|
17
|
+
*
|
|
18
|
+
* Requires `FEE_COLLECTOR_ROLE`, which is self-administered on
|
|
19
|
+
* `ConfidentialAirdropBase` — no other role can grant it, so
|
|
20
|
+
* {@link useGrantInstanceRoles} cannot bootstrap it from an admin key. Use
|
|
21
|
+
* `useAirdropRoleMembers(FEE_COLLECTOR_ROLE)` to show who can actually call
|
|
22
|
+
* this.
|
|
23
|
+
*
|
|
24
|
+
* **`amount` is public ETH in wei, not a confidential quantity** — unlike
|
|
25
|
+
* every other amount in this module it is safe to log and to render.
|
|
26
|
+
*
|
|
27
|
+
* **Invalidates:** nothing. No read hook in this subpath exposes the
|
|
28
|
+
* instance's accrued fee balance, so no cached query is left stale. If such a
|
|
29
|
+
* read is ever added, this is its invalidator.
|
|
30
|
+
*
|
|
31
|
+
* @example
|
|
32
|
+
* const withdrawFees = useWithdrawGasFee({ address: airdropAddress });
|
|
33
|
+
* await withdrawFees.mutateAsync({ recipient: treasuryAddress, amount: parseEther("0.1") });
|
|
34
|
+
*
|
|
35
|
+
* @alpha
|
|
36
|
+
*/
|
|
37
|
+
export declare function useWithdrawGasFee(options: AirdropInstanceClientOptions): UseMutationResult<Hex, Error, WithdrawGasFeeArgs>;
|
|
@@ -64,10 +64,23 @@ export interface CampaignRecipient {
|
|
|
64
64
|
/**
|
|
65
65
|
* One recipient's encrypted, proof-bearing claim input — everything `merkle.claim` needs.
|
|
66
66
|
*
|
|
67
|
+
* Carries TWO addresses because the contract keys two different things on them:
|
|
68
|
+
* `account` selects the leaf and the cumulative accounting, `boundTo` is who the
|
|
69
|
+
* coprocessor will accept as the sender. They are equal on a self-claim campaign
|
|
70
|
+
* and differ on a relayed one.
|
|
71
|
+
*
|
|
67
72
|
* @alpha
|
|
68
73
|
*/
|
|
69
74
|
export interface CampaignEntry {
|
|
70
|
-
|
|
75
|
+
/** The claim identity: whose leaf this is, whose delivered total advances, and where payout defaults. */
|
|
76
|
+
account: Address;
|
|
77
|
+
/**
|
|
78
|
+
* The only address that can submit this entry. The FHE input proof is bound to
|
|
79
|
+
* `(instance, boundTo)`, so any other sender is rejected by the coprocessor —
|
|
80
|
+
* a leaf cannot be re-pointed at a different submitter without re-encrypting,
|
|
81
|
+
* which changes the handle and therefore the root.
|
|
82
|
+
*/
|
|
83
|
+
boundTo: Address;
|
|
71
84
|
handle: Hex;
|
|
72
85
|
inputProof: Hex;
|
|
73
86
|
merkleProof: readonly Hex[];
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk3YHBO2DL_cjs = require('../chunk-3YHBO2DL.cjs');
|
|
4
4
|
var chunkKFRDLKMA_cjs = require('../chunk-KFRDLKMA.cjs');
|
|
5
5
|
require('../chunk-TEBM66WA.cjs');
|
|
6
6
|
require('../chunk-FAXIIH5R.cjs');
|
|
7
7
|
var chunkFWHYQZ5E_cjs = require('../chunk-FWHYQZ5E.cjs');
|
|
8
8
|
require('../chunk-UG5RKLU2.cjs');
|
|
9
9
|
require('../chunk-MVDQMV25.cjs');
|
|
10
|
-
require('../chunk-
|
|
10
|
+
require('../chunk-FT5H2Q7Y.cjs');
|
|
11
11
|
require('../chunk-JK4XMMKM.cjs');
|
|
12
12
|
require('../chunk-66IHPTOK.cjs');
|
|
13
13
|
var chunk67OV5CX2_cjs = require('../chunk-67OV5CX2.cjs');
|
|
@@ -17,79 +17,79 @@ require('../chunk-VJKZWYYJ.cjs');
|
|
|
17
17
|
|
|
18
18
|
Object.defineProperty(exports, "AlreadyRegisteredError", {
|
|
19
19
|
enumerable: true,
|
|
20
|
-
get: function () { return
|
|
20
|
+
get: function () { return chunk3YHBO2DL_cjs.AlreadyRegisteredError; }
|
|
21
21
|
});
|
|
22
22
|
Object.defineProperty(exports, "ConfidentialDisperseClient", {
|
|
23
23
|
enumerable: true,
|
|
24
|
-
get: function () { return
|
|
24
|
+
get: function () { return chunk3YHBO2DL_cjs.ConfidentialDisperseClient; }
|
|
25
25
|
});
|
|
26
26
|
Object.defineProperty(exports, "DEFAULT_ADMIN_ROLE", {
|
|
27
27
|
enumerable: true,
|
|
28
|
-
get: function () { return
|
|
28
|
+
get: function () { return chunk3YHBO2DL_cjs.DEFAULT_ADMIN_ROLE; }
|
|
29
29
|
});
|
|
30
30
|
Object.defineProperty(exports, "DisperseEncryptedReserveNotGrantedError", {
|
|
31
31
|
enumerable: true,
|
|
32
|
-
get: function () { return
|
|
32
|
+
get: function () { return chunk3YHBO2DL_cjs.DisperseEncryptedReserveNotGrantedError; }
|
|
33
33
|
});
|
|
34
34
|
Object.defineProperty(exports, "DisperseSubwalletNotFoundError", {
|
|
35
35
|
enumerable: true,
|
|
36
|
-
get: function () { return
|
|
36
|
+
get: function () { return chunk3YHBO2DL_cjs.DisperseSubwalletNotFoundError; }
|
|
37
37
|
});
|
|
38
38
|
Object.defineProperty(exports, "FEE_COLLECTOR_ROLE", {
|
|
39
39
|
enumerable: true,
|
|
40
|
-
get: function () { return
|
|
40
|
+
get: function () { return chunk3YHBO2DL_cjs.FEE_COLLECTOR_ROLE; }
|
|
41
41
|
});
|
|
42
42
|
Object.defineProperty(exports, "FEE_MANAGER_ROLE", {
|
|
43
43
|
enumerable: true,
|
|
44
|
-
get: function () { return
|
|
44
|
+
get: function () { return chunk3YHBO2DL_cjs.FEE_MANAGER_ROLE; }
|
|
45
45
|
});
|
|
46
46
|
Object.defineProperty(exports, "NotRegisteredError", {
|
|
47
47
|
enumerable: true,
|
|
48
|
-
get: function () { return
|
|
48
|
+
get: function () { return chunk3YHBO2DL_cjs.NotRegisteredError; }
|
|
49
49
|
});
|
|
50
50
|
Object.defineProperty(exports, "PAUSER_ROLE", {
|
|
51
51
|
enumerable: true,
|
|
52
|
-
get: function () { return
|
|
52
|
+
get: function () { return chunk3YHBO2DL_cjs.PAUSER_ROLE; }
|
|
53
53
|
});
|
|
54
54
|
Object.defineProperty(exports, "SingletonNotApprovedError", {
|
|
55
55
|
enumerable: true,
|
|
56
|
-
get: function () { return
|
|
56
|
+
get: function () { return chunk3YHBO2DL_cjs.SingletonNotApprovedError; }
|
|
57
57
|
});
|
|
58
58
|
Object.defineProperty(exports, "SubwalletsNotApprovedError", {
|
|
59
59
|
enumerable: true,
|
|
60
|
-
get: function () { return
|
|
60
|
+
get: function () { return chunk3YHBO2DL_cjs.SubwalletsNotApprovedError; }
|
|
61
61
|
});
|
|
62
62
|
Object.defineProperty(exports, "WITHDRAWER_ROLE", {
|
|
63
63
|
enumerable: true,
|
|
64
|
-
get: function () { return
|
|
64
|
+
get: function () { return chunk3YHBO2DL_cjs.WITHDRAWER_ROLE; }
|
|
65
65
|
});
|
|
66
66
|
Object.defineProperty(exports, "computeSubtotals", {
|
|
67
67
|
enumerable: true,
|
|
68
|
-
get: function () { return
|
|
68
|
+
get: function () { return chunk3YHBO2DL_cjs.computeSubtotals; }
|
|
69
69
|
});
|
|
70
70
|
Object.defineProperty(exports, "createConfidentialDisperseClient", {
|
|
71
71
|
enumerable: true,
|
|
72
|
-
get: function () { return
|
|
72
|
+
get: function () { return chunk3YHBO2DL_cjs.createConfidentialDisperseClient; }
|
|
73
73
|
});
|
|
74
74
|
Object.defineProperty(exports, "disperseConfidentialAbi", {
|
|
75
75
|
enumerable: true,
|
|
76
|
-
get: function () { return
|
|
76
|
+
get: function () { return chunk3YHBO2DL_cjs.disperseConfidentialAbi; }
|
|
77
77
|
});
|
|
78
78
|
Object.defineProperty(exports, "disperseWalletAbi", {
|
|
79
79
|
enumerable: true,
|
|
80
|
-
get: function () { return
|
|
80
|
+
get: function () { return chunk3YHBO2DL_cjs.disperseWalletAbi; }
|
|
81
81
|
});
|
|
82
82
|
Object.defineProperty(exports, "encryptUint64", {
|
|
83
83
|
enumerable: true,
|
|
84
|
-
get: function () { return
|
|
84
|
+
get: function () { return chunk3YHBO2DL_cjs.encryptUint64; }
|
|
85
85
|
});
|
|
86
86
|
Object.defineProperty(exports, "encryptUint64Batch", {
|
|
87
87
|
enumerable: true,
|
|
88
|
-
get: function () { return
|
|
88
|
+
get: function () { return chunk3YHBO2DL_cjs.encryptUint64Batch; }
|
|
89
89
|
});
|
|
90
90
|
Object.defineProperty(exports, "resolveEncryptor", {
|
|
91
91
|
enumerable: true,
|
|
92
|
-
get: function () { return
|
|
92
|
+
get: function () { return chunk3YHBO2DL_cjs.resolveEncryptor; }
|
|
93
93
|
});
|
|
94
94
|
Object.defineProperty(exports, "ERC7984_OPERATOR_MAX_DEADLINE", {
|
|
95
95
|
enumerable: true,
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export { AlreadyRegisteredError, ConfidentialDisperseClient, DEFAULT_ADMIN_ROLE, DisperseEncryptedReserveNotGrantedError, DisperseSubwalletNotFoundError, FEE_COLLECTOR_ROLE, FEE_MANAGER_ROLE, NotRegisteredError, PAUSER_ROLE, SingletonNotApprovedError, SubwalletsNotApprovedError, WITHDRAWER_ROLE, computeSubtotals, createConfidentialDisperseClient, disperseConfidentialAbi, disperseWalletAbi, encryptUint64, encryptUint64Batch, resolveEncryptor } from '../chunk-
|
|
1
|
+
export { AlreadyRegisteredError, ConfidentialDisperseClient, DEFAULT_ADMIN_ROLE, DisperseEncryptedReserveNotGrantedError, DisperseSubwalletNotFoundError, FEE_COLLECTOR_ROLE, FEE_MANAGER_ROLE, NotRegisteredError, PAUSER_ROLE, SingletonNotApprovedError, SubwalletsNotApprovedError, WITHDRAWER_ROLE, computeSubtotals, createConfidentialDisperseClient, disperseConfidentialAbi, disperseWalletAbi, encryptUint64, encryptUint64Batch, resolveEncryptor } from '../chunk-44YJPMQC.js';
|
|
2
2
|
export { ERC7984_OPERATOR_MAX_DEADLINE, revokeOperator, setOperator } from '../chunk-4TSDNZQ3.js';
|
|
3
3
|
import '../chunk-WMACINXO.js';
|
|
4
4
|
import '../chunk-ZWXJTBZO.js';
|
|
5
5
|
export { erc7984OperatorAbi } from '../chunk-7VELUOMI.js';
|
|
6
6
|
import '../chunk-NWFMBLSQ.js';
|
|
7
7
|
import '../chunk-4RAAATVY.js';
|
|
8
|
-
import '../chunk-
|
|
8
|
+
import '../chunk-A4DCEE33.js';
|
|
9
9
|
import '../chunk-ZA673I3O.js';
|
|
10
10
|
import '../chunk-KWFFIJYX.js';
|
|
11
11
|
export { AccessDeniedError, AlreadyInitializedError, BatchTooLargeError, ContractRevertError, DecryptionFailedError, DeploymentAddressUnavailableError, EncryptionFailedError, FeatureDisabledError, FheHandleNotAllowedError, InsufficientBalanceError, InsufficientFeeError, InsufficientGasFundsError, InvalidArgumentError, InvalidSignatureError, MissingAccountError, MissingClientError, MissingEncryptorError, MissingPublicClientError, MissingWalletClientError, NetworkError, OperatorNotApprovedError, PausedError, ReceiptEventAmbiguousError, ReceiptEventNotFoundError, ReentrancyError, RelayerUnreachableError, SigningFailedError, TokenOpsContractError, TokenOpsSdkError, TokenOpsValidationError, TransferFailedError, UnknownWriteFailureError, UnsupportedChainError, UserDecryptNotAllowedError, UserRejectedSignatureError, WalletChainMismatchError, WalletRejectedError, isTokenOpsSdkError } from '../chunk-QBJ7O2B4.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk3YHBO2DL_cjs = require('../../chunk-3YHBO2DL.cjs');
|
|
4
4
|
var chunk7AFPOE7N_cjs = require('../../chunk-7AFPOE7N.cjs');
|
|
5
5
|
require('../../chunk-ZQUE2B3Q.cjs');
|
|
6
6
|
require('../../chunk-KFRDLKMA.cjs');
|
|
@@ -9,7 +9,7 @@ require('../../chunk-FAXIIH5R.cjs');
|
|
|
9
9
|
require('../../chunk-FWHYQZ5E.cjs');
|
|
10
10
|
require('../../chunk-UG5RKLU2.cjs');
|
|
11
11
|
require('../../chunk-MVDQMV25.cjs');
|
|
12
|
-
var
|
|
12
|
+
var chunkFT5H2Q7Y_cjs = require('../../chunk-FT5H2Q7Y.cjs');
|
|
13
13
|
require('../../chunk-JK4XMMKM.cjs');
|
|
14
14
|
require('../../chunk-66IHPTOK.cjs');
|
|
15
15
|
var chunk67OV5CX2_cjs = require('../../chunk-67OV5CX2.cjs');
|
|
@@ -23,7 +23,7 @@ var FHE_DISPERSE_NAMESPACE = "fhe-disperse";
|
|
|
23
23
|
function tryResolveSingletonAddress(override, chainId) {
|
|
24
24
|
if (override) return override;
|
|
25
25
|
if (chainId === void 0) return void 0;
|
|
26
|
-
return
|
|
26
|
+
return chunkFT5H2Q7Y_cjs.getFheDisperseSingletonAddress(chainId);
|
|
27
27
|
}
|
|
28
28
|
function useMemoDisperseClient(opts = {}) {
|
|
29
29
|
const publicClient = wagmi.usePublicClient({ chainId: opts.chainId });
|
|
@@ -36,14 +36,14 @@ function useMemoDisperseClient(opts = {}) {
|
|
|
36
36
|
const client = react.useMemo(() => {
|
|
37
37
|
if (!publicClient) return void 0;
|
|
38
38
|
if (!resolvedAddress) return void 0;
|
|
39
|
-
return
|
|
39
|
+
return chunk3YHBO2DL_cjs.createConfidentialDisperseClient({
|
|
40
40
|
publicClient,
|
|
41
41
|
...walletClient ? { walletClient } : {},
|
|
42
42
|
address: resolvedAddress,
|
|
43
43
|
...chainId !== void 0 ? { chainId } : {},
|
|
44
44
|
// Lazy — invoked per-encryption inside the headless client. Picks up
|
|
45
45
|
// whichever EncryptorSource the consumer last passed in.
|
|
46
|
-
encryptor: () =>
|
|
46
|
+
encryptor: () => chunk3YHBO2DL_cjs.resolveEncryptor(encryptorSourceRef.current),
|
|
47
47
|
...opts.aclAddress ? { aclAddress: opts.aclAddress } : {}
|
|
48
48
|
});
|
|
49
49
|
}, [publicClient, walletClient, resolvedAddress, chainId, opts.aclAddress]);
|
|
@@ -66,7 +66,7 @@ function computeSingletonResolutionError(override, chainId) {
|
|
|
66
66
|
clientLabel: "ConfidentialDisperseClient"
|
|
67
67
|
});
|
|
68
68
|
}
|
|
69
|
-
const resolved =
|
|
69
|
+
const resolved = chunkFT5H2Q7Y_cjs.getFheDisperseSingletonAddress(chainId);
|
|
70
70
|
if (!resolved) {
|
|
71
71
|
return new chunk67OV5CX2_cjs.DeploymentAddressUnavailableError({
|
|
72
72
|
reason: "registry-not-deployed",
|
|
@@ -472,7 +472,7 @@ function useWithdrawTokenFee(options = {}) {
|
|
|
472
472
|
});
|
|
473
473
|
}
|
|
474
474
|
const { token, to, amount, encryptor: encryptorSource, account } = args;
|
|
475
|
-
const eager = encryptorSource ?
|
|
475
|
+
const eager = encryptorSource ? chunk3YHBO2DL_cjs.resolveEncryptor(encryptorSource) : void 0;
|
|
476
476
|
return client.withdrawTokenFee({
|
|
477
477
|
token,
|
|
478
478
|
to,
|
|
@@ -524,63 +524,63 @@ function useRevokeRole(options = {}) {
|
|
|
524
524
|
|
|
525
525
|
Object.defineProperty(exports, "AlreadyRegisteredError", {
|
|
526
526
|
enumerable: true,
|
|
527
|
-
get: function () { return
|
|
527
|
+
get: function () { return chunk3YHBO2DL_cjs.AlreadyRegisteredError; }
|
|
528
528
|
});
|
|
529
529
|
Object.defineProperty(exports, "DEFAULT_ADMIN_ROLE", {
|
|
530
530
|
enumerable: true,
|
|
531
|
-
get: function () { return
|
|
531
|
+
get: function () { return chunk3YHBO2DL_cjs.DEFAULT_ADMIN_ROLE; }
|
|
532
532
|
});
|
|
533
533
|
Object.defineProperty(exports, "DisperseEncryptedReserveNotGrantedError", {
|
|
534
534
|
enumerable: true,
|
|
535
|
-
get: function () { return
|
|
535
|
+
get: function () { return chunk3YHBO2DL_cjs.DisperseEncryptedReserveNotGrantedError; }
|
|
536
536
|
});
|
|
537
537
|
Object.defineProperty(exports, "DisperseSubwalletNotFoundError", {
|
|
538
538
|
enumerable: true,
|
|
539
|
-
get: function () { return
|
|
539
|
+
get: function () { return chunk3YHBO2DL_cjs.DisperseSubwalletNotFoundError; }
|
|
540
540
|
});
|
|
541
541
|
Object.defineProperty(exports, "FEE_COLLECTOR_ROLE", {
|
|
542
542
|
enumerable: true,
|
|
543
|
-
get: function () { return
|
|
543
|
+
get: function () { return chunk3YHBO2DL_cjs.FEE_COLLECTOR_ROLE; }
|
|
544
544
|
});
|
|
545
545
|
Object.defineProperty(exports, "FEE_MANAGER_ROLE", {
|
|
546
546
|
enumerable: true,
|
|
547
|
-
get: function () { return
|
|
547
|
+
get: function () { return chunk3YHBO2DL_cjs.FEE_MANAGER_ROLE; }
|
|
548
548
|
});
|
|
549
549
|
Object.defineProperty(exports, "NotRegisteredError", {
|
|
550
550
|
enumerable: true,
|
|
551
|
-
get: function () { return
|
|
551
|
+
get: function () { return chunk3YHBO2DL_cjs.NotRegisteredError; }
|
|
552
552
|
});
|
|
553
553
|
Object.defineProperty(exports, "PAUSER_ROLE", {
|
|
554
554
|
enumerable: true,
|
|
555
|
-
get: function () { return
|
|
555
|
+
get: function () { return chunk3YHBO2DL_cjs.PAUSER_ROLE; }
|
|
556
556
|
});
|
|
557
557
|
Object.defineProperty(exports, "SingletonNotApprovedError", {
|
|
558
558
|
enumerable: true,
|
|
559
|
-
get: function () { return
|
|
559
|
+
get: function () { return chunk3YHBO2DL_cjs.SingletonNotApprovedError; }
|
|
560
560
|
});
|
|
561
561
|
Object.defineProperty(exports, "SubwalletsNotApprovedError", {
|
|
562
562
|
enumerable: true,
|
|
563
|
-
get: function () { return
|
|
563
|
+
get: function () { return chunk3YHBO2DL_cjs.SubwalletsNotApprovedError; }
|
|
564
564
|
});
|
|
565
565
|
Object.defineProperty(exports, "WITHDRAWER_ROLE", {
|
|
566
566
|
enumerable: true,
|
|
567
|
-
get: function () { return
|
|
567
|
+
get: function () { return chunk3YHBO2DL_cjs.WITHDRAWER_ROLE; }
|
|
568
568
|
});
|
|
569
569
|
Object.defineProperty(exports, "computeSubtotals", {
|
|
570
570
|
enumerable: true,
|
|
571
|
-
get: function () { return
|
|
571
|
+
get: function () { return chunk3YHBO2DL_cjs.computeSubtotals; }
|
|
572
572
|
});
|
|
573
573
|
Object.defineProperty(exports, "encryptUint64", {
|
|
574
574
|
enumerable: true,
|
|
575
|
-
get: function () { return
|
|
575
|
+
get: function () { return chunk3YHBO2DL_cjs.encryptUint64; }
|
|
576
576
|
});
|
|
577
577
|
Object.defineProperty(exports, "encryptUint64Batch", {
|
|
578
578
|
enumerable: true,
|
|
579
|
-
get: function () { return
|
|
579
|
+
get: function () { return chunk3YHBO2DL_cjs.encryptUint64Batch; }
|
|
580
580
|
});
|
|
581
581
|
Object.defineProperty(exports, "resolveEncryptor", {
|
|
582
582
|
enumerable: true,
|
|
583
|
-
get: function () { return
|
|
583
|
+
get: function () { return chunk3YHBO2DL_cjs.resolveEncryptor; }
|
|
584
584
|
});
|
|
585
585
|
Object.defineProperty(exports, "useEnsureOperator", {
|
|
586
586
|
enumerable: true,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { resolveEncryptor, createConfidentialDisperseClient } from '../../chunk-
|
|
2
|
-
export { AlreadyRegisteredError, DEFAULT_ADMIN_ROLE, DisperseEncryptedReserveNotGrantedError, DisperseSubwalletNotFoundError, FEE_COLLECTOR_ROLE, FEE_MANAGER_ROLE, NotRegisteredError, PAUSER_ROLE, SingletonNotApprovedError, SubwalletsNotApprovedError, WITHDRAWER_ROLE, computeSubtotals, encryptUint64, encryptUint64Batch, resolveEncryptor } from '../../chunk-
|
|
1
|
+
import { resolveEncryptor, createConfidentialDisperseClient } from '../../chunk-44YJPMQC.js';
|
|
2
|
+
export { AlreadyRegisteredError, DEFAULT_ADMIN_ROLE, DisperseEncryptedReserveNotGrantedError, DisperseSubwalletNotFoundError, FEE_COLLECTOR_ROLE, FEE_MANAGER_ROLE, NotRegisteredError, PAUSER_ROLE, SingletonNotApprovedError, SubwalletsNotApprovedError, WITHDRAWER_ROLE, computeSubtotals, encryptUint64, encryptUint64Batch, resolveEncryptor } from '../../chunk-44YJPMQC.js';
|
|
3
3
|
export { useEnsureOperator, useIsOperator } from '../../chunk-AXIPOR3C.js';
|
|
4
4
|
import '../../chunk-FT4LNBOS.js';
|
|
5
5
|
import '../../chunk-4TSDNZQ3.js';
|
|
@@ -8,7 +8,7 @@ import '../../chunk-ZWXJTBZO.js';
|
|
|
8
8
|
import '../../chunk-7VELUOMI.js';
|
|
9
9
|
import '../../chunk-NWFMBLSQ.js';
|
|
10
10
|
import '../../chunk-4RAAATVY.js';
|
|
11
|
-
import { getFheDisperseSingletonAddress } from '../../chunk-
|
|
11
|
+
import { getFheDisperseSingletonAddress } from '../../chunk-A4DCEE33.js';
|
|
12
12
|
import '../../chunk-ZA673I3O.js';
|
|
13
13
|
import '../../chunk-KWFFIJYX.js';
|
|
14
14
|
import { MissingClientError, DeploymentAddressUnavailableError } from '../../chunk-QBJ7O2B4.js';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../../chunk-
|
|
3
|
+
var chunkMM5BV5CS_cjs = require('../../chunk-MM5BV5CS.cjs');
|
|
4
|
+
require('../../chunk-UHHMVBLU.cjs');
|
|
5
5
|
require('../../chunk-UG5RKLU2.cjs');
|
|
6
6
|
require('../../chunk-MVDQMV25.cjs');
|
|
7
|
-
require('../../chunk-
|
|
7
|
+
require('../../chunk-FT5H2Q7Y.cjs');
|
|
8
8
|
require('../../chunk-JK4XMMKM.cjs');
|
|
9
9
|
require('../../chunk-66IHPTOK.cjs');
|
|
10
10
|
require('../../chunk-67OV5CX2.cjs');
|
|
@@ -14,9 +14,9 @@ require('../../chunk-VJKZWYYJ.cjs');
|
|
|
14
14
|
|
|
15
15
|
Object.defineProperty(exports, "ConfidentialVestingFactoryAdvancedClient", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkMM5BV5CS_cjs.ConfidentialVestingFactoryAdvancedClient; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "createConfidentialVestingFactoryAdvancedClient", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkMM5BV5CS_cjs.createConfidentialVestingFactoryAdvancedClient; }
|
|
22
22
|
});
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { ConfidentialVestingFactoryAdvancedClient, createConfidentialVestingFactoryAdvancedClient } from '../../chunk-
|
|
2
|
-
import '../../chunk-
|
|
1
|
+
export { ConfidentialVestingFactoryAdvancedClient, createConfidentialVestingFactoryAdvancedClient } from '../../chunk-PYYSB5ZN.js';
|
|
2
|
+
import '../../chunk-WJMEBBU7.js';
|
|
3
3
|
import '../../chunk-NWFMBLSQ.js';
|
|
4
4
|
import '../../chunk-4RAAATVY.js';
|
|
5
|
-
import '../../chunk-
|
|
5
|
+
import '../../chunk-A4DCEE33.js';
|
|
6
6
|
import '../../chunk-ZA673I3O.js';
|
|
7
7
|
import '../../chunk-KWFFIJYX.js';
|
|
8
8
|
import '../../chunk-QBJ7O2B4.js';
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkFHWSBGWE_cjs = require('../../../chunk-FHWSBGWE.cjs');
|
|
4
4
|
require('../../../chunk-WJLECC22.cjs');
|
|
5
5
|
require('../../../chunk-TEBM66WA.cjs');
|
|
6
6
|
require('../../../chunk-3QHNYEQD.cjs');
|
|
7
7
|
require('../../../chunk-FAXIIH5R.cjs');
|
|
8
8
|
require('../../../chunk-FWHYQZ5E.cjs');
|
|
9
|
-
var
|
|
10
|
-
require('../../../chunk-
|
|
9
|
+
var chunkMM5BV5CS_cjs = require('../../../chunk-MM5BV5CS.cjs');
|
|
10
|
+
require('../../../chunk-UHHMVBLU.cjs');
|
|
11
11
|
require('../../../chunk-UG5RKLU2.cjs');
|
|
12
12
|
require('../../../chunk-MVDQMV25.cjs');
|
|
13
|
-
var
|
|
13
|
+
var chunkFT5H2Q7Y_cjs = require('../../../chunk-FT5H2Q7Y.cjs');
|
|
14
14
|
require('../../../chunk-JK4XMMKM.cjs');
|
|
15
15
|
require('../../../chunk-66IHPTOK.cjs');
|
|
16
16
|
require('../../../chunk-67OV5CX2.cjs');
|
|
@@ -37,12 +37,12 @@ function usePredictManagerAddress(args = {}) {
|
|
|
37
37
|
...chainId !== void 0 ? { chainId } : {}
|
|
38
38
|
});
|
|
39
39
|
const resolvedChainId = chainId ?? resolvedPublicClient?.chain?.id;
|
|
40
|
-
const resolvedAddress = address ?? (resolvedChainId === void 0 ? void 0 :
|
|
40
|
+
const resolvedAddress = address ?? (resolvedChainId === void 0 ? void 0 : chunkFT5H2Q7Y_cjs.DEPLOYED_ADDRESSES.fheVesting?.confidentialVestingFactory?.[resolvedChainId] ?? void 0);
|
|
41
41
|
react.useRef(void 0);
|
|
42
42
|
const client = react.useMemo(() => {
|
|
43
43
|
if (!resolvedPublicClient) return void 0;
|
|
44
44
|
if (!resolvedAddress) return void 0;
|
|
45
|
-
return
|
|
45
|
+
return chunkMM5BV5CS_cjs.createConfidentialVestingFactoryAdvancedClient({
|
|
46
46
|
publicClient: resolvedPublicClient,
|
|
47
47
|
...walletClient ? { walletClient } : {},
|
|
48
48
|
address: resolvedAddress,
|
|
@@ -50,7 +50,7 @@ function usePredictManagerAddress(args = {}) {
|
|
|
50
50
|
});
|
|
51
51
|
}, [resolvedPublicClient, walletClient, resolvedAddress, resolvedChainId]);
|
|
52
52
|
return reactQuery.useQuery({
|
|
53
|
-
queryKey:
|
|
53
|
+
queryKey: chunkFHWSBGWE_cjs.buildQueryKey(
|
|
54
54
|
"factory:predictManagerAddress",
|
|
55
55
|
resolvedChainId,
|
|
56
56
|
resolvedAddress,
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { buildQueryKey } from '../../../chunk-
|
|
1
|
+
import { buildQueryKey } from '../../../chunk-IGO5XSPS.js';
|
|
2
2
|
import '../../../chunk-TWT3STIX.js';
|
|
3
3
|
import '../../../chunk-WMACINXO.js';
|
|
4
4
|
import '../../../chunk-6GNR22OV.js';
|
|
5
5
|
import '../../../chunk-ZWXJTBZO.js';
|
|
6
6
|
import '../../../chunk-7VELUOMI.js';
|
|
7
|
-
import { createConfidentialVestingFactoryAdvancedClient } from '../../../chunk-
|
|
8
|
-
import '../../../chunk-
|
|
7
|
+
import { createConfidentialVestingFactoryAdvancedClient } from '../../../chunk-PYYSB5ZN.js';
|
|
8
|
+
import '../../../chunk-WJMEBBU7.js';
|
|
9
9
|
import '../../../chunk-NWFMBLSQ.js';
|
|
10
10
|
import '../../../chunk-4RAAATVY.js';
|
|
11
|
-
import { DEPLOYED_ADDRESSES } from '../../../chunk-
|
|
11
|
+
import { DEPLOYED_ADDRESSES } from '../../../chunk-A4DCEE33.js';
|
|
12
12
|
import '../../../chunk-ZA673I3O.js';
|
|
13
13
|
import '../../../chunk-KWFFIJYX.js';
|
|
14
14
|
import '../../../chunk-QBJ7O2B4.js';
|
|
@@ -5,10 +5,10 @@ require('../chunk-TEBM66WA.cjs');
|
|
|
5
5
|
var chunk3QHNYEQD_cjs = require('../chunk-3QHNYEQD.cjs');
|
|
6
6
|
require('../chunk-FAXIIH5R.cjs');
|
|
7
7
|
var chunkFWHYQZ5E_cjs = require('../chunk-FWHYQZ5E.cjs');
|
|
8
|
-
var
|
|
8
|
+
var chunkUHHMVBLU_cjs = require('../chunk-UHHMVBLU.cjs');
|
|
9
9
|
require('../chunk-UG5RKLU2.cjs');
|
|
10
10
|
require('../chunk-MVDQMV25.cjs');
|
|
11
|
-
require('../chunk-
|
|
11
|
+
require('../chunk-FT5H2Q7Y.cjs');
|
|
12
12
|
require('../chunk-JK4XMMKM.cjs');
|
|
13
13
|
require('../chunk-66IHPTOK.cjs');
|
|
14
14
|
var chunk67OV5CX2_cjs = require('../chunk-67OV5CX2.cjs');
|
|
@@ -98,27 +98,27 @@ Object.defineProperty(exports, "erc7984OperatorAbi", {
|
|
|
98
98
|
});
|
|
99
99
|
Object.defineProperty(exports, "ConfidentialVestingFactoryClient", {
|
|
100
100
|
enumerable: true,
|
|
101
|
-
get: function () { return
|
|
101
|
+
get: function () { return chunkUHHMVBLU_cjs.ConfidentialVestingFactoryClient; }
|
|
102
102
|
});
|
|
103
103
|
Object.defineProperty(exports, "DisclosureType", {
|
|
104
104
|
enumerable: true,
|
|
105
|
-
get: function () { return
|
|
105
|
+
get: function () { return chunkUHHMVBLU_cjs.DisclosureType; }
|
|
106
106
|
});
|
|
107
107
|
Object.defineProperty(exports, "FeeType", {
|
|
108
108
|
enumerable: true,
|
|
109
|
-
get: function () { return
|
|
109
|
+
get: function () { return chunkUHHMVBLU_cjs.FeeType; }
|
|
110
110
|
});
|
|
111
111
|
Object.defineProperty(exports, "confidentialVestingFactoryAbi", {
|
|
112
112
|
enumerable: true,
|
|
113
|
-
get: function () { return
|
|
113
|
+
get: function () { return chunkUHHMVBLU_cjs.confidentialVestingFactoryAbi; }
|
|
114
114
|
});
|
|
115
115
|
Object.defineProperty(exports, "createConfidentialVestingFactoryClient", {
|
|
116
116
|
enumerable: true,
|
|
117
|
-
get: function () { return
|
|
117
|
+
get: function () { return chunkUHHMVBLU_cjs.createConfidentialVestingFactoryClient; }
|
|
118
118
|
});
|
|
119
119
|
Object.defineProperty(exports, "feeTypeName", {
|
|
120
120
|
enumerable: true,
|
|
121
|
-
get: function () { return
|
|
121
|
+
get: function () { return chunkUHHMVBLU_cjs.feeTypeName; }
|
|
122
122
|
});
|
|
123
123
|
Object.defineProperty(exports, "AccessDeniedError", {
|
|
124
124
|
enumerable: true,
|
|
@@ -3,10 +3,10 @@ import '../chunk-WMACINXO.js';
|
|
|
3
3
|
export { FHE_SPLIT_DENOMINATOR, encryptUint64, encryptUint64Batch, resolveEncryptor, scaleRatio, share } from '../chunk-6GNR22OV.js';
|
|
4
4
|
import '../chunk-ZWXJTBZO.js';
|
|
5
5
|
export { erc7984OperatorAbi } from '../chunk-7VELUOMI.js';
|
|
6
|
-
export { ConfidentialVestingFactoryClient, DisclosureType, FeeType, confidentialVestingFactoryAbi, createConfidentialVestingFactoryClient, feeTypeName } from '../chunk-
|
|
6
|
+
export { ConfidentialVestingFactoryClient, DisclosureType, FeeType, confidentialVestingFactoryAbi, createConfidentialVestingFactoryClient, feeTypeName } from '../chunk-WJMEBBU7.js';
|
|
7
7
|
import '../chunk-NWFMBLSQ.js';
|
|
8
8
|
import '../chunk-4RAAATVY.js';
|
|
9
|
-
import '../chunk-
|
|
9
|
+
import '../chunk-A4DCEE33.js';
|
|
10
10
|
import '../chunk-ZA673I3O.js';
|
|
11
11
|
import '../chunk-KWFFIJYX.js';
|
|
12
12
|
export { AccessDeniedError, AlreadyInitializedError, BatchTooLargeError, ContractRevertError, DecryptionFailedError, DeploymentAddressUnavailableError, EncryptionFailedError, FeatureDisabledError, FheHandleNotAllowedError, InsufficientBalanceError, InsufficientFeeError, InsufficientGasFundsError, InvalidArgumentError, InvalidSignatureError, MissingAccountError, MissingClientError, MissingEncryptorError, MissingPublicClientError, MissingWalletClientError, NetworkError, OperatorNotApprovedError, PausedError, ReceiptEventAmbiguousError, ReceiptEventNotFoundError, ReentrancyError, RelayerUnreachableError, SigningFailedError, TokenOpsContractError, TokenOpsSdkError, TokenOpsValidationError, TransferFailedError, UnknownWriteFailureError, UnsupportedChainError, UserDecryptNotAllowedError, UserRejectedSignatureError, WalletChainMismatchError, WalletRejectedError, isTokenOpsSdkError } from '../chunk-QBJ7O2B4.js';
|