File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -50,13 +50,17 @@ const deploy: DeployFunction = async (hre: HardhatRuntimeEnvironment) => {
50
50
const escrow = ( await ethers . getContract ( "EscrowUniversal" ) ) as EscrowUniversal ;
51
51
const WETH = await deployments . get ( "WETH" ) ;
52
52
const DAI = await deployments . get ( "DAI" ) ;
53
+ const PNK = await deployments . getOrNull ( "PNK" ) ;
53
54
const USDC = await deployments . getOrNull ( "USDC" ) ;
54
55
const USDCe = await deployments . getOrNull ( "USDCe" ) ; // USDC.e (Bridged USDC)
55
56
const caps = {
56
57
[ ethers . ZeroAddress ] : ethers . parseUnits ( "0.3" ) ,
57
58
[ WETH . address ] : ethers . parseUnits ( "0.3" ) ,
58
59
[ DAI . address ] : ethers . parseUnits ( "1000" ) ,
59
60
} ;
61
+ if ( PNK ) {
62
+ caps [ PNK . address ] = ethers . parseUnits ( "100000" ) ; // 100,000 PNK
63
+ }
60
64
if ( USDC ) {
61
65
caps [ USDC . address ] = ethers . parseUnits ( "1000" , 6 ) ;
62
66
}
You can’t perform that action at this time.
0 commit comments