# ERC20Mintable

View Source: [openzeppelin-solidity/contracts/token/ERC20/ERC20Mintable.sol](https://github.com/money-on-chain/main-RBTC-contract/blob/master-gitbook/openzeppelin-solidity/contracts/token/ERC20/ERC20Mintable.sol)

**↗ Extends:** [**ERC20**](https://github.com/money-on-chain/main-RBTC-contract/blob/master-gitbook/docs/abis/ERC20.md)**,** [**MinterRole**](https://github.com/money-on-chain/main-RBTC-contract/blob/master-gitbook/docs/abis/MinterRole.md) **↘ Derived Contracts:** [**OwnerBurnableToken**](/main-rbtc-contract/smart-contracts/abis-documentation/ownerburnabletoken.md)

**ERC20Mintable** - version: 0.1.12

Extension of `ERC20` that adds a set of accounts with the `MinterRole`, which have permission to mint (create) new tokens as they see fit.

* At construction, the deployer of the contract is the only minter.

## Functions

* [mint(address account, uint256 amount)](#mint)

### mint

See `ERC20._mint`. \* Requirements: \* - the caller must have the `MinterRole`.

```js
function mint(address account, uint256 amount) public nonpayable onlyMinter 
returns(bool)
```

**Arguments**

| Name    | Type    | Description |
| ------- | ------- | ----------- |
| account | address |             |
| amount  | uint256 |             |


---

# 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/erc20mintable.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.
