4.10.82 • Published 10 months ago

@erboladaiorg/porro-ducimus v4.10.82

Weekly downloads
-
License
MIT
Repository
github
Last release
10 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).
ECMAScript 2016cloudformationiamreusedeepinterruptsregularirqqsisConcatSpreadabletakeidlehttpsreplayminimalinvariantremoveTypedArrayjson-schema-validationjapaneseReactiveExtensionsbundlingposeincludes@@toStringTaglanguagewaitajvECMAScript 2015dayjsRFC-6455fast-deep-clonedomloggingreact-testing-libraryes6ECMAScript 2018StyleSheetpushWebSocketnameoptimizerformseast-asian-widthprotobufStreamsmetadataECMAScript 2021childstatusimmutableserviceloggerparsermergehookformscheme-validationdataviewextradescriptionspinnershttpcompilerkoreanregexptextencryptionreact posemacosbrowserslistfnmatchTypeScriptwafdateinspectglobalThistrimEnddom-testing-libraryfastifypersistentdefinePropertyreducerpromiseanimationassertshandlerthreejshintclassnameskeyclassestypescriptbindauthasserttoArraysortedshellbuffersbrowserES2015flattenletsuperstructsymlinkses-abstractECMAScript 3styleguides3libphonenumberhardlinksObject.valuessyntaxerroryupArrayBuffer#sliceescapeprefixbddECMAScript 2023gitignoreinstalloncefull-widthcliURLObject.fromEntriesUnderscorecall-bindsameValueZerolockfilejsxcensorexit-codechannelismkdirsString.prototype.matchAllmatchAlllogdependency managergesturesroutingstylesglobalsjQuerypopmotionnopeWebSocketsspawnstringifyerror-handlingArray.prototype.flatmockhashworkflowtypeofec2css nestingWeakSetoffsetpolyfillObjectdeepcopycollectioncurlredactdirasteriskschai[[Prototype]]matchesbabel-coretrimsetterweaksetignorevisualxtermprivatees7createrequestpatchstreamnested cssstablewaapiaccessorecmascriptcomputed-typesworkercloudsearchimportdefinegradients css3Float32ArrayhasOwntraverseObject.definePropertycertificatesgraphqlcommandelbreduxebsgetoptBigUint64Arrayback-endArrayBuffer.prototype.slicetypedarrayES2020rulesnegativearktypehasOwnPropertymkdirinternal slotreact-hooksespreeerrorestoobjectcorelengthES2016validatehandlersRxcommandermixinscolorsresolvesetstreamsquerystringflagsmoduleformatimmersnswidthvalidationextendPromiserecursivecomparetdddragbrowserlistTypeBoxastwalkamazonIterator6to5Array.prototype.findLastIndexjwtpackage.jsonsigtermfp.envtsselfES3prettydropvarssequencemapreducesymbolwritableprogressSymbol.toStringTagshamassignforkargsio-tstelephoneES2022a11ypackagestslibestreehotshebangsomeECMAScript 2019emitcachepicomatchpoint-freetypeses8signedinmkdirpflatargvES6tacitserializerInt32ArrayequalitylinkUint8Arrayvaluesframerenumerablenativesortregexredux-toolkitdescriptorrdsruntimenpmclientqueueMicrotaskBigInt64ArraytypanionReactiveXmapmulti-packagestringifierchromiumasciiInt8ArrayzxAsyncIterator.gitignoreperformancecss variablewgetargumentfindLasthooksforEachjson-schemaEScheckponyfillreact-componentapolloharmonyrandomassertionhelpersreact-hook-formclassnamecodesroute53warningconstcharacterxhrObject.ispreprocessorfiltercolorutilitiesreadablestreamendereslintpluginjsdifflesslocalcolumnfile systemimportexportgroupterminaltransportmovetimeloadingtypeerrorvariablesiterationsubprocess_.extendes-shimsreadless.jswriteStreamtoolsajaxObject.keysconsolebootstrap lessglobal objectconfigentriesnodejsbannercallbindfetchshrinkwrapprivate datahas-owncallboundmatchgetOwnPropertyDescriptorpipettypreserve-symlinksSetcontainsCSSstoragegatewayefficientECMAScriptjavascriptJSON-Schemaasync$.extendfullwidthprocessramdamanageres2015fpsbootstrap csssignalsfastcopylistenersflatMapinstallerspeedECMAScript 5trimRightstringdirectorymobilezodpruneiterateECMAScript 2020glacierArray.prototype.includesjson-schema-validatorreadablegdprtypedarraysconfigurableenvironmentsuploadqueueweakmapansischemaReflect.getPrototypeOfArray.prototype.flattenfile__proto__command-linepackage managerES2023ObservableenvironmentsigintObject.assignsimpledbsharedhelperperformantArray.prototype.containsl10nHyBirapidstyled-componentstoolkitintrinsiceventEmittercallbackchromeoutputeveryequalgroupByclass-validatorcloudtrailjsonschemaObservablesvalidRegExp#flagsstateelmJSONworkspace:*less compilertestingvarindicatorvalidatorswfbinariesfromdeepcloneopensslserializationWeakMapsafefixed-widthlivees2017valuefunctionalawesomesauceprotolinuxstatelessmomentclonereactcore-jssesdeep-clonefront-endkeysRegExp.prototype.flagspasswordtermECMAScript 2022symlinkwhatwgglobal this valuejsfastES8makeutilscallArray.prototype.findLastfast-copyECMAScript 6objectbeanstalktranspileracorntrimStartownchineseauthenticationvestSymbolexecfileInt16ArraysettingsESnextgradients cssstructuredCloneeslintnegative zeromonoreposqsspringreducecoercibleoptionexitlazytesterloadbalancingutilwindowgloblastformattingfunctionshigher-orderdatastructureproxyreact animationobjES2017unicodecopyagentdeep-copyinferenceemrObject.getPrototypeOfmru-0make dircall-boundstylesheetsharedarraybufferutil.inspectiteratorqueryuser-streamsstylingdeterministicECMAScript 7getcolumnsECMAScript 2017locationsymbolselectrontyped arrayfunctionfastclonesyntaxpathFloat64Arrayinputes2016dotenvmodulesschemebundlerpropspinnerapiarrayscloudfrontomitbusyES5numbermockingsliceES2021fantasy-landtestcloudwatchvariables in cssregular expressionaccessibilitydescriptorstouch256curriedi18nconcatMapvpcutilityeslint-pluginserverurlcirculartrimLeftRxJSbinObject.entriesdynamodbjsontranspilebinaryfulliestartercss-in-jsshimdatabyteOffsetfluxbytewindowscsseslintconfigstylewhichsetPrototypeOfjestairbnbfigletquoteartArrayfunction.lengthUint16Arraypostcss-pluginfast-deep-copysuperagentArrayBufferpropertiesbcrypteffect-tspostcsstoStringTagzerouninstallcryptautoscalingfindLastIndexenvES2019ES7fast-cloneUint8ClampedArrayflagconcatpredictablees5babelplugin
4.10.82

