lint
This commit is contained in:
parent
6176a91fc1
commit
512bcf305b
@ -11,7 +11,7 @@ use ethers::{
|
|||||||
};
|
};
|
||||||
use serde_json::json;
|
use serde_json::json;
|
||||||
use std::sync::Arc;
|
use std::sync::Arc;
|
||||||
use tracing::{error, trace, warn};
|
use tracing::{trace, warn};
|
||||||
|
|
||||||
use crate::{frontend::authorization::Authorization, rpcs::many::Web3Rpcs};
|
use crate::{frontend::authorization::Authorization, rpcs::many::Web3Rpcs};
|
||||||
|
|
||||||
|
@ -7,9 +7,7 @@ use axum::{
|
|||||||
Extension, Json, TypedHeader,
|
Extension, Json, TypedHeader,
|
||||||
};
|
};
|
||||||
use axum_macros::debug_handler;
|
use axum_macros::debug_handler;
|
||||||
use entities::{
|
use entities::{balance, rpc_key, stripe_increase_balance_receipt, user};
|
||||||
balance, increase_on_chain_balance_receipt, rpc_key, stripe_increase_balance_receipt, user,
|
|
||||||
};
|
|
||||||
use ethers::types::Address;
|
use ethers::types::Address;
|
||||||
use http::HeaderMap;
|
use http::HeaderMap;
|
||||||
use migration::sea_orm::prelude::Decimal;
|
use migration::sea_orm::prelude::Decimal;
|
||||||
|
@ -1,8 +1,5 @@
|
|||||||
use crate::TestApp;
|
use crate::TestApp;
|
||||||
use ethers::prelude::{LocalWallet, Signer};
|
|
||||||
use rust_decimal::Decimal;
|
|
||||||
use tracing::info;
|
use tracing::info;
|
||||||
use web3_proxy::frontend::admin::AdminIncreaseBalancePost;
|
|
||||||
use web3_proxy::frontend::users::authentication::LoginPostResponse;
|
use web3_proxy::frontend::users::authentication::LoginPostResponse;
|
||||||
|
|
||||||
/// Helper function to increase the balance of a user, from an admin
|
/// Helper function to increase the balance of a user, from an admin
|
||||||
|
Loading…
Reference in New Issue
Block a user