• When interacting with the contracts (e.g: deposit collateral); subaccount name is represented as bytes12. This util converts a subaccount name to it's bytes12 representation.

    Parameters

    • name: string

      subaccount name

    Returns SubaccountNameBytes12

    bytes12 representation of a subaccount name.