增加一个英雄nft, 用于区别对待老的英雄
This commit is contained in:
parent
d187f40538
commit
92cd4db0d8
@ -35,27 +35,27 @@ const deployNFTForGame: DeployFunction =
|
|||||||
});
|
});
|
||||||
console.log("==CFNFTGame addr=", ret1.address);
|
console.log("==CFNFTGame addr=", ret1.address);
|
||||||
updateArray({
|
updateArray({
|
||||||
name: "CFHero",
|
name: "CFHero_normal",
|
||||||
type: "erc721",
|
type: "erc721",
|
||||||
json: "assets/contracts/CFNFTGame.json",
|
json: "assets/contracts/CFNFTGame.json",
|
||||||
address: ret1.address,
|
address: ret1.address,
|
||||||
network: hre.network.name,
|
network: hre.network.name,
|
||||||
});
|
});
|
||||||
const nameGold = "CFGold brick";
|
// const nameGold = "CFGold brick";
|
||||||
const symbolGold = "CFG";
|
// const symbolGold = "CFG";
|
||||||
const ret = await hre.deployments.deploy("CFNFTGame", {
|
// const ret = await hre.deployments.deploy("CFNFTGame", {
|
||||||
from,
|
// from,
|
||||||
args: [owner, nameGold, symbolGold, baseTokenURIGold, contractURIGold, operatorAllowlist, royaltyReceiver, royaltyFee],
|
// args: [owner, nameGold, symbolGold, baseTokenURIGold, contractURIGold, operatorAllowlist, royaltyReceiver, royaltyFee],
|
||||||
log: true,
|
// log: true,
|
||||||
});
|
// });
|
||||||
console.log("==CFNFTGame addr=", ret.address);
|
// console.log("==CFNFTGame addr=", ret.address);
|
||||||
updateArray({
|
// updateArray({
|
||||||
name: "GoldBrick",
|
// name: "GoldBrick",
|
||||||
type: "erc721",
|
// type: "erc721",
|
||||||
json: "assets/contracts/CFNFTGame.json",
|
// json: "assets/contracts/CFNFTGame.json",
|
||||||
address: ret.address,
|
// address: ret.address,
|
||||||
network: hre.network.name,
|
// network: hre.network.name,
|
||||||
});
|
// });
|
||||||
};
|
};
|
||||||
|
|
||||||
deployNFTForGame.tags = ["CFNFTGame"];
|
deployNFTForGame.tags = ["CFNFTGame"];
|
||||||
|
2146
deployments/imtbl_test/CFNFTGame.json
Normal file
2146
deployments/imtbl_test/CFNFTGame.json
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -40,5 +40,11 @@
|
|||||||
"type": "logic",
|
"type": "logic",
|
||||||
"json": "assets/contracts/NFTLock.json",
|
"json": "assets/contracts/NFTLock.json",
|
||||||
"address": "0xC8607507451059CfAe6Ca4D07EC6f631ce8ef9f9"
|
"address": "0xC8607507451059CfAe6Ca4D07EC6f631ce8ef9f9"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "CFHero_normal",
|
||||||
|
"type": "erc721",
|
||||||
|
"json": "assets/contracts/CFNFTGame.json",
|
||||||
|
"address": "0x994dE61dD536B22F7e3BDB77aa3ef55AeC938bFD"
|
||||||
}
|
}
|
||||||
]
|
]
|
Loading…
x
Reference in New Issue
Block a user