Whisk ChangesWith the release of Whisk, Protocol 23, the syntax for publishing smart contract events has changed. In order to provide the most up-to-date information, this guide has been updated to include the new patterns. Find more detailed information in the Rust SDK documentation.
structs that will define how our events are shaped. Then, within the contract’s function, we can create and publish those structs.
transfer function is invoked, with the following information: