This commit is contained in:
aozhiwei 2023-07-09 14:15:37 +08:00
parent aa8c7e960b
commit ea9d3d997a
2 changed files with 6 additions and 1 deletions

View File

@ -64,6 +64,8 @@ class Activate721Nft extends BaseEventProcess {
't_nft',
[
['token_id', tokenId],
['net_id', this.getNetId()],
['contract_address', this.getContractAddress()],
]
);
if (err) {
@ -76,7 +78,6 @@ class Activate721Nft extends BaseEventProcess {
['token_id', tokenId],
['token_type', tokenType],
['item_id', itemId],
['game_id', 2006],
['owner_address', bcutils.toNormalAddress(owner)],
['creator_address', bcutils.toNormalAddress(owner)],
['confirm_block_number', this.getBlockNumber()],

View File

@ -27,6 +27,10 @@ class BaseEventProcess {
return this.eventDb['block_number'];
}
getNetId() {
return this.eventProc.getNetId();
}
getReturnValues() {
return this.returnValues;
}