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

16 lines
493 B
TypeScript

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