Pretty much every coin with taxes has an allowance function to give the router allowance over max uint to be able to sell the tokens.
However, I always see the allowance given to 'router', which inclues the address in combination of the interface.
routerAdd = 0x...;
router = IDEX(routerAdd);
allowance[address(this)][address(router)] = type(uint256).max;
My question is, why does everyone use 'router' instead of 'routerAdd' on its own? Is there a specific reason for doing so, or would it be actually equivalent to use:
routerAdd= 0x...;
router = IDEX(routerAdd);
allowance[address(this)][address(routerAdd)] = type(uint256).max;