abstract-solana 0.0.1.8__py3-none-any.whl → 0.0.1.10__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/abstract_rpcs/solana_rpc_client.py +2 -4
- {abstract_solana-0.0.1.8.dist-info → abstract_solana-0.0.1.10.dist-info}/METADATA +1 -1
- {abstract_solana-0.0.1.8.dist-info → abstract_solana-0.0.1.10.dist-info}/RECORD +5 -5
- {abstract_solana-0.0.1.8.dist-info → abstract_solana-0.0.1.10.dist-info}/WHEEL +0 -0
- {abstract_solana-0.0.1.8.dist-info → abstract_solana-0.0.1.10.dist-info}/top_level.txt +0 -0
|
@@ -39,14 +39,14 @@ def call_function(function,*args,**kwargs):
|
|
|
39
39
|
result = None
|
|
40
40
|
return result
|
|
41
41
|
def get_defaults():
|
|
42
|
-
return {'encoding': "jsonParsed",'usize': 1024,'preflightCommitment': 'confirmed','sig_verify': True,'commitment': 'confirmed','maxSupportedTransactionVersion': 0,'max_supported_transaction_version': 0,'skipPreflight': True,'opts': {'skipPreflight': True, 'preflightCommitment': 'confirmed'}}
|
|
42
|
+
return {'limit':1000,'encoding': "jsonParsed",'usize': 1024,'preflightCommitment': 'confirmed','sig_verify': True,'commitment': 'confirmed','maxSupportedTransactionVersion': 0,'max_supported_transaction_version': 0,'skipPreflight': True,'opts': {'skipPreflight': True, 'preflightCommitment': 'confirmed'}}
|
|
43
43
|
def get_default_value(key):
|
|
44
44
|
return get_defaults().get(key)
|
|
45
45
|
def convert_value(key,value):
|
|
46
46
|
default_value = get_default_value(key)
|
|
47
47
|
if value is None and default_value:
|
|
48
48
|
return default_value
|
|
49
|
-
pubkeys = ['pubkeys','pubkey','mint','owner','delegate']
|
|
49
|
+
pubkeys = ['address','account','pubkeys','pubkey','mint','owner','delegate']
|
|
50
50
|
if key in pubkeys:
|
|
51
51
|
if isinstance(value,list):
|
|
52
52
|
value = [get_pubkey(pubkey) for pubkey in value]
|
|
@@ -82,6 +82,4 @@ def get_rpc_dict(endpoint,*args,**kwargs):
|
|
|
82
82
|
variables = get_params(function)
|
|
83
83
|
kwargs = get_conversions(variables,*args,**kwargs)
|
|
84
84
|
kwargs = json.loads(str(call_function(function,**kwargs)))
|
|
85
|
-
if 'maxSupportedTransactionVersion' in kwargs.get('params',['',{}])[1] and not is_number(kwargs.get('params',['',{}])[1].get('maxSupportedTransactionVersion')):
|
|
86
|
-
kwargs['params'][1]['maxSupportedTransactionVersion'] = 0
|
|
87
85
|
return kwargs
|
|
@@ -3,7 +3,7 @@ abstract_solana/abstract_rpcs/__init__.py,sha256=esRi0CTqg6xvAb13TmfTWJSUR9zbFJl
|
|
|
3
3
|
abstract_solana/abstract_rpcs/db_templates.py,sha256=sjdHfHIq9bO6VuDm3hwzn46NUrXXrGnB0knYNeVU7k8,29839
|
|
4
4
|
abstract_solana/abstract_rpcs/get_api_gui.py,sha256=OZ61HHb0gwdYjirwFFmnwk8z9x5np3cecCj9MdmuF8U,12372
|
|
5
5
|
abstract_solana/abstract_rpcs/get_body.py,sha256=UV85217q7mIpYOhVZdnzfmgZxD3QM0w0J0oevXyYtdE,51272
|
|
6
|
-
abstract_solana/abstract_rpcs/solana_rpc_client.py,sha256=
|
|
6
|
+
abstract_solana/abstract_rpcs/solana_rpc_client.py,sha256=9cFFpwr9Clhr7y3QbcFwH0-NSsOsglv54r228DrHs_g,3446
|
|
7
7
|
abstract_solana/abstract_utils/__init__.py,sha256=HCbBVQ5BIFCVkFqqTMHp1Y__YQAO4HTq_KHVdMCe89U,296
|
|
8
8
|
abstract_solana/abstract_utils/account_key_utils.py,sha256=VMJd4GOTK1vn8UZsfXDnjxDOGoQWGY6fvflJqPZ7Xvs,877
|
|
9
9
|
abstract_solana/abstract_utils/constants.py,sha256=cSmCKzQiNZocX1YkKYrdY-O449aYhi7BT_j-45HZN-E,1418
|
|
@@ -19,7 +19,7 @@ abstract_solana/pump_functions/__init__.py,sha256=BiRxwJd1JWwEft63zqYwZ_Xs6UDp4h
|
|
|
19
19
|
abstract_solana/pump_functions/buy_sell_pump.py,sha256=gjv_1et20s1Li0ygcURofO29VPkO1v-a5G5Bo_sZs_c,7860
|
|
20
20
|
abstract_solana/pump_functions/pump_fun_keys.py,sha256=BeWbV9_wd-c6ydF33drW-gZBDPWolbsMZL4cNhP3eOU,8537
|
|
21
21
|
abstract_solana/pump_functions/token_utils.py,sha256=O-Fgj3L1NhND-k4INa3WvLAEXg2N9u1fVqyLFzn1PwM,2714
|
|
22
|
-
abstract_solana-0.0.1.
|
|
23
|
-
abstract_solana-0.0.1.
|
|
24
|
-
abstract_solana-0.0.1.
|
|
25
|
-
abstract_solana-0.0.1.
|
|
22
|
+
abstract_solana-0.0.1.10.dist-info/METADATA,sha256=tq8X8MwbFZ5CKngGBYclj0vSrudUrIShQL-DeQMXQ8c,981
|
|
23
|
+
abstract_solana-0.0.1.10.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
|
|
24
|
+
abstract_solana-0.0.1.10.dist-info/top_level.txt,sha256=SsJYent8eZQ0FU2jmP8wTj7aFZFhNwxxP-5cCTQ2B-o,16
|
|
25
|
+
abstract_solana-0.0.1.10.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|