/**
 * Program IDL in camelCase format in order to be used in JS/TS.
 *
 * Note that this is only a type helper and is not the actual IDL. The original
 * IDL can be found at `target/idl/happy_pump_program.json`.
 */
export type HappyPumpProgram = {
    "address": "2wcKsovYJcjjRo21DNrY3ZNjvxEWssR2qQQVhE4EXZeA";
    "metadata": {
        "name": "happyPumpProgram";
        "version": "0.1.0";
        "spec": "0.1.0";
        "description": "happyPump";
    };
    "instructions": [
        {
            "name": "buy";
            "docs": [
                "Buys tokens from a bonding curve."
            ];
            "discriminator": [
                102,
                6,
                61,
                18,
                1,
                218,
                235,
                234
            ];
            "accounts": [
                {
                    "name": "user";
                    "writable": true;
                    "signer": true;
                },
                {
                    "name": "tradeAuthority";
                    "writable": true;
                    "signer": true;
                    "optional": true;
                },
                {
                    "name": "global";
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const";
                                "value": [
                                    103,
                                    108,
                                    111,
                                    98,
                                    97,
                                    108
                                ];
                            }
                        ];
                    };
                },
                {
                    "name": "feeRecipient";
                    "writable": true;
                },
                {
                    "name": "creatorFeeRecipient";
                    "writable": true;
                },
                {
                    "name": "mint";
                    "writable": true;
                },
                {
                    "name": "bondingCurve";
                    "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": "bondingCurveTokenAccount";
                    "writable": true;
                    "pda": {
                        "seeds": [
                            {
                                "kind": "account";
                                "path": "bondingCurve";
                            },
                            {
                                "kind": "const";
                                "value": [
                                    6,
                                    221,
                                    246,
                                    225,
                                    215,
                                    101,
                                    161,
                                    147,
                                    217,
                                    203,
                                    225,
                                    70,
                                    206,
                                    235,
                                    121,
                                    172,
                                    28,
                                    180,
                                    133,
                                    237,
                                    95,
                                    91,
                                    55,
                                    145,
                                    58,
                                    140,
                                    245,
                                    133,
                                    126,
                                    255,
                                    0,
                                    169
                                ];
                            },
                            {
                                "kind": "account";
                                "path": "mint";
                            }
                        ];
                        "program": {
                            "kind": "const";
                            "value": [
                                140,
                                151,
                                37,
                                143,
                                78,
                                36,
                                137,
                                241,
                                187,
                                61,
                                16,
                                41,
                                20,
                                142,
                                13,
                                131,
                                11,
                                90,
                                19,
                                153,
                                218,
                                255,
                                16,
                                132,
                                4,
                                142,
                                123,
                                216,
                                219,
                                233,
                                248,
                                89
                            ];
                        };
                    };
                },
                {
                    "name": "userTokenAccount";
                    "writable": true;
                    "pda": {
                        "seeds": [
                            {
                                "kind": "account";
                                "path": "user";
                            },
                            {
                                "kind": "const";
                                "value": [
                                    6,
                                    221,
                                    246,
                                    225,
                                    215,
                                    101,
                                    161,
                                    147,
                                    217,
                                    203,
                                    225,
                                    70,
                                    206,
                                    235,
                                    121,
                                    172,
                                    28,
                                    180,
                                    133,
                                    237,
                                    95,
                                    91,
                                    55,
                                    145,
                                    58,
                                    140,
                                    245,
                                    133,
                                    126,
                                    255,
                                    0,
                                    169
                                ];
                            },
                            {
                                "kind": "account";
                                "path": "mint";
                            }
                        ];
                        "program": {
                            "kind": "const";
                            "value": [
                                140,
                                151,
                                37,
                                143,
                                78,
                                36,
                                137,
                                241,
                                187,
                                61,
                                16,
                                41,
                                20,
                                142,
                                13,
                                131,
                                11,
                                90,
                                19,
                                153,
                                218,
                                255,
                                16,
                                132,
                                4,
                                142,
                                123,
                                216,
                                219,
                                233,
                                248,
                                89
                            ];
                        };
                    };
                },
                {
                    "name": "systemProgram";
                    "address": "11111111111111111111111111111111";
                },
                {
                    "name": "tokenProgram";
                    "address": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA";
                },
                {
                    "name": "eventAuthority";
                    "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": "params";
                    "type": {
                        "defined": {
                            "name": "buyParams";
                        };
                    };
                }
            ];
        },
        {
            "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": "creator";
                    "writable": true;
                    "signer": true;
                },
                {
                    "name": "mintAuthority";
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const";
                                "value": [
                                    109,
                                    105,
                                    110,
                                    116,
                                    45,
                                    97,
                                    117,
                                    116,
                                    104,
                                    111,
                                    114,
                                    105,
                                    116,
                                    121
                                ];
                            }
                        ];
                    };
                },
                {
                    "name": "bondingCurve";
                    "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": "bondingCurveTokenAccount";
                    "writable": true;
                    "pda": {
                        "seeds": [
                            {
                                "kind": "account";
                                "path": "bondingCurve";
                            },
                            {
                                "kind": "const";
                                "value": [
                                    6,
                                    221,
                                    246,
                                    225,
                                    215,
                                    101,
                                    161,
                                    147,
                                    217,
                                    203,
                                    225,
                                    70,
                                    206,
                                    235,
                                    121,
                                    172,
                                    28,
                                    180,
                                    133,
                                    237,
                                    95,
                                    91,
                                    55,
                                    145,
                                    58,
                                    140,
                                    245,
                                    133,
                                    126,
                                    255,
                                    0,
                                    169
                                ];
                            },
                            {
                                "kind": "account";
                                "path": "mint";
                            }
                        ];
                        "program": {
                            "kind": "const";
                            "value": [
                                140,
                                151,
                                37,
                                143,
                                78,
                                36,
                                137,
                                241,
                                187,
                                61,
                                16,
                                41,
                                20,
                                142,
                                13,
                                131,
                                11,
                                90,
                                19,
                                153,
                                218,
                                255,
                                16,
                                132,
                                4,
                                142,
                                123,
                                216,
                                219,
                                233,
                                248,
                                89
                            ];
                        };
                    };
                },
                {
                    "name": "global";
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const";
                                "value": [
                                    103,
                                    108,
                                    111,
                                    98,
                                    97,
                                    108
                                ];
                            }
                        ];
                    };
                },
                {
                    "name": "metadata";
                    "writable": true;
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const";
                                "value": [
                                    109,
                                    101,
                                    116,
                                    97,
                                    100,
                                    97,
                                    116,
                                    97
                                ];
                            },
                            {
                                "kind": "account";
                                "path": "tokenMetadataProgram";
                            },
                            {
                                "kind": "account";
                                "path": "mint";
                            }
                        ];
                        "program": {
                            "kind": "account";
                            "path": "tokenMetadataProgram";
                        };
                    };
                },
                {
                    "name": "systemProgram";
                    "address": "11111111111111111111111111111111";
                },
                {
                    "name": "tokenProgram";
                    "address": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA";
                },
                {
                    "name": "tokenMetadataProgram";
                    "address": "metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s";
                },
                {
                    "name": "associatedTokenProgram";
                    "address": "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL";
                },
                {
                    "name": "rent";
                    "address": "SysvarRent111111111111111111111111111111111";
                },
                {
                    "name": "feeRecipient";
                    "writable": true;
                },
                {
                    "name": "eventAuthority";
                    "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": "params";
                    "type": {
                        "defined": {
                            "name": "createParams";
                        };
                    };
                }
            ];
        },
        {
            "name": "initialize";
            "docs": [
                "Creates the global state."
            ];
            "discriminator": [
                175,
                175,
                109,
                31,
                13,
                152,
                155,
                237
            ];
            "accounts": [
                {
                    "name": "authority";
                    "writable": true;
                    "signer": true;
                },
                {
                    "name": "global";
                    "writable": true;
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const";
                                "value": [
                                    103,
                                    108,
                                    111,
                                    98,
                                    97,
                                    108
                                ];
                            }
                        ];
                    };
                },
                {
                    "name": "systemProgram";
                    "address": "11111111111111111111111111111111";
                }
            ];
            "args": [];
        },
        {
            "name": "migrateToRaydium";
            "docs": [
                "Migrate bonding curve to raydium cpmm"
            ];
            "discriminator": [
                116,
                139,
                75,
                192,
                86,
                63,
                121,
                169
            ];
            "accounts": [
                {
                    "name": "cpSwapProgram";
                    "address": "CPMMoo8L3F4NbTegBCKVNunggL7H1ZpdTHKxQB5qKP1C";
                },
                {
                    "name": "payer";
                    "writable": true;
                    "signer": true;
                },
                {
                    "name": "creatorLpToken";
                    "writable": true;
                },
                {
                    "name": "global";
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const";
                                "value": [
                                    103,
                                    108,
                                    111,
                                    98,
                                    97,
                                    108
                                ];
                            }
                        ];
                    };
                },
                {
                    "name": "mint";
                },
                {
                    "name": "wsolMint";
                    "writable": true;
                },
                {
                    "name": "observationState";
                    "writable": true;
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const";
                                "value": [
                                    111,
                                    98,
                                    115,
                                    101,
                                    114,
                                    118,
                                    97,
                                    116,
                                    105,
                                    111,
                                    110
                                ];
                            },
                            {
                                "kind": "account";
                                "path": "poolState";
                            }
                        ];
                        "program": {
                            "kind": "account";
                            "path": "cpSwapProgram";
                        };
                    };
                },
                {
                    "name": "bondingCurve";
                    "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": "bondingCurveTokenAccount";
                    "writable": true;
                    "pda": {
                        "seeds": [
                            {
                                "kind": "account";
                                "path": "bondingCurve";
                            },
                            {
                                "kind": "const";
                                "value": [
                                    6,
                                    221,
                                    246,
                                    225,
                                    215,
                                    101,
                                    161,
                                    147,
                                    217,
                                    203,
                                    225,
                                    70,
                                    206,
                                    235,
                                    121,
                                    172,
                                    28,
                                    180,
                                    133,
                                    237,
                                    95,
                                    91,
                                    55,
                                    145,
                                    58,
                                    140,
                                    245,
                                    133,
                                    126,
                                    255,
                                    0,
                                    169
                                ];
                            },
                            {
                                "kind": "account";
                                "path": "mint";
                            }
                        ];
                        "program": {
                            "kind": "const";
                            "value": [
                                140,
                                151,
                                37,
                                143,
                                78,
                                36,
                                137,
                                241,
                                187,
                                61,
                                16,
                                41,
                                20,
                                142,
                                13,
                                131,
                                11,
                                90,
                                19,
                                153,
                                218,
                                255,
                                16,
                                132,
                                4,
                                142,
                                123,
                                216,
                                219,
                                233,
                                248,
                                89
                            ];
                        };
                    };
                },
                {
                    "name": "bondingCurveWsolAccount";
                    "writable": true;
                    "pda": {
                        "seeds": [
                            {
                                "kind": "account";
                                "path": "bondingCurve";
                            },
                            {
                                "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": "wsolMint";
                            }
                        ];
                        "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": "creatorWsolAccount";
                    "writable": true;
                    "pda": {
                        "seeds": [
                            {
                                "kind": "account";
                                "path": "payer";
                            },
                            {
                                "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": "wsolMint";
                            }
                        ];
                        "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": "creatorTokenAccount";
                    "writable": true;
                    "pda": {
                        "seeds": [
                            {
                                "kind": "account";
                                "path": "payer";
                            },
                            {
                                "kind": "const";
                                "value": [
                                    6,
                                    221,
                                    246,
                                    225,
                                    215,
                                    101,
                                    161,
                                    147,
                                    217,
                                    203,
                                    225,
                                    70,
                                    206,
                                    235,
                                    121,
                                    172,
                                    28,
                                    180,
                                    133,
                                    237,
                                    95,
                                    91,
                                    55,
                                    145,
                                    58,
                                    140,
                                    245,
                                    133,
                                    126,
                                    255,
                                    0,
                                    169
                                ];
                            },
                            {
                                "kind": "account";
                                "path": "mint";
                            }
                        ];
                        "program": {
                            "kind": "const";
                            "value": [
                                140,
                                151,
                                37,
                                143,
                                78,
                                36,
                                137,
                                241,
                                187,
                                61,
                                16,
                                41,
                                20,
                                142,
                                13,
                                131,
                                11,
                                90,
                                19,
                                153,
                                218,
                                255,
                                16,
                                132,
                                4,
                                142,
                                123,
                                216,
                                219,
                                233,
                                248,
                                89
                            ];
                        };
                    };
                },
                {
                    "name": "poolWsolVault";
                    "writable": true;
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const";
                                "value": [
                                    112,
                                    111,
                                    111,
                                    108,
                                    95,
                                    118,
                                    97,
                                    117,
                                    108,
                                    116
                                ];
                            },
                            {
                                "kind": "account";
                                "path": "poolState";
                            },
                            {
                                "kind": "account";
                                "path": "wsolMint";
                            }
                        ];
                        "program": {
                            "kind": "account";
                            "path": "cpSwapProgram";
                        };
                    };
                },
                {
                    "name": "poolTokenVault";
                    "writable": true;
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const";
                                "value": [
                                    112,
                                    111,
                                    111,
                                    108,
                                    95,
                                    118,
                                    97,
                                    117,
                                    108,
                                    116
                                ];
                            },
                            {
                                "kind": "account";
                                "path": "poolState";
                            },
                            {
                                "kind": "account";
                                "path": "mint";
                            }
                        ];
                        "program": {
                            "kind": "account";
                            "path": "cpSwapProgram";
                        };
                    };
                },
                {
                    "name": "createPoolFee";
                    "docs": [
                        "create pool fee account"
                    ];
                    "writable": true;
                    "address": "DNXgeM9EiiaAbaWvwjHj9fQQLAX5ZsfHyvmYUNRAdNC8";
                },
                {
                    "name": "ammConfig";
                    "docs": [
                        "Which config the pool belongs to."
                    ];
                    "writable": true;
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const";
                                "value": [
                                    97,
                                    109,
                                    109,
                                    95,
                                    99,
                                    111,
                                    110,
                                    102,
                                    105,
                                    103
                                ];
                            },
                            {
                                "kind": "const";
                                "value": [
                                    0,
                                    0
                                ];
                            }
                        ];
                        "program": {
                            "kind": "account";
                            "path": "cpSwapProgram";
                        };
                    };
                },
                {
                    "name": "poolState";
                    "writable": true;
                },
                {
                    "name": "lpMint";
                    "writable": true;
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const";
                                "value": [
                                    112,
                                    111,
                                    111,
                                    108,
                                    95,
                                    108,
                                    112,
                                    95,
                                    109,
                                    105,
                                    110,
                                    116
                                ];
                            },
                            {
                                "kind": "account";
                                "path": "poolState";
                            }
                        ];
                        "program": {
                            "kind": "account";
                            "path": "cpSwapProgram";
                        };
                    };
                },
                {
                    "name": "cpAuthority";
                    "writable": true;
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const";
                                "value": [
                                    118,
                                    97,
                                    117,
                                    108,
                                    116,
                                    95,
                                    97,
                                    110,
                                    100,
                                    95,
                                    108,
                                    112,
                                    95,
                                    109,
                                    105,
                                    110,
                                    116,
                                    95,
                                    97,
                                    117,
                                    116,
                                    104,
                                    95,
                                    115,
                                    101,
                                    101,
                                    100
                                ];
                            }
                        ];
                        "program": {
                            "kind": "account";
                            "path": "cpSwapProgram";
                        };
                    };
                },
                {
                    "name": "associatedTokenProgram";
                    "address": "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL";
                },
                {
                    "name": "systemProgram";
                    "address": "11111111111111111111111111111111";
                },
                {
                    "name": "tokenProgram";
                    "address": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA";
                },
                {
                    "name": "rent";
                    "address": "SysvarRent111111111111111111111111111111111";
                },
                {
                    "name": "eventAuthority";
                    "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": "sell";
            "docs": [
                "Sells tokens into a bonding curve."
            ];
            "discriminator": [
                51,
                230,
                133,
                164,
                1,
                127,
                131,
                173
            ];
            "accounts": [
                {
                    "name": "user";
                    "writable": true;
                    "signer": true;
                },
                {
                    "name": "global";
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const";
                                "value": [
                                    103,
                                    108,
                                    111,
                                    98,
                                    97,
                                    108
                                ];
                            }
                        ];
                    };
                },
                {
                    "name": "feeRecipient";
                    "writable": true;
                },
                {
                    "name": "creatorFeeRecipient";
                    "writable": true;
                },
                {
                    "name": "mint";
                },
                {
                    "name": "bondingCurve";
                    "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": "bondingCurveTokenAccount";
                    "writable": true;
                    "pda": {
                        "seeds": [
                            {
                                "kind": "account";
                                "path": "bondingCurve";
                            },
                            {
                                "kind": "const";
                                "value": [
                                    6,
                                    221,
                                    246,
                                    225,
                                    215,
                                    101,
                                    161,
                                    147,
                                    217,
                                    203,
                                    225,
                                    70,
                                    206,
                                    235,
                                    121,
                                    172,
                                    28,
                                    180,
                                    133,
                                    237,
                                    95,
                                    91,
                                    55,
                                    145,
                                    58,
                                    140,
                                    245,
                                    133,
                                    126,
                                    255,
                                    0,
                                    169
                                ];
                            },
                            {
                                "kind": "account";
                                "path": "mint";
                            }
                        ];
                        "program": {
                            "kind": "const";
                            "value": [
                                140,
                                151,
                                37,
                                143,
                                78,
                                36,
                                137,
                                241,
                                187,
                                61,
                                16,
                                41,
                                20,
                                142,
                                13,
                                131,
                                11,
                                90,
                                19,
                                153,
                                218,
                                255,
                                16,
                                132,
                                4,
                                142,
                                123,
                                216,
                                219,
                                233,
                                248,
                                89
                            ];
                        };
                    };
                },
                {
                    "name": "userTokenAccount";
                    "writable": true;
                    "pda": {
                        "seeds": [
                            {
                                "kind": "account";
                                "path": "user";
                            },
                            {
                                "kind": "const";
                                "value": [
                                    6,
                                    221,
                                    246,
                                    225,
                                    215,
                                    101,
                                    161,
                                    147,
                                    217,
                                    203,
                                    225,
                                    70,
                                    206,
                                    235,
                                    121,
                                    172,
                                    28,
                                    180,
                                    133,
                                    237,
                                    95,
                                    91,
                                    55,
                                    145,
                                    58,
                                    140,
                                    245,
                                    133,
                                    126,
                                    255,
                                    0,
                                    169
                                ];
                            },
                            {
                                "kind": "account";
                                "path": "mint";
                            }
                        ];
                        "program": {
                            "kind": "const";
                            "value": [
                                140,
                                151,
                                37,
                                143,
                                78,
                                36,
                                137,
                                241,
                                187,
                                61,
                                16,
                                41,
                                20,
                                142,
                                13,
                                131,
                                11,
                                90,
                                19,
                                153,
                                218,
                                255,
                                16,
                                132,
                                4,
                                142,
                                123,
                                216,
                                219,
                                233,
                                248,
                                89
                            ];
                        };
                    };
                },
                {
                    "name": "systemProgram";
                    "address": "11111111111111111111111111111111";
                },
                {
                    "name": "tokenProgram";
                    "address": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA";
                },
                {
                    "name": "eventAuthority";
                    "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": "params";
                    "type": {
                        "defined": {
                            "name": "sellParams";
                        };
                    };
                }
            ];
        },
        {
            "name": "setActive";
            "docs": [
                "Sets the active status of a bonding curve."
            ];
            "discriminator": [
                29,
                16,
                225,
                132,
                38,
                216,
                206,
                33
            ];
            "accounts": [
                {
                    "name": "mint";
                    "writable": true;
                },
                {
                    "name": "payer";
                    "writable": true;
                    "signer": true;
                },
                {
                    "name": "bondingCurve";
                    "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": "global";
                    "writable": true;
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const";
                                "value": [
                                    103,
                                    108,
                                    111,
                                    98,
                                    97,
                                    108
                                ];
                            }
                        ];
                    };
                },
                {
                    "name": "systemProgram";
                    "address": "11111111111111111111111111111111";
                }
            ];
            "args": [
                {
                    "name": "params";
                    "type": {
                        "defined": {
                            "name": "activeParams";
                        };
                    };
                }
            ];
        },
        {
            "name": "setBondingCurveCfg";
            "docs": [
                "Sets the bonding curve configuration."
            ];
            "discriminator": [
                39,
                67,
                54,
                69,
                211,
                32,
                183,
                157
            ];
            "accounts": [
                {
                    "name": "user";
                    "writable": true;
                    "signer": true;
                },
                {
                    "name": "global";
                    "writable": true;
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const";
                                "value": [
                                    103,
                                    108,
                                    111,
                                    98,
                                    97,
                                    108
                                ];
                            }
                        ];
                    };
                },
                {
                    "name": "mint";
                    "writable": true;
                },
                {
                    "name": "bondingCurve";
                    "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": "systemProgram";
                    "address": "11111111111111111111111111111111";
                },
                {
                    "name": "tokenProgram";
                    "address": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA";
                }
            ];
            "args": [
                {
                    "name": "params";
                    "type": {
                        "defined": {
                            "name": "setBondingCurveParams";
                        };
                    };
                }
            ];
        },
        {
            "name": "setGlobalCfg";
            "docs": [
                "Sets the global state parameters."
            ];
            "discriminator": [
                214,
                7,
                116,
                206,
                113,
                214,
                141,
                76
            ];
            "accounts": [
                {
                    "name": "global";
                    "writable": true;
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const";
                                "value": [
                                    103,
                                    108,
                                    111,
                                    98,
                                    97,
                                    108
                                ];
                            }
                        ];
                    };
                },
                {
                    "name": "user";
                    "writable": true;
                    "signer": true;
                },
                {
                    "name": "systemProgram";
                    "address": "11111111111111111111111111111111";
                },
                {
                    "name": "eventAuthority";
                    "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": "params";
                    "type": {
                        "defined": {
                            "name": "setGlobalCfgParams";
                        };
                    };
                }
            ];
        },
        {
            "name": "withdraw";
            "docs": [
                "Allows the admin to withdraw liquidity for a migration once the bonding curve completes"
            ];
            "discriminator": [
                183,
                18,
                70,
                156,
                148,
                109,
                161,
                34
            ];
            "accounts": [
                {
                    "name": "user";
                    "writable": true;
                    "signer": true;
                },
                {
                    "name": "global";
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const";
                                "value": [
                                    103,
                                    108,
                                    111,
                                    98,
                                    97,
                                    108
                                ];
                            }
                        ];
                    };
                },
                {
                    "name": "mint";
                },
                {
                    "name": "lastWithdraw";
                    "writable": true;
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const";
                                "value": [
                                    108,
                                    97,
                                    115,
                                    116,
                                    45,
                                    119,
                                    105,
                                    116,
                                    104,
                                    100,
                                    114,
                                    97,
                                    119
                                ];
                            }
                        ];
                    };
                },
                {
                    "name": "bondingCurve";
                    "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": "bondingCurveTokenAccount";
                    "writable": true;
                    "pda": {
                        "seeds": [
                            {
                                "kind": "account";
                                "path": "bondingCurve";
                            },
                            {
                                "kind": "const";
                                "value": [
                                    6,
                                    221,
                                    246,
                                    225,
                                    215,
                                    101,
                                    161,
                                    147,
                                    217,
                                    203,
                                    225,
                                    70,
                                    206,
                                    235,
                                    121,
                                    172,
                                    28,
                                    180,
                                    133,
                                    237,
                                    95,
                                    91,
                                    55,
                                    145,
                                    58,
                                    140,
                                    245,
                                    133,
                                    126,
                                    255,
                                    0,
                                    169
                                ];
                            },
                            {
                                "kind": "account";
                                "path": "mint";
                            }
                        ];
                        "program": {
                            "kind": "const";
                            "value": [
                                140,
                                151,
                                37,
                                143,
                                78,
                                36,
                                137,
                                241,
                                187,
                                61,
                                16,
                                41,
                                20,
                                142,
                                13,
                                131,
                                11,
                                90,
                                19,
                                153,
                                218,
                                255,
                                16,
                                132,
                                4,
                                142,
                                123,
                                216,
                                219,
                                233,
                                248,
                                89
                            ];
                        };
                    };
                },
                {
                    "name": "userTokenAccount";
                    "writable": true;
                    "pda": {
                        "seeds": [
                            {
                                "kind": "account";
                                "path": "user";
                            },
                            {
                                "kind": "const";
                                "value": [
                                    6,
                                    221,
                                    246,
                                    225,
                                    215,
                                    101,
                                    161,
                                    147,
                                    217,
                                    203,
                                    225,
                                    70,
                                    206,
                                    235,
                                    121,
                                    172,
                                    28,
                                    180,
                                    133,
                                    237,
                                    95,
                                    91,
                                    55,
                                    145,
                                    58,
                                    140,
                                    245,
                                    133,
                                    126,
                                    255,
                                    0,
                                    169
                                ];
                            },
                            {
                                "kind": "account";
                                "path": "mint";
                            }
                        ];
                        "program": {
                            "kind": "const";
                            "value": [
                                140,
                                151,
                                37,
                                143,
                                78,
                                36,
                                137,
                                241,
                                187,
                                61,
                                16,
                                41,
                                20,
                                142,
                                13,
                                131,
                                11,
                                90,
                                19,
                                153,
                                218,
                                255,
                                16,
                                132,
                                4,
                                142,
                                123,
                                216,
                                219,
                                233,
                                248,
                                89
                            ];
                        };
                    };
                },
                {
                    "name": "associatedTokenProgram";
                    "address": "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL";
                },
                {
                    "name": "systemProgram";
                    "address": "11111111111111111111111111111111";
                },
                {
                    "name": "tokenProgram";
                    "address": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA";
                },
                {
                    "name": "eventAuthority";
                    "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": "wrapSolSend";
            "docs": [
                "Migrate bonding curve to raydium cpmm by admin"
            ];
            "discriminator": [
                211,
                142,
                17,
                183,
                200,
                108,
                214,
                0
            ];
            "accounts": [
                {
                    "name": "payer";
                    "writable": true;
                    "signer": true;
                },
                {
                    "name": "global";
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const";
                                "value": [
                                    103,
                                    108,
                                    111,
                                    98,
                                    97,
                                    108
                                ];
                            }
                        ];
                    };
                },
                {
                    "name": "mint";
                },
                {
                    "name": "wsolMint";
                    "writable": true;
                },
                {
                    "name": "bondingCurve";
                    "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": "bondingCurveTokenAccount";
                    "writable": true;
                    "pda": {
                        "seeds": [
                            {
                                "kind": "account";
                                "path": "bondingCurve";
                            },
                            {
                                "kind": "const";
                                "value": [
                                    6,
                                    221,
                                    246,
                                    225,
                                    215,
                                    101,
                                    161,
                                    147,
                                    217,
                                    203,
                                    225,
                                    70,
                                    206,
                                    235,
                                    121,
                                    172,
                                    28,
                                    180,
                                    133,
                                    237,
                                    95,
                                    91,
                                    55,
                                    145,
                                    58,
                                    140,
                                    245,
                                    133,
                                    126,
                                    255,
                                    0,
                                    169
                                ];
                            },
                            {
                                "kind": "account";
                                "path": "mint";
                            }
                        ];
                        "program": {
                            "kind": "const";
                            "value": [
                                140,
                                151,
                                37,
                                143,
                                78,
                                36,
                                137,
                                241,
                                187,
                                61,
                                16,
                                41,
                                20,
                                142,
                                13,
                                131,
                                11,
                                90,
                                19,
                                153,
                                218,
                                255,
                                16,
                                132,
                                4,
                                142,
                                123,
                                216,
                                219,
                                233,
                                248,
                                89
                            ];
                        };
                    };
                },
                {
                    "name": "bondingCurveWsolAccount";
                    "writable": true;
                    "pda": {
                        "seeds": [
                            {
                                "kind": "account";
                                "path": "bondingCurve";
                            },
                            {
                                "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": "wsolMint";
                            }
                        ];
                        "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": "associatedTokenProgram";
                    "address": "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL";
                },
                {
                    "name": "systemProgram";
                    "address": "11111111111111111111111111111111";
                },
                {
                    "name": "tokenProgram";
                    "address": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA";
                },
                {
                    "name": "rent";
                    "address": "SysvarRent111111111111111111111111111111111";
                },
                {
                    "name": "eventAuthority";
                    "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": "wrapSolSync";
            "discriminator": [
                123,
                246,
                143,
                62,
                12,
                216,
                36,
                177
            ];
            "accounts": [
                {
                    "name": "payer";
                    "writable": true;
                    "signer": true;
                },
                {
                    "name": "global";
                    "pda": {
                        "seeds": [
                            {
                                "kind": "const";
                                "value": [
                                    103,
                                    108,
                                    111,
                                    98,
                                    97,
                                    108
                                ];
                            }
                        ];
                    };
                },
                {
                    "name": "mint";
                },
                {
                    "name": "wsolMint";
                    "writable": true;
                },
                {
                    "name": "bondingCurve";
                    "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": "bondingCurveTokenAccount";
                    "writable": true;
                    "pda": {
                        "seeds": [
                            {
                                "kind": "account";
                                "path": "bondingCurve";
                            },
                            {
                                "kind": "const";
                                "value": [
                                    6,
                                    221,
                                    246,
                                    225,
                                    215,
                                    101,
                                    161,
                                    147,
                                    217,
                                    203,
                                    225,
                                    70,
                                    206,
                                    235,
                                    121,
                                    172,
                                    28,
                                    180,
                                    133,
                                    237,
                                    95,
                                    91,
                                    55,
                                    145,
                                    58,
                                    140,
                                    245,
                                    133,
                                    126,
                                    255,
                                    0,
                                    169
                                ];
                            },
                            {
                                "kind": "account";
                                "path": "mint";
                            }
                        ];
                        "program": {
                            "kind": "const";
                            "value": [
                                140,
                                151,
                                37,
                                143,
                                78,
                                36,
                                137,
                                241,
                                187,
                                61,
                                16,
                                41,
                                20,
                                142,
                                13,
                                131,
                                11,
                                90,
                                19,
                                153,
                                218,
                                255,
                                16,
                                132,
                                4,
                                142,
                                123,
                                216,
                                219,
                                233,
                                248,
                                89
                            ];
                        };
                    };
                },
                {
                    "name": "bondingCurveWsolAccount";
                    "writable": true;
                    "pda": {
                        "seeds": [
                            {
                                "kind": "account";
                                "path": "bondingCurve";
                            },
                            {
                                "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": "wsolMint";
                            }
                        ];
                        "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": "associatedTokenProgram";
                    "address": "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL";
                },
                {
                    "name": "systemProgram";
                    "address": "11111111111111111111111111111111";
                },
                {
                    "name": "tokenProgram";
                    "address": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA";
                },
                {
                    "name": "rent";
                    "address": "SysvarRent111111111111111111111111111111111";
                },
                {
                    "name": "eventAuthority";
                    "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": [];
        }
    ];
    "accounts": [
        {
            "name": "ammConfig";
            "discriminator": [
                218,
                244,
                33,
                104,
                203,
                203,
                43,
                111
            ];
        },
        {
            "name": "bondingCurve";
            "discriminator": [
                23,
                183,
                248,
                55,
                96,
                216,
                172,
                96
            ];
        },
        {
            "name": "global";
            "discriminator": [
                167,
                232,
                232,
                177,
                200,
                108,
                114,
                127
            ];
        },
        {
            "name": "lastWithdraw";
            "discriminator": [
                203,
                18,
                220,
                103,
                120,
                145,
                187,
                2
            ];
        }
    ];
    "events": [
        {
            "name": "completeEvent";
            "discriminator": [
                95,
                114,
                97,
                156,
                212,
                46,
                152,
                8
            ];
        },
        {
            "name": "completeMigrationEvent";
            "discriminator": [
                128,
                85,
                109,
                166,
                81,
                4,
                177,
                161
            ];
        },
        {
            "name": "createEvent";
            "discriminator": [
                27,
                114,
                169,
                77,
                222,
                235,
                99,
                118
            ];
        },
        {
            "name": "setGlobalCfgEvent";
            "discriminator": [
                104,
                98,
                139,
                215,
                7,
                31,
                153,
                58
            ];
        },
        {
            "name": "tradeEvent";
            "discriminator": [
                189,
                219,
                127,
                211,
                78,
                230,
                97,
                238
            ];
        },
        {
            "name": "withdrawEvent";
            "discriminator": [
                22,
                9,
                133,
                26,
                160,
                44,
                71,
                192
            ];
        }
    ];
    "errors": [
        {
            "code": 6000;
            "name": "notInitialized";
            "msg": "The program is not initialized.";
        },
        {
            "code": 6001;
            "name": "alreadyInitialized";
            "msg": "The program is already initialized.";
        },
        {
            "code": 6002;
            "name": "bondingCurveNotActive";
            "msg": "Bonding curve is not active.";
        },
        {
            "code": 6003;
            "name": "bondingCurveComplete";
            "msg": "The bonding curve has completed.";
        },
        {
            "code": 6004;
            "name": "bondingCurveNotComplete";
            "msg": "The bonding curve has not completed.";
        },
        {
            "code": 6005;
            "name": "invalidFee";
            "msg": "Invalid fee.";
        },
        {
            "code": 6006;
            "name": "invalidFeeRecipient";
            "msg": "Invalid fee recipient.";
        },
        {
            "code": 6007;
            "name": "insufficientSol";
            "msg": "Insufficient SOL.";
        },
        {
            "code": 6008;
            "name": "insufficientTokens";
            "msg": "Insufficient tokens.";
        },
        {
            "code": 6009;
            "name": "maxSolCostExceeded";
            "msg": "Max SOL Cost Exceeded.";
        },
        {
            "code": 6010;
            "name": "minBuy";
            "msg": "Min buy is 1 Token.";
        },
        {
            "code": 6011;
            "name": "minSell";
            "msg": "Min sell is 1 Token.";
        },
        {
            "code": 6012;
            "name": "minSolOutputExceeded";
            "msg": "Min SOL Output Exceeded.";
        },
        {
            "code": 6013;
            "name": "invalidAuthority";
            "msg": "Invalid authority.";
        },
        {
            "code": 6014;
            "name": "invalidTradeAuthority";
            "msg": "Invalid trade authority.";
        },
        {
            "code": 6015;
            "name": "invalidWithdrawAuthority";
            "msg": "Invalid withdraw authority.";
        },
        {
            "code": 6016;
            "name": "arithmeticError";
            "msg": "Arithmetic error.";
        }
    ];
    "types": [
        {
            "name": "activeParams";
            "type": {
                "kind": "struct";
                "fields": [
                    {
                        "name": "active";
                        "type": "bool";
                    }
                ];
            };
        },
        {
            "name": "ammConfig";
            "docs": [
                "Holds the current owner of the factory"
            ];
            "type": {
                "kind": "struct";
                "fields": [
                    {
                        "name": "bump";
                        "docs": [
                            "Bump to identify PDA"
                        ];
                        "type": "u8";
                    },
                    {
                        "name": "disableCreatePool";
                        "docs": [
                            "Status to control if new pool can be create"
                        ];
                        "type": "bool";
                    },
                    {
                        "name": "index";
                        "docs": [
                            "Config index"
                        ];
                        "type": "u16";
                    },
                    {
                        "name": "tradeFeeRate";
                        "docs": [
                            "The trade fee, denominated in hundredths of a bip (10^-6)"
                        ];
                        "type": "u64";
                    },
                    {
                        "name": "protocolFeeRate";
                        "docs": [
                            "The protocol fee"
                        ];
                        "type": "u64";
                    },
                    {
                        "name": "fundFeeRate";
                        "docs": [
                            "The fund fee, denominated in hundredths of a bip (10^-6)"
                        ];
                        "type": "u64";
                    },
                    {
                        "name": "createPoolFee";
                        "docs": [
                            "Fee for create a new pool"
                        ];
                        "type": "u64";
                    },
                    {
                        "name": "protocolOwner";
                        "docs": [
                            "Address of the protocol fee owner"
                        ];
                        "type": "pubkey";
                    },
                    {
                        "name": "fundOwner";
                        "docs": [
                            "Address of the fund fee owner"
                        ];
                        "type": "pubkey";
                    },
                    {
                        "name": "padding";
                        "docs": [
                            "padding"
                        ];
                        "type": {
                            "array": [
                                "u64",
                                16
                            ];
                        };
                    }
                ];
            };
        },
        {
            "name": "bondingCurve";
            "type": {
                "kind": "struct";
                "fields": [
                    {
                        "name": "virtualSolReserves";
                        "type": "u64";
                    },
                    {
                        "name": "virtualTokenReserves";
                        "type": "u64";
                    },
                    {
                        "name": "realSolReserves";
                        "type": "u64";
                    },
                    {
                        "name": "realTokenReserves";
                        "type": "u64";
                    },
                    {
                        "name": "tokenTotalSupply";
                        "type": "u64";
                    },
                    {
                        "name": "active";
                        "type": "bool";
                    },
                    {
                        "name": "creator";
                        "type": "pubkey";
                    },
                    {
                        "name": "tradeAuthority";
                        "type": {
                            "option": "pubkey";
                        };
                    },
                    {
                        "name": "complete";
                        "type": "bool";
                    }
                ];
            };
        },
        {
            "name": "buyParams";
            "type": {
                "kind": "struct";
                "fields": [
                    {
                        "name": "tokenAmount";
                        "type": "u64";
                    },
                    {
                        "name": "maxSolCost";
                        "type": "u64";
                    }
                ];
            };
        },
        {
            "name": "completeEvent";
            "type": {
                "kind": "struct";
                "fields": [
                    {
                        "name": "user";
                        "type": "pubkey";
                    },
                    {
                        "name": "mint";
                        "type": "pubkey";
                    },
                    {
                        "name": "bondingCurve";
                        "type": "pubkey";
                    },
                    {
                        "name": "timestamp";
                        "type": "i64";
                    }
                ];
            };
        },
        {
            "name": "completeMigrationEvent";
            "type": {
                "kind": "struct";
                "fields": [
                    {
                        "name": "dex";
                        "type": "string";
                    },
                    {
                        "name": "withdrawAuthority";
                        "type": "pubkey";
                    },
                    {
                        "name": "mint";
                        "type": "pubkey";
                    },
                    {
                        "name": "creator";
                        "type": "pubkey";
                    },
                    {
                        "name": "mintAmount";
                        "type": "u64";
                    },
                    {
                        "name": "solAmount";
                        "type": "u64";
                    },
                    {
                        "name": "poolMigrationFee";
                        "type": "u64";
                    },
                    {
                        "name": "bondingCurve";
                        "type": "pubkey";
                    },
                    {
                        "name": "pool";
                        "type": "pubkey";
                    },
                    {
                        "name": "timestamp";
                        "type": "i64";
                    }
                ];
            };
        },
        {
            "name": "createEvent";
            "type": {
                "kind": "struct";
                "fields": [
                    {
                        "name": "mint";
                        "type": "pubkey";
                    },
                    {
                        "name": "bondingCurve";
                        "type": "pubkey";
                    },
                    {
                        "name": "user";
                        "type": "pubkey";
                    },
                    {
                        "name": "creator";
                        "type": "pubkey";
                    },
                    {
                        "name": "tradeAuthority";
                        "type": {
                            "option": "pubkey";
                        };
                    },
                    {
                        "name": "name";
                        "type": "string";
                    },
                    {
                        "name": "symbol";
                        "type": "string";
                    },
                    {
                        "name": "uri";
                        "type": "string";
                    },
                    {
                        "name": "decimals";
                        "type": "u8";
                    },
                    {
                        "name": "timestamp";
                        "type": "i64";
                    },
                    {
                        "name": "virtualTokenReserves";
                        "type": "u64";
                    },
                    {
                        "name": "virtualSolReserves";
                        "type": "u64";
                    },
                    {
                        "name": "realTokenReserves";
                        "type": "u64";
                    },
                    {
                        "name": "realSolReserves";
                        "type": "u64";
                    }
                ];
            };
        },
        {
            "name": "createParams";
            "type": {
                "kind": "struct";
                "fields": [
                    {
                        "name": "name";
                        "type": "string";
                    },
                    {
                        "name": "symbol";
                        "type": "string";
                    },
                    {
                        "name": "uri";
                        "type": "string";
                    },
                    {
                        "name": "tradeAuthority";
                        "type": {
                            "option": "pubkey";
                        };
                    },
                    {
                        "name": "creator";
                        "type": {
                            "option": "pubkey";
                        };
                    }
                ];
            };
        },
        {
            "name": "global";
            "type": {
                "kind": "struct";
                "fields": [
                    {
                        "name": "authority";
                        "type": "pubkey";
                    },
                    {
                        "name": "initialized";
                        "type": "bool";
                    },
                    {
                        "name": "feeRecipient";
                        "type": "pubkey";
                    },
                    {
                        "name": "mintFee";
                        "type": "u64";
                    },
                    {
                        "name": "poolMigrationFee";
                        "type": "u64";
                    },
                    {
                        "name": "creatorFeeBasisPoints";
                        "type": "u64";
                    },
                    {
                        "name": "systemFeeBasisPoints";
                        "type": "u64";
                    },
                    {
                        "name": "initialVirtualTokenReserves";
                        "type": "u64";
                    },
                    {
                        "name": "initialVirtualSolReserves";
                        "type": "u64";
                    },
                    {
                        "name": "initialRealTokenReserves";
                        "type": "u64";
                    },
                    {
                        "name": "initialRealSolReserves";
                        "type": "u64";
                    },
                    {
                        "name": "initialTokenSupply";
                        "type": "u64";
                    },
                    {
                        "name": "withdrawAuthority";
                        "type": "pubkey";
                    },
                    {
                        "name": "padding";
                        "type": {
                            "array": [
                                "u64",
                                16
                            ];
                        };
                    }
                ];
            };
        },
        {
            "name": "lastWithdraw";
            "type": {
                "kind": "struct";
                "fields": [
                    {
                        "name": "lastWithdrawTimestamp";
                        "type": "i64";
                    }
                ];
            };
        },
        {
            "name": "sellParams";
            "type": {
                "kind": "struct";
                "fields": [
                    {
                        "name": "tokenAmount";
                        "type": "u64";
                    },
                    {
                        "name": "minSolOutput";
                        "type": "u64";
                    }
                ];
            };
        },
        {
            "name": "setBondingCurveParams";
            "type": {
                "kind": "struct";
                "fields": [
                    {
                        "name": "tradeAuthority";
                        "type": {
                            "option": "pubkey";
                        };
                    }
                ];
            };
        },
        {
            "name": "setGlobalCfgEvent";
            "type": {
                "kind": "struct";
                "fields": [
                    {
                        "name": "feeRecipient";
                        "type": "pubkey";
                    },
                    {
                        "name": "mintFee";
                        "type": "u64";
                    },
                    {
                        "name": "poolMigrationFee";
                        "type": "u64";
                    },
                    {
                        "name": "creatorFeeBasisPoints";
                        "type": "u64";
                    },
                    {
                        "name": "systemFeeBasisPoints";
                        "type": "u64";
                    },
                    {
                        "name": "initialVirtualTokenReserves";
                        "type": "u64";
                    },
                    {
                        "name": "initialVirtualSolReserves";
                        "type": "u64";
                    },
                    {
                        "name": "initialRealTokenReserves";
                        "type": "u64";
                    },
                    {
                        "name": "initialRealSolReserves";
                        "type": "u64";
                    },
                    {
                        "name": "initialTokenSupply";
                        "type": "u64";
                    },
                    {
                        "name": "withdrawAuthority";
                        "type": "pubkey";
                    },
                    {
                        "name": "timestamp";
                        "type": "i64";
                    }
                ];
            };
        },
        {
            "name": "setGlobalCfgParams";
            "type": {
                "kind": "struct";
                "fields": [
                    {
                        "name": "creatorFeeBasisPoints";
                        "type": {
                            "option": "u64";
                        };
                    },
                    {
                        "name": "systemFeeBasisPoints";
                        "type": {
                            "option": "u64";
                        };
                    },
                    {
                        "name": "mintFee";
                        "type": {
                            "option": "u64";
                        };
                    },
                    {
                        "name": "poolMigrationFee";
                        "type": {
                            "option": "u64";
                        };
                    },
                    {
                        "name": "feeRecipient";
                        "type": {
                            "option": "pubkey";
                        };
                    },
                    {
                        "name": "initialTokenSupply";
                        "type": {
                            "option": "u64";
                        };
                    },
                    {
                        "name": "initialVirtualTokenReserves";
                        "type": {
                            "option": "u64";
                        };
                    },
                    {
                        "name": "initialVirtualSolReserves";
                        "type": {
                            "option": "u64";
                        };
                    },
                    {
                        "name": "initialRealTokenReserves";
                        "type": {
                            "option": "u64";
                        };
                    },
                    {
                        "name": "withdrawAuthority";
                        "type": {
                            "option": "pubkey";
                        };
                    }
                ];
            };
        },
        {
            "name": "tradeEvent";
            "type": {
                "kind": "struct";
                "fields": [
                    {
                        "name": "mint";
                        "type": "pubkey";
                    },
                    {
                        "name": "solAmount";
                        "type": "u64";
                    },
                    {
                        "name": "tokenAmount";
                        "type": "u64";
                    },
                    {
                        "name": "isBuy";
                        "type": "bool";
                    },
                    {
                        "name": "user";
                        "type": "pubkey";
                    },
                    {
                        "name": "virtualSolReserves";
                        "type": "u64";
                    },
                    {
                        "name": "virtualTokenReserves";
                        "type": "u64";
                    },
                    {
                        "name": "realSolReserves";
                        "type": "u64";
                    },
                    {
                        "name": "realTokenReserves";
                        "type": "u64";
                    },
                    {
                        "name": "timestamp";
                        "type": "i64";
                    }
                ];
            };
        },
        {
            "name": "withdrawEvent";
            "type": {
                "kind": "struct";
                "fields": [
                    {
                        "name": "withdrawAuthority";
                        "type": "pubkey";
                    },
                    {
                        "name": "mint";
                        "type": "pubkey";
                    },
                    {
                        "name": "totalSolAmount";
                        "type": "u64";
                    },
                    {
                        "name": "totalTokenAmount";
                        "type": "u64";
                    },
                    {
                        "name": "withdrawTime";
                        "type": "i64";
                    }
                ];
            };
        }
    ];
};
//# sourceMappingURL=happy_pump_program.d.ts.map