This crate provides the solvers-dto but with the alloy type system.
- Replace
web3
withalloy
types - Remove custom byte serialization
- Add
Clone
andSerialize
/Deserialize
traits to all types- Sometimes you like to store a response and for that it is better if you can
Serialize
it again
- Sometimes you like to store a response and for that it is better if you can
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.
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.
This project is dual licensed as the original project under the Apache 2.0 or MIT.