Hot answers tagged

1 vote

how to Reset all True Values to False in one Function

To recap, adding the struct struct TokenTracker{ bool tokenIsEntered; uint256[] tokensEntered; } allowed this line of code to reset the bool that was set to true for (uint256 i = 0; i < ...
user avatar
1 vote

Escrow.sol: The called function should be payable if you send value and the value you send should be less than your current balance

Your MyEscrow smart contract have any issues, let me explain them: When you declare this statement MyToken token; like storage variable, you must instantiate it with the erc20's smart contact address ...
user avatar
  • 1,443
1 vote

after deploying a smart contract from remix, i see 0 funds on etherscan but i can see it on Internal txns

Beware IPFS, it's peer to peer file hosting for good and bad. The url..... import "ipfs://QmV2HNmEKawrBMdgB7FHSVTENDXuYBnk42p8JjXKzFgkQX"; Has this content containing the scammers wallet. (...
user avatar

Only top scored, non community-wiki answers of a minimum length are eligible