@indexing/jiti 0.0.68 → 0.0.70
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 +48 -3
- package/dist/main.js.map +1 -1
- package/dist/module.js +48 -3
- 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
|
@@ -1410,7 +1410,8 @@ const $fc7ca671efecc378$export$a51565c56ceacb0a = {
|
|
|
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 (inst.accounts.length === 5 && programId === $fc7ca671efecc378$var$SPL_TOKEN_PROGRAM) toIdx = inst.accounts[2];
|
|
1414
1415
|
let from = createdAccountsToOwner[allAccounts[fromIdx]];
|
|
1415
1416
|
let to = createdAccountsToOwner[allAccounts[toIdx]];
|
|
1416
1417
|
let mint;
|
|
@@ -1425,8 +1426,8 @@ const $fc7ca671efecc378$export$a51565c56ceacb0a = {
|
|
|
1425
1426
|
}
|
|
1426
1427
|
if (from && to && mint) break;
|
|
1427
1428
|
}
|
|
1428
|
-
if (!from) from = allAccounts[fromIdx] || signer;
|
|
1429
|
-
if (!to) to = allAccounts[toIdx] || signer;
|
|
1429
|
+
if (!from) from = svmTx.meta.preTokenBalances.find((ptb)=>ptb.accountIndex === fromIdx + 1)?.owner || allAccounts[fromIdx] || signer;
|
|
1430
|
+
if (!to) to = svmTx.meta.postTokenBalances.find((ptb)=>ptb.accountIndex === toIdx + 1)?.owner || allAccounts[toIdx] || signer;
|
|
1430
1431
|
txTransfers.push({
|
|
1431
1432
|
amount: amount,
|
|
1432
1433
|
blockNumber: block.parentSlot + 1,
|
|
@@ -2825,6 +2826,50 @@ const $fc7ca671efecc378$export$a51565c56ceacb0a = {
|
|
|
2825
2826
|
transactionHash: "5Rndx2MH75VSy5mviPwV6UjF8ESNsvQPfRsnDUxKEA8g9e4RDDs34LSsGA3PEqPiKHctP7NciPVRAJQnAh5X5RYU"
|
|
2826
2827
|
}
|
|
2827
2828
|
]
|
|
2829
|
+
},
|
|
2830
|
+
{
|
|
2831
|
+
params: {
|
|
2832
|
+
network: "SOLANA",
|
|
2833
|
+
transactionHash: "5e9vdMRoae9xGbDdcbiG3skxniuXyigxQiKY9quMht9xzToYqvuKHV8Qo38j4oNVmAfiKAtPniFrL4AB6hPw5H3T",
|
|
2834
|
+
walletAddress: "ECuAG1KtnnNYW5bx3h356Gr69P2UekxYSy4vkg9tB9qG"
|
|
2835
|
+
},
|
|
2836
|
+
payload: "https://jiti.indexing.co/networks/solana/381660142",
|
|
2837
|
+
output: [
|
|
2838
|
+
{
|
|
2839
|
+
amount: 40000000n,
|
|
2840
|
+
blockNumber: 381660142,
|
|
2841
|
+
from: "39guB1KD47dafdw7a6vsYzyPoA8iD55EDLcBKoUCrim3",
|
|
2842
|
+
index: "1",
|
|
2843
|
+
timestamp: "2025-11-22T01:09:01.000Z",
|
|
2844
|
+
to: "ECuAG1KtnnNYW5bx3h356Gr69P2UekxYSy4vkg9tB9qG",
|
|
2845
|
+
token: "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
|
|
2846
|
+
tokenType: "TOKEN",
|
|
2847
|
+
transactionGasFee: 5000n,
|
|
2848
|
+
transactionHash: "5e9vdMRoae9xGbDdcbiG3skxniuXyigxQiKY9quMht9xzToYqvuKHV8Qo38j4oNVmAfiKAtPniFrL4AB6hPw5H3T"
|
|
2849
|
+
}
|
|
2850
|
+
]
|
|
2851
|
+
},
|
|
2852
|
+
{
|
|
2853
|
+
params: {
|
|
2854
|
+
network: "SOLANA",
|
|
2855
|
+
transactionHash: "GxodFb9CmZfNwduEbtKdFtBs3CEgFt5h4MAPsA2pwQWMr2jiYWX1SvGoyRftmwQDVYdqvwEbPNrU8gJEeTU1u5T",
|
|
2856
|
+
walletAddress: "ECuAG1KtnnNYW5bx3h356Gr69P2UekxYSy4vkg9tB9qG"
|
|
2857
|
+
},
|
|
2858
|
+
payload: "https://jiti.indexing.co/networks/solana/364694991",
|
|
2859
|
+
output: [
|
|
2860
|
+
{
|
|
2861
|
+
amount: 6140759n,
|
|
2862
|
+
blockNumber: 364694991,
|
|
2863
|
+
from: "CDr3sjXFHVPZYp8k7AUNHVJDN1sfvppLfPHd4Pwk8Mha",
|
|
2864
|
+
index: "3",
|
|
2865
|
+
timestamp: "2025-09-04T22:46:33.000Z",
|
|
2866
|
+
to: "ECuAG1KtnnNYW5bx3h356Gr69P2UekxYSy4vkg9tB9qG",
|
|
2867
|
+
token: "4k3Dyjzvzp8eMZWUXbBCjEvwSkkk59S5iCNLY3QrkX6R",
|
|
2868
|
+
tokenType: "TOKEN",
|
|
2869
|
+
transactionGasFee: 79996n,
|
|
2870
|
+
transactionHash: "GxodFb9CmZfNwduEbtKdFtBs3CEgFt5h4MAPsA2pwQWMr2jiYWX1SvGoyRftmwQDVYdqvwEbPNrU8gJEeTU1u5T"
|
|
2871
|
+
}
|
|
2872
|
+
]
|
|
2828
2873
|
}
|
|
2829
2874
|
]
|
|
2830
2875
|
};
|