@wormhole-foundation/sdk-definitions-ntt 0.7.1 → 0.9.0-executor.beta.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/cjs/index.d.ts +1 -0
- package/dist/cjs/index.d.ts.map +1 -1
- package/dist/cjs/index.js +1 -0
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/layouts/index.d.ts +19 -19
- package/dist/cjs/layouts/manager.d.ts +1 -1
- package/dist/cjs/layouts/transceiver.d.ts +4 -4
- package/dist/cjs/layouts/transceiverInstructions.d.ts +1 -1
- package/dist/cjs/layouts/transfer.d.ts +2 -2
- package/dist/cjs/layouts/wormhole.d.ts +2 -2
- package/dist/cjs/ntt.d.ts +0 -2
- package/dist/cjs/ntt.d.ts.map +1 -1
- package/dist/cjs/ntt.js.map +1 -1
- package/dist/cjs/nttWithExecutor.d.ts +35 -0
- package/dist/cjs/nttWithExecutor.d.ts.map +1 -0
- package/dist/cjs/nttWithExecutor.js +3 -0
- package/dist/cjs/nttWithExecutor.js.map +1 -0
- package/dist/esm/index.d.ts +1 -0
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +1 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/layouts/index.d.ts +19 -19
- package/dist/esm/layouts/manager.d.ts +1 -1
- package/dist/esm/layouts/transceiver.d.ts +4 -4
- package/dist/esm/layouts/transceiverInstructions.d.ts +1 -1
- package/dist/esm/layouts/transfer.d.ts +2 -2
- package/dist/esm/layouts/wormhole.d.ts +2 -2
- package/dist/esm/ntt.d.ts +0 -2
- package/dist/esm/ntt.d.ts.map +1 -1
- package/dist/esm/ntt.js.map +1 -1
- package/dist/esm/nttWithExecutor.d.ts +35 -0
- package/dist/esm/nttWithExecutor.d.ts.map +1 -0
- package/dist/esm/nttWithExecutor.js +2 -0
- package/dist/esm/nttWithExecutor.js.map +1 -0
- package/package.json +3 -3
package/dist/cjs/index.d.ts
CHANGED
package/dist/cjs/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAKA,cAAc,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAKA,cAAc,UAAU,CAAC;AACzB,cAAc,sBAAsB,CAAC;AAErC,cAAc,oBAAoB,CAAC;AACnC,mBAAmB,oBAAoB,CAAC"}
|
package/dist/cjs/index.js
CHANGED
|
@@ -18,5 +18,6 @@ const sdk_definitions_1 = require("@wormhole-foundation/sdk-definitions");
|
|
|
18
18
|
const index_js_1 = require("./layouts/index.js");
|
|
19
19
|
(0, sdk_definitions_1.registerPayloadTypes)("Ntt", index_js_1.nttNamedPayloads);
|
|
20
20
|
__exportStar(require("./ntt.js"), exports);
|
|
21
|
+
__exportStar(require("./nttWithExecutor.js"), exports);
|
|
21
22
|
__exportStar(require("./layouts/index.js"), exports);
|
|
22
23
|
//# sourceMappingURL=index.js.map
|
package/dist/cjs/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0EAA4E;AAC5E,iDAAsD;AAEtD,IAAA,sCAAoB,EAAC,KAAK,EAAE,2BAAgB,CAAC,CAAC;AAE9C,2CAAyB;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0EAA4E;AAC5E,iDAAsD;AAEtD,IAAA,sCAAoB,EAAC,KAAK,EAAE,2BAAgB,CAAC,CAAC;AAE9C,2CAAyB;AACzB,uDAAqC;AAErC,qDAAmC"}
|
|
@@ -20,7 +20,7 @@ export declare const nttNamedPayloads: readonly [readonly ["WormholeTransfer", r
|
|
|
20
20
|
from: (val: import("@wormhole-foundation/sdk-definitions").UniversalAddress) => Uint8Array;
|
|
21
21
|
};
|
|
22
22
|
readonly name: "recipientNttManager";
|
|
23
|
-
}, import("
|
|
23
|
+
}, import("binary-layout").CustomizableBytesReturn<{
|
|
24
24
|
readonly name: "nttManagerPayload";
|
|
25
25
|
readonly lengthSize: 2;
|
|
26
26
|
}, readonly [{
|
|
@@ -35,7 +35,7 @@ export declare const nttNamedPayloads: readonly [readonly ["WormholeTransfer", r
|
|
|
35
35
|
from: (val: import("@wormhole-foundation/sdk-definitions").UniversalAddress) => Uint8Array;
|
|
36
36
|
};
|
|
37
37
|
readonly name: "sender";
|
|
38
|
-
}, import("
|
|
38
|
+
}, import("binary-layout").CustomizableBytesReturn<{
|
|
39
39
|
readonly name: "payload";
|
|
40
40
|
readonly lengthSize: 2;
|
|
41
41
|
}, readonly [{
|
|
@@ -73,8 +73,8 @@ export declare const nttNamedPayloads: readonly [readonly ["WormholeTransfer", r
|
|
|
73
73
|
readonly name: "recipientAddress";
|
|
74
74
|
}, {
|
|
75
75
|
readonly custom: {
|
|
76
|
-
to: (val: number) => "Solana" | "Ethereum" | "
|
|
77
|
-
from: (val: "Solana" | "Ethereum" | "
|
|
76
|
+
to: (val: number) => "Solana" | "Ethereum" | "Bsc" | "Polygon" | "Avalanche" | "Algorand" | "Fantom" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Btc" | "Base" | "Sei" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Snaxchain" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "Mezo" | "Sonic" | "Converge" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
|
|
77
|
+
from: (val: "Solana" | "Ethereum" | "Bsc" | "Polygon" | "Avalanche" | "Algorand" | "Fantom" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Btc" | "Base" | "Sei" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Snaxchain" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "Mezo" | "Sonic" | "Converge" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia") => number;
|
|
78
78
|
};
|
|
79
79
|
readonly binary: "uint";
|
|
80
80
|
readonly size: 2;
|
|
@@ -86,7 +86,7 @@ export declare const nttNamedPayloads: readonly [readonly ["WormholeTransfer", r
|
|
|
86
86
|
from: (val: Uint8Array) => Uint8Array;
|
|
87
87
|
};
|
|
88
88
|
readonly name: "additionalPayload";
|
|
89
|
-
}]>]>, import("
|
|
89
|
+
}]>]>, import("binary-layout").CustomizableBytesReturn<{
|
|
90
90
|
readonly name: "transceiverPayload";
|
|
91
91
|
readonly lengthSize: 2;
|
|
92
92
|
}, Uint8Array>]], readonly ["WormholeTransferStandardRelayer", readonly [{
|
|
@@ -99,8 +99,8 @@ export declare const nttNamedPayloads: readonly [readonly ["WormholeTransfer", r
|
|
|
99
99
|
readonly binary: "bytes";
|
|
100
100
|
readonly layout: readonly [{
|
|
101
101
|
readonly custom: {
|
|
102
|
-
to: (val: number) => "Solana" | "Ethereum" | "
|
|
103
|
-
from: (val: "Solana" | "Ethereum" | "
|
|
102
|
+
to: (val: number) => "Solana" | "Ethereum" | "Bsc" | "Polygon" | "Avalanche" | "Algorand" | "Fantom" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Btc" | "Base" | "Sei" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Snaxchain" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "Mezo" | "Sonic" | "Converge" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
|
|
103
|
+
from: (val: "Solana" | "Ethereum" | "Bsc" | "Polygon" | "Avalanche" | "Algorand" | "Fantom" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Btc" | "Base" | "Sei" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Snaxchain" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "Mezo" | "Sonic" | "Converge" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia") => number;
|
|
104
104
|
};
|
|
105
105
|
readonly binary: "uint";
|
|
106
106
|
readonly size: 2;
|
|
@@ -115,7 +115,7 @@ export declare const nttNamedPayloads: readonly [readonly ["WormholeTransfer", r
|
|
|
115
115
|
readonly name: "address";
|
|
116
116
|
}];
|
|
117
117
|
readonly name: "target";
|
|
118
|
-
}, import("
|
|
118
|
+
}, import("binary-layout").CustomizableBytesReturn<{
|
|
119
119
|
readonly name: "payload";
|
|
120
120
|
readonly lengthSize: 4;
|
|
121
121
|
}, readonly [{
|
|
@@ -139,7 +139,7 @@ export declare const nttNamedPayloads: readonly [readonly ["WormholeTransfer", r
|
|
|
139
139
|
from: (val: import("@wormhole-foundation/sdk-definitions").UniversalAddress) => Uint8Array;
|
|
140
140
|
};
|
|
141
141
|
readonly name: "recipientNttManager";
|
|
142
|
-
}, import("
|
|
142
|
+
}, import("binary-layout").CustomizableBytesReturn<{
|
|
143
143
|
readonly name: "nttManagerPayload";
|
|
144
144
|
readonly lengthSize: 2;
|
|
145
145
|
}, readonly [{
|
|
@@ -154,7 +154,7 @@ export declare const nttNamedPayloads: readonly [readonly ["WormholeTransfer", r
|
|
|
154
154
|
from: (val: import("@wormhole-foundation/sdk-definitions").UniversalAddress) => Uint8Array;
|
|
155
155
|
};
|
|
156
156
|
readonly name: "sender";
|
|
157
|
-
}, import("
|
|
157
|
+
}, import("binary-layout").CustomizableBytesReturn<{
|
|
158
158
|
readonly name: "payload";
|
|
159
159
|
readonly lengthSize: 2;
|
|
160
160
|
}, readonly [{
|
|
@@ -192,8 +192,8 @@ export declare const nttNamedPayloads: readonly [readonly ["WormholeTransfer", r
|
|
|
192
192
|
readonly name: "recipientAddress";
|
|
193
193
|
}, {
|
|
194
194
|
readonly custom: {
|
|
195
|
-
to: (val: number) => "Solana" | "Ethereum" | "
|
|
196
|
-
from: (val: "Solana" | "Ethereum" | "
|
|
195
|
+
to: (val: number) => "Solana" | "Ethereum" | "Bsc" | "Polygon" | "Avalanche" | "Algorand" | "Fantom" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Btc" | "Base" | "Sei" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Snaxchain" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "Mezo" | "Sonic" | "Converge" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
|
|
196
|
+
from: (val: "Solana" | "Ethereum" | "Bsc" | "Polygon" | "Avalanche" | "Algorand" | "Fantom" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Btc" | "Base" | "Sei" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Snaxchain" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "Mezo" | "Sonic" | "Converge" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia") => number;
|
|
197
197
|
};
|
|
198
198
|
readonly binary: "uint";
|
|
199
199
|
readonly size: 2;
|
|
@@ -205,7 +205,7 @@ export declare const nttNamedPayloads: readonly [readonly ["WormholeTransfer", r
|
|
|
205
205
|
from: (val: Uint8Array) => Uint8Array;
|
|
206
206
|
};
|
|
207
207
|
readonly name: "additionalPayload";
|
|
208
|
-
}]>]>, import("
|
|
208
|
+
}]>]>, import("binary-layout").CustomizableBytesReturn<{
|
|
209
209
|
readonly name: "transceiverPayload";
|
|
210
210
|
readonly lengthSize: 2;
|
|
211
211
|
}, Uint8Array>]>, {
|
|
@@ -250,8 +250,8 @@ export declare const nttNamedPayloads: readonly [readonly ["WormholeTransfer", r
|
|
|
250
250
|
readonly binary: "bytes";
|
|
251
251
|
readonly layout: readonly [{
|
|
252
252
|
readonly custom: {
|
|
253
|
-
to: (val: number) => "Solana" | "Ethereum" | "
|
|
254
|
-
from: (val: "Solana" | "Ethereum" | "
|
|
253
|
+
to: (val: number) => "Solana" | "Ethereum" | "Bsc" | "Polygon" | "Avalanche" | "Algorand" | "Fantom" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Btc" | "Base" | "Sei" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Snaxchain" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "Mezo" | "Sonic" | "Converge" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
|
|
254
|
+
from: (val: "Solana" | "Ethereum" | "Bsc" | "Polygon" | "Avalanche" | "Algorand" | "Fantom" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Btc" | "Base" | "Sei" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Snaxchain" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "Mezo" | "Sonic" | "Converge" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia") => number;
|
|
255
255
|
};
|
|
256
256
|
readonly binary: "uint";
|
|
257
257
|
readonly size: 2;
|
|
@@ -300,8 +300,8 @@ export declare const nttNamedPayloads: readonly [readonly ["WormholeTransfer", r
|
|
|
300
300
|
readonly idTag: "keyType";
|
|
301
301
|
readonly layouts: readonly [readonly [readonly [1, "VAA"], readonly [{
|
|
302
302
|
readonly custom: {
|
|
303
|
-
to: (val: number) => "Solana" | "Ethereum" | "
|
|
304
|
-
from: (val: "Solana" | "Ethereum" | "
|
|
303
|
+
to: (val: number) => "Solana" | "Ethereum" | "Bsc" | "Polygon" | "Avalanche" | "Algorand" | "Fantom" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Btc" | "Base" | "Sei" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Snaxchain" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "Mezo" | "Sonic" | "Converge" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
|
|
304
|
+
from: (val: "Solana" | "Ethereum" | "Bsc" | "Polygon" | "Avalanche" | "Algorand" | "Fantom" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Btc" | "Base" | "Sei" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Snaxchain" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "Mezo" | "Sonic" | "Converge" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia") => number;
|
|
305
305
|
};
|
|
306
306
|
readonly binary: "uint";
|
|
307
307
|
readonly size: 2;
|
|
@@ -370,8 +370,8 @@ export declare const nttNamedPayloads: readonly [readonly ["WormholeTransfer", r
|
|
|
370
370
|
readonly omit: true;
|
|
371
371
|
}, {
|
|
372
372
|
readonly custom: {
|
|
373
|
-
to: (val: number) => "Solana" | "Ethereum" | "
|
|
374
|
-
from: (val: "Solana" | "Ethereum" | "
|
|
373
|
+
to: (val: number) => "Solana" | "Ethereum" | "Bsc" | "Polygon" | "Avalanche" | "Algorand" | "Fantom" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Btc" | "Base" | "Sei" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Snaxchain" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "Mezo" | "Sonic" | "Converge" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
|
|
374
|
+
from: (val: "Solana" | "Ethereum" | "Bsc" | "Polygon" | "Avalanche" | "Algorand" | "Fantom" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Btc" | "Base" | "Sei" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Snaxchain" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "Mezo" | "Sonic" | "Converge" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia") => number;
|
|
375
375
|
};
|
|
376
376
|
readonly binary: "uint";
|
|
377
377
|
readonly size: 2;
|
|
@@ -12,7 +12,7 @@ export declare const nttManagerMessageLayout: <const P extends CustomizableBytes
|
|
|
12
12
|
from: (val: import("@wormhole-foundation/sdk-definitions").UniversalAddress) => Uint8Array;
|
|
13
13
|
};
|
|
14
14
|
readonly name: "sender";
|
|
15
|
-
}, import("
|
|
15
|
+
}, import("binary-layout").CustomizableBytesReturn<{
|
|
16
16
|
readonly name: "payload";
|
|
17
17
|
readonly lengthSize: 2;
|
|
18
18
|
}, P>];
|
|
@@ -22,10 +22,10 @@ export declare const transceiverMessageLayout: <const MP extends CustomizableByt
|
|
|
22
22
|
from: (val: import("@wormhole-foundation/sdk-definitions").UniversalAddress) => Uint8Array;
|
|
23
23
|
};
|
|
24
24
|
readonly name: "recipientNttManager";
|
|
25
|
-
}, import("
|
|
25
|
+
}, import("binary-layout").CustomizableBytesReturn<{
|
|
26
26
|
readonly name: "nttManagerPayload";
|
|
27
27
|
readonly lengthSize: 2;
|
|
28
|
-
}, MP>, import("
|
|
28
|
+
}, MP>, import("binary-layout").CustomizableBytesReturn<{
|
|
29
29
|
readonly name: "transceiverPayload";
|
|
30
30
|
readonly lengthSize: 2;
|
|
31
31
|
}, TP>];
|
|
@@ -68,8 +68,8 @@ export declare const transceiverRegistration: readonly [{
|
|
|
68
68
|
readonly omit: true;
|
|
69
69
|
}, {
|
|
70
70
|
readonly custom: {
|
|
71
|
-
to: (val: number) => "Solana" | "Ethereum" | "
|
|
72
|
-
from: (val: "Solana" | "Ethereum" | "
|
|
71
|
+
to: (val: number) => "Solana" | "Ethereum" | "Bsc" | "Polygon" | "Avalanche" | "Algorand" | "Fantom" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Btc" | "Base" | "Sei" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Snaxchain" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "Mezo" | "Sonic" | "Converge" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
|
|
72
|
+
from: (val: "Solana" | "Ethereum" | "Bsc" | "Polygon" | "Avalanche" | "Algorand" | "Fantom" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Btc" | "Base" | "Sei" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Snaxchain" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "Mezo" | "Sonic" | "Converge" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia") => number;
|
|
73
73
|
};
|
|
74
74
|
readonly binary: "uint";
|
|
75
75
|
readonly size: 2;
|
|
@@ -3,7 +3,7 @@ export declare const transceiverInstructionLayout: <const P extends Customizable
|
|
|
3
3
|
readonly name: "index";
|
|
4
4
|
readonly binary: "uint";
|
|
5
5
|
readonly size: 1;
|
|
6
|
-
}, import("
|
|
6
|
+
}, import("binary-layout").CustomizableBytesReturn<{
|
|
7
7
|
readonly name: "payload";
|
|
8
8
|
readonly lengthSize: 1;
|
|
9
9
|
}, P>];
|
|
@@ -37,8 +37,8 @@ export declare const nativeTokenTransferLayout: readonly [{
|
|
|
37
37
|
readonly name: "recipientAddress";
|
|
38
38
|
}, {
|
|
39
39
|
readonly custom: {
|
|
40
|
-
to: (val: number) => "Solana" | "Ethereum" | "
|
|
41
|
-
from: (val: "Solana" | "Ethereum" | "
|
|
40
|
+
to: (val: number) => "Solana" | "Ethereum" | "Bsc" | "Polygon" | "Avalanche" | "Algorand" | "Fantom" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Btc" | "Base" | "Sei" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Snaxchain" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "Mezo" | "Sonic" | "Converge" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
|
|
41
|
+
from: (val: "Solana" | "Ethereum" | "Bsc" | "Polygon" | "Avalanche" | "Algorand" | "Fantom" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Btc" | "Base" | "Sei" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Snaxchain" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "Mezo" | "Sonic" | "Converge" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia") => number;
|
|
42
42
|
};
|
|
43
43
|
readonly binary: "uint";
|
|
44
44
|
readonly size: 2;
|
|
@@ -21,10 +21,10 @@ export declare const wormholeTransceiverMessageLayout: <MP extends CustomizableB
|
|
|
21
21
|
from: (val: import("@wormhole-foundation/sdk-definitions").UniversalAddress) => Uint8Array;
|
|
22
22
|
};
|
|
23
23
|
readonly name: "recipientNttManager";
|
|
24
|
-
}, import("
|
|
24
|
+
}, import("binary-layout").CustomizableBytesReturn<{
|
|
25
25
|
readonly name: "nttManagerPayload";
|
|
26
26
|
readonly lengthSize: 2;
|
|
27
|
-
}, MP>, import("
|
|
27
|
+
}, MP>, import("binary-layout").CustomizableBytesReturn<{
|
|
28
28
|
readonly name: "transceiverPayload";
|
|
29
29
|
readonly lengthSize: 2;
|
|
30
30
|
}, Uint8Array>];
|
package/dist/cjs/ntt.d.ts
CHANGED
|
@@ -25,8 +25,6 @@ export declare namespace Ntt {
|
|
|
25
25
|
queue: boolean;
|
|
26
26
|
/** Whether or not to request this transfer should be relayed, otherwise manual redemption is required */
|
|
27
27
|
automatic?: boolean;
|
|
28
|
-
/** How much native gas on the destination to send along with the transfer */
|
|
29
|
-
gasDropoff?: bigint;
|
|
30
28
|
/** Whether or not the token needs to be wrapped, only relevant for gas token transfers */
|
|
31
29
|
wrapNative?: boolean;
|
|
32
30
|
};
|
package/dist/cjs/ntt.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ntt.d.ts","sourceRoot":"","sources":["../../src/ntt.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,KAAK,KAAK,EACV,KAAK,OAAO,EACb,MAAM,+BAA+B,CAAC;AAEvC,OAAO,EACL,cAAc,EACd,YAAY,EACZ,gBAAgB,EAChB,eAAe,EACf,WAAW,EACX,mBAAmB,EACnB,GAAG,EAEJ,MAAM,sCAAsC,CAAC;AAE9C,OAAO,EACL,iBAAiB,EACjB,yBAAyB,E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;IAC/B,SAAS,EAAE,SAAS,CAAC;CACtB;AAED,MAAM,WAAW,iBAAiB,CAChC,CAAC,SAAS,OAAO,EACjB,CAAC,SAAS,KAAK,EACf,CAAC,SAAS,GAAG,CAAC,WAAW,CACzB,SAAQ,cAAc,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC;CAAG;AAEpC,OAAO,QAAQ,sCAAsC,CAAC;IACpD,UAAiB,gBAAgB,CAAC;QAChC,UAAU,0BAA0B,CAAC,CAAC,EAAE,CAAC;YACvC,GAAG,EAAE,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;SAChB;QACD,UAAU,yBAAyB;YACjC,GAAG,EAAE,gBAAgB,CAAC,GAAG,CAAC,YAAY,CAAC,CAAC;SACzC;KACF;CACF"}
|
package/dist/cjs/ntt.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ntt.js","sourceRoot":"","sources":["../../src/ntt.ts"],"names":[],"mappings":";;;AAAA,4DAMuC;AAEvC,0EAS8C;AAE9C,iDAO4B;AAG5B;;GAEG;AACH,IAAiB,GAAG,
|
|
1
|
+
{"version":3,"file":"ntt.js","sourceRoot":"","sources":["../../src/ntt.ts"],"names":[],"mappings":";;;AAAA,4DAMuC;AAEvC,0EAS8C;AAE9C,iDAO4B;AAG5B;;GAEG;AACH,IAAiB,GAAG,CAsHnB;AAtHD,WAAiB,GAAG;IAClB,MAAM,SAAS,GAAG,KAAK,CAAC;IA+DxB,wEAAwE;IACxE,sDAAsD;IACtD,SAAgB,6BAA6B,CAAC,GAA6B;QACzE,IAAI,GAAG,CAAC,MAAM,GAAG,GAAG;YAClB,MAAM,IAAI,KAAK,CAAC,0BAA0B,GAAG,CAAC,MAAM,GAAG,CAAC,CAAC;QAC3D,OAAO,mBAAQ,CAAC,KAAK,CAAC,MAAM,CAC1B,IAAI,UAAU,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,EAC5B,GAAG,GAAG,CAAC,GAA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M,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE,GAAG,YAAY,CAAC,UAAU,CAAC,CAAC;QACtE,OAAO,WAAW,KAAK,QAAQ,IAAI,WAAW,IAAI,QAAQ,CAAC;IAC7D,CAAC;IAlBe,qBAAiB,oBAkBhC,CAAA;AACH,CAAC,EAtHgB,GAAG,mBAAH,GAAG,QAsHnB;AA0PD,IAAiB,sBAAsB,CAUtC;AAVD,WAAiB,sBAAsB;IACrC,MAAM,SAAS,GAAG;QAChB,kBAAkB;QAClB,iCAAiC;KACzB,CAAC;AAMb,CAAC,EAVgB,sBAAsB,sCAAtB,sBAAsB,QAUtC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import type { Chain, Network } from "@wormhole-foundation/sdk-base";
|
|
2
|
+
import { type AccountAddress, type ChainAddress, type EmptyPlatformMap, UnsignedTransaction } from "@wormhole-foundation/sdk-definitions";
|
|
3
|
+
import { Ntt } from "./ntt.js";
|
|
4
|
+
export declare namespace NttWithExecutor {
|
|
5
|
+
type Quote = {
|
|
6
|
+
signedQuote: Uint8Array;
|
|
7
|
+
relayInstructions: Uint8Array;
|
|
8
|
+
estimatedCost: bigint;
|
|
9
|
+
payeeAddress: Uint8Array;
|
|
10
|
+
referrer: ChainAddress;
|
|
11
|
+
referrerFee: bigint;
|
|
12
|
+
remainingAmount: bigint;
|
|
13
|
+
referrerFeeDbps: bigint;
|
|
14
|
+
expires: Date;
|
|
15
|
+
gasDropOff: bigint;
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
export interface NttWithExecutor<N extends Network, C extends Chain> {
|
|
19
|
+
transfer(sender: AccountAddress<C>, destination: ChainAddress, amount: bigint, quote: NttWithExecutor.Quote, ntt: Ntt<N, C>, wrapNative?: boolean): AsyncGenerator<UnsignedTransaction<N, C>>;
|
|
20
|
+
estimateMsgValueAndGasLimit(recipient: ChainAddress | undefined): Promise<{
|
|
21
|
+
msgValue: bigint;
|
|
22
|
+
gasLimit: bigint;
|
|
23
|
+
}>;
|
|
24
|
+
}
|
|
25
|
+
declare module "@wormhole-foundation/sdk-definitions" {
|
|
26
|
+
namespace WormholeRegistry {
|
|
27
|
+
interface ProtocolToInterfaceMapping<N, C> {
|
|
28
|
+
NttWithExecutor: NttWithExecutor<N, C>;
|
|
29
|
+
}
|
|
30
|
+
interface ProtocolToPlatformMapping {
|
|
31
|
+
NttWithExecutor: EmptyPlatformMap<"NttWithExecutor">;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
//# sourceMappingURL=nttWithExecutor.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"nttWithExecutor.d.ts","sourceRoot":"","sources":["../../src/nttWithExecutor.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,+BAA+B,CAAC;AACpE,OAAO,EACL,KAAK,cAAc,EACnB,KAAK,YAAY,EACjB,KAAK,gBAAgB,EACrB,mBAAmB,EACpB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EAAE,GAAG,EAAE,MAAM,UAAU,CAAC;AAE/B,yBAAiB,eAAe,CAAC;IAC/B,KAAY,KAAK,GAAG;QAClB,WAAW,EAAE,UAAU,CAAC;QACxB,iBAAiB,EAAE,UAAU,CAAC;QAC9B,aAAa,EAAE,MAAM,CAAC;QACtB,YAAY,EAAE,UAAU,CAAC;QACzB,QAAQ,EAAE,YAAY,CAAC;QACvB,WAAW,EAAE,MAAM,CAAC;QACpB,eAAe,EAAE,MAAM,CAAC;QACxB,eAAe,EAAE,MAAM,CAAC;QACxB,OAAO,EAAE,IAAI,CAAC;QACd,UAAU,EAAE,MAAM,CAAC;KACpB,CAAC;CACH;AAED,MAAM,WAAW,eAAe,CAAC,CAAC,SAAS,OAAO,EAAE,CAAC,SAAS,KAAK;IACjE,QAAQ,CACN,MAAM,EAAE,cAAc,CAAC,CAAC,CAAC,EACzB,WAAW,EAAE,YAAY,EACzB,MAAM,EAAE,MAAM,EACd,KAAK,EAAE,eAAe,CAAC,KAAK,EAC5B,GAAG,EAAE,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC,EACd,UAAU,CAAC,EAAE,OAAO,GACnB,cAAc,CAAC,mBAAmB,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;IAE7C,2BAA2B,CACzB,SAAS,EAAE,YAAY,GAAG,SAAS,GAClC,OAAO,CAAC;QAAE,QAAQ,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;CACpD;AAED,OAAO,QAAQ,sCAAsC,CAAC;IACpD,UAAiB,gBAAgB,CAAC;QAChC,UAAU,0BAA0B,CAAC,CAAC,EAAE,CAAC;YACvC,eAAe,EAAE,eAAe,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;SACxC;QACD,UAAU,yBAAyB;YACjC,eAAe,EAAE,gBAAgB,CAAC,iBAAiB,CAAC,CAAC;SACtD;KACF;CACF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"nttWithExecutor.js","sourceRoot":"","sources":["../../src/nttWithExecutor.ts"],"names":[],"mappings":""}
|
package/dist/esm/index.d.ts
CHANGED
package/dist/esm/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAKA,cAAc,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAKA,cAAc,UAAU,CAAC;AACzB,cAAc,sBAAsB,CAAC;AAErC,cAAc,oBAAoB,CAAC;AACnC,mBAAmB,oBAAoB,CAAC"}
|
package/dist/esm/index.js
CHANGED
|
@@ -2,5 +2,6 @@ import { registerPayloadTypes } from "@wormhole-foundation/sdk-definitions";
|
|
|
2
2
|
import { nttNamedPayloads } from "./layouts/index.js";
|
|
3
3
|
registerPayloadTypes("Ntt", nttNamedPayloads);
|
|
4
4
|
export * from "./ntt.js";
|
|
5
|
+
export * from "./nttWithExecutor.js";
|
|
5
6
|
export * from "./layouts/index.js";
|
|
6
7
|
//# sourceMappingURL=index.js.map
|
package/dist/esm/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,sCAAsC,CAAC;AAC5E,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAEtD,oBAAoB,CAAC,KAAK,EAAE,gBAAgB,CAAC,CAAC;AAE9C,cAAc,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,sCAAsC,CAAC;AAC5E,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAEtD,oBAAoB,CAAC,KAAK,EAAE,gBAAgB,CAAC,CAAC;AAE9C,cAAc,UAAU,CAAC;AACzB,cAAc,sBAAsB,CAAC;AAErC,cAAc,oBAAoB,CAAC"}
|
|
@@ -20,7 +20,7 @@ export declare const nttNamedPayloads: readonly [readonly ["WormholeTransfer", r
|
|
|
20
20
|
from: (val: import("@wormhole-foundation/sdk-definitions").UniversalAddress) => Uint8Array;
|
|
21
21
|
};
|
|
22
22
|
readonly name: "recipientNttManager";
|
|
23
|
-
}, import("
|
|
23
|
+
}, import("binary-layout").CustomizableBytesReturn<{
|
|
24
24
|
readonly name: "nttManagerPayload";
|
|
25
25
|
readonly lengthSize: 2;
|
|
26
26
|
}, readonly [{
|
|
@@ -35,7 +35,7 @@ export declare const nttNamedPayloads: readonly [readonly ["WormholeTransfer", r
|
|
|
35
35
|
from: (val: import("@wormhole-foundation/sdk-definitions").UniversalAddress) => Uint8Array;
|
|
36
36
|
};
|
|
37
37
|
readonly name: "sender";
|
|
38
|
-
}, import("
|
|
38
|
+
}, import("binary-layout").CustomizableBytesReturn<{
|
|
39
39
|
readonly name: "payload";
|
|
40
40
|
readonly lengthSize: 2;
|
|
41
41
|
}, readonly [{
|
|
@@ -73,8 +73,8 @@ export declare const nttNamedPayloads: readonly [readonly ["WormholeTransfer", r
|
|
|
73
73
|
readonly name: "recipientAddress";
|
|
74
74
|
}, {
|
|
75
75
|
readonly custom: {
|
|
76
|
-
to: (val: number) => "Solana" | "Ethereum" | "
|
|
77
|
-
from: (val: "Solana" | "Ethereum" | "
|
|
76
|
+
to: (val: number) => "Solana" | "Ethereum" | "Bsc" | "Polygon" | "Avalanche" | "Algorand" | "Fantom" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Btc" | "Base" | "Sei" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Snaxchain" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "Mezo" | "Sonic" | "Converge" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
|
|
77
|
+
from: (val: "Solana" | "Ethereum" | "Bsc" | "Polygon" | "Avalanche" | "Algorand" | "Fantom" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Btc" | "Base" | "Sei" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Snaxchain" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "Mezo" | "Sonic" | "Converge" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia") => number;
|
|
78
78
|
};
|
|
79
79
|
readonly binary: "uint";
|
|
80
80
|
readonly size: 2;
|
|
@@ -86,7 +86,7 @@ export declare const nttNamedPayloads: readonly [readonly ["WormholeTransfer", r
|
|
|
86
86
|
from: (val: Uint8Array) => Uint8Array;
|
|
87
87
|
};
|
|
88
88
|
readonly name: "additionalPayload";
|
|
89
|
-
}]>]>, import("
|
|
89
|
+
}]>]>, import("binary-layout").CustomizableBytesReturn<{
|
|
90
90
|
readonly name: "transceiverPayload";
|
|
91
91
|
readonly lengthSize: 2;
|
|
92
92
|
}, Uint8Array>]], readonly ["WormholeTransferStandardRelayer", readonly [{
|
|
@@ -99,8 +99,8 @@ export declare const nttNamedPayloads: readonly [readonly ["WormholeTransfer", r
|
|
|
99
99
|
readonly binary: "bytes";
|
|
100
100
|
readonly layout: readonly [{
|
|
101
101
|
readonly custom: {
|
|
102
|
-
to: (val: number) => "Solana" | "Ethereum" | "
|
|
103
|
-
from: (val: "Solana" | "Ethereum" | "
|
|
102
|
+
to: (val: number) => "Solana" | "Ethereum" | "Bsc" | "Polygon" | "Avalanche" | "Algorand" | "Fantom" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Btc" | "Base" | "Sei" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Snaxchain" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "Mezo" | "Sonic" | "Converge" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
|
|
103
|
+
from: (val: "Solana" | "Ethereum" | "Bsc" | "Polygon" | "Avalanche" | "Algorand" | "Fantom" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Btc" | "Base" | "Sei" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Snaxchain" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "Mezo" | "Sonic" | "Converge" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia") => number;
|
|
104
104
|
};
|
|
105
105
|
readonly binary: "uint";
|
|
106
106
|
readonly size: 2;
|
|
@@ -115,7 +115,7 @@ export declare const nttNamedPayloads: readonly [readonly ["WormholeTransfer", r
|
|
|
115
115
|
readonly name: "address";
|
|
116
116
|
}];
|
|
117
117
|
readonly name: "target";
|
|
118
|
-
}, import("
|
|
118
|
+
}, import("binary-layout").CustomizableBytesReturn<{
|
|
119
119
|
readonly name: "payload";
|
|
120
120
|
readonly lengthSize: 4;
|
|
121
121
|
}, readonly [{
|
|
@@ -139,7 +139,7 @@ export declare const nttNamedPayloads: readonly [readonly ["WormholeTransfer", r
|
|
|
139
139
|
from: (val: import("@wormhole-foundation/sdk-definitions").UniversalAddress) => Uint8Array;
|
|
140
140
|
};
|
|
141
141
|
readonly name: "recipientNttManager";
|
|
142
|
-
}, import("
|
|
142
|
+
}, import("binary-layout").CustomizableBytesReturn<{
|
|
143
143
|
readonly name: "nttManagerPayload";
|
|
144
144
|
readonly lengthSize: 2;
|
|
145
145
|
}, readonly [{
|
|
@@ -154,7 +154,7 @@ export declare const nttNamedPayloads: readonly [readonly ["WormholeTransfer", r
|
|
|
154
154
|
from: (val: import("@wormhole-foundation/sdk-definitions").UniversalAddress) => Uint8Array;
|
|
155
155
|
};
|
|
156
156
|
readonly name: "sender";
|
|
157
|
-
}, import("
|
|
157
|
+
}, import("binary-layout").CustomizableBytesReturn<{
|
|
158
158
|
readonly name: "payload";
|
|
159
159
|
readonly lengthSize: 2;
|
|
160
160
|
}, readonly [{
|
|
@@ -192,8 +192,8 @@ export declare const nttNamedPayloads: readonly [readonly ["WormholeTransfer", r
|
|
|
192
192
|
readonly name: "recipientAddress";
|
|
193
193
|
}, {
|
|
194
194
|
readonly custom: {
|
|
195
|
-
to: (val: number) => "Solana" | "Ethereum" | "
|
|
196
|
-
from: (val: "Solana" | "Ethereum" | "
|
|
195
|
+
to: (val: number) => "Solana" | "Ethereum" | "Bsc" | "Polygon" | "Avalanche" | "Algorand" | "Fantom" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Btc" | "Base" | "Sei" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Snaxchain" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "Mezo" | "Sonic" | "Converge" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
|
|
196
|
+
from: (val: "Solana" | "Ethereum" | "Bsc" | "Polygon" | "Avalanche" | "Algorand" | "Fantom" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Btc" | "Base" | "Sei" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Snaxchain" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "Mezo" | "Sonic" | "Converge" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia") => number;
|
|
197
197
|
};
|
|
198
198
|
readonly binary: "uint";
|
|
199
199
|
readonly size: 2;
|
|
@@ -205,7 +205,7 @@ export declare const nttNamedPayloads: readonly [readonly ["WormholeTransfer", r
|
|
|
205
205
|
from: (val: Uint8Array) => Uint8Array;
|
|
206
206
|
};
|
|
207
207
|
readonly name: "additionalPayload";
|
|
208
|
-
}]>]>, import("
|
|
208
|
+
}]>]>, import("binary-layout").CustomizableBytesReturn<{
|
|
209
209
|
readonly name: "transceiverPayload";
|
|
210
210
|
readonly lengthSize: 2;
|
|
211
211
|
}, Uint8Array>]>, {
|
|
@@ -250,8 +250,8 @@ export declare const nttNamedPayloads: readonly [readonly ["WormholeTransfer", r
|
|
|
250
250
|
readonly binary: "bytes";
|
|
251
251
|
readonly layout: readonly [{
|
|
252
252
|
readonly custom: {
|
|
253
|
-
to: (val: number) => "Solana" | "Ethereum" | "
|
|
254
|
-
from: (val: "Solana" | "Ethereum" | "
|
|
253
|
+
to: (val: number) => "Solana" | "Ethereum" | "Bsc" | "Polygon" | "Avalanche" | "Algorand" | "Fantom" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Btc" | "Base" | "Sei" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Snaxchain" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "Mezo" | "Sonic" | "Converge" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
|
|
254
|
+
from: (val: "Solana" | "Ethereum" | "Bsc" | "Polygon" | "Avalanche" | "Algorand" | "Fantom" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Btc" | "Base" | "Sei" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Snaxchain" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "Mezo" | "Sonic" | "Converge" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia") => number;
|
|
255
255
|
};
|
|
256
256
|
readonly binary: "uint";
|
|
257
257
|
readonly size: 2;
|
|
@@ -300,8 +300,8 @@ export declare const nttNamedPayloads: readonly [readonly ["WormholeTransfer", r
|
|
|
300
300
|
readonly idTag: "keyType";
|
|
301
301
|
readonly layouts: readonly [readonly [readonly [1, "VAA"], readonly [{
|
|
302
302
|
readonly custom: {
|
|
303
|
-
to: (val: number) => "Solana" | "Ethereum" | "
|
|
304
|
-
from: (val: "Solana" | "Ethereum" | "
|
|
303
|
+
to: (val: number) => "Solana" | "Ethereum" | "Bsc" | "Polygon" | "Avalanche" | "Algorand" | "Fantom" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Btc" | "Base" | "Sei" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Snaxchain" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "Mezo" | "Sonic" | "Converge" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
|
|
304
|
+
from: (val: "Solana" | "Ethereum" | "Bsc" | "Polygon" | "Avalanche" | "Algorand" | "Fantom" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Btc" | "Base" | "Sei" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Snaxchain" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "Mezo" | "Sonic" | "Converge" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia") => number;
|
|
305
305
|
};
|
|
306
306
|
readonly binary: "uint";
|
|
307
307
|
readonly size: 2;
|
|
@@ -370,8 +370,8 @@ export declare const nttNamedPayloads: readonly [readonly ["WormholeTransfer", r
|
|
|
370
370
|
readonly omit: true;
|
|
371
371
|
}, {
|
|
372
372
|
readonly custom: {
|
|
373
|
-
to: (val: number) => "Solana" | "Ethereum" | "
|
|
374
|
-
from: (val: "Solana" | "Ethereum" | "
|
|
373
|
+
to: (val: number) => "Solana" | "Ethereum" | "Bsc" | "Polygon" | "Avalanche" | "Algorand" | "Fantom" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Btc" | "Base" | "Sei" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Snaxchain" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "Mezo" | "Sonic" | "Converge" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
|
|
374
|
+
from: (val: "Solana" | "Ethereum" | "Bsc" | "Polygon" | "Avalanche" | "Algorand" | "Fantom" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Btc" | "Base" | "Sei" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Snaxchain" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "Mezo" | "Sonic" | "Converge" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia") => number;
|
|
375
375
|
};
|
|
376
376
|
readonly binary: "uint";
|
|
377
377
|
readonly size: 2;
|
|
@@ -12,7 +12,7 @@ export declare const nttManagerMessageLayout: <const P extends CustomizableBytes
|
|
|
12
12
|
from: (val: import("@wormhole-foundation/sdk-definitions").UniversalAddress) => Uint8Array;
|
|
13
13
|
};
|
|
14
14
|
readonly name: "sender";
|
|
15
|
-
}, import("
|
|
15
|
+
}, import("binary-layout").CustomizableBytesReturn<{
|
|
16
16
|
readonly name: "payload";
|
|
17
17
|
readonly lengthSize: 2;
|
|
18
18
|
}, P>];
|
|
@@ -22,10 +22,10 @@ export declare const transceiverMessageLayout: <const MP extends CustomizableByt
|
|
|
22
22
|
from: (val: import("@wormhole-foundation/sdk-definitions").UniversalAddress) => Uint8Array;
|
|
23
23
|
};
|
|
24
24
|
readonly name: "recipientNttManager";
|
|
25
|
-
}, import("
|
|
25
|
+
}, import("binary-layout").CustomizableBytesReturn<{
|
|
26
26
|
readonly name: "nttManagerPayload";
|
|
27
27
|
readonly lengthSize: 2;
|
|
28
|
-
}, MP>, import("
|
|
28
|
+
}, MP>, import("binary-layout").CustomizableBytesReturn<{
|
|
29
29
|
readonly name: "transceiverPayload";
|
|
30
30
|
readonly lengthSize: 2;
|
|
31
31
|
}, TP>];
|
|
@@ -68,8 +68,8 @@ export declare const transceiverRegistration: readonly [{
|
|
|
68
68
|
readonly omit: true;
|
|
69
69
|
}, {
|
|
70
70
|
readonly custom: {
|
|
71
|
-
to: (val: number) => "Solana" | "Ethereum" | "
|
|
72
|
-
from: (val: "Solana" | "Ethereum" | "
|
|
71
|
+
to: (val: number) => "Solana" | "Ethereum" | "Bsc" | "Polygon" | "Avalanche" | "Algorand" | "Fantom" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Btc" | "Base" | "Sei" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Snaxchain" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "Mezo" | "Sonic" | "Converge" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
|
|
72
|
+
from: (val: "Solana" | "Ethereum" | "Bsc" | "Polygon" | "Avalanche" | "Algorand" | "Fantom" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Btc" | "Base" | "Sei" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Snaxchain" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "Mezo" | "Sonic" | "Converge" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia") => number;
|
|
73
73
|
};
|
|
74
74
|
readonly binary: "uint";
|
|
75
75
|
readonly size: 2;
|
|
@@ -3,7 +3,7 @@ export declare const transceiverInstructionLayout: <const P extends Customizable
|
|
|
3
3
|
readonly name: "index";
|
|
4
4
|
readonly binary: "uint";
|
|
5
5
|
readonly size: 1;
|
|
6
|
-
}, import("
|
|
6
|
+
}, import("binary-layout").CustomizableBytesReturn<{
|
|
7
7
|
readonly name: "payload";
|
|
8
8
|
readonly lengthSize: 1;
|
|
9
9
|
}, P>];
|
|
@@ -37,8 +37,8 @@ export declare const nativeTokenTransferLayout: readonly [{
|
|
|
37
37
|
readonly name: "recipientAddress";
|
|
38
38
|
}, {
|
|
39
39
|
readonly custom: {
|
|
40
|
-
to: (val: number) => "Solana" | "Ethereum" | "
|
|
41
|
-
from: (val: "Solana" | "Ethereum" | "
|
|
40
|
+
to: (val: number) => "Solana" | "Ethereum" | "Bsc" | "Polygon" | "Avalanche" | "Algorand" | "Fantom" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Btc" | "Base" | "Sei" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Snaxchain" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "Mezo" | "Sonic" | "Converge" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
|
|
41
|
+
from: (val: "Solana" | "Ethereum" | "Bsc" | "Polygon" | "Avalanche" | "Algorand" | "Fantom" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Btc" | "Base" | "Sei" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Snaxchain" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "Mezo" | "Sonic" | "Converge" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia") => number;
|
|
42
42
|
};
|
|
43
43
|
readonly binary: "uint";
|
|
44
44
|
readonly size: 2;
|
|
@@ -21,10 +21,10 @@ export declare const wormholeTransceiverMessageLayout: <MP extends CustomizableB
|
|
|
21
21
|
from: (val: import("@wormhole-foundation/sdk-definitions").UniversalAddress) => Uint8Array;
|
|
22
22
|
};
|
|
23
23
|
readonly name: "recipientNttManager";
|
|
24
|
-
}, import("
|
|
24
|
+
}, import("binary-layout").CustomizableBytesReturn<{
|
|
25
25
|
readonly name: "nttManagerPayload";
|
|
26
26
|
readonly lengthSize: 2;
|
|
27
|
-
}, MP>, import("
|
|
27
|
+
}, MP>, import("binary-layout").CustomizableBytesReturn<{
|
|
28
28
|
readonly name: "transceiverPayload";
|
|
29
29
|
readonly lengthSize: 2;
|
|
30
30
|
}, Uint8Array>];
|
package/dist/esm/ntt.d.ts
CHANGED
|
@@ -25,8 +25,6 @@ export declare namespace Ntt {
|
|
|
25
25
|
queue: boolean;
|
|
26
26
|
/** Whether or not to request this transfer should be relayed, otherwise manual redemption is required */
|
|
27
27
|
automatic?: boolean;
|
|
28
|
-
/** How much native gas on the destination to send along with the transfer */
|
|
29
|
-
gasDropoff?: bigint;
|
|
30
28
|
/** Whether or not the token needs to be wrapped, only relevant for gas token transfers */
|
|
31
29
|
wrapNative?: boolean;
|
|
32
30
|
};
|
package/dist/esm/ntt.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ntt.d.ts","sourceRoot":"","sources":["../../src/ntt.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,KAAK,KAAK,EACV,KAAK,OAAO,EACb,MAAM,+BAA+B,CAAC;AAEvC,OAAO,EACL,cAAc,EACd,YAAY,EACZ,gBAAgB,EAChB,eAAe,EACf,WAAW,EACX,mBAAmB,EACnB,GAAG,EAEJ,MAAM,sCAAsC,CAAC;AAE9C,OAAO,EACL,iBAAiB,EACjB,yBAAyB,EAEzB,eAAe,EAEf,uBAAuB,EACxB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAE5C;;GAEG;AACH,yBAAiB,GAAG,CAAC;IACnB,MAAM,SAAS,QAAQ,CAAC;IACxB,MAAM,MAAM,YAAY,GAAG,OAAO,SAAS,CAAC;IAE5C,MAAM,MAAM,IAAI,GAAG,SAAS,GAAG,SAAS,CAAC;IACzC,MAAM,MAAM,SAAS,GAAG;QACtB,KAAK,EAAE,MAAM,CAAC;QACd,OAAO,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,CAAC,EAAE,CAAC,CAAC,CAAC;SAChB;QACD,UAAU,yBAAyB;YACjC,GAAG,EAAE,gBAAgB,CAAC,GAAG,CAAC,YAAY,CAAC,CAAC;SACzC;KACF;CACF"}
|
package/dist/esm/ntt.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ntt.js","sourceRoot":"","sources":["../../src/ntt.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EACR,eAAe,EACf,SAAS,GAGV,MAAM,+BAA+B,CAAC;AAEvC,OAAO,EAQL,SAAS,GACV,MAAM,sCAAsC,CAAC;AAE9C,OAAO,EAEL,yBAAyB,EACzB,uBAAuB,EAEvB,4BAA4B,GAE7B,MAAM,oBAAoB,CAAC;AAG5B;;GAEG;AACH,MAAM,KAAW,GAAG,
|
|
1
|
+
{"version":3,"file":"ntt.js","sourceRoot":"","sources":["../../src/ntt.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EACR,eAAe,EACf,SAAS,GAGV,MAAM,+BAA+B,CAAC;AAEvC,OAAO,EAQL,SAAS,GACV,MAAM,sCAAsC,CAAC;AAE9C,OAAO,EAEL,yBAAyB,EACzB,uBAAuB,EAEvB,4BAA4B,GAE7B,MAAM,oBAAoB,CAAC;AAG5B;;GAEG;AACH,MAAM,KAAW,GAAG,CAsHnB;AAtHD,WAAiB,GAAG;IAClB,MAAM,SAAS,GAAG,KAAK,CAAC;IA+DxB,wEAAwE;IACxE,sDAAsD;IACtD,SAAgB,6BAA6B,CAAC,GAA6B;QACzE,IAAI,GAAG,CAAC,MAAM,GAAG,GAAG;YAClB,MAAM,IAAI,KAAK,CAAC,0BAA0B,GAAG,CAAC,MAAM,GAAG,CAAC,CAAC;QAC3D,OAAO,QAAQ,CAAC,KAAK,CAAC,MAAM,CAC1B,IAAI,UAAU,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,EAC5B,GAAG,GAAG,CAAC,GAAG,CAAC,CAAC,EAAE,EA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AAY,CAAC,UAAU,CAAC,CAAC;QACtE,OAAO,WAAW,KAAK,QAAQ,IAAI,WAAW,IAAI,QAAQ,CAAC;IAC7D,CAAC;IAlBe,qBAAiB,oBAkBhC,CAAA;AACH,CAAC,EAtHgB,GAAG,KAAH,GAAG,QAsHnB;AA0PD,MAAM,KAAW,sBAAsB,CAUtC;AAVD,WAAiB,sBAAsB;IACrC,MAAM,SAAS,GAAG;QAChB,kBAAkB;QAClB,iCAAiC;KACzB,CAAC;AAMb,CAAC,EAVgB,sBAAsB,KAAtB,sBAAsB,QAUtC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import type { Chain, Network } from "@wormhole-foundation/sdk-base";
|
|
2
|
+
import { type AccountAddress, type ChainAddress, type EmptyPlatformMap, UnsignedTransaction } from "@wormhole-foundation/sdk-definitions";
|
|
3
|
+
import { Ntt } from "./ntt.js";
|
|
4
|
+
export declare namespace NttWithExecutor {
|
|
5
|
+
type Quote = {
|
|
6
|
+
signedQuote: Uint8Array;
|
|
7
|
+
relayInstructions: Uint8Array;
|
|
8
|
+
estimatedCost: bigint;
|
|
9
|
+
payeeAddress: Uint8Array;
|
|
10
|
+
referrer: ChainAddress;
|
|
11
|
+
referrerFee: bigint;
|
|
12
|
+
remainingAmount: bigint;
|
|
13
|
+
referrerFeeDbps: bigint;
|
|
14
|
+
expires: Date;
|
|
15
|
+
gasDropOff: bigint;
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
export interface NttWithExecutor<N extends Network, C extends Chain> {
|
|
19
|
+
transfer(sender: AccountAddress<C>, destination: ChainAddress, amount: bigint, quote: NttWithExecutor.Quote, ntt: Ntt<N, C>, wrapNative?: boolean): AsyncGenerator<UnsignedTransaction<N, C>>;
|
|
20
|
+
estimateMsgValueAndGasLimit(recipient: ChainAddress | undefined): Promise<{
|
|
21
|
+
msgValue: bigint;
|
|
22
|
+
gasLimit: bigint;
|
|
23
|
+
}>;
|
|
24
|
+
}
|
|
25
|
+
declare module "@wormhole-foundation/sdk-definitions" {
|
|
26
|
+
namespace WormholeRegistry {
|
|
27
|
+
interface ProtocolToInterfaceMapping<N, C> {
|
|
28
|
+
NttWithExecutor: NttWithExecutor<N, C>;
|
|
29
|
+
}
|
|
30
|
+
interface ProtocolToPlatformMapping {
|
|
31
|
+
NttWithExecutor: EmptyPlatformMap<"NttWithExecutor">;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
//# sourceMappingURL=nttWithExecutor.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"nttWithExecutor.d.ts","sourceRoot":"","sources":["../../src/nttWithExecutor.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,+BAA+B,CAAC;AACpE,OAAO,EACL,KAAK,cAAc,EACnB,KAAK,YAAY,EACjB,KAAK,gBAAgB,EACrB,mBAAmB,EACpB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EAAE,GAAG,EAAE,MAAM,UAAU,CAAC;AAE/B,yBAAiB,eAAe,CAAC;IAC/B,KAAY,KAAK,GAAG;QAClB,WAAW,EAAE,UAAU,CAAC;QACxB,iBAAiB,EAAE,UAAU,CAAC;QAC9B,aAAa,EAAE,MAAM,CAAC;QACtB,YAAY,EAAE,UAAU,CAAC;QACzB,QAAQ,EAAE,YAAY,CAAC;QACvB,WAAW,EAAE,MAAM,CAAC;QACpB,eAAe,EAAE,MAAM,CAAC;QACxB,eAAe,EAAE,MAAM,CAAC;QACxB,OAAO,EAAE,IAAI,CAAC;QACd,UAAU,EAAE,MAAM,CAAC;KACpB,CAAC;CACH;AAED,MAAM,WAAW,eAAe,CAAC,CAAC,SAAS,OAAO,EAAE,CAAC,SAAS,KAAK;IACjE,QAAQ,CACN,MAAM,EAAE,cAAc,CAAC,CAAC,CAAC,EACzB,WAAW,EAAE,YAAY,EACzB,MAAM,EAAE,MAAM,EACd,KAAK,EAAE,eAAe,CAAC,KAAK,EAC5B,GAAG,EAAE,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC,EACd,UAAU,CAAC,EAAE,OAAO,GACnB,cAAc,CAAC,mBAAmB,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;IAE7C,2BAA2B,CACzB,SAAS,EAAE,YAAY,GAAG,SAAS,GAClC,OAAO,CAAC;QAAE,QAAQ,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;CACpD;AAED,OAAO,QAAQ,sCAAsC,CAAC;IACpD,UAAiB,gBAAgB,CAAC;QAChC,UAAU,0BAA0B,CAAC,CAAC,EAAE,CAAC;YACvC,eAAe,EAAE,eAAe,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;SACxC;QACD,UAAU,yBAAyB;YACjC,eAAe,EAAE,gBAAgB,CAAC,iBAAiB,CAAC,CAAC;SACtD;KACF;CACF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"nttWithExecutor.js","sourceRoot":"","sources":["../../src/nttWithExecutor.ts"],"names":[],"mappings":""}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wormhole-foundation/sdk-definitions-ntt",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.9.0-executor.beta.0",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/wormhole-foundation/example-native-token-transfers.git"
|
|
@@ -49,8 +49,8 @@
|
|
|
49
49
|
"test": "jest --config ./jest.config.ts"
|
|
50
50
|
},
|
|
51
51
|
"peerDependencies": {
|
|
52
|
-
"@wormhole-foundation/sdk-base": "
|
|
53
|
-
"@wormhole-foundation/sdk-definitions": "
|
|
52
|
+
"@wormhole-foundation/sdk-base": "1.25.0-beta.0",
|
|
53
|
+
"@wormhole-foundation/sdk-definitions": "1.25.0-beta.0"
|
|
54
54
|
},
|
|
55
55
|
"type": "module"
|
|
56
56
|
}
|