0xRafal / ds-token

A simple and sufficient ERC20 implementation

Home Page:https://dapp.tools/dappsys/ds-token.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DSToken

An ERC20 Token with wholesome memes

Provides a standard ERC20 token interface plus DSAuth-protected mint and burn functions; binary approval via MAX_UINT; as well as push, pull and move aliases for transferFrom operations.

Custom Actions

mint

credit tokens at an address whilst simultaniously increasing totalSupply (requires auth)

burn

debit tokens at an address whilst simultaniously decreasing totalSupply (requires auth)

Aliases

push

transfer an amount from msg.sender to a given address (requires trust or approval)

pull

transfer an amount from a given address to msg.sender (requires trust or approval)

move

transfer an amount from a given src address to a given dst address (requires trust or approval)

About

A simple and sufficient ERC20 implementation

https://dapp.tools/dappsys/ds-token.html

License:GNU General Public License v3.0


Languages

Language:Solidity 98.9%Language:Nix 0.9%Language:Makefile 0.2%