1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-01-05 04:50:57 +00:00
trezor-firmware/src/trezor/messages/GetAddress.py

13 lines
520 B
Python
Raw Normal View History

2016-05-03 16:28:58 +00:00
# Automatically generated by pb2py
2016-09-28 16:01:23 +00:00
import protobuf as p
from micropython import const
2016-05-03 16:28:58 +00:00
from .MultisigRedeemScriptType import MultisigRedeemScriptType
t = p.MessageType('GetAddress')
2016-10-03 13:41:38 +00:00
t.wire_type = const(29)
2016-05-03 16:28:58 +00:00
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))
2016-10-03 13:41:38 +00:00
t.add_field(5, 'script_type', p.UVarintType, default=0)
2016-10-24 13:42:59 +00:00
GetAddress = t