{"_id":"@alys-chain/verto-sdk-v2","_rev":"4-aea569b47f65a122b08a7dfe23cdf07e","name":"@alys-chain/verto-sdk-v2","dist-tags":{"latest":"3.1.2"},"versions":{"3.0.8":{"name":"@alys-chain/verto-sdk-v2","version":"3.0.8","keywords":["alys","verto","swap"],"license":"MIT","_id":"@alys-chain/verto-sdk-v2@3.0.8","maintainers":[{"name":"jesselu","email":"whitelu@126.com"},{"name":"dwjpeng","email":"dwjpeng@126.com"},{"name":"wmjtyd","email":"wmjtyd@gmail.com"}],"homepage":"https://github.com/ALYS-Chain/verto-sdk-v2#readme","bugs":{"url":"https://github.com/ALYS-Chain/verto-sdk-v2/issues"},"dist":{"shasum":"7661c3f0c016e9d6c183626914f4a2a0dee32c78","tarball":"https://registry.npmjs.org/@alys-chain/verto-sdk-v2/-/verto-sdk-v2-3.0.8.tgz","fileCount":27,"integrity":"sha512-iApJnO521NiYjv/8qOJg9sh+aC1mXgA2Hd8lzBerYj/iT0DfyytjuWWimRVlCocF2ChlY+Tlk7s13C0WbRgWmw==","signatures":[{"sig":"MEUCIQDvaCAlftom1lHWN3ORLVIBRj8r/U6SHSXofGVokpnYOwIgJV5/OSJOXdVuipLigt+gMVwXG7gjPHNeWhYQW5IzaQw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":457551},"main":"dist/index.js","module":"dist/sdk.esm.js","engines":{"node":">=10"},"gitHead":"5ae20d802c0bad139a530a5d2ade83def20dddb1","scripts":{"lint":"tsdx lint src test","test":"tsdx test","build":"tsdx build","start":"tsdx watch","prepublishOnly":"tsdx build"},"typings":"dist/index.d.ts","_npmUser":{"name":"jesselu","email":"whitelu@126.com"},"prettier":{"semi":false,"printWidth":120,"singleQuote":true},"repository":{"url":"git+https://github.com/ALYS-Chain/verto-sdk-v2.git","type":"git"},"_npmVersion":"8.19.4","description":"Verto SDK v2","directories":{},"_nodeVersion":"16.20.2","dependencies":{"jsbi":"^3.1.3","big.js":"^5.2.2","toformat":"^2.0.0","tiny-warning":"^1.0.3","@swapx/v1-core":"^1.0.1","tiny-invariant":"^1.1.0","decimal.js-light":"^2.5.0"},"_hasShrinkwrap":false,"devDependencies":{"tsdx":"^0.13.3","@types/jest":"^24.0.25","@types/big.js":"^4.0.5","@ethersproject/address":"^5.0.2","@ethersproject/networks":"^5.0.2","@ethersproject/solidity":"^5.0.2","@ethersproject/contracts":"^5.0.2","@ethersproject/providers":"^5.0.5","babel-plugin-transform-jsbi-to-bigint":"^1.3.1"},"peerDependencies":{"@ethersproject/address":"^5.0.0-beta","@ethersproject/networks":"^5.0.0-beta","@ethersproject/solidity":"^5.0.0-beta","@ethersproject/contracts":"^5.0.0-beta","@ethersproject/providers":"^5.0.0-beta"},"_npmOperationalInternal":{"tmp":"tmp/verto-sdk-v2_3.0.8_1742662215381_0.8003918228401798","host":"s3://npm-registry-packages-npm-production"}},"3.1.0":{"name":"@alys-chain/verto-sdk-v2","version":"3.1.0","keywords":["alys","verto","swap"],"license":"MIT","_id":"@alys-chain/verto-sdk-v2@3.1.0","maintainers":[{"name":"jesselu","email":"whitelu@126.com"},{"name":"dwjpeng","email":"dwjpeng@126.com"},{"name":"wmjtyd","email":"wmjtyd@gmail.com"}],"homepage":"https://github.com/ALYS-Chain/verto-sdk-v2#readme","bugs":{"url":"https://github.com/ALYS-Chain/verto-sdk-v2/issues"},"dist":{"shasum":"07b01a555ca0716af0c599e0d00653488629dcf2","tarball":"https://registry.npmjs.org/@alys-chain/verto-sdk-v2/-/verto-sdk-v2-3.1.0.tgz","fileCount":27,"integrity":"sha512-KPpHtp+G8gjt8JY0vEQxO4pvYExBlHIzUkAy7hZpCx1XxPOrcSOzlG9j43P+zRzo5DaV6FK/i7lEefw/lzi/qA==","signatures":[{"sig":"MEQCIBkLxU2qnn2Nfkwk9FEPClJa299VzsS/E8tlNSI7cO6uAiAEr1AQxFdVLExPHa4kkwdlzc3/PKM6mJ9iVObToHAaBw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":457991},"main":"dist/index.js","module":"dist/sdk.esm.js","engines":{"node":">=10"},"gitHead":"5ae20d802c0bad139a530a5d2ade83def20dddb1","scripts":{"lint":"tsdx lint src test","test":"tsdx test","build":"tsdx build","start":"tsdx watch","prepublishOnly":"tsdx build"},"typings":"dist/index.d.ts","_npmUser":{"name":"jesselu","email":"whitelu@126.com"},"prettier":{"semi":false,"printWidth":120,"singleQuote":true},"repository":{"url":"git+https://github.com/ALYS-Chain/verto-sdk-v2.git","type":"git"},"_npmVersion":"10.9.0","description":"Verto SDK v2","directories":{},"_nodeVersion":"22.12.0","dependencies":{"jsbi":"^3.1.3","big.js":"^5.2.2","toformat":"^2.0.0","tiny-warning":"^1.0.3","tiny-invariant":"^1.1.0","decimal.js-light":"^2.5.0","@alys-chain/verto-v2-core":"^2.0.2"},"_hasShrinkwrap":false,"devDependencies":{"tsdx":"^0.13.3","@types/jest":"^24.0.25","@types/big.js":"^4.0.5","@ethersproject/address":"^5.0.2","@ethersproject/networks":"^5.0.2","@ethersproject/solidity":"^5.0.2","@ethersproject/contracts":"^5.0.2","@ethersproject/providers":"^5.0.5","babel-plugin-transform-jsbi-to-bigint":"^1.3.1"},"peerDependencies":{"@ethersproject/address":"^5.0.0-beta","@ethersproject/networks":"^5.0.0-beta","@ethersproject/solidity":"^5.0.0-beta","@ethersproject/contracts":"^5.0.0-beta","@ethersproject/providers":"^5.0.0-beta"},"_npmOperationalInternal":{"tmp":"tmp/verto-sdk-v2_3.1.0_1742812742223_0.33845156304719204","host":"s3://npm-registry-packages-npm-production"}},"3.1.1":{"name":"@alys-chain/verto-sdk-v2","version":"3.1.1","keywords":["alys","verto","swap"],"license":"MIT","_id":"@alys-chain/verto-sdk-v2@3.1.1","maintainers":[{"name":"jesselu","email":"whitelu@126.com"},{"name":"dwjpeng","email":"dwjpeng@126.com"},{"name":"wmjtyd","email":"wmjtyd@gmail.com"}],"homepage":"https://github.com/ALYS-Chain/verto-sdk-v2#readme","bugs":{"url":"https://github.com/ALYS-Chain/verto-sdk-v2/issues"},"dist":{"shasum":"dca9542e8355af091690eca199061585a329a93d","tarball":"https://registry.npmjs.org/@alys-chain/verto-sdk-v2/-/verto-sdk-v2-3.1.1.tgz","fileCount":27,"integrity":"sha512-jpZYNmYjmKXvJf7VT6UiyYo5DPUMJVMN2siQ20vPxt+a6kn3XRTQp+1v5A2vzoYGtjr/BlG7F8O8YmtD2vEt4g==","signatures":[{"sig":"MEQCIHd0GxjJqy6scO1meZ7auwcE3QTh5tpKFgfrlHdBZ1xyAiAKwBhG3H8jLDNvFZ8d8M/kMsRPkhLp43aOh/aFl4I2Qg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":458011},"main":"dist/index.js","module":"dist/sdk.esm.js","engines":{"node":">=10"},"gitHead":"5b4e2d3cd9c5707adaec818d581ebf4b2f3a23ca","scripts":{"lint":"tsdx lint src test","test":"tsdx test","build":"tsdx build","start":"tsdx watch","prepublishOnly":"tsdx build"},"typings":"dist/index.d.ts","_npmUser":{"name":"jesselu","email":"whitelu@126.com"},"prettier":{"semi":false,"printWidth":120,"singleQuote":true},"repository":{"url":"git+https://github.com/ALYS-Chain/verto-sdk-v2.git","type":"git"},"_npmVersion":"10.9.0","description":"Verto SDK v2","directories":{},"_nodeVersion":"22.12.0","dependencies":{"jsbi":"^3.1.3","big.js":"^5.2.2","toformat":"^2.0.0","tiny-warning":"^1.0.3","tiny-invariant":"^1.1.0","decimal.js-light":"^2.5.0","@alys-chain/verto-v2-core":"^2.0.2"},"_hasShrinkwrap":false,"devDependencies":{"tsdx":"^0.13.3","@types/jest":"^24.0.25","@types/big.js":"^4.0.5","@ethersproject/address":"^5.0.2","@ethersproject/networks":"^5.0.2","@ethersproject/solidity":"^5.0.2","@ethersproject/contracts":"^5.0.2","@ethersproject/providers":"^5.0.5","babel-plugin-transform-jsbi-to-bigint":"^1.3.1"},"peerDependencies":{"@ethersproject/address":"^5.0.0-beta","@ethersproject/networks":"^5.0.0-beta","@ethersproject/solidity":"^5.0.0-beta","@ethersproject/contracts":"^5.0.0-beta","@ethersproject/providers":"^5.0.0-beta"},"_npmOperationalInternal":{"tmp":"tmp/verto-sdk-v2_3.1.1_1742881110896_0.4973207017144867","host":"s3://npm-registry-packages-npm-production"}},"3.1.2":{"name":"@alys-chain/verto-sdk-v2","license":"MIT","version":"3.1.2","description":"Verto SDK v2","main":"dist/index.js","typings":"dist/index.d.ts","repository":{"type":"git","url":"git+https://github.com/ALYS-Chain/verto-sdk-v2.git"},"keywords":["alys","verto","swap"],"module":"dist/sdk.esm.js","scripts":{"lint":"tsdx lint src test","build":"tsdx build","start":"tsdx watch","test":"tsdx test","prepublishOnly":"tsdx build"},"dependencies":{"@alys-chain/verto-v2-core":"^2.0.2","big.js":"^5.2.2","decimal.js-light":"^2.5.0","jsbi":"^3.1.3","tiny-invariant":"^1.1.0","tiny-warning":"^1.0.3","toformat":"^2.0.0"},"peerDependencies":{"@ethersproject/address":"^5.0.0-beta","@ethersproject/contracts":"^5.0.0-beta","@ethersproject/networks":"^5.0.0-beta","@ethersproject/providers":"^5.0.0-beta","@ethersproject/solidity":"^5.0.0-beta"},"devDependencies":{"@ethersproject/address":"^5.0.2","@ethersproject/contracts":"^5.0.2","@ethersproject/networks":"^5.0.2","@ethersproject/providers":"^5.0.5","@ethersproject/solidity":"^5.0.2","@types/big.js":"^4.0.5","@types/jest":"^24.0.25","babel-plugin-transform-jsbi-to-bigint":"^1.3.1","tsdx":"^0.13.3"},"engines":{"node":">=10"},"prettier":{"printWidth":120,"semi":false,"singleQuote":true},"_id":"@alys-chain/verto-sdk-v2@3.1.2","gitHead":"b51bff61e4e9c83fda15460a72ac0034d68972a3","bugs":{"url":"https://github.com/ALYS-Chain/verto-sdk-v2/issues"},"homepage":"https://github.com/ALYS-Chain/verto-sdk-v2#readme","_nodeVersion":"22.12.0","_npmVersion":"10.9.0","dist":{"integrity":"sha512-sjb4gHmF+2Cr7d0JAZpezyA1wesEwRZtBw3sH1wuDju93dxi6Zo5utrUl7laofYhmzAxGmvKNdRN5BsTiNZtEw==","shasum":"b65fac3bad71305df735ddde059bcedfae8ac6f9","tarball":"https://registry.npmjs.org/@alys-chain/verto-sdk-v2/-/verto-sdk-v2-3.1.2.tgz","fileCount":27,"unpackedSize":458011,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDlzjY/ZPi8yQ8N/GtlUI5oE07PvxIDV5NUZGewErEoGAIgIauyu08F/z9vyUZVEagLLxzefJkaFLwqW5xy89WsLVw="}]},"_npmUser":{"name":"jesselu","email":"whitelu@126.com"},"directories":{},"maintainers":[{"name":"jesselu","email":"whitelu@126.com"},{"name":"dwjpeng","email":"dwjpeng@126.com"},{"name":"wmjtyd","email":"wmjtyd@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/verto-sdk-v2_3.1.2_1742926360264_0.6725780527159055"},"_hasShrinkwrap":false}},"time":{"created":"2025-03-22T16:50:15.298Z","modified":"2025-03-25T18:12:40.661Z","3.0.8":"2025-03-22T16:50:15.575Z","3.1.0":"2025-03-24T10:39:02.368Z","3.1.1":"2025-03-25T05:38:31.121Z","3.1.2":"2025-03-25T18:12:40.501Z"},"bugs":{"url":"https://github.com/ALYS-Chain/verto-sdk-v2/issues"},"license":"MIT","homepage":"https://github.com/ALYS-Chain/verto-sdk-v2#readme","keywords":["alys","verto","swap"],"repository":{"type":"git","url":"git+https://github.com/ALYS-Chain/verto-sdk-v2.git"},"description":"Verto SDK v2","maintainers":[{"name":"jesselu","email":"whitelu@126.com"},{"name":"dwjpeng","email":"dwjpeng@126.com"},{"name":"wmjtyd","email":"wmjtyd@gmail.com"}],"readme":"# Verto SDK V2\n\nTo run the tests, follow these steps. You must have at least node v10 and [yarn](https://yarnpkg.com/) installed.\n\n\n\n# 1. Install & Publish\n\n```sh\n# Install dependencies\nyarn\n\n# Build\nyarn build\n```\n\nRun tests\n\n```sh\nyarn test\n```\n\n\n\n发布包到npm（@alys-chain/verto-sdk-v2）：\n\n```sh\n# 登录\nnpm login\n# 发布\nnpm publish --access public\n```\n\n\n\n# 2. 修改参数\n\n修改如下文件中的参数：\n\n```\nverto-sdk-v2/src/constants.ts\n修改：ChainId、FACTORY_ADDRESS、INIT_CODE_HASH\n\nverto-sdk-v2/src/entities/token.ts\n修改：WETH\n\nverto-sdk-v2/src/fetcher.ts\n位数缓存（可选）：TOKEN_DECIMALS_CACHE\n```\n\n","readmeFilename":"README.md"}