> For the complete documentation index, see [llms.txt](https://seacows.gitbook.io/seacows-amm-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://seacows.gitbook.io/seacows-amm-docs/technical-reference/core/seacowserc721tradepair/seacowspairmetadata.md).

# 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](/seacows-amm-docs/technical-reference/core/seacowspositionmanager/seacowserc3525.md).

### ownerOf

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

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


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://seacows.gitbook.io/seacows-amm-docs/technical-reference/core/seacowserc721tradepair/seacowspairmetadata.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
