Function reward
Source pub(super) fn reward<State, Ver, MT, const ARITY: usize>(
api_ver: Version,
) -> Result<Api<State, Error, Ver>>where
State: 'static +
Send +
Sync + ReadState,
Ver: 'static + StaticVersionType,
MT:
MerklizedState<
SeqTypes, ARITY>,
for<'a> <MT::
Commit as
TryFrom<&'a TaggedBase64>>::
Error:
Display,
<MT as
MerklizedState<
SeqTypes, ARITY>>::
Entry:
Copy,
<State as ReadState>::State:
Send +
Sync +
MerklizedStateDataSource<
SeqTypes, MT, ARITY> +
MerklizedStateHeightPersistence,