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
Sebastian Gerske dfff8fc228 added event wireup
added lock payment
added fulfilmentOperators
added declarative way to describe dependencies
added service agreement termination
2018-11-20 09:13:03 +01:00

15 lines
474 B
TypeScript

import Event from "./Event"
import Parameter from "./Parameter"
export default class Condition {
public contractName: string = "AccessCondition"
public methodName: string = "lockPayment"
public timeout: number = 0
public conditionKey: string = "0x12122434"
public parameters: Parameter[]
public events: Event[]
public dependencies: string[] = []
public dependencyTimeoutFlags: number[] = []
public isTerminalCondition: boolean = false
}