Function transferRemaining

  • Function to transfer remaining Massa coins to a recipient at the end of a call

    Parameters

    • balanceInit: number

      Initial balance of the SC (transferred coins + balance of the SC)

    • callerDebit: number = 0

      The amount of coins that the caller is expected to pay to the SC

    • refundRecipient: Address = ...

    Returns void

Generated using TypeDoc