{
  "address": "A5ZL2dp9ura1wk7w8EwQcnqnNcy6HAwLxmH3aXgFUbjw",
  "metadata": {
    "name": "antybundle",
    "version": "0.7.0",
    "spec": "0.1.0",
    "description": "Low-fee virtual constant-product launch curve (0.35% to the creator + 0.10% platform per side) with a single-transaction guard and migration to Raydium CPMM (native)."
  },
  "instructions": [
    {
      "name": "initialize_global",
      "docs": [
        "Only the upgrade authority of the program can call this once."
      ],
      "discriminator": [
        47,
        225,
        15,
        112,
        86,
        51,
        190,
        231
      ],
      "accounts": [
        {
          "name": "authority",
          "writable": true,
          "signer": true
        },
        {
          "name": "global",
          "writable": true,
          "address": "2bMNmWYLdtZ3epni6SLdD4bXPBnLyUUveP8wMLqp3sof"
        },
        {
          "name": "program",
          "address": "A5ZL2dp9ura1wk7w8EwQcnqnNcy6HAwLxmH3aXgFUbjw"
        },
        {
          "name": "program_data"
        },
        {
          "name": "system_program",
          "address": "11111111111111111111111111111111"
        }
      ],
      "args": [
        {
          "name": "params",
          "type": {
            "defined": {
              "name": "GlobalParams"
            }
          }
        }
      ]
    },
    {
      "name": "update_global",
      "docs": [
        "Applies only to curves created afterwards."
      ],
      "discriminator": [
        90,
        152,
        240,
        21,
        199,
        38,
        72,
        20
      ],
      "accounts": [
        {
          "name": "authority",
          "signer": true
        },
        {
          "name": "global",
          "writable": true,
          "address": "2bMNmWYLdtZ3epni6SLdD4bXPBnLyUUveP8wMLqp3sof"
        }
      ],
      "args": [
        {
          "name": "params",
          "type": {
            "defined": {
              "name": "GlobalParams"
            }
          }
        }
      ]
    },
    {
      "name": "propose_authority",
      "docs": [],
      "discriminator": [
        20,
        148,
        236,
        198,
        76,
        119,
        99,
        142
      ],
      "accounts": [
        {
          "name": "authority",
          "signer": true
        },
        {
          "name": "global",
          "writable": true,
          "address": "2bMNmWYLdtZ3epni6SLdD4bXPBnLyUUveP8wMLqp3sof"
        }
      ],
      "args": [
        {
          "name": "new_authority",
          "type": "pubkey"
        }
      ]
    },
    {
      "name": "accept_authority",
      "docs": [],
      "discriminator": [
        107,
        86,
        198,
        91,
        33,
        12,
        107,
        160
      ],
      "accounts": [
        {
          "name": "new_authority",
          "signer": true
        },
        {
          "name": "global",
          "writable": true,
          "address": "2bMNmWYLdtZ3epni6SLdD4bXPBnLyUUveP8wMLqp3sof"
        }
      ],
      "args": []
    },
    {
      "name": "create",
      "docs": [
        "Token-2022 mint with metadata in the mint, fixed supply in the vault, mint and metadata",
        "authorities revoked, no freeze authority; optional atomic dev buy (initial_buy_sol > 0)."
      ],
      "discriminator": [
        24,
        30,
        200,
        40,
        5,
        28,
        7,
        119
      ],
      "accounts": [
        {
          "name": "creator",
          "writable": true,
          "signer": true
        },
        {
          "name": "global",
          "address": "2bMNmWYLdtZ3epni6SLdD4bXPBnLyUUveP8wMLqp3sof"
        },
        {
          "name": "mint",
          "writable": true,
          "signer": true
        },
        {
          "name": "curve",
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  99,
                  117,
                  114,
                  118,
                  101
                ]
              },
              {
                "kind": "account",
                "path": "mint"
              }
            ]
          }
        },
        {
          "name": "vault",
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "account",
                "path": "curve"
              },
              {
                "kind": "const",
                "value": [
                  6,
                  221,
                  246,
                  225,
                  238,
                  117,
                  143,
                  222,
                  24,
                  66,
                  93,
                  188,
                  228,
                  108,
                  205,
                  218,
                  182,
                  26,
                  252,
                  77,
                  131,
                  185,
                  13,
                  39,
                  254,
                  189,
                  249,
                  40,
                  216,
                  161,
                  139,
                  252
                ]
              },
              {
                "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": "creator_token",
          "docs": [
            "Used only for the dev buy."
          ],
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "account",
                "path": "creator"
              },
              {
                "kind": "const",
                "value": [
                  6,
                  221,
                  246,
                  225,
                  238,
                  117,
                  143,
                  222,
                  24,
                  66,
                  93,
                  188,
                  228,
                  108,
                  205,
                  218,
                  182,
                  26,
                  252,
                  77,
                  131,
                  185,
                  13,
                  39,
                  254,
                  189,
                  249,
                  40,
                  216,
                  161,
                  139,
                  252
                ]
              },
              {
                "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": "jito_dont_front",
          "address": "jitodontfront111111111111111111111111111111"
        },
        {
          "name": "instructions_sysvar",
          "address": "Sysvar1nstructions1111111111111111111111111"
        },
        {
          "name": "token_program",
          "address": "TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb"
        },
        {
          "name": "associated_token_program",
          "address": "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL"
        },
        {
          "name": "system_program",
          "address": "11111111111111111111111111111111"
        },
        {
          "name": "event_authority",
          "address": "3vMWqk1Lk9BEhuqUfSSE8ebZx6t6zD7WjDjK9PwABLLK"
        },
        {
          "name": "program",
          "address": "A5ZL2dp9ura1wk7w8EwQcnqnNcy6HAwLxmH3aXgFUbjw"
        },
        {
          "name": "fee_to",
          "docs": [
            "Only when args.fee_to is set: that wallet (system-owned, not executable)."
          ],
          "optional": true
        },
        {
          "name": "quote_config",
          "docs": [
            "Only when args.quote_mint is set: PDA([\"quote\", quote_mint]), registered and enabled."
          ],
          "optional": true
        },
        {
          "name": "quote_mint",
          "optional": true
        },
        {
          "name": "quote_vault",
          "docs": [
            "ATA(curve, quote_mint) under the quote token program (created here)."
          ],
          "writable": true,
          "optional": true
        },
        {
          "name": "creator_quote",
          "docs": [
            "The creator's own account of quote_mint (pays the dev buy)."
          ],
          "writable": true,
          "optional": true
        },
        {
          "name": "quote_token_program",
          "optional": true
        }
      ],
      "args": [
        {
          "name": "args",
          "type": {
            "defined": {
              "name": "CreateArgs"
            }
          }
        }
      ]
    },
    {
      "name": "buy",
      "docs": [
        "Buy an exact token amount; fails if total cost > max_sol_cost."
      ],
      "discriminator": [
        102,
        6,
        61,
        18,
        1,
        218,
        235,
        234
      ],
      "accounts": [
        {
          "name": "user",
          "writable": true,
          "signer": true
        },
        {
          "name": "mint"
        },
        {
          "name": "curve",
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  99,
                  117,
                  114,
                  118,
                  101
                ]
              },
              {
                "kind": "account",
                "path": "mint"
              }
            ]
          }
        },
        {
          "name": "vault",
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "account",
                "path": "curve"
              },
              {
                "kind": "const",
                "value": [
                  6,
                  221,
                  246,
                  225,
                  238,
                  117,
                  143,
                  222,
                  24,
                  66,
                  93,
                  188,
                  228,
                  108,
                  205,
                  218,
                  182,
                  26,
                  252,
                  77,
                  131,
                  185,
                  13,
                  39,
                  254,
                  189,
                  249,
                  40,
                  216,
                  161,
                  139,
                  252
                ]
              },
              {
                "kind": "account",
                "path": "mint"
              }
            ],
            "program": {
              "kind": "const",
              "value": [
                140,
                151,
                37,
                143,
                78,
                36,
                137,
                241,
                187,
                61,
                16,
                41,
                20,
                142,
                13,
                131,
                11,
                90,
                19,
                153,
                218,
                255,
                16,
                132,
                4,
                142,
                123,
                216,
                219,
                233,
                248,
                89
              ]
            }
          }
        },
        {
          "name": "user_token",
          "docs": [
            "Token-2022 account of `mint` owned by `user` (usually its ATA)."
          ],
          "writable": true
        },
        {
          "name": "jito_dont_front",
          "docs": [
            "Read-only Jito marker: in a bundle this transaction must be first."
          ],
          "address": "jitodontfront111111111111111111111111111111"
        },
        {
          "name": "instructions_sysvar",
          "address": "Sysvar1nstructions1111111111111111111111111"
        },
        {
          "name": "token_program",
          "address": "TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb"
        },
        {
          "name": "system_program",
          "address": "11111111111111111111111111111111"
        },
        {
          "name": "event_authority",
          "address": "3vMWqk1Lk9BEhuqUfSSE8ebZx6t6zD7WjDjK9PwABLLK"
        },
        {
          "name": "program",
          "address": "A5ZL2dp9ura1wk7w8EwQcnqnNcy6HAwLxmH3aXgFUbjw"
        },
        {
          "name": "quote_mint",
          "docs": [
            "Only for a curve priced in another token (curve.version 2)."
          ],
          "optional": true
        },
        {
          "name": "quote_vault",
          "docs": [
            "ATA(curve, quote_mint) under the quote token program."
          ],
          "writable": true,
          "optional": true
        },
        {
          "name": "user_quote",
          "docs": [
            "The user's own account of quote_mint (its ATA)."
          ],
          "writable": true,
          "optional": true
        },
        {
          "name": "quote_token_program",
          "docs": [
            "SPL Token or Token-2022, the program of quote_mint."
          ],
          "optional": true
        }
      ],
      "args": [
        {
          "name": "amount",
          "type": "u64"
        },
        {
          "name": "max_sol_cost",
          "type": "u64"
        }
      ]
    },
    {
      "name": "buy_exact_sol_in",
      "docs": [
        "Spend at most sol_in (incl. fee) for the maximal token amount."
      ],
      "discriminator": [
        56,
        252,
        116,
        8,
        158,
        223,
        205,
        95
      ],
      "accounts": [
        {
          "name": "user",
          "writable": true,
          "signer": true
        },
        {
          "name": "mint"
        },
        {
          "name": "curve",
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  99,
                  117,
                  114,
                  118,
                  101
                ]
              },
              {
                "kind": "account",
                "path": "mint"
              }
            ]
          }
        },
        {
          "name": "vault",
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "account",
                "path": "curve"
              },
              {
                "kind": "const",
                "value": [
                  6,
                  221,
                  246,
                  225,
                  238,
                  117,
                  143,
                  222,
                  24,
                  66,
                  93,
                  188,
                  228,
                  108,
                  205,
                  218,
                  182,
                  26,
                  252,
                  77,
                  131,
                  185,
                  13,
                  39,
                  254,
                  189,
                  249,
                  40,
                  216,
                  161,
                  139,
                  252
                ]
              },
              {
                "kind": "account",
                "path": "mint"
              }
            ],
            "program": {
              "kind": "const",
              "value": [
                140,
                151,
                37,
                143,
                78,
                36,
                137,
                241,
                187,
                61,
                16,
                41,
                20,
                142,
                13,
                131,
                11,
                90,
                19,
                153,
                218,
                255,
                16,
                132,
                4,
                142,
                123,
                216,
                219,
                233,
                248,
                89
              ]
            }
          }
        },
        {
          "name": "user_token",
          "docs": [
            "Token-2022 account of `mint` owned by `user` (usually its ATA)."
          ],
          "writable": true
        },
        {
          "name": "jito_dont_front",
          "docs": [
            "Read-only Jito marker: in a bundle this transaction must be first."
          ],
          "address": "jitodontfront111111111111111111111111111111"
        },
        {
          "name": "instructions_sysvar",
          "address": "Sysvar1nstructions1111111111111111111111111"
        },
        {
          "name": "token_program",
          "address": "TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb"
        },
        {
          "name": "system_program",
          "address": "11111111111111111111111111111111"
        },
        {
          "name": "event_authority",
          "address": "3vMWqk1Lk9BEhuqUfSSE8ebZx6t6zD7WjDjK9PwABLLK"
        },
        {
          "name": "program",
          "address": "A5ZL2dp9ura1wk7w8EwQcnqnNcy6HAwLxmH3aXgFUbjw"
        },
        {
          "name": "quote_mint",
          "docs": [
            "Only for a curve priced in another token (curve.version 2)."
          ],
          "optional": true
        },
        {
          "name": "quote_vault",
          "docs": [
            "ATA(curve, quote_mint) under the quote token program."
          ],
          "writable": true,
          "optional": true
        },
        {
          "name": "user_quote",
          "docs": [
            "The user's own account of quote_mint (its ATA)."
          ],
          "writable": true,
          "optional": true
        },
        {
          "name": "quote_token_program",
          "docs": [
            "SPL Token or Token-2022, the program of quote_mint."
          ],
          "optional": true
        }
      ],
      "args": [
        {
          "name": "sol_in",
          "type": "u64"
        },
        {
          "name": "min_tokens_out",
          "type": "u64"
        }
      ]
    },
    {
      "name": "sell",
      "docs": [
        "Sell an exact token amount; fails if net proceeds < min_sol_output."
      ],
      "discriminator": [
        51,
        230,
        133,
        164,
        1,
        127,
        131,
        173
      ],
      "accounts": [
        {
          "name": "user",
          "writable": true,
          "signer": true
        },
        {
          "name": "mint"
        },
        {
          "name": "curve",
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  99,
                  117,
                  114,
                  118,
                  101
                ]
              },
              {
                "kind": "account",
                "path": "mint"
              }
            ]
          }
        },
        {
          "name": "vault",
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "account",
                "path": "curve"
              },
              {
                "kind": "const",
                "value": [
                  6,
                  221,
                  246,
                  225,
                  238,
                  117,
                  143,
                  222,
                  24,
                  66,
                  93,
                  188,
                  228,
                  108,
                  205,
                  218,
                  182,
                  26,
                  252,
                  77,
                  131,
                  185,
                  13,
                  39,
                  254,
                  189,
                  249,
                  40,
                  216,
                  161,
                  139,
                  252
                ]
              },
              {
                "kind": "account",
                "path": "mint"
              }
            ],
            "program": {
              "kind": "const",
              "value": [
                140,
                151,
                37,
                143,
                78,
                36,
                137,
                241,
                187,
                61,
                16,
                41,
                20,
                142,
                13,
                131,
                11,
                90,
                19,
                153,
                218,
                255,
                16,
                132,
                4,
                142,
                123,
                216,
                219,
                233,
                248,
                89
              ]
            }
          }
        },
        {
          "name": "user_token",
          "docs": [
            "Token-2022 account of `mint` owned by `user` (usually its ATA)."
          ],
          "writable": true
        },
        {
          "name": "jito_dont_front",
          "docs": [
            "Read-only Jito marker: in a bundle this transaction must be first."
          ],
          "address": "jitodontfront111111111111111111111111111111"
        },
        {
          "name": "instructions_sysvar",
          "address": "Sysvar1nstructions1111111111111111111111111"
        },
        {
          "name": "token_program",
          "address": "TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb"
        },
        {
          "name": "system_program",
          "address": "11111111111111111111111111111111"
        },
        {
          "name": "event_authority",
          "address": "3vMWqk1Lk9BEhuqUfSSE8ebZx6t6zD7WjDjK9PwABLLK"
        },
        {
          "name": "program",
          "address": "A5ZL2dp9ura1wk7w8EwQcnqnNcy6HAwLxmH3aXgFUbjw"
        },
        {
          "name": "quote_mint",
          "docs": [
            "Only for a curve priced in another token (curve.version 2)."
          ],
          "optional": true
        },
        {
          "name": "quote_vault",
          "docs": [
            "ATA(curve, quote_mint) under the quote token program."
          ],
          "writable": true,
          "optional": true
        },
        {
          "name": "user_quote",
          "docs": [
            "The user's own account of quote_mint (its ATA)."
          ],
          "writable": true,
          "optional": true
        },
        {
          "name": "quote_token_program",
          "docs": [
            "SPL Token or Token-2022, the program of quote_mint."
          ],
          "optional": true
        }
      ],
      "args": [
        {
          "name": "amount",
          "type": "u64"
        },
        {
          "name": "min_sol_output",
          "type": "u64"
        }
      ]
    },
    {
      "name": "migrate",
      "docs": [
        "Permissionless crank once the curve is sold out: creates a Raydium CPMM pool (config 0,",
        "0.25% fee) at PDA([\"pool\", mint]) of this program, at the curve final price. The LP splits by",
        "the creator's holders_bps: the holders' share is burned, the creator's share is locked forever",
        "with Raydium's locking program and its Fee Key NFT (mint PDA([\"fee_key\", mint])) goes to the",
        "creator. Graduation bonus: the creator's share of 0.5 SOL. Platform fees go to fee_recipient,",
        "every other lamport to the creator. 36 accounts: send as a v0 transaction with an address",
        "lookup table. token_0/token_1 = mint and WSOL sorted by address.",
        "A curve priced in another token: wsol_mint is the quote mint, authority_wsol the authority's",
        "account of it, payer must be writable (it funds the pool's SOL costs and gets the rest back);",
        "append quote_vault, quote_token_program and the existing quote ATAs of fee_recipient and creator."
      ],
      "discriminator": [
        155,
        234,
        231,
        146,
        236,
        158,
        162,
        30
      ],
      "accounts": [
        {
          "name": "payer",
          "signer": true
        },
        {
          "name": "global",
          "address": "2bMNmWYLdtZ3epni6SLdD4bXPBnLyUUveP8wMLqp3sof"
        },
        {
          "name": "fee_recipient",
          "writable": true
        },
        {
          "name": "creator",
          "writable": true
        },
        {
          "name": "mint",
          "writable": true
        },
        {
          "name": "curve",
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  99,
                  117,
                  114,
                  118,
                  101
                ]
              },
              {
                "kind": "account",
                "path": "mint"
              }
            ]
          }
        },
        {
          "name": "vault",
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "account",
                "path": "curve"
              },
              {
                "kind": "const",
                "value": [
                  6,
                  221,
                  246,
                  225,
                  238,
                  117,
                  143,
                  222,
                  24,
                  66,
                  93,
                  188,
                  228,
                  108,
                  205,
                  218,
                  182,
                  26,
                  252,
                  77,
                  131,
                  185,
                  13,
                  39,
                  254,
                  189,
                  249,
                  40,
                  216,
                  161,
                  139,
                  252
                ]
              },
              {
                "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": "migration_authority",
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  109,
                  105,
                  103,
                  114,
                  97,
                  116,
                  105,
                  111,
                  110
                ]
              },
              {
                "kind": "account",
                "path": "mint"
              }
            ]
          }
        },
        {
          "name": "authority_token",
          "writable": true
        },
        {
          "name": "authority_wsol",
          "writable": true
        },
        {
          "name": "authority_lp",
          "writable": true
        },
        {
          "name": "wsol_mint",
          "address": "So11111111111111111111111111111111111111112"
        },
        {
          "name": "cpmm_program",
          "address": "CPMMoo8L3F4NbTegBCKVNunggL7H1ZpdTHKxQB5qKP1C"
        },
        {
          "name": "amm_config",
          "address": "D4FPEruKEHrG5TenZ2mpDGEfu1iUvTiqBxvpU8HLBvC2"
        },
        {
          "name": "cpmm_authority",
          "address": "GpMZbSM2GgvTKHJirzeGfMFoaZ8UR2X7F4v8vHTvxFbL"
        },
        {
          "name": "pool_state",
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  112,
                  111,
                  111,
                  108
                ]
              },
              {
                "kind": "account",
                "path": "mint"
              }
            ]
          }
        },
        {
          "name": "lp_mint",
          "writable": true
        },
        {
          "name": "token_0_vault",
          "writable": true
        },
        {
          "name": "token_1_vault",
          "writable": true
        },
        {
          "name": "create_pool_fee",
          "writable": true,
          "address": "DNXgeM9EiiaAbaWvwjHj9fQQLAX5ZsfHyvmYUNRAdNC8"
        },
        {
          "name": "observation_state",
          "writable": true
        },
        {
          "name": "spl_token_program",
          "address": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"
        },
        {
          "name": "token_program",
          "address": "TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb"
        },
        {
          "name": "associated_token_program",
          "address": "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL"
        },
        {
          "name": "system_program",
          "address": "11111111111111111111111111111111"
        },
        {
          "name": "rent",
          "address": "SysvarRent111111111111111111111111111111111"
        },
        {
          "name": "event_authority",
          "address": "3vMWqk1Lk9BEhuqUfSSE8ebZx6t6zD7WjDjK9PwABLLK"
        },
        {
          "name": "program",
          "address": "A5ZL2dp9ura1wk7w8EwQcnqnNcy6HAwLxmH3aXgFUbjw"
        },
        {
          "name": "lock_program",
          "address": "LockrWmn6K5twhz3y9w1dQERbmgSaRkfnTeTKbpofwE"
        },
        {
          "name": "lock_authority",
          "address": "3f7GcQFG397GAaEnv51zR6tsTVihYRydnydDD1cXekxH"
        },
        {
          "name": "fee_key_mint",
          "docs": [
            "Fee Key NFT mint (created by the locking program; unused if holders_bps = 10000)."
          ],
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  102,
                  101,
                  101,
                  95,
                  107,
                  101,
                  121
                ]
              },
              {
                "kind": "account",
                "path": "mint"
              }
            ]
          }
        },
        {
          "name": "fee_key_account",
          "docs": [
            "ATA(creator, fee_key_mint, SPL Token)."
          ],
          "writable": true
        },
        {
          "name": "locked_liquidity",
          "docs": [
            "PDA([\"locked_liquidity\", fee_key_mint]) of the locking program."
          ],
          "writable": true
        },
        {
          "name": "locked_lp_vault",
          "docs": [
            "ATA(lock_authority, lp_mint, SPL Token)."
          ],
          "writable": true
        },
        {
          "name": "metadata_account",
          "docs": [
            "Metaplex metadata PDA of fee_key_mint (not created)."
          ],
          "writable": true
        },
        {
          "name": "metadata_program",
          "address": "metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s"
        },
        {
          "name": "quote_vault",
          "docs": [
            "Only for a curve priced in another token (curve.version 2)."
          ],
          "writable": true,
          "optional": true
        },
        {
          "name": "quote_token_program",
          "optional": true
        },
        {
          "name": "fee_recipient_quote",
          "docs": [
            "ATA(fee_recipient, quote_mint); must exist."
          ],
          "writable": true,
          "optional": true
        },
        {
          "name": "creator_quote",
          "docs": [
            "ATA(creator, quote_mint); must exist."
          ],
          "writable": true,
          "optional": true
        },
        {
          "name": "payer_quote",
          "docs": [
            "ATA(payer, quote_mint); must exist. Gets the migration fee: the cranker paid the pool's SOL costs."
          ],
          "writable": true,
          "optional": true
        }
      ],
      "args": []
    },
    {
      "name": "claim_fees",
      "docs": [
        "Permissionless; platform fees go only to global.fee_recipient."
      ],
      "discriminator": [
        82,
        251,
        233,
        156,
        12,
        52,
        184,
        202
      ],
      "accounts": [
        {
          "name": "global",
          "address": "2bMNmWYLdtZ3epni6SLdD4bXPBnLyUUveP8wMLqp3sof"
        },
        {
          "name": "curve",
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  99,
                  117,
                  114,
                  118,
                  101
                ]
              },
              {
                "kind": "account",
                "path": "mint"
              }
            ]
          }
        },
        {
          "name": "fee_recipient",
          "writable": true
        },
        {
          "name": "mint"
        },
        {
          "name": "quote_mint",
          "docs": [
            "Only for a curve priced in another token (curve.version 2)."
          ],
          "optional": true
        },
        {
          "name": "quote_vault",
          "writable": true,
          "optional": true
        },
        {
          "name": "fee_recipient_quote",
          "docs": [
            "The fee recipient's account of quote_mint."
          ],
          "writable": true,
          "optional": true
        },
        {
          "name": "quote_token_program",
          "optional": true
        }
      ],
      "args": []
    },
    {
      "name": "claim_creator_fees",
      "docs": [
        "Permissionless; the creator fee (0.35% of every trade) goes only to the creator recorded in the curve.",
        "Whatever is left unclaimed is paid to the creator by migrate."
      ],
      "discriminator": [
        0,
        23,
        125,
        234,
        156,
        118,
        134,
        89
      ],
      "accounts": [
        {
          "name": "curve",
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  99,
                  117,
                  114,
                  118,
                  101
                ]
              },
              {
                "kind": "account",
                "path": "mint"
              }
            ]
          }
        },
        {
          "name": "creator",
          "writable": true
        },
        {
          "name": "mint"
        },
        {
          "name": "quote_mint",
          "docs": [
            "Only for a curve priced in another token (curve.version 2)."
          ],
          "optional": true
        },
        {
          "name": "quote_vault",
          "writable": true,
          "optional": true
        },
        {
          "name": "creator_quote",
          "docs": [
            "The creator's account of quote_mint."
          ],
          "writable": true,
          "optional": true
        },
        {
          "name": "quote_token_program",
          "optional": true
        }
      ],
      "args": []
    },
    {
      "name": "set_quote_registrar",
      "docs": [
        "The authority names a second key allowed to register quote tokens (all-zero: none)."
      ],
      "discriminator": [
        44,
        117,
        136,
        103,
        198,
        109,
        202,
        117
      ],
      "accounts": [
        {
          "name": "authority",
          "writable": true,
          "signer": true
        },
        {
          "name": "global",
          "address": "2bMNmWYLdtZ3epni6SLdD4bXPBnLyUUveP8wMLqp3sof"
        },
        {
          "name": "quote_registrar",
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  113,
                  117,
                  111,
                  116,
                  101,
                  95,
                  114,
                  101,
                  103,
                  105,
                  115,
                  116,
                  114,
                  97,
                  114
                ]
              }
            ]
          }
        },
        {
          "name": "system_program",
          "address": "11111111111111111111111111111111"
        }
      ],
      "args": [
        {
          "name": "registrar",
          "type": "pubkey"
        }
      ]
    },
    {
      "name": "register_quote",
      "docs": [
        "Authority or registrar: create or update the registry entry of a quote token. The mint is audited",
        "on chain (SPL Token, or Token-2022 with only InterestBearing / MetadataPointer / TokenMetadata /",
        "ScaledUiAmount; never wrapped SOL). Amounts are in quote atoms; changes apply only to new curves."
      ],
      "discriminator": [
        112,
        28,
        3,
        98,
        79,
        98,
        164,
        207
      ],
      "accounts": [
        {
          "name": "signer",
          "writable": true,
          "signer": true
        },
        {
          "name": "global",
          "address": "2bMNmWYLdtZ3epni6SLdD4bXPBnLyUUveP8wMLqp3sof"
        },
        {
          "name": "quote_registrar",
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  113,
                  117,
                  111,
                  116,
                  101,
                  95,
                  114,
                  101,
                  103,
                  105,
                  115,
                  116,
                  114,
                  97,
                  114
                ]
              }
            ]
          }
        },
        {
          "name": "quote_config",
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  113,
                  117,
                  111,
                  116,
                  101
                ]
              },
              {
                "kind": "account",
                "path": "quote_mint"
              }
            ]
          }
        },
        {
          "name": "quote_mint"
        },
        {
          "name": "system_program",
          "address": "11111111111111111111111111111111"
        }
      ],
      "args": [
        {
          "name": "initial_virtual",
          "type": "u64"
        },
        {
          "name": "migration_fee",
          "type": "u64"
        },
        {
          "name": "graduation_bonus",
          "type": "u64"
        },
        {
          "name": "enabled",
          "type": "bool"
        }
      ]
    }
  ],
  "accounts": [
    {
      "name": "Curve",
      "discriminator": [
        191,
        180,
        249,
        66,
        180,
        71,
        51,
        182
      ]
    },
    {
      "name": "Global",
      "discriminator": [
        167,
        232,
        232,
        177,
        200,
        108,
        114,
        127
      ]
    },
    {
      "name": "QuoteConfig",
      "discriminator": [
        212,
        148,
        253,
        35,
        84,
        28,
        182,
        112
      ]
    },
    {
      "name": "QuoteRegistrar",
      "discriminator": [
        22,
        29,
        82,
        43,
        8,
        108,
        113,
        63
      ]
    }
  ],
  "events": [
    {
      "name": "CompleteEvent",
      "discriminator": [
        95,
        114,
        97,
        156,
        212,
        46,
        152,
        8
      ]
    },
    {
      "name": "CreateEvent",
      "discriminator": [
        27,
        114,
        169,
        77,
        222,
        235,
        99,
        118
      ]
    },
    {
      "name": "CreatorFeesClaimedEvent",
      "discriminator": [
        40,
        137,
        200,
        40,
        154,
        133,
        234,
        251
      ]
    },
    {
      "name": "FeesClaimedEvent",
      "discriminator": [
        69,
        22,
        213,
        206,
        103,
        202,
        98,
        163
      ]
    },
    {
      "name": "GlobalUpdatedEvent",
      "discriminator": [
        238,
        115,
        218,
        227,
        170,
        114,
        63,
        209
      ]
    },
    {
      "name": "MigrateEvent",
      "discriminator": [
        216,
        175,
        231,
        95,
        45,
        98,
        108,
        21
      ]
    },
    {
      "name": "QuoteRegisteredEvent",
      "discriminator": [
        43,
        204,
        15,
        2,
        192,
        131,
        124,
        54
      ]
    },
    {
      "name": "TradeEvent",
      "discriminator": [
        189,
        219,
        127,
        211,
        78,
        230,
        97,
        238
      ]
    }
  ],
  "errors": [
    {
      "code": 6000,
      "name": "Unauthorized",
      "msg": "Unauthorized"
    },
    {
      "code": 6001,
      "name": "NoPendingAuthority",
      "msg": "No pending authority"
    },
    {
      "code": 6002,
      "name": "FeeTooHigh",
      "msg": "Fee too high"
    },
    {
      "code": 6003,
      "name": "MigrationFeeTooHigh",
      "msg": "Migration fee too high"
    },
    {
      "code": 6004,
      "name": "InvalidCurveConfig",
      "msg": "Invalid curve config"
    },
    {
      "code": 6005,
      "name": "CreatePaused",
      "msg": "Create paused"
    },
    {
      "code": 6006,
      "name": "InvalidName",
      "msg": "Invalid name"
    },
    {
      "code": 6007,
      "name": "InvalidSymbol",
      "msg": "Invalid symbol"
    },
    {
      "code": 6008,
      "name": "InvalidUri",
      "msg": "Invalid uri"
    },
    {
      "code": 6009,
      "name": "ZeroAmount",
      "msg": "Zero amount"
    },
    {
      "code": 6010,
      "name": "InsufficientInventory",
      "msg": "Insufficient inventory"
    },
    {
      "code": 6011,
      "name": "NotOutstanding",
      "msg": "Not outstanding"
    },
    {
      "code": 6012,
      "name": "InsufficientRealSol",
      "msg": "Insufficient real sol"
    },
    {
      "code": 6013,
      "name": "SlippageExceeded",
      "msg": "Slippage exceeded"
    },
    {
      "code": 6014,
      "name": "MathOverflow",
      "msg": "Math overflow"
    },
    {
      "code": 6015,
      "name": "InvalidCurveState",
      "msg": "Invalid curve state"
    },
    {
      "code": 6016,
      "name": "AmountTooSmall",
      "msg": "Amount too small"
    },
    {
      "code": 6017,
      "name": "CurveNotComplete",
      "msg": "Curve not complete"
    },
    {
      "code": 6018,
      "name": "MigrationUnfunded",
      "msg": "Migration unfunded"
    },
    {
      "code": 6019,
      "name": "AlreadyMigrated",
      "msg": "Already migrated"
    },
    {
      "code": 6020,
      "name": "CpiForbidden",
      "msg": "Cpi forbidden"
    },
    {
      "code": 6021,
      "name": "NotDirectTrade",
      "msg": "Not direct trade"
    },
    {
      "code": 6022,
      "name": "MultipleMarketOperations",
      "msg": "Multiple market operations"
    },
    {
      "code": 6023,
      "name": "SiblingProgramForbidden",
      "msg": "Sibling program forbidden"
    },
    {
      "code": 6024,
      "name": "ComputeBudgetInstruction",
      "msg": "Compute budget instruction"
    },
    {
      "code": 6025,
      "name": "AtaInstruction",
      "msg": "Ata instruction"
    },
    {
      "code": 6026,
      "name": "SystemInstruction",
      "msg": "System instruction"
    },
    {
      "code": 6027,
      "name": "SysvarMalformed",
      "msg": "Sysvar malformed"
    },
    {
      "code": 6028,
      "name": "MarkerWritable",
      "msg": "Marker writable"
    },
    {
      "code": 6029,
      "name": "TokenAccountDelegated",
      "msg": "Token account delegated"
    },
    {
      "code": 6030,
      "name": "TokenAccountCloseAuthority",
      "msg": "Token account close authority"
    },
    {
      "code": 6031,
      "name": "TokenAccountFrozen",
      "msg": "Token account frozen"
    },
    {
      "code": 6032,
      "name": "VaultBalanceMismatch",
      "msg": "Vault balance mismatch"
    },
    {
      "code": 6033,
      "name": "SolBalanceMismatch",
      "msg": "Sol balance mismatch"
    },
    {
      "code": 6034,
      "name": "NothingToClaim",
      "msg": "Nothing to claim"
    },
    {
      "code": 6035,
      "name": "InvalidInstruction",
      "msg": "Invalid instruction"
    },
    {
      "code": 6036,
      "name": "InvalidAccount",
      "msg": "Invalid account"
    },
    {
      "code": 6037,
      "name": "MissingSigner",
      "msg": "Missing signer"
    },
    {
      "code": 6038,
      "name": "AccountNotWritable",
      "msg": "Account not writable"
    },
    {
      "code": 6039,
      "name": "InvalidProgram",
      "msg": "Invalid program"
    },
    {
      "code": 6040,
      "name": "InvalidMarker",
      "msg": "Invalid marker"
    },
    {
      "code": 6041,
      "name": "WrongFeeRecipient",
      "msg": "Wrong fee recipient"
    },
    {
      "code": 6042,
      "name": "InvalidTokenAccount",
      "msg": "Invalid token account"
    },
    {
      "code": 6043,
      "name": "AlreadyInitialized",
      "msg": "Already initialized"
    },
    {
      "code": 6044,
      "name": "PoolConfigRejected",
      "msg": "Pool config rejected"
    },
    {
      "code": 6045,
      "name": "CurveComplete",
      "msg": "Curve complete"
    },
    {
      "code": 6046,
      "name": "WrongCreator",
      "msg": "Wrong creator"
    },
    {
      "code": 6047,
      "name": "InvalidHoldersShare",
      "msg": "Invalid holders share"
    },
    {
      "code": 6048,
      "name": "InvalidFeeTo",
      "msg": "Invalid fee to"
    },
    {
      "code": 6049,
      "name": "InvalidQuote",
      "msg": "Invalid quote"
    },
    {
      "code": 6050,
      "name": "UnsupportedQuoteMint",
      "msg": "Unsupported quote mint"
    },
    {
      "code": 6051,
      "name": "InvalidQuoteParams",
      "msg": "Invalid quote params"
    }
  ],
  "types": [
    {
      "name": "GlobalParams",
      "type": {
        "kind": "struct",
        "fields": [
          {
            "name": "fee_recipient",
            "type": "pubkey"
          },
          {
            "name": "fee_ppm",
            "type": "u32"
          },
          {
            "name": "migration_fee",
            "type": "u64"
          },
          {
            "name": "create_paused",
            "type": "bool"
          }
        ]
      },
      "docs": [
        "fee_ppm: platform fee in parts per million (1000 = 0.10%), hard cap 1000. The creator fee",
        "(3500 = 0.35%) is fixed in the program; trades pay both."
      ]
    },
    {
      "name": "CreateArgs",
      "type": {
        "kind": "struct",
        "fields": [
          {
            "name": "name",
            "type": "string"
          },
          {
            "name": "symbol",
            "type": "string"
          },
          {
            "name": "uri",
            "type": "string"
          },
          {
            "name": "initial_buy_sol",
            "type": "u64"
          },
          {
            "name": "min_tokens_out",
            "type": "u64"
          },
          {
            "name": "holders_bps",
            "type": "u16"
          },
          {
            "name": "fee_to",
            "type": {
              "option": "pubkey"
            }
          },
          {
            "name": "quote_mint",
            "type": {
              "option": "pubkey"
            }
          }
        ]
      },
      "docs": [
        "holders_bps: the creator's choice, fixed for the token's life: this share (of 10000) of the",
        "creator fee buys tokens back inside every trade for the holders; the rest goes to the creator.",
        "fee_to (optional, may be omitted entirely): the wallet that gets the creator's fees, graduation",
        "bonus and Fee Key NFT instead of the signer (stored as curve.creator); pass it as the last account.",
        "quote_mint (optional, needs the fee_to option byte before it): a registered token the curve is",
        "priced in; initial_buy_sol / min_tokens_out are then in its atoms."
      ]
    },
    {
      "name": "Global",
      "type": {
        "kind": "struct",
        "fields": [
          {
            "name": "authority",
            "type": "pubkey"
          },
          {
            "name": "pending_authority",
            "type": "pubkey"
          },
          {
            "name": "fee_recipient",
            "type": "pubkey"
          },
          {
            "name": "fee_ppm",
            "type": "u32"
          },
          {
            "name": "migration_fee",
            "type": "u64"
          },
          {
            "name": "create_paused",
            "type": "bool"
          },
          {
            "name": "bump",
            "type": "u8"
          }
        ]
      }
    },
    {
      "name": "Curve",
      "type": {
        "kind": "struct",
        "fields": [
          {
            "name": "creator",
            "type": "pubkey"
          },
          {
            "name": "real_sol",
            "type": "u64"
          },
          {
            "name": "real_token",
            "type": "u64"
          },
          {
            "name": "fees_unclaimed",
            "type": "u64"
          },
          {
            "name": "migration_fee",
            "type": "u64"
          },
          {
            "name": "fee_ppm",
            "type": "u32"
          },
          {
            "name": "version",
            "type": "u8"
          },
          {
            "name": "bump",
            "type": "u8"
          },
          {
            "name": "vault_bump",
            "type": "u8"
          },
          {
            "name": "flags",
            "type": "u8"
          },
          {
            "name": "creator_fee_ppm",
            "type": "u32"
          },
          {
            "name": "creator_fees_unclaimed",
            "type": "u64"
          },
          {
            "name": "holders_bps",
            "type": "u16"
          }
        ]
      },
      "docs": [
        "Virtual reserves: virtual_sol = 30e9 + real_sol, virtual_token = 279.9e12 + real_token (curve v1).",
        "version 2 (priced in a quote token) appends QuoteInfo (51 bytes): virtual_sol = quote.initial_virtual",
        "+ real_sol and every \"sol\" amount is in quote atoms.",
        "Trades are priced with fee_ppm + creator_fee_ppm; each fee is split: creator share rounds down,",
        "the platform keeps the remainder; holders_bps of the creator share buys tokens back at once."
      ]
    },
    {
      "name": "CreateEvent",
      "type": {
        "kind": "struct",
        "fields": [
          {
            "name": "mint",
            "type": "pubkey"
          },
          {
            "name": "curve",
            "type": "pubkey"
          },
          {
            "name": "creator",
            "type": "pubkey"
          },
          {
            "name": "name",
            "type": "string"
          },
          {
            "name": "symbol",
            "type": "string"
          },
          {
            "name": "uri",
            "type": "string"
          },
          {
            "name": "virtual_sol",
            "type": "u64"
          },
          {
            "name": "virtual_token",
            "type": "u64"
          },
          {
            "name": "real_token",
            "type": "u64"
          },
          {
            "name": "total_supply",
            "type": "u64"
          },
          {
            "name": "fee_ppm",
            "type": "u32"
          },
          {
            "name": "timestamp",
            "type": "i64"
          },
          {
            "name": "creator_fee_ppm",
            "type": "u32"
          },
          {
            "name": "holders_bps",
            "type": "u16"
          },
          {
            "name": "fee_to",
            "type": "pubkey"
          },
          {
            "name": "quote_mint",
            "type": "pubkey"
          }
        ]
      },
      "docs": [
        "creator: the signer who launched; fee_to: who gets the creator's money (= creator unless set);",
        "quote_mint: what the curve is priced in (wrapped SOL's mint for a SOL curve)."
      ]
    },
    {
      "name": "QuoteInfo",
      "type": {
        "kind": "struct",
        "fields": [
          {
            "name": "mint",
            "type": "pubkey"
          },
          {
            "name": "initial_virtual",
            "type": "u64"
          },
          {
            "name": "graduation_bonus",
            "type": "u64"
          },
          {
            "name": "decimals",
            "type": "u8"
          },
          {
            "name": "token_2022",
            "type": "u8"
          },
          {
            "name": "vault_bump",
            "type": "u8"
          }
        ]
      },
      "docs": [
        "Appended to a version-2 Curve: its quote token, snapshotted from QuoteConfig at creation."
      ]
    },
    {
      "name": "QuoteConfig",
      "type": {
        "kind": "struct",
        "fields": [
          {
            "name": "mint",
            "type": "pubkey"
          },
          {
            "name": "decimals",
            "type": "u8"
          },
          {
            "name": "token_2022",
            "type": "bool"
          },
          {
            "name": "enabled",
            "type": "bool"
          },
          {
            "name": "bump",
            "type": "u8"
          },
          {
            "name": "initial_virtual",
            "type": "u64"
          },
          {
            "name": "migration_fee",
            "type": "u64"
          },
          {
            "name": "graduation_bonus",
            "type": "u64"
          }
        ]
      },
      "docs": [
        "PDA([\"quote\", mint]). Amounts in quote atoms; snapshotted into each new curve."
      ]
    },
    {
      "name": "QuoteRegistrar",
      "type": {
        "kind": "struct",
        "fields": [
          {
            "name": "registrar",
            "type": "pubkey"
          },
          {
            "name": "bump",
            "type": "u8"
          }
        ]
      }
    },
    {
      "name": "QuoteRegisteredEvent",
      "type": {
        "kind": "struct",
        "fields": [
          {
            "name": "mint",
            "type": "pubkey"
          },
          {
            "name": "signer",
            "type": "pubkey"
          },
          {
            "name": "initial_virtual",
            "type": "u64"
          },
          {
            "name": "migration_fee",
            "type": "u64"
          },
          {
            "name": "graduation_bonus",
            "type": "u64"
          },
          {
            "name": "enabled",
            "type": "bool"
          }
        ]
      }
    },
    {
      "name": "TradeEvent",
      "type": {
        "kind": "struct",
        "fields": [
          {
            "name": "mint",
            "type": "pubkey"
          },
          {
            "name": "user",
            "type": "pubkey"
          },
          {
            "name": "is_buy",
            "type": "bool"
          },
          {
            "name": "token_amount",
            "type": "u64"
          },
          {
            "name": "sol_amount",
            "type": "u64"
          },
          {
            "name": "reserve_sol",
            "type": "u64"
          },
          {
            "name": "fee",
            "type": "u64"
          },
          {
            "name": "virtual_sol",
            "type": "u64"
          },
          {
            "name": "virtual_token",
            "type": "u64"
          },
          {
            "name": "real_sol",
            "type": "u64"
          },
          {
            "name": "real_token",
            "type": "u64"
          },
          {
            "name": "timestamp",
            "type": "i64"
          },
          {
            "name": "creator_fee",
            "type": "u64"
          },
          {
            "name": "holders_fee",
            "type": "u64"
          },
          {
            "name": "buyback_tokens",
            "type": "u64"
          }
        ]
      },
      "docs": [
        "fee: total charged (platform + creator + holders); creator_fee / holders_fee: their parts of it;",
        "holders_fee bought buyback_tokens out of circulation. Reserves are after the buyback."
      ]
    },
    {
      "name": "CreatorFeesClaimedEvent",
      "type": {
        "kind": "struct",
        "fields": [
          {
            "name": "mint",
            "type": "pubkey"
          },
          {
            "name": "creator",
            "type": "pubkey"
          },
          {
            "name": "amount",
            "type": "u64"
          }
        ]
      }
    },
    {
      "name": "CompleteEvent",
      "type": {
        "kind": "struct",
        "fields": [
          {
            "name": "mint",
            "type": "pubkey"
          },
          {
            "name": "curve",
            "type": "pubkey"
          },
          {
            "name": "real_sol",
            "type": "u64"
          },
          {
            "name": "timestamp",
            "type": "i64"
          }
        ]
      }
    },
    {
      "name": "MigrateEvent",
      "type": {
        "kind": "struct",
        "fields": [
          {
            "name": "mint",
            "type": "pubkey"
          },
          {
            "name": "pool",
            "type": "pubkey"
          },
          {
            "name": "creator",
            "type": "pubkey"
          },
          {
            "name": "token_amount",
            "type": "u64"
          },
          {
            "name": "sol_amount",
            "type": "u64"
          },
          {
            "name": "tokens_burned",
            "type": "u64"
          },
          {
            "name": "lp_burned",
            "type": "u64"
          },
          {
            "name": "create_pool_fee",
            "type": "u64"
          },
          {
            "name": "migration_fee",
            "type": "u64"
          },
          {
            "name": "timestamp",
            "type": "i64"
          },
          {
            "name": "lp_locked",
            "type": "u64"
          },
          {
            "name": "creator_bonus",
            "type": "u64"
          },
          {
            "name": "fee_key_mint",
            "type": "pubkey"
          },
          {
            "name": "quote_mint",
            "type": "pubkey"
          }
        ]
      },
      "docs": [
        "lp_burned: the holders' LP share; lp_locked: the creator's, locked with the Fee Key NFT",
        "fee_key_mint (meaningful only if lp_locked > 0); creator_bonus: paid to the creator."
      ]
    },
    {
      "name": "FeesClaimedEvent",
      "type": {
        "kind": "struct",
        "fields": [
          {
            "name": "mint",
            "type": "pubkey"
          },
          {
            "name": "recipient",
            "type": "pubkey"
          },
          {
            "name": "amount",
            "type": "u64"
          }
        ]
      }
    },
    {
      "name": "GlobalUpdatedEvent",
      "type": {
        "kind": "struct",
        "fields": [
          {
            "name": "authority",
            "type": "pubkey"
          },
          {
            "name": "fee_recipient",
            "type": "pubkey"
          },
          {
            "name": "fee_ppm",
            "type": "u32"
          },
          {
            "name": "create_paused",
            "type": "bool"
          }
        ]
      }
    }
  ]
}
