mirror of
https://github.com/Instadapp/dsa-connectors.git
synced 2024-07-29 22:37:00 +00:00
linted code
This commit is contained in:
parent
948bf954ec
commit
9bc29252c3
|
@ -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,
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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(
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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(
|
||||
|
|
Loading…
Reference in New Issue
Block a user