New answers tagged storage
1
vote
Accepted
Find slot of private variable
Forge provides the inspect command to get specialized information about a smart contract.
Printing a contract's storage layout is achieved via:
forge inspect <Contract> storage --pretty
Note ...
Top 50 recent answers are included
Related Tags
storage × 602solidity × 278
contract-design × 109
contract-development × 81
memory × 73
arrays × 59
blockchain × 53
struct × 52
mapping × 51
gas × 44
evm × 36
ipfs × 25
go-ethereum × 24
web3js × 22
swarm × 22
transactions × 18
private-blockchain × 17
dapps × 17
remix × 16
events × 16
database × 15
get-storage-at × 15
contract-deployment × 14
dapp-development × 12
truffle × 11