This line :
keccak256(uint256(4) . uint256(1)) in web3?
is taken from this Ethereum web page:
http://solidity.readthedocs.io/en/latest/miscellaneous.html#layout-of-state-variables-in-storage
How would I write this line using the web3 JS module?
Ethereum Stack Exchange is a question and answer site for users of Ethereum, the decentralized application platform and smart contract enabled blockchain. It only takes a minute to sign up.
Sign up to join this communityThis line :
keccak256(uint256(4) . uint256(1)) in web3?
is taken from this Ethereum web page:
http://solidity.readthedocs.io/en/latest/miscellaneous.html#layout-of-state-variables-in-storage
How would I write this line using the web3 JS module?