Skip to content

Commit

Permalink
Merge pull request #195 from aktionariat/qts-zchf-brokerbot
Browse files Browse the repository at this point in the history
deploy: qts-zchf brokerbot
  • Loading branch information
rube-de committed May 15, 2024
2 parents 107f7da + ab27161 commit b586f5d
Show file tree
Hide file tree
Showing 4 changed files with 1,301 additions and 7 deletions.
4 changes: 2 additions & 2 deletions deploy/redeploy-bb/deploy_brokerbot_ex.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ module.exports = async function ({ ethers, deployments, getNamedAccounts, networ
});

// register brokerbot at registry
//brokerbotRegistry = await ethers.getContractAt("BrokerbotRegistry", "0xcB3e482df38d62E73A7aE0E15a2605caDcc5aE98"); // is fixed address (change will mess up subgraph)
//brokerbotRegistry.registerBrokerbot(address, baseCurrencyContract, shares.address);
brokerbotRegistry = await ethers.getContractAt("BrokerbotRegistry", "0xcB3e482df38d62E73A7aE0E15a2605caDcc5aE98"); // is fixed address (change will mess up subgraph)
brokerbotRegistry.registerBrokerbot(address, baseCurrencyContract, shares);

// auto verify on etherscan
if (network.name != "hardhat") {
Expand Down
10 changes: 5 additions & 5 deletions deploy/redeploy-bb/deploy_config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ const { paymentHubAddress } = require("../../scripts/deploy_config_mainnet");

module.exports = {
// Parameters used during contract development and testing
symbol: "BOSS",
shareAddress: "0x2e880962a9609aa3eab4def919fe9e917e99073b",
symbol: "DQTS",
shareAddress: "0x8747a3114Ef7f0eEBd3eB337F745E31dBF81a952",
paymentHubAddress: "0xaf1A5a633A31f8659F06e32da7b41E207AdAd43C", // one WITHOUT the new path for payFromEther
sharePrice: "10202370000000000000",
increment: "5000000000000",
sharePrice: "8224150000000000000",
increment: "30000000000000",
// baseCurrencyAddress: "0xB4272071eCAdd69d933AdcD19cA99fe80664fc08", // mainent xchf
baseCurrencyAddress: "0xB58E61C3098d85632Df34EecfB899A1Ed80921cB", // mainent zchf
multisigAddress: "0xC63186E1eDd8621C5B63D1fFaEdd1182Ee1572B0"
multisigAddress: "0x81C36908a73C3117C03FE4a625d890987376E69F"
};

0 comments on commit b586f5d

Please sign in to comment.