UNPKG
@uniswap/v4-core
Version:
latest (1.0.2)
1.0.2
1.0.1
1.0.0
🦄 Core smart contracts of Uniswap v4
github.com/Uniswap/v4-core
Uniswap/v4-core
@uniswap/v4-core
/
lib
/
openzeppelin-contracts
/
test
/
helpers
/
methods.js
6 lines
(4 loc)
•
138 B
JavaScript
View Raw
1
2
3
4
5
6
const
{ soliditySha3 } =
require
(
'web3-utils'
);
module
.
exports
= {
selector
:
signature
=>
soliditySha3
(signature).
substring
(
0
,
10
), };