@raac/rpc 1.0.0 → 1.0.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 +269 -0
- package/dist/artifacts/core/minters/RAACMinter/RAACMinter.sol/RAACMinter.json +1335 -0
- package/dist/artifacts/core/pools/LendingPool/LendingPool.sol/LendingPool.json +1724 -0
- package/dist/artifacts/core/pools/StabilityPool/StabilityPool.sol/StabilityPool.json +1192 -0
- package/dist/artifacts/core/primitives/RAACHousePrices.sol/RAACHousePrices.json +215 -0
- package/dist/artifacts/core/tokens/DEToken.sol/DEToken.json +858 -0
- package/dist/artifacts/core/tokens/RAACNFT.sol/RAACNFT.json +814 -0
- package/dist/artifacts/core/tokens/RAACToken.sol/RAACToken.json +893 -0
- package/dist/artifacts/core/tokens/RToken.sol/RToken.json +1205 -0
- package/dist/artifacts/core/tokens/veRAACToken.sol/veRAACToken.json +1616 -0
- package/dist/artifacts/mocks/core/tokens/crvUSDToken.sol/crvUSDToken.json +479 -0
- package/dist/artifacts/zeno/Auction.sol/Auction.json +473 -0
- package/dist/artifacts/zeno/AuctionFactory.sol/AuctionFactory.json +307 -0
- package/dist/artifacts/zeno/Zeno.sol/Zeno.json +620 -0
- package/dist/artifacts/zeno/ZenoFactory.sol/ZenoFactory.json +275 -0
- package/dist/assets/getAsset.js +23 -0
- package/dist/assets/getAssets.js +26 -0
- package/dist/assets/getSupply.js +18 -0
- package/dist/configs/chains/8453.json +115 -0
- package/dist/configs/chains/index.js +13 -0
- package/dist/configs/createConfig.js +89 -0
- package/dist/configs/index.js +43 -0
- package/dist/contracts/crvUSDToken/getBalance.js +17 -0
- package/dist/contracts/crvUSDToken/getTotalSupply.js +31 -0
- package/dist/contracts/getContract.js +18 -0
- package/dist/contracts/getContractAddress.js +50 -0
- package/dist/contracts/housePrices/getLatestPrice.js +21 -0
- package/dist/contracts/housePrices/setOracle.js +24 -0
- package/dist/contracts/rcrvUSDToken/getBalance.js +14 -0
- package/dist/contracts/rcrvUSDToken/getTotalSupply.js +30 -0
- package/dist/contracts/zeno/createAuction.js +25 -0
- package/dist/contracts/zeno/createZeno.js +26 -0
- package/dist/contracts/zeno/getAuctions.js +28 -0
- package/dist/contracts/zeno/getZenos.js +28 -0
- package/dist/index.js +7 -0
- package/dist/methods/approveToken.js +35 -0
- package/dist/methods/commons/checkAllowance.js +19 -0
- package/dist/methods/commons/estimateGasPrice.js +23 -0
- package/dist/methods/getAssetBalance.js +33 -0
- package/dist/methods/getAssetsBalance.js +4 -0
- package/dist/minter/get.js +121 -0
- package/dist/minter/getApy.js +28 -0
- package/dist/minter/tick.js +33 -0
- package/dist/nfts/addNewBatch.js +24 -0
- package/dist/nfts/getCurrentBatchSize.js +19 -0
- package/dist/nfts/getDepositedNFTs.js +19 -0
- package/dist/nfts/getHousePrice.js +19 -0
- package/dist/nfts/getOwnedNFTs.js +34 -0
- package/dist/nfts/mint.js +24 -0
- package/dist/nfts/setBaseUri.js +24 -0
- package/dist/pools/lendingPool/borrowFromLendingPool.js +23 -0
- package/dist/pools/lendingPool/depositNFTToLendingPool.js +51 -0
- package/dist/pools/lendingPool/depositToLendingPool.js +35 -0
- package/dist/pools/lendingPool/getHousePrice.js +26 -0
- package/dist/pools/lendingPool/getLendingPoolInfo.js +106 -0
- package/dist/pools/lendingPool/getLendingPoolTotalLiquidity.js +22 -0
- package/dist/pools/lendingPool/repayToLendingPool.js +28 -0
- package/dist/pools/lendingPool/withdrawFromLendingPool.js +42 -0
- package/dist/pools/lendingPool/withdrawNFTFromLendingPool.js +24 -0
- package/dist/pools/liquidityPool/getLiquidityPoolInfo.js +73 -0
- package/dist/pools/stabilityPool/calculateRAACRewards.js +21 -0
- package/dist/pools/stabilityPool/depositToStabilityPool.js +34 -0
- package/dist/pools/stabilityPool/getStabilityPoolInfo.js +90 -0
- package/dist/pools/stabilityPool/getStabilityPoolTotalDeposits.js +19 -0
- package/dist/pools/stabilityPool/withdrawFromStabilityPool.js +34 -0
- package/dist/scripts/index.js +83 -0
- package/dist/tests/test.js +32 -0
- package/dist/types/RPCLibrary.d.ts +139 -0
- package/dist/types/assets/getAsset.d.ts +5 -0
- package/dist/types/assets/getAssets.d.ts +4 -0
- package/dist/types/assets/getSupply.d.ts +5 -0
- package/dist/types/configs/chains/index.d.ts +11 -0
- package/dist/types/configs/createConfig.d.ts +86 -0
- package/dist/types/configs/index.d.ts +13 -0
- package/dist/types/contracts/crvUSDToken/getBalance.d.ts +2 -0
- package/dist/types/contracts/crvUSDToken/getTotalSupply.d.ts +10 -0
- package/dist/types/contracts/getContract.d.ts +4 -0
- package/dist/types/contracts/getContractAddress.d.ts +10 -0
- package/dist/types/contracts/housePrices/getLatestPrice.d.ts +10 -0
- package/dist/types/contracts/housePrices/setOracle.d.ts +4 -0
- package/dist/types/contracts/rcrvUSDToken/getBalance.d.ts +2 -0
- package/dist/types/contracts/rcrvUSDToken/getTotalSupply.d.ts +10 -0
- package/dist/types/contracts/zeno/createAuction.d.ts +4 -0
- package/dist/types/contracts/zeno/createZeno.d.ts +4 -0
- package/dist/types/contracts/zeno/getAuctions.d.ts +4 -0
- package/dist/types/contracts/zeno/getZenos.d.ts +4 -0
- package/{index.ts → dist/types/index.d.ts} +0 -1
- package/dist/types/methods/approveToken.d.ts +5 -0
- package/dist/types/methods/commons/checkAllowance.d.ts +6 -0
- package/dist/types/methods/commons/estimateGasPrice.d.ts +11 -0
- package/dist/types/methods/getAssetBalance.d.ts +6 -0
- package/dist/types/methods/getAssetsBalance.d.ts +3 -0
- package/dist/types/minter/get.d.ts +17 -0
- package/dist/types/minter/getApy.d.ts +4 -0
- package/dist/types/minter/tick.d.ts +4 -0
- package/dist/types/nfts/addNewBatch.d.ts +4 -0
- package/dist/types/nfts/getCurrentBatchSize.d.ts +4 -0
- package/dist/types/nfts/getDepositedNFTs.d.ts +7 -0
- package/dist/types/nfts/getHousePrice.d.ts +4 -0
- package/dist/types/nfts/getOwnedNFTs.d.ts +7 -0
- package/dist/types/nfts/mint.d.ts +4 -0
- package/dist/types/nfts/setBaseUri.d.ts +4 -0
- package/dist/types/pools/lendingPool/borrowFromLendingPool.d.ts +4 -0
- package/dist/types/pools/lendingPool/depositNFTToLendingPool.d.ts +4 -0
- package/dist/types/pools/lendingPool/depositToLendingPool.d.ts +4 -0
- package/dist/types/pools/lendingPool/getHousePrice.d.ts +4 -0
- package/dist/types/pools/lendingPool/getLendingPoolInfo.d.ts +23 -0
- package/dist/types/pools/lendingPool/getLendingPoolTotalLiquidity.d.ts +4 -0
- package/dist/types/pools/lendingPool/repayToLendingPool.d.ts +4 -0
- package/dist/types/pools/lendingPool/withdrawFromLendingPool.d.ts +4 -0
- package/dist/types/pools/lendingPool/withdrawNFTFromLendingPool.d.ts +4 -0
- package/dist/types/pools/liquidityPool/getLiquidityPoolInfo.d.ts +7 -0
- package/dist/types/pools/stabilityPool/calculateRAACRewards.d.ts +4 -0
- package/dist/types/pools/stabilityPool/depositToStabilityPool.d.ts +4 -0
- package/dist/types/pools/stabilityPool/getStabilityPoolInfo.d.ts +12 -0
- package/dist/types/pools/stabilityPool/getStabilityPoolTotalDeposits.d.ts +4 -0
- package/dist/types/pools/stabilityPool/withdrawFromStabilityPool.d.ts +4 -0
- package/dist/types/scripts/index.d.ts +1 -0
- package/dist/types/tests/test.d.ts +1 -0
- package/dist/types/typechain-types/@chainlink/contracts/index.d.ts +2 -0
- package/dist/types/typechain-types/@chainlink/contracts/src/index.d.ts +2 -0
- package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/functions/index.d.ts +2 -0
- package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/functions/v1_0_0/FunctionsClient.d.ts +67 -0
- package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/functions/v1_0_0/index.d.ts +5 -0
- package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/functions/v1_0_0/interfaces/IFunctionsClient.d.ts +37 -0
- package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/functions/v1_0_0/interfaces/IFunctionsRouter.d.ts +205 -0
- package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/functions/v1_0_0/interfaces/index.d.ts +2 -0
- package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/functions/v1_0_0/libraries/FunctionsRequest.d.ts +25 -0
- package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/functions/v1_0_0/libraries/index.d.ts +1 -0
- package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/index.d.ts +4 -0
- package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/shared/access/ConfirmedOwner.d.ts +69 -0
- package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/shared/access/ConfirmedOwnerWithProposal.d.ts +69 -0
- package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/shared/access/index.d.ts +2 -0
- package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/shared/index.d.ts +4 -0
- package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/shared/interfaces/IOwnable.d.ts +37 -0
- package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/shared/interfaces/index.d.ts +1 -0
- package/dist/types/typechain-types/@chainlink/index.d.ts +2 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/access/AccessControl.d.ts +159 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/access/IAccessControl.d.ts +147 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/access/Ownable.d.ts +54 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/access/index.d.ts +3 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/index.d.ts +8 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/interfaces/IERC5267.d.ts +78 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/interfaces/draft-IERC6093.sol/IERC1155Errors.d.ts +20 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/interfaces/draft-IERC6093.sol/IERC20Errors.d.ts +20 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/interfaces/draft-IERC6093.sol/IERC721Errors.d.ts +20 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/interfaces/draft-IERC6093.sol/index.d.ts +3 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/interfaces/index.d.ts +3 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/token/ERC20/ERC20.d.ts +141 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/token/ERC20/IERC20.d.ts +129 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/token/ERC20/extensions/ERC20Permit.d.ts +236 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.d.ts +141 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/token/ERC20/extensions/IERC20Permit.d.ts +61 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/token/ERC20/extensions/index.d.ts +3 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/token/ERC20/index.d.ts +6 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/token/ERC20/utils/SafeERC20.d.ts +20 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/token/ERC20/utils/index.d.ts +1 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/token/ERC721/ERC721.d.ts +211 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/token/ERC721/IERC721.d.ts +199 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/token/ERC721/IERC721Receiver.d.ts +39 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.d.ts +233 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.d.ts +221 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.d.ts +211 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/token/ERC721/extensions/index.d.ts +3 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/token/ERC721/index.d.ts +7 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/token/ERC721/utils/ERC721Holder.d.ts +39 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/token/ERC721/utils/index.d.ts +1 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/token/index.d.ts +4 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/utils/Address.d.ts +20 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/utils/Nonces.d.ts +25 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/utils/Pausable.d.ts +55 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/utils/ReentrancyGuard.d.ts +20 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/utils/ShortStrings.d.ts +20 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/utils/Strings.d.ts +20 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/utils/cryptography/ECDSA.d.ts +20 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/utils/cryptography/EIP712.d.ts +78 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/utils/cryptography/index.d.ts +2 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/utils/index.d.ts +12 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/utils/introspection/ERC165.d.ts +29 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/utils/introspection/IERC165.d.ts +29 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/utils/introspection/index.d.ts +2 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/utils/math/Math.d.ts +20 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/utils/math/SafeCast.d.ts +20 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/utils/math/index.d.ts +2 -0
- package/dist/types/typechain-types/@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.d.ts +68 -0
- package/dist/types/typechain-types/@openzeppelin/contracts-upgradeable/access/index.d.ts +1 -0
- package/dist/types/typechain-types/@openzeppelin/contracts-upgradeable/index.d.ts +6 -0
- package/dist/types/typechain-types/@openzeppelin/contracts-upgradeable/proxy/index.d.ts +2 -0
- package/dist/types/typechain-types/@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.d.ts +36 -0
- package/dist/types/typechain-types/@openzeppelin/contracts-upgradeable/proxy/utils/index.d.ts +1 -0
- package/dist/types/typechain-types/@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.d.ts +36 -0
- package/dist/types/typechain-types/@openzeppelin/contracts-upgradeable/utils/PausableUpgradeable.d.ts +69 -0
- package/dist/types/typechain-types/@openzeppelin/contracts-upgradeable/utils/index.d.ts +2 -0
- package/dist/types/typechain-types/@openzeppelin/index.d.ts +4 -0
- package/dist/types/typechain-types/common.d.ts +50 -0
- package/dist/types/typechain-types/contracts/core/collectors/FeeCollector.d.ts +708 -0
- package/dist/types/typechain-types/contracts/core/collectors/Treasury.d.ts +283 -0
- package/dist/types/typechain-types/contracts/core/collectors/index.d.ts +2 -0
- package/dist/types/typechain-types/contracts/core/governance/boost/BoostController.d.ts +573 -0
- package/dist/types/typechain-types/contracts/core/governance/boost/index.d.ts +1 -0
- package/dist/types/typechain-types/contracts/core/governance/gauges/BaseGauge.d.ts +779 -0
- package/dist/types/typechain-types/contracts/core/governance/gauges/GaugeController.d.ts +815 -0
- package/dist/types/typechain-types/contracts/core/governance/gauges/RAACGauge.d.ts +803 -0
- package/dist/types/typechain-types/contracts/core/governance/gauges/RWAGauge.d.ts +807 -0
- package/dist/types/typechain-types/contracts/core/governance/gauges/index.d.ts +4 -0
- package/dist/types/typechain-types/contracts/core/governance/index.d.ts +6 -0
- package/dist/types/typechain-types/contracts/core/governance/proposals/Governance.d.ts +612 -0
- package/dist/types/typechain-types/contracts/core/governance/proposals/TimelockController.d.ts +447 -0
- package/dist/types/typechain-types/contracts/core/governance/proposals/index.d.ts +2 -0
- package/dist/types/typechain-types/contracts/core/index.d.ts +14 -0
- package/dist/types/typechain-types/contracts/core/minters/RAACMinter/RAACMinter.d.ts +703 -0
- package/dist/types/typechain-types/contracts/core/minters/RAACMinter/index.d.ts +1 -0
- package/dist/types/typechain-types/contracts/core/minters/RAACReleaseOrchestrator/RAACReleaseOrchestrator.d.ts +503 -0
- package/dist/types/typechain-types/contracts/core/minters/RAACReleaseOrchestrator/index.d.ts +1 -0
- package/dist/types/typechain-types/contracts/core/minters/index.d.ts +4 -0
- package/dist/types/typechain-types/contracts/core/oracles/BaseChainlinkFunctionsOracle.d.ts +165 -0
- package/dist/types/typechain-types/contracts/core/oracles/RAACHousePriceOracle.d.ts +188 -0
- package/dist/types/typechain-types/contracts/core/oracles/RAACPrimeRateOracle.d.ts +195 -0
- package/dist/types/typechain-types/contracts/core/oracles/index.d.ts +3 -0
- package/dist/types/typechain-types/contracts/core/pools/LendingPool/LendingPool.d.ts +935 -0
- package/dist/types/typechain-types/contracts/core/pools/LendingPool/index.d.ts +1 -0
- package/dist/types/typechain-types/contracts/core/pools/StabilityPool/MarketCreator.d.ts +274 -0
- package/dist/types/typechain-types/contracts/core/pools/StabilityPool/NFTLiquidator.d.ts +283 -0
- package/dist/types/typechain-types/contracts/core/pools/StabilityPool/StabilityPool.d.ts +572 -0
- package/dist/types/typechain-types/contracts/core/pools/StabilityPool/index.d.ts +3 -0
- package/dist/types/typechain-types/contracts/core/pools/index.d.ts +4 -0
- package/dist/types/typechain-types/contracts/core/primitives/RAACHousePrices.d.ts +111 -0
- package/dist/types/typechain-types/contracts/core/primitives/index.d.ts +1 -0
- package/dist/types/typechain-types/contracts/core/tokens/DEToken.d.ts +384 -0
- package/dist/types/typechain-types/contracts/core/tokens/DebtToken.d.ts +415 -0
- package/dist/types/typechain-types/contracts/core/tokens/IndexToken.d.ts +155 -0
- package/dist/types/typechain-types/contracts/core/tokens/LPToken.d.ts +224 -0
- package/dist/types/typechain-types/contracts/core/tokens/RAACNFT.d.ts +334 -0
- package/dist/types/typechain-types/contracts/core/tokens/RAACToken.d.ts +401 -0
- package/dist/types/typechain-types/contracts/core/tokens/RToken.d.ts +567 -0
- package/dist/types/typechain-types/contracts/core/tokens/VeRAACToken.d.ts +816 -0
- package/dist/types/typechain-types/contracts/core/tokens/index.d.ts +8 -0
- package/dist/types/typechain-types/contracts/index.d.ts +10 -0
- package/dist/types/typechain-types/contracts/interfaces/IERC20.d.ts +129 -0
- package/dist/types/typechain-types/contracts/interfaces/IHousePrices.d.ts +29 -0
- package/dist/types/typechain-types/contracts/interfaces/IMarketCreator.d.ts +85 -0
- package/dist/types/typechain-types/contracts/interfaces/INFTLiquidator.d.ts +73 -0
- package/dist/types/typechain-types/contracts/interfaces/IPoolManager.d.ts +37 -0
- package/dist/types/typechain-types/contracts/interfaces/IReserveAllocationLibraryMock.d.ts +164 -0
- package/dist/types/typechain-types/contracts/interfaces/IUSDC.d.ts +129 -0
- package/dist/types/typechain-types/contracts/interfaces/IveRAACDistributor.d.ts +59 -0
- package/dist/types/typechain-types/contracts/interfaces/core/collectors/IFeeCollector.d.ts +300 -0
- package/dist/types/typechain-types/contracts/interfaces/core/collectors/ITreasury.d.ts +139 -0
- package/dist/types/typechain-types/contracts/interfaces/core/collectors/index.d.ts +2 -0
- package/dist/types/typechain-types/contracts/interfaces/core/governance/IBoostController.d.ts +269 -0
- package/dist/types/typechain-types/contracts/interfaces/core/governance/gauges/IGauge.d.ts +235 -0
- package/dist/types/typechain-types/contracts/interfaces/core/governance/gauges/IGaugeController.d.ts +341 -0
- package/dist/types/typechain-types/contracts/interfaces/core/governance/gauges/index.d.ts +2 -0
- package/dist/types/typechain-types/contracts/interfaces/core/governance/index.d.ts +5 -0
- package/dist/types/typechain-types/contracts/interfaces/core/governance/proposals/IGovernance.d.ts +577 -0
- package/dist/types/typechain-types/contracts/interfaces/core/governance/proposals/ITimelockController.d.ts +279 -0
- package/dist/types/typechain-types/contracts/interfaces/core/governance/proposals/index.d.ts +2 -0
- package/dist/types/typechain-types/contracts/interfaces/core/index.d.ts +12 -0
- package/dist/types/typechain-types/contracts/interfaces/core/minters/RAACMinter/IRAACMinter.d.ts +316 -0
- package/dist/types/typechain-types/contracts/interfaces/core/minters/RAACMinter/index.d.ts +1 -0
- package/dist/types/typechain-types/contracts/interfaces/core/minters/RAACReleaseOrchestrator/IReleaseOrchestrator.d.ts +235 -0
- package/dist/types/typechain-types/contracts/interfaces/core/minters/RAACReleaseOrchestrator/index.d.ts +1 -0
- package/dist/types/typechain-types/contracts/interfaces/core/minters/index.d.ts +4 -0
- package/dist/types/typechain-types/contracts/interfaces/core/oracles/IRAACHousePrices.d.ts +110 -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 +147 -0
- package/dist/types/typechain-types/contracts/interfaces/core/pools/LendingPool/ILendingPool.d.ts +497 -0
- package/dist/types/typechain-types/contracts/interfaces/core/pools/LendingPool/index.d.ts +1 -0
- package/dist/types/typechain-types/contracts/interfaces/core/pools/StabilityPool/IStabilityPool.d.ts +350 -0
- package/dist/types/typechain-types/contracts/interfaces/core/pools/StabilityPool/index.d.ts +1 -0
- package/dist/types/typechain-types/contracts/interfaces/core/pools/index.d.ts +5 -0
- package/dist/types/typechain-types/contracts/interfaces/core/tokens/IDEToken.d.ts +226 -0
- package/dist/types/typechain-types/contracts/interfaces/core/tokens/IDebtToken.d.ts +195 -0
- package/dist/types/typechain-types/contracts/interfaces/core/tokens/IRAACNFT.d.ts +279 -0
- package/dist/types/typechain-types/contracts/interfaces/core/tokens/IRAACToken.d.ts +346 -0
- package/dist/types/typechain-types/contracts/interfaces/core/tokens/IRToken.d.ts +397 -0
- package/dist/types/typechain-types/contracts/interfaces/core/tokens/IveRAACToken.d.ts +362 -0
- package/dist/types/typechain-types/contracts/interfaces/core/tokens/index.d.ts +6 -0
- package/dist/types/typechain-types/contracts/interfaces/curve/ICurveCrvUSDVault.d.ts +144 -0
- package/dist/types/typechain-types/contracts/interfaces/curve/index.d.ts +1 -0
- package/dist/types/typechain-types/contracts/interfaces/index.d.ts +14 -0
- package/dist/types/typechain-types/contracts/interfaces/zeno/IAuction.d.ts +122 -0
- package/dist/types/typechain-types/contracts/interfaces/zeno/IZENO.d.ts +186 -0
- package/dist/types/typechain-types/contracts/interfaces/zeno/index.d.ts +2 -0
- package/dist/types/typechain-types/contracts/libraries/governance/BoostCalculator.d.ts +42 -0
- package/dist/types/typechain-types/contracts/libraries/governance/Checkpoints.d.ts +55 -0
- package/dist/types/typechain-types/contracts/libraries/governance/LockManager.d.ts +87 -0
- package/dist/types/typechain-types/contracts/libraries/governance/PowerCheckpoint.d.ts +60 -0
- package/dist/types/typechain-types/contracts/libraries/governance/RAACVoting.d.ts +45 -0
- package/dist/types/typechain-types/contracts/libraries/governance/VotingPowerLib.d.ts +66 -0
- package/dist/types/typechain-types/contracts/libraries/governance/index.d.ts +6 -0
- package/dist/types/typechain-types/contracts/libraries/index.d.ts +8 -0
- package/dist/types/typechain-types/contracts/libraries/math/TimeWeightedAverage.d.ts +104 -0
- package/dist/types/typechain-types/contracts/libraries/math/index.d.ts +1 -0
- package/dist/types/typechain-types/contracts/libraries/pools/ReserveLibrary.d.ts +124 -0
- package/dist/types/typechain-types/contracts/libraries/pools/index.d.ts +1 -0
- package/dist/types/typechain-types/contracts/libraries/utils/StringUtils.d.ts +20 -0
- package/dist/types/typechain-types/contracts/libraries/utils/index.d.ts +1 -0
- package/dist/types/typechain-types/contracts/mocks/core/collectors/MockFeeCollector.d.ts +708 -0
- package/dist/types/typechain-types/contracts/mocks/core/collectors/MockTreasury.d.ts +169 -0
- package/dist/types/typechain-types/contracts/mocks/core/collectors/index.d.ts +2 -0
- package/dist/types/typechain-types/contracts/mocks/core/governance/gauges/MockBaseGauge.d.ts +845 -0
- package/dist/types/typechain-types/contracts/mocks/core/governance/gauges/MockGaugeController.d.ts +29 -0
- package/dist/types/typechain-types/contracts/mocks/core/governance/gauges/index.d.ts +2 -0
- package/dist/types/typechain-types/contracts/mocks/core/governance/index.d.ts +4 -0
- package/dist/types/typechain-types/contracts/mocks/core/governance/proposals/TimelockTestTarget.d.ts +72 -0
- package/dist/types/typechain-types/contracts/mocks/core/governance/proposals/index.d.ts +1 -0
- package/dist/types/typechain-types/contracts/mocks/core/index.d.ts +12 -0
- package/dist/types/typechain-types/contracts/mocks/core/oracles/MockFunctionsRouter.sol/IFunctionsRouter.d.ts +41 -0
- package/dist/types/typechain-types/contracts/mocks/core/oracles/MockFunctionsRouter.sol/MockFunctionsRouter.d.ts +45 -0
- package/dist/types/typechain-types/contracts/mocks/core/oracles/MockFunctionsRouter.sol/index.d.ts +2 -0
- package/dist/types/typechain-types/contracts/mocks/core/oracles/MockOracle.d.ts +43 -0
- package/dist/types/typechain-types/contracts/mocks/core/oracles/TestRAACHousePriceOracle.d.ts +204 -0
- package/dist/types/typechain-types/contracts/mocks/core/oracles/TestRAACPrimeRateOracle.d.ts +211 -0
- package/dist/types/typechain-types/contracts/mocks/core/oracles/index.d.ts +5 -0
- package/dist/types/typechain-types/contracts/mocks/core/pools/MockLendingPool.d.ts +121 -0
- package/dist/types/typechain-types/contracts/mocks/core/pools/MockLendingPoolDebtToken.d.ts +539 -0
- package/dist/types/typechain-types/contracts/mocks/core/pools/MockPool.d.ts +55 -0
- package/dist/types/typechain-types/contracts/mocks/core/pools/MockStabilityPool.d.ts +69 -0
- package/dist/types/typechain-types/contracts/mocks/core/pools/index.d.ts +4 -0
- package/dist/types/typechain-types/contracts/mocks/core/primitives/MockContract.d.ts +29 -0
- package/dist/types/typechain-types/contracts/mocks/core/primitives/MockContractWithConfig.d.ts +39 -0
- package/dist/types/typechain-types/contracts/mocks/core/primitives/RAACHousePricesMock.d.ts +47 -0
- package/dist/types/typechain-types/contracts/mocks/core/primitives/index.d.ts +3 -0
- package/dist/types/typechain-types/contracts/mocks/core/tokens/CrvUSDToken.d.ts +212 -0
- package/dist/types/typechain-types/contracts/mocks/core/tokens/ERC20Mock.d.ts +155 -0
- package/dist/types/typechain-types/contracts/mocks/core/tokens/ERC721Mock.d.ts +229 -0
- package/dist/types/typechain-types/contracts/mocks/core/tokens/MockFeeCollectorToken.d.ts +220 -0
- package/dist/types/typechain-types/contracts/mocks/core/tokens/MockToken.d.ts +191 -0
- package/dist/types/typechain-types/contracts/mocks/core/tokens/MockUSDC.d.ts +155 -0
- package/dist/types/typechain-types/contracts/mocks/core/tokens/MockVeToken.d.ts +510 -0
- package/dist/types/typechain-types/contracts/mocks/core/tokens/RAACMockERC20.d.ts +186 -0
- package/dist/types/typechain-types/contracts/mocks/core/tokens/index.d.ts +8 -0
- package/dist/types/typechain-types/contracts/mocks/index.d.ts +6 -0
- package/dist/types/typechain-types/contracts/mocks/libraries/governance/BoostCalculatorMock.d.ts +275 -0
- package/dist/types/typechain-types/contracts/mocks/libraries/governance/CheckpointsMock.d.ts +83 -0
- package/dist/types/typechain-types/contracts/mocks/libraries/governance/LockManagerMock.d.ts +163 -0
- package/dist/types/typechain-types/contracts/mocks/libraries/governance/PowerCheckpointMock.d.ts +141 -0
- package/dist/types/typechain-types/contracts/mocks/libraries/governance/RAACVotingMock.d.ts +41 -0
- package/dist/types/typechain-types/contracts/mocks/libraries/governance/VotingPowerMock.d.ts +281 -0
- package/dist/types/typechain-types/contracts/mocks/libraries/governance/index.d.ts +6 -0
- package/dist/types/typechain-types/contracts/mocks/libraries/index.d.ts +6 -0
- package/dist/types/typechain-types/contracts/mocks/libraries/math/TimeWeightedAverageMock.d.ts +203 -0
- package/dist/types/typechain-types/contracts/mocks/libraries/math/WadRayMathMock.d.ts +78 -0
- package/dist/types/typechain-types/contracts/mocks/libraries/math/index.d.ts +2 -0
- package/dist/types/typechain-types/contracts/mocks/libraries/pools/ReserveLibraryMock.d.ts +225 -0
- package/dist/types/typechain-types/contracts/mocks/libraries/pools/index.d.ts +1 -0
- package/dist/types/typechain-types/contracts/mocks/tests/MaliciousDeposit.d.ts +29 -0
- package/dist/types/typechain-types/contracts/mocks/tests/MaliciousWithdraw.d.ts +29 -0
- package/dist/types/typechain-types/contracts/mocks/tests/VeRAACFuzzHelper.d.ts +71 -0
- package/dist/types/typechain-types/contracts/mocks/tests/VotingPowerFuzzHelper.sol/IVMTimeControl.d.ts +25 -0
- package/dist/types/typechain-types/contracts/mocks/tests/VotingPowerFuzzHelper.sol/VotingPowerFuzzHelper.d.ts +100 -0
- package/dist/types/typechain-types/contracts/mocks/tests/VotingPowerFuzzHelper.sol/index.d.ts +2 -0
- package/dist/types/typechain-types/contracts/mocks/tests/index.d.ts +5 -0
- package/dist/types/typechain-types/contracts/zeno/Auction.d.ts +215 -0
- package/dist/types/typechain-types/contracts/zeno/AuctionFactory.d.ts +177 -0
- package/dist/types/typechain-types/contracts/zeno/ZENO.d.ts +237 -0
- package/dist/types/typechain-types/contracts/zeno/ZENOFactory.d.ts +151 -0
- package/dist/types/typechain-types/contracts/zeno/index.d.ts +4 -0
- package/dist/types/typechain-types/erc721a/contracts/IERC721A.d.ts +242 -0
- package/dist/types/typechain-types/erc721a/contracts/index.d.ts +1 -0
- package/dist/types/typechain-types/erc721a/index.d.ts +2 -0
- package/dist/types/typechain-types/factories/@chainlink/contracts/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/functions/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/functions/v1_0_0/FunctionsClient__factory.d.ts +49 -0
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/functions/v1_0_0/index.d.ts +3 -0
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/functions/v1_0_0/interfaces/IFunctionsClient__factory.d.ts +25 -0
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/functions/v1_0_0/interfaces/IFunctionsRouter__factory.d.ts +268 -0
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/functions/v1_0_0/interfaces/index.d.ts +2 -0
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/functions/v1_0_0/libraries/FunctionsRequest__factory.d.ts +48 -0
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/functions/v1_0_0/libraries/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/index.d.ts +2 -0
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/shared/access/ConfirmedOwnerWithProposal__factory.d.ts +90 -0
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/shared/access/ConfirmedOwner__factory.d.ts +86 -0
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/shared/access/index.d.ts +2 -0
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/shared/index.d.ts +2 -0
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/shared/interfaces/IOwnable__factory.d.ts +33 -0
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/shared/interfaces/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/@chainlink/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/access/AccessControl__factory.d.ts +181 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/access/IAccessControl__factory.d.ts +157 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/access/Ownable__factory.d.ts +64 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/access/index.d.ts +3 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/index.d.ts +4 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/interfaces/IERC5267__factory.d.ts +46 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/interfaces/draft-IERC6093.sol/IERC1155Errors__factory.d.ts +83 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/interfaces/draft-IERC6093.sol/IERC20Errors__factory.d.ts +71 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/interfaces/draft-IERC6093.sol/IERC721Errors__factory.d.ts +83 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/interfaces/draft-IERC6093.sol/index.d.ts +3 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/interfaces/index.d.ts +2 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/token/ERC20/ERC20__factory.d.ts +241 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/token/ERC20/IERC20__factory.d.ts +147 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/token/ERC20/extensions/ERC20Permit__factory.d.ts +402 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata__factory.d.ts +177 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/token/ERC20/extensions/IERC20Permit__factory.d.ts +65 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/token/ERC20/extensions/index.d.ts +3 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/token/ERC20/index.d.ts +4 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/token/ERC20/utils/SafeERC20__factory.d.ts +46 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/token/ERC20/utils/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/token/ERC721/ERC721__factory.d.ts +337 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/token/ERC721/IERC721Receiver__factory.d.ts +33 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/token/ERC721/IERC721__factory.d.ts +227 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable__factory.d.ts +395 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable__factory.d.ts +269 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata__factory.d.ts +261 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/token/ERC721/extensions/index.d.ts +3 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/token/ERC721/index.d.ts +5 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/token/ERC721/utils/ERC721Holder__factory.d.ts +33 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/token/ERC721/utils/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/token/index.d.ts +2 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/utils/Address__factory.d.ts +42 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/utils/Nonces__factory.d.ts +33 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/utils/Pausable__factory.d.ts +45 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/utils/ReentrancyGuard__factory.d.ts +11 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/utils/ShortStrings__factory.d.ts +34 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/utils/Strings__factory.d.ts +34 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/utils/cryptography/ECDSA__factory.d.ts +42 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/utils/cryptography/EIP712__factory.d.ts +58 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/utils/cryptography/index.d.ts +2 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/utils/index.d.ts +9 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/utils/introspection/ERC165__factory.d.ts +21 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/utils/introspection/IERC165__factory.d.ts +21 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/utils/introspection/index.d.ts +2 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/utils/math/Math__factory.d.ts +26 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/utils/math/SafeCast__factory.d.ts +62 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/utils/math/index.d.ts +2 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable__factory.d.ts +82 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts-upgradeable/access/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts-upgradeable/index.d.ts +3 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts-upgradeable/proxy/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts-upgradeable/proxy/utils/Initializable__factory.d.ts +25 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts-upgradeable/proxy/utils/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable__factory.d.ts +25 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts-upgradeable/utils/PausableUpgradeable__factory.d.ts +63 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts-upgradeable/utils/index.d.ts +2 -0
- package/dist/types/typechain-types/factories/@openzeppelin/index.d.ts +2 -0
- package/dist/types/typechain-types/factories/contracts/core/collectors/FeeCollector__factory.d.ts +985 -0
- package/dist/types/typechain-types/factories/contracts/core/collectors/Treasury__factory.d.ts +386 -0
- package/dist/types/typechain-types/factories/contracts/core/collectors/index.d.ts +2 -0
- package/dist/types/typechain-types/factories/contracts/core/governance/boost/BoostController__factory.d.ts +716 -0
- package/dist/types/typechain-types/factories/contracts/core/governance/boost/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/contracts/core/governance/gauges/BaseGauge__factory.d.ts +1083 -0
- package/dist/types/typechain-types/factories/contracts/core/governance/gauges/GaugeController__factory.d.ts +1124 -0
- package/dist/types/typechain-types/factories/contracts/core/governance/gauges/RAACGauge__factory.d.ts +1154 -0
- package/dist/types/typechain-types/factories/contracts/core/governance/gauges/RWAGauge__factory.d.ts +1154 -0
- package/dist/types/typechain-types/factories/contracts/core/governance/gauges/index.d.ts +4 -0
- package/dist/types/typechain-types/factories/contracts/core/governance/index.d.ts +3 -0
- package/dist/types/typechain-types/factories/contracts/core/governance/proposals/Governance__factory.d.ts +976 -0
- package/dist/types/typechain-types/factories/contracts/core/governance/proposals/TimelockController__factory.d.ts +773 -0
- package/dist/types/typechain-types/factories/contracts/core/governance/proposals/index.d.ts +2 -0
- package/dist/types/typechain-types/factories/contracts/core/index.d.ts +7 -0
- package/dist/types/typechain-types/factories/contracts/core/minters/RAACMinter/RAACMinter__factory.d.ts +1048 -0
- package/dist/types/typechain-types/factories/contracts/core/minters/RAACMinter/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/contracts/core/minters/RAACReleaseOrchestrator/RAACReleaseOrchestrator__factory.d.ts +706 -0
- package/dist/types/typechain-types/factories/contracts/core/minters/RAACReleaseOrchestrator/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/contracts/core/minters/index.d.ts +2 -0
- package/dist/types/typechain-types/factories/contracts/core/oracles/BaseChainlinkFunctionsOracle__factory.d.ts +205 -0
- package/dist/types/typechain-types/factories/contracts/core/oracles/RAACHousePriceOracle__factory.d.ts +275 -0
- package/dist/types/typechain-types/factories/contracts/core/oracles/RAACPrimeRateOracle__factory.d.ts +286 -0
- package/dist/types/typechain-types/factories/contracts/core/oracles/index.d.ts +3 -0
- package/dist/types/typechain-types/factories/contracts/core/pools/LendingPool/LendingPool__factory.d.ts +1327 -0
- package/dist/types/typechain-types/factories/contracts/core/pools/LendingPool/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/contracts/core/pools/StabilityPool/MarketCreator__factory.d.ts +405 -0
- package/dist/types/typechain-types/factories/contracts/core/pools/StabilityPool/NFTLiquidator__factory.d.ts +390 -0
- package/dist/types/typechain-types/factories/contracts/core/pools/StabilityPool/StabilityPool__factory.d.ts +930 -0
- package/dist/types/typechain-types/factories/contracts/core/pools/StabilityPool/index.d.ts +3 -0
- package/dist/types/typechain-types/factories/contracts/core/pools/index.d.ts +2 -0
- package/dist/types/typechain-types/factories/contracts/core/primitives/RAACHousePrices__factory.d.ts +178 -0
- package/dist/types/typechain-types/factories/contracts/core/primitives/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/contracts/core/tokens/DEToken__factory.d.ts +671 -0
- package/dist/types/typechain-types/factories/contracts/core/tokens/DebtToken__factory.d.ts +729 -0
- package/dist/types/typechain-types/factories/contracts/core/tokens/IndexToken__factory.d.ts +286 -0
- package/dist/types/typechain-types/factories/contracts/core/tokens/LPToken__factory.d.ts +401 -0
- package/dist/types/typechain-types/factories/contracts/core/tokens/RAACNFT__factory.d.ts +635 -0
- package/dist/types/typechain-types/factories/contracts/core/tokens/RAACToken__factory.d.ts +652 -0
- package/dist/types/typechain-types/factories/contracts/core/tokens/RToken__factory.d.ts +941 -0
- package/dist/types/typechain-types/factories/contracts/core/tokens/VeRAACToken__factory.d.ts +1264 -0
- package/dist/types/typechain-types/factories/contracts/core/tokens/index.d.ts +8 -0
- package/dist/types/typechain-types/factories/contracts/index.d.ts +5 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/IERC20__factory.d.ts +147 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/IHousePrices__factory.d.ts +21 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/IMarketCreator__factory.d.ts +101 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/INFTLiquidator__factory.d.ts +65 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/IPoolManager__factory.d.ts +43 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/IReserveAllocationLibraryMock__factory.d.ts +189 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/IUSDC__factory.d.ts +147 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/IveRAACDistributor__factory.d.ts +75 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/collectors/IFeeCollector__factory.d.ts +396 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/collectors/ITreasury__factory.d.ts +165 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/collectors/index.d.ts +2 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/governance/IBoostController__factory.d.ts +295 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/governance/gauges/IGaugeController__factory.d.ts +449 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/governance/gauges/IGauge__factory.d.ts +307 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/governance/gauges/index.d.ts +2 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/governance/index.d.ts +3 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/governance/proposals/IGovernance__factory.d.ts +878 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/governance/proposals/ITimelockController__factory.d.ts +468 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/governance/proposals/index.d.ts +2 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/index.d.ts +6 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/minters/RAACMinter/IRAACMinter__factory.d.ts +380 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/minters/RAACMinter/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/minters/RAACReleaseOrchestrator/IReleaseOrchestrator__factory.d.ts +275 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/minters/RAACReleaseOrchestrator/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/minters/index.d.ts +2 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/oracles/IRAACHousePrices__factory.d.ts +146 -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 +153 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/pools/LendingPool/ILendingPool__factory.d.ts +642 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/pools/LendingPool/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/pools/StabilityPool/IStabilityPool__factory.d.ts +480 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/pools/StabilityPool/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/pools/index.d.ts +3 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/tokens/IDEToken__factory.d.ts +256 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/tokens/IDebtToken__factory.d.ts +279 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/tokens/IRAACNFT__factory.d.ts +363 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/tokens/IRAACToken__factory.d.ts +436 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/tokens/IRToken__factory.d.ts +496 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/tokens/IveRAACToken__factory.d.ts +435 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/tokens/index.d.ts +6 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/curve/ICurveCrvUSDVault__factory.d.ts +194 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/curve/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/index.d.ts +11 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/zeno/IAuction__factory.d.ts +126 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/zeno/IZENO__factory.d.ts +246 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/zeno/index.d.ts +2 -0
- package/dist/types/typechain-types/factories/contracts/libraries/governance/BoostCalculator__factory.d.ts +54 -0
- package/dist/types/typechain-types/factories/contracts/libraries/governance/Checkpoints__factory.d.ts +68 -0
- package/dist/types/typechain-types/factories/contracts/libraries/governance/LockManager__factory.d.ts +111 -0
- package/dist/types/typechain-types/factories/contracts/libraries/governance/PowerCheckpoint__factory.d.ts +69 -0
- package/dist/types/typechain-types/factories/contracts/libraries/governance/RAACVoting__factory.d.ts +92 -0
- package/dist/types/typechain-types/factories/contracts/libraries/governance/VotingPowerLib__factory.d.ts +74 -0
- package/dist/types/typechain-types/factories/contracts/libraries/governance/index.d.ts +6 -0
- package/dist/types/typechain-types/factories/contracts/libraries/index.d.ts +4 -0
- package/dist/types/typechain-types/factories/contracts/libraries/math/TimeWeightedAverage__factory.d.ts +125 -0
- package/dist/types/typechain-types/factories/contracts/libraries/math/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/contracts/libraries/pools/ReserveLibrary__factory.d.ts +135 -0
- package/dist/types/typechain-types/factories/contracts/libraries/pools/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/contracts/libraries/utils/StringUtils__factory.d.ts +26 -0
- package/dist/types/typechain-types/factories/contracts/libraries/utils/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/collectors/MockFeeCollector__factory.d.ts +985 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/collectors/MockTreasury__factory.d.ts +212 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/collectors/index.d.ts +2 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/governance/gauges/MockBaseGauge__factory.d.ts +1182 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/governance/gauges/MockGaugeController__factory.d.ts +50 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/governance/gauges/index.d.ts +2 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/governance/index.d.ts +2 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/governance/proposals/TimelockTestTarget__factory.d.ts +91 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/governance/proposals/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/index.d.ts +6 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/oracles/MockFunctionsRouter.sol/IFunctionsRouter__factory.d.ts +37 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/oracles/MockFunctionsRouter.sol/MockFunctionsRouter__factory.d.ts +66 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/oracles/MockFunctionsRouter.sol/index.d.ts +2 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/oracles/MockOracle__factory.d.ts +62 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/oracles/TestRAACHousePriceOracle__factory.d.ts +293 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/oracles/TestRAACPrimeRateOracle__factory.d.ts +304 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/oracles/index.d.ts +4 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/pools/MockLendingPoolDebtToken__factory.d.ts +740 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/pools/MockLendingPool__factory.d.ts +199 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/pools/MockPool__factory.d.ts +84 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/pools/MockStabilityPool__factory.d.ts +109 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/pools/index.d.ts +4 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/primitives/MockContractWithConfig__factory.d.ts +53 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/primitives/MockContract__factory.d.ts +42 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/primitives/RAACHousePricesMock__factory.d.ts +64 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/primitives/index.d.ts +3 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/tokens/CrvUSDToken__factory.d.ts +379 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/tokens/ERC20Mock__factory.d.ts +282 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/tokens/ERC721Mock__factory.d.ts +388 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/tokens/MockFeeCollectorToken__factory.d.ts +407 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/tokens/MockToken__factory.d.ts +338 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/tokens/MockUSDC__factory.d.ts +278 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/tokens/MockVeToken__factory.d.ts +714 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/tokens/RAACMockERC20__factory.d.ts +335 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/tokens/index.d.ts +8 -0
- package/dist/types/typechain-types/factories/contracts/mocks/index.d.ts +3 -0
- package/dist/types/typechain-types/factories/contracts/mocks/libraries/governance/BoostCalculatorMock__factory.d.ts +351 -0
- package/dist/types/typechain-types/factories/contracts/mocks/libraries/governance/CheckpointsMock__factory.d.ts +124 -0
- package/dist/types/typechain-types/factories/contracts/mocks/libraries/governance/LockManagerMock__factory.d.ts +197 -0
- package/dist/types/typechain-types/factories/contracts/mocks/libraries/governance/PowerCheckpointMock__factory.d.ts +183 -0
- package/dist/types/typechain-types/factories/contracts/mocks/libraries/governance/RAACVotingMock__factory.d.ts +70 -0
- package/dist/types/typechain-types/factories/contracts/mocks/libraries/governance/VotingPowerMock__factory.d.ts +341 -0
- package/dist/types/typechain-types/factories/contracts/mocks/libraries/governance/index.d.ts +6 -0
- package/dist/types/typechain-types/factories/contracts/mocks/libraries/index.d.ts +3 -0
- package/dist/types/typechain-types/factories/contracts/mocks/libraries/math/TimeWeightedAverageMock__factory.d.ts +247 -0
- package/dist/types/typechain-types/factories/contracts/mocks/libraries/math/WadRayMathMock__factory.d.ts +154 -0
- package/dist/types/typechain-types/factories/contracts/mocks/libraries/math/index.d.ts +2 -0
- package/dist/types/typechain-types/factories/contracts/mocks/libraries/pools/ReserveLibraryMock__factory.d.ts +277 -0
- package/dist/types/typechain-types/factories/contracts/mocks/libraries/pools/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/contracts/mocks/tests/MaliciousDeposit__factory.d.ts +53 -0
- package/dist/types/typechain-types/factories/contracts/mocks/tests/MaliciousWithdraw__factory.d.ts +53 -0
- package/dist/types/typechain-types/factories/contracts/mocks/tests/VeRAACFuzzHelper__factory.d.ts +80 -0
- package/dist/types/typechain-types/factories/contracts/mocks/tests/VotingPowerFuzzHelper.sol/IVMTimeControl__factory.d.ts +17 -0
- package/dist/types/typechain-types/factories/contracts/mocks/tests/VotingPowerFuzzHelper.sol/VotingPowerFuzzHelper__factory.d.ts +113 -0
- package/dist/types/typechain-types/factories/contracts/mocks/tests/VotingPowerFuzzHelper.sol/index.d.ts +2 -0
- package/dist/types/typechain-types/factories/contracts/mocks/tests/index.d.ts +4 -0
- package/dist/types/typechain-types/factories/contracts/zeno/AuctionFactory__factory.d.ts +250 -0
- package/dist/types/typechain-types/factories/contracts/zeno/Auction__factory.d.ts +320 -0
- package/dist/types/typechain-types/factories/contracts/zeno/ZENOFactory__factory.d.ts +223 -0
- package/dist/types/typechain-types/factories/contracts/zeno/ZENO__factory.d.ts +488 -0
- package/dist/types/typechain-types/factories/contracts/zeno/index.d.ts +4 -0
- package/dist/types/typechain-types/factories/erc721a/contracts/IERC721A__factory.d.ts +368 -0
- package/dist/types/typechain-types/factories/erc721a/contracts/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/erc721a/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/index.d.ts +4 -0
- package/dist/types/typechain-types/index.d.ts +311 -0
- package/dist/types/utils/artifacts.d.ts +1627 -0
- package/dist/types/utils/chain.d.ts +13 -0
- package/dist/types/utils/config.d.ts +0 -0
- package/dist/types/utils/contracts.d.ts +20 -0
- package/dist/types/wallet/assets/approveAsset.d.ts +5 -0
- package/dist/types/wallet/assets/burnAsset.d.ts +5 -0
- package/dist/types/wallet/assets/getAllowance.d.ts +5 -0
- package/dist/types/wallet/assets/getAsset.d.ts +4 -0
- package/dist/types/wallet/assets/getAssets.d.ts +4 -0
- package/dist/types/wallet/assets/getBalance.d.ts +5 -0
- package/dist/types/wallet/assets/mintAsset.d.ts +5 -0
- package/dist/types/wallet/assets/transferAsset.d.ts +5 -0
- package/dist/utils/artifacts.js +65 -0
- package/dist/utils/chain.js +92 -0
- package/{utils/config.ts → dist/utils/config.js} +0 -6
- package/dist/utils/contracts.js +81 -0
- package/dist/wallet/assets/approveAsset.js +35 -0
- package/dist/wallet/assets/burnAsset.js +46 -0
- package/dist/wallet/assets/getAllowance.js +26 -0
- package/dist/wallet/assets/getAsset.js +22 -0
- package/dist/wallet/assets/getAssets.js +26 -0
- package/dist/wallet/assets/getBalance.js +24 -0
- package/dist/wallet/assets/mintAsset.js +47 -0
- package/dist/wallet/assets/transferAsset.js +62 -0
- package/package.json +34 -25
- package/RPCLibrary.ts +0 -358
- package/assets/getAsset.ts +0 -26
- package/assets/getAssets.ts +0 -30
- package/assets/getSupply.ts +0 -23
- package/configs/chains/8453.json +0 -116
- package/configs/chains/chain.d.ts +0 -87
- package/configs/chains/index.ts +0 -13
- package/configs/chains/list.json +0 -3
- package/configs/createConfig.ts +0 -91
- package/configs/index.ts +0 -51
- package/contracts/crvUSDToken/getBalance.ts +0 -23
- package/contracts/crvUSDToken/getTotalSupply.ts +0 -36
- package/contracts/getContract.ts +0 -21
- package/contracts/getContractAddress.ts +0 -61
- package/contracts/housePrices/getLatestPrice.ts +0 -38
- package/contracts/housePrices/setOracle.ts +0 -40
- package/contracts/rcrvUSDToken/getBalance.ts +0 -23
- package/contracts/rcrvUSDToken/getTotalSupply.ts +0 -39
- package/contracts/zeno/createAuction.ts +0 -57
- package/contracts/zeno/createZeno.ts +0 -45
- package/contracts/zeno/getAuctions.ts +0 -38
- package/contracts/zeno/getZenos.ts +0 -38
- package/custom-types.d.ts +0 -20
- package/methods/approveToken.ts +0 -47
- package/methods/commons/checkAllowance.ts +0 -36
- package/methods/commons/estimateGasPrice.ts +0 -21
- package/methods/debug/mintToken.js +0 -83
- package/methods/getAssetBalance.ts +0 -47
- package/methods/getAssetsBalance.ts +0 -9
- package/minter/get.ts +0 -150
- package/minter/getApy.ts +0 -37
- package/minter/tick.ts +0 -40
- package/nfts/addNewBatch.ts +0 -37
- package/nfts/getCurrentBatchSize.ts +0 -26
- package/nfts/getDepositedNFTs.ts +0 -31
- package/nfts/getHousePrice.ts +0 -30
- package/nfts/getOwnedNFTs.ts +0 -46
- package/nfts/mint.ts +0 -43
- package/nfts/setBaseUri.ts +0 -33
- package/pools/lendingPool/borrowFromLendingPool.ts +0 -39
- package/pools/lendingPool/depositNFTToLendingPool.ts +0 -70
- package/pools/lendingPool/depositToLendingPool.ts +0 -52
- package/pools/lendingPool/getHousePrice.ts +0 -46
- package/pools/lendingPool/getLendingPoolInfo.ts +0 -153
- package/pools/lendingPool/getLendingPoolTotalLiquidity.ts +0 -32
- package/pools/lendingPool/repayToLendingPool.ts +0 -52
- package/pools/lendingPool/withdrawFromLendingPool.ts +0 -68
- package/pools/lendingPool/withdrawNFTFromLendingPool.ts +0 -39
- package/pools/liquidityPool/getLiquidityPoolInfo.ts +0 -90
- package/pools/stabilityPool/calculateRAACRewards.ts +0 -37
- package/pools/stabilityPool/depositToStabilityPool.ts +0 -47
- package/pools/stabilityPool/getStabilityPoolInfo.ts +0 -121
- package/pools/stabilityPool/getStabilityPoolTotalDeposits.ts +0 -27
- package/pools/stabilityPool/withdrawFromStabilityPool.ts +0 -47
- package/sync-contracts.sh +0 -63
- package/tests/test.ts +0 -40
- package/tsconfig.json +0 -113
- package/utils/artifacts.ts +0 -66
- package/utils/chain.ts +0 -94
- package/utils/contracts.ts +0 -94
- package/wallet/assets/approveAsset.ts +0 -44
- package/wallet/assets/burnAsset.ts +0 -55
- package/wallet/assets/getAllowance.ts +0 -38
- package/wallet/assets/getAsset.ts +0 -33
- package/wallet/assets/getAssets.ts +0 -35
- package/wallet/assets/getBalance.ts +0 -34
- package/wallet/assets/mintAsset.ts +0 -57
- package/wallet/assets/transferAsset.ts +0 -78
|
@@ -0,0 +1,199 @@
|
|
|
1
|
+
import { ContractFactory, ContractTransactionResponse } from "ethers";
|
|
2
|
+
import type { Signer, ContractDeployTransaction, ContractRunner } from "ethers";
|
|
3
|
+
import type { NonPayableOverrides } from "../../../../../common";
|
|
4
|
+
import type { MockLendingPool, MockLendingPoolInterface } from "../../../../../contracts/mocks/core/pools/MockLendingPool";
|
|
5
|
+
type MockLendingPoolConstructorParams = [signer?: Signer] | ConstructorParameters<typeof ContractFactory>;
|
|
6
|
+
export declare class MockLendingPool__factory extends ContractFactory {
|
|
7
|
+
constructor(...args: MockLendingPoolConstructorParams);
|
|
8
|
+
getDeployTransaction(overrides?: NonPayableOverrides & {
|
|
9
|
+
from?: string;
|
|
10
|
+
}): Promise<ContractDeployTransaction>;
|
|
11
|
+
deploy(overrides?: NonPayableOverrides & {
|
|
12
|
+
from?: string;
|
|
13
|
+
}): Promise<MockLendingPool & {
|
|
14
|
+
deploymentTransaction(): ContractTransactionResponse;
|
|
15
|
+
}>;
|
|
16
|
+
connect(runner: ContractRunner | null): MockLendingPool__factory;
|
|
17
|
+
static readonly bytecode = "0x608060405234801561001057600080fd5b50610b9d806100206000396000f3fe608060405234801561001057600080fd5b50600436106100a95760003560e01c8063883c6b2411610071578063883c6b24146101e7578063a36930c2146101ef578063aaa3aaf91461021f578063ba8b42a214610254578063cda6a45514610274578063fa11c1c914610287576100a9565b80630ab30d8a1461016657806340c65f721461018157806374aa2939146101ac578063768bab45146101c157806387564767146101d4575b60006100b53682610750565b6001600160e01b031981166000908152602081905260408120805492935090916100de90610780565b80601f016020809104026020016040519081016040528092919081815260200182805461010a90610780565b80156101575780601f1061012c57610100808354040283529160200191610157565b820191906000526020600020905b81548152906001019060200180831161013a57829003601f168201915b50505050509050805160208201f35b61016e6102b5565b6040519081526020015b60405180910390f35b600154610194906001600160a01b031681565b6040516001600160a01b039091168152602001610178565b6101bf6101ba3660046107ba565b6103a6565b005b6101bf6101cf3660046107ef565b6103f2565b6101bf6101e23660046107ba565b61045c565b61016e610476565b6101bf6101fd366004610819565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b61023261022d36600461083b565b610557565b6040805194151585526020850193909352918301526060820152608001610178565b610267610262366004610895565b6105f6565b60405161017891906108b0565b6101bf610282366004610914565b610690565b61029a61029536600461083b565b6106b3565b60408051938452602084019290925290820152606001610178565b63055986c560e11b600081815260208190527f0b4e3c95afa91955f177fc1c6eccbc450db3f6b45b0ef7bdf370f4bff27adfec80549192918391906102f990610780565b80601f016020809104026020016040519081016040528092919081815260200182805461032590610780565b80156103725780601f1061034757610100808354040283529160200191610372565b820191906000526020600020905b81548152906001019060200180831161035557829003601f168201915b50505050509050805160000361038b5760009250505090565b8080602001905181019061039f91906109d6565b9250505090565b604080516020810183905263220f1ac960e21b91015b60408051601f198184030181529181526001600160e01b031983166000908152602081905220906103ed9082610a35565b505050565b60015460405163768bab4560e01b81526001600160a01b038481166004830152602482018490529091169063768bab4590604401600060405180830381600087803b15801561044057600080fd5b505af1158015610454573d6000803e3d6000fd5b505050505050565b604080516020810183905263055986c560e11b91016103bc565b63220f1ac960e21b600081815260208190527f32d793f1465ede7a0f22d3ad5f00f42b4b4e5b71afd5b962607203aaa094ad3380549192918391906104ba90610780565b80601f01602080910402602001604051908101604052809291908181526020018280546104e690610780565b80156105335780601f1061050857610100808354040283529160200191610533565b820191906000526020600020905b81548152906001019060200180831161051657829003601f168201915b50505050509050805160000361038b576b033b2e3c9fd0803ce80000009250505090565b60015460405163b3f1c93d60e01b81526001600160a01b03868116600483015285811660248301526044820185905260648201849052600092839283928392169063b3f1c93d906084016080604051808303816000875af11580156105c0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105e49190610af5565b929b919a509850909650945050505050565b6000602081905290815260409020805461060f90610780565b80601f016020809104026020016040519081016040528092919081815260200182805461063b90610780565b80156106885780601f1061065d57610100808354040283529160200191610688565b820191906000526020600020905b81548152906001019060200180831161066b57829003601f168201915b505050505081565b6001600160e01b0319821660009081526020819052604090206103ed8282610a35565b600154604051636b81068560e11b81526001600160a01b03868116600483015285811660248301526044820185905260648201849052600092839283929091169063d7020d0a906084016060604051808303816000875af115801561071c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107409190610b39565b9250925092509450945094915050565b6001600160e01b031981358181169160048510156107785780818660040360031b1b83161692505b505092915050565b600181811c9082168061079457607f821691505b6020821081036107b457634e487b7160e01b600052602260045260246000fd5b50919050565b6000602082840312156107cc57600080fd5b5035919050565b80356001600160a01b03811681146107ea57600080fd5b919050565b6000806040838503121561080257600080fd5b61080b836107d3565b946020939093013593505050565b60006020828403121561082b57600080fd5b610834826107d3565b9392505050565b6000806000806080858703121561085157600080fd5b61085a856107d3565b9350610868602086016107d3565b93969395505050506040820135916060013590565b80356001600160e01b0319811681146107ea57600080fd5b6000602082840312156108a757600080fd5b6108348261087d565b600060208083528351808285015260005b818110156108dd578581018301518582016040015282016108c1565b506000604082860101526040601f19601f8301168501019250505092915050565b634e487b7160e01b600052604160045260246000fd5b6000806040838503121561092757600080fd5b6109308361087d565b9150602083013567ffffffffffffffff8082111561094d57600080fd5b818501915085601f83011261096157600080fd5b813581811115610973576109736108fe565b604051601f8201601f19908116603f0116810190838211818310171561099b5761099b6108fe565b816040528281528860208487010111156109b457600080fd5b8260208601602083013760006020848301015280955050505050509250929050565b6000602082840312156109e857600080fd5b5051919050565b601f8211156103ed57600081815260208120601f850160051c81016020861015610a165750805b601f850160051c820191505b8181101561045457828155600101610a22565b815167ffffffffffffffff811115610a4f57610a4f6108fe565b610a6381610a5d8454610780565b846109ef565b602080601f831160018114610a985760008415610a805750858301515b600019600386901b1c1916600185901b178555610454565b600085815260208120601f198616915b82811015610ac757888601518255948401946001909101908401610aa8565b5085821015610ae55787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60008060008060808587031215610b0b57600080fd5b84518015158114610b1b57600080fd5b60208601516040870151606090970151919890975090945092505050565b600080600060608486031215610b4e57600080fd5b835192506020840151915060408401519050925092509256fea264697066735822122089cb646eac671980d11b7482cfdee5e032918d027aa04437fb5564e8373342ef64736f6c63430008140033";
|
|
18
|
+
static readonly abi: readonly [{
|
|
19
|
+
readonly stateMutability: "nonpayable";
|
|
20
|
+
readonly type: "fallback";
|
|
21
|
+
}, {
|
|
22
|
+
readonly inputs: readonly [];
|
|
23
|
+
readonly name: "getNormalizedDebt";
|
|
24
|
+
readonly outputs: readonly [{
|
|
25
|
+
readonly internalType: "uint256";
|
|
26
|
+
readonly name: "";
|
|
27
|
+
readonly type: "uint256";
|
|
28
|
+
}];
|
|
29
|
+
readonly stateMutability: "view";
|
|
30
|
+
readonly type: "function";
|
|
31
|
+
}, {
|
|
32
|
+
readonly inputs: readonly [];
|
|
33
|
+
readonly name: "getNormalizedIncome";
|
|
34
|
+
readonly outputs: readonly [{
|
|
35
|
+
readonly internalType: "uint256";
|
|
36
|
+
readonly name: "";
|
|
37
|
+
readonly type: "uint256";
|
|
38
|
+
}];
|
|
39
|
+
readonly stateMutability: "view";
|
|
40
|
+
readonly type: "function";
|
|
41
|
+
}, {
|
|
42
|
+
readonly inputs: readonly [{
|
|
43
|
+
readonly internalType: "bytes4";
|
|
44
|
+
readonly name: "functionSig";
|
|
45
|
+
readonly type: "bytes4";
|
|
46
|
+
}, {
|
|
47
|
+
readonly internalType: "bytes";
|
|
48
|
+
readonly name: "returnData";
|
|
49
|
+
readonly type: "bytes";
|
|
50
|
+
}];
|
|
51
|
+
readonly name: "mock";
|
|
52
|
+
readonly outputs: readonly [];
|
|
53
|
+
readonly stateMutability: "nonpayable";
|
|
54
|
+
readonly type: "function";
|
|
55
|
+
}, {
|
|
56
|
+
readonly inputs: readonly [{
|
|
57
|
+
readonly internalType: "address";
|
|
58
|
+
readonly name: "from";
|
|
59
|
+
readonly type: "address";
|
|
60
|
+
}, {
|
|
61
|
+
readonly internalType: "address";
|
|
62
|
+
readonly name: "receiverOfUnderlying";
|
|
63
|
+
readonly type: "address";
|
|
64
|
+
}, {
|
|
65
|
+
readonly internalType: "uint256";
|
|
66
|
+
readonly name: "amount";
|
|
67
|
+
readonly type: "uint256";
|
|
68
|
+
}, {
|
|
69
|
+
readonly internalType: "uint256";
|
|
70
|
+
readonly name: "index";
|
|
71
|
+
readonly type: "uint256";
|
|
72
|
+
}];
|
|
73
|
+
readonly name: "mockBurn";
|
|
74
|
+
readonly outputs: readonly [{
|
|
75
|
+
readonly internalType: "uint256";
|
|
76
|
+
readonly name: "";
|
|
77
|
+
readonly type: "uint256";
|
|
78
|
+
}, {
|
|
79
|
+
readonly internalType: "uint256";
|
|
80
|
+
readonly name: "";
|
|
81
|
+
readonly type: "uint256";
|
|
82
|
+
}, {
|
|
83
|
+
readonly internalType: "uint256";
|
|
84
|
+
readonly name: "";
|
|
85
|
+
readonly type: "uint256";
|
|
86
|
+
}];
|
|
87
|
+
readonly stateMutability: "nonpayable";
|
|
88
|
+
readonly type: "function";
|
|
89
|
+
}, {
|
|
90
|
+
readonly inputs: readonly [{
|
|
91
|
+
readonly internalType: "bytes4";
|
|
92
|
+
readonly name: "";
|
|
93
|
+
readonly type: "bytes4";
|
|
94
|
+
}];
|
|
95
|
+
readonly name: "mockConfig";
|
|
96
|
+
readonly outputs: readonly [{
|
|
97
|
+
readonly internalType: "bytes";
|
|
98
|
+
readonly name: "";
|
|
99
|
+
readonly type: "bytes";
|
|
100
|
+
}];
|
|
101
|
+
readonly stateMutability: "view";
|
|
102
|
+
readonly type: "function";
|
|
103
|
+
}, {
|
|
104
|
+
readonly inputs: readonly [{
|
|
105
|
+
readonly internalType: "uint256";
|
|
106
|
+
readonly name: "returnValue";
|
|
107
|
+
readonly type: "uint256";
|
|
108
|
+
}];
|
|
109
|
+
readonly name: "mockGetNormalizedDebt";
|
|
110
|
+
readonly outputs: readonly [];
|
|
111
|
+
readonly stateMutability: "nonpayable";
|
|
112
|
+
readonly type: "function";
|
|
113
|
+
}, {
|
|
114
|
+
readonly inputs: readonly [{
|
|
115
|
+
readonly internalType: "uint256";
|
|
116
|
+
readonly name: "returnValue";
|
|
117
|
+
readonly type: "uint256";
|
|
118
|
+
}];
|
|
119
|
+
readonly name: "mockGetNormalizedIncome";
|
|
120
|
+
readonly outputs: readonly [];
|
|
121
|
+
readonly stateMutability: "nonpayable";
|
|
122
|
+
readonly type: "function";
|
|
123
|
+
}, {
|
|
124
|
+
readonly inputs: readonly [{
|
|
125
|
+
readonly internalType: "address";
|
|
126
|
+
readonly name: "caller";
|
|
127
|
+
readonly type: "address";
|
|
128
|
+
}, {
|
|
129
|
+
readonly internalType: "address";
|
|
130
|
+
readonly name: "onBehalfOf";
|
|
131
|
+
readonly type: "address";
|
|
132
|
+
}, {
|
|
133
|
+
readonly internalType: "uint256";
|
|
134
|
+
readonly name: "amount";
|
|
135
|
+
readonly type: "uint256";
|
|
136
|
+
}, {
|
|
137
|
+
readonly internalType: "uint256";
|
|
138
|
+
readonly name: "index";
|
|
139
|
+
readonly type: "uint256";
|
|
140
|
+
}];
|
|
141
|
+
readonly name: "mockMint";
|
|
142
|
+
readonly outputs: readonly [{
|
|
143
|
+
readonly internalType: "bool";
|
|
144
|
+
readonly name: "";
|
|
145
|
+
readonly type: "bool";
|
|
146
|
+
}, {
|
|
147
|
+
readonly internalType: "uint256";
|
|
148
|
+
readonly name: "";
|
|
149
|
+
readonly type: "uint256";
|
|
150
|
+
}, {
|
|
151
|
+
readonly internalType: "uint256";
|
|
152
|
+
readonly name: "";
|
|
153
|
+
readonly type: "uint256";
|
|
154
|
+
}, {
|
|
155
|
+
readonly internalType: "uint256";
|
|
156
|
+
readonly name: "";
|
|
157
|
+
readonly type: "uint256";
|
|
158
|
+
}];
|
|
159
|
+
readonly stateMutability: "nonpayable";
|
|
160
|
+
readonly type: "function";
|
|
161
|
+
}, {
|
|
162
|
+
readonly inputs: readonly [];
|
|
163
|
+
readonly name: "rToken";
|
|
164
|
+
readonly outputs: readonly [{
|
|
165
|
+
readonly internalType: "contract IRToken";
|
|
166
|
+
readonly name: "";
|
|
167
|
+
readonly type: "address";
|
|
168
|
+
}];
|
|
169
|
+
readonly stateMutability: "view";
|
|
170
|
+
readonly type: "function";
|
|
171
|
+
}, {
|
|
172
|
+
readonly inputs: readonly [{
|
|
173
|
+
readonly internalType: "address";
|
|
174
|
+
readonly name: "_rToken";
|
|
175
|
+
readonly type: "address";
|
|
176
|
+
}];
|
|
177
|
+
readonly name: "setRToken";
|
|
178
|
+
readonly outputs: readonly [];
|
|
179
|
+
readonly stateMutability: "nonpayable";
|
|
180
|
+
readonly type: "function";
|
|
181
|
+
}, {
|
|
182
|
+
readonly inputs: readonly [{
|
|
183
|
+
readonly internalType: "address";
|
|
184
|
+
readonly name: "recipient";
|
|
185
|
+
readonly type: "address";
|
|
186
|
+
}, {
|
|
187
|
+
readonly internalType: "uint256";
|
|
188
|
+
readonly name: "amount";
|
|
189
|
+
readonly type: "uint256";
|
|
190
|
+
}];
|
|
191
|
+
readonly name: "transferAccruedDust";
|
|
192
|
+
readonly outputs: readonly [];
|
|
193
|
+
readonly stateMutability: "nonpayable";
|
|
194
|
+
readonly type: "function";
|
|
195
|
+
}];
|
|
196
|
+
static createInterface(): MockLendingPoolInterface;
|
|
197
|
+
static connect(address: string, runner?: ContractRunner | null): MockLendingPool;
|
|
198
|
+
}
|
|
199
|
+
export {};
|
package/dist/types/typechain-types/factories/contracts/mocks/core/pools/MockPool__factory.d.ts
ADDED
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import { ContractFactory, ContractTransactionResponse } from "ethers";
|
|
2
|
+
import type { Signer, ContractDeployTransaction, ContractRunner } from "ethers";
|
|
3
|
+
import type { NonPayableOverrides } from "../../../../../common";
|
|
4
|
+
import type { MockPool, MockPoolInterface } from "../../../../../contracts/mocks/core/pools/MockPool";
|
|
5
|
+
type MockPoolConstructorParams = [signer?: Signer] | ConstructorParameters<typeof ContractFactory>;
|
|
6
|
+
export declare class MockPool__factory extends ContractFactory {
|
|
7
|
+
constructor(...args: MockPoolConstructorParams);
|
|
8
|
+
getDeployTransaction(overrides?: NonPayableOverrides & {
|
|
9
|
+
from?: string;
|
|
10
|
+
}): Promise<ContractDeployTransaction>;
|
|
11
|
+
deploy(overrides?: NonPayableOverrides & {
|
|
12
|
+
from?: string;
|
|
13
|
+
}): Promise<MockPool & {
|
|
14
|
+
deploymentTransaction(): ContractTransactionResponse;
|
|
15
|
+
}>;
|
|
16
|
+
connect(runner: ContractRunner | null): MockPool__factory;
|
|
17
|
+
static readonly bytecode = "0x608060405234801561001057600080fd5b506101b6806100206000396000f3fe608060405234801561001057600080fd5b50600436106100575760003560e01c806318160ddd1461005c57806327e235e31461007757806370a0823114610097578063e30443bc146100c0578063f7ea7a3d146100ec575b600080fd5b61006560005481565b60405190815260200160405180910390f35b61006561008536600461011b565b60016020526000908152604090205481565b6100656100a536600461011b565b6001600160a01b031660009081526001602052604090205490565b6100ea6100ce36600461013d565b6001600160a01b03909116600090815260016020526040902055565b005b6100ea6100fa366004610167565b600055565b80356001600160a01b038116811461011657600080fd5b919050565b60006020828403121561012d57600080fd5b610136826100ff565b9392505050565b6000806040838503121561015057600080fd5b610159836100ff565b946020939093013593505050565b60006020828403121561017957600080fd5b503591905056fea2646970667358221220047dbc20718df6912f7b367e4d778dd53cb6f19a87816df7f0fa38b93a521c6464736f6c63430008140033";
|
|
18
|
+
static readonly abi: readonly [{
|
|
19
|
+
readonly inputs: readonly [{
|
|
20
|
+
readonly internalType: "address";
|
|
21
|
+
readonly name: "user";
|
|
22
|
+
readonly type: "address";
|
|
23
|
+
}];
|
|
24
|
+
readonly name: "balanceOf";
|
|
25
|
+
readonly outputs: readonly [{
|
|
26
|
+
readonly internalType: "uint256";
|
|
27
|
+
readonly name: "";
|
|
28
|
+
readonly type: "uint256";
|
|
29
|
+
}];
|
|
30
|
+
readonly stateMutability: "view";
|
|
31
|
+
readonly type: "function";
|
|
32
|
+
}, {
|
|
33
|
+
readonly inputs: readonly [{
|
|
34
|
+
readonly internalType: "address";
|
|
35
|
+
readonly name: "";
|
|
36
|
+
readonly type: "address";
|
|
37
|
+
}];
|
|
38
|
+
readonly name: "balances";
|
|
39
|
+
readonly outputs: readonly [{
|
|
40
|
+
readonly internalType: "uint256";
|
|
41
|
+
readonly name: "";
|
|
42
|
+
readonly type: "uint256";
|
|
43
|
+
}];
|
|
44
|
+
readonly stateMutability: "view";
|
|
45
|
+
readonly type: "function";
|
|
46
|
+
}, {
|
|
47
|
+
readonly inputs: readonly [{
|
|
48
|
+
readonly internalType: "address";
|
|
49
|
+
readonly name: "user";
|
|
50
|
+
readonly type: "address";
|
|
51
|
+
}, {
|
|
52
|
+
readonly internalType: "uint256";
|
|
53
|
+
readonly name: "balance";
|
|
54
|
+
readonly type: "uint256";
|
|
55
|
+
}];
|
|
56
|
+
readonly name: "setBalance";
|
|
57
|
+
readonly outputs: readonly [];
|
|
58
|
+
readonly stateMutability: "nonpayable";
|
|
59
|
+
readonly type: "function";
|
|
60
|
+
}, {
|
|
61
|
+
readonly inputs: readonly [{
|
|
62
|
+
readonly internalType: "uint256";
|
|
63
|
+
readonly name: "_totalSupply";
|
|
64
|
+
readonly type: "uint256";
|
|
65
|
+
}];
|
|
66
|
+
readonly name: "setTotalSupply";
|
|
67
|
+
readonly outputs: readonly [];
|
|
68
|
+
readonly stateMutability: "nonpayable";
|
|
69
|
+
readonly type: "function";
|
|
70
|
+
}, {
|
|
71
|
+
readonly inputs: readonly [];
|
|
72
|
+
readonly name: "totalSupply";
|
|
73
|
+
readonly outputs: readonly [{
|
|
74
|
+
readonly internalType: "uint256";
|
|
75
|
+
readonly name: "";
|
|
76
|
+
readonly type: "uint256";
|
|
77
|
+
}];
|
|
78
|
+
readonly stateMutability: "view";
|
|
79
|
+
readonly type: "function";
|
|
80
|
+
}];
|
|
81
|
+
static createInterface(): MockPoolInterface;
|
|
82
|
+
static connect(address: string, runner?: ContractRunner | null): MockPool;
|
|
83
|
+
}
|
|
84
|
+
export {};
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
import { ContractFactory, ContractTransactionResponse } from "ethers";
|
|
2
|
+
import type { Signer, AddressLike, ContractDeployTransaction, ContractRunner } from "ethers";
|
|
3
|
+
import type { NonPayableOverrides } from "../../../../../common";
|
|
4
|
+
import type { MockStabilityPool, MockStabilityPoolInterface } from "../../../../../contracts/mocks/core/pools/MockStabilityPool";
|
|
5
|
+
type MockStabilityPoolConstructorParams = [signer?: Signer] | ConstructorParameters<typeof ContractFactory>;
|
|
6
|
+
export declare class MockStabilityPool__factory extends ContractFactory {
|
|
7
|
+
constructor(...args: MockStabilityPoolConstructorParams);
|
|
8
|
+
getDeployTransaction(_raacToken: AddressLike, overrides?: NonPayableOverrides & {
|
|
9
|
+
from?: string;
|
|
10
|
+
}): Promise<ContractDeployTransaction>;
|
|
11
|
+
deploy(_raacToken: AddressLike, overrides?: NonPayableOverrides & {
|
|
12
|
+
from?: string;
|
|
13
|
+
}): Promise<MockStabilityPool & {
|
|
14
|
+
deploymentTransaction(): ContractTransactionResponse;
|
|
15
|
+
}>;
|
|
16
|
+
connect(runner: ContractRunner | null): MockStabilityPool__factory;
|
|
17
|
+
static readonly bytecode = "0x608060405234801561001057600080fd5b506040516108cf3803806108cf83398101604081905261002f91610054565b600180546001600160a01b0319166001600160a01b0392909216919091179055610084565b60006020828403121561006657600080fd5b81516001600160a01b038116811461007d57600080fd5b9392505050565b61083c806100936000396000f3fe608060405234801561001057600080fd5b50600436106100625760003560e01c8063168a48221461011f5780633dd404401461013a578063a9059cbb1461014f578063ba8b42a214610172578063cda6a45514610192578063e40963f2146101a5575b600061006e368261049d565b6001600160e01b03198116600090815260208190526040812080549293509091610097906104cd565b80601f01602080910402602001604051908101604052809291908181526020018280546100c3906104cd565b80156101105780601f106100e557610100808354040283529160200191610110565b820191906000526020600020905b8154815290600101906020018083116100f357829003601f168201915b50505050509050805160208201f35b6101276101d0565b6040519081526020015b60405180910390f35b61014d610148366004610507565b6102c1565b005b61016261015d366004610520565b61031d565b6040519015158152602001610131565b610185610180366004610575565b6103e0565b6040516101319190610597565b61014d6101a03660046105fb565b61047a565b6001546101b8906001600160a01b031681565b6040516001600160a01b039091168152602001610131565b630b45241160e11b600081815260208190527f7f815eeb72517d88f5edf68b6e08b6b037368d18dd627ff3d61e557f02267da78054919291839190610214906104cd565b80601f0160208091040260200160405190810160405280929190818152602001828054610240906104cd565b801561028d5780601f106102625761010080835404028352916020019161028d565b820191906000526020600020905b81548152906001019060200180831161027057829003601f168201915b5050505050905080516000036102a65760009250505090565b808060200190518101906102ba91906106bd565b9250505090565b604080516020808201849052825180830382018152918301909252630b45241160e11b60008181529092527f7f815eeb72517d88f5edf68b6e08b6b037368d18dd627ff3d61e557f02267da7906103189082610724565b505050565b60015460405163a9059cbb60e01b81526001600160a01b03848116600483015260248201849052600092169063a9059cbb906044016020604051808303816000875af1158015610371573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061039591906107e4565b6103d75760405162461bcd60e51b815260206004820152600f60248201526e151c985b9cd9995c8819985a5b1959608a1b604482015260640160405180910390fd5b50600192915050565b600060208190529081526040902080546103f9906104cd565b80601f0160208091040260200160405190810160405280929190818152602001828054610425906104cd565b80156104725780601f1061044757610100808354040283529160200191610472565b820191906000526020600020905b81548152906001019060200180831161045557829003601f168201915b505050505081565b6001600160e01b0319821660009081526020819052604090206103188282610724565b6001600160e01b031981358181169160048510156104c55780818660040360031b1b83161692505b505092915050565b600181811c908216806104e157607f821691505b60208210810361050157634e487b7160e01b600052602260045260246000fd5b50919050565b60006020828403121561051957600080fd5b5035919050565b6000806040838503121561053357600080fd5b82356001600160a01b038116811461054a57600080fd5b946020939093013593505050565b80356001600160e01b03198116811461057057600080fd5b919050565b60006020828403121561058757600080fd5b61059082610558565b9392505050565b600060208083528351808285015260005b818110156105c4578581018301518582016040015282016105a8565b506000604082860101526040601f19601f8301168501019250505092915050565b634e487b7160e01b600052604160045260246000fd5b6000806040838503121561060e57600080fd5b61061783610558565b9150602083013567ffffffffffffffff8082111561063457600080fd5b818501915085601f83011261064857600080fd5b81358181111561065a5761065a6105e5565b604051601f8201601f19908116603f01168101908382118183101715610682576106826105e5565b8160405282815288602084870101111561069b57600080fd5b8260208601602083013760006020848301015280955050505050509250929050565b6000602082840312156106cf57600080fd5b5051919050565b601f82111561031857600081815260208120601f850160051c810160208610156106fd5750805b601f850160051c820191505b8181101561071c57828155600101610709565b505050505050565b815167ffffffffffffffff81111561073e5761073e6105e5565b6107528161074c84546104cd565b846106d6565b602080601f831160018114610787576000841561076f5750858301515b600019600386901b1c1916600185901b17855561071c565b600085815260208120601f198616915b828110156107b657888601518255948401946001909101908401610797565b50858210156107d45787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000602082840312156107f657600080fd5b8151801515811461059057600080fdfea2646970667358221220a810857d7cc794734a2c1dee17dcbea120e5de6c9ce7bbd68fb0bdf660595e0764736f6c63430008140033";
|
|
18
|
+
static readonly abi: readonly [{
|
|
19
|
+
readonly inputs: readonly [{
|
|
20
|
+
readonly internalType: "address";
|
|
21
|
+
readonly name: "_raacToken";
|
|
22
|
+
readonly type: "address";
|
|
23
|
+
}];
|
|
24
|
+
readonly stateMutability: "nonpayable";
|
|
25
|
+
readonly type: "constructor";
|
|
26
|
+
}, {
|
|
27
|
+
readonly stateMutability: "nonpayable";
|
|
28
|
+
readonly type: "fallback";
|
|
29
|
+
}, {
|
|
30
|
+
readonly inputs: readonly [];
|
|
31
|
+
readonly name: "getTotalDeposits";
|
|
32
|
+
readonly outputs: readonly [{
|
|
33
|
+
readonly internalType: "uint256";
|
|
34
|
+
readonly name: "";
|
|
35
|
+
readonly type: "uint256";
|
|
36
|
+
}];
|
|
37
|
+
readonly stateMutability: "view";
|
|
38
|
+
readonly type: "function";
|
|
39
|
+
}, {
|
|
40
|
+
readonly inputs: readonly [{
|
|
41
|
+
readonly internalType: "bytes4";
|
|
42
|
+
readonly name: "functionSig";
|
|
43
|
+
readonly type: "bytes4";
|
|
44
|
+
}, {
|
|
45
|
+
readonly internalType: "bytes";
|
|
46
|
+
readonly name: "returnData";
|
|
47
|
+
readonly type: "bytes";
|
|
48
|
+
}];
|
|
49
|
+
readonly name: "mock";
|
|
50
|
+
readonly outputs: readonly [];
|
|
51
|
+
readonly stateMutability: "nonpayable";
|
|
52
|
+
readonly type: "function";
|
|
53
|
+
}, {
|
|
54
|
+
readonly inputs: readonly [{
|
|
55
|
+
readonly internalType: "bytes4";
|
|
56
|
+
readonly name: "";
|
|
57
|
+
readonly type: "bytes4";
|
|
58
|
+
}];
|
|
59
|
+
readonly name: "mockConfig";
|
|
60
|
+
readonly outputs: readonly [{
|
|
61
|
+
readonly internalType: "bytes";
|
|
62
|
+
readonly name: "";
|
|
63
|
+
readonly type: "bytes";
|
|
64
|
+
}];
|
|
65
|
+
readonly stateMutability: "view";
|
|
66
|
+
readonly type: "function";
|
|
67
|
+
}, {
|
|
68
|
+
readonly inputs: readonly [{
|
|
69
|
+
readonly internalType: "uint256";
|
|
70
|
+
readonly name: "returnValue";
|
|
71
|
+
readonly type: "uint256";
|
|
72
|
+
}];
|
|
73
|
+
readonly name: "mockGetTotalDeposits";
|
|
74
|
+
readonly outputs: readonly [];
|
|
75
|
+
readonly stateMutability: "nonpayable";
|
|
76
|
+
readonly type: "function";
|
|
77
|
+
}, {
|
|
78
|
+
readonly inputs: readonly [];
|
|
79
|
+
readonly name: "raacToken";
|
|
80
|
+
readonly outputs: readonly [{
|
|
81
|
+
readonly internalType: "contract RAACToken";
|
|
82
|
+
readonly name: "";
|
|
83
|
+
readonly type: "address";
|
|
84
|
+
}];
|
|
85
|
+
readonly stateMutability: "view";
|
|
86
|
+
readonly type: "function";
|
|
87
|
+
}, {
|
|
88
|
+
readonly inputs: readonly [{
|
|
89
|
+
readonly internalType: "address";
|
|
90
|
+
readonly name: "recipient";
|
|
91
|
+
readonly type: "address";
|
|
92
|
+
}, {
|
|
93
|
+
readonly internalType: "uint256";
|
|
94
|
+
readonly name: "amount";
|
|
95
|
+
readonly type: "uint256";
|
|
96
|
+
}];
|
|
97
|
+
readonly name: "transfer";
|
|
98
|
+
readonly outputs: readonly [{
|
|
99
|
+
readonly internalType: "bool";
|
|
100
|
+
readonly name: "";
|
|
101
|
+
readonly type: "bool";
|
|
102
|
+
}];
|
|
103
|
+
readonly stateMutability: "nonpayable";
|
|
104
|
+
readonly type: "function";
|
|
105
|
+
}];
|
|
106
|
+
static createInterface(): MockStabilityPoolInterface;
|
|
107
|
+
static connect(address: string, runner?: ContractRunner | null): MockStabilityPool;
|
|
108
|
+
}
|
|
109
|
+
export {};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export { MockLendingPool__factory } from "./MockLendingPool__factory";
|
|
2
|
+
export { MockLendingPoolDebtToken__factory } from "./MockLendingPoolDebtToken__factory";
|
|
3
|
+
export { MockPool__factory } from "./MockPool__factory";
|
|
4
|
+
export { MockStabilityPool__factory } from "./MockStabilityPool__factory";
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { ContractFactory, ContractTransactionResponse } from "ethers";
|
|
2
|
+
import type { Signer, ContractDeployTransaction, ContractRunner } from "ethers";
|
|
3
|
+
import type { NonPayableOverrides } from "../../../../../common";
|
|
4
|
+
import type { MockContractWithConfig, MockContractWithConfigInterface } from "../../../../../contracts/mocks/core/primitives/MockContractWithConfig";
|
|
5
|
+
type MockContractWithConfigConstructorParams = [signer?: Signer] | ConstructorParameters<typeof ContractFactory>;
|
|
6
|
+
export declare class MockContractWithConfig__factory extends ContractFactory {
|
|
7
|
+
constructor(...args: MockContractWithConfigConstructorParams);
|
|
8
|
+
getDeployTransaction(overrides?: NonPayableOverrides & {
|
|
9
|
+
from?: string;
|
|
10
|
+
}): Promise<ContractDeployTransaction>;
|
|
11
|
+
deploy(overrides?: NonPayableOverrides & {
|
|
12
|
+
from?: string;
|
|
13
|
+
}): Promise<MockContractWithConfig & {
|
|
14
|
+
deploymentTransaction(): ContractTransactionResponse;
|
|
15
|
+
}>;
|
|
16
|
+
connect(runner: ContractRunner | null): MockContractWithConfig__factory;
|
|
17
|
+
static readonly bytecode = "0x608060405234801561001057600080fd5b50610506806100206000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c8063ba8b42a2146100f3578063cda6a4551461011c575b600061004236826101f3565b6001600160e01b0319811660009081526020819052604081208054929350909161006b90610223565b80601f016020809104026020016040519081016040528092919081815260200182805461009790610223565b80156100e45780601f106100b9576101008083540402835291602001916100e4565b820191906000526020600020905b8154815290600101906020018083116100c757829003601f168201915b50505050509050805160208201f35b61010661010136600461027a565b610131565b604051610113919061029c565b60405180910390f35b61012f61012a366004610300565b6101cb565b005b6000602081905290815260409020805461014a90610223565b80601f016020809104026020016040519081016040528092919081815260200182805461017690610223565b80156101c35780601f10610198576101008083540402835291602001916101c3565b820191906000526020600020905b8154815290600101906020018083116101a657829003601f168201915b505050505081565b6001600160e01b0319821660009081526020819052604090206101ee8282610410565b505050565b6001600160e01b0319813581811691600485101561021b5780818660040360031b1b83161692505b505092915050565b600181811c9082168061023757607f821691505b60208210810361025757634e487b7160e01b600052602260045260246000fd5b50919050565b80356001600160e01b03198116811461027557600080fd5b919050565b60006020828403121561028c57600080fd5b6102958261025d565b9392505050565b600060208083528351808285015260005b818110156102c9578581018301518582016040015282016102ad565b506000604082860101526040601f19601f8301168501019250505092915050565b634e487b7160e01b600052604160045260246000fd5b6000806040838503121561031357600080fd5b61031c8361025d565b9150602083013567ffffffffffffffff8082111561033957600080fd5b818501915085601f83011261034d57600080fd5b81358181111561035f5761035f6102ea565b604051601f8201601f19908116603f01168101908382118183101715610387576103876102ea565b816040528281528860208487010111156103a057600080fd5b8260208601602083013760006020848301015280955050505050509250929050565b601f8211156101ee57600081815260208120601f850160051c810160208610156103e95750805b601f850160051c820191505b81811015610408578281556001016103f5565b505050505050565b815167ffffffffffffffff81111561042a5761042a6102ea565b61043e816104388454610223565b846103c2565b602080601f831160018114610473576000841561045b5750858301515b600019600386901b1c1916600185901b178555610408565b600085815260208120601f198616915b828110156104a257888601518255948401946001909101908401610483565b50858210156104c05787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fea2646970667358221220716ff240fd0048435e0c166acc3d6eb0e4a5c6e21b727851d5e76d8e806196ff64736f6c63430008140033";
|
|
18
|
+
static readonly abi: readonly [{
|
|
19
|
+
readonly stateMutability: "nonpayable";
|
|
20
|
+
readonly type: "fallback";
|
|
21
|
+
}, {
|
|
22
|
+
readonly inputs: readonly [{
|
|
23
|
+
readonly internalType: "bytes4";
|
|
24
|
+
readonly name: "functionSig";
|
|
25
|
+
readonly type: "bytes4";
|
|
26
|
+
}, {
|
|
27
|
+
readonly internalType: "bytes";
|
|
28
|
+
readonly name: "returnData";
|
|
29
|
+
readonly type: "bytes";
|
|
30
|
+
}];
|
|
31
|
+
readonly name: "mock";
|
|
32
|
+
readonly outputs: readonly [];
|
|
33
|
+
readonly stateMutability: "nonpayable";
|
|
34
|
+
readonly type: "function";
|
|
35
|
+
}, {
|
|
36
|
+
readonly inputs: readonly [{
|
|
37
|
+
readonly internalType: "bytes4";
|
|
38
|
+
readonly name: "";
|
|
39
|
+
readonly type: "bytes4";
|
|
40
|
+
}];
|
|
41
|
+
readonly name: "mockConfig";
|
|
42
|
+
readonly outputs: readonly [{
|
|
43
|
+
readonly internalType: "bytes";
|
|
44
|
+
readonly name: "";
|
|
45
|
+
readonly type: "bytes";
|
|
46
|
+
}];
|
|
47
|
+
readonly stateMutability: "view";
|
|
48
|
+
readonly type: "function";
|
|
49
|
+
}];
|
|
50
|
+
static createInterface(): MockContractWithConfigInterface;
|
|
51
|
+
static connect(address: string, runner?: ContractRunner | null): MockContractWithConfig;
|
|
52
|
+
}
|
|
53
|
+
export {};
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { ContractFactory, ContractTransactionResponse } from "ethers";
|
|
2
|
+
import type { Signer, ContractDeployTransaction, ContractRunner } from "ethers";
|
|
3
|
+
import type { NonPayableOverrides } from "../../../../../common";
|
|
4
|
+
import type { MockContract, MockContractInterface } from "../../../../../contracts/mocks/core/primitives/MockContract";
|
|
5
|
+
type MockContractConstructorParams = [signer?: Signer] | ConstructorParameters<typeof ContractFactory>;
|
|
6
|
+
export declare class MockContract__factory extends ContractFactory {
|
|
7
|
+
constructor(...args: MockContractConstructorParams);
|
|
8
|
+
getDeployTransaction(overrides?: NonPayableOverrides & {
|
|
9
|
+
from?: string;
|
|
10
|
+
}): Promise<ContractDeployTransaction>;
|
|
11
|
+
deploy(overrides?: NonPayableOverrides & {
|
|
12
|
+
from?: string;
|
|
13
|
+
}): Promise<MockContract & {
|
|
14
|
+
deploymentTransaction(): ContractTransactionResponse;
|
|
15
|
+
}>;
|
|
16
|
+
connect(runner: ContractRunner | null): MockContract__factory;
|
|
17
|
+
static readonly bytecode = "0x608060405234801561001057600080fd5b5060b18061001f6000396000f3fe6080604052348015600f57600080fd5b506004361060325760003560e01c80633fa4f24514603757806355241077146051575b600080fd5b603f60005481565b60405190815260200160405180910390f35b6061605c3660046063565b600055565b005b600060208284031215607457600080fd5b503591905056fea26469706673582212201caaf4a7e1e15d4b3767b769f039a19fecf791bddc6864c56693028a9c35aed564736f6c63430008140033";
|
|
18
|
+
static readonly abi: readonly [{
|
|
19
|
+
readonly inputs: readonly [{
|
|
20
|
+
readonly internalType: "uint256";
|
|
21
|
+
readonly name: "newValue";
|
|
22
|
+
readonly type: "uint256";
|
|
23
|
+
}];
|
|
24
|
+
readonly name: "setValue";
|
|
25
|
+
readonly outputs: readonly [];
|
|
26
|
+
readonly stateMutability: "nonpayable";
|
|
27
|
+
readonly type: "function";
|
|
28
|
+
}, {
|
|
29
|
+
readonly inputs: readonly [];
|
|
30
|
+
readonly name: "value";
|
|
31
|
+
readonly outputs: readonly [{
|
|
32
|
+
readonly internalType: "uint256";
|
|
33
|
+
readonly name: "";
|
|
34
|
+
readonly type: "uint256";
|
|
35
|
+
}];
|
|
36
|
+
readonly stateMutability: "view";
|
|
37
|
+
readonly type: "function";
|
|
38
|
+
}];
|
|
39
|
+
static createInterface(): MockContractInterface;
|
|
40
|
+
static connect(address: string, runner?: ContractRunner | null): MockContract;
|
|
41
|
+
}
|
|
42
|
+
export {};
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { ContractFactory, ContractTransactionResponse } from "ethers";
|
|
2
|
+
import type { Signer, ContractDeployTransaction, ContractRunner } from "ethers";
|
|
3
|
+
import type { NonPayableOverrides } from "../../../../../common";
|
|
4
|
+
import type { RAACHousePricesMock, RAACHousePricesMockInterface } from "../../../../../contracts/mocks/core/primitives/RAACHousePricesMock";
|
|
5
|
+
type RAACHousePricesMockConstructorParams = [signer?: Signer] | ConstructorParameters<typeof ContractFactory>;
|
|
6
|
+
export declare class RAACHousePricesMock__factory extends ContractFactory {
|
|
7
|
+
constructor(...args: RAACHousePricesMockConstructorParams);
|
|
8
|
+
getDeployTransaction(overrides?: NonPayableOverrides & {
|
|
9
|
+
from?: string;
|
|
10
|
+
}): Promise<ContractDeployTransaction>;
|
|
11
|
+
deploy(overrides?: NonPayableOverrides & {
|
|
12
|
+
from?: string;
|
|
13
|
+
}): Promise<RAACHousePricesMock & {
|
|
14
|
+
deploymentTransaction(): ContractTransactionResponse;
|
|
15
|
+
}>;
|
|
16
|
+
connect(runner: ContractRunner | null): RAACHousePricesMock__factory;
|
|
17
|
+
static readonly bytecode = "0x608060405234801561001057600080fd5b5061011b806100206000396000f3fe6080604052348015600f57600080fd5b5060043610603c5760003560e01c806314fb95d8146041578063bc31c1c1146070578063eb685c4714608d575b600080fd5b605e604c36600460ac565b60009081526020819052604090205490565b60405190815260200160405180910390f35b605e607b36600460ac565b60006020819052908152604090205481565b60aa609836600460c4565b60009182526020829052604090912055565b005b60006020828403121560bd57600080fd5b5035919050565b6000806040838503121560d657600080fd5b5050803592602090910135915056fea2646970667358221220a6526456a0c6c9f0d83b7341127c09abaa14ed4e93e78c6cef05873d5b9f1d2464736f6c63430008140033";
|
|
18
|
+
static readonly abi: readonly [{
|
|
19
|
+
readonly inputs: readonly [{
|
|
20
|
+
readonly internalType: "uint256";
|
|
21
|
+
readonly name: "";
|
|
22
|
+
readonly type: "uint256";
|
|
23
|
+
}];
|
|
24
|
+
readonly name: "prices";
|
|
25
|
+
readonly outputs: readonly [{
|
|
26
|
+
readonly internalType: "uint256";
|
|
27
|
+
readonly name: "";
|
|
28
|
+
readonly type: "uint256";
|
|
29
|
+
}];
|
|
30
|
+
readonly stateMutability: "view";
|
|
31
|
+
readonly type: "function";
|
|
32
|
+
}, {
|
|
33
|
+
readonly inputs: readonly [{
|
|
34
|
+
readonly internalType: "uint256";
|
|
35
|
+
readonly name: "tokenId";
|
|
36
|
+
readonly type: "uint256";
|
|
37
|
+
}, {
|
|
38
|
+
readonly internalType: "uint256";
|
|
39
|
+
readonly name: "price";
|
|
40
|
+
readonly type: "uint256";
|
|
41
|
+
}];
|
|
42
|
+
readonly name: "setTokenPrice";
|
|
43
|
+
readonly outputs: readonly [];
|
|
44
|
+
readonly stateMutability: "nonpayable";
|
|
45
|
+
readonly type: "function";
|
|
46
|
+
}, {
|
|
47
|
+
readonly inputs: readonly [{
|
|
48
|
+
readonly internalType: "uint256";
|
|
49
|
+
readonly name: "tokenId";
|
|
50
|
+
readonly type: "uint256";
|
|
51
|
+
}];
|
|
52
|
+
readonly name: "tokenToHousePrice";
|
|
53
|
+
readonly outputs: readonly [{
|
|
54
|
+
readonly internalType: "uint256";
|
|
55
|
+
readonly name: "";
|
|
56
|
+
readonly type: "uint256";
|
|
57
|
+
}];
|
|
58
|
+
readonly stateMutability: "view";
|
|
59
|
+
readonly type: "function";
|
|
60
|
+
}];
|
|
61
|
+
static createInterface(): RAACHousePricesMockInterface;
|
|
62
|
+
static connect(address: string, runner?: ContractRunner | null): RAACHousePricesMock;
|
|
63
|
+
}
|
|
64
|
+
export {};
|