Skip to main content

New answers tagged

1 vote

Can evm make an EOA transaction during another transaction?

A contract cannot access another account's funds. There several possible solutions. One is to use contract as user wallet. The main contract will call the user wallet with the request, the user wallet ...
Ismael's user avatar
  • 30.3k
0 votes

Is arrays a hash tables in Solidity?

No, We cannot say that an array is a hash table. Arrays values are stored in contiguous storage slots while hash tables are not. No, we cannot get collision because the key 0 does not represent the 0 ...
authorizeduser's user avatar
0 votes

Is there any way to change hardhat running environment (hre) provider when running script?

You can use Hardhat Switch Network plugin for this. https://www.npmjs.com/package/hardhat-switch-network
Nesh's user avatar
  • 111
0 votes

Forge Test Contract Transfer EvmError: Revert

I found the solution. I need to prank the interactions. File: ./test/Lock.t.sol // SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.24; import {Test, console} from "forge-std/Test.sol&...
codingwithmanny's user avatar
0 votes

Is this `isContract()` a built in function in solidity?

Thank you everyone who answered my question. I have found the answer which is: isFunction() is just a custom function used by developers to check if an address is a contract address.
JVC's user avatar
  • 5

Top 50 recent answers are included