Module brontes_pricing::protocols::uniswap_v2::IUniswapV2Pair
source · Expand description
Module containing a contract’s types and functions.
interface IUniswapV2Pair {
function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast);
function token0() external view returns (address);
function token1() external view returns (address);
function swap(uint256 amount0Out, uint256 amount1Out, address to, bytes calldata data);
event Sync(uint112 reserve0, uint112 reserve1);
}
Structs§
- Event with signature
Sync(uint112,uint112)
and selector0x1c411e9a96e071241c2f21f7726b17ae89e3cab4c78be50e062b03a9fffbbad1
. - Function with signature
getReserves()
and selector0x0902f1ac
. - Container type for the return parameters of the
getReserves()
function. - Function with signature
swap(uint256,uint256,address,bytes)
and selector0x022c0d9f
. - Container type for the return parameters of the
swap(uint256,uint256,address,bytes)
function. - Function with signature
token0()
and selector0x0dfe1681
. - Container type for the return parameters of the
token0()
function. - Function with signature
token1()
and selector0xd21220a7
. - Container type for the return parameters of the
token1()
function.
Enums§
- Container for all the
IUniswapV2Pair
function calls. - Container for all the
IUniswapV2Pair
events.