@raac/rpc 1.1.0-beta.5 → 1.1.0-beta.7
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 +66 -23
- package/dist/artifacts/core/collectors/FeeCollector.sol/FeeCollector.json +83 -29
- package/dist/artifacts/core/minters/RAACMinter/RAACMinter.sol/RAACMinter.json +82 -31
- package/dist/artifacts/core/oracles/BaseVRFv2Consumer.sol/BaseVRFv2Consumer.json +114 -5
- package/dist/artifacts/core/oracles/RAACPrimeRateOracle.sol/RAACPrimeRateOracle.json +2 -2
- package/dist/artifacts/core/pools/LendingPool/ERC20AssetAdapter.sol/ERC20AssetAdapter.json +465 -0
- package/dist/artifacts/core/pools/LendingPool/ERC721AssetAdapter.sol/ERC721AssetAdapter.json +497 -0
- package/dist/artifacts/core/pools/LendingPool/LendingPool.sol/LendingPool.json +1065 -337
- package/dist/artifacts/core/pools/StabilityPool/StabilityPool.sol/StabilityPool.json +180 -99
- package/dist/artifacts/core/primitives/RAACHousePrices.sol/RAACHousePrices.json +20 -2
- package/dist/artifacts/core/tokens/DEToken.sol/DEToken.json +2 -29
- package/dist/artifacts/core/tokens/RAACNFT.sol/RAACNFT.json +158 -38
- package/dist/artifacts/core/tokens/RAACToken.sol/RAACToken.json +2 -2
- package/dist/artifacts/core/tokens/RToken.sol/RToken.json +2 -29
- package/dist/artifacts/core/tokens/veRAACToken.sol/veRAACToken.json +553 -224
- package/dist/artifacts/core/vaults/ERC20VaultAdapter.sol/ERC20VaultAdapter.json +354 -0
- package/dist/artifacts/core/vaults/ERC721VaultAdapter.sol/ERC721VaultAdapter.json +356 -0
- package/dist/artifacts/core/vaults/RWAVault.sol/RWAVault.json +1036 -0
- package/dist/artifacts/mocks/core/oracles/MockVRFCoordinatorV2.sol/MockVRFCoordinatorV2.json +622 -207
- package/dist/artifacts/mocks/core/tokens/crvUSDToken.sol/crvUSDToken.json +2 -2
- package/dist/artifacts/zeno/Auction.sol/Auction.json +89 -15
- package/dist/artifacts/zeno/AuctionFactory.sol/AuctionFactory.json +2 -2
- package/dist/artifacts/zeno/Zeno.sol/Zeno.json +108 -38
- package/dist/artifacts/zeno/ZenoFactory.sol/ZenoFactory.json +2 -2
- package/dist/configs/chains/11155111.json +8 -3
- package/dist/configs/chains/17000.json +38 -3
- package/dist/configs/chains/8453.json +49 -14
- package/dist/configs/createConfig.js +3 -3
- package/dist/pools/lendingPool/_helpers.js +41 -0
- package/dist/pools/lendingPool/adapters/erc20/getERC20AdapterBalance.js +20 -0
- package/dist/pools/lendingPool/adapters/erc20/getERC20AdapterInfo.js +32 -0
- package/dist/pools/lendingPool/adapters/erc721/getERC721AdapterDeposits.js +20 -0
- package/dist/pools/lendingPool/adapters/erc721/getERC721AdapterInfo.js +32 -0
- package/dist/pools/lendingPool/borrowFromLendingPool.js +11 -14
- package/dist/pools/lendingPool/borrowFromLendingPoolWithInsurance.js +11 -29
- package/dist/pools/lendingPool/calculateInsuranceFee.js +12 -8
- package/dist/pools/lendingPool/closeLiquidation.js +16 -14
- package/dist/pools/lendingPool/depositAssetToLendingPool.js +22 -0
- package/dist/pools/lendingPool/depositToLendingPool.js +2 -5
- package/dist/pools/lendingPool/getAdapterAddress.js +44 -0
- package/dist/pools/lendingPool/getAdapters.js +20 -0
- package/dist/pools/lendingPool/getEligibleUserDeposits.js +2 -5
- package/dist/pools/lendingPool/getHealthFactor.js +15 -13
- package/dist/pools/lendingPool/getLendingPoolInfo.js +10 -25
- package/dist/pools/lendingPool/getLendingPoolTotalLiquidity.js +2 -6
- package/dist/pools/lendingPool/getParameters.js +29 -0
- package/dist/pools/lendingPool/getPositionDebt.js +12 -11
- package/dist/pools/lendingPool/getPositionScaledDebt.js +16 -13
- package/dist/pools/lendingPool/getPositionView.js +16 -10
- package/dist/pools/lendingPool/getPositionsScaledDebt.js +3 -5
- package/dist/pools/lendingPool/getRawUserDepositsInLendingPool.js +2 -5
- package/dist/pools/lendingPool/getUserCollateralValue.js +3 -5
- package/dist/pools/lendingPool/getWithdrawRequestInfo.js +25 -0
- package/dist/pools/lendingPool/initializeLiquidation.js +12 -12
- package/dist/pools/lendingPool/openVaultPosition.js +42 -0
- package/dist/pools/lendingPool/repayToLendingPool.js +11 -14
- package/dist/pools/lendingPool/requestWithdraw.js +28 -0
- package/dist/pools/lendingPool/types.js +2 -0
- package/dist/pools/lendingPool/withdrawAssetFromLendingPool.js +22 -0
- package/dist/pools/lendingPool/withdrawFromLendingPool.js +3 -4
- package/dist/pools/rwaVault/_helpers.js +41 -0
- package/dist/pools/rwaVault/adapters/erc20/getERC20VaultAdapterAssetValue.js +21 -0
- package/dist/pools/rwaVault/adapters/erc20/getERC20VaultAdapterInfo.js +30 -0
- package/dist/pools/rwaVault/adapters/erc20/getERC20VaultAdapterTotalValue.js +20 -0
- package/dist/pools/rwaVault/adapters/erc721/getERC721VaultAdapterAssetValue.js +21 -0
- package/dist/pools/rwaVault/adapters/erc721/getERC721VaultAdapterDeposits.js +20 -0
- package/dist/pools/rwaVault/adapters/erc721/getERC721VaultAdapterInfo.js +30 -0
- package/dist/pools/rwaVault/adapters/erc721/getERC721VaultAdapterTotalValue.js +20 -0
- package/dist/pools/rwaVault/depositToRWAVault.js +23 -0
- package/dist/pools/rwaVault/getAdapterAddress.js +43 -0
- package/dist/pools/rwaVault/getAdapters.js +20 -0
- package/dist/pools/rwaVault/getNextRandomNFT.js +21 -0
- package/dist/pools/rwaVault/getRWAVaultInfo.js +48 -0
- package/dist/pools/rwaVault/redeemNFTFromRWAVault.js +23 -0
- package/dist/pools/rwaVault/requestRandomSeed.js +23 -0
- package/dist/pools/rwaVault/types.js +2 -0
- package/dist/scripts/index.js +81 -64
- package/dist/types/RPCLibrary.d.ts +55 -22
- package/dist/types/configs/createConfig.d.ts +1 -1
- package/dist/types/pools/lendingPool/_helpers.d.ts +10 -0
- package/dist/types/pools/lendingPool/adapters/erc20/getERC20AdapterBalance.d.ts +3 -0
- package/dist/types/pools/lendingPool/adapters/erc20/getERC20AdapterInfo.d.ts +10 -0
- package/dist/types/pools/lendingPool/adapters/erc721/getERC721AdapterDeposits.d.ts +3 -0
- package/dist/types/pools/lendingPool/adapters/erc721/getERC721AdapterInfo.d.ts +10 -0
- package/dist/types/pools/lendingPool/borrowFromLendingPool.d.ts +4 -3
- package/dist/types/pools/lendingPool/borrowFromLendingPoolWithInsurance.d.ts +4 -3
- package/dist/types/pools/lendingPool/calculateInsuranceFee.d.ts +3 -2
- package/dist/types/pools/lendingPool/closeLiquidation.d.ts +7 -5
- package/dist/types/pools/lendingPool/depositAssetToLendingPool.d.ts +5 -0
- package/dist/types/pools/lendingPool/getAdapterAddress.d.ts +16 -0
- package/dist/types/pools/lendingPool/getAdapters.d.ts +8 -0
- package/dist/types/pools/lendingPool/getHealthFactor.d.ts +6 -4
- package/dist/types/pools/lendingPool/getLendingPoolInfo.d.ts +1 -3
- package/dist/types/pools/lendingPool/getParameters.d.ts +17 -0
- package/dist/types/pools/lendingPool/getPositionDebt.d.ts +4 -3
- package/dist/types/pools/lendingPool/getPositionScaledDebt.d.ts +8 -5
- package/dist/types/pools/lendingPool/getPositionView.d.ts +14 -18
- package/dist/types/pools/lendingPool/getWithdrawRequestInfo.d.ts +8 -0
- package/dist/types/pools/lendingPool/initializeLiquidation.d.ts +4 -3
- package/dist/types/pools/lendingPool/openVaultPosition.d.ts +4 -0
- package/dist/types/pools/lendingPool/repayToLendingPool.d.ts +4 -3
- package/dist/types/pools/lendingPool/requestWithdraw.d.ts +4 -0
- package/dist/types/pools/lendingPool/types.d.ts +7 -0
- package/dist/types/pools/lendingPool/withdrawAssetFromLendingPool.d.ts +5 -0
- package/dist/types/pools/rwaVault/_helpers.d.ts +10 -0
- package/dist/types/pools/rwaVault/adapters/erc20/getERC20VaultAdapterAssetValue.d.ts +3 -0
- package/dist/types/pools/rwaVault/adapters/erc20/getERC20VaultAdapterInfo.d.ts +9 -0
- package/dist/types/pools/rwaVault/adapters/erc20/getERC20VaultAdapterTotalValue.d.ts +3 -0
- package/dist/types/pools/rwaVault/adapters/erc721/getERC721VaultAdapterAssetValue.d.ts +3 -0
- package/dist/types/pools/rwaVault/adapters/erc721/getERC721VaultAdapterDeposits.d.ts +3 -0
- package/dist/types/pools/rwaVault/adapters/erc721/getERC721VaultAdapterInfo.d.ts +9 -0
- package/dist/types/pools/rwaVault/adapters/erc721/getERC721VaultAdapterTotalValue.d.ts +3 -0
- package/dist/types/pools/rwaVault/depositToRWAVault.d.ts +5 -0
- package/dist/types/pools/rwaVault/getAdapterAddress.d.ts +16 -0
- package/dist/types/pools/rwaVault/getAdapters.d.ts +8 -0
- package/dist/types/pools/rwaVault/getNextRandomNFT.d.ts +8 -0
- package/dist/types/pools/rwaVault/getRWAVaultInfo.d.ts +20 -0
- package/dist/types/pools/rwaVault/redeemNFTFromRWAVault.d.ts +4 -0
- package/dist/types/pools/rwaVault/requestRandomSeed.d.ts +4 -0
- package/dist/types/pools/rwaVault/types.d.ts +7 -0
- package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/shared/interfaces/AggregatorV3Interface.d.ts +103 -0
- package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/shared/interfaces/IERC677Receiver.d.ts +37 -0
- package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/shared/interfaces/LinkTokenInterface.d.ts +143 -0
- package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/shared/interfaces/index.d.ts +3 -0
- package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/vrf/dev/SubscriptionAPI.d.ts +529 -0
- package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/vrf/dev/VRFConsumerBaseV2Plus.d.ts +109 -0
- package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/vrf/dev/index.d.ts +6 -0
- package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/vrf/dev/interfaces/IVRFCoordinatorV2Plus.d.ts +192 -0
- package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/vrf/dev/interfaces/IVRFMigratableConsumerV2Plus.d.ts +45 -0
- package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/vrf/dev/interfaces/IVRFSubscriptionV2Plus.d.ts +155 -0
- package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/vrf/dev/interfaces/index.d.ts +3 -0
- package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/vrf/dev/libraries/VRFV2PlusClient.d.ts +25 -0
- package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/vrf/dev/libraries/index.d.ts +1 -0
- package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/vrf/index.d.ts +4 -0
- package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/vrf/mocks/VRFCoordinatorV2_5Mock.d.ts +731 -0
- package/dist/types/typechain-types/@chainlink/contracts/src/v0.8/vrf/mocks/index.d.ts +1 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/access/Ownable2Step.d.ts +77 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/access/index.d.ts +1 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/interfaces/IERC1363.d.ts +231 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/interfaces/IERC2981.d.ts +49 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/interfaces/index.d.ts +2 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/utils/Errors.d.ts +20 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/utils/cryptography/MerkleProof.d.ts +20 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/utils/cryptography/index.d.ts +1 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/utils/index.d.ts +1 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/utils/math/index.d.ts +0 -1
- package/dist/types/typechain-types/contracts/core/collectors/FeeCollector.d.ts +30 -1
- package/dist/types/typechain-types/contracts/core/collectors/NFTRoyaltyFeeCollector.sol/IWETH10Minimal.d.ts +53 -0
- package/dist/types/typechain-types/contracts/core/collectors/NFTRoyaltyFeeCollector.sol/NFTRoyaltyFeeCollector.d.ts +115 -0
- package/dist/types/typechain-types/contracts/core/collectors/NFTRoyaltyFeeCollector.sol/index.d.ts +2 -0
- package/dist/types/typechain-types/contracts/core/collectors/Treasury.d.ts +15 -1
- package/dist/types/typechain-types/contracts/core/collectors/index.d.ts +2 -0
- package/dist/types/typechain-types/contracts/core/governance/gauges/BaseGauge.d.ts +616 -142
- package/dist/types/typechain-types/contracts/core/governance/gauges/GaugeController.d.ts +396 -108
- package/dist/types/typechain-types/contracts/core/governance/gauges/GaugeRewardsDistributor.d.ts +623 -0
- package/dist/types/typechain-types/contracts/core/governance/gauges/RAACGauge.d.ts +609 -155
- package/dist/types/typechain-types/contracts/core/governance/gauges/RWAGauge.d.ts +610 -156
- package/dist/types/typechain-types/contracts/core/governance/gauges/index.d.ts +1 -0
- package/dist/types/typechain-types/contracts/core/governance/index.d.ts +0 -2
- package/dist/types/typechain-types/contracts/core/governance/proposals/Governance.d.ts +45 -67
- package/dist/types/typechain-types/contracts/core/index.d.ts +4 -0
- package/dist/types/typechain-types/contracts/core/lockers/LLamaTemple.d.ts +721 -0
- package/dist/types/typechain-types/contracts/core/lockers/index.d.ts +1 -0
- package/dist/types/typechain-types/contracts/core/minters/RAACMinter/RAACMinter.d.ts +69 -12
- package/dist/types/typechain-types/contracts/core/oracles/BaseChainlinkFunctionsOracle.d.ts +22 -4
- package/dist/types/typechain-types/contracts/core/oracles/BaseVRFv2Consumer.d.ts +40 -2
- package/dist/types/typechain-types/contracts/core/oracles/RAACHousePriceOracle.d.ts +41 -8
- package/dist/types/typechain-types/contracts/core/oracles/RAACPrimeRateOracle.d.ts +39 -7
- package/dist/types/typechain-types/contracts/core/pools/LendingPool/ERC20AssetAdapter.sol/ERC20AssetAdapter.d.ts +232 -0
- package/dist/types/typechain-types/contracts/core/pools/LendingPool/ERC20AssetAdapter.sol/IERC20Adapter.d.ts +25 -0
- package/dist/types/typechain-types/contracts/core/pools/LendingPool/ERC20AssetAdapter.sol/IPriceOracle.d.ts +25 -0
- package/dist/types/typechain-types/contracts/core/pools/LendingPool/ERC20AssetAdapter.sol/index.d.ts +3 -0
- package/dist/types/typechain-types/contracts/core/pools/LendingPool/ERC721AssetAdapter.sol/ERC721AssetAdapter.d.ts +254 -0
- package/dist/types/typechain-types/contracts/core/pools/LendingPool/ERC721AssetAdapter.sol/IPriceOracle.d.ts +29 -0
- package/dist/types/typechain-types/contracts/core/pools/LendingPool/ERC721AssetAdapter.sol/index.d.ts +2 -0
- package/dist/types/typechain-types/contracts/core/pools/LendingPool/LendingPool.d.ts +728 -205
- package/dist/types/typechain-types/contracts/core/pools/LendingPool/LendingPoolStorage.d.ts +440 -0
- package/dist/types/typechain-types/contracts/core/pools/LendingPool/LiquidationProxy.d.ts +538 -0
- package/dist/types/typechain-types/contracts/core/pools/LendingPool/VaultProxy.d.ts +485 -0
- package/dist/types/typechain-types/contracts/core/pools/LendingPool/index.d.ts +7 -0
- package/dist/types/typechain-types/contracts/core/pools/StabilityPool/LiquidationStrategyProxy.d.ts +158 -0
- package/dist/types/typechain-types/contracts/core/pools/StabilityPool/LiquidationSwap.d.ts +124 -0
- package/dist/types/typechain-types/contracts/core/pools/StabilityPool/StabilityPool.d.ts +135 -79
- package/dist/types/typechain-types/contracts/core/pools/StabilityPool/StabilityPoolStorage.d.ts +140 -0
- package/dist/types/typechain-types/contracts/core/pools/StabilityPool/index.d.ts +3 -1
- package/dist/types/typechain-types/contracts/core/primitives/ComplianceRegistry.d.ts +203 -0
- package/dist/types/typechain-types/contracts/core/primitives/RAACHousePrices.d.ts +23 -1
- package/dist/types/typechain-types/contracts/core/primitives/WithCompliance.d.ts +25 -0
- package/dist/types/typechain-types/contracts/core/primitives/index.d.ts +2 -0
- package/dist/types/typechain-types/contracts/core/tokens/DebtToken.d.ts +6 -15
- package/dist/types/typechain-types/contracts/core/tokens/RAACNFT.d.ts +94 -11
- package/dist/types/typechain-types/contracts/core/tokens/RToken.d.ts +1 -17
- package/dist/types/typechain-types/contracts/core/tokens/RWAIndexToken.d.ts +264 -0
- package/dist/types/typechain-types/contracts/core/tokens/VeRAACToken.d.ts +433 -172
- package/dist/types/typechain-types/contracts/core/tokens/index.d.ts +1 -1
- package/dist/types/typechain-types/contracts/core/vaults/ERC20VaultAdapter.sol/ERC20VaultAdapter.d.ts +174 -0
- package/dist/types/typechain-types/contracts/core/vaults/ERC20VaultAdapter.sol/IPriceOracle.d.ts +25 -0
- package/dist/types/typechain-types/contracts/core/vaults/ERC20VaultAdapter.sol/index.d.ts +2 -0
- package/dist/types/typechain-types/contracts/core/vaults/ERC721VaultAdapter.sol/ERC721VaultAdapter.d.ts +178 -0
- package/dist/types/typechain-types/contracts/core/vaults/ERC721VaultAdapter.sol/IPriceOracle.d.ts +29 -0
- package/dist/types/typechain-types/contracts/core/vaults/ERC721VaultAdapter.sol/index.d.ts +2 -0
- package/dist/types/typechain-types/contracts/core/vaults/RWAVault.d.ts +511 -0
- package/dist/types/typechain-types/contracts/core/vaults/index.d.ts +5 -0
- package/dist/types/typechain-types/contracts/interfaces/IComplianceRegistry.d.ts +63 -0
- package/dist/types/typechain-types/contracts/interfaces/INFTLiquidator.d.ts +190 -23
- package/dist/types/typechain-types/contracts/interfaces/INFTWhitelist.d.ts +75 -0
- package/dist/types/typechain-types/contracts/interfaces/core/collectors/IFeeCollector.d.ts +9 -0
- package/dist/types/typechain-types/contracts/interfaces/core/governance/gauges/IBaseGauge.d.ts +527 -0
- package/dist/types/typechain-types/contracts/interfaces/core/governance/gauges/IGaugeController.d.ts +222 -40
- package/dist/types/typechain-types/contracts/interfaces/core/governance/gauges/IGaugeRewardsDistributor.d.ts +351 -0
- package/dist/types/typechain-types/contracts/interfaces/core/governance/gauges/index.d.ts +2 -1
- package/dist/types/typechain-types/contracts/interfaces/core/governance/index.d.ts +0 -1
- package/dist/types/typechain-types/contracts/interfaces/core/governance/proposals/IGovernance.d.ts +45 -67
- package/dist/types/typechain-types/contracts/interfaces/core/index.d.ts +2 -0
- package/dist/types/typechain-types/contracts/interfaces/core/lockers/ILLamaLocker.d.ts +332 -0
- package/dist/types/typechain-types/contracts/interfaces/core/lockers/ILLamaTemple.d.ts +302 -0
- package/dist/types/typechain-types/contracts/interfaces/core/lockers/index.d.ts +2 -0
- package/dist/types/typechain-types/contracts/interfaces/core/minters/RAACMinter/IRAACMinter.d.ts +30 -1
- package/dist/types/typechain-types/contracts/interfaces/core/minters/RAACMinter/IRAACMinterRewardsReceiver.d.ts +49 -0
- package/dist/types/typechain-types/contracts/interfaces/core/minters/RAACMinter/index.d.ts +1 -0
- package/dist/types/typechain-types/contracts/interfaces/core/oracles/IBaseVRFv2Consumer.d.ts +5 -1
- package/dist/types/typechain-types/contracts/interfaces/core/oracles/IRAACHousePrices.d.ts +31 -24
- package/dist/types/typechain-types/contracts/interfaces/core/pools/LendingPool/IAssetAdapter.d.ts +143 -0
- package/dist/types/typechain-types/contracts/interfaces/core/pools/LendingPool/IERC721Adapter.d.ts +51 -0
- package/dist/types/typechain-types/contracts/interfaces/core/pools/LendingPool/ILendingPool.d.ts +369 -150
- package/dist/types/typechain-types/contracts/interfaces/core/pools/LendingPool/ILendingPoolStorage.d.ts +102 -0
- package/dist/types/typechain-types/contracts/interfaces/core/pools/LendingPool/index.d.ts +3 -0
- package/dist/types/typechain-types/contracts/interfaces/core/pools/StabilityPool/ILiquidationSwap.d.ts +51 -0
- package/dist/types/typechain-types/contracts/interfaces/core/pools/StabilityPool/IStabilityPool.d.ts +19 -64
- package/dist/types/typechain-types/contracts/interfaces/core/pools/StabilityPool/IStabilityPoolStorage.d.ts +49 -0
- package/dist/types/typechain-types/contracts/interfaces/core/pools/StabilityPool/index.d.ts +2 -0
- package/dist/types/typechain-types/contracts/interfaces/core/tokens/IDebtToken.d.ts +6 -15
- package/dist/types/typechain-types/contracts/interfaces/core/tokens/IRAACNFT.d.ts +70 -7
- package/dist/types/typechain-types/contracts/interfaces/core/tokens/IVaultToken.d.ts +197 -0
- package/dist/types/typechain-types/contracts/interfaces/core/tokens/IveRAACToken.d.ts +295 -36
- package/dist/types/typechain-types/contracts/interfaces/core/tokens/index.d.ts +1 -0
- package/dist/types/typechain-types/contracts/interfaces/core/vaults/IBaseHybridVault.d.ts +208 -0
- package/dist/types/typechain-types/contracts/interfaces/core/vaults/IVaultAssetAdapter.d.ts +89 -0
- package/dist/types/typechain-types/contracts/interfaces/core/vaults/index.d.ts +2 -0
- package/dist/types/typechain-types/contracts/interfaces/curve/ICurveLiquidityGaugeV5.d.ts +357 -0
- package/dist/types/typechain-types/contracts/interfaces/curve/index.d.ts +1 -0
- package/dist/types/typechain-types/contracts/interfaces/index.d.ts +2 -4
- package/dist/types/typechain-types/contracts/interfaces/zeno/IAuction.d.ts +18 -3
- package/dist/types/typechain-types/contracts/interfaces/zeno/IZENO.d.ts +31 -1
- package/dist/types/typechain-types/contracts/libraries/governance/LockManager.d.ts +9 -2
- package/dist/types/typechain-types/contracts/libraries/governance/PowerCheckpoint.d.ts +34 -1
- package/dist/types/typechain-types/contracts/libraries/governance/index.d.ts +0 -3
- package/dist/types/typechain-types/contracts/libraries/math/TimeWeightedAverage.d.ts +1 -25
- package/dist/types/typechain-types/contracts/mocks/core/collectors/MockWETH.d.ts +225 -0
- package/dist/types/typechain-types/contracts/mocks/core/collectors/index.d.ts +1 -0
- package/dist/types/typechain-types/contracts/mocks/core/curve/CurveLiquidityGaugeV5Mock.sol/CurveLiquidityGaugeV5Mock.d.ts +56 -0
- package/dist/types/typechain-types/contracts/mocks/core/curve/CurveLiquidityGaugeV5Mock.sol/ILiquidityGauge.d.ts +35 -0
- package/dist/types/typechain-types/contracts/mocks/core/curve/CurveLiquidityGaugeV5Mock.sol/index.d.ts +2 -0
- package/dist/types/typechain-types/contracts/mocks/core/curve/index.d.ts +2 -0
- package/dist/types/typechain-types/contracts/mocks/core/governance/gauges/MockGaugeController.d.ts +2 -6
- package/dist/types/typechain-types/contracts/mocks/core/governance/gauges/index.d.ts +0 -1
- package/dist/types/typechain-types/contracts/mocks/core/index.d.ts +4 -0
- package/dist/types/typechain-types/contracts/mocks/core/lockers/LLamaLocker.sol/LlamaLocker.d.ts +394 -0
- package/dist/types/typechain-types/contracts/mocks/core/lockers/LLamaLocker.sol/index.d.ts +1 -0
- package/dist/types/typechain-types/contracts/mocks/core/lockers/index.d.ts +2 -0
- package/dist/types/typechain-types/contracts/mocks/core/oracles/MockERC20PriceOracle.sol/IPriceOracle.d.ts +25 -0
- package/dist/types/typechain-types/contracts/mocks/core/oracles/MockERC20PriceOracle.sol/MockERC20PriceOracle.d.ts +33 -0
- package/dist/types/typechain-types/contracts/mocks/core/oracles/MockERC20PriceOracle.sol/index.d.ts +2 -0
- package/dist/types/typechain-types/contracts/mocks/core/oracles/MockFunctionsRouter.sol/MockFunctionsRouter.d.ts +2 -2
- package/dist/types/typechain-types/contracts/mocks/core/oracles/MockVRFCoordinatorV2.d.ts +349 -148
- package/dist/types/typechain-types/contracts/mocks/core/oracles/TestRAACHousePriceOracle.d.ts +41 -8
- package/dist/types/typechain-types/contracts/mocks/core/oracles/TestRAACPrimeRateOracle.d.ts +39 -7
- package/dist/types/typechain-types/contracts/mocks/core/oracles/index.d.ts +2 -0
- package/dist/types/typechain-types/contracts/mocks/core/pools/MockLendingPoolDebtToken.d.ts +367 -140
- package/dist/types/typechain-types/contracts/mocks/core/tokens/MockFeeCollectorToken.d.ts +1 -5
- package/dist/types/typechain-types/contracts/mocks/core/tokens/MockToken.d.ts +1 -5
- package/dist/types/typechain-types/contracts/mocks/core/tokens/index.d.ts +0 -1
- package/dist/types/typechain-types/contracts/mocks/libraries/governance/BoostCalculatorMock.d.ts +68 -139
- package/dist/types/typechain-types/contracts/mocks/libraries/governance/LockManagerMock.d.ts +19 -9
- package/dist/types/typechain-types/contracts/mocks/libraries/governance/PowerCheckpointMock.d.ts +37 -18
- package/dist/types/typechain-types/contracts/mocks/libraries/governance/index.d.ts +0 -3
- package/dist/types/typechain-types/contracts/mocks/tests/index.d.ts +0 -2
- package/dist/types/typechain-types/contracts/zeno/Auction.d.ts +37 -8
- package/dist/types/typechain-types/contracts/zeno/ZENO.d.ts +62 -6
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/functions/v1_0_0/libraries/FunctionsRequest__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/shared/access/ConfirmedOwnerWithProposal__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/shared/access/ConfirmedOwner__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/shared/interfaces/AggregatorV3Interface__factory.d.ts +93 -0
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/shared/interfaces/IERC677Receiver__factory.d.ts +25 -0
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/shared/interfaces/LinkTokenInterface__factory.d.ts +191 -0
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/shared/interfaces/index.d.ts +3 -0
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/vrf/dev/SubscriptionAPI__factory.d.ts +663 -0
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/vrf/dev/VRFConsumerBaseV2Plus__factory.d.ts +139 -0
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/vrf/dev/index.d.ts +4 -0
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/vrf/dev/interfaces/IVRFCoordinatorV2Plus__factory.d.ts +194 -0
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/vrf/dev/interfaces/IVRFMigratableConsumerV2Plus__factory.d.ts +27 -0
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/vrf/dev/interfaces/IVRFSubscriptionV2Plus__factory.d.ts +155 -0
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/vrf/dev/interfaces/index.d.ts +3 -0
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/vrf/dev/libraries/VRFV2PlusClient__factory.d.ts +32 -0
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/vrf/dev/libraries/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/vrf/index.d.ts +2 -0
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/vrf/mocks/VRFCoordinatorV2_5Mock__factory.d.ts +944 -0
- package/dist/types/typechain-types/factories/@chainlink/contracts/src/v0.8/vrf/mocks/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/access/Ownable2Step__factory.d.ts +95 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/access/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/interfaces/IERC1363__factory.d.ts +289 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/interfaces/IERC2981__factory.d.ts +43 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/interfaces/index.d.ts +2 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/token/ERC20/utils/SafeERC20__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/utils/Address__factory.d.ts +1 -13
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/utils/Errors__factory.d.ts +50 -0
- 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 +9 -1
- 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 +26 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/utils/cryptography/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/utils/index.d.ts +1 -0
- 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 +0 -1
- package/dist/types/typechain-types/factories/contracts/core/collectors/FeeCollector__factory.d.ts +65 -21
- package/dist/types/typechain-types/factories/contracts/core/collectors/NFTRoyaltyFeeCollector.sol/IWETH10Minimal__factory.d.ts +49 -0
- package/dist/types/typechain-types/factories/contracts/core/collectors/NFTRoyaltyFeeCollector.sol/NFTRoyaltyFeeCollector__factory.d.ts +177 -0
- package/dist/types/typechain-types/factories/contracts/core/collectors/NFTRoyaltyFeeCollector.sol/index.d.ts +2 -0
- package/dist/types/typechain-types/factories/contracts/core/collectors/Treasury__factory.d.ts +15 -1
- package/dist/types/typechain-types/factories/contracts/core/collectors/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/contracts/core/governance/gauges/BaseGauge__factory.d.ts +698 -144
- package/dist/types/typechain-types/factories/contracts/core/governance/gauges/GaugeController__factory.d.ts +461 -137
- package/dist/types/typechain-types/factories/contracts/core/governance/gauges/GaugeRewardsDistributor__factory.d.ts +848 -0
- package/dist/types/typechain-types/factories/contracts/core/governance/gauges/RAACGauge__factory.d.ts +686 -162
- package/dist/types/typechain-types/factories/contracts/core/governance/gauges/RWAGauge__factory.d.ts +689 -155
- package/dist/types/typechain-types/factories/contracts/core/governance/gauges/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/contracts/core/governance/index.d.ts +0 -1
- package/dist/types/typechain-types/factories/contracts/core/governance/proposals/Governance__factory.d.ts +42 -80
- package/dist/types/typechain-types/factories/contracts/core/governance/proposals/TimelockController__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/core/index.d.ts +2 -0
- package/dist/types/typechain-types/factories/contracts/core/lockers/LLamaTemple__factory.d.ts +1028 -0
- package/dist/types/typechain-types/factories/contracts/core/lockers/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/contracts/core/minters/RAACMinter/RAACMinter__factory.d.ts +66 -25
- package/dist/types/typechain-types/factories/contracts/core/minters/RAACReleaseOrchestrator/RAACReleaseOrchestrator__factory.d.ts +5 -1
- package/dist/types/typechain-types/factories/contracts/core/oracles/BaseChainlinkFunctionsOracle__factory.d.ts +37 -1
- package/dist/types/typechain-types/factories/contracts/core/oracles/BaseVRFv2Consumer__factory.d.ts +90 -6
- package/dist/types/typechain-types/factories/contracts/core/oracles/RAACHousePriceOracle__factory.d.ts +64 -9
- package/dist/types/typechain-types/factories/contracts/core/oracles/RAACPrimeRateOracle__factory.d.ts +49 -3
- package/dist/types/typechain-types/factories/contracts/core/pools/LendingPool/ERC20AssetAdapter.sol/ERC20AssetAdapter__factory.d.ts +369 -0
- package/dist/types/typechain-types/factories/contracts/core/pools/LendingPool/ERC20AssetAdapter.sol/IERC20Adapter__factory.d.ts +21 -0
- package/dist/types/typechain-types/factories/contracts/core/pools/LendingPool/ERC20AssetAdapter.sol/IPriceOracle__factory.d.ts +17 -0
- package/dist/types/typechain-types/factories/contracts/core/pools/LendingPool/ERC20AssetAdapter.sol/index.d.ts +3 -0
- package/dist/types/typechain-types/factories/contracts/core/pools/LendingPool/ERC721AssetAdapter.sol/ERC721AssetAdapter__factory.d.ts +393 -0
- package/dist/types/typechain-types/factories/contracts/core/pools/LendingPool/ERC721AssetAdapter.sol/IPriceOracle__factory.d.ts +21 -0
- package/dist/types/typechain-types/factories/contracts/core/pools/LendingPool/ERC721AssetAdapter.sol/index.d.ts +2 -0
- package/dist/types/typechain-types/factories/contracts/core/pools/LendingPool/LendingPoolStorage__factory.d.ts +578 -0
- package/dist/types/typechain-types/factories/contracts/core/pools/LendingPool/LendingPool__factory.d.ts +881 -306
- package/dist/types/typechain-types/factories/contracts/core/pools/LendingPool/LiquidationProxy__factory.d.ts +716 -0
- package/dist/types/typechain-types/factories/contracts/core/pools/LendingPool/VaultProxy__factory.d.ts +636 -0
- package/dist/types/typechain-types/factories/contracts/core/pools/LendingPool/index.d.ts +5 -0
- package/dist/types/typechain-types/factories/contracts/core/pools/StabilityPool/LiquidationStrategyProxy__factory.d.ts +281 -0
- package/dist/types/typechain-types/factories/contracts/core/pools/StabilityPool/LiquidationSwap__factory.d.ts +227 -0
- package/dist/types/typechain-types/factories/contracts/core/pools/StabilityPool/StabilityPoolStorage__factory.d.ts +255 -0
- package/dist/types/typechain-types/factories/contracts/core/pools/StabilityPool/StabilityPool__factory.d.ts +151 -85
- package/dist/types/typechain-types/factories/contracts/core/pools/StabilityPool/index.d.ts +3 -1
- package/dist/types/typechain-types/factories/contracts/core/primitives/ComplianceRegistry__factory.d.ts +276 -0
- package/dist/types/typechain-types/factories/contracts/core/primitives/RAACHousePrices__factory.d.ts +29 -1
- package/dist/types/typechain-types/factories/contracts/core/primitives/WithCompliance__factory.d.ts +17 -0
- package/dist/types/typechain-types/factories/contracts/core/primitives/index.d.ts +2 -0
- package/dist/types/typechain-types/factories/contracts/core/tokens/DEToken__factory.d.ts +1 -21
- package/dist/types/typechain-types/factories/contracts/core/tokens/DebtToken__factory.d.ts +7 -11
- 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 +124 -31
- 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 +1 -61
- package/dist/types/typechain-types/factories/contracts/core/tokens/RWAIndexToken__factory.d.ts +465 -0
- package/dist/types/typechain-types/factories/contracts/core/tokens/VeRAACToken__factory.d.ts +446 -186
- package/dist/types/typechain-types/factories/contracts/core/tokens/index.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/core/vaults/ERC20VaultAdapter.sol/ERC20VaultAdapter__factory.d.ts +285 -0
- package/dist/types/typechain-types/factories/contracts/core/vaults/ERC20VaultAdapter.sol/IPriceOracle__factory.d.ts +17 -0
- package/dist/types/typechain-types/factories/contracts/core/vaults/ERC20VaultAdapter.sol/index.d.ts +2 -0
- package/dist/types/typechain-types/factories/contracts/core/vaults/ERC721VaultAdapter.sol/ERC721VaultAdapter__factory.d.ts +287 -0
- package/dist/types/typechain-types/factories/contracts/core/vaults/ERC721VaultAdapter.sol/IPriceOracle__factory.d.ts +21 -0
- package/dist/types/typechain-types/factories/contracts/core/vaults/ERC721VaultAdapter.sol/index.d.ts +2 -0
- package/dist/types/typechain-types/factories/contracts/core/vaults/RWAVault__factory.d.ts +808 -0
- package/dist/types/typechain-types/factories/contracts/core/vaults/index.d.ts +3 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/IComplianceRegistry__factory.d.ts +67 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/INFTLiquidator__factory.d.ts +213 -6
- package/dist/types/typechain-types/factories/contracts/interfaces/INFTWhitelist__factory.d.ts +77 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/collectors/IFeeCollector__factory.d.ts +32 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/governance/gauges/IBaseGauge__factory.d.ts +643 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/governance/gauges/IGaugeController__factory.d.ts +239 -65
- package/dist/types/typechain-types/factories/contracts/interfaces/core/governance/gauges/IGaugeRewardsDistributor__factory.d.ts +425 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/governance/gauges/index.d.ts +2 -1
- package/dist/types/typechain-types/factories/contracts/interfaces/core/governance/index.d.ts +0 -1
- package/dist/types/typechain-types/factories/contracts/interfaces/core/governance/proposals/IGovernance__factory.d.ts +41 -79
- package/dist/types/typechain-types/factories/contracts/interfaces/core/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/lockers/ILLamaLocker__factory.d.ts +390 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/lockers/ILLamaTemple__factory.d.ts +390 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/lockers/index.d.ts +2 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/minters/RAACMinter/IRAACMinterRewardsReceiver__factory.d.ts +35 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/minters/RAACMinter/IRAACMinter__factory.d.ts +33 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/minters/RAACMinter/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/minters/RAACReleaseOrchestrator/IReleaseOrchestrator__factory.d.ts +4 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/oracles/IBaseVRFv2Consumer__factory.d.ts +14 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/oracles/IRAACHousePrices__factory.d.ts +24 -29
- package/dist/types/typechain-types/factories/contracts/interfaces/core/pools/LendingPool/IAssetAdapter__factory.d.ts +189 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/pools/LendingPool/IERC721Adapter__factory.d.ts +53 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/pools/LendingPool/ILendingPoolStorage__factory.d.ts +183 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/pools/LendingPool/ILendingPool__factory.d.ts +428 -143
- package/dist/types/typechain-types/factories/contracts/interfaces/core/pools/LendingPool/index.d.ts +3 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/pools/StabilityPool/ILiquidationSwap__factory.d.ts +53 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/pools/StabilityPool/IStabilityPoolStorage__factory.d.ts +56 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/pools/StabilityPool/IStabilityPool__factory.d.ts +26 -75
- package/dist/types/typechain-types/factories/contracts/interfaces/core/pools/StabilityPool/index.d.ts +2 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/tokens/IDebtToken__factory.d.ts +6 -10
- package/dist/types/typechain-types/factories/contracts/interfaces/core/tokens/IRAACNFT__factory.d.ts +79 -4
- package/dist/types/typechain-types/factories/contracts/interfaces/core/tokens/IVaultToken__factory.d.ts +223 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/tokens/IveRAACToken__factory.d.ts +355 -29
- package/dist/types/typechain-types/factories/contracts/interfaces/core/tokens/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/vaults/IBaseHybridVault__factory.d.ts +256 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/vaults/IVaultAssetAdapter__factory.d.ts +119 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/core/vaults/index.d.ts +2 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/curve/ICurveLiquidityGaugeV5__factory.d.ts +503 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/curve/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/contracts/interfaces/index.d.ts +2 -4
- package/dist/types/typechain-types/factories/contracts/interfaces/zeno/IAuction__factory.d.ts +44 -1
- package/dist/types/typechain-types/factories/contracts/interfaces/zeno/IZENO__factory.d.ts +42 -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 +10 -1
- package/dist/types/typechain-types/factories/contracts/libraries/governance/PowerCheckpoint__factory.d.ts +47 -1
- package/dist/types/typechain-types/factories/contracts/libraries/governance/index.d.ts +0 -3
- package/dist/types/typechain-types/factories/contracts/libraries/math/TimeWeightedAverage__factory.d.ts +1 -29
- 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 +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/collectors/MockWETH__factory.d.ts +353 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/collectors/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/curve/CurveLiquidityGaugeV5Mock.sol/CurveLiquidityGaugeV5Mock__factory.d.ts +65 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/curve/CurveLiquidityGaugeV5Mock.sol/ILiquidityGauge__factory.d.ts +21 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/curve/CurveLiquidityGaugeV5Mock.sol/index.d.ts +2 -0
- 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 -15
- package/dist/types/typechain-types/factories/contracts/mocks/core/governance/gauges/index.d.ts +0 -1
- 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/index.d.ts +2 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/lockers/LLamaLocker.sol/LlamaLocker__factory.d.ts +591 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/lockers/LLamaLocker.sol/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/lockers/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/oracles/MockERC20PriceOracle.sol/IPriceOracle__factory.d.ts +17 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/oracles/MockERC20PriceOracle.sol/MockERC20PriceOracle__factory.d.ts +42 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/oracles/MockERC20PriceOracle.sol/index.d.ts +2 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/oracles/MockFunctionsRouter.sol/MockFunctionsRouter__factory.d.ts +2 -2
- package/dist/types/typechain-types/factories/contracts/mocks/core/oracles/MockOracle__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/oracles/MockVRFCoordinatorV2__factory.d.ts +490 -166
- package/dist/types/typechain-types/factories/contracts/mocks/core/oracles/TestRAACHousePriceOracle__factory.d.ts +67 -12
- package/dist/types/typechain-types/factories/contracts/mocks/core/oracles/TestRAACPrimeRateOracle__factory.d.ts +49 -3
- package/dist/types/typechain-types/factories/contracts/mocks/core/oracles/index.d.ts +1 -0
- package/dist/types/typechain-types/factories/contracts/mocks/core/pools/MockLendingPoolCollector__factory.d.ts +1 -21
- package/dist/types/typechain-types/factories/contracts/mocks/core/pools/MockLendingPoolDebtToken__factory.d.ts +427 -132
- package/dist/types/typechain-types/factories/contracts/mocks/core/pools/MockLendingPool__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/pools/MockLiquidityPool__factory.d.ts +1 -21
- 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/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 +1 -21
- 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/tokens/CrvUSDToken__factory.d.ts +1 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/tokens/ERC20Mock__factory.d.ts +8 -4
- 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 +1 -21
- package/dist/types/typechain-types/factories/contracts/mocks/core/tokens/MockFeeCollectorToken__factory.d.ts +1 -15
- package/dist/types/typechain-types/factories/contracts/mocks/core/tokens/MockToken__factory.d.ts +1 -15
- 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 +0 -1
- package/dist/types/typechain-types/factories/contracts/mocks/core/vaults/MockVault__factory.d.ts +1 -21
- 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 +53 -122
- package/dist/types/typechain-types/factories/contracts/mocks/libraries/governance/LockManagerMock__factory.d.ts +21 -12
- package/dist/types/typechain-types/factories/contracts/mocks/libraries/governance/PowerCheckpointMock__factory.d.ts +39 -14
- package/dist/types/typechain-types/factories/contracts/mocks/libraries/governance/index.d.ts +0 -3
- 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/ReserveLibraryMock__factory.d.ts +1 -1
- 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/mocks/tests/index.d.ts +0 -1
- package/dist/types/typechain-types/factories/contracts/zeno/AuctionFactory__factory.d.ts +5 -1
- package/dist/types/typechain-types/factories/contracts/zeno/Auction__factory.d.ts +83 -14
- package/dist/types/typechain-types/factories/contracts/zeno/ZENOFactory__factory.d.ts +13 -1
- package/dist/types/typechain-types/factories/contracts/zeno/ZENO__factory.d.ts +87 -31
- package/dist/types/typechain-types/index.d.ts +112 -40
- package/dist/types/utils/artifacts.d.ts +460 -44
- package/dist/utils/artifacts.js +13 -2
- package/package.json +1 -1
- package/dist/artifacts/core/tokens/IndexToken.sol/IndexToken.json +0 -770
- package/dist/contracts/indexToken/getNextRandomNFT.js +0 -30
- package/dist/contracts/indexToken/redeemNFT.js +0 -39
- package/dist/pools/lendingPool/claimReward.js +0 -22
- package/dist/pools/lendingPool/depositNFTToLendingPool.js +0 -50
- package/dist/pools/lendingPool/getAllUserData.js +0 -28
- package/dist/pools/lendingPool/getPendingReward.js +0 -20
- package/dist/pools/lendingPool/getUserOfDepositedNFT.js +0 -27
- package/dist/pools/lendingPool/withdrawNFTFromLendingPool.js +0 -24
- package/dist/pools/stabilityPool/calculateRAACRewards.js +0 -21
- package/dist/pools/stabilityPool/depositNFTToStabilityPool.js +0 -40
- package/dist/types/contracts/indexToken/getNextRandomNFT.d.ts +0 -7
- package/dist/types/contracts/indexToken/redeemNFT.d.ts +0 -4
- package/dist/types/pools/lendingPool/claimReward.d.ts +0 -4
- package/dist/types/pools/lendingPool/depositNFTToLendingPool.d.ts +0 -4
- package/dist/types/pools/lendingPool/getAllUserData.d.ts +0 -17
- package/dist/types/pools/lendingPool/getPendingReward.d.ts +0 -4
- package/dist/types/pools/lendingPool/getUserOfDepositedNFT.d.ts +0 -11
- package/dist/types/pools/lendingPool/withdrawNFTFromLendingPool.d.ts +0 -4
- package/dist/types/pools/stabilityPool/calculateRAACRewards.d.ts +0 -4
- package/dist/types/pools/stabilityPool/depositNFTToStabilityPool.d.ts +0 -4
package/dist/types/typechain-types/factories/contracts/interfaces/core/pools/LendingPool/index.d.ts
CHANGED
|
@@ -1 +1,4 @@
|
|
|
1
|
+
export { IAssetAdapter__factory } from "./IAssetAdapter__factory";
|
|
2
|
+
export { IERC721Adapter__factory } from "./IERC721Adapter__factory";
|
|
1
3
|
export { ILendingPool__factory } from "./ILendingPool__factory";
|
|
4
|
+
export { ILendingPoolStorage__factory } from "./ILendingPoolStorage__factory";
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { type ContractRunner } from "ethers";
|
|
2
|
+
import type { ILiquidationSwap, ILiquidationSwapInterface } from "../../../../../../contracts/interfaces/core/pools/StabilityPool/ILiquidationSwap";
|
|
3
|
+
export declare class ILiquidationSwap__factory {
|
|
4
|
+
static readonly abi: readonly [{
|
|
5
|
+
readonly inputs: readonly [];
|
|
6
|
+
readonly name: "ApprovalFailed";
|
|
7
|
+
readonly type: "error";
|
|
8
|
+
}, {
|
|
9
|
+
readonly inputs: readonly [];
|
|
10
|
+
readonly name: "InvalidAddress";
|
|
11
|
+
readonly type: "error";
|
|
12
|
+
}, {
|
|
13
|
+
readonly inputs: readonly [];
|
|
14
|
+
readonly name: "Unauthorized";
|
|
15
|
+
readonly type: "error";
|
|
16
|
+
}, {
|
|
17
|
+
readonly inputs: readonly [];
|
|
18
|
+
readonly name: "ZeroAmount";
|
|
19
|
+
readonly type: "error";
|
|
20
|
+
}, {
|
|
21
|
+
readonly anonymous: false;
|
|
22
|
+
readonly inputs: readonly [{
|
|
23
|
+
readonly indexed: false;
|
|
24
|
+
readonly internalType: "address";
|
|
25
|
+
readonly name: "caller";
|
|
26
|
+
readonly type: "address";
|
|
27
|
+
}, {
|
|
28
|
+
readonly indexed: false;
|
|
29
|
+
readonly internalType: "uint256";
|
|
30
|
+
readonly name: "vaultTokenAmount";
|
|
31
|
+
readonly type: "uint256";
|
|
32
|
+
}, {
|
|
33
|
+
readonly indexed: false;
|
|
34
|
+
readonly internalType: "uint256";
|
|
35
|
+
readonly name: "swapTokenAmount";
|
|
36
|
+
readonly type: "uint256";
|
|
37
|
+
}];
|
|
38
|
+
readonly name: "Swapped";
|
|
39
|
+
readonly type: "event";
|
|
40
|
+
}, {
|
|
41
|
+
readonly inputs: readonly [{
|
|
42
|
+
readonly internalType: "uint256";
|
|
43
|
+
readonly name: "amount";
|
|
44
|
+
readonly type: "uint256";
|
|
45
|
+
}];
|
|
46
|
+
readonly name: "swap";
|
|
47
|
+
readonly outputs: readonly [];
|
|
48
|
+
readonly stateMutability: "nonpayable";
|
|
49
|
+
readonly type: "function";
|
|
50
|
+
}];
|
|
51
|
+
static createInterface(): ILiquidationSwapInterface;
|
|
52
|
+
static connect(address: string, runner?: ContractRunner | null): ILiquidationSwap;
|
|
53
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { type ContractRunner } from "ethers";
|
|
2
|
+
import type { IStabilityPoolStorage, IStabilityPoolStorageInterface } from "../../../../../../contracts/interfaces/core/pools/StabilityPool/IStabilityPoolStorage";
|
|
3
|
+
export declare class IStabilityPoolStorage__factory {
|
|
4
|
+
static readonly abi: readonly [{
|
|
5
|
+
readonly inputs: readonly [];
|
|
6
|
+
readonly name: "AdaptersAssetMismatch";
|
|
7
|
+
readonly type: "error";
|
|
8
|
+
}, {
|
|
9
|
+
readonly inputs: readonly [];
|
|
10
|
+
readonly name: "ApprovalFailed";
|
|
11
|
+
readonly type: "error";
|
|
12
|
+
}, {
|
|
13
|
+
readonly inputs: readonly [];
|
|
14
|
+
readonly name: "CollateralAndParamterDataMismatch";
|
|
15
|
+
readonly type: "error";
|
|
16
|
+
}, {
|
|
17
|
+
readonly inputs: readonly [];
|
|
18
|
+
readonly name: "InsufficientBalance";
|
|
19
|
+
readonly type: "error";
|
|
20
|
+
}, {
|
|
21
|
+
readonly inputs: readonly [];
|
|
22
|
+
readonly name: "InvalidAddress";
|
|
23
|
+
readonly type: "error";
|
|
24
|
+
}, {
|
|
25
|
+
readonly inputs: readonly [];
|
|
26
|
+
readonly name: "InvalidAmount";
|
|
27
|
+
readonly type: "error";
|
|
28
|
+
}, {
|
|
29
|
+
readonly anonymous: false;
|
|
30
|
+
readonly inputs: readonly [{
|
|
31
|
+
readonly indexed: true;
|
|
32
|
+
readonly internalType: "address";
|
|
33
|
+
readonly name: "user";
|
|
34
|
+
readonly type: "address";
|
|
35
|
+
}, {
|
|
36
|
+
readonly indexed: false;
|
|
37
|
+
readonly internalType: "address";
|
|
38
|
+
readonly name: "assetAddress";
|
|
39
|
+
readonly type: "address";
|
|
40
|
+
}, {
|
|
41
|
+
readonly indexed: false;
|
|
42
|
+
readonly internalType: "bytes";
|
|
43
|
+
readonly name: "data";
|
|
44
|
+
readonly type: "bytes";
|
|
45
|
+
}, {
|
|
46
|
+
readonly indexed: false;
|
|
47
|
+
readonly internalType: "uint256";
|
|
48
|
+
readonly name: "amount";
|
|
49
|
+
readonly type: "uint256";
|
|
50
|
+
}];
|
|
51
|
+
readonly name: "BorrowerLiquidated";
|
|
52
|
+
readonly type: "event";
|
|
53
|
+
}];
|
|
54
|
+
static createInterface(): IStabilityPoolStorageInterface;
|
|
55
|
+
static connect(address: string, runner?: ContractRunner | null): IStabilityPoolStorage;
|
|
56
|
+
}
|
|
@@ -3,19 +3,7 @@ import type { IStabilityPool, IStabilityPoolInterface } from "../../../../../../
|
|
|
3
3
|
export declare class IStabilityPool__factory {
|
|
4
4
|
static readonly abi: readonly [{
|
|
5
5
|
readonly inputs: readonly [];
|
|
6
|
-
readonly name: "
|
|
7
|
-
readonly type: "error";
|
|
8
|
-
}, {
|
|
9
|
-
readonly inputs: readonly [];
|
|
10
|
-
readonly name: "InsufficientBalance";
|
|
11
|
-
readonly type: "error";
|
|
12
|
-
}, {
|
|
13
|
-
readonly inputs: readonly [];
|
|
14
|
-
readonly name: "InvalidAddress";
|
|
15
|
-
readonly type: "error";
|
|
16
|
-
}, {
|
|
17
|
-
readonly inputs: readonly [];
|
|
18
|
-
readonly name: "InvalidAmount";
|
|
6
|
+
readonly name: "AddressCannotBeZero";
|
|
19
7
|
readonly type: "error";
|
|
20
8
|
}, {
|
|
21
9
|
readonly inputs: readonly [];
|
|
@@ -49,6 +37,10 @@ export declare class IStabilityPool__factory {
|
|
|
49
37
|
readonly inputs: readonly [];
|
|
50
38
|
readonly name: "MarketNotFound";
|
|
51
39
|
readonly type: "error";
|
|
40
|
+
}, {
|
|
41
|
+
readonly inputs: readonly [];
|
|
42
|
+
readonly name: "SameAddressNotAllowed";
|
|
43
|
+
readonly type: "error";
|
|
52
44
|
}, {
|
|
53
45
|
readonly inputs: readonly [];
|
|
54
46
|
readonly name: "TransferFailed";
|
|
@@ -72,26 +64,6 @@ export declare class IStabilityPool__factory {
|
|
|
72
64
|
}];
|
|
73
65
|
readonly name: "AllocationUpdated";
|
|
74
66
|
readonly type: "event";
|
|
75
|
-
}, {
|
|
76
|
-
readonly anonymous: false;
|
|
77
|
-
readonly inputs: readonly [{
|
|
78
|
-
readonly indexed: true;
|
|
79
|
-
readonly internalType: "address";
|
|
80
|
-
readonly name: "user";
|
|
81
|
-
readonly type: "address";
|
|
82
|
-
}, {
|
|
83
|
-
readonly indexed: false;
|
|
84
|
-
readonly internalType: "uint256";
|
|
85
|
-
readonly name: "tokenId";
|
|
86
|
-
readonly type: "uint256";
|
|
87
|
-
}, {
|
|
88
|
-
readonly indexed: false;
|
|
89
|
-
readonly internalType: "uint256";
|
|
90
|
-
readonly name: "amount";
|
|
91
|
-
readonly type: "uint256";
|
|
92
|
-
}];
|
|
93
|
-
readonly name: "BorrowerLiquidated";
|
|
94
|
-
readonly type: "event";
|
|
95
67
|
}, {
|
|
96
68
|
readonly anonymous: false;
|
|
97
69
|
readonly inputs: readonly [{
|
|
@@ -116,11 +88,16 @@ export declare class IStabilityPool__factory {
|
|
|
116
88
|
readonly anonymous: false;
|
|
117
89
|
readonly inputs: readonly [{
|
|
118
90
|
readonly indexed: false;
|
|
119
|
-
readonly internalType: "
|
|
120
|
-
readonly name: "
|
|
121
|
-
readonly type: "
|
|
91
|
+
readonly internalType: "address";
|
|
92
|
+
readonly name: "previous";
|
|
93
|
+
readonly type: "address";
|
|
94
|
+
}, {
|
|
95
|
+
readonly indexed: false;
|
|
96
|
+
readonly internalType: "address";
|
|
97
|
+
readonly name: "latest";
|
|
98
|
+
readonly type: "address";
|
|
122
99
|
}];
|
|
123
|
-
readonly name: "
|
|
100
|
+
readonly name: "LiquidationStrategyProxyUpdated";
|
|
124
101
|
readonly type: "event";
|
|
125
102
|
}, {
|
|
126
103
|
readonly anonymous: false;
|
|
@@ -323,20 +300,6 @@ export declare class IStabilityPool__factory {
|
|
|
323
300
|
readonly outputs: readonly [];
|
|
324
301
|
readonly stateMutability: "nonpayable";
|
|
325
302
|
readonly type: "function";
|
|
326
|
-
}, {
|
|
327
|
-
readonly inputs: readonly [{
|
|
328
|
-
readonly internalType: "address";
|
|
329
|
-
readonly name: "nft";
|
|
330
|
-
readonly type: "address";
|
|
331
|
-
}, {
|
|
332
|
-
readonly internalType: "uint256";
|
|
333
|
-
readonly name: "tokenId";
|
|
334
|
-
readonly type: "uint256";
|
|
335
|
-
}];
|
|
336
|
-
readonly name: "depositNFT";
|
|
337
|
-
readonly outputs: readonly [];
|
|
338
|
-
readonly stateMutability: "nonpayable";
|
|
339
|
-
readonly type: "function";
|
|
340
303
|
}, {
|
|
341
304
|
readonly inputs: readonly [];
|
|
342
305
|
readonly name: "getManagerList";
|
|
@@ -402,12 +365,20 @@ export declare class IStabilityPool__factory {
|
|
|
402
365
|
}, {
|
|
403
366
|
readonly inputs: readonly [{
|
|
404
367
|
readonly internalType: "address";
|
|
405
|
-
readonly name: "
|
|
368
|
+
readonly name: "poolAdapter";
|
|
406
369
|
readonly type: "address";
|
|
407
370
|
}, {
|
|
408
|
-
readonly internalType: "
|
|
409
|
-
readonly name: "
|
|
410
|
-
readonly type: "
|
|
371
|
+
readonly internalType: "address";
|
|
372
|
+
readonly name: "vaultAdapter";
|
|
373
|
+
readonly type: "address";
|
|
374
|
+
}, {
|
|
375
|
+
readonly internalType: "address";
|
|
376
|
+
readonly name: "user";
|
|
377
|
+
readonly type: "address";
|
|
378
|
+
}, {
|
|
379
|
+
readonly internalType: "bytes";
|
|
380
|
+
readonly name: "data";
|
|
381
|
+
readonly type: "bytes";
|
|
411
382
|
}];
|
|
412
383
|
readonly name: "liquidateBorrower";
|
|
413
384
|
readonly outputs: readonly [];
|
|
@@ -429,16 +400,6 @@ export declare class IStabilityPool__factory {
|
|
|
429
400
|
readonly outputs: readonly [];
|
|
430
401
|
readonly stateMutability: "nonpayable";
|
|
431
402
|
readonly type: "function";
|
|
432
|
-
}, {
|
|
433
|
-
readonly inputs: readonly [{
|
|
434
|
-
readonly internalType: "address";
|
|
435
|
-
readonly name: "_indexToken";
|
|
436
|
-
readonly type: "address";
|
|
437
|
-
}];
|
|
438
|
-
readonly name: "setIndexToken";
|
|
439
|
-
readonly outputs: readonly [];
|
|
440
|
-
readonly stateMutability: "nonpayable";
|
|
441
|
-
readonly type: "function";
|
|
442
403
|
}, {
|
|
443
404
|
readonly inputs: readonly [{
|
|
444
405
|
readonly internalType: "address";
|
|
@@ -449,16 +410,6 @@ export declare class IStabilityPool__factory {
|
|
|
449
410
|
readonly outputs: readonly [];
|
|
450
411
|
readonly stateMutability: "nonpayable";
|
|
451
412
|
readonly type: "function";
|
|
452
|
-
}, {
|
|
453
|
-
readonly inputs: readonly [{
|
|
454
|
-
readonly internalType: "address";
|
|
455
|
-
readonly name: "_treasury";
|
|
456
|
-
readonly type: "address";
|
|
457
|
-
}];
|
|
458
|
-
readonly name: "setTreasury";
|
|
459
|
-
readonly outputs: readonly [];
|
|
460
|
-
readonly stateMutability: "nonpayable";
|
|
461
|
-
readonly type: "function";
|
|
462
413
|
}, {
|
|
463
414
|
readonly inputs: readonly [];
|
|
464
415
|
readonly name: "unpause";
|
|
@@ -210,9 +210,9 @@ export declare class IDebtToken__factory {
|
|
|
210
210
|
readonly name: "index";
|
|
211
211
|
readonly type: "uint256";
|
|
212
212
|
}, {
|
|
213
|
-
readonly internalType: "
|
|
214
|
-
readonly name: "
|
|
215
|
-
readonly type: "
|
|
213
|
+
readonly internalType: "bytes";
|
|
214
|
+
readonly name: "asset";
|
|
215
|
+
readonly type: "bytes";
|
|
216
216
|
}];
|
|
217
217
|
readonly name: "burn";
|
|
218
218
|
readonly outputs: readonly [{
|
|
@@ -272,13 +272,9 @@ export declare class IDebtToken__factory {
|
|
|
272
272
|
readonly name: "index";
|
|
273
273
|
readonly type: "uint256";
|
|
274
274
|
}, {
|
|
275
|
-
readonly internalType: "
|
|
276
|
-
readonly name: "
|
|
277
|
-
readonly type: "
|
|
278
|
-
}, {
|
|
279
|
-
readonly internalType: "uint256";
|
|
280
|
-
readonly name: "positionId";
|
|
281
|
-
readonly type: "uint256";
|
|
275
|
+
readonly internalType: "bytes";
|
|
276
|
+
readonly name: "asset";
|
|
277
|
+
readonly type: "bytes";
|
|
282
278
|
}];
|
|
283
279
|
readonly name: "mint";
|
|
284
280
|
readonly outputs: readonly [{
|
package/dist/types/typechain-types/factories/contracts/interfaces/core/tokens/IRAACNFT__factory.d.ts
CHANGED
|
@@ -2,6 +2,10 @@ import { type ContractRunner } from "ethers";
|
|
|
2
2
|
import type { IRAACNFT, IRAACNFTInterface } from "../../../../../contracts/interfaces/core/tokens/IRAACNFT";
|
|
3
3
|
export declare class IRAACNFT__factory {
|
|
4
4
|
static readonly abi: readonly [{
|
|
5
|
+
readonly inputs: readonly [];
|
|
6
|
+
readonly name: "ApprovalFailed";
|
|
7
|
+
readonly type: "error";
|
|
8
|
+
}, {
|
|
5
9
|
readonly inputs: readonly [];
|
|
6
10
|
readonly name: "ExceedsMaxFee";
|
|
7
11
|
readonly type: "error";
|
|
@@ -183,6 +187,16 @@ export declare class IRAACNFT__factory {
|
|
|
183
187
|
}];
|
|
184
188
|
readonly name: "NFTMinted";
|
|
185
189
|
readonly type: "event";
|
|
190
|
+
}, {
|
|
191
|
+
readonly anonymous: false;
|
|
192
|
+
readonly inputs: readonly [{
|
|
193
|
+
readonly indexed: false;
|
|
194
|
+
readonly internalType: "uint256";
|
|
195
|
+
readonly name: "tradeFee";
|
|
196
|
+
readonly type: "uint256";
|
|
197
|
+
}];
|
|
198
|
+
readonly name: "TradeFeeUpdated";
|
|
199
|
+
readonly type: "event";
|
|
186
200
|
}, {
|
|
187
201
|
readonly anonymous: false;
|
|
188
202
|
readonly inputs: readonly [{
|
|
@@ -283,6 +297,25 @@ export declare class IRAACNFT__factory {
|
|
|
283
297
|
}];
|
|
284
298
|
readonly stateMutability: "view";
|
|
285
299
|
readonly type: "function";
|
|
300
|
+
}, {
|
|
301
|
+
readonly inputs: readonly [];
|
|
302
|
+
readonly name: "getFeeStructure";
|
|
303
|
+
readonly outputs: readonly [{
|
|
304
|
+
readonly components: readonly [{
|
|
305
|
+
readonly internalType: "uint256";
|
|
306
|
+
readonly name: "mintFee";
|
|
307
|
+
readonly type: "uint256";
|
|
308
|
+
}, {
|
|
309
|
+
readonly internalType: "uint256";
|
|
310
|
+
readonly name: "tradeFee";
|
|
311
|
+
readonly type: "uint256";
|
|
312
|
+
}];
|
|
313
|
+
readonly internalType: "struct IRAACNFT.FeeStructure";
|
|
314
|
+
readonly name: "";
|
|
315
|
+
readonly type: "tuple";
|
|
316
|
+
}];
|
|
317
|
+
readonly stateMutability: "view";
|
|
318
|
+
readonly type: "function";
|
|
286
319
|
}, {
|
|
287
320
|
readonly inputs: readonly [{
|
|
288
321
|
readonly internalType: "uint256";
|
|
@@ -417,6 +450,28 @@ export declare class IRAACNFT__factory {
|
|
|
417
450
|
readonly outputs: readonly [];
|
|
418
451
|
readonly stateMutability: "nonpayable";
|
|
419
452
|
readonly type: "function";
|
|
453
|
+
}, {
|
|
454
|
+
readonly inputs: readonly [{
|
|
455
|
+
readonly internalType: "uint256";
|
|
456
|
+
readonly name: "tokenId";
|
|
457
|
+
readonly type: "uint256";
|
|
458
|
+
}, {
|
|
459
|
+
readonly internalType: "uint256";
|
|
460
|
+
readonly name: "salePrice";
|
|
461
|
+
readonly type: "uint256";
|
|
462
|
+
}];
|
|
463
|
+
readonly name: "royaltyInfo";
|
|
464
|
+
readonly outputs: readonly [{
|
|
465
|
+
readonly internalType: "address";
|
|
466
|
+
readonly name: "receiver";
|
|
467
|
+
readonly type: "address";
|
|
468
|
+
}, {
|
|
469
|
+
readonly internalType: "uint256";
|
|
470
|
+
readonly name: "royaltyAmount";
|
|
471
|
+
readonly type: "uint256";
|
|
472
|
+
}];
|
|
473
|
+
readonly stateMutability: "view";
|
|
474
|
+
readonly type: "function";
|
|
420
475
|
}, {
|
|
421
476
|
readonly inputs: readonly [{
|
|
422
477
|
readonly internalType: "address";
|
|
@@ -491,6 +546,26 @@ export declare class IRAACNFT__factory {
|
|
|
491
546
|
readonly outputs: readonly [];
|
|
492
547
|
readonly stateMutability: "nonpayable";
|
|
493
548
|
readonly type: "function";
|
|
549
|
+
}, {
|
|
550
|
+
readonly inputs: readonly [{
|
|
551
|
+
readonly internalType: "address";
|
|
552
|
+
readonly name: "_feeCollector";
|
|
553
|
+
readonly type: "address";
|
|
554
|
+
}];
|
|
555
|
+
readonly name: "setFeeCollector";
|
|
556
|
+
readonly outputs: readonly [];
|
|
557
|
+
readonly stateMutability: "nonpayable";
|
|
558
|
+
readonly type: "function";
|
|
559
|
+
}, {
|
|
560
|
+
readonly inputs: readonly [{
|
|
561
|
+
readonly internalType: "uint256";
|
|
562
|
+
readonly name: "newFee";
|
|
563
|
+
readonly type: "uint256";
|
|
564
|
+
}];
|
|
565
|
+
readonly name: "setMaxFee";
|
|
566
|
+
readonly outputs: readonly [];
|
|
567
|
+
readonly stateMutability: "nonpayable";
|
|
568
|
+
readonly type: "function";
|
|
494
569
|
}, {
|
|
495
570
|
readonly inputs: readonly [{
|
|
496
571
|
readonly internalType: "uint256";
|
|
@@ -503,11 +578,11 @@ export declare class IRAACNFT__factory {
|
|
|
503
578
|
readonly type: "function";
|
|
504
579
|
}, {
|
|
505
580
|
readonly inputs: readonly [{
|
|
506
|
-
readonly internalType: "
|
|
507
|
-
readonly name: "
|
|
508
|
-
readonly type: "
|
|
581
|
+
readonly internalType: "uint256";
|
|
582
|
+
readonly name: "newFee";
|
|
583
|
+
readonly type: "uint256";
|
|
509
584
|
}];
|
|
510
|
-
readonly name: "
|
|
585
|
+
readonly name: "setTradeFee";
|
|
511
586
|
readonly outputs: readonly [];
|
|
512
587
|
readonly stateMutability: "nonpayable";
|
|
513
588
|
readonly type: "function";
|
|
@@ -0,0 +1,223 @@
|
|
|
1
|
+
import { type ContractRunner } from "ethers";
|
|
2
|
+
import type { IVaultToken, IVaultTokenInterface } from "../../../../../contracts/interfaces/core/tokens/IVaultToken";
|
|
3
|
+
export declare class IVaultToken__factory {
|
|
4
|
+
static readonly abi: readonly [{
|
|
5
|
+
readonly anonymous: false;
|
|
6
|
+
readonly inputs: readonly [{
|
|
7
|
+
readonly indexed: true;
|
|
8
|
+
readonly internalType: "address";
|
|
9
|
+
readonly name: "owner";
|
|
10
|
+
readonly type: "address";
|
|
11
|
+
}, {
|
|
12
|
+
readonly indexed: true;
|
|
13
|
+
readonly internalType: "address";
|
|
14
|
+
readonly name: "spender";
|
|
15
|
+
readonly type: "address";
|
|
16
|
+
}, {
|
|
17
|
+
readonly indexed: false;
|
|
18
|
+
readonly internalType: "uint256";
|
|
19
|
+
readonly name: "value";
|
|
20
|
+
readonly type: "uint256";
|
|
21
|
+
}];
|
|
22
|
+
readonly name: "Approval";
|
|
23
|
+
readonly type: "event";
|
|
24
|
+
}, {
|
|
25
|
+
readonly anonymous: false;
|
|
26
|
+
readonly inputs: readonly [{
|
|
27
|
+
readonly indexed: true;
|
|
28
|
+
readonly internalType: "address";
|
|
29
|
+
readonly name: "from";
|
|
30
|
+
readonly type: "address";
|
|
31
|
+
}, {
|
|
32
|
+
readonly indexed: true;
|
|
33
|
+
readonly internalType: "address";
|
|
34
|
+
readonly name: "to";
|
|
35
|
+
readonly type: "address";
|
|
36
|
+
}, {
|
|
37
|
+
readonly indexed: false;
|
|
38
|
+
readonly internalType: "uint256";
|
|
39
|
+
readonly name: "value";
|
|
40
|
+
readonly type: "uint256";
|
|
41
|
+
}];
|
|
42
|
+
readonly name: "Transfer";
|
|
43
|
+
readonly type: "event";
|
|
44
|
+
}, {
|
|
45
|
+
readonly inputs: readonly [{
|
|
46
|
+
readonly internalType: "address";
|
|
47
|
+
readonly name: "owner";
|
|
48
|
+
readonly type: "address";
|
|
49
|
+
}, {
|
|
50
|
+
readonly internalType: "address";
|
|
51
|
+
readonly name: "spender";
|
|
52
|
+
readonly type: "address";
|
|
53
|
+
}];
|
|
54
|
+
readonly name: "allowance";
|
|
55
|
+
readonly outputs: readonly [{
|
|
56
|
+
readonly internalType: "uint256";
|
|
57
|
+
readonly name: "";
|
|
58
|
+
readonly type: "uint256";
|
|
59
|
+
}];
|
|
60
|
+
readonly stateMutability: "view";
|
|
61
|
+
readonly type: "function";
|
|
62
|
+
}, {
|
|
63
|
+
readonly inputs: readonly [{
|
|
64
|
+
readonly internalType: "address";
|
|
65
|
+
readonly name: "spender";
|
|
66
|
+
readonly type: "address";
|
|
67
|
+
}, {
|
|
68
|
+
readonly internalType: "uint256";
|
|
69
|
+
readonly name: "value";
|
|
70
|
+
readonly type: "uint256";
|
|
71
|
+
}];
|
|
72
|
+
readonly name: "approve";
|
|
73
|
+
readonly outputs: readonly [{
|
|
74
|
+
readonly internalType: "bool";
|
|
75
|
+
readonly name: "";
|
|
76
|
+
readonly type: "bool";
|
|
77
|
+
}];
|
|
78
|
+
readonly stateMutability: "nonpayable";
|
|
79
|
+
readonly type: "function";
|
|
80
|
+
}, {
|
|
81
|
+
readonly inputs: readonly [{
|
|
82
|
+
readonly internalType: "address";
|
|
83
|
+
readonly name: "account";
|
|
84
|
+
readonly type: "address";
|
|
85
|
+
}];
|
|
86
|
+
readonly name: "balanceOf";
|
|
87
|
+
readonly outputs: readonly [{
|
|
88
|
+
readonly internalType: "uint256";
|
|
89
|
+
readonly name: "";
|
|
90
|
+
readonly type: "uint256";
|
|
91
|
+
}];
|
|
92
|
+
readonly stateMutability: "view";
|
|
93
|
+
readonly type: "function";
|
|
94
|
+
}, {
|
|
95
|
+
readonly inputs: readonly [{
|
|
96
|
+
readonly internalType: "address";
|
|
97
|
+
readonly name: "from";
|
|
98
|
+
readonly type: "address";
|
|
99
|
+
}, {
|
|
100
|
+
readonly internalType: "uint256";
|
|
101
|
+
readonly name: "amount";
|
|
102
|
+
readonly type: "uint256";
|
|
103
|
+
}];
|
|
104
|
+
readonly name: "burn";
|
|
105
|
+
readonly outputs: readonly [];
|
|
106
|
+
readonly stateMutability: "nonpayable";
|
|
107
|
+
readonly type: "function";
|
|
108
|
+
}, {
|
|
109
|
+
readonly inputs: readonly [{
|
|
110
|
+
readonly internalType: "address";
|
|
111
|
+
readonly name: "to";
|
|
112
|
+
readonly type: "address";
|
|
113
|
+
}, {
|
|
114
|
+
readonly internalType: "uint256";
|
|
115
|
+
readonly name: "amount";
|
|
116
|
+
readonly type: "uint256";
|
|
117
|
+
}];
|
|
118
|
+
readonly name: "mint";
|
|
119
|
+
readonly outputs: readonly [];
|
|
120
|
+
readonly stateMutability: "nonpayable";
|
|
121
|
+
readonly type: "function";
|
|
122
|
+
}, {
|
|
123
|
+
readonly inputs: readonly [{
|
|
124
|
+
readonly internalType: "address";
|
|
125
|
+
readonly name: "_feeCollector";
|
|
126
|
+
readonly type: "address";
|
|
127
|
+
}];
|
|
128
|
+
readonly name: "setFeeCollector";
|
|
129
|
+
readonly outputs: readonly [];
|
|
130
|
+
readonly stateMutability: "nonpayable";
|
|
131
|
+
readonly type: "function";
|
|
132
|
+
}, {
|
|
133
|
+
readonly inputs: readonly [{
|
|
134
|
+
readonly internalType: "uint256";
|
|
135
|
+
readonly name: "_swapFeeBP";
|
|
136
|
+
readonly type: "uint256";
|
|
137
|
+
}, {
|
|
138
|
+
readonly internalType: "uint256";
|
|
139
|
+
readonly name: "_burnFeeBP";
|
|
140
|
+
readonly type: "uint256";
|
|
141
|
+
}];
|
|
142
|
+
readonly name: "setFees";
|
|
143
|
+
readonly outputs: readonly [];
|
|
144
|
+
readonly stateMutability: "nonpayable";
|
|
145
|
+
readonly type: "function";
|
|
146
|
+
}, {
|
|
147
|
+
readonly inputs: readonly [{
|
|
148
|
+
readonly internalType: "address";
|
|
149
|
+
readonly name: "pair";
|
|
150
|
+
readonly type: "address";
|
|
151
|
+
}, {
|
|
152
|
+
readonly internalType: "bool";
|
|
153
|
+
readonly name: "enabled";
|
|
154
|
+
readonly type: "bool";
|
|
155
|
+
}];
|
|
156
|
+
readonly name: "setSwapPair";
|
|
157
|
+
readonly outputs: readonly [];
|
|
158
|
+
readonly stateMutability: "nonpayable";
|
|
159
|
+
readonly type: "function";
|
|
160
|
+
}, {
|
|
161
|
+
readonly inputs: readonly [{
|
|
162
|
+
readonly internalType: "address";
|
|
163
|
+
readonly name: "_vault";
|
|
164
|
+
readonly type: "address";
|
|
165
|
+
}];
|
|
166
|
+
readonly name: "setVault";
|
|
167
|
+
readonly outputs: readonly [];
|
|
168
|
+
readonly stateMutability: "nonpayable";
|
|
169
|
+
readonly type: "function";
|
|
170
|
+
}, {
|
|
171
|
+
readonly inputs: readonly [];
|
|
172
|
+
readonly name: "totalSupply";
|
|
173
|
+
readonly outputs: readonly [{
|
|
174
|
+
readonly internalType: "uint256";
|
|
175
|
+
readonly name: "";
|
|
176
|
+
readonly type: "uint256";
|
|
177
|
+
}];
|
|
178
|
+
readonly stateMutability: "view";
|
|
179
|
+
readonly type: "function";
|
|
180
|
+
}, {
|
|
181
|
+
readonly inputs: readonly [{
|
|
182
|
+
readonly internalType: "address";
|
|
183
|
+
readonly name: "to";
|
|
184
|
+
readonly type: "address";
|
|
185
|
+
}, {
|
|
186
|
+
readonly internalType: "uint256";
|
|
187
|
+
readonly name: "value";
|
|
188
|
+
readonly type: "uint256";
|
|
189
|
+
}];
|
|
190
|
+
readonly name: "transfer";
|
|
191
|
+
readonly outputs: readonly [{
|
|
192
|
+
readonly internalType: "bool";
|
|
193
|
+
readonly name: "";
|
|
194
|
+
readonly type: "bool";
|
|
195
|
+
}];
|
|
196
|
+
readonly stateMutability: "nonpayable";
|
|
197
|
+
readonly type: "function";
|
|
198
|
+
}, {
|
|
199
|
+
readonly inputs: readonly [{
|
|
200
|
+
readonly internalType: "address";
|
|
201
|
+
readonly name: "from";
|
|
202
|
+
readonly type: "address";
|
|
203
|
+
}, {
|
|
204
|
+
readonly internalType: "address";
|
|
205
|
+
readonly name: "to";
|
|
206
|
+
readonly type: "address";
|
|
207
|
+
}, {
|
|
208
|
+
readonly internalType: "uint256";
|
|
209
|
+
readonly name: "value";
|
|
210
|
+
readonly type: "uint256";
|
|
211
|
+
}];
|
|
212
|
+
readonly name: "transferFrom";
|
|
213
|
+
readonly outputs: readonly [{
|
|
214
|
+
readonly internalType: "bool";
|
|
215
|
+
readonly name: "";
|
|
216
|
+
readonly type: "bool";
|
|
217
|
+
}];
|
|
218
|
+
readonly stateMutability: "nonpayable";
|
|
219
|
+
readonly type: "function";
|
|
220
|
+
}];
|
|
221
|
+
static createInterface(): IVaultTokenInterface;
|
|
222
|
+
static connect(address: string, runner?: ContractRunner | null): IVaultToken;
|
|
223
|
+
}
|