diff --git a/contracts/avalanche/connectors/swap/events.sol b/contracts/avalanche/connectors/swap/events.sol index 0440abf0..463d3730 100644 --- a/contracts/avalanche/connectors/swap/events.sol +++ b/contracts/avalanche/connectors/swap/events.sol @@ -3,7 +3,7 @@ pragma solidity ^0.7.0; contract Events { event LogSwap( - string _connector, + string _connector, address indexed buyToken, address indexed sellToken, uint256 buyAmt, diff --git a/contracts/mainnet/connectors/swap/events.sol b/contracts/mainnet/connectors/swap/events.sol index 0440abf0..463d3730 100644 --- a/contracts/mainnet/connectors/swap/events.sol +++ b/contracts/mainnet/connectors/swap/events.sol @@ -3,7 +3,7 @@ pragma solidity ^0.7.0; contract Events { event LogSwap( - string _connector, + string _connector, address indexed buyToken, address indexed sellToken, uint256 buyAmt, diff --git a/contracts/mainnet/connectors/swap/helpers.sol b/contracts/mainnet/connectors/swap/helpers.sol index c111767b..f25be85a 100644 --- a/contracts/mainnet/connectors/swap/helpers.sol +++ b/contracts/mainnet/connectors/swap/helpers.sol @@ -45,7 +45,7 @@ contract SwapHelpers is Helper { "callDatas-length-invalid" ); - // require _connectors[i] == "1INCH-A" || "ZEROX-A" || "PARASWAP-A" || similar connectors + // require _connectors[i] == "1INCH-A" || "ZEROX-A" || "PARASWAP-A" || similar connectors for (uint256 i = 0; i < _connectors.length; i++) { bytes4 swapData = bytes4( diff --git a/contracts/polygon/connectors/swap/events.sol b/contracts/polygon/connectors/swap/events.sol index 0440abf0..463d3730 100644 --- a/contracts/polygon/connectors/swap/events.sol +++ b/contracts/polygon/connectors/swap/events.sol @@ -3,7 +3,7 @@ pragma solidity ^0.7.0; contract Events { event LogSwap( - string _connector, + string _connector, address indexed buyToken, address indexed sellToken, uint256 buyAmt, diff --git a/contracts/polygon/connectors/swap/helpers.sol b/contracts/polygon/connectors/swap/helpers.sol index c2b3c67f..40c27b6b 100644 --- a/contracts/polygon/connectors/swap/helpers.sol +++ b/contracts/polygon/connectors/swap/helpers.sol @@ -45,7 +45,7 @@ contract SwapHelpers is Helper { "callDatas-length-invalid" ); - // require _connectors[i] == "1INCH-A" || "ZEROX-A" || "PARASWAP-A" || similar connectors + // require _connectors[i] == "1INCH-A" || "ZEROX-A" || "PARASWAP-A" || similar connectors for (uint256 i = 0; i < _connectors.length; i++) { bytes4 swapData = bytes4(