Skip to content

The solvers-dto but using the Alloy type system

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

cakevm/cowprotocol-solvers-dto-alloy

Repository files navigation

CoW Protocol Solvers DTO Alloy

This crate provides the solvers-dto but with the alloy type system.

Motivation

  • Replace web3 with alloy types
  • Remove custom byte serialization
  • Add Clone and Serialize / Deserialize traits to all types
    • Sometimes you like to store a response and for that it is better if you can Serialize it again

Status

All models are 1:1 taken from the services repo with revision 01f35f8. The test coverage is currently not great. I do not have access to the auction API because it is not public anymore (I used an old captured file and modified it). Please let me know if there are any issues with the current API.

Acknowledgements

This project is based on the solvers-dto and all models are taken from there. Many thanks to the cowprotocol team for making their service open source. And many thanks to the alloy-rs team.

License

This project is dual licensed as the original project under the Apache 2.0 or MIT.

About

The solvers-dto but using the Alloy type system

Topics

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published