1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-30 11:28:21 +00:00
trezor-firmware/trezorlib/messages/NEMMosaicDefinition.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

23 lines
800 B
Python

# Automatically generated by pb2py
from .. import protobuf as p
class NEMMosaicDefinition(p.MessageType):
FIELDS = {
1: ('name', p.UnicodeType, 0),
2: ('ticker', p.UnicodeType, 0),
3: ('namespace', p.UnicodeType, 0),
4: ('mosaic', p.UnicodeType, 0),
5: ('divisibility', p.UVarintType, 0),
6: ('levy', p.UVarintType, 0),
7: ('fee', p.UVarintType, 0),
8: ('levy_address', p.UnicodeType, 0),
9: ('levy_namespace', p.UnicodeType, 0),
10: ('levy_mosaic', p.UnicodeType, 0),
11: ('supply', p.UVarintType, 0),
12: ('mutable_supply', p.BoolType, 0),
13: ('transferable', p.BoolType, 0),
14: ('description', p.UnicodeType, 0),
15: ('networks', p.UVarintType, p.FLAG_REPEATED),
}