dataSources: - kind: ethereum/contract mapping: abis: - file: /: /ipfs/QmW9rmxfLAfF9dPqcFbwVgQMJHidmcrPrbiFsrVqJwXAhL name: CToken - file: /: /ipfs/QmaLAJtpsPDFVJRujNANmkUj5mi559aVRdhpcs4YxWijNT name: CERC20 - file: /: /ipfs/QmVnK5fcbZ2Jcs3r1HagSGsTDC3c3pZq6jNctn8vUGuh4y name: Comptroller - file: /: /ipfs/QmXuTbDkNrN27VydxbS2huvKRk62PMgUTdPDWkxcr2w7j2 name: ERC20 - file: /: /ipfs/QmPeokJxJbLVpeSMxb9pYt3bwwz18JwVSYxF6wVF6fuci7 name: PriceOracle1 - file: /: /ipfs/QmVXijoMSYqcXHi4FZoccv425JrUMcfBbU4gZpR4gAgbgF name: PriceOracle2 apiVersion: 0.0.5 entities: - Protocol - Market - User - UserMarket eventHandlers: - event: MarketListed(address) handler: handleMarketListed - event: 'NewPriceOracle(address,address)' handler: handleNewPriceOracle - event: 'MarketEntered(address,address)' handler: handleMarketEntered - event: 'MarketExited(address,address)' handler: handleMarketExited file: /: /ipfs/QmYXNKhKoQ5dGqYPHUkH6Y3FtSxVyzEeJqBTq1mwTxchwR kind: ethereum/events language: wasm/assemblyscript name: Comptroller network: mainnet source: abi: Comptroller address: '0x3d9819210A31b4961b30EF54bE2aeD79B9c9Cd3B' startBlock: 7700000 features: - grafting graft: base: QmdzmaeKuBroxvAdRrENGKyCAMvAresZuKXop5hqPvjYeA block: 15537392 schema: file: /: /ipfs/QmWtwJPCHKTnTQJ12bwhMue8L9ZyWQESFCBnSEqmWLjYsT specVersion: 0.0.4 templates: - kind: ethereum/contract mapping: abis: - file: /: /ipfs/QmW9rmxfLAfF9dPqcFbwVgQMJHidmcrPrbiFsrVqJwXAhL name: CToken - file: /: /ipfs/QmaLAJtpsPDFVJRujNANmkUj5mi559aVRdhpcs4YxWijNT name: CERC20 - file: /: /ipfs/QmfJCr2zMqhNEoy5nv6HYZqepcCucUKJ4pnSWemhTqyQWW name: CEther - file: /: /ipfs/QmXuTbDkNrN27VydxbS2huvKRk62PMgUTdPDWkxcr2w7j2 name: ERC20 - file: /: /ipfs/QmVnK5fcbZ2Jcs3r1HagSGsTDC3c3pZq6jNctn8vUGuh4y name: Comptroller - file: /: /ipfs/QmPeokJxJbLVpeSMxb9pYt3bwwz18JwVSYxF6wVF6fuci7 name: PriceOracle1 - file: /: /ipfs/QmVXijoMSYqcXHi4FZoccv425JrUMcfBbU4gZpR4gAgbgF name: PriceOracle2 apiVersion: 0.0.5 entities: - Protocol - Market - User - UserMarket - Mint - Redeem - Borrow - RepayBorrow - Transfer - Liquidation 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: 'Transfer(indexed address,indexed address,uint256)' handler: handleTransfer - event: 'AccrueInterest(uint256,uint256,uint256)' handler: handleAccrueInterestOld - event: 'AccrueInterest(uint256,uint256,uint256,uint256)' handler: handleAccrueInterest file: /: /ipfs/QmYzSX21ngunTjqSuuyiuCy6avqNGG8rC7NknMJH3Gn4fL kind: ethereum/events language: wasm/assemblyscript name: CToken network: mainnet source: abi: CToken