Skip to content

Commit

Permalink
Refactor getPools to use multicall3
Browse files Browse the repository at this point in the history
  • Loading branch information
fadeev committed Jul 26, 2024
1 parent a47f9ae commit af422f4
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions packages/client/src/multicall3.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
[
{
"inputs": [
{
"components": [
{
"internalType": "address",
"name": "target",
"type": "address"
},
{
"internalType": "bytes",
"name": "callData",
"type": "bytes"
}
],
"internalType": "struct IMulticall3.Call[]",
"name": "calls",
"type": "tuple[]"
}
],
"name": "aggregate",
"outputs": [
{
"internalType": "uint256",
"name": "blockNumber",
"type": "uint256"
},
{
"internalType": "bytes[]",
"name": "returnData",
"type": "bytes[]"
}
],
"stateMutability": "view",
"type": "function"
}
]

0 comments on commit af422f4

Please sign in to comment.