@wormhole-foundation/sdk-definitions-ntt 3.0.0-multi-token.beta.3 → 3.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (75) hide show
  1. package/dist/cjs/index.d.ts +0 -3
  2. package/dist/cjs/index.d.ts.map +1 -1
  3. package/dist/cjs/index.js +0 -4
  4. package/dist/cjs/index.js.map +1 -1
  5. package/dist/cjs/layouts/index.d.ts +25 -186
  6. package/dist/cjs/layouts/index.d.ts.map +1 -1
  7. package/dist/cjs/layouts/index.js +1 -9
  8. package/dist/cjs/layouts/index.js.map +1 -1
  9. package/dist/cjs/layouts/manager.d.ts.map +1 -1
  10. package/dist/cjs/layouts/prefix.d.ts +1 -1
  11. package/dist/cjs/layouts/prefix.d.ts.map +1 -1
  12. package/dist/cjs/layouts/transceiver.d.ts +5 -5
  13. package/dist/cjs/layouts/transceiver.d.ts.map +1 -1
  14. package/dist/cjs/layouts/transceiverInstructions.d.ts.map +1 -1
  15. package/dist/cjs/layouts/transfer.d.ts +5 -5
  16. package/dist/cjs/layouts/transfer.js +2 -2
  17. package/dist/cjs/layouts/transfer.js.map +1 -1
  18. package/dist/cjs/layouts/wormhole.d.ts +2 -2
  19. package/dist/cjs/layouts/wormhole.d.ts.map +1 -1
  20. package/dist/cjs/ntt.d.ts +1 -6
  21. package/dist/cjs/ntt.d.ts.map +1 -1
  22. package/dist/cjs/ntt.js.map +1 -1
  23. package/dist/esm/index.d.ts +0 -3
  24. package/dist/esm/index.d.ts.map +1 -1
  25. package/dist/esm/index.js +1 -5
  26. package/dist/esm/index.js.map +1 -1
  27. package/dist/esm/layouts/index.d.ts +25 -186
  28. package/dist/esm/layouts/index.d.ts.map +1 -1
  29. package/dist/esm/layouts/index.js +0 -8
  30. package/dist/esm/layouts/index.js.map +1 -1
  31. package/dist/esm/layouts/manager.d.ts.map +1 -1
  32. package/dist/esm/layouts/prefix.d.ts +1 -1
  33. package/dist/esm/layouts/prefix.d.ts.map +1 -1
  34. package/dist/esm/layouts/transceiver.d.ts +5 -5
  35. package/dist/esm/layouts/transceiver.d.ts.map +1 -1
  36. package/dist/esm/layouts/transceiverInstructions.d.ts.map +1 -1
  37. package/dist/esm/layouts/transfer.d.ts +5 -5
  38. package/dist/esm/layouts/wormhole.d.ts +2 -2
  39. package/dist/esm/layouts/wormhole.d.ts.map +1 -1
  40. package/dist/esm/ntt.d.ts +1 -6
  41. package/dist/esm/ntt.d.ts.map +1 -1
  42. package/dist/esm/ntt.js.map +1 -1
  43. package/package.json +3 -3
  44. package/dist/cjs/layouts/multiToken.d.ts +0 -212
  45. package/dist/cjs/layouts/multiToken.d.ts.map +0 -1
  46. package/dist/cjs/layouts/multiToken.js +0 -50
  47. package/dist/cjs/layouts/multiToken.js.map +0 -1
  48. package/dist/cjs/multiTokenNtt.d.ts +0 -75
  49. package/dist/cjs/multiTokenNtt.d.ts.map +0 -1
  50. package/dist/cjs/multiTokenNtt.js +0 -22
  51. package/dist/cjs/multiTokenNtt.js.map +0 -1
  52. package/dist/cjs/multiTokenNttWithExecutor.d.ts +0 -23
  53. package/dist/cjs/multiTokenNttWithExecutor.d.ts.map +0 -1
  54. package/dist/cjs/multiTokenNttWithExecutor.js +0 -3
  55. package/dist/cjs/multiTokenNttWithExecutor.js.map +0 -1
  56. package/dist/cjs/trimmedAmount.d.ts +0 -6
  57. package/dist/cjs/trimmedAmount.d.ts.map +0 -1
  58. package/dist/cjs/trimmedAmount.js +0 -30
  59. package/dist/cjs/trimmedAmount.js.map +0 -1
  60. package/dist/esm/layouts/multiToken.d.ts +0 -212
  61. package/dist/esm/layouts/multiToken.d.ts.map +0 -1
  62. package/dist/esm/layouts/multiToken.js +0 -46
  63. package/dist/esm/layouts/multiToken.js.map +0 -1
  64. package/dist/esm/multiTokenNtt.d.ts +0 -75
  65. package/dist/esm/multiTokenNtt.d.ts.map +0 -1
  66. package/dist/esm/multiTokenNtt.js +0 -19
  67. package/dist/esm/multiTokenNtt.js.map +0 -1
  68. package/dist/esm/multiTokenNttWithExecutor.d.ts +0 -23
  69. package/dist/esm/multiTokenNttWithExecutor.d.ts.map +0 -1
  70. package/dist/esm/multiTokenNttWithExecutor.js +0 -2
  71. package/dist/esm/multiTokenNttWithExecutor.js.map +0 -1
  72. package/dist/esm/trimmedAmount.d.ts +0 -6
  73. package/dist/esm/trimmedAmount.d.ts.map +0 -1
  74. package/dist/esm/trimmedAmount.js +0 -24
  75. package/dist/esm/trimmedAmount.js.map +0 -1
