solid-grinder 0.0.1

A CLI that goes along with building blocks of smart contract. Along with our front-end snippets, this toolbox can reduce L2 gas cost by encoding calldata for dApps development to use as little bytes of calldata as possible.
1
2
3
4
5
6
7
function mapValues(obj, fn) {
  return Object.fromEntries([...Object.entries(obj)].map(([k, v]) => [k, fn(v)]));
}

module.exports = {
  mapValues,
};