Skip to content

Commit 6217731

Browse files
committed
feat: update latest ravs and escrow account queries for v2
1 parent 51c59f9 commit 6217731

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

crates/query/src/lib.rs

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,3 +123,37 @@ pub mod closed_allocations {
123123
variables_derives = "Clone"
124124
)]
125125
pub struct TapTransactions;
126+
127+
pub mod latest_ravs_v2 {
128+
use graphql_client::GraphQLQuery;
129+
type BigInt = String;
130+
type Bytes = String;
131+
132+
#[derive(GraphQLQuery)]
133+
#[graphql(
134+
schema_path = "graphql/tap_v2.schema.graphql",
135+
query_path = "graphql/latest_ravs_v2.query.graphql",
136+
response_derives = "Debug",
137+
variables_derives = "Clone"
138+
)]
139+
pub struct LatestRavs;
140+
141+
pub use latest_ravs::*;
142+
}
143+
144+
pub mod escrow_account_v2 {
145+
use graphql_client::GraphQLQuery;
146+
type BigInt = String;
147+
type Bytes = String;
148+
149+
#[derive(GraphQLQuery)]
150+
#[graphql(
151+
schema_path = "graphql/tap_v2.schema.graphql",
152+
query_path = "graphql/escrow_account_v2.query.graphql",
153+
response_derives = "Debug",
154+
variables_derives = "Clone"
155+
)]
156+
pub struct EscrowAccountQuery;
157+
158+
pub use escrow_account_query::Variables;
159+
}

0 commit comments

Comments
 (0)