mod.rs 349 B

1234567891011121314151617181920
  1. pub mod adapter;
  2. pub mod jsonrpc;
  3. pub mod jsonserver;
  4. pub mod test;
  5. use serde::Deserialize;
  6. #[derive(Deserialize, Debug)]
  7. pub struct TransferParams {
  8. pub address: String,
  9. pub amount: String,
  10. }
  11. #[derive(Deserialize, Debug)]
  12. pub struct WithdrawParams {
  13. address: String,
  14. amount: String,
  15. }
  16. pub use adapter::{AdapterPtr, RpcAdapter};