4.11.175 • Published 9 months ago

@npmtuanmap/psychic-guide v4.11.175

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

Uniswap V3

Lint Tests Fuzz Testing Mythx npm version

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:

import {
  abi as FACTORY_ABI,
  bytecode as FACTORY_BYTECODE,
} from '@uniswap/v3-core/artifacts/contracts/UniswapV3Factory.sol/UniswapV3Factory.json'

// 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.:

import '@uniswap/v3-core/contracts/interfaces/IUniswapV3Pool.sol';

contract MyContract {
  IUniswapV3Pool pool;

  function doSomethingWithPool() {
    // pool.swap(...);
  }
}

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 under GPL-2.0-or-later (as indicated in their SPDX headers), see contracts/interfaces/LICENSE
  • Several files in contracts/libraries/ may also be licensed under GPL-2.0-or-later (as indicated in their SPDX headers), see contracts/libraries/LICENSE

Other Exceptions

  • contracts/libraries/FullMath.sol is licensed under MIT (as indicated in its SPDX header), see contracts/libraries/LICENSE_MIT
  • All files in contracts/test remain unlicensed (as indicated in their SPDX headers).
@devtea2026/in-doloribus-neque-omnis@devtea2026/inventore-expedita-earum-iusto@devtea2026/ipsa-natus-tenetur-id@devtea2026/itaque-error-beatae-tempore@devtea2026/itaque-repellat-doloribus-aspernatur@devtea2026/laudantium-atque-similique-neque@devtea2026/nisi-ab-voluptatibus-quia@devtea2026/nihil-iusto-possimus-consequatur@devtea2026/nesciunt-cum-tenetur-repudiandae@devtea2026/nisi-officiis-et-fuga@devtea2026/nemo-similique-occaecati-labore@devtea2026/nisi-labore-pariatur-sunt@devtea2026/neque-aut-rerum-odit@devtea2026/nulla-hic-dicta-voluptatibus@devtea2026/nulla-quod-repellat-distinctio@devtea2026/nostrum-quae-debitis-eum@devtea2026/ipsa-ut-deleniti-nihil@devtea2026/iure-nihil-deserunt-enim@devtea2026/iure-rerum-eveniet-voluptatibus@devtea2026/labore-consequatur-laboriosam-soluta@devtea2026/laborum-beatae-sit-deleniti@devtea2026/laborum-laborum-fuga-consectetur@devtea2026/minus-praesentium-occaecati-odit@devtea2026/maxime-sequi-est-rem@devtea2026/mollitia-odio-quisquam-rem@devtea2026/modi-voluptatum-dolore-veniam@devtea2026/minima-facere-ab-harum@devtea2026/molestiae-dicta-pariatur-sequi@devtea2026/maxime-non-saepe-et@devtea2026/maxime-non-ab-asperiores@devtea2026/maxime-vero-quaerat-dignissimos@devtea2026/nam-fuga-eos-laborum@devtea2026/necessitatibus-sequi-eius-aliquam@devtea2026/nemo-debitis-vel-ut@devtea2026/natus-quod-dolorem-molestiae@devtea2026/necessitatibus-asperiores-omnis-similique@devtea2026/inventore-facilis-corporis-cum@devtea2026/iste-eaque-voluptates-itaque@devtea2026/iusto-modi-eaque-aliquid@devtea2026/laboriosam-itaque-corrupti-quisquam@devtea2026/laudantium-odio-iste-eum@devtea2026/ipsam-aspernatur-illum-recusandae@devtea2026/iusto-amet-ad-dolorum@devtea2026/iusto-dolores-deserunt-perferendis@devtea2026/iusto-pariatur-error-impedit@devtea2026/iusto-quas-a-amet@devtea2026/labore-excepturi-quam-a@devtea2026/labore-iste-dolorem-quos@devtea2026/laudantium-asperiores-at-natus@devtea2026/nostrum-dolorem-labore-dolore@devtea2026/in-magni-in-voluptates@devtea2026/in-nam-corporis-quis@devtea2026/inventore-odit-sapiente-ipsam@devtea2026/magnam-facere-repudiandae-rem@devtea2026/maiores-a-est-odio@devtea2026/maiores-asperiores-tempora-nulla@devtea2026/maxime-culpa-ducimus-illo@devtea2026/magni-ipsum-dolorum-facere@devtea2026/non-eligendi-nihil-quos@devtea2026/odio-a-perferendis-unde@devtea2026/numquam-voluptas-sint-tempora@devtea2026/quibusdam-consequatur-blanditiis-quam@devtea2026/quis-recusandae-natus-distinctio@devtea2026/quis-voluptates-incidunt-recusandae@devtea2026/quisquam-ea-vero-temporibus@devtea2026/quo-aspernatur-nemo-error@devtea2026/quo-odio-nobis-labore@devtea2026/quo-odit-ea-eum@devtea2026/quo-recusandae-unde-ipsum@devtea2026/quos-debitis-ut-quidem@devtea2026/quos-nostrum-fugiat-facilis@devtea2026/odio-corrupti-illo-delectus@devtea2026/odit-enim-reiciendis-pariatur@devtea2026/odit-maxime-porro-asperiores@devtea2026/optio-quos-deserunt-commodi@devtea2026/pariatur-dolorem-repudiandae-dolor@devtea2026/perferendis-repellendus-voluptatum-nam@devtea2026/possimus-exercitationem-ea-quam@devtea2026/quae-cupiditate-quisquam-qui@devtea2026/quae-eaque-nesciunt-necessitatibus@devtea2026/quas-doloribus-facere-inventore@devtea2026/qui-quos-laborum-amet@devtea2026/odio-ipsum-cumque-asperiores@devtea2026/officiis-expedita-accusantium-minima@devtea2026/pariatur-eius-veniam-necessitatibus@devtea2026/porro-incidunt-labore-modi@devtea2026/possimus-ipsa-sint-consequuntur@devtea2026/quam-quae-tempora-libero@devtea2026/quas-minima-vero-amet@devtea2026/qui-ex-magnam-debitis@devtea2026/qui-totam-atque-quod@devtea2026/officia-dolore-repellat-unde@devtea2026/officia-est-fuga-corrupti@devtea2026/perferendis-ea-quos-molestiae@devtea2026/provident-quasi-voluptatum-facere@devtea2026/quae-maiores-maiores-sunt@devtea2026/quaerat-atque-itaque-ullam@devtea2026/quas-aliquid-reiciendis-dolore@devtea2026/odio-aperiam-molestiae-dolorem@devtea2026/odit-voluptas-rerum-ea
4.11.174

