mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-24 00:18:26 +00:00
16 lines
485 B
Python
16 lines
485 B
Python
|
# Automatically generated by pb2py
|
||
|
from .. import protobuf as p
|
||
|
from .StellarAssetType import StellarAssetType
|
||
|
|
||
|
|
||
|
class StellarCreatePassiveOfferOp(p.MessageType):
|
||
|
FIELDS = {
|
||
|
1: ('source_account', p.BytesType, 0),
|
||
|
2: ('selling_asset', StellarAssetType, 0),
|
||
|
3: ('buying_asset', StellarAssetType, 0),
|
||
|
4: ('amount', p.UVarintType, 0),
|
||
|
5: ('price_n', p.UVarintType, 0),
|
||
|
6: ('price_d', p.UVarintType, 0),
|
||
|
}
|
||
|
MESSAGE_WIRE_TYPE = 214
|