@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
|
@@ -11,8 +11,8 @@ export declare namespace IRAACNFT {
|
|
|
11
11
|
};
|
|
12
12
|
}
|
|
13
13
|
export interface RAACNFTInterface extends Interface {
|
|
14
|
-
getFunction(nameOrSignature: "ADMIN_ROLE" | "DEFAULT_ADMIN_ROLE" | "MAX_FEE_PERCENTAGE" | "MINTER_ROLE" | "MINT_FEE_PERCENTAGE" | "TRADE_FEE_PERCENTAGE" | "WITHDRAW_ROLE" | "addMinter" | "allowBurning" | "approve" | "balanceOf" | "baseURI" | "complianceRegistry" | "feeCollector" | "getAllTokens()" | "getAllTokens(uint256,uint256)" | "getApproved" | "getFeeStructure" | "getHousePrice" | "getMintPrice" | "getRoleAdmin" | "getTokensByOwner(address)" | "getTokensByOwner(address,uint256,uint256)" | "grantRole" | "hasRole" | "isApprovedForAll" | "mint" | "minterMint" | "name" | "nftRoyaltyFeeCollector" | "owner" | "ownerOf" | "raac_hp" | "removeMinter" | "renounceOwnership" | "renounceRole" | "revokeRole" | "royaltyInfo" | "safeTransferFrom(address,address,uint256)" | "safeTransferFrom(address,address,uint256,bytes)" | "setAllowBurning" | "setApprovalForAll" | "setBaseUri" | "setFeeCollector" | "setMaxFee" | "setMintFee" | "setNFTRoyaltyFeeCollector" | "setTradeFee" | "supportsInterface" | "symbol" | "token" | "tokenByIndex" | "tokenOfOwnerByIndex" | "tokenURI" | "totalSupply" | "transferFrom" | "transferOwnership" | "transferRole" | "withdrawUnderlying"): FunctionFragment;
|
|
15
|
-
getEvent(nameOrSignatureOrTopic: "AllowBurningUpdated" | "Approval" | "ApprovalForAll" | "BaseURIUpdated" | "
|
|
14
|
+
getFunction(nameOrSignature: "ADMIN_ROLE" | "DEFAULT_ADMIN_ROLE" | "MAX_FEE_PERCENTAGE" | "MINTER_ROLE" | "MINT_FEE_PERCENTAGE" | "TRADE_FEE_PERCENTAGE" | "WITHDRAW_ROLE" | "addMinter" | "allowBurning" | "allowMinting" | "approve" | "balanceOf" | "baseURI" | "burn" | "complianceRegistry" | "feeCollector" | "getAllTokens()" | "getAllTokens(uint256,uint256)" | "getApproved" | "getFeeStructure" | "getHousePrice" | "getMintPrice" | "getRoleAdmin" | "getTokensByOwner(address)" | "getTokensByOwner(address,uint256,uint256)" | "grantRole" | "hasRole" | "isApprovedForAll" | "mint" | "minterMint" | "name" | "nftRoyaltyFeeCollector" | "owner" | "ownerOf" | "raac_hp" | "removeMinter" | "renounceOwnership" | "renounceRole" | "revokeRole" | "royaltyInfo" | "safeTransferFrom(address,address,uint256)" | "safeTransferFrom(address,address,uint256,bytes)" | "setAllowBurning" | "setAllowMinting" | "setApprovalForAll" | "setBaseUri" | "setFeeCollector" | "setHousePriceOracle" | "setMaxFee" | "setMintFee" | "setNFTRoyaltyFeeCollector" | "setPriceStalenessThreshold" | "setTradeFee" | "setZKMECooperator" | "setZKMEVerify" | "supportsInterface" | "symbol" | "token" | "tokenByIndex" | "tokenOfOwnerByIndex" | "tokenURI" | "totalSupply" | "transferFrom" | "transferOwnership" | "transferRole" | "withdrawUnderlying" | "zkmeCooperator" | "zkmeVerify"): FunctionFragment;
|
|
15
|
+
getEvent(nameOrSignatureOrTopic: "AllowBurningUpdated" | "AllowMintingUpdated" | "Approval" | "ApprovalForAll" | "BaseURIUpdated" | "FeeCollectorUpdated" | "HousePriceOracleUpdated" | "MaxFeeUpdated" | "MintFeeUpdated" | "NFTFeePaid" | "NFTFeeUpdated" | "NFTMinted" | "NFTRoyaltyFeeCollectorUpdated" | "OwnershipTransferred" | "PriceStalenessThresholdUpdated" | "RoleAdminChanged" | "RoleGranted" | "RoleRevoked" | "RoleTransferred" | "TradeFeeUpdated" | "Transfer" | "ZKMECooperatorUpdated" | "ZKMEVerifyUpdated"): EventFragment;
|
|
16
16
|
encodeFunctionData(functionFragment: "ADMIN_ROLE", values?: undefined): string;
|
|
17
17
|
encodeFunctionData(functionFragment: "DEFAULT_ADMIN_ROLE", values?: undefined): string;
|
|
18
18
|
encodeFunctionData(functionFragment: "MAX_FEE_PERCENTAGE", values?: undefined): string;
|
|
@@ -22,9 +22,11 @@ export interface RAACNFTInterface extends Interface {
|
|
|
22
22
|
encodeFunctionData(functionFragment: "WITHDRAW_ROLE", values?: undefined): string;
|
|
23
23
|
encodeFunctionData(functionFragment: "addMinter", values: [AddressLike]): string;
|
|
24
24
|
encodeFunctionData(functionFragment: "allowBurning", values?: undefined): string;
|
|
25
|
+
encodeFunctionData(functionFragment: "allowMinting", values?: undefined): string;
|
|
25
26
|
encodeFunctionData(functionFragment: "approve", values: [AddressLike, BigNumberish]): string;
|
|
26
27
|
encodeFunctionData(functionFragment: "balanceOf", values: [AddressLike]): string;
|
|
27
28
|
encodeFunctionData(functionFragment: "baseURI", values?: undefined): string;
|
|
29
|
+
encodeFunctionData(functionFragment: "burn", values: [BigNumberish]): string;
|
|
28
30
|
encodeFunctionData(functionFragment: "complianceRegistry", values?: undefined): string;
|
|
29
31
|
encodeFunctionData(functionFragment: "feeCollector", values?: undefined): string;
|
|
30
32
|
encodeFunctionData(functionFragment: "getAllTokens()", values?: undefined): string;
|
|
@@ -54,13 +56,18 @@ export interface RAACNFTInterface extends Interface {
|
|
|
54
56
|
encodeFunctionData(functionFragment: "safeTransferFrom(address,address,uint256)", values: [AddressLike, AddressLike, BigNumberish]): string;
|
|
55
57
|
encodeFunctionData(functionFragment: "safeTransferFrom(address,address,uint256,bytes)", values: [AddressLike, AddressLike, BigNumberish, BytesLike]): string;
|
|
56
58
|
encodeFunctionData(functionFragment: "setAllowBurning", values: [boolean]): string;
|
|
59
|
+
encodeFunctionData(functionFragment: "setAllowMinting", values: [boolean]): string;
|
|
57
60
|
encodeFunctionData(functionFragment: "setApprovalForAll", values: [AddressLike, boolean]): string;
|
|
58
61
|
encodeFunctionData(functionFragment: "setBaseUri", values: [string]): string;
|
|
59
62
|
encodeFunctionData(functionFragment: "setFeeCollector", values: [AddressLike]): string;
|
|
63
|
+
encodeFunctionData(functionFragment: "setHousePriceOracle", values: [AddressLike]): string;
|
|
60
64
|
encodeFunctionData(functionFragment: "setMaxFee", values: [BigNumberish]): string;
|
|
61
65
|
encodeFunctionData(functionFragment: "setMintFee", values: [BigNumberish]): string;
|
|
62
66
|
encodeFunctionData(functionFragment: "setNFTRoyaltyFeeCollector", values: [AddressLike]): string;
|
|
67
|
+
encodeFunctionData(functionFragment: "setPriceStalenessThreshold", values: [BigNumberish]): string;
|
|
63
68
|
encodeFunctionData(functionFragment: "setTradeFee", values: [BigNumberish]): string;
|
|
69
|
+
encodeFunctionData(functionFragment: "setZKMECooperator", values: [AddressLike]): string;
|
|
70
|
+
encodeFunctionData(functionFragment: "setZKMEVerify", values: [AddressLike]): string;
|
|
64
71
|
encodeFunctionData(functionFragment: "supportsInterface", values: [BytesLike]): string;
|
|
65
72
|
encodeFunctionData(functionFragment: "symbol", values?: undefined): string;
|
|
66
73
|
encodeFunctionData(functionFragment: "token", values?: undefined): string;
|
|
@@ -70,8 +77,10 @@ export interface RAACNFTInterface extends Interface {
|
|
|
70
77
|
encodeFunctionData(functionFragment: "totalSupply", values?: undefined): string;
|
|
71
78
|
encodeFunctionData(functionFragment: "transferFrom", values: [AddressLike, AddressLike, BigNumberish]): string;
|
|
72
79
|
encodeFunctionData(functionFragment: "transferOwnership", values: [AddressLike]): string;
|
|
73
|
-
encodeFunctionData(functionFragment: "transferRole", values: [BytesLike, AddressLike]): string;
|
|
80
|
+
encodeFunctionData(functionFragment: "transferRole", values: [BytesLike, AddressLike, AddressLike]): string;
|
|
74
81
|
encodeFunctionData(functionFragment: "withdrawUnderlying", values: [AddressLike, AddressLike, BigNumberish]): string;
|
|
82
|
+
encodeFunctionData(functionFragment: "zkmeCooperator", values?: undefined): string;
|
|
83
|
+
encodeFunctionData(functionFragment: "zkmeVerify", values?: undefined): string;
|
|
75
84
|
decodeFunctionResult(functionFragment: "ADMIN_ROLE", data: BytesLike): Result;
|
|
76
85
|
decodeFunctionResult(functionFragment: "DEFAULT_ADMIN_ROLE", data: BytesLike): Result;
|
|
77
86
|
decodeFunctionResult(functionFragment: "MAX_FEE_PERCENTAGE", data: BytesLike): Result;
|
|
@@ -81,9 +90,11 @@ export interface RAACNFTInterface extends Interface {
|
|
|
81
90
|
decodeFunctionResult(functionFragment: "WITHDRAW_ROLE", data: BytesLike): Result;
|
|
82
91
|
decodeFunctionResult(functionFragment: "addMinter", data: BytesLike): Result;
|
|
83
92
|
decodeFunctionResult(functionFragment: "allowBurning", data: BytesLike): Result;
|
|
93
|
+
decodeFunctionResult(functionFragment: "allowMinting", data: BytesLike): Result;
|
|
84
94
|
decodeFunctionResult(functionFragment: "approve", data: BytesLike): Result;
|
|
85
95
|
decodeFunctionResult(functionFragment: "balanceOf", data: BytesLike): Result;
|
|
86
96
|
decodeFunctionResult(functionFragment: "baseURI", data: BytesLike): Result;
|
|
97
|
+
decodeFunctionResult(functionFragment: "burn", data: BytesLike): Result;
|
|
87
98
|
decodeFunctionResult(functionFragment: "complianceRegistry", data: BytesLike): Result;
|
|
88
99
|
decodeFunctionResult(functionFragment: "feeCollector", data: BytesLike): Result;
|
|
89
100
|
decodeFunctionResult(functionFragment: "getAllTokens()", data: BytesLike): Result;
|
|
@@ -113,13 +124,18 @@ export interface RAACNFTInterface extends Interface {
|
|
|
113
124
|
decodeFunctionResult(functionFragment: "safeTransferFrom(address,address,uint256)", data: BytesLike): Result;
|
|
114
125
|
decodeFunctionResult(functionFragment: "safeTransferFrom(address,address,uint256,bytes)", data: BytesLike): Result;
|
|
115
126
|
decodeFunctionResult(functionFragment: "setAllowBurning", data: BytesLike): Result;
|
|
127
|
+
decodeFunctionResult(functionFragment: "setAllowMinting", data: BytesLike): Result;
|
|
116
128
|
decodeFunctionResult(functionFragment: "setApprovalForAll", data: BytesLike): Result;
|
|
117
129
|
decodeFunctionResult(functionFragment: "setBaseUri", data: BytesLike): Result;
|
|
118
130
|
decodeFunctionResult(functionFragment: "setFeeCollector", data: BytesLike): Result;
|
|
131
|
+
decodeFunctionResult(functionFragment: "setHousePriceOracle", data: BytesLike): Result;
|
|
119
132
|
decodeFunctionResult(functionFragment: "setMaxFee", data: BytesLike): Result;
|
|
120
133
|
decodeFunctionResult(functionFragment: "setMintFee", data: BytesLike): Result;
|
|
121
134
|
decodeFunctionResult(functionFragment: "setNFTRoyaltyFeeCollector", data: BytesLike): Result;
|
|
135
|
+
decodeFunctionResult(functionFragment: "setPriceStalenessThreshold", data: BytesLike): Result;
|
|
122
136
|
decodeFunctionResult(functionFragment: "setTradeFee", data: BytesLike): Result;
|
|
137
|
+
decodeFunctionResult(functionFragment: "setZKMECooperator", data: BytesLike): Result;
|
|
138
|
+
decodeFunctionResult(functionFragment: "setZKMEVerify", data: BytesLike): Result;
|
|
123
139
|
decodeFunctionResult(functionFragment: "supportsInterface", data: BytesLike): Result;
|
|
124
140
|
decodeFunctionResult(functionFragment: "symbol", data: BytesLike): Result;
|
|
125
141
|
decodeFunctionResult(functionFragment: "token", data: BytesLike): Result;
|
|
@@ -131,6 +147,8 @@ export interface RAACNFTInterface extends Interface {
|
|
|
131
147
|
decodeFunctionResult(functionFragment: "transferOwnership", data: BytesLike): Result;
|
|
132
148
|
decodeFunctionResult(functionFragment: "transferRole", data: BytesLike): Result;
|
|
133
149
|
decodeFunctionResult(functionFragment: "withdrawUnderlying", data: BytesLike): Result;
|
|
150
|
+
decodeFunctionResult(functionFragment: "zkmeCooperator", data: BytesLike): Result;
|
|
151
|
+
decodeFunctionResult(functionFragment: "zkmeVerify", data: BytesLike): Result;
|
|
134
152
|
}
|
|
135
153
|
export declare namespace AllowBurningUpdatedEvent {
|
|
136
154
|
type InputTuple = [allowBurning: boolean];
|
|
@@ -143,6 +161,17 @@ export declare namespace AllowBurningUpdatedEvent {
|
|
|
143
161
|
type Log = TypedEventLog<Event>;
|
|
144
162
|
type LogDescription = TypedLogDescription<Event>;
|
|
145
163
|
}
|
|
164
|
+
export declare namespace AllowMintingUpdatedEvent {
|
|
165
|
+
type InputTuple = [allowMinting: boolean];
|
|
166
|
+
type OutputTuple = [allowMinting: boolean];
|
|
167
|
+
interface OutputObject {
|
|
168
|
+
allowMinting: boolean;
|
|
169
|
+
}
|
|
170
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
171
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
172
|
+
type Log = TypedEventLog<Event>;
|
|
173
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
174
|
+
}
|
|
146
175
|
export declare namespace ApprovalEvent {
|
|
147
176
|
type InputTuple = [
|
|
148
177
|
owner: AddressLike,
|
|
@@ -192,6 +221,28 @@ export declare namespace BaseURIUpdatedEvent {
|
|
|
192
221
|
type Log = TypedEventLog<Event>;
|
|
193
222
|
type LogDescription = TypedLogDescription<Event>;
|
|
194
223
|
}
|
|
224
|
+
export declare namespace FeeCollectorUpdatedEvent {
|
|
225
|
+
type InputTuple = [feeCollector: AddressLike];
|
|
226
|
+
type OutputTuple = [feeCollector: string];
|
|
227
|
+
interface OutputObject {
|
|
228
|
+
feeCollector: string;
|
|
229
|
+
}
|
|
230
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
231
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
232
|
+
type Log = TypedEventLog<Event>;
|
|
233
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
234
|
+
}
|
|
235
|
+
export declare namespace HousePriceOracleUpdatedEvent {
|
|
236
|
+
type InputTuple = [housePrices: AddressLike];
|
|
237
|
+
type OutputTuple = [housePrices: string];
|
|
238
|
+
interface OutputObject {
|
|
239
|
+
housePrices: string;
|
|
240
|
+
}
|
|
241
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
242
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
243
|
+
type Log = TypedEventLog<Event>;
|
|
244
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
245
|
+
}
|
|
195
246
|
export declare namespace MaxFeeUpdatedEvent {
|
|
196
247
|
type InputTuple = [maxFee: BigNumberish];
|
|
197
248
|
type OutputTuple = [maxFee: bigint];
|
|
@@ -214,27 +265,6 @@ export declare namespace MintFeeUpdatedEvent {
|
|
|
214
265
|
type Log = TypedEventLog<Event>;
|
|
215
266
|
type LogDescription = TypedLogDescription<Event>;
|
|
216
267
|
}
|
|
217
|
-
export declare namespace MinterRoleTransferredEvent {
|
|
218
|
-
type InputTuple = [
|
|
219
|
-
role: BytesLike,
|
|
220
|
-
previousMinter: AddressLike,
|
|
221
|
-
newMinter: AddressLike
|
|
222
|
-
];
|
|
223
|
-
type OutputTuple = [
|
|
224
|
-
role: string,
|
|
225
|
-
previousMinter: string,
|
|
226
|
-
newMinter: string
|
|
227
|
-
];
|
|
228
|
-
interface OutputObject {
|
|
229
|
-
role: string;
|
|
230
|
-
previousMinter: string;
|
|
231
|
-
newMinter: string;
|
|
232
|
-
}
|
|
233
|
-
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
234
|
-
type Filter = TypedDeferredTopicFilter<Event>;
|
|
235
|
-
type Log = TypedEventLog<Event>;
|
|
236
|
-
type LogDescription = TypedLogDescription<Event>;
|
|
237
|
-
}
|
|
238
268
|
export declare namespace NFTFeePaidEvent {
|
|
239
269
|
type InputTuple = [payer: AddressLike, fee: BigNumberish];
|
|
240
270
|
type OutputTuple = [payer: string, fee: bigint];
|
|
@@ -282,6 +312,17 @@ export declare namespace NFTMintedEvent {
|
|
|
282
312
|
type Log = TypedEventLog<Event>;
|
|
283
313
|
type LogDescription = TypedLogDescription<Event>;
|
|
284
314
|
}
|
|
315
|
+
export declare namespace NFTRoyaltyFeeCollectorUpdatedEvent {
|
|
316
|
+
type InputTuple = [nftRoyaltyFeeCollector: AddressLike];
|
|
317
|
+
type OutputTuple = [nftRoyaltyFeeCollector: string];
|
|
318
|
+
interface OutputObject {
|
|
319
|
+
nftRoyaltyFeeCollector: string;
|
|
320
|
+
}
|
|
321
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
322
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
323
|
+
type Log = TypedEventLog<Event>;
|
|
324
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
325
|
+
}
|
|
285
326
|
export declare namespace OwnershipTransferredEvent {
|
|
286
327
|
type InputTuple = [previousOwner: AddressLike, newOwner: AddressLike];
|
|
287
328
|
type OutputTuple = [previousOwner: string, newOwner: string];
|
|
@@ -294,6 +335,21 @@ export declare namespace OwnershipTransferredEvent {
|
|
|
294
335
|
type Log = TypedEventLog<Event>;
|
|
295
336
|
type LogDescription = TypedLogDescription<Event>;
|
|
296
337
|
}
|
|
338
|
+
export declare namespace PriceStalenessThresholdUpdatedEvent {
|
|
339
|
+
type InputTuple = [
|
|
340
|
+
oldThreshold: BigNumberish,
|
|
341
|
+
newThreshold: BigNumberish
|
|
342
|
+
];
|
|
343
|
+
type OutputTuple = [oldThreshold: bigint, newThreshold: bigint];
|
|
344
|
+
interface OutputObject {
|
|
345
|
+
oldThreshold: bigint;
|
|
346
|
+
newThreshold: bigint;
|
|
347
|
+
}
|
|
348
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
349
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
350
|
+
type Log = TypedEventLog<Event>;
|
|
351
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
352
|
+
}
|
|
297
353
|
export declare namespace RoleAdminChangedEvent {
|
|
298
354
|
type InputTuple = [
|
|
299
355
|
role: BytesLike,
|
|
@@ -349,6 +405,27 @@ export declare namespace RoleRevokedEvent {
|
|
|
349
405
|
type Log = TypedEventLog<Event>;
|
|
350
406
|
type LogDescription = TypedLogDescription<Event>;
|
|
351
407
|
}
|
|
408
|
+
export declare namespace RoleTransferredEvent {
|
|
409
|
+
type InputTuple = [
|
|
410
|
+
role: BytesLike,
|
|
411
|
+
previousAddress: AddressLike,
|
|
412
|
+
newAddress: AddressLike
|
|
413
|
+
];
|
|
414
|
+
type OutputTuple = [
|
|
415
|
+
role: string,
|
|
416
|
+
previousAddress: string,
|
|
417
|
+
newAddress: string
|
|
418
|
+
];
|
|
419
|
+
interface OutputObject {
|
|
420
|
+
role: string;
|
|
421
|
+
previousAddress: string;
|
|
422
|
+
newAddress: string;
|
|
423
|
+
}
|
|
424
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
425
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
426
|
+
type Log = TypedEventLog<Event>;
|
|
427
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
428
|
+
}
|
|
352
429
|
export declare namespace TradeFeeUpdatedEvent {
|
|
353
430
|
type InputTuple = [tradeFee: BigNumberish];
|
|
354
431
|
type OutputTuple = [tradeFee: bigint];
|
|
@@ -377,6 +454,28 @@ export declare namespace TransferEvent {
|
|
|
377
454
|
type Log = TypedEventLog<Event>;
|
|
378
455
|
type LogDescription = TypedLogDescription<Event>;
|
|
379
456
|
}
|
|
457
|
+
export declare namespace ZKMECooperatorUpdatedEvent {
|
|
458
|
+
type InputTuple = [zkmeCooperator: AddressLike];
|
|
459
|
+
type OutputTuple = [zkmeCooperator: string];
|
|
460
|
+
interface OutputObject {
|
|
461
|
+
zkmeCooperator: string;
|
|
462
|
+
}
|
|
463
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
464
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
465
|
+
type Log = TypedEventLog<Event>;
|
|
466
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
467
|
+
}
|
|
468
|
+
export declare namespace ZKMEVerifyUpdatedEvent {
|
|
469
|
+
type InputTuple = [zkmeVerify: AddressLike];
|
|
470
|
+
type OutputTuple = [zkmeVerify: string];
|
|
471
|
+
interface OutputObject {
|
|
472
|
+
zkmeVerify: string;
|
|
473
|
+
}
|
|
474
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
475
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
476
|
+
type Log = TypedEventLog<Event>;
|
|
477
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
478
|
+
}
|
|
380
479
|
export interface RAACNFT extends BaseContract {
|
|
381
480
|
connect(runner?: ContractRunner | null): RAACNFT;
|
|
382
481
|
waitForDeployment(): Promise<this>;
|
|
@@ -399,6 +498,7 @@ export interface RAACNFT extends BaseContract {
|
|
|
399
498
|
WITHDRAW_ROLE: TypedContractMethod<[], [string], "view">;
|
|
400
499
|
addMinter: TypedContractMethod<[minter: AddressLike], [void], "nonpayable">;
|
|
401
500
|
allowBurning: TypedContractMethod<[], [boolean], "view">;
|
|
501
|
+
allowMinting: TypedContractMethod<[], [boolean], "view">;
|
|
402
502
|
approve: TypedContractMethod<[
|
|
403
503
|
to: AddressLike,
|
|
404
504
|
tokenId: BigNumberish
|
|
@@ -407,6 +507,7 @@ export interface RAACNFT extends BaseContract {
|
|
|
407
507
|
], "nonpayable">;
|
|
408
508
|
balanceOf: TypedContractMethod<[owner: AddressLike], [bigint], "view">;
|
|
409
509
|
baseURI: TypedContractMethod<[], [string], "view">;
|
|
510
|
+
burn: TypedContractMethod<[tokenId: BigNumberish], [void], "nonpayable">;
|
|
410
511
|
complianceRegistry: TypedContractMethod<[], [string], "view">;
|
|
411
512
|
feeCollector: TypedContractMethod<[], [string], "view">;
|
|
412
513
|
"getAllTokens()": TypedContractMethod<[], [bigint[]], "view">;
|
|
@@ -522,6 +623,11 @@ export interface RAACNFT extends BaseContract {
|
|
|
522
623
|
], [
|
|
523
624
|
void
|
|
524
625
|
], "nonpayable">;
|
|
626
|
+
setAllowMinting: TypedContractMethod<[
|
|
627
|
+
_allowMinting: boolean
|
|
628
|
+
], [
|
|
629
|
+
void
|
|
630
|
+
], "nonpayable">;
|
|
525
631
|
setApprovalForAll: TypedContractMethod<[
|
|
526
632
|
operator: AddressLike,
|
|
527
633
|
approved: boolean
|
|
@@ -534,6 +640,11 @@ export interface RAACNFT extends BaseContract {
|
|
|
534
640
|
], [
|
|
535
641
|
void
|
|
536
642
|
], "nonpayable">;
|
|
643
|
+
setHousePriceOracle: TypedContractMethod<[
|
|
644
|
+
_housePrices: AddressLike
|
|
645
|
+
], [
|
|
646
|
+
void
|
|
647
|
+
], "nonpayable">;
|
|
537
648
|
setMaxFee: TypedContractMethod<[
|
|
538
649
|
_maxFeePercentage: BigNumberish
|
|
539
650
|
], [
|
|
@@ -545,11 +656,26 @@ export interface RAACNFT extends BaseContract {
|
|
|
545
656
|
], [
|
|
546
657
|
void
|
|
547
658
|
], "nonpayable">;
|
|
659
|
+
setPriceStalenessThreshold: TypedContractMethod<[
|
|
660
|
+
_threshold: BigNumberish
|
|
661
|
+
], [
|
|
662
|
+
void
|
|
663
|
+
], "nonpayable">;
|
|
548
664
|
setTradeFee: TypedContractMethod<[
|
|
549
665
|
_tradeFeePercentage: BigNumberish
|
|
550
666
|
], [
|
|
551
667
|
void
|
|
552
668
|
], "nonpayable">;
|
|
669
|
+
setZKMECooperator: TypedContractMethod<[
|
|
670
|
+
_zkmeCooperator: AddressLike
|
|
671
|
+
], [
|
|
672
|
+
void
|
|
673
|
+
], "nonpayable">;
|
|
674
|
+
setZKMEVerify: TypedContractMethod<[
|
|
675
|
+
_zkmeVerify: AddressLike
|
|
676
|
+
], [
|
|
677
|
+
void
|
|
678
|
+
], "nonpayable">;
|
|
553
679
|
supportsInterface: TypedContractMethod<[
|
|
554
680
|
interfaceId: BytesLike
|
|
555
681
|
], [
|
|
@@ -564,7 +690,7 @@ export interface RAACNFT extends BaseContract {
|
|
|
564
690
|
], [
|
|
565
691
|
bigint
|
|
566
692
|
], "view">;
|
|
567
|
-
tokenURI: TypedContractMethod<[
|
|
693
|
+
tokenURI: TypedContractMethod<[tokenId: BigNumberish], [string], "view">;
|
|
568
694
|
totalSupply: TypedContractMethod<[], [bigint], "view">;
|
|
569
695
|
transferFrom: TypedContractMethod<[
|
|
570
696
|
from: AddressLike,
|
|
@@ -580,7 +706,8 @@ export interface RAACNFT extends BaseContract {
|
|
|
580
706
|
], "nonpayable">;
|
|
581
707
|
transferRole: TypedContractMethod<[
|
|
582
708
|
role: BytesLike,
|
|
583
|
-
|
|
709
|
+
oldAddress: AddressLike,
|
|
710
|
+
newAddress: AddressLike
|
|
584
711
|
], [
|
|
585
712
|
void
|
|
586
713
|
], "nonpayable">;
|
|
@@ -591,6 +718,8 @@ export interface RAACNFT extends BaseContract {
|
|
|
591
718
|
], [
|
|
592
719
|
boolean
|
|
593
720
|
], "nonpayable">;
|
|
721
|
+
zkmeCooperator: TypedContractMethod<[], [string], "view">;
|
|
722
|
+
zkmeVerify: TypedContractMethod<[], [string], "view">;
|
|
594
723
|
getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
|
|
595
724
|
getFunction(nameOrSignature: "ADMIN_ROLE"): TypedContractMethod<[], [string], "view">;
|
|
596
725
|
getFunction(nameOrSignature: "DEFAULT_ADMIN_ROLE"): TypedContractMethod<[], [string], "view">;
|
|
@@ -601,6 +730,7 @@ export interface RAACNFT extends BaseContract {
|
|
|
601
730
|
getFunction(nameOrSignature: "WITHDRAW_ROLE"): TypedContractMethod<[], [string], "view">;
|
|
602
731
|
getFunction(nameOrSignature: "addMinter"): TypedContractMethod<[minter: AddressLike], [void], "nonpayable">;
|
|
603
732
|
getFunction(nameOrSignature: "allowBurning"): TypedContractMethod<[], [boolean], "view">;
|
|
733
|
+
getFunction(nameOrSignature: "allowMinting"): TypedContractMethod<[], [boolean], "view">;
|
|
604
734
|
getFunction(nameOrSignature: "approve"): TypedContractMethod<[
|
|
605
735
|
to: AddressLike,
|
|
606
736
|
tokenId: BigNumberish
|
|
@@ -609,6 +739,7 @@ export interface RAACNFT extends BaseContract {
|
|
|
609
739
|
], "nonpayable">;
|
|
610
740
|
getFunction(nameOrSignature: "balanceOf"): TypedContractMethod<[owner: AddressLike], [bigint], "view">;
|
|
611
741
|
getFunction(nameOrSignature: "baseURI"): TypedContractMethod<[], [string], "view">;
|
|
742
|
+
getFunction(nameOrSignature: "burn"): TypedContractMethod<[tokenId: BigNumberish], [void], "nonpayable">;
|
|
612
743
|
getFunction(nameOrSignature: "complianceRegistry"): TypedContractMethod<[], [string], "view">;
|
|
613
744
|
getFunction(nameOrSignature: "feeCollector"): TypedContractMethod<[], [string], "view">;
|
|
614
745
|
getFunction(nameOrSignature: "getAllTokens()"): TypedContractMethod<[], [bigint[]], "view">;
|
|
@@ -705,6 +836,7 @@ export interface RAACNFT extends BaseContract {
|
|
|
705
836
|
void
|
|
706
837
|
], "nonpayable">;
|
|
707
838
|
getFunction(nameOrSignature: "setAllowBurning"): TypedContractMethod<[_allowBurning: boolean], [void], "nonpayable">;
|
|
839
|
+
getFunction(nameOrSignature: "setAllowMinting"): TypedContractMethod<[_allowMinting: boolean], [void], "nonpayable">;
|
|
708
840
|
getFunction(nameOrSignature: "setApprovalForAll"): TypedContractMethod<[
|
|
709
841
|
operator: AddressLike,
|
|
710
842
|
approved: boolean
|
|
@@ -713,6 +845,7 @@ export interface RAACNFT extends BaseContract {
|
|
|
713
845
|
], "nonpayable">;
|
|
714
846
|
getFunction(nameOrSignature: "setBaseUri"): TypedContractMethod<[_uri: string], [void], "nonpayable">;
|
|
715
847
|
getFunction(nameOrSignature: "setFeeCollector"): TypedContractMethod<[_feeCollector: AddressLike], [void], "nonpayable">;
|
|
848
|
+
getFunction(nameOrSignature: "setHousePriceOracle"): TypedContractMethod<[_housePrices: AddressLike], [void], "nonpayable">;
|
|
716
849
|
getFunction(nameOrSignature: "setMaxFee"): TypedContractMethod<[
|
|
717
850
|
_maxFeePercentage: BigNumberish
|
|
718
851
|
], [
|
|
@@ -720,11 +853,14 @@ export interface RAACNFT extends BaseContract {
|
|
|
720
853
|
], "nonpayable">;
|
|
721
854
|
getFunction(nameOrSignature: "setMintFee"): TypedContractMethod<[newFee: BigNumberish], [void], "nonpayable">;
|
|
722
855
|
getFunction(nameOrSignature: "setNFTRoyaltyFeeCollector"): TypedContractMethod<[_address: AddressLike], [void], "nonpayable">;
|
|
856
|
+
getFunction(nameOrSignature: "setPriceStalenessThreshold"): TypedContractMethod<[_threshold: BigNumberish], [void], "nonpayable">;
|
|
723
857
|
getFunction(nameOrSignature: "setTradeFee"): TypedContractMethod<[
|
|
724
858
|
_tradeFeePercentage: BigNumberish
|
|
725
859
|
], [
|
|
726
860
|
void
|
|
727
861
|
], "nonpayable">;
|
|
862
|
+
getFunction(nameOrSignature: "setZKMECooperator"): TypedContractMethod<[_zkmeCooperator: AddressLike], [void], "nonpayable">;
|
|
863
|
+
getFunction(nameOrSignature: "setZKMEVerify"): TypedContractMethod<[_zkmeVerify: AddressLike], [void], "nonpayable">;
|
|
728
864
|
getFunction(nameOrSignature: "supportsInterface"): TypedContractMethod<[interfaceId: BytesLike], [boolean], "view">;
|
|
729
865
|
getFunction(nameOrSignature: "symbol"): TypedContractMethod<[], [string], "view">;
|
|
730
866
|
getFunction(nameOrSignature: "token"): TypedContractMethod<[], [string], "view">;
|
|
@@ -735,7 +871,7 @@ export interface RAACNFT extends BaseContract {
|
|
|
735
871
|
], [
|
|
736
872
|
bigint
|
|
737
873
|
], "view">;
|
|
738
|
-
getFunction(nameOrSignature: "tokenURI"): TypedContractMethod<[
|
|
874
|
+
getFunction(nameOrSignature: "tokenURI"): TypedContractMethod<[tokenId: BigNumberish], [string], "view">;
|
|
739
875
|
getFunction(nameOrSignature: "totalSupply"): TypedContractMethod<[], [bigint], "view">;
|
|
740
876
|
getFunction(nameOrSignature: "transferFrom"): TypedContractMethod<[
|
|
741
877
|
from: AddressLike,
|
|
@@ -747,7 +883,8 @@ export interface RAACNFT extends BaseContract {
|
|
|
747
883
|
getFunction(nameOrSignature: "transferOwnership"): TypedContractMethod<[newOwner: AddressLike], [void], "nonpayable">;
|
|
748
884
|
getFunction(nameOrSignature: "transferRole"): TypedContractMethod<[
|
|
749
885
|
role: BytesLike,
|
|
750
|
-
|
|
886
|
+
oldAddress: AddressLike,
|
|
887
|
+
newAddress: AddressLike
|
|
751
888
|
], [
|
|
752
889
|
void
|
|
753
890
|
], "nonpayable">;
|
|
@@ -758,54 +895,77 @@ export interface RAACNFT extends BaseContract {
|
|
|
758
895
|
], [
|
|
759
896
|
boolean
|
|
760
897
|
], "nonpayable">;
|
|
898
|
+
getFunction(nameOrSignature: "zkmeCooperator"): TypedContractMethod<[], [string], "view">;
|
|
899
|
+
getFunction(nameOrSignature: "zkmeVerify"): TypedContractMethod<[], [string], "view">;
|
|
761
900
|
getEvent(key: "AllowBurningUpdated"): TypedContractEvent<AllowBurningUpdatedEvent.InputTuple, AllowBurningUpdatedEvent.OutputTuple, AllowBurningUpdatedEvent.OutputObject>;
|
|
901
|
+
getEvent(key: "AllowMintingUpdated"): TypedContractEvent<AllowMintingUpdatedEvent.InputTuple, AllowMintingUpdatedEvent.OutputTuple, AllowMintingUpdatedEvent.OutputObject>;
|
|
762
902
|
getEvent(key: "Approval"): TypedContractEvent<ApprovalEvent.InputTuple, ApprovalEvent.OutputTuple, ApprovalEvent.OutputObject>;
|
|
763
903
|
getEvent(key: "ApprovalForAll"): TypedContractEvent<ApprovalForAllEvent.InputTuple, ApprovalForAllEvent.OutputTuple, ApprovalForAllEvent.OutputObject>;
|
|
764
904
|
getEvent(key: "BaseURIUpdated"): TypedContractEvent<BaseURIUpdatedEvent.InputTuple, BaseURIUpdatedEvent.OutputTuple, BaseURIUpdatedEvent.OutputObject>;
|
|
905
|
+
getEvent(key: "FeeCollectorUpdated"): TypedContractEvent<FeeCollectorUpdatedEvent.InputTuple, FeeCollectorUpdatedEvent.OutputTuple, FeeCollectorUpdatedEvent.OutputObject>;
|
|
906
|
+
getEvent(key: "HousePriceOracleUpdated"): TypedContractEvent<HousePriceOracleUpdatedEvent.InputTuple, HousePriceOracleUpdatedEvent.OutputTuple, HousePriceOracleUpdatedEvent.OutputObject>;
|
|
765
907
|
getEvent(key: "MaxFeeUpdated"): TypedContractEvent<MaxFeeUpdatedEvent.InputTuple, MaxFeeUpdatedEvent.OutputTuple, MaxFeeUpdatedEvent.OutputObject>;
|
|
766
908
|
getEvent(key: "MintFeeUpdated"): TypedContractEvent<MintFeeUpdatedEvent.InputTuple, MintFeeUpdatedEvent.OutputTuple, MintFeeUpdatedEvent.OutputObject>;
|
|
767
|
-
getEvent(key: "MinterRoleTransferred"): TypedContractEvent<MinterRoleTransferredEvent.InputTuple, MinterRoleTransferredEvent.OutputTuple, MinterRoleTransferredEvent.OutputObject>;
|
|
768
909
|
getEvent(key: "NFTFeePaid"): TypedContractEvent<NFTFeePaidEvent.InputTuple, NFTFeePaidEvent.OutputTuple, NFTFeePaidEvent.OutputObject>;
|
|
769
910
|
getEvent(key: "NFTFeeUpdated"): TypedContractEvent<NFTFeeUpdatedEvent.InputTuple, NFTFeeUpdatedEvent.OutputTuple, NFTFeeUpdatedEvent.OutputObject>;
|
|
770
911
|
getEvent(key: "NFTMinted"): TypedContractEvent<NFTMintedEvent.InputTuple, NFTMintedEvent.OutputTuple, NFTMintedEvent.OutputObject>;
|
|
912
|
+
getEvent(key: "NFTRoyaltyFeeCollectorUpdated"): TypedContractEvent<NFTRoyaltyFeeCollectorUpdatedEvent.InputTuple, NFTRoyaltyFeeCollectorUpdatedEvent.OutputTuple, NFTRoyaltyFeeCollectorUpdatedEvent.OutputObject>;
|
|
771
913
|
getEvent(key: "OwnershipTransferred"): TypedContractEvent<OwnershipTransferredEvent.InputTuple, OwnershipTransferredEvent.OutputTuple, OwnershipTransferredEvent.OutputObject>;
|
|
914
|
+
getEvent(key: "PriceStalenessThresholdUpdated"): TypedContractEvent<PriceStalenessThresholdUpdatedEvent.InputTuple, PriceStalenessThresholdUpdatedEvent.OutputTuple, PriceStalenessThresholdUpdatedEvent.OutputObject>;
|
|
772
915
|
getEvent(key: "RoleAdminChanged"): TypedContractEvent<RoleAdminChangedEvent.InputTuple, RoleAdminChangedEvent.OutputTuple, RoleAdminChangedEvent.OutputObject>;
|
|
773
916
|
getEvent(key: "RoleGranted"): TypedContractEvent<RoleGrantedEvent.InputTuple, RoleGrantedEvent.OutputTuple, RoleGrantedEvent.OutputObject>;
|
|
774
917
|
getEvent(key: "RoleRevoked"): TypedContractEvent<RoleRevokedEvent.InputTuple, RoleRevokedEvent.OutputTuple, RoleRevokedEvent.OutputObject>;
|
|
918
|
+
getEvent(key: "RoleTransferred"): TypedContractEvent<RoleTransferredEvent.InputTuple, RoleTransferredEvent.OutputTuple, RoleTransferredEvent.OutputObject>;
|
|
775
919
|
getEvent(key: "TradeFeeUpdated"): TypedContractEvent<TradeFeeUpdatedEvent.InputTuple, TradeFeeUpdatedEvent.OutputTuple, TradeFeeUpdatedEvent.OutputObject>;
|
|
776
920
|
getEvent(key: "Transfer"): TypedContractEvent<TransferEvent.InputTuple, TransferEvent.OutputTuple, TransferEvent.OutputObject>;
|
|
921
|
+
getEvent(key: "ZKMECooperatorUpdated"): TypedContractEvent<ZKMECooperatorUpdatedEvent.InputTuple, ZKMECooperatorUpdatedEvent.OutputTuple, ZKMECooperatorUpdatedEvent.OutputObject>;
|
|
922
|
+
getEvent(key: "ZKMEVerifyUpdated"): TypedContractEvent<ZKMEVerifyUpdatedEvent.InputTuple, ZKMEVerifyUpdatedEvent.OutputTuple, ZKMEVerifyUpdatedEvent.OutputObject>;
|
|
777
923
|
filters: {
|
|
778
924
|
"AllowBurningUpdated(bool)": TypedContractEvent<AllowBurningUpdatedEvent.InputTuple, AllowBurningUpdatedEvent.OutputTuple, AllowBurningUpdatedEvent.OutputObject>;
|
|
779
925
|
AllowBurningUpdated: TypedContractEvent<AllowBurningUpdatedEvent.InputTuple, AllowBurningUpdatedEvent.OutputTuple, AllowBurningUpdatedEvent.OutputObject>;
|
|
926
|
+
"AllowMintingUpdated(bool)": TypedContractEvent<AllowMintingUpdatedEvent.InputTuple, AllowMintingUpdatedEvent.OutputTuple, AllowMintingUpdatedEvent.OutputObject>;
|
|
927
|
+
AllowMintingUpdated: TypedContractEvent<AllowMintingUpdatedEvent.InputTuple, AllowMintingUpdatedEvent.OutputTuple, AllowMintingUpdatedEvent.OutputObject>;
|
|
780
928
|
"Approval(address,address,uint256)": TypedContractEvent<ApprovalEvent.InputTuple, ApprovalEvent.OutputTuple, ApprovalEvent.OutputObject>;
|
|
781
929
|
Approval: TypedContractEvent<ApprovalEvent.InputTuple, ApprovalEvent.OutputTuple, ApprovalEvent.OutputObject>;
|
|
782
930
|
"ApprovalForAll(address,address,bool)": TypedContractEvent<ApprovalForAllEvent.InputTuple, ApprovalForAllEvent.OutputTuple, ApprovalForAllEvent.OutputObject>;
|
|
783
931
|
ApprovalForAll: TypedContractEvent<ApprovalForAllEvent.InputTuple, ApprovalForAllEvent.OutputTuple, ApprovalForAllEvent.OutputObject>;
|
|
784
932
|
"BaseURIUpdated(string)": TypedContractEvent<BaseURIUpdatedEvent.InputTuple, BaseURIUpdatedEvent.OutputTuple, BaseURIUpdatedEvent.OutputObject>;
|
|
785
933
|
BaseURIUpdated: TypedContractEvent<BaseURIUpdatedEvent.InputTuple, BaseURIUpdatedEvent.OutputTuple, BaseURIUpdatedEvent.OutputObject>;
|
|
934
|
+
"FeeCollectorUpdated(address)": TypedContractEvent<FeeCollectorUpdatedEvent.InputTuple, FeeCollectorUpdatedEvent.OutputTuple, FeeCollectorUpdatedEvent.OutputObject>;
|
|
935
|
+
FeeCollectorUpdated: TypedContractEvent<FeeCollectorUpdatedEvent.InputTuple, FeeCollectorUpdatedEvent.OutputTuple, FeeCollectorUpdatedEvent.OutputObject>;
|
|
936
|
+
"HousePriceOracleUpdated(address)": TypedContractEvent<HousePriceOracleUpdatedEvent.InputTuple, HousePriceOracleUpdatedEvent.OutputTuple, HousePriceOracleUpdatedEvent.OutputObject>;
|
|
937
|
+
HousePriceOracleUpdated: TypedContractEvent<HousePriceOracleUpdatedEvent.InputTuple, HousePriceOracleUpdatedEvent.OutputTuple, HousePriceOracleUpdatedEvent.OutputObject>;
|
|
786
938
|
"MaxFeeUpdated(uint256)": TypedContractEvent<MaxFeeUpdatedEvent.InputTuple, MaxFeeUpdatedEvent.OutputTuple, MaxFeeUpdatedEvent.OutputObject>;
|
|
787
939
|
MaxFeeUpdated: TypedContractEvent<MaxFeeUpdatedEvent.InputTuple, MaxFeeUpdatedEvent.OutputTuple, MaxFeeUpdatedEvent.OutputObject>;
|
|
788
940
|
"MintFeeUpdated(uint256)": TypedContractEvent<MintFeeUpdatedEvent.InputTuple, MintFeeUpdatedEvent.OutputTuple, MintFeeUpdatedEvent.OutputObject>;
|
|
789
941
|
MintFeeUpdated: TypedContractEvent<MintFeeUpdatedEvent.InputTuple, MintFeeUpdatedEvent.OutputTuple, MintFeeUpdatedEvent.OutputObject>;
|
|
790
|
-
"MinterRoleTransferred(bytes32,address,address)": TypedContractEvent<MinterRoleTransferredEvent.InputTuple, MinterRoleTransferredEvent.OutputTuple, MinterRoleTransferredEvent.OutputObject>;
|
|
791
|
-
MinterRoleTransferred: TypedContractEvent<MinterRoleTransferredEvent.InputTuple, MinterRoleTransferredEvent.OutputTuple, MinterRoleTransferredEvent.OutputObject>;
|
|
792
942
|
"NFTFeePaid(address,uint256)": TypedContractEvent<NFTFeePaidEvent.InputTuple, NFTFeePaidEvent.OutputTuple, NFTFeePaidEvent.OutputObject>;
|
|
793
943
|
NFTFeePaid: TypedContractEvent<NFTFeePaidEvent.InputTuple, NFTFeePaidEvent.OutputTuple, NFTFeePaidEvent.OutputObject>;
|
|
794
944
|
"NFTFeeUpdated(uint256)": TypedContractEvent<NFTFeeUpdatedEvent.InputTuple, NFTFeeUpdatedEvent.OutputTuple, NFTFeeUpdatedEvent.OutputObject>;
|
|
795
945
|
NFTFeeUpdated: TypedContractEvent<NFTFeeUpdatedEvent.InputTuple, NFTFeeUpdatedEvent.OutputTuple, NFTFeeUpdatedEvent.OutputObject>;
|
|
796
946
|
"NFTMinted(address,uint256,uint256,uint256)": TypedContractEvent<NFTMintedEvent.InputTuple, NFTMintedEvent.OutputTuple, NFTMintedEvent.OutputObject>;
|
|
797
947
|
NFTMinted: TypedContractEvent<NFTMintedEvent.InputTuple, NFTMintedEvent.OutputTuple, NFTMintedEvent.OutputObject>;
|
|
948
|
+
"NFTRoyaltyFeeCollectorUpdated(address)": TypedContractEvent<NFTRoyaltyFeeCollectorUpdatedEvent.InputTuple, NFTRoyaltyFeeCollectorUpdatedEvent.OutputTuple, NFTRoyaltyFeeCollectorUpdatedEvent.OutputObject>;
|
|
949
|
+
NFTRoyaltyFeeCollectorUpdated: TypedContractEvent<NFTRoyaltyFeeCollectorUpdatedEvent.InputTuple, NFTRoyaltyFeeCollectorUpdatedEvent.OutputTuple, NFTRoyaltyFeeCollectorUpdatedEvent.OutputObject>;
|
|
798
950
|
"OwnershipTransferred(address,address)": TypedContractEvent<OwnershipTransferredEvent.InputTuple, OwnershipTransferredEvent.OutputTuple, OwnershipTransferredEvent.OutputObject>;
|
|
799
951
|
OwnershipTransferred: TypedContractEvent<OwnershipTransferredEvent.InputTuple, OwnershipTransferredEvent.OutputTuple, OwnershipTransferredEvent.OutputObject>;
|
|
952
|
+
"PriceStalenessThresholdUpdated(uint256,uint256)": TypedContractEvent<PriceStalenessThresholdUpdatedEvent.InputTuple, PriceStalenessThresholdUpdatedEvent.OutputTuple, PriceStalenessThresholdUpdatedEvent.OutputObject>;
|
|
953
|
+
PriceStalenessThresholdUpdated: TypedContractEvent<PriceStalenessThresholdUpdatedEvent.InputTuple, PriceStalenessThresholdUpdatedEvent.OutputTuple, PriceStalenessThresholdUpdatedEvent.OutputObject>;
|
|
800
954
|
"RoleAdminChanged(bytes32,bytes32,bytes32)": TypedContractEvent<RoleAdminChangedEvent.InputTuple, RoleAdminChangedEvent.OutputTuple, RoleAdminChangedEvent.OutputObject>;
|
|
801
955
|
RoleAdminChanged: TypedContractEvent<RoleAdminChangedEvent.InputTuple, RoleAdminChangedEvent.OutputTuple, RoleAdminChangedEvent.OutputObject>;
|
|
802
956
|
"RoleGranted(bytes32,address,address)": TypedContractEvent<RoleGrantedEvent.InputTuple, RoleGrantedEvent.OutputTuple, RoleGrantedEvent.OutputObject>;
|
|
803
957
|
RoleGranted: TypedContractEvent<RoleGrantedEvent.InputTuple, RoleGrantedEvent.OutputTuple, RoleGrantedEvent.OutputObject>;
|
|
804
958
|
"RoleRevoked(bytes32,address,address)": TypedContractEvent<RoleRevokedEvent.InputTuple, RoleRevokedEvent.OutputTuple, RoleRevokedEvent.OutputObject>;
|
|
805
959
|
RoleRevoked: TypedContractEvent<RoleRevokedEvent.InputTuple, RoleRevokedEvent.OutputTuple, RoleRevokedEvent.OutputObject>;
|
|
960
|
+
"RoleTransferred(bytes32,address,address)": TypedContractEvent<RoleTransferredEvent.InputTuple, RoleTransferredEvent.OutputTuple, RoleTransferredEvent.OutputObject>;
|
|
961
|
+
RoleTransferred: TypedContractEvent<RoleTransferredEvent.InputTuple, RoleTransferredEvent.OutputTuple, RoleTransferredEvent.OutputObject>;
|
|
806
962
|
"TradeFeeUpdated(uint256)": TypedContractEvent<TradeFeeUpdatedEvent.InputTuple, TradeFeeUpdatedEvent.OutputTuple, TradeFeeUpdatedEvent.OutputObject>;
|
|
807
963
|
TradeFeeUpdated: TypedContractEvent<TradeFeeUpdatedEvent.InputTuple, TradeFeeUpdatedEvent.OutputTuple, TradeFeeUpdatedEvent.OutputObject>;
|
|
808
964
|
"Transfer(address,address,uint256)": TypedContractEvent<TransferEvent.InputTuple, TransferEvent.OutputTuple, TransferEvent.OutputObject>;
|
|
809
965
|
Transfer: TypedContractEvent<TransferEvent.InputTuple, TransferEvent.OutputTuple, TransferEvent.OutputObject>;
|
|
966
|
+
"ZKMECooperatorUpdated(address)": TypedContractEvent<ZKMECooperatorUpdatedEvent.InputTuple, ZKMECooperatorUpdatedEvent.OutputTuple, ZKMECooperatorUpdatedEvent.OutputObject>;
|
|
967
|
+
ZKMECooperatorUpdated: TypedContractEvent<ZKMECooperatorUpdatedEvent.InputTuple, ZKMECooperatorUpdatedEvent.OutputTuple, ZKMECooperatorUpdatedEvent.OutputObject>;
|
|
968
|
+
"ZKMEVerifyUpdated(address)": TypedContractEvent<ZKMEVerifyUpdatedEvent.InputTuple, ZKMEVerifyUpdatedEvent.OutputTuple, ZKMEVerifyUpdatedEvent.OutputObject>;
|
|
969
|
+
ZKMEVerifyUpdated: TypedContractEvent<ZKMEVerifyUpdatedEvent.InputTuple, ZKMEVerifyUpdatedEvent.OutputTuple, ZKMEVerifyUpdatedEvent.OutputObject>;
|
|
810
970
|
};
|
|
811
971
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface, EventFragment, AddressLike, ContractRunner, ContractMethod, Listener } from "ethers";
|
|
2
2
|
import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedLogDescription, TypedListener, TypedContractMethod } from "../../../common";
|
|
3
3
|
export interface RTokenInterface extends Interface {
|
|
4
|
-
getFunction(nameOrSignature: "DOMAIN_SEPARATOR" | "_assetAddress" | "allowance" | "approve" | "balanceOf" | "burn" | "calculateDustAmount" | "decimals" | "eip712Domain" | "getAssetAddress" | "getLendingPool" | "
|
|
4
|
+
getFunction(nameOrSignature: "DOMAIN_SEPARATOR" | "_assetAddress" | "allowance" | "approve" | "balanceOf" | "burn" | "calculateDustAmount" | "complianceRegistry" | "decimals" | "eip712Domain" | "getAssetAddress" | "getLendingPool" | "getRawTotalDeposits" | "getUserIndex" | "mint" | "name" | "nonces" | "owner" | "permit" | "rawBalanceOf" | "rawTotalSupply" | "renounceOwnership" | "rescueToken" | "setLendingPool" | "symbol" | "totalSupply" | "transfer" | "transferAccruedDust" | "transferAsset" | "transferFrom" | "transferOwnership"): FunctionFragment;
|
|
5
5
|
getEvent(nameOrSignatureOrTopic: "Approval" | "BalanceTransfer" | "Burn" | "BurnerSet" | "DustTransferred" | "EIP712DomainChanged" | "LendingPoolUpdated" | "LiquidityIndexUpdated" | "Mint" | "MinterSet" | "OwnershipTransferred" | "Transfer"): EventFragment;
|
|
6
6
|
encodeFunctionData(functionFragment: "DOMAIN_SEPARATOR", values?: undefined): string;
|
|
7
7
|
encodeFunctionData(functionFragment: "_assetAddress", values?: undefined): string;
|
|
@@ -10,11 +10,13 @@ export interface RTokenInterface extends Interface {
|
|
|
10
10
|
encodeFunctionData(functionFragment: "balanceOf", values: [AddressLike]): string;
|
|
11
11
|
encodeFunctionData(functionFragment: "burn", values: [AddressLike, AddressLike, BigNumberish, BigNumberish]): string;
|
|
12
12
|
encodeFunctionData(functionFragment: "calculateDustAmount", values?: undefined): string;
|
|
13
|
+
encodeFunctionData(functionFragment: "complianceRegistry", values?: undefined): string;
|
|
13
14
|
encodeFunctionData(functionFragment: "decimals", values?: undefined): string;
|
|
14
15
|
encodeFunctionData(functionFragment: "eip712Domain", values?: undefined): string;
|
|
15
16
|
encodeFunctionData(functionFragment: "getAssetAddress", values?: undefined): string;
|
|
16
17
|
encodeFunctionData(functionFragment: "getLendingPool", values?: undefined): string;
|
|
17
|
-
encodeFunctionData(functionFragment: "
|
|
18
|
+
encodeFunctionData(functionFragment: "getRawTotalDeposits", values?: undefined): string;
|
|
19
|
+
encodeFunctionData(functionFragment: "getUserIndex", values: [AddressLike]): string;
|
|
18
20
|
encodeFunctionData(functionFragment: "mint", values: [AddressLike, AddressLike, BigNumberish, BigNumberish]): string;
|
|
19
21
|
encodeFunctionData(functionFragment: "name", values?: undefined): string;
|
|
20
22
|
encodeFunctionData(functionFragment: "nonces", values: [AddressLike]): string;
|
|
@@ -40,7 +42,6 @@ export interface RTokenInterface extends Interface {
|
|
|
40
42
|
encodeFunctionData(functionFragment: "transferAsset", values: [AddressLike, BigNumberish]): string;
|
|
41
43
|
encodeFunctionData(functionFragment: "transferFrom", values: [AddressLike, AddressLike, BigNumberish]): string;
|
|
42
44
|
encodeFunctionData(functionFragment: "transferOwnership", values: [AddressLike]): string;
|
|
43
|
-
encodeFunctionData(functionFragment: "updateLiquidityIndex", values: [BigNumberish]): string;
|
|
44
45
|
decodeFunctionResult(functionFragment: "DOMAIN_SEPARATOR", data: BytesLike): Result;
|
|
45
46
|
decodeFunctionResult(functionFragment: "_assetAddress", data: BytesLike): Result;
|
|
46
47
|
decodeFunctionResult(functionFragment: "allowance", data: BytesLike): Result;
|
|
@@ -48,11 +49,13 @@ export interface RTokenInterface extends Interface {
|
|
|
48
49
|
decodeFunctionResult(functionFragment: "balanceOf", data: BytesLike): Result;
|
|
49
50
|
decodeFunctionResult(functionFragment: "burn", data: BytesLike): Result;
|
|
50
51
|
decodeFunctionResult(functionFragment: "calculateDustAmount", data: BytesLike): Result;
|
|
52
|
+
decodeFunctionResult(functionFragment: "complianceRegistry", data: BytesLike): Result;
|
|
51
53
|
decodeFunctionResult(functionFragment: "decimals", data: BytesLike): Result;
|
|
52
54
|
decodeFunctionResult(functionFragment: "eip712Domain", data: BytesLike): Result;
|
|
53
55
|
decodeFunctionResult(functionFragment: "getAssetAddress", data: BytesLike): Result;
|
|
54
56
|
decodeFunctionResult(functionFragment: "getLendingPool", data: BytesLike): Result;
|
|
55
|
-
decodeFunctionResult(functionFragment: "
|
|
57
|
+
decodeFunctionResult(functionFragment: "getRawTotalDeposits", data: BytesLike): Result;
|
|
58
|
+
decodeFunctionResult(functionFragment: "getUserIndex", data: BytesLike): Result;
|
|
56
59
|
decodeFunctionResult(functionFragment: "mint", data: BytesLike): Result;
|
|
57
60
|
decodeFunctionResult(functionFragment: "name", data: BytesLike): Result;
|
|
58
61
|
decodeFunctionResult(functionFragment: "nonces", data: BytesLike): Result;
|
|
@@ -70,7 +73,6 @@ export interface RTokenInterface extends Interface {
|
|
|
70
73
|
decodeFunctionResult(functionFragment: "transferAsset", data: BytesLike): Result;
|
|
71
74
|
decodeFunctionResult(functionFragment: "transferFrom", data: BytesLike): Result;
|
|
72
75
|
decodeFunctionResult(functionFragment: "transferOwnership", data: BytesLike): Result;
|
|
73
|
-
decodeFunctionResult(functionFragment: "updateLiquidityIndex", data: BytesLike): Result;
|
|
74
76
|
}
|
|
75
77
|
export declare namespace ApprovalEvent {
|
|
76
78
|
type InputTuple = [
|
|
@@ -297,6 +299,7 @@ export interface RToken extends BaseContract {
|
|
|
297
299
|
[bigint, bigint, bigint]
|
|
298
300
|
], "nonpayable">;
|
|
299
301
|
calculateDustAmount: TypedContractMethod<[], [bigint], "view">;
|
|
302
|
+
complianceRegistry: TypedContractMethod<[], [string], "view">;
|
|
300
303
|
decimals: TypedContractMethod<[], [bigint], "view">;
|
|
301
304
|
eip712Domain: TypedContractMethod<[
|
|
302
305
|
], [
|
|
@@ -320,14 +323,15 @@ export interface RToken extends BaseContract {
|
|
|
320
323
|
], "view">;
|
|
321
324
|
getAssetAddress: TypedContractMethod<[], [string], "view">;
|
|
322
325
|
getLendingPool: TypedContractMethod<[], [string], "view">;
|
|
323
|
-
|
|
326
|
+
getRawTotalDeposits: TypedContractMethod<[], [bigint], "view">;
|
|
327
|
+
getUserIndex: TypedContractMethod<[user: AddressLike], [bigint], "view">;
|
|
324
328
|
mint: TypedContractMethod<[
|
|
325
329
|
caller: AddressLike,
|
|
326
330
|
onBehalfOf: AddressLike,
|
|
327
331
|
amount: BigNumberish,
|
|
328
332
|
index: BigNumberish
|
|
329
333
|
], [
|
|
330
|
-
[
|
|
334
|
+
[bigint, bigint, bigint]
|
|
331
335
|
], "nonpayable">;
|
|
332
336
|
name: TypedContractMethod<[], [string], "view">;
|
|
333
337
|
nonces: TypedContractMethod<[owner: AddressLike], [bigint], "view">;
|
|
@@ -390,11 +394,6 @@ export interface RToken extends BaseContract {
|
|
|
390
394
|
], [
|
|
391
395
|
void
|
|
392
396
|
], "nonpayable">;
|
|
393
|
-
updateLiquidityIndex: TypedContractMethod<[
|
|
394
|
-
newLiquidityIndex: BigNumberish
|
|
395
|
-
], [
|
|
396
|
-
void
|
|
397
|
-
], "nonpayable">;
|
|
398
397
|
getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
|
|
399
398
|
getFunction(nameOrSignature: "DOMAIN_SEPARATOR"): TypedContractMethod<[], [string], "view">;
|
|
400
399
|
getFunction(nameOrSignature: "_assetAddress"): TypedContractMethod<[], [string], "view">;
|
|
@@ -420,6 +419,7 @@ export interface RToken extends BaseContract {
|
|
|
420
419
|
[bigint, bigint, bigint]
|
|
421
420
|
], "nonpayable">;
|
|
422
421
|
getFunction(nameOrSignature: "calculateDustAmount"): TypedContractMethod<[], [bigint], "view">;
|
|
422
|
+
getFunction(nameOrSignature: "complianceRegistry"): TypedContractMethod<[], [string], "view">;
|
|
423
423
|
getFunction(nameOrSignature: "decimals"): TypedContractMethod<[], [bigint], "view">;
|
|
424
424
|
getFunction(nameOrSignature: "eip712Domain"): TypedContractMethod<[
|
|
425
425
|
], [
|
|
@@ -443,14 +443,15 @@ export interface RToken extends BaseContract {
|
|
|
443
443
|
], "view">;
|
|
444
444
|
getFunction(nameOrSignature: "getAssetAddress"): TypedContractMethod<[], [string], "view">;
|
|
445
445
|
getFunction(nameOrSignature: "getLendingPool"): TypedContractMethod<[], [string], "view">;
|
|
446
|
-
getFunction(nameOrSignature: "
|
|
446
|
+
getFunction(nameOrSignature: "getRawTotalDeposits"): TypedContractMethod<[], [bigint], "view">;
|
|
447
|
+
getFunction(nameOrSignature: "getUserIndex"): TypedContractMethod<[user: AddressLike], [bigint], "view">;
|
|
447
448
|
getFunction(nameOrSignature: "mint"): TypedContractMethod<[
|
|
448
449
|
caller: AddressLike,
|
|
449
450
|
onBehalfOf: AddressLike,
|
|
450
451
|
amount: BigNumberish,
|
|
451
452
|
index: BigNumberish
|
|
452
453
|
], [
|
|
453
|
-
[
|
|
454
|
+
[bigint, bigint, bigint]
|
|
454
455
|
], "nonpayable">;
|
|
455
456
|
getFunction(nameOrSignature: "name"): TypedContractMethod<[], [string], "view">;
|
|
456
457
|
getFunction(nameOrSignature: "nonces"): TypedContractMethod<[owner: AddressLike], [bigint], "view">;
|
|
@@ -505,11 +506,6 @@ export interface RToken extends BaseContract {
|
|
|
505
506
|
boolean
|
|
506
507
|
], "nonpayable">;
|
|
507
508
|
getFunction(nameOrSignature: "transferOwnership"): TypedContractMethod<[newOwner: AddressLike], [void], "nonpayable">;
|
|
508
|
-
getFunction(nameOrSignature: "updateLiquidityIndex"): TypedContractMethod<[
|
|
509
|
-
newLiquidityIndex: BigNumberish
|
|
510
|
-
], [
|
|
511
|
-
void
|
|
512
|
-
], "nonpayable">;
|
|
513
509
|
getEvent(key: "Approval"): TypedContractEvent<ApprovalEvent.InputTuple, ApprovalEvent.OutputTuple, ApprovalEvent.OutputObject>;
|
|
514
510
|
getEvent(key: "BalanceTransfer"): TypedContractEvent<BalanceTransferEvent.InputTuple, BalanceTransferEvent.OutputTuple, BalanceTransferEvent.OutputObject>;
|
|
515
511
|
getEvent(key: "Burn"): TypedContractEvent<BurnEvent.InputTuple, BurnEvent.OutputTuple, BurnEvent.OutputObject>;
|