1
This commit is contained in:
parent
8dab52631b
commit
83a0c06d38
24010
server/bin_dev/web3dbspider/config/airdrops/24060302.airdrop.json
Normal file
24010
server/bin_dev/web3dbspider/config/airdrops/24060302.airdrop.json
Normal file
File diff suppressed because it is too large
Load Diff
@ -6,16 +6,6 @@
|
||||
"contract_name": "CFHero",
|
||||
"event_name": "Transfer",
|
||||
"table_name": "t_721nft_transfer"
|
||||
},
|
||||
{
|
||||
"contract_name": "NFTLock",
|
||||
"event_name": "Lock",
|
||||
"table_name": "t_721nft_transfer"
|
||||
},
|
||||
{
|
||||
"contract_name": "NFTLock",
|
||||
"event_name": "UnLock",
|
||||
"table_name": "t_721nft_transfer"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
@ -6,7 +6,8 @@
|
||||
{
|
||||
"net_id": 13473,
|
||||
"air_drop": [
|
||||
"24060301"
|
||||
"24060301",
|
||||
"24060302"
|
||||
]
|
||||
}
|
||||
]
|
||||
|
24010
server/bin_dev/web3tools/config/airdrops/24060302.airdrop.json
Normal file
24010
server/bin_dev/web3tools/config/airdrops/24060302.airdrop.json
Normal file
File diff suppressed because it is too large
Load Diff
@ -15,11 +15,13 @@ class Transfer extends BaseEventProcess {
|
||||
|
||||
await this.mustBeMint(to, tokenId, bcconst.BC_NFT_HERO);
|
||||
if (bcutils.isSysAddress(from)) {
|
||||
console.log(tokenId, this.getNetId());
|
||||
const airDropMeta = metaFactory.getAirDrop(
|
||||
tokenId,
|
||||
this.getNetId(),
|
||||
bcconst.BC_NFT_HERO,
|
||||
this.getContractAddress());
|
||||
console.log(airDropMeta);
|
||||
if (airDropMeta) {
|
||||
await this.apiMint(to, tokenId, airDropMeta);
|
||||
} else {
|
||||
|
@ -10,6 +10,9 @@ const common = require('./common');
|
||||
const startTokenId = 6240603010000001;
|
||||
const endTokenId = 6240603010003001;
|
||||
|
||||
//const startTokenId = 6240603010010001;
|
||||
//const endTokenId = 6240603010013001;
|
||||
|
||||
function mint() {
|
||||
let seqId = 1;
|
||||
const outJson = [];
|
||||
|
Loading…
x
Reference in New Issue
Block a user