> ## Documentation Index
> Fetch the complete documentation index at: https://base-a060aa97-mux-docs-claude-6.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# IB20.updateName

> Generated B20 reference for updateName(string).

## Signature

```solidity theme={null}
function updateName(string calldata newName) external;
```

| Field               | Value                |
| ------------------- | -------------------- |
| Selector            | `0x84da92a7`         |
| Canonical signature | `updateName(string)` |

## Description

Updates the token's `name`. Emits `NameUpdated` followed by `EIP712DomainChanged`.

## Parameters

| Parameter | Description     |
| --------- | --------------- |
| `newName` | New token name. |

## Reverts

* `AccessControlUnauthorizedAccount` when the caller does not hold `METADATA_ROLE`.

## Access control

`METADATA_ROLE` gates this call.

## Policy interaction

No direct policy interaction.

## Example

```solidity theme={null}
IB20(target).updateName(newName);
```
