Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Contract ¶
type Contract struct { Id string `gorm:"primaryKey"` Status common.ContractStatus `gorm:"not null"` TaskId string Address string `gorm:"index"` Source string `gorm:"not null"` DeploymentBytecode string `gorm:"not null"` RuntimeBytecode string `gorm:"not null"` AbiDefinition string `gorm:"not null"` Name string `gorm:"not null"` CFG string DistanceMap string TargetInstructionsFreq string Functions []Function }
type Function ¶
type Function struct { Id string `gorm:"primaryKey"` Name string `gorm:"index;not null"` NumberOfArgs int64 `gorm:"not null"` Callable bool `gorm:"not null"` Type common.MethodType `gorm:"not null"` ContractId string `gorm:"not null"` Transactions []Transaction }
type Task ¶
type Task struct { Id string `gorm:"primaryKey"` Arguments string `gorm:"not null"` Duration time.Duration StartTime time.Time `gorm:"not null"` DeploymentTime time.Time Expiration time.Time `gorm:"not null"` Detectors string `gorm:"not null"` FuzzingType common.FuzzingType `gorm:"not null"` AggregatedExecutedInstructions string Status common.TaskStatus `gorm:"not null"` Contract Contract Transactions []Transaction }
type Transaction ¶
type Transaction struct { Id string `gorm:"primaryKey"` Timestamp time.Time `gorm:"not null"` BlockchainHash string `gorm:"index"` TaskId string `gorm:"not null"` FunctionId string `gorm:"not null"` Inputs string `gorm:"not null"` DetectedWeaknesses string ExecutedInstructions string DeltaCoverage string DeltaMinDistance string Coverage string CriticalInstructionsHits string Status common.TransactionStatus `gorm:"not null"` }
Click to show internal directories.
Click to hide internal directories.