10 months ago

4.10.81

10 months ago

4.10.80

11 months ago

3.10.80

11 months ago

3.10.79

11 months ago

3.9.79

11 months ago

3.9.78

11 months ago

3.9.77

11 months ago

3.9.76

11 months ago

3.9.75

11 months ago

3.9.74

11 months ago

3.9.73

11 months ago

3.9.72

11 months ago

3.9.71

11 months ago

3.9.70

11 months ago

3.9.69

11 months ago

3.9.68

11 months ago

3.9.67

11 months ago

3.9.66

11 months ago

3.9.65

11 months ago

3.9.64

11 months ago

3.9.63

11 months ago

2.9.63

11 months ago

2.9.62

11 months ago

2.8.62

11 months ago

2.7.62

11 months ago

2.7.61

11 months ago

2.6.61

11 months ago

2.6.60

11 months ago

2.6.59

11 months ago

2.6.58

11 months ago

2.6.57

11 months ago

2.6.56

12 months ago

2.6.55

12 months ago

2.6.54

12 months ago

2.6.53

12 months ago

2.6.52

12 months ago

2.6.51

12 months ago

2.6.50

12 months ago

2.6.49

12 months ago

2.6.48

12 months ago

2.6.47

12 months ago

2.6.46

12 months ago

2.6.45

12 months ago

2.6.44

12 months ago

2.6.43

12 months ago

2.6.42

12 months ago

2.6.41

12 months ago

2.6.40

12 months ago

2.6.39

12 months ago

2.6.38

12 months ago

2.6.37

12 months ago

2.6.36

1 year ago

2.5.36

1 year ago

2.5.35

1 year ago

2.5.34

1 year ago

2.5.33

1 year ago

2.5.32

1 year ago

2.5.31

1 year ago

2.5.30

1 year ago

2.5.29

1 year ago

2.5.28

1 year ago

2.4.28

1 year ago

2.4.27

1 year ago

2.4.26

1 year ago

2.4.25

1 year ago

2.4.24

1 year ago

2.4.23

1 year ago

2.4.22

1 year ago

2.4.21

1 year ago

2.3.21

1 year ago

2.3.20

1 year ago

2.3.19

1 year ago

2.3.18

1 year ago

2.3.17

1 year ago

2.3.16

1 year ago

2.3.15

1 year ago

1.3.15

1 year ago

1.2.15

1 year ago

1.2.14

1 year ago

1.2.13

1 year ago

1.2.12

1 year ago

1.2.11

1 year ago

1.1.11

1 year ago

1.1.10

1 year ago

1.1.9

1 year ago

1.1.8

1 year ago

1.1.7

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago