Crate fabric_contract_macros

Source
Expand description

Definitions of the macros used for the Contracts.

There are macros for use with the Contract Structs, and the Transaction Functions

Attribute Macros§

  • Use this macro to mark the implementation of the your contract structure
  • Define the properties of the datatype
  • Use this to mark the functions that are considered to be transaction functions

Derive Macros§

  • Use this to mark the structs that serve as complex data types Need to provide example