The BaseMethod provides a generic interface for module methods.

Hierarchy

Constructors

Properties

_config: ModuleConfig
_interoperabilityMethod: InteroperabilityMethod
_nftMethod: NFTMethod
_tokenMethod: TokenMethod

Methods

  • Parameters

    • methodContext: MethodContext
    • senderAddress: Buffer
    • recipientAddress: Buffer
    • nftID: Buffer
    • receivingChainID: Buffer
    • messageFee: bigint
    • data: string
    • includeAttributes: boolean
    • Optional timestamp: number

    Returns Promise<void>

  • Parameters

    • immutableMethodContext: ImmutableMethodContext
    • senderAddress: Buffer
    • nftID: Buffer
    • sendingChainID: Buffer
    • receivingChainID: Buffer
    • messageFee: bigint
    • data: string

    Returns Promise<void>

Generated using TypeDoc