Skip to content

Commit 0887c47

Browse files
authored
Update README.md
1 parent a77b8eb commit 0887c47

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

erc777/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
The [ERC777 Token Standard](https://eips.ethereum.org/EIPS/eip-777) improves on the popular [ERC20](https://contracts.vyperhub.io/contracts/erc20) standard.
44

55
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.
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.
88

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

0 commit comments

Comments
 (0)