使用官方的allowlist发布新的nft
This commit is contained in:
parent
89d407b895
commit
9a45a120a9
@ -17,7 +17,7 @@ const deployNFTForGame: DeployFunction =
|
||||
// });
|
||||
// console.log("==OperatorAllowlist addr=", allowListRet.address);
|
||||
// operatorAllowlist = allowListRet.address;
|
||||
operatorAllowlist = '0x3c5991E9A0e6c713163cD0a91f246dc61f18d918'
|
||||
operatorAllowlist = '0x6b969FD89dE634d8DE3271EbE97734FEFfcd58eE'
|
||||
}
|
||||
|
||||
const owner = from;
|
||||
@ -28,19 +28,19 @@ const deployNFTForGame: DeployFunction =
|
||||
// testnet_CF: 0x3c5991E9A0e6c713163cD0a91f246dc61f18d918
|
||||
const { royaltyReceiver, royaltyFee, baseTokenURIHero, baseTokenURIGold, contractURIHero, contractURIGold } = config.token;
|
||||
console.log(owner, name, symbol, baseTokenURIHero, contractURIHero, operatorAllowlist, royaltyReceiver, royaltyFee)
|
||||
// const ret = await hre.deployments.deploy("CFNFTGame", {
|
||||
// from,
|
||||
// args: [owner, name, symbol, baseTokenURIHero, contractURI, operatorAllowlist, royaltyReceiver, royaltyFee],
|
||||
// log: true,
|
||||
// });
|
||||
// console.log("==CFNFTGame addr=", ret.address);
|
||||
// updateArray({
|
||||
// name: "CFHero",
|
||||
// type: "erc721",
|
||||
// json: "assets/contracts/CFNFTGame.json",
|
||||
// address: ret.address,
|
||||
// network: hre.network.name,
|
||||
// });
|
||||
const ret1 = await hre.deployments.deploy("CFNFTGame", {
|
||||
from,
|
||||
args: [owner, name, symbol, baseTokenURIHero, contractURIHero, operatorAllowlist, royaltyReceiver, royaltyFee],
|
||||
log: true,
|
||||
});
|
||||
console.log("==CFNFTGame addr=", ret1.address);
|
||||
updateArray({
|
||||
name: "CFHero",
|
||||
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", {
|
||||
|
@ -17,22 +17,22 @@
|
||||
"json": "assets/contracts/NFTLock.json",
|
||||
"address": "0x59e751c2037B710090035B6ea928e0cce80aC03f"
|
||||
},
|
||||
{
|
||||
"name": "NFTClaimStage2WL",
|
||||
"type": "logic",
|
||||
"json": "assets/contracts/NFTClaimStage2WL.json",
|
||||
"address": "0x09F2D6CAf92860a1f79049E2552eFa54186c883c"
|
||||
},
|
||||
{
|
||||
"name": "CFHero",
|
||||
"type": "erc721",
|
||||
"json": "assets/contracts/CFNFTGame.json",
|
||||
"address": "0x23e7Ef7D6F9bc3305E8EF0Fa1e5e12C1D5a4b06B"
|
||||
"address": "0x65570A86E5aA2B14325f8a13C70b74f7d1E2f5c9"
|
||||
},
|
||||
{
|
||||
"name": "GoldBrick",
|
||||
"type": "erc721",
|
||||
"json": "assets/contracts/CFNFTGame.json",
|
||||
"address": "0x2036A0708AC2F17F67b08357d8b4A7d47cF49c29"
|
||||
},
|
||||
{
|
||||
"name": "NFTClaimStage2WL",
|
||||
"type": "logic",
|
||||
"json": "assets/contracts/NFTClaimStage2WL.json",
|
||||
"address": "0x09F2D6CAf92860a1f79049E2552eFa54186c883c"
|
||||
"address": "0x75C0c6eD851036DB28c750Bd9bfa3A72B5107801"
|
||||
}
|
||||
]
|
Loading…
x
Reference in New Issue
Block a user