Installations
npm install @patrten/quis-cum
Developer Guide
Typescript
No
Module System
CommonJS
Node Version
20.13.1
NPM Version
10.5.2
Score
64.2
Supply Chain
87.4
Quality
77.1
Maintenance
100
Vulnerability
100
License
Releases
Contributors
Unable to fetch Contributors
Languages
JavaScript (100%)
Developer
patrten
Download Statistics
Total Downloads
10
Last Day
1
Last Week
1
Last Month
3
Last Year
10
GitHub Statistics
2,020 Commits
2 Watching
1 Branches
1 Contributors
Package Meta Information
Latest Version
1.0.0
Package Id
@patrten/quis-cum@1.0.0
Unpacked Size
21.78 kB
Size
8.43 kB
File Count
14
NPM Version
10.5.2
Node Version
20.13.1
Publised On
24 May 2024
Total Downloads
Cumulative downloads
Total Downloads
10
Last day
0%
1
Compared to previous day
Last week
0%
1
Compared to previous week
Last month
-25%
3
Compared to previous month
Last year
0%
10
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
Dependencies
58
Uniswap V3
This repository contains the core smart contracts for the Uniswap V3 Protocol. For higher level contracts, see the uniswap-v3-periphery repository.
Bug bounty
This repository is subject to the Uniswap V3 bug bounty program, per the terms defined here.
Local deployment
In order to deploy this code to a local testnet, you should install the npm package
@uniswap/v3-core
and import the factory bytecode located at
@uniswap/v3-core/artifacts/contracts/UniswapV3Factory.sol/UniswapV3Factory.json
.
For example:
1import { 2 abi as FACTORY_ABI, 3 bytecode as FACTORY_BYTECODE, 4} from '@uniswap/v3-core/artifacts/contracts/UniswapV3Factory.sol/UniswapV3Factory.json' 5 6// deploy the bytecode
This will ensure that you are testing against the same bytecode that is deployed to mainnet and public testnets, and all Uniswap code will correctly interoperate with your local deployment.
Using solidity interfaces
The Uniswap v3 interfaces are available for import into solidity smart contracts
via the npm artifact @uniswap/v3-core
, e.g.:
1import '@uniswap/v3-core/contracts/interfaces/IUniswapV3Pool.sol';
2
3contract MyContract {
4 IUniswapV3Pool pool;
5
6 function doSomethingWithPool() {
7 // pool.swap(...);
8 }
9}
10
Licensing
The primary license for Uniswap V3 Core is the Business Source License 1.1 (BUSL-1.1
), see LICENSE
. However, some files are dual licensed under GPL-2.0-or-later
:
- All files in
contracts/interfaces/
may also be licensed underGPL-2.0-or-later
(as indicated in their SPDX headers), seecontracts/interfaces/LICENSE
- Several files in
contracts/libraries/
may also be licensed underGPL-2.0-or-later
(as indicated in their SPDX headers), seecontracts/libraries/LICENSE
Other Exceptions
contracts/libraries/FullMath.sol
is licensed underMIT
(as indicated in its SPDX header), seecontracts/libraries/LICENSE_MIT
- All files in
contracts/test
remain unlicensed (as indicated in their SPDX headers).
No vulnerabilities found.
No security vulnerabilities found.
Gathering detailed insights and metrics for @patrten/quis-cum