Skip to content

Commit

Permalink
regenerate documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
miquelcabot committed May 8, 2023
1 parent 6dee2c5 commit 9648fe5
Show file tree
Hide file tree
Showing 3 changed files with 105 additions and 0 deletions.
61 changes: 61 additions & 0 deletions docs/SoulName.md
Expand Up @@ -116,6 +116,29 @@ function contractURI() external view returns (string)
|---|---|---|
| _0 | string | undefined |

### defaultSoulName

```solidity
function defaultSoulName(address) external view returns (bool exists, uint256 tokenId)
```





#### Parameters

| Name | Type | Description |
|---|---|---|
| _0 | address | undefined |

#### Returns

| Name | Type | Description |
|---|---|---|
| exists | bool | undefined |
| tokenId | uint256 | undefined |

### exists

```solidity
Expand Down Expand Up @@ -177,6 +200,28 @@ function getApproved(uint256 tokenId) external view returns (address)
|---|---|---|
| _0 | address | undefined |

### getDefaultSoulName

```solidity
function getDefaultSoulName(address owner) external view returns (string)
```

Returns the default soul name of an account

*This function queries the default soul name of the specified account*

#### Parameters

| Name | Type | Description |
|---|---|---|
| owner | address | Address of the owner of the identities |

#### Returns

| Name | Type | Description |
|---|---|---|
| _0 | string | Default soul name associated to the account |

### getExtension

```solidity
Expand Down Expand Up @@ -630,6 +675,22 @@ Sets the URI of the smart contract metadata
|---|---|---|
| _contractURI | string | URI of the smart contract metadata |

### setDefaultSoulName

```solidity
function setDefaultSoulName(uint256 tokenId) external nonpayable
```

Sets the default soul name for the owner

*The caller must be the owner of the soul name.*

#### Parameters

| Name | Type | Description |
|---|---|---|
| tokenId | uint256 | TokenId of the soul name |

### setExtension

```solidity
Expand Down
22 changes: 22 additions & 0 deletions docs/SoulboundIdentity.md
Expand Up @@ -138,6 +138,28 @@ Returns true if the token exists
|---|---|---|
| _0 | bool | True if the token exists |

### getDefaultSoulName

```solidity
function getDefaultSoulName(address owner) external view returns (string)
```





#### Parameters

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

#### Returns

| Name | Type | Description |
|---|---|---|
| _0 | string | undefined |

### getExtension

```solidity
Expand Down
22 changes: 22 additions & 0 deletions docs/interfaces/ISoulName.md
Expand Up @@ -10,6 +10,28 @@

## Methods

### getDefaultSoulName

```solidity
function getDefaultSoulName(address owner) external view returns (string)
```





#### Parameters

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

#### Returns

| Name | Type | Description |
|---|---|---|
| _0 | string | undefined |

### getExtension

```solidity
Expand Down

0 comments on commit 9648fe5

Please sign in to comment.