This commit is contained in:
aozhiwei 2023-07-23 11:40:50 +08:00
parent 45a6698115
commit 83d3483a1e
2 changed files with 5 additions and 2 deletions

View File

@ -241,7 +241,7 @@ function getAllTables() {
return tables;
}
function getAirDrop(tokenId) {
function getAirDrop(tokenId, netId, tokenType, contractAddress) {
}

View File

@ -14,7 +14,10 @@ class Transfer extends BaseEventProcess {
const tokenId = returnValues['tokenId'];
if (bcutils.isSysAddress(from)) {
const airDropMeta = metaFactory.getAirDrop(tokenId);
const airDropMeta = metaFactory.getAirDrop(tokenId,
this.getNetId(),
bcconst.BC_NFT_HERO,
this.getContractAddress());
if (airDropMeta) {
const exists = await this.exists721Nft(tokenId, this.getContractAddress());
if (!exists) {