morpho_rs_api/queries/
v2.rs1use graphql_client::GraphQLQuery;
4
5use crate::types::scalars::FlexBigInt;
6
7pub type Address = String;
9pub type BigInt = FlexBigInt;
10pub type MarketId = String;
11pub type HexString = String;
12
13#[derive(GraphQLQuery)]
15#[graphql(
16 schema_path = "schema/morpho.graphql",
17 query_path = "queries/vaults_v2.graphql",
18 response_derives = "Debug, Clone",
19 variables_derives = "Debug, Clone"
20)]
21pub struct GetVaultsV2;
22
23#[derive(GraphQLQuery)]
25#[graphql(
26 schema_path = "schema/morpho.graphql",
27 query_path = "queries/vaults_v2.graphql",
28 response_derives = "Debug, Clone",
29 variables_derives = "Debug, Clone"
30)]
31pub struct GetVaultV2ByAddress;