A simple and sufficient ERC20 implementation
Switch branches/tags
Clone or download
Latest commit cee36a1 Dec 2, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib dapp upgrade ds-math Dec 2, 2018
src accept solc 0.4.23 Dec 2, 2018
.gitignore dapp-init ds-token Feb 17, 2017
.gitmodules Revert "no compromises" Aug 28, 2017
Dappfile dappfile Mar 11, 2017
LICENSE gpl3 Nov 3, 2017
Makefile makefile Feb 18, 2017
README.md update readme Nov 22, 2017
default.nix Add default.nix May 8, 2018

README.md

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)