Hi, can someone please explain me what is achieved when an interface is called with an argument? for example in the code below the "IUniswapV2Pair" interface is passed "pair" argument. I thought that interface is a way to enforce the public API.
IUniswapV2Pair(pair).initialize(token0, token1);
Sep 30, 2020, 11:09 PM