AntelopeIO / reference-contracts

Other
10 stars 14 forks source link

implement `logsystemfee` log action #71

Closed DenisCarriere closed 6 months ago

DenisCarriere commented 6 months ago

Change Description

Logging for actions resulting in system fees.

Deployment Changes

API Changes

 /**
  * Logging for actions resulting in system fees.
  *
  * @param protocol - name of protocol fees were earned from.
  * @param fee - the amount of fees collected by system.
  * @param memo - (optional) the memo associated with the action.
  */
 [[eosio::action]]
 void logsystemfee( const name& protocol, const asset& fee, const std::string& memo );

Documentation Additions