@@ -188,7 +188,7 @@ async function fetchContractData() {
188188 lendingPoolAddressProvider: markets .AaveV3Ethereum .POOL_ADDRESSES_PROVIDER ,
189189 });
190190
191- // Object containing array or users aave positions and active eMode category
191+ // Object containing array of users aave positions and active eMode category
192192 // { userReserves, userEmodeCategoryId }
193193 const userReserves = await poolDataProviderContract .getUserReservesHumanized ({
194194 lendingPoolAddressProvider: markets .AaveV3Ethereum .POOL_ADDRESSES_PROVIDER ,
@@ -827,7 +827,7 @@ const txs: EthereumTransactionTypeExtended[] = await pool.repayWithATokens({
827827 user,
828828 amount,
829829 reserve,
830- reateMode ,
830+ rateMode ,
831831});
832832` ` `
833833
@@ -1900,7 +1900,7 @@ const markets = require("@bgd-labs/aave-address-book");
19001900const { PoolBundle, LendingPoolBundle } = require (" @aave/contract-helpers" );
19011901
19021902// Create provider
1903- // Can use custom RPC orR a local fork network from tenderly, ganache, foundry, hardhat, etc. for testing
1903+ // Can use custom RPC or a local fork network from tenderly, ganache, foundry, hardhat, etc. for testing
19041904const provider = ethers .getDefaultProvider (" homestead" );
19051905
19061906function getPoolBundle(v2 , marketKey ) {
@@ -1998,7 +1998,7 @@ function generateSupplyTx(v2, user, token, amount, marketKey) {
19981998 });
19991999 return txData ;
20002000 } catch (error ) {
2001- console .error (" Errorgenerating deposit tx data" , error );
2001+ console .error (" Error generating deposit tx data" , error );
20022002 }
20032003 }
20042004}
@@ -2208,7 +2208,7 @@ function generateSupplyTx(v2, user, token, amount, marketKey) {
22082208 });
22092209 return txData ;
22102210 } catch (error ) {
2211- console .error (" Errorgenerating deposit tx data" , error );
2211+ console .error (" Error generating deposit tx data" , error );
22122212 }
22132213 }
22142214}
@@ -2388,7 +2388,7 @@ async function marketOptions(marketName) {
23882388 console .log (" Not a valid ethereum address" );
23892389 marketContinue (marketName );
23902390 } else {
2391- console .log (" Input address of underyling token to suply " );
2391+ console .log (" Input address of underlying token to supply " );
23922392 rl .question (" Input: " , async (token ) => {
23932393 if (! ethers .utils .isAddress (token )) {
23942394 console .log (" Not a valid ethereum address" );
@@ -2419,7 +2419,7 @@ async function marketOptions(marketName) {
24192419 console .log (" Not a valid ethereum address" );
24202420 marketContinue (marketName );
24212421 } else {
2422- console .log (" Input address of underyling token to suply " );
2422+ console .log (" Input address of underlying token to supply " );
24232423 rl .question (" Input: " , async (token ) => {
24242424 if (! ethers .utils .isAddress (token )) {
24252425 console .log (" Not a valid ethereum address" );
@@ -2455,7 +2455,7 @@ async function marketOptions(marketName) {
24552455 console .log (" Not a valid ethereum address" );
24562456 marketContinue (marketName );
24572457 } else {
2458- console .log (" Input address of underyling token to suply " );
2458+ console .log (" Input address of underlying token to supply " );
24592459 rl .question (" Input: " , async (token ) => {
24602460 if (! ethers .utils .isAddress (token )) {
24612461 console .log (" Not a valid ethereum address" );
@@ -2497,7 +2497,7 @@ async function marketOptions(marketName) {
24972497 console .log (" Not a valid ethereum address" );
24982498 marketContinue (marketName );
24992499 } else {
2500- console .log (" Input address of underyling token to suply " );
2500+ console .log (" Input address of underlying token to supply " );
25012501 rl .question (" Input: " , async (token ) => {
25022502 if (! ethers .utils .isAddress (token )) {
25032503 console .log (" Not a valid ethereum address" );
@@ -2538,7 +2538,7 @@ async function marketOptions(marketName) {
25382538 console .log (" Not a valid ethereum address" );
25392539 marketContinue (marketName );
25402540 } else {
2541- console .log (" Input address of underyling token to suply " );
2541+ console .log (" Input address of underlying token to supply " );
25422542 rl .question (" Input: " , async (token ) => {
25432543 if (! ethers .utils .isAddress (token )) {
25442544 console .log (" Not a valid ethereum address" );
0 commit comments