2018-11-20 09:13:03 +01:00
|
|
|
import Event from "./Event"
|
2018-11-05 14:56:14 +01:00
|
|
|
import Parameter from "./Parameter"
|
|
|
|
|
2018-11-05 10:01:58 +01:00
|
|
|
export default class Condition {
|
2018-11-16 15:15:45 +01:00
|
|
|
public contractName: string = "AccessCondition"
|
|
|
|
public methodName: string = "lockPayment"
|
2018-11-05 10:01:58 +01:00
|
|
|
public timeout: number = 0
|
2018-11-20 09:13:03 +01:00
|
|
|
public conditionKey: string = "0x12122434"
|
2018-11-05 14:56:14 +01:00
|
|
|
public parameters: Parameter[]
|
2018-11-20 09:13:03 +01:00
|
|
|
public events: Event[]
|
|
|
|
public dependencies: string[] = []
|
|
|
|
public dependencyTimeoutFlags: number[] = []
|
|
|
|
public isTerminalCondition: boolean = false
|
2018-11-05 10:01:58 +01:00
|
|
|
}
|