ouc-onchain
Installation
SKILL.md
OUC On-Chain Data Retrieval Skill
This skill provides patterns for querying on-chain data from both EVM and ICP chains.
EVM Queries (via cast)
Query ERC-7546 Dictionary Implementation
# Get implementation address for a selector
cast call $DICTIONARY_ADDR "getImplementation(bytes4)(address)" $SELECTOR --rpc-url $RPC_URL
# Get dictionary owner
cast call $DICTIONARY_ADDR "owner()(address)" --rpc-url $RPC_URL
# Read storage slot directly
cast storage $CONTRACT_ADDR $SLOT --rpc-url $RPC_URL