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 dialogueself_address
: the address of the entity for whom this dialogue is maintainedrole
: the role of the agent this dialogue is maintained formessage_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 dialogueself_address
: the address of the entity for whom this dialogue is maintainedrole
: the role of the agent this dialogue is maintained formessage_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