From 90b50580fb913a58e474c66a26dc21c7a9b97d95 Mon Sep 17 00:00:00 2001 From: canonbrother Date: Thu, 13 Jun 2024 17:52:04 +0800 Subject: [PATCH] update vault traits --- client/src/traits/vault.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/client/src/traits/vault.rs b/client/src/traits/vault.rs index df86933..c5759fb 100644 --- a/client/src/traits/vault.rs +++ b/client/src/traits/vault.rs @@ -1,3 +1,6 @@ +use crate::{Result, RpcApi}; +use defichain_rpc_json::{common::UTXO, vault::*}; + pub trait VaultRPC: RpcApi { fn close_vault(&self, close_vault: CloseVault, utxos: Option) -> Result; fn create_vault(&self, vault: CreateVault, utxos: Option) -> Result; @@ -16,7 +19,7 @@ pub trait VaultRPC: RpcApi { pagination: Option, ) -> Result>; fn list_auctions(&self) -> Result>; - fn list_vaults(&self) -> Result; + fn list_vaults(&self) -> Result; fn place_auction_bid( &self, place_auction_bid: PlaceAuctionBid,