Files
openzeppelin-contracts/scripts/generate/templates/MerkleProof.opts.js
github-actions edf6031131 Update docs
2024-10-21 14:27:36 +00:00

12 lines
307 B
JavaScript

const { product } = require('../../helpers');
const OPTS = product(
[
{ suffix: '', location: 'memory' },
{ suffix: 'Calldata', location: 'calldata' },
],
[{ visibility: 'pure' }, { visibility: 'view', hash: 'hasher' }],
).map(objs => Object.assign({}, ...objs));
module.exports = { OPTS };