From c906f75a334d35a89875015305e1e95f3add9bfb Mon Sep 17 00:00:00 2001 From: Francisco Silva Date: Mon, 29 Sep 2025 16:48:22 +0200 Subject: [PATCH] Make Eip712 trait public --- src/eip712.rs | 2 +- src/lib.rs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/eip712.rs b/src/eip712.rs index 0c9412ff..d79ff40e 100644 --- a/src/eip712.rs +++ b/src/eip712.rs @@ -3,7 +3,7 @@ use alloy::{ primitives::{keccak256, B256}, }; -pub(crate) trait Eip712 { +pub trait Eip712 { fn domain(&self) -> Eip712Domain; fn struct_hash(&self) -> B256; diff --git a/src/lib.rs b/src/lib.rs index 78fa50d5..86f20e2a 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -12,6 +12,7 @@ mod req; mod signature; mod ws; pub use consts::{EPSILON, LOCAL_API_URL, MAINNET_API_URL, TESTNET_API_URL}; +pub use eip712::Eip712; pub use errors::Error; pub use exchange::*; pub use helpers::{bps_diff, truncate_float, BaseUrl};