Skip to content

Commit 539e132

Browse files
authored
Update README.md
1 parent 1ab455c commit 539e132

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,15 @@ Some of the following features are inherited from [OpenZeppelin contracts](https
2525
| Minting | mint | contracts/DATAv2.sol |
2626
| Burning | burn, burnFrom | @openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol |
2727

28+
## Minting
29+
30+
DATAv2 has an admin role (controlled by Streamr) that can add and remove minters, who can mint tokens tokens at will. The admin and minters will be contracts that are not controlled by a single wallet. (Minting policy?)
31+
32+
# ERC677 functionality
33+
34+
DATAv2 follows the convention of [LINK](https://etherscan.io/address/0x514910771af9ca656af840dff83e8264ecf986ca#code) and other tokens with regard to the callback function `onTokenTransfer` invoked by `transferAndCall`: DATAv2 does not check the bool return value of `onTokenTransfer`. Instead `onTokenTransfer` should revert if the transfer is to be rejected by the recipient contract. If the recipient is a contract, it must implement `onTokenTransfer` or else `transferAndCall` reverts.
35+
36+
2837
## Migration process
2938

3039
1. We deploy the DATAv2 and DataTokenMigrator contracts

0 commit comments

Comments
 (0)