mirror of
				https://github.com/Instadapp/dsa-governance.git
				synced 2024-07-29 22:27:52 +00:00 
			
		
		
		
	deployment
This commit is contained in:
		
							parent
							
								
									8c122e3e54
								
							
						
					
					
						commit
						6eb3b9eb09
					
				
							
								
								
									
										1
									
								
								deployments/mainnet_1/PayloadIGP16.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								deployments/mainnet_1/PayloadIGP16.json
									
									
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
							
								
								
									
										22
									
								
								scripts/deployIGP16.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										22
									
								
								scripts/deployIGP16.js
									
									
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,22 @@
 | 
			
		|||
const hre = require("hardhat");
 | 
			
		||||
const { ethers } = hre;
 | 
			
		||||
 | 
			
		||||
async function main() {
 | 
			
		||||
  const PayloadIGP16 = await ethers.getContractFactory("PayloadIGP16")
 | 
			
		||||
  const payloadIGP16 = await PayloadIGP16.deploy()
 | 
			
		||||
  await payloadIGP16.deployed()
 | 
			
		||||
 | 
			
		||||
  console.log("PayloadIGP16: ", payloadIGP16.address)
 | 
			
		||||
 | 
			
		||||
  await hre.run("verify:verify", {
 | 
			
		||||
    address: payloadIGP16.address,
 | 
			
		||||
    constructorArguments: []
 | 
			
		||||
  })
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
main()
 | 
			
		||||
  .then(() => process.exit(0))
 | 
			
		||||
  .catch(error => {
 | 
			
		||||
    console.error(error);
 | 
			
		||||
    process.exit(1);
 | 
			
		||||
  });
 | 
			
		||||
| 
						 | 
				
			
			@ -2,10 +2,10 @@ const hre = require("hardhat");
 | 
			
		|||
const { ethers } = hre;
 | 
			
		||||
 | 
			
		||||
async function main() {
 | 
			
		||||
  const payload = await ethers.deployContract("PayloadIGP15", [])
 | 
			
		||||
  const payload = await ethers.deployContract("PayloadIGP16", [])
 | 
			
		||||
  await payload.waitForDeployment()
 | 
			
		||||
 | 
			
		||||
  console.log("PayloadIGP15: ", payload.target)
 | 
			
		||||
  console.log("PayloadIGP16: ", payload.target)
 | 
			
		||||
  console.log()
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue
	
	Block a user