package.json 4.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. {
  2. "name": "@layerzerolabs/stargate",
  3. "license": "GPL-3.0-only",
  4. "version": "1.0.1",
  5. "files": [
  6. "artifacts/contracts/Router.sol/Router.json",
  7. "artifacts/contracts/Pool.sol/Pool.json",
  8. "artifacts/contracts/LPStaking.sol/LPStaking.json",
  9. "artifacts/contracts/libraries/StargateFeeLibraryV01.sol/StargateFeeLibraryV01.json",
  10. "artifacts/contracts/libraries/StargateFeeLibraryV01.sol/StargateFeeLibraryV02.json",
  11. "artifacts/contracts/interfaces/IStargateFeeLibrary.sol/IStargateFeeLibrary.json",
  12. "artifacts/contracts/StargateToken.sol/StargateToken.json"
  13. ],
  14. "scripts": {
  15. "compile": "npx hardhat compile",
  16. "test": "npx hardhat test",
  17. "testPool": "npx hardhat test ./test/Pool.test.js",
  18. "testRouter": "npx hardhat test ./test/Router.test.js",
  19. "testBridge": "npx hardhat test ./test/Bridge.test.js",
  20. "testFactory": "npx hardhat test ./test/Factory.test.js",
  21. "testStargate": "npx hardhat test ./test/Stargate.test.js --logs",
  22. "testStargateToken": "npx hardhat test ./test/StargateToken.test.js",
  23. "testOFT": "npx hardhat test test/Oft.test.js",
  24. "testLPStaking": "npx hardhat test ./test/LPStaking.test.js",
  25. "testStaking": "npx hardhat test ./test/Staking.test.js",
  26. "testLPTokenERC20": "npx hardhat test ./test/LPTokenERC20.test.js",
  27. "testSwapMath": "npx hardhat test ./test/SwapMath.test.js",
  28. "simualtion": "npx hardhat test ./test/executeAction.test.js",
  29. "testDeploy": "npx hardhat --network fuji-sandbox deploy",
  30. "wireBridges": "npx hardhat --network arbitrum-rinkeby-sandbox wireBridges --target-networks optimism-kovan-sandbox",
  31. "wireStargateTokens": "npx hardhat --network arbitrum-rinkeby-sandbox wireStargateTokens --target-networks optimism-kovan-sandbox",
  32. "makePool": "npx hardhat --network rinkeby-sandbox makePool --pool-id 1 --shared-decimals 6",
  33. "makeChainPaths": "npx hardhat --network bsctestnet-testnet makeChainPaths --pool-id 1 --dst-pool-ids 1 --weight 1 --target-networks fuji-testnet",
  34. "makeChainPathsActive": "npx hardhat --network fuji-testnet makeChainPathsActive --pool-id 1 --target-networks rinkeby-testnet,bsctestnet-testnet,mumbai-testnet",
  35. "addLiquidity": "npx hardhat --network fuji-testnet addLiquidity --pool-id 1 --qty 8000000000000000000",
  36. "testnetSwap": "npx hardhat --network fuji-sandbox testnetSwap --pool-id 1 --target-network bsctestnet-sandbox --dst-pool-id 1 --qty 1234000000000000000000",
  37. "test:feeLib": "yarn test test/StargateFeeLibraryV02.test.js",
  38. "dply": "./scripts/dply.sh",
  39. "testPoolstate": "npx hardhat test test/PoolState.test.js",
  40. "dev": "hardhat node",
  41. "prettier": "prettier --write test/**/*.js && prettier --write test/*.js && prettier --write deploy/*.js && prettier --write tasks/*.js && prettier --write contracts/*.sol && prettier --write contracts/**/*.sol",
  42. "lint": "yarn prettier && solhint 'contracts/**/*.sol'"
  43. },
  44. "devDependencies": {
  45. "@nomiclabs/hardhat-ethers": "^2.0.2",
  46. "@nomiclabs/hardhat-etherscan": "^2.1.6",
  47. "@nomiclabs/hardhat-solhint": "^2.0.0",
  48. "@nomiclabs/hardhat-waffle": "^2.0.1",
  49. "@nomiclabs/hardhat-web3": "^2.0.0",
  50. "@openzeppelin/contracts": "3.4.2-solc-0.7",
  51. "chai": "^4.3.4",
  52. "dotenv": "^10.0.0",
  53. "eslint": "^7.32.0",
  54. "eslint-config-prettier": "^8.3.0",
  55. "eslint-config-standard": "^16.0.3",
  56. "eslint-plugin-import": "^2.24.2",
  57. "eslint-plugin-node": "^11.1.0",
  58. "eslint-plugin-prettier": "^3.4.1",
  59. "eslint-plugin-promise": "^5.1.0",
  60. "ethereum-waffle": "^3.4.0",
  61. "ethers": "^5.4.7",
  62. "hardhat": "2.8.0",
  63. "hardhat-deploy": "^0.9.19",
  64. "hardhat-gas-reporter": "^1.0.7",
  65. "hardhat-spdx-license-identifier": "^2.0.0",
  66. "prettier": "^2.4.1",
  67. "prettier-plugin-solidity": "^1.0.0-beta.18",
  68. "solhint": "^3.3.6",
  69. "solidity-coverage": "^0.7.17"
  70. },
  71. "dependencies": {
  72. "@layerzerolabs/lz-sdk": "^0.0.2",
  73. "@layerzerolabs/sg-sdk": "^0.0.7",
  74. "@primitivefi/hardhat-dodoc": "^0.1.3",
  75. "abi-decoder": "^2.4.0",
  76. "ethereumjs-util": "^7.1.4",
  77. "hardhat-contract-sizer": "^2.1.1",
  78. "hardhat-deploy-ethers": "^0.3.0-beta.12",
  79. "hardhat-tracer": "^1.0.0-alpha.6"
  80. }
  81. }