Skip to main content

AmmalgamERC20Base

Git Source

Inherits: ERC20Pods, Ownable, ERC20Permit, IAmmalgamERC20

State Variables

pair

ITransferValidator public immutable pair;

tokenType

TokenType public immutable tokenType;

Functions

constructor

constructor(
string memory name,
string memory symbol,
TokenType _tokenType
) ERC20(name, symbol) ERC20Pods(10, 500_000) ERC20Permit(name);

mint

function mint(address to, uint256 amount) public onlyOwner;

burn

function burn(address to, uint256 amount) public onlyOwner;

_afterTokenTransfer

function _afterTokenTransfer(address from, address to, uint256 amount) internal virtual override(ERC20Pods, ERC20);

balanceOf

function balanceOf(address account) public view virtual override(ERC20Pods, IERC20, ERC20) returns (uint256);