This commit is contained in:
Bryan Stitt 2023-07-07 14:06:35 -07:00
parent 6176a91fc1
commit 512bcf305b
3 changed files with 2 additions and 7 deletions

View File

@ -11,7 +11,7 @@ use ethers::{
};
use serde_json::json;
use std::sync::Arc;
use tracing::{error, trace, warn};
use tracing::{trace, warn};
use crate::{frontend::authorization::Authorization, rpcs::many::Web3Rpcs};

View File

@ -7,9 +7,7 @@ use axum::{
Extension, Json, TypedHeader,
};
use axum_macros::debug_handler;
use entities::{
balance, increase_on_chain_balance_receipt, rpc_key, stripe_increase_balance_receipt, user,
};
use entities::{balance, rpc_key, stripe_increase_balance_receipt, user};
use ethers::types::Address;
use http::HeaderMap;
use migration::sea_orm::prelude::Decimal;

View File

@ -1,8 +1,5 @@
use crate::TestApp;
use ethers::prelude::{LocalWallet, Signer};
use rust_decimal::Decimal;
use tracing::info;
use web3_proxy::frontend::admin::AdminIncreaseBalancePost;
use web3_proxy::frontend::users::authentication::LoginPostResponse;
/// Helper function to increase the balance of a user, from an admin