Skip to content

Commit

Permalink
Merge branch '2.0' into native-token-feature
Browse files Browse the repository at this point in the history
  • Loading branch information
thibault-martinez committed Oct 26, 2023
2 parents 5411ddd + 50f686c commit 9d5ebd3
Show file tree
Hide file tree
Showing 103 changed files with 5,163 additions and 5,188 deletions.
157 changes: 126 additions & 31 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 12 additions & 6 deletions bindings/core/src/method/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,13 @@ use derivative::Derivative;
#[cfg(feature = "mqtt")]
use iota_sdk::client::mqtt::Topic;
use iota_sdk::{
client::{node_api::indexer::query_parameters::QueryParameter, node_manager::node::NodeAuth},
client::{
node_api::indexer::query_parameters::{
AccountOutputQueryParameters, BasicOutputQueryParameters, FoundryOutputQueryParameters,
NftOutputQueryParameters, OutputQueryParameters,
},
node_manager::node::NodeAuth,
},
types::block::{
address::{Bech32Address, Hrp},
output::{
Expand Down Expand Up @@ -207,19 +213,19 @@ pub enum ClientMethod {
#[serde(rename_all = "camelCase")]
OutputIds {
/// Query parameters for output requests
query_parameters: Vec<QueryParameter>,
query_parameters: OutputQueryParameters,
},
/// Fetch basic output IDs
#[serde(rename_all = "camelCase")]
BasicOutputIds {
/// Query parameters for output requests
query_parameters: Vec<QueryParameter>,
query_parameters: BasicOutputQueryParameters,
},
/// Fetch account output IDs
#[serde(rename_all = "camelCase")]
AccountOutputIds {
/// Query parameters for output requests
query_parameters: Vec<QueryParameter>,
query_parameters: AccountOutputQueryParameters,
},
/// Fetch account output ID
#[serde(rename_all = "camelCase")]
Expand All @@ -231,7 +237,7 @@ pub enum ClientMethod {
#[serde(rename_all = "camelCase")]
NftOutputIds {
/// Query parameters for output requests
query_parameters: Vec<QueryParameter>,
query_parameters: NftOutputQueryParameters,
},
/// Fetch NFT output ID
#[serde(rename_all = "camelCase")]
Expand All @@ -243,7 +249,7 @@ pub enum ClientMethod {
#[serde(rename_all = "camelCase")]
FoundryOutputIds {
/// Query parameters for output requests
query_parameters: Vec<QueryParameter>,
query_parameters: FoundryOutputQueryParameters,
},
/// Fetch foundry Output ID
#[serde(rename_all = "camelCase")]
Expand Down
Loading

0 comments on commit 9d5ebd3

Please sign in to comment.