Skip to content

Latest commit

 

History

History
171 lines (149 loc) · 5.21 KB

ERC20Capped.md

File metadata and controls

171 lines (149 loc) · 5.21 KB

Capped token (ERC20Capped.sol)

View Source: contracts/token/ERC20/ERC20Capped.sol

↗ Extends: ERC20Mintable

ERC20Capped

Mintable token with a token cap.

Contract Members

Constants & Variables

uint256 private _cap;

Functions

cap

function cap() public
returns(uint256)

Returns

the cap for the token minting.

Arguments

Name Type Description

_mint

⤾ overrides ERC20._mint

function _mint(address account, uint256 value) internal undefined

Arguments

Name Type Description
account address
value uint256

Contracts