@tokenops/sdk 1.0.0 → 1.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +102 -18
- package/dist/{chunk-HTOMTEA3.cjs → chunk-23F7JIK5.cjs} +2 -2
- package/dist/{chunk-ECT3NL2L.js → chunk-3PQ2RFPC.js} +3 -3
- package/dist/{chunk-OLDGMKW2.cjs → chunk-3ZRHDTEX.cjs} +33 -0
- package/dist/chunk-5KHIQG7Y.cjs +2180 -0
- package/dist/{chunk-T5LVV3KY.cjs → chunk-FPQBFIUW.cjs} +3 -3
- package/dist/{chunk-QIHZVLIK.js → chunk-FXCW7LVB.js} +1 -1
- package/dist/{chunk-K6MFFDBJ.cjs → chunk-G7G75C46.cjs} +6 -6
- package/dist/{chunk-72YGZEQE.js → chunk-IR5AK5U5.js} +6 -8
- package/dist/{chunk-CMRETRZO.js → chunk-ITQBDRWX.js} +1 -1
- package/dist/{chunk-ZHFLRKFY.js → chunk-JJ4R5QXF.js} +1 -1
- package/dist/{chunk-COPFW5Z4.js → chunk-M7V2EDPB.js} +30 -1
- package/dist/{chunk-UOG4PJL5.js → chunk-OQZAZIAS.js} +8 -10
- package/dist/{chunk-SUOG3BQS.cjs → chunk-OYLZEEHF.cjs} +1 -2
- package/dist/chunk-QE7ZONJ2.js +2171 -0
- package/dist/{chunk-62DF53UQ.cjs → chunk-SAGJIEQK.cjs} +7 -9
- package/dist/{chunk-JFR5J4FL.cjs → chunk-SEKC7H5Y.cjs} +8 -8
- package/dist/{chunk-6ECAHP5O.cjs → chunk-SYHXDHWX.cjs} +9 -11
- package/dist/{chunk-QCA7O2Q5.cjs → chunk-W7JHOK7G.cjs} +4 -4
- package/dist/{chunk-52TC6BF7.js → chunk-X56UVEXS.js} +1 -2
- package/dist/{chunk-HGXNRR25.js → chunk-XWDVPV42.js} +2 -2
- package/dist/core/addresses.d.ts +22 -0
- package/dist/core/errors.d.ts +1 -1
- package/dist/core/telemetry.d.ts +0 -3
- package/dist/fhe/operators.d.ts +1 -1
- package/dist/fhe-airdrop/advanced/factory-advanced.d.ts +3 -3
- package/dist/fhe-airdrop/advanced/index.cjs +5 -5
- package/dist/fhe-airdrop/advanced/index.d.cts +2 -2
- package/dist/fhe-airdrop/advanced/index.d.ts +2 -2
- package/dist/fhe-airdrop/advanced/index.js +3 -3
- package/dist/fhe-airdrop/advanced/react/index.cjs +8 -8
- package/dist/fhe-airdrop/advanced/react/index.d.cts +1 -1
- package/dist/fhe-airdrop/advanced/react/index.d.ts +1 -1
- package/dist/fhe-airdrop/advanced/react/index.js +4 -4
- package/dist/fhe-airdrop/factory.d.ts +8 -10
- package/dist/fhe-airdrop/index.cjs +9 -9
- package/dist/fhe-airdrop/index.js +2 -2
- package/dist/fhe-airdrop/react/index.cjs +69 -69
- package/dist/fhe-airdrop/react/index.js +4 -4
- package/dist/fhe-disperse/index.cjs +19 -19
- package/dist/fhe-disperse/index.js +2 -2
- package/dist/fhe-disperse/react/index.cjs +20 -20
- package/dist/fhe-disperse/react/index.js +3 -3
- package/dist/fhe-disperse/react/useSingletonWithdrawTokenFee.d.ts +2 -2
- package/dist/fhe-vesting/advanced/factory-advanced.d.ts +2 -2
- package/dist/fhe-vesting/advanced/index.cjs +5 -5
- package/dist/fhe-vesting/advanced/index.d.cts +2 -2
- package/dist/fhe-vesting/advanced/index.d.ts +2 -2
- package/dist/fhe-vesting/advanced/index.js +3 -3
- package/dist/fhe-vesting/advanced/react/index.cjs +8 -8
- package/dist/fhe-vesting/advanced/react/index.d.cts +1 -1
- package/dist/fhe-vesting/advanced/react/index.d.ts +1 -1
- package/dist/fhe-vesting/advanced/react/index.js +5 -5
- package/dist/fhe-vesting/factory.d.ts +6 -8
- package/dist/fhe-vesting/index.cjs +25 -25
- package/dist/fhe-vesting/index.js +3 -3
- package/dist/fhe-vesting/manager.d.ts +1 -2
- package/dist/fhe-vesting/react/index.cjs +126 -126
- package/dist/fhe-vesting/react/index.js +4 -4
- package/dist/fhe-vesting/react/useManagerWithdrawTokenFee.d.ts +1 -1
- package/dist/fhe-vesting/types.d.ts +0 -2
- package/dist/index.cjs +27 -11
- package/dist/index.js +1 -1
- package/dist/testnet-faucet/abis/confidential-test-token.d.ts +1039 -0
- package/dist/testnet-faucet/abis/index.d.ts +2 -0
- package/dist/testnet-faucet/abis/test-token.d.ts +253 -0
- package/dist/testnet-faucet/errors.d.ts +21 -0
- package/dist/testnet-faucet/faucet.d.ts +173 -0
- package/dist/testnet-faucet/index.cjs +208 -0
- package/dist/testnet-faucet/index.d.cts +8 -0
- package/dist/testnet-faucet/index.d.ts +8 -0
- package/dist/testnet-faucet/index.js +7 -0
- package/dist/testnet-faucet/react/_shared.d.ts +61 -0
- package/dist/testnet-faucet/react/index.cjs +379 -0
- package/dist/testnet-faucet/react/index.d.cts +38 -0
- package/dist/testnet-faucet/react/index.d.ts +38 -0
- package/dist/testnet-faucet/react/index.js +219 -0
- package/dist/testnet-faucet/react/useConfidentialBalance.d.ts +24 -0
- package/dist/testnet-faucet/react/useFaucetDecimals.d.ts +9 -0
- package/dist/testnet-faucet/react/useFaucetMetadata.d.ts +14 -0
- package/dist/testnet-faucet/react/useFaucetRate.d.ts +11 -0
- package/dist/testnet-faucet/react/useInferredTotalSupply.d.ts +11 -0
- package/dist/testnet-faucet/react/useMaxTotalSupply.d.ts +10 -0
- package/dist/testnet-faucet/react/useMintConfidential.d.ts +35 -0
- package/dist/testnet-faucet/react/useMintUnderlying.d.ts +31 -0
- package/dist/testnet-faucet/react/useUnderlyingBalance.d.ts +19 -0
- package/dist/testnet-faucet/react/useUnderlyingDecimals.d.ts +9 -0
- package/dist/testnet-faucet/react/useUnderlyingTokenAddress.d.ts +12 -0
- package/dist/testnet-faucet/types.d.ts +92 -0
- package/dist/testnet-faucet/validate.d.ts +44 -0
- package/package.json +77 -29
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chunkVDXVNZCO_cjs = require('./chunk-VDXVNZCO.cjs');
|
|
4
|
-
var
|
|
4
|
+
var chunk3ZRHDTEX_cjs = require('./chunk-3ZRHDTEX.cjs');
|
|
5
5
|
var chunkCQIPRNS7_cjs = require('./chunk-CQIPRNS7.cjs');
|
|
6
6
|
var chunkVJKZWYYJ_cjs = require('./chunk-VJKZWYYJ.cjs');
|
|
7
7
|
var chunk66IHPTOK_cjs = require('./chunk-66IHPTOK.cjs');
|
|
@@ -445,7 +445,7 @@ var ConfidentialVestingFactoryClient = class {
|
|
|
445
445
|
this.walletClient = config.walletClient;
|
|
446
446
|
const chainId = config.chainId ?? config.publicClient.chain?.id;
|
|
447
447
|
const addressOverride = config.address ? chunkCQIPRNS7_cjs.normaliseAddress(config.address) : void 0;
|
|
448
|
-
const resolved = addressOverride ?? (chainId === void 0 ? void 0 :
|
|
448
|
+
const resolved = addressOverride ?? (chainId === void 0 ? void 0 : chunk3ZRHDTEX_cjs.getFheVestingFactoryAddress(chainId));
|
|
449
449
|
if (!resolved) {
|
|
450
450
|
throw new chunk56UI7LUR_cjs.DeploymentAddressUnavailableError({
|
|
451
451
|
reason: chainId === void 0 ? "chain-id-missing" : "registry-not-deployed",
|
|
@@ -471,11 +471,10 @@ var ConfidentialVestingFactoryClient = class {
|
|
|
471
471
|
* Deploy a new `ConfidentialVestingManager` clone via the factory and return
|
|
472
472
|
* its address, parsed from the `ManagerCreated` event in the tx receipt.
|
|
473
473
|
*
|
|
474
|
-
* **This is the headline factory entry point.**
|
|
475
|
-
*
|
|
476
|
-
* the address is only knowable after the tx mines (the factory packs
|
|
474
|
+
* **This is the headline factory entry point.** It returns one rich-return
|
|
475
|
+
* shape: the address is only knowable after the tx mines (the factory packs
|
|
477
476
|
* `block.number` into the clone's immutable args), so a hash-only variant
|
|
478
|
-
*
|
|
477
|
+
* would force consumers to re-derive what the SDK already had to compute.
|
|
479
478
|
*
|
|
480
479
|
* Calls `createManagerWithOptions` when `splitEnabled` or `pausableEnabled`
|
|
481
480
|
* is provided; otherwise calls the simpler `createManager` entry point.
|
|
@@ -596,9 +595,8 @@ var ConfidentialVestingFactoryClient = class {
|
|
|
596
595
|
* Alias for {@link ConfidentialVestingFactoryClient.implementation} that matches
|
|
597
596
|
* the contract's storage field name (`_managerImplementation`).
|
|
598
597
|
*
|
|
599
|
-
*
|
|
600
|
-
*
|
|
601
|
-
* server devs reading the Solidity reach for `factory.managerImplementation()`
|
|
598
|
+
* Named for clarity: server devs reading the Solidity reach for
|
|
599
|
+
* `factory.managerImplementation()`
|
|
602
600
|
* via autocomplete (the contract storage slot name) and hit a TS2551. The
|
|
603
601
|
* canonical `implementation()` method is retained for backwards-compat and
|
|
604
602
|
* cross-factory uniformity (fhe-airdrop exposes the same shape).
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
3
|
+
var chunkOYLZEEHF_cjs = require('./chunk-OYLZEEHF.cjs');
|
|
4
|
+
var chunkSAGJIEQK_cjs = require('./chunk-SAGJIEQK.cjs');
|
|
5
|
+
var chunk3ZRHDTEX_cjs = require('./chunk-3ZRHDTEX.cjs');
|
|
6
6
|
var chunk56UI7LUR_cjs = require('./chunk-56UI7LUR.cjs');
|
|
7
7
|
var react = require('react');
|
|
8
8
|
var wagmi = require('wagmi');
|
|
@@ -25,7 +25,7 @@ function useHookFiredEvent(hookName, telemetry, hasWallet, chainId) {
|
|
|
25
25
|
function tryResolveFactoryAddress(override, chainId) {
|
|
26
26
|
if (override) return override;
|
|
27
27
|
if (chainId === void 0) return void 0;
|
|
28
|
-
return
|
|
28
|
+
return chunk3ZRHDTEX_cjs.getFheVestingFactoryAddress(chainId);
|
|
29
29
|
}
|
|
30
30
|
function useMemoFactoryClient(opts = {}) {
|
|
31
31
|
const publicClient = wagmi.usePublicClient({ chainId: opts.chainId });
|
|
@@ -38,7 +38,7 @@ function useMemoFactoryClient(opts = {}) {
|
|
|
38
38
|
const client = react.useMemo(() => {
|
|
39
39
|
if (!publicClient) return void 0;
|
|
40
40
|
if (!resolvedAddress) return void 0;
|
|
41
|
-
return
|
|
41
|
+
return chunkSAGJIEQK_cjs.createConfidentialVestingFactoryClient({
|
|
42
42
|
publicClient,
|
|
43
43
|
...walletClient ? { walletClient } : {},
|
|
44
44
|
address: resolvedAddress,
|
|
@@ -65,7 +65,7 @@ function computeFactoryResolutionError(override, chainId) {
|
|
|
65
65
|
clientLabel: "ConfidentialVestingFactoryClient"
|
|
66
66
|
});
|
|
67
67
|
}
|
|
68
|
-
const resolved =
|
|
68
|
+
const resolved = chunk3ZRHDTEX_cjs.getFheVestingFactoryAddress(chainId);
|
|
69
69
|
if (!resolved) {
|
|
70
70
|
return new chunk56UI7LUR_cjs.DeploymentAddressUnavailableError({
|
|
71
71
|
reason: "registry-not-deployed",
|
|
@@ -88,13 +88,13 @@ function useMemoManagerClient(opts) {
|
|
|
88
88
|
const client = react.useMemo(() => {
|
|
89
89
|
if (!publicClient) return void 0;
|
|
90
90
|
if (!opts.address) return void 0;
|
|
91
|
-
return
|
|
91
|
+
return chunkOYLZEEHF_cjs.createConfidentialVestingManagerClient({
|
|
92
92
|
publicClient,
|
|
93
93
|
...walletClient ? { walletClient } : {},
|
|
94
94
|
address: opts.address,
|
|
95
95
|
// Lazy — invoked per-encryption inside the headless client. Picks up
|
|
96
96
|
// whichever EncryptorSource the consumer last passed in.
|
|
97
|
-
encryptor: () =>
|
|
97
|
+
encryptor: () => chunkOYLZEEHF_cjs.resolveEncryptor(encryptorSourceRef.current),
|
|
98
98
|
...opts.aclAddress ? { aclAddress: opts.aclAddress } : {},
|
|
99
99
|
...telemetry ? { telemetry } : {}
|
|
100
100
|
});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chunkVDXVNZCO_cjs = require('./chunk-VDXVNZCO.cjs');
|
|
4
|
-
var
|
|
4
|
+
var chunk3ZRHDTEX_cjs = require('./chunk-3ZRHDTEX.cjs');
|
|
5
5
|
var chunkCQIPRNS7_cjs = require('./chunk-CQIPRNS7.cjs');
|
|
6
6
|
var chunkVJKZWYYJ_cjs = require('./chunk-VJKZWYYJ.cjs');
|
|
7
7
|
var chunk66IHPTOK_cjs = require('./chunk-66IHPTOK.cjs');
|
|
@@ -1053,7 +1053,7 @@ var ConfidentialAirdropFactoryClient = class {
|
|
|
1053
1053
|
this.encryptor = config.encryptor;
|
|
1054
1054
|
const chainId = config.chainId ?? config.publicClient.chain?.id;
|
|
1055
1055
|
const addressOverride = config.address ? chunkCQIPRNS7_cjs.normaliseAddress(config.address) : void 0;
|
|
1056
|
-
const resolved = addressOverride ?? (chainId === void 0 ? void 0 :
|
|
1056
|
+
const resolved = addressOverride ?? (chainId === void 0 ? void 0 : chunk3ZRHDTEX_cjs.getFheAirdropFactoryAddress(chainId));
|
|
1057
1057
|
if (!resolved) {
|
|
1058
1058
|
throw new chunk56UI7LUR_cjs.DeploymentAddressUnavailableError({
|
|
1059
1059
|
reason: chainId === void 0 ? "chain-id-missing" : "registry-not-deployed",
|
|
@@ -1079,11 +1079,10 @@ var ConfidentialAirdropFactoryClient = class {
|
|
|
1079
1079
|
* Deploy a new airdrop clone via the factory and return its address, parsed
|
|
1080
1080
|
* from the `ConfidentialAirdropCreated` event in the tx receipt.
|
|
1081
1081
|
*
|
|
1082
|
-
* **This is the headline factory entry point.**
|
|
1083
|
-
*
|
|
1084
|
-
*
|
|
1085
|
-
*
|
|
1086
|
-
* themselves.
|
|
1082
|
+
* **This is the headline factory entry point.** It returns one rich-return
|
|
1083
|
+
* shape: most consumers want the deployed address back, and the SDK already
|
|
1084
|
+
* waits for and parses the event, so there's no reason to make consumers do
|
|
1085
|
+
* it themselves.
|
|
1087
1086
|
*
|
|
1088
1087
|
* Internally: `writeContract` → {@link PublicClient.waitForTransactionReceipt} →
|
|
1089
1088
|
* `parseEventLogs({ eventName: "ConfidentialAirdropCreated" })`.
|
|
@@ -1121,7 +1120,7 @@ var ConfidentialAirdropFactoryClient = class {
|
|
|
1121
1120
|
*
|
|
1122
1121
|
* Symmetric with {@link ConfidentialAirdropFactoryClient.createConfidentialAirdrop}
|
|
1123
1122
|
* — both return `{ hash, airdrop }` parsed from the
|
|
1124
|
-
* `ConfidentialAirdropCreated` event
|
|
1123
|
+
* `ConfidentialAirdropCreated` event.
|
|
1125
1124
|
*
|
|
1126
1125
|
* @example
|
|
1127
1126
|
* const { hash, airdrop } = await factory.createAndFundConfidentialAirdrop({
|
|
@@ -1296,9 +1295,8 @@ var ConfidentialAirdropFactoryClient = class {
|
|
|
1296
1295
|
* Alias for {@link ConfidentialAirdropFactoryClient.implementation} that matches
|
|
1297
1296
|
* the contract's storage field name (`_airdropImplementation`).
|
|
1298
1297
|
*
|
|
1299
|
-
*
|
|
1300
|
-
*
|
|
1301
|
-
* backend-integrator-r14 minor). The airdrop factory has the same
|
|
1298
|
+
* Provided for parity with `fhe-vesting`'s `managerImplementation()` alias.
|
|
1299
|
+
* The airdrop factory has the same
|
|
1302
1300
|
* LibClone shape mirroring `_airdropImplementation` storage, so server
|
|
1303
1301
|
* devs reading the Solidity first reach for `factory.airdropImplementation()`
|
|
1304
1302
|
* via autocomplete and would otherwise hit a TS2551 on the SDK's
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkSAGJIEQK_cjs = require('./chunk-SAGJIEQK.cjs');
|
|
4
4
|
|
|
5
5
|
// src/fhe-vesting/advanced/factory-advanced.ts
|
|
6
|
-
var ConfidentialVestingFactoryAdvancedClient = class extends
|
|
6
|
+
var ConfidentialVestingFactoryAdvancedClient = class extends chunkSAGJIEQK_cjs.ConfidentialVestingFactoryClient {
|
|
7
7
|
/**
|
|
8
8
|
* Compute the deterministic CREATE2 clone address as the factory would have
|
|
9
9
|
* computed it at `args.blockNumber`.
|
|
@@ -20,7 +20,7 @@ var ConfidentialVestingFactoryAdvancedClient = class extends chunk62DF53UQ_cjs.C
|
|
|
20
20
|
if (hasOptions) {
|
|
21
21
|
return this.publicClient.readContract({
|
|
22
22
|
address: this.address,
|
|
23
|
-
abi:
|
|
23
|
+
abi: chunkSAGJIEQK_cjs.confidentialVestingFactoryAbi,
|
|
24
24
|
functionName: "predictManagerAddressWithOptions",
|
|
25
25
|
args: [
|
|
26
26
|
args.token,
|
|
@@ -34,7 +34,7 @@ var ConfidentialVestingFactoryAdvancedClient = class extends chunk62DF53UQ_cjs.C
|
|
|
34
34
|
}
|
|
35
35
|
return this.publicClient.readContract({
|
|
36
36
|
address: this.address,
|
|
37
|
-
abi:
|
|
37
|
+
abi: chunkSAGJIEQK_cjs.confidentialVestingFactoryAbi,
|
|
38
38
|
functionName: "predictManagerAddress",
|
|
39
39
|
args: [args.token, args.userSalt, args.deployer],
|
|
40
40
|
blockNumber: args.blockNumber
|
|
@@ -1398,8 +1398,7 @@ var ConfidentialVestingManagerClient = class {
|
|
|
1398
1398
|
* Accepts `bigint | number` for `start` / `end` for ergonomics on read paths
|
|
1399
1399
|
* — CI scripts typically derive these from `Number(process.env.X)` and
|
|
1400
1400
|
* forcing bigint coercion at the call site is a pure paper cut. The
|
|
1401
|
-
* underlying contract reads through unchanged (viem coerces).
|
|
1402
|
-
* devops-integrator MINOR-4; R25 close.
|
|
1401
|
+
* underlying contract reads through unchanged (viem coerces).
|
|
1403
1402
|
*/
|
|
1404
1403
|
async getAllRecipientsSliced(start, end) {
|
|
1405
1404
|
return this.#read("getAllRecipientsSliced", [BigInt(start), BigInt(end)]);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createConfidentialAirdropClient } from './chunk-XXXDQSHE.js';
|
|
2
|
-
import { createConfidentialAirdropFactoryClient, resolveEncryptor } from './chunk-
|
|
3
|
-
import { getFheAirdropFactoryAddress } from './chunk-
|
|
2
|
+
import { createConfidentialAirdropFactoryClient, resolveEncryptor } from './chunk-OQZAZIAS.js';
|
|
3
|
+
import { getFheAirdropFactoryAddress } from './chunk-M7V2EDPB.js';
|
|
4
4
|
import { DeploymentAddressUnavailableError } from './chunk-IVE3QEGD.js';
|
|
5
5
|
import { useRef, useMemo } from 'react';
|
|
6
6
|
import { usePublicClient, useWalletClient } from 'wagmi';
|
package/dist/core/addresses.d.ts
CHANGED
|
@@ -24,6 +24,14 @@ export declare const DEPLOYED_ADDRESSES: {
|
|
|
24
24
|
readonly 11155111: "0x710dD9885Cc9986EfD234E7719483147a6d8DBb4";
|
|
25
25
|
};
|
|
26
26
|
};
|
|
27
|
+
readonly testnetFaucet: {
|
|
28
|
+
readonly testToken: {
|
|
29
|
+
readonly 11155111: "0x37a057Fa8C201a7bf8caF32dfa9A0878f577D92b";
|
|
30
|
+
};
|
|
31
|
+
readonly confidentialTestToken: {
|
|
32
|
+
readonly 11155111: "0x258F9D60dc023870e4E3109c894D834D5377361a";
|
|
33
|
+
};
|
|
34
|
+
};
|
|
27
35
|
};
|
|
28
36
|
export type DeployedAddresses = typeof DEPLOYED_ADDRESSES;
|
|
29
37
|
export type ProductKey = keyof DeployedAddresses;
|
|
@@ -41,6 +49,20 @@ export declare function getFheAirdropFactoryAddress(chainId: number): Address |
|
|
|
41
49
|
export declare function requireFheAirdropFactoryAddress(chainId: number): Address;
|
|
42
50
|
export declare function getFheDisperseSingletonAddress(chainId: number): Address | undefined;
|
|
43
51
|
export declare function requireFheDisperseSingletonAddress(chainId: number): Address;
|
|
52
|
+
/**
|
|
53
|
+
* Address of the standard `TokenopsTestToken` (TTT) — the 18-decimal ERC-20
|
|
54
|
+
* with an open `mint` that backs the confidential faucet. Testnet-only;
|
|
55
|
+
* returns `undefined` on chains without a deployment (e.g. mainnet).
|
|
56
|
+
*/
|
|
57
|
+
export declare function getTestTokenAddress(chainId: number): Address | undefined;
|
|
58
|
+
export declare function requireTestTokenAddress(chainId: number): Address;
|
|
59
|
+
/**
|
|
60
|
+
* Address of the `ConfidentialTokenopsTestToken` (CTTT) UUPS proxy — the
|
|
61
|
+
* 6-decimal ERC-7984 confidential wrapper with an open backed faucet `mint`.
|
|
62
|
+
* Testnet-only; returns `undefined` on chains without a deployment.
|
|
63
|
+
*/
|
|
64
|
+
export declare function getConfidentialTestTokenAddress(chainId: number): Address | undefined;
|
|
65
|
+
export declare function requireConfidentialTestTokenAddress(chainId: number): Address;
|
|
44
66
|
/**
|
|
45
67
|
* Chains with a registry entry for `product`, including ones explicitly
|
|
46
68
|
* marked `null` (known chain, not yet deployed). Useful when the consumer
|
package/dist/core/errors.d.ts
CHANGED
|
@@ -12,7 +12,7 @@ declare const TOKENOPS_SDK_ERROR_BRAND: unique symbol;
|
|
|
12
12
|
* on `error.code` in `onError` handlers and UI surfaces. Messages stay
|
|
13
13
|
* human-readable and may evolve between versions.
|
|
14
14
|
*/
|
|
15
|
-
export type TokenOpsSdkErrorCode = "TOKENOPS_UNSUPPORTED_CHAIN" | "TOKENOPS_DEPLOYMENT_ADDRESS_UNAVAILABLE" | "TOKENOPS_MISSING_PUBLIC_CLIENT" | "TOKENOPS_MISSING_WALLET_CLIENT" | "TOKENOPS_MISSING_ACCOUNT" | "TOKENOPS_MISSING_ENCRYPTOR" | "TOKENOPS_MISSING_CLIENT" | "TOKENOPS_INVALID_ARGUMENT" | "TOKENOPS_RECEIPT_EVENT_NOT_FOUND" | "TOKENOPS_RECEIPT_EVENT_AMBIGUOUS" | "TOKENOPS_CONTRACT_REVERT" | "TOKENOPS_PAUSED" | "TOKENOPS_ACCESS_DENIED" | "TOKENOPS_INSUFFICIENT_FEE" | "TOKENOPS_INSUFFICIENT_BALANCE" | "TOKENOPS_BATCH_TOO_LARGE" | "TOKENOPS_FEATURE_DISABLED" | "TOKENOPS_TRANSFER_FAILED" | "TOKENOPS_FHE_HANDLE_NOT_ALLOWED" | "TOKENOPS_ALREADY_INITIALIZED" | "TOKENOPS_REENTRANCY" | "TOKENOPS_INVALID_SIGNATURE" | "TOKENOPS_WALLET_REJECTED" | "TOKENOPS_WALLET_CHAIN_MISMATCH" | "TOKENOPS_NETWORK_ERROR" | "TOKENOPS_INSUFFICIENT_GAS_FUNDS" | "TOKENOPS_UNKNOWN_WRITE_FAILURE" | "TOKENOPS_USER_REJECTED" | "TOKENOPS_SIGNING_FAILED" | "TOKENOPS_RELAYER_UNREACHABLE" | "TOKENOPS_ENCRYPTION_FAILED" | "TOKENOPS_DECRYPTION_FAILED" | "TOKENOPS_USER_DECRYPT_NOT_ALLOWED" | "TOKENOPS_VESTING_NOT_FOUND" | "TOKENOPS_NOT_RECIPIENT" | "TOKENOPS_CLAIM_LOCKED" | "TOKENOPS_VESTING_REVOKED" | "TOKENOPS_NOT_REVOCABLE" | "TOKENOPS_VESTING_EXPIRED" | "TOKENOPS_TRANSFER_ALREADY_PENDING" | "TOKENOPS_NO_PENDING_TRANSFER" | "TOKENOPS_NOT_PENDING_RECIPIENT" | "TOKENOPS_TRANSFER_EXPIRED" | "TOKENOPS_ALREADY_CLAIMED" | "TOKENOPS_CLAIM_NOT_STARTED" | "TOKENOPS_CLAIM_WINDOW_CLOSED" | "TOKENOPS_NOT_REGISTERED" | "TOKENOPS_ALREADY_REGISTERED";
|
|
15
|
+
export type TokenOpsSdkErrorCode = "TOKENOPS_UNSUPPORTED_CHAIN" | "TOKENOPS_DEPLOYMENT_ADDRESS_UNAVAILABLE" | "TOKENOPS_MISSING_PUBLIC_CLIENT" | "TOKENOPS_MISSING_WALLET_CLIENT" | "TOKENOPS_MISSING_ACCOUNT" | "TOKENOPS_MISSING_ENCRYPTOR" | "TOKENOPS_MISSING_CLIENT" | "TOKENOPS_INVALID_ARGUMENT" | "TOKENOPS_RECEIPT_EVENT_NOT_FOUND" | "TOKENOPS_RECEIPT_EVENT_AMBIGUOUS" | "TOKENOPS_CONTRACT_REVERT" | "TOKENOPS_PAUSED" | "TOKENOPS_ACCESS_DENIED" | "TOKENOPS_INSUFFICIENT_FEE" | "TOKENOPS_INSUFFICIENT_BALANCE" | "TOKENOPS_BATCH_TOO_LARGE" | "TOKENOPS_FEATURE_DISABLED" | "TOKENOPS_TRANSFER_FAILED" | "TOKENOPS_FHE_HANDLE_NOT_ALLOWED" | "TOKENOPS_ALREADY_INITIALIZED" | "TOKENOPS_REENTRANCY" | "TOKENOPS_INVALID_SIGNATURE" | "TOKENOPS_WALLET_REJECTED" | "TOKENOPS_WALLET_CHAIN_MISMATCH" | "TOKENOPS_NETWORK_ERROR" | "TOKENOPS_INSUFFICIENT_GAS_FUNDS" | "TOKENOPS_UNKNOWN_WRITE_FAILURE" | "TOKENOPS_USER_REJECTED" | "TOKENOPS_SIGNING_FAILED" | "TOKENOPS_RELAYER_UNREACHABLE" | "TOKENOPS_ENCRYPTION_FAILED" | "TOKENOPS_DECRYPTION_FAILED" | "TOKENOPS_USER_DECRYPT_NOT_ALLOWED" | "TOKENOPS_VESTING_NOT_FOUND" | "TOKENOPS_NOT_RECIPIENT" | "TOKENOPS_CLAIM_LOCKED" | "TOKENOPS_VESTING_REVOKED" | "TOKENOPS_NOT_REVOCABLE" | "TOKENOPS_VESTING_EXPIRED" | "TOKENOPS_TRANSFER_ALREADY_PENDING" | "TOKENOPS_NO_PENDING_TRANSFER" | "TOKENOPS_NOT_PENDING_RECIPIENT" | "TOKENOPS_TRANSFER_EXPIRED" | "TOKENOPS_ALREADY_CLAIMED" | "TOKENOPS_CLAIM_NOT_STARTED" | "TOKENOPS_CLAIM_WINDOW_CLOSED" | "TOKENOPS_NOT_REGISTERED" | "TOKENOPS_ALREADY_REGISTERED" | "TOKENOPS_FAUCET_SUPPLY_EXHAUSTED";
|
|
16
16
|
export interface TokenOpsSdkErrorInit {
|
|
17
17
|
code: TokenOpsSdkErrorCode;
|
|
18
18
|
cause?: unknown;
|
package/dist/core/telemetry.d.ts
CHANGED
|
@@ -29,9 +29,6 @@ export interface SdkTelemetry {
|
|
|
29
29
|
* Adapters that DO implement it should return a NEW telemetry instance —
|
|
30
30
|
* mutating `this` would leak tags across unrelated consumers sharing the
|
|
31
31
|
* same SDK client.
|
|
32
|
-
*
|
|
33
|
-
* Added per backend-integrator-r14 nit-positive friction
|
|
34
|
-
* (`docs/feedback/resolved/2026-05-24-backend-integrator-r14-minor-sdktelemetry-shape-matches-node-logger-pattern-cleanly.md`).
|
|
35
32
|
*/
|
|
36
33
|
scope?(tags: SdkTelemetryTags): SdkTelemetry;
|
|
37
34
|
}
|
package/dist/fhe/operators.d.ts
CHANGED
|
@@ -166,7 +166,7 @@ export interface RevokeOperatorArgs {
|
|
|
166
166
|
* {@link ERC7984_OPERATOR_MAX_DEADLINE} (uint48 max ≈ year 8.9e+14) — useful
|
|
167
167
|
* for local-chain dev loops, hostile for production deployments where a
|
|
168
168
|
* stale manager clone (replaced by a new one) would otherwise keep operator
|
|
169
|
-
* rights forever.
|
|
169
|
+
* rights forever. The original `setOperator` shipped
|
|
170
170
|
* without a revoke sibling, forcing consumers to hand-roll
|
|
171
171
|
* `walletClient.writeContract({ ..., args: [spender, 0] })`.
|
|
172
172
|
*
|
|
@@ -4,9 +4,9 @@ import { ConfidentialAirdropFactoryClient, type ConfidentialAirdropFactoryClient
|
|
|
4
4
|
* Advanced extension of {@link ConfidentialAirdropFactoryClient} that re-exposes
|
|
5
5
|
* the CREATE2 address prediction read.
|
|
6
6
|
*
|
|
7
|
-
* **Why this is "advanced" surface.**
|
|
8
|
-
*
|
|
9
|
-
*
|
|
7
|
+
* **Why this is "advanced" surface.** Most consumers want one call back —
|
|
8
|
+
* `createConfidentialAirdrop` (rich-return, `{ hash, airdrop }`). The factory
|
|
9
|
+
* still emits
|
|
10
10
|
* `ConfidentialAirdropCreated`, the SDK still parses it, so consumers never
|
|
11
11
|
* need to ask "what address will this deploy to before mining?" Hoisting
|
|
12
12
|
* `predictAirdropAddress` onto the headline client surface gave consumers a
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../../chunk-
|
|
3
|
+
var chunkFPQBFIUW_cjs = require('../../chunk-FPQBFIUW.cjs');
|
|
4
|
+
require('../../chunk-SYHXDHWX.cjs');
|
|
5
5
|
require('../../chunk-VDXVNZCO.cjs');
|
|
6
|
-
require('../../chunk-
|
|
6
|
+
require('../../chunk-3ZRHDTEX.cjs');
|
|
7
7
|
require('../../chunk-CQIPRNS7.cjs');
|
|
8
8
|
require('../../chunk-VJKZWYYJ.cjs');
|
|
9
9
|
require('../../chunk-66IHPTOK.cjs');
|
|
@@ -13,9 +13,9 @@ require('../../chunk-56UI7LUR.cjs');
|
|
|
13
13
|
|
|
14
14
|
Object.defineProperty(exports, "ConfidentialAirdropFactoryAdvancedClient", {
|
|
15
15
|
enumerable: true,
|
|
16
|
-
get: function () { return
|
|
16
|
+
get: function () { return chunkFPQBFIUW_cjs.ConfidentialAirdropFactoryAdvancedClient; }
|
|
17
17
|
});
|
|
18
18
|
Object.defineProperty(exports, "createConfidentialAirdropFactoryAdvancedClient", {
|
|
19
19
|
enumerable: true,
|
|
20
|
-
get: function () { return
|
|
20
|
+
get: function () { return chunkFPQBFIUW_cjs.createConfidentialAirdropFactoryAdvancedClient; }
|
|
21
21
|
});
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Advanced FHE-airdrop primitives — power-user surface kept off the headline
|
|
3
|
-
* client to keep the
|
|
3
|
+
* client to keep the common path lean.
|
|
4
4
|
*
|
|
5
5
|
* Re-exports the {@link ConfidentialAirdropFactoryAdvancedClient} subclass,
|
|
6
6
|
* which extends the headline factory client with `predictAirdropAddress`. Use
|
|
7
7
|
* this subpath when you genuinely need to compute a clone address before
|
|
8
8
|
* deploying — historical recovery, deterministic same-tx flows. For the
|
|
9
9
|
* common "deploy and learn the address" case, the headline factory's
|
|
10
|
-
* `createConfidentialAirdrop` returns `{ hash, airdrop }` directly
|
|
10
|
+
* `createConfidentialAirdrop` returns `{ hash, airdrop }` directly.
|
|
11
11
|
*/
|
|
12
12
|
export { ConfidentialAirdropFactoryAdvancedClient, createConfidentialAirdropFactoryAdvancedClient, } from "./factory-advanced.js";
|
|
13
13
|
export type { PredictAirdropArgs } from "../factory.js";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Advanced FHE-airdrop primitives — power-user surface kept off the headline
|
|
3
|
-
* client to keep the
|
|
3
|
+
* client to keep the common path lean.
|
|
4
4
|
*
|
|
5
5
|
* Re-exports the {@link ConfidentialAirdropFactoryAdvancedClient} subclass,
|
|
6
6
|
* which extends the headline factory client with `predictAirdropAddress`. Use
|
|
7
7
|
* this subpath when you genuinely need to compute a clone address before
|
|
8
8
|
* deploying — historical recovery, deterministic same-tx flows. For the
|
|
9
9
|
* common "deploy and learn the address" case, the headline factory's
|
|
10
|
-
* `createConfidentialAirdrop` returns `{ hash, airdrop }` directly
|
|
10
|
+
* `createConfidentialAirdrop` returns `{ hash, airdrop }` directly.
|
|
11
11
|
*/
|
|
12
12
|
export { ConfidentialAirdropFactoryAdvancedClient, createConfidentialAirdropFactoryAdvancedClient, } from "./factory-advanced.js";
|
|
13
13
|
export type { PredictAirdropArgs } from "../factory.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { ConfidentialAirdropFactoryAdvancedClient, createConfidentialAirdropFactoryAdvancedClient } from '../../chunk-
|
|
2
|
-
import '../../chunk-
|
|
1
|
+
export { ConfidentialAirdropFactoryAdvancedClient, createConfidentialAirdropFactoryAdvancedClient } from '../../chunk-JJ4R5QXF.js';
|
|
2
|
+
import '../../chunk-OQZAZIAS.js';
|
|
3
3
|
import '../../chunk-JFLEEXKP.js';
|
|
4
|
-
import '../../chunk-
|
|
4
|
+
import '../../chunk-M7V2EDPB.js';
|
|
5
5
|
import '../../chunk-BE2AIZ3K.js';
|
|
6
6
|
import '../../chunk-Q2GP5UDC.js';
|
|
7
7
|
import '../../chunk-KWFFIJYX.js';
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkG7G75C46_cjs = require('../../../chunk-G7G75C46.cjs');
|
|
4
4
|
require('../../../chunk-5SA2HF2W.cjs');
|
|
5
|
-
var
|
|
6
|
-
var
|
|
5
|
+
var chunkFPQBFIUW_cjs = require('../../../chunk-FPQBFIUW.cjs');
|
|
6
|
+
var chunkSYHXDHWX_cjs = require('../../../chunk-SYHXDHWX.cjs');
|
|
7
7
|
require('../../../chunk-Q7ARQSUH.cjs');
|
|
8
8
|
require('../../../chunk-VDXVNZCO.cjs');
|
|
9
|
-
var
|
|
9
|
+
var chunk3ZRHDTEX_cjs = require('../../../chunk-3ZRHDTEX.cjs');
|
|
10
10
|
require('../../../chunk-CQIPRNS7.cjs');
|
|
11
11
|
require('../../../chunk-VJKZWYYJ.cjs');
|
|
12
12
|
require('../../../chunk-66IHPTOK.cjs');
|
|
@@ -23,22 +23,22 @@ function usePredictAirdropAddress(args = {}) {
|
|
|
23
23
|
...chainId !== void 0 ? { chainId } : {}
|
|
24
24
|
});
|
|
25
25
|
const resolvedChainId = chainId ?? resolvedPublicClient?.chain?.id;
|
|
26
|
-
const resolvedAddress = address ?? (resolvedChainId === void 0 ? void 0 :
|
|
26
|
+
const resolvedAddress = address ?? (resolvedChainId === void 0 ? void 0 : chunk3ZRHDTEX_cjs.DEPLOYED_ADDRESSES.fheAirdrop?.confidentialAirdropFactory?.[resolvedChainId] ?? void 0);
|
|
27
27
|
const encryptorSourceRef = react.useRef(encryptor);
|
|
28
28
|
encryptorSourceRef.current = encryptor;
|
|
29
29
|
const client = react.useMemo(() => {
|
|
30
30
|
if (!resolvedPublicClient) return void 0;
|
|
31
31
|
if (!resolvedAddress) return void 0;
|
|
32
|
-
return
|
|
32
|
+
return chunkFPQBFIUW_cjs.createConfidentialAirdropFactoryAdvancedClient({
|
|
33
33
|
publicClient: resolvedPublicClient,
|
|
34
34
|
...walletClient ? { walletClient } : {},
|
|
35
35
|
address: resolvedAddress,
|
|
36
36
|
...resolvedChainId !== void 0 ? { chainId: resolvedChainId } : {},
|
|
37
|
-
encryptor: () =>
|
|
37
|
+
encryptor: () => chunkSYHXDHWX_cjs.resolveEncryptor(encryptorSourceRef.current)
|
|
38
38
|
});
|
|
39
39
|
}, [resolvedPublicClient, walletClient, resolvedAddress, resolvedChainId]);
|
|
40
40
|
return reactQuery.useQuery({
|
|
41
|
-
queryKey:
|
|
41
|
+
queryKey: chunkG7G75C46_cjs.buildQueryKey(
|
|
42
42
|
"factory:predictAirdropAddress",
|
|
43
43
|
resolvedChainId,
|
|
44
44
|
resolvedAddress,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* React hooks for `@tokenops/sdk/fhe-airdrop/advanced`. The headline React
|
|
3
|
-
* subpath stays lean; pre-mine address prediction lives here
|
|
3
|
+
* subpath stays lean; pre-mine address prediction lives here.
|
|
4
4
|
*/
|
|
5
5
|
export { usePredictAirdropAddress, type UsePredictAirdropAddressArgs, } from "./usePredictAirdropAddress.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* React hooks for `@tokenops/sdk/fhe-airdrop/advanced`. The headline React
|
|
3
|
-
* subpath stays lean; pre-mine address prediction lives here
|
|
3
|
+
* subpath stays lean; pre-mine address prediction lives here.
|
|
4
4
|
*/
|
|
5
5
|
export { usePredictAirdropAddress, type UsePredictAirdropAddressArgs, } from "./usePredictAirdropAddress.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { buildQueryKey } from '../../../chunk-
|
|
1
|
+
import { buildQueryKey } from '../../../chunk-XWDVPV42.js';
|
|
2
2
|
import '../../../chunk-XXXDQSHE.js';
|
|
3
|
-
import { createConfidentialAirdropFactoryAdvancedClient } from '../../../chunk-
|
|
4
|
-
import { resolveEncryptor } from '../../../chunk-
|
|
3
|
+
import { createConfidentialAirdropFactoryAdvancedClient } from '../../../chunk-JJ4R5QXF.js';
|
|
4
|
+
import { resolveEncryptor } from '../../../chunk-OQZAZIAS.js';
|
|
5
5
|
import '../../../chunk-FYQ2UW4T.js';
|
|
6
6
|
import '../../../chunk-JFLEEXKP.js';
|
|
7
|
-
import { DEPLOYED_ADDRESSES } from '../../../chunk-
|
|
7
|
+
import { DEPLOYED_ADDRESSES } from '../../../chunk-M7V2EDPB.js';
|
|
8
8
|
import '../../../chunk-BE2AIZ3K.js';
|
|
9
9
|
import '../../../chunk-Q2GP5UDC.js';
|
|
10
10
|
import '../../../chunk-KWFFIJYX.js';
|
|
@@ -106,7 +106,7 @@ export type FundAirdropArgs = (FundAirdropArgsCommon & {
|
|
|
106
106
|
* and {@link ConfidentialAirdropFactoryClient.createAndFundConfidentialAirdrop}.
|
|
107
107
|
*
|
|
108
108
|
* Branded `hash: TxHash` and `airdrop: Address` so consumers can't accidentally
|
|
109
|
-
* swap them at the destructure site
|
|
109
|
+
* swap them at the destructure site.
|
|
110
110
|
*/
|
|
111
111
|
export interface CreateAirdropResult {
|
|
112
112
|
/** Tx hash that deployed the clone. */
|
|
@@ -146,11 +146,10 @@ export declare class ConfidentialAirdropFactoryClient {
|
|
|
146
146
|
* Deploy a new airdrop clone via the factory and return its address, parsed
|
|
147
147
|
* from the `ConfidentialAirdropCreated` event in the tx receipt.
|
|
148
148
|
*
|
|
149
|
-
* **This is the headline factory entry point.**
|
|
150
|
-
*
|
|
151
|
-
*
|
|
152
|
-
*
|
|
153
|
-
* themselves.
|
|
149
|
+
* **This is the headline factory entry point.** It returns one rich-return
|
|
150
|
+
* shape: most consumers want the deployed address back, and the SDK already
|
|
151
|
+
* waits for and parses the event, so there's no reason to make consumers do
|
|
152
|
+
* it themselves.
|
|
154
153
|
*
|
|
155
154
|
* Internally: `writeContract` → {@link PublicClient.waitForTransactionReceipt} →
|
|
156
155
|
* `parseEventLogs({ eventName: "ConfidentialAirdropCreated" })`.
|
|
@@ -175,7 +174,7 @@ export declare class ConfidentialAirdropFactoryClient {
|
|
|
175
174
|
*
|
|
176
175
|
* Symmetric with {@link ConfidentialAirdropFactoryClient.createConfidentialAirdrop}
|
|
177
176
|
* — both return `{ hash, airdrop }` parsed from the
|
|
178
|
-
* `ConfidentialAirdropCreated` event
|
|
177
|
+
* `ConfidentialAirdropCreated` event.
|
|
179
178
|
*
|
|
180
179
|
* @example
|
|
181
180
|
* const { hash, airdrop } = await factory.createAndFundConfidentialAirdrop({
|
|
@@ -243,9 +242,8 @@ export declare class ConfidentialAirdropFactoryClient {
|
|
|
243
242
|
* Alias for {@link ConfidentialAirdropFactoryClient.implementation} that matches
|
|
244
243
|
* the contract's storage field name (`_airdropImplementation`).
|
|
245
244
|
*
|
|
246
|
-
*
|
|
247
|
-
*
|
|
248
|
-
* backend-integrator-r14 minor). The airdrop factory has the same
|
|
245
|
+
* Provided for parity with `fhe-vesting`'s `managerImplementation()` alias.
|
|
246
|
+
* The airdrop factory has the same
|
|
249
247
|
* LibClone shape mirroring `_airdropImplementation` storage, so server
|
|
250
248
|
* devs reading the Solidity first reach for `factory.airdropImplementation()`
|
|
251
249
|
* via autocomplete and would otherwise hit a TS2551 on the SDK's
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chunk5SA2HF2W_cjs = require('../chunk-5SA2HF2W.cjs');
|
|
4
|
-
var
|
|
4
|
+
var chunkSYHXDHWX_cjs = require('../chunk-SYHXDHWX.cjs');
|
|
5
5
|
var chunkFWHYQZ5E_cjs = require('../chunk-FWHYQZ5E.cjs');
|
|
6
6
|
require('../chunk-Q7ARQSUH.cjs');
|
|
7
7
|
require('../chunk-VDXVNZCO.cjs');
|
|
8
|
-
require('../chunk-
|
|
8
|
+
require('../chunk-3ZRHDTEX.cjs');
|
|
9
9
|
require('../chunk-CQIPRNS7.cjs');
|
|
10
10
|
require('../chunk-VJKZWYYJ.cjs');
|
|
11
11
|
var chunk66IHPTOK_cjs = require('../chunk-66IHPTOK.cjs');
|
|
@@ -39,31 +39,31 @@ Object.defineProperty(exports, "createConfidentialAirdropClient", {
|
|
|
39
39
|
});
|
|
40
40
|
Object.defineProperty(exports, "ConfidentialAirdropFactoryClient", {
|
|
41
41
|
enumerable: true,
|
|
42
|
-
get: function () { return
|
|
42
|
+
get: function () { return chunkSYHXDHWX_cjs.ConfidentialAirdropFactoryClient; }
|
|
43
43
|
});
|
|
44
44
|
Object.defineProperty(exports, "confidentialAirdropFactoryAbi", {
|
|
45
45
|
enumerable: true,
|
|
46
|
-
get: function () { return
|
|
46
|
+
get: function () { return chunkSYHXDHWX_cjs.confidentialAirdropFactoryAbi; }
|
|
47
47
|
});
|
|
48
48
|
Object.defineProperty(exports, "createConfidentialAirdropFactoryClient", {
|
|
49
49
|
enumerable: true,
|
|
50
|
-
get: function () { return
|
|
50
|
+
get: function () { return chunkSYHXDHWX_cjs.createConfidentialAirdropFactoryClient; }
|
|
51
51
|
});
|
|
52
52
|
Object.defineProperty(exports, "encryptUint64", {
|
|
53
53
|
enumerable: true,
|
|
54
|
-
get: function () { return
|
|
54
|
+
get: function () { return chunkSYHXDHWX_cjs.encryptUint64; }
|
|
55
55
|
});
|
|
56
56
|
Object.defineProperty(exports, "encryptUint64Batch", {
|
|
57
57
|
enumerable: true,
|
|
58
|
-
get: function () { return
|
|
58
|
+
get: function () { return chunkSYHXDHWX_cjs.encryptUint64Batch; }
|
|
59
59
|
});
|
|
60
60
|
Object.defineProperty(exports, "resolveEncryptor", {
|
|
61
61
|
enumerable: true,
|
|
62
|
-
get: function () { return
|
|
62
|
+
get: function () { return chunkSYHXDHWX_cjs.resolveEncryptor; }
|
|
63
63
|
});
|
|
64
64
|
Object.defineProperty(exports, "signClaimAuthorization", {
|
|
65
65
|
enumerable: true,
|
|
66
|
-
get: function () { return
|
|
66
|
+
get: function () { return chunkSYHXDHWX_cjs.signClaimAuthorization; }
|
|
67
67
|
});
|
|
68
68
|
Object.defineProperty(exports, "erc7984OperatorAbi", {
|
|
69
69
|
enumerable: true,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
export { AlreadyClaimedError, ClaimNotStartedError, ClaimWindowClosedError, ConfidentialAirdropClient, confidentialAirdropCloneableAbi, createConfidentialAirdropClient } from '../chunk-XXXDQSHE.js';
|
|
2
|
-
export { ConfidentialAirdropFactoryClient, confidentialAirdropFactoryAbi, createConfidentialAirdropFactoryClient, encryptUint64, encryptUint64Batch, resolveEncryptor, signClaimAuthorization } from '../chunk-
|
|
2
|
+
export { ConfidentialAirdropFactoryClient, confidentialAirdropFactoryAbi, createConfidentialAirdropFactoryClient, encryptUint64, encryptUint64Batch, resolveEncryptor, signClaimAuthorization } from '../chunk-OQZAZIAS.js';
|
|
3
3
|
export { erc7984OperatorAbi } from '../chunk-7VELUOMI.js';
|
|
4
4
|
import '../chunk-FYQ2UW4T.js';
|
|
5
5
|
import '../chunk-JFLEEXKP.js';
|
|
6
|
-
import '../chunk-
|
|
6
|
+
import '../chunk-M7V2EDPB.js';
|
|
7
7
|
import '../chunk-BE2AIZ3K.js';
|
|
8
8
|
import '../chunk-Q2GP5UDC.js';
|
|
9
9
|
export { asAirdropId, asEncryptedHandle } from '../chunk-KWFFIJYX.js';
|