UNPKG

@flipflop-sdk/node

Version:

FlipFlop Node.js SDK for programmatic token operations

2,335 lines 95.4 kB
{ "address": "FLipzZfErPUtDQPj9YrC6wp4nRRiVxRkFm3jdFmiPHJV", "metadata": { "name": "fair_mint_token", "version": "0.2.0", "spec": "0.1.0", "description": "Created with Anchor" }, "instructions": [ { "name": "burn_mint_token_vault", "discriminator": [ 255, 254, 39, 14, 229, 37, 89, 240 ], "accounts": [ { "name": "mint", "writable": true, "pda": { "seeds": [ { "kind": "const", "value": [ 102, 97, 105, 114, 95, 109, 105, 110, 116 ] }, { "kind": "arg", "path": "token_name" }, { "kind": "arg", "path": "token_symbol" } ] } }, { "name": "config_account", "writable": true, "pda": { "seeds": [ { "kind": "const", "value": [ 99, 111, 110, 102, 105, 103, 95, 100, 97, 116, 97 ] }, { "kind": "account", "path": "mint" } ] } }, { "name": "payer", "writable": true, "signer": true }, { "name": "mint_token_vault", "writable": true }, { "name": "token_program", "address": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA" }, { "name": "system_program", "address": "11111111111111111111111111111111" } ], "args": [ { "name": "token_name", "type": "string" }, { "name": "token_symbol", "type": "string" }, { "name": "amount", "type": "u64" } ] }, { "name": "close_token", "docs": [ "Close token" ], "discriminator": [ 26, 74, 236, 151, 104, 64, 183, 249 ], "accounts": [ { "name": "mint", "writable": true, "pda": { "seeds": [ { "kind": "const", "value": [ 102, 97, 105, 114, 95, 109, 105, 110, 116 ] }, { "kind": "arg", "path": "token_name" }, { "kind": "arg", "path": "token_symbol" } ] } }, { "name": "payer", "writable": true, "signer": true }, { "name": "token_vault", "writable": true }, { "name": "wsol_vault", "writable": true }, { "name": "mint_token_vault", "writable": true }, { "name": "config_account", "writable": true, "pda": { "seeds": [ { "kind": "const", "value": [ 99, 111, 110, 102, 105, 103, 95, 100, 97, 116, 97 ] }, { "kind": "account", "path": "mint" } ] } }, { "name": "token_program", "address": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA" }, { "name": "system_program", "address": "11111111111111111111111111111111" }, { "name": "associated_token_program", "address": "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL" }, { "name": "rent", "address": "SysvarRent111111111111111111111111111111111" } ], "args": [ { "name": "token_name", "type": "string" }, { "name": "token_symbol", "type": "string" } ] }, { "name": "delegate_value_manager", "docs": [ "Delegate value manager" ], "discriminator": [ 65, 71, 81, 199, 83, 64, 181, 167 ], "accounts": [ { "name": "admin", "writable": true, "signer": true }, { "name": "mint", "pda": { "seeds": [ { "kind": "const", "value": [ 102, 97, 105, 114, 95, 109, 105, 110, 116 ] }, { "kind": "arg", "path": "token_name" }, { "kind": "arg", "path": "token_symbol" } ] } }, { "name": "config_account", "writable": true, "pda": { "seeds": [ { "kind": "const", "value": [ 99, 111, 110, 102, 105, 103, 95, 100, 97, 116, 97 ] }, { "kind": "account", "path": "mint" } ] } }, { "name": "system_program", "address": "11111111111111111111111111111111" } ], "args": [ { "name": "token_name", "type": "string" }, { "name": "token_symbol", "type": "string" }, { "name": "new_value_manager", "type": "pubkey" } ] }, { "name": "initialize_launch_rule", "docs": [ "Initialize launch rule" ], "discriminator": [ 61, 250, 188, 110, 91, 75, 249, 62 ], "accounts": [ { "name": "admin", "writable": true, "signer": true }, { "name": "launch_rule_data", "writable": true, "pda": { "seeds": [ { "kind": "const", "value": [ 108, 97, 117, 110, 99, 104, 95, 114, 117, 108, 101 ] }, { "kind": "account", "path": "admin" } ] } }, { "name": "system_program", "address": "11111111111111111111111111111111" } ], "args": [ { "name": "start_slot", "type": "u64" }, { "name": "slots_per_period", "type": "u64" }, { "name": "base_launch_limit", "type": "u64" }, { "name": "increasement_launch_limit", "type": "u64" }, { "name": "max_period", "type": "u64" } ] }, { "name": "initialize_system", "docs": [ "Initialize system" ], "discriminator": [ 50, 173, 248, 140, 202, 35, 141, 150 ], "accounts": [ { "name": "admin", "writable": true, "signer": true }, { "name": "system_config_account", "writable": true, "pda": { "seeds": [ { "kind": "const", "value": [ 115, 121, 115, 116, 101, 109, 95, 99, 111, 110, 102, 105, 103, 95, 118, 49, 46, 49 ] }, { "kind": "account", "path": "admin" } ] } }, { "name": "system_program", "address": "11111111111111111111111111111111" } ], "args": [] }, { "name": "initialize_token", "docs": [ "Initialize token" ], "discriminator": [ 38, 209, 150, 50, 190, 117, 16, 54 ], "accounts": [ { "name": "metadata", "writable": true, "pda": { "seeds": [ { "kind": "const", "value": [ 109, 101, 116, 97, 100, 97, 116, 97 ] }, { "kind": "account", "path": "token_metadata_program" }, { "kind": "account", "path": "mint" } ], "program": { "kind": "account", "path": "token_metadata_program" } } }, { "name": "payer", "writable": true, "signer": true }, { "name": "mint", "writable": true, "pda": { "seeds": [ { "kind": "const", "value": [ 102, 97, 105, 114, 95, 109, 105, 110, 116 ] }, { "kind": "arg", "path": "metadata_params.name" }, { "kind": "arg", "path": "metadata_params.symbol" } ] } }, { "name": "config_account", "writable": true, "pda": { "seeds": [ { "kind": "const", "value": [ 99, 111, 110, 102, 105, 103, 95, 100, 97, 116, 97 ] }, { "kind": "account", "path": "mint" } ] } }, { "name": "launch_rule_account", "writable": true, "pda": { "seeds": [ { "kind": "const", "value": [ 108, 97, 117, 110, 99, 104, 95, 114, 117, 108, 101 ] }, { "kind": "account", "path": "system_config_account" } ] } }, { "name": "mint_token_vault", "writable": true }, { "name": "token_vault", "writable": true }, { "name": "wsol_mint" }, { "name": "wsol_vault", "writable": true }, { "name": "system_config_account", "writable": true }, { "name": "protocol_fee_account", "writable": true }, { "name": "rent", "address": "SysvarRent111111111111111111111111111111111" }, { "name": "system_program", "address": "11111111111111111111111111111111" }, { "name": "token_program", "address": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA" }, { "name": "token_metadata_program", "address": "metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s" }, { "name": "associated_token_program", "address": "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL" } ], "args": [ { "name": "metadata", "type": { "defined": { "name": "TokenMetadata" } } }, { "name": "init_config_data", "type": { "defined": { "name": "InitializeTokenConfigData" } } } ] }, { "name": "mint_tokens", "docs": [ "Mint tokens" ], "discriminator": [ 59, 132, 24, 246, 122, 39, 8, 243 ], "accounts": [ { "name": "mint", "writable": true, "pda": { "seeds": [ { "kind": "const", "value": [ 102, 97, 105, 114, 95, 109, 105, 110, 116 ] }, { "kind": "arg", "path": "token_name" }, { "kind": "arg", "path": "token_symbol" } ] } }, { "name": "destination", "writable": true }, { "name": "destination_wsol_ata", "writable": true }, { "name": "refund_account", "writable": true, "pda": { "seeds": [ { "kind": "const", "value": [ 114, 101, 102, 117, 110, 100 ] }, { "kind": "account", "path": "mint" }, { "kind": "account", "path": "user" } ] } }, { "name": "user", "writable": true, "signer": true }, { "name": "config_account", "writable": true, "pda": { "seeds": [ { "kind": "const", "value": [ 99, 111, 110, 102, 105, 103, 95, 100, 97, 116, 97 ] }, { "kind": "account", "path": "mint" } ] } }, { "name": "system_config_account" }, { "name": "mint_token_vault", "writable": true }, { "name": "token_vault", "writable": true }, { "name": "wsol_vault", "writable": true }, { "name": "wsol_mint" }, { "name": "referrer_ata" }, { "name": "referrer_main", "writable": true }, { "name": "referral_account", "writable": true, "pda": { "seeds": [ { "kind": "const", "value": [ 114, 101, 102, 101, 114, 114, 97, 108 ] }, { "kind": "account", "path": "mint" }, { "kind": "account", "path": "referrer_main" } ] } }, { "name": "protocol_fee_account" }, { "name": "protocol_wsol_vault", "writable": true }, { "name": "pool_state", "writable": true, "pda": { "seeds": [ { "kind": "const", "value": [ 112, 111, 111, 108 ] }, { "kind": "account", "path": "amm_config" }, { "kind": "account", "path": "token_0_mint" }, { "kind": "account", "path": "token_1_mint" } ], "program": { "kind": "account", "path": "cp_swap_program" } } }, { "name": "amm_config" }, { "name": "cp_swap_program", "address": "CPMDWBwJDtYax9qW7AyRuVC19Cc4L4Vcy4n2BHAbHkCW" }, { "name": "token_0_mint" }, { "name": "token_1_mint" }, { "name": "rent", "address": "SysvarRent111111111111111111111111111111111" }, { "name": "token_program", "address": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA" }, { "name": "system_program", "address": "11111111111111111111111111111111" }, { "name": "associated_token_program", "address": "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL" } ], "args": [ { "name": "token_name", "type": "string" }, { "name": "token_symbol", "type": "string" }, { "name": "code_hash", "type": "bytes" } ] }, { "name": "proxy_burn_lp_tokens", "docs": [ "Burn lp tokens" ], "discriminator": [ 215, 41, 48, 70, 81, 221, 246, 105 ], "accounts": [ { "name": "admin", "writable": true, "signer": true }, { "name": "mint", "docs": [ "token mint" ], "pda": { "seeds": [ { "kind": "const", "value": [ 102, 97, 105, 114, 95, 109, 105, 110, 116 ] }, { "kind": "arg", "path": "token_name" }, { "kind": "arg", "path": "token_symbol" } ] } }, { "name": "config_account", "writable": true, "pda": { "seeds": [ { "kind": "const", "value": [ 99, 111, 110, 102, 105, 103, 95, 100, 97, 116, 97 ] }, { "kind": "account", "path": "mint" } ] } }, { "name": "owner_lp_token", "docs": [ "Owner lp tokan account - config account" ], "writable": true }, { "name": "lp_mint", "writable": true }, { "name": "token_program", "address": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA" } ], "args": [ { "name": "token_name", "type": "string" }, { "name": "token_symbol", "type": "string" }, { "name": "amount", "type": "u64" } ] }, { "name": "proxy_deposit", "docs": [ "Initiazlize a swap pool (Deprated)", "deposit instruction" ], "discriminator": [ 99, 49, 91, 137, 172, 25, 207, 21 ], "accounts": [ { "name": "cp_swap_program", "address": "CPMDWBwJDtYax9qW7AyRuVC19Cc4L4Vcy4n2BHAbHkCW" }, { "name": "owner", "docs": [ "Pays to mint the position" ], "writable": true, "signer": true }, { "name": "mint", "docs": [ "Token mint" ], "pda": { "seeds": [ { "kind": "const", "value": [ 102, 97, 105, 114, 95, 109, 105, 110, 116 ] }, { "kind": "arg", "path": "token_name" }, { "kind": "arg", "path": "token_symbol" } ] } }, { "name": "config_account", "docs": [ "Config account" ], "pda": { "seeds": [ { "kind": "const", "value": [ 99, 111, 110, 102, 105, 103, 95, 100, 97, 116, 97 ] }, { "kind": "account", "path": "mint" } ] } }, { "name": "authority", "pda": { "seeds": [ { "kind": "const", "value": [ 118, 97, 117, 108, 116, 95, 97, 110, 100, 95, 108, 112, 95, 109, 105, 110, 116, 95, 97, 117, 116, 104, 95, 115, 101, 101, 100 ] } ], "program": { "kind": "const", "value": [ 169, 42, 49, 26, 136, 152, 134, 77, 32, 99, 200, 252, 203, 83, 110, 30, 138, 48, 77, 141, 83, 152, 76, 10, 78, 179, 193, 68, 7, 214, 116, 231 ] } } }, { "name": "pool_state", "docs": [ "pool state" ], "writable": true }, { "name": "owner_lp_token", "docs": [ "Owner lp tokan account" ], "writable": true }, { "name": "token_0_account", "docs": [ "The payer's token account for token_0" ], "writable": true }, { "name": "token_1_account", "docs": [ "The payer's token account for token_1" ], "writable": true }, { "name": "token_0_vault", "docs": [ "The address that holds pool tokens for token_0" ], "writable": true }, { "name": "token_1_vault", "docs": [ "The address that holds pool tokens for token_1" ], "writable": true }, { "name": "token_program", "docs": [ "token Program" ], "address": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA" }, { "name": "token_program_2022", "docs": [ "Token program 2022" ], "address": "TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb" }, { "name": "vault_0_mint", "docs": [ "The mint of token_0 vault" ] }, { "name": "vault_1_mint", "docs": [ "The mint of token_1 vault" ] }, { "name": "lp_mint", "writable": true } ], "args": [ { "name": "token_name", "type": "string" }, { "name": "token_symbol", "type": "string" }, { "name": "lp_token_amount", "type": "u64" }, { "name": "maximum_token_0_amount", "type": "u64" }, { "name": "maximum_token_1_amount", "type": "u64" } ] }, { "name": "proxy_swap_base_in", "docs": [ "swap_base_in instruction" ], "discriminator": [ 250, 174, 212, 217, 47, 84, 212, 231 ], "accounts": [ { "name": "cp_swap_program", "address": "CPMDWBwJDtYax9qW7AyRuVC19Cc4L4Vcy4n2BHAbHkCW" }, { "name": "payer", "docs": [ "The user performing the swap" ], "writable": true, "signer": true }, { "name": "mint", "docs": [ "Token mint" ], "pda": { "seeds": [ { "kind": "const", "value": [ 102, 97, 105, 114, 95, 109, 105, 110, 116 ] }, { "kind": "arg", "path": "token_name" }, { "kind": "arg", "path": "token_symbol" } ] } }, { "name": "config_account", "docs": [ "Config account" ], "pda": { "seeds": [ { "kind": "const", "value": [ 99, 111, 110, 102, 105, 103, 95, 100, 97, 116, 97 ] }, { "kind": "account", "path": "mint" } ] } }, { "name": "authority", "pda": { "seeds": [ { "kind": "const", "value": [ 118, 97, 117, 108, 116, 95, 97, 110, 100, 95, 108, 112, 95, 109, 105, 110, 116, 95, 97, 117, 116, 104, 95, 115, 101, 101, 100 ] } ], "program": { "kind": "const", "value": [ 169, 42, 49, 26, 136, 152, 134, 77, 32, 99, 200, 252, 203, 83, 110, 30, 138, 48, 77, 141, 83, 152, 76, 10, 78, 179, 193, 68, 7, 214, 116, 231 ] } } }, { "name": "amm_config", "docs": [ "The factory state to read protocol fees" ] }, { "name": "pool_state", "docs": [ "pool state" ], "writable": true }, { "name": "input_token_account", "docs": [ "The user token account for input token" ], "writable": true }, { "name": "output_token_account", "docs": [ "The user token account for output token" ], "writable": true }, { "name": "input_vault", "docs": [ "The vault token account for input token" ], "writable": true }, { "name": "output_vault", "docs": [ "The vault token account for output token" ], "writable": true }, { "name": "input_token_program", "docs": [ "SPL program for input token transfers" ] }, { "name": "output_token_program", "docs": [ "SPL program for output token transfers" ] }, { "name": "input_token_mint", "docs": [ "The mint of input token" ] }, { "name": "output_token_mint", "docs": [ "The mint of output token" ] }, { "name": "observation_state", "docs": [ "The program account for the most recent oracle observation" ], "writable": true } ], "args": [ { "name": "token_name", "type": "string" }, { "name": "token_symbol", "type": "string" }, { "name": "amount_in", "type": "u64" }, { "name": "minimum_amount_out", "type": "u64" } ] }, { "name": "proxy_swap_base_out", "docs": [ "swap_base_out instruction" ], "discriminator": [ 194, 15, 252, 249, 72, 54, 250, 85 ], "accounts": [ { "name": "cp_swap_program", "address": "CPMDWBwJDtYax9qW7AyRuVC19Cc4L4Vcy4n2BHAbHkCW" }, { "name": "payer", "docs": [ "The user performing the swap" ], "writable": true, "signer": true }, { "name": "mint", "docs": [ "Token mint" ], "pda": { "seeds": [ { "kind": "const", "value": [ 102, 97, 105, 114, 95, 109, 105, 110, 116 ] }, { "kind": "arg", "path": "token_name" }, { "kind": "arg", "path": "token_symbol" } ] } }, { "name": "config_account", "docs": [ "Config account" ], "pda": { "seeds": [ { "kind": "const", "value": [ 99, 111, 110, 102, 105, 103, 95, 100, 97, 116, 97 ] }, { "kind": "account", "path": "mint" } ] } }, { "name": "authority", "pda": { "seeds": [ { "kind": "const", "value": [ 118, 97, 117, 108, 116, 95, 97, 110, 100, 95, 108, 112, 95, 109, 105, 110, 116, 95, 97, 117, 116, 104, 95, 115, 101, 101, 100 ] } ], "program": { "kind": "const", "value": [ 169, 42, 49, 26, 136, 152, 134, 77, 32, 99, 200, 252, 203, 83, 110, 30, 138, 48, 77, 141, 83, 152, 76, 10, 78, 179, 193, 68, 7, 214, 116, 231 ] } } }, { "name": "amm_config", "docs": [ "The factory state to read protocol fees" ] }, { "name": "pool_state", "docs": [ "pool state" ], "writable": true }, { "name": "input_token_account", "docs": [ "The user token account for input token" ], "writable": true }, { "name": "output_token_account", "docs": [ "The user token account for output token" ], "writable": true }, { "name": "input_vault", "docs": [ "The vault token account for input token" ], "writable": true }, { "name": "output_vault", "docs": [ "The vault token account for output token" ], "writable": true }, { "name": "input_token_program", "docs": [ "SPL program for input token transfers" ] }, { "name": "output_token_program", "docs": [ "SPL program for output token transfers" ] }, { "name": "input_token_mint", "docs": [ "The mint of input token" ] }, { "name": "output_token_mint", "docs": [ "The mint of output token" ] }, { "name": "observation_state", "docs": [ "The program account for the most recent oracle observation" ], "writable": true } ], "args": [ { "name": "token_name", "type": "string" }, { "name": "token_symbol", "type": "string" }, { "name": "max_amount_in", "type": "u64" }, { "name": "amount_out", "type": "u64" } ] }, { "name": "proxy_withdraw", "docs": [ "withdraw instruction" ], "discriminator": [ 118, 12, 163, 77, 70, 15, 67, 252 ], "accounts": [ { "name": "cp_swap_program", "address": "CPMDWBwJDtYax9qW7AyRuVC19Cc4L4Vcy4n2BHAbHkCW" }, { "name": "owner", "docs": [ "Pays to mint the position" ], "writable": true, "signer": true }, { "name": "mint", "docs": [ "Token mint" ], "pda": { "seeds": [ { "kind": "const", "value": [ 102, 97, 105, 114, 95, 109, 105, 110, 116 ] }, { "kind": "arg", "path": "token_name" }, { "kind": "arg", "path": "token_symbol" } ] } }, { "name": "config_account", "docs": [ "Config account" ], "pda": { "seeds": [ { "kind": "const", "value": [ 99, 111, 110, 102, 105, 103, 95, 100, 97, 116, 97 ] }, { "kind": "account", "path": "mint" } ] } }, { "name": "authority", "pda": { "seeds": [ { "kind": "const", "value": [ 118, 97, 117, 108, 116, 95, 97, 110, 100, 95, 108, 112, 95, 109, 105, 110, 116, 95, 97, 117, 116, 104, 95, 115, 101, 101, 100 ] } ], "program": { "kind": "const", "value": [ 169, 42, 49, 26, 136, 152, 134, 77, 32, 99, 200, 252, 203, 83, 110, 30, 138, 48, 77, 141, 83, 152, 76, 10, 78, 179, 193, 68, 7, 214, 116, 231 ] } } }, { "name": "pool_state", "docs": [ "pool state" ], "writable": true }, { "name": "owner_lp_token", "docs": [ "Owner lp token account" ], "writable": true }, { "name": "token_0_account", "docs": [ "The owner's token account for receive token_0" ], "writable": true }, { "name": "token_1_account", "docs": [ "The owner's token account for receive token_1" ], "writable": true }, { "name": "token_0_vault", "docs": [ "The address that holds pool tokens for token_0" ], "writable": true }, { "name": "token_1_vault", "docs": [ "The address that holds pool tokens for token_1" ], "writable": true }, { "name": "token_program", "docs": [ "token Program" ], "address": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA" }, { "name": "token_program_2022", "docs": [ "Token program 2022" ], "address": "TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb" }, { "name": "vault_0_mint", "docs": [ "The mint of token_0 vault" ] }, { "name": "vault_1_mint", "docs": [ "The mint of token_1 vault" ] }, { "name": "lp_mint", "writable": true }, { "name": "memo_program", "docs": [ "memo program" ], "address": "MemoSq4gqABAXKb96qnH8TysNcWxMyWCqXgDLGmfcHr" } ], "args": [ { "name": "token_name", "type": "string" }, { "name": "token_symbol", "type": "string" }, { "name": "lp_token_amount", "type": "u64" }, { "name": "minimum_token_0_amount", "type": "u64" }, { "name": "minimum_token_1_amount", "type": "u64" } ] }, { "name": "refund", "docs": [ "Refund" ], "discriminator": [ 2, 96, 183, 251, 63, 208, 46, 46 ], "accounts": [ { "name": "mint", "writable": true, "pda": { "seeds": [ { "kind": "const", "value": [ 102, 97, 105, 114, 95, 109, 105, 110, 116 ] }, { "kind": "arg", "path": "token_name" }, { "kind": "arg", "path": "token_symbol" } ] } }, { "name": "refund_account", "writable": true, "pda": { "seeds": [ { "kind": "const", "value": [ 114, 101, 102, 117, 110, 100 ] }, { "kind": "account", "path": "mint" }, { "kind": "account", "path": "payer" } ] } }, { "name": "config_account", "writable": true, "pda": { "seeds": [ { "kind": "const", "value": [ 99, 111, 110, 102, 105, 103, 95, 100, 97, 116, 97 ] }, { "kind": "account", "path": "mint" } ] } }, { "name": "token_ata", "writable": true }, { "name": "token_vault", "writable": true }, { "name": "protocol_fee_account", "docs": [ "CHECK the protocol fee account" ], "writable": true }, { "name": "system_config_account" }, { "name": "payer", "writable": true, "signer": true }, { "name": "wsol_vault", "writable": true }, { "name": "payer_wsol_vault", "writable": true }, { "name": "protocol_wsol_vault", "writable": true }, { "name": "token_program", "address": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA" }, { "name": "system_program", "address": "11111111111111111111111111111111" } ], "args": [ { "name": "token_name", "type": "string" }, { "name": "token_symbol", "type": "string" } ] }, { "name": "revoke_update_metadata_authority", "docs": [ "Revoke update token2022 metadata authority" ], "discriminator": [ 16, 230, 0, 225, 47, 138, 113, 90 ], "accounts": [ { "name": "mint", "writable": true, "pda": { "seeds": [ { "kind": "const", "value": [ 102, 97, 105, 114, 95, 109, 105, 110, 116 ] }, { "kind": "arg", "path": "metadata_params.name" }, { "kind": "arg", "path": "metadata_params.symbol" } ] } }, { "name": "config_account", "pda": { "seeds": [ { "kind": "const", "value": [ 99, 111, 110, 102, 105, 103, 95, 100, 97, 116, 97 ] }, { "kind": "account", "path": "mint" } ] } }, { "name": "metadata", "writable": true, "pda": { "seeds": [ { "kind": "const", "value": [ 109, 101, 116, 97, 100, 97, 116, 97 ] }, { "kind":