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

@@ -6,6 +6,7 @@ from solders.instruction import Instruction
6
6
  from solana.rpc.types import TokenAccountOpts,TxOpts
7
7
  from solana.transaction import Transaction
8
8
  from abstract_solcatcher import getLatestBlockHash
9
+ from abstract_utilities import get_any_value
9
10
  from ..pubkey_utils import Pubkey,get_pubkey
10
11
  from ..constants import PUMP_FUN_PROGRAM_PUBKEY,LAMPORTS_PER_SOL
11
12
  from solders.compute_budget import set_compute_unit_limit, set_compute_unit_price
@@ -78,7 +79,7 @@ def buildTxn(mint,payer_pubkey, amount, slippage, token_account_pubkey,sol_in=0,
78
79
  data.extend(struct.pack('<Q', limit_sol_change))
79
80
  swap_instruction = Instruction(PUMP_FUN_PROGRAM_PUBKEY, bytes(data), keys)
80
81
  blockHash = getLatestBlockHash(commitment="processed")
81
- recent_blockhash = get_any_value(blockHash.json(),'blockhash')
82
+ recent_blockhash = get_any_value(blockHash,'blockhash')
82
83
  recent_blockhash = Hash.from_string(recent_blockhash)
83
84
  txn = Transaction(recent_blockhash=recent_blockhash, fee_payer=payer_pubkey)
84
85
  txn.add(set_compute_unit_price(UNIT_PRICE))
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: abstract_solana
3
- Version: 0.0.0.52
3
+ Version: 0.0.0.54
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=GJoSL7hGiBSFumQd1M3VO9GPir7D0PrYGmYWmHiTtIk,7190
14
+ abstract_solana/pumpFun/buy_sell_pump.py,sha256=d2UOtbAr1EcoxbnC6_fQTpwPhduAaOPbcwvDYrulMuQ,7228
15
15
  abstract_solana/pumpFun/pumpFunKeys.py,sha256=yMS_fT-0ESndluVpZ17XdMhpXVtSfhtIG5njy7DJkfI,7961
16
16
  abstract_solana/pumpFun/pump_fun_keys.py,sha256=x3mY2_lKyNilj2GWfSioHeVp1o72MtAmHXLEXerlGkE,8038
17
17
  abstract_solana/pumpFun/token_utils.py,sha256=UDsSMm5R6_Qh51TRlCU6O5w8SqWhhOW-WdBUczgdloQ,2336
18
- abstract_solana-0.0.0.52.dist-info/METADATA,sha256=45WLxaNC4LBpDGEd67HH6NSgQ_AugJ5G8LxwVM6hK-8,924
19
- abstract_solana-0.0.0.52.dist-info/WHEEL,sha256=cVxcB9AmuTcXqmwrtPhNK88dr7IR_b6qagTj0UvIEbY,91
20
- abstract_solana-0.0.0.52.dist-info/top_level.txt,sha256=SsJYent8eZQ0FU2jmP8wTj7aFZFhNwxxP-5cCTQ2B-o,16
21
- abstract_solana-0.0.0.52.dist-info/RECORD,,
18
+ abstract_solana-0.0.0.54.dist-info/METADATA,sha256=l0SYr1QkInKHKVbwgtg8E5CIt2WnN9qy7mofeD1P18Q,924
19
+ abstract_solana-0.0.0.54.dist-info/WHEEL,sha256=cVxcB9AmuTcXqmwrtPhNK88dr7IR_b6qagTj0UvIEbY,91
20
+ abstract_solana-0.0.0.54.dist-info/top_level.txt,sha256=SsJYent8eZQ0FU2jmP8wTj7aFZFhNwxxP-5cCTQ2B-o,16
21
+ abstract_solana-0.0.0.54.dist-info/RECORD,,