You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
trezor-firmware/core/src/trezor/messages/TezosRevealOp.py

36 lines
943 B

# Automatically generated by pb2py
# fmt: off
import protobuf as p
from .TezosContractID import TezosContractID
class TezosRevealOp(p.MessageType):
def __init__(
self,
source: TezosContractID = None,
fee: int = None,
counter: int = None,
gas_limit: int = None,
storage_limit: int = None,
public_key: bytes = None,
) -> None:
self.source = source
self.fee = fee
self.counter = counter
self.gas_limit = gas_limit
self.storage_limit = storage_limit
self.public_key = public_key
@classmethod
def get_fields(cls):
return {
1: ('source', TezosContractID, 0),
2: ('fee', p.UVarintType, 0),
3: ('counter', p.UVarintType, 0),
4: ('gas_limit', p.UVarintType, 0),
5: ('storage_limit', p.UVarintType, 0),
6: ('public_key', p.BytesType, 0),
}