docs: more explicitly describe the id function (#2115).

This commit is contained in:
Richard Moore 2022-02-03 16:08:15 -05:00
parent 95b2c72b12
commit 1d419b5829

@ -91,7 +91,7 @@ _code: ERC-20 Transfer Filter Examples @lang<javascript>
filter = {
address: tokenAddress,
topics: [
id("Transfer(address,address,uint256)"),
utils.id("Transfer(address,address,uint256)"),
hexZeroPad(myAddress, 32)
]
};
@ -100,7 +100,7 @@ filter = {
filter = {
address: tokenAddress,
topics: [
id("Transfer(address,address,uint256)"),
utils.id("Transfer(address,address,uint256)"),
null,
hexZeroPad(myAddress, 32)
]
@ -110,7 +110,7 @@ filter = {
filter = {
address: tokenAddress,
topics: [
id("Transfer(address,address,uint256)"),
utils.id("Transfer(address,address,uint256)"),
null,
[
hexZeroPad(myAddress, 32),