From cd07356ea6b36aaacd7ef90207d510fec1add87a Mon Sep 17 00:00:00 2001 From: shafu Date: Sat, 12 Jul 2025 14:32:01 -0400 Subject: [PATCH] rm encoder --- libraries/Encoder.sol | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 libraries/Encoder.sol diff --git a/libraries/Encoder.sol b/libraries/Encoder.sol deleted file mode 100644 index cc2529a7..00000000 --- a/libraries/Encoder.sol +++ /dev/null @@ -1,19 +0,0 @@ -// SPDX-License-Identifier: MIT -pragma solidity =0.8.26; - -library DepositEncoder { - uint8 constant ENCODING_VERSION = 1; - - enum DEPOSIT_TYPE { - REPO, - SOLO - } - - function encode( - DEPOSIT_TYPE depositType, - uint64 repoId, - uint64 timestamp - ) internal pure returns (bytes memory) { - return abi.encode(ENCODING_VERSION, depositType, repoId, timestamp); - } -}