Function depositFromChain

  • Convert the deposit data coming from the blockchain to JS object.

    Parameters

    • deposit: KiltSupportDeposit

      The blockchain-formatted deposit data.

    Returns Deposit

    The deposit data.