@wormhole-foundation/sdk-definitions 0.7.3-beta.0 → 0.8.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/layout-items/chain.d.ts +2 -2
- package/dist/cjs/layout-items/chain.d.ts.map +1 -1
- package/dist/cjs/layout-items/chain.js.map +1 -1
- package/dist/cjs/layout-items/index.d.ts +1 -0
- package/dist/cjs/layout-items/index.d.ts.map +1 -1
- package/dist/cjs/layout-items/index.js +1 -0
- package/dist/cjs/layout-items/index.js.map +1 -1
- package/dist/cjs/layout-items/string.d.ts +13 -0
- package/dist/cjs/layout-items/string.d.ts.map +1 -0
- package/dist/cjs/layout-items/string.js +22 -0
- package/dist/cjs/layout-items/string.js.map +1 -0
- package/dist/cjs/protocols/core/index.d.ts +0 -1
- package/dist/cjs/protocols/core/index.d.ts.map +1 -1
- package/dist/cjs/protocols/core/index.js +0 -1
- package/dist/cjs/protocols/core/index.js.map +1 -1
- package/dist/cjs/protocols/governance/gateway.d.ts +16 -0
- package/dist/cjs/protocols/governance/gateway.d.ts.map +1 -0
- package/dist/cjs/protocols/governance/gateway.js +4 -0
- package/dist/cjs/protocols/governance/gateway.js.map +1 -0
- package/dist/cjs/protocols/governance/generalPurpose.d.ts +16 -0
- package/dist/cjs/protocols/governance/generalPurpose.d.ts.map +1 -0
- package/dist/cjs/protocols/governance/generalPurpose.js +4 -0
- package/dist/cjs/protocols/governance/generalPurpose.js.map +1 -0
- package/dist/cjs/protocols/governance/globalAccountant.d.ts +17 -0
- package/dist/cjs/protocols/governance/globalAccountant.d.ts.map +1 -0
- package/dist/cjs/protocols/governance/globalAccountant.js +10 -0
- package/dist/cjs/protocols/governance/globalAccountant.js.map +1 -0
- package/dist/cjs/protocols/governance/ibcReceiver.d.ts +16 -0
- package/dist/cjs/protocols/governance/ibcReceiver.d.ts.map +1 -0
- package/dist/cjs/protocols/governance/ibcReceiver.js +4 -0
- package/dist/cjs/protocols/governance/ibcReceiver.js.map +1 -0
- package/dist/cjs/protocols/governance/index.d.ts +7 -0
- package/dist/cjs/protocols/governance/index.d.ts.map +1 -0
- package/dist/cjs/protocols/governance/index.js +18 -0
- package/dist/cjs/protocols/governance/index.js.map +1 -0
- package/dist/cjs/protocols/governance/layout.d.ts +1187 -0
- package/dist/cjs/protocols/governance/layout.d.ts.map +1 -0
- package/dist/cjs/protocols/governance/layout.js +253 -0
- package/dist/cjs/protocols/governance/layout.js.map +1 -0
- package/dist/cjs/protocols/governance/wormchainGovernance.d.ts +16 -0
- package/dist/cjs/protocols/governance/wormchainGovernance.d.ts.map +1 -0
- package/dist/cjs/protocols/governance/wormchainGovernance.js +4 -0
- package/dist/cjs/protocols/governance/wormchainGovernance.js.map +1 -0
- package/dist/cjs/protocols/index.d.ts +1 -0
- package/dist/cjs/protocols/index.d.ts.map +1 -1
- package/dist/cjs/protocols/index.js +1 -0
- package/dist/cjs/protocols/index.js.map +1 -1
- package/dist/cjs/protocols/relayer/relayerLayout.d.ts +1 -1
- package/dist/cjs/protocols/relayer/relayerLayout.js +4 -4
- package/dist/esm/layout-items/chain.d.ts +2 -2
- package/dist/esm/layout-items/chain.d.ts.map +1 -1
- package/dist/esm/layout-items/chain.js.map +1 -1
- package/dist/esm/layout-items/index.d.ts +1 -0
- package/dist/esm/layout-items/index.d.ts.map +1 -1
- package/dist/esm/layout-items/index.js +1 -0
- package/dist/esm/layout-items/index.js.map +1 -1
- package/dist/esm/layout-items/string.d.ts +13 -0
- package/dist/esm/layout-items/string.d.ts.map +1 -0
- package/dist/esm/layout-items/string.js +18 -0
- package/dist/esm/layout-items/string.js.map +1 -0
- package/dist/esm/protocols/core/index.d.ts +0 -1
- package/dist/esm/protocols/core/index.d.ts.map +1 -1
- package/dist/esm/protocols/core/index.js +0 -1
- package/dist/esm/protocols/core/index.js.map +1 -1
- package/dist/esm/protocols/governance/gateway.d.ts +16 -0
- package/dist/esm/protocols/governance/gateway.d.ts.map +1 -0
- package/dist/esm/protocols/governance/gateway.js +2 -0
- package/dist/esm/protocols/governance/gateway.js.map +1 -0
- package/dist/esm/protocols/governance/generalPurpose.d.ts +16 -0
- package/dist/esm/protocols/governance/generalPurpose.d.ts.map +1 -0
- package/dist/esm/protocols/governance/generalPurpose.js +2 -0
- package/dist/esm/protocols/governance/generalPurpose.js.map +1 -0
- package/dist/esm/protocols/governance/globalAccountant.d.ts +17 -0
- package/dist/esm/protocols/governance/globalAccountant.d.ts.map +1 -0
- package/dist/esm/protocols/governance/globalAccountant.js +7 -0
- package/dist/esm/protocols/governance/globalAccountant.js.map +1 -0
- package/dist/esm/protocols/governance/ibcReceiver.d.ts +16 -0
- package/dist/esm/protocols/governance/ibcReceiver.d.ts.map +1 -0
- package/dist/esm/protocols/governance/ibcReceiver.js +2 -0
- package/dist/esm/protocols/governance/ibcReceiver.js.map +1 -0
- package/dist/esm/protocols/governance/index.d.ts +7 -0
- package/dist/esm/protocols/governance/index.d.ts.map +1 -0
- package/dist/esm/protocols/governance/index.js +2 -0
- package/dist/esm/protocols/governance/index.js.map +1 -0
- package/dist/esm/protocols/governance/layout.d.ts +1187 -0
- package/dist/esm/protocols/governance/layout.d.ts.map +1 -0
- package/dist/esm/protocols/governance/layout.js +251 -0
- package/dist/esm/protocols/governance/layout.js.map +1 -0
- package/dist/esm/protocols/governance/wormchainGovernance.d.ts +16 -0
- package/dist/esm/protocols/governance/wormchainGovernance.d.ts.map +1 -0
- package/dist/esm/protocols/governance/wormchainGovernance.js +2 -0
- package/dist/esm/protocols/governance/wormchainGovernance.js.map +1 -0
- package/dist/esm/protocols/index.d.ts +1 -0
- package/dist/esm/protocols/index.d.ts.map +1 -1
- package/dist/esm/protocols/index.js +1 -0
- package/dist/esm/protocols/index.js.map +1 -1
- package/dist/esm/protocols/relayer/relayerLayout.d.ts +1 -1
- package/dist/esm/protocols/relayer/relayerLayout.js +2 -2
- package/package.json +2 -2
- package/dist/cjs/protocols/core/governanceLayout.d.ts +0 -590
- package/dist/cjs/protocols/core/governanceLayout.d.ts.map +0 -1
- package/dist/cjs/protocols/core/governanceLayout.js +0 -194
- package/dist/cjs/protocols/core/governanceLayout.js.map +0 -1
- package/dist/esm/protocols/core/governanceLayout.d.ts +0 -590
- package/dist/esm/protocols/core/governanceLayout.d.ts.map +0 -1
- package/dist/esm/protocols/core/governanceLayout.js +0 -192
- package/dist/esm/protocols/core/governanceLayout.js.map +0 -1
|
@@ -0,0 +1,1187 @@
|
|
|
1
|
+
import type { RegisterPayloadTypes } from "../../vaa/index.js";
|
|
2
|
+
declare const coreBridgePayloads: readonly [readonly ["UpgradeContract", readonly [{
|
|
3
|
+
readonly name: "protocol";
|
|
4
|
+
readonly binary: "bytes";
|
|
5
|
+
readonly custom: {
|
|
6
|
+
readonly to: "WormholeCore";
|
|
7
|
+
readonly from: Uint8Array;
|
|
8
|
+
};
|
|
9
|
+
}, {
|
|
10
|
+
readonly name: "action";
|
|
11
|
+
readonly binary: "uint";
|
|
12
|
+
readonly size: 1;
|
|
13
|
+
readonly custom: {
|
|
14
|
+
readonly to: "UpgradeContract";
|
|
15
|
+
readonly from: 1;
|
|
16
|
+
};
|
|
17
|
+
}, {
|
|
18
|
+
readonly custom: {
|
|
19
|
+
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" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
|
|
20
|
+
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" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia") => number;
|
|
21
|
+
};
|
|
22
|
+
readonly binary: "uint";
|
|
23
|
+
readonly size: 2;
|
|
24
|
+
readonly name: "chain";
|
|
25
|
+
}, {
|
|
26
|
+
readonly name: "actionArgs";
|
|
27
|
+
readonly binary: "bytes";
|
|
28
|
+
readonly layout: readonly [{
|
|
29
|
+
readonly binary: "bytes";
|
|
30
|
+
readonly size: 32;
|
|
31
|
+
readonly custom: {
|
|
32
|
+
to: (val: Uint8Array) => import("../../universalAddress.js").UniversalAddress;
|
|
33
|
+
from: (val: import("../../universalAddress.js").UniversalAddress) => Uint8Array;
|
|
34
|
+
};
|
|
35
|
+
readonly name: "newContract";
|
|
36
|
+
}];
|
|
37
|
+
}]], readonly ["GuardianSetUpgrade", readonly [{
|
|
38
|
+
readonly name: "protocol";
|
|
39
|
+
readonly binary: "bytes";
|
|
40
|
+
readonly custom: {
|
|
41
|
+
readonly to: "WormholeCore";
|
|
42
|
+
readonly from: Uint8Array;
|
|
43
|
+
};
|
|
44
|
+
}, {
|
|
45
|
+
readonly name: "action";
|
|
46
|
+
readonly binary: "uint";
|
|
47
|
+
readonly size: 1;
|
|
48
|
+
readonly custom: {
|
|
49
|
+
readonly to: "GuardianSetUpgrade";
|
|
50
|
+
readonly from: 2;
|
|
51
|
+
};
|
|
52
|
+
}, {
|
|
53
|
+
readonly custom: {
|
|
54
|
+
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" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia" | null;
|
|
55
|
+
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" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia" | null) => number;
|
|
56
|
+
};
|
|
57
|
+
readonly binary: "uint";
|
|
58
|
+
readonly size: 2;
|
|
59
|
+
readonly name: "chain";
|
|
60
|
+
}, {
|
|
61
|
+
readonly name: "actionArgs";
|
|
62
|
+
readonly binary: "bytes";
|
|
63
|
+
readonly layout: readonly [{
|
|
64
|
+
readonly binary: "uint";
|
|
65
|
+
readonly size: 4;
|
|
66
|
+
readonly name: "guardianSet";
|
|
67
|
+
}, {
|
|
68
|
+
readonly name: "guardians";
|
|
69
|
+
readonly binary: "array";
|
|
70
|
+
readonly lengthSize: 1;
|
|
71
|
+
readonly layout: {
|
|
72
|
+
readonly binary: "bytes";
|
|
73
|
+
readonly size: 20;
|
|
74
|
+
readonly custom: {
|
|
75
|
+
readonly to: (encoded: Uint8Array) => string;
|
|
76
|
+
readonly from: (decoded: string) => Uint8Array;
|
|
77
|
+
};
|
|
78
|
+
};
|
|
79
|
+
}];
|
|
80
|
+
}]], readonly ["SetMessageFee", readonly [{
|
|
81
|
+
readonly name: "protocol";
|
|
82
|
+
readonly binary: "bytes";
|
|
83
|
+
readonly custom: {
|
|
84
|
+
readonly to: "WormholeCore";
|
|
85
|
+
readonly from: Uint8Array;
|
|
86
|
+
};
|
|
87
|
+
}, {
|
|
88
|
+
readonly name: "action";
|
|
89
|
+
readonly binary: "uint";
|
|
90
|
+
readonly size: 1;
|
|
91
|
+
readonly custom: {
|
|
92
|
+
readonly to: "SetMessageFee";
|
|
93
|
+
readonly from: 3;
|
|
94
|
+
};
|
|
95
|
+
}, {
|
|
96
|
+
readonly custom: {
|
|
97
|
+
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" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
|
|
98
|
+
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" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia") => number;
|
|
99
|
+
};
|
|
100
|
+
readonly binary: "uint";
|
|
101
|
+
readonly size: 2;
|
|
102
|
+
readonly name: "chain";
|
|
103
|
+
}, {
|
|
104
|
+
readonly name: "actionArgs";
|
|
105
|
+
readonly binary: "bytes";
|
|
106
|
+
readonly layout: readonly [{
|
|
107
|
+
readonly name: "messageFee";
|
|
108
|
+
readonly binary: "uint";
|
|
109
|
+
readonly size: 32;
|
|
110
|
+
}];
|
|
111
|
+
}]], readonly ["TransferFees", readonly [{
|
|
112
|
+
readonly name: "protocol";
|
|
113
|
+
readonly binary: "bytes";
|
|
114
|
+
readonly custom: {
|
|
115
|
+
readonly to: "WormholeCore";
|
|
116
|
+
readonly from: Uint8Array;
|
|
117
|
+
};
|
|
118
|
+
}, {
|
|
119
|
+
readonly name: "action";
|
|
120
|
+
readonly binary: "uint";
|
|
121
|
+
readonly size: 1;
|
|
122
|
+
readonly custom: {
|
|
123
|
+
readonly to: "TransferFees";
|
|
124
|
+
readonly from: 4;
|
|
125
|
+
};
|
|
126
|
+
}, {
|
|
127
|
+
readonly custom: {
|
|
128
|
+
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" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia" | null;
|
|
129
|
+
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" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia" | null) => number;
|
|
130
|
+
};
|
|
131
|
+
readonly binary: "uint";
|
|
132
|
+
readonly size: 2;
|
|
133
|
+
readonly name: "chain";
|
|
134
|
+
}, {
|
|
135
|
+
readonly name: "actionArgs";
|
|
136
|
+
readonly binary: "bytes";
|
|
137
|
+
readonly layout: readonly [{
|
|
138
|
+
readonly name: "amount";
|
|
139
|
+
readonly binary: "uint";
|
|
140
|
+
readonly size: 32;
|
|
141
|
+
}, {
|
|
142
|
+
readonly binary: "bytes";
|
|
143
|
+
readonly size: 32;
|
|
144
|
+
readonly custom: {
|
|
145
|
+
to: (val: Uint8Array) => import("../../universalAddress.js").UniversalAddress;
|
|
146
|
+
from: (val: import("../../universalAddress.js").UniversalAddress) => Uint8Array;
|
|
147
|
+
};
|
|
148
|
+
readonly name: "recipient";
|
|
149
|
+
}];
|
|
150
|
+
}]], readonly ["RecoverChainId", readonly [{
|
|
151
|
+
readonly name: "protocol";
|
|
152
|
+
readonly binary: "bytes";
|
|
153
|
+
readonly custom: {
|
|
154
|
+
readonly to: "WormholeCore";
|
|
155
|
+
readonly from: Uint8Array;
|
|
156
|
+
};
|
|
157
|
+
}, {
|
|
158
|
+
readonly name: "action";
|
|
159
|
+
readonly binary: "uint";
|
|
160
|
+
readonly size: 1;
|
|
161
|
+
readonly custom: {
|
|
162
|
+
readonly to: "RecoverChainId";
|
|
163
|
+
readonly from: 5;
|
|
164
|
+
};
|
|
165
|
+
}, {
|
|
166
|
+
readonly custom: {
|
|
167
|
+
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" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
|
|
168
|
+
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" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia") => number;
|
|
169
|
+
};
|
|
170
|
+
readonly binary: "uint";
|
|
171
|
+
readonly size: 2;
|
|
172
|
+
readonly name: "chain";
|
|
173
|
+
}, {
|
|
174
|
+
readonly name: "actionArgs";
|
|
175
|
+
readonly binary: "bytes";
|
|
176
|
+
readonly layout: readonly [{
|
|
177
|
+
readonly name: "evmChainId";
|
|
178
|
+
readonly binary: "uint";
|
|
179
|
+
readonly size: 32;
|
|
180
|
+
}, {
|
|
181
|
+
readonly custom: {
|
|
182
|
+
to: (val: number) => "Ethereum" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Arbitrum" | "Optimism" | "Gnosis" | "Base" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
|
|
183
|
+
from: (val: "Ethereum" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Arbitrum" | "Optimism" | "Gnosis" | "Base" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia") => number;
|
|
184
|
+
};
|
|
185
|
+
readonly binary: "uint";
|
|
186
|
+
readonly size: 2;
|
|
187
|
+
readonly name: "newChainId";
|
|
188
|
+
}];
|
|
189
|
+
}]]];
|
|
190
|
+
declare const tokenBridgePayloads: readonly [readonly ["RegisterChain", readonly [{
|
|
191
|
+
readonly name: "protocol";
|
|
192
|
+
readonly binary: "bytes";
|
|
193
|
+
readonly custom: {
|
|
194
|
+
readonly to: "TokenBridge";
|
|
195
|
+
readonly from: Uint8Array;
|
|
196
|
+
};
|
|
197
|
+
}, {
|
|
198
|
+
readonly name: "action";
|
|
199
|
+
readonly binary: "uint";
|
|
200
|
+
readonly size: 1;
|
|
201
|
+
readonly custom: {
|
|
202
|
+
readonly to: "RegisterChain";
|
|
203
|
+
readonly from: 1;
|
|
204
|
+
};
|
|
205
|
+
}, {
|
|
206
|
+
readonly custom: {
|
|
207
|
+
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" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia" | null;
|
|
208
|
+
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" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia" | null) => number;
|
|
209
|
+
};
|
|
210
|
+
readonly binary: "uint";
|
|
211
|
+
readonly size: 2;
|
|
212
|
+
readonly name: "chain";
|
|
213
|
+
}, {
|
|
214
|
+
readonly name: "actionArgs";
|
|
215
|
+
readonly binary: "bytes";
|
|
216
|
+
readonly layout: readonly [{
|
|
217
|
+
readonly custom: {
|
|
218
|
+
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" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
|
|
219
|
+
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" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia") => number;
|
|
220
|
+
};
|
|
221
|
+
readonly binary: "uint";
|
|
222
|
+
readonly size: 2;
|
|
223
|
+
readonly name: "foreignChain";
|
|
224
|
+
}, {
|
|
225
|
+
readonly binary: "bytes";
|
|
226
|
+
readonly size: 32;
|
|
227
|
+
readonly custom: {
|
|
228
|
+
to: (val: Uint8Array) => import("../../universalAddress.js").UniversalAddress;
|
|
229
|
+
from: (val: import("../../universalAddress.js").UniversalAddress) => Uint8Array;
|
|
230
|
+
};
|
|
231
|
+
readonly name: "foreignAddress";
|
|
232
|
+
}];
|
|
233
|
+
}]], readonly ["UpgradeContract", readonly [{
|
|
234
|
+
readonly name: "protocol";
|
|
235
|
+
readonly binary: "bytes";
|
|
236
|
+
readonly custom: {
|
|
237
|
+
readonly to: "TokenBridge";
|
|
238
|
+
readonly from: Uint8Array;
|
|
239
|
+
};
|
|
240
|
+
}, {
|
|
241
|
+
readonly name: "action";
|
|
242
|
+
readonly binary: "uint";
|
|
243
|
+
readonly size: 1;
|
|
244
|
+
readonly custom: {
|
|
245
|
+
readonly to: "UpgradeContract";
|
|
246
|
+
readonly from: 2;
|
|
247
|
+
};
|
|
248
|
+
}, {
|
|
249
|
+
readonly custom: {
|
|
250
|
+
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" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
|
|
251
|
+
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" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia") => number;
|
|
252
|
+
};
|
|
253
|
+
readonly binary: "uint";
|
|
254
|
+
readonly size: 2;
|
|
255
|
+
readonly name: "chain";
|
|
256
|
+
}, {
|
|
257
|
+
readonly name: "actionArgs";
|
|
258
|
+
readonly binary: "bytes";
|
|
259
|
+
readonly layout: readonly [{
|
|
260
|
+
readonly binary: "bytes";
|
|
261
|
+
readonly size: 32;
|
|
262
|
+
readonly custom: {
|
|
263
|
+
to: (val: Uint8Array) => import("../../universalAddress.js").UniversalAddress;
|
|
264
|
+
from: (val: import("../../universalAddress.js").UniversalAddress) => Uint8Array;
|
|
265
|
+
};
|
|
266
|
+
readonly name: "newContract";
|
|
267
|
+
}];
|
|
268
|
+
}]], readonly ["RecoverChainId", readonly [{
|
|
269
|
+
readonly name: "protocol";
|
|
270
|
+
readonly binary: "bytes";
|
|
271
|
+
readonly custom: {
|
|
272
|
+
readonly to: "TokenBridge";
|
|
273
|
+
readonly from: Uint8Array;
|
|
274
|
+
};
|
|
275
|
+
}, {
|
|
276
|
+
readonly name: "action";
|
|
277
|
+
readonly binary: "uint";
|
|
278
|
+
readonly size: 1;
|
|
279
|
+
readonly custom: {
|
|
280
|
+
readonly to: "RecoverChainId";
|
|
281
|
+
readonly from: 3;
|
|
282
|
+
};
|
|
283
|
+
}, {
|
|
284
|
+
readonly custom: {
|
|
285
|
+
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" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
|
|
286
|
+
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" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia") => number;
|
|
287
|
+
};
|
|
288
|
+
readonly binary: "uint";
|
|
289
|
+
readonly size: 2;
|
|
290
|
+
readonly name: "chain";
|
|
291
|
+
}, {
|
|
292
|
+
readonly name: "actionArgs";
|
|
293
|
+
readonly binary: "bytes";
|
|
294
|
+
readonly layout: readonly [{
|
|
295
|
+
readonly name: "evmChainId";
|
|
296
|
+
readonly binary: "uint";
|
|
297
|
+
readonly size: 32;
|
|
298
|
+
}, {
|
|
299
|
+
readonly custom: {
|
|
300
|
+
to: (val: number) => "Ethereum" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Arbitrum" | "Optimism" | "Gnosis" | "Base" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
|
|
301
|
+
from: (val: "Ethereum" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Arbitrum" | "Optimism" | "Gnosis" | "Base" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia") => number;
|
|
302
|
+
};
|
|
303
|
+
readonly binary: "uint";
|
|
304
|
+
readonly size: 2;
|
|
305
|
+
readonly name: "newChainId";
|
|
306
|
+
}];
|
|
307
|
+
}]]];
|
|
308
|
+
declare const nftBridgePayloads: readonly [readonly ["RegisterChain", readonly [{
|
|
309
|
+
readonly name: "protocol";
|
|
310
|
+
readonly binary: "bytes";
|
|
311
|
+
readonly custom: {
|
|
312
|
+
readonly to: "NftBridge";
|
|
313
|
+
readonly from: Uint8Array;
|
|
314
|
+
};
|
|
315
|
+
}, {
|
|
316
|
+
readonly name: "action";
|
|
317
|
+
readonly binary: "uint";
|
|
318
|
+
readonly size: 1;
|
|
319
|
+
readonly custom: {
|
|
320
|
+
readonly to: "RegisterChain";
|
|
321
|
+
readonly from: 1;
|
|
322
|
+
};
|
|
323
|
+
}, {
|
|
324
|
+
readonly custom: {
|
|
325
|
+
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" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia" | null;
|
|
326
|
+
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" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia" | null) => number;
|
|
327
|
+
};
|
|
328
|
+
readonly binary: "uint";
|
|
329
|
+
readonly size: 2;
|
|
330
|
+
readonly name: "chain";
|
|
331
|
+
}, {
|
|
332
|
+
readonly name: "actionArgs";
|
|
333
|
+
readonly binary: "bytes";
|
|
334
|
+
readonly layout: readonly [{
|
|
335
|
+
readonly custom: {
|
|
336
|
+
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" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
|
|
337
|
+
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" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia") => number;
|
|
338
|
+
};
|
|
339
|
+
readonly binary: "uint";
|
|
340
|
+
readonly size: 2;
|
|
341
|
+
readonly name: "foreignChain";
|
|
342
|
+
}, {
|
|
343
|
+
readonly binary: "bytes";
|
|
344
|
+
readonly size: 32;
|
|
345
|
+
readonly custom: {
|
|
346
|
+
to: (val: Uint8Array) => import("../../universalAddress.js").UniversalAddress;
|
|
347
|
+
from: (val: import("../../universalAddress.js").UniversalAddress) => Uint8Array;
|
|
348
|
+
};
|
|
349
|
+
readonly name: "foreignAddress";
|
|
350
|
+
}];
|
|
351
|
+
}]], readonly ["UpgradeContract", readonly [{
|
|
352
|
+
readonly name: "protocol";
|
|
353
|
+
readonly binary: "bytes";
|
|
354
|
+
readonly custom: {
|
|
355
|
+
readonly to: "NftBridge";
|
|
356
|
+
readonly from: Uint8Array;
|
|
357
|
+
};
|
|
358
|
+
}, {
|
|
359
|
+
readonly name: "action";
|
|
360
|
+
readonly binary: "uint";
|
|
361
|
+
readonly size: 1;
|
|
362
|
+
readonly custom: {
|
|
363
|
+
readonly to: "UpgradeContract";
|
|
364
|
+
readonly from: 2;
|
|
365
|
+
};
|
|
366
|
+
}, {
|
|
367
|
+
readonly custom: {
|
|
368
|
+
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" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
|
|
369
|
+
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" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia") => number;
|
|
370
|
+
};
|
|
371
|
+
readonly binary: "uint";
|
|
372
|
+
readonly size: 2;
|
|
373
|
+
readonly name: "chain";
|
|
374
|
+
}, {
|
|
375
|
+
readonly name: "actionArgs";
|
|
376
|
+
readonly binary: "bytes";
|
|
377
|
+
readonly layout: readonly [{
|
|
378
|
+
readonly binary: "bytes";
|
|
379
|
+
readonly size: 32;
|
|
380
|
+
readonly custom: {
|
|
381
|
+
to: (val: Uint8Array) => import("../../universalAddress.js").UniversalAddress;
|
|
382
|
+
from: (val: import("../../universalAddress.js").UniversalAddress) => Uint8Array;
|
|
383
|
+
};
|
|
384
|
+
readonly name: "newContract";
|
|
385
|
+
}];
|
|
386
|
+
}]], readonly ["RecoverChainId", readonly [{
|
|
387
|
+
readonly name: "protocol";
|
|
388
|
+
readonly binary: "bytes";
|
|
389
|
+
readonly custom: {
|
|
390
|
+
readonly to: "NftBridge";
|
|
391
|
+
readonly from: Uint8Array;
|
|
392
|
+
};
|
|
393
|
+
}, {
|
|
394
|
+
readonly name: "action";
|
|
395
|
+
readonly binary: "uint";
|
|
396
|
+
readonly size: 1;
|
|
397
|
+
readonly custom: {
|
|
398
|
+
readonly to: "RecoverChainId";
|
|
399
|
+
readonly from: 3;
|
|
400
|
+
};
|
|
401
|
+
}, {
|
|
402
|
+
readonly custom: {
|
|
403
|
+
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" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
|
|
404
|
+
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" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia") => number;
|
|
405
|
+
};
|
|
406
|
+
readonly binary: "uint";
|
|
407
|
+
readonly size: 2;
|
|
408
|
+
readonly name: "chain";
|
|
409
|
+
}, {
|
|
410
|
+
readonly name: "actionArgs";
|
|
411
|
+
readonly binary: "bytes";
|
|
412
|
+
readonly layout: readonly [{
|
|
413
|
+
readonly name: "evmChainId";
|
|
414
|
+
readonly binary: "uint";
|
|
415
|
+
readonly size: 32;
|
|
416
|
+
}, {
|
|
417
|
+
readonly custom: {
|
|
418
|
+
to: (val: number) => "Ethereum" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Arbitrum" | "Optimism" | "Gnosis" | "Base" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
|
|
419
|
+
from: (val: "Ethereum" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Arbitrum" | "Optimism" | "Gnosis" | "Base" | "Rootstock" | "Scroll" | "Mantle" | "Blast" | "Xlayer" | "Linea" | "Berachain" | "Seievm" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia") => number;
|
|
420
|
+
};
|
|
421
|
+
readonly binary: "uint";
|
|
422
|
+
readonly size: 2;
|
|
423
|
+
readonly name: "newChainId";
|
|
424
|
+
}];
|
|
425
|
+
}]]];
|
|
426
|
+
declare const relayerPayloads: readonly [readonly ["RegisterChain", readonly [{
|
|
427
|
+
readonly name: "protocol";
|
|
428
|
+
readonly binary: "bytes";
|
|
429
|
+
readonly custom: {
|
|
430
|
+
readonly to: "Relayer";
|
|
431
|
+
readonly from: Uint8Array;
|
|
432
|
+
};
|
|
433
|
+
}, {
|
|
434
|
+
readonly name: "action";
|
|
435
|
+
readonly binary: "uint";
|
|
436
|
+
readonly size: 1;
|
|
437
|
+
readonly custom: {
|
|
438
|
+
readonly to: "RegisterChain";
|
|
439
|
+
readonly from: 1;
|
|
440
|
+
};
|
|
441
|
+
}, {
|
|
442
|
+
readonly custom: {
|
|
443
|
+
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" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia" | null;
|
|
444
|
+
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" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia" | null) => number;
|
|
445
|
+
};
|
|
446
|
+
readonly binary: "uint";
|
|
447
|
+
readonly size: 2;
|
|
448
|
+
readonly name: "chain";
|
|
449
|
+
}, {
|
|
450
|
+
readonly name: "actionArgs";
|
|
451
|
+
readonly binary: "bytes";
|
|
452
|
+
readonly layout: readonly [{
|
|
453
|
+
readonly custom: {
|
|
454
|
+
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" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
|
|
455
|
+
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" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia") => number;
|
|
456
|
+
};
|
|
457
|
+
readonly binary: "uint";
|
|
458
|
+
readonly size: 2;
|
|
459
|
+
readonly name: "foreignChain";
|
|
460
|
+
}, {
|
|
461
|
+
readonly binary: "bytes";
|
|
462
|
+
readonly size: 32;
|
|
463
|
+
readonly custom: {
|
|
464
|
+
to: (val: Uint8Array) => import("../../universalAddress.js").UniversalAddress;
|
|
465
|
+
from: (val: import("../../universalAddress.js").UniversalAddress) => Uint8Array;
|
|
466
|
+
};
|
|
467
|
+
readonly name: "foreignAddress";
|
|
468
|
+
}];
|
|
469
|
+
}]], readonly ["UpgradeContract", readonly [{
|
|
470
|
+
readonly name: "protocol";
|
|
471
|
+
readonly binary: "bytes";
|
|
472
|
+
readonly custom: {
|
|
473
|
+
readonly to: "Relayer";
|
|
474
|
+
readonly from: Uint8Array;
|
|
475
|
+
};
|
|
476
|
+
}, {
|
|
477
|
+
readonly name: "action";
|
|
478
|
+
readonly binary: "uint";
|
|
479
|
+
readonly size: 1;
|
|
480
|
+
readonly custom: {
|
|
481
|
+
readonly to: "UpgradeContract";
|
|
482
|
+
readonly from: 2;
|
|
483
|
+
};
|
|
484
|
+
}, {
|
|
485
|
+
readonly custom: {
|
|
486
|
+
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" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
|
|
487
|
+
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" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia") => number;
|
|
488
|
+
};
|
|
489
|
+
readonly binary: "uint";
|
|
490
|
+
readonly size: 2;
|
|
491
|
+
readonly name: "chain";
|
|
492
|
+
}, {
|
|
493
|
+
readonly name: "actionArgs";
|
|
494
|
+
readonly binary: "bytes";
|
|
495
|
+
readonly layout: readonly [{
|
|
496
|
+
readonly binary: "bytes";
|
|
497
|
+
readonly size: 32;
|
|
498
|
+
readonly custom: {
|
|
499
|
+
to: (val: Uint8Array) => import("../../universalAddress.js").UniversalAddress;
|
|
500
|
+
from: (val: import("../../universalAddress.js").UniversalAddress) => Uint8Array;
|
|
501
|
+
};
|
|
502
|
+
readonly name: "newContract";
|
|
503
|
+
}];
|
|
504
|
+
}]], readonly ["UpdateDefaultProvider", readonly [{
|
|
505
|
+
readonly name: "protocol";
|
|
506
|
+
readonly binary: "bytes";
|
|
507
|
+
readonly custom: {
|
|
508
|
+
readonly to: "Relayer";
|
|
509
|
+
readonly from: Uint8Array;
|
|
510
|
+
};
|
|
511
|
+
}, {
|
|
512
|
+
readonly name: "action";
|
|
513
|
+
readonly binary: "uint";
|
|
514
|
+
readonly size: 1;
|
|
515
|
+
readonly custom: {
|
|
516
|
+
readonly to: "UpdateDefaultProvider";
|
|
517
|
+
readonly from: 3;
|
|
518
|
+
};
|
|
519
|
+
}, {
|
|
520
|
+
readonly custom: {
|
|
521
|
+
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" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
|
|
522
|
+
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" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia") => number;
|
|
523
|
+
};
|
|
524
|
+
readonly binary: "uint";
|
|
525
|
+
readonly size: 2;
|
|
526
|
+
readonly name: "chain";
|
|
527
|
+
}, {
|
|
528
|
+
readonly name: "actionArgs";
|
|
529
|
+
readonly binary: "bytes";
|
|
530
|
+
readonly layout: readonly [{
|
|
531
|
+
readonly binary: "bytes";
|
|
532
|
+
readonly size: 32;
|
|
533
|
+
readonly custom: {
|
|
534
|
+
to: (val: Uint8Array) => import("../../universalAddress.js").UniversalAddress;
|
|
535
|
+
from: (val: import("../../universalAddress.js").UniversalAddress) => Uint8Array;
|
|
536
|
+
};
|
|
537
|
+
readonly name: "defaultProvider";
|
|
538
|
+
}];
|
|
539
|
+
}]]];
|
|
540
|
+
declare const cctpPayloads: readonly [readonly ["UpdateFinality", readonly [{
|
|
541
|
+
readonly name: "protocol";
|
|
542
|
+
readonly binary: "bytes";
|
|
543
|
+
readonly custom: {
|
|
544
|
+
readonly to: "CircleBridge";
|
|
545
|
+
readonly from: Uint8Array;
|
|
546
|
+
};
|
|
547
|
+
}, {
|
|
548
|
+
readonly name: "action";
|
|
549
|
+
readonly binary: "uint";
|
|
550
|
+
readonly size: 1;
|
|
551
|
+
readonly custom: {
|
|
552
|
+
readonly to: "UpdateFinality";
|
|
553
|
+
readonly from: 1;
|
|
554
|
+
};
|
|
555
|
+
}, {
|
|
556
|
+
readonly custom: {
|
|
557
|
+
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" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
|
|
558
|
+
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" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia") => number;
|
|
559
|
+
};
|
|
560
|
+
readonly binary: "uint";
|
|
561
|
+
readonly size: 2;
|
|
562
|
+
readonly name: "chain";
|
|
563
|
+
}, {
|
|
564
|
+
readonly name: "actionArgs";
|
|
565
|
+
readonly binary: "bytes";
|
|
566
|
+
readonly layout: readonly [{
|
|
567
|
+
readonly name: "finality";
|
|
568
|
+
readonly binary: "uint";
|
|
569
|
+
readonly size: 1;
|
|
570
|
+
}];
|
|
571
|
+
}]], readonly ["RegisterEmitterAndDomain", readonly [{
|
|
572
|
+
readonly name: "protocol";
|
|
573
|
+
readonly binary: "bytes";
|
|
574
|
+
readonly custom: {
|
|
575
|
+
readonly to: "CircleBridge";
|
|
576
|
+
readonly from: Uint8Array;
|
|
577
|
+
};
|
|
578
|
+
}, {
|
|
579
|
+
readonly name: "action";
|
|
580
|
+
readonly binary: "uint";
|
|
581
|
+
readonly size: 1;
|
|
582
|
+
readonly custom: {
|
|
583
|
+
readonly to: "RegisterEmitterAndDomain";
|
|
584
|
+
readonly from: 2;
|
|
585
|
+
};
|
|
586
|
+
}, {
|
|
587
|
+
readonly custom: {
|
|
588
|
+
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" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia" | null;
|
|
589
|
+
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" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia" | null) => number;
|
|
590
|
+
};
|
|
591
|
+
readonly binary: "uint";
|
|
592
|
+
readonly size: 2;
|
|
593
|
+
readonly name: "chain";
|
|
594
|
+
}, {
|
|
595
|
+
readonly name: "actionArgs";
|
|
596
|
+
readonly binary: "bytes";
|
|
597
|
+
readonly layout: readonly [{
|
|
598
|
+
readonly custom: {
|
|
599
|
+
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" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
|
|
600
|
+
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" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia") => number;
|
|
601
|
+
};
|
|
602
|
+
readonly binary: "uint";
|
|
603
|
+
readonly size: 2;
|
|
604
|
+
readonly name: "emitterChain";
|
|
605
|
+
}, {
|
|
606
|
+
readonly binary: "bytes";
|
|
607
|
+
readonly size: 32;
|
|
608
|
+
readonly custom: {
|
|
609
|
+
to: (val: Uint8Array) => import("../../universalAddress.js").UniversalAddress;
|
|
610
|
+
from: (val: import("../../universalAddress.js").UniversalAddress) => Uint8Array;
|
|
611
|
+
};
|
|
612
|
+
readonly name: "emitterAddress";
|
|
613
|
+
}, {
|
|
614
|
+
readonly name: "domain";
|
|
615
|
+
readonly binary: "uint";
|
|
616
|
+
readonly size: 4;
|
|
617
|
+
}];
|
|
618
|
+
}]], readonly ["UpgradeContract", readonly [{
|
|
619
|
+
readonly name: "protocol";
|
|
620
|
+
readonly binary: "bytes";
|
|
621
|
+
readonly custom: {
|
|
622
|
+
readonly to: "CircleBridge";
|
|
623
|
+
readonly from: Uint8Array;
|
|
624
|
+
};
|
|
625
|
+
}, {
|
|
626
|
+
readonly name: "action";
|
|
627
|
+
readonly binary: "uint";
|
|
628
|
+
readonly size: 1;
|
|
629
|
+
readonly custom: {
|
|
630
|
+
readonly to: "UpgradeContract";
|
|
631
|
+
readonly from: 3;
|
|
632
|
+
};
|
|
633
|
+
}, {
|
|
634
|
+
readonly custom: {
|
|
635
|
+
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" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
|
|
636
|
+
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" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia") => number;
|
|
637
|
+
};
|
|
638
|
+
readonly binary: "uint";
|
|
639
|
+
readonly size: 2;
|
|
640
|
+
readonly name: "chain";
|
|
641
|
+
}, {
|
|
642
|
+
readonly name: "actionArgs";
|
|
643
|
+
readonly binary: "bytes";
|
|
644
|
+
readonly layout: readonly [{
|
|
645
|
+
readonly binary: "bytes";
|
|
646
|
+
readonly size: 32;
|
|
647
|
+
readonly custom: {
|
|
648
|
+
to: (val: Uint8Array) => import("../../universalAddress.js").UniversalAddress;
|
|
649
|
+
from: (val: import("../../universalAddress.js").UniversalAddress) => Uint8Array;
|
|
650
|
+
};
|
|
651
|
+
readonly name: "newContract";
|
|
652
|
+
}];
|
|
653
|
+
}]]];
|
|
654
|
+
declare const ibcBridgePayloads: readonly [readonly ["ActionUpdateChannelChain", readonly [{
|
|
655
|
+
readonly name: "protocol";
|
|
656
|
+
readonly binary: "bytes";
|
|
657
|
+
readonly custom: {
|
|
658
|
+
readonly to: "IbcBridge";
|
|
659
|
+
readonly from: Uint8Array;
|
|
660
|
+
};
|
|
661
|
+
}, {
|
|
662
|
+
readonly name: "action";
|
|
663
|
+
readonly binary: "uint";
|
|
664
|
+
readonly size: 1;
|
|
665
|
+
readonly custom: {
|
|
666
|
+
readonly to: "ActionUpdateChannelChain";
|
|
667
|
+
readonly from: 1;
|
|
668
|
+
};
|
|
669
|
+
}, {
|
|
670
|
+
readonly custom: {
|
|
671
|
+
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" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
|
|
672
|
+
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" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia") => number;
|
|
673
|
+
};
|
|
674
|
+
readonly binary: "uint";
|
|
675
|
+
readonly size: 2;
|
|
676
|
+
readonly name: "chain";
|
|
677
|
+
}, {
|
|
678
|
+
readonly name: "actionArgs";
|
|
679
|
+
readonly binary: "bytes";
|
|
680
|
+
readonly layout: readonly [{
|
|
681
|
+
readonly binary: "bytes";
|
|
682
|
+
readonly size: number;
|
|
683
|
+
readonly custom: {
|
|
684
|
+
to: (val: Uint8Array) => string;
|
|
685
|
+
from: (val: string) => Uint8Array;
|
|
686
|
+
};
|
|
687
|
+
readonly name: "channelId";
|
|
688
|
+
}, {
|
|
689
|
+
readonly custom: {
|
|
690
|
+
to: (val: number) => "Terra" | "Terra2" | "Injective" | "Osmosis" | "Xpla" | "Sei" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance";
|
|
691
|
+
from: (val: "Terra" | "Terra2" | "Injective" | "Osmosis" | "Xpla" | "Sei" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance") => number;
|
|
692
|
+
};
|
|
693
|
+
readonly binary: "uint";
|
|
694
|
+
readonly size: 2;
|
|
695
|
+
readonly name: "channelChain";
|
|
696
|
+
}];
|
|
697
|
+
}]]];
|
|
698
|
+
declare const ibcReceiverPayloads: readonly [readonly ["ActionUpdateChannelChain", readonly [{
|
|
699
|
+
readonly name: "protocol";
|
|
700
|
+
readonly binary: "bytes";
|
|
701
|
+
readonly custom: {
|
|
702
|
+
readonly to: "IbcReceiver";
|
|
703
|
+
readonly from: Uint8Array;
|
|
704
|
+
};
|
|
705
|
+
}, {
|
|
706
|
+
readonly name: "action";
|
|
707
|
+
readonly binary: "uint";
|
|
708
|
+
readonly size: 1;
|
|
709
|
+
readonly custom: {
|
|
710
|
+
readonly to: "ActionUpdateChannelChain";
|
|
711
|
+
readonly from: 1;
|
|
712
|
+
};
|
|
713
|
+
}, {
|
|
714
|
+
readonly custom: {
|
|
715
|
+
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" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
|
|
716
|
+
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" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia") => number;
|
|
717
|
+
};
|
|
718
|
+
readonly binary: "uint";
|
|
719
|
+
readonly size: 2;
|
|
720
|
+
readonly name: "chain";
|
|
721
|
+
}, {
|
|
722
|
+
readonly name: "actionArgs";
|
|
723
|
+
readonly binary: "bytes";
|
|
724
|
+
readonly layout: readonly [{
|
|
725
|
+
readonly binary: "bytes";
|
|
726
|
+
readonly size: number;
|
|
727
|
+
readonly custom: {
|
|
728
|
+
to: (val: Uint8Array) => string;
|
|
729
|
+
from: (val: string) => Uint8Array;
|
|
730
|
+
};
|
|
731
|
+
readonly name: "channelId";
|
|
732
|
+
}, {
|
|
733
|
+
readonly custom: {
|
|
734
|
+
to: (val: number) => "Terra" | "Terra2" | "Injective" | "Osmosis" | "Xpla" | "Sei" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance";
|
|
735
|
+
from: (val: "Terra" | "Terra2" | "Injective" | "Osmosis" | "Xpla" | "Sei" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance") => number;
|
|
736
|
+
};
|
|
737
|
+
readonly binary: "uint";
|
|
738
|
+
readonly size: 2;
|
|
739
|
+
readonly name: "channelChain";
|
|
740
|
+
}];
|
|
741
|
+
}]]];
|
|
742
|
+
declare const globalAccountantPayloads: readonly [readonly ["ModifyBalance", readonly [{
|
|
743
|
+
readonly name: "protocol";
|
|
744
|
+
readonly binary: "bytes";
|
|
745
|
+
readonly custom: {
|
|
746
|
+
readonly to: "GlobalAccountant";
|
|
747
|
+
readonly from: Uint8Array;
|
|
748
|
+
};
|
|
749
|
+
}, {
|
|
750
|
+
readonly name: "action";
|
|
751
|
+
readonly binary: "uint";
|
|
752
|
+
readonly size: 1;
|
|
753
|
+
readonly custom: {
|
|
754
|
+
readonly to: "ModifyBalance";
|
|
755
|
+
readonly from: 1;
|
|
756
|
+
};
|
|
757
|
+
}, {
|
|
758
|
+
readonly custom: {
|
|
759
|
+
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" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
|
|
760
|
+
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" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia") => number;
|
|
761
|
+
};
|
|
762
|
+
readonly binary: "uint";
|
|
763
|
+
readonly size: 2;
|
|
764
|
+
readonly name: "chain";
|
|
765
|
+
}, {
|
|
766
|
+
readonly name: "actionArgs";
|
|
767
|
+
readonly binary: "bytes";
|
|
768
|
+
readonly layout: readonly [{
|
|
769
|
+
readonly binary: "uint";
|
|
770
|
+
readonly size: 8;
|
|
771
|
+
readonly name: "sequence";
|
|
772
|
+
}, {
|
|
773
|
+
readonly custom: {
|
|
774
|
+
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" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
|
|
775
|
+
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" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia") => number;
|
|
776
|
+
};
|
|
777
|
+
readonly binary: "uint";
|
|
778
|
+
readonly size: 2;
|
|
779
|
+
readonly name: "modifiedChain";
|
|
780
|
+
}, {
|
|
781
|
+
readonly custom: {
|
|
782
|
+
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" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
|
|
783
|
+
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" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia") => number;
|
|
784
|
+
};
|
|
785
|
+
readonly binary: "uint";
|
|
786
|
+
readonly size: 2;
|
|
787
|
+
readonly name: "tokenChain";
|
|
788
|
+
}, {
|
|
789
|
+
readonly binary: "bytes";
|
|
790
|
+
readonly size: 32;
|
|
791
|
+
readonly custom: {
|
|
792
|
+
to: (val: Uint8Array) => import("../../universalAddress.js").UniversalAddress;
|
|
793
|
+
from: (val: import("../../universalAddress.js").UniversalAddress) => Uint8Array;
|
|
794
|
+
};
|
|
795
|
+
readonly name: "tokenAddress";
|
|
796
|
+
}, {
|
|
797
|
+
readonly binary: "uint";
|
|
798
|
+
readonly size: import("@wormhole-foundation/sdk-base").NumberSize;
|
|
799
|
+
readonly endianness: import("@wormhole-foundation/sdk-base").Endianness;
|
|
800
|
+
readonly custom: {
|
|
801
|
+
readonly to: (encoded: number) => "Add" | "Subtract" | "Unknown";
|
|
802
|
+
readonly from: (name: "Add" | "Subtract" | "Unknown") => number;
|
|
803
|
+
};
|
|
804
|
+
readonly name: "kind";
|
|
805
|
+
}, {
|
|
806
|
+
readonly binary: "uint";
|
|
807
|
+
readonly size: 32;
|
|
808
|
+
readonly name: "amount";
|
|
809
|
+
}, {
|
|
810
|
+
readonly binary: "bytes";
|
|
811
|
+
readonly size: number;
|
|
812
|
+
readonly custom: {
|
|
813
|
+
to: (val: Uint8Array) => string;
|
|
814
|
+
from: (val: string) => Uint8Array;
|
|
815
|
+
};
|
|
816
|
+
readonly name: "reason";
|
|
817
|
+
}];
|
|
818
|
+
}]]];
|
|
819
|
+
declare const generalPurposeGovernancePayloads: readonly [readonly ["GeneralPurposeEvm", readonly [{
|
|
820
|
+
readonly name: "protocol";
|
|
821
|
+
readonly binary: "bytes";
|
|
822
|
+
readonly custom: {
|
|
823
|
+
readonly to: "GeneralPurposeGovernance";
|
|
824
|
+
readonly from: Uint8Array;
|
|
825
|
+
};
|
|
826
|
+
}, {
|
|
827
|
+
readonly name: "action";
|
|
828
|
+
readonly binary: "uint";
|
|
829
|
+
readonly size: 1;
|
|
830
|
+
readonly custom: {
|
|
831
|
+
readonly to: "GeneralPurposeEvm";
|
|
832
|
+
readonly from: 1;
|
|
833
|
+
};
|
|
834
|
+
}, {
|
|
835
|
+
readonly custom: {
|
|
836
|
+
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" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
|
|
837
|
+
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" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia") => number;
|
|
838
|
+
};
|
|
839
|
+
readonly binary: "uint";
|
|
840
|
+
readonly size: 2;
|
|
841
|
+
readonly name: "chain";
|
|
842
|
+
}, {
|
|
843
|
+
readonly name: "actionArgs";
|
|
844
|
+
readonly binary: "bytes";
|
|
845
|
+
readonly layout: readonly [{
|
|
846
|
+
readonly binary: "bytes";
|
|
847
|
+
readonly size: 20;
|
|
848
|
+
readonly custom: {
|
|
849
|
+
readonly to: (encoded: Uint8Array) => string;
|
|
850
|
+
readonly from: (decoded: string) => Uint8Array;
|
|
851
|
+
};
|
|
852
|
+
readonly name: "governanceContract";
|
|
853
|
+
}, {
|
|
854
|
+
readonly binary: "bytes";
|
|
855
|
+
readonly size: 20;
|
|
856
|
+
readonly custom: {
|
|
857
|
+
readonly to: (encoded: Uint8Array) => string;
|
|
858
|
+
readonly from: (decoded: string) => Uint8Array;
|
|
859
|
+
};
|
|
860
|
+
readonly name: "targetContract";
|
|
861
|
+
}, {
|
|
862
|
+
readonly name: "payload";
|
|
863
|
+
readonly binary: "bytes";
|
|
864
|
+
readonly lengthSize: 2;
|
|
865
|
+
}];
|
|
866
|
+
}]], readonly ["GeneralPurposeSolana", readonly [{
|
|
867
|
+
readonly name: "protocol";
|
|
868
|
+
readonly binary: "bytes";
|
|
869
|
+
readonly custom: {
|
|
870
|
+
readonly to: "GeneralPurposeGovernance";
|
|
871
|
+
readonly from: Uint8Array;
|
|
872
|
+
};
|
|
873
|
+
}, {
|
|
874
|
+
readonly name: "action";
|
|
875
|
+
readonly binary: "uint";
|
|
876
|
+
readonly size: 1;
|
|
877
|
+
readonly custom: {
|
|
878
|
+
readonly to: "GeneralPurposeSolana";
|
|
879
|
+
readonly from: 2;
|
|
880
|
+
};
|
|
881
|
+
}, {
|
|
882
|
+
readonly custom: {
|
|
883
|
+
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" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
|
|
884
|
+
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" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia") => number;
|
|
885
|
+
};
|
|
886
|
+
readonly binary: "uint";
|
|
887
|
+
readonly size: 2;
|
|
888
|
+
readonly name: "chain";
|
|
889
|
+
}, {
|
|
890
|
+
readonly name: "actionArgs";
|
|
891
|
+
readonly binary: "bytes";
|
|
892
|
+
readonly layout: readonly [{
|
|
893
|
+
readonly binary: "bytes";
|
|
894
|
+
readonly size: 32;
|
|
895
|
+
readonly custom: {
|
|
896
|
+
to: (val: Uint8Array) => import("../../universalAddress.js").UniversalAddress;
|
|
897
|
+
from: (val: import("../../universalAddress.js").UniversalAddress) => Uint8Array;
|
|
898
|
+
};
|
|
899
|
+
readonly name: "governanceContract";
|
|
900
|
+
}, {
|
|
901
|
+
readonly name: "payload";
|
|
902
|
+
readonly binary: "bytes";
|
|
903
|
+
}];
|
|
904
|
+
}]]];
|
|
905
|
+
declare const wormchainGovernancePayloads: readonly [readonly ["StoreCode", readonly [{
|
|
906
|
+
readonly name: "protocol";
|
|
907
|
+
readonly binary: "bytes";
|
|
908
|
+
readonly custom: {
|
|
909
|
+
readonly to: "WormchainGovernance";
|
|
910
|
+
readonly from: Uint8Array;
|
|
911
|
+
};
|
|
912
|
+
}, {
|
|
913
|
+
readonly name: "action";
|
|
914
|
+
readonly binary: "uint";
|
|
915
|
+
readonly size: 1;
|
|
916
|
+
readonly custom: {
|
|
917
|
+
readonly to: "StoreCode";
|
|
918
|
+
readonly from: 1;
|
|
919
|
+
};
|
|
920
|
+
}, {
|
|
921
|
+
readonly custom: {
|
|
922
|
+
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" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
|
|
923
|
+
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" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia") => number;
|
|
924
|
+
};
|
|
925
|
+
readonly binary: "uint";
|
|
926
|
+
readonly size: 2;
|
|
927
|
+
readonly name: "chain";
|
|
928
|
+
}, {
|
|
929
|
+
readonly name: "actionArgs";
|
|
930
|
+
readonly binary: "bytes";
|
|
931
|
+
readonly layout: readonly [{
|
|
932
|
+
readonly binary: "bytes";
|
|
933
|
+
readonly size: 32;
|
|
934
|
+
readonly name: "wasmHash";
|
|
935
|
+
}];
|
|
936
|
+
}]], readonly ["InstantiateContract", readonly [{
|
|
937
|
+
readonly name: "protocol";
|
|
938
|
+
readonly binary: "bytes";
|
|
939
|
+
readonly custom: {
|
|
940
|
+
readonly to: "WormchainGovernance";
|
|
941
|
+
readonly from: Uint8Array;
|
|
942
|
+
};
|
|
943
|
+
}, {
|
|
944
|
+
readonly name: "action";
|
|
945
|
+
readonly binary: "uint";
|
|
946
|
+
readonly size: 1;
|
|
947
|
+
readonly custom: {
|
|
948
|
+
readonly to: "InstantiateContract";
|
|
949
|
+
readonly from: 2;
|
|
950
|
+
};
|
|
951
|
+
}, {
|
|
952
|
+
readonly custom: {
|
|
953
|
+
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" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
|
|
954
|
+
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" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia") => number;
|
|
955
|
+
};
|
|
956
|
+
readonly binary: "uint";
|
|
957
|
+
readonly size: 2;
|
|
958
|
+
readonly name: "chain";
|
|
959
|
+
}, {
|
|
960
|
+
readonly name: "actionArgs";
|
|
961
|
+
readonly binary: "bytes";
|
|
962
|
+
readonly layout: readonly [{
|
|
963
|
+
readonly binary: "bytes";
|
|
964
|
+
readonly size: 32;
|
|
965
|
+
readonly name: "instantiationParamsHash";
|
|
966
|
+
}];
|
|
967
|
+
}]], readonly ["MigrateContract", readonly [{
|
|
968
|
+
readonly name: "protocol";
|
|
969
|
+
readonly binary: "bytes";
|
|
970
|
+
readonly custom: {
|
|
971
|
+
readonly to: "WormchainGovernance";
|
|
972
|
+
readonly from: Uint8Array;
|
|
973
|
+
};
|
|
974
|
+
}, {
|
|
975
|
+
readonly name: "action";
|
|
976
|
+
readonly binary: "uint";
|
|
977
|
+
readonly size: 1;
|
|
978
|
+
readonly custom: {
|
|
979
|
+
readonly to: "MigrateContract";
|
|
980
|
+
readonly from: 3;
|
|
981
|
+
};
|
|
982
|
+
}, {
|
|
983
|
+
readonly custom: {
|
|
984
|
+
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" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
|
|
985
|
+
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" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia") => number;
|
|
986
|
+
};
|
|
987
|
+
readonly binary: "uint";
|
|
988
|
+
readonly size: 2;
|
|
989
|
+
readonly name: "chain";
|
|
990
|
+
}, {
|
|
991
|
+
readonly name: "actionArgs";
|
|
992
|
+
readonly binary: "bytes";
|
|
993
|
+
readonly layout: readonly [{
|
|
994
|
+
readonly binary: "bytes";
|
|
995
|
+
readonly size: 32;
|
|
996
|
+
readonly name: "migrationParamsHash";
|
|
997
|
+
}];
|
|
998
|
+
}]], readonly ["AddWasmInstantiateAllowlist", readonly [{
|
|
999
|
+
readonly name: "protocol";
|
|
1000
|
+
readonly binary: "bytes";
|
|
1001
|
+
readonly custom: {
|
|
1002
|
+
readonly to: "WormchainGovernance";
|
|
1003
|
+
readonly from: Uint8Array;
|
|
1004
|
+
};
|
|
1005
|
+
}, {
|
|
1006
|
+
readonly name: "action";
|
|
1007
|
+
readonly binary: "uint";
|
|
1008
|
+
readonly size: 1;
|
|
1009
|
+
readonly custom: {
|
|
1010
|
+
readonly to: "AddWasmInstantiateAllowlist";
|
|
1011
|
+
readonly from: 4;
|
|
1012
|
+
};
|
|
1013
|
+
}, {
|
|
1014
|
+
readonly custom: {
|
|
1015
|
+
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" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
|
|
1016
|
+
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" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia") => number;
|
|
1017
|
+
};
|
|
1018
|
+
readonly binary: "uint";
|
|
1019
|
+
readonly size: 2;
|
|
1020
|
+
readonly name: "chain";
|
|
1021
|
+
}, {
|
|
1022
|
+
readonly name: "actionArgs";
|
|
1023
|
+
readonly binary: "bytes";
|
|
1024
|
+
readonly layout: readonly [{
|
|
1025
|
+
readonly binary: "bytes";
|
|
1026
|
+
readonly size: 32;
|
|
1027
|
+
readonly custom: {
|
|
1028
|
+
to: (val: Uint8Array) => import("../../universalAddress.js").UniversalAddress;
|
|
1029
|
+
from: (val: import("../../universalAddress.js").UniversalAddress) => Uint8Array;
|
|
1030
|
+
};
|
|
1031
|
+
readonly name: "contractAddr";
|
|
1032
|
+
}, {
|
|
1033
|
+
readonly name: "codeId";
|
|
1034
|
+
readonly binary: "uint";
|
|
1035
|
+
readonly size: 8;
|
|
1036
|
+
}];
|
|
1037
|
+
}]], readonly ["DeleteWasmInstantiateAllowlist", readonly [{
|
|
1038
|
+
readonly name: "protocol";
|
|
1039
|
+
readonly binary: "bytes";
|
|
1040
|
+
readonly custom: {
|
|
1041
|
+
readonly to: "WormchainGovernance";
|
|
1042
|
+
readonly from: Uint8Array;
|
|
1043
|
+
};
|
|
1044
|
+
}, {
|
|
1045
|
+
readonly name: "action";
|
|
1046
|
+
readonly binary: "uint";
|
|
1047
|
+
readonly size: 1;
|
|
1048
|
+
readonly custom: {
|
|
1049
|
+
readonly to: "DeleteWasmInstantiateAllowlist";
|
|
1050
|
+
readonly from: 5;
|
|
1051
|
+
};
|
|
1052
|
+
}, {
|
|
1053
|
+
readonly custom: {
|
|
1054
|
+
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" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
|
|
1055
|
+
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" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia") => number;
|
|
1056
|
+
};
|
|
1057
|
+
readonly binary: "uint";
|
|
1058
|
+
readonly size: 2;
|
|
1059
|
+
readonly name: "chain";
|
|
1060
|
+
}, {
|
|
1061
|
+
readonly name: "actionArgs";
|
|
1062
|
+
readonly binary: "bytes";
|
|
1063
|
+
readonly layout: readonly [{
|
|
1064
|
+
readonly binary: "bytes";
|
|
1065
|
+
readonly size: 32;
|
|
1066
|
+
readonly custom: {
|
|
1067
|
+
to: (val: Uint8Array) => import("../../universalAddress.js").UniversalAddress;
|
|
1068
|
+
from: (val: import("../../universalAddress.js").UniversalAddress) => Uint8Array;
|
|
1069
|
+
};
|
|
1070
|
+
readonly name: "contractAddr";
|
|
1071
|
+
}, {
|
|
1072
|
+
readonly name: "codeId";
|
|
1073
|
+
readonly binary: "uint";
|
|
1074
|
+
readonly size: 8;
|
|
1075
|
+
}];
|
|
1076
|
+
}]]];
|
|
1077
|
+
declare const gatewayGovernancePayloads: readonly [readonly ["ScheduleUpgrade", readonly [{
|
|
1078
|
+
readonly name: "protocol";
|
|
1079
|
+
readonly binary: "bytes";
|
|
1080
|
+
readonly custom: {
|
|
1081
|
+
readonly to: "GatewayGovernance";
|
|
1082
|
+
readonly from: Uint8Array;
|
|
1083
|
+
};
|
|
1084
|
+
}, {
|
|
1085
|
+
readonly name: "action";
|
|
1086
|
+
readonly binary: "uint";
|
|
1087
|
+
readonly size: 1;
|
|
1088
|
+
readonly custom: {
|
|
1089
|
+
readonly to: "ScheduleUpgrade";
|
|
1090
|
+
readonly from: 1;
|
|
1091
|
+
};
|
|
1092
|
+
}, {
|
|
1093
|
+
readonly custom: {
|
|
1094
|
+
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" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
|
|
1095
|
+
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" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia") => number;
|
|
1096
|
+
};
|
|
1097
|
+
readonly binary: "uint";
|
|
1098
|
+
readonly size: 2;
|
|
1099
|
+
readonly name: "chain";
|
|
1100
|
+
}, {
|
|
1101
|
+
readonly name: "actionArgs";
|
|
1102
|
+
readonly binary: "bytes";
|
|
1103
|
+
readonly layout: {
|
|
1104
|
+
readonly binary: "bytes";
|
|
1105
|
+
readonly custom: {
|
|
1106
|
+
readonly to: (encoded: Uint8Array) => {
|
|
1107
|
+
readonly height: bigint;
|
|
1108
|
+
readonly name: string;
|
|
1109
|
+
};
|
|
1110
|
+
readonly from: (decoded: {
|
|
1111
|
+
readonly height: bigint;
|
|
1112
|
+
readonly name: string;
|
|
1113
|
+
}) => Uint8Array;
|
|
1114
|
+
};
|
|
1115
|
+
};
|
|
1116
|
+
}]], readonly ["CancelUpgrade", readonly [{
|
|
1117
|
+
readonly name: "protocol";
|
|
1118
|
+
readonly binary: "bytes";
|
|
1119
|
+
readonly custom: {
|
|
1120
|
+
readonly to: "GatewayGovernance";
|
|
1121
|
+
readonly from: Uint8Array;
|
|
1122
|
+
};
|
|
1123
|
+
}, {
|
|
1124
|
+
readonly name: "action";
|
|
1125
|
+
readonly binary: "uint";
|
|
1126
|
+
readonly size: 1;
|
|
1127
|
+
readonly custom: {
|
|
1128
|
+
readonly to: "CancelUpgrade";
|
|
1129
|
+
readonly from: 2;
|
|
1130
|
+
};
|
|
1131
|
+
}, {
|
|
1132
|
+
readonly custom: {
|
|
1133
|
+
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" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia" | null;
|
|
1134
|
+
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" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia" | null) => number;
|
|
1135
|
+
};
|
|
1136
|
+
readonly binary: "uint";
|
|
1137
|
+
readonly size: 2;
|
|
1138
|
+
readonly name: "chain";
|
|
1139
|
+
}, {
|
|
1140
|
+
readonly name: "actionArgs";
|
|
1141
|
+
readonly binary: "bytes";
|
|
1142
|
+
readonly layout: readonly [];
|
|
1143
|
+
}]], readonly ["SetIbcComposabilityMwContract", readonly [{
|
|
1144
|
+
readonly name: "protocol";
|
|
1145
|
+
readonly binary: "bytes";
|
|
1146
|
+
readonly custom: {
|
|
1147
|
+
readonly to: "GatewayGovernance";
|
|
1148
|
+
readonly from: Uint8Array;
|
|
1149
|
+
};
|
|
1150
|
+
}, {
|
|
1151
|
+
readonly name: "action";
|
|
1152
|
+
readonly binary: "uint";
|
|
1153
|
+
readonly size: 1;
|
|
1154
|
+
readonly custom: {
|
|
1155
|
+
readonly to: "SetIbcComposabilityMwContract";
|
|
1156
|
+
readonly from: 3;
|
|
1157
|
+
};
|
|
1158
|
+
}, {
|
|
1159
|
+
readonly custom: {
|
|
1160
|
+
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" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia";
|
|
1161
|
+
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" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia") => number;
|
|
1162
|
+
};
|
|
1163
|
+
readonly binary: "uint";
|
|
1164
|
+
readonly size: 2;
|
|
1165
|
+
readonly name: "chain";
|
|
1166
|
+
}, {
|
|
1167
|
+
readonly name: "actionArgs";
|
|
1168
|
+
readonly binary: "bytes";
|
|
1169
|
+
readonly layout: readonly [{
|
|
1170
|
+
readonly binary: "bytes";
|
|
1171
|
+
readonly size: 32;
|
|
1172
|
+
readonly custom: {
|
|
1173
|
+
to: (val: Uint8Array) => import("../../universalAddress.js").UniversalAddress;
|
|
1174
|
+
from: (val: import("../../universalAddress.js").UniversalAddress) => Uint8Array;
|
|
1175
|
+
};
|
|
1176
|
+
readonly name: "contractAddress";
|
|
1177
|
+
}];
|
|
1178
|
+
}]]];
|
|
1179
|
+
import "../../registry.js";
|
|
1180
|
+
declare module "../../registry.js" {
|
|
1181
|
+
namespace WormholeRegistry {
|
|
1182
|
+
interface PayloadLiteralToLayoutMapping extends RegisterPayloadTypes<"WormholeCore", typeof coreBridgePayloads>, RegisterPayloadTypes<"TokenBridge", typeof tokenBridgePayloads>, RegisterPayloadTypes<"NftBridge", typeof nftBridgePayloads>, RegisterPayloadTypes<"Relayer", typeof relayerPayloads>, RegisterPayloadTypes<"CircleBridge", typeof cctpPayloads>, RegisterPayloadTypes<"IbcBridge", typeof ibcBridgePayloads>, RegisterPayloadTypes<"IbcReceiver", typeof ibcReceiverPayloads>, RegisterPayloadTypes<"GlobalAccountant", typeof globalAccountantPayloads>, RegisterPayloadTypes<"GeneralPurposeGovernance", typeof generalPurposeGovernancePayloads>, RegisterPayloadTypes<"WormchainGovernance", typeof wormchainGovernancePayloads>, RegisterPayloadTypes<"GatewayGovernance", typeof gatewayGovernancePayloads> {
|
|
1183
|
+
}
|
|
1184
|
+
}
|
|
1185
|
+
}
|
|
1186
|
+
export {};
|
|
1187
|
+
//# sourceMappingURL=layout.d.ts.map
|