mirror of
https://github.com/oceanprotocol-archive/squid-js.git
synced 2024-02-02 15:31:51 +01:00
fix lint issues
This commit is contained in:
parent
dfdbaa53b6
commit
e8e3296be0
@ -7,6 +7,8 @@ export class EventHandler extends Instantiable {
|
||||
get count() {
|
||||
return this.events.size
|
||||
}
|
||||
|
||||
|
||||
private events = new Set<(blockNumber) => void>()
|
||||
private lastBlock: number
|
||||
private interval = 200
|
||||
|
@ -44,6 +44,8 @@ export abstract class AgreementTemplate extends ContractBase {
|
||||
timeOuts: number[],
|
||||
...args: any[]
|
||||
)
|
||||
|
||||
|
||||
public createAgreement(
|
||||
agreementId: string,
|
||||
did: string,
|
||||
|
@ -155,10 +155,12 @@ export class OceanAgreements extends Instantiable {
|
||||
agreementId: string,
|
||||
extended?: false
|
||||
): Promise<{ [condition: string]: ConditionState }>
|
||||
|
||||
public async status(
|
||||
agreementId: string,
|
||||
extended: true
|
||||
): Promise<AgreementConditionsStatus>
|
||||
|
||||
public async status(agreementId: string, extended: boolean = false) {
|
||||
const {
|
||||
templateId
|
||||
|
Loading…
Reference in New Issue
Block a user