Attaching memos to emitting transactions. Tested with payments and checks and it works.
Note
Introduced macros with GUARDM since multiple guarded macros are used within single transaction, Using STI_VL multiple times withing single macro gave a guard violation so used _07_XX_ENCODE_STI_VL_COMMON with GUARDM inside it so memo type, data, format fields are guarded seperatly within _0F_09_ENCODE_MEMOS_SINGLE macro.
But had to change those numbers in GUARDM when i used _0F_09_ENCODE_MEMOS_SINGLE macro inside other transaction macros which uses loops. Couldn't find a way to isolate guards in _0F_09_ENCODE_MEMOS_SINGLE from the other guards in main transaction macro.
Any idea for isolating it within a transaction macro will be appreciated @RichardAH
Note
STI_VL
multiple times withing single macro gave a guard violation so used_07_XX_ENCODE_STI_VL_COMMON
withGUARDM
inside it so memo type, data, format fields are guarded seperatly within_0F_09_ENCODE_MEMOS_SINGLE
macro._0F_09_ENCODE_MEMOS_SINGLE
macro inside other transaction macros which uses loops. Couldn't find a way to isolate guards in_0F_09_ENCODE_MEMOS_SINGLE
from the other guards in main transaction macro.