Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ async function fetchContractData() {
lendingPoolAddressProvider: markets.AaveV3Ethereum.POOL_ADDRESSES_PROVIDER,
});

// Object containing array or users aave positions and active eMode category
// Object containing array of users aave positions and active eMode category
// { userReserves, userEmodeCategoryId }
const userReserves = await poolDataProviderContract.getUserReservesHumanized({
lendingPoolAddressProvider: markets.AaveV3Ethereum.POOL_ADDRESSES_PROVIDER,
Expand Down Expand Up @@ -827,7 +827,7 @@ const txs: EthereumTransactionTypeExtended[] = await pool.repayWithATokens({
user,
amount,
reserve,
reateMode,
rateMode,
});
```

Expand Down Expand Up @@ -1900,7 +1900,7 @@ const markets = require("@bgd-labs/aave-address-book");
const { PoolBundle, LendingPoolBundle } = require("@aave/contract-helpers");

// Create provider
// Can use custom RPC orR a local fork network from tenderly, ganache, foundry, hardhat, etc. for testing
// Can use custom RPC or a local fork network from tenderly, ganache, foundry, hardhat, etc. for testing
const provider = ethers.getDefaultProvider("homestead");

function getPoolBundle(v2, marketKey) {
Expand Down Expand Up @@ -1998,7 +1998,7 @@ function generateSupplyTx(v2, user, token, amount, marketKey) {
});
return txData;
} catch (error) {
console.error("Errorgenerating deposit tx data", error);
console.error("Error generating deposit tx data", error);
}
}
}
Expand Down Expand Up @@ -2208,7 +2208,7 @@ function generateSupplyTx(v2, user, token, amount, marketKey) {
});
return txData;
} catch (error) {
console.error("Errorgenerating deposit tx data", error);
console.error("Error generating deposit tx data", error);
}
}
}
Expand Down Expand Up @@ -2388,7 +2388,7 @@ async function marketOptions(marketName) {
console.log("Not a valid ethereum address");
marketContinue(marketName);
} else {
console.log("Input address of underyling token to suply");
console.log("Input address of underlying token to supply");
rl.question("Input: ", async (token) => {
if (!ethers.utils.isAddress(token)) {
console.log("Not a valid ethereum address");
Expand Down Expand Up @@ -2419,7 +2419,7 @@ async function marketOptions(marketName) {
console.log("Not a valid ethereum address");
marketContinue(marketName);
} else {
console.log("Input address of underyling token to suply");
console.log("Input address of underlying token to supply");
rl.question("Input: ", async (token) => {
if (!ethers.utils.isAddress(token)) {
console.log("Not a valid ethereum address");
Expand Down Expand Up @@ -2455,7 +2455,7 @@ async function marketOptions(marketName) {
console.log("Not a valid ethereum address");
marketContinue(marketName);
} else {
console.log("Input address of underyling token to suply");
console.log("Input address of underlying token to supply");
rl.question("Input: ", async (token) => {
if (!ethers.utils.isAddress(token)) {
console.log("Not a valid ethereum address");
Expand Down Expand Up @@ -2497,7 +2497,7 @@ async function marketOptions(marketName) {
console.log("Not a valid ethereum address");
marketContinue(marketName);
} else {
console.log("Input address of underyling token to suply");
console.log("Input address of underlying token to supply");
rl.question("Input: ", async (token) => {
if (!ethers.utils.isAddress(token)) {
console.log("Not a valid ethereum address");
Expand Down Expand Up @@ -2538,7 +2538,7 @@ async function marketOptions(marketName) {
console.log("Not a valid ethereum address");
marketContinue(marketName);
} else {
console.log("Input address of underyling token to suply");
console.log("Input address of underlying token to supply");
rl.question("Input: ", async (token) => {
if (!ethers.utils.isAddress(token)) {
console.log("Not a valid ethereum address");
Expand Down
Loading