diff --git a/contracts/mainnet/connectors/b.protocol/makerdao/main.sol b/contracts/mainnet/connectors/b.protocol/makerdao/main.sol index 2f94c1e4..a839fb3a 100644 --- a/contracts/mainnet/connectors/b.protocol/makerdao/main.sol +++ b/contracts/mainnet/connectors/b.protocol/makerdao/main.sol @@ -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 );