1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-21 05:48:23 +00:00
trezor-firmware/trezorlib/messages/StellarManageOfferOp.py
2018-04-18 12:09:09 +02:00

17 lines
520 B
Python

# Automatically generated by pb2py
from .. import protobuf as p
from .StellarAssetType import StellarAssetType
class StellarManageOfferOp(p.MessageType):
FIELDS = {
1: ('source_account', p.BytesType, 0),
2: ('selling_asset', StellarAssetType, 0),
3: ('buying_asset', StellarAssetType, 0),
4: ('amount', p.Sint64Type, 0),
5: ('price_n', p.UVarintType, 0),
6: ('price_d', p.UVarintType, 0),
7: ('offer_id', p.UVarintType, 0),
}
MESSAGE_WIRE_TYPE = 213