Module @wormhole-foundation/sdk-base - v0.2.6

SDK Core

The SDK Core is broken into several logical subpackages

Base

The base package contains:

  • constants (e.g. contract addresses, RPC config, Finality, etc...)
  • utility types to for accessing and validating constants

Definitions

The definitions package contains:

  • definitions for the VAA payload structure layout
  • definitions of interfaces for Platforms and ChainContexts
  • definitions of protocol interfaces (e.g. TokenBridge, Circle, etc...)
  • definitions of types (e.g. Address, TokenId, Signer, etc...)

References

Re-exports ArrayLayoutItem
Re-exports BytesLayoutItem
Re-exports CustomConversion
Re-exports DynamicItemsOfLayout
Re-exports FixedConversion
Re-exports FixedItemsOfLayout
Re-exports FixedPrimitiveBytesLayoutItem
Re-exports FixedPrimitiveNumLayoutItem
Re-exports FixedSizeArrayLayoutItem
Re-exports FixedSizeBytesLayoutItem
Re-exports FixedValueBytesLayoutItem
Re-exports IntLayoutItem
Re-exports Layout
Re-exports LayoutItem
Re-exports LayoutItemToType
Re-exports LayoutToType
Re-exports LengthPrefixedArrayLayoutItem
Re-exports LengthPrefixedBytesLayoutItem
Re-exports NamedLayoutItem
Re-exports NumLayoutItem
Re-exports ObjectLayoutItem
Re-exports OptionalToFromNumLayoutItem
Re-exports UintLayoutItem
Re-exports addFixedValues
Re-exports calcLayoutSize
Re-exports deserializeLayout
Re-exports dynamicItemsOfLayout
Re-exports fixedItemsOfLayout
Re-exports layoutDiscriminator
Re-exports serializeLayout

Generated using TypeDoc