# SeacowsPairMetadata

This contract stores the basic metadata, or functions, of the contract and is inherited by `SeacowsERC721TradePair`.

## Functions

### token

```solidity
function token() external view returns (address)
```

Returns the address of the ERC-20 token.

### collection

```solidity
function collection() external view returns (address)
```

Returns the address of the ERC-721 collection.&#x20;

### PERCENTAGE\_PRECISION

```solidity
function PERCENTAGE_PRECISION() external view returns (uint64)
```

Returns the percentage precision used in the pair.

### ONE\_PERCENT

```solidity
function ONE_PERCENT() external view returns (uint64)
```

Returns the value used to represent 1% in the pair with respect to [PERCENTAGE\_PRECISION](#percentage_precision).

### POINT\_FIVE\_PERCENT

```solidity
function POINT_FIVE_PERCENT() external view returns (uint64)
```

Returns the value used to represent 0.5% in the pair with respect to [PERCENTAGE\_PRECISION](#percentage_precision).

### MAX\_PROTOCOL\_FEE\_PERCENT

```solidity
function MAX_PROTOCOL_FEE_PERCENT() external view returns (uint64)
```

Returns the value of maximum protocol fee that can be configured in the pair contract. With respect to [PERCENTAGE\_PRECISION](#percentage_precision).

### totalSupply

```solidity
function totalSupply() external view returns (uint256)
```

Returns the total supply of LP shares.

### balanceOf

```solidity
function balanceOf(uint _tokenId) external view returns (uint256)
```

Returns LP shares amount of a Position NFT. See [ERC-3525](https://seacows.gitbook.io/seacows-amm-docs/technical-reference/core/seacowspositionmanager/seacowserc3525).

### ownerOf

```solidity
function ownerOf(uint _tokenId) external view returns (address)
```

Returns the owner of a Position NFT. See [ERC-3525](https://seacows.gitbook.io/seacows-amm-docs/technical-reference/core/seacowspositionmanager/seacowserc3525).
