You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We should investigate how many times precompile functions are used in the current mainnet contracts, and how many transactions have interacted with the current contracts.
Solution
Disassemble contracts bytecode to find out calls to the 0x167, fetch the contract results for these contracts, and get the calls generated in the fetched transactions.
First part:
fetch all contracts on mainnet
disassemble their bytecode, look up for call, staticcall, delegatecall against 0x167 and list how many times each precompile function is used
Second part:
fetch all transactions that have interacted with these contracts
get their calls via MAPI /contracts/results/<tx_hash>/actions
humanize the data and add it to the report
Alternatives
No response
The text was updated successfully, but these errors were encountered:
Problem
We should investigate how many times precompile functions are used in the current mainnet contracts, and how many transactions have interacted with the current contracts.
Solution
Disassemble contracts bytecode to find out calls to the 0x167, fetch the contract results for these contracts, and get the calls generated in the fetched transactions.
First part:
call
,staticcall
,delegatecall
against 0x167 and list how many times each precompile function is usedSecond part:
/contracts/results/<tx_hash>/actions
Alternatives
No response
The text was updated successfully, but these errors were encountered: