We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3f64f47 commit ce31536Copy full SHA for ce31536
1 file changed
script/helpers/WithdrawCreditsArbitrumFeesPlug.s.sol
@@ -33,7 +33,7 @@ contract WithdrawCredits is Script {
33
if (availableCredits > 0) {
34
uint256 maxFees = 10000000000000000; // Static 1 cent USDC credit (18 decimals)
35
// TODO: Also wrap native amount to be able to max withdraw
36
- uint256 amountToWithdraw = 900000000000000000; // availableCredits - maxFees;
+ uint256 amountToWithdraw = availableCredits - maxFees;
37
38
if (amountToWithdraw > 0) {
39
vm.startBroadcast(privateKey);
0 commit comments