Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

style(web3): reorder imports and module declarations

Steven Enamakel61734e4f6c46
diff --git a/crates/openhuman-core/src/web3/bridge/schemas.rs b/crates/openhuman-core/src/web3/bridge/schemas.rs
index 97801d35f5..a69bb5d366 100644
--- a/crates/openhuman-core/src/web3/bridge/schemas.rs
+++ b/crates/openhuman-core/src/web3/bridge/schemas.rs
@@ -7,8 +7,8 @@ use crate::core::all::{ControllerFuture, RegisteredController};
use crate::core::{ControllerSchema, FieldSchema, Outcome, TypeSchema};
use super::super::seams::service;
-use tinywallet_web3::crypto::service::{BridgeQuoteParams, ExecuteQuoteParams};
use super::super::{execute_inputs, json_result, opt_str, req_json};
+use tinywallet_web3::crypto::service::{BridgeQuoteParams, ExecuteQuoteParams};
pub fn schemas() -> Vec<ControllerSchema> {
vec![schema("quote"), schema("execute")]
diff --git a/crates/openhuman-core/src/web3/dapp/schemas.rs b/crates/openhuman-core/src/web3/dapp/schemas.rs
index 18fbfc02db..deaf4cdbe4 100644
--- a/crates/openhuman-core/src/web3/dapp/schemas.rs
+++ b/crates/openhuman-core/src/web3/dapp/schemas.rs
@@ -7,8 +7,8 @@ use crate::core::all::{ControllerFuture, RegisteredController};
use crate::core::{ControllerSchema, FieldSchema, Outcome, TypeSchema};
use super::super::seams::service;
-use tinywallet_web3::crypto::service::{DappCallParams, ExecuteQuoteParams};
use super::super::{execute_inputs, json_result, opt_str, req_json};
+use tinywallet_web3::crypto::service::{DappCallParams, ExecuteQuoteParams};
pub fn schemas() -> Vec<ControllerSchema> {
vec![schema("call"), schema("execute")]
diff --git a/crates/openhuman-core/src/web3/swap/schemas.rs b/crates/openhuman-core/src/web3/swap/schemas.rs
index 534ee53b99..54007571fb 100644
--- a/crates/openhuman-core/src/web3/swap/schemas.rs
+++ b/crates/openhuman-core/src/web3/swap/schemas.rs
@@ -8,8 +8,8 @@ use crate::core::all::{ControllerFuture, RegisteredController};
use crate::core::{ControllerSchema, FieldSchema, Outcome, TypeSchema};
use super::super::seams::service;
-use tinywallet_web3::crypto::service::{ExecuteQuoteParams, SwapQuoteParams};
use super::super::{execute_inputs, json_result, opt_str, req_json};
+use tinywallet_web3::crypto::service::{ExecuteQuoteParams, SwapQuoteParams};
pub fn schemas() -> Vec<ControllerSchema> {
vec![schema("quote"), schema("execute"), schema("routes")]
diff --git a/crates/openhuman-core/src/web3/wallet/mod.rs b/crates/openhuman-core/src/web3/wallet/mod.rs
index dbf221ca7d..4aa56e174d 100644
--- a/crates/openhuman-core/src/web3/wallet/mod.rs
+++ b/crates/openhuman-core/src/web3/wallet/mod.rs
@@ -45,10 +45,10 @@ mod ops;
#[cfg(feature = "web3")]
pub(crate) mod rpc;
-#[cfg(feature = "web3")]
-mod schemas;
#[cfg(feature = "web3")]
pub(crate) mod registration;
+#[cfg(feature = "web3")]
+mod schemas;
/// The host side of the wallet primitives' `Transport` seam — endpoint resolution,
/// failover and redaction stay here, where the config lives.
#[cfg(feature = "web3")]
diff --git a/crates/openhuman-core/src/web3/wallet/registration.rs b/crates/openhuman-core/src/web3/wallet/registration.rs
index 19d71ac9cc..200e3cd0f7 100644
--- a/crates/openhuman-core/src/web3/wallet/registration.rs
+++ b/crates/openhuman-core/src/web3/wallet/registration.rs
@@ -2,8 +2,8 @@
use tinytools::Tool;
use tinywallet_web3::tools::wallet::{
- WalletChainStatusTool, WalletLookupTxTool, WalletPrepareTransferTool,
- WalletStatusTool, WalletTxReceiptTool, WalletTxStatusTool,
+ WalletChainStatusTool, WalletLookupTxTool, WalletPrepareTransferTool, WalletStatusTool,
+ WalletTxReceiptTool, WalletTxStatusTool,
};
/// Build the wallet tool family in its persisted catalogue order.