Module helpers

Source
Expand description

Implementation of low-level commit-helpers traits for the internal CommitHelpers Type.

CommitHelpers implements traits:

Local Tests for these traits are covered in tests .

Functionsยง

finalize_place_commit ๐Ÿ”’
Low-level helper that centralizes the finalization logic for placing commits.
finalize_raise_commit ๐Ÿ”’
Low-level helper that centralizes the finalization logic for raising commits.
finalize_resolve_commit ๐Ÿ”’
Low-level helper that centralizes the finalization logic for resolving commits.

Type Aliasesยง

CommitmentAsset ๐Ÿ”’
The asset type used for pallet-commitment.
CommitmentDigest ๐Ÿ”’
The digest hash (yet account-id) type used for pallet-commitment.
CommitmentDigestModel ๐Ÿ”’
The digest-classifier type used for pallet-commitment to reduce digest ambiguity.
CommitmentPosition ๐Ÿ”’
The commit-variant or position type used for pallet-commitment.
CommitmentReason ๐Ÿ”’
The fungible compile-time freeze-reason (a runtime composite enum) type used for pallet-commitment.
CommitmentShares ๐Ÿ”’
The shares type used for pallet-commitment for indexes and pools.