IPair
Methods
balanceOf
function balanceOf(address owner) external view returns (uint256)
Parameters
| Name | Type | Description |
|---|---|---|
| owner | address | undefined |
Returns
| Name | Type | Description |
|---|---|---|
| _0 | uint256 | undefined |
getReserves
function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast)
Returns
| Name | Type | Description |
|---|---|---|
| reserve0 | uint112 | undefined |
| reserve1 | uint112 | undefined |
| blockTimestampLast | uint32 | undefined |
swap
function swap(uint256 amount0Out, uint256 amount1Out, address to, bytes data) external nonpayable
Parameters
| Name | Type | Description |
|---|---|---|
| amount0Out | uint256 | undefined |
| amount1Out | uint256 | undefined |
| to | address | undefined |
| data | bytes | undefined |
token0
function token0() external view returns (address)
Returns
| Name | Type | Description |
|---|---|---|
| _0 | address | undefined |
token1
function token1() external view returns (address)
Returns
| Name | Type | Description |
|---|---|---|
| _0 | address | undefined |
totalSupply
function totalSupply() external view returns (uint256)
Returns
| Name | Type | Description |
|---|---|---|
| _0 | uint256 | undefined |