mirror of
https://github.com/Instadapp/aave-protocol-v2.git
synced 2024-07-29 21:47:30 +00:00
Merge branch 'master' into feat/18
This commit is contained in:
commit
83b8c979d0
|
@ -142,14 +142,7 @@ contract StableDebtToken is IStableDebtToken, DebtTokenBase {
|
||||||
// transfer event to track balances
|
// transfer event to track balances
|
||||||
emit Transfer(address(0), user, amount);
|
emit Transfer(address(0), user, amount);
|
||||||
|
|
||||||
emit MintDebt(
|
emit Mint(user, amount, previousBalance, currentBalance, balanceIncrease, vars.newStableRate);
|
||||||
user,
|
|
||||||
amount,
|
|
||||||
previousBalance,
|
|
||||||
currentBalance,
|
|
||||||
balanceIncrease,
|
|
||||||
vars.newStableRate
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -200,7 +193,7 @@ contract StableDebtToken is IStableDebtToken, DebtTokenBase {
|
||||||
// transfer event to track balances
|
// transfer event to track balances
|
||||||
emit Transfer(user, address(0), amount);
|
emit Transfer(user, address(0), amount);
|
||||||
|
|
||||||
emit BurnDebt(user, amount, previousBalance, currentBalance, balanceIncrease);
|
emit Burn(user, amount, previousBalance, currentBalance, balanceIncrease);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -22,8 +22,8 @@ interface IStableDebtToken {
|
||||||
* @param balanceIncrease the debt increase since the last update
|
* @param balanceIncrease the debt increase since the last update
|
||||||
* @param newRate the rate of the debt after the minting
|
* @param newRate the rate of the debt after the minting
|
||||||
**/
|
**/
|
||||||
event MintDebt(
|
event Mint(
|
||||||
address user,
|
address indexed user,
|
||||||
uint256 amount,
|
uint256 amount,
|
||||||
uint256 previousBalance,
|
uint256 previousBalance,
|
||||||
uint256 currentBalance,
|
uint256 currentBalance,
|
||||||
|
@ -39,8 +39,8 @@ interface IStableDebtToken {
|
||||||
* @param currentBalance the current balance of the user
|
* @param currentBalance the current balance of the user
|
||||||
* @param balanceIncrease the debt increase since the last update
|
* @param balanceIncrease the debt increase since the last update
|
||||||
**/
|
**/
|
||||||
event BurnDebt(
|
event Burn(
|
||||||
address user,
|
address indexed user,
|
||||||
uint256 amount,
|
uint256 amount,
|
||||||
uint256 previousBalance,
|
uint256 previousBalance,
|
||||||
uint256 currentBalance,
|
uint256 currentBalance,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user