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

Function makeComp

scripts/compareStorageLayout.js:56–58  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

54
55function compareStorageLayouts(logicLayout, proxyLayout) {
56 function makeComp(x) {
57 return [x.constant, x.name, x.stateVariable, x.storageLocation, x.type, x.value, x.visibility].join(":");
58 }
59 // if(newLayout.length < oldLayout.length) return false;
60 for (var i = 0; i < logicLayout.length; i++) {
61 const a = logicLayout[i].attributes;

Callers 1

compareStorageLayoutsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected