From 3e8147a26d07ce6bbd193a2068a6b8ede9e24394 Mon Sep 17 00:00:00 2001 From: Sowmayjain Date: Tue, 12 Mar 2019 03:58:00 +0530 Subject: [PATCH] Minor error fixing. --- contracts/ProxyLogics/default.sol | 6 +----- contracts/UserProxy.sol | 14 ++++++++------ 2 files changed, 9 insertions(+), 11 deletions(-) diff --git a/contracts/ProxyLogics/default.sol b/contracts/ProxyLogics/default.sol index 9a5df53..a6b8953 100644 --- a/contracts/ProxyLogics/default.sol +++ b/contracts/ProxyLogics/default.sol @@ -16,11 +16,7 @@ contract ProxyTest { function transferETH(address dest, uint amount) public payable { dest.transfer(amount); - - emit LogTransferETH( - dest, - amount - ); + emit LogTransferETH(dest, amount); } function transferERC20(address tokenAddr, address dest, address amount) public { diff --git a/contracts/UserProxy.sol b/contracts/UserProxy.sol index 1244ace..bad7f2e 100644 --- a/contracts/UserProxy.sol +++ b/contracts/UserProxy.sol @@ -64,7 +64,14 @@ contract UserAuth { contract UserNote { - event LogNote(bytes4 indexed sig, address indexed guy, bytes32 indexed foo, bytes32 indexed bar, uint wad, bytes fax); + event LogNote( + bytes4 indexed sig, + address indexed guy, + bytes32 indexed foo, + bytes32 bar, + uint wad, + bytes fax + ); modifier note { bytes32 foo; @@ -102,11 +109,6 @@ contract UserLogic { -// UserProxy -// Allows code execution using a persistant identity This can be very -// useful to execute a sequence of atomic actions. Since the owner of -// the proxy can be changed, this allows for dynamic ownership models -// i.e. a multisig contract UserProxy is UserAuth, UserNote, UserLogic { constructor(address logicProxyAddr_, uint activePeriod_) public { logicProxyAddr = logicProxyAddr_;