Files
openzeppelin-contracts/test/helpers/methods.js

6 lines
137 B
JavaScript

const { ethers } = require('hardhat');
module.exports = {
selector: signature => ethers.FunctionFragment.from(signature).selector,
};