From 9ec3f8d2c55f5514041c5d13c47ae1abad5c179b Mon Sep 17 00:00:00 2001 From: Shriya Tyagi Date: Fri, 29 Apr 2022 02:35:53 +0400 Subject: [PATCH] minor updates --- contracts/arbitrum/connectors/aave/v3/main.sol | 2 +- contracts/avalanche/connectors/aave/v3/main.sol | 8 ++++---- contracts/fantom/connectors/aave/v3/main.sol | 8 ++++---- contracts/mainnet/connectors/aave/v3/main.sol | 8 ++++---- contracts/optimism/connectors/aave/v3/main.sol | 8 ++++---- hardhat.config.ts | 2 +- 6 files changed, 18 insertions(+), 18 deletions(-) diff --git a/contracts/arbitrum/connectors/aave/v3/main.sol b/contracts/arbitrum/connectors/aave/v3/main.sol index 61608290..e7365567 100644 --- a/contracts/arbitrum/connectors/aave/v3/main.sol +++ b/contracts/arbitrum/connectors/aave/v3/main.sol @@ -158,7 +158,7 @@ abstract contract AaveResolver is Events, Helpers { * @notice Borrow a token using Aave v2 * @param token The address of the token to borrow.(For ETH: 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE) * @param amt The amount of the token to borrow. - * @param rateMode The type of borrow debt. (For Stable: 1, Variable: 2) + * @param rateMode The type of debt. (For Stable: 1, Variable: 2) * @param getId ID to retrieve amt. * @param setId ID stores the amount of tokens borrowed. */ diff --git a/contracts/avalanche/connectors/aave/v3/main.sol b/contracts/avalanche/connectors/aave/v3/main.sol index 842195b3..beec94a7 100644 --- a/contracts/avalanche/connectors/aave/v3/main.sol +++ b/contracts/avalanche/connectors/aave/v3/main.sol @@ -158,7 +158,7 @@ abstract contract AaveResolver is Events, Helpers { * @notice Borrow a token using Aave v3 * @param token The address of the token to borrow.(For avax: 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE) * @param amt The amount of the token to borrow. - * @param rateMode The type of borrow debt. (For Stable: 1, Variable: 2) + * @param rateMode The type of debt. (For Stable: 1, Variable: 2) * @param getId ID to retrieve amt. * @param setId ID stores the amount of tokens borrowed. */ @@ -194,7 +194,7 @@ abstract contract AaveResolver is Events, Helpers { * @notice Borrow a token using Aave v3 on behalf of a user * @param token The address of the token to borrow.(For avax: 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE) * @param amt The amount of the token to borrow. - * @param rateMode The type of borrow debt. (For Stable: 1, Variable: 2) + * @param rateMode The type of debt. (For Stable: 1, Variable: 2) * @param onBehalfOf The user who will incur the debt * @param getId ID to retrieve amt. * @param setId ID stores the amount of tokens borrowed. @@ -454,10 +454,10 @@ abstract contract AaveResolver is Events, Helpers { * @notice Gives approval to delegate debt tokens * @param token The address of token * @param amount The amount - * @param rateMode The type of borrow debt + * @param rateMode The type of debt * @param delegateTo The address to whom the user is delegating * @param getId ID to retrieve amt. - * @param setId ID stores the amount of tokens deposited. + * @param setId ID stores the amount of tokens delegated. */ function approveDelegation( address token, diff --git a/contracts/fantom/connectors/aave/v3/main.sol b/contracts/fantom/connectors/aave/v3/main.sol index eb767a46..2a35f3dd 100644 --- a/contracts/fantom/connectors/aave/v3/main.sol +++ b/contracts/fantom/connectors/aave/v3/main.sol @@ -158,7 +158,7 @@ abstract contract AaveResolver is Events, Helpers { * @notice Borrow a token using Aave v3 * @param token The address of the token to borrow.(For ftm: 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE) * @param amt The amount of the token to borrow. - * @param rateMode The type of borrow debt. (For Stable: 1, Variable: 2) + * @param rateMode The type of debt. (For Stable: 1, Variable: 2) * @param getId ID to retrieve amt. * @param setId ID stores the amount of tokens borrowed. */ @@ -194,7 +194,7 @@ abstract contract AaveResolver is Events, Helpers { * @notice Borrow a token using Aave v3 on behalf of a user * @param token The address of the token to borrow.(For FTM: 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE) * @param amt The amount of the token to borrow. - * @param rateMode The type of borrow debt. (For Stable: 1, Variable: 2) + * @param rateMode The type of debt. (For Stable: 1, Variable: 2) * @param onBehalfOf The user who will incur the debt * @param getId ID to retrieve amt. * @param setId ID stores the amount of tokens borrowed. @@ -455,10 +455,10 @@ abstract contract AaveResolver is Events, Helpers { * @notice Gives approval to delegate debt tokens * @param token The address of token * @param amount The amount - * @param rateMode The type of borrow debt + * @param rateMode The type of debt * @param delegateTo The address to whom the user is delegating * @param getId ID to retrieve amt. - * @param setId ID stores the amount of tokens deposited. + * @param setId ID stores the amount of tokens delegated. */ function delegateBorrow( address token, diff --git a/contracts/mainnet/connectors/aave/v3/main.sol b/contracts/mainnet/connectors/aave/v3/main.sol index 09c5493b..dd78cd6e 100644 --- a/contracts/mainnet/connectors/aave/v3/main.sol +++ b/contracts/mainnet/connectors/aave/v3/main.sol @@ -158,7 +158,7 @@ abstract contract AaveResolver is Events, Helpers { * @notice Borrow a token using Aave v3 * @param token The address of the token to borrow.(For ETH: 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE) * @param amt The amount of the token to borrow. - * @param rateMode The type of borrow debt. (For Stable: 1, Variable: 2) + * @param rateMode The type of debt. (For Stable: 1, Variable: 2) * @param getId ID to retrieve amt. * @param setId ID stores the amount of tokens borrowed. */ @@ -194,7 +194,7 @@ abstract contract AaveResolver is Events, Helpers { * @notice Borrow a token using Aave v3 on behalf of a user * @param token The address of the token to borrow.(For ETH: 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE) * @param amt The amount of the token to borrow. - * @param rateMode The type of borrow debt. (For Stable: 1, Variable: 2) + * @param rateMode The type of debt. (For Stable: 1, Variable: 2) * @param onBehalfOf The user who will incur the debt * @param getId ID to retrieve amt. * @param setId ID stores the amount of tokens borrowed. @@ -431,10 +431,10 @@ abstract contract AaveResolver is Events, Helpers { * @notice Gives approval to delegate debt tokens * @param token The address of token * @param amount The amount - * @param rateMode The type of borrow debt + * @param rateMode The type of debt * @param delegateTo The address to whom the user is delegating * @param getId ID to retrieve amt. - * @param setId ID stores the amount of tokens deposited. + * @param setId ID stores the amount of tokens delegated. */ function delegateBorrow( address token, diff --git a/contracts/optimism/connectors/aave/v3/main.sol b/contracts/optimism/connectors/aave/v3/main.sol index 8d7e1f59..04992f43 100644 --- a/contracts/optimism/connectors/aave/v3/main.sol +++ b/contracts/optimism/connectors/aave/v3/main.sol @@ -158,7 +158,7 @@ abstract contract AaveResolver is Events, Helpers { * @notice Borrow a token using Aave v3 * @param token The address of the token to borrow.(For ETH: 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE) * @param amt The amount of the token to borrow. - * @param rateMode The type of borrow debt. (For Stable: 1, Variable: 2) + * @param rateMode The type of debt. (For Stable: 1, Variable: 2) * @param getId ID to retrieve amt. * @param setId ID stores the amount of tokens borrowed. */ @@ -194,7 +194,7 @@ abstract contract AaveResolver is Events, Helpers { * @notice Borrow a token using Aave v3 on behalf of a user * @param token The address of the token to borrow.(For ETH: 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE) * @param amt The amount of the token to borrow. - * @param rateMode The type of borrow debt. (For Stable: 1, Variable: 2) + * @param rateMode The type of debt. (For Stable: 1, Variable: 2) * @param onBehalfOf The user who will incur the debt * @param getId ID to retrieve amt. * @param setId ID stores the amount of tokens borrowed. @@ -455,10 +455,10 @@ abstract contract AaveResolver is Events, Helpers { * @notice Gives approval to delegate debt tokens * @param token The address of token * @param amount The amount - * @param rateMode The type of borrow debt + * @param rateMode The type of debt * @param delegateTo The address to whom the user is delegating * @param getId ID to retrieve amt. - * @param setId ID stores the amount of tokens deposited. + * @param setId ID stores the amount of tokens delegated. */ function delegateBorrow( address token, diff --git a/hardhat.config.ts b/hardhat.config.ts index 4a4e7a21..12280e70 100644 --- a/hardhat.config.ts +++ b/hardhat.config.ts @@ -40,7 +40,7 @@ const mnemonic = process.env.MNEMONIC ?? "test test test test test test test tes const networkGasPriceConfig: Record = { mainnet: 100, polygon: 50, - avalanche: 30, + avalanche: 40, arbitrum: 1, optimism: 0.001, fantom: 300