Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/brianmcmichael/ds-deed
A simple and sufficient ERC721 implementation
https://github.com/brianmcmichael/ds-deed
Last synced: about 2 months ago
JSON representation
A simple and sufficient ERC721 implementation
- Host: GitHub
- URL: https://github.com/brianmcmichael/ds-deed
- Owner: brianmcmichael
- License: gpl-3.0
- Created: 2020-06-25T21:55:24.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-07-11T07:33:50.000Z (over 2 years ago)
- Last Synced: 2024-08-04T23:09:39.801Z (5 months ago)
- Language: Solidity
- Size: 106 KB
- Stars: 21
- Watchers: 3
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-smart-contract-development - DS Deed
- awesome-dapptools - DS-Deed
README
# DSDeed
_An ERC721 Token with wholesome memes_
Provides a standard [ERC721](https://eips.ethereum.org/EIPS/eip-721) token interface plus [DSAuth](https://dapp.tools/dappsys/ds-auth)-protected `mint` and `burn` functions.
Inspired by dapphub's [ds-token](https://github.com/dapphub/ds-token)
### Custom Actions
#### `mint`
credit NFT at an address whilst simultaniously increasing user's `balanceOf`
(requires auth)#### `burn`
debit NFT at an address whilst simultaniously decreasing user's `balanceOf`
(requires auth)### Aliases
#### `push`
safe transfer a nft from `msg.sender` to a given address (requires approval)#### `pull`
safe transfer a nft from a given address to `msg.sender` (requires approval)#### `move`
safe transfer a nft from a given `src` address to a given `dst` address (requires approval)