Skip to content

Releases: pyk/solray

Release list

v0.1.0

Choose a tag to compare

@pyk pyk released this 12 Jul 02:33
d7d010b

Added

  • solray inspect contracts: list all deployable contracts in a Foundry
    project
  • solray inspect abstracts: list all abstract contracts
  • solray inspect interfaces: list all interfaces
  • solray inspect libraries: list all libraries
  • solray inspect inheritance-graph <contract>: visualize the inheritance
    chain of any contract or interface
  • solray inspect external-functions <contract>: list all externally callable
    functions from a contract's ABI, including receive and fallback; supports
    --include-read-only to include view/pure functions
  • solray inspect modifiers <contract>: list all modifiers on a contract,
    including inherited ones
  • solray inspect storage-layout <contract>: show the storage layout of a
    contract
  • solray inspect call-graph <contract> <function>: show the complete call
    graph of a function, including reverse call graph support
  • solray inspect call-path <contract> <function>: show call paths from entry
    functions to a target function
  • solray inspect function-source <contract> <function>: display the complete
    resolved source code of a function, including inherited modifiers
  • solray scan erc20-transfer-sink: scan the source tree for ERC20 transfer
    and safeTransfer call sites
  • All inspect and scan commands 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