Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dapphub/ds-token
A simple and sufficient ERC20 implementation
https://github.com/dapphub/ds-token
dappsys erc20 ethereum solidity
Last synced: 3 months ago
JSON representation
A simple and sufficient ERC20 implementation
- Host: GitHub
- URL: https://github.com/dapphub/ds-token
- Owner: dapphub
- License: gpl-3.0
- Created: 2016-08-15T14:41:22.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2023-05-23T01:39:33.000Z (over 1 year ago)
- Last Synced: 2024-04-06T09:34:12.473Z (7 months ago)
- Topics: dappsys, erc20, ethereum, solidity
- Language: Solidity
- Homepage: https://dapp.tools/dappsys/ds-token.html
- Size: 168 KB
- Stars: 225
- Watchers: 17
- Forks: 74
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-smart-contract-development - DS Token
README
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.[ERC20]: https://theethereum.wiki/w/index.php/ERC20_Token_Standard
[DSAuth]: https://dapp.tools/dappsys/ds-auth### 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)