@wormhole-foundation/sdk-definitions-ntt 0.6.0 → 0.7.0-multi-token-alpha.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 +2 -0
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/layouts/index.d.ts +333 -20
- package/dist/cjs/layouts/index.d.ts.map +1 -1
- package/dist/cjs/layouts/index.js +19 -1
- package/dist/cjs/layouts/index.js.map +1 -1
- package/dist/cjs/layouts/manager.d.ts +1 -1
- package/dist/cjs/layouts/multiToken.d.ts +209 -0
- package/dist/cjs/layouts/multiToken.d.ts.map +1 -0
- package/dist/cjs/layouts/multiToken.js +67 -0
- package/dist/cjs/layouts/multiToken.js.map +1 -0
- 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/multiTokenNtt.d.ts +131 -0
- package/dist/cjs/multiTokenNtt.d.ts.map +1 -0
- package/dist/cjs/multiTokenNtt.js +22 -0
- package/dist/cjs/multiTokenNtt.js.map +1 -0
- package/dist/cjs/ntt.d.ts.map +1 -1
- package/dist/cjs/ntt.js +1 -0
- package/dist/cjs/ntt.js.map +1 -1
- package/dist/esm/index.d.ts +1 -0
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +3 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/layouts/index.d.ts +333 -20
- package/dist/esm/layouts/index.d.ts.map +1 -1
- package/dist/esm/layouts/index.js +18 -0
- package/dist/esm/layouts/index.js.map +1 -1
- package/dist/esm/layouts/manager.d.ts +1 -1
- package/dist/esm/layouts/multiToken.d.ts +209 -0
- package/dist/esm/layouts/multiToken.d.ts.map +1 -0
- package/dist/esm/layouts/multiToken.js +63 -0
- package/dist/esm/layouts/multiToken.js.map +1 -0
- 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/multiTokenNtt.d.ts +131 -0
- package/dist/esm/multiTokenNtt.d.ts.map +1 -0
- package/dist/esm/multiTokenNtt.js +19 -0
- package/dist/esm/multiTokenNtt.js.map +1 -0
- package/dist/esm/ntt.d.ts.map +1 -1
- package/dist/esm/ntt.js +1 -0
- package/dist/esm/ntt.js.map +1 -1
- 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":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AASA,cAAc,UAAU,CAAC;AACzB,cAAc,oBAAoB,CAAC;AAEnC,cAAc,oBAAoB,CAAC;AACnC,mBAAmB,oBAAoB,CAAC"}
|
package/dist/cjs/index.js
CHANGED
|
@@ -17,6 +17,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
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
|
+
(0, sdk_definitions_1.registerPayloadTypes)("MultiTokenNtt", index_js_1.multiTokenNttNamedPayloads);
|
|
20
21
|
__exportStar(require("./ntt.js"), exports);
|
|
22
|
+
__exportStar(require("./multiTokenNtt.js"), exports);
|
|
21
23
|
__exportStar(require("./layouts/index.js"), exports);
|
|
22
24
|
//# 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,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0EAA4E;AAC5E,iDAG4B;AAE5B,IAAA,sCAAoB,EAAC,KAAK,EAAE,2BAAgB,CAAC,CAAC;AAC9C,IAAA,sCAAoB,EAAC,eAAe,EAAE,qCAA0B,CAAC,CAAC;AAElE,2CAAyB;AACzB,qDAAmC;AAEnC,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" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Snaxchain" | "Unichain" | "Worldchain" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia"
|
|
77
|
-
from: (val: "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Snaxchain" | "Unichain" | "Worldchain" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia"
|
|
76
|
+
to: (val: number) => "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Snaxchain" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
|
|
77
|
+
from: (val: "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Snaxchain" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "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" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Snaxchain" | "Unichain" | "Worldchain" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia"
|
|
103
|
-
from: (val: "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Snaxchain" | "Unichain" | "Worldchain" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia"
|
|
102
|
+
to: (val: number) => "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Snaxchain" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
|
|
103
|
+
from: (val: "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Snaxchain" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "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" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Snaxchain" | "Unichain" | "Worldchain" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia"
|
|
196
|
-
from: (val: "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Snaxchain" | "Unichain" | "Worldchain" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia"
|
|
195
|
+
to: (val: number) => "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Snaxchain" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
|
|
196
|
+
from: (val: "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Snaxchain" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "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" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Snaxchain" | "Unichain" | "Worldchain" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia"
|
|
254
|
-
from: (val: "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Snaxchain" | "Unichain" | "Worldchain" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia"
|
|
253
|
+
to: (val: number) => "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Snaxchain" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
|
|
254
|
+
from: (val: "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Snaxchain" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "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" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Snaxchain" | "Unichain" | "Worldchain" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia"
|
|
304
|
-
from: (val: "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Snaxchain" | "Unichain" | "Worldchain" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia"
|
|
303
|
+
to: (val: number) => "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Snaxchain" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
|
|
304
|
+
from: (val: "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Snaxchain" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "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" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Snaxchain" | "Unichain" | "Worldchain" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia"
|
|
374
|
-
from: (val: "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Snaxchain" | "Unichain" | "Worldchain" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia"
|
|
373
|
+
to: (val: number) => "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Snaxchain" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
|
|
374
|
+
from: (val: "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Snaxchain" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "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;
|
|
@@ -385,14 +385,326 @@ export declare const nttNamedPayloads: readonly [readonly ["WormholeTransfer", r
|
|
|
385
385
|
};
|
|
386
386
|
readonly name: "transceiver";
|
|
387
387
|
}]]];
|
|
388
|
+
export declare const multiTokenNttNamedPayloads: readonly [readonly ["WormholeTransferStandardRelayer", readonly [{
|
|
389
|
+
readonly name: "payloadId";
|
|
390
|
+
readonly binary: "uint";
|
|
391
|
+
readonly size: 1;
|
|
392
|
+
readonly custom: 1;
|
|
393
|
+
readonly omit: true;
|
|
394
|
+
}, {
|
|
395
|
+
readonly binary: "bytes";
|
|
396
|
+
readonly layout: readonly [{
|
|
397
|
+
readonly custom: {
|
|
398
|
+
to: (val: number) => "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Snaxchain" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
|
|
399
|
+
from: (val: "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Snaxchain" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia") => number;
|
|
400
|
+
};
|
|
401
|
+
readonly binary: "uint";
|
|
402
|
+
readonly size: 2;
|
|
403
|
+
readonly name: "chain";
|
|
404
|
+
}, {
|
|
405
|
+
readonly binary: "bytes";
|
|
406
|
+
readonly size: 32;
|
|
407
|
+
readonly custom: {
|
|
408
|
+
to: (val: Uint8Array) => import("@wormhole-foundation/sdk-definitions").UniversalAddress;
|
|
409
|
+
from: (val: import("@wormhole-foundation/sdk-definitions").UniversalAddress) => Uint8Array;
|
|
410
|
+
};
|
|
411
|
+
readonly name: "address";
|
|
412
|
+
}];
|
|
413
|
+
readonly name: "target";
|
|
414
|
+
}, import("binary-layout").CustomizableBytesReturn<{
|
|
415
|
+
readonly name: "payload";
|
|
416
|
+
readonly lengthSize: 4;
|
|
417
|
+
}, readonly [{
|
|
418
|
+
readonly name: "prefix";
|
|
419
|
+
readonly binary: "bytes";
|
|
420
|
+
readonly custom: Uint8Array;
|
|
421
|
+
readonly omit: true;
|
|
422
|
+
}, {
|
|
423
|
+
readonly binary: "bytes";
|
|
424
|
+
readonly size: 32;
|
|
425
|
+
readonly custom: {
|
|
426
|
+
to: (val: Uint8Array) => import("@wormhole-foundation/sdk-definitions").UniversalAddress;
|
|
427
|
+
from: (val: import("@wormhole-foundation/sdk-definitions").UniversalAddress) => Uint8Array;
|
|
428
|
+
};
|
|
429
|
+
readonly name: "sourceNttManager";
|
|
430
|
+
}, {
|
|
431
|
+
readonly binary: "bytes";
|
|
432
|
+
readonly size: 32;
|
|
433
|
+
readonly custom: {
|
|
434
|
+
to: (val: Uint8Array) => import("@wormhole-foundation/sdk-definitions").UniversalAddress;
|
|
435
|
+
from: (val: import("@wormhole-foundation/sdk-definitions").UniversalAddress) => Uint8Array;
|
|
436
|
+
};
|
|
437
|
+
readonly name: "recipientNttManager";
|
|
438
|
+
}, import("binary-layout").CustomizableBytesReturn<{
|
|
439
|
+
readonly name: "nttManagerPayload";
|
|
440
|
+
readonly lengthSize: 2;
|
|
441
|
+
}, readonly [{
|
|
442
|
+
readonly name: "id";
|
|
443
|
+
readonly binary: "bytes";
|
|
444
|
+
readonly size: 32;
|
|
445
|
+
}, {
|
|
446
|
+
readonly binary: "bytes";
|
|
447
|
+
readonly size: 32;
|
|
448
|
+
readonly custom: {
|
|
449
|
+
to: (val: Uint8Array) => import("@wormhole-foundation/sdk-definitions").UniversalAddress;
|
|
450
|
+
from: (val: import("@wormhole-foundation/sdk-definitions").UniversalAddress) => Uint8Array;
|
|
451
|
+
};
|
|
452
|
+
readonly name: "sender";
|
|
453
|
+
}, import("binary-layout").CustomizableBytesReturn<{
|
|
454
|
+
readonly name: "payload";
|
|
455
|
+
readonly lengthSize: 2;
|
|
456
|
+
}, readonly [{
|
|
457
|
+
readonly name: "prefix";
|
|
458
|
+
readonly binary: "bytes";
|
|
459
|
+
readonly custom: Uint8Array;
|
|
460
|
+
readonly omit: true;
|
|
461
|
+
}, {
|
|
462
|
+
readonly custom: {
|
|
463
|
+
to: (val: number) => "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Snaxchain" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
|
|
464
|
+
from: (val: "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Snaxchain" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia") => number;
|
|
465
|
+
};
|
|
466
|
+
readonly binary: "uint";
|
|
467
|
+
readonly size: 2;
|
|
468
|
+
readonly name: "toChain";
|
|
469
|
+
}, {
|
|
470
|
+
readonly binary: "bytes";
|
|
471
|
+
readonly size: 32;
|
|
472
|
+
readonly custom: {
|
|
473
|
+
to: (val: Uint8Array) => import("@wormhole-foundation/sdk-definitions").UniversalAddress;
|
|
474
|
+
from: (val: import("@wormhole-foundation/sdk-definitions").UniversalAddress) => Uint8Array;
|
|
475
|
+
};
|
|
476
|
+
readonly name: "callee";
|
|
477
|
+
}, {
|
|
478
|
+
readonly binary: "bytes";
|
|
479
|
+
readonly size: 32;
|
|
480
|
+
readonly custom: {
|
|
481
|
+
to: (val: Uint8Array) => import("@wormhole-foundation/sdk-definitions").UniversalAddress;
|
|
482
|
+
from: (val: import("@wormhole-foundation/sdk-definitions").UniversalAddress) => Uint8Array;
|
|
483
|
+
};
|
|
484
|
+
readonly name: "sender";
|
|
485
|
+
}, import("binary-layout").CustomizableBytesReturn<{
|
|
486
|
+
readonly name: "data";
|
|
487
|
+
readonly lengthSize: 2;
|
|
488
|
+
}, readonly [{
|
|
489
|
+
readonly name: "prefix";
|
|
490
|
+
readonly binary: "bytes";
|
|
491
|
+
readonly custom: Uint8Array;
|
|
492
|
+
readonly omit: true;
|
|
493
|
+
}, {
|
|
494
|
+
readonly binary: "bytes";
|
|
495
|
+
readonly layout: readonly [{
|
|
496
|
+
readonly name: "decimals";
|
|
497
|
+
readonly binary: "uint";
|
|
498
|
+
readonly size: 1;
|
|
499
|
+
}, {
|
|
500
|
+
readonly name: "amount";
|
|
501
|
+
readonly binary: "uint";
|
|
502
|
+
readonly size: 8;
|
|
503
|
+
}];
|
|
504
|
+
readonly name: "trimmedAmount";
|
|
505
|
+
}, {
|
|
506
|
+
readonly binary: "bytes";
|
|
507
|
+
readonly layout: readonly [{
|
|
508
|
+
readonly binary: "bytes";
|
|
509
|
+
readonly layout: readonly [{
|
|
510
|
+
readonly binary: "bytes";
|
|
511
|
+
readonly size: 32;
|
|
512
|
+
readonly custom: {
|
|
513
|
+
to: (val: Uint8Array) => import("@wormhole-foundation/sdk-definitions").UniversalAddress;
|
|
514
|
+
from: (val: import("@wormhole-foundation/sdk-definitions").UniversalAddress) => Uint8Array;
|
|
515
|
+
};
|
|
516
|
+
readonly name: "name";
|
|
517
|
+
}, {
|
|
518
|
+
readonly binary: "bytes";
|
|
519
|
+
readonly size: 32;
|
|
520
|
+
readonly custom: {
|
|
521
|
+
to: (val: Uint8Array) => import("@wormhole-foundation/sdk-definitions").UniversalAddress;
|
|
522
|
+
from: (val: import("@wormhole-foundation/sdk-definitions").UniversalAddress) => Uint8Array;
|
|
523
|
+
};
|
|
524
|
+
readonly name: "symbol";
|
|
525
|
+
}, {
|
|
526
|
+
readonly name: "decimals";
|
|
527
|
+
readonly binary: "uint";
|
|
528
|
+
readonly size: 1;
|
|
529
|
+
}];
|
|
530
|
+
readonly name: "meta";
|
|
531
|
+
}, {
|
|
532
|
+
readonly binary: "bytes";
|
|
533
|
+
readonly layout: readonly [{
|
|
534
|
+
readonly custom: {
|
|
535
|
+
to: (val: number) => "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Snaxchain" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
|
|
536
|
+
from: (val: "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Snaxchain" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia") => number;
|
|
537
|
+
};
|
|
538
|
+
readonly binary: "uint";
|
|
539
|
+
readonly size: 2;
|
|
540
|
+
readonly name: "chainId";
|
|
541
|
+
}, {
|
|
542
|
+
readonly binary: "bytes";
|
|
543
|
+
readonly size: 32;
|
|
544
|
+
readonly custom: {
|
|
545
|
+
to: (val: Uint8Array) => import("@wormhole-foundation/sdk-definitions").UniversalAddress;
|
|
546
|
+
from: (val: import("@wormhole-foundation/sdk-definitions").UniversalAddress) => Uint8Array;
|
|
547
|
+
};
|
|
548
|
+
readonly name: "tokenAddress";
|
|
549
|
+
}];
|
|
550
|
+
readonly name: "token";
|
|
551
|
+
}];
|
|
552
|
+
readonly name: "token";
|
|
553
|
+
}, {
|
|
554
|
+
readonly binary: "bytes";
|
|
555
|
+
readonly size: 32;
|
|
556
|
+
readonly custom: {
|
|
557
|
+
to: (val: Uint8Array) => import("@wormhole-foundation/sdk-definitions").UniversalAddress;
|
|
558
|
+
from: (val: import("@wormhole-foundation/sdk-definitions").UniversalAddress) => Uint8Array;
|
|
559
|
+
};
|
|
560
|
+
readonly name: "sender";
|
|
561
|
+
}, {
|
|
562
|
+
readonly binary: "bytes";
|
|
563
|
+
readonly size: 32;
|
|
564
|
+
readonly custom: {
|
|
565
|
+
to: (val: Uint8Array) => import("@wormhole-foundation/sdk-definitions").UniversalAddress;
|
|
566
|
+
from: (val: import("@wormhole-foundation/sdk-definitions").UniversalAddress) => Uint8Array;
|
|
567
|
+
};
|
|
568
|
+
readonly name: "to";
|
|
569
|
+
}]>]>]>, import("binary-layout").CustomizableBytesReturn<{
|
|
570
|
+
readonly name: "transceiverPayload";
|
|
571
|
+
readonly lengthSize: 2;
|
|
572
|
+
}, Uint8Array>]>, {
|
|
573
|
+
readonly binary: "uint";
|
|
574
|
+
readonly size: 32;
|
|
575
|
+
readonly name: "requestedReceiverValue";
|
|
576
|
+
}, {
|
|
577
|
+
readonly binary: "uint";
|
|
578
|
+
readonly size: 32;
|
|
579
|
+
readonly name: "extraReceiverValue";
|
|
580
|
+
}, {
|
|
581
|
+
readonly binary: "bytes";
|
|
582
|
+
readonly layout: readonly [{
|
|
583
|
+
readonly name: "size";
|
|
584
|
+
readonly binary: "uint";
|
|
585
|
+
readonly size: 4;
|
|
586
|
+
readonly custom: number;
|
|
587
|
+
readonly omit: true;
|
|
588
|
+
}, {
|
|
589
|
+
readonly name: "waste";
|
|
590
|
+
readonly binary: "uint";
|
|
591
|
+
readonly size: 31;
|
|
592
|
+
readonly custom: 0n;
|
|
593
|
+
readonly omit: true;
|
|
594
|
+
}, {
|
|
595
|
+
readonly name: "version";
|
|
596
|
+
readonly binary: "uint";
|
|
597
|
+
readonly size: 1;
|
|
598
|
+
readonly custom: 0;
|
|
599
|
+
readonly omit: true;
|
|
600
|
+
}, {
|
|
601
|
+
readonly binary: "uint";
|
|
602
|
+
readonly size: 32;
|
|
603
|
+
readonly name: "gasLimit";
|
|
604
|
+
}, {
|
|
605
|
+
readonly binary: "uint";
|
|
606
|
+
readonly size: 32;
|
|
607
|
+
readonly name: "targetChainRefundPerGasUnused";
|
|
608
|
+
}];
|
|
609
|
+
readonly name: "executionInfo";
|
|
610
|
+
}, {
|
|
611
|
+
readonly binary: "bytes";
|
|
612
|
+
readonly layout: readonly [{
|
|
613
|
+
readonly custom: {
|
|
614
|
+
to: (val: number) => "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Snaxchain" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
|
|
615
|
+
from: (val: "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Snaxchain" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia") => number;
|
|
616
|
+
};
|
|
617
|
+
readonly binary: "uint";
|
|
618
|
+
readonly size: 2;
|
|
619
|
+
readonly name: "chain";
|
|
620
|
+
}, {
|
|
621
|
+
readonly binary: "bytes";
|
|
622
|
+
readonly size: 32;
|
|
623
|
+
readonly custom: {
|
|
624
|
+
to: (val: Uint8Array) => import("@wormhole-foundation/sdk-definitions").UniversalAddress;
|
|
625
|
+
from: (val: import("@wormhole-foundation/sdk-definitions").UniversalAddress) => Uint8Array;
|
|
626
|
+
};
|
|
627
|
+
readonly name: "address";
|
|
628
|
+
}];
|
|
629
|
+
readonly name: "refund";
|
|
630
|
+
}, {
|
|
631
|
+
readonly binary: "bytes";
|
|
632
|
+
readonly size: 32;
|
|
633
|
+
readonly custom: {
|
|
634
|
+
to: (val: Uint8Array) => import("@wormhole-foundation/sdk-definitions").UniversalAddress;
|
|
635
|
+
from: (val: import("@wormhole-foundation/sdk-definitions").UniversalAddress) => Uint8Array;
|
|
636
|
+
};
|
|
637
|
+
readonly name: "refundDeliveryProvider";
|
|
638
|
+
}, {
|
|
639
|
+
readonly binary: "bytes";
|
|
640
|
+
readonly size: 32;
|
|
641
|
+
readonly custom: {
|
|
642
|
+
to: (val: Uint8Array) => import("@wormhole-foundation/sdk-definitions").UniversalAddress;
|
|
643
|
+
from: (val: import("@wormhole-foundation/sdk-definitions").UniversalAddress) => Uint8Array;
|
|
644
|
+
};
|
|
645
|
+
readonly name: "sourceDeliveryProvider";
|
|
646
|
+
}, {
|
|
647
|
+
readonly binary: "bytes";
|
|
648
|
+
readonly size: 32;
|
|
649
|
+
readonly custom: {
|
|
650
|
+
to: (val: Uint8Array) => import("@wormhole-foundation/sdk-definitions").UniversalAddress;
|
|
651
|
+
from: (val: import("@wormhole-foundation/sdk-definitions").UniversalAddress) => Uint8Array;
|
|
652
|
+
};
|
|
653
|
+
readonly name: "senderAddress";
|
|
654
|
+
}, {
|
|
655
|
+
readonly name: "messageKeys";
|
|
656
|
+
readonly binary: "array";
|
|
657
|
+
readonly lengthSize: 1;
|
|
658
|
+
readonly layout: {
|
|
659
|
+
readonly binary: "switch";
|
|
660
|
+
readonly idSize: 1;
|
|
661
|
+
readonly idTag: "keyType";
|
|
662
|
+
readonly layouts: readonly [readonly [readonly [1, "VAA"], readonly [{
|
|
663
|
+
readonly custom: {
|
|
664
|
+
to: (val: number) => "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Snaxchain" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
|
|
665
|
+
from: (val: "Solana" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Algorand" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Btc" | "Base" | "Sei" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Snaxchain" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia") => number;
|
|
666
|
+
};
|
|
667
|
+
readonly binary: "uint";
|
|
668
|
+
readonly size: 2;
|
|
669
|
+
readonly name: "chain";
|
|
670
|
+
}, {
|
|
671
|
+
readonly binary: "bytes";
|
|
672
|
+
readonly size: 32;
|
|
673
|
+
readonly custom: {
|
|
674
|
+
to: (val: Uint8Array) => import("@wormhole-foundation/sdk-definitions").UniversalAddress;
|
|
675
|
+
from: (val: import("@wormhole-foundation/sdk-definitions").UniversalAddress) => Uint8Array;
|
|
676
|
+
};
|
|
677
|
+
readonly name: "emitterAddress";
|
|
678
|
+
}, {
|
|
679
|
+
readonly binary: "uint";
|
|
680
|
+
readonly size: 8;
|
|
681
|
+
readonly name: "sequence";
|
|
682
|
+
}]], readonly [readonly [2, "CCTP"], readonly [{
|
|
683
|
+
readonly name: "size";
|
|
684
|
+
readonly binary: "uint";
|
|
685
|
+
readonly size: 4;
|
|
686
|
+
readonly custom: 12;
|
|
687
|
+
readonly omit: true;
|
|
688
|
+
}, {
|
|
689
|
+
readonly binary: "uint";
|
|
690
|
+
readonly size: 4;
|
|
691
|
+
readonly name: "domain";
|
|
692
|
+
}, {
|
|
693
|
+
readonly binary: "uint";
|
|
694
|
+
readonly size: 8;
|
|
695
|
+
readonly name: "nonce";
|
|
696
|
+
}]]];
|
|
697
|
+
};
|
|
698
|
+
}]]];
|
|
388
699
|
declare module "@wormhole-foundation/sdk-definitions" {
|
|
389
700
|
namespace WormholeRegistry {
|
|
390
|
-
interface PayloadLiteralToLayoutMapping extends RegisterPayloadTypes<"Ntt", typeof nttNamedPayloads> {
|
|
701
|
+
interface PayloadLiteralToLayoutMapping extends RegisterPayloadTypes<"Ntt", typeof nttNamedPayloads>, RegisterPayloadTypes<"MultiTokenNtt", typeof multiTokenNttNamedPayloads> {
|
|
391
702
|
}
|
|
392
703
|
}
|
|
393
704
|
}
|
|
394
705
|
export * from "./amount.js";
|
|
395
706
|
export * from "./manager.js";
|
|
707
|
+
export * from "./multiToken.js";
|
|
396
708
|
export * from "./prefix.js";
|
|
397
709
|
export * from "./transceiver.js";
|
|
398
710
|
export * from "./transceiverInstructions.js";
|
|
@@ -400,6 +712,7 @@ export * from "./transfer.js";
|
|
|
400
712
|
export * from "./wormhole.js";
|
|
401
713
|
export type * from "./amount.js";
|
|
402
714
|
export type * from "./manager.js";
|
|
715
|
+
export type * from "./multiToken.js";
|
|
403
716
|
export type * from "./prefix.js";
|
|
404
717
|
export type * from "./transceiver.js";
|
|
405
718
|
export type * from "./transceiverInstructions.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/layouts/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,oBAAoB,EAErB,MAAM,sCAAsC,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/layouts/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,oBAAoB,EAErB,MAAM,sCAAsC,CAAC;AAU9C,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA2BK,CAAC;AAEnC,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAWL,CAAC;AAGnC,OAAO,QAAQ,sCAAsC,CAAC;IACpD,UAAiB,gBAAgB,CAAC;QAChC,UAAU,6BACR,SAAQ,oBAAoB,CAAC,KAAK,EAAE,OAAO,gBAAgB,CAAC,EAC1D,oBAAoB,CAClB,eAAe,EACf,OAAO,0BAA0B,CAClC;SAAG;KACT;CACF;AAED,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,CAAC;AAChC,cAAc,aAAa,CAAC;AAC5B,cAAc,kBAAkB,CAAC;AACjC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAE9B,mBAAmB,aAAa,CAAC;AACjC,mBAAmB,cAAc,CAAC;AAClC,mBAAmB,iBAAiB,CAAC;AACrC,mBAAmB,aAAa,CAAC;AACjC,mBAAmB,kBAAkB,CAAC;AACtC,mBAAmB,8BAA8B,CAAC;AAClD,mBAAmB,eAAe,CAAC;AACnC,mBAAmB,eAAe,CAAC"}
|
|
@@ -14,11 +14,12 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
exports.nttNamedPayloads = void 0;
|
|
17
|
+
exports.multiTokenNttNamedPayloads = exports.nttNamedPayloads = void 0;
|
|
18
18
|
const sdk_definitions_1 = require("@wormhole-foundation/sdk-definitions");
|
|
19
19
|
const manager_js_1 = require("./manager.js");
|
|
20
20
|
const transceiver_js_1 = require("./transceiver.js");
|
|
21
21
|
const transfer_js_1 = require("./transfer.js");
|
|
22
|
+
const multiToken_js_1 = require("./multiToken.js");
|
|
22
23
|
const wormhole_js_1 = require("./wormhole.js");
|
|
23
24
|
exports.nttNamedPayloads = [
|
|
24
25
|
[
|
|
@@ -29,11 +30,28 @@ exports.nttNamedPayloads = [
|
|
|
29
30
|
"WormholeTransferStandardRelayer",
|
|
30
31
|
(0, sdk_definitions_1.deliveryInstructionLayout)((0, wormhole_js_1.wormholeTransceiverMessageLayout)((0, manager_js_1.nttManagerMessageLayout)(transfer_js_1.nativeTokenTransferLayout))),
|
|
31
32
|
],
|
|
33
|
+
//[
|
|
34
|
+
// "MultiTokenWormholeTransferStandardRelayer",
|
|
35
|
+
// deliveryInstructionLayout(
|
|
36
|
+
// wormholeTransceiverMessageLayout(
|
|
37
|
+
// nttManagerMessageLayout(
|
|
38
|
+
// genericMessageLayout(multiTokenNativeTokenTransferLayout)
|
|
39
|
+
// )
|
|
40
|
+
// )
|
|
41
|
+
// ),
|
|
42
|
+
//],
|
|
32
43
|
["TransceiverInfo", transceiver_js_1.transceiverInfo],
|
|
33
44
|
["TransceiverRegistration", transceiver_js_1.transceiverRegistration],
|
|
34
45
|
];
|
|
46
|
+
exports.multiTokenNttNamedPayloads = [
|
|
47
|
+
[
|
|
48
|
+
"WormholeTransferStandardRelayer",
|
|
49
|
+
(0, sdk_definitions_1.deliveryInstructionLayout)((0, wormhole_js_1.wormholeTransceiverMessageLayout)((0, manager_js_1.nttManagerMessageLayout)((0, multiToken_js_1.genericMessageLayout)(multiToken_js_1.multiTokenNativeTokenTransferLayout)))),
|
|
50
|
+
],
|
|
51
|
+
];
|
|
35
52
|
__exportStar(require("./amount.js"), exports);
|
|
36
53
|
__exportStar(require("./manager.js"), exports);
|
|
54
|
+
__exportStar(require("./multiToken.js"), exports);
|
|
37
55
|
__exportStar(require("./prefix.js"), exports);
|
|
38
56
|
__exportStar(require("./transceiver.js"), exports);
|
|
39
57
|
__exportStar(require("./transceiverInstructions.js"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/layouts/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,0EAI8C;AAC9C,6CAAuD;AACvD,qDAA4E;AAC5E,+CAA0D;AAC1D,+CAAiE;AAEpD,QAAA,gBAAgB,GAAG;IAC9B;QACE,kBAAkB;QAClB,IAAA,8CAAgC,EAC9B,IAAA,oCAAuB,EAAC,uCAAyB,CAAC,CACnD;KACF;IACD;QACE,iCAAiC;QACjC,IAAA,2CAAyB,EACvB,IAAA,8CAAgC,EAC9B,IAAA,oCAAuB,EAAC,uCAAyB,CAAC,CACnD,CACF;KACF;IACD,CAAC,iBAAiB,EAAE,gCAAe,CAAC;IACpC,CAAC,yBAAyB,EAAE,wCAAuB,CAAC;CACpB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/layouts/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,0EAI8C;AAC9C,6CAAuD;AACvD,qDAA4E;AAC5E,+CAA0D;AAC1D,mDAGyB;AACzB,+CAAiE;AAEpD,QAAA,gBAAgB,GAAG;IAC9B;QACE,kBAAkB;QAClB,IAAA,8CAAgC,EAC9B,IAAA,oCAAuB,EAAC,uCAAyB,CAAC,CACnD;KACF;IACD;QACE,iCAAiC;QACjC,IAAA,2CAAyB,EACvB,IAAA,8CAAgC,EAC9B,IAAA,oCAAuB,EAAC,uCAAyB,CAAC,CACnD,CACF;KACF;IACD,GAAG;IACH,gDAAgD;IAChD,8BAA8B;IAC9B,uCAAuC;IACvC,gCAAgC;IAChC,mEAAmE;IACnE,SAAS;IACT,OAAO;IACP,MAAM;IACN,IAAI;IACJ,CAAC,iBAAiB,EAAE,gCAAe,CAAC;IACpC,CAAC,yBAAyB,EAAE,wCAAuB,CAAC;CACpB,CAAC;AAEtB,QAAA,0BAA0B,GAAG;IACxC;QACE,iCAAiC;QACjC,IAAA,2CAAyB,EACvB,IAAA,8CAAgC,EAC9B,IAAA,oCAAuB,EACrB,IAAA,oCAAoB,EAAC,mDAAmC,CAAC,CAC1D,CACF,CACF;KACF;CAC+B,CAAC;AAcnC,8CAA4B;AAC5B,+CAA6B;AAC7B,kDAAgC;AAChC,8CAA4B;AAC5B,mDAAiC;AACjC,+DAA6C;AAC7C,gDAA8B;AAC9B,gDAA8B"}
|
|
@@ -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>];
|