Define a FinancialContractInterface that both the ExpiringMultiParty and Perpetual implement that we can leverage to make the subgraph more robust. Any contracts that were created via a NewContractRegistered event but do NOT conform to this interface should be ignored by the subgraph.
Currently, some contracts can cause the entire subgraph to fail so we need better error handling
Define a
FinancialContractInterfacethat both theExpiringMultiPartyandPerpetualimplement that we can leverage to make the subgraph more robust. Any contracts that were created via aNewContractRegisteredevent but do NOT conform to this interface should be ignored by the subgraph.Currently, some contracts can cause the entire subgraph to fail so we need better error handling