concordium-rust-smart-contracts icon indicating copy to clipboard operation
concordium-rust-smart-contracts copied to clipboard

Standardize a way for smart contracts to log memos

Open abizjak opened this issue 2 years ago • 0 comments

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.

abizjak avatar Aug 02 '21 10:08 abizjak