{ "address": "boop8hVGQGqehUK2iVEMEnMrL5RbjywRzHKBmBE7ry4", "metadata": { "name": "boop", "version": "0.3.0", "spec": "0.1.0", "description": "Boop is a token launcher with fee sharing" }, "instructions": [ { "name": "add_operators", "discriminator": [ 165, 199, 62, 214, 81, 54, 4, 150 ], "accounts": [ { "name": "config", "writable": true, "pda": { "seeds": [ { "kind": "const", "value": [ 99, 111, 110, 102, 105, 103 ] } ] } }, { "name": "authority", "writable": true, "signer": true, "relations": [ "config" ] }, { "name": "system_program", "address": "11111111111111111111111111111111" } ], "args": [ { "name": "operators", "type": { "vec": "pubkey" } } ] }, { "name": "buy_token", "discriminator": [ 138, 127, 14, 91, 38, 87, 115, 105 ], "accounts": [ { "name": "mint" }, { "name": "bonding_curve", "writable": true, "pda": { "seeds": [ { "kind": "const", "value": [ 98, 111, 110, 100, 105, 110, 103, 95, 99, 117, 114, 118, 101 ] }, { "kind": "account", "path": "mint" } ] } }, { "name": "trading_fees_vault", "writable": true, "pda": { "seeds": [ { "kind": "const", "value": [ 116, 114, 97, 100, 105, 110, 103, 95, 102, 101, 101, 115, 95, 118, 97, 117, 108, 116 ] }, { "kind": "account", "path": "mint" } ] } }, { "name": "bonding_curve_vault", "writable": true, "pda": { "seeds": [ { "kind": "const", "value": [ 98, 111, 110, 100, 105, 110, 103, 95, 99, 117, 114, 118, 101, 95, 118, 97, 117, 108, 116 ] }, { "kind": "account", "path": "mint" } ] } }, { "name": "bonding_curve_sol_vault", "writable": true, "pda": { "seeds": [ { "kind": "const", "value": [ 98, 111, 110, 100, 105, 110, 103, 95, 99, 117, 114, 118, 101, 95, 115, 111, 108, 95, 118, 97, 117, 108, 116 ] }, { "kind": "account", "path": "mint" } ] } }, { "name": "recipient_token_account" }, { "name": "buyer", "writable": true, "signer": true }, { "name": "config", "pda": { "seeds": [ { "kind": "const", "value": [ 99, 111, 110, 102, 105, 103 ] } ] } }, { "name": "vault_authority", "pda": { "seeds": [ { "kind": "const", "value": [ 118, 97, 117, 108, 116, 95, 97, 117, 116, 104, 111, 114, 105, 116, 121 ] } ] } }, { "name": "wsol", "address": "So11111111111111111111111111111111111111112" }, { "name": "system_program", "address": "11111111111111111111111111111111" }, { "name": "token_program", "address": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA" }, { "name": "associated_token_program", "address": "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL" } ], "args": [ { "name": "buy_amount", "type": "u64" }, { "name": "amount_out_min", "type": "u64" } ] }, { "name": "cancel_authority_transfer", "discriminator": [ 94, 131, 125, 184, 183, 24, 125, 229 ], "accounts": [ { "name": "authority", "signer": true, "relations": [ "config" ] }, { "name": "config", "writable": true, "pda": { "seeds": [ { "kind": "const", "value": [ 99, 111, 110, 102, 105, 103 ] } ] } }, { "name": "system_program", "address": "11111111111111111111111111111111" } ], "args": [] }, { "name": "close_bonding_curve_vault", "discriminator": [ 189, 71, 189, 239, 113, 66, 59, 189 ], "accounts": [ { "name": "config", "pda": { "seeds": [ { "kind": "const", "value": [ 99, 111, 110, 102, 105, 103 ] } ] } }, { "name": "operator", "writable": true, "signer": true }, { "name": "vault_authority", "pda": { "seeds": [ { "kind": "const", "value": [ 118, 97, 117, 108, 116, 95, 97, 117, 116, 104, 111, 114, 105, 116, 121 ] } ] } }, { "name": "bonding_curve", "writable": true, "pda": { "seeds": [ { "kind": "const", "value": [ 98, 111, 110, 100, 105, 110, 103, 95, 99, 117, 114, 118, 101 ] }, { "kind": "account", "path": "mint" } ] } }, { "name": "bonding_curve_vault", "writable": true, "pda": { "seeds": [ { "kind": "const", "value": [ 98, 111, 110, 100, 105, 110, 103, 95, 99, 117, 114, 118, 101, 95, 118, 97, 117, 108, 116 ] }, { "kind": "account", "path": "mint" } ] } }, { "name": "mint" }, { "name": "recipient_token_account", "writable": true, "pda": { "seeds": [ { "kind": "account", "path": "recipient" }, { "kind": "const", "value": [ 6, 221, 246, 225, 215, 101, 161, 147, 217, 203, 225, 70, 206, 235, 121, 172, 28, 180, 133, 237, 95, 91, 55, 145, 58, 140, 245, 133, 126, 255, 0, 169 ] }, { "kind": "account", "path": "mint" } ], "program": { "kind": "const", "value": [ 140, 151, 37, 143, 78, 36, 137, 241, 187, 61, 16, 41, 20, 142, 13, 131, 11, 90, 19, 153, 218, 255, 16, 132, 4, 142, 123, 216, 219, 233, 248, 89 ] } } }, { "name": "recipient", "writable": true }, { "name": "token_program", "address": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA" }, { "name": "system_program", "docs": [ "System program for creating associated token if needed" ], "address": "11111111111111111111111111111111" }, { "name": "associated_token_program", "address": "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL" }, { "name": "rent", "address": "SysvarRent111111111111111111111111111111111" } ], "args": [] }, { "name": "collect_meteora_trading_fees", "discriminator": [ 249, 95, 126, 91, 81, 162, 83, 250 ], "accounts": [ { "name": "operator", "writable": true, "signer": true }, { "name": "protocol_fee_recipient", "relations": [ "config" ] }, { "name": "config", "pda": { "seeds": [ { "kind": "const", "value": [ 99, 111, 110, 102, 105, 103 ] } ] } }, { "name": "pool_authority" }, { "name": "pool" }, { "name": "position", "writable": true }, { "name": "token_a_account", "docs": [ "The token account to receive token a" ], "writable": true, "pda": { "seeds": [ { "kind": "account", "path": "protocol_fee_recipient" }, { "kind": "const", "value": [ 6, 221, 246, 225, 215, 101, 161, 147, 217, 203, 225, 70, 206, 235, 121, 172, 28, 180, 133, 237, 95, 91, 55, 145, 58, 140, 245, 133, 126, 255, 0, 169 ] }, { "kind": "account", "path": "token_a_mint" } ], "program": { "kind": "const", "value": [ 140, 151, 37, 143, 78, 36, 137, 241, 187, 61, 16, 41, 20, 142, 13, 131, 11, 90, 19, 153, 218, 255, 16, 132, 4, 142, 123, 216, 219, 233, 248, 89 ] } } }, { "name": "token_b_account", "docs": [ "The token account to receive token b" ], "writable": true, "pda": { "seeds": [ { "kind": "const", "value": [ 116, 114, 97, 100, 105, 110, 103, 95, 102, 101, 101, 115, 95, 118, 97, 117, 108, 116 ] }, { "kind": "account", "path": "token_a_mint" } ] } }, { "name": "token_a_vault", "writable": true }, { "name": "token_b_vault", "writable": true }, { "name": "token_a_mint" }, { "name": "token_b_mint" }, { "name": "position_nft_account", "writable": true }, { "name": "vault_authority", "pda": { "seeds": [ { "kind": "const", "value": [ 118, 97, 117, 108, 116, 95, 97, 117, 116, 104, 111, 114, 105, 116, 121 ] } ] } }, { "name": "token_program", "address": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA" }, { "name": "associated_token_program", "address": "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL" }, { "name": "event_authority" }, { "name": "cp_amm_program", "address": "cpamdpZCGKUy5JxQXB4dcpGPiikHawvSWAd6mEn1sGG" } ], "args": [] }, { "name": "collect_meteora_trading_fees_v2", "discriminator": [ 96, 39, 109, 46, 5, 161, 15, 57 ], "accounts": [ { "name": "operator", "writable": true, "signer": true }, { "name": "protocol_fee_recipient", "relations": [ "config" ] }, { "name": "config", "pda": { "seeds": [ { "kind": "const", "value": [ 99, 111, 110, 102, 105, 103 ] } ] } }, { "name": "pool_authority" }, { "name": "pool" }, { "name": "position", "writable": true }, { "name": "token_a_account", "docs": [ "The token account to receive token a" ], "writable": true, "pda": { "seeds": [ { "kind": "account", "path": "protocol_fee_recipient" }, { "kind": "const", "value": [ 6, 221, 246, 225, 215, 101, 161, 147, 217, 203, 225, 70, 206, 235, 121, 172, 28, 180, 133, 237, 95, 91, 55, 145, 58, 140, 245, 133, 126, 255, 0, 169 ] }, { "kind": "account", "path": "token_a_mint" } ], "program": { "kind": "const", "value": [ 140, 151, 37, 143, 78, 36, 137, 241, 187, 61, 16, 41, 20, 142, 13, 131, 11, 90, 19, 153, 218, 255, 16, 132, 4, 142, 123, 216, 219, 233, 248, 89 ] } } }, { "name": "token_b_account", "docs": [ "The token account to receive token b" ], "writable": true, "pda": { "seeds": [ { "kind": "const", "value": [ 112, 111, 115, 116, 95, 103, 114, 97, 100, 95, 116, 114, 97, 100, 105, 110, 103, 95, 102, 101, 101, 115, 95, 118, 97, 117, 108, 116 ] }, { "kind": "account", "path": "token_a_mint" } ] } }, { "name": "token_a_vault", "writable": true }, { "name": "token_b_vault", "writable": true }, { "name": "token_a_mint" }, { "name": "token_b_mint" }, { "name": "position_nft_account", "writable": true }, { "name": "vault_authority", "pda": { "seeds": [ { "kind": "const", "value": [ 118, 97, 117, 108, 116, 95, 97, 117, 116, 104, 111, 114, 105, 116, 121 ] } ] } }, { "name": "token_program", "address": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA" }, { "name": "associated_token_program", "address": "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL" }, { "name": "event_authority" }, { "name": "cp_amm_program", "address": "cpamdpZCGKUy5JxQXB4dcpGPiikHawvSWAd6mEn1sGG" }, { "name": "system_program", "address": "11111111111111111111111111111111" } ], "args": [] }, { "name": "collect_trading_fees", "discriminator": [ 189, 38, 205, 234, 81, 77, 25, 1 ], "accounts": [ { "name": "operator", "writable": true, "signer": true }, { "name": "protocol_fee_recipient", "relations": [ "config" ] }, { "name": "config", "pda": { "seeds": [ { "kind": "const", "value": [ 99, 111, 110, 102, 105, 103 ] } ] } }, { "name": "lock_program", "address": "LockrWmn6K5twhz3y9w1dQERbmgSaRkfnTeTKbpofwE" }, { "name": "vault_authority", "pda": { "seeds": [ { "kind": "const", "value": [ 118, 97, 117, 108, 116, 95, 97, 117, 116, 104, 111, 114, 105, 116, 121 ] } ] } }, { "name": "authority", "pda": { "seeds": [ { "kind": "const", "value": [ 108, 111, 99, 107, 95, 99, 112, 95, 97, 117, 116, 104, 111, 114, 105, 116, 121, 95, 115, 101, 101, 100 ] } ], "program": { "kind": "account", "path": "lock_program" } } }, { "name": "fee_nft_account", "docs": [ "Fee token account" ] }, { "name": "locked_liquidity", "docs": [ "Store the locked the information of liquidity" ], "writable": true }, { "name": "cpmm_program", "address": "CPMMoo8L3F4NbTegBCKVNunggL7H1ZpdTHKxQB5qKP1C" }, { "name": "cp_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, 90, 139, 79, 41, 89, 82, 132, 37, 80, 170, 147, 253, 91, 149, 181, 172, 230, 168, 235, 146, 12, 147, 148, 46, 67, 105, 12, 32, 236, 115 ] } } }, { "name": "pool_state", "writable": true }, { "name": "lp_mint", "docs": [ "lp mint", "address = pool_state.lp_mint" ], "writable": true }, { "name": "recipient_token_0_account", "docs": [ "The token account for receive token_0" ], "writable": true, "pda": { "seeds": [ { "kind": "account", "path": "protocol_fee_recipient" }, { "kind": "const", "value": [ 6, 221, 246, 225, 215, 101, 161, 147, 217, 203, 225, 70, 206, 235, 121, 172, 28, 180, 133, 237, 95, 91, 55, 145, 58, 140, 245, 133, 126, 255, 0, 169 ] }, { "kind": "account", "path": "vault_0_mint" } ], "program": { "kind": "const", "value": [ 140, 151, 37, 143, 78, 36, 137, 241, 187, 61, 16, 41, 20, 142, 13, 131, 11, 90, 19, 153, 218, 255, 16, 132, 4, 142, 123, 216, 219, 233, 248, 89 ] } } }, { "name": "recipient_token_1_account", "docs": [ "The token account for receive token_1" ], "writable": true, "pda": { "seeds": [ { "kind": "const", "value": [ 116, 114, 97, 100, 105, 110, 103, 95, 102, 101, 101, 115, 95, 118, 97, 117, 108, 116 ] }, { "kind": "account", "path": "token_0_vault.mint" } ] } }, { "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": "vault_0_mint", "docs": [ "The mint of token_0 vault" ] }, { "name": "vault_1_mint", "docs": [ "The mint of token_1 vault" ] }, { "name": "locked_lp_vault", "docs": [ "locked lp token account" ], "writable": true, "pda": { "seeds": [ { "kind": "account", "path": "authority" }, { "kind": "const", "value": [ 6, 221, 246, 225, 215, 101, 161, 147, 217, 203, 225, 70, 206, 235, 121, 172, 28, 180, 133, 237, 95, 91, 55, 145, 58, 140, 245, 133, 126, 255, 0, 169 ] }, { "kind": "account", "path": "lp_mint" } ], "program": { "kind": "const", "value": [ 140, 151, 37, 143, 78, 36, 137, 241, 187, 61, 16, 41, 20, 142, 13, 131, 11, 90, 19, 153, 218, 255, 16, 132, 4, 142, 123, 216, 219, 233, 248, 89 ] } } }, { "name": "system_program", "docs": [ "System program" ], "address": "11111111111111111111111111111111" }, { "name": "associated_token_program", "docs": [ "Associated token program" ], "address": "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL" }, { "name": "token_program", "docs": [ "token Program" ], "address": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA" }, { "name": "token_program_2022", "docs": [ "Token program 2022" ], "address": "TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb" }, { "name": "memo_program", "docs": [ "memo program" ], "address": "MemoSq4gqABAXKb96qnH8TysNcWxMyWCqXgDLGmfcHr" } ], "args": [] }, { "name": "collect_trading_fees_v2", "discriminator": [ 180, 138, 160, 155, 243, 88, 168, 7 ], "accounts": [ { "name": "operator", "writable": true, "signer": true }, { "name": "protocol_fee_recipient", "relations": [ "config" ] }, { "name": "config", "pda": { "seeds": [ { "kind": "const", "value": [ 99, 111, 110, 102, 105, 103 ] } ] } }, { "name": "lock_program", "address": "LockrWmn6K5twhz3y9w1dQERbmgSaRkfnTeTKbpofwE" }, { "name": "vault_authority", "pda": { "seeds": [ { "kind": "const", "value": [ 118, 97, 117, 108, 116, 95, 97, 117, 116, 104, 111, 114, 105, 116, 121 ] } ] } }, { "name": "authority", "pda": { "seeds": [ { "kind": "const", "value": [ 108, 111, 99, 107, 95, 99, 112, 95, 97, 117, 116, 104, 111, 114, 105, 116, 121, 95, 115, 101, 101, 100 ] } ], "program": { "kind": "account", "path": "lock_program" } } }, { "name": "fee_nft_account", "docs": [ "Fee token account" ] }, { "name": "locked_liquidity", "docs": [ "Store the locked the information of liquidity" ], "writable": true }, { "name": "cpmm_program", "address": "CPMMoo8L3F4NbTegBCKVNunggL7H1ZpdTHKxQB5qKP1C" }, { "name": "cp_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, 90, 139, 79, 41, 89, 82, 132, 37, 80, 170, 147, 253, 91, 149, 181, 172, 230, 168, 235, 146, 12, 147, 148, 46, 67, 105, 12, 32, 236, 115 ] } } }, { "name": "pool_state", "writable": true }, { "name": "lp_mint", "docs": [ "lp mint", "address = pool_state.lp_mint" ], "writable": true }, { "name": "recipient_token_0_account", "docs": [ "The token account for receive token_0" ], "writable": true, "pda": { "seeds": [ { "kind": "account", "path": "protocol_fee_recipient" }, { "kind": "const", "value": [ 6, 221, 246, 225, 215, 101, 161, 147, 217, 203, 225, 70, 206, 235, 121, 172, 28, 180, 133, 237, 95, 91, 55, 145, 58, 140, 245, 133, 126, 255, 0, 169 ] }, { "kind": "account", "path": "vault_0_mint" } ], "program": { "kind": "const", "value": [ 140, 151, 37, 143, 78, 36, 137, 241, 187, 61, 16, 41, 20, 142, 13, 131, 11, 90, 19, 153, 218, 255, 16, 132, 4, 142, 123, 216, 219, 233, 248, 89 ] } } }, { "name": "recipient_token_1_account", "docs": [ "The token account for receive token_1" ], "writable": true, "pda": { "seeds": [ { "kind": "const", "value": [ 112, 111, 115, 116, 95, 103, 114, 97, 100, 95, 116, 114, 97, 100, 105, 110, 103, 95, 102, 101, 101, 115, 95, 118, 97, 117, 108, 116 ] }, { "kind": "account", "path": "token_0_vault.mint" } ] } }, { "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": "vault_0_mint", "docs": [ "The mint of token_0 vault" ] }, { "name": "vault_1_mint", "docs": [ "The mint of token_1 vault" ] }, { "name": "locked_lp_vault", "docs": [ "locked lp token account" ], "writable": true, "pda": { "seeds": [ { "kind": "account", "path": "authority" }, { "kind": "const", "value": [ 6, 221, 246, 225, 215, 101, 161, 147, 217, 203, 225, 70, 206, 235, 121, 172, 28, 180, 133, 237, 95, 91, 55, 145, 58, 140, 245, 133, 126, 255, 0, 169 ] }, { "kind": "account", "path": "lp_mint" } ], "program": { "kind": "const", "value": [ 140, 151, 37, 143, 78, 36, 137, 241, 187, 61, 16, 41, 20, 142, 13, 131, 11, 90, 19, 153, 218, 255, 16, 132, 4, 142, 123, 216, 219, 233, 248, 89 ] } } }, { "name": "system_program", "docs": [ "System program" ], "address": "11111111111111111111111111111111" }, { "name": "associated_token_program", "docs": [ "Associated token program" ], "address": "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL" }, { "name": "token_program", "docs": [ "token Program" ], "address": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA" }, { "name": "token_program_2022", "docs": [ "Token program 2022" ], "address": "TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb" }, { "name": "memo_program", "docs": [ "memo program" ], "address": "MemoSq4gqABAXKb96qnH8TysNcWxMyWCqXgDLGmfcHr" } ], "args": [] }, { "name": "complete_authority_transfer", "discriminator": [ 81, 233, 91, 132, 175, 31, 151, 141 ], "accounts": [ { "name": "pending_authority", "signer": true, "relations": [ "config" ] }, { "name": "config", "writable": true, "pda": { "seeds": [ { "kind": "const", "value": [ 99, 111, 110, 102, 105, 103 ] } ] } }, { "name": "system_program", "address": "11111111111111111111111111111111" } ], "args": [] }, { "name": "create_meteora_pool", "discriminator": [ 246, 254, 33, 37, 225, 176, 41, 232 ], "accounts": [ { "name": "operator", "writable": true, "signer": true }, { "name": "config", "pda": { "seeds": [ { "kind": "const", "value": [ 99, 111, 110, 102, 105, 103 ] } ] } }, { "name": "vault_authority", "writable": true, "pda": { "seeds": [ { "kind": "const", "value": [ 118, 97, 117, 108, 116, 95, 97, 117, 116, 104, 111, 114, 105, 116, 121 ] } ] } }, { "name": "cp_amm_config" }, { "name": "pool_authority" }, { "name": "pool", "writable": true }, { "name": "position", "writable": true }, { "name": "position_nft_mint", "writable": true, "signer": true }, { "name": "position_nft_account", "writable": true }, { "name": "token_a_mint" }, { "name": "token_b_mint", "address": "So11111111111111111111111111111111111111112" }, { "name": "token_a_vault", "writable": true }, { "name": "token_b_vault", "writable": true }, { "name": "bonding_curve", "writable": true, "pda": { "seeds": [ { "kind": "const", "value": [ 98, 111, 110, 100, 105, 110, 103, 95, 99, 117, 114, 118, 101 ] }, { "kind": "account", "path": "token_a_mint" } ] } }, { "name": "bonding_curve_vault", "writable": true, "pda": { "seeds": [ { "kind": "const", "value": [ 98, 111, 110, 100, 105, 110, 103, 95, 99, 117, 114, 118, 101, 95, 118, 97, 117, 108, 116 ] }, { "kind": "account", "path": "token_a_mint" } ] } }, { "name": "bonding_curve_wsol_vault", "writable": true, "pda": { "seeds": [ { "kind": "const", "value": [ 98, 111, 110, 100, 105, 110, 103, 95, 99, 117, 114, 118, 101, 95, 119, 115, 111, 108, 95, 118, 97, 117, 108, 116 ] }, { "kind": "account", "path": "token_a_mint" } ] } }, { "name": "token_program", "address": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA" }, { "name": "token_2022_program", "address": "TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb" }, { "name": "system_program", "address": "11111111111111111111111111111111" }, { "name": "event_authority" }, { "name": "cp_amm_program", "address": "cpamdpZCGKUy5JxQXB4dcpGPiikHawvSWAd6mEn1sGG" } ], "args": [] }, { "name": "create_raydium_pool", "discriminator": [ 65, 45, 119, 77, 204, 178, 84, 2 ], "accounts": [ { "name": "cpmm_program", "address": "CPMMoo8L3F4NbTegBCKVNunggL7H1ZpdTHKxQB5qKP1C" }, { "name": "amm_config", "docs": [ "Which config the pool belongs to." ] }, { "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, 90, 139, 79, 41, 89, 82, 132, 37, 80, 170, 147, 253, 91, 149, 181, 172, 230, 168, 235, 146, 12, 147, 148, 46, 67, 105, 12, 32, 236, 115 ] } } }, { "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": "const", "value": [ 169, 42, 90, 139, 79, 41, 89, 82, 132, 37, 80, 170, 147, 253, 91, 149, 181, 172, 230, 168, 235, 146, 12, 147, 148, 46, 67, 105, 12, 32, 236, 115 ] } } }, { "name": "token_0_mint", "writable": true }, { "name": "token_1_mint", "docs": [ "Token_1 mint, the key must be greater than token_0 mint." ], "address": "So11111111111111111111111111111111111111112" }, { "name": "lp_mint", "writable": true, "pda": { "seeds": [ { "kind": "const", "value": [ 112, 111, 111, 108, 95, 108, 112, 95, 109, 105, 110, 116 ] }, { "kind": "account", "path": "pool_state" } ], "program": { "kind": "const", "value": [ 169, 42, 90, 139, 79, 41, 89, 82, 132, 37, 80, 170, 147, 253, 91, 149, 181, 172, 230, 168, 235, 146, 12, 147, 148, 46, 67, 105, 12, 32, 236, 115 ] } } }, { "name": "vault_authority", "writable": true, "pda": { "seeds": [ { "kind": "const", "value": [ 118, 97, 117, 108, 116, 95, 97, 117, 116, 104, 111, 114, 105, 116, 121 ] } ] } }, { "name": "bonding_curve", "writable": true, "pda": { "seeds": [ { "kind": "const", "value": [ 98, 111, 110, 100, 105, 110, 103, 95, 99, 117, 114, 118, 101 ] }, { "kind": "account", "path": "token_0_mint" } ] } }, { "name": "bonding_curve_vault", "writable": true, "pda": { "seeds": [ { "kind": "const", "value": [ 98, 111, 110, 100, 105, 110, 103, 95, 99, 117, 114, 118, 101, 95, 118, 97, 117, 108, 116 ] }, { "kind": "account", "path": "token_0_mint" } ] } }, { "name": "bonding_curve_wsol_vault", "writable": true, "pda": { "seeds": [ { "kind": "const", "value": [ 98, 111, 110, 100, 105, 110, 103, 95, 99, 117, 114, 118, 101, 95, 119, 115, 111, 108, 95, 118, 97, 117, 108, 116 ] }, { "kind": "account", "path": "token_0_mint" } ] } }, { "name": "creator_lp_token", "writable": true }, { "name": "token_0_vault", "writable": true, "pda": { "seeds": [ { "kind": "const", "value": [ 112, 111, 111, 108, 95, 118, 97, 117, 108, 116 ] }, { "kind": "account", "path": "pool_state" }, { "kind": "account", "path": "token_0_mint" } ], "program": { "kind": "const", "value": [ 169, 42, 90, 139, 79, 41, 89, 82, 132, 37, 80, 170, 147, 253, 91, 149, 181, 172, 230, 168, 235, 146, 12, 147, 148, 46, 67, 105, 12, 32, 236, 115 ] } } }, { "name": "token_1_vault", "writable": true, "pda": { "seeds": [ { "kind": "const", "value": [ 112, 111, 111, 108, 95, 118, 97, 117, 108, 116 ] }, { "kind": "account", "path": "pool_state" }, { "kind": "account", "path": "token_1_mint" } ], "program": { "kind": "const", "value": [ 169, 42, 90, 139, 79, 41, 89, 82, 132, 37, 80, 170, 147, 253, 91, 149, 181, 172, 230, 168, 235, 146, 12, 147, 148, 46, 67, 105, 12, 32, 236, 115 ] } } }, { "name": "create_pool_fee", "docs": [ "create pool fee account" ], "writable": true, "address": "DNXgeM9EiiaAbaWvwjHj9fQQLAX5ZsfHyvmYUNRAdNC8" }, { "name": "observation_state", "writable": true, "pda": { "seeds": [ { "kind": "const", "value": [ 111, 98, 115, 101, 114, 118, 97, 116, 105, 111, 110 ] }, { "kind": "account", "path": "pool_state" } ], "program": { "kind": "const", "value": [ 169, 42, 90, 139, 79, 41, 89, 82, 132, 37, 80, 170, 147, 253, 91, 149, 181, 172, 230, 168, 235, 146, 12, 147, 148, 46, 67, 105, 12, 32, 236, 115 ] } } }, { "name": "operator", "writable": true, "signer": true }, { "name": "config", "pda": { "seeds": [ { "kind": "const", "value": [ 99, 111, 110, 102, 105, 103 ] } ] } }, { "name": "token_program", "docs": [ "Program to create mint account and mint tokens" ], "address": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA" }, { "name": "associated_token_program", "docs": [ "Program to create an ATA for receiving position NFT" ], "address": "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL" }, { "name": "system_program", "docs": [ "To create a new program account" ], "address": "11111111111111111111111111111111" }, { "name": "rent", "docs": [ "Sysvar for program account" ], "address": "SysvarRent111111111111111111111111111111111" } ], "args": [] }, { "name": "create_raydium_random_pool", "discriminator": [ 78, 44, 173, 29, 132, 180, 4, 172 ], "accounts": [ { "name": "cpmm_program", "address": "CPMMoo8L3F4NbTegBCKVNunggL7H1ZpdTHKxQB5qKP1C" }, { "name": "amm_config", "docs": [ "Which config the pool belongs to." ] }, { "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, 90, 139, 79, 41, 89, 82, 132, 37, 80, 170, 147, 253, 91, 149, 181, 172, 230, 168, 235, 146, 12, 147, 148, 46, 67, 105, 12, 32, 236, 115 ] } } }, { "name": "pool_state", "writable": true, "signer": true }, { "name": "token_0_mint", "writable": true }, { "name": "token_1_mint", "docs": [ "Token_1 mint, the key must be greater than token_0 mint." ], "address": "So11111111111111111111111111111111111111112" }, { "name": "lp_mint", "writable": true, "pda": { "seeds": [ { "kind": "const", "value": [ 112, 111, 111, 108, 95, 108, 112, 95, 109, 105, 110, 116 ] }, { "kind": "account", "path": "pool_state" } ], "program": { "kind": "const", "value": [ 169, 42, 90, 139, 79, 41, 89, 82, 132, 37, 80, 170, 147, 253, 91, 149, 181, 172, 230, 168, 235, 146, 12, 147, 148, 46, 67, 105, 12, 32, 236, 115 ] } } }, { "name": "vault_authority", "writable": true, "pda": { "seeds": [ { "kind": "const", "value": [ 118, 97, 117, 108, 116, 95, 97, 117, 116, 104, 111, 114, 105, 116, 121 ] } ] } }, { "name": "bonding_curve", "writable": true, "pda": { "seeds": [ { "kind": "const", "value": [ 98, 111, 110, 100, 105, 110, 103, 95, 99, 117, 114, 118, 101 ] }, { "kind": "account", "path": "token_0_mint" } ] } }, { "name": "bonding_curve_vault", "writable": true, "pda": { "seeds": [ { "kind": "const", "value": [ 98, 111, 110, 100, 105, 110, 103, 95, 99, 117, 114, 118, 101, 95, 118, 97, 117, 108, 116 ] }, { "kind": "account", "path": "token_0_mint" } ] } }, { "name": "bonding_curve_wsol_vault", "writable": true, "pda": { "seeds": [ { "kind": "const", "value": [ 98, 111, 110, 100, 105, 110, 103, 95, 99, 117, 114, 118, 101, 95, 119, 115, 111, 108, 95, 118, 97, 117, 108, 116 ] }, { "kind": "account", "path": "token_0_mint" } ] } }, { "name": "creator_lp_token", "writable": true }, { "name": "token_0_vault", "writable": true, "pda": { "seeds": [ { "kind": "const", "value": [ 112, 111, 111, 108, 95, 118, 97, 117, 108, 116 ] }, { "kind": "account", "path": "pool_state" }, { "kind": "account", "path": "token_0_mint" } ], "program": { "kind": "const", "value": [ 169, 42, 90, 139, 79, 41, 89, 82, 132, 37, 80, 170, 147, 253, 91, 149, 181, 172, 230, 168, 235, 146, 12, 147, 148, 46, 67, 105, 12, 32, 236, 115 ] } } }, { "name": "token_1_vault", "writable": true, "pda": { "seeds": [ { "kind": "const", "value": [ 112, 111, 111, 108, 95, 118, 97, 117, 108, 116 ] }, { "kind": "account", "path": "pool_state" }, { "kind": "account", "path": "token_1_mint" } ], "program": { "kind": "const", "value": [ 169, 42, 90, 139, 79, 41, 89, 82, 132, 37, 80, 170, 147, 253, 91, 149, 181, 172, 230, 168, 235, 146, 12, 147, 148, 46, 67, 105, 12, 32, 236, 115 ] } } }, { "name": "create_pool_fee", "docs": [ "create pool fee account" ], "writable": true, "address": "DNXgeM9EiiaAbaWvwjHj9fQQLAX5ZsfHyvmYUNRAdNC8" }, { "name": "observation_state", "writable": true, "pda": { "seeds": [ { "kind": "const", "value": [ 111, 98, 115, 101, 114, 118, 97, 116, 105, 111, 110 ] }, { "kind": "account", "path": "pool_state" } ], "program": { "kind": "const", "value": [ 169, 42, 90, 139, 79, 41, 89, 82, 132, 37, 80, 170, 147, 253, 91, 149, 181, 172, 230, 168, 235, 146, 12, 147, 148, 46, 67, 105, 12, 32, 236, 115 ] } } }, { "name": "operator", "writable": true, "signer": true }, { "name": "config", "pda": { "seeds": [ { "kind": "const", "value": [ 99, 111, 110, 102, 105, 103 ] } ] } }, { "name": "token_program", "docs": [ "Program to create mint account and mint tokens" ], "address": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA" }, { "name": "associated_token_program", "docs": [ "Program to create an ATA for receiving position NFT" ], "address": "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL" }, { "name": "system_program", "docs": [ "To create a new program account" ], "address": "11111111111111111111111111111111" }, { "name": "rent", "docs": [ "Sysvar for program account" ], "address": "SysvarRent111111111111111111111111111111111" } ], "args": [] }, { "name": "create_token", "discriminator": [ 84, 52, 204, 228, 24, 140, 234, 75 ], "accounts": [ { "name": "config", "pda": { "seeds": [ { "kind": "const", "value": [ 99, 111, 110, 102, 105, 103 ] } ] } }, { "name": "metadata", "writable": true, "pda": { "seeds": [ { "kind": "const", "value": [ 109, 101, 116, 97, 100, 97, 116, 97 ] }, { "kind": "const", "value": [ 11, 112, 101, 177, 227, 209, 124, 69, 56, 157, 82, 127, 107, 4, 195, 205, 88, 184, 108, 115, 26, 160, 253, 181, 73, 182, 209, 188, 3, 248, 41, 70 ] }, { "kind": "account", "path": "mint" } ], "program": { "kind": "const", "value": [ 11, 112, 101, 177, 227, 209, 124, 69, 56, 157, 82, 127, 107, 4, 195, 205, 88, 184, 108, 115, 26, 160, 253, 181, 73, 182, 209, 188, 3, 248, 41, 70 ] } } }, { "name": "mint", "writable": true, "pda": { "seeds": [ { "kind": "const", "value": [ 109, 105, 110, 116 ] }, { "kind": "account", "path": "payer" }, { "kind": "arg", "path": "salt" } ] } }, { "name": "payer", "writable": true, "signer": true }, { "name": "rent", "address": "SysvarRent111111111111111111111111111111111" }, { "name": "system_program", "address": "11111111111111111111111111111111" }, { "name": "token_program", "address": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA" }, { "name": "token_metadata_program", "address": "metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s" } ], "args": [ { "name": "salt", "type": "u64" }, { "name": "name", "type": "string" }, { "name": "symbol", "type": "string" }, { "name": "uri", "type": "string" } ] }, { "name": "create_token_fallback", "discriminator": [ 253, 184, 126, 199, 235, 232, 172, 162 ], "accounts": [ { "name": "config", "pda": { "seeds": [ { "kind": "const", "value": [ 99, 111, 110, 102, 105, 103 ] } ] } }, { "name": "metadata", "writable": true, "pda": { "seeds": [ { "kind": "const", "value": [ 109, 101, 116, 97, 100, 97, 116, 97 ] }, { "kind": "const", "value": [ 11, 112, 101, 177, 227, 209, 124, 69, 56, 157, 82, 127, 107, 4, 195, 205, 88, 184, 108, 115, 26, 160, 253, 181, 73, 182, 209, 188, 3, 248, 41, 70 ] }, { "kind": "account", "path": "mint" } ], "program": { "kind": "const", "value": [ 11, 112, 101, 177, 227, 209, 124, 69, 56, 157, 82, 127, 107, 4, 195, 205, 88, 184, 108, 115, 26, 160, 253, 181, 73, 182, 209, 188, 3, 248, 41, 70 ] } } }, { "name": "mint", "writable": true, "pda": { "seeds": [ { "kind": "const", "value": [ 109, 105, 110, 116 ] }, { "kind": "arg", "path": "salt" } ] } }, { "name": "payer", "writable": true, "signer": true }, { "name": "rent", "address": "SysvarRent111111111111111111111111111111111" }, { "name": "system_program", "address": "11111111111111111111111111111111" }, { "name": "token_program", "address": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA" }, { "name": "token_metadata_program", "address": "metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s" } ], "args": [ { "name": "salt", "type": "u64" }, { "name": "name", "type": "string" }, { "name": "symbol", "type": "string" }, { "name": "uri", "type": "string" } ] }, { "name": "deploy_bonding_curve", "discriminator": [ 180, 89, 199, 76, 168, 236, 217, 138 ], "accounts": [ { "name": "mint", "writable": true, "pda": { "seeds": [ { "kind": "const", "value": [ 109, 105, 110, 116 ] }, { "kind": "account", "path": "payer" }, { "kind": "arg", "path": "salt" } ] } }, { "name": "vault_authority", "pda": { "seeds": [ { "kind": "const", "value": [ 118, 97, 117, 108, 116, 95, 97, 117, 116, 104, 111, 114, 105, 116, 121 ] } ] } }, { "name": "bonding_curve", "writable": true, "pda": { "seeds": [ { "kind": "const", "value": [ 98, 111, 110, 100, 105, 110, 103, 95, 99, 117, 114, 118, 101 ] }, { "kind": "account", "path": "mint" } ] } }, { "name": "bonding_curve_sol_vault", "writable": true, "pda": { "seeds": [ { "kind": "const", "value": [ 98, 111, 110, 100, 105, 110, 103, 95, 99, 117, 114, 118, 101, 95, 115, 111, 108, 95, 118, 97, 117, 108, 116 ] }, { "kind": "account", "path": "mint" } ] } }, { "name": "bonding_curve_vault", "writable": true, "pda": { "seeds": [ { "kind": "const", "value": [ 98, 111, 110, 100, 105, 110, 103, 95, 99, 117, 114, 118, 101, 95, 118, 97, 117, 108, 116 ] }, { "kind": "account", "path": "mint" } ] } }, { "name": "config", "pda": { "seeds": [ { "kind": "const", "value": [ 99, 111, 110, 102, 105, 103 ] } ] } }, { "name": "payer", "writable": true, "signer": true }, { "name": "system_program", "address": "11111111111111111111111111111111" }, { "name": "token_program", "address": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA" }, { "name": "associated_token_program", "address": "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL" } ], "args": [ { "name": "creator", "type": "pubkey" }, { "name": "salt", "type": "u64" } ] }, { "name": "deploy_bonding_curve_fallback", "discriminator": [ 53, 230, 172, 84, 77, 174, 22, 61 ], "accounts": [ { "name": "mint", "writable": true, "pda": { "seeds": [ { "kind": "const", "value": [ 109, 105, 110, 116 ] }, { "kind": "arg", "path": "salt" } ] } }, { "name": "vault_authority", "pda": { "seeds": [ { "kind": "const", "value": [ 118, 97, 117, 108, 116, 95, 97, 117, 116, 104, 111, 114, 105, 116, 121 ] } ] } }, { "name": "bonding_curve", "writable": true, "pda": { "seeds": [ { "kind": "const", "value": [ 98, 111, 110, 100, 105, 110, 103, 95, 99, 117, 114, 118, 101 ] }, { "kind": "account", "path": "mint" } ] } }, { "name": "bonding_curve_sol_vault", "writable": true, "pda": { "seeds": [ { "kind": "const", "value": [ 98, 111, 110, 100, 105, 110, 103, 95, 99, 117, 114, 118, 101, 95, 115, 111, 108, 95, 118, 97, 117, 108, 116 ] }, { "kind": "account", "path": "mint" } ] } }, { "name": "bonding_curve_vault", "writable": true, "pda": { "seeds": [ { "kind": "const", "value": [ 98, 111, 110, 100, 105, 110, 103, 95, 99, 117, 114, 118, 101, 95, 118, 97, 117, 108, 116 ] }, { "kind": "account", "path": "mint" } ] } }, { "name": "config", "pda": { "seeds": [ { "kind": "const", "value": [ 99, 111, 110, 102, 105, 103 ] } ] } }, { "name": "payer", "writable": true, "signer": true }, { "name": "system_program", "address": "11111111111111111111111111111111" }, { "name": "token_program", "address": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA" }, { "name": "associated_token_program", "address": "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL" } ], "args": [ { "name": "creator", "type": "pubkey" }, { "name": "salt", "type": "u64" } ] }, { "name": "deposit_into_raydium", "discriminator": [ 168, 89, 99, 30, 117, 49, 88, 224 ], "accounts": [ { "name": "config", "pda": { "seeds": [ { "kind": "const", "value": [ 99, 111, 110, 102, 105, 103 ] } ] } }, { "name": "amm_config", "docs": [ "Which config the pool belongs to." ] }, { "name": "operator", "writable": true, "signer": true }, { "name": "operator_wsol_account", "writable": true, "pda": { "seeds": [ { "kind": "account", "path": "operator" }, { "kind": "const", "value": [ 6, 221, 246, 225, 215, 101, 161, 147, 217, 203, 225, 70, 206, 235, 121, 172, 28, 180, 133, 237, 95, 91, 55, 145, 58, 140, 245, 133, 126, 255, 0, 169 ] }, { "kind": "account", "path": "token_1_mint" } ], "program": { "kind": "const", "value": [ 140, 151, 37, 143, 78, 36, 137, 241, 187, 61, 16, 41, 20, 142, 13, 131, 11, 90, 19, 153, 218, 255, 16, 132, 4, 142, 123, 216, 219, 233, 248, 89 ] } } }, { "name": "vault_authority", "writable": true, "pda": { "seeds": [ { "kind": "const", "value": [ 118, 97, 117, 108, 116, 95, 97, 117, 116, 104, 111, 114, 105, 116, 121 ] } ] } }, { "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, 90, 139, 79, 41, 89, 82, 132, 37, 80, 170, 147, 253, 91, 149, 181, 172, 230, 168, 235, 146, 12, 147, 148, 46, 67, 105, 12, 32, 236, 115 ] } } }, { "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": "const", "value": [ 169, 42, 90, 139, 79, 41, 89, 82, 132, 37, 80, 170, 147, 253, 91, 149, 181, 172, 230, 168, 235, 146, 12, 147, 148, 46, 67, 105, 12, 32, 236, 115 ] } } }, { "name": "token_0_vault", "writable": true, "pda": { "seeds": [ { "kind": "const", "value": [ 112, 111, 111, 108, 95, 118, 97, 117, 108, 116 ] }, { "kind": "account", "path": "pool_state" }, { "kind": "account", "path": "token_0_mint" } ], "program": { "kind": "const", "value": [ 169, 42, 90, 139, 79, 41, 89, 82, 132, 37, 80, 170, 147, 253, 91, 149, 181, 172, 230, 168, 235, 146, 12, 147, 148, 46, 67, 105, 12, 32, 236, 115 ] } } }, { "name": "token_1_vault", "writable": true, "pda": { "seeds": [ { "kind": "const", "value": [ 112, 111, 111, 108, 95, 118, 97, 117, 108, 116 ] }, { "kind": "account", "path": "pool_state" }, { "kind": "account", "path": "token_1_mint" } ], "program": { "kind": "const", "value": [ 169, 42, 90, 139, 79, 41, 89, 82, 132, 37, 80, 170, 147, 253, 91, 149, 181, 172, 230, 168, 235, 146, 12, 147, 148, 46, 67, 105, 12, 32, 236, 115 ] } } }, { "name": "bonding_curve_vault", "writable": true, "pda": { "seeds": [ { "kind": "const", "value": [ 98, 111, 110, 100, 105, 110, 103, 95, 99, 117, 114, 118, 101, 95, 118, 97, 117, 108, 116 ] }, { "kind": "account", "path": "token_0_mint" } ] } }, { "name": "bonding_curve_wsol_vault", "writable": true, "pda": { "seeds": [ { "kind": "const", "value": [ 98, 111, 110, 100, 105, 110, 103, 95, 99, 117, 114, 118, 101, 95, 119, 115, 111, 108, 95, 118, 97, 117, 108, 116 ] }, { "kind": "account", "path": "token_0_mint" } ] } }, { "name": "token_program", "docs": [ "token Program" ], "address": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA" }, { "name": "token_program_2022", "docs": [ "Token program 2022" ], "address": "TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb" }, { "name": "system_program", "docs": [ "System program" ], "address": "11111111111111111111111111111111" }, { "name": "associated_token_program", "docs": [ "Program to create an ATA for the operator to recoup any potential remaining WSOL" ], "address": "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL" }, { "name": "lp_mint", "writable": true, "pda": { "seeds": [ { "kind": "const", "value": [ 112, 111, 111, 108, 95, 108, 112, 95, 109, 105, 110, 116 ] }, { "kind": "account", "path": "pool_state" } ], "program": { "kind": "const", "value": [ 169, 42, 90, 139, 79, 41, 89, 82, 132, 37, 80, 170, 147, 253, 91, 149, 181, 172, 230, 168, 235, 146, 12, 147, 148, 46, 67, 105, 12, 32, 236, 115 ] } } }, { "name": "cpmm_program", "address": "CPMMoo8L3F4NbTegBCKVNunggL7H1ZpdTHKxQB5qKP1C" }, { "name": "owner_lp_token", "writable": true }, { "name": "bonding_curve", "writable": true, "pda": { "seeds": [ { "kind": "const", "value": [ 98, 111, 110, 100, 105, 110, 103, 95, 99, 117, 114, 118, 101 ] }, { "kind": "account", "path": "token_0_mint" } ] } }, { "name": "token_0_mint", "writable": true }, { "name": "token_1_mint", "docs": [ "token_1 mint, the key must greater than token_0 mint" ], "address": "So11111111111111111111111111111111111111112" } ], "args": [ { "name": "lp_token_amount", "type": "u64" }, { "name": "maximum_token_0_amount", "type": "u64" }, { "name": "maximum_token_1_amount", "type": "u64" } ] }, { "name": "graduate", "discriminator": [ 45, 235, 225, 181, 17, 218, 64, 130 ], "accounts": [ { "name": "mint" }, { "name": "wsol", "address": "So11111111111111111111111111111111111111112" }, { "name": "protocol_fee_recipient", "writable": true }, { "name": "token_distributor" }, { "name": "token_distributor_token_account", "writable": true, "pda": { "seeds": [ { "kind": "account", "path": "token_distributor" }, { "kind": "const", "value": [ 6, 221, 246, 225, 215, 101, 161, 147, 217, 203, 225, 70, 206, 235, 121, 172, 28, 180, 133, 237, 95, 91, 55, 145, 58, 140, 245, 133, 126, 255, 0, 169 ] }, { "kind": "account", "path": "mint" } ], "program": { "kind": "const", "value": [ 140, 151, 37, 143, 78, 36, 137, 241, 187, 61, 16, 41, 20, 142, 13, 131, 11, 90, 19, 153, 218, 255, 16, 132, 4, 142, 123, 216, 219, 233, 248, 89 ] } } }, { "name": "vault_authority", "pda": { "seeds": [ { "kind": "const", "value": [ 118, 97, 117, 108, 116, 95, 97, 117, 116, 104, 111, 114, 105, 116, 121 ] } ] } }, { "name": "bonding_curve_sol_vault", "writable": true, "pda": { "seeds": [ { "kind": "const", "value": [ 98, 111, 110, 100, 105, 110, 103, 95, 99, 117, 114, 118, 101, 95, 115, 111, 108, 95, 118, 97, 117, 108, 116 ] }, { "kind": "account", "path": "mint" } ] } }, { "name": "bonding_curve", "writable": true, "pda": { "seeds": [ { "kind": "const", "value": [ 98, 111, 110, 100, 105, 110, 103, 95, 99, 117, 114, 118, 101 ] }, { "kind": "account", "path": "mint" } ] } }, { "name": "bonding_curve_vault", "writable": true, "pda": { "seeds": [ { "kind": "const", "value": [ 98, 111, 110, 100, 105, 110, 103, 95, 99, 117, 114, 118, 101, 95, 118, 97, 117, 108, 116 ] }, { "kind": "account", "path": "mint" } ] } }, { "name": "bonding_curve_wsol_account", "writable": true, "pda": { "seeds": [ { "kind": "const", "value": [ 98, 111, 110, 100, 105, 110, 103, 95, 99, 117, 114, 118, 101, 95, 119, 115, 111, 108, 95, 118, 97, 117, 108, 116 ] }, { "kind": "account", "path": "mint" } ] } }, { "name": "operator", "writable": true, "signer": true }, { "name": "config", "pda": { "seeds": [ { "kind": "const", "value": [ 99, 111, 110, 102, 105, 103 ] } ] } }, { "name": "system_program", "address": "11111111111111111111111111111111" }, { "name": "token_program", "address": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA" }, { "name": "associated_token_program", "address": "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL" } ], "args": [] }, { "name": "initialize", "discriminator": [ 175, 175, 109, 31, 13, 152, 155, 237 ], "accounts": [ { "name": "config", "writable": true, "pda": { "seeds": [ { "kind": "const", "value": [ 99, 111, 110, 102, 105, 103 ] } ] } }, { "name": "authority", "writable": true, "signer": true }, { "name": "system_program", "address": "11111111111111111111111111111111" } ], "args": [ { "name": "protocol_fee_recipient", "type": "pubkey" }, { "name": "token_distributor", "type": "pubkey" } ] }, { "name": "initiate_authority_transfer", "discriminator": [ 210, 43, 101, 215, 119, 140, 106, 218 ], "accounts": [ { "name": "authority", "signer": true, "relations": [ "config" ] }, { "name": "config", "writable": true, "pda": { "seeds": [ { "kind": "const", "value": [ 99, 111, 110, 102, 105, 103 ] } ] } }, { "name": "system_program", "address": "11111111111111111111111111111111" } ], "args": [ { "name": "new_authority", "type": "pubkey" } ] }, { "name": "lock_raydium_liquidity", "discriminator": [ 173, 255, 148, 6, 122, 99, 140, 22 ], "accounts": [ { "name": "lock_program", "address": "LockrWmn6K5twhz3y9w1dQERbmgSaRkfnTeTKbpofwE" }, { "name": "vault_authority", "writable": true, "pda": { "seeds": [ { "kind": "const", "value": [ 118, 97, 117, 108, 116, 95, 97, 117, 116, 104, 111, 114, 105, 116, 121 ] } ] } }, { "name": "authority", "pda": { "seeds": [ { "kind": "const", "value": [ 108, 111, 99, 107, 95, 99, 112, 95, 97, 117, 116, 104, 111, 114, 105, 116, 121, 95, 115, 101, 101, 100 ] } ], "program": { "kind": "account", "path": "lock_program" } } }, { "name": "fee_nft_owner" }, { "name": "fee_nft_mint", "writable": true, "signer": true }, { "name": "fee_nft_account", "writable": true }, { "name": "pool_state", "writable": true }, { "name": "locked_liquidity", "docs": [ "Store the locked information of liquidity" ], "writable": true, "pda": { "seeds": [ { "kind": "const", "value": [ 108, 111, 99, 107, 101, 100, 95, 108, 105, 113, 117, 105, 100, 105, 116, 121 ] }, { "kind": "account", "path": "fee_nft_mint" } ], "program": { "kind": "account", "path": "lock_program" } } }, { "name": "lp_mint", "docs": [ "The mint of liquidity token" ], "writable": true }, { "name": "liquidity_owner_lp", "docs": [ "liquidity owner lp token account" ], "writable": true }, { "name": "locked_lp_vault", "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": "operator", "writable": true, "signer": true }, { "name": "config", "pda": { "seeds": [ { "kind": "const", "value": [ 99, 111, 110, 102, 105, 103 ] } ] } }, { "name": "bonding_curve", "writable": true, "pda": { "seeds": [ { "kind": "const", "value": [ 98, 111, 110, 100, 105, 110, 103, 95, 99, 117, 114, 118, 101 ] }, { "kind": "account", "path": "token_0_vault.mint" } ] } }, { "name": "metadata_account", "docs": [ "To store metaplex metadata" ], "writable": true, "pda": { "seeds": [ { "kind": "const", "value": [ 109, 101, 116, 97, 100, 97, 116, 97 ] }, { "kind": "const", "value": [ 11, 112, 101, 177, 227, 209, 124, 69, 56, 157, 82, 127, 107, 4, 195, 205, 88, 184, 108, 115, 26, 160, 253, 181, 73, 182, 209, 188, 3, 248, 41, 70 ] }, { "kind": "account", "path": "fee_nft_mint" } ], "program": { "kind": "const", "value": [ 11, 112, 101, 177, 227, 209, 124, 69, 56, 157, 82, 127, 107, 4, 195, 205, 88, 184, 108, 115, 26, 160, 253, 181, 73, 182, 209, 188, 3, 248, 41, 70 ] } } }, { "name": "rent", "docs": [ "Sysvar for token mint and ATA creation" ], "address": "SysvarRent111111111111111111111111111111111" }, { "name": "system_program", "docs": [ "Program to create the new account" ], "address": "11111111111111111111111111111111" }, { "name": "token_program", "docs": [ "Program to create/transfer mint/token account" ], "address": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA" }, { "name": "associated_token_program", "docs": [ "Program to create an ATA for receiving fee NFT" ], "address": "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL" }, { "name": "metadata_program", "docs": [ "Program to create NFT metadata accunt" ], "address": "metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s" } ], "args": [] }, { "name": "remove_operators", "discriminator": [ 42, 20, 89, 83, 222, 37, 4, 109 ], "accounts": [ { "name": "config", "writable": true, "pda": { "seeds": [ { "kind": "const", "value": [ 99, 111, 110, 102, 105, 103 ] } ] } }, { "name": "authority", "writable": true, "signer": true, "relations": [ "config" ] }, { "name": "system_program", "address": "11111111111111111111111111111111" } ], "args": [ { "name": "operators", "type": { "vec": "pubkey" } } ] }, { "name": "sell_token", "discriminator": [ 109, 61, 40, 187, 230, 176, 135, 174 ], "accounts": [ { "name": "mint" }, { "name": "bonding_curve", "writable": true, "pda": { "seeds": [ { "kind": "const", "value": [ 98, 111, 110, 100, 105, 110, 103, 95, 99, 117, 114, 118, 101 ] }, { "kind": "account", "path": "mint" } ] } }, { "name": "trading_fees_vault", "writable": true, "pda": { "seeds": [ { "kind": "const", "value": [ 116, 114, 97, 100, 105, 110, 103, 95, 102, 101, 101, 115, 95, 118, 97, 117, 108, 116 ] }, { "kind": "account", "path": "mint" } ] } }, { "name": "bonding_curve_vault", "writable": true, "pda": { "seeds": [ { "kind": "const", "value": [ 98, 111, 110, 100, 105, 110, 103, 95, 99, 117, 114, 118, 101, 95, 118, 97, 117, 108, 116 ] }, { "kind": "account", "path": "mint" } ] } }, { "name": "bonding_curve_sol_vault", "writable": true, "pda": { "seeds": [ { "kind": "const", "value": [ 98, 111, 110, 100, 105, 110, 103, 95, 99, 117, 114, 118, 101, 95, 115, 111, 108, 95, 118, 97, 117, 108, 116 ] }, { "kind": "account", "path": "mint" } ] } }, { "name": "seller_token_account", "writable": true, "pda": { "seeds": [ { "kind": "account", "path": "seller" }, { "kind": "const", "value": [ 6, 221, 246, 225, 215, 101, 161, 147, 217, 203, 225, 70, 206, 235, 121, 172, 28, 180, 133, 237, 95, 91, 55, 145, 58, 140, 245, 133, 126, 255, 0, 169 ] }, { "kind": "account", "path": "mint" } ], "program": { "kind": "const", "value": [ 140, 151, 37, 143, 78, 36, 137, 241, 187, 61, 16, 41, 20, 142, 13, 131, 11, 90, 19, 153, 218, 255, 16, 132, 4, 142, 123, 216, 219, 233, 248, 89 ] } } }, { "name": "seller", "writable": true, "signer": true }, { "name": "recipient", "writable": true }, { "name": "config", "pda": { "seeds": [ { "kind": "const", "value": [ 99, 111, 110, 102, 105, 103 ] } ] } }, { "name": "system_program", "address": "11111111111111111111111111111111" }, { "name": "token_program", "address": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA" }, { "name": "associated_token_program", "address": "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL" } ], "args": [ { "name": "sell_amount", "type": "u64" }, { "name": "amount_out_min", "type": "u64" } ] }, { "name": "split_post_graduation_trading_fees", "discriminator": [ 241, 178, 177, 69, 38, 187, 58, 176 ], "accounts": [ { "name": "operator", "writable": true, "signer": true }, { "name": "mint" }, { "name": "wsol", "address": "So11111111111111111111111111111111111111112" }, { "name": "config", "pda": { "seeds": [ { "kind": "const", "value": [ 99, 111, 110, 102, 105, 103 ] } ] } }, { "name": "vault_authority", "pda": { "seeds": [ { "kind": "const", "value": [ 118, 97, 117, 108, 116, 95, 97, 117, 116, 104, 111, 114, 105, 116, 121 ] } ] } }, { "name": "bonding_curve", "writable": true, "pda": { "seeds": [ { "kind": "const", "value": [ 98, 111, 110, 100, 105, 110, 103, 95, 99, 117, 114, 118, 101 ] }, { "kind": "account", "path": "mint" } ] } }, { "name": "trading_fees_vault", "writable": true, "pda": { "seeds": [ { "kind": "const", "value": [ 112, 111, 115, 116, 95, 103, 114, 97, 100, 95, 116, 114, 97, 100, 105, 110, 103, 95, 102, 101, 101, 115, 95, 118, 97, 117, 108, 116 ] }, { "kind": "account", "path": "mint" } ] } }, { "name": "fee_splitter_program" }, { "name": "system_program", "address": "11111111111111111111111111111111" }, { "name": "token_program", "address": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA" }, { "name": "associated_token_program", "address": "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL" }, { "name": "fee_splitter_config" }, { "name": "fee_splitter_creator_vault", "writable": true }, { "name": "fee_splitter_vault_authority", "writable": true }, { "name": "fee_splitter_creator_vault_authority", "writable": true }, { "name": "fee_splitter_staking_mint" }, { "name": "fee_splitter_wsol_vault", "writable": true, "pda": { "seeds": [ { "kind": "account", "path": "fee_splitter_vault_authority" }, { "kind": "const", "value": [ 6, 221, 246, 225, 215, 101, 161, 147, 217, 203, 225, 70, 206, 235, 121, 172, 28, 180, 133, 237, 95, 91, 55, 145, 58, 140, 245, 133, 126, 255, 0, 169 ] }, { "kind": "account", "path": "wsol" } ], "program": { "kind": "const", "value": [ 140, 151, 37, 143, 78, 36, 137, 241, 187, 61, 16, 41, 20, 142, 13, 131, 11, 90, 19, 153, 218, 255, 16, 132, 4, 142, 123, 216, 219, 233, 248, 89 ] } } }, { "name": "fee_splitter_creator_vault_authority_wsol_vault", "writable": true }, { "name": "fee_splitter_treasury_wsol_vault", "writable": true }, { "name": "fee_splitter_team_wsol_vault", "writable": true }, { "name": "fee_splitter_reward_pool", "writable": true }, { "name": "fee_splitter_reward_pool_staking_vault", "writable": true }, { "name": "fee_splitter_reward_pool_reward_vault", "writable": true }, { "name": "fee_splitter_reward_pool_program" } ], "args": [] }, { "name": "split_trading_fees", "discriminator": [ 96, 126, 225, 47, 185, 213, 50, 58 ], "accounts": [ { "name": "operator", "writable": true, "signer": true }, { "name": "mint" }, { "name": "wsol", "address": "So11111111111111111111111111111111111111112" }, { "name": "config", "pda": { "seeds": [ { "kind": "const", "value": [ 99, 111, 110, 102, 105, 103 ] } ] } }, { "name": "vault_authority", "pda": { "seeds": [ { "kind": "const", "value": [ 118, 97, 117, 108, 116, 95, 97, 117, 116, 104, 111, 114, 105, 116, 121 ] } ] } }, { "name": "bonding_curve", "writable": true, "pda": { "seeds": [ { "kind": "const", "value": [ 98, 111, 110, 100, 105, 110, 103, 95, 99, 117, 114, 118, 101 ] }, { "kind": "account", "path": "mint" } ] } }, { "name": "trading_fees_vault", "writable": true, "pda": { "seeds": [ { "kind": "const", "value": [ 116, 114, 97, 100, 105, 110, 103, 95, 102, 101, 101, 115, 95, 118, 97, 117, 108, 116 ] }, { "kind": "account", "path": "mint" } ] } }, { "name": "fee_splitter_program", "address": "boopEYztaEYSnajfMtjcRysyzyRcchgKsPboRZEbnJi" }, { "name": "system_program", "address": "11111111111111111111111111111111" }, { "name": "token_program", "address": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA" }, { "name": "associated_token_program", "address": "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL" }, { "name": "fee_splitter_config" }, { "name": "fee_splitter_creator_vault", "writable": true }, { "name": "fee_splitter_vault_authority", "writable": true }, { "name": "fee_splitter_creator_vault_authority", "writable": true }, { "name": "fee_splitter_staking_mint" }, { "name": "fee_splitter_wsol_vault", "writable": true, "pda": { "seeds": [ { "kind": "account", "path": "fee_splitter_vault_authority" }, { "kind": "const", "value": [ 6, 221, 246, 225, 215, 101, 161, 147, 217, 203, 225, 70, 206, 235, 121, 172, 28, 180, 133, 237, 95, 91, 55, 145, 58, 140, 245, 133, 126, 255, 0, 169 ] }, { "kind": "account", "path": "wsol" } ], "program": { "kind": "const", "value": [ 140, 151, 37, 143, 78, 36, 137, 241, 187, 61, 16, 41, 20, 142, 13, 131, 11, 90, 19, 153, 218, 255, 16, 132, 4, 142, 123, 216, 219, 233, 248, 89 ] } } }, { "name": "fee_splitter_creator_vault_authority_wsol_vault", "writable": true }, { "name": "fee_splitter_treasury_wsol_vault", "writable": true }, { "name": "fee_splitter_team_wsol_vault", "writable": true }, { "name": "fee_splitter_reward_pool", "writable": true }, { "name": "fee_splitter_reward_pool_staking_vault", "writable": true }, { "name": "fee_splitter_reward_pool_reward_vault", "writable": true }, { "name": "fee_splitter_reward_pool_program" } ], "args": [] }, { "name": "swap_sol_for_tokens_on_raydium", "discriminator": [ 107, 248, 131, 239, 152, 234, 54, 35 ], "accounts": [ { "name": "config", "pda": { "seeds": [ { "kind": "const", "value": [ 99, 111, 110, 102, 105, 103 ] } ] } }, { "name": "bonding_curve", "writable": true, "pda": { "seeds": [ { "kind": "const", "value": [ 98, 111, 110, 100, 105, 110, 103, 95, 99, 117, 114, 118, 101 ] }, { "kind": "account", "path": "output_token_mint" } ] } }, { "name": "amm_config", "docs": [ "Which config the pool belongs to." ] }, { "name": "operator", "writable": true, "signer": true }, { "name": "vault_authority", "writable": true, "pda": { "seeds": [ { "kind": "const", "value": [ 118, 97, 117, 108, 116, 95, 97, 117, 116, 104, 111, 114, 105, 116, 121 ] } ] } }, { "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, 90, 139, 79, 41, 89, 82, 132, 37, 80, 170, 147, 253, 91, 149, 181, 172, 230, 168, 235, 146, 12, 147, 148, 46, 67, 105, 12, 32, 236, 115 ] } } }, { "name": "pool_state", "writable": true, "pda": { "seeds": [ { "kind": "const", "value": [ 112, 111, 111, 108 ] }, { "kind": "account", "path": "amm_config" }, { "kind": "account", "path": "output_token_mint" }, { "kind": "account", "path": "input_token_mint" } ], "program": { "kind": "const", "value": [ 169, 42, 90, 139, 79, 41, 89, 82, 132, 37, 80, 170, 147, 253, 91, 149, 181, 172, 230, 168, 235, 146, 12, 147, 148, 46, 67, 105, 12, 32, 236, 115 ] } } }, { "name": "input_vault", "writable": true, "pda": { "seeds": [ { "kind": "const", "value": [ 112, 111, 111, 108, 95, 118, 97, 117, 108, 116 ] }, { "kind": "account", "path": "pool_state" }, { "kind": "account", "path": "input_token_mint" } ], "program": { "kind": "const", "value": [ 169, 42, 90, 139, 79, 41, 89, 82, 132, 37, 80, 170, 147, 253, 91, 149, 181, 172, 230, 168, 235, 146, 12, 147, 148, 46, 67, 105, 12, 32, 236, 115 ] } } }, { "name": "output_vault", "writable": true, "pda": { "seeds": [ { "kind": "const", "value": [ 112, 111, 111, 108, 95, 118, 97, 117, 108, 116 ] }, { "kind": "account", "path": "pool_state" }, { "kind": "account", "path": "output_token_mint" } ], "program": { "kind": "const", "value": [ 169, 42, 90, 139, 79, 41, 89, 82, 132, 37, 80, 170, 147, 253, 91, 149, 181, 172, 230, 168, 235, 146, 12, 147, 148, 46, 67, 105, 12, 32, 236, 115 ] } } }, { "name": "bonding_curve_vault", "writable": true, "pda": { "seeds": [ { "kind": "const", "value": [ 98, 111, 110, 100, 105, 110, 103, 95, 99, 117, 114, 118, 101, 95, 118, 97, 117, 108, 116 ] }, { "kind": "account", "path": "output_token_mint" } ] } }, { "name": "bonding_curve_wsol_vault", "writable": true, "pda": { "seeds": [ { "kind": "const", "value": [ 98, 111, 110, 100, 105, 110, 103, 95, 99, 117, 114, 118, 101, 95, 119, 115, 111, 108, 95, 118, 97, 117, 108, 116 ] }, { "kind": "account", "path": "output_token_mint" } ] } }, { "name": "output_token_mint", "docs": [ "token_0 mint, the key must smaller than token_1 mint" ] }, { "name": "input_token_mint", "docs": [ "token_1 mint, the key must greater than token_0 mint" ], "address": "So11111111111111111111111111111111111111112" }, { "name": "token_program", "docs": [ "input_token_mint and output_token_mint have the same token program" ] }, { "name": "cp_swap_program", "address": "CPMMoo8L3F4NbTegBCKVNunggL7H1ZpdTHKxQB5qKP1C" }, { "name": "observation_state", "writable": true, "pda": { "seeds": [ { "kind": "const", "value": [ 111, 98, 115, 101, 114, 118, 97, 116, 105, 111, 110 ] }, { "kind": "account", "path": "pool_state" } ], "program": { "kind": "account", "path": "cp_swap_program" } } } ], "args": [ { "name": "amount_in", "type": "u64" }, { "name": "minimum_amount_out", "type": "u64" } ] }, { "name": "swap_tokens_for_sol_on_raydium", "discriminator": [ 216, 172, 130, 148, 34, 98, 215, 163 ], "accounts": [ { "name": "config", "pda": { "seeds": [ { "kind": "const", "value": [ 99, 111, 110, 102, 105, 103 ] } ] } }, { "name": "bonding_curve", "writable": true, "pda": { "seeds": [ { "kind": "const", "value": [ 98, 111, 110, 100, 105, 110, 103, 95, 99, 117, 114, 118, 101 ] }, { "kind": "account", "path": "input_token_mint" } ] } }, { "name": "amm_config", "docs": [ "Which config the pool belongs to." ] }, { "name": "operator", "writable": true, "signer": true }, { "name": "vault_authority", "writable": true, "pda": { "seeds": [ { "kind": "const", "value": [ 118, 97, 117, 108, 116, 95, 97, 117, 116, 104, 111, 114, 105, 116, 121 ] } ] } }, { "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, 90, 139, 79, 41, 89, 82, 132, 37, 80, 170, 147, 253, 91, 149, 181, 172, 230, 168, 235, 146, 12, 147, 148, 46, 67, 105, 12, 32, 236, 115 ] } } }, { "name": "pool_state", "writable": true, "pda": { "seeds": [ { "kind": "const", "value": [ 112, 111, 111, 108 ] }, { "kind": "account", "path": "amm_config" }, { "kind": "account", "path": "input_token_mint" }, { "kind": "account", "path": "output_token_mint" } ], "program": { "kind": "const", "value": [ 169, 42, 90, 139, 79, 41, 89, 82, 132, 37, 80, 170, 147, 253, 91, 149, 181, 172, 230, 168, 235, 146, 12, 147, 148, 46, 67, 105, 12, 32, 236, 115 ] } } }, { "name": "input_vault", "writable": true, "pda": { "seeds": [ { "kind": "const", "value": [ 112, 111, 111, 108, 95, 118, 97, 117, 108, 116 ] }, { "kind": "account", "path": "pool_state" }, { "kind": "account", "path": "input_token_mint" } ], "program": { "kind": "const", "value": [ 169, 42, 90, 139, 79, 41, 89, 82, 132, 37, 80, 170, 147, 253, 91, 149, 181, 172, 230, 168, 235, 146, 12, 147, 148, 46, 67, 105, 12, 32, 236, 115 ] } } }, { "name": "output_vault", "writable": true, "pda": { "seeds": [ { "kind": "const", "value": [ 112, 111, 111, 108, 95, 118, 97, 117, 108, 116 ] }, { "kind": "account", "path": "pool_state" }, { "kind": "account", "path": "output_token_mint" } ], "program": { "kind": "const", "value": [ 169, 42, 90, 139, 79, 41, 89, 82, 132, 37, 80, 170, 147, 253, 91, 149, 181, 172, 230, 168, 235, 146, 12, 147, 148, 46, 67, 105, 12, 32, 236, 115 ] } } }, { "name": "bonding_curve_vault", "writable": true, "pda": { "seeds": [ { "kind": "const", "value": [ 98, 111, 110, 100, 105, 110, 103, 95, 99, 117, 114, 118, 101, 95, 118, 97, 117, 108, 116 ] }, { "kind": "account", "path": "input_token_mint" } ] } }, { "name": "bonding_curve_wsol_vault", "writable": true, "pda": { "seeds": [ { "kind": "const", "value": [ 98, 111, 110, 100, 105, 110, 103, 95, 99, 117, 114, 118, 101, 95, 119, 115, 111, 108, 95, 118, 97, 117, 108, 116 ] }, { "kind": "account", "path": "input_token_mint" } ] } }, { "name": "input_token_mint", "docs": [ "token_0 mint, the key must smaller than token_1 mint" ] }, { "name": "output_token_mint", "docs": [ "token_1 mint, the key must greater than token_0 mint" ], "address": "So11111111111111111111111111111111111111112" }, { "name": "token_program", "docs": [ "input_token_mint and output_token_mint have the same token program" ] }, { "name": "cp_swap_program", "address": "CPMMoo8L3F4NbTegBCKVNunggL7H1ZpdTHKxQB5qKP1C" }, { "name": "observation_state", "writable": true, "pda": { "seeds": [ { "kind": "const", "value": [ 111, 98, 115, 101, 114, 118, 97, 116, 105, 111, 110 ] }, { "kind": "account", "path": "pool_state" } ], "program": { "kind": "account", "path": "cp_swap_program" } } } ], "args": [ { "name": "amount_in", "type": "u64" }, { "name": "minimum_amount_out", "type": "u64" } ] }, { "name": "toggle_paused", "discriminator": [ 54, 83, 147, 198, 123, 97, 218, 72 ], "accounts": [ { "name": "authority", "writable": true, "signer": true, "relations": [ "config" ] }, { "name": "config", "writable": true, "pda": { "seeds": [ { "kind": "const", "value": [ 99, 111, 110, 102, 105, 103 ] } ] } } ], "args": [] }, { "name": "update_config", "discriminator": [ 29, 158, 252, 191, 10, 83, 219, 99 ], "accounts": [ { "name": "config", "writable": true, "pda": { "seeds": [ { "kind": "const", "value": [ 99, 111, 110, 102, 105, 103 ] } ] } }, { "name": "authority", "signer": true, "relations": [ "config" ] }, { "name": "system_program", "address": "11111111111111111111111111111111" } ], "args": [ { "name": "new_protocol_fee_recipient", "type": "pubkey" }, { "name": "new_virtual_sol_reserves", "type": "u64" }, { "name": "new_virtual_token_reserves", "type": "u64" }, { "name": "new_graduation_target", "type": "u64" }, { "name": "new_graduation_fee", "type": "u64" }, { "name": "new_damping_term", "type": "u8" }, { "name": "new_swap_fee_basis_points", "type": "u8" }, { "name": "new_token_for_stakers_basis_points", "type": "u16" }, { "name": "new_token_amount_for_raydium_liquidity", "type": "u64" }, { "name": "new_max_graduation_price_deviation_basis_points", "type": "u16" }, { "name": "new_max_swap_amount_for_pool_price_correction_basis_points", "type": "u16" } ] } ], "accounts": [ { "name": "AmmConfig", "discriminator": [ 218, 244, 33, 104, 203, 203, 43, 111 ] }, { "name": "BondingCurve", "discriminator": [ 23, 183, 248, 55, 96, 216, 172, 96 ] }, { "name": "Config", "discriminator": [ 155, 12, 170, 224, 30, 250, 204, 130 ] }, { "name": "LockedCpLiquidityState", "discriminator": [ 25, 10, 238, 197, 207, 234, 73, 22 ] } ], "events": [ { "name": "AuthorityTransferCancelledEvent", "discriminator": [ 192, 121, 140, 224, 229, 96, 13, 143 ] }, { "name": "AuthorityTransferCompletedEvent", "discriminator": [ 163, 132, 217, 128, 243, 92, 90, 249 ] }, { "name": "AuthorityTransferInitiatedEvent", "discriminator": [ 121, 246, 95, 155, 229, 109, 148, 205 ] }, { "name": "BondingCurveDeployedEvent", "discriminator": [ 225, 80, 178, 34, 217, 39, 184, 148 ] }, { "name": "BondingCurveDeployedFallbackEvent", "discriminator": [ 106, 252, 243, 115, 199, 159, 247, 31 ] }, { "name": "BondingCurveVaultClosedEvent", "discriminator": [ 185, 36, 156, 82, 189, 164, 207, 79 ] }, { "name": "ConfigUpdatedEvent", "discriminator": [ 245, 158, 129, 99, 60, 100, 214, 220 ] }, { "name": "LiquidityDepositedIntoRaydiumEvent", "discriminator": [ 236, 50, 97, 27, 198, 101, 248, 20 ] }, { "name": "OperatorsAddedEvent", "discriminator": [ 247, 58, 112, 56, 203, 186, 112, 152 ] }, { "name": "OperatorsRemovedEvent", "discriminator": [ 44, 72, 75, 70, 151, 42, 53, 89 ] }, { "name": "PausedToggledEvent", "discriminator": [ 143, 222, 228, 224, 6, 230, 64, 176 ] }, { "name": "PostGraduationTradingFeesSplitEvent", "discriminator": [ 34, 231, 16, 81, 36, 203, 158, 196 ] }, { "name": "RaydiumLiquidityLockedEvent", "discriminator": [ 172, 189, 8, 241, 137, 175, 59, 100 ] }, { "name": "RaydiumPoolCreatedEvent", "discriminator": [ 170, 178, 21, 215, 84, 222, 34, 101 ] }, { "name": "RaydiumRandomPoolCreatedEvent", "discriminator": [ 152, 251, 128, 152, 158, 235, 83, 53 ] }, { "name": "SwapSolForTokensOnRaydiumEvent", "discriminator": [ 247, 1, 8, 166, 221, 116, 113, 98 ] }, { "name": "SwapTokensForSolOnRaydiumEvent", "discriminator": [ 76, 249, 221, 162, 65, 70, 118, 32 ] }, { "name": "TokenBoughtEvent", "discriminator": [ 71, 89, 222, 124, 215, 192, 230, 138 ] }, { "name": "TokenCreatedEvent", "discriminator": [ 96, 122, 113, 138, 50, 227, 149, 57 ] }, { "name": "TokenCreatedFallbackEvent", "discriminator": [ 157, 202, 35, 92, 165, 163, 39, 56 ] }, { "name": "TokenGraduatedEvent", "discriminator": [ 73, 116, 111, 26, 92, 217, 146, 141 ] }, { "name": "TokenSoldEvent", "discriminator": [ 204, 239, 182, 77, 241, 51, 77, 66 ] }, { "name": "TradingFeesCollectedEvent", "discriminator": [ 225, 63, 26, 55, 134, 243, 210, 203 ] }, { "name": "TradingFeesCollectedV2Event", "discriminator": [ 23, 246, 130, 250, 11, 49, 240, 179 ] }, { "name": "TradingFeesSplitEvent", "discriminator": [ 113, 60, 159, 17, 253, 174, 135, 122 ] } ], "errors": [ { "code": 6000, "name": "AmountInTooLow", "msg": "Amount in too low" }, { "code": 6001, "name": "AmountOutTooLow", "msg": "Amount out too low" }, { "code": 6002, "name": "AmountZero", "msg": "Amount zero" }, { "code": 6003, "name": "ConfigNotInitialized", "msg": "Config not initialized" }, { "code": 6004, "name": "CreatorIsNotProvided", "msg": "Creator is not provided" }, { "code": 6005, "name": "DampingTermTooLow", "msg": "Damping term too low" }, { "code": 6006, "name": "FirstBuyMustBeAtMost50PercentOfTotalSupply", "msg": "First buy must be at most 50% of the total supply" }, { "code": 6007, "name": "GraduationFeeRelativeToTargetIsTooHigh", "msg": "Graduation fee relative to graduation target is too high" }, { "code": 6008, "name": "InsufficientTokensOut", "msg": "Insufficient tokens to transfer out of the bonding curve" }, { "code": 6009, "name": "InvalidBondingCurveStatus", "msg": "Invalid bonding curve status" }, { "code": 6010, "name": "InvalidDampingTerm", "msg": "Invalid damping term" }, { "code": 6011, "name": "InvalidMint", "msg": "Invalid mint" }, { "code": 6012, "name": "InvalidProtocolFeeRecipient", "msg": "Invalid protocol fee recipient" }, { "code": 6013, "name": "InvalidSqrtPrice", "msg": "Invalid sqrt price" }, { "code": 6014, "name": "MathOverflow", "msg": "Math overflow" }, { "code": 6015, "name": "MaxBasisPointsOffGraduationPriceTooHigh", "msg": "Max basis points off graduation price too high" }, { "code": 6016, "name": "MaxGraduationPriceDeviationBasisPointsTooHigh", "msg": "Max graduation price deviation basis points too high" }, { "code": 6017, "name": "MaxSwapAmountForPoolPriceCorrectionBasisPointsTooHigh", "msg": "Max swap amount for pool price correction basis points too high" }, { "code": 6018, "name": "MintIsLargerThanOrEqualToNativeMint", "msg": "Mint is larger than or equal to native mint" }, { "code": 6019, "name": "NoAuthorityTransferInProgress", "msg": "No authority transfer in progress" }, { "code": 6020, "name": "NothingToDeposit", "msg": "LP Token amount is too low" }, { "code": 6021, "name": "NothingToSplit", "msg": "Nothing to split" }, { "code": 6022, "name": "NothingToLock", "msg": "Nothing to lock" }, { "code": 6023, "name": "OperatorAlreadyAdded", "msg": "Operator already added" }, { "code": 6024, "name": "OperatorDoesNotExist", "msg": "Operator does not exist" }, { "code": 6025, "name": "Paused", "msg": "Paused" }, { "code": 6026, "name": "PoolPriceOutOfRange", "msg": "Pool is already created and has a price out of range when attempting to deposit liquidity" }, { "code": 6027, "name": "SwapFeeBasisPointsTooHigh", "msg": "Swap fee basis points too high" }, { "code": 6028, "name": "SwapAmountTooHigh", "msg": "Swap amount exceeds the reasonable limit to leave as liquidity" }, { "code": 6029, "name": "TokenAmountForRaydiumLiquidityTooHigh", "msg": "Token amount for Raydium liquidity too high" }, { "code": 6030, "name": "TokenForStakersBasisPointsTooHigh", "msg": "Token for stakers basis points too high" }, { "code": 6031, "name": "TokenGraduated", "msg": "Token graduated" }, { "code": 6032, "name": "TokenNameTooLong", "msg": "Token name too long" }, { "code": 6033, "name": "TokenNameTooShort", "msg": "Token name too short" }, { "code": 6034, "name": "TokenSymbolTooLong", "msg": "Token symbol too long" }, { "code": 6035, "name": "TokenSymbolTooShort", "msg": "Token symbol too short" }, { "code": 6036, "name": "Unauthorized", "msg": "Unauthorized" } ], "types": [ { "name": "AmmConfig", "docs": [ "Holds the current owner of the factory" ], "type": { "kind": "struct", "fields": [ { "name": "bump", "docs": [ "Bump to identify PDA" ], "type": "u8" }, { "name": "disable_create_pool", "docs": [ "Status to control if new pool can be create" ], "type": "bool" }, { "name": "index", "docs": [ "Config index" ], "type": "u16" }, { "name": "trade_fee_rate", "docs": [ "The trade fee, denominated in hundredths of a bip (10^-6)" ], "type": "u64" }, { "name": "protocol_fee_rate", "docs": [ "The protocol fee" ], "type": "u64" }, { "name": "fund_fee_rate", "docs": [ "The fund fee, denominated in hundredths of a bip (10^-6)" ], "type": "u64" }, { "name": "create_pool_fee", "docs": [ "Fee for create a new pool" ], "type": "u64" }, { "name": "protocol_owner", "docs": [ "Address of the protocol fee owner" ], "type": "pubkey" }, { "name": "fund_owner", "docs": [ "Address of the fund fee owner" ], "type": "pubkey" }, { "name": "padding", "docs": [ "padding" ], "type": { "array": [ "u64", 16 ] } } ] } }, { "name": "AuthorityTransferCancelledEvent", "type": { "kind": "struct", "fields": [] } }, { "name": "AuthorityTransferCompletedEvent", "type": { "kind": "struct", "fields": [ { "name": "old_authority", "type": "pubkey" }, { "name": "new_authority", "type": "pubkey" } ] } }, { "name": "AuthorityTransferInitiatedEvent", "type": { "kind": "struct", "fields": [ { "name": "old_authority", "type": "pubkey" }, { "name": "new_authority", "type": "pubkey" } ] } }, { "name": "BondingCurve", "type": { "kind": "struct", "fields": [ { "name": "creator", "type": "pubkey" }, { "name": "mint", "type": "pubkey" }, { "name": "virtual_sol_reserves", "type": "u64" }, { "name": "virtual_token_reserves", "docs": [ "virtual token reserves is deprecated, we now use the xyk formula instead", "and it only requires virtual sol reserves", "to maintain backwards compatibility, if damping term is 30, we use the old formula", "and we still need virtual_token_reserves to be set correctly" ], "type": "u64" }, { "name": "graduation_target", "type": "u64" }, { "name": "graduation_fee", "type": "u64" }, { "name": "sol_reserves", "type": "u64" }, { "name": "token_reserves", "type": "u64" }, { "name": "damping_term", "docs": [ "In reality, this is now more like a bonding_curve_selector" ], "type": "u8" }, { "name": "swap_fee_basis_points", "type": "u8" }, { "name": "token_for_stakers_basis_points", "type": "u16" }, { "name": "status", "type": { "defined": { "name": "BondingCurveStatus" } } } ] } }, { "name": "BondingCurveDeployedEvent", "type": { "kind": "struct", "fields": [ { "name": "mint", "type": "pubkey" }, { "name": "creator", "type": "pubkey" } ] } }, { "name": "BondingCurveDeployedFallbackEvent", "type": { "kind": "struct", "fields": [ { "name": "mint", "type": "pubkey" }, { "name": "creator", "type": "pubkey" } ] } }, { "name": "BondingCurveStatus", "type": { "kind": "enum", "variants": [ { "name": "Trading" }, { "name": "Graduated" }, { "name": "PoolPriceCorrected" }, { "name": "LiquidityProvisioned" }, { "name": "LiquidityLocked" } ] } }, { "name": "BondingCurveVaultClosedEvent", "type": { "kind": "struct", "fields": [ { "name": "mint", "type": "pubkey" }, { "name": "recipient", "type": "pubkey" }, { "name": "amount", "type": "u64" } ] } }, { "name": "Config", "type": { "kind": "struct", "fields": [ { "name": "is_paused", "type": "bool" }, { "name": "authority", "type": "pubkey" }, { "name": "pending_authority", "type": "pubkey" }, { "name": "operators", "type": { "vec": "pubkey" } }, { "name": "protocol_fee_recipient", "type": "pubkey" }, { "name": "token_distributor", "type": "pubkey" }, { "name": "virtual_sol_reserves", "type": "u64" }, { "name": "virtual_token_reserves", "type": "u64" }, { "name": "graduation_target", "type": "u64" }, { "name": "graduation_fee", "type": "u64" }, { "name": "damping_term", "type": "u8" }, { "name": "token_for_stakers_basis_points", "type": "u16" }, { "name": "swap_fee_basis_points", "type": "u8" }, { "name": "token_amount_for_raydium_liquidity", "type": "u64" }, { "name": "max_graduation_price_deviation_basis_points", "type": "u16" }, { "name": "max_swap_amount_for_pool_price_correction_basis_points", "type": "u16" } ] } }, { "name": "ConfigUpdatedEvent", "type": { "kind": "struct", "fields": [ { "name": "protocol_fee_recipient", "type": "pubkey" }, { "name": "virtual_sol_reserves", "type": "u64" }, { "name": "virtual_token_reserves", "type": "u64" }, { "name": "graduation_target", "type": "u64" }, { "name": "graduation_fee", "type": "u64" }, { "name": "damping_term", "type": "u8" }, { "name": "swap_fee_basis_points", "type": "u8" }, { "name": "token_for_stakers_basis_points", "type": "u16" }, { "name": "token_amount_for_raydium_liquidity", "type": "u64" }, { "name": "max_graduation_price_deviation_basis_points", "type": "u16" }, { "name": "max_swap_amount_for_pool_price_correction_basis_points", "type": "u16" } ] } }, { "name": "LiquidityDepositedIntoRaydiumEvent", "type": { "kind": "struct", "fields": [ { "name": "pool_state", "type": "pubkey" }, { "name": "mint", "type": "pubkey" }, { "name": "lp_token_amount", "type": "u64" }, { "name": "tokens_deposited", "type": "u64" }, { "name": "wsol_deposited", "type": "u64" } ] } }, { "name": "LockedCpLiquidityState", "type": { "kind": "struct", "fields": [ { "name": "locked_lp_amount", "docs": [ "The Locked liquidity amount without claimed lp fee" ], "type": "u64" }, { "name": "claimed_lp_amount", "docs": [ "Claimed lp fee amount" ], "type": "u64" }, { "name": "unclaimed_lp_amount", "docs": [ "Unclaimed lp fee amount" ], "type": "u64" }, { "name": "last_lp", "docs": [ "Last updated cp pool lp total supply" ], "type": "u64" }, { "name": "last_k", "docs": [ "Last updated cp pool k" ], "type": "u128" }, { "name": "recent_epoch", "docs": [ "Account update recent epoch" ], "type": "u64" }, { "name": "pool_id", "docs": [ "The ID of the pool with which this record is connected" ], "type": "pubkey" }, { "name": "fee_nft_mint", "docs": [ "nft mint to check who has authority to collect fee" ], "type": "pubkey" }, { "name": "locked_owner", "docs": [ "The owner who has locked liquidity" ], "type": "pubkey" }, { "name": "locked_lp_mint", "docs": [ "The mint of locked lp token" ], "type": "pubkey" }, { "name": "padding", "docs": [ "Unused bytes for future upgrades." ], "type": { "array": [ "u64", 8 ] } } ] } }, { "name": "OperatorsAddedEvent", "type": { "kind": "struct", "fields": [ { "name": "operators", "type": { "vec": "pubkey" } } ] } }, { "name": "OperatorsRemovedEvent", "type": { "kind": "struct", "fields": [ { "name": "operators", "type": { "vec": "pubkey" } } ] } }, { "name": "PausedToggledEvent", "type": { "kind": "struct", "fields": [ { "name": "is_paused", "type": "bool" } ] } }, { "name": "PostGraduationTradingFeesSplitEvent", "type": { "kind": "struct", "fields": [ { "name": "amount", "type": "u64" }, { "name": "creator", "type": "pubkey" } ] } }, { "name": "RaydiumLiquidityLockedEvent", "type": { "kind": "struct", "fields": [ { "name": "pool_state", "type": "pubkey" }, { "name": "mint", "type": "pubkey" }, { "name": "lp_amount", "type": "u64" } ] } }, { "name": "RaydiumPoolCreatedEvent", "type": { "kind": "struct", "fields": [ { "name": "pool_state", "type": "pubkey" }, { "name": "mint", "type": "pubkey" } ] } }, { "name": "RaydiumRandomPoolCreatedEvent", "type": { "kind": "struct", "fields": [ { "name": "pool_state", "type": "pubkey" }, { "name": "mint", "type": "pubkey" } ] } }, { "name": "SwapSolForTokensOnRaydiumEvent", "type": { "kind": "struct", "fields": [ { "name": "mint", "type": "pubkey" }, { "name": "amount_in", "type": "u64" }, { "name": "amount_out", "type": "u64" } ] } }, { "name": "SwapTokensForSolOnRaydiumEvent", "type": { "kind": "struct", "fields": [ { "name": "mint", "type": "pubkey" }, { "name": "amount_in", "type": "u64" }, { "name": "amount_out", "type": "u64" } ] } }, { "name": "TokenBoughtEvent", "type": { "kind": "struct", "fields": [ { "name": "mint", "type": "pubkey" }, { "name": "amount_in", "type": "u64" }, { "name": "amount_out", "type": "u64" }, { "name": "swap_fee", "type": "u64" }, { "name": "buyer", "type": "pubkey" }, { "name": "recipient", "type": "pubkey" } ] } }, { "name": "TokenCreatedEvent", "type": { "kind": "struct", "fields": [ { "name": "name", "type": "string" }, { "name": "symbol", "type": "string" }, { "name": "uri", "type": "string" } ] } }, { "name": "TokenCreatedFallbackEvent", "type": { "kind": "struct", "fields": [ { "name": "name", "type": "string" }, { "name": "symbol", "type": "string" }, { "name": "uri", "type": "string" } ] } }, { "name": "TokenGraduatedEvent", "type": { "kind": "struct", "fields": [ { "name": "mint", "type": "pubkey" }, { "name": "sol_for_liquidity", "type": "u64" }, { "name": "graduation_fee", "type": "u64" }, { "name": "token_for_distributor", "type": "u64" } ] } }, { "name": "TokenSoldEvent", "type": { "kind": "struct", "fields": [ { "name": "mint", "type": "pubkey" }, { "name": "amount_in", "type": "u64" }, { "name": "amount_out", "type": "u64" }, { "name": "swap_fee", "type": "u64" }, { "name": "seller", "type": "pubkey" }, { "name": "recipient", "type": "pubkey" } ] } }, { "name": "TradingFeesCollectedEvent", "type": { "kind": "struct", "fields": [ { "name": "pool_state", "type": "pubkey" }, { "name": "mint", "type": "pubkey" } ] } }, { "name": "TradingFeesCollectedV2Event", "type": { "kind": "struct", "fields": [ { "name": "pool_state", "type": "pubkey" }, { "name": "mint", "type": "pubkey" } ] } }, { "name": "TradingFeesSplitEvent", "type": { "kind": "struct", "fields": [ { "name": "amount", "type": "u64" }, { "name": "creator", "type": "pubkey" } ] } } ] }