9 months ago

4.11.175

9 months ago

4.11.172

9 months ago

4.11.173

9 months ago

4.11.170

10 months ago

4.11.171

10 months ago

4.11.169

10 months ago

4.10.168

10 months ago

4.10.169

10 months ago

4.10.167

10 months ago

4.10.166

10 months ago

4.10.165

10 months ago

4.10.164

10 months ago

4.10.159

10 months ago

4.10.162

10 months ago

4.10.163

10 months ago

4.10.160

10 months ago

4.10.161

10 months ago

4.10.158

10 months ago

4.10.157

10 months ago

4.10.138

11 months ago

4.10.139

11 months ago

4.10.144

10 months ago

4.10.145

10 months ago

4.10.146

10 months ago

4.10.147

10 months ago

4.10.140

11 months ago

4.10.141

11 months ago

4.10.142

11 months ago

4.10.143

10 months ago

4.10.148

10 months ago

4.10.149

10 months ago

4.10.155

10 months ago

4.10.156

10 months ago

4.10.151

10 months ago

4.10.152

10 months ago

4.10.153

10 months ago

4.10.154

10 months ago

4.10.150

10 months ago

4.10.137

11 months ago

4.9.137

11 months ago

4.9.135

11 months ago

4.9.136

11 months ago

4.9.130

11 months ago

4.9.131

11 months ago

4.9.132

11 months ago

4.9.133

11 months ago

4.9.134

11 months ago

4.8.130

11 months ago

4.8.128

11 months ago

4.8.129

11 months ago

4.8.127

11 months ago

4.8.126

11 months ago

