Function serializeRewards

  • Serializes a Map of rewards into an array format suitable for JSON storage.

    Returns

    An array where each element is a tuple containing a key and an array of rewards in JSON format.

    Parameters

    • map: Map<string, CLValueUInt512[]>

      A Map where each key corresponds to an array of CLValueUInt512 rewards.

    Returns (string | string[])[][]

Generated using TypeDoc