{"_id":"@0xwen/core","_rev":"2-9d8fcf1e32b1e3b7cdc6a91e7f4c0135","name":"@0xwen/core","description":"Wen contracts for typescript","dist-tags":{"latest":"0.0.3"},"versions":{"0.0.1":{"name":"@0xwen/core","version":"0.0.1","keywords":["ethereum","smart-contracts","hardhat","solidity"],"author":{"name":"CryptoAlexandas"},"license":"MIT","_id":"@0xwen/core@0.0.1","maintainers":[{"name":"dinn","email":"2274822997@qq.com"}],"dist":{"shasum":"80e2c76d27a5a4dc143320c4561655bbb679e6be","tarball":"https://registry.npmjs.org/@0xwen/core/-/core-0.0.1.tgz","fileCount":748,"integrity":"sha512-qCExui2NefNDKf4FG4230CwXT1O1uXRSgOTCF/CAOf0WytmGhSPWt7WxlP3069p1ctcQDbaer8w1Tkbc9jIrQA==","signatures":[{"sig":"MEQCIARN/IwZrtax7ahX0wU4YVI0DZ5/sAmD8jXcR8fbA/nvAiBPaBlQ6S+8Lk+LGIb0B66kCWOzcGu2y0HAbKtZjJMNlw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5080588},"main":"./types/index.js","husky":{"hooks":{"pre-push":"yarn test","pre-commit":"yarn test"}},"types":"./types/index.ts","engines":{"node":">= 18.16.0"},"gitHead":"cf53668b13121b08ba27ee9e9f8e9c5f6f5f91db","scripts":{"dev":"hardhat node --no-deploy","gas":"cross-env REPORT_GAS=true hardhat test","lint":"eslint \"**/*.{js,ts}\" && solhint contracts/**/*.sol","test":"hardhat test","build":"cross-env NODE_ENV=build hardhat compile && cross-env NODE_ENV=build hardhat typechain","clean":"hardhat clean","console":"hardhat console","prepare":"yarn build && hardhat typechain","coverage":"cross-env HARDHAT_DEPLOY_FIXTURE=true hardhat coverage","lint:fix":"eslint --fix \"**/*.{js,ts}\" && prettier --write contracts/**/*.sol && solhint contracts/**/*.sol","dev:deploy":"hardhat --network localhost deploy --tags pufer-dev","prepublish":"npm run build && tsc ./types/**.ts --moduleResolution nodenext --target ESNext","mainnet:deploy":"hardhat --network mainnet deploy --tags pufer-pro"},"_npmUser":{"name":"dinn","email":"2274822997@qq.com"},"_npmVersion":"10.5.1","description":"Wen contracts for typescript","directories":{},"_nodeVersion":"20.9.0","dependencies":{"ts-node":"^10.9.1","hardhat-ethers":"^1.0.1","@uniswap/v2-core":"^1.0.1","@layerzerolabs/solidity-examples":"1.1.0"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.2.0","husky":"^8.0.3","mocha":"^10.2.0","dotenv":"^16.0.3","eslint":"^8.37.0","ethers":"^6.6.0","hardhat":"^2.22.2","solhint":"^4.5.4","ts-node":"^10.9.1","prettier":"^3.2.5","cross-env":"^7.0.3","typescript":"^5.1.6","@types/chai":"^4.2.18","@types/node":"^18.15.11","solc-0.8.20":"npm:solc@0.8.20","@types/mocha":"^10.0.1","@types/dotenv":"^8.2.0","hardhat-deploy":"^0.12.2","hardhat-ethers":"^1.0.1","solidity-docgen":"0.6.0-beta.36","solidity-coverage":"^0.8.12","@typechain/hardhat":"^9.1.0","@typechain/ethers-v6":"^0.5.1","hardhat-gas-reporter":"^2.1.1","@uniswap/v2-periphery":"^1.1.0-beta.0","eslint-config-prettier":"^8.8.0","hardhat-storage-layout":"^0.1.7","@openzeppelin/contracts":"^4.8.3","solhint-plugin-prettier":"^0.1.0","prettier-plugin-solidity":"^1.3.1","@typescript-eslint/parser":"^5.57.0","@safe-global/safe-contracts":"^1.4.1-build.0","@nomicfoundation/hardhat-ethers":"^3.0.2","@nomicfoundation/hardhat-verify":"^1.0.1","@nomicfoundation/hardhat-toolbox":"^5.0.0","@typescript-eslint/eslint-plugin":"^5.57.0","@openzeppelin/contracts-upgradeable":"^4.8.3","@nomicfoundation/hardhat-chai-matchers":"^2.0.1","@nomicfoundation/hardhat-network-helpers":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/core_0.0.1_1714031970088_0.04064279090468026","host":"s3://npm-registry-packages"}},"0.0.2":{"name":"@0xwen/core","version":"0.0.2","keywords":["ethereum","smart-contracts","hardhat","solidity"],"author":{"name":"CryptoAlexandas"},"license":"MIT","_id":"@0xwen/core@0.0.2","maintainers":[{"name":"dinn","email":"2274822997@qq.com"}],"dist":{"shasum":"012c098c5c1464ad4408919b3c5278c6cf5f980a","tarball":"https://registry.npmjs.org/@0xwen/core/-/core-0.0.2.tgz","fileCount":736,"integrity":"sha512-PLjnfNX0Im8SxVArPAPmaMLkDMrcajzpGzuDEgrIBtKthKapUlpasgz2iYlipB1HsBGHFVZKjq4sao/G3HR3Fg==","signatures":[{"sig":"MEUCIFeAjmeojxW0dBLRxWREugCYovo1j1FZlpJTvz0aF7W6AiEAhEO0MV7fNMDqvYjLhA3RPkf2e97And3vPc1H8GedGdM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4981915},"main":"./types/index.js","husky":{"hooks":{"pre-push":"yarn test","pre-commit":"yarn test"}},"types":"./types/index.ts","engines":{"node":">= 20.9.0"},"gitHead":"cf53668b13121b08ba27ee9e9f8e9c5f6f5f91db","scripts":{"dev":"hardhat node --no-deploy","gas":"cross-env REPORT_GAS=true hardhat test","lint":"eslint \"**/*.{js,ts}\" && solhint contracts/**/*.sol","test":"hardhat test","build":"cross-env NODE_ENV=build hardhat compile && cross-env NODE_ENV=build hardhat typechain && yarn prepublish","clean":"hardhat clean","console":"hardhat console","mainnet":"hardhat --network mainnet","prepare":"yarn build && hardhat typechain","coverage":"cross-env HARDHAT_DEPLOY_FIXTURE=true hardhat coverage","lint:fix":"eslint --fix \"**/*.{js,ts}\" && prettier --write contracts/**/*.sol && solhint contracts/**/*.sol","dev:deploy":"hardhat --network localhost deploy --tags pufer-dev","prepublish":"tsc ./types/**.ts --module NodeNext --moduleResolution NodeNext --target ESNext","mainnet-pre":"hardhat --network mainnet-pre","mainnet:deploy":"hardhat --network mainnet deploy --tags pufer-pro"},"_npmUser":{"name":"dinn","email":"2274822997@qq.com"},"_npmVersion":"10.5.1","description":"Wen contracts for typescript","directories":{},"_nodeVersion":"20.9.0","dependencies":{"ts-node":"^10.9.1","hardhat-ethers":"^1.0.1","@uniswap/v2-core":"^1.0.1","@layerzerolabs/solidity-examples":"1.1.0"},"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.2.0","husky":"^8.0.3","mocha":"^10.2.0","dotenv":"^16.0.3","eslint":"^8.37.0","ethers":"^6.6.0","hardhat":"^2.22.2","solhint":"^4.5.4","ts-node":"^10.9.1","prettier":"^3.2.5","cross-env":"^7.0.3","typescript":"^5.1.6","@types/chai":"^4.2.18","@types/node":"^18.15.11","solc-0.8.20":"npm:solc@0.8.20","@types/mocha":"^10.0.1","@types/dotenv":"^8.2.0","hardhat-deploy":"^0.12.2","hardhat-ethers":"^1.0.1","solidity-docgen":"0.6.0-beta.36","solidity-coverage":"^0.8.12","@typechain/hardhat":"^9.1.0","@typechain/ethers-v6":"^0.5.1","hardhat-gas-reporter":"^2.1.1","@uniswap/v2-periphery":"^1.1.0-beta.0","eslint-config-prettier":"^8.8.0","hardhat-storage-layout":"^0.1.7","@openzeppelin/contracts":"^4.8.3","solhint-plugin-prettier":"^0.1.0","prettier-plugin-solidity":"^1.3.1","@typescript-eslint/parser":"^5.57.0","@safe-global/safe-contracts":"^1.4.1-build.0","@nomicfoundation/hardhat-ethers":"^3.0.2","@nomicfoundation/hardhat-verify":"^1.0.1","@nomicfoundation/hardhat-toolbox":"^5.0.0","@typescript-eslint/eslint-plugin":"^5.57.0","@openzeppelin/contracts-upgradeable":"^4.8.3","@nomicfoundation/hardhat-chai-matchers":"^2.0.1","@nomicfoundation/hardhat-network-helpers":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/core_0.0.2_1716281453706_0.8153079524044786","host":"s3://npm-registry-packages"}},"0.0.3":{"name":"@0xwen/core","version":"0.0.3","description":"Wen contracts for typescript","main":"./types/index.js","types":"./types/index.ts","engines":{"node":">= 20.9.0"},"author":{"name":"CryptoAlexandas"},"license":"MIT","keywords":["ethereum","smart-contracts","hardhat","solidity"],"devDependencies":{"@nomicfoundation/hardhat-chai-matchers":"^2.0.1","@nomicfoundation/hardhat-ethers":"^3.0.2","@nomicfoundation/hardhat-network-helpers":"^1.0.0","@nomicfoundation/hardhat-toolbox":"^5.0.0","@nomicfoundation/hardhat-verify":"^1.0.1","@openzeppelin/contracts":"^4.8.3","@openzeppelin/contracts-upgradeable":"^4.8.3","@safe-global/safe-contracts":"^1.4.1-build.0","@typechain/ethers-v6":"^0.5.1","@typechain/hardhat":"^9.1.0","@types/chai":"^4.2.18","@types/dotenv":"^8.2.0","@types/mocha":"^10.0.1","@types/node":"^18.15.11","@typescript-eslint/eslint-plugin":"^5.57.0","@typescript-eslint/parser":"^5.57.0","@uniswap/v2-periphery":"^1.1.0-beta.0","chai":"^4.2.0","cross-env":"^7.0.3","dotenv":"^16.0.3","eslint":"^8.37.0","eslint-config-prettier":"^8.8.0","ethers":"^6.6.0","hardhat":"^2.22.2","hardhat-deploy":"^0.12.2","hardhat-ethers":"^1.0.1","hardhat-gas-reporter":"^2.1.1","hardhat-storage-layout":"^0.1.7","husky":"^8.0.3","mocha":"^10.2.0","prettier":"^3.2.5","prettier-plugin-solidity":"^1.3.1","solc-0.8.20":"npm:solc@0.8.20","solhint":"^4.5.4","solhint-plugin-prettier":"^0.1.0","solidity-coverage":"^0.8.12","solidity-docgen":"0.6.0-beta.36","ts-node":"^10.9.1","typescript":"^5.1.6"},"scripts":{"prepublish":"tsc ./types/**.ts --module NodeNext --moduleResolution NodeNext --target ESNext","clean":"hardhat clean","build":"cross-env NODE_ENV=build hardhat compile && cross-env NODE_ENV=build hardhat typechain && yarn prepublish","console":"hardhat console","coverage":"cross-env HARDHAT_DEPLOY_FIXTURE=true hardhat coverage","gas":"cross-env REPORT_GAS=true hardhat test","test":"hardhat test","mainnet-pre":"hardhat --network mainnet-pre","mainnet":"hardhat --network mainnet","dev":"hardhat node --no-deploy","dev:deploy":"hardhat --network localhost deploy --tags pufer-dev","mainnet:deploy":"hardhat --network mainnet deploy --tags pufer-pro","prepare":"yarn build && hardhat typechain","lint":"eslint \"**/*.{js,ts}\" && solhint contracts/**/*.sol","lint:fix":"eslint --fix \"**/*.{js,ts}\" && prettier --write contracts/**/*.sol && solhint contracts/**/*.sol"},"husky":{"hooks":{"pre-commit":"yarn test","pre-push":"yarn test"}},"dependencies":{"@layerzerolabs/solidity-examples":"1.1.0","@uniswap/v2-core":"^1.0.1","hardhat-ethers":"^1.0.1","ts-node":"^10.9.1"},"_id":"@0xwen/core@0.0.3","gitHead":"a6d58346eb9b3c97c36693d622a9505804504010","_nodeVersion":"20.9.0","_npmVersion":"10.8.1","dist":{"integrity":"sha512-9ZFMymBjYuSFl/iJjVsLcKVnukhsu+8caINLRGAKmwhj5kICMLY63X6wqiwA+kGPU6VVZZl+x8Z6fBsviOT8pg==","shasum":"ce5bd660b7aabb3b51d71d48d29a3b6543da5ed0","tarball":"https://registry.npmjs.org/@0xwen/core/-/core-0.0.3.tgz","fileCount":735,"unpackedSize":4895672,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHCZ6CZsLiX1AQ3XLbxRGNMFDwJT7pGa5dvCtJtkhmd1AiBO7x8+Oa5SJmoh9rgkStGBzT/PbJ/kyRMFAprR+Z1GQQ=="}]},"_npmUser":{"name":"dinn","email":"2274822997@qq.com"},"directories":{},"maintainers":[{"name":"dinn","email":"2274822997@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/core_0.0.3_1718782781034_0.8728862410976255"},"_hasShrinkwrap":false}},"time":{"created":"2024-04-25T07:59:29.993Z","modified":"2024-06-19T07:39:41.560Z","0.0.1":"2024-04-25T07:59:30.330Z","0.0.2":"2024-05-21T08:50:53.968Z","0.0.3":"2024-06-19T07:39:41.348Z"},"maintainers":[{"name":"dinn","email":"2274822997@qq.com"}],"author":{"name":"CryptoAlexandas"},"keywords":["ethereum","smart-contracts","hardhat","solidity"],"license":"MIT","readme":"![License: GPL](https://img.shields.io/badge/license-GPLv3-blue)![Version Badge](https://img.shields.io/badge/version-0.0.2-lightgrey.svg)\n# Wen Protocol\n\nforked from liquity\n\n## Install\n\n`npm install`\n\n## Local development\n\n`npm run build`\n\n`npx hardhat node`\n\n## Get start\n\n1. create `.env` file  and set your mnemonic as below\n\n   `MNEMONIC=\"your mnemonic\"`\n\n2. compile contracts, it will generate contract artifacts also typechains\n\n   `yarn build`\n\n3. test contracts\n\n   `yarn test`\n\n---\n\nOnce the rpc url is unavailable, check it [here](https://chainlist.org/)\n","readmeFilename":"README.md"}