linted code

This commit is contained in:
Richa-iitr 2022-06-05 09:57:17 +05:30
parent 948bf954ec
commit 9bc29252c3
5 changed files with 5 additions and 5 deletions

View File

@ -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,

View File

@ -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,

View File

@ -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(

View File

@ -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,

View File

@ -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(