Files
openzeppelin-contracts/scripts/generate/templates/MerkleProof.opts.js
2024-07-15 18:08:58 +02: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 };