Skip to content

Commit dd8deed

Browse files
authored
Merge pull request #808 from ChenBingWei1201/patch-1
fix: typos in 14_Interface_en/readme.md
2 parents 3d2ef97 + ba4ba91 commit dd8deed

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Languages/en/14_Interface_en/readme.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ other Dapps and smart contracts will know how to interact with it. Because it pr
5353

5454
In addition, the interface is equivalent to the contract `ABI` (Application Binary Interface),
5555
and they can be converted to each other: compiling the interface contract will give you the contract `ABI`,
56-
and [abi-to-sol tool](https://gnidan.github.io/ abi-to-sol/) will convert the `ABI` back to the interface contract.
56+
and [abi-to-sol tool](https://gnidan.github.io/abi-to-sol/) will convert the `ABI` back to the interface contract.
5757

5858
We take the `IERC721` contract, the interface for the `ERC721` token standard, as an example. It consists of 3 events and 9 functions,
5959
which all `ERC721` contracts need to implement. In the interface, each function ends with `;` instead of the function body `{ }`. Moreover, every function in the interface contract is by default `virtual`, so you do not need to label the function as `virtual` explicitly.
@@ -86,8 +86,8 @@ interface IERC721 is IERC165 {
8686

8787
### IERC721 Event
8888
`IERC721` contains 3 events.
89-
- `Transfer` event: emitted during transfer, records the sending address `from`, the receiving address `to`, and `tokenid`.
90-
- `Approval` event: emitted during approval, records the token owner address `owner`, the approved address `approved`, and `tokenid`.
89+
- `Transfer` event: emitted during transfer, records the sending address `from`, the receiving address `to`, and `tokenId`.
90+
- `Approval` event: emitted during approval, records the token owner address `owner`, the approved address `approved`, and `tokenId`.
9191
- `ApprovalForAll` event: emitted during batch approval, records the owner address `owner` of batch approval, the approved address `operator`, and whether the approve is enabled or disabled `approved`.
9292

9393
### IERC721 Function

0 commit comments

Comments
 (0)