-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* running test against Agung Testnet * fix typo * testing deployment * create standard json * deploy against localhost fork of peaq * uncoment test fork * add batches * add placeholder * add peaq rpc * move place holder to framework * Clean up hardhat configs and networks * keep Root permision for the deployer * add peaq verification api * remove batches used for Agung * remove fork testing * Clean up and comments
- Loading branch information
Showing
6 changed files
with
65 additions
and
190 deletions.
There are no files selected for viewing
22 changes: 22 additions & 0 deletions
22
packages/contracts/deploy/new/10_framework/53_deploy-placeholder.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
import placeholderSetupArtifact from '../../../artifacts/src/framework/plugin/repo/placeholder/PlaceholderSetup.sol/PlaceholderSetup.json'; | ||
import {DeployFunction} from 'hardhat-deploy/types'; | ||
import {HardhatRuntimeEnvironment} from 'hardhat/types'; | ||
|
||
const func: DeployFunction = async function (hre: HardhatRuntimeEnvironment) { | ||
const {deployments, ethers} = hre; | ||
const {deploy} = deployments; | ||
const [deployer] = await ethers.getSigners(); | ||
|
||
await deploy('PlaceholderSetup', { | ||
contract: placeholderSetupArtifact, | ||
from: deployer.address, | ||
args: [], | ||
log: true, | ||
}); | ||
|
||
hre.aragonToVerifyContracts.push({ | ||
...(await deployments.get('PlaceholderSetup')), | ||
}); | ||
}; | ||
export default func; | ||
func.tags = ['New', 'PlaceholderSetup']; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters