DeveloperBreeze

Smart Contracts Programming Tutorials, Guides & Best Practices

Explore 7+ expertly crafted smart contracts tutorials, components, and code examples. Stay productive and build faster with proven implementation strategies and design patterns from DeveloperBreeze.

Solidity Cheatsheet

Cheatsheet August 22, 2024
solidity

Events allow logging of data on the blockchain, which can be listened to by external applications.

event MyEvent(address indexed from, uint value);

function triggerEvent(uint _value) public {
    emit MyEvent(msg.sender, _value);
}