1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-16 19:38:09 +00:00
trezor-firmware/python/trezorlib/messages/MoneroLiveRefreshStepRequest.py

32 lines
892 B
Python
Raw Normal View History

# Automatically generated by pb2py
# fmt: off
from .. import protobuf as p
class MoneroLiveRefreshStepRequest(p.MessageType):
MESSAGE_WIRE_TYPE = 554
def __init__(
self,
out_key: bytes = None,
recv_deriv: bytes = None,
real_out_idx: int = None,
sub_addr_major: int = None,
sub_addr_minor: int = None,
) -> None:
self.out_key = out_key
self.recv_deriv = recv_deriv
self.real_out_idx = real_out_idx
self.sub_addr_major = sub_addr_major
self.sub_addr_minor = sub_addr_minor
@classmethod
def get_fields(cls):
return {
1: ('out_key', p.BytesType, 0),
2: ('recv_deriv', p.BytesType, 0),
3: ('real_out_idx', p.UVarintType, 0),
4: ('sub_addr_major', p.UVarintType, 0),
5: ('sub_addr_minor', p.UVarintType, 0),
}