Skip to content

packages.valory.skills.abstract_round_abci.behaviours

This module contains the behaviours for the 'abstract_round_abci' skill.

_MetaRoundBehaviour Objects

class _MetaRoundBehaviour(ABCMeta)

A metaclass that validates AbstractRoundBehaviour's attributes.

__new__

def __new__(mcs, name: str, bases: Tuple, namespace: Dict, **kwargs: Any) -> Type

Initialize the class.

AbstractRoundBehaviour Objects

class AbstractRoundBehaviour(
    Behaviour,  ABC,  Generic[EventType], metaclass=_MetaRoundBehaviour)

This behaviour implements an abstract round behaviour.

__init__

def __init__(**kwargs: Any) -> None

Initialize the behaviour.

instantiate_behaviour_cls

def instantiate_behaviour_cls(behaviour_cls: BehaviourType) -> BaseBehaviour

Instantiate the behaviours class.

setup

def setup() -> None

Set up the behaviour.

teardown

def teardown() -> None

Tear down the behaviour

act

def act() -> None

Implement the behaviour.

Back to top