dataSources: - kind: ethereum/contract mapping: abis: - file: /: /ipfs/QmeGu1Y3FwhVPSNgr9topnGRqRAhcGUtRv3WAVmwcQEN32 name: PoolRegistry - file: /: /ipfs/QmUbNDf9GaeRicLYziiW5LV33TQYMNjVBgyk28FtXpEwCu name: Comptroller - file: /: /ipfs/QmYBDLhAGLsweHs46TGTUeJaYR6F1oxCmtxdSFNyWxGTWZ name: VToken - file: /: /ipfs/QmTxAFpwCdnqCSxpsFwjeqAYntVXYocPZ3YtJ3ZpETEaKC name: PriceOracle - file: /: /ipfs/QmcE1Jw5dAM59xCq1Jexnr9xcZ5DEPhjN7bXkiuhvhMA17 name: BEP20 - file: /: /ipfs/QmdoY2HN51yfh3BDRLzM3mkruTQcM7cNmWF6BrhZ8wN5g5 name: RewardsDistributor apiVersion: 0.0.9 entities: - PoolRegistry - Comptroller eventHandlers: - event: >- PoolRegistered(indexed address,(string,address,address,uint256,uint256)) handler: handlePoolRegistered - event: 'PoolNameSet(indexed address,string,string)' handler: handlePoolNameSet - event: 'MarketAdded(indexed address,indexed address)' handler: handleMarketAdded - event: >- PoolMetadataUpdated(indexed address,(string,string,string),(string,string,string)) handler: handlePoolMetadataUpdated file: /: /ipfs/QmZG3mmoxiDMXyE278cqmNiVt81EZQQFT8BhctUdHxUANa kind: ethereum/events language: wasm/assemblyscript name: PoolRegistry network: optimism source: abi: PoolRegistry address: '0x147780799840d541C1d7c998F0cbA996d11D62bb' startBlock: 126048098 description: 'Venus is an open-source protocol for algorithmic, efficient Money Markets.' repository: 'https://github.com/VenusProtocol/subgraphs' schema: file: /: /ipfs/QmcL9tdp1j9rJLygkzHzh9whcMh3UwpN5U4jCQQuDj4R9e specVersion: 1.2.0 templates: - kind: ethereum/contract mapping: abis: - file: /: /ipfs/QmUbNDf9GaeRicLYziiW5LV33TQYMNjVBgyk28FtXpEwCu name: Comptroller - file: /: /ipfs/QmeGu1Y3FwhVPSNgr9topnGRqRAhcGUtRv3WAVmwcQEN32 name: PoolRegistry - file: /: /ipfs/QmYBDLhAGLsweHs46TGTUeJaYR6F1oxCmtxdSFNyWxGTWZ name: VToken - file: /: /ipfs/QmcE1Jw5dAM59xCq1Jexnr9xcZ5DEPhjN7bXkiuhvhMA17 name: BEP20 - file: /: /ipfs/QmTxAFpwCdnqCSxpsFwjeqAYntVXYocPZ3YtJ3ZpETEaKC name: PriceOracle - file: /: /ipfs/QmdoY2HN51yfh3BDRLzM3mkruTQcM7cNmWF6BrhZ8wN5g5 name: RewardsDistributor apiVersion: 0.0.9 entities: - User - Market - VTokenInfo eventHandlers: - event: MarketSupported(address) handler: handleMarketSupported - event: MarketUnlisted(indexed address) handler: handleMarketUnlisted - event: 'MarketEntered(indexed address,indexed address)' handler: handleMarketEntered - event: 'MarketExited(indexed address,indexed address)' handler: handleMarketExited - event: 'NewCloseFactor(uint256,uint256)' handler: handleNewCloseFactor - event: 'NewCollateralFactor(address,uint256,uint256)' handler: handleNewCollateralFactor - event: 'NewLiquidationThreshold(address,uint256,uint256)' handler: handleNewLiquidationThreshold - event: 'NewLiquidationIncentive(uint256,uint256)' handler: handleNewLiquidationIncentive - event: 'NewPriceOracle(address,address)' handler: handleNewPriceOracle - event: 'ActionPausedMarket(address,uint8,bool)' handler: handleActionPausedMarket - event: 'NewBorrowCap(indexed address,uint256)' handler: handleNewBorrowCap - event: 'NewMinLiquidatableCollateral(uint256,uint256)' handler: handleNewMinLiquidatableCollateral - event: 'NewSupplyCap(indexed address,uint256)' handler: handleNewSupplyCap - event: 'NewRewardsDistributor(indexed address,indexed address)' handler: handleNewRewardsDistributor file: /: /ipfs/QmRoDwMCiFZ2aVZ5skWgrAQzemCqxhgSRDtGdGi8b9ATRM kind: ethereum/events language: wasm/assemblyscript name: Pool network: optimism source: abi: Comptroller - kind: ethereum/contract mapping: abis: - file: /: /ipfs/QmYBDLhAGLsweHs46TGTUeJaYR6F1oxCmtxdSFNyWxGTWZ name: VToken - file: /: /ipfs/QmTxAFpwCdnqCSxpsFwjeqAYntVXYocPZ3YtJ3ZpETEaKC name: PriceOracle - file: /: /ipfs/QmcE1Jw5dAM59xCq1Jexnr9xcZ5DEPhjN7bXkiuhvhMA17 name: BEP20 - file: /: /ipfs/QmUbNDf9GaeRicLYziiW5LV33TQYMNjVBgyk28FtXpEwCu name: Comptroller apiVersion: 0.0.9 entities: - User - Market - VTokenInfo eventHandlers: - event: 'Mint(indexed address,uint256,uint256,uint256)' handler: handleMint - event: 'Redeem(indexed address,uint256,uint256,uint256)' handler: handleRedeem - event: 'Borrow(indexed address,uint256,uint256,uint256)' handler: handleBorrow - event: 'RepayBorrow(indexed address,indexed address,uint256,uint256,uint256)' handler: handleRepayBorrow - event: >- LiquidateBorrow(indexed address,indexed address,uint256,indexed address,uint256) handler: handleLiquidateBorrow - event: 'AccrueInterest(uint256,uint256,uint256,uint256)' handler: handleAccrueInterest - event: 'NewReserveFactor(uint256,uint256)' handler: handleNewReserveFactor - event: 'Transfer(indexed address,indexed address,uint256)' handler: handleTransfer - event: 'NewMarketInterestRateModel(indexed address,indexed address)' handler: handleNewMarketInterestRateModel - event: 'BadDebtIncreased(indexed address,uint256,uint256,uint256)' handler: handleBadDebtIncreased - event: 'NewAccessControlManager(address,address)' handler: handleNewAccessControlManager - event: 'ReservesAdded(indexed address,uint256,uint256)' handler: handleReservesAdded - event: 'SpreadReservesReduced(indexed address,uint256,uint256)' handler: handleSpreadReservesReduced - event: 'ProtocolSeize(indexed address,indexed address,uint256)' handler: handleProtocolSeize - event: 'BadDebtRecovered(uint256,uint256)' handler: handleBadDebtRecovered - event: 'HealBorrow(indexed address,indexed address,uint256)' handler: handleHealBorrow file: /: /ipfs/QmaAQg6uUFbMgsJtbDw85ToTA8cHxSA4wZySWqJXdQgvVi kind: ethereum/events language: wasm/assemblyscript name: VToken network: optimism source: abi: VToken - kind: ethereum/contract mapping: abis: - file: /: /ipfs/QmcE1Jw5dAM59xCq1Jexnr9xcZ5DEPhjN7bXkiuhvhMA17 name: BEP20 apiVersion: 0.0.9 entities: - Token eventHandlers: - event: Upgraded(indexed address) handler: handleUpgraded file: /: /ipfs/QmeQ1PBVrq87gresBJNXG8RhQAe28Ge6g5aNUe7uxDVajg kind: ethereum/events language: wasm/assemblyscript name: Underlying network: optimism source: abi: BEP20 - kind: ethereum/contract mapping: abis: - file: /: /ipfs/QmdoY2HN51yfh3BDRLzM3mkruTQcM7cNmWF6BrhZ8wN5g5 name: RewardsDistributor apiVersion: 0.0.9 entities: - RewardsDistributor - AccountRewards eventHandlers: - event: MarketInitialized(indexed address) handler: handleMarketInitialized - event: 'RewardTokenBorrowSpeedUpdated(indexed address,uint256)' handler: handleRewardTokenBorrowSpeedUpdated - event: 'RewardTokenSupplySpeedUpdated(indexed address,uint256)' handler: handleRewardTokenSupplySpeedUpdated - event: RewardTokenSupplyIndexUpdated(indexed address) handler: handleRewardTokenSupplyIndexUpdated - event: 'RewardTokenBorrowIndexUpdated(indexed address,(uint256))' handler: handleRewardTokenBorrowIndexUpdated - event: 'SupplyLastRewardingBlockUpdated(indexed address,uint32)' handler: handleSupplyLastRewardingBlockUpdated - event: 'BorrowLastRewardingBlockUpdated(indexed address,uint32)' handler: handleBorrowLastRewardingBlockUpdated - event: 'SupplyLastRewardingBlockTimestampUpdated(indexed address,uint256)' handler: handleSupplyLastRewardingBlockTimestampUpdated - event: 'BorrowLastRewardingBlockTimestampUpdated(indexed address,uint256)' handler: handleBorrowLastRewardingBlockTimestampUpdated file: /: /ipfs/QmSz81GLe4egSgC1jJwHwwuqCK51JaQXTt12SjM7N25TbA kind: ethereum/events language: wasm/assemblyscript name: RewardsDistributor network: optimism source: abi: RewardsDistributor