1.0.0 • Published 2 years ago

@projectbabelfish/defikingdoms-sdk v1.0.0

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

Uniswap SDK

code style: prettier Actions Status npm version npm bundle size (scoped version)

In-depth documentation on this SDK is available at uniswap.org.

Running tests

To run the tests, follow these steps. You must have at least node v10 and yarn installed.

First clone the repository:

git clone https://github.com/DefiKingdoms/defikingdoms-sdk.git

Move into the uniswap-sdk working directory

cd uniswap-sdk/

Install dependencies

yarn install

Run tests

yarn test

You should see output like the following:

yarn run v1.22.4
$ tsdx test
 PASS  test/constants.test.ts
 PASS  test/pair.test.ts
 PASS  test/fraction.test.ts
 PASS  test/miscellaneous.test.ts
 PASS  test/entities.test.ts
 PASS  test/trade.test.ts

Test Suites: 1 skipped, 6 passed, 6 of 7 total
Tests:       3 skipped, 82 passed, 85 total
Snapshots:   0 total
Time:        5.091s
Ran all test suites.
✨  Done in 6.61s.
ababacorn-jsxacorn-globalsacornacorn-walkajvansi-colorsansi-escapesansi-regexanymatchargparseansi-stylesaria-queryarr-diffarr-flattenarr-unionarray-equalarray-includesarray-uniquearray.prototype.flatarray.prototype.flatmapasn1assign-symbolsassert-plusast-types-flowastral-regexasync-eachasync-limiterasyncroasynckitaws-sign2atobaws4axe-corebabel-eslintaxobject-querybabel-code-framebabel-jestbabel-messagesbabel-plugin-dev-expressionbabel-plugin-annotate-pure-callsbabel-plugin-dynamic-import-nodebabel-plugin-istanbulbabel-plugin-macrosbabel-plugin-polyfill-corejs2babel-plugin-jest-hoistbabel-plugin-polyfill-corejs3babel-plugin-transform-async-to-promisesbabel-plugin-transform-jsbi-to-bigintbabel-plugin-polyfill-regeneratorbabel-preset-jestbabylonbabel-plugin-transform-rename-importbabel-traversebabel-runtimebabel-typesbasebalanced-matchbcrypt-pbkdfbig.jsbech32binary-extensionsbluebirdbrace-expansionbn.jsbracesbrorandbrowser-process-hrtimebrowser-resolvebrowserslistbs-loggerbserbuffer-frombuiltin-modulescall-bindcallsitescache-basecamel-casecamelcasecapture-exitcaniuse-litechalkcaselesschardetchokidarchokidar-cliclass-utilscli-cursorci-infocli-widthcliuiclonecli-spinnerscolor-convertcocollection-visitcolor-namecommandercolorettecomponent-emittercombined-streamconfusing-browser-globalscommondirconvert-source-mapconcat-mapcopy-descriptorcontains-pathcore-jscore-js-purecore-js-compatcosmiconfigcore-util-iscssomcross-envcross-spawndashdashcssstyledamerau-levenshteindata-urlsdebugdecamelizedecimal.js-lightdecode-uri-componentdefine-propertydeep-isdefaultsdefine-propertiesdiff-sequencesdelayed-streamdoctrinedetect-newlinedomexceptionecc-jsbnemoji-regexelectron-to-chromiumellipticend-of-streamenquirererror-exes-to-primitivees-abstractescaladeescape-string-regexpeslint-config-prettierescodegeneslinteslint-config-react-appeslint-import-resolver-nodeeslint-module-utilseslint-plugin-importeslint-plugin-flowtypeeslint-plugin-prettiereslint-plugin-jsx-a11yeslint-plugin-reacteslint-plugin-react-hookseslint-scopeeslint-utilseslint-visitor-keysespreeesprimaesqueryestraverseesrecurseestree-walkeresutilsexec-shexitexpand-bracketsexecaexpectextendexternal-editorextglobextsprintfextend-shallowfast-difffast-json-stable-stringifyfast-deep-equalfast-levenshteinfb-watchmanfile-entry-cachefiguresfill-rangefind-cache-dirflat-cachefind-upflattedfor-eachfor-inforever-agentform-datafs-extrafragment-cachefunction-bindfs.realpathfunctional-red-black-treegensyncget-intrinsicget-caller-fileget-streamget-stdinget-valueglobgetpassglob-parentglobalsglobalyzerglobrexgrowlyhar-schemahar-validatorgraceful-fshas-flaghashas-ansihas-bigintshas-valuehas-symbolshash.jshmac-drbghas-valueshosted-git-infohtml-escaperhtml-encoding-snifferhttp-signaturehumanize-durationiconv-litehuman-signalsimport-freshignoreimport-localimurmurhashinquirerinflightinheritsinternal-slotinterpretinvariantis-bigintis-binary-pathis-arrayishis-boolean-objectis-bufferis-callableis-ciis-core-moduleis-date-objectis-data-descriptoris-extglobis-descriptoris-generator-fnis-fullwidth-code-pointis-accessor-descriptoris-globis-extendableis-moduleis-negative-zerois-number-objectis-plain-objectis-numberis-referenceis-streamis-regexis-stringis-typedarrayis-symbolis-windowsisarrayis-wslisobjectisexeisstreamistanbul-lib-coverageistanbul-lib-instrumentistanbul-lib-source-mapsistanbul-lib-reportistanbul-reportsjest-changed-filesjestjest-configjest-clijest-diffjest-environment-jsdomjest-docblockjest-eachjest-get-typejest-jasmine2jest-haste-mapjest-environment-nodejest-leak-detectorjest-matcher-utilsjest-message-utiljest-mockjest-pnp-resolverjest-resolvejest-regex-utiljest-runnerjest-resolve-dependenciesjest-snapshotjest-runtimejest-serializerjest-validatejest-utiljest-watch-typeaheadjpjsjest-watcherjs-sha3jest-workerjs-yamljs-tokensjsbnjsbijsescjsdomjson-parse-better-errorsjson-parse-even-better-errorsjson-schemajson-schema-traversejson-stringify-safejson-stable-stringify-without-jsonifyjson5jsonfilejsx-ast-utilsjsprimlanguage-subtag-registrykind-ofkleurleft-padlanguage-tagslevenlines-and-columnslevnload-json-filelocate-pathlodash.mergelodashlodash.memoizelodash.debouncelog-updatelodash.sortbylog-symbolsloose-envifymagic-stringlru-cachelower-casemake-dirmake-errormakeerrormap-cachemap-visitmicromatchmerge-streammime-dbmime-typesminimalistic-assertmimic-fnminimalistic-crypto-utilsminimatchmixin-deepminimistmkdirpmrinanomatchmsnatural-compareno-casemute-streamnice-trynode-int64node-modules-regexpnode-releasesnode-notifiernormalize-package-datanormalize-pathoauth-signnpm-run-pathnwsapiobject-assignobject-copyobject-inspectobject-visitobject-keysobject.assignobject.entriesobject.getownpropertydescriptorsonetimeobject.pickobject.valuesobject.fromentriesoptionatorp-finallyoraos-tmpdirp-each-seriesoncep-locatep-reducep-limitparent-moduleparse-jsonp-tryparse5path-dirnamepascal-casepascalcasepath-existspath-parsepath-is-absolutepath-keypath-typeperformance-nowpiratespicomatchpifyposix-character-classespkg-dirpnprelude-lspretty-formatprettierprocess-nextick-argsprogresspromptsprogress-estimatorprop-typespslpumppunycodeqsrandombytesreact-isread-pkg-upread-pkgreadable-streamreaddirprealpath-nativerechoirregenerateregenerate-unicode-propertiesregenerator-runtimeregenerator-transformregex-notregexppprettier-linter-helpersregexp.prototype.flagsregjsgenremove-trailing-separatorregjsparserregexpu-corerepeat-elementrepeat-stringrequestrequest-promise-corerequest-promise-nativeresolverequire-directoryrequire-main-filenameresolve-cwdresolve-urlresolve-fromrestore-cursorretrolluprimrafrollup-plugin-sourcemapsrollup-plugin-babelrollup-plugin-terserrun-asyncrollup-plugin-typescript2rollup-pluginutilsrxjsrsvpsadesafe-buffersafe-regexsafer-buffersaxsanesemverset-blockingserialize-javascriptset-valueshebang-commandshebang-regexside-channelshelljssignal-exitshellwordssisteransislice-ansislashsnapdragonsnapdragon-nodesnapdragon-utilsource-map-resolvesource-mapsource-map-supportsource-map-urlspdx-exceptionssourcemap-codecspdx-correctspdx-expression-parsespdx-license-idssplit-stringsprintf-jssshpkstatic-extendstealthy-requirestack-utilsstring-lengthstring-widthstring.prototype.matchallstring.prototype.trimendstring.prototype.trimstartstring_decoderstrip-ansistrip-bomstrip-eofsupports-colorstrip-final-newlinestrip-json-commentstersersymbol-treetabletest-excludetext-tablethroatthroughtiny-globtiny-invarianttmptiny-warningto-object-pathtmplto-regexto-regex-rangetough-cookietr46toformatts-jestto-fast-propertiestslibtsdxtsconfig-pathstsutilstunnel-agenttype-checktweetnacltype-festtypescriptunbox-primitiveunicode-canonical-property-names-ecmascriptunicode-match-property-ecmascriptunion-valueunicode-property-aliases-ecmascriptunicode-match-property-value-ecmascriptuniversalifyupathunset-valueupper-case-firstupper-caseuseuri-jsurixutil-deprecateutil.promisifyuuidv8-compile-cacheverrorw3c-hr-timevalidate-npm-package-licensewalkerwcwidthwhatwg-encodingwebidl-conversionswhatwg-mimetypewhatwg-urlwhichwhich-boxed-primitiveword-wrapwhich-modulewrappywrap-ansiwritewrite-file-atomicwsxml-name-validatory18nyallistyargsyamlyargs-parser
1.0.0

2 years ago