Skip to content

Commit ef257b2

Browse files
authored
Merge pull request #12 from CryptoUnico/patch-1
Update README.md
2 parents 0cac975 + 4ff3a7b commit ef257b2

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

erc777/README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
# ERC777
22

3-
The [ERC777 Token Standard](https://eips.ethereum.org/EIPS/eip-777) improves on the popular [ERC20](https://contracts.vyperhub.io/contracts/erc20) standard.
3+
The [ERC777 Token Standard](https://eips.ethereum.org/EIPS/eip-777) improves upon the popular [ERC20](https://contracts.vyperhub.io/contracts/erc20) standard.
44

5-
It's most defining feature is the use of the new [ERC1820](http://eips.ethereum.org/EIPS/eip-1820) interface standard which it uses in such a way, that each time tokens are sent two things happen:
6-
1. The ERC777 contract It checks wether the sender of the transaction is a contract and wether that contract implements a `tokensToSend(_operator, _from, _to, _amount, _data, _operatorData)` function.
7-
2. It checks wether the receiver of the transaction is a contract and wether that contract implements a `tokensToSend(_operator, _from, _to, _amount, _data, _operatorData)` function.
5+
Its most defining feature is the use of the new [ERC1820](http://eips.ethereum.org/EIPS/eip-1820) interface standard which it uses in such a way, that each time tokens are sent two things happen:
6+
1. The ERC777 contract It checks whether the sender of the transaction is a contract and whether that contract implements a `tokensToSend(_operator, _from, _to, _amount, _data, _operatorData)` function.
7+
2. It checks whether the receiver of the transaction is a contract and whether that contract implements a `tokensToSend(_operator, _from, _to, _amount, _data, _operatorData)` function.
88

99
If the functions exist, then the code inside of both functions is executed.
10-
The exiting thing is, that there are no restrictions on what the code inside of the two functions looks like or what it does.
10+
The exciting part is, that there are no restrictions on what the code inside of the two functions looks like or what it does.
1111

1212
## Tests
1313
### Run local tests
1414
```bash
1515
$ truffle test --network ganache
1616
```
1717
### More tests
18-
Further tests for this implementation can be found [here](https://github.com/0xjac/ERC777/tree/master/test).
18+
Further tests for this implementation may be found [here](https://github.com/0xjac/ERC777/tree/master/test).

0 commit comments

Comments
 (0)