NoPFP Blog
Home
About
🌐
English 繁體中文
NoPFP Blog
  • Selfdestruct: force another contract to receive your ethers.

    Apr 1, 2022 · 1 min read · receive fallback selfdestruct  ·
    Share on:

    Insert Lead paragraph here. "Smart Contract receive ethers ONLY when contract provide fallback() or receive() function. " Is this statement true or not? [ ] true [ ] false 1pragma solidity ^0.8.0; 23// SPDX-License-Identifier: MIT 4contract MyContract { 5receive() external payable {} 6fallback() external …


    Read More

NoPFP Lab

NoPFP Lab: Not Only Profile Picture Lab
Read More

Featured Posts

  • Selfdestruct: force another contract to receive your ethers.
  • Beware of using tx.origin to verify user
  • Don't use Blockhash as a source of randomness
  • Token URI of ERC1155
  • How to add Fantom Testnet

Recent Posts

  • Selfdestruct: force another contract to receive your ethers.
  • Beware of using tx.origin to verify user
  • Don't use Blockhash as a source of randomness
  • Token URI of ERC1155
  • How to add Fantom Testnet

Categories

SECURITY 3 FANTOM 2

Tags

SOLIDITY 2 FALLBACK 1 INDEX 1 PHISHING 1 RANDOMNESS 1 RECEIVE 1 SELFDESTRUCT 1
NoPFP Blog

Copyright  NOPFP BLOG. All Rights Reserved