mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-21 05:48:23 +00:00
18 lines
600 B
Python
18 lines
600 B
Python
# Automatically generated by pb2py
|
|
from .. import protobuf as p
|
|
from .LiskTransactionAsset import LiskTransactionAsset
|
|
|
|
|
|
class LiskTransactionCommon(p.MessageType):
|
|
FIELDS = {
|
|
1: ('type', p.UVarintType, 0),
|
|
2: ('amount', p.UVarintType, 0), # default=0
|
|
3: ('fee', p.UVarintType, 0),
|
|
4: ('recipient_id', p.UnicodeType, 0),
|
|
5: ('sender_public_key', p.BytesType, 0),
|
|
6: ('requester_public_key', p.BytesType, 0),
|
|
7: ('signature', p.BytesType, 0),
|
|
8: ('timestamp', p.UVarintType, 0),
|
|
9: ('asset', LiskTransactionAsset, 0),
|
|
}
|