Skip to content

Commit

Permalink
Until block and eth function filter (#472)
Browse files Browse the repository at this point in the history
* Rename property to match sdk changes

* Update eth function filter example
  • Loading branch information
stwiname authored Feb 7, 2024
1 parent ae73586 commit 6d0eef2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 2 additions & 0 deletions docs/build/manifest/ethereum.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ const project: EthereumProject = {
* The function can either be the function fragment or signature
* function: '0x095ea7b3'
* function: '0x7ff36ab500000000000000000000000000000000000000000000000000000000'
* function: null - this will filter for native transfers that have no contract calls
*/
function: "approve(address spender, uint256 rawAmount)",
},
Expand Down Expand Up @@ -156,6 +157,7 @@ dataSources:
## The function can either be the function fragment or signature
# function: '0x095ea7b3'
# function: '0x7ff36ab500000000000000000000000000000000000000000000000000000000'
# function: null - this will filter for native transfers that have no contract calls
function: approve(address spender, uint256 rawAmount)
- handler: handleLog
kind: ethereum/LogHandler
Expand Down
5 changes: 3 additions & 2 deletions docs/build/project-upgrades.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,9 @@ When defining a project upgrade, you clone the project manifest (`project.ts`),
```ts
{
parent: {
// The block height when you will switch from the previous reference project CID to the updated version
block: 1050,
// The block height the parent project will run until before switching to the current project.
// `block` is also supported but deprectated, it behaves as an alias for `untilBlock`
untilBlock: 1050,
// The CID of your existing project that you wish to replace
reference: "QmXw6FN6eScxvYXYceuCjKMpqmnuCxwY3Cx4HPhDXgUWe5",
},
Expand Down

0 comments on commit 6d0eef2

Please sign in to comment.