Skip to content

packages.valory.skills.registration_abci.payloads

This module contains the transaction payloads for common apps.

TransactionType Objects

class TransactionType(Enum)

Enumeration of transaction types.

__str__

def __str__() -> str

Get the string value of the transaction type.

RegistrationPayload Objects

class RegistrationPayload(BaseTxPayload)

Represent a transaction payload of type 'registration'.

__init__

def __init__(sender: str, initialisation: Optional[str] = None, **kwargs: Any) -> None

Initialize an 'select_keeper' transaction payload.

Arguments:

  • sender: the sender (Ethereum) address
  • initialisation: the initialisation data
  • kwargs: the keyword arguments

initialisation

@property
def initialisation() -> Optional[str]

Get the initialisation.

data

@property
def data() -> Dict

Get the data.

Back to top