def get_fields(cls) -> Dict: return { 1: ('address_n', p.UVarintType, p.FLAG_REPEATED), 2: ('prev_hash', p.BytesType, p.FLAG_REQUIRED), 3: ('prev_index', p.UVarintType, p.FLAG_REQUIRED), 4: ('script_sig', p.BytesType, None), 5: ('sequence', p.UVarintType, 4294967295), # default=4294967295 6: ('script_type', p.EnumType("InputScriptType", ( 0, 1, 2, 3, 4, )), 0), # default=SPENDADDRESS 7: ('multisig', MultisigRedeemScriptType, None), 8: ('amount', p.UVarintType, None), 9: ('decred_tree', p.UVarintType, None), 13: ('witness', p.BytesType, None), 14: ('ownership_proof', p.BytesType, None), 15: ('commitment_data', p.BytesType, None), 16: ('orig_hash', p.BytesType, None), 17: ('orig_index', p.UVarintType, None), 18: ('decred_staking_spend', p.EnumType("DecredStakingSpendType", ( 0, 1, )), None), }
def get_fields(cls) -> Dict: return { 1: ('vendor', p.UnicodeType, 0), 2: ('major_version', p.UVarintType, 0), 3: ('minor_version', p.UVarintType, 0), 4: ('patch_version', p.UVarintType, 0), 5: ('bootloader_mode', p.BoolType, 0), 6: ('device_id', p.UnicodeType, 0), 7: ('pin_protection', p.BoolType, 0), 8: ('passphrase_protection', p.BoolType, 0), 9: ('language', p.UnicodeType, 0), 10: ('label', p.UnicodeType, 0), 12: ('initialized', p.BoolType, 0), 13: ('revision', p.BytesType, 0), 14: ('bootloader_hash', p.BytesType, 0), 15: ('imported', p.BoolType, 0), 16: ('pin_cached', p.BoolType, 0), 17: ('passphrase_cached', p.BoolType, 0), 18: ('firmware_present', p.BoolType, 0), 19: ('needs_backup', p.BoolType, 0), 20: ('flags', p.UVarintType, 0), 21: ('model', p.UnicodeType, 0), 22: ('fw_major', p.UVarintType, 0), 23: ('fw_minor', p.UVarintType, 0), 24: ('fw_patch', p.UVarintType, 0), 25: ('fw_vendor', p.UnicodeType, 0), 26: ('fw_vendor_keys', p.BytesType, 0), 27: ('unfinished_backup', p.BoolType, 0), 28: ('no_backup', p.BoolType, 0), 29: ('recovery_mode', p.BoolType, 0), 30: ('capabilities', p.EnumType("Capability", (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16)), p.FLAG_REPEATED), 31: ('backup_type', p.EnumType("BackupType", (0, 1, 2)), 0), }
def get_fields(cls) -> Dict: return { 1: ('id', p.UnicodeType, None), 2: ('ordertype', p.EnumType("BinanceOrderType", ( 0, 1, 2, 3, )), None), 3: ('price', p.SVarintType, None), 4: ('quantity', p.SVarintType, None), 5: ('sender', p.UnicodeType, None), 6: ('side', p.EnumType("BinanceOrderSide", ( 0, 1, 2, )), None), 7: ('symbol', p.UnicodeType, None), 8: ('timeinforce', p.EnumType("BinanceTimeInForce", ( 0, 1, 2, 3, )), None), }
def get_fields(cls) -> Dict: return { 1: ('coordinator', p.UnicodeType, p.FLAG_REQUIRED), 2: ('max_total_fee', p.UVarintType, p.FLAG_REQUIRED), 3: ('fee_per_anonymity', p.UVarintType, None), 4: ('address_n', p.UVarintType, p.FLAG_REPEATED), 5: ('coin_name', p.UnicodeType, "Bitcoin"), # default=Bitcoin 6: ('script_type', p.EnumType("InputScriptType", (0, 1, 2, 3, 4)), 0), # default=SPENDADDRESS 11: ('amount_unit', p.EnumType("AmountUnit", (0, 1, 2, 3)), 0), # default=BITCOIN }
def get_fields(cls) -> Dict: return { 1: ('namespace', p.UnicodeType, None), 2: ('mosaic', p.UnicodeType, None), 3: ('type', p.EnumType("NEMSupplyChangeType", (1, 2)), None), 4: ('delta', p.UVarintType, None), }
def get_fields(cls) -> Dict: return { 1: ('address_n', p.UVarintType, p.FLAG_REPEATED), 2: ('coin_name', p.UnicodeType, "Bitcoin"), # default=Bitcoin 3: ('multisig', MultisigRedeemScriptType, None), 4: ('script_type', p.EnumType("InputScriptType", (0, 1, 2, 3, 4,)), 0), # default=SPENDADDRESS }
def get_fields(cls) -> Dict: return { 1: ('address_n', p.UVarintType, p.FLAG_REPEATED), 2: ('message', p.BytesType, p.FLAG_REQUIRED), 3: ('coin_name', p.UnicodeType, "Bitcoin"), # default=Bitcoin 4: ('script_type', p.EnumType("InputScriptType", (0, 1, 2, 3, 4)), 0), # default=SPENDADDRESS }
def get_fields(cls) -> Dict: return { 1: ('request_type', p.EnumType("RequestType", (0, 1, 2, 3, 4, 5, 6)), None), 2: ('details', TxRequestDetailsType, None), 3: ('serialized', TxRequestSerializedType, None), }
def get_fields(cls) -> Dict: return { 1: ('type', p.EnumType("CardanoCertificateType", (0, 1, 2, 3)), p.FLAG_REQUIRED), 2: ('path', p.UVarintType, p.FLAG_REPEATED), 3: ('pool', p.BytesType, None), 4: ('pool_parameters', CardanoPoolParametersType, None), }
def get_fields(cls) -> Dict: return { 1: ('code', p.EnumType("ButtonRequestType", (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 15, 16, 17, 18, 19)), 0), }
def get_fields(cls) -> Dict: return { 1: ('style', p.EnumType("DebugLinkShowTextStyle", (0, 1, 2, 4, 5, 6)), 0), 2: ('content', p.UnicodeType, 0), }
def get_fields(cls) -> Dict: return { 1: ('code', p.EnumType("FailureType", (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 99)), 0), 2: ('message', p.UnicodeType, 0), }
def get_fields(cls) -> Dict: return { 1: ('source', p.BytesType, 0), 2: ('period', p.UVarintType, 0), 3: ('proposal', p.BytesType, 0), 4: ('ballot', p.EnumType("TezosBallotType", (0, 1, 2)), 0), }
def get_fields(cls) -> Dict: return { 1: ('vendor', p.UnicodeType, None), 2: ('major_version', p.UVarintType, p.FLAG_REQUIRED), 3: ('minor_version', p.UVarintType, p.FLAG_REQUIRED), 4: ('patch_version', p.UVarintType, p.FLAG_REQUIRED), 5: ('bootloader_mode', p.BoolType, None), 6: ('device_id', p.UnicodeType, None), 7: ('pin_protection', p.BoolType, None), 8: ('passphrase_protection', p.BoolType, None), 9: ('language', p.UnicodeType, None), 10: ('label', p.UnicodeType, None), 12: ('initialized', p.BoolType, None), 13: ('revision', p.BytesType, None), 14: ('bootloader_hash', p.BytesType, None), 15: ('imported', p.BoolType, None), 16: ('unlocked', p.BoolType, None), 18: ('firmware_present', p.BoolType, None), 19: ('needs_backup', p.BoolType, None), 20: ('flags', p.UVarintType, None), 21: ('model', p.UnicodeType, None), 22: ('fw_major', p.UVarintType, None), 23: ('fw_minor', p.UVarintType, None), 24: ('fw_patch', p.UVarintType, None), 25: ('fw_vendor', p.UnicodeType, None), 26: ('fw_vendor_keys', p.BytesType, None), 27: ('unfinished_backup', p.BoolType, None), 28: ('no_backup', p.BoolType, None), 29: ('recovery_mode', p.BoolType, None), 30: ('capabilities', p.EnumType( "Capability", (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17)), p.FLAG_REPEATED), 31: ('backup_type', p.EnumType("BackupType", (0, 1, 2)), None), 32: ('sd_card_present', p.BoolType, None), 33: ('sd_protection', p.BoolType, None), 34: ('wipe_code_protection', p.BoolType, None), 35: ('session_id', p.BytesType, None), 36: ('passphrase_always_on_device', p.BoolType, None), 37: ('safety_checks', p.EnumType("SafetyCheckLevel", (0, 1, 2)), None), 38: ('auto_lock_delay_ms', p.UVarintType, None), 39: ('display_rotation', p.UVarintType, None), 40: ('experimental_features', p.BoolType, None), }
def get_fields(cls) -> Dict: return { 1: ('type', p.EnumType("NEMModificationType", ( 1, 2, )), None), 2: ('public_key', p.BytesType, None), }
def get_fields(cls) -> Dict: return { 1: ('operation', p.EnumType("SdProtectOperationType", ( 0, 1, 2, )), None), }
def get_fields(cls) -> Dict: return { 1: ('address_type', p.EnumType("CardanoAddressType", (0, 1, 2, 3, 4, 5, 6, 7, 8, 14, 15)), None), 2: ('address_n', p.UVarintType, p.FLAG_REPEATED), 3: ('address_n_staking', p.UVarintType, p.FLAG_REPEATED), 4: ('staking_key_hash', p.BytesType, None), 5: ('certificate_pointer', CardanoBlockchainPointerType, None), }
def get_fields(cls) -> Dict: return { 1: ('tag', p.EnumType("TezosContractType", ( 0, 1, )), p.FLAG_REQUIRED), 2: ('hash', p.BytesType, p.FLAG_REQUIRED), }
def get_fields(cls) -> Dict: return { 1: ('address_n', p.UVarintType, p.FLAG_REPEATED), 2: ('ecdsa_curve_name', p.UnicodeType, 0), 3: ('show_display', p.BoolType, 0), 4: ('coin_name', p.UnicodeType, 0), # default=Bitcoin 5: ('script_type', p.EnumType("InputScriptType", (0, 1, 2, 3, 4)), 0), # default=SPENDADDRESS }
def get_fields(cls) -> Dict: return { 1: ('mode', p.EnumType("NEMImportanceTransferMode", ( 1, 2, )), None), 2: ('public_key', p.BytesType, None), }
def get_fields(cls) -> Dict: return { 1: ('yes_no', p.BoolType, 0), 2: ('swipe', p.EnumType("DebugSwipeDirection", (0, 1, 2, 3)), 0), 3: ('input', p.UnicodeType, 0), 4: ('x', p.UVarintType, 0), 5: ('y', p.UVarintType, 0), 6: ('wait', p.BoolType, 0), }
def get_fields(cls) -> Dict: return { 1: ('type', p.EnumType("CardanoPoolRelayType", (0, 1, 2)), p.FLAG_REQUIRED), 2: ('ipv4_address', p.BytesType, None), 3: ('ipv6_address', p.BytesType, None), 4: ('host_name', p.UnicodeType, None), 5: ('port', p.UVarintType, None), }
def get_fields(cls) -> Dict: return { 1: ('coordinator', p.UnicodeType, 0), # required 2: ('max_total_fee', p.UVarintType, 0), # required 3: ('fee_per_anonymity', p.UVarintType, 0), 4: ('address_n', p.UVarintType, p.FLAG_REPEATED), 5: ('coin_name', p.UnicodeType, 0), # default=Bitcoin 6: ('script_type', p.EnumType("InputScriptType", (0, 1, 2, 3, 4)), 0), # default=SPENDADDRESS }
def get_fields(cls) -> Dict: return { 1: ('address_n', p.UVarintType, p.FLAG_REPEATED), 2: ('coin_name', p.UnicodeType, "Bitcoin"), # default=Bitcoin 3: ('script_type', p.EnumType("InputScriptType", (0, 1, 2, 3, 4)), 3), # default=SPENDWITNESS 4: ('multisig', MultisigRedeemScriptType, None), 5: ('user_confirmation', p.BoolType, False), # default=false 6: ('ownership_ids', p.BytesType, p.FLAG_REPEATED), 7: ('commitment_data', p.BytesType, b""), # default= }
def get_fields(cls) -> Dict: return { 1: ('language', p.UnicodeType, 0), 2: ('label', p.UnicodeType, 0), 3: ('use_passphrase', p.BoolType, 0), 4: ('homescreen', p.BytesType, 0), 6: ('auto_lock_delay_ms', p.UVarintType, 0), 7: ('display_rotation', p.UVarintType, 0), 8: ('passphrase_always_on_device', p.BoolType, 0), 9: ('safety_checks', p.EnumType("SafetyCheckLevel", (0, 1, 2)), 0), }
def get_fields(cls) -> Dict: return { 1: ('address', p.UnicodeType, None), 2: ('address_n', p.UVarintType, p.FLAG_REPEATED), 3: ('amount', p.UVarintType, p.FLAG_REQUIRED), 4: ('script_type', p.EnumType("OutputScriptType", (0, 1, 2, 3, 4, 5)), 0), # default=PAYTOADDRESS 5: ('multisig', MultisigRedeemScriptType, None), 6: ('op_return_data', p.BytesType, None), }
def get_fields(cls) -> Dict: return { 1: ('language', p.UnicodeType, 0), 2: ('label', p.UnicodeType, 0), 3: ('use_passphrase', p.BoolType, 0), 4: ('homescreen', p.BytesType, 0), 5: ('passphrase_source', p.EnumType("PassphraseSourceType", (0, 1, 2)), 0), 6: ('auto_lock_delay_ms', p.UVarintType, 0), 7: ('display_rotation', p.UVarintType, 0), }
def get_fields(cls) -> Dict: return { 1: ('address', p.UnicodeType, 0), 2: ('address_n', p.UVarintType, p.FLAG_REPEATED), 3: ('amount', p.UVarintType, 0), # required 4: ('script_type', p.EnumType("OutputScriptType", (0, 1, 2, 3, 4, 5)), 0), # required 5: ('multisig', MultisigRedeemScriptType, 0), 6: ('op_return_data', p.BytesType, 0), 7: ('decred_script_version', p.UVarintType, 0), }
def get_fields(cls) -> Dict: return { 1: ('type', p.EnumType("LiskTransactionType", (0, 1, 2, 3, 4, 5, 6, 7)), None), 2: ('amount', p.UVarintType, None), 3: ('fee', p.UVarintType, None), 4: ('recipient_id', p.UnicodeType, None), 5: ('sender_public_key', p.BytesType, None), 6: ('requester_public_key', p.BytesType, None), 7: ('signature', p.BytesType, None), 8: ('timestamp', p.UVarintType, None), 9: ('asset', LiskTransactionAsset, None), }
def get_fields(cls) -> Dict: return { 1: ('word_count', p.UVarintType, None), 2: ('passphrase_protection', p.BoolType, None), 3: ('pin_protection', p.BoolType, None), 4: ('language', p.UnicodeType, None), 5: ('label', p.UnicodeType, None), 6: ('enforce_wordlist', p.BoolType, None), 8: ('type', p.EnumType("RecoveryDeviceType", (0, 1)), None), 9: ('u2f_counter', p.UVarintType, None), 10: ('dry_run', p.BoolType, None), }