@@ -1,8 +1,5 @@
1
1
  export * from "./ntt.js";
2
2
  export * from "./nttWithExecutor.js";
3
- export * from "./multiTokenNtt.js";
4
- export * from "./multiTokenNttWithExecutor.js";
5
- export * from "./trimmedAmount.js";
6
3
  export * from "./layouts/index.js";
7
4
  export type * from "./layouts/index.js";
8
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AASA,cAAc,UAAU,CAAC;AACzB,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC;AACnC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,oBAAoB,CAAC;AAEnC,cAAc,oBAAoB,CAAC;AACnC,mBAAmB,oBAAoB,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
@@ -17,11 +17,7 @@ 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);
21
20
  __exportStar(require("./ntt.js"), exports);
22
21
  __exportStar(require("./nttWithExecutor.js"), exports);
23
- __exportStar(require("./multiTokenNtt.js"), exports);
24
- __exportStar(require("./multiTokenNttWithExecutor.js"), exports);
25
- __exportStar(require("./trimmedAmount.js"), exports);
26
22
  __exportStar(require("./layouts/index.js"), exports);
27
23
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
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,uDAAqC;AACrC,qDAAmC;AACnC,iEAA+C;AAC/C,qDAAmC;AAEnC,qDAAmC"}
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"}
@@ -2,7 +2,7 @@ import { RegisterPayloadTypes } from "@wormhole-foundation/sdk-definitions";
2
2
  export declare const nttNamedPayloads: readonly [readonly ["WormholeTransfer", readonly [{
3
3
  readonly name: "prefix";
4
4
  readonly binary: "bytes";
5
- readonly custom: Uint8Array;
5
+ readonly custom: Uint8Array<ArrayBuffer>;
6
6
  readonly omit: true;
7
7
  }, {
8
8
  readonly binary: "bytes";
@@ -41,7 +41,7 @@ export declare const nttNamedPayloads: readonly [readonly ["WormholeTransfer", r
41
41
  }, readonly [{
42
42
  readonly name: "prefix";
43
43
  readonly binary: "bytes";
44
- readonly custom: Uint8Array;
44
+ readonly custom: Uint8Array<ArrayBuffer>;
45
45
  readonly omit: true;
46
46
  }, {
47
47
  readonly binary: "bytes";
@@ -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" | "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" | "Fogo" | "Sonic" | "Converge" | "Plume" | "XRPLEVM" | "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" | "Fogo" | "Sonic" | "Converge" | "Plume" | "XRPLEVM" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia") => number;
76
+ to: (val: number) => "Solana" | "Ethereum" | "Bsc" | "Polygon" | "Avalanche" | "Algorand" | "Fantom" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Pythnet" | "Btc" | "Base" | "Sei" | "Scroll" | "Mantle" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "Mezo" | "Fogo" | "Sonic" | "Converge" | "Plume" | "XRPLEVM" | "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" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Pythnet" | "Btc" | "Base" | "Sei" | "Scroll" | "Mantle" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "Mezo" | "Fogo" | "Sonic" | "Converge" | "Plume" | "XRPLEVM" | "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;
@@ -82,14 +82,14 @@ export declare const nttNamedPayloads: readonly [readonly ["WormholeTransfer", r
82
82
  }, {
83
83
  readonly binary: "bytes";
84
84
  readonly custom: {
85
- to: (val: Uint8Array) => Uint8Array;
86
- from: (val: Uint8Array) => Uint8Array;
85
+ to: (val: Uint8Array) => Uint8Array<ArrayBuffer>;
86
+ from: (val: Uint8Array) => Uint8Array<ArrayBuffer>;
87
87
  };
88
88
  readonly name: "additionalPayload";
89
89
  }]>]>, import("binary-layout").CustomizableBytesReturn<{
90
90
  readonly name: "transceiverPayload";
91
91
  readonly lengthSize: 2;
92
- }, Uint8Array>]], readonly ["WormholeTransferStandardRelayer", readonly [{
92
+ }, Uint8Array<ArrayBuffer>>]], readonly ["WormholeTransferStandardRelayer", readonly [{
93
93
  readonly name: "payloadId";
94
94
  readonly binary: "uint";
95
95
  readonly size: 1;
@@ -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" | "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" | "Fogo" | "Sonic" | "Converge" | "Plume" | "XRPLEVM" | "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" | "Fogo" | "Sonic" | "Converge" | "Plume" | "XRPLEVM" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia") => number;
102
+ to: (val: number) => "Solana" | "Ethereum" | "Bsc" | "Polygon" | "Avalanche" | "Algorand" | "Fantom" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Pythnet" | "Btc" | "Base" | "Sei" | "Scroll" | "Mantle" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "Mezo" | "Fogo" | "Sonic" | "Converge" | "Plume" | "XRPLEVM" | "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" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Pythnet" | "Btc" | "Base" | "Sei" | "Scroll" | "Mantle" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "Mezo" | "Fogo" | "Sonic" | "Converge" | "Plume" | "XRPLEVM" | "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;
@@ -121,7 +121,7 @@ export declare const nttNamedPayloads: readonly [readonly ["WormholeTransfer", r
121
121
  }, readonly [{
122
122
  readonly name: "prefix";
123
123
  readonly binary: "bytes";
124
- readonly custom: Uint8Array;
124
+ readonly custom: Uint8Array<ArrayBuffer>;
125
125
  readonly omit: true;
126
126
  }, {
127
127
  readonly binary: "bytes";
@@ -160,7 +160,7 @@ export declare const nttNamedPayloads: readonly [readonly ["WormholeTransfer", r
160
160
  }, readonly [{
161
161
  readonly name: "prefix";
162
162
  readonly binary: "bytes";
163
- readonly custom: Uint8Array;
163
+ readonly custom: Uint8Array<ArrayBuffer>;
164
164
  readonly omit: true;
165
165
  }, {
166
166
  readonly binary: "bytes";
@@ -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" | "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" | "Fogo" | "Sonic" | "Converge" | "Plume" | "XRPLEVM" | "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" | "Fogo" | "Sonic" | "Converge" | "Plume" | "XRPLEVM" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia") => number;
195
+ to: (val: number) => "Solana" | "Ethereum" | "Bsc" | "Polygon" | "Avalanche" | "Algorand" | "Fantom" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Pythnet" | "Btc" | "Base" | "Sei" | "Scroll" | "Mantle" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "Mezo" | "Fogo" | "Sonic" | "Converge" | "Plume" | "XRPLEVM" | "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" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Pythnet" | "Btc" | "Base" | "Sei" | "Scroll" | "Mantle" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "Mezo" | "Fogo" | "Sonic" | "Converge" | "Plume" | "XRPLEVM" | "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;
@@ -201,14 +201,14 @@ export declare const nttNamedPayloads: readonly [readonly ["WormholeTransfer", r
201
201
  }, {
202
202
  readonly binary: "bytes";
203
203
  readonly custom: {
204
- to: (val: Uint8Array) => Uint8Array;
205
- from: (val: Uint8Array) => Uint8Array;
204
+ to: (val: Uint8Array) => Uint8Array<ArrayBuffer>;
205
+ from: (val: Uint8Array) => Uint8Array<ArrayBuffer>;
206
206
  };
207
207
  readonly name: "additionalPayload";
208
208
  }]>]>, import("binary-layout").CustomizableBytesReturn<{
209
209
  readonly name: "transceiverPayload";
210
210
  readonly lengthSize: 2;
211
- }, Uint8Array>]>, {
211
+ }, Uint8Array<ArrayBuffer>>]>, {
212
212
  readonly binary: "uint";
213
213
  readonly size: 32;
214
214
  readonly name: "requestedReceiverValue";
@@ -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" | "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" | "Fogo" | "Sonic" | "Converge" | "Plume" | "XRPLEVM" | "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" | "Fogo" | "Sonic" | "Converge" | "Plume" | "XRPLEVM" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia") => number;
253
+ to: (val: number) => "Solana" | "Ethereum" | "Bsc" | "Polygon" | "Avalanche" | "Algorand" | "Fantom" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Pythnet" | "Btc" | "Base" | "Sei" | "Scroll" | "Mantle" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "Mezo" | "Fogo" | "Sonic" | "Converge" | "Plume" | "XRPLEVM" | "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" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Pythnet" | "Btc" | "Base" | "Sei" | "Scroll" | "Mantle" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "Mezo" | "Fogo" | "Sonic" | "Converge" | "Plume" | "XRPLEVM" | "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" | "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" | "Fogo" | "Sonic" | "Converge" | "Plume" | "XRPLEVM" | "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" | "Fogo" | "Sonic" | "Converge" | "Plume" | "XRPLEVM" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia") => number;
303
+ to: (val: number) => "Solana" | "Ethereum" | "Bsc" | "Polygon" | "Avalanche" | "Algorand" | "Fantom" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Pythnet" | "Btc" | "Base" | "Sei" | "Scroll" | "Mantle" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "Mezo" | "Fogo" | "Sonic" | "Converge" | "Plume" | "XRPLEVM" | "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" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Pythnet" | "Btc" | "Base" | "Sei" | "Scroll" | "Mantle" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "Mezo" | "Fogo" | "Sonic" | "Converge" | "Plume" | "XRPLEVM" | "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;
@@ -337,7 +337,7 @@ export declare const nttNamedPayloads: readonly [readonly ["WormholeTransfer", r
337
337
  }]], readonly ["TransceiverInfo", readonly [{
338
338
  readonly name: "prefix";
339
339
  readonly binary: "bytes";
340
- readonly custom: Uint8Array;
340
+ readonly custom: Uint8Array<ArrayBuffer>;
341
341
  readonly omit: true;
342
342
  }, {
343
343
  readonly binary: "bytes";
@@ -366,12 +366,12 @@ export declare const nttNamedPayloads: readonly [readonly ["WormholeTransfer", r
366
366
  }]], readonly ["TransceiverRegistration", readonly [{
367
367
  readonly name: "prefix";
368
368
  readonly binary: "bytes";
369
- readonly custom: Uint8Array;
369
+ readonly custom: Uint8Array<ArrayBuffer>;
370
370
  readonly omit: true;
371
371
  }, {
372
372
  readonly custom: {
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" | "Fogo" | "Sonic" | "Converge" | "Plume" | "XRPLEVM" | "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" | "Fogo" | "Sonic" | "Converge" | "Plume" | "XRPLEVM" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia") => number;
373
+ to: (val: number) => "Solana" | "Ethereum" | "Bsc" | "Polygon" | "Avalanche" | "Algorand" | "Fantom" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Pythnet" | "Btc" | "Base" | "Sei" | "Scroll" | "Mantle" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "Mezo" | "Fogo" | "Sonic" | "Converge" | "Plume" | "XRPLEVM" | "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" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Pythnet" | "Btc" | "Base" | "Sei" | "Scroll" | "Mantle" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "Mezo" | "Fogo" | "Sonic" | "Converge" | "Plume" | "XRPLEVM" | "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,174 +385,14 @@ export declare const nttNamedPayloads: readonly [readonly ["WormholeTransfer", r
385
385
  };
386
386
  readonly name: "transceiver";
387
387
  }]]];
388
- export declare const multiTokenNttNamedPayloads: readonly [readonly ["WormholeTransfer", readonly [{
389
- readonly name: "prefix";
390
- readonly binary: "bytes";
391
- readonly custom: Uint8Array;
392
- readonly omit: true;
393
- }, {
394
- readonly binary: "bytes";
395
- readonly size: 32;
396
- readonly custom: {
397
- to: (val: Uint8Array) => import("@wormhole-foundation/sdk-definitions").UniversalAddress;
398
- from: (val: import("@wormhole-foundation/sdk-definitions").UniversalAddress) => Uint8Array;
399
- };
400
- readonly name: "sourceNttManager";
401
- }, {
402
- readonly binary: "bytes";
403
- readonly size: 32;
404
- readonly custom: {
405
- to: (val: Uint8Array) => import("@wormhole-foundation/sdk-definitions").UniversalAddress;
406
- from: (val: import("@wormhole-foundation/sdk-definitions").UniversalAddress) => Uint8Array;
407
- };
408
- readonly name: "recipientNttManager";
409
- }, import("binary-layout").CustomizableBytesReturn<{
410
- readonly name: "nttManagerPayload";
411
- readonly lengthSize: 2;
412
- }, readonly [{
413
- readonly name: "id";
414
- readonly binary: "bytes";
415
- readonly size: 32;
416
- }, {
417
- readonly binary: "bytes";
418
- readonly size: 32;
419
- readonly custom: {
420
- to: (val: Uint8Array) => import("@wormhole-foundation/sdk-definitions").UniversalAddress;
421
- from: (val: import("@wormhole-foundation/sdk-definitions").UniversalAddress) => Uint8Array;
422
- };
423
- readonly name: "sender";
424
- }, import("binary-layout").CustomizableBytesReturn<{
425
- readonly name: "payload";
426
- readonly lengthSize: 2;
427
- }, readonly [{
428
- readonly name: "prefix";
429
- readonly binary: "bytes";
430
- readonly custom: Uint8Array;
431
- readonly omit: true;
432
- }, {
433
- readonly custom: {
434
- 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" | "Fogo" | "Sonic" | "Converge" | "Plume" | "XRPLEVM" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
435
- 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" | "Fogo" | "Sonic" | "Converge" | "Plume" | "XRPLEVM" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia") => number;
436
- };
437
- readonly binary: "uint";
438
- readonly size: 2;
439
- readonly name: "toChain";
440
- }, {
441
- readonly binary: "bytes";
442
- readonly size: 32;
443
- readonly custom: {
444
- to: (val: Uint8Array) => import("@wormhole-foundation/sdk-definitions").UniversalAddress;
445
- from: (val: import("@wormhole-foundation/sdk-definitions").UniversalAddress) => Uint8Array;
446
- };
447
- readonly name: "callee";
448
- }, {
449
- readonly binary: "bytes";
450
- readonly size: 32;
451
- readonly custom: {
452
- to: (val: Uint8Array) => import("@wormhole-foundation/sdk-definitions").UniversalAddress;
453
- from: (val: import("@wormhole-foundation/sdk-definitions").UniversalAddress) => Uint8Array;
454
- };
455
- readonly name: "sender";
456
- }, import("binary-layout").CustomizableBytesReturn<{
457
- readonly name: "data";
458
- readonly lengthSize: 2;
459
- }, readonly [{
460
- readonly name: "prefix";
461
- readonly binary: "bytes";
462
- readonly custom: Uint8Array;
463
- readonly omit: true;
464
- }, {
465
- readonly binary: "bytes";
466
- readonly layout: readonly [{
467
- readonly name: "decimals";
468
- readonly binary: "uint";
469
- readonly size: 1;
470
- }, {
471
- readonly name: "amount";
472
- readonly binary: "uint";
473
- readonly size: 8;
474
- }];
475
- readonly name: "trimmedAmount";
476
- }, {
477
- readonly binary: "bytes";
478
- readonly layout: readonly [{
479
- readonly binary: "bytes";
480
- readonly layout: readonly [{
481
- readonly binary: "bytes";
482
- readonly size: number;
483
- readonly custom: {
484
- to: (val: Uint8Array) => string;
485
- from: (val: string) => Uint8Array;
486
- };
487
- readonly name: "name";
488
- }, {
489
- readonly binary: "bytes";
490
- readonly size: number;
491
- readonly custom: {
492
- to: (val: Uint8Array) => string;
493
- from: (val: string) => Uint8Array;
494
- };
495
- readonly name: "symbol";
496
- }, {
497
- readonly name: "decimals";
498
- readonly binary: "uint";
499
- readonly size: 1;
500
- }];
501
- readonly name: "meta";
502
- }, {
503
- readonly binary: "bytes";
504
- readonly layout: readonly [{
505
- readonly custom: {
506
- 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" | "Fogo" | "Sonic" | "Converge" | "Plume" | "XRPLEVM" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
507
- 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" | "Fogo" | "Sonic" | "Converge" | "Plume" | "XRPLEVM" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia") => number;
508
- };
509
- readonly binary: "uint";
510
- readonly size: 2;
511
- readonly name: "chainId";
512
- }, {
513
- readonly binary: "bytes";
514
- readonly size: 32;
515
- readonly custom: {
516
- to: (val: Uint8Array) => import("@wormhole-foundation/sdk-definitions").UniversalAddress;
517
- from: (val: import("@wormhole-foundation/sdk-definitions").UniversalAddress) => Uint8Array;
518
- };
519
- readonly name: "tokenAddress";
520
- }];
521
- readonly name: "token";
522
- }];
523
- readonly name: "token";
524
- }, {
525
- readonly binary: "bytes";
526
- readonly size: 32;
527
- readonly custom: {
528
- to: (val: Uint8Array) => import("@wormhole-foundation/sdk-definitions").UniversalAddress;
529
- from: (val: import("@wormhole-foundation/sdk-definitions").UniversalAddress) => Uint8Array;
530
- };
531
- readonly name: "sender";
532
- }, {
533
- readonly binary: "bytes";
534
- readonly size: 32;
535
- readonly custom: {
536
- to: (val: Uint8Array) => import("@wormhole-foundation/sdk-definitions").UniversalAddress;
537
- from: (val: import("@wormhole-foundation/sdk-definitions").UniversalAddress) => Uint8Array;
538
- };
539
- readonly name: "to";
540
- }, import("binary-layout").CustomizableBytesReturn<{
541
- readonly name: "additionalPayload";
542
- readonly lengthSize: 2;
543
- }, import("binary-layout").CustomizableBytes>]>]>]>, import("binary-layout").CustomizableBytesReturn<{
544
- readonly name: "transceiverPayload";
545
- readonly lengthSize: 2;
546
- }, Uint8Array>]]];
547
388
  declare module "@wormhole-foundation/sdk-definitions" {
548
389
  namespace WormholeRegistry {
549
- interface PayloadLiteralToLayoutMapping extends RegisterPayloadTypes<"Ntt", typeof nttNamedPayloads>, RegisterPayloadTypes<"MultiTokenNtt", typeof multiTokenNttNamedPayloads> {
390
+ interface PayloadLiteralToLayoutMapping extends RegisterPayloadTypes<"Ntt", typeof nttNamedPayloads> {
550
391
  }
551
392
  }
552
393
  }
553
394
  export * from "./amount.js";
554
395
  export * from "./manager.js";
555
- export * from "./multiToken.js";
556
396
  export * from "./prefix.js";
557
397
  export * from "./transceiver.js";
558
398
  export * from "./transceiverInstructions.js";
@@ -560,7 +400,6 @@ export * from "./transfer.js";
560
400
  export * from "./wormhole.js";
561
401
  export type * from "./amount.js";
562
402
  export type * from "./manager.js";
563
- export type * from "./multiToken.js";
564
403
  export type * from "./prefix.js";
565
404
  export type * from "./transceiver.js";
566
405
  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;AAU9C,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAiBK,CAAC;AAEnC,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAiBK,CAAC;AAGnC,OAAO,QAAQ,sCAAsC,CAAC;IACpD,UAAiB,gBAAgB,CAAC;QAChC,UAAU,6BACR,SAAQ,oBAAoB,CAAC,KAAK,EAAE,OAAO,gBAAgB,CAAC;SAAG;KAClE;CACF;AAED,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,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,aAAa,CAAC;AACjC,mBAAmB,kBAAkB,CAAC;AACtC,mBAAmB,8BAA8B,CAAC;AAClD,mBAAmB,eAAe,CAAC;AACnC,mBAAmB,eAAe,CAAC"}
@@ -14,12 +14,11 @@ 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.multiTokenNttNamedPayloads = exports.nttNamedPayloads = void 0;
17
+ 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");
23
22
  const wormhole_js_1 = require("./wormhole.js");
24
23
  exports.nttNamedPayloads = [
25
24
  [
@@ -33,15 +32,8 @@ exports.nttNamedPayloads = [
33
32
  ["TransceiverInfo", transceiver_js_1.transceiverInfo],
34
33
  ["TransceiverRegistration", transceiver_js_1.transceiverRegistration],
35
34
  ];
36
- exports.multiTokenNttNamedPayloads = [
37
- [
38
- "WormholeTransfer",
39
- (0, wormhole_js_1.wormholeTransceiverMessageLayout)((0, manager_js_1.nttManagerMessageLayout)((0, multiToken_js_1.genericMessageLayout)(multiToken_js_1.multiTokenNativeTokenTransferLayout))),
40
- ],
41
- ];
42
35
  __exportStar(require("./amount.js"), exports);
43
36
  __exportStar(require("./manager.js"), exports);
44
- __exportStar(require("./multiToken.js"), exports);
45
37
  __exportStar(require("./prefix.js"), exports);
46
38
  __exportStar(require("./transceiver.js"), exports);
47
39
  __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,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,CAAC,iBAAiB,EAAE,gCAAe,CAAC;IACpC,CAAC,yBAAyB,EAAE,wCAAuB,CAAC;CACpB,CAAC;AAEtB,QAAA,0BAA0B,GAAG;IACxC;QACE,kBAAkB;QAClB,IAAA,8CAAgC,EAC9B,IAAA,oCAAuB,EACrB,IAAA,oCAAoB,EAAC,mDAAmC,CAAC,CAC1D,CACF;KACF;CAC+B,CAAC;AAcnC,8CAA4B;AAC5B,+CAA6B;AAC7B,kDAAgC;AAChC,8CAA4B;AAC5B,mDAAiC;AACjC,+DAA6C;AAC7C,gDAA8B;AAC9B,gDAA8B"}
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;AAUnC,8CAA4B;AAC5B,+CAA6B;AAC7B,8CAA4B;AAC5B,mDAAiC;AACjC,+DAA6C;AAC7C,gDAA8B;AAC9B,gDAA8B"}
@@ -1 +1 @@
1
- {"version":3,"file":"manager.d.ts","sourceRoot":"","sources":["../../../src/layouts/manager.ts"],"names":[],"mappings":"AACA,OAAO,EACL,iBAAiB,EAEjB,YAAY,EAEb,MAAM,+BAA+B,CAAC;AAEvC,MAAM,MAAM,iBAAiB,CAAC,CAAC,SAAS,iBAAiB,GAAG,SAAS,IACnE,YAAY,CAAC,UAAU,CAAC,OAAO,uBAAuB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AAE9D,eAAO,MAAM,uBAAuB,kEAGlB,CAAC;;;;;;;;;;;;;;;MAMU,CAAC"}
1
+ {"version":3,"file":"manager.d.ts","sourceRoot":"","sources":["../../../src/layouts/manager.ts"],"names":[],"mappings":"AACA,OAAO,EACL,iBAAiB,EAEjB,YAAY,EAEb,MAAM,+BAA+B,CAAC;AAEvC,MAAM,MAAM,iBAAiB,CAAC,CAAC,SAAS,iBAAiB,GAAG,SAAS,IACnE,YAAY,CAAC,UAAU,CAAC,OAAO,uBAAuB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AAE9D,eAAO,MAAM,uBAAuB,GAClC,KAAK,CAAC,CAAC,SAAS,iBAAiB,GAAG,SAAS,EAE7C,gBAAgB,CAAC;;;;;;;;;;;;;;;MAMU,CAAC"}
@@ -2,7 +2,7 @@ export type Prefix = readonly [number, number, number, number];
2
2
  export declare const prefixItem: (prefix: Prefix) => {
3
3
  readonly name: "prefix";
4
4
  readonly binary: "bytes";
5
- readonly custom: Uint8Array;
5
+ readonly custom: Uint8Array<ArrayBuffer>;
6
6
  readonly omit: true;
7
7
  };
8
8
  //# sourceMappingURL=prefix.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"prefix.d.ts","sourceRoot":"","sources":["../../../src/layouts/prefix.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,MAAM,GAAG,SAAS,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC;AAC/D,eAAO,MAAM,UAAU;;;;;CAMV,CAAC"}
1
+ {"version":3,"file":"prefix.d.ts","sourceRoot":"","sources":["../../../src/layouts/prefix.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,MAAM,GAAG,SAAS,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC;AAC/D,eAAO,MAAM,UAAU,GAAI,QAAQ,MAAM;;;;;CAM5B,CAAC"}
@@ -4,7 +4,7 @@ export type TransceiverMessage<MP extends CustomizableBytes = undefined, TP exte
4
4
  export declare const transceiverMessageLayout: <const MP extends CustomizableBytes = undefined, const TP extends CustomizableBytes = undefined>(prefix: Prefix, nttManagerPayload?: MP, transceiverPayload?: TP) => readonly [{
5
5
  readonly name: "prefix";
6
6
  readonly binary: "bytes";
7
- readonly custom: Uint8Array;
7
+ readonly custom: Uint8Array<ArrayBuffer>;
8
8
  readonly omit: true;
9
9
  }, {
10
10
  readonly binary: "bytes";
@@ -33,7 +33,7 @@ export type TransceiverInfo = LayoutToType<typeof transceiverInfo>;
33
33
  export declare const transceiverInfo: readonly [{
34
34
  readonly name: "prefix";
35
35
  readonly binary: "bytes";
36
- readonly custom: Uint8Array;
36
+ readonly custom: Uint8Array<ArrayBuffer>;
37
37
  readonly omit: true;
38
38
  }, {
39
39
  readonly binary: "bytes";
@@ -64,12 +64,12 @@ export type TransceiverRegistration = LayoutToType<typeof transceiverRegistratio
64
64
  export declare const transceiverRegistration: readonly [{
65
65
  readonly name: "prefix";
66
66
  readonly binary: "bytes";
67
- readonly custom: Uint8Array;
67
+ readonly custom: Uint8Array<ArrayBuffer>;
68
68
  readonly omit: true;
69
69
  }, {
70
70
  readonly custom: {
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" | "Fogo" | "Sonic" | "Converge" | "Plume" | "XRPLEVM" | "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" | "Fogo" | "Sonic" | "Converge" | "Plume" | "XRPLEVM" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia") => number;
71
+ to: (val: number) => "Solana" | "Ethereum" | "Bsc" | "Polygon" | "Avalanche" | "Algorand" | "Fantom" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Pythnet" | "Btc" | "Base" | "Sei" | "Scroll" | "Mantle" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "Mezo" | "Fogo" | "Sonic" | "Converge" | "Plume" | "XRPLEVM" | "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" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Pythnet" | "Btc" | "Base" | "Sei" | "Scroll" | "Mantle" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "Mezo" | "Fogo" | "Sonic" | "Converge" | "Plume" | "XRPLEVM" | "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;
@@ -1 +1 @@
1
- {"version":3,"file":"transceiver.d.ts","sourceRoot":"","sources":["../../../src/layouts/transceiver.ts"],"names":[],"mappings":"AACA,OAAO,EACL,iBAAiB,EAEjB,YAAY,EAEb,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,MAAM,EAAc,MAAM,aAAa,CAAC;AAEjD,MAAM,MAAM,kBAAkB,CAC5B,EAAE,SAAS,iBAAiB,GAAG,SAAS,EACxC,EAAE,SAAS,iBAAiB,GAAG,SAAS,IACtC,YAAY,CAAC,UAAU,CAAC,OAAO,wBAAwB,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC;AAEtE,eAAO,MAAM,wBAAwB,uIAKf,EAAE,uBACD,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;OAcI,CAAC;AAE9B,MAAM,MAAM,eAAe,GAAG,YAAY,CAAC,OAAO,eAAe,CAAC,CAAC;AACnE,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAMD,CAAC;AAG5B,MAAM,MAAM,uBAAuB,GAAG,YAAY,CAChD,OAAO,uBAAuB,CAC/B,CAAC;AACF,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;EAIT,CAAC"}
1
+ {"version":3,"file":"transceiver.d.ts","sourceRoot":"","sources":["../../../src/layouts/transceiver.ts"],"names":[],"mappings":"AACA,OAAO,EACL,iBAAiB,EAEjB,YAAY,EAEb,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,MAAM,EAAc,MAAM,aAAa,CAAC;AAEjD,MAAM,MAAM,kBAAkB,CAC5B,EAAE,SAAS,iBAAiB,GAAG,SAAS,EACxC,EAAE,SAAS,iBAAiB,GAAG,SAAS,IACtC,YAAY,CAAC,UAAU,CAAC,OAAO,wBAAwB,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC;AAEtE,eAAO,MAAM,wBAAwB,GACnC,KAAK,CAAC,EAAE,SAAS,iBAAiB,GAAG,SAAS,EAC9C,KAAK,CAAC,EAAE,SAAS,iBAAiB,GAAG,SAAS,EAE9C,QAAQ,MAAM,EACd,oBAAoB,EAAE,EACtB,qBAAqB,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;OAcI,CAAC;AAE9B,MAAM,MAAM,eAAe,GAAG,YAAY,CAAC,OAAO,eAAe,CAAC,CAAC;AACnE,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAMD,CAAC;AAG5B,MAAM,MAAM,uBAAuB,GAAG,YAAY,CAChD,OAAO,uBAAuB,CAC/B,CAAC;AACF,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;EAIT,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"transceiverInstructions.d.ts","sourceRoot":"","sources":["../../../src/layouts/transceiverInstructions.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,iBAAiB,EAGlB,MAAM,+BAA+B,CAAC;AAEvC,eAAO,MAAM,4BAA4B,kEAGvB,CAAC;;;;;;;MAKU,CAAC"}
1
+ {"version":3,"file":"transceiverInstructions.d.ts","sourceRoot":"","sources":["../../../src/layouts/transceiverInstructions.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,iBAAiB,EAGlB,MAAM,+BAA+B,CAAC;AAEvC,eAAO,MAAM,4BAA4B,GACvC,KAAK,CAAC,CAAC,SAAS,iBAAiB,GAAG,SAAS,EAE7C,gBAAgB,CAAC;;;;;;;MAKU,CAAC"}
@@ -5,7 +5,7 @@ export type NativeTokenTransfer = LayoutToType<typeof nativeTokenTransferLayout>
5
5
  export declare const nativeTokenTransferLayout: readonly [{
6
6
  readonly name: "prefix";
7
7
  readonly binary: "bytes";
8
- readonly custom: Uint8Array;
8
+ readonly custom: Uint8Array<ArrayBuffer>;
9
9
  readonly omit: true;
10
10
  }, {
11
11
  readonly binary: "bytes";
@@ -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" | "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" | "Fogo" | "Sonic" | "Converge" | "Plume" | "XRPLEVM" | "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" | "Fogo" | "Sonic" | "Converge" | "Plume" | "XRPLEVM" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia") => number;
40
+ to: (val: number) => "Solana" | "Ethereum" | "Bsc" | "Polygon" | "Avalanche" | "Algorand" | "Fantom" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Pythnet" | "Btc" | "Base" | "Sei" | "Scroll" | "Mantle" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "Mezo" | "Fogo" | "Sonic" | "Converge" | "Plume" | "XRPLEVM" | "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" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Pythnet" | "Btc" | "Base" | "Sei" | "Scroll" | "Mantle" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "Mezo" | "Fogo" | "Sonic" | "Converge" | "Plume" | "XRPLEVM" | "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;
@@ -46,8 +46,8 @@ export declare const nativeTokenTransferLayout: readonly [{
46
46
  }, {
47
47
  readonly binary: "bytes";
48
48
  readonly custom: {
49
- to: (val: Uint8Array) => Uint8Array;
50
- from: (val: Uint8Array) => Uint8Array;
49
+ to: (val: Uint8Array) => Uint8Array<ArrayBuffer>;
50
+ from: (val: Uint8Array) => Uint8Array<ArrayBuffer>;
51
51
  };
52
52
  readonly name: "additionalPayload";
53
53
  }];
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.nativeTokenTransferLayout = exports.serializeNum = void 0;
3
+ exports.nativeTokenTransferLayout = void 0;
4
+ exports.serializeNum = serializeNum;
4
5
  const sdk_definitions_1 = require("@wormhole-foundation/sdk-definitions");
5
6
  const amount_js_1 = require("./amount.js");
6
7
  const prefix_js_1 = require("./prefix.js");
@@ -20,7 +21,6 @@ function serializeNum(val, size) {
20
21
  arr[i] = Number((BigInt(val) >> BigInt(8 * (size - i - 1))) & 0xffn);
21
22
  return arr;
22
23
  }
23
- exports.serializeNum = serializeNum;
24
24
  const optionalAdditionalPayloadItem = {
25
25
  binary: "bytes",
26
26
  custom: {
@@ -1 +1 @@
1
- {"version":3,"file":"transfer.js","sourceRoot":"","sources":["../../../src/layouts/transfer.ts"],"names":[],"mappings":";;;AAKA,0EAAmE;AACnE,2CAAgD;AAChD,2CAAyC;AAEzC,SAAS,cAAc,CAAC,OAAmB,EAAE,IAAY;IACvD,IAAI,GAAG,GAAG,EAAE,CAAC;IACb,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,IAAI,EAAE,EAAE,CAAC;QAC3B,GAAG,IAAI,MAAM,CAAC,OAAO,CAAC,CAAC,CAAE,CAAC,IAAI,MAAM,CAAC,CAAC,GAAG,CAAC,IAAI,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;IAE3D,OAAO,MAAM,CAAC,GAAG,CAAC,CAAC;AACrB,CAAC;AAED,SAAgB,YAAY,CAAC,GAAW,EAAE,IAAY;IACpD,MAAM,KAAK,GAAG,EAAE,IAAI,MAAM,CAAC,IAAI,GAAG,CAAC,CAAC,CAAC;IACrC,IAAI,GAAG,IAAI,KAAK;QACd,MAAM,IAAI,KAAK,CAAC,SAAS,GAAG,qBAAqB,IAAI,QAAQ,CAAC,CAAC;IAEjE,MAAM,GAAG,GAAG,IAAI,UAAU,CAAC,IAAI,CAAC,CAAC;IAEjC,mDAAmD;IACnD,KAAK,I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