# Initializable

* (Initializable.sol)

View Source: [zos-lib/contracts/Initializable.sol](https://github.com/money-on-chain/main-RBTC-contract/blob/master-gitbook/zos-lib/contracts/Initializable.sol)

**↘ Derived Contracts:** [**Governed**](/main-rbtc-contract/smart-contracts/abis-documentation/governed.md)**,** [**MoCBase**](https://github.com/money-on-chain/main-RBTC-contract/blob/master-gitbook/docs/abis/MoCBase.md)**,** [**MoCConnector**](/main-rbtc-contract/smart-contracts/abis-documentation/mocconnector.md)**,** [**MoCHelperLibHarness**](https://github.com/money-on-chain/main-RBTC-contract/blob/master-gitbook/docs/abis/MoCHelperLibHarness.md)**,** [**ReentrancyGuard**](https://github.com/money-on-chain/main-RBTC-contract/blob/master-gitbook/docs/abis/ReentrancyGuard.md)

**Initializable** - version: 0.1.12

Helper contract to support initializer functions. To use it, replace the constructor with a function that has the `initializer` modifier. WARNING: Unlike constructors, initializer functions must be manually invoked. This applies both to deploying an Initializable contract, as well as extending an Initializable contract via inheritance. WARNING: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or ensure that all initializers are idempotent, because this is not dealt with automatically as with constructors.

## Contract Members

**Constants & Variables**

```js
bool private initialized;
```

***

```js
bool private initializing;
```

***

```js
uint256[50] private ______gap;
```

***

## Modifiers

* [initializer](#initializer)

### initializer

Modifier to use in the initializer function of a contract.

```js
modifier initializer() internal
```

**Arguments**

## Functions

* [isConstructor()](#isconstructor)

### isConstructor

Returns true if and only if the function is running in the constructor

```js
function isConstructor() private view
returns(bool)
```

**Arguments**


---

# Agent Instructions: 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://docs.moneyonchain.com/main-rbtc-contract/smart-contracts/abis-documentation/initializable.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.
