# SynapseERC20Factory

## Methods

### deploy

```solidity
function deploy(address synapseERC20Address, string name, string symbol, uint8 decimals, address owner) external nonpayable returns (address)
```

Deploys a new node

#### Parameters

| Name                | Type    | Description                                                    |
| ------------------- | ------- | -------------------------------------------------------------- |
| synapseERC20Address | address | address of the synapseERC20Address contract to initialize with |
| name                | string  | Token name                                                     |
| symbol              | string  | Token symbol                                                   |
| decimals            | uint8   | Token name                                                     |
| owner               | address | admin address to be initialized with                           |

#### Returns

| Name | Type    | Description                                              |
| ---- | ------- | -------------------------------------------------------- |
| \_0  | address | Address of the newest node management contract created\* |

## Events

### SynapseERC20Created

```solidity
event SynapseERC20Created(address contractAddress)
```

#### Parameters

| Name            | Type    | Description |
| --------------- | ------- | ----------- |
| contractAddress | address | undefined   |


---

# 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://contracts.synapseprotocol.com/bridge/synapseerc20factory.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.
