@wormhole-foundation/sdk-definitions 0.1.8-beta.4 → 0.1.8-beta.6
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/README.md +5 -5
- package/dist/cjs/layout-items/amount.d.ts.map +1 -1
- package/dist/cjs/layout-items/amount.js.map +1 -1
- package/dist/cjs/layout-items/chain.d.ts +1 -1
- package/dist/cjs/layout-items/chain.d.ts.map +1 -1
- package/dist/cjs/layout-items/chain.js +1 -1
- package/dist/cjs/layout-items/chain.js.map +1 -1
- package/dist/cjs/layout-items/circle.d.ts +14 -0
- package/dist/cjs/layout-items/circle.d.ts.map +1 -0
- package/dist/cjs/layout-items/circle.js +17 -0
- package/dist/cjs/layout-items/circle.js.map +1 -0
- package/dist/cjs/layout-items/guardianSet.d.ts.map +1 -1
- package/dist/cjs/layout-items/guardianSet.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/payloadId.d.ts.map +1 -1
- package/dist/cjs/layout-items/payloadId.js.map +1 -1
- package/dist/cjs/layout-items/sequence.d.ts.map +1 -1
- package/dist/cjs/layout-items/sequence.js.map +1 -1
- package/dist/cjs/layout-items/signature.d.ts.map +1 -1
- package/dist/cjs/layout-items/signature.js.map +1 -1
- package/dist/cjs/layout-items/universalAddress.d.ts.map +1 -1
- package/dist/cjs/layout-items/universalAddress.js.map +1 -1
- package/dist/cjs/payloads/bam.js.map +1 -1
- package/dist/cjs/payloads/connect.d.ts +45 -13
- package/dist/cjs/payloads/connect.d.ts.map +1 -1
- package/dist/cjs/payloads/connect.js +4 -4
- package/dist/cjs/payloads/connect.js.map +1 -1
- package/dist/cjs/payloads/governance.d.ts +11 -12
- package/dist/cjs/payloads/governance.d.ts.map +1 -1
- package/dist/cjs/payloads/governance.js +13 -17
- package/dist/cjs/payloads/governance.js.map +1 -1
- package/dist/cjs/payloads/relayer.d.ts +45 -38
- package/dist/cjs/payloads/relayer.d.ts.map +1 -1
- package/dist/cjs/payloads/relayer.js +26 -13
- package/dist/cjs/payloads/relayer.js.map +1 -1
- package/dist/cjs/payloads/tokenBridge.d.ts +1 -1
- package/dist/cjs/payloads/tokenBridge.js.map +1 -1
- package/dist/cjs/protocols/core.d.ts +1 -3
- package/dist/cjs/protocols/core.d.ts.map +1 -1
- package/dist/cjs/protocols/core.js.map +1 -1
- package/dist/cjs/vaa.d.ts +20 -102
- package/dist/cjs/vaa.d.ts.map +1 -1
- package/dist/cjs/vaa.js +10 -7
- package/dist/cjs/vaa.js.map +1 -1
- package/dist/esm/layout-items/amount.d.ts.map +1 -1
- package/dist/esm/layout-items/amount.js.map +1 -1
- package/dist/esm/layout-items/chain.d.ts +1 -1
- package/dist/esm/layout-items/chain.d.ts.map +1 -1
- package/dist/esm/layout-items/chain.js +1 -1
- package/dist/esm/layout-items/chain.js.map +1 -1
- package/dist/esm/layout-items/circle.d.ts +14 -0
- package/dist/esm/layout-items/circle.d.ts.map +1 -0
- package/dist/esm/layout-items/circle.js +14 -0
- package/dist/esm/layout-items/circle.js.map +1 -0
- package/dist/esm/layout-items/guardianSet.d.ts.map +1 -1
- package/dist/esm/layout-items/guardianSet.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/payloadId.d.ts.map +1 -1
- package/dist/esm/layout-items/payloadId.js.map +1 -1
- package/dist/esm/layout-items/sequence.d.ts.map +1 -1
- package/dist/esm/layout-items/sequence.js.map +1 -1
- package/dist/esm/layout-items/signature.d.ts.map +1 -1
- package/dist/esm/layout-items/signature.js.map +1 -1
- package/dist/esm/layout-items/universalAddress.d.ts.map +1 -1
- package/dist/esm/layout-items/universalAddress.js.map +1 -1
- package/dist/esm/payloads/bam.js.map +1 -1
- package/dist/esm/payloads/connect.d.ts +45 -13
- package/dist/esm/payloads/connect.d.ts.map +1 -1
- package/dist/esm/payloads/connect.js +5 -5
- package/dist/esm/payloads/connect.js.map +1 -1
- package/dist/esm/payloads/governance.d.ts +11 -12
- package/dist/esm/payloads/governance.d.ts.map +1 -1
- package/dist/esm/payloads/governance.js +13 -17
- package/dist/esm/payloads/governance.js.map +1 -1
- package/dist/esm/payloads/relayer.d.ts +45 -38
- package/dist/esm/payloads/relayer.d.ts.map +1 -1
- package/dist/esm/payloads/relayer.js +25 -12
- package/dist/esm/payloads/relayer.js.map +1 -1
- package/dist/esm/payloads/tokenBridge.d.ts +1 -1
- package/dist/esm/payloads/tokenBridge.js.map +1 -1
- package/dist/esm/protocols/core.d.ts +1 -3
- package/dist/esm/protocols/core.d.ts.map +1 -1
- package/dist/esm/protocols/core.js.map +1 -1
- package/dist/esm/vaa.d.ts +20 -102
- package/dist/esm/vaa.d.ts.map +1 -1
- package/dist/esm/vaa.js +10 -7
- package/dist/esm/vaa.js.map +1 -1
- package/package.json +1 -1
- package/src/layout-items/amount.ts +1 -1
- package/src/layout-items/chain.ts +3 -3
- package/src/layout-items/circle.ts +15 -0
- package/src/layout-items/guardianSet.ts +1 -1
- package/src/layout-items/index.ts +1 -0
- package/src/layout-items/payloadId.ts +1 -1
- package/src/layout-items/sequence.ts +1 -1
- package/src/layout-items/signature.ts +1 -1
- package/src/layout-items/universalAddress.ts +1 -1
- package/src/payloads/bam.ts +1 -1
- package/src/payloads/connect.ts +14 -14
- package/src/payloads/governance.ts +31 -34
- package/src/payloads/relayer.ts +37 -24
- package/src/payloads/tokenBridge.ts +2 -2
- package/src/protocols/core.ts +2 -3
- package/src/vaa.ts +18 -24
package/README.md
CHANGED
|
@@ -30,11 +30,11 @@ Generic Relayer:
|
|
|
30
30
|
- "DeliveryOverride"
|
|
31
31
|
|
|
32
32
|
Governance
|
|
33
|
-
- "
|
|
34
|
-
- "
|
|
35
|
-
- "
|
|
36
|
-
- "
|
|
37
|
-
- "
|
|
33
|
+
- "CoreBridgeUpgradeContract"
|
|
34
|
+
- "CoreBridgeGuardianSetUpgrade"
|
|
35
|
+
- "CoreBridgeSetMessageFee"
|
|
36
|
+
- "CoreBridgeTransferFees"
|
|
37
|
+
- "CoreBridgeRecoverChainId"
|
|
38
38
|
- "TokenBridgeRegisterChain"
|
|
39
39
|
- "TokenBridgeUpgradeContract"
|
|
40
40
|
- "TokenBridgeRecoverChainId"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"amount.d.ts","sourceRoot":"","sources":["../../../src/layout-items/amount.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,UAAU;;;
|
|
1
|
+
{"version":3,"file":"amount.d.ts","sourceRoot":"","sources":["../../../src/layout-items/amount.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,UAAU;;;CAGY,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"amount.js","sourceRoot":"","sources":["../../../src/layout-items/amount.ts"],"names":[],"mappings":";;;AAEa,QAAA,UAAU,GAAG;IACxB,MAAM,EAAE,MAAM;IACd,IAAI,EAAE,EAAE;
|
|
1
|
+
{"version":3,"file":"amount.js","sourceRoot":"","sources":["../../../src/layout-items/amount.ts"],"names":[],"mappings":";;;AAEa,QAAA,UAAU,GAAG;IACxB,MAAM,EAAE,MAAM;IACd,IAAI,EAAE,EAAE;CACyB,CAAC"}
|
|
@@ -3,7 +3,7 @@ export declare const chainItemBase: {
|
|
|
3
3
|
readonly size: 2;
|
|
4
4
|
};
|
|
5
5
|
type AllowNull<T, B extends boolean> = B extends true ? T | null : T;
|
|
6
|
-
export declare const chainItem: <C extends readonly ("Solana" | "Btc" | "Algorand" | "Sui" | "Aptos" | "Near" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Base" | "Sei" | "Rootstock" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Sepolia")[] =
|
|
6
|
+
export declare const chainItem: <C extends readonly ("Solana" | "Btc" | "Algorand" | "Sui" | "Aptos" | "Near" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Base" | "Sei" | "Rootstock" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Sepolia")[] = ["Solana", "Ethereum", "Terra", "Bsc", "Polygon", "Avalanche", "Oasis", "Algorand", "Aurora", "Fantom", "Karura", "Acala", "Klaytn", "Celo", "Near", "Moonbeam", "Neon", "Terra2", "Injective", "Osmosis", "Sui", "Aptos", "Arbitrum", "Optimism", "Gnosis", "Pythnet", "Xpla", "Btc", "Base", "Sei", "Rootstock", "Wormchain", "Cosmoshub", "Evmos", "Kujira", "Sepolia"], N extends boolean = false>(opts?: {
|
|
7
7
|
allowedChains?: C | undefined;
|
|
8
8
|
allowNull?: N | undefined;
|
|
9
9
|
} | undefined) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chain.d.ts","sourceRoot":"","sources":["../../../src/layout-items/chain.ts"],"names":[],"mappings":"AAWA,eAAO,MAAM,aAAa;;;CAAuC,CAAC;AAElE,KAAK,SAAS,CAAC,CAAC,EAAE,CAAC,SAAS,OAAO,IAAI,CAAC,SAAS,IAAI,GAAG,CAAC,GAAG,IAAI,GAAG,CAAC,CAAC;AAErE,eAAO,MAAM,SAAS;;;;;kBAUN,MAAM;gDAmBsB,MAAM;;;;
|
|
1
|
+
{"version":3,"file":"chain.d.ts","sourceRoot":"","sources":["../../../src/layout-items/chain.ts"],"names":[],"mappings":"AAWA,eAAO,MAAM,aAAa;;;CAAuC,CAAC;AAElE,KAAK,SAAS,CAAC,CAAC,EAAE,CAAC,SAAS,OAAO,IAAI,CAAC,SAAS,IAAI,GAAG,CAAC,GAAG,IAAI,GAAG,CAAC,CAAC;AAErE,eAAO,MAAM,SAAS;;;;;kBAUN,MAAM;gDAmBsB,MAAM;;;;CAGZ,CAAC;AAEvC,eAAO,MAAM,cAAc;;;;;;;;;;;CAOW,CAAC"}
|
|
@@ -9,7 +9,7 @@ const chainItem = (opts) => ({
|
|
|
9
9
|
to: (val) => {
|
|
10
10
|
if (val === 0) {
|
|
11
11
|
if (!opts?.allowNull)
|
|
12
|
-
throw new Error("ChainId 0 is not valid for this
|
|
12
|
+
throw new Error("ChainId 0 is not valid for this protocol and action");
|
|
13
13
|
return null;
|
|
14
14
|
}
|
|
15
15
|
const chain = (0, sdk_base_1.chainIdToChain)((0, sdk_base_1.toChainId)(val));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chain.js","sourceRoot":"","sources":["../../../src/layout-items/chain.ts"],"names":[],"mappings":";;;AAAA,4DASuC;AAE1B,QAAA,aAAa,GAAG,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,EAAW,CAAC;AAI3D,MAAM,SAAS,GAAG,CAGvB,IAGD,EAAE,EAAE,CACH,CAAC;IACC,GAAG,qBAAa;IAChB,MAAM,EAAE;QACN,EAAE,EAAE,CAAC,GAAW,EAA2B,EAAE;YAC3C,IAAI,GAAG,KAAK,CAAC,EAAE;gBACb,IAAI,CAAC,IAAI,EAAE,SAAS;oBAClB,MAAM,IAAI,KAAK,CACb,
|
|
1
|
+
{"version":3,"file":"chain.js","sourceRoot":"","sources":["../../../src/layout-items/chain.ts"],"names":[],"mappings":";;;AAAA,4DASuC;AAE1B,QAAA,aAAa,GAAG,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,EAAW,CAAC;AAI3D,MAAM,SAAS,GAAG,CAGvB,IAGD,EAAE,EAAE,CACH,CAAC;IACC,GAAG,qBAAa;IAChB,MAAM,EAAE;QACN,EAAE,EAAE,CAAC,GAAW,EAA2B,EAAE;YAC3C,IAAI,GAAG,KAAK,CAAC,EAAE;gBACb,IAAI,CAAC,IAAI,EAAE,SAAS;oBAClB,MAAM,IAAI,KAAK,CACb,qDAAqD,CACtD,CAAC;gBAEJ,OAAO,IAA+B,CAAC;aACxC;YAED,MAAM,KAAK,GAAG,IAAA,yBAAc,EAAC,IAAA,oBAAS,EAAC,GAAG,CAAC,CAAC,CAAC;YAC7C,MAAM,aAAa,GAAG,IAAI,EAAE,aAAa,IAAI,iBAAM,CAAC;YACpD,IAAI,CAAC,aAAa,CAAC,QAAQ,CAAC,KAAK,CAAC;gBAChC,MAAM,IAAI,KAAK,CACb,SAAS,KAAK,0BAA0B,aAAa,EAAE,CACxD,CAAC;YAEJ,OAAO,KAAK,CAAC;QACf,CAAC;QACD,IAAI,EAAE,CAAC,GAA4B,EAAU,EAAE,CAC7C,GAAG,IAAI,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAA,yBAAc,EAAC,GAAG,CAAC;KACoB;CAC5B,CAAC,CAAC;AAhC1B,QAAA,SAAS,aAgCiB;AAEhC,MAAM,cAAc,GAAG,CAAsB,KAAQ,EAAE,EAAE,CAC9D,CAAC;IACC,GAAG,qBAAa;IAChB,MAAM,EAAE;QACN,EAAE,EAAE,KAAK;QACT,IAAI,EAAE,IAAA,yBAAc,EAAC,KAAK,CAAC;KACS;CACL,CAAC,CAAC;AAP1B,QAAA,cAAc,kBAOY"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { CircleChainName } from "@wormhole-foundation/sdk-base";
|
|
2
|
+
export declare const circleDomainItem: {
|
|
3
|
+
readonly binary: "uint";
|
|
4
|
+
readonly size: 4;
|
|
5
|
+
readonly custom: {
|
|
6
|
+
readonly to: (id: number) => "Solana" | "Btc" | "Algorand" | "Sui" | "Aptos" | "Near" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Base" | "Sei" | "Rootstock" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Sepolia";
|
|
7
|
+
readonly from: (name: CircleChainName) => 0 | 2 | 1 | 3 | 6;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
export declare const circleNonceItem: {
|
|
11
|
+
readonly binary: "uint";
|
|
12
|
+
readonly size: 8;
|
|
13
|
+
};
|
|
14
|
+
//# sourceMappingURL=circle.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"circle.d.ts","sourceRoot":"","sources":["../../../src/layout-items/circle.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAoC,MAAM,+BAA+B,CAAC;AAElG,eAAO,MAAM,gBAAgB;;;;0BAIhB,MAAM;8BACF,eAAe;;CAEtB,CAAC;AAEX,eAAO,MAAM,eAAe;;;CAGlB,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.circleNonceItem = exports.circleDomainItem = void 0;
|
|
4
|
+
const sdk_base_1 = require("@wormhole-foundation/sdk-base");
|
|
5
|
+
exports.circleDomainItem = {
|
|
6
|
+
binary: "uint",
|
|
7
|
+
size: 4,
|
|
8
|
+
custom: {
|
|
9
|
+
to: (id) => (0, sdk_base_1.toCircleChainName)(id),
|
|
10
|
+
from: (name) => (0, sdk_base_1.circleChainId)(name),
|
|
11
|
+
},
|
|
12
|
+
};
|
|
13
|
+
exports.circleNonceItem = {
|
|
14
|
+
binary: "uint",
|
|
15
|
+
size: 8,
|
|
16
|
+
};
|
|
17
|
+
//# sourceMappingURL=circle.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"circle.js","sourceRoot":"","sources":["../../../src/layout-items/circle.ts"],"names":[],"mappings":";;;AAAA,4DAAkG;AAErF,QAAA,gBAAgB,GAAG;IAC9B,MAAM,EAAE,MAAM;IACd,IAAI,EAAE,CAAC;IACP,MAAM,EAAE;QACN,EAAE,EAAE,CAAC,EAAU,EAAE,EAAE,CAAC,IAAA,4BAAiB,EAAC,EAAE,CAAC;QACzC,IAAI,EAAE,CAAC,IAAqB,EAAE,EAAE,CAAC,IAAA,wBAAa,EAAC,IAAI,CAAC;KACrD;CACO,CAAC;AAEE,QAAA,eAAe,GAAG;IAC7B,MAAM,EAAE,MAAM;IACd,IAAI,EAAE,CAAC;CACC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"guardianSet.d.ts","sourceRoot":"","sources":["../../../src/layout-items/guardianSet.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,eAAe;;;
|
|
1
|
+
{"version":3,"file":"guardianSet.d.ts","sourceRoot":"","sources":["../../../src/layout-items/guardianSet.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,eAAe;;;CAGO,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"guardianSet.js","sourceRoot":"","sources":["../../../src/layout-items/guardianSet.ts"],"names":[],"mappings":";;;AAEa,QAAA,eAAe,GAAG;IAC7B,MAAM,EAAE,MAAM;IACd,IAAI,EAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"guardianSet.js","sourceRoot":"","sources":["../../../src/layout-items/guardianSet.ts"],"names":[],"mappings":";;;AAEa,QAAA,eAAe,GAAG;IAC7B,MAAM,EAAE,MAAM;IACd,IAAI,EAAE,CAAC;CAC0B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/layout-items/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,eAAe,CAAC;AAC9B,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,oBAAoB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/layout-items/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,eAAe,CAAC;AAC9B,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,oBAAoB,CAAC"}
|
|
@@ -16,6 +16,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./amount"), exports);
|
|
18
18
|
__exportStar(require("./chain"), exports);
|
|
19
|
+
__exportStar(require("./circle"), exports);
|
|
19
20
|
__exportStar(require("./guardianSet"), exports);
|
|
20
21
|
__exportStar(require("./payloadId"), exports);
|
|
21
22
|
__exportStar(require("./sequence"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/layout-items/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAyB;AACzB,0CAAwB;AACxB,gDAA8B;AAC9B,8CAA4B;AAC5B,6CAA2B;AAC3B,8CAA4B;AAC5B,qDAAmC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/layout-items/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAyB;AACzB,0CAAwB;AACxB,2CAAyB;AACzB,gDAA8B;AAC9B,8CAA4B;AAC5B,6CAA2B;AAC3B,8CAA4B;AAC5B,qDAAmC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payloadId.d.ts","sourceRoot":"","sources":["../../../src/layout-items/payloadId.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa;;;;;;
|
|
1
|
+
{"version":3,"file":"payloadId.d.ts","sourceRoot":"","sources":["../../../src/layout-items/payloadId.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa;;;;;;CAOwC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payloadId.js","sourceRoot":"","sources":["../../../src/layout-items/payloadId.ts"],"names":[],"mappings":";;;AAEO,MAAM,aAAa,GAAG,CAAoB,EAAM,EAAE,EAAE,CACzD,CAAC;IACC,IAAI,EAAE,WAAW;IACjB,MAAM,EAAE,MAAM;IACd,IAAI,EAAE,CAAC;IACP,MAAM,EAAE,EAAE;IACV,IAAI,EAAE,IAAI;
|
|
1
|
+
{"version":3,"file":"payloadId.js","sourceRoot":"","sources":["../../../src/layout-items/payloadId.ts"],"names":[],"mappings":";;;AAEO,MAAM,aAAa,GAAG,CAAoB,EAAM,EAAE,EAAE,CACzD,CAAC;IACC,IAAI,EAAE,WAAW;IACjB,MAAM,EAAE,MAAM;IACd,IAAI,EAAE,CAAC;IACP,MAAM,EAAE,EAAE;IACV,IAAI,EAAE,IAAI;CACmD,CAAC,CAAC;AAPtD,QAAA,aAAa,iBAOyC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sequence.d.ts","sourceRoot":"","sources":["../../../src/layout-items/sequence.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,YAAY;;;
|
|
1
|
+
{"version":3,"file":"sequence.d.ts","sourceRoot":"","sources":["../../../src/layout-items/sequence.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,YAAY;;;CAGU,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sequence.js","sourceRoot":"","sources":["../../../src/layout-items/sequence.ts"],"names":[],"mappings":";;;AAEa,QAAA,YAAY,GAAG;IAC1B,MAAM,EAAE,MAAM;IACd,IAAI,EAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"sequence.js","sourceRoot":"","sources":["../../../src/layout-items/sequence.ts"],"names":[],"mappings":";;;AAEa,QAAA,YAAY,GAAG;IAC1B,MAAM,EAAE,MAAM;IACd,IAAI,EAAE,CAAC;CAC0B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"signature.d.ts","sourceRoot":"","sources":["../../../src/layout-items/signature.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAQzC,eAAO,MAAM,aAAa;;;;2BAIZ,UAAU,KAAG,SAAS;6BAIpB,SAAS,KAAG,UAAU;;
|
|
1
|
+
{"version":3,"file":"signature.d.ts","sourceRoot":"","sources":["../../../src/layout-items/signature.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAQzC,eAAO,MAAM,aAAa;;;;2BAIZ,UAAU,KAAG,SAAS;6BAIpB,SAAS,KAAG,UAAU;;CAGO,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"signature.js","sourceRoot":"","sources":["../../../src/layout-items/signature.ts"],"names":[],"mappings":";;;AAAA,4DAMuC;AACvC,4CAAyC;AAEzC,MAAM,eAAe,GAAG;IACtB,EAAE,IAAI,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,EAAE,EAAE;IACvC,EAAE,IAAI,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,EAAE,EAAE;IACvC,EAAE,IAAI,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,EAAE;CACb,CAAC;AAEf,QAAA,aAAa,GAAG;IAC3B,MAAM,EAAE,OAAO;IACf,IAAI,EAAE,EAAE;IACR,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A,0BAAe,EAAC,eAAe,EAAE,EAAE,CAAC,EAAE,GAAG,CAAC,CAAC,EAAE,CAAC,EAAE,GAAG,CAAC,CAAC,EAAE,CAAC,EAAE,GAAG,CAAC,CAAC,EAAE,CAAC;KACV;CACjB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"universalAddress.d.ts","sourceRoot":"","sources":["../../../src/layout-items/universalAddress.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAEvD,eAAO,MAAM,oBAAoB;;;;kBAInB,UAAU,KAAG,gBAAgB;oBAC3B,gBAAgB,KAAG,UAAU;;
|
|
1
|
+
{"version":3,"file":"universalAddress.d.ts","sourceRoot":"","sources":["../../../src/layout-items/universalAddress.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAEvD,eAAO,MAAM,oBAAoB;;;;kBAInB,UAAU,KAAG,gBAAgB;oBAC3B,gBAAgB,KAAG,UAAU;;CAEA,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"universalAddress.js","sourceRoot":"","sources":["../../../src/layout-items/universalAddress.ts"],"names":[],"mappings":";;;AAIA,0DAAuD;AAE1C,QAAA,oBAAoB,GAAG;IAClC,MAAM,EAAE,OAAO;IACf,IAAI,EAAE,EAAE;IACR,MAAM,EAAE;QACN,EAAE,EAAE,CAAC,GAAe,EAAoB,EAAE,CAAC,IAAI,mCAAgB,CAAC,GAAG,CAAC;QACpE,IAAI,EAAE,CAAC,GAAqB,EAAc,EAAE,CAAC,GAAG,CAAC,YAAY,EAAE;KACP;
|
|
1
|
+
{"version":3,"file":"universalAddress.js","sourceRoot":"","sources":["../../../src/layout-items/universalAddress.ts"],"names":[],"mappings":";;;AAIA,0DAAuD;AAE1C,QAAA,oBAAoB,GAAG;IAClC,MAAM,EAAE,OAAO;IACf,IAAI,EAAE,EAAE;IACR,MAAM,EAAE;QACN,EAAE,EAAE,CAAC,GAAe,EAAoB,EAAE,CAAC,IAAI,mCAAgB,CAAC,GAAG,CAAC;QACpE,IAAI,EAAE,CAAC,GAAqB,EAAc,EAAE,CAAC,GAAG,CAAC,YAAY,EAAE;KACP;CACf,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bam.js","sourceRoot":"","sources":["../../../src/payloads/bam.ts"],"names":[],"mappings":";;;AACA,kDAAwD;AACxD,gCAAmF;AAEnF,MAAM,cAAc,GAAG;IACrB,MAAM,EAAE,OAAO;IACf,UAAU,EAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"bam.js","sourceRoot":"","sources":["../../../src/payloads/bam.ts"],"names":[],"mappings":";;;AACA,kDAAwD;AACxD,gCAAmF;AAEnF,MAAM,cAAc,GAAG;IACrB,MAAM,EAAE,OAAO;IACf,UAAU,EAAE,CAAC;CACmC,CAAC;AAEnD,MAAM,aAAa,GAAG,CAAC,MAAW,EAAE,EAAE,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;AAEzD,MAAM,aAAa,GAAG,CAG3B,IAAO,EAAE,cAAkB,EAAE,EAAE,CAAC;IAChC,EAAE,IAAI,EAAE,WAAW,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE;IACxE,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE;IACnE,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE;IACnE,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,I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CAAE;IAC/B,CAAE,cAAc,EAAE,IAAA,0BAAkB,GAAE,CAAE;IACxC,CAAE,iBAAiB,EAAE,IAAA,6BAAqB,GAAE,CAAE;CACd,CAAC;AAWnC,IAAA,0BAAoB,EAAC,KAAK,EAAE,qBAAa,CAAC,CAAC"}
|
|
@@ -23,17 +23,25 @@ export declare const depositWithSizedLayoutPayload: <S extends number, L extends
|
|
|
23
23
|
readonly name: "amount";
|
|
24
24
|
}];
|
|
25
25
|
}, {
|
|
26
|
-
readonly name: "sourceDomain";
|
|
27
26
|
readonly binary: "uint";
|
|
28
27
|
readonly size: 4;
|
|
28
|
+
readonly custom: {
|
|
29
|
+
readonly to: (id: number) => "Solana" | "Btc" | "Algorand" | "Sui" | "Aptos" | "Near" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Base" | "Sei" | "Rootstock" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Sepolia";
|
|
30
|
+
readonly from: (name: "Ethereum" | "Avalanche" | "Arbitrum" | "Optimism" | "Base") => 0 | 2 | 1 | 3 | 6;
|
|
31
|
+
};
|
|
32
|
+
readonly name: "sourceDomain";
|
|
29
33
|
}, {
|
|
30
|
-
readonly name: "targetDomain";
|
|
31
34
|
readonly binary: "uint";
|
|
32
35
|
readonly size: 4;
|
|
36
|
+
readonly custom: {
|
|
37
|
+
readonly to: (id: number) => "Solana" | "Btc" | "Algorand" | "Sui" | "Aptos" | "Near" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Base" | "Sei" | "Rootstock" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Sepolia";
|
|
38
|
+
readonly from: (name: "Ethereum" | "Avalanche" | "Arbitrum" | "Optimism" | "Base") => 0 | 2 | 1 | 3 | 6;
|
|
39
|
+
};
|
|
40
|
+
readonly name: "targetDomain";
|
|
33
41
|
}, {
|
|
34
|
-
readonly name: "nonce";
|
|
35
42
|
readonly binary: "uint";
|
|
36
43
|
readonly size: 8;
|
|
44
|
+
readonly name: "nonce";
|
|
37
45
|
}, {
|
|
38
46
|
readonly binary: "bytes";
|
|
39
47
|
readonly size: 32;
|
|
@@ -84,17 +92,25 @@ export declare const depositWithBytesPayload: <C extends Pick<LengthPrefixedByte
|
|
|
84
92
|
readonly name: "amount";
|
|
85
93
|
}];
|
|
86
94
|
}, {
|
|
87
|
-
readonly name: "sourceDomain";
|
|
88
95
|
readonly binary: "uint";
|
|
89
96
|
readonly size: 4;
|
|
97
|
+
readonly custom: {
|
|
98
|
+
readonly to: (id: number) => "Solana" | "Btc" | "Algorand" | "Sui" | "Aptos" | "Near" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Base" | "Sei" | "Rootstock" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Sepolia";
|
|
99
|
+
readonly from: (name: "Ethereum" | "Avalanche" | "Arbitrum" | "Optimism" | "Base") => 0 | 2 | 1 | 3 | 6;
|
|
100
|
+
};
|
|
101
|
+
readonly name: "sourceDomain";
|
|
90
102
|
}, {
|
|
91
|
-
readonly name: "targetDomain";
|
|
92
103
|
readonly binary: "uint";
|
|
93
104
|
readonly size: 4;
|
|
105
|
+
readonly custom: {
|
|
106
|
+
readonly to: (id: number) => "Solana" | "Btc" | "Algorand" | "Sui" | "Aptos" | "Near" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Base" | "Sei" | "Rootstock" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Sepolia";
|
|
107
|
+
readonly from: (name: "Ethereum" | "Avalanche" | "Arbitrum" | "Optimism" | "Base") => 0 | 2 | 1 | 3 | 6;
|
|
108
|
+
};
|
|
109
|
+
readonly name: "targetDomain";
|
|
94
110
|
}, {
|
|
95
|
-
readonly name: "nonce";
|
|
96
111
|
readonly binary: "uint";
|
|
97
112
|
readonly size: 8;
|
|
113
|
+
readonly name: "nonce";
|
|
98
114
|
}, {
|
|
99
115
|
readonly binary: "bytes";
|
|
100
116
|
readonly size: 32;
|
|
@@ -139,17 +155,25 @@ export declare const namedPayloads: readonly [readonly ["DepositWithPayload", re
|
|
|
139
155
|
readonly name: "amount";
|
|
140
156
|
}];
|
|
141
157
|
}, {
|
|
142
|
-
readonly name: "sourceDomain";
|
|
143
158
|
readonly binary: "uint";
|
|
144
159
|
readonly size: 4;
|
|
160
|
+
readonly custom: {
|
|
161
|
+
readonly to: (id: number) => "Solana" | "Btc" | "Algorand" | "Sui" | "Aptos" | "Near" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Base" | "Sei" | "Rootstock" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Sepolia";
|
|
162
|
+
readonly from: (name: "Ethereum" | "Avalanche" | "Arbitrum" | "Optimism" | "Base") => 0 | 2 | 1 | 3 | 6;
|
|
163
|
+
};
|
|
164
|
+
readonly name: "sourceDomain";
|
|
145
165
|
}, {
|
|
146
|
-
readonly name: "targetDomain";
|
|
147
166
|
readonly binary: "uint";
|
|
148
167
|
readonly size: 4;
|
|
168
|
+
readonly custom: {
|
|
169
|
+
readonly to: (id: number) => "Solana" | "Btc" | "Algorand" | "Sui" | "Aptos" | "Near" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Base" | "Sei" | "Rootstock" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Sepolia";
|
|
170
|
+
readonly from: (name: "Ethereum" | "Avalanche" | "Arbitrum" | "Optimism" | "Base") => 0 | 2 | 1 | 3 | 6;
|
|
171
|
+
};
|
|
172
|
+
readonly name: "targetDomain";
|
|
149
173
|
}, {
|
|
150
|
-
readonly name: "nonce";
|
|
151
174
|
readonly binary: "uint";
|
|
152
175
|
readonly size: 8;
|
|
176
|
+
readonly name: "nonce";
|
|
153
177
|
}, {
|
|
154
178
|
readonly binary: "bytes";
|
|
155
179
|
readonly size: 32;
|
|
@@ -193,17 +217,25 @@ export declare const namedPayloads: readonly [readonly ["DepositWithPayload", re
|
|
|
193
217
|
readonly name: "amount";
|
|
194
218
|
}];
|
|
195
219
|
}, {
|
|
196
|
-
readonly name: "sourceDomain";
|
|
197
220
|
readonly binary: "uint";
|
|
198
221
|
readonly size: 4;
|
|
222
|
+
readonly custom: {
|
|
223
|
+
readonly to: (id: number) => "Solana" | "Btc" | "Algorand" | "Sui" | "Aptos" | "Near" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Base" | "Sei" | "Rootstock" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Sepolia";
|
|
224
|
+
readonly from: (name: "Ethereum" | "Avalanche" | "Arbitrum" | "Optimism" | "Base") => 0 | 2 | 1 | 3 | 6;
|
|
225
|
+
};
|
|
226
|
+
readonly name: "sourceDomain";
|
|
199
227
|
}, {
|
|
200
|
-
readonly name: "targetDomain";
|
|
201
228
|
readonly binary: "uint";
|
|
202
229
|
readonly size: 4;
|
|
230
|
+
readonly custom: {
|
|
231
|
+
readonly to: (id: number) => "Solana" | "Btc" | "Algorand" | "Sui" | "Aptos" | "Near" | "Ethereum" | "Terra" | "Bsc" | "Polygon" | "Avalanche" | "Oasis" | "Aurora" | "Fantom" | "Karura" | "Acala" | "Klaytn" | "Celo" | "Moonbeam" | "Neon" | "Terra2" | "Injective" | "Osmosis" | "Arbitrum" | "Optimism" | "Gnosis" | "Pythnet" | "Xpla" | "Base" | "Sei" | "Rootstock" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Sepolia";
|
|
232
|
+
readonly from: (name: "Ethereum" | "Avalanche" | "Arbitrum" | "Optimism" | "Base") => 0 | 2 | 1 | 3 | 6;
|
|
233
|
+
};
|
|
234
|
+
readonly name: "targetDomain";
|
|
203
235
|
}, {
|
|
204
|
-
readonly name: "nonce";
|
|
205
236
|
readonly binary: "uint";
|
|
206
237
|
readonly size: 8;
|
|
238
|
+
readonly name: "nonce";
|
|
207
239
|
}, {
|
|
208
240
|
readonly binary: "bytes";
|
|
209
241
|
readonly size: 32;
|
|
@@ -255,7 +287,7 @@ export declare const namedPayloads: readonly [readonly ["DepositWithPayload", re
|
|
|
255
287
|
}]]];
|
|
256
288
|
declare global {
|
|
257
289
|
namespace Wormhole {
|
|
258
|
-
interface PayloadLiteralToLayoutMapping extends RegisterPayloadTypes<"
|
|
290
|
+
interface PayloadLiteralToLayoutMapping extends RegisterPayloadTypes<"CCTP", typeof namedPayloads> {
|
|
259
291
|
}
|
|
260
292
|
}
|
|
261
293
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connect.d.ts","sourceRoot":"","sources":["../../../src/payloads/connect.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"connect.d.ts","sourceRoot":"","sources":["../../../src/payloads/connect.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,6BAA6B,EAAE,MAAM,+BAA+B,CAAC;AAQtF,OAAO,EAAE,oBAAoB,EAAuC,MAAM,QAAQ,CAAC;AAsBnF,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAOhC,CAAC;AAEX,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAK1B,CAAC;AAEX,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAaQ,CAAC;AAInC,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,QAAQ,CAAC;QACjB,UAAU,6BACR,SAAQ,oBAAoB,CAAC,MAAM,EAAE,OAAO,aAAa,CAAC;SAAG;KAChE;CACF"}
|
|
@@ -13,9 +13,9 @@ const depositWithPayloadBase = [
|
|
|
13
13
|
{ name: "amount", ...layout_items_1.amountItem },
|
|
14
14
|
],
|
|
15
15
|
},
|
|
16
|
-
{ name: "sourceDomain",
|
|
17
|
-
{ name: "targetDomain",
|
|
18
|
-
{ name: "nonce",
|
|
16
|
+
{ name: "sourceDomain", ...layout_items_1.circleDomainItem },
|
|
17
|
+
{ name: "targetDomain", ...layout_items_1.circleDomainItem },
|
|
18
|
+
{ name: "nonce", ...layout_items_1.circleNonceItem },
|
|
19
19
|
{ name: "caller", ...layout_items_1.universalAddressItem },
|
|
20
20
|
{ name: "mintRecipient", ...layout_items_1.universalAddressItem },
|
|
21
21
|
];
|
|
@@ -44,5 +44,5 @@ exports.namedPayloads = [
|
|
|
44
44
|
])
|
|
45
45
|
]
|
|
46
46
|
];
|
|
47
|
-
(0, vaa_1.registerPayloadTypes)("
|
|
47
|
+
(0, vaa_1.registerPayloadTypes)("CCTP", exports.namedPayloads);
|
|
48
48
|
//# sourceMappingURL=connect.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connect.js","sourceRoot":"","sources":["../../../src/payloads/connect.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"connect.js","sourceRoot":"","sources":["../../../src/payloads/connect.ts"],"names":[],"mappings":";;;AACA,kDAMyB;AACzB,gCAAmF;AAEnF,MAAM,sBAAsB,GAAG;IAC7B,IAAA,4BAAa,EAAC,CAAC,CAAC;IAChB;QACE,IAAI,EAAE,OAAO;QACb,MAAM,EAAE,QAAQ;QAChB,MAAM,EAAE;YACN,EAAE,IAAI,EAAE,SAAS,EAAE,GAAG,mCAAoB,EAAE;YAC5C,EAAE,IAAI,EAAE,QAAQ,EAAE,GAAG,yBAAU,EAAE;SAClC;KACF;IACD,EAAE,IAAI,EAAE,cAAc,EAAE,GAAG,+BAAgB,EAAE;IAC7C,EAAE,IAAI,EAAE,cAAc,EAAE,GAAG,+BAAgB,EAAE;IAC7C,EAAE,IAAI,EAAE,OAAO,EAAE,GAAG,8BAAe,EAAE;IACrC,EAAE,IAAI,EAAE,QAAQ,EAAE,GAAG,mCAAoB,EAAE;IAC3C,EAAE,IAAI,EAAE,eAAe,EAAE,GAAG,mCAAoB,EAAE;CAC1C,CAAC;AAEX,oFAAoF;AACpF,2FAA2F;AAC3F,oBAAoB;AACb,MAAM,6BAA6B,GAAG,CAC3C,QAAW,EACX,MAAS,EACT,EAAE,CAAC;IACH,GAAG,sBAAsB;IACzB,EAAE,IAAI,EAAE,aAAa,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,IAAI,EAAE;IAC9E,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE;CACrC,CAAC;AAPE,QAAA,6BAA6B,iCAO/B;AAEJ,MAAM,uBAAuB,GAAG,CACrC,aAAgB,EAChB,EAAE,CAAC;IACH,GAAG,sBAAsB;IACzB,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,CAAC,EAAE,GAAG,aAAa,EAAC;CAC5D,CAAC;AALE,QAAA,uBAAuB,2BAKzB;AAEE,QAAA,aAAa,GAAG;IAC3B,CAAC,oBAAoB,EAAE,IAAA,+BAAuB,EAAC,EAAE,CAAC,CAAC;IACnD,CAAC,eAAe;QACd,IAAA,qCAA6B,EAC3B,CAAC,GAAC,CAAC,GAAC,EAAE,EACN;YACE,IAAA,4BAAa,EAAC,CAAC,CAAC;YAChB,EAAE,IAAI,EAAE,kBAAkB,EAAE,GAAG,yBAAU,EAAE;YAC3C,EAAE,IAAI,EAAE,qBAAqB,EAAE,GAAG,yBAAU,EAAE;YAC9C,EAAE,IAAI,EAAE,iBAAiB,EAAE,GAAG,mCAAoB,EAAE;SAC5C,CACX;KACF;CAC+B,CAAC;AAWnC,IAAA,0BAAoB,EAAC,MAAM,EAAE,qBAAa,CAAC,CAAC"}
|
|
@@ -3,7 +3,7 @@ declare const coreBridgePayloads: readonly [readonly ["UpgradeContract", readonl
|
|
|
3
3
|
readonly name: "protocol";
|
|
4
4
|
readonly binary: "bytes";
|
|
5
5
|
readonly custom: {
|
|
6
|
-
readonly to: "
|
|
6
|
+
readonly to: "CoreBridge";
|
|
7
7
|
readonly from: Uint8Array;
|
|
8
8
|
};
|
|
9
9
|
}, {
|
|
@@ -34,7 +34,7 @@ declare const coreBridgePayloads: readonly [readonly ["UpgradeContract", readonl
|
|
|
34
34
|
readonly name: "protocol";
|
|
35
35
|
readonly binary: "bytes";
|
|
36
36
|
readonly custom: {
|
|
37
|
-
readonly to: "
|
|
37
|
+
readonly to: "CoreBridge";
|
|
38
38
|
readonly from: Uint8Array;
|
|
39
39
|
};
|
|
40
40
|
}, {
|
|
@@ -61,16 +61,15 @@ declare const coreBridgePayloads: readonly [readonly ["UpgradeContract", readonl
|
|
|
61
61
|
readonly name: "guardians";
|
|
62
62
|
readonly binary: "array";
|
|
63
63
|
readonly lengthSize: 1;
|
|
64
|
-
readonly
|
|
65
|
-
readonly name: "address";
|
|
64
|
+
readonly arrayItem: {
|
|
66
65
|
readonly binary: "bytes";
|
|
67
66
|
readonly size: 20;
|
|
68
|
-
}
|
|
67
|
+
};
|
|
69
68
|
}]], readonly ["SetMessageFee", readonly [{
|
|
70
69
|
readonly name: "protocol";
|
|
71
70
|
readonly binary: "bytes";
|
|
72
71
|
readonly custom: {
|
|
73
|
-
readonly to: "
|
|
72
|
+
readonly to: "CoreBridge";
|
|
74
73
|
readonly from: Uint8Array;
|
|
75
74
|
};
|
|
76
75
|
}, {
|
|
@@ -97,7 +96,7 @@ declare const coreBridgePayloads: readonly [readonly ["UpgradeContract", readonl
|
|
|
97
96
|
readonly name: "protocol";
|
|
98
97
|
readonly binary: "bytes";
|
|
99
98
|
readonly custom: {
|
|
100
|
-
readonly to: "
|
|
99
|
+
readonly to: "CoreBridge";
|
|
101
100
|
readonly from: Uint8Array;
|
|
102
101
|
};
|
|
103
102
|
}, {
|
|
@@ -132,7 +131,7 @@ declare const coreBridgePayloads: readonly [readonly ["UpgradeContract", readonl
|
|
|
132
131
|
readonly name: "protocol";
|
|
133
132
|
readonly binary: "bytes";
|
|
134
133
|
readonly custom: {
|
|
135
|
-
readonly to: "
|
|
134
|
+
readonly to: "CoreBridge";
|
|
136
135
|
readonly from: Uint8Array;
|
|
137
136
|
};
|
|
138
137
|
}, {
|
|
@@ -482,7 +481,7 @@ declare const cctpPayloads: readonly [readonly ["UpdateFinality", readonly [{
|
|
|
482
481
|
readonly name: "protocol";
|
|
483
482
|
readonly binary: "bytes";
|
|
484
483
|
readonly custom: {
|
|
485
|
-
readonly to: "
|
|
484
|
+
readonly to: "CCTP";
|
|
486
485
|
readonly from: Uint8Array;
|
|
487
486
|
};
|
|
488
487
|
}, {
|
|
@@ -509,7 +508,7 @@ declare const cctpPayloads: readonly [readonly ["UpdateFinality", readonly [{
|
|
|
509
508
|
readonly name: "protocol";
|
|
510
509
|
readonly binary: "bytes";
|
|
511
510
|
readonly custom: {
|
|
512
|
-
readonly to: "
|
|
511
|
+
readonly to: "CCTP";
|
|
513
512
|
readonly from: Uint8Array;
|
|
514
513
|
};
|
|
515
514
|
}, {
|
|
@@ -552,7 +551,7 @@ declare const cctpPayloads: readonly [readonly ["UpdateFinality", readonly [{
|
|
|
552
551
|
readonly name: "protocol";
|
|
553
552
|
readonly binary: "bytes";
|
|
554
553
|
readonly custom: {
|
|
555
|
-
readonly to: "
|
|
554
|
+
readonly to: "CCTP";
|
|
556
555
|
readonly from: Uint8Array;
|
|
557
556
|
};
|
|
558
557
|
}, {
|
|
@@ -582,7 +581,7 @@ declare const cctpPayloads: readonly [readonly ["UpdateFinality", readonly [{
|
|
|
582
581
|
}]]];
|
|
583
582
|
declare global {
|
|
584
583
|
namespace Wormhole {
|
|
585
|
-
interface PayloadLiteralToLayoutMapping extends RegisterPayloadTypes<"
|
|
584
|
+
interface PayloadLiteralToLayoutMapping extends RegisterPayloadTypes<"CoreBridge", typeof coreBridgePayloads>, RegisterPayloadTypes<"TokenBridge", typeof tokenBridgePayloads>, RegisterPayloadTypes<"NftBridge", typeof nftBridgePayloads>, RegisterPayloadTypes<"Relayer", typeof relayerPayloads>, RegisterPayloadTypes<"CCTP", typeof cctpPayloads> {
|
|
586
585
|
}
|
|
587
586
|
}
|
|
588
587
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"governance.d.ts","sourceRoot":"","sources":["../../../src/payloads/governance.ts"],"names":[],"mappings":"AAeA,OAAO,EAAiB,oBAAoB,EAAwB,MAAM,QAAQ,CAAC;
|
|
1
|
+
{"version":3,"file":"governance.d.ts","sourceRoot":"","sources":["../../../src/payloads/governance.ts"],"names":[],"mappings":"AAeA,OAAO,EAAiB,oBAAoB,EAAwB,MAAM,QAAQ,CAAC;AA6LnF,QAAA,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAOU,CAAC;AAEnC,QAAA,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAKS,CAAC;AAEnC,QAAA,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAKW,CAAC;AAEnC,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAKa,CAAC;AAEnC,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAKgB,CAAC;AAInC,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,QAAQ,CAAC;QACjB,UAAU,6BAA8B,SACtC,oBAAoB,CAAC,YAAY,EAAE,OAAO,kBAAkB,CAAC,EAC7D,oBAAoB,CAAC,aAAa,EAAE,OAAO,mBAAmB,CAAC,EAC/D,oBAAoB,CAAC,WAAW,EAAE,OAAO,iBAAiB,CAAC,EAC3D,oBAAoB,CAAC,SAAS,EAAE,OAAO,eAAe,CAAC,EACvD,oBAAoB,CAAC,MAAM,EAAE,OAAO,YAAY,CAAC;SACjD;KACH;CACF"}
|
|
@@ -57,9 +57,7 @@ const actionTuples = [
|
|
|
57
57
|
name: "guardians",
|
|
58
58
|
binary: "array",
|
|
59
59
|
lengthSize: 1,
|
|
60
|
-
|
|
61
|
-
{ name: "address", binary: "bytes", size: 20 }, //TODO better (custom) type?
|
|
62
|
-
],
|
|
60
|
+
arrayItem: { binary: "bytes", size: 20 }, //TODO better (custom) type?
|
|
63
61
|
},
|
|
64
62
|
],
|
|
65
63
|
},
|
|
@@ -110,13 +108,11 @@ const actionTuples = [
|
|
|
110
108
|
const actions = (0, sdk_base_1.column)(actionTuples, 0);
|
|
111
109
|
const actionMapping = (0, sdk_base_1.constMap)(actionTuples);
|
|
112
110
|
const sdkProtocolNameAndGovernanceVaaModuleEntries = [
|
|
113
|
-
["
|
|
111
|
+
["CoreBridge", "Core"],
|
|
114
112
|
["TokenBridge", "TokenBridge"],
|
|
115
|
-
["AutomaticTokenBridge", "TokenBridge"],
|
|
116
113
|
["NftBridge", "NFTBridge"],
|
|
117
114
|
["Relayer", "WormholeRelayer"],
|
|
118
|
-
["
|
|
119
|
-
["AutomaticCircleBridge", "CircleIntegration"],
|
|
115
|
+
["CCTP", "CircleIntegration"],
|
|
120
116
|
];
|
|
121
117
|
const sdkProtocolNameToGovernanceVaaModuleMapping = (0, sdk_base_1.constMap)(sdkProtocolNameAndGovernanceVaaModuleEntries);
|
|
122
118
|
const protocolConversion = (protocol) => ({
|
|
@@ -159,11 +155,11 @@ const governancePayload = (protocol, action, num) => [
|
|
|
159
155
|
];
|
|
160
156
|
const coreBridgePayloads = [
|
|
161
157
|
//see wormhole ethereum/contracts/GovernanceStructs.sol
|
|
162
|
-
governancePayload("
|
|
163
|
-
governancePayload("
|
|
164
|
-
governancePayload("
|
|
165
|
-
governancePayload("
|
|
166
|
-
governancePayload("
|
|
158
|
+
governancePayload("CoreBridge", "UpgradeContract", 1),
|
|
159
|
+
governancePayload("CoreBridge", "GuardianSetUpgrade", 2),
|
|
160
|
+
governancePayload("CoreBridge", "SetMessageFee", 3),
|
|
161
|
+
governancePayload("CoreBridge", "TransferFees", 4),
|
|
162
|
+
governancePayload("CoreBridge", "RecoverChainId", 5),
|
|
167
163
|
];
|
|
168
164
|
const tokenBridgePayloads = [
|
|
169
165
|
//see wormhole ethereum/contracts/bridge/BridgeGovernance.sol
|
|
@@ -185,13 +181,13 @@ const relayerPayloads = [
|
|
|
185
181
|
];
|
|
186
182
|
const cctpPayloads = [
|
|
187
183
|
//see wormhole-circle-integration evm/src/circle_integration/CircleIntegrationGovernance.sol
|
|
188
|
-
governancePayload("
|
|
189
|
-
governancePayload("
|
|
190
|
-
governancePayload("
|
|
184
|
+
governancePayload("CCTP", "UpdateFinality", 1),
|
|
185
|
+
governancePayload("CCTP", "RegisterEmitterAndDomain", 2),
|
|
186
|
+
governancePayload("CCTP", "UpgradeContract", 3),
|
|
191
187
|
];
|
|
192
|
-
(0, vaa_1.registerPayloadTypes)("
|
|
188
|
+
(0, vaa_1.registerPayloadTypes)("CoreBridge", coreBridgePayloads);
|
|
193
189
|
(0, vaa_1.registerPayloadTypes)("TokenBridge", tokenBridgePayloads);
|
|
194
190
|
(0, vaa_1.registerPayloadTypes)("NftBridge", nftBridgePayloads);
|
|
195
191
|
(0, vaa_1.registerPayloadTypes)("Relayer", relayerPayloads);
|
|
196
|
-
(0, vaa_1.registerPayloadTypes)("
|
|
192
|
+
(0, vaa_1.registerPayloadTypes)("CCTP", cctpPayloads);
|
|
197
193
|
//# sourceMappingURL=governance.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"governance.js","sourceRoot":"","sources":["../../../src/payloads/governance.ts"],"names":[],"mappings":";;AAAA,4DAQuC;AAEvC,kDAIyB;AACzB,gCAAmF;AAEnF,6FAA6F;AAC7F,0FAA0F;AAC1F,iGAAiG;AACjG,qEAAqE;AACrE,kGAAkG;AAClG,MAAM,YAAY,GAAG;IACnB;QACE,iBAAiB;QACjB;YACE,SAAS,EAAE,KAAK;YAChB,MAAM,EAAE,CAAC,EAAE,IAAI,EAAE,aAAa,EAAE,GAAG,mCAAoB,EAAE,CAAC;SAC3D;KACF;IACD;QACE,eAAe;QACf;YACE,SAAS,EAAE,IAAI;YACf,MAAM,EAAE;gBACN,EAAE,IAAI,EAAE,cAAc,EAAE,GAAG,IAAA,wBAAS,GAAE,EAAE;gBACxC,EAAE,IAAI,EAAE,gBAAgB,EAAE,GAAG,mCAAoB,EAAE;aACpD;SACF;KACF;IACD,2CAA2C;IAC3C,kGAAkG;IAClG,gGAAgG;IAChG,kGAAkG;IAClG,4FAA4F;IAC5F,aAAa;IACb;QACE,gBAAgB;QAChB;YACE,gFAAgF;YAChF,6FAA6F;YAC7F,SAAS,EAAE,KAAK;YAChB,MAAM,EAAE;gBACN,EAAE,IAAI,EAAE,YAAY,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,EAAE,EAAE;gBAChD;oBACE,IAAI,EAAE,YAAY;oBAClB,GAAG,IAAA,wBAAS,EAAC,EAAE,aAAa,EAAE,IAAA,2BAAgB,EAAC,KAAK,CAAC,EAAE,CAAC;iBACzD;aACF;SACF;KACF;IACD;QACE,oBAAoB;QACpB;YACE,SAAS,EAAE,IAAI;YACf,MAAM,EAAE;gBACN,EAAE,IAAI,EAAE,aAAa,EAAE,GAAG,8BAAe,EAAE;gBAC3C;oBACE,IAAI,EAAE,WAAW;oBACjB,MAAM,EAAE,OAAO;oBACf,UAAU,EAAE,CAAC;oBACb,
|
|
1
|
+
{"version":3,"file":"governance.js","sourceRoot":"","sources":["../../../src/payloads/governance.ts"],"names":[],"mappings":";;AAAA,4DAQuC;AAEvC,kDAIyB;AACzB,gCAAmF;AAEnF,6FAA6F;AAC7F,0FAA0F;AAC1F,iGAAiG;AACjG,qEAAqE;AACrE,kGAAkG;AAClG,MAAM,YAAY,GAAG;IACnB;QACE,iBAAiB;QACjB;YACE,SAAS,EAAE,KAAK;YAChB,MAAM,EAAE,CAAC,EAAE,IAAI,EAAE,aAAa,EAAE,GAAG,mCAAoB,EAAE,CAAC;SAC3D;KACF;IACD;QACE,eAAe;QACf;YACE,SAAS,EAAE,IAAI;YACf,MAAM,EAAE;gBACN,EAAE,IAAI,EAAE,cAAc,EAAE,GAAG,IAAA,wBAAS,GAAE,EAAE;gBACxC,EAAE,IAAI,EAAE,gBAAgB,EAAE,GAAG,mCAAoB,EAAE;aACpD;SACF;KACF;IACD,2CAA2C;IAC3C,kGAAkG;IAClG,gGAAgG;IAChG,kGAAkG;IAClG,4FAA4F;IAC5F,aAAa;IACb;QACE,gBAAgB;QAChB;YACE,gFAAgF;YAChF,6FAA6F;YAC7F,SAAS,EAAE,KAAK;YAChB,MAAM,EAAE;gBACN,EAAE,IAAI,EAAE,YAAY,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,EAAE,EAAE;gBAChD;oBACE,IAAI,EAAE,YAAY;oBAClB,GAAG,IAAA,wBAAS,EAAC,EAAE,aAAa,EAAE,IAAA,2BAAgB,EAAC,KAAK,CAAC,EAAE,CAAC;iBACzD;aACF;SACF;KACF;IACD;QACE,oBAAoB;QACpB;YACE,SAAS,EAAE,IAAI;YACf,MAAM,EAAE;gBACN,EAAE,IAAI,EAAE,aAAa,EAAE,GAAG,8BAAe,EAAE;gBAC3C;oBACE,IAAI,EAAE,WAAW;oBACjB,MAAM,EAAE,OAAO;oBACf,UAAU,EAAE,CAAC;oBACb,SAAS,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,IA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