Skip to content

packages.valory.skills.registration_abci.rounds

This module contains the data classes for common apps ABCI application.

Event Objects

class Event(Enum)

Event enumeration for the price estimation demo.

FinishedRegistrationRound Objects

class FinishedRegistrationRound(DegenerateRound)

A round representing that agent registration has finished

FinishedRegistrationFFWRound Objects

class FinishedRegistrationFFWRound(DegenerateRound)

A fast-forward round representing that agent registration has finished

RegistrationStartupRound Objects

class RegistrationStartupRound(CollectSameUntilAllRound)

A round in which the agents get registered

end_block

def end_block() -> Optional[Tuple[BaseSynchronizedData, Event]]

Process the end of the block.

RegistrationRound Objects

class RegistrationRound(CollectSameUntilThresholdRound)

A round in which the agents get registered

end_block

def end_block() -> Optional[Tuple[BaseSynchronizedData, Event]]

Process the end of the block.

AgentRegistrationAbciApp Objects

class AgentRegistrationAbciApp(AbciApp[Event])

AgentRegistrationAbciApp

Initial round: RegistrationStartupRound

Initial states: {RegistrationRound, RegistrationStartupRound}

Transition states: 0. RegistrationStartupRound - done: 2. - fast forward: 3. 1. RegistrationRound - done: 3. - no majority: 1. 2. FinishedRegistrationRound 3. FinishedRegistrationFFWRound

Final states: {FinishedRegistrationFFWRound, FinishedRegistrationRound}

Timeouts: round timeout: 30.0

Back to top