Skip to content

packages.valory.skills.abstract_round_abci.abci_app_chain

This module contains utilities for AbciApps.

check_set_uniqueness

def check_set_uniqueness(sets: Tuple) -> Optional[Any]

Checks that all elements in the set list are unique and not repeated among different sets

chain

def chain(
        abci_apps: Tuple[Type[AbciApp], ...],
        abci_app_transition_mapping: AbciAppTransitionMapping
) -> Type[AbciApp]

Concatenate multiple AbciApp types.

The consistency checks assume that the first element in abci_apps is the entry-point abci_app (i.e. the associated round of the initial_behaviour_cls of the AbstractRoundBehaviour in which the chained AbciApp is used is one of the initial_states of the first element.)