From 2a3bcc35ad9c28846992273239f9b4421d5c0c93 Mon Sep 17 00:00:00 2001 From: Jaro Date: Tue, 17 May 2022 01:17:04 +0300 Subject: [PATCH] Removing unsued variables --- contracts/ChannelImplementation.sol | 7 ------- 1 file changed, 7 deletions(-) diff --git a/contracts/ChannelImplementation.sol b/contracts/ChannelImplementation.sol index 7942a6f..19d4e7a 100644 --- a/contracts/ChannelImplementation.sol +++ b/contracts/ChannelImplementation.sol @@ -16,24 +16,17 @@ contract ChannelImplementation is FundsRecovery, Utils { uint256 internal lastNonce; - struct ExitRequest { - uint256 timelock; // block number after which exit can be finalized - address beneficiary; // address where funds will be send after finalizing exit request - } - struct Hermes { address operator; // signing address address contractAddress; // hermes smart contract address, funds will be send there uint256 settled; // total amount already settled by hermes } - ExitRequest public exitRequest; Hermes public hermes; address public operator; // channel operator = sha3(IdentityPublicKey)[:20] IUniswapV2Router internal dex; // any uniswap v2 compatible dex router address event PromiseSettled(address beneficiary, uint256 amount, uint256 totalSettled, bytes32 lock); - event ExitRequested(uint256 timelock); event Withdraw(address beneficiary, uint256 amount); /*