One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
| import { LiquidityPoolKeysV4, MARKET_STATE_LAYOUT_V3, Market, TOKEN_PROGRAM_ID } from "@raydium-io/raydium-sdk"; | |
| import { Connection, Logs, ParsedInnerInstruction, ParsedInstruction, ParsedTransactionWithMeta, PartiallyDecodedInstruction, PublicKey } from "@solana/web3.js"; | |
| const RPC_ENDPOINT = 'https://api.mainnet-beta.solana.com'; | |
| const RAYDIUM_POOL_V4_PROGRAM_ID = '675kPX9MHTjS2zt1qfr1NYHuzeLXfQM9H24wFSUt1Mp8'; | |
| const SERUM_OPENBOOK_PROGRAM_ID = 'srmqPvymJeFKQ4zGQed1GFppgkRHL9kaELCbyksJtPX'; | |
| const SOL_MINT = 'So11111111111111111111111111111111111111112'; | |
| const SOL_DECIMALS = 9; | |
| const connection = new Connection(RPC_ENDPOINT); |
| ## | |
| # Reverting a range of commits | |
| # | |
| # git --pretty=oneline --abbrev-commit older_commit..newer_commit # not includes the oldest commit | |
| # git --pretty=oneline --abbrev-commit older_commit^..newer_commit # includes the oldest commit | |
| ## | |
| # just to be sure about the commits, list them | |
| git log --pretty=oneline --abbrev-commit 1f80548^..4b293d5 |
| select { | |
| -webkit-appearance: none; /* Webkit */ | |
| -moz-appearance: none; /* FF */ | |
| -ms-appearance: none; /* Edge */ | |
| appearance: none; /* Future */ | |
| /* Optional styles */ | |
| padding: 0.3em 1.5em 0.3em 0.6em; | |
| border: 1px solid currentColor; | |
| background: white; |
| @media screen and (-webkit-min-device-pixel-ratio:0) { | |
| /* Custom Webkit scroll bar, super fucking dope | |
| http://beautifulpixels.com/goodies/create-custom-webkit-scrollbar/ */ | |
| body { position:absolute; top:0px; left:0; bottom:0; right:10px; overflow-y:scroll; overflow-x:hidden;} | |
| html { | |
| overflow-y: auto; | |
| background-color: transparent; | |
| } | |
| ::-webkit-scrollbar { |
| ּ_בּ | |
| בּ_בּ | |
| טּ_טּ | |
| כּ‗כּ | |
| לּ_לּ | |
| מּ_מּ | |
| סּ_סּ | |
| תּ_תּ | |
| ٩(×̯×)۶ | |
| ٩(̾●̮̮̃̾•̃̾)۶ |