Content pfp
Content
@
0 reply
0 recast
0 reaction

taranis pfp
taranis
@taranis.eth
Trick: When you need multiple requests to fetch data from blockchain it is smart to use a Multicall contract. But what if you want some onchain processing before data is returned... You can do a static call with the deploy data of a contract where the constructor returns data with a bit of assembly hacking:
1 reply
0 recast
2 reactions

taranis pfp
taranis
@taranis.eth
You can then use for example hardhat to do a staticall of the deploy data of this contract like:
0 reply
0 recast
0 reaction