Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
max_assets and Counted
  • Loading branch information
gavofyork committed Oct 22, 2021
commit 0f9bb83483398c39ad608fdad68e89aac4e410b4
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -836,6 +836,8 @@ A `WildMultiAsset` value is represented by the SCALE-encoded tagged union with t

- `All = 0`: Matches for all assets.
- `AllOf = 1 { class: AssetId, fun: WildFungibility }`: Matches for any assets which match the given `class` and fungibility (`fun`).
- `AllCounted = 2 { count: Compact }`: Matches for the first `count` assets, when placed under standard asset ordering.
- `AllOfCounted = 3 { class: AssetId, fun: WildFungibility, count: Compact }`: Matches for the first `count` (under standard asset ordering) of any assets which match the given `class` and fungibility (`fun`).

A `MultiAssetFilter` value is represented by the SCALE-encoded tagged union with two variants:

Expand Down