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

@@ -1,6 +1,8 @@
1
1
  from solders.pubkey import Pubkey
2
2
  from solders.signature import Signature
3
3
  from spl.token.instructions import create_associated_token_account, get_associated_token_address
4
+
5
+
4
6
  def pubkey_find_program_address(string,address,programId):
5
7
  return Pubkey.find_program_address([str(string).encode(), bytes(get_pubkey(address))],get_pubkey(programId))
6
8
 
@@ -53,6 +55,10 @@ def get_pubkey_bytes(obj):
53
55
  except:
54
56
  return obj
55
57
 
58
+ def get_pubkey_base58(obj):
59
+ pubkey = get_pubkey(obj)
60
+ address = pubkey.to_base58() # Convert to string
61
+ return address
56
62
 
57
63
  def get_sigkey(obj):
58
64
  if is_sigkey(obj):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: abstract_solana
3
- Version: 0.0.2.111
3
+ Version: 0.0.2.112
4
4
  Home-page: https://github.com/AbstractEndeavors/abstract_solana
5
5
  Author: putkoff
6
6
  Author-email: partners@abstractendeavors.com
@@ -26,8 +26,8 @@ abstract_solana/pump_functions/token_utils.py,sha256=O-Fgj3L1NhND-k4INa3WvLAEXg2
26
26
  abstract_solana/utils/__init__.py,sha256=9wyZpK5Gv3xMhmhHWA9OarvH3VqLXLO6mx4RNU6bgSo,89
27
27
  abstract_solana/utils/bondingCurves.py,sha256=tl4U0-PbfF1o0wyNS0MekFpapKPyBh92t-o3Q3RkzPE,1682
28
28
  abstract_solana/utils/genesis_functions.py,sha256=-O44ZHYb6zrhvqhPpN1cZzdUpvON2q4sPblS4Ezo-ag,2223
29
- abstract_solana/utils/pubKeyUtils.py,sha256=U65LTPgf-2u31FmEdpp-le4DWCsgBUrfH7c5wb-EtK8,1821
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,,
29
+ abstract_solana/utils/pubKeyUtils.py,sha256=Ol6ntLBCCAWWdnZGVwuoFG5HKGFSWLfs65LJ1H9DId0,1953
30
+ abstract_solana-0.0.2.112.dist-info/METADATA,sha256=ohqxxv9gJ31v-ASK3WlPorQDsosvSUI0ePPSyeQyyIM,1162
31
+ abstract_solana-0.0.2.112.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
32
+ abstract_solana-0.0.2.112.dist-info/top_level.txt,sha256=SsJYent8eZQ0FU2jmP8wTj7aFZFhNwxxP-5cCTQ2B-o,16
33
+ abstract_solana-0.0.2.112.dist-info/RECORD,,