1
This commit is contained in:
parent
628e43225b
commit
9c0b633dc9
@ -54,11 +54,6 @@ class PullBcEvent extends BaseService {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
getInstanceName() {
|
|
||||||
const instName = this.getNetId() + '.' + this.getContractByName() + '.' + this.getEventName();
|
|
||||||
return instName;
|
|
||||||
}
|
|
||||||
|
|
||||||
async processEvents(events, fromBlock, toBlock) {
|
async processEvents(events, fromBlock, toBlock) {
|
||||||
this.progInfo['fromBlock'] = fromBlock;
|
this.progInfo['fromBlock'] = fromBlock;
|
||||||
this.progInfo['toBlock'] = toBlock;
|
this.progInfo['toBlock'] = toBlock;
|
||||||
@ -213,6 +208,11 @@ class PullBcEvent extends BaseService {
|
|||||||
return this.eventConf['contract_name'];
|
return this.eventConf['contract_name'];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
getInstanceName() {
|
||||||
|
const instName = this.getNetId() + '.' + this.getContractByName() + '.' + this.getEventName();
|
||||||
|
return instName;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
module.exports = PullBcEvent;
|
module.exports = PullBcEvent;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user