|
|
|
@ -890,6 +890,7 @@ def get_instruction(
|
|
|
|
|
True,
|
|
|
|
|
True,
|
|
|
|
|
False,
|
|
|
|
|
False,
|
|
|
|
|
None,
|
|
|
|
|
)
|
|
|
|
|
if instruction_id == SYSTEM_PROGRAM_ID_INS_ASSIGN:
|
|
|
|
@ -934,6 +935,7 @@ def get_instruction(
|
|
|
|
|
True,
|
|
|
|
|
True,
|
|
|
|
|
False,
|
|
|
|
|
False,
|
|
|
|
|
None,
|
|
|
|
|
)
|
|
|
|
|
if instruction_id == SYSTEM_PROGRAM_ID_INS_TRANSFER:
|
|
|
|
@ -990,6 +992,7 @@ def get_instruction(
|
|
|
|
|
True,
|
|
|
|
|
True,
|
|
|
|
|
False,
|
|
|
|
|
False,
|
|
|
|
|
None,
|
|
|
|
|
)
|
|
|
|
|
if instruction_id == SYSTEM_PROGRAM_ID_INS_CREATE_ACCOUNT_WITH_SEED:
|
|
|
|
@ -1079,6 +1082,7 @@ def get_instruction(
|
|
|
|
|
True,
|
|
|
|
|
True,
|
|
|
|
|
False,
|
|
|
|
|
False,
|
|
|
|
|
None,
|
|
|
|
|
)
|
|
|
|
|
if instruction_id == SYSTEM_PROGRAM_ID_INS_ADVANCE_NONCE_ACCOUNT:
|
|
|
|
@ -1125,6 +1129,7 @@ def get_instruction(
|
|
|
|
|
True,
|
|
|
|
|
True,
|
|
|
|
|
False,
|
|
|
|
|
False,
|
|
|
|
|
None,
|
|
|
|
|
)
|
|
|
|
|
if instruction_id == SYSTEM_PROGRAM_ID_INS_WITHDRAW_NONCE_ACCOUNT:
|
|
|
|
@ -1203,6 +1208,7 @@ def get_instruction(
|
|
|
|
|
True,
|
|
|
|
|
True,
|
|
|
|
|
False,
|
|
|
|
|
False,
|
|
|
|
|
None,
|
|
|
|
|
)
|
|
|
|
|
if instruction_id == SYSTEM_PROGRAM_ID_INS_INITIALIZE_NONCE_ACCOUNT:
|
|
|
|
@ -1257,6 +1263,7 @@ def get_instruction(
|
|
|
|
|
True,
|
|
|
|
|
True,
|
|
|
|
|
False,
|
|
|
|
|
False,
|
|
|
|
|
None,
|
|
|
|
|
)
|
|
|
|
|
if instruction_id == SYSTEM_PROGRAM_ID_INS_AUTHORIZE_NONCE_ACCOUNT:
|
|
|
|
@ -1313,6 +1320,7 @@ def get_instruction(
|
|
|
|
|
True,
|
|
|
|
|
True,
|
|
|
|
|
False,
|
|
|
|
|
False,
|
|
|
|
|
None,
|
|
|
|
|
)
|
|
|
|
|
if instruction_id == SYSTEM_PROGRAM_ID_INS_ALLOCATE:
|
|
|
|
@ -1357,6 +1365,7 @@ def get_instruction(
|
|
|
|
|
True,
|
|
|
|
|
True,
|
|
|
|
|
False,
|
|
|
|
|
False,
|
|
|
|
|
None,
|
|
|
|
|
)
|
|
|
|
|
if instruction_id == SYSTEM_PROGRAM_ID_INS_ALLOCATE_WITH_SEED:
|
|
|
|
@ -1427,6 +1436,7 @@ def get_instruction(
|
|
|
|
|
True,
|
|
|
|
|
True,
|
|
|
|
|
False,
|
|
|
|
|
False,
|
|
|
|
|
None,
|
|
|
|
|
)
|
|
|
|
|
if instruction_id == SYSTEM_PROGRAM_ID_INS_ASSIGN_WITH_SEED:
|
|
|
|
@ -1490,6 +1500,7 @@ def get_instruction(
|
|
|
|
|
True,
|
|
|
|
|
True,
|
|
|
|
|
False,
|
|
|
|
|
False,
|
|
|
|
|
None,
|
|
|
|
|
)
|
|
|
|
|
if instruction_id == SYSTEM_PROGRAM_ID_INS_TRANSFER_WITH_SEED:
|
|
|
|
@ -1565,6 +1576,7 @@ def get_instruction(
|
|
|
|
|
True,
|
|
|
|
|
True,
|
|
|
|
|
False,
|
|
|
|
|
False,
|
|
|
|
|
None,
|
|
|
|
|
)
|
|
|
|
|
if instruction_id == SYSTEM_PROGRAM_ID_INS_UPGRADE_NONCE_ACCOUNT:
|
|
|
|
@ -1594,6 +1606,7 @@ def get_instruction(
|
|
|
|
|
True,
|
|
|
|
|
True,
|
|
|
|
|
False,
|
|
|
|
|
False,
|
|
|
|
|
None,
|
|
|
|
|
)
|
|
|
|
|
return Instruction(
|
|
|
|
@ -1608,6 +1621,7 @@ def get_instruction(
|
|
|
|
|
True,
|
|
|
|
|
False,
|
|
|
|
|
False,
|
|
|
|
|
False,
|
|
|
|
|
)
|
|
|
|
|
if program_id == STAKE_PROGRAM_ID:
|
|
|
|
|
if instruction_id == STAKE_PROGRAM_ID_INS_INITIALIZE:
|
|
|
|
@ -1713,6 +1727,7 @@ def get_instruction(
|
|
|
|
|
True,
|
|
|
|
|
True,
|
|
|
|
|
False,
|
|
|
|
|
False,
|
|
|
|
|
None,
|
|
|
|
|
)
|
|
|
|
|
if instruction_id == STAKE_PROGRAM_ID_INS_AUTHORIZE:
|
|
|
|
@ -1800,6 +1815,7 @@ def get_instruction(
|
|
|
|
|
True,
|
|
|
|
|
True,
|
|
|
|
|
False,
|
|
|
|
|
False,
|
|
|
|
|
None,
|
|
|
|
|
)
|
|
|
|
|
if instruction_id == STAKE_PROGRAM_ID_INS_DELEGATE_STAKE:
|
|
|
|
@ -1868,6 +1884,7 @@ def get_instruction(
|
|
|
|
|
True,
|
|
|
|
|
True,
|
|
|
|
|
False,
|
|
|
|
|
False,
|
|
|
|
|
None,
|
|
|
|
|
)
|
|
|
|
|
if instruction_id == STAKE_PROGRAM_ID_INS_SPLIT:
|
|
|
|
@ -1936,6 +1953,7 @@ def get_instruction(
|
|
|
|
|
True,
|
|
|
|
|
True,
|
|
|
|
|
False,
|
|
|
|
|
False,
|
|
|
|
|
None,
|
|
|
|
|
)
|
|
|
|
|
if instruction_id == STAKE_PROGRAM_ID_INS_WITHDRAW:
|
|
|
|
@ -2019,6 +2037,7 @@ def get_instruction(
|
|
|
|
|
True,
|
|
|
|
|
True,
|
|
|
|
|
False,
|
|
|
|
|
False,
|
|
|
|
|
None,
|
|
|
|
|
)
|
|
|
|
|
if instruction_id == STAKE_PROGRAM_ID_INS_DEACTIVATE:
|
|
|
|
@ -2065,6 +2084,7 @@ def get_instruction(
|
|
|
|
|
True,
|
|
|
|
|
True,
|
|
|
|
|
False,
|
|
|
|
|
False,
|
|
|
|
|
None,
|
|
|
|
|
)
|
|
|
|
|
if instruction_id == STAKE_PROGRAM_ID_INS_SET_LOCKUP:
|
|
|
|
@ -2149,6 +2169,7 @@ def get_instruction(
|
|
|
|
|
True,
|
|
|
|
|
True,
|
|
|
|
|
False,
|
|
|
|
|
False,
|
|
|
|
|
None,
|
|
|
|
|
)
|
|
|
|
|
if instruction_id == STAKE_PROGRAM_ID_INS_MERGE:
|
|
|
|
@ -2212,6 +2233,7 @@ def get_instruction(
|
|
|
|
|
True,
|
|
|
|
|
True,
|
|
|
|
|
False,
|
|
|
|
|
False,
|
|
|
|
|
None,
|
|
|
|
|
)
|
|
|
|
|
if instruction_id == STAKE_PROGRAM_ID_INS_AUTHORIZE_WITH_SEED:
|
|
|
|
@ -2313,6 +2335,7 @@ def get_instruction(
|
|
|
|
|
True,
|
|
|
|
|
True,
|
|
|
|
|
False,
|
|
|
|
|
False,
|
|
|
|
|
None,
|
|
|
|
|
)
|
|
|
|
|
if instruction_id == STAKE_PROGRAM_ID_INS_INITIALIZE_CHECKED:
|
|
|
|
@ -2371,6 +2394,7 @@ def get_instruction(
|
|
|
|
|
True,
|
|
|
|
|
True,
|
|
|
|
|
False,
|
|
|
|
|
False,
|
|
|
|
|
None,
|
|
|
|
|
)
|
|
|
|
|
if instruction_id == STAKE_PROGRAM_ID_INS_AUTHORIZE_CHECKED:
|
|
|
|
@ -2456,6 +2480,7 @@ def get_instruction(
|
|
|
|
|
True,
|
|
|
|
|
True,
|
|
|
|
|
False,
|
|
|
|
|
False,
|
|
|
|
|
None,
|
|
|
|
|
)
|
|
|
|
|
if instruction_id == STAKE_PROGRAM_ID_INS_AUTHORIZE_CHECKED_WITH_SEED:
|
|
|
|
@ -2555,6 +2580,7 @@ def get_instruction(
|
|
|
|
|
True,
|
|
|
|
|
True,
|
|
|
|
|
False,
|
|
|
|
|
False,
|
|
|
|
|
None,
|
|
|
|
|
)
|
|
|
|
|
if instruction_id == STAKE_PROGRAM_ID_INS_SET_LOCKUP_CHECKED:
|
|
|
|
@ -2637,6 +2663,7 @@ def get_instruction(
|
|
|
|
|
True,
|
|
|
|
|
True,
|
|
|
|
|
False,
|
|
|
|
|
False,
|
|
|
|
|
None,
|
|
|
|
|
)
|
|
|
|
|
return Instruction(
|
|
|
|
@ -2651,6 +2678,7 @@ def get_instruction(
|
|
|
|
|
True,
|
|
|
|
|
False,
|
|
|
|
|
False,
|
|
|
|
|
False,
|
|
|
|
|
)
|
|
|
|
|
if program_id == COMPUTE_BUDGET_PROGRAM_ID:
|
|
|
|
|
if instruction_id == COMPUTE_BUDGET_PROGRAM_ID_INS_REQUEST_HEAP_FRAME:
|
|
|
|
@ -2682,6 +2710,7 @@ def get_instruction(
|
|
|
|
|
True,
|
|
|
|
|
True,
|
|
|
|
|
False,
|
|
|
|
|
False,
|
|
|
|
|
None,
|
|
|
|
|
)
|
|
|
|
|
if instruction_id == COMPUTE_BUDGET_PROGRAM_ID_INS_SET_COMPUTE_UNIT_LIMIT:
|
|
|
|
@ -2712,6 +2741,7 @@ def get_instruction(
|
|
|
|
|
"Compute Budget Program: Set Compute Unit Limit",
|
|
|
|
|
True,
|
|
|
|
|
True,
|
|
|
|
|
True,
|
|
|
|
|
False,
|
|
|
|
|
None,
|
|
|
|
|
)
|
|
|
|
@ -2743,6 +2773,7 @@ def get_instruction(
|
|
|
|
|
"Compute Budget Program: Set Compute Unit Price",
|
|
|
|
|
True,
|
|
|
|
|
True,
|
|
|
|
|
True,
|
|
|
|
|
False,
|
|
|
|
|
None,
|
|
|
|
|
)
|
|
|
|
@ -2758,6 +2789,7 @@ def get_instruction(
|
|
|
|
|
True,
|
|
|
|
|
False,
|
|
|
|
|
False,
|
|
|
|
|
False,
|
|
|
|
|
)
|
|
|
|
|
if program_id == TOKEN_PROGRAM_ID:
|
|
|
|
|
if instruction_id == TOKEN_PROGRAM_ID_INS_INITIALIZE_ACCOUNT:
|
|
|
|
@ -2816,6 +2848,7 @@ def get_instruction(
|
|
|
|
|
True,
|
|
|
|
|
True,
|
|
|
|
|
False,
|
|
|
|
|
False,
|
|
|
|
|
None,
|
|
|
|
|
)
|
|
|
|
|
if instruction_id == TOKEN_PROGRAM_ID_INS_INITIALIZE_MULTISIG:
|
|
|
|
@ -2869,6 +2902,7 @@ def get_instruction(
|
|
|
|
|
"Token Program: Initialize Multisig",
|
|
|
|
|
True,
|
|
|
|
|
True,
|
|
|
|
|
False,
|
|
|
|
|
True,
|
|
|
|
|
None,
|
|
|
|
|
)
|
|
|
|
@ -2937,6 +2971,7 @@ def get_instruction(
|
|
|
|
|
"Token Program: Transfer",
|
|
|
|
|
True,
|
|
|
|
|
True,
|
|
|
|
|
False,
|
|
|
|
|
True,
|
|
|
|
|
"Warning: Instruction is deprecated. Token decimals unknown.",
|
|
|
|
|
)
|
|
|
|
@ -2998,6 +3033,7 @@ def get_instruction(
|
|
|
|
|
"Token Program: Approve",
|
|
|
|
|
True,
|
|
|
|
|
True,
|
|
|
|
|
False,
|
|
|
|
|
True,
|
|
|
|
|
"Warning: Instruction is deprecated. Token decimals unknown.",
|
|
|
|
|
)
|
|
|
|
@ -3039,6 +3075,7 @@ def get_instruction(
|
|
|
|
|
"Token Program: Revoke",
|
|
|
|
|
True,
|
|
|
|
|
True,
|
|
|
|
|
False,
|
|
|
|
|
True,
|
|
|
|
|
None,
|
|
|
|
|
)
|
|
|
|
@ -3109,6 +3146,7 @@ def get_instruction(
|
|
|
|
|
"Token Program: Set Authority",
|
|
|
|
|
True,
|
|
|
|
|
True,
|
|
|
|
|
False,
|
|
|
|
|
True,
|
|
|
|
|
None,
|
|
|
|
|
)
|
|
|
|
@ -3170,6 +3208,7 @@ def get_instruction(
|
|
|
|
|
"Token Program: Mint To",
|
|
|
|
|
True,
|
|
|
|
|
True,
|
|
|
|
|
False,
|
|
|
|
|
True,
|
|
|
|
|
"Warning: Instruction is deprecated. Token decimals unknown.",
|
|
|
|
|
)
|
|
|
|
@ -3231,6 +3270,7 @@ def get_instruction(
|
|
|
|
|
"Token Program: Burn",
|
|
|
|
|
True,
|
|
|
|
|
True,
|
|
|
|
|
False,
|
|
|
|
|
True,
|
|
|
|
|
"Warning: Instruction is deprecated. Token decimals unknown.",
|
|
|
|
|
)
|
|
|
|
@ -3284,6 +3324,7 @@ def get_instruction(
|
|
|
|
|
"Token Program: Close Account",
|
|
|
|
|
True,
|
|
|
|
|
True,
|
|
|
|
|
False,
|
|
|
|
|
True,
|
|
|
|
|
None,
|
|
|
|
|
)
|
|
|
|
@ -3330,6 +3371,7 @@ def get_instruction(
|
|
|
|
|
"Token Program: Freeze Account",
|
|
|
|
|
True,
|
|
|
|
|
True,
|
|
|
|
|
False,
|
|
|
|
|
True,
|
|
|
|
|
None,
|
|
|
|
|
)
|
|
|
|
@ -3376,6 +3418,7 @@ def get_instruction(
|
|
|
|
|
"Token Program: Thaw Account",
|
|
|
|
|
True,
|
|
|
|
|
True,
|
|
|
|
|
False,
|
|
|
|
|
True,
|
|
|
|
|
None,
|
|
|
|
|
)
|
|
|
|
@ -3463,6 +3506,7 @@ def get_instruction(
|
|
|
|
|
"Token Program: Transfer Checked",
|
|
|
|
|
True,
|
|
|
|
|
True,
|
|
|
|
|
False,
|
|
|
|
|
True,
|
|
|
|
|
None,
|
|
|
|
|
)
|
|
|
|
@ -3550,6 +3594,7 @@ def get_instruction(
|
|
|
|
|
"Token Program: Approve Checked",
|
|
|
|
|
True,
|
|
|
|
|
True,
|
|
|
|
|
False,
|
|
|
|
|
True,
|
|
|
|
|
None,
|
|
|
|
|
)
|
|
|
|
@ -3625,6 +3670,7 @@ def get_instruction(
|
|
|
|
|
"Token Program: Mint to Checked",
|
|
|
|
|
True,
|
|
|
|
|
True,
|
|
|
|
|
False,
|
|
|
|
|
True,
|
|
|
|
|
None,
|
|
|
|
|
)
|
|
|
|
@ -3700,6 +3746,7 @@ def get_instruction(
|
|
|
|
|
"Token Program: Burn Checked",
|
|
|
|
|
True,
|
|
|
|
|
True,
|
|
|
|
|
False,
|
|
|
|
|
True,
|
|
|
|
|
None,
|
|
|
|
|
)
|
|
|
|
@ -3762,6 +3809,7 @@ def get_instruction(
|
|
|
|
|
True,
|
|
|
|
|
True,
|
|
|
|
|
False,
|
|
|
|
|
False,
|
|
|
|
|
None,
|
|
|
|
|
)
|
|
|
|
|
if instruction_id == TOKEN_PROGRAM_ID_INS_SYNC_NATIVE:
|
|
|
|
@ -3791,6 +3839,7 @@ def get_instruction(
|
|
|
|
|
True,
|
|
|
|
|
True,
|
|
|
|
|
False,
|
|
|
|
|
False,
|
|
|
|
|
None,
|
|
|
|
|
)
|
|
|
|
|
if instruction_id == TOKEN_PROGRAM_ID_INS_INITIALIZE_ACCOUNT_3:
|
|
|
|
@ -3847,6 +3896,7 @@ def get_instruction(
|
|
|
|
|
True,
|
|
|
|
|
True,
|
|
|
|
|
False,
|
|
|
|
|
False,
|
|
|
|
|
None,
|
|
|
|
|
)
|
|
|
|
|
if instruction_id == TOKEN_PROGRAM_ID_INS_INITIALIZE_IMMUTABLE_OWNER:
|
|
|
|
@ -3876,6 +3926,7 @@ def get_instruction(
|
|
|
|
|
True,
|
|
|
|
|
True,
|
|
|
|
|
False,
|
|
|
|
|
False,
|
|
|
|
|
None,
|
|
|
|
|
)
|
|
|
|
|
return Instruction(
|
|
|
|
@ -3890,6 +3941,7 @@ def get_instruction(
|
|
|
|
|
True,
|
|
|
|
|
False,
|
|
|
|
|
False,
|
|
|
|
|
False,
|
|
|
|
|
)
|
|
|
|
|
if program_id == TOKEN_2022_PROGRAM_ID:
|
|
|
|
|
if instruction_id == TOKEN_2022_PROGRAM_ID_INS_INITIALIZE_ACCOUNT:
|
|
|
|
@ -3948,6 +4000,7 @@ def get_instruction(
|
|
|
|
|
True,
|
|
|
|
|
True,
|
|
|
|
|
False,
|
|
|
|
|
False,
|
|
|
|
|
None,
|
|
|
|
|
)
|
|
|
|
|
if instruction_id == TOKEN_2022_PROGRAM_ID_INS_INITIALIZE_MULTISIG:
|
|
|
|
@ -4001,6 +4054,7 @@ def get_instruction(
|
|
|
|
|
"Token 2022 Program: Initialize Multisig",
|
|
|
|
|
True,
|
|
|
|
|
True,
|
|
|
|
|
False,
|
|
|
|
|
True,
|
|
|
|
|
None,
|
|
|
|
|
)
|
|
|
|
@ -4069,6 +4123,7 @@ def get_instruction(
|
|
|
|
|
"Token 2022 Program: Transfer",
|
|
|
|
|
True,
|
|
|
|
|
True,
|
|
|
|
|
False,
|
|
|
|
|
True,
|
|
|
|
|
"Warning: Instruction is deprecated. Token decimals unknown.",
|
|
|
|
|
)
|
|
|
|
@ -4130,6 +4185,7 @@ def get_instruction(
|
|
|
|
|
"Token 2022 Program: Approve",
|
|
|
|
|
True,
|
|
|
|
|
True,
|
|
|
|
|
False,
|
|
|
|
|
True,
|
|
|
|
|
"Warning: Instruction is deprecated. Token decimals unknown.",
|
|
|
|
|
)
|
|
|
|
@ -4171,6 +4227,7 @@ def get_instruction(
|
|
|
|
|
"Token 2022 Program: Revoke",
|
|
|
|
|
True,
|
|
|
|
|
True,
|
|
|
|
|
False,
|
|
|
|
|
True,
|
|
|
|
|
None,
|
|
|
|
|
)
|
|
|
|
@ -4241,6 +4298,7 @@ def get_instruction(
|
|
|
|
|
"Token 2022 Program: Set Authority",
|
|
|
|
|
True,
|
|
|
|
|
True,
|
|
|
|
|
False,
|
|
|
|
|
True,
|
|
|
|
|
None,
|
|
|
|
|
)
|
|
|
|
@ -4302,6 +4360,7 @@ def get_instruction(
|
|
|
|
|
"Token 2022 Program: Mint to",
|
|
|
|
|
True,
|
|
|
|
|
True,
|
|
|
|
|
False,
|
|
|
|
|
True,
|
|
|
|
|
"Warning: Instruction is deprecated. Token decimals unknown.",
|
|
|
|
|
)
|
|
|
|
@ -4363,6 +4422,7 @@ def get_instruction(
|
|
|
|
|
"Token 2022 Program: Burn",
|
|
|
|
|
True,
|
|
|
|
|
True,
|
|
|
|
|
False,
|
|
|
|
|
True,
|
|
|
|
|
"Warning: Instruction is deprecated. Token decimals unknown.",
|
|
|
|
|
)
|
|
|
|
@ -4416,6 +4476,7 @@ def get_instruction(
|
|
|
|
|
"Token 2022 Program: Close Account",
|
|
|
|
|
True,
|
|
|
|
|
True,
|
|
|
|
|
False,
|
|
|
|
|
True,
|
|
|
|
|
None,
|
|
|
|
|
)
|
|
|
|
@ -4462,6 +4523,7 @@ def get_instruction(
|
|
|
|
|
"Token 2022 Program: Freeze Account",
|
|
|
|
|
True,
|
|
|
|
|
True,
|
|
|
|
|
False,
|
|
|
|
|
True,
|
|
|
|
|
None,
|
|
|
|
|
)
|
|
|
|
@ -4508,6 +4570,7 @@ def get_instruction(
|
|
|
|
|
"Token 2022 Program: Thaw Account",
|
|
|
|
|
True,
|
|
|
|
|
True,
|
|
|
|
|
False,
|
|
|
|
|
True,
|
|
|
|
|
None,
|
|
|
|
|
)
|
|
|
|
@ -4595,6 +4658,7 @@ def get_instruction(
|
|
|
|
|
"Token 2022 Program: Transfer Checked",
|
|
|
|
|
True,
|
|
|
|
|
True,
|
|
|
|
|
False,
|
|
|
|
|
True,
|
|
|
|
|
None,
|
|
|
|
|
)
|
|
|
|
@ -4682,6 +4746,7 @@ def get_instruction(
|
|
|
|
|
"Token 2022 Program: Approve Checked",
|
|
|
|
|
True,
|
|
|
|
|
True,
|
|
|
|
|
False,
|
|
|
|
|
True,
|
|
|
|
|
None,
|
|
|
|
|
)
|
|
|
|
@ -4757,6 +4822,7 @@ def get_instruction(
|
|
|
|
|
"Token 2022 Program: Mint to Checked",
|
|
|
|
|
True,
|
|
|
|
|
True,
|
|
|
|
|
False,
|
|
|
|
|
True,
|
|
|
|
|
None,
|
|
|
|
|
)
|
|
|
|
@ -4832,6 +4898,7 @@ def get_instruction(
|
|
|
|
|
"Token 2022 Program: Burn Checked",
|
|
|
|
|
True,
|
|
|
|
|
True,
|
|
|
|
|
False,
|
|
|
|
|
True,
|
|
|
|
|
None,
|
|
|
|
|
)
|
|
|
|
@ -4894,6 +4961,7 @@ def get_instruction(
|
|
|
|
|
True,
|
|
|
|
|
True,
|
|
|
|
|
False,
|
|
|
|
|
False,
|
|
|
|
|
None,
|
|
|
|
|
)
|
|
|
|
|
if instruction_id == TOKEN_2022_PROGRAM_ID_INS_SYNC_NATIVE:
|
|
|
|
@ -4923,6 +4991,7 @@ def get_instruction(
|
|
|
|
|
True,
|
|
|
|
|
True,
|
|
|
|
|
False,
|
|
|
|
|
False,
|
|
|
|
|
None,
|
|
|
|
|
)
|
|
|
|
|
if instruction_id == TOKEN_2022_PROGRAM_ID_INS_INITIALIZE_ACCOUNT_3:
|
|
|
|
@ -4979,6 +5048,7 @@ def get_instruction(
|
|
|
|
|
True,
|
|
|
|
|
True,
|
|
|
|
|
False,
|
|
|
|
|
False,
|
|
|
|
|
None,
|
|
|
|
|
)
|
|
|
|
|
if instruction_id == TOKEN_2022_PROGRAM_ID_INS_INITIALIZE_IMMUTABLE_OWNER:
|
|
|
|
@ -5008,6 +5078,7 @@ def get_instruction(
|
|
|
|
|
True,
|
|
|
|
|
True,
|
|
|
|
|
False,
|
|
|
|
|
False,
|
|
|
|
|
None,
|
|
|
|
|
)
|
|
|
|
|
return Instruction(
|
|
|
|
@ -5022,6 +5093,7 @@ def get_instruction(
|
|
|
|
|
True,
|
|
|
|
|
False,
|
|
|
|
|
False,
|
|
|
|
|
False,
|
|
|
|
|
)
|
|
|
|
|
if program_id == ASSOCIATED_TOKEN_ACCOUNT_PROGRAM_ID:
|
|
|
|
|
if instruction_id == ASSOCIATED_TOKEN_ACCOUNT_PROGRAM_ID_INS_CREATE:
|
|
|
|
@ -5097,6 +5169,7 @@ def get_instruction(
|
|
|
|
|
True,
|
|
|
|
|
True,
|
|
|
|
|
False,
|
|
|
|
|
False,
|
|
|
|
|
None,
|
|
|
|
|
)
|
|
|
|
|
if instruction_id == ASSOCIATED_TOKEN_ACCOUNT_PROGRAM_ID_INS_CREATE_IDEMPOTENT:
|
|
|
|
@ -5172,6 +5245,7 @@ def get_instruction(
|
|
|
|
|
True,
|
|
|
|
|
True,
|
|
|
|
|
False,
|
|
|
|
|
False,
|
|
|
|
|
None,
|
|
|
|
|
)
|
|
|
|
|
if instruction_id == ASSOCIATED_TOKEN_ACCOUNT_PROGRAM_ID_INS_RECOVER_NESTED:
|
|
|
|
@ -5245,6 +5319,7 @@ def get_instruction(
|
|
|
|
|
True,
|
|
|
|
|
True,
|
|
|
|
|
False,
|
|
|
|
|
False,
|
|
|
|
|
None,
|
|
|
|
|
)
|
|
|
|
|
return Instruction(
|
|
|
|
@ -5259,6 +5334,7 @@ def get_instruction(
|
|
|
|
|
True,
|
|
|
|
|
False,
|
|
|
|
|
False,
|
|
|
|
|
False,
|
|
|
|
|
)
|
|
|
|
|
if program_id == MEMO_PROGRAM_ID:
|
|
|
|
|
if instruction_id == MEMO_PROGRAM_ID_INS_MEMO:
|
|
|
|
@ -5303,6 +5379,7 @@ def get_instruction(
|
|
|
|
|
True,
|
|
|
|
|
True,
|
|
|
|
|
False,
|
|
|
|
|
False,
|
|
|
|
|
None,
|
|
|
|
|
)
|
|
|
|
|
return Instruction(
|
|
|
|
@ -5317,6 +5394,7 @@ def get_instruction(
|
|
|
|
|
True,
|
|
|
|
|
False,
|
|
|
|
|
False,
|
|
|
|
|
False,
|
|
|
|
|
)
|
|
|
|
|
if program_id == MEMO_LEGACY_PROGRAM_ID:
|
|
|
|
|
if instruction_id == MEMO_LEGACY_PROGRAM_ID_INS_MEMO:
|
|
|
|
@ -5361,6 +5439,7 @@ def get_instruction(
|
|
|
|
|
True,
|
|
|
|
|
True,
|
|
|
|
|
False,
|
|
|
|
|
False,
|
|
|
|
|
None,
|
|
|
|
|
)
|
|
|
|
|
return Instruction(
|
|
|
|
@ -5375,6 +5454,7 @@ def get_instruction(
|
|
|
|
|
True,
|
|
|
|
|
False,
|
|
|
|
|
False,
|
|
|
|
|
False,
|
|
|
|
|
)
|
|
|
|
|
return Instruction(
|
|
|
|
|
instruction_data,
|
|
|
|
@ -5388,4 +5468,5 @@ def get_instruction(
|
|
|
|
|
False,
|
|
|
|
|
False,
|
|
|
|
|
False,
|
|
|
|
|
False,
|
|
|
|
|
)
|
|
|
|
|