|
1 | | -use std::{io, sync::Arc}; |
| 1 | +use std::io; |
| 2 | +use std::sync::Arc; |
2 | 3 |
|
3 | 4 | use clap::{Parser, ValueEnum}; |
4 | | -use miden_client::{ |
5 | | - Client, RemoteTransactionProver, |
6 | | - account::AccountId, |
7 | | - asset::{FungibleAsset, NonFungibleDeltaAction}, |
8 | | - auth::TransactionAuthenticator, |
9 | | - note::{BlockNumber, NoteType as MidenNoteType, build_swap_tag, get_input_note_with_id_prefix}, |
10 | | - store::NoteRecordError, |
11 | | - transaction::{ |
12 | | - InputNote, OutputNote, PaymentNoteDescription, SwapTransactionData, TransactionRequest, |
13 | | - TransactionRequestBuilder, TransactionResult, |
14 | | - }, |
| 5 | +use miden_client::account::AccountId; |
| 6 | +use miden_client::asset::{FungibleAsset, NonFungibleDeltaAction}; |
| 7 | +use miden_client::auth::TransactionAuthenticator; |
| 8 | +use miden_client::note::{ |
| 9 | + BlockNumber, |
| 10 | + NoteType as MidenNoteType, |
| 11 | + build_swap_tag, |
| 12 | + get_input_note_with_id_prefix, |
15 | 13 | }; |
| 14 | +use miden_client::store::NoteRecordError; |
| 15 | +use miden_client::transaction::{ |
| 16 | + InputNote, |
| 17 | + OutputNote, |
| 18 | + PaymentNoteDescription, |
| 19 | + SwapTransactionData, |
| 20 | + TransactionRequest, |
| 21 | + TransactionRequestBuilder, |
| 22 | + TransactionResult, |
| 23 | +}; |
| 24 | +use miden_client::{Client, RemoteTransactionProver}; |
16 | 25 | use tracing::info; |
17 | 26 |
|
18 | | -use crate::{ |
19 | | - create_dynamic_table, |
20 | | - errors::CliError, |
21 | | - utils::{ |
22 | | - SHARED_TOKEN_DOCUMENTATION, get_input_acc_id_by_prefix_or_default, load_config_file, |
23 | | - load_faucet_details_map, parse_account_id, |
24 | | - }, |
| 27 | +use crate::create_dynamic_table; |
| 28 | +use crate::errors::CliError; |
| 29 | +use crate::utils::{ |
| 30 | + SHARED_TOKEN_DOCUMENTATION, |
| 31 | + get_input_acc_id_by_prefix_or_default, |
| 32 | + load_config_file, |
| 33 | + load_faucet_details_map, |
| 34 | + parse_account_id, |
25 | 35 | }; |
26 | 36 |
|
27 | 37 | #[derive(Debug, Clone, Copy, ValueEnum)] |
|
0 commit comments