> For the complete documentation index, see [llms.txt](https://docs.forgenie.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.forgenie.com/specification/diamond-foundry/facets/ownablefacet.md).

# OwnableFacet

[Git Source](https://github.com/Forgenie/diamond-foundry/blob/e69a7af04e0636b77b9dd15df62c58172ec045da/src/facets/ownable/OwnableFacet.sol)

**Inherits:** IERC173, OwnableBase, Facet

## Functions

### Ownable\_init

```solidity
function Ownable_init(address owner_) external onlyInitializing;
```

### owner

Returns the owner of the contract.

```solidity
function owner() external view returns (address);
```

### transferOwnership

Transfers the ownership of the contract to a new account (`newOwner`).

*OwnershipTransferred event is emitted here.*

```solidity
function transferOwnership(address newOwner) external onlyOwner;
```
