@wormhole-foundation/sdk-definitions 0.4.4-beta.2 → 0.4.4-beta.3
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 -1
- package/dist/cjs/index.d.ts.map +1 -1
- package/dist/cjs/index.js +1 -2
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/layout-items/chain.d.ts +2 -2
- package/dist/cjs/payloads/automaticCircleBridge.d.ts +2 -2
- package/dist/cjs/payloads/automaticTokenBridge.d.ts +4 -4
- package/dist/cjs/payloads/bam.d.ts +16 -16
- package/dist/cjs/payloads/governance.d.ts +42 -42
- package/dist/cjs/payloads/ntt.d.ts +51 -2
- package/dist/cjs/payloads/ntt.d.ts.map +1 -1
- package/dist/cjs/payloads/ntt.js +8 -3
- package/dist/cjs/payloads/ntt.js.map +1 -1
- package/dist/cjs/payloads/relayer.d.ts +17 -17
- package/dist/cjs/payloads/tokenBridge.d.ts +14 -14
- package/dist/cjs/protocol.d.ts +1 -1
- package/dist/cjs/protocols/ntt.d.ts +29 -3
- package/dist/cjs/protocols/ntt.d.ts.map +1 -1
- package/dist/cjs/protocols/ntt.js +11 -3
- package/dist/cjs/protocols/ntt.js.map +1 -1
- package/dist/cjs/vaa/vaa.d.ts +4 -4
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +1 -2
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/layout-items/chain.d.ts +2 -2
- package/dist/esm/payloads/automaticCircleBridge.d.ts +2 -2
- package/dist/esm/payloads/automaticTokenBridge.d.ts +4 -4
- package/dist/esm/payloads/bam.d.ts +16 -16
- package/dist/esm/payloads/governance.d.ts +42 -42
- package/dist/esm/payloads/ntt.d.ts +51 -2
- package/dist/esm/payloads/ntt.d.ts.map +1 -1
- package/dist/esm/payloads/ntt.js +7 -2
- package/dist/esm/payloads/ntt.js.map +1 -1
- package/dist/esm/payloads/relayer.d.ts +17 -17
- package/dist/esm/payloads/tokenBridge.d.ts +14 -14
- package/dist/esm/protocol.d.ts +1 -1
- package/dist/esm/protocols/ntt.d.ts +29 -3
- package/dist/esm/protocols/ntt.d.ts.map +1 -1
- package/dist/esm/protocols/ntt.js +10 -3
- package/dist/esm/protocols/ntt.js.map +1 -1
- package/dist/esm/vaa/vaa.d.ts +4 -4
- package/dist/tsconfig.cjs.tsbuildinfo +1 -1
- package/dist/tsconfig.esm.tsbuildinfo +1 -1
- package/package.json +2 -2
package/dist/cjs/index.d.ts
CHANGED
|
@@ -17,13 +17,13 @@ export * from "./signer";
|
|
|
17
17
|
export * from "./rpc";
|
|
18
18
|
export * from "./attestation";
|
|
19
19
|
export * from "./types";
|
|
20
|
-
export * from "./payloads/ntt";
|
|
21
20
|
export * from "./protocols/core";
|
|
22
21
|
export * from "./protocols/tokenBridge";
|
|
23
22
|
export * from "./protocols/circleBridge";
|
|
24
23
|
export * from "./protocols/ibc";
|
|
25
24
|
export * from "./protocols/portico";
|
|
26
25
|
export * from "./protocols/relayer";
|
|
26
|
+
export * from "./protocols/ntt";
|
|
27
27
|
export * as layoutItems from "./layout-items";
|
|
28
28
|
export * as testing from "./testing";
|
|
29
29
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/cjs/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AACA,OAAO,kCAAkC,CAAC;AAC1C,OAAO,oBAAoB,CAAC;AAC5B,OAAO,uBAAuB,CAAC;AAC/B,OAAO,wBAAwB,CAAC;AAChC,OAAO,gBAAgB,CAAC;AAExB,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,oBAAoB,CAAC;AACnC,cAAc,uBAAuB,CAAC;AACtC,cAAc,OAAO,CAAC;AACtB,cAAc,SAAS,CAAC;AACxB,cAAc,YAAY,CAAC;AAC3B,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC;AACzB,cAAc,OAAO,CAAC;AACtB,cAAc,eAAe,CAAC;AAC9B,cAAc,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AACA,OAAO,kCAAkC,CAAC;AAC1C,OAAO,oBAAoB,CAAC;AAC5B,OAAO,uBAAuB,CAAC;AAC/B,OAAO,wBAAwB,CAAC;AAChC,OAAO,gBAAgB,CAAC;AAExB,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,oBAAoB,CAAC;AACnC,cAAc,uBAAuB,CAAC;AACtC,cAAc,OAAO,CAAC;AACtB,cAAc,SAAS,CAAC;AACxB,cAAc,YAAY,CAAC;AAC3B,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC;AACzB,cAAc,OAAO,CAAC;AACtB,cAAc,eAAe,CAAC;AAC9B,cAAc,SAAS,CAAC;AAExB,cAAc,kBAAkB,CAAC;AACjC,cAAc,yBAAyB,CAAC;AACxC,cAAc,0BAA0B,CAAC;AACzC,cAAc,iBAAiB,CAAC;AAChC,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC;AACpC,cAAc,iBAAiB,CAAC;AAEhC,OAAO,KAAK,WAAW,MAAM,gBAAgB,CAAC;AAC9C,OAAO,KAAK,OAAO,MAAM,WAAW,CAAC"}
|
package/dist/cjs/index.js
CHANGED
|
@@ -47,14 +47,13 @@ __exportStar(require("./signer"), exports);
|
|
|
47
47
|
__exportStar(require("./rpc"), exports);
|
|
48
48
|
__exportStar(require("./attestation"), exports);
|
|
49
49
|
__exportStar(require("./types"), exports);
|
|
50
|
-
// Temporary until exported from protocols dir
|
|
51
|
-
__exportStar(require("./payloads/ntt"), exports);
|
|
52
50
|
__exportStar(require("./protocols/core"), exports);
|
|
53
51
|
__exportStar(require("./protocols/tokenBridge"), exports);
|
|
54
52
|
__exportStar(require("./protocols/circleBridge"), exports);
|
|
55
53
|
__exportStar(require("./protocols/ibc"), exports);
|
|
56
54
|
__exportStar(require("./protocols/portico"), exports);
|
|
57
55
|
__exportStar(require("./protocols/relayer"), exports);
|
|
56
|
+
__exportStar(require("./protocols/ntt"), exports);
|
|
58
57
|
exports.layoutItems = __importStar(require("./layout-items"));
|
|
59
58
|
exports.testing = __importStar(require("./testing"));
|
|
60
59
|
//# 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,oCAAoC;AACpC,4CAA0C;AAC1C,8BAA4B;AAC5B,iCAA+B;AAC/B,kCAAgC;AAChC,0BAAwB;AAExB,4CAA0B;AAC1B,6CAA2B;AAC3B,qDAAmC;AACnC,wDAAsC;AACtC,wCAAsB;AACtB,0CAAwB;AACxB,6CAA2B;AAC3B,0CAAwB;AACxB,8CAA4B;AAC5B,8CAA4B;AAC5B,2CAAyB;AACzB,wCAAsB;AACtB,gDAA8B;AAC9B,0CAAwB;AAExB,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,oCAAoC;AACpC,4CAA0C;AAC1C,8BAA4B;AAC5B,iCAA+B;AAC/B,kCAAgC;AAChC,0BAAwB;AAExB,4CAA0B;AAC1B,6CAA2B;AAC3B,qDAAmC;AACnC,wDAAsC;AACtC,wCAAsB;AACtB,0CAAwB;AACxB,6CAA2B;AAC3B,0CAAwB;AACxB,8CAA4B;AAC5B,8CAA4B;AAC5B,2CAAyB;AACzB,wCAAsB;AACtB,gDAA8B;AAC9B,0CAAwB;AAExB,mDAAiC;AACjC,0DAAwC;AACxC,2DAAyC;AACzC,kDAAgC;AAChC,sDAAoC;AACpC,sDAAoC;AACpC,kDAAgC;AAEhC,8DAA8C;AAC9C,qDAAqC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
type AllowNull<T, B extends boolean> = B extends true ? T | null : T;
|
|
2
|
-
export declare const chainItem: <C extends readonly ("Solana" | "
|
|
2
|
+
export declare const chainItem: <C extends readonly ("Solana" | "Btc" | "Algorand" | "Sui" | "Aptos" | "Near" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Base" | "Sei" | "Rootstock" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Dymension" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky")[] = ["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", "Wormchain", "Cosmoshub", "Evmos", "Kujira", "Neutron", "Celestia", "Stargaze", "Dymension", "Sepolia", "ArbitrumSepolia", "BaseSepolia", "OptimismSepolia", "Holesky"], N extends boolean = false>(opts?: {
|
|
3
3
|
allowedChains?: C | undefined;
|
|
4
4
|
allowNull?: N | undefined;
|
|
5
5
|
} | undefined) => {
|
|
@@ -10,7 +10,7 @@ export declare const chainItem: <C extends readonly ("Solana" | "Ethereum" | "Te
|
|
|
10
10
|
readonly binary: "uint";
|
|
11
11
|
readonly size: 2;
|
|
12
12
|
};
|
|
13
|
-
export declare const fixedChainItem: <C extends "Solana" | "
|
|
13
|
+
export declare const fixedChainItem: <C extends "Solana" | "Btc" | "Algorand" | "Sui" | "Aptos" | "Near" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Base" | "Sei" | "Rootstock" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Dymension" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky">(chain: C) => {
|
|
14
14
|
readonly custom: {
|
|
15
15
|
to: C;
|
|
16
16
|
from: {
|
|
@@ -165,8 +165,8 @@ export declare const namedPayloads: readonly [readonly ["DepositWithPayload", re
|
|
|
165
165
|
readonly name: "mintRecipient";
|
|
166
166
|
}, {
|
|
167
167
|
name: "payload";
|
|
168
|
-
lengthSize: 2;
|
|
169
168
|
binary: "bytes";
|
|
169
|
+
lengthSize: 2;
|
|
170
170
|
}]], readonly ["TransferWithRelay", readonly [{
|
|
171
171
|
readonly name: "payloadId";
|
|
172
172
|
readonly binary: "uint";
|
|
@@ -219,7 +219,6 @@ export declare const namedPayloads: readonly [readonly ["DepositWithPayload", re
|
|
|
219
219
|
readonly name: "mintRecipient";
|
|
220
220
|
}, {
|
|
221
221
|
name: "payload";
|
|
222
|
-
lengthSize: 2;
|
|
223
222
|
layout: readonly [{
|
|
224
223
|
readonly name: "payloadId";
|
|
225
224
|
readonly binary: "uint";
|
|
@@ -244,6 +243,7 @@ export declare const namedPayloads: readonly [readonly ["DepositWithPayload", re
|
|
|
244
243
|
readonly name: "targetRecipient";
|
|
245
244
|
}];
|
|
246
245
|
binary: "bytes";
|
|
246
|
+
lengthSize: 2;
|
|
247
247
|
}]]];
|
|
248
248
|
declare global {
|
|
249
249
|
namespace Wormhole {
|
|
@@ -45,8 +45,8 @@ export declare const namedPayloads: readonly [readonly ["TransferWithRelay", rea
|
|
|
45
45
|
readonly name: "address";
|
|
46
46
|
}, {
|
|
47
47
|
readonly custom: {
|
|
48
|
-
to: (val: number) => "Solana" | "
|
|
49
|
-
from: (val: "Solana" | "
|
|
48
|
+
to: (val: number) => "Solana" | "Btc" | "Algorand" | "Sui" | "Aptos" | "Near" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Base" | "Sei" | "Rootstock" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Dymension" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky";
|
|
49
|
+
from: (val: "Solana" | "Btc" | "Algorand" | "Sui" | "Aptos" | "Near" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Base" | "Sei" | "Rootstock" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Dymension" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky") => number;
|
|
50
50
|
};
|
|
51
51
|
readonly binary: "uint";
|
|
52
52
|
readonly size: 2;
|
|
@@ -65,8 +65,8 @@ export declare const namedPayloads: readonly [readonly ["TransferWithRelay", rea
|
|
|
65
65
|
readonly name: "address";
|
|
66
66
|
}, {
|
|
67
67
|
readonly custom: {
|
|
68
|
-
to: (val: number) => "Solana" | "
|
|
69
|
-
from: (val: "Solana" | "
|
|
68
|
+
to: (val: number) => "Solana" | "Btc" | "Algorand" | "Sui" | "Aptos" | "Near" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Base" | "Sei" | "Rootstock" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Dymension" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky";
|
|
69
|
+
from: (val: "Solana" | "Btc" | "Algorand" | "Sui" | "Aptos" | "Near" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Base" | "Sei" | "Rootstock" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Dymension" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky") => number;
|
|
70
70
|
};
|
|
71
71
|
readonly binary: "uint";
|
|
72
72
|
readonly size: 2;
|
|
@@ -24,8 +24,8 @@ export declare const messageLayout: <T extends number, const C extends Customiza
|
|
|
24
24
|
readonly size: 8;
|
|
25
25
|
}, {
|
|
26
26
|
readonly custom: {
|
|
27
|
-
to: (val: number) => "Solana" | "
|
|
28
|
-
from: (val: "Solana" | "
|
|
27
|
+
to: (val: number) => "Solana" | "Btc" | "Algorand" | "Sui" | "Aptos" | "Near" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Base" | "Sei" | "Rootstock" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Dymension" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky";
|
|
28
|
+
from: (val: "Solana" | "Btc" | "Algorand" | "Sui" | "Aptos" | "Near" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Base" | "Sei" | "Rootstock" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Dymension" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky") => number;
|
|
29
29
|
};
|
|
30
30
|
readonly binary: "uint";
|
|
31
31
|
readonly size: 2;
|
|
@@ -106,8 +106,8 @@ export declare const tokenMessageLayout: <B extends Pick<import("@wormhole-found
|
|
|
106
106
|
readonly size: 8;
|
|
107
107
|
}, {
|
|
108
108
|
readonly custom: {
|
|
109
|
-
to: (val: number) => "Solana" | "
|
|
110
|
-
from: (val: "Solana" | "
|
|
109
|
+
to: (val: number) => "Solana" | "Btc" | "Algorand" | "Sui" | "Aptos" | "Near" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Base" | "Sei" | "Rootstock" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Dymension" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky";
|
|
110
|
+
from: (val: "Solana" | "Btc" | "Algorand" | "Sui" | "Aptos" | "Near" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Base" | "Sei" | "Rootstock" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Dymension" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky") => number;
|
|
111
111
|
};
|
|
112
112
|
readonly binary: "uint";
|
|
113
113
|
readonly size: 2;
|
|
@@ -211,8 +211,8 @@ export declare const extendedMessageLayout: <const C extends CustomizableBytes =
|
|
|
211
211
|
readonly size: 8;
|
|
212
212
|
}, {
|
|
213
213
|
readonly custom: {
|
|
214
|
-
to: (val: number) => "Solana" | "
|
|
215
|
-
from: (val: "Solana" | "
|
|
214
|
+
to: (val: number) => "Solana" | "Btc" | "Algorand" | "Sui" | "Aptos" | "Near" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Base" | "Sei" | "Rootstock" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Dymension" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky";
|
|
215
|
+
from: (val: "Solana" | "Btc" | "Algorand" | "Sui" | "Aptos" | "Near" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Base" | "Sei" | "Rootstock" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Dymension" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky") => number;
|
|
216
216
|
};
|
|
217
217
|
readonly binary: "uint";
|
|
218
218
|
readonly size: 2;
|
|
@@ -328,8 +328,8 @@ export declare const namedPayloads: readonly [readonly ["Message", readonly [{
|
|
|
328
328
|
readonly size: 8;
|
|
329
329
|
}, {
|
|
330
330
|
readonly custom: {
|
|
331
|
-
to: (val: number) => "Solana" | "
|
|
332
|
-
from: (val: "Solana" | "
|
|
331
|
+
to: (val: number) => "Solana" | "Btc" | "Algorand" | "Sui" | "Aptos" | "Near" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Base" | "Sei" | "Rootstock" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Dymension" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky";
|
|
332
|
+
from: (val: "Solana" | "Btc" | "Algorand" | "Sui" | "Aptos" | "Near" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Base" | "Sei" | "Rootstock" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Dymension" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky") => number;
|
|
333
333
|
};
|
|
334
334
|
readonly binary: "uint";
|
|
335
335
|
readonly size: 2;
|
|
@@ -344,8 +344,8 @@ export declare const namedPayloads: readonly [readonly ["Message", readonly [{
|
|
|
344
344
|
readonly name: "senderAddress";
|
|
345
345
|
}, {
|
|
346
346
|
name: "contents";
|
|
347
|
-
lengthSize: 2;
|
|
348
347
|
binary: "bytes";
|
|
348
|
+
lengthSize: 2;
|
|
349
349
|
}]], readonly ["TokenMessage", readonly [{
|
|
350
350
|
readonly name: "magicByte";
|
|
351
351
|
readonly binary: "uint";
|
|
@@ -370,8 +370,8 @@ export declare const namedPayloads: readonly [readonly ["Message", readonly [{
|
|
|
370
370
|
readonly size: 8;
|
|
371
371
|
}, {
|
|
372
372
|
readonly custom: {
|
|
373
|
-
to: (val: number) => "Solana" | "
|
|
374
|
-
from: (val: "Solana" | "
|
|
373
|
+
to: (val: number) => "Solana" | "Btc" | "Algorand" | "Sui" | "Aptos" | "Near" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Base" | "Sei" | "Rootstock" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Dymension" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky";
|
|
374
|
+
from: (val: "Solana" | "Btc" | "Algorand" | "Sui" | "Aptos" | "Near" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Base" | "Sei" | "Rootstock" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Dymension" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky") => number;
|
|
375
375
|
};
|
|
376
376
|
readonly binary: "uint";
|
|
377
377
|
readonly size: 2;
|
|
@@ -386,8 +386,8 @@ export declare const namedPayloads: readonly [readonly ["Message", readonly [{
|
|
|
386
386
|
readonly name: "senderAddress";
|
|
387
387
|
}, {
|
|
388
388
|
name: "contents";
|
|
389
|
-
lengthSize: 2;
|
|
390
389
|
binary: "bytes";
|
|
390
|
+
lengthSize: 2;
|
|
391
391
|
}, {
|
|
392
392
|
readonly custom: any;
|
|
393
393
|
readonly name: "bridge";
|
|
@@ -436,8 +436,8 @@ export declare const namedPayloads: readonly [readonly ["Message", readonly [{
|
|
|
436
436
|
readonly size: 8;
|
|
437
437
|
}, {
|
|
438
438
|
readonly custom: {
|
|
439
|
-
to: (val: number) => "Solana" | "
|
|
440
|
-
from: (val: "Solana" | "
|
|
439
|
+
to: (val: number) => "Solana" | "Btc" | "Algorand" | "Sui" | "Aptos" | "Near" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Base" | "Sei" | "Rootstock" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Dymension" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky";
|
|
440
|
+
from: (val: "Solana" | "Btc" | "Algorand" | "Sui" | "Aptos" | "Near" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Base" | "Sei" | "Rootstock" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Dymension" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky") => number;
|
|
441
441
|
};
|
|
442
442
|
readonly binary: "uint";
|
|
443
443
|
readonly size: 2;
|
|
@@ -452,12 +452,12 @@ export declare const namedPayloads: readonly [readonly ["Message", readonly [{
|
|
|
452
452
|
readonly name: "senderAddress";
|
|
453
453
|
}, {
|
|
454
454
|
name: "contents";
|
|
455
|
-
lengthSize: 2;
|
|
456
455
|
binary: "bytes";
|
|
456
|
+
lengthSize: 2;
|
|
457
457
|
}, {
|
|
458
458
|
name: "relaySignal";
|
|
459
|
-
lengthSize: 2;
|
|
460
459
|
binary: "bytes";
|
|
460
|
+
lengthSize: 2;
|
|
461
461
|
}]]];
|
|
462
462
|
declare global {
|
|
463
463
|
namespace Wormhole {
|