The gas consumption of the protocol depends on the specific action executed and the user. Specifically, it might be higher whenever a user executes an action for the first time, or depending on how many currencies the user has deposited/borrowed. Every currency added to Aave Protocol slightly increases the gas cost of all the operations that involve checking the account global liquidity. The gas cost of the
flashLoan() function also depends on the specific Flash Loan implementation.