mirror of
https://github.com/oceanprotocol-archive/squid-js.git
synced 2024-02-02 15:31:51 +01:00
dfff8fc228
added lock payment added fulfilmentOperators added declarative way to describe dependencies added service agreement termination
15 lines
474 B
TypeScript
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
|
|
}
|