增加一个英雄nft, 用于区别对待老的英雄
This commit is contained in:
parent
d187f40538
commit
92cd4db0d8
@ -35,27 +35,27 @@ const deployNFTForGame: DeployFunction =
|
||||
});
|
||||
console.log("==CFNFTGame addr=", ret1.address);
|
||||
updateArray({
|
||||
name: "CFHero",
|
||||
name: "CFHero_normal",
|
||||
type: "erc721",
|
||||
json: "assets/contracts/CFNFTGame.json",
|
||||
address: ret1.address,
|
||||
network: hre.network.name,
|
||||
});
|
||||
const nameGold = "CFGold brick";
|
||||
const symbolGold = "CFG";
|
||||
const ret = await hre.deployments.deploy("CFNFTGame", {
|
||||
from,
|
||||
args: [owner, nameGold, symbolGold, baseTokenURIGold, contractURIGold, operatorAllowlist, royaltyReceiver, royaltyFee],
|
||||
log: true,
|
||||
});
|
||||
console.log("==CFNFTGame addr=", ret.address);
|
||||
updateArray({
|
||||
name: "GoldBrick",
|
||||
type: "erc721",
|
||||
json: "assets/contracts/CFNFTGame.json",
|
||||
address: ret.address,
|
||||
network: hre.network.name,
|
||||
});
|
||||
// const nameGold = "CFGold brick";
|
||||
// const symbolGold = "CFG";
|
||||
// const ret = await hre.deployments.deploy("CFNFTGame", {
|
||||
// from,
|
||||
// args: [owner, nameGold, symbolGold, baseTokenURIGold, contractURIGold, operatorAllowlist, royaltyReceiver, royaltyFee],
|
||||
// log: true,
|
||||
// });
|
||||
// console.log("==CFNFTGame addr=", ret.address);
|
||||
// updateArray({
|
||||
// name: "GoldBrick",
|
||||
// type: "erc721",
|
||||
// json: "assets/contracts/CFNFTGame.json",
|
||||
// address: ret.address,
|
||||
// network: hre.network.name,
|
||||
// });
|
||||
};
|
||||
|
||||
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",
|
||||
"json": "assets/contracts/NFTLock.json",
|
||||
"address": "0xC8607507451059CfAe6Ca4D07EC6f631ce8ef9f9"
|
||||
},
|
||||
{
|
||||
"name": "CFHero_normal",
|
||||
"type": "erc721",
|
||||
"json": "assets/contracts/CFNFTGame.json",
|
||||
"address": "0x994dE61dD536B22F7e3BDB77aa3ef55AeC938bFD"
|
||||
}
|
||||
]
|
Loading…
x
Reference in New Issue
Block a user