@luxfi/exchange 0.1.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.
- package/dist/bridge/__tests__/use-private-teleport.test.d.ts +2 -0
- package/dist/bridge/__tests__/use-private-teleport.test.d.ts.map +1 -0
- package/dist/bridge/__tests__/use-private-teleport.test.js +272 -0
- package/dist/bridge/cross-chain-store.d.ts +57 -0
- package/dist/bridge/cross-chain-store.d.ts.map +1 -0
- package/dist/bridge/cross-chain-store.js +158 -0
- package/dist/bridge/index.d.ts +78 -0
- package/dist/bridge/index.d.ts.map +1 -0
- package/dist/bridge/index.js +79 -0
- package/dist/bridge/private-teleport-types.d.ts +634 -0
- package/dist/bridge/private-teleport-types.d.ts.map +1 -0
- package/dist/bridge/private-teleport-types.js +308 -0
- package/dist/bridge/types.d.ts +84 -0
- package/dist/bridge/types.d.ts.map +1 -0
- package/dist/bridge/types.js +37 -0
- package/dist/bridge/use-cross-chain-mint.d.ts +34 -0
- package/dist/bridge/use-cross-chain-mint.d.ts.map +1 -0
- package/dist/bridge/use-cross-chain-mint.js +228 -0
- package/dist/bridge/use-private-teleport.d.ts +69 -0
- package/dist/bridge/use-private-teleport.d.ts.map +1 -0
- package/dist/bridge/use-private-teleport.js +666 -0
- package/dist/chains/index.d.ts +6 -0
- package/dist/chains/index.d.ts.map +1 -0
- package/dist/chains/index.js +6 -0
- package/dist/chains/lux.d.ts +508 -0
- package/dist/chains/lux.d.ts.map +1 -0
- package/dist/chains/lux.js +131 -0
- package/dist/contracts/abis/dex-swap-router.d.ts +137 -0
- package/dist/contracts/abis/dex-swap-router.d.ts.map +1 -0
- package/dist/contracts/abis/dex-swap-router.js +95 -0
- package/dist/contracts/abis/erc20.d.ts +136 -0
- package/dist/contracts/abis/erc20.d.ts.map +1 -0
- package/dist/contracts/abis/erc20.js +96 -0
- package/dist/contracts/abis/index.d.ts +15 -0
- package/dist/contracts/abis/index.d.ts.map +1 -0
- package/dist/contracts/abis/index.js +15 -0
- package/dist/contracts/abis/nft-position-manager.d.ts +235 -0
- package/dist/contracts/abis/nft-position-manager.d.ts.map +1 -0
- package/dist/contracts/abis/nft-position-manager.js +146 -0
- package/dist/contracts/abis/pool-manager.d.ts +315 -0
- package/dist/contracts/abis/pool-manager.d.ts.map +1 -0
- package/dist/contracts/abis/pool-manager.js +191 -0
- package/dist/contracts/abis/quoter-v2.d.ts +103 -0
- package/dist/contracts/abis/quoter-v2.d.ts.map +1 -0
- package/dist/contracts/abis/quoter-v2.js +68 -0
- package/dist/contracts/abis/swap-router.d.ts +119 -0
- package/dist/contracts/abis/swap-router.d.ts.map +1 -0
- package/dist/contracts/abis/swap-router.js +75 -0
- package/dist/contracts/abis/uniswap-v2-factory.d.ts +75 -0
- package/dist/contracts/abis/uniswap-v2-factory.d.ts.map +1 -0
- package/dist/contracts/abis/uniswap-v2-factory.js +49 -0
- package/dist/contracts/abis/uniswap-v2-pair.d.ts +119 -0
- package/dist/contracts/abis/uniswap-v2-pair.d.ts.map +1 -0
- package/dist/contracts/abis/uniswap-v2-pair.js +85 -0
- package/dist/contracts/abis/uniswap-v2-router.d.ts +249 -0
- package/dist/contracts/abis/uniswap-v2-router.d.ts.map +1 -0
- package/dist/contracts/abis/uniswap-v2-router.js +146 -0
- package/dist/contracts/abis/uniswap-v3-factory.d.ts +77 -0
- package/dist/contracts/abis/uniswap-v3-factory.d.ts.map +1 -0
- package/dist/contracts/abis/uniswap-v3-factory.js +45 -0
- package/dist/contracts/abis/uniswap-v3-pool.d.ts +128 -0
- package/dist/contracts/abis/uniswap-v3-pool.d.ts.map +1 -0
- package/dist/contracts/abis/uniswap-v3-pool.js +81 -0
- package/dist/contracts/addresses.d.ts +141 -0
- package/dist/contracts/addresses.d.ts.map +1 -0
- package/dist/contracts/addresses.js +108 -0
- package/dist/contracts/index.d.ts +6 -0
- package/dist/contracts/index.d.ts.map +1 -0
- package/dist/contracts/index.js +5 -0
- package/dist/dex/balance-delta.d.ts +27 -0
- package/dist/dex/balance-delta.d.ts.map +1 -0
- package/dist/dex/balance-delta.js +45 -0
- package/dist/dex/index.d.ts +7 -0
- package/dist/dex/index.d.ts.map +1 -0
- package/dist/dex/index.js +6 -0
- package/dist/dex/pool-key.d.ts +19 -0
- package/dist/dex/pool-key.d.ts.map +1 -0
- package/dist/dex/pool-key.js +44 -0
- package/dist/dex/types.d.ts +71 -0
- package/dist/dex/types.d.ts.map +1 -0
- package/dist/dex/types.js +28 -0
- package/dist/hooks/index.d.ts +10 -0
- package/dist/hooks/index.d.ts.map +1 -0
- package/dist/hooks/index.js +9 -0
- package/dist/hooks/use-pools.d.ts +24 -0
- package/dist/hooks/use-pools.d.ts.map +1 -0
- package/dist/hooks/use-pools.js +85 -0
- package/dist/hooks/use-positions.d.ts +17 -0
- package/dist/hooks/use-positions.d.ts.map +1 -0
- package/dist/hooks/use-positions.js +65 -0
- package/dist/hooks/use-swap-quote.d.ts +19 -0
- package/dist/hooks/use-swap-quote.d.ts.map +1 -0
- package/dist/hooks/use-swap-quote.js +54 -0
- package/dist/hooks/use-swap.d.ts +22 -0
- package/dist/hooks/use-swap.d.ts.map +1 -0
- package/dist/hooks/use-swap.js +46 -0
- package/dist/hooks/use-token-allowance.d.ts +27 -0
- package/dist/hooks/use-token-allowance.d.ts.map +1 -0
- package/dist/hooks/use-token-allowance.js +59 -0
- package/dist/hooks/use-token-balance.d.ts +17 -0
- package/dist/hooks/use-token-balance.d.ts.map +1 -0
- package/dist/hooks/use-token-balance.js +58 -0
- package/dist/index.d.ts +17 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +24 -0
- package/dist/stores/index.d.ts +7 -0
- package/dist/stores/index.d.ts.map +1 -0
- package/dist/stores/index.js +6 -0
- package/dist/stores/settings-store.d.ts +25 -0
- package/dist/stores/settings-store.d.ts.map +1 -0
- package/dist/stores/settings-store.js +16 -0
- package/dist/stores/swap-store.d.ts +38 -0
- package/dist/stores/swap-store.d.ts.map +1 -0
- package/dist/stores/swap-store.js +58 -0
- package/dist/stores/token-store.d.ts +21 -0
- package/dist/stores/token-store.d.ts.map +1 -0
- package/dist/stores/token-store.js +32 -0
- package/dist/tokens/index.d.ts +65 -0
- package/dist/tokens/index.d.ts.map +1 -0
- package/dist/tokens/index.js +185 -0
- package/package.json +78 -0
- package/src/chains/index.ts +21 -0
- package/src/chains/lux.ts +141 -0
- package/src/contracts/abis/dex-swap-router.ts +98 -0
- package/src/contracts/abis/erc20.ts +96 -0
- package/src/contracts/abis/index.ts +17 -0
- package/src/contracts/abis/nft-position-manager.ts +146 -0
- package/src/contracts/abis/pool-manager.ts +198 -0
- package/src/contracts/abis/quoter-v2.ts +68 -0
- package/src/contracts/abis/swap-router.ts +75 -0
- package/src/contracts/abis/uniswap-v2-factory.ts +49 -0
- package/src/contracts/abis/uniswap-v2-pair.ts +85 -0
- package/src/contracts/abis/uniswap-v2-router.ts +146 -0
- package/src/contracts/abis/uniswap-v3-factory.ts +45 -0
- package/src/contracts/abis/uniswap-v3-pool.ts +81 -0
- package/src/contracts/addresses.ts +128 -0
- package/src/contracts/index.ts +14 -0
- package/src/dex/balance-delta.ts +52 -0
- package/src/dex/index.ts +7 -0
- package/src/dex/pool-key.ts +62 -0
- package/src/dex/types.ts +87 -0
- package/src/hooks/index.ts +10 -0
- package/src/hooks/use-pools.ts +116 -0
- package/src/hooks/use-positions.ts +90 -0
- package/src/hooks/use-swap-quote.ts +81 -0
- package/src/hooks/use-swap.ts +64 -0
- package/src/hooks/use-token-allowance.ts +74 -0
- package/src/hooks/use-token-balance.ts +71 -0
- package/src/index.ts +31 -0
- package/src/stores/index.ts +7 -0
- package/src/stores/settings-store.ts +54 -0
- package/src/stores/swap-store.ts +112 -0
- package/src/stores/token-store.ts +62 -0
- package/src/tokens/index.ts +220 -0
|
@@ -0,0 +1,634 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Private Teleport Types
|
|
3
|
+
*
|
|
4
|
+
* Types for cross-chain private teleportation using Z-Chain privacy layer
|
|
5
|
+
* Flow: XVM UTXO → Warp → ZNote (shielded) → Z-Chain AMM (private swap) → C-Chain/XVM
|
|
6
|
+
*/
|
|
7
|
+
/** Teleport state enum (matches contract) */
|
|
8
|
+
export declare enum TeleportState {
|
|
9
|
+
INITIATED = 0,// Waiting for Warp message
|
|
10
|
+
SHIELDED = 1,// ZNote created, amount hidden
|
|
11
|
+
SWAP_COMPLETE = 2,// Private swap completed on Z-Chain AMM
|
|
12
|
+
EXPORTED = 3,// Sending to destination chain
|
|
13
|
+
COMPLETED = 4,// Fully settled
|
|
14
|
+
CANCELLED = 5,// User or timeout cancelled
|
|
15
|
+
EXPIRED = 6
|
|
16
|
+
}
|
|
17
|
+
/** String state type for backward compatibility */
|
|
18
|
+
export type TeleportStateString = 'pending' | 'shielded' | 'swapped' | 'exporting' | 'complete' | 'cancelled' | 'expired';
|
|
19
|
+
export interface PrivateTeleportConfig {
|
|
20
|
+
/** Network ID */
|
|
21
|
+
networkId: number;
|
|
22
|
+
/** PrivateTeleport contract address */
|
|
23
|
+
teleportContract: `0x${string}`;
|
|
24
|
+
/** ZNote contract address */
|
|
25
|
+
zNoteContract: `0x${string}`;
|
|
26
|
+
/** ZChainAMM contract address */
|
|
27
|
+
zChainAMMContract: `0x${string}`;
|
|
28
|
+
/** PrivateBridge contract address */
|
|
29
|
+
privateBridgeContract: `0x${string}`;
|
|
30
|
+
/** Warp precompile address */
|
|
31
|
+
warpPrecompile: `0x${string}`;
|
|
32
|
+
/** Default deadline in seconds */
|
|
33
|
+
defaultDeadline: number;
|
|
34
|
+
/** Minimum blocks for shield protection */
|
|
35
|
+
minShieldBlocks: number;
|
|
36
|
+
}
|
|
37
|
+
export declare const DEFAULT_PRIVATE_TELEPORT_CONFIG: PrivateTeleportConfig;
|
|
38
|
+
export interface ChainInfo {
|
|
39
|
+
chainId: `0x${string}`;
|
|
40
|
+
name: string;
|
|
41
|
+
type: 'xvm' | 'cchain' | 'zchain';
|
|
42
|
+
}
|
|
43
|
+
export declare const LUX_CHAINS: Record<string, ChainInfo>;
|
|
44
|
+
/** Pedersen commitment to an amount */
|
|
45
|
+
export interface PedersenCommitment {
|
|
46
|
+
commitment: `0x${string}`;
|
|
47
|
+
/** Blinding factor (only known to owner) */
|
|
48
|
+
blindingFactor?: `0x${string}`;
|
|
49
|
+
}
|
|
50
|
+
/** FHE-encrypted value */
|
|
51
|
+
export interface EncryptedValue {
|
|
52
|
+
ciphertext: `0x${string}`;
|
|
53
|
+
/** FHE public key used for encryption */
|
|
54
|
+
publicKey: `0x${string}`;
|
|
55
|
+
}
|
|
56
|
+
/** Nullifier for spending a note */
|
|
57
|
+
export interface Nullifier {
|
|
58
|
+
nullifier: `0x${string}`;
|
|
59
|
+
/** Hash of nullifier for on-chain tracking */
|
|
60
|
+
nullifierHash: `0x${string}`;
|
|
61
|
+
}
|
|
62
|
+
/** Bulletproof range proof */
|
|
63
|
+
export interface RangeProof {
|
|
64
|
+
proof: `0x${string}`;
|
|
65
|
+
/** Commitment being proved */
|
|
66
|
+
commitment: `0x${string}`;
|
|
67
|
+
/** Range in bits (typically 64) */
|
|
68
|
+
rangeBits: number;
|
|
69
|
+
}
|
|
70
|
+
/** Merkle proof for note membership */
|
|
71
|
+
export interface MerkleProof {
|
|
72
|
+
path: `0x${string}`[];
|
|
73
|
+
indices: number[];
|
|
74
|
+
root: `0x${string}`;
|
|
75
|
+
}
|
|
76
|
+
/** ZNote - UTXO-style shielded note */
|
|
77
|
+
export interface ZNote {
|
|
78
|
+
/** Pedersen commitment */
|
|
79
|
+
commitment: `0x${string}`;
|
|
80
|
+
/** FHE-encrypted owner viewing key */
|
|
81
|
+
encryptedOwner: `0x${string}`;
|
|
82
|
+
/** FHE-encrypted value */
|
|
83
|
+
encryptedValue: `0x${string}`;
|
|
84
|
+
/** Asset identifier */
|
|
85
|
+
assetId: `0x${string}`;
|
|
86
|
+
/** Creation timestamp */
|
|
87
|
+
createdAt: bigint;
|
|
88
|
+
/** Note index in Merkle tree */
|
|
89
|
+
noteIndex: number;
|
|
90
|
+
}
|
|
91
|
+
/** Spend proof for a ZNote */
|
|
92
|
+
export interface SpendProof {
|
|
93
|
+
nullifier: `0x${string}`;
|
|
94
|
+
merkleRoot: `0x${string}`;
|
|
95
|
+
merkleProof: `0x${string}`[];
|
|
96
|
+
zkProof: `0x${string}`;
|
|
97
|
+
}
|
|
98
|
+
/** Request to initiate private teleport */
|
|
99
|
+
export interface PrivateTeleportRequest {
|
|
100
|
+
/** Source chain (typically X-Chain) */
|
|
101
|
+
sourceChain: `0x${string}`;
|
|
102
|
+
/** Destination chain */
|
|
103
|
+
destChain: `0x${string}`;
|
|
104
|
+
/** Source asset ID */
|
|
105
|
+
sourceAsset: `0x${string}`;
|
|
106
|
+
/** Destination asset (if swapping) */
|
|
107
|
+
destAsset?: `0x${string}`;
|
|
108
|
+
/** Amount to teleport (plaintext - will be encrypted) */
|
|
109
|
+
amount: bigint;
|
|
110
|
+
/** Recipient address */
|
|
111
|
+
recipient: `0x${string}`;
|
|
112
|
+
/** Deadline timestamp */
|
|
113
|
+
deadline: number;
|
|
114
|
+
/** Whether to perform private swap on Z-Chain */
|
|
115
|
+
privateSwap: boolean;
|
|
116
|
+
/** Minimum output for swap (if privateSwap) */
|
|
117
|
+
minReceive?: bigint;
|
|
118
|
+
/** Pool ID for swap (if privateSwap) */
|
|
119
|
+
poolId?: `0x${string}`;
|
|
120
|
+
}
|
|
121
|
+
/** Full teleport record with privacy metadata */
|
|
122
|
+
export interface TeleportRecord {
|
|
123
|
+
/** Unique teleport ID */
|
|
124
|
+
teleportId: `0x${string}`;
|
|
125
|
+
/** Current state */
|
|
126
|
+
state: TeleportState;
|
|
127
|
+
/** Source chain */
|
|
128
|
+
sourceChain: `0x${string}`;
|
|
129
|
+
/** Destination chain */
|
|
130
|
+
destChain: `0x${string}`;
|
|
131
|
+
/** Source asset */
|
|
132
|
+
sourceAsset: `0x${string}`;
|
|
133
|
+
/** Destination asset */
|
|
134
|
+
destAsset: `0x${string}`;
|
|
135
|
+
/** Pedersen commitment to amount */
|
|
136
|
+
noteCommitment: `0x${string}`;
|
|
137
|
+
/** FHE-encrypted amount */
|
|
138
|
+
encryptedAmount: `0x${string}`;
|
|
139
|
+
/** Nullifier hash (when spent) */
|
|
140
|
+
nullifierHash?: `0x${string}`;
|
|
141
|
+
/** Sender address */
|
|
142
|
+
sender: `0x${string}`;
|
|
143
|
+
/** Recipient address */
|
|
144
|
+
recipient: `0x${string}`;
|
|
145
|
+
/** Deadline timestamp */
|
|
146
|
+
deadline: number;
|
|
147
|
+
/** Block when teleport was created */
|
|
148
|
+
createdBlock: number;
|
|
149
|
+
/** Whether private swap is enabled */
|
|
150
|
+
privateSwap: boolean;
|
|
151
|
+
/** ZNote if created */
|
|
152
|
+
note?: ZNote;
|
|
153
|
+
/** Merkle proof for export */
|
|
154
|
+
merkleProof?: MerkleProof;
|
|
155
|
+
/** Range proof for withdrawal */
|
|
156
|
+
rangeProof?: RangeProof;
|
|
157
|
+
}
|
|
158
|
+
/** Private pool on Z-Chain AMM */
|
|
159
|
+
export interface PrivatePool {
|
|
160
|
+
poolId: `0x${string}`;
|
|
161
|
+
assetA: `0x${string}`;
|
|
162
|
+
assetB: `0x${string}`;
|
|
163
|
+
/** FHE-encrypted reserve A */
|
|
164
|
+
encryptedReserveA: `0x${string}`;
|
|
165
|
+
/** FHE-encrypted reserve B */
|
|
166
|
+
encryptedReserveB: `0x${string}`;
|
|
167
|
+
/** Fee rate in basis points */
|
|
168
|
+
feeRate: number;
|
|
169
|
+
active: boolean;
|
|
170
|
+
}
|
|
171
|
+
/** Private swap request */
|
|
172
|
+
export interface PrivateSwapRequest {
|
|
173
|
+
poolId: `0x${string}`;
|
|
174
|
+
/** FHE-encrypted input amount */
|
|
175
|
+
encryptedInput: `0x${string}`;
|
|
176
|
+
/** FHE-encrypted minimum output */
|
|
177
|
+
encryptedMinOutput: `0x${string}`;
|
|
178
|
+
/** Input note nullifier */
|
|
179
|
+
inputNullifier: `0x${string}`;
|
|
180
|
+
/** Output note commitment */
|
|
181
|
+
outputCommitment: `0x${string}`;
|
|
182
|
+
/** ZK proof of valid swap */
|
|
183
|
+
swapProof: `0x${string}`;
|
|
184
|
+
}
|
|
185
|
+
/** Warp message for teleport */
|
|
186
|
+
export interface TeleportWarpMessage {
|
|
187
|
+
/** Source chain ID */
|
|
188
|
+
sourceChainId: `0x${string}`;
|
|
189
|
+
/** Source asset */
|
|
190
|
+
sourceAsset: `0x${string}`;
|
|
191
|
+
/** Sender address (X-Chain format) */
|
|
192
|
+
sender: string;
|
|
193
|
+
/** Deadline timestamp */
|
|
194
|
+
deadline: number;
|
|
195
|
+
/** Pedersen commitment */
|
|
196
|
+
commitment: `0x${string}`;
|
|
197
|
+
/** FHE-encrypted amount */
|
|
198
|
+
encryptedAmount: `0x${string}`;
|
|
199
|
+
/** BLS aggregated signature */
|
|
200
|
+
signature: `0x${string}`;
|
|
201
|
+
/** Signing validators */
|
|
202
|
+
signers: `0x${string}`[];
|
|
203
|
+
}
|
|
204
|
+
/** Input for generating Pedersen commitment */
|
|
205
|
+
export interface CommitmentInput {
|
|
206
|
+
amount: bigint;
|
|
207
|
+
blindingFactor?: `0x${string}`;
|
|
208
|
+
asset: `0x${string}`;
|
|
209
|
+
nonce?: `0x${string}`;
|
|
210
|
+
}
|
|
211
|
+
/** Input for generating nullifier */
|
|
212
|
+
export interface NullifierInput {
|
|
213
|
+
commitment: `0x${string}`;
|
|
214
|
+
/** Secret spending key */
|
|
215
|
+
spendingKey: `0x${string}`;
|
|
216
|
+
noteIndex: number;
|
|
217
|
+
}
|
|
218
|
+
/** Input for generating range proof */
|
|
219
|
+
export interface RangeProofInput {
|
|
220
|
+
amount: bigint;
|
|
221
|
+
commitment: `0x${string}`;
|
|
222
|
+
blindingFactor: `0x${string}`;
|
|
223
|
+
rangeBits?: number;
|
|
224
|
+
}
|
|
225
|
+
export declare const PRIVATE_TELEPORT_ABI: readonly [{
|
|
226
|
+
readonly name: "initiateTeleport";
|
|
227
|
+
readonly type: "function";
|
|
228
|
+
readonly stateMutability: "nonpayable";
|
|
229
|
+
readonly inputs: readonly [{
|
|
230
|
+
readonly name: "warpMessage";
|
|
231
|
+
readonly type: "bytes";
|
|
232
|
+
}, {
|
|
233
|
+
readonly name: "commitment";
|
|
234
|
+
readonly type: "bytes32";
|
|
235
|
+
}, {
|
|
236
|
+
readonly name: "encryptedAmount";
|
|
237
|
+
readonly type: "bytes32";
|
|
238
|
+
}, {
|
|
239
|
+
readonly name: "recipient";
|
|
240
|
+
readonly type: "address";
|
|
241
|
+
}, {
|
|
242
|
+
readonly name: "destChain";
|
|
243
|
+
readonly type: "bytes32";
|
|
244
|
+
}, {
|
|
245
|
+
readonly name: "destAsset";
|
|
246
|
+
readonly type: "bytes32";
|
|
247
|
+
}, {
|
|
248
|
+
readonly name: "privateSwap";
|
|
249
|
+
readonly type: "bool";
|
|
250
|
+
}];
|
|
251
|
+
readonly outputs: readonly [{
|
|
252
|
+
readonly name: "teleportId";
|
|
253
|
+
readonly type: "bytes32";
|
|
254
|
+
}];
|
|
255
|
+
}, {
|
|
256
|
+
readonly name: "executePrivateSwap";
|
|
257
|
+
readonly type: "function";
|
|
258
|
+
readonly stateMutability: "nonpayable";
|
|
259
|
+
readonly inputs: readonly [{
|
|
260
|
+
readonly name: "teleportId";
|
|
261
|
+
readonly type: "bytes32";
|
|
262
|
+
}, {
|
|
263
|
+
readonly name: "poolId";
|
|
264
|
+
readonly type: "bytes32";
|
|
265
|
+
}, {
|
|
266
|
+
readonly name: "minOutput";
|
|
267
|
+
readonly type: "bytes32";
|
|
268
|
+
}, {
|
|
269
|
+
readonly name: "proof";
|
|
270
|
+
readonly type: "bytes";
|
|
271
|
+
}];
|
|
272
|
+
readonly outputs: readonly [];
|
|
273
|
+
}, {
|
|
274
|
+
readonly name: "exportToDestination";
|
|
275
|
+
readonly type: "function";
|
|
276
|
+
readonly stateMutability: "nonpayable";
|
|
277
|
+
readonly inputs: readonly [{
|
|
278
|
+
readonly name: "teleportId";
|
|
279
|
+
readonly type: "bytes32";
|
|
280
|
+
}, {
|
|
281
|
+
readonly name: "rangeProof";
|
|
282
|
+
readonly type: "bytes";
|
|
283
|
+
}, {
|
|
284
|
+
readonly name: "nullifier";
|
|
285
|
+
readonly type: "bytes32";
|
|
286
|
+
}, {
|
|
287
|
+
readonly name: "merkleProof";
|
|
288
|
+
readonly type: "bytes32[]";
|
|
289
|
+
}];
|
|
290
|
+
readonly outputs: readonly [];
|
|
291
|
+
}, {
|
|
292
|
+
readonly name: "unshieldToXChain";
|
|
293
|
+
readonly type: "function";
|
|
294
|
+
readonly stateMutability: "nonpayable";
|
|
295
|
+
readonly inputs: readonly [{
|
|
296
|
+
readonly name: "teleportId";
|
|
297
|
+
readonly type: "bytes32";
|
|
298
|
+
}, {
|
|
299
|
+
readonly name: "destinationAddress";
|
|
300
|
+
readonly type: "bytes";
|
|
301
|
+
}, {
|
|
302
|
+
readonly name: "amount";
|
|
303
|
+
readonly type: "uint64";
|
|
304
|
+
}, {
|
|
305
|
+
readonly name: "nullifier";
|
|
306
|
+
readonly type: "bytes32";
|
|
307
|
+
}, {
|
|
308
|
+
readonly name: "merkleProof";
|
|
309
|
+
readonly type: "bytes32[]";
|
|
310
|
+
}, {
|
|
311
|
+
readonly name: "rangeProof";
|
|
312
|
+
readonly type: "bytes";
|
|
313
|
+
}];
|
|
314
|
+
readonly outputs: readonly [{
|
|
315
|
+
readonly name: "exportTxId";
|
|
316
|
+
readonly type: "bytes32";
|
|
317
|
+
}];
|
|
318
|
+
}, {
|
|
319
|
+
readonly name: "privateTransferToRecipient";
|
|
320
|
+
readonly type: "function";
|
|
321
|
+
readonly stateMutability: "nonpayable";
|
|
322
|
+
readonly inputs: readonly [{
|
|
323
|
+
readonly name: "teleportId";
|
|
324
|
+
readonly type: "bytes32";
|
|
325
|
+
}, {
|
|
326
|
+
readonly name: "recipientCommitment";
|
|
327
|
+
readonly type: "bytes32";
|
|
328
|
+
}, {
|
|
329
|
+
readonly name: "encryptedNote";
|
|
330
|
+
readonly type: "bytes";
|
|
331
|
+
}, {
|
|
332
|
+
readonly name: "nullifier";
|
|
333
|
+
readonly type: "bytes32";
|
|
334
|
+
}, {
|
|
335
|
+
readonly name: "merkleProof";
|
|
336
|
+
readonly type: "bytes32[]";
|
|
337
|
+
}, {
|
|
338
|
+
readonly name: "transferProof";
|
|
339
|
+
readonly type: "bytes";
|
|
340
|
+
}];
|
|
341
|
+
readonly outputs: readonly [{
|
|
342
|
+
readonly name: "newNoteIndex";
|
|
343
|
+
readonly type: "uint256";
|
|
344
|
+
}];
|
|
345
|
+
}, {
|
|
346
|
+
readonly name: "splitAndTransfer";
|
|
347
|
+
readonly type: "function";
|
|
348
|
+
readonly stateMutability: "nonpayable";
|
|
349
|
+
readonly inputs: readonly [{
|
|
350
|
+
readonly name: "teleportId";
|
|
351
|
+
readonly type: "bytes32";
|
|
352
|
+
}, {
|
|
353
|
+
readonly name: "outputs";
|
|
354
|
+
readonly type: "tuple[]";
|
|
355
|
+
readonly components: readonly [{
|
|
356
|
+
readonly name: "commitment";
|
|
357
|
+
readonly type: "bytes32";
|
|
358
|
+
}, {
|
|
359
|
+
readonly name: "encryptedNote";
|
|
360
|
+
readonly type: "bytes";
|
|
361
|
+
}, {
|
|
362
|
+
readonly name: "encryptedMemo";
|
|
363
|
+
readonly type: "bytes";
|
|
364
|
+
}];
|
|
365
|
+
}, {
|
|
366
|
+
readonly name: "nullifier";
|
|
367
|
+
readonly type: "bytes32";
|
|
368
|
+
}, {
|
|
369
|
+
readonly name: "merkleProof";
|
|
370
|
+
readonly type: "bytes32[]";
|
|
371
|
+
}, {
|
|
372
|
+
readonly name: "splitProof";
|
|
373
|
+
readonly type: "bytes";
|
|
374
|
+
}];
|
|
375
|
+
readonly outputs: readonly [{
|
|
376
|
+
readonly name: "noteIndices";
|
|
377
|
+
readonly type: "uint256[]";
|
|
378
|
+
}];
|
|
379
|
+
}, {
|
|
380
|
+
readonly name: "completeTeleport";
|
|
381
|
+
readonly type: "function";
|
|
382
|
+
readonly stateMutability: "nonpayable";
|
|
383
|
+
readonly inputs: readonly [{
|
|
384
|
+
readonly name: "teleportId";
|
|
385
|
+
readonly type: "bytes32";
|
|
386
|
+
}, {
|
|
387
|
+
readonly name: "warpConfirmation";
|
|
388
|
+
readonly type: "bytes";
|
|
389
|
+
}];
|
|
390
|
+
readonly outputs: readonly [];
|
|
391
|
+
}, {
|
|
392
|
+
readonly name: "cancelTeleport";
|
|
393
|
+
readonly type: "function";
|
|
394
|
+
readonly stateMutability: "nonpayable";
|
|
395
|
+
readonly inputs: readonly [{
|
|
396
|
+
readonly name: "teleportId";
|
|
397
|
+
readonly type: "bytes32";
|
|
398
|
+
}];
|
|
399
|
+
readonly outputs: readonly [];
|
|
400
|
+
}, {
|
|
401
|
+
readonly name: "getTeleport";
|
|
402
|
+
readonly type: "function";
|
|
403
|
+
readonly stateMutability: "view";
|
|
404
|
+
readonly inputs: readonly [{
|
|
405
|
+
readonly name: "teleportId";
|
|
406
|
+
readonly type: "bytes32";
|
|
407
|
+
}];
|
|
408
|
+
readonly outputs: readonly [{
|
|
409
|
+
readonly name: "";
|
|
410
|
+
readonly type: "tuple";
|
|
411
|
+
readonly components: readonly [{
|
|
412
|
+
readonly name: "teleportId";
|
|
413
|
+
readonly type: "bytes32";
|
|
414
|
+
}, {
|
|
415
|
+
readonly name: "state";
|
|
416
|
+
readonly type: "uint8";
|
|
417
|
+
}, {
|
|
418
|
+
readonly name: "sourceChain";
|
|
419
|
+
readonly type: "bytes32";
|
|
420
|
+
}, {
|
|
421
|
+
readonly name: "destChain";
|
|
422
|
+
readonly type: "bytes32";
|
|
423
|
+
}, {
|
|
424
|
+
readonly name: "sourceAsset";
|
|
425
|
+
readonly type: "bytes32";
|
|
426
|
+
}, {
|
|
427
|
+
readonly name: "destAsset";
|
|
428
|
+
readonly type: "bytes32";
|
|
429
|
+
}, {
|
|
430
|
+
readonly name: "noteCommitment";
|
|
431
|
+
readonly type: "bytes32";
|
|
432
|
+
}, {
|
|
433
|
+
readonly name: "encryptedAmount";
|
|
434
|
+
readonly type: "bytes32";
|
|
435
|
+
}, {
|
|
436
|
+
readonly name: "nullifierHash";
|
|
437
|
+
readonly type: "bytes32";
|
|
438
|
+
}, {
|
|
439
|
+
readonly name: "sender";
|
|
440
|
+
readonly type: "address";
|
|
441
|
+
}, {
|
|
442
|
+
readonly name: "recipient";
|
|
443
|
+
readonly type: "address";
|
|
444
|
+
}, {
|
|
445
|
+
readonly name: "deadline";
|
|
446
|
+
readonly type: "uint256";
|
|
447
|
+
}, {
|
|
448
|
+
readonly name: "createdBlock";
|
|
449
|
+
readonly type: "uint256";
|
|
450
|
+
}, {
|
|
451
|
+
readonly name: "privateSwap";
|
|
452
|
+
readonly type: "bool";
|
|
453
|
+
}];
|
|
454
|
+
}];
|
|
455
|
+
}, {
|
|
456
|
+
readonly name: "isComplete";
|
|
457
|
+
readonly type: "function";
|
|
458
|
+
readonly stateMutability: "view";
|
|
459
|
+
readonly inputs: readonly [{
|
|
460
|
+
readonly name: "teleportId";
|
|
461
|
+
readonly type: "bytes32";
|
|
462
|
+
}];
|
|
463
|
+
readonly outputs: readonly [{
|
|
464
|
+
readonly name: "";
|
|
465
|
+
readonly type: "bool";
|
|
466
|
+
}];
|
|
467
|
+
}, {
|
|
468
|
+
readonly name: "isExpired";
|
|
469
|
+
readonly type: "function";
|
|
470
|
+
readonly stateMutability: "view";
|
|
471
|
+
readonly inputs: readonly [{
|
|
472
|
+
readonly name: "teleportId";
|
|
473
|
+
readonly type: "bytes32";
|
|
474
|
+
}];
|
|
475
|
+
readonly outputs: readonly [{
|
|
476
|
+
readonly name: "";
|
|
477
|
+
readonly type: "bool";
|
|
478
|
+
}];
|
|
479
|
+
}];
|
|
480
|
+
export declare const ZNOTE_ABI: readonly [{
|
|
481
|
+
readonly name: "importFromXChain";
|
|
482
|
+
readonly type: "function";
|
|
483
|
+
readonly stateMutability: "nonpayable";
|
|
484
|
+
readonly inputs: readonly [{
|
|
485
|
+
readonly name: "commitment";
|
|
486
|
+
readonly type: "bytes32";
|
|
487
|
+
}, {
|
|
488
|
+
readonly name: "encryptedAmount";
|
|
489
|
+
readonly type: "bytes32";
|
|
490
|
+
}, {
|
|
491
|
+
readonly name: "assetId";
|
|
492
|
+
readonly type: "bytes32";
|
|
493
|
+
}, {
|
|
494
|
+
readonly name: "recipient";
|
|
495
|
+
readonly type: "address";
|
|
496
|
+
}];
|
|
497
|
+
readonly outputs: readonly [{
|
|
498
|
+
readonly name: "noteIndex";
|
|
499
|
+
readonly type: "uint256";
|
|
500
|
+
}];
|
|
501
|
+
}, {
|
|
502
|
+
readonly name: "verifyMerkleProof";
|
|
503
|
+
readonly type: "function";
|
|
504
|
+
readonly stateMutability: "view";
|
|
505
|
+
readonly inputs: readonly [{
|
|
506
|
+
readonly name: "proof";
|
|
507
|
+
readonly type: "bytes32[]";
|
|
508
|
+
}, {
|
|
509
|
+
readonly name: "commitment";
|
|
510
|
+
readonly type: "bytes32";
|
|
511
|
+
}];
|
|
512
|
+
readonly outputs: readonly [{
|
|
513
|
+
readonly name: "";
|
|
514
|
+
readonly type: "bool";
|
|
515
|
+
}];
|
|
516
|
+
}, {
|
|
517
|
+
readonly name: "getMerkleProof";
|
|
518
|
+
readonly type: "function";
|
|
519
|
+
readonly stateMutability: "view";
|
|
520
|
+
readonly inputs: readonly [{
|
|
521
|
+
readonly name: "noteIndex";
|
|
522
|
+
readonly type: "uint256";
|
|
523
|
+
}];
|
|
524
|
+
readonly outputs: readonly [{
|
|
525
|
+
readonly name: "proof";
|
|
526
|
+
readonly type: "bytes32[]";
|
|
527
|
+
}];
|
|
528
|
+
}, {
|
|
529
|
+
readonly name: "getNoteRoot";
|
|
530
|
+
readonly type: "function";
|
|
531
|
+
readonly stateMutability: "view";
|
|
532
|
+
readonly inputs: readonly [];
|
|
533
|
+
readonly outputs: readonly [{
|
|
534
|
+
readonly name: "";
|
|
535
|
+
readonly type: "bytes32";
|
|
536
|
+
}];
|
|
537
|
+
}, {
|
|
538
|
+
readonly name: "getNote";
|
|
539
|
+
readonly type: "function";
|
|
540
|
+
readonly stateMutability: "view";
|
|
541
|
+
readonly inputs: readonly [{
|
|
542
|
+
readonly name: "commitment";
|
|
543
|
+
readonly type: "bytes32";
|
|
544
|
+
}];
|
|
545
|
+
readonly outputs: readonly [{
|
|
546
|
+
readonly name: "";
|
|
547
|
+
readonly type: "tuple";
|
|
548
|
+
readonly components: readonly [{
|
|
549
|
+
readonly name: "commitment";
|
|
550
|
+
readonly type: "bytes32";
|
|
551
|
+
}, {
|
|
552
|
+
readonly name: "encryptedOwner";
|
|
553
|
+
readonly type: "bytes";
|
|
554
|
+
}, {
|
|
555
|
+
readonly name: "encryptedValue";
|
|
556
|
+
readonly type: "bytes";
|
|
557
|
+
}, {
|
|
558
|
+
readonly name: "assetId";
|
|
559
|
+
readonly type: "bytes32";
|
|
560
|
+
}, {
|
|
561
|
+
readonly name: "createdAt";
|
|
562
|
+
readonly type: "uint64";
|
|
563
|
+
}];
|
|
564
|
+
}];
|
|
565
|
+
}];
|
|
566
|
+
export declare const ZCHAIN_AMM_ABI: readonly [{
|
|
567
|
+
readonly name: "swapEncrypted";
|
|
568
|
+
readonly type: "function";
|
|
569
|
+
readonly stateMutability: "nonpayable";
|
|
570
|
+
readonly inputs: readonly [{
|
|
571
|
+
readonly name: "poolId";
|
|
572
|
+
readonly type: "bytes32";
|
|
573
|
+
}, {
|
|
574
|
+
readonly name: "encryptedAmount";
|
|
575
|
+
readonly type: "bytes32";
|
|
576
|
+
}, {
|
|
577
|
+
readonly name: "encryptedMinOutput";
|
|
578
|
+
readonly type: "bytes32";
|
|
579
|
+
}, {
|
|
580
|
+
readonly name: "recipient";
|
|
581
|
+
readonly type: "address";
|
|
582
|
+
}];
|
|
583
|
+
readonly outputs: readonly [{
|
|
584
|
+
readonly name: "outputCommitment";
|
|
585
|
+
readonly type: "bytes32";
|
|
586
|
+
}];
|
|
587
|
+
}, {
|
|
588
|
+
readonly name: "verifySwapProof";
|
|
589
|
+
readonly type: "function";
|
|
590
|
+
readonly stateMutability: "view";
|
|
591
|
+
readonly inputs: readonly [{
|
|
592
|
+
readonly name: "proof";
|
|
593
|
+
readonly type: "bytes";
|
|
594
|
+
}, {
|
|
595
|
+
readonly name: "commitment";
|
|
596
|
+
readonly type: "bytes32";
|
|
597
|
+
}, {
|
|
598
|
+
readonly name: "poolId";
|
|
599
|
+
readonly type: "bytes32";
|
|
600
|
+
}];
|
|
601
|
+
readonly outputs: readonly [{
|
|
602
|
+
readonly name: "";
|
|
603
|
+
readonly type: "bool";
|
|
604
|
+
}];
|
|
605
|
+
}, {
|
|
606
|
+
readonly name: "getPool";
|
|
607
|
+
readonly type: "function";
|
|
608
|
+
readonly stateMutability: "view";
|
|
609
|
+
readonly inputs: readonly [{
|
|
610
|
+
readonly name: "poolId";
|
|
611
|
+
readonly type: "bytes32";
|
|
612
|
+
}];
|
|
613
|
+
readonly outputs: readonly [{
|
|
614
|
+
readonly name: "";
|
|
615
|
+
readonly type: "tuple";
|
|
616
|
+
readonly components: readonly [{
|
|
617
|
+
readonly name: "poolId";
|
|
618
|
+
readonly type: "bytes32";
|
|
619
|
+
}, {
|
|
620
|
+
readonly name: "assetA";
|
|
621
|
+
readonly type: "bytes32";
|
|
622
|
+
}, {
|
|
623
|
+
readonly name: "assetB";
|
|
624
|
+
readonly type: "bytes32";
|
|
625
|
+
}, {
|
|
626
|
+
readonly name: "feeRate";
|
|
627
|
+
readonly type: "uint16";
|
|
628
|
+
}, {
|
|
629
|
+
readonly name: "active";
|
|
630
|
+
readonly type: "bool";
|
|
631
|
+
}];
|
|
632
|
+
}];
|
|
633
|
+
}];
|
|
634
|
+
//# sourceMappingURL=private-teleport-types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"private-teleport-types.d.ts","sourceRoot":"","sources":["../../src/bridge/private-teleport-types.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAMH,6CAA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