deploy nft on bsc

This commit is contained in:
owen05
2021-07-13 15:49:53 +08:00
parent 25e2ccd4b0
commit 51eba29b42
5 changed files with 19 additions and 22 deletions

View File

@@ -64,19 +64,20 @@ module.exports = {
//================== NFT ====================
Fragment: "",
NFTCollateralVault: "",
DODONFTRouteHelper: "",
BuyoutModel: "0xfEA1AcAD77F64bf6E933635eD078e63d22484197",
Fragment: "0x9542F458B7003e7C8e938c6a87161D410243B419",
NFTCollateralVault: "0xd66B8b705D270767Cc9D25400CE61198DA1e3629",
DODONFTRouteHelper: "0x2d8349E957A69E4cC7B4ef225A4B6a85Be57FBF3",
InitializableERC721: "",
InitializableERC1155: "",
NFTTokenFactory: "",
InitializableERC721: "0xbd0Ed394042ae14a1D6b7478386CDFfd9d1ea188",
InitializableERC1155: "0x3c5509Cc5212C62f77e36126efec7ADb75c830A5",
NFTTokenFactory: "0x6e08eaAfea48c147e8d092a7979d7B266f16b8fA",
DodoNftErc721: "",
DodoNftErc1155: "",
DodoNftErc721: "0x5eD972C0a7f8D0C4dEDf6a37848A297B67489888",
DodoNftErc1155: "0xdC9224cbc4B1826Bb74fF383FF1CE94DE1F56119",
DODONFTRegistry: "",
DODONFTProxy: "",
DODONFTRegistry: "0x2c0Dd764A0bE8A7e747Cb0765E268d576edce31a",
DODONFTProxy: "0x4852394EcC099f13bdC44764FA34dEB26D8131fa",
//================= DropsV1 =================
// MysteryBoxV1: "0xc25286ef3BaE3f6Fe2d6d0A6e2acAd0301AF97b8", //波老师
@@ -89,7 +90,7 @@ module.exports = {
],
//================= DropsV2 ==================
DropsFeeModel: "",
DropsProxy: ""
DropsFeeModel: "0x6de96b1a41FF2E8264925B4C5C0564C46DC0C67d",
DropsProxy: "0xC05A30468d039381AaBaB6dcaC31078DB2C3323B"
}
}

View File

@@ -20,14 +20,10 @@ module.exports = {
DSP: "0xe2C23cBF03930418BF97e173FE3E950aD29fdb06",
DPPAdmin: "0x2FF619B4Cfe36b0F92dD933256B1581a3269a5F4",
CP: "0x6850eE8cF963B913a8eC3610B5f128C3100178E5",
<<<<<<< HEAD
ERC20: "0x7119D1Ec8235bd0a82289fDb1cCAa4bD4D1e0605",
MintableERC20: "",
CustomERC20: "0x0Cd57DC8367362314C510446FD106B66989Eb81a",
=======
ERC20: "0x80Dd80AF76D82c1962DdFb7d69C6Fdca2AAEEF00",
MintableERC20: "0x595D13871de67Ae33b452e6ef59Aa18d23634FdE",
>>>>>>> deploy on rinkeby
//Factory
DVMFactory: "0x17DddEFA0c82E0c850a4Adac2aFE3F1fe977A242",
@@ -36,10 +32,7 @@ module.exports = {
CrowdPoolingFactory: "0xDD43520779dDCfbDe373174Ee36aEaD39771cD4f",
UpCpFactory: "0xb09E91505347234Cb722D67042290f50F1C13749",
ERC20Factory: "0x48476599281CB7DD46dbE47264C4594d1d2E19A8",
<<<<<<< HEAD
ERC20V2Factory: "0x7A22e361cB74E69B5B1C800A3aAbE3E50e84F4F6",
=======
>>>>>>> deploy on rinkeby
//Approve
DODOApprove: "0xcC8d87A7C747eeE4242045C47Ef25e0A81D56ae3",

View File

@@ -6,7 +6,6 @@ const { MBTEST_CONFIG } = require("./config/mbtest-config");
const { MBTESTNET_CONFIG } = require("./config/mbtestnet-config");
const { MATIC_CONFIG } = require("./config/matic-config");
const { ARB_CONFIG } = require("./config/arb-config");
const { ARB_CONFIG } = require("./config/arb-config");
const { RINKEBY_CONFIG } = require("./config/rinkeby-config");
exports.GetConfig = function (network, accounts) {

View File

@@ -168,6 +168,10 @@ module.exports = async (deployer, network, accounts) => {
await deployer.deploy(BuyoutModel);
BuyoutModelAddress = BuyoutModel.address;
logger.log("BuyoutModelAddress: ", BuyoutModelAddress);
const BuyoutModelInstance = await BuyoutModel.at(BuyoutModelAddress);
var tx = await BuyoutModelInstance.initOwner(multiSigAddress);
logger.log("Init BuyoutModelAddress Tx:", tx.tx);
}
//DODONFTRouteHelper

View File

@@ -63,7 +63,7 @@ module.exports = {
DEPLOY_NFT: false,
COLLECTIONS: false,
MYSTERYBOX_V1: false,
Drops_V2: true,
Drops_V2: false,
},
networks: {