Deep Dive
ERC20Template1 contract
Vyper version of the ERC20 standard contract. Implements the ERC20 standard interface and contains the following functions.
Common functions
Function | Description |
---|---|
transfer | Mimics standard ERC20.transfer() function. |
transferFrom | Mimics standard ERC20.transferFrom() function. |
approve | Mimics standard ERC20.approve() function. |
mint | Mimics standard ERC20.mint() function. |
burn | Mimics standard ERC20.burn() function. |
mintAndAuthorizeMinter | Called by the minter. Mints ERC20 to the sender’s account. Additionally, authorizes the minter to spend tokens on behalf of the sender. |
burnAsAuthorizedMinter | Called by the minter. Burns tokens on behalf of the sender. |