docs: typos (#1189, #1261)

This commit is contained in:
Richard Moore 2021-02-04 17:21:11 -05:00
parent 0ae9ac6f98
commit 3f97b94d15
No known key found for this signature in database
GPG Key ID: 665176BE8E9DC651

View File

@ -165,7 +165,7 @@ If you are familiar with Databases, this is similar to an //Object Relational Ma
In order to communicate with the Contract on-chain, this class In order to communicate with the Contract on-chain, this class
needs to know what methods are available and how to encode and needs to know what methods are available and how to encode and
decode the data, which is what the //Application Binary Interface// (API) decode the data, which is what the //Application Binary Interface// (ABI)
provides. provides.
This class is a //meta-class//, which means its methods are constructed This class is a //meta-class//, which means its methods are constructed
@ -311,14 +311,14 @@ const daiContract = new ethers.Contract("dai.tokens.ethers.eth", daiAbi, provide
myAddress = await signer.getAddress() myAddress = await signer.getAddress()
//! async myAddress //! async myAddress
// Filter for all token transfers to me // Filter for all token transfers from me
filterFrom = daiContract.filters.Transfer(myAddress, null); filterFrom = daiContract.filters.Transfer(myAddress, null);
// <hide> // <hide>
filterFrom filterFrom
// </hide> // </hide>
//! //!
// Filter for all token transfers from me // Filter for all token transfers to me
filterTo = daiContract.filters.Transfer(null, myAddress); filterTo = daiContract.filters.Transfer(null, myAddress);
// <hide> // <hide>
filterTo filterTo