@indexing/jiti 0.0.70 → 0.0.71
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.
- package/dist/main.js +25 -2
- package/dist/main.js.map +1 -1
- package/dist/module.js +25 -2
- package/dist/module.js.map +1 -1
- package/dist/types.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/module.js
CHANGED
|
@@ -1395,13 +1395,14 @@ const $64e1e522540ffc4e$export$a51565c56ceacb0a = {
|
|
|
1395
1395
|
$64e1e522540ffc4e$var$SPL_TOKEN_2022_PROGRAM
|
|
1396
1396
|
].includes(programId)) {
|
|
1397
1397
|
// TRANSFER, TRANSFER CHECKED
|
|
1398
|
-
if (instSig.startsWith("3,") && inst.accounts.length
|
|
1398
|
+
if (instSig.startsWith("3,") && inst.accounts.length >= 3 || instSig.startsWith("12,") && inst.accounts.length >= 4) {
|
|
1399
1399
|
const amountData = $64e1e522540ffc4e$require$Buffer.from(instData).slice(1, 9);
|
|
1400
1400
|
if (amountData.length < 8) continue;
|
|
1401
1401
|
const amount = BigInt(amountData.readBigUInt64LE(0).toString());
|
|
1402
1402
|
const fromIdx = inst.accounts[0];
|
|
1403
1403
|
let toIdx = inst.accounts.length === 5 ? inst.accounts[4] : inst.accounts[inst.accounts.length - 2];
|
|
1404
|
-
if (
|
|
1404
|
+
if (programId === $64e1e522540ffc4e$var$SPL_TOKEN_PROGRAM && inst.accounts.length === 5) toIdx = inst.accounts[2];
|
|
1405
|
+
else if (programId === $64e1e522540ffc4e$var$SPL_TOKEN_PROGRAM && inst.accounts.length === 4 && instSig.startsWith("3,")) toIdx = inst.accounts[1];
|
|
1405
1406
|
let from = createdAccountsToOwner[allAccounts[fromIdx]];
|
|
1406
1407
|
let to = createdAccountsToOwner[allAccounts[toIdx]];
|
|
1407
1408
|
let mint;
|
|
@@ -2860,6 +2861,28 @@ const $64e1e522540ffc4e$export$a51565c56ceacb0a = {
|
|
|
2860
2861
|
transactionHash: "GxodFb9CmZfNwduEbtKdFtBs3CEgFt5h4MAPsA2pwQWMr2jiYWX1SvGoyRftmwQDVYdqvwEbPNrU8gJEeTU1u5T"
|
|
2861
2862
|
}
|
|
2862
2863
|
]
|
|
2864
|
+
},
|
|
2865
|
+
{
|
|
2866
|
+
params: {
|
|
2867
|
+
network: "SOLANA",
|
|
2868
|
+
transactionHash: "3eeMTdpdDftMN2KCNbwLg2kYycgVGU1ojMwHocqNtYgSXpcsrdxwzVPaHZpZYQFkXH7ndnAtDo8h4m6DP5jGjvyX",
|
|
2869
|
+
contractAddress: "oreoU2P8bN6jkk3jbaiVxYnG1dCXcYxwhwyK9jSybcp"
|
|
2870
|
+
},
|
|
2871
|
+
payload: "https://jiti.indexing.co/networks/solana/379199656",
|
|
2872
|
+
output: [
|
|
2873
|
+
{
|
|
2874
|
+
amount: 3074929252449n,
|
|
2875
|
+
blockNumber: 379199656,
|
|
2876
|
+
from: "EJ8trQpEqfFBrfdxccvspySexWPwci73Nhs2pUgkxwPQ",
|
|
2877
|
+
index: "3-1",
|
|
2878
|
+
timestamp: "2025-11-10T16:46:28.000Z",
|
|
2879
|
+
to: "AwUZyzJ9T9KD84kGTjNUBwzxWobysdX7wVeTXV8yVkG3",
|
|
2880
|
+
token: "oreoU2P8bN6jkk3jbaiVxYnG1dCXcYxwhwyK9jSybcp",
|
|
2881
|
+
tokenType: "TOKEN",
|
|
2882
|
+
transactionGasFee: 5000n,
|
|
2883
|
+
transactionHash: "3eeMTdpdDftMN2KCNbwLg2kYycgVGU1ojMwHocqNtYgSXpcsrdxwzVPaHZpZYQFkXH7ndnAtDo8h4m6DP5jGjvyX"
|
|
2884
|
+
}
|
|
2885
|
+
]
|
|
2863
2886
|
}
|
|
2864
2887
|
]
|
|
2865
2888
|
};
|