From e0b06ede0aaa6c2ce5e19a85b36345abeae06fb9 Mon Sep 17 00:00:00 2001 From: mingda Date: Thu, 30 Jul 2020 02:10:37 +0800 Subject: [PATCH] update IDODO --- contracts/intf/IDODO.sol | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contracts/intf/IDODO.sol b/contracts/intf/IDODO.sol index 4a8dd39..fe273da 100644 --- a/contracts/intf/IDODO.sol +++ b/contracts/intf/IDODO.sol @@ -42,13 +42,13 @@ interface IDODO { function queryBuyBaseToken(uint256 amount) external view returns (uint256 payQuote); - function depositBaseTo(address to, uint256 amount) external; + function depositBaseTo(address to, uint256 amount) external returns (uint256); function withdrawBase(uint256 amount) external returns (uint256); function withdrawAllBase() external returns (uint256); - function depositQuoteTo(address to, uint256 amount) external; + function depositQuoteTo(address to, uint256 amount) external returns (uint256); function withdrawQuote(uint256 amount) external returns (uint256);