Functions
abiTypeToTypeName
abiTypeToTypeName( abiType?: undefined | string , isReturnType?: undefined | true | false ) : string
Parameters
Optional abiType: undefined | string
Optional isReturnType: undefined | true | false
Returns string
getDestinationPaths
getDestinationPaths( destination: string , files: string [] ) : string []
Parameters
destination: string
files: string []
Returns string []
getLocalPrivateKeyAndAddress
getLocalPrivateKeyAndAddress( filepath: string , password: string ) : Account
Parameters
filepath: string
password: string
getSourceFiles
getSourceFiles( src: string ) : string []
Parameters
Returns 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
Parameters
Returns string
processCtor
Parameters
Returns object
names: string
typesNames: string
processFile
processFile( fileName: string , filePath: string , targetPath: string , W3ImportPath: string ) : string
Parameters
fileName: string
filePath: string
targetPath: string
W3ImportPath: string
Returns string
processInputs
Parameters
Returns object
names: string
typesNames: string
Legend
Module
Object literal
Variable
Function
Function with type parameter
Index signature
Type alias
Enumeration
Enumeration member
Property
Method
Interface
Interface with type parameter
Constructor
Property
Method
Index signature
Class
Class with type parameter
Constructor
Property
Method
Accessor
Index signature
Inherited constructor
Inherited property
Inherited method
Inherited accessor
Protected property
Protected method
Protected accessor
Private property
Private method
Private accessor
Static property
Static method
With by
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.