NewTadeedAlgoOptin

Python pydantic class corresponding to json type `new.tadeed.algo.optin`.

class gwatn.types.NewTadeedAlgoOptin(*, NewTaDeedIdx, OldTaDeedIdx, TaDaemonAddr, ValidatorAddr, SignedTaDeedCreationTxn, TypeName='new.tadeed.algo.optin', Version='000')
Parameters:
  • NewTaDeedIdx (int) –

  • OldTaDeedIdx (int) –

  • TaDaemonAddr (str) –

  • ValidatorAddr (str) –

  • SignedTaDeedCreationTxn (str) –

  • TypeName (Literal['new.tadeed.algo.optin']) –

  • Version (str) –

NewTaDeedIdx:
  • Description:

OldTaDeedIdx:
  • Description:

TaDaemonAddr:
  • Description:

  • Format: AlgoAddressStringFormat

ValidatorAddr:
  • Description:

  • Format: AlgoAddressStringFormat

SignedTaDeedCreationTxn:
  • Description:

  • Format: AlgoMsgPackEncoded

class gwatn.types.new_tadeed_algo_optin.check_is_algo_address_string_format(v)

AlgoAddressStringFormat format: The public key of a private/public Ed25519 key pair, transformed into an Algorand address, by adding a 4-byte checksum to the end of the public key and then encoding in base32.

Raises:

ValueError – if not AlgoAddressStringFormat format

Parameters:

v (str) –

class gwatn.types.new_tadeed_algo_optin.check_is_algo_msg_pack_encoded(v)

AlgoMSgPackEncoded format: the format of an transaction sent to the Algorand blockchain.

Raises:

ValueError – if not AlgoMSgPackEncoded format

Parameters:

v (str) –

class gwatn.types.NewTadeedAlgoOptin_Maker(new_ta_deed_idx, old_ta_deed_idx, ta_daemon_addr, validator_addr, signed_ta_deed_creation_txn)
Parameters:
  • new_ta_deed_idx (int) –

  • old_ta_deed_idx (int) –

  • ta_daemon_addr (str) –

  • validator_addr (str) –

  • signed_ta_deed_creation_txn (str) –

classmethod tuple_to_type(tuple)

Given a Python class object, returns the serialized JSON type object

Parameters:

tuple (NewTadeedAlgoOptin) –

Return type:

str

classmethod type_to_tuple(t)

Given a serialized JSON type object, returns the Python class object

Parameters:

t (str) –

Return type:

NewTadeedAlgoOptin