Options
All
  • Public
  • Public/Protected
  • All
Menu

Module soltsice

Index

Functions

abiTypeToTypeName

  • abiTypeToTypeName(abiType?: undefined | string, isReturnType?: undefined | true | false): string
  • Parameters

    • Optional abiType: undefined | string
    • Optional isReturnType: undefined | true | false

    Returns string

generateTypes

getDestinationPaths

  • getDestinationPaths(destination: string, files: string[]): string[]
  • Parameters

    • destination: string
    • files: string[]

    Returns string[]

getLocalPrivateKeyAndAddress

  • getLocalPrivateKeyAndAddress(filepath: string, password: string): Account
  • Create or get local key file and return private key and address. This is a blocking sync function for file read/write, therefore should be used during initial startup.

    Parameters

    • filepath: string
    • password: string

    Returns Account

getSourceFiles

  • getSourceFiles(src: string): string[]

getSourcePaths

  • getSourcePaths(src: string, files: string[]): string[]
  • Parameters

    • src: string
    • files: string[]

    Returns string[]

parseArgs

  • Parameters

    Returns object

    • W3importPath: string
    • cleanArtifacts: boolean
    • destination: string
    • skipPattern: string
    • source: string

processAbi

processCtor

processFile

  • processFile(fileName: string, filePath: string, targetPath: string, W3ImportPath: string): string
  • Parameters

    • fileName: string
    • filePath: string
    • targetPath: string
    • W3ImportPath: string

    Returns string

processInputs

With 🖖 by Dbrain