1
0
mirror of https://github.com/oceanprotocol-archive/squid-js.git synced 2024-02-02 15:31:51 +01:00
squid-js/src/ddo/Condition.ts

15 lines
474 B
TypeScript
Raw Normal View History

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 {
public contractName: string = "AccessCondition"
public methodName: string = "lockPayment"
2018-11-05 10:01:58 +01:00
public timeout: number = 0
public conditionKey: string = "0x12122434"
2018-11-05 14:56:14 +01:00
public parameters: Parameter[]
public events: Event[]
public dependencies: string[] = []
public dependencyTimeoutFlags: number[] = []
public isTerminalCondition: boolean = false
2018-11-05 10:01:58 +01:00
}