1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-01-03 03:50:58 +00:00
trezor-firmware/src/trezor/messages/GetAddress.py
2016-10-24 15:45:05 +02:00

13 lines
520 B
Python

# Automatically generated by pb2py
import protobuf as p
from micropython import const
from .MultisigRedeemScriptType import MultisigRedeemScriptType
t = p.MessageType('GetAddress')
t.wire_type = const(29)
t.add_field(1, 'address_n', p.UVarintType, flags=p.FLAG_REPEATED)
t.add_field(2, 'coin_name', p.UnicodeType, default=u'Bitcoin')
t.add_field(3, 'show_display', p.BoolType)
t.add_field(4, 'multisig', p.EmbeddedMessage(MultisigRedeemScriptType))
t.add_field(5, 'script_type', p.UVarintType, default=0)
GetAddress = t