abstract-solana 0.0.0.19__py3-none-any.whl → 0.0.0.21__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/log_message_functions.py +2 -7
- {abstract_solana-0.0.0.19.dist-info → abstract_solana-0.0.0.21.dist-info}/METADATA +1 -1
- {abstract_solana-0.0.0.19.dist-info → abstract_solana-0.0.0.21.dist-info}/RECORD +5 -5
- {abstract_solana-0.0.0.19.dist-info → abstract_solana-0.0.0.21.dist-info}/WHEEL +0 -0
- {abstract_solana-0.0.0.19.dist-info → abstract_solana-0.0.0.21.dist-info}/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
from abstract_utilities import make_list
|
|
2
2
|
import json,pprint
|
|
3
|
-
from .
|
|
3
|
+
from .price_utils import *
|
|
4
4
|
from .signature_data_parse import get_log_messages_from_txn,get_instructions_from_txn,get_inner_instructions_from_txn
|
|
5
5
|
from .account_key_utils import get_all_account_keys
|
|
6
6
|
from .constants import TOKEN_PROGRAM_ID
|
|
@@ -126,12 +126,7 @@ def associate_logs_with_instructions(txnData):
|
|
|
126
126
|
instruction_stack_height = instruction.get('stackHeight', 1)
|
|
127
127
|
if instruction_program_id == log_programId and instruction_stack_height == log_stackHeight:
|
|
128
128
|
# Add log data to the matching instruction
|
|
129
|
-
instruction
|
|
130
|
-
instruction['event'] = None if log['events'] == [] else log['events'][0]
|
|
131
|
-
instruction['start'] = log['start']
|
|
132
|
-
instruction['end'] = log['end']
|
|
133
|
-
instruction['stackHeight'] = instruction_stack_height
|
|
134
|
-
instruction['programId'] = instruction_program_id
|
|
129
|
+
instruction.update(log)
|
|
135
130
|
instruction['associatedAccounts'] = [accountKeys[index] for index in instruction['accounts']]
|
|
136
131
|
if instIndex == 0:
|
|
137
132
|
instructions[i] = instruction
|
|
@@ -3,12 +3,12 @@ abstract_solana/account_key_utils.py,sha256=VMJd4GOTK1vn8UZsfXDnjxDOGoQWGY6fvflJ
|
|
|
3
3
|
abstract_solana/constants.py,sha256=m1TsZLBAgcdM7Rrw_3_6YrFU9zdVFpghZXZKk7T38J8,1624
|
|
4
4
|
abstract_solana/genesis_functions.py,sha256=2WRQUxN9j-dpLfYIBiX3URM-_uDGkh-eTy08Gi-qWgo,939
|
|
5
5
|
abstract_solana/index_utils.py,sha256=Ed07BYTZWp-SVfpthAUqjRY00U3ZYldPCqd7LJy9AO8,1884
|
|
6
|
-
abstract_solana/log_message_functions.py,sha256
|
|
6
|
+
abstract_solana/log_message_functions.py,sha256=-qGO4rJRHKVEV8eqs4OCe5Rx1osTlEoc07fUruMBFp8,8080
|
|
7
7
|
abstract_solana/price_utils.py,sha256=BLkwFLhlsTHeW0NTdzCAUi2xhc2lX7SrHz5sslDbUrY,4288
|
|
8
8
|
abstract_solana/pubkey_utils.py,sha256=TAYF74fKAuTBnqIP2SnA-BttO5uoHbxI9BRZRpGCMNY,2010
|
|
9
9
|
abstract_solana/signature_data_parse.py,sha256=5AOMtJZADWcwR0JLDbd2kXZNzW129qeB0lvYUrE_tm0,1974
|
|
10
10
|
abstract_solana/utils.py,sha256=Y1nyq-x7GqN09MEDrmiBM5iNDLJHDafFZ_lXrV0ua8k,348
|
|
11
|
-
abstract_solana-0.0.0.
|
|
12
|
-
abstract_solana-0.0.0.
|
|
13
|
-
abstract_solana-0.0.0.
|
|
14
|
-
abstract_solana-0.0.0.
|
|
11
|
+
abstract_solana-0.0.0.21.dist-info/METADATA,sha256=3binE1O3R30L8MbtLaQn_Agrg1J_33WloaMty3C6uOs,924
|
|
12
|
+
abstract_solana-0.0.0.21.dist-info/WHEEL,sha256=cVxcB9AmuTcXqmwrtPhNK88dr7IR_b6qagTj0UvIEbY,91
|
|
13
|
+
abstract_solana-0.0.0.21.dist-info/top_level.txt,sha256=SsJYent8eZQ0FU2jmP8wTj7aFZFhNwxxP-5cCTQ2B-o,16
|
|
14
|
+
abstract_solana-0.0.0.21.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|