abstract-solana 0.0.0.47__py3-none-any.whl → 0.0.0.49__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.

@@ -9,7 +9,7 @@ from ..pubkey_utils import Pubkey,get_pubkey
9
9
  from ..constants import PUMP_FUN_PROGRAM_PUBKEY,LAMPORTS_PER_SOL
10
10
  from solders.compute_budget import set_compute_unit_limit, set_compute_unit_price
11
11
  from .token_utils import get_token_balance,check_existing_token_account,get_token_price
12
-
12
+ from .pump_fun_keys import getKeys
13
13
  def sendTransaction(txn: Transaction, payer_keypair, opts=TxOpts(skip_preflight=True)) -> dict:
14
14
  # Sign the transaction
15
15
  txn.sign(payer_keypair)
@@ -126,6 +126,7 @@ def get_all_buy_sell_info(mint,payer_pubkey,token_balance=None,sol_in=0):
126
126
  def pump_fun_sell(mint: str,payer_pubkey:Pubkey, token_balance: Optional[Union[int, float]] = None, slippage: int = 25, close_token_account: bool = True) -> bool:
127
127
  mint,amount,token_balance,token_price,token_account_pubkey,token_account_instructions = get_all_buy_sell_info(mint,payer_pubkey,token_balance=token_balance)
128
128
  return buildTxn(mint=mint,
129
+ payer_pubkey=payer_pubkey,
129
130
  amount=amount,
130
131
  slippage=slippage,
131
132
  sol_in=0,
@@ -139,6 +140,7 @@ def pump_fun_buy(mint: str,payer_pubkey:Pubkey, sol_in: float = 0.001, slippage:
139
140
  mint,amount,token_balance,token_price,token_account_pubkey,token_account_instructions = get_all_buy_sell_info(mint,payer_pubkey,sol_in=sol_in)
140
141
  # Build the transaction
141
142
  return buildTxn(mint=mint,
143
+ payer_pubkey=payer_pubkey,
142
144
  amount=amount,
143
145
  slippage=slippage,
144
146
  sol_in=sol_in,
@@ -104,7 +104,7 @@ def get_pump_fun_data(mint_str: str):
104
104
 
105
105
  def getKeys(mint_str,token_account,payer_pubkey,buy=True):
106
106
  coin_data = get_pump_fun_data(str(mint_str))
107
- MINT = get_pubkey(mint_str)
107
+ MINT = get_pubkey(str(mint_str))
108
108
  BONDING_CURVE = get_pubkey(coin_data['bonding_curve'])
109
109
  ASSOCIATED_BONDING_CURVE = get_pubkey(coin_data['associated_bonding_curve'])
110
110
  ASSOCIATED_USER = get_pubkey(token_account)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: abstract_solana
3
- Version: 0.0.0.47
3
+ Version: 0.0.0.49
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=JeAboNug8FmMhCUynuSsQQRovcrs7GS9h8PEBYKV1oM,6991
14
+ abstract_solana/pumpFun/buy_sell_pump.py,sha256=hqPlOpCVoOumI7ShDALf_q9jSSYVcdF8yrgvaXRWoQE,7105
15
15
  abstract_solana/pumpFun/pumpFunKeys.py,sha256=yMS_fT-0ESndluVpZ17XdMhpXVtSfhtIG5njy7DJkfI,7961
16
- abstract_solana/pumpFun/pump_fun_keys.py,sha256=lL7afQx3-PYOHz69rm7Cyr2_tLp0nFXLZAd-7tvztm8,7963
16
+ abstract_solana/pumpFun/pump_fun_keys.py,sha256=2D5gg_XgMDhSR_0Ai92MySvSzuHFYO2YloksZQjnySU,7968
17
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,,
18
+ abstract_solana-0.0.0.49.dist-info/METADATA,sha256=DFY6qU20xHAAIdPSUJ7OkKjNL24h242GSO55nPS84u0,924
19
+ abstract_solana-0.0.0.49.dist-info/WHEEL,sha256=cVxcB9AmuTcXqmwrtPhNK88dr7IR_b6qagTj0UvIEbY,91
20
+ abstract_solana-0.0.0.49.dist-info/top_level.txt,sha256=SsJYent8eZQ0FU2jmP8wTj7aFZFhNwxxP-5cCTQ2B-o,16
21
+ abstract_solana-0.0.0.49.dist-info/RECORD,,