@raac/rpc 1.1.0-beta.7 → 1.1.0-beta.71
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 +53 -6
- package/dist/artifacts/core/collectors/FeeCollector.sol/FeeCollector.json +302 -305
- package/dist/artifacts/core/collectors/RAACTokenCollector.sol/RAACTokenCollector.json +485 -0
- package/dist/artifacts/core/collectors/RWAIndexTokenCollector.sol/RWAIndexTokenCollector.json +485 -0
- package/dist/artifacts/core/collectors/Treasury.sol/Treasury.json +556 -0
- package/dist/artifacts/core/minters/RAACMinter/RAACMinter.sol/RAACMinter.json +2 -93
- package/dist/artifacts/core/oracles/BaseVRFv2Consumer.sol/BaseVRFv2Consumer.json +169 -13
- package/dist/artifacts/core/oracles/RAACHousePriceOracle.sol/RAACHousePriceOracle.json +637 -0
- package/dist/artifacts/core/oracles/RAACPrimeRateOracle.sol/RAACPrimeRateOracle.json +190 -29
- package/dist/artifacts/core/pools/LendingPool/ERC20AssetAdapter.sol/ERC20AssetAdapter.json +47 -2
- package/dist/artifacts/core/pools/LendingPool/ERC721AssetAdapter.sol/ERC721AssetAdapter.json +55 -3
- package/dist/artifacts/core/pools/LendingPool/LendingPool.sol/LendingPool.json +227 -209
- package/dist/artifacts/core/pools/StabilityPool/StabilityPool.sol/StabilityPool.json +400 -124
- package/dist/artifacts/core/primitives/ComplianceRegistry.sol/ComplianceRegistry.json +397 -0
- package/dist/artifacts/core/primitives/RAACHousePrices.sol/RAACHousePrices.json +223 -7
- package/dist/artifacts/core/tokens/DEToken.sol/DEToken.json +138 -8
- package/dist/artifacts/core/tokens/RAACNFT.sol/RAACNFT.json +299 -28
- package/dist/artifacts/core/tokens/RAACToken.sol/RAACToken.json +2 -2
- package/dist/artifacts/core/tokens/RToken.sol/RToken.json +77 -21
- package/dist/artifacts/core/tokens/RWAIndexToken.sol/RWAIndexToken.json +614 -0
- package/dist/artifacts/core/tokens/veRAACToken.sol/veRAACToken.json +29 -2
- package/dist/artifacts/core/vaults/ERC20VaultAdapter.sol/ERC20VaultAdapter.json +44 -9
- package/dist/artifacts/core/vaults/ERC721VaultAdapter.sol/ERC721VaultAdapter.json +89 -9
- package/dist/artifacts/core/vaults/RWAVault.sol/RWAVault.json +405 -108
- package/dist/artifacts/mocks/core/oracles/MockVRFCoordinatorV2.sol/MockVRFCoordinatorV2.json +2 -2
- package/dist/artifacts/mocks/core/tokens/crvUSDToken.sol/crvUSDToken.json +2 -2
- package/dist/artifacts/zeno/Auction.sol/Auction.json +84 -2
- package/dist/artifacts/zeno/AuctionFactory.sol/AuctionFactory.json +44 -2
- package/dist/artifacts/zeno/Zeno.sol/Zeno.json +29 -2
- package/dist/artifacts/zeno/ZenoFactory.sol/ZenoFactory.json +2 -2
- package/dist/configs/chains/11155111.json +70 -20
- package/dist/configs/chains/17000.json +25 -0
- package/dist/configs/chains/18453.json +187 -0
- package/dist/configs/chains/8453.json +61 -18
- package/dist/configs/chains/index.js +2 -0
- package/dist/minter/get.js +1 -3
- package/dist/minter/getApy.js +2 -2
- package/dist/nfts/approveNFT.js +25 -0
- package/dist/nfts/getApprovalForAll.js +32 -0
- package/dist/nfts/getNFTApproval.js +33 -0
- package/dist/nfts/getOwnerOfNFT.js +39 -0
- package/dist/nfts/setApprovalForAll.js +34 -0
- package/dist/oracles/chainlink-networks-config.js +252 -0
- package/dist/oracles/encryptSecretURLs.js +25 -0
- package/dist/oracles/encryptSecrets.js +29 -0
- package/dist/oracles/houses/config.js +19 -0
- package/dist/oracles/houses/request.js +176 -0
- package/dist/oracles/houses/simulate.js +21 -0
- package/dist/oracles/prime-rate/config.js +16 -0
- package/dist/oracles/prime-rate/request.js +149 -0
- package/dist/oracles/prime-rate/simulate.js +25 -0
- package/dist/pools/lendingPool/_helpers.js +2 -3
- package/dist/pools/lendingPool/adapters/erc721/getERC721AdapterDeposits.js +4 -3
- package/dist/pools/lendingPool/adapters/erc721/getERC721AdapterInfo.js +4 -3
- package/dist/pools/lendingPool/borrowFromLendingPool.js +5 -3
- package/dist/pools/lendingPool/borrowFromLendingPoolWithInsurance.js +34 -3
- package/dist/pools/lendingPool/calculateInsuranceFee.js +2 -2
- package/dist/pools/lendingPool/closeLiquidation.js +2 -2
- package/dist/pools/lendingPool/depositAssetToLendingPool.js +2 -2
- package/dist/pools/lendingPool/depositToLendingPool.js +4 -2
- package/dist/pools/lendingPool/getAdapterAddress.js +8 -10
- package/dist/pools/lendingPool/getAdapters.js +1 -1
- package/dist/pools/lendingPool/getEligibleUserDeposits.js +1 -1
- package/dist/pools/lendingPool/getHealthFactor.js +2 -2
- package/dist/pools/lendingPool/getLendingPoolInfo.js +21 -15
- package/dist/pools/lendingPool/getLendingPoolTotalLiquidity.js +1 -1
- package/dist/pools/lendingPool/getParameters.js +3 -4
- package/dist/pools/lendingPool/getPositionDebt.js +2 -2
- package/dist/pools/lendingPool/getPositionScaledDebt.js +2 -2
- package/dist/pools/lendingPool/getPositionView.js +1 -1
- package/dist/pools/lendingPool/getPositionsScaledDebt.js +1 -1
- package/dist/pools/lendingPool/getRawUserDepositsInLendingPool.js +1 -1
- package/dist/pools/lendingPool/getUserCollateralValue.js +1 -1
- package/dist/pools/lendingPool/initializeLiquidation.js +2 -2
- package/dist/pools/lendingPool/openVaultPosition.js +2 -4
- package/dist/pools/lendingPool/repayToLendingPool.js +2 -2
- package/dist/pools/lendingPool/vaultOpened.js +22 -0
- package/dist/pools/lendingPool/withdrawAssetFromLendingPool.js +3 -4
- package/dist/pools/lendingPool/withdrawFromLendingPool.js +7 -4
- package/dist/pools/rwaVault/_helpers.js +2 -3
- package/dist/pools/rwaVault/depositToRWAVault.js +6 -5
- package/dist/pools/rwaVault/getNextRandomNFT.js +1 -1
- package/dist/pools/rwaVault/getRWAVaultInfo.js +3 -14
- package/dist/pools/rwaVault/previewDeposit.js +16 -0
- package/dist/pools/rwaVault/previewWithdraw.js +16 -0
- package/dist/pools/rwaVault/redeemNFTFromRWAVault.js +9 -5
- package/dist/pools/rwaVault/requestRandomSeed.js +1 -1
- package/dist/pools/stabilityPool/_helpers.js +11 -0
- package/dist/pools/stabilityPool/getStabilityPoolInfo.js +2 -39
- package/dist/pools/stabilityPool/getWithdrawRequestInfo.js +28 -0
- package/dist/pools/{lendingPool → stabilityPool}/requestWithdraw.js +2 -7
- package/dist/scripts/analyze_lending_positions.js +277 -0
- package/dist/scripts/analyze_transfers.js +247 -0
- package/dist/scripts/calculate_portfolio.js +167 -0
- package/dist/scripts/generateErrorMap.js +180 -0
- package/dist/scripts/index.js +182 -70
- package/dist/scripts/run_analysis.js +115 -0
- package/dist/scripts/test_lending_analysis.js +105 -0
- package/dist/scripts/users.js +304 -0
- package/dist/types/RPCLibrary.d.ts +37 -9
- package/dist/types/configs/chains/index.d.ts +5 -3
- package/dist/types/configs/index.d.ts +2 -1
- package/dist/types/nfts/approveNFT.d.ts +9 -0
- package/dist/types/nfts/getApprovalForAll.d.ts +14 -0
- package/dist/types/nfts/getNFTApproval.d.ts +14 -0
- package/dist/types/nfts/getOwnerOfNFT.d.ts +13 -0
- package/dist/types/nfts/setApprovalForAll.d.ts +14 -0
- package/dist/types/oracles/chainlink-networks-config.d.ts +222 -0
- package/dist/types/oracles/encryptSecretURLs.d.ts +5 -0
- package/dist/types/oracles/encryptSecrets.d.ts +4 -0
- package/dist/types/oracles/houses/config.d.ts +13 -0
- package/dist/types/oracles/houses/request.d.ts +5 -0
- package/dist/types/oracles/houses/simulate.d.ts +1 -0
- package/dist/types/oracles/prime-rate/config.d.ts +14 -0
- package/dist/types/oracles/prime-rate/request.d.ts +2 -0
- package/dist/types/oracles/prime-rate/simulate.d.ts +1 -0
- package/dist/types/pools/lendingPool/_helpers.d.ts +2 -2
- package/dist/types/pools/lendingPool/adapters/erc721/getERC721AdapterDeposits.d.ts +4 -2
- package/dist/types/pools/lendingPool/adapters/erc721/getERC721AdapterInfo.d.ts +4 -2
- package/dist/types/pools/lendingPool/borrowFromLendingPool.d.ts +2 -2
- package/dist/types/pools/lendingPool/borrowFromLendingPoolWithInsurance.d.ts +2 -2
- package/dist/types/pools/lendingPool/closeLiquidation.d.ts +2 -2
- package/dist/types/pools/lendingPool/depositAssetToLendingPool.d.ts +2 -2
- package/dist/types/pools/lendingPool/getHealthFactor.d.ts +2 -2
- package/dist/types/pools/lendingPool/getLendingPoolInfo.d.ts +1 -0
- package/dist/types/pools/lendingPool/getParameters.d.ts +1 -2
- package/dist/types/pools/lendingPool/getPositionDebt.d.ts +2 -2
- package/dist/types/pools/lendingPool/getPositionScaledDebt.d.ts +2 -2
- package/dist/types/pools/lendingPool/initializeLiquidation.d.ts +2 -2
- package/dist/types/pools/lendingPool/repayToLendingPool.d.ts +2 -2
- package/dist/types/pools/lendingPool/vaultOpened.d.ts +11 -0
- package/dist/types/pools/lendingPool/withdrawAssetFromLendingPool.d.ts +2 -3
- package/dist/types/pools/rwaVault/_helpers.d.ts +2 -2
- package/dist/types/pools/rwaVault/depositToRWAVault.d.ts +2 -2
- package/dist/types/pools/rwaVault/getRWAVaultInfo.d.ts +2 -6
- package/dist/types/pools/rwaVault/previewDeposit.d.ts +4 -0
- package/dist/types/pools/rwaVault/previewWithdraw.d.ts +4 -0
- package/dist/types/pools/rwaVault/redeemNFTFromRWAVault.d.ts +3 -2
- package/dist/types/pools/stabilityPool/_helpers.d.ts +4 -0
- package/dist/types/pools/stabilityPool/getStabilityPoolInfo.d.ts +0 -3
- package/dist/types/pools/stabilityPool/getWithdrawRequestInfo.d.ts +13 -0
- package/dist/types/scripts/analyze_lending_positions.d.ts +1 -0
- package/dist/types/scripts/analyze_transfers.d.ts +1 -0
- package/dist/types/scripts/calculate_portfolio.d.ts +1 -0
- package/dist/types/scripts/generateErrorMap.d.ts +1 -0
- package/dist/types/scripts/run_analysis.d.ts +1 -0
- package/dist/types/scripts/test_lending_analysis.d.ts +1 -0
- package/dist/types/scripts/users.d.ts +1 -0
- package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/vrf/index.d.ts +0 -3
- package/dist/types/typechain-types/@openzeppelin/contracts/interfaces/IERC4626.d.ts +318 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/interfaces/index.d.ts +0 -1
- package/dist/types/typechain-types/@openzeppelin/contracts/token/ERC20/extensions/ERC4626.d.ts +318 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/utils/index.d.ts +0 -1
- package/dist/types/typechain-types/@openzeppelin/contracts/utils/math/index.d.ts +1 -0
- package/dist/types/typechain-types/@openzeppelin/contracts-upgradeable/utils/ReentrancyGuardUpgradeable.d.ts +36 -0
- package/dist/types/typechain-types/@openzeppelin/contracts-upgradeable/utils/index.d.ts +1 -0
- package/dist/types/typechain-types/contracts/core/collectors/ERC20Collector.d.ts +264 -0
- package/dist/types/typechain-types/contracts/core/collectors/FeeCollector.d.ts +180 -178
- package/dist/types/typechain-types/contracts/core/collectors/NFTRoyaltyFeeCollector.sol/NFTRoyaltyFeeCollector.d.ts +17 -5
- package/dist/types/typechain-types/contracts/core/collectors/RAACTokenCollector.d.ts +264 -0
- package/dist/types/typechain-types/contracts/core/collectors/RWAIndexTokenCollector.d.ts +264 -0
- package/dist/types/typechain-types/contracts/core/collectors/Treasury.d.ts +53 -52
- package/dist/types/typechain-types/contracts/core/collectors/index.d.ts +3 -0
- package/dist/types/typechain-types/contracts/core/governance/gauges/BaseGauge.d.ts +119 -5
- package/dist/types/typechain-types/contracts/core/governance/gauges/GaugeRewardsDistributor.d.ts +19 -1
- package/dist/types/typechain-types/contracts/core/governance/gauges/RAACGauge.d.ts +119 -5
- package/dist/types/typechain-types/contracts/core/governance/gauges/RWAGauge.d.ts +119 -5
- package/dist/types/typechain-types/contracts/core/governance/proposals/Governance.d.ts +2 -6
- package/dist/types/typechain-types/contracts/core/governance/proposals/TimelockController.d.ts +33 -3
- package/dist/types/typechain-types/contracts/core/minters/RAACMinter/RAACMinter.d.ts +1 -41
- package/dist/types/typechain-types/contracts/core/minters/RAACReleaseOrchestrator/RAACReleaseOrchestrator.d.ts +36 -20
- package/dist/types/typechain-types/contracts/core/oracles/BaseChainlinkFunctionsOracle.d.ts +112 -27
- package/dist/types/typechain-types/contracts/core/oracles/BaseVRFv2Consumer.d.ts +116 -10
- package/dist/types/typechain-types/contracts/core/oracles/CrvUSDToUSDOracle.sol/CrvUSDToUSDOracle.d.ts +316 -0
- package/dist/types/typechain-types/contracts/core/oracles/CrvUSDToUSDOracle.sol/ICrvUSDToUSDOracle.d.ts +55 -0
- package/dist/types/typechain-types/contracts/core/oracles/CrvUSDToUSDOracle.sol/ICrvUsdCurveOracle.d.ts +25 -0
- package/dist/types/typechain-types/contracts/core/oracles/CrvUSDToUSDOracle.sol/index.d.ts +3 -0
- package/dist/types/typechain-types/contracts/core/oracles/RAACHousePriceOracle.d.ts +128 -27
- package/dist/types/typechain-types/contracts/core/oracles/RAACPrimeRateOracle.d.ts +112 -27
- package/dist/types/typechain-types/contracts/core/oracles/RWAIndexTokenOracle.sol/IPriceOracle.d.ts +25 -0
- package/dist/types/typechain-types/contracts/core/oracles/RWAIndexTokenOracle.sol/RWAIndexTokenOracle.d.ts +37 -0
- package/dist/types/typechain-types/contracts/core/oracles/RWAIndexTokenOracle.sol/index.d.ts +2 -0
- package/dist/types/typechain-types/contracts/core/oracles/crvUSDPriceOracle.sol/CrvUSDPriceOracle.d.ts +33 -0
- package/dist/types/typechain-types/contracts/core/oracles/crvUSDPriceOracle.sol/IPriceOracle.d.ts +25 -0
- package/dist/types/typechain-types/contracts/core/oracles/crvUSDPriceOracle.sol/index.d.ts +2 -0
- package/dist/types/typechain-types/contracts/core/oracles/index.d.ts +6 -0
- package/dist/types/typechain-types/contracts/core/pools/LendingPool/ERC20AssetAdapter.sol/ERC20AssetAdapter.d.ts +10 -1
- package/dist/types/typechain-types/contracts/core/pools/LendingPool/ERC721AssetAdapter.d.ts +281 -0
- package/dist/types/typechain-types/contracts/core/pools/LendingPool/ERC721AssetAdapter.sol/ERC721AssetAdapter.d.ts +10 -1
- package/dist/types/typechain-types/contracts/core/pools/LendingPool/LendingPool.d.ts +117 -138
- package/dist/types/typechain-types/contracts/core/pools/LendingPool/LendingPoolStorage.d.ts +86 -63
- package/dist/types/typechain-types/contracts/core/pools/LendingPool/LiquidationProxy.d.ts +86 -63
- package/dist/types/typechain-types/contracts/core/pools/LendingPool/VaultProxy.d.ts +97 -62
- package/dist/types/typechain-types/contracts/core/pools/LendingPool/index.d.ts +1 -2
- package/dist/types/typechain-types/contracts/core/pools/StabilityPool/LiquidationStrategyProxy.d.ts +62 -28
- package/dist/types/typechain-types/contracts/core/pools/StabilityPool/LiquidationSwap.d.ts +23 -7
- package/dist/types/typechain-types/contracts/core/pools/StabilityPool/StabilityPool.d.ts +273 -81
- package/dist/types/typechain-types/contracts/core/pools/StabilityPool/StabilityPoolStorage.d.ts +57 -25
- package/dist/types/typechain-types/contracts/core/primitives/ComplianceRegistry.sol/ComplianceRegistry.d.ts +231 -0
- package/dist/types/typechain-types/contracts/core/primitives/ComplianceRegistry.sol/SanctionsList.d.ts +25 -0
- package/dist/types/typechain-types/contracts/core/primitives/ComplianceRegistry.sol/index.d.ts +2 -0
- package/dist/types/typechain-types/contracts/core/primitives/RAACHousePrices.d.ts +129 -7
- package/dist/types/typechain-types/contracts/core/primitives/index.d.ts +2 -1
- package/dist/types/typechain-types/contracts/core/tokens/DEToken.d.ts +39 -9
- package/dist/types/typechain-types/contracts/core/tokens/DebtToken.d.ts +12 -111
- package/dist/types/typechain-types/contracts/core/tokens/RAACNFT.d.ts +191 -31
- package/dist/types/typechain-types/contracts/core/tokens/RToken.d.ts +15 -19
- package/dist/types/typechain-types/contracts/core/tokens/RWAIndexToken.d.ts +5 -1
- package/dist/types/typechain-types/contracts/core/vaults/ERC20VaultAdapter.d.ts +176 -0
- package/dist/types/typechain-types/contracts/core/vaults/ERC721VaultAdapter.d.ts +210 -0
- package/dist/types/typechain-types/contracts/core/vaults/ERC721VaultAdapter.sol/ERC721VaultAdapter.d.ts +17 -7
- package/dist/types/typechain-types/contracts/core/vaults/RAACNFTVaultAdapter.sol/RAACNFTVaultAdapter.d.ts +218 -0
- package/dist/types/typechain-types/contracts/core/vaults/RAACNFTVaultAdapter.sol/RAACNFTVaultAdapterNAVOracle.d.ts +47 -0
- package/dist/types/typechain-types/contracts/core/vaults/RAACNFTVaultAdapter.sol/index.d.ts +2 -0
- package/dist/types/typechain-types/contracts/core/vaults/RAACNFTVaultAdapterV2.d.ts +262 -0
- package/dist/types/typechain-types/contracts/core/vaults/RWAVault.d.ts +321 -65
- package/dist/types/typechain-types/contracts/core/vaults/index.d.ts +3 -4
- package/dist/types/typechain-types/contracts/interfaces/core/collectors/IDistributionTarget.d.ts +43 -0
- package/dist/types/typechain-types/contracts/interfaces/core/collectors/IFeeCollector.d.ts +136 -44
- package/dist/types/typechain-types/contracts/interfaces/core/collectors/ITreasury.d.ts +23 -42
- package/dist/types/typechain-types/contracts/interfaces/core/collectors/index.d.ts +1 -0
- package/dist/types/typechain-types/contracts/interfaces/core/governance/gauges/IBaseGauge.d.ts +101 -5
- package/dist/types/typechain-types/contracts/interfaces/core/governance/proposals/IGovernance.d.ts +2 -6
- package/dist/types/typechain-types/contracts/interfaces/core/governance/proposals/ITimelockController.d.ts +33 -3
- package/dist/types/typechain-types/contracts/interfaces/core/minters/RAACMinter/IRAACMinter.d.ts +1 -37
- package/dist/types/typechain-types/contracts/interfaces/core/minters/RAACReleaseOrchestrator/IReleaseOrchestrator.d.ts +21 -20
- package/dist/types/typechain-types/contracts/interfaces/core/oracles/IBaseVRFv2Consumer.d.ts +47 -1
- package/dist/types/typechain-types/contracts/interfaces/core/oracles/IERC20PriceOracle.d.ts +25 -0
- package/dist/types/typechain-types/contracts/interfaces/core/oracles/IERC721PriceOracle.d.ts +29 -0
- package/dist/types/typechain-types/contracts/interfaces/core/oracles/IRAACHousePriceOracle.d.ts +29 -0
- package/dist/types/typechain-types/contracts/interfaces/core/oracles/IRAACHousePrices.d.ts +8 -68
- package/dist/types/typechain-types/contracts/interfaces/core/oracles/IRAACHousePrices.sol/IRAACHousePriceSyncer.d.ts +71 -0
- package/dist/types/typechain-types/contracts/interfaces/core/oracles/IRAACHousePrices.sol/IRAACHousePrices.d.ts +49 -0
- package/dist/types/typechain-types/contracts/interfaces/core/oracles/IRAACHousePrices.sol/index.d.ts +2 -0
- package/dist/types/typechain-types/contracts/interfaces/core/oracles/IZKMEVerifyUpgradeable.d.ts +35 -0
- package/dist/types/typechain-types/contracts/interfaces/core/oracles/index.d.ts +6 -1
- package/dist/types/typechain-types/contracts/interfaces/core/pools/ILiquidityPool.d.ts +26 -12
- package/dist/types/typechain-types/contracts/interfaces/core/pools/LendingPool/IAssetAdapter.d.ts +10 -1
- package/dist/types/typechain-types/contracts/interfaces/core/pools/LendingPool/ILendingPool.d.ts +80 -56
- package/dist/types/typechain-types/contracts/interfaces/core/pools/LendingPool/ILendingPoolStorage.d.ts +52 -1
- package/dist/types/typechain-types/contracts/interfaces/core/pools/StabilityPool/IStabilityPool.d.ts +170 -43
- package/dist/types/typechain-types/contracts/interfaces/core/tokens/IDEToken.d.ts +31 -1
- package/dist/types/typechain-types/contracts/interfaces/core/tokens/IDebtToken.d.ts +7 -15
- package/dist/types/typechain-types/contracts/interfaces/core/tokens/IRAACNFT.d.ts +127 -29
- package/dist/types/typechain-types/contracts/interfaces/core/tokens/IRToken.d.ts +7 -19
- package/dist/types/typechain-types/contracts/interfaces/core/vaults/IBaseHybridVault.d.ts +315 -23
- package/dist/types/typechain-types/contracts/interfaces/core/vaults/IERC721VaultAdapter.d.ts +37 -0
- package/dist/types/typechain-types/contracts/interfaces/core/vaults/IVaultAssetAdapter.d.ts +1 -3
- package/dist/types/typechain-types/contracts/interfaces/core/vaults/index.d.ts +1 -0
- package/dist/types/typechain-types/contracts/interfaces/curve/ICurveCrvUSDVault.d.ts +33 -1
- package/dist/types/typechain-types/contracts/mocks/core/collectors/MockTreasury.d.ts +23 -58
- package/dist/types/typechain-types/contracts/mocks/core/curve/CurveCrvUSDVaultMock.d.ts +358 -0
- package/dist/types/typechain-types/contracts/mocks/core/curve/index.d.ts +1 -0
- package/dist/types/typechain-types/contracts/mocks/core/governance/proposals/TimelockPayableTestTarget.d.ts +37 -0
- package/dist/types/typechain-types/contracts/mocks/core/governance/proposals/index.d.ts +1 -0
- package/dist/types/typechain-types/contracts/mocks/core/oracles/MockChainlinkAggregator.d.ts +151 -0
- package/dist/types/typechain-types/contracts/mocks/core/oracles/MockCurveEMA.sol/ICrvUsdCurveOracle.d.ts +25 -0
- package/dist/types/typechain-types/contracts/mocks/core/oracles/MockCurveEMA.sol/MockCurveEMA.d.ts +59 -0
- package/dist/types/typechain-types/contracts/mocks/core/oracles/MockCurveEMA.sol/index.d.ts +2 -0
- package/dist/types/typechain-types/contracts/mocks/core/oracles/MockERC20PriceOracle.d.ts +33 -0
- package/dist/types/typechain-types/contracts/mocks/core/oracles/MockRAACNFTVaultAdapterNAVOracle.d.ts +169 -0
- package/dist/types/typechain-types/contracts/mocks/core/oracles/MockZKMEVerifyUpgradeable.d.ts +171 -0
- package/dist/types/typechain-types/contracts/mocks/core/oracles/TestRAACHousePriceOracle.d.ts +128 -27
- package/dist/types/typechain-types/contracts/mocks/core/oracles/TestRAACPrimeRateOracle.d.ts +112 -27
- package/dist/types/typechain-types/contracts/mocks/core/oracles/index.d.ts +6 -2
- package/dist/types/typechain-types/contracts/mocks/core/pools/CurveStyleCrvUSDiRAACPool.d.ts +593 -0
- package/dist/types/typechain-types/contracts/mocks/core/pools/MockLendingPool.d.ts +11 -3
- package/dist/types/typechain-types/contracts/mocks/core/pools/MockLendingPoolCollector.d.ts +10 -7
- package/dist/types/typechain-types/contracts/mocks/core/pools/MockLendingPoolDebtToken.d.ts +80 -56
- package/dist/types/typechain-types/contracts/mocks/core/pools/MockLiquidityPool.d.ts +26 -12
- package/dist/types/typechain-types/contracts/mocks/core/pools/index.d.ts +1 -0
- package/dist/types/typechain-types/contracts/mocks/core/primitives/MockChainAnalysis.sol/MockChainAnalysis.d.ts +39 -0
- package/dist/types/typechain-types/contracts/mocks/core/primitives/MockChainAnalysis.sol/SanctionsList.d.ts +25 -0
- package/dist/types/typechain-types/contracts/mocks/core/primitives/MockChainAnalysis.sol/index.d.ts +2 -0
- package/dist/types/typechain-types/contracts/mocks/core/primitives/MockDistributableContract.d.ts +9 -1
- package/dist/types/typechain-types/contracts/mocks/core/primitives/index.d.ts +2 -0
- package/dist/types/typechain-types/contracts/mocks/core/tokens/CrvUSDTokenLimited.d.ts +238 -0
- package/dist/types/typechain-types/contracts/mocks/core/tokens/index.d.ts +1 -0
- package/dist/types/typechain-types/contracts/mocks/libraries/pools/ReserveLibraryMock.d.ts +5 -1
- package/dist/types/typechain-types/contracts/mocks/libraries/pools/ReserveLibraryMockCalculation.d.ts +185 -0
- package/dist/types/typechain-types/contracts/mocks/libraries/pools/index.d.ts +1 -0
- package/dist/types/typechain-types/contracts/zeno/Auction.d.ts +33 -2
- package/dist/types/typechain-types/contracts/zeno/AuctionFactory.d.ts +34 -2
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/vrf/index.d.ts +0 -2
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/interfaces/IERC4626__factory.d.ts +472 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/interfaces/index.d.ts +0 -1
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/token/ERC20/extensions/ERC4626__factory.d.ts +632 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/token/ERC20/utils/SafeERC20__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/utils/Address__factory.d.ts +13 -1
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/utils/ShortStrings__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/utils/Strings__factory.d.ts +1 -9
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/utils/cryptography/ECDSA__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/utils/cryptography/MerkleProof__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/utils/index.d.ts +0 -1
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/utils/math/Math__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/utils/math/SafeCast__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/utils/math/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts-upgradeable/utils/ReentrancyGuardUpgradeable__factory.d.ts +29 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts-upgradeable/utils/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/contracts/core/collectors/ERC20Collector__factory.d.ts +393 -0
- package/dist/types/typechain-types/factories/contracts/core/collectors/FeeCollector__factory.d.ts +234 -238
- package/dist/types/typechain-types/factories/contracts/core/collectors/NFTRoyaltyFeeCollector.sol/NFTRoyaltyFeeCollector__factory.d.ts +49 -3
- package/dist/types/typechain-types/factories/contracts/core/collectors/RAACTokenCollector__factory.d.ts +389 -0
- package/dist/types/typechain-types/factories/contracts/core/collectors/RWAIndexTokenCollector__factory.d.ts +389 -0
- package/dist/types/typechain-types/factories/contracts/core/collectors/Treasury__factory.d.ts +100 -59
- package/dist/types/typechain-types/factories/contracts/core/collectors/index.d.ts +3 -0
- package/dist/types/typechain-types/factories/contracts/core/governance/gauges/BaseGauge__factory.d.ts +179 -1
- package/dist/types/typechain-types/factories/contracts/core/governance/gauges/GaugeController__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/core/governance/gauges/GaugeRewardsDistributor__factory.d.ts +49 -1
- package/dist/types/typechain-types/factories/contracts/core/governance/gauges/RAACGauge__factory.d.ts +180 -2
- package/dist/types/typechain-types/factories/contracts/core/governance/gauges/RWAGauge__factory.d.ts +180 -2
- package/dist/types/typechain-types/factories/contracts/core/governance/proposals/Governance__factory.d.ts +14 -2
- package/dist/types/typechain-types/factories/contracts/core/governance/proposals/TimelockController__factory.d.ts +25 -1
- package/dist/types/typechain-types/factories/contracts/core/lockers/LLamaTemple__factory.d.ts +25 -1
- package/dist/types/typechain-types/factories/contracts/core/minters/RAACMinter/RAACMinter__factory.d.ts +1 -71
- package/dist/types/typechain-types/factories/contracts/core/minters/RAACReleaseOrchestrator/RAACReleaseOrchestrator__factory.d.ts +43 -10
- package/dist/types/typechain-types/factories/contracts/core/oracles/BaseChainlinkFunctionsOracle__factory.d.ts +128 -23
- package/dist/types/typechain-types/factories/contracts/core/oracles/BaseVRFv2Consumer__factory.d.ts +135 -14
- package/dist/types/typechain-types/factories/contracts/core/oracles/CrvUSDToUSDOracle.sol/CrvUSDToUSDOracle__factory.d.ts +409 -0
- package/dist/types/typechain-types/factories/contracts/core/oracles/CrvUSDToUSDOracle.sol/ICrvUSDToUSDOracle__factory.d.ts +45 -0
- package/dist/types/typechain-types/factories/contracts/core/oracles/CrvUSDToUSDOracle.sol/ICrvUsdCurveOracle__factory.d.ts +21 -0
- package/dist/types/typechain-types/factories/contracts/core/oracles/CrvUSDToUSDOracle.sol/index.d.ts +3 -0
- package/dist/types/typechain-types/factories/contracts/core/oracles/RAACHousePriceOracle__factory.d.ts +203 -28
- package/dist/types/typechain-types/factories/contracts/core/oracles/RAACPrimeRateOracle__factory.d.ts +153 -28
- package/dist/types/typechain-types/factories/contracts/core/oracles/RWAIndexTokenOracle.sol/IPriceOracle__factory.d.ts +17 -0
- package/dist/types/typechain-types/factories/contracts/core/oracles/RWAIndexTokenOracle.sol/RWAIndexTokenOracle__factory.d.ts +74 -0
- package/dist/types/typechain-types/factories/contracts/core/oracles/RWAIndexTokenOracle.sol/index.d.ts +2 -0
- package/dist/types/typechain-types/factories/contracts/core/oracles/crvUSDPriceOracle.sol/CrvUSDPriceOracle__factory.d.ts +52 -0
- package/dist/types/typechain-types/factories/contracts/core/oracles/crvUSDPriceOracle.sol/IPriceOracle__factory.d.ts +17 -0
- package/dist/types/typechain-types/factories/contracts/core/oracles/crvUSDPriceOracle.sol/index.d.ts +2 -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/ERC20AssetAdapter.sol/ERC20AssetAdapter__factory.d.ts +35 -1
- package/dist/types/typechain-types/factories/contracts/core/pools/LendingPool/ERC721AssetAdapter.sol/ERC721AssetAdapter__factory.d.ts +15 -1
- package/dist/types/typechain-types/factories/contracts/core/pools/LendingPool/ERC721AssetAdapter__factory.d.ts +433 -0
- package/dist/types/typechain-types/factories/contracts/core/pools/LendingPool/LendingPoolStorage__factory.d.ts +98 -53
- package/dist/types/typechain-types/factories/contracts/core/pools/LendingPool/LendingPool__factory.d.ts +178 -161
- package/dist/types/typechain-types/factories/contracts/core/pools/LendingPool/LiquidationProxy__factory.d.ts +118 -53
- package/dist/types/typechain-types/factories/contracts/core/pools/LendingPool/VaultProxy__factory.d.ts +132 -51
- package/dist/types/typechain-types/factories/contracts/core/pools/LendingPool/index.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/core/pools/StabilityPool/LiquidationStrategyProxy__factory.d.ts +60 -42
- package/dist/types/typechain-types/factories/contracts/core/pools/StabilityPool/LiquidationSwap__factory.d.ts +72 -10
- package/dist/types/typechain-types/factories/contracts/core/pools/StabilityPool/StabilityPoolStorage__factory.d.ts +56 -42
- package/dist/types/typechain-types/factories/contracts/core/pools/StabilityPool/StabilityPool__factory.d.ts +324 -107
- package/dist/types/typechain-types/factories/contracts/core/primitives/ComplianceRegistry.sol/ComplianceRegistry__factory.d.ts +320 -0
- package/dist/types/typechain-types/factories/contracts/core/primitives/ComplianceRegistry.sol/SanctionsList__factory.d.ts +21 -0
- package/dist/types/typechain-types/factories/contracts/core/primitives/ComplianceRegistry.sol/index.d.ts +2 -0
- package/dist/types/typechain-types/factories/contracts/core/primitives/RAACHousePrices__factory.d.ts +174 -8
- package/dist/types/typechain-types/factories/contracts/core/primitives/index.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/core/tokens/DEToken__factory.d.ts +107 -9
- package/dist/types/typechain-types/factories/contracts/core/tokens/DebtToken__factory.d.ts +15 -168
- package/dist/types/typechain-types/factories/contracts/core/tokens/LPToken__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/core/tokens/RAACNFT__factory.d.ts +233 -24
- package/dist/types/typechain-types/factories/contracts/core/tokens/RAACToken__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/core/tokens/RToken__factory.d.ts +60 -18
- package/dist/types/typechain-types/factories/contracts/core/tokens/RWAIndexToken__factory.d.ts +22 -4
- package/dist/types/typechain-types/factories/contracts/core/tokens/VeRAACToken__factory.d.ts +21 -1
- package/dist/types/typechain-types/factories/contracts/core/vaults/ERC20VaultAdapter__factory.d.ts +311 -0
- package/dist/types/typechain-types/factories/contracts/core/vaults/ERC721VaultAdapter.sol/ERC721VaultAdapter__factory.d.ts +26 -6
- package/dist/types/typechain-types/factories/contracts/core/vaults/ERC721VaultAdapter__factory.d.ts +347 -0
- package/dist/types/typechain-types/factories/contracts/core/vaults/RAACNFTVaultAdapter.sol/RAACNFTVaultAdapterNAVOracle__factory.d.ts +25 -0
- package/dist/types/typechain-types/factories/contracts/core/vaults/RAACNFTVaultAdapter.sol/RAACNFTVaultAdapter__factory.d.ts +350 -0
- package/dist/types/typechain-types/factories/contracts/core/vaults/RAACNFTVaultAdapter.sol/index.d.ts +2 -0
- package/dist/types/typechain-types/factories/contracts/core/vaults/RAACNFTVaultAdapterV2__factory.d.ts +417 -0
- package/dist/types/typechain-types/factories/contracts/core/vaults/RWAVault__factory.d.ts +318 -86
- package/dist/types/typechain-types/factories/contracts/core/vaults/index.d.ts +3 -2
- package/dist/types/typechain-types/factories/contracts/interfaces/IComplianceRegistry__factory.d.ts +4 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/collectors/IDistributionTarget__factory.d.ts +39 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/collectors/IFeeCollector__factory.d.ts +131 -95
- package/dist/types/typechain-types/factories/contracts/interfaces/core/collectors/ITreasury__factory.d.ts +20 -49
- package/dist/types/typechain-types/factories/contracts/interfaces/core/collectors/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/governance/gauges/IBaseGauge__factory.d.ts +133 -1
- package/dist/types/typechain-types/factories/contracts/interfaces/core/governance/proposals/IGovernance__factory.d.ts +13 -1
- package/dist/types/typechain-types/factories/contracts/interfaces/core/governance/proposals/ITimelockController__factory.d.ts +24 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/minters/RAACMinter/IRAACMinter__factory.d.ts +0 -60
- package/dist/types/typechain-types/factories/contracts/interfaces/core/minters/RAACReleaseOrchestrator/IReleaseOrchestrator__factory.d.ts +19 -16
- package/dist/types/typechain-types/factories/contracts/interfaces/core/oracles/IBaseVRFv2Consumer__factory.d.ts +52 -1
- package/dist/types/typechain-types/factories/contracts/interfaces/core/oracles/IERC20PriceOracle__factory.d.ts +17 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/oracles/IERC721PriceOracle__factory.d.ts +25 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/oracles/IRAACHousePriceOracle__factory.d.ts +21 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/oracles/IRAACHousePrices.sol/IRAACHousePriceSyncer__factory.d.ts +59 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/oracles/IRAACHousePrices.sol/IRAACHousePrices__factory.d.ts +67 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/oracles/IRAACHousePrices.sol/index.d.ts +2 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/oracles/IRAACHousePrices__factory.d.ts +1 -89
- package/dist/types/typechain-types/factories/contracts/interfaces/core/oracles/IZKMEVerifyUpgradeable__factory.d.ts +25 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/oracles/index.d.ts +5 -1
- package/dist/types/typechain-types/factories/contracts/interfaces/core/pools/ILiquidityPool__factory.d.ts +26 -10
- package/dist/types/typechain-types/factories/contracts/interfaces/core/pools/LendingPool/IAssetAdapter__factory.d.ts +14 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/pools/LendingPool/ILendingPoolStorage__factory.d.ts +53 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/pools/LendingPool/ILendingPool__factory.d.ts +109 -78
- package/dist/types/typechain-types/factories/contracts/interfaces/core/pools/StabilityPool/ILiquidationSwap__factory.d.ts +8 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/pools/StabilityPool/IStabilityPool__factory.d.ts +201 -44
- package/dist/types/typechain-types/factories/contracts/interfaces/core/tokens/IDEToken__factory.d.ts +70 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/tokens/IDebtToken__factory.d.ts +10 -16
- package/dist/types/typechain-types/factories/contracts/interfaces/core/tokens/IRAACNFT__factory.d.ts +122 -22
- package/dist/types/typechain-types/factories/contracts/interfaces/core/tokens/IRToken__factory.d.ts +12 -18
- package/dist/types/typechain-types/factories/contracts/interfaces/core/vaults/IBaseHybridVault__factory.d.ts +301 -19
- package/dist/types/typechain-types/factories/contracts/interfaces/core/vaults/IERC721VaultAdapter__factory.d.ts +41 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/vaults/IVaultAssetAdapter__factory.d.ts +0 -4
- package/dist/types/typechain-types/factories/contracts/interfaces/core/vaults/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/curve/ICurveCrvUSDVault__factory.d.ts +64 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/zeno/IAuction__factory.d.ts +4 -0
- package/dist/types/typechain-types/factories/contracts/libraries/governance/BoostCalculator__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/libraries/governance/LockManager__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/libraries/governance/PowerCheckpoint__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/libraries/math/TimeWeightedAverage__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/libraries/pools/ReserveLibrary__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/libraries/utils/StringUtils__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/collectors/MockTreasury__factory.d.ts +21 -68
- package/dist/types/typechain-types/factories/contracts/mocks/core/collectors/MockWETH__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/curve/CurveCrvUSDVaultMock__factory.d.ts +671 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/curve/CurveLiquidityGaugeV5Mock.sol/CurveLiquidityGaugeV5Mock__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/curve/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/governance/gauges/MockGaugeController__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/governance/proposals/TimelockPayableTestTarget__factory.d.ts +65 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/governance/proposals/TimelockTestTarget__factory.d.ts +1 -1
- 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/lockers/LLamaLocker.sol/LlamaLocker__factory.d.ts +25 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/oracles/MockChainlinkAggregator__factory.d.ts +168 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/oracles/MockCurveEMA.sol/ICrvUsdCurveOracle__factory.d.ts +21 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/oracles/MockCurveEMA.sol/MockCurveEMA__factory.d.ts +98 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/oracles/MockCurveEMA.sol/index.d.ts +2 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/oracles/MockERC20PriceOracle__factory.d.ts +42 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/oracles/MockFunctionsRouter.sol/MockFunctionsRouter__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/oracles/MockOracle__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/oracles/MockRAACNFTVaultAdapterNAVOracle__factory.d.ts +242 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/oracles/MockVRFCoordinatorV2__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/oracles/MockZKMEVerifyUpgradeable__factory.d.ts +184 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/oracles/TestRAACHousePriceOracle__factory.d.ts +203 -28
- package/dist/types/typechain-types/factories/contracts/mocks/core/oracles/TestRAACPrimeRateOracle__factory.d.ts +153 -28
- package/dist/types/typechain-types/factories/contracts/mocks/core/oracles/index.d.ts +5 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/pools/CurveStyleCrvUSDiRAACPool__factory.d.ts +958 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/pools/MockLendingPoolCollector__factory.d.ts +29 -11
- package/dist/types/typechain-types/factories/contracts/mocks/core/pools/MockLendingPoolDebtToken__factory.d.ts +110 -69
- package/dist/types/typechain-types/factories/contracts/mocks/core/pools/MockLendingPool__factory.d.ts +15 -5
- package/dist/types/typechain-types/factories/contracts/mocks/core/pools/MockLiquidityPool__factory.d.ts +47 -11
- package/dist/types/typechain-types/factories/contracts/mocks/core/pools/MockPool__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/pools/MockStabilityPool__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/pools/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/primitives/MockChainAnalysis.sol/MockChainAnalysis__factory.d.ts +50 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/primitives/MockChainAnalysis.sol/SanctionsList__factory.d.ts +21 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/primitives/MockChainAnalysis.sol/index.d.ts +2 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/primitives/MockContractWithConfig__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/primitives/MockContract__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/primitives/MockDistributableContract__factory.d.ts +35 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/primitives/RAACHousePricesMock__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/primitives/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/tokens/CrvUSDTokenLimited__factory.d.ts +431 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/tokens/CrvUSDToken__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/tokens/ERC20Mock__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/tokens/ERC721Mock__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/tokens/MockCollectableUnderlying__factory.d.ts +21 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/tokens/MockFeeCollectorToken__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/tokens/MockToken__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/tokens/MockUSDC__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/tokens/RAACMockERC20__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/tokens/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/vaults/MockVault__factory.d.ts +21 -1
- package/dist/types/typechain-types/factories/contracts/mocks/libraries/MockStringUtils__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/libraries/governance/BoostCalculatorMock__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/libraries/governance/LockManagerMock__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/libraries/governance/PowerCheckpointMock__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/libraries/math/TimeWeightedAverageMock__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/libraries/math/WadRayMathMock__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/libraries/pools/ReserveLibraryMockCalculation__factory.d.ts +224 -0
- package/dist/types/typechain-types/factories/contracts/mocks/libraries/pools/ReserveLibraryMock__factory.d.ts +19 -5
- 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 +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/tests/MaliciousWithdraw__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/tests/VeRAACFuzzHelper__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/zeno/AuctionFactory__factory.d.ts +34 -1
- package/dist/types/typechain-types/factories/contracts/zeno/Auction__factory.d.ts +64 -1
- package/dist/types/typechain-types/factories/contracts/zeno/ZENOFactory__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/zeno/ZENO__factory.d.ts +21 -1
- package/dist/types/typechain-types/index.d.ts +72 -22
- package/dist/types/utils/artifacts.d.ts +678 -93
- package/dist/types/utils/contracts.d.ts +4 -2
- package/dist/types/utils/errorDecoder.d.ts +37 -0
- package/dist/types/wallet/assets/approveNFT.d.ts +0 -0
- package/dist/types/wallet/assets/getAllowance.d.ts +1 -1
- package/dist/types/wallet/assets/getBalance.d.ts +5 -1
- package/dist/utils/artifacts.js +14 -1
- package/dist/utils/errorDecoder.js +137 -0
- package/dist/wallet/assets/approveNFT.js +0 -0
- package/dist/wallet/assets/getAllowance.js +3 -3
- package/dist/wallet/assets/getBalance.js +20 -6
- package/package.json +8 -4
- package/dist/pools/lendingPool/getWithdrawRequestInfo.js +0 -25
- package/dist/types/pools/lendingPool/getWithdrawRequestInfo.d.ts +0 -8
- /package/dist/types/pools/{lendingPool → stabilityPool}/requestWithdraw.d.ts +0 -0
package/dist/types/typechain-types/factories/contracts/interfaces/IComplianceRegistry__factory.d.ts
CHANGED
|
@@ -9,6 +9,10 @@ export declare class IComplianceRegistry__factory {
|
|
|
9
9
|
readonly inputs: readonly [];
|
|
10
10
|
readonly name: "BlacklistedAddress";
|
|
11
11
|
readonly type: "error";
|
|
12
|
+
}, {
|
|
13
|
+
readonly inputs: readonly [];
|
|
14
|
+
readonly name: "InvalidAddress";
|
|
15
|
+
readonly type: "error";
|
|
12
16
|
}, {
|
|
13
17
|
readonly inputs: readonly [];
|
|
14
18
|
readonly name: "NotBlacklisted";
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { type ContractRunner } from "ethers";
|
|
2
|
+
import type { IDistributionTarget, IDistributionTargetInterface } from "../../../../../contracts/interfaces/core/collectors/IDistributionTarget";
|
|
3
|
+
export declare class IDistributionTarget__factory {
|
|
4
|
+
static readonly abi: readonly [{
|
|
5
|
+
readonly inputs: readonly [{
|
|
6
|
+
readonly internalType: "address";
|
|
7
|
+
readonly name: "token";
|
|
8
|
+
readonly type: "address";
|
|
9
|
+
}, {
|
|
10
|
+
readonly internalType: "uint256";
|
|
11
|
+
readonly name: "amount";
|
|
12
|
+
readonly type: "uint256";
|
|
13
|
+
}];
|
|
14
|
+
readonly name: "distributeRewards";
|
|
15
|
+
readonly outputs: readonly [{
|
|
16
|
+
readonly internalType: "bool";
|
|
17
|
+
readonly name: "";
|
|
18
|
+
readonly type: "bool";
|
|
19
|
+
}];
|
|
20
|
+
readonly stateMutability: "nonpayable";
|
|
21
|
+
readonly type: "function";
|
|
22
|
+
}, {
|
|
23
|
+
readonly inputs: readonly [{
|
|
24
|
+
readonly internalType: "bytes4";
|
|
25
|
+
readonly name: "interfaceId";
|
|
26
|
+
readonly type: "bytes4";
|
|
27
|
+
}];
|
|
28
|
+
readonly name: "supportsInterface";
|
|
29
|
+
readonly outputs: readonly [{
|
|
30
|
+
readonly internalType: "bool";
|
|
31
|
+
readonly name: "";
|
|
32
|
+
readonly type: "bool";
|
|
33
|
+
}];
|
|
34
|
+
readonly stateMutability: "view";
|
|
35
|
+
readonly type: "function";
|
|
36
|
+
}];
|
|
37
|
+
static createInterface(): IDistributionTargetInterface;
|
|
38
|
+
static connect(address: string, runner?: ContractRunner | null): IDistributionTarget;
|
|
39
|
+
}
|
|
@@ -61,6 +61,30 @@ export declare class IFeeCollector__factory {
|
|
|
61
61
|
readonly inputs: readonly [];
|
|
62
62
|
readonly name: "InvalidFeeType";
|
|
63
63
|
readonly type: "error";
|
|
64
|
+
}, {
|
|
65
|
+
readonly inputs: readonly [{
|
|
66
|
+
readonly internalType: "address";
|
|
67
|
+
readonly name: "requiredToken";
|
|
68
|
+
readonly type: "address";
|
|
69
|
+
}, {
|
|
70
|
+
readonly internalType: "address";
|
|
71
|
+
readonly name: "actualToken";
|
|
72
|
+
readonly type: "address";
|
|
73
|
+
}];
|
|
74
|
+
readonly name: "InvalidToken";
|
|
75
|
+
readonly type: "error";
|
|
76
|
+
}, {
|
|
77
|
+
readonly inputs: readonly [];
|
|
78
|
+
readonly name: "TargetAlreadyWhitelisted";
|
|
79
|
+
readonly type: "error";
|
|
80
|
+
}, {
|
|
81
|
+
readonly inputs: readonly [];
|
|
82
|
+
readonly name: "TargetFeeTypeMismatch";
|
|
83
|
+
readonly type: "error";
|
|
84
|
+
}, {
|
|
85
|
+
readonly inputs: readonly [];
|
|
86
|
+
readonly name: "TargetNotWhitelisted";
|
|
87
|
+
readonly type: "error";
|
|
64
88
|
}, {
|
|
65
89
|
readonly inputs: readonly [];
|
|
66
90
|
readonly name: "TokenAlreadySupported";
|
|
@@ -88,7 +112,12 @@ export declare class IFeeCollector__factory {
|
|
|
88
112
|
}, {
|
|
89
113
|
readonly indexed: false;
|
|
90
114
|
readonly internalType: "uint256";
|
|
91
|
-
readonly name: "
|
|
115
|
+
readonly name: "requestedAmount";
|
|
116
|
+
readonly type: "uint256";
|
|
117
|
+
}, {
|
|
118
|
+
readonly indexed: false;
|
|
119
|
+
readonly internalType: "uint256";
|
|
120
|
+
readonly name: "actualAmount";
|
|
92
121
|
readonly type: "uint256";
|
|
93
122
|
}];
|
|
94
123
|
readonly name: "CollectorRewardsClaimed";
|
|
@@ -108,7 +137,12 @@ export declare class IFeeCollector__factory {
|
|
|
108
137
|
}, {
|
|
109
138
|
readonly indexed: false;
|
|
110
139
|
readonly internalType: "uint256";
|
|
111
|
-
readonly name: "
|
|
140
|
+
readonly name: "requestedAmount";
|
|
141
|
+
readonly type: "uint256";
|
|
142
|
+
}, {
|
|
143
|
+
readonly indexed: false;
|
|
144
|
+
readonly internalType: "uint256";
|
|
145
|
+
readonly name: "actualAmount";
|
|
112
146
|
readonly type: "uint256";
|
|
113
147
|
}];
|
|
114
148
|
readonly name: "CollectorUnderlyingClaimed";
|
|
@@ -131,6 +165,16 @@ export declare class IFeeCollector__factory {
|
|
|
131
165
|
}, {
|
|
132
166
|
readonly anonymous: false;
|
|
133
167
|
readonly inputs: readonly [{
|
|
168
|
+
readonly indexed: true;
|
|
169
|
+
readonly internalType: "address";
|
|
170
|
+
readonly name: "token";
|
|
171
|
+
readonly type: "address";
|
|
172
|
+
}, {
|
|
173
|
+
readonly indexed: true;
|
|
174
|
+
readonly internalType: "address";
|
|
175
|
+
readonly name: "target";
|
|
176
|
+
readonly type: "address";
|
|
177
|
+
}, {
|
|
134
178
|
readonly indexed: true;
|
|
135
179
|
readonly internalType: "bytes32";
|
|
136
180
|
readonly name: "feeType";
|
|
@@ -138,7 +182,12 @@ export declare class IFeeCollector__factory {
|
|
|
138
182
|
}, {
|
|
139
183
|
readonly indexed: false;
|
|
140
184
|
readonly internalType: "uint256";
|
|
141
|
-
readonly name: "
|
|
185
|
+
readonly name: "requestedAmount";
|
|
186
|
+
readonly type: "uint256";
|
|
187
|
+
}, {
|
|
188
|
+
readonly indexed: false;
|
|
189
|
+
readonly internalType: "uint256";
|
|
190
|
+
readonly name: "actualAmount";
|
|
142
191
|
readonly type: "uint256";
|
|
143
192
|
}];
|
|
144
193
|
readonly name: "FeeCollected";
|
|
@@ -178,6 +227,16 @@ export declare class IFeeCollector__factory {
|
|
|
178
227
|
}];
|
|
179
228
|
readonly name: "FeeTypeAdded";
|
|
180
229
|
readonly type: "event";
|
|
230
|
+
}, {
|
|
231
|
+
readonly anonymous: false;
|
|
232
|
+
readonly inputs: readonly [{
|
|
233
|
+
readonly indexed: false;
|
|
234
|
+
readonly internalType: "bytes32";
|
|
235
|
+
readonly name: "feeType";
|
|
236
|
+
readonly type: "bytes32";
|
|
237
|
+
}];
|
|
238
|
+
readonly name: "FeeTypeRemoved";
|
|
239
|
+
readonly type: "event";
|
|
181
240
|
}, {
|
|
182
241
|
readonly anonymous: false;
|
|
183
242
|
readonly inputs: readonly [{
|
|
@@ -237,6 +296,51 @@ export declare class IFeeCollector__factory {
|
|
|
237
296
|
}];
|
|
238
297
|
readonly name: "TargetAddressUpdated";
|
|
239
298
|
readonly type: "event";
|
|
299
|
+
}, {
|
|
300
|
+
readonly anonymous: false;
|
|
301
|
+
readonly inputs: readonly [{
|
|
302
|
+
readonly indexed: true;
|
|
303
|
+
readonly internalType: "address";
|
|
304
|
+
readonly name: "target";
|
|
305
|
+
readonly type: "address";
|
|
306
|
+
}];
|
|
307
|
+
readonly name: "TargetFeeTypeRemoved";
|
|
308
|
+
readonly type: "event";
|
|
309
|
+
}, {
|
|
310
|
+
readonly anonymous: false;
|
|
311
|
+
readonly inputs: readonly [{
|
|
312
|
+
readonly indexed: true;
|
|
313
|
+
readonly internalType: "address";
|
|
314
|
+
readonly name: "target";
|
|
315
|
+
readonly type: "address";
|
|
316
|
+
}, {
|
|
317
|
+
readonly indexed: false;
|
|
318
|
+
readonly internalType: "bytes32";
|
|
319
|
+
readonly name: "feeType";
|
|
320
|
+
readonly type: "bytes32";
|
|
321
|
+
}];
|
|
322
|
+
readonly name: "TargetFeeTypeSet";
|
|
323
|
+
readonly type: "event";
|
|
324
|
+
}, {
|
|
325
|
+
readonly anonymous: false;
|
|
326
|
+
readonly inputs: readonly [{
|
|
327
|
+
readonly indexed: true;
|
|
328
|
+
readonly internalType: "address";
|
|
329
|
+
readonly name: "target";
|
|
330
|
+
readonly type: "address";
|
|
331
|
+
}];
|
|
332
|
+
readonly name: "TargetRemovedFromWhitelist";
|
|
333
|
+
readonly type: "event";
|
|
334
|
+
}, {
|
|
335
|
+
readonly anonymous: false;
|
|
336
|
+
readonly inputs: readonly [{
|
|
337
|
+
readonly indexed: true;
|
|
338
|
+
readonly internalType: "address";
|
|
339
|
+
readonly name: "target";
|
|
340
|
+
readonly type: "address";
|
|
341
|
+
}];
|
|
342
|
+
readonly name: "TargetWhitelisted";
|
|
343
|
+
readonly type: "event";
|
|
240
344
|
}, {
|
|
241
345
|
readonly anonymous: false;
|
|
242
346
|
readonly inputs: readonly [{
|
|
@@ -428,88 +532,6 @@ export declare class IFeeCollector__factory {
|
|
|
428
532
|
}];
|
|
429
533
|
readonly stateMutability: "view";
|
|
430
534
|
readonly type: "function";
|
|
431
|
-
}, {
|
|
432
|
-
readonly inputs: readonly [{
|
|
433
|
-
readonly internalType: "address";
|
|
434
|
-
readonly name: "token";
|
|
435
|
-
readonly type: "address";
|
|
436
|
-
}];
|
|
437
|
-
readonly name: "getCollectedFeesByToken";
|
|
438
|
-
readonly outputs: readonly [{
|
|
439
|
-
readonly components: readonly [{
|
|
440
|
-
readonly internalType: "uint256";
|
|
441
|
-
readonly name: "treasuryAmount";
|
|
442
|
-
readonly type: "uint256";
|
|
443
|
-
}, {
|
|
444
|
-
readonly internalType: "uint256";
|
|
445
|
-
readonly name: "repairFundAmount";
|
|
446
|
-
readonly type: "uint256";
|
|
447
|
-
}, {
|
|
448
|
-
readonly internalType: "uint256";
|
|
449
|
-
readonly name: "burnAmount";
|
|
450
|
-
readonly type: "uint256";
|
|
451
|
-
}, {
|
|
452
|
-
readonly internalType: "uint256";
|
|
453
|
-
readonly name: "veRAACTokenAmount";
|
|
454
|
-
readonly type: "uint256";
|
|
455
|
-
}, {
|
|
456
|
-
readonly internalType: "uint256";
|
|
457
|
-
readonly name: "raacCorpAmount";
|
|
458
|
-
readonly type: "uint256";
|
|
459
|
-
}, {
|
|
460
|
-
readonly internalType: "uint256";
|
|
461
|
-
readonly name: "otherAmount";
|
|
462
|
-
readonly type: "uint256";
|
|
463
|
-
}];
|
|
464
|
-
readonly internalType: "struct IFeeCollector.CollectedFeeForType[]";
|
|
465
|
-
readonly name: "";
|
|
466
|
-
readonly type: "tuple[]";
|
|
467
|
-
}];
|
|
468
|
-
readonly stateMutability: "view";
|
|
469
|
-
readonly type: "function";
|
|
470
|
-
}, {
|
|
471
|
-
readonly inputs: readonly [{
|
|
472
|
-
readonly internalType: "address";
|
|
473
|
-
readonly name: "token";
|
|
474
|
-
readonly type: "address";
|
|
475
|
-
}, {
|
|
476
|
-
readonly internalType: "bytes32";
|
|
477
|
-
readonly name: "feeType";
|
|
478
|
-
readonly type: "bytes32";
|
|
479
|
-
}];
|
|
480
|
-
readonly name: "getCollectedFeesByTokenAndFeeType";
|
|
481
|
-
readonly outputs: readonly [{
|
|
482
|
-
readonly components: readonly [{
|
|
483
|
-
readonly internalType: "uint256";
|
|
484
|
-
readonly name: "treasuryAmount";
|
|
485
|
-
readonly type: "uint256";
|
|
486
|
-
}, {
|
|
487
|
-
readonly internalType: "uint256";
|
|
488
|
-
readonly name: "repairFundAmount";
|
|
489
|
-
readonly type: "uint256";
|
|
490
|
-
}, {
|
|
491
|
-
readonly internalType: "uint256";
|
|
492
|
-
readonly name: "burnAmount";
|
|
493
|
-
readonly type: "uint256";
|
|
494
|
-
}, {
|
|
495
|
-
readonly internalType: "uint256";
|
|
496
|
-
readonly name: "veRAACTokenAmount";
|
|
497
|
-
readonly type: "uint256";
|
|
498
|
-
}, {
|
|
499
|
-
readonly internalType: "uint256";
|
|
500
|
-
readonly name: "raacCorpAmount";
|
|
501
|
-
readonly type: "uint256";
|
|
502
|
-
}, {
|
|
503
|
-
readonly internalType: "uint256";
|
|
504
|
-
readonly name: "otherAmount";
|
|
505
|
-
readonly type: "uint256";
|
|
506
|
-
}];
|
|
507
|
-
readonly internalType: "struct IFeeCollector.CollectedFeeForType";
|
|
508
|
-
readonly name: "";
|
|
509
|
-
readonly type: "tuple";
|
|
510
|
-
}];
|
|
511
|
-
readonly stateMutability: "view";
|
|
512
|
-
readonly type: "function";
|
|
513
535
|
}, {
|
|
514
536
|
readonly inputs: readonly [{
|
|
515
537
|
readonly internalType: "bytes32";
|
|
@@ -592,16 +614,6 @@ export declare class IFeeCollector__factory {
|
|
|
592
614
|
}];
|
|
593
615
|
readonly stateMutability: "view";
|
|
594
616
|
readonly type: "function";
|
|
595
|
-
}, {
|
|
596
|
-
readonly inputs: readonly [];
|
|
597
|
-
readonly name: "getSupportedTokens";
|
|
598
|
-
readonly outputs: readonly [{
|
|
599
|
-
readonly internalType: "address[]";
|
|
600
|
-
readonly name: "";
|
|
601
|
-
readonly type: "address[]";
|
|
602
|
-
}];
|
|
603
|
-
readonly stateMutability: "view";
|
|
604
|
-
readonly type: "function";
|
|
605
617
|
}, {
|
|
606
618
|
readonly inputs: readonly [{
|
|
607
619
|
readonly internalType: "bytes32";
|
|
@@ -678,6 +690,16 @@ export declare class IFeeCollector__factory {
|
|
|
678
690
|
readonly outputs: readonly [];
|
|
679
691
|
readonly stateMutability: "nonpayable";
|
|
680
692
|
readonly type: "function";
|
|
693
|
+
}, {
|
|
694
|
+
readonly inputs: readonly [{
|
|
695
|
+
readonly internalType: "address";
|
|
696
|
+
readonly name: "target";
|
|
697
|
+
readonly type: "address";
|
|
698
|
+
}];
|
|
699
|
+
readonly name: "removeTargetFeeType";
|
|
700
|
+
readonly outputs: readonly [];
|
|
701
|
+
readonly stateMutability: "nonpayable";
|
|
702
|
+
readonly type: "function";
|
|
681
703
|
}, {
|
|
682
704
|
readonly inputs: readonly [{
|
|
683
705
|
readonly internalType: "bytes32";
|
|
@@ -692,6 +714,20 @@ export declare class IFeeCollector__factory {
|
|
|
692
714
|
readonly outputs: readonly [];
|
|
693
715
|
readonly stateMutability: "nonpayable";
|
|
694
716
|
readonly type: "function";
|
|
717
|
+
}, {
|
|
718
|
+
readonly inputs: readonly [{
|
|
719
|
+
readonly internalType: "address";
|
|
720
|
+
readonly name: "target";
|
|
721
|
+
readonly type: "address";
|
|
722
|
+
}, {
|
|
723
|
+
readonly internalType: "bytes32";
|
|
724
|
+
readonly name: "feeType";
|
|
725
|
+
readonly type: "bytes32";
|
|
726
|
+
}];
|
|
727
|
+
readonly name: "setTargetFeeType";
|
|
728
|
+
readonly outputs: readonly [];
|
|
729
|
+
readonly stateMutability: "nonpayable";
|
|
730
|
+
readonly type: "function";
|
|
695
731
|
}, {
|
|
696
732
|
readonly inputs: readonly [];
|
|
697
733
|
readonly name: "unpause";
|
|
@@ -17,6 +17,14 @@ export declare class ITreasury__factory {
|
|
|
17
17
|
readonly inputs: readonly [];
|
|
18
18
|
readonly name: "InvalidRecipient";
|
|
19
19
|
readonly type: "error";
|
|
20
|
+
}, {
|
|
21
|
+
readonly inputs: readonly [];
|
|
22
|
+
readonly name: "TokenAlreadySupported";
|
|
23
|
+
readonly type: "error";
|
|
24
|
+
}, {
|
|
25
|
+
readonly inputs: readonly [];
|
|
26
|
+
readonly name: "TokenNotSupported";
|
|
27
|
+
readonly type: "error";
|
|
20
28
|
}, {
|
|
21
29
|
readonly inputs: readonly [];
|
|
22
30
|
readonly name: "UnauthorizedCaller";
|
|
@@ -41,15 +49,20 @@ export declare class ITreasury__factory {
|
|
|
41
49
|
readonly inputs: readonly [{
|
|
42
50
|
readonly indexed: true;
|
|
43
51
|
readonly internalType: "address";
|
|
44
|
-
readonly name: "
|
|
52
|
+
readonly name: "token";
|
|
53
|
+
readonly type: "address";
|
|
54
|
+
}];
|
|
55
|
+
readonly name: "TokenAdded";
|
|
56
|
+
readonly type: "event";
|
|
57
|
+
}, {
|
|
58
|
+
readonly anonymous: false;
|
|
59
|
+
readonly inputs: readonly [{
|
|
60
|
+
readonly indexed: true;
|
|
61
|
+
readonly internalType: "address";
|
|
62
|
+
readonly name: "token";
|
|
45
63
|
readonly type: "address";
|
|
46
|
-
}, {
|
|
47
|
-
readonly indexed: false;
|
|
48
|
-
readonly internalType: "uint256";
|
|
49
|
-
readonly name: "amount";
|
|
50
|
-
readonly type: "uint256";
|
|
51
64
|
}];
|
|
52
|
-
readonly name: "
|
|
65
|
+
readonly name: "TokenRemoved";
|
|
53
66
|
readonly type: "event";
|
|
54
67
|
}, {
|
|
55
68
|
readonly anonymous: false;
|
|
@@ -71,20 +84,6 @@ export declare class ITreasury__factory {
|
|
|
71
84
|
}];
|
|
72
85
|
readonly name: "Withdrawn";
|
|
73
86
|
readonly type: "event";
|
|
74
|
-
}, {
|
|
75
|
-
readonly inputs: readonly [{
|
|
76
|
-
readonly internalType: "address";
|
|
77
|
-
readonly name: "recipient";
|
|
78
|
-
readonly type: "address";
|
|
79
|
-
}, {
|
|
80
|
-
readonly internalType: "uint256";
|
|
81
|
-
readonly name: "amount";
|
|
82
|
-
readonly type: "uint256";
|
|
83
|
-
}];
|
|
84
|
-
readonly name: "allocateFunds";
|
|
85
|
-
readonly outputs: readonly [];
|
|
86
|
-
readonly stateMutability: "nonpayable";
|
|
87
|
-
readonly type: "function";
|
|
88
87
|
}, {
|
|
89
88
|
readonly inputs: readonly [{
|
|
90
89
|
readonly internalType: "address";
|
|
@@ -99,24 +98,6 @@ export declare class ITreasury__factory {
|
|
|
99
98
|
readonly outputs: readonly [];
|
|
100
99
|
readonly stateMutability: "nonpayable";
|
|
101
100
|
readonly type: "function";
|
|
102
|
-
}, {
|
|
103
|
-
readonly inputs: readonly [{
|
|
104
|
-
readonly internalType: "address";
|
|
105
|
-
readonly name: "allocator";
|
|
106
|
-
readonly type: "address";
|
|
107
|
-
}, {
|
|
108
|
-
readonly internalType: "address";
|
|
109
|
-
readonly name: "recipient";
|
|
110
|
-
readonly type: "address";
|
|
111
|
-
}];
|
|
112
|
-
readonly name: "getAllocation";
|
|
113
|
-
readonly outputs: readonly [{
|
|
114
|
-
readonly internalType: "uint256";
|
|
115
|
-
readonly name: "";
|
|
116
|
-
readonly type: "uint256";
|
|
117
|
-
}];
|
|
118
|
-
readonly stateMutability: "view";
|
|
119
|
-
readonly type: "function";
|
|
120
101
|
}, {
|
|
121
102
|
readonly inputs: readonly [{
|
|
122
103
|
readonly internalType: "address";
|
|
@@ -131,16 +112,6 @@ export declare class ITreasury__factory {
|
|
|
131
112
|
}];
|
|
132
113
|
readonly stateMutability: "view";
|
|
133
114
|
readonly type: "function";
|
|
134
|
-
}, {
|
|
135
|
-
readonly inputs: readonly [];
|
|
136
|
-
readonly name: "getTotalValue";
|
|
137
|
-
readonly outputs: readonly [{
|
|
138
|
-
readonly internalType: "uint256";
|
|
139
|
-
readonly name: "";
|
|
140
|
-
readonly type: "uint256";
|
|
141
|
-
}];
|
|
142
|
-
readonly stateMutability: "view";
|
|
143
|
-
readonly type: "function";
|
|
144
115
|
}, {
|
|
145
116
|
readonly inputs: readonly [{
|
|
146
117
|
readonly internalType: "address";
|
package/dist/types/typechain-types/factories/contracts/interfaces/core/collectors/index.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
export { IBaseCollector__factory } from "./IBaseCollector__factory";
|
|
2
|
+
export { IDistributionTarget__factory } from "./IDistributionTarget__factory";
|
|
2
3
|
export { IFeeCollector__factory } from "./IFeeCollector__factory";
|
|
3
4
|
export { ITreasury__factory } from "./ITreasury__factory";
|
|
@@ -49,6 +49,10 @@ export declare class IBaseGauge__factory {
|
|
|
49
49
|
readonly inputs: readonly [];
|
|
50
50
|
readonly name: "InvalidAmount";
|
|
51
51
|
readonly type: "error";
|
|
52
|
+
}, {
|
|
53
|
+
readonly inputs: readonly [];
|
|
54
|
+
readonly name: "InvalidBoostRatio";
|
|
55
|
+
readonly type: "error";
|
|
52
56
|
}, {
|
|
53
57
|
readonly inputs: readonly [];
|
|
54
58
|
readonly name: "InvalidCheckpointIndex";
|
|
@@ -219,7 +223,7 @@ export declare class IBaseGauge__factory {
|
|
|
219
223
|
readonly inputs: readonly [{
|
|
220
224
|
readonly indexed: false;
|
|
221
225
|
readonly internalType: "uint256";
|
|
222
|
-
readonly name: "
|
|
226
|
+
readonly name: "newEmission";
|
|
223
227
|
readonly type: "uint256";
|
|
224
228
|
}];
|
|
225
229
|
readonly name: "EmissionUpdated";
|
|
@@ -314,6 +318,36 @@ export declare class IBaseGauge__factory {
|
|
|
314
318
|
}];
|
|
315
319
|
readonly name: "Staked";
|
|
316
320
|
readonly type: "event";
|
|
321
|
+
}, {
|
|
322
|
+
readonly anonymous: false;
|
|
323
|
+
readonly inputs: readonly [{
|
|
324
|
+
readonly indexed: true;
|
|
325
|
+
readonly internalType: "address";
|
|
326
|
+
readonly name: "token";
|
|
327
|
+
readonly type: "address";
|
|
328
|
+
}, {
|
|
329
|
+
readonly indexed: false;
|
|
330
|
+
readonly internalType: "uint256";
|
|
331
|
+
readonly name: "ratio";
|
|
332
|
+
readonly type: "uint256";
|
|
333
|
+
}];
|
|
334
|
+
readonly name: "TokenBoostRatioUpdated";
|
|
335
|
+
readonly type: "event";
|
|
336
|
+
}, {
|
|
337
|
+
readonly anonymous: false;
|
|
338
|
+
readonly inputs: readonly [{
|
|
339
|
+
readonly indexed: true;
|
|
340
|
+
readonly internalType: "address";
|
|
341
|
+
readonly name: "token";
|
|
342
|
+
readonly type: "address";
|
|
343
|
+
}, {
|
|
344
|
+
readonly indexed: false;
|
|
345
|
+
readonly internalType: "uint256";
|
|
346
|
+
readonly name: "newEmissionCap";
|
|
347
|
+
readonly type: "uint256";
|
|
348
|
+
}];
|
|
349
|
+
readonly name: "TokenEmissionCapUpdated";
|
|
350
|
+
readonly type: "event";
|
|
317
351
|
}, {
|
|
318
352
|
readonly anonymous: false;
|
|
319
353
|
readonly inputs: readonly [{
|
|
@@ -422,6 +456,62 @@ export declare class IBaseGauge__factory {
|
|
|
422
456
|
}];
|
|
423
457
|
readonly stateMutability: "view";
|
|
424
458
|
readonly type: "function";
|
|
459
|
+
}, {
|
|
460
|
+
readonly inputs: readonly [];
|
|
461
|
+
readonly name: "getPeriodState";
|
|
462
|
+
readonly outputs: readonly [{
|
|
463
|
+
readonly components: readonly [{
|
|
464
|
+
readonly components: readonly [{
|
|
465
|
+
readonly internalType: "uint256";
|
|
466
|
+
readonly name: "startTime";
|
|
467
|
+
readonly type: "uint256";
|
|
468
|
+
}, {
|
|
469
|
+
readonly internalType: "uint256";
|
|
470
|
+
readonly name: "endTime";
|
|
471
|
+
readonly type: "uint256";
|
|
472
|
+
}, {
|
|
473
|
+
readonly internalType: "uint256";
|
|
474
|
+
readonly name: "lastUpdateTime";
|
|
475
|
+
readonly type: "uint256";
|
|
476
|
+
}, {
|
|
477
|
+
readonly internalType: "uint256";
|
|
478
|
+
readonly name: "value";
|
|
479
|
+
readonly type: "uint256";
|
|
480
|
+
}, {
|
|
481
|
+
readonly internalType: "uint256";
|
|
482
|
+
readonly name: "weightedSum";
|
|
483
|
+
readonly type: "uint256";
|
|
484
|
+
}, {
|
|
485
|
+
readonly internalType: "uint256";
|
|
486
|
+
readonly name: "totalDuration";
|
|
487
|
+
readonly type: "uint256";
|
|
488
|
+
}, {
|
|
489
|
+
readonly internalType: "uint256";
|
|
490
|
+
readonly name: "weight";
|
|
491
|
+
readonly type: "uint256";
|
|
492
|
+
}];
|
|
493
|
+
readonly internalType: "struct TimeWeightedAverage.Period";
|
|
494
|
+
readonly name: "votingPeriod";
|
|
495
|
+
readonly type: "tuple";
|
|
496
|
+
}, {
|
|
497
|
+
readonly internalType: "uint256";
|
|
498
|
+
readonly name: "emission";
|
|
499
|
+
readonly type: "uint256";
|
|
500
|
+
}, {
|
|
501
|
+
readonly internalType: "uint256";
|
|
502
|
+
readonly name: "distributed";
|
|
503
|
+
readonly type: "uint256";
|
|
504
|
+
}, {
|
|
505
|
+
readonly internalType: "uint256";
|
|
506
|
+
readonly name: "periodStartTime";
|
|
507
|
+
readonly type: "uint256";
|
|
508
|
+
}];
|
|
509
|
+
readonly internalType: "struct IBaseGauge.PeriodState";
|
|
510
|
+
readonly name: "";
|
|
511
|
+
readonly type: "tuple";
|
|
512
|
+
}];
|
|
513
|
+
readonly stateMutability: "view";
|
|
514
|
+
readonly type: "function";
|
|
425
515
|
}, {
|
|
426
516
|
readonly inputs: readonly [];
|
|
427
517
|
readonly name: "getRewardTokens";
|
|
@@ -432,6 +522,24 @@ export declare class IBaseGauge__factory {
|
|
|
432
522
|
}];
|
|
433
523
|
readonly stateMutability: "view";
|
|
434
524
|
readonly type: "function";
|
|
525
|
+
}, {
|
|
526
|
+
readonly inputs: readonly [{
|
|
527
|
+
readonly internalType: "address";
|
|
528
|
+
readonly name: "token";
|
|
529
|
+
readonly type: "address";
|
|
530
|
+
}];
|
|
531
|
+
readonly name: "getTokenEmissionState";
|
|
532
|
+
readonly outputs: readonly [{
|
|
533
|
+
readonly internalType: "uint256";
|
|
534
|
+
readonly name: "emissionCap_";
|
|
535
|
+
readonly type: "uint256";
|
|
536
|
+
}, {
|
|
537
|
+
readonly internalType: "uint256";
|
|
538
|
+
readonly name: "distributed_";
|
|
539
|
+
readonly type: "uint256";
|
|
540
|
+
}];
|
|
541
|
+
readonly stateMutability: "view";
|
|
542
|
+
readonly type: "function";
|
|
435
543
|
}, {
|
|
436
544
|
readonly inputs: readonly [{
|
|
437
545
|
readonly internalType: "address";
|
|
@@ -611,6 +719,30 @@ export declare class IBaseGauge__factory {
|
|
|
611
719
|
readonly outputs: readonly [];
|
|
612
720
|
readonly stateMutability: "nonpayable";
|
|
613
721
|
readonly type: "function";
|
|
722
|
+
}, {
|
|
723
|
+
readonly inputs: readonly [{
|
|
724
|
+
readonly internalType: "uint256";
|
|
725
|
+
readonly name: "emission";
|
|
726
|
+
readonly type: "uint256";
|
|
727
|
+
}];
|
|
728
|
+
readonly name: "setMaxEmission";
|
|
729
|
+
readonly outputs: readonly [];
|
|
730
|
+
readonly stateMutability: "nonpayable";
|
|
731
|
+
readonly type: "function";
|
|
732
|
+
}, {
|
|
733
|
+
readonly inputs: readonly [{
|
|
734
|
+
readonly internalType: "address";
|
|
735
|
+
readonly name: "token";
|
|
736
|
+
readonly type: "address";
|
|
737
|
+
}, {
|
|
738
|
+
readonly internalType: "uint256";
|
|
739
|
+
readonly name: "emissionCap";
|
|
740
|
+
readonly type: "uint256";
|
|
741
|
+
}];
|
|
742
|
+
readonly name: "setTokenEmissionCap";
|
|
743
|
+
readonly outputs: readonly [];
|
|
744
|
+
readonly stateMutability: "nonpayable";
|
|
745
|
+
readonly type: "function";
|
|
614
746
|
}, {
|
|
615
747
|
readonly inputs: readonly [{
|
|
616
748
|
readonly internalType: "address";
|
|
@@ -37,6 +37,18 @@ export declare class IGovernance__factory {
|
|
|
37
37
|
}];
|
|
38
38
|
readonly name: "InsufficientProposerVotes";
|
|
39
39
|
readonly type: "error";
|
|
40
|
+
}, {
|
|
41
|
+
readonly inputs: readonly [{
|
|
42
|
+
readonly internalType: "uint256";
|
|
43
|
+
readonly name: "provided";
|
|
44
|
+
readonly type: "uint256";
|
|
45
|
+
}, {
|
|
46
|
+
readonly internalType: "uint256";
|
|
47
|
+
readonly name: "required";
|
|
48
|
+
readonly type: "uint256";
|
|
49
|
+
}];
|
|
50
|
+
readonly name: "InsufficientValueForExecution";
|
|
51
|
+
readonly type: "error";
|
|
40
52
|
}, {
|
|
41
53
|
readonly inputs: readonly [{
|
|
42
54
|
readonly internalType: "uint256";
|
|
@@ -561,7 +573,7 @@ export declare class IGovernance__factory {
|
|
|
561
573
|
}];
|
|
562
574
|
readonly name: "execute";
|
|
563
575
|
readonly outputs: readonly [];
|
|
564
|
-
readonly stateMutability: "
|
|
576
|
+
readonly stateMutability: "payable";
|
|
565
577
|
readonly type: "function";
|
|
566
578
|
}, {
|
|
567
579
|
readonly inputs: readonly [{
|