@raac/rpc 1.1.0-beta.4 → 1.1.0-beta.40
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 +80 -21
- 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/RAACHousePriceOracle.sol/RAACHousePriceOracle.json +409 -0
- package/dist/artifacts/core/oracles/RAACPrimeRateOracle.sol/RAACPrimeRateOracle.json +66 -4
- 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 +39 -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 -81
- package/dist/artifacts/core/tokens/RWAIndexToken.sol/RWAIndexToken.json +591 -0
- package/dist/artifacts/core/tokens/veRAACToken.sol/veRAACToken.json +557 -223
- 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 +104 -15
- package/dist/artifacts/zeno/AuctionFactory.sol/AuctionFactory.json +7 -2
- package/dist/artifacts/zeno/Zeno.sol/Zeno.json +108 -38
- package/dist/artifacts/zeno/ZenoFactory.sol/ZenoFactory.json +17 -2
- package/dist/configs/chains/11155111.json +52 -22
- package/dist/configs/chains/17000.json +38 -3
- package/dist/configs/chains/18453.json +162 -0
- package/dist/configs/chains/8453.json +47 -12
- package/dist/configs/chains/index.js +2 -0
- package/dist/configs/createConfig.js +3 -3
- 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/pools/lendingPool/_helpers.js +40 -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 +21 -0
- package/dist/pools/lendingPool/adapters/erc721/getERC721AdapterInfo.js +33 -0
- package/dist/pools/lendingPool/borrowFromLendingPool.js +11 -12
- package/dist/pools/lendingPool/borrowFromLendingPoolWithInsurance.js +35 -22
- 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 +18 -33
- package/dist/pools/lendingPool/getLendingPoolTotalLiquidity.js +2 -6
- package/dist/pools/lendingPool/getParameters.js +30 -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 +22 -0
- package/dist/pools/lendingPool/initializeLiquidation.js +12 -12
- package/dist/pools/lendingPool/openVaultPosition.js +39 -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/vaultOpened.js +22 -0
- package/dist/pools/lendingPool/withdrawAssetFromLendingPool.js +21 -0
- package/dist/pools/lendingPool/withdrawFromLendingPool.js +8 -6
- package/dist/pools/rwaVault/_helpers.js +40 -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 +31 -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 +45 -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 +115 -46
- package/dist/types/RPCLibrary.d.ts +70 -21
- package/dist/types/configs/chains/index.d.ts +5 -3
- package/dist/types/configs/createConfig.d.ts +1 -1
- 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/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 +5 -0
- package/dist/types/pools/lendingPool/adapters/erc721/getERC721AdapterInfo.d.ts +12 -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 +18 -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/vaultOpened.d.ts +11 -0
- package/dist/types/pools/lendingPool/withdrawAssetFromLendingPool.d.ts +4 -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/token/ERC721/extensions/index.d.ts +0 -1
- 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 +8 -8
- 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 -6
- 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/token/ERC721/extensions/index.d.ts +0 -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 +8 -8
- 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/{@openzeppelin/contracts/token/ERC721/extensions/ERC721Wrapper__factory.d.ts → contracts/interfaces/core/governance/gauges/IGaugeRewardsDistributor__factory.d.ts} +209 -201
- 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 -6
- 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 -42
- package/dist/types/utils/artifacts.d.ts +685 -78
- package/dist/types/utils/contracts.d.ts +4 -2
- 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 +19 -3
- 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 +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/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/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/@openzeppelin/contracts/token/ERC721/extensions/ERC721Wrapper.d.ts +0 -261
|
@@ -14,7 +14,7 @@ export declare class MockGaugeController__factory extends ContractFactory {
|
|
|
14
14
|
deploymentTransaction(): ContractTransactionResponse;
|
|
15
15
|
}>;
|
|
16
16
|
connect(runner: ContractRunner | null): MockGaugeController__factory;
|
|
17
|
-
static readonly bytecode = "
|
|
17
|
+
static readonly bytecode = "0x60808060405234601457608c908161001a8239f35b600080fdfe6080806040526004361015601257600080fd5b600090813560e01c6372be527614602857600080fd5b3460525760203660031901126052576004356001600160a01b03811603605257806103e860209252f35b5080fdfea2646970667358221220fb91c81be9f82de0f4a1b1ee651dbbe37108b7f85823f5f2f76f46b38733b5d464736f6c63430008140033";
|
|
18
18
|
static readonly abi: readonly [{
|
|
19
19
|
readonly inputs: readonly [{
|
|
20
20
|
readonly internalType: "address";
|
|
@@ -29,20 +29,6 @@ export declare class MockGaugeController__factory extends ContractFactory {
|
|
|
29
29
|
}];
|
|
30
30
|
readonly stateMutability: "pure";
|
|
31
31
|
readonly type: "function";
|
|
32
|
-
}, {
|
|
33
|
-
readonly inputs: readonly [{
|
|
34
|
-
readonly internalType: "uint256";
|
|
35
|
-
readonly name: "";
|
|
36
|
-
readonly type: "uint256";
|
|
37
|
-
}];
|
|
38
|
-
readonly name: "getTypeWeight";
|
|
39
|
-
readonly outputs: readonly [{
|
|
40
|
-
readonly internalType: "uint256";
|
|
41
|
-
readonly name: "";
|
|
42
|
-
readonly type: "uint256";
|
|
43
|
-
}];
|
|
44
|
-
readonly stateMutability: "pure";
|
|
45
|
-
readonly type: "function";
|
|
46
32
|
}];
|
|
47
33
|
static createInterface(): MockGaugeControllerInterface;
|
|
48
34
|
static connect(address: string, runner?: ContractRunner | null): MockGaugeController;
|
|
@@ -14,7 +14,7 @@ export declare class TimelockTestTarget__factory extends ContractFactory {
|
|
|
14
14
|
deploymentTransaction(): ContractTransactionResponse;
|
|
15
15
|
}>;
|
|
16
16
|
connect(runner: ContractRunner | null): TimelockTestTarget__factory;
|
|
17
|
-
static readonly bytecode = "
|
|
17
|
+
static readonly bytecode = "0x60808060405234610016576101ec908161001c8239f35b600080fdfe60806040818152600436101561001f575b5050361561001d57600080fd5b005b600091823560e01c9081633e3eed8414610186575080633fa4f2451461016a5780634185f8eb14610158578063552410771461010d5763cbaf2fa70361001057346101095760203660031901126101095760043590818352600160205260ff81842054166100c957816020917f1277662f4b42b8a4069e99fb5e41ce8919d3c621156090ac08fb11adbcec66f993855260018352808520600160ff1982541617905551908152a180f35b5162461bcd60e51b815260206004820152601a60248201527913dc195c985d1a5bdb88185b1c9958591e48195e1958dd5d195960321b6044820152606490fd5b5080fd5b5034610109576020366003190112610109577f253ac2c290fb3c37b20cfd60899ed86c0c8313905edc8ca53ec8d2b69d9919ad9060043583549080855582519182526020820152a180f35b82806003193601126101675780f35b80fd5b5034610109578160031936011261010957602091549051908152f35b919050346101b25760203660031901126101b25760ff9060209360043581526001855220541615158152f35b8280fdfea2646970667358221220838757d02fd5ef4fc57ef5a936bea122f0d9cd4a246b5a289dc0026ad8a5f70e64736f6c63430008140033";
|
|
18
18
|
static readonly abi: readonly [{
|
|
19
19
|
readonly anonymous: false;
|
|
20
20
|
readonly inputs: readonly [{
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
export * as collectors from "./collectors";
|
|
2
|
+
export * as curve from "./curve";
|
|
2
3
|
export * as governance from "./governance";
|
|
4
|
+
export * as lockers from "./lockers";
|
|
3
5
|
export * as oracles from "./oracles";
|
|
4
6
|
export * as pools from "./pools";
|
|
5
7
|
export * as primitives from "./primitives";
|
|
@@ -0,0 +1,591 @@
|
|
|
1
|
+
import { ContractFactory, ContractTransactionResponse } from "ethers";
|
|
2
|
+
import type { Signer, BytesLike, AddressLike, ContractDeployTransaction, ContractRunner } from "ethers";
|
|
3
|
+
import type { NonPayableOverrides } from "../../../../../../common";
|
|
4
|
+
import type { LlamaLocker, LlamaLockerInterface } from "../../../../../../contracts/mocks/core/lockers/LLamaLocker.sol/LlamaLocker";
|
|
5
|
+
type LlamaLockerConstructorParams = [signer?: Signer] | ConstructorParameters<typeof ContractFactory>;
|
|
6
|
+
export declare class LlamaLocker__factory extends ContractFactory {
|
|
7
|
+
constructor(...args: LlamaLockerConstructorParams);
|
|
8
|
+
getDeployTransaction(owner_: AddressLike, nft_: AddressLike, root_: BytesLike, overrides?: NonPayableOverrides & {
|
|
9
|
+
from?: string;
|
|
10
|
+
}): Promise<ContractDeployTransaction>;
|
|
11
|
+
deploy(owner_: AddressLike, nft_: AddressLike, root_: BytesLike, overrides?: NonPayableOverrides & {
|
|
12
|
+
from?: string;
|
|
13
|
+
}): Promise<LlamaLocker & {
|
|
14
|
+
deploymentTransaction(): ContractTransactionResponse;
|
|
15
|
+
}>;
|
|
16
|
+
connect(runner: ContractRunner | null): LlamaLocker__factory;
|
|
17
|
+
static readonly bytecode = "0x6080346200010f57601f62001bfd38819003918201601f19168301916001600160401b0383118484101762000114578084926060946040528339810103126200010f576200004d816200012a565b9060406200005e602083016200012a565b9101516001600160a01b039290919083168015620000f65760018060a01b0319938460015416600155816000549586161760005560405194167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0600080a3600160025560048054610100600160a81b03191660089290921b610100600160a81b0316919091179055600355611abd9081620001408239f35b604051631e4fbdf760e01b815260006004820152602490fd5b600080fd5b634e487b7160e01b600052604160045260246000fd5b51906001600160a01b03821682036200010f5756fe6080604081815260048036101561001557600080fd5b600092833560e01c9081630e00ee211461105157508063150b7a0214610faa5780631c8e856814610f875780631e83409a14610f605780633a583d7514610f2e57806344b056ed14610e2357806347ccca0214610df85780635d36598f14610b4e578063715018a614610b2657806379ba509714610aa45780637bb7bed114610a6457806382e5d07314610a45578063859610c6146109fd5780638da5cb5b146109d5578063a1f8780914610820578063a70b9f0c14610802578063b5b3b6eb146106b6578063b9e35db014610611578063c4f59f9b14610585578063d4570c1c14610550578063d5a4ee6f1461046e578063d6b0f48414610409578063dab5f340146103a2578063e15fec181461025b578063e30c397814610232578063ebf0c7171461020f578063f2fde38b1461019f5763f4dadc611461015757600080fd5b3461019b57602036600319011261019b57606092829135815260056020522060018060a01b0381541691600260018301549201549181519384526020840152820152f35b8280fd5b833461020c57602036600319011261020c576101b961106c565b6101c161128b565b600180546001600160a01b0319166001600160a01b0392831690811790915582549091167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e227008380a380f35b80fd5b50503461022e578160031936011261022e576020906003549051908152f35b5080fd5b50503461022e578160031936011261022e5760015490516001600160a01b039091168152602090f35b50503461022e576020908160031936011261019b5761027861106c565b6001600160a01b039081169284805b610457821061033a5761029a9150611a21565b938591825b61045784106102b9578551806102b58982611172565b0390f35b838852600582528588208651906102cf8261109d565b60028782541691828452600181015486850152015488830152801561032e57840361032357816103179161030661031d948b6112dc565b52610311818a6112dc565b506112b7565b936112b7565b9261029f565b509261031d906112b7565b50509261031d906112b7565b818752600583528585882086516103508161109d565b876002888454169384845260018101548985015201549101528015610396570361038c57610380610386916112b7565b916112b7565b90610287565b90610386906112b7565b505090610386906112b7565b50903461019b57602036600319011261019b578135916103c061128b565b60035483146103fb5750816020917fcabf8550b9a306922529d9991dece81a1afb5b2d237560460464667de07cfbc99360035551908152a180f35b9051634a7f394f60e01b8152fd5b50903461019b578260031936011261019b5761042361128b565b81549060ff821661045f575060ff191660011790557f212c6e1d3045c9581ef0adf2504dbb1d137f52f38162ccf77a16c69d14eba5c38180a180f35b51634a7f394f60e01b81529050fd5b50903461019b578060031936011261019b5761048861106c565b906024359161049561128b565b6001600160a01b0316808552600a6020528185205490939060ff161561054257821561053457600c5490811561052657508261052394926104dc61051e93610510966115f4565b848852600b6020526104f2828920918254611560565b9055516323b872dd60e01b60208201529384913033602485016116d9565b03601f1981018452836110fc565b611724565b80f35b8251633a7be37b60e01b8152fd5b9051633853986560e01b8152fd5b905163dfde867160e01b8152fd5b50503461022e578060031936011261022e5760209061057e61057061106c565b610578611087565b9061178c565b9051908152f35b82843461020c578060031936011261020c5781516009805480835290835260208083019492937f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af92915b8282106105f1576102b586866105e7828b03836110fc565b5191829182611247565b83546001600160a01b0316875295860195600193840193909101906105cf565b82843461020c576020918260031936011261022e5761062e61106c565b926009549061063c82611831565b6001600160a01b0395861695909490815b848110610661578551806102b5898261111f565b808261066f6106b1936111ff565b90549060031b1c1689855260088652878520818652865287852054885191610696836110e1565b8252868201526106a6828a6112dc565b5261031181896112dc565b61064d565b50903461019b578060031936011261019b578135926001600160401b039283851161022e573660238601121561022e5784810135936106f485611230565b95610701855197886110fc565b85875260209560248789019160051b830101913683116107fe576024889101915b8383106107ee575050505060243590811161019b5761074490369083016111cf565b94909184518281019033825285878201528681526107618161109d565b5190208551838101918252838152610778816110e1565b51902095600354969385945b89518610156107c857610797868b6112dc565b5190818110156107b857875284526107b28787205b956112b7565b94610784565b90875284526107b28787206107ac565b908789889493036107df575090610523913361133a565b51634a7f394f60e01b81528490fd5b8235815291810191889101610722565b8580fd5b50503461022e578160031936011261022e576020905162093a808152f35b5091903461022e576020908160031936011261019b578335926001600160401b03841161020c573660238501121561020c57838501359261086084611230565b9461086d845196876110fc565b8486528186016024809660051b830101913683116109d1578601905b8282106109b25750505061089b61128b565b8451156109a257815b855181101561096b576001600160a01b03806108c083896112dc565b5116801561095b57808552600a908185526001928360ff898920541615151461094b576009805490600160401b821015610939578161090b91876109349998979695940190556111ff565b819291549060031b9184831b921b1916179055865284528585209060ff198254161790556112b7565b6108a4565b634e487b7160e01b895260418d528a89fd5b875163dfde867160e01b81528b90fd5b855163dfde867160e01b81528990fd5b827fa1793b2b6f93db23abde19e01c5ebea4c285646e5be57bdb637b6e0e7c8b8cb261099c88875191829182611247565b0390a180f35b825163e778681d60e01b81528690fd5b81356001600160a01b03811681036107fe578152908301908301610889565b8480fd5b50503461022e578160031936011261022e57905490516001600160a01b039091168152602090f35b5091903461022e57602036600319011261022e5782356001600160401b03811161019b57610a2e90369085016111cf565b9160ff855416156107df575090610523913361133a565b50503461022e578160031936011261022e576020906009549051908152f35b503461019b57602036600319011261019b57359160095483101561020c5750610a8e6020926111ff565b905491519160018060a01b039160031b1c168152f35b50903461019b578260031936011261019b57600154916001600160a01b03913383851603610b0f5750506001600160a01b031991821660015582543392811683178455167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08380a380f35b60249250519063118cdaa760e01b82523390820152fd5b50913461020c578060031936011261020c5750610b4161128b565b51634a7f394f60e01b8152fd5b5091903461022e5760208060031936011261019b5783356001600160401b038111610df457610b8090369086016111cf565b9290918315610de457845b848110610c975750610b9c336118fb565b50670de0b6b3a7640000840295670de0b6b3a763ffff1985880401610c84575033855260068152818520610bd18782546116fb565b9055610bdf86600c546116fb565b600c5560095490855b828110610c2257867fdbbcde87368e3c900a7bfef197387b8c5fe8fc3e2f85b221d167af42051dd786878761099c88519283923384611300565b80610c2f610c7f926111ff565b60018060a01b0391549060031b1c16808952600b8452610c5a610c558b888c205461156d565b6116b0565b90338a5260078552868a20908a528452610c78868a20918254611708565b90556112b7565b610be8565b634e487b7160e01b865260119052602485fd5b610ca28186866112f0565b358087526005808452848820855190610cba8261109d565b60018060a01b0392838254169283815260019384840154918981019283528a6002809601549101523303610dd457610cf762093a809151426116fb565b048015610dc457600316610db457875192610d118461109d565b8b84528784018c81528985018d8152878e52928952898d20945185546001600160a01b031916908716178555519084015551910155885460081c16803b15610db057610d789188918a838851809681958294632142170760e11b84523390309085016116d9565b03925af18015610da65790610d929291610d9757506112b7565b610b8b565b610da0906110ce565b38610311565b84513d89823e3d90fd5b8780fd5b87516373d6795360e01b81528c90fd5b88516373d6795360e01b81528d90fd5b885163ca3d158f60e01b81528d90fd5b815163e778681d60e01b81528690fd5b8380fd5b503461019b578260031936011261019b5754905160089190911c6001600160a01b0316815260209150f35b50503461022e578160031936011261022e5781805b6104578210610ed357610e4b9150611a21565b9082805b6104578210610e65578251806102b58682611172565b818552602060058152838620906002855192610e808461109d565b80546001600160a01b031680855260018201549385019390935201548583015215610ec8578161038091610eb7610ec294886112dc565b5261031181876112dc565b90610e4f565b5090610ec2906112b7565b818452602060058152838520846002815192610eee8461109d565b80546001600160a01b0316808552600182015495850195909552015491015215610f2457610380610f1e916112b7565b90610e38565b90610f1e906112b7565b50503461022e57602036600319011261022e576102b590610f55610f5061106c565b611892565b90519182918261111f565b50503461022e57602036600319011261022e576102b590610f55610f8261106c565b6118fb565b50913461020c578060031936011261020c575060ff602092541690519015158152f35b50913461020c57608036600319011261020c57610fc561106c565b50610fce611087565b50606435926001600160401b039081851161019b573660238601121561019b578481013591821161103e5750825193611011601f8301601f1916602001866110fc565b818552366024838301011161019b57906020948160248794018483013701015251630a85bd0160e11b8152f35b634e487b7160e01b835260419052602482fd5b9250503461019b578260031936011261019b57602092508152f35b600435906001600160a01b038216820361108257565b600080fd5b602435906001600160a01b038216820361108257565b606081019081106001600160401b038211176110b857604052565b634e487b7160e01b600052604160045260246000fd5b6001600160401b0381116110b857604052565b604081019081106001600160401b038211176110b857604052565b601f909101601f19168101906001600160401b038211908210176110b857604052565b60208082019080835283518092528060408094019401926000905b83821061114957505050505090565b845180516001600160a01b0316875283015186840152948501949382019360019091019061113a565b60208082019080835283518092528060408094019401926000905b83821061119c57505050505090565b845180516001600160a01b031687528084015187850152810151868201526060909501949382019360019091019061118d565b9181601f84011215611082578235916001600160401b038311611082576020808501948460051b01011161108257565b60095481101561121a57600960005260206000200190600090565b634e487b7160e01b600052603260045260246000fd5b6001600160401b0381116110b85760051b60200190565b6020908160408183019282815285518094520193019160005b82811061126e575050505090565b83516001600160a01b031685529381019392810192600101611260565b6000546001600160a01b0316330361129f57565b60405163118cdaa760e01b8152336004820152602490fd5b60001981146112c65760010190565b634e487b7160e01b600052601160045260246000fd5b805182101561121a5760209160051b010190565b919081101561121a5760051b0190565b6001600160a01b03909116815260406020820181905281018390526001600160fb1b0383116110825760609260051b809284830137010190565b929091801561154e57670de0b6b3a76400008102670de0b6b3a763ffff19828204016112c65760018060a01b0391828616926000948486526020926006845260409485882061138a828254611560565b905561139881600c54611560565b600c5560095490885b8281106114d657505050865b60ff811682811015611497576113c490838b6112f0565b35600485815460081c1690813b1561149357826113fc928c928f84908d5196879586948593632142170760e11b8552309185016116d9565b03925af180156114895761147a575b50600287519161141a8361109d565b89835242888401908152898401828152918c5260058952898c20935184546001600160a01b0319169089161784555160018401555191015560ff908116908114611466576001016113ad565b634e487b7160e01b88526011600452602488fd5b611483906110ce565b3861140b565b88513d8c823e3d90fd5b8a80fd5b50509250969350507f4d84dd326e896873a2608c565ebc0a8f9806b0ee6dbf4e7ad5d15726968642af9493506114d1915193849384611300565b0390a1565b89611500610c55848b8a6114e9876111ff565b90549060031b1c1694858152600b8d52205461156d565b908a8c5260078952898c20908c528852888b2080548c838203931281841281169184139015161761153a5755611535906112b7565b6113a1565b634e487b7160e01b8c52601160045260248cfd5b60405163e778681d60e01b8152600490fd5b919082018092116112c657565b90600019818309818302918280831092039180830392146115e357670de0b6b3a764000090828211156115d0577faccb18165bd6fe31ae1cf318dc5b51eee0e1ba569b88cd74c1773b91fac10669940990828211900360ee1b910360121c170290565b634e487b7160005260116020526024601cfd5b5050670de0b6b3a764000091500490565b670de0b6b3a764000091600019838309928083029283808610950394808603951461168c5784831115611673579082910981600003821680920460028082600302188083028203028083028203028083028203028083028203028083028203028092029003029360018380600003040190848311900302920304170290565b82634e487b71600052156003026011186020526024601cfd5b50508092501561169a570490565b634e487b7160e01b600052601260045260246000fd5b6001600160ff1b0381116116c15790565b6024906040519063123baf0360e11b82526004820152fd5b6001600160a01b03918216815291166020820152604081019190915260600190565b919082039182116112c657565b919091600083820193841291129080158216911516176112c657565b906000602091828151910182855af115611780576000513d61177757506001600160a01b0381163b155b6117555750565b604051635274afe760e01b81526001600160a01b039091166004820152602490fd5b6001141561174e565b6040513d6000823e3d90fd5b6001600160a01b039182166000818152600a60209081526040808320549295919490939260ff1615611820571691828552600684528085205491821561181857611810939261180b9261181597610c559360078952828220818352895282822054968252600889528282209082528852600b828220549852205461156d565b611708565b6116fb565b90565b505050505090565b835163dfde867160e01b8152600490fd5b9061183b82611230565b60409061184a825191826110fc565b838152809361185b601f1991611230565b0191600090815b848110611870575050505050565b602090825161187e816110e1565b848152828581830152828701015201611862565b9060095461189f81611831565b9260005b8281106118af57505050565b806118bc6118f6926111ff565b905460039190911b1c6001600160a01b03166118d8818561178c565b604051916118e5836110e1565b82526020820152610eb782886112dc565b6118a3565b6002805414611a0f57600280556001600160a01b0390811680156119fd5761192233611892565b9182519060005b82811061193c5750505050906001600255565b61194681866112dc565b5160209081810190848251918261196b575b5050505050611966906112b7565b611929565b33600052600885526040928360002083835116600052865261199284600020918254611560565b9055511691519080519363a9059cbb60e01b908501526024918883860152604490818601528452608084019184831060018060401b038411176119e957505261196692916119df91611724565b9038808481611958565b634e487b7160e01b60009081526041600452fd5b604051634e46966960e11b8152600490fd5b604051633ee5aeb560e01b8152600490fd5b90611a2b82611230565b604090611a3a825191826110fc565b8381528093611a4b601f1991611230565b0191600091825b848110611a60575050505050565b6020908351611a6e8161109d565b8581528286818301528686830152828501015201611a5256fea264697066735822122018db929bf2afb76a4582c01c9f74c38efaf324e41d97c6576529b58a580053b064736f6c63430008140033";
|
|
18
|
+
static readonly abi: readonly [{
|
|
19
|
+
readonly inputs: readonly [{
|
|
20
|
+
readonly internalType: "address";
|
|
21
|
+
readonly name: "owner_";
|
|
22
|
+
readonly type: "address";
|
|
23
|
+
}, {
|
|
24
|
+
readonly internalType: "address";
|
|
25
|
+
readonly name: "nft_";
|
|
26
|
+
readonly type: "address";
|
|
27
|
+
}, {
|
|
28
|
+
readonly internalType: "bytes32";
|
|
29
|
+
readonly name: "root_";
|
|
30
|
+
readonly type: "bytes32";
|
|
31
|
+
}];
|
|
32
|
+
readonly stateMutability: "nonpayable";
|
|
33
|
+
readonly type: "constructor";
|
|
34
|
+
}, {
|
|
35
|
+
readonly inputs: readonly [];
|
|
36
|
+
readonly name: "InvalidAction";
|
|
37
|
+
readonly type: "error";
|
|
38
|
+
}, {
|
|
39
|
+
readonly inputs: readonly [];
|
|
40
|
+
readonly name: "InvalidLockOwner";
|
|
41
|
+
readonly type: "error";
|
|
42
|
+
}, {
|
|
43
|
+
readonly inputs: readonly [];
|
|
44
|
+
readonly name: "InvalidRecipient";
|
|
45
|
+
readonly type: "error";
|
|
46
|
+
}, {
|
|
47
|
+
readonly inputs: readonly [];
|
|
48
|
+
readonly name: "InvalidRewardAmount";
|
|
49
|
+
readonly type: "error";
|
|
50
|
+
}, {
|
|
51
|
+
readonly inputs: readonly [];
|
|
52
|
+
readonly name: "InvalidRewardToken";
|
|
53
|
+
readonly type: "error";
|
|
54
|
+
}, {
|
|
55
|
+
readonly inputs: readonly [];
|
|
56
|
+
readonly name: "InvalidTokenCount";
|
|
57
|
+
readonly type: "error";
|
|
58
|
+
}, {
|
|
59
|
+
readonly inputs: readonly [];
|
|
60
|
+
readonly name: "InvalidTotalShares";
|
|
61
|
+
readonly type: "error";
|
|
62
|
+
}, {
|
|
63
|
+
readonly inputs: readonly [];
|
|
64
|
+
readonly name: "InvalidUnlockWindow";
|
|
65
|
+
readonly type: "error";
|
|
66
|
+
}, {
|
|
67
|
+
readonly inputs: readonly [{
|
|
68
|
+
readonly internalType: "address";
|
|
69
|
+
readonly name: "owner";
|
|
70
|
+
readonly type: "address";
|
|
71
|
+
}];
|
|
72
|
+
readonly name: "OwnableInvalidOwner";
|
|
73
|
+
readonly type: "error";
|
|
74
|
+
}, {
|
|
75
|
+
readonly inputs: readonly [{
|
|
76
|
+
readonly internalType: "address";
|
|
77
|
+
readonly name: "account";
|
|
78
|
+
readonly type: "address";
|
|
79
|
+
}];
|
|
80
|
+
readonly name: "OwnableUnauthorizedAccount";
|
|
81
|
+
readonly type: "error";
|
|
82
|
+
}, {
|
|
83
|
+
readonly inputs: readonly [];
|
|
84
|
+
readonly name: "ReentrancyGuardReentrantCall";
|
|
85
|
+
readonly type: "error";
|
|
86
|
+
}, {
|
|
87
|
+
readonly inputs: readonly [{
|
|
88
|
+
readonly internalType: "uint256";
|
|
89
|
+
readonly name: "value";
|
|
90
|
+
readonly type: "uint256";
|
|
91
|
+
}];
|
|
92
|
+
readonly name: "SafeCastOverflowedUintToInt";
|
|
93
|
+
readonly type: "error";
|
|
94
|
+
}, {
|
|
95
|
+
readonly inputs: readonly [{
|
|
96
|
+
readonly internalType: "address";
|
|
97
|
+
readonly name: "token";
|
|
98
|
+
readonly type: "address";
|
|
99
|
+
}];
|
|
100
|
+
readonly name: "SafeERC20FailedOperation";
|
|
101
|
+
readonly type: "error";
|
|
102
|
+
}, {
|
|
103
|
+
readonly anonymous: false;
|
|
104
|
+
readonly inputs: readonly [{
|
|
105
|
+
readonly indexed: false;
|
|
106
|
+
readonly internalType: "address";
|
|
107
|
+
readonly name: "owner";
|
|
108
|
+
readonly type: "address";
|
|
109
|
+
}, {
|
|
110
|
+
readonly indexed: false;
|
|
111
|
+
readonly internalType: "uint256[]";
|
|
112
|
+
readonly name: "tokenIds";
|
|
113
|
+
readonly type: "uint256[]";
|
|
114
|
+
}];
|
|
115
|
+
readonly name: "NewLocks";
|
|
116
|
+
readonly type: "event";
|
|
117
|
+
}, {
|
|
118
|
+
readonly anonymous: false;
|
|
119
|
+
readonly inputs: readonly [{
|
|
120
|
+
readonly indexed: false;
|
|
121
|
+
readonly internalType: "address[]";
|
|
122
|
+
readonly name: "token";
|
|
123
|
+
readonly type: "address[]";
|
|
124
|
+
}];
|
|
125
|
+
readonly name: "NewRewardTokens";
|
|
126
|
+
readonly type: "event";
|
|
127
|
+
}, {
|
|
128
|
+
readonly anonymous: false;
|
|
129
|
+
readonly inputs: readonly [{
|
|
130
|
+
readonly indexed: false;
|
|
131
|
+
readonly internalType: "bytes32";
|
|
132
|
+
readonly name: "root";
|
|
133
|
+
readonly type: "bytes32";
|
|
134
|
+
}];
|
|
135
|
+
readonly name: "NewRoot";
|
|
136
|
+
readonly type: "event";
|
|
137
|
+
}, {
|
|
138
|
+
readonly anonymous: false;
|
|
139
|
+
readonly inputs: readonly [{
|
|
140
|
+
readonly indexed: false;
|
|
141
|
+
readonly internalType: "address";
|
|
142
|
+
readonly name: "owner";
|
|
143
|
+
readonly type: "address";
|
|
144
|
+
}, {
|
|
145
|
+
readonly indexed: false;
|
|
146
|
+
readonly internalType: "uint256[]";
|
|
147
|
+
readonly name: "tokenIds";
|
|
148
|
+
readonly type: "uint256[]";
|
|
149
|
+
}];
|
|
150
|
+
readonly name: "NewUnlocks";
|
|
151
|
+
readonly type: "event";
|
|
152
|
+
}, {
|
|
153
|
+
readonly anonymous: false;
|
|
154
|
+
readonly inputs: readonly [{
|
|
155
|
+
readonly indexed: true;
|
|
156
|
+
readonly internalType: "address";
|
|
157
|
+
readonly name: "previousOwner";
|
|
158
|
+
readonly type: "address";
|
|
159
|
+
}, {
|
|
160
|
+
readonly indexed: true;
|
|
161
|
+
readonly internalType: "address";
|
|
162
|
+
readonly name: "newOwner";
|
|
163
|
+
readonly type: "address";
|
|
164
|
+
}];
|
|
165
|
+
readonly name: "OwnershipTransferStarted";
|
|
166
|
+
readonly type: "event";
|
|
167
|
+
}, {
|
|
168
|
+
readonly anonymous: false;
|
|
169
|
+
readonly inputs: readonly [{
|
|
170
|
+
readonly indexed: true;
|
|
171
|
+
readonly internalType: "address";
|
|
172
|
+
readonly name: "previousOwner";
|
|
173
|
+
readonly type: "address";
|
|
174
|
+
}, {
|
|
175
|
+
readonly indexed: true;
|
|
176
|
+
readonly internalType: "address";
|
|
177
|
+
readonly name: "newOwner";
|
|
178
|
+
readonly type: "address";
|
|
179
|
+
}];
|
|
180
|
+
readonly name: "OwnershipTransferred";
|
|
181
|
+
readonly type: "event";
|
|
182
|
+
}, {
|
|
183
|
+
readonly anonymous: false;
|
|
184
|
+
readonly inputs: readonly [{
|
|
185
|
+
readonly indexed: false;
|
|
186
|
+
readonly internalType: "contract IERC20";
|
|
187
|
+
readonly name: "token";
|
|
188
|
+
readonly type: "address";
|
|
189
|
+
}, {
|
|
190
|
+
readonly indexed: false;
|
|
191
|
+
readonly internalType: "uint256";
|
|
192
|
+
readonly name: "amount";
|
|
193
|
+
readonly type: "uint256";
|
|
194
|
+
}];
|
|
195
|
+
readonly name: "RewardDistributed";
|
|
196
|
+
readonly type: "event";
|
|
197
|
+
}, {
|
|
198
|
+
readonly anonymous: false;
|
|
199
|
+
readonly inputs: readonly [];
|
|
200
|
+
readonly name: "WhitelistDisabled";
|
|
201
|
+
readonly type: "event";
|
|
202
|
+
}, {
|
|
203
|
+
readonly inputs: readonly [];
|
|
204
|
+
readonly name: "EPOCH_DURATION";
|
|
205
|
+
readonly outputs: readonly [{
|
|
206
|
+
readonly internalType: "uint256";
|
|
207
|
+
readonly name: "";
|
|
208
|
+
readonly type: "uint256";
|
|
209
|
+
}];
|
|
210
|
+
readonly stateMutability: "view";
|
|
211
|
+
readonly type: "function";
|
|
212
|
+
}, {
|
|
213
|
+
readonly inputs: readonly [];
|
|
214
|
+
readonly name: "LOCK_DURATION_IN_EPOCH";
|
|
215
|
+
readonly outputs: readonly [{
|
|
216
|
+
readonly internalType: "uint256";
|
|
217
|
+
readonly name: "";
|
|
218
|
+
readonly type: "uint256";
|
|
219
|
+
}];
|
|
220
|
+
readonly stateMutability: "view";
|
|
221
|
+
readonly type: "function";
|
|
222
|
+
}, {
|
|
223
|
+
readonly inputs: readonly [];
|
|
224
|
+
readonly name: "acceptOwnership";
|
|
225
|
+
readonly outputs: readonly [];
|
|
226
|
+
readonly stateMutability: "nonpayable";
|
|
227
|
+
readonly type: "function";
|
|
228
|
+
}, {
|
|
229
|
+
readonly inputs: readonly [{
|
|
230
|
+
readonly internalType: "address[]";
|
|
231
|
+
readonly name: "tokens_";
|
|
232
|
+
readonly type: "address[]";
|
|
233
|
+
}];
|
|
234
|
+
readonly name: "addRewardTokens";
|
|
235
|
+
readonly outputs: readonly [];
|
|
236
|
+
readonly stateMutability: "nonpayable";
|
|
237
|
+
readonly type: "function";
|
|
238
|
+
}, {
|
|
239
|
+
readonly inputs: readonly [{
|
|
240
|
+
readonly internalType: "address";
|
|
241
|
+
readonly name: "recipient_";
|
|
242
|
+
readonly type: "address";
|
|
243
|
+
}];
|
|
244
|
+
readonly name: "claim";
|
|
245
|
+
readonly outputs: readonly [{
|
|
246
|
+
readonly components: readonly [{
|
|
247
|
+
readonly internalType: "address";
|
|
248
|
+
readonly name: "token";
|
|
249
|
+
readonly type: "address";
|
|
250
|
+
}, {
|
|
251
|
+
readonly internalType: "uint256";
|
|
252
|
+
readonly name: "amount";
|
|
253
|
+
readonly type: "uint256";
|
|
254
|
+
}];
|
|
255
|
+
readonly internalType: "struct LlamaLocker.Claimable[]";
|
|
256
|
+
readonly name: "results";
|
|
257
|
+
readonly type: "tuple[]";
|
|
258
|
+
}];
|
|
259
|
+
readonly stateMutability: "nonpayable";
|
|
260
|
+
readonly type: "function";
|
|
261
|
+
}, {
|
|
262
|
+
readonly inputs: readonly [{
|
|
263
|
+
readonly internalType: "address";
|
|
264
|
+
readonly name: "account_";
|
|
265
|
+
readonly type: "address";
|
|
266
|
+
}, {
|
|
267
|
+
readonly internalType: "address";
|
|
268
|
+
readonly name: "token_";
|
|
269
|
+
readonly type: "address";
|
|
270
|
+
}];
|
|
271
|
+
readonly name: "claimable";
|
|
272
|
+
readonly outputs: readonly [{
|
|
273
|
+
readonly internalType: "uint256";
|
|
274
|
+
readonly name: "amount";
|
|
275
|
+
readonly type: "uint256";
|
|
276
|
+
}];
|
|
277
|
+
readonly stateMutability: "view";
|
|
278
|
+
readonly type: "function";
|
|
279
|
+
}, {
|
|
280
|
+
readonly inputs: readonly [{
|
|
281
|
+
readonly internalType: "address";
|
|
282
|
+
readonly name: "account_";
|
|
283
|
+
readonly type: "address";
|
|
284
|
+
}];
|
|
285
|
+
readonly name: "claimables";
|
|
286
|
+
readonly outputs: readonly [{
|
|
287
|
+
readonly components: readonly [{
|
|
288
|
+
readonly internalType: "address";
|
|
289
|
+
readonly name: "token";
|
|
290
|
+
readonly type: "address";
|
|
291
|
+
}, {
|
|
292
|
+
readonly internalType: "uint256";
|
|
293
|
+
readonly name: "amount";
|
|
294
|
+
readonly type: "uint256";
|
|
295
|
+
}];
|
|
296
|
+
readonly internalType: "struct LlamaLocker.Claimable[]";
|
|
297
|
+
readonly name: "results";
|
|
298
|
+
readonly type: "tuple[]";
|
|
299
|
+
}];
|
|
300
|
+
readonly stateMutability: "view";
|
|
301
|
+
readonly type: "function";
|
|
302
|
+
}, {
|
|
303
|
+
readonly inputs: readonly [];
|
|
304
|
+
readonly name: "disableWhitelist";
|
|
305
|
+
readonly outputs: readonly [];
|
|
306
|
+
readonly stateMutability: "nonpayable";
|
|
307
|
+
readonly type: "function";
|
|
308
|
+
}, {
|
|
309
|
+
readonly inputs: readonly [{
|
|
310
|
+
readonly internalType: "address";
|
|
311
|
+
readonly name: "token_";
|
|
312
|
+
readonly type: "address";
|
|
313
|
+
}, {
|
|
314
|
+
readonly internalType: "uint256";
|
|
315
|
+
readonly name: "amount_";
|
|
316
|
+
readonly type: "uint256";
|
|
317
|
+
}];
|
|
318
|
+
readonly name: "distributeRewardToken";
|
|
319
|
+
readonly outputs: readonly [];
|
|
320
|
+
readonly stateMutability: "nonpayable";
|
|
321
|
+
readonly type: "function";
|
|
322
|
+
}, {
|
|
323
|
+
readonly inputs: readonly [{
|
|
324
|
+
readonly internalType: "address";
|
|
325
|
+
readonly name: "account_";
|
|
326
|
+
readonly type: "address";
|
|
327
|
+
}];
|
|
328
|
+
readonly name: "getClaimedRewards";
|
|
329
|
+
readonly outputs: readonly [{
|
|
330
|
+
readonly components: readonly [{
|
|
331
|
+
readonly internalType: "address";
|
|
332
|
+
readonly name: "token";
|
|
333
|
+
readonly type: "address";
|
|
334
|
+
}, {
|
|
335
|
+
readonly internalType: "uint256";
|
|
336
|
+
readonly name: "amount";
|
|
337
|
+
readonly type: "uint256";
|
|
338
|
+
}];
|
|
339
|
+
readonly internalType: "struct LlamaLocker.Claimable[]";
|
|
340
|
+
readonly name: "results";
|
|
341
|
+
readonly type: "tuple[]";
|
|
342
|
+
}];
|
|
343
|
+
readonly stateMutability: "view";
|
|
344
|
+
readonly type: "function";
|
|
345
|
+
}, {
|
|
346
|
+
readonly inputs: readonly [];
|
|
347
|
+
readonly name: "getLocks";
|
|
348
|
+
readonly outputs: readonly [{
|
|
349
|
+
readonly components: readonly [{
|
|
350
|
+
readonly internalType: "address";
|
|
351
|
+
readonly name: "owner";
|
|
352
|
+
readonly type: "address";
|
|
353
|
+
}, {
|
|
354
|
+
readonly internalType: "uint256";
|
|
355
|
+
readonly name: "lockedAt";
|
|
356
|
+
readonly type: "uint256";
|
|
357
|
+
}, {
|
|
358
|
+
readonly internalType: "uint256";
|
|
359
|
+
readonly name: "tokenId";
|
|
360
|
+
readonly type: "uint256";
|
|
361
|
+
}];
|
|
362
|
+
readonly internalType: "struct LlamaLocker.NFTLock[]";
|
|
363
|
+
readonly name: "results";
|
|
364
|
+
readonly type: "tuple[]";
|
|
365
|
+
}];
|
|
366
|
+
readonly stateMutability: "view";
|
|
367
|
+
readonly type: "function";
|
|
368
|
+
}, {
|
|
369
|
+
readonly inputs: readonly [{
|
|
370
|
+
readonly internalType: "address";
|
|
371
|
+
readonly name: "owner_";
|
|
372
|
+
readonly type: "address";
|
|
373
|
+
}];
|
|
374
|
+
readonly name: "getLocksByOwner";
|
|
375
|
+
readonly outputs: readonly [{
|
|
376
|
+
readonly components: readonly [{
|
|
377
|
+
readonly internalType: "address";
|
|
378
|
+
readonly name: "owner";
|
|
379
|
+
readonly type: "address";
|
|
380
|
+
}, {
|
|
381
|
+
readonly internalType: "uint256";
|
|
382
|
+
readonly name: "lockedAt";
|
|
383
|
+
readonly type: "uint256";
|
|
384
|
+
}, {
|
|
385
|
+
readonly internalType: "uint256";
|
|
386
|
+
readonly name: "tokenId";
|
|
387
|
+
readonly type: "uint256";
|
|
388
|
+
}];
|
|
389
|
+
readonly internalType: "struct LlamaLocker.NFTLock[]";
|
|
390
|
+
readonly name: "results";
|
|
391
|
+
readonly type: "tuple[]";
|
|
392
|
+
}];
|
|
393
|
+
readonly stateMutability: "view";
|
|
394
|
+
readonly type: "function";
|
|
395
|
+
}, {
|
|
396
|
+
readonly inputs: readonly [];
|
|
397
|
+
readonly name: "getRewardTokenCount";
|
|
398
|
+
readonly outputs: readonly [{
|
|
399
|
+
readonly internalType: "uint256";
|
|
400
|
+
readonly name: "count";
|
|
401
|
+
readonly type: "uint256";
|
|
402
|
+
}];
|
|
403
|
+
readonly stateMutability: "view";
|
|
404
|
+
readonly type: "function";
|
|
405
|
+
}, {
|
|
406
|
+
readonly inputs: readonly [];
|
|
407
|
+
readonly name: "getRewardTokens";
|
|
408
|
+
readonly outputs: readonly [{
|
|
409
|
+
readonly internalType: "address[]";
|
|
410
|
+
readonly name: "results";
|
|
411
|
+
readonly type: "address[]";
|
|
412
|
+
}];
|
|
413
|
+
readonly stateMutability: "view";
|
|
414
|
+
readonly type: "function";
|
|
415
|
+
}, {
|
|
416
|
+
readonly inputs: readonly [{
|
|
417
|
+
readonly internalType: "uint256[]";
|
|
418
|
+
readonly name: "tokenIds_";
|
|
419
|
+
readonly type: "uint256[]";
|
|
420
|
+
}];
|
|
421
|
+
readonly name: "lock";
|
|
422
|
+
readonly outputs: readonly [];
|
|
423
|
+
readonly stateMutability: "nonpayable";
|
|
424
|
+
readonly type: "function";
|
|
425
|
+
}, {
|
|
426
|
+
readonly inputs: readonly [{
|
|
427
|
+
readonly internalType: "bytes32[]";
|
|
428
|
+
readonly name: "proof_";
|
|
429
|
+
readonly type: "bytes32[]";
|
|
430
|
+
}, {
|
|
431
|
+
readonly internalType: "uint256[]";
|
|
432
|
+
readonly name: "tokenIds_";
|
|
433
|
+
readonly type: "uint256[]";
|
|
434
|
+
}];
|
|
435
|
+
readonly name: "lock";
|
|
436
|
+
readonly outputs: readonly [];
|
|
437
|
+
readonly stateMutability: "nonpayable";
|
|
438
|
+
readonly type: "function";
|
|
439
|
+
}, {
|
|
440
|
+
readonly inputs: readonly [{
|
|
441
|
+
readonly internalType: "uint256";
|
|
442
|
+
readonly name: "tokenId";
|
|
443
|
+
readonly type: "uint256";
|
|
444
|
+
}];
|
|
445
|
+
readonly name: "locks";
|
|
446
|
+
readonly outputs: readonly [{
|
|
447
|
+
readonly internalType: "address";
|
|
448
|
+
readonly name: "owner";
|
|
449
|
+
readonly type: "address";
|
|
450
|
+
}, {
|
|
451
|
+
readonly internalType: "uint256";
|
|
452
|
+
readonly name: "lockedAt";
|
|
453
|
+
readonly type: "uint256";
|
|
454
|
+
}, {
|
|
455
|
+
readonly internalType: "uint256";
|
|
456
|
+
readonly name: "tokenId";
|
|
457
|
+
readonly type: "uint256";
|
|
458
|
+
}];
|
|
459
|
+
readonly stateMutability: "view";
|
|
460
|
+
readonly type: "function";
|
|
461
|
+
}, {
|
|
462
|
+
readonly inputs: readonly [];
|
|
463
|
+
readonly name: "nft";
|
|
464
|
+
readonly outputs: readonly [{
|
|
465
|
+
readonly internalType: "contract IERC721";
|
|
466
|
+
readonly name: "";
|
|
467
|
+
readonly type: "address";
|
|
468
|
+
}];
|
|
469
|
+
readonly stateMutability: "view";
|
|
470
|
+
readonly type: "function";
|
|
471
|
+
}, {
|
|
472
|
+
readonly inputs: readonly [{
|
|
473
|
+
readonly internalType: "address";
|
|
474
|
+
readonly name: "";
|
|
475
|
+
readonly type: "address";
|
|
476
|
+
}, {
|
|
477
|
+
readonly internalType: "address";
|
|
478
|
+
readonly name: "";
|
|
479
|
+
readonly type: "address";
|
|
480
|
+
}, {
|
|
481
|
+
readonly internalType: "uint256";
|
|
482
|
+
readonly name: "";
|
|
483
|
+
readonly type: "uint256";
|
|
484
|
+
}, {
|
|
485
|
+
readonly internalType: "bytes";
|
|
486
|
+
readonly name: "";
|
|
487
|
+
readonly type: "bytes";
|
|
488
|
+
}];
|
|
489
|
+
readonly name: "onERC721Received";
|
|
490
|
+
readonly outputs: readonly [{
|
|
491
|
+
readonly internalType: "bytes4";
|
|
492
|
+
readonly name: "";
|
|
493
|
+
readonly type: "bytes4";
|
|
494
|
+
}];
|
|
495
|
+
readonly stateMutability: "nonpayable";
|
|
496
|
+
readonly type: "function";
|
|
497
|
+
}, {
|
|
498
|
+
readonly inputs: readonly [];
|
|
499
|
+
readonly name: "owner";
|
|
500
|
+
readonly outputs: readonly [{
|
|
501
|
+
readonly internalType: "address";
|
|
502
|
+
readonly name: "";
|
|
503
|
+
readonly type: "address";
|
|
504
|
+
}];
|
|
505
|
+
readonly stateMutability: "view";
|
|
506
|
+
readonly type: "function";
|
|
507
|
+
}, {
|
|
508
|
+
readonly inputs: readonly [];
|
|
509
|
+
readonly name: "pendingOwner";
|
|
510
|
+
readonly outputs: readonly [{
|
|
511
|
+
readonly internalType: "address";
|
|
512
|
+
readonly name: "";
|
|
513
|
+
readonly type: "address";
|
|
514
|
+
}];
|
|
515
|
+
readonly stateMutability: "view";
|
|
516
|
+
readonly type: "function";
|
|
517
|
+
}, {
|
|
518
|
+
readonly inputs: readonly [];
|
|
519
|
+
readonly name: "renounceOwnership";
|
|
520
|
+
readonly outputs: readonly [];
|
|
521
|
+
readonly stateMutability: "nonpayable";
|
|
522
|
+
readonly type: "function";
|
|
523
|
+
}, {
|
|
524
|
+
readonly inputs: readonly [{
|
|
525
|
+
readonly internalType: "uint256";
|
|
526
|
+
readonly name: "";
|
|
527
|
+
readonly type: "uint256";
|
|
528
|
+
}];
|
|
529
|
+
readonly name: "rewardTokens";
|
|
530
|
+
readonly outputs: readonly [{
|
|
531
|
+
readonly internalType: "address";
|
|
532
|
+
readonly name: "";
|
|
533
|
+
readonly type: "address";
|
|
534
|
+
}];
|
|
535
|
+
readonly stateMutability: "view";
|
|
536
|
+
readonly type: "function";
|
|
537
|
+
}, {
|
|
538
|
+
readonly inputs: readonly [];
|
|
539
|
+
readonly name: "root";
|
|
540
|
+
readonly outputs: readonly [{
|
|
541
|
+
readonly internalType: "bytes32";
|
|
542
|
+
readonly name: "";
|
|
543
|
+
readonly type: "bytes32";
|
|
544
|
+
}];
|
|
545
|
+
readonly stateMutability: "view";
|
|
546
|
+
readonly type: "function";
|
|
547
|
+
}, {
|
|
548
|
+
readonly inputs: readonly [{
|
|
549
|
+
readonly internalType: "bytes32";
|
|
550
|
+
readonly name: "root_";
|
|
551
|
+
readonly type: "bytes32";
|
|
552
|
+
}];
|
|
553
|
+
readonly name: "setRoot";
|
|
554
|
+
readonly outputs: readonly [];
|
|
555
|
+
readonly stateMutability: "nonpayable";
|
|
556
|
+
readonly type: "function";
|
|
557
|
+
}, {
|
|
558
|
+
readonly inputs: readonly [{
|
|
559
|
+
readonly internalType: "address";
|
|
560
|
+
readonly name: "newOwner";
|
|
561
|
+
readonly type: "address";
|
|
562
|
+
}];
|
|
563
|
+
readonly name: "transferOwnership";
|
|
564
|
+
readonly outputs: readonly [];
|
|
565
|
+
readonly stateMutability: "nonpayable";
|
|
566
|
+
readonly type: "function";
|
|
567
|
+
}, {
|
|
568
|
+
readonly inputs: readonly [{
|
|
569
|
+
readonly internalType: "uint256[]";
|
|
570
|
+
readonly name: "tokenIds_";
|
|
571
|
+
readonly type: "uint256[]";
|
|
572
|
+
}];
|
|
573
|
+
readonly name: "unlock";
|
|
574
|
+
readonly outputs: readonly [];
|
|
575
|
+
readonly stateMutability: "nonpayable";
|
|
576
|
+
readonly type: "function";
|
|
577
|
+
}, {
|
|
578
|
+
readonly inputs: readonly [];
|
|
579
|
+
readonly name: "whitelistDisabled";
|
|
580
|
+
readonly outputs: readonly [{
|
|
581
|
+
readonly internalType: "bool";
|
|
582
|
+
readonly name: "";
|
|
583
|
+
readonly type: "bool";
|
|
584
|
+
}];
|
|
585
|
+
readonly stateMutability: "view";
|
|
586
|
+
readonly type: "function";
|
|
587
|
+
}];
|
|
588
|
+
static createInterface(): LlamaLockerInterface;
|
|
589
|
+
static connect(address: string, runner?: ContractRunner | null): LlamaLocker;
|
|
590
|
+
}
|
|
591
|
+
export {};
|
package/dist/types/typechain-types/factories/contracts/mocks/core/lockers/LLamaLocker.sol/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { LlamaLocker__factory } from "./LlamaLocker__factory";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * as lLamaLockerSol from "./LLamaLocker.sol";
|