-
-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add parser for JupiterAggregatorV6:Route
- Loading branch information
Showing
8 changed files
with
1,015 additions
and
2 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,378 @@ | ||
[ | ||
{ | ||
"blockTime": 1733731747, | ||
"meta": { | ||
"computeUnitsConsumed": 102736, | ||
"err": null, | ||
"fee": 12573, | ||
"innerInstructions": [ | ||
{ | ||
"index": 2, | ||
"instructions": [ | ||
{ | ||
"accounts": [ | ||
0, | ||
1 | ||
], | ||
"data": "11119os1e9qSs2u7TsThXqkBSRVFxhmYaFKFZ1waB2X7armDmvK3p5GmLdUxYdg3h7QSrL", | ||
"programIdIndex": 4, | ||
"stackHeight": 2 | ||
}, | ||
{ | ||
"accounts": [ | ||
1, | ||
16 | ||
], | ||
"data": "6SAwFwBN3SdaCPvinYWfuppriTKdMCWkQxpPfZuEyENv6", | ||
"programIdIndex": 7, | ||
"stackHeight": 2 | ||
} | ||
] | ||
}, | ||
{ | ||
"index": 3, | ||
"instructions": [ | ||
{ | ||
"accounts": [ | ||
0, | ||
18, | ||
12, | ||
2, | ||
1, | ||
15, | ||
10, | ||
13, | ||
7, | ||
3, | ||
14, | ||
9, | ||
11 | ||
], | ||
"data": "wZRp7wZ3czsV92i3RuaDDC2rWbRJNj6cPeq9kw3XRjAjSGob7QExFUWc", | ||
"programIdIndex": 17, | ||
"stackHeight": 2 | ||
}, | ||
{ | ||
"accounts": [ | ||
2, | ||
15, | ||
0 | ||
], | ||
"data": "3Dc8EpW7Kr3R", | ||
"programIdIndex": 7, | ||
"stackHeight": 3 | ||
}, | ||
{ | ||
"accounts": [ | ||
10, | ||
1, | ||
12 | ||
], | ||
"data": "3HcR7XxFSvyu", | ||
"programIdIndex": 7, | ||
"stackHeight": 3 | ||
}, | ||
{ | ||
"accounts": [ | ||
8 | ||
], | ||
"data": "QMqFu4fYGGeUEysFnenhAvi1xPm726vLbPnsuyPY5Jr6BfJygEDcWLKrWxu3qzgfNSJF2XpKgwx1AJkvunjgZB3ZsFSTamsTr4RVvYrhcGhR726VKpHs7YEzwBwx3DgkcYWkyjuDM9Kuy3pKQEPirBEzeByeW7xXoi8JhvbBEtX4Lpw", | ||
"programIdIndex": 6, | ||
"stackHeight": 2 | ||
} | ||
] | ||
} | ||
], | ||
"loadedAddresses": { | ||
"readonly": [ | ||
"So11111111111111111111111111111111111111112", | ||
"CAMMCzo5YL8w4VFF8KVHrK22GGUsp5VTaW7grrKgrWqK", | ||
"Gex2NJRS3jVLPfbzSFM5d5DRsNoL5ynnwT1TXoDEhanz" | ||
], | ||
"writable": [ | ||
"1LdvYfGPQ4A5M9CQ5Q6D6FHApkTdSxEvm7sD9TPPhTj", | ||
"42yWp3DXmLi9XzYHTMJu2UShMhFzxtocAAQCZ1JPZaBo", | ||
"7UoG8KTGFQpRVyEtNEHmPfnkyoN9dKUWqc7DSTJBjcjp", | ||
"8G6Mt4tbCHU8nfoWJnamLVXkEMFeia3fPnFD3EUwcmiH", | ||
"EfxeuKhnGnr5RPg7MtmrHqZboAkpaJEHgmnHcic7koeC", | ||
"FZ2t3FY7VTsxv39Bz7f1n3rNhKsCQxuYtG5Zmtc6qy9w", | ||
"Hv2RSwoUFqZVxPhkCFRReQqtgSL66yrPaxk6nDmZZhyp" | ||
] | ||
}, | ||
"logMessages": [ | ||
"Program ComputeBudget111111111111111111111111111111 invoke [1]", | ||
"Program ComputeBudget111111111111111111111111111111 success", | ||
"Program ComputeBudget111111111111111111111111111111 invoke [1]", | ||
"Program ComputeBudget111111111111111111111111111111 success", | ||
"Program JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4 invoke [1]", | ||
"Program 11111111111111111111111111111111 invoke [2]", | ||
"Program 11111111111111111111111111111111 success", | ||
"Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA invoke [2]", | ||
"Program log: Instruction: InitializeAccount3", | ||
"Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA consumed 3158 of 120974 compute units", | ||
"Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA success", | ||
"Program JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4 consumed 9468 of 127121 compute units", | ||
"Program JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4 success", | ||
"Program JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4 invoke [1]", | ||
"Program log: Instruction: Route", | ||
"Program CAMMCzo5YL8w4VFF8KVHrK22GGUsp5VTaW7grrKgrWqK invoke [2]", | ||
"Program log: Instruction: Swap", | ||
"Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA invoke [3]", | ||
"Program log: Instruction: Transfer", | ||
"Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA consumed 4645 of 51934 compute units", | ||
"Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA success", | ||
"Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA invoke [3]", | ||
"Program log: Instruction: Transfer", | ||
"Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA consumed 4736 of 44047 compute units", | ||
"Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA success", | ||
"Program data: QMbN6CYIceJr35TJlt4Z0VL5boEAv7V+aaqNYON9XwHBCbTdSYvKgkrc9U2pFIzBg+u4NsoI5ChFW1gtiRbnb64DytXAZKOjBhZVNBMLdxS9l3BxkCzBGgr2KTnYqL+BuSh6IJ+3dokPzajnyXiGXQopqMywsCXkY56nF6E118lp+5FybsV4+RjTuwAAAAAAAAAAAAAAAAAA4fUFAAAAAAAAAAAAAAAAAHiegV6xJ5TSAgAAAAAAAABvT+HVCwAAAAAAAAAAAAAAElEAAA==", | ||
"Program CAMMCzo5YL8w4VFF8KVHrK22GGUsp5VTaW7grrKgrWqK consumed 71415 of 104031 compute units", | ||
"Program CAMMCzo5YL8w4VFF8KVHrK22GGUsp5VTaW7grrKgrWqK success", | ||
"Program JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4 invoke [2]", | ||
"Program JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4 consumed 471 of 30202 compute units", | ||
"Program JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4 success", | ||
"Program JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4 consumed 90053 of 117653 compute units", | ||
"Program return: JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4 GNO7AAAAAAA=", | ||
"Program JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4 success", | ||
"Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA invoke [1]", | ||
"Program log: Instruction: CloseAccount", | ||
"Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA consumed 2915 of 27600 compute units", | ||
"Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA success" | ||
], | ||
"postBalances": [ | ||
67765335, | ||
0, | ||
2039280, | ||
72161280, | ||
1, | ||
1, | ||
1141440, | ||
934087680, | ||
0, | ||
72161280, | ||
8455441771, | ||
72161280, | ||
11637120, | ||
32092560, | ||
13641600, | ||
2039280, | ||
754607215460, | ||
1141440, | ||
1705200 | ||
], | ||
"postTokenBalances": [ | ||
{ | ||
"accountIndex": 2, | ||
"mint": "8SgNwESovnbG1oNEaPVhg6CR9mTMSK7jPvcYRe3wpump", | ||
"owner": "63EazyqF9nJN8SdGTMUaLrRKxS3XnmUiFuDp5KZ9wEV8", | ||
"programId": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA", | ||
"uiTokenAmount": { | ||
"amount": "358750617", | ||
"decimals": 6, | ||
"uiAmount": 358.750617, | ||
"uiAmountString": "358.750617" | ||
} | ||
}, | ||
{ | ||
"accountIndex": 10, | ||
"mint": "So11111111111111111111111111111111111111112", | ||
"owner": "8G6Mt4tbCHU8nfoWJnamLVXkEMFeia3fPnFD3EUwcmiH", | ||
"programId": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA", | ||
"uiTokenAmount": { | ||
"amount": "8453402491", | ||
"decimals": 9, | ||
"uiAmount": 8.453402491, | ||
"uiAmountString": "8.453402491" | ||
} | ||
}, | ||
{ | ||
"accountIndex": 15, | ||
"mint": "8SgNwESovnbG1oNEaPVhg6CR9mTMSK7jPvcYRe3wpump", | ||
"owner": "8G6Mt4tbCHU8nfoWJnamLVXkEMFeia3fPnFD3EUwcmiH", | ||
"programId": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA", | ||
"uiTokenAmount": { | ||
"amount": "5447055946661", | ||
"decimals": 6, | ||
"uiAmount": 5447055.946661, | ||
"uiAmountString": "5447055.946661" | ||
} | ||
} | ||
], | ||
"preBalances": [ | ||
55468636, | ||
0, | ||
2039280, | ||
72161280, | ||
1, | ||
1, | ||
1141440, | ||
934087680, | ||
0, | ||
72161280, | ||
8467751043, | ||
72161280, | ||
11637120, | ||
32092560, | ||
13641600, | ||
2039280, | ||
754607215460, | ||
1141440, | ||
1705200 | ||
], | ||
"preTokenBalances": [ | ||
{ | ||
"accountIndex": 2, | ||
"mint": "8SgNwESovnbG1oNEaPVhg6CR9mTMSK7jPvcYRe3wpump", | ||
"owner": "63EazyqF9nJN8SdGTMUaLrRKxS3XnmUiFuDp5KZ9wEV8", | ||
"programId": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA", | ||
"uiTokenAmount": { | ||
"amount": "458750617", | ||
"decimals": 6, | ||
"uiAmount": 458.750617, | ||
"uiAmountString": "458.750617" | ||
} | ||
}, | ||
{ | ||
"accountIndex": 10, | ||
"mint": "So11111111111111111111111111111111111111112", | ||
"owner": "8G6Mt4tbCHU8nfoWJnamLVXkEMFeia3fPnFD3EUwcmiH", | ||
"programId": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA", | ||
"uiTokenAmount": { | ||
"amount": "8465711763", | ||
"decimals": 9, | ||
"uiAmount": 8.465711763, | ||
"uiAmountString": "8.465711763" | ||
} | ||
}, | ||
{ | ||
"accountIndex": 15, | ||
"mint": "8SgNwESovnbG1oNEaPVhg6CR9mTMSK7jPvcYRe3wpump", | ||
"owner": "8G6Mt4tbCHU8nfoWJnamLVXkEMFeia3fPnFD3EUwcmiH", | ||
"programId": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA", | ||
"uiTokenAmount": { | ||
"amount": "5446955946661", | ||
"decimals": 6, | ||
"uiAmount": 5446955.946661, | ||
"uiAmountString": "5446955.946661" | ||
} | ||
} | ||
], | ||
"rewards": [], | ||
"status": { | ||
"Ok": null | ||
} | ||
}, | ||
"slot": 306353667, | ||
"transaction": { | ||
"message": { | ||
"accountKeys": [ | ||
"63EazyqF9nJN8SdGTMUaLrRKxS3XnmUiFuDp5KZ9wEV8", | ||
"QmCTE3xFeSMQ2ic9J2asz1LmKGgY4HU7BX6LnTgqDbv", | ||
"24h17ozNLJSYZ23PSGuKk56GvKQzFoGpctN5xTe1H2rU", | ||
"BW7RbZCHuXVDEsLFPeLgReXrFtmznYWCpcCxLbBoREL1", | ||
"11111111111111111111111111111111", | ||
"ComputeBudget111111111111111111111111111111", | ||
"JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4", | ||
"TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA", | ||
"D8cy77BBepLMngZx6ZukaTff5hCt1HrWyKk3Hnd9oitf" | ||
], | ||
"addressTableLookups": [ | ||
{ | ||
"accountKey": "CBRFxxXxzmhjFXCUTswxdNiQnJdTv7jGMHY4FEPkubRX", | ||
"readonlyIndexes": [ | ||
27, | ||
160, | ||
159 | ||
], | ||
"writableIndexes": [ | ||
164, | ||
161, | ||
165, | ||
154, | ||
167, | ||
156, | ||
166 | ||
] | ||
} | ||
], | ||
"header": { | ||
"numReadonlySignedAccounts": 0, | ||
"numReadonlyUnsignedAccounts": 5, | ||
"numRequiredSignatures": 1 | ||
}, | ||
"instructions": [ | ||
{ | ||
"accounts": [], | ||
"data": "JwfGgX", | ||
"programIdIndex": 5, | ||
"stackHeight": null | ||
}, | ||
{ | ||
"accounts": [], | ||
"data": "3L8hkiM7iKVR", | ||
"programIdIndex": 5, | ||
"stackHeight": null | ||
}, | ||
{ | ||
"accounts": [ | ||
1, | ||
0, | ||
16, | ||
7, | ||
4 | ||
], | ||
"data": "2tDqDdUmhLW1p", | ||
"programIdIndex": 6, | ||
"stackHeight": null | ||
}, | ||
{ | ||
"accounts": [ | ||
7, | ||
0, | ||
2, | ||
1, | ||
6, | ||
16, | ||
6, | ||
8, | ||
6, | ||
17, | ||
0, | ||
18, | ||
12, | ||
2, | ||
1, | ||
15, | ||
10, | ||
13, | ||
7, | ||
3, | ||
14, | ||
9, | ||
11, | ||
6 | ||
], | ||
"data": "PrpFmsY4d26dKbdKMZJ1NKhBbCYPFf318vTxPqJK3LnLDbnP", | ||
"programIdIndex": 6, | ||
"stackHeight": null | ||
}, | ||
{ | ||
"accounts": [ | ||
1, | ||
0, | ||
0 | ||
], | ||
"data": "A", | ||
"programIdIndex": 7, | ||
"stackHeight": null | ||
} | ||
], | ||
"recentBlockhash": "DC5YLmSYq5qU1VXNNfJ1fSPxTVFdXsjgzqfkRy64mPsS" | ||
}, | ||
"signatures": [ | ||
"5aTjNTfgZ5D1pSyXz1ZhtwyEiVjkL7exNS6GCpBhT4MaNmELxBzwPzyrevi4DpFr7B6EbnfRZCxcFFrAshjwMTWE" | ||
] | ||
}, | ||
"version": 0 | ||
} | ||
] |
Oops, something went wrong.