From fbc0dac38334c7f0d7f532aea5471c4f9d323a83 Mon Sep 17 00:00:00 2001 From: NicholasDotSol Date: Fri, 31 Jan 2020 10:52:36 -0600 Subject: [PATCH] expose utxoSize --- implementation/contracts/deposit/Deposit.sol | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/implementation/contracts/deposit/Deposit.sol b/implementation/contracts/deposit/Deposit.sol index d8efc3f31..83c2d44b2 100644 --- a/implementation/contracts/deposit/Deposit.sol +++ b/implementation/contracts/deposit/Deposit.sol @@ -60,6 +60,12 @@ contract Deposit { return self.lotSizeTbtc(); } + /// @notice Get the size of the funding UTXO. + /// @return Uint256 UTXO size. + function utxoSize() public view returns (uint256){ + return self.utxoSize(); + } + // THIS IS THE INIT FUNCTION /// @notice The system can spin up a new deposit /// @dev This should be called by an approved contract, not a developer