1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-02-12 07:32:48 +00:00
trezor-firmware/src/trezor/messages/NEMMosaic.py

23 lines
530 B
Python
Raw Normal View History

# Automatically generated by pb2py
import protobuf as p
class NEMMosaic(p.MessageType):
FIELDS = {
1: ('namespace', p.UnicodeType, 0),
2: ('mosaic', p.UnicodeType, 0),
3: ('quantity', p.UVarintType, 0),
}
2018-02-25 17:48:44 +00:00
def __init__(
self,
namespace: str = None,
mosaic: str = None,
quantity: int = None,
**kwargs,
):
self.namespace = namespace
self.mosaic = mosaic
self.quantity = quantity
p.MessageType.__init__(self, **kwargs)