> For the complete documentation index, see [llms.txt](https://docs.algebra.finance/algebra-integral-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.algebra.finance/algebra-integral-documentation/algebra-v1-technical-reference/contracts/api-reference-v1.0/v1.0-periphery/erc721.md).

# ERC721

## ERC721

ERC721 Non-Fungible Token Standard basic implementation

*Developer note: see <https://eips.ethereum.org/EIPS/eip-721>*

### Functions

#### constructor

`constructor(string,string)` public

| Name     | Type   | Description |
| -------- | ------ | ----------- |
| name\_   | string |             |
| symbol\_ | string |             |

#### balanceOf

`balanceOf(address)` view public

| Name  | Type    | Description |
| ----- | ------- | ----------- |
| owner | address |             |

**Returns:**

| Name | Type    | Description |
| ---- | ------- | ----------- |
| \[0] | uint256 |             |

#### ownerOf

`ownerOf(uint256)` view public

| Name    | Type    | Description |
| ------- | ------- | ----------- |
| tokenId | uint256 |             |

**Returns:**

| Name | Type    | Description |
| ---- | ------- | ----------- |
| \[0] | address |             |

#### name

`name()` view public

**Returns:**

| Name | Type   | Description |
| ---- | ------ | ----------- |
| \[0] | string |             |

#### symbol

`symbol()` view public

**Returns:**

| Name | Type   | Description |
| ---- | ------ | ----------- |
| \[0] | string |             |

#### tokenURI

`tokenURI(uint256)` view public

| Name    | Type    | Description |
| ------- | ------- | ----------- |
| tokenId | uint256 |             |

**Returns:**

| Name | Type   | Description |
| ---- | ------ | ----------- |
| \[0] | string |             |

#### baseURI

`baseURI()` view public

**Returns:**

| Name | Type   | Description |
| ---- | ------ | ----------- |
| \[0] | string |             |

#### tokenOfOwnerByIndex

`tokenOfOwnerByIndex(address,uint256)` view public

| Name  | Type    | Description |
| ----- | ------- | ----------- |
| owner | address |             |
| index | uint256 |             |

**Returns:**

| Name | Type    | Description |
| ---- | ------- | ----------- |
| \[0] | uint256 |             |

#### totalSupply

`totalSupply()` view public

**Returns:**

| Name | Type    | Description |
| ---- | ------- | ----------- |
| \[0] | uint256 |             |

#### tokenByIndex

`tokenByIndex(uint256)` view public

| Name  | Type    | Description |
| ----- | ------- | ----------- |
| index | uint256 |             |

**Returns:**

| Name | Type    | Description |
| ---- | ------- | ----------- |
| \[0] | uint256 |             |

#### approve

`approve(address,uint256)` public

| Name    | Type    | Description |
| ------- | ------- | ----------- |
| to      | address |             |
| tokenId | uint256 |             |

#### getApproved

`getApproved(uint256)` view public

| Name    | Type    | Description |
| ------- | ------- | ----------- |
| tokenId | uint256 |             |

**Returns:**

| Name | Type    | Description |
| ---- | ------- | ----------- |
| \[0] | address |             |

#### setApprovalForAll

`setApprovalForAll(address,bool)` public

| Name     | Type    | Description |
| -------- | ------- | ----------- |
| operator | address |             |
| approved | bool    |             |

#### isApprovedForAll

`isApprovedForAll(address,address)` view public

| Name     | Type    | Description |
| -------- | ------- | ----------- |
| owner    | address |             |
| operator | address |             |

**Returns:**

| Name | Type | Description |
| ---- | ---- | ----------- |
| \[0] | bool |             |

#### transferFrom

`transferFrom(address,address,uint256)` public

| Name    | Type    | Description |
| ------- | ------- | ----------- |
| from    | address |             |
| to      | address |             |
| tokenId | uint256 |             |

#### safeTransferFrom

`safeTransferFrom(address,address,uint256)` public

| Name    | Type    | Description |
| ------- | ------- | ----------- |
| from    | address |             |
| to      | address |             |
| tokenId | uint256 |             |

#### safeTransferFrom

`safeTransferFrom(address,address,uint256,bytes)` public

| Name    | Type    | Description |
| ------- | ------- | ----------- |
| from    | address |             |
| to      | address |             |
| tokenId | uint256 |             |
| \_data  | bytes   |             |

***

## ERC721

ERC721 Non-Fungible Token Standard basic implementation

*Developer note: see <https://eips.ethereum.org/EIPS/eip-721>*

### Functions

#### constructor

`constructor(string,string)` public

| Name     | Type   | Description |
| -------- | ------ | ----------- |
| name\_   | string |             |
| symbol\_ | string |             |

#### balanceOf

`balanceOf(address)` view public

| Name  | Type    | Description |
| ----- | ------- | ----------- |
| owner | address |             |

**Returns:**

| Name | Type    | Description |
| ---- | ------- | ----------- |
| \[0] | uint256 |             |

#### ownerOf

`ownerOf(uint256)` view public

| Name    | Type    | Description |
| ------- | ------- | ----------- |
| tokenId | uint256 |             |

**Returns:**

| Name | Type    | Description |
| ---- | ------- | ----------- |
| \[0] | address |             |

#### name

`name()` view public

**Returns:**

| Name | Type   | Description |
| ---- | ------ | ----------- |
| \[0] | string |             |

#### symbol

`symbol()` view public

**Returns:**

| Name | Type   | Description |
| ---- | ------ | ----------- |
| \[0] | string |             |

#### tokenURI

`tokenURI(uint256)` view public

| Name    | Type    | Description |
| ------- | ------- | ----------- |
| tokenId | uint256 |             |

**Returns:**

| Name | Type   | Description |
| ---- | ------ | ----------- |
| \[0] | string |             |

#### baseURI

`baseURI()` view public

**Returns:**

| Name | Type   | Description |
| ---- | ------ | ----------- |
| \[0] | string |             |

#### tokenOfOwnerByIndex

`tokenOfOwnerByIndex(address,uint256)` view public

| Name  | Type    | Description |
| ----- | ------- | ----------- |
| owner | address |             |
| index | uint256 |             |

**Returns:**

| Name | Type    | Description |
| ---- | ------- | ----------- |
| \[0] | uint256 |             |

#### totalSupply

`totalSupply()` view public

**Returns:**

| Name | Type    | Description |
| ---- | ------- | ----------- |
| \[0] | uint256 |             |

#### tokenByIndex

`tokenByIndex(uint256)` view public

| Name  | Type    | Description |
| ----- | ------- | ----------- |
| index | uint256 |             |

**Returns:**

| Name | Type    | Description |
| ---- | ------- | ----------- |
| \[0] | uint256 |             |

#### approve

`approve(address,uint256)` public

| Name    | Type    | Description |
| ------- | ------- | ----------- |
| to      | address |             |
| tokenId | uint256 |             |

#### getApproved

`getApproved(uint256)` view public

| Name    | Type    | Description |
| ------- | ------- | ----------- |
| tokenId | uint256 |             |

**Returns:**

| Name | Type    | Description |
| ---- | ------- | ----------- |
| \[0] | address |             |

#### setApprovalForAll

`setApprovalForAll(address,bool)` public

| Name     | Type    | Description |
| -------- | ------- | ----------- |
| operator | address |             |
| approved | bool    |             |

#### isApprovedForAll

`isApprovedForAll(address,address)` view public

| Name     | Type    | Description |
| -------- | ------- | ----------- |
| owner    | address |             |
| operator | address |             |

**Returns:**

| Name | Type | Description |
| ---- | ---- | ----------- |
| \[0] | bool |             |

#### transferFrom

`transferFrom(address,address,uint256)` public

| Name    | Type    | Description |
| ------- | ------- | ----------- |
| from    | address |             |
| to      | address |             |
| tokenId | uint256 |             |

#### safeTransferFrom

`safeTransferFrom(address,address,uint256)` public

| Name    | Type    | Description |
| ------- | ------- | ----------- |
| from    | address |             |
| to      | address |             |
| tokenId | uint256 |             |

#### safeTransferFrom

`safeTransferFrom(address,address,uint256,bytes)` public

| Name    | Type    | Description |
| ------- | ------- | ----------- |
| from    | address |             |
| to      | address |             |
| tokenId | uint256 |             |
| \_data  | bytes   |             |

***
