feat: additional serum instructions (#18209)

This commit is contained in:
Josh
2021-06-24 15:12:47 -07:00
committed by GitHub
parent 4b314be5bd
commit 50deba1f10

View File

@ -334,6 +334,8 @@ const SERUM_CODE_LOOKUP: { [key: number]: string } = {
11: "Cancel Order", 11: "Cancel Order",
12: "Cancel Order By Client Id", 12: "Cancel Order By Client Id",
13: "Send Take", 13: "Send Take",
14: "Close Open Orders",
15: "Init Open Orders",
}; };
export function parseSerumInstructionCode(instruction: TransactionInstruction) { export function parseSerumInstructionCode(instruction: TransactionInstruction) {