@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/main.js
CHANGED
|
@@ -1405,13 +1405,14 @@ const $fc7ca671efecc378$export$a51565c56ceacb0a = {
|
|
|
1405
1405
|
$fc7ca671efecc378$var$SPL_TOKEN_2022_PROGRAM
|
|
1406
1406
|
].includes(programId)) {
|
|
1407
1407
|
// TRANSFER, TRANSFER CHECKED
|
|
1408
|
-
if (instSig.startsWith("3,") && inst.accounts.length
|
|
1408
|
+
if (instSig.startsWith("3,") && inst.accounts.length >= 3 || instSig.startsWith("12,") && inst.accounts.length >= 4) {
|
|
1409
1409
|
const amountData = $fc7ca671efecc378$require$Buffer.from(instData).slice(1, 9);
|
|
1410
1410
|
if (amountData.length < 8) continue;
|
|
1411
1411
|
const amount = BigInt(amountData.readBigUInt64LE(0).toString());
|
|
1412
1412
|
const fromIdx = inst.accounts[0];
|
|
1413
1413
|
let toIdx = inst.accounts.length === 5 ? inst.accounts[4] : inst.accounts[inst.accounts.length - 2];
|
|
1414
|
-
if (
|
|
1414
|
+
if (programId === $fc7ca671efecc378$var$SPL_TOKEN_PROGRAM && inst.accounts.length === 5) toIdx = inst.accounts[2];
|
|
1415
|
+
else if (programId === $fc7ca671efecc378$var$SPL_TOKEN_PROGRAM && inst.accounts.length === 4 && instSig.startsWith("3,")) toIdx = inst.accounts[1];
|
|
1415
1416
|
let from = createdAccountsToOwner[allAccounts[fromIdx]];
|
|
1416
1417
|
let to = createdAccountsToOwner[allAccounts[toIdx]];
|
|
1417
1418
|
let mint;
|
|
@@ -2870,6 +2871,28 @@ const $fc7ca671efecc378$export$a51565c56ceacb0a = {
|
|
|
2870
2871
|
transactionHash: "GxodFb9CmZfNwduEbtKdFtBs3CEgFt5h4MAPsA2pwQWMr2jiYWX1SvGoyRftmwQDVYdqvwEbPNrU8gJEeTU1u5T"
|
|
2871
2872
|
}
|
|
2872
2873
|
]
|
|
2874
|
+
},
|
|
2875
|
+
{
|
|
2876
|
+
params: {
|
|
2877
|
+
network: "SOLANA",
|
|
2878
|
+
transactionHash: "3eeMTdpdDftMN2KCNbwLg2kYycgVGU1ojMwHocqNtYgSXpcsrdxwzVPaHZpZYQFkXH7ndnAtDo8h4m6DP5jGjvyX",
|
|
2879
|
+
contractAddress: "oreoU2P8bN6jkk3jbaiVxYnG1dCXcYxwhwyK9jSybcp"
|
|
2880
|
+
},
|
|
2881
|
+
payload: "https://jiti.indexing.co/networks/solana/379199656",
|
|
2882
|
+
output: [
|
|
2883
|
+
{
|
|
2884
|
+
amount: 3074929252449n,
|
|
2885
|
+
blockNumber: 379199656,
|
|
2886
|
+
from: "EJ8trQpEqfFBrfdxccvspySexWPwci73Nhs2pUgkxwPQ",
|
|
2887
|
+
index: "3-1",
|
|
2888
|
+
timestamp: "2025-11-10T16:46:28.000Z",
|
|
2889
|
+
to: "AwUZyzJ9T9KD84kGTjNUBwzxWobysdX7wVeTXV8yVkG3",
|
|
2890
|
+
token: "oreoU2P8bN6jkk3jbaiVxYnG1dCXcYxwhwyK9jSybcp",
|
|
2891
|
+
tokenType: "TOKEN",
|
|
2892
|
+
transactionGasFee: 5000n,
|
|
2893
|
+
transactionHash: "3eeMTdpdDftMN2KCNbwLg2kYycgVGU1ojMwHocqNtYgSXpcsrdxwzVPaHZpZYQFkXH7ndnAtDo8h4m6DP5jGjvyX"
|
|
2894
|
+
}
|
|
2895
|
+
]
|
|
2873
2896
|
}
|
|
2874
2897
|
]
|
|
2875
2898
|
};
|