@ -446,6 +446,26 @@ class NEMImportanceTransferMode(IntEnum):
ImportanceTransfer_Deactivate = 2
ImportanceTransfer_Deactivate = 2
class StellarAssetType ( IntEnum ) :
NATIVE = 0
ALPHANUM4 = 1
ALPHANUM12 = 2
class StellarMemoType ( IntEnum ) :
NONE = 0
TEXT = 1
ID = 2
HASH = 3
RETURN = 4
class StellarSignerType ( IntEnum ) :
ACCOUNT = 0
PRE_AUTH = 1
HASH = 2
class TezosContractType ( IntEnum ) :
class TezosContractType ( IntEnum ) :
Implicit = 0
Implicit = 0
Originated = 1
Originated = 1
@ -5887,10 +5907,10 @@ class RipplePayment(protobuf.MessageType):
self . destination_tag = destination_tag
self . destination_tag = destination_tag
class StellarAsset Type ( protobuf . MessageType ) :
class StellarAsset ( protobuf . MessageType ) :
MESSAGE_WIRE_TYPE = None
MESSAGE_WIRE_TYPE = None
FIELDS = {
FIELDS = {
1 : protobuf . Field ( " type " , " uint32 " , repeated = False , required = True ) ,
1 : protobuf . Field ( " type " , " StellarAssetType " , repeated = False , required = True ) ,
2 : protobuf . Field ( " code " , " string " , repeated = False , required = False ) ,
2 : protobuf . Field ( " code " , " string " , repeated = False , required = False ) ,
3 : protobuf . Field ( " issuer " , " string " , repeated = False , required = False ) ,
3 : protobuf . Field ( " issuer " , " string " , repeated = False , required = False ) ,
}
}
@ -5898,7 +5918,7 @@ class StellarAssetType(protobuf.MessageType):
def __init__ (
def __init__ (
self ,
self ,
* ,
* ,
type : " int " ,
type : " StellarAssetType " ,
code : Optional [ " str " ] = None ,
code : Optional [ " str " ] = None ,
issuer : Optional [ " str " ] = None ,
issuer : Optional [ " str " ] = None ,
) - > None :
) - > None :
@ -5942,47 +5962,47 @@ class StellarSignTx(protobuf.MessageType):
MESSAGE_WIRE_TYPE = 202
MESSAGE_WIRE_TYPE = 202
FIELDS = {
FIELDS = {
2 : protobuf . Field ( " address_n " , " uint32 " , repeated = True , required = False ) ,
2 : protobuf . Field ( " address_n " , " uint32 " , repeated = True , required = False ) ,
3 : protobuf . Field ( " network_passphrase " , " string " , repeated = False , required = Fals e) ,
3 : protobuf . Field ( " network_passphrase " , " string " , repeated = False , required = Tru e) ,
4 : protobuf . Field ( " source_account " , " string " , repeated = False , required = Fals e) ,
4 : protobuf . Field ( " source_account " , " string " , repeated = False , required = Tru e) ,
5 : protobuf . Field ( " fee " , " uint32 " , repeated = False , required = Fals e) ,
5 : protobuf . Field ( " fee " , " uint32 " , repeated = False , required = Tru e) ,
6 : protobuf . Field ( " sequence_number " , " uint64 " , repeated = False , required = Fals e) ,
6 : protobuf . Field ( " sequence_number " , " uint64 " , repeated = False , required = Tru e) ,
8 : protobuf . Field ( " timebounds_start " , " uint32 " , repeated = False , required = False ) ,
8 : protobuf . Field ( " timebounds_start " , " uint32 " , repeated = False , required = False ) ,
9 : protobuf . Field ( " timebounds_end " , " uint32 " , repeated = False , required = False ) ,
9 : protobuf . Field ( " timebounds_end " , " uint32 " , repeated = False , required = False ) ,
10 : protobuf . Field ( " memo_type " , " uint32 " , repeated = False , required = Fals e) ,
10 : protobuf . Field ( " memo_type " , " StellarMemoType " , repeated = False , required = Tru e) ,
11 : protobuf . Field ( " memo_text " , " string " , repeated = False , required = False ) ,
11 : protobuf . Field ( " memo_text " , " string " , repeated = False , required = False ) ,
12 : protobuf . Field ( " memo_id " , " uint64 " , repeated = False , required = False ) ,
12 : protobuf . Field ( " memo_id " , " uint64 " , repeated = False , required = False ) ,
13 : protobuf . Field ( " memo_hash " , " bytes " , repeated = False , required = False ) ,
13 : protobuf . Field ( " memo_hash " , " bytes " , repeated = False , required = False ) ,
14 : protobuf . Field ( " num_operations " , " uint32 " , repeated = False , required = Fals e) ,
14 : protobuf . Field ( " num_operations " , " uint32 " , repeated = False , required = Tru e) ,
}
}
def __init__ (
def __init__ (
self ,
self ,
* ,
* ,
network_passphrase : " str " ,
source_account : " str " ,
fee : " int " ,
sequence_number : " int " ,
memo_type : " StellarMemoType " ,
num_operations : " int " ,
address_n : Optional [ List [ " int " ] ] = None ,
address_n : Optional [ List [ " int " ] ] = None ,
network_passphrase : Optional [ " str " ] = None ,
source_account : Optional [ " str " ] = None ,
fee : Optional [ " int " ] = None ,
sequence_number : Optional [ " int " ] = None ,
timebounds_start : Optional [ " int " ] = None ,
timebounds_start : Optional [ " int " ] = None ,
timebounds_end : Optional [ " int " ] = None ,
timebounds_end : Optional [ " int " ] = None ,
memo_type : Optional [ " int " ] = None ,
memo_text : Optional [ " str " ] = None ,
memo_text : Optional [ " str " ] = None ,
memo_id : Optional [ " int " ] = None ,
memo_id : Optional [ " int " ] = None ,
memo_hash : Optional [ " bytes " ] = None ,
memo_hash : Optional [ " bytes " ] = None ,
num_operations : Optional [ " int " ] = None ,
) - > None :
) - > None :
self . address_n = address_n if address_n is not None else [ ]
self . address_n = address_n if address_n is not None else [ ]
self . network_passphrase = network_passphrase
self . network_passphrase = network_passphrase
self . source_account = source_account
self . source_account = source_account
self . fee = fee
self . fee = fee
self . sequence_number = sequence_number
self . sequence_number = sequence_number
self . memo_type = memo_type
self . num_operations = num_operations
self . timebounds_start = timebounds_start
self . timebounds_start = timebounds_start
self . timebounds_end = timebounds_end
self . timebounds_end = timebounds_end
self . memo_type = memo_type
self . memo_text = memo_text
self . memo_text = memo_text
self . memo_id = memo_id
self . memo_id = memo_id
self . memo_hash = memo_hash
self . memo_hash = memo_hash
self . num_operations = num_operations
class StellarTxOpRequest ( protobuf . MessageType ) :
class StellarTxOpRequest ( protobuf . MessageType ) :
@ -5993,136 +6013,136 @@ class StellarPaymentOp(protobuf.MessageType):
MESSAGE_WIRE_TYPE = 211
MESSAGE_WIRE_TYPE = 211
FIELDS = {
FIELDS = {
1 : protobuf . Field ( " source_account " , " string " , repeated = False , required = False ) ,
1 : protobuf . Field ( " source_account " , " string " , repeated = False , required = False ) ,
2 : protobuf . Field ( " destination_account " , " string " , repeated = False , required = Fals e) ,
2 : protobuf . Field ( " destination_account " , " string " , repeated = False , required = Tru e) ,
3 : protobuf . Field ( " asset " , " StellarAsset Type " , repeated = False , required = Fals e) ,
3 : protobuf . Field ( " asset " , " StellarAsset " , repeated = False , required = Tru e) ,
4 : protobuf . Field ( " amount " , " sint64 " , repeated = False , required = Fals e) ,
4 : protobuf . Field ( " amount " , " sint64 " , repeated = False , required = Tru e) ,
}
}
def __init__ (
def __init__ (
self ,
self ,
* ,
* ,
destination_account : " str " ,
asset : " StellarAsset " ,
amount : " int " ,
source_account : Optional [ " str " ] = None ,
source_account : Optional [ " str " ] = None ,
destination_account : Optional [ " str " ] = None ,
asset : Optional [ " StellarAssetType " ] = None ,
amount : Optional [ " int " ] = None ,
) - > None :
) - > None :
self . source_account = source_account
self . destination_account = destination_account
self . destination_account = destination_account
self . asset = asset
self . asset = asset
self . amount = amount
self . amount = amount
self . source_account = source_account
class StellarCreateAccountOp ( protobuf . MessageType ) :
class StellarCreateAccountOp ( protobuf . MessageType ) :
MESSAGE_WIRE_TYPE = 210
MESSAGE_WIRE_TYPE = 210
FIELDS = {
FIELDS = {
1 : protobuf . Field ( " source_account " , " string " , repeated = False , required = False ) ,
1 : protobuf . Field ( " source_account " , " string " , repeated = False , required = False ) ,
2 : protobuf . Field ( " new_account " , " string " , repeated = False , required = Fals e) ,
2 : protobuf . Field ( " new_account " , " string " , repeated = False , required = Tru e) ,
3 : protobuf . Field ( " starting_balance " , " sint64 " , repeated = False , required = Fals e) ,
3 : protobuf . Field ( " starting_balance " , " sint64 " , repeated = False , required = Tru e) ,
}
}
def __init__ (
def __init__ (
self ,
self ,
* ,
* ,
new_account : " str " ,
starting_balance : " int " ,
source_account : Optional [ " str " ] = None ,
source_account : Optional [ " str " ] = None ,
new_account : Optional [ " str " ] = None ,
starting_balance : Optional [ " int " ] = None ,
) - > None :
) - > None :
self . source_account = source_account
self . new_account = new_account
self . new_account = new_account
self . starting_balance = starting_balance
self . starting_balance = starting_balance
self . source_account = source_account
class StellarPathPaymentOp ( protobuf . MessageType ) :
class StellarPathPaymentOp ( protobuf . MessageType ) :
MESSAGE_WIRE_TYPE = 212
MESSAGE_WIRE_TYPE = 212
FIELDS = {
FIELDS = {
1 : protobuf . Field ( " source_account " , " string " , repeated = False , required = False ) ,
1 : protobuf . Field ( " source_account " , " string " , repeated = False , required = False ) ,
2 : protobuf . Field ( " send_asset " , " StellarAsset Type " , repeated = False , required = Fals e) ,
2 : protobuf . Field ( " send_asset " , " StellarAsset " , repeated = False , required = Tru e) ,
3 : protobuf . Field ( " send_max " , " sint64 " , repeated = False , required = Fals e) ,
3 : protobuf . Field ( " send_max " , " sint64 " , repeated = False , required = Tru e) ,
4 : protobuf . Field ( " destination_account " , " string " , repeated = False , required = Fals e) ,
4 : protobuf . Field ( " destination_account " , " string " , repeated = False , required = Tru e) ,
5 : protobuf . Field ( " destination_asset " , " StellarAsset Type " , repeated = False , required = Fals e) ,
5 : protobuf . Field ( " destination_asset " , " StellarAsset " , repeated = False , required = Tru e) ,
6 : protobuf . Field ( " destination_amount " , " sint64 " , repeated = False , required = Fals e) ,
6 : protobuf . Field ( " destination_amount " , " sint64 " , repeated = False , required = Tru e) ,
7 : protobuf . Field ( " paths " , " StellarAsset Type " , repeated = True , required = False ) ,
7 : protobuf . Field ( " paths " , " StellarAsset " , repeated = True , required = False ) ,
}
}
def __init__ (
def __init__ (
self ,
self ,
* ,
* ,
paths : Optional [ List [ " StellarAssetType " ] ] = None ,
send_asset : " StellarAsset " ,
send_max : " int " ,
destination_account : " str " ,
destination_asset : " StellarAsset " ,
destination_amount : " int " ,
paths : Optional [ List [ " StellarAsset " ] ] = None ,
source_account : Optional [ " str " ] = None ,
source_account : Optional [ " str " ] = None ,
send_asset : Optional [ " StellarAssetType " ] = None ,
send_max : Optional [ " int " ] = None ,
destination_account : Optional [ " str " ] = None ,
destination_asset : Optional [ " StellarAssetType " ] = None ,
destination_amount : Optional [ " int " ] = None ,
) - > None :
) - > None :
self . paths = paths if paths is not None else [ ]
self . paths = paths if paths is not None else [ ]
self . source_account = source_account
self . send_asset = send_asset
self . send_asset = send_asset
self . send_max = send_max
self . send_max = send_max
self . destination_account = destination_account
self . destination_account = destination_account
self . destination_asset = destination_asset
self . destination_asset = destination_asset
self . destination_amount = destination_amount
self . destination_amount = destination_amount
self . source_account = source_account
class StellarManageOfferOp ( protobuf . MessageType ) :
class StellarManageOfferOp ( protobuf . MessageType ) :
MESSAGE_WIRE_TYPE = 213
MESSAGE_WIRE_TYPE = 213
FIELDS = {
FIELDS = {
1 : protobuf . Field ( " source_account " , " string " , repeated = False , required = False ) ,
1 : protobuf . Field ( " source_account " , " string " , repeated = False , required = False ) ,
2 : protobuf . Field ( " selling_asset " , " StellarAsset Type " , repeated = False , required = Fals e) ,
2 : protobuf . Field ( " selling_asset " , " StellarAsset " , repeated = False , required = Tru e) ,
3 : protobuf . Field ( " buying_asset " , " StellarAsset Type " , repeated = False , required = Fals e) ,
3 : protobuf . Field ( " buying_asset " , " StellarAsset " , repeated = False , required = Tru e) ,
4 : protobuf . Field ( " amount " , " sint64 " , repeated = False , required = Fals e) ,
4 : protobuf . Field ( " amount " , " sint64 " , repeated = False , required = Tru e) ,
5 : protobuf . Field ( " price_n " , " uint32 " , repeated = False , required = Fals e) ,
5 : protobuf . Field ( " price_n " , " uint32 " , repeated = False , required = Tru e) ,
6 : protobuf . Field ( " price_d " , " uint32 " , repeated = False , required = Fals e) ,
6 : protobuf . Field ( " price_d " , " uint32 " , repeated = False , required = Tru e) ,
7 : protobuf . Field ( " offer_id " , " uint64 " , repeated = False , required = Fals e) ,
7 : protobuf . Field ( " offer_id " , " uint64 " , repeated = False , required = Tru e) ,
}
}
def __init__ (
def __init__ (
self ,
self ,
* ,
* ,
selling_asset : " StellarAsset " ,
buying_asset : " StellarAsset " ,
amount : " int " ,
price_n : " int " ,
price_d : " int " ,
offer_id : " int " ,
source_account : Optional [ " str " ] = None ,
source_account : Optional [ " str " ] = None ,
selling_asset : Optional [ " StellarAssetType " ] = None ,
buying_asset : Optional [ " StellarAssetType " ] = None ,
amount : Optional [ " int " ] = None ,
price_n : Optional [ " int " ] = None ,
price_d : Optional [ " int " ] = None ,
offer_id : Optional [ " int " ] = None ,
) - > None :
) - > None :
self . source_account = source_account
self . selling_asset = selling_asset
self . selling_asset = selling_asset
self . buying_asset = buying_asset
self . buying_asset = buying_asset
self . amount = amount
self . amount = amount
self . price_n = price_n
self . price_n = price_n
self . price_d = price_d
self . price_d = price_d
self . offer_id = offer_id
self . offer_id = offer_id
self . source_account = source_account
class StellarCreatePassiveOfferOp ( protobuf . MessageType ) :
class StellarCreatePassiveOfferOp ( protobuf . MessageType ) :
MESSAGE_WIRE_TYPE = 214
MESSAGE_WIRE_TYPE = 214
FIELDS = {
FIELDS = {
1 : protobuf . Field ( " source_account " , " string " , repeated = False , required = False ) ,
1 : protobuf . Field ( " source_account " , " string " , repeated = False , required = False ) ,
2 : protobuf . Field ( " selling_asset " , " StellarAsset Type " , repeated = False , required = Fals e) ,
2 : protobuf . Field ( " selling_asset " , " StellarAsset " , repeated = False , required = Tru e) ,
3 : protobuf . Field ( " buying_asset " , " StellarAsset Type " , repeated = False , required = Fals e) ,
3 : protobuf . Field ( " buying_asset " , " StellarAsset " , repeated = False , required = Tru e) ,
4 : protobuf . Field ( " amount " , " sint64 " , repeated = False , required = Fals e) ,
4 : protobuf . Field ( " amount " , " sint64 " , repeated = False , required = Tru e) ,
5 : protobuf . Field ( " price_n " , " uint32 " , repeated = False , required = Fals e) ,
5 : protobuf . Field ( " price_n " , " uint32 " , repeated = False , required = Tru e) ,
6 : protobuf . Field ( " price_d " , " uint32 " , repeated = False , required = Fals e) ,
6 : protobuf . Field ( " price_d " , " uint32 " , repeated = False , required = Tru e) ,
}
}
def __init__ (
def __init__ (
self ,
self ,
* ,
* ,
selling_asset : " StellarAsset " ,
buying_asset : " StellarAsset " ,
amount : " int " ,
price_n : " int " ,
price_d : " int " ,
source_account : Optional [ " str " ] = None ,
source_account : Optional [ " str " ] = None ,
selling_asset : Optional [ " StellarAssetType " ] = None ,
buying_asset : Optional [ " StellarAssetType " ] = None ,
amount : Optional [ " int " ] = None ,
price_n : Optional [ " int " ] = None ,
price_d : Optional [ " int " ] = None ,
) - > None :
) - > None :
self . source_account = source_account
self . selling_asset = selling_asset
self . selling_asset = selling_asset
self . buying_asset = buying_asset
self . buying_asset = buying_asset
self . amount = amount
self . amount = amount
self . price_n = price_n
self . price_n = price_n
self . price_d = price_d
self . price_d = price_d
self . source_account = source_account
class StellarSetOptionsOp ( protobuf . MessageType ) :
class StellarSetOptionsOp ( protobuf . MessageType ) :
@ -6137,7 +6157,7 @@ class StellarSetOptionsOp(protobuf.MessageType):
7 : protobuf . Field ( " medium_threshold " , " uint32 " , repeated = False , required = False ) ,
7 : protobuf . Field ( " medium_threshold " , " uint32 " , repeated = False , required = False ) ,
8 : protobuf . Field ( " high_threshold " , " uint32 " , repeated = False , required = False ) ,
8 : protobuf . Field ( " high_threshold " , " uint32 " , repeated = False , required = False ) ,
9 : protobuf . Field ( " home_domain " , " string " , repeated = False , required = False ) ,
9 : protobuf . Field ( " home_domain " , " string " , repeated = False , required = False ) ,
10 : protobuf . Field ( " signer_type " , " uint32 " , repeated = False , required = False ) ,
10 : protobuf . Field ( " signer_type " , " StellarSignerType " , repeated = False , required = False ) ,
11 : protobuf . Field ( " signer_key " , " bytes " , repeated = False , required = False ) ,
11 : protobuf . Field ( " signer_key " , " bytes " , repeated = False , required = False ) ,
12 : protobuf . Field ( " signer_weight " , " uint32 " , repeated = False , required = False ) ,
12 : protobuf . Field ( " signer_weight " , " uint32 " , repeated = False , required = False ) ,
}
}
@ -6154,7 +6174,7 @@ class StellarSetOptionsOp(protobuf.MessageType):
medium_threshold : Optional [ " int " ] = None ,
medium_threshold : Optional [ " int " ] = None ,
high_threshold : Optional [ " int " ] = None ,
high_threshold : Optional [ " int " ] = None ,
home_domain : Optional [ " str " ] = None ,
home_domain : Optional [ " str " ] = None ,
signer_type : Optional [ " int " ] = None ,
signer_type : Optional [ " StellarSignerType " ] = None ,
signer_key : Optional [ " bytes " ] = None ,
signer_key : Optional [ " bytes " ] = None ,
signer_weight : Optional [ " int " ] = None ,
signer_weight : Optional [ " int " ] = None ,
) - > None :
) - > None :
@ -6176,82 +6196,82 @@ class StellarChangeTrustOp(protobuf.MessageType):
MESSAGE_WIRE_TYPE = 216
MESSAGE_WIRE_TYPE = 216
FIELDS = {
FIELDS = {
1 : protobuf . Field ( " source_account " , " string " , repeated = False , required = False ) ,
1 : protobuf . Field ( " source_account " , " string " , repeated = False , required = False ) ,
2 : protobuf . Field ( " asset " , " StellarAsset Type " , repeated = False , required = Fals e) ,
2 : protobuf . Field ( " asset " , " StellarAsset " , repeated = False , required = Tru e) ,
3 : protobuf . Field ( " limit " , " uint64 " , repeated = False , required = Fals e) ,
3 : protobuf . Field ( " limit " , " uint64 " , repeated = False , required = Tru e) ,
}
}
def __init__ (
def __init__ (
self ,
self ,
* ,
* ,
asset : " StellarAsset " ,
limit : " int " ,
source_account : Optional [ " str " ] = None ,
source_account : Optional [ " str " ] = None ,
asset : Optional [ " StellarAssetType " ] = None ,
limit : Optional [ " int " ] = None ,
) - > None :
) - > None :
self . source_account = source_account
self . asset = asset
self . asset = asset
self . limit = limit
self . limit = limit
self . source_account = source_account
class StellarAllowTrustOp ( protobuf . MessageType ) :
class StellarAllowTrustOp ( protobuf . MessageType ) :
MESSAGE_WIRE_TYPE = 217
MESSAGE_WIRE_TYPE = 217
FIELDS = {
FIELDS = {
1 : protobuf . Field ( " source_account " , " string " , repeated = False , required = False ) ,
1 : protobuf . Field ( " source_account " , " string " , repeated = False , required = False ) ,
2 : protobuf . Field ( " trusted_account " , " string " , repeated = False , required = Fals e) ,
2 : protobuf . Field ( " trusted_account " , " string " , repeated = False , required = Tru e) ,
3 : protobuf . Field ( " asset_type " , " uint32 " , repeated = False , required = Fals e) ,
3 : protobuf . Field ( " asset_type " , " StellarAssetType " , repeated = False , required = Tru e) ,
4 : protobuf . Field ( " asset_code " , " string " , repeated = False , required = False ) ,
4 : protobuf . Field ( " asset_code " , " string " , repeated = False , required = False ) ,
5 : protobuf . Field ( " is_authorized " , " uint32 " , repeated = False , required = Fals e) ,
5 : protobuf . Field ( " is_authorized " , " bool " , repeated = False , required = Tru e) ,
}
}
def __init__ (
def __init__ (
self ,
self ,
* ,
* ,
trusted_account : " str " ,
asset_type : " StellarAssetType " ,
is_authorized : " bool " ,
source_account : Optional [ " str " ] = None ,
source_account : Optional [ " str " ] = None ,
trusted_account : Optional [ " str " ] = None ,
asset_type : Optional [ " int " ] = None ,
asset_code : Optional [ " str " ] = None ,
asset_code : Optional [ " str " ] = None ,
is_authorized : Optional [ " int " ] = None ,
) - > None :
) - > None :
self . source_account = source_account
self . trusted_account = trusted_account
self . trusted_account = trusted_account
self . asset_type = asset_type
self . asset_type = asset_type
self . asset_code = asset_code
self . is_authorized = is_authorized
self . is_authorized = is_authorized
self . source_account = source_account
self . asset_code = asset_code
class StellarAccountMergeOp ( protobuf . MessageType ) :
class StellarAccountMergeOp ( protobuf . MessageType ) :
MESSAGE_WIRE_TYPE = 218
MESSAGE_WIRE_TYPE = 218
FIELDS = {
FIELDS = {
1 : protobuf . Field ( " source_account " , " string " , repeated = False , required = False ) ,
1 : protobuf . Field ( " source_account " , " string " , repeated = False , required = False ) ,
2 : protobuf . Field ( " destination_account " , " string " , repeated = False , required = Fals e) ,
2 : protobuf . Field ( " destination_account " , " string " , repeated = False , required = Tru e) ,
}
}
def __init__ (
def __init__ (
self ,
self ,
* ,
* ,
destination_account : " str " ,
source_account : Optional [ " str " ] = None ,
source_account : Optional [ " str " ] = None ,
destination_account : Optional [ " str " ] = None ,
) - > None :
) - > None :
self . source_account = source_account
self . destination_account = destination_account
self . destination_account = destination_account
self . source_account = source_account
class StellarManageDataOp ( protobuf . MessageType ) :
class StellarManageDataOp ( protobuf . MessageType ) :
MESSAGE_WIRE_TYPE = 220
MESSAGE_WIRE_TYPE = 220
FIELDS = {
FIELDS = {
1 : protobuf . Field ( " source_account " , " string " , repeated = False , required = False ) ,
1 : protobuf . Field ( " source_account " , " string " , repeated = False , required = False ) ,
2 : protobuf . Field ( " key " , " string " , repeated = False , required = Fals e) ,
2 : protobuf . Field ( " key " , " string " , repeated = False , required = Tru e) ,
3 : protobuf . Field ( " value " , " bytes " , repeated = False , required = False ) ,
3 : protobuf . Field ( " value " , " bytes " , repeated = False , required = False ) ,
}
}
def __init__ (
def __init__ (
self ,
self ,
* ,
* ,
key : " str " ,
source_account : Optional [ " str " ] = None ,
source_account : Optional [ " str " ] = None ,
key : Optional [ " str " ] = None ,
value : Optional [ " bytes " ] = None ,
value : Optional [ " bytes " ] = None ,
) - > None :
) - > None :
self . source_account = source_account
self . key = key
self . key = key
self . source_account = source_account
self . value = value
self . value = value
@ -6259,17 +6279,17 @@ class StellarBumpSequenceOp(protobuf.MessageType):
MESSAGE_WIRE_TYPE = 221
MESSAGE_WIRE_TYPE = 221
FIELDS = {
FIELDS = {
1 : protobuf . Field ( " source_account " , " string " , repeated = False , required = False ) ,
1 : protobuf . Field ( " source_account " , " string " , repeated = False , required = False ) ,
2 : protobuf . Field ( " bump_to " , " uint64 " , repeated = False , required = Fals e) ,
2 : protobuf . Field ( " bump_to " , " uint64 " , repeated = False , required = Tru e) ,
}
}
def __init__ (
def __init__ (
self ,
self ,
* ,
* ,
bump_to : " int " ,
source_account : Optional [ " str " ] = None ,
source_account : Optional [ " str " ] = None ,
bump_to : Optional [ " int " ] = None ,
) - > None :
) - > None :
self . source_account = source_account
self . bump_to = bump_to
self . bump_to = bump_to
self . source_account = source_account
class StellarSignedTx ( protobuf . MessageType ) :
class StellarSignedTx ( protobuf . MessageType ) :