{
  "address": "jeettQ2PcCibGnMdboHrJ8PY4CYQv3tzPjMHwEwnii1",
  "metadata": {
    "name": "jeet_tax",
    "version": "0.1.0",
    "spec": "0.1.0",
    "description": "jeet.tax \u2014 the launchpad that taxes bundlers and jeets"
  },
  "instructions": [
    {
      "name": "add_wl",
      "discriminator": [
        191,
        132,
        118,
        119,
        113,
        82,
        255,
        138
      ],
      "accounts": [
        {
          "name": "global",
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  103,
                  108,
                  111,
                  98,
                  97,
                  108
                ]
              }
            ]
          }
        },
        {
          "name": "whitelist",
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  119,
                  108,
                  45,
                  115,
                  101,
                  101,
                  100
                ]
              },
              {
                "kind": "arg",
                "path": "new_creator"
              }
            ]
          }
        },
        {
          "name": "admin",
          "writable": true,
          "signer": true
        },
        {
          "name": "system_program",
          "address": "11111111111111111111111111111111"
        }
      ],
      "args": [
        {
          "name": "new_creator",
          "type": "pubkey"
        }
      ]
    },
    {
      "name": "burn_treasury",
      "docs": [
        "Burn treasury-held buyback/tax tokens for a mint (admin only).",
        "Buybacks themselves run automatically inside ATH sells."
      ],
      "discriminator": [
        28,
        51,
        163,
        227,
        28,
        113,
        228,
        208
      ],
      "accounts": [
        {
          "name": "admin",
          "docs": [
            "Admin who can record treasury-held tokens."
          ],
          "writable": true,
          "signer": true
        },
        {
          "name": "global",
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  103,
                  108,
                  111,
                  98,
                  97,
                  108
                ]
              }
            ]
          }
        },
        {
          "name": "mint",
          "writable": true
        },
        {
          "name": "treasury_pda",
          "docs": [
            "Treasury PDA"
          ],
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  116,
                  114,
                  101,
                  97,
                  115,
                  117,
                  114,
                  121,
                  45,
                  98,
                  117,
                  121,
                  98,
                  97,
                  99,
                  107
                ]
              },
              {
                "kind": "account",
                "path": "mint"
              }
            ]
          }
        },
        {
          "name": "treasury_token_account",
          "docs": [
            "Treasury token account holding ATH-taxed tokens."
          ],
          "pda": {
            "seeds": [
              {
                "kind": "account",
                "path": "treasury_pda"
              },
              {
                "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
              ]
            }
          },
          "writable": true
        },
        {
          "name": "token_program",
          "address": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"
        },
        {
          "name": "event_authority",
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  95,
                  95,
                  101,
                  118,
                  101,
                  110,
                  116,
                  95,
                  97,
                  117,
                  116,
                  104,
                  111,
                  114,
                  105,
                  116,
                  121
                ]
              }
            ]
          }
        },
        {
          "name": "program"
        }
      ],
      "args": [
        {
          "name": "params",
          "type": {
            "defined": {
              "name": "BurnTreasuryParams"
            }
          }
        }
      ]
    },
    {
      "name": "claim_creator_fees",
      "docs": [
        "Allow creator to claim their accumulated fees"
      ],
      "discriminator": [
        0,
        23,
        125,
        234,
        156,
        118,
        134,
        89
      ],
      "accounts": [
        {
          "name": "creator",
          "writable": true,
          "signer": true
        },
        {
          "name": "global",
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  103,
                  108,
                  111,
                  98,
                  97,
                  108
                ]
              }
            ]
          }
        },
        {
          "name": "mint"
        },
        {
          "name": "bonding_curve",
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  98,
                  111,
                  110,
                  100,
                  105,
                  110,
                  103,
                  45,
                  99,
                  117,
                  114,
                  118,
                  101
                ]
              },
              {
                "kind": "account",
                "path": "mint"
              }
            ]
          }
        },
        {
          "name": "system_program",
          "address": "11111111111111111111111111111111"
        },
        {
          "name": "event_authority",
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  95,
                  95,
                  101,
                  118,
                  101,
                  110,
                  116,
                  95,
                  97,
                  117,
                  116,
                  104,
                  111,
                  114,
                  105,
                  116,
                  121
                ]
              }
            ]
          }
        },
        {
          "name": "program"
        }
      ],
      "args": []
    },
    {
      "name": "claim_referral_fees",
      "docs": [
        "Claim accumulated referral fees"
      ],
      "discriminator": [
        208,
        216,
        137,
        78,
        36,
        103,
        162,
        49
      ],
      "accounts": [
        {
          "name": "user",
          "writable": true,
          "signer": true
        },
        {
          "name": "global",
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  103,
                  108,
                  111,
                  98,
                  97,
                  108
                ]
              }
            ]
          }
        },
        {
          "name": "referral_account",
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  114,
                  101,
                  102,
                  101,
                  114,
                  114,
                  97,
                  108
                ]
              },
              {
                "kind": "account",
                "path": "user"
              }
            ]
          }
        },
        {
          "name": "system_program",
          "address": "11111111111111111111111111111111"
        },
        {
          "name": "event_authority",
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  95,
                  95,
                  101,
                  118,
                  101,
                  110,
                  116,
                  95,
                  97,
                  117,
                  116,
                  104,
                  111,
                  114,
                  105,
                  116,
                  121
                ]
              }
            ]
          }
        },
        {
          "name": "program"
        }
      ],
      "args": []
    },
    {
      "name": "create_bonding_curve",
      "discriminator": [
        94,
        139,
        158,
        50,
        69,
        95,
        8,
        45
      ],
      "accounts": [
        {
          "name": "mint",
          "writable": true,
          "signer": true
        },
        {
          "name": "creator",
          "writable": true,
          "signer": true
        },
        {
          "name": "bonding_curve",
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  98,
                  111,
                  110,
                  100,
                  105,
                  110,
                  103,
                  45,
                  99,
                  117,
                  114,
                  118,
                  101
                ]
              },
              {
                "kind": "account",
                "path": "mint"
              }
            ]
          }
        },
        {
          "name": "bonding_curve_token_account",
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "account",
                "path": "bonding_curve"
              },
              {
                "kind": "const",
                "value": [
                  6,
                  221,
                  246,
                  225,
                  215,
                  101,
                  161,
                  147,
                  217,
                  203,
                  225,
                  70,
                  206,
                  235,
                  121,
                  172,
                  28,
                  180,
                  133,
                  237,
                  95,
                  91,
                  55,
                  145,
                  58,
                  140,
                  245,
                  133,
                  126,
                  255,
                  0,
                  169
                ]
              },
              {
                "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": "whitelist",
          "optional": true,
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  119,
                  108,
                  45,
                  115,
                  101,
                  101,
                  100
                ]
              },
              {
                "kind": "account",
                "path": "creator"
              }
            ]
          }
        },
        {
          "name": "treasury_pda",
          "docs": [
            "Treasury PDA for holding ATH-taxed tokens.",
            "Seeds: [\"treasury-buyback\", mint]"
          ],
          "writable": false,
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  116,
                  114,
                  101,
                  97,
                  115,
                  117,
                  114,
                  121,
                  45,
                  98,
                  117,
                  121,
                  98,
                  97,
                  99,
                  107
                ]
              },
              {
                "kind": "account",
                "path": "mint"
              }
            ]
          }
        },
        {
          "name": "treasury_token_account",
          "docs": [
            "Treasury token account for receiving ATH-taxed tokens.",
            "Created by the program if it doesn't exist"
          ],
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "account",
                "path": "treasury_pda"
              },
              {
                "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": "metadata",
          "writable": true
        },
        {
          "name": "system_program"
        },
        {
          "name": "token_program",
          "address": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"
        },
        {
          "name": "associated_token_program"
        },
        {
          "name": "token_metadata_program"
        },
        {
          "name": "rent"
        },
        {
          "name": "event_authority",
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  95,
                  95,
                  101,
                  118,
                  101,
                  110,
                  116,
                  95,
                  97,
                  117,
                  116,
                  104,
                  111,
                  114,
                  105,
                  116,
                  121
                ]
              }
            ]
          }
        },
        {
          "name": "program"
        }
      ],
      "args": [
        {
          "name": "params",
          "type": {
            "defined": {
              "name": "CreateBondingCurveParams"
            }
          }
        }
      ]
    },
    {
      "name": "create_pool",
      "discriminator": [
        233,
        146,
        209,
        142,
        207,
        104,
        64,
        188
      ],
      "accounts": [
        {
          "name": "global",
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  103,
                  108,
                  111,
                  98,
                  97,
                  108
                ]
              }
            ]
          }
        },
        {
          "name": "bonding_curve",
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  98,
                  111,
                  110,
                  100,
                  105,
                  110,
                  103,
                  45,
                  99,
                  117,
                  114,
                  118,
                  101
                ]
              },
              {
                "kind": "account",
                "path": "token_b_mint"
              }
            ]
          }
        },
        {
          "name": "migration_vault",
          "writable": true
        },
        {
          "name": "pool",
          "writable": true
        },
        {
          "name": "config"
        },
        {
          "name": "lp_mint",
          "writable": true
        },
        {
          "name": "a_vault_lp",
          "writable": true
        },
        {
          "name": "b_vault_lp",
          "writable": true
        },
        {
          "name": "token_a_mint"
        },
        {
          "name": "token_b_mint"
        },
        {
          "name": "a_vault",
          "writable": true
        },
        {
          "name": "b_vault",
          "writable": true
        },
        {
          "name": "a_token_vault",
          "writable": true
        },
        {
          "name": "b_token_vault",
          "writable": true
        },
        {
          "name": "a_vault_lp_mint",
          "writable": true
        },
        {
          "name": "b_vault_lp_mint",
          "writable": true
        },
        {
          "name": "payer_token_a",
          "writable": true
        },
        {
          "name": "payer_token_b",
          "writable": true
        },
        {
          "name": "payer_pool_lp",
          "writable": true
        },
        {
          "name": "protocol_token_a_fee",
          "writable": true
        },
        {
          "name": "protocol_token_b_fee",
          "writable": true
        },
        {
          "name": "payer",
          "writable": true,
          "signer": true
        },
        {
          "name": "mint_metadata",
          "writable": true
        },
        {
          "name": "bonding_curve_token_account",
          "writable": true
        },
        {
          "name": "rent"
        },
        {
          "name": "metadata_program"
        },
        {
          "name": "vault_program"
        },
        {
          "name": "token_program",
          "address": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"
        },
        {
          "name": "associated_token_program"
        },
        {
          "name": "system_program",
          "address": "11111111111111111111111111111111"
        },
        {
          "name": "meteora_program",
          "writable": true
        }
      ],
      "args": []
    },
    {
      "name": "create_referral_account",
      "docs": [
        "Create a referral account for the user",
        "This allows them to receive 0.1% of trades made by users they refer"
      ],
      "discriminator": [
        235,
        55,
        82,
        230,
        52,
        35,
        56,
        210
      ],
      "accounts": [
        {
          "name": "user",
          "writable": true,
          "signer": true
        },
        {
          "name": "global",
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  103,
                  108,
                  111,
                  98,
                  97,
                  108
                ]
              }
            ]
          }
        },
        {
          "name": "referral_account",
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  114,
                  101,
                  102,
                  101,
                  114,
                  114,
                  97,
                  108
                ]
              },
              {
                "kind": "account",
                "path": "user"
              }
            ]
          }
        },
        {
          "name": "system_program",
          "address": "11111111111111111111111111111111"
        }
      ],
      "args": []
    },
    {
      "name": "initialize",
      "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": "system_program",
          "address": "11111111111111111111111111111111"
        },
        {
          "name": "event_authority",
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  95,
                  95,
                  101,
                  118,
                  101,
                  110,
                  116,
                  95,
                  97,
                  117,
                  116,
                  104,
                  111,
                  114,
                  105,
                  116,
                  121
                ]
              }
            ]
          }
        },
        {
          "name": "program"
        }
      ],
      "args": [
        {
          "name": "params",
          "type": {
            "defined": {
              "name": "GlobalSettingsInput"
            }
          }
        }
      ]
    },
    {
      "name": "lock_pool",
      "discriminator": [
        154,
        202,
        217,
        175,
        178,
        161,
        30,
        152
      ],
      "accounts": [
        {
          "name": "global",
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  103,
                  108,
                  111,
                  98,
                  97,
                  108
                ]
              }
            ]
          }
        },
        {
          "name": "vault",
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  118,
                  97,
                  117,
                  108,
                  116,
                  45,
                  97,
                  117,
                  116,
                  104,
                  111,
                  114,
                  105,
                  116,
                  121
                ]
              }
            ]
          }
        },
        {
          "name": "pool",
          "writable": true
        },
        {
          "name": "lp_mint",
          "writable": true
        },
        {
          "name": "a_vault_lp",
          "writable": true
        },
        {
          "name": "b_vault_lp",
          "writable": true
        },
        {
          "name": "token_b_mint"
        },
        {
          "name": "a_vault",
          "writable": true
        },
        {
          "name": "b_vault",
          "writable": true
        },
        {
          "name": "a_vault_lp_mint",
          "writable": true
        },
        {
          "name": "b_vault_lp_mint",
          "writable": true
        },
        {
          "name": "payer_pool_lp",
          "writable": true
        },
        {
          "name": "payer",
          "writable": true,
          "signer": true
        },
        {
          "name": "token_program"
        },
        {
          "name": "associated_token_program"
        },
        {
          "name": "system_program"
        },
        {
          "name": "lock_escrow",
          "docs": [
            "CHECK lock escrow"
          ],
          "writable": true
        },
        {
          "name": "escrow_vault",
          "writable": true
        },
        {
          "name": "meteora_program",
          "writable": true
        },
        {
          "name": "event_authority"
        }
      ],
      "args": []
    },
    {
      "name": "remove_wl",
      "discriminator": [
        85,
        103,
        2,
        89,
        195,
        122,
        124,
        32
      ],
      "accounts": [
        {
          "name": "global",
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  103,
                  108,
                  111,
                  98,
                  97,
                  108
                ]
              }
            ]
          }
        },
        {
          "name": "whitelist",
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  119,
                  108,
                  45,
                  115,
                  101,
                  101,
                  100
                ]
              },
              {
                "kind": "account",
                "path": "whitelist.creator",
                "account": "Whitelist"
              }
            ]
          }
        },
        {
          "name": "admin",
          "writable": true,
          "signer": true
        },
        {
          "name": "system_program",
          "address": "11111111111111111111111111111111"
        }
      ],
      "args": []
    },
    {
      "name": "set_params",
      "discriminator": [
        27,
        234,
        178,
        52,
        147,
        2,
        187,
        141
      ],
      "accounts": [
        {
          "name": "authority",
          "writable": true,
          "signer": true
        },
        {
          "name": "global",
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  103,
                  108,
                  111,
                  98,
                  97,
                  108
                ]
              }
            ]
          }
        },
        {
          "name": "new_authority",
          "optional": true
        },
        {
          "name": "new_migration_authority",
          "optional": true
        },
        {
          "name": "system_program",
          "address": "11111111111111111111111111111111"
        },
        {
          "name": "event_authority",
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  95,
                  95,
                  101,
                  118,
                  101,
                  110,
                  116,
                  95,
                  97,
                  117,
                  116,
                  104,
                  111,
                  114,
                  105,
                  116,
                  121
                ]
              }
            ]
          }
        },
        {
          "name": "program"
        }
      ],
      "args": [
        {
          "name": "params",
          "type": {
            "defined": {
              "name": "GlobalSettingsInput"
            }
          }
        }
      ]
    },
    {
      "name": "swap",
      "discriminator": [
        248,
        198,
        158,
        145,
        225,
        117,
        135,
        200
      ],
      "accounts": [
        {
          "name": "user",
          "writable": true,
          "signer": true
        },
        {
          "name": "global",
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  103,
                  108,
                  111,
                  98,
                  97,
                  108
                ]
              }
            ]
          }
        },
        {
          "name": "fee_receiver",
          "writable": true
        },
        {
          "name": "mint",
          "writable": true
        },
        {
          "name": "bonding_curve",
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  98,
                  111,
                  110,
                  100,
                  105,
                  110,
                  103,
                  45,
                  99,
                  117,
                  114,
                  118,
                  101
                ]
              },
              {
                "kind": "account",
                "path": "mint"
              }
            ]
          }
        },
        {
          "name": "bonding_curve_token_account",
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "account",
                "path": "bonding_curve"
              },
              {
                "kind": "const",
                "value": [
                  6,
                  221,
                  246,
                  225,
                  215,
                  101,
                  161,
                  147,
                  217,
                  203,
                  225,
                  70,
                  206,
                  235,
                  121,
                  172,
                  28,
                  180,
                  133,
                  237,
                  95,
                  91,
                  55,
                  145,
                  58,
                  140,
                  245,
                  133,
                  126,
                  255,
                  0,
                  169
                ]
              },
              {
                "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_account",
          "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": "treasury_pda",
          "docs": [
            "Treasury PDA for holding ATH-taxed tokens.",
            "Seeds: [\"treasury-buyback\", mint]"
          ],
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  116,
                  114,
                  101,
                  97,
                  115,
                  117,
                  114,
                  121,
                  45,
                  98,
                  117,
                  121,
                  98,
                  97,
                  99,
                  107
                ]
              },
              {
                "kind": "account",
                "path": "mint"
              }
            ]
          }
        },
        {
          "name": "treasury_token_account",
          "docs": [
            "Treasury token account for receiving ATH-taxed tokens.",
            "Created by the program if it doesn't exist"
          ],
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "account",
                "path": "treasury_pda"
              },
              {
                "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": "system_program",
          "address": "11111111111111111111111111111111"
        },
        {
          "name": "token_program",
          "address": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"
        },
        {
          "name": "associated_token_program",
          "address": "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL"
        },
        {
          "name": "clock",
          "address": "SysvarC1ock11111111111111111111111111111111"
        },
        {
          "name": "event_authority",
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  95,
                  95,
                  101,
                  118,
                  101,
                  110,
                  116,
                  95,
                  97,
                  117,
                  116,
                  104,
                  111,
                  114,
                  105,
                  116,
                  121
                ]
              }
            ]
          }
        },
        {
          "name": "program"
        }
      ],
      "args": [
        {
          "name": "params",
          "type": {
            "defined": {
              "name": "SwapParams"
            }
          }
        }
      ]
    },
    {
      "name": "unlock_ata",
      "docs": [
        "Permissionless: thaw a frozen token account of a transfer-locked token once its curve has completed (bonded)."
      ],
      "discriminator": [
        93,
        46,
        38,
        203,
        167,
        22,
        28,
        59
      ],
      "accounts": [
        {
          "name": "payer",
          "signer": true
        },
        {
          "name": "global",
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  103,
                  108,
                  111,
                  98,
                  97,
                  108
                ]
              }
            ]
          }
        },
        {
          "name": "mint"
        },
        {
          "name": "bonding_curve",
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  98,
                  111,
                  110,
                  100,
                  105,
                  110,
                  103,
                  45,
                  99,
                  117,
                  114,
                  118,
                  101
                ]
              },
              {
                "kind": "account",
                "path": "mint"
              }
            ]
          }
        },
        {
          "name": "token_account",
          "writable": true
        },
        {
          "name": "token_program",
          "address": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"
        }
      ],
      "args": []
    },
    {
      "name": "withdraw_airdrop_pot",
      "docs": [
        "Admin-only: withdraw the accrued holder-airdrop pot (fee_mode = 2) to the distributor wallet."
      ],
      "discriminator": [
        110,
        221,
        120,
        196,
        212,
        55,
        189,
        113
      ],
      "accounts": [
        {
          "name": "admin",
          "writable": true,
          "signer": true
        },
        {
          "name": "global",
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  103,
                  108,
                  111,
                  98,
                  97,
                  108
                ]
              }
            ]
          }
        },
        {
          "name": "mint"
        },
        {
          "name": "bonding_curve",
          "writable": true,
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  98,
                  111,
                  110,
                  100,
                  105,
                  110,
                  103,
                  45,
                  99,
                  117,
                  114,
                  118,
                  101
                ]
              },
              {
                "kind": "account",
                "path": "mint"
              }
            ]
          }
        },
        {
          "name": "system_program",
          "address": "11111111111111111111111111111111"
        },
        {
          "name": "event_authority",
          "pda": {
            "seeds": [
              {
                "kind": "const",
                "value": [
                  95,
                  95,
                  101,
                  118,
                  101,
                  110,
                  116,
                  95,
                  97,
                  117,
                  116,
                  104,
                  111,
                  114,
                  105,
                  116,
                  121
                ]
              }
            ]
          }
        },
        {
          "name": "program"
        }
      ],
      "args": []
    },
    {
      "name": "prepare_migration",
      "discriminator": [
        59,
        118,
        102,
        18,
        9,
        133,
        23,
        172
      ],
      "accounts": [
        {
          "name": "global"
        },
        {
          "name": "bonding_curve",
          "writable": true
        },
        {
          "name": "token_b_mint"
        },
        {
          "name": "payer_token_a",
          "writable": true
        },
        {
          "name": "payer",
          "writable": true,
          "signer": true
        }
      ],
      "args": []
    }
  ],
  "accounts": [
    {
      "name": "BondingCurve",
      "discriminator": [
        23,
        183,
        248,
        55,
        96,
        216,
        172,
        96
      ]
    },
    {
      "name": "Global",
      "discriminator": [
        167,
        232,
        232,
        177,
        200,
        108,
        114,
        127
      ]
    },
    {
      "name": "ReferralAccount",
      "discriminator": [
        237,
        162,
        80,
        78,
        196,
        233,
        91,
        2
      ]
    },
    {
      "name": "Whitelist",
      "discriminator": [
        204,
        176,
        52,
        79,
        146,
        121,
        54,
        247
      ]
    }
  ],
  "events": [
    {
      "name": "AthSaleEvent",
      "discriminator": [
        13,
        35,
        5,
        148,
        46,
        140,
        41,
        216
      ]
    },
    {
      "name": "CompleteEvent",
      "discriminator": [
        95,
        114,
        97,
        156,
        212,
        46,
        152,
        8
      ]
    },
    {
      "name": "CreateEvent",
      "discriminator": [
        27,
        114,
        169,
        77,
        222,
        235,
        99,
        118
      ]
    },
    {
      "name": "CreatorFeeClaimEvent",
      "discriminator": [
        165,
        50,
        11,
        230,
        122,
        215,
        114,
        169
      ]
    },
    {
      "name": "GlobalUpdateEvent",
      "discriminator": [
        153,
        69,
        19,
        7,
        115,
        232,
        248,
        248
      ]
    },
    {
      "name": "ProtocolFeeWithdrawEvent",
      "discriminator": [
        46,
        247,
        72,
        155,
        218,
        246,
        182,
        88
      ]
    },
    {
      "name": "ReferralClaimEvent",
      "discriminator": [
        83,
        170,
        64,
        86,
        40,
        118,
        160,
        6
      ]
    },
    {
      "name": "ReferralEarningEvent",
      "discriminator": [
        137,
        65,
        58,
        213,
        168,
        252,
        105,
        242
      ]
    },
    {
      "name": "TradeEvent",
      "discriminator": [
        189,
        219,
        127,
        211,
        78,
        230,
        97,
        238
      ]
    },
    {
      "name": "WithdrawEvent",
      "discriminator": [
        22,
        9,
        133,
        26,
        160,
        44,
        71,
        192
      ]
    },
    {
      "name": "LaunchBlockBuyEvent",
      "discriminator": [
        239,
        50,
        15,
        106,
        126,
        156,
        4,
        165
      ]
    },
    {
      "name": "TreasuryBurnEvent",
      "discriminator": [
        8,
        53,
        94,
        20,
        91,
        146,
        215,
        241
      ]
    },
    {
      "name": "AirdropPotWithdrawEvent",
      "discriminator": [
        41,
        9,
        151,
        254,
        170,
        233,
        142,
        71
      ]
    }
  ],
  "errors": [
    {
      "code": 6000,
      "name": "InvalidGlobalAuthority",
      "msg": "Invalid Global Authority"
    },
    {
      "code": 6001,
      "name": "InvalidWithdrawAuthority",
      "msg": "Invalid Withdraw Authority"
    },
    {
      "code": 6002,
      "name": "InvalidArgument",
      "msg": "Invalid Argument"
    },
    {
      "code": 6003,
      "name": "AlreadyInitialized",
      "msg": "Global Already Initialized"
    },
    {
      "code": 6004,
      "name": "NotInitialized",
      "msg": "Global Not Initialized"
    },
    {
      "code": 6005,
      "name": "ProgramNotRunning",
      "msg": "Not in Running State"
    },
    {
      "code": 6006,
      "name": "BondingCurveComplete",
      "msg": "Bonding Curve Complete"
    },
    {
      "code": 6007,
      "name": "BondingCurveNotComplete",
      "msg": "Bonding Curve Not Complete"
    },
    {
      "code": 6008,
      "name": "InsufficientUserTokens",
      "msg": "Insufficient User Tokens"
    },
    {
      "code": 6009,
      "name": "InsufficientUserSOL",
      "msg": "Insufficient user SOL"
    },
    {
      "code": 6010,
      "name": "SlippageExceeded",
      "msg": "Slippage Exceeded"
    },
    {
      "code": 6011,
      "name": "MinSwap",
      "msg": "Swap exactInAmount is 0"
    },
    {
      "code": 6012,
      "name": "BuyFailed",
      "msg": "Buy Failed"
    },
    {
      "code": 6013,
      "name": "SellFailed",
      "msg": "Sell Failed"
    },
    {
      "code": 6014,
      "name": "BondingCurveInvariant",
      "msg": "Bonding Curve Invariant Failed"
    },
    {
      "code": 6015,
      "name": "CurveNotStarted",
      "msg": "Curve Not Started"
    },
    {
      "code": 6016,
      "name": "InvalidStartTime",
      "msg": "Start time is in the past"
    },
    {
      "code": 6017,
      "name": "WlInitializeFailed",
      "msg": "Whitelist is already initialized"
    },
    {
      "code": 6018,
      "name": "WlNotInitializeFailed",
      "msg": "Whitelist is not initialized"
    },
    {
      "code": 6019,
      "name": "AddFailed",
      "msg": "This creator already in whitelist"
    },
    {
      "code": 6020,
      "name": "RemoveFailed",
      "msg": "This creator is not in whitelist"
    },
    {
      "code": 6021,
      "name": "WlNotInitialized",
      "msg": "The WL account is not initialized"
    },
    {
      "code": 6022,
      "name": "NotWhiteList",
      "msg": "This creator is not in whitelist"
    },
    {
      "code": 6023,
      "name": "NotCompleted",
      "msg": "Bonding curve is not completed"
    },
    {
      "code": 6024,
      "name": "NotBondingCurveMint",
      "msg": "This token is not a bonding curve token"
    },
    {
      "code": 6025,
      "name": "NotSOL",
      "msg": "Not quote mint"
    },
    {
      "code": 6026,
      "name": "InvalidConfig",
      "msg": "Not equel config"
    },
    {
      "code": 6027,
      "name": "ArithmeticError",
      "msg": "Arithmetic Error"
    },
    {
      "code": 6028,
      "name": "InvalidFeeReceiver",
      "msg": "Invalid Fee Receiver"
    },
    {
      "code": 6029,
      "name": "InvalidMigrationAuthority",
      "msg": "Invalid Migration Authority"
    },
    {
      "code": 6030,
      "name": "NotCreator",
      "msg": "Not the creator of this bonding curve"
    },
    {
      "code": 6031,
      "name": "NoFeesToClaim",
      "msg": "No fees to claim"
    },
    {
      "code": 6032,
      "name": "InsufficientFunds",
      "msg": "Insufficient funds in account"
    },
    {
      "code": 6033,
      "name": "TransferFailed",
      "msg": "Transfer failed"
    },
    {
      "code": 6034,
      "name": "NoReferralFeesToClaim",
      "msg": "No referral fees to claim"
    },
    {
      "code": 6035,
      "name": "SelfReferral",
      "msg": "Invalid referrer - cannot refer yourself"
    },
    {
      "code": 6036,
      "name": "InvalidReferralAccount",
      "msg": "Invalid referral account"
    },
    {
      "code": 6037,
      "name": "ExceedsMaxWalletCap",
      "msg": "Buy would exceed the max wallet cap for this token"
    },
    {
      "code": 6038,
      "name": "InvalidLaunchParams",
      "msg": "Invalid launch params (cap must be 0 or 50..=10000 bps, fee mode 0..=2)"
    },
    {
      "code": 6039,
      "name": "NoAirdropPot",
      "msg": "Airdrop pot is empty"
    },
    {
      "code": 6040,
      "name": "WrongFeeMode",
      "msg": "Wrong fee mode for this instruction"
    },
    {
      "code": 6041,
      "name": "NotFrozen",
      "msg": "Token account is not frozen"
    }
  ],
  "types": [
    {
      "name": "AthSaleEvent",
      "docs": [
        "Emitted when a user sells at ATH - token tax is taken for treasury"
      ],
      "type": {
        "kind": "struct",
        "fields": [
          {
            "name": "mint",
            "type": "pubkey"
          },
          {
            "name": "user",
            "type": "pubkey"
          },
          {
            "name": "tokens_sold",
            "type": "u64"
          },
          {
            "name": "tokens_to_pool",
            "type": "u64"
          },
          {
            "name": "token_tax_amount",
            "type": "u64"
          },
          {
            "name": "sol_tax_amount",
            "type": "u64"
          },
          {
            "name": "sol_received",
            "type": "u64"
          },
          {
            "name": "ath_virtual_sol_reserves",
            "type": "u64"
          },
          {
            "name": "timestamp",
            "type": "i64"
          }
        ]
      }
    },
    {
      "name": "BondingCurve",
      "type": {
        "kind": "struct",
        "fields": [
          {
            "name": "mint",
            "type": "pubkey"
          },
          {
            "name": "creator",
            "type": "pubkey"
          },
          {
            "name": "initial_virtual_token_reserves",
            "type": "u64"
          },
          {
            "name": "virtual_sol_reserves",
            "type": "u64"
          },
          {
            "name": "virtual_token_reserves",
            "type": "u64"
          },
          {
            "name": "real_sol_reserves",
            "type": "u64"
          },
          {
            "name": "real_token_reserves",
            "type": "u64"
          },
          {
            "name": "token_total_supply",
            "type": "u64"
          },
          {
            "name": "start_time",
            "type": "i64"
          },
          {
            "name": "complete",
            "type": "bool"
          },
          {
            "name": "ath_virtual_sol_reserves",
            "type": "u64"
          },
          {
            "name": "creator_fees_accumulated",
            "type": "u64"
          },
          {
            "name": "launch_slot",
            "type": "u64"
          },
          {
            "name": "buyback_sol_total",
            "type": "u64"
          },
          {
            "name": "buyback_token_total",
            "type": "u64"
          },
          {
            "name": "max_wallet_bps",
            "type": "u16"
          },
          {
            "name": "fee_mode",
            "type": "u8"
          },
          {
            "name": "transfer_lock",
            "type": "bool"
          },
          {
            "name": "airdrop_pot_lamports",
            "type": "u64"
          },
          {
            "name": "bump",
            "type": "u8"
          }
        ]
      }
    },
    {
      "name": "CompleteEvent",
      "type": {
        "kind": "struct",
        "fields": [
          {
            "name": "user",
            "type": "pubkey"
          },
          {
            "name": "mint",
            "type": "pubkey"
          },
          {
            "name": "virtual_sol_reserves",
            "type": "u64"
          },
          {
            "name": "virtual_token_reserves",
            "type": "u64"
          },
          {
            "name": "real_sol_reserves",
            "type": "u64"
          },
          {
            "name": "real_token_reserves",
            "type": "u64"
          },
          {
            "name": "timestamp",
            "type": "i64"
          }
        ]
      }
    },
    {
      "name": "CreateBondingCurveParams",
      "type": {
        "kind": "struct",
        "fields": [
          {
            "name": "name",
            "type": "string"
          },
          {
            "name": "symbol",
            "type": "string"
          },
          {
            "name": "uri",
            "type": "string"
          },
          {
            "name": "start_time",
            "type": {
              "option": "i64"
            }
          },
          {
            "name": "max_wallet_bps",
            "type": "u16"
          },
          {
            "name": "fee_mode",
            "type": "u8"
          },
          {
            "name": "transfer_lock",
            "type": "bool"
          }
        ]
      }
    },
    {
      "name": "CreateEvent",
      "type": {
        "kind": "struct",
        "fields": [
          {
            "name": "mint",
            "type": "pubkey"
          },
          {
            "name": "creator",
            "type": "pubkey"
          },
          {
            "name": "name",
            "type": "string"
          },
          {
            "name": "symbol",
            "type": "string"
          },
          {
            "name": "uri",
            "type": "string"
          },
          {
            "name": "start_time",
            "type": "i64"
          },
          {
            "name": "virtual_sol_reserves",
            "type": "u64"
          },
          {
            "name": "virtual_token_reserves",
            "type": "u64"
          },
          {
            "name": "real_sol_reserves",
            "type": "u64"
          },
          {
            "name": "real_token_reserves",
            "type": "u64"
          },
          {
            "name": "token_total_supply",
            "type": "u64"
          }
        ]
      }
    },
    {
      "name": "CreatorFeeClaimEvent",
      "docs": [
        "Emitted when a creator claims their accumulated fees"
      ],
      "type": {
        "kind": "struct",
        "fields": [
          {
            "name": "mint",
            "type": "pubkey"
          },
          {
            "name": "creator",
            "type": "pubkey"
          },
          {
            "name": "amount",
            "type": "u64"
          },
          {
            "name": "timestamp",
            "type": "i64"
          }
        ]
      }
    },
    {
      "name": "Global",
      "type": {
        "kind": "struct",
        "fields": [
          {
            "name": "status",
            "type": {
              "defined": {
                "name": "ProgramStatus"
              }
            }
          },
          {
            "name": "initialized",
            "type": "bool"
          },
          {
            "name": "global_authority",
            "type": "pubkey"
          },
          {
            "name": "migration_authority",
            "type": "pubkey"
          },
          {
            "name": "migrate_fee_amount",
            "type": "u64"
          },
          {
            "name": "fee_receiver",
            "type": "pubkey"
          },
          {
            "name": "treasury",
            "type": "pubkey"
          },
          {
            "name": "initial_virtual_token_reserves",
            "type": "u64"
          },
          {
            "name": "initial_virtual_sol_reserves",
            "type": "u64"
          },
          {
            "name": "initial_real_token_reserves",
            "type": "u64"
          },
          {
            "name": "token_total_supply",
            "type": "u64"
          },
          {
            "name": "mint_decimals",
            "type": "u8"
          },
          {
            "name": "meteora_config",
            "type": "pubkey"
          },
          {
            "name": "whitelist_enabled",
            "type": "bool"
          },
          {
            "name": "protocol_fees_accumulated",
            "type": "u64"
          }
        ]
      }
    },
    {
      "name": "GlobalSettingsInput",
      "type": {
        "kind": "struct",
        "fields": [
          {
            "name": "initial_virtual_token_reserves",
            "type": {
              "option": "u64"
            }
          },
          {
            "name": "initial_virtual_sol_reserves",
            "type": {
              "option": "u64"
            }
          },
          {
            "name": "initial_real_token_reserves",
            "type": {
              "option": "u64"
            }
          },
          {
            "name": "token_total_supply",
            "type": {
              "option": "u64"
            }
          },
          {
            "name": "mint_decimals",
            "type": {
              "option": "u8"
            }
          },
          {
            "name": "migrate_fee_amount",
            "type": {
              "option": "u64"
            }
          },
          {
            "name": "fee_receiver",
            "type": {
              "option": "pubkey"
            }
          },
          {
            "name": "treasury",
            "type": {
              "option": "pubkey"
            }
          },
          {
            "name": "status",
            "type": {
              "option": {
                "defined": {
                  "name": "ProgramStatus"
                }
              }
            }
          },
          {
            "name": "whitelist_enabled",
            "type": {
              "option": "bool"
            }
          },
          {
            "name": "meteora_config",
            "type": {
              "option": "pubkey"
            }
          }
        ]
      }
    },
    {
      "name": "GlobalUpdateEvent",
      "type": {
        "kind": "struct",
        "fields": [
          {
            "name": "global_authority",
            "type": "pubkey"
          },
          {
            "name": "migration_authority",
            "type": "pubkey"
          },
          {
            "name": "status",
            "type": {
              "defined": {
                "name": "ProgramStatus"
              }
            }
          },
          {
            "name": "initial_virtual_token_reserves",
            "type": "u64"
          },
          {
            "name": "initial_virtual_sol_reserves",
            "type": "u64"
          },
          {
            "name": "initial_real_token_reserves",
            "type": "u64"
          },
          {
            "name": "token_total_supply",
            "type": "u64"
          },
          {
            "name": "mint_decimals",
            "type": "u8"
          },
          {
            "name": "migrate_fee_amount",
            "type": "u64"
          },
          {
            "name": "fee_receiver",
            "type": "pubkey"
          },
          {
            "name": "treasury",
            "type": "pubkey"
          },
          {
            "name": "meteora_config",
            "type": "pubkey"
          },
          {
            "name": "whitelist_enabled",
            "type": "bool"
          }
        ]
      }
    },
    {
      "name": "ProgramStatus",
      "type": {
        "kind": "enum",
        "variants": [
          {
            "name": "Running"
          },
          {
            "name": "SwapOnly"
          },
          {
            "name": "SwapOnlyNoLaunch"
          },
          {
            "name": "Paused"
          }
        ]
      }
    },
    {
      "name": "ProtocolFeeWithdrawEvent",
      "docs": [
        "Emitted when admin withdraws protocol fees"
      ],
      "type": {
        "kind": "struct",
        "fields": [
          {
            "name": "admin",
            "type": "pubkey"
          },
          {
            "name": "amount",
            "type": "u64"
          },
          {
            "name": "timestamp",
            "type": "i64"
          }
        ]
      }
    },
    {
      "name": "ReferralAccount",
      "docs": [
        "Referral account that tracks a user's referral earnings",
        "PDA seeds: [\"referral\", user_pubkey]"
      ],
      "type": {
        "kind": "struct",
        "fields": [
          {
            "name": "user",
            "docs": [
              "The user who owns this referral account (the referrer)"
            ],
            "type": "pubkey"
          },
          {
            "name": "total_trades_referred",
            "docs": [
              "Total number of trades referred"
            ],
            "type": "u64"
          },
          {
            "name": "total_volume_referred",
            "docs": [
              "Total volume referred (in lamports)"
            ],
            "type": "u64"
          },
          {
            "name": "fees_accumulated",
            "docs": [
              "Accumulated fees available to claim (in lamports)"
            ],
            "type": "u64"
          },
          {
            "name": "fees_claimed",
            "docs": [
              "Total fees claimed historically (in lamports)"
            ],
            "type": "u64"
          },
          {
            "name": "bump",
            "docs": [
              "PDA bump"
            ],
            "type": "u8"
          }
        ]
      }
    },
    {
      "name": "ReferralClaimEvent",
      "docs": [
        "Emitted when a user claims their referral fees"
      ],
      "type": {
        "kind": "struct",
        "fields": [
          {
            "name": "referrer",
            "type": "pubkey"
          },
          {
            "name": "amount",
            "type": "u64"
          },
          {
            "name": "total_claimed",
            "type": "u64"
          },
          {
            "name": "timestamp",
            "type": "i64"
          }
        ]
      }
    },
    {
      "name": "ReferralEarningEvent",
      "docs": [
        "Emitted when a referral fee is earned"
      ],
      "type": {
        "kind": "struct",
        "fields": [
          {
            "name": "mint",
            "type": "pubkey"
          },
          {
            "name": "referrer",
            "type": "pubkey"
          },
          {
            "name": "trader",
            "type": "pubkey"
          },
          {
            "name": "trade_volume",
            "type": "u64"
          },
          {
            "name": "referral_fee",
            "type": "u64"
          },
          {
            "name": "total_accumulated",
            "type": "u64"
          },
          {
            "name": "timestamp",
            "type": "i64"
          }
        ]
      }
    },
    {
      "name": "SwapParams",
      "type": {
        "kind": "struct",
        "fields": [
          {
            "name": "base_in",
            "type": "bool"
          },
          {
            "name": "exact_in_amount",
            "type": "u64"
          },
          {
            "name": "min_out_amount",
            "type": "u64"
          },
          {
            "name": "referrer",
            "docs": [
              "Optional referrer pubkey - if provided, referrer gets 0.1% of the trade"
            ],
            "type": {
              "option": "pubkey"
            }
          }
        ]
      }
    },
    {
      "name": "TradeEvent",
      "type": {
        "kind": "struct",
        "fields": [
          {
            "name": "mint",
            "type": "pubkey"
          },
          {
            "name": "sol_amount",
            "type": "u64"
          },
          {
            "name": "token_amount",
            "type": "u64"
          },
          {
            "name": "fee_lamports",
            "type": "u64"
          },
          {
            "name": "is_buy",
            "type": "bool"
          },
          {
            "name": "user",
            "type": "pubkey"
          },
          {
            "name": "timestamp",
            "type": "i64"
          },
          {
            "name": "virtual_sol_reserves",
            "type": "u64"
          },
          {
            "name": "virtual_token_reserves",
            "type": "u64"
          },
          {
            "name": "real_sol_reserves",
            "type": "u64"
          },
          {
            "name": "real_token_reserves",
            "type": "u64"
          },
          {
            "name": "is_ath_sale",
            "type": "bool"
          },
          {
            "name": "token_tax_amount",
            "type": "u64"
          },
          {
            "name": "sol_tax_amount",
            "type": "u64"
          },
          {
            "name": "is_launch_block_buy",
            "type": "bool"
          }
        ]
      }
    },
    {
      "name": "Whitelist",
      "type": {
        "kind": "struct",
        "fields": [
          {
            "name": "creator",
            "type": "pubkey"
          }
        ]
      }
    },
    {
      "name": "WithdrawEvent",
      "type": {
        "kind": "struct",
        "fields": [
          {
            "name": "withdraw_authority",
            "type": "pubkey"
          },
          {
            "name": "mint",
            "type": "pubkey"
          },
          {
            "name": "fee_vault",
            "type": "pubkey"
          },
          {
            "name": "withdrawn",
            "type": "u64"
          },
          {
            "name": "total_withdrawn",
            "type": "u64"
          },
          {
            "name": "withdraw_time",
            "type": "i64"
          }
        ]
      }
    },
    {
      "name": "LaunchBlockBuyEvent",
      "type": {
        "kind": "struct",
        "fields": [
          {
            "name": "mint",
            "type": "pubkey"
          },
          {
            "name": "user",
            "type": "pubkey"
          },
          {
            "name": "sol_amount",
            "type": "u64"
          },
          {
            "name": "tokens_bought",
            "type": "u64"
          },
          {
            "name": "token_tax_amount",
            "type": "u64"
          },
          {
            "name": "slot",
            "type": "u64"
          },
          {
            "name": "timestamp",
            "type": "i64"
          }
        ]
      }
    },
    {
      "name": "TreasuryBurnEvent",
      "type": {
        "kind": "struct",
        "fields": [
          {
            "name": "mint",
            "type": "pubkey"
          },
          {
            "name": "treasury",
            "type": "pubkey"
          },
          {
            "name": "token_amount",
            "type": "u64"
          },
          {
            "name": "remaining_treasury_balance",
            "type": "u64"
          },
          {
            "name": "timestamp",
            "type": "i64"
          }
        ]
      }
    },
    {
      "name": "BurnTreasuryParams",
      "type": {
        "kind": "struct",
        "fields": [
          {
            "name": "token_amount",
            "type": "u64"
          }
        ]
      }
    },
    {
      "name": "AirdropPotWithdrawEvent",
      "type": {
        "kind": "struct",
        "fields": [
          {
            "name": "mint",
            "type": "pubkey"
          },
          {
            "name": "admin",
            "type": "pubkey"
          },
          {
            "name": "amount",
            "type": "u64"
          },
          {
            "name": "timestamp",
            "type": "i64"
          }
        ]
      }
    }
  ]
}