ScadaCertTransfer
Python pydantic class corresponding to json type `scada.cert.transfer`
.
- class gwatn.types.ScadaCertTransfer(*, TaAlias, SignedProof, TypeName='scada.cert.transfer', Version='000')
Scada Certificate Transfer.
This is a payload designed to be sent from a SCADA device to the GNodeFactory after the SCADA has opted into its certificate.
- Parameters:
TaAlias (str) –
SignedProof (str) –
TypeName (Literal['scada.cert.transfer']) –
Version (str) –
- classmethod check_axiom_1(v)
Axiom 1: Scada is SignedProof signer. Axiom 1: Scada is SignedProof signer. There is a ScadaCert created by the Gnf with this ta_alias, and the txn is the OptIn.
- Parameters:
v (dict) –
- Return type:
dict
- TaAlias:
Description: TerminalAsset Alias. GNodeAlias of the TerminalAsset for which the SCADA certificate is issued. The ScadaCert can be found from this.
Format: LeftRightDot
- SignedProof:
Description: Signed Proof from the SCADA Actor. The Scada GNode has a ScadaAlgoAddr in the GNodeFactory database, and the identity of the SCADA actor can be verified by this.
Format: AlgoMsgPackEncoded
- class gwatn.types.scada_cert_transfer.check_is_left_right_dot(v)
LeftRightDot format: Lowercase alphanumeric words separated by periods, most significant word (on the left) starting with an alphabet character.
- Raises:
ValueError – if not LeftRightDot format
- Parameters:
v (str) –
- class gwatn.types.scada_cert_transfer.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.ScadaCertTransfer_Maker(ta_alias, signed_proof)
- Parameters:
ta_alias (str) –
signed_proof (str) –
- classmethod tuple_to_type(tuple)
Given a Python class object, returns the serialized JSON type object
- Parameters:
tuple (ScadaCertTransfer) –
- Return type:
str
- classmethod type_to_tuple(t)
Given a serialized JSON type object, returns the Python class object
- Parameters:
t (str) –
- Return type: