1.1.17 • Published 1 month ago

@dramaorg/minus-minus-ipsa v1.1.17

Weekly downloads
-
License
MIT
Repository
github
Last release
1 month 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).
widthdeepparsingbannerWeakSettelephonekoreanArrayBuffer#sliceECMAScript 2017es-shim APIread0extensionnested cssrmiamcryptopiperedux-toolkitwordwrapes5watchFilepluginwalkingobjentriesclireducegetPrototypeOfmonorepofunctionsbindmatchAlles2017nativeArray.prototype.findLastIndexexecRFC-6455throatmime-dbcallstatejasminetoStringTagvpchashfind-uppushlogginggetbundlersetImmediateargumentsymlinkparentprunerangeerroruuidcall-bindinferencewordbreakliveECMAScript 2016diffextraspeedroute53ec2httpsstarterbeanstalkjestcjkclassesdefinecallbindECMAScript 2015vestencryptionconsolelimitedutilURLSearchParamsparsetc39termdirassertiontrimRighteslintio-tsArray.prototype.includessymbolsl10ncolorauthenticationawsargparsees8boundrecursivees2018spinnerlazyreducereslintconfighasOwntsCSSStyleDeclarationnegative zeroairbnbsomekinesisttybyte_.extendECMAScript 6bddregular expressionstoobjectfasttaplesscsserrorkarmastyleguideworkflowfetchbyteLengthemitObject.assignes-abstractArray.prototype.flatenvironmentcsscomparenamesirqprogressapicloudtrailmergevariablesless mixinsiteratewalkpatchgradients css3copytypeerrorschemegetintrinsicMapECMAScript 7es-shimsjsonpathregexSymbolelbArrayBuffer.prototype.slicepasswordjapaneseObject.entriesstoragegatewaypropertytextshellbrowsermatchesfastclonerandomcolumnstructuredCloneES3postcss-plugintrimLeftintrinsicminimalrfc4122pathargvregularless compilerTypeScriptvaluestablesetsearchassertarttaskelasticachequeueArray.prototype.findLastisdatastructureratelimitUint32Arrayoperating-systemparentsworkspace:*regexpcharactermomentsyntaxeast-asian-widthinstallwhatwgECMAScript 5dateruntimeReactiveXMicrosoft$.extendarrayautoscalingimmutableES2019schemaArraybrowserslistoutputstylesheeteveryjsdomreadablelastpyyamlprotomruvalidaterequest[[Prototype]]Uint8Arrayfullecmascriptquotejsdiffexpresslook-upwgetfindLastbrowserlistshamweaksetcircularwritesettingsstringstringifierpredictableFunction.prototype.nameBigUint64Arraydescriptiondatacolourreuseprocessreact-testing-libraryESFloat64Arraypicomatchfsimportcallbackprettystyleszerofunctionalsqstypeddropdayjsmovenegativewafreal-timepreprocessormkdirsshebangshimhotmixinspackage manageres2016typesafekeyselectronreact-hook-formprototypetoolkitcallboundcommand-linehasOwnPropertyvalidationES2017ES5rateonceInt16ArrayTypeBoxarraybufferemrprivategraphqlmetadatatapeStreamthrottlezodkeydeepcopyWebSocketswftestingpropinoffsetES2020Reflect.getPrototypeOftypanionUint8ClampedArrayopenSetes2015objectenvresolvesharedlinewrapsideyupES2016ObjectargstimesigintgroupBysymlinks__proto__importexporttrimcodesframeworktouchcall-boundlrufastcopyfunctionupconfigurablemapreact-hooksdebugsymbolcss nestingmakeRxapolloes6StyleSheettestReactiveExtensionshookstoSortedutilityfastifycommandervisualmkdirsuperagentdirectoryECMAScript 2023deep-copyflatincludesprotobufcss variablebootstrap cssPushvariables in cssObject.getPrototypeOfconcatMapformatlinuxlockfileform-validationduplexoptimizerroutelooktyped arrayRxJSconsumeelmstdlibnopedescriptorsseseventEmittersnswritableES6ES2015handlersgetoptfilterautoprefixerconfigcloudformationsimpledbcryptflagCSStraversei18nutilitiesa11yworkershrinkwrapless cssoptimistES2018compile lesscheckES2023chaiquerystringdefinePropertyObject.definePropertyES2022persistentloadinglengthviewURLpolyfillfigleturltostringtagsequencegetOwnPropertyDescriptorefficientes7error-handlingconcurrencyfindupcode pointsfast-deep-cloneexitebscreateformsECMAScript 2018Float32ArrayfullwidthjQuerycloudsearchcollection.es6cloudwatchweakmappromiseinvariantfast-copyfindbluebirdless.jsObject.fromEntrieschromiumcharactersdataviewsafemimetypesdependenciessigtermaccessibilityiterationpreserve-symlinkstypeofslicebufferswaitPromiseagentauthchanneldeterministiclintinputjoiStreamsmulti-packagecolumnsterminalnameloadbalancingObject.valuesclassnamestypescriptownenderimmerECMAScript 2019ajaxproperties256macospostcssnumberlimitsortedconcatpnpm9WebSocketss3formattingtypeequalityforEachredactarrayseslintpluginserializeperformantArray.prototype.containsspinnersguididserializerstatusexpressionsetPrototypeOfwatchfast-cloneprotocol-buffersarktypeES8buffer
1.1.17

1 month ago

1.0.16

1 month ago

1.1.16

1 month ago

1.0.15

1 month ago

1.0.14

1 month ago

1.0.13

1 month ago

1.0.12

1 month ago

1.0.11

1 month ago

1.0.10

1 month ago

1.0.9

2 months ago

1.0.8

2 months ago

1.0.7

2 months ago

1.0.6

2 months ago

1.0.5

2 months ago

1.0.4

2 months ago

1.0.3

2 months ago

1.0.2

2 months ago

1.0.1

2 months ago

1.0.0

2 months ago