привет! Может кто сталкивался с такой проблемой? Если начинаю писать файл с расширением ts - то нету подсказок. npm i @types/node - установлен, если делаю то же самое в .js ...
One more question) Ok, I send some tokens from an address to my contract. Now when I look at token balance of my contract I see it. (token.balanceOf(address(this))) But can co...
Guys, can you tell me, how to multiply in solidity like that: 10000000000000*1.03+4000000000000 I know that solidity doesn't have any . numbers. so I've tried to replace 1.03 ...
Hi! I have a contract which receives wei, I wanna send there some tokens to keep by the contract. how to manage receiving token in contract? for currency there is receive() ...
Guys, I connect my metamask to local hardhat network and try to send some eth from hardhat console to metamask address, but don't get any.. in console firstly I get a signer:...
Hi! Why this func has faild in remix with error "Gas estimation false" instead fail with ""Balance is lower than withdrawal amount"" function withdrawTokens(address _to...
Hi! I have a question. When I'm forking from rinkeby in my hardhat, contracts have their owners from rinkeby, so in test I have to provide private key and create Signer becaus...
Guys, how to test this specific require statement??? A have test which cover reverted message (can't approve token), also have test to check allowance mapping, but coverage sa...
Guys how to verify TRON smart contract? I try to use tronide but it always says verification failed. Please confirm the correct parameters and try again I've try to change par...
hi devs! How to keep track of used signature for stop multiple usage? Firstly I wanna do smth like this address => signature, but It can hold only last signature. So there is ...
Guys hi! I have 2 contracts and wanna read getter one on them. for example: uint public balance; So there is couple options: 1. make a contract.call 2. add to interface descr...
Hello! Please clarify one thing for me about URI. As I understand for ERC1155 we set common URI with {id} and then on a client side (frontend for example) we change {id} to ...
Hi! How I can get bytes4 on hardhat test? I do this for get keccak256, now I can't understande how to get bytes4 from it. ethers.utils.keccak256( ethers.utils.to...
Hello! Please clarify one thing for me. As I understand for ERC1155 we set common URI with {id} and then on a client side (frontend for example) we change {id} to proper item ...
Hello guys! Does somebody has an example of hardhat tasks with type-chain? Can't understand, how to use Contract__factory there. Who has to be signer when task is called?
Hi everyone! Does somebody have a good examples of hardhat test (mocha + waffle) with type script support?