Skip to content

Commit

Permalink
Deploy BalanceHelpers on Rootstock mainnet and testnet (#144)
Browse files Browse the repository at this point in the history
* Deploy balanceHelper contracts on rootstockTestnet
* Deployed contracts on testnet and mainnet
- Deployed all v1 contracts on Rootstock Testnet and `BalanceHelper` and `BalanceHelperV2` on Rootstock Mainnet.
- Added chain configs for Rootstock Mainnet.
- Added `balanceHelpers` tag on deployment script to make it easier to solely deploy balance helper contracts.
-Upgraded hardhat-etherscan package to later version.
* Fix test issue and bump package version
---------
Co-authored-by: Luke Wickens <[email protected]>
  • Loading branch information
kaushalrajbacancy authored Apr 4, 2024
1 parent c52f209 commit a658e67
Show file tree
Hide file tree
Showing 30 changed files with 8,835 additions and 282 deletions.
15 changes: 15 additions & 0 deletions DEPLOYMENTS.md

Large diffs are not rendered by default.

8 changes: 3 additions & 5 deletions deploy/001_create-common.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
import { DeployFunction } from "hardhat-deploy/types";

const func: DeployFunction = async hre => {
const {
deployments: { deploy },
getNamedAccounts,
} = hre;
const { deployments, getNamedAccounts } = hre;
const { deploy } = deployments;
const { from } = await getNamedAccounts();

await deploy("BalancesHelper", {
Expand All @@ -18,6 +16,6 @@ const func: DeployFunction = async hre => {
});
};

func.tags = ["create", "common"];
func.tags = ["create", "common", "balanceHelpers"];

module.exports = func;
1 change: 1 addition & 0 deletions deployments/rootstock/.chainId
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
30
81 changes: 81 additions & 0 deletions deployments/rootstock/BalancesHelper.json

Large diffs are not rendered by default.

160 changes: 160 additions & 0 deletions deployments/rootstock/BalancesHelperV2.json

Large diffs are not rendered by default.

Large diffs are not rendered by default.

157 changes: 157 additions & 0 deletions deployments/rootstock/solcInputs/c6bcc786074bb5f47af1ba8ec29021b3.json

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions deployments/rootstockTestnet/.chainId
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
31
65 changes: 65 additions & 0 deletions deployments/rootstockTestnet/BalancesHelper.json

Large diffs are not rendered by default.

160 changes: 160 additions & 0 deletions deployments/rootstockTestnet/BalancesHelperV2.json

Large diffs are not rendered by default.

Loading

0 comments on commit a658e67

Please sign in to comment.