Git Product home page Git Product logo

learnsolidity's People

Contributors

0xdwong avatar anglee0323 avatar jacky-zxj avatar junkaione avatar oaciqihz avatar pebblerwon avatar xilibi2003 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

learnsolidity's Issues

文档表述错误

位置
docs/solidity-basic/12_receive.md

原文表述:而当我们要向合约里转入ETH时,情况比我们想象的复杂一些,被转入的合约需要明确表达其可以接收 ETH,以反正因合约没有处理的ETH的,导致ETH永远锁死在合约中。
”以防因合约没有处理的ETH的函数逻辑,导致ETH永远锁死在合约中“

原文表述:提示: ERC20 代币向合约转账时,并没有对合约经常类似的检查,因此也时不时会发生 ERC20 因误转入合约而锁死。
”并没有对合约经常类似的检查“这句话中的“经常”

原文表述:可以在合约中明确声明两个函数来表示合约时可以接收 ETH, 他们是 receive 函数和 fallback函数。
删去“时'

原文表述:当对合约进行转账时(不是使用MetaMask钱包转账,还是合约中使用addr.send()或者addr.transfer()对合约转账),合约在收到ETH时会执行receive函数。
”不论是使用MetaMask钱包转账“

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.