Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 139939

JavaScript is a dynamic, weakly-typed language used for client-side as well as server-side scripting.

0 votes
1 answer
34 views

Calling `getLendingPool` in a function call `getLendingPool`

The ILendingPoolAddressProvider does not contain the getLendingPool function. async function getLendingPool(account) { const lendingPoolAddressProvider = await ethers.getContractAt( "ILendingPoo …
EddiePumpin's user avatar
0 votes
1 answer
27 views

`package.json` and node_modules not found

I can't find package.json and node modules folder after running yarn add --dev hardhat
EddiePumpin's user avatar
0 votes
0 answers
12 views

My contract in not deploying

Here is the link to the repo: https://github.com/EddiePumpin/My-Hotel $ yarn hardhat deploy yarn run v1.22.22 $ "C:\Users\HP FOLIO\.vscode\My-Hotel\node_modules\.bin\hardhat" deploy Nothing to compile …
EddiePumpin's user avatar
0 votes
1 answer
59 views

My deploy script won't run. Any `console.log` after `module.exports` won't work

Here’s my deploy script: const { network } = require("hardhat") const { developmentChains, networkConfig, INITIAL_SUPPLY, } = require("../helper-hardhat-config") module.exports = async function …
EddiePumpin's user avatar
1 vote
2 answers
17 views

Unit tests are not passing because of ERC20InsufficientAllowance error

Here is a code describe("allowances", () => { const amount = (20 * multiplier).toString() beforeEach(async () => { playerToken = await ethers.getContractAt("MegaERC20", deplo …
EddiePumpin's user avatar
0 votes
1 answer
17 views

My hardhat smart contract code is not compiling

On compiling, I’m getting this: $ yarn hardhat compile yarn run v1.22.22 $ "C:\Users\HP FOLIO\.vscode\MyHotel\node_modules\.bin\hardhat" compile Nothing to compile Done in 3.66s. Here is the GitHu …
EddiePumpin's user avatar