update cp quota
This commit is contained in:
@@ -158,6 +158,36 @@ module.exports = async (deployer, network, accounts) => {
|
||||
//Account
|
||||
multiSigAddress = "0xcaa42F09AF66A8BAE3A7445a7f63DAD97c11638b";
|
||||
defaultMaintainer = "0xcaa42F09AF66A8BAE3A7445a7f63DAD97c11638b";
|
||||
} else if (network == 'heco') {
|
||||
//Helper
|
||||
DODOSellHelperAddress = "0xA0Bb1FbC23a547a8D448C7c8a2336F69A9dBa1AF";
|
||||
WETHAddress = "0x5545153ccfca01fbd7dd11c0b23ba694d9509a6f";
|
||||
chiAddress = "0x0000000000000000000000000000000000000000";
|
||||
DODOCalleeHelperAddress = "0xbd5cc9cf41a7dedaa7dfa6da189d3a522fe262d1";
|
||||
DODORouteV2HelperAddress = "";
|
||||
DODOV1PmmHelperAddress = "0xFB973C79C665C0AC69E74C67be90D4C7A6f23c59";
|
||||
//Template
|
||||
CloneFactoryAddress = "0x5dCEAe50CF8C3B885430E0E79226C513Db0318f2";
|
||||
DefaultMtFeeRateAddress = "0x07911226E710dd0b9B1c4a2Dd3c85DeFd821D492";
|
||||
DefaultPermissionAddress = "0xC142FBA5948c372f49aDa159748EA224de6cC9AA";
|
||||
|
||||
DvmTemplateAddress = "0x13742E431830980c59Ca8d8eC4D001F64C0D0f09";
|
||||
DppTemplateAddress = "";
|
||||
DppAdminTemplateAddress = "0x3232fd648997F89E614A021fdAc756d61F9030A1";
|
||||
CpTemplateAddress = "0x02869989ecc2D310C360861Ec2779f7027F65190";
|
||||
//Factory
|
||||
DvmFactoryAddress = "";
|
||||
DppFactoryAddress = "";
|
||||
CpFactoryAddress = "";
|
||||
//Proxy
|
||||
DODOApproveAddress = "";
|
||||
DODOApproveProxyAddress = "";
|
||||
DODOIncentiveAddress = "0x94290Bf438697Fa684d8CE0aC07c09f0e82D4f74";
|
||||
DODOTokenAddress = "0x7d5DF05F987f9B9dD2a13deF1793f943Ad2A5e93";
|
||||
//Account
|
||||
// multiSigAddress = "0xD93c8D2429a6b0269527f148F3A0e5D187B0b1Ca";
|
||||
multiSigAddress = accounts[0];
|
||||
defaultMaintainer = accounts[0];
|
||||
} else return;
|
||||
|
||||
logger.log("====================================================");
|
||||
|
||||
@@ -58,18 +58,32 @@ const POOL_PARAM = [
|
||||
];
|
||||
|
||||
module.exports = async (deployer, network, accounts) => {
|
||||
if (network != "kovan") return;
|
||||
let CloneFactoryAddress = "0xf7959fe661124C49F96CF30Da33729201aEE1b27";
|
||||
let ERC20TemplateAddress = "0x77d2e257241e6971688b08bdA9F658F065d7bb41";
|
||||
let MintableERC20TemplateAddress = "0xA45a64DAba80757432fA4d654Df12f65f020C13C";
|
||||
let ERC20FactoryAddress = "0xCb1A2f64EfB02803276BFB5a8D511C4D950282a0";
|
||||
|
||||
let DPPFactoryAddress = "0x9fA487762d4329eBDD83a00a82C8a02719Fdf512";
|
||||
let DVMFactoryAddress = "0x322F8014C125Da09314d3a68d4d9F427823F17FD";
|
||||
let DODOApproveAddress = "0x4A354b8d0DDb7083f066bDaC1f50d23DE221B01C";
|
||||
let DODOProxyV2Address = "0x5b3faEAa344F8134a7E0A269a9dFb3C7898b090D";
|
||||
// if (network != "kovan") return;
|
||||
let CloneFactoryAddress = "";
|
||||
let ERC20TemplateAddress = "";
|
||||
let MintableERC20TemplateAddress = "";
|
||||
let ERC20FactoryAddress = "";
|
||||
|
||||
let DPPFactoryAddress = "";
|
||||
let DVMFactoryAddress = "";
|
||||
let DODOApproveAddress = "";
|
||||
let DODOProxyV2Address = "";
|
||||
if (network == "kovan") {
|
||||
CloneFactoryAddress = "0xf7959fe661124C49F96CF30Da33729201aEE1b27";
|
||||
ERC20TemplateAddress = "0x77d2e257241e6971688b08bdA9F658F065d7bb41";
|
||||
MintableERC20TemplateAddress = "0xA45a64DAba80757432fA4d654Df12f65f020C13C";
|
||||
ERC20FactoryAddress = "0xCb1A2f64EfB02803276BFB5a8D511C4D950282a0";
|
||||
|
||||
DPPFactoryAddress = "0x9fA487762d4329eBDD83a00a82C8a02719Fdf512";
|
||||
DVMFactoryAddress = "0x322F8014C125Da09314d3a68d4d9F427823F17FD";
|
||||
DODOApproveAddress = "0x4A354b8d0DDb7083f066bDaC1f50d23DE221B01C";
|
||||
DODOProxyV2Address = "0x5b3faEAa344F8134a7E0A269a9dFb3C7898b090D";
|
||||
} else if (network == "heco") {
|
||||
CloneFactoryAddress = "0x5dCEAe50CF8C3B885430E0E79226C513Db0318f2";
|
||||
ERC20TemplateAddress = "";
|
||||
MintableERC20TemplateAddress = "";
|
||||
ERC20FactoryAddress = "";
|
||||
}
|
||||
|
||||
const provider = new Web3.providers.HttpProvider("https://kovan.infura.io/v3/22d4a3b2df0e47b78d458f43fe50a199");
|
||||
|
||||
@@ -262,7 +276,7 @@ module.exports = async (deployer, network, accounts) => {
|
||||
const ERC20FactoryInstance = await ERC20Factory.at(ERC20FactoryAddress);
|
||||
|
||||
const totalSupply = web3.utils.toWei("0", 'ether');
|
||||
for (let i = 0; i < 1; i++) {
|
||||
for (let i = 0; i < 0; i++) {
|
||||
// var tx = await ERC20FactoryInstance.createStdERC20(totalSupply, 'DODO Bird', 'DODO', 18);
|
||||
var tx = await ERC20FactoryInstance.createMintableERC20(totalSupply, 'DODO Bird', 'DODO', 18);
|
||||
// var tx = await ERC20FactoryInstance.createStdERC20(totalSupply, 'USDT Token', 'USDT', 6);
|
||||
|
||||
Reference in New Issue
Block a user