abstract-solana 0.0.0.45__py3-none-any.whl → 0.0.0.47__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of abstract-solana might be problematic. Click here for more details.

@@ -112,7 +112,7 @@ def get_all_buy_sell_info(mint,payer_pubkey,token_balance=None,sol_in=0):
112
112
  # Calculate token price
113
113
  token_price = get_token_price(mint_str)
114
114
  print(f"Token Price: {token_price:.20f} SOL")
115
- amount = int(sol_in_lamports * token_price)
115
+ amount = int(LAMPORTS_PER_SOL * token_price)
116
116
  print("Calculated Amount:", amount)
117
117
  if token_balance == None:
118
118
  token_balance = get_token_balance(token_account,mint_str)
@@ -1,5 +1,6 @@
1
1
  from ..constants import TOKEN_DECIMAL_EXP,SOL_DECIMAL_EXP
2
2
  from ..pubkey_utils import Pubkey
3
+ from .pump_fun_keys import get_pump_fun_data
3
4
  from abstract_solcatcher import getTokenAccountBalance,getTokenAccountsByOwner
4
5
  from spl.token.instructions import create_associated_token_account, get_associated_token_address
5
6
  from abstract_utilities import get_any_value
@@ -11,7 +12,7 @@ def get_token_balance(payer,mint: str):
11
12
  def get_token_price(mint: str) -> float:
12
13
  try:
13
14
  # Get coin data
14
- coin_data = get_coin_data(str(mint))
15
+ coin_data = get_pump_fun_data(str(mint))
15
16
  if not coin_data:
16
17
  print("Failed to retrieve coin data...")
17
18
  return None
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: abstract_solana
3
- Version: 0.0.0.45
3
+ Version: 0.0.0.47
4
4
  Home-page: https://github.com/AbstractEndeavors/abstract_solana
5
5
  Author: putkoff
6
6
  Author-email: partners@abstractendeavors.com
@@ -11,11 +11,11 @@ abstract_solana/pumpFunKeys.py,sha256=KHZyQ_GFS9XzmNNMzEDQkAZsiM5Mpua6ZE1e3WebEr
11
11
  abstract_solana/signature_data_parse.py,sha256=5AOMtJZADWcwR0JLDbd2kXZNzW129qeB0lvYUrE_tm0,1974
12
12
  abstract_solana/utils.py,sha256=RcnGEiZ0aJbcw8ObpjHU3WUFU4Tmy-exCs6qIbEu4_c,444
13
13
  abstract_solana/pumpFun/__init__.py,sha256=BiRxwJd1JWwEft63zqYwZ_Xs6UDp4hjczjzvuwy3sHg,85
14
- abstract_solana/pumpFun/buy_sell_pump.py,sha256=bMKC7bNhawySd9aTMbVAqDD9b-D_j8zHzEjjiQEK_f8,6990
14
+ abstract_solana/pumpFun/buy_sell_pump.py,sha256=JeAboNug8FmMhCUynuSsQQRovcrs7GS9h8PEBYKV1oM,6991
15
15
  abstract_solana/pumpFun/pumpFunKeys.py,sha256=yMS_fT-0ESndluVpZ17XdMhpXVtSfhtIG5njy7DJkfI,7961
16
16
  abstract_solana/pumpFun/pump_fun_keys.py,sha256=lL7afQx3-PYOHz69rm7Cyr2_tLp0nFXLZAd-7tvztm8,7963
17
- abstract_solana/pumpFun/token_utils.py,sha256=jLNqYxV3Ak7clmODPdmajfGsrrRswT5IvffZasi-0w4,2287
18
- abstract_solana-0.0.0.45.dist-info/METADATA,sha256=Z-j7ZvEey8fUmP57tYoUtH-A_mHrxnQqKXOtkY9mlBQ,924
19
- abstract_solana-0.0.0.45.dist-info/WHEEL,sha256=cVxcB9AmuTcXqmwrtPhNK88dr7IR_b6qagTj0UvIEbY,91
20
- abstract_solana-0.0.0.45.dist-info/top_level.txt,sha256=SsJYent8eZQ0FU2jmP8wTj7aFZFhNwxxP-5cCTQ2B-o,16
21
- abstract_solana-0.0.0.45.dist-info/RECORD,,
17
+ abstract_solana/pumpFun/token_utils.py,sha256=UDsSMm5R6_Qh51TRlCU6O5w8SqWhhOW-WdBUczgdloQ,2336
18
+ abstract_solana-0.0.0.47.dist-info/METADATA,sha256=iCwI7XTyoprWLmHu3tRk83tyNGJkvqtb3h01BK_LcJI,924
19
+ abstract_solana-0.0.0.47.dist-info/WHEEL,sha256=cVxcB9AmuTcXqmwrtPhNK88dr7IR_b6qagTj0UvIEbY,91
20
+ abstract_solana-0.0.0.47.dist-info/top_level.txt,sha256=SsJYent8eZQ0FU2jmP8wTj7aFZFhNwxxP-5cCTQ2B-o,16
21
+ abstract_solana-0.0.0.47.dist-info/RECORD,,