mirror of
				https://github.com/Instadapp/aave-protocol-v2.git
				synced 2024-07-29 21:47:30 +00:00 
			
		
		
		
	Add kovan print config
This commit is contained in:
		
							parent
							
								
									3f46697d24
								
							
						
					
					
						commit
						a2c9e0074f
					
				| 
						 | 
				
			
			@ -49,7 +49,8 @@
 | 
			
		|||
    "kovan:verify:tokens": "npm run hardhat:kovan verify:tokens -- --pool Aave",
 | 
			
		||||
    "ropsten:verify:tokens": "npm run hardhat:ropsten verify:tokens -- --pool Aave",
 | 
			
		||||
    "mainnet:verify:tokens": "npm run hardhat:main verify:tokens -- --pool Aave",
 | 
			
		||||
    "print-config:fork:mainnet": "MAINNET_FORK=true hardhat print-config:fork"
 | 
			
		||||
    "print-config:fork:mainnet": "MAINNET_FORK=true hardhat print-config:fork",
 | 
			
		||||
    "print-config:kovan": "hardhat --network kovan print-config --pool Aave --data-provider 0xA1901785c29cBd48bfA74e46b67C736b26054fa4"
 | 
			
		||||
  },
 | 
			
		||||
  "devDependencies": {
 | 
			
		||||
    "@nomiclabs/buidler": "^1.4.7",
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -10,7 +10,7 @@ import { DRE } from '../../helpers/misc-utils';
 | 
			
		|||
import { eEthereumNetwork } from '../../helpers/types';
 | 
			
		||||
 | 
			
		||||
task('print-config', 'Inits the DRE, to have access to all the plugins')
 | 
			
		||||
  .addOptionalParam('dataProvider', 'Address of AaveProtocolDataProvider')
 | 
			
		||||
  .addParam('dataProvider', 'Address of AaveProtocolDataProvider')
 | 
			
		||||
  .addParam('pool', `Pool name to retrieve configuration, supported: ${Object.values(ConfigNames)}`)
 | 
			
		||||
  .setAction(async ({ pool, dataProvider }, localBRE) => {
 | 
			
		||||
    await localBRE.run('set-DRE');
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue
	
	Block a user