@raac/rpc 1.0.1 → 1.0.2-beta.1
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/dist/RPCLibrary.js +61 -8
- package/dist/artifacts/core/collectors/FeeCollector.sol/FeeCollector.json +1743 -0
- package/dist/artifacts/core/minters/RAACMinter/RAACMinter.sol/RAACMinter.json +175 -67
- package/dist/artifacts/core/oracles/BaseVRFv2Consumer.sol/BaseVRFv2Consumer.json +279 -0
- package/dist/artifacts/core/pools/LendingPool/LendingPool.sol/LendingPool.json +1231 -195
- package/dist/artifacts/core/pools/StabilityPool/StabilityPool.sol/StabilityPool.json +153 -199
- package/dist/artifacts/core/primitives/RAACHousePrices.sol/RAACHousePrices.json +72 -2
- package/dist/artifacts/core/tokens/DEToken.sol/DEToken.json +2 -2
- package/dist/artifacts/core/tokens/IndexToken.sol/IndexToken.json +770 -0
- package/dist/artifacts/core/tokens/RAACNFT.sol/RAACNFT.json +707 -49
- package/dist/artifacts/core/tokens/RAACToken.sol/RAACToken.json +23 -84
- package/dist/artifacts/core/tokens/RToken.sol/RToken.json +62 -62
- package/dist/artifacts/core/tokens/veRAACToken.sol/veRAACToken.json +2 -2
- package/dist/artifacts/mocks/core/oracles/MockVRFCoordinatorV2.sol/MockVRFCoordinatorV2.json +774 -0
- package/dist/artifacts/zeno/Auction.sol/Auction.json +34 -114
- package/dist/artifacts/zeno/AuctionFactory.sol/AuctionFactory.json +3 -3
- package/dist/artifacts/zeno/Zeno.sol/Zeno.json +3 -3
- package/dist/artifacts/zeno/ZenoFactory.sol/ZenoFactory.json +3 -3
- package/dist/configs/chains/17000.json +127 -0
- package/dist/configs/chains/8453.json +26 -14
- package/dist/configs/chains/index.js +2 -0
- package/dist/configs/createConfig.js +6 -0
- package/dist/contracts/feeCollector/claimRewardFromPool.js +24 -0
- package/dist/contracts/housePrices/getLatestPrice.js +1 -1
- package/dist/contracts/indexToken/getNextRandomNFT.js +30 -0
- package/dist/contracts/indexToken/redeemNFT.js +39 -0
- package/dist/nfts/getAllTokens.js +34 -0
- package/dist/nfts/{addNewBatch.js → getBaseUri.js} +7 -8
- package/dist/nfts/getMintFeePercentage.js +23 -0
- package/dist/nfts/getMintPrice.js +28 -0
- package/dist/nfts/getTokenURI.js +23 -0
- package/dist/nfts/getTokensByOwner.js +35 -0
- package/dist/nfts/getTotalPropertiesCount.js +23 -0
- package/dist/nfts/{getCurrentBatchSize.js → totalNFTSupply.js} +3 -3
- package/dist/pools/lendingPool/borrowFromLendingPool.js +4 -3
- package/dist/pools/lendingPool/borrowFromLendingPoolWithInsurance.js +40 -0
- package/dist/pools/lendingPool/calculateInsuranceFee.js +20 -0
- package/dist/pools/lendingPool/claimReward.js +22 -0
- package/dist/pools/lendingPool/closeLiquidation.js +28 -0
- package/dist/pools/lendingPool/depositNFTToLendingPool.js +0 -1
- package/dist/pools/lendingPool/depositToLendingPool.js +2 -2
- package/dist/pools/lendingPool/getAllUserData.js +28 -0
- package/dist/pools/lendingPool/getEligibleUserDeposits.js +27 -0
- package/dist/pools/lendingPool/getHealthFactor.js +27 -0
- package/dist/pools/lendingPool/getLendingPoolInfo.js +8 -5
- package/dist/pools/lendingPool/getPendingReward.js +20 -0
- package/dist/pools/lendingPool/getPositionDebt.js +27 -0
- package/dist/pools/lendingPool/getPositionScaledDebt.js +27 -0
- package/dist/pools/lendingPool/getPositionView.js +38 -0
- package/dist/pools/lendingPool/getPositionsScaledDebt.js +27 -0
- package/dist/pools/lendingPool/getRawUserDepositsInLendingPool.js +21 -0
- package/dist/pools/lendingPool/getUserCollateralValue.js +27 -0
- package/dist/pools/lendingPool/initializeLiquidation.js +28 -0
- package/dist/pools/lendingPool/repayToLendingPool.js +4 -8
- package/dist/pools/lendingPool/withdrawFromLendingPool.js +2 -2
- package/dist/pools/stabilityPool/depositNFTToStabilityPool.js +40 -0
- package/dist/pools/stabilityPool/getRawUserDepositsInStabilityPool.js +21 -0
- package/dist/pools/stabilityPool/getStabilityPoolInfo.js +2 -12
- package/dist/scripts/index.js +90 -35
- package/dist/types/RPCLibrary.d.ts +61 -8
- package/dist/types/configs/chains/index.d.ts +2 -0
- package/dist/types/configs/createConfig.d.ts +6 -0
- package/dist/types/configs/index.d.ts +1 -0
- package/dist/types/contracts/feeCollector/claimRewardFromPool.d.ts +4 -0
- package/dist/types/contracts/housePrices/getLatestPrice.d.ts +1 -1
- package/dist/types/contracts/indexToken/getNextRandomNFT.d.ts +7 -0
- package/dist/types/contracts/indexToken/redeemNFT.d.ts +4 -0
- package/dist/types/nfts/getAllTokens.d.ts +7 -0
- package/dist/types/nfts/getBaseUri.d.ts +4 -0
- package/dist/types/nfts/getMintFeePercentage.d.ts +4 -0
- package/dist/types/nfts/getMintPrice.d.ts +7 -0
- package/dist/types/nfts/getTokenURI.d.ts +4 -0
- package/dist/types/nfts/getTokensByOwner.d.ts +10 -0
- package/dist/types/nfts/getTotalPropertiesCount.d.ts +4 -0
- package/dist/types/nfts/totalNFTSupply.d.ts +4 -0
- package/dist/types/pools/lendingPool/borrowFromLendingPool.d.ts +1 -1
- package/dist/types/pools/lendingPool/borrowFromLendingPoolWithInsurance.d.ts +4 -0
- package/dist/types/pools/lendingPool/calculateInsuranceFee.d.ts +4 -0
- package/dist/types/pools/lendingPool/claimReward.d.ts +4 -0
- package/dist/types/pools/lendingPool/closeLiquidation.d.ts +11 -0
- package/dist/types/pools/lendingPool/getAllUserData.d.ts +16 -0
- package/dist/types/pools/lendingPool/getEligibleUserDeposits.d.ts +11 -0
- package/dist/types/pools/lendingPool/getHealthFactor.d.ts +11 -0
- package/dist/types/pools/lendingPool/getLendingPoolInfo.d.ts +2 -1
- package/dist/types/pools/lendingPool/getPendingReward.d.ts +4 -0
- package/dist/types/pools/lendingPool/getPositionDebt.d.ts +11 -0
- package/dist/types/pools/lendingPool/getPositionScaledDebt.d.ts +11 -0
- package/dist/types/pools/lendingPool/getPositionView.d.ts +27 -0
- package/dist/types/pools/lendingPool/getPositionsScaledDebt.d.ts +11 -0
- package/dist/types/pools/lendingPool/getRawUserDepositsInLendingPool.d.ts +4 -0
- package/dist/types/pools/lendingPool/getUserCollateralValue.d.ts +11 -0
- package/dist/types/pools/lendingPool/initializeLiquidation.d.ts +11 -0
- package/dist/types/pools/lendingPool/repayToLendingPool.d.ts +2 -2
- package/dist/types/pools/lendingPool/withdrawNFTFromLendingPool.d.ts +1 -1
- package/dist/types/pools/stabilityPool/depositNFTToStabilityPool.d.ts +4 -0
- package/dist/types/pools/stabilityPool/getRawUserDepositsInStabilityPool.d.ts +4 -0
- package/dist/types/pools/stabilityPool/getStabilityPoolInfo.d.ts +1 -3
- package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/index.d.ts +2 -0
- package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/vrf/VRFConsumerBaseV2.d.ts +35 -0
- package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/vrf/index.d.ts +3 -0
- package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/vrf/interfaces/VRFCoordinatorV2Interface.d.ts +156 -0
- package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/vrf/interfaces/index.d.ts +1 -0
- package/dist/types/typechain-types/contracts/core/collectors/FeeCollector.d.ts +446 -221
- package/dist/types/typechain-types/contracts/core/minters/RAACMinter/RAACMinter.d.ts +108 -20
- package/dist/types/typechain-types/contracts/core/minters/RAACReleaseOrchestrator/RAACReleaseOrchestrator.d.ts +6 -16
- package/dist/types/typechain-types/contracts/core/oracles/BaseVRFv2Consumer.d.ts +166 -0
- package/dist/types/typechain-types/contracts/core/oracles/index.d.ts +1 -0
- package/dist/types/typechain-types/contracts/core/pools/LendingPool/LendingPool.d.ts +811 -99
- package/dist/types/typechain-types/contracts/core/pools/StabilityPool/StabilityPool.d.ts +152 -148
- package/dist/types/typechain-types/contracts/core/pools/StabilityPool/index.d.ts +0 -1
- package/dist/types/typechain-types/contracts/core/primitives/RAACHousePrices.d.ts +29 -2
- package/dist/types/typechain-types/contracts/core/tokens/DebtToken.d.ts +65 -51
- package/dist/types/typechain-types/contracts/core/tokens/IndexToken.d.ts +187 -2
- package/dist/types/typechain-types/contracts/core/tokens/RAACNFT.d.ts +413 -19
- package/dist/types/typechain-types/contracts/core/tokens/RToken.d.ts +40 -40
- package/dist/types/typechain-types/contracts/interfaces/core/collectors/IBaseCollector.d.ts +39 -0
- package/dist/types/typechain-types/contracts/interfaces/core/collectors/IFeeCollector.d.ts +317 -130
- package/dist/types/typechain-types/contracts/interfaces/core/collectors/index.d.ts +1 -0
- package/dist/types/typechain-types/contracts/interfaces/core/index.d.ts +2 -0
- package/dist/types/typechain-types/contracts/interfaces/core/minters/RAACMinter/IRAACMinter.d.ts +58 -22
- package/dist/types/typechain-types/contracts/interfaces/core/minters/RAACReleaseOrchestrator/IReleaseOrchestrator.d.ts +5 -3
- package/dist/types/typechain-types/contracts/interfaces/core/oracles/IBaseVRFv2Consumer.d.ts +86 -0
- package/dist/types/typechain-types/contracts/interfaces/core/oracles/index.d.ts +1 -0
- package/dist/types/typechain-types/contracts/interfaces/core/pools/ILiquidityPool.d.ts +83 -45
- package/dist/types/typechain-types/contracts/interfaces/core/pools/LendingPool/ILendingPool.d.ts +539 -54
- package/dist/types/typechain-types/contracts/interfaces/core/pools/StabilityPool/IStabilityPool.d.ts +92 -71
- package/dist/types/typechain-types/contracts/interfaces/core/tokens/IDebtToken.d.ts +123 -27
- package/dist/types/typechain-types/contracts/interfaces/core/tokens/IIndexToken.d.ts +187 -0
- package/dist/types/typechain-types/contracts/interfaces/core/tokens/IRAACNFT.d.ts +243 -17
- package/dist/types/typechain-types/contracts/interfaces/core/tokens/IRToken.d.ts +37 -37
- package/dist/types/typechain-types/contracts/interfaces/core/tokens/index.d.ts +1 -0
- package/dist/types/typechain-types/contracts/interfaces/core/vaults/IBaseVault.d.ts +83 -0
- package/dist/types/typechain-types/contracts/interfaces/core/vaults/index.d.ts +1 -0
- package/dist/types/typechain-types/contracts/interfaces/index.d.ts +0 -1
- package/dist/types/typechain-types/contracts/mocks/core/collectors/index.d.ts +0 -1
- package/dist/types/typechain-types/contracts/mocks/core/governance/proposals/TimelockTestTarget.d.ts +5 -1
- package/dist/types/typechain-types/contracts/mocks/core/index.d.ts +2 -0
- package/dist/types/typechain-types/contracts/mocks/core/oracles/MockVRFCoordinatorV2.d.ts +530 -0
- package/dist/types/typechain-types/contracts/mocks/core/oracles/index.d.ts +1 -0
- package/dist/types/typechain-types/contracts/mocks/core/pools/MockLendingPoolCollector.d.ts +156 -0
- package/dist/types/typechain-types/contracts/mocks/core/pools/MockLendingPoolDebtToken.d.ts +557 -102
- package/dist/types/typechain-types/contracts/mocks/core/pools/MockLiquidityPool.d.ts +486 -0
- package/dist/types/typechain-types/contracts/mocks/core/pools/index.d.ts +2 -0
- package/dist/types/typechain-types/contracts/mocks/core/primitives/MockDistributableContract.d.ts +35 -0
- package/dist/types/typechain-types/contracts/mocks/core/primitives/index.d.ts +1 -0
- package/dist/types/typechain-types/contracts/mocks/core/tokens/MockCollectableUnderlying.d.ts +292 -0
- package/dist/types/typechain-types/contracts/mocks/core/tokens/index.d.ts +1 -0
- package/dist/types/typechain-types/contracts/mocks/core/vaults/MockVault.d.ts +290 -0
- package/dist/types/typechain-types/contracts/mocks/core/vaults/index.d.ts +1 -0
- package/dist/types/typechain-types/contracts/mocks/libraries/MockStringUtils.d.ts +25 -0
- package/dist/types/typechain-types/contracts/mocks/libraries/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/vrf/VRFConsumerBaseV2__factory.d.ts +33 -0
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/vrf/index.d.ts +2 -0
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/vrf/interfaces/VRFCoordinatorV2Interface__factory.d.ts +171 -0
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/vrf/interfaces/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/contracts/core/collectors/FeeCollector__factory.d.ts +571 -194
- package/dist/types/typechain-types/factories/contracts/core/minters/RAACMinter/RAACMinter__factory.d.ts +138 -54
- package/dist/types/typechain-types/factories/contracts/core/minters/RAACReleaseOrchestrator/RAACReleaseOrchestrator__factory.d.ts +5 -31
- package/dist/types/typechain-types/factories/contracts/core/oracles/BaseVRFv2Consumer__factory.d.ts +231 -0
- package/dist/types/typechain-types/factories/contracts/core/oracles/RAACHousePriceOracle__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/core/oracles/RAACPrimeRateOracle__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/core/oracles/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/contracts/core/pools/LendingPool/LendingPool__factory.d.ts +897 -64
- package/dist/types/typechain-types/factories/contracts/core/pools/StabilityPool/NFTLiquidator__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/core/pools/StabilityPool/StabilityPool__factory.d.ts +128 -161
- package/dist/types/typechain-types/factories/contracts/core/pools/StabilityPool/index.d.ts +0 -1
- package/dist/types/typechain-types/factories/contracts/core/primitives/RAACHousePrices__factory.d.ts +54 -1
- package/dist/types/typechain-types/factories/contracts/core/tokens/DebtToken__factory.d.ts +47 -29
- package/dist/types/typechain-types/factories/contracts/core/tokens/IndexToken__factory.d.ts +317 -1
- package/dist/types/typechain-types/factories/contracts/core/tokens/RAACNFT__factory.d.ts +525 -17
- package/dist/types/typechain-types/factories/contracts/core/tokens/RAACToken__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/core/tokens/RToken__factory.d.ts +52 -52
- package/dist/types/typechain-types/factories/contracts/core/tokens/VeRAACToken__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/interfaces/core/collectors/IBaseCollector__factory.d.ts +33 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/collectors/IFeeCollector__factory.d.ts +409 -90
- package/dist/types/typechain-types/factories/contracts/interfaces/core/collectors/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/minters/RAACMinter/IRAACMinter__factory.d.ts +59 -15
- package/dist/types/typechain-types/factories/contracts/interfaces/core/minters/RAACReleaseOrchestrator/IReleaseOrchestrator__factory.d.ts +4 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/oracles/IBaseVRFv2Consumer__factory.d.ts +78 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/oracles/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/pools/ILiquidityPool__factory.d.ts +119 -39
- package/dist/types/typechain-types/factories/contracts/interfaces/core/pools/LendingPool/ILendingPool__factory.d.ts +547 -19
- package/dist/types/typechain-types/factories/contracts/interfaces/core/pools/StabilityPool/IStabilityPool__factory.d.ts +68 -67
- package/dist/types/typechain-types/factories/contracts/interfaces/core/tokens/IDebtToken__factory.d.ts +119 -6
- package/dist/types/typechain-types/factories/{erc721a/contracts/IERC721A__factory.d.ts → contracts/interfaces/core/tokens/IIndexToken__factory.d.ts} +74 -215
- package/dist/types/typechain-types/factories/contracts/interfaces/core/tokens/IRAACNFT__factory.d.ts +274 -10
- package/dist/types/typechain-types/factories/contracts/interfaces/core/tokens/IRToken__factory.d.ts +26 -26
- package/dist/types/typechain-types/factories/contracts/interfaces/core/tokens/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/{IMarketCreator__factory.d.ts → core/vaults/IBaseVault__factory.d.ts} +78 -42
- package/dist/types/typechain-types/factories/contracts/interfaces/core/vaults/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/index.d.ts +0 -1
- package/dist/types/typechain-types/factories/contracts/libraries/pools/ReserveLibrary__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/collectors/index.d.ts +0 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/governance/gauges/MockBaseGauge__factory.d.ts +16 -4
- package/dist/types/typechain-types/factories/contracts/mocks/core/governance/proposals/TimelockTestTarget__factory.d.ts +10 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/oracles/MockOracle__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/oracles/MockVRFCoordinatorV2__factory.d.ts +620 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/oracles/TestRAACHousePriceOracle__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/oracles/TestRAACPrimeRateOracle__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/oracles/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/pools/MockLendingPoolCollector__factory.d.ts +234 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/pools/MockLendingPoolDebtToken__factory.d.ts +539 -77
- package/dist/types/typechain-types/factories/contracts/mocks/core/pools/MockLendingPool__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/pools/MockLiquidityPool__factory.d.ts +795 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/pools/MockStabilityPool__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/pools/index.d.ts +2 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/primitives/MockDistributableContract__factory.d.ts +68 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/primitives/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/tokens/MockCollectableUnderlying__factory.d.ts +451 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/tokens/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/vaults/MockVault__factory.d.ts +525 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/vaults/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/contracts/mocks/libraries/MockStringUtils__factory.d.ts +40 -0
- package/dist/types/typechain-types/factories/contracts/mocks/libraries/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/contracts/mocks/libraries/pools/ReserveLibraryMock__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/tests/VeRAACFuzzHelper__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/index.d.ts +0 -1
- package/dist/types/typechain-types/index.d.ts +28 -10
- package/dist/types/utils/artifacts.d.ts +677 -39
- package/dist/types/utils/contracts.d.ts +2 -0
- package/dist/utils/artifacts.js +9 -0
- package/package.json +1 -1
- package/dist/nfts/getDepositedNFTs.js +0 -19
- package/dist/nfts/getOwnedNFTs.js +0 -34
- package/dist/types/nfts/addNewBatch.d.ts +0 -4
- package/dist/types/nfts/getCurrentBatchSize.d.ts +0 -4
- package/dist/types/nfts/getDepositedNFTs.d.ts +0 -7
- package/dist/types/nfts/getOwnedNFTs.d.ts +0 -7
- package/dist/types/typechain-types/contracts/core/pools/StabilityPool/MarketCreator.d.ts +0 -274
- package/dist/types/typechain-types/contracts/interfaces/IMarketCreator.d.ts +0 -85
- package/dist/types/typechain-types/contracts/mocks/core/collectors/MockFeeCollector.d.ts +0 -708
- package/dist/types/typechain-types/erc721a/contracts/IERC721A.d.ts +0 -242
- package/dist/types/typechain-types/erc721a/contracts/index.d.ts +0 -1
- package/dist/types/typechain-types/erc721a/index.d.ts +0 -2
- package/dist/types/typechain-types/factories/contracts/core/pools/StabilityPool/MarketCreator__factory.d.ts +0 -405
- package/dist/types/typechain-types/factories/contracts/mocks/core/collectors/MockFeeCollector__factory.d.ts +0 -985
- package/dist/types/typechain-types/factories/erc721a/contracts/index.d.ts +0 -1
- package/dist/types/typechain-types/factories/erc721a/index.d.ts +0 -1
|
@@ -14,7 +14,7 @@ export declare class MockLendingPoolDebtToken__factory extends ContractFactory {
|
|
|
14
14
|
deploymentTransaction(): ContractTransactionResponse;
|
|
15
15
|
}>;
|
|
16
16
|
connect(runner: ContractRunner | null): MockLendingPoolDebtToken__factory;
|
|
17
|
-
static readonly bytecode = "
|
|
17
|
+
static readonly bytecode = "0x608060405234801561001057600080fd5b506b033b2e3c9fd0803ce800000060005561092c806100306000396000f3fe6080604052600436106102085760003560e01c80638aabb2d111610118578063b88a802f116100a0578063c6d6916c1161006f578063c6d6916c14610461578063d8aed1451461027b578063e65896c914610396578063e91a7ca614610214578063f91c3b0d146103f057600080fd5b8063b88a802f146104d9578063bf4eccdf146103f0578063bfd91c23146104f5578063c4f8911c1461021457600080fd5b80639daa54b4116100e75780639daa54b41461047c578063a5b350c914610258578063a8de4834146104a5578063a90d728f146104c5578063b6b55f251461021457600080fd5b80638aabb2d1146102145780638bc2ff5b1461042a578063929761791461044657806398d721e01461046157600080fd5b80632ab414fc1161019b5780634df9d6ba1161016a5780634df9d6ba14610396578063523a19ac146103b757806375417da614610396578063768bab45146103f0578063883c6b241461040b57600080fd5b80632ab414fc146102eb5780632e1a7d4d1461021457806332597266146103065780633adbb5af1461032657600080fd5b8063150b7a02116101d7578063150b7a021461029a57806316c621e01461021457806319c2d37e146102585780631d8557d7146102df57600080fd5b8063023245d7146102145780630ab30d8a146102345780630d408512146102585780630ecbcdab1461027b57600080fd5b3661020f57005b600080fd5b34801561022057600080fd5b5061023261022f366004610663565b50565b005b34801561024057600080fd5b506000545b6040519081526020015b60405180910390f35b34801561026457600080fd5b50610245610273366004610698565b600092915050565b34801561028757600080fd5b506102326102963660046106c2565b5050565b3480156102a657600080fd5b506102c66102b53660046106e4565b630a85bd0160e11b95945050505050565b6040516001600160e01b0319909116815260200161024f565b34801561023257600080fd5b3480156102f757600080fd5b5061023261029636600461077f565b34801561031257600080fd5b50610232610321366004610663565b600055565b34801561033257600080fd5b50610346610341366004610698565b610522565b60405161024f9190600060c08201905082518252602083015115156020830152604083015160408301526060830151606083015260808301511515608083015260a083015160a083015292915050565b3480156103a257600080fd5b506102456103b13660046107a1565b50600090565b3480156103c357600080fd5b506103db6103d2366004610698565b50600091829150565b6040805192835260208301919091520161024f565b3480156103fc57600080fd5b50610232610296366004610698565b34801561041757600080fd5b506b033b2e3c9fd0803ce8000000610245565b34801561043657600080fd5b506040516000815260200161024f565b34801561045257600080fd5b506102456103b1366004610663565b34801561046d57600080fd5b5061023261022f3660046107a1565b34801561048857600080fd5b506102456104973660046107a1565b506805f68e8131ecf8000090565b3480156104b157600080fd5b506102326104c03660046107c3565b505050565b3480156104d157600080fd5b506000610245565b3480156104e557600080fd5b506040516001815260200161024f565b34801561050157600080fd5b506105156105103660046107a1565b61059e565b60405161024f9190610875565b61055f6040518060c00160405280600081526020016000151581526020016000815260200160008152602001600015158152602001600081525090565b6040518060c001604052806000815260200160001515815260200160008152602001600081526020016000151581526020016000815250905092915050565b6105c96040518060800160405280606081526020016000815260200160008152602001606081525090565b6040805160006080820181815260a0830184528252602080830182905282840182905283518281529081019093529091606083019161065a565b6106476040518060e0016040528060008152602001600081526020016000815260200160001515815260200160008152602001600081526020016000151581525090565b8152602001906001900390816106035790505b50905292915050565b60006020828403121561067557600080fd5b5035919050565b80356001600160a01b038116811461069357600080fd5b919050565b600080604083850312156106ab57600080fd5b6106b48361067c565b946020939093013593505050565b600080604083850312156106d557600080fd5b50508035926020909101359150565b6000806000806000608086880312156106fc57600080fd5b6107058661067c565b94506107136020870161067c565b935060408601359250606086013567ffffffffffffffff8082111561073757600080fd5b818801915088601f83011261074b57600080fd5b81358181111561075a57600080fd5b89602082850101111561076c57600080fd5b9699959850939650602001949392505050565b6000806040838503121561079257600080fd5b8235600881106106b457600080fd5b6000602082840312156107b357600080fd5b6107bc8261067c565b9392505050565b6000806000606084860312156107d857600080fd5b83359250602084013591506107ef6040850161067c565b90509250925092565b600081518084526020808501945080840160005b8381101561086a578151805188528381015184890152604080820151908901526060808201511515908901526080808201519089015260a0808201519089015260c09081015115159088015260e0909601959082019060010161080c565b509495945050505050565b60208082528251608083830152805160a0840181905260009291820190839060c08601905b808310156108ba578351825292840192600192909201919084019061089a565b508387015160408701526040870151606087015260608701519350601f198682030160808701526108eb81856107f8565b97965050505050505056fea26469706673582212202394ffd498e335564cd4ad66851b19a69f500e3b998d76372246f78dbf9c405164736f6c63430008140033";
|
|
18
18
|
static readonly abi: readonly [{
|
|
19
19
|
readonly inputs: readonly [];
|
|
20
20
|
readonly stateMutability: "nonpayable";
|
|
@@ -27,6 +27,10 @@ export declare class MockLendingPoolDebtToken__factory extends ContractFactory {
|
|
|
27
27
|
readonly inputs: readonly [];
|
|
28
28
|
readonly name: "CannotBorrowUnderLiquidation";
|
|
29
29
|
readonly type: "error";
|
|
30
|
+
}, {
|
|
31
|
+
readonly inputs: readonly [];
|
|
32
|
+
readonly name: "CannotRepayUnderLiquidationWithoutInsurance";
|
|
33
|
+
readonly type: "error";
|
|
30
34
|
}, {
|
|
31
35
|
readonly inputs: readonly [];
|
|
32
36
|
readonly name: "CannotWithdrawUnderLiquidation";
|
|
@@ -47,6 +51,10 @@ export declare class MockLendingPoolDebtToken__factory extends ContractFactory {
|
|
|
47
51
|
readonly inputs: readonly [];
|
|
48
52
|
readonly name: "HealthFactorTooLow";
|
|
49
53
|
readonly type: "error";
|
|
54
|
+
}, {
|
|
55
|
+
readonly inputs: readonly [];
|
|
56
|
+
readonly name: "InsufficientAllowanceForFees";
|
|
57
|
+
readonly type: "error";
|
|
50
58
|
}, {
|
|
51
59
|
readonly inputs: readonly [];
|
|
52
60
|
readonly name: "InsufficientBalance";
|
|
@@ -67,6 +75,10 @@ export declare class MockLendingPoolDebtToken__factory extends ContractFactory {
|
|
|
67
75
|
readonly inputs: readonly [];
|
|
68
76
|
readonly name: "InvalidParameter";
|
|
69
77
|
readonly type: "error";
|
|
78
|
+
}, {
|
|
79
|
+
readonly inputs: readonly [];
|
|
80
|
+
readonly name: "InvalidVaultAsset";
|
|
81
|
+
readonly type: "error";
|
|
70
82
|
}, {
|
|
71
83
|
readonly inputs: readonly [];
|
|
72
84
|
readonly name: "NFTAlreadyDeposited";
|
|
@@ -75,10 +87,26 @@ export declare class MockLendingPoolDebtToken__factory extends ContractFactory {
|
|
|
75
87
|
readonly inputs: readonly [];
|
|
76
88
|
readonly name: "NFTNotDeposited";
|
|
77
89
|
readonly type: "error";
|
|
90
|
+
}, {
|
|
91
|
+
readonly inputs: readonly [];
|
|
92
|
+
readonly name: "NFTNotInsured";
|
|
93
|
+
readonly type: "error";
|
|
94
|
+
}, {
|
|
95
|
+
readonly inputs: readonly [];
|
|
96
|
+
readonly name: "NoActiveRewardToken";
|
|
97
|
+
readonly type: "error";
|
|
78
98
|
}, {
|
|
79
99
|
readonly inputs: readonly [];
|
|
80
100
|
readonly name: "NoCollateral";
|
|
81
101
|
readonly type: "error";
|
|
102
|
+
}, {
|
|
103
|
+
readonly inputs: readonly [];
|
|
104
|
+
readonly name: "NoDeposits";
|
|
105
|
+
readonly type: "error";
|
|
106
|
+
}, {
|
|
107
|
+
readonly inputs: readonly [];
|
|
108
|
+
readonly name: "NoRewardsToClaim";
|
|
109
|
+
readonly type: "error";
|
|
82
110
|
}, {
|
|
83
111
|
readonly inputs: readonly [];
|
|
84
112
|
readonly name: "NotEnoughCollateralToBorrow";
|
|
@@ -99,6 +127,10 @@ export declare class MockLendingPoolDebtToken__factory extends ContractFactory {
|
|
|
99
127
|
readonly inputs: readonly [];
|
|
100
128
|
readonly name: "RepayAmountTooHigh";
|
|
101
129
|
readonly type: "error";
|
|
130
|
+
}, {
|
|
131
|
+
readonly inputs: readonly [];
|
|
132
|
+
readonly name: "RewardTokenAlreadySet";
|
|
133
|
+
readonly type: "error";
|
|
102
134
|
}, {
|
|
103
135
|
readonly inputs: readonly [];
|
|
104
136
|
readonly name: "SameAddressNotAllowed";
|
|
@@ -157,35 +189,70 @@ export declare class MockLendingPoolDebtToken__factory extends ContractFactory {
|
|
|
157
189
|
readonly inputs: readonly [{
|
|
158
190
|
readonly indexed: true;
|
|
159
191
|
readonly internalType: "address";
|
|
160
|
-
readonly name: "
|
|
192
|
+
readonly name: "user";
|
|
161
193
|
readonly type: "address";
|
|
162
194
|
}, {
|
|
163
|
-
readonly indexed:
|
|
164
|
-
readonly internalType: "
|
|
165
|
-
readonly name: "
|
|
166
|
-
readonly type: "
|
|
195
|
+
readonly indexed: false;
|
|
196
|
+
readonly internalType: "uint256";
|
|
197
|
+
readonly name: "amount";
|
|
198
|
+
readonly type: "uint256";
|
|
199
|
+
}, {
|
|
200
|
+
readonly indexed: false;
|
|
201
|
+
readonly internalType: "uint256";
|
|
202
|
+
readonly name: "mintedAmount";
|
|
203
|
+
readonly type: "uint256";
|
|
167
204
|
}];
|
|
168
|
-
readonly name: "
|
|
205
|
+
readonly name: "Deposit";
|
|
169
206
|
readonly type: "event";
|
|
170
207
|
}, {
|
|
171
208
|
readonly anonymous: false;
|
|
172
209
|
readonly inputs: readonly [{
|
|
173
210
|
readonly indexed: true;
|
|
174
211
|
readonly internalType: "address";
|
|
175
|
-
readonly name: "
|
|
212
|
+
readonly name: "oldFeeCollector";
|
|
176
213
|
readonly type: "address";
|
|
177
214
|
}, {
|
|
215
|
+
readonly indexed: true;
|
|
216
|
+
readonly internalType: "address";
|
|
217
|
+
readonly name: "newFeeCollector";
|
|
218
|
+
readonly type: "address";
|
|
219
|
+
}];
|
|
220
|
+
readonly name: "FeeCollectorUpdated";
|
|
221
|
+
readonly type: "event";
|
|
222
|
+
}, {
|
|
223
|
+
readonly anonymous: false;
|
|
224
|
+
readonly inputs: readonly [];
|
|
225
|
+
readonly name: "InsufficientFees";
|
|
226
|
+
readonly type: "event";
|
|
227
|
+
}, {
|
|
228
|
+
readonly anonymous: false;
|
|
229
|
+
readonly inputs: readonly [{
|
|
178
230
|
readonly indexed: false;
|
|
179
231
|
readonly internalType: "uint256";
|
|
180
|
-
readonly name: "
|
|
232
|
+
readonly name: "oldInsuranceFee";
|
|
181
233
|
readonly type: "uint256";
|
|
182
234
|
}, {
|
|
183
235
|
readonly indexed: false;
|
|
184
236
|
readonly internalType: "uint256";
|
|
185
|
-
readonly name: "
|
|
237
|
+
readonly name: "newInsuranceFee";
|
|
186
238
|
readonly type: "uint256";
|
|
187
239
|
}];
|
|
188
|
-
readonly name: "
|
|
240
|
+
readonly name: "InsuranceFeeUpdated";
|
|
241
|
+
readonly type: "event";
|
|
242
|
+
}, {
|
|
243
|
+
readonly anonymous: false;
|
|
244
|
+
readonly inputs: readonly [{
|
|
245
|
+
readonly indexed: true;
|
|
246
|
+
readonly internalType: "uint256";
|
|
247
|
+
readonly name: "tokenId";
|
|
248
|
+
readonly type: "uint256";
|
|
249
|
+
}, {
|
|
250
|
+
readonly indexed: false;
|
|
251
|
+
readonly internalType: "uint256";
|
|
252
|
+
readonly name: "amount";
|
|
253
|
+
readonly type: "uint256";
|
|
254
|
+
}];
|
|
255
|
+
readonly name: "InsuredNFT";
|
|
189
256
|
readonly type: "event";
|
|
190
257
|
}, {
|
|
191
258
|
readonly anonymous: false;
|
|
@@ -219,6 +286,11 @@ export declare class MockLendingPoolDebtToken__factory extends ContractFactory {
|
|
|
219
286
|
readonly internalType: "address";
|
|
220
287
|
readonly name: "user";
|
|
221
288
|
readonly type: "address";
|
|
289
|
+
}, {
|
|
290
|
+
readonly indexed: true;
|
|
291
|
+
readonly internalType: "uint256";
|
|
292
|
+
readonly name: "tokenId";
|
|
293
|
+
readonly type: "uint256";
|
|
222
294
|
}];
|
|
223
295
|
readonly name: "LiquidationClosed";
|
|
224
296
|
readonly type: "event";
|
|
@@ -234,6 +306,11 @@ export declare class MockLendingPoolDebtToken__factory extends ContractFactory {
|
|
|
234
306
|
readonly internalType: "address";
|
|
235
307
|
readonly name: "user";
|
|
236
308
|
readonly type: "address";
|
|
309
|
+
}, {
|
|
310
|
+
readonly indexed: true;
|
|
311
|
+
readonly internalType: "uint256";
|
|
312
|
+
readonly name: "tokenId";
|
|
313
|
+
readonly type: "uint256";
|
|
237
314
|
}, {
|
|
238
315
|
readonly indexed: false;
|
|
239
316
|
readonly internalType: "uint256";
|
|
@@ -259,6 +336,11 @@ export declare class MockLendingPoolDebtToken__factory extends ContractFactory {
|
|
|
259
336
|
readonly internalType: "address";
|
|
260
337
|
readonly name: "user";
|
|
261
338
|
readonly type: "address";
|
|
339
|
+
}, {
|
|
340
|
+
readonly indexed: true;
|
|
341
|
+
readonly internalType: "uint256";
|
|
342
|
+
readonly name: "tokenId";
|
|
343
|
+
readonly type: "uint256";
|
|
262
344
|
}];
|
|
263
345
|
readonly name: "LiquidationInitiated";
|
|
264
346
|
readonly type: "event";
|
|
@@ -342,6 +424,56 @@ export declare class MockLendingPoolDebtToken__factory extends ContractFactory {
|
|
|
342
424
|
}];
|
|
343
425
|
readonly name: "NFTWithdrawn";
|
|
344
426
|
readonly type: "event";
|
|
427
|
+
}, {
|
|
428
|
+
readonly anonymous: false;
|
|
429
|
+
readonly inputs: readonly [];
|
|
430
|
+
readonly name: "NotFeeCollector";
|
|
431
|
+
readonly type: "event";
|
|
432
|
+
}, {
|
|
433
|
+
readonly anonymous: false;
|
|
434
|
+
readonly inputs: readonly [{
|
|
435
|
+
readonly indexed: false;
|
|
436
|
+
readonly internalType: "uint256";
|
|
437
|
+
readonly name: "oldValue";
|
|
438
|
+
readonly type: "uint256";
|
|
439
|
+
}, {
|
|
440
|
+
readonly indexed: false;
|
|
441
|
+
readonly internalType: "uint256";
|
|
442
|
+
readonly name: "newValue";
|
|
443
|
+
readonly type: "uint256";
|
|
444
|
+
}];
|
|
445
|
+
readonly name: "ProtocolFeeRateUpdated";
|
|
446
|
+
readonly type: "event";
|
|
447
|
+
}, {
|
|
448
|
+
readonly anonymous: false;
|
|
449
|
+
readonly inputs: readonly [{
|
|
450
|
+
readonly indexed: false;
|
|
451
|
+
readonly internalType: "uint256";
|
|
452
|
+
readonly name: "protocolFee";
|
|
453
|
+
readonly type: "uint256";
|
|
454
|
+
}, {
|
|
455
|
+
readonly indexed: false;
|
|
456
|
+
readonly internalType: "uint256";
|
|
457
|
+
readonly name: "accumulatedProtocolFees";
|
|
458
|
+
readonly type: "uint256";
|
|
459
|
+
}];
|
|
460
|
+
readonly name: "ProtocolFeesCollected";
|
|
461
|
+
readonly type: "event";
|
|
462
|
+
}, {
|
|
463
|
+
readonly anonymous: false;
|
|
464
|
+
readonly inputs: readonly [{
|
|
465
|
+
readonly indexed: true;
|
|
466
|
+
readonly internalType: "address";
|
|
467
|
+
readonly name: "feeCollector";
|
|
468
|
+
readonly type: "address";
|
|
469
|
+
}, {
|
|
470
|
+
readonly indexed: false;
|
|
471
|
+
readonly internalType: "uint256";
|
|
472
|
+
readonly name: "amount";
|
|
473
|
+
readonly type: "uint256";
|
|
474
|
+
}];
|
|
475
|
+
readonly name: "ProtocolFeesWithdrawn";
|
|
476
|
+
readonly type: "event";
|
|
345
477
|
}, {
|
|
346
478
|
readonly anonymous: false;
|
|
347
479
|
readonly inputs: readonly [{
|
|
@@ -362,6 +494,96 @@ export declare class MockLendingPoolDebtToken__factory extends ContractFactory {
|
|
|
362
494
|
}];
|
|
363
495
|
readonly name: "Repay";
|
|
364
496
|
readonly type: "event";
|
|
497
|
+
}, {
|
|
498
|
+
readonly anonymous: false;
|
|
499
|
+
readonly inputs: readonly [{
|
|
500
|
+
readonly indexed: true;
|
|
501
|
+
readonly internalType: "address";
|
|
502
|
+
readonly name: "user";
|
|
503
|
+
readonly type: "address";
|
|
504
|
+
}, {
|
|
505
|
+
readonly indexed: true;
|
|
506
|
+
readonly internalType: "address";
|
|
507
|
+
readonly name: "token";
|
|
508
|
+
readonly type: "address";
|
|
509
|
+
}, {
|
|
510
|
+
readonly indexed: false;
|
|
511
|
+
readonly internalType: "uint256";
|
|
512
|
+
readonly name: "amount";
|
|
513
|
+
readonly type: "uint256";
|
|
514
|
+
}];
|
|
515
|
+
readonly name: "RewardClaimed";
|
|
516
|
+
readonly type: "event";
|
|
517
|
+
}, {
|
|
518
|
+
readonly anonymous: false;
|
|
519
|
+
readonly inputs: readonly [{
|
|
520
|
+
readonly indexed: true;
|
|
521
|
+
readonly internalType: "address";
|
|
522
|
+
readonly name: "user";
|
|
523
|
+
readonly type: "address";
|
|
524
|
+
}, {
|
|
525
|
+
readonly indexed: false;
|
|
526
|
+
readonly internalType: "uint256";
|
|
527
|
+
readonly name: "amount";
|
|
528
|
+
readonly type: "uint256";
|
|
529
|
+
}];
|
|
530
|
+
readonly name: "RewardDistributed";
|
|
531
|
+
readonly type: "event";
|
|
532
|
+
}, {
|
|
533
|
+
readonly anonymous: false;
|
|
534
|
+
readonly inputs: readonly [{
|
|
535
|
+
readonly indexed: true;
|
|
536
|
+
readonly internalType: "address";
|
|
537
|
+
readonly name: "token";
|
|
538
|
+
readonly type: "address";
|
|
539
|
+
}, {
|
|
540
|
+
readonly indexed: false;
|
|
541
|
+
readonly internalType: "uint256";
|
|
542
|
+
readonly name: "rewardRate";
|
|
543
|
+
readonly type: "uint256";
|
|
544
|
+
}, {
|
|
545
|
+
readonly indexed: false;
|
|
546
|
+
readonly internalType: "uint256";
|
|
547
|
+
readonly name: "duration";
|
|
548
|
+
readonly type: "uint256";
|
|
549
|
+
}];
|
|
550
|
+
readonly name: "RewardParametersUpdated";
|
|
551
|
+
readonly type: "event";
|
|
552
|
+
}, {
|
|
553
|
+
readonly anonymous: false;
|
|
554
|
+
readonly inputs: readonly [{
|
|
555
|
+
readonly indexed: true;
|
|
556
|
+
readonly internalType: "address";
|
|
557
|
+
readonly name: "token";
|
|
558
|
+
readonly type: "address";
|
|
559
|
+
}, {
|
|
560
|
+
readonly indexed: false;
|
|
561
|
+
readonly internalType: "uint256";
|
|
562
|
+
readonly name: "rewardRate";
|
|
563
|
+
readonly type: "uint256";
|
|
564
|
+
}, {
|
|
565
|
+
readonly indexed: false;
|
|
566
|
+
readonly internalType: "uint256";
|
|
567
|
+
readonly name: "duration";
|
|
568
|
+
readonly type: "uint256";
|
|
569
|
+
}];
|
|
570
|
+
readonly name: "RewardTokenAdded";
|
|
571
|
+
readonly type: "event";
|
|
572
|
+
}, {
|
|
573
|
+
readonly anonymous: false;
|
|
574
|
+
readonly inputs: readonly [{
|
|
575
|
+
readonly indexed: true;
|
|
576
|
+
readonly internalType: "address";
|
|
577
|
+
readonly name: "user";
|
|
578
|
+
readonly type: "address";
|
|
579
|
+
}, {
|
|
580
|
+
readonly indexed: false;
|
|
581
|
+
readonly internalType: "uint256";
|
|
582
|
+
readonly name: "amount";
|
|
583
|
+
readonly type: "uint256";
|
|
584
|
+
}];
|
|
585
|
+
readonly name: "RewardTokensDeposited";
|
|
586
|
+
readonly type: "event";
|
|
365
587
|
}, {
|
|
366
588
|
readonly anonymous: false;
|
|
367
589
|
readonly inputs: readonly [{
|
|
@@ -377,6 +599,41 @@ export declare class MockLendingPoolDebtToken__factory extends ContractFactory {
|
|
|
377
599
|
}];
|
|
378
600
|
readonly name: "StabilityPoolUpdated";
|
|
379
601
|
readonly type: "event";
|
|
602
|
+
}, {
|
|
603
|
+
readonly anonymous: false;
|
|
604
|
+
readonly inputs: readonly [{
|
|
605
|
+
readonly indexed: false;
|
|
606
|
+
readonly internalType: "uint256";
|
|
607
|
+
readonly name: "amount";
|
|
608
|
+
readonly type: "uint256";
|
|
609
|
+
}];
|
|
610
|
+
readonly name: "VaultRewardsClaimed";
|
|
611
|
+
readonly type: "event";
|
|
612
|
+
}, {
|
|
613
|
+
readonly anonymous: false;
|
|
614
|
+
readonly inputs: readonly [{
|
|
615
|
+
readonly indexed: true;
|
|
616
|
+
readonly internalType: "address";
|
|
617
|
+
readonly name: "oldVault";
|
|
618
|
+
readonly type: "address";
|
|
619
|
+
}, {
|
|
620
|
+
readonly indexed: true;
|
|
621
|
+
readonly internalType: "address";
|
|
622
|
+
readonly name: "newVault";
|
|
623
|
+
readonly type: "address";
|
|
624
|
+
}];
|
|
625
|
+
readonly name: "VaultUpdated";
|
|
626
|
+
readonly type: "event";
|
|
627
|
+
}, {
|
|
628
|
+
readonly anonymous: false;
|
|
629
|
+
readonly inputs: readonly [{
|
|
630
|
+
readonly indexed: true;
|
|
631
|
+
readonly internalType: "address";
|
|
632
|
+
readonly name: "vault";
|
|
633
|
+
readonly type: "address";
|
|
634
|
+
}];
|
|
635
|
+
readonly name: "VaultWithdrawalFailed";
|
|
636
|
+
readonly type: "event";
|
|
380
637
|
}, {
|
|
381
638
|
readonly anonymous: false;
|
|
382
639
|
readonly inputs: readonly [{
|
|
@@ -405,7 +662,11 @@ export declare class MockLendingPoolDebtToken__factory extends ContractFactory {
|
|
|
405
662
|
}, {
|
|
406
663
|
readonly inputs: readonly [{
|
|
407
664
|
readonly internalType: "uint256";
|
|
408
|
-
readonly name: "";
|
|
665
|
+
readonly name: "tokenId";
|
|
666
|
+
readonly type: "uint256";
|
|
667
|
+
}, {
|
|
668
|
+
readonly internalType: "uint256";
|
|
669
|
+
readonly name: "amount";
|
|
409
670
|
readonly type: "uint256";
|
|
410
671
|
}];
|
|
411
672
|
readonly name: "borrow";
|
|
@@ -415,8 +676,12 @@ export declare class MockLendingPoolDebtToken__factory extends ContractFactory {
|
|
|
415
676
|
}, {
|
|
416
677
|
readonly inputs: readonly [{
|
|
417
678
|
readonly internalType: "address";
|
|
418
|
-
readonly name: "";
|
|
679
|
+
readonly name: "userAddress";
|
|
419
680
|
readonly type: "address";
|
|
681
|
+
}, {
|
|
682
|
+
readonly internalType: "uint256";
|
|
683
|
+
readonly name: "tokenId";
|
|
684
|
+
readonly type: "uint256";
|
|
420
685
|
}];
|
|
421
686
|
readonly name: "calculateHealthFactor";
|
|
422
687
|
readonly outputs: readonly [{
|
|
@@ -428,6 +693,30 @@ export declare class MockLendingPoolDebtToken__factory extends ContractFactory {
|
|
|
428
693
|
readonly type: "function";
|
|
429
694
|
}, {
|
|
430
695
|
readonly inputs: readonly [];
|
|
696
|
+
readonly name: "claimCollectorRewards";
|
|
697
|
+
readonly outputs: readonly [{
|
|
698
|
+
readonly internalType: "uint256";
|
|
699
|
+
readonly name: "";
|
|
700
|
+
readonly type: "uint256";
|
|
701
|
+
}];
|
|
702
|
+
readonly stateMutability: "nonpayable";
|
|
703
|
+
readonly type: "function";
|
|
704
|
+
}, {
|
|
705
|
+
readonly inputs: readonly [];
|
|
706
|
+
readonly name: "claimReward";
|
|
707
|
+
readonly outputs: readonly [{
|
|
708
|
+
readonly internalType: "bool";
|
|
709
|
+
readonly name: "";
|
|
710
|
+
readonly type: "bool";
|
|
711
|
+
}];
|
|
712
|
+
readonly stateMutability: "nonpayable";
|
|
713
|
+
readonly type: "function";
|
|
714
|
+
}, {
|
|
715
|
+
readonly inputs: readonly [{
|
|
716
|
+
readonly internalType: "uint256";
|
|
717
|
+
readonly name: "tokenId";
|
|
718
|
+
readonly type: "uint256";
|
|
719
|
+
}];
|
|
431
720
|
readonly name: "closeLiquidation";
|
|
432
721
|
readonly outputs: readonly [];
|
|
433
722
|
readonly stateMutability: "nonpayable";
|
|
@@ -435,7 +724,7 @@ export declare class MockLendingPoolDebtToken__factory extends ContractFactory {
|
|
|
435
724
|
}, {
|
|
436
725
|
readonly inputs: readonly [{
|
|
437
726
|
readonly internalType: "uint256";
|
|
438
|
-
readonly name: "";
|
|
727
|
+
readonly name: "amount";
|
|
439
728
|
readonly type: "uint256";
|
|
440
729
|
}];
|
|
441
730
|
readonly name: "deposit";
|
|
@@ -445,18 +734,32 @@ export declare class MockLendingPoolDebtToken__factory extends ContractFactory {
|
|
|
445
734
|
}, {
|
|
446
735
|
readonly inputs: readonly [{
|
|
447
736
|
readonly internalType: "uint256";
|
|
448
|
-
readonly name: "";
|
|
737
|
+
readonly name: "tokenId";
|
|
449
738
|
readonly type: "uint256";
|
|
450
739
|
}];
|
|
451
740
|
readonly name: "depositNFT";
|
|
452
741
|
readonly outputs: readonly [];
|
|
453
742
|
readonly stateMutability: "nonpayable";
|
|
454
743
|
readonly type: "function";
|
|
744
|
+
}, {
|
|
745
|
+
readonly inputs: readonly [{
|
|
746
|
+
readonly internalType: "uint256";
|
|
747
|
+
readonly name: "amount";
|
|
748
|
+
readonly type: "uint256";
|
|
749
|
+
}];
|
|
750
|
+
readonly name: "depositRewardTokens";
|
|
751
|
+
readonly outputs: readonly [];
|
|
752
|
+
readonly stateMutability: "nonpayable";
|
|
753
|
+
readonly type: "function";
|
|
455
754
|
}, {
|
|
456
755
|
readonly inputs: readonly [{
|
|
457
756
|
readonly internalType: "address";
|
|
458
|
-
readonly name: "";
|
|
757
|
+
readonly name: "userAddress";
|
|
459
758
|
readonly type: "address";
|
|
759
|
+
}, {
|
|
760
|
+
readonly internalType: "uint256";
|
|
761
|
+
readonly name: "tokenId";
|
|
762
|
+
readonly type: "uint256";
|
|
460
763
|
}];
|
|
461
764
|
readonly name: "finalizeLiquidation";
|
|
462
765
|
readonly outputs: readonly [];
|
|
@@ -464,8 +767,68 @@ export declare class MockLendingPoolDebtToken__factory extends ContractFactory {
|
|
|
464
767
|
readonly type: "function";
|
|
465
768
|
}, {
|
|
466
769
|
readonly inputs: readonly [{
|
|
467
|
-
readonly internalType: "
|
|
770
|
+
readonly internalType: "address";
|
|
771
|
+
readonly name: "userAddress";
|
|
772
|
+
readonly type: "address";
|
|
773
|
+
}];
|
|
774
|
+
readonly name: "getAllUserData";
|
|
775
|
+
readonly outputs: readonly [{
|
|
776
|
+
readonly components: readonly [{
|
|
777
|
+
readonly internalType: "uint256[]";
|
|
778
|
+
readonly name: "nftTokenIds";
|
|
779
|
+
readonly type: "uint256[]";
|
|
780
|
+
}, {
|
|
781
|
+
readonly internalType: "uint256";
|
|
782
|
+
readonly name: "scaledDebtBalance";
|
|
783
|
+
readonly type: "uint256";
|
|
784
|
+
}, {
|
|
785
|
+
readonly internalType: "uint256";
|
|
786
|
+
readonly name: "collateralValue";
|
|
787
|
+
readonly type: "uint256";
|
|
788
|
+
}, {
|
|
789
|
+
readonly components: readonly [{
|
|
790
|
+
readonly internalType: "uint256";
|
|
791
|
+
readonly name: "rawDebtBalance";
|
|
792
|
+
readonly type: "uint256";
|
|
793
|
+
}, {
|
|
794
|
+
readonly internalType: "uint256";
|
|
795
|
+
readonly name: "scaledDebtBalance";
|
|
796
|
+
readonly type: "uint256";
|
|
797
|
+
}, {
|
|
798
|
+
readonly internalType: "uint256";
|
|
799
|
+
readonly name: "healthFactor";
|
|
800
|
+
readonly type: "uint256";
|
|
801
|
+
}, {
|
|
802
|
+
readonly internalType: "bool";
|
|
803
|
+
readonly name: "isUnderLiquidation";
|
|
804
|
+
readonly type: "bool";
|
|
805
|
+
}, {
|
|
806
|
+
readonly internalType: "uint256";
|
|
807
|
+
readonly name: "liquidationStartTime";
|
|
808
|
+
readonly type: "uint256";
|
|
809
|
+
}, {
|
|
810
|
+
readonly internalType: "uint256";
|
|
811
|
+
readonly name: "positionIndex";
|
|
812
|
+
readonly type: "uint256";
|
|
813
|
+
}, {
|
|
814
|
+
readonly internalType: "bool";
|
|
815
|
+
readonly name: "isInsured";
|
|
816
|
+
readonly type: "bool";
|
|
817
|
+
}];
|
|
818
|
+
readonly internalType: "struct ILendingPool.NFTPositionView[]";
|
|
819
|
+
readonly name: "positions";
|
|
820
|
+
readonly type: "tuple[]";
|
|
821
|
+
}];
|
|
822
|
+
readonly internalType: "struct ILendingPool.UserDataView";
|
|
468
823
|
readonly name: "";
|
|
824
|
+
readonly type: "tuple";
|
|
825
|
+
}];
|
|
826
|
+
readonly stateMutability: "view";
|
|
827
|
+
readonly type: "function";
|
|
828
|
+
}, {
|
|
829
|
+
readonly inputs: readonly [{
|
|
830
|
+
readonly internalType: "uint256";
|
|
831
|
+
readonly name: "tokenId";
|
|
469
832
|
readonly type: "uint256";
|
|
470
833
|
}];
|
|
471
834
|
readonly name: "getNFTPrice";
|
|
@@ -497,136 +860,241 @@ export declare class MockLendingPoolDebtToken__factory extends ContractFactory {
|
|
|
497
860
|
readonly stateMutability: "pure";
|
|
498
861
|
readonly type: "function";
|
|
499
862
|
}, {
|
|
500
|
-
readonly inputs: readonly [
|
|
501
|
-
|
|
863
|
+
readonly inputs: readonly [{
|
|
864
|
+
readonly internalType: "address";
|
|
865
|
+
readonly name: "user";
|
|
866
|
+
readonly type: "address";
|
|
867
|
+
}];
|
|
868
|
+
readonly name: "getPendingReward";
|
|
502
869
|
readonly outputs: readonly [{
|
|
503
870
|
readonly internalType: "uint256";
|
|
504
871
|
readonly name: "";
|
|
505
872
|
readonly type: "uint256";
|
|
506
873
|
}];
|
|
507
|
-
readonly stateMutability: "
|
|
874
|
+
readonly stateMutability: "view";
|
|
508
875
|
readonly type: "function";
|
|
509
876
|
}, {
|
|
510
877
|
readonly inputs: readonly [{
|
|
511
878
|
readonly internalType: "address";
|
|
512
|
-
readonly name: "";
|
|
879
|
+
readonly name: "userAddress";
|
|
513
880
|
readonly type: "address";
|
|
881
|
+
}, {
|
|
882
|
+
readonly internalType: "uint256";
|
|
883
|
+
readonly name: "tokenId";
|
|
884
|
+
readonly type: "uint256";
|
|
514
885
|
}];
|
|
515
|
-
readonly name: "
|
|
886
|
+
readonly name: "getPosition";
|
|
516
887
|
readonly outputs: readonly [{
|
|
517
|
-
readonly
|
|
888
|
+
readonly components: readonly [{
|
|
889
|
+
readonly internalType: "uint256";
|
|
890
|
+
readonly name: "rawDebtBalance";
|
|
891
|
+
readonly type: "uint256";
|
|
892
|
+
}, {
|
|
893
|
+
readonly internalType: "bool";
|
|
894
|
+
readonly name: "isUnderLiquidation";
|
|
895
|
+
readonly type: "bool";
|
|
896
|
+
}, {
|
|
897
|
+
readonly internalType: "uint256";
|
|
898
|
+
readonly name: "liquidationStartTime";
|
|
899
|
+
readonly type: "uint256";
|
|
900
|
+
}, {
|
|
901
|
+
readonly internalType: "uint256";
|
|
902
|
+
readonly name: "positionIndex";
|
|
903
|
+
readonly type: "uint256";
|
|
904
|
+
}, {
|
|
905
|
+
readonly internalType: "bool";
|
|
906
|
+
readonly name: "isInsured";
|
|
907
|
+
readonly type: "bool";
|
|
908
|
+
}, {
|
|
909
|
+
readonly internalType: "uint256";
|
|
910
|
+
readonly name: "rawInsuredBalance";
|
|
911
|
+
readonly type: "uint256";
|
|
912
|
+
}];
|
|
913
|
+
readonly internalType: "struct ILendingPool.NFTPosition";
|
|
518
914
|
readonly name: "";
|
|
519
|
-
readonly type: "
|
|
915
|
+
readonly type: "tuple";
|
|
520
916
|
}];
|
|
521
|
-
readonly stateMutability: "
|
|
917
|
+
readonly stateMutability: "view";
|
|
522
918
|
readonly type: "function";
|
|
523
919
|
}, {
|
|
524
920
|
readonly inputs: readonly [{
|
|
525
921
|
readonly internalType: "address";
|
|
526
|
-
readonly name: "";
|
|
922
|
+
readonly name: "userAddress";
|
|
527
923
|
readonly type: "address";
|
|
924
|
+
}, {
|
|
925
|
+
readonly internalType: "uint256";
|
|
926
|
+
readonly name: "tokenId";
|
|
927
|
+
readonly type: "uint256";
|
|
528
928
|
}];
|
|
529
|
-
readonly name: "
|
|
929
|
+
readonly name: "getPositionData";
|
|
530
930
|
readonly outputs: readonly [{
|
|
531
931
|
readonly internalType: "uint256";
|
|
532
932
|
readonly name: "";
|
|
533
933
|
readonly type: "uint256";
|
|
934
|
+
}, {
|
|
935
|
+
readonly internalType: "uint256";
|
|
936
|
+
readonly name: "";
|
|
937
|
+
readonly type: "uint256";
|
|
534
938
|
}];
|
|
535
|
-
readonly stateMutability: "
|
|
939
|
+
readonly stateMutability: "view";
|
|
536
940
|
readonly type: "function";
|
|
537
941
|
}, {
|
|
538
942
|
readonly inputs: readonly [{
|
|
539
943
|
readonly internalType: "address";
|
|
540
|
-
readonly name: "";
|
|
944
|
+
readonly name: "userAddress";
|
|
541
945
|
readonly type: "address";
|
|
946
|
+
}, {
|
|
947
|
+
readonly internalType: "uint256";
|
|
948
|
+
readonly name: "tokenId";
|
|
949
|
+
readonly type: "uint256";
|
|
542
950
|
}];
|
|
543
|
-
readonly name: "
|
|
544
|
-
readonly outputs: readonly [
|
|
545
|
-
|
|
951
|
+
readonly name: "getPositionDebt";
|
|
952
|
+
readonly outputs: readonly [{
|
|
953
|
+
readonly internalType: "uint256";
|
|
954
|
+
readonly name: "";
|
|
955
|
+
readonly type: "uint256";
|
|
956
|
+
}];
|
|
957
|
+
readonly stateMutability: "view";
|
|
546
958
|
readonly type: "function";
|
|
547
959
|
}, {
|
|
548
960
|
readonly inputs: readonly [{
|
|
549
961
|
readonly internalType: "address";
|
|
550
|
-
readonly name: "";
|
|
551
|
-
readonly type: "address";
|
|
552
|
-
}, {
|
|
553
|
-
readonly internalType: "address";
|
|
554
|
-
readonly name: "";
|
|
962
|
+
readonly name: "userAddress";
|
|
555
963
|
readonly type: "address";
|
|
556
964
|
}, {
|
|
557
965
|
readonly internalType: "uint256";
|
|
558
|
-
readonly name: "";
|
|
966
|
+
readonly name: "tokenId";
|
|
559
967
|
readonly type: "uint256";
|
|
560
|
-
}
|
|
561
|
-
|
|
968
|
+
}];
|
|
969
|
+
readonly name: "getPositionScaledDebt";
|
|
970
|
+
readonly outputs: readonly [{
|
|
971
|
+
readonly internalType: "uint256";
|
|
562
972
|
readonly name: "";
|
|
563
|
-
readonly type: "
|
|
973
|
+
readonly type: "uint256";
|
|
564
974
|
}];
|
|
565
|
-
readonly
|
|
975
|
+
readonly stateMutability: "view";
|
|
976
|
+
readonly type: "function";
|
|
977
|
+
}, {
|
|
978
|
+
readonly inputs: readonly [{
|
|
979
|
+
readonly internalType: "address";
|
|
980
|
+
readonly name: "userAddress";
|
|
981
|
+
readonly type: "address";
|
|
982
|
+
}];
|
|
983
|
+
readonly name: "getPositionsScaledDebt";
|
|
566
984
|
readonly outputs: readonly [{
|
|
567
|
-
readonly internalType: "
|
|
985
|
+
readonly internalType: "uint256";
|
|
568
986
|
readonly name: "";
|
|
569
|
-
readonly type: "
|
|
987
|
+
readonly type: "uint256";
|
|
570
988
|
}];
|
|
571
|
-
readonly stateMutability: "
|
|
989
|
+
readonly stateMutability: "view";
|
|
572
990
|
readonly type: "function";
|
|
573
991
|
}, {
|
|
574
992
|
readonly inputs: readonly [];
|
|
575
|
-
readonly name: "
|
|
576
|
-
readonly outputs: readonly [
|
|
577
|
-
|
|
993
|
+
readonly name: "getRAACNFTAddress";
|
|
994
|
+
readonly outputs: readonly [{
|
|
995
|
+
readonly internalType: "address";
|
|
996
|
+
readonly name: "";
|
|
997
|
+
readonly type: "address";
|
|
998
|
+
}];
|
|
999
|
+
readonly stateMutability: "view";
|
|
578
1000
|
readonly type: "function";
|
|
579
1001
|
}, {
|
|
580
1002
|
readonly inputs: readonly [{
|
|
1003
|
+
readonly internalType: "address";
|
|
1004
|
+
readonly name: "userAddress";
|
|
1005
|
+
readonly type: "address";
|
|
1006
|
+
}];
|
|
1007
|
+
readonly name: "getUserCollateralValue";
|
|
1008
|
+
readonly outputs: readonly [{
|
|
581
1009
|
readonly internalType: "uint256";
|
|
582
1010
|
readonly name: "";
|
|
583
1011
|
readonly type: "uint256";
|
|
584
1012
|
}];
|
|
585
|
-
readonly
|
|
586
|
-
readonly outputs: readonly [];
|
|
587
|
-
readonly stateMutability: "nonpayable";
|
|
1013
|
+
readonly stateMutability: "pure";
|
|
588
1014
|
readonly type: "function";
|
|
589
1015
|
}, {
|
|
590
1016
|
readonly inputs: readonly [{
|
|
1017
|
+
readonly internalType: "address";
|
|
1018
|
+
readonly name: "userAddress";
|
|
1019
|
+
readonly type: "address";
|
|
1020
|
+
}];
|
|
1021
|
+
readonly name: "getUserDebt";
|
|
1022
|
+
readonly outputs: readonly [{
|
|
591
1023
|
readonly internalType: "uint256";
|
|
592
1024
|
readonly name: "";
|
|
593
1025
|
readonly type: "uint256";
|
|
594
|
-
}
|
|
1026
|
+
}];
|
|
1027
|
+
readonly stateMutability: "view";
|
|
1028
|
+
readonly type: "function";
|
|
1029
|
+
}, {
|
|
1030
|
+
readonly inputs: readonly [{
|
|
595
1031
|
readonly internalType: "address";
|
|
596
|
-
readonly name: "";
|
|
1032
|
+
readonly name: "userAddress";
|
|
597
1033
|
readonly type: "address";
|
|
1034
|
+
}, {
|
|
1035
|
+
readonly internalType: "uint256";
|
|
1036
|
+
readonly name: "tokenId";
|
|
1037
|
+
readonly type: "uint256";
|
|
598
1038
|
}];
|
|
599
|
-
readonly name: "
|
|
1039
|
+
readonly name: "initiateLiquidation";
|
|
600
1040
|
readonly outputs: readonly [];
|
|
601
1041
|
readonly stateMutability: "nonpayable";
|
|
602
1042
|
readonly type: "function";
|
|
603
1043
|
}, {
|
|
604
1044
|
readonly inputs: readonly [{
|
|
1045
|
+
readonly internalType: "address";
|
|
1046
|
+
readonly name: "";
|
|
1047
|
+
readonly type: "address";
|
|
1048
|
+
}, {
|
|
1049
|
+
readonly internalType: "address";
|
|
1050
|
+
readonly name: "";
|
|
1051
|
+
readonly type: "address";
|
|
1052
|
+
}, {
|
|
605
1053
|
readonly internalType: "uint256";
|
|
606
1054
|
readonly name: "";
|
|
607
1055
|
readonly type: "uint256";
|
|
1056
|
+
}, {
|
|
1057
|
+
readonly internalType: "bytes";
|
|
1058
|
+
readonly name: "";
|
|
1059
|
+
readonly type: "bytes";
|
|
608
1060
|
}];
|
|
609
|
-
readonly name: "
|
|
610
|
-
readonly outputs: readonly [
|
|
611
|
-
|
|
1061
|
+
readonly name: "onERC721Received";
|
|
1062
|
+
readonly outputs: readonly [{
|
|
1063
|
+
readonly internalType: "bytes4";
|
|
1064
|
+
readonly name: "";
|
|
1065
|
+
readonly type: "bytes4";
|
|
1066
|
+
}];
|
|
1067
|
+
readonly stateMutability: "pure";
|
|
612
1068
|
readonly type: "function";
|
|
613
1069
|
}, {
|
|
614
1070
|
readonly inputs: readonly [{
|
|
615
1071
|
readonly internalType: "uint256";
|
|
616
|
-
readonly name: "";
|
|
1072
|
+
readonly name: "tokenId";
|
|
1073
|
+
readonly type: "uint256";
|
|
1074
|
+
}, {
|
|
1075
|
+
readonly internalType: "uint256";
|
|
1076
|
+
readonly name: "amount";
|
|
617
1077
|
readonly type: "uint256";
|
|
618
1078
|
}];
|
|
619
|
-
readonly name: "
|
|
1079
|
+
readonly name: "repay";
|
|
620
1080
|
readonly outputs: readonly [];
|
|
621
1081
|
readonly stateMutability: "nonpayable";
|
|
622
1082
|
readonly type: "function";
|
|
623
1083
|
}, {
|
|
624
1084
|
readonly inputs: readonly [{
|
|
625
1085
|
readonly internalType: "uint256";
|
|
626
|
-
readonly name: "";
|
|
1086
|
+
readonly name: "tokenId";
|
|
1087
|
+
readonly type: "uint256";
|
|
1088
|
+
}, {
|
|
1089
|
+
readonly internalType: "uint256";
|
|
1090
|
+
readonly name: "amount";
|
|
627
1091
|
readonly type: "uint256";
|
|
1092
|
+
}, {
|
|
1093
|
+
readonly internalType: "address";
|
|
1094
|
+
readonly name: "onBehalfOf";
|
|
1095
|
+
readonly type: "address";
|
|
628
1096
|
}];
|
|
629
|
-
readonly name: "
|
|
1097
|
+
readonly name: "repayOnBehalf";
|
|
630
1098
|
readonly outputs: readonly [];
|
|
631
1099
|
readonly stateMutability: "nonpayable";
|
|
632
1100
|
readonly type: "function";
|
|
@@ -657,23 +1125,13 @@ export declare class MockLendingPoolDebtToken__factory extends ContractFactory {
|
|
|
657
1125
|
}, {
|
|
658
1126
|
readonly inputs: readonly [{
|
|
659
1127
|
readonly internalType: "uint256";
|
|
660
|
-
readonly name: "";
|
|
1128
|
+
readonly name: "newPrimeRate";
|
|
661
1129
|
readonly type: "uint256";
|
|
662
1130
|
}];
|
|
663
1131
|
readonly name: "setPrimeRate";
|
|
664
1132
|
readonly outputs: readonly [];
|
|
665
1133
|
readonly stateMutability: "nonpayable";
|
|
666
1134
|
readonly type: "function";
|
|
667
|
-
}, {
|
|
668
|
-
readonly inputs: readonly [{
|
|
669
|
-
readonly internalType: "uint256";
|
|
670
|
-
readonly name: "";
|
|
671
|
-
readonly type: "uint256";
|
|
672
|
-
}];
|
|
673
|
-
readonly name: "setProtocolFeeRate";
|
|
674
|
-
readonly outputs: readonly [];
|
|
675
|
-
readonly stateMutability: "nonpayable";
|
|
676
|
-
readonly type: "function";
|
|
677
1135
|
}, {
|
|
678
1136
|
readonly inputs: readonly [{
|
|
679
1137
|
readonly internalType: "address";
|
|
@@ -700,20 +1158,24 @@ export declare class MockLendingPoolDebtToken__factory extends ContractFactory {
|
|
|
700
1158
|
readonly type: "function";
|
|
701
1159
|
}, {
|
|
702
1160
|
readonly inputs: readonly [];
|
|
703
|
-
readonly name: "
|
|
1161
|
+
readonly name: "updateState";
|
|
704
1162
|
readonly outputs: readonly [];
|
|
705
1163
|
readonly stateMutability: "nonpayable";
|
|
706
1164
|
readonly type: "function";
|
|
707
1165
|
}, {
|
|
708
|
-
readonly inputs: readonly [
|
|
709
|
-
|
|
1166
|
+
readonly inputs: readonly [{
|
|
1167
|
+
readonly internalType: "address";
|
|
1168
|
+
readonly name: "user";
|
|
1169
|
+
readonly type: "address";
|
|
1170
|
+
}];
|
|
1171
|
+
readonly name: "updateUserReward";
|
|
710
1172
|
readonly outputs: readonly [];
|
|
711
1173
|
readonly stateMutability: "nonpayable";
|
|
712
1174
|
readonly type: "function";
|
|
713
1175
|
}, {
|
|
714
1176
|
readonly inputs: readonly [{
|
|
715
1177
|
readonly internalType: "uint256";
|
|
716
|
-
readonly name: "";
|
|
1178
|
+
readonly name: "amount";
|
|
717
1179
|
readonly type: "uint256";
|
|
718
1180
|
}];
|
|
719
1181
|
readonly name: "withdraw";
|
|
@@ -723,7 +1185,7 @@ export declare class MockLendingPoolDebtToken__factory extends ContractFactory {
|
|
|
723
1185
|
}, {
|
|
724
1186
|
readonly inputs: readonly [{
|
|
725
1187
|
readonly internalType: "uint256";
|
|
726
|
-
readonly name: "";
|
|
1188
|
+
readonly name: "tokenId";
|
|
727
1189
|
readonly type: "uint256";
|
|
728
1190
|
}];
|
|
729
1191
|
readonly name: "withdrawNFT";
|