@tokenops/sdk 2.0.0-alpha.2 → 2.0.0-alpha.3
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 +39 -3
- package/README.md +11 -5
- package/dist/{chunk-PZZK3O3S.cjs → chunk-4AWQJQXY.cjs} +391 -43
- package/dist/{chunk-SPLNGUFF.js → chunk-4IB4IY5Y.js} +1 -1
- package/dist/{chunk-A4DCEE33.js → chunk-6HCT4QIX.js} +11 -10
- package/dist/{chunk-MM5BV5CS.cjs → chunk-6XOAYDC6.cjs} +4 -4
- package/dist/{chunk-FEDX7B6T.cjs → chunk-AHU2HMNE.cjs} +3 -3
- package/dist/{chunk-IGO5XSPS.js → chunk-BPIVVCSQ.js} +2 -2
- package/dist/{chunk-X7WBPCEU.js → chunk-BXX5TETM.js} +375 -27
- package/dist/{chunk-GADGBQJO.js → chunk-GCJFAY4X.js} +2 -2
- package/dist/{chunk-IUKKNJ2R.cjs → chunk-GKYZQJGP.cjs} +7 -7
- package/dist/{chunk-3YHBO2DL.cjs → chunk-IEKTGJ4J.cjs} +2 -2
- package/dist/{chunk-UHHMVBLU.cjs → chunk-JVNJSDQ4.cjs} +2 -2
- package/dist/{chunk-VW356KR3.js → chunk-LEYYG4RF.js} +126 -3
- package/dist/{chunk-PYYSB5ZN.js → chunk-NGU4JYIR.js} +1 -1
- package/dist/{chunk-FT5H2Q7Y.cjs → chunk-PG3WXT3K.cjs} +11 -10
- package/dist/{chunk-44YJPMQC.js → chunk-PK6Q6J5F.js} +1 -1
- package/dist/{chunk-EBLBPUPI.cjs → chunk-TND5NDV7.cjs} +18 -10
- package/dist/{chunk-EYDA6Q6C.js → chunk-U3TBQRT7.js} +10 -2
- package/dist/{chunk-WJMEBBU7.js → chunk-WRWRA4TN.js} +1 -1
- package/dist/{chunk-FHWSBGWE.cjs → chunk-YABHXJNH.cjs} +5 -5
- package/dist/{chunk-AREQJHKA.cjs → chunk-YTIYTV4K.cjs} +129 -2
- package/dist/core/addresses.d.ts +4 -4
- package/dist/core/errors.d.ts +1 -1
- package/dist/fhe-airdrop/abis/airdrop-base.d.ts +19 -0
- package/dist/fhe-airdrop/abis/ecdsa.d.ts +19 -0
- package/dist/fhe-airdrop/abis/factory.d.ts +113 -0
- package/dist/fhe-airdrop/abis/merkle.d.ts +19 -0
- 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 +110 -80
- package/dist/fhe-airdrop/advanced/react/index.d.cts +1 -0
- package/dist/fhe-airdrop/advanced/react/index.d.ts +1 -0
- package/dist/fhe-airdrop/advanced/react/index.js +34 -5
- package/dist/fhe-airdrop/advanced/react/useDisableCustomFee.d.ts +2 -1
- package/dist/fhe-airdrop/advanced/react/useFactoryRenounceRole.d.ts +4 -3
- package/dist/fhe-airdrop/advanced/react/useFactoryRevokeRole.d.ts +9 -7
- package/dist/fhe-airdrop/advanced/react/useFactoryRoleMembers.d.ts +6 -5
- package/dist/fhe-airdrop/advanced/react/useSetCustomFee.d.ts +2 -1
- package/dist/fhe-airdrop/advanced/react/useSetDefaultGasFee.d.ts +5 -3
- package/dist/fhe-airdrop/advanced/react/useSetMaxGasFee.d.ts +33 -0
- package/dist/fhe-airdrop/airdrop-base.d.ts +47 -8
- package/dist/fhe-airdrop/constants.d.ts +9 -1
- package/dist/fhe-airdrop/ecdsa.d.ts +13 -0
- package/dist/fhe-airdrop/errors.d.ts +59 -0
- package/dist/fhe-airdrop/factory.d.ts +62 -22
- package/dist/fhe-airdrop/guards.d.ts +87 -2
- package/dist/fhe-airdrop/index.cjs +67 -55
- package/dist/fhe-airdrop/index.d.cts +3 -3
- package/dist/fhe-airdrop/index.d.ts +3 -3
- package/dist/fhe-airdrop/index.js +4 -4
- package/dist/fhe-airdrop/react/index.cjs +237 -177
- package/dist/fhe-airdrop/react/index.d.cts +4 -1
- package/dist/fhe-airdrop/react/index.d.ts +4 -1
- package/dist/fhe-airdrop/react/index.js +72 -15
- package/dist/fhe-airdrop/react/keys.d.ts +8 -0
- package/dist/fhe-airdrop/react/useFactoryFees.d.ts +11 -4
- package/dist/fhe-airdrop/react/useIsAirdrop.d.ts +44 -0
- package/dist/fhe-airdrop/react/useRefreshComplianceBalance.d.ts +36 -0
- package/dist/fhe-airdrop/react/useResolveGasFee.d.ts +30 -0
- package/dist/fhe-airdrop/types.d.ts +13 -0
- 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
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
3
|
+
var chunkGKYZQJGP_cjs = require('../chunk-GKYZQJGP.cjs');
|
|
4
|
+
var chunk4AWQJQXY_cjs = require('../chunk-4AWQJQXY.cjs');
|
|
5
|
+
var chunkYTIYTV4K_cjs = require('../chunk-YTIYTV4K.cjs');
|
|
6
6
|
var chunkKFRDLKMA_cjs = require('../chunk-KFRDLKMA.cjs');
|
|
7
7
|
require('../chunk-FAXIIH5R.cjs');
|
|
8
8
|
var chunkFWHYQZ5E_cjs = require('../chunk-FWHYQZ5E.cjs');
|
|
9
9
|
require('../chunk-UG5RKLU2.cjs');
|
|
10
10
|
require('../chunk-MVDQMV25.cjs');
|
|
11
|
-
require('../chunk-
|
|
11
|
+
require('../chunk-PG3WXT3K.cjs');
|
|
12
12
|
require('../chunk-JK4XMMKM.cjs');
|
|
13
13
|
require('../chunk-66IHPTOK.cjs');
|
|
14
14
|
var chunk67OV5CX2_cjs = require('../chunk-67OV5CX2.cjs');
|
|
@@ -18,207 +18,219 @@ require('../chunk-VJKZWYYJ.cjs');
|
|
|
18
18
|
|
|
19
19
|
Object.defineProperty(exports, "buildMerkleCampaign", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkGKYZQJGP_cjs.buildMerkleCampaign; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "buildMerkleTree", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkGKYZQJGP_cjs.buildMerkleTree; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "encryptCampaignAmounts", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkGKYZQJGP_cjs.encryptCampaignAmounts; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "grantInstanceRoles", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkGKYZQJGP_cjs.grantInstanceRoles; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "leafOf", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkGKYZQJGP_cjs.leafOf; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "planInstanceRoleSplit", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunkGKYZQJGP_cjs.planInstanceRoleSplit; }
|
|
42
42
|
});
|
|
43
43
|
Object.defineProperty(exports, "planMerkleCampaign", {
|
|
44
44
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
45
|
+
get: function () { return chunkGKYZQJGP_cjs.planMerkleCampaign; }
|
|
46
46
|
});
|
|
47
47
|
Object.defineProperty(exports, "rotateMerkleRoot", {
|
|
48
48
|
enumerable: true,
|
|
49
|
-
get: function () { return
|
|
49
|
+
get: function () { return chunkGKYZQJGP_cjs.rotateMerkleRoot; }
|
|
50
50
|
});
|
|
51
51
|
Object.defineProperty(exports, "validateCampaignRecipients", {
|
|
52
52
|
enumerable: true,
|
|
53
|
-
get: function () { return
|
|
53
|
+
get: function () { return chunkGKYZQJGP_cjs.validateCampaignRecipients; }
|
|
54
54
|
});
|
|
55
55
|
Object.defineProperty(exports, "AirdropBaseClient", {
|
|
56
56
|
enumerable: true,
|
|
57
|
-
get: function () { return
|
|
57
|
+
get: function () { return chunk4AWQJQXY_cjs.AirdropBaseClient; }
|
|
58
58
|
});
|
|
59
59
|
Object.defineProperty(exports, "CLAIM_TYPEHASH", {
|
|
60
60
|
enumerable: true,
|
|
61
|
-
get: function () { return
|
|
61
|
+
get: function () { return chunk4AWQJQXY_cjs.CLAIM_TYPEHASH; }
|
|
62
62
|
});
|
|
63
63
|
Object.defineProperty(exports, "CLAIM_TYPES", {
|
|
64
64
|
enumerable: true,
|
|
65
|
-
get: function () { return
|
|
65
|
+
get: function () { return chunk4AWQJQXY_cjs.CLAIM_TYPES; }
|
|
66
66
|
});
|
|
67
67
|
Object.defineProperty(exports, "ComplianceManagerClient", {
|
|
68
68
|
enumerable: true,
|
|
69
|
-
get: function () { return
|
|
69
|
+
get: function () { return chunk4AWQJQXY_cjs.ComplianceManagerClient; }
|
|
70
70
|
});
|
|
71
71
|
Object.defineProperty(exports, "ConfidentialAirdropFactoryClient", {
|
|
72
72
|
enumerable: true,
|
|
73
|
-
get: function () { return
|
|
73
|
+
get: function () { return chunk4AWQJQXY_cjs.ConfidentialAirdropFactoryClient; }
|
|
74
74
|
});
|
|
75
75
|
Object.defineProperty(exports, "EIP712_DOMAIN_NAME", {
|
|
76
76
|
enumerable: true,
|
|
77
|
-
get: function () { return
|
|
77
|
+
get: function () { return chunk4AWQJQXY_cjs.EIP712_DOMAIN_NAME; }
|
|
78
78
|
});
|
|
79
79
|
Object.defineProperty(exports, "EIP712_DOMAIN_VERSION", {
|
|
80
80
|
enumerable: true,
|
|
81
|
-
get: function () { return
|
|
81
|
+
get: function () { return chunk4AWQJQXY_cjs.EIP712_DOMAIN_VERSION; }
|
|
82
82
|
});
|
|
83
83
|
Object.defineProperty(exports, "EcdsaAirdropClient", {
|
|
84
84
|
enumerable: true,
|
|
85
|
-
get: function () { return
|
|
85
|
+
get: function () { return chunk4AWQJQXY_cjs.EcdsaAirdropClient; }
|
|
86
86
|
});
|
|
87
87
|
Object.defineProperty(exports, "FACTORY_ROLE_CONCENTRATION_NOTE", {
|
|
88
88
|
enumerable: true,
|
|
89
|
-
get: function () { return
|
|
89
|
+
get: function () { return chunk4AWQJQXY_cjs.FACTORY_ROLE_CONCENTRATION_NOTE; }
|
|
90
90
|
});
|
|
91
91
|
Object.defineProperty(exports, "MerkleAirdropClient", {
|
|
92
92
|
enumerable: true,
|
|
93
|
-
get: function () { return
|
|
93
|
+
get: function () { return chunk4AWQJQXY_cjs.MerkleAirdropClient; }
|
|
94
94
|
});
|
|
95
95
|
Object.defineProperty(exports, "airdropFactoryAbi", {
|
|
96
96
|
enumerable: true,
|
|
97
|
-
get: function () { return
|
|
97
|
+
get: function () { return chunk4AWQJQXY_cjs.airdropFactoryAbi; }
|
|
98
98
|
});
|
|
99
99
|
Object.defineProperty(exports, "complianceRoleManagerAbi", {
|
|
100
100
|
enumerable: true,
|
|
101
|
-
get: function () { return
|
|
101
|
+
get: function () { return chunk4AWQJQXY_cjs.complianceRoleManagerAbi; }
|
|
102
102
|
});
|
|
103
103
|
Object.defineProperty(exports, "confidentialAirdropBaseAbi", {
|
|
104
104
|
enumerable: true,
|
|
105
|
-
get: function () { return
|
|
105
|
+
get: function () { return chunk4AWQJQXY_cjs.confidentialAirdropBaseAbi; }
|
|
106
106
|
});
|
|
107
107
|
Object.defineProperty(exports, "createAirdropBaseClient", {
|
|
108
108
|
enumerable: true,
|
|
109
|
-
get: function () { return
|
|
109
|
+
get: function () { return chunk4AWQJQXY_cjs.createAirdropBaseClient; }
|
|
110
110
|
});
|
|
111
111
|
Object.defineProperty(exports, "createComplianceManagerClient", {
|
|
112
112
|
enumerable: true,
|
|
113
|
-
get: function () { return
|
|
113
|
+
get: function () { return chunk4AWQJQXY_cjs.createComplianceManagerClient; }
|
|
114
114
|
});
|
|
115
115
|
Object.defineProperty(exports, "createConfidentialAirdropFactoryClient", {
|
|
116
116
|
enumerable: true,
|
|
117
|
-
get: function () { return
|
|
117
|
+
get: function () { return chunk4AWQJQXY_cjs.createConfidentialAirdropFactoryClient; }
|
|
118
118
|
});
|
|
119
119
|
Object.defineProperty(exports, "createEcdsaAirdropClient", {
|
|
120
120
|
enumerable: true,
|
|
121
|
-
get: function () { return
|
|
121
|
+
get: function () { return chunk4AWQJQXY_cjs.createEcdsaAirdropClient; }
|
|
122
122
|
});
|
|
123
123
|
Object.defineProperty(exports, "createMerkleAirdropClient", {
|
|
124
124
|
enumerable: true,
|
|
125
|
-
get: function () { return
|
|
125
|
+
get: function () { return chunk4AWQJQXY_cjs.createMerkleAirdropClient; }
|
|
126
126
|
});
|
|
127
127
|
Object.defineProperty(exports, "ecdsaConfidentialAirdropAbi", {
|
|
128
128
|
enumerable: true,
|
|
129
|
-
get: function () { return
|
|
129
|
+
get: function () { return chunk4AWQJQXY_cjs.ecdsaConfidentialAirdropAbi; }
|
|
130
130
|
});
|
|
131
131
|
Object.defineProperty(exports, "encryptUint64", {
|
|
132
132
|
enumerable: true,
|
|
133
|
-
get: function () { return
|
|
133
|
+
get: function () { return chunk4AWQJQXY_cjs.encryptUint64; }
|
|
134
134
|
});
|
|
135
135
|
Object.defineProperty(exports, "encryptUint64Batch", {
|
|
136
136
|
enumerable: true,
|
|
137
|
-
get: function () { return
|
|
137
|
+
get: function () { return chunk4AWQJQXY_cjs.encryptUint64Batch; }
|
|
138
138
|
});
|
|
139
139
|
Object.defineProperty(exports, "isAclPropagationError", {
|
|
140
140
|
enumerable: true,
|
|
141
|
-
get: function () { return
|
|
141
|
+
get: function () { return chunk4AWQJQXY_cjs.isAclPropagationError; }
|
|
142
142
|
});
|
|
143
143
|
Object.defineProperty(exports, "merkleConfidentialAirdropAbi", {
|
|
144
144
|
enumerable: true,
|
|
145
|
-
get: function () { return
|
|
145
|
+
get: function () { return chunk4AWQJQXY_cjs.merkleConfidentialAirdropAbi; }
|
|
146
146
|
});
|
|
147
147
|
Object.defineProperty(exports, "resolveEncryptor", {
|
|
148
148
|
enumerable: true,
|
|
149
|
-
get: function () { return
|
|
149
|
+
get: function () { return chunk4AWQJQXY_cjs.resolveEncryptor; }
|
|
150
150
|
});
|
|
151
151
|
Object.defineProperty(exports, "signClaimAuthorization", {
|
|
152
152
|
enumerable: true,
|
|
153
|
-
get: function () { return
|
|
153
|
+
get: function () { return chunk4AWQJQXY_cjs.signClaimAuthorization; }
|
|
154
154
|
});
|
|
155
155
|
Object.defineProperty(exports, "AIRDROP_CONTRACTS_COMMIT", {
|
|
156
156
|
enumerable: true,
|
|
157
|
-
get: function () { return
|
|
157
|
+
get: function () { return chunkYTIYTV4K_cjs.AIRDROP_CONTRACTS_COMMIT; }
|
|
158
158
|
});
|
|
159
159
|
Object.defineProperty(exports, "AlreadyClaimedError", {
|
|
160
160
|
enumerable: true,
|
|
161
|
-
get: function () { return
|
|
161
|
+
get: function () { return chunkYTIYTV4K_cjs.AlreadyClaimedError; }
|
|
162
162
|
});
|
|
163
163
|
Object.defineProperty(exports, "ClaimNotStartedError", {
|
|
164
164
|
enumerable: true,
|
|
165
|
-
get: function () { return
|
|
165
|
+
get: function () { return chunkYTIYTV4K_cjs.ClaimNotStartedError; }
|
|
166
166
|
});
|
|
167
167
|
Object.defineProperty(exports, "ClaimWindowClosedError", {
|
|
168
168
|
enumerable: true,
|
|
169
|
-
get: function () { return
|
|
169
|
+
get: function () { return chunkYTIYTV4K_cjs.ClaimWindowClosedError; }
|
|
170
170
|
});
|
|
171
171
|
Object.defineProperty(exports, "DEDUP_MODE", {
|
|
172
172
|
enumerable: true,
|
|
173
|
-
get: function () { return
|
|
173
|
+
get: function () { return chunkYTIYTV4K_cjs.DEDUP_MODE; }
|
|
174
174
|
});
|
|
175
175
|
Object.defineProperty(exports, "DEPLOYMENT_MODE", {
|
|
176
176
|
enumerable: true,
|
|
177
|
-
get: function () { return
|
|
177
|
+
get: function () { return chunkYTIYTV4K_cjs.DEPLOYMENT_MODE; }
|
|
178
178
|
});
|
|
179
179
|
Object.defineProperty(exports, "DedupIdConsumedError", {
|
|
180
180
|
enumerable: true,
|
|
181
|
-
get: function () { return
|
|
181
|
+
get: function () { return chunkYTIYTV4K_cjs.DedupIdConsumedError; }
|
|
182
182
|
});
|
|
183
183
|
Object.defineProperty(exports, "FeeCollectorSelfAdministeredError", {
|
|
184
184
|
enumerable: true,
|
|
185
|
-
get: function () { return
|
|
185
|
+
get: function () { return chunkYTIYTV4K_cjs.FeeCollectorSelfAdministeredError; }
|
|
186
|
+
});
|
|
187
|
+
Object.defineProperty(exports, "GasFeeNotAcceptedError", {
|
|
188
|
+
enumerable: true,
|
|
189
|
+
get: function () { return chunkYTIYTV4K_cjs.GasFeeNotAcceptedError; }
|
|
186
190
|
});
|
|
187
191
|
Object.defineProperty(exports, "MerkleUupsUnsupportedError", {
|
|
188
192
|
enumerable: true,
|
|
189
|
-
get: function () { return
|
|
193
|
+
get: function () { return chunkYTIYTV4K_cjs.MerkleUupsUnsupportedError; }
|
|
190
194
|
});
|
|
191
195
|
Object.defineProperty(exports, "NonStockWrapperError", {
|
|
192
196
|
enumerable: true,
|
|
193
|
-
get: function () { return
|
|
197
|
+
get: function () { return chunkYTIYTV4K_cjs.NonStockWrapperError; }
|
|
194
198
|
});
|
|
195
199
|
Object.defineProperty(exports, "PredictionDriftError", {
|
|
196
200
|
enumerable: true,
|
|
197
|
-
get: function () { return
|
|
201
|
+
get: function () { return chunkYTIYTV4K_cjs.PredictionDriftError; }
|
|
198
202
|
});
|
|
199
203
|
Object.defineProperty(exports, "SaltCollisionError", {
|
|
200
204
|
enumerable: true,
|
|
201
|
-
get: function () { return
|
|
205
|
+
get: function () { return chunkYTIYTV4K_cjs.SaltCollisionError; }
|
|
202
206
|
});
|
|
203
207
|
Object.defineProperty(exports, "SignatureExpiredError", {
|
|
204
208
|
enumerable: true,
|
|
205
|
-
get: function () { return
|
|
209
|
+
get: function () { return chunkYTIYTV4K_cjs.SignatureExpiredError; }
|
|
210
|
+
});
|
|
211
|
+
Object.defineProperty(exports, "UINT96_MAX", {
|
|
212
|
+
enumerable: true,
|
|
213
|
+
get: function () { return chunkYTIYTV4K_cjs.UINT96_MAX; }
|
|
206
214
|
});
|
|
207
215
|
Object.defineProperty(exports, "UnauthorizedRedirectError", {
|
|
208
216
|
enumerable: true,
|
|
209
|
-
get: function () { return
|
|
217
|
+
get: function () { return chunkYTIYTV4K_cjs.UnauthorizedRedirectError; }
|
|
218
|
+
});
|
|
219
|
+
Object.defineProperty(exports, "UnrecognisedAirdropError", {
|
|
220
|
+
enumerable: true,
|
|
221
|
+
get: function () { return chunkYTIYTV4K_cjs.UnrecognisedAirdropError; }
|
|
210
222
|
});
|
|
211
223
|
Object.defineProperty(exports, "UpgradeabilityNotAllowedError", {
|
|
212
224
|
enumerable: true,
|
|
213
|
-
get: function () { return
|
|
225
|
+
get: function () { return chunkYTIYTV4K_cjs.UpgradeabilityNotAllowedError; }
|
|
214
226
|
});
|
|
215
227
|
Object.defineProperty(exports, "preflightClaim", {
|
|
216
228
|
enumerable: true,
|
|
217
|
-
get: function () { return
|
|
229
|
+
get: function () { return chunkYTIYTV4K_cjs.preflightClaim; }
|
|
218
230
|
});
|
|
219
231
|
Object.defineProperty(exports, "preflightCreate", {
|
|
220
232
|
enumerable: true,
|
|
221
|
-
get: function () { return
|
|
233
|
+
get: function () { return chunkYTIYTV4K_cjs.preflightCreate; }
|
|
222
234
|
});
|
|
223
235
|
Object.defineProperty(exports, "ERC7984_OPERATOR_MAX_DEADLINE", {
|
|
224
236
|
enumerable: true,
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
* Address prediction and its integrity guards live on the
|
|
28
28
|
* `@tokenops/sdk/fhe-airdrop/advanced` subpath.
|
|
29
29
|
*/
|
|
30
|
-
export { AIRDROP_CONTRACTS_COMMIT, DEDUP_MODE, DEPLOYMENT_MODE, type DedupMode, type DeploymentMode, } from "./constants.js";
|
|
30
|
+
export { AIRDROP_CONTRACTS_COMMIT, DEDUP_MODE, DEPLOYMENT_MODE, UINT96_MAX, type DedupMode, type DeploymentMode, } from "./constants.js";
|
|
31
31
|
export { ConfidentialAirdropFactoryClient, createConfidentialAirdropFactoryClient, FACTORY_ROLE_CONCENTRATION_NOTE, type CompliancePolicy, type ConfidentialAirdropFactoryClientConfig, type CustomFee, type FundInput, type UpgradeabilityPolicy, } from "./factory.js";
|
|
32
32
|
export { AirdropBaseClient, createAirdropBaseClient, type AirdropBaseClientConfig, type WriteAccountOverride, } from "./airdrop-base.js";
|
|
33
33
|
export { CLAIM_TYPEHASH, CLAIM_TYPES, createEcdsaAirdropClient, EcdsaAirdropClient, EIP712_DOMAIN_NAME, EIP712_DOMAIN_VERSION, type Eip712Domain, type EcdsaAirdropClientConfig, type EcdsaClaimArgs, type GetClaimAmountArgs as EcdsaGetClaimAmountArgs, type IsSignatureValidArgs, } from "./ecdsa.js";
|
|
@@ -39,10 +39,10 @@ export type { EncryptedInput, EncryptedInputs, EncryptedViewResult } from "../fh
|
|
|
39
39
|
export { buildMerkleCampaign, encryptCampaignAmounts, planMerkleCampaign, rotateMerkleRoot, validateCampaignRecipients, type BuildMerkleCampaignArgs, type CampaignSubmitterOption, type EncryptCampaignAmountsArgs, type EncryptedCampaignLeaf, type PlanMerkleCampaignArgs, type PlannedCampaign, type RotatedCampaign, type RotateMerkleRootArgs, } from "./campaign.js";
|
|
40
40
|
export { grantInstanceRoles, planInstanceRoleSplit, type InstanceRoleAssignment, type RoleGrantOutcome, type RoleGrantStep, type RoleName, } from "./roles.js";
|
|
41
41
|
export { encryptUint64, encryptUint64Batch, resolveEncryptor, signClaimAuthorization, type Encryptor, type EncryptorSource, type EncryptUint64Args, type EncryptUint64BatchArgs, type FheValueInput, } from "./encryption.js";
|
|
42
|
-
export { preflightClaim, preflightCreate, type ClaimPreflightTarget, type EcdsaClaimPreflightSignature, type PreflightClaimArgs, type PreflightCreateArgs, } from "./guards.js";
|
|
42
|
+
export { preflightClaim, preflightCreate, type AirdropRegistry, type ClaimPreflightTarget, type EcdsaClaimPreflightSignature, type PreflightClaimArgs, type PreflightCreateArgs, } from "./guards.js";
|
|
43
43
|
export { type PreflightResult } from "../core/preflight.js";
|
|
44
44
|
export { airdropFactoryAbi, complianceRoleManagerAbi, confidentialAirdropBaseAbi, ecdsaConfidentialAirdropAbi, merkleConfidentialAirdropAbi, } from "./abis/index.js";
|
|
45
|
-
export { AlreadyClaimedError, ClaimNotStartedError, ClaimWindowClosedError, DedupIdConsumedError, FeeCollectorSelfAdministeredError, MerkleUupsUnsupportedError, NonStockWrapperError, PredictionDriftError, SaltCollisionError, SignatureExpiredError, UnauthorizedRedirectError, UpgradeabilityNotAllowedError, type AirdropVariant, } from "./errors.js";
|
|
45
|
+
export { AlreadyClaimedError, ClaimNotStartedError, ClaimWindowClosedError, DedupIdConsumedError, FeeCollectorSelfAdministeredError, GasFeeNotAcceptedError, MerkleUupsUnsupportedError, NonStockWrapperError, PredictionDriftError, SaltCollisionError, SignatureExpiredError, UnauthorizedRedirectError, UnrecognisedAirdropError, UpgradeabilityNotAllowedError, type AirdropVariant, } from "./errors.js";
|
|
46
46
|
export { TokenOpsSdkError, isTokenOpsSdkError, DeploymentAddressUnavailableError, UnsupportedChainError, MissingAccountError, MissingClientError, MissingEncryptorError, MissingPublicClientError, MissingWalletClientError, InvalidArgumentError, ReceiptEventAmbiguousError, ReceiptEventNotFoundError, TokenOpsValidationError, ContractRevertError, TokenOpsContractError, PausedError, AccessDeniedError, OperatorNotApprovedError, InsufficientFeeError, InsufficientBalanceError, BatchTooLargeError, FeatureDisabledError, TransferFailedError, FheHandleNotAllowedError, AlreadyInitializedError, ReentrancyError, InvalidSignatureError, WalletRejectedError, WalletChainMismatchError, NetworkError, InsufficientGasFundsError, UnknownWriteFailureError, UserRejectedSignatureError, SigningFailedError, RelayerUnreachableError, EncryptionFailedError, DecryptionFailedError, UserDecryptNotAllowedError, type DeploymentAddressUnavailableReason, type TokenOpsSdkErrorCode, } from "../core/errors.js";
|
|
47
47
|
export { ERC7984_OPERATOR_MAX_DEADLINE, revokeOperator, setOperator, type RevokeOperatorArgs, type SetOperatorArgs, } from "../fhe/operators.js";
|
|
48
48
|
export { erc7984OperatorAbi } from "../fhe/erc7984-abi.js";
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
* Address prediction and its integrity guards live on the
|
|
28
28
|
* `@tokenops/sdk/fhe-airdrop/advanced` subpath.
|
|
29
29
|
*/
|
|
30
|
-
export { AIRDROP_CONTRACTS_COMMIT, DEDUP_MODE, DEPLOYMENT_MODE, type DedupMode, type DeploymentMode, } from "./constants.js";
|
|
30
|
+
export { AIRDROP_CONTRACTS_COMMIT, DEDUP_MODE, DEPLOYMENT_MODE, UINT96_MAX, type DedupMode, type DeploymentMode, } from "./constants.js";
|
|
31
31
|
export { ConfidentialAirdropFactoryClient, createConfidentialAirdropFactoryClient, FACTORY_ROLE_CONCENTRATION_NOTE, type CompliancePolicy, type ConfidentialAirdropFactoryClientConfig, type CustomFee, type FundInput, type UpgradeabilityPolicy, } from "./factory.js";
|
|
32
32
|
export { AirdropBaseClient, createAirdropBaseClient, type AirdropBaseClientConfig, type WriteAccountOverride, } from "./airdrop-base.js";
|
|
33
33
|
export { CLAIM_TYPEHASH, CLAIM_TYPES, createEcdsaAirdropClient, EcdsaAirdropClient, EIP712_DOMAIN_NAME, EIP712_DOMAIN_VERSION, type Eip712Domain, type EcdsaAirdropClientConfig, type EcdsaClaimArgs, type GetClaimAmountArgs as EcdsaGetClaimAmountArgs, type IsSignatureValidArgs, } from "./ecdsa.js";
|
|
@@ -39,10 +39,10 @@ export type { EncryptedInput, EncryptedInputs, EncryptedViewResult } from "../fh
|
|
|
39
39
|
export { buildMerkleCampaign, encryptCampaignAmounts, planMerkleCampaign, rotateMerkleRoot, validateCampaignRecipients, type BuildMerkleCampaignArgs, type CampaignSubmitterOption, type EncryptCampaignAmountsArgs, type EncryptedCampaignLeaf, type PlanMerkleCampaignArgs, type PlannedCampaign, type RotatedCampaign, type RotateMerkleRootArgs, } from "./campaign.js";
|
|
40
40
|
export { grantInstanceRoles, planInstanceRoleSplit, type InstanceRoleAssignment, type RoleGrantOutcome, type RoleGrantStep, type RoleName, } from "./roles.js";
|
|
41
41
|
export { encryptUint64, encryptUint64Batch, resolveEncryptor, signClaimAuthorization, type Encryptor, type EncryptorSource, type EncryptUint64Args, type EncryptUint64BatchArgs, type FheValueInput, } from "./encryption.js";
|
|
42
|
-
export { preflightClaim, preflightCreate, type ClaimPreflightTarget, type EcdsaClaimPreflightSignature, type PreflightClaimArgs, type PreflightCreateArgs, } from "./guards.js";
|
|
42
|
+
export { preflightClaim, preflightCreate, type AirdropRegistry, type ClaimPreflightTarget, type EcdsaClaimPreflightSignature, type PreflightClaimArgs, type PreflightCreateArgs, } from "./guards.js";
|
|
43
43
|
export { type PreflightResult } from "../core/preflight.js";
|
|
44
44
|
export { airdropFactoryAbi, complianceRoleManagerAbi, confidentialAirdropBaseAbi, ecdsaConfidentialAirdropAbi, merkleConfidentialAirdropAbi, } from "./abis/index.js";
|
|
45
|
-
export { AlreadyClaimedError, ClaimNotStartedError, ClaimWindowClosedError, DedupIdConsumedError, FeeCollectorSelfAdministeredError, MerkleUupsUnsupportedError, NonStockWrapperError, PredictionDriftError, SaltCollisionError, SignatureExpiredError, UnauthorizedRedirectError, UpgradeabilityNotAllowedError, type AirdropVariant, } from "./errors.js";
|
|
45
|
+
export { AlreadyClaimedError, ClaimNotStartedError, ClaimWindowClosedError, DedupIdConsumedError, FeeCollectorSelfAdministeredError, GasFeeNotAcceptedError, MerkleUupsUnsupportedError, NonStockWrapperError, PredictionDriftError, SaltCollisionError, SignatureExpiredError, UnauthorizedRedirectError, UnrecognisedAirdropError, UpgradeabilityNotAllowedError, type AirdropVariant, } from "./errors.js";
|
|
46
46
|
export { TokenOpsSdkError, isTokenOpsSdkError, DeploymentAddressUnavailableError, UnsupportedChainError, MissingAccountError, MissingClientError, MissingEncryptorError, MissingPublicClientError, MissingWalletClientError, InvalidArgumentError, ReceiptEventAmbiguousError, ReceiptEventNotFoundError, TokenOpsValidationError, ContractRevertError, TokenOpsContractError, PausedError, AccessDeniedError, OperatorNotApprovedError, InsufficientFeeError, InsufficientBalanceError, BatchTooLargeError, FeatureDisabledError, TransferFailedError, FheHandleNotAllowedError, AlreadyInitializedError, ReentrancyError, InvalidSignatureError, WalletRejectedError, WalletChainMismatchError, NetworkError, InsufficientGasFundsError, UnknownWriteFailureError, UserRejectedSignatureError, SigningFailedError, RelayerUnreachableError, EncryptionFailedError, DecryptionFailedError, UserDecryptNotAllowedError, type DeploymentAddressUnavailableReason, type TokenOpsSdkErrorCode, } from "../core/errors.js";
|
|
47
47
|
export { ERC7984_OPERATOR_MAX_DEADLINE, revokeOperator, setOperator, type RevokeOperatorArgs, type SetOperatorArgs, } from "../fhe/operators.js";
|
|
48
48
|
export { erc7984OperatorAbi } from "../fhe/erc7984-abi.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
export { buildMerkleCampaign, buildMerkleTree, encryptCampaignAmounts, grantInstanceRoles, leafOf, planInstanceRoleSplit, planMerkleCampaign, rotateMerkleRoot, validateCampaignRecipients } from '../chunk-
|
|
2
|
-
export { AirdropBaseClient, CLAIM_TYPEHASH, CLAIM_TYPES, ComplianceManagerClient, ConfidentialAirdropFactoryClient, EIP712_DOMAIN_NAME, EIP712_DOMAIN_VERSION, EcdsaAirdropClient, FACTORY_ROLE_CONCENTRATION_NOTE, MerkleAirdropClient, airdropFactoryAbi, complianceRoleManagerAbi, confidentialAirdropBaseAbi, createAirdropBaseClient, createComplianceManagerClient, createConfidentialAirdropFactoryClient, createEcdsaAirdropClient, createMerkleAirdropClient, ecdsaConfidentialAirdropAbi, encryptUint64, encryptUint64Batch, isAclPropagationError, merkleConfidentialAirdropAbi, resolveEncryptor, signClaimAuthorization } from '../chunk-
|
|
3
|
-
export { AIRDROP_CONTRACTS_COMMIT, AlreadyClaimedError, ClaimNotStartedError, ClaimWindowClosedError, DEDUP_MODE, DEPLOYMENT_MODE, DedupIdConsumedError, FeeCollectorSelfAdministeredError, MerkleUupsUnsupportedError, NonStockWrapperError, PredictionDriftError, SaltCollisionError, SignatureExpiredError, UnauthorizedRedirectError, UpgradeabilityNotAllowedError, preflightClaim, preflightCreate } from '../chunk-
|
|
1
|
+
export { buildMerkleCampaign, buildMerkleTree, encryptCampaignAmounts, grantInstanceRoles, leafOf, planInstanceRoleSplit, planMerkleCampaign, rotateMerkleRoot, validateCampaignRecipients } from '../chunk-GCJFAY4X.js';
|
|
2
|
+
export { AirdropBaseClient, CLAIM_TYPEHASH, CLAIM_TYPES, ComplianceManagerClient, ConfidentialAirdropFactoryClient, EIP712_DOMAIN_NAME, EIP712_DOMAIN_VERSION, EcdsaAirdropClient, FACTORY_ROLE_CONCENTRATION_NOTE, MerkleAirdropClient, airdropFactoryAbi, complianceRoleManagerAbi, confidentialAirdropBaseAbi, createAirdropBaseClient, createComplianceManagerClient, createConfidentialAirdropFactoryClient, createEcdsaAirdropClient, createMerkleAirdropClient, ecdsaConfidentialAirdropAbi, encryptUint64, encryptUint64Batch, isAclPropagationError, merkleConfidentialAirdropAbi, resolveEncryptor, signClaimAuthorization } from '../chunk-BXX5TETM.js';
|
|
3
|
+
export { AIRDROP_CONTRACTS_COMMIT, AlreadyClaimedError, ClaimNotStartedError, ClaimWindowClosedError, DEDUP_MODE, DEPLOYMENT_MODE, DedupIdConsumedError, FeeCollectorSelfAdministeredError, GasFeeNotAcceptedError, MerkleUupsUnsupportedError, NonStockWrapperError, PredictionDriftError, SaltCollisionError, SignatureExpiredError, UINT96_MAX, UnauthorizedRedirectError, UnrecognisedAirdropError, UpgradeabilityNotAllowedError, preflightClaim, preflightCreate } from '../chunk-LEYYG4RF.js';
|
|
4
4
|
export { ERC7984_OPERATOR_MAX_DEADLINE, revokeOperator, setOperator } from '../chunk-4TSDNZQ3.js';
|
|
5
5
|
import '../chunk-ZWXJTBZO.js';
|
|
6
6
|
export { erc7984OperatorAbi } from '../chunk-7VELUOMI.js';
|
|
7
7
|
import '../chunk-NWFMBLSQ.js';
|
|
8
8
|
import '../chunk-4RAAATVY.js';
|
|
9
|
-
import '../chunk-
|
|
9
|
+
import '../chunk-6HCT4QIX.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';
|