@venusprotocol/venus-protocol 5.1.0-dev.1 → 5.1.0-dev.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (105) hide show
  1. package/artifacts/@openzeppelin/contracts/access/IAccessControl.sol/IAccessControl.dbg.json +1 -1
  2. package/artifacts/@openzeppelin/contracts/access/Ownable.sol/Ownable.dbg.json +1 -1
  3. package/artifacts/@openzeppelin/contracts/access/Ownable2Step.sol/Ownable2Step.dbg.json +1 -1
  4. package/artifacts/@openzeppelin/contracts/token/ERC20/IERC20.sol/IERC20.dbg.json +1 -1
  5. package/artifacts/@openzeppelin/contracts/token/ERC20/extensions/IERC20Permit.sol/IERC20Permit.dbg.json +1 -1
  6. package/artifacts/@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol/SafeERC20.dbg.json +1 -1
  7. package/artifacts/@openzeppelin/contracts/utils/Address.sol/Address.dbg.json +1 -1
  8. package/artifacts/@openzeppelin/contracts/utils/Context.sol/Context.dbg.json +1 -1
  9. package/artifacts/@openzeppelin/contracts-upgradeable/access/Ownable2StepUpgradeable.sol/Ownable2StepUpgradeable.dbg.json +1 -1
  10. package/artifacts/@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol/OwnableUpgradeable.dbg.json +1 -1
  11. package/artifacts/@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol/Initializable.dbg.json +1 -1
  12. package/artifacts/@openzeppelin/contracts-upgradeable/security/ReentrancyGuardUpgradeable.sol/ReentrancyGuardUpgradeable.dbg.json +1 -1
  13. package/artifacts/@openzeppelin/contracts-upgradeable/token/ERC20/IERC20Upgradeable.sol/IERC20Upgradeable.dbg.json +1 -1
  14. package/artifacts/@openzeppelin/contracts-upgradeable/token/ERC20/extensions/IERC20MetadataUpgradeable.sol/IERC20MetadataUpgradeable.dbg.json +1 -1
  15. package/artifacts/@openzeppelin/contracts-upgradeable/token/ERC20/extensions/IERC20PermitUpgradeable.sol/IERC20PermitUpgradeable.dbg.json +1 -1
  16. package/artifacts/@openzeppelin/contracts-upgradeable/token/ERC20/utils/SafeERC20Upgradeable.sol/SafeERC20Upgradeable.dbg.json +1 -1
  17. package/artifacts/@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol/AddressUpgradeable.dbg.json +1 -1
  18. package/artifacts/@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol/ContextUpgradeable.dbg.json +1 -1
  19. package/artifacts/@venusprotocol/governance-contracts/contracts/Governance/AccessControlledV8.sol/AccessControlledV8.dbg.json +1 -1
  20. package/artifacts/@venusprotocol/governance-contracts/contracts/Governance/IAccessControlManagerV8.sol/IAccessControlManagerV8.dbg.json +1 -1
  21. package/artifacts/@venusprotocol/oracle/contracts/interfaces/OracleInterface.sol/BoundValidatorInterface.dbg.json +1 -1
  22. package/artifacts/@venusprotocol/oracle/contracts/interfaces/OracleInterface.sol/OracleInterface.dbg.json +1 -1
  23. package/artifacts/@venusprotocol/oracle/contracts/interfaces/OracleInterface.sol/ResilientOracleInterface.dbg.json +1 -1
  24. package/artifacts/@venusprotocol/oracle/contracts/interfaces/OracleInterface.sol/TwapInterface.dbg.json +1 -1
  25. package/artifacts/build-info/bef6b5a62efc5de19d5510cf7f208c2e.json +1 -0
  26. package/artifacts/contracts/Admin/VBNBAdmin.sol/VBNBAdmin.dbg.json +1 -1
  27. package/artifacts/contracts/Admin/VBNBAdminStorage.sol/IProtocolShareReserve.dbg.json +1 -1
  28. package/artifacts/contracts/Admin/VBNBAdminStorage.sol/IWBNB.dbg.json +1 -1
  29. package/artifacts/contracts/Admin/VBNBAdminStorage.sol/VBNBAdminStorage.dbg.json +1 -1
  30. package/artifacts/contracts/Admin/VBNBAdminStorage.sol/VTokenInterface.dbg.json +1 -1
  31. package/artifacts/contracts/DelegateBorrowers/SwapDebtDelegate.sol/IComptroller.dbg.json +1 -1
  32. package/artifacts/contracts/DelegateBorrowers/SwapDebtDelegate.sol/IPriceOracle.dbg.json +1 -1
  33. package/artifacts/contracts/DelegateBorrowers/SwapDebtDelegate.sol/IVToken.dbg.json +1 -1
  34. package/artifacts/contracts/DelegateBorrowers/SwapDebtDelegate.sol/SwapDebtDelegate.dbg.json +1 -1
  35. package/artifacts/contracts/Liquidator/BUSDLiquidator.sol/BUSDLiquidator.dbg.json +4 -0
  36. package/artifacts/contracts/Liquidator/BUSDLiquidator.sol/BUSDLiquidator.json +324 -0
  37. package/artifacts/contracts/Liquidator/Interfaces.sol/IComptroller.dbg.json +1 -1
  38. package/artifacts/contracts/Liquidator/Interfaces.sol/IComptroller.json +36 -0
  39. package/artifacts/contracts/Liquidator/Interfaces.sol/ILiquidator.dbg.json +4 -0
  40. package/artifacts/contracts/Liquidator/Interfaces.sol/ILiquidator.json +127 -0
  41. package/artifacts/contracts/Liquidator/Interfaces.sol/IVAIController.dbg.json +1 -1
  42. package/artifacts/contracts/Liquidator/Interfaces.sol/IVBNB.dbg.json +1 -1
  43. package/artifacts/contracts/Liquidator/Interfaces.sol/IVBNB.json +20 -1
  44. package/artifacts/contracts/Liquidator/Interfaces.sol/IVBep20.dbg.json +1 -1
  45. package/artifacts/contracts/Liquidator/Interfaces.sol/IVBep20.json +20 -1
  46. package/artifacts/contracts/Liquidator/Interfaces.sol/IVToken.dbg.json +1 -1
  47. package/artifacts/contracts/Liquidator/Interfaces.sol/IVToken.json +20 -1
  48. package/artifacts/contracts/Liquidator/Liquidator.sol/Liquidator.dbg.json +1 -1
  49. package/artifacts/contracts/Liquidator/Liquidator.sol/Liquidator.json +2 -2
  50. package/artifacts/contracts/PegStability/IVAI.sol/IVAI.dbg.json +1 -1
  51. package/artifacts/contracts/PegStability/PegStability.sol/PegStability.dbg.json +1 -1
  52. package/artifacts/contracts/Swap/IRouterHelper.sol/IRouterHelper.dbg.json +1 -1
  53. package/artifacts/contracts/Swap/RouterHelper.sol/RouterHelper.dbg.json +1 -1
  54. package/artifacts/contracts/Swap/SwapRouter.sol/SwapRouter.dbg.json +1 -1
  55. package/artifacts/contracts/Swap/interfaces/IPancakePair.sol/IPancakePair.dbg.json +1 -1
  56. package/artifacts/contracts/Swap/interfaces/IPancakeSwapV2Factory.sol/IPancakeSwapV2Factory.dbg.json +1 -1
  57. package/artifacts/contracts/Swap/interfaces/IPancakeSwapV2Router.sol/IPancakeSwapV2Router.dbg.json +1 -1
  58. package/artifacts/contracts/Swap/interfaces/IVBNB.sol/IVBNB.dbg.json +1 -1
  59. package/artifacts/contracts/Swap/interfaces/IVtoken.sol/IVToken.dbg.json +1 -1
  60. package/artifacts/contracts/Swap/interfaces/IWBNB.sol/IWBNB.dbg.json +1 -1
  61. package/artifacts/contracts/Swap/interfaces/InterfaceComptroller.sol/InterfaceComptroller.dbg.json +1 -1
  62. package/artifacts/contracts/Swap/lib/PancakeLibrary.sol/PancakeLibrary.dbg.json +1 -1
  63. package/artifacts/contracts/Swap/lib/TransferHelper.sol/TransferHelper.dbg.json +1 -1
  64. package/artifacts/contracts/test/LiquidatorHarness.sol/LiquidatorHarness.dbg.json +1 -1
  65. package/artifacts/contracts/test/LiquidatorHarness.sol/LiquidatorHarness.json +2 -2
  66. package/contracts/Liquidator/BUSDLiquidator.sol +184 -0
  67. package/contracts/Liquidator/Interfaces.sol +43 -1
  68. package/contracts/Liquidator/Liquidator.sol +3 -11
  69. package/contracts/Liquidator/approveOrRevert.sol +28 -0
  70. package/contracts/Liquidator/constants.sol +5 -0
  71. package/contracts/Liquidator/zeroAddress.sol +11 -0
  72. package/dist/typechain/contracts/Liquidator/BUSDLiquidator.d.ts +264 -0
  73. package/dist/typechain/contracts/Liquidator/BUSDLiquidator.js +3 -0
  74. package/dist/typechain/contracts/Liquidator/Interfaces.sol/IComptroller.d.ts +31 -3
  75. package/dist/typechain/contracts/Liquidator/Interfaces.sol/ILiquidator.d.ts +143 -0
  76. package/dist/typechain/contracts/Liquidator/Interfaces.sol/ILiquidator.js +3 -0
  77. package/dist/typechain/contracts/Liquidator/Interfaces.sol/IVBNB.d.ts +22 -6
  78. package/dist/typechain/contracts/Liquidator/Interfaces.sol/IVBep20.d.ts +22 -6
  79. package/dist/typechain/contracts/Liquidator/Interfaces.sol/IVToken.d.ts +22 -6
  80. package/dist/typechain/contracts/Liquidator/Interfaces.sol/index.d.ts +1 -0
  81. package/dist/typechain/contracts/Liquidator/index.d.ts +1 -0
  82. package/dist/typechain/factories/contracts/Liquidator/BUSDLiquidator__factory.d.ts +264 -0
  83. package/dist/typechain/factories/contracts/Liquidator/BUSDLiquidator__factory.js +353 -0
  84. package/dist/typechain/factories/contracts/Liquidator/Interfaces.sol/IComptroller__factory.d.ts +28 -0
  85. package/dist/typechain/factories/contracts/Liquidator/Interfaces.sol/IComptroller__factory.js +36 -0
  86. package/dist/typechain/factories/contracts/Liquidator/Interfaces.sol/ILiquidator__factory.d.ts +98 -0
  87. package/dist/typechain/factories/contracts/Liquidator/Interfaces.sol/ILiquidator__factory.js +133 -0
  88. package/dist/typechain/factories/contracts/Liquidator/Interfaces.sol/IVBNB__factory.d.ts +15 -1
  89. package/dist/typechain/factories/contracts/Liquidator/Interfaces.sol/IVBNB__factory.js +20 -1
  90. package/dist/typechain/factories/contracts/Liquidator/Interfaces.sol/IVBep20__factory.d.ts +15 -1
  91. package/dist/typechain/factories/contracts/Liquidator/Interfaces.sol/IVBep20__factory.js +20 -1
  92. package/dist/typechain/factories/contracts/Liquidator/Interfaces.sol/IVToken__factory.d.ts +15 -1
  93. package/dist/typechain/factories/contracts/Liquidator/Interfaces.sol/IVToken__factory.js +20 -1
  94. package/dist/typechain/factories/contracts/Liquidator/Interfaces.sol/index.d.ts +1 -0
  95. package/dist/typechain/factories/contracts/Liquidator/Interfaces.sol/index.js +3 -1
  96. package/dist/typechain/factories/contracts/Liquidator/Liquidator__factory.d.ts +1 -1
  97. package/dist/typechain/factories/contracts/Liquidator/Liquidator__factory.js +1 -1
  98. package/dist/typechain/factories/contracts/Liquidator/index.d.ts +1 -0
  99. package/dist/typechain/factories/contracts/Liquidator/index.js +3 -1
  100. package/dist/typechain/factories/contracts/test/LiquidatorHarness__factory.d.ts +1 -1
  101. package/dist/typechain/factories/contracts/test/LiquidatorHarness__factory.js +1 -1
  102. package/dist/typechain/index.d.ts +4 -0
  103. package/dist/typechain/index.js +8 -4
  104. package/package.json +1 -1
  105. package/artifacts/build-info/6dd0842f1ff5cc6ec93b0e1b7e8d3053.json +0 -1
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/6dd0842f1ff5cc6ec93b0e1b7e8d3053.json"
3
+ "buildInfo": "../../../../build-info/bef6b5a62efc5de19d5510cf7f208c2e.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/6dd0842f1ff5cc6ec93b0e1b7e8d3053.json"
3
+ "buildInfo": "../../../../build-info/bef6b5a62efc5de19d5510cf7f208c2e.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/6dd0842f1ff5cc6ec93b0e1b7e8d3053.json"
3
+ "buildInfo": "../../../../build-info/bef6b5a62efc5de19d5510cf7f208c2e.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../../build-info/6dd0842f1ff5cc6ec93b0e1b7e8d3053.json"
3
+ "buildInfo": "../../../../../build-info/bef6b5a62efc5de19d5510cf7f208c2e.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../../../build-info/6dd0842f1ff5cc6ec93b0e1b7e8d3053.json"
3
+ "buildInfo": "../../../../../../build-info/bef6b5a62efc5de19d5510cf7f208c2e.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../../../build-info/6dd0842f1ff5cc6ec93b0e1b7e8d3053.json"
3
+ "buildInfo": "../../../../../../build-info/bef6b5a62efc5de19d5510cf7f208c2e.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/6dd0842f1ff5cc6ec93b0e1b7e8d3053.json"
3
+ "buildInfo": "../../../../build-info/bef6b5a62efc5de19d5510cf7f208c2e.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/6dd0842f1ff5cc6ec93b0e1b7e8d3053.json"
3
+ "buildInfo": "../../../../build-info/bef6b5a62efc5de19d5510cf7f208c2e.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/6dd0842f1ff5cc6ec93b0e1b7e8d3053.json"
3
+ "buildInfo": "../../../../build-info/bef6b5a62efc5de19d5510cf7f208c2e.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/6dd0842f1ff5cc6ec93b0e1b7e8d3053.json"
3
+ "buildInfo": "../../../../build-info/bef6b5a62efc5de19d5510cf7f208c2e.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../../build-info/6dd0842f1ff5cc6ec93b0e1b7e8d3053.json"
3
+ "buildInfo": "../../../../../build-info/bef6b5a62efc5de19d5510cf7f208c2e.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/6dd0842f1ff5cc6ec93b0e1b7e8d3053.json"
3
+ "buildInfo": "../../../../build-info/bef6b5a62efc5de19d5510cf7f208c2e.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../../build-info/6dd0842f1ff5cc6ec93b0e1b7e8d3053.json"
3
+ "buildInfo": "../../../../../build-info/bef6b5a62efc5de19d5510cf7f208c2e.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../../../build-info/6dd0842f1ff5cc6ec93b0e1b7e8d3053.json"
3
+ "buildInfo": "../../../../../../build-info/bef6b5a62efc5de19d5510cf7f208c2e.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../../../build-info/6dd0842f1ff5cc6ec93b0e1b7e8d3053.json"
3
+ "buildInfo": "../../../../../../build-info/bef6b5a62efc5de19d5510cf7f208c2e.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../../../build-info/6dd0842f1ff5cc6ec93b0e1b7e8d3053.json"
3
+ "buildInfo": "../../../../../../build-info/bef6b5a62efc5de19d5510cf7f208c2e.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/6dd0842f1ff5cc6ec93b0e1b7e8d3053.json"
3
+ "buildInfo": "../../../../build-info/bef6b5a62efc5de19d5510cf7f208c2e.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../build-info/6dd0842f1ff5cc6ec93b0e1b7e8d3053.json"
3
+ "buildInfo": "../../../../build-info/bef6b5a62efc5de19d5510cf7f208c2e.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../../build-info/6dd0842f1ff5cc6ec93b0e1b7e8d3053.json"
3
+ "buildInfo": "../../../../../build-info/bef6b5a62efc5de19d5510cf7f208c2e.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../../build-info/6dd0842f1ff5cc6ec93b0e1b7e8d3053.json"
3
+ "buildInfo": "../../../../../build-info/bef6b5a62efc5de19d5510cf7f208c2e.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../../build-info/6dd0842f1ff5cc6ec93b0e1b7e8d3053.json"
3
+ "buildInfo": "../../../../../build-info/bef6b5a62efc5de19d5510cf7f208c2e.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../../build-info/6dd0842f1ff5cc6ec93b0e1b7e8d3053.json"
3
+ "buildInfo": "../../../../../build-info/bef6b5a62efc5de19d5510cf7f208c2e.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../../build-info/6dd0842f1ff5cc6ec93b0e1b7e8d3053.json"
3
+ "buildInfo": "../../../../../build-info/bef6b5a62efc5de19d5510cf7f208c2e.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../../../build-info/6dd0842f1ff5cc6ec93b0e1b7e8d3053.json"
3
+ "buildInfo": "../../../../../build-info/bef6b5a62efc5de19d5510cf7f208c2e.json"
4
4
  }