original_docstring: 
      Generates transaction XDR full of claimable balance operations
      takes tewardee (array of tuples (pub_key, amount)) where pub_key is str and amount is float
      returns XDR as string | None if unable to load account
      
docstring: Generates transaction XDR full of claimable balance operations
  takes tewardee (array of tuples (pub_key, amount)) where pub_key is str and amount is float
  returns XDR as string | None if unable to load account
docstring_tokens: Generates transaction XDR full of claimable balance operations takes tewardee ( array of tuples ( pub_key amount )) where pub_key is str and amount is float returns XDR as string | None if unable to load account
code: def generate_reward_tx(rewardee, base_fee = None):
      """
      Generates transaction XDR full of claimable balance operations
      takes tewardee (array of tuples (pub_key, amount)) where pub_key is str and amount is float
      returns XDR as string | None if unable to load account
      """
      try:
          source_acc = server.load_account(PUBLIC_KEY) # fetch sequence or will it be used with a fee bump?
      except:
          print(f"Failed to load public reward account {PUBLIC_KEY}!")
          return None
  
      fee = BASE_FEE
  
      try:
          fee = server.fetch_base_fee() if base_fee == None else base_fee
      except:
          print(f"Error fetching base fees from networking! Defaulting to {BASE_FEE}")
      tx = TransactionBuilder(
          source_account=source_acc,
          network_passphrase=STELLAR_PASSPHRASE,
          base_fee=fee
          )\
              .add_text_memo("Lumenaut reward!")
      
      for rewarded in rewardee:
          reward = round(rewarded[1], 7)
          if reward <= 0:
              continue
  
          tx.append_create_claimable_balance_op(
              asset=asset.Asset.native(), 
              amount=str(reward),
              claimants=[Claimant(rewarded[0]), Claimant(PUBLIC_KEY)]
          )
  
      now = int(time.time())
      xdr = tx.add_time_bounds(now, 0).build().to_xdr() # make valid one day from now
  
      return xdr
code_tokens: def generate_reward_tx ( rewardee , base_fee = None ) : try : source_acc = server . load_account ( PUBLIC_KEY ) except : print ( f"Failed to load public reward account {PUBLIC_KEY}!" ) return None fee = BASE_FEE try : fee = server . fetch_base_fee ( ) if base_fee == None else base_fee except : print ( f"Error fetching base fees from networking! Defaulting to {BASE_FEE}" ) tx = TransactionBuilder ( source_account = source_acc , network_passphrase = STELLAR_PASSPHRASE , base_fee = fee ) . add_text_memo ( "Lumenaut reward!" ) for rewarded in rewardee : reward = round ( rewarded [ 1 ] , 7 ) if reward <= 0 : continue tx . append_create_claimable_balance_op ( asset = asset . Asset . native ( ) , amount = str ( reward ) , claimants = [ Claimant ( rewarded [ 0 ] ) , Claimant ( PUBLIC_KEY ) ] ) now = int ( time . time ( ) ) xdr = tx . add_time_bounds ( now , 0 ) . build ( ) . to_xdr ( ) return xdr
short_docstring: Generates transaction XDR full of claimable balance operations
  takes tewardee (array of tuples (pub_key, amount)) where pub_key is str and amount is float
  returns XDR as string | None if unable to load account
short_docstring_tokens: Generates transaction XDR full of claimable balance operations takes tewardee ( array of tuples ( pub_key amount )) where pub_key is str and amount is float returns XDR as string | None if unable to load account
comment: """
      Generates transaction XDR full of claimable balance operations
      takes tewardee (array of tuples (pub_key, amount)) where pub_key is str and amount is float
      returns XDR as string | None if unable to load account
      """$SEP$# fetch sequence or will it be used with a fee bump?$SEP$# make valid one day from now