Releases: pyk/solray
Releases · pyk/solray
Release list
v0.1.0
Added
solray inspect contracts: list all deployable contracts in a Foundry
projectsolray inspect abstracts: list all abstract contractssolray inspect interfaces: list all interfacessolray inspect libraries: list all librariessolray inspect inheritance-graph <contract>: visualize the inheritance
chain of any contract or interfacesolray inspect external-functions <contract>: list all externally callable
functions from a contract's ABI, includingreceiveandfallback; supports
--include-read-onlyto include view/pure functionssolray inspect modifiers <contract>: list all modifiers on a contract,
including inherited onessolray inspect storage-layout <contract>: show the storage layout of a
contractsolray inspect call-graph <contract> <function>: show the complete call
graph of a function, including reverse call graph supportsolray inspect call-path <contract> <function>: show call paths from entry
functions to a target functionsolray inspect function-source <contract> <function>: display the complete
resolved source code of a function, including inherited modifierssolray scan erc20-transfer-sink: scan the source tree for ERC20transfer
andsafeTransfercall sites- All
inspectandscancommands accept--project <path>to target a
specific Foundry project directory (defaults to.) - Artifact ID syntax (
File.sol:Name) for disambiguating contracts with the
same name across files - Library-first public API with dedicated inspector and scanner types for
programmatic use - Support for incremental builds, cross-file references, and NatSpec blocks in
function source resolution