From cd5d19a3fa8b9629c37454c69aff19dec3df3c34 Mon Sep 17 00:00:00 2001 From: Luisfc68 Date: Fri, 9 Aug 2024 16:12:28 -0300 Subject: [PATCH] feat: add version display --- contracts/BtcUtils.sol | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/contracts/BtcUtils.sol b/contracts/BtcUtils.sol index d089fec..12f6711 100644 --- a/contracts/BtcUtils.sol +++ b/contracts/BtcUtils.sol @@ -46,6 +46,10 @@ library BtcUtils { uint256 totalSize; } + function version() external pure returns (string memory) { + return "0.2.1"; + } + /// @notice Parse a raw transaction to get an array of its outputs in a structured representation /// @param rawTx the raw transaction /// @return An array of `TxRawOutput` with the outputs of the transaction