@venusprotocol/venus-protocol 6.1.0-dev.1 → 6.1.0-dev.10
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.
- package/README.md +1 -1
- package/artifacts/@venusprotocol/governance-contracts/contracts/Governance/AccessControlledV8.sol/AccessControlledV8.dbg.json +1 -1
- package/artifacts/@venusprotocol/governance-contracts/contracts/Governance/IAccessControlManagerV8.sol/IAccessControlManagerV8.dbg.json +1 -1
- package/artifacts/@venusprotocol/oracle/contracts/interfaces/OracleInterface.sol/BoundValidatorInterface.dbg.json +1 -1
- package/artifacts/@venusprotocol/oracle/contracts/interfaces/OracleInterface.sol/OracleInterface.dbg.json +1 -1
- package/artifacts/@venusprotocol/oracle/contracts/interfaces/OracleInterface.sol/ResilientOracleInterface.dbg.json +1 -1
- package/artifacts/@venusprotocol/oracle/contracts/interfaces/OracleInterface.sol/TwapInterface.dbg.json +1 -1
- package/artifacts/@venusprotocol/solidity-utilities/contracts/MaxLoopsLimitHelper.sol/MaxLoopsLimitHelper.dbg.json +4 -0
- package/artifacts/@venusprotocol/{isolated-pools → solidity-utilities}/contracts/MaxLoopsLimitHelper.sol/MaxLoopsLimitHelper.json +1 -1
- package/artifacts/build-info/{2760d6f350f53f1800e3646397c6e1d1.json → ca9cec918639b6d02d5466619a4c008d.json} +1 -1
- package/artifacts/contracts/Admin/VBNBAdmin.sol/VBNBAdmin.dbg.json +1 -1
- package/artifacts/contracts/Admin/VBNBAdminStorage.sol/IProtocolShareReserve.dbg.json +1 -1
- package/artifacts/contracts/Admin/VBNBAdminStorage.sol/IWBNB.dbg.json +1 -1
- package/artifacts/contracts/Admin/VBNBAdminStorage.sol/VBNBAdminStorage.dbg.json +1 -1
- package/artifacts/contracts/Admin/VBNBAdminStorage.sol/VTokenInterface.dbg.json +1 -1
- package/artifacts/contracts/DelegateBorrowers/MoveDebtDelegate.sol/MoveDebtDelegate.dbg.json +4 -0
- package/artifacts/contracts/DelegateBorrowers/MoveDebtDelegate.sol/MoveDebtDelegate.json +361 -0
- package/artifacts/contracts/DelegateBorrowers/SwapDebtDelegate.sol/SwapDebtDelegate.dbg.json +1 -1
- package/artifacts/contracts/DelegateBorrowers/SwapDebtDelegate.sol/SwapDebtDelegate.json +4 -4
- package/artifacts/contracts/InterfacesV8.sol/IComptroller.dbg.json +4 -0
- package/artifacts/contracts/{Liquidator/Interfaces.sol → InterfacesV8.sol}/IComptroller.json +14 -1
- package/artifacts/contracts/InterfacesV8.sol/ILiquidator.dbg.json +4 -0
- package/artifacts/contracts/{Liquidator/Interfaces.sol → InterfacesV8.sol}/ILiquidator.json +1 -1
- package/artifacts/contracts/InterfacesV8.sol/IVAIController.dbg.json +4 -0
- package/artifacts/contracts/{Liquidator/Interfaces.sol → InterfacesV8.sol}/IVAIController.json +1 -1
- package/artifacts/contracts/InterfacesV8.sol/IVBNB.dbg.json +4 -0
- package/artifacts/contracts/{Liquidator/Interfaces.sol → InterfacesV8.sol}/IVBNB.json +15 -2
- package/artifacts/contracts/InterfacesV8.sol/IVBep20.dbg.json +4 -0
- package/artifacts/contracts/{Liquidator/Interfaces.sol → InterfacesV8.sol}/IVBep20.json +63 -2
- package/artifacts/contracts/InterfacesV8.sol/IVToken.dbg.json +4 -0
- package/artifacts/contracts/{Liquidator/Interfaces.sol → InterfacesV8.sol}/IVToken.json +15 -2
- package/artifacts/contracts/Liquidator/BUSDLiquidator.sol/BUSDLiquidator.dbg.json +1 -1
- package/artifacts/contracts/Liquidator/BUSDLiquidator.sol/BUSDLiquidator.json +3 -3
- package/artifacts/contracts/Liquidator/Liquidator.sol/Liquidator.dbg.json +1 -1
- package/artifacts/contracts/Liquidator/Liquidator.sol/Liquidator.json +7 -7
- package/artifacts/contracts/PegStability/IVAI.sol/IVAI.dbg.json +1 -1
- package/artifacts/contracts/PegStability/PegStability.sol/PegStability.dbg.json +1 -1
- package/artifacts/contracts/Swap/IRouterHelper.sol/IRouterHelper.dbg.json +1 -1
- package/artifacts/contracts/Swap/RouterHelper.sol/RouterHelper.dbg.json +1 -1
- package/artifacts/contracts/Swap/SwapRouter.sol/SwapRouter.dbg.json +1 -1
- package/artifacts/contracts/Swap/interfaces/IPancakePair.sol/IPancakePair.dbg.json +1 -1
- package/artifacts/contracts/Swap/interfaces/IPancakeSwapV2Factory.sol/IPancakeSwapV2Factory.dbg.json +1 -1
- package/artifacts/contracts/Swap/interfaces/IPancakeSwapV2Router.sol/IPancakeSwapV2Router.dbg.json +1 -1
- package/artifacts/contracts/Swap/interfaces/IVBNB.sol/IVBNB.dbg.json +1 -1
- package/artifacts/contracts/Swap/interfaces/IVtoken.sol/IVToken.dbg.json +1 -1
- package/artifacts/contracts/Swap/interfaces/IWBNB.sol/IWBNB.dbg.json +1 -1
- package/artifacts/contracts/Swap/interfaces/InterfaceComptroller.sol/InterfaceComptroller.dbg.json +1 -1
- package/artifacts/contracts/Swap/lib/PancakeLibrary.sol/PancakeLibrary.dbg.json +1 -1
- package/artifacts/contracts/Swap/lib/TransferHelper.sol/TransferHelper.dbg.json +1 -1
- package/artifacts/contracts/Tokens/Prime/Interfaces/IPrime.sol/IPrime.dbg.json +1 -1
- package/artifacts/contracts/Tokens/Prime/Interfaces/IPrimeLiquidityProvider.sol/IPrimeLiquidityProvider.dbg.json +1 -1
- package/artifacts/contracts/Tokens/Prime/Interfaces/IVToken.sol/IVToken.dbg.json +1 -1
- package/artifacts/contracts/Tokens/Prime/Interfaces/IXVSVault.sol/IXVSVault.dbg.json +1 -1
- package/artifacts/contracts/Tokens/Prime/Interfaces/InterfaceComptroller.sol/InterfaceComptroller.dbg.json +1 -1
- package/artifacts/contracts/Tokens/Prime/Prime.sol/Prime.dbg.json +1 -1
- package/artifacts/contracts/Tokens/Prime/Prime.sol/Prime.json +11 -11
- package/artifacts/contracts/Tokens/Prime/PrimeLiquidityProvider.sol/PrimeLiquidityProvider.dbg.json +1 -1
- package/artifacts/contracts/Tokens/Prime/PrimeLiquidityProvider.sol/PrimeLiquidityProvider.json +2 -2
- package/artifacts/contracts/Tokens/Prime/PrimeStorage.sol/PrimeStorageV1.dbg.json +1 -1
- package/artifacts/contracts/Tokens/Prime/libs/FixedMath.sol/FixedMath.dbg.json +1 -1
- package/artifacts/contracts/Tokens/Prime/libs/FixedMath0x.sol/FixedMath0x.dbg.json +1 -1
- package/artifacts/contracts/Tokens/Prime/libs/Scores.sol/Scores.dbg.json +1 -1
- package/artifacts/contracts/test/AccessControlManagerMock.sol/AccessControlManagerMock.dbg.json +1 -1
- package/artifacts/contracts/test/LiquidatorHarness.sol/LiquidatorHarness.dbg.json +1 -1
- package/artifacts/contracts/test/LiquidatorHarness.sol/LiquidatorHarness.json +7 -7
- package/artifacts/contracts/test/MockProtocolShareReserve.sol/IComptroller.dbg.json +1 -1
- package/artifacts/contracts/test/MockProtocolShareReserve.sol/IIncomeDestination.dbg.json +1 -1
- package/artifacts/contracts/test/MockProtocolShareReserve.sol/IMockProtocolShareReserve.dbg.json +1 -1
- package/artifacts/contracts/test/MockProtocolShareReserve.sol/IPoolRegistry.dbg.json +1 -1
- package/artifacts/contracts/test/MockProtocolShareReserve.sol/IPrime.dbg.json +1 -1
- package/artifacts/contracts/test/MockProtocolShareReserve.sol/IVToken.dbg.json +1 -1
- package/artifacts/contracts/test/MockProtocolShareReserve.sol/MaxLoopsLimitHelper.dbg.json +1 -1
- package/artifacts/contracts/test/MockProtocolShareReserve.sol/MockProtocolShareReserve.dbg.json +1 -1
- package/artifacts/contracts/test/PrimeScenario.sol/PrimeScenario.dbg.json +1 -1
- package/artifacts/contracts/test/PrimeScenario.sol/PrimeScenario.json +9 -9
- package/contracts/DelegateBorrowers/MoveDebtDelegate.sol +179 -0
- package/contracts/DelegateBorrowers/SwapDebtDelegate.sol +15 -31
- package/contracts/{Liquidator/Interfaces.sol → InterfacesV8.sol} +10 -3
- package/contracts/Liquidator/BUSDLiquidator.sol +6 -5
- package/contracts/Liquidator/Liquidator.sol +6 -5
- package/contracts/Tokens/Prime/Prime.sol +15 -17
- package/contracts/Tokens/Prime/PrimeLiquidityProvider.sol +1 -1
- package/deploy/007-deploy-VTreasuryV8.ts +2 -1
- package/deploy/007-deploy-xvs.ts +21 -0
- package/deploy/008-deploy-vaults.ts +53 -0
- package/deploy/009-configure-vaults.ts +60 -0
- package/deployments/bscmainnet_addresses.json +198 -0
- package/deployments/bsctestnet_addresses.json +117 -0
- package/deployments/ethereum_addresses.json +7 -0
- package/deployments/opbnbmainnet/.chainId +1 -0
- package/deployments/opbnbmainnet/VTreasuryV8.json +329 -0
- package/deployments/opbnbmainnet/solcInputs/eec1a81bf1f62fa3d37a473878008333.json +97 -0
- package/deployments/opbnbmainnet.json +200 -0
- package/deployments/opbnbmainnet_addresses.json +7 -0
- package/deployments/opbnbtestnet/.chainId +1 -0
- package/deployments/opbnbtestnet/VTreasuryV8.json +329 -0
- package/deployments/opbnbtestnet/solcInputs/eec1a81bf1f62fa3d37a473878008333.json +97 -0
- package/deployments/opbnbtestnet.json +200 -0
- package/deployments/opbnbtestnet_addresses.json +7 -0
- package/deployments/sepolia/XVSStore.json +374 -0
- package/deployments/sepolia/XVSVault.json +2373 -0
- package/deployments/sepolia/XVSVaultProxy.json +352 -0
- package/deployments/sepolia/solcInputs/b0e08c65414d4fb3a80b2146b3c121f2.json +345 -0
- package/deployments/sepolia.json +2040 -0
- package/deployments/sepolia_addresses.json +10 -0
- package/dist/deploy/007-deploy-VTreasuryV8.js +3 -1
- package/dist/deploy/007-deploy-xvs.d.ts +3 -0
- package/dist/deploy/007-deploy-xvs.js +16 -0
- package/dist/deploy/008-deploy-vaults.d.ts +3 -0
- package/dist/deploy/008-deploy-vaults.js +41 -0
- package/dist/deploy/009-configure-vaults.d.ts +3 -0
- package/dist/deploy/009-configure-vaults.js +41 -0
- package/dist/hardhat.config.js +111 -20
- package/dist/typechain/@venusprotocol/index.d.ts +2 -2
- package/dist/typechain/contracts/DelegateBorrowers/MoveDebtDelegate.d.ts +274 -0
- package/dist/typechain/contracts/DelegateBorrowers/{SwapDebtDelegate.sol/SwapDebtDelegate.d.ts → SwapDebtDelegate.d.ts} +1 -1
- package/dist/typechain/contracts/DelegateBorrowers/index.d.ts +2 -2
- package/dist/typechain/contracts/DelegateBorrowers/index.js +0 -1
- package/dist/typechain/contracts/{Liquidator/Interfaces.sol → InterfacesV8.sol}/IComptroller.d.ts +10 -2
- package/dist/typechain/contracts/{Liquidator/Interfaces.sol → InterfacesV8.sol}/ILiquidator.d.ts +1 -1
- package/dist/typechain/contracts/{Liquidator/Interfaces.sol → InterfacesV8.sol}/IVAIController.d.ts +1 -1
- package/dist/typechain/contracts/{Liquidator/Interfaces.sol → InterfacesV8.sol}/IVBNB.d.ts +15 -7
- package/dist/typechain/contracts/{Liquidator/Interfaces.sol → InterfacesV8.sol}/IVBep20.d.ts +47 -7
- package/dist/typechain/contracts/{Liquidator/Interfaces.sol → InterfacesV8.sol}/IVToken.d.ts +15 -7
- package/dist/typechain/contracts/Liquidator/index.d.ts +0 -2
- package/dist/typechain/contracts/Liquidator/index.js +0 -1
- package/dist/typechain/contracts/Tokens/Prime/Prime.d.ts +17 -17
- package/dist/typechain/contracts/index.d.ts +2 -0
- package/dist/typechain/contracts/test/PrimeScenario.d.ts +17 -17
- package/dist/typechain/factories/@venusprotocol/index.d.ts +1 -1
- package/dist/typechain/factories/@venusprotocol/index.js +2 -2
- package/dist/typechain/factories/@venusprotocol/{isolated-pools → solidity-utilities}/contracts/MaxLoopsLimitHelper__factory.d.ts +1 -1
- package/dist/typechain/factories/contracts/DelegateBorrowers/MoveDebtDelegate__factory.d.ts +294 -0
- package/dist/typechain/factories/contracts/DelegateBorrowers/MoveDebtDelegate__factory.js +390 -0
- package/dist/typechain/factories/contracts/DelegateBorrowers/{SwapDebtDelegate.sol/SwapDebtDelegate__factory.d.ts → SwapDebtDelegate__factory.d.ts} +5 -5
- package/dist/typechain/factories/contracts/DelegateBorrowers/{SwapDebtDelegate.sol/SwapDebtDelegate__factory.js → SwapDebtDelegate__factory.js} +3 -3
- package/dist/typechain/factories/contracts/DelegateBorrowers/index.d.ts +2 -1
- package/dist/typechain/factories/contracts/DelegateBorrowers/index.js +5 -25
- package/dist/typechain/factories/contracts/{Liquidator/Interfaces.sol → InterfacesV8.sol}/IComptroller__factory.d.ts +11 -1
- package/dist/typechain/factories/contracts/{Liquidator/Interfaces.sol → InterfacesV8.sol}/IComptroller__factory.js +13 -0
- package/dist/typechain/factories/contracts/{Liquidator/Interfaces.sol → InterfacesV8.sol}/ILiquidator__factory.d.ts +1 -1
- package/dist/typechain/factories/contracts/{Liquidator/Interfaces.sol → InterfacesV8.sol}/IVAIController__factory.d.ts +1 -1
- package/dist/typechain/factories/contracts/{Liquidator/Interfaces.sol → InterfacesV8.sol}/IVBNB__factory.d.ts +12 -2
- package/dist/typechain/factories/contracts/{Liquidator/Interfaces.sol → InterfacesV8.sol}/IVBNB__factory.js +14 -1
- package/dist/typechain/factories/contracts/{Liquidator/Interfaces.sol → InterfacesV8.sol}/IVBep20__factory.d.ts +48 -2
- package/dist/typechain/factories/contracts/{Liquidator/Interfaces.sol → InterfacesV8.sol}/IVBep20__factory.js +62 -1
- package/dist/typechain/factories/contracts/{Liquidator/Interfaces.sol → InterfacesV8.sol}/IVToken__factory.d.ts +12 -2
- package/dist/typechain/factories/contracts/{Liquidator/Interfaces.sol → InterfacesV8.sol}/IVToken__factory.js +14 -1
- package/dist/typechain/factories/contracts/Liquidator/BUSDLiquidator__factory.d.ts +2 -2
- package/dist/typechain/factories/contracts/Liquidator/BUSDLiquidator__factory.js +2 -2
- package/dist/typechain/factories/contracts/Liquidator/Liquidator__factory.d.ts +5 -5
- package/dist/typechain/factories/contracts/Liquidator/Liquidator__factory.js +6 -6
- package/dist/typechain/factories/contracts/Liquidator/index.d.ts +0 -1
- package/dist/typechain/factories/contracts/Liquidator/index.js +1 -25
- package/dist/typechain/factories/contracts/Tokens/Prime/PrimeLiquidityProvider__factory.d.ts +1 -1
- package/dist/typechain/factories/contracts/Tokens/Prime/PrimeLiquidityProvider__factory.js +1 -1
- package/dist/typechain/factories/contracts/Tokens/Prime/Prime__factory.d.ts +12 -12
- package/dist/typechain/factories/contracts/Tokens/Prime/Prime__factory.js +14 -14
- package/dist/typechain/factories/contracts/index.d.ts +1 -0
- package/dist/typechain/factories/contracts/index.js +2 -1
- package/dist/typechain/factories/contracts/test/LiquidatorHarness__factory.d.ts +5 -5
- package/dist/typechain/factories/contracts/test/LiquidatorHarness__factory.js +6 -6
- package/dist/typechain/factories/contracts/test/PrimeScenario__factory.d.ts +8 -8
- package/dist/typechain/factories/contracts/test/PrimeScenario__factory.js +8 -8
- package/dist/typechain/index.d.ts +16 -16
- package/dist/typechain/index.js +17 -17
- package/package.json +3 -3
- package/artifacts/@venusprotocol/isolated-pools/contracts/MaxLoopsLimitHelper.sol/MaxLoopsLimitHelper.dbg.json +0 -4
- package/artifacts/contracts/DelegateBorrowers/SwapDebtDelegate.sol/IComptroller.dbg.json +0 -4
- package/artifacts/contracts/DelegateBorrowers/SwapDebtDelegate.sol/IComptroller.json +0 -24
- package/artifacts/contracts/DelegateBorrowers/SwapDebtDelegate.sol/IPriceOracle.dbg.json +0 -4
- package/artifacts/contracts/DelegateBorrowers/SwapDebtDelegate.sol/IPriceOracle.json +0 -30
- package/artifacts/contracts/DelegateBorrowers/SwapDebtDelegate.sol/IVToken.dbg.json +0 -4
- package/artifacts/contracts/DelegateBorrowers/SwapDebtDelegate.sol/IVToken.json +0 -104
- package/artifacts/contracts/Liquidator/Interfaces.sol/IComptroller.dbg.json +0 -4
- package/artifacts/contracts/Liquidator/Interfaces.sol/ILiquidator.dbg.json +0 -4
- package/artifacts/contracts/Liquidator/Interfaces.sol/IVAIController.dbg.json +0 -4
- package/artifacts/contracts/Liquidator/Interfaces.sol/IVBNB.dbg.json +0 -4
- package/artifacts/contracts/Liquidator/Interfaces.sol/IVBep20.dbg.json +0 -4
- package/artifacts/contracts/Liquidator/Interfaces.sol/IVToken.dbg.json +0 -4
- package/contracts/Liquidator/constants.sol +0 -5
- package/contracts/Liquidator/zeroAddress.sol +0 -11
- package/dist/typechain/contracts/DelegateBorrowers/SwapDebtDelegate.sol/IComptroller.d.ts +0 -42
- package/dist/typechain/contracts/DelegateBorrowers/SwapDebtDelegate.sol/IPriceOracle.d.ts +0 -42
- package/dist/typechain/contracts/DelegateBorrowers/SwapDebtDelegate.sol/IPriceOracle.js +0 -3
- package/dist/typechain/contracts/DelegateBorrowers/SwapDebtDelegate.sol/IVToken.d.ts +0 -98
- package/dist/typechain/contracts/DelegateBorrowers/SwapDebtDelegate.sol/index.d.ts +0 -4
- package/dist/typechain/contracts/Liquidator/Interfaces.sol/IVToken.js +0 -3
- package/dist/typechain/contracts/Liquidator/Interfaces.sol/index.js +0 -2
- package/dist/typechain/factories/contracts/DelegateBorrowers/SwapDebtDelegate.sol/IComptroller__factory.d.ts +0 -18
- package/dist/typechain/factories/contracts/DelegateBorrowers/SwapDebtDelegate.sol/IComptroller__factory.js +0 -30
- package/dist/typechain/factories/contracts/DelegateBorrowers/SwapDebtDelegate.sol/IPriceOracle__factory.d.ts +0 -22
- package/dist/typechain/factories/contracts/DelegateBorrowers/SwapDebtDelegate.sol/IPriceOracle__factory.js +0 -36
- package/dist/typechain/factories/contracts/DelegateBorrowers/SwapDebtDelegate.sol/IVToken__factory.d.ts +0 -78
- package/dist/typechain/factories/contracts/DelegateBorrowers/SwapDebtDelegate.sol/IVToken__factory.js +0 -110
- package/dist/typechain/factories/contracts/DelegateBorrowers/SwapDebtDelegate.sol/index.d.ts +0 -4
- package/dist/typechain/factories/contracts/DelegateBorrowers/SwapDebtDelegate.sol/index.js +0 -14
- /package/contracts/{Liquidator → lib}/approveOrRevert.sol +0 -0
- /package/dist/typechain/@venusprotocol/{isolated-pools → solidity-utilities}/contracts/MaxLoopsLimitHelper.d.ts +0 -0
- /package/dist/typechain/@venusprotocol/{isolated-pools → solidity-utilities}/contracts/MaxLoopsLimitHelper.js +0 -0
- /package/dist/typechain/@venusprotocol/{isolated-pools → solidity-utilities}/contracts/index.d.ts +0 -0
- /package/dist/typechain/@venusprotocol/{isolated-pools → solidity-utilities}/contracts/index.js +0 -0
- /package/dist/typechain/@venusprotocol/{isolated-pools → solidity-utilities}/index.d.ts +0 -0
- /package/dist/typechain/@venusprotocol/{isolated-pools → solidity-utilities}/index.js +0 -0
- /package/dist/typechain/contracts/DelegateBorrowers/{SwapDebtDelegate.sol/IComptroller.js → MoveDebtDelegate.js} +0 -0
- /package/dist/typechain/contracts/DelegateBorrowers/{SwapDebtDelegate.sol/SwapDebtDelegate.js → SwapDebtDelegate.js} +0 -0
- /package/dist/typechain/contracts/{Liquidator/Interfaces.sol → InterfacesV8.sol}/IComptroller.js +0 -0
- /package/dist/typechain/contracts/{Liquidator/Interfaces.sol → InterfacesV8.sol}/ILiquidator.js +0 -0
- /package/dist/typechain/contracts/{Liquidator/Interfaces.sol → InterfacesV8.sol}/IVAIController.js +0 -0
- /package/dist/typechain/contracts/{Liquidator/Interfaces.sol → InterfacesV8.sol}/IVBNB.js +0 -0
- /package/dist/typechain/contracts/{Liquidator/Interfaces.sol → InterfacesV8.sol}/IVBep20.js +0 -0
- /package/dist/typechain/contracts/{DelegateBorrowers/SwapDebtDelegate.sol → InterfacesV8.sol}/IVToken.js +0 -0
- /package/dist/typechain/contracts/{Liquidator/Interfaces.sol → InterfacesV8.sol}/index.d.ts +0 -0
- /package/dist/typechain/contracts/{DelegateBorrowers/SwapDebtDelegate.sol → InterfacesV8.sol}/index.js +0 -0
- /package/dist/typechain/factories/@venusprotocol/{isolated-pools → solidity-utilities}/contracts/MaxLoopsLimitHelper__factory.js +0 -0
- /package/dist/typechain/factories/@venusprotocol/{isolated-pools → solidity-utilities}/contracts/index.d.ts +0 -0
- /package/dist/typechain/factories/@venusprotocol/{isolated-pools → solidity-utilities}/contracts/index.js +0 -0
- /package/dist/typechain/factories/@venusprotocol/{isolated-pools → solidity-utilities}/index.d.ts +0 -0
- /package/dist/typechain/factories/@venusprotocol/{isolated-pools → solidity-utilities}/index.js +0 -0
- /package/dist/typechain/factories/contracts/{Liquidator/Interfaces.sol → InterfacesV8.sol}/ILiquidator__factory.js +0 -0
- /package/dist/typechain/factories/contracts/{Liquidator/Interfaces.sol → InterfacesV8.sol}/IVAIController__factory.js +0 -0
- /package/dist/typechain/factories/contracts/{Liquidator/Interfaces.sol → InterfacesV8.sol}/index.d.ts +0 -0
- /package/dist/typechain/factories/contracts/{Liquidator/Interfaces.sol → InterfacesV8.sol}/index.js +0 -0
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import type { IPriceOracle, IPriceOracleInterface } from "../../../../contracts/DelegateBorrowers/SwapDebtDelegate.sol/IPriceOracle";
|
|
2
|
-
import type { Provider } from "@ethersproject/providers";
|
|
3
|
-
import { Signer } from "ethers";
|
|
4
|
-
export declare class IPriceOracle__factory {
|
|
5
|
-
static readonly abi: readonly [{
|
|
6
|
-
readonly inputs: readonly [{
|
|
7
|
-
readonly internalType: "contract IVToken";
|
|
8
|
-
readonly name: "vToken";
|
|
9
|
-
readonly type: "address";
|
|
10
|
-
}];
|
|
11
|
-
readonly name: "getUnderlyingPrice";
|
|
12
|
-
readonly outputs: readonly [{
|
|
13
|
-
readonly internalType: "uint256";
|
|
14
|
-
readonly name: "";
|
|
15
|
-
readonly type: "uint256";
|
|
16
|
-
}];
|
|
17
|
-
readonly stateMutability: "view";
|
|
18
|
-
readonly type: "function";
|
|
19
|
-
}];
|
|
20
|
-
static createInterface(): IPriceOracleInterface;
|
|
21
|
-
static connect(address: string, signerOrProvider: Signer | Provider): IPriceOracle;
|
|
22
|
-
}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* Autogenerated file. Do not edit manually. */
|
|
3
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.IPriceOracle__factory = void 0;
|
|
5
|
-
const ethers_1 = require("ethers");
|
|
6
|
-
const _abi = [
|
|
7
|
-
{
|
|
8
|
-
inputs: [
|
|
9
|
-
{
|
|
10
|
-
internalType: "contract IVToken",
|
|
11
|
-
name: "vToken",
|
|
12
|
-
type: "address",
|
|
13
|
-
},
|
|
14
|
-
],
|
|
15
|
-
name: "getUnderlyingPrice",
|
|
16
|
-
outputs: [
|
|
17
|
-
{
|
|
18
|
-
internalType: "uint256",
|
|
19
|
-
name: "",
|
|
20
|
-
type: "uint256",
|
|
21
|
-
},
|
|
22
|
-
],
|
|
23
|
-
stateMutability: "view",
|
|
24
|
-
type: "function",
|
|
25
|
-
},
|
|
26
|
-
];
|
|
27
|
-
class IPriceOracle__factory {
|
|
28
|
-
static createInterface() {
|
|
29
|
-
return new ethers_1.utils.Interface(_abi);
|
|
30
|
-
}
|
|
31
|
-
static connect(address, signerOrProvider) {
|
|
32
|
-
return new ethers_1.Contract(address, _abi, signerOrProvider);
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
exports.IPriceOracle__factory = IPriceOracle__factory;
|
|
36
|
-
IPriceOracle__factory.abi = _abi;
|
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
import type { IVToken, IVTokenInterface } from "../../../../contracts/DelegateBorrowers/SwapDebtDelegate.sol/IVToken";
|
|
2
|
-
import type { Provider } from "@ethersproject/providers";
|
|
3
|
-
import { Signer } from "ethers";
|
|
4
|
-
export declare class IVToken__factory {
|
|
5
|
-
static readonly abi: readonly [{
|
|
6
|
-
readonly inputs: readonly [{
|
|
7
|
-
readonly internalType: "address";
|
|
8
|
-
readonly name: "account";
|
|
9
|
-
readonly type: "address";
|
|
10
|
-
}];
|
|
11
|
-
readonly name: "borrowBalanceCurrent";
|
|
12
|
-
readonly outputs: readonly [{
|
|
13
|
-
readonly internalType: "uint256";
|
|
14
|
-
readonly name: "";
|
|
15
|
-
readonly type: "uint256";
|
|
16
|
-
}];
|
|
17
|
-
readonly stateMutability: "nonpayable";
|
|
18
|
-
readonly type: "function";
|
|
19
|
-
}, {
|
|
20
|
-
readonly inputs: readonly [{
|
|
21
|
-
readonly internalType: "address";
|
|
22
|
-
readonly name: "borrower";
|
|
23
|
-
readonly type: "address";
|
|
24
|
-
}, {
|
|
25
|
-
readonly internalType: "uint256";
|
|
26
|
-
readonly name: "borrowAmount";
|
|
27
|
-
readonly type: "uint256";
|
|
28
|
-
}];
|
|
29
|
-
readonly name: "borrowBehalf";
|
|
30
|
-
readonly outputs: readonly [{
|
|
31
|
-
readonly internalType: "uint256";
|
|
32
|
-
readonly name: "";
|
|
33
|
-
readonly type: "uint256";
|
|
34
|
-
}];
|
|
35
|
-
readonly stateMutability: "nonpayable";
|
|
36
|
-
readonly type: "function";
|
|
37
|
-
}, {
|
|
38
|
-
readonly inputs: readonly [];
|
|
39
|
-
readonly name: "comptroller";
|
|
40
|
-
readonly outputs: readonly [{
|
|
41
|
-
readonly internalType: "contract IComptroller";
|
|
42
|
-
readonly name: "";
|
|
43
|
-
readonly type: "address";
|
|
44
|
-
}];
|
|
45
|
-
readonly stateMutability: "view";
|
|
46
|
-
readonly type: "function";
|
|
47
|
-
}, {
|
|
48
|
-
readonly inputs: readonly [{
|
|
49
|
-
readonly internalType: "address";
|
|
50
|
-
readonly name: "borrower";
|
|
51
|
-
readonly type: "address";
|
|
52
|
-
}, {
|
|
53
|
-
readonly internalType: "uint256";
|
|
54
|
-
readonly name: "repayAmount";
|
|
55
|
-
readonly type: "uint256";
|
|
56
|
-
}];
|
|
57
|
-
readonly name: "repayBorrowBehalf";
|
|
58
|
-
readonly outputs: readonly [{
|
|
59
|
-
readonly internalType: "uint256";
|
|
60
|
-
readonly name: "";
|
|
61
|
-
readonly type: "uint256";
|
|
62
|
-
}];
|
|
63
|
-
readonly stateMutability: "nonpayable";
|
|
64
|
-
readonly type: "function";
|
|
65
|
-
}, {
|
|
66
|
-
readonly inputs: readonly [];
|
|
67
|
-
readonly name: "underlying";
|
|
68
|
-
readonly outputs: readonly [{
|
|
69
|
-
readonly internalType: "address";
|
|
70
|
-
readonly name: "";
|
|
71
|
-
readonly type: "address";
|
|
72
|
-
}];
|
|
73
|
-
readonly stateMutability: "view";
|
|
74
|
-
readonly type: "function";
|
|
75
|
-
}];
|
|
76
|
-
static createInterface(): IVTokenInterface;
|
|
77
|
-
static connect(address: string, signerOrProvider: Signer | Provider): IVToken;
|
|
78
|
-
}
|
|
@@ -1,110 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* Autogenerated file. Do not edit manually. */
|
|
3
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.IVToken__factory = void 0;
|
|
5
|
-
const ethers_1 = require("ethers");
|
|
6
|
-
const _abi = [
|
|
7
|
-
{
|
|
8
|
-
inputs: [
|
|
9
|
-
{
|
|
10
|
-
internalType: "address",
|
|
11
|
-
name: "account",
|
|
12
|
-
type: "address",
|
|
13
|
-
},
|
|
14
|
-
],
|
|
15
|
-
name: "borrowBalanceCurrent",
|
|
16
|
-
outputs: [
|
|
17
|
-
{
|
|
18
|
-
internalType: "uint256",
|
|
19
|
-
name: "",
|
|
20
|
-
type: "uint256",
|
|
21
|
-
},
|
|
22
|
-
],
|
|
23
|
-
stateMutability: "nonpayable",
|
|
24
|
-
type: "function",
|
|
25
|
-
},
|
|
26
|
-
{
|
|
27
|
-
inputs: [
|
|
28
|
-
{
|
|
29
|
-
internalType: "address",
|
|
30
|
-
name: "borrower",
|
|
31
|
-
type: "address",
|
|
32
|
-
},
|
|
33
|
-
{
|
|
34
|
-
internalType: "uint256",
|
|
35
|
-
name: "borrowAmount",
|
|
36
|
-
type: "uint256",
|
|
37
|
-
},
|
|
38
|
-
],
|
|
39
|
-
name: "borrowBehalf",
|
|
40
|
-
outputs: [
|
|
41
|
-
{
|
|
42
|
-
internalType: "uint256",
|
|
43
|
-
name: "",
|
|
44
|
-
type: "uint256",
|
|
45
|
-
},
|
|
46
|
-
],
|
|
47
|
-
stateMutability: "nonpayable",
|
|
48
|
-
type: "function",
|
|
49
|
-
},
|
|
50
|
-
{
|
|
51
|
-
inputs: [],
|
|
52
|
-
name: "comptroller",
|
|
53
|
-
outputs: [
|
|
54
|
-
{
|
|
55
|
-
internalType: "contract IComptroller",
|
|
56
|
-
name: "",
|
|
57
|
-
type: "address",
|
|
58
|
-
},
|
|
59
|
-
],
|
|
60
|
-
stateMutability: "view",
|
|
61
|
-
type: "function",
|
|
62
|
-
},
|
|
63
|
-
{
|
|
64
|
-
inputs: [
|
|
65
|
-
{
|
|
66
|
-
internalType: "address",
|
|
67
|
-
name: "borrower",
|
|
68
|
-
type: "address",
|
|
69
|
-
},
|
|
70
|
-
{
|
|
71
|
-
internalType: "uint256",
|
|
72
|
-
name: "repayAmount",
|
|
73
|
-
type: "uint256",
|
|
74
|
-
},
|
|
75
|
-
],
|
|
76
|
-
name: "repayBorrowBehalf",
|
|
77
|
-
outputs: [
|
|
78
|
-
{
|
|
79
|
-
internalType: "uint256",
|
|
80
|
-
name: "",
|
|
81
|
-
type: "uint256",
|
|
82
|
-
},
|
|
83
|
-
],
|
|
84
|
-
stateMutability: "nonpayable",
|
|
85
|
-
type: "function",
|
|
86
|
-
},
|
|
87
|
-
{
|
|
88
|
-
inputs: [],
|
|
89
|
-
name: "underlying",
|
|
90
|
-
outputs: [
|
|
91
|
-
{
|
|
92
|
-
internalType: "address",
|
|
93
|
-
name: "",
|
|
94
|
-
type: "address",
|
|
95
|
-
},
|
|
96
|
-
],
|
|
97
|
-
stateMutability: "view",
|
|
98
|
-
type: "function",
|
|
99
|
-
},
|
|
100
|
-
];
|
|
101
|
-
class IVToken__factory {
|
|
102
|
-
static createInterface() {
|
|
103
|
-
return new ethers_1.utils.Interface(_abi);
|
|
104
|
-
}
|
|
105
|
-
static connect(address, signerOrProvider) {
|
|
106
|
-
return new ethers_1.Contract(address, _abi, signerOrProvider);
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
exports.IVToken__factory = IVToken__factory;
|
|
110
|
-
IVToken__factory.abi = _abi;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SwapDebtDelegate__factory = exports.IVToken__factory = exports.IPriceOracle__factory = exports.IComptroller__factory = void 0;
|
|
4
|
-
/* Autogenerated file. Do not edit manually. */
|
|
5
|
-
/* tslint:disable */
|
|
6
|
-
/* eslint-disable */
|
|
7
|
-
var IComptroller__factory_1 = require("./IComptroller__factory");
|
|
8
|
-
Object.defineProperty(exports, "IComptroller__factory", { enumerable: true, get: function () { return IComptroller__factory_1.IComptroller__factory; } });
|
|
9
|
-
var IPriceOracle__factory_1 = require("./IPriceOracle__factory");
|
|
10
|
-
Object.defineProperty(exports, "IPriceOracle__factory", { enumerable: true, get: function () { return IPriceOracle__factory_1.IPriceOracle__factory; } });
|
|
11
|
-
var IVToken__factory_1 = require("./IVToken__factory");
|
|
12
|
-
Object.defineProperty(exports, "IVToken__factory", { enumerable: true, get: function () { return IVToken__factory_1.IVToken__factory; } });
|
|
13
|
-
var SwapDebtDelegate__factory_1 = require("./SwapDebtDelegate__factory");
|
|
14
|
-
Object.defineProperty(exports, "SwapDebtDelegate__factory", { enumerable: true, get: function () { return SwapDebtDelegate__factory_1.SwapDebtDelegate__factory; } });
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/typechain/@venusprotocol/{isolated-pools → solidity-utilities}/contracts/index.d.ts
RENAMED
|
File without changes
|
/package/dist/typechain/@venusprotocol/{isolated-pools → solidity-utilities}/contracts/index.js
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/typechain/contracts/{Liquidator/Interfaces.sol → InterfacesV8.sol}/IComptroller.js
RENAMED
|
File without changes
|
/package/dist/typechain/contracts/{Liquidator/Interfaces.sol → InterfacesV8.sol}/ILiquidator.js
RENAMED
|
File without changes
|
/package/dist/typechain/contracts/{Liquidator/Interfaces.sol → InterfacesV8.sol}/IVAIController.js
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/typechain/factories/@venusprotocol/{isolated-pools → solidity-utilities}/index.d.ts
RENAMED
|
File without changes
|
/package/dist/typechain/factories/@venusprotocol/{isolated-pools → solidity-utilities}/index.js
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/typechain/factories/contracts/{Liquidator/Interfaces.sol → InterfacesV8.sol}/index.js
RENAMED
|
File without changes
|