cardano/assets/strategy
This module contains strategies used to transform Value
. You can safely ignore this module if you aren’t using flatten_with
.
Types
A callback to discard result at a given key
Alias
DiscardResult<result> = fn() -> List<result>
A strategy for flattening an asset list.
Alias
FlattenStrategy<result> = fn(
Hash<Blake2b_224, Script>,
ByteArray,
Int,
KeepResult<result>,
DiscardResult<result>,
) ->
List<result>
A callback to keep result at a given key
Alias
KeepResult<result> = fn(result) -> List<result>