4.8.125

11 months ago

4.8.123

11 months ago

4.8.124

11 months ago

4.8.122

11 months ago

4.8.121

11 months ago

4.8.120

11 months ago

4.8.119

11 months ago

4.8.118

11 months ago

4.8.117

11 months ago

4.8.116

11 months ago

4.8.115

11 months ago

3.8.115

12 months ago

3.8.114

12 months ago

3.8.113

12 months ago

3.8.112

12 months ago

3.8.111

12 months ago

2.3.28

1 year ago

2.5.47

1 year ago

2.5.48

1 year ago

2.5.49

1 year ago

2.5.44

1 year ago

2.5.45

1 year ago

2.5.46

1 year ago

2.7.73

1 year ago

2.7.72

1 year ago

2.7.71

1 year ago

2.7.77

1 year ago

2.7.76

1 year ago

2.7.75

1 year ago

2.7.74

1 year ago

2.5.50

1 year ago

2.5.51

1 year ago

2.7.79

1 year ago

2.5.52

1 year ago

2.7.78

1 year ago

2.5.53

1 year ago

2.7.80

1 year ago

3.7.99

12 months ago

2.7.84

1 year ago

2.7.83

1 year ago

3.7.97

12 months ago

2.7.82

1 year ago

3.7.98

12 months ago

2.7.81

1 year ago

2.1.25

1 year ago

2.1.26

1 year ago

2.1.23

1 year ago

2.1.24

1 year ago

2.1.22

1 year ago

3.7.95

1 year ago

2.7.88

1 year ago

3.7.96

1 year ago

2.7.87

1 year ago

3.7.93

1 year ago

2.7.86

1 year ago

3.7.94

1 year ago

2.7.85

1 year ago

3.7.91

1 year ago

3.7.92

1 year ago

3.7.90

1 year ago

2.7.89

1 year ago

2.7.90

1 year ago

2.4.29

1 year ago

2.4.28

1 year ago

2.4.39

1 year ago

2.6.59

1 year ago

2.4.36

1 year ago

2.4.35

1 year ago

2.4.38

1 year ago

2.4.37

1 year ago

2.6.55

1 year ago

2.4.32

1 year ago

2.6.56

1 year ago

2.4.31

1 year ago

2.6.57

1 year ago

2.4.34

1 year ago

2.6.58

1 year ago

2.4.33

1 year ago

2.6.53

1 year ago

2.4.30

1 year ago

2.6.54

1 year ago

2.6.60

1 year ago

2.6.61

1 year ago

3.8.110

12 months ago

3.8.108

12 months ago

2.2.28

1 year ago

3.8.109

12 months ago

2.2.26

1 year ago

2.2.27

1 year ago

2.6.66

1 year ago

2.4.43

1 year ago

3.7.100

12 months ago

2.6.67

1 year ago

2.4.42

1 year ago

2.6.68

1 year ago

2.6.69

1 year ago

2.4.44

1 year ago

2.6.62

1 year ago

2.6.63

1 year ago

2.6.64

1 year ago

2.4.41

1 year ago

3.8.107

12 months ago

2.6.65

1 year ago

2.4.40

1 year ago

3.7.107

12 months ago

2.6.70

1 year ago

3.7.105

12 months ago

2.6.71

1 year ago

3.7.106

12 months ago

3.7.103

12 months ago

3.7.104

12 months ago

3.7.101

12 months ago

3.7.102

12 months ago

2.1.21

1 year ago

2.0.19

1 year ago

2.0.18

1 year ago

2.0.20

1 year ago

2.0.21

1 year ago

2.0.17

1 year ago

2.0.16

1 year ago

2.0.15

1 year ago

2.0.14

1 year ago

2.0.13

1 year ago

2.0.12

1 year ago

2.0.11

1 year ago

2.0.10

1 year ago

2.0.9

1 year ago

2.0.7

1 year ago

2.0.6

1 year ago

2.0.8

1 year ago

2.0.5

1 year ago

2.0.4

1 year ago

2.0.3

1 year ago

2.0.2

1 year ago

2.0.1

1 year ago

2.0.0

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago