parse_fee_assets
Parses the module_args
for a module, where the value contained is a list of fee_asset
s.
Throws "CONFIG ERROR"
if gtv
is neither a dictionary nor a list of dictionaries.
Throws if any of the assets is not a valid fee_asset
.
Return
the parsed values
Parameters
gtv
the module_args
for the module that is being parsed
module_name
the name of the module for better errors
See also
fee_asset
for a definition of invalid values.