Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "utils/types"

Index

Functions

bytesToAddress

  • bytesToAddress(bytes: Uint8Array): string

createTokenInfo

  • createTokenInfo(tokenType: 0 | 2 | 1, tokenAddress: string): TokenInfo
  • Parameters

    • tokenType: 0 | 2 | 1
    • tokenAddress: string

    Returns TokenInfo

isAddress

  • isAddress(address: string): boolean

sortSignatureList

  • sortSignatureList(selfAddress: string, peerAddress: string, selfSignature: Uint8Array, peerSignature: Uint8Array): Uint8Array[]
  • Parameters

    • selfAddress: string
    • peerAddress: string
    • selfSignature: Uint8Array
    • peerSignature: Uint8Array

    Returns Uint8Array[]

Made by Horyus. Documentation generated by TypeDoc.