Merge branch 'master' into feat/18

This commit is contained in:
The3D 2020-10-09 10:21:58 +02:00
commit 83b8c979d0
2 changed files with 6 additions and 13 deletions

View File

@ -142,14 +142,7 @@ contract StableDebtToken is IStableDebtToken, DebtTokenBase {
// transfer event to track balances
emit Transfer(address(0), user, amount);
emit MintDebt(
user,
amount,
previousBalance,
currentBalance,
balanceIncrease,
vars.newStableRate
);
emit Mint(user, amount, previousBalance, currentBalance, balanceIncrease, vars.newStableRate);
}
/**
@ -200,7 +193,7 @@ contract StableDebtToken is IStableDebtToken, DebtTokenBase {
// transfer event to track balances
emit Transfer(user, address(0), amount);
emit BurnDebt(user, amount, previousBalance, currentBalance, balanceIncrease);
emit Burn(user, amount, previousBalance, currentBalance, balanceIncrease);
}
/**

View File

@ -22,8 +22,8 @@ interface IStableDebtToken {
* @param balanceIncrease the debt increase since the last update
* @param newRate the rate of the debt after the minting
**/
event MintDebt(
address user,
event Mint(
address indexed user,
uint256 amount,
uint256 previousBalance,
uint256 currentBalance,
@ -39,8 +39,8 @@ interface IStableDebtToken {
* @param currentBalance the current balance of the user
* @param balanceIncrease the debt increase since the last update
**/
event BurnDebt(
address user,
event Burn(
address indexed user,
uint256 amount,
uint256 previousBalance,
uint256 currentBalance,