docs: more explicitly describe the id function (#2115).
This commit is contained in:
parent
95b2c72b12
commit
1d419b5829
@ -91,7 +91,7 @@ _code: ERC-20 Transfer Filter Examples @lang<javascript>
|
|||||||
filter = {
|
filter = {
|
||||||
address: tokenAddress,
|
address: tokenAddress,
|
||||||
topics: [
|
topics: [
|
||||||
id("Transfer(address,address,uint256)"),
|
utils.id("Transfer(address,address,uint256)"),
|
||||||
hexZeroPad(myAddress, 32)
|
hexZeroPad(myAddress, 32)
|
||||||
]
|
]
|
||||||
};
|
};
|
||||||
@ -100,7 +100,7 @@ filter = {
|
|||||||
filter = {
|
filter = {
|
||||||
address: tokenAddress,
|
address: tokenAddress,
|
||||||
topics: [
|
topics: [
|
||||||
id("Transfer(address,address,uint256)"),
|
utils.id("Transfer(address,address,uint256)"),
|
||||||
null,
|
null,
|
||||||
hexZeroPad(myAddress, 32)
|
hexZeroPad(myAddress, 32)
|
||||||
]
|
]
|
||||||
@ -110,7 +110,7 @@ filter = {
|
|||||||
filter = {
|
filter = {
|
||||||
address: tokenAddress,
|
address: tokenAddress,
|
||||||
topics: [
|
topics: [
|
||||||
id("Transfer(address,address,uint256)"),
|
utils.id("Transfer(address,address,uint256)"),
|
||||||
null,
|
null,
|
||||||
[
|
[
|
||||||
hexZeroPad(myAddress, 32),
|
hexZeroPad(myAddress, 32),
|
||||||
|
Loading…
Reference in New Issue
Block a user