Skip to content

Feature action by affiliate fee address

calvin-f requested to merge j0nezz/midgard:feature-action-by-affiliate into develop

This extends the API for an actions query with a param for an affiliate fee address. This is useful for thorchain wallets and interfaces that use affiliate fees.

  • affiliate fee and affiliate address will be both stored in the meta json of the midgard_agg.actions table
  • this pull request for now only contains the implementation for the swap_events. The other events can be implemented in a similar fashion...
Edited by Thomas Bocek

Merge request reports