# Automatically generated by pb2py from .. import protobuf as p class CoinType(p.MessageType): FIELDS = { 1: ('coin_name', p.UnicodeType, 0), 2: ('coin_shortcut', p.UnicodeType, 0), 3: ('address_type', p.UVarintType, 0), # default=0 4: ('maxfee_kb', p.UVarintType, 0), 5: ('address_type_p2sh', p.UVarintType, 0), # default=5 8: ('signed_message_header', p.UnicodeType, 0), 9: ('xpub_magic', p.UVarintType, 0), # default=76067358 10: ('xprv_magic', p.UVarintType, 0), # default=76066276 11: ('segwit', p.BoolType, 0), 12: ('forkid', p.UVarintType, 0), 13: ('force_bip143', p.BoolType, 0), } def __init__( self, coin_name: str = None, coin_shortcut: str = None, address_type: int = None, maxfee_kb: int = None, address_type_p2sh: int = None, signed_message_header: str = None, xpub_magic: int = None, xprv_magic: int = None, segwit: bool = None, forkid: int = None, force_bip143: bool = None ) -> None: self.coin_name = coin_name self.coin_shortcut = coin_shortcut self.address_type = address_type self.maxfee_kb = maxfee_kb self.address_type_p2sh = address_type_p2sh self.signed_message_header = signed_message_header self.xpub_magic = xpub_magic self.xprv_magic = xprv_magic self.segwit = segwit self.forkid = forkid self.force_bip143 = force_bip143