mirror of
https://github.com/Instadapp/dsa-connectors.git
synced 2024-07-29 22:37:00 +00:00
b.protocol: deposit to cdp manager and not to vat directly
This commit is contained in:
parent
8a70ccddff
commit
6f356a3a46
|
@ -97,13 +97,10 @@ abstract contract BMakerResolver is Helpers, Events {
|
|||
}
|
||||
|
||||
approve(tokenContract, address(colAddr), _amt);
|
||||
tokenJoinContract.join(address(this), _amt);
|
||||
tokenJoinContract.join(urn, _amt);
|
||||
|
||||
VatLike(managerContract.vat()).frob( // TODO zelda - make manager.frob
|
||||
ilk,
|
||||
urn,
|
||||
address(this),
|
||||
address(this),
|
||||
managerContract.frob(
|
||||
_vault,
|
||||
toInt(convertTo18(tokenJoinContract.dec(), _amt)),
|
||||
0
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue
Block a user