1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-23 16:08:17 +00:00
trezor-firmware/trezorlib/messages/StellarPathPaymentOp.py
2018-04-19 15:18:55 -06:00

17 lines
558 B
Python

# Automatically generated by pb2py
from .. import protobuf as p
from .StellarAssetType import StellarAssetType
class StellarPathPaymentOp(p.MessageType):
FIELDS = {
1: ('source_account', p.BytesType, 0),
2: ('send_asset', StellarAssetType, 0),
3: ('send_max', p.Sint64Type, 0),
4: ('destination_account', p.BytesType, 0),
5: ('destination_asset', StellarAssetType, 0),
6: ('destination_amount', p.Sint64Type, 0),
7: ('paths', StellarAssetType, p.FLAG_REPEATED),
}
MESSAGE_WIRE_TYPE = 212