Skip to main content

AmmalgamTokenFactory

Git Source

Inherits: ITokenFactory

Functions

newTokens

function newTokens(address tokenX, address tokenY) external override returns (IAmmalgamERC20[6] memory tokens);

uniSymbol

adapted from https://github.com/1inch/mooniswap/blob/master/contracts/libraries/UniERC20.sol

function uniSymbol(address token) private view returns (string memory);

Parameters

NameTypeDescription
tokenaddressaddress of the token

_toHex

function _toHex(address account) private pure returns (string memory);

_toHex

function _toHex(bytes memory data) private pure returns (string memory);