You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
trezor-firmware/python/trezorlib/messages/TronSignedTx.py

23 lines
502 B

# Automatically generated by pb2py
# fmt: off
from .. import protobuf as p
class TronSignedTx(p.MessageType):
MESSAGE_WIRE_TYPE = 253
def __init__(
self,
signature: bytes = None,
serialized_tx: bytes = None,
) -> None:
self.signature = signature
self.serialized_tx = serialized_tx
@classmethod
def get_fields(cls):
return {
1: ('signature', p.BytesType, 0),
2: ('serialized_tx', p.BytesType, 0),
}