NewTadeedSend

Python pydantic class corresponding to json type `new.tadeed.send`.

class gwatn.types.NewTadeedSend(*, NewTaDeedIdx, OldTaDeedIdx, TaDaemonAddr, ValidatorAddr, SignedTadeedOptinTxn, TypeName='new.tadeed.send', Version='000')
Parameters:
  • NewTaDeedIdx (int) –

  • OldTaDeedIdx (int) –

  • TaDaemonAddr (str) –

  • ValidatorAddr (str) –

  • SignedTadeedOptinTxn (str) –

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

  • Version (str) –

NewTaDeedIdx:
  • Description:

OldTaDeedIdx:
  • Description:

TaDaemonAddr:
  • Description:

  • Format: AlgoAddressStringFormat

ValidatorAddr:
  • Description:

  • Format: AlgoAddressStringFormat

SignedTadeedOptinTxn:
  • Description:

  • Format: AlgoMsgPackEncoded

class gwatn.types.new_tadeed_send.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_send.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.NewTadeedSend_Maker(new_ta_deed_idx, old_ta_deed_idx, ta_daemon_addr, validator_addr, signed_tadeed_optin_txn)
Parameters:
  • new_ta_deed_idx (int) –

  • old_ta_deed_idx (int) –

  • ta_daemon_addr (str) –

  • validator_addr (str) –

  • signed_tadeed_optin_txn (str) –

classmethod tuple_to_type(tuple)

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

Parameters:

tuple (NewTadeedSend) –

Return type:

str

classmethod type_to_tuple(t)

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

Parameters:

t (str) –

Return type:

NewTadeedSend