mirror of
https://github.com/lnbits/lnbits-legend.git
synced 2025-02-27 07:59:30 +01:00
222 lines
30 KiB
Python
222 lines
30 KiB
Python
|
# -*- coding: utf-8 -*-
|
||
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
||
|
# source: lnbits/wallets/boltz_grpc_files/boltzrpc.proto
|
||
|
# Protobuf Python Version: 5.26.1
|
||
|
"""Generated protocol buffer code."""
|
||
|
from google.protobuf import descriptor as _descriptor
|
||
|
from google.protobuf import descriptor_pool as _descriptor_pool
|
||
|
from google.protobuf import symbol_database as _symbol_database
|
||
|
from google.protobuf.internal import builder as _builder
|
||
|
|
||
|
# @@protoc_insertion_point(imports)
|
||
|
|
||
|
_sym_db = _symbol_database.Default()
|
||
|
|
||
|
|
||
|
from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2
|
||
|
|
||
|
|
||
|
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(
|
||
|
b'\n.lnbits/wallets/boltz_grpc_files/boltzrpc.proto\x12\x08\x62oltzrpc\x1a\x1bgoogle/protobuf/empty.proto"#\n\x13\x43reateTenantRequest\x12\x0c\n\x04name\x18\x01 \x01(\t"\x14\n\x12ListTenantsRequest"8\n\x13ListTenantsResponse\x12!\n\x07tenants\x18\x01 \x03(\x0b\x32\x10.boltzrpc.Tenant" \n\x10GetTenantRequest\x12\x0c\n\x04name\x18\x01 \x01(\t""\n\x06Tenant\x12\n\n\x02id\x18\x01 \x01(\x04\x12\x0c\n\x04name\x18\x02 \x01(\t"?\n\x13MacaroonPermissions\x12(\n\x06\x61\x63tion\x18\x02 \x01(\x0e\x32\x18.boltzrpc.MacaroonAction"o\n\x13\x42\x61keMacaroonRequest\x12\x16\n\ttenant_id\x18\x01 \x01(\x04H\x00\x88\x01\x01\x12\x32\n\x0bpermissions\x18\x02 \x03(\x0b\x32\x1d.boltzrpc.MacaroonPermissionsB\x0c\n\n_tenant_id"(\n\x14\x42\x61keMacaroonResponse\x12\x10\n\x08macaroon\x18\x01 \x01(\t"H\n\x04Pair\x12 \n\x04\x66rom\x18\x01 \x01(\x0e\x32\x12.boltzrpc.Currency\x12\x1e\n\x02to\x18\x02 \x01(\x0e\x32\x12.boltzrpc.Currency"\xf7\x04\n\x08SwapInfo\x12\n\n\x02id\x18\x01 \x01(\t\x12\x1c\n\x04pair\x18\x16 \x01(\x0b\x32\x0e.boltzrpc.Pair\x12"\n\x05state\x18\x02 \x01(\x0e\x32\x13.boltzrpc.SwapState\x12\r\n\x05\x65rror\x18\x03 \x01(\t\x12\x0e\n\x06status\x18\x04 \x01(\t\x12\x13\n\x0bprivate_key\x18\x05 \x01(\t\x12\x10\n\x08preimage\x18\x06 \x01(\t\x12\x15\n\rredeem_script\x18\x07 \x01(\t\x12\x0f\n\x07invoice\x18\x08 \x01(\t\x12\x16\n\x0elockup_address\x18\t \x01(\t\x12\x17\n\x0f\x65xpected_amount\x18\n \x01(\x04\x12\x1c\n\x14timeout_block_height\x18\x0b \x01(\r\x12\x1d\n\x15lockup_transaction_id\x18\x0c \x01(\t\x12\x1d\n\x15refund_transaction_id\x18\r \x01(\t\x12\x1b\n\x0erefund_address\x18\x13 \x01(\tH\x00\x88\x01\x01\x12%\n\x08\x63han_ids\x18\x0e \x03(\x0b\x32\x13.boltzrpc.ChannelId\x12\x19\n\x0c\x62linding_key\x18\x0f \x01(\tH\x01\x88\x01\x01\x12\x12\n\ncreated_at\x18\x10 \x01(\x03\x12\x18\n\x0bservice_fee\x18\x11 \x01(\x04H\x02\x88\x01\x01\x12\x18\n\x0bonchain_fee\x18\x12 \x01(\x04H\x03\x88\x01\x01\x12\x16\n\twallet_id\x18\x14 \x01(\x04H\x04\x88\x01\x01\x12\x11\n\ttenant_id\x18\x15 \x01(\x04\x42\x11\n\x0f_refund_addressB\x0f\n\r_blinding_keyB\x0e\n\x0c_service_feeB\x0e\n\x0c_onchain_feeB\x0c\n\n_wallet_id"T\n\x12GetPairInfoRequest\x12 \n\x04type\x18\x01 \x01(\x0e\x32\x12.boltzrpc.SwapType\x12\x1c\n\x04pair\x18\x02 \x01(\x0b\x32\x0e.boltzrpc.Pair"z\n\x08PairInfo\x12\x1c\n\x04pair\x18\x01 \x01(\x0b\x32\x0e.boltzrpc.Pair\x12 \n\x04\x66\x65\x65s\x18\x02 \x01(\x0b\x32\x12.boltzrpc.SwapFees\x12 \n\x06limits\x18\x03 \x01(\x0b\x32\x10.boltzrpc.Limits\x12\x0c\n\x04hash\x18\x04 \x01(\t"\xa8\x01\n\x13\x43hannelCreationInfo\x12\x0f\n\x07swap_id\x18\x01 \x01(\t\x12\x0e\n\x06status\x18\x02 \x01(\t\x12\x19\n\x11inbound_liquidity\x18\x03 \x01(\r\x12\x0f\n\x07private\x18\x04 \x01(\x08\x12\x1e\n\x16\x66unding_transaction_id\x18\x05 \x01(\t\x12 \n\x18\x66unding_transaction_vout\x18\x06 \x01(\r:\x02\x18\x01"x\n\x17\x43ombinedChannelSwapInfo\x12 \n\x04swap\x18\x01 \x01(\x0b\x32\x12.boltzrpc.SwapInfo\x12\x37\n\x10\x63hannel_creation\x18\x02 \x01(\x0b\x32\x1d.boltzrpc.ChannelCreationInfo:\x02\x18\x01"\x91\x05\n\x0fReverseSwapInfo\x12\n\n\x02id\x18\x01 \x01(\t\x12"\n\x05state\x18\x02 \x01(\x0e\x32\x13.boltzrpc.SwapState\x12\r\n\x05\x65rror\x18\x03 \x01(\t\x12\x0e\n\x06status\x18\x04 \x01(\t\x12\x13\n\x0bprivate_key\x18\x05 \x01(\t\x12\x10\n\x08preimage\x18\x06 \x01(\t\x12\x15\n\rredeem_script\x18\x07 \x01(\t\x12\x0f\n\x07invoice\x18\x08 \x01(\t\x12\x15\n\rclaim_address\x18\t \x01(\t\x12\x16\n\x0eonchain_amount\x18\n \x01(\x03\x12\x1c\n\x14timeout_block_height\x18\x0b \x01(\r\x12\x1d\n\x15lockup_transaction_id\x18\x0c \x01(\t\x12\x1c\n\x14\x63laim_transaction_id\x18\r \x01(\t\x12\x1c\n\x04pair\x18\x0e \x01(\x0b\x32\x0e.boltzrpc.Pair\x12%\n\x08\x63han_ids\x18\x0f \x03(\x0b\x32\x13.boltzrpc.ChannelId\x12\x19\n\x0c\x62linding_key\x18\x10 \x01(\tH\x00\x88\x01\x01\x12\x12\n\ncreated_at\x18\x11 \x01(\x03\x12\x14\n\x07paid_at\x18\x17 \x01(\x03H\x01\x88\x01\x01\x12\x18\n\x0bservice_fee\x18\x12 \x01(\x04H\x02\x88\x01\x01\x12\x18\n\x0bonchain_fee\x18\x13 \x01(\x04H\x03\x88\x01\x01\x12\x1d\n\x10routing_fee_msat\x18\x14 \x01(\x04H\x04\x88\x01\x01\x12\x14\n\x0c\x65xternal_pay
|
||
|
)
|
||
|
|
||
|
_globals = globals()
|
||
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
||
|
_builder.BuildTopDescriptorsAndMessages(
|
||
|
DESCRIPTOR, "lnbits.wallets.boltz_grpc_files.boltzrpc_pb2", _globals
|
||
|
)
|
||
|
if not _descriptor._USE_C_DESCRIPTORS:
|
||
|
_globals["DESCRIPTOR"]._loaded_options = None
|
||
|
_globals["DESCRIPTOR"]._serialized_options = (
|
||
|
b"Z.github.com/BoltzExchange/boltz-client/boltzrpc"
|
||
|
)
|
||
|
_globals["_CHANNELCREATIONINFO"]._loaded_options = None
|
||
|
_globals["_CHANNELCREATIONINFO"]._serialized_options = b"\030\001"
|
||
|
_globals["_COMBINEDCHANNELSWAPINFO"]._loaded_options = None
|
||
|
_globals["_COMBINEDCHANNELSWAPINFO"]._serialized_options = b"\030\001"
|
||
|
_globals["_GETINFORESPONSE"].fields_by_name["symbol"]._loaded_options = None
|
||
|
_globals["_GETINFORESPONSE"].fields_by_name[
|
||
|
"symbol"
|
||
|
]._serialized_options = b"\030\001"
|
||
|
_globals["_GETINFORESPONSE"].fields_by_name["lnd_pubkey"]._loaded_options = None
|
||
|
_globals["_GETINFORESPONSE"].fields_by_name[
|
||
|
"lnd_pubkey"
|
||
|
]._serialized_options = b"\030\001"
|
||
|
_globals["_GETINFORESPONSE"].fields_by_name["block_height"]._loaded_options = None
|
||
|
_globals["_GETINFORESPONSE"].fields_by_name[
|
||
|
"block_height"
|
||
|
]._serialized_options = b"\030\001"
|
||
|
_globals["_GETINFORESPONSE"].fields_by_name["pending_swaps"]._loaded_options = None
|
||
|
_globals["_GETINFORESPONSE"].fields_by_name[
|
||
|
"pending_swaps"
|
||
|
]._serialized_options = b"\030\001"
|
||
|
_globals["_GETINFORESPONSE"].fields_by_name[
|
||
|
"pending_reverse_swaps"
|
||
|
]._loaded_options = None
|
||
|
_globals["_GETINFORESPONSE"].fields_by_name[
|
||
|
"pending_reverse_swaps"
|
||
|
]._serialized_options = b"\030\001"
|
||
|
_globals["_BOLTZ"].methods_by_name["GetServiceInfo"]._loaded_options = None
|
||
|
_globals["_BOLTZ"].methods_by_name[
|
||
|
"GetServiceInfo"
|
||
|
]._serialized_options = b"\210\002\001"
|
||
|
_globals["_BOLTZ"].methods_by_name["Deposit"]._loaded_options = None
|
||
|
_globals["_BOLTZ"].methods_by_name["Deposit"]._serialized_options = b"\210\002\001"
|
||
|
_globals["_BOLTZ"].methods_by_name["CreateChannel"]._loaded_options = None
|
||
|
_globals["_BOLTZ"].methods_by_name[
|
||
|
"CreateChannel"
|
||
|
]._serialized_options = b"\210\002\001"
|
||
|
_globals["_MACAROONACTION"]._serialized_start = 8747
|
||
|
_globals["_MACAROONACTION"]._serialized_end = 8784
|
||
|
_globals["_SWAPSTATE"]._serialized_start = 8786
|
||
|
_globals["_SWAPSTATE"]._serialized_end = 8884
|
||
|
_globals["_CURRENCY"]._serialized_start = 8886
|
||
|
_globals["_CURRENCY"]._serialized_end = 8915
|
||
|
_globals["_SWAPTYPE"]._serialized_start = 8917
|
||
|
_globals["_SWAPTYPE"]._serialized_end = 8966
|
||
|
_globals["_INCLUDESWAPS"]._serialized_start = 8968
|
||
|
_globals["_INCLUDESWAPS"]._serialized_end = 9013
|
||
|
_globals["_CREATETENANTREQUEST"]._serialized_start = 89
|
||
|
_globals["_CREATETENANTREQUEST"]._serialized_end = 124
|
||
|
_globals["_LISTTENANTSREQUEST"]._serialized_start = 126
|
||
|
_globals["_LISTTENANTSREQUEST"]._serialized_end = 146
|
||
|
_globals["_LISTTENANTSRESPONSE"]._serialized_start = 148
|
||
|
_globals["_LISTTENANTSRESPONSE"]._serialized_end = 204
|
||
|
_globals["_GETTENANTREQUEST"]._serialized_start = 206
|
||
|
_globals["_GETTENANTREQUEST"]._serialized_end = 238
|
||
|
_globals["_TENANT"]._serialized_start = 240
|
||
|
_globals["_TENANT"]._serialized_end = 274
|
||
|
_globals["_MACAROONPERMISSIONS"]._serialized_start = 276
|
||
|
_globals["_MACAROONPERMISSIONS"]._serialized_end = 339
|
||
|
_globals["_BAKEMACAROONREQUEST"]._serialized_start = 341
|
||
|
_globals["_BAKEMACAROONREQUEST"]._serialized_end = 452
|
||
|
_globals["_BAKEMACAROONRESPONSE"]._serialized_start = 454
|
||
|
_globals["_BAKEMACAROONRESPONSE"]._serialized_end = 494
|
||
|
_globals["_PAIR"]._serialized_start = 496
|
||
|
_globals["_PAIR"]._serialized_end = 568
|
||
|
_globals["_SWAPINFO"]._serialized_start = 571
|
||
|
_globals["_SWAPINFO"]._serialized_end = 1202
|
||
|
_globals["_GETPAIRINFOREQUEST"]._serialized_start = 1204
|
||
|
_globals["_GETPAIRINFOREQUEST"]._serialized_end = 1288
|
||
|
_globals["_PAIRINFO"]._serialized_start = 1290
|
||
|
_globals["_PAIRINFO"]._serialized_end = 1412
|
||
|
_globals["_CHANNELCREATIONINFO"]._serialized_start = 1415
|
||
|
_globals["_CHANNELCREATIONINFO"]._serialized_end = 1583
|
||
|
_globals["_COMBINEDCHANNELSWAPINFO"]._serialized_start = 1585
|
||
|
_globals["_COMBINEDCHANNELSWAPINFO"]._serialized_end = 1705
|
||
|
_globals["_REVERSESWAPINFO"]._serialized_start = 1708
|
||
|
_globals["_REVERSESWAPINFO"]._serialized_end = 2365
|
||
|
_globals["_BLOCKHEIGHTS"]._serialized_start = 2367
|
||
|
_globals["_BLOCKHEIGHTS"]._serialized_end = 2426
|
||
|
_globals["_GETINFOREQUEST"]._serialized_start = 2428
|
||
|
_globals["_GETINFOREQUEST"]._serialized_end = 2444
|
||
|
_globals["_GETINFORESPONSE"]._serialized_start = 2447
|
||
|
_globals["_GETINFORESPONSE"]._serialized_end = 2839
|
||
|
_globals["_LIMITS"]._serialized_start = 2841
|
||
|
_globals["_LIMITS"]._serialized_end = 2917
|
||
|
_globals["_SWAPFEES"]._serialized_start = 2919
|
||
|
_globals["_SWAPFEES"]._serialized_end = 2969
|
||
|
_globals["_GETPAIRSRESPONSE"]._serialized_start = 2972
|
||
|
_globals["_GETPAIRSRESPONSE"]._serialized_end = 3101
|
||
|
_globals["_MINERFEES"]._serialized_start = 3103
|
||
|
_globals["_MINERFEES"]._serialized_end = 3147
|
||
|
_globals["_FEES"]._serialized_start = 3149
|
||
|
_globals["_FEES"]._serialized_end = 3211
|
||
|
_globals["_GETSERVICEINFOREQUEST"]._serialized_start = 3213
|
||
|
_globals["_GETSERVICEINFOREQUEST"]._serialized_end = 3236
|
||
|
_globals["_GETSERVICEINFORESPONSE"]._serialized_start = 3238
|
||
|
_globals["_GETSERVICEINFORESPONSE"]._serialized_end = 3326
|
||
|
_globals["_LISTSWAPSREQUEST"]._serialized_start = 3329
|
||
|
_globals["_LISTSWAPSREQUEST"]._serialized_end = 3531
|
||
|
_globals["_LISTSWAPSRESPONSE"]._serialized_start = 3534
|
||
|
_globals["_LISTSWAPSRESPONSE"]._serialized_end = 3746
|
||
|
_globals["_GETSTATSREQUEST"]._serialized_start = 3748
|
||
|
_globals["_GETSTATSREQUEST"]._serialized_end = 3806
|
||
|
_globals["_GETSTATSRESPONSE"]._serialized_start = 3808
|
||
|
_globals["_GETSTATSRESPONSE"]._serialized_end = 3862
|
||
|
_globals["_REFUNDSWAPREQUEST"]._serialized_start = 3864
|
||
|
_globals["_REFUNDSWAPREQUEST"]._serialized_end = 3950
|
||
|
_globals["_CLAIMSWAPSREQUEST"]._serialized_start = 3952
|
||
|
_globals["_CLAIMSWAPSREQUEST"]._serialized_end = 4044
|
||
|
_globals["_CLAIMSWAPSRESPONSE"]._serialized_start = 4046
|
||
|
_globals["_CLAIMSWAPSRESPONSE"]._serialized_end = 4090
|
||
|
_globals["_GETSWAPINFOREQUEST"]._serialized_start = 4092
|
||
|
_globals["_GETSWAPINFOREQUEST"]._serialized_end = 4124
|
||
|
_globals["_GETSWAPINFORESPONSE"]._serialized_start = 4127
|
||
|
_globals["_GETSWAPINFORESPONSE"]._serialized_end = 4333
|
||
|
_globals["_DEPOSITREQUEST"]._serialized_start = 4335
|
||
|
_globals["_DEPOSITREQUEST"]._serialized_end = 4378
|
||
|
_globals["_DEPOSITRESPONSE"]._serialized_start = 4380
|
||
|
_globals["_DEPOSITRESPONSE"]._serialized_end = 4456
|
||
|
_globals["_CREATESWAPREQUEST"]._serialized_start = 4459
|
||
|
_globals["_CREATESWAPREQUEST"]._serialized_end = 4710
|
||
|
_globals["_CREATESWAPRESPONSE"]._serialized_start = 4713
|
||
|
_globals["_CREATESWAPRESPONSE"]._serialized_end = 4870
|
||
|
_globals["_CREATECHANNELREQUEST"]._serialized_start = 4872
|
||
|
_globals["_CREATECHANNELREQUEST"]._serialized_end = 4954
|
||
|
_globals["_CREATEREVERSESWAPREQUEST"]._serialized_start = 4957
|
||
|
_globals["_CREATEREVERSESWAPREQUEST"]._serialized_end = 5270
|
||
|
_globals["_CREATEREVERSESWAPRESPONSE"]._serialized_start = 5273
|
||
|
_globals["_CREATEREVERSESWAPRESPONSE"]._serialized_end = 5492
|
||
|
_globals["_CREATECHAINSWAPREQUEST"]._serialized_start = 5495
|
||
|
_globals["_CREATECHAINSWAPREQUEST"]._serialized_end = 5893
|
||
|
_globals["_CHAINSWAPINFO"]._serialized_start = 5896
|
||
|
_globals["_CHAINSWAPINFO"]._serialized_end = 6293
|
||
|
_globals["_CHAINSWAPDATA"]._serialized_start = 6296
|
||
|
_globals["_CHAINSWAPDATA"]._serialized_end = 6704
|
||
|
_globals["_CHANNELID"]._serialized_start = 6706
|
||
|
_globals["_CHANNELID"]._serialized_end = 6743
|
||
|
_globals["_LIGHTNINGCHANNEL"]._serialized_start = 6746
|
||
|
_globals["_LIGHTNINGCHANNEL"]._serialized_end = 6875
|
||
|
_globals["_SWAPSTATS"]._serialized_start = 6878
|
||
|
_globals["_SWAPSTATS"]._serialized_end = 7007
|
||
|
_globals["_BUDGET"]._serialized_start = 7009
|
||
|
_globals["_BUDGET"]._serialized_end = 7089
|
||
|
_globals["_WALLETCREDENTIALS"]._serialized_start = 7092
|
||
|
_globals["_WALLETCREDENTIALS"]._serialized_end = 7265
|
||
|
_globals["_WALLETPARAMS"]._serialized_start = 7267
|
||
|
_globals["_WALLETPARAMS"]._serialized_end = 7369
|
||
|
_globals["_IMPORTWALLETREQUEST"]._serialized_start = 7371
|
||
|
_globals["_IMPORTWALLETREQUEST"]._serialized_end = 7482
|
||
|
_globals["_CREATEWALLETREQUEST"]._serialized_start = 7484
|
||
|
_globals["_CREATEWALLETREQUEST"]._serialized_end = 7545
|
||
|
_globals["_CREATEWALLETRESPONSE"]._serialized_start = 7547
|
||
|
_globals["_CREATEWALLETRESPONSE"]._serialized_end = 7621
|
||
|
_globals["_SETSUBACCOUNTREQUEST"]._serialized_start = 7623
|
||
|
_globals["_SETSUBACCOUNTREQUEST"]._serialized_end = 7704
|
||
|
_globals["_GETSUBACCOUNTSREQUEST"]._serialized_start = 7706
|
||
|
_globals["_GETSUBACCOUNTSREQUEST"]._serialized_end = 7748
|
||
|
_globals["_GETSUBACCOUNTSRESPONSE"]._serialized_start = 7750
|
||
|
_globals["_GETSUBACCOUNTSRESPONSE"]._serialized_end = 7851
|
||
|
_globals["_IMPORTWALLETRESPONSE"]._serialized_start = 7853
|
||
|
_globals["_IMPORTWALLETRESPONSE"]._serialized_end = 7875
|
||
|
_globals["_GETWALLETSREQUEST"]._serialized_start = 7877
|
||
|
_globals["_GETWALLETSREQUEST"]._serialized_end = 8004
|
||
|
_globals["_GETWALLETREQUEST"]._serialized_start = 8006
|
||
|
_globals["_GETWALLETREQUEST"]._serialized_end = 8076
|
||
|
_globals["_GETWALLETCREDENTIALSREQUEST"]._serialized_start = 8078
|
||
|
_globals["_GETWALLETCREDENTIALSREQUEST"]._serialized_end = 8155
|
||
|
_globals["_REMOVEWALLETREQUEST"]._serialized_start = 8157
|
||
|
_globals["_REMOVEWALLETREQUEST"]._serialized_end = 8190
|
||
|
_globals["_WALLET"]._serialized_start = 8193
|
||
|
_globals["_WALLET"]._serialized_end = 8338
|
||
|
_globals["_WALLETS"]._serialized_start = 8340
|
||
|
_globals["_WALLETS"]._serialized_end = 8384
|
||
|
_globals["_BALANCE"]._serialized_start = 8386
|
||
|
_globals["_BALANCE"]._serialized_end = 8450
|
||
|
_globals["_SUBACCOUNT"]._serialized_start = 8452
|
||
|
_globals["_SUBACCOUNT"]._serialized_end = 8531
|
||
|
_globals["_REMOVEWALLETRESPONSE"]._serialized_start = 8533
|
||
|
_globals["_REMOVEWALLETRESPONSE"]._serialized_end = 8555
|
||
|
_globals["_UNLOCKREQUEST"]._serialized_start = 8557
|
||
|
_globals["_UNLOCKREQUEST"]._serialized_end = 8590
|
||
|
_globals["_VERIFYWALLETPASSWORDREQUEST"]._serialized_start = 8592
|
||
|
_globals["_VERIFYWALLETPASSWORDREQUEST"]._serialized_end = 8639
|
||
|
_globals["_VERIFYWALLETPASSWORDRESPONSE"]._serialized_start = 8641
|
||
|
_globals["_VERIFYWALLETPASSWORDRESPONSE"]._serialized_end = 8688
|
||
|
_globals["_CHANGEWALLETPASSWORDREQUEST"]._serialized_start = 8690
|
||
|
_globals["_CHANGEWALLETPASSWORDREQUEST"]._serialized_end = 8745
|
||
|
_globals["_BOLTZ"]._serialized_start = 9016
|
||
|
_globals["_BOLTZ"]._serialized_end = 11324
|
||
|
# @@protoc_insertion_point(module_scope)
|