- Renamed withdrawDynamicAmount() to withdrawInDynamicAmount()

This commit is contained in:
eboado 2021-04-13 13:12:37 +02:00
parent 9d3cfe02dc
commit 57ab78d1cb
3 changed files with 4 additions and 4 deletions

View File

@ -72,7 +72,7 @@ interface IStaticAToken {
* @return amountToBurn: StaticATokens burnt, static balance * @return amountToBurn: StaticATokens burnt, static balance
* @return amountToWithdraw: underlying/aToken send to `recipient`, dynamic balance * @return amountToWithdraw: underlying/aToken send to `recipient`, dynamic balance
**/ **/
function withdrawDynamicAmount( function withdrawInDynamicAmount(
address recipient, address recipient,
uint256 amount, uint256 amount,
bool toUnderlying bool toUnderlying

View File

@ -86,7 +86,7 @@ contract StaticAToken is IStaticAToken, ReentrancyGuard, ERC20 {
} }
/// @inheritdoc IStaticAToken /// @inheritdoc IStaticAToken
function withdrawDynamicAmount( function withdrawInDynamicAmount(
address recipient, address recipient,
uint256 amount, uint256 amount,
bool toUnderlying bool toUnderlying

View File

@ -383,7 +383,7 @@ describe('StaticAToken: aToken wrapper with static balances', () => {
const amountToWithdraw = parseEther('2.0'); const amountToWithdraw = parseEther('2.0');
await waitForTx( await waitForTx(
await staticAWeth.withdrawDynamicAmount( await staticAWeth.withdrawInDynamicAmount(
user1Signer._address, user1Signer._address,
amountToWithdraw, amountToWithdraw,
false, false,
@ -482,7 +482,7 @@ describe('StaticAToken: aToken wrapper with static balances', () => {
const amountToWithdraw = parseEther('2.0'); const amountToWithdraw = parseEther('2.0');
await waitForTx( await waitForTx(
await staticAWeth.withdrawDynamicAmount( await staticAWeth.withdrawInDynamicAmount(
user1Signer._address, user1Signer._address,
amountToWithdraw, amountToWithdraw,
false, false,