1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-18 21:48:13 +00:00
trezor-firmware/trezorlib/messages/NEMMosaicCreation.py

22 lines
539 B
Python
Raw Normal View History

# Automatically generated by pb2py
from .. import protobuf as p
from .NEMMosaicDefinition import NEMMosaicDefinition
class NEMMosaicCreation(p.MessageType):
FIELDS = {
1: ('definition', NEMMosaicDefinition, 0),
2: ('sink', p.UnicodeType, 0),
3: ('fee', p.UVarintType, 0),
}
def __init__(
self,
definition: NEMMosaicDefinition = None,
sink: str = None,
fee: int = None
) -> None:
self.definition = definition
self.sink = sink
self.fee = fee