Search
Preparing search index...
The search index is not available
mythxjs
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
"apiServices/AnalysesService"
AnalysesService
Class AnalysesService
Hierarchy
AnalysesService
Index
Constructors
constructor
Properties
API_
URL
tool
Name
Methods
analyze
create
Group
get
Analyses
List
get
Analysis
Status
get
Detected
Issues
get
Group
ById
get
Pdf
group
Operation
list
Groups
set
Credentials
submit
Bytecode
submit
Source
Code
Constructors
constructor
new
Analyses
Service
(
jwtTokens
:
JwtTokensInterface
, toolName
?:
string
)
:
AnalysesService
Parameters
jwtTokens:
JwtTokensInterface
Default value
toolName:
string
= "MythXJS"
Returns
AnalysesService
Properties
Private
API_
URL
API_
URL
:
string
= ClientService.MYTHX_API_ENVIRONMENT
Private
tool
Name
tool
Name
:
string
Methods
analyze
analyze
(
options
:
AnalyzeOptions
, propertyChecking
?:
undefined
|
false
|
true
)
:
Promise
<
AnalysisSubmission
>
Parameters
options:
AnalyzeOptions
Optional
propertyChecking:
undefined
|
false
|
true
Returns
Promise
<
AnalysisSubmission
>
create
Group
create
Group
(
groupName
?:
undefined
|
string
)
:
Promise
<
Group
>
Parameters
Optional
groupName:
undefined
|
string
Returns
Promise
<
Group
>
get
Analyses
List
get
Analyses
List
(
)
:
Promise
<
AnalysisList
>
Returns
Promise
<
AnalysisList
>
get
Analysis
Status
get
Analysis
Status
(
uuid
:
string
)
:
Promise
<
AnalysisSubmission
>
Parameters
uuid:
string
Returns
Promise
<
AnalysisSubmission
>
get
Detected
Issues
get
Detected
Issues
(
uuid
:
string
)
:
Promise
<
DetectedIssues
>
Parameters
uuid:
string
Returns
Promise
<
DetectedIssues
>
get
Group
ById
get
Group
ById
(
groupId
:
string
)
:
Promise
<
Group
>
Parameters
groupId:
string
Returns
Promise
<
Group
>
get
Pdf
get
Pdf
(
uuid
:
string
)
:
Promise
<
any
>
Parameters
uuid:
string
Returns
Promise
<
any
>
group
Operation
group
Operation
(
groupId
:
string
, operationType
?:
undefined
|
string
)
:
Promise
<
Group
>
Parameters
groupId:
string
Optional
operationType:
undefined
|
string
Returns
Promise
<
Group
>
list
Groups
list
Groups
(
queryString
?:
any
)
:
Promise
<
AnalysisGroups
>
Parameters
Optional
queryString:
any
Returns
Promise
<
AnalysisGroups
>
Private
set
Credentials
set
Credentials
(
tokens
:
JwtTokensInterface
)
:
void
Parameters
tokens:
JwtTokensInterface
Returns
void
submit
Bytecode
submit
Bytecode
(
bytecode
:
string
)
:
Promise
<
AnalysisSubmission
>
Parameters
bytecode:
string
Returns
Promise
<
AnalysisSubmission
>
submit
Source
Code
submit
Source
Code
(
sourceCode
:
string
, contractName
:
string
, propertyChecking
?:
boolean
)
:
Promise
<
AnalysisSubmission
>
Parameters
sourceCode:
string
contractName:
string
Default value
propertyChecking:
boolean
= false
Returns
Promise
<
AnalysisSubmission
>
Globals
"api
Services/
Analyses
Service"
Analyses
Service
constructor
API_
URL
tool
Name
analyze
create
Group
get
Analyses
List
get
Analysis
Status
get
Detected
Issues
get
Group
ById
get
Pdf
group
Operation
list
Groups
set
Credentials
submit
Bytecode
submit
Source
Code
Generated using
TypeDoc