mirror of
https://github.com/Instadapp/aave-protocol-v2.git
synced 2024-07-29 21:47:30 +00:00
- Renamed withdrawDynamicAmount() to withdrawInDynamicAmount()
This commit is contained in:
parent
9d3cfe02dc
commit
57ab78d1cb
|
|
@ -72,7 +72,7 @@ interface IStaticAToken {
|
|||
* @return amountToBurn: StaticATokens burnt, static balance
|
||||
* @return amountToWithdraw: underlying/aToken send to `recipient`, dynamic balance
|
||||
**/
|
||||
function withdrawDynamicAmount(
|
||||
function withdrawInDynamicAmount(
|
||||
address recipient,
|
||||
uint256 amount,
|
||||
bool toUnderlying
|
||||
|
|
|
|||
|
|
@ -86,7 +86,7 @@ contract StaticAToken is IStaticAToken, ReentrancyGuard, ERC20 {
|
|||
}
|
||||
|
||||
/// @inheritdoc IStaticAToken
|
||||
function withdrawDynamicAmount(
|
||||
function withdrawInDynamicAmount(
|
||||
address recipient,
|
||||
uint256 amount,
|
||||
bool toUnderlying
|
||||
|
|
|
|||
|
|
@ -383,7 +383,7 @@ describe('StaticAToken: aToken wrapper with static balances', () => {
|
|||
const amountToWithdraw = parseEther('2.0');
|
||||
|
||||
await waitForTx(
|
||||
await staticAWeth.withdrawDynamicAmount(
|
||||
await staticAWeth.withdrawInDynamicAmount(
|
||||
user1Signer._address,
|
||||
amountToWithdraw,
|
||||
false,
|
||||
|
|
@ -482,7 +482,7 @@ describe('StaticAToken: aToken wrapper with static balances', () => {
|
|||
const amountToWithdraw = parseEther('2.0');
|
||||
|
||||
await waitForTx(
|
||||
await staticAWeth.withdrawDynamicAmount(
|
||||
await staticAWeth.withdrawInDynamicAmount(
|
||||
user1Signer._address,
|
||||
amountToWithdraw,
|
||||
false,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user