SynapseERC20Factory

Methods

deploy

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

Deploys a new node

Parameters

NameTypeDescription

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

NameTypeDescription

_0

address

Address of the newest node management contract created*

Events

SynapseERC20Created

event SynapseERC20Created(address contractAddress)

Parameters

NameTypeDescription

contractAddress

address

undefined

Last updated