MCPcopy Create free account
hub / github.com/PolymathNetwork/polymath-core / readStorage

Function readStorage

test/o_security_token.js:120–122  ·  view source on GitHub ↗
(contractAddress, slot)

Source from the content-addressed store, hash-verified

118 let currentTime;
119
120 async function readStorage(contractAddress, slot) {
121 return await web3.eth.getStorageAt(contractAddress, slot);
122 }
123
124 before(async () => {
125 currentTime = new BN(await latestTime());

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected