@inco/shield-js 0.0.0-bootstrap.0

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.
Files changed (65) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +359 -0
  3. package/dist/binary.d.ts +3 -0
  4. package/dist/binary.js +16 -0
  5. package/dist/contracts/abi.d.ts +6800 -0
  6. package/dist/contracts/abi.js +8836 -0
  7. package/dist/contracts/index.d.ts +2 -0
  8. package/dist/contracts/index.js +2 -0
  9. package/dist/contracts/utils.d.ts +25 -0
  10. package/dist/contracts/utils.js +28 -0
  11. package/dist/errors.d.ts +125 -0
  12. package/dist/errors.js +91 -0
  13. package/dist/generated/inco/shield/v2/conductor_connect.d.ts +137 -0
  14. package/dist/generated/inco/shield/v2/conductor_connect.js +141 -0
  15. package/dist/generated/inco/shield/v2/deposit_pb.d.ts +103 -0
  16. package/dist/generated/inco/shield/v2/deposit_pb.js +141 -0
  17. package/dist/generated/inco/shield/v2/drafting_pb.d.ts +279 -0
  18. package/dist/generated/inco/shield/v2/drafting_pb.js +372 -0
  19. package/dist/generated/inco/shield/v2/permission_pb.d.ts +443 -0
  20. package/dist/generated/inco/shield/v2/permission_pb.js +639 -0
  21. package/dist/generated/inco/shield/v2/query_pb.d.ts +103 -0
  22. package/dist/generated/inco/shield/v2/query_pb.js +141 -0
  23. package/dist/generated/inco/shield/v2/types_pb.d.ts +166 -0
  24. package/dist/generated/inco/shield/v2/types_pb.js +261 -0
  25. package/dist/index.d.ts +12 -0
  26. package/dist/index.js +19 -0
  27. package/dist/shield/client.d.ts +72 -0
  28. package/dist/shield/client.js +136 -0
  29. package/dist/shield/convert.d.ts +18 -0
  30. package/dist/shield/convert.js +152 -0
  31. package/dist/shield/encryption.d.ts +86 -0
  32. package/dist/shield/encryption.js +180 -0
  33. package/dist/shield/envelope.d.ts +14 -0
  34. package/dist/shield/envelope.js +29 -0
  35. package/dist/shield/index.d.ts +13 -0
  36. package/dist/shield/index.js +11 -0
  37. package/dist/shield/intent.d.ts +977 -0
  38. package/dist/shield/intent.js +188 -0
  39. package/dist/shield/rpc.d.ts +72 -0
  40. package/dist/shield/rpc.js +423 -0
  41. package/dist/shield/shield.eip712.gen.d.ts +396 -0
  42. package/dist/shield/shield.eip712.gen.js +318 -0
  43. package/dist/shield/types.d.ts +119 -0
  44. package/dist/shield/types.js +4 -0
  45. package/dist/shield/userop/gas-estimation.d.ts +36 -0
  46. package/dist/shield/userop/gas-estimation.js +284 -0
  47. package/dist/shield/userop/index.d.ts +1 -0
  48. package/dist/shield/userop/index.js +1 -0
  49. package/dist/shield/userop/token-exchange.d.ts +54 -0
  50. package/dist/shield/userop/token-exchange.js +165 -0
  51. package/dist/shield/userop/types.d.ts +91 -0
  52. package/dist/shield/userop/types.js +4 -0
  53. package/dist/shield/userop/userOp.d.ts +26 -0
  54. package/dist/shield/userop/userOp.js +98 -0
  55. package/dist/shield/utils/chain.d.ts +2 -0
  56. package/dist/shield/utils/chain.js +8 -0
  57. package/dist/uniswap-adapter/config.d.ts +34 -0
  58. package/dist/uniswap-adapter/config.js +45 -0
  59. package/dist/uniswap-adapter/find-pools.d.ts +91 -0
  60. package/dist/uniswap-adapter/find-pools.js +108 -0
  61. package/dist/uniswap-adapter/index.d.ts +10 -0
  62. package/dist/uniswap-adapter/index.js +13 -0
  63. package/dist/uniswap-adapter/swap.d.ts +344 -0
  64. package/dist/uniswap-adapter/swap.js +309 -0
  65. package/package.json +72 -0
@@ -0,0 +1,396 @@
1
+ import { type Hex } from 'viem';
2
+ export declare const ASSET_MOVEMENT_TYPEHASH: `0x${string}`;
3
+ export type AssetMovement = {
4
+ readonly assetAdapter: Hex;
5
+ readonly assetIdentificationArgs: Hex;
6
+ readonly movementArgs: Hex;
7
+ };
8
+ export declare function assetMovementStructHash(s: AssetMovement): Hex;
9
+ export declare const CALL_TYPEHASH: `0x${string}`;
10
+ export type Call = {
11
+ readonly target: Hex;
12
+ readonly value: bigint;
13
+ readonly data: Hex;
14
+ };
15
+ export declare function callStructHash(s: Call): Hex;
16
+ export declare const BALANCE_QUERY_TYPEHASH: `0x${string}`;
17
+ export type BalanceQuery = {
18
+ readonly requester: Hex;
19
+ readonly owner: Hex;
20
+ readonly assetId: Hex;
21
+ readonly queryTimestamp: bigint;
22
+ };
23
+ export declare function balanceQueryStructHash(s: BalanceQuery): Hex;
24
+ export declare const HANDLE_PREIMAGE_TYPEHASH: `0x${string}`;
25
+ export type HandlePreimage = {
26
+ readonly previousHandle: Hex;
27
+ readonly previousBlockHash: Hex;
28
+ readonly blockTimestamp: bigint;
29
+ readonly operationHash: Hex;
30
+ };
31
+ export declare function handlePreimageStructHash(s: HandlePreimage): Hex;
32
+ export declare const BLOCK_TYPEHASH: `0x${string}`;
33
+ export type Block = {
34
+ readonly blockNumber: bigint;
35
+ readonly blockHash: Hex;
36
+ readonly parentBlockHash: Hex;
37
+ readonly parentHandle: Hex;
38
+ readonly handle: Hex;
39
+ readonly blockTimestamp: bigint;
40
+ readonly eventsHash: Hex;
41
+ };
42
+ export declare function blockStructHash(s: Block): Hex;
43
+ export declare const DEPOSIT_ATTESTATION_TYPEHASH: `0x${string}`;
44
+ export type DepositAttestation = {
45
+ readonly ciphertext: Hex;
46
+ readonly assetId: Hex;
47
+ readonly escapeCommitment: Hex;
48
+ readonly receiverEscapeData: Hex;
49
+ };
50
+ export declare function depositAttestationStructHash(s: DepositAttestation): Hex;
51
+ export declare const DEPOSIT_TYPEHASH: `0x${string}`;
52
+ export type Deposit = {
53
+ readonly attestation: DepositAttestation;
54
+ readonly assetMovement: AssetMovement;
55
+ readonly amount: bigint;
56
+ readonly from: Hex;
57
+ readonly teeAttestationSignature: Hex;
58
+ };
59
+ export declare function depositStructHash(s: Deposit): Hex;
60
+ export declare const DEPOSIT_ATTESTATION_REQUEST_TYPEHASH: `0x${string}`;
61
+ export type DepositAttestationRequest = {
62
+ readonly recipient: Hex;
63
+ readonly assetId: Hex;
64
+ };
65
+ export declare function depositAttestationRequestStructHash(s: DepositAttestationRequest): Hex;
66
+ export declare const PERMISSION_TYPEHASH: `0x${string}`;
67
+ export type Permission = {
68
+ readonly owner: Hex;
69
+ readonly spender: Hex;
70
+ readonly assetId: Hex;
71
+ readonly allowance: bigint;
72
+ readonly start: bigint;
73
+ readonly end: bigint;
74
+ readonly period: bigint;
75
+ readonly agreementHash: Hex;
76
+ readonly salt: Hex;
77
+ };
78
+ export declare function permissionStructHash(s: Permission): Hex;
79
+ export declare const PERMISSION_ATTESTATION_REQUEST_TYPEHASH: `0x${string}`;
80
+ export type PermissionAttestationRequest = {
81
+ readonly permission: Permission;
82
+ readonly intentExpiry: bigint;
83
+ };
84
+ export declare function permissionAttestationRequestStructHash(s: PermissionAttestationRequest): Hex;
85
+ export declare const PERMISSION_ATTESTATION_PAYLOAD_TYPEHASH: `0x${string}`;
86
+ export type PermissionAttestationPayload = {
87
+ readonly permissionId: Hex;
88
+ readonly permission: Permission;
89
+ readonly draftingHandle: Hex;
90
+ };
91
+ export declare function permissionAttestationPayloadStructHash(s: PermissionAttestationPayload): Hex;
92
+ export declare const PERMISSION_ATTESTATION_TYPEHASH: `0x${string}`;
93
+ export type PermissionAttestation = {
94
+ readonly payload: PermissionAttestationPayload;
95
+ readonly signature: Hex;
96
+ };
97
+ export declare function permissionAttestationStructHash(s: PermissionAttestation): Hex;
98
+ export declare const TRANSFER_INTENT_OP_TYPEHASH: `0x${string}`;
99
+ export type TransferIntentOp = {
100
+ readonly receiver: Hex;
101
+ readonly assetId: Hex;
102
+ readonly amount: bigint;
103
+ readonly memo: Hex;
104
+ };
105
+ export declare function transferIntentOpStructHash(s: TransferIntentOp): Hex;
106
+ export declare const WITHDRAWAL_CORE_INTENT_OP_TYPEHASH: `0x${string}`;
107
+ export type WithdrawalCoreIntentOp = {
108
+ readonly to: Hex;
109
+ readonly assetId: Hex;
110
+ readonly amount: bigint;
111
+ readonly assetMovement: AssetMovement;
112
+ };
113
+ export declare function withdrawalCoreIntentOpStructHash(s: WithdrawalCoreIntentOp): Hex;
114
+ export declare const WITHDRAWAL_INTENT_OP_TYPEHASH: `0x${string}`;
115
+ export type WithdrawalIntentOp = {
116
+ readonly core: WithdrawalCoreIntentOp;
117
+ readonly memo: Hex;
118
+ };
119
+ export declare function withdrawalIntentOpStructHash(s: WithdrawalIntentOp): Hex;
120
+ export declare const DEFI_INTERACTION_INTENT_OP_TYPEHASH: `0x${string}`;
121
+ export type DefiInteractionIntentOp = {
122
+ readonly withdrawal: WithdrawalCoreIntentOp;
123
+ readonly defiAdapter: Hex;
124
+ readonly adapterArgs: Hex;
125
+ readonly memo: Hex;
126
+ };
127
+ export declare function defiInteractionIntentOpStructHash(s: DefiInteractionIntentOp): Hex;
128
+ export declare const INDIVIDUAL_REVOCATION_INTENT_OP_TYPEHASH: `0x${string}`;
129
+ export type IndividualRevocationIntentOp = {
130
+ readonly permissionId: Hex;
131
+ };
132
+ export declare function individualRevocationIntentOpStructHash(s: IndividualRevocationIntentOp): Hex;
133
+ export declare const USER_WIDE_REVOCATION_INTENT_OP_TYPEHASH: `0x${string}`;
134
+ export type UserWideRevocationIntentOp = {
135
+ readonly empty: Hex;
136
+ };
137
+ export declare function userWideRevocationIntentOpStructHash(s: UserWideRevocationIntentOp): Hex;
138
+ export declare const GAS_TYPEHASH: `0x${string}`;
139
+ export type Gas = {
140
+ readonly assetId: Hex;
141
+ readonly maxAmount: bigint;
142
+ readonly callGasLimit: bigint;
143
+ readonly verificationGasLimit: bigint;
144
+ readonly preVerificationGas: bigint;
145
+ readonly paymasterVerificationGasLimit: bigint;
146
+ readonly paymasterPostOpGasLimit: bigint;
147
+ readonly maxFeePerGas: bigint;
148
+ readonly maxPriorityFeePerGas: bigint;
149
+ };
150
+ export declare function gasStructHash(s: Gas): Hex;
151
+ export declare const TRANSFER_INTENT_TYPEHASH: `0x${string}`;
152
+ export type TransferIntent = {
153
+ readonly op: TransferIntentOp;
154
+ readonly signer: Hex;
155
+ readonly gas: Gas;
156
+ readonly salt: Hex;
157
+ };
158
+ export declare function transferIntentStructHash(s: TransferIntent): Hex;
159
+ export declare const WITHDRAWAL_INTENT_TYPEHASH: `0x${string}`;
160
+ export type WithdrawalIntent = {
161
+ readonly op: WithdrawalIntentOp;
162
+ readonly signer: Hex;
163
+ readonly gas: Gas;
164
+ readonly salt: Hex;
165
+ };
166
+ export declare function withdrawalIntentStructHash(s: WithdrawalIntent): Hex;
167
+ export declare const DEFI_INTERACTION_INTENT_TYPEHASH: `0x${string}`;
168
+ export type DefiInteractionIntent = {
169
+ readonly op: DefiInteractionIntentOp;
170
+ readonly signer: Hex;
171
+ readonly gas: Gas;
172
+ readonly salt: Hex;
173
+ };
174
+ export declare function defiInteractionIntentStructHash(s: DefiInteractionIntent): Hex;
175
+ export declare const INDIVIDUAL_REVOCATION_INTENT_TYPEHASH: `0x${string}`;
176
+ export type IndividualRevocationIntent = {
177
+ readonly op: IndividualRevocationIntentOp;
178
+ readonly signer: Hex;
179
+ readonly gas: Gas;
180
+ readonly salt: Hex;
181
+ };
182
+ export declare function individualRevocationIntentStructHash(s: IndividualRevocationIntent): Hex;
183
+ export declare const USER_WIDE_REVOCATION_INTENT_TYPEHASH: `0x${string}`;
184
+ export type UserWideRevocationIntent = {
185
+ readonly op: UserWideRevocationIntentOp;
186
+ readonly signer: Hex;
187
+ readonly gas: Gas;
188
+ readonly salt: Hex;
189
+ };
190
+ export declare function userWideRevocationIntentStructHash(s: UserWideRevocationIntent): Hex;
191
+ export declare const DELEGATED_TRANSFER_INTENT_TYPEHASH: `0x${string}`;
192
+ export type DelegatedTransferIntent = {
193
+ readonly intent: TransferIntent;
194
+ readonly spender: Hex;
195
+ readonly attestation: PermissionAttestation;
196
+ };
197
+ export declare function delegatedTransferIntentStructHash(s: DelegatedTransferIntent): Hex;
198
+ export declare const DELEGATED_WITHDRAWAL_INTENT_TYPEHASH: `0x${string}`;
199
+ export type DelegatedWithdrawalIntent = {
200
+ readonly intent: WithdrawalIntent;
201
+ readonly spender: Hex;
202
+ readonly attestation: PermissionAttestation;
203
+ };
204
+ export declare function delegatedWithdrawalIntentStructHash(s: DelegatedWithdrawalIntent): Hex;
205
+ export declare const DELEGATED_DEFI_INTERACTION_INTENT_TYPEHASH: `0x${string}`;
206
+ export type DelegatedDefiInteractionIntent = {
207
+ readonly intent: DefiInteractionIntent;
208
+ readonly spender: Hex;
209
+ readonly attestation: PermissionAttestation;
210
+ };
211
+ export declare function delegatedDefiInteractionIntentStructHash(s: DelegatedDefiInteractionIntent): Hex;
212
+ export declare const TRANSFER_TYPEHASH: `0x${string}`;
213
+ export type Transfer = {
214
+ readonly draftingHandle: Hex;
215
+ readonly draftingTimestamp: bigint;
216
+ readonly nullifier: Hex;
217
+ readonly senderEscapeCommitment: Hex;
218
+ readonly receiverEscapeCommitment: Hex;
219
+ readonly senderEscapeData: Hex;
220
+ readonly receiverEscapeData: Hex;
221
+ readonly ciphertext: Hex;
222
+ readonly memo: Hex;
223
+ };
224
+ export declare function transferStructHash(s: Transfer): Hex;
225
+ export declare const WITHDRAWAL_CORE_TYPEHASH: `0x${string}`;
226
+ export type WithdrawalCore = {
227
+ readonly to: Hex;
228
+ readonly amount: bigint;
229
+ readonly nullifier: Hex;
230
+ readonly draftingHandle: Hex;
231
+ readonly draftingTimestamp: bigint;
232
+ readonly assetMovement: AssetMovement;
233
+ readonly ciphertext: Hex;
234
+ readonly senderEscapeCommitment: Hex;
235
+ readonly senderEscapeData: Hex;
236
+ };
237
+ export declare function withdrawalCoreStructHash(s: WithdrawalCore): Hex;
238
+ export declare const WITHDRAWAL_TYPEHASH: `0x${string}`;
239
+ export type Withdrawal = {
240
+ readonly core: WithdrawalCore;
241
+ readonly memo: Hex;
242
+ };
243
+ export declare function withdrawalStructHash(s: Withdrawal): Hex;
244
+ export declare const DEFI_INTERACTION_TYPEHASH: `0x${string}`;
245
+ export type DefiInteraction = {
246
+ readonly withdrawal: WithdrawalCore;
247
+ readonly defiAdapter: Hex;
248
+ readonly adapterArgs: Hex;
249
+ readonly memo: Hex;
250
+ };
251
+ export declare function defiInteractionStructHash(s: DefiInteraction): Hex;
252
+ export declare const INDIVIDUAL_REVOCATION_TYPEHASH: `0x${string}`;
253
+ export type IndividualRevocation = {
254
+ readonly ciphertext: Hex;
255
+ readonly draftingHandle: Hex;
256
+ readonly draftingTimestamp: bigint;
257
+ };
258
+ export declare function individualRevocationStructHash(s: IndividualRevocation): Hex;
259
+ export declare const USER_WIDE_REVOCATION_TYPEHASH: `0x${string}`;
260
+ export type UserWideRevocation = {
261
+ readonly ciphertext: Hex;
262
+ readonly draftingHandle: Hex;
263
+ readonly draftingTimestamp: bigint;
264
+ };
265
+ export declare function userWideRevocationStructHash(s: UserWideRevocation): Hex;
266
+ export declare const TRANSFER_PLAINTEXT_TYPEHASH: `0x${string}`;
267
+ export type TransferPlaintext = {
268
+ readonly sender: Hex;
269
+ readonly receiver: Hex;
270
+ readonly amount: bigint;
271
+ readonly assetId: Hex;
272
+ };
273
+ export declare function transferPlaintextStructHash(s: TransferPlaintext): Hex;
274
+ export declare const WITHDRAWAL_PLAINTEXT_TYPEHASH: `0x${string}`;
275
+ export type WithdrawalPlaintext = {
276
+ readonly sender: Hex;
277
+ };
278
+ export declare function withdrawalPlaintextStructHash(s: WithdrawalPlaintext): Hex;
279
+ export declare const DEPOSIT_PLAINTEXT_TYPEHASH: `0x${string}`;
280
+ export type DepositPlaintext = {
281
+ readonly receiver: Hex;
282
+ };
283
+ export declare function depositPlaintextStructHash(s: DepositPlaintext): Hex;
284
+ export declare const INDIVIDUAL_REVOCATION_PLAINTEXT_TYPEHASH: `0x${string}`;
285
+ export type IndividualRevocationPlaintext = {
286
+ readonly owner: Hex;
287
+ readonly permissionId: Hex;
288
+ };
289
+ export declare function individualRevocationPlaintextStructHash(s: IndividualRevocationPlaintext): Hex;
290
+ export declare const USER_WIDE_REVOCATION_PLAINTEXT_TYPEHASH: `0x${string}`;
291
+ export type UserWideRevocationPlaintext = {
292
+ readonly owner: Hex;
293
+ };
294
+ export declare function userWideRevocationPlaintextStructHash(s: UserWideRevocationPlaintext): Hex;
295
+ export declare const SENDER_ESCAPE_PLAINTEXT_TYPEHASH: `0x${string}`;
296
+ export type SenderEscapePlaintext = {
297
+ readonly sender: Hex;
298
+ readonly assetId: Hex;
299
+ readonly draftingHandle: Hex;
300
+ readonly spendAmount: bigint;
301
+ readonly balanceSnapshot: bigint;
302
+ readonly chequeNumber: bigint;
303
+ readonly oldestPossiblyOutstanding: bigint;
304
+ };
305
+ export declare function senderEscapePlaintextStructHash(s: SenderEscapePlaintext): Hex;
306
+ export declare const RECEIVER_ESCAPE_PLAINTEXT_TYPEHASH: `0x${string}`;
307
+ export type ReceiverEscapePlaintext = {
308
+ readonly receiver: Hex;
309
+ readonly assetId: Hex;
310
+ readonly draftingHandle: Hex;
311
+ readonly receiveAmount: bigint;
312
+ readonly balanceSnapshot: bigint;
313
+ readonly chequeNullifier: Hex;
314
+ readonly senderChequeNumber: bigint;
315
+ readonly oldestPossiblyOutstandingSend: bigint;
316
+ };
317
+ export declare function receiverEscapePlaintextStructHash(s: ReceiverEscapePlaintext): Hex;
318
+ export declare const GET_PERMISSIONS_BY_OWNER_TYPEHASH: `0x${string}`;
319
+ export type GetPermissionsByOwner = {
320
+ readonly requester: Hex;
321
+ readonly includeExpired: boolean;
322
+ readonly timestamp: bigint;
323
+ };
324
+ export declare function getPermissionsByOwnerStructHash(s: GetPermissionsByOwner): Hex;
325
+ export declare const GET_PERMISSIONS_BY_SPENDER_TYPEHASH: `0x${string}`;
326
+ export type GetPermissionsBySpender = {
327
+ readonly requester: Hex;
328
+ readonly includeExpired: boolean;
329
+ readonly timestamp: bigint;
330
+ };
331
+ export declare function getPermissionsBySpenderStructHash(s: GetPermissionsBySpender): Hex;
332
+ export declare const GET_PERMISSION_DETAILS_TYPEHASH: `0x${string}`;
333
+ export type GetPermissionDetails = {
334
+ readonly requester: Hex;
335
+ readonly permissionId: Hex;
336
+ readonly timestamp: bigint;
337
+ };
338
+ export declare function getPermissionDetailsStructHash(s: GetPermissionDetails): Hex;
339
+ export declare const GET_SPENDABLE_TYPEHASH: `0x${string}`;
340
+ export type GetSpendable = {
341
+ readonly requester: Hex;
342
+ readonly permissionId: Hex;
343
+ readonly timestamp: bigint;
344
+ };
345
+ export declare function getSpendableStructHash(s: GetSpendable): Hex;
346
+ export declare const GET_OWNER_GENERATION_TYPEHASH: `0x${string}`;
347
+ export type GetOwnerGeneration = {
348
+ readonly requester: Hex;
349
+ readonly timestamp: bigint;
350
+ };
351
+ export declare function getOwnerGenerationStructHash(s: GetOwnerGeneration): Hex;
352
+ export declare function assetMovementDigest(s: AssetMovement, domainSeparator: Hex): Hex;
353
+ export declare function callDigest(s: Call, domainSeparator: Hex): Hex;
354
+ export declare function balanceQueryDigest(s: BalanceQuery, domainSeparator: Hex): Hex;
355
+ export declare function handlePreimageDigest(s: HandlePreimage, domainSeparator: Hex): Hex;
356
+ export declare function blockDigest(s: Block, domainSeparator: Hex): Hex;
357
+ export declare function depositAttestationDigest(s: DepositAttestation, domainSeparator: Hex): Hex;
358
+ export declare function depositDigest(s: Deposit, domainSeparator: Hex): Hex;
359
+ export declare function depositAttestationRequestDigest(s: DepositAttestationRequest, domainSeparator: Hex): Hex;
360
+ export declare function permissionDigest(s: Permission, domainSeparator: Hex): Hex;
361
+ export declare function permissionAttestationRequestDigest(s: PermissionAttestationRequest, domainSeparator: Hex): Hex;
362
+ export declare function permissionAttestationPayloadDigest(s: PermissionAttestationPayload, domainSeparator: Hex): Hex;
363
+ export declare function permissionAttestationDigest(s: PermissionAttestation, domainSeparator: Hex): Hex;
364
+ export declare function transferIntentOpDigest(s: TransferIntentOp, domainSeparator: Hex): Hex;
365
+ export declare function withdrawalCoreIntentOpDigest(s: WithdrawalCoreIntentOp, domainSeparator: Hex): Hex;
366
+ export declare function withdrawalIntentOpDigest(s: WithdrawalIntentOp, domainSeparator: Hex): Hex;
367
+ export declare function defiInteractionIntentOpDigest(s: DefiInteractionIntentOp, domainSeparator: Hex): Hex;
368
+ export declare function individualRevocationIntentOpDigest(s: IndividualRevocationIntentOp, domainSeparator: Hex): Hex;
369
+ export declare function userWideRevocationIntentOpDigest(s: UserWideRevocationIntentOp, domainSeparator: Hex): Hex;
370
+ export declare function gasDigest(s: Gas, domainSeparator: Hex): Hex;
371
+ export declare function transferIntentDigest(s: TransferIntent, domainSeparator: Hex): Hex;
372
+ export declare function withdrawalIntentDigest(s: WithdrawalIntent, domainSeparator: Hex): Hex;
373
+ export declare function defiInteractionIntentDigest(s: DefiInteractionIntent, domainSeparator: Hex): Hex;
374
+ export declare function individualRevocationIntentDigest(s: IndividualRevocationIntent, domainSeparator: Hex): Hex;
375
+ export declare function userWideRevocationIntentDigest(s: UserWideRevocationIntent, domainSeparator: Hex): Hex;
376
+ export declare function delegatedTransferIntentDigest(s: DelegatedTransferIntent, domainSeparator: Hex): Hex;
377
+ export declare function delegatedWithdrawalIntentDigest(s: DelegatedWithdrawalIntent, domainSeparator: Hex): Hex;
378
+ export declare function delegatedDefiInteractionIntentDigest(s: DelegatedDefiInteractionIntent, domainSeparator: Hex): Hex;
379
+ export declare function transferDigest(s: Transfer, domainSeparator: Hex): Hex;
380
+ export declare function withdrawalCoreDigest(s: WithdrawalCore, domainSeparator: Hex): Hex;
381
+ export declare function withdrawalDigest(s: Withdrawal, domainSeparator: Hex): Hex;
382
+ export declare function defiInteractionDigest(s: DefiInteraction, domainSeparator: Hex): Hex;
383
+ export declare function individualRevocationDigest(s: IndividualRevocation, domainSeparator: Hex): Hex;
384
+ export declare function userWideRevocationDigest(s: UserWideRevocation, domainSeparator: Hex): Hex;
385
+ export declare function transferPlaintextDigest(s: TransferPlaintext, domainSeparator: Hex): Hex;
386
+ export declare function withdrawalPlaintextDigest(s: WithdrawalPlaintext, domainSeparator: Hex): Hex;
387
+ export declare function depositPlaintextDigest(s: DepositPlaintext, domainSeparator: Hex): Hex;
388
+ export declare function individualRevocationPlaintextDigest(s: IndividualRevocationPlaintext, domainSeparator: Hex): Hex;
389
+ export declare function userWideRevocationPlaintextDigest(s: UserWideRevocationPlaintext, domainSeparator: Hex): Hex;
390
+ export declare function senderEscapePlaintextDigest(s: SenderEscapePlaintext, domainSeparator: Hex): Hex;
391
+ export declare function receiverEscapePlaintextDigest(s: ReceiverEscapePlaintext, domainSeparator: Hex): Hex;
392
+ export declare function getPermissionsByOwnerDigest(s: GetPermissionsByOwner, domainSeparator: Hex): Hex;
393
+ export declare function getPermissionsBySpenderDigest(s: GetPermissionsBySpender, domainSeparator: Hex): Hex;
394
+ export declare function getPermissionDetailsDigest(s: GetPermissionDetails, domainSeparator: Hex): Hex;
395
+ export declare function getSpendableDigest(s: GetSpendable, domainSeparator: Hex): Hex;
396
+ export declare function getOwnerGenerationDigest(s: GetOwnerGeneration, domainSeparator: Hex): Hex;