mirror of
https://github.com/Instadapp/smart-contract.git
synced 2024-07-29 22:08:07 +00:00
added event log leverage compound
This commit is contained in:
parent
c848f16e71
commit
75e0788741
|
@ -370,12 +370,13 @@ contract CompoundSave is CompoundResolver {
|
||||||
setApproval(getAddressDAI(), daiToSwap, getAddressSplitSwap());
|
setApproval(getAddressDAI(), daiToSwap, getAddressSplitSwap());
|
||||||
uint destAmt = SplitSwapInterface(getAddressSplitSwap()).daiToEthSwap(daiToSwap, splitAmt, slippageAmt);
|
uint destAmt = SplitSwapInterface(getAddressSplitSwap()).daiToEthSwap(daiToSwap, splitAmt, slippageAmt);
|
||||||
mintCEth(destAmt);
|
mintCEth(destAmt);
|
||||||
|
emit LogLeverageCompound(daiToSwap, destAmt);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
contract InstaCompSave is CompoundResolver {
|
contract InstaCompSave is CompoundSave {
|
||||||
|
|
||||||
uint public version;
|
uint public version;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user