mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-01 20:08:26 +00:00
26 lines
623 B
Python
26 lines
623 B
Python
|
# Automatically generated by pb2py
|
||
|
# fmt: off
|
||
|
from .. import protobuf as p
|
||
|
|
||
|
|
||
|
class EosSignedTx(p.MessageType):
|
||
|
MESSAGE_WIRE_TYPE = 605
|
||
|
|
||
|
def __init__(
|
||
|
self,
|
||
|
signature_v: int = None,
|
||
|
signature_r: bytes = None,
|
||
|
signature_s: bytes = None,
|
||
|
) -> None:
|
||
|
self.signature_v = signature_v
|
||
|
self.signature_r = signature_r
|
||
|
self.signature_s = signature_s
|
||
|
|
||
|
@classmethod
|
||
|
def get_fields(cls):
|
||
|
return {
|
||
|
1: ('signature_v', p.UVarintType, 0),
|
||
|
2: ('signature_r', p.BytesType, 0),
|
||
|
3: ('signature_s', p.BytesType, 0),
|
||
|
}
|