mirror of
https://github.com/Instadapp/dsa-connectors.git
synced 2024-07-29 22:37:00 +00:00
Updated event
This commit is contained in:
parent
3b01a50fd3
commit
7340803cbd
|
@ -21,8 +21,8 @@ abstract contract Helpers {
|
||||||
address token;
|
address token;
|
||||||
}
|
}
|
||||||
|
|
||||||
event LogCTokensAdded(string[] names, address[] tokens, address[] ctokens);
|
event LogCTokenAdded(string indexed name, address indexed token, address indexed ctoken);
|
||||||
event LogCTokensUpdated(string[] names, address[] tokens, address[] ctokens);
|
event LogCTokenUpdated(string indexed name, address indexed token, address indexed ctoken);
|
||||||
|
|
||||||
ConnectorsInterface public immutable connectors;
|
ConnectorsInterface public immutable connectors;
|
||||||
|
|
||||||
|
@ -70,8 +70,8 @@ abstract contract Helpers {
|
||||||
_ctokens[i],
|
_ctokens[i],
|
||||||
_tokens[i]
|
_tokens[i]
|
||||||
);
|
);
|
||||||
|
emit LogCTokenAdded(_names[i], _tokens[i], _ctokens[i]);
|
||||||
}
|
}
|
||||||
emit LogCTokensAdded(_names, _tokens, _ctokens);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function updateCtokenMapping(
|
function updateCtokenMapping(
|
||||||
|
@ -104,8 +104,8 @@ abstract contract Helpers {
|
||||||
_ctokens[i],
|
_ctokens[i],
|
||||||
_tokens[i]
|
_tokens[i]
|
||||||
);
|
);
|
||||||
|
emit LogCTokensUpdated(_names[i], _tokens[i], _ctokens[i]);
|
||||||
}
|
}
|
||||||
emit LogCTokensUpdated(_names, _tokens, _ctokens);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function addCtokenMapping(
|
function addCtokenMapping(
|
||||||
|
@ -124,7 +124,7 @@ abstract contract Helpers {
|
||||||
}
|
}
|
||||||
|
|
||||||
contract InstaCompoundMapping is Helpers {
|
contract InstaCompoundMapping is Helpers {
|
||||||
string constant public name = "Compound-Mapping-v1";
|
string constant public name = "Compound-Mapping-v1.1";
|
||||||
|
|
||||||
constructor(
|
constructor(
|
||||||
address _connectors,
|
address _connectors,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user