EVM Circle Parser class.

Hierarchy

  • EvmCircleParser

Constructors

Methods

  • Handles a deposit transaction.

    Returns

    A promise that resolves to a PartialBridgeTxn object.

    Parameters

    • txnID: string

      The transaction ID.

    • connect: EvmConnect

      The EvmConnect instance.

    • txn: TransactionReceipt

      The transaction receipt.

    • partialTxn: PartialTxn

      The partial bridge transaction.

    • events: USDCBridgeEventGroup

      The USDC bridge event group.

    Returns Promise<PartialTxn>

  • Handles a release transaction.

    Returns

    A promise that resolves to a PartialBridgeTxn object.

    Parameters

    • txnID: string

      The transaction ID.

    • connect: EvmConnect

      The EvmConnect instance.

    • txn: TransactionReceipt

      The transaction receipt.

    • partialTxn: PartialTxn

      The partial bridge transaction.

    • events: USDCBridgeEventGroup

      The USDC bridge event group.

    Returns Promise<PartialTxn>

  • Handles a transfer transaction.

    Returns

    A promise that resolves to a PartialBridgeTxn object.

    Parameters

    • txnID: string

      The transaction ID.

    • connect: EvmConnect

      The EvmConnect instance.

    • txn: TransactionReceipt

      The transaction receipt.

    • partialTxn: PartialTxn

      The partial bridge transaction.

    • events: USDCBridgeEventGroup

      The USDC bridge event group.

    Returns Promise<PartialTxn>

  • Processes a transaction.

    Returns

    A promise that resolves to a PartialBridgeTxn object.

    Parameters

    • sdkServer: GlitterSDKServer

      The Glitter SDK server instance.

    • connect: undefined | EvmConnect

      The EvmConnect instance.

    • txnID: string

      The transaction ID to process.

    Returns Promise<PartialTxn>

Generated using TypeDoc