dataSources: - kind: ethereum/contract mapping: abis: - file: /: /ipfs/QmY4FfDQVnRgcTnb3puLY6AzQuifeCoLfUSneqmKE5WR6D name: Comptroller - file: /: /ipfs/QmWrnNuQ75xWRpUqtKEaTUT3Jwbhps1p2mpjLafTQ1E2Jx name: CToken - file: /: /ipfs/QmPeokJxJbLVpeSMxb9pYt3bwwz18JwVSYxF6wVF6fuci7 name: PriceOracle - file: /: /ipfs/QmVXijoMSYqcXHi4FZoccv425JrUMcfBbU4gZpR4gAgbgF name: PriceOracle2 - file: /: /ipfs/QmZv4gG98yEo3i7QgAMZd7xEt1m6UJshiGY4XTdbxT6pjw name: ERC20 apiVersion: 0.0.6 entities: - Comptroller - Market eventHandlers: - event: MarketListed(address) handler: handleMarketListed - event: 'MarketEntered(address,address)' handler: handleMarketEntered - event: 'MarketExited(address,address)' handler: handleMarketExited - event: 'NewCloseFactor(uint256,uint256)' handler: handleNewCloseFactor - event: 'NewCollateralFactor(address,uint256,uint256)' handler: handleNewCollateralFactor - event: 'NewLiquidationIncentive(uint256,uint256)' handler: handleNewLiquidationIncentive - event: 'NewPriceOracle(address,address)' handler: handleNewPriceOracle file: /: /ipfs/QmVhitKRkofKqKE4LBhYSTcJ9QzzdtsK8B95JvAm5qMnP2 kind: ethereum/events language: wasm/assemblyscript name: Comptroller network: avalanche source: abi: Comptroller address: '0xD7c4006d33DA2A0A8525791ed212bbCD7Aca763F' startBlock: 47991149 description: >- Benqi is an open-source protocol for algorithmic, efficient Money Markets on the Avalanche blockchain. repository: 'https://github.com/ChaosLabsInc/subgraph-benqi' schema: file: /: /ipfs/QmbLUeS8DGJk7K6kYTv9gPbJ3hwkxSjpcSrnXH1j7jLQDB specVersion: 0.0.4 templates: - kind: ethereum/contract mapping: abis: - file: /: /ipfs/QmWrnNuQ75xWRpUqtKEaTUT3Jwbhps1p2mpjLafTQ1E2Jx name: CToken - file: /: /ipfs/QmPeokJxJbLVpeSMxb9pYt3bwwz18JwVSYxF6wVF6fuci7 name: PriceOracle - file: /: /ipfs/QmVXijoMSYqcXHi4FZoccv425JrUMcfBbU4gZpR4gAgbgF name: PriceOracle2 - file: /: /ipfs/QmZv4gG98yEo3i7QgAMZd7xEt1m6UJshiGY4XTdbxT6pjw name: ERC20 apiVersion: 0.0.6 entities: - User - Market - CTokenInfo eventHandlers: - event: 'Mint(address,uint256,uint256)' handler: handleMint - event: 'Redeem(address,uint256,uint256)' handler: handleRedeem - event: 'Borrow(address,uint256,uint256,uint256)' handler: handleBorrow - event: 'RepayBorrow(address,address,uint256,uint256,uint256)' handler: handleRepayBorrow - event: 'LiquidateBorrow(address,address,uint256,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(address,address)' handler: handleNewMarketInterestRateModel file: /: /ipfs/QmP2tb5h8uDCtZty1tmRdqd3ZGkPMAJVvUSLomWEhcznfB kind: ethereum/events language: wasm/assemblyscript name: CToken network: avalanche source: abi: CToken