1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-10-15 04:19:22 +00:00
trezor-firmware/python/trezorlib/messages/StellarBumpSequenceOp.py

23 lines
507 B
Python
Raw Normal View History

# Automatically generated by pb2py
# fmt: off
from .. import protobuf as p
class StellarBumpSequenceOp(p.MessageType):
MESSAGE_WIRE_TYPE = 221
def __init__(
self,
source_account: str = None,
bump_to: int = None,
) -> None:
self.source_account = source_account
self.bump_to = bump_to
@classmethod
def get_fields(cls):
return {
1: ('source_account', p.UnicodeType, 0),
2: ('bump_to', p.UVarintType, 0),
}