@wormhole-foundation/sdk-definitions 4.22.0-beta.0 → 5.0.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/package.json +15 -47
- package/dist/cjs/address.d.ts +0 -53
- package/dist/cjs/address.d.ts.map +0 -1
- package/dist/cjs/address.js +0 -66
- package/dist/cjs/address.js.map +0 -1
- package/dist/cjs/attestation.d.ts +0 -53
- package/dist/cjs/attestation.d.ts.map +0 -1
- package/dist/cjs/attestation.js +0 -23
- package/dist/cjs/attestation.js.map +0 -1
- package/dist/cjs/chain.d.ts +0 -217
- package/dist/cjs/chain.d.ts.map +0 -1
- package/dist/cjs/chain.js +0 -301
- package/dist/cjs/chain.js.map +0 -1
- package/dist/cjs/contracts.d.ts +0 -31
- package/dist/cjs/contracts.d.ts.map +0 -1
- package/dist/cjs/contracts.js +0 -46
- package/dist/cjs/contracts.js.map +0 -1
- package/dist/cjs/index.d.ts +0 -18
- package/dist/cjs/index.d.ts.map +0 -1
- package/dist/cjs/index.js +0 -47
- package/dist/cjs/index.js.map +0 -1
- package/dist/cjs/layout-items/amount.d.ts +0 -5
- package/dist/cjs/layout-items/amount.d.ts.map +0 -1
- package/dist/cjs/layout-items/amount.js +0 -8
- package/dist/cjs/layout-items/amount.js.map +0 -1
- package/dist/cjs/layout-items/boolean.d.ts +0 -9
- package/dist/cjs/layout-items/boolean.d.ts.map +0 -1
- package/dist/cjs/layout-items/boolean.js +0 -12
- package/dist/cjs/layout-items/boolean.js.map +0 -1
- package/dist/cjs/layout-items/chain.d.ts +0 -85
- package/dist/cjs/layout-items/chain.d.ts.map +0 -1
- package/dist/cjs/layout-items/chain.js +0 -33
- package/dist/cjs/layout-items/chain.js.map +0 -1
- package/dist/cjs/layout-items/circle.d.ts +0 -9
- package/dist/cjs/layout-items/circle.d.ts.map +0 -1
- package/dist/cjs/layout-items/circle.js +0 -12
- package/dist/cjs/layout-items/circle.js.map +0 -1
- package/dist/cjs/layout-items/date.d.ts +0 -5
- package/dist/cjs/layout-items/date.d.ts.map +0 -1
- package/dist/cjs/layout-items/date.js +0 -8
- package/dist/cjs/layout-items/date.js.map +0 -1
- package/dist/cjs/layout-items/guardianSet.d.ts +0 -5
- package/dist/cjs/layout-items/guardianSet.d.ts.map +0 -1
- package/dist/cjs/layout-items/guardianSet.js +0 -8
- package/dist/cjs/layout-items/guardianSet.js.map +0 -1
- package/dist/cjs/layout-items/index.d.ts +0 -12
- package/dist/cjs/layout-items/index.d.ts.map +0 -1
- package/dist/cjs/layout-items/index.js +0 -28
- package/dist/cjs/layout-items/index.js.map +0 -1
- package/dist/cjs/layout-items/payloadId.d.ts +0 -8
- package/dist/cjs/layout-items/payloadId.d.ts.map +0 -1
- package/dist/cjs/layout-items/payloadId.js +0 -12
- package/dist/cjs/layout-items/payloadId.js.map +0 -1
- package/dist/cjs/layout-items/sequence.d.ts +0 -5
- package/dist/cjs/layout-items/sequence.d.ts.map +0 -1
- package/dist/cjs/layout-items/sequence.js +0 -8
- package/dist/cjs/layout-items/sequence.js.map +0 -1
- package/dist/cjs/layout-items/signature.d.ts +0 -41
- package/dist/cjs/layout-items/signature.d.ts.map +0 -1
- package/dist/cjs/layout-items/signature.js +0 -18
- package/dist/cjs/layout-items/signature.js.map +0 -1
- package/dist/cjs/layout-items/string.d.ts +0 -13
- package/dist/cjs/layout-items/string.d.ts.map +0 -1
- package/dist/cjs/layout-items/string.js +0 -22
- package/dist/cjs/layout-items/string.js.map +0 -1
- package/dist/cjs/layout-items/universalAddress.d.ts +0 -10
- package/dist/cjs/layout-items/universalAddress.d.ts.map +0 -1
- package/dist/cjs/layout-items/universalAddress.js +0 -13
- package/dist/cjs/layout-items/universalAddress.js.map +0 -1
- package/dist/cjs/package.json +0 -1
- package/dist/cjs/platform.d.ts +0 -70
- package/dist/cjs/platform.d.ts.map +0 -1
- package/dist/cjs/platform.js +0 -38
- package/dist/cjs/platform.js.map +0 -1
- package/dist/cjs/protocol.d.ts +0 -44
- package/dist/cjs/protocol.d.ts.map +0 -1
- package/dist/cjs/protocol.js +0 -50
- package/dist/cjs/protocol.js.map +0 -1
- package/dist/cjs/protocols/circleBridge/automaticCircleBridgeLayout.d.ts +0 -216
- package/dist/cjs/protocols/circleBridge/automaticCircleBridgeLayout.d.ts.map +0 -1
- package/dist/cjs/protocols/circleBridge/automaticCircleBridgeLayout.js +0 -41
- package/dist/cjs/protocols/circleBridge/automaticCircleBridgeLayout.js.map +0 -1
- package/dist/cjs/protocols/circleBridge/circleBridge.d.ts +0 -134
- package/dist/cjs/protocols/circleBridge/circleBridge.d.ts.map +0 -1
- package/dist/cjs/protocols/circleBridge/circleBridge.js +0 -38
- package/dist/cjs/protocols/circleBridge/circleBridge.js.map +0 -1
- package/dist/cjs/protocols/circleBridge/circleBridgeLayout.d.ts +0 -172
- package/dist/cjs/protocols/circleBridge/circleBridgeLayout.d.ts.map +0 -1
- package/dist/cjs/protocols/circleBridge/circleBridgeLayout.js +0 -38
- package/dist/cjs/protocols/circleBridge/circleBridgeLayout.js.map +0 -1
- package/dist/cjs/protocols/circleBridge/index.d.ts +0 -5
- package/dist/cjs/protocols/circleBridge/index.d.ts.map +0 -1
- package/dist/cjs/protocols/circleBridge/index.js +0 -20
- package/dist/cjs/protocols/circleBridge/index.js.map +0 -1
- package/dist/cjs/protocols/core/core.d.ts +0 -75
- package/dist/cjs/protocols/core/core.d.ts.map +0 -1
- package/dist/cjs/protocols/core/core.js +0 -4
- package/dist/cjs/protocols/core/core.js.map +0 -1
- package/dist/cjs/protocols/core/index.d.ts +0 -3
- package/dist/cjs/protocols/core/index.d.ts.map +0 -1
- package/dist/cjs/protocols/core/index.js +0 -18
- package/dist/cjs/protocols/core/index.js.map +0 -1
- package/dist/cjs/protocols/executor/api.d.ts +0 -67
- package/dist/cjs/protocols/executor/api.d.ts.map +0 -1
- package/dist/cjs/protocols/executor/api.js +0 -88
- package/dist/cjs/protocols/executor/api.js.map +0 -1
- package/dist/cjs/protocols/executor/index.d.ts +0 -4
- package/dist/cjs/protocols/executor/index.d.ts.map +0 -1
- package/dist/cjs/protocols/executor/index.js +0 -20
- package/dist/cjs/protocols/executor/index.js.map +0 -1
- package/dist/cjs/protocols/executor/relayInstruction.d.ts +0 -124
- package/dist/cjs/protocols/executor/relayInstruction.d.ts.map +0 -1
- package/dist/cjs/protocols/executor/relayInstruction.js +0 -38
- package/dist/cjs/protocols/executor/relayInstruction.js.map +0 -1
- package/dist/cjs/protocols/executor/signedQuote.d.ts +0 -102
- package/dist/cjs/protocols/executor/signedQuote.d.ts.map +0 -1
- package/dist/cjs/protocols/executor/signedQuote.js +0 -46
- package/dist/cjs/protocols/executor/signedQuote.js.map +0 -1
- package/dist/cjs/protocols/governance/gateway.d.ts +0 -16
- package/dist/cjs/protocols/governance/gateway.d.ts.map +0 -1
- package/dist/cjs/protocols/governance/gateway.js +0 -4
- package/dist/cjs/protocols/governance/gateway.js.map +0 -1
- package/dist/cjs/protocols/governance/generalPurpose.d.ts +0 -16
- package/dist/cjs/protocols/governance/generalPurpose.d.ts.map +0 -1
- package/dist/cjs/protocols/governance/generalPurpose.js +0 -4
- package/dist/cjs/protocols/governance/generalPurpose.js.map +0 -1
- package/dist/cjs/protocols/governance/globalAccountant.d.ts +0 -17
- package/dist/cjs/protocols/governance/globalAccountant.d.ts.map +0 -1
- package/dist/cjs/protocols/governance/globalAccountant.js +0 -10
- package/dist/cjs/protocols/governance/globalAccountant.js.map +0 -1
- package/dist/cjs/protocols/governance/ibcReceiver.d.ts +0 -16
- package/dist/cjs/protocols/governance/ibcReceiver.d.ts.map +0 -1
- package/dist/cjs/protocols/governance/ibcReceiver.js +0 -4
- package/dist/cjs/protocols/governance/ibcReceiver.js.map +0 -1
- package/dist/cjs/protocols/governance/index.d.ts +0 -7
- package/dist/cjs/protocols/governance/index.d.ts.map +0 -1
- package/dist/cjs/protocols/governance/index.js +0 -18
- package/dist/cjs/protocols/governance/index.js.map +0 -1
- package/dist/cjs/protocols/governance/layout.d.ts +0 -1187
- package/dist/cjs/protocols/governance/layout.d.ts.map +0 -1
- package/dist/cjs/protocols/governance/layout.js +0 -253
- package/dist/cjs/protocols/governance/layout.js.map +0 -1
- package/dist/cjs/protocols/governance/wormchainGovernance.d.ts +0 -16
- package/dist/cjs/protocols/governance/wormchainGovernance.d.ts.map +0 -1
- package/dist/cjs/protocols/governance/wormchainGovernance.js +0 -4
- package/dist/cjs/protocols/governance/wormchainGovernance.js.map +0 -1
- package/dist/cjs/protocols/ibc/ibc.d.ts +0 -97
- package/dist/cjs/protocols/ibc/ibc.d.ts.map +0 -1
- package/dist/cjs/protocols/ibc/ibc.js +0 -79
- package/dist/cjs/protocols/ibc/ibc.js.map +0 -1
- package/dist/cjs/protocols/ibc/index.d.ts +0 -3
- package/dist/cjs/protocols/ibc/index.d.ts.map +0 -1
- package/dist/cjs/protocols/ibc/index.js +0 -18
- package/dist/cjs/protocols/ibc/index.js.map +0 -1
- package/dist/cjs/protocols/index.d.ts +0 -10
- package/dist/cjs/protocols/index.d.ts.map +0 -1
- package/dist/cjs/protocols/index.js +0 -26
- package/dist/cjs/protocols/index.js.map +0 -1
- package/dist/cjs/protocols/nftBridge/index.d.ts +0 -2
- package/dist/cjs/protocols/nftBridge/index.d.ts.map +0 -1
- package/dist/cjs/protocols/nftBridge/index.js +0 -18
- package/dist/cjs/protocols/nftBridge/index.js.map +0 -1
- package/dist/cjs/protocols/nftBridge/nftBridge.d.ts +0 -13
- package/dist/cjs/protocols/nftBridge/nftBridge.d.ts.map +0 -1
- package/dist/cjs/protocols/nftBridge/nftBridge.js +0 -4
- package/dist/cjs/protocols/nftBridge/nftBridge.js.map +0 -1
- package/dist/cjs/protocols/portico/index.d.ts +0 -3
- package/dist/cjs/protocols/portico/index.d.ts.map +0 -1
- package/dist/cjs/protocols/portico/index.js +0 -19
- package/dist/cjs/protocols/portico/index.js.map +0 -1
- package/dist/cjs/protocols/portico/portico.d.ts +0 -71
- package/dist/cjs/protocols/portico/portico.d.ts.map +0 -1
- package/dist/cjs/protocols/portico/portico.js +0 -25
- package/dist/cjs/protocols/portico/portico.js.map +0 -1
- package/dist/cjs/protocols/portico/porticoLayout.d.ts +0 -321
- package/dist/cjs/protocols/portico/porticoLayout.d.ts.map +0 -1
- package/dist/cjs/protocols/portico/porticoLayout.js +0 -44
- package/dist/cjs/protocols/portico/porticoLayout.js.map +0 -1
- package/dist/cjs/protocols/relayer/index.d.ts +0 -3
- package/dist/cjs/protocols/relayer/index.d.ts.map +0 -1
- package/dist/cjs/protocols/relayer/index.js +0 -18
- package/dist/cjs/protocols/relayer/index.js.map +0 -1
- package/dist/cjs/protocols/relayer/relayer.d.ts +0 -22
- package/dist/cjs/protocols/relayer/relayer.d.ts.map +0 -1
- package/dist/cjs/protocols/relayer/relayer.js +0 -4
- package/dist/cjs/protocols/relayer/relayer.js.map +0 -1
- package/dist/cjs/protocols/relayer/relayerLayout.d.ts +0 -430
- package/dist/cjs/protocols/relayer/relayerLayout.d.ts.map +0 -1
- package/dist/cjs/protocols/relayer/relayerLayout.js +0 -75
- package/dist/cjs/protocols/relayer/relayerLayout.js.map +0 -1
- package/dist/cjs/protocols/tbtc/index.d.ts +0 -3
- package/dist/cjs/protocols/tbtc/index.d.ts.map +0 -1
- package/dist/cjs/protocols/tbtc/index.js +0 -19
- package/dist/cjs/protocols/tbtc/index.js.map +0 -1
- package/dist/cjs/protocols/tbtc/tbtc.d.ts +0 -35
- package/dist/cjs/protocols/tbtc/tbtc.d.ts.map +0 -1
- package/dist/cjs/protocols/tbtc/tbtc.js +0 -24
- package/dist/cjs/protocols/tbtc/tbtc.js.map +0 -1
- package/dist/cjs/protocols/tbtc/tbtcLayout.d.ts +0 -142
- package/dist/cjs/protocols/tbtc/tbtcLayout.d.ts.map +0 -1
- package/dist/cjs/protocols/tbtc/tbtcLayout.js +0 -20
- package/dist/cjs/protocols/tbtc/tbtcLayout.js.map +0 -1
- package/dist/cjs/protocols/tokenBridge/automaticTokenBridgeLayout.d.ts +0 -115
- package/dist/cjs/protocols/tokenBridge/automaticTokenBridgeLayout.d.ts.map +0 -1
- package/dist/cjs/protocols/tokenBridge/automaticTokenBridgeLayout.js +0 -21
- package/dist/cjs/protocols/tokenBridge/automaticTokenBridgeLayout.js.map +0 -1
- package/dist/cjs/protocols/tokenBridge/executorTokenBridgeLayout.d.ts +0 -87
- package/dist/cjs/protocols/tokenBridge/executorTokenBridgeLayout.d.ts.map +0 -1
- package/dist/cjs/protocols/tokenBridge/executorTokenBridgeLayout.js +0 -14
- package/dist/cjs/protocols/tokenBridge/executorTokenBridgeLayout.js.map +0 -1
- package/dist/cjs/protocols/tokenBridge/index.d.ts +0 -6
- package/dist/cjs/protocols/tokenBridge/index.d.ts.map +0 -1
- package/dist/cjs/protocols/tokenBridge/index.js +0 -21
- package/dist/cjs/protocols/tokenBridge/index.js.map +0 -1
- package/dist/cjs/protocols/tokenBridge/tokenBridge.d.ts +0 -235
- package/dist/cjs/protocols/tokenBridge/tokenBridge.d.ts.map +0 -1
- package/dist/cjs/protocols/tokenBridge/tokenBridge.js +0 -39
- package/dist/cjs/protocols/tokenBridge/tokenBridge.js.map +0 -1
- package/dist/cjs/protocols/tokenBridge/tokenBridgeLayout.d.ts +0 -286
- package/dist/cjs/protocols/tokenBridge/tokenBridgeLayout.d.ts.map +0 -1
- package/dist/cjs/protocols/tokenBridge/tokenBridgeLayout.js +0 -70
- package/dist/cjs/protocols/tokenBridge/tokenBridgeLayout.js.map +0 -1
- package/dist/cjs/registry.d.ts +0 -20
- package/dist/cjs/registry.d.ts.map +0 -1
- package/dist/cjs/registry.js +0 -3
- package/dist/cjs/registry.js.map +0 -1
- package/dist/cjs/rpc.d.ts +0 -4
- package/dist/cjs/rpc.d.ts.map +0 -1
- package/dist/cjs/rpc.js +0 -3
- package/dist/cjs/rpc.js.map +0 -1
- package/dist/cjs/signature.d.ts +0 -16
- package/dist/cjs/signature.d.ts.map +0 -1
- package/dist/cjs/signature.js +0 -52
- package/dist/cjs/signature.js.map +0 -1
- package/dist/cjs/signer.d.ts +0 -53
- package/dist/cjs/signer.d.ts.map +0 -1
- package/dist/cjs/signer.js +0 -51
- package/dist/cjs/signer.js.map +0 -1
- package/dist/cjs/testing/index.d.ts +0 -3
- package/dist/cjs/testing/index.d.ts.map +0 -1
- package/dist/cjs/testing/index.js +0 -29
- package/dist/cjs/testing/index.js.map +0 -1
- package/dist/cjs/testing/mocks/api.d.ts +0 -7
- package/dist/cjs/testing/mocks/api.d.ts.map +0 -1
- package/dist/cjs/testing/mocks/api.js +0 -14
- package/dist/cjs/testing/mocks/api.js.map +0 -1
- package/dist/cjs/testing/mocks/chain.d.ts +0 -8
- package/dist/cjs/testing/mocks/chain.d.ts.map +0 -1
- package/dist/cjs/testing/mocks/chain.js +0 -15
- package/dist/cjs/testing/mocks/chain.js.map +0 -1
- package/dist/cjs/testing/mocks/guardian.d.ts +0 -25
- package/dist/cjs/testing/mocks/guardian.d.ts.map +0 -1
- package/dist/cjs/testing/mocks/guardian.js +0 -77
- package/dist/cjs/testing/mocks/guardian.js.map +0 -1
- package/dist/cjs/testing/mocks/index.d.ts +0 -6
- package/dist/cjs/testing/mocks/index.d.ts.map +0 -1
- package/dist/cjs/testing/mocks/index.js +0 -22
- package/dist/cjs/testing/mocks/index.js.map +0 -1
- package/dist/cjs/testing/mocks/platform.d.ts +0 -15
- package/dist/cjs/testing/mocks/platform.d.ts.map +0 -1
- package/dist/cjs/testing/mocks/platform.js +0 -98
- package/dist/cjs/testing/mocks/platform.js.map +0 -1
- package/dist/cjs/testing/mocks/rpc.d.ts +0 -7
- package/dist/cjs/testing/mocks/rpc.d.ts.map +0 -1
- package/dist/cjs/testing/mocks/rpc.js +0 -14
- package/dist/cjs/testing/mocks/rpc.js.map +0 -1
- package/dist/cjs/testing/mocks/tokenBridge.d.ts +0 -19
- package/dist/cjs/testing/mocks/tokenBridge.d.ts.map +0 -1
- package/dist/cjs/testing/mocks/tokenBridge.js +0 -47
- package/dist/cjs/testing/mocks/tokenBridge.js.map +0 -1
- package/dist/cjs/testing/utils/address.d.ts +0 -9
- package/dist/cjs/testing/utils/address.d.ts.map +0 -1
- package/dist/cjs/testing/utils/address.js +0 -65
- package/dist/cjs/testing/utils/address.js.map +0 -1
- package/dist/cjs/testing/utils/index.d.ts +0 -3
- package/dist/cjs/testing/utils/index.d.ts.map +0 -1
- package/dist/cjs/testing/utils/index.js +0 -25
- package/dist/cjs/testing/utils/index.js.map +0 -1
- package/dist/cjs/testing/utils/vaa.d.ts +0 -10
- package/dist/cjs/testing/utils/vaa.d.ts.map +0 -1
- package/dist/cjs/testing/utils/vaa.js +0 -16
- package/dist/cjs/testing/utils/vaa.js.map +0 -1
- package/dist/cjs/types.d.ts +0 -94
- package/dist/cjs/types.d.ts.map +0 -1
- package/dist/cjs/types.js +0 -125
- package/dist/cjs/types.js.map +0 -1
- package/dist/cjs/universalAddress.d.ts +0 -24
- package/dist/cjs/universalAddress.d.ts.map +0 -1
- package/dist/cjs/universalAddress.js +0 -79
- package/dist/cjs/universalAddress.js.map +0 -1
- package/dist/cjs/unsignedTransaction.d.ts +0 -13
- package/dist/cjs/unsignedTransaction.d.ts.map +0 -1
- package/dist/cjs/unsignedTransaction.js +0 -3
- package/dist/cjs/unsignedTransaction.js.map +0 -1
- package/dist/cjs/utils.d.ts +0 -7
- package/dist/cjs/utils.d.ts.map +0 -1
- package/dist/cjs/utils.js +0 -15
- package/dist/cjs/utils.js.map +0 -1
- package/dist/cjs/vaa/create.d.ts +0 -15
- package/dist/cjs/vaa/create.d.ts.map +0 -1
- package/dist/cjs/vaa/create.js +0 -34
- package/dist/cjs/vaa/create.js.map +0 -1
- package/dist/cjs/vaa/functions.d.ts +0 -98
- package/dist/cjs/vaa/functions.d.ts.map +0 -1
- package/dist/cjs/vaa/functions.js +0 -225
- package/dist/cjs/vaa/functions.js.map +0 -1
- package/dist/cjs/vaa/index.d.ts +0 -5
- package/dist/cjs/vaa/index.d.ts.map +0 -1
- package/dist/cjs/vaa/index.js +0 -21
- package/dist/cjs/vaa/index.js.map +0 -1
- package/dist/cjs/vaa/registration.d.ts +0 -19
- package/dist/cjs/vaa/registration.d.ts.map +0 -1
- package/dist/cjs/vaa/registration.js +0 -19
- package/dist/cjs/vaa/registration.js.map +0 -1
- package/dist/cjs/vaa/vaa.d.ts +0 -190
- package/dist/cjs/vaa/vaa.d.ts.map +0 -1
- package/dist/cjs/vaa/vaa.js +0 -31
- package/dist/cjs/vaa/vaa.js.map +0 -1
|
@@ -1,235 +0,0 @@
|
|
|
1
|
-
import type { Chain, Network } from "@wormhole-foundation/sdk-base";
|
|
2
|
-
import type { AccountAddress, ChainAddress, NativeAddress } from "../../address.js";
|
|
3
|
-
import type { UniversalAddress } from "../../universalAddress.js";
|
|
4
|
-
import type { TokenAddress, TokenId } from "../../types.js";
|
|
5
|
-
import type { UnsignedTransaction } from "../../unsignedTransaction.js";
|
|
6
|
-
import type { ProtocolPayload, ProtocolVAA } from "./../../vaa/index.js";
|
|
7
|
-
import "./automaticTokenBridgeLayout.js";
|
|
8
|
-
import "./tokenBridgeLayout.js";
|
|
9
|
-
import { type SignedQuote } from "../executor/signedQuote.js";
|
|
10
|
-
import { type RelayInstructions } from "../executor/relayInstruction.js";
|
|
11
|
-
export declare const ErrNotWrapped: (token: string) => Error;
|
|
12
|
-
import type { EmptyPlatformMap } from "../../protocol.js";
|
|
13
|
-
import "../../registry.js";
|
|
14
|
-
declare module "../../registry.js" {
|
|
15
|
-
namespace WormholeRegistry {
|
|
16
|
-
interface ProtocolToInterfaceMapping<N, C> {
|
|
17
|
-
TokenBridge: TokenBridge<N, C>;
|
|
18
|
-
AutomaticTokenBridge: AutomaticTokenBridge<N, C>;
|
|
19
|
-
ExecutorTokenBridge: ExecutorTokenBridge<N, C>;
|
|
20
|
-
}
|
|
21
|
-
interface ProtocolToPlatformMapping {
|
|
22
|
-
TokenBridge: EmptyPlatformMap<"TokenBridge">;
|
|
23
|
-
AutomaticTokenBridge: EmptyPlatformMap<"AutomaticTokenBridge">;
|
|
24
|
-
ExecutorTokenBridge: EmptyPlatformMap<"ExecutorTokenBridge">;
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
/**
|
|
29
|
-
* @namespace TokenBridge
|
|
30
|
-
*/
|
|
31
|
-
export declare namespace TokenBridge {
|
|
32
|
-
const _protocol = "TokenBridge";
|
|
33
|
-
/** The compile time type of the TokenBridge protocol */
|
|
34
|
-
export type ProtocolName = typeof _protocol;
|
|
35
|
-
const _transferPayloads: readonly ["Transfer", "TransferWithPayload"];
|
|
36
|
-
const _attestPayloads: readonly ["AttestMeta"];
|
|
37
|
-
const _payloads: readonly ["Transfer", "TransferWithPayload", "AttestMeta"];
|
|
38
|
-
export type TransferPayloadNames = (typeof _transferPayloads)[number];
|
|
39
|
-
export type AttestPayloadNames = (typeof _attestPayloads)[number];
|
|
40
|
-
export type PayloadNames = (typeof _payloads)[number];
|
|
41
|
-
export type TransferVAA<PayloadName extends TransferPayloadNames = TransferPayloadNames> = ProtocolVAA<ProtocolName, PayloadName>;
|
|
42
|
-
export type AttestVAA<PayloadName extends AttestPayloadNames = AttestPayloadNames> = ProtocolVAA<ProtocolName, PayloadName>;
|
|
43
|
-
/** The VAAs emitted from the TokenBridge protocol */
|
|
44
|
-
export type VAA<PayloadName extends PayloadNames = PayloadNames> = ProtocolVAA<ProtocolName, PayloadName>;
|
|
45
|
-
export type TransferPayload<PayloadName extends TransferPayloadNames = TransferPayloadNames> = ProtocolPayload<ProtocolName, PayloadName>;
|
|
46
|
-
export type AttestPayload<PayloadName extends AttestPayloadNames = AttestPayloadNames> = ProtocolPayload<ProtocolName, PayloadName>;
|
|
47
|
-
export type Payload<PayloadName extends PayloadNames = PayloadNames> = ProtocolPayload<ProtocolName, PayloadName>;
|
|
48
|
-
export const getTransferDiscriminator: () => import("../../vaa/functions.js").PayloadDiscriminator<"TokenBridge:Transfer" | "TokenBridge:TransferWithPayload", false>;
|
|
49
|
-
export {};
|
|
50
|
-
}
|
|
51
|
-
export declare namespace AutomaticTokenBridge {
|
|
52
|
-
const _protocol = "AutomaticTokenBridge";
|
|
53
|
-
/** The compile time type of the AutomaticTokenBridge protocol */
|
|
54
|
-
export type ProtocolName = typeof _protocol;
|
|
55
|
-
const _payloads: readonly ["TransferWithRelay"];
|
|
56
|
-
export type PayloadNames = (typeof _payloads)[number];
|
|
57
|
-
/** The VAAs emitted from the AutomaticTokenBridge protocol */
|
|
58
|
-
export type VAA<PayloadName extends PayloadNames = PayloadNames> = ProtocolVAA<ProtocolName, PayloadName>;
|
|
59
|
-
export type Payload<PayloadName extends PayloadNames = PayloadNames> = ProtocolPayload<ProtocolName, PayloadName>;
|
|
60
|
-
export {};
|
|
61
|
-
}
|
|
62
|
-
export declare namespace ExecutorTokenBridge {
|
|
63
|
-
const _protocol = "ExecutorTokenBridge";
|
|
64
|
-
export type ProtocolName = typeof _protocol;
|
|
65
|
-
const _payloads: readonly ["TransferWithExecutorRelay"];
|
|
66
|
-
export type PayloadNames = (typeof _payloads)[number];
|
|
67
|
-
export type VAA<PayloadName extends PayloadNames = PayloadNames> = ProtocolVAA<ProtocolName, PayloadName>;
|
|
68
|
-
export type Payload<PayloadName extends PayloadNames = PayloadNames> = ProtocolPayload<ProtocolName, PayloadName>;
|
|
69
|
-
export interface ExecutorQuote {
|
|
70
|
-
signedQuote: SignedQuote;
|
|
71
|
-
estimatedCost: bigint;
|
|
72
|
-
relayInstructions: RelayInstructions;
|
|
73
|
-
}
|
|
74
|
-
export interface ReferrerFee {
|
|
75
|
-
transferTokenFee: bigint;
|
|
76
|
-
nativeTokenFee: bigint;
|
|
77
|
-
remainingAmount: bigint;
|
|
78
|
-
referrer: ChainAddress;
|
|
79
|
-
}
|
|
80
|
-
export {};
|
|
81
|
-
}
|
|
82
|
-
export type TokenBridgeProtocol = TokenBridge.ProtocolName | AutomaticTokenBridge.ProtocolName | ExecutorTokenBridge.ProtocolName;
|
|
83
|
-
type BaseTokenTransferDetails = {
|
|
84
|
-
token: TokenId;
|
|
85
|
-
amount: bigint;
|
|
86
|
-
from: ChainAddress;
|
|
87
|
-
to: ChainAddress;
|
|
88
|
-
};
|
|
89
|
-
export type TokenTransferDetails = (BaseTokenTransferDetails & {
|
|
90
|
-
protocol: TokenBridge.ProtocolName;
|
|
91
|
-
payload?: Uint8Array;
|
|
92
|
-
}) | (BaseTokenTransferDetails & {
|
|
93
|
-
protocol: AutomaticTokenBridge.ProtocolName;
|
|
94
|
-
nativeGas?: bigint;
|
|
95
|
-
}) | (BaseTokenTransferDetails & {
|
|
96
|
-
protocol: ExecutorTokenBridge.ProtocolName;
|
|
97
|
-
executorQuote?: ExecutorTokenBridge.ExecutorQuote;
|
|
98
|
-
referrerFee?: ExecutorTokenBridge.ReferrerFee;
|
|
99
|
-
});
|
|
100
|
-
export declare function isTokenTransferDetails(thing: TokenTransferDetails | any): thing is TokenTransferDetails;
|
|
101
|
-
/**
|
|
102
|
-
* TokenBridge protocol definition, providing a consistent client interface
|
|
103
|
-
* for the TokenBridge protocol
|
|
104
|
-
*
|
|
105
|
-
* Find details on the TokenBridge protocol here: {@link https://github.com/wormhole-foundation/wormhole/blob/main/whitepapers/0003_token_bridge.md}
|
|
106
|
-
*
|
|
107
|
-
*/
|
|
108
|
-
export interface TokenBridge<N extends Network = Network, C extends Chain = Chain> {
|
|
109
|
-
/** Checks a native address to see if its a wrapped version
|
|
110
|
-
*
|
|
111
|
-
* @param nativeAddress The address to check
|
|
112
|
-
* @returns true if the address is a wrapped version of a foreign token
|
|
113
|
-
*/
|
|
114
|
-
isWrappedAsset(nativeAddress: TokenAddress<C>): Promise<boolean>;
|
|
115
|
-
/**
|
|
116
|
-
* returns the original asset with its foreign chain
|
|
117
|
-
*
|
|
118
|
-
* @param nativeAddress The wrapped address to check
|
|
119
|
-
* @returns The TokenId corresponding to the original asset and chain
|
|
120
|
-
*/
|
|
121
|
-
getOriginalAsset(nativeAddress: TokenAddress<C>): Promise<TokenId<Chain>>;
|
|
122
|
-
/**
|
|
123
|
-
* Returns the UniversalAddress of the token. This may require fetching on-chain data.
|
|
124
|
-
*
|
|
125
|
-
* @param token The address to get the UniversalAddress for
|
|
126
|
-
* @returns The UniversalAddress of the token
|
|
127
|
-
*/
|
|
128
|
-
getTokenUniversalAddress(token: NativeAddress<C>): Promise<UniversalAddress>;
|
|
129
|
-
/**
|
|
130
|
-
* Returns the native address of the token. This may require fetching on-chain data.
|
|
131
|
-
* @param originChain The chain the token is from / native to
|
|
132
|
-
* @param token The address to get the native address for
|
|
133
|
-
* @returns The native address of the token
|
|
134
|
-
*/
|
|
135
|
-
getTokenNativeAddress(originChain: Chain, token: UniversalAddress): Promise<NativeAddress<C>>;
|
|
136
|
-
/**
|
|
137
|
-
* returns the wrapped version of the native asset
|
|
138
|
-
*
|
|
139
|
-
* @returns The address of the native gas token that has been wrapped
|
|
140
|
-
* for use where the gas token is not possible to use (e.g. bridging)
|
|
141
|
-
*/
|
|
142
|
-
getWrappedNative(): Promise<NativeAddress<C>>;
|
|
143
|
-
/**
|
|
144
|
-
* Check to see if a foreign token has a wrapped version
|
|
145
|
-
*
|
|
146
|
-
* @param foreignToken The token to check
|
|
147
|
-
* @returns true if the token has a wrapped version
|
|
148
|
-
*/
|
|
149
|
-
hasWrappedAsset(foreignToken: TokenId<Chain>): Promise<boolean>;
|
|
150
|
-
/**
|
|
151
|
-
* Returns the address of the native version of this asset
|
|
152
|
-
*
|
|
153
|
-
* @param foreignToken The token to check
|
|
154
|
-
* @returns The address of the native version of this asset
|
|
155
|
-
*/
|
|
156
|
-
getWrappedAsset(foreignToken: TokenId<Chain>): Promise<TokenAddress<C>>;
|
|
157
|
-
/**
|
|
158
|
-
* Checks if a transfer VAA has been redeemed
|
|
159
|
-
*
|
|
160
|
-
* @param vaa The transfer VAA to check
|
|
161
|
-
* @returns true if the transfer has been redeemed
|
|
162
|
-
*/
|
|
163
|
-
isTransferCompleted(vaa: TokenBridge.TransferVAA): Promise<boolean>;
|
|
164
|
-
/**
|
|
165
|
-
* Create a Token Attestation VAA containing metadata about
|
|
166
|
-
* the token that may be submitted to a Token bridge on another chain
|
|
167
|
-
* to allow it to create a wrapped version of the token
|
|
168
|
-
*
|
|
169
|
-
* @param token The token to create an attestation for
|
|
170
|
-
* @param payer The payer of the transaction
|
|
171
|
-
* @returns An AsyncGenerator that produces transactions to sign and send
|
|
172
|
-
*/
|
|
173
|
-
createAttestation(token: TokenAddress<C>, payer?: AccountAddress<C>): AsyncGenerator<UnsignedTransaction<N, C>>;
|
|
174
|
-
/**
|
|
175
|
-
* Submit the Token Attestation VAA to the Token bridge
|
|
176
|
-
* to create the wrapped token represented by the data in the VAA
|
|
177
|
-
* @param vaa The attestation VAA to submit
|
|
178
|
-
* @param payer The payer of the transaction
|
|
179
|
-
* @returns An AsyncGenerator that produces transactions to sign and send
|
|
180
|
-
*/
|
|
181
|
-
submitAttestation(vaa: TokenBridge.AttestVAA, payer?: AccountAddress<C>): AsyncGenerator<UnsignedTransaction<N, C>>;
|
|
182
|
-
/**
|
|
183
|
-
* Initiate a transfer of some token to another chain
|
|
184
|
-
*
|
|
185
|
-
* @param sender The sender of the transfer
|
|
186
|
-
* @param recipient The recipient of the transfer as a ChainAddress so we know what the destination chain should be
|
|
187
|
-
* @param token The token to transfer
|
|
188
|
-
* @param amount The amount of the token to transfer
|
|
189
|
-
* @param payload Optional payload to include in the transfer
|
|
190
|
-
* @returns An AsyncGenerator that produces transactions to sign and send
|
|
191
|
-
*/
|
|
192
|
-
transfer(sender: AccountAddress<C>, recipient: ChainAddress, token: TokenAddress<C>, amount: bigint, payload?: Uint8Array): AsyncGenerator<UnsignedTransaction<N, C>>;
|
|
193
|
-
/**
|
|
194
|
-
* Redeem a transfer VAA to receive the tokens on this chain
|
|
195
|
-
*
|
|
196
|
-
* @param sender The sender of the transfer
|
|
197
|
-
* @param vaa The transfer VAA to redeem
|
|
198
|
-
* @param unwrapNative Whether to unwrap the native token if it is a wrapped token
|
|
199
|
-
* @returns An AsyncGenerator that produces transactions to sign and send
|
|
200
|
-
*/
|
|
201
|
-
redeem(sender: AccountAddress<C>, vaa: TokenBridge.TransferVAA, unwrapNative?: boolean): AsyncGenerator<UnsignedTransaction<N, C>>;
|
|
202
|
-
}
|
|
203
|
-
/**
|
|
204
|
-
* AutomaticTokenBridge provides a consistent interface to the
|
|
205
|
-
* TokenBridge with Automatic redemption on the destination chain
|
|
206
|
-
*/
|
|
207
|
-
export interface AutomaticTokenBridge<N extends Network = Network, C extends Chain = Chain> {
|
|
208
|
-
/** Initiate the transfer over the automatic bridge */
|
|
209
|
-
transfer(sender: AccountAddress<C>, recipient: ChainAddress, token: TokenAddress<C>, amount: bigint, nativeGas?: bigint): AsyncGenerator<UnsignedTransaction<N, C>>;
|
|
210
|
-
/**
|
|
211
|
-
* Manually redeem a transfer, should not be used unless
|
|
212
|
-
* necessary to take over some stalled transfer
|
|
213
|
-
*/
|
|
214
|
-
redeem(sender: AccountAddress<C>, vaa: AutomaticTokenBridge.VAA): AsyncGenerator<UnsignedTransaction<N, C>>;
|
|
215
|
-
/** Fee charged to relay */
|
|
216
|
-
getRelayerFee(destination: Chain, token: TokenAddress<C>): Promise<bigint>;
|
|
217
|
-
/** Check if a given token is in the registered token list */
|
|
218
|
-
isRegisteredToken(token: TokenAddress<C>): Promise<boolean>;
|
|
219
|
-
/** Get the list of tokens that are registered and acceptable to send */
|
|
220
|
-
getRegisteredTokens(): Promise<TokenAddress<C>[]>;
|
|
221
|
-
/** Amount of native tokens a user would receive by swapping x amount of sending tokens */
|
|
222
|
-
nativeTokenAmount(token: TokenAddress<C>, amount: bigint): Promise<bigint>;
|
|
223
|
-
/** Maximum amount of sending tokens that can be swapped for native tokens */
|
|
224
|
-
maxSwapAmount(token: TokenAddress<C>): Promise<bigint>;
|
|
225
|
-
}
|
|
226
|
-
export interface ExecutorTokenBridge<N extends Network = Network, C extends Chain = Chain> {
|
|
227
|
-
transfer(sender: AccountAddress<C>, recipient: ChainAddress, token: TokenAddress<C>, amount: bigint, executorQuote: ExecutorTokenBridge.ExecutorQuote, referrerFee?: ExecutorTokenBridge.ReferrerFee): AsyncGenerator<UnsignedTransaction<N, C>>;
|
|
228
|
-
redeem(sender: AccountAddress<C>, vaa: ExecutorTokenBridge.VAA): AsyncGenerator<UnsignedTransaction<N, C>>;
|
|
229
|
-
estimateMsgValueAndGasLimit(receivedToken: TokenId, recipient?: ChainAddress): Promise<{
|
|
230
|
-
msgValue: bigint;
|
|
231
|
-
gasLimit: bigint;
|
|
232
|
-
}>;
|
|
233
|
-
}
|
|
234
|
-
export {};
|
|
235
|
-
//# sourceMappingURL=tokenBridge.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"tokenBridge.d.ts","sourceRoot":"","sources":["../../../../src/protocols/tokenBridge/tokenBridge.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,+BAA+B,CAAC;AAEpE,OAAO,KAAK,EAAE,cAAc,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACpF,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAClE,OAAO,KAAK,EAAE,YAAY,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AAC5D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AACxE,OAAO,KAAK,EAAE,eAAe,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAEzE,OAAO,iCAAiC,CAAC;AACzC,OAAO,wBAAwB,CAAC;AAChC,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,4BAA4B,CAAC;AAC9D,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,iCAAiC,CAAC;AAEzE,eAAO,MAAM,aAAa,UAAW,MAAM,UAAuD,CAAC;AAEnG,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAC1D,OAAO,mBAAmB,CAAC;AAC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E,MAAM,CAAC;QACjB,QAAQ,EAAE,MAAM,CAAC;KAClB,CAAC,CAAC;CACJ"}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.isTokenTransferDetails = exports.ExecutorTokenBridge = exports.AutomaticTokenBridge = exports.TokenBridge = exports.ErrNotWrapped = void 0;
|
|
4
|
-
const sdk_base_1 = require("@wormhole-foundation/sdk-base");
|
|
5
|
-
const index_js_1 = require("./../../vaa/index.js");
|
|
6
|
-
require("./automaticTokenBridgeLayout.js");
|
|
7
|
-
require("./tokenBridgeLayout.js");
|
|
8
|
-
const ErrNotWrapped = (token) => new Error(`Token ${token} is not a wrapped asset`);
|
|
9
|
-
exports.ErrNotWrapped = ErrNotWrapped;
|
|
10
|
-
require("../../registry.js");
|
|
11
|
-
/**
|
|
12
|
-
* @namespace TokenBridge
|
|
13
|
-
*/
|
|
14
|
-
var TokenBridge;
|
|
15
|
-
(function (TokenBridge) {
|
|
16
|
-
const _protocol = "TokenBridge";
|
|
17
|
-
const _transferPayloads = ["Transfer", "TransferWithPayload"];
|
|
18
|
-
const _attestPayloads = ["AttestMeta"];
|
|
19
|
-
const _payloads = [..._transferPayloads, ..._attestPayloads];
|
|
20
|
-
TokenBridge.getTransferDiscriminator = (0, sdk_base_1.lazyInstantiate)(() => (0, index_js_1.payloadDiscriminator)([_protocol, _transferPayloads]));
|
|
21
|
-
})(TokenBridge || (exports.TokenBridge = TokenBridge = {}));
|
|
22
|
-
var AutomaticTokenBridge;
|
|
23
|
-
(function (AutomaticTokenBridge) {
|
|
24
|
-
const _protocol = "AutomaticTokenBridge";
|
|
25
|
-
const _payloads = ["TransferWithRelay"];
|
|
26
|
-
})(AutomaticTokenBridge || (exports.AutomaticTokenBridge = AutomaticTokenBridge = {}));
|
|
27
|
-
var ExecutorTokenBridge;
|
|
28
|
-
(function (ExecutorTokenBridge) {
|
|
29
|
-
const _protocol = "ExecutorTokenBridge";
|
|
30
|
-
const _payloads = ["TransferWithExecutorRelay"];
|
|
31
|
-
})(ExecutorTokenBridge || (exports.ExecutorTokenBridge = ExecutorTokenBridge = {}));
|
|
32
|
-
function isTokenTransferDetails(thing) {
|
|
33
|
-
return (thing.token !== undefined &&
|
|
34
|
-
thing.amount !== undefined &&
|
|
35
|
-
thing.from !== undefined &&
|
|
36
|
-
thing.to !== undefined);
|
|
37
|
-
}
|
|
38
|
-
exports.isTokenTransferDetails = isTokenTransferDetails;
|
|
39
|
-
//# sourceMappingURL=tokenBridge.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"tokenBridge.js","sourceRoot":"","sources":["../../../../src/protocols/tokenBridge/tokenBridge.ts"],"names":[],"mappings":";;;AACA,4DAAgE;AAMhE,mDAA4D;AAC5D,2CAAyC;AACzC,kCAAgC;AAIzB,MAAM,aAAa,GAAG,CAAC,KAAa,EAAE,EAAE,CAAC,IAAI,KAAK,CAAC,SAAS,KAAK,yBAAyB,CAAC,CAAC;AAAtF,QAAA,aAAa,iBAAyE;AAGnG,6BAA2B;AAgB3B;;GAEG;AACH,IAAiB,WAAW,CAsC3B;AAtCD,WAAiB,WAAW;IAC1B,MAAM,SAAS,GAAG,aAAa,CAAC;IAIhC,MAAM,iBAAiB,GAAG,CAAC,UAAU,EAAE,qBAAqB,CAAU,CAAC;IACvE,MAAM,eAAe,GAAG,CAAC,YAAY,CAAU,CAAC;IAChD,MAAM,SAAS,GAAG,CAAC,GAAG,iBAAiB,EAAE,GAAG,eAAe,CAAU,CAAC;IA4BzD,oCAAwB,GAAG,IAAA,0BAAe,EAAC,GAAG,EAAE,CAC3D,IAAA,+BAAoB,EAAC,CAAC,SAAS,EAAE,iBAAiB,CAAC,CAAC,CACrD,CAAC;AACJ,CAAC,EAtCgB,WAAW,2BAAX,WAAW,QAsC3B;AAED,IAAiB,oBAAoB,CAkBpC;AAlBD,WAAiB,oBAAoB;IACnC,MAAM,SAAS,GAAG,sBAAsB,CAAC;IAIzC,MAAM,SAAS,GAAG,CAAC,mBAAmB,CAAU,CAAC;AAanD,CAAC,EAlBgB,oBAAoB,oCAApB,oBAAoB,QAkBpC;AAED,IAAiB,mBAAmB,CA6BnC;AA7BD,WAAiB,mBAAmB;IAClC,MAAM,SAAS,GAAG,qBAAqB,CAAC;IAGxC,MAAM,SAAS,GAAG,CAAC,2BAA2B,CAAU,CAAC;AAyB3D,CAAC,EA7BgB,mBAAmB,mCAAnB,mBAAmB,QA6BnC;AA6BD,SAAgB,sBAAsB,CACpC,KAAiC;IAEjC,OAAO,CACkB,KAAM,CAAC,KAAK,KAAK,SAAS;QAC1B,KAAM,CAAC,MAAM,KAAK,SAAS;QAC3B,KAAM,CAAC,IAAI,KAAK,SAAS;QACzB,KAAM,CAAC,EAAE,KAAK,SAAS,CAC/C,CAAC;AACJ,CAAC;AATD,wDASC"}
|
|
@@ -1,286 +0,0 @@
|
|
|
1
|
-
import type { CustomizableBytes } from "@wormhole-foundation/sdk-base";
|
|
2
|
-
import type { RegisterPayloadTypes } from "./../../vaa/index.js";
|
|
3
|
-
export declare const transferLayout: ({
|
|
4
|
-
readonly name: "payloadId";
|
|
5
|
-
readonly binary: "uint";
|
|
6
|
-
readonly size: 1;
|
|
7
|
-
readonly custom: 1;
|
|
8
|
-
readonly omit: true;
|
|
9
|
-
} | {
|
|
10
|
-
readonly name: "token";
|
|
11
|
-
readonly binary: "bytes";
|
|
12
|
-
readonly layout: readonly [{
|
|
13
|
-
readonly binary: "uint";
|
|
14
|
-
readonly size: 32;
|
|
15
|
-
readonly name: "amount";
|
|
16
|
-
}, {
|
|
17
|
-
readonly binary: "bytes";
|
|
18
|
-
readonly size: 32;
|
|
19
|
-
readonly custom: {
|
|
20
|
-
to: (val: Uint8Array) => import("../../universalAddress.js").UniversalAddress;
|
|
21
|
-
from: (val: import("../../universalAddress.js").UniversalAddress) => Uint8Array;
|
|
22
|
-
};
|
|
23
|
-
readonly name: "address";
|
|
24
|
-
}, {
|
|
25
|
-
readonly custom: {
|
|
26
|
-
to: (val: number) => "Solana" | "Ethereum" | "Bsc" | "Polygon" | "Avalanche" | "Algorand" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Pythnet" | "Btc" | "Base" | "Sei" | "Linea" | "Berachain" | "Seievm" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "Mezo" | "Fogo" | "Sonic" | "Converge" | "Plume" | "XRPLEVM" | "Plasma" | "CreditCoin" | "Stacks" | "Moca" | "MegaETH" | "Xrpl" | "ZeroGravity" | "Tempo" | "Nexus" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia" | "MonadTestnet" | "HyperCore";
|
|
27
|
-
from: (val: "Solana" | "Ethereum" | "Bsc" | "Polygon" | "Avalanche" | "Algorand" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Pythnet" | "Btc" | "Base" | "Sei" | "Linea" | "Berachain" | "Seievm" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "Mezo" | "Fogo" | "Sonic" | "Converge" | "Plume" | "XRPLEVM" | "Plasma" | "CreditCoin" | "Stacks" | "Moca" | "MegaETH" | "Xrpl" | "ZeroGravity" | "Tempo" | "Nexus" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia" | "MonadTestnet" | "HyperCore") => number;
|
|
28
|
-
};
|
|
29
|
-
readonly binary: "uint";
|
|
30
|
-
readonly size: 2;
|
|
31
|
-
readonly name: "chain";
|
|
32
|
-
}];
|
|
33
|
-
} | {
|
|
34
|
-
readonly name: "to";
|
|
35
|
-
readonly binary: "bytes";
|
|
36
|
-
readonly layout: readonly [{
|
|
37
|
-
readonly binary: "bytes";
|
|
38
|
-
readonly size: 32;
|
|
39
|
-
readonly custom: {
|
|
40
|
-
to: (val: Uint8Array) => import("../../universalAddress.js").UniversalAddress;
|
|
41
|
-
from: (val: import("../../universalAddress.js").UniversalAddress) => Uint8Array;
|
|
42
|
-
};
|
|
43
|
-
readonly name: "address";
|
|
44
|
-
}, {
|
|
45
|
-
readonly custom: {
|
|
46
|
-
to: (val: number) => "Solana" | "Ethereum" | "Bsc" | "Polygon" | "Avalanche" | "Algorand" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Pythnet" | "Btc" | "Base" | "Sei" | "Linea" | "Berachain" | "Seievm" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "Mezo" | "Fogo" | "Sonic" | "Converge" | "Plume" | "XRPLEVM" | "Plasma" | "CreditCoin" | "Stacks" | "Moca" | "MegaETH" | "Xrpl" | "ZeroGravity" | "Tempo" | "Nexus" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia" | "MonadTestnet" | "HyperCore";
|
|
47
|
-
from: (val: "Solana" | "Ethereum" | "Bsc" | "Polygon" | "Avalanche" | "Algorand" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Pythnet" | "Btc" | "Base" | "Sei" | "Linea" | "Berachain" | "Seievm" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "Mezo" | "Fogo" | "Sonic" | "Converge" | "Plume" | "XRPLEVM" | "Plasma" | "CreditCoin" | "Stacks" | "Moca" | "MegaETH" | "Xrpl" | "ZeroGravity" | "Tempo" | "Nexus" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia" | "MonadTestnet" | "HyperCore") => number;
|
|
48
|
-
};
|
|
49
|
-
readonly binary: "uint";
|
|
50
|
-
readonly size: 2;
|
|
51
|
-
readonly name: "chain";
|
|
52
|
-
}];
|
|
53
|
-
} | {
|
|
54
|
-
binary: "uint";
|
|
55
|
-
size: 32;
|
|
56
|
-
name: string;
|
|
57
|
-
})[];
|
|
58
|
-
export declare const transferWithPayloadLayout: <const P extends CustomizableBytes = undefined>(customPayload?: P) => readonly [{
|
|
59
|
-
readonly name: "payloadId";
|
|
60
|
-
readonly binary: "uint";
|
|
61
|
-
readonly size: 1;
|
|
62
|
-
readonly custom: 3;
|
|
63
|
-
readonly omit: true;
|
|
64
|
-
}, {
|
|
65
|
-
readonly name: "token";
|
|
66
|
-
readonly binary: "bytes";
|
|
67
|
-
readonly layout: readonly [{
|
|
68
|
-
readonly binary: "uint";
|
|
69
|
-
readonly size: 32;
|
|
70
|
-
readonly name: "amount";
|
|
71
|
-
}, {
|
|
72
|
-
readonly binary: "bytes";
|
|
73
|
-
readonly size: 32;
|
|
74
|
-
readonly custom: {
|
|
75
|
-
to: (val: Uint8Array) => import("../../universalAddress.js").UniversalAddress;
|
|
76
|
-
from: (val: import("../../universalAddress.js").UniversalAddress) => Uint8Array;
|
|
77
|
-
};
|
|
78
|
-
readonly name: "address";
|
|
79
|
-
}, {
|
|
80
|
-
readonly custom: {
|
|
81
|
-
to: (val: number) => "Solana" | "Ethereum" | "Bsc" | "Polygon" | "Avalanche" | "Algorand" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Pythnet" | "Btc" | "Base" | "Sei" | "Linea" | "Berachain" | "Seievm" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "Mezo" | "Fogo" | "Sonic" | "Converge" | "Plume" | "XRPLEVM" | "Plasma" | "CreditCoin" | "Stacks" | "Moca" | "MegaETH" | "Xrpl" | "ZeroGravity" | "Tempo" | "Nexus" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia" | "MonadTestnet" | "HyperCore";
|
|
82
|
-
from: (val: "Solana" | "Ethereum" | "Bsc" | "Polygon" | "Avalanche" | "Algorand" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Pythnet" | "Btc" | "Base" | "Sei" | "Linea" | "Berachain" | "Seievm" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "Mezo" | "Fogo" | "Sonic" | "Converge" | "Plume" | "XRPLEVM" | "Plasma" | "CreditCoin" | "Stacks" | "Moca" | "MegaETH" | "Xrpl" | "ZeroGravity" | "Tempo" | "Nexus" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia" | "MonadTestnet" | "HyperCore") => number;
|
|
83
|
-
};
|
|
84
|
-
readonly binary: "uint";
|
|
85
|
-
readonly size: 2;
|
|
86
|
-
readonly name: "chain";
|
|
87
|
-
}];
|
|
88
|
-
}, {
|
|
89
|
-
readonly name: "to";
|
|
90
|
-
readonly binary: "bytes";
|
|
91
|
-
readonly layout: readonly [{
|
|
92
|
-
readonly binary: "bytes";
|
|
93
|
-
readonly size: 32;
|
|
94
|
-
readonly custom: {
|
|
95
|
-
to: (val: Uint8Array) => import("../../universalAddress.js").UniversalAddress;
|
|
96
|
-
from: (val: import("../../universalAddress.js").UniversalAddress) => Uint8Array;
|
|
97
|
-
};
|
|
98
|
-
readonly name: "address";
|
|
99
|
-
}, {
|
|
100
|
-
readonly custom: {
|
|
101
|
-
to: (val: number) => "Solana" | "Ethereum" | "Bsc" | "Polygon" | "Avalanche" | "Algorand" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Pythnet" | "Btc" | "Base" | "Sei" | "Linea" | "Berachain" | "Seievm" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "Mezo" | "Fogo" | "Sonic" | "Converge" | "Plume" | "XRPLEVM" | "Plasma" | "CreditCoin" | "Stacks" | "Moca" | "MegaETH" | "Xrpl" | "ZeroGravity" | "Tempo" | "Nexus" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia" | "MonadTestnet" | "HyperCore";
|
|
102
|
-
from: (val: "Solana" | "Ethereum" | "Bsc" | "Polygon" | "Avalanche" | "Algorand" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Pythnet" | "Btc" | "Base" | "Sei" | "Linea" | "Berachain" | "Seievm" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "Mezo" | "Fogo" | "Sonic" | "Converge" | "Plume" | "XRPLEVM" | "Plasma" | "CreditCoin" | "Stacks" | "Moca" | "MegaETH" | "Xrpl" | "ZeroGravity" | "Tempo" | "Nexus" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia" | "MonadTestnet" | "HyperCore") => number;
|
|
103
|
-
};
|
|
104
|
-
readonly binary: "uint";
|
|
105
|
-
readonly size: 2;
|
|
106
|
-
readonly name: "chain";
|
|
107
|
-
}];
|
|
108
|
-
}, {
|
|
109
|
-
readonly binary: "bytes";
|
|
110
|
-
readonly size: 32;
|
|
111
|
-
readonly custom: {
|
|
112
|
-
to: (val: Uint8Array) => import("../../universalAddress.js").UniversalAddress;
|
|
113
|
-
from: (val: import("../../universalAddress.js").UniversalAddress) => Uint8Array;
|
|
114
|
-
};
|
|
115
|
-
readonly name: "from";
|
|
116
|
-
}, import("binary-layout").CustomizableBytesReturn<{
|
|
117
|
-
readonly name: "payload";
|
|
118
|
-
}, P>];
|
|
119
|
-
export declare const tokenBridgeNamedPayloads: readonly [readonly ["AttestMeta", readonly [{
|
|
120
|
-
readonly name: "payloadId";
|
|
121
|
-
readonly binary: "uint";
|
|
122
|
-
readonly size: 1;
|
|
123
|
-
readonly custom: 2;
|
|
124
|
-
readonly omit: true;
|
|
125
|
-
}, {
|
|
126
|
-
readonly name: "token";
|
|
127
|
-
readonly binary: "bytes";
|
|
128
|
-
readonly layout: readonly [{
|
|
129
|
-
readonly binary: "bytes";
|
|
130
|
-
readonly size: 32;
|
|
131
|
-
readonly custom: {
|
|
132
|
-
to: (val: Uint8Array) => import("../../universalAddress.js").UniversalAddress;
|
|
133
|
-
from: (val: import("../../universalAddress.js").UniversalAddress) => Uint8Array;
|
|
134
|
-
};
|
|
135
|
-
readonly name: "address";
|
|
136
|
-
}, {
|
|
137
|
-
readonly custom: {
|
|
138
|
-
to: (val: number) => "Solana" | "Ethereum" | "Bsc" | "Polygon" | "Avalanche" | "Algorand" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Pythnet" | "Btc" | "Base" | "Sei" | "Linea" | "Berachain" | "Seievm" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "Mezo" | "Fogo" | "Sonic" | "Converge" | "Plume" | "XRPLEVM" | "Plasma" | "CreditCoin" | "Stacks" | "Moca" | "MegaETH" | "Xrpl" | "ZeroGravity" | "Tempo" | "Nexus" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia" | "MonadTestnet" | "HyperCore";
|
|
139
|
-
from: (val: "Solana" | "Ethereum" | "Bsc" | "Polygon" | "Avalanche" | "Algorand" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Pythnet" | "Btc" | "Base" | "Sei" | "Linea" | "Berachain" | "Seievm" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "Mezo" | "Fogo" | "Sonic" | "Converge" | "Plume" | "XRPLEVM" | "Plasma" | "CreditCoin" | "Stacks" | "Moca" | "MegaETH" | "Xrpl" | "ZeroGravity" | "Tempo" | "Nexus" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia" | "MonadTestnet" | "HyperCore") => number;
|
|
140
|
-
};
|
|
141
|
-
readonly binary: "uint";
|
|
142
|
-
readonly size: 2;
|
|
143
|
-
readonly name: "chain";
|
|
144
|
-
}];
|
|
145
|
-
}, {
|
|
146
|
-
readonly name: "decimals";
|
|
147
|
-
readonly binary: "uint";
|
|
148
|
-
readonly size: 1;
|
|
149
|
-
}, {
|
|
150
|
-
readonly binary: "bytes";
|
|
151
|
-
readonly size: 32;
|
|
152
|
-
readonly custom: {
|
|
153
|
-
to: (val: Uint8Array) => string;
|
|
154
|
-
from: (str: string) => Uint8Array;
|
|
155
|
-
};
|
|
156
|
-
readonly name: "symbol";
|
|
157
|
-
}, {
|
|
158
|
-
readonly binary: "bytes";
|
|
159
|
-
readonly size: 32;
|
|
160
|
-
readonly custom: {
|
|
161
|
-
to: (val: Uint8Array) => string;
|
|
162
|
-
from: (str: string) => Uint8Array;
|
|
163
|
-
};
|
|
164
|
-
readonly name: "name";
|
|
165
|
-
}]], readonly ["Transfer", ({
|
|
166
|
-
readonly name: "payloadId";
|
|
167
|
-
readonly binary: "uint";
|
|
168
|
-
readonly size: 1;
|
|
169
|
-
readonly custom: 1;
|
|
170
|
-
readonly omit: true;
|
|
171
|
-
} | {
|
|
172
|
-
readonly name: "token";
|
|
173
|
-
readonly binary: "bytes";
|
|
174
|
-
readonly layout: readonly [{
|
|
175
|
-
readonly binary: "uint";
|
|
176
|
-
readonly size: 32;
|
|
177
|
-
readonly name: "amount";
|
|
178
|
-
}, {
|
|
179
|
-
readonly binary: "bytes";
|
|
180
|
-
readonly size: 32;
|
|
181
|
-
readonly custom: {
|
|
182
|
-
to: (val: Uint8Array) => import("../../universalAddress.js").UniversalAddress;
|
|
183
|
-
from: (val: import("../../universalAddress.js").UniversalAddress) => Uint8Array;
|
|
184
|
-
};
|
|
185
|
-
readonly name: "address";
|
|
186
|
-
}, {
|
|
187
|
-
readonly custom: {
|
|
188
|
-
to: (val: number) => "Solana" | "Ethereum" | "Bsc" | "Polygon" | "Avalanche" | "Algorand" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Pythnet" | "Btc" | "Base" | "Sei" | "Linea" | "Berachain" | "Seievm" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "Mezo" | "Fogo" | "Sonic" | "Converge" | "Plume" | "XRPLEVM" | "Plasma" | "CreditCoin" | "Stacks" | "Moca" | "MegaETH" | "Xrpl" | "ZeroGravity" | "Tempo" | "Nexus" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia" | "MonadTestnet" | "HyperCore";
|
|
189
|
-
from: (val: "Solana" | "Ethereum" | "Bsc" | "Polygon" | "Avalanche" | "Algorand" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Pythnet" | "Btc" | "Base" | "Sei" | "Linea" | "Berachain" | "Seievm" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "Mezo" | "Fogo" | "Sonic" | "Converge" | "Plume" | "XRPLEVM" | "Plasma" | "CreditCoin" | "Stacks" | "Moca" | "MegaETH" | "Xrpl" | "ZeroGravity" | "Tempo" | "Nexus" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia" | "MonadTestnet" | "HyperCore") => number;
|
|
190
|
-
};
|
|
191
|
-
readonly binary: "uint";
|
|
192
|
-
readonly size: 2;
|
|
193
|
-
readonly name: "chain";
|
|
194
|
-
}];
|
|
195
|
-
} | {
|
|
196
|
-
readonly name: "to";
|
|
197
|
-
readonly binary: "bytes";
|
|
198
|
-
readonly layout: readonly [{
|
|
199
|
-
readonly binary: "bytes";
|
|
200
|
-
readonly size: 32;
|
|
201
|
-
readonly custom: {
|
|
202
|
-
to: (val: Uint8Array) => import("../../universalAddress.js").UniversalAddress;
|
|
203
|
-
from: (val: import("../../universalAddress.js").UniversalAddress) => Uint8Array;
|
|
204
|
-
};
|
|
205
|
-
readonly name: "address";
|
|
206
|
-
}, {
|
|
207
|
-
readonly custom: {
|
|
208
|
-
to: (val: number) => "Solana" | "Ethereum" | "Bsc" | "Polygon" | "Avalanche" | "Algorand" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Pythnet" | "Btc" | "Base" | "Sei" | "Linea" | "Berachain" | "Seievm" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "Mezo" | "Fogo" | "Sonic" | "Converge" | "Plume" | "XRPLEVM" | "Plasma" | "CreditCoin" | "Stacks" | "Moca" | "MegaETH" | "Xrpl" | "ZeroGravity" | "Tempo" | "Nexus" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia" | "MonadTestnet" | "HyperCore";
|
|
209
|
-
from: (val: "Solana" | "Ethereum" | "Bsc" | "Polygon" | "Avalanche" | "Algorand" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Pythnet" | "Btc" | "Base" | "Sei" | "Linea" | "Berachain" | "Seievm" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "Mezo" | "Fogo" | "Sonic" | "Converge" | "Plume" | "XRPLEVM" | "Plasma" | "CreditCoin" | "Stacks" | "Moca" | "MegaETH" | "Xrpl" | "ZeroGravity" | "Tempo" | "Nexus" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia" | "MonadTestnet" | "HyperCore") => number;
|
|
210
|
-
};
|
|
211
|
-
readonly binary: "uint";
|
|
212
|
-
readonly size: 2;
|
|
213
|
-
readonly name: "chain";
|
|
214
|
-
}];
|
|
215
|
-
} | {
|
|
216
|
-
binary: "uint";
|
|
217
|
-
size: 32;
|
|
218
|
-
name: string;
|
|
219
|
-
})[]], readonly ["TransferWithPayload", readonly [{
|
|
220
|
-
readonly name: "payloadId";
|
|
221
|
-
readonly binary: "uint";
|
|
222
|
-
readonly size: 1;
|
|
223
|
-
readonly custom: 3;
|
|
224
|
-
readonly omit: true;
|
|
225
|
-
}, {
|
|
226
|
-
readonly name: "token";
|
|
227
|
-
readonly binary: "bytes";
|
|
228
|
-
readonly layout: readonly [{
|
|
229
|
-
readonly binary: "uint";
|
|
230
|
-
readonly size: 32;
|
|
231
|
-
readonly name: "amount";
|
|
232
|
-
}, {
|
|
233
|
-
readonly binary: "bytes";
|
|
234
|
-
readonly size: 32;
|
|
235
|
-
readonly custom: {
|
|
236
|
-
to: (val: Uint8Array) => import("../../universalAddress.js").UniversalAddress;
|
|
237
|
-
from: (val: import("../../universalAddress.js").UniversalAddress) => Uint8Array;
|
|
238
|
-
};
|
|
239
|
-
readonly name: "address";
|
|
240
|
-
}, {
|
|
241
|
-
readonly custom: {
|
|
242
|
-
to: (val: number) => "Solana" | "Ethereum" | "Bsc" | "Polygon" | "Avalanche" | "Algorand" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Pythnet" | "Btc" | "Base" | "Sei" | "Linea" | "Berachain" | "Seievm" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "Mezo" | "Fogo" | "Sonic" | "Converge" | "Plume" | "XRPLEVM" | "Plasma" | "CreditCoin" | "Stacks" | "Moca" | "MegaETH" | "Xrpl" | "ZeroGravity" | "Tempo" | "Nexus" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia" | "MonadTestnet" | "HyperCore";
|
|
243
|
-
from: (val: "Solana" | "Ethereum" | "Bsc" | "Polygon" | "Avalanche" | "Algorand" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Pythnet" | "Btc" | "Base" | "Sei" | "Linea" | "Berachain" | "Seievm" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "Mezo" | "Fogo" | "Sonic" | "Converge" | "Plume" | "XRPLEVM" | "Plasma" | "CreditCoin" | "Stacks" | "Moca" | "MegaETH" | "Xrpl" | "ZeroGravity" | "Tempo" | "Nexus" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia" | "MonadTestnet" | "HyperCore") => number;
|
|
244
|
-
};
|
|
245
|
-
readonly binary: "uint";
|
|
246
|
-
readonly size: 2;
|
|
247
|
-
readonly name: "chain";
|
|
248
|
-
}];
|
|
249
|
-
}, {
|
|
250
|
-
readonly name: "to";
|
|
251
|
-
readonly binary: "bytes";
|
|
252
|
-
readonly layout: readonly [{
|
|
253
|
-
readonly binary: "bytes";
|
|
254
|
-
readonly size: 32;
|
|
255
|
-
readonly custom: {
|
|
256
|
-
to: (val: Uint8Array) => import("../../universalAddress.js").UniversalAddress;
|
|
257
|
-
from: (val: import("../../universalAddress.js").UniversalAddress) => Uint8Array;
|
|
258
|
-
};
|
|
259
|
-
readonly name: "address";
|
|
260
|
-
}, {
|
|
261
|
-
readonly custom: {
|
|
262
|
-
to: (val: number) => "Solana" | "Ethereum" | "Bsc" | "Polygon" | "Avalanche" | "Algorand" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Pythnet" | "Btc" | "Base" | "Sei" | "Linea" | "Berachain" | "Seievm" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "Mezo" | "Fogo" | "Sonic" | "Converge" | "Plume" | "XRPLEVM" | "Plasma" | "CreditCoin" | "Stacks" | "Moca" | "MegaETH" | "Xrpl" | "ZeroGravity" | "Tempo" | "Nexus" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia" | "MonadTestnet" | "HyperCore";
|
|
263
|
-
from: (val: "Solana" | "Ethereum" | "Bsc" | "Polygon" | "Avalanche" | "Algorand" | "Klaytn" | "Celo" | "Near" | "Moonbeam" | "Injective" | "Osmosis" | "Sui" | "Aptos" | "Arbitrum" | "Optimism" | "Pythnet" | "Btc" | "Base" | "Sei" | "Linea" | "Berachain" | "Seievm" | "Unichain" | "Worldchain" | "Ink" | "HyperEVM" | "Monad" | "Mezo" | "Fogo" | "Sonic" | "Converge" | "Plume" | "XRPLEVM" | "Plasma" | "CreditCoin" | "Stacks" | "Moca" | "MegaETH" | "Xrpl" | "ZeroGravity" | "Tempo" | "Nexus" | "Wormchain" | "Cosmoshub" | "Evmos" | "Kujira" | "Neutron" | "Celestia" | "Stargaze" | "Seda" | "Dymension" | "Provenance" | "Noble" | "Sepolia" | "ArbitrumSepolia" | "BaseSepolia" | "OptimismSepolia" | "Holesky" | "PolygonSepolia" | "MonadTestnet" | "HyperCore") => number;
|
|
264
|
-
};
|
|
265
|
-
readonly binary: "uint";
|
|
266
|
-
readonly size: 2;
|
|
267
|
-
readonly name: "chain";
|
|
268
|
-
}];
|
|
269
|
-
}, {
|
|
270
|
-
readonly binary: "bytes";
|
|
271
|
-
readonly size: 32;
|
|
272
|
-
readonly custom: {
|
|
273
|
-
to: (val: Uint8Array) => import("../../universalAddress.js").UniversalAddress;
|
|
274
|
-
from: (val: import("../../universalAddress.js").UniversalAddress) => Uint8Array;
|
|
275
|
-
};
|
|
276
|
-
readonly name: "from";
|
|
277
|
-
}, import("binary-layout").CustomizableBytesReturn<{
|
|
278
|
-
readonly name: "payload";
|
|
279
|
-
}, undefined>]]];
|
|
280
|
-
declare module "../../registry.js" {
|
|
281
|
-
namespace WormholeRegistry {
|
|
282
|
-
interface PayloadLiteralToLayoutMapping extends RegisterPayloadTypes<"TokenBridge", typeof tokenBridgeNamedPayloads> {
|
|
283
|
-
}
|
|
284
|
-
}
|
|
285
|
-
}
|
|
286
|
-
//# sourceMappingURL=tokenBridgeLayout.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"tokenBridgeLayout.d.ts","sourceRoot":"","sources":["../../../../src/protocols/tokenBridge/tokenBridgeLayout.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAA4B,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAQjG,OAAO,KAAK,EAAiB,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAmChF,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAI1B,CAAC;AAEF,eAAO,MAAM,yBAAyB,kEACpB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAOP,CAAC;AAEb,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBA5CvB,UAAU;oBAIR,MAAM;;;;;;;kBAJR,UAAU;oBAIR,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gBA4DY,CAAC;AAInC,OAAO,QAAQ,mBAAmB,CAAC;IACjC,UAAiB,gBAAgB,CAAC;QAChC,UAAU,6BACR,SAAQ,oBAAoB,CAAC,aAAa,EAAE,OAAO,wBAAwB,CAAC;SAAG;KAClF;CACF"}
|