
event调用过程:首先需要在合约中定义event,并在某个函数中去触发它。当我们调用该函数的时候就会触发event,然后,可以通过在该次调用智能合约产生的block上建立filter来捕获event。
环境:
墨客区块链版本:nuwa1.0.5.win.zip;
操作系统:64位Windows 10家庭版。



官网:www.moacfoundation.org
Twitter:https://twitter.com/moac_io
FB: https://www.facebook.com/moacchain/
Medium: https://medium.com/moac
Telegram: https://t.me/moacblockchain
Telegram: https://t.me/MOACDevelopers
Reddit: https://www.reddit.com/r/MOAC/
Github: https://github.com/MOACChain
想加入MOAC墨客自治社区
长按二维码添加MOAC墨客小酷
自治社区等待你
转载自墨客生态