Skip to content
Open
13 changes: 0 additions & 13 deletions packages/blue-api-sdk/src/cache.ts
Original file line number Diff line number Diff line change
Expand Up @@ -868,19 +868,6 @@ export const typePolicies = {
},
},
},
MorphoMarketV1Adapter: {
fields: {
assets: {
read: readMaybeBigInt,
},
creationBlockNumber: {
read: readMaybeBigInt,
},
creationTimestamp: {
read: readMaybeBigInt,
},
},
},
MarketCollateralTransferTransactionData: {
fields: {
assets: {
Expand Down
40 changes: 1 addition & 39 deletions packages/blue-api-sdk/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1571,17 +1571,6 @@ export type MarketTransferTransactionData = {
shares: Scalars["BigInt"]["output"];
};

/** Market V1 cap data */
export type MarketV1CapData = {
__typename?: "MarketV1CapData";
/** The adapter to which this cap is associated to. Null if the adapter is not recognized. */
adapter: Maybe<VaultV2Adapter>;
adapterAddress: Scalars["Address"]["output"];
/** The market to which this cap is associated. Null if the market is not recognized. */
market: Maybe<Market>;
marketParams: MarketParams;
};

/** Market warning */
export type MarketWarning = {
__typename?: "MarketWarning";
Expand Down Expand Up @@ -1769,28 +1758,6 @@ export type MorphoChainlinkOracleV2Data = {
scaleFactor: Scalars["BigInt"]["output"];
};

export type MorphoMarketV1Adapter = VaultV2Adapter & {
__typename?: "MorphoMarketV1Adapter";
address: Scalars["Address"]["output"];
/** The assets managed by the adapter (includes virtually accrued interest). */
assets: Scalars["BigInt"]["output"];
/** The USD value of assets managed by the adapter (includes virtually accrued interest). */
assetsUsd: Maybe<Scalars["Float"]["output"]>;
chain: Chain;
creationBlockNumber: Scalars["BigInt"]["output"];
creationTimestamp: Scalars["BigInt"]["output"];
factory: VaultV2AdapterFactory;
id: Scalars["ID"]["output"];
positions: PaginatedMarketPositions;
type: VaultV2AdapterType;
vault: VaultV2;
};

export type MorphoMarketV1AdapterPositionsArgs = {
first?: InputMaybe<Scalars["Int"]["input"]>;
skip?: InputMaybe<Scalars["Int"]["input"]>;
};

/** Oracle */
export type Oracle = {
__typename?: "Oracle";
Expand Down Expand Up @@ -3872,7 +3839,6 @@ export type VaultV2AdapterFactory = {

export enum VaultV2AdapterType {
MetaMorpho = "MetaMorpho",
MorphoMarketV1 = "MorphoMarketV1",
}

/** Vault V2 allocator */
Expand All @@ -3886,15 +3852,11 @@ export type VaultV2Allocator = {
timestamp: Scalars["BigInt"]["output"];
};

export type VaultV2CapData =
| AdapterCapData
| CollateralCapData
| MarketV1CapData;
export type VaultV2CapData = AdapterCapData | CollateralCapData;

export enum VaultV2CapType {
Adapter = "Adapter",
Collateral = "Collateral",
MarketV1 = "MarketV1",
Unknown = "Unknown",
}

Expand Down

This file was deleted.

This file was deleted.

Loading