Open-source platform for 3D AI agents. Turn text or a photo into a rigged, animated GLB avatar, give it an LLM brain, memory and a wallet, and embed it anywhere with one web component. Remote MCP server, x402 payments, Three.js, browser-native.
JavaScript 3d-generationai-agentsanimationavatardigital-humangenerative-aiglbgltfimage-to-3dllmmcpmcp-servermodel-context-protocolsolanatext-to-3dthreejsweb-componentswebglwebxrx402
chore(pump): vendor the October 2026 Pump, PumpSwap and Pump Fees IDLs
nirholasb4ef479e4087
diff --git a/contracts/idl/pump/pump.json b/contracts/idl/pump/pump.jsonindex 2f1c65d4f..a8afe58cd 100644--- a/contracts/idl/pump/pump.json+++ b/contracts/idl/pump/pump.json@@ -1391,6 +1391,14 @@"name": "OptionBool"}}+ },+ {+ "name": "partial_fill",+ "type": {+ "defined": {+ "name": "OptionBool"+ }+ }}]},@@ -2131,47 +2139,28 @@{"name": "min_tokens_out","type": "u64"+ },+ {+ "name": "partial_fill",+ "type": {+ "defined": {+ "name": "OptionBool"+ }+ }}]},{- "name": "buy_exact_sol_in",- "docs": [- "Given a budget of spendable SOL, buy at least min_tokens_out tokens.",- "Fees are deducted from spendable_sol_in.",- "",- "# Quote formulas",- "Where:",- "- total_fee_bps = protocol_fee_bps + creator_fee_bps (creator_fee_bps is 0 if no creator)",- "- floor(a/b) = a / b (integer division)",- "- ceil(a/b) = (a + b - 1) / b",- "",- "SOL → tokens quote",- "To calculate tokens_out for a given spendable_sol_in:",- "1. net_sol = floor(spendable_sol_in * 10_000 / (10_000 + total_fee_bps))",- "2. fees = ceil(net_sol * protocol_fee_bps / 10_000) + ceil(net_sol * creator_fee_bps / 10_000) (creator_fee_bps is 0 if no creator)",- "3. if net_sol + fees > spendable_sol_in: net_sol = net_sol - (net_sol + fees - spendable_sol_in)",- "4. tokens_out = floor((net_sol - 1) * virtual_token_reserves / (virtual_sol_reserves + net_sol - 1))",- "",- "Reverse quote (tokens → SOL)",- "To calculate spendable_sol_in for a desired number of tokens:",- "1. net_sol = ceil(tokens * virtual_sol_reserves / (virtual_token_reserves - tokens)) + 1",- "2. spendable_sol_in = ceil(net_sol * (10_000 + total_fee_bps) / 10_000)",- "",- "Rent",- "Separately make sure the instruction's payer has enough SOL to cover rent for:",- "- creator_vault: rent.minimum_balance(0)",- "- user_volume_accumulator: rent.minimum_balance(UserVolumeAccumulator::LEN)"- ],+ "name": "buy_exact_quote_in_v3","discriminator": [- 56,- 252,- 116,- 8,- 158,- 223,- 205,- 95+ 225,+ 247,+ 80,+ 30,+ 213,+ 179,+ 132,+ 136],"accounts": [{@@ -2193,11 +2182,16 @@}},{- "name": "fee_recipient",- "writable": true+ "name": "base_mint"},{- "name": "mint"+ "name": "quote_mint"+ },+ {+ "name": "base_token_program"+ },+ {+ "name": "quote_token_program"},{"name": "bonding_curve",@@ -2224,13 +2218,13 @@},{"kind": "account",- "path": "mint"+ "path": "base_mint"}]}},{- "name": "associated_bonding_curve",+ "name": "associated_base_bonding_curve","writable": true,"pda": {"seeds": [@@ -2240,11 +2234,11 @@},{"kind": "account",- "path": "token_program"+ "path": "base_token_program"},{"kind": "account",- "path": "mint"+ "path": "base_mint"}],"program": {@@ -2287,121 +2281,81 @@}},{- "name": "associated_user",- "writable": true- },- {- "name": "user",- "writable": true,- "signer": true- },- {- "name": "system_program",- "address": "11111111111111111111111111111111"- },- {- "name": "token_program"- },- {- "name": "creator_vault",+ "name": "associated_quote_bonding_curve",+ "docs": [+ "Must already exist on a token quote (create_v2 creates it); ignored on a SOL quote."+ ],"writable": true,"pda": {"seeds": [{- "kind": "const",- "value": [- 99,- 114,- 101,- 97,- 116,- 111,- 114,- 45,- 118,- 97,- 117,- 108,- 116- ]+ "kind": "account",+ "path": "bonding_curve"},{"kind": "account",- "path": "bonding_curve.creator",- "account": "BondingCurve"+ "path": "quote_token_program"+ },+ {+ "kind": "account",+ "path": "quote_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": "event_authority",- "pda": {- "seeds": [- {- "kind": "const",- "value": [- 95,- 95,- 101,- 118,- 101,- 110,- 116,- 95,- 97,- 117,- 116,- 104,- 111,- 114,- 105,- 116,- 121- ]- }- ]- }+ "name": "user",+ "writable": true,+ "signer": true},{- "name": "program",- "address": "6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P"+ "name": "associated_base_user",+ "writable": true},{- "name": "global_volume_accumulator",- "pda": {- "seeds": [- {- "kind": "const",- "value": [- 103,- 108,- 111,- 98,- 97,- 108,- 95,- 118,- 111,- 108,- 117,- 109,- 101,- 95,- 97,- 99,- 99,- 117,- 109,- 117,- 108,- 97,- 116,- 111,- 114- ]- }- ]- }+ "name": "associated_quote_user",+ "docs": [+ "canonical SPL associated-token PDA. Validated in the handlers via",+ "`validate_user_quote_token_account` for non-legacy mints; ignored for legacy (SOL) trades."+ ],+ "writable": true},{"name": "user_volume_accumulator",@@ -2501,29 +2455,99 @@}],"program": {- "kind": "account",- "path": "fee_program"- }- }- },- {- "name": "fee_program",- "address": "pfeeUxB6jkeY1Hxd7CsFCAjcbHA9rWtchMGdZ6VojVZ"- }- ],- "args": [- {- "name": "spendable_sol_in",- "type": "u64"- },- {- "name": "min_tokens_out",- "type": "u64"- },- {- "name": "track_volume",- "type": {- "defined": {+ "kind": "const",+ "value": [+ 12,+ 53,+ 255,+ 169,+ 5,+ 90,+ 142,+ 86,+ 141,+ 168,+ 247,+ 188,+ 7,+ 86,+ 21,+ 39,+ 76,+ 241,+ 201,+ 44,+ 164,+ 31,+ 64,+ 0,+ 156,+ 81,+ 106,+ 164,+ 20,+ 194,+ 124,+ 112+ ]+ }+ }+ },+ {+ "name": "buyback_fee_recipient",+ "writable": true+ },+ {+ "name": "system_program",+ "address": "11111111111111111111111111111111"+ },+ {+ "name": "event_authority",+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 95,+ 95,+ 101,+ 118,+ 101,+ 110,+ 116,+ 95,+ 97,+ 117,+ 116,+ 104,+ 111,+ 114,+ 105,+ 116,+ 121+ ]+ }+ ]+ }+ },+ {+ "name": "program",+ "address": "6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P"+ }+ ],+ "args": [+ {+ "name": "spendable_quote_in",+ "type": "u64"+ },+ {+ "name": "min_tokens_out",+ "type": "u64"+ },+ {+ "name": "partial_fill",+ "type": {+ "defined": {"name": "OptionBool"}}@@ -2531,16 +2555,43 @@]},{- "name": "buy_v2",+ "name": "buy_exact_sol_in",+ "docs": [+ "Given a budget of spendable SOL, buy at least min_tokens_out tokens.",+ "Fees are deducted from spendable_sol_in.",+ "",+ "# Quote formulas",+ "Where:",+ "- total_fee_bps = protocol_fee_bps + creator_fee_bps (creator_fee_bps is 0 if no creator)",+ "- floor(a/b) = a / b (integer division)",+ "- ceil(a/b) = (a + b - 1) / b",+ "",+ "SOL → tokens quote",+ "To calculate tokens_out for a given spendable_sol_in:",+ "1. net_sol = floor(spendable_sol_in * 10_000 / (10_000 + total_fee_bps))",+ "2. fees = ceil(net_sol * protocol_fee_bps / 10_000) + ceil(net_sol * creator_fee_bps / 10_000) (creator_fee_bps is 0 if no creator)",+ "3. if net_sol + fees > spendable_sol_in: net_sol = net_sol - (net_sol + fees - spendable_sol_in)",+ "4. tokens_out = floor((net_sol - 1) * virtual_token_reserves / (virtual_sol_reserves + net_sol - 1))",+ "",+ "Reverse quote (tokens → SOL)",+ "To calculate spendable_sol_in for a desired number of tokens:",+ "1. net_sol = ceil(tokens * virtual_sol_reserves / (virtual_token_reserves - tokens)) + 1",+ "2. spendable_sol_in = ceil(net_sol * (10_000 + total_fee_bps) / 10_000)",+ "",+ "Rent",+ "Separately make sure the instruction's payer has enough SOL to cover rent for:",+ "- creator_vault: rent.minimum_balance(0)",+ "- user_volume_accumulator: rent.minimum_balance(UserVolumeAccumulator::LEN)"+ ],"discriminator": [- 184,- 23,- 238,- 97,- 103,- 197,- 211,- 61+ 56,+ 252,+ 116,+ 8,+ 158,+ 223,+ 205,+ 95],"accounts": [{@@ -2561,103 +2612,59 @@]}},- {- "name": "base_mint"- },- {- "name": "quote_mint"- },- {- "name": "base_token_program"- },- {- "name": "quote_token_program"- },- {- "name": "associated_token_program",- "address": "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL"- },{"name": "fee_recipient","writable": true},{- "name": "associated_quote_fee_recipient",+ "name": "mint"+ },+ {+ "name": "bonding_curve","writable": true,"pda": {"seeds": [{- "kind": "account",- "path": "fee_recipient"- },- {- "kind": "account",- "path": "quote_token_program"+ "kind": "const",+ "value": [+ 98,+ 111,+ 110,+ 100,+ 105,+ 110,+ 103,+ 45,+ 99,+ 117,+ 114,+ 118,+ 101+ ]},{"kind": "account",- "path": "quote_mint"+ "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": "buyback_fee_recipient",- "writable": true- },- {- "name": "associated_quote_buyback_fee_recipient",+ "name": "associated_bonding_curve","writable": true,"pda": {"seeds": [{"kind": "account",- "path": "buyback_fee_recipient"+ "path": "bonding_curve"},{"kind": "account",- "path": "quote_token_program"+ "path": "token_program"},{"kind": "account",- "path": "quote_mint"+ "path": "mint"}],"program": {@@ -2700,51 +2707,840 @@}},{- "name": "bonding_curve",+ "name": "associated_user",+ "writable": true+ },+ {+ "name": "user",+ "writable": true,+ "signer": true+ },+ {+ "name": "system_program",+ "address": "11111111111111111111111111111111"+ },+ {+ "name": "token_program"+ },+ {+ "name": "creator_vault","writable": true,"pda": {"seeds": [{"kind": "const","value": [- 98,- 111,- 110,- 100,- 105,+ 99,+ 114,+ 101,+ 97,+ 116,+ 111,+ 114,+ 45,+ 118,+ 97,+ 117,+ 108,+ 116+ ]+ },+ {+ "kind": "account",+ "path": "bonding_curve.creator",+ "account": "BondingCurve"+ }+ ]+ }+ },+ {+ "name": "event_authority",+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 95,+ 95,+ 101,+ 118,+ 101,+ 110,+ 116,+ 95,+ 97,+ 117,+ 116,+ 104,+ 111,+ 114,+ 105,+ 116,+ 121+ ]+ }+ ]+ }+ },+ {+ "name": "program",+ "address": "6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P"+ },+ {+ "name": "global_volume_accumulator",+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 103,+ 108,+ 111,+ 98,+ 97,+ 108,+ 95,+ 118,+ 111,+ 108,+ 117,+ 109,+ 101,+ 95,+ 97,+ 99,+ 99,+ 117,+ 109,+ 117,+ 108,+ 97,+ 116,+ 111,+ 114+ ]+ }+ ]+ }+ },+ {+ "name": "user_volume_accumulator",+ "writable": true,+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 117,+ 115,+ 101,+ 114,+ 95,+ 118,+ 111,+ 108,+ 117,+ 109,+ 101,+ 95,+ 97,+ 99,+ 99,+ 117,+ 109,+ 117,+ 108,+ 97,+ 116,+ 111,+ 114+ ]+ },+ {+ "kind": "account",+ "path": "user"+ }+ ]+ }+ },+ {+ "name": "fee_config",+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 102,+ 101,+ 101,+ 95,+ 99,+ 111,+ 110,+ 102,+ 105,+ 103+ ]+ },+ {+ "kind": "const",+ "value": [+ 1,+ 86,+ 224,+ 246,+ 147,+ 102,+ 90,+ 207,+ 68,+ 219,+ 21,+ 104,+ 191,+ 23,+ 91,+ 170,+ 81,+ 137,+ 203,+ 151,+ 245,+ 210,+ 255,+ 59,+ 101,+ 93,+ 43,+ 182,+ 253,+ 109,+ 24,+ 176+ ]+ }+ ],+ "program": {+ "kind": "account",+ "path": "fee_program"+ }+ }+ },+ {+ "name": "fee_program",+ "address": "pfeeUxB6jkeY1Hxd7CsFCAjcbHA9rWtchMGdZ6VojVZ"+ }+ ],+ "args": [+ {+ "name": "spendable_sol_in",+ "type": "u64"+ },+ {+ "name": "min_tokens_out",+ "type": "u64"+ },+ {+ "name": "track_volume",+ "type": {+ "defined": {+ "name": "OptionBool"+ }+ }+ },+ {+ "name": "partial_fill",+ "type": {+ "defined": {+ "name": "OptionBool"+ }+ }+ }+ ]+ },+ {+ "name": "buy_v2",+ "discriminator": [+ 184,+ 23,+ 238,+ 97,+ 103,+ 197,+ 211,+ 61+ ],+ "accounts": [+ {+ "name": "global",+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 103,+ 108,+ 111,+ 98,+ 97,+ 108+ ]+ }+ ]+ }+ },+ {+ "name": "base_mint"+ },+ {+ "name": "quote_mint"+ },+ {+ "name": "base_token_program"+ },+ {+ "name": "quote_token_program"+ },+ {+ "name": "associated_token_program",+ "address": "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL"+ },+ {+ "name": "fee_recipient",+ "writable": true+ },+ {+ "name": "associated_quote_fee_recipient",+ "writable": true,+ "pda": {+ "seeds": [+ {+ "kind": "account",+ "path": "fee_recipient"+ },+ {+ "kind": "account",+ "path": "quote_token_program"+ },+ {+ "kind": "account",+ "path": "quote_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": "buyback_fee_recipient",+ "writable": true+ },+ {+ "name": "associated_quote_buyback_fee_recipient",+ "writable": true,+ "pda": {+ "seeds": [+ {+ "kind": "account",+ "path": "buyback_fee_recipient"+ },+ {+ "kind": "account",+ "path": "quote_token_program"+ },+ {+ "kind": "account",+ "path": "quote_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": "bonding_curve",+ "writable": true,+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 98,+ 111,+ 110,+ 100,+ 105,+ 110,+ 103,+ 45,+ 99,+ 117,+ 114,+ 118,+ 101+ ]+ },+ {+ "kind": "account",+ "path": "base_mint"+ }+ ]+ }+ },+ {+ "name": "associated_base_bonding_curve",+ "writable": true,+ "pda": {+ "seeds": [+ {+ "kind": "account",+ "path": "bonding_curve"+ },+ {+ "kind": "account",+ "path": "base_token_program"+ },+ {+ "kind": "account",+ "path": "base_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": "associated_quote_bonding_curve",+ "writable": true,+ "pda": {+ "seeds": [+ {+ "kind": "account",+ "path": "bonding_curve"+ },+ {+ "kind": "account",+ "path": "quote_token_program"+ },+ {+ "kind": "account",+ "path": "quote_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": "user",+ "writable": true,+ "signer": true+ },+ {+ "name": "associated_base_user",+ "writable": true+ },+ {+ "name": "associated_quote_user",+ "docs": [+ "canonical SPL associated-token PDA. Validated in handlers via",+ "`validate_user_quote_token_account` for non-legacy mints; ignored for legacy (SOL) trades."+ ],+ "writable": true+ },+ {+ "name": "creator_vault",+ "writable": true,+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 99,+ 114,+ 101,+ 97,+ 116,+ 111,+ 114,+ 45,+ 118,+ 97,+ 117,+ 108,+ 116+ ]+ },+ {+ "kind": "account",+ "path": "bonding_curve.creator",+ "account": "BondingCurve"+ }+ ]+ }+ },+ {+ "name": "associated_creator_vault",+ "writable": true,+ "pda": {+ "seeds": [+ {+ "kind": "account",+ "path": "creator_vault"+ },+ {+ "kind": "account",+ "path": "quote_token_program"+ },+ {+ "kind": "account",+ "path": "quote_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": "sharing_config",+ "docs": [+ "seeds; the account is intentionally not deserialized here because it may be uninitialized",+ "for mints that have not created a fee sharing config. Handlers must check",+ "`data_is_empty()` / owner before reading."+ ],+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 115,+ 104,+ 97,+ 114,+ 105,+ 110,+ 103,+ 45,+ 99,+ 111,110,+ 102,+ 105,+ 103+ ]+ },+ {+ "kind": "account",+ "path": "base_mint"+ }+ ],+ "program": {+ "kind": "const",+ "value": [+ 12,+ 53,+ 255,+ 169,+ 5,+ 90,+ 142,+ 86,+ 141,+ 168,+ 247,+ 188,+ 7,+ 86,+ 21,+ 39,+ 76,+ 241,+ 201,+ 44,+ 164,+ 31,+ 64,+ 0,+ 156,+ 81,+ 106,+ 164,+ 20,+ 194,+ 124,+ 112+ ]+ }+ }+ },+ {+ "name": "global_volume_accumulator",+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [103,- 45,+ 108,+ 111,+ 98,+ 97,+ 108,+ 95,+ 118,+ 111,+ 108,+ 117,+ 109,+ 101,+ 95,+ 97,+ 99,99,117,+ 109,+ 117,+ 108,+ 97,+ 116,+ 111,+ 114+ ]+ }+ ]+ }+ },+ {+ "name": "user_volume_accumulator",+ "writable": true,+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 117,+ 115,+ 101,114,+ 95,118,- 101+ 111,+ 108,+ 117,+ 109,+ 101,+ 95,+ 97,+ 99,+ 99,+ 117,+ 109,+ 117,+ 108,+ 97,+ 116,+ 111,+ 114]},{"kind": "account",- "path": "base_mint"+ "path": "user"}]}},{- "name": "associated_base_bonding_curve",+ "name": "associated_user_volume_accumulator","writable": true,"pda": {"seeds": [{"kind": "account",- "path": "bonding_curve"+ "path": "user_volume_accumulator"},{"kind": "account",- "path": "base_token_program"+ "path": "quote_token_program"},{"kind": "account",- "path": "base_mint"+ "path": "quote_mint"}],"program": {@@ -2787,7 +3583,204 @@}},{- "name": "associated_quote_bonding_curve",+ "name": "fee_config",+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 102,+ 101,+ 101,+ 95,+ 99,+ 111,+ 110,+ 102,+ 105,+ 103+ ]+ },+ {+ "kind": "const",+ "value": [+ 1,+ 86,+ 224,+ 246,+ 147,+ 102,+ 90,+ 207,+ 68,+ 219,+ 21,+ 104,+ 191,+ 23,+ 91,+ 170,+ 81,+ 137,+ 203,+ 151,+ 245,+ 210,+ 255,+ 59,+ 101,+ 93,+ 43,+ 182,+ 253,+ 109,+ 24,+ 176+ ]+ }+ ],+ "program": {+ "kind": "account",+ "path": "fee_program"+ }+ }+ },+ {+ "name": "fee_program",+ "address": "pfeeUxB6jkeY1Hxd7CsFCAjcbHA9rWtchMGdZ6VojVZ"+ },+ {+ "name": "system_program",+ "address": "11111111111111111111111111111111"+ },+ {+ "name": "event_authority",+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 95,+ 95,+ 101,+ 118,+ 101,+ 110,+ 116,+ 95,+ 97,+ 117,+ 116,+ 104,+ 111,+ 114,+ 105,+ 116,+ 121+ ]+ }+ ]+ }+ },+ {+ "name": "program",+ "address": "6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P"+ }+ ],+ "args": [+ {+ "name": "amount",+ "type": "u64"+ },+ {+ "name": "max_sol_cost",+ "type": "u64"+ },+ {+ "name": "partial_fill",+ "type": {+ "defined": {+ "name": "OptionBool"+ }+ }+ }+ ]+ },+ {+ "name": "buy_v3",+ "discriminator": [+ 7,+ 5,+ 29,+ 196,+ 245,+ 23,+ 101,+ 80+ ],+ "accounts": [+ {+ "name": "global",+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 103,+ 108,+ 111,+ 98,+ 97,+ 108+ ]+ }+ ]+ }+ },+ {+ "name": "base_mint"+ },+ {+ "name": "quote_mint"+ },+ {+ "name": "base_token_program"+ },+ {+ "name": "quote_token_program"+ },+ {+ "name": "bonding_curve",+ "writable": true,+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 98,+ 111,+ 110,+ 100,+ 105,+ 110,+ 103,+ 45,+ 99,+ 117,+ 114,+ 118,+ 101+ ]+ },+ {+ "kind": "account",+ "path": "base_mint"+ }+ ]+ }+ },+ {+ "name": "associated_base_bonding_curve","writable": true,"pda": {"seeds": [@@ -2797,11 +3790,11 @@},{"kind": "account",- "path": "quote_token_program"+ "path": "base_token_program"},{"kind": "account",- "path": "quote_mint"+ "path": "base_mint"}],"program": {@@ -2844,61 +3837,16 @@}},{- "name": "user",- "writable": true,- "signer": true- },- {- "name": "associated_base_user",- "writable": true- },- {- "name": "associated_quote_user",+ "name": "associated_quote_bonding_curve","docs": [- "canonical SPL associated-token PDA. Validated in handlers via",- "`validate_user_quote_token_account` for non-legacy mints; ignored for legacy (SOL) trades."+ "Must already exist on a token quote (create_v2 creates it); ignored on a SOL quote."],- "writable": true- },- {- "name": "creator_vault",- "writable": true,- "pda": {- "seeds": [- {- "kind": "const",- "value": [- 99,- 114,- 101,- 97,- 116,- 111,- 114,- 45,- 118,- 97,- 117,- 108,- 116- ]- },- {- "kind": "account",- "path": "bonding_curve.creator",- "account": "BondingCurve"- }- ]- }- },- {- "name": "associated_creator_vault","writable": true,"pda": {"seeds": [{"kind": "account",- "path": "creator_vault"+ "path": "bonding_curve"},{"kind": "account",@@ -2949,113 +3897,21 @@}},{- "name": "sharing_config",- "docs": [- "seeds; the account is intentionally not deserialized here because it may be uninitialized",- "for mints that have not created a fee sharing config. Handlers must check",- "`data_is_empty()` / owner before reading."- ],- "pda": {- "seeds": [- {- "kind": "const",- "value": [- 115,- 104,- 97,- 114,- 105,- 110,- 103,- 45,- 99,- 111,- 110,- 102,- 105,- 103- ]- },- {- "kind": "account",- "path": "base_mint"- }- ],- "program": {- "kind": "const",- "value": [- 12,- 53,- 255,- 169,- 5,- 90,- 142,- 86,- 141,- 168,- 247,- 188,- 7,- 86,- 21,- 39,- 76,- 241,- 201,- 44,- 164,- 31,- 64,- 0,- 156,- 81,- 106,- 164,- 20,- 194,- 124,- 112- ]- }- }+ "name": "user",+ "writable": true,+ "signer": true},{- "name": "global_volume_accumulator",- "pda": {- "seeds": [- {- "kind": "const",- "value": [- 103,- 108,- 111,- 98,- 97,- 108,- 95,- 118,- 111,- 108,- 117,- 109,- 101,- 95,- 97,- 99,- 99,- 117,- 109,- 117,- 108,- 97,- 116,- 111,- 114- ]- }- ]- }+ "name": "associated_base_user",+ "writable": true+ },+ {+ "name": "associated_quote_user",+ "docs": [+ "canonical SPL associated-token PDA. Validated in the handlers via",+ "`validate_user_quote_token_account` for non-legacy mints; ignored for legacy (SOL) trades."+ ],+ "writable": true},{"name": "user_volume_accumulator",@@ -3085,73 +3941,16 @@117,108,97,- 116,- 111,- 114- ]- },- {- "kind": "account",- "path": "user"- }- ]- }- },- {- "name": "associated_user_volume_accumulator",- "writable": true,- "pda": {- "seeds": [- {- "kind": "account",- "path": "user_volume_accumulator"- },- {- "kind": "account",- "path": "quote_token_program"- },- {- "kind": "account",- "path": "quote_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- ]- }+ 116,+ 111,+ 114+ ]+ },+ {+ "kind": "account",+ "path": "user"+ }+ ]}},{@@ -3212,14 +4011,47 @@}],"program": {- "kind": "account",- "path": "fee_program"+ "kind": "const",+ "value": [+ 12,+ 53,+ 255,+ 169,+ 5,+ 90,+ 142,+ 86,+ 141,+ 168,+ 247,+ 188,+ 7,+ 86,+ 21,+ 39,+ 76,+ 241,+ 201,+ 44,+ 164,+ 31,+ 64,+ 0,+ 156,+ 81,+ 106,+ 164,+ 20,+ 194,+ 124,+ 112+ ]}}},{- "name": "fee_program",- "address": "pfeeUxB6jkeY1Hxd7CsFCAjcbHA9rWtchMGdZ6VojVZ"+ "name": "buyback_fee_recipient",+ "writable": true},{"name": "system_program",@@ -3267,6 +4099,14 @@{"name": "max_sol_cost","type": "u64"+ },+ {+ "name": "partial_fill",+ "type": {+ "defined": {+ "name": "OptionBool"+ }+ }}]},@@ -4438,13 +5278,32 @@"the mint), plus an optional fourth account, the `quote-control` PDA, read only when `Global`","does not whitelist the mint. A mint admitted through quote-control seeds the curve's","virtual quote reserves from its quote-control entry instead of `Global`, and cannot be",- "used with `is_mayhem_mode` (`MayhemModeQuoteMintNotAllowed`). The Token-2022",+ "used with `is_mayhem_mode` (`MayhemModeQuoteMintNotAllowed`). When neither list admits the",+ "mint Q, an optional fifth account, Q's own pump `bonding-curve` PDA, admits a pump coin as",+ "the quote (`InvalidQuoteBondingCurve` if it is not that PDA; missing keeps",+ "`UnsupportedQuoteMint`): the new curve's depth, Q's depth plus one, must not exceed",+ "`Global.max_curve_depth` (`CurveDepthExceeded`; 0 disables the path, 1 admits children of",+ "depth-0 coins only, up to 5 planned), and Q's curve must not be mayhem mode; a depth-0 Q",+ "must itself be quoted in SOL, a `Global`-whitelisted mint or a quote-control mint",+ "(`QuoteBondingCurveNotEligible`). The new curve's virtual quote reserves are then derived",+ "from Q's live price — the seed a fresh curve in Q's own quote would get for a depth-0 Q, or",+ "Q's own stored `initial_virtual_quote_reserves` for a deeper Q (so every hop below Q is",+ "pinned at its creation price and only Q is read), times Q's curve `virtual_token_reserves`",+ "over `virtual_quote_reserves` while Q's curve trades, or times Q's canonical pump-amm pool",+ "base vault balance over its quote vault balance plus `Pool.virtual_quote_reserves` once it is",+ "migrated (a complete Q not yet migrated fails `QuoteCurveAwaitingMigration`);",+ "a migrated Q requires accounts six to eight: the pool (index 0 under pump's",+ "`pool-authority` PDA for Q, quote seed WSOL for a SOL-quoted Q) and its base and quote",+ "vaults (`QuotePoolAccountsRequired`, `QuotePoolNotFound`, `InvalidQuotePool`). The derived",+ "value must be at least 1 and its graduation raise at most Q's mint supply",+ "(`QuoteReservesOutOfRange`); the new curve stores `depth = Q.depth + 1` and, like a",+ "quote-control coin, cannot be mayhem mode. The Token-2022","native mint is rejected, and a Token-2022 quote mint may only carry the xStock operable","extension set (metadata pointer/metadata, permanent delegate, initialized default account","state, scaled UI amount, pausable, confidential-transfer mint, and a transfer hook with no","program). The trailing `creator_fee_bps` argument (EOF-tolerant) sets the coin's own creator",- "fee rate for a quote mint admitted through quote-control, and then requires",- "`Global.creator_fee_configurable`, a non-cashback coin and a value in",+ "fee rate for a quote mint admitted through quote-control or through a pump coin's curve,",+ "and then requires `Global.creator_fee_configurable`, a non-cashback coin and a value in","`1..=Global.max_configurable_creator_fee_bps`; on a SOL or `Global`-whitelisted quote it is","ignored, and omitted or zero stores 0 so the pump-fees schedule rate applies.","`is_cashback_enabled` is deprecated and must be false. `is_holder_reward` (EOF-tolerant,",@@ -6946,31 +7805,289 @@}],"program": {- "kind": "account",- "path": "associated_token_program"+ "kind": "account",+ "path": "associated_token_program"+ }+ }+ },+ {+ "name": "base_token_program"+ },+ {+ "name": "quote_token_program"+ },+ {+ "name": "token_2022_program",+ "address": "TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb"+ },+ {+ "name": "associated_token_program",+ "address": "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL"+ },+ {+ "name": "pump_amm_event_authority"+ },+ {+ "name": "rent",+ "address": "SysvarRent111111111111111111111111111111111"+ },+ {+ "name": "event_authority",+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 95,+ 95,+ 101,+ 118,+ 101,+ 110,+ 116,+ 95,+ 97,+ 117,+ 116,+ 104,+ 111,+ 114,+ 105,+ 116,+ 121+ ]+ }+ ]+ }+ },+ {+ "name": "program"+ }+ ],+ "args": []+ },+ {+ "name": "multi_hop_curve_swap",+ "discriminator": [+ 225,+ 154,+ 117,+ 22,+ 215,+ 86,+ 246,+ 103+ ],+ "accounts": [+ {+ "name": "global",+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 103,+ 108,+ 111,+ 98,+ 97,+ 108+ ]+ }+ ]+ }+ },+ {+ "name": "fee_config",+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 102,+ 101,+ 101,+ 95,+ 99,+ 111,+ 110,+ 102,+ 105,+ 103+ ]+ },+ {+ "kind": "const",+ "value": [+ 1,+ 86,+ 224,+ 246,+ 147,+ 102,+ 90,+ 207,+ 68,+ 219,+ 21,+ 104,+ 191,+ 23,+ 91,+ 170,+ 81,+ 137,+ 203,+ 151,+ 245,+ 210,+ 255,+ 59,+ 101,+ 93,+ 43,+ 182,+ 253,+ 109,+ 24,+ 176+ ]+ }+ ],+ "program": {+ "kind": "const",+ "value": [+ 12,+ 53,+ 255,+ 169,+ 5,+ 90,+ 142,+ 86,+ 141,+ 168,+ 247,+ 188,+ 7,+ 86,+ 21,+ 39,+ 76,+ 241,+ 201,+ 44,+ 164,+ 31,+ 64,+ 0,+ 156,+ 81,+ 106,+ 164,+ 20,+ 194,+ 124,+ 112+ ]+ }+ }+ },+ {+ "name": "pump_amm_global_config",+ "signer": true,+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 103,+ 108,+ 111,+ 98,+ 97,+ 108,+ 95,+ 99,+ 111,+ 110,+ 102,+ 105,+ 103+ ]+ }+ ],+ "program": {+ "kind": "const",+ "value": [+ 12,+ 20,+ 222,+ 252,+ 130,+ 94,+ 198,+ 118,+ 148,+ 37,+ 8,+ 24,+ 187,+ 101,+ 64,+ 101,+ 244,+ 41,+ 141,+ 49,+ 86,+ 213,+ 113,+ 180,+ 212,+ 248,+ 9,+ 12,+ 24,+ 233,+ 168,+ 99+ ]}}},{- "name": "base_token_program"+ "name": "user",+ "writable": true,+ "signer": true},{- "name": "quote_token_program"+ "name": "source_authority",+ "signer": true},{- "name": "token_2022_program",- "address": "TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb"+ "name": "source",+ "writable": true},{- "name": "associated_token_program",- "address": "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL"+ "name": "destination",+ "writable": true},{- "name": "pump_amm_event_authority"+ "name": "buyback_fee_recipient",+ "writable": true},{- "name": "rent",- "address": "SysvarRent111111111111111111111111111111111"+ "name": "token_program",+ "address": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"+ },+ {+ "name": "token_2022_program",+ "address": "TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb"+ },+ {+ "name": "system_program",+ "address": "11111111111111111111111111111111"},{"name": "event_authority",@@ -7002,10 +8119,25 @@}},{- "name": "program"+ "name": "program",+ "address": "6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P"}],- "args": []+ "args": [+ {+ "name": "amount_in",+ "type": "u64"+ },+ {+ "name": "hop_fees",+ "type": "bytes"+ }+ ],+ "returns": {+ "defined": {+ "name": "CurveRunResult"+ }+ }},{"name": "remove_quote_control_mint",@@ -7468,80 +8600,285 @@}},{- "name": "fee_program",- "address": "pfeeUxB6jkeY1Hxd7CsFCAjcbHA9rWtchMGdZ6VojVZ"- }- ],- "args": [- {- "name": "amount",- "type": "u64"- },- {- "name": "min_sol_output",- "type": "u64"- }- ]- },- {- "name": "sell_v2",- "discriminator": [- 93,- 246,- 130,- 60,- 231,- 233,- 64,- 178- ],- "accounts": [- {- "name": "global",+ "name": "fee_program",+ "address": "pfeeUxB6jkeY1Hxd7CsFCAjcbHA9rWtchMGdZ6VojVZ"+ }+ ],+ "args": [+ {+ "name": "amount",+ "type": "u64"+ },+ {+ "name": "min_sol_output",+ "type": "u64"+ }+ ]+ },+ {+ "name": "sell_v2",+ "discriminator": [+ 93,+ 246,+ 130,+ 60,+ 231,+ 233,+ 64,+ 178+ ],+ "accounts": [+ {+ "name": "global",+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 103,+ 108,+ 111,+ 98,+ 97,+ 108+ ]+ }+ ]+ }+ },+ {+ "name": "base_mint"+ },+ {+ "name": "quote_mint"+ },+ {+ "name": "base_token_program"+ },+ {+ "name": "quote_token_program"+ },+ {+ "name": "associated_token_program",+ "address": "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL"+ },+ {+ "name": "fee_recipient",+ "writable": true+ },+ {+ "name": "associated_quote_fee_recipient",+ "writable": true,+ "pda": {+ "seeds": [+ {+ "kind": "account",+ "path": "fee_recipient"+ },+ {+ "kind": "account",+ "path": "quote_token_program"+ },+ {+ "kind": "account",+ "path": "quote_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": "buyback_fee_recipient",+ "writable": true+ },+ {+ "name": "associated_quote_buyback_fee_recipient",+ "writable": true,+ "pda": {+ "seeds": [+ {+ "kind": "account",+ "path": "buyback_fee_recipient"+ },+ {+ "kind": "account",+ "path": "quote_token_program"+ },+ {+ "kind": "account",+ "path": "quote_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": "bonding_curve",+ "writable": true,"pda": {"seeds": [{"kind": "const","value": [- 103,- 108,- 111,98,- 97,- 108+ 111,+ 110,+ 100,+ 105,+ 110,+ 103,+ 45,+ 99,+ 117,+ 114,+ 118,+ 101]+ },+ {+ "kind": "account",+ "path": "base_mint"}]}},{- "name": "base_mint"- },- {- "name": "quote_mint"- },- {- "name": "base_token_program"- },- {- "name": "quote_token_program"- },- {- "name": "associated_token_program",- "address": "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL"- },- {- "name": "fee_recipient",- "writable": true+ "name": "associated_base_bonding_curve",+ "writable": true,+ "pda": {+ "seeds": [+ {+ "kind": "account",+ "path": "bonding_curve"+ },+ {+ "kind": "account",+ "path": "base_token_program"+ },+ {+ "kind": "account",+ "path": "base_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": "associated_quote_fee_recipient",+ "name": "associated_quote_bonding_curve","writable": true,"pda": {"seeds": [{"kind": "account",- "path": "fee_recipient"+ "path": "bonding_curve"},{"kind": "account",@@ -7592,17 +8929,61 @@}},{- "name": "buyback_fee_recipient",+ "name": "user",+ "writable": true,+ "signer": true+ },+ {+ "name": "associated_base_user","writable": true},{- "name": "associated_quote_buyback_fee_recipient",+ "name": "associated_quote_user",+ "docs": [+ "canonical SPL associated-token PDA. Validated in `sell_v2_ix` via",+ "`validate_user_quote_token_account` for non-legacy mints; ignored for legacy (SOL) trades."+ ],+ "writable": true+ },+ {+ "name": "creator_vault",+ "writable": true,+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 99,+ 114,+ 101,+ 97,+ 116,+ 111,+ 114,+ 45,+ 118,+ 97,+ 117,+ 108,+ 116+ ]+ },+ {+ "kind": "account",+ "path": "bonding_curve.creator",+ "account": "BondingCurve"+ }+ ]+ }+ },+ {+ "name": "associated_creator_vault","writable": true,"pda": {"seeds": [{"kind": "account",- "path": "buyback_fee_recipient"+ "path": "creator_vault"},{"kind": "account",@@ -7653,51 +9034,133 @@}},{- "name": "bonding_curve",- "writable": true,+ "name": "sharing_config",+ "docs": [+ "seeds; the account is intentionally not deserialized here because it may be uninitialized",+ "for mints that have not created a fee sharing config. Handlers must check",+ "`data_is_empty()` / owner before reading."+ ],"pda": {"seeds": [{"kind": "const","value": [- 98,- 111,- 110,- 100,+ 115,+ 104,+ 97,+ 114,105,110,103,45,99,+ 111,+ 110,+ 102,+ 105,+ 103+ ]+ },+ {+ "kind": "account",+ "path": "base_mint"+ }+ ],+ "program": {+ "kind": "const",+ "value": [+ 12,+ 53,+ 255,+ 169,+ 5,+ 90,+ 142,+ 86,+ 141,+ 168,+ 247,+ 188,+ 7,+ 86,+ 21,+ 39,+ 76,+ 241,+ 201,+ 44,+ 164,+ 31,+ 64,+ 0,+ 156,+ 81,+ 106,+ 164,+ 20,+ 194,+ 124,+ 112+ ]+ }+ }+ },+ {+ "name": "user_volume_accumulator",+ "writable": true,+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [117,+ 115,+ 101,114,+ 95,118,- 101+ 111,+ 108,+ 117,+ 109,+ 101,+ 95,+ 97,+ 99,+ 99,+ 117,+ 109,+ 117,+ 108,+ 97,+ 116,+ 111,+ 114]},{"kind": "account",- "path": "base_mint"+ "path": "user"}]}},{- "name": "associated_base_bonding_curve",+ "name": "associated_user_volume_accumulator","writable": true,"pda": {"seeds": [{"kind": "account",- "path": "bonding_curve"+ "path": "user_volume_accumulator"},{"kind": "account",- "path": "base_token_program"+ "path": "quote_token_program"},{"kind": "account",- "path": "base_mint"+ "path": "quote_mint"}],"program": {@@ -7740,126 +9203,210 @@}},{- "name": "associated_quote_bonding_curve",- "writable": true,+ "name": "fee_config","pda": {"seeds": [{- "kind": "account",- "path": "bonding_curve"- },- {- "kind": "account",- "path": "quote_token_program"+ "kind": "const",+ "value": [+ 102,+ 101,+ 101,+ 95,+ 99,+ 111,+ 110,+ 102,+ 105,+ 103+ ]},{- "kind": "account",- "path": "quote_mint"+ "kind": "const",+ "value": [+ 1,+ 86,+ 224,+ 246,+ 147,+ 102,+ 90,+ 207,+ 68,+ 219,+ 21,+ 104,+ 191,+ 23,+ 91,+ 170,+ 81,+ 137,+ 203,+ 151,+ 245,+ 210,+ 255,+ 59,+ 101,+ 93,+ 43,+ 182,+ 253,+ 109,+ 24,+ 176+ ]}],"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- ]+ "kind": "account",+ "path": "fee_program"}}},{- "name": "user",- "writable": true,- "signer": true- },- {- "name": "associated_base_user",- "writable": true+ "name": "fee_program",+ "address": "pfeeUxB6jkeY1Hxd7CsFCAjcbHA9rWtchMGdZ6VojVZ"},{- "name": "associated_quote_user",- "docs": [- "canonical SPL associated-token PDA. Validated in `sell_v2_ix` via",- "`validate_user_quote_token_account` for non-legacy mints; ignored for legacy (SOL) trades."- ],- "writable": true+ "name": "system_program",+ "address": "11111111111111111111111111111111"},{- "name": "creator_vault",- "writable": true,+ "name": "event_authority","pda": {"seeds": [{"kind": "const","value": [- 99,- 114,+ 95,+ 95,+ 101,+ 118,101,+ 110,+ 116,+ 95,97,+ 117,116,+ 104,111,114,- 45,- 118,+ 105,+ 116,+ 121+ ]+ }+ ]+ }+ },+ {+ "name": "program",+ "address": "6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P"+ }+ ],+ "args": [+ {+ "name": "amount",+ "type": "u64"+ },+ {+ "name": "min_sol_output",+ "type": "u64"+ }+ ]+ },+ {+ "name": "sell_v3",+ "discriminator": [+ 28,+ 146,+ 222,+ 119,+ 38,+ 196,+ 105,+ 213+ ],+ "accounts": [+ {+ "name": "global",+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 103,+ 108,+ 111,+ 98,97,+ 108+ ]+ }+ ]+ }+ },+ {+ "name": "base_mint"+ },+ {+ "name": "quote_mint"+ },+ {+ "name": "base_token_program"+ },+ {+ "name": "quote_token_program"+ },+ {+ "name": "bonding_curve",+ "writable": true,+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 98,+ 111,+ 110,+ 100,+ 105,+ 110,+ 103,+ 45,+ 99,117,- 108,- 116+ 114,+ 118,+ 101]},{"kind": "account",- "path": "bonding_curve.creator",- "account": "BondingCurve"+ "path": "base_mint"}]}},{- "name": "associated_creator_vault",+ "name": "associated_base_bonding_curve","writable": true,"pda": {"seeds": [{"kind": "account",- "path": "creator_vault"+ "path": "bonding_curve"},{"kind": "account",- "path": "quote_token_program"+ "path": "base_token_program"},{"kind": "account",- "path": "quote_mint"+ "path": "base_mint"}],"program": {@@ -7902,77 +9449,82 @@}},{- "name": "sharing_config",+ "name": "associated_quote_bonding_curve","docs": [- "seeds; the account is intentionally not deserialized here because it may be uninitialized",- "for mints that have not created a fee sharing config. Handlers must check",- "`data_is_empty()` / owner before reading."+ "Must already exist on a token quote (create_v2 creates it); ignored on a SOL quote."],+ "writable": true,"pda": {"seeds": [{- "kind": "const",- "value": [- 115,- 104,- 97,- 114,- 105,- 110,- 103,- 45,- 99,- 111,- 110,- 102,- 105,- 103- ]+ "kind": "account",+ "path": "bonding_curve"},{"kind": "account",- "path": "base_mint"+ "path": "quote_token_program"+ },+ {+ "kind": "account",+ "path": "quote_mint"}],"program": {"kind": "const","value": [- 12,- 53,- 255,- 169,- 5,- 90,- 142,- 86,- 141,- 168,- 247,- 188,- 7,- 86,- 21,- 39,- 76,+ 140,+ 151,+ 37,+ 143,+ 78,+ 36,+ 137,241,- 201,- 44,- 164,- 31,- 64,- 0,- 156,- 81,- 106,- 164,+ 187,+ 61,+ 16,+ 41,20,- 194,- 124,- 112+ 142,+ 13,+ 131,+ 11,+ 90,+ 19,+ 153,+ 218,+ 255,+ 16,+ 132,+ 4,+ 142,+ 123,+ 216,+ 219,+ 233,+ 248,+ 89]}}},+ {+ "name": "user",+ "writable": true,+ "signer": true+ },+ {+ "name": "associated_base_user",+ "writable": true+ },+ {+ "name": "associated_quote_user",+ "docs": [+ "canonical SPL associated-token PDA. Validated in the handlers via",+ "`validate_user_quote_token_account` for non-legacy mints; ignored for legacy (SOL) trades."+ ],+ "writable": true+ },{"name": "user_volume_accumulator","writable": true,@@ -8013,63 +9565,6 @@]}},- {- "name": "associated_user_volume_accumulator",- "writable": true,- "pda": {- "seeds": [- {- "kind": "account",- "path": "user_volume_accumulator"- },- {- "kind": "account",- "path": "quote_token_program"- },- {- "kind": "account",- "path": "quote_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": "fee_config","pda": {@@ -8128,14 +9623,47 @@}],"program": {- "kind": "account",- "path": "fee_program"+ "kind": "const",+ "value": [+ 12,+ 53,+ 255,+ 169,+ 5,+ 90,+ 142,+ 86,+ 141,+ 168,+ 247,+ 188,+ 7,+ 86,+ 21,+ 39,+ 76,+ 241,+ 201,+ 44,+ 164,+ 31,+ 64,+ 0,+ 156,+ 81,+ 106,+ 164,+ 20,+ 194,+ 124,+ 112+ ]}}},{- "name": "fee_program",- "address": "pfeeUxB6jkeY1Hxd7CsFCAjcbHA9rWtchMGdZ6VojVZ"+ "name": "buyback_fee_recipient",+ "writable": true},{"name": "system_program",@@ -8329,35 +9857,115 @@}},{- "name": "bonding_curve",+ "name": "bonding_curve",+ "writable": true,+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 98,+ 111,+ 110,+ 100,+ 105,+ 110,+ 103,+ 45,+ 99,+ 117,+ 114,+ 118,+ 101+ ]+ },+ {+ "kind": "account",+ "path": "mint"+ }+ ]+ }+ },+ {+ "name": "event_authority",+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 95,+ 95,+ 101,+ 118,+ 101,+ 110,+ 116,+ 95,+ 97,+ 117,+ 116,+ 104,+ 111,+ 114,+ 105,+ 116,+ 121+ ]+ }+ ]+ }+ },+ {+ "name": "program"+ }+ ],+ "args": [+ {+ "name": "creator",+ "type": "pubkey"+ }+ ]+ },+ {+ "name": "set_max_curve_depth",+ "discriminator": [+ 32,+ 154,+ 152,+ 219,+ 142,+ 108,+ 218,+ 165+ ],+ "accounts": [+ {+ "name": "global","writable": true,"pda": {"seeds": [{"kind": "const","value": [- 98,- 111,- 110,- 100,- 105,- 110,103,- 45,- 99,- 117,- 114,- 118,- 101+ 108,+ 111,+ 98,+ 97,+ 108]- },- {- "kind": "account",- "path": "mint"}]}},+ {+ "name": "authority",+ "writable": true,+ "signer": true,+ "relations": [+ "global"+ ]+ },{"name": "event_authority","pda": {@@ -8393,8 +10001,8 @@],"args": [{- "name": "creator",- "type": "pubkey"+ "name": "max_curve_depth",+ "type": "u8"}]},@@ -8736,31 +10344,253 @@}},{- "name": "bonding_curve",+ "name": "bonding_curve",+ "writable": true,+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 98,+ 111,+ 110,+ 100,+ 105,+ 110,+ 103,+ 45,+ 99,+ 117,+ 114,+ 118,+ 101+ ]+ },+ {+ "kind": "account",+ "path": "mint"+ }+ ]+ }+ },+ {+ "name": "event_authority",+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 95,+ 95,+ 101,+ 118,+ 101,+ 110,+ 116,+ 95,+ 97,+ 117,+ 116,+ 104,+ 111,+ 114,+ 105,+ 116,+ 121+ ]+ }+ ]+ }+ },+ {+ "name": "program"+ }+ ],+ "args": []+ },+ {+ "name": "set_params",+ "docs": [+ "Sets the global state parameters."+ ],+ "discriminator": [+ 27,+ 234,+ 178,+ 52,+ 147,+ 2,+ 187,+ 141+ ],+ "accounts": [+ {+ "name": "global",+ "writable": true,+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 103,+ 108,+ 111,+ 98,+ 97,+ 108+ ]+ }+ ]+ }+ },+ {+ "name": "authority",+ "writable": true,+ "signer": true,+ "relations": [+ "global"+ ]+ },+ {+ "name": "event_authority",+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 95,+ 95,+ 101,+ 118,+ 101,+ 110,+ 116,+ 95,+ 97,+ 117,+ 116,+ 104,+ 111,+ 114,+ 105,+ 116,+ 121+ ]+ }+ ]+ }+ },+ {+ "name": "program"+ }+ ],+ "args": [+ {+ "name": "initial_virtual_token_reserves",+ "type": "u64"+ },+ {+ "name": "initial_virtual_sol_reserves",+ "type": "u64"+ },+ {+ "name": "initial_real_token_reserves",+ "type": "u64"+ },+ {+ "name": "token_total_supply",+ "type": "u64"+ },+ {+ "name": "fee_basis_points",+ "type": "u64"+ },+ {+ "name": "withdraw_authority",+ "type": "pubkey"+ },+ {+ "name": "enable_migrate",+ "type": "bool"+ },+ {+ "name": "pool_migration_fee",+ "type": "u64"+ },+ {+ "name": "creator_fee_basis_points",+ "type": "u64"+ },+ {+ "name": "set_creator_authority",+ "type": "pubkey"+ },+ {+ "name": "admin_set_creator_authority",+ "type": "pubkey"+ }+ ]+ },+ {+ "name": "set_quote_control_admin",+ "discriminator": [+ 62,+ 79,+ 161,+ 211,+ 165,+ 170,+ 214,+ 210+ ],+ "accounts": [+ {+ "name": "global",+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 103,+ 108,+ 111,+ 98,+ 97,+ 108+ ]+ }+ ]+ }+ },+ {+ "name": "authority",+ "signer": true,+ "relations": [+ "global"+ ]+ },+ {+ "name": "quote_control","writable": true,"pda": {"seeds": [{"kind": "const","value": [- 98,+ 113,+ 117,111,- 110,- 100,- 105,- 110,- 103,+ 116,+ 101,45,99,- 117,+ 111,+ 110,+ 116,114,- 118,- 101+ 111,+ 108]- },- {- "kind": "account",- "path": "mint"}]}@@ -8798,27 +10628,32 @@"name": "program"}],- "args": []+ "args": [+ {+ "name": "new_admin",+ "type": "pubkey"+ }+ ]},{- "name": "set_params",- "docs": [- "Sets the global state parameters."- ],+ "name": "set_quote_control_mint_reserves","discriminator": [- 27,- 234,- 178,- 52,- 147,- 2,- 187,- 141+ 116,+ 220,+ 107,+ 83,+ 191,+ 44,+ 32,+ 73],"accounts": [+ {+ "name": "authority",+ "signer": true+ },{"name": "global",- "writable": true,"pda": {"seeds": [{@@ -8836,12 +10671,30 @@}},{- "name": "authority",+ "name": "quote_control","writable": true,- "signer": true,- "relations": [- "global"- ]+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 113,+ 117,+ 111,+ 116,+ 101,+ 45,+ 99,+ 111,+ 110,+ 116,+ 114,+ 111,+ 108+ ]+ }+ ]+ }},{"name": "event_authority",@@ -8878,66 +10731,132 @@],"args": [{- "name": "initial_virtual_token_reserves",- "type": "u64"- },- {- "name": "initial_virtual_sol_reserves",- "type": "u64"- },- {- "name": "initial_real_token_reserves",- "type": "u64"- },- {- "name": "token_total_supply",- "type": "u64"+ "name": "quote_mint",+ "type": "pubkey"},{- "name": "fee_basis_points",+ "name": "initial_virtual_quote_reserves","type": "u64"- },+ }+ ]+ },+ {+ "name": "set_quote_control_reserves_admin",+ "discriminator": [+ 161,+ 195,+ 222,+ 165,+ 225,+ 101,+ 192,+ 62+ ],+ "accounts": [{- "name": "withdraw_authority",- "type": "pubkey"+ "name": "authority",+ "signer": true},{- "name": "enable_migrate",- "type": "bool"+ "name": "global",+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 103,+ 108,+ 111,+ 98,+ 97,+ 108+ ]+ }+ ]+ }},{- "name": "pool_migration_fee",- "type": "u64"+ "name": "quote_control",+ "writable": true,+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 113,+ 117,+ 111,+ 116,+ 101,+ 45,+ 99,+ 111,+ 110,+ 116,+ 114,+ 111,+ 108+ ]+ }+ ]+ }},{- "name": "creator_fee_basis_points",- "type": "u64"+ "name": "event_authority",+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 95,+ 95,+ 101,+ 118,+ 101,+ 110,+ 116,+ 95,+ 97,+ 117,+ 116,+ 104,+ 111,+ 114,+ 105,+ 116,+ 121+ ]+ }+ ]+ }},{- "name": "set_creator_authority",- "type": "pubkey"- },+ "name": "program"+ }+ ],+ "args": [{- "name": "admin_set_creator_authority",+ "name": "new_reserves_admin","type": "pubkey"}]},{- "name": "set_quote_control_admin",+ "name": "set_reserved_fee_recipients","discriminator": [- 62,- 79,- 161,- 211,- 165,- 170,- 214,- 210+ 111,+ 172,+ 162,+ 232,+ 114,+ 89,+ 213,+ 142],"accounts": [{"name": "global",+ "writable": true,"pda": {"seeds": [{@@ -8962,31 +10881,85 @@]},{- "name": "quote_control",- "writable": true,+ "name": "event_authority","pda": {"seeds": [{"kind": "const","value": [- 113,- 117,- 111,- 116,+ 95,+ 95,+ 101,+ 118,101,- 45,- 99,- 111,110,116,+ 95,+ 97,+ 117,+ 116,+ 104,+ 111,114,+ 105,+ 116,+ 121+ ]+ }+ ]+ }+ },+ {+ "name": "program"+ }+ ],+ "args": [+ {+ "name": "whitelist_pda",+ "type": "pubkey"+ }+ ]+ },+ {+ "name": "set_virtual_quote_reserves",+ "discriminator": [+ 101,+ 135,+ 191,+ 104,+ 9,+ 88,+ 20,+ 96+ ],+ "accounts": [+ {+ "name": "global",+ "writable": true,+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 103,+ 108,111,+ 98,+ 97,108]}]}},+ {+ "name": "authority",+ "writable": true,+ "signer": true,+ "relations": [+ "global"+ ]+ },{"name": "event_authority","pda": {@@ -9022,27 +10995,31 @@],"args": [{- "name": "new_admin",- "type": "pubkey"+ "name": "initial_virtual_quote_reserves",+ "type": "u64"}]},{- "name": "set_reserved_fee_recipients",+ "name": "sweep_creator_fee","discriminator": [- 111,- 172,- 162,- 232,- 114,- 89,- 213,- 142+ 32,+ 246,+ 191,+ 52,+ 8,+ 201,+ 73,+ 186],"accounts": [{- "name": "global",+ "name": "payer","writable": true,+ "signer": true+ },+ {+ "name": "global","pda": {"seeds": [{@@ -9059,13 +11036,180 @@]}},- {- "name": "authority",- "signer": true,- "relations": [- "global"- ]- },+ {+ "name": "base_mint"+ },+ {+ "name": "quote_mint"+ },+ {+ "name": "quote_token_program"+ },+ {+ "name": "associated_token_program",+ "address": "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL"+ },+ {+ "name": "system_program",+ "address": "11111111111111111111111111111111"+ },+ {+ "name": "bonding_curve",+ "writable": true,+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 98,+ 111,+ 110,+ 100,+ 105,+ 110,+ 103,+ 45,+ 99,+ 117,+ 114,+ 118,+ 101+ ]+ },+ {+ "kind": "account",+ "path": "base_mint"+ }+ ]+ }+ },+ {+ "name": "associated_quote_bonding_curve",+ "docs": [+ "the source on a token quote, ignored on a SOL quote."+ ],+ "writable": true,+ "pda": {+ "seeds": [+ {+ "kind": "account",+ "path": "bonding_curve"+ },+ {+ "kind": "account",+ "path": "quote_token_program"+ },+ {+ "kind": "account",+ "path": "quote_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",+ "docs": [+ "recipient (`check_fee_recipient`) or the creator vault PDA of `bonding_curve.creator`."+ ],+ "writable": true+ },+ {+ "name": "associated_quote_recipient",+ "docs": [+ "created idempotently on a token quote, ignored on a SOL quote."+ ],+ "writable": true,+ "pda": {+ "seeds": [+ {+ "kind": "account",+ "path": "recipient"+ },+ {+ "kind": "account",+ "path": "quote_token_program"+ },+ {+ "kind": "account",+ "path": "quote_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": "event_authority","pda": {@@ -9099,29 +11243,28 @@"name": "program"}],- "args": [- {- "name": "whitelist_pda",- "type": "pubkey"- }- ]+ "args": []},{- "name": "set_virtual_quote_reserves",+ "name": "sweep_protocol_fee","discriminator": [- 101,- 135,- 191,- 104,- 9,- 88,- 20,- 96+ 8,+ 48,+ 190,+ 7,+ 182,+ 68,+ 183,+ 229],"accounts": [{- "name": "global",+ "name": "payer","writable": true,+ "signer": true+ },+ {+ "name": "global","pda": {"seeds": [{@@ -9139,12 +11282,178 @@}},{- "name": "authority",+ "name": "base_mint"+ },+ {+ "name": "quote_mint"+ },+ {+ "name": "quote_token_program"+ },+ {+ "name": "associated_token_program",+ "address": "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL"+ },+ {+ "name": "system_program",+ "address": "11111111111111111111111111111111"+ },+ {+ "name": "bonding_curve","writable": true,- "signer": true,- "relations": [- "global"- ]+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 98,+ 111,+ 110,+ 100,+ 105,+ 110,+ 103,+ 45,+ 99,+ 117,+ 114,+ 118,+ 101+ ]+ },+ {+ "kind": "account",+ "path": "base_mint"+ }+ ]+ }+ },+ {+ "name": "associated_quote_bonding_curve",+ "docs": [+ "the source on a token quote, ignored on a SOL quote."+ ],+ "writable": true,+ "pda": {+ "seeds": [+ {+ "kind": "account",+ "path": "bonding_curve"+ },+ {+ "kind": "account",+ "path": "quote_token_program"+ },+ {+ "kind": "account",+ "path": "quote_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",+ "docs": [+ "recipient (`check_fee_recipient`) or the creator vault PDA of `bonding_curve.creator`."+ ],+ "writable": true+ },+ {+ "name": "associated_quote_recipient",+ "docs": [+ "created idempotently on a token quote, ignored on a SOL quote."+ ],+ "writable": true,+ "pda": {+ "seeds": [+ {+ "kind": "account",+ "path": "recipient"+ },+ {+ "kind": "account",+ "path": "quote_token_program"+ },+ {+ "kind": "account",+ "path": "quote_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": "event_authority",@@ -9179,12 +11488,7 @@"name": "program"}],- "args": [- {- "name": "initial_virtual_quote_reserves",- "type": "u64"- }- ]+ "args": []},{"name": "sync_user_volume_accumulator",@@ -10197,6 +12501,19 @@52]},+ {+ "name": "PostCompleteBuyEvent",+ "discriminator": [+ 111,+ 176,+ 109,+ 139,+ 49,+ 108,+ 213,+ 251+ ]+ },{"name": "RemoveQuoteControlMintEvent","discriminator": [@@ -10263,16 +12580,55 @@]},{- "name": "SetQuoteControlAdminEvent",+ "name": "SetQuoteControlAdminEvent",+ "discriminator": [+ 74,+ 248,+ 141,+ 69,+ 202,+ 81,+ 30,+ 247+ ]+ },+ {+ "name": "SetQuoteControlMintReservesEvent",+ "discriminator": [+ 169,+ 67,+ 39,+ 109,+ 102,+ 134,+ 182,+ 232+ ]+ },+ {+ "name": "SetQuoteControlReservesAdminEvent","discriminator": [- 74,- 248,- 141,- 69,- 202,- 81,- 30,- 247+ 67,+ 251,+ 179,+ 182,+ 87,+ 92,+ 169,+ 33+ ]+ },+ {+ "name": "SweepBondingCurveFeeEvent",+ "discriminator": [+ 116,+ 43,+ 77,+ 189,+ 17,+ 122,+ 72,+ 43]},{@@ -10793,6 +13149,76 @@"code": 6093,"name": "CtoSharedVaultFrozen","msg": "A frozen sharing-config vault account holds a balance; thaw it before the holder conversion"+ },+ {+ "code": 6094,+ "name": "CashbackCoinNotSupported",+ "msg": "v3 trades do not support cashback coins; use the v2 instructions"+ },+ {+ "code": 6095,+ "name": "CreatorFeesNotSwept",+ "msg": "creator_fee must be swept before the creator changes or the vault is distributed"+ },+ {+ "code": 6096,+ "name": "FeeTiersEmpty",+ "msg": "The fee config tier table is empty"+ },+ {+ "code": 6097,+ "name": "FeeConfigTooShort",+ "msg": "The fee config account is shorter than its initialize size"+ },+ {+ "code": 6098,+ "name": "MultiHopDiscontinuousPath",+ "msg": "multi-hop: a hop's input mint is neither side of its bonding curve"+ },+ {+ "code": 6099,+ "name": "InvalidQuoteBondingCurve",+ "msg": "Quote bonding curve remaining account does not match derivation or is uninitialized"+ },+ {+ "code": 6100,+ "name": "QuoteBondingCurveNotEligible",+ "msg": "Quote bonding curve is not eligible as a quote: mayhem mode, or a depth-0 coin whose own quote is not listed"+ },+ {+ "code": 6101,+ "name": "QuotePoolAccountsRequired",+ "msg": "Quote bonding curve has migrated: pool and vault remaining accounts are required"+ },+ {+ "code": 6102,+ "name": "QuotePoolNotFound",+ "msg": "Quote pool remaining account is not an initialized pump-amm pool"+ },+ {+ "code": 6103,+ "name": "InvalidQuotePool",+ "msg": "Quote pool or vault remaining accounts do not match derivation or are invalid"+ },+ {+ "code": 6104,+ "name": "QuoteReservesOutOfRange",+ "msg": "Derived quote reserves are zero or their graduation raise exceeds the quote mint supply"+ },+ {+ "code": 6105,+ "name": "CurveDepthExceeded",+ "msg": "The new curve's depth (quote coin depth plus one) exceeds Global.max_curve_depth"+ },+ {+ "code": 6106,+ "name": "MultiHopHopFeesMismatch",+ "msg": "multi-hop: hop_fees must carry one flag byte per curve hop using only the protocol and creator bits"+ },+ {+ "code": 6107,+ "name": "QuoteCurveAwaitingMigration",+ "msg": "The quote coin's curve is complete but not yet migrated; retry once migrate_v2 creates its pool"}],"types": [@@ -10988,6 +13414,30 @@{"name": "is_holder_reward","type": "bool"+ },+ {+ "name": "creator_fee",+ "type": "u64"+ },+ {+ "name": "protocol_fees",+ "type": "u64"+ },+ {+ "name": "depth",+ "type": "u8"+ },+ {+ "name": "initial_virtual_quote_reserves",+ "type": "u64"+ },+ {+ "name": "post_complete_base_out",+ "type": "u64"+ },+ {+ "name": "post_complete_quote_in",+ "type": "u64"}]}@@ -11279,6 +13729,26 @@{"name": "is_holder_reward","type": "bool"+ },+ {+ "name": "depth",+ "type": "u8"+ }+ ]+ }+ },+ {+ "name": "CurveRunResult",+ "type": {+ "kind": "struct",+ "fields": [+ {+ "name": "amount_out",+ "type": "u64"+ },+ {+ "name": "buyback_fee",+ "type": "u64"}]}@@ -11623,6 +14093,10 @@{"name": "is_holder_reward_enabled","type": "bool"+ },+ {+ "name": "max_curve_depth",+ "type": "u8"}]}@@ -11759,6 +14233,78 @@]}},+ {+ "name": "PostCompleteBuyEvent",+ "type": {+ "kind": "struct",+ "fields": [+ {+ "name": "user",+ "type": "pubkey"+ },+ {+ "name": "mint",+ "type": "pubkey"+ },+ {+ "name": "bonding_curve",+ "type": "pubkey"+ },+ {+ "name": "quote_mint",+ "type": "pubkey"+ },+ {+ "name": "timestamp",+ "type": "i64"+ },+ {+ "name": "base_out",+ "type": "u64"+ },+ {+ "name": "quote_in",+ "type": "u64"+ },+ {+ "name": "fee_basis_points",+ "type": "u64"+ },+ {+ "name": "fee",+ "type": "u64"+ },+ {+ "name": "creator_fee_basis_points",+ "type": "u64"+ },+ {+ "name": "creator_fee",+ "type": "u64"+ },+ {+ "name": "buyback_fee",+ "type": "u64"+ },+ {+ "name": "pool_base_reserves_before",+ "type": "u64"+ },+ {+ "name": "pool_quote_reserves_before",+ "type": "u64"+ },+ {+ "name": "pool_base_reserves_after",+ "type": "u64"+ },+ {+ "name": "pool_quote_reserves_after",+ "type": "u64"+ }+ ]+ }+ },{"name": "QuoteControl","type": {@@ -11768,12 +14314,16 @@"name": "admin","type": "pubkey"},+ {+ "name": "reserves_admin",+ "type": "pubkey"+ },{"name": "_reserved","type": {"array": ["u8",- 64+ 32]}},@@ -12004,6 +14554,66 @@]}},+ {+ "name": "SetQuoteControlMintReservesEvent",+ "type": {+ "kind": "struct",+ "fields": [+ {+ "name": "quote_control",+ "type": "pubkey"+ },+ {+ "name": "authority",+ "type": "pubkey"+ },+ {+ "name": "quote_mint",+ "type": "pubkey"+ },+ {+ "name": "old_initial_virtual_quote_reserves",+ "type": "u64"+ },+ {+ "name": "new_initial_virtual_quote_reserves",+ "type": "u64"+ },+ {+ "name": "timestamp",+ "type": "i64"+ }+ ]+ }+ },+ {+ "name": "SetQuoteControlReservesAdminEvent",+ "type": {+ "kind": "struct",+ "fields": [+ {+ "name": "quote_control",+ "type": "pubkey"+ },+ {+ "name": "authority",+ "type": "pubkey"+ },+ {+ "name": "old_reserves_admin",+ "type": "pubkey"+ },+ {+ "name": "new_reserves_admin",+ "type": "pubkey"+ },+ {+ "name": "timestamp",+ "type": "i64"+ }+ ]+ }+ },{"name": "Shareholder","type": {@@ -12066,6 +14676,42 @@]}},+ {+ "name": "SweepBondingCurveFeeEvent",+ "type": {+ "kind": "struct",+ "fields": [+ {+ "name": "timestamp",+ "type": "i64"+ },+ {+ "name": "mint",+ "type": "pubkey"+ },+ {+ "name": "bonding_curve",+ "type": "pubkey"+ },+ {+ "name": "quote_mint",+ "type": "pubkey"+ },+ {+ "name": "recipient",+ "type": "pubkey"+ },+ {+ "name": "amount",+ "type": "u64"+ },+ {+ "name": "bucket",+ "type": "u8"+ }+ ]+ }+ },{"name": "SyncUserVolumeAccumulatorEvent","type": {@@ -12239,6 +14885,10 @@{"name": "holder_rewards","type": "u64"+ },+ {+ "name": "creator_fee_unclaimed",+ "type": "u64"}]}diff --git a/contracts/idl/pump/pump_amm.json b/contracts/idl/pump/pump_amm.jsonindex 5aaae7708..d907b16a9 100644--- a/contracts/idl/pump/pump_amm.json+++ b/contracts/idl/pump/pump_amm.json@@ -1425,6 +1425,514 @@}]},+ {+ "name": "buy_exact_quote_in_v2",+ "discriminator": [+ 194,+ 171,+ 28,+ 70,+ 104,+ 77,+ 91,+ 47+ ],+ "accounts": [+ {+ "name": "pool",+ "writable": true+ },+ {+ "name": "user",+ "writable": true,+ "signer": true+ },+ {+ "name": "global_config"+ },+ {+ "name": "base_mint",+ "relations": [+ "pool"+ ]+ },+ {+ "name": "quote_mint",+ "relations": [+ "pool"+ ]+ },+ {+ "name": "user_base_token_account",+ "writable": true+ },+ {+ "name": "user_quote_token_account",+ "writable": true+ },+ {+ "name": "pool_base_token_account",+ "writable": true,+ "relations": [+ "pool"+ ]+ },+ {+ "name": "pool_quote_token_account",+ "writable": true,+ "relations": [+ "pool"+ ]+ },+ {+ "name": "base_token_program"+ },+ {+ "name": "quote_token_program"+ },+ {+ "name": "system_program",+ "address": "11111111111111111111111111111111"+ },+ {+ "name": "user_volume_accumulator",+ "writable": true,+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 117,+ 115,+ 101,+ 114,+ 95,+ 118,+ 111,+ 108,+ 117,+ 109,+ 101,+ 95,+ 97,+ 99,+ 99,+ 117,+ 109,+ 117,+ 108,+ 97,+ 116,+ 111,+ 114+ ]+ },+ {+ "kind": "account",+ "path": "user"+ }+ ]+ }+ },+ {+ "name": "fee_config",+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 102,+ 101,+ 101,+ 95,+ 99,+ 111,+ 110,+ 102,+ 105,+ 103+ ]+ },+ {+ "kind": "const",+ "value": [+ 12,+ 20,+ 222,+ 252,+ 130,+ 94,+ 198,+ 118,+ 148,+ 37,+ 8,+ 24,+ 187,+ 101,+ 64,+ 101,+ 244,+ 41,+ 141,+ 49,+ 86,+ 213,+ 113,+ 180,+ 212,+ 248,+ 9,+ 12,+ 24,+ 233,+ 168,+ 99+ ]+ }+ ],+ "program": {+ "kind": "const",+ "value": [+ 12,+ 53,+ 255,+ 169,+ 5,+ 90,+ 142,+ 86,+ 141,+ 168,+ 247,+ 188,+ 7,+ 86,+ 21,+ 39,+ 76,+ 241,+ 201,+ 44,+ 164,+ 31,+ 64,+ 0,+ 156,+ 81,+ 106,+ 164,+ 20,+ 194,+ 124,+ 112+ ]+ }+ }+ },+ {+ "name": "buyback_fee_recipient",+ "writable": true+ },+ {+ "name": "event_authority",+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 95,+ 95,+ 101,+ 118,+ 101,+ 110,+ 116,+ 95,+ 97,+ 117,+ 116,+ 104,+ 111,+ 114,+ 105,+ 116,+ 121+ ]+ }+ ]+ }+ },+ {+ "name": "program",+ "address": "pAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA"+ }+ ],+ "args": [+ {+ "name": "spendable_quote_in",+ "type": "u64"+ },+ {+ "name": "min_base_amount_out",+ "type": "u64"+ }+ ]+ },+ {+ "name": "buy_v2",+ "discriminator": [+ 184,+ 23,+ 238,+ 97,+ 103,+ 197,+ 211,+ 61+ ],+ "accounts": [+ {+ "name": "pool",+ "writable": true+ },+ {+ "name": "user",+ "writable": true,+ "signer": true+ },+ {+ "name": "global_config"+ },+ {+ "name": "base_mint",+ "relations": [+ "pool"+ ]+ },+ {+ "name": "quote_mint",+ "relations": [+ "pool"+ ]+ },+ {+ "name": "user_base_token_account",+ "writable": true+ },+ {+ "name": "user_quote_token_account",+ "writable": true+ },+ {+ "name": "pool_base_token_account",+ "writable": true,+ "relations": [+ "pool"+ ]+ },+ {+ "name": "pool_quote_token_account",+ "writable": true,+ "relations": [+ "pool"+ ]+ },+ {+ "name": "base_token_program"+ },+ {+ "name": "quote_token_program"+ },+ {+ "name": "system_program",+ "address": "11111111111111111111111111111111"+ },+ {+ "name": "user_volume_accumulator",+ "writable": true,+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 117,+ 115,+ 101,+ 114,+ 95,+ 118,+ 111,+ 108,+ 117,+ 109,+ 101,+ 95,+ 97,+ 99,+ 99,+ 117,+ 109,+ 117,+ 108,+ 97,+ 116,+ 111,+ 114+ ]+ },+ {+ "kind": "account",+ "path": "user"+ }+ ]+ }+ },+ {+ "name": "fee_config",+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 102,+ 101,+ 101,+ 95,+ 99,+ 111,+ 110,+ 102,+ 105,+ 103+ ]+ },+ {+ "kind": "const",+ "value": [+ 12,+ 20,+ 222,+ 252,+ 130,+ 94,+ 198,+ 118,+ 148,+ 37,+ 8,+ 24,+ 187,+ 101,+ 64,+ 101,+ 244,+ 41,+ 141,+ 49,+ 86,+ 213,+ 113,+ 180,+ 212,+ 248,+ 9,+ 12,+ 24,+ 233,+ 168,+ 99+ ]+ }+ ],+ "program": {+ "kind": "const",+ "value": [+ 12,+ 53,+ 255,+ 169,+ 5,+ 90,+ 142,+ 86,+ 141,+ 168,+ 247,+ 188,+ 7,+ 86,+ 21,+ 39,+ 76,+ 241,+ 201,+ 44,+ 164,+ 31,+ 64,+ 0,+ 156,+ 81,+ 106,+ 164,+ 20,+ 194,+ 124,+ 112+ ]+ }+ }+ },+ {+ "name": "buyback_fee_recipient",+ "writable": true+ },+ {+ "name": "event_authority",+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 95,+ 95,+ 101,+ 118,+ 101,+ 110,+ 116,+ 95,+ 97,+ 117,+ 116,+ 104,+ 111,+ 114,+ 105,+ 116,+ 121+ ]+ }+ ]+ }+ },+ {+ "name": "program",+ "address": "pAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA"+ }+ ],+ "args": [+ {+ "name": "base_amount_out",+ "type": "u64"+ },+ {+ "name": "max_quote_amount_in",+ "type": "u64"+ }+ ]+ },{"name": "claim_cashback","docs": [@@ -3301,10 +3809,271 @@}},{- "name": "program"+ "name": "program"+ }+ ],+ "args": []+ },+ {+ "name": "multi_hop_swap",+ "discriminator": [+ 43,+ 100,+ 73,+ 19,+ 233,+ 246,+ 111,+ 148+ ],+ "accounts": [+ {+ "name": "user",+ "writable": true,+ "signer": true+ },+ {+ "name": "user_in_token_account",+ "writable": true+ },+ {+ "name": "user_out_token_account",+ "writable": true+ },+ {+ "name": "global_config",+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 103,+ 108,+ 111,+ 98,+ 97,+ 108,+ 95,+ 99,+ 111,+ 110,+ 102,+ 105,+ 103+ ]+ }+ ]+ }+ },+ {+ "name": "fee_config",+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 102,+ 101,+ 101,+ 95,+ 99,+ 111,+ 110,+ 102,+ 105,+ 103+ ]+ },+ {+ "kind": "const",+ "value": [+ 12,+ 20,+ 222,+ 252,+ 130,+ 94,+ 198,+ 118,+ 148,+ 37,+ 8,+ 24,+ 187,+ 101,+ 64,+ 101,+ 244,+ 41,+ 141,+ 49,+ 86,+ 213,+ 113,+ 180,+ 212,+ 248,+ 9,+ 12,+ 24,+ 233,+ 168,+ 99+ ]+ }+ ],+ "program": {+ "kind": "const",+ "value": [+ 12,+ 53,+ 255,+ 169,+ 5,+ 90,+ 142,+ 86,+ 141,+ 168,+ 247,+ 188,+ 7,+ 86,+ 21,+ 39,+ 76,+ 241,+ 201,+ 44,+ 164,+ 31,+ 64,+ 0,+ 156,+ 81,+ 106,+ 164,+ 20,+ 194,+ 124,+ 112+ ]+ }+ }+ },+ {+ "name": "user_volume_accumulator",+ "writable": true,+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 117,+ 115,+ 101,+ 114,+ 95,+ 118,+ 111,+ 108,+ 117,+ 109,+ 101,+ 95,+ 97,+ 99,+ 99,+ 117,+ 109,+ 117,+ 108,+ 97,+ 116,+ 111,+ 114+ ]+ },+ {+ "kind": "account",+ "path": "user"+ }+ ]+ }+ },+ {+ "name": "buyback_fee_recipient",+ "writable": true+ },+ {+ "name": "token_program",+ "address": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"+ },+ {+ "name": "token_2022_program",+ "address": "TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb"+ },+ {+ "name": "system_program",+ "address": "11111111111111111111111111111111"+ },+ {+ "name": "event_authority",+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 95,+ 95,+ 101,+ 118,+ 101,+ 110,+ 116,+ 95,+ 97,+ 117,+ 116,+ 104,+ 111,+ 114,+ 105,+ 116,+ 121+ ]+ }+ ]+ }+ },+ {+ "name": "program",+ "address": "pAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA"+ },+ {+ "name": "pump_program",+ "address": "6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P"+ },+ {+ "name": "pump_global"+ },+ {+ "name": "pump_fee_config"+ },+ {+ "name": "pump_event_authority"+ }+ ],+ "args": [+ {+ "name": "amount_in",+ "type": "u64"+ },+ {+ "name": "min_amount_out",+ "type": "u64"}- ],- "args": []+ ]},{"name": "sell",@@ -3595,36 +4364,290 @@24,187,101,- 64,+ 64,+ 101,+ 244,+ 41,+ 141,+ 49,+ 86,+ 213,+ 113,+ 180,+ 212,+ 248,+ 9,+ 12,+ 24,+ 233,+ 168,+ 99+ ]+ }+ ],+ "program": {+ "kind": "account",+ "path": "fee_program"+ }+ }+ },+ {+ "name": "fee_program",+ "address": "pfeeUxB6jkeY1Hxd7CsFCAjcbHA9rWtchMGdZ6VojVZ"+ }+ ],+ "args": [+ {+ "name": "base_amount_in",+ "type": "u64"+ },+ {+ "name": "min_quote_amount_out",+ "type": "u64"+ }+ ]+ },+ {+ "name": "sell_v2",+ "discriminator": [+ 93,+ 246,+ 130,+ 60,+ 231,+ 233,+ 64,+ 178+ ],+ "accounts": [+ {+ "name": "pool",+ "writable": true+ },+ {+ "name": "user",+ "writable": true,+ "signer": true+ },+ {+ "name": "global_config"+ },+ {+ "name": "base_mint",+ "relations": [+ "pool"+ ]+ },+ {+ "name": "quote_mint",+ "relations": [+ "pool"+ ]+ },+ {+ "name": "user_base_token_account",+ "writable": true+ },+ {+ "name": "user_quote_token_account",+ "writable": true+ },+ {+ "name": "pool_base_token_account",+ "writable": true,+ "relations": [+ "pool"+ ]+ },+ {+ "name": "pool_quote_token_account",+ "writable": true,+ "relations": [+ "pool"+ ]+ },+ {+ "name": "base_token_program"+ },+ {+ "name": "quote_token_program"+ },+ {+ "name": "system_program",+ "address": "11111111111111111111111111111111"+ },+ {+ "name": "user_volume_accumulator",+ "writable": true,+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 117,+ 115,+ 101,+ 114,+ 95,+ 118,+ 111,+ 108,+ 117,+ 109,+ 101,+ 95,+ 97,+ 99,+ 99,+ 117,+ 109,+ 117,+ 108,+ 97,+ 116,+ 111,+ 114+ ]+ },+ {+ "kind": "account",+ "path": "user"+ }+ ]+ }+ },+ {+ "name": "fee_config",+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 102,+ 101,+ 101,+ 95,+ 99,+ 111,+ 110,+ 102,+ 105,+ 103+ ]+ },+ {+ "kind": "const",+ "value": [+ 12,+ 20,+ 222,+ 252,+ 130,+ 94,+ 198,+ 118,+ 148,+ 37,+ 8,+ 24,+ 187,+ 101,+ 64,+ 101,+ 244,+ 41,+ 141,+ 49,+ 86,+ 213,+ 113,+ 180,+ 212,+ 248,+ 9,+ 12,+ 24,+ 233,+ 168,+ 99+ ]+ }+ ],+ "program": {+ "kind": "const",+ "value": [+ 12,+ 53,+ 255,+ 169,+ 5,+ 90,+ 142,+ 86,+ 141,+ 168,+ 247,+ 188,+ 7,+ 86,+ 21,+ 39,+ 76,+ 241,+ 201,+ 44,+ 164,+ 31,+ 64,+ 0,+ 156,+ 81,+ 106,+ 164,+ 20,+ 194,+ 124,+ 112+ ]+ }+ }+ },+ {+ "name": "buyback_fee_recipient",+ "writable": true+ },+ {+ "name": "event_authority",+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 95,+ 95,+ 101,+ 118,101,- 244,- 41,- 141,- 49,- 86,- 213,- 113,- 180,- 212,- 248,- 9,- 12,- 24,- 233,- 168,- 99+ 110,+ 116,+ 95,+ 97,+ 117,+ 116,+ 104,+ 111,+ 114,+ 105,+ 116,+ 121]}- ],- "program": {- "kind": "account",- "path": "fee_program"- }+ ]}},{- "name": "fee_program",- "address": "pfeeUxB6jkeY1Hxd7CsFCAjcbHA9rWtchMGdZ6VojVZ"+ "name": "program",+ "address": "pAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA"}],"args": [@@ -3872,24 +4895,261 @@170,81,137,- 203,- 151,- 245,- 210,+ 203,+ 151,+ 245,+ 210,+ 255,+ 59,+ 101,+ 93,+ 43,+ 182,+ 253,+ 109,+ 24,+ 176+ ]+ }+ }+ },+ {+ "name": "event_authority",+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 95,+ 95,+ 101,+ 118,+ 101,+ 110,+ 116,+ 95,+ 97,+ 117,+ 116,+ 104,+ 111,+ 114,+ 105,+ 116,+ 121+ ]+ }+ ]+ }+ },+ {+ "name": "program"+ }+ ],+ "args": []+ },+ {+ "name": "set_reserved_fee_recipients",+ "discriminator": [+ 111,+ 172,+ 162,+ 232,+ 114,+ 89,+ 213,+ 142+ ],+ "accounts": [+ {+ "name": "global_config",+ "writable": true,+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 103,+ 108,+ 111,+ 98,+ 97,+ 108,+ 95,+ 99,+ 111,+ 110,+ 102,+ 105,+ 103+ ]+ }+ ]+ }+ },+ {+ "name": "admin",+ "signer": true,+ "relations": [+ "global_config"+ ]+ },+ {+ "name": "event_authority",+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 95,+ 95,+ 101,+ 118,+ 101,+ 110,+ 116,+ 95,+ 97,+ 117,+ 116,+ 104,+ 111,+ 114,+ 105,+ 116,+ 121+ ]+ }+ ]+ }+ },+ {+ "name": "program"+ }+ ],+ "args": [+ {+ "name": "whitelist_pda",+ "type": "pubkey"+ }+ ]+ },+ {+ "name": "sweep_creator_fee",+ "discriminator": [+ 32,+ 246,+ 191,+ 52,+ 8,+ 201,+ 73,+ 186+ ],+ "accounts": [+ {+ "name": "payer",+ "writable": true,+ "signer": true+ },+ {+ "name": "global_config"+ },+ {+ "name": "pool",+ "writable": true+ },+ {+ "name": "quote_mint",+ "relations": [+ "pool"+ ]+ },+ {+ "name": "quote_token_program"+ },+ {+ "name": "pool_quote_token_account",+ "writable": true,+ "relations": [+ "pool"+ ]+ },+ {+ "name": "recipient",+ "docs": [+ "protocol fee recipient (`check_protocol_fee_recipient`) or the coin-creator vault",+ "authority PDA of `pool.coin_creator`."+ ]+ },+ {+ "name": "recipient_token_account",+ "docs": [+ "idempotently when missing (the payer pays)."+ ],+ "writable": true,+ "pda": {+ "seeds": [+ {+ "kind": "account",+ "path": "recipient"+ },+ {+ "kind": "account",+ "path": "quote_token_program"+ },+ {+ "kind": "account",+ "path": "quote_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,- 59,- 101,- 93,- 43,- 182,- 253,- 109,- 24,- 176+ 16,+ 132,+ 4,+ 142,+ 123,+ 216,+ 219,+ 233,+ 248,+ 89]}}},+ {+ "name": "system_program",+ "address": "11111111111111111111111111111111"+ },+ {+ "name": "associated_token_program",+ "address": "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL"+ },{"name": "event_authority","pda": {@@ -3926,50 +5186,120 @@"args": []},{- "name": "set_reserved_fee_recipients",+ "name": "sweep_protocol_fee","discriminator": [- 111,- 172,- 162,- 232,- 114,- 89,- 213,- 142+ 8,+ 48,+ 190,+ 7,+ 182,+ 68,+ 183,+ 229],"accounts": [{- "name": "global_config",+ "name": "payer",+ "writable": true,+ "signer": true+ },+ {+ "name": "global_config"+ },+ {+ "name": "pool",+ "writable": true+ },+ {+ "name": "quote_mint",+ "relations": [+ "pool"+ ]+ },+ {+ "name": "quote_token_program"+ },+ {+ "name": "pool_quote_token_account",+ "writable": true,+ "relations": [+ "pool"+ ]+ },+ {+ "name": "recipient",+ "docs": [+ "protocol fee recipient (`check_protocol_fee_recipient`) or the coin-creator vault",+ "authority PDA of `pool.coin_creator`."+ ]+ },+ {+ "name": "recipient_token_account",+ "docs": [+ "idempotently when missing (the payer pays)."+ ],"writable": true,"pda": {"seeds": [{- "kind": "const",- "value": [- 103,- 108,- 111,- 98,- 97,- 108,- 95,- 99,- 111,- 110,- 102,- 105,- 103- ]+ "kind": "account",+ "path": "recipient"+ },+ {+ "kind": "account",+ "path": "quote_token_program"+ },+ {+ "kind": "account",+ "path": "quote_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": "admin",- "signer": true,- "relations": [- "global_config"- ]+ "name": "system_program",+ "address": "11111111111111111111111111111111"+ },+ {+ "name": "associated_token_program",+ "address": "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL"},{"name": "event_authority",@@ -4004,12 +5334,7 @@"name": "program"}],- "args": [- {- "name": "whitelist_pda",- "type": "pubkey"- }- ]+ "args": []},{"name": "sync_user_volume_accumulator",@@ -5553,6 +6878,19 @@228]},+ {+ "name": "SweepPoolFeeEvent",+ "discriminator": [+ 130,+ 164,+ 36,+ 97,+ 228,+ 130,+ 135,+ 165+ ]+ },{"name": "SyncUserVolumeAccumulatorEvent","discriminator": [@@ -5958,6 +7296,56 @@"code": 6077,"name": "CreatorFeeNotConfigurableForQuote","msg": "Creator fee is not configurable on a SOL or USDC quote; the fee schedule applies"+ },+ {+ "code": 6078,+ "name": "OnlyPumpPools",+ "msg": "Only canonical pump pools are supported by this instruction"+ },+ {+ "code": 6079,+ "name": "CashbackCoinNotSupported",+ "msg": "v2 trades do not support cashback coins; use the v1 instructions"+ },+ {+ "code": 6080,+ "name": "MayhemPoolNotSupported",+ "msg": "v2 trades do not support mayhem-mode pools; use the v1 instructions"+ },+ {+ "code": 6081,+ "name": "CreatorFeesNotSwept",+ "msg": "creator_fees must be swept before the coin creator changes"+ },+ {+ "code": 6082,+ "name": "FeeTiersEmpty",+ "msg": "The fee config tier table is empty"+ },+ {+ "code": 6083,+ "name": "FeeConfigTooShort",+ "msg": "The fee config account is shorter than its initialize size"+ },+ {+ "code": 6084,+ "name": "MultiHopDiscontinuousPath",+ "msg": "multi-hop: a hop's input mint is neither side of its pool or curve, or the route does not end in user_out_token_account's mint"+ },+ {+ "code": 6085,+ "name": "MultiHopCurveRunMismatch",+ "msg": "multi-hop: the balances around the bonding-curve hops do not match the amounts pump reported"+ },+ {+ "code": 6086,+ "name": "MultiHopMixedDirection",+ "msg": "multi-hop: every hop must trade in the same direction, all buys or all sells"+ },+ {+ "code": 6087,+ "name": "SelfTransferNotAllowed",+ "msg": "A transfer's source is its destination and the signer does not own it"}],"types": [@@ -6304,6 +7692,10 @@{"name": "holder_rewards","type": "u64"+ },+ {+ "name": "creator_fee_unclaimed",+ "type": "u64"}]}@@ -7145,6 +8537,14 @@{"name": "is_holder_reward","type": "bool"+ },+ {+ "name": "protocol_fees",+ "type": "u64"+ },+ {+ "name": "creator_fees",+ "type": "u64"}]}@@ -7306,6 +8706,10 @@{"name": "holder_rewards","type": "u64"+ },+ {+ "name": "creator_fee_unclaimed",+ "type": "u64"}]}@@ -7452,6 +8856,46 @@]}},+ {+ "name": "SweepPoolFeeEvent",+ "type": {+ "kind": "struct",+ "fields": [+ {+ "name": "timestamp",+ "type": "i64"+ },+ {+ "name": "pool",+ "type": "pubkey"+ },+ {+ "name": "base_mint",+ "type": "pubkey"+ },+ {+ "name": "quote_mint",+ "type": "pubkey"+ },+ {+ "name": "recipient",+ "type": "pubkey"+ },+ {+ "name": "payer",+ "type": "pubkey"+ },+ {+ "name": "amount",+ "type": "u64"+ },+ {+ "name": "bucket",+ "type": "u8"+ }+ ]+ }+ },{"name": "SyncUserVolumeAccumulatorEvent","type": {diff --git a/contracts/idl/pump/pump_fees.json b/contracts/idl/pump/pump_fees.jsonindex e740baaa1..8de5fc909 100644--- a/contracts/idl/pump/pump_fees.json+++ b/contracts/idl/pump/pump_fees.json@@ -5105,6 +5105,16 @@"code": 6032,"name": "InvalidRemainingAccounts","msg": "Invalid remaining accounts"+ },+ {+ "code": 6033,+ "name": "PoolCreatorFeesNotSwept",+ "msg": "Pool creator_fees must be swept before the shares change"+ },+ {+ "code": 6034,+ "name": "InvalidQuoteMint",+ "msg": "quote_mint is not the bonding curve's quote mint"}],"types": [diff --git a/docs/pumpfun-program/idl/pump.json b/docs/pumpfun-program/idl/pump.jsonindex 062e66f03..a8afe58cd 100644--- a/docs/pumpfun-program/idl/pump.json+++ b/docs/pumpfun-program/idl/pump.json@@ -8,26 +8,70 @@},"instructions": [{- "name": "add_quote_mint",- "discriminator": [111, 121, 21, 56, 40, 24, 94, 209],+ "name": "add_quote_control_mint",+ "discriminator": [+ 2,+ 14,+ 61,+ 138,+ 170,+ 142,+ 14,+ 95+ ],"accounts": [{- "name": "global",+ "name": "authority","writable": true,+ "signer": true+ },+ {+ "name": "global","pda": {"seeds": [{"kind": "const",- "value": [103, 108, 111, 98, 97, 108]+ "value": [+ 103,+ 108,+ 111,+ 98,+ 97,+ 108+ ]}]}},{- "name": "authority",+ "name": "quote_control","writable": true,- "signer": true,- "relations": ["global"]+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 113,+ 117,+ 111,+ 116,+ 101,+ 45,+ 99,+ 111,+ 110,+ 116,+ 114,+ 111,+ 108+ ]+ }+ ]+ }+ },+ {+ "name": "system_program",+ "address": "11111111111111111111111111111111"},{"name": "event_authority",@@ -36,8 +80,23 @@{"kind": "const","value": [- 95, 95, 101, 118, 101, 110, 116, 95, 97, 117, 116, 104, 111,- 114, 105, 116, 121+ 95,+ 95,+ 101,+ 118,+ 101,+ 110,+ 116,+ 95,+ 97,+ 117,+ 116,+ 104,+ 111,+ 114,+ 105,+ 116,+ 121]}]@@ -51,53 +110,53 @@{"name": "quote_mint","type": "pubkey"+ },+ {+ "name": "initial_virtual_quote_reserves",+ "type": "u64"}]},{- "name": "admin_set_creator",- "docs": [- "Allows Global::admin_set_creator_authority to override the bonding curve creator"+ "name": "add_quote_mint",+ "discriminator": [+ 111,+ 121,+ 21,+ 56,+ 40,+ 24,+ 94,+ 209],- "discriminator": [69, 25, 171, 142, 57, 239, 13, 4],"accounts": [- {- "name": "admin_set_creator_authority",- "signer": true,- "relations": ["global"]- },{"name": "global",- "pda": {- "seeds": [- {- "kind": "const",- "value": [103, 108, 111, 98, 97, 108]- }- ]- }- },- {- "name": "mint"- },- {- "name": "bonding_curve","writable": true,"pda": {"seeds": [{"kind": "const","value": [- 98, 111, 110, 100, 105, 110, 103, 45, 99, 117, 114, 118, 101+ 103,+ 108,+ 111,+ 98,+ 97,+ 108]- },- {- "kind": "account",- "path": "mint"}]}},+ {+ "name": "authority",+ "writable": true,+ "signer": true,+ "relations": [+ "global"+ ]+ },{"name": "event_authority","pda": {@@ -105,8 +164,23 @@{"kind": "const","value": [- 95, 95, 101, 118, 101, 110, 116, 95, 97, 117, 116, 104, 111,- 114, 105, 116, 121+ 95,+ 95,+ 101,+ 118,+ 101,+ 110,+ 116,+ 95,+ 97,+ 117,+ 116,+ 104,+ 111,+ 114,+ 105,+ 116,+ 121]}]@@ -118,19 +192,31 @@],"args": [{- "name": "creator",+ "name": "quote_mint","type": "pubkey"}]},{- "name": "admin_set_idl_authority",- "discriminator": [8, 217, 96, 231, 144, 104, 192, 5],+ "name": "admin_cto",+ "discriminator": [+ 125,+ 126,+ 214,+ 134,+ 77,+ 229,+ 188,+ 89+ ],"accounts": [{- "name": "authority",+ "name": "admin_set_creator_authority",+ "writable": true,"signer": true,- "relations": ["global"]+ "relations": [+ "global"+ ]},{"name": "global",@@ -138,201 +224,242 @@"seeds": [{"kind": "const",- "value": [103, 108, 111, 98, 97, 108]+ "value": [+ 103,+ 108,+ 111,+ 98,+ 97,+ 108+ ]}]}},{- "name": "idl_account",- "writable": true+ "name": "mint"},{- "name": "system_program",- "address": "11111111111111111111111111111111"+ "name": "quote_mint"},{- "name": "program_signer",- "pda": {- "seeds": []- }+ "name": "quote_token_program"},{- "name": "event_authority",+ "name": "associated_token_program",+ "address": "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL"+ },+ {+ "name": "system_program",+ "address": "11111111111111111111111111111111"+ },+ {+ "name": "bonding_curve",+ "writable": true,"pda": {"seeds": [{"kind": "const","value": [- 95, 95, 101, 118, 101, 110, 116, 95, 97, 117, 116, 104, 111,- 114, 105, 116, 121+ 98,+ 111,+ 110,+ 100,+ 105,+ 110,+ 103,+ 45,+ 99,+ 117,+ 114,+ 118,+ 101]+ },+ {+ "kind": "account",+ "path": "mint"}]}},{- "name": "program"- }- ],- "args": [- {- "name": "idl_authority",- "type": "pubkey"- }- ]- },- {- "name": "admin_update_token_incentives",- "discriminator": [209, 11, 115, 87, 213, 23, 124, 204],- "accounts": [- {- "name": "authority",- "writable": true,- "signer": true,- "relations": ["global"]+ "name": "current_creator",+ "docs": [+ "Not declared writable: a pre-creator (legacy) curve stores the zero key, which is the",+ "system program, whose write lock the runtime always demotes. Callers MUST still pass this",+ "account as writable whenever it is a wallet, so the outgoing creator can be paid from its",+ "vaults; otherwise the instruction fails with `CtoCreatorAccountNotWritable`. A creator that",+ "is not a system-owned wallet (a program, a sysvar, a pump-fees or other program-owned",+ "account) is skipped, its vault balances stay collectable, and it may be passed read-only."+ ]},{- "name": "global",+ "name": "current_creator_quote_token_account",+ "writable": true,"pda": {"seeds": [{- "kind": "const",- "value": [103, 108, 111, 98, 97, 108]+ "kind": "account",+ "path": "current_creator"+ },+ {+ "kind": "account",+ "path": "quote_token_program"+ },+ {+ "kind": "account",+ "path": "quote_mint"}- ]+ ],+ "program": {+ "kind": "account",+ "path": "associated_token_program"+ }}},{- "name": "global_volume_accumulator",+ "name": "creator_vault","writable": true,"pda": {"seeds": [{"kind": "const","value": [- 103, 108, 111, 98, 97, 108, 95, 118, 111, 108, 117, 109, 101,- 95, 97, 99, 99, 117, 109, 117, 108, 97, 116, 111, 114+ 99,+ 114,+ 101,+ 97,+ 116,+ 111,+ 114,+ 45,+ 118,+ 97,+ 117,+ 108,+ 116]+ },+ {+ "kind": "account",+ "path": "current_creator"}]}},{- "name": "mint"- },- {- "name": "global_incentive_token_account",+ "name": "creator_vault_quote_token_account","writable": true,"pda": {"seeds": [{"kind": "account",- "path": "global_volume_accumulator"+ "path": "creator_vault"},{"kind": "account",- "path": "token_program"+ "path": "quote_token_program"},{"kind": "account",- "path": "mint"+ "path": "quote_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- ]+ "kind": "account",+ "path": "associated_token_program"}}},{- "name": "associated_token_program",- "address": "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL"- },- {- "name": "system_program",- "address": "11111111111111111111111111111111"- },- {- "name": "token_program"+ "name": "holder_creator_vault",+ "docs": [+ "`[\"creator-vault\", find_program_address([\"holder-rewards\", mint], pump)]`. The sweep",+ "destination on the holder path of a fee-shared coin, ignored otherwise. Re-derived in the",+ "handler before it is written to; kept out of the seeds constraints to stay under the sBPF",+ "stack frame."+ ],+ "writable": true},{- "name": "event_authority",+ "name": "holder_creator_vault_quote_token_account",+ "writable": true,"pda": {"seeds": [{- "kind": "const",- "value": [- 95, 95, 101, 118, 101, 110, 116, 95, 97, 117, 116, 104, 111,- 114, 105, 116, 121- ]+ "kind": "account",+ "path": "holder_creator_vault"+ },+ {+ "kind": "account",+ "path": "quote_token_program"+ },+ {+ "kind": "account",+ "path": "quote_mint"}- ]+ ],+ "program": {+ "kind": "account",+ "path": "associated_token_program"+ }}},{- "name": "program"- }- ],- "args": [- {- "name": "start_time",- "type": "i64"- },- {- "name": "end_time",- "type": "i64"- },- {- "name": "seconds_in_a_day",- "type": "i64"- },- {- "name": "day_number",- "type": "u64"+ "name": "pump_amm",+ "address": "pAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA"},{- "name": "pump_token_supply_per_day",- "type": "u64"- }- ]- },- {- "name": "buy",- "docs": ["Buys tokens from a bonding curve."],- "discriminator": [102, 6, 61, 18, 1, 218, 235, 234],- "accounts": [- {- "name": "global",+ "name": "amm_global_config","pda": {"seeds": [{"kind": "const",- "value": [103, 108, 111, 98, 97, 108]+ "value": [+ 103,+ 108,+ 111,+ 98,+ 97,+ 108,+ 95,+ 99,+ 111,+ 110,+ 102,+ 105,+ 103+ ]}- ]+ ],+ "program": {+ "kind": "account",+ "path": "pump_amm"+ }}},{- "name": "fee_recipient",- "writable": true- },- {- "name": "mint"- },- {- "name": "bonding_curve",- "writable": true,+ "name": "pool_authority","pda": {"seeds": [{"kind": "const","value": [- 98, 111, 110, 100, 105, 110, 103, 45, 99, 117, 114, 118, 101+ 112,+ 111,+ 111,+ 108,+ 45,+ 97,+ 117,+ 116,+ 104,+ 111,+ 114,+ 105,+ 116,+ 121]},{@@ -343,602 +470,573 @@}},{- "name": "associated_bonding_curve",+ "name": "pool","writable": true,"pda": {"seeds": [{- "kind": "account",- "path": "bonding_curve"+ "kind": "const",+ "value": [+ 112,+ 111,+ 111,+ 108+ ]+ },+ {+ "kind": "const",+ "value": [+ 0,+ 0+ ]},{"kind": "account",- "path": "token_program"+ "path": "pool_authority"},{"kind": "account","path": "mint"+ },+ {+ "kind": "account",+ "path": "quote_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- ]+ "kind": "account",+ "path": "pump_amm"}}},{- "name": "associated_user",- "writable": true- },- {- "name": "user",- "writable": true,- "signer": true- },- {- "name": "system_program",- "address": "11111111111111111111111111111111"- },- {- "name": "token_program"- },- {- "name": "creator_vault",- "writable": true,+ "name": "pump_amm_event_authority","pda": {"seeds": [{"kind": "const","value": [- 99, 114, 101, 97, 116, 111, 114, 45, 118, 97, 117, 108, 116+ 95,+ 95,+ 101,+ 118,+ 101,+ 110,+ 116,+ 95,+ 97,+ 117,+ 116,+ 104,+ 111,+ 114,+ 105,+ 116,+ 121]- },- {- "kind": "account",- "path": "bonding_curve.creator",- "account": "BondingCurve"}- ]+ ],+ "program": {+ "kind": "account",+ "path": "pump_amm"+ }}},{- "name": "event_authority",+ "name": "coin_creator_vault_authority",+ "writable": true,"pda": {"seeds": [{"kind": "const","value": [- 95, 95, 101, 118, 101, 110, 116, 95, 97, 117, 116, 104, 111,- 114, 105, 116, 121+ 99,+ 114,+ 101,+ 97,+ 116,+ 111,+ 114,+ 95,+ 118,+ 97,+ 117,+ 108,+ 116]+ },+ {+ "kind": "account",+ "path": "current_creator"}- ]+ ],+ "program": {+ "kind": "account",+ "path": "pump_amm"+ }}},{- "name": "program",- "address": "6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P"- },- {- "name": "global_volume_accumulator",+ "name": "coin_creator_vault_ata",+ "writable": true,"pda": {"seeds": [{- "kind": "const",- "value": [- 103, 108, 111, 98, 97, 108, 95, 118, 111, 108, 117, 109, 101,- 95, 97, 99, 99, 117, 109, 117, 108, 97, 116, 111, 114- ]+ "kind": "account",+ "path": "coin_creator_vault_authority"+ },+ {+ "kind": "account",+ "path": "quote_token_program"+ },+ {+ "kind": "account",+ "path": "quote_mint"}- ]+ ],+ "program": {+ "kind": "account",+ "path": "associated_token_program"+ }}},{- "name": "user_volume_accumulator",+ "name": "sharing_config","writable": true,"pda": {"seeds": [{"kind": "const","value": [- 117, 115, 101, 114, 95, 118, 111, 108, 117, 109, 101, 95, 97,- 99, 99, 117, 109, 117, 108, 97, 116, 111, 114+ 115,+ 104,+ 97,+ 114,+ 105,+ 110,+ 103,+ 45,+ 99,+ 111,+ 110,+ 102,+ 105,+ 103]},{"kind": "account",- "path": "user"+ "path": "mint"}- ]+ ],+ "program": {+ "kind": "account",+ "path": "pump_fees"+ }}},{- "name": "fee_config",+ "name": "pump_fees",+ "address": "pfeeUxB6jkeY1Hxd7CsFCAjcbHA9rWtchMGdZ6VojVZ"+ },+ {+ "name": "pump_fees_event_authority","pda": {"seeds": [- {- "kind": "const",- "value": [102, 101, 101, 95, 99, 111, 110, 102, 105, 103]- },{"kind": "const","value": [- 1, 86, 224, 246, 147, 102, 90, 207, 68, 219, 21, 104, 191, 23,- 91, 170, 81, 137, 203, 151, 245, 210, 255, 59, 101, 93, 43,- 182, 253, 109, 24, 176+ 95,+ 95,+ 101,+ 118,+ 101,+ 110,+ 116,+ 95,+ 97,+ 117,+ 116,+ 104,+ 111,+ 114,+ 105,+ 116,+ 121]}],"program": {"kind": "account",- "path": "fee_program"+ "path": "pump_fees"}}},{- "name": "fee_program",- "address": "pfeeUxB6jkeY1Hxd7CsFCAjcbHA9rWtchMGdZ6VojVZ"+ "name": "event_authority",+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 95,+ 95,+ 101,+ 118,+ 101,+ 110,+ 116,+ 95,+ 97,+ 117,+ 116,+ 104,+ 111,+ 114,+ 105,+ 116,+ 121+ ]+ }+ ]+ }+ },+ {+ "name": "program"}],"args": [{- "name": "amount",- "type": "u64"+ "name": "is_holder_reward",+ "type": {+ "option": "bool"+ }},{- "name": "max_sol_cost",- "type": "u64"+ "name": "creator_fee_bps",+ "type": {+ "option": "u64"+ }},{- "name": "track_volume",+ "name": "new_creator","type": {- "defined": {- "name": "OptionBool"- }+ "option": "pubkey"}}]},{- "name": "buy_exact_quote_in_v2",- "discriminator": [194, 171, 28, 70, 104, 77, 91, 47],+ "name": "admin_set_idl_authority",+ "discriminator": [+ 8,+ 217,+ 96,+ 231,+ 144,+ 104,+ 192,+ 5+ ],"accounts": [+ {+ "name": "authority",+ "signer": true,+ "relations": [+ "global"+ ]+ },{"name": "global","pda": {"seeds": [{"kind": "const",- "value": [103, 108, 111, 98, 97, 108]+ "value": [+ 103,+ 108,+ 111,+ 98,+ 97,+ 108+ ]}]}},{- "name": "base_mint"- },- {- "name": "quote_mint"- },- {- "name": "base_token_program"- },- {- "name": "quote_token_program"+ "name": "idl_account",+ "writable": true},{- "name": "associated_token_program",- "address": "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL"+ "name": "system_program",+ "address": "11111111111111111111111111111111"},{- "name": "fee_recipient",- "writable": true+ "name": "program_signer",+ "pda": {+ "seeds": []+ }},{- "name": "associated_quote_fee_recipient",- "writable": true,+ "name": "event_authority","pda": {"seeds": [{- "kind": "account",- "path": "fee_recipient"- },- {- "kind": "account",- "path": "quote_token_program"- },- {- "kind": "account",- "path": "quote_mint"+ "kind": "const",+ "value": [+ 95,+ 95,+ 101,+ 118,+ 101,+ 110,+ 116,+ 95,+ 97,+ 117,+ 116,+ 104,+ 111,+ 114,+ 105,+ 116,+ 121+ ]}- ],- "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": "buyback_fee_recipient",- "writable": true- },+ "name": "program"+ }+ ],+ "args": [{- "name": "associated_quote_buyback_fee_recipient",+ "name": "idl_authority",+ "type": "pubkey"+ }+ ]+ },+ {+ "name": "admin_update_token_incentives",+ "discriminator": [+ 209,+ 11,+ 115,+ 87,+ 213,+ 23,+ 124,+ 204+ ],+ "accounts": [+ {+ "name": "authority","writable": true,+ "signer": true,+ "relations": [+ "global"+ ]+ },+ {+ "name": "global","pda": {"seeds": [{- "kind": "account",- "path": "buyback_fee_recipient"- },- {- "kind": "account",- "path": "quote_token_program"- },- {- "kind": "account",- "path": "quote_mint"+ "kind": "const",+ "value": [+ 103,+ 108,+ 111,+ 98,+ 97,+ 108+ ]}- ],- "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": "bonding_curve",+ "name": "global_volume_accumulator","writable": true,"pda": {"seeds": [{"kind": "const","value": [- 98, 111, 110, 100, 105, 110, 103, 45, 99, 117, 114, 118, 101+ 103,+ 108,+ 111,+ 98,+ 97,+ 108,+ 95,+ 118,+ 111,+ 108,+ 117,+ 109,+ 101,+ 95,+ 97,+ 99,+ 99,+ 117,+ 109,+ 117,+ 108,+ 97,+ 116,+ 111,+ 114]- },- {- "kind": "account",- "path": "base_mint"}]}},{- "name": "associated_base_bonding_curve",+ "name": "mint"+ },+ {+ "name": "global_incentive_token_account","writable": true,"pda": {"seeds": [{"kind": "account",- "path": "bonding_curve"+ "path": "global_volume_accumulator"},{"kind": "account",- "path": "base_token_program"+ "path": "token_program"},{"kind": "account",- "path": "base_mint"+ "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+ 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": "associated_quote_bonding_curve",- "writable": true,- "pda": {- "seeds": [- {- "kind": "account",- "path": "bonding_curve"- },- {- "kind": "account",- "path": "quote_token_program"- },- {- "kind": "account",- "path": "quote_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": "user",- "writable": true,- "signer": true- },- {- "name": "associated_base_user",- "writable": true- },- {- "name": "associated_quote_user",- "writable": true,- "pda": {- "seeds": [- {- "kind": "account",- "path": "user"- },- {- "kind": "account",- "path": "quote_token_program"- },- {- "kind": "account",- "path": "quote_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": "creator_vault",- "writable": true,- "pda": {- "seeds": [- {- "kind": "const",- "value": [- 99, 114, 101, 97, 116, 111, 114, 45, 118, 97, 117, 108, 116- ]- },- {- "kind": "account",- "path": "bonding_curve.creator",- "account": "BondingCurve"- }- ]- }- },- {- "name": "associated_creator_vault",- "writable": true,- "pda": {- "seeds": [- {- "kind": "account",- "path": "creator_vault"- },- {- "kind": "account",- "path": "quote_token_program"- },- {- "kind": "account",- "path": "quote_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": "sharing_config",- "docs": [- "seeds; the account is intentionally not deserialized here because it may be uninitialized",- "for mints that have not created a fee sharing config. Handlers must check",- "`data_is_empty()` / owner before reading."- ],- "pda": {- "seeds": [- {- "kind": "const",- "value": [- 115, 104, 97, 114, 105, 110, 103, 45, 99, 111, 110, 102, 105,- 103- ]- },- {- "kind": "account",- "path": "base_mint"- }- ],- "program": {- "kind": "const",- "value": [- 12, 53, 255, 169, 5, 90, 142, 86, 141, 168, 247, 188, 7, 86, 21,- 39, 76, 241, 201, 44, 164, 31, 64, 0, 156, 81, 106, 164, 20,- 194, 124, 112- ]- }- }- },- {- "name": "global_volume_accumulator",- "pda": {- "seeds": [- {- "kind": "const",- "value": [- 103, 108, 111, 98, 97, 108, 95, 118, 111, 108, 117, 109, 101,- 95, 97, 99, 99, 117, 109, 117, 108, 97, 116, 111, 114- ]- }- ]- }- },- {- "name": "user_volume_accumulator",- "writable": true,+ "name": "associated_token_program",+ "address": "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL"+ },+ {+ "name": "system_program",+ "address": "11111111111111111111111111111111"+ },+ {+ "name": "token_program"+ },+ {+ "name": "event_authority","pda": {"seeds": [{"kind": "const","value": [- 117, 115, 101, 114, 95, 118, 111, 108, 117, 109, 101, 95, 97,- 99, 99, 117, 109, 117, 108, 97, 116, 111, 114+ 95,+ 95,+ 101,+ 118,+ 101,+ 110,+ 116,+ 95,+ 97,+ 117,+ 116,+ 104,+ 111,+ 114,+ 105,+ 116,+ 121]- },- {- "kind": "account",- "path": "user"}]}},{- "name": "associated_user_volume_accumulator",- "writable": true,- "pda": {- "seeds": [- {- "kind": "account",- "path": "user_volume_accumulator"- },- {- "kind": "account",- "path": "quote_token_program"- },- {- "kind": "account",- "path": "quote_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": "fee_config",- "pda": {- "seeds": [- {- "kind": "const",- "value": [102, 101, 101, 95, 99, 111, 110, 102, 105, 103]- },- {- "kind": "const",- "value": [- 1, 86, 224, 246, 147, 102, 90, 207, 68, 219, 21, 104, 191, 23,- 91, 170, 81, 137, 203, 151, 245, 210, 255, 59, 101, 93, 43,- 182, 253, 109, 24, 176- ]- }- ],- "program": {- "kind": "account",- "path": "fee_program"- }- }- },+ "name": "program"+ }+ ],+ "args": [{- "name": "fee_program",- "address": "pfeeUxB6jkeY1Hxd7CsFCAjcbHA9rWtchMGdZ6VojVZ"+ "name": "start_time",+ "type": "i64"},{- "name": "system_program",- "address": "11111111111111111111111111111111"+ "name": "end_time",+ "type": "i64"},{- "name": "event_authority",- "pda": {- "seeds": [- {- "kind": "const",- "value": [- 95, 95, 101, 118, 101, 110, 116, 95, 97, 117, 116, 104, 111,- 114, 105, 116, 121- ]- }- ]- }+ "name": "seconds_in_a_day",+ "type": "i64"},{- "name": "program",- "address": "6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P"- }- ],- "args": [- {- "name": "spendable_quote_in",+ "name": "day_number","type": "u64"},{- "name": "min_tokens_out",+ "name": "pump_token_supply_per_day","type": "u64"}]},{- "name": "buy_exact_sol_in",+ "name": "buy","docs": [- "Given a budget of spendable SOL, buy at least min_tokens_out tokens.",- "Fees are deducted from spendable_sol_in.",- "",- "# Quote formulas",- "Where:",- "- total_fee_bps = protocol_fee_bps + creator_fee_bps (creator_fee_bps is 0 if no creator)",- "- floor(a/b) = a / b (integer division)",- "- ceil(a/b) = (a + b - 1) / b",- "",- "SOL → tokens quote",- "To calculate tokens_out for a given spendable_sol_in:",- "1. net_sol = floor(spendable_sol_in * 10_000 / (10_000 + total_fee_bps))",- "2. fees = ceil(net_sol * protocol_fee_bps / 10_000) + ceil(net_sol * creator_fee_bps / 10_000) (creator_fee_bps is 0 if no creator)",- "3. if net_sol + fees > spendable_sol_in: net_sol = net_sol - (net_sol + fees - spendable_sol_in)",- "4. tokens_out = floor((net_sol - 1) * virtual_token_reserves / (virtual_sol_reserves + net_sol - 1))",- "",- "Reverse quote (tokens → SOL)",- "To calculate spendable_sol_in for a desired number of tokens:",- "1. net_sol = ceil(tokens * virtual_sol_reserves / (virtual_token_reserves - tokens)) + 1",- "2. spendable_sol_in = ceil(net_sol * (10_000 + total_fee_bps) / 10_000)",- "",- "Rent",- "Separately make sure the instruction's payer has enough SOL to cover rent for:",- "- creator_vault: rent.minimum_balance(0)",- "- user_volume_accumulator: rent.minimum_balance(UserVolumeAccumulator::LEN)"+ "Buys tokens from a bonding curve."+ ],+ "discriminator": [+ 102,+ 6,+ 61,+ 18,+ 1,+ 218,+ 235,+ 234],- "discriminator": [56, 252, 116, 8, 158, 223, 205, 95],"accounts": [{"name": "global",@@ -946,7 +1044,14 @@"seeds": [{"kind": "const",- "value": [103, 108, 111, 98, 97, 108]+ "value": [+ 103,+ 108,+ 111,+ 98,+ 97,+ 108+ ]}]}@@ -966,7 +1071,19 @@{"kind": "const","value": [- 98, 111, 110, 100, 105, 110, 103, 45, 99, 117, 114, 118, 101+ 98,+ 111,+ 110,+ 100,+ 105,+ 110,+ 103,+ 45,+ 99,+ 117,+ 114,+ 118,+ 101]},{@@ -997,9 +1114,38 @@"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+ 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]}}@@ -1028,7 +1174,19 @@{"kind": "const","value": [- 99, 114, 101, 97, 116, 111, 114, 45, 118, 97, 117, 108, 116+ 99,+ 114,+ 101,+ 97,+ 116,+ 111,+ 114,+ 45,+ 118,+ 97,+ 117,+ 108,+ 116]},{@@ -1046,8 +1204,23 @@{"kind": "const","value": [- 95, 95, 101, 118, 101, 110, 116, 95, 97, 117, 116, 104, 111,- 114, 105, 116, 121+ 95,+ 95,+ 101,+ 118,+ 101,+ 110,+ 116,+ 95,+ 97,+ 117,+ 116,+ 104,+ 111,+ 114,+ 105,+ 116,+ 121]}]@@ -1064,8 +1237,31 @@{"kind": "const","value": [- 103, 108, 111, 98, 97, 108, 95, 118, 111, 108, 117, 109, 101,- 95, 97, 99, 99, 117, 109, 117, 108, 97, 116, 111, 114+ 103,+ 108,+ 111,+ 98,+ 97,+ 108,+ 95,+ 118,+ 111,+ 108,+ 117,+ 109,+ 101,+ 95,+ 97,+ 99,+ 99,+ 117,+ 109,+ 117,+ 108,+ 97,+ 116,+ 111,+ 114]}]@@ -1079,8 +1275,29 @@{"kind": "const","value": [- 117, 115, 101, 114, 95, 118, 111, 108, 117, 109, 101, 95, 97,- 99, 99, 117, 109, 117, 108, 97, 116, 111, 114+ 117,+ 115,+ 101,+ 114,+ 95,+ 118,+ 111,+ 108,+ 117,+ 109,+ 101,+ 95,+ 97,+ 99,+ 99,+ 117,+ 109,+ 117,+ 108,+ 97,+ 116,+ 111,+ 114]},{@@ -1096,14 +1313,54 @@"seeds": [{"kind": "const",- "value": [102, 101, 101, 95, 99, 111, 110, 102, 105, 103]+ "value": [+ 102,+ 101,+ 101,+ 95,+ 99,+ 111,+ 110,+ 102,+ 105,+ 103+ ]},{"kind": "const","value": [- 1, 86, 224, 246, 147, 102, 90, 207, 68, 219, 21, 104, 191, 23,- 91, 170, 81, 137, 203, 151, 245, 210, 255, 59, 101, 93, 43,- 182, 253, 109, 24, 176+ 1,+ 86,+ 224,+ 246,+ 147,+ 102,+ 90,+ 207,+ 68,+ 219,+ 21,+ 104,+ 191,+ 23,+ 91,+ 170,+ 81,+ 137,+ 203,+ 151,+ 245,+ 210,+ 255,+ 59,+ 101,+ 93,+ 43,+ 182,+ 253,+ 109,+ 24,+ 176]}],@@ -1120,11 +1377,11 @@],"args": [{- "name": "spendable_sol_in",+ "name": "amount","type": "u64"},{- "name": "min_tokens_out",+ "name": "max_sol_cost","type": "u64"},{@@ -1134,20 +1391,44 @@"name": "OptionBool"}}- }- ]- },- {- "name": "buy_v2",- "discriminator": [184, 23, 238, 97, 103, 197, 211, 61],- "accounts": [+ },+ {+ "name": "partial_fill",+ "type": {+ "defined": {+ "name": "OptionBool"+ }+ }+ }+ ]+ },+ {+ "name": "buy_exact_quote_in_v2",+ "discriminator": [+ 194,+ 171,+ 28,+ 70,+ 104,+ 77,+ 91,+ 47+ ],+ "accounts": [{"name": "global","pda": {"seeds": [{"kind": "const",- "value": [103, 108, 111, 98, 97, 108]+ "value": [+ 103,+ 108,+ 111,+ 98,+ 97,+ 108+ ]}]}@@ -1193,9 +1474,38 @@"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+ 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]}}@@ -1225,9 +1535,38 @@"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+ 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]}}@@ -1240,7 +1579,19 @@{"kind": "const","value": [- 98, 111, 110, 100, 105, 110, 103, 45, 99, 117, 114, 118, 101+ 98,+ 111,+ 110,+ 100,+ 105,+ 110,+ 103,+ 45,+ 99,+ 117,+ 114,+ 118,+ 101]},{@@ -1271,9 +1622,38 @@"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+ 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]}}@@ -1299,9 +1679,38 @@"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+ 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]}}@@ -1317,31 +1726,11 @@},{"name": "associated_quote_user",- "writable": true,- "pda": {- "seeds": [- {- "kind": "account",- "path": "user"- },- {- "kind": "account",- "path": "quote_token_program"- },- {- "kind": "account",- "path": "quote_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- ]- }- }+ "docs": [+ "canonical SPL associated-token PDA. Validated in handlers via",+ "`validate_user_quote_token_account` for non-legacy mints; ignored for legacy (SOL) trades."+ ],+ "writable": true},{"name": "creator_vault",@@ -1351,7 +1740,19 @@{"kind": "const","value": [- 99, 114, 101, 97, 116, 111, 114, 45, 118, 97, 117, 108, 116+ 99,+ 114,+ 101,+ 97,+ 116,+ 111,+ 114,+ 45,+ 118,+ 97,+ 117,+ 108,+ 116]},{@@ -1383,9 +1784,38 @@"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+ 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]}}@@ -1402,7 +1832,19 @@{"kind": "const","value": [- 115, 104, 97, 114, 105, 110, 103, 45, 99, 111, 110, 102, 105,+ 115,+ 104,+ 97,+ 114,+ 105,+ 110,+ 103,+ 45,+ 99,+ 111,+ 110,+ 102,+ 105,103]},@@ -1414,9 +1856,38 @@"program": {"kind": "const","value": [- 12, 53, 255, 169, 5, 90, 142, 86, 141, 168, 247, 188, 7, 86, 21,- 39, 76, 241, 201, 44, 164, 31, 64, 0, 156, 81, 106, 164, 20,- 194, 124, 112+ 12,+ 53,+ 255,+ 169,+ 5,+ 90,+ 142,+ 86,+ 141,+ 168,+ 247,+ 188,+ 7,+ 86,+ 21,+ 39,+ 76,+ 241,+ 201,+ 44,+ 164,+ 31,+ 64,+ 0,+ 156,+ 81,+ 106,+ 164,+ 20,+ 194,+ 124,+ 112]}}@@ -1428,8 +1899,31 @@{"kind": "const","value": [- 103, 108, 111, 98, 97, 108, 95, 118, 111, 108, 117, 109, 101,- 95, 97, 99, 99, 117, 109, 117, 108, 97, 116, 111, 114+ 103,+ 108,+ 111,+ 98,+ 97,+ 108,+ 95,+ 118,+ 111,+ 108,+ 117,+ 109,+ 101,+ 95,+ 97,+ 99,+ 99,+ 117,+ 109,+ 117,+ 108,+ 97,+ 116,+ 111,+ 114]}]@@ -1443,8 +1937,29 @@{"kind": "const","value": [- 117, 115, 101, 114, 95, 118, 111, 108, 117, 109, 101, 95, 97,- 99, 99, 117, 109, 117, 108, 97, 116, 111, 114+ 117,+ 115,+ 101,+ 114,+ 95,+ 118,+ 111,+ 108,+ 117,+ 109,+ 101,+ 95,+ 97,+ 99,+ 99,+ 117,+ 109,+ 117,+ 108,+ 97,+ 116,+ 111,+ 114]},{@@ -1475,9 +1990,38 @@"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+ 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]}}@@ -1488,14 +2032,54 @@"seeds": [{"kind": "const",- "value": [102, 101, 101, 95, 99, 111, 110, 102, 105, 103]+ "value": [+ 102,+ 101,+ 101,+ 95,+ 99,+ 111,+ 110,+ 102,+ 105,+ 103+ ]},{"kind": "const","value": [- 1, 86, 224, 246, 147, 102, 90, 207, 68, 219, 21, 104, 191, 23,- 91, 170, 81, 137, 203, 151, 245, 210, 255, 59, 101, 93, 43,- 182, 253, 109, 24, 176+ 1,+ 86,+ 224,+ 246,+ 147,+ 102,+ 90,+ 207,+ 68,+ 219,+ 21,+ 104,+ 191,+ 23,+ 91,+ 170,+ 81,+ 137,+ 203,+ 151,+ 245,+ 210,+ 255,+ 59,+ 101,+ 93,+ 43,+ 182,+ 253,+ 109,+ 24,+ 176]}],@@ -1520,8 +2104,23 @@{"kind": "const","value": [- 95, 95, 101, 118, 101, 110, 116, 95, 97, 117, 116, 104, 111,- 114, 105, 116, 121+ 95,+ 95,+ 101,+ 118,+ 101,+ 110,+ 116,+ 95,+ 97,+ 117,+ 116,+ 104,+ 111,+ 114,+ 105,+ 116,+ 121]}]@@ -1534,136 +2133,164 @@],"args": [{- "name": "amount",+ "name": "spendable_quote_in","type": "u64"},{- "name": "max_sol_cost",+ "name": "min_tokens_out","type": "u64"+ },+ {+ "name": "partial_fill",+ "type": {+ "defined": {+ "name": "OptionBool"+ }+ }}]},{- "name": "claim_cashback",- "discriminator": [37, 58, 35, 126, 190, 53, 228, 197],+ "name": "buy_exact_quote_in_v3",+ "discriminator": [+ 225,+ 247,+ 80,+ 30,+ 213,+ 179,+ 132,+ 136+ ],"accounts": [{- "name": "user",- "writable": true- },- {- "name": "user_volume_accumulator",- "writable": true,+ "name": "global","pda": {"seeds": [{"kind": "const","value": [- 117, 115, 101, 114, 95, 118, 111, 108, 117, 109, 101, 95, 97,- 99, 99, 117, 109, 117, 108, 97, 116, 111, 114+ 103,+ 108,+ 111,+ 98,+ 97,+ 108]- },- {- "kind": "account",- "path": "user"}]}},{- "name": "system_program",- "address": "11111111111111111111111111111111"+ "name": "base_mint"},{- "name": "event_authority",- "pda": {- "seeds": [- {- "kind": "const",- "value": [- 95, 95, 101, 118, 101, 110, 116, 95, 97, 117, 116, 104, 111,- 114, 105, 116, 121- ]- }- ]- }+ "name": "quote_mint"},{- "name": "program",- "address": "6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P"- }- ],- "args": []- },- {- "name": "claim_cashback_v2",- "discriminator": [122, 243, 204, 65, 94, 116, 29, 55],- "accounts": [+ "name": "base_token_program"+ },{- "name": "user",- "writable": true+ "name": "quote_token_program"},{- "name": "user_volume_accumulator",+ "name": "bonding_curve","writable": true,"pda": {"seeds": [{"kind": "const","value": [- 117, 115, 101, 114, 95, 118, 111, 108, 117, 109, 101, 95, 97,- 99, 99, 117, 109, 117, 108, 97, 116, 111, 114+ 98,+ 111,+ 110,+ 100,+ 105,+ 110,+ 103,+ 45,+ 99,+ 117,+ 114,+ 118,+ 101]},{"kind": "account",- "path": "user"+ "path": "base_mint"}]}},{- "name": "quote_mint"- },- {- "name": "quote_token_program"- },- {- "name": "associated_token_program",- "address": "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL"- },- {- "name": "associated_user_volume_accumulator",+ "name": "associated_base_bonding_curve","writable": true,"pda": {"seeds": [{"kind": "account",- "path": "user_volume_accumulator"+ "path": "bonding_curve"},{"kind": "account",- "path": "quote_token_program"+ "path": "base_token_program"},{"kind": "account",- "path": "quote_mint"+ "path": "base_mint"}],"program": {- "kind": "account",- "path": "associated_token_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": "associated_quote_user",+ "name": "associated_quote_bonding_curve",+ "docs": [+ "Must already exist on a token quote (create_v2 creates it); ignored on a SOL quote."+ ],"writable": true,"pda": {"seeds": [{"kind": "account",- "path": "user"+ "path": "bonding_curve"},{"kind": "account",@@ -1675,147 +2302,205 @@}],"program": {- "kind": "account",- "path": "associated_token_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",- "address": "11111111111111111111111111111111"+ "name": "user",+ "writable": true,+ "signer": true},{- "name": "event_authority",- "pda": {- "seeds": [- {- "kind": "const",- "value": [- 95, 95, 101, 118, 101, 110, 116, 95, 97, 117, 116, 104, 111,- 114, 105, 116, 121- ]- }- ]- }+ "name": "associated_base_user",+ "writable": true},{- "name": "program",- "address": "6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P"- }- ],- "args": []- },- {- "name": "claim_token_incentives",- "discriminator": [16, 4, 71, 28, 204, 1, 40, 27],- "accounts": [- {- "name": "user"+ "name": "associated_quote_user",+ "docs": [+ "canonical SPL associated-token PDA. Validated in the handlers via",+ "`validate_user_quote_token_account` for non-legacy mints; ignored for legacy (SOL) trades."+ ],+ "writable": true},{- "name": "user_ata",+ "name": "user_volume_accumulator","writable": true,"pda": {"seeds": [{- "kind": "account",- "path": "user"- },- {- "kind": "account",- "path": "token_program"+ "kind": "const",+ "value": [+ 117,+ 115,+ 101,+ 114,+ 95,+ 118,+ 111,+ 108,+ 117,+ 109,+ 101,+ 95,+ 97,+ 99,+ 99,+ 117,+ 109,+ 117,+ 108,+ 97,+ 116,+ 111,+ 114+ ]},{"kind": "account",- "path": "mint"+ "path": "user"}- ],- "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": "global_volume_accumulator",+ "name": "fee_config","pda": {"seeds": [{"kind": "const","value": [- 103, 108, 111, 98, 97, 108, 95, 118, 111, 108, 117, 109, 101,- 95, 97, 99, 99, 117, 109, 117, 108, 97, 116, 111, 114+ 102,+ 101,+ 101,+ 95,+ 99,+ 111,+ 110,+ 102,+ 105,+ 103]- }- ]- }- },- {- "name": "global_incentive_token_account",- "writable": true,- "pda": {- "seeds": [- {- "kind": "account",- "path": "global_volume_accumulator"- },- {- "kind": "account",- "path": "token_program"},{- "kind": "account",- "path": "mint"+ "kind": "const",+ "value": [+ 1,+ 86,+ 224,+ 246,+ 147,+ 102,+ 90,+ 207,+ 68,+ 219,+ 21,+ 104,+ 191,+ 23,+ 91,+ 170,+ 81,+ 137,+ 203,+ 151,+ 245,+ 210,+ 255,+ 59,+ 101,+ 93,+ 43,+ 182,+ 253,+ 109,+ 24,+ 176+ ]}],"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+ 12,+ 53,+ 255,+ 169,+ 5,+ 90,+ 142,+ 86,+ 141,+ 168,+ 247,+ 188,+ 7,+ 86,+ 21,+ 39,+ 76,+ 241,+ 201,+ 44,+ 164,+ 31,+ 64,+ 0,+ 156,+ 81,+ 106,+ 164,+ 20,+ 194,+ 124,+ 112]}}},{- "name": "user_volume_accumulator",- "writable": true,- "pda": {- "seeds": [- {- "kind": "const",- "value": [- 117, 115, 101, 114, 95, 118, 111, 108, 117, 109, 101, 95, 97,- 99, 99, 117, 109, 117, 108, 97, 116, 111, 114- ]- },- {- "kind": "account",- "path": "user"- }- ]- }- },- {- "name": "mint",- "relations": ["global_volume_accumulator"]- },- {- "name": "token_program"+ "name": "buyback_fee_recipient",+ "writable": true},{"name": "system_program","address": "11111111111111111111111111111111"},- {- "name": "associated_token_program",- "address": "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL"- },{"name": "event_authority","pda": {@@ -1823,8 +2508,23 @@{"kind": "const","value": [- 95, 95, 101, 118, 101, 110, 116, 95, 97, 117, 116, 104, 111,- 114, 105, 116, 121+ 95,+ 95,+ 101,+ 118,+ 101,+ 110,+ 116,+ 95,+ 97,+ 117,+ 116,+ 104,+ 111,+ 114,+ 105,+ 116,+ 121]}]@@ -1833,245 +2533,249 @@{"name": "program","address": "6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P"- },- {- "name": "payer",- "writable": true,- "signer": true}],- "args": []- },- {- "name": "close_user_volume_accumulator",- "discriminator": [249, 69, 164, 218, 150, 103, 84, 138],- "accounts": [+ "args": [{- "name": "user",- "writable": true,- "signer": true+ "name": "spendable_quote_in",+ "type": "u64"},{- "name": "user_volume_accumulator",- "writable": true,- "pda": {- "seeds": [- {- "kind": "const",- "value": [- 117, 115, 101, 114, 95, 118, 111, 108, 117, 109, 101, 95, 97,- 99, 99, 117, 109, 117, 108, 97, 116, 111, 114- ]- },- {- "kind": "account",- "path": "user"- }- ]- }+ "name": "min_tokens_out",+ "type": "u64"},{- "name": "event_authority",- "pda": {- "seeds": [- {- "kind": "const",- "value": [- 95, 95, 101, 118, 101, 110, 116, 95, 97, 117, 116, 104, 111,- 114, 105, 116, 121- ]- }- ]+ "name": "partial_fill",+ "type": {+ "defined": {+ "name": "OptionBool"+ }}- },- {- "name": "program"}- ],- "args": []+ ]},{- "name": "collect_creator_fee",+ "name": "buy_exact_sol_in","docs": [- "Collects creator_fee from creator_vault to the coin creator account"+ "Given a budget of spendable SOL, buy at least min_tokens_out tokens.",+ "Fees are deducted from spendable_sol_in.",+ "",+ "# Quote formulas",+ "Where:",+ "- total_fee_bps = protocol_fee_bps + creator_fee_bps (creator_fee_bps is 0 if no creator)",+ "- floor(a/b) = a / b (integer division)",+ "- ceil(a/b) = (a + b - 1) / b",+ "",+ "SOL → tokens quote",+ "To calculate tokens_out for a given spendable_sol_in:",+ "1. net_sol = floor(spendable_sol_in * 10_000 / (10_000 + total_fee_bps))",+ "2. fees = ceil(net_sol * protocol_fee_bps / 10_000) + ceil(net_sol * creator_fee_bps / 10_000) (creator_fee_bps is 0 if no creator)",+ "3. if net_sol + fees > spendable_sol_in: net_sol = net_sol - (net_sol + fees - spendable_sol_in)",+ "4. tokens_out = floor((net_sol - 1) * virtual_token_reserves / (virtual_sol_reserves + net_sol - 1))",+ "",+ "Reverse quote (tokens → SOL)",+ "To calculate spendable_sol_in for a desired number of tokens:",+ "1. net_sol = ceil(tokens * virtual_sol_reserves / (virtual_token_reserves - tokens)) + 1",+ "2. spendable_sol_in = ceil(net_sol * (10_000 + total_fee_bps) / 10_000)",+ "",+ "Rent",+ "Separately make sure the instruction's payer has enough SOL to cover rent for:",+ "- creator_vault: rent.minimum_balance(0)",+ "- user_volume_accumulator: rent.minimum_balance(UserVolumeAccumulator::LEN)"+ ],+ "discriminator": [+ 56,+ 252,+ 116,+ 8,+ 158,+ 223,+ 205,+ 95],- "discriminator": [20, 22, 86, 123, 198, 28, 219, 132],"accounts": [{- "name": "creator",- "writable": true- },- {- "name": "creator_vault",- "writable": true,- "pda": {- "seeds": [- {- "kind": "const",- "value": [- 99, 114, 101, 97, 116, 111, 114, 45, 118, 97, 117, 108, 116- ]- },- {- "kind": "account",- "path": "creator"- }- ]- }- },- {- "name": "system_program",- "address": "11111111111111111111111111111111"- },- {- "name": "event_authority",+ "name": "global","pda": {"seeds": [{"kind": "const","value": [- 95, 95, 101, 118, 101, 110, 116, 95, 97, 117, 116, 104, 111,- 114, 105, 116, 121+ 103,+ 108,+ 111,+ 98,+ 97,+ 108]}]}},{- "name": "program"- }- ],- "args": []- },- {- "name": "collect_creator_fee_v2",- "docs": [- "Collects creator_fee from creator_vault to the coin creator account"- ],- "discriminator": [207, 17, 138, 242, 4, 34, 19, 56],- "accounts": [- {- "name": "creator",+ "name": "fee_recipient","writable": true},{- "name": "creator_token_account",- "writable": true,- "pda": {- "seeds": [- {- "kind": "account",- "path": "creator"- },- {- "kind": "account",- "path": "quote_token_program"- },- {- "kind": "account",- "path": "quote_mint"- }- ],- "program": {- "kind": "account",- "path": "associated_token_program"- }- }+ "name": "mint"},{- "name": "creator_vault",+ "name": "bonding_curve","writable": true,"pda": {"seeds": [{"kind": "const","value": [- 99, 114, 101, 97, 116, 111, 114, 45, 118, 97, 117, 108, 116+ 98,+ 111,+ 110,+ 100,+ 105,+ 110,+ 103,+ 45,+ 99,+ 117,+ 114,+ 118,+ 101]},{"kind": "account",- "path": "creator"+ "path": "mint"}]}},{- "name": "creator_vault_token_account",+ "name": "associated_bonding_curve","writable": true,"pda": {"seeds": [{"kind": "account",- "path": "creator_vault"+ "path": "bonding_curve"},{"kind": "account",- "path": "quote_token_program"+ "path": "token_program"},{"kind": "account",- "path": "quote_mint"+ "path": "mint"}],"program": {- "kind": "account",- "path": "associated_token_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": "quote_mint"- },- {- "name": "quote_token_program"+ "name": "associated_user",+ "writable": true},{- "name": "associated_token_program",- "address": "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL"+ "name": "user",+ "writable": true,+ "signer": true},{"name": "system_program","address": "11111111111111111111111111111111"},{- "name": "event_authority",+ "name": "token_program"+ },+ {+ "name": "creator_vault",+ "writable": true,"pda": {"seeds": [{"kind": "const","value": [- 95, 95, 101, 118, 101, 110, 116, 95, 97, 117, 116, 104, 111,- 114, 105, 116, 121+ 99,+ 114,+ 101,+ 97,+ 116,+ 111,+ 114,+ 45,+ 118,+ 97,+ 117,+ 108,+ 116]+ },+ {+ "kind": "account",+ "path": "bonding_curve.creator",+ "account": "BondingCurve"}]}},{- "name": "program"- }- ],- "args": []- },- {- "name": "create",- "docs": ["Creates a new coin and bonding curve."],- "discriminator": [24, 30, 200, 40, 5, 28, 7, 119],- "accounts": [- {- "name": "mint",- "writable": true,- "signer": true- },- {- "name": "mint_authority",+ "name": "event_authority","pda": {"seeds": [{"kind": "const","value": [- 109, 105, 110, 116, 45, 97, 117, 116, 104, 111, 114, 105, 116,+ 95,+ 95,+ 101,+ 118,+ 101,+ 110,+ 116,+ 95,+ 97,+ 117,+ 116,+ 104,+ 111,+ 114,+ 105,+ 116,121]}@@ -2079,178 +2783,348 @@}},{- "name": "bonding_curve",- "writable": true,+ "name": "program",+ "address": "6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P"+ },+ {+ "name": "global_volume_accumulator","pda": {"seeds": [{"kind": "const","value": [- 98, 111, 110, 100, 105, 110, 103, 45, 99, 117, 114, 118, 101+ 103,+ 108,+ 111,+ 98,+ 97,+ 108,+ 95,+ 118,+ 111,+ 108,+ 117,+ 109,+ 101,+ 95,+ 97,+ 99,+ 99,+ 117,+ 109,+ 117,+ 108,+ 97,+ 116,+ 111,+ 114]- },- {- "kind": "account",- "path": "mint"}]}},{- "name": "associated_bonding_curve",+ "name": "user_volume_accumulator","writable": true,"pda": {"seeds": [- {- "kind": "account",- "path": "bonding_curve"- },{"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+ 117,+ 115,+ 101,+ 114,+ 95,+ 118,+ 111,+ 108,+ 117,+ 109,+ 101,+ 95,+ 97,+ 99,+ 99,+ 117,+ 109,+ 117,+ 108,+ 97,+ 116,+ 111,+ 114]},{"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": "global",- "pda": {- "seeds": [- {- "kind": "const",- "value": [103, 108, 111, 98, 97, 108]+ "path": "user"}]}},{- "name": "mpl_token_metadata",- "address": "metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s"- },- {- "name": "metadata",- "writable": true,+ "name": "fee_config","pda": {"seeds": [{"kind": "const",- "value": [109, 101, 116, 97, 100, 97, 116, 97]+ "value": [+ 102,+ 101,+ 101,+ 95,+ 99,+ 111,+ 110,+ 102,+ 105,+ 103+ ]},{"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+ 1,+ 86,+ 224,+ 246,+ 147,+ 102,+ 90,+ 207,+ 68,+ 219,+ 21,+ 104,+ 191,+ 23,+ 91,+ 170,+ 81,+ 137,+ 203,+ 151,+ 245,+ 210,+ 255,+ 59,+ 101,+ 93,+ 43,+ 182,+ 253,+ 109,+ 24,+ 176]- },- {- "kind": "account",- "path": "mint"}],"program": {"kind": "account",- "path": "mpl_token_metadata"+ "path": "fee_program"}}},{- "name": "user",- "writable": true,- "signer": true+ "name": "fee_program",+ "address": "pfeeUxB6jkeY1Hxd7CsFCAjcbHA9rWtchMGdZ6VojVZ"+ }+ ],+ "args": [+ {+ "name": "spendable_sol_in",+ "type": "u64"},{- "name": "system_program",- "address": "11111111111111111111111111111111"+ "name": "min_tokens_out",+ "type": "u64"},{- "name": "token_program",- "address": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"+ "name": "track_volume",+ "type": {+ "defined": {+ "name": "OptionBool"+ }+ }},{- "name": "associated_token_program",- "address": "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL"- },- {- "name": "rent",- "address": "SysvarRent111111111111111111111111111111111"- },+ "name": "partial_fill",+ "type": {+ "defined": {+ "name": "OptionBool"+ }+ }+ }+ ]+ },+ {+ "name": "buy_v2",+ "discriminator": [+ 184,+ 23,+ 238,+ 97,+ 103,+ 197,+ 211,+ 61+ ],+ "accounts": [{- "name": "event_authority",+ "name": "global","pda": {"seeds": [{"kind": "const","value": [- 95, 95, 101, 118, 101, 110, 116, 95, 97, 117, 116, 104, 111,- 114, 105, 116, 121+ 103,+ 108,+ 111,+ 98,+ 97,+ 108]}]}},{- "name": "program"- }- ],- "args": [+ "name": "base_mint"+ },{- "name": "name",- "type": "string"+ "name": "quote_mint"},{- "name": "symbol",- "type": "string"+ "name": "base_token_program"},{- "name": "uri",- "type": "string"+ "name": "quote_token_program"},{- "name": "creator",- "type": "pubkey"- }- ]- },- {- "name": "create_v2",- "docs": ["Creates a new spl-22 coin and bonding curve."],- "discriminator": [214, 144, 76, 236, 95, 139, 49, 180],- "accounts": [+ "name": "associated_token_program",+ "address": "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL"+ },{- "name": "mint",+ "name": "fee_recipient",+ "writable": true+ },+ {+ "name": "associated_quote_fee_recipient","writable": true,- "signer": true+ "pda": {+ "seeds": [+ {+ "kind": "account",+ "path": "fee_recipient"+ },+ {+ "kind": "account",+ "path": "quote_token_program"+ },+ {+ "kind": "account",+ "path": "quote_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": "mint_authority",+ "name": "buyback_fee_recipient",+ "writable": true+ },+ {+ "name": "associated_quote_buyback_fee_recipient",+ "writable": true,"pda": {"seeds": [{- "kind": "const",- "value": [- 109, 105, 110, 116, 45, 97, 117, 116, 104, 111, 114, 105, 116,- 121- ]+ "kind": "account",+ "path": "buyback_fee_recipient"+ },+ {+ "kind": "account",+ "path": "quote_token_program"+ },+ {+ "kind": "account",+ "path": "quote_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+ ]+ }}},{@@ -2261,18 +3135,30 @@{"kind": "const","value": [- 98, 111, 110, 100, 105, 110, 103, 45, 99, 117, 114, 118, 101+ 98,+ 111,+ 110,+ 100,+ 105,+ 110,+ 103,+ 45,+ 99,+ 117,+ 114,+ 118,+ 101]},{"kind": "account",- "path": "mint"+ "path": "base_mint"}]}},{- "name": "associated_bonding_curve",+ "name": "associated_base_bonding_curve","writable": true,"pda": {"seeds": [@@ -2282,32 +3168,107 @@},{"kind": "account",- "path": "token_program"+ "path": "base_token_program"},{"kind": "account",- "path": "mint"+ "path": "base_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+ 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": "global",+ "name": "associated_quote_bonding_curve",+ "writable": true,"pda": {"seeds": [{- "kind": "const",- "value": [103, 108, 111, 98, 97, 108]+ "kind": "account",+ "path": "bonding_curve"+ },+ {+ "kind": "account",+ "path": "quote_token_program"+ },+ {+ "kind": "account",+ "path": "quote_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+ ]+ }}},{@@ -2316,217 +3277,378 @@"signer": true},{- "name": "system_program",- "address": "11111111111111111111111111111111"- },- {- "name": "token_program",- "address": "TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb"+ "name": "associated_base_user",+ "writable": true},{- "name": "associated_token_program",- "address": "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL"+ "name": "associated_quote_user",+ "docs": [+ "canonical SPL associated-token PDA. Validated in handlers via",+ "`validate_user_quote_token_account` for non-legacy mints; ignored for legacy (SOL) trades."+ ],+ "writable": true},{- "name": "mayhem_program_id",+ "name": "creator_vault","writable": true,- "address": "MAyhSmzXzV1pTf7LsNkrNwkWKTo4ougAJ1PPg47MD4e"- },- {- "name": "global_params","pda": {"seeds": [{"kind": "const","value": [- 103, 108, 111, 98, 97, 108, 45, 112, 97, 114, 97, 109, 115+ 99,+ 114,+ 101,+ 97,+ 116,+ 111,+ 114,+ 45,+ 118,+ 97,+ 117,+ 108,+ 116]+ },+ {+ "kind": "account",+ "path": "bonding_curve.creator",+ "account": "BondingCurve"}- ],- "program": {- "kind": "const",- "value": [- 5, 42, 229, 215, 167, 218, 167, 36, 166, 234, 176, 167, 41, 84,- 145, 133, 90, 212, 160, 103, 22, 96, 103, 76, 78, 3, 69, 89,- 128, 61, 101, 163- ]- }+ ]}},{- "name": "sol_vault",+ "name": "associated_creator_vault","writable": true,"pda": {"seeds": [{- "kind": "const",- "value": [115, 111, 108, 45, 118, 97, 117, 108, 116]+ "kind": "account",+ "path": "creator_vault"+ },+ {+ "kind": "account",+ "path": "quote_token_program"+ },+ {+ "kind": "account",+ "path": "quote_mint"}],"program": {"kind": "const","value": [- 5, 42, 229, 215, 167, 218, 167, 36, 166, 234, 176, 167, 41, 84,- 145, 133, 90, 212, 160, 103, 22, 96, 103, 76, 78, 3, 69, 89,- 128, 61, 101, 163+ 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": "mayhem_state",- "writable": true,+ "name": "sharing_config",+ "docs": [+ "seeds; the account is intentionally not deserialized here because it may be uninitialized",+ "for mints that have not created a fee sharing config. Handlers must check",+ "`data_is_empty()` / owner before reading."+ ],"pda": {"seeds": [{"kind": "const","value": [- 109, 97, 121, 104, 101, 109, 45, 115, 116, 97, 116, 101+ 115,+ 104,+ 97,+ 114,+ 105,+ 110,+ 103,+ 45,+ 99,+ 111,+ 110,+ 102,+ 105,+ 103]},{"kind": "account",- "path": "mint"+ "path": "base_mint"}],"program": {"kind": "const","value": [- 5, 42, 229, 215, 167, 218, 167, 36, 166, 234, 176, 167, 41, 84,- 145, 133, 90, 212, 160, 103, 22, 96, 103, 76, 78, 3, 69, 89,- 128, 61, 101, 163+ 12,+ 53,+ 255,+ 169,+ 5,+ 90,+ 142,+ 86,+ 141,+ 168,+ 247,+ 188,+ 7,+ 86,+ 21,+ 39,+ 76,+ 241,+ 201,+ 44,+ 164,+ 31,+ 64,+ 0,+ 156,+ 81,+ 106,+ 164,+ 20,+ 194,+ 124,+ 112]}}},{- "name": "mayhem_token_vault",- "writable": true- },- {- "name": "event_authority",+ "name": "global_volume_accumulator","pda": {"seeds": [{"kind": "const","value": [- 95, 95, 101, 118, 101, 110, 116, 95, 97, 117, 116, 104, 111,- 114, 105, 116, 121+ 103,+ 108,+ 111,+ 98,+ 97,+ 108,+ 95,+ 118,+ 111,+ 108,+ 117,+ 109,+ 101,+ 95,+ 97,+ 99,+ 99,+ 117,+ 109,+ 117,+ 108,+ 97,+ 116,+ 111,+ 114]}]}},{- "name": "program"- }- ],- "args": [- {- "name": "name",- "type": "string"- },- {- "name": "symbol",- "type": "string"- },- {- "name": "uri",- "type": "string"- },- {- "name": "creator",- "type": "pubkey"- },- {- "name": "is_mayhem_mode",- "type": "bool"- },- {- "name": "is_cashback_enabled",- "type": {- "defined": {- "name": "OptionBool"- }- }- }- ]- },- {- "name": "distribute_creator_fees",- "docs": [- "Distributes creator fees to shareholders based on their share percentages",- "The creator vault needs to have at least the minimum distributable amount to distribute fees",- "This can be checked with the get_minimum_distributable_fee instruction"- ],- "discriminator": [165, 114, 103, 0, 121, 206, 247, 81],- "accounts": [- {- "name": "mint",- "relations": ["sharing_config"]- },- {- "name": "bonding_curve",+ "name": "user_volume_accumulator",+ "writable": true,"pda": {"seeds": [{"kind": "const","value": [- 98, 111, 110, 100, 105, 110, 103, 45, 99, 117, 114, 118, 101+ 117,+ 115,+ 101,+ 114,+ 95,+ 118,+ 111,+ 108,+ 117,+ 109,+ 101,+ 95,+ 97,+ 99,+ 99,+ 117,+ 109,+ 117,+ 108,+ 97,+ 116,+ 111,+ 114]},{"kind": "account",- "path": "mint"+ "path": "user"}]}},{- "name": "sharing_config",+ "name": "associated_user_volume_accumulator",+ "writable": true,"pda": {"seeds": [{- "kind": "const",- "value": [- 115, 104, 97, 114, 105, 110, 103, 45, 99, 111, 110, 102, 105,- 103- ]+ "kind": "account",+ "path": "user_volume_accumulator"},{"kind": "account",- "path": "mint"- }+ "path": "quote_token_program"+ },+ {+ "kind": "account",+ "path": "quote_mint"+ }],"program": {"kind": "const","value": [- 12, 53, 255, 169, 5, 90, 142, 86, 141, 168, 247, 188, 7, 86, 21,- 39, 76, 241, 201, 44, 164, 31, 64, 0, 156, 81, 106, 164, 20,- 194, 124, 112+ 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": "creator_vault",- "writable": true,+ "name": "fee_config","pda": {"seeds": [{"kind": "const","value": [- 99, 114, 101, 97, 116, 111, 114, 45, 118, 97, 117, 108, 116+ 102,+ 101,+ 101,+ 95,+ 99,+ 111,+ 110,+ 102,+ 105,+ 103]},{- "kind": "account",- "path": "bonding_curve.creator",- "account": "BondingCurve"+ "kind": "const",+ "value": [+ 1,+ 86,+ 224,+ 246,+ 147,+ 102,+ 90,+ 207,+ 68,+ 219,+ 21,+ 104,+ 191,+ 23,+ 91,+ 170,+ 81,+ 137,+ 203,+ 151,+ 245,+ 210,+ 255,+ 59,+ 101,+ 93,+ 43,+ 182,+ 253,+ 109,+ 24,+ 176+ ]}- ]+ ],+ "program": {+ "kind": "account",+ "path": "fee_program"+ }}},+ {+ "name": "fee_program",+ "address": "pfeeUxB6jkeY1Hxd7CsFCAjcbHA9rWtchMGdZ6VojVZ"+ },{"name": "system_program","address": "11111111111111111111111111111111"@@ -2538,8 +3660,23 @@{"kind": "const","value": [- 95, 95, 101, 118, 101, 110, 116, 95, 97, 117, 116, 104, 111,- 114, 105, 116, 121+ 95,+ 95,+ 101,+ 118,+ 101,+ 110,+ 116,+ 95,+ 97,+ 117,+ 116,+ 104,+ 111,+ 114,+ 105,+ 116,+ 121]}]@@ -2550,172 +3687,485 @@"address": "6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P"}],- "args": [],- "returns": {- "defined": {- "name": "DistributeCreatorFeesEvent"+ "args": [+ {+ "name": "amount",+ "type": "u64"+ },+ {+ "name": "max_sol_cost",+ "type": "u64"+ },+ {+ "name": "partial_fill",+ "type": {+ "defined": {+ "name": "OptionBool"+ }+ }}- }+ ]},{- "name": "distribute_creator_fees_v2",- "discriminator": [255, 203, 19, 79, 244, 68, 8, 159],+ "name": "buy_v3",+ "discriminator": [+ 7,+ 5,+ 29,+ 196,+ 245,+ 23,+ 101,+ 80+ ],"accounts": [{- "name": "payer",- "writable": true,- "signer": true+ "name": "global",+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 103,+ 108,+ 111,+ 98,+ 97,+ 108+ ]+ }+ ]+ }},{- "name": "mint",- "relations": ["sharing_config"]+ "name": "base_mint"+ },+ {+ "name": "quote_mint"+ },+ {+ "name": "base_token_program"+ },+ {+ "name": "quote_token_program"},{"name": "bonding_curve",+ "writable": true,"pda": {"seeds": [{"kind": "const","value": [- 98, 111, 110, 100, 105, 110, 103, 45, 99, 117, 114, 118, 101+ 98,+ 111,+ 110,+ 100,+ 105,+ 110,+ 103,+ 45,+ 99,+ 117,+ 114,+ 118,+ 101]},{"kind": "account",- "path": "mint"+ "path": "base_mint"}]}},{- "name": "sharing_config",+ "name": "associated_base_bonding_curve",+ "writable": true,"pda": {"seeds": [{- "kind": "const",- "value": [- 115, 104, 97, 114, 105, 110, 103, 45, 99, 111, 110, 102, 105,- 103- ]+ "kind": "account",+ "path": "bonding_curve"},{"kind": "account",- "path": "mint"+ "path": "base_token_program"+ },+ {+ "kind": "account",+ "path": "base_mint"}],"program": {"kind": "const","value": [- 12, 53, 255, 169, 5, 90, 142, 86, 141, 168, 247, 188, 7, 86, 21,- 39, 76, 241, 201, 44, 164, 31, 64, 0, 156, 81, 106, 164, 20,- 194, 124, 112+ 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": "creator_vault",+ "name": "associated_quote_bonding_curve",+ "docs": [+ "Must already exist on a token quote (create_v2 creates it); ignored on a SOL quote."+ ],"writable": true,"pda": {"seeds": [{- "kind": "const",- "value": [- 99, 114, 101, 97, 116, 111, 114, 45, 118, 97, 117, 108, 116- ]+ "kind": "account",+ "path": "bonding_curve"},{"kind": "account",- "path": "bonding_curve.creator",- "account": "BondingCurve"+ "path": "quote_token_program"+ },+ {+ "kind": "account",+ "path": "quote_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",- "address": "11111111111111111111111111111111"+ "name": "user",+ "writable": true,+ "signer": true},{- "name": "event_authority",+ "name": "associated_base_user",+ "writable": true+ },+ {+ "name": "associated_quote_user",+ "docs": [+ "canonical SPL associated-token PDA. Validated in the handlers via",+ "`validate_user_quote_token_account` for non-legacy mints; ignored for legacy (SOL) trades."+ ],+ "writable": true+ },+ {+ "name": "user_volume_accumulator",+ "writable": true,"pda": {"seeds": [{"kind": "const","value": [- 95, 95, 101, 118, 101, 110, 116, 95, 97, 117, 116, 104, 111,- 114, 105, 116, 121+ 117,+ 115,+ 101,+ 114,+ 95,+ 118,+ 111,+ 108,+ 117,+ 109,+ 101,+ 95,+ 97,+ 99,+ 99,+ 117,+ 109,+ 117,+ 108,+ 97,+ 116,+ 111,+ 114]+ },+ {+ "kind": "account",+ "path": "user"}]}},{- "name": "program",- "address": "6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P"- },- {- "name": "creator_vault_quote_token_account",- "docs": [- "Deserialized manually in the handler for non-legacy quote mints."- ],- "writable": true,+ "name": "fee_config","pda": {"seeds": [{- "kind": "account",- "path": "creator_vault"- },- {- "kind": "account",- "path": "quote_token_program"+ "kind": "const",+ "value": [+ 102,+ 101,+ 101,+ 95,+ 99,+ 111,+ 110,+ 102,+ 105,+ 103+ ]},{- "kind": "account",- "path": "quote_mint"+ "kind": "const",+ "value": [+ 1,+ 86,+ 224,+ 246,+ 147,+ 102,+ 90,+ 207,+ 68,+ 219,+ 21,+ 104,+ 191,+ 23,+ 91,+ 170,+ 81,+ 137,+ 203,+ 151,+ 245,+ 210,+ 255,+ 59,+ 101,+ 93,+ 43,+ 182,+ 253,+ 109,+ 24,+ 176+ ]}],"program": {- "kind": "account",- "path": "associated_token_program"+ "kind": "const",+ "value": [+ 12,+ 53,+ 255,+ 169,+ 5,+ 90,+ 142,+ 86,+ 141,+ 168,+ 247,+ 188,+ 7,+ 86,+ 21,+ 39,+ 76,+ 241,+ 201,+ 44,+ 164,+ 31,+ 64,+ 0,+ 156,+ 81,+ 106,+ 164,+ 20,+ 194,+ 124,+ 112+ ]}}},{- "name": "quote_mint"+ "name": "buyback_fee_recipient",+ "writable": true},{- "name": "quote_token_program"+ "name": "system_program",+ "address": "11111111111111111111111111111111"},{- "name": "associated_token_program",- "address": "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL"+ "name": "event_authority",+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 95,+ 95,+ 101,+ 118,+ 101,+ 110,+ 116,+ 95,+ 97,+ 117,+ 116,+ 104,+ 111,+ 114,+ 105,+ 116,+ 121+ ]+ }+ ]+ }+ },+ {+ "name": "program",+ "address": "6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P"}],"args": [{- "name": "initialize_ata",- "type": "bool"- }- ],- "returns": {- "defined": {- "name": "DistributeCreatorFeesEvent"+ "name": "amount",+ "type": "u64"+ },+ {+ "name": "max_sol_cost",+ "type": "u64"+ },+ {+ "name": "partial_fill",+ "type": {+ "defined": {+ "name": "OptionBool"+ }+ }}- }+ ]},{- "name": "extend_account",- "docs": ["Extends the size of program-owned accounts"],- "discriminator": [234, 102, 194, 203, 150, 72, 62, 229],+ "name": "claim_cashback",+ "discriminator": [+ 37,+ 58,+ 35,+ 126,+ 190,+ 53,+ 228,+ 197+ ],"accounts": [{- "name": "account",+ "name": "user","writable": true},{- "name": "user",- "signer": true+ "name": "user_volume_accumulator",+ "writable": true,+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 117,+ 115,+ 101,+ 114,+ 95,+ 118,+ 111,+ 108,+ 117,+ 109,+ 101,+ 95,+ 97,+ 99,+ 99,+ 117,+ 109,+ 117,+ 108,+ 97,+ 116,+ 111,+ 114+ ]+ },+ {+ "kind": "account",+ "path": "user"+ }+ ]+ }},{"name": "system_program",@@ -2728,111 +4178,340 @@{"kind": "const","value": [- 95, 95, 101, 118, 101, 110, 116, 95, 97, 117, 116, 104, 111,- 114, 105, 116, 121+ 95,+ 95,+ 101,+ 118,+ 101,+ 110,+ 116,+ 95,+ 97,+ 117,+ 116,+ 104,+ 111,+ 114,+ 105,+ 116,+ 121]}]}},{- "name": "program"+ "name": "program",+ "address": "6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P"}],"args": []},{- "name": "get_minimum_distributable_fee",+ "name": "claim_cashback_v2","docs": [- "Permissionless instruction to check the minimum required fees for distribution",- "Returns the minimum required balance from the creator_vault and whether distribution can proceed"+ "Pays out the user's accrued cashback. For a token quote, `associated_quote_user` may be",+ "any token account of `quote_mint` owned by `user`, not only the associated one."+ ],+ "discriminator": [+ 122,+ 243,+ 204,+ 65,+ 94,+ 116,+ 29,+ 55],- "discriminator": [117, 225, 127, 202, 134, 95, 68, 35],"accounts": [{- "name": "mint",- "relations": ["sharing_config"]+ "name": "user",+ "writable": true},{- "name": "bonding_curve",+ "name": "user_volume_accumulator",+ "writable": true,"pda": {"seeds": [{"kind": "const","value": [- 98, 111, 110, 100, 105, 110, 103, 45, 99, 117, 114, 118, 101+ 117,+ 115,+ 101,+ 114,+ 95,+ 118,+ 111,+ 108,+ 117,+ 109,+ 101,+ 95,+ 97,+ 99,+ 99,+ 117,+ 109,+ 117,+ 108,+ 97,+ 116,+ 111,+ 114]},{"kind": "account",- "path": "mint"+ "path": "user"}]}},{- "name": "sharing_config",- "pda": {- "seeds": [- {- "kind": "const",- "value": [- 115, 104, 97, 114, 105, 110, 103, 45, 99, 111, 110, 102, 105,- 103- ]+ "name": "quote_mint"+ },+ {+ "name": "quote_token_program"+ },+ {+ "name": "associated_token_program",+ "address": "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL"+ },+ {+ "name": "associated_user_volume_accumulator",+ "writable": true,+ "pda": {+ "seeds": [+ {+ "kind": "account",+ "path": "user_volume_accumulator"},{"kind": "account",- "path": "mint"+ "path": "quote_token_program"+ },+ {+ "kind": "account",+ "path": "quote_mint"}],"program": {- "kind": "const",- "value": [- 12, 53, 255, 169, 5, 90, 142, 86, 141, 168, 247, 188, 7, 86, 21,- 39, 76, 241, 201, 44, 164, 31, 64, 0, 156, 81, 106, 164, 20,- 194, 124, 112- ]+ "kind": "account",+ "path": "associated_token_program"}}},{- "name": "creator_vault",+ "name": "associated_quote_user",+ "writable": true+ },+ {+ "name": "system_program",+ "address": "11111111111111111111111111111111"+ },+ {+ "name": "event_authority","pda": {"seeds": [{"kind": "const","value": [- 99, 114, 101, 97, 116, 111, 114, 45, 118, 97, 117, 108, 116+ 95,+ 95,+ 101,+ 118,+ 101,+ 110,+ 116,+ 95,+ 97,+ 117,+ 116,+ 104,+ 111,+ 114,+ 105,+ 116,+ 121]- },- {- "kind": "account",- "path": "bonding_curve.creator",- "account": "BondingCurve"}]}+ },+ {+ "name": "program",+ "address": "6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P"}],- "args": [],- "returns": {- "defined": {- "name": "MinimumDistributableFeeEvent"- }- }+ "args": []},{- "name": "init_user_volume_accumulator",- "discriminator": [94, 6, 202, 115, 255, 96, 232, 183],+ "name": "claim_token_incentives",+ "discriminator": [+ 16,+ 4,+ 71,+ 28,+ 204,+ 1,+ 40,+ 27+ ],"accounts": [{- "name": "payer",+ "name": "user"+ },+ {+ "name": "user_ata","writable": true,- "signer": true+ "pda": {+ "seeds": [+ {+ "kind": "account",+ "path": "user"+ },+ {+ "kind": "account",+ "path": "token_program"+ },+ {+ "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": "user"+ "name": "global_volume_accumulator",+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 103,+ 108,+ 111,+ 98,+ 97,+ 108,+ 95,+ 118,+ 111,+ 108,+ 117,+ 109,+ 101,+ 95,+ 97,+ 99,+ 99,+ 117,+ 109,+ 117,+ 108,+ 97,+ 116,+ 111,+ 114+ ]+ }+ ]+ }+ },+ {+ "name": "global_incentive_token_account",+ "writable": true,+ "pda": {+ "seeds": [+ {+ "kind": "account",+ "path": "global_volume_accumulator"+ },+ {+ "kind": "account",+ "path": "token_program"+ },+ {+ "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": "user_volume_accumulator",@@ -2842,8 +4521,29 @@{"kind": "const","value": [- 117, 115, 101, 114, 95, 118, 111, 108, 117, 109, 101, 95, 97,- 99, 99, 117, 109, 117, 108, 97, 116, 111, 114+ 117,+ 115,+ 101,+ 114,+ 95,+ 118,+ 111,+ 108,+ 117,+ 109,+ 101,+ 95,+ 97,+ 99,+ 99,+ 117,+ 109,+ 117,+ 108,+ 97,+ 116,+ 111,+ 114]},{@@ -2853,10 +4553,23 @@]}},+ {+ "name": "mint",+ "relations": [+ "global_volume_accumulator"+ ]+ },+ {+ "name": "token_program"+ },{"name": "system_program","address": "11111111111111111111111111111111"},+ {+ "name": "associated_token_program",+ "address": "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL"+ },{"name": "event_authority","pda": {@@ -2864,375 +4577,644 @@{"kind": "const","value": [- 95, 95, 101, 118, 101, 110, 116, 95, 97, 117, 116, 104, 111,- 114, 105, 116, 121+ 95,+ 95,+ 101,+ 118,+ 101,+ 110,+ 116,+ 95,+ 97,+ 117,+ 116,+ 104,+ 111,+ 114,+ 105,+ 116,+ 121]}]}},{- "name": "program"+ "name": "program",+ "address": "6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P"+ },+ {+ "name": "payer",+ "writable": true,+ "signer": true}],"args": []},{- "name": "initialize",- "docs": ["Creates the global state."],- "discriminator": [175, 175, 109, 31, 13, 152, 155, 237],+ "name": "close_user_volume_accumulator",+ "discriminator": [+ 249,+ 69,+ 164,+ 218,+ 150,+ 103,+ 84,+ 138+ ],"accounts": [{- "name": "global",+ "name": "user",+ "writable": true,+ "signer": true+ },+ {+ "name": "user_volume_accumulator","writable": true,"pda": {"seeds": [{"kind": "const",- "value": [103, 108, 111, 98, 97, 108]+ "value": [+ 117,+ 115,+ 101,+ 114,+ 95,+ 118,+ 111,+ 108,+ 117,+ 109,+ 101,+ 95,+ 97,+ 99,+ 99,+ 117,+ 109,+ 117,+ 108,+ 97,+ 116,+ 111,+ 114+ ]+ },+ {+ "kind": "account",+ "path": "user"}]}},{- "name": "user",- "writable": true,- "signer": true+ "name": "event_authority",+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 95,+ 95,+ 101,+ 118,+ 101,+ 110,+ 116,+ 95,+ 97,+ 117,+ 116,+ 104,+ 111,+ 114,+ 105,+ 116,+ 121+ ]+ }+ ]+ }},{- "name": "system_program",- "address": "11111111111111111111111111111111"+ "name": "program"}],"args": []},{- "name": "migrate",+ "name": "collect_creator_fee","docs": [- "Migrates liquidity to pump_amm if the bonding curve is complete"+ "Collects creator_fee from creator_vault to the coin creator account"+ ],+ "discriminator": [+ 20,+ 22,+ 86,+ 123,+ 198,+ 28,+ 219,+ 132],- "discriminator": [155, 234, 231, 146, 236, 158, 162, 30],"accounts": [{- "name": "global",+ "name": "creator",+ "writable": true+ },+ {+ "name": "creator_vault",+ "writable": true,"pda": {"seeds": [{"kind": "const",- "value": [103, 108, 111, 98, 97, 108]+ "value": [+ 99,+ 114,+ 101,+ 97,+ 116,+ 111,+ 114,+ 45,+ 118,+ 97,+ 117,+ 108,+ 116+ ]+ },+ {+ "kind": "account",+ "path": "creator"}]}},{- "name": "withdraw_authority",- "writable": true,- "relations": ["global"]- },- {- "name": "mint"+ "name": "system_program",+ "address": "11111111111111111111111111111111"},{- "name": "bonding_curve",- "writable": true,+ "name": "event_authority","pda": {"seeds": [{"kind": "const","value": [- 98, 111, 110, 100, 105, 110, 103, 45, 99, 117, 114, 118, 101+ 95,+ 95,+ 101,+ 118,+ 101,+ 110,+ 116,+ 95,+ 97,+ 117,+ 116,+ 104,+ 111,+ 114,+ 105,+ 116,+ 121]- },- {- "kind": "account",- "path": "mint"}]}},{- "name": "associated_bonding_curve",+ "name": "program"+ }+ ],+ "args": []+ },+ {+ "name": "collect_creator_fee_v2",+ "docs": [+ "Collects creator_fee from creator_vault to the coin creator account"+ ],+ "discriminator": [+ 207,+ 17,+ 138,+ 242,+ 4,+ 34,+ 19,+ 56+ ],+ "accounts": [+ {+ "name": "creator",+ "writable": true+ },+ {+ "name": "creator_token_account","writable": true,"pda": {"seeds": [{"kind": "account",- "path": "bonding_curve"+ "path": "creator"},{"kind": "account",- "path": "mint"+ "path": "quote_token_program"},{"kind": "account",- "path": "mint"+ "path": "quote_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- ]+ "kind": "account",+ "path": "associated_token_program"}}},{- "name": "user",- "signer": true+ "name": "creator_vault",+ "writable": true,+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 99,+ 114,+ 101,+ 97,+ 116,+ 111,+ 114,+ 45,+ 118,+ 97,+ 117,+ 108,+ 116+ ]+ },+ {+ "kind": "account",+ "path": "creator"+ }+ ]+ }},{- "name": "system_program",- "address": "11111111111111111111111111111111"- },- {- "name": "token_program",- "address": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"- },- {- "name": "pump_amm",- "address": "pAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA"- },- {- "name": "pool",+ "name": "creator_vault_token_account","writable": true,"pda": {"seeds": [- {- "kind": "const",- "value": [112, 111, 111, 108]- },- {- "kind": "const",- "value": [0, 0]- },{"kind": "account",- "path": "pool_authority"+ "path": "creator_vault"},{"kind": "account",- "path": "mint"+ "path": "quote_token_program"},{"kind": "account",- "path": "wsol_mint"+ "path": "quote_mint"}],"program": {"kind": "account",- "path": "pump_amm"+ "path": "associated_token_program"}}},{- "name": "pool_authority",- "writable": true,+ "name": "quote_mint"+ },+ {+ "name": "quote_token_program"+ },+ {+ "name": "associated_token_program",+ "address": "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL"+ },+ {+ "name": "system_program",+ "address": "11111111111111111111111111111111"+ },+ {+ "name": "event_authority","pda": {"seeds": [{"kind": "const","value": [- 112, 111, 111, 108, 45, 97, 117, 116, 104, 111, 114, 105, 116,+ 95,+ 95,+ 101,+ 118,+ 101,+ 110,+ 116,+ 95,+ 97,+ 117,+ 116,+ 104,+ 111,+ 114,+ 105,+ 116,121]- },- {- "kind": "account",- "path": "mint"}]}},{- "name": "pool_authority_mint_account",- "writable": true,- "pda": {- "seeds": [- {- "kind": "account",- "path": "pool_authority"- },- {- "kind": "account",- "path": "mint"- },- {- "kind": "account",- "path": "mint"- }- ],- "program": {- "kind": "account",- "path": "associated_token_program"- }- }- },+ "name": "program"+ }+ ],+ "args": []+ },+ {+ "name": "create",+ "docs": [+ "Creates a new coin and bonding curve."+ ],+ "discriminator": [+ 24,+ 30,+ 200,+ 40,+ 5,+ 28,+ 7,+ 119+ ],+ "accounts": [{- "name": "pool_authority_wsol_account",+ "name": "mint","writable": true,- "pda": {- "seeds": [- {- "kind": "account",- "path": "pool_authority"- },- {- "kind": "account",- "path": "token_program"- },- {- "kind": "account",- "path": "wsol_mint"- }- ],- "program": {- "kind": "account",- "path": "associated_token_program"- }- }+ "signer": true},{- "name": "amm_global_config",+ "name": "mint_authority","pda": {"seeds": [{"kind": "const","value": [- 103, 108, 111, 98, 97, 108, 95, 99, 111, 110, 102, 105, 103+ 109,+ 105,+ 110,+ 116,+ 45,+ 97,+ 117,+ 116,+ 104,+ 111,+ 114,+ 105,+ 116,+ 121]}- ],- "program": {- "kind": "account",- "path": "pump_amm"- }+ ]}},{- "name": "wsol_mint",- "address": "So11111111111111111111111111111111111111112"- },- {- "name": "lp_mint",+ "name": "bonding_curve","writable": true,"pda": {"seeds": [{"kind": "const","value": [- 112, 111, 111, 108, 95, 108, 112, 95, 109, 105, 110, 116+ 98,+ 111,+ 110,+ 100,+ 105,+ 110,+ 103,+ 45,+ 99,+ 117,+ 114,+ 118,+ 101]},{"kind": "account",- "path": "pool"+ "path": "mint"}- ],- "program": {- "kind": "account",- "path": "pump_amm"- }+ ]}},{- "name": "user_pool_token_account",+ "name": "associated_bonding_curve","writable": true,"pda": {"seeds": [{"kind": "account",- "path": "pool_authority"+ "path": "bonding_curve"},{- "kind": "account",- "path": "token_2022_program"+ "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"+ "path": "mint"}],"program": {- "kind": "account",- "path": "associated_token_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": "pool_base_token_account",- "writable": true,+ "name": "global","pda": {"seeds": [{- "kind": "account",- "path": "pool"- },- {- "kind": "account",- "path": "mint"- },- {- "kind": "account",- "path": "mint"+ "kind": "const",+ "value": [+ 103,+ 108,+ 111,+ 98,+ 97,+ 108+ ]}- ],- "program": {- "kind": "account",- "path": "associated_token_program"- }+ ]}},{- "name": "pool_quote_token_account",+ "name": "mpl_token_metadata",+ "address": "metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s"+ },+ {+ "name": "metadata","writable": true,"pda": {"seeds": [{- "kind": "account",- "path": "pool"+ "kind": "const",+ "value": [+ 109,+ 101,+ 116,+ 97,+ 100,+ 97,+ 116,+ 97+ ]},{- "kind": "account",- "path": "token_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+ ]},{"kind": "account",- "path": "wsol_mint"+ "path": "mint"}],"program": {"kind": "account",- "path": "associated_token_program"+ "path": "mpl_token_metadata"}}},{- "name": "token_2022_program",- "address": "TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb"+ "name": "user",+ "writable": true,+ "signer": true+ },+ {+ "name": "system_program",+ "address": "11111111111111111111111111111111"+ },+ {+ "name": "token_program",+ "address": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"},{"name": "associated_token_program","address": "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL"},{- "name": "pump_amm_event_authority",- "pda": {- "seeds": [- {- "kind": "const",- "value": [- 95, 95, 101, 118, 101, 110, 116, 95, 97, 117, 116, 104, 111,- 114, 105, 116, 121- ]- }- ],- "program": {- "kind": "account",- "path": "pump_amm"- }- }+ "name": "rent",+ "address": "SysvarRent111111111111111111111111111111111"},{"name": "event_authority",@@ -3241,401 +5223,929 @@{"kind": "const","value": [- 95, 95, 101, 118, 101, 110, 116, 95, 97, 117, 116, 104, 111,- 114, 105, 116, 121+ 95,+ 95,+ 101,+ 118,+ 101,+ 110,+ 116,+ 95,+ 97,+ 117,+ 116,+ 104,+ 111,+ 114,+ 105,+ 116,+ 121]}]}},{- "name": "program",- "address": "6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P"+ "name": "program"+ }+ ],+ "args": [+ {+ "name": "name",+ "type": "string"},{- "name": "rent",- "address": "SysvarRent111111111111111111111111111111111"+ "name": "symbol",+ "type": "string"+ },+ {+ "name": "uri",+ "type": "string"+ },+ {+ "name": "creator",+ "type": "pubkey"}- ],- "args": []+ ]},{- "name": "migrate_bonding_curve_creator",- "discriminator": [87, 124, 52, 191, 52, 38, 214, 232],+ "name": "create_v2",+ "docs": [+ "Creates a new spl-22 coin and bonding curve.",+ "",+ "Remaining accounts select the quote mint (none = SOL): `quote_mint`,",+ "`associated_quote_bonding_curve`, `quote_token_program` (SPL Token or Token-2022; must own",+ "the mint), plus an optional fourth account, the `quote-control` PDA, read only when `Global`",+ "does not whitelist the mint. A mint admitted through quote-control seeds the curve's",+ "virtual quote reserves from its quote-control entry instead of `Global`, and cannot be",+ "used with `is_mayhem_mode` (`MayhemModeQuoteMintNotAllowed`). When neither list admits the",+ "mint Q, an optional fifth account, Q's own pump `bonding-curve` PDA, admits a pump coin as",+ "the quote (`InvalidQuoteBondingCurve` if it is not that PDA; missing keeps",+ "`UnsupportedQuoteMint`): the new curve's depth, Q's depth plus one, must not exceed",+ "`Global.max_curve_depth` (`CurveDepthExceeded`; 0 disables the path, 1 admits children of",+ "depth-0 coins only, up to 5 planned), and Q's curve must not be mayhem mode; a depth-0 Q",+ "must itself be quoted in SOL, a `Global`-whitelisted mint or a quote-control mint",+ "(`QuoteBondingCurveNotEligible`). The new curve's virtual quote reserves are then derived",+ "from Q's live price — the seed a fresh curve in Q's own quote would get for a depth-0 Q, or",+ "Q's own stored `initial_virtual_quote_reserves` for a deeper Q (so every hop below Q is",+ "pinned at its creation price and only Q is read), times Q's curve `virtual_token_reserves`",+ "over `virtual_quote_reserves` while Q's curve trades, or times Q's canonical pump-amm pool",+ "base vault balance over its quote vault balance plus `Pool.virtual_quote_reserves` once it is",+ "migrated (a complete Q not yet migrated fails `QuoteCurveAwaitingMigration`);",+ "a migrated Q requires accounts six to eight: the pool (index 0 under pump's",+ "`pool-authority` PDA for Q, quote seed WSOL for a SOL-quoted Q) and its base and quote",+ "vaults (`QuotePoolAccountsRequired`, `QuotePoolNotFound`, `InvalidQuotePool`). The derived",+ "value must be at least 1 and its graduation raise at most Q's mint supply",+ "(`QuoteReservesOutOfRange`); the new curve stores `depth = Q.depth + 1` and, like a",+ "quote-control coin, cannot be mayhem mode. The Token-2022",+ "native mint is rejected, and a Token-2022 quote mint may only carry the xStock operable",+ "extension set (metadata pointer/metadata, permanent delegate, initialized default account",+ "state, scaled UI amount, pausable, confidential-transfer mint, and a transfer hook with no",+ "program). The trailing `creator_fee_bps` argument (EOF-tolerant) sets the coin's own creator",+ "fee rate for a quote mint admitted through quote-control or through a pump coin's curve,",+ "and then requires `Global.creator_fee_configurable`, a non-cashback coin and a value in",+ "`1..=Global.max_configurable_creator_fee_bps`; on a SOL or `Global`-whitelisted quote it is",+ "ignored, and omitted or zero stores 0 so the pump-fees schedule rate applies.",+ "`is_cashback_enabled` is deprecated and must be false. `is_holder_reward` (EOF-tolerant,",+ "gated by `Global.is_holder_reward_enabled`) sets the creator to the `holder-rewards` PDA",+ "of the mint, so creator fees accrue to its creator vault, are collected onto the PDA with",+ "`collect_creator_fee*` and paid out through `distribute_fee_to_holders`."+ ],+ "discriminator": [+ 214,+ 144,+ 76,+ 236,+ 95,+ 139,+ 49,+ 180+ ],"accounts": [{"name": "mint",- "relations": ["sharing_config"]+ "writable": true,+ "signer": true},{- "name": "bonding_curve",- "writable": true,+ "name": "mint_authority","pda": {"seeds": [{"kind": "const","value": [- 98, 111, 110, 100, 105, 110, 103, 45, 99, 117, 114, 118, 101+ 109,+ 105,+ 110,+ 116,+ 45,+ 97,+ 117,+ 116,+ 104,+ 111,+ 114,+ 105,+ 116,+ 121]- },- {- "kind": "account",- "path": "mint"}]}},{- "name": "sharing_config",+ "name": "bonding_curve",+ "writable": true,"pda": {"seeds": [{"kind": "const","value": [- 115, 104, 97, 114, 105, 110, 103, 45, 99, 111, 110, 102, 105,- 103+ 98,+ 111,+ 110,+ 100,+ 105,+ 110,+ 103,+ 45,+ 99,+ 117,+ 114,+ 118,+ 101]},{"kind": "account","path": "mint"}+ ]+ }+ },+ {+ "name": "associated_bonding_curve",+ "writable": true,+ "pda": {+ "seeds": [+ {+ "kind": "account",+ "path": "bonding_curve"+ },+ {+ "kind": "account",+ "path": "token_program"+ },+ {+ "kind": "account",+ "path": "mint"+ }],"program": {"kind": "const","value": [- 12, 53, 255, 169, 5, 90, 142, 86, 141, 168, 247, 188, 7, 86, 21,- 39, 76, 241, 201, 44, 164, 31, 64, 0, 156, 81, 106, 164, 20,- 194, 124, 112+ 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": "event_authority",+ "name": "global","pda": {"seeds": [{"kind": "const","value": [- 95, 95, 101, 118, 101, 110, 116, 95, 97, 117, 116, 104, 111,- 114, 105, 116, 121+ 103,+ 108,+ 111,+ 98,+ 97,+ 108]}]}},{- "name": "program"- }- ],- "args": []- },- {- "name": "migrate_v2",- "docs": [- "Migrates liquidity to pump_amm if the bonding curve is complete"- ],- "discriminator": [187, 203, 18, 31, 206, 237, 254, 41],- "accounts": [- {- "name": "global",- "pda": {- "seeds": [- {- "kind": "const",- "value": [103, 108, 111, 98, 97, 108]- }- ]- }+ "name": "user",+ "writable": true,+ "signer": true},{- "name": "withdraw_authority",- "writable": true,- "relations": ["global"]+ "name": "system_program",+ "address": "11111111111111111111111111111111"},{- "name": "base_mint"+ "name": "token_program",+ "address": "TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb"},{- "name": "quote_mint"+ "name": "associated_token_program",+ "address": "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL"},{- "name": "bonding_curve",+ "name": "mayhem_program_id","writable": true,+ "address": "MAyhSmzXzV1pTf7LsNkrNwkWKTo4ougAJ1PPg47MD4e"+ },+ {+ "name": "global_params","pda": {"seeds": [{"kind": "const","value": [- 98, 111, 110, 100, 105, 110, 103, 45, 99, 117, 114, 118, 101+ 103,+ 108,+ 111,+ 98,+ 97,+ 108,+ 45,+ 112,+ 97,+ 114,+ 97,+ 109,+ 115]- },- {- "kind": "account",- "path": "base_mint"}- ]+ ],+ "program": {+ "kind": "const",+ "value": [+ 5,+ 42,+ 229,+ 215,+ 167,+ 218,+ 167,+ 36,+ 166,+ 234,+ 176,+ 167,+ 41,+ 84,+ 145,+ 133,+ 90,+ 212,+ 160,+ 103,+ 22,+ 96,+ 103,+ 76,+ 78,+ 3,+ 69,+ 89,+ 128,+ 61,+ 101,+ 163+ ]+ }}},{- "name": "associated_base_bonding_curve",+ "name": "sol_vault","writable": true,"pda": {"seeds": [{- "kind": "account",- "path": "bonding_curve"- },- {- "kind": "account",- "path": "base_token_program"- },- {- "kind": "account",- "path": "base_mint"+ "kind": "const",+ "value": [+ 115,+ 111,+ 108,+ 45,+ 118,+ 97,+ 117,+ 108,+ 116+ ]}],"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+ 5,+ 42,+ 229,+ 215,+ 167,+ 218,+ 167,+ 36,+ 166,+ 234,+ 176,+ 167,+ 41,+ 84,+ 145,+ 133,+ 90,+ 212,+ 160,+ 103,+ 22,+ 96,+ 103,+ 76,+ 78,+ 3,+ 69,+ 89,+ 128,+ 61,+ 101,+ 163]}}},{- "name": "associated_quote_bonding_curve",+ "name": "mayhem_state","writable": true,"pda": {"seeds": [{- "kind": "account",- "path": "bonding_curve"- },- {- "kind": "account",- "path": "quote_token_program"+ "kind": "const",+ "value": [+ 109,+ 97,+ 121,+ 104,+ 101,+ 109,+ 45,+ 115,+ 116,+ 97,+ 116,+ 101+ ]},{"kind": "account",- "path": "quote_mint"+ "path": "mint"}],"program": {- "kind": "account",- "path": "associated_token_program"+ "kind": "const",+ "value": [+ 5,+ 42,+ 229,+ 215,+ 167,+ 218,+ 167,+ 36,+ 166,+ 234,+ 176,+ 167,+ 41,+ 84,+ 145,+ 133,+ 90,+ 212,+ 160,+ 103,+ 22,+ 96,+ 103,+ 76,+ 78,+ 3,+ 69,+ 89,+ 128,+ 61,+ 101,+ 163+ ]}}},{- "name": "user",- "signer": true- },- {- "name": "system_program",- "address": "11111111111111111111111111111111"- },- {- "name": "pump_amm",- "address": "pAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA"+ "name": "mayhem_token_vault",+ "writable": true},{- "name": "pool",- "writable": true,+ "name": "event_authority","pda": {"seeds": [{"kind": "const",- "value": [112, 111, 111, 108]- },- {- "kind": "const",- "value": [0, 0]- },- {- "kind": "account",- "path": "pool_authority"- },- {- "kind": "account",- "path": "base_mint"- },- {- "kind": "account",- "path": "quote_mint"+ "value": [+ 95,+ 95,+ 101,+ 118,+ 101,+ 110,+ 116,+ 95,+ 97,+ 117,+ 116,+ 104,+ 111,+ 114,+ 105,+ 116,+ 121+ ]}- ],- "program": {- "kind": "account",- "path": "pump_amm"+ ]+ }+ },+ {+ "name": "program"+ }+ ],+ "args": [+ {+ "name": "name",+ "type": "string"+ },+ {+ "name": "symbol",+ "type": "string"+ },+ {+ "name": "uri",+ "type": "string"+ },+ {+ "name": "creator",+ "type": "pubkey"+ },+ {+ "name": "is_mayhem_mode",+ "type": "bool"+ },+ {+ "name": "is_cashback_enabled",+ "type": {+ "defined": {+ "name": "OptionBool"}}},{- "name": "pool_authority",- "writable": true,+ "name": "creator_fee_bps",+ "type": {+ "defined": {+ "name": "OptionU64"+ }+ }+ },+ {+ "name": "is_holder_reward",+ "type": {+ "defined": {+ "name": "OptionBool"+ }+ }+ }+ ]+ },+ {+ "name": "distribute_creator_fees",+ "docs": [+ "Distributes creator fees to shareholders based on their share percentages",+ "The creator vault needs to have at least the minimum distributable amount to distribute fees",+ "This can be checked with the get_minimum_distributable_fee instruction"+ ],+ "discriminator": [+ 165,+ 114,+ 103,+ 0,+ 121,+ 206,+ 247,+ 81+ ],+ "accounts": [+ {+ "name": "mint",+ "relations": [+ "sharing_config"+ ]+ },+ {+ "name": "bonding_curve","pda": {"seeds": [{"kind": "const","value": [- 112, 111, 111, 108, 45, 97, 117, 116, 104, 111, 114, 105, 116,- 121+ 98,+ 111,+ 110,+ 100,+ 105,+ 110,+ 103,+ 45,+ 99,+ 117,+ 114,+ 118,+ 101]},{"kind": "account",- "path": "base_mint"+ "path": "mint"}]}},{- "name": "pool_authority_mint_account",- "writable": true,+ "name": "sharing_config","pda": {"seeds": [{- "kind": "account",- "path": "pool_authority"- },- {- "kind": "account",- "path": "base_token_program"+ "kind": "const",+ "value": [+ 115,+ 104,+ 97,+ 114,+ 105,+ 110,+ 103,+ 45,+ 99,+ 111,+ 110,+ 102,+ 105,+ 103+ ]},{"kind": "account",- "path": "base_mint"+ "path": "mint"}],"program": {- "kind": "account",- "path": "associated_token_program"+ "kind": "const",+ "value": [+ 12,+ 53,+ 255,+ 169,+ 5,+ 90,+ 142,+ 86,+ 141,+ 168,+ 247,+ 188,+ 7,+ 86,+ 21,+ 39,+ 76,+ 241,+ 201,+ 44,+ 164,+ 31,+ 64,+ 0,+ 156,+ 81,+ 106,+ 164,+ 20,+ 194,+ 124,+ 112+ ]}}},{- "name": "pool_authority_quote_account",+ "name": "creator_vault","writable": true,"pda": {"seeds": [{- "kind": "account",- "path": "pool_authority"- },- {- "kind": "account",- "path": "quote_token_program"+ "kind": "const",+ "value": [+ 99,+ 114,+ 101,+ 97,+ 116,+ 111,+ 114,+ 45,+ 118,+ 97,+ 117,+ 108,+ 116+ ]},{"kind": "account",- "path": "quote_mint"+ "path": "bonding_curve.creator",+ "account": "BondingCurve"}- ],- "program": {- "kind": "account",- "path": "associated_token_program"- }+ ]}},{- "name": "amm_global_config",- "pda": {- "seeds": [+ "name": "system_program",+ "address": "11111111111111111111111111111111"+ },+ {+ "name": "event_authority",+ "pda": {+ "seeds": [{"kind": "const","value": [- 103, 108, 111, 98, 97, 108, 95, 99, 111, 110, 102, 105, 103+ 95,+ 95,+ 101,+ 118,+ 101,+ 110,+ 116,+ 95,+ 97,+ 117,+ 116,+ 104,+ 111,+ 114,+ 105,+ 116,+ 121]}- ],- "program": {- "kind": "account",- "path": "pump_amm"- }+ ]}},{- "name": "lp_mint",+ "name": "program",+ "address": "6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P"+ }+ ],+ "args": [],+ "returns": {+ "defined": {+ "name": "DistributeCreatorFeesEvent"+ }+ }+ },+ {+ "name": "distribute_creator_fees_v2",+ "discriminator": [+ 255,+ 203,+ 19,+ 79,+ 244,+ 68,+ 8,+ 159+ ],+ "accounts": [+ {+ "name": "payer","writable": true,+ "signer": true+ },+ {+ "name": "mint",+ "relations": [+ "sharing_config"+ ]+ },+ {+ "name": "bonding_curve","pda": {"seeds": [{"kind": "const","value": [- 112, 111, 111, 108, 95, 108, 112, 95, 109, 105, 110, 116+ 98,+ 111,+ 110,+ 100,+ 105,+ 110,+ 103,+ 45,+ 99,+ 117,+ 114,+ 118,+ 101]},{"kind": "account",- "path": "pool"+ "path": "mint"}- ],- "program": {- "kind": "account",- "path": "pump_amm"- }+ ]}},{- "name": "user_pool_token_account",- "writable": true,+ "name": "sharing_config","pda": {"seeds": [{- "kind": "account",- "path": "pool_authority"- },- {- "kind": "account",- "path": "token_2022_program"+ "kind": "const",+ "value": [+ 115,+ 104,+ 97,+ 114,+ 105,+ 110,+ 103,+ 45,+ 99,+ 111,+ 110,+ 102,+ 105,+ 103+ ]},{"kind": "account",- "path": "lp_mint"+ "path": "mint"}],"program": {- "kind": "account",- "path": "associated_token_program"+ "kind": "const",+ "value": [+ 12,+ 53,+ 255,+ 169,+ 5,+ 90,+ 142,+ 86,+ 141,+ 168,+ 247,+ 188,+ 7,+ 86,+ 21,+ 39,+ 76,+ 241,+ 201,+ 44,+ 164,+ 31,+ 64,+ 0,+ 156,+ 81,+ 106,+ 164,+ 20,+ 194,+ 124,+ 112+ ]}}},{- "name": "pool_base_token_account",+ "name": "creator_vault","writable": true,"pda": {"seeds": [{- "kind": "account",- "path": "pool"+ "kind": "const",+ "value": [+ 99,+ 114,+ 101,+ 97,+ 116,+ 111,+ 114,+ 45,+ 118,+ 97,+ 117,+ 108,+ 116+ ]},{"kind": "account",- "path": "base_token_program"- },+ "path": "bonding_curve.creator",+ "account": "BondingCurve"+ }+ ]+ }+ },+ {+ "name": "system_program",+ "address": "11111111111111111111111111111111"+ },+ {+ "name": "event_authority",+ "pda": {+ "seeds": [{- "kind": "account",- "path": "base_mint"+ "kind": "const",+ "value": [+ 95,+ 95,+ 101,+ 118,+ 101,+ 110,+ 116,+ 95,+ 97,+ 117,+ 116,+ 104,+ 111,+ 114,+ 105,+ 116,+ 121+ ]}- ],- "program": {- "kind": "account",- "path": "associated_token_program"- }+ ]}},{- "name": "pool_quote_token_account",+ "name": "program",+ "address": "6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P"+ },+ {+ "name": "creator_vault_quote_token_account",+ "docs": [+ "Deserialized manually in the handler for non-legacy quote mints."+ ],"writable": true,"pda": {"seeds": [{"kind": "account",- "path": "pool"+ "path": "creator_vault"},{"kind": "account",@@ -3653,67 +6163,130 @@}},{- "name": "base_token_program"+ "name": "quote_mint"},{"name": "quote_token_program"},- {- "name": "token_2022_program",- "address": "TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb"- },{"name": "associated_token_program","address": "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL"- },- {- "name": "pump_amm_event_authority"- },+ }+ ],+ "args": [{- "name": "rent",- "address": "SysvarRent111111111111111111111111111111111"- },+ "name": "initialize_ata",+ "type": "bool"+ }+ ],+ "returns": {+ "defined": {+ "name": "DistributeCreatorFeesEvent"+ }+ }+ },+ {+ "name": "distribute_fee_to_holders",+ "docs": [+ "Pays fees collected on the `holder-rewards` PDA (via `collect_creator_fee*` with the PDA",+ "as creator) out to holders: `amounts[i]` goes to remaining accounts `[2i]` (owner) /",+ "`[2i + 1]` (its quote ATA, created if missing). `holder_rewards_token_account` is any",+ "quote token account owned by the PDA (normally its ATA): the source on a token quote, and",+ "on a SOL quote a parked WSOL account closed into the PDA first; pass the program id when",+ "there is none. Signed by `Global.holder_reward_claim_authority`."+ ],+ "discriminator": [+ 98,+ 54,+ 145,+ 97,+ 2,+ 70,+ 173,+ 43+ ],+ "accounts": [{- "name": "event_authority",+ "name": "global","pda": {"seeds": [{"kind": "const","value": [- 95, 95, 101, 118, 101, 110, 116, 95, 97, 117, 116, 104, 111,- 114, 105, 116, 121+ 103,+ 108,+ 111,+ 98,+ 97,+ 108]}]}},{- "name": "program"- }- ],- "args": []- },- {- "name": "remove_quote_mint",- "discriminator": [177, 65, 223, 38, 88, 209, 158, 155],- "accounts": [+ "name": "holder_reward_claim_authority",+ "writable": true,+ "signer": true,+ "relations": [+ "global"+ ]+ },{- "name": "global",+ "name": "mint"+ },+ {+ "name": "holder_rewards",+ "docs": [+ "deliver the collected fees here (lamports on a SOL quote)"+ ],"writable": true,"pda": {"seeds": [{"kind": "const",- "value": [103, 108, 111, 98, 97, 108]+ "value": [+ 104,+ 111,+ 108,+ 100,+ 101,+ 114,+ 45,+ 114,+ 101,+ 119,+ 97,+ 114,+ 100,+ 115+ ]+ },+ {+ "kind": "account",+ "path": "mint"}]}},{- "name": "authority",+ "name": "holder_rewards_token_account","writable": true,- "signer": true,- "relations": ["global"]+ "optional": true+ },+ {+ "name": "quote_mint"+ },+ {+ "name": "quote_token_program"+ },+ {+ "name": "associated_token_program",+ "address": "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL"+ },+ {+ "name": "system_program",+ "address": "11111111111111111111111111111111"},{"name": "event_authority",@@ -3722,8 +6295,23 @@{"kind": "const","value": [- 95, 95, 101, 118, 101, 110, 116, 95, 97, 117, 116, 104, 111,- 114, 105, 116, 121+ 95,+ 95,+ 101,+ 118,+ 101,+ 110,+ 116,+ 95,+ 97,+ 117,+ 116,+ 104,+ 111,+ 114,+ 105,+ 116,+ 121]}]@@ -3735,48 +6323,120 @@],"args": [{- "name": "quote_mint",- "type": "pubkey"+ "name": "amounts",+ "type": {+ "vec": "u64"+ }}]},{- "name": "sell",+ "name": "extend_account","docs": [- "Sells tokens into a bonding curve.",- "For cashback coins, pass as remaining_accounts: [0] user_volume_accumulator,",- "[1] bonding_curve_v2. If provided and valid, creator_fee goes to user_volume_accumulator.",- "Otherwise, falls back to transferring creator_fee to creator_vault."+ "Extends the size of program-owned accounts"+ ],+ "discriminator": [+ 234,+ 102,+ 194,+ 203,+ 150,+ 72,+ 62,+ 229],- "discriminator": [51, 230, 133, 164, 1, 127, 131, 173],"accounts": [{- "name": "global",+ "name": "account",+ "writable": true+ },+ {+ "name": "user",+ "writable": true,+ "signer": true+ },+ {+ "name": "system_program",+ "address": "11111111111111111111111111111111"+ },+ {+ "name": "event_authority","pda": {"seeds": [{"kind": "const",- "value": [103, 108, 111, 98, 97, 108]+ "value": [+ 95,+ 95,+ 101,+ 118,+ 101,+ 110,+ 116,+ 95,+ 97,+ 117,+ 116,+ 104,+ 111,+ 114,+ 105,+ 116,+ 121+ ]}]}},{- "name": "fee_recipient",- "writable": true- },+ "name": "program"+ }+ ],+ "args": []+ },+ {+ "name": "get_minimum_distributable_fee",+ "docs": [+ "Permissionless instruction to check the minimum required fees for distribution",+ "Returns the minimum required balance from the creator_vault and whether distribution can proceed"+ ],+ "discriminator": [+ 117,+ 225,+ 127,+ 202,+ 134,+ 95,+ 68,+ 35+ ],+ "accounts": [{- "name": "mint"+ "name": "mint",+ "relations": [+ "sharing_config"+ ]},{"name": "bonding_curve",- "writable": true,"pda": {"seeds": [{"kind": "const","value": [- 98, 111, 110, 100, 105, 110, 103, 45, 99, 117, 114, 118, 101+ 98,+ 111,+ 110,+ 100,+ 105,+ 110,+ 103,+ 45,+ 99,+ 117,+ 114,+ 118,+ 101]},{@@ -3787,17 +6447,27 @@}},{- "name": "associated_bonding_curve",- "writable": true,+ "name": "sharing_config","pda": {"seeds": [{- "kind": "account",- "path": "bonding_curve"- },- {- "kind": "account",- "path": "token_program"+ "kind": "const",+ "value": [+ 115,+ 104,+ 97,+ 114,+ 105,+ 110,+ 103,+ 45,+ 99,+ 111,+ 110,+ 102,+ 105,+ 103+ ]},{"kind": "account",@@ -3807,35 +6477,62 @@"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+ 12,+ 53,+ 255,+ 169,+ 5,+ 90,+ 142,+ 86,+ 141,+ 168,+ 247,+ 188,+ 7,+ 86,+ 21,+ 39,+ 76,+ 241,+ 201,+ 44,+ 164,+ 31,+ 64,+ 0,+ 156,+ 81,+ 106,+ 164,+ 20,+ 194,+ 124,+ 112]}}},- {- "name": "associated_user",- "writable": true- },- {- "name": "user",- "writable": true,- "signer": true- },- {- "name": "system_program",- "address": "11111111111111111111111111111111"- },{"name": "creator_vault",- "writable": true,"pda": {"seeds": [{"kind": "const","value": [- 99, 114, 101, 97, 116, 111, 114, 45, 118, 97, 117, 108, 116+ 99,+ 114,+ 101,+ 97,+ 116,+ 111,+ 114,+ 45,+ 118,+ 97,+ 117,+ 108,+ 116]},{@@ -3845,428 +6542,4343 @@}]}+ }+ ],+ "args": [],+ "returns": {+ "defined": {+ "name": "MinimumDistributableFeeEvent"+ }+ }+ },+ {+ "name": "init_user_volume_accumulator",+ "discriminator": [+ 94,+ 6,+ 202,+ 115,+ 255,+ 96,+ 232,+ 183+ ],+ "accounts": [+ {+ "name": "payer",+ "writable": true,+ "signer": true},{- "name": "token_program"+ "name": "user"},{- "name": "event_authority",+ "name": "user_volume_accumulator",+ "writable": true,"pda": {"seeds": [{"kind": "const","value": [- 95, 95, 101, 118, 101, 110, 116, 95, 97, 117, 116, 104, 111,- 114, 105, 116, 121+ 117,+ 115,+ 101,+ 114,+ 95,+ 118,+ 111,+ 108,+ 117,+ 109,+ 101,+ 95,+ 97,+ 99,+ 99,+ 117,+ 109,+ 117,+ 108,+ 97,+ 116,+ 111,+ 114]+ },+ {+ "kind": "account",+ "path": "user"}]}},{- "name": "program",- "address": "6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P"+ "name": "system_program",+ "address": "11111111111111111111111111111111"},{- "name": "fee_config",+ "name": "event_authority","pda": {"seeds": [- {- "kind": "const",- "value": [102, 101, 101, 95, 99, 111, 110, 102, 105, 103]- },{"kind": "const","value": [- 1, 86, 224, 246, 147, 102, 90, 207, 68, 219, 21, 104, 191, 23,- 91, 170, 81, 137, 203, 151, 245, 210, 255, 59, 101, 93, 43,- 182, 253, 109, 24, 176+ 95,+ 95,+ 101,+ 118,+ 101,+ 110,+ 116,+ 95,+ 97,+ 117,+ 116,+ 104,+ 111,+ 114,+ 105,+ 116,+ 121]}- ],- "program": {- "kind": "account",- "path": "fee_program"- }+ ]}},{- "name": "fee_program",- "address": "pfeeUxB6jkeY1Hxd7CsFCAjcbHA9rWtchMGdZ6VojVZ"+ "name": "program"}],- "args": [+ "args": []+ },+ {+ "name": "initialize",+ "docs": [+ "Creates the global state."+ ],+ "discriminator": [+ 175,+ 175,+ 109,+ 31,+ 13,+ 152,+ 155,+ 237+ ],+ "accounts": [{- "name": "amount",- "type": "u64"+ "name": "global",+ "writable": true,+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 103,+ 108,+ 111,+ 98,+ 97,+ 108+ ]+ }+ ]+ }},{- "name": "min_sol_output",- "type": "u64"+ "name": "user",+ "writable": true,+ "signer": true+ },+ {+ "name": "system_program",+ "address": "11111111111111111111111111111111"}- ]+ ],+ "args": []},{- "name": "sell_v2",- "discriminator": [93, 246, 130, 60, 231, 233, 64, 178],+ "name": "initialize_quote_control",+ "discriminator": [+ 239,+ 73,+ 245,+ 173,+ 209,+ 177,+ 84,+ 66+ ],"accounts": [{- "name": "global",+ "name": "quote_control",+ "writable": true,"pda": {"seeds": [{"kind": "const",- "value": [103, 108, 111, 98, 97, 108]+ "value": [+ 113,+ 117,+ 111,+ 116,+ 101,+ 45,+ 99,+ 111,+ 110,+ 116,+ 114,+ 111,+ 108+ ]}]}},{- "name": "base_mint"+ "name": "user",+ "writable": true,+ "signer": true},{- "name": "quote_mint"- },+ "name": "system_program",+ "address": "11111111111111111111111111111111"+ }+ ],+ "args": []+ },+ {+ "name": "migrate",+ "docs": [+ "Migrates liquidity to pump_amm if the bonding curve is complete"+ ],+ "discriminator": [+ 155,+ 234,+ 231,+ 146,+ 236,+ 158,+ 162,+ 30+ ],+ "accounts": [{- "name": "base_token_program"+ "name": "global",+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 103,+ 108,+ 111,+ 98,+ 97,+ 108+ ]+ }+ ]+ }},{- "name": "quote_token_program"+ "name": "withdraw_authority",+ "writable": true,+ "relations": [+ "global"+ ]},{- "name": "associated_token_program",- "address": "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL"+ "name": "mint"},{- "name": "fee_recipient",- "writable": true+ "name": "bonding_curve",+ "writable": true,+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 98,+ 111,+ 110,+ 100,+ 105,+ 110,+ 103,+ 45,+ 99,+ 117,+ 114,+ 118,+ 101+ ]+ },+ {+ "kind": "account",+ "path": "mint"+ }+ ]+ }},{- "name": "associated_quote_fee_recipient",+ "name": "associated_bonding_curve","writable": true,"pda": {"seeds": [{"kind": "account",- "path": "fee_recipient"+ "path": "bonding_curve"},{"kind": "account",- "path": "quote_token_program"+ "path": "mint"},{"kind": "account",- "path": "quote_mint"+ "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+ 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": "buyback_fee_recipient",- "writable": true+ "name": "user",+ "writable": true,+ "signer": true},{- "name": "associated_quote_buyback_fee_recipient",+ "name": "system_program",+ "address": "11111111111111111111111111111111"+ },+ {+ "name": "token_program",+ "address": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"+ },+ {+ "name": "pump_amm",+ "address": "pAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA"+ },+ {+ "name": "pool","writable": true,"pda": {"seeds": [+ {+ "kind": "const",+ "value": [+ 112,+ 111,+ 111,+ 108+ ]+ },+ {+ "kind": "const",+ "value": [+ 0,+ 0+ ]+ },{"kind": "account",- "path": "buyback_fee_recipient"+ "path": "pool_authority"},{"kind": "account",- "path": "quote_token_program"+ "path": "mint"},{"kind": "account",- "path": "quote_mint"+ "path": "wsol_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- ]+ "kind": "account",+ "path": "pump_amm"}}},{- "name": "bonding_curve",+ "name": "pool_authority","writable": true,"pda": {"seeds": [{"kind": "const","value": [- 98, 111, 110, 100, 105, 110, 103, 45, 99, 117, 114, 118, 101+ 112,+ 111,+ 111,+ 108,+ 45,+ 97,+ 117,+ 116,+ 104,+ 111,+ 114,+ 105,+ 116,+ 121]},{"kind": "account",- "path": "base_mint"+ "path": "mint"}]}},{- "name": "associated_base_bonding_curve",+ "name": "pool_authority_mint_account","writable": true,"pda": {"seeds": [{"kind": "account",- "path": "bonding_curve"+ "path": "pool_authority"},{"kind": "account",- "path": "base_token_program"+ "path": "mint"},{"kind": "account",- "path": "base_mint"+ "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- ]+ "kind": "account",+ "path": "associated_token_program"}}},{- "name": "associated_quote_bonding_curve",+ "name": "pool_authority_wsol_account","writable": true,"pda": {"seeds": [{"kind": "account",- "path": "bonding_curve"+ "path": "pool_authority"},{"kind": "account",- "path": "quote_token_program"+ "path": "token_program"},{"kind": "account",- "path": "quote_mint"+ "path": "wsol_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- ]+ "kind": "account",+ "path": "associated_token_program"}}},{- "name": "user",- "writable": true,- "signer": true+ "name": "amm_global_config",+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 103,+ 108,+ 111,+ 98,+ 97,+ 108,+ 95,+ 99,+ 111,+ 110,+ 102,+ 105,+ 103+ ]+ }+ ],+ "program": {+ "kind": "account",+ "path": "pump_amm"+ }+ }},{- "name": "associated_base_user",- "writable": true+ "name": "wsol_mint",+ "address": "So11111111111111111111111111111111111111112"},{- "name": "associated_quote_user",+ "name": "lp_mint","writable": true,"pda": {"seeds": [{- "kind": "account",- "path": "user"- },- {- "kind": "account",- "path": "quote_token_program"+ "kind": "const",+ "value": [+ 112,+ 111,+ 111,+ 108,+ 95,+ 108,+ 112,+ 95,+ 109,+ 105,+ 110,+ 116+ ]},{"kind": "account",- "path": "quote_mint"+ "path": "pool"+ }+ ],+ "program": {+ "kind": "account",+ "path": "pump_amm"+ }+ }+ },+ {+ "name": "user_pool_token_account",+ "writable": true,+ "pda": {+ "seeds": [+ {+ "kind": "account",+ "path": "pool_authority"+ },+ {+ "kind": "account",+ "path": "token_2022_program"+ },+ {+ "kind": "account",+ "path": "lp_mint"+ }+ ],+ "program": {+ "kind": "account",+ "path": "associated_token_program"+ }+ }+ },+ {+ "name": "pool_base_token_account",+ "writable": true,+ "pda": {+ "seeds": [+ {+ "kind": "account",+ "path": "pool"+ },+ {+ "kind": "account",+ "path": "mint"+ },+ {+ "kind": "account",+ "path": "mint"+ }+ ],+ "program": {+ "kind": "account",+ "path": "associated_token_program"+ }+ }+ },+ {+ "name": "pool_quote_token_account",+ "writable": true,+ "pda": {+ "seeds": [+ {+ "kind": "account",+ "path": "pool"+ },+ {+ "kind": "account",+ "path": "token_program"+ },+ {+ "kind": "account",+ "path": "wsol_mint"+ }+ ],+ "program": {+ "kind": "account",+ "path": "associated_token_program"+ }+ }+ },+ {+ "name": "token_2022_program",+ "address": "TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb"+ },+ {+ "name": "associated_token_program",+ "address": "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL"+ },+ {+ "name": "pump_amm_event_authority",+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 95,+ 95,+ 101,+ 118,+ 101,+ 110,+ 116,+ 95,+ 97,+ 117,+ 116,+ 104,+ 111,+ 114,+ 105,+ 116,+ 121+ ]+ }+ ],+ "program": {+ "kind": "account",+ "path": "pump_amm"+ }+ }+ },+ {+ "name": "event_authority",+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 95,+ 95,+ 101,+ 118,+ 101,+ 110,+ 116,+ 95,+ 97,+ 117,+ 116,+ 104,+ 111,+ 114,+ 105,+ 116,+ 121+ ]+ }+ ]+ }+ },+ {+ "name": "program",+ "address": "6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P"+ },+ {+ "name": "rent",+ "address": "SysvarRent111111111111111111111111111111111"+ }+ ],+ "args": []+ },+ {+ "name": "migrate_bonding_curve_creator",+ "discriminator": [+ 87,+ 124,+ 52,+ 191,+ 52,+ 38,+ 214,+ 232+ ],+ "accounts": [+ {+ "name": "mint",+ "relations": [+ "sharing_config"+ ]+ },+ {+ "name": "bonding_curve",+ "writable": true,+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 98,+ 111,+ 110,+ 100,+ 105,+ 110,+ 103,+ 45,+ 99,+ 117,+ 114,+ 118,+ 101+ ]+ },+ {+ "kind": "account",+ "path": "mint"+ }+ ]+ }+ },+ {+ "name": "sharing_config",+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 115,+ 104,+ 97,+ 114,+ 105,+ 110,+ 103,+ 45,+ 99,+ 111,+ 110,+ 102,+ 105,+ 103+ ]+ },+ {+ "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+ 12,+ 53,+ 255,+ 169,+ 5,+ 90,+ 142,+ 86,+ 141,+ 168,+ 247,+ 188,+ 7,+ 86,+ 21,+ 39,+ 76,+ 241,+ 201,+ 44,+ 164,+ 31,+ 64,+ 0,+ 156,+ 81,+ 106,+ 164,+ 20,+ 194,+ 124,+ 112]}}},{- "name": "creator_vault",+ "name": "event_authority",+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 95,+ 95,+ 101,+ 118,+ 101,+ 110,+ 116,+ 95,+ 97,+ 117,+ 116,+ 104,+ 111,+ 114,+ 105,+ 116,+ 121+ ]+ }+ ]+ }+ },+ {+ "name": "program"+ }+ ],+ "args": []+ },+ {+ "name": "migrate_v2",+ "docs": [+ "Migrates liquidity to pump_amm if the bonding curve is complete"+ ],+ "discriminator": [+ 187,+ 203,+ 18,+ 31,+ 206,+ 237,+ 254,+ 41+ ],+ "accounts": [+ {+ "name": "global",+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 103,+ 108,+ 111,+ 98,+ 97,+ 108+ ]+ }+ ]+ }+ },+ {+ "name": "withdraw_authority",+ "writable": true,+ "relations": [+ "global"+ ]+ },+ {+ "name": "base_mint"+ },+ {+ "name": "quote_mint"+ },+ {+ "name": "bonding_curve","writable": true,"pda": {"seeds": [{"kind": "const","value": [- 99, 114, 101, 97, 116, 111, 114, 45, 118, 97, 117, 108, 116+ 98,+ 111,+ 110,+ 100,+ 105,+ 110,+ 103,+ 45,+ 99,+ 117,+ 114,+ 118,+ 101]},{"kind": "account",- "path": "bonding_curve.creator",- "account": "BondingCurve"+ "path": "base_mint"}]}},{- "name": "associated_creator_vault",+ "name": "associated_base_bonding_curve","writable": true,"pda": {"seeds": [{"kind": "account",- "path": "creator_vault"+ "path": "bonding_curve"},{"kind": "account",- "path": "quote_token_program"+ "path": "base_token_program"},{"kind": "account",- "path": "quote_mint"+ "path": "base_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+ 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": "sharing_config",- "docs": [- "seeds; the account is intentionally not deserialized here because it may be uninitialized",- "for mints that have not created a fee sharing config. Handlers must check",- "`data_is_empty()` / owner before reading."- ],+ "name": "associated_quote_bonding_curve",+ "writable": true,+ "pda": {+ "seeds": [+ {+ "kind": "account",+ "path": "bonding_curve"+ },+ {+ "kind": "account",+ "path": "quote_token_program"+ },+ {+ "kind": "account",+ "path": "quote_mint"+ }+ ],+ "program": {+ "kind": "account",+ "path": "associated_token_program"+ }+ }+ },+ {+ "name": "user",+ "writable": true,+ "signer": true+ },+ {+ "name": "system_program",+ "address": "11111111111111111111111111111111"+ },+ {+ "name": "pump_amm",+ "address": "pAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA"+ },+ {+ "name": "pool",+ "writable": true,+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 112,+ 111,+ 111,+ 108+ ]+ },+ {+ "kind": "const",+ "value": [+ 0,+ 0+ ]+ },+ {+ "kind": "account",+ "path": "pool_authority"+ },+ {+ "kind": "account",+ "path": "base_mint"+ },+ {+ "kind": "account",+ "path": "quote_mint"+ }+ ],+ "program": {+ "kind": "account",+ "path": "pump_amm"+ }+ }+ },+ {+ "name": "pool_authority",+ "writable": true,+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 112,+ 111,+ 111,+ 108,+ 45,+ 97,+ 117,+ 116,+ 104,+ 111,+ 114,+ 105,+ 116,+ 121+ ]+ },+ {+ "kind": "account",+ "path": "base_mint"+ }+ ]+ }+ },+ {+ "name": "pool_authority_mint_account",+ "writable": true,+ "pda": {+ "seeds": [+ {+ "kind": "account",+ "path": "pool_authority"+ },+ {+ "kind": "account",+ "path": "base_token_program"+ },+ {+ "kind": "account",+ "path": "base_mint"+ }+ ],+ "program": {+ "kind": "account",+ "path": "associated_token_program"+ }+ }+ },+ {+ "name": "pool_authority_quote_account",+ "writable": true,+ "pda": {+ "seeds": [+ {+ "kind": "account",+ "path": "pool_authority"+ },+ {+ "kind": "account",+ "path": "quote_token_program"+ },+ {+ "kind": "account",+ "path": "quote_mint"+ }+ ],+ "program": {+ "kind": "account",+ "path": "associated_token_program"+ }+ }+ },+ {+ "name": "amm_global_config",+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 103,+ 108,+ 111,+ 98,+ 97,+ 108,+ 95,+ 99,+ 111,+ 110,+ 102,+ 105,+ 103+ ]+ }+ ],+ "program": {+ "kind": "account",+ "path": "pump_amm"+ }+ }+ },+ {+ "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"+ }+ ],+ "program": {+ "kind": "account",+ "path": "pump_amm"+ }+ }+ },+ {+ "name": "user_pool_token_account",+ "writable": true,+ "pda": {+ "seeds": [+ {+ "kind": "account",+ "path": "pool_authority"+ },+ {+ "kind": "account",+ "path": "token_2022_program"+ },+ {+ "kind": "account",+ "path": "lp_mint"+ }+ ],+ "program": {+ "kind": "account",+ "path": "associated_token_program"+ }+ }+ },+ {+ "name": "pool_base_token_account",+ "writable": true,+ "pda": {+ "seeds": [+ {+ "kind": "account",+ "path": "pool"+ },+ {+ "kind": "account",+ "path": "base_token_program"+ },+ {+ "kind": "account",+ "path": "base_mint"+ }+ ],+ "program": {+ "kind": "account",+ "path": "associated_token_program"+ }+ }+ },+ {+ "name": "pool_quote_token_account",+ "writable": true,+ "pda": {+ "seeds": [+ {+ "kind": "account",+ "path": "pool"+ },+ {+ "kind": "account",+ "path": "quote_token_program"+ },+ {+ "kind": "account",+ "path": "quote_mint"+ }+ ],+ "program": {+ "kind": "account",+ "path": "associated_token_program"+ }+ }+ },+ {+ "name": "base_token_program"+ },+ {+ "name": "quote_token_program"+ },+ {+ "name": "token_2022_program",+ "address": "TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb"+ },+ {+ "name": "associated_token_program",+ "address": "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL"+ },+ {+ "name": "pump_amm_event_authority"+ },+ {+ "name": "rent",+ "address": "SysvarRent111111111111111111111111111111111"+ },+ {+ "name": "event_authority",+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 95,+ 95,+ 101,+ 118,+ 101,+ 110,+ 116,+ 95,+ 97,+ 117,+ 116,+ 104,+ 111,+ 114,+ 105,+ 116,+ 121+ ]+ }+ ]+ }+ },+ {+ "name": "program"+ }+ ],+ "args": []+ },+ {+ "name": "multi_hop_curve_swap",+ "discriminator": [+ 225,+ 154,+ 117,+ 22,+ 215,+ 86,+ 246,+ 103+ ],+ "accounts": [+ {+ "name": "global",+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 103,+ 108,+ 111,+ 98,+ 97,+ 108+ ]+ }+ ]+ }+ },+ {+ "name": "fee_config",+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 102,+ 101,+ 101,+ 95,+ 99,+ 111,+ 110,+ 102,+ 105,+ 103+ ]+ },+ {+ "kind": "const",+ "value": [+ 1,+ 86,+ 224,+ 246,+ 147,+ 102,+ 90,+ 207,+ 68,+ 219,+ 21,+ 104,+ 191,+ 23,+ 91,+ 170,+ 81,+ 137,+ 203,+ 151,+ 245,+ 210,+ 255,+ 59,+ 101,+ 93,+ 43,+ 182,+ 253,+ 109,+ 24,+ 176+ ]+ }+ ],+ "program": {+ "kind": "const",+ "value": [+ 12,+ 53,+ 255,+ 169,+ 5,+ 90,+ 142,+ 86,+ 141,+ 168,+ 247,+ 188,+ 7,+ 86,+ 21,+ 39,+ 76,+ 241,+ 201,+ 44,+ 164,+ 31,+ 64,+ 0,+ 156,+ 81,+ 106,+ 164,+ 20,+ 194,+ 124,+ 112+ ]+ }+ }+ },+ {+ "name": "pump_amm_global_config",+ "signer": true,+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 103,+ 108,+ 111,+ 98,+ 97,+ 108,+ 95,+ 99,+ 111,+ 110,+ 102,+ 105,+ 103+ ]+ }+ ],+ "program": {+ "kind": "const",+ "value": [+ 12,+ 20,+ 222,+ 252,+ 130,+ 94,+ 198,+ 118,+ 148,+ 37,+ 8,+ 24,+ 187,+ 101,+ 64,+ 101,+ 244,+ 41,+ 141,+ 49,+ 86,+ 213,+ 113,+ 180,+ 212,+ 248,+ 9,+ 12,+ 24,+ 233,+ 168,+ 99+ ]+ }+ }+ },+ {+ "name": "user",+ "writable": true,+ "signer": true+ },+ {+ "name": "source_authority",+ "signer": true+ },+ {+ "name": "source",+ "writable": true+ },+ {+ "name": "destination",+ "writable": true+ },+ {+ "name": "buyback_fee_recipient",+ "writable": true+ },+ {+ "name": "token_program",+ "address": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"+ },+ {+ "name": "token_2022_program",+ "address": "TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb"+ },+ {+ "name": "system_program",+ "address": "11111111111111111111111111111111"+ },+ {+ "name": "event_authority",+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 95,+ 95,+ 101,+ 118,+ 101,+ 110,+ 116,+ 95,+ 97,+ 117,+ 116,+ 104,+ 111,+ 114,+ 105,+ 116,+ 121+ ]+ }+ ]+ }+ },+ {+ "name": "program",+ "address": "6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P"+ }+ ],+ "args": [+ {+ "name": "amount_in",+ "type": "u64"+ },+ {+ "name": "hop_fees",+ "type": "bytes"+ }+ ],+ "returns": {+ "defined": {+ "name": "CurveRunResult"+ }+ }+ },+ {+ "name": "remove_quote_control_mint",+ "discriminator": [+ 223,+ 7,+ 253,+ 26,+ 81,+ 165,+ 218,+ 166+ ],+ "accounts": [+ {+ "name": "authority",+ "writable": true,+ "signer": true+ },+ {+ "name": "global",+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 103,+ 108,+ 111,+ 98,+ 97,+ 108+ ]+ }+ ]+ }+ },+ {+ "name": "quote_control",+ "writable": true,+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 113,+ 117,+ 111,+ 116,+ 101,+ 45,+ 99,+ 111,+ 110,+ 116,+ 114,+ 111,+ 108+ ]+ }+ ]+ }+ },+ {+ "name": "system_program",+ "address": "11111111111111111111111111111111"+ },+ {+ "name": "event_authority",+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 95,+ 95,+ 101,+ 118,+ 101,+ 110,+ 116,+ 95,+ 97,+ 117,+ 116,+ 104,+ 111,+ 114,+ 105,+ 116,+ 121+ ]+ }+ ]+ }+ },+ {+ "name": "program"+ }+ ],+ "args": [+ {+ "name": "quote_mint",+ "type": "pubkey"+ }+ ]+ },+ {+ "name": "remove_quote_mint",+ "discriminator": [+ 177,+ 65,+ 223,+ 38,+ 88,+ 209,+ 158,+ 155+ ],+ "accounts": [+ {+ "name": "global",+ "writable": true,+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 103,+ 108,+ 111,+ 98,+ 97,+ 108+ ]+ }+ ]+ }+ },+ {+ "name": "authority",+ "writable": true,+ "signer": true,+ "relations": [+ "global"+ ]+ },+ {+ "name": "event_authority",+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 95,+ 95,+ 101,+ 118,+ 101,+ 110,+ 116,+ 95,+ 97,+ 117,+ 116,+ 104,+ 111,+ 114,+ 105,+ 116,+ 121+ ]+ }+ ]+ }+ },+ {+ "name": "program"+ }+ ],+ "args": [+ {+ "name": "quote_mint",+ "type": "pubkey"+ }+ ]+ },+ {+ "name": "sell",+ "docs": [+ "Sells tokens into a bonding curve.",+ "For cashback coins, pass as remaining_accounts: [0] user_volume_accumulator,",+ "[1] bonding_curve_v2. If provided and valid, creator_fee goes to user_volume_accumulator.",+ "Otherwise, falls back to transferring creator_fee to creator_vault."+ ],+ "discriminator": [+ 51,+ 230,+ 133,+ 164,+ 1,+ 127,+ 131,+ 173+ ],+ "accounts": [+ {+ "name": "global",+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 103,+ 108,+ 111,+ 98,+ 97,+ 108+ ]+ }+ ]+ }+ },+ {+ "name": "fee_recipient",+ "writable": true+ },+ {+ "name": "mint"+ },+ {+ "name": "bonding_curve",+ "writable": true,+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 98,+ 111,+ 110,+ 100,+ 105,+ 110,+ 103,+ 45,+ 99,+ 117,+ 114,+ 118,+ 101+ ]+ },+ {+ "kind": "account",+ "path": "mint"+ }+ ]+ }+ },+ {+ "name": "associated_bonding_curve",+ "writable": true,+ "pda": {+ "seeds": [+ {+ "kind": "account",+ "path": "bonding_curve"+ },+ {+ "kind": "account",+ "path": "token_program"+ },+ {+ "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": "associated_user",+ "writable": true+ },+ {+ "name": "user",+ "writable": true,+ "signer": true+ },+ {+ "name": "system_program",+ "address": "11111111111111111111111111111111"+ },+ {+ "name": "creator_vault",+ "writable": true,+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 99,+ 114,+ 101,+ 97,+ 116,+ 111,+ 114,+ 45,+ 118,+ 97,+ 117,+ 108,+ 116+ ]+ },+ {+ "kind": "account",+ "path": "bonding_curve.creator",+ "account": "BondingCurve"+ }+ ]+ }+ },+ {+ "name": "token_program"+ },+ {+ "name": "event_authority",+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 95,+ 95,+ 101,+ 118,+ 101,+ 110,+ 116,+ 95,+ 97,+ 117,+ 116,+ 104,+ 111,+ 114,+ 105,+ 116,+ 121+ ]+ }+ ]+ }+ },+ {+ "name": "program",+ "address": "6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P"+ },+ {+ "name": "fee_config",+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 102,+ 101,+ 101,+ 95,+ 99,+ 111,+ 110,+ 102,+ 105,+ 103+ ]+ },+ {+ "kind": "const",+ "value": [+ 1,+ 86,+ 224,+ 246,+ 147,+ 102,+ 90,+ 207,+ 68,+ 219,+ 21,+ 104,+ 191,+ 23,+ 91,+ 170,+ 81,+ 137,+ 203,+ 151,+ 245,+ 210,+ 255,+ 59,+ 101,+ 93,+ 43,+ 182,+ 253,+ 109,+ 24,+ 176+ ]+ }+ ],+ "program": {+ "kind": "account",+ "path": "fee_program"+ }+ }+ },+ {+ "name": "fee_program",+ "address": "pfeeUxB6jkeY1Hxd7CsFCAjcbHA9rWtchMGdZ6VojVZ"+ }+ ],+ "args": [+ {+ "name": "amount",+ "type": "u64"+ },+ {+ "name": "min_sol_output",+ "type": "u64"+ }+ ]+ },+ {+ "name": "sell_v2",+ "discriminator": [+ 93,+ 246,+ 130,+ 60,+ 231,+ 233,+ 64,+ 178+ ],+ "accounts": [+ {+ "name": "global",+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 103,+ 108,+ 111,+ 98,+ 97,+ 108+ ]+ }+ ]+ }+ },+ {+ "name": "base_mint"+ },+ {+ "name": "quote_mint"+ },+ {+ "name": "base_token_program"+ },+ {+ "name": "quote_token_program"+ },+ {+ "name": "associated_token_program",+ "address": "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL"+ },+ {+ "name": "fee_recipient",+ "writable": true+ },+ {+ "name": "associated_quote_fee_recipient",+ "writable": true,+ "pda": {+ "seeds": [+ {+ "kind": "account",+ "path": "fee_recipient"+ },+ {+ "kind": "account",+ "path": "quote_token_program"+ },+ {+ "kind": "account",+ "path": "quote_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": "buyback_fee_recipient",+ "writable": true+ },+ {+ "name": "associated_quote_buyback_fee_recipient",+ "writable": true,+ "pda": {+ "seeds": [+ {+ "kind": "account",+ "path": "buyback_fee_recipient"+ },+ {+ "kind": "account",+ "path": "quote_token_program"+ },+ {+ "kind": "account",+ "path": "quote_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": "bonding_curve",+ "writable": true,+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 98,+ 111,+ 110,+ 100,+ 105,+ 110,+ 103,+ 45,+ 99,+ 117,+ 114,+ 118,+ 101+ ]+ },+ {+ "kind": "account",+ "path": "base_mint"+ }+ ]+ }+ },+ {+ "name": "associated_base_bonding_curve",+ "writable": true,+ "pda": {+ "seeds": [+ {+ "kind": "account",+ "path": "bonding_curve"+ },+ {+ "kind": "account",+ "path": "base_token_program"+ },+ {+ "kind": "account",+ "path": "base_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": "associated_quote_bonding_curve",+ "writable": true,+ "pda": {+ "seeds": [+ {+ "kind": "account",+ "path": "bonding_curve"+ },+ {+ "kind": "account",+ "path": "quote_token_program"+ },+ {+ "kind": "account",+ "path": "quote_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": "user",+ "writable": true,+ "signer": true+ },+ {+ "name": "associated_base_user",+ "writable": true+ },+ {+ "name": "associated_quote_user",+ "docs": [+ "canonical SPL associated-token PDA. Validated in `sell_v2_ix` via",+ "`validate_user_quote_token_account` for non-legacy mints; ignored for legacy (SOL) trades."+ ],+ "writable": true+ },+ {+ "name": "creator_vault",+ "writable": true,+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 99,+ 114,+ 101,+ 97,+ 116,+ 111,+ 114,+ 45,+ 118,+ 97,+ 117,+ 108,+ 116+ ]+ },+ {+ "kind": "account",+ "path": "bonding_curve.creator",+ "account": "BondingCurve"+ }+ ]+ }+ },+ {+ "name": "associated_creator_vault",+ "writable": true,+ "pda": {+ "seeds": [+ {+ "kind": "account",+ "path": "creator_vault"+ },+ {+ "kind": "account",+ "path": "quote_token_program"+ },+ {+ "kind": "account",+ "path": "quote_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": "sharing_config",+ "docs": [+ "seeds; the account is intentionally not deserialized here because it may be uninitialized",+ "for mints that have not created a fee sharing config. Handlers must check",+ "`data_is_empty()` / owner before reading."+ ],+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 115,+ 104,+ 97,+ 114,+ 105,+ 110,+ 103,+ 45,+ 99,+ 111,+ 110,+ 102,+ 105,+ 103+ ]+ },+ {+ "kind": "account",+ "path": "base_mint"+ }+ ],+ "program": {+ "kind": "const",+ "value": [+ 12,+ 53,+ 255,+ 169,+ 5,+ 90,+ 142,+ 86,+ 141,+ 168,+ 247,+ 188,+ 7,+ 86,+ 21,+ 39,+ 76,+ 241,+ 201,+ 44,+ 164,+ 31,+ 64,+ 0,+ 156,+ 81,+ 106,+ 164,+ 20,+ 194,+ 124,+ 112+ ]+ }+ }+ },+ {+ "name": "user_volume_accumulator",+ "writable": true,+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 117,+ 115,+ 101,+ 114,+ 95,+ 118,+ 111,+ 108,+ 117,+ 109,+ 101,+ 95,+ 97,+ 99,+ 99,+ 117,+ 109,+ 117,+ 108,+ 97,+ 116,+ 111,+ 114+ ]+ },+ {+ "kind": "account",+ "path": "user"+ }+ ]+ }+ },+ {+ "name": "associated_user_volume_accumulator",+ "writable": true,+ "pda": {+ "seeds": [+ {+ "kind": "account",+ "path": "user_volume_accumulator"+ },+ {+ "kind": "account",+ "path": "quote_token_program"+ },+ {+ "kind": "account",+ "path": "quote_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": "fee_config",+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 102,+ 101,+ 101,+ 95,+ 99,+ 111,+ 110,+ 102,+ 105,+ 103+ ]+ },+ {+ "kind": "const",+ "value": [+ 1,+ 86,+ 224,+ 246,+ 147,+ 102,+ 90,+ 207,+ 68,+ 219,+ 21,+ 104,+ 191,+ 23,+ 91,+ 170,+ 81,+ 137,+ 203,+ 151,+ 245,+ 210,+ 255,+ 59,+ 101,+ 93,+ 43,+ 182,+ 253,+ 109,+ 24,+ 176+ ]+ }+ ],+ "program": {+ "kind": "account",+ "path": "fee_program"+ }+ }+ },+ {+ "name": "fee_program",+ "address": "pfeeUxB6jkeY1Hxd7CsFCAjcbHA9rWtchMGdZ6VojVZ"+ },+ {+ "name": "system_program",+ "address": "11111111111111111111111111111111"+ },+ {+ "name": "event_authority",+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 95,+ 95,+ 101,+ 118,+ 101,+ 110,+ 116,+ 95,+ 97,+ 117,+ 116,+ 104,+ 111,+ 114,+ 105,+ 116,+ 121+ ]+ }+ ]+ }+ },+ {+ "name": "program",+ "address": "6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P"+ }+ ],+ "args": [+ {+ "name": "amount",+ "type": "u64"+ },+ {+ "name": "min_sol_output",+ "type": "u64"+ }+ ]+ },+ {+ "name": "sell_v3",+ "discriminator": [+ 28,+ 146,+ 222,+ 119,+ 38,+ 196,+ 105,+ 213+ ],+ "accounts": [+ {+ "name": "global",+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 103,+ 108,+ 111,+ 98,+ 97,+ 108+ ]+ }+ ]+ }+ },+ {+ "name": "base_mint"+ },+ {+ "name": "quote_mint"+ },+ {+ "name": "base_token_program"+ },+ {+ "name": "quote_token_program"+ },+ {+ "name": "bonding_curve",+ "writable": true,+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 98,+ 111,+ 110,+ 100,+ 105,+ 110,+ 103,+ 45,+ 99,+ 117,+ 114,+ 118,+ 101+ ]+ },+ {+ "kind": "account",+ "path": "base_mint"+ }+ ]+ }+ },+ {+ "name": "associated_base_bonding_curve",+ "writable": true,+ "pda": {+ "seeds": [+ {+ "kind": "account",+ "path": "bonding_curve"+ },+ {+ "kind": "account",+ "path": "base_token_program"+ },+ {+ "kind": "account",+ "path": "base_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": "associated_quote_bonding_curve",+ "docs": [+ "Must already exist on a token quote (create_v2 creates it); ignored on a SOL quote."+ ],+ "writable": true,+ "pda": {+ "seeds": [+ {+ "kind": "account",+ "path": "bonding_curve"+ },+ {+ "kind": "account",+ "path": "quote_token_program"+ },+ {+ "kind": "account",+ "path": "quote_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": "user",+ "writable": true,+ "signer": true+ },+ {+ "name": "associated_base_user",+ "writable": true+ },+ {+ "name": "associated_quote_user",+ "docs": [+ "canonical SPL associated-token PDA. Validated in the handlers via",+ "`validate_user_quote_token_account` for non-legacy mints; ignored for legacy (SOL) trades."+ ],+ "writable": true+ },+ {+ "name": "user_volume_accumulator",+ "writable": true,+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 117,+ 115,+ 101,+ 114,+ 95,+ 118,+ 111,+ 108,+ 117,+ 109,+ 101,+ 95,+ 97,+ 99,+ 99,+ 117,+ 109,+ 117,+ 108,+ 97,+ 116,+ 111,+ 114+ ]+ },+ {+ "kind": "account",+ "path": "user"+ }+ ]+ }+ },+ {+ "name": "fee_config",+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 102,+ 101,+ 101,+ 95,+ 99,+ 111,+ 110,+ 102,+ 105,+ 103+ ]+ },+ {+ "kind": "const",+ "value": [+ 1,+ 86,+ 224,+ 246,+ 147,+ 102,+ 90,+ 207,+ 68,+ 219,+ 21,+ 104,+ 191,+ 23,+ 91,+ 170,+ 81,+ 137,+ 203,+ 151,+ 245,+ 210,+ 255,+ 59,+ 101,+ 93,+ 43,+ 182,+ 253,+ 109,+ 24,+ 176+ ]+ }+ ],+ "program": {+ "kind": "const",+ "value": [+ 12,+ 53,+ 255,+ 169,+ 5,+ 90,+ 142,+ 86,+ 141,+ 168,+ 247,+ 188,+ 7,+ 86,+ 21,+ 39,+ 76,+ 241,+ 201,+ 44,+ 164,+ 31,+ 64,+ 0,+ 156,+ 81,+ 106,+ 164,+ 20,+ 194,+ 124,+ 112+ ]+ }+ }+ },+ {+ "name": "buyback_fee_recipient",+ "writable": true+ },+ {+ "name": "system_program",+ "address": "11111111111111111111111111111111"+ },+ {+ "name": "event_authority",+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 95,+ 95,+ 101,+ 118,+ 101,+ 110,+ 116,+ 95,+ 97,+ 117,+ 116,+ 104,+ 111,+ 114,+ 105,+ 116,+ 121+ ]+ }+ ]+ }+ },+ {+ "name": "program",+ "address": "6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P"+ }+ ],+ "args": [+ {+ "name": "amount",+ "type": "u64"+ },+ {+ "name": "min_sol_output",+ "type": "u64"+ }+ ]+ },+ {+ "name": "set_creator",+ "docs": [+ "Allows Global::set_creator_authority to set the bonding curve creator from Metaplex metadata or input argument"+ ],+ "discriminator": [+ 254,+ 148,+ 255,+ 112,+ 207,+ 142,+ 170,+ 165+ ],+ "accounts": [+ {+ "name": "set_creator_authority",+ "signer": true,+ "relations": [+ "global"+ ]+ },+ {+ "name": "global",+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 103,+ 108,+ 111,+ 98,+ 97,+ 108+ ]+ }+ ]+ }+ },+ {+ "name": "mint"+ },+ {+ "name": "metadata",+ "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": "bonding_curve",+ "writable": true,+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 98,+ 111,+ 110,+ 100,+ 105,+ 110,+ 103,+ 45,+ 99,+ 117,+ 114,+ 118,+ 101+ ]+ },+ {+ "kind": "account",+ "path": "mint"+ }+ ]+ }+ },+ {+ "name": "event_authority",+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 95,+ 95,+ 101,+ 118,+ 101,+ 110,+ 116,+ 95,+ 97,+ 117,+ 116,+ 104,+ 111,+ 114,+ 105,+ 116,+ 121+ ]+ }+ ]+ }+ },+ {+ "name": "program"+ }+ ],+ "args": [+ {+ "name": "creator",+ "type": "pubkey"+ }+ ]+ },+ {+ "name": "set_max_curve_depth",+ "discriminator": [+ 32,+ 154,+ 152,+ 219,+ 142,+ 108,+ 218,+ 165+ ],+ "accounts": [+ {+ "name": "global",+ "writable": true,+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 103,+ 108,+ 111,+ 98,+ 97,+ 108+ ]+ }+ ]+ }+ },+ {+ "name": "authority",+ "writable": true,+ "signer": true,+ "relations": [+ "global"+ ]+ },+ {+ "name": "event_authority",+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 95,+ 95,+ 101,+ 118,+ 101,+ 110,+ 116,+ 95,+ 97,+ 117,+ 116,+ 104,+ 111,+ 114,+ 105,+ 116,+ 121+ ]+ }+ ]+ }+ },+ {+ "name": "program"+ }+ ],+ "args": [+ {+ "name": "max_curve_depth",+ "type": "u8"+ }+ ]+ },+ {+ "name": "set_mayhem_virtual_params",+ "discriminator": [+ 61,+ 169,+ 188,+ 191,+ 153,+ 149,+ 42,+ 97+ ],+ "accounts": [+ {+ "name": "sol_vault_authority",+ "writable": true,+ "signer": true,+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 115,+ 111,+ 108,+ 45,+ 118,+ 97,+ 117,+ 108,+ 116+ ]+ }+ ],+ "program": {+ "kind": "const",+ "value": [+ 5,+ 42,+ 229,+ 215,+ 167,+ 218,+ 167,+ 36,+ 166,+ 234,+ 176,+ 167,+ 41,+ 84,+ 145,+ 133,+ 90,+ 212,+ 160,+ 103,+ 22,+ 96,+ 103,+ 76,+ 78,+ 3,+ 69,+ 89,+ 128,+ 61,+ 101,+ 163+ ]+ }+ }+ },+ {+ "name": "mayhem_token_vault",+ "writable": true,+ "pda": {+ "seeds": [+ {+ "kind": "account",+ "path": "sol_vault_authority"+ },+ {+ "kind": "account",+ "path": "token_program"+ },+ {+ "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": "mint"+ },+ {+ "name": "global",+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 103,+ 108,+ 111,+ 98,+ 97,+ 108+ ]+ }+ ]+ }+ },+ {+ "name": "bonding_curve",+ "writable": true,+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 98,+ 111,+ 110,+ 100,+ 105,+ 110,+ 103,+ 45,+ 99,+ 117,+ 114,+ 118,+ 101+ ]+ },+ {+ "kind": "account",+ "path": "mint"+ }+ ]+ }+ },+ {+ "name": "token_program",+ "address": "TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb"+ },+ {+ "name": "event_authority",+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 95,+ 95,+ 101,+ 118,+ 101,+ 110,+ 116,+ 95,+ 97,+ 117,+ 116,+ 104,+ 111,+ 114,+ 105,+ 116,+ 121+ ]+ }+ ]+ }+ },+ {+ "name": "program"+ }+ ],+ "args": []+ },+ {+ "name": "set_metaplex_creator",+ "docs": [+ "Syncs the bonding curve creator with the Metaplex metadata creator if it exists"+ ],+ "discriminator": [+ 138,+ 96,+ 174,+ 217,+ 48,+ 85,+ 197,+ 246+ ],+ "accounts": [+ {+ "name": "mint"+ },+ {+ "name": "metadata",+ "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": "bonding_curve",+ "writable": true,+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 98,+ 111,+ 110,+ 100,+ 105,+ 110,+ 103,+ 45,+ 99,+ 117,+ 114,+ 118,+ 101+ ]+ },+ {+ "kind": "account",+ "path": "mint"+ }+ ]+ }+ },+ {+ "name": "event_authority",+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 95,+ 95,+ 101,+ 118,+ 101,+ 110,+ 116,+ 95,+ 97,+ 117,+ 116,+ 104,+ 111,+ 114,+ 105,+ 116,+ 121+ ]+ }+ ]+ }+ },+ {+ "name": "program"+ }+ ],+ "args": []+ },+ {+ "name": "set_params",+ "docs": [+ "Sets the global state parameters."+ ],+ "discriminator": [+ 27,+ 234,+ 178,+ 52,+ 147,+ 2,+ 187,+ 141+ ],+ "accounts": [+ {+ "name": "global",+ "writable": true,+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 103,+ 108,+ 111,+ 98,+ 97,+ 108+ ]+ }+ ]+ }+ },+ {+ "name": "authority",+ "writable": true,+ "signer": true,+ "relations": [+ "global"+ ]+ },+ {+ "name": "event_authority",+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 95,+ 95,+ 101,+ 118,+ 101,+ 110,+ 116,+ 95,+ 97,+ 117,+ 116,+ 104,+ 111,+ 114,+ 105,+ 116,+ 121+ ]+ }+ ]+ }+ },+ {+ "name": "program"+ }+ ],+ "args": [+ {+ "name": "initial_virtual_token_reserves",+ "type": "u64"+ },+ {+ "name": "initial_virtual_sol_reserves",+ "type": "u64"+ },+ {+ "name": "initial_real_token_reserves",+ "type": "u64"+ },+ {+ "name": "token_total_supply",+ "type": "u64"+ },+ {+ "name": "fee_basis_points",+ "type": "u64"+ },+ {+ "name": "withdraw_authority",+ "type": "pubkey"+ },+ {+ "name": "enable_migrate",+ "type": "bool"+ },+ {+ "name": "pool_migration_fee",+ "type": "u64"+ },+ {+ "name": "creator_fee_basis_points",+ "type": "u64"+ },+ {+ "name": "set_creator_authority",+ "type": "pubkey"+ },+ {+ "name": "admin_set_creator_authority",+ "type": "pubkey"+ }+ ]+ },+ {+ "name": "set_quote_control_admin",+ "discriminator": [+ 62,+ 79,+ 161,+ 211,+ 165,+ 170,+ 214,+ 210+ ],+ "accounts": [+ {+ "name": "global",+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 103,+ 108,+ 111,+ 98,+ 97,+ 108+ ]+ }+ ]+ }+ },+ {+ "name": "authority",+ "signer": true,+ "relations": [+ "global"+ ]+ },+ {+ "name": "quote_control",+ "writable": true,+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 113,+ 117,+ 111,+ 116,+ 101,+ 45,+ 99,+ 111,+ 110,+ 116,+ 114,+ 111,+ 108+ ]+ }+ ]+ }+ },+ {+ "name": "event_authority",+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 95,+ 95,+ 101,+ 118,+ 101,+ 110,+ 116,+ 95,+ 97,+ 117,+ 116,+ 104,+ 111,+ 114,+ 105,+ 116,+ 121+ ]+ }+ ]+ }+ },+ {+ "name": "program"+ }+ ],+ "args": [+ {+ "name": "new_admin",+ "type": "pubkey"+ }+ ]+ },+ {+ "name": "set_quote_control_mint_reserves",+ "discriminator": [+ 116,+ 220,+ 107,+ 83,+ 191,+ 44,+ 32,+ 73+ ],+ "accounts": [+ {+ "name": "authority",+ "signer": true+ },+ {+ "name": "global",+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 103,+ 108,+ 111,+ 98,+ 97,+ 108+ ]+ }+ ]+ }+ },+ {+ "name": "quote_control",+ "writable": true,+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 113,+ 117,+ 111,+ 116,+ 101,+ 45,+ 99,+ 111,+ 110,+ 116,+ 114,+ 111,+ 108+ ]+ }+ ]+ }+ },+ {+ "name": "event_authority",+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 95,+ 95,+ 101,+ 118,+ 101,+ 110,+ 116,+ 95,+ 97,+ 117,+ 116,+ 104,+ 111,+ 114,+ 105,+ 116,+ 121+ ]+ }+ ]+ }+ },+ {+ "name": "program"+ }+ ],+ "args": [+ {+ "name": "quote_mint",+ "type": "pubkey"+ },+ {+ "name": "initial_virtual_quote_reserves",+ "type": "u64"+ }+ ]+ },+ {+ "name": "set_quote_control_reserves_admin",+ "discriminator": [+ 161,+ 195,+ 222,+ 165,+ 225,+ 101,+ 192,+ 62+ ],+ "accounts": [+ {+ "name": "authority",+ "signer": true+ },+ {+ "name": "global","pda": {"seeds": [{"kind": "const","value": [- 115, 104, 97, 114, 105, 110, 103, 45, 99, 111, 110, 102, 105,- 103+ 103,+ 108,+ 111,+ 98,+ 97,+ 108]- },- {- "kind": "account",- "path": "base_mint"}- ],- "program": {- "kind": "const",- "value": [- 12, 53, 255, 169, 5, 90, 142, 86, 141, 168, 247, 188, 7, 86, 21,- 39, 76, 241, 201, 44, 164, 31, 64, 0, 156, 81, 106, 164, 20,- 194, 124, 112- ]- }+ ]}},{- "name": "user_volume_accumulator",+ "name": "quote_control","writable": true,"pda": {"seeds": [{"kind": "const","value": [- 117, 115, 101, 114, 95, 118, 111, 108, 117, 109, 101, 95, 97,- 99, 99, 117, 109, 117, 108, 97, 116, 111, 114+ 113,+ 117,+ 111,+ 116,+ 101,+ 45,+ 99,+ 111,+ 110,+ 116,+ 114,+ 111,+ 108]- },- {- "kind": "account",- "path": "user"}]}},{- "name": "associated_user_volume_accumulator",- "writable": true,+ "name": "event_authority","pda": {"seeds": [{- "kind": "account",- "path": "user_volume_accumulator"- },- {- "kind": "account",- "path": "quote_token_program"- },- {- "kind": "account",- "path": "quote_mint"+ "kind": "const",+ "value": [+ 95,+ 95,+ 101,+ 118,+ 101,+ 110,+ 116,+ 95,+ 97,+ 117,+ 116,+ 104,+ 111,+ 114,+ 105,+ 116,+ 121+ ]}- ],- "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_config",+ "name": "program"+ }+ ],+ "args": [+ {+ "name": "new_reserves_admin",+ "type": "pubkey"+ }+ ]+ },+ {+ "name": "set_reserved_fee_recipients",+ "discriminator": [+ 111,+ 172,+ 162,+ 232,+ 114,+ 89,+ 213,+ 142+ ],+ "accounts": [+ {+ "name": "global",+ "writable": true,"pda": {"seeds": [- {- "kind": "const",- "value": [102, 101, 101, 95, 99, 111, 110, 102, 105, 103]- },{"kind": "const","value": [- 1, 86, 224, 246, 147, 102, 90, 207, 68, 219, 21, 104, 191, 23,- 91, 170, 81, 137, 203, 151, 245, 210, 255, 59, 101, 93, 43,- 182, 253, 109, 24, 176+ 103,+ 108,+ 111,+ 98,+ 97,+ 108]}- ],- "program": {- "kind": "account",- "path": "fee_program"- }+ ]}},{- "name": "fee_program",- "address": "pfeeUxB6jkeY1Hxd7CsFCAjcbHA9rWtchMGdZ6VojVZ"- },- {- "name": "system_program",- "address": "11111111111111111111111111111111"+ "name": "authority",+ "signer": true,+ "relations": [+ "global"+ ]},{"name": "event_authority",@@ -4275,295 +10887,572 @@{"kind": "const","value": [- 95, 95, 101, 118, 101, 110, 116, 95, 97, 117, 116, 104, 111,- 114, 105, 116, 121+ 95,+ 95,+ 101,+ 118,+ 101,+ 110,+ 116,+ 95,+ 97,+ 117,+ 116,+ 104,+ 111,+ 114,+ 105,+ 116,+ 121]}]}},{- "name": "program",- "address": "6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P"+ "name": "program"}],"args": [{- "name": "amount",- "type": "u64"- },- {- "name": "min_sol_output",- "type": "u64"+ "name": "whitelist_pda",+ "type": "pubkey"}]},{- "name": "set_creator",- "docs": [- "Allows Global::set_creator_authority to set the bonding curve creator from Metaplex metadata or input argument"+ "name": "set_virtual_quote_reserves",+ "discriminator": [+ 101,+ 135,+ 191,+ 104,+ 9,+ 88,+ 20,+ 96],- "discriminator": [254, 148, 255, 112, 207, 142, 170, 165],"accounts": [- {- "name": "set_creator_authority",- "signer": true,- "relations": ["global"]- },{"name": "global",+ "writable": true,"pda": {"seeds": [{"kind": "const",- "value": [103, 108, 111, 98, 97, 108]+ "value": [+ 103,+ 108,+ 111,+ 98,+ 97,+ 108+ ]}]}},{- "name": "mint"+ "name": "authority",+ "writable": true,+ "signer": true,+ "relations": [+ "global"+ ]},{- "name": "metadata",+ "name": "event_authority","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+ 95,+ 95,+ 101,+ 118,+ 101,+ 110,+ 116,+ 95,+ 97,+ 117,+ 116,+ 104,+ 111,+ 114,+ 105,+ 116,+ 121]- },- {- "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": "bonding_curve",+ "name": "program"+ }+ ],+ "args": [+ {+ "name": "initial_virtual_quote_reserves",+ "type": "u64"+ }+ ]+ },+ {+ "name": "sweep_creator_fee",+ "discriminator": [+ 32,+ 246,+ 191,+ 52,+ 8,+ 201,+ 73,+ 186+ ],+ "accounts": [+ {+ "name": "payer","writable": true,+ "signer": true+ },+ {+ "name": "global","pda": {"seeds": [{"kind": "const","value": [- 98, 111, 110, 100, 105, 110, 103, 45, 99, 117, 114, 118, 101+ 103,+ 108,+ 111,+ 98,+ 97,+ 108]- },- {- "kind": "account",- "path": "mint"}]}},{- "name": "event_authority",+ "name": "base_mint"+ },+ {+ "name": "quote_mint"+ },+ {+ "name": "quote_token_program"+ },+ {+ "name": "associated_token_program",+ "address": "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL"+ },+ {+ "name": "system_program",+ "address": "11111111111111111111111111111111"+ },+ {+ "name": "bonding_curve",+ "writable": true,"pda": {"seeds": [{"kind": "const","value": [- 95, 95, 101, 118, 101, 110, 116, 95, 97, 117, 116, 104, 111,- 114, 105, 116, 121+ 98,+ 111,+ 110,+ 100,+ 105,+ 110,+ 103,+ 45,+ 99,+ 117,+ 114,+ 118,+ 101]+ },+ {+ "kind": "account",+ "path": "base_mint"}]}},{- "name": "program"- }- ],- "args": [- {- "name": "creator",- "type": "pubkey"- }- ]- },- {- "name": "set_mayhem_virtual_params",- "discriminator": [61, 169, 188, 191, 153, 149, 42, 97],- "accounts": [- {- "name": "sol_vault_authority",+ "name": "associated_quote_bonding_curve",+ "docs": [+ "the source on a token quote, ignored on a SOL quote."+ ],"writable": true,- "signer": true,"pda": {"seeds": [{- "kind": "const",- "value": [115, 111, 108, 45, 118, 97, 117, 108, 116]+ "kind": "account",+ "path": "bonding_curve"+ },+ {+ "kind": "account",+ "path": "quote_token_program"+ },+ {+ "kind": "account",+ "path": "quote_mint"}],"program": {"kind": "const","value": [- 5, 42, 229, 215, 167, 218, 167, 36, 166, 234, 176, 167, 41, 84,- 145, 133, 90, 212, 160, 103, 22, 96, 103, 76, 78, 3, 69, 89,- 128, 61, 101, 163+ 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": "mayhem_token_vault",+ "name": "recipient",+ "docs": [+ "recipient (`check_fee_recipient`) or the creator vault PDA of `bonding_curve.creator`."+ ],+ "writable": true+ },+ {+ "name": "associated_quote_recipient",+ "docs": [+ "created idempotently on a token quote, ignored on a SOL quote."+ ],"writable": true,"pda": {"seeds": [{"kind": "account",- "path": "sol_vault_authority"+ "path": "recipient"},{"kind": "account",- "path": "token_program"+ "path": "quote_token_program"},{"kind": "account",- "path": "mint"+ "path": "quote_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+ 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": "mint"- },- {- "name": "global",+ "name": "event_authority","pda": {"seeds": [{"kind": "const",- "value": [103, 108, 111, 98, 97, 108]+ "value": [+ 95,+ 95,+ 101,+ 118,+ 101,+ 110,+ 116,+ 95,+ 97,+ 117,+ 116,+ 104,+ 111,+ 114,+ 105,+ 116,+ 121+ ]}]}},{- "name": "bonding_curve",+ "name": "program"+ }+ ],+ "args": []+ },+ {+ "name": "sweep_protocol_fee",+ "discriminator": [+ 8,+ 48,+ 190,+ 7,+ 182,+ 68,+ 183,+ 229+ ],+ "accounts": [+ {+ "name": "payer","writable": true,+ "signer": true+ },+ {+ "name": "global","pda": {"seeds": [{"kind": "const","value": [- 98, 111, 110, 100, 105, 110, 103, 45, 99, 117, 114, 118, 101+ 103,+ 108,+ 111,+ 98,+ 97,+ 108]- },- {- "kind": "account",- "path": "mint"}]}},{- "name": "token_program",- "address": "TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb"+ "name": "base_mint"+ },+ {+ "name": "quote_mint"+ },+ {+ "name": "quote_token_program"+ },+ {+ "name": "associated_token_program",+ "address": "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL"},{- "name": "event_authority",+ "name": "system_program",+ "address": "11111111111111111111111111111111"+ },+ {+ "name": "bonding_curve",+ "writable": true,"pda": {"seeds": [{"kind": "const","value": [- 95, 95, 101, 118, 101, 110, 116, 95, 97, 117, 116, 104, 111,- 114, 105, 116, 121+ 98,+ 111,+ 110,+ 100,+ 105,+ 110,+ 103,+ 45,+ 99,+ 117,+ 114,+ 118,+ 101]+ },+ {+ "kind": "account",+ "path": "base_mint"}]}},{- "name": "program"- }- ],- "args": []- },- {- "name": "set_metaplex_creator",- "docs": [- "Syncs the bonding curve creator with the Metaplex metadata creator if it exists"- ],- "discriminator": [138, 96, 174, 217, 48, 85, 197, 246],- "accounts": [- {- "name": "mint"- },- {- "name": "metadata",+ "name": "associated_quote_bonding_curve",+ "docs": [+ "the source on a token quote, ignored on a SOL quote."+ ],+ "writable": true,"pda": {"seeds": [{- "kind": "const",- "value": [109, 101, 116, 97, 100, 97, 116, 97]+ "kind": "account",+ "path": "bonding_curve"},{- "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": "quote_token_program"},{"kind": "account",- "path": "mint"+ "path": "quote_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+ 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": "bonding_curve",+ "name": "recipient",+ "docs": [+ "recipient (`check_fee_recipient`) or the creator vault PDA of `bonding_curve.creator`."+ ],+ "writable": true+ },+ {+ "name": "associated_quote_recipient",+ "docs": [+ "created idempotently on a token quote, ignored on a SOL quote."+ ],"writable": true,"pda": {"seeds": [{- "kind": "const",- "value": [- 98, 111, 110, 100, 105, 110, 103, 45, 99, 117, 114, 118, 101- ]+ "kind": "account",+ "path": "recipient"},{"kind": "account",- "path": "mint"+ "path": "quote_token_program"+ },+ {+ "kind": "account",+ "path": "quote_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+ ]+ }}},{@@ -4573,8 +11462,23 @@{"kind": "const","value": [- 95, 95, 101, 118, 101, 110, 116, 95, 97, 117, 116, 104, 111,- 114, 105, 116, 121+ 95,+ 95,+ 101,+ 118,+ 101,+ 110,+ 116,+ 95,+ 97,+ 117,+ 116,+ 104,+ 111,+ 114,+ 105,+ 116,+ 121]}]@@ -4587,114 +11491,98 @@"args": []},{- "name": "set_params",- "docs": ["Sets the global state parameters."],- "discriminator": [27, 234, 178, 52, 147, 2, 187, 141],+ "name": "sync_user_volume_accumulator",+ "discriminator": [+ 86,+ 31,+ 192,+ 87,+ 163,+ 87,+ 79,+ 238+ ],"accounts": [{- "name": "global",- "writable": true,- "pda": {- "seeds": [- {- "kind": "const",- "value": [103, 108, 111, 98, 97, 108]- }- ]- }- },- {- "name": "authority",- "writable": true,- "signer": true,- "relations": ["global"]+ "name": "user"},{- "name": "event_authority",+ "name": "global_volume_accumulator","pda": {"seeds": [{"kind": "const","value": [- 95, 95, 101, 118, 101, 110, 116, 95, 97, 117, 116, 104, 111,- 114, 105, 116, 121+ 103,+ 108,+ 111,+ 98,+ 97,+ 108,+ 95,+ 118,+ 111,+ 108,+ 117,+ 109,+ 101,+ 95,+ 97,+ 99,+ 99,+ 117,+ 109,+ 117,+ 108,+ 97,+ 116,+ 111,+ 114]}]}},{- "name": "program"- }- ],- "args": [- {- "name": "initial_virtual_token_reserves",- "type": "u64"- },- {- "name": "initial_virtual_sol_reserves",- "type": "u64"- },- {- "name": "initial_real_token_reserves",- "type": "u64"- },- {- "name": "token_total_supply",- "type": "u64"- },- {- "name": "fee_basis_points",- "type": "u64"- },- {- "name": "withdraw_authority",- "type": "pubkey"- },- {- "name": "enable_migrate",- "type": "bool"- },- {- "name": "pool_migration_fee",- "type": "u64"- },- {- "name": "creator_fee_basis_points",- "type": "u64"- },- {- "name": "set_creator_authority",- "type": "pubkey"- },- {- "name": "admin_set_creator_authority",- "type": "pubkey"- }- ]- },- {- "name": "set_reserved_fee_recipients",- "discriminator": [111, 172, 162, 232, 114, 89, 213, 142],- "accounts": [- {- "name": "global",+ "name": "user_volume_accumulator","writable": true,"pda": {"seeds": [{"kind": "const",- "value": [103, 108, 111, 98, 97, 108]+ "value": [+ 117,+ 115,+ 101,+ 114,+ 95,+ 118,+ 111,+ 108,+ 117,+ 109,+ 101,+ 95,+ 97,+ 99,+ 99,+ 117,+ 109,+ 117,+ 108,+ 97,+ 116,+ 111,+ 114+ ]+ },+ {+ "kind": "account",+ "path": "user"}]}},- {- "name": "authority",- "signer": true,- "relations": ["global"]- },{"name": "event_authority","pda": {@@ -4702,8 +11590,23 @@{"kind": "const","value": [- 95, 95, 101, 118, 101, 110, 116, 95, 97, 117, 116, 104, 111,- 114, 105, 116, 121+ 95,+ 95,+ 101,+ 118,+ 101,+ 110,+ 116,+ 95,+ 97,+ 117,+ 116,+ 104,+ 111,+ 114,+ 105,+ 116,+ 121]}]@@ -4713,16 +11616,20 @@"name": "program"}],- "args": [- {- "name": "whitelist_pda",- "type": "pubkey"- }- ]+ "args": []},{- "name": "set_virtual_quote_reserves",- "discriminator": [101, 135, 191, 104, 9, 88, 20, 96],+ "name": "toggle_cashback_enabled",+ "discriminator": [+ 115,+ 103,+ 224,+ 255,+ 189,+ 89,+ 86,+ 195+ ],"accounts": [{"name": "global",@@ -4731,7 +11638,14 @@"seeds": [{"kind": "const",- "value": [103, 108, 111, 98, 97, 108]+ "value": [+ 103,+ 108,+ 111,+ 98,+ 97,+ 108+ ]}]}@@ -4740,7 +11654,9 @@"name": "authority","writable": true,"signer": true,- "relations": ["global"]+ "relations": [+ "global"+ ]},{"name": "event_authority",@@ -4749,8 +11665,23 @@{"kind": "const","value": [- 95, 95, 101, 118, 101, 110, 116, 95, 97, 117, 116, 104, 111,- 114, 105, 116, 121+ 95,+ 95,+ 101,+ 118,+ 101,+ 110,+ 116,+ 95,+ 97,+ 117,+ 116,+ 104,+ 111,+ 114,+ 105,+ 116,+ 121]}]@@ -4762,50 +11693,50 @@],"args": [{- "name": "initial_virtual_quote_reserves",- "type": "u64"+ "name": "enabled",+ "type": "bool"}]},{- "name": "sync_user_volume_accumulator",- "discriminator": [86, 31, 192, 87, 163, 87, 79, 238],+ "name": "toggle_create_v2",+ "discriminator": [+ 28,+ 255,+ 230,+ 240,+ 172,+ 107,+ 203,+ 171+ ],"accounts": [{- "name": "user"- },- {- "name": "global_volume_accumulator",+ "name": "global",+ "writable": true,"pda": {"seeds": [{"kind": "const","value": [- 103, 108, 111, 98, 97, 108, 95, 118, 111, 108, 117, 109, 101,- 95, 97, 99, 99, 117, 109, 117, 108, 97, 116, 111, 114+ 103,+ 108,+ 111,+ 98,+ 97,+ 108]}]}},{- "name": "user_volume_accumulator",+ "name": "authority","writable": true,- "pda": {- "seeds": [- {- "kind": "const",- "value": [- 117, 115, 101, 114, 95, 118, 111, 108, 117, 109, 101, 95, 97,- 99, 99, 117, 109, 117, 108, 97, 116, 111, 114- ]- },- {- "kind": "account",- "path": "user"- }- ]- }+ "signer": true,+ "relations": [+ "global"+ ]},{"name": "event_authority",@@ -4814,8 +11745,23 @@{"kind": "const","value": [- 95, 95, 101, 118, 101, 110, 116, 95, 97, 117, 116, 104, 111,- 114, 105, 116, 121+ 95,+ 95,+ 101,+ 118,+ 101,+ 110,+ 116,+ 95,+ 97,+ 117,+ 116,+ 104,+ 111,+ 114,+ 105,+ 116,+ 121]}]@@ -4825,11 +11771,25 @@"name": "program"}],- "args": []+ "args": [+ {+ "name": "enabled",+ "type": "bool"+ }+ ]},{- "name": "toggle_cashback_enabled",- "discriminator": [115, 103, 224, 255, 189, 89, 86, 195],+ "name": "toggle_mayhem_mode",+ "discriminator": [+ 1,+ 9,+ 111,+ 208,+ 100,+ 31,+ 255,+ 163+ ],"accounts": [{"name": "global",@@ -4838,7 +11798,14 @@"seeds": [{"kind": "const",- "value": [103, 108, 111, 98, 97, 108]+ "value": [+ 103,+ 108,+ 111,+ 98,+ 97,+ 108+ ]}]}@@ -4847,7 +11814,9 @@"name": "authority","writable": true,"signer": true,- "relations": ["global"]+ "relations": [+ "global"+ ]},{"name": "event_authority",@@ -4856,8 +11825,23 @@{"kind": "const","value": [- 95, 95, 101, 118, 101, 110, 116, 95, 97, 117, 116, 104, 111,- 114, 105, 116, 121+ 95,+ 95,+ 101,+ 118,+ 101,+ 110,+ 116,+ 95,+ 97,+ 117,+ 116,+ 104,+ 111,+ 114,+ 105,+ 116,+ 121]}]@@ -4875,8 +11859,17 @@]},{- "name": "toggle_create_v2",- "discriminator": [28, 255, 230, 240, 172, 107, 203, 171],+ "name": "update_buyback_config",+ "discriminator": [+ 251,+ 224,+ 171,+ 146,+ 160,+ 26,+ 113,+ 233+ ],"accounts": [{"name": "global",@@ -4885,7 +11878,14 @@"seeds": [{"kind": "const",- "value": [103, 108, 111, 98, 97, 108]+ "value": [+ 103,+ 108,+ 111,+ 98,+ 97,+ 108+ ]}]}@@ -4894,7 +11894,9 @@"name": "authority","writable": true,"signer": true,- "relations": ["global"]+ "relations": [+ "global"+ ]},{"name": "event_authority",@@ -4903,8 +11905,23 @@{"kind": "const","value": [- 95, 95, 101, 118, 101, 110, 116, 95, 97, 117, 116, 104, 111,- 114, 105, 116, 121+ 95,+ 95,+ 101,+ 118,+ 101,+ 110,+ 116,+ 95,+ 97,+ 117,+ 116,+ 104,+ 111,+ 114,+ 105,+ 116,+ 121]}]@@ -4916,14 +11933,25 @@],"args": [{- "name": "enabled",- "type": "bool"+ "name": "buyback_basis_points",+ "type": {+ "option": "u64"+ }}]},{- "name": "toggle_mayhem_mode",- "discriminator": [1, 9, 111, 208, 100, 31, 255, 163],+ "name": "update_creator_fee_config",+ "discriminator": [+ 61,+ 175,+ 160,+ 249,+ 66,+ 66,+ 136,+ 175+ ],"accounts": [{"name": "global",@@ -4932,7 +11960,14 @@"seeds": [{"kind": "const",- "value": [103, 108, 111, 98, 97, 108]+ "value": [+ 103,+ 108,+ 111,+ 98,+ 97,+ 108+ ]}]}@@ -4941,7 +11976,9 @@"name": "authority","writable": true,"signer": true,- "relations": ["global"]+ "relations": [+ "global"+ ]},{"name": "event_authority",@@ -4950,8 +11987,23 @@{"kind": "const","value": [- 95, 95, 101, 118, 101, 110, 116, 95, 97, 117, 116, 104, 111,- 114, 105, 116, 121+ 95,+ 95,+ 101,+ 118,+ 101,+ 110,+ 116,+ 95,+ 97,+ 117,+ 116,+ 104,+ 111,+ 114,+ 105,+ 116,+ 121]}]@@ -4963,14 +12015,27 @@],"args": [{- "name": "enabled",+ "name": "creator_fee_configurable","type": "bool"+ },+ {+ "name": "max_configurable_creator_fee_bps",+ "type": "u64"}]},{- "name": "update_buyback_config",- "discriminator": [251, 224, 171, 146, 160, 26, 113, 233],+ "name": "update_global_authority",+ "discriminator": [+ 227,+ 181,+ 74,+ 196,+ 208,+ 21,+ 97,+ 213+ ],"accounts": [{"name": "global",@@ -4979,16 +12044,27 @@"seeds": [{"kind": "const",- "value": [103, 108, 111, 98, 97, 108]+ "value": [+ 103,+ 108,+ 111,+ 98,+ 97,+ 108+ ]}]}},{"name": "authority",- "writable": true,"signer": true,- "relations": ["global"]+ "relations": [+ "global"+ ]+ },+ {+ "name": "new_authority"},{"name": "event_authority",@@ -4997,8 +12073,23 @@{"kind": "const","value": [- 95, 95, 101, 118, 101, 110, 116, 95, 97, 117, 116, 104, 111,- 114, 105, 116, 121+ 95,+ 95,+ 101,+ 118,+ 101,+ 110,+ 116,+ 95,+ 97,+ 117,+ 116,+ 104,+ 111,+ 114,+ 105,+ 116,+ 121]}]@@ -5007,19 +12098,21 @@{"name": "program"}- ],- "args": [- {- "name": "buyback_basis_points",- "type": {- "option": "u64"- }- }- ]+ ],+ "args": []},{- "name": "update_global_authority",- "discriminator": [227, 181, 74, 196, 208, 21, 97, 213],+ "name": "update_holder_reward_config",+ "discriminator": [+ 225,+ 252,+ 66,+ 4,+ 199,+ 35,+ 236,+ 16+ ],"accounts": [{"name": "global",@@ -5028,18 +12121,25 @@"seeds": [{"kind": "const",- "value": [103, 108, 111, 98, 97, 108]+ "value": [+ 103,+ 108,+ 111,+ 98,+ 97,+ 108+ ]}]}},{"name": "authority",+ "writable": true,"signer": true,- "relations": ["global"]- },- {- "name": "new_authority"+ "relations": [+ "global"+ ]},{"name": "event_authority",@@ -5048,8 +12148,23 @@{"kind": "const","value": [- 95, 95, 101, 118, 101, 110, 116, 95, 97, 117, 116, 104, 111,- 114, 105, 116, 121+ 95,+ 95,+ 101,+ 118,+ 101,+ 110,+ 116,+ 95,+ 97,+ 117,+ 116,+ 104,+ 111,+ 114,+ 105,+ 116,+ 121]}]@@ -5059,127 +12174,527 @@"name": "program"}],- "args": []+ "args": [+ {+ "name": "is_holder_reward_enabled",+ "type": "bool"+ },+ {+ "name": "holder_reward_claim_authority",+ "type": "pubkey"+ }+ ]}],"accounts": [{"name": "BondingCurve",- "discriminator": [23, 183, 248, 55, 96, 216, 172, 96]+ "discriminator": [+ 23,+ 183,+ 248,+ 55,+ 96,+ 216,+ 172,+ 96+ ]},{"name": "FeeConfig",- "discriminator": [143, 52, 146, 187, 219, 123, 76, 155]+ "discriminator": [+ 143,+ 52,+ 146,+ 187,+ 219,+ 123,+ 76,+ 155+ ]},{"name": "Global",- "discriminator": [167, 232, 232, 177, 200, 108, 114, 127]+ "discriminator": [+ 167,+ 232,+ 232,+ 177,+ 200,+ 108,+ 114,+ 127+ ]},{"name": "GlobalVolumeAccumulator",- "discriminator": [202, 42, 246, 43, 142, 190, 30, 255]+ "discriminator": [+ 202,+ 42,+ 246,+ 43,+ 142,+ 190,+ 30,+ 255+ ]+ },+ {+ "name": "QuoteControl",+ "discriminator": [+ 56,+ 244,+ 35,+ 238,+ 193,+ 213,+ 162,+ 201+ ]},{"name": "SharingConfig",- "discriminator": [216, 74, 9, 0, 56, 140, 93, 75]+ "discriminator": [+ 216,+ 74,+ 9,+ 0,+ 56,+ 140,+ 93,+ 75+ ]},{"name": "UserVolumeAccumulator",- "discriminator": [86, 255, 112, 14, 102, 53, 154, 250]+ "discriminator": [+ 86,+ 255,+ 112,+ 14,+ 102,+ 53,+ 154,+ 250+ ]}],"events": [{- "name": "AdminSetCreatorEvent",- "discriminator": [64, 69, 192, 104, 29, 30, 25, 107]+ "name": "AddQuoteControlMintEvent",+ "discriminator": [+ 164,+ 175,+ 87,+ 74,+ 88,+ 45,+ 33,+ 62+ ]+ },+ {+ "name": "AdminCtoEvent",+ "discriminator": [+ 110,+ 124,+ 226,+ 98,+ 170,+ 255,+ 17,+ 120+ ]},{"name": "AdminSetIdlAuthorityEvent",- "discriminator": [245, 59, 70, 34, 75, 185, 109, 92]+ "discriminator": [+ 245,+ 59,+ 70,+ 34,+ 75,+ 185,+ 109,+ 92+ ]},{"name": "AdminUpdateTokenIncentivesEvent",- "discriminator": [147, 250, 108, 120, 247, 29, 67, 222]+ "discriminator": [+ 147,+ 250,+ 108,+ 120,+ 247,+ 29,+ 67,+ 222+ ]},{"name": "ClaimCashbackEvent",- "discriminator": [226, 214, 246, 33, 7, 242, 147, 229]+ "discriminator": [+ 226,+ 214,+ 246,+ 33,+ 7,+ 242,+ 147,+ 229+ ]},{"name": "ClaimTokenIncentivesEvent",- "discriminator": [79, 172, 246, 49, 205, 91, 206, 232]+ "discriminator": [+ 79,+ 172,+ 246,+ 49,+ 205,+ 91,+ 206,+ 232+ ]},{"name": "CloseUserVolumeAccumulatorEvent",- "discriminator": [146, 159, 189, 172, 146, 88, 56, 244]+ "discriminator": [+ 146,+ 159,+ 189,+ 172,+ 146,+ 88,+ 56,+ 244+ ]},{"name": "CollectCreatorFeeEvent",- "discriminator": [122, 2, 127, 1, 14, 191, 12, 175]+ "discriminator": [+ 122,+ 2,+ 127,+ 1,+ 14,+ 191,+ 12,+ 175+ ]},{"name": "CompleteEvent",- "discriminator": [95, 114, 97, 156, 212, 46, 152, 8]+ "discriminator": [+ 95,+ 114,+ 97,+ 156,+ 212,+ 46,+ 152,+ 8+ ]},{"name": "CompletePumpAmmMigrationEvent",- "discriminator": [189, 233, 93, 185, 92, 148, 234, 148]+ "discriminator": [+ 189,+ 233,+ 93,+ 185,+ 92,+ 148,+ 234,+ 148+ ]},{"name": "CreateEvent",- "discriminator": [27, 114, 169, 77, 222, 235, 99, 118]+ "discriminator": [+ 27,+ 114,+ 169,+ 77,+ 222,+ 235,+ 99,+ 118+ ]},{"name": "DistributeCreatorFeesEvent",- "discriminator": [165, 55, 129, 112, 4, 179, 202, 40]+ "discriminator": [+ 165,+ 55,+ 129,+ 112,+ 4,+ 179,+ 202,+ 40+ ]+ },+ {+ "name": "DistributeFeeToHoldersEvent",+ "discriminator": [+ 227,+ 190,+ 215,+ 206,+ 176,+ 180,+ 165,+ 132+ ]},{"name": "ExtendAccountEvent",- "discriminator": [97, 97, 215, 144, 93, 146, 22, 124]+ "discriminator": [+ 97,+ 97,+ 215,+ 144,+ 93,+ 146,+ 22,+ 124+ ]},{"name": "InitUserVolumeAccumulatorEvent",- "discriminator": [134, 36, 13, 72, 232, 101, 130, 216]+ "discriminator": [+ 134,+ 36,+ 13,+ 72,+ 232,+ 101,+ 130,+ 216+ ]},{"name": "MigrateBondingCurveCreatorEvent",- "discriminator": [155, 167, 104, 220, 213, 108, 243, 3]+ "discriminator": [+ 155,+ 167,+ 104,+ 220,+ 213,+ 108,+ 243,+ 3+ ]},{"name": "MinimumDistributableFeeEvent",- "discriminator": [168, 216, 132, 239, 235, 182, 49, 52]+ "discriminator": [+ 168,+ 216,+ 132,+ 239,+ 235,+ 182,+ 49,+ 52+ ]+ },+ {+ "name": "PostCompleteBuyEvent",+ "discriminator": [+ 111,+ 176,+ 109,+ 139,+ 49,+ 108,+ 213,+ 251+ ]+ },+ {+ "name": "RemoveQuoteControlMintEvent",+ "discriminator": [+ 46,+ 33,+ 86,+ 134,+ 0,+ 213,+ 209,+ 48+ ]},{"name": "ReservedFeeRecipientsEvent",- "discriminator": [43, 188, 250, 18, 221, 75, 187, 95]+ "discriminator": [+ 43,+ 188,+ 250,+ 18,+ 221,+ 75,+ 187,+ 95+ ]},{"name": "SetCreatorEvent",- "discriminator": [237, 52, 123, 37, 245, 251, 72, 210]+ "discriminator": [+ 237,+ 52,+ 123,+ 37,+ 245,+ 251,+ 72,+ 210+ ]},{"name": "SetMetaplexCreatorEvent",- "discriminator": [142, 203, 6, 32, 127, 105, 191, 162]+ "discriminator": [+ 142,+ 203,+ 6,+ 32,+ 127,+ 105,+ 191,+ 162+ ]},{"name": "SetParamsEvent",- "discriminator": [223, 195, 159, 246, 62, 48, 143, 131]+ "discriminator": [+ 223,+ 195,+ 159,+ 246,+ 62,+ 48,+ 143,+ 131+ ]+ },+ {+ "name": "SetQuoteControlAdminEvent",+ "discriminator": [+ 74,+ 248,+ 141,+ 69,+ 202,+ 81,+ 30,+ 247+ ]+ },+ {+ "name": "SetQuoteControlMintReservesEvent",+ "discriminator": [+ 169,+ 67,+ 39,+ 109,+ 102,+ 134,+ 182,+ 232+ ]+ },+ {+ "name": "SetQuoteControlReservesAdminEvent",+ "discriminator": [+ 67,+ 251,+ 179,+ 182,+ 87,+ 92,+ 169,+ 33+ ]+ },+ {+ "name": "SweepBondingCurveFeeEvent",+ "discriminator": [+ 116,+ 43,+ 77,+ 189,+ 17,+ 122,+ 72,+ 43+ ]},{"name": "SyncUserVolumeAccumulatorEvent",- "discriminator": [197, 122, 167, 124, 116, 81, 91, 255]+ "discriminator": [+ 197,+ 122,+ 167,+ 124,+ 116,+ 81,+ 91,+ 255+ ]},{"name": "TradeEvent",- "discriminator": [189, 219, 127, 211, 78, 230, 97, 238]+ "discriminator": [+ 189,+ 219,+ 127,+ 211,+ 78,+ 230,+ 97,+ 238+ ]+ },+ {+ "name": "UpdateCreatorFeeConfigEvent",+ "discriminator": [+ 152,+ 198,+ 124,+ 124,+ 106,+ 246,+ 127,+ 191+ ]},{"name": "UpdateGlobalAuthorityEvent",- "discriminator": [182, 195, 137, 42, 35, 206, 207, 247]+ "discriminator": [+ 182,+ 195,+ 137,+ 42,+ 35,+ 206,+ 207,+ 247+ ]},{"name": "UpdateMayhemVirtualParamsEvent",- "discriminator": [117, 123, 228, 182, 161, 168, 220, 214]+ "discriminator": [+ 117,+ 123,+ 228,+ 182,+ 161,+ 168,+ 220,+ 214+ ]}],"errors": [@@ -5416,7 +12931,7 @@{"code": 6049,"name": "CreatorMigratedToSharingConfig",- "msg": "creator has been migrated to sharing config, use pump_fees::reset_fee_sharing_config instead"+ "msg": "creator has been migrated to sharing config"},{"code": 6050,@@ -5488,7 +13003,7 @@{"code": 6064,"name": "InvalidQuoteTokenProgram",- "msg": "Create v2: quote token program must be legacy SPL Token"+ "msg": "Create v2: quote token program must be SPL Token or Token-2022"},{"code": 6065,@@ -5524,11 +13039,219 @@"code": 6071,"name": "MayhemModeQuoteMintNotAllowed","msg": "Mayhem mode quote mint not allowed"+ },+ {+ "code": 6072,+ "name": "MissingCashbackAccounts",+ "msg": "Cashback trade is missing the required remaining accounts"+ },+ {+ "code": 6073,+ "name": "InvalidCashbackAccumulator",+ "msg": "Cashback user_volume_accumulator account is invalid"+ },+ {+ "code": 6074,+ "name": "InvalidBondingCurveV2",+ "msg": "bonding_curve_v2 remaining account is missing or invalid"+ },+ {+ "code": 6075,+ "name": "InvalidQuoteControl",+ "msg": "quote_control remaining account does not match derivation or is uninitialized"+ },+ {+ "code": 6076,+ "name": "InvalidCashbackRecipient",+ "msg": "Cashback recipient token account is not owned by user"+ },+ {+ "code": 6077,+ "name": "CreatorFeeNotConfigurable",+ "msg": "Configurable creator fees are disabled"+ },+ {+ "code": 6078,+ "name": "CreatorFeeBpsOutOfRange",+ "msg": "Creator fee basis points must be between 1 and the configured maximum"+ },+ {+ "code": 6079,+ "name": "CreatorFeeNotEditable",+ "msg": "Creator fee is not editable for this bonding curve"+ },+ {+ "code": 6080,+ "name": "CreatorFeeNotAllowedForCashbackCoin",+ "msg": "Creator fee cannot be configured for a cashback coin"+ },+ {+ "code": 6081,+ "name": "BondingCurveAlreadyMigrated",+ "msg": "Bonding curve has already migrated"+ },+ {+ "code": 6082,+ "name": "CashbackDeprecated",+ "msg": "Cashback coins can no longer be created"+ },+ {+ "code": 6083,+ "name": "HolderRewardCreatorImmutable",+ "msg": "The creator of a holder-reward coin cannot be changed"+ },+ {+ "code": 6084,+ "name": "HolderRewardDisabled",+ "msg": "Holder-reward coins are disabled"+ },+ {+ "code": 6085,+ "name": "HolderRewardRecipientsMismatch",+ "msg": "Holder-reward amounts and recipient accounts do not match"+ },+ {+ "code": 6086,+ "name": "HolderRewardsRentFloor",+ "msg": "The holder-rewards PDA cannot be left below its rent-exempt minimum"+ },+ {+ "code": 6087,+ "name": "HolderRewardTokenAccountMissing",+ "msg": "A holder-rewards token account is required on a token quote"+ },+ {+ "code": 6088,+ "name": "CtoNotAllowedForMayhemCoin",+ "msg": "CTO is not allowed on a mayhem-mode coin"+ },+ {+ "code": 6089,+ "name": "CtoNewCreatorRequired",+ "msg": "new_creator is required unless converting to holder rewards"+ },+ {+ "code": 6090,+ "name": "CtoNewCreatorNotAllowed",+ "msg": "new_creator must be omitted when converting to holder rewards"+ },+ {+ "code": 6091,+ "name": "CreatorFeeNotConfigurableForQuote",+ "msg": "Creator fee is not configurable on a SOL or whitelisted quote; the fee schedule applies"+ },+ {+ "code": 6092,+ "name": "CtoCreatorAccountNotWritable",+ "msg": "current_creator must be passed writable so the outgoing creator can be paid"+ },+ {+ "code": 6093,+ "name": "CtoSharedVaultFrozen",+ "msg": "A frozen sharing-config vault account holds a balance; thaw it before the holder conversion"+ },+ {+ "code": 6094,+ "name": "CashbackCoinNotSupported",+ "msg": "v3 trades do not support cashback coins; use the v2 instructions"+ },+ {+ "code": 6095,+ "name": "CreatorFeesNotSwept",+ "msg": "creator_fee must be swept before the creator changes or the vault is distributed"+ },+ {+ "code": 6096,+ "name": "FeeTiersEmpty",+ "msg": "The fee config tier table is empty"+ },+ {+ "code": 6097,+ "name": "FeeConfigTooShort",+ "msg": "The fee config account is shorter than its initialize size"+ },+ {+ "code": 6098,+ "name": "MultiHopDiscontinuousPath",+ "msg": "multi-hop: a hop's input mint is neither side of its bonding curve"+ },+ {+ "code": 6099,+ "name": "InvalidQuoteBondingCurve",+ "msg": "Quote bonding curve remaining account does not match derivation or is uninitialized"+ },+ {+ "code": 6100,+ "name": "QuoteBondingCurveNotEligible",+ "msg": "Quote bonding curve is not eligible as a quote: mayhem mode, or a depth-0 coin whose own quote is not listed"+ },+ {+ "code": 6101,+ "name": "QuotePoolAccountsRequired",+ "msg": "Quote bonding curve has migrated: pool and vault remaining accounts are required"+ },+ {+ "code": 6102,+ "name": "QuotePoolNotFound",+ "msg": "Quote pool remaining account is not an initialized pump-amm pool"+ },+ {+ "code": 6103,+ "name": "InvalidQuotePool",+ "msg": "Quote pool or vault remaining accounts do not match derivation or are invalid"+ },+ {+ "code": 6104,+ "name": "QuoteReservesOutOfRange",+ "msg": "Derived quote reserves are zero or their graduation raise exceeds the quote mint supply"+ },+ {+ "code": 6105,+ "name": "CurveDepthExceeded",+ "msg": "The new curve's depth (quote coin depth plus one) exceeds Global.max_curve_depth"+ },+ {+ "code": 6106,+ "name": "MultiHopHopFeesMismatch",+ "msg": "multi-hop: hop_fees must carry one flag byte per curve hop using only the protocol and creator bits"+ },+ {+ "code": 6107,+ "name": "QuoteCurveAwaitingMigration",+ "msg": "The quote coin's curve is complete but not yet migrated; retry once migrate_v2 creates its pool"}],"types": [{- "name": "AdminSetCreatorEvent",+ "name": "AddQuoteControlMintEvent",+ "type": {+ "kind": "struct",+ "fields": [+ {+ "name": "quote_control",+ "type": "pubkey"+ },+ {+ "name": "authority",+ "type": "pubkey"+ },+ {+ "name": "quote_mint",+ "type": "pubkey"+ },+ {+ "name": "initial_virtual_quote_reserves",+ "type": "u64"+ },+ {+ "name": "timestamp",+ "type": "i64"+ }+ ]+ }+ },+ {+ "name": "AdminCtoEvent","type": {"kind": "struct","fields": [@@ -5537,7 +13260,7 @@"type": "i64"},{- "name": "admin_set_creator_authority",+ "name": "authority","type": "pubkey"},{@@ -5555,6 +13278,34 @@{"name": "new_creator","type": "pubkey"+ },+ {+ "name": "is_holder_reward",+ "type": "bool"+ },+ {+ "name": "is_cashback_coin",+ "type": "bool"+ },+ {+ "name": "old_creator_fee_bps",+ "type": "u64"+ },+ {+ "name": "new_creator_fee_bps",+ "type": "u64"+ },+ {+ "name": "sharing_config_reset",+ "type": "bool"+ },+ {+ "name": "swept_to_holder_vault",+ "type": "u64"+ },+ {+ "name": "pool_updated",+ "type": "bool"}]}@@ -5651,6 +13402,42 @@{"name": "quote_mint","type": "pubkey"+ },+ {+ "name": "creator_fee_bps",+ "type": "u64"+ },+ {+ "name": "can_edit_creator_fee",+ "type": "bool"+ },+ {+ "name": "is_holder_reward",+ "type": "bool"+ },+ {+ "name": "creator_fee",+ "type": "u64"+ },+ {+ "name": "protocol_fees",+ "type": "u64"+ },+ {+ "name": "depth",+ "type": "u8"+ },+ {+ "name": "initial_virtual_quote_reserves",+ "type": "u64"+ },+ {+ "name": "post_complete_base_out",+ "type": "u64"+ },+ {+ "name": "post_complete_quote_in",+ "type": "u64"}]}@@ -5818,6 +13605,11 @@},{"name": "sol_amount",+ "docs": [+ "The variable is interpreted as `amount` in the offchain services",+ "It is amount in terms of quoteMint for the bondingCurve",+ "The rename is not done yet to avoid breaking changes in offchain services."+ ],"type": "u64"},{@@ -5923,11 +13715,39 @@"type": "bool"},{- "name": "quote_mint",- "type": "pubkey"+ "name": "quote_mint",+ "type": "pubkey"+ },+ {+ "name": "virtual_quote_reserves",+ "type": "u64"+ },+ {+ "name": "creator_fee_bps",+ "type": "u64"+ },+ {+ "name": "is_holder_reward",+ "type": "bool"+ },+ {+ "name": "depth",+ "type": "u8"+ }+ ]+ }+ },+ {+ "name": "CurveRunResult",+ "type": {+ "kind": "struct",+ "fields": [+ {+ "name": "amount_out",+ "type": "u64"},{- "name": "virtual_quote_reserves",+ "name": "buyback_fee","type": "u64"}]@@ -5979,6 +13799,34 @@]}},+ {+ "name": "DistributeFeeToHoldersEvent",+ "type": {+ "kind": "struct",+ "fields": [+ {+ "name": "timestamp",+ "type": "i64"+ },+ {+ "name": "mint",+ "type": "pubkey"+ },+ {+ "name": "quote_mint",+ "type": "pubkey"+ },+ {+ "name": "recipients",+ "type": "u64"+ },+ {+ "name": "total",+ "type": "u64"+ }+ ]+ }+ },{"name": "ExtendAccountEvent","type": {@@ -6047,6 +13895,14 @@}}}+ },+ {+ "name": "exotic_flat_fees",+ "type": {+ "defined": {+ "name": "Fees"+ }+ }}]}@@ -6098,7 +13954,9 @@"fields": [{"name": "initialized",- "docs": ["Unused"],+ "docs": [+ "Unused"+ ],"type": "bool"},{@@ -6135,7 +13993,9 @@},{"name": "enable_migrate",- "docs": ["Unused"],+ "docs": [+ "Unused"+ ],"type": "bool"},{@@ -6149,7 +14009,10 @@{"name": "fee_recipients","type": {- "array": ["pubkey", 7]+ "array": [+ "pubkey",+ 7+ ]}},{@@ -6157,173 +14020,366 @@"type": "pubkey"},{- "name": "admin_set_creator_authority",- "type": "pubkey"+ "name": "admin_set_creator_authority",+ "type": "pubkey"+ },+ {+ "name": "create_v2_enabled",+ "type": "bool"+ },+ {+ "name": "whitelist_pda",+ "type": "pubkey"+ },+ {+ "name": "reserved_fee_recipient",+ "type": "pubkey"+ },+ {+ "name": "mayhem_mode_enabled",+ "type": "bool"+ },+ {+ "name": "reserved_fee_recipients",+ "type": {+ "array": [+ "pubkey",+ 7+ ]+ }+ },+ {+ "name": "is_cashback_enabled",+ "type": "bool"+ },+ {+ "name": "buyback_fee_recipients",+ "type": {+ "array": [+ "pubkey",+ 8+ ]+ }+ },+ {+ "name": "buyback_basis_points",+ "type": "u64"+ },+ {+ "name": "initial_virtual_quote_reserves",+ "type": "u64"+ },+ {+ "name": "whitelisted_quote_mints",+ "type": {+ "array": [+ "pubkey",+ 1+ ]+ }+ },+ {+ "name": "creator_fee_configurable",+ "type": "bool"+ },+ {+ "name": "max_configurable_creator_fee_bps",+ "type": "u64"+ },+ {+ "name": "holder_reward_claim_authority",+ "type": "pubkey"+ },+ {+ "name": "is_holder_reward_enabled",+ "type": "bool"+ },+ {+ "name": "max_curve_depth",+ "type": "u8"+ }+ ]+ }+ },+ {+ "name": "GlobalVolumeAccumulator",+ "type": {+ "kind": "struct",+ "fields": [+ {+ "name": "start_time",+ "type": "i64"+ },+ {+ "name": "end_time",+ "type": "i64"+ },+ {+ "name": "seconds_in_a_day",+ "type": "i64"+ },+ {+ "name": "mint",+ "type": "pubkey"+ },+ {+ "name": "total_token_supply",+ "type": {+ "array": [+ "u64",+ 30+ ]+ }+ },+ {+ "name": "sol_volumes",+ "type": {+ "array": [+ "u64",+ 30+ ]+ }+ }+ ]+ }+ },+ {+ "name": "InitUserVolumeAccumulatorEvent",+ "type": {+ "kind": "struct",+ "fields": [+ {+ "name": "payer",+ "type": "pubkey"+ },+ {+ "name": "user",+ "type": "pubkey"+ },+ {+ "name": "timestamp",+ "type": "i64"+ }+ ]+ }+ },+ {+ "name": "MigrateBondingCurveCreatorEvent",+ "type": {+ "kind": "struct",+ "fields": [+ {+ "name": "timestamp",+ "type": "i64"+ },+ {+ "name": "mint",+ "type": "pubkey"+ },+ {+ "name": "bonding_curve",+ "type": "pubkey"+ },+ {+ "name": "sharing_config",+ "type": "pubkey"+ },+ {+ "name": "old_creator",+ "type": "pubkey"+ },+ {+ "name": "new_creator",+ "type": "pubkey"+ }+ ]+ }+ },+ {+ "name": "MinimumDistributableFeeEvent",+ "type": {+ "kind": "struct",+ "fields": [+ {+ "name": "minimum_required",+ "type": "u64"+ },+ {+ "name": "distributable_fees",+ "type": "u64"+ },+ {+ "name": "can_distribute",+ "type": "bool"+ }+ ]+ }+ },+ {+ "name": "OptionBool",+ "type": {+ "kind": "struct",+ "fields": [+ "bool"+ ]+ }+ },+ {+ "name": "OptionU64",+ "type": {+ "kind": "struct",+ "fields": [+ "u64"+ ]+ }+ },+ {+ "name": "PostCompleteBuyEvent",+ "type": {+ "kind": "struct",+ "fields": [+ {+ "name": "user",+ "type": "pubkey"+ },+ {+ "name": "mint",+ "type": "pubkey"+ },+ {+ "name": "bonding_curve",+ "type": "pubkey"+ },+ {+ "name": "quote_mint",+ "type": "pubkey"+ },+ {+ "name": "timestamp",+ "type": "i64"+ },+ {+ "name": "base_out",+ "type": "u64"},{- "name": "create_v2_enabled",- "type": "bool"+ "name": "quote_in",+ "type": "u64"},{- "name": "whitelist_pda",- "type": "pubkey"+ "name": "fee_basis_points",+ "type": "u64"},{- "name": "reserved_fee_recipient",- "type": "pubkey"+ "name": "fee",+ "type": "u64"},{- "name": "mayhem_mode_enabled",- "type": "bool"+ "name": "creator_fee_basis_points",+ "type": "u64"},{- "name": "reserved_fee_recipients",- "type": {- "array": ["pubkey", 7]- }+ "name": "creator_fee",+ "type": "u64"},{- "name": "is_cashback_enabled",- "type": "bool"+ "name": "buyback_fee",+ "type": "u64"},{- "name": "buyback_fee_recipients",- "type": {- "array": ["pubkey", 8]- }+ "name": "pool_base_reserves_before",+ "type": "u64"},{- "name": "buyback_basis_points",+ "name": "pool_quote_reserves_before","type": "u64"},{- "name": "initial_virtual_quote_reserves",+ "name": "pool_base_reserves_after","type": "u64"},{- "name": "whitelisted_quote_mints",- "type": {- "array": ["pubkey", 1]- }+ "name": "pool_quote_reserves_after",+ "type": "u64"}]}},{- "name": "GlobalVolumeAccumulator",+ "name": "QuoteControl","type": {"kind": "struct","fields": [{- "name": "start_time",- "type": "i64"- },- {- "name": "end_time",- "type": "i64"- },- {- "name": "seconds_in_a_day",- "type": "i64"+ "name": "admin",+ "type": "pubkey"},{- "name": "mint",+ "name": "reserves_admin","type": "pubkey"},{- "name": "total_token_supply",+ "name": "_reserved","type": {- "array": ["u64", 30]+ "array": [+ "u8",+ 32+ ]}},{- "name": "sol_volumes",+ "name": "mints","type": {- "array": ["u64", 30]+ "vec": {+ "defined": {+ "name": "QuoteControlMint"+ }+ }}}]}},{- "name": "InitUserVolumeAccumulatorEvent",+ "name": "QuoteControlMint","type": {"kind": "struct","fields": [{- "name": "payer",- "type": "pubkey"- },- {- "name": "user",+ "name": "mint","type": "pubkey"},{- "name": "timestamp",- "type": "i64"+ "name": "initial_virtual_quote_reserves",+ "type": "u64"}]}},{- "name": "MigrateBondingCurveCreatorEvent",+ "name": "RemoveQuoteControlMintEvent","type": {"kind": "struct","fields": [{- "name": "timestamp",- "type": "i64"- },- {- "name": "mint",- "type": "pubkey"- },- {- "name": "bonding_curve",- "type": "pubkey"- },- {- "name": "sharing_config",+ "name": "quote_control","type": "pubkey"},{- "name": "old_creator",+ "name": "authority","type": "pubkey"},{- "name": "new_creator",+ "name": "quote_mint","type": "pubkey"- }- ]- }- },- {- "name": "MinimumDistributableFeeEvent",- "type": {- "kind": "struct",- "fields": [- {- "name": "minimum_required",- "type": "u64"- },- {- "name": "distributable_fees",- "type": "u64"},{- "name": "can_distribute",- "type": "bool"+ "name": "timestamp",+ "type": "i64"}]}},- {- "name": "OptionBool",- "type": {- "kind": "struct",- "fields": ["bool"]- }- },{"name": "ReservedFeeRecipientsEvent","type": {@@ -6340,7 +14396,10 @@{"name": "reserved_fee_recipients","type": {- "array": ["pubkey", 7]+ "array": [+ "pubkey",+ 7+ ]}}]@@ -6446,7 +14505,10 @@{"name": "fee_recipients","type": {- "array": ["pubkey", 8]+ "array": [+ "pubkey",+ 8+ ]}},{@@ -6464,6 +14526,94 @@]}},+ {+ "name": "SetQuoteControlAdminEvent",+ "type": {+ "kind": "struct",+ "fields": [+ {+ "name": "quote_control",+ "type": "pubkey"+ },+ {+ "name": "authority",+ "type": "pubkey"+ },+ {+ "name": "old_admin",+ "type": "pubkey"+ },+ {+ "name": "new_admin",+ "type": "pubkey"+ },+ {+ "name": "timestamp",+ "type": "i64"+ }+ ]+ }+ },+ {+ "name": "SetQuoteControlMintReservesEvent",+ "type": {+ "kind": "struct",+ "fields": [+ {+ "name": "quote_control",+ "type": "pubkey"+ },+ {+ "name": "authority",+ "type": "pubkey"+ },+ {+ "name": "quote_mint",+ "type": "pubkey"+ },+ {+ "name": "old_initial_virtual_quote_reserves",+ "type": "u64"+ },+ {+ "name": "new_initial_virtual_quote_reserves",+ "type": "u64"+ },+ {+ "name": "timestamp",+ "type": "i64"+ }+ ]+ }+ },+ {+ "name": "SetQuoteControlReservesAdminEvent",+ "type": {+ "kind": "struct",+ "fields": [+ {+ "name": "quote_control",+ "type": "pubkey"+ },+ {+ "name": "authority",+ "type": "pubkey"+ },+ {+ "name": "old_reserves_admin",+ "type": "pubkey"+ },+ {+ "name": "new_reserves_admin",+ "type": "pubkey"+ },+ {+ "name": "timestamp",+ "type": "i64"+ }+ ]+ }+ },{"name": "Shareholder","type": {@@ -6526,6 +14676,42 @@]}},+ {+ "name": "SweepBondingCurveFeeEvent",+ "type": {+ "kind": "struct",+ "fields": [+ {+ "name": "timestamp",+ "type": "i64"+ },+ {+ "name": "mint",+ "type": "pubkey"+ },+ {+ "name": "bonding_curve",+ "type": "pubkey"+ },+ {+ "name": "quote_mint",+ "type": "pubkey"+ },+ {+ "name": "recipient",+ "type": "pubkey"+ },+ {+ "name": "amount",+ "type": "u64"+ },+ {+ "name": "bucket",+ "type": "u8"+ }+ ]+ }+ },{"name": "SyncUserVolumeAccumulatorEvent","type": {@@ -6552,7 +14738,9 @@},{"name": "TradeEvent",- "docs": ["ix_name: \"buy\" | \"sell\" | \"buy_exact_sol_in\""],+ "docs": [+ "ix_name: \"buy\" | \"sell\" | \"buy_exact_sol_in\""+ ],"type": {"kind": "struct","fields": [@@ -6689,6 +14877,42 @@{"name": "real_quote_reserves","type": "u64"+ },+ {+ "name": "holder_rewards_bps",+ "type": "u64"+ },+ {+ "name": "holder_rewards",+ "type": "u64"+ },+ {+ "name": "creator_fee_unclaimed",+ "type": "u64"+ }+ ]+ }+ },+ {+ "name": "UpdateCreatorFeeConfigEvent",+ "type": {+ "kind": "struct",+ "fields": [+ {+ "name": "timestamp",+ "type": "i64"+ },+ {+ "name": "authority",+ "type": "pubkey"+ },+ {+ "name": "creator_fee_configurable",+ "type": "bool"+ },+ {+ "name": "max_configurable_creator_fee_bps",+ "type": "u64"}]}@@ -6810,4 +15034,4 @@}}]-}+}\ No newline at end of filediff --git a/docs/pumpfun-program/idl/pump_amm.json b/docs/pumpfun-program/idl/pump_amm.jsonindex f73cf11ac..d907b16a9 100644--- a/docs/pumpfun-program/idl/pump_amm.json+++ b/docs/pumpfun-program/idl/pump_amm.json@@ -8,27 +8,22 @@},"instructions": [{- "name": "admin_set_coin_creator",- "docs": [- "Overrides the coin creator for a canonical pump pool"- ],+ "name": "admin_cto_pool","discriminator": [- 242,- 40,- 117,- 145,- 73,- 96,- 105,- 104+ 45,+ 61,+ 165,+ 151,+ 104,+ 0,+ 49,+ 189],"accounts": [{- "name": "admin_set_coin_creator_authority",- "signer": true,- "relations": [- "global_config"- ]+ "name": "payer",+ "writable": true,+ "signer": true},{"name": "global_config"@@ -37,6 +32,79 @@"name": "pool","writable": true},+ {+ "name": "pool_authority",+ "signer": true,+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 112,+ 111,+ 111,+ 108,+ 45,+ 97,+ 117,+ 116,+ 104,+ 111,+ 114,+ 105,+ 116,+ 121+ ]+ },+ {+ "kind": "account",+ "path": "pool.base_mint",+ "account": "Pool"+ }+ ],+ "program": {+ "kind": "const",+ "value": [+ 1,+ 86,+ 224,+ 246,+ 147,+ 102,+ 90,+ 207,+ 68,+ 219,+ 21,+ 104,+ 191,+ 23,+ 91,+ 170,+ 81,+ 137,+ 203,+ 151,+ 245,+ 210,+ 255,+ 59,+ 101,+ 93,+ 43,+ 182,+ 253,+ 109,+ 24,+ 176+ ]+ }+ }+ },+ {+ "name": "system_program",+ "address": "11111111111111111111111111111111"+ },{"name": "event_authority","pda": {@@ -74,6 +142,16 @@{"name": "coin_creator","type": "pubkey"+ },+ {+ "name": "is_holder_reward",+ "type": "bool"+ },+ {+ "name": "creator_fee_bps",+ "type": {+ "option": "u64"+ }}]},@@ -289,36 +367,54 @@]},{- "name": "buy",- "docs": [- "For cashback coins, optionally pass user_volume_accumulator_wsol_ata as remaining_accounts[0].",- "If provided and valid, the ATA will be initialized if needed."- ],+ "name": "boost_buy_and_burn","discriminator": [- 102,+ 105,+ 68,6,- 61,- 18,- 1,- 218,- 235,- 234+ 175,+ 0,+ 7,+ 35,+ 162],"accounts": [{- "name": "pool",- "writable": true+ "name": "pool"},{- "name": "user",+ "name": "authority","writable": true,"signer": true},{- "name": "global_config"+ "name": "global_config",+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 103,+ 108,+ 111,+ 98,+ 97,+ 108,+ 95,+ 99,+ 111,+ 110,+ 102,+ 105,+ 103+ ]+ }+ ]+ }},{"name": "base_mint",+ "writable": true,"relations": ["pool"]@@ -329,14 +425,6 @@"pool"]},- {- "name": "user_base_token_account",- "writable": true- },- {- "name": "user_quote_token_account",- "writable": true- },{"name": "pool_base_token_account","writable": true,@@ -352,16 +440,40 @@]},{- "name": "protocol_fee_recipient"+ "name": "boost_vault_authority",+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 98,+ 111,+ 111,+ 115,+ 116,+ 95,+ 118,+ 97,+ 117,+ 108,+ 116+ ]+ },+ {+ "kind": "account",+ "path": "pool"+ }+ ]+ }},{- "name": "protocol_fee_recipient_token_account",+ "name": "boost_vault","writable": true,"pda": {"seeds": [{"kind": "account",- "path": "protocol_fee_recipient"+ "path": "boost_vault_authority"},{"kind": "account",@@ -417,14 +529,6 @@{"name": "quote_token_program"},- {- "name": "system_program",- "address": "11111111111111111111111111111111"- },- {- "name": "associated_token_program",- "address": "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL"- },{"name": "event_authority","pda": {@@ -455,38 +559,219 @@}},{- "name": "program",- "address": "pAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA"+ "name": "program"+ }+ ],+ "args": [+ {+ "name": "quote_amount_in",+ "type": "u64"},{- "name": "coin_creator_vault_ata",+ "name": "min_base_amount_burned",+ "type": "u64"+ }+ ]+ },+ {+ "name": "buy",+ "docs": [+ "For cashback coins, optionally pass user_volume_accumulator_wsol_ata as remaining_accounts[0].",+ "If provided and valid, the ATA will be initialized if needed."+ ],+ "discriminator": [+ 102,+ 6,+ 61,+ 18,+ 1,+ 218,+ 235,+ 234+ ],+ "accounts": [+ {+ "name": "pool",+ "writable": true+ },+ {+ "name": "user","writable": true,- "pda": {- "seeds": [- {- "kind": "account",- "path": "coin_creator_vault_authority"- },- {- "kind": "account",- "path": "quote_token_program"- },- {- "kind": "account",- "path": "quote_mint"- }- ],- "program": {- "kind": "const",- "value": [- 140,- 151,- 37,- 143,- 78,- 36,- 137,- 241,+ "signer": true+ },+ {+ "name": "global_config"+ },+ {+ "name": "base_mint",+ "relations": [+ "pool"+ ]+ },+ {+ "name": "quote_mint",+ "relations": [+ "pool"+ ]+ },+ {+ "name": "user_base_token_account",+ "writable": true+ },+ {+ "name": "user_quote_token_account",+ "writable": true+ },+ {+ "name": "pool_base_token_account",+ "writable": true,+ "relations": [+ "pool"+ ]+ },+ {+ "name": "pool_quote_token_account",+ "writable": true,+ "relations": [+ "pool"+ ]+ },+ {+ "name": "protocol_fee_recipient"+ },+ {+ "name": "protocol_fee_recipient_token_account",+ "writable": true,+ "pda": {+ "seeds": [+ {+ "kind": "account",+ "path": "protocol_fee_recipient"+ },+ {+ "kind": "account",+ "path": "quote_token_program"+ },+ {+ "kind": "account",+ "path": "quote_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": "base_token_program"+ },+ {+ "name": "quote_token_program"+ },+ {+ "name": "system_program",+ "address": "11111111111111111111111111111111"+ },+ {+ "name": "associated_token_program",+ "address": "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL"+ },+ {+ "name": "event_authority",+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 95,+ 95,+ 101,+ 118,+ 101,+ 110,+ 116,+ 95,+ 97,+ 117,+ 116,+ 104,+ 111,+ 114,+ 105,+ 116,+ 121+ ]+ }+ ]+ }+ },+ {+ "name": "program",+ "address": "pAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA"+ },+ {+ "name": "coin_creator_vault_ata",+ "writable": true,+ "pda": {+ "seeds": [+ {+ "kind": "account",+ "path": "coin_creator_vault_authority"+ },+ {+ "kind": "account",+ "path": "quote_token_program"+ },+ {+ "kind": "account",+ "path": "quote_mint"+ }+ ],+ "program": {+ "kind": "const",+ "value": [+ 140,+ 151,+ 37,+ 143,+ 78,+ 36,+ 137,+ 241,187,61,16,@@ -1141,22 +1426,74 @@]},{- "name": "claim_cashback",+ "name": "buy_exact_quote_in_v2","discriminator": [- 37,- 58,- 35,- 126,- 190,- 53,- 228,- 197+ 194,+ 171,+ 28,+ 70,+ 104,+ 77,+ 91,+ 47],"accounts": [+ {+ "name": "pool",+ "writable": true+ },{"name": "user",+ "writable": true,+ "signer": true+ },+ {+ "name": "global_config"+ },+ {+ "name": "base_mint",+ "relations": [+ "pool"+ ]+ },+ {+ "name": "quote_mint",+ "relations": [+ "pool"+ ]+ },+ {+ "name": "user_base_token_account",+ "writable": true+ },+ {+ "name": "user_quote_token_account","writable": true},+ {+ "name": "pool_base_token_account",+ "writable": true,+ "relations": [+ "pool"+ ]+ },+ {+ "name": "pool_quote_token_account",+ "writable": true,+ "relations": [+ "pool"+ ]+ },+ {+ "name": "base_token_program"+ },+ {+ "name": "quote_token_program"+ },+ {+ "name": "system_program",+ "address": "11111111111111111111111111111111"+ },{"name": "user_volume_accumulator","writable": true,@@ -1198,22 +1535,1409 @@}},{- "name": "quote_mint"- },- {- "name": "quote_token_program"- },- {- "name": "user_volume_accumulator_wsol_token_account",- "writable": true,+ "name": "fee_config","pda": {"seeds": [{- "kind": "account",- "path": "user_volume_accumulator"- },- {- "kind": "account",+ "kind": "const",+ "value": [+ 102,+ 101,+ 101,+ 95,+ 99,+ 111,+ 110,+ 102,+ 105,+ 103+ ]+ },+ {+ "kind": "const",+ "value": [+ 12,+ 20,+ 222,+ 252,+ 130,+ 94,+ 198,+ 118,+ 148,+ 37,+ 8,+ 24,+ 187,+ 101,+ 64,+ 101,+ 244,+ 41,+ 141,+ 49,+ 86,+ 213,+ 113,+ 180,+ 212,+ 248,+ 9,+ 12,+ 24,+ 233,+ 168,+ 99+ ]+ }+ ],+ "program": {+ "kind": "const",+ "value": [+ 12,+ 53,+ 255,+ 169,+ 5,+ 90,+ 142,+ 86,+ 141,+ 168,+ 247,+ 188,+ 7,+ 86,+ 21,+ 39,+ 76,+ 241,+ 201,+ 44,+ 164,+ 31,+ 64,+ 0,+ 156,+ 81,+ 106,+ 164,+ 20,+ 194,+ 124,+ 112+ ]+ }+ }+ },+ {+ "name": "buyback_fee_recipient",+ "writable": true+ },+ {+ "name": "event_authority",+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 95,+ 95,+ 101,+ 118,+ 101,+ 110,+ 116,+ 95,+ 97,+ 117,+ 116,+ 104,+ 111,+ 114,+ 105,+ 116,+ 121+ ]+ }+ ]+ }+ },+ {+ "name": "program",+ "address": "pAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA"+ }+ ],+ "args": [+ {+ "name": "spendable_quote_in",+ "type": "u64"+ },+ {+ "name": "min_base_amount_out",+ "type": "u64"+ }+ ]+ },+ {+ "name": "buy_v2",+ "discriminator": [+ 184,+ 23,+ 238,+ 97,+ 103,+ 197,+ 211,+ 61+ ],+ "accounts": [+ {+ "name": "pool",+ "writable": true+ },+ {+ "name": "user",+ "writable": true,+ "signer": true+ },+ {+ "name": "global_config"+ },+ {+ "name": "base_mint",+ "relations": [+ "pool"+ ]+ },+ {+ "name": "quote_mint",+ "relations": [+ "pool"+ ]+ },+ {+ "name": "user_base_token_account",+ "writable": true+ },+ {+ "name": "user_quote_token_account",+ "writable": true+ },+ {+ "name": "pool_base_token_account",+ "writable": true,+ "relations": [+ "pool"+ ]+ },+ {+ "name": "pool_quote_token_account",+ "writable": true,+ "relations": [+ "pool"+ ]+ },+ {+ "name": "base_token_program"+ },+ {+ "name": "quote_token_program"+ },+ {+ "name": "system_program",+ "address": "11111111111111111111111111111111"+ },+ {+ "name": "user_volume_accumulator",+ "writable": true,+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 117,+ 115,+ 101,+ 114,+ 95,+ 118,+ 111,+ 108,+ 117,+ 109,+ 101,+ 95,+ 97,+ 99,+ 99,+ 117,+ 109,+ 117,+ 108,+ 97,+ 116,+ 111,+ 114+ ]+ },+ {+ "kind": "account",+ "path": "user"+ }+ ]+ }+ },+ {+ "name": "fee_config",+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 102,+ 101,+ 101,+ 95,+ 99,+ 111,+ 110,+ 102,+ 105,+ 103+ ]+ },+ {+ "kind": "const",+ "value": [+ 12,+ 20,+ 222,+ 252,+ 130,+ 94,+ 198,+ 118,+ 148,+ 37,+ 8,+ 24,+ 187,+ 101,+ 64,+ 101,+ 244,+ 41,+ 141,+ 49,+ 86,+ 213,+ 113,+ 180,+ 212,+ 248,+ 9,+ 12,+ 24,+ 233,+ 168,+ 99+ ]+ }+ ],+ "program": {+ "kind": "const",+ "value": [+ 12,+ 53,+ 255,+ 169,+ 5,+ 90,+ 142,+ 86,+ 141,+ 168,+ 247,+ 188,+ 7,+ 86,+ 21,+ 39,+ 76,+ 241,+ 201,+ 44,+ 164,+ 31,+ 64,+ 0,+ 156,+ 81,+ 106,+ 164,+ 20,+ 194,+ 124,+ 112+ ]+ }+ }+ },+ {+ "name": "buyback_fee_recipient",+ "writable": true+ },+ {+ "name": "event_authority",+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 95,+ 95,+ 101,+ 118,+ 101,+ 110,+ 116,+ 95,+ 97,+ 117,+ 116,+ 104,+ 111,+ 114,+ 105,+ 116,+ 121+ ]+ }+ ]+ }+ },+ {+ "name": "program",+ "address": "pAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA"+ }+ ],+ "args": [+ {+ "name": "base_amount_out",+ "type": "u64"+ },+ {+ "name": "max_quote_amount_in",+ "type": "u64"+ }+ ]+ },+ {+ "name": "claim_cashback",+ "docs": [+ "Pays out the user's accrued cashback. `user_wsol_token_account` may be any token account",+ "of `quote_mint` owned by `user`, not only the associated one."+ ],+ "discriminator": [+ 37,+ 58,+ 35,+ 126,+ 190,+ 53,+ 228,+ 197+ ],+ "accounts": [+ {+ "name": "user",+ "writable": true+ },+ {+ "name": "user_volume_accumulator",+ "writable": true,+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 117,+ 115,+ 101,+ 114,+ 95,+ 118,+ 111,+ 108,+ 117,+ 109,+ 101,+ 95,+ 97,+ 99,+ 99,+ 117,+ 109,+ 117,+ 108,+ 97,+ 116,+ 111,+ 114+ ]+ },+ {+ "kind": "account",+ "path": "user"+ }+ ]+ }+ },+ {+ "name": "quote_mint"+ },+ {+ "name": "quote_token_program"+ },+ {+ "name": "user_volume_accumulator_wsol_token_account",+ "writable": true,+ "pda": {+ "seeds": [+ {+ "kind": "account",+ "path": "user_volume_accumulator"+ },+ {+ "kind": "account",+ "path": "quote_token_program"+ },+ {+ "kind": "account",+ "path": "quote_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": "user_wsol_token_account",+ "writable": true+ },+ {+ "name": "system_program",+ "address": "11111111111111111111111111111111"+ },+ {+ "name": "event_authority",+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 95,+ 95,+ 101,+ 118,+ 101,+ 110,+ 116,+ 95,+ 97,+ 117,+ 116,+ 104,+ 111,+ 114,+ 105,+ 116,+ 121+ ]+ }+ ]+ }+ },+ {+ "name": "program",+ "address": "pAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA"+ }+ ],+ "args": []+ },+ {+ "name": "claim_token_incentives",+ "discriminator": [+ 16,+ 4,+ 71,+ 28,+ 204,+ 1,+ 40,+ 27+ ],+ "accounts": [+ {+ "name": "user"+ },+ {+ "name": "user_ata",+ "writable": true,+ "pda": {+ "seeds": [+ {+ "kind": "account",+ "path": "user"+ },+ {+ "kind": "account",+ "path": "token_program"+ },+ {+ "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": "global_volume_accumulator",+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 103,+ 108,+ 111,+ 98,+ 97,+ 108,+ 95,+ 118,+ 111,+ 108,+ 117,+ 109,+ 101,+ 95,+ 97,+ 99,+ 99,+ 117,+ 109,+ 117,+ 108,+ 97,+ 116,+ 111,+ 114+ ]+ }+ ]+ }+ },+ {+ "name": "global_incentive_token_account",+ "writable": true,+ "pda": {+ "seeds": [+ {+ "kind": "account",+ "path": "global_volume_accumulator"+ },+ {+ "kind": "account",+ "path": "token_program"+ },+ {+ "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": "user_volume_accumulator",+ "writable": true,+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 117,+ 115,+ 101,+ 114,+ 95,+ 118,+ 111,+ 108,+ 117,+ 109,+ 101,+ 95,+ 97,+ 99,+ 99,+ 117,+ 109,+ 117,+ 108,+ 97,+ 116,+ 111,+ 114+ ]+ },+ {+ "kind": "account",+ "path": "user"+ }+ ]+ }+ },+ {+ "name": "mint",+ "relations": [+ "global_volume_accumulator"+ ]+ },+ {+ "name": "token_program"+ },+ {+ "name": "system_program",+ "address": "11111111111111111111111111111111"+ },+ {+ "name": "associated_token_program",+ "address": "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL"+ },+ {+ "name": "event_authority",+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 95,+ 95,+ 101,+ 118,+ 101,+ 110,+ 116,+ 95,+ 97,+ 117,+ 116,+ 104,+ 111,+ 114,+ 105,+ 116,+ 121+ ]+ }+ ]+ }+ },+ {+ "name": "program",+ "address": "pAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA"+ },+ {+ "name": "payer",+ "writable": true,+ "signer": true+ }+ ],+ "args": []+ },+ {+ "name": "close_user_volume_accumulator",+ "discriminator": [+ 249,+ 69,+ 164,+ 218,+ 150,+ 103,+ 84,+ 138+ ],+ "accounts": [+ {+ "name": "user",+ "writable": true,+ "signer": true+ },+ {+ "name": "user_volume_accumulator",+ "writable": true,+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 117,+ 115,+ 101,+ 114,+ 95,+ 118,+ 111,+ 108,+ 117,+ 109,+ 101,+ 95,+ 97,+ 99,+ 99,+ 117,+ 109,+ 117,+ 108,+ 97,+ 116,+ 111,+ 114+ ]+ },+ {+ "kind": "account",+ "path": "user"+ }+ ]+ }+ },+ {+ "name": "event_authority",+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 95,+ 95,+ 101,+ 118,+ 101,+ 110,+ 116,+ 95,+ 97,+ 117,+ 116,+ 104,+ 111,+ 114,+ 105,+ 116,+ 121+ ]+ }+ ]+ }+ },+ {+ "name": "program"+ }+ ],+ "args": []+ },+ {+ "name": "collect_coin_creator_fee",+ "discriminator": [+ 160,+ 57,+ 89,+ 42,+ 181,+ 139,+ 43,+ 66+ ],+ "accounts": [+ {+ "name": "quote_mint"+ },+ {+ "name": "quote_token_program"+ },+ {+ "name": "coin_creator"+ },+ {+ "name": "coin_creator_vault_authority",+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 99,+ 114,+ 101,+ 97,+ 116,+ 111,+ 114,+ 95,+ 118,+ 97,+ 117,+ 108,+ 116+ ]+ },+ {+ "kind": "account",+ "path": "coin_creator"+ }+ ]+ }+ },+ {+ "name": "coin_creator_vault_ata",+ "writable": true,+ "pda": {+ "seeds": [+ {+ "kind": "account",+ "path": "coin_creator_vault_authority"+ },+ {+ "kind": "account",+ "path": "quote_token_program"+ },+ {+ "kind": "account",+ "path": "quote_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": "coin_creator_token_account",+ "writable": true+ },+ {+ "name": "event_authority",+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 95,+ 95,+ 101,+ 118,+ 101,+ 110,+ 116,+ 95,+ 97,+ 117,+ 116,+ 104,+ 111,+ 114,+ 105,+ 116,+ 121+ ]+ }+ ]+ }+ },+ {+ "name": "program"+ }+ ],+ "args": []+ },+ {+ "name": "create_config",+ "discriminator": [+ 201,+ 207,+ 243,+ 114,+ 75,+ 111,+ 47,+ 189+ ],+ "accounts": [+ {+ "name": "admin",+ "writable": true,+ "signer": true,+ "address": "8LWu7QM2dGR1G8nKDHthckea57bkCzXyBTAKPJUBDHo8"+ },+ {+ "name": "global_config",+ "writable": true,+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 103,+ 108,+ 111,+ 98,+ 97,+ 108,+ 95,+ 99,+ 111,+ 110,+ 102,+ 105,+ 103+ ]+ }+ ]+ }+ },+ {+ "name": "system_program",+ "address": "11111111111111111111111111111111"+ },+ {+ "name": "event_authority",+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 95,+ 95,+ 101,+ 118,+ 101,+ 110,+ 116,+ 95,+ 97,+ 117,+ 116,+ 104,+ 111,+ 114,+ 105,+ 116,+ 121+ ]+ }+ ]+ }+ },+ {+ "name": "program"+ }+ ],+ "args": [+ {+ "name": "lp_fee_basis_points",+ "type": "u64"+ },+ {+ "name": "protocol_fee_basis_points",+ "type": "u64"+ },+ {+ "name": "protocol_fee_recipients",+ "type": {+ "array": [+ "pubkey",+ 8+ ]+ }+ },+ {+ "name": "coin_creator_fee_basis_points",+ "type": "u64"+ },+ {+ "name": "admin_set_coin_creator_authority",+ "type": "pubkey"+ }+ ]+ },+ {+ "name": "create_pool",+ "discriminator": [+ 233,+ 146,+ 209,+ 142,+ 207,+ 104,+ 64,+ 188+ ],+ "accounts": [+ {+ "name": "pool",+ "writable": true,+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 112,+ 111,+ 111,+ 108+ ]+ },+ {+ "kind": "arg",+ "path": "index"+ },+ {+ "kind": "account",+ "path": "creator"+ },+ {+ "kind": "account",+ "path": "base_mint"+ },+ {+ "kind": "account",+ "path": "quote_mint"+ }+ ]+ }+ },+ {+ "name": "global_config"+ },+ {+ "name": "creator",+ "writable": true,+ "signer": true+ },+ {+ "name": "base_mint"+ },+ {+ "name": "quote_mint"+ },+ {+ "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"+ }+ ]+ }+ },+ {+ "name": "user_base_token_account",+ "writable": true+ },+ {+ "name": "user_quote_token_account",+ "writable": true+ },+ {+ "name": "user_pool_token_account",+ "writable": true,+ "pda": {+ "seeds": [+ {+ "kind": "account",+ "path": "creator"+ },+ {+ "kind": "account",+ "path": "token_2022_program"+ },+ {+ "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": "pool_base_token_account",+ "writable": true,+ "pda": {+ "seeds": [+ {+ "kind": "account",+ "path": "pool"+ },+ {+ "kind": "account",+ "path": "base_token_program"+ },+ {+ "kind": "account",+ "path": "base_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": "pool_quote_token_account",+ "writable": true,+ "pda": {+ "seeds": [+ {+ "kind": "account",+ "path": "pool"+ },+ {+ "kind": "account","path": "quote_token_program"},{@@ -1261,62 +2985,338 @@}},{- "name": "user_wsol_token_account",- "writable": true,+ "name": "system_program",+ "address": "11111111111111111111111111111111"+ },+ {+ "name": "token_2022_program",+ "address": "TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb"+ },+ {+ "name": "base_token_program"+ },+ {+ "name": "quote_token_program"+ },+ {+ "name": "associated_token_program",+ "address": "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL"+ },+ {+ "name": "event_authority",+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 95,+ 95,+ 101,+ 118,+ 101,+ 110,+ 116,+ 95,+ 97,+ 117,+ 116,+ 104,+ 111,+ 114,+ 105,+ 116,+ 121+ ]+ }+ ]+ }+ },+ {+ "name": "program"+ }+ ],+ "args": [+ {+ "name": "index",+ "type": "u16"+ },+ {+ "name": "base_amount_in",+ "type": "u64"+ },+ {+ "name": "quote_amount_in",+ "type": "u64"+ },+ {+ "name": "coin_creator",+ "type": "pubkey"+ },+ {+ "name": "is_mayhem_mode",+ "type": "bool"+ },+ {+ "name": "is_cashback_coin",+ "type": {+ "defined": {+ "name": "OptionBool"+ }+ }+ },+ {+ "name": "creator_fee_bps",+ "type": {+ "defined": {+ "name": "OptionU64"+ }+ }+ },+ {+ "name": "can_edit_creator_fee",+ "type": {+ "defined": {+ "name": "OptionBool"+ }+ }+ },+ {+ "name": "is_holder_reward",+ "type": {+ "defined": {+ "name": "OptionBool"+ }+ }+ }+ ]+ },+ {+ "name": "deposit",+ "discriminator": [+ 242,+ 35,+ 198,+ 137,+ 82,+ 225,+ 242,+ 182+ ],+ "accounts": [+ {+ "name": "pool",+ "writable": true+ },+ {+ "name": "global_config"+ },+ {+ "name": "user",+ "signer": true+ },+ {+ "name": "base_mint",+ "relations": [+ "pool"+ ]+ },+ {+ "name": "quote_mint",+ "relations": [+ "pool"+ ]+ },+ {+ "name": "lp_mint",+ "writable": true,+ "relations": [+ "pool"+ ]+ },+ {+ "name": "user_base_token_account",+ "writable": true+ },+ {+ "name": "user_quote_token_account",+ "writable": true+ },+ {+ "name": "user_pool_token_account",+ "writable": true+ },+ {+ "name": "pool_base_token_account",+ "writable": true,+ "relations": [+ "pool"+ ]+ },+ {+ "name": "pool_quote_token_account",+ "writable": true,+ "relations": [+ "pool"+ ]+ },+ {+ "name": "token_program",+ "address": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"+ },+ {+ "name": "token_2022_program",+ "address": "TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb"+ },+ {+ "name": "event_authority",+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 95,+ 95,+ 101,+ 118,+ 101,+ 110,+ 116,+ 95,+ 97,+ 117,+ 116,+ 104,+ 111,+ 114,+ 105,+ 116,+ 121+ ]+ }+ ]+ }+ },+ {+ "name": "program"+ }+ ],+ "args": [+ {+ "name": "lp_token_amount_out",+ "type": "u64"+ },+ {+ "name": "max_base_amount_in",+ "type": "u64"+ },+ {+ "name": "max_quote_amount_in",+ "type": "u64"+ }+ ]+ },+ {+ "name": "disable",+ "discriminator": [+ 185,+ 173,+ 187,+ 90,+ 216,+ 15,+ 238,+ 233+ ],+ "accounts": [+ {+ "name": "admin",+ "signer": true,+ "relations": [+ "global_config"+ ]+ },+ {+ "name": "global_config",+ "writable": true+ },+ {+ "name": "event_authority","pda": {"seeds": [{- "kind": "account",- "path": "user"- },- {- "kind": "account",- "path": "quote_token_program"- },- {- "kind": "account",- "path": "quote_mint"+ "kind": "const",+ "value": [+ 95,+ 95,+ 101,+ 118,+ 101,+ 110,+ 116,+ 95,+ 97,+ 117,+ 116,+ 104,+ 111,+ 114,+ 105,+ 116,+ 121+ ]}- ],- "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": "program"+ }+ ],+ "args": [+ {+ "name": "disable_create_pool",+ "type": "bool"+ },+ {+ "name": "disable_deposit",+ "type": "bool"+ },+ {+ "name": "disable_withdraw",+ "type": "bool"+ },+ {+ "name": "disable_buy",+ "type": "bool"+ },+ {+ "name": "disable_sell",+ "type": "bool"+ }+ ]+ },+ {+ "name": "extend_account",+ "discriminator": [+ 234,+ 102,+ 194,+ 203,+ 150,+ 72,+ 62,+ 229+ ],+ "accounts": [+ {+ "name": "account",+ "writable": true+ },+ {+ "name": "user",+ "writable": true,+ "signer": true+ },{"name": "system_program","address": "11111111111111111111111111111111"@@ -1351,138 +3351,126 @@}},{- "name": "program",- "address": "pAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA"+ "name": "program"}],"args": []},{- "name": "claim_token_incentives",+ "name": "init_boost","discriminator": [- 16,- 4,- 71,- 28,- 204,- 1,- 40,- 27+ 140,+ 233,+ 33,+ 94,+ 132,+ 90,+ 194,+ 143],"accounts": [{- "name": "user"+ "name": "pool",+ "writable": true},{- "name": "user_ata",- "writable": true,+ "name": "global_config","pda": {"seeds": [{- "kind": "account",- "path": "user"- },- {- "kind": "account",- "path": "token_program"- },- {- "kind": "account",- "path": "mint"+ "kind": "const",+ "value": [+ 103,+ 108,+ 111,+ 98,+ 97,+ 108,+ 95,+ 99,+ 111,+ 110,+ 102,+ 105,+ 103+ ]}- ],- "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": "global_volume_accumulator",+ "name": "creator",+ "writable": true,+ "signer": true+ },+ {+ "name": "base_mint",+ "relations": [+ "pool"+ ]+ },+ {+ "name": "quote_mint",+ "relations": [+ "pool"+ ]+ },+ {+ "name": "pool_base_token_account",+ "relations": [+ "pool"+ ]+ },+ {+ "name": "pool_quote_token_account",+ "writable": true,+ "relations": [+ "pool"+ ]+ },+ {+ "name": "boost_vault_authority","pda": {"seeds": [{"kind": "const","value": [- 103,- 108,- 111,98,- 97,- 108,- 95,- 118,111,- 108,- 117,- 109,- 101,+ 111,+ 115,+ 116,95,+ 118,97,- 99,- 99,- 117,- 109,117,108,- 97,- 116,- 111,- 114+ 116]+ },+ {+ "kind": "account",+ "path": "pool"}]}},{- "name": "global_incentive_token_account",+ "name": "boost_vault","writable": true,"pda": {"seeds": [{"kind": "account",- "path": "global_volume_accumulator"+ "path": "boost_vault_authority"},{"kind": "account",- "path": "token_program"+ "path": "quote_token_program"},{"kind": "account",- "path": "mint"+ "path": "quote_mint"}],"program": {@@ -1525,53 +3513,7 @@}},{- "name": "user_volume_accumulator",- "writable": true,- "pda": {- "seeds": [- {- "kind": "const",- "value": [- 117,- 115,- 101,- 114,- 95,- 118,- 111,- 108,- 117,- 109,- 101,- 95,- 97,- 99,- 99,- 117,- 109,- 117,- 108,- 97,- 116,- 111,- 114- ]- },- {- "kind": "account",- "path": "user"- }- ]- }- },- {- "name": "mint",- "relations": [- "global_volume_accumulator"- ]- },- {- "name": "token_program"+ "name": "quote_token_program"},{"name": "system_program",@@ -1611,35 +3553,32 @@}},{- "name": "program",- "address": "pAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA"- },- {- "name": "payer",- "writable": true,- "signer": true+ "name": "program"}],"args": []},{- "name": "close_user_volume_accumulator",+ "name": "init_user_volume_accumulator","discriminator": [- 249,- 69,- 164,- 218,- 150,- 103,- 84,- 138+ 94,+ 6,+ 202,+ 115,+ 255,+ 96,+ 232,+ 183],"accounts": [{- "name": "user",+ "name": "payer","writable": true,"signer": true},+ {+ "name": "user"+ },{"name": "user_volume_accumulator","writable": true,@@ -1680,6 +3619,10 @@]}},+ {+ "name": "system_program",+ "address": "11111111111111111111111111111111"+ },{"name": "event_authority","pda": {@@ -1716,117 +3659,126 @@"args": []},{- "name": "collect_coin_creator_fee",+ "name": "migrate_pool_coin_creator",+ "docs": [+ "Migrate Pool Coin Creator to Sharing Config"+ ],"discriminator": [- 160,- 57,- 89,- 42,- 181,- 139,- 43,- 66+ 208,+ 8,+ 159,+ 4,+ 74,+ 175,+ 16,+ 58],"accounts": [{- "name": "quote_mint"- },- {- "name": "quote_token_program"- },- {- "name": "coin_creator"- },- {- "name": "coin_creator_vault_authority",+ "name": "pool",+ "writable": true,"pda": {"seeds": [{"kind": "const","value": [- 99,- 114,- 101,- 97,- 116,+ 112,111,- 114,- 95,- 118,- 97,- 117,- 108,- 116+ 111,+ 108]},{"kind": "account",- "path": "coin_creator"+ "path": "pool.index",+ "account": "Pool"+ },+ {+ "kind": "account",+ "path": "pool.creator",+ "account": "Pool"+ },+ {+ "kind": "account",+ "path": "pool.base_mint",+ "account": "Pool"+ },+ {+ "kind": "account",+ "path": "pool.quote_mint",+ "account": "Pool"}]}},{- "name": "coin_creator_vault_ata",- "writable": true,+ "name": "sharing_config","pda": {"seeds": [{- "kind": "account",- "path": "coin_creator_vault_authority"- },- {- "kind": "account",- "path": "quote_token_program"+ "kind": "const",+ "value": [+ 115,+ 104,+ 97,+ 114,+ 105,+ 110,+ 103,+ 45,+ 99,+ 111,+ 110,+ 102,+ 105,+ 103+ ]},{"kind": "account",- "path": "quote_mint"+ "path": "pool.base_mint",+ "account": "Pool"}],"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,+ 12,+ 53,255,- 16,- 132,- 4,+ 169,+ 5,+ 90,142,- 123,- 216,- 219,- 233,- 248,- 89+ 86,+ 141,+ 168,+ 247,+ 188,+ 7,+ 86,+ 21,+ 39,+ 76,+ 241,+ 201,+ 44,+ 164,+ 31,+ 64,+ 0,+ 156,+ 81,+ 106,+ 164,+ 20,+ 194,+ 124,+ 112]}}},- {- "name": "coin_creator_token_account",- "writable": true- },{"name": "event_authority","pda": {@@ -1863,27 +3815,33 @@"args": []},{- "name": "create_config",+ "name": "multi_hop_swap","discriminator": [- 201,- 207,- 243,- 114,- 75,+ 43,+ 100,+ 73,+ 19,+ 233,+ 246,111,- 47,- 189+ 148],"accounts": [{- "name": "admin",+ "name": "user","writable": true,- "signer": true,- "address": "8LWu7QM2dGR1G8nKDHthckea57bkCzXyBTAKPJUBDHo8"+ "signer": true+ },+ {+ "name": "user_in_token_account",+ "writable": true+ },+ {+ "name": "user_out_token_account",+ "writable": true},{"name": "global_config",- "writable": true,"pda": {"seeds": [{@@ -1908,355 +3866,156 @@}},{- "name": "system_program",- "address": "11111111111111111111111111111111"- },- {- "name": "event_authority",+ "name": "fee_config","pda": {"seeds": [{"kind": "const","value": [- 95,- 95,+ 102,101,- 118,101,- 110,- 116,95,- 97,- 117,- 116,- 104,- 111,- 114,- 105,- 116,- 121- ]- }- ]- }- },- {- "name": "program"- }- ],- "args": [- {- "name": "lp_fee_basis_points",- "type": "u64"- },- {- "name": "protocol_fee_basis_points",- "type": "u64"- },- {- "name": "protocol_fee_recipients",- "type": {- "array": [- "pubkey",- 8- ]- }- },- {- "name": "coin_creator_fee_basis_points",- "type": "u64"- },- {- "name": "admin_set_coin_creator_authority",- "type": "pubkey"- }- ]- },- {- "name": "create_pool",- "discriminator": [- 233,- 146,- 209,- 142,- 207,- 104,- 64,- 188- ],- "accounts": [- {- "name": "pool",- "writable": true,- "pda": {- "seeds": [- {- "kind": "const",- "value": [- 112,- 111,- 111,- 108- ]- },- {- "kind": "arg",- "path": "index"- },- {- "kind": "account",- "path": "creator"- },- {- "kind": "account",- "path": "base_mint"- },- {- "kind": "account",- "path": "quote_mint"- }- ]- }- },- {- "name": "global_config"- },- {- "name": "creator",- "writable": true,- "signer": true- },- {- "name": "base_mint"- },- {- "name": "quote_mint"- },- {- "name": "lp_mint",- "writable": true,- "pda": {- "seeds": [- {- "kind": "const",- "value": [- 112,- 111,+ 99,111,- 108,- 95,- 108,- 112,- 95,- 109,- 105,110,- 116- ]- },- {- "kind": "account",- "path": "pool"- }- ]- }- },- {- "name": "user_base_token_account",- "writable": true- },- {- "name": "user_quote_token_account",- "writable": true- },- {- "name": "user_pool_token_account",- "writable": true,- "pda": {- "seeds": [- {- "kind": "account",- "path": "creator"- },- {- "kind": "account",- "path": "token_2022_program"- },- {- "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": "pool_base_token_account",- "writable": true,- "pda": {- "seeds": [- {- "kind": "account",- "path": "pool"- },- {- "kind": "account",- "path": "base_token_program"+ 102,+ 105,+ 103+ ]},{- "kind": "account",- "path": "base_mint"+ "kind": "const",+ "value": [+ 12,+ 20,+ 222,+ 252,+ 130,+ 94,+ 198,+ 118,+ 148,+ 37,+ 8,+ 24,+ 187,+ 101,+ 64,+ 101,+ 244,+ 41,+ 141,+ 49,+ 86,+ 213,+ 113,+ 180,+ 212,+ 248,+ 9,+ 12,+ 24,+ 233,+ 168,+ 99+ ]}],"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,+ 12,+ 53,255,- 16,- 132,- 4,+ 169,+ 5,+ 90,142,- 123,- 216,- 219,- 233,- 248,- 89+ 86,+ 141,+ 168,+ 247,+ 188,+ 7,+ 86,+ 21,+ 39,+ 76,+ 241,+ 201,+ 44,+ 164,+ 31,+ 64,+ 0,+ 156,+ 81,+ 106,+ 164,+ 20,+ 194,+ 124,+ 112]}}},{- "name": "pool_quote_token_account",+ "name": "user_volume_accumulator","writable": true,"pda": {"seeds": [{- "kind": "account",- "path": "pool"- },- {- "kind": "account",- "path": "quote_token_program"+ "kind": "const",+ "value": [+ 117,+ 115,+ 101,+ 114,+ 95,+ 118,+ 111,+ 108,+ 117,+ 109,+ 101,+ 95,+ 97,+ 99,+ 99,+ 117,+ 109,+ 117,+ 108,+ 97,+ 116,+ 111,+ 114+ ]},{"kind": "account",- "path": "quote_mint"+ "path": "user"}- ],- "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",- "address": "11111111111111111111111111111111"- },- {- "name": "token_2022_program",- "address": "TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb"+ "name": "buyback_fee_recipient",+ "writable": true},{- "name": "base_token_program"+ "name": "token_program",+ "address": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"},{- "name": "quote_token_program"+ "name": "token_2022_program",+ "address": "TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb"},{- "name": "associated_token_program",- "address": "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL"+ "name": "system_program",+ "address": "11111111111111111111111111111111"},{"name": "event_authority",@@ -2288,93 +4047,77 @@}},{- "name": "program"- }- ],- "args": [- {- "name": "index",- "type": "u16"+ "name": "program",+ "address": "pAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA"},{- "name": "base_amount_in",- "type": "u64"+ "name": "pump_program",+ "address": "6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P"},{- "name": "quote_amount_in",- "type": "u64"+ "name": "pump_global"},{- "name": "coin_creator",- "type": "pubkey"+ "name": "pump_fee_config"},{- "name": "is_mayhem_mode",- "type": "bool"+ "name": "pump_event_authority"+ }+ ],+ "args": [+ {+ "name": "amount_in",+ "type": "u64"},{- "name": "is_cashback_coin",- "type": {- "defined": {- "name": "OptionBool"- }- }+ "name": "min_amount_out",+ "type": "u64"}]},{- "name": "deposit",+ "name": "sell","discriminator": [- 242,- 35,- 198,- 137,- 82,- 225,- 242,- 182+ 51,+ 230,+ 133,+ 164,+ 1,+ 127,+ 131,+ 173],"accounts": [{"name": "pool","writable": true},- {- "name": "global_config"- },{"name": "user",+ "writable": true,"signer": true},{- "name": "base_mint",- "relations": [- "pool"- ]+ "name": "global_config"},{- "name": "quote_mint",+ "name": "base_mint","relations": ["pool"]},{- "name": "lp_mint",- "writable": true,+ "name": "quote_mint","relations": ["pool"]},{- "name": "user_base_token_account",- "writable": true- },- {- "name": "user_quote_token_account",+ "name": "user_base_token_account","writable": true},{- "name": "user_pool_token_account",+ "name": "user_quote_token_account","writable": true},{@@ -2392,12 +4135,78 @@]},{- "name": "token_program",- "address": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"+ "name": "protocol_fee_recipient"},{- "name": "token_2022_program",- "address": "TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb"+ "name": "protocol_fee_recipient_token_account",+ "writable": true,+ "pda": {+ "seeds": [+ {+ "kind": "account",+ "path": "protocol_fee_recipient"+ },+ {+ "kind": "account",+ "path": "quote_token_program"+ },+ {+ "kind": "account",+ "path": "quote_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": "base_token_program"+ },+ {+ "name": "quote_token_program"+ },+ {+ "name": "system_program",+ "address": "11111111111111111111111111111111"+ },+ {+ "name": "associated_token_program",+ "address": "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL"},{"name": "event_authority",@@ -2429,184 +4238,243 @@}},{- "name": "program"- }- ],- "args": [- {- "name": "lp_token_amount_out",- "type": "u64"- },- {- "name": "max_base_amount_in",- "type": "u64"- },- {- "name": "max_quote_amount_in",- "type": "u64"- }- ]- },- {- "name": "disable",- "discriminator": [- 185,- 173,- 187,- 90,- 216,- 15,- 238,- 233- ],- "accounts": [- {- "name": "admin",- "signer": true,- "relations": [- "global_config"- ]+ "name": "program",+ "address": "pAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA"},{- "name": "global_config",- "writable": true+ "name": "coin_creator_vault_ata",+ "writable": true,+ "pda": {+ "seeds": [+ {+ "kind": "account",+ "path": "coin_creator_vault_authority"+ },+ {+ "kind": "account",+ "path": "quote_token_program"+ },+ {+ "kind": "account",+ "path": "quote_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": "event_authority",+ "name": "coin_creator_vault_authority","pda": {"seeds": [{"kind": "const","value": [- 95,- 95,- 101,- 118,+ 99,+ 114,101,- 110,+ 97,116,+ 111,+ 114,95,+ 118,97,117,- 116,- 104,+ 108,+ 116+ ]+ },+ {+ "kind": "account",+ "path": "pool.coin_creator",+ "account": "Pool"+ }+ ]+ }+ },+ {+ "name": "fee_config",+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 102,+ 101,+ 101,+ 95,+ 99,111,- 114,+ 110,+ 102,105,- 116,- 121+ 103+ ]+ },+ {+ "kind": "const",+ "value": [+ 12,+ 20,+ 222,+ 252,+ 130,+ 94,+ 198,+ 118,+ 148,+ 37,+ 8,+ 24,+ 187,+ 101,+ 64,+ 101,+ 244,+ 41,+ 141,+ 49,+ 86,+ 213,+ 113,+ 180,+ 212,+ 248,+ 9,+ 12,+ 24,+ 233,+ 168,+ 99]}- ]+ ],+ "program": {+ "kind": "account",+ "path": "fee_program"+ }}},{- "name": "program"+ "name": "fee_program",+ "address": "pfeeUxB6jkeY1Hxd7CsFCAjcbHA9rWtchMGdZ6VojVZ"}],"args": [{- "name": "disable_create_pool",- "type": "bool"- },- {- "name": "disable_deposit",- "type": "bool"- },- {- "name": "disable_withdraw",- "type": "bool"- },- {- "name": "disable_buy",- "type": "bool"+ "name": "base_amount_in",+ "type": "u64"},{- "name": "disable_sell",- "type": "bool"+ "name": "min_quote_amount_out",+ "type": "u64"}]},{- "name": "extend_account",+ "name": "sell_v2","discriminator": [- 234,- 102,- 194,- 203,- 150,- 72,- 62,- 229+ 93,+ 246,+ 130,+ 60,+ 231,+ 233,+ 64,+ 178],"accounts": [{- "name": "account",+ "name": "pool","writable": true},{"name": "user",+ "writable": true,"signer": true},{- "name": "system_program",- "address": "11111111111111111111111111111111"+ "name": "global_config"},{- "name": "event_authority",- "pda": {- "seeds": [- {- "kind": "const",- "value": [- 95,- 95,- 101,- 118,- 101,- 110,- 116,- 95,- 97,- 117,- 116,- 104,- 111,- 114,- 105,- 116,- 121- ]- }- ]- }+ "name": "base_mint",+ "relations": [+ "pool"+ ]},{- "name": "program"- }- ],- "args": []- },- {- "name": "init_user_volume_accumulator",- "discriminator": [- 94,- 6,- 202,- 115,- 255,- 96,- 232,- 183- ],- "accounts": [+ "name": "quote_mint",+ "relations": [+ "pool"+ ]+ },{- "name": "payer",+ "name": "user_base_token_account",+ "writable": true+ },+ {+ "name": "user_quote_token_account",+ "writable": true+ },+ {+ "name": "pool_base_token_account","writable": true,- "signer": true+ "relations": [+ "pool"+ ]},{- "name": "user"+ "name": "pool_quote_token_account",+ "writable": true,+ "relations": [+ "pool"+ ]+ },+ {+ "name": "base_token_program"+ },+ {+ "name": "quote_token_program"+ },+ {+ "name": "system_program",+ "address": "11111111111111111111111111111111"},{"name": "user_volume_accumulator",@@ -2649,124 +4517,60 @@}},{- "name": "system_program",- "address": "11111111111111111111111111111111"- },- {- "name": "event_authority",+ "name": "fee_config","pda": {"seeds": [{"kind": "const","value": [- 95,- 95,+ 102,101,- 118,101,- 110,- 116,95,- 97,- 117,- 116,- 104,+ 99,111,- 114,+ 110,+ 102,105,- 116,- 121- ]- }- ]- }- },- {- "name": "program"- }- ],- "args": []- },- {- "name": "migrate_pool_coin_creator",- "docs": [- "Migrate Pool Coin Creator to Sharing Config"- ],- "discriminator": [- 208,- 8,- 159,- 4,- 74,- 175,- 16,- 58- ],- "accounts": [- {- "name": "pool",- "writable": true,- "pda": {- "seeds": [- {- "kind": "const",- "value": [- 112,- 111,- 111,- 108+ 103]},- {- "kind": "account",- "path": "pool.index",- "account": "Pool"- },- {- "kind": "account",- "path": "pool.creator",- "account": "Pool"- },- {- "kind": "account",- "path": "pool.base_mint",- "account": "Pool"- },- {- "kind": "account",- "path": "pool.quote_mint",- "account": "Pool"- }- ]- }- },- {- "name": "sharing_config",- "pda": {- "seeds": [{"kind": "const","value": [- 115,- 104,- 97,- 114,- 105,- 110,- 103,- 45,- 99,- 111,- 110,- 102,- 105,- 103+ 12,+ 20,+ 222,+ 252,+ 130,+ 94,+ 198,+ 118,+ 148,+ 37,+ 8,+ 24,+ 187,+ 101,+ 64,+ 101,+ 244,+ 41,+ 141,+ 49,+ 86,+ 213,+ 113,+ 180,+ 212,+ 248,+ 9,+ 12,+ 24,+ 233,+ 168,+ 99]- },- {- "kind": "account",- "path": "pool.base_mint",- "account": "Pool"}],"program": {@@ -2808,6 +4612,10 @@}}},+ {+ "name": "buyback_fee_recipient",+ "writable": true+ },{"name": "event_authority","pda": {@@ -2838,342 +4646,86 @@}},{- "name": "program"+ "name": "program",+ "address": "pAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA"}],- "args": []+ "args": [+ {+ "name": "base_amount_in",+ "type": "u64"+ },+ {+ "name": "min_quote_amount_out",+ "type": "u64"+ }+ ]},{- "name": "sell",+ "name": "set_boost_authority","discriminator": [- 51,- 230,- 133,- 164,- 1,- 127,- 131,- 173+ 227,+ 149,+ 76,+ 42,+ 130,+ 39,+ 234,+ 205],"accounts": [{- "name": "pool",- "writable": true- },- {- "name": "user",- "writable": true,- "signer": true- },- {- "name": "global_config"- },- {- "name": "base_mint",- "relations": [- "pool"- ]- },- {- "name": "quote_mint",+ "name": "admin",+ "signer": true,"relations": [- "pool"+ "global_config"]},{- "name": "user_base_token_account",- "writable": true- },- {- "name": "user_quote_token_account",+ "name": "global_config","writable": true},{- "name": "pool_base_token_account",- "writable": true,- "relations": [- "pool"- ]- },- {- "name": "pool_quote_token_account",- "writable": true,- "relations": [- "pool"- ]- },- {- "name": "protocol_fee_recipient"- },- {- "name": "protocol_fee_recipient_token_account",- "writable": true,- "pda": {- "seeds": [- {- "kind": "account",- "path": "protocol_fee_recipient"- },- {- "kind": "account",- "path": "quote_token_program"- },- {- "kind": "account",- "path": "quote_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": "base_token_program"- },- {- "name": "quote_token_program"- },- {- "name": "system_program",- "address": "11111111111111111111111111111111"- },- {- "name": "associated_token_program",- "address": "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL"- },- {- "name": "event_authority",- "pda": {- "seeds": [- {- "kind": "const",- "value": [- 95,- 95,- 101,- 118,- 101,- 110,- 116,- 95,- 97,- 117,- 116,- 104,- 111,- 114,- 105,- 116,- 121- ]- }- ]- }- },- {- "name": "program",- "address": "pAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA"- },- {- "name": "coin_creator_vault_ata",- "writable": true,- "pda": {- "seeds": [- {- "kind": "account",- "path": "coin_creator_vault_authority"- },- {- "kind": "account",- "path": "quote_token_program"- },- {- "kind": "account",- "path": "quote_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": "coin_creator_vault_authority",- "pda": {- "seeds": [- {- "kind": "const",- "value": [- 99,- 114,- 101,- 97,- 116,- 111,- 114,- 95,- 118,- 97,- 117,- 108,- 116- ]- },- {- "kind": "account",- "path": "pool.coin_creator",- "account": "Pool"- }- ]- }+ "name": "boost_authority"},{- "name": "fee_config",+ "name": "system_program",+ "address": "11111111111111111111111111111111"+ },+ {+ "name": "event_authority","pda": {"seeds": [{"kind": "const","value": [- 102,+ 95,+ 95,101,+ 118,101,+ 110,+ 116,95,- 99,+ 97,+ 117,+ 116,+ 104,111,- 110,- 102,+ 114,105,- 103- ]- },- {- "kind": "const",- "value": [- 12,- 20,- 222,- 252,- 130,- 94,- 198,- 118,- 148,- 37,- 8,- 24,- 187,- 101,- 64,- 101,- 244,- 41,- 141,- 49,- 86,- 213,- 113,- 180,- 212,- 248,- 9,- 12,- 24,- 233,- 168,- 99+ 116,+ 121]}- ],- "program": {- "kind": "account",- "path": "fee_program"- }+ ]}},{- "name": "fee_program",- "address": "pfeeUxB6jkeY1Hxd7CsFCAjcbHA9rWtchMGdZ6VojVZ"+ "name": "program"}],- "args": [- {- "name": "base_amount_in",- "type": "u64"- },- {- "name": "min_quote_amount_out",- "type": "u64"- }- ]+ "args": []},{"name": "set_coin_creator",@@ -3301,66 +4853,303 @@{"kind": "const","value": [- 98,- 111,- 110,- 100,- 105,+ 98,+ 111,+ 110,+ 100,+ 105,+ 110,+ 103,+ 45,+ 99,+ 117,+ 114,+ 118,+ 101+ ]+ },+ {+ "kind": "account",+ "path": "pool.base_mint",+ "account": "Pool"+ }+ ],+ "program": {+ "kind": "const",+ "value": [+ 1,+ 86,+ 224,+ 246,+ 147,+ 102,+ 90,+ 207,+ 68,+ 219,+ 21,+ 104,+ 191,+ 23,+ 91,+ 170,+ 81,+ 137,+ 203,+ 151,+ 245,+ 210,+ 255,+ 59,+ 101,+ 93,+ 43,+ 182,+ 253,+ 109,+ 24,+ 176+ ]+ }+ }+ },+ {+ "name": "event_authority",+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 95,+ 95,+ 101,+ 118,+ 101,+ 110,+ 116,+ 95,+ 97,+ 117,+ 116,+ 104,+ 111,+ 114,+ 105,+ 116,+ 121+ ]+ }+ ]+ }+ },+ {+ "name": "program"+ }+ ],+ "args": []+ },+ {+ "name": "set_reserved_fee_recipients",+ "discriminator": [+ 111,+ 172,+ 162,+ 232,+ 114,+ 89,+ 213,+ 142+ ],+ "accounts": [+ {+ "name": "global_config",+ "writable": true,+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 103,+ 108,+ 111,+ 98,+ 97,+ 108,+ 95,+ 99,+ 111,+ 110,+ 102,+ 105,+ 103+ ]+ }+ ]+ }+ },+ {+ "name": "admin",+ "signer": true,+ "relations": [+ "global_config"+ ]+ },+ {+ "name": "event_authority",+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 95,+ 95,+ 101,+ 118,+ 101,110,- 103,- 45,- 99,+ 116,+ 95,+ 97,117,+ 116,+ 104,+ 111,114,- 118,- 101+ 105,+ 116,+ 121]+ }+ ]+ }+ },+ {+ "name": "program"+ }+ ],+ "args": [+ {+ "name": "whitelist_pda",+ "type": "pubkey"+ }+ ]+ },+ {+ "name": "sweep_creator_fee",+ "discriminator": [+ 32,+ 246,+ 191,+ 52,+ 8,+ 201,+ 73,+ 186+ ],+ "accounts": [+ {+ "name": "payer",+ "writable": true,+ "signer": true+ },+ {+ "name": "global_config"+ },+ {+ "name": "pool",+ "writable": true+ },+ {+ "name": "quote_mint",+ "relations": [+ "pool"+ ]+ },+ {+ "name": "quote_token_program"+ },+ {+ "name": "pool_quote_token_account",+ "writable": true,+ "relations": [+ "pool"+ ]+ },+ {+ "name": "recipient",+ "docs": [+ "protocol fee recipient (`check_protocol_fee_recipient`) or the coin-creator vault",+ "authority PDA of `pool.coin_creator`."+ ]+ },+ {+ "name": "recipient_token_account",+ "docs": [+ "idempotently when missing (the payer pays)."+ ],+ "writable": true,+ "pda": {+ "seeds": [+ {+ "kind": "account",+ "path": "recipient"},{"kind": "account",- "path": "pool.base_mint",- "account": "Pool"+ "path": "quote_token_program"+ },+ {+ "kind": "account",+ "path": "quote_mint"}],"program": {"kind": "const","value": [- 1,- 86,- 224,- 246,- 147,- 102,- 90,- 207,- 68,- 219,- 21,- 104,- 191,- 23,- 91,- 170,- 81,- 137,- 203,+ 140,151,- 245,- 210,+ 37,+ 143,+ 78,+ 36,+ 137,+ 241,+ 187,+ 61,+ 16,+ 41,+ 20,+ 142,+ 13,+ 131,+ 11,+ 90,+ 19,+ 153,+ 218,255,- 59,- 101,- 93,- 43,- 182,- 253,- 109,- 24,- 176+ 16,+ 132,+ 4,+ 142,+ 123,+ 216,+ 219,+ 233,+ 248,+ 89]}}},+ {+ "name": "system_program",+ "address": "11111111111111111111111111111111"+ },+ {+ "name": "associated_token_program",+ "address": "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL"+ },{"name": "event_authority","pda": {@@ -3397,50 +5186,120 @@"args": []},{- "name": "set_reserved_fee_recipients",+ "name": "sweep_protocol_fee","discriminator": [- 111,- 172,- 162,- 232,- 114,- 89,- 213,- 142+ 8,+ 48,+ 190,+ 7,+ 182,+ 68,+ 183,+ 229],"accounts": [{- "name": "global_config",+ "name": "payer",+ "writable": true,+ "signer": true+ },+ {+ "name": "global_config"+ },+ {+ "name": "pool",+ "writable": true+ },+ {+ "name": "quote_mint",+ "relations": [+ "pool"+ ]+ },+ {+ "name": "quote_token_program"+ },+ {+ "name": "pool_quote_token_account",+ "writable": true,+ "relations": [+ "pool"+ ]+ },+ {+ "name": "recipient",+ "docs": [+ "protocol fee recipient (`check_protocol_fee_recipient`) or the coin-creator vault",+ "authority PDA of `pool.coin_creator`."+ ]+ },+ {+ "name": "recipient_token_account",+ "docs": [+ "idempotently when missing (the payer pays)."+ ],"writable": true,"pda": {"seeds": [{- "kind": "const",- "value": [- 103,- 108,- 111,- 98,- 97,- 108,- 95,- 99,- 111,- 110,- 102,- 105,- 103- ]+ "kind": "account",+ "path": "recipient"+ },+ {+ "kind": "account",+ "path": "quote_token_program"+ },+ {+ "kind": "account",+ "path": "quote_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": "admin",- "signer": true,- "relations": [- "global_config"- ]+ "name": "system_program",+ "address": "11111111111111111111111111111111"+ },+ {+ "name": "associated_token_program",+ "address": "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL"},{"name": "event_authority",@@ -3475,12 +5334,7 @@"name": "program"}],- "args": [- {- "name": "whitelist_pda",- "type": "pubkey"- }- ]+ "args": []},{"name": "sync_user_volume_accumulator",@@ -3610,6 +5464,38 @@],"args": []},+ {+ "name": "toggle_boost",+ "discriminator": [+ 117,+ 161,+ 160,+ 74,+ 223,+ 137,+ 118,+ 99+ ],+ "accounts": [+ {+ "name": "admin",+ "signer": true,+ "relations": [+ "global_config"+ ]+ },+ {+ "name": "global_config",+ "writable": true+ }+ ],+ "args": [+ {+ "name": "enabled",+ "type": "bool"+ }+ ]+ },{"name": "toggle_cashback_enabled","discriminator": [@@ -4341,6 +6227,79 @@}]},+ {+ "name": "update_creator_fee_config",+ "discriminator": [+ 61,+ 175,+ 160,+ 249,+ 66,+ 66,+ 136,+ 175+ ],+ "accounts": [+ {+ "name": "admin",+ "writable": true,+ "signer": true,+ "relations": [+ "global_config"+ ]+ },+ {+ "name": "global_config",+ "writable": true+ },+ {+ "name": "system_program",+ "address": "11111111111111111111111111111111"+ },+ {+ "name": "event_authority",+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 95,+ 95,+ 101,+ 118,+ 101,+ 110,+ 116,+ 95,+ 97,+ 117,+ 116,+ 104,+ 111,+ 114,+ 105,+ 116,+ 121+ ]+ }+ ]+ }+ },+ {+ "name": "program"+ }+ ],+ "args": [+ {+ "name": "creator_fee_configurable",+ "type": "bool"+ },+ {+ "name": "max_configurable_creator_fee_bps",+ "type": "u64"+ }+ ]+ },{"name": "update_fee_config","discriminator": [@@ -4647,16 +6606,16 @@],"events": [{- "name": "AdminSetCoinCreatorEvent",+ "name": "AdminCtoPoolEvent","discriminator": [- 45,- 220,- 93,- 24,- 25,- 97,- 172,- 104+ 47,+ 35,+ 163,+ 249,+ 150,+ 157,+ 147,+ 122]},{@@ -4672,6 +6631,19 @@222]},+ {+ "name": "BoostBuyAndBurnEvent",+ "discriminator": [+ 63,+ 69,+ 28,+ 22,+ 48,+ 92,+ 194,+ 185+ ]+ },{"name": "BuyEvent","discriminator": [@@ -4802,6 +6774,19 @@124]},+ {+ "name": "InitBoostEvent",+ "discriminator": [+ 174,+ 124,+ 74,+ 249,+ 4,+ 81,+ 246,+ 17+ ]+ },{"name": "InitUserVolumeAccumulatorEvent","discriminator": [@@ -4867,6 +6852,19 @@211]},+ {+ "name": "SetBoostAuthorityEvent",+ "discriminator": [+ 89,+ 128,+ 240,+ 141,+ 91,+ 202,+ 71,+ 105+ ]+ },{"name": "SetMetaplexCoinCreatorEvent","discriminator": [@@ -4880,6 +6878,19 @@228]},+ {+ "name": "SweepPoolFeeEvent",+ "discriminator": [+ 130,+ 164,+ 36,+ 97,+ 228,+ 130,+ 135,+ 165+ ]+ },{"name": "SyncUserVolumeAccumulatorEvent","discriminator": [@@ -4906,6 +6917,19 @@234]},+ {+ "name": "UpdateCreatorFeeConfigEvent",+ "discriminator": [+ 152,+ 198,+ 124,+ 124,+ 106,+ 246,+ 127,+ 191+ ]+ },{"name": "UpdateFeeConfigEvent","discriminator": [@@ -5127,7 +7151,7 @@{"code": 6047,"name": "CoinCreatorMigratedToSharingConfig",- "msg": "coin creator has been migrated to sharing config, use pump_fees::reset_fee_sharing_config instead"+ "msg": "coin creator has been migrated to sharing config"},{"code": 6048,@@ -5177,11 +7201,156 @@{"code": 6058,"name": "BuybackFeeRecipientMissing"+ },+ {+ "code": 6059,+ "name": "MissingCashbackAccounts",+ "msg": "Cashback trade is missing the required remaining accounts"+ },+ {+ "code": 6060,+ "name": "InvalidCashbackAccumulator",+ "msg": "Cashback user_volume_accumulator account is invalid"+ },+ {+ "code": 6061,+ "name": "InvalidCashbackAccumulatorAta",+ "msg": "Cashback user_volume_accumulator ATA is missing or invalid"+ },+ {+ "code": 6062,+ "name": "InvalidPoolV2",+ "msg": "pool_v2 remaining account is missing or invalid"+ },+ {+ "code": 6063,+ "name": "InsufficientRealQuoteReserves",+ "msg": "BOOST: sell output exceeds the real quote vault. effective = real + virtual is pricing-only; payout is capped at real_vault, so quote min(out, real_vault)"+ },+ {+ "code": 6064,+ "name": "BoostPoolLiquidityUnsupported",+ "msg": "BOOST: deposit/withdraw don't apply to boost pools"+ },+ {+ "code": 6065,+ "name": "PoolCannotBoost",+ "msg": "BOOST: pool cannot be boosted (no virtual reserves)"+ },+ {+ "code": 6066,+ "name": "BoostDisabled",+ "msg": "BOOST: boost is disabled"+ },+ {+ "code": 6067,+ "name": "SeedLockViolation",+ "msg": "BOOST: lp_supply must never drop below the circulating LP mint supply"+ },+ {+ "code": 6068,+ "name": "CreatorFeeNotConfigurable",+ "msg": "Configurable creator fee is disabled"+ },+ {+ "code": 6069,+ "name": "CreatorFeeBpsOutOfRange",+ "msg": "Creator fee basis points must be between 1 and the configured maximum"+ },+ {+ "code": 6070,+ "name": "CreatorFeeNotEditable",+ "msg": "Creator fee is not editable for this pool"+ },+ {+ "code": 6071,+ "name": "CreatorFeeNotAllowedForCashbackCoin",+ "msg": "Cashback coins cannot have a creator fee"+ },+ {+ "code": 6072,+ "name": "SharingConfigNotActive",+ "msg": "Sharing config is not active"+ },+ {+ "code": 6073,+ "name": "NotAuthorized",+ "msg": "Not authorized"+ },+ {+ "code": 6074,+ "name": "HolderRewardCreatorImmutable",+ "msg": "The coin creator of a holder-reward pool cannot be changed"+ },+ {+ "code": 6075,+ "name": "CtoNotAllowedForMayhemPool",+ "msg": "CTO is not allowed on a mayhem-mode pool"+ },+ {+ "code": 6076,+ "name": "InvalidHolderRewardCoinCreator",+ "msg": "A holder-reward pool's coin creator must be the holder-rewards PDA"+ },+ {+ "code": 6077,+ "name": "CreatorFeeNotConfigurableForQuote",+ "msg": "Creator fee is not configurable on a SOL or USDC quote; the fee schedule applies"+ },+ {+ "code": 6078,+ "name": "OnlyPumpPools",+ "msg": "Only canonical pump pools are supported by this instruction"+ },+ {+ "code": 6079,+ "name": "CashbackCoinNotSupported",+ "msg": "v2 trades do not support cashback coins; use the v1 instructions"+ },+ {+ "code": 6080,+ "name": "MayhemPoolNotSupported",+ "msg": "v2 trades do not support mayhem-mode pools; use the v1 instructions"+ },+ {+ "code": 6081,+ "name": "CreatorFeesNotSwept",+ "msg": "creator_fees must be swept before the coin creator changes"+ },+ {+ "code": 6082,+ "name": "FeeTiersEmpty",+ "msg": "The fee config tier table is empty"+ },+ {+ "code": 6083,+ "name": "FeeConfigTooShort",+ "msg": "The fee config account is shorter than its initialize size"+ },+ {+ "code": 6084,+ "name": "MultiHopDiscontinuousPath",+ "msg": "multi-hop: a hop's input mint is neither side of its pool or curve, or the route does not end in user_out_token_account's mint"+ },+ {+ "code": 6085,+ "name": "MultiHopCurveRunMismatch",+ "msg": "multi-hop: the balances around the bonding-curve hops do not match the amounts pump reported"+ },+ {+ "code": 6086,+ "name": "MultiHopMixedDirection",+ "msg": "multi-hop: every hop must trade in the same direction, all buys or all sells"+ },+ {+ "code": 6087,+ "name": "SelfTransferNotAllowed",+ "msg": "A transfer's source is its destination and the signer does not own it"}],"types": [{- "name": "AdminSetCoinCreatorEvent",+ "name": "AdminCtoPoolEvent","type": {"kind": "struct","fields": [@@ -5189,10 +7358,6 @@"name": "timestamp","type": "i64"},- {- "name": "admin_set_coin_creator_authority",- "type": "pubkey"- },{"name": "base_mint","type": "pubkey"@@ -5208,6 +7373,22 @@{"name": "new_coin_creator","type": "pubkey"+ },+ {+ "name": "is_holder_reward",+ "type": "bool"+ },+ {+ "name": "is_cashback_coin",+ "type": "bool"+ },+ {+ "name": "old_creator_fee_bps",+ "type": "u64"+ },+ {+ "name": "new_creator_fee_bps",+ "type": "u64"}]}@@ -5292,6 +7473,62 @@]}},+ {+ "name": "BoostBuyAndBurnEvent",+ "type": {+ "kind": "struct",+ "fields": [+ {+ "name": "timestamp",+ "type": "i64"+ },+ {+ "name": "mint",+ "type": "pubkey"+ },+ {+ "name": "bonding_curve",+ "type": "pubkey"+ },+ {+ "name": "pool",+ "type": "pubkey"+ },+ {+ "name": "authority",+ "type": "pubkey"+ },+ {+ "name": "quote_amount_in_requested",+ "type": "u64"+ },+ {+ "name": "quote_amount_in_used",+ "type": "u64"+ },+ {+ "name": "base_amount_burned",+ "type": "u64"+ },+ {+ "name": "virtual_quote_reserves",+ "type": "i128"+ },+ {+ "name": "real_quote_reserves_after",+ "type": "u64"+ },+ {+ "name": "base_reserves_after",+ "type": "u64"+ },+ {+ "name": "boost_vault_remaining",+ "type": "u64"+ }+ ]+ }+ },{"name": "BuyEvent","docs": [@@ -5435,6 +7672,30 @@{"name": "buyback_fee","type": "u64"+ },+ {+ "name": "virtual_quote_reserves",+ "type": "i128"+ },+ {+ "name": "can_boost",+ "type": "bool"+ },+ {+ "name": "base_supply",+ "type": "u64"+ },+ {+ "name": "holder_rewards_bps",+ "type": "u64"+ },+ {+ "name": "holder_rewards",+ "type": "u64"+ },+ {+ "name": "creator_fee_unclaimed",+ "type": "u64"}]}@@ -5702,6 +7963,18 @@{"name": "is_mayhem_mode","type": "bool"+ },+ {+ "name": "creator_fee_bps",+ "type": "u64"+ },+ {+ "name": "can_edit_creator_fee",+ "type": "bool"+ },+ {+ "name": "is_holder_reward",+ "type": "bool"}]}@@ -5882,6 +8155,14 @@}}}+ },+ {+ "name": "exotic_flat_fees",+ "type": {+ "defined": {+ "name": "Fees"+ }+ }}]}@@ -6018,6 +8299,22 @@{"name": "buyback_basis_points","type": "u64"+ },+ {+ "name": "boost_authority",+ "type": "pubkey"+ },+ {+ "name": "boost_enabled",+ "type": "bool"+ },+ {+ "name": "creator_fee_configurable",+ "type": "bool"+ },+ {+ "name": "max_configurable_creator_fee_bps",+ "type": "u64"}]}@@ -6064,6 +8361,38 @@]}},+ {+ "name": "InitBoostEvent",+ "type": {+ "kind": "struct",+ "fields": [+ {+ "name": "timestamp",+ "type": "i64"+ },+ {+ "name": "mint",+ "type": "pubkey"+ },+ {+ "name": "bonding_curve",+ "type": "pubkey"+ },+ {+ "name": "pool",+ "type": "pubkey"+ },+ {+ "name": "virtual_quote_reserves",+ "type": "i128"+ },+ {+ "name": "real_quote_reserves_after",+ "type": "u64"+ }+ ]+ }+ },{"name": "InitUserVolumeAccumulatorEvent","type": {@@ -6125,6 +8454,15 @@]}},+ {+ "name": "OptionU64",+ "type": {+ "kind": "struct",+ "fields": [+ "u64"+ ]+ }+ },{"name": "Pool","type": {@@ -6180,6 +8518,33 @@{"name": "is_cashback_coin","type": "bool"+ },+ {+ "name": "virtual_quote_reserves",+ "docs": [+ "For non-boost pools, value is 0, so the behavior is identical to legacy pools."+ ],+ "type": "i128"+ },+ {+ "name": "creator_fee_bps",+ "type": "u64"+ },+ {+ "name": "can_edit_creator_fee",+ "type": "bool"+ },+ {+ "name": "is_holder_reward",+ "type": "bool"+ },+ {+ "name": "protocol_fees",+ "type": "u64"+ },+ {+ "name": "creator_fees",+ "type": "u64"}]}@@ -6321,6 +8686,30 @@{"name": "buyback_fee","type": "u64"+ },+ {+ "name": "virtual_quote_reserves",+ "type": "i128"+ },+ {+ "name": "can_boost",+ "type": "bool"+ },+ {+ "name": "base_supply",+ "type": "u64"+ },+ {+ "name": "holder_rewards_bps",+ "type": "u64"+ },+ {+ "name": "holder_rewards",+ "type": "u64"+ },+ {+ "name": "creator_fee_unclaimed",+ "type": "u64"}]}@@ -6353,6 +8742,30 @@]}},+ {+ "name": "SetBoostAuthorityEvent",+ "type": {+ "kind": "struct",+ "fields": [+ {+ "name": "timestamp",+ "type": "i64"+ },+ {+ "name": "admin",+ "type": "pubkey"+ },+ {+ "name": "old_boost_authority",+ "type": "pubkey"+ },+ {+ "name": "new_boost_authority",+ "type": "pubkey"+ }+ ]+ }+ },{"name": "SetMetaplexCoinCreatorEvent","type": {@@ -6443,6 +8856,46 @@]}},+ {+ "name": "SweepPoolFeeEvent",+ "type": {+ "kind": "struct",+ "fields": [+ {+ "name": "timestamp",+ "type": "i64"+ },+ {+ "name": "pool",+ "type": "pubkey"+ },+ {+ "name": "base_mint",+ "type": "pubkey"+ },+ {+ "name": "quote_mint",+ "type": "pubkey"+ },+ {+ "name": "recipient",+ "type": "pubkey"+ },+ {+ "name": "payer",+ "type": "pubkey"+ },+ {+ "name": "amount",+ "type": "u64"+ },+ {+ "name": "bucket",+ "type": "u8"+ }+ ]+ }+ },{"name": "SyncUserVolumeAccumulatorEvent","type": {@@ -6487,6 +8940,30 @@]}},+ {+ "name": "UpdateCreatorFeeConfigEvent",+ "type": {+ "kind": "struct",+ "fields": [+ {+ "name": "timestamp",+ "type": "i64"+ },+ {+ "name": "admin",+ "type": "pubkey"+ },+ {+ "name": "creator_fee_configurable",+ "type": "bool"+ },+ {+ "name": "max_configurable_creator_fee_bps",+ "type": "u64"+ }+ ]+ }+ },{"name": "UpdateFeeConfigEvent","type": {diff --git a/docs/pumpfun-program/idl/pump_fees.json b/docs/pumpfun-program/idl/pump_fees.jsonindex 900a99fba..8de5fc909 100644--- a/docs/pumpfun-program/idl/pump_fees.json+++ b/docs/pumpfun-program/idl/pump_fees.json@@ -7,6 +7,226 @@"description": "Created with Anchor"},"instructions": [+ {+ "name": "admin_cto_sharing_config",+ "discriminator": [+ 60,+ 100,+ 144,+ 156,+ 64,+ 138,+ 182,+ 37+ ],+ "accounts": [+ {+ "name": "pool_authority",+ "signer": true,+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 112,+ 111,+ 111,+ 108,+ 45,+ 97,+ 117,+ 116,+ 104,+ 111,+ 114,+ 105,+ 116,+ 121+ ]+ },+ {+ "kind": "account",+ "path": "mint"+ }+ ],+ "program": {+ "kind": "const",+ "value": [+ 1,+ 86,+ 224,+ 246,+ 147,+ 102,+ 90,+ 207,+ 68,+ 219,+ 21,+ 104,+ 191,+ 23,+ 91,+ 170,+ 81,+ 137,+ 203,+ 151,+ 245,+ 210,+ 255,+ 59,+ 101,+ 93,+ 43,+ 182,+ 253,+ 109,+ 24,+ 176+ ]+ }+ }+ },+ {+ "name": "authority",+ "signer": true+ },+ {+ "name": "global",+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 103,+ 108,+ 111,+ 98,+ 97,+ 108+ ]+ }+ ],+ "program": {+ "kind": "const",+ "value": [+ 1,+ 86,+ 224,+ 246,+ 147,+ 102,+ 90,+ 207,+ 68,+ 219,+ 21,+ 104,+ 191,+ 23,+ 91,+ 170,+ 81,+ 137,+ 203,+ 151,+ 245,+ 210,+ 255,+ 59,+ 101,+ 93,+ 43,+ 182,+ 253,+ 109,+ 24,+ 176+ ]+ }+ }+ },+ {+ "name": "mint",+ "relations": [+ "sharing_config"+ ]+ },+ {+ "name": "sharing_config",+ "writable": true,+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 115,+ 104,+ 97,+ 114,+ 105,+ 110,+ 103,+ 45,+ 99,+ 111,+ 110,+ 102,+ 105,+ 103+ ]+ },+ {+ "kind": "account",+ "path": "mint"+ }+ ]+ }+ },+ {+ "name": "event_authority",+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 95,+ 95,+ 101,+ 118,+ 101,+ 110,+ 116,+ 95,+ 97,+ 117,+ 116,+ 104,+ 111,+ 114,+ 105,+ 116,+ 121+ ]+ }+ ]+ }+ },+ {+ "name": "program",+ "address": "pfeeUxB6jkeY1Hxd7CsFCAjcbHA9rWtchMGdZ6VojVZ"+ }+ ],+ "args": [+ {+ "name": "new_admin",+ "type": {+ "option": "pubkey"+ }+ }+ ]+ },{"name": "claim_social_fee_pda","discriminator": [@@ -1396,35 +1616,98 @@}},{- "name": "initialize_buyback",+ "name": "get_fees_with_quote_mint","discriminator": [- 250,- 129,- 236,- 160,- 227,- 36,- 103,- 134+ 154,+ 237,+ 138,+ 92,+ 162,+ 2,+ 162,+ 187],"accounts": [{- "name": "payer",- "writable": true,- "signer": true- },- {- "name": "buyback_vault",- "writable": true- },- {- "name": "buyback_vault_ata",- "writable": true,+ "name": "fee_config","pda": {"seeds": [{- "kind": "account",- "path": "buyback_vault"+ "kind": "const",+ "value": [+ 102,+ 101,+ 101,+ 95,+ 99,+ 111,+ 110,+ 102,+ 105,+ 103+ ]+ },+ {+ "kind": "account",+ "path": "config_program_id"+ }+ ]+ }+ },+ {+ "name": "config_program_id"+ }+ ],+ "args": [+ {+ "name": "is_pump_pool",+ "type": "bool"+ },+ {+ "name": "market_cap_lamports",+ "type": "u128"+ },+ {+ "name": "quote_mint",+ "type": "pubkey"+ }+ ],+ "returns": {+ "defined": {+ "name": "Fees"+ }+ }+ },+ {+ "name": "initialize_buyback",+ "discriminator": [+ 250,+ 129,+ 236,+ 160,+ 227,+ 36,+ 103,+ 134+ ],+ "accounts": [+ {+ "name": "payer",+ "writable": true,+ "signer": true+ },+ {+ "name": "buyback_vault",+ "writable": true+ },+ {+ "name": "buyback_vault_ata",+ "writable": true,+ "pda": {+ "seeds": [+ {+ "kind": "account",+ "path": "buyback_vault"},{"kind": "account",@@ -1727,1142 +2010,56 @@}},{- "name": "system_program",- "address": "11111111111111111111111111111111"- },- {- "name": "event_authority",- "pda": {- "seeds": [- {- "kind": "const",- "value": [- 95,- 95,- 101,- 118,- 101,- 110,- 116,- 95,- 97,- 117,- 116,- 104,- 111,- 114,- 105,- 116,- 121- ]- }- ]- }- },- {- "name": "program"- }- ],- "args": [- {- "name": "social_claim_authority",- "type": "pubkey"- },- {- "name": "disable_flags",- "type": "u8"- },- {- "name": "claim_rate_limit",- "type": "u64"- }- ]- },- {- "name": "reset_fee_sharing_config",- "docs": [- "Reset Fee Sharing Config and distribute pending fees first"- ],- "discriminator": [- 10,- 2,- 182,- 95,- 16,- 127,- 129,- 186- ],- "accounts": [- {- "name": "new_admin"- },- {- "name": "event_authority",- "pda": {- "seeds": [- {- "kind": "const",- "value": [- 95,- 95,- 101,- 118,- 101,- 110,- 116,- 95,- 97,- 117,- 116,- 104,- 111,- 114,- 105,- 116,- 121- ]- }- ]- }- },- {- "name": "program",- "address": "pfeeUxB6jkeY1Hxd7CsFCAjcbHA9rWtchMGdZ6VojVZ"- },- {- "name": "authority",- "signer": true- },- {- "name": "global",- "pda": {- "seeds": [- {- "kind": "const",- "value": [- 103,- 108,- 111,- 98,- 97,- 108- ]- }- ],- "program": {- "kind": "const",- "value": [- 1,- 86,- 224,- 246,- 147,- 102,- 90,- 207,- 68,- 219,- 21,- 104,- 191,- 23,- 91,- 170,- 81,- 137,- 203,- 151,- 245,- 210,- 255,- 59,- 101,- 93,- 43,- 182,- 253,- 109,- 24,- 176- ]- }- }- },- {- "name": "mint",- "relations": [- "sharing_config"- ]- },- {- "name": "sharing_config",- "writable": true,- "pda": {- "seeds": [- {- "kind": "const",- "value": [- 115,- 104,- 97,- 114,- 105,- 110,- 103,- 45,- 99,- 111,- 110,- 102,- 105,- 103- ]- },- {- "kind": "account",- "path": "mint"- }- ]- }- },- {- "name": "bonding_curve",- "pda": {- "seeds": [- {- "kind": "const",- "value": [- 98,- 111,- 110,- 100,- 105,- 110,- 103,- 45,- 99,- 117,- 114,- 118,- 101- ]- },- {- "kind": "account",- "path": "mint"- }- ],- "program": {- "kind": "const",- "value": [- 1,- 86,- 224,- 246,- 147,- 102,- 90,- 207,- 68,- 219,- 21,- 104,- 191,- 23,- 91,- 170,- 81,- 137,- 203,- 151,- 245,- 210,- 255,- 59,- 101,- 93,- 43,- 182,- 253,- 109,- 24,- 176- ]- }- }- },- {- "name": "pump_creator_vault",- "writable": true,- "pda": {- "seeds": [- {- "kind": "const",- "value": [- 99,- 114,- 101,- 97,- 116,- 111,- 114,- 45,- 118,- 97,- 117,- 108,- 116- ]- },- {- "kind": "account",- "path": "sharing_config"- }- ],- "program": {- "kind": "const",- "value": [- 1,- 86,- 224,- 246,- 147,- 102,- 90,- 207,- 68,- 219,- 21,- 104,- 191,- 23,- 91,- 170,- 81,- 137,- 203,- 151,- 245,- 210,- 255,- 59,- 101,- 93,- 43,- 182,- 253,- 109,- 24,- 176- ]- }- }- },- {- "name": "system_program",- "address": "11111111111111111111111111111111"- },- {- "name": "pump_program",- "address": "6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P"- },- {- "name": "pump_event_authority",- "pda": {- "seeds": [- {- "kind": "const",- "value": [- 95,- 95,- 101,- 118,- 101,- 110,- 116,- 95,- 97,- 117,- 116,- 104,- 111,- 114,- 105,- 116,- 121- ]- }- ],- "program": {- "kind": "const",- "value": [- 1,- 86,- 224,- 246,- 147,- 102,- 90,- 207,- 68,- 219,- 21,- 104,- 191,- 23,- 91,- 170,- 81,- 137,- 203,- 151,- 245,- 210,- 255,- 59,- 101,- 93,- 43,- 182,- 253,- 109,- 24,- 176- ]- }- }- },- {- "name": "pump_amm_program",- "address": "pAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA"- },- {- "name": "amm_event_authority",- "pda": {- "seeds": [- {- "kind": "const",- "value": [- 95,- 95,- 101,- 118,- 101,- 110,- 116,- 95,- 97,- 117,- 116,- 104,- 111,- 114,- 105,- 116,- 121- ]- }- ],- "program": {- "kind": "const",- "value": [- 12,- 20,- 222,- 252,- 130,- 94,- 198,- 118,- 148,- 37,- 8,- 24,- 187,- 101,- 64,- 101,- 244,- 41,- 141,- 49,- 86,- 213,- 113,- 180,- 212,- 248,- 9,- 12,- 24,- 233,- 168,- 99- ]- }- }- },- {- "name": "wsol_mint",- "address": "So11111111111111111111111111111111111111112"- },- {- "name": "token_program",- "address": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"- },- {- "name": "associated_token_program",- "address": "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL"- },- {- "name": "coin_creator_vault_authority",- "writable": true,- "pda": {- "seeds": [- {- "kind": "const",- "value": [- 99,- 114,- 101,- 97,- 116,- 111,- 114,- 95,- 118,- 97,- 117,- 108,- 116- ]- },- {- "kind": "account",- "path": "sharing_config"- }- ],- "program": {- "kind": "const",- "value": [- 12,- 20,- 222,- 252,- 130,- 94,- 198,- 118,- 148,- 37,- 8,- 24,- 187,- 101,- 64,- 101,- 244,- 41,- 141,- 49,- 86,- 213,- 113,- 180,- 212,- 248,- 9,- 12,- 24,- 233,- 168,- 99- ]- }- }- },- {- "name": "coin_creator_vault_ata",- "writable": true,- "pda": {- "seeds": [- {- "kind": "account",- "path": "coin_creator_vault_authority"- },- {- "kind": "account",- "path": "token_program"- },- {- "kind": "account",- "path": "wsol_mint"- }- ],- "program": {- "kind": "account",- "path": "associated_token_program"- }- }- }- ],- "args": []- },- {- "name": "reset_fee_sharing_config_v2",- "docs": [- "Reset Fee Sharing Config and distribute pending fees first"- ],- "discriminator": [- 169,- 245,- 17,- 209,- 94,- 91,- 248,- 128- ],- "accounts": [- {- "name": "new_admin"- },- {- "name": "event_authority",- "pda": {- "seeds": [- {- "kind": "const",- "value": [- 95,- 95,- 101,- 118,- 101,- 110,- 116,- 95,- 97,- 117,- 116,- 104,- 111,- 114,- 105,- 116,- 121- ]- }- ]- }- },- {- "name": "program",- "address": "pfeeUxB6jkeY1Hxd7CsFCAjcbHA9rWtchMGdZ6VojVZ"- },- {- "name": "authority",- "writable": true,- "signer": true- },- {- "name": "global",- "pda": {- "seeds": [- {- "kind": "const",- "value": [- 103,- 108,- 111,- 98,- 97,- 108- ]- }- ],- "program": {- "kind": "const",- "value": [- 1,- 86,- 224,- 246,- 147,- 102,- 90,- 207,- 68,- 219,- 21,- 104,- 191,- 23,- 91,- 170,- 81,- 137,- 203,- 151,- 245,- 210,- 255,- 59,- 101,- 93,- 43,- 182,- 253,- 109,- 24,- 176- ]- }- }- },- {- "name": "mint",- "relations": [- "sharing_config"- ]- },- {- "name": "sharing_config",- "writable": true,- "pda": {- "seeds": [- {- "kind": "const",- "value": [- 115,- 104,- 97,- 114,- 105,- 110,- 103,- 45,- 99,- 111,- 110,- 102,- 105,- 103- ]- },- {- "kind": "account",- "path": "mint"- }- ]- }- },- {- "name": "bonding_curve",- "pda": {- "seeds": [- {- "kind": "const",- "value": [- 98,- 111,- 110,- 100,- 105,- 110,- 103,- 45,- 99,- 117,- 114,- 118,- 101- ]- },- {- "kind": "account",- "path": "mint"- }- ],- "program": {- "kind": "const",- "value": [- 1,- 86,- 224,- 246,- 147,- 102,- 90,- 207,- 68,- 219,- 21,- 104,- 191,- 23,- 91,- 170,- 81,- 137,- 203,- 151,- 245,- 210,- 255,- 59,- 101,- 93,- 43,- 182,- 253,- 109,- 24,- 176- ]- }- }- },- {- "name": "pump_creator_vault",- "writable": true,- "pda": {- "seeds": [- {- "kind": "const",- "value": [- 99,- 114,- 101,- 97,- 116,- 111,- 114,- 45,- 118,- 97,- 117,- 108,- 116- ]- },- {- "kind": "account",- "path": "sharing_config"- }- ],- "program": {- "kind": "const",- "value": [- 1,- 86,- 224,- 246,- 147,- 102,- 90,- 207,- 68,- 219,- 21,- 104,- 191,- 23,- 91,- 170,- 81,- 137,- 203,- 151,- 245,- 210,- 255,- 59,- 101,- 93,- 43,- 182,- 253,- 109,- 24,- 176- ]- }- }- },- {- "name": "pump_creator_vault_ata",- "writable": true,- "pda": {- "seeds": [- {- "kind": "account",- "path": "pump_creator_vault"- },- {- "kind": "account",- "path": "token_program"- },- {- "kind": "account",- "path": "quote_mint"- }- ],- "program": {- "kind": "account",- "path": "associated_token_program"- }- }- },- {- "name": "system_program",- "address": "11111111111111111111111111111111"- },- {- "name": "pump_program",- "address": "6EF8rrecthR5Dkzon8Nwu78hRvfCKubJ14M5uBEwF6P"- },- {- "name": "pump_event_authority",- "pda": {- "seeds": [- {- "kind": "const",- "value": [- 95,- 95,- 101,- 118,- 101,- 110,- 116,- 95,- 97,- 117,- 116,- 104,- 111,- 114,- 105,- 116,- 121- ]- }- ],- "program": {- "kind": "const",- "value": [- 1,- 86,- 224,- 246,- 147,- 102,- 90,- 207,- 68,- 219,- 21,- 104,- 191,- 23,- 91,- 170,- 81,- 137,- 203,- 151,- 245,- 210,- 255,- 59,- 101,- 93,- 43,- 182,- 253,- 109,- 24,- 176- ]- }- }- },- {- "name": "pump_amm_program",- "address": "pAMMBay6oceH9fJKBRHGP5D4bD4sWpmSwMn52FMfXEA"- },- {- "name": "amm_event_authority",- "pda": {- "seeds": [- {- "kind": "const",- "value": [- 95,- 95,- 101,- 118,- 101,- 110,- 116,- 95,- 97,- 117,- 116,- 104,- 111,- 114,- 105,- 116,- 121- ]- }- ],- "program": {- "kind": "const",- "value": [- 12,- 20,- 222,- 252,- 130,- 94,- 198,- 118,- 148,- 37,- 8,- 24,- 187,- 101,- 64,- 101,- 244,- 41,- 141,- 49,- 86,- 213,- 113,- 180,- 212,- 248,- 9,- 12,- 24,- 233,- 168,- 99- ]- }- }- },- {- "name": "quote_mint"- },- {- "name": "token_program",- "address": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"- },- {- "name": "associated_token_program",- "address": "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL"+ "name": "system_program",+ "address": "11111111111111111111111111111111"},{- "name": "coin_creator_vault_authority",- "writable": true,+ "name": "event_authority","pda": {"seeds": [{"kind": "const","value": [- 99,- 114,+ 95,+ 95,101,- 97,+ 118,+ 101,+ 110,116,- 111,- 114,95,- 118,97,117,- 108,- 116+ 116,+ 104,+ 111,+ 114,+ 105,+ 116,+ 121]- },- {- "kind": "account",- "path": "sharing_config"}- ],- "program": {- "kind": "const",- "value": [- 12,- 20,- 222,- 252,- 130,- 94,- 198,- 118,- 148,- 37,- 8,- 24,- 187,- 101,- 64,- 101,- 244,- 41,- 141,- 49,- 86,- 213,- 113,- 180,- 212,- 248,- 9,- 12,- 24,- 233,- 168,- 99- ]- }+ ]}},{- "name": "coin_creator_vault_ata",- "writable": true,- "pda": {- "seeds": [- {- "kind": "account",- "path": "coin_creator_vault_authority"- },- {- "kind": "account",- "path": "token_program"- },- {- "kind": "account",- "path": "quote_mint"- }- ],- "program": {- "kind": "account",- "path": "associated_token_program"- }- }+ "name": "program"}],- "args": []+ "args": [+ {+ "name": "social_claim_authority",+ "type": "pubkey"+ },+ {+ "name": "disable_flags",+ "type": "u8"+ },+ {+ "name": "claim_rate_limit",+ "type": "u64"+ }+ ]},{"name": "revoke_fee_sharing_authority",@@ -3158,6 +2355,105 @@}]},+ {+ "name": "set_exotic_flat_fees",+ "discriminator": [+ 30,+ 234,+ 149,+ 138,+ 252,+ 230,+ 39,+ 73+ ],+ "accounts": [+ {+ "name": "fee_config",+ "writable": true,+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 102,+ 101,+ 101,+ 95,+ 99,+ 111,+ 110,+ 102,+ 105,+ 103+ ]+ },+ {+ "kind": "account",+ "path": "config_program_id"+ }+ ]+ }+ },+ {+ "name": "admin",+ "writable": true,+ "signer": true,+ "relations": [+ "fee_config"+ ]+ },+ {+ "name": "config_program_id"+ },+ {+ "name": "system_program",+ "address": "11111111111111111111111111111111"+ },+ {+ "name": "event_authority",+ "pda": {+ "seeds": [+ {+ "kind": "const",+ "value": [+ 95,+ 95,+ 101,+ 118,+ 101,+ 110,+ 116,+ 95,+ 97,+ 117,+ 116,+ 104,+ 111,+ 114,+ 105,+ 116,+ 121+ ]+ }+ ]+ }+ },+ {+ "name": "program"+ }+ ],+ "args": [+ {+ "name": "exotic_flat_fees",+ "type": {+ "defined": {+ "name": "Fees"+ }+ }+ }+ ]+ },{"name": "set_social_claim_authority","discriminator": [@@ -5500,6 +4796,19 @@126]},+ {+ "name": "SetExoticFlatFeesEvent",+ "discriminator": [+ 195,+ 138,+ 108,+ 15,+ 8,+ 77,+ 68,+ 9+ ]+ },{"name": "SetSocialClaimAuthorityEvent","discriminator": [@@ -5791,6 +5100,21 @@"code": 6031,"name": "UnsupportedQuoteMint","msg": "Unsupported quote mint"+ },+ {+ "code": 6032,+ "name": "InvalidRemainingAccounts",+ "msg": "Invalid remaining accounts"+ },+ {+ "code": 6033,+ "name": "PoolCreatorFeesNotSwept",+ "msg": "Pool creator_fees must be swept before the shares change"+ },+ {+ "code": 6034,+ "name": "InvalidQuoteMint",+ "msg": "quote_mint is not the bonding curve's quote mint"}],"types": [@@ -6152,6 +5476,14 @@}}}+ },+ {+ "name": "exotic_flat_fees",+ "type": {+ "defined": {+ "name": "Fees"+ }+ }}]}@@ -6436,6 +5768,14 @@{"name": "is_mayhem_mode","type": "bool"+ },+ {+ "name": "is_cashback_coin",+ "type": "bool"+ },+ {+ "name": "virtual_quote_reserves",+ "type": "i128"}]}@@ -6548,6 +5888,34 @@]}},+ {+ "name": "SetExoticFlatFeesEvent",+ "type": {+ "kind": "struct",+ "fields": [+ {+ "name": "timestamp",+ "type": "i64"+ },+ {+ "name": "admin",+ "type": "pubkey"+ },+ {+ "name": "fee_config",+ "type": "pubkey"+ },+ {+ "name": "exotic_flat_fees",+ "type": {+ "defined": {+ "name": "Fees"+ }+ }+ }+ ]+ }+ },{"name": "SetSocialClaimAuthorityEvent","type": {