From 8c668e6e2be93ef418eae3104cb4ee4c39f762b6 Mon Sep 17 00:00:00 2001 From: bhavik-m Date: Sat, 2 Apr 2022 23:38:26 +0530 Subject: [PATCH] added instalite contract address on instalite --- .../mainnet/connectors/instaLite/vault1/main.sol | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/contracts/mainnet/connectors/instaLite/vault1/main.sol b/contracts/mainnet/connectors/instaLite/vault1/main.sol index 27d16958..5bce5327 100644 --- a/contracts/mainnet/connectors/instaLite/vault1/main.sol +++ b/contracts/mainnet/connectors/instaLite/vault1/main.sol @@ -58,8 +58,16 @@ abstract contract InstaLiteConnector is Events, Basic { setUint(setId[0], _amt); setUint(setId[1], vTokenAmt); - _eventName = "LogSupply(address,uint256,uint256,address,uint256,uint256)"; - _eventParam = abi.encode(token, vTokenAmt, _amt, to, getId, setId); + _eventName = "LogSupply(address,uint256,uint256,address,address,uint256,uint256[])"; + _eventParam = abi.encode( + token, + vTokenAmt, + _amt, + to, + instaLite, + getId, + setId + ); } /** @@ -91,8 +99,8 @@ abstract contract InstaLiteConnector is Events, Basic { setUint(setId[0], _amt); setUint(setId[1], vTokenAmt); - _eventName = "LogWithdraw(uint256,uint256,address,uint256,uint256)"; - _eventParam = abi.encode(_amt, vTokenAmt, to, getId, setId); + _eventName = "LogWithdraw(uint256,uint256,address,address,uint256,uint256[])"; + _eventParam = abi.encode(_amt, vTokenAmt, to, instaLite, getId, setId); } }