@indexing/jiti 0.0.54 → 0.0.56
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 +35 -5
- package/dist/main.js.map +1 -1
- package/dist/module.js +35 -5
- 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
|
@@ -772,10 +772,10 @@ const $8d6646508fb2fa58$export$b5fd4920e8b7d913 = {
|
|
|
772
772
|
const decodedMsg = registry.decode(message);
|
|
773
773
|
transfers.push({
|
|
774
774
|
blockNumber: blockNumber,
|
|
775
|
-
from: decodedMsg.sender,
|
|
776
|
-
to: decodedMsg.receiver,
|
|
777
|
-
amount: BigInt(decodedMsg.token?.amount || 0),
|
|
778
|
-
token: decodedMsg.token?.denom,
|
|
775
|
+
from: decodedMsg.sender || decodedMsg.fromAddress,
|
|
776
|
+
to: decodedMsg.receiver || decodedMsg.toAddress,
|
|
777
|
+
amount: BigInt(decodedMsg.token?.amount || decodedMsg.amount?.find((a)=>a?.amount)?.amount || 0),
|
|
778
|
+
token: decodedMsg.token?.denom || decodedMsg.amount?.find((a)=>a?.denom)?.denom,
|
|
779
779
|
tokenType: "NATIVE",
|
|
780
780
|
timestamp: blockTimestamp,
|
|
781
781
|
transactionHash: txHash.slice(2).toUpperCase(),
|
|
@@ -1324,7 +1324,7 @@ const $64e1e522540ffc4e$export$a51565c56ceacb0a = {
|
|
|
1324
1324
|
const unmatchedFrom = {};
|
|
1325
1325
|
const unmatchedTo = {};
|
|
1326
1326
|
for(const key in transfersByKey)for (const txfer of transfersByKey[key]){
|
|
1327
|
-
if (!txfer.from) {
|
|
1327
|
+
if (!txfer.from && txfer.token !== "So11111111111111111111111111111111111111112") {
|
|
1328
1328
|
if (!unmatchedFrom[txfer.token]) unmatchedFrom[txfer.token] = [];
|
|
1329
1329
|
unmatchedFrom[txfer.token].push(txfer);
|
|
1330
1330
|
delete transfersByKey[key];
|
|
@@ -1611,6 +1611,36 @@ const $64e1e522540ffc4e$export$a51565c56ceacb0a = {
|
|
|
1611
1611
|
transactionHash: "5usAzMSrENJQscoRdxi48n22aMcFmJ1U7f2yGmwUk8AHSFCzLfRtBP7gVnsZbe7Jy9SG2VoeVbVSoVvu43tsdvm1"
|
|
1612
1612
|
}
|
|
1613
1613
|
]
|
|
1614
|
+
},
|
|
1615
|
+
{
|
|
1616
|
+
params: {
|
|
1617
|
+
network: "SOLANA",
|
|
1618
|
+
walletAddress: "moAGAQftMo19RY6YqStNdiDhNpejJaeNWgv5oczbp8U"
|
|
1619
|
+
},
|
|
1620
|
+
payload: "https://jiti.indexing.co/networks/solana/375557379",
|
|
1621
|
+
output: [
|
|
1622
|
+
{
|
|
1623
|
+
amount: 9990000n,
|
|
1624
|
+
blockNumber: 353720952,
|
|
1625
|
+
timestamp: "2025-10-24T20:23:09.000Z",
|
|
1626
|
+
to: "moAGAQftMo19RY6YqStNdiDhNpejJaeNWgv5oczbp8U",
|
|
1627
|
+
token: "So11111111111111111111111111111111111111112",
|
|
1628
|
+
tokenType: "TOKEN",
|
|
1629
|
+
transactionGasFee: 5000n,
|
|
1630
|
+
transactionHash: "3UCamcERYHN9JrgwPqUshvabv2f7uHpbStwfG7bbPFsVSSjQrK21Q9joj7gNLD6Ab5XHehkaUKtYp7Vptv7Kswv3"
|
|
1631
|
+
},
|
|
1632
|
+
{
|
|
1633
|
+
amount: 9990000n,
|
|
1634
|
+
blockNumber: 353720952,
|
|
1635
|
+
from: "moAGAQftMo19RY6YqStNdiDhNpejJaeNWgv5oczbp8U",
|
|
1636
|
+
timestamp: "2025-10-24T20:23:09.000Z",
|
|
1637
|
+
to: "5uQC5CfgqGP8B8bG64RATmZXfUKiHf1XRbYHkVKPwwny",
|
|
1638
|
+
token: null,
|
|
1639
|
+
tokenType: "NATIVE",
|
|
1640
|
+
transactionGasFee: 5000n,
|
|
1641
|
+
transactionHash: "3UCamcERYHN9JrgwPqUshvabv2f7uHpbStwfG7bbPFsVSSjQrK21Q9joj7gNLD6Ab5XHehkaUKtYp7Vptv7Kswv3"
|
|
1642
|
+
}
|
|
1643
|
+
]
|
|
1614
1644
|
}
|
|
1615
1645
|
]
|
|
1616
1646
|
};
|