1
This commit is contained in:
parent
45a6698115
commit
83d3483a1e
@ -241,7 +241,7 @@ function getAllTables() {
|
|||||||
return tables;
|
return tables;
|
||||||
}
|
}
|
||||||
|
|
||||||
function getAirDrop(tokenId) {
|
function getAirDrop(tokenId, netId, tokenType, contractAddress) {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -14,7 +14,10 @@ class Transfer extends BaseEventProcess {
|
|||||||
const tokenId = returnValues['tokenId'];
|
const tokenId = returnValues['tokenId'];
|
||||||
|
|
||||||
if (bcutils.isSysAddress(from)) {
|
if (bcutils.isSysAddress(from)) {
|
||||||
const airDropMeta = metaFactory.getAirDrop(tokenId);
|
const airDropMeta = metaFactory.getAirDrop(tokenId,
|
||||||
|
this.getNetId(),
|
||||||
|
bcconst.BC_NFT_HERO,
|
||||||
|
this.getContractAddress());
|
||||||
if (airDropMeta) {
|
if (airDropMeta) {
|
||||||
const exists = await this.exists721Nft(tokenId, this.getContractAddress());
|
const exists = await this.exists721Nft(tokenId, this.getContractAddress());
|
||||||
if (!exists) {
|
if (!exists) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user