1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-10-13 11:29:11 +00:00
trezor-firmware/trezorlib/messages/StellarAllowTrustOp.py
2018-04-18 12:09:09 +02:00

14 lines
390 B
Python

# Automatically generated by pb2py
from .. import protobuf as p
class StellarAllowTrustOp(p.MessageType):
FIELDS = {
1: ('source_account', p.BytesType, 0),
2: ('trusted_account', p.BytesType, 0),
3: ('asset_type', p.UVarintType, 0),
4: ('asset_code', p.UnicodeType, 0),
5: ('is_authorized', p.UVarintType, 0),
}
MESSAGE_WIRE_TYPE = 217