1

This question already has an answer here:

Ethereum's smart contract's data should be stored at Merkle Patricia tree, which is available on every full node. So is there a way to read a data structure(eg:mapping) of a smart contract.

More specially, I want to access ens smart contract's records mapping. https://github.com/ethereum/ens/blob/master/contracts/ENS.sol line 15, in order to get all the name registered.

marked as duplicate by Ismael, Jeff Coleman, Community Jun 8 '17 at 0:54

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • It is not possible to iterate over a mapping because the key values are not stored. For an already deployed contract one option is to trace every transaction that calls such contract. – Ismael Jun 7 '17 at 16:59

Browse other questions tagged or ask your own question.