1
This commit is contained in:
parent
630666a140
commit
7740ecfe00
@ -5,6 +5,14 @@ const BaseEventProcess = require('../common/BaseEventProcess');
|
|||||||
class Transfer extends BaseEventProcess {
|
class Transfer extends BaseEventProcess {
|
||||||
|
|
||||||
async start() {
|
async start() {
|
||||||
|
const returnValues = this.getReturnValues();
|
||||||
|
await this.add721NftRefresh
|
||||||
|
(
|
||||||
|
this.getNetId(),
|
||||||
|
this.getContractAddress(),
|
||||||
|
this.getContractName(),
|
||||||
|
returnValues['tokenId']
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -5,7 +5,14 @@ const BaseEventProcess = require('../common/BaseEventProcess');
|
|||||||
class Transfer extends BaseEventProcess {
|
class Transfer extends BaseEventProcess {
|
||||||
|
|
||||||
async start() {
|
async start() {
|
||||||
|
const returnValues = this.getReturnValues();
|
||||||
|
await this.add721NftRefresh
|
||||||
|
(
|
||||||
|
this.getNetId(),
|
||||||
|
this.getContractAddress(),
|
||||||
|
this.getContractName(),
|
||||||
|
returnValues['tokenId']
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -32,6 +32,14 @@ class BaseEventProcess {
|
|||||||
return this.eventProc.getNetId();
|
return this.eventProc.getNetId();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
getContractAddress() {
|
||||||
|
return this.eventProc.getContractAddress();
|
||||||
|
}
|
||||||
|
|
||||||
|
getContractName() {
|
||||||
|
return this.eventProc.getContractName();
|
||||||
|
}
|
||||||
|
|
||||||
getReturnValues() {
|
getReturnValues() {
|
||||||
return this.returnValues;
|
return this.returnValues;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user