Skip to content

Commit 20bbab4

Browse files
committed
feat(query): update latest ravs and escrow account queries for v2
1 parent b4e9b85 commit 20bbab4

File tree

1 file changed

+50
-0
lines changed

1 file changed

+50
-0
lines changed

crates/query/src/lib.rs

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,3 +123,53 @@ pub mod closed_allocations {
123123
variables_derives = "Clone"
124124
)]
125125
pub struct TapTransactions;
126+
127+
pub mod network_escrow_account_v2 {
128+
use graphql_client::GraphQLQuery;
129+
type BigInt = String;
130+
type Bytes = String;
131+
132+
#[derive(GraphQLQuery)]
133+
#[graphql(
134+
schema_path = "graphql/network.schema.graphql",
135+
query_path = "graphql/network_escrow_account_v2.query.graphql",
136+
response_derives = "Debug",
137+
variables_derives = "Clone"
138+
)]
139+
pub struct NetworkEscrowAccountQueryV2;
140+
141+
pub use network_escrow_account_query_v2::Variables;
142+
}
143+
144+
pub mod horizon_detection {
145+
use graphql_client::GraphQLQuery;
146+
type Bytes = String;
147+
148+
#[derive(GraphQLQuery)]
149+
#[graphql(
150+
schema_path = "graphql/network.schema.graphql",
151+
query_path = "graphql/horizon_detection.query.graphql",
152+
response_derives = "Debug",
153+
variables_derives = "Clone"
154+
)]
155+
pub struct HorizonDetectionQuery;
156+
157+
pub use horizon_detection_query::*;
158+
}
159+
160+
pub mod latest_ravs_v2 {
161+
use graphql_client::GraphQLQuery;
162+
type BigInt = String;
163+
type Bytes = String;
164+
165+
#[derive(GraphQLQuery)]
166+
#[graphql(
167+
schema_path = "graphql/network.schema.graphql",
168+
query_path = "graphql/latest_ravs_v2.query.graphql",
169+
response_derives = "Debug",
170+
variables_derives = "Clone"
171+
)]
172+
pub struct LatestRavs;
173+
174+
pub use latest_ravs::*;
175+
}

0 commit comments

Comments
 (0)