{"_id":"@crust_finance/universal-router-sdk","_rev":"8-c664d2e8e9b17826a1a9000d753638d9","name":"@crust_finance/universal-router-sdk","description":"sdk for integrating with the Universal Router contracts","dist-tags":{"latest":"2.0.10-MAINNET"},"versions":{"2.0.1":{"name":"@crust_finance/universal-router-sdk","version":"2.0.1","author":{"name":"@Uniswap"},"_id":"@crust_finance/universal-router-sdk@2.0.1","maintainers":[{"name":"crypt3311","email":"cryptoninja101@gmail.com"}],"homepage":"https://github.com/Uniswap/universal-router-sdk#readme","bugs":{"url":"https://github.com/Uniswap/universal-router-sdk/issues"},"dist":{"shasum":"ea390ce39357bcd4d8b83436472c0ee107a52b71","tarball":"https://registry.npmjs.org/@crust_finance/universal-router-sdk/-/universal-router-sdk-2.0.1.tgz","fileCount":42,"integrity":"sha512-U7QM6OqfyslwJp+keOyYac4qbRa4lDTAK8AHvdWM0orRmPLfSSZ6qQuP0rpn9HqliJfkKFwKEaphrOj3NPii8g==","signatures":[{"sig":"MEUCIC0OaPigveCSWnTFchwJYEy93fcf2ULyPJLTSKoDQL1GAiEAlPKfwcNVG0ZdTn0Nfn8lJ57fUmW8bLPfWgpUqqVKoHg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":951076},"main":"dist/index.js","engines":{"node":">=14"},"gitHead":"cb9c0f04215e6e955e99057d8daba3aac859865a","scripts":{"docs":"typedoc","build":"tsdx build","lint:fix":"yarn prettier:fix && yarn forge:fix","prettier":"prettier --check '**/*.ts' && prettier --check '**/*.json'","test:all":"yarn test:hardhat && yarn test:forge","forge:fix":"forge fmt","install:ur":"cd node_modules/@uniswap/universal-router && forge install","test:forge":"forge test","prettier:fix":"prettier --write '**/*.ts' && prettier --write '**/*.json'","test:hardhat":"env TS_NODE_COMPILER_OPTIONS='{\"module\": \"commonjs\" }' hardhat test"},"typings":"dist/index.d.ts","_npmUser":{"name":"crypt3311","email":"cryptoninja101@gmail.com"},"prettier":{"semi":false,"printWidth":120,"singleQuote":true,"trailingComma":"es5"},"repository":{"url":"git+https://github.com/Uniswap/universal-router-sdk.git","type":"git"},"_npmVersion":"9.8.1","description":"sdk for integrating with the Universal Router contracts","directories":{},"_nodeVersion":"18.18.0","dependencies":{"ethers":"^5.3.1","bignumber.js":"^9.0.2","@uniswap/permit2-sdk":"^1.2.0","@crust_finance/v2-sdk":"^3.2.4","@crust_finance/v3-sdk":"^3.10.1","@crust_finance/sdk-core":"^4.0.10","@crust_finance/router-sdk":"^1.7.0","@uniswap/universal-router":"1.5.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.3.4","tsdx":"^0.14.1","tslib":"^2.3.0","dotenv":"^16.0.3","hardhat":"^2.6.8","ts-node":"^10.0.0","typedoc":"^0.21.2","prettier":"^2.3.1","typescript":"^4.3.3","@types/chai":"^4.2.18","@types/node":"^15.12.2","@types/mocha":"^8.2.2","@types/node-fetch":"^2.6.2","eslint-plugin-prettier":"^3.4.0"},"_npmOperationalInternal":{"tmp":"tmp/universal-router-sdk_2.0.1_1703852499347_0.5895354756961997","host":"s3://npm-registry-packages"}},"2.0.2":{"name":"@crust_finance/universal-router-sdk","version":"2.0.2","author":{"name":"@Uniswap"},"_id":"@crust_finance/universal-router-sdk@2.0.2","maintainers":[{"name":"crypt3311","email":"cryptoninja101@gmail.com"}],"homepage":"https://github.com/Uniswap/universal-router-sdk#readme","bugs":{"url":"https://github.com/Uniswap/universal-router-sdk/issues"},"dist":{"shasum":"e89ecdc32130d19ce4cbce4759521140b274cdfe","tarball":"https://registry.npmjs.org/@crust_finance/universal-router-sdk/-/universal-router-sdk-2.0.2.tgz","fileCount":42,"integrity":"sha512-TZ72KJs/Z4rKYHN0YCsnYXFkd+MSWaO8dOzgliE6x4K54r11pKtANqq2BT9hBGSAvczJiyqXyHSyVT9aDUFMfg==","signatures":[{"sig":"MEQCIEzzA+hIpNQeNiritw42/pNqyk7uu3kDO7xwtfIRDIcMAiBGPzNvBQBrHNBvyvxT0ZWSmN8yiBizH3JoElITkfz44A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":951076},"main":"dist/index.js","engines":{"node":">=14"},"gitHead":"ae8d7aabc3e262135843d3d2d40a58c6e7dbfad9","scripts":{"docs":"typedoc","build":"tsdx build","lint:fix":"yarn prettier:fix && yarn forge:fix","prettier":"prettier --check '**/*.ts' && prettier --check '**/*.json'","test:all":"yarn test:hardhat && yarn test:forge","forge:fix":"forge fmt","install:ur":"cd node_modules/@uniswap/universal-router && forge install","test:forge":"forge test","prettier:fix":"prettier --write '**/*.ts' && prettier --write '**/*.json'","test:hardhat":"env TS_NODE_COMPILER_OPTIONS='{\"module\": \"commonjs\" }' hardhat test"},"typings":"dist/index.d.ts","_npmUser":{"name":"crypt3311","email":"cryptoninja101@gmail.com"},"prettier":{"semi":false,"printWidth":120,"singleQuote":true,"trailingComma":"es5"},"repository":{"url":"git+https://github.com/Uniswap/universal-router-sdk.git","type":"git"},"_npmVersion":"9.8.1","description":"sdk for integrating with the Universal Router contracts","directories":{},"_nodeVersion":"18.18.0","dependencies":{"ethers":"^5.3.1","bignumber.js":"^9.0.2","@uniswap/permit2-sdk":"^1.2.0","@crust_finance/v2-sdk":"^3.2.4","@crust_finance/v3-sdk":"^3.10.1","@crust_finance/sdk-core":"^4.0.10","@crust_finance/router-sdk":"^1.7.0","@uniswap/universal-router":"1.5.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.3.4","tsdx":"^0.14.1","tslib":"^2.3.0","dotenv":"^16.0.3","hardhat":"^2.6.8","ts-node":"^10.0.0","typedoc":"^0.21.2","prettier":"^2.3.1","typescript":"^4.3.3","@types/chai":"^4.2.18","@types/node":"^15.12.2","@types/mocha":"^8.2.2","@types/node-fetch":"^2.6.2","eslint-plugin-prettier":"^3.4.0"},"_npmOperationalInternal":{"tmp":"tmp/universal-router-sdk_2.0.2_1704379460575_0.98381877760086","host":"s3://npm-registry-packages"}},"2.0.3":{"name":"@crust_finance/universal-router-sdk","version":"2.0.3","author":{"name":"@Uniswap"},"_id":"@crust_finance/universal-router-sdk@2.0.3","maintainers":[{"name":"crypt3311","email":"cryptoninja101@gmail.com"}],"homepage":"https://github.com/Uniswap/universal-router-sdk#readme","bugs":{"url":"https://github.com/Uniswap/universal-router-sdk/issues"},"dist":{"shasum":"a18123bc66d6d7d8859810cc93769f0a5c5ba5c7","tarball":"https://registry.npmjs.org/@crust_finance/universal-router-sdk/-/universal-router-sdk-2.0.3.tgz","fileCount":42,"integrity":"sha512-+N1O0mBJlyav1Hjyyj56NcjrPeOlS9SG+0U4Xjmd9h3PVoIFfUsugWenulAe6H5M8g8bs1dGP+vcdi3HKOtwCw==","signatures":[{"sig":"MEYCIQCj3Gz40gTfTnXPC/pIjxcqXU5eZhCwpcxFILiNWD60AQIhAMcdh9vZ18XJ5N4uglcyBjoCMoRjZAq9sgfdctCRnEU8","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":951076},"main":"dist/index.js","engines":{"node":">=14"},"gitHead":"ae8d7aabc3e262135843d3d2d40a58c6e7dbfad9","scripts":{"docs":"typedoc","build":"tsdx build","lint:fix":"yarn prettier:fix && yarn forge:fix","prettier":"prettier --check '**/*.ts' && prettier --check '**/*.json'","test:all":"yarn test:hardhat && yarn test:forge","forge:fix":"forge fmt","install:ur":"cd node_modules/@uniswap/universal-router && forge install","test:forge":"forge test","prettier:fix":"prettier --write '**/*.ts' && prettier --write '**/*.json'","test:hardhat":"env TS_NODE_COMPILER_OPTIONS='{\"module\": \"commonjs\" }' hardhat test"},"typings":"dist/index.d.ts","_npmUser":{"name":"crypt3311","email":"cryptoninja101@gmail.com"},"prettier":{"semi":false,"printWidth":120,"singleQuote":true,"trailingComma":"es5"},"repository":{"url":"git+https://github.com/Uniswap/universal-router-sdk.git","type":"git"},"_npmVersion":"9.8.1","description":"sdk for integrating with the Universal Router contracts","directories":{},"_nodeVersion":"18.18.0","dependencies":{"ethers":"^5.3.1","bignumber.js":"^9.0.2","@uniswap/permit2-sdk":"^1.2.0","@crust_finance/v2-sdk":"^3.2.4","@crust_finance/v3-sdk":"^3.10.1","@crust_finance/sdk-core":"^4.0.10","@crust_finance/router-sdk":"^1.7.0","@uniswap/universal-router":"1.5.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.3.4","tsdx":"^0.14.1","tslib":"^2.3.0","dotenv":"^16.0.3","hardhat":"^2.6.8","ts-node":"^10.0.0","typedoc":"^0.21.2","prettier":"^2.3.1","typescript":"^4.3.3","@types/chai":"^4.2.18","@types/node":"^15.12.2","@types/mocha":"^8.2.2","@types/node-fetch":"^2.6.2","eslint-plugin-prettier":"^3.4.0"},"_npmOperationalInternal":{"tmp":"tmp/universal-router-sdk_2.0.3_1704469661789_0.26678482040808116","host":"s3://npm-registry-packages"}},"2.0.4":{"name":"@crust_finance/universal-router-sdk","version":"2.0.4","author":{"name":"@Uniswap"},"_id":"@crust_finance/universal-router-sdk@2.0.4","maintainers":[{"name":"crypt3311","email":"cryptoninja101@gmail.com"}],"homepage":"https://github.com/Uniswap/universal-router-sdk#readme","bugs":{"url":"https://github.com/Uniswap/universal-router-sdk/issues"},"dist":{"shasum":"e1ae1d8a5de121fda5318b7111961086cdcab68f","tarball":"https://registry.npmjs.org/@crust_finance/universal-router-sdk/-/universal-router-sdk-2.0.4.tgz","fileCount":42,"integrity":"sha512-+wtJKU/YO1DGC1sZ+DfC4OiiVlBQ3eimuPsCIESw3EFFjvEjVbpJR7ePLQaGXPW0UOWkTs7Qy3sieY6T7EYxog==","signatures":[{"sig":"MEQCIH4mpNzBh72/EwdcxHVQ+Vjv7G/qDPkrzEBfUR42LkF0AiBFNP5WCWrUU/47w2i5/GNwHyQKxk7hV/EX8JolbV1b/g==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":952743},"main":"dist/index.js","engines":{"node":">=14"},"gitHead":"ae8d7aabc3e262135843d3d2d40a58c6e7dbfad9","scripts":{"docs":"typedoc","build":"tsdx build","lint:fix":"yarn prettier:fix && yarn forge:fix","prettier":"prettier --check '**/*.ts' && prettier --check '**/*.json'","test:all":"yarn test:hardhat && yarn test:forge","forge:fix":"forge fmt","install:ur":"cd node_modules/@uniswap/universal-router && forge install","test:forge":"forge test","prettier:fix":"prettier --write '**/*.ts' && prettier --write '**/*.json'","test:hardhat":"env TS_NODE_COMPILER_OPTIONS='{\"module\": \"commonjs\" }' hardhat test"},"typings":"dist/index.d.ts","_npmUser":{"name":"crypt3311","email":"cryptoninja101@gmail.com"},"prettier":{"semi":false,"printWidth":120,"singleQuote":true,"trailingComma":"es5"},"repository":{"url":"git+https://github.com/Uniswap/universal-router-sdk.git","type":"git"},"_npmVersion":"9.8.1","description":"sdk for integrating with the Universal Router contracts","directories":{},"_nodeVersion":"18.18.0","dependencies":{"ethers":"^5.3.1","bignumber.js":"^9.0.2","@uniswap/permit2-sdk":"^1.2.0","@crust_finance/v2-sdk":"^3.2.4","@crust_finance/v3-sdk":"^3.10.1","@crust_finance/sdk-core":"^4.0.10","@crust_finance/router-sdk":"^1.7.0","@uniswap/universal-router":"1.5.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.3.4","tsdx":"^0.14.1","tslib":"^2.3.0","dotenv":"^16.0.3","hardhat":"^2.6.8","ts-node":"^10.0.0","typedoc":"^0.21.2","prettier":"^2.3.1","typescript":"^4.3.3","@types/chai":"^4.2.18","@types/node":"^15.12.2","@types/mocha":"^8.2.2","@types/node-fetch":"^2.6.2","eslint-plugin-prettier":"^3.4.0"},"_npmOperationalInternal":{"tmp":"tmp/universal-router-sdk_2.0.4_1704477700553_0.7641279288410987","host":"s3://npm-registry-packages"}},"2.0.5":{"name":"@crust_finance/universal-router-sdk","version":"2.0.5","author":{"name":"@Uniswap"},"_id":"@crust_finance/universal-router-sdk@2.0.5","maintainers":[{"name":"crypt3311","email":"cryptoninja101@gmail.com"}],"homepage":"https://github.com/Uniswap/universal-router-sdk#readme","bugs":{"url":"https://github.com/Uniswap/universal-router-sdk/issues"},"dist":{"shasum":"ae2c380cb82cbcc2dd95fe4b1f752eb847c65b8f","tarball":"https://registry.npmjs.org/@crust_finance/universal-router-sdk/-/universal-router-sdk-2.0.5.tgz","fileCount":42,"integrity":"sha512-QkcWeU/DKxaHTnGFA6OoKk4O9kcAOtcrLfSH6g8dISk8SdPfv63m7TwVbiHrYWeooHAR3dQEBSHvSm2vzITRqw==","signatures":[{"sig":"MEQCIDnpg+y6GHgfWKqETF5vryYB3iNbGhmTExpXf2Ux3CojAiBXFY6N9G7VvI2FS/t+7RBQJGVCVeHBKiSx9vQOEoEl1Q==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":952743},"main":"dist/index.js","engines":{"node":">=14"},"gitHead":"ae8d7aabc3e262135843d3d2d40a58c6e7dbfad9","scripts":{"docs":"typedoc","build":"tsdx build","lint:fix":"yarn prettier:fix && yarn forge:fix","prettier":"prettier --check '**/*.ts' && prettier --check '**/*.json'","test:all":"yarn test:hardhat && yarn test:forge","forge:fix":"forge fmt","install:ur":"cd node_modules/@uniswap/universal-router && forge install","test:forge":"forge test","prettier:fix":"prettier --write '**/*.ts' && prettier --write '**/*.json'","test:hardhat":"env TS_NODE_COMPILER_OPTIONS='{\"module\": \"commonjs\" }' hardhat test"},"typings":"dist/index.d.ts","_npmUser":{"name":"crypt3311","email":"cryptoninja101@gmail.com"},"prettier":{"semi":false,"printWidth":120,"singleQuote":true,"trailingComma":"es5"},"repository":{"url":"git+https://github.com/Uniswap/universal-router-sdk.git","type":"git"},"_npmVersion":"9.8.1","description":"sdk for integrating with the Universal Router contracts","directories":{},"_nodeVersion":"18.18.0","dependencies":{"ethers":"^5.3.1","bignumber.js":"^9.0.2","@uniswap/permit2-sdk":"^1.2.0","@crust_finance/v2-sdk":"^3.2.4","@crust_finance/v3-sdk":"^3.10.2","@crust_finance/sdk-core":"^4.0.11","@crust_finance/router-sdk":"^1.7.4","@uniswap/universal-router":"1.5.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.3.4","tsdx":"^0.14.1","tslib":"^2.3.0","dotenv":"^16.0.3","hardhat":"^2.6.8","ts-node":"^10.0.0","typedoc":"^0.21.2","prettier":"^2.3.1","typescript":"^4.3.3","@types/chai":"^4.2.18","@types/node":"^15.12.2","@types/mocha":"^8.2.2","@types/node-fetch":"^2.6.2","eslint-plugin-prettier":"^3.4.0"},"_npmOperationalInternal":{"tmp":"tmp/universal-router-sdk_2.0.5_1704903096496_0.3620449458497188","host":"s3://npm-registry-packages"}},"2.0.7":{"name":"@crust_finance/universal-router-sdk","version":"2.0.7","author":{"name":"@Uniswap"},"_id":"@crust_finance/universal-router-sdk@2.0.7","maintainers":[{"name":"crypt3311","email":"cryptoninja101@gmail.com"}],"homepage":"https://github.com/Uniswap/universal-router-sdk#readme","bugs":{"url":"https://github.com/Uniswap/universal-router-sdk/issues"},"dist":{"shasum":"77457be052eed2946151b2a41984d135dff4ae50","tarball":"https://registry.npmjs.org/@crust_finance/universal-router-sdk/-/universal-router-sdk-2.0.7.tgz","fileCount":42,"integrity":"sha512-+KbZYMdi+2P/gLvhDveFxpu4DjXUM61GEu4buM6ei8Pn60TF3K2ABCSr+/4PJfEj6w2Fq3d/xzJTsg+0kJOwjQ==","signatures":[{"sig":"MEQCIGTpjwc3Eu1woF788i7tjlEVwwuAnQvgFcQarwjQgG04AiBp1cnxqvPwzXAFWIc6nYeJBpbupSGMsTrjtgxepA6dNA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":952743},"main":"dist/index.js","engines":{"node":">=14"},"gitHead":"ae8d7aabc3e262135843d3d2d40a58c6e7dbfad9","scripts":{"docs":"typedoc","build":"tsdx build","lint:fix":"yarn prettier:fix && yarn forge:fix","prettier":"prettier --check '**/*.ts' && prettier --check '**/*.json'","test:all":"yarn test:hardhat && yarn test:forge","forge:fix":"forge fmt","install:ur":"cd node_modules/@uniswap/universal-router && forge install","test:forge":"forge test","prettier:fix":"prettier --write '**/*.ts' && prettier --write '**/*.json'","test:hardhat":"env TS_NODE_COMPILER_OPTIONS='{\"module\": \"commonjs\" }' hardhat test"},"typings":"dist/index.d.ts","_npmUser":{"name":"crypt3311","email":"cryptoninja101@gmail.com"},"prettier":{"semi":false,"printWidth":120,"singleQuote":true,"trailingComma":"es5"},"repository":{"url":"git+https://github.com/Uniswap/universal-router-sdk.git","type":"git"},"_npmVersion":"9.8.1","description":"sdk for integrating with the Universal Router contracts","directories":{},"_nodeVersion":"18.18.0","dependencies":{"ethers":"^5.3.1","bignumber.js":"^9.0.2","@uniswap/permit2-sdk":"^1.2.0","@crust_finance/v2-sdk":"^3.2.4","@crust_finance/v3-sdk":"^3.10.4","@crust_finance/sdk-core":"^4.0.12","@crust_finance/router-sdk":"^1.7.5","@uniswap/universal-router":"1.5.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.3.4","tsdx":"^0.14.1","tslib":"^2.3.0","dotenv":"^16.0.3","hardhat":"^2.6.8","ts-node":"^10.0.0","typedoc":"^0.21.2","prettier":"^2.3.1","typescript":"^4.3.3","@types/chai":"^4.2.18","@types/node":"^15.12.2","@types/mocha":"^8.2.2","@types/node-fetch":"^2.6.2","eslint-plugin-prettier":"^3.4.0"},"_npmOperationalInternal":{"tmp":"tmp/universal-router-sdk_2.0.7_1705125638990_0.6148442466535984","host":"s3://npm-registry-packages"}},"2.0.8":{"name":"@crust_finance/universal-router-sdk","version":"2.0.8","author":{"name":"@Uniswap"},"_id":"@crust_finance/universal-router-sdk@2.0.8","maintainers":[{"name":"crypt3311","email":"cryptoninja101@gmail.com"}],"homepage":"https://github.com/Uniswap/universal-router-sdk#readme","bugs":{"url":"https://github.com/Uniswap/universal-router-sdk/issues"},"dist":{"shasum":"67086b4f44e947b9476a7986030d5febe4df56e4","tarball":"https://registry.npmjs.org/@crust_finance/universal-router-sdk/-/universal-router-sdk-2.0.8.tgz","fileCount":42,"integrity":"sha512-DzOMwOP5rI3kcojYo+9P8senwi096KPtKqbcnqOFM8X4yZOAGNlHP+RBLYLAAKXawba1n2mAdgXiwDut8+DHQQ==","signatures":[{"sig":"MEUCIQDJj9vScyfq4lZT6ac+vVWb9tj3djfrGSjCGvWAHtATKwIgVjHyZOI3uVTIIpVTTd9RmpzUl9f2mnzU7pLyDgM6a5w=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":952743},"main":"dist/index.js","engines":{"node":">=14"},"gitHead":"ae8d7aabc3e262135843d3d2d40a58c6e7dbfad9","scripts":{"docs":"typedoc","build":"tsdx build","lint:fix":"yarn prettier:fix && yarn forge:fix","prettier":"prettier --check '**/*.ts' && prettier --check '**/*.json'","test:all":"yarn test:hardhat && yarn test:forge","forge:fix":"forge fmt","install:ur":"cd node_modules/@uniswap/universal-router && forge install","test:forge":"forge test","prettier:fix":"prettier --write '**/*.ts' && prettier --write '**/*.json'","test:hardhat":"env TS_NODE_COMPILER_OPTIONS='{\"module\": \"commonjs\" }' hardhat test"},"typings":"dist/index.d.ts","_npmUser":{"name":"crypt3311","email":"cryptoninja101@gmail.com"},"prettier":{"semi":false,"printWidth":120,"singleQuote":true,"trailingComma":"es5"},"repository":{"url":"git+https://github.com/Uniswap/universal-router-sdk.git","type":"git"},"_npmVersion":"9.8.1","description":"sdk for integrating with the Universal Router contracts","directories":{},"_nodeVersion":"18.18.0","dependencies":{"ethers":"^5.3.1","bignumber.js":"^9.0.2","@uniswap/permit2-sdk":"^1.2.0","@crust_finance/v2-sdk":"^3.2.4","@crust_finance/v3-sdk":"^3.10.4","@crust_finance/sdk-core":"^4.0.12","@crust_finance/router-sdk":"^1.7.5","@uniswap/universal-router":"1.5.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.3.4","tsdx":"^0.14.1","tslib":"^2.3.0","dotenv":"^16.0.3","hardhat":"^2.6.8","ts-node":"^10.0.0","typedoc":"^0.21.2","prettier":"^2.3.1","typescript":"^4.3.3","@types/chai":"^4.2.18","@types/node":"^15.12.2","@types/mocha":"^8.2.2","@types/node-fetch":"^2.6.2","eslint-plugin-prettier":"^3.4.0"},"_npmOperationalInternal":{"tmp":"tmp/universal-router-sdk_2.0.8_1705125819990_0.4735664471725196","host":"s3://npm-registry-packages"}},"2.0.9":{"name":"@crust_finance/universal-router-sdk","version":"2.0.9","author":{"name":"@Uniswap"},"_id":"@crust_finance/universal-router-sdk@2.0.9","maintainers":[{"name":"crypt3311","email":"cryptoninja101@gmail.com"}],"homepage":"https://github.com/Uniswap/universal-router-sdk#readme","bugs":{"url":"https://github.com/Uniswap/universal-router-sdk/issues"},"dist":{"shasum":"b6ea38d0bcaa7c291730d39f4f5ed4707aefde86","tarball":"https://registry.npmjs.org/@crust_finance/universal-router-sdk/-/universal-router-sdk-2.0.9.tgz","fileCount":42,"integrity":"sha512-vAASoPOXgqO4dEnzH3rI3ph4Efjhu3FosLWQEHR+XdI+gSEGMBdonevTPPSW3vxI0eNHG1w2lRLEzwg9EjjWrQ==","signatures":[{"sig":"MEUCIQCVJFgWFpkGlFd9sjYzPhfsVz7HlotkZcbv6F2pIEqKwQIgC5Iu2AVTrmlWg3gKY1kXseEI3Qi7t8SqSH5BvSJOpjA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":952743},"main":"dist/index.js","engines":{"node":">=14"},"gitHead":"ae8d7aabc3e262135843d3d2d40a58c6e7dbfad9","scripts":{"docs":"typedoc","build":"tsdx build","lint:fix":"yarn prettier:fix && yarn forge:fix","prettier":"prettier --check '**/*.ts' && prettier --check '**/*.json'","test:all":"yarn test:hardhat && yarn test:forge","forge:fix":"forge fmt","install:ur":"cd node_modules/@uniswap/universal-router && forge install","test:forge":"forge test","prettier:fix":"prettier --write '**/*.ts' && prettier --write '**/*.json'","test:hardhat":"env TS_NODE_COMPILER_OPTIONS='{\"module\": \"commonjs\" }' hardhat test"},"typings":"dist/index.d.ts","_npmUser":{"name":"crypt3311","email":"cryptoninja101@gmail.com"},"prettier":{"semi":false,"printWidth":120,"singleQuote":true,"trailingComma":"es5"},"repository":{"url":"git+https://github.com/Uniswap/universal-router-sdk.git","type":"git"},"_npmVersion":"9.8.1","description":"sdk for integrating with the Universal Router contracts","directories":{},"_nodeVersion":"18.18.0","dependencies":{"ethers":"^5.3.1","bignumber.js":"^9.0.2","@uniswap/permit2-sdk":"^1.2.0","@crust_finance/v2-sdk":"^3.2.4","@crust_finance/v3-sdk":"^3.10.5","@crust_finance/sdk-core":"^4.0.13","@crust_finance/router-sdk":"^1.7.6","@uniswap/universal-router":"1.5.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.3.4","tsdx":"^0.14.1","tslib":"^2.3.0","dotenv":"^16.0.3","hardhat":"^2.6.8","ts-node":"^10.0.0","typedoc":"^0.21.2","prettier":"^2.3.1","typescript":"^4.3.3","@types/chai":"^4.2.18","@types/node":"^15.12.2","@types/mocha":"^8.2.2","@types/node-fetch":"^2.6.2","eslint-plugin-prettier":"^3.4.0"},"_npmOperationalInternal":{"tmp":"tmp/universal-router-sdk_2.0.9_1705259493276_0.7969792945865142","host":"s3://npm-registry-packages"}},"2.0.10-MAINNET":{"name":"@crust_finance/universal-router-sdk","version":"2.0.10-MAINNET","description":"sdk for integrating with the Universal Router contracts","main":"dist/index.js","typings":"dist/index.d.ts","engines":{"node":">=14"},"publishConfig":{"access":"public"},"scripts":{"test:all":"yarn test:hardhat && yarn test:forge","test:hardhat":"env TS_NODE_COMPILER_OPTIONS='{\"module\": \"commonjs\" }' hardhat test","test:forge":"forge test","install:ur":"cd node_modules/@uniswap/universal-router && forge install","build":"tsdx build","prettier:fix":"prettier --write '**/*.ts' && prettier --write '**/*.json'","forge:fix":"forge fmt","lint:fix":"yarn prettier:fix && yarn forge:fix","prettier":"prettier --check '**/*.ts' && prettier --check '**/*.json'","docs":"typedoc"},"author":{"name":"@Uniswap"},"prettier":{"printWidth":120,"semi":false,"singleQuote":true,"trailingComma":"es5"},"devDependencies":{"@types/chai":"^4.2.18","@types/mocha":"^8.2.2","@types/node":"^15.12.2","@types/node-fetch":"^2.6.2","chai":"^4.3.4","dotenv":"^16.0.3","eslint-plugin-prettier":"^3.4.0","hardhat":"^2.6.8","prettier":"^2.3.1","ts-node":"^10.0.0","tsdx":"^0.14.1","tslib":"^2.3.0","typedoc":"^0.21.2","typescript":"^4.3.3"},"dependencies":{"@uniswap/permit2-sdk":"^1.2.0","@crust_finance/router-sdk":"^1.7.7-MAINNET","@crust_finance/sdk-core":"^4.0.14-MAINNET","@uniswap/universal-router":"1.5.1","@crust_finance/v2-sdk":"^3.2.5-MAINNET","@crust_finance/v3-sdk":"^3.10.6-MAINNET","bignumber.js":"^9.0.2","ethers":"^5.3.1"},"repository":{"type":"git","url":"git+https://github.com/Uniswap/universal-router-sdk.git"},"bugs":{"url":"https://github.com/Uniswap/universal-router-sdk/issues"},"homepage":"https://github.com/Uniswap/universal-router-sdk#readme","_id":"@crust_finance/universal-router-sdk@2.0.10-MAINNET","gitHead":"ae8d7aabc3e262135843d3d2d40a58c6e7dbfad9","_nodeVersion":"18.18.0","_npmVersion":"10.4.0","dist":{"integrity":"sha512-yOCN723j7Q+bzpayCBlfq59FyYKT+k3UKVo7vw6eYpVtXUn/ZVyfWO0meQSePemngSGgrPco1o5/6HTRBKkz8g==","shasum":"f7034353644ce782e1cb33352ab2c0cfa134b4e0","tarball":"https://registry.npmjs.org/@crust_finance/universal-router-sdk/-/universal-router-sdk-2.0.10-MAINNET.tgz","fileCount":42,"unpackedSize":952784,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAJtntkNd8D9StZDjgysQ54mRWRrAFsIxxjwPekRrz3jAiEAthnUT0WNsso0DmDHwQqKKh44JRaz5LByVveouuhWPf4="}]},"_npmUser":{"name":"crypt3311","email":"cryptoninja101@gmail.com"},"directories":{},"maintainers":[{"name":"crypt3311","email":"cryptoninja101@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/universal-router-sdk_2.0.10-MAINNET_1718618847953_0.01488254721571236"},"_hasShrinkwrap":false}},"time":{"created":"2023-12-29T12:21:39.215Z","modified":"2024-06-17T10:07:28.375Z","2.0.1":"2023-12-29T12:21:39.581Z","2.0.2":"2024-01-04T14:44:20.793Z","2.0.3":"2024-01-05T15:47:42.045Z","2.0.4":"2024-01-05T18:01:40.831Z","2.0.5":"2024-01-10T16:11:36.688Z","2.0.7":"2024-01-13T06:00:39.243Z","2.0.8":"2024-01-13T06:03:40.183Z","2.0.9":"2024-01-14T19:11:33.486Z","2.0.10-MAINNET":"2024-06-17T10:07:28.182Z"},"maintainers":[{"name":"crypt3311","email":"cryptoninja101@gmail.com"}],"author":{"name":"@Uniswap"},"repository":{"type":"git","url":"git+https://github.com/Uniswap/universal-router-sdk.git"},"homepage":"https://github.com/Uniswap/universal-router-sdk#readme","bugs":{"url":"https://github.com/Uniswap/universal-router-sdk/issues"},"readme":"# universal-router-sdk\nThis SDK facilitates interactions with the contracts in [Universal Router](https://github.com/Uniswap/universal-router)\n\n## Usage\nInstall latest version of universal-router-sdk. Then import the corresponding Trade class and Data object for each protocol you'd like to interact with.\n\n### Trading NFTs\nwarning: `swapNFTCallParameters()` to be deprecated in favor of `swapCallParameters()`\n```typescript\nimport {\n  LooksRareTrade,\n  LooksRareData,\n  SeaportTrade,\n  SeaportData\n} from \"@uniswap/universal-router-sdk\";\n\n// Each protocol data object contains 1 call to that protocol. Some protocols can fit\n// many NFT purchase within 1 call, like seaport. Others require multiple calls per NFT (like LooksRare).\nconst looksRareTrades = new LooksRareTrade([looksrareData1, looksrareData2])\nconst seaportTrades = new SeaportTrade([seaportData1])\n\n// Use the raw calldata and value returned to call into Universal Swap Router contracts\n// Trades will happen in the order that they are handed in\nconst { calldata, value } = SwapRouter.swapCallParameters([looksRareTrades, seaportTrades])\n```\n\n### Trading ERC20s on Uniswap\nwarning: `swapERC20CallParameters()` to be deprecated in favor of `swapCallParameters()`\n```typescript\nimport { TradeType } from '@uniswap/sdk-core'\nimport { Trade as V2TradeSDK } from '@uniswap/v2-sdk'\nimport { Trade as V3TradeSDK } from '@uniswap/v3-sdk'\nimport { MixedRouteTrade, MixedRouteSDK, Trade as RouterTrade } from '@uniswap/router-sdk'\n\nconst options = { slippageTolerance, recipient }\nconst routerTrade = new UniswapTrade(\n  new RouterTrade({ v2Routes, v3Routes, mixedRoutes, tradeType: TradeType.EXACT_INPUT },\n  options\n)\n// Use the raw calldata and value returned to call into Universal Swap Router contracts\nconst { calldata, value } = SwapRouter.swapCallParameters(routerTrade)\n```\n\n### Using Uniswap for ERC20 NFT Trades\nSend ETH to the router by trading an ERC20 for ETH with a Uniswap Trade and encoding the swap recipient as `ROUTER_AS_RECIPIENT` in the trade. Then subsequently list the NFT trades to use the ETH output to buy NFTs. Trades happen in the order they are listed.\n\nUse `trade_type: TradeType.EXACT_OUTPUT` to cover the entire NFT price, alternatively the transaction will send supplemental ETH to fulfill the entire price if the swap does not cover it in full. Keep in mind that `TradeType.EXACT_INPUT` trades are subject to slippage on output, and ETH will be sent to cover potential slippage and any remaining ETH will be returned to sender.\n```typescript\nimport { TradeType } from '@uniswap/sdk-core'\nimport { Trade as V2TradeSDK } from '@uniswap/v2-sdk'\nimport { Trade as V3TradeSDK } from '@uniswap/v3-sdk'\nimport { MixedRouteTrade, MixedRouteSDK, Trade as RouterTrade } from '@uniswap/router-sdk'\nimport {\n  ROUTER_AS_RECIPIENT,\n  UniswapTrade,\n  LooksRareTrade,\n  LooksRareData,\n  SeaportTrade,\n  SeaportData\n} from \"@uniswap/universal-router-sdk\";\n\nconst looksRareTrades = new LooksRareTrade([looksrareData1, looksrareData2])\nconst seaportTrades = new SeaportTrade([seaportData1])\n// WARNING: never send funds to ROUTER_AS_RECIPIENT unless it is ETH that will be used in NFT trades, otherwise funds are lost.\nconst uniswapTrade = new UniswapTrade(\n  new RouterTrade({ v2Routes, v3Routes, mixedRoutes, tradeType: TradeType.EXACT_OUTPUT }),\n  { slippageTolerance, recipient:  ROUTER_AS_RECIPIENT}\n)\n// Use the raw calldata and value returned to call into Universal Swap Router contracts\nconst { calldata, value } = SwapRouter.swapCallParameters([uniswapTrade, seaportTrades, looksRareTrades])\n```\n\n### Using WETH for NFT Trades\nThe current router purchases all NFTs with ETH, but you can send WETH to the router to be unwrapped for ETH right before the NFT commands. Similar to ERC20 Uniswap Trades for NFTs, supplemental ETH will be sent in the transaction if the WETH amount will not cover the NFT buys. You can also use ERC20s and WETH to cover the transaction by including both commands before the NFT purchase.\n\n```typescript\nimport {\n  ROUTER_AS_RECIPIENT,\n  UniswapTrade,\n  LooksRareTrade,\n  LooksRareData,\n  SeaportTrade,\n  SeaportData\n} from \"@uniswap/universal-router-sdk\";\n\nconst looksRareTrades = new LooksRareTrade([looksrareData1, looksrareData2])\nconst seaportTrades = new SeaportTrade([seaportData1])\n// if no Permit needed, omit the third var of type Permit2Permit\nconst unwrapWETH = new UnwrapWETH(amountWETH, chainId, optionalPermit2Params)\n\n// Use the raw calldata and value returned to call into Universal Swap Router contracts\nconst { calldata, value } = SwapRouter.swapCallParameters([unwrapWETH, seaportTrades, looksRareTrades])\n```\n\n### Trading stETH\nTo trade stETH as an input token, you can make sure the router automatically wraps stETH to wstETH before trading across a wstETH route. Make sure to specify the router is the payer of the swap (since it's in custody of wSTETH after wrapping)\n\nIf this is an exactOut trade, we'll need to wrap the maximumAmountIn of steth, and therefore should add an unwrap command at the end of the transaction to account for any leftover steth that didn't get traded. `amountMinimum` can be set to 0 in this scenario for the unwrapSteth commmand.\n```typescript\nimport { TradeType } from '@uniswap/sdk-core'\nimport { Trade as V2TradeSDK } from '@uniswap/v2-sdk'\nimport { Trade as V3TradeSDK } from '@uniswap/v3-sdk'\nimport { MixedRouteTrade, MixedRouteSDK, Trade as RouterTrade } from '@uniswap/router-sdk'\nimport {\n  UniswapTrade,\n  WrapSTETH\n} from \"@uniswap/universal-router-sdk\";\n\n// EXACT INPUT\n// including optional permit2 parameter will transfer STETH amount using permit2\nconst wrapSTETH = new WrapSTETH(inputSTETH, chainId, WrapSTETHPermitData?, wrapAmountOtherThanContractBalance?)\nconst uniswapWstethTrade = new UniswapTrade(\n  new RouterTrade({ v2Routes, v3Routes, mixedRoutes, tradeType: TradeType.EXACT_INPUT }),\n  { slippageTolerance, payerIsRouter: true }\n)\nconst { calldata, value } = SwapRouter.swapCallParameters([wrapSTETH, uniswapWstethTrade])\n\n// EXACT OUTPUT\nconst wrapSTETH = new WrapSTETH(maximumInputSTETH, chainId, WrapSTETHPermitData?, wrapAmountOtherThanContractBalance?)\nconst uniswapWstethTrade = new UniswapTrade(\n  new RouterTrade({ v2Routes, v3Routes, mixedRoutes, tradeType: TradeType.EXACT_OUTPUT }),\n  { slippageTolerance, payerIsRouter: true }\n)\nconst unwrapSTETH = new UnwrapSTETH(recipient, amountMinimum = 0, chainId)\n\nconst { calldata, value } = SwapRouter.swapCallParameters([wrapSTETH, uniswapWstethTrade, unwrapSTETH])\n\n```\n\nTo recieve stETH as an output token, you can make sure the router automatically unwraps wstETH to stETH before returning to the swapper\n```typescript\nimport { TradeType } from '@uniswap/sdk-core'\nimport { Trade as V2TradeSDK } from '@uniswap/v2-sdk'\nimport { Trade as V3TradeSDK } from '@uniswap/v3-sdk'\nimport { MixedRouteTrade, MixedRouteSDK, Trade as RouterTrade } from '@uniswap/router-sdk'\nimport {\n  ROUTER_AS_RECIPIENT,\n  UniswapTrade,\n  UnwrapSTETH\n} from \"@uniswap/universal-router-sdk\";\n\n// return trade to the router instead of the recipient using the ROUTER_AS_RECIPIENT constant so that the router may custody tokens to unwrap\nconst uniswapWstethTrade = new UniswapTrade(\n  new RouterTrade({ v2Routes, v3Routes, mixedRoutes, tradeType: TradeType.EXACT_INPUT }),\n  { slippageTolerance, recipient: ROUTER_AS_RECIPIENT}\n)\nconst unwrapSTETH = new UnwrapSTETH(recipient, amountMinimum, chainId)\n\nconst { calldata, value } = SwapRouter.swapCallParameters([uniswapWstethTrade, unwrapSTETH])\n```\n\n\n## Running this package\nMake sure you are running `node v16`\nInstall dependencies and run typescript unit tests\n```bash\nyarn install\nyarn test:hardhat\n```\n\nRun forge integration tests\n```bash\nyarn symlink # must install git submodules\nforge install\nyarn test:forge\n```\n","readmeFilename":"README.md"}