Investigate refactoring use of DataDecodedParamHelper
#1547
Labels
enhancement
New feature or request
DataDecodedParamHelper
#1547
Description
When mapping ERC-20/721 transfers, we extract the values of the
sender
,recipient
, etc. from thedecodedData
of a given transaction.Each transaction that transfers tokens also has a
transfers
array that seemingly contains all the information of the above and using that would simply a lot of the above.Requirements
As the mapping is only of ERC-20/721 token, the transaction types are that of
MultisigTransaction | ModuleTransaction
:transfers
array.transfers
array to validation schemas.DataDecodedParamHelper['getFromParam' | 'getToParam' | 'getValueParam']
withtransfers
value(s).Additional information
This
transfers
array does not exist in theMultisigTransaction | ModuleTransaction
types despite being returned by the Transaction Service. (As the above was implemented early in the project, it may not have existed then.)The text was updated successfully, but these errors were encountered: