diff --git a/traits/src/ice.rs b/traits/src/ice.rs new file mode 100644 index 000000000..5fef2bbc0 --- /dev/null +++ b/traits/src/ice.rs @@ -0,0 +1,4 @@ +pub trait SubmitIntent{ + type Error; + fn submit_intent(intent: Intent) -> Result; +} \ No newline at end of file diff --git a/traits/src/lib.rs b/traits/src/lib.rs index d7e73df63..f9b3ca700 100644 --- a/traits/src/lib.rs +++ b/traits/src/lib.rs @@ -28,6 +28,7 @@ pub mod price; pub mod registry; pub mod router; pub mod stableswap; +pub mod ice; pub use oracle::*; pub use registry::*;