1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-07-05 22:32:33 +00:00
trezor-firmware/src/trezor/messages/NEMImportanceTransfer.py
2018-02-26 16:13:00 +01:00

20 lines
432 B
Python

# Automatically generated by pb2py
import protobuf as p
class NEMImportanceTransfer(p.MessageType):
FIELDS = {
1: ('mode', p.UVarintType, 0),
2: ('public_key', p.BytesType, 0),
}
def __init__(
self,
mode: int = None,
public_key: bytes = None,
**kwargs,
):
self.mode = mode
self.public_key = public_key
p.MessageType.__init__(self, **kwargs)