1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-18 21:48:13 +00:00
trezor-firmware/trezorlib/messages/NEMTransfer.py
matejcik 6efe4e4418 trezorlib/messages: regenerate messages with new pb2py
drop `from future import`
in __init__.py, import just the name, not *
2018-03-15 19:55:57 +01:00

14 lines
374 B
Python

# Automatically generated by pb2py
from .. import protobuf as p
from .NEMMosaic import NEMMosaic
class NEMTransfer(p.MessageType):
FIELDS = {
1: ('recipient', p.UnicodeType, 0),
2: ('amount', p.UVarintType, 0),
3: ('payload', p.BytesType, 0),
4: ('public_key', p.BytesType, 0),
5: ('mosaics', NEMMosaic, p.FLAG_REPEATED),
}