Skip to content

Commit

Permalink
Removing unsued variables
Browse files Browse the repository at this point in the history
  • Loading branch information
chompomonim committed May 16, 2022
1 parent 1c50865 commit 2a3bcc3
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions contracts/ChannelImplementation.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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);

/*
Expand Down

0 comments on commit 2a3bcc3

Please sign in to comment.