Skip to content

Commit ac58b0a

Browse files
committed
Improve deposit fees logging
1 parent bf6ea62 commit ac58b0a

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

script/helpers/PayFeesInArbitrumTestUSDC.s.sol

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,16 @@ contract DepositFees is Script {
2121
vm.startBroadcast(privateKey);
2222
// mint test USDC to sender
2323
testUSDCContract.mint(sender, feesAmount);
24+
console.log("Minting 100 TestUSDC to %s", sender);
2425
// approve fees plug to spend test USDC
2526
testUSDCContract.approve(address(feesPlug), feesAmount);
2627

2728
uint256 balance = testUSDCContract.balanceOf(sender);
28-
console.log("Using address %s with %s balance in wei", sender, balance);
29+
console.log("Using address %s with %s TestUSDC balance in wei", sender, balance);
2930

3031
console.log("Depositing 100 TestUSDC on Arbitrum FeesPlug %s", address(feesPlug));
3132
feesPlug.depositToFeeAndNative(address(testUSDCContract), appGateway, feesAmount);
32-
console.log("Added fee balance for AppGateway %s", feesAmount, appGateway);
33+
console.log("Added 90 credits for fee balance and 10 native credits for AppGateway %s", appGateway);
34+
console.log("If you want to deposit to fees only, it can be deposited using `depositToFee`");
3335
}
3436
}

0 commit comments

Comments
 (0)