Skip to content

packages.valory.skills.abstract_round_abci.dialogues

This module contains the classes required for dialogue management.

AbciDialogues Objects

class AbciDialogues(Model, BaseAbciDialogues)

The dialogues class keeps track of all dialogues.

__init__

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

Initialize dialogues.

Arguments:

  • kwargs: keyword arguments

HttpDialogues Objects

class HttpDialogues(Model, BaseHttpDialogues)

This class keeps track of all http dialogues.

__init__

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

Initialize dialogues.

Arguments:

  • kwargs: keyword arguments

SigningDialogues Objects

class SigningDialogues(Model, BaseSigningDialogues)

This class keeps track of all signing dialogues.

__init__

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

Initialize dialogues.

Arguments:

  • kwargs: keyword arguments

LedgerApiDialogue Objects

class LedgerApiDialogue(  # pylint: disable=too-few-public-methods
        BaseLedgerApiDialogue)

The dialogue class maintains state of a dialogue and manages it.

__init__

def __init__(dialogue_label: BaseDialogueLabel,
             self_address: Address,
             role: BaseDialogue.Role,
             message_class: Type[LedgerApiMessage] = LedgerApiMessage) -> None

Initialize a dialogue.

Arguments:

  • dialogue_label: the identifier of the dialogue
  • self_address: the address of the entity for whom this dialogue is maintained
  • role: the role of the agent this dialogue is maintained for
  • message_class: the message class

terms

@property
def terms() -> Terms

Get the terms.

terms

@terms.setter
def terms(terms: Terms) -> None

Set the terms.

LedgerApiDialogues Objects

class LedgerApiDialogues(Model, BaseLedgerApiDialogues)

The dialogues class keeps track of all dialogues.

__init__

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

Initialize dialogues.

Arguments:

  • kwargs: keyword arguments

ContractApiDialogue Objects

class ContractApiDialogue(  # pylint: disable=too-few-public-methods
        BaseContractApiDialogue)

The dialogue class maintains state of a dialogue and manages it.

__init__

def __init__(
        dialogue_label: BaseDialogueLabel,
        self_address: Address,
        role: BaseDialogue.Role,
        message_class: Type[ContractApiMessage] = ContractApiMessage) -> None

Initialize a dialogue.

Arguments:

  • dialogue_label: the identifier of the dialogue
  • self_address: the address of the entity for whom this dialogue is maintained
  • role: the role of the agent this dialogue is maintained for
  • message_class: the message class

terms

@property
def terms() -> Terms

Get the terms.

terms

@terms.setter
def terms(terms: Terms) -> None

Set the terms.

ContractApiDialogues Objects

class ContractApiDialogues(Model, BaseContractApiDialogues)

The dialogues class keeps track of all dialogues.

__init__

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

Initialize dialogues.

TendermintDialogues Objects

class TendermintDialogues(Model, BaseTendermintDialogues)

The dialogues class keeps track of all dialogues.

__init__

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

Initialize dialogues.

Arguments:

  • kwargs: keyword arguments

IpfsDialogues Objects

class IpfsDialogues(Model, BaseIpfsDialogues)

A class to keep track of IPFS dialogues.

__init__

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

Initialize dialogues.

Arguments:

  • kwargs: keyword arguments