concordium-rust-smart-contracts
concordium-rust-smart-contracts copied to clipboard
Standardize a way for smart contracts to log memos
Task description
Provide a standard template on how a smart contract should immitate a memo feature when doing transfers to accounts.
The transfer message cannot contain any metadata in addition to the amount. But a contract can omit events. The task is to define the format of events that will serve the same purpose as the memo field of a a transfer with metadata.
- [ ] Define the format.
- [ ] Provide a not-entirely-trivial example of a contract in the examples folder.