abstract-solana 0.0.2.109__py3-none-any.whl → 0.0.2.111__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.
- abstract_solana/utils/bondingCurves.py +4 -4
- {abstract_solana-0.0.2.109.dist-info → abstract_solana-0.0.2.111.dist-info}/METADATA +1 -1
- {abstract_solana-0.0.2.109.dist-info → abstract_solana-0.0.2.111.dist-info}/RECORD +5 -5
- {abstract_solana-0.0.2.109.dist-info → abstract_solana-0.0.2.111.dist-info}/WHEEL +0 -0
- {abstract_solana-0.0.2.109.dist-info → abstract_solana-0.0.2.111.dist-info}/top_level.txt +0 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
from .pubKeyUtils import get_pubkey,pubkey_find_program_address,Pubkey,create_associated_token_account, get_associated_token_address
|
|
2
2
|
from ..pumpFun import PUMP_FUN_PROGRAM
|
|
3
3
|
def derive_associated_bonding_curve(mint,programId=None):
|
|
4
|
-
return get_associated_token_address(derive_bonding_curve(mint,programId)[0], get_pubkey(mint))
|
|
4
|
+
return get_associated_token_address(derive_bonding_curve(mint,get_pubkey(programId))[0], get_pubkey(mint))
|
|
5
5
|
def derive_bonding_curve(mint,programId=None):
|
|
6
6
|
programId = programId or PUMP_FUN_PROGRAM
|
|
7
|
-
return Pubkey.find_program_address(["bonding-curve".encode(), get_pubkey_bytes(mint)],programId)
|
|
7
|
+
return Pubkey.find_program_address(["bonding-curve".encode(), get_pubkey_bytes(mint)],get_pubkey(programId))
|
|
8
8
|
def derive_bonding_curve_accounts(mint_str: str,programId=None):
|
|
9
9
|
mintPubKey = get_pubkey(mint_str)
|
|
10
10
|
if not mintPubKey.is_on_curve():
|
|
@@ -22,7 +22,7 @@ def isOnCurve(obj):
|
|
|
22
22
|
return is_on_curve
|
|
23
23
|
def derive_associated_bonding_curve(mint,programId=None):
|
|
24
24
|
programId = programId or PUMP_FUN_PROGRAM
|
|
25
|
-
return get_associated_token_address(derive_bonding_curve(mint,programId)[0], get_pubkey(mint))
|
|
25
|
+
return get_associated_token_address(derive_bonding_curve(mint,get_pubkey(programId))[0], get_pubkey(mint))
|
|
26
26
|
def derive_bonding_curve(mint,programId=None):
|
|
27
27
|
programId = programId or PUMP_FUN_PROGRAM
|
|
28
|
-
return pubkey_find_program_address("bonding-curve",mint,programId)
|
|
28
|
+
return pubkey_find_program_address("bonding-curve",mint,get_pubkey(programId))
|
|
@@ -24,10 +24,10 @@ abstract_solana/pump_functions/buy_sell_pump.py,sha256=gjv_1et20s1Li0ygcURofO29V
|
|
|
24
24
|
abstract_solana/pump_functions/pump_fun_keys.py,sha256=BeWbV9_wd-c6ydF33drW-gZBDPWolbsMZL4cNhP3eOU,8537
|
|
25
25
|
abstract_solana/pump_functions/token_utils.py,sha256=O-Fgj3L1NhND-k4INa3WvLAEXg2N9u1fVqyLFzn1PwM,2714
|
|
26
26
|
abstract_solana/utils/__init__.py,sha256=9wyZpK5Gv3xMhmhHWA9OarvH3VqLXLO6mx4RNU6bgSo,89
|
|
27
|
-
abstract_solana/utils/bondingCurves.py,sha256=
|
|
27
|
+
abstract_solana/utils/bondingCurves.py,sha256=tl4U0-PbfF1o0wyNS0MekFpapKPyBh92t-o3Q3RkzPE,1682
|
|
28
28
|
abstract_solana/utils/genesis_functions.py,sha256=-O44ZHYb6zrhvqhPpN1cZzdUpvON2q4sPblS4Ezo-ag,2223
|
|
29
29
|
abstract_solana/utils/pubKeyUtils.py,sha256=U65LTPgf-2u31FmEdpp-le4DWCsgBUrfH7c5wb-EtK8,1821
|
|
30
|
-
abstract_solana-0.0.2.
|
|
31
|
-
abstract_solana-0.0.2.
|
|
32
|
-
abstract_solana-0.0.2.
|
|
33
|
-
abstract_solana-0.0.2.
|
|
30
|
+
abstract_solana-0.0.2.111.dist-info/METADATA,sha256=9x7mO67CT0GEQUv73Kh2u2HWtGD2zVJAZbDtpH8wIQQ,1162
|
|
31
|
+
abstract_solana-0.0.2.111.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
|
32
|
+
abstract_solana-0.0.2.111.dist-info/top_level.txt,sha256=SsJYent8eZQ0FU2jmP8wTj7aFZFhNwxxP-5cCTQ2B-o,16
|
|
33
|
+
abstract_solana-0.0.2.